@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev17 → 1.332.0-dev18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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$b, typeCheckConfig as typeCheckConfig$l, StoreKeyMap, createResourceParams as createResourceParams$l } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$c, typeCheckConfig as typeCheckConfig$m, StoreKeyMap, createResourceParams as createResourceParams$m } 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$l = "6a2ede1150bccf991e3f6ea7b55a9964";
116
- function validate$l(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
115
+ const VERSION$m = "6a2ede1150bccf991e3f6ea7b55a9964";
116
+ function validate$m(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$l(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
199
199
  })();
200
200
  return v_error === undefined ? null : v_error;
201
201
  }
202
- const select$D = function SlackBridgeEmojiValueOutputRepresentationSelect() {
202
+ const select$F = function SlackBridgeEmojiValueOutputRepresentationSelect() {
203
203
  return {
204
204
  kind: 'Fragment',
205
- version: VERSION$l,
205
+ version: VERSION$m,
206
206
  private: [],
207
207
  selections: [
208
208
  {
@@ -220,7 +220,7 @@ const select$D = function SlackBridgeEmojiValueOutputRepresentationSelect() {
220
220
  ]
221
221
  };
222
222
  };
223
- function equals$l(existing, incoming) {
223
+ function equals$m(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$l(existing, incoming) {
239
239
  return true;
240
240
  }
241
241
 
242
- const TTL$1 = 2592000000;
243
- const VERSION$k = "a0e1530372a57d61a1264218124bbb5c";
244
- function validate$k(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
242
+ const TTL$2 = 2592000000;
243
+ const VERSION$l = "a0e1530372a57d61a1264218124bbb5c";
244
+ function validate$l(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$k(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$l(obj_value, path_value);
362
+ const referencepath_valueValidationError = validate$m(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$k(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
387
387
  })();
388
388
  return v_error === undefined ? null : v_error;
389
389
  }
390
- const RepresentationType$g = 'SlackBridgeEmojiOutputRepresentation';
391
- function keyBuilder$z(luvio, config) {
392
- return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
390
+ const RepresentationType$h = 'SlackBridgeEmojiOutputRepresentation';
391
+ function keyBuilder$B(luvio, config) {
392
+ return keyPrefix + '::' + RepresentationType$h + ':' + 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$z(luvio, keyParams);
398
+ return keyBuilder$B(luvio, keyParams);
399
399
  }
400
- function normalize$g(input, existing, path, luvio, store, timestamp) {
400
+ function normalize$h(input, existing, path, luvio, store, timestamp) {
401
401
  return input;
402
402
  }
403
- const select$C = function SlackBridgeEmojiOutputRepresentationSelect() {
404
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$D();
403
+ const select$E = function SlackBridgeEmojiOutputRepresentationSelect() {
404
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$F();
405
405
  return {
406
406
  kind: 'Fragment',
407
- version: VERSION$k,
407
+ version: VERSION$l,
408
408
  private: [],
409
409
  selections: [
410
410
  {
@@ -436,7 +436,7 @@ const select$C = function SlackBridgeEmojiOutputRepresentationSelect() {
436
436
  ]
437
437
  };
438
438
  };
439
- function equals$k(existing, incoming) {
439
+ function equals$l(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$k(existing, incoming) {
467
467
  if (!(existing_value === incoming_value
468
468
  || (existing_value != null &&
469
469
  incoming_value != null &&
470
- equals$l(existing_value, incoming_value)))) {
470
+ equals$m(existing_value, incoming_value)))) {
471
471
  return false;
472
472
  }
473
473
  return true;
474
474
  }
475
- const ingest$g = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
475
+ const ingest$h = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
476
476
  if (process.env.NODE_ENV !== 'production') {
477
- const validateError = validate$k(input);
477
+ const validateError = validate$l(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$1;
484
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$k, RepresentationType$g, equals$k);
483
+ const ttlToUse = TTL$2;
484
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$l, RepresentationType$h, equals$l);
485
485
  return createLink(key);
486
486
  };
487
- function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
487
+ function getTypeCacheKeys$h(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$g,
492
+ representationName: RepresentationType$h,
493
493
  mergeable: false
494
494
  });
495
495
  }
496
496
 
497
- const TTL = 600000;
498
- const VERSION$j = "ffc32ae0451b10824fba0c96aa0d2115";
499
- function validate$j(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
497
+ const TTL$1 = 600000;
498
+ const VERSION$k = "ffc32ae0451b10824fba0c96aa0d2115";
499
+ function validate$k(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 + '")');
@@ -899,22 +899,22 @@ function validate$j(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
899
899
  })();
900
900
  return v_error === undefined ? null : v_error;
901
901
  }
902
- const RepresentationType$f = 'SlackBridgeUserInfoOutputRepresentation';
903
- function keyBuilder$y(luvio, config) {
904
- return keyPrefix + '::' + RepresentationType$f + ':' + config.teamId + ':' + config.slackUserId;
902
+ const RepresentationType$g = 'SlackBridgeUserInfoOutputRepresentation';
903
+ function keyBuilder$A(luvio, config) {
904
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.teamId + ':' + config.slackUserId;
905
905
  }
906
906
  function keyBuilderFromType$9(luvio, object) {
907
907
  const keyParams = {
908
908
  teamId: object.teamId,
909
909
  slackUserId: object.slackUserId
910
910
  };
911
- return keyBuilder$y(luvio, keyParams);
911
+ return keyBuilder$A(luvio, keyParams);
912
912
  }
913
- function normalize$f(input, existing, path, luvio, store, timestamp) {
913
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
914
914
  const input_statusEmoji = input.statusEmoji;
915
915
  const input_statusEmoji_id = path.fullPath + '__statusEmoji';
916
916
  if (input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
917
- input.statusEmoji = ingest$g(input_statusEmoji, {
917
+ input.statusEmoji = ingest$h(input_statusEmoji, {
918
918
  fullPath: input_statusEmoji_id,
919
919
  propertyName: 'statusEmoji',
920
920
  parent: {
@@ -927,10 +927,10 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
927
927
  }
928
928
  return input;
929
929
  }
930
- const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
930
+ const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
931
931
  return {
932
932
  kind: 'Fragment',
933
- version: VERSION$j,
933
+ version: VERSION$k,
934
934
  private: [],
935
935
  selections: [
936
936
  {
@@ -1000,7 +1000,7 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
1000
1000
  name: 'statusEmoji',
1001
1001
  kind: 'Link',
1002
1002
  nullable: true,
1003
- fragment: select$C()
1003
+ fragment: select$E()
1004
1004
  },
1005
1005
  {
1006
1006
  name: 'statusMessage',
@@ -1017,7 +1017,7 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
1017
1017
  ]
1018
1018
  };
1019
1019
  };
1020
- function equals$j(existing, incoming) {
1020
+ function equals$k(existing, incoming) {
1021
1021
  const existing_bot = existing.bot;
1022
1022
  const incoming_bot = incoming.bot;
1023
1023
  if (!(existing_bot === incoming_bot)) {
@@ -1144,33 +1144,33 @@ function equals$j(existing, incoming) {
1144
1144
  }
1145
1145
  return true;
1146
1146
  }
1147
- const ingest$f = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1147
+ const ingest$g = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1148
1148
  if (process.env.NODE_ENV !== 'production') {
1149
- const validateError = validate$j(input);
1149
+ const validateError = validate$k(input);
1150
1150
  if (validateError !== null) {
1151
1151
  throw validateError;
1152
1152
  }
1153
1153
  }
1154
1154
  const key = keyBuilderFromType$9(luvio, input);
1155
- const ttlToUse = TTL;
1156
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
1155
+ const ttlToUse = TTL$1;
1156
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$k, RepresentationType$g, equals$k);
1157
1157
  return createLink(key);
1158
1158
  };
1159
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1159
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1160
1160
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1161
1161
  const rootKey = keyBuilderFromType$9(luvio, input);
1162
1162
  rootKeySet.set(rootKey, {
1163
1163
  namespace: keyPrefix,
1164
- representationName: RepresentationType$f,
1164
+ representationName: RepresentationType$g,
1165
1165
  mergeable: false
1166
1166
  });
1167
1167
  if (input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
1168
- getTypeCacheKeys$g(rootKeySet, luvio, input.statusEmoji);
1168
+ getTypeCacheKeys$h(rootKeySet, luvio, input.statusEmoji);
1169
1169
  }
1170
1170
  }
1171
1171
 
1172
- const VERSION$i = "252fe3a6509a770a876e36552ad8dd06";
1173
- function validate$i(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1172
+ const VERSION$j = "252fe3a6509a770a876e36552ad8dd06";
1173
+ function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1174
1174
  const v_error = (() => {
1175
1175
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1176
1176
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1507,23 +1507,23 @@ function validate$i(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1507
1507
  })();
1508
1508
  return v_error === undefined ? null : v_error;
1509
1509
  }
1510
- const RepresentationType$e = 'SlackBridgeConversationInfoOutputRepresentation';
1511
- function keyBuilder$x(luvio, config) {
1512
- return keyPrefix + '::' + RepresentationType$e + ':' + config.id;
1510
+ const RepresentationType$f = 'SlackBridgeConversationInfoOutputRepresentation';
1511
+ function keyBuilder$z(luvio, config) {
1512
+ return keyPrefix + '::' + RepresentationType$f + ':' + config.id;
1513
1513
  }
1514
1514
  function keyBuilderFromType$8(luvio, object) {
1515
1515
  const keyParams = {
1516
1516
  id: object.id
1517
1517
  };
1518
- return keyBuilder$x(luvio, keyParams);
1518
+ return keyBuilder$z(luvio, keyParams);
1519
1519
  }
1520
- function normalize$e(input, existing, path, luvio, store, timestamp) {
1520
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
1521
1521
  return input;
1522
1522
  }
1523
- const select$A = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1523
+ const select$C = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1524
1524
  return {
1525
1525
  kind: 'Fragment',
1526
- version: VERSION$i,
1526
+ version: VERSION$j,
1527
1527
  private: [],
1528
1528
  selections: [
1529
1529
  {
@@ -1590,7 +1590,7 @@ const select$A = function SlackBridgeConversationInfoOutputRepresentationSelect(
1590
1590
  ]
1591
1591
  };
1592
1592
  };
1593
- function equals$i(existing, incoming) {
1593
+ function equals$j(existing, incoming) {
1594
1594
  const existing_id = existing.id;
1595
1595
  const incoming_id = incoming.id;
1596
1596
  if (!(existing_id === incoming_id)) {
@@ -1676,30 +1676,30 @@ function equals$i(existing, incoming) {
1676
1676
  }
1677
1677
  return true;
1678
1678
  }
1679
- const ingest$e = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1679
+ const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1680
1680
  if (process.env.NODE_ENV !== 'production') {
1681
- const validateError = validate$i(input);
1681
+ const validateError = validate$j(input);
1682
1682
  if (validateError !== null) {
1683
1683
  throw validateError;
1684
1684
  }
1685
1685
  }
1686
1686
  const key = keyBuilderFromType$8(luvio, input);
1687
1687
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1688
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$i, RepresentationType$e, equals$i);
1688
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
1689
1689
  return createLink(key);
1690
1690
  };
1691
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1691
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1692
1692
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1693
1693
  const rootKey = keyBuilderFromType$8(luvio, input);
1694
1694
  rootKeySet.set(rootKey, {
1695
1695
  namespace: keyPrefix,
1696
- representationName: RepresentationType$e,
1696
+ representationName: RepresentationType$f,
1697
1697
  mergeable: false
1698
1698
  });
1699
1699
  }
1700
1700
 
1701
- const VERSION$h = "7820a930852347bb0506c08d8b528281";
1702
- function validate$h(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1701
+ const VERSION$i = "7820a930852347bb0506c08d8b528281";
1702
+ function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1703
1703
  const v_error = (() => {
1704
1704
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1705
1705
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1776,10 +1776,10 @@ function validate$h(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1776
1776
  })();
1777
1777
  return v_error === undefined ? null : v_error;
1778
1778
  }
1779
- const select$z = function SlackBridgeReactionOutputRepresentationSelect() {
1779
+ const select$B = function SlackBridgeReactionOutputRepresentationSelect() {
1780
1780
  return {
1781
1781
  kind: 'Fragment',
1782
- version: VERSION$h,
1782
+ version: VERSION$i,
1783
1783
  private: [],
1784
1784
  selections: [
1785
1785
  {
@@ -1802,7 +1802,7 @@ const select$z = function SlackBridgeReactionOutputRepresentationSelect() {
1802
1802
  ]
1803
1803
  };
1804
1804
  };
1805
- function equals$h(existing, incoming) {
1805
+ function equals$i(existing, incoming) {
1806
1806
  const existing_name = existing.name;
1807
1807
  const incoming_name = incoming.name;
1808
1808
  if (!(existing_name === incoming_name)) {
@@ -1831,8 +1831,8 @@ function equals$h(existing, incoming) {
1831
1831
  return true;
1832
1832
  }
1833
1833
 
1834
- const VERSION$g = "4634cd404d8392ac4ca9f0e1be03bfbd";
1835
- function validate$g(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1834
+ const VERSION$h = "4634cd404d8392ac4ca9f0e1be03bfbd";
1835
+ function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1836
1836
  const v_error = (() => {
1837
1837
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1838
1838
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1850,10 +1850,10 @@ function validate$g(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1850
1850
  })();
1851
1851
  return v_error === undefined ? null : v_error;
1852
1852
  }
1853
- const select$y = function SlackBridgeFileTypeOutputRepresentationSelect() {
1853
+ const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
1854
1854
  return {
1855
1855
  kind: 'Fragment',
1856
- version: VERSION$g,
1856
+ version: VERSION$h,
1857
1857
  private: [],
1858
1858
  selections: [
1859
1859
  {
@@ -1867,7 +1867,7 @@ const select$y = function SlackBridgeFileTypeOutputRepresentationSelect() {
1867
1867
  ]
1868
1868
  };
1869
1869
  };
1870
- function equals$g(existing, incoming) {
1870
+ function equals$h(existing, incoming) {
1871
1871
  const existing_extension = existing.extension;
1872
1872
  const incoming_extension = incoming.extension;
1873
1873
  if (!(existing_extension === incoming_extension)) {
@@ -1881,8 +1881,8 @@ function equals$g(existing, incoming) {
1881
1881
  return true;
1882
1882
  }
1883
1883
 
1884
- const VERSION$f = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1885
- function validate$f(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1884
+ const VERSION$g = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1885
+ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1886
1886
  const v_error = (() => {
1887
1887
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1888
1888
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1896,7 +1896,7 @@ function validate$f(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1896
1896
  const path_filetype = path + '.filetype';
1897
1897
  let obj_filetype_union0 = null;
1898
1898
  const obj_filetype_union0_error = (() => {
1899
- const referencepath_filetypeValidationError = validate$g(obj_filetype, path_filetype);
1899
+ const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
1900
1900
  if (referencepath_filetypeValidationError !== null) {
1901
1901
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1902
1902
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1965,11 +1965,11 @@ function validate$f(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1965
1965
  })();
1966
1966
  return v_error === undefined ? null : v_error;
1967
1967
  }
1968
- const select$x = function SlackBridgeContentVersionOutputRepresentationSelect() {
1969
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$y();
1968
+ const select$z = function SlackBridgeContentVersionOutputRepresentationSelect() {
1969
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
1970
1970
  return {
1971
1971
  kind: 'Fragment',
1972
- version: VERSION$f,
1972
+ version: VERSION$g,
1973
1973
  private: [],
1974
1974
  selections: [
1975
1975
  {
@@ -2001,7 +2001,7 @@ const select$x = function SlackBridgeContentVersionOutputRepresentationSelect()
2001
2001
  ]
2002
2002
  };
2003
2003
  };
2004
- function equals$f(existing, incoming) {
2004
+ function equals$g(existing, incoming) {
2005
2005
  const existing_size = existing.size;
2006
2006
  const incoming_size = incoming.size;
2007
2007
  if (!(existing_size === incoming_size)) {
@@ -2027,7 +2027,7 @@ function equals$f(existing, incoming) {
2027
2027
  if (!(existing_filetype === incoming_filetype
2028
2028
  || (existing_filetype != null &&
2029
2029
  incoming_filetype != null &&
2030
- equals$g(existing_filetype, incoming_filetype)))) {
2030
+ equals$h(existing_filetype, incoming_filetype)))) {
2031
2031
  return false;
2032
2032
  }
2033
2033
  const existing_versionUrl = existing.versionUrl;
@@ -2038,15 +2038,15 @@ function equals$f(existing, incoming) {
2038
2038
  return true;
2039
2039
  }
2040
2040
 
2041
- const VERSION$e = "effdd259bc622bee05493fc2a3ecd276";
2042
- function validate$e(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
2041
+ const VERSION$f = "effdd259bc622bee05493fc2a3ecd276";
2042
+ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
2043
2043
  const v_error = (() => {
2044
2044
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2045
2045
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2046
2046
  }
2047
2047
  const obj_filetype = obj.filetype;
2048
2048
  const path_filetype = path + '.filetype';
2049
- const referencepath_filetypeValidationError = validate$g(obj_filetype, path_filetype);
2049
+ const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
2050
2050
  if (referencepath_filetypeValidationError !== null) {
2051
2051
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
2052
2052
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2059,7 +2059,7 @@ function validate$e(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2059
2059
  }
2060
2060
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
2061
2061
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
2062
- const referencepath_latestPublishedVersionValidationError = validate$f(obj_latestPublishedVersion, path_latestPublishedVersion);
2062
+ const referencepath_latestPublishedVersionValidationError = validate$g(obj_latestPublishedVersion, path_latestPublishedVersion);
2063
2063
  if (referencepath_latestPublishedVersionValidationError !== null) {
2064
2064
  let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
2065
2065
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2078,12 +2078,12 @@ function validate$e(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2078
2078
  })();
2079
2079
  return v_error === undefined ? null : v_error;
2080
2080
  }
2081
- const select$w = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2082
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$y();
2083
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$x();
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();
2084
2084
  return {
2085
2085
  kind: 'Fragment',
2086
- version: VERSION$e,
2086
+ version: VERSION$f,
2087
2087
  private: [],
2088
2088
  selections: [
2089
2089
  {
@@ -2111,7 +2111,7 @@ const select$w = function SlackBridgeContentDocumentOutputRepresentationSelect()
2111
2111
  ]
2112
2112
  };
2113
2113
  };
2114
- function equals$e(existing, incoming) {
2114
+ function equals$f(existing, incoming) {
2115
2115
  const existing_size = existing.size;
2116
2116
  const incoming_size = incoming.size;
2117
2117
  if (!(existing_size === incoming_size)) {
@@ -2129,19 +2129,19 @@ function equals$e(existing, incoming) {
2129
2129
  }
2130
2130
  const existing_filetype = existing.filetype;
2131
2131
  const incoming_filetype = incoming.filetype;
2132
- if (!(equals$g(existing_filetype, incoming_filetype))) {
2132
+ if (!(equals$h(existing_filetype, incoming_filetype))) {
2133
2133
  return false;
2134
2134
  }
2135
2135
  const existing_latestPublishedVersion = existing.latestPublishedVersion;
2136
2136
  const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
2137
- if (!(equals$f(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2137
+ if (!(equals$g(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2138
2138
  return false;
2139
2139
  }
2140
2140
  return true;
2141
2141
  }
2142
2142
 
2143
- const VERSION$d = "15fa7211c500ebba9537b3c9921b39cf";
2144
- function validate$d(obj, path = 'SlackBridgeFileOutputRepresentation') {
2143
+ const VERSION$e = "15fa7211c500ebba9537b3c9921b39cf";
2144
+ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2145
2145
  const v_error = (() => {
2146
2146
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2147
2147
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2150,7 +2150,7 @@ function validate$d(obj, path = 'SlackBridgeFileOutputRepresentation') {
2150
2150
  const path_contentDocument = path + '.contentDocument';
2151
2151
  let obj_contentDocument_union0 = null;
2152
2152
  const obj_contentDocument_union0_error = (() => {
2153
- const referencepath_contentDocumentValidationError = validate$e(obj_contentDocument, path_contentDocument);
2153
+ const referencepath_contentDocumentValidationError = validate$f(obj_contentDocument, path_contentDocument);
2154
2154
  if (referencepath_contentDocumentValidationError !== null) {
2155
2155
  let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
2156
2156
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2312,24 +2312,24 @@ function validate$d(obj, path = 'SlackBridgeFileOutputRepresentation') {
2312
2312
  })();
2313
2313
  return v_error === undefined ? null : v_error;
2314
2314
  }
2315
- const RepresentationType$d = 'SlackBridgeFileOutputRepresentation';
2316
- function keyBuilder$w(luvio, config) {
2317
- return keyPrefix + '::' + RepresentationType$d + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2315
+ const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
2316
+ function keyBuilder$y(luvio, config) {
2317
+ return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2318
2318
  }
2319
2319
  function keyBuilderFromType$7(luvio, object) {
2320
2320
  const keyParams = {
2321
2321
  uniqueKey: object.uniqueKey
2322
2322
  };
2323
- return keyBuilder$w(luvio, keyParams);
2323
+ return keyBuilder$y(luvio, keyParams);
2324
2324
  }
2325
- function normalize$d(input, existing, path, luvio, store, timestamp) {
2325
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
2326
2326
  return input;
2327
2327
  }
2328
- const select$v = function SlackBridgeFileOutputRepresentationSelect() {
2329
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$w();
2328
+ const select$x = function SlackBridgeFileOutputRepresentationSelect() {
2329
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$y();
2330
2330
  return {
2331
2331
  kind: 'Fragment',
2332
- version: VERSION$d,
2332
+ version: VERSION$e,
2333
2333
  private: [],
2334
2334
  selections: [
2335
2335
  {
@@ -2381,7 +2381,7 @@ const select$v = function SlackBridgeFileOutputRepresentationSelect() {
2381
2381
  ]
2382
2382
  };
2383
2383
  };
2384
- function equals$d(existing, incoming) {
2384
+ function equals$e(existing, incoming) {
2385
2385
  const existing_filetype = existing.filetype;
2386
2386
  const incoming_filetype = incoming.filetype;
2387
2387
  if (!(existing_filetype === incoming_filetype)) {
@@ -2417,7 +2417,7 @@ function equals$d(existing, incoming) {
2417
2417
  if (!(existing_contentDocument === incoming_contentDocument
2418
2418
  || (existing_contentDocument != null &&
2419
2419
  incoming_contentDocument != null &&
2420
- equals$e(existing_contentDocument, incoming_contentDocument)))) {
2420
+ equals$f(existing_contentDocument, incoming_contentDocument)))) {
2421
2421
  return false;
2422
2422
  }
2423
2423
  const existing_size = existing.size;
@@ -2442,30 +2442,30 @@ function equals$d(existing, incoming) {
2442
2442
  }
2443
2443
  return true;
2444
2444
  }
2445
- const ingest$d = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2445
+ const ingest$e = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2446
2446
  if (process.env.NODE_ENV !== 'production') {
2447
- const validateError = validate$d(input);
2447
+ const validateError = validate$e(input);
2448
2448
  if (validateError !== null) {
2449
2449
  throw validateError;
2450
2450
  }
2451
2451
  }
2452
2452
  const key = keyBuilderFromType$7(luvio, input);
2453
2453
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2454
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$d, RepresentationType$d, equals$d);
2454
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$e, RepresentationType$e, equals$e);
2455
2455
  return createLink(key);
2456
2456
  };
2457
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
2457
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
2458
2458
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2459
2459
  const rootKey = keyBuilderFromType$7(luvio, input);
2460
2460
  rootKeySet.set(rootKey, {
2461
2461
  namespace: keyPrefix,
2462
- representationName: RepresentationType$d,
2462
+ representationName: RepresentationType$e,
2463
2463
  mergeable: false
2464
2464
  });
2465
2465
  }
2466
2466
 
2467
- const VERSION$c = "a8502e4e4bb65313c6fbaa1f89f1e539";
2468
- function validate$c(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2467
+ const VERSION$d = "e44783fc9e817e6accf3f3d286c3f0fe";
2468
+ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2469
2469
  const v_error = (() => {
2470
2470
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2471
2471
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2512,6 +2512,32 @@ function validate$c(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2512
2512
  }
2513
2513
  }
2514
2514
  }
2515
+ const obj_channelId = obj.channelId;
2516
+ const path_channelId = path + '.channelId';
2517
+ let obj_channelId_union0 = null;
2518
+ const obj_channelId_union0_error = (() => {
2519
+ if (typeof obj_channelId !== 'string') {
2520
+ return new TypeError('Expected "string" but received "' + typeof obj_channelId + '" (at "' + path_channelId + '")');
2521
+ }
2522
+ })();
2523
+ if (obj_channelId_union0_error != null) {
2524
+ obj_channelId_union0 = obj_channelId_union0_error.message;
2525
+ }
2526
+ let obj_channelId_union1 = null;
2527
+ const obj_channelId_union1_error = (() => {
2528
+ if (obj_channelId !== null) {
2529
+ return new TypeError('Expected "null" but received "' + typeof obj_channelId + '" (at "' + path_channelId + '")');
2530
+ }
2531
+ })();
2532
+ if (obj_channelId_union1_error != null) {
2533
+ obj_channelId_union1 = obj_channelId_union1_error.message;
2534
+ }
2535
+ if (obj_channelId_union0 && obj_channelId_union1) {
2536
+ let message = 'Object doesn\'t match union (at "' + path_channelId + '")';
2537
+ message += '\n' + obj_channelId_union0.split('\n').map((line) => '\t' + line).join('\n');
2538
+ message += '\n' + obj_channelId_union1.split('\n').map((line) => '\t' + line).join('\n');
2539
+ return new TypeError(message);
2540
+ }
2515
2541
  const obj_files = obj.files;
2516
2542
  const path_files = path + '.files';
2517
2543
  if (!ArrayIsArray(obj_files)) {
@@ -2651,7 +2677,7 @@ function validate$c(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2651
2677
  for (let i = 0; i < obj_reactions.length; i++) {
2652
2678
  const obj_reactions_item = obj_reactions[i];
2653
2679
  const path_reactions_item = path_reactions + '[' + i + ']';
2654
- const referencepath_reactions_itemValidationError = validate$h(obj_reactions_item, path_reactions_item);
2680
+ const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
2655
2681
  if (referencepath_reactions_itemValidationError !== null) {
2656
2682
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
2657
2683
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2813,14 +2839,14 @@ function validate$c(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2813
2839
  })();
2814
2840
  return v_error === undefined ? null : v_error;
2815
2841
  }
2816
- const RepresentationType$c = 'SlackBridgeMessageOutputRepresentation';
2817
- function normalize$c(input, existing, path, luvio, store, timestamp) {
2842
+ const RepresentationType$d = 'SlackBridgeMessageOutputRepresentation';
2843
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
2818
2844
  const input_files = input.files;
2819
2845
  const input_files_id = path.fullPath + '__files';
2820
2846
  for (let i = 0; i < input_files.length; i++) {
2821
2847
  const input_files_item = input_files[i];
2822
2848
  let input_files_item_id = input_files_id + '__' + i;
2823
- input_files[i] = ingest$d(input_files_item, {
2849
+ input_files[i] = ingest$e(input_files_item, {
2824
2850
  fullPath: input_files_item_id,
2825
2851
  propertyName: i,
2826
2852
  parent: {
@@ -2833,11 +2859,11 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
2833
2859
  }
2834
2860
  return input;
2835
2861
  }
2836
- const select$u = function SlackBridgeMessageOutputRepresentationSelect() {
2837
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$z();
2862
+ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2863
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
2838
2864
  return {
2839
2865
  kind: 'Fragment',
2840
- version: VERSION$c,
2866
+ version: VERSION$d,
2841
2867
  private: [],
2842
2868
  selections: [
2843
2869
  {
@@ -2850,11 +2876,15 @@ const select$u = function SlackBridgeMessageOutputRepresentationSelect() {
2850
2876
  kind: 'Object',
2851
2877
  // any
2852
2878
  },
2879
+ {
2880
+ name: 'channelId',
2881
+ kind: 'Scalar'
2882
+ },
2853
2883
  {
2854
2884
  name: 'files',
2855
2885
  kind: 'Link',
2856
2886
  plural: true,
2857
- fragment: select$v()
2887
+ fragment: select$x()
2858
2888
  },
2859
2889
  {
2860
2890
  name: 'includesCustomEmoji',
@@ -2926,7 +2956,7 @@ const select$u = function SlackBridgeMessageOutputRepresentationSelect() {
2926
2956
  ]
2927
2957
  };
2928
2958
  };
2929
- function equals$c(existing, incoming) {
2959
+ function equals$d(existing, incoming) {
2930
2960
  const existing_isEditable = existing.isEditable;
2931
2961
  const incoming_isEditable = incoming.isEditable;
2932
2962
  if (!(existing_isEditable === incoming_isEditable)) {
@@ -2982,6 +3012,11 @@ function equals$c(existing, incoming) {
2982
3012
  if (equals_blocks_items === false) {
2983
3013
  return false;
2984
3014
  }
3015
+ const existing_channelId = existing.channelId;
3016
+ const incoming_channelId = incoming.channelId;
3017
+ if (!(existing_channelId === incoming_channelId)) {
3018
+ return false;
3019
+ }
2985
3020
  const existing_files = existing.files;
2986
3021
  const incoming_files = incoming.files;
2987
3022
  const equals_files_items = equalsArray(existing_files, incoming_files, (existing_files_item, incoming_files_item) => {
@@ -3015,7 +3050,7 @@ function equals$c(existing, incoming) {
3015
3050
  const existing_reactions = existing.reactions;
3016
3051
  const incoming_reactions = incoming.reactions;
3017
3052
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
3018
- if (!(equals$h(existing_reactions_item, incoming_reactions_item))) {
3053
+ if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
3019
3054
  return false;
3020
3055
  }
3021
3056
  });
@@ -3059,34 +3094,34 @@ function equals$c(existing, incoming) {
3059
3094
  }
3060
3095
  return true;
3061
3096
  }
3062
- const ingest$c = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3097
+ const ingest$d = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3063
3098
  if (process.env.NODE_ENV !== 'production') {
3064
- const validateError = validate$c(input);
3099
+ const validateError = validate$d(input);
3065
3100
  if (validateError !== null) {
3066
3101
  throw validateError;
3067
3102
  }
3068
3103
  }
3069
3104
  const key = path.fullPath;
3070
3105
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3071
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$c, RepresentationType$c, equals$c);
3106
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$d, RepresentationType$d, equals$d);
3072
3107
  return createLink(key);
3073
3108
  };
3074
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3109
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3075
3110
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3076
3111
  const rootKey = fullPathFactory();
3077
3112
  rootKeySet.set(rootKey, {
3078
3113
  namespace: keyPrefix,
3079
- representationName: RepresentationType$c,
3114
+ representationName: RepresentationType$d,
3080
3115
  mergeable: false
3081
3116
  });
3082
3117
  const input_files_length = input.files.length;
3083
3118
  for (let i = 0; i < input_files_length; i++) {
3084
- getTypeCacheKeys$d(rootKeySet, luvio, input.files[i]);
3119
+ getTypeCacheKeys$e(rootKeySet, luvio, input.files[i]);
3085
3120
  }
3086
3121
  }
3087
3122
 
3088
- const VERSION$b = "5145ac2c241c561e4baa29b3884748dc";
3089
- function validate$b(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
3123
+ const VERSION$c = "5145ac2c241c561e4baa29b3884748dc";
3124
+ function validate$c(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
3090
3125
  const v_error = (() => {
3091
3126
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3092
3127
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3137,14 +3172,14 @@ function validate$b(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
3137
3172
  })();
3138
3173
  return v_error === undefined ? null : v_error;
3139
3174
  }
3140
- const RepresentationType$b = 'SlackBridgeConversationHistoryOutputRepresentation';
3141
- function normalize$b(input, existing, path, luvio, store, timestamp) {
3175
+ const RepresentationType$c = 'SlackBridgeConversationHistoryOutputRepresentation';
3176
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
3142
3177
  const input_messages = input.messages;
3143
3178
  const input_messages_id = path.fullPath + '__messages';
3144
3179
  for (let i = 0; i < input_messages.length; i++) {
3145
3180
  const input_messages_item = input_messages[i];
3146
3181
  let input_messages_item_id = input_messages_id + '__' + i;
3147
- input_messages[i] = ingest$c(input_messages_item, {
3182
+ input_messages[i] = ingest$d(input_messages_item, {
3148
3183
  fullPath: input_messages_item_id,
3149
3184
  propertyName: i,
3150
3185
  parent: {
@@ -3157,10 +3192,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3157
3192
  }
3158
3193
  return input;
3159
3194
  }
3160
- const select$t = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3195
+ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3161
3196
  return {
3162
3197
  kind: 'Fragment',
3163
- version: VERSION$b,
3198
+ version: VERSION$c,
3164
3199
  private: [],
3165
3200
  selections: [
3166
3201
  {
@@ -3171,7 +3206,7 @@ const select$t = function SlackBridgeConversationHistoryOutputRepresentationSele
3171
3206
  name: 'messages',
3172
3207
  kind: 'Link',
3173
3208
  plural: true,
3174
- fragment: select$u()
3209
+ fragment: select$w()
3175
3210
  },
3176
3211
  {
3177
3212
  name: 'nextCursor',
@@ -3180,7 +3215,7 @@ const select$t = function SlackBridgeConversationHistoryOutputRepresentationSele
3180
3215
  ]
3181
3216
  };
3182
3217
  };
3183
- function equals$b(existing, incoming) {
3218
+ function equals$c(existing, incoming) {
3184
3219
  const existing_hasMore = existing.hasMore;
3185
3220
  const incoming_hasMore = incoming.hasMore;
3186
3221
  if (!(existing_hasMore === incoming_hasMore)) {
@@ -3203,34 +3238,34 @@ function equals$b(existing, incoming) {
3203
3238
  }
3204
3239
  return true;
3205
3240
  }
3206
- const ingest$b = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3241
+ const ingest$c = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3207
3242
  if (process.env.NODE_ENV !== 'production') {
3208
- const validateError = validate$b(input);
3243
+ const validateError = validate$c(input);
3209
3244
  if (validateError !== null) {
3210
3245
  throw validateError;
3211
3246
  }
3212
3247
  }
3213
3248
  const key = path.fullPath;
3214
3249
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3215
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$b, RepresentationType$b, equals$b);
3250
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$c, RepresentationType$c, equals$c);
3216
3251
  return createLink(key);
3217
3252
  };
3218
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3253
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3219
3254
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3220
3255
  const rootKey = fullPathFactory();
3221
3256
  rootKeySet.set(rootKey, {
3222
3257
  namespace: keyPrefix,
3223
- representationName: RepresentationType$b,
3258
+ representationName: RepresentationType$c,
3224
3259
  mergeable: false
3225
3260
  });
3226
3261
  const input_messages_length = input.messages.length;
3227
3262
  for (let i = 0; i < input_messages_length; i++) {
3228
- getTypeCacheKeys$c(rootKeySet, luvio, input.messages[i], () => '');
3263
+ getTypeCacheKeys$d(rootKeySet, luvio, input.messages[i], () => '');
3229
3264
  }
3230
3265
  }
3231
3266
 
3232
- const VERSION$a = "7ec6cbca3e2948ff5ef00e4034f365d5";
3233
- function validate$a(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3267
+ const VERSION$b = "7ec6cbca3e2948ff5ef00e4034f365d5";
3268
+ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3234
3269
  const v_error = (() => {
3235
3270
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3236
3271
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3374,12 +3409,12 @@ function validate$a(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3374
3409
  })();
3375
3410
  return v_error === undefined ? null : v_error;
3376
3411
  }
3377
- const RepresentationType$a = 'SlackBridgeConversationOutputRepresentation';
3378
- function normalize$a(input, existing, path, luvio, store, timestamp) {
3412
+ const RepresentationType$b = 'SlackBridgeConversationOutputRepresentation';
3413
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
3379
3414
  const input_contextUserInfo = input.contextUserInfo;
3380
3415
  const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
3381
3416
  if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
3382
- input.contextUserInfo = ingest$f(input_contextUserInfo, {
3417
+ input.contextUserInfo = ingest$g(input_contextUserInfo, {
3383
3418
  fullPath: input_contextUserInfo_id,
3384
3419
  propertyName: 'contextUserInfo',
3385
3420
  parent: {
@@ -3393,7 +3428,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3393
3428
  const input_conversationInfo = input.conversationInfo;
3394
3429
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
3395
3430
  if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
3396
- input.conversationInfo = ingest$e(input_conversationInfo, {
3431
+ input.conversationInfo = ingest$f(input_conversationInfo, {
3397
3432
  fullPath: input_conversationInfo_id,
3398
3433
  propertyName: 'conversationInfo',
3399
3434
  parent: {
@@ -3406,7 +3441,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3406
3441
  }
3407
3442
  const input_history = input.history;
3408
3443
  const input_history_id = path.fullPath + '__history';
3409
- input.history = ingest$b(input_history, {
3444
+ input.history = ingest$c(input_history, {
3410
3445
  fullPath: input_history_id,
3411
3446
  propertyName: 'history',
3412
3447
  parent: {
@@ -3421,7 +3456,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3421
3456
  for (let i = 0; i < input_userInfos.length; i++) {
3422
3457
  const input_userInfos_item = input_userInfos[i];
3423
3458
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
3424
- input_userInfos[i] = ingest$f(input_userInfos_item, {
3459
+ input_userInfos[i] = ingest$g(input_userInfos_item, {
3425
3460
  fullPath: input_userInfos_item_id,
3426
3461
  propertyName: i,
3427
3462
  parent: {
@@ -3434,10 +3469,10 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3434
3469
  }
3435
3470
  return input;
3436
3471
  }
3437
- const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
3472
+ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3438
3473
  return {
3439
3474
  kind: 'Fragment',
3440
- version: VERSION$a,
3475
+ version: VERSION$b,
3441
3476
  private: [],
3442
3477
  selections: [
3443
3478
  {
@@ -3452,18 +3487,18 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
3452
3487
  name: 'contextUserInfo',
3453
3488
  kind: 'Link',
3454
3489
  nullable: true,
3455
- fragment: select$B()
3490
+ fragment: select$D()
3456
3491
  },
3457
3492
  {
3458
3493
  name: 'conversationInfo',
3459
3494
  kind: 'Link',
3460
3495
  nullable: true,
3461
- fragment: select$A()
3496
+ fragment: select$C()
3462
3497
  },
3463
3498
  {
3464
3499
  name: 'history',
3465
3500
  kind: 'Link',
3466
- fragment: select$t()
3501
+ fragment: select$v()
3467
3502
  },
3468
3503
  {
3469
3504
  name: 'teamId',
@@ -3477,7 +3512,7 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
3477
3512
  name: 'userInfos',
3478
3513
  kind: 'Link',
3479
3514
  plural: true,
3480
- fragment: select$B()
3515
+ fragment: select$D()
3481
3516
  },
3482
3517
  {
3483
3518
  name: 'websocketUrl',
@@ -3486,7 +3521,7 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
3486
3521
  ]
3487
3522
  };
3488
3523
  };
3489
- function equals$a(existing, incoming) {
3524
+ function equals$b(existing, incoming) {
3490
3525
  const existing_channelId = existing.channelId;
3491
3526
  const incoming_channelId = incoming.channelId;
3492
3527
  if (!(existing_channelId === incoming_channelId)) {
@@ -3549,55 +3584,55 @@ function equals$a(existing, incoming) {
3549
3584
  }
3550
3585
  return true;
3551
3586
  }
3552
- const ingest$a = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3587
+ const ingest$b = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3553
3588
  if (process.env.NODE_ENV !== 'production') {
3554
- const validateError = validate$a(input);
3589
+ const validateError = validate$b(input);
3555
3590
  if (validateError !== null) {
3556
3591
  throw validateError;
3557
3592
  }
3558
3593
  }
3559
3594
  const key = path.fullPath;
3560
3595
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3561
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
3596
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$b, RepresentationType$b, equals$b);
3562
3597
  return createLink(key);
3563
3598
  };
3564
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3599
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3565
3600
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3566
3601
  const rootKey = fullPathFactory();
3567
3602
  rootKeySet.set(rootKey, {
3568
3603
  namespace: keyPrefix,
3569
- representationName: RepresentationType$a,
3604
+ representationName: RepresentationType$b,
3570
3605
  mergeable: false
3571
3606
  });
3572
3607
  if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
3573
- getTypeCacheKeys$f(rootKeySet, luvio, input.contextUserInfo);
3608
+ getTypeCacheKeys$g(rootKeySet, luvio, input.contextUserInfo);
3574
3609
  }
3575
3610
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3576
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
3611
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
3577
3612
  }
3578
- getTypeCacheKeys$b(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3613
+ getTypeCacheKeys$c(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3579
3614
  const input_userInfos_length = input.userInfos.length;
3580
3615
  for (let i = 0; i < input_userInfos_length; i++) {
3581
- getTypeCacheKeys$f(rootKeySet, luvio, input.userInfos[i]);
3616
+ getTypeCacheKeys$g(rootKeySet, luvio, input.userInfos[i]);
3582
3617
  }
3583
3618
  }
3584
3619
 
3585
- function select$r(luvio, params) {
3586
- return select$s();
3620
+ function select$t(luvio, params) {
3621
+ return select$u();
3587
3622
  }
3588
- function keyBuilder$v(luvio, params) {
3623
+ function keyBuilder$x(luvio, params) {
3589
3624
  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 + ')';
3590
3625
  }
3591
- function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
3592
- getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
3626
+ function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
3627
+ getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
3593
3628
  }
3594
- function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
3629
+ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
3595
3630
  const { body } = response;
3596
- const key = keyBuilder$v(luvio, resourceParams);
3597
- luvio.storeIngest(key, ingest$a, body);
3631
+ const key = keyBuilder$x(luvio, resourceParams);
3632
+ luvio.storeIngest(key, ingest$b, body);
3598
3633
  const snapshot = luvio.storeLookup({
3599
3634
  recordId: key,
3600
- node: select$r(),
3635
+ node: select$t(),
3601
3636
  variables: {},
3602
3637
  }, snapshotRefresh);
3603
3638
  if (process.env.NODE_ENV !== 'production') {
@@ -3608,13 +3643,13 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
3608
3643
  deepFreeze(snapshot.data);
3609
3644
  return snapshot;
3610
3645
  }
3611
- function ingestError$a(luvio, params, error, snapshotRefresh) {
3612
- const key = keyBuilder$v(luvio, params);
3646
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
3647
+ const key = keyBuilder$x(luvio, params);
3613
3648
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3614
3649
  luvio.storeIngestError(key, errorSnapshot);
3615
3650
  return errorSnapshot;
3616
3651
  }
3617
- function createResourceRequest$k(config) {
3652
+ function createResourceRequest$l(config) {
3618
3653
  const headers = {};
3619
3654
  return {
3620
3655
  baseUri: '/services/data/v63.0',
@@ -3628,7 +3663,7 @@ function createResourceRequest$k(config) {
3628
3663
  };
3629
3664
  }
3630
3665
 
3631
- const adapterName$k = 'getSlackConversation';
3666
+ const adapterName$l = 'getSlackConversation';
3632
3667
  const getSlackConversation_ConfigPropertyMetadata = [
3633
3668
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3634
3669
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3640,90 +3675,90 @@ const getSlackConversation_ConfigPropertyMetadata = [
3640
3675
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3641
3676
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3642
3677
  ];
3643
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getSlackConversation_ConfigPropertyMetadata);
3644
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$l(getSlackConversation_ConfigPropertyMetadata);
3645
- function keyBuilder$u(luvio, config) {
3646
- const resourceParams = createResourceParams$k(config);
3647
- return keyBuilder$v(luvio, resourceParams);
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);
3648
3683
  }
3649
- function typeCheckConfig$k(untrustedConfig) {
3684
+ function typeCheckConfig$l(untrustedConfig) {
3650
3685
  const config = {};
3651
- typeCheckConfig$l(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3686
+ typeCheckConfig$m(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3652
3687
  return config;
3653
3688
  }
3654
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
3689
+ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
3655
3690
  if (!untrustedIsObject(untrustedConfig)) {
3656
3691
  return null;
3657
3692
  }
3658
3693
  if (process.env.NODE_ENV !== 'production') {
3659
3694
  validateConfig(untrustedConfig, configPropertyNames);
3660
3695
  }
3661
- const config = typeCheckConfig$k(untrustedConfig);
3696
+ const config = typeCheckConfig$l(untrustedConfig);
3662
3697
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3663
3698
  return null;
3664
3699
  }
3665
3700
  return config;
3666
3701
  }
3667
- function adapterFragment$a(luvio, config) {
3668
- createResourceParams$k(config);
3669
- return select$r();
3702
+ function adapterFragment$b(luvio, config) {
3703
+ createResourceParams$l(config);
3704
+ return select$t();
3670
3705
  }
3671
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
3672
- const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
3706
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
3707
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
3673
3708
  config,
3674
- resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
3709
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3675
3710
  });
3676
3711
  return luvio.storeBroadcast().then(() => snapshot);
3677
3712
  }
3678
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
3679
- const snapshot = ingestError$a(luvio, resourceParams, response, {
3713
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
3714
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
3680
3715
  config,
3681
- resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
3716
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3682
3717
  });
3683
3718
  return luvio.storeBroadcast().then(() => snapshot);
3684
3719
  }
3685
- function buildNetworkSnapshot$k(luvio, config, options) {
3686
- const resourceParams = createResourceParams$k(config);
3687
- const request = createResourceRequest$k(resourceParams);
3720
+ function buildNetworkSnapshot$l(luvio, config, options) {
3721
+ const resourceParams = createResourceParams$l(config);
3722
+ const request = createResourceRequest$l(resourceParams);
3688
3723
  return luvio.dispatchResourceRequest(request, options)
3689
3724
  .then((response) => {
3690
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
3725
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
3691
3726
  const cache = new StoreKeyMap();
3692
- getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
3727
+ getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
3693
3728
  return cache;
3694
3729
  });
3695
3730
  }, (response) => {
3696
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
3731
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
3697
3732
  });
3698
3733
  }
3699
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
3700
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
3734
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
3735
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
3701
3736
  }
3702
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
3737
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
3703
3738
  const { luvio, config } = context;
3704
3739
  const selector = {
3705
- recordId: keyBuilder$u(luvio, config),
3706
- node: adapterFragment$a(luvio, config),
3740
+ recordId: keyBuilder$w(luvio, config),
3741
+ node: adapterFragment$b(luvio, config),
3707
3742
  variables: {},
3708
3743
  };
3709
3744
  const cacheSnapshot = storeLookup(selector, {
3710
3745
  config,
3711
- resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
3746
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3712
3747
  });
3713
3748
  return cacheSnapshot;
3714
3749
  }
3715
3750
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3716
- const config = validateAdapterConfig$k(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3751
+ const config = validateAdapterConfig$l(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3717
3752
  // Invalid or incomplete config
3718
3753
  if (config === null) {
3719
3754
  return null;
3720
3755
  }
3721
3756
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3722
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
3757
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
3723
3758
  };
3724
3759
 
3725
- const VERSION$9 = "769b5b0ed94219341e9be74c08e63aed";
3726
- function validate$9(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3760
+ const VERSION$a = "769b5b0ed94219341e9be74c08e63aed";
3761
+ function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3727
3762
  const v_error = (() => {
3728
3763
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3729
3764
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3746,20 +3781,20 @@ function validate$9(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3746
3781
  })();
3747
3782
  return v_error === undefined ? null : v_error;
3748
3783
  }
3749
- const RepresentationType$9 = 'SlackBridgePostMessageOutputRepresentation';
3750
- function keyBuilder$t(luvio, config) {
3751
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.channelId;
3784
+ const RepresentationType$a = 'SlackBridgePostMessageOutputRepresentation';
3785
+ function keyBuilder$v(luvio, config) {
3786
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.channelId;
3752
3787
  }
3753
3788
  function keyBuilderFromType$6(luvio, object) {
3754
3789
  const keyParams = {
3755
3790
  channelId: object.channelId
3756
3791
  };
3757
- return keyBuilder$t(luvio, keyParams);
3792
+ return keyBuilder$v(luvio, keyParams);
3758
3793
  }
3759
- function normalize$9(input, existing, path, luvio, store, timestamp) {
3794
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
3760
3795
  const input_postedMessage = input.postedMessage;
3761
3796
  const input_postedMessage_id = path.fullPath + '__postedMessage';
3762
- input.postedMessage = ingest$c(input_postedMessage, {
3797
+ input.postedMessage = ingest$d(input_postedMessage, {
3763
3798
  fullPath: input_postedMessage_id,
3764
3799
  propertyName: 'postedMessage',
3765
3800
  parent: {
@@ -3771,10 +3806,10 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
3771
3806
  }, luvio, store, timestamp);
3772
3807
  return input;
3773
3808
  }
3774
- const select$q = function SlackBridgePostMessageOutputRepresentationSelect() {
3809
+ const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
3775
3810
  return {
3776
3811
  kind: 'Fragment',
3777
- version: VERSION$9,
3812
+ version: VERSION$a,
3778
3813
  private: [],
3779
3814
  selections: [
3780
3815
  {
@@ -3784,7 +3819,7 @@ const select$q = function SlackBridgePostMessageOutputRepresentationSelect() {
3784
3819
  {
3785
3820
  name: 'postedMessage',
3786
3821
  kind: 'Link',
3787
- fragment: select$u()
3822
+ fragment: select$w()
3788
3823
  },
3789
3824
  {
3790
3825
  name: 'timestamp',
@@ -3793,7 +3828,7 @@ const select$q = function SlackBridgePostMessageOutputRepresentationSelect() {
3793
3828
  ]
3794
3829
  };
3795
3830
  };
3796
- function equals$9(existing, incoming) {
3831
+ function equals$a(existing, incoming) {
3797
3832
  const existing_channelId = existing.channelId;
3798
3833
  const incoming_channelId = incoming.channelId;
3799
3834
  if (!(existing_channelId === incoming_channelId)) {
@@ -3811,42 +3846,42 @@ function equals$9(existing, incoming) {
3811
3846
  }
3812
3847
  return true;
3813
3848
  }
3814
- const ingest$9 = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3849
+ const ingest$a = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3815
3850
  if (process.env.NODE_ENV !== 'production') {
3816
- const validateError = validate$9(input);
3851
+ const validateError = validate$a(input);
3817
3852
  if (validateError !== null) {
3818
3853
  throw validateError;
3819
3854
  }
3820
3855
  }
3821
3856
  const key = keyBuilderFromType$6(luvio, input);
3822
3857
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3823
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
3858
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
3824
3859
  return createLink(key);
3825
3860
  };
3826
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
3861
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3827
3862
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3828
3863
  const rootKey = keyBuilderFromType$6(luvio, input);
3829
3864
  rootKeySet.set(rootKey, {
3830
3865
  namespace: keyPrefix,
3831
- representationName: RepresentationType$9,
3866
+ representationName: RepresentationType$a,
3832
3867
  mergeable: false
3833
3868
  });
3834
- getTypeCacheKeys$c(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3869
+ getTypeCacheKeys$d(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3835
3870
  }
3836
3871
 
3837
- function select$p(luvio, params) {
3838
- return select$q();
3872
+ function select$r(luvio, params) {
3873
+ return select$s();
3839
3874
  }
3840
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
3841
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
3875
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
3876
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
3842
3877
  }
3843
- function ingestSuccess$g(luvio, resourceParams, response) {
3878
+ function ingestSuccess$h(luvio, resourceParams, response) {
3844
3879
  const { body } = response;
3845
3880
  const key = keyBuilderFromType$6(luvio, body);
3846
- luvio.storeIngest(key, ingest$9, body);
3881
+ luvio.storeIngest(key, ingest$a, body);
3847
3882
  const snapshot = luvio.storeLookup({
3848
3883
  recordId: key,
3849
- node: select$p(),
3884
+ node: select$r(),
3850
3885
  variables: {},
3851
3886
  });
3852
3887
  if (process.env.NODE_ENV !== 'production') {
@@ -3857,7 +3892,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
3857
3892
  deepFreeze(snapshot.data);
3858
3893
  return snapshot;
3859
3894
  }
3860
- function createResourceRequest$j(config) {
3895
+ function createResourceRequest$k(config) {
3861
3896
  const headers = {};
3862
3897
  return {
3863
3898
  baseUri: '/services/data/v63.0',
@@ -3871,7 +3906,7 @@ function createResourceRequest$j(config) {
3871
3906
  };
3872
3907
  }
3873
3908
 
3874
- const adapterName$j = 'postSlackConversation';
3909
+ const adapterName$k = 'postSlackConversation';
3875
3910
  const postSlackConversation_ConfigPropertyMetadata = [
3876
3911
  generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
3877
3912
  generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
@@ -3880,37 +3915,37 @@ const postSlackConversation_ConfigPropertyMetadata = [
3880
3915
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
3881
3916
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
3882
3917
  ];
3883
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackConversation_ConfigPropertyMetadata);
3884
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$l(postSlackConversation_ConfigPropertyMetadata);
3885
- function typeCheckConfig$j(untrustedConfig) {
3918
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackConversation_ConfigPropertyMetadata);
3919
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$m(postSlackConversation_ConfigPropertyMetadata);
3920
+ function typeCheckConfig$k(untrustedConfig) {
3886
3921
  const config = {};
3887
- typeCheckConfig$l(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3922
+ typeCheckConfig$m(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3888
3923
  return config;
3889
3924
  }
3890
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
3925
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
3891
3926
  if (!untrustedIsObject(untrustedConfig)) {
3892
3927
  return null;
3893
3928
  }
3894
3929
  if (process.env.NODE_ENV !== 'production') {
3895
3930
  validateConfig(untrustedConfig, configPropertyNames);
3896
3931
  }
3897
- const config = typeCheckConfig$j(untrustedConfig);
3932
+ const config = typeCheckConfig$k(untrustedConfig);
3898
3933
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3899
3934
  return null;
3900
3935
  }
3901
3936
  return config;
3902
3937
  }
3903
- function buildNetworkSnapshot$j(luvio, config, options) {
3904
- const resourceParams = createResourceParams$j(config);
3905
- const request = createResourceRequest$j(resourceParams);
3938
+ function buildNetworkSnapshot$k(luvio, config, options) {
3939
+ const resourceParams = createResourceParams$k(config);
3940
+ const request = createResourceRequest$k(resourceParams);
3906
3941
  return luvio.dispatchResourceRequest(request, options)
3907
3942
  .then((response) => {
3908
3943
  return luvio.handleSuccessResponse(() => {
3909
- const snapshot = ingestSuccess$g(luvio, resourceParams, response);
3944
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response);
3910
3945
  return luvio.storeBroadcast().then(() => snapshot);
3911
3946
  }, () => {
3912
3947
  const cache = new StoreKeyMap();
3913
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
3948
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
3914
3949
  return cache;
3915
3950
  });
3916
3951
  }, (response) => {
@@ -3920,28 +3955,28 @@ function buildNetworkSnapshot$j(luvio, config, options) {
3920
3955
  }
3921
3956
  const postSlackConversationAdapterFactory = (luvio) => {
3922
3957
  return function postSlackConversation(untrustedConfig) {
3923
- const config = validateAdapterConfig$j(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3958
+ const config = validateAdapterConfig$k(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3924
3959
  // Invalid or incomplete config
3925
3960
  if (config === null) {
3926
3961
  throw new Error('Invalid config for "postSlackConversation"');
3927
3962
  }
3928
- return buildNetworkSnapshot$j(luvio, config);
3963
+ return buildNetworkSnapshot$k(luvio, config);
3929
3964
  };
3930
3965
  };
3931
3966
 
3932
- function select$o(luvio, params) {
3933
- return select$v();
3967
+ function select$q(luvio, params) {
3968
+ return select$x();
3934
3969
  }
3935
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
3936
- getTypeCacheKeys$d(storeKeyMap, luvio, response);
3970
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
3971
+ getTypeCacheKeys$e(storeKeyMap, luvio, response);
3937
3972
  }
3938
- function ingestSuccess$f(luvio, resourceParams, response) {
3973
+ function ingestSuccess$g(luvio, resourceParams, response) {
3939
3974
  const { body } = response;
3940
3975
  const key = keyBuilderFromType$7(luvio, body);
3941
- luvio.storeIngest(key, ingest$d, body);
3976
+ luvio.storeIngest(key, ingest$e, body);
3942
3977
  const snapshot = luvio.storeLookup({
3943
3978
  recordId: key,
3944
- node: select$o(),
3979
+ node: select$q(),
3945
3980
  variables: {},
3946
3981
  });
3947
3982
  if (process.env.NODE_ENV !== 'production') {
@@ -3952,7 +3987,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
3952
3987
  deepFreeze(snapshot.data);
3953
3988
  return snapshot;
3954
3989
  }
3955
- function createResourceRequest$i(config) {
3990
+ function createResourceRequest$j(config) {
3956
3991
  const headers = {};
3957
3992
  return {
3958
3993
  baseUri: '/services/data/v63.0',
@@ -3966,7 +4001,7 @@ function createResourceRequest$i(config) {
3966
4001
  };
3967
4002
  }
3968
4003
 
3969
- const adapterName$i = 'postSlackFile';
4004
+ const adapterName$j = 'postSlackFile';
3970
4005
  const postSlackFile_ConfigPropertyMetadata = [
3971
4006
  generateParamConfigMetadata('base64EncodedFileData', true, 2 /* Body */, 0 /* String */),
3972
4007
  generateParamConfigMetadata('channels', true, 2 /* Body */, 0 /* String */, true),
@@ -3977,37 +4012,37 @@ const postSlackFile_ConfigPropertyMetadata = [
3977
4012
  generateParamConfigMetadata('threadTs', true, 2 /* Body */, 0 /* String */),
3978
4013
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
3979
4014
  ];
3980
- const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackFile_ConfigPropertyMetadata);
3981
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$l(postSlackFile_ConfigPropertyMetadata);
3982
- function typeCheckConfig$i(untrustedConfig) {
4015
+ const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackFile_ConfigPropertyMetadata);
4016
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$m(postSlackFile_ConfigPropertyMetadata);
4017
+ function typeCheckConfig$j(untrustedConfig) {
3983
4018
  const config = {};
3984
- typeCheckConfig$l(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4019
+ typeCheckConfig$m(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
3985
4020
  return config;
3986
4021
  }
3987
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4022
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
3988
4023
  if (!untrustedIsObject(untrustedConfig)) {
3989
4024
  return null;
3990
4025
  }
3991
4026
  if (process.env.NODE_ENV !== 'production') {
3992
4027
  validateConfig(untrustedConfig, configPropertyNames);
3993
4028
  }
3994
- const config = typeCheckConfig$i(untrustedConfig);
4029
+ const config = typeCheckConfig$j(untrustedConfig);
3995
4030
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3996
4031
  return null;
3997
4032
  }
3998
4033
  return config;
3999
4034
  }
4000
- function buildNetworkSnapshot$i(luvio, config, options) {
4001
- const resourceParams = createResourceParams$i(config);
4002
- const request = createResourceRequest$i(resourceParams);
4035
+ function buildNetworkSnapshot$j(luvio, config, options) {
4036
+ const resourceParams = createResourceParams$j(config);
4037
+ const request = createResourceRequest$j(resourceParams);
4003
4038
  return luvio.dispatchResourceRequest(request, options)
4004
4039
  .then((response) => {
4005
4040
  return luvio.handleSuccessResponse(() => {
4006
- const snapshot = ingestSuccess$f(luvio, resourceParams, response);
4041
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response);
4007
4042
  return luvio.storeBroadcast().then(() => snapshot);
4008
4043
  }, () => {
4009
4044
  const cache = new StoreKeyMap();
4010
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4045
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4011
4046
  return cache;
4012
4047
  });
4013
4048
  }, (response) => {
@@ -4017,17 +4052,17 @@ function buildNetworkSnapshot$i(luvio, config, options) {
4017
4052
  }
4018
4053
  const postSlackFileAdapterFactory = (luvio) => {
4019
4054
  return function postSlackFile(untrustedConfig) {
4020
- const config = validateAdapterConfig$i(untrustedConfig, postSlackFile_ConfigPropertyNames);
4055
+ const config = validateAdapterConfig$j(untrustedConfig, postSlackFile_ConfigPropertyNames);
4021
4056
  // Invalid or incomplete config
4022
4057
  if (config === null) {
4023
4058
  throw new Error('Invalid config for "postSlackFile"');
4024
4059
  }
4025
- return buildNetworkSnapshot$i(luvio, config);
4060
+ return buildNetworkSnapshot$j(luvio, config);
4026
4061
  };
4027
4062
  };
4028
4063
 
4029
- const VERSION$8 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4030
- function validate$8(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4064
+ const VERSION$9 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4065
+ function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4031
4066
  const v_error = (() => {
4032
4067
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4033
4068
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4050,20 +4085,20 @@ function validate$8(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
4050
4085
  })();
4051
4086
  return v_error === undefined ? null : v_error;
4052
4087
  }
4053
- const RepresentationType$8 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4054
- function keyBuilder$s(luvio, config) {
4055
- return keyPrefix + '::' + RepresentationType$8 + ':' + config.relatedRecordId;
4088
+ const RepresentationType$9 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4089
+ function keyBuilder$u(luvio, config) {
4090
+ return keyPrefix + '::' + RepresentationType$9 + ':' + config.relatedRecordId;
4056
4091
  }
4057
4092
  function keyBuilderFromType$5(luvio, object) {
4058
4093
  const keyParams = {
4059
4094
  relatedRecordId: object.relatedRecordId
4060
4095
  };
4061
- return keyBuilder$s(luvio, keyParams);
4096
+ return keyBuilder$u(luvio, keyParams);
4062
4097
  }
4063
- function normalize$8(input, existing, path, luvio, store, timestamp) {
4098
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
4064
4099
  const input_conversationInfo = input.conversationInfo;
4065
4100
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
4066
- input.conversationInfo = ingest$e(input_conversationInfo, {
4101
+ input.conversationInfo = ingest$f(input_conversationInfo, {
4067
4102
  fullPath: input_conversationInfo_id,
4068
4103
  propertyName: 'conversationInfo',
4069
4104
  parent: {
@@ -4075,16 +4110,16 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4075
4110
  }, luvio, store, timestamp);
4076
4111
  return input;
4077
4112
  }
4078
- const select$n = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4113
+ const select$p = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4079
4114
  return {
4080
4115
  kind: 'Fragment',
4081
- version: VERSION$8,
4116
+ version: VERSION$9,
4082
4117
  private: [],
4083
4118
  selections: [
4084
4119
  {
4085
4120
  name: 'conversationInfo',
4086
4121
  kind: 'Link',
4087
- fragment: select$A()
4122
+ fragment: select$C()
4088
4123
  },
4089
4124
  {
4090
4125
  name: 'relatedRecordId',
@@ -4097,7 +4132,7 @@ const select$n = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
4097
4132
  ]
4098
4133
  };
4099
4134
  };
4100
- function equals$8(existing, incoming) {
4135
+ function equals$9(existing, incoming) {
4101
4136
  const existing_relatedRecordId = existing.relatedRecordId;
4102
4137
  const incoming_relatedRecordId = incoming.relatedRecordId;
4103
4138
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -4115,42 +4150,42 @@ function equals$8(existing, incoming) {
4115
4150
  }
4116
4151
  return true;
4117
4152
  }
4118
- const ingest$8 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4153
+ const ingest$9 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4119
4154
  if (process.env.NODE_ENV !== 'production') {
4120
- const validateError = validate$8(input);
4155
+ const validateError = validate$9(input);
4121
4156
  if (validateError !== null) {
4122
4157
  throw validateError;
4123
4158
  }
4124
4159
  }
4125
4160
  const key = keyBuilderFromType$5(luvio, input);
4126
4161
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4127
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
4162
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
4128
4163
  return createLink(key);
4129
4164
  };
4130
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4165
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4131
4166
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4132
4167
  const rootKey = keyBuilderFromType$5(luvio, input);
4133
4168
  rootKeySet.set(rootKey, {
4134
4169
  namespace: keyPrefix,
4135
- representationName: RepresentationType$8,
4170
+ representationName: RepresentationType$9,
4136
4171
  mergeable: false
4137
4172
  });
4138
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
4173
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4139
4174
  }
4140
4175
 
4141
- function select$m(luvio, params) {
4142
- return select$n();
4176
+ function select$o(luvio, params) {
4177
+ return select$p();
4143
4178
  }
4144
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4145
- getTypeCacheKeys$8(storeKeyMap, luvio, response);
4179
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4180
+ getTypeCacheKeys$9(storeKeyMap, luvio, response);
4146
4181
  }
4147
- function ingestSuccess$e(luvio, resourceParams, response) {
4182
+ function ingestSuccess$f(luvio, resourceParams, response) {
4148
4183
  const { body } = response;
4149
4184
  const key = keyBuilderFromType$5(luvio, body);
4150
- luvio.storeIngest(key, ingest$8, body);
4185
+ luvio.storeIngest(key, ingest$9, body);
4151
4186
  const snapshot = luvio.storeLookup({
4152
4187
  recordId: key,
4153
- node: select$m(),
4188
+ node: select$o(),
4154
4189
  variables: {},
4155
4190
  });
4156
4191
  if (process.env.NODE_ENV !== 'production') {
@@ -4161,7 +4196,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
4161
4196
  deepFreeze(snapshot.data);
4162
4197
  return snapshot;
4163
4198
  }
4164
- function createResourceRequest$h(config) {
4199
+ function createResourceRequest$i(config) {
4165
4200
  const headers = {};
4166
4201
  return {
4167
4202
  baseUri: '/services/data/v63.0',
@@ -4175,16 +4210,16 @@ function createResourceRequest$h(config) {
4175
4210
  };
4176
4211
  }
4177
4212
 
4178
- const adapterName$h = 'postSlackRecordChannelInfos';
4213
+ const adapterName$i = 'postSlackRecordChannelInfos';
4179
4214
  const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
4180
4215
  generateParamConfigMetadata('conversationInfo', true, 2 /* Body */, 4 /* Unsupported */),
4181
4216
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
4182
4217
  ];
4183
- const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4184
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$l(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4185
- function typeCheckConfig$h(untrustedConfig) {
4218
+ const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4219
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$m(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4220
+ function typeCheckConfig$i(untrustedConfig) {
4186
4221
  const config = {};
4187
- typeCheckConfig$l(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4222
+ typeCheckConfig$m(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4188
4223
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
4189
4224
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
4190
4225
  const untrustedConfig_conversationInfo_object = {};
@@ -4198,30 +4233,30 @@ function typeCheckConfig$h(untrustedConfig) {
4198
4233
  }
4199
4234
  return config;
4200
4235
  }
4201
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4236
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4202
4237
  if (!untrustedIsObject(untrustedConfig)) {
4203
4238
  return null;
4204
4239
  }
4205
4240
  if (process.env.NODE_ENV !== 'production') {
4206
4241
  validateConfig(untrustedConfig, configPropertyNames);
4207
4242
  }
4208
- const config = typeCheckConfig$h(untrustedConfig);
4243
+ const config = typeCheckConfig$i(untrustedConfig);
4209
4244
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4210
4245
  return null;
4211
4246
  }
4212
4247
  return config;
4213
4248
  }
4214
- function buildNetworkSnapshot$h(luvio, config, options) {
4215
- const resourceParams = createResourceParams$h(config);
4216
- const request = createResourceRequest$h(resourceParams);
4249
+ function buildNetworkSnapshot$i(luvio, config, options) {
4250
+ const resourceParams = createResourceParams$i(config);
4251
+ const request = createResourceRequest$i(resourceParams);
4217
4252
  return luvio.dispatchResourceRequest(request, options)
4218
4253
  .then((response) => {
4219
4254
  return luvio.handleSuccessResponse(() => {
4220
- const snapshot = ingestSuccess$e(luvio, resourceParams, response);
4255
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response);
4221
4256
  return luvio.storeBroadcast().then(() => snapshot);
4222
4257
  }, () => {
4223
4258
  const cache = new StoreKeyMap();
4224
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
4259
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4225
4260
  return cache;
4226
4261
  });
4227
4262
  }, (response) => {
@@ -4231,25 +4266,301 @@ function buildNetworkSnapshot$h(luvio, config, options) {
4231
4266
  }
4232
4267
  const postSlackRecordChannelInfosAdapterFactory = (luvio) => {
4233
4268
  return function postSlackRecordChannelInfos(untrustedConfig) {
4234
- const config = validateAdapterConfig$h(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4269
+ const config = validateAdapterConfig$i(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4235
4270
  // Invalid or incomplete config
4236
4271
  if (config === null) {
4237
4272
  throw new Error('Invalid config for "postSlackRecordChannelInfos"');
4238
4273
  }
4239
- return buildNetworkSnapshot$h(luvio, config);
4274
+ return buildNetworkSnapshot$i(luvio, config);
4240
4275
  };
4241
4276
  };
4242
4277
 
4243
- function select$l(luvio, params) {
4244
- return select$n();
4278
+ function select$n(luvio, params) {
4279
+ return select$p();
4245
4280
  }
4246
- function keyBuilder$r(luvio, params) {
4247
- return keyBuilder$s(luvio, {
4281
+ function keyBuilder$t(luvio, params) {
4282
+ return keyBuilder$u(luvio, {
4248
4283
  relatedRecordId: params.urlParams.relatedRecordId
4249
4284
  });
4250
4285
  }
4286
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4287
+ getTypeCacheKeys$9(storeKeyMap, luvio, response);
4288
+ }
4289
+ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4290
+ const { body } = response;
4291
+ const key = keyBuilder$t(luvio, resourceParams);
4292
+ luvio.storeIngest(key, ingest$9, body);
4293
+ const snapshot = luvio.storeLookup({
4294
+ recordId: key,
4295
+ node: select$n(),
4296
+ variables: {},
4297
+ }, snapshotRefresh);
4298
+ if (process.env.NODE_ENV !== 'production') {
4299
+ if (snapshot.state !== 'Fulfilled') {
4300
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4301
+ }
4302
+ }
4303
+ deepFreeze(snapshot.data);
4304
+ return snapshot;
4305
+ }
4306
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
4307
+ const key = keyBuilder$t(luvio, params);
4308
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4309
+ luvio.storeIngestError(key, errorSnapshot);
4310
+ return errorSnapshot;
4311
+ }
4312
+ function createResourceRequest$h(config) {
4313
+ const headers = {};
4314
+ return {
4315
+ baseUri: '/services/data/v63.0',
4316
+ basePath: '/connect/slackbridge/record_channels/' + config.urlParams.relatedRecordId + '',
4317
+ method: 'get',
4318
+ body: null,
4319
+ urlParams: config.urlParams,
4320
+ queryParams: {},
4321
+ headers,
4322
+ priority: 'normal',
4323
+ };
4324
+ }
4325
+
4326
+ const adapterName$h = 'getSlackRecordChannelInfo';
4327
+ const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
4328
+ generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
4329
+ ];
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);
4335
+ }
4336
+ function typeCheckConfig$h(untrustedConfig) {
4337
+ const config = {};
4338
+ typeCheckConfig$m(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4339
+ return config;
4340
+ }
4341
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4342
+ if (!untrustedIsObject(untrustedConfig)) {
4343
+ return null;
4344
+ }
4345
+ if (process.env.NODE_ENV !== 'production') {
4346
+ validateConfig(untrustedConfig, configPropertyNames);
4347
+ }
4348
+ const config = typeCheckConfig$h(untrustedConfig);
4349
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4350
+ return null;
4351
+ }
4352
+ return config;
4353
+ }
4354
+ function adapterFragment$a(luvio, config) {
4355
+ createResourceParams$h(config);
4356
+ return select$n();
4357
+ }
4358
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4359
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
4360
+ config,
4361
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4362
+ });
4363
+ return luvio.storeBroadcast().then(() => snapshot);
4364
+ }
4365
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
4366
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
4367
+ config,
4368
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4369
+ });
4370
+ return luvio.storeBroadcast().then(() => snapshot);
4371
+ }
4372
+ function buildNetworkSnapshot$h(luvio, config, options) {
4373
+ const resourceParams = createResourceParams$h(config);
4374
+ const request = createResourceRequest$h(resourceParams);
4375
+ return luvio.dispatchResourceRequest(request, options)
4376
+ .then((response) => {
4377
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
4378
+ const cache = new StoreKeyMap();
4379
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
4380
+ return cache;
4381
+ });
4382
+ }, (response) => {
4383
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
4384
+ });
4385
+ }
4386
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4387
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4388
+ }
4389
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4390
+ const { luvio, config } = context;
4391
+ const selector = {
4392
+ recordId: keyBuilder$s(luvio, config),
4393
+ node: adapterFragment$a(luvio, config),
4394
+ variables: {},
4395
+ };
4396
+ const cacheSnapshot = storeLookup(selector, {
4397
+ config,
4398
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4399
+ });
4400
+ return cacheSnapshot;
4401
+ }
4402
+ const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4403
+ const config = validateAdapterConfig$h(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4404
+ // Invalid or incomplete config
4405
+ if (config === null) {
4406
+ return null;
4407
+ }
4408
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4409
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4410
+ };
4411
+
4412
+ const TTL = 500;
4413
+ const VERSION$8 = "192b0be748476888c3d3587558207214";
4414
+ function validate$8(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
4415
+ const v_error = (() => {
4416
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4417
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4418
+ }
4419
+ const obj_conversations = obj.conversations;
4420
+ const path_conversations = path + '.conversations';
4421
+ if (!ArrayIsArray(obj_conversations)) {
4422
+ return new TypeError('Expected "array" but received "' + typeof obj_conversations + '" (at "' + path_conversations + '")');
4423
+ }
4424
+ for (let i = 0; i < obj_conversations.length; i++) {
4425
+ const obj_conversations_item = obj_conversations[i];
4426
+ const path_conversations_item = path_conversations + '[' + i + ']';
4427
+ if (typeof obj_conversations_item !== 'object') {
4428
+ return new TypeError('Expected "object" but received "' + typeof obj_conversations_item + '" (at "' + path_conversations_item + '")');
4429
+ }
4430
+ }
4431
+ const obj_messages = obj.messages;
4432
+ const path_messages = path + '.messages';
4433
+ if (!ArrayIsArray(obj_messages)) {
4434
+ return new TypeError('Expected "array" but received "' + typeof obj_messages + '" (at "' + path_messages + '")');
4435
+ }
4436
+ for (let i = 0; i < obj_messages.length; i++) {
4437
+ const obj_messages_item = obj_messages[i];
4438
+ const path_messages_item = path_messages + '[' + i + ']';
4439
+ if (typeof obj_messages_item !== 'object') {
4440
+ return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
4441
+ }
4442
+ }
4443
+ })();
4444
+ return v_error === undefined ? null : v_error;
4445
+ }
4446
+ const RepresentationType$8 = 'SlackBridgeRelatedThreadsOutputRepresentation';
4447
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
4448
+ const input_conversations = input.conversations;
4449
+ const input_conversations_id = path.fullPath + '__conversations';
4450
+ for (let i = 0; i < input_conversations.length; i++) {
4451
+ const input_conversations_item = input_conversations[i];
4452
+ let input_conversations_item_id = input_conversations_id + '__' + i;
4453
+ input_conversations[i] = ingest$f(input_conversations_item, {
4454
+ fullPath: input_conversations_item_id,
4455
+ propertyName: i,
4456
+ parent: {
4457
+ data: input,
4458
+ key: path.fullPath,
4459
+ existing: existing,
4460
+ },
4461
+ ttl: path.ttl
4462
+ }, luvio, store, timestamp);
4463
+ }
4464
+ const input_messages = input.messages;
4465
+ const input_messages_id = path.fullPath + '__messages';
4466
+ for (let i = 0; i < input_messages.length; i++) {
4467
+ const input_messages_item = input_messages[i];
4468
+ let input_messages_item_id = input_messages_id + '__' + i;
4469
+ input_messages[i] = ingest$d(input_messages_item, {
4470
+ fullPath: input_messages_item_id,
4471
+ propertyName: i,
4472
+ parent: {
4473
+ data: input,
4474
+ key: path.fullPath,
4475
+ existing: existing,
4476
+ },
4477
+ ttl: path.ttl
4478
+ }, luvio, store, timestamp);
4479
+ }
4480
+ return input;
4481
+ }
4482
+ const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4483
+ return {
4484
+ kind: 'Fragment',
4485
+ version: VERSION$8,
4486
+ private: [],
4487
+ selections: [
4488
+ {
4489
+ name: 'conversations',
4490
+ kind: 'Link',
4491
+ plural: true,
4492
+ fragment: select$C()
4493
+ },
4494
+ {
4495
+ name: 'messages',
4496
+ kind: 'Link',
4497
+ plural: true,
4498
+ fragment: select$w()
4499
+ }
4500
+ ]
4501
+ };
4502
+ };
4503
+ function equals$8(existing, incoming) {
4504
+ const existing_conversations = existing.conversations;
4505
+ const incoming_conversations = incoming.conversations;
4506
+ const equals_conversations_items = equalsArray(existing_conversations, incoming_conversations, (existing_conversations_item, incoming_conversations_item) => {
4507
+ if (!(existing_conversations_item.__ref === incoming_conversations_item.__ref)) {
4508
+ return false;
4509
+ }
4510
+ });
4511
+ if (equals_conversations_items === false) {
4512
+ return false;
4513
+ }
4514
+ const existing_messages = existing.messages;
4515
+ const incoming_messages = incoming.messages;
4516
+ const equals_messages_items = equalsArray(existing_messages, incoming_messages, (existing_messages_item, incoming_messages_item) => {
4517
+ if (!(existing_messages_item.__ref === incoming_messages_item.__ref)) {
4518
+ return false;
4519
+ }
4520
+ });
4521
+ if (equals_messages_items === false) {
4522
+ return false;
4523
+ }
4524
+ return true;
4525
+ }
4526
+ const ingest$8 = function SlackBridgeRelatedThreadsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4527
+ if (process.env.NODE_ENV !== 'production') {
4528
+ const validateError = validate$8(input);
4529
+ if (validateError !== null) {
4530
+ throw validateError;
4531
+ }
4532
+ }
4533
+ const key = path.fullPath;
4534
+ const ttlToUse = TTL;
4535
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
4536
+ return createLink(key);
4537
+ };
4538
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4539
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4540
+ const rootKey = fullPathFactory();
4541
+ rootKeySet.set(rootKey, {
4542
+ namespace: keyPrefix,
4543
+ representationName: RepresentationType$8,
4544
+ mergeable: false
4545
+ });
4546
+ const input_conversations_length = input.conversations.length;
4547
+ for (let i = 0; i < input_conversations_length; i++) {
4548
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversations[i]);
4549
+ }
4550
+ const input_messages_length = input.messages.length;
4551
+ for (let i = 0; i < input_messages_length; i++) {
4552
+ getTypeCacheKeys$d(rootKeySet, luvio, input.messages[i], () => '');
4553
+ }
4554
+ }
4555
+
4556
+ function select$l(luvio, params) {
4557
+ return select$m();
4558
+ }
4559
+ function keyBuilder$r(luvio, params) {
4560
+ return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
4561
+ }
4251
4562
  function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4252
- getTypeCacheKeys$8(storeKeyMap, luvio, response);
4563
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
4253
4564
  }
4254
4565
  function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4255
4566
  const { body } = response;
@@ -4271,14 +4582,20 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4271
4582
  function ingestError$9(luvio, params, error, snapshotRefresh) {
4272
4583
  const key = keyBuilder$r(luvio, params);
4273
4584
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4274
- luvio.storeIngestError(key, errorSnapshot);
4585
+ const storeMetadataParams = {
4586
+ ttl: TTL,
4587
+ namespace: keyPrefix,
4588
+ version: VERSION$8,
4589
+ representationName: RepresentationType$8
4590
+ };
4591
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4275
4592
  return errorSnapshot;
4276
4593
  }
4277
4594
  function createResourceRequest$g(config) {
4278
4595
  const headers = {};
4279
4596
  return {
4280
4597
  baseUri: '/services/data/v63.0',
4281
- basePath: '/connect/slackbridge/record_channels/' + config.urlParams.relatedRecordId + '',
4598
+ basePath: '/connect/slackbridge/related_threads/entity/' + config.urlParams.entityId + '',
4282
4599
  method: 'get',
4283
4600
  body: null,
4284
4601
  urlParams: config.urlParams,
@@ -4288,19 +4605,19 @@ function createResourceRequest$g(config) {
4288
4605
  };
4289
4606
  }
4290
4607
 
4291
- const adapterName$g = 'getSlackRecordChannelInfo';
4292
- const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
4293
- generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
4608
+ const adapterName$g = 'getRelatedThreads';
4609
+ const getRelatedThreads_ConfigPropertyMetadata = [
4610
+ generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
4294
4611
  ];
4295
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4296
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$l(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4612
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getRelatedThreads_ConfigPropertyMetadata);
4613
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$m(getRelatedThreads_ConfigPropertyMetadata);
4297
4614
  function keyBuilder$q(luvio, config) {
4298
4615
  const resourceParams = createResourceParams$g(config);
4299
4616
  return keyBuilder$r(luvio, resourceParams);
4300
4617
  }
4301
4618
  function typeCheckConfig$g(untrustedConfig) {
4302
4619
  const config = {};
4303
- typeCheckConfig$l(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4620
+ typeCheckConfig$m(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4304
4621
  return config;
4305
4622
  }
4306
4623
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -4349,7 +4666,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
4349
4666
  });
4350
4667
  }
4351
4668
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4352
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4669
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4353
4670
  }
4354
4671
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4355
4672
  const { luvio, config } = context;
@@ -4364,8 +4681,8 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4364
4681
  });
4365
4682
  return cacheSnapshot;
4366
4683
  }
4367
- const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4368
- const config = validateAdapterConfig$g(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4684
+ const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
4685
+ const config = validateAdapterConfig$g(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
4369
4686
  // Invalid or incomplete config
4370
4687
  if (config === null) {
4371
4688
  return null;
@@ -4502,10 +4819,10 @@ const postSlackConversationMark_ConfigPropertyMetadata = [
4502
4819
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
4503
4820
  ];
4504
4821
  const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMark_ConfigPropertyMetadata);
4505
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$l(postSlackConversationMark_ConfigPropertyMetadata);
4822
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$m(postSlackConversationMark_ConfigPropertyMetadata);
4506
4823
  function typeCheckConfig$f(untrustedConfig) {
4507
4824
  const config = {};
4508
- typeCheckConfig$l(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4825
+ typeCheckConfig$m(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4509
4826
  return config;
4510
4827
  }
4511
4828
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -4736,14 +5053,14 @@ const getSlackConversationMembers_ConfigPropertyMetadata = [
4736
5053
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4737
5054
  ];
4738
5055
  const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMembers_ConfigPropertyMetadata);
4739
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$l(getSlackConversationMembers_ConfigPropertyMetadata);
5056
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$m(getSlackConversationMembers_ConfigPropertyMetadata);
4740
5057
  function keyBuilder$m(luvio, config) {
4741
5058
  const resourceParams = createResourceParams$e(config);
4742
5059
  return keyBuilder$n(luvio, resourceParams);
4743
5060
  }
4744
5061
  function typeCheckConfig$e(untrustedConfig) {
4745
5062
  const config = {};
4746
- typeCheckConfig$l(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5063
+ typeCheckConfig$m(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
4747
5064
  return config;
4748
5065
  }
4749
5066
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -4792,7 +5109,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
4792
5109
  });
4793
5110
  }
4794
5111
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
4795
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5112
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
4796
5113
  }
4797
5114
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
4798
5115
  const { luvio, config } = context;
@@ -4861,10 +5178,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
4861
5178
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
4862
5179
  ];
4863
5180
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postSlackConversationMembers_ConfigPropertyMetadata);
4864
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$l(postSlackConversationMembers_ConfigPropertyMetadata);
5181
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$m(postSlackConversationMembers_ConfigPropertyMetadata);
4865
5182
  function typeCheckConfig$d(untrustedConfig) {
4866
5183
  const config = {};
4867
- typeCheckConfig$l(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5184
+ typeCheckConfig$m(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
4868
5185
  return config;
4869
5186
  }
4870
5187
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -5031,10 +5348,10 @@ const deleteSlackConversationMember_ConfigPropertyMetadata = [
5031
5348
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5032
5349
  ];
5033
5350
  const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackConversationMember_ConfigPropertyMetadata);
5034
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$l(deleteSlackConversationMember_ConfigPropertyMetadata);
5351
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$m(deleteSlackConversationMember_ConfigPropertyMetadata);
5035
5352
  function typeCheckConfig$c(untrustedConfig) {
5036
5353
  const config = {};
5037
- typeCheckConfig$l(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5354
+ typeCheckConfig$m(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5038
5355
  return config;
5039
5356
  }
5040
5357
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -5134,14 +5451,14 @@ const getSlackConversationMember_ConfigPropertyMetadata = [
5134
5451
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5135
5452
  ];
5136
5453
  const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackConversationMember_ConfigPropertyMetadata);
5137
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$l(getSlackConversationMember_ConfigPropertyMetadata);
5454
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$m(getSlackConversationMember_ConfigPropertyMetadata);
5138
5455
  function keyBuilder$i(luvio, config) {
5139
5456
  const resourceParams = createResourceParams$b(config);
5140
5457
  return keyBuilder$j(luvio, resourceParams);
5141
5458
  }
5142
5459
  function typeCheckConfig$b(untrustedConfig) {
5143
5460
  const config = {};
5144
- typeCheckConfig$l(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5461
+ typeCheckConfig$m(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5145
5462
  return config;
5146
5463
  }
5147
5464
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -5190,7 +5507,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
5190
5507
  });
5191
5508
  }
5192
5509
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5193
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5510
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5194
5511
  }
5195
5512
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5196
5513
  const { luvio, config } = context;
@@ -5351,10 +5668,10 @@ const deleteSlackMessage_ConfigPropertyMetadata = [
5351
5668
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5352
5669
  ];
5353
5670
  const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSlackMessage_ConfigPropertyMetadata);
5354
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$l(deleteSlackMessage_ConfigPropertyMetadata);
5671
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$m(deleteSlackMessage_ConfigPropertyMetadata);
5355
5672
  function typeCheckConfig$a(untrustedConfig) {
5356
5673
  const config = {};
5357
- typeCheckConfig$l(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5674
+ typeCheckConfig$m(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5358
5675
  return config;
5359
5676
  }
5360
5677
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -5454,14 +5771,14 @@ const getSlackMessage_ConfigPropertyMetadata = [
5454
5771
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5455
5772
  ];
5456
5773
  const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackMessage_ConfigPropertyMetadata);
5457
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$l(getSlackMessage_ConfigPropertyMetadata);
5774
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$m(getSlackMessage_ConfigPropertyMetadata);
5458
5775
  function keyBuilder$e(luvio, config) {
5459
5776
  const resourceParams = createResourceParams$9(config);
5460
5777
  return keyBuilder$f(luvio, resourceParams);
5461
5778
  }
5462
5779
  function typeCheckConfig$9(untrustedConfig) {
5463
5780
  const config = {};
5464
- typeCheckConfig$l(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5781
+ typeCheckConfig$m(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5465
5782
  return config;
5466
5783
  }
5467
5784
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -5510,7 +5827,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
5510
5827
  });
5511
5828
  }
5512
5829
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5513
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
5830
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
5514
5831
  }
5515
5832
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5516
5833
  const { luvio, config } = context;
@@ -5580,10 +5897,10 @@ const patchSlackMessage_ConfigPropertyMetadata = [
5580
5897
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
5581
5898
  ];
5582
5899
  const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchSlackMessage_ConfigPropertyMetadata);
5583
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$l(patchSlackMessage_ConfigPropertyMetadata);
5900
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$m(patchSlackMessage_ConfigPropertyMetadata);
5584
5901
  function typeCheckConfig$8(untrustedConfig) {
5585
5902
  const config = {};
5586
- typeCheckConfig$l(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5903
+ typeCheckConfig$m(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5587
5904
  return config;
5588
5905
  }
5589
5906
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -5652,7 +5969,7 @@ function validate$3(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
5652
5969
  for (let i = 0; i < obj_reactions.length; i++) {
5653
5970
  const obj_reactions_item = obj_reactions[i];
5654
5971
  const path_reactions_item = path_reactions + '[' + i + ']';
5655
- const referencepath_reactions_itemValidationError = validate$h(obj_reactions_item, path_reactions_item);
5972
+ const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
5656
5973
  if (referencepath_reactions_itemValidationError !== null) {
5657
5974
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
5658
5975
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5681,7 +5998,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
5681
5998
  return input;
5682
5999
  }
5683
6000
  const select$a = function SlackBridgeReactionsOutputRepresentationSelect() {
5684
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$z();
6001
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
5685
6002
  return {
5686
6003
  kind: 'Fragment',
5687
6004
  version: VERSION$3,
@@ -5727,7 +6044,7 @@ function equals$3(existing, incoming) {
5727
6044
  const existing_reactions = existing.reactions;
5728
6045
  const incoming_reactions = incoming.reactions;
5729
6046
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
5730
- if (!(equals$h(existing_reactions_item, incoming_reactions_item))) {
6047
+ if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
5731
6048
  return false;
5732
6049
  }
5733
6050
  });
@@ -5797,10 +6114,10 @@ const deleteSlackMessageReactions_ConfigPropertyMetadata = [
5797
6114
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
5798
6115
  ];
5799
6116
  const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteSlackMessageReactions_ConfigPropertyMetadata);
5800
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$l(deleteSlackMessageReactions_ConfigPropertyMetadata);
6117
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$m(deleteSlackMessageReactions_ConfigPropertyMetadata);
5801
6118
  function typeCheckConfig$7(untrustedConfig) {
5802
6119
  const config = {};
5803
- typeCheckConfig$l(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6120
+ typeCheckConfig$m(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
5804
6121
  return config;
5805
6122
  }
5806
6123
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -5890,10 +6207,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
5890
6207
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
5891
6208
  ];
5892
6209
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, postSlackMessageReactions_ConfigPropertyMetadata);
5893
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$l(postSlackMessageReactions_ConfigPropertyMetadata);
6210
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$m(postSlackMessageReactions_ConfigPropertyMetadata);
5894
6211
  function typeCheckConfig$6(untrustedConfig) {
5895
6212
  const config = {};
5896
- typeCheckConfig$l(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6213
+ typeCheckConfig$m(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
5897
6214
  return config;
5898
6215
  }
5899
6216
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -5966,7 +6283,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
5966
6283
  for (let i = 0; i < input_emojis.length; i++) {
5967
6284
  const input_emojis_item = input_emojis[i];
5968
6285
  let input_emojis_item_id = input_emojis_id + '__' + i;
5969
- input_emojis[i] = ingest$g(input_emojis_item, {
6286
+ input_emojis[i] = ingest$h(input_emojis_item, {
5970
6287
  fullPath: input_emojis_item_id,
5971
6288
  propertyName: i,
5972
6289
  parent: {
@@ -5989,7 +6306,7 @@ const select$8 = function SlackBridgeEmojisOutputRepresentationSelect() {
5989
6306
  name: 'emojis',
5990
6307
  kind: 'Link',
5991
6308
  plural: true,
5992
- fragment: select$C()
6309
+ fragment: select$E()
5993
6310
  }
5994
6311
  ]
5995
6312
  };
@@ -6029,7 +6346,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6029
6346
  });
6030
6347
  const input_emojis_length = input.emojis.length;
6031
6348
  for (let i = 0; i < input_emojis_length; i++) {
6032
- getTypeCacheKeys$g(rootKeySet, luvio, input.emojis[i]);
6349
+ getTypeCacheKeys$h(rootKeySet, luvio, input.emojis[i]);
6033
6350
  }
6034
6351
  }
6035
6352
 
@@ -6085,14 +6402,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
6085
6402
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6086
6403
  ];
6087
6404
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSlackEmojis_ConfigPropertyMetadata);
6088
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$l(getSlackEmojis_ConfigPropertyMetadata);
6405
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$m(getSlackEmojis_ConfigPropertyMetadata);
6089
6406
  function keyBuilder$a(luvio, config) {
6090
6407
  const resourceParams = createResourceParams$5(config);
6091
6408
  return keyBuilder$b(luvio, resourceParams);
6092
6409
  }
6093
6410
  function typeCheckConfig$5(untrustedConfig) {
6094
6411
  const config = {};
6095
- typeCheckConfig$l(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6412
+ typeCheckConfig$m(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6096
6413
  return config;
6097
6414
  }
6098
6415
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -6141,7 +6458,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
6141
6458
  });
6142
6459
  }
6143
6460
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
6144
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6461
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6145
6462
  }
6146
6463
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
6147
6464
  const { luvio, config } = context;
@@ -6167,20 +6484,20 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
6167
6484
  };
6168
6485
 
6169
6486
  function select$6(luvio, params) {
6170
- return select$C();
6487
+ return select$E();
6171
6488
  }
6172
6489
  function keyBuilder$9(luvio, params) {
6173
- return keyBuilder$z(luvio, {
6490
+ return keyBuilder$B(luvio, {
6174
6491
  name: params.urlParams.slackEmojiId
6175
6492
  });
6176
6493
  }
6177
6494
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
6178
- getTypeCacheKeys$g(storeKeyMap, luvio, response);
6495
+ getTypeCacheKeys$h(storeKeyMap, luvio, response);
6179
6496
  }
6180
6497
  function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
6181
6498
  const { body } = response;
6182
6499
  const key = keyBuilder$9(luvio, resourceParams);
6183
- luvio.storeIngest(key, ingest$g, body);
6500
+ luvio.storeIngest(key, ingest$h, body);
6184
6501
  const snapshot = luvio.storeLookup({
6185
6502
  recordId: key,
6186
6503
  node: select$6(),
@@ -6198,10 +6515,10 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
6198
6515
  const key = keyBuilder$9(luvio, params);
6199
6516
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6200
6517
  const storeMetadataParams = {
6201
- ttl: TTL$1,
6518
+ ttl: TTL$2,
6202
6519
  namespace: keyPrefix,
6203
- version: VERSION$k,
6204
- representationName: RepresentationType$g
6520
+ version: VERSION$l,
6521
+ representationName: RepresentationType$h
6205
6522
  };
6206
6523
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6207
6524
  return errorSnapshot;
@@ -6226,14 +6543,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
6226
6543
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6227
6544
  ];
6228
6545
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackEmoji_ConfigPropertyMetadata);
6229
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$l(getSlackEmoji_ConfigPropertyMetadata);
6546
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$m(getSlackEmoji_ConfigPropertyMetadata);
6230
6547
  function keyBuilder$8(luvio, config) {
6231
6548
  const resourceParams = createResourceParams$4(config);
6232
6549
  return keyBuilder$9(luvio, resourceParams);
6233
6550
  }
6234
6551
  function typeCheckConfig$4(untrustedConfig) {
6235
6552
  const config = {};
6236
- typeCheckConfig$l(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6553
+ typeCheckConfig$m(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6237
6554
  return config;
6238
6555
  }
6239
6556
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -6282,7 +6599,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
6282
6599
  });
6283
6600
  }
6284
6601
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6285
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6602
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6286
6603
  }
6287
6604
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6288
6605
  const { luvio, config } = context;
@@ -6361,7 +6678,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
6361
6678
  for (let i = 0; i < input_conversationInfos.length; i++) {
6362
6679
  const input_conversationInfos_item = input_conversationInfos[i];
6363
6680
  let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6364
- input_conversationInfos[i] = ingest$e(input_conversationInfos_item, {
6681
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6365
6682
  fullPath: input_conversationInfos_item_id,
6366
6683
  propertyName: i,
6367
6684
  parent: {
@@ -6384,7 +6701,7 @@ const select$5 = function SlackBridgeConversationInfosOutputRepresentationSelect
6384
6701
  name: 'conversationInfos',
6385
6702
  kind: 'Link',
6386
6703
  plural: true,
6387
- fragment: select$A()
6704
+ fragment: select$C()
6388
6705
  },
6389
6706
  {
6390
6707
  name: 'searchString',
@@ -6433,7 +6750,7 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6433
6750
  });
6434
6751
  const input_conversationInfos_length = input.conversationInfos.length;
6435
6752
  for (let i = 0; i < input_conversationInfos_length; i++) {
6436
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfos[i]);
6753
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6437
6754
  }
6438
6755
  }
6439
6756
 
@@ -6489,14 +6806,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6489
6806
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6490
6807
  ];
6491
6808
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSlackSearchConversation_ConfigPropertyMetadata);
6492
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$l(getSlackSearchConversation_ConfigPropertyMetadata);
6809
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$m(getSlackSearchConversation_ConfigPropertyMetadata);
6493
6810
  function keyBuilder$6(luvio, config) {
6494
6811
  const resourceParams = createResourceParams$3(config);
6495
6812
  return keyBuilder$7(luvio, resourceParams);
6496
6813
  }
6497
6814
  function typeCheckConfig$3(untrustedConfig) {
6498
6815
  const config = {};
6499
- typeCheckConfig$l(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6816
+ typeCheckConfig$m(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6500
6817
  return config;
6501
6818
  }
6502
6819
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -6545,7 +6862,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
6545
6862
  });
6546
6863
  }
6547
6864
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6548
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
6865
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
6549
6866
  }
6550
6867
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6551
6868
  const { luvio, config } = context;
@@ -6622,14 +6939,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6622
6939
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6623
6940
  ];
6624
6941
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSlackSearchEmoji_ConfigPropertyMetadata);
6625
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$l(getSlackSearchEmoji_ConfigPropertyMetadata);
6942
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$m(getSlackSearchEmoji_ConfigPropertyMetadata);
6626
6943
  function keyBuilder$4(luvio, config) {
6627
6944
  const resourceParams = createResourceParams$2(config);
6628
6945
  return keyBuilder$5(luvio, resourceParams);
6629
6946
  }
6630
6947
  function typeCheckConfig$2(untrustedConfig) {
6631
6948
  const config = {};
6632
- typeCheckConfig$l(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6949
+ typeCheckConfig$m(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6633
6950
  return config;
6634
6951
  }
6635
6952
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -6678,7 +6995,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
6678
6995
  });
6679
6996
  }
6680
6997
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
6681
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
6998
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
6682
6999
  }
6683
7000
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
6684
7001
  const { luvio, config } = context;
@@ -6757,7 +7074,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
6757
7074
  for (let i = 0; i < input_userInfos.length; i++) {
6758
7075
  const input_userInfos_item = input_userInfos[i];
6759
7076
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
6760
- input_userInfos[i] = ingest$f(input_userInfos_item, {
7077
+ input_userInfos[i] = ingest$g(input_userInfos_item, {
6761
7078
  fullPath: input_userInfos_item_id,
6762
7079
  propertyName: i,
6763
7080
  parent: {
@@ -6784,7 +7101,7 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
6784
7101
  name: 'userInfos',
6785
7102
  kind: 'Link',
6786
7103
  plural: true,
6787
- fragment: select$B()
7104
+ fragment: select$D()
6788
7105
  }
6789
7106
  ]
6790
7107
  };
@@ -6829,7 +7146,7 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
6829
7146
  });
6830
7147
  const input_userInfos_length = input.userInfos.length;
6831
7148
  for (let i = 0; i < input_userInfos_length; i++) {
6832
- getTypeCacheKeys$f(rootKeySet, luvio, input.userInfos[i]);
7149
+ getTypeCacheKeys$g(rootKeySet, luvio, input.userInfos[i]);
6833
7150
  }
6834
7151
  }
6835
7152
 
@@ -6888,14 +7205,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
6888
7205
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6889
7206
  ];
6890
7207
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSlackSearchUser_ConfigPropertyMetadata);
6891
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$l(getSlackSearchUser_ConfigPropertyMetadata);
7208
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$m(getSlackSearchUser_ConfigPropertyMetadata);
6892
7209
  function keyBuilder$2(luvio, config) {
6893
7210
  const resourceParams = createResourceParams$1(config);
6894
7211
  return keyBuilder$3(luvio, resourceParams);
6895
7212
  }
6896
7213
  function typeCheckConfig$1(untrustedConfig) {
6897
7214
  const config = {};
6898
- typeCheckConfig$l(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7215
+ typeCheckConfig$m(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6899
7216
  return config;
6900
7217
  }
6901
7218
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -6944,7 +7261,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
6944
7261
  });
6945
7262
  }
6946
7263
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
6947
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7264
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
6948
7265
  }
6949
7266
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
6950
7267
  const { luvio, config } = context;
@@ -6970,21 +7287,21 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
6970
7287
  };
6971
7288
 
6972
7289
  function select(luvio, params) {
6973
- return select$B();
7290
+ return select$D();
6974
7291
  }
6975
7292
  function keyBuilder$1(luvio, params) {
6976
- return keyBuilder$y(luvio, {
7293
+ return keyBuilder$A(luvio, {
6977
7294
  slackUserId: params.urlParams.slackUserId,
6978
7295
  teamId: params.urlParams.teamId
6979
7296
  });
6980
7297
  }
6981
7298
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
6982
- getTypeCacheKeys$f(storeKeyMap, luvio, response);
7299
+ getTypeCacheKeys$g(storeKeyMap, luvio, response);
6983
7300
  }
6984
7301
  function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
6985
7302
  const { body } = response;
6986
7303
  const key = keyBuilder$1(luvio, resourceParams);
6987
- luvio.storeIngest(key, ingest$f, body);
7304
+ luvio.storeIngest(key, ingest$g, body);
6988
7305
  const snapshot = luvio.storeLookup({
6989
7306
  recordId: key,
6990
7307
  node: select(),
@@ -7002,10 +7319,10 @@ function ingestError(luvio, params, error, snapshotRefresh) {
7002
7319
  const key = keyBuilder$1(luvio, params);
7003
7320
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7004
7321
  const storeMetadataParams = {
7005
- ttl: TTL,
7322
+ ttl: TTL$1,
7006
7323
  namespace: keyPrefix,
7007
- version: VERSION$j,
7008
- representationName: RepresentationType$f
7324
+ version: VERSION$k,
7325
+ representationName: RepresentationType$g
7009
7326
  };
7010
7327
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
7011
7328
  return errorSnapshot;
@@ -7030,14 +7347,14 @@ const getSlackUser_ConfigPropertyMetadata = [
7030
7347
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7031
7348
  ];
7032
7349
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSlackUser_ConfigPropertyMetadata);
7033
- const createResourceParams = /*#__PURE__*/ createResourceParams$l(getSlackUser_ConfigPropertyMetadata);
7350
+ const createResourceParams = /*#__PURE__*/ createResourceParams$m(getSlackUser_ConfigPropertyMetadata);
7034
7351
  function keyBuilder(luvio, config) {
7035
7352
  const resourceParams = createResourceParams(config);
7036
7353
  return keyBuilder$1(luvio, resourceParams);
7037
7354
  }
7038
7355
  function typeCheckConfig(untrustedConfig) {
7039
7356
  const config = {};
7040
- typeCheckConfig$l(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7357
+ typeCheckConfig$m(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7041
7358
  return config;
7042
7359
  }
7043
7360
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -7086,7 +7403,7 @@ function buildNetworkSnapshot(luvio, config, options) {
7086
7403
  });
7087
7404
  }
7088
7405
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
7089
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7406
+ return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7090
7407
  }
7091
7408
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
7092
7409
  const { luvio, config } = context;
@@ -7111,4 +7428,4 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
7111
7428
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
7112
7429
  };
7113
7430
 
7114
- export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
7431
+ export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };