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

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$d, typeCheckConfig as typeCheckConfig$n, StoreKeyMap, createResourceParams as createResourceParams$n } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$f, typeCheckConfig as typeCheckConfig$p, StoreKeyMap, createResourceParams as createResourceParams$p } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -199,7 +199,7 @@ function validate$o(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
199
199
  })();
200
200
  return v_error === undefined ? null : v_error;
201
201
  }
202
- const select$I = function SlackBridgeEmojiValueOutputRepresentationSelect() {
202
+ const select$K = function SlackBridgeEmojiValueOutputRepresentationSelect() {
203
203
  return {
204
204
  kind: 'Fragment',
205
205
  version: VERSION$o,
@@ -239,7 +239,7 @@ function equals$o(existing, incoming) {
239
239
  return true;
240
240
  }
241
241
 
242
- const TTL$3 = 2592000000;
242
+ const TTL$4 = 2592000000;
243
243
  const VERSION$n = "a0e1530372a57d61a1264218124bbb5c";
244
244
  function validate$n(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
245
245
  const v_error = (() => {
@@ -388,20 +388,20 @@ function validate$n(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
388
388
  return v_error === undefined ? null : v_error;
389
389
  }
390
390
  const RepresentationType$i = 'SlackBridgeEmojiOutputRepresentation';
391
- function keyBuilder$D(luvio, config) {
391
+ function keyBuilder$H(luvio, config) {
392
392
  return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
393
393
  }
394
394
  function keyBuilderFromType$a(luvio, object) {
395
395
  const keyParams = {
396
396
  name: object.name
397
397
  };
398
- return keyBuilder$D(luvio, keyParams);
398
+ return keyBuilder$H(luvio, keyParams);
399
399
  }
400
400
  function normalize$i(input, existing, path, luvio, store, timestamp) {
401
401
  return input;
402
402
  }
403
- const select$H = function SlackBridgeEmojiOutputRepresentationSelect() {
404
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$I();
403
+ const select$J = function SlackBridgeEmojiOutputRepresentationSelect() {
404
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$K();
405
405
  return {
406
406
  kind: 'Fragment',
407
407
  version: VERSION$n,
@@ -480,7 +480,7 @@ const ingest$i = function SlackBridgeEmojiOutputRepresentationIngest(input, path
480
480
  }
481
481
  }
482
482
  const key = keyBuilderFromType$a(luvio, input);
483
- const ttlToUse = TTL$3;
483
+ const ttlToUse = TTL$4;
484
484
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$n, RepresentationType$i, equals$n);
485
485
  return createLink(key);
486
486
  };
@@ -494,8 +494,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
494
494
  });
495
495
  }
496
496
 
497
- const TTL$2 = 600000;
498
- const VERSION$m = "ffc32ae0451b10824fba0c96aa0d2115";
497
+ const TTL$3 = 900000;
498
+ const VERSION$m = "659332e7c7b6cebe3e1dc23512e2381e";
499
499
  function validate$m(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
500
500
  const v_error = (() => {
501
501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -867,8 +867,29 @@ function validate$m(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
867
867
  }
868
868
  const obj_teamId = obj.teamId;
869
869
  const path_teamId = path + '.teamId';
870
- if (typeof obj_teamId !== 'string') {
871
- return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
870
+ let obj_teamId_union0 = null;
871
+ const obj_teamId_union0_error = (() => {
872
+ if (typeof obj_teamId !== 'string') {
873
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
874
+ }
875
+ })();
876
+ if (obj_teamId_union0_error != null) {
877
+ obj_teamId_union0 = obj_teamId_union0_error.message;
878
+ }
879
+ let obj_teamId_union1 = null;
880
+ const obj_teamId_union1_error = (() => {
881
+ if (obj_teamId !== null) {
882
+ return new TypeError('Expected "null" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
883
+ }
884
+ })();
885
+ if (obj_teamId_union1_error != null) {
886
+ obj_teamId_union1 = obj_teamId_union1_error.message;
887
+ }
888
+ if (obj_teamId_union0 && obj_teamId_union1) {
889
+ let message = 'Object doesn\'t match union (at "' + path_teamId + '")';
890
+ message += '\n' + obj_teamId_union0.split('\n').map((line) => '\t' + line).join('\n');
891
+ message += '\n' + obj_teamId_union1.split('\n').map((line) => '\t' + line).join('\n');
892
+ return new TypeError(message);
872
893
  }
873
894
  const obj_title = obj.title;
874
895
  const path_title = path + '.title';
@@ -896,19 +917,74 @@ function validate$m(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
896
917
  message += '\n' + obj_title_union1.split('\n').map((line) => '\t' + line).join('\n');
897
918
  return new TypeError(message);
898
919
  }
920
+ if (obj.tz !== undefined) {
921
+ const obj_tz = obj.tz;
922
+ const path_tz = path + '.tz';
923
+ let obj_tz_union0 = null;
924
+ const obj_tz_union0_error = (() => {
925
+ if (typeof obj_tz !== 'string') {
926
+ return new TypeError('Expected "string" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
927
+ }
928
+ })();
929
+ if (obj_tz_union0_error != null) {
930
+ obj_tz_union0 = obj_tz_union0_error.message;
931
+ }
932
+ let obj_tz_union1 = null;
933
+ const obj_tz_union1_error = (() => {
934
+ if (obj_tz !== null) {
935
+ return new TypeError('Expected "null" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
936
+ }
937
+ })();
938
+ if (obj_tz_union1_error != null) {
939
+ obj_tz_union1 = obj_tz_union1_error.message;
940
+ }
941
+ if (obj_tz_union0 && obj_tz_union1) {
942
+ let message = 'Object doesn\'t match union (at "' + path_tz + '")';
943
+ message += '\n' + obj_tz_union0.split('\n').map((line) => '\t' + line).join('\n');
944
+ message += '\n' + obj_tz_union1.split('\n').map((line) => '\t' + line).join('\n');
945
+ return new TypeError(message);
946
+ }
947
+ }
948
+ if (obj.tzLabel !== undefined) {
949
+ const obj_tzLabel = obj.tzLabel;
950
+ const path_tzLabel = path + '.tzLabel';
951
+ let obj_tzLabel_union0 = null;
952
+ const obj_tzLabel_union0_error = (() => {
953
+ if (typeof obj_tzLabel !== 'string') {
954
+ return new TypeError('Expected "string" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
955
+ }
956
+ })();
957
+ if (obj_tzLabel_union0_error != null) {
958
+ obj_tzLabel_union0 = obj_tzLabel_union0_error.message;
959
+ }
960
+ let obj_tzLabel_union1 = null;
961
+ const obj_tzLabel_union1_error = (() => {
962
+ if (obj_tzLabel !== null) {
963
+ return new TypeError('Expected "null" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
964
+ }
965
+ })();
966
+ if (obj_tzLabel_union1_error != null) {
967
+ obj_tzLabel_union1 = obj_tzLabel_union1_error.message;
968
+ }
969
+ if (obj_tzLabel_union0 && obj_tzLabel_union1) {
970
+ let message = 'Object doesn\'t match union (at "' + path_tzLabel + '")';
971
+ message += '\n' + obj_tzLabel_union0.split('\n').map((line) => '\t' + line).join('\n');
972
+ message += '\n' + obj_tzLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
973
+ return new TypeError(message);
974
+ }
975
+ }
899
976
  })();
900
977
  return v_error === undefined ? null : v_error;
901
978
  }
902
979
  const RepresentationType$h = 'SlackBridgeUserInfoOutputRepresentation';
903
- function keyBuilder$C(luvio, config) {
904
- return keyPrefix + '::' + RepresentationType$h + ':' + config.teamId + ':' + config.slackUserId;
980
+ function keyBuilder$G(luvio, config) {
981
+ return keyPrefix + '::' + RepresentationType$h + ':' + config.slackUserId;
905
982
  }
906
983
  function keyBuilderFromType$9(luvio, object) {
907
984
  const keyParams = {
908
- teamId: object.teamId,
909
985
  slackUserId: object.slackUserId
910
986
  };
911
- return keyBuilder$C(luvio, keyParams);
987
+ return keyBuilder$G(luvio, keyParams);
912
988
  }
913
989
  function normalize$h(input, existing, path, luvio, store, timestamp) {
914
990
  const input_statusEmoji = input.statusEmoji;
@@ -927,7 +1003,7 @@ function normalize$h(input, existing, path, luvio, store, timestamp) {
927
1003
  }
928
1004
  return input;
929
1005
  }
930
- const select$G = function SlackBridgeUserInfoOutputRepresentationSelect() {
1006
+ const select$I = function SlackBridgeUserInfoOutputRepresentationSelect() {
931
1007
  return {
932
1008
  kind: 'Fragment',
933
1009
  version: VERSION$m,
@@ -1000,7 +1076,7 @@ const select$G = function SlackBridgeUserInfoOutputRepresentationSelect() {
1000
1076
  name: 'statusEmoji',
1001
1077
  kind: 'Link',
1002
1078
  nullable: true,
1003
- fragment: select$H()
1079
+ fragment: select$J()
1004
1080
  },
1005
1081
  {
1006
1082
  name: 'statusMessage',
@@ -1013,6 +1089,16 @@ const select$G = function SlackBridgeUserInfoOutputRepresentationSelect() {
1013
1089
  {
1014
1090
  name: 'title',
1015
1091
  kind: 'Scalar'
1092
+ },
1093
+ {
1094
+ name: 'tz',
1095
+ kind: 'Scalar',
1096
+ required: false
1097
+ },
1098
+ {
1099
+ name: 'tzLabel',
1100
+ kind: 'Scalar',
1101
+ required: false
1016
1102
  }
1017
1103
  ]
1018
1104
  };
@@ -1046,11 +1132,6 @@ function equals$m(existing, incoming) {
1046
1132
  if (!(existing_slackUserId === incoming_slackUserId)) {
1047
1133
  return false;
1048
1134
  }
1049
- const existing_teamId = existing.teamId;
1050
- const incoming_teamId = incoming.teamId;
1051
- if (!(existing_teamId === incoming_teamId)) {
1052
- return false;
1053
- }
1054
1135
  const existing_displayName = existing.displayName;
1055
1136
  const incoming_displayName = incoming.displayName;
1056
1137
  if (!(existing_displayName === incoming_displayName)) {
@@ -1137,11 +1218,42 @@ function equals$m(existing, incoming) {
1137
1218
  if (!(existing_statusMessage === incoming_statusMessage)) {
1138
1219
  return false;
1139
1220
  }
1221
+ const existing_teamId = existing.teamId;
1222
+ const incoming_teamId = incoming.teamId;
1223
+ if (!(existing_teamId === incoming_teamId)) {
1224
+ return false;
1225
+ }
1140
1226
  const existing_title = existing.title;
1141
1227
  const incoming_title = incoming.title;
1142
1228
  if (!(existing_title === incoming_title)) {
1143
1229
  return false;
1144
1230
  }
1231
+ const existing_tz = existing.tz;
1232
+ const incoming_tz = incoming.tz;
1233
+ // if at least one of these optionals is defined
1234
+ if (existing_tz !== undefined || incoming_tz !== undefined) {
1235
+ // if one of these is not defined we know the other is defined and therefore
1236
+ // not equal
1237
+ if (existing_tz === undefined || incoming_tz === undefined) {
1238
+ return false;
1239
+ }
1240
+ if (!(existing_tz === incoming_tz)) {
1241
+ return false;
1242
+ }
1243
+ }
1244
+ const existing_tzLabel = existing.tzLabel;
1245
+ const incoming_tzLabel = incoming.tzLabel;
1246
+ // if at least one of these optionals is defined
1247
+ if (existing_tzLabel !== undefined || incoming_tzLabel !== undefined) {
1248
+ // if one of these is not defined we know the other is defined and therefore
1249
+ // not equal
1250
+ if (existing_tzLabel === undefined || incoming_tzLabel === undefined) {
1251
+ return false;
1252
+ }
1253
+ if (!(existing_tzLabel === incoming_tzLabel)) {
1254
+ return false;
1255
+ }
1256
+ }
1145
1257
  return true;
1146
1258
  }
1147
1259
  const ingest$h = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -1152,7 +1264,7 @@ const ingest$h = function SlackBridgeUserInfoOutputRepresentationIngest(input, p
1152
1264
  }
1153
1265
  }
1154
1266
  const key = keyBuilderFromType$9(luvio, input);
1155
- const ttlToUse = TTL$2;
1267
+ const ttlToUse = TTL$3;
1156
1268
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$m, RepresentationType$h, equals$m);
1157
1269
  return createLink(key);
1158
1270
  };
@@ -1169,6 +1281,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
1169
1281
  }
1170
1282
  }
1171
1283
 
1284
+ const TTL$2 = 900000;
1172
1285
  const VERSION$l = "252fe3a6509a770a876e36552ad8dd06";
1173
1286
  function validate$l(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1174
1287
  const v_error = (() => {
@@ -1508,19 +1621,19 @@ function validate$l(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1508
1621
  return v_error === undefined ? null : v_error;
1509
1622
  }
1510
1623
  const RepresentationType$g = 'SlackBridgeConversationInfoOutputRepresentation';
1511
- function keyBuilder$B(luvio, config) {
1624
+ function keyBuilder$F(luvio, config) {
1512
1625
  return keyPrefix + '::' + RepresentationType$g + ':' + config.id;
1513
1626
  }
1514
1627
  function keyBuilderFromType$8(luvio, object) {
1515
1628
  const keyParams = {
1516
1629
  id: object.id
1517
1630
  };
1518
- return keyBuilder$B(luvio, keyParams);
1631
+ return keyBuilder$F(luvio, keyParams);
1519
1632
  }
1520
1633
  function normalize$g(input, existing, path, luvio, store, timestamp) {
1521
1634
  return input;
1522
1635
  }
1523
- const select$F = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1636
+ const select$H = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1524
1637
  return {
1525
1638
  kind: 'Fragment',
1526
1639
  version: VERSION$l,
@@ -1684,7 +1797,7 @@ const ingest$g = function SlackBridgeConversationInfoOutputRepresentationIngest(
1684
1797
  }
1685
1798
  }
1686
1799
  const key = keyBuilderFromType$8(luvio, input);
1687
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1800
+ const ttlToUse = TTL$2;
1688
1801
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$l, RepresentationType$g, equals$l);
1689
1802
  return createLink(key);
1690
1803
  };
@@ -1776,7 +1889,7 @@ function validate$k(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1776
1889
  })();
1777
1890
  return v_error === undefined ? null : v_error;
1778
1891
  }
1779
- const select$E = function SlackBridgeReactionOutputRepresentationSelect() {
1892
+ const select$G = function SlackBridgeReactionOutputRepresentationSelect() {
1780
1893
  return {
1781
1894
  kind: 'Fragment',
1782
1895
  version: VERSION$k,
@@ -1850,7 +1963,7 @@ function validate$j(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1850
1963
  })();
1851
1964
  return v_error === undefined ? null : v_error;
1852
1965
  }
1853
- const select$D = function SlackBridgeFileTypeOutputRepresentationSelect() {
1966
+ const select$F = function SlackBridgeFileTypeOutputRepresentationSelect() {
1854
1967
  return {
1855
1968
  kind: 'Fragment',
1856
1969
  version: VERSION$j,
@@ -1965,8 +2078,8 @@ function validate$i(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1965
2078
  })();
1966
2079
  return v_error === undefined ? null : v_error;
1967
2080
  }
1968
- const select$C = function SlackBridgeContentVersionOutputRepresentationSelect() {
1969
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
2081
+ const select$E = function SlackBridgeContentVersionOutputRepresentationSelect() {
2082
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$F();
1970
2083
  return {
1971
2084
  kind: 'Fragment',
1972
2085
  version: VERSION$i,
@@ -2078,9 +2191,9 @@ function validate$h(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2078
2191
  })();
2079
2192
  return v_error === undefined ? null : v_error;
2080
2193
  }
2081
- const select$B = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2082
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
2083
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$C();
2194
+ const select$D = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2195
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$F();
2196
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$E();
2084
2197
  return {
2085
2198
  kind: 'Fragment',
2086
2199
  version: VERSION$h,
@@ -2140,7 +2253,7 @@ function equals$h(existing, incoming) {
2140
2253
  return true;
2141
2254
  }
2142
2255
 
2143
- const VERSION$g = "15fa7211c500ebba9537b3c9921b39cf";
2256
+ const VERSION$g = "0c63f7d5db21327ed0dd5a3be9ff421a";
2144
2257
  function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
2145
2258
  const v_error = (() => {
2146
2259
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2226,6 +2339,214 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
2226
2339
  if (typeof obj_slackPermalink !== 'string') {
2227
2340
  return new TypeError('Expected "string" but received "' + typeof obj_slackPermalink + '" (at "' + path_slackPermalink + '")');
2228
2341
  }
2342
+ const obj_thumb1024 = obj.thumb1024;
2343
+ const path_thumb1024 = path + '.thumb1024';
2344
+ let obj_thumb1024_union0 = null;
2345
+ const obj_thumb1024_union0_error = (() => {
2346
+ if (typeof obj_thumb1024 !== 'string') {
2347
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
2348
+ }
2349
+ })();
2350
+ if (obj_thumb1024_union0_error != null) {
2351
+ obj_thumb1024_union0 = obj_thumb1024_union0_error.message;
2352
+ }
2353
+ let obj_thumb1024_union1 = null;
2354
+ const obj_thumb1024_union1_error = (() => {
2355
+ if (obj_thumb1024 !== null) {
2356
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
2357
+ }
2358
+ })();
2359
+ if (obj_thumb1024_union1_error != null) {
2360
+ obj_thumb1024_union1 = obj_thumb1024_union1_error.message;
2361
+ }
2362
+ if (obj_thumb1024_union0 && obj_thumb1024_union1) {
2363
+ let message = 'Object doesn\'t match union (at "' + path_thumb1024 + '")';
2364
+ message += '\n' + obj_thumb1024_union0.split('\n').map((line) => '\t' + line).join('\n');
2365
+ message += '\n' + obj_thumb1024_union1.split('\n').map((line) => '\t' + line).join('\n');
2366
+ return new TypeError(message);
2367
+ }
2368
+ const obj_thumb360 = obj.thumb360;
2369
+ const path_thumb360 = path + '.thumb360';
2370
+ let obj_thumb360_union0 = null;
2371
+ const obj_thumb360_union0_error = (() => {
2372
+ if (typeof obj_thumb360 !== 'string') {
2373
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
2374
+ }
2375
+ })();
2376
+ if (obj_thumb360_union0_error != null) {
2377
+ obj_thumb360_union0 = obj_thumb360_union0_error.message;
2378
+ }
2379
+ let obj_thumb360_union1 = null;
2380
+ const obj_thumb360_union1_error = (() => {
2381
+ if (obj_thumb360 !== null) {
2382
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
2383
+ }
2384
+ })();
2385
+ if (obj_thumb360_union1_error != null) {
2386
+ obj_thumb360_union1 = obj_thumb360_union1_error.message;
2387
+ }
2388
+ if (obj_thumb360_union0 && obj_thumb360_union1) {
2389
+ let message = 'Object doesn\'t match union (at "' + path_thumb360 + '")';
2390
+ message += '\n' + obj_thumb360_union0.split('\n').map((line) => '\t' + line).join('\n');
2391
+ message += '\n' + obj_thumb360_union1.split('\n').map((line) => '\t' + line).join('\n');
2392
+ return new TypeError(message);
2393
+ }
2394
+ const obj_thumb480 = obj.thumb480;
2395
+ const path_thumb480 = path + '.thumb480';
2396
+ let obj_thumb480_union0 = null;
2397
+ const obj_thumb480_union0_error = (() => {
2398
+ if (typeof obj_thumb480 !== 'string') {
2399
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
2400
+ }
2401
+ })();
2402
+ if (obj_thumb480_union0_error != null) {
2403
+ obj_thumb480_union0 = obj_thumb480_union0_error.message;
2404
+ }
2405
+ let obj_thumb480_union1 = null;
2406
+ const obj_thumb480_union1_error = (() => {
2407
+ if (obj_thumb480 !== null) {
2408
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
2409
+ }
2410
+ })();
2411
+ if (obj_thumb480_union1_error != null) {
2412
+ obj_thumb480_union1 = obj_thumb480_union1_error.message;
2413
+ }
2414
+ if (obj_thumb480_union0 && obj_thumb480_union1) {
2415
+ let message = 'Object doesn\'t match union (at "' + path_thumb480 + '")';
2416
+ message += '\n' + obj_thumb480_union0.split('\n').map((line) => '\t' + line).join('\n');
2417
+ message += '\n' + obj_thumb480_union1.split('\n').map((line) => '\t' + line).join('\n');
2418
+ return new TypeError(message);
2419
+ }
2420
+ const obj_thumb720 = obj.thumb720;
2421
+ const path_thumb720 = path + '.thumb720';
2422
+ let obj_thumb720_union0 = null;
2423
+ const obj_thumb720_union0_error = (() => {
2424
+ if (typeof obj_thumb720 !== 'string') {
2425
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
2426
+ }
2427
+ })();
2428
+ if (obj_thumb720_union0_error != null) {
2429
+ obj_thumb720_union0 = obj_thumb720_union0_error.message;
2430
+ }
2431
+ let obj_thumb720_union1 = null;
2432
+ const obj_thumb720_union1_error = (() => {
2433
+ if (obj_thumb720 !== null) {
2434
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
2435
+ }
2436
+ })();
2437
+ if (obj_thumb720_union1_error != null) {
2438
+ obj_thumb720_union1 = obj_thumb720_union1_error.message;
2439
+ }
2440
+ if (obj_thumb720_union0 && obj_thumb720_union1) {
2441
+ let message = 'Object doesn\'t match union (at "' + path_thumb720 + '")';
2442
+ message += '\n' + obj_thumb720_union0.split('\n').map((line) => '\t' + line).join('\n');
2443
+ message += '\n' + obj_thumb720_union1.split('\n').map((line) => '\t' + line).join('\n');
2444
+ return new TypeError(message);
2445
+ }
2446
+ const obj_thumb960 = obj.thumb960;
2447
+ const path_thumb960 = path + '.thumb960';
2448
+ let obj_thumb960_union0 = null;
2449
+ const obj_thumb960_union0_error = (() => {
2450
+ if (typeof obj_thumb960 !== 'string') {
2451
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
2452
+ }
2453
+ })();
2454
+ if (obj_thumb960_union0_error != null) {
2455
+ obj_thumb960_union0 = obj_thumb960_union0_error.message;
2456
+ }
2457
+ let obj_thumb960_union1 = null;
2458
+ const obj_thumb960_union1_error = (() => {
2459
+ if (obj_thumb960 !== null) {
2460
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
2461
+ }
2462
+ })();
2463
+ if (obj_thumb960_union1_error != null) {
2464
+ obj_thumb960_union1 = obj_thumb960_union1_error.message;
2465
+ }
2466
+ if (obj_thumb960_union0 && obj_thumb960_union1) {
2467
+ let message = 'Object doesn\'t match union (at "' + path_thumb960 + '")';
2468
+ message += '\n' + obj_thumb960_union0.split('\n').map((line) => '\t' + line).join('\n');
2469
+ message += '\n' + obj_thumb960_union1.split('\n').map((line) => '\t' + line).join('\n');
2470
+ return new TypeError(message);
2471
+ }
2472
+ const obj_thumbVideo = obj.thumbVideo;
2473
+ const path_thumbVideo = path + '.thumbVideo';
2474
+ let obj_thumbVideo_union0 = null;
2475
+ const obj_thumbVideo_union0_error = (() => {
2476
+ if (typeof obj_thumbVideo !== 'string') {
2477
+ return new TypeError('Expected "string" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
2478
+ }
2479
+ })();
2480
+ if (obj_thumbVideo_union0_error != null) {
2481
+ obj_thumbVideo_union0 = obj_thumbVideo_union0_error.message;
2482
+ }
2483
+ let obj_thumbVideo_union1 = null;
2484
+ const obj_thumbVideo_union1_error = (() => {
2485
+ if (obj_thumbVideo !== null) {
2486
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
2487
+ }
2488
+ })();
2489
+ if (obj_thumbVideo_union1_error != null) {
2490
+ obj_thumbVideo_union1 = obj_thumbVideo_union1_error.message;
2491
+ }
2492
+ if (obj_thumbVideo_union0 && obj_thumbVideo_union1) {
2493
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideo + '")';
2494
+ message += '\n' + obj_thumbVideo_union0.split('\n').map((line) => '\t' + line).join('\n');
2495
+ message += '\n' + obj_thumbVideo_union1.split('\n').map((line) => '\t' + line).join('\n');
2496
+ return new TypeError(message);
2497
+ }
2498
+ const obj_thumbVideoHeight = obj.thumbVideoHeight;
2499
+ const path_thumbVideoHeight = path + '.thumbVideoHeight';
2500
+ let obj_thumbVideoHeight_union0 = null;
2501
+ const obj_thumbVideoHeight_union0_error = (() => {
2502
+ if (typeof obj_thumbVideoHeight !== 'number' || (typeof obj_thumbVideoHeight === 'number' && Math.floor(obj_thumbVideoHeight) !== obj_thumbVideoHeight)) {
2503
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
2504
+ }
2505
+ })();
2506
+ if (obj_thumbVideoHeight_union0_error != null) {
2507
+ obj_thumbVideoHeight_union0 = obj_thumbVideoHeight_union0_error.message;
2508
+ }
2509
+ let obj_thumbVideoHeight_union1 = null;
2510
+ const obj_thumbVideoHeight_union1_error = (() => {
2511
+ if (obj_thumbVideoHeight !== null) {
2512
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
2513
+ }
2514
+ })();
2515
+ if (obj_thumbVideoHeight_union1_error != null) {
2516
+ obj_thumbVideoHeight_union1 = obj_thumbVideoHeight_union1_error.message;
2517
+ }
2518
+ if (obj_thumbVideoHeight_union0 && obj_thumbVideoHeight_union1) {
2519
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoHeight + '")';
2520
+ message += '\n' + obj_thumbVideoHeight_union0.split('\n').map((line) => '\t' + line).join('\n');
2521
+ message += '\n' + obj_thumbVideoHeight_union1.split('\n').map((line) => '\t' + line).join('\n');
2522
+ return new TypeError(message);
2523
+ }
2524
+ const obj_thumbVideoWidth = obj.thumbVideoWidth;
2525
+ const path_thumbVideoWidth = path + '.thumbVideoWidth';
2526
+ let obj_thumbVideoWidth_union0 = null;
2527
+ const obj_thumbVideoWidth_union0_error = (() => {
2528
+ if (typeof obj_thumbVideoWidth !== 'number' || (typeof obj_thumbVideoWidth === 'number' && Math.floor(obj_thumbVideoWidth) !== obj_thumbVideoWidth)) {
2529
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
2530
+ }
2531
+ })();
2532
+ if (obj_thumbVideoWidth_union0_error != null) {
2533
+ obj_thumbVideoWidth_union0 = obj_thumbVideoWidth_union0_error.message;
2534
+ }
2535
+ let obj_thumbVideoWidth_union1 = null;
2536
+ const obj_thumbVideoWidth_union1_error = (() => {
2537
+ if (obj_thumbVideoWidth !== null) {
2538
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
2539
+ }
2540
+ })();
2541
+ if (obj_thumbVideoWidth_union1_error != null) {
2542
+ obj_thumbVideoWidth_union1 = obj_thumbVideoWidth_union1_error.message;
2543
+ }
2544
+ if (obj_thumbVideoWidth_union0 && obj_thumbVideoWidth_union1) {
2545
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoWidth + '")';
2546
+ message += '\n' + obj_thumbVideoWidth_union0.split('\n').map((line) => '\t' + line).join('\n');
2547
+ message += '\n' + obj_thumbVideoWidth_union1.split('\n').map((line) => '\t' + line).join('\n');
2548
+ return new TypeError(message);
2549
+ }
2229
2550
  const obj_title = obj.title;
2230
2551
  const path_title = path + '.title';
2231
2552
  if (typeof obj_title !== 'string') {
@@ -2313,20 +2634,20 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
2313
2634
  return v_error === undefined ? null : v_error;
2314
2635
  }
2315
2636
  const RepresentationType$f = 'SlackBridgeFileOutputRepresentation';
2316
- function keyBuilder$A(luvio, config) {
2637
+ function keyBuilder$E(luvio, config) {
2317
2638
  return keyPrefix + '::' + RepresentationType$f + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2318
2639
  }
2319
2640
  function keyBuilderFromType$7(luvio, object) {
2320
2641
  const keyParams = {
2321
2642
  uniqueKey: object.uniqueKey
2322
2643
  };
2323
- return keyBuilder$A(luvio, keyParams);
2644
+ return keyBuilder$E(luvio, keyParams);
2324
2645
  }
2325
2646
  function normalize$f(input, existing, path, luvio, store, timestamp) {
2326
2647
  return input;
2327
2648
  }
2328
- const select$A = function SlackBridgeFileOutputRepresentationSelect() {
2329
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$B();
2649
+ const select$C = function SlackBridgeFileOutputRepresentationSelect() {
2650
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$D();
2330
2651
  return {
2331
2652
  kind: 'Fragment',
2332
2653
  version: VERSION$g,
@@ -2362,6 +2683,38 @@ const select$A = function SlackBridgeFileOutputRepresentationSelect() {
2362
2683
  name: 'slackPermalink',
2363
2684
  kind: 'Scalar'
2364
2685
  },
2686
+ {
2687
+ name: 'thumb1024',
2688
+ kind: 'Scalar'
2689
+ },
2690
+ {
2691
+ name: 'thumb360',
2692
+ kind: 'Scalar'
2693
+ },
2694
+ {
2695
+ name: 'thumb480',
2696
+ kind: 'Scalar'
2697
+ },
2698
+ {
2699
+ name: 'thumb720',
2700
+ kind: 'Scalar'
2701
+ },
2702
+ {
2703
+ name: 'thumb960',
2704
+ kind: 'Scalar'
2705
+ },
2706
+ {
2707
+ name: 'thumbVideo',
2708
+ kind: 'Scalar'
2709
+ },
2710
+ {
2711
+ name: 'thumbVideoHeight',
2712
+ kind: 'Scalar'
2713
+ },
2714
+ {
2715
+ name: 'thumbVideoWidth',
2716
+ kind: 'Scalar'
2717
+ },
2365
2718
  {
2366
2719
  name: 'title',
2367
2720
  kind: 'Scalar'
@@ -2425,6 +2778,46 @@ function equals$g(existing, incoming) {
2425
2778
  if (!(existing_size === incoming_size)) {
2426
2779
  return false;
2427
2780
  }
2781
+ const existing_thumb1024 = existing.thumb1024;
2782
+ const incoming_thumb1024 = incoming.thumb1024;
2783
+ if (!(existing_thumb1024 === incoming_thumb1024)) {
2784
+ return false;
2785
+ }
2786
+ const existing_thumb360 = existing.thumb360;
2787
+ const incoming_thumb360 = incoming.thumb360;
2788
+ if (!(existing_thumb360 === incoming_thumb360)) {
2789
+ return false;
2790
+ }
2791
+ const existing_thumb480 = existing.thumb480;
2792
+ const incoming_thumb480 = incoming.thumb480;
2793
+ if (!(existing_thumb480 === incoming_thumb480)) {
2794
+ return false;
2795
+ }
2796
+ const existing_thumb720 = existing.thumb720;
2797
+ const incoming_thumb720 = incoming.thumb720;
2798
+ if (!(existing_thumb720 === incoming_thumb720)) {
2799
+ return false;
2800
+ }
2801
+ const existing_thumb960 = existing.thumb960;
2802
+ const incoming_thumb960 = incoming.thumb960;
2803
+ if (!(existing_thumb960 === incoming_thumb960)) {
2804
+ return false;
2805
+ }
2806
+ const existing_thumbVideo = existing.thumbVideo;
2807
+ const incoming_thumbVideo = incoming.thumbVideo;
2808
+ if (!(existing_thumbVideo === incoming_thumbVideo)) {
2809
+ return false;
2810
+ }
2811
+ const existing_thumbVideoHeight = existing.thumbVideoHeight;
2812
+ const incoming_thumbVideoHeight = incoming.thumbVideoHeight;
2813
+ if (!(existing_thumbVideoHeight === incoming_thumbVideoHeight)) {
2814
+ return false;
2815
+ }
2816
+ const existing_thumbVideoWidth = existing.thumbVideoWidth;
2817
+ const incoming_thumbVideoWidth = incoming.thumbVideoWidth;
2818
+ if (!(existing_thumbVideoWidth === incoming_thumbVideoWidth)) {
2819
+ return false;
2820
+ }
2428
2821
  const existing_token = existing.token;
2429
2822
  const incoming_token = incoming.token;
2430
2823
  if (!(existing_token === incoming_token)) {
@@ -2859,8 +3252,8 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
2859
3252
  }
2860
3253
  return input;
2861
3254
  }
2862
- const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2863
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$E();
3255
+ const select$B = function SlackBridgeMessageOutputRepresentationSelect() {
3256
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$G();
2864
3257
  return {
2865
3258
  kind: 'Fragment',
2866
3259
  version: VERSION$f,
@@ -2884,7 +3277,7 @@ const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2884
3277
  name: 'files',
2885
3278
  kind: 'Link',
2886
3279
  plural: true,
2887
- fragment: select$A()
3280
+ fragment: select$C()
2888
3281
  },
2889
3282
  {
2890
3283
  name: 'includesCustomEmoji',
@@ -3192,7 +3585,7 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
3192
3585
  }
3193
3586
  return input;
3194
3587
  }
3195
- const select$y = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3588
+ const select$A = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3196
3589
  return {
3197
3590
  kind: 'Fragment',
3198
3591
  version: VERSION$e,
@@ -3206,7 +3599,7 @@ const select$y = function SlackBridgeConversationHistoryOutputRepresentationSele
3206
3599
  name: 'messages',
3207
3600
  kind: 'Link',
3208
3601
  plural: true,
3209
- fragment: select$z()
3602
+ fragment: select$B()
3210
3603
  },
3211
3604
  {
3212
3605
  name: 'nextCursor',
@@ -3264,7 +3657,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3264
3657
  }
3265
3658
  }
3266
3659
 
3267
- const VERSION$d = "7ec6cbca3e2948ff5ef00e4034f365d5";
3660
+ const VERSION$d = "1119f2c416d047eefd8303c5a2d590ae";
3268
3661
  function validate$d(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3269
3662
  const v_error = (() => {
3270
3663
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3332,6 +3725,30 @@ function validate$d(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3332
3725
  message += '\n' + obj_conversationInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
3333
3726
  return new TypeError(message);
3334
3727
  }
3728
+ const obj_conversationInfos = obj.conversationInfos;
3729
+ const path_conversationInfos = path + '.conversationInfos';
3730
+ if (!ArrayIsArray(obj_conversationInfos)) {
3731
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
3732
+ }
3733
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
3734
+ const obj_conversationInfos_item = obj_conversationInfos[i];
3735
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
3736
+ if (typeof obj_conversationInfos_item !== 'object') {
3737
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
3738
+ }
3739
+ }
3740
+ const obj_emojis = obj.emojis;
3741
+ const path_emojis = path + '.emojis';
3742
+ if (!ArrayIsArray(obj_emojis)) {
3743
+ return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
3744
+ }
3745
+ for (let i = 0; i < obj_emojis.length; i++) {
3746
+ const obj_emojis_item = obj_emojis[i];
3747
+ const path_emojis_item = path_emojis + '[' + i + ']';
3748
+ if (typeof obj_emojis_item !== 'object') {
3749
+ return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
3750
+ }
3751
+ }
3335
3752
  const obj_history = obj.history;
3336
3753
  const path_history = path + '.history';
3337
3754
  if (typeof obj_history !== 'object') {
@@ -3439,6 +3856,38 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
3439
3856
  ttl: path.ttl
3440
3857
  }, luvio, store, timestamp);
3441
3858
  }
3859
+ const input_conversationInfos = input.conversationInfos;
3860
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
3861
+ for (let i = 0; i < input_conversationInfos.length; i++) {
3862
+ const input_conversationInfos_item = input_conversationInfos[i];
3863
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
3864
+ input_conversationInfos[i] = ingest$g(input_conversationInfos_item, {
3865
+ fullPath: input_conversationInfos_item_id,
3866
+ propertyName: i,
3867
+ parent: {
3868
+ data: input,
3869
+ key: path.fullPath,
3870
+ existing: existing,
3871
+ },
3872
+ ttl: path.ttl
3873
+ }, luvio, store, timestamp);
3874
+ }
3875
+ const input_emojis = input.emojis;
3876
+ const input_emojis_id = path.fullPath + '__emojis';
3877
+ for (let i = 0; i < input_emojis.length; i++) {
3878
+ const input_emojis_item = input_emojis[i];
3879
+ let input_emojis_item_id = input_emojis_id + '__' + i;
3880
+ input_emojis[i] = ingest$i(input_emojis_item, {
3881
+ fullPath: input_emojis_item_id,
3882
+ propertyName: i,
3883
+ parent: {
3884
+ data: input,
3885
+ key: path.fullPath,
3886
+ existing: existing,
3887
+ },
3888
+ ttl: path.ttl
3889
+ }, luvio, store, timestamp);
3890
+ }
3442
3891
  const input_history = input.history;
3443
3892
  const input_history_id = path.fullPath + '__history';
3444
3893
  input.history = ingest$d(input_history, {
@@ -3469,7 +3918,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
3469
3918
  }
3470
3919
  return input;
3471
3920
  }
3472
- const select$x = function SlackBridgeConversationOutputRepresentationSelect() {
3921
+ const select$z = function SlackBridgeConversationOutputRepresentationSelect() {
3473
3922
  return {
3474
3923
  kind: 'Fragment',
3475
3924
  version: VERSION$d,
@@ -3487,18 +3936,30 @@ const select$x = function SlackBridgeConversationOutputRepresentationSelect() {
3487
3936
  name: 'contextUserInfo',
3488
3937
  kind: 'Link',
3489
3938
  nullable: true,
3490
- fragment: select$G()
3939
+ fragment: select$I()
3491
3940
  },
3492
3941
  {
3493
3942
  name: 'conversationInfo',
3494
3943
  kind: 'Link',
3495
3944
  nullable: true,
3496
- fragment: select$F()
3945
+ fragment: select$H()
3946
+ },
3947
+ {
3948
+ name: 'conversationInfos',
3949
+ kind: 'Link',
3950
+ plural: true,
3951
+ fragment: select$H()
3952
+ },
3953
+ {
3954
+ name: 'emojis',
3955
+ kind: 'Link',
3956
+ plural: true,
3957
+ fragment: select$J()
3497
3958
  },
3498
3959
  {
3499
3960
  name: 'history',
3500
3961
  kind: 'Link',
3501
- fragment: select$y()
3962
+ fragment: select$A()
3502
3963
  },
3503
3964
  {
3504
3965
  name: 'teamId',
@@ -3512,7 +3973,7 @@ const select$x = function SlackBridgeConversationOutputRepresentationSelect() {
3512
3973
  name: 'userInfos',
3513
3974
  kind: 'Link',
3514
3975
  plural: true,
3515
- fragment: select$G()
3976
+ fragment: select$I()
3516
3977
  },
3517
3978
  {
3518
3979
  name: 'websocketUrl',
@@ -3557,16 +4018,36 @@ function equals$d(existing, incoming) {
3557
4018
  existing_conversationInfo.__ref === incoming_conversationInfo.__ref))) {
3558
4019
  return false;
3559
4020
  }
3560
- const existing_history = existing.history;
3561
- const incoming_history = incoming.history;
3562
- if (!(existing_history.__ref === incoming_history.__ref)) {
3563
- return false;
3564
- }
3565
- const existing_threadTs = existing.threadTs;
3566
- const incoming_threadTs = incoming.threadTs;
3567
- if (!(existing_threadTs === incoming_threadTs)) {
3568
- return false;
3569
- }
4021
+ const existing_conversationInfos = existing.conversationInfos;
4022
+ const incoming_conversationInfos = incoming.conversationInfos;
4023
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
4024
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
4025
+ return false;
4026
+ }
4027
+ });
4028
+ if (equals_conversationInfos_items === false) {
4029
+ return false;
4030
+ }
4031
+ const existing_emojis = existing.emojis;
4032
+ const incoming_emojis = incoming.emojis;
4033
+ const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
4034
+ if (!(existing_emojis_item.__ref === incoming_emojis_item.__ref)) {
4035
+ return false;
4036
+ }
4037
+ });
4038
+ if (equals_emojis_items === false) {
4039
+ return false;
4040
+ }
4041
+ const existing_history = existing.history;
4042
+ const incoming_history = incoming.history;
4043
+ if (!(existing_history.__ref === incoming_history.__ref)) {
4044
+ return false;
4045
+ }
4046
+ const existing_threadTs = existing.threadTs;
4047
+ const incoming_threadTs = incoming.threadTs;
4048
+ if (!(existing_threadTs === incoming_threadTs)) {
4049
+ return false;
4050
+ }
3570
4051
  const existing_userInfos = existing.userInfos;
3571
4052
  const incoming_userInfos = incoming.userInfos;
3572
4053
  const equals_userInfos_items = equalsArray(existing_userInfos, incoming_userInfos, (existing_userInfos_item, incoming_userInfos_item) => {
@@ -3610,6 +4091,14 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3610
4091
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3611
4092
  getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfo);
3612
4093
  }
4094
+ const input_conversationInfos_length = input.conversationInfos.length;
4095
+ for (let i = 0; i < input_conversationInfos_length; i++) {
4096
+ getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfos[i]);
4097
+ }
4098
+ const input_emojis_length = input.emojis.length;
4099
+ for (let i = 0; i < input_emojis_length; i++) {
4100
+ getTypeCacheKeys$i(rootKeySet, luvio, input.emojis[i]);
4101
+ }
3613
4102
  getTypeCacheKeys$d(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3614
4103
  const input_userInfos_length = input.userInfos.length;
3615
4104
  for (let i = 0; i < input_userInfos_length; i++) {
@@ -3617,22 +4106,22 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3617
4106
  }
3618
4107
  }
3619
4108
 
3620
- function select$w(luvio, params) {
3621
- return select$x();
4109
+ function select$y(luvio, params) {
4110
+ return select$z();
3622
4111
  }
3623
- function keyBuilder$z(luvio, params) {
4112
+ function keyBuilder$D(luvio, params) {
3624
4113
  return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
3625
4114
  }
3626
- function getResponseCacheKeys$m(storeKeyMap, luvio, resourceParams, response) {
3627
- getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$z(luvio, resourceParams));
4115
+ function getResponseCacheKeys$o(storeKeyMap, luvio, resourceParams, response) {
4116
+ getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$D(luvio, resourceParams));
3628
4117
  }
3629
- function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
4118
+ function ingestSuccess$l(luvio, resourceParams, response, snapshotRefresh) {
3630
4119
  const { body } = response;
3631
- const key = keyBuilder$z(luvio, resourceParams);
4120
+ const key = keyBuilder$D(luvio, resourceParams);
3632
4121
  luvio.storeIngest(key, ingest$c, body);
3633
4122
  const snapshot = luvio.storeLookup({
3634
4123
  recordId: key,
3635
- node: select$w(),
4124
+ node: select$y(),
3636
4125
  variables: {},
3637
4126
  }, snapshotRefresh);
3638
4127
  if (process.env.NODE_ENV !== 'production') {
@@ -3643,13 +4132,13 @@ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
3643
4132
  deepFreeze(snapshot.data);
3644
4133
  return snapshot;
3645
4134
  }
3646
- function ingestError$c(luvio, params, error, snapshotRefresh) {
3647
- const key = keyBuilder$z(luvio, params);
4135
+ function ingestError$e(luvio, params, error, snapshotRefresh) {
4136
+ const key = keyBuilder$D(luvio, params);
3648
4137
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3649
4138
  luvio.storeIngestError(key, errorSnapshot);
3650
4139
  return errorSnapshot;
3651
4140
  }
3652
- function createResourceRequest$m(config) {
4141
+ function createResourceRequest$o(config) {
3653
4142
  const headers = {};
3654
4143
  return {
3655
4144
  baseUri: '/services/data/v64.0',
@@ -3663,7 +4152,7 @@ function createResourceRequest$m(config) {
3663
4152
  };
3664
4153
  }
3665
4154
 
3666
- const adapterName$m = 'getSlackConversation';
4155
+ const adapterName$o = 'getSlackConversation';
3667
4156
  const getSlackConversation_ConfigPropertyMetadata = [
3668
4157
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3669
4158
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3675,86 +4164,86 @@ const getSlackConversation_ConfigPropertyMetadata = [
3675
4164
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3676
4165
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3677
4166
  ];
3678
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getSlackConversation_ConfigPropertyMetadata);
3679
- const createResourceParams$m = /*#__PURE__*/ createResourceParams$n(getSlackConversation_ConfigPropertyMetadata);
3680
- function keyBuilder$y(luvio, config) {
3681
- const resourceParams = createResourceParams$m(config);
3682
- return keyBuilder$z(luvio, resourceParams);
4167
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getSlackConversation_ConfigPropertyMetadata);
4168
+ const createResourceParams$o = /*#__PURE__*/ createResourceParams$p(getSlackConversation_ConfigPropertyMetadata);
4169
+ function keyBuilder$C(luvio, config) {
4170
+ const resourceParams = createResourceParams$o(config);
4171
+ return keyBuilder$D(luvio, resourceParams);
3683
4172
  }
3684
- function typeCheckConfig$m(untrustedConfig) {
4173
+ function typeCheckConfig$o(untrustedConfig) {
3685
4174
  const config = {};
3686
- typeCheckConfig$n(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
4175
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3687
4176
  return config;
3688
4177
  }
3689
- function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
4178
+ function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
3690
4179
  if (!untrustedIsObject(untrustedConfig)) {
3691
4180
  return null;
3692
4181
  }
3693
4182
  if (process.env.NODE_ENV !== 'production') {
3694
4183
  validateConfig(untrustedConfig, configPropertyNames);
3695
4184
  }
3696
- const config = typeCheckConfig$m(untrustedConfig);
4185
+ const config = typeCheckConfig$o(untrustedConfig);
3697
4186
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3698
4187
  return null;
3699
4188
  }
3700
4189
  return config;
3701
4190
  }
3702
- function adapterFragment$c(luvio, config) {
3703
- createResourceParams$m(config);
3704
- return select$w();
4191
+ function adapterFragment$e(luvio, config) {
4192
+ createResourceParams$o(config);
4193
+ return select$y();
3705
4194
  }
3706
- function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
3707
- const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
4195
+ function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
4196
+ const snapshot = ingestSuccess$l(luvio, resourceParams, response, {
3708
4197
  config,
3709
- resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
4198
+ resolve: () => buildNetworkSnapshot$o(luvio, config, snapshotRefreshOptions)
3710
4199
  });
3711
4200
  return luvio.storeBroadcast().then(() => snapshot);
3712
4201
  }
3713
- function onFetchResponseError$c(luvio, config, resourceParams, response) {
3714
- const snapshot = ingestError$c(luvio, resourceParams, response, {
4202
+ function onFetchResponseError$e(luvio, config, resourceParams, response) {
4203
+ const snapshot = ingestError$e(luvio, resourceParams, response, {
3715
4204
  config,
3716
- resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
4205
+ resolve: () => buildNetworkSnapshot$o(luvio, config, snapshotRefreshOptions)
3717
4206
  });
3718
4207
  return luvio.storeBroadcast().then(() => snapshot);
3719
4208
  }
3720
- function buildNetworkSnapshot$m(luvio, config, options) {
3721
- const resourceParams = createResourceParams$m(config);
3722
- const request = createResourceRequest$m(resourceParams);
4209
+ function buildNetworkSnapshot$o(luvio, config, options) {
4210
+ const resourceParams = createResourceParams$o(config);
4211
+ const request = createResourceRequest$o(resourceParams);
3723
4212
  return luvio.dispatchResourceRequest(request, options)
3724
4213
  .then((response) => {
3725
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
4214
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$e(luvio, config, resourceParams, response), () => {
3726
4215
  const cache = new StoreKeyMap();
3727
- getResponseCacheKeys$m(cache, luvio, resourceParams, response.body);
4216
+ getResponseCacheKeys$o(cache, luvio, resourceParams, response.body);
3728
4217
  return cache;
3729
4218
  });
3730
4219
  }, (response) => {
3731
- return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
4220
+ return luvio.handleErrorResponse(() => onFetchResponseError$e(luvio, config, resourceParams, response));
3732
4221
  });
3733
4222
  }
3734
- function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
3735
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, undefined, false);
4223
+ function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
4224
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
3736
4225
  }
3737
- function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
4226
+ function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
3738
4227
  const { luvio, config } = context;
3739
4228
  const selector = {
3740
- recordId: keyBuilder$y(luvio, config),
3741
- node: adapterFragment$c(luvio, config),
4229
+ recordId: keyBuilder$C(luvio, config),
4230
+ node: adapterFragment$e(luvio, config),
3742
4231
  variables: {},
3743
4232
  };
3744
4233
  const cacheSnapshot = storeLookup(selector, {
3745
4234
  config,
3746
- resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
4235
+ resolve: () => buildNetworkSnapshot$o(luvio, config, snapshotRefreshOptions)
3747
4236
  });
3748
4237
  return cacheSnapshot;
3749
4238
  }
3750
4239
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3751
- const config = validateAdapterConfig$m(untrustedConfig, getSlackConversation_ConfigPropertyNames);
4240
+ const config = validateAdapterConfig$o(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3752
4241
  // Invalid or incomplete config
3753
4242
  if (config === null) {
3754
4243
  return null;
3755
4244
  }
3756
4245
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3757
- buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
4246
+ buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
3758
4247
  };
3759
4248
 
3760
4249
  const VERSION$c = "769b5b0ed94219341e9be74c08e63aed";
@@ -3782,14 +4271,14 @@ function validate$c(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3782
4271
  return v_error === undefined ? null : v_error;
3783
4272
  }
3784
4273
  const RepresentationType$b = 'SlackBridgePostMessageOutputRepresentation';
3785
- function keyBuilder$x(luvio, config) {
4274
+ function keyBuilder$B(luvio, config) {
3786
4275
  return keyPrefix + '::' + RepresentationType$b + ':' + config.channelId;
3787
4276
  }
3788
4277
  function keyBuilderFromType$6(luvio, object) {
3789
4278
  const keyParams = {
3790
4279
  channelId: object.channelId
3791
4280
  };
3792
- return keyBuilder$x(luvio, keyParams);
4281
+ return keyBuilder$B(luvio, keyParams);
3793
4282
  }
3794
4283
  function normalize$b(input, existing, path, luvio, store, timestamp) {
3795
4284
  const input_postedMessage = input.postedMessage;
@@ -3806,7 +4295,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3806
4295
  }, luvio, store, timestamp);
3807
4296
  return input;
3808
4297
  }
3809
- const select$v = function SlackBridgePostMessageOutputRepresentationSelect() {
4298
+ const select$x = function SlackBridgePostMessageOutputRepresentationSelect() {
3810
4299
  return {
3811
4300
  kind: 'Fragment',
3812
4301
  version: VERSION$c,
@@ -3819,7 +4308,7 @@ const select$v = function SlackBridgePostMessageOutputRepresentationSelect() {
3819
4308
  {
3820
4309
  name: 'postedMessage',
3821
4310
  kind: 'Link',
3822
- fragment: select$z()
4311
+ fragment: select$B()
3823
4312
  },
3824
4313
  {
3825
4314
  name: 'timestamp',
@@ -3869,19 +4358,19 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3869
4358
  getTypeCacheKeys$e(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3870
4359
  }
3871
4360
 
3872
- function select$u(luvio, params) {
3873
- return select$v();
4361
+ function select$w(luvio, params) {
4362
+ return select$x();
3874
4363
  }
3875
- function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
4364
+ function getResponseCacheKeys$n(storeKeyMap, luvio, resourceParams, response) {
3876
4365
  getTypeCacheKeys$b(storeKeyMap, luvio, response);
3877
4366
  }
3878
- function ingestSuccess$i(luvio, resourceParams, response) {
4367
+ function ingestSuccess$k(luvio, resourceParams, response) {
3879
4368
  const { body } = response;
3880
4369
  const key = keyBuilderFromType$6(luvio, body);
3881
4370
  luvio.storeIngest(key, ingest$b, body);
3882
4371
  const snapshot = luvio.storeLookup({
3883
4372
  recordId: key,
3884
- node: select$u(),
4373
+ node: select$w(),
3885
4374
  variables: {},
3886
4375
  });
3887
4376
  if (process.env.NODE_ENV !== 'production') {
@@ -3892,7 +4381,7 @@ function ingestSuccess$i(luvio, resourceParams, response) {
3892
4381
  deepFreeze(snapshot.data);
3893
4382
  return snapshot;
3894
4383
  }
3895
- function createResourceRequest$l(config) {
4384
+ function createResourceRequest$n(config) {
3896
4385
  const headers = {};
3897
4386
  return {
3898
4387
  baseUri: '/services/data/v64.0',
@@ -3906,7 +4395,7 @@ function createResourceRequest$l(config) {
3906
4395
  };
3907
4396
  }
3908
4397
 
3909
- const adapterName$l = 'postSlackConversation';
4398
+ const adapterName$n = 'postSlackConversation';
3910
4399
  const postSlackConversation_ConfigPropertyMetadata = [
3911
4400
  generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
3912
4401
  generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
@@ -3915,37 +4404,37 @@ const postSlackConversation_ConfigPropertyMetadata = [
3915
4404
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
3916
4405
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
3917
4406
  ];
3918
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, postSlackConversation_ConfigPropertyMetadata);
3919
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$n(postSlackConversation_ConfigPropertyMetadata);
3920
- function typeCheckConfig$l(untrustedConfig) {
4407
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, postSlackConversation_ConfigPropertyMetadata);
4408
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$p(postSlackConversation_ConfigPropertyMetadata);
4409
+ function typeCheckConfig$n(untrustedConfig) {
3921
4410
  const config = {};
3922
- typeCheckConfig$n(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
4411
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3923
4412
  return config;
3924
4413
  }
3925
- function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
4414
+ function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
3926
4415
  if (!untrustedIsObject(untrustedConfig)) {
3927
4416
  return null;
3928
4417
  }
3929
4418
  if (process.env.NODE_ENV !== 'production') {
3930
4419
  validateConfig(untrustedConfig, configPropertyNames);
3931
4420
  }
3932
- const config = typeCheckConfig$l(untrustedConfig);
4421
+ const config = typeCheckConfig$n(untrustedConfig);
3933
4422
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3934
4423
  return null;
3935
4424
  }
3936
4425
  return config;
3937
4426
  }
3938
- function buildNetworkSnapshot$l(luvio, config, options) {
3939
- const resourceParams = createResourceParams$l(config);
3940
- const request = createResourceRequest$l(resourceParams);
4427
+ function buildNetworkSnapshot$n(luvio, config, options) {
4428
+ const resourceParams = createResourceParams$n(config);
4429
+ const request = createResourceRequest$n(resourceParams);
3941
4430
  return luvio.dispatchResourceRequest(request, options)
3942
4431
  .then((response) => {
3943
4432
  return luvio.handleSuccessResponse(() => {
3944
- const snapshot = ingestSuccess$i(luvio, resourceParams, response);
4433
+ const snapshot = ingestSuccess$k(luvio, resourceParams, response);
3945
4434
  return luvio.storeBroadcast().then(() => snapshot);
3946
4435
  }, () => {
3947
4436
  const cache = new StoreKeyMap();
3948
- getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
4437
+ getResponseCacheKeys$n(cache, luvio, resourceParams, response.body);
3949
4438
  return cache;
3950
4439
  });
3951
4440
  }, (response) => {
@@ -3955,28 +4444,28 @@ function buildNetworkSnapshot$l(luvio, config, options) {
3955
4444
  }
3956
4445
  const postSlackConversationAdapterFactory = (luvio) => {
3957
4446
  return function postSlackConversation(untrustedConfig) {
3958
- const config = validateAdapterConfig$l(untrustedConfig, postSlackConversation_ConfigPropertyNames);
4447
+ const config = validateAdapterConfig$n(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3959
4448
  // Invalid or incomplete config
3960
4449
  if (config === null) {
3961
4450
  throw new Error('Invalid config for "postSlackConversation"');
3962
4451
  }
3963
- return buildNetworkSnapshot$l(luvio, config);
4452
+ return buildNetworkSnapshot$n(luvio, config);
3964
4453
  };
3965
4454
  };
3966
4455
 
3967
- function select$t(luvio, params) {
3968
- return select$A();
4456
+ function select$v(luvio, params) {
4457
+ return select$C();
3969
4458
  }
3970
- function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
4459
+ function getResponseCacheKeys$m(storeKeyMap, luvio, resourceParams, response) {
3971
4460
  getTypeCacheKeys$f(storeKeyMap, luvio, response);
3972
4461
  }
3973
- function ingestSuccess$h(luvio, resourceParams, response) {
4462
+ function ingestSuccess$j(luvio, resourceParams, response) {
3974
4463
  const { body } = response;
3975
4464
  const key = keyBuilderFromType$7(luvio, body);
3976
4465
  luvio.storeIngest(key, ingest$f, body);
3977
4466
  const snapshot = luvio.storeLookup({
3978
4467
  recordId: key,
3979
- node: select$t(),
4468
+ node: select$v(),
3980
4469
  variables: {},
3981
4470
  });
3982
4471
  if (process.env.NODE_ENV !== 'production') {
@@ -3987,7 +4476,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
3987
4476
  deepFreeze(snapshot.data);
3988
4477
  return snapshot;
3989
4478
  }
3990
- function createResourceRequest$k(config) {
4479
+ function createResourceRequest$m(config) {
3991
4480
  const headers = {};
3992
4481
  return {
3993
4482
  baseUri: '/services/data/v64.0',
@@ -4001,7 +4490,7 @@ function createResourceRequest$k(config) {
4001
4490
  };
4002
4491
  }
4003
4492
 
4004
- const adapterName$k = 'postSlackFile';
4493
+ const adapterName$m = 'postSlackFile';
4005
4494
  const postSlackFile_ConfigPropertyMetadata = [
4006
4495
  generateParamConfigMetadata('base64EncodedFileData', true, 2 /* Body */, 0 /* String */),
4007
4496
  generateParamConfigMetadata('channels', true, 2 /* Body */, 0 /* String */, true),
@@ -4012,37 +4501,37 @@ const postSlackFile_ConfigPropertyMetadata = [
4012
4501
  generateParamConfigMetadata('threadTs', true, 2 /* Body */, 0 /* String */),
4013
4502
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
4014
4503
  ];
4015
- const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackFile_ConfigPropertyMetadata);
4016
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$n(postSlackFile_ConfigPropertyMetadata);
4017
- function typeCheckConfig$k(untrustedConfig) {
4504
+ const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, postSlackFile_ConfigPropertyMetadata);
4505
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$p(postSlackFile_ConfigPropertyMetadata);
4506
+ function typeCheckConfig$m(untrustedConfig) {
4018
4507
  const config = {};
4019
- typeCheckConfig$n(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4508
+ typeCheckConfig$p(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4020
4509
  return config;
4021
4510
  }
4022
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4511
+ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
4023
4512
  if (!untrustedIsObject(untrustedConfig)) {
4024
4513
  return null;
4025
4514
  }
4026
4515
  if (process.env.NODE_ENV !== 'production') {
4027
4516
  validateConfig(untrustedConfig, configPropertyNames);
4028
4517
  }
4029
- const config = typeCheckConfig$k(untrustedConfig);
4518
+ const config = typeCheckConfig$m(untrustedConfig);
4030
4519
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4031
4520
  return null;
4032
4521
  }
4033
4522
  return config;
4034
4523
  }
4035
- function buildNetworkSnapshot$k(luvio, config, options) {
4036
- const resourceParams = createResourceParams$k(config);
4037
- const request = createResourceRequest$k(resourceParams);
4524
+ function buildNetworkSnapshot$m(luvio, config, options) {
4525
+ const resourceParams = createResourceParams$m(config);
4526
+ const request = createResourceRequest$m(resourceParams);
4038
4527
  return luvio.dispatchResourceRequest(request, options)
4039
4528
  .then((response) => {
4040
4529
  return luvio.handleSuccessResponse(() => {
4041
- const snapshot = ingestSuccess$h(luvio, resourceParams, response);
4530
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response);
4042
4531
  return luvio.storeBroadcast().then(() => snapshot);
4043
4532
  }, () => {
4044
4533
  const cache = new StoreKeyMap();
4045
- getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4534
+ getResponseCacheKeys$m(cache, luvio, resourceParams, response.body);
4046
4535
  return cache;
4047
4536
  });
4048
4537
  }, (response) => {
@@ -4052,12 +4541,12 @@ function buildNetworkSnapshot$k(luvio, config, options) {
4052
4541
  }
4053
4542
  const postSlackFileAdapterFactory = (luvio) => {
4054
4543
  return function postSlackFile(untrustedConfig) {
4055
- const config = validateAdapterConfig$k(untrustedConfig, postSlackFile_ConfigPropertyNames);
4544
+ const config = validateAdapterConfig$m(untrustedConfig, postSlackFile_ConfigPropertyNames);
4056
4545
  // Invalid or incomplete config
4057
4546
  if (config === null) {
4058
4547
  throw new Error('Invalid config for "postSlackFile"');
4059
4548
  }
4060
- return buildNetworkSnapshot$k(luvio, config);
4549
+ return buildNetworkSnapshot$m(luvio, config);
4061
4550
  };
4062
4551
  };
4063
4552
 
@@ -4086,14 +4575,14 @@ function validate$b(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
4086
4575
  return v_error === undefined ? null : v_error;
4087
4576
  }
4088
4577
  const RepresentationType$a = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4089
- function keyBuilder$w(luvio, config) {
4578
+ function keyBuilder$A(luvio, config) {
4090
4579
  return keyPrefix + '::' + RepresentationType$a + ':' + config.relatedRecordId;
4091
4580
  }
4092
4581
  function keyBuilderFromType$5(luvio, object) {
4093
4582
  const keyParams = {
4094
4583
  relatedRecordId: object.relatedRecordId
4095
4584
  };
4096
- return keyBuilder$w(luvio, keyParams);
4585
+ return keyBuilder$A(luvio, keyParams);
4097
4586
  }
4098
4587
  function normalize$a(input, existing, path, luvio, store, timestamp) {
4099
4588
  const input_conversationInfo = input.conversationInfo;
@@ -4110,7 +4599,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
4110
4599
  }, luvio, store, timestamp);
4111
4600
  return input;
4112
4601
  }
4113
- const select$s = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4602
+ const select$u = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4114
4603
  return {
4115
4604
  kind: 'Fragment',
4116
4605
  version: VERSION$b,
@@ -4119,7 +4608,7 @@ const select$s = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
4119
4608
  {
4120
4609
  name: 'conversationInfo',
4121
4610
  kind: 'Link',
4122
- fragment: select$F()
4611
+ fragment: select$H()
4123
4612
  },
4124
4613
  {
4125
4614
  name: 'relatedRecordId',
@@ -4173,19 +4662,19 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
4173
4662
  getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfo);
4174
4663
  }
4175
4664
 
4176
- function select$r(luvio, params) {
4177
- return select$s();
4665
+ function select$t(luvio, params) {
4666
+ return select$u();
4178
4667
  }
4179
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4668
+ function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
4180
4669
  getTypeCacheKeys$a(storeKeyMap, luvio, response);
4181
4670
  }
4182
- function ingestSuccess$g(luvio, resourceParams, response) {
4671
+ function ingestSuccess$i(luvio, resourceParams, response) {
4183
4672
  const { body } = response;
4184
4673
  const key = keyBuilderFromType$5(luvio, body);
4185
4674
  luvio.storeIngest(key, ingest$a, body);
4186
4675
  const snapshot = luvio.storeLookup({
4187
4676
  recordId: key,
4188
- node: select$r(),
4677
+ node: select$t(),
4189
4678
  variables: {},
4190
4679
  });
4191
4680
  if (process.env.NODE_ENV !== 'production') {
@@ -4196,7 +4685,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
4196
4685
  deepFreeze(snapshot.data);
4197
4686
  return snapshot;
4198
4687
  }
4199
- function createResourceRequest$j(config) {
4688
+ function createResourceRequest$l(config) {
4200
4689
  const headers = {};
4201
4690
  return {
4202
4691
  baseUri: '/services/data/v64.0',
@@ -4210,16 +4699,16 @@ function createResourceRequest$j(config) {
4210
4699
  };
4211
4700
  }
4212
4701
 
4213
- const adapterName$j = 'postSlackRecordChannelInfos';
4702
+ const adapterName$l = 'postSlackRecordChannelInfos';
4214
4703
  const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
4215
4704
  generateParamConfigMetadata('conversationInfo', true, 2 /* Body */, 4 /* Unsupported */),
4216
4705
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
4217
4706
  ];
4218
- const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4219
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$n(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4220
- function typeCheckConfig$j(untrustedConfig) {
4707
+ const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4708
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$p(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4709
+ function typeCheckConfig$l(untrustedConfig) {
4221
4710
  const config = {};
4222
- typeCheckConfig$n(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4711
+ typeCheckConfig$p(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4223
4712
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
4224
4713
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
4225
4714
  const untrustedConfig_conversationInfo_object = {};
@@ -4233,30 +4722,30 @@ function typeCheckConfig$j(untrustedConfig) {
4233
4722
  }
4234
4723
  return config;
4235
4724
  }
4236
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4725
+ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
4237
4726
  if (!untrustedIsObject(untrustedConfig)) {
4238
4727
  return null;
4239
4728
  }
4240
4729
  if (process.env.NODE_ENV !== 'production') {
4241
4730
  validateConfig(untrustedConfig, configPropertyNames);
4242
4731
  }
4243
- const config = typeCheckConfig$j(untrustedConfig);
4732
+ const config = typeCheckConfig$l(untrustedConfig);
4244
4733
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4245
4734
  return null;
4246
4735
  }
4247
4736
  return config;
4248
4737
  }
4249
- function buildNetworkSnapshot$j(luvio, config, options) {
4250
- const resourceParams = createResourceParams$j(config);
4251
- const request = createResourceRequest$j(resourceParams);
4738
+ function buildNetworkSnapshot$l(luvio, config, options) {
4739
+ const resourceParams = createResourceParams$l(config);
4740
+ const request = createResourceRequest$l(resourceParams);
4252
4741
  return luvio.dispatchResourceRequest(request, options)
4253
4742
  .then((response) => {
4254
4743
  return luvio.handleSuccessResponse(() => {
4255
- const snapshot = ingestSuccess$g(luvio, resourceParams, response);
4744
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response);
4256
4745
  return luvio.storeBroadcast().then(() => snapshot);
4257
4746
  }, () => {
4258
4747
  const cache = new StoreKeyMap();
4259
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4748
+ getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
4260
4749
  return cache;
4261
4750
  });
4262
4751
  }, (response) => {
@@ -4266,33 +4755,33 @@ function buildNetworkSnapshot$j(luvio, config, options) {
4266
4755
  }
4267
4756
  const postSlackRecordChannelInfosAdapterFactory = (luvio) => {
4268
4757
  return function postSlackRecordChannelInfos(untrustedConfig) {
4269
- const config = validateAdapterConfig$j(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4758
+ const config = validateAdapterConfig$l(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4270
4759
  // Invalid or incomplete config
4271
4760
  if (config === null) {
4272
4761
  throw new Error('Invalid config for "postSlackRecordChannelInfos"');
4273
4762
  }
4274
- return buildNetworkSnapshot$j(luvio, config);
4763
+ return buildNetworkSnapshot$l(luvio, config);
4275
4764
  };
4276
4765
  };
4277
4766
 
4278
- function select$q(luvio, params) {
4279
- return select$s();
4767
+ function select$s(luvio, params) {
4768
+ return select$u();
4280
4769
  }
4281
- function keyBuilder$v(luvio, params) {
4282
- return keyBuilder$w(luvio, {
4770
+ function keyBuilder$z(luvio, params) {
4771
+ return keyBuilder$A(luvio, {
4283
4772
  relatedRecordId: params.urlParams.relatedRecordId
4284
4773
  });
4285
4774
  }
4286
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4775
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
4287
4776
  getTypeCacheKeys$a(storeKeyMap, luvio, response);
4288
4777
  }
4289
- function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4778
+ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4290
4779
  const { body } = response;
4291
- const key = keyBuilder$v(luvio, resourceParams);
4780
+ const key = keyBuilder$z(luvio, resourceParams);
4292
4781
  luvio.storeIngest(key, ingest$a, body);
4293
4782
  const snapshot = luvio.storeLookup({
4294
4783
  recordId: key,
4295
- node: select$q(),
4784
+ node: select$s(),
4296
4785
  variables: {},
4297
4786
  }, snapshotRefresh);
4298
4787
  if (process.env.NODE_ENV !== 'production') {
@@ -4303,13 +4792,13 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4303
4792
  deepFreeze(snapshot.data);
4304
4793
  return snapshot;
4305
4794
  }
4306
- function ingestError$b(luvio, params, error, snapshotRefresh) {
4307
- const key = keyBuilder$v(luvio, params);
4795
+ function ingestError$d(luvio, params, error, snapshotRefresh) {
4796
+ const key = keyBuilder$z(luvio, params);
4308
4797
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4309
4798
  luvio.storeIngestError(key, errorSnapshot);
4310
4799
  return errorSnapshot;
4311
4800
  }
4312
- function createResourceRequest$i(config) {
4801
+ function createResourceRequest$k(config) {
4313
4802
  const headers = {};
4314
4803
  return {
4315
4804
  baseUri: '/services/data/v64.0',
@@ -4323,90 +4812,90 @@ function createResourceRequest$i(config) {
4323
4812
  };
4324
4813
  }
4325
4814
 
4326
- const adapterName$i = 'getSlackRecordChannelInfo';
4815
+ const adapterName$k = 'getSlackRecordChannelInfo';
4327
4816
  const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
4328
4817
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
4329
4818
  ];
4330
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4331
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$n(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4332
- function keyBuilder$u(luvio, config) {
4333
- const resourceParams = createResourceParams$i(config);
4334
- return keyBuilder$v(luvio, resourceParams);
4819
+ const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4820
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$p(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4821
+ function keyBuilder$y(luvio, config) {
4822
+ const resourceParams = createResourceParams$k(config);
4823
+ return keyBuilder$z(luvio, resourceParams);
4335
4824
  }
4336
- function typeCheckConfig$i(untrustedConfig) {
4825
+ function typeCheckConfig$k(untrustedConfig) {
4337
4826
  const config = {};
4338
- typeCheckConfig$n(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4827
+ typeCheckConfig$p(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4339
4828
  return config;
4340
4829
  }
4341
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4830
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4342
4831
  if (!untrustedIsObject(untrustedConfig)) {
4343
4832
  return null;
4344
4833
  }
4345
4834
  if (process.env.NODE_ENV !== 'production') {
4346
4835
  validateConfig(untrustedConfig, configPropertyNames);
4347
4836
  }
4348
- const config = typeCheckConfig$i(untrustedConfig);
4837
+ const config = typeCheckConfig$k(untrustedConfig);
4349
4838
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4350
4839
  return null;
4351
4840
  }
4352
4841
  return config;
4353
4842
  }
4354
- function adapterFragment$b(luvio, config) {
4355
- createResourceParams$i(config);
4356
- return select$q();
4843
+ function adapterFragment$d(luvio, config) {
4844
+ createResourceParams$k(config);
4845
+ return select$s();
4357
4846
  }
4358
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4359
- const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
4847
+ function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
4848
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
4360
4849
  config,
4361
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4850
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
4362
4851
  });
4363
4852
  return luvio.storeBroadcast().then(() => snapshot);
4364
4853
  }
4365
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
4366
- const snapshot = ingestError$b(luvio, resourceParams, response, {
4854
+ function onFetchResponseError$d(luvio, config, resourceParams, response) {
4855
+ const snapshot = ingestError$d(luvio, resourceParams, response, {
4367
4856
  config,
4368
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4857
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
4369
4858
  });
4370
4859
  return luvio.storeBroadcast().then(() => snapshot);
4371
4860
  }
4372
- function buildNetworkSnapshot$i(luvio, config, options) {
4373
- const resourceParams = createResourceParams$i(config);
4374
- const request = createResourceRequest$i(resourceParams);
4861
+ function buildNetworkSnapshot$k(luvio, config, options) {
4862
+ const resourceParams = createResourceParams$k(config);
4863
+ const request = createResourceRequest$k(resourceParams);
4375
4864
  return luvio.dispatchResourceRequest(request, options)
4376
4865
  .then((response) => {
4377
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4866
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
4378
4867
  const cache = new StoreKeyMap();
4379
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4868
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4380
4869
  return cache;
4381
4870
  });
4382
4871
  }, (response) => {
4383
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4872
+ return luvio.handleErrorResponse(() => onFetchResponseError$d(luvio, config, resourceParams, response));
4384
4873
  });
4385
4874
  }
4386
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4387
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4875
+ function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
4876
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
4388
4877
  }
4389
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4878
+ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
4390
4879
  const { luvio, config } = context;
4391
4880
  const selector = {
4392
- recordId: keyBuilder$u(luvio, config),
4393
- node: adapterFragment$b(luvio, config),
4881
+ recordId: keyBuilder$y(luvio, config),
4882
+ node: adapterFragment$d(luvio, config),
4394
4883
  variables: {},
4395
4884
  };
4396
4885
  const cacheSnapshot = storeLookup(selector, {
4397
4886
  config,
4398
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4887
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
4399
4888
  });
4400
4889
  return cacheSnapshot;
4401
4890
  }
4402
4891
  const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4403
- const config = validateAdapterConfig$i(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4892
+ const config = validateAdapterConfig$k(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4404
4893
  // Invalid or incomplete config
4405
4894
  if (config === null) {
4406
4895
  return null;
4407
4896
  }
4408
4897
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4409
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4898
+ buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
4410
4899
  };
4411
4900
 
4412
4901
  const TTL$1 = 500;
@@ -4484,7 +4973,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
4484
4973
  }
4485
4974
  return input;
4486
4975
  }
4487
- const select$p = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4976
+ const select$r = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4488
4977
  return {
4489
4978
  kind: 'Fragment',
4490
4979
  version: VERSION$a,
@@ -4494,13 +4983,13 @@ const select$p = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
4494
4983
  name: 'conversations',
4495
4984
  kind: 'Link',
4496
4985
  plural: true,
4497
- fragment: select$F()
4986
+ fragment: select$H()
4498
4987
  },
4499
4988
  {
4500
4989
  name: 'messages',
4501
4990
  kind: 'Link',
4502
4991
  plural: true,
4503
- fragment: select$z()
4992
+ fragment: select$B()
4504
4993
  },
4505
4994
  {
4506
4995
  name: 'teamId',
@@ -4567,22 +5056,22 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4567
5056
  }
4568
5057
  }
4569
5058
 
4570
- function select$o(luvio, params) {
4571
- return select$p();
5059
+ function select$q(luvio, params) {
5060
+ return select$r();
4572
5061
  }
4573
- function keyBuilder$t(luvio, params) {
5062
+ function keyBuilder$x(luvio, params) {
4574
5063
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
4575
5064
  }
4576
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4577
- getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
5065
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
5066
+ getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
4578
5067
  }
4579
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
5068
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4580
5069
  const { body } = response;
4581
- const key = keyBuilder$t(luvio, resourceParams);
5070
+ const key = keyBuilder$x(luvio, resourceParams);
4582
5071
  luvio.storeIngest(key, ingest$9, body);
4583
5072
  const snapshot = luvio.storeLookup({
4584
5073
  recordId: key,
4585
- node: select$o(),
5074
+ node: select$q(),
4586
5075
  variables: {},
4587
5076
  }, snapshotRefresh);
4588
5077
  if (process.env.NODE_ENV !== 'production') {
@@ -4593,8 +5082,8 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4593
5082
  deepFreeze(snapshot.data);
4594
5083
  return snapshot;
4595
5084
  }
4596
- function ingestError$a(luvio, params, error, snapshotRefresh) {
4597
- const key = keyBuilder$t(luvio, params);
5085
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
5086
+ const key = keyBuilder$x(luvio, params);
4598
5087
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4599
5088
  const storeMetadataParams = {
4600
5089
  ttl: TTL$1,
@@ -4605,7 +5094,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
4605
5094
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4606
5095
  return errorSnapshot;
4607
5096
  }
4608
- function createResourceRequest$h(config) {
5097
+ function createResourceRequest$j(config) {
4609
5098
  const headers = {};
4610
5099
  return {
4611
5100
  baseUri: '/services/data/v64.0',
@@ -4619,90 +5108,90 @@ function createResourceRequest$h(config) {
4619
5108
  };
4620
5109
  }
4621
5110
 
4622
- const adapterName$h = 'getRelatedThreads';
5111
+ const adapterName$j = 'getRelatedThreads';
4623
5112
  const getRelatedThreads_ConfigPropertyMetadata = [
4624
5113
  generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
4625
5114
  ];
4626
- const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getRelatedThreads_ConfigPropertyMetadata);
4627
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$n(getRelatedThreads_ConfigPropertyMetadata);
4628
- function keyBuilder$s(luvio, config) {
4629
- const resourceParams = createResourceParams$h(config);
4630
- return keyBuilder$t(luvio, resourceParams);
5115
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getRelatedThreads_ConfigPropertyMetadata);
5116
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$p(getRelatedThreads_ConfigPropertyMetadata);
5117
+ function keyBuilder$w(luvio, config) {
5118
+ const resourceParams = createResourceParams$j(config);
5119
+ return keyBuilder$x(luvio, resourceParams);
4631
5120
  }
4632
- function typeCheckConfig$h(untrustedConfig) {
5121
+ function typeCheckConfig$j(untrustedConfig) {
4633
5122
  const config = {};
4634
- typeCheckConfig$n(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
5123
+ typeCheckConfig$p(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4635
5124
  return config;
4636
5125
  }
4637
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
5126
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4638
5127
  if (!untrustedIsObject(untrustedConfig)) {
4639
5128
  return null;
4640
5129
  }
4641
5130
  if (process.env.NODE_ENV !== 'production') {
4642
5131
  validateConfig(untrustedConfig, configPropertyNames);
4643
5132
  }
4644
- const config = typeCheckConfig$h(untrustedConfig);
5133
+ const config = typeCheckConfig$j(untrustedConfig);
4645
5134
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4646
5135
  return null;
4647
5136
  }
4648
5137
  return config;
4649
5138
  }
4650
- function adapterFragment$a(luvio, config) {
4651
- createResourceParams$h(config);
4652
- return select$o();
5139
+ function adapterFragment$c(luvio, config) {
5140
+ createResourceParams$j(config);
5141
+ return select$q();
4653
5142
  }
4654
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4655
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
5143
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
5144
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
4656
5145
  config,
4657
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
5146
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4658
5147
  });
4659
5148
  return luvio.storeBroadcast().then(() => snapshot);
4660
5149
  }
4661
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
4662
- const snapshot = ingestError$a(luvio, resourceParams, response, {
5150
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
5151
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
4663
5152
  config,
4664
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
5153
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4665
5154
  });
4666
5155
  return luvio.storeBroadcast().then(() => snapshot);
4667
5156
  }
4668
- function buildNetworkSnapshot$h(luvio, config, options) {
4669
- const resourceParams = createResourceParams$h(config);
4670
- const request = createResourceRequest$h(resourceParams);
5157
+ function buildNetworkSnapshot$j(luvio, config, options) {
5158
+ const resourceParams = createResourceParams$j(config);
5159
+ const request = createResourceRequest$j(resourceParams);
4671
5160
  return luvio.dispatchResourceRequest(request, options)
4672
5161
  .then((response) => {
4673
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
5162
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
4674
5163
  const cache = new StoreKeyMap();
4675
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
5164
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4676
5165
  return cache;
4677
5166
  });
4678
5167
  }, (response) => {
4679
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
5168
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
4680
5169
  });
4681
5170
  }
4682
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4683
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
5171
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
5172
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
4684
5173
  }
4685
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
5174
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
4686
5175
  const { luvio, config } = context;
4687
5176
  const selector = {
4688
- recordId: keyBuilder$s(luvio, config),
4689
- node: adapterFragment$a(luvio, config),
5177
+ recordId: keyBuilder$w(luvio, config),
5178
+ node: adapterFragment$c(luvio, config),
4690
5179
  variables: {},
4691
5180
  };
4692
5181
  const cacheSnapshot = storeLookup(selector, {
4693
5182
  config,
4694
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
5183
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4695
5184
  });
4696
5185
  return cacheSnapshot;
4697
5186
  }
4698
5187
  const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
4699
- const config = validateAdapterConfig$h(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
5188
+ const config = validateAdapterConfig$j(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
4700
5189
  // Invalid or incomplete config
4701
5190
  if (config === null) {
4702
5191
  return null;
4703
5192
  }
4704
5193
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4705
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
5194
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
4706
5195
  };
4707
5196
 
4708
5197
  const VERSION$9 = "d6833ffbee3e599bfdef928466ea65af";
@@ -4734,7 +5223,7 @@ function validate$9(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
4734
5223
  })();
4735
5224
  return v_error === undefined ? null : v_error;
4736
5225
  }
4737
- const select$n = function SlackBridgeSlackTeamOutputRepresentationSelect() {
5226
+ const select$p = function SlackBridgeSlackTeamOutputRepresentationSelect() {
4738
5227
  return {
4739
5228
  kind: 'Fragment',
4740
5229
  version: VERSION$9,
@@ -4810,8 +5299,8 @@ const RepresentationType$8 = 'SlackBridgeDisplayLoginOutputRepresentation';
4810
5299
  function normalize$8(input, existing, path, luvio, store, timestamp) {
4811
5300
  return input;
4812
5301
  }
4813
- const select$m = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
4814
- const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$n();
5302
+ const select$o = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
5303
+ const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$p();
4815
5304
  return {
4816
5305
  kind: 'Fragment',
4817
5306
  version: VERSION$8,
@@ -4864,22 +5353,22 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4864
5353
  });
4865
5354
  }
4866
5355
 
4867
- function select$l(luvio, params) {
4868
- return select$m();
5356
+ function select$n(luvio, params) {
5357
+ return select$o();
4869
5358
  }
4870
- function keyBuilder$r(luvio, params) {
5359
+ function keyBuilder$v(luvio, params) {
4871
5360
  return keyPrefix + '::SlackBridgeDisplayLoginOutputRepresentation:(' + ')';
4872
5361
  }
4873
- function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4874
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r());
5362
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
5363
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$v());
4875
5364
  }
4876
- function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
5365
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4877
5366
  const { body } = response;
4878
- const key = keyBuilder$r();
5367
+ const key = keyBuilder$v();
4879
5368
  luvio.storeIngest(key, ingest$8, body);
4880
5369
  const snapshot = luvio.storeLookup({
4881
5370
  recordId: key,
4882
- node: select$l(),
5371
+ node: select$n(),
4883
5372
  variables: {},
4884
5373
  }, snapshotRefresh);
4885
5374
  if (process.env.NODE_ENV !== 'production') {
@@ -4890,8 +5379,8 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4890
5379
  deepFreeze(snapshot.data);
4891
5380
  return snapshot;
4892
5381
  }
4893
- function ingestError$9(luvio, params, error, snapshotRefresh) {
4894
- const key = keyBuilder$r();
5382
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
5383
+ const key = keyBuilder$v();
4895
5384
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4896
5385
  const storeMetadataParams = {
4897
5386
  ttl: TTL,
@@ -4902,7 +5391,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
4902
5391
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4903
5392
  return errorSnapshot;
4904
5393
  }
4905
- function createResourceRequest$g(config) {
5394
+ function createResourceRequest$i(config) {
4906
5395
  const headers = {};
4907
5396
  return {
4908
5397
  baseUri: '/services/data/v64.0',
@@ -4916,87 +5405,87 @@ function createResourceRequest$g(config) {
4916
5405
  };
4917
5406
  }
4918
5407
 
4919
- const adapterName$g = 'getSlackDisplayLogin';
5408
+ const adapterName$i = 'getSlackDisplayLogin';
4920
5409
  const getSlackDisplayLogin_ConfigPropertyMetadata = [];
4921
- const getSlackDisplayLogin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackDisplayLogin_ConfigPropertyMetadata);
4922
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$n(getSlackDisplayLogin_ConfigPropertyMetadata);
4923
- function keyBuilder$q(luvio, config) {
4924
- createResourceParams$g(config);
4925
- return keyBuilder$r();
5410
+ const getSlackDisplayLogin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackDisplayLogin_ConfigPropertyMetadata);
5411
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$p(getSlackDisplayLogin_ConfigPropertyMetadata);
5412
+ function keyBuilder$u(luvio, config) {
5413
+ createResourceParams$i(config);
5414
+ return keyBuilder$v();
4926
5415
  }
4927
- function typeCheckConfig$g(untrustedConfig) {
5416
+ function typeCheckConfig$i(untrustedConfig) {
4928
5417
  const config = {};
4929
5418
  return config;
4930
5419
  }
4931
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
5420
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4932
5421
  if (!untrustedIsObject(untrustedConfig)) {
4933
5422
  return null;
4934
5423
  }
4935
5424
  if (process.env.NODE_ENV !== 'production') {
4936
5425
  validateConfig(untrustedConfig, configPropertyNames);
4937
5426
  }
4938
- const config = typeCheckConfig$g();
5427
+ const config = typeCheckConfig$i();
4939
5428
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4940
5429
  return null;
4941
5430
  }
4942
5431
  return config;
4943
5432
  }
4944
- function adapterFragment$9(luvio, config) {
4945
- createResourceParams$g(config);
4946
- return select$l();
5433
+ function adapterFragment$b(luvio, config) {
5434
+ createResourceParams$i(config);
5435
+ return select$n();
4947
5436
  }
4948
- function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
4949
- const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
5437
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
5438
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
4950
5439
  config,
4951
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5440
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4952
5441
  });
4953
5442
  return luvio.storeBroadcast().then(() => snapshot);
4954
5443
  }
4955
- function onFetchResponseError$9(luvio, config, resourceParams, response) {
4956
- const snapshot = ingestError$9(luvio, resourceParams, response, {
5444
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
5445
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
4957
5446
  config,
4958
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5447
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4959
5448
  });
4960
5449
  return luvio.storeBroadcast().then(() => snapshot);
4961
5450
  }
4962
- function buildNetworkSnapshot$g(luvio, config, options) {
4963
- const resourceParams = createResourceParams$g(config);
4964
- const request = createResourceRequest$g();
5451
+ function buildNetworkSnapshot$i(luvio, config, options) {
5452
+ const resourceParams = createResourceParams$i(config);
5453
+ const request = createResourceRequest$i();
4965
5454
  return luvio.dispatchResourceRequest(request, options)
4966
5455
  .then((response) => {
4967
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
5456
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4968
5457
  const cache = new StoreKeyMap();
4969
- getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
5458
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4970
5459
  return cache;
4971
5460
  });
4972
5461
  }, (response) => {
4973
- return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
5462
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4974
5463
  });
4975
5464
  }
4976
- function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4977
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5465
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
5466
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4978
5467
  }
4979
- function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
5468
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4980
5469
  const { luvio, config } = context;
4981
5470
  const selector = {
4982
- recordId: keyBuilder$q(luvio, config),
4983
- node: adapterFragment$9(luvio, config),
5471
+ recordId: keyBuilder$u(luvio, config),
5472
+ node: adapterFragment$b(luvio, config),
4984
5473
  variables: {},
4985
5474
  };
4986
5475
  const cacheSnapshot = storeLookup(selector, {
4987
5476
  config,
4988
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5477
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4989
5478
  });
4990
5479
  return cacheSnapshot;
4991
5480
  }
4992
5481
  const getSlackDisplayLoginAdapterFactory = (luvio) => function SlackBridge__getSlackDisplayLogin(untrustedConfig, requestContext) {
4993
- const config = validateAdapterConfig$g(untrustedConfig, getSlackDisplayLogin_ConfigPropertyNames);
5482
+ const config = validateAdapterConfig$i(untrustedConfig, getSlackDisplayLogin_ConfigPropertyNames);
4994
5483
  // Invalid or incomplete config
4995
5484
  if (config === null) {
4996
5485
  return null;
4997
5486
  }
4998
5487
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4999
- buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
5488
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
5000
5489
  };
5001
5490
 
5002
5491
  const VERSION$7 = "32716a7de3c8810288467155d92e5124";
@@ -5019,19 +5508,19 @@ function validate$7(obj, path = 'SlackBridgeConversationMarkOutputRepresentation
5019
5508
  return v_error === undefined ? null : v_error;
5020
5509
  }
5021
5510
  const RepresentationType$7 = 'SlackBridgeConversationMarkOutputRepresentation';
5022
- function keyBuilder$p(luvio, config) {
5511
+ function keyBuilder$t(luvio, config) {
5023
5512
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
5024
5513
  }
5025
5514
  function keyBuilderFromType$4(luvio, object) {
5026
5515
  const keyParams = {
5027
5516
  channelId: object.channelId
5028
5517
  };
5029
- return keyBuilder$p(luvio, keyParams);
5518
+ return keyBuilder$t(luvio, keyParams);
5030
5519
  }
5031
5520
  function normalize$7(input, existing, path, luvio, store, timestamp) {
5032
5521
  return input;
5033
5522
  }
5034
- const select$k = function SlackBridgeConversationMarkOutputRepresentationSelect() {
5523
+ const select$m = function SlackBridgeConversationMarkOutputRepresentationSelect() {
5035
5524
  return {
5036
5525
  kind: 'Fragment',
5037
5526
  version: VERSION$7,
@@ -5083,19 +5572,19 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
5083
5572
  });
5084
5573
  }
5085
5574
 
5086
- function select$j(luvio, params) {
5087
- return select$k();
5575
+ function select$l(luvio, params) {
5576
+ return select$m();
5088
5577
  }
5089
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
5578
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
5090
5579
  getTypeCacheKeys$7(storeKeyMap, luvio, response);
5091
5580
  }
5092
- function ingestSuccess$c(luvio, resourceParams, response) {
5581
+ function ingestSuccess$e(luvio, resourceParams, response) {
5093
5582
  const { body } = response;
5094
5583
  const key = keyBuilderFromType$4(luvio, body);
5095
5584
  luvio.storeIngest(key, ingest$7, body);
5096
5585
  const snapshot = luvio.storeLookup({
5097
5586
  recordId: key,
5098
- node: select$j(),
5587
+ node: select$l(),
5099
5588
  variables: {},
5100
5589
  });
5101
5590
  if (process.env.NODE_ENV !== 'production') {
@@ -5106,7 +5595,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
5106
5595
  deepFreeze(snapshot.data);
5107
5596
  return snapshot;
5108
5597
  }
5109
- function createResourceRequest$f(config) {
5598
+ function createResourceRequest$h(config) {
5110
5599
  const headers = {};
5111
5600
  return {
5112
5601
  baseUri: '/services/data/v64.0',
@@ -5120,43 +5609,43 @@ function createResourceRequest$f(config) {
5120
5609
  };
5121
5610
  }
5122
5611
 
5123
- const adapterName$f = 'postSlackConversationMark';
5612
+ const adapterName$h = 'postSlackConversationMark';
5124
5613
  const postSlackConversationMark_ConfigPropertyMetadata = [
5125
5614
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5126
5615
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5127
5616
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
5128
5617
  ];
5129
- const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMark_ConfigPropertyMetadata);
5130
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$n(postSlackConversationMark_ConfigPropertyMetadata);
5131
- function typeCheckConfig$f(untrustedConfig) {
5618
+ const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, postSlackConversationMark_ConfigPropertyMetadata);
5619
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$p(postSlackConversationMark_ConfigPropertyMetadata);
5620
+ function typeCheckConfig$h(untrustedConfig) {
5132
5621
  const config = {};
5133
- typeCheckConfig$n(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
5622
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
5134
5623
  return config;
5135
5624
  }
5136
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5625
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
5137
5626
  if (!untrustedIsObject(untrustedConfig)) {
5138
5627
  return null;
5139
5628
  }
5140
5629
  if (process.env.NODE_ENV !== 'production') {
5141
5630
  validateConfig(untrustedConfig, configPropertyNames);
5142
5631
  }
5143
- const config = typeCheckConfig$f(untrustedConfig);
5632
+ const config = typeCheckConfig$h(untrustedConfig);
5144
5633
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5145
5634
  return null;
5146
5635
  }
5147
5636
  return config;
5148
5637
  }
5149
- function buildNetworkSnapshot$f(luvio, config, options) {
5150
- const resourceParams = createResourceParams$f(config);
5151
- const request = createResourceRequest$f(resourceParams);
5638
+ function buildNetworkSnapshot$h(luvio, config, options) {
5639
+ const resourceParams = createResourceParams$h(config);
5640
+ const request = createResourceRequest$h(resourceParams);
5152
5641
  return luvio.dispatchResourceRequest(request, options)
5153
5642
  .then((response) => {
5154
5643
  return luvio.handleSuccessResponse(() => {
5155
- const snapshot = ingestSuccess$c(luvio, resourceParams, response);
5644
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response);
5156
5645
  return luvio.storeBroadcast().then(() => snapshot);
5157
5646
  }, () => {
5158
5647
  const cache = new StoreKeyMap();
5159
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
5648
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
5160
5649
  return cache;
5161
5650
  });
5162
5651
  }, (response) => {
@@ -5166,12 +5655,12 @@ function buildNetworkSnapshot$f(luvio, config, options) {
5166
5655
  }
5167
5656
  const postSlackConversationMarkAdapterFactory = (luvio) => {
5168
5657
  return function postSlackConversationMark(untrustedConfig) {
5169
- const config = validateAdapterConfig$f(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
5658
+ const config = validateAdapterConfig$h(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
5170
5659
  // Invalid or incomplete config
5171
5660
  if (config === null) {
5172
5661
  throw new Error('Invalid config for "postSlackConversationMark"');
5173
5662
  }
5174
- return buildNetworkSnapshot$f(luvio, config);
5663
+ return buildNetworkSnapshot$h(luvio, config);
5175
5664
  };
5176
5665
  };
5177
5666
 
@@ -5228,19 +5717,19 @@ function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
5228
5717
  return v_error === undefined ? null : v_error;
5229
5718
  }
5230
5719
  const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
5231
- function keyBuilder$o(luvio, config) {
5720
+ function keyBuilder$s(luvio, config) {
5232
5721
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
5233
5722
  }
5234
5723
  function keyBuilderFromType$3(luvio, object) {
5235
5724
  const keyParams = {
5236
5725
  channelId: object.channelId
5237
5726
  };
5238
- return keyBuilder$o(luvio, keyParams);
5727
+ return keyBuilder$s(luvio, keyParams);
5239
5728
  }
5240
5729
  function normalize$6(input, existing, path, luvio, store, timestamp) {
5241
5730
  return input;
5242
5731
  }
5243
- const select$i = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5732
+ const select$k = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5244
5733
  return {
5245
5734
  kind: 'Fragment',
5246
5735
  version: VERSION$6,
@@ -5307,24 +5796,24 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
5307
5796
  });
5308
5797
  }
5309
5798
 
5310
- function select$h(luvio, params) {
5311
- return select$i();
5799
+ function select$j(luvio, params) {
5800
+ return select$k();
5312
5801
  }
5313
- function keyBuilder$n(luvio, params) {
5314
- return keyBuilder$o(luvio, {
5802
+ function keyBuilder$r(luvio, params) {
5803
+ return keyBuilder$s(luvio, {
5315
5804
  channelId: params.urlParams.channelId
5316
5805
  });
5317
5806
  }
5318
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
5807
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
5319
5808
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
5320
5809
  }
5321
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5810
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
5322
5811
  const { body } = response;
5323
- const key = keyBuilder$n(luvio, resourceParams);
5812
+ const key = keyBuilder$r(luvio, resourceParams);
5324
5813
  luvio.storeIngest(key, ingest$6, body);
5325
5814
  const snapshot = luvio.storeLookup({
5326
5815
  recordId: key,
5327
- node: select$h(),
5816
+ node: select$j(),
5328
5817
  variables: {},
5329
5818
  }, snapshotRefresh);
5330
5819
  if (process.env.NODE_ENV !== 'production') {
@@ -5335,13 +5824,13 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5335
5824
  deepFreeze(snapshot.data);
5336
5825
  return snapshot;
5337
5826
  }
5338
- function ingestError$8(luvio, params, error, snapshotRefresh) {
5339
- const key = keyBuilder$n(luvio, params);
5827
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
5828
+ const key = keyBuilder$r(luvio, params);
5340
5829
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5341
5830
  luvio.storeIngestError(key, errorSnapshot);
5342
5831
  return errorSnapshot;
5343
5832
  }
5344
- function createResourceRequest$e(config) {
5833
+ function createResourceRequest$g(config) {
5345
5834
  const headers = {};
5346
5835
  return {
5347
5836
  baseUri: '/services/data/v64.0',
@@ -5355,106 +5844,106 @@ function createResourceRequest$e(config) {
5355
5844
  };
5356
5845
  }
5357
5846
 
5358
- const adapterName$e = 'getSlackConversationMembers';
5847
+ const adapterName$g = 'getSlackConversationMembers';
5359
5848
  const getSlackConversationMembers_ConfigPropertyMetadata = [
5360
5849
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5361
5850
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5362
5851
  ];
5363
- const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMembers_ConfigPropertyMetadata);
5364
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$n(getSlackConversationMembers_ConfigPropertyMetadata);
5365
- function keyBuilder$m(luvio, config) {
5366
- const resourceParams = createResourceParams$e(config);
5367
- return keyBuilder$n(luvio, resourceParams);
5852
+ const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMembers_ConfigPropertyMetadata);
5853
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$p(getSlackConversationMembers_ConfigPropertyMetadata);
5854
+ function keyBuilder$q(luvio, config) {
5855
+ const resourceParams = createResourceParams$g(config);
5856
+ return keyBuilder$r(luvio, resourceParams);
5368
5857
  }
5369
- function typeCheckConfig$e(untrustedConfig) {
5858
+ function typeCheckConfig$g(untrustedConfig) {
5370
5859
  const config = {};
5371
- typeCheckConfig$n(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5860
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5372
5861
  return config;
5373
5862
  }
5374
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5863
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
5375
5864
  if (!untrustedIsObject(untrustedConfig)) {
5376
5865
  return null;
5377
5866
  }
5378
5867
  if (process.env.NODE_ENV !== 'production') {
5379
5868
  validateConfig(untrustedConfig, configPropertyNames);
5380
5869
  }
5381
- const config = typeCheckConfig$e(untrustedConfig);
5870
+ const config = typeCheckConfig$g(untrustedConfig);
5382
5871
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5383
5872
  return null;
5384
5873
  }
5385
5874
  return config;
5386
5875
  }
5387
- function adapterFragment$8(luvio, config) {
5388
- createResourceParams$e(config);
5389
- return select$h();
5876
+ function adapterFragment$a(luvio, config) {
5877
+ createResourceParams$g(config);
5878
+ return select$j();
5390
5879
  }
5391
- function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
5392
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
5880
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
5881
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
5393
5882
  config,
5394
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5883
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5395
5884
  });
5396
5885
  return luvio.storeBroadcast().then(() => snapshot);
5397
5886
  }
5398
- function onFetchResponseError$8(luvio, config, resourceParams, response) {
5399
- const snapshot = ingestError$8(luvio, resourceParams, response, {
5887
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
5888
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
5400
5889
  config,
5401
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5890
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5402
5891
  });
5403
5892
  return luvio.storeBroadcast().then(() => snapshot);
5404
5893
  }
5405
- function buildNetworkSnapshot$e(luvio, config, options) {
5406
- const resourceParams = createResourceParams$e(config);
5407
- const request = createResourceRequest$e(resourceParams);
5894
+ function buildNetworkSnapshot$g(luvio, config, options) {
5895
+ const resourceParams = createResourceParams$g(config);
5896
+ const request = createResourceRequest$g(resourceParams);
5408
5897
  return luvio.dispatchResourceRequest(request, options)
5409
5898
  .then((response) => {
5410
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
5899
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
5411
5900
  const cache = new StoreKeyMap();
5412
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
5901
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
5413
5902
  return cache;
5414
5903
  });
5415
5904
  }, (response) => {
5416
- return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
5905
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
5417
5906
  });
5418
5907
  }
5419
- function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5420
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5908
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
5909
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5421
5910
  }
5422
- function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5911
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
5423
5912
  const { luvio, config } = context;
5424
5913
  const selector = {
5425
- recordId: keyBuilder$m(luvio, config),
5426
- node: adapterFragment$8(luvio, config),
5914
+ recordId: keyBuilder$q(luvio, config),
5915
+ node: adapterFragment$a(luvio, config),
5427
5916
  variables: {},
5428
5917
  };
5429
5918
  const cacheSnapshot = storeLookup(selector, {
5430
5919
  config,
5431
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5920
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5432
5921
  });
5433
5922
  return cacheSnapshot;
5434
5923
  }
5435
5924
  const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
5436
- const config = validateAdapterConfig$e(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
5925
+ const config = validateAdapterConfig$g(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
5437
5926
  // Invalid or incomplete config
5438
5927
  if (config === null) {
5439
5928
  return null;
5440
5929
  }
5441
5930
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5442
- buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
5931
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
5443
5932
  };
5444
5933
 
5445
- function select$g(luvio, params) {
5446
- return select$i();
5934
+ function select$i(luvio, params) {
5935
+ return select$k();
5447
5936
  }
5448
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5937
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
5449
5938
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
5450
5939
  }
5451
- function ingestSuccess$a(luvio, resourceParams, response) {
5940
+ function ingestSuccess$c(luvio, resourceParams, response) {
5452
5941
  const { body } = response;
5453
5942
  const key = keyBuilderFromType$3(luvio, body);
5454
5943
  luvio.storeIngest(key, ingest$6, body);
5455
5944
  const snapshot = luvio.storeLookup({
5456
5945
  recordId: key,
5457
- node: select$g(),
5946
+ node: select$i(),
5458
5947
  variables: {},
5459
5948
  });
5460
5949
  if (process.env.NODE_ENV !== 'production') {
@@ -5465,7 +5954,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
5465
5954
  deepFreeze(snapshot.data);
5466
5955
  return snapshot;
5467
5956
  }
5468
- function createResourceRequest$d(config) {
5957
+ function createResourceRequest$f(config) {
5469
5958
  const headers = {};
5470
5959
  return {
5471
5960
  baseUri: '/services/data/v64.0',
@@ -5479,43 +5968,43 @@ function createResourceRequest$d(config) {
5479
5968
  };
5480
5969
  }
5481
5970
 
5482
- const adapterName$d = 'postSlackConversationMembers';
5971
+ const adapterName$f = 'postSlackConversationMembers';
5483
5972
  const postSlackConversationMembers_ConfigPropertyMetadata = [
5484
5973
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5485
5974
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5486
5975
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
5487
5976
  ];
5488
- const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postSlackConversationMembers_ConfigPropertyMetadata);
5489
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$n(postSlackConversationMembers_ConfigPropertyMetadata);
5490
- function typeCheckConfig$d(untrustedConfig) {
5977
+ const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMembers_ConfigPropertyMetadata);
5978
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$p(postSlackConversationMembers_ConfigPropertyMetadata);
5979
+ function typeCheckConfig$f(untrustedConfig) {
5491
5980
  const config = {};
5492
- typeCheckConfig$n(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5981
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5493
5982
  return config;
5494
5983
  }
5495
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5984
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5496
5985
  if (!untrustedIsObject(untrustedConfig)) {
5497
5986
  return null;
5498
5987
  }
5499
5988
  if (process.env.NODE_ENV !== 'production') {
5500
5989
  validateConfig(untrustedConfig, configPropertyNames);
5501
5990
  }
5502
- const config = typeCheckConfig$d(untrustedConfig);
5991
+ const config = typeCheckConfig$f(untrustedConfig);
5503
5992
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5504
5993
  return null;
5505
5994
  }
5506
5995
  return config;
5507
5996
  }
5508
- function buildNetworkSnapshot$d(luvio, config, options) {
5509
- const resourceParams = createResourceParams$d(config);
5510
- const request = createResourceRequest$d(resourceParams);
5997
+ function buildNetworkSnapshot$f(luvio, config, options) {
5998
+ const resourceParams = createResourceParams$f(config);
5999
+ const request = createResourceRequest$f(resourceParams);
5511
6000
  return luvio.dispatchResourceRequest(request, options)
5512
6001
  .then((response) => {
5513
6002
  return luvio.handleSuccessResponse(() => {
5514
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
6003
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
5515
6004
  return luvio.storeBroadcast().then(() => snapshot);
5516
6005
  }, () => {
5517
6006
  const cache = new StoreKeyMap();
5518
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
6007
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
5519
6008
  return cache;
5520
6009
  });
5521
6010
  }, (response) => {
@@ -5525,12 +6014,12 @@ function buildNetworkSnapshot$d(luvio, config, options) {
5525
6014
  }
5526
6015
  const postSlackConversationMembersAdapterFactory = (luvio) => {
5527
6016
  return function postSlackConversationMembers(untrustedConfig) {
5528
- const config = validateAdapterConfig$d(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
6017
+ const config = validateAdapterConfig$f(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
5529
6018
  // Invalid or incomplete config
5530
6019
  if (config === null) {
5531
6020
  throw new Error('Invalid config for "postSlackConversationMembers"');
5532
6021
  }
5533
- return buildNetworkSnapshot$d(luvio, config);
6022
+ return buildNetworkSnapshot$f(luvio, config);
5534
6023
  };
5535
6024
  };
5536
6025
 
@@ -5554,19 +6043,19 @@ function validate$5(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
5554
6043
  return v_error === undefined ? null : v_error;
5555
6044
  }
5556
6045
  const RepresentationType$5 = 'SlackBridgeConversationMemberOutputRepresentation';
5557
- function keyBuilder$l(luvio, config) {
6046
+ function keyBuilder$p(luvio, config) {
5558
6047
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.channelId;
5559
6048
  }
5560
6049
  function keyBuilderFromType$2(luvio, object) {
5561
6050
  const keyParams = {
5562
6051
  channelId: object.channelId
5563
6052
  };
5564
- return keyBuilder$l(luvio, keyParams);
6053
+ return keyBuilder$p(luvio, keyParams);
5565
6054
  }
5566
6055
  function normalize$5(input, existing, path, luvio, store, timestamp) {
5567
6056
  return input;
5568
6057
  }
5569
- const select$f = function SlackBridgeConversationMemberOutputRepresentationSelect() {
6058
+ const select$h = function SlackBridgeConversationMemberOutputRepresentationSelect() {
5570
6059
  return {
5571
6060
  kind: 'Fragment',
5572
6061
  version: VERSION$5,
@@ -5618,13 +6107,13 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5618
6107
  });
5619
6108
  }
5620
6109
 
5621
- function keyBuilder$k(luvio, params) {
5622
- return keyBuilder$l(luvio, {
6110
+ function keyBuilder$o(luvio, params) {
6111
+ return keyBuilder$p(luvio, {
5623
6112
  channelId: params.urlParams.channelId
5624
6113
  });
5625
6114
  }
5626
- function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5627
- const key = keyBuilder$k(luvio, resourceParams);
6115
+ function getResponseCacheKeys$e(cacheKeyMap, luvio, resourceParams) {
6116
+ const key = keyBuilder$o(luvio, resourceParams);
5628
6117
  cacheKeyMap.set(key, {
5629
6118
  namespace: keyPrefix,
5630
6119
  representationName: RepresentationType$5,
@@ -5632,10 +6121,10 @@ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5632
6121
  });
5633
6122
  }
5634
6123
  function evictSuccess$2(luvio, resourceParams) {
5635
- const key = keyBuilder$k(luvio, resourceParams);
6124
+ const key = keyBuilder$o(luvio, resourceParams);
5636
6125
  luvio.storeEvict(key);
5637
6126
  }
5638
- function createResourceRequest$c(config) {
6127
+ function createResourceRequest$e(config) {
5639
6128
  const headers = {};
5640
6129
  return {
5641
6130
  baseUri: '/services/data/v64.0',
@@ -5649,35 +6138,35 @@ function createResourceRequest$c(config) {
5649
6138
  };
5650
6139
  }
5651
6140
 
5652
- const adapterName$c = 'deleteSlackConversationMember';
6141
+ const adapterName$e = 'deleteSlackConversationMember';
5653
6142
  const deleteSlackConversationMember_ConfigPropertyMetadata = [
5654
6143
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5655
6144
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5656
6145
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5657
6146
  ];
5658
- const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackConversationMember_ConfigPropertyMetadata);
5659
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$n(deleteSlackConversationMember_ConfigPropertyMetadata);
5660
- function typeCheckConfig$c(untrustedConfig) {
6147
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, deleteSlackConversationMember_ConfigPropertyMetadata);
6148
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$p(deleteSlackConversationMember_ConfigPropertyMetadata);
6149
+ function typeCheckConfig$e(untrustedConfig) {
5661
6150
  const config = {};
5662
- typeCheckConfig$n(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
6151
+ typeCheckConfig$p(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5663
6152
  return config;
5664
6153
  }
5665
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
6154
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5666
6155
  if (!untrustedIsObject(untrustedConfig)) {
5667
6156
  return null;
5668
6157
  }
5669
6158
  if (process.env.NODE_ENV !== 'production') {
5670
6159
  validateConfig(untrustedConfig, configPropertyNames);
5671
6160
  }
5672
- const config = typeCheckConfig$c(untrustedConfig);
6161
+ const config = typeCheckConfig$e(untrustedConfig);
5673
6162
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5674
6163
  return null;
5675
6164
  }
5676
6165
  return config;
5677
6166
  }
5678
- function buildNetworkSnapshot$c(luvio, config, options) {
5679
- const resourceParams = createResourceParams$c(config);
5680
- const request = createResourceRequest$c(resourceParams);
6167
+ function buildNetworkSnapshot$e(luvio, config, options) {
6168
+ const resourceParams = createResourceParams$e(config);
6169
+ const request = createResourceRequest$e(resourceParams);
5681
6170
  return luvio.dispatchResourceRequest(request, options)
5682
6171
  .then(() => {
5683
6172
  return luvio.handleSuccessResponse(() => {
@@ -5685,7 +6174,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5685
6174
  return luvio.storeBroadcast();
5686
6175
  }, () => {
5687
6176
  const cache = new StoreKeyMap();
5688
- getResponseCacheKeys$c(cache, luvio, resourceParams);
6177
+ getResponseCacheKeys$e(cache, luvio, resourceParams);
5689
6178
  return cache;
5690
6179
  });
5691
6180
  }, (response) => {
@@ -5695,33 +6184,33 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5695
6184
  }
5696
6185
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
5697
6186
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
5698
- const config = validateAdapterConfig$c(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
6187
+ const config = validateAdapterConfig$e(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
5699
6188
  // Invalid or incomplete config
5700
6189
  if (config === null) {
5701
- throw new Error(`Invalid config for "${adapterName$c}"`);
6190
+ throw new Error(`Invalid config for "${adapterName$e}"`);
5702
6191
  }
5703
- return buildNetworkSnapshot$c(luvio, config);
6192
+ return buildNetworkSnapshot$e(luvio, config);
5704
6193
  };
5705
6194
  };
5706
6195
 
5707
- function select$e(luvio, params) {
5708
- return select$f();
6196
+ function select$g(luvio, params) {
6197
+ return select$h();
5709
6198
  }
5710
- function keyBuilder$j(luvio, params) {
5711
- return keyBuilder$l(luvio, {
6199
+ function keyBuilder$n(luvio, params) {
6200
+ return keyBuilder$p(luvio, {
5712
6201
  channelId: params.urlParams.channelId
5713
6202
  });
5714
6203
  }
5715
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
6204
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5716
6205
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
5717
6206
  }
5718
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
6207
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5719
6208
  const { body } = response;
5720
- const key = keyBuilder$j(luvio, resourceParams);
6209
+ const key = keyBuilder$n(luvio, resourceParams);
5721
6210
  luvio.storeIngest(key, ingest$5, body);
5722
6211
  const snapshot = luvio.storeLookup({
5723
6212
  recordId: key,
5724
- node: select$e(),
6213
+ node: select$g(),
5725
6214
  variables: {},
5726
6215
  }, snapshotRefresh);
5727
6216
  if (process.env.NODE_ENV !== 'production') {
@@ -5732,13 +6221,13 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5732
6221
  deepFreeze(snapshot.data);
5733
6222
  return snapshot;
5734
6223
  }
5735
- function ingestError$7(luvio, params, error, snapshotRefresh) {
5736
- const key = keyBuilder$j(luvio, params);
6224
+ function ingestError$9(luvio, params, error, snapshotRefresh) {
6225
+ const key = keyBuilder$n(luvio, params);
5737
6226
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5738
6227
  luvio.storeIngestError(key, errorSnapshot);
5739
6228
  return errorSnapshot;
5740
6229
  }
5741
- function createResourceRequest$b(config) {
6230
+ function createResourceRequest$d(config) {
5742
6231
  const headers = {};
5743
6232
  return {
5744
6233
  baseUri: '/services/data/v64.0',
@@ -5752,92 +6241,92 @@ function createResourceRequest$b(config) {
5752
6241
  };
5753
6242
  }
5754
6243
 
5755
- const adapterName$b = 'getSlackConversationMember';
6244
+ const adapterName$d = 'getSlackConversationMember';
5756
6245
  const getSlackConversationMember_ConfigPropertyMetadata = [
5757
6246
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5758
6247
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5759
6248
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5760
6249
  ];
5761
- const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackConversationMember_ConfigPropertyMetadata);
5762
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$n(getSlackConversationMember_ConfigPropertyMetadata);
5763
- function keyBuilder$i(luvio, config) {
5764
- const resourceParams = createResourceParams$b(config);
5765
- return keyBuilder$j(luvio, resourceParams);
6250
+ const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackConversationMember_ConfigPropertyMetadata);
6251
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$p(getSlackConversationMember_ConfigPropertyMetadata);
6252
+ function keyBuilder$m(luvio, config) {
6253
+ const resourceParams = createResourceParams$d(config);
6254
+ return keyBuilder$n(luvio, resourceParams);
5766
6255
  }
5767
- function typeCheckConfig$b(untrustedConfig) {
6256
+ function typeCheckConfig$d(untrustedConfig) {
5768
6257
  const config = {};
5769
- typeCheckConfig$n(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
6258
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5770
6259
  return config;
5771
6260
  }
5772
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
6261
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5773
6262
  if (!untrustedIsObject(untrustedConfig)) {
5774
6263
  return null;
5775
6264
  }
5776
6265
  if (process.env.NODE_ENV !== 'production') {
5777
6266
  validateConfig(untrustedConfig, configPropertyNames);
5778
6267
  }
5779
- const config = typeCheckConfig$b(untrustedConfig);
6268
+ const config = typeCheckConfig$d(untrustedConfig);
5780
6269
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5781
6270
  return null;
5782
6271
  }
5783
6272
  return config;
5784
6273
  }
5785
- function adapterFragment$7(luvio, config) {
5786
- createResourceParams$b(config);
5787
- return select$e();
6274
+ function adapterFragment$9(luvio, config) {
6275
+ createResourceParams$d(config);
6276
+ return select$g();
5788
6277
  }
5789
- function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
5790
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
6278
+ function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
6279
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
5791
6280
  config,
5792
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6281
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5793
6282
  });
5794
6283
  return luvio.storeBroadcast().then(() => snapshot);
5795
6284
  }
5796
- function onFetchResponseError$7(luvio, config, resourceParams, response) {
5797
- const snapshot = ingestError$7(luvio, resourceParams, response, {
6285
+ function onFetchResponseError$9(luvio, config, resourceParams, response) {
6286
+ const snapshot = ingestError$9(luvio, resourceParams, response, {
5798
6287
  config,
5799
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6288
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5800
6289
  });
5801
6290
  return luvio.storeBroadcast().then(() => snapshot);
5802
6291
  }
5803
- function buildNetworkSnapshot$b(luvio, config, options) {
5804
- const resourceParams = createResourceParams$b(config);
5805
- const request = createResourceRequest$b(resourceParams);
6292
+ function buildNetworkSnapshot$d(luvio, config, options) {
6293
+ const resourceParams = createResourceParams$d(config);
6294
+ const request = createResourceRequest$d(resourceParams);
5806
6295
  return luvio.dispatchResourceRequest(request, options)
5807
6296
  .then((response) => {
5808
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
6297
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
5809
6298
  const cache = new StoreKeyMap();
5810
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
6299
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
5811
6300
  return cache;
5812
6301
  });
5813
6302
  }, (response) => {
5814
- return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
6303
+ return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
5815
6304
  });
5816
6305
  }
5817
- function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5818
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6306
+ function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
6307
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5819
6308
  }
5820
- function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
6309
+ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
5821
6310
  const { luvio, config } = context;
5822
6311
  const selector = {
5823
- recordId: keyBuilder$i(luvio, config),
5824
- node: adapterFragment$7(luvio, config),
6312
+ recordId: keyBuilder$m(luvio, config),
6313
+ node: adapterFragment$9(luvio, config),
5825
6314
  variables: {},
5826
6315
  };
5827
6316
  const cacheSnapshot = storeLookup(selector, {
5828
6317
  config,
5829
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6318
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5830
6319
  });
5831
6320
  return cacheSnapshot;
5832
6321
  }
5833
6322
  const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
5834
- const config = validateAdapterConfig$b(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
6323
+ const config = validateAdapterConfig$d(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
5835
6324
  // Invalid or incomplete config
5836
6325
  if (config === null) {
5837
6326
  return null;
5838
6327
  }
5839
6328
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5840
- buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
6329
+ buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
5841
6330
  };
5842
6331
 
5843
6332
  const VERSION$4 = "605674abcbc0dad7e2707e4e00e8d4cd";
@@ -5865,19 +6354,19 @@ function validate$4(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
5865
6354
  return v_error === undefined ? null : v_error;
5866
6355
  }
5867
6356
  const RepresentationType$4 = 'SlackBridgeMessageFragmentOutputRepresentation';
5868
- function keyBuilder$h(luvio, config) {
6357
+ function keyBuilder$l(luvio, config) {
5869
6358
  return keyPrefix + '::' + RepresentationType$4 + ':' + config.channelId;
5870
6359
  }
5871
6360
  function keyBuilderFromType$1(luvio, object) {
5872
6361
  const keyParams = {
5873
6362
  channelId: object.channelId
5874
6363
  };
5875
- return keyBuilder$h(luvio, keyParams);
6364
+ return keyBuilder$l(luvio, keyParams);
5876
6365
  }
5877
6366
  function normalize$4(input, existing, path, luvio, store, timestamp) {
5878
6367
  return input;
5879
6368
  }
5880
- const select$d = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
6369
+ const select$f = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
5881
6370
  return {
5882
6371
  kind: 'Fragment',
5883
6372
  version: VERSION$4,
@@ -5938,13 +6427,13 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5938
6427
  });
5939
6428
  }
5940
6429
 
5941
- function keyBuilder$g(luvio, params) {
5942
- return keyBuilder$h(luvio, {
6430
+ function keyBuilder$k(luvio, params) {
6431
+ return keyBuilder$l(luvio, {
5943
6432
  channelId: params.urlParams.channelId
5944
6433
  });
5945
6434
  }
5946
- function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
5947
- const key = keyBuilder$g(luvio, resourceParams);
6435
+ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
6436
+ const key = keyBuilder$k(luvio, resourceParams);
5948
6437
  cacheKeyMap.set(key, {
5949
6438
  namespace: keyPrefix,
5950
6439
  representationName: RepresentationType$4,
@@ -5952,10 +6441,10 @@ function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
5952
6441
  });
5953
6442
  }
5954
6443
  function evictSuccess$1(luvio, resourceParams) {
5955
- const key = keyBuilder$g(luvio, resourceParams);
6444
+ const key = keyBuilder$k(luvio, resourceParams);
5956
6445
  luvio.storeEvict(key);
5957
6446
  }
5958
- function createResourceRequest$a(config) {
6447
+ function createResourceRequest$c(config) {
5959
6448
  const headers = {};
5960
6449
  return {
5961
6450
  baseUri: '/services/data/v64.0',
@@ -5969,35 +6458,35 @@ function createResourceRequest$a(config) {
5969
6458
  };
5970
6459
  }
5971
6460
 
5972
- const adapterName$a = 'deleteSlackMessage';
6461
+ const adapterName$c = 'deleteSlackMessage';
5973
6462
  const deleteSlackMessage_ConfigPropertyMetadata = [
5974
6463
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5975
6464
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5976
6465
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5977
6466
  ];
5978
- const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSlackMessage_ConfigPropertyMetadata);
5979
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$n(deleteSlackMessage_ConfigPropertyMetadata);
5980
- function typeCheckConfig$a(untrustedConfig) {
6467
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackMessage_ConfigPropertyMetadata);
6468
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$p(deleteSlackMessage_ConfigPropertyMetadata);
6469
+ function typeCheckConfig$c(untrustedConfig) {
5981
6470
  const config = {};
5982
- typeCheckConfig$n(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
6471
+ typeCheckConfig$p(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5983
6472
  return config;
5984
6473
  }
5985
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
6474
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5986
6475
  if (!untrustedIsObject(untrustedConfig)) {
5987
6476
  return null;
5988
6477
  }
5989
6478
  if (process.env.NODE_ENV !== 'production') {
5990
6479
  validateConfig(untrustedConfig, configPropertyNames);
5991
6480
  }
5992
- const config = typeCheckConfig$a(untrustedConfig);
6481
+ const config = typeCheckConfig$c(untrustedConfig);
5993
6482
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5994
6483
  return null;
5995
6484
  }
5996
6485
  return config;
5997
6486
  }
5998
- function buildNetworkSnapshot$a(luvio, config, options) {
5999
- const resourceParams = createResourceParams$a(config);
6000
- const request = createResourceRequest$a(resourceParams);
6487
+ function buildNetworkSnapshot$c(luvio, config, options) {
6488
+ const resourceParams = createResourceParams$c(config);
6489
+ const request = createResourceRequest$c(resourceParams);
6001
6490
  return luvio.dispatchResourceRequest(request, options)
6002
6491
  .then(() => {
6003
6492
  return luvio.handleSuccessResponse(() => {
@@ -6005,7 +6494,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6005
6494
  return luvio.storeBroadcast();
6006
6495
  }, () => {
6007
6496
  const cache = new StoreKeyMap();
6008
- getResponseCacheKeys$a(cache, luvio, resourceParams);
6497
+ getResponseCacheKeys$c(cache, luvio, resourceParams);
6009
6498
  return cache;
6010
6499
  });
6011
6500
  }, (response) => {
@@ -6015,33 +6504,33 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6015
6504
  }
6016
6505
  const deleteSlackMessageAdapterFactory = (luvio) => {
6017
6506
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
6018
- const config = validateAdapterConfig$a(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
6507
+ const config = validateAdapterConfig$c(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
6019
6508
  // Invalid or incomplete config
6020
6509
  if (config === null) {
6021
- throw new Error(`Invalid config for "${adapterName$a}"`);
6510
+ throw new Error(`Invalid config for "${adapterName$c}"`);
6022
6511
  }
6023
- return buildNetworkSnapshot$a(luvio, config);
6512
+ return buildNetworkSnapshot$c(luvio, config);
6024
6513
  };
6025
6514
  };
6026
6515
 
6027
- function select$c(luvio, params) {
6028
- return select$d();
6516
+ function select$e(luvio, params) {
6517
+ return select$f();
6029
6518
  }
6030
- function keyBuilder$f(luvio, params) {
6031
- return keyBuilder$h(luvio, {
6519
+ function keyBuilder$j(luvio, params) {
6520
+ return keyBuilder$l(luvio, {
6032
6521
  channelId: params.urlParams.channelId
6033
6522
  });
6034
6523
  }
6035
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
6524
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
6036
6525
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
6037
6526
  }
6038
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
6527
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
6039
6528
  const { body } = response;
6040
- const key = keyBuilder$f(luvio, resourceParams);
6529
+ const key = keyBuilder$j(luvio, resourceParams);
6041
6530
  luvio.storeIngest(key, ingest$4, body);
6042
6531
  const snapshot = luvio.storeLookup({
6043
6532
  recordId: key,
6044
- node: select$c(),
6533
+ node: select$e(),
6045
6534
  variables: {},
6046
6535
  }, snapshotRefresh);
6047
6536
  if (process.env.NODE_ENV !== 'production') {
@@ -6052,13 +6541,13 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
6052
6541
  deepFreeze(snapshot.data);
6053
6542
  return snapshot;
6054
6543
  }
6055
- function ingestError$6(luvio, params, error, snapshotRefresh) {
6056
- const key = keyBuilder$f(luvio, params);
6544
+ function ingestError$8(luvio, params, error, snapshotRefresh) {
6545
+ const key = keyBuilder$j(luvio, params);
6057
6546
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6058
6547
  luvio.storeIngestError(key, errorSnapshot);
6059
6548
  return errorSnapshot;
6060
6549
  }
6061
- function createResourceRequest$9(config) {
6550
+ function createResourceRequest$b(config) {
6062
6551
  const headers = {};
6063
6552
  return {
6064
6553
  baseUri: '/services/data/v64.0',
@@ -6072,107 +6561,107 @@ function createResourceRequest$9(config) {
6072
6561
  };
6073
6562
  }
6074
6563
 
6075
- const adapterName$9 = 'getSlackMessage';
6564
+ const adapterName$b = 'getSlackMessage';
6076
6565
  const getSlackMessage_ConfigPropertyMetadata = [
6077
6566
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6078
6567
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6079
6568
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6080
6569
  ];
6081
- const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackMessage_ConfigPropertyMetadata);
6082
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$n(getSlackMessage_ConfigPropertyMetadata);
6083
- function keyBuilder$e(luvio, config) {
6084
- const resourceParams = createResourceParams$9(config);
6085
- return keyBuilder$f(luvio, resourceParams);
6570
+ const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackMessage_ConfigPropertyMetadata);
6571
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$p(getSlackMessage_ConfigPropertyMetadata);
6572
+ function keyBuilder$i(luvio, config) {
6573
+ const resourceParams = createResourceParams$b(config);
6574
+ return keyBuilder$j(luvio, resourceParams);
6086
6575
  }
6087
- function typeCheckConfig$9(untrustedConfig) {
6576
+ function typeCheckConfig$b(untrustedConfig) {
6088
6577
  const config = {};
6089
- typeCheckConfig$n(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
6578
+ typeCheckConfig$p(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
6090
6579
  return config;
6091
6580
  }
6092
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
6581
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
6093
6582
  if (!untrustedIsObject(untrustedConfig)) {
6094
6583
  return null;
6095
6584
  }
6096
6585
  if (process.env.NODE_ENV !== 'production') {
6097
6586
  validateConfig(untrustedConfig, configPropertyNames);
6098
6587
  }
6099
- const config = typeCheckConfig$9(untrustedConfig);
6588
+ const config = typeCheckConfig$b(untrustedConfig);
6100
6589
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6101
6590
  return null;
6102
6591
  }
6103
6592
  return config;
6104
6593
  }
6105
- function adapterFragment$6(luvio, config) {
6106
- createResourceParams$9(config);
6107
- return select$c();
6594
+ function adapterFragment$8(luvio, config) {
6595
+ createResourceParams$b(config);
6596
+ return select$e();
6108
6597
  }
6109
- function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
6110
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
6598
+ function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
6599
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
6111
6600
  config,
6112
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6601
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6113
6602
  });
6114
6603
  return luvio.storeBroadcast().then(() => snapshot);
6115
6604
  }
6116
- function onFetchResponseError$6(luvio, config, resourceParams, response) {
6117
- const snapshot = ingestError$6(luvio, resourceParams, response, {
6605
+ function onFetchResponseError$8(luvio, config, resourceParams, response) {
6606
+ const snapshot = ingestError$8(luvio, resourceParams, response, {
6118
6607
  config,
6119
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6608
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6120
6609
  });
6121
6610
  return luvio.storeBroadcast().then(() => snapshot);
6122
6611
  }
6123
- function buildNetworkSnapshot$9(luvio, config, options) {
6124
- const resourceParams = createResourceParams$9(config);
6125
- const request = createResourceRequest$9(resourceParams);
6612
+ function buildNetworkSnapshot$b(luvio, config, options) {
6613
+ const resourceParams = createResourceParams$b(config);
6614
+ const request = createResourceRequest$b(resourceParams);
6126
6615
  return luvio.dispatchResourceRequest(request, options)
6127
6616
  .then((response) => {
6128
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
6617
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
6129
6618
  const cache = new StoreKeyMap();
6130
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
6619
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
6131
6620
  return cache;
6132
6621
  });
6133
6622
  }, (response) => {
6134
- return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
6623
+ return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
6135
6624
  });
6136
6625
  }
6137
- function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
6138
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6626
+ function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
6627
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6139
6628
  }
6140
- function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
6629
+ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
6141
6630
  const { luvio, config } = context;
6142
6631
  const selector = {
6143
- recordId: keyBuilder$e(luvio, config),
6144
- node: adapterFragment$6(luvio, config),
6632
+ recordId: keyBuilder$i(luvio, config),
6633
+ node: adapterFragment$8(luvio, config),
6145
6634
  variables: {},
6146
6635
  };
6147
6636
  const cacheSnapshot = storeLookup(selector, {
6148
6637
  config,
6149
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6638
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
6150
6639
  });
6151
6640
  return cacheSnapshot;
6152
6641
  }
6153
6642
  const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackMessage(untrustedConfig, requestContext) {
6154
- const config = validateAdapterConfig$9(untrustedConfig, getSlackMessage_ConfigPropertyNames);
6643
+ const config = validateAdapterConfig$b(untrustedConfig, getSlackMessage_ConfigPropertyNames);
6155
6644
  // Invalid or incomplete config
6156
6645
  if (config === null) {
6157
6646
  return null;
6158
6647
  }
6159
6648
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6160
- buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
6649
+ buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
6161
6650
  };
6162
6651
 
6163
- function select$b(luvio, params) {
6164
- return select$d();
6652
+ function select$d(luvio, params) {
6653
+ return select$f();
6165
6654
  }
6166
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
6655
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
6167
6656
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
6168
6657
  }
6169
- function ingestSuccess$7(luvio, resourceParams, response) {
6658
+ function ingestSuccess$9(luvio, resourceParams, response) {
6170
6659
  const { body } = response;
6171
6660
  const key = keyBuilderFromType$1(luvio, body);
6172
6661
  luvio.storeIngest(key, ingest$4, body);
6173
6662
  const snapshot = luvio.storeLookup({
6174
6663
  recordId: key,
6175
- node: select$b(),
6664
+ node: select$d(),
6176
6665
  variables: {},
6177
6666
  });
6178
6667
  if (process.env.NODE_ENV !== 'production') {
@@ -6183,7 +6672,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
6183
6672
  deepFreeze(snapshot.data);
6184
6673
  return snapshot;
6185
6674
  }
6186
- function createResourceRequest$8(config) {
6675
+ function createResourceRequest$a(config) {
6187
6676
  const headers = {};
6188
6677
  return {
6189
6678
  baseUri: '/services/data/v64.0',
@@ -6197,44 +6686,44 @@ function createResourceRequest$8(config) {
6197
6686
  };
6198
6687
  }
6199
6688
 
6200
- const adapterName$8 = 'patchSlackMessage';
6689
+ const adapterName$a = 'patchSlackMessage';
6201
6690
  const patchSlackMessage_ConfigPropertyMetadata = [
6202
6691
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6203
6692
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6204
6693
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6205
6694
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
6206
6695
  ];
6207
- const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchSlackMessage_ConfigPropertyMetadata);
6208
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$n(patchSlackMessage_ConfigPropertyMetadata);
6209
- function typeCheckConfig$8(untrustedConfig) {
6696
+ const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, patchSlackMessage_ConfigPropertyMetadata);
6697
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$p(patchSlackMessage_ConfigPropertyMetadata);
6698
+ function typeCheckConfig$a(untrustedConfig) {
6210
6699
  const config = {};
6211
- typeCheckConfig$n(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6700
+ typeCheckConfig$p(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6212
6701
  return config;
6213
6702
  }
6214
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
6703
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
6215
6704
  if (!untrustedIsObject(untrustedConfig)) {
6216
6705
  return null;
6217
6706
  }
6218
6707
  if (process.env.NODE_ENV !== 'production') {
6219
6708
  validateConfig(untrustedConfig, configPropertyNames);
6220
6709
  }
6221
- const config = typeCheckConfig$8(untrustedConfig);
6710
+ const config = typeCheckConfig$a(untrustedConfig);
6222
6711
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6223
6712
  return null;
6224
6713
  }
6225
6714
  return config;
6226
6715
  }
6227
- function buildNetworkSnapshot$8(luvio, config, options) {
6228
- const resourceParams = createResourceParams$8(config);
6229
- const request = createResourceRequest$8(resourceParams);
6716
+ function buildNetworkSnapshot$a(luvio, config, options) {
6717
+ const resourceParams = createResourceParams$a(config);
6718
+ const request = createResourceRequest$a(resourceParams);
6230
6719
  return luvio.dispatchResourceRequest(request, options)
6231
6720
  .then((response) => {
6232
6721
  return luvio.handleSuccessResponse(() => {
6233
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
6722
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
6234
6723
  return luvio.storeBroadcast().then(() => snapshot);
6235
6724
  }, () => {
6236
6725
  const cache = new StoreKeyMap();
6237
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
6726
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
6238
6727
  return cache;
6239
6728
  });
6240
6729
  }, (response) => {
@@ -6244,12 +6733,12 @@ function buildNetworkSnapshot$8(luvio, config, options) {
6244
6733
  }
6245
6734
  const patchSlackMessageAdapterFactory = (luvio) => {
6246
6735
  return function patchSlackMessage(untrustedConfig) {
6247
- const config = validateAdapterConfig$8(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
6736
+ const config = validateAdapterConfig$a(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
6248
6737
  // Invalid or incomplete config
6249
6738
  if (config === null) {
6250
6739
  throw new Error('Invalid config for "patchSlackMessage"');
6251
6740
  }
6252
- return buildNetworkSnapshot$8(luvio, config);
6741
+ return buildNetworkSnapshot$a(luvio, config);
6253
6742
  };
6254
6743
  };
6255
6744
 
@@ -6293,20 +6782,20 @@ function validate$3(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
6293
6782
  return v_error === undefined ? null : v_error;
6294
6783
  }
6295
6784
  const RepresentationType$3 = 'SlackBridgeReactionsOutputRepresentation';
6296
- function keyBuilder$d(luvio, config) {
6785
+ function keyBuilder$h(luvio, config) {
6297
6786
  return keyPrefix + '::' + RepresentationType$3 + ':' + config.channelId;
6298
6787
  }
6299
6788
  function keyBuilderFromType(luvio, object) {
6300
6789
  const keyParams = {
6301
6790
  channelId: object.channelId
6302
6791
  };
6303
- return keyBuilder$d(luvio, keyParams);
6792
+ return keyBuilder$h(luvio, keyParams);
6304
6793
  }
6305
6794
  function normalize$3(input, existing, path, luvio, store, timestamp) {
6306
6795
  return input;
6307
6796
  }
6308
- const select$a = function SlackBridgeReactionsOutputRepresentationSelect() {
6309
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$E();
6797
+ const select$c = function SlackBridgeReactionsOutputRepresentationSelect() {
6798
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$G();
6310
6799
  return {
6311
6800
  kind: 'Fragment',
6312
6801
  version: VERSION$3,
@@ -6383,13 +6872,13 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6383
6872
  });
6384
6873
  }
6385
6874
 
6386
- function keyBuilder$c(luvio, params) {
6387
- return keyBuilder$d(luvio, {
6875
+ function keyBuilder$g(luvio, params) {
6876
+ return keyBuilder$h(luvio, {
6388
6877
  channelId: params.urlParams.channelId
6389
6878
  });
6390
6879
  }
6391
- function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
6392
- const key = keyBuilder$c(luvio, resourceParams);
6880
+ function getResponseCacheKeys$9(cacheKeyMap, luvio, resourceParams) {
6881
+ const key = keyBuilder$g(luvio, resourceParams);
6393
6882
  cacheKeyMap.set(key, {
6394
6883
  namespace: keyPrefix,
6395
6884
  representationName: RepresentationType$3,
@@ -6397,10 +6886,10 @@ function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
6397
6886
  });
6398
6887
  }
6399
6888
  function evictSuccess(luvio, resourceParams) {
6400
- const key = keyBuilder$c(luvio, resourceParams);
6889
+ const key = keyBuilder$g(luvio, resourceParams);
6401
6890
  luvio.storeEvict(key);
6402
6891
  }
6403
- function createResourceRequest$7(config) {
6892
+ function createResourceRequest$9(config) {
6404
6893
  const headers = {};
6405
6894
  return {
6406
6895
  baseUri: '/services/data/v64.0',
@@ -6414,36 +6903,36 @@ function createResourceRequest$7(config) {
6414
6903
  };
6415
6904
  }
6416
6905
 
6417
- const adapterName$7 = 'deleteSlackMessageReactions';
6906
+ const adapterName$9 = 'deleteSlackMessageReactions';
6418
6907
  const deleteSlackMessageReactions_ConfigPropertyMetadata = [
6419
6908
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6420
6909
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6421
6910
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6422
6911
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6423
6912
  ];
6424
- const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteSlackMessageReactions_ConfigPropertyMetadata);
6425
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$n(deleteSlackMessageReactions_ConfigPropertyMetadata);
6426
- function typeCheckConfig$7(untrustedConfig) {
6913
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, deleteSlackMessageReactions_ConfigPropertyMetadata);
6914
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$p(deleteSlackMessageReactions_ConfigPropertyMetadata);
6915
+ function typeCheckConfig$9(untrustedConfig) {
6427
6916
  const config = {};
6428
- typeCheckConfig$n(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6917
+ typeCheckConfig$p(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6429
6918
  return config;
6430
6919
  }
6431
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
6920
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
6432
6921
  if (!untrustedIsObject(untrustedConfig)) {
6433
6922
  return null;
6434
6923
  }
6435
6924
  if (process.env.NODE_ENV !== 'production') {
6436
6925
  validateConfig(untrustedConfig, configPropertyNames);
6437
6926
  }
6438
- const config = typeCheckConfig$7(untrustedConfig);
6927
+ const config = typeCheckConfig$9(untrustedConfig);
6439
6928
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6440
6929
  return null;
6441
6930
  }
6442
6931
  return config;
6443
6932
  }
6444
- function buildNetworkSnapshot$7(luvio, config, options) {
6445
- const resourceParams = createResourceParams$7(config);
6446
- const request = createResourceRequest$7(resourceParams);
6933
+ function buildNetworkSnapshot$9(luvio, config, options) {
6934
+ const resourceParams = createResourceParams$9(config);
6935
+ const request = createResourceRequest$9(resourceParams);
6447
6936
  return luvio.dispatchResourceRequest(request, options)
6448
6937
  .then(() => {
6449
6938
  return luvio.handleSuccessResponse(() => {
@@ -6451,7 +6940,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6451
6940
  return luvio.storeBroadcast();
6452
6941
  }, () => {
6453
6942
  const cache = new StoreKeyMap();
6454
- getResponseCacheKeys$7(cache, luvio, resourceParams);
6943
+ getResponseCacheKeys$9(cache, luvio, resourceParams);
6455
6944
  return cache;
6456
6945
  });
6457
6946
  }, (response) => {
@@ -6461,30 +6950,391 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6461
6950
  }
6462
6951
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
6463
6952
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
6464
- const config = validateAdapterConfig$7(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
6953
+ const config = validateAdapterConfig$9(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
6954
+ // Invalid or incomplete config
6955
+ if (config === null) {
6956
+ throw new Error(`Invalid config for "${adapterName$9}"`);
6957
+ }
6958
+ return buildNetworkSnapshot$9(luvio, config);
6959
+ };
6960
+ };
6961
+
6962
+ function select$b(luvio, params) {
6963
+ return select$c();
6964
+ }
6965
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
6966
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
6967
+ }
6968
+ function ingestSuccess$8(luvio, resourceParams, response) {
6969
+ const { body } = response;
6970
+ const key = keyBuilderFromType(luvio, body);
6971
+ luvio.storeIngest(key, ingest$3, body);
6972
+ const snapshot = luvio.storeLookup({
6973
+ recordId: key,
6974
+ node: select$b(),
6975
+ variables: {},
6976
+ });
6977
+ if (process.env.NODE_ENV !== 'production') {
6978
+ if (snapshot.state !== 'Fulfilled') {
6979
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6980
+ }
6981
+ }
6982
+ deepFreeze(snapshot.data);
6983
+ return snapshot;
6984
+ }
6985
+ function createResourceRequest$8(config) {
6986
+ const headers = {};
6987
+ return {
6988
+ baseUri: '/services/data/v64.0',
6989
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
6990
+ method: 'post',
6991
+ body: null,
6992
+ urlParams: config.urlParams,
6993
+ queryParams: config.queryParams,
6994
+ headers,
6995
+ priority: 'normal',
6996
+ };
6997
+ }
6998
+
6999
+ const adapterName$8 = 'postSlackMessageReactions';
7000
+ const postSlackMessageReactions_ConfigPropertyMetadata = [
7001
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
7002
+ generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
7003
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7004
+ generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
7005
+ ];
7006
+ const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, postSlackMessageReactions_ConfigPropertyMetadata);
7007
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$p(postSlackMessageReactions_ConfigPropertyMetadata);
7008
+ function typeCheckConfig$8(untrustedConfig) {
7009
+ const config = {};
7010
+ typeCheckConfig$p(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
7011
+ return config;
7012
+ }
7013
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
7014
+ if (!untrustedIsObject(untrustedConfig)) {
7015
+ return null;
7016
+ }
7017
+ if (process.env.NODE_ENV !== 'production') {
7018
+ validateConfig(untrustedConfig, configPropertyNames);
7019
+ }
7020
+ const config = typeCheckConfig$8(untrustedConfig);
7021
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
7022
+ return null;
7023
+ }
7024
+ return config;
7025
+ }
7026
+ function buildNetworkSnapshot$8(luvio, config, options) {
7027
+ const resourceParams = createResourceParams$8(config);
7028
+ const request = createResourceRequest$8(resourceParams);
7029
+ return luvio.dispatchResourceRequest(request, options)
7030
+ .then((response) => {
7031
+ return luvio.handleSuccessResponse(() => {
7032
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
7033
+ return luvio.storeBroadcast().then(() => snapshot);
7034
+ }, () => {
7035
+ const cache = new StoreKeyMap();
7036
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
7037
+ return cache;
7038
+ });
7039
+ }, (response) => {
7040
+ deepFreeze(response);
7041
+ throw response;
7042
+ });
7043
+ }
7044
+ const postSlackMessageReactionsAdapterFactory = (luvio) => {
7045
+ return function postSlackMessageReactions(untrustedConfig) {
7046
+ const config = validateAdapterConfig$8(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
6465
7047
  // Invalid or incomplete config
6466
7048
  if (config === null) {
6467
- throw new Error(`Invalid config for "${adapterName$7}"`);
7049
+ throw new Error('Invalid config for "postSlackMessageReactions"');
6468
7050
  }
6469
- return buildNetworkSnapshot$7(luvio, config);
7051
+ return buildNetworkSnapshot$8(luvio, config);
6470
7052
  };
6471
7053
  };
6472
7054
 
6473
- function select$9(luvio, params) {
6474
- return select$a();
7055
+ const VERSION$2 = "0de597a47ca8ecad2cfb7fd9c8f73920";
7056
+ function validate$2(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
7057
+ const v_error = (() => {
7058
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7059
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7060
+ }
7061
+ const obj_conversationInfos = obj.conversationInfos;
7062
+ const path_conversationInfos = path + '.conversationInfos';
7063
+ if (!ArrayIsArray(obj_conversationInfos)) {
7064
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
7065
+ }
7066
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
7067
+ const obj_conversationInfos_item = obj_conversationInfos[i];
7068
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
7069
+ if (typeof obj_conversationInfos_item !== 'object') {
7070
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
7071
+ }
7072
+ }
7073
+ const obj_searchString = obj.searchString;
7074
+ const path_searchString = path + '.searchString';
7075
+ let obj_searchString_union0 = null;
7076
+ const obj_searchString_union0_error = (() => {
7077
+ if (typeof obj_searchString !== 'string') {
7078
+ return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
7079
+ }
7080
+ })();
7081
+ if (obj_searchString_union0_error != null) {
7082
+ obj_searchString_union0 = obj_searchString_union0_error.message;
7083
+ }
7084
+ let obj_searchString_union1 = null;
7085
+ const obj_searchString_union1_error = (() => {
7086
+ if (obj_searchString !== null) {
7087
+ return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
7088
+ }
7089
+ })();
7090
+ if (obj_searchString_union1_error != null) {
7091
+ obj_searchString_union1 = obj_searchString_union1_error.message;
7092
+ }
7093
+ if (obj_searchString_union0 && obj_searchString_union1) {
7094
+ let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
7095
+ message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
7096
+ message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
7097
+ return new TypeError(message);
7098
+ }
7099
+ })();
7100
+ return v_error === undefined ? null : v_error;
7101
+ }
7102
+ const RepresentationType$2 = 'SlackBridgeConversationInfosOutputRepresentation';
7103
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
7104
+ const input_conversationInfos = input.conversationInfos;
7105
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
7106
+ for (let i = 0; i < input_conversationInfos.length; i++) {
7107
+ const input_conversationInfos_item = input_conversationInfos[i];
7108
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
7109
+ input_conversationInfos[i] = ingest$g(input_conversationInfos_item, {
7110
+ fullPath: input_conversationInfos_item_id,
7111
+ propertyName: i,
7112
+ parent: {
7113
+ data: input,
7114
+ key: path.fullPath,
7115
+ existing: existing,
7116
+ },
7117
+ ttl: path.ttl
7118
+ }, luvio, store, timestamp);
7119
+ }
7120
+ return input;
7121
+ }
7122
+ const select$a = function SlackBridgeConversationInfosOutputRepresentationSelect() {
7123
+ return {
7124
+ kind: 'Fragment',
7125
+ version: VERSION$2,
7126
+ private: [],
7127
+ selections: [
7128
+ {
7129
+ name: 'conversationInfos',
7130
+ kind: 'Link',
7131
+ plural: true,
7132
+ fragment: select$H()
7133
+ },
7134
+ {
7135
+ name: 'searchString',
7136
+ kind: 'Scalar'
7137
+ }
7138
+ ]
7139
+ };
7140
+ };
7141
+ function equals$2(existing, incoming) {
7142
+ const existing_conversationInfos = existing.conversationInfos;
7143
+ const incoming_conversationInfos = incoming.conversationInfos;
7144
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
7145
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
7146
+ return false;
7147
+ }
7148
+ });
7149
+ if (equals_conversationInfos_items === false) {
7150
+ return false;
7151
+ }
7152
+ const existing_searchString = existing.searchString;
7153
+ const incoming_searchString = incoming.searchString;
7154
+ if (!(existing_searchString === incoming_searchString)) {
7155
+ return false;
7156
+ }
7157
+ return true;
7158
+ }
7159
+ const ingest$2 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7160
+ if (process.env.NODE_ENV !== 'production') {
7161
+ const validateError = validate$2(input);
7162
+ if (validateError !== null) {
7163
+ throw validateError;
7164
+ }
7165
+ }
7166
+ const key = path.fullPath;
7167
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
7168
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
7169
+ return createLink(key);
7170
+ };
7171
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7172
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
7173
+ const rootKey = fullPathFactory();
7174
+ rootKeySet.set(rootKey, {
7175
+ namespace: keyPrefix,
7176
+ representationName: RepresentationType$2,
7177
+ mergeable: false
7178
+ });
7179
+ const input_conversationInfos_length = input.conversationInfos.length;
7180
+ for (let i = 0; i < input_conversationInfos_length; i++) {
7181
+ getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfos[i]);
7182
+ }
7183
+ }
7184
+
7185
+ function select$9(luvio, params) {
7186
+ return select$a();
7187
+ }
7188
+ function keyBuilder$f(luvio, params) {
7189
+ return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'channelIds:' + params.queryParams.channelIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
7190
+ }
7191
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
7192
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
7193
+ }
7194
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
7195
+ const { body } = response;
7196
+ const key = keyBuilder$f(luvio, resourceParams);
7197
+ luvio.storeIngest(key, ingest$2, body);
7198
+ const snapshot = luvio.storeLookup({
7199
+ recordId: key,
7200
+ node: select$9(),
7201
+ variables: {},
7202
+ }, snapshotRefresh);
7203
+ if (process.env.NODE_ENV !== 'production') {
7204
+ if (snapshot.state !== 'Fulfilled') {
7205
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
7206
+ }
7207
+ }
7208
+ deepFreeze(snapshot.data);
7209
+ return snapshot;
7210
+ }
7211
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
7212
+ const key = keyBuilder$f(luvio, params);
7213
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7214
+ luvio.storeIngestError(key, errorSnapshot);
7215
+ return errorSnapshot;
7216
+ }
7217
+ function createResourceRequest$7(config) {
7218
+ const headers = {};
7219
+ return {
7220
+ baseUri: '/services/data/v64.0',
7221
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels',
7222
+ method: 'get',
7223
+ body: null,
7224
+ urlParams: config.urlParams,
7225
+ queryParams: config.queryParams,
7226
+ headers,
7227
+ priority: 'normal',
7228
+ };
7229
+ }
7230
+
7231
+ const adapterName$7 = 'getSlackConversationInfos';
7232
+ const getSlackConversationInfos_ConfigPropertyMetadata = [
7233
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7234
+ generateParamConfigMetadata('channelIds', true, 1 /* QueryParameter */, 0 /* String */, true),
7235
+ ];
7236
+ const getSlackConversationInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackConversationInfos_ConfigPropertyMetadata);
7237
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$p(getSlackConversationInfos_ConfigPropertyMetadata);
7238
+ function keyBuilder$e(luvio, config) {
7239
+ const resourceParams = createResourceParams$7(config);
7240
+ return keyBuilder$f(luvio, resourceParams);
7241
+ }
7242
+ function typeCheckConfig$7(untrustedConfig) {
7243
+ const config = {};
7244
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationInfos_ConfigPropertyMetadata);
7245
+ return config;
7246
+ }
7247
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
7248
+ if (!untrustedIsObject(untrustedConfig)) {
7249
+ return null;
7250
+ }
7251
+ if (process.env.NODE_ENV !== 'production') {
7252
+ validateConfig(untrustedConfig, configPropertyNames);
7253
+ }
7254
+ const config = typeCheckConfig$7(untrustedConfig);
7255
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
7256
+ return null;
7257
+ }
7258
+ return config;
7259
+ }
7260
+ function adapterFragment$7(luvio, config) {
7261
+ createResourceParams$7(config);
7262
+ return select$9();
7263
+ }
7264
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
7265
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
7266
+ config,
7267
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
7268
+ });
7269
+ return luvio.storeBroadcast().then(() => snapshot);
7270
+ }
7271
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
7272
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
7273
+ config,
7274
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
7275
+ });
7276
+ return luvio.storeBroadcast().then(() => snapshot);
7277
+ }
7278
+ function buildNetworkSnapshot$7(luvio, config, options) {
7279
+ const resourceParams = createResourceParams$7(config);
7280
+ const request = createResourceRequest$7(resourceParams);
7281
+ return luvio.dispatchResourceRequest(request, options)
7282
+ .then((response) => {
7283
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
7284
+ const cache = new StoreKeyMap();
7285
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
7286
+ return cache;
7287
+ });
7288
+ }, (response) => {
7289
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
7290
+ });
7291
+ }
7292
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
7293
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7294
+ }
7295
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
7296
+ const { luvio, config } = context;
7297
+ const selector = {
7298
+ recordId: keyBuilder$e(luvio, config),
7299
+ node: adapterFragment$7(luvio, config),
7300
+ variables: {},
7301
+ };
7302
+ const cacheSnapshot = storeLookup(selector, {
7303
+ config,
7304
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
7305
+ });
7306
+ return cacheSnapshot;
7307
+ }
7308
+ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfos(untrustedConfig, requestContext) {
7309
+ const config = validateAdapterConfig$7(untrustedConfig, getSlackConversationInfos_ConfigPropertyNames);
7310
+ // Invalid or incomplete config
7311
+ if (config === null) {
7312
+ return null;
7313
+ }
7314
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
7315
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
7316
+ };
7317
+
7318
+ function select$8(luvio, params) {
7319
+ return select$H();
7320
+ }
7321
+ function keyBuilder$d(luvio, params) {
7322
+ return keyBuilder$F(luvio, {
7323
+ id: params.urlParams.channelId
7324
+ });
6475
7325
  }
6476
7326
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
6477
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
7327
+ getTypeCacheKeys$g(storeKeyMap, luvio, response);
6478
7328
  }
6479
- function ingestSuccess$6(luvio, resourceParams, response) {
7329
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
6480
7330
  const { body } = response;
6481
- const key = keyBuilderFromType(luvio, body);
6482
- luvio.storeIngest(key, ingest$3, body);
7331
+ const key = keyBuilder$d(luvio, resourceParams);
7332
+ luvio.storeIngest(key, ingest$g, body);
6483
7333
  const snapshot = luvio.storeLookup({
6484
7334
  recordId: key,
6485
- node: select$9(),
7335
+ node: select$8(),
6486
7336
  variables: {},
6487
- });
7337
+ }, snapshotRefresh);
6488
7338
  if (process.env.NODE_ENV !== 'production') {
6489
7339
  if (snapshot.state !== 'Fulfilled') {
6490
7340
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
@@ -6493,32 +7343,46 @@ function ingestSuccess$6(luvio, resourceParams, response) {
6493
7343
  deepFreeze(snapshot.data);
6494
7344
  return snapshot;
6495
7345
  }
7346
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
7347
+ const key = keyBuilder$d(luvio, params);
7348
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7349
+ const storeMetadataParams = {
7350
+ ttl: TTL$2,
7351
+ namespace: keyPrefix,
7352
+ version: VERSION$l,
7353
+ representationName: RepresentationType$g
7354
+ };
7355
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
7356
+ return errorSnapshot;
7357
+ }
6496
7358
  function createResourceRequest$6(config) {
6497
7359
  const headers = {};
6498
7360
  return {
6499
7361
  baseUri: '/services/data/v64.0',
6500
- basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
6501
- method: 'post',
7362
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels/' + config.urlParams.channelId + '',
7363
+ method: 'get',
6502
7364
  body: null,
6503
7365
  urlParams: config.urlParams,
6504
- queryParams: config.queryParams,
7366
+ queryParams: {},
6505
7367
  headers,
6506
7368
  priority: 'normal',
6507
7369
  };
6508
7370
  }
6509
7371
 
6510
- const adapterName$6 = 'postSlackMessageReactions';
6511
- const postSlackMessageReactions_ConfigPropertyMetadata = [
7372
+ const adapterName$6 = 'getSlackConversationInfo';
7373
+ const getSlackConversationInfo_ConfigPropertyMetadata = [
6512
7374
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6513
- generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6514
7375
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6515
- generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6516
7376
  ];
6517
- const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, postSlackMessageReactions_ConfigPropertyMetadata);
6518
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$n(postSlackMessageReactions_ConfigPropertyMetadata);
7377
+ const getSlackConversationInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSlackConversationInfo_ConfigPropertyMetadata);
7378
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$p(getSlackConversationInfo_ConfigPropertyMetadata);
7379
+ function keyBuilder$c(luvio, config) {
7380
+ const resourceParams = createResourceParams$6(config);
7381
+ return keyBuilder$d(luvio, resourceParams);
7382
+ }
6519
7383
  function typeCheckConfig$6(untrustedConfig) {
6520
7384
  const config = {};
6521
- typeCheckConfig$n(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
7385
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationInfo_ConfigPropertyMetadata);
6522
7386
  return config;
6523
7387
  }
6524
7388
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -6534,37 +7398,66 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
6534
7398
  }
6535
7399
  return config;
6536
7400
  }
7401
+ function adapterFragment$6(luvio, config) {
7402
+ createResourceParams$6(config);
7403
+ return select$8();
7404
+ }
7405
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
7406
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
7407
+ config,
7408
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
7409
+ });
7410
+ return luvio.storeBroadcast().then(() => snapshot);
7411
+ }
7412
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
7413
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
7414
+ config,
7415
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
7416
+ });
7417
+ return luvio.storeBroadcast().then(() => snapshot);
7418
+ }
6537
7419
  function buildNetworkSnapshot$6(luvio, config, options) {
6538
7420
  const resourceParams = createResourceParams$6(config);
6539
7421
  const request = createResourceRequest$6(resourceParams);
6540
7422
  return luvio.dispatchResourceRequest(request, options)
6541
7423
  .then((response) => {
6542
- return luvio.handleSuccessResponse(() => {
6543
- const snapshot = ingestSuccess$6(luvio, resourceParams, response);
6544
- return luvio.storeBroadcast().then(() => snapshot);
6545
- }, () => {
7424
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
6546
7425
  const cache = new StoreKeyMap();
6547
7426
  getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
6548
7427
  return cache;
6549
7428
  });
6550
7429
  }, (response) => {
6551
- deepFreeze(response);
6552
- throw response;
7430
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
6553
7431
  });
6554
7432
  }
6555
- const postSlackMessageReactionsAdapterFactory = (luvio) => {
6556
- return function postSlackMessageReactions(untrustedConfig) {
6557
- const config = validateAdapterConfig$6(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
6558
- // Invalid or incomplete config
6559
- if (config === null) {
6560
- throw new Error('Invalid config for "postSlackMessageReactions"');
6561
- }
6562
- return buildNetworkSnapshot$6(luvio, config);
7433
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
7434
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
7435
+ }
7436
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
7437
+ const { luvio, config } = context;
7438
+ const selector = {
7439
+ recordId: keyBuilder$c(luvio, config),
7440
+ node: adapterFragment$6(luvio, config),
7441
+ variables: {},
6563
7442
  };
7443
+ const cacheSnapshot = storeLookup(selector, {
7444
+ config,
7445
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
7446
+ });
7447
+ return cacheSnapshot;
7448
+ }
7449
+ const getSlackConversationInfoAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfo(untrustedConfig, requestContext) {
7450
+ const config = validateAdapterConfig$6(untrustedConfig, getSlackConversationInfo_ConfigPropertyNames);
7451
+ // Invalid or incomplete config
7452
+ if (config === null) {
7453
+ return null;
7454
+ }
7455
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
7456
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
6564
7457
  };
6565
7458
 
6566
- const VERSION$2 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
6567
- function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
7459
+ const VERSION$1 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
7460
+ function validate$1(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6568
7461
  const v_error = (() => {
6569
7462
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6570
7463
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6584,8 +7477,8 @@ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6584
7477
  })();
6585
7478
  return v_error === undefined ? null : v_error;
6586
7479
  }
6587
- const RepresentationType$2 = 'SlackBridgeEmojisOutputRepresentation';
6588
- function normalize$2(input, existing, path, luvio, store, timestamp) {
7480
+ const RepresentationType$1 = 'SlackBridgeEmojisOutputRepresentation';
7481
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
6589
7482
  const input_emojis = input.emojis;
6590
7483
  const input_emojis_id = path.fullPath + '__emojis';
6591
7484
  for (let i = 0; i < input_emojis.length; i++) {
@@ -6604,22 +7497,22 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6604
7497
  }
6605
7498
  return input;
6606
7499
  }
6607
- const select$8 = function SlackBridgeEmojisOutputRepresentationSelect() {
7500
+ const select$7 = function SlackBridgeEmojisOutputRepresentationSelect() {
6608
7501
  return {
6609
7502
  kind: 'Fragment',
6610
- version: VERSION$2,
7503
+ version: VERSION$1,
6611
7504
  private: [],
6612
7505
  selections: [
6613
7506
  {
6614
7507
  name: 'emojis',
6615
7508
  kind: 'Link',
6616
7509
  plural: true,
6617
- fragment: select$H()
7510
+ fragment: select$J()
6618
7511
  }
6619
7512
  ]
6620
7513
  };
6621
7514
  };
6622
- function equals$2(existing, incoming) {
7515
+ function equals$1(existing, incoming) {
6623
7516
  const existing_emojis = existing.emojis;
6624
7517
  const incoming_emojis = incoming.emojis;
6625
7518
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
@@ -6632,24 +7525,24 @@ function equals$2(existing, incoming) {
6632
7525
  }
6633
7526
  return true;
6634
7527
  }
6635
- const ingest$2 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7528
+ const ingest$1 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6636
7529
  if (process.env.NODE_ENV !== 'production') {
6637
- const validateError = validate$2(input);
7530
+ const validateError = validate$1(input);
6638
7531
  if (validateError !== null) {
6639
7532
  throw validateError;
6640
7533
  }
6641
7534
  }
6642
7535
  const key = path.fullPath;
6643
7536
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6644
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
7537
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
6645
7538
  return createLink(key);
6646
7539
  };
6647
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7540
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6648
7541
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6649
7542
  const rootKey = fullPathFactory();
6650
7543
  rootKeySet.set(rootKey, {
6651
7544
  namespace: keyPrefix,
6652
- representationName: RepresentationType$2,
7545
+ representationName: RepresentationType$1,
6653
7546
  mergeable: false
6654
7547
  });
6655
7548
  const input_emojis_length = input.emojis.length;
@@ -6658,22 +7551,22 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6658
7551
  }
6659
7552
  }
6660
7553
 
6661
- function select$7(luvio, params) {
6662
- return select$8();
7554
+ function select$6(luvio, params) {
7555
+ return select$7();
6663
7556
  }
6664
7557
  function keyBuilder$b(luvio, params) {
6665
7558
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'slackEmojiIds:' + params.queryParams.slackEmojiIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
6666
7559
  }
6667
7560
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
6668
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
7561
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
6669
7562
  }
6670
7563
  function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
6671
7564
  const { body } = response;
6672
7565
  const key = keyBuilder$b(luvio, resourceParams);
6673
- luvio.storeIngest(key, ingest$2, body);
7566
+ luvio.storeIngest(key, ingest$1, body);
6674
7567
  const snapshot = luvio.storeLookup({
6675
7568
  recordId: key,
6676
- node: select$7(),
7569
+ node: select$6(),
6677
7570
  variables: {},
6678
7571
  }, snapshotRefresh);
6679
7572
  if (process.env.NODE_ENV !== 'production') {
@@ -6710,14 +7603,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
6710
7603
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6711
7604
  ];
6712
7605
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSlackEmojis_ConfigPropertyMetadata);
6713
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$n(getSlackEmojis_ConfigPropertyMetadata);
7606
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$p(getSlackEmojis_ConfigPropertyMetadata);
6714
7607
  function keyBuilder$a(luvio, config) {
6715
7608
  const resourceParams = createResourceParams$5(config);
6716
7609
  return keyBuilder$b(luvio, resourceParams);
6717
7610
  }
6718
7611
  function typeCheckConfig$5(untrustedConfig) {
6719
7612
  const config = {};
6720
- typeCheckConfig$n(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
7613
+ typeCheckConfig$p(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6721
7614
  return config;
6722
7615
  }
6723
7616
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -6735,7 +7628,7 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
6735
7628
  }
6736
7629
  function adapterFragment$5(luvio, config) {
6737
7630
  createResourceParams$5(config);
6738
- return select$7();
7631
+ return select$6();
6739
7632
  }
6740
7633
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
6741
7634
  const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
@@ -6766,7 +7659,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
6766
7659
  });
6767
7660
  }
6768
7661
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
6769
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
7662
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6770
7663
  }
6771
7664
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
6772
7665
  const { luvio, config } = context;
@@ -6791,11 +7684,11 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
6791
7684
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
6792
7685
  };
6793
7686
 
6794
- function select$6(luvio, params) {
6795
- return select$H();
7687
+ function select$5(luvio, params) {
7688
+ return select$J();
6796
7689
  }
6797
7690
  function keyBuilder$9(luvio, params) {
6798
- return keyBuilder$D(luvio, {
7691
+ return keyBuilder$H(luvio, {
6799
7692
  name: params.urlParams.slackEmojiId
6800
7693
  });
6801
7694
  }
@@ -6808,7 +7701,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
6808
7701
  luvio.storeIngest(key, ingest$i, body);
6809
7702
  const snapshot = luvio.storeLookup({
6810
7703
  recordId: key,
6811
- node: select$6(),
7704
+ node: select$5(),
6812
7705
  variables: {},
6813
7706
  }, snapshotRefresh);
6814
7707
  if (process.env.NODE_ENV !== 'production') {
@@ -6823,7 +7716,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
6823
7716
  const key = keyBuilder$9(luvio, params);
6824
7717
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6825
7718
  const storeMetadataParams = {
6826
- ttl: TTL$3,
7719
+ ttl: TTL$4,
6827
7720
  namespace: keyPrefix,
6828
7721
  version: VERSION$n,
6829
7722
  representationName: RepresentationType$i
@@ -6851,14 +7744,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
6851
7744
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6852
7745
  ];
6853
7746
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackEmoji_ConfigPropertyMetadata);
6854
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$n(getSlackEmoji_ConfigPropertyMetadata);
7747
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$p(getSlackEmoji_ConfigPropertyMetadata);
6855
7748
  function keyBuilder$8(luvio, config) {
6856
7749
  const resourceParams = createResourceParams$4(config);
6857
7750
  return keyBuilder$9(luvio, resourceParams);
6858
7751
  }
6859
7752
  function typeCheckConfig$4(untrustedConfig) {
6860
7753
  const config = {};
6861
- typeCheckConfig$n(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
7754
+ typeCheckConfig$p(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6862
7755
  return config;
6863
7756
  }
6864
7757
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -6876,7 +7769,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
6876
7769
  }
6877
7770
  function adapterFragment$4(luvio, config) {
6878
7771
  createResourceParams$4(config);
6879
- return select$6();
7772
+ return select$5();
6880
7773
  }
6881
7774
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
6882
7775
  const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
@@ -6907,7 +7800,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
6907
7800
  });
6908
7801
  }
6909
7802
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6910
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
7803
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6911
7804
  }
6912
7805
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6913
7806
  const { luvio, config } = context;
@@ -6932,149 +7825,19 @@ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmo
6932
7825
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
6933
7826
  };
6934
7827
 
6935
- const VERSION$1 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6936
- function validate$1(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6937
- const v_error = (() => {
6938
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6939
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6940
- }
6941
- const obj_conversationInfos = obj.conversationInfos;
6942
- const path_conversationInfos = path + '.conversationInfos';
6943
- if (!ArrayIsArray(obj_conversationInfos)) {
6944
- return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
6945
- }
6946
- for (let i = 0; i < obj_conversationInfos.length; i++) {
6947
- const obj_conversationInfos_item = obj_conversationInfos[i];
6948
- const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
6949
- if (typeof obj_conversationInfos_item !== 'object') {
6950
- return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
6951
- }
6952
- }
6953
- const obj_searchString = obj.searchString;
6954
- const path_searchString = path + '.searchString';
6955
- let obj_searchString_union0 = null;
6956
- const obj_searchString_union0_error = (() => {
6957
- if (typeof obj_searchString !== 'string') {
6958
- return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6959
- }
6960
- })();
6961
- if (obj_searchString_union0_error != null) {
6962
- obj_searchString_union0 = obj_searchString_union0_error.message;
6963
- }
6964
- let obj_searchString_union1 = null;
6965
- const obj_searchString_union1_error = (() => {
6966
- if (obj_searchString !== null) {
6967
- return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6968
- }
6969
- })();
6970
- if (obj_searchString_union1_error != null) {
6971
- obj_searchString_union1 = obj_searchString_union1_error.message;
6972
- }
6973
- if (obj_searchString_union0 && obj_searchString_union1) {
6974
- let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6975
- message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6976
- message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6977
- return new TypeError(message);
6978
- }
6979
- })();
6980
- return v_error === undefined ? null : v_error;
6981
- }
6982
- const RepresentationType$1 = 'SlackBridgeConversationInfosOutputRepresentation';
6983
- function normalize$1(input, existing, path, luvio, store, timestamp) {
6984
- const input_conversationInfos = input.conversationInfos;
6985
- const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6986
- for (let i = 0; i < input_conversationInfos.length; i++) {
6987
- const input_conversationInfos_item = input_conversationInfos[i];
6988
- let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6989
- input_conversationInfos[i] = ingest$g(input_conversationInfos_item, {
6990
- fullPath: input_conversationInfos_item_id,
6991
- propertyName: i,
6992
- parent: {
6993
- data: input,
6994
- key: path.fullPath,
6995
- existing: existing,
6996
- },
6997
- ttl: path.ttl
6998
- }, luvio, store, timestamp);
6999
- }
7000
- return input;
7001
- }
7002
- const select$5 = function SlackBridgeConversationInfosOutputRepresentationSelect() {
7003
- return {
7004
- kind: 'Fragment',
7005
- version: VERSION$1,
7006
- private: [],
7007
- selections: [
7008
- {
7009
- name: 'conversationInfos',
7010
- kind: 'Link',
7011
- plural: true,
7012
- fragment: select$F()
7013
- },
7014
- {
7015
- name: 'searchString',
7016
- kind: 'Scalar'
7017
- }
7018
- ]
7019
- };
7020
- };
7021
- function equals$1(existing, incoming) {
7022
- const existing_conversationInfos = existing.conversationInfos;
7023
- const incoming_conversationInfos = incoming.conversationInfos;
7024
- const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
7025
- if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
7026
- return false;
7027
- }
7028
- });
7029
- if (equals_conversationInfos_items === false) {
7030
- return false;
7031
- }
7032
- const existing_searchString = existing.searchString;
7033
- const incoming_searchString = incoming.searchString;
7034
- if (!(existing_searchString === incoming_searchString)) {
7035
- return false;
7036
- }
7037
- return true;
7038
- }
7039
- const ingest$1 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7040
- if (process.env.NODE_ENV !== 'production') {
7041
- const validateError = validate$1(input);
7042
- if (validateError !== null) {
7043
- throw validateError;
7044
- }
7045
- }
7046
- const key = path.fullPath;
7047
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
7048
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
7049
- return createLink(key);
7050
- };
7051
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
7052
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
7053
- const rootKey = fullPathFactory();
7054
- rootKeySet.set(rootKey, {
7055
- namespace: keyPrefix,
7056
- representationName: RepresentationType$1,
7057
- mergeable: false
7058
- });
7059
- const input_conversationInfos_length = input.conversationInfos.length;
7060
- for (let i = 0; i < input_conversationInfos_length; i++) {
7061
- getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfos[i]);
7062
- }
7063
- }
7064
-
7065
7828
  function select$4(luvio, params) {
7066
- return select$5();
7829
+ return select$a();
7067
7830
  }
7068
7831
  function keyBuilder$7(luvio, params) {
7069
7832
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
7070
7833
  }
7071
7834
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
7072
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
7835
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
7073
7836
  }
7074
7837
  function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
7075
7838
  const { body } = response;
7076
7839
  const key = keyBuilder$7(luvio, resourceParams);
7077
- luvio.storeIngest(key, ingest$1, body);
7840
+ luvio.storeIngest(key, ingest$2, body);
7078
7841
  const snapshot = luvio.storeLookup({
7079
7842
  recordId: key,
7080
7843
  node: select$4(),
@@ -7114,14 +7877,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
7114
7877
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
7115
7878
  ];
7116
7879
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSlackSearchConversation_ConfigPropertyMetadata);
7117
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$n(getSlackSearchConversation_ConfigPropertyMetadata);
7880
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$p(getSlackSearchConversation_ConfigPropertyMetadata);
7118
7881
  function keyBuilder$6(luvio, config) {
7119
7882
  const resourceParams = createResourceParams$3(config);
7120
7883
  return keyBuilder$7(luvio, resourceParams);
7121
7884
  }
7122
7885
  function typeCheckConfig$3(untrustedConfig) {
7123
7886
  const config = {};
7124
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
7887
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
7125
7888
  return config;
7126
7889
  }
7127
7890
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7170,7 +7933,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
7170
7933
  });
7171
7934
  }
7172
7935
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
7173
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7936
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7174
7937
  }
7175
7938
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
7176
7939
  const { luvio, config } = context;
@@ -7196,18 +7959,18 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
7196
7959
  };
7197
7960
 
7198
7961
  function select$3(luvio, params) {
7199
- return select$8();
7962
+ return select$7();
7200
7963
  }
7201
7964
  function keyBuilder$5(luvio, params) {
7202
7965
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
7203
7966
  }
7204
7967
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7205
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
7968
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
7206
7969
  }
7207
7970
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
7208
7971
  const { body } = response;
7209
7972
  const key = keyBuilder$5(luvio, resourceParams);
7210
- luvio.storeIngest(key, ingest$2, body);
7973
+ luvio.storeIngest(key, ingest$1, body);
7211
7974
  const snapshot = luvio.storeLookup({
7212
7975
  recordId: key,
7213
7976
  node: select$3(),
@@ -7247,14 +8010,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
7247
8010
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
7248
8011
  ];
7249
8012
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSlackSearchEmoji_ConfigPropertyMetadata);
7250
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$n(getSlackSearchEmoji_ConfigPropertyMetadata);
8013
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$p(getSlackSearchEmoji_ConfigPropertyMetadata);
7251
8014
  function keyBuilder$4(luvio, config) {
7252
8015
  const resourceParams = createResourceParams$2(config);
7253
8016
  return keyBuilder$5(luvio, resourceParams);
7254
8017
  }
7255
8018
  function typeCheckConfig$2(untrustedConfig) {
7256
8019
  const config = {};
7257
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
8020
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
7258
8021
  return config;
7259
8022
  }
7260
8023
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7303,7 +8066,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
7303
8066
  });
7304
8067
  }
7305
8068
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
7306
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
8069
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7307
8070
  }
7308
8071
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
7309
8072
  const { luvio, config } = context;
@@ -7328,12 +8091,38 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
7328
8091
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
7329
8092
  };
7330
8093
 
7331
- const VERSION = "058d708f5533e6123e368a3722311412";
8094
+ const VERSION = "16b915c502b8a0609446d7ed3907a794";
7332
8095
  function validate(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
7333
8096
  const v_error = (() => {
7334
8097
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7335
8098
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7336
8099
  }
8100
+ const obj_nextMarker = obj.nextMarker;
8101
+ const path_nextMarker = path + '.nextMarker';
8102
+ let obj_nextMarker_union0 = null;
8103
+ const obj_nextMarker_union0_error = (() => {
8104
+ if (typeof obj_nextMarker !== 'string') {
8105
+ return new TypeError('Expected "string" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
8106
+ }
8107
+ })();
8108
+ if (obj_nextMarker_union0_error != null) {
8109
+ obj_nextMarker_union0 = obj_nextMarker_union0_error.message;
8110
+ }
8111
+ let obj_nextMarker_union1 = null;
8112
+ const obj_nextMarker_union1_error = (() => {
8113
+ if (obj_nextMarker !== null) {
8114
+ return new TypeError('Expected "null" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
8115
+ }
8116
+ })();
8117
+ if (obj_nextMarker_union1_error != null) {
8118
+ obj_nextMarker_union1 = obj_nextMarker_union1_error.message;
8119
+ }
8120
+ if (obj_nextMarker_union0 && obj_nextMarker_union1) {
8121
+ let message = 'Object doesn\'t match union (at "' + path_nextMarker + '")';
8122
+ message += '\n' + obj_nextMarker_union0.split('\n').map((line) => '\t' + line).join('\n');
8123
+ message += '\n' + obj_nextMarker_union1.split('\n').map((line) => '\t' + line).join('\n');
8124
+ return new TypeError(message);
8125
+ }
7337
8126
  const obj_searchString = obj.searchString;
7338
8127
  const path_searchString = path + '.searchString';
7339
8128
  let obj_searchString_union0 = null;
@@ -7401,6 +8190,10 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
7401
8190
  version: VERSION,
7402
8191
  private: [],
7403
8192
  selections: [
8193
+ {
8194
+ name: 'nextMarker',
8195
+ kind: 'Scalar'
8196
+ },
7404
8197
  {
7405
8198
  name: 'searchString',
7406
8199
  kind: 'Scalar'
@@ -7409,12 +8202,17 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
7409
8202
  name: 'userInfos',
7410
8203
  kind: 'Link',
7411
8204
  plural: true,
7412
- fragment: select$G()
8205
+ fragment: select$I()
7413
8206
  }
7414
8207
  ]
7415
8208
  };
7416
8209
  };
7417
8210
  function equals(existing, incoming) {
8211
+ const existing_nextMarker = existing.nextMarker;
8212
+ const incoming_nextMarker = incoming.nextMarker;
8213
+ if (!(existing_nextMarker === incoming_nextMarker)) {
8214
+ return false;
8215
+ }
7418
8216
  const existing_searchString = existing.searchString;
7419
8217
  const incoming_searchString = incoming.searchString;
7420
8218
  if (!(existing_searchString === incoming_searchString)) {
@@ -7513,14 +8311,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
7513
8311
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
7514
8312
  ];
7515
8313
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSlackSearchUser_ConfigPropertyMetadata);
7516
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$n(getSlackSearchUser_ConfigPropertyMetadata);
8314
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$p(getSlackSearchUser_ConfigPropertyMetadata);
7517
8315
  function keyBuilder$2(luvio, config) {
7518
8316
  const resourceParams = createResourceParams$1(config);
7519
8317
  return keyBuilder$3(luvio, resourceParams);
7520
8318
  }
7521
8319
  function typeCheckConfig$1(untrustedConfig) {
7522
8320
  const config = {};
7523
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
8321
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7524
8322
  return config;
7525
8323
  }
7526
8324
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7569,7 +8367,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
7569
8367
  });
7570
8368
  }
7571
8369
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
7572
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
8370
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7573
8371
  }
7574
8372
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
7575
8373
  const { luvio, config } = context;
@@ -7595,12 +8393,11 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
7595
8393
  };
7596
8394
 
7597
8395
  function select(luvio, params) {
7598
- return select$G();
8396
+ return select$I();
7599
8397
  }
7600
8398
  function keyBuilder$1(luvio, params) {
7601
- return keyBuilder$C(luvio, {
7602
- slackUserId: params.urlParams.slackUserId,
7603
- teamId: params.urlParams.teamId
8399
+ return keyBuilder$G(luvio, {
8400
+ slackUserId: params.urlParams.slackUserId
7604
8401
  });
7605
8402
  }
7606
8403
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
@@ -7627,7 +8424,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
7627
8424
  const key = keyBuilder$1(luvio, params);
7628
8425
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7629
8426
  const storeMetadataParams = {
7630
- ttl: TTL$2,
8427
+ ttl: TTL$3,
7631
8428
  namespace: keyPrefix,
7632
8429
  version: VERSION$m,
7633
8430
  representationName: RepresentationType$h
@@ -7655,14 +8452,14 @@ const getSlackUser_ConfigPropertyMetadata = [
7655
8452
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7656
8453
  ];
7657
8454
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSlackUser_ConfigPropertyMetadata);
7658
- const createResourceParams = /*#__PURE__*/ createResourceParams$n(getSlackUser_ConfigPropertyMetadata);
8455
+ const createResourceParams = /*#__PURE__*/ createResourceParams$p(getSlackUser_ConfigPropertyMetadata);
7659
8456
  function keyBuilder(luvio, config) {
7660
8457
  const resourceParams = createResourceParams(config);
7661
8458
  return keyBuilder$1(luvio, resourceParams);
7662
8459
  }
7663
8460
  function typeCheckConfig(untrustedConfig) {
7664
8461
  const config = {};
7665
- typeCheckConfig$n(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
8462
+ typeCheckConfig$p(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7666
8463
  return config;
7667
8464
  }
7668
8465
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -7711,7 +8508,7 @@ function buildNetworkSnapshot(luvio, config, options) {
7711
8508
  });
7712
8509
  }
7713
8510
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
7714
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
8511
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7715
8512
  }
7716
8513
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
7717
8514
  const { luvio, config } = context;
@@ -7736,4 +8533,4 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
7736
8533
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
7737
8534
  };
7738
8535
 
7739
- export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackDisplayLoginAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
8536
+ export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationInfoAdapterFactory, getSlackConversationInfosAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackDisplayLoginAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };