@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev24 → 1.332.0-dev26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$c, typeCheckConfig as typeCheckConfig$m, StoreKeyMap, createResourceParams as createResourceParams$m } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$e, typeCheckConfig as typeCheckConfig$o, StoreKeyMap, createResourceParams as createResourceParams$o } 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$m(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
199
199
  })();
200
200
  return v_error === undefined ? null : v_error;
201
201
  }
202
- const select$F = function SlackBridgeEmojiValueOutputRepresentationSelect() {
202
+ const select$H = function SlackBridgeEmojiValueOutputRepresentationSelect() {
203
203
  return {
204
204
  kind: 'Fragment',
205
205
  version: VERSION$m,
@@ -239,7 +239,7 @@ function equals$m(existing, incoming) {
239
239
  return true;
240
240
  }
241
241
 
242
- const TTL$2 = 2592000000;
242
+ const TTL$3 = 2592000000;
243
243
  const VERSION$l = "a0e1530372a57d61a1264218124bbb5c";
244
244
  function validate$l(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
245
245
  const v_error = (() => {
@@ -388,20 +388,20 @@ function validate$l(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
388
388
  return v_error === undefined ? null : v_error;
389
389
  }
390
390
  const RepresentationType$h = 'SlackBridgeEmojiOutputRepresentation';
391
- function keyBuilder$B(luvio, config) {
391
+ function keyBuilder$F(luvio, config) {
392
392
  return keyPrefix + '::' + RepresentationType$h + ':' + config.name;
393
393
  }
394
394
  function keyBuilderFromType$a(luvio, object) {
395
395
  const keyParams = {
396
396
  name: object.name
397
397
  };
398
- return keyBuilder$B(luvio, keyParams);
398
+ return keyBuilder$F(luvio, keyParams);
399
399
  }
400
400
  function normalize$h(input, existing, path, luvio, store, timestamp) {
401
401
  return input;
402
402
  }
403
- const select$E = function SlackBridgeEmojiOutputRepresentationSelect() {
404
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$F();
403
+ const select$G = function SlackBridgeEmojiOutputRepresentationSelect() {
404
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$H();
405
405
  return {
406
406
  kind: 'Fragment',
407
407
  version: VERSION$l,
@@ -480,7 +480,7 @@ const ingest$h = function SlackBridgeEmojiOutputRepresentationIngest(input, path
480
480
  }
481
481
  }
482
482
  const key = keyBuilderFromType$a(luvio, input);
483
- const ttlToUse = TTL$2;
483
+ const ttlToUse = TTL$3;
484
484
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$l, RepresentationType$h, equals$l);
485
485
  return createLink(key);
486
486
  };
@@ -494,8 +494,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
494
494
  });
495
495
  }
496
496
 
497
- const TTL$1 = 600000;
498
- const VERSION$k = "bd9de08bc9e9454d5ef4be7f3ab2611e";
497
+ const TTL$2 = 900000;
498
+ const VERSION$k = "90811622b2f6ba9d9a4525dd179a478a";
499
499
  function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
500
500
  const v_error = (() => {
501
501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -867,8 +867,29 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
867
867
  }
868
868
  const obj_teamId = obj.teamId;
869
869
  const path_teamId = path + '.teamId';
870
- if (typeof obj_teamId !== 'string') {
871
- return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
870
+ let obj_teamId_union0 = null;
871
+ const obj_teamId_union0_error = (() => {
872
+ if (typeof obj_teamId !== 'string') {
873
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
874
+ }
875
+ })();
876
+ if (obj_teamId_union0_error != null) {
877
+ obj_teamId_union0 = obj_teamId_union0_error.message;
878
+ }
879
+ let obj_teamId_union1 = null;
880
+ const obj_teamId_union1_error = (() => {
881
+ if (obj_teamId !== null) {
882
+ return new TypeError('Expected "null" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
883
+ }
884
+ })();
885
+ if (obj_teamId_union1_error != null) {
886
+ obj_teamId_union1 = obj_teamId_union1_error.message;
887
+ }
888
+ if (obj_teamId_union0 && obj_teamId_union1) {
889
+ let message = 'Object doesn\'t match union (at "' + path_teamId + '")';
890
+ message += '\n' + obj_teamId_union0.split('\n').map((line) => '\t' + line).join('\n');
891
+ message += '\n' + obj_teamId_union1.split('\n').map((line) => '\t' + line).join('\n');
892
+ return new TypeError(message);
872
893
  }
873
894
  const obj_title = obj.title;
874
895
  const path_title = path + '.title';
@@ -984,15 +1005,14 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
984
1005
  return v_error === undefined ? null : v_error;
985
1006
  }
986
1007
  const RepresentationType$g = 'SlackBridgeUserInfoOutputRepresentation';
987
- function keyBuilder$A(luvio, config) {
988
- return keyPrefix + '::' + RepresentationType$g + ':' + config.teamId + ':' + config.slackUserId;
1008
+ function keyBuilder$E(luvio, config) {
1009
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.slackUserId;
989
1010
  }
990
1011
  function keyBuilderFromType$9(luvio, object) {
991
1012
  const keyParams = {
992
- teamId: object.teamId,
993
1013
  slackUserId: object.slackUserId
994
1014
  };
995
- return keyBuilder$A(luvio, keyParams);
1015
+ return keyBuilder$E(luvio, keyParams);
996
1016
  }
997
1017
  function normalize$g(input, existing, path, luvio, store, timestamp) {
998
1018
  const input_statusEmoji = input.statusEmoji;
@@ -1011,7 +1031,7 @@ function normalize$g(input, existing, path, luvio, store, timestamp) {
1011
1031
  }
1012
1032
  return input;
1013
1033
  }
1014
- const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
1034
+ const select$F = function SlackBridgeUserInfoOutputRepresentationSelect() {
1015
1035
  return {
1016
1036
  kind: 'Fragment',
1017
1037
  version: VERSION$k,
@@ -1084,7 +1104,7 @@ const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
1084
1104
  name: 'statusEmoji',
1085
1105
  kind: 'Link',
1086
1106
  nullable: true,
1087
- fragment: select$E()
1107
+ fragment: select$G()
1088
1108
  },
1089
1109
  {
1090
1110
  name: 'statusMessage',
@@ -1145,11 +1165,6 @@ function equals$k(existing, incoming) {
1145
1165
  if (!(existing_slackUserId === incoming_slackUserId)) {
1146
1166
  return false;
1147
1167
  }
1148
- const existing_teamId = existing.teamId;
1149
- const incoming_teamId = incoming.teamId;
1150
- if (!(existing_teamId === incoming_teamId)) {
1151
- return false;
1152
- }
1153
1168
  const existing_displayName = existing.displayName;
1154
1169
  const incoming_displayName = incoming.displayName;
1155
1170
  if (!(existing_displayName === incoming_displayName)) {
@@ -1236,6 +1251,11 @@ function equals$k(existing, incoming) {
1236
1251
  if (!(existing_statusMessage === incoming_statusMessage)) {
1237
1252
  return false;
1238
1253
  }
1254
+ const existing_teamId = existing.teamId;
1255
+ const incoming_teamId = incoming.teamId;
1256
+ if (!(existing_teamId === incoming_teamId)) {
1257
+ return false;
1258
+ }
1239
1259
  const existing_title = existing.title;
1240
1260
  const incoming_title = incoming.title;
1241
1261
  if (!(existing_title === incoming_title)) {
@@ -1290,7 +1310,7 @@ const ingest$g = function SlackBridgeUserInfoOutputRepresentationIngest(input, p
1290
1310
  }
1291
1311
  }
1292
1312
  const key = keyBuilderFromType$9(luvio, input);
1293
- const ttlToUse = TTL$1;
1313
+ const ttlToUse = TTL$2;
1294
1314
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$k, RepresentationType$g, equals$k);
1295
1315
  return createLink(key);
1296
1316
  };
@@ -1307,6 +1327,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1307
1327
  }
1308
1328
  }
1309
1329
 
1330
+ const TTL$1 = 900000;
1310
1331
  const VERSION$j = "252fe3a6509a770a876e36552ad8dd06";
1311
1332
  function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1312
1333
  const v_error = (() => {
@@ -1646,19 +1667,19 @@ function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1646
1667
  return v_error === undefined ? null : v_error;
1647
1668
  }
1648
1669
  const RepresentationType$f = 'SlackBridgeConversationInfoOutputRepresentation';
1649
- function keyBuilder$z(luvio, config) {
1670
+ function keyBuilder$D(luvio, config) {
1650
1671
  return keyPrefix + '::' + RepresentationType$f + ':' + config.id;
1651
1672
  }
1652
1673
  function keyBuilderFromType$8(luvio, object) {
1653
1674
  const keyParams = {
1654
1675
  id: object.id
1655
1676
  };
1656
- return keyBuilder$z(luvio, keyParams);
1677
+ return keyBuilder$D(luvio, keyParams);
1657
1678
  }
1658
1679
  function normalize$f(input, existing, path, luvio, store, timestamp) {
1659
1680
  return input;
1660
1681
  }
1661
- const select$C = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1682
+ const select$E = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1662
1683
  return {
1663
1684
  kind: 'Fragment',
1664
1685
  version: VERSION$j,
@@ -1822,7 +1843,7 @@ const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(
1822
1843
  }
1823
1844
  }
1824
1845
  const key = keyBuilderFromType$8(luvio, input);
1825
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1846
+ const ttlToUse = TTL$1;
1826
1847
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
1827
1848
  return createLink(key);
1828
1849
  };
@@ -1914,7 +1935,7 @@ function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1914
1935
  })();
1915
1936
  return v_error === undefined ? null : v_error;
1916
1937
  }
1917
- const select$B = function SlackBridgeReactionOutputRepresentationSelect() {
1938
+ const select$D = function SlackBridgeReactionOutputRepresentationSelect() {
1918
1939
  return {
1919
1940
  kind: 'Fragment',
1920
1941
  version: VERSION$i,
@@ -1988,7 +2009,7 @@ function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1988
2009
  })();
1989
2010
  return v_error === undefined ? null : v_error;
1990
2011
  }
1991
- const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
2012
+ const select$C = function SlackBridgeFileTypeOutputRepresentationSelect() {
1992
2013
  return {
1993
2014
  kind: 'Fragment',
1994
2015
  version: VERSION$h,
@@ -2103,8 +2124,8 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
2103
2124
  })();
2104
2125
  return v_error === undefined ? null : v_error;
2105
2126
  }
2106
- const select$z = function SlackBridgeContentVersionOutputRepresentationSelect() {
2107
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
2127
+ const select$B = function SlackBridgeContentVersionOutputRepresentationSelect() {
2128
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$C();
2108
2129
  return {
2109
2130
  kind: 'Fragment',
2110
2131
  version: VERSION$g,
@@ -2216,9 +2237,9 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2216
2237
  })();
2217
2238
  return v_error === undefined ? null : v_error;
2218
2239
  }
2219
- const select$y = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2220
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
2221
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$z();
2240
+ const select$A = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2241
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$C();
2242
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$B();
2222
2243
  return {
2223
2244
  kind: 'Fragment',
2224
2245
  version: VERSION$f,
@@ -2451,20 +2472,20 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2451
2472
  return v_error === undefined ? null : v_error;
2452
2473
  }
2453
2474
  const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
2454
- function keyBuilder$y(luvio, config) {
2475
+ function keyBuilder$C(luvio, config) {
2455
2476
  return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2456
2477
  }
2457
2478
  function keyBuilderFromType$7(luvio, object) {
2458
2479
  const keyParams = {
2459
2480
  uniqueKey: object.uniqueKey
2460
2481
  };
2461
- return keyBuilder$y(luvio, keyParams);
2482
+ return keyBuilder$C(luvio, keyParams);
2462
2483
  }
2463
2484
  function normalize$e(input, existing, path, luvio, store, timestamp) {
2464
2485
  return input;
2465
2486
  }
2466
- const select$x = function SlackBridgeFileOutputRepresentationSelect() {
2467
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$y();
2487
+ const select$z = function SlackBridgeFileOutputRepresentationSelect() {
2488
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$A();
2468
2489
  return {
2469
2490
  kind: 'Fragment',
2470
2491
  version: VERSION$e,
@@ -2997,8 +3018,8 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
2997
3018
  }
2998
3019
  return input;
2999
3020
  }
3000
- const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
3001
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
3021
+ const select$y = function SlackBridgeMessageOutputRepresentationSelect() {
3022
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$D();
3002
3023
  return {
3003
3024
  kind: 'Fragment',
3004
3025
  version: VERSION$d,
@@ -3022,7 +3043,7 @@ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
3022
3043
  name: 'files',
3023
3044
  kind: 'Link',
3024
3045
  plural: true,
3025
- fragment: select$x()
3046
+ fragment: select$z()
3026
3047
  },
3027
3048
  {
3028
3049
  name: 'includesCustomEmoji',
@@ -3330,7 +3351,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
3330
3351
  }
3331
3352
  return input;
3332
3353
  }
3333
- const select$v = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3354
+ const select$x = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3334
3355
  return {
3335
3356
  kind: 'Fragment',
3336
3357
  version: VERSION$c,
@@ -3344,7 +3365,7 @@ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSele
3344
3365
  name: 'messages',
3345
3366
  kind: 'Link',
3346
3367
  plural: true,
3347
- fragment: select$w()
3368
+ fragment: select$y()
3348
3369
  },
3349
3370
  {
3350
3371
  name: 'nextCursor',
@@ -3402,7 +3423,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3402
3423
  }
3403
3424
  }
3404
3425
 
3405
- const VERSION$b = "7ec6cbca3e2948ff5ef00e4034f365d5";
3426
+ const VERSION$b = "1119f2c416d047eefd8303c5a2d590ae";
3406
3427
  function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3407
3428
  const v_error = (() => {
3408
3429
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3470,6 +3491,30 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3470
3491
  message += '\n' + obj_conversationInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
3471
3492
  return new TypeError(message);
3472
3493
  }
3494
+ const obj_conversationInfos = obj.conversationInfos;
3495
+ const path_conversationInfos = path + '.conversationInfos';
3496
+ if (!ArrayIsArray(obj_conversationInfos)) {
3497
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
3498
+ }
3499
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
3500
+ const obj_conversationInfos_item = obj_conversationInfos[i];
3501
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
3502
+ if (typeof obj_conversationInfos_item !== 'object') {
3503
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
3504
+ }
3505
+ }
3506
+ const obj_emojis = obj.emojis;
3507
+ const path_emojis = path + '.emojis';
3508
+ if (!ArrayIsArray(obj_emojis)) {
3509
+ return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
3510
+ }
3511
+ for (let i = 0; i < obj_emojis.length; i++) {
3512
+ const obj_emojis_item = obj_emojis[i];
3513
+ const path_emojis_item = path_emojis + '[' + i + ']';
3514
+ if (typeof obj_emojis_item !== 'object') {
3515
+ return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
3516
+ }
3517
+ }
3473
3518
  const obj_history = obj.history;
3474
3519
  const path_history = path + '.history';
3475
3520
  if (typeof obj_history !== 'object') {
@@ -3577,6 +3622,38 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3577
3622
  ttl: path.ttl
3578
3623
  }, luvio, store, timestamp);
3579
3624
  }
3625
+ const input_conversationInfos = input.conversationInfos;
3626
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
3627
+ for (let i = 0; i < input_conversationInfos.length; i++) {
3628
+ const input_conversationInfos_item = input_conversationInfos[i];
3629
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
3630
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
3631
+ fullPath: input_conversationInfos_item_id,
3632
+ propertyName: i,
3633
+ parent: {
3634
+ data: input,
3635
+ key: path.fullPath,
3636
+ existing: existing,
3637
+ },
3638
+ ttl: path.ttl
3639
+ }, luvio, store, timestamp);
3640
+ }
3641
+ const input_emojis = input.emojis;
3642
+ const input_emojis_id = path.fullPath + '__emojis';
3643
+ for (let i = 0; i < input_emojis.length; i++) {
3644
+ const input_emojis_item = input_emojis[i];
3645
+ let input_emojis_item_id = input_emojis_id + '__' + i;
3646
+ input_emojis[i] = ingest$h(input_emojis_item, {
3647
+ fullPath: input_emojis_item_id,
3648
+ propertyName: i,
3649
+ parent: {
3650
+ data: input,
3651
+ key: path.fullPath,
3652
+ existing: existing,
3653
+ },
3654
+ ttl: path.ttl
3655
+ }, luvio, store, timestamp);
3656
+ }
3580
3657
  const input_history = input.history;
3581
3658
  const input_history_id = path.fullPath + '__history';
3582
3659
  input.history = ingest$c(input_history, {
@@ -3607,7 +3684,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3607
3684
  }
3608
3685
  return input;
3609
3686
  }
3610
- const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3687
+ const select$w = function SlackBridgeConversationOutputRepresentationSelect() {
3611
3688
  return {
3612
3689
  kind: 'Fragment',
3613
3690
  version: VERSION$b,
@@ -3625,18 +3702,30 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3625
3702
  name: 'contextUserInfo',
3626
3703
  kind: 'Link',
3627
3704
  nullable: true,
3628
- fragment: select$D()
3705
+ fragment: select$F()
3629
3706
  },
3630
3707
  {
3631
3708
  name: 'conversationInfo',
3632
3709
  kind: 'Link',
3633
3710
  nullable: true,
3634
- fragment: select$C()
3711
+ fragment: select$E()
3712
+ },
3713
+ {
3714
+ name: 'conversationInfos',
3715
+ kind: 'Link',
3716
+ plural: true,
3717
+ fragment: select$E()
3718
+ },
3719
+ {
3720
+ name: 'emojis',
3721
+ kind: 'Link',
3722
+ plural: true,
3723
+ fragment: select$G()
3635
3724
  },
3636
3725
  {
3637
3726
  name: 'history',
3638
3727
  kind: 'Link',
3639
- fragment: select$v()
3728
+ fragment: select$x()
3640
3729
  },
3641
3730
  {
3642
3731
  name: 'teamId',
@@ -3650,7 +3739,7 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3650
3739
  name: 'userInfos',
3651
3740
  kind: 'Link',
3652
3741
  plural: true,
3653
- fragment: select$D()
3742
+ fragment: select$F()
3654
3743
  },
3655
3744
  {
3656
3745
  name: 'websocketUrl',
@@ -3695,6 +3784,26 @@ function equals$b(existing, incoming) {
3695
3784
  existing_conversationInfo.__ref === incoming_conversationInfo.__ref))) {
3696
3785
  return false;
3697
3786
  }
3787
+ const existing_conversationInfos = existing.conversationInfos;
3788
+ const incoming_conversationInfos = incoming.conversationInfos;
3789
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
3790
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
3791
+ return false;
3792
+ }
3793
+ });
3794
+ if (equals_conversationInfos_items === false) {
3795
+ return false;
3796
+ }
3797
+ const existing_emojis = existing.emojis;
3798
+ const incoming_emojis = incoming.emojis;
3799
+ const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
3800
+ if (!(existing_emojis_item.__ref === incoming_emojis_item.__ref)) {
3801
+ return false;
3802
+ }
3803
+ });
3804
+ if (equals_emojis_items === false) {
3805
+ return false;
3806
+ }
3698
3807
  const existing_history = existing.history;
3699
3808
  const incoming_history = incoming.history;
3700
3809
  if (!(existing_history.__ref === incoming_history.__ref)) {
@@ -3748,6 +3857,14 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3748
3857
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3749
3858
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
3750
3859
  }
3860
+ const input_conversationInfos_length = input.conversationInfos.length;
3861
+ for (let i = 0; i < input_conversationInfos_length; i++) {
3862
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
3863
+ }
3864
+ const input_emojis_length = input.emojis.length;
3865
+ for (let i = 0; i < input_emojis_length; i++) {
3866
+ getTypeCacheKeys$h(rootKeySet, luvio, input.emojis[i]);
3867
+ }
3751
3868
  getTypeCacheKeys$c(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3752
3869
  const input_userInfos_length = input.userInfos.length;
3753
3870
  for (let i = 0; i < input_userInfos_length; i++) {
@@ -3755,22 +3872,22 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3755
3872
  }
3756
3873
  }
3757
3874
 
3758
- function select$t(luvio, params) {
3759
- return select$u();
3875
+ function select$v(luvio, params) {
3876
+ return select$w();
3760
3877
  }
3761
- function keyBuilder$x(luvio, params) {
3878
+ function keyBuilder$B(luvio, params) {
3762
3879
  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 + ')';
3763
3880
  }
3764
- function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
3765
- getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
3881
+ function getResponseCacheKeys$n(storeKeyMap, luvio, resourceParams, response) {
3882
+ getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$B(luvio, resourceParams));
3766
3883
  }
3767
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
3884
+ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
3768
3885
  const { body } = response;
3769
- const key = keyBuilder$x(luvio, resourceParams);
3886
+ const key = keyBuilder$B(luvio, resourceParams);
3770
3887
  luvio.storeIngest(key, ingest$b, body);
3771
3888
  const snapshot = luvio.storeLookup({
3772
3889
  recordId: key,
3773
- node: select$t(),
3890
+ node: select$v(),
3774
3891
  variables: {},
3775
3892
  }, snapshotRefresh);
3776
3893
  if (process.env.NODE_ENV !== 'production') {
@@ -3781,13 +3898,13 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
3781
3898
  deepFreeze(snapshot.data);
3782
3899
  return snapshot;
3783
3900
  }
3784
- function ingestError$b(luvio, params, error, snapshotRefresh) {
3785
- const key = keyBuilder$x(luvio, params);
3901
+ function ingestError$d(luvio, params, error, snapshotRefresh) {
3902
+ const key = keyBuilder$B(luvio, params);
3786
3903
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3787
3904
  luvio.storeIngestError(key, errorSnapshot);
3788
3905
  return errorSnapshot;
3789
3906
  }
3790
- function createResourceRequest$l(config) {
3907
+ function createResourceRequest$n(config) {
3791
3908
  const headers = {};
3792
3909
  return {
3793
3910
  baseUri: '/services/data/v63.0',
@@ -3801,7 +3918,7 @@ function createResourceRequest$l(config) {
3801
3918
  };
3802
3919
  }
3803
3920
 
3804
- const adapterName$l = 'getSlackConversation';
3921
+ const adapterName$n = 'getSlackConversation';
3805
3922
  const getSlackConversation_ConfigPropertyMetadata = [
3806
3923
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3807
3924
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3813,86 +3930,86 @@ const getSlackConversation_ConfigPropertyMetadata = [
3813
3930
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3814
3931
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3815
3932
  ];
3816
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getSlackConversation_ConfigPropertyMetadata);
3817
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$m(getSlackConversation_ConfigPropertyMetadata);
3818
- function keyBuilder$w(luvio, config) {
3819
- const resourceParams = createResourceParams$l(config);
3820
- return keyBuilder$x(luvio, resourceParams);
3933
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getSlackConversation_ConfigPropertyMetadata);
3934
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$o(getSlackConversation_ConfigPropertyMetadata);
3935
+ function keyBuilder$A(luvio, config) {
3936
+ const resourceParams = createResourceParams$n(config);
3937
+ return keyBuilder$B(luvio, resourceParams);
3821
3938
  }
3822
- function typeCheckConfig$l(untrustedConfig) {
3939
+ function typeCheckConfig$n(untrustedConfig) {
3823
3940
  const config = {};
3824
- typeCheckConfig$m(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3941
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3825
3942
  return config;
3826
3943
  }
3827
- function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
3944
+ function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
3828
3945
  if (!untrustedIsObject(untrustedConfig)) {
3829
3946
  return null;
3830
3947
  }
3831
3948
  if (process.env.NODE_ENV !== 'production') {
3832
3949
  validateConfig(untrustedConfig, configPropertyNames);
3833
3950
  }
3834
- const config = typeCheckConfig$l(untrustedConfig);
3951
+ const config = typeCheckConfig$n(untrustedConfig);
3835
3952
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3836
3953
  return null;
3837
3954
  }
3838
3955
  return config;
3839
3956
  }
3840
- function adapterFragment$b(luvio, config) {
3841
- createResourceParams$l(config);
3842
- return select$t();
3957
+ function adapterFragment$d(luvio, config) {
3958
+ createResourceParams$n(config);
3959
+ return select$v();
3843
3960
  }
3844
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
3845
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
3961
+ function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
3962
+ const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
3846
3963
  config,
3847
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3964
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
3848
3965
  });
3849
3966
  return luvio.storeBroadcast().then(() => snapshot);
3850
3967
  }
3851
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
3852
- const snapshot = ingestError$b(luvio, resourceParams, response, {
3968
+ function onFetchResponseError$d(luvio, config, resourceParams, response) {
3969
+ const snapshot = ingestError$d(luvio, resourceParams, response, {
3853
3970
  config,
3854
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3971
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
3855
3972
  });
3856
3973
  return luvio.storeBroadcast().then(() => snapshot);
3857
3974
  }
3858
- function buildNetworkSnapshot$l(luvio, config, options) {
3859
- const resourceParams = createResourceParams$l(config);
3860
- const request = createResourceRequest$l(resourceParams);
3975
+ function buildNetworkSnapshot$n(luvio, config, options) {
3976
+ const resourceParams = createResourceParams$n(config);
3977
+ const request = createResourceRequest$n(resourceParams);
3861
3978
  return luvio.dispatchResourceRequest(request, options)
3862
3979
  .then((response) => {
3863
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
3980
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
3864
3981
  const cache = new StoreKeyMap();
3865
- getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
3982
+ getResponseCacheKeys$n(cache, luvio, resourceParams, response.body);
3866
3983
  return cache;
3867
3984
  });
3868
3985
  }, (response) => {
3869
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
3986
+ return luvio.handleErrorResponse(() => onFetchResponseError$d(luvio, config, resourceParams, response));
3870
3987
  });
3871
3988
  }
3872
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
3873
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
3989
+ function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
3990
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$n, undefined, false);
3874
3991
  }
3875
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
3992
+ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
3876
3993
  const { luvio, config } = context;
3877
3994
  const selector = {
3878
- recordId: keyBuilder$w(luvio, config),
3879
- node: adapterFragment$b(luvio, config),
3995
+ recordId: keyBuilder$A(luvio, config),
3996
+ node: adapterFragment$d(luvio, config),
3880
3997
  variables: {},
3881
3998
  };
3882
3999
  const cacheSnapshot = storeLookup(selector, {
3883
4000
  config,
3884
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
4001
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
3885
4002
  });
3886
4003
  return cacheSnapshot;
3887
4004
  }
3888
4005
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3889
- const config = validateAdapterConfig$l(untrustedConfig, getSlackConversation_ConfigPropertyNames);
4006
+ const config = validateAdapterConfig$n(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3890
4007
  // Invalid or incomplete config
3891
4008
  if (config === null) {
3892
4009
  return null;
3893
4010
  }
3894
4011
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3895
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4012
+ buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
3896
4013
  };
3897
4014
 
3898
4015
  const VERSION$a = "769b5b0ed94219341e9be74c08e63aed";
@@ -3920,14 +4037,14 @@ function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3920
4037
  return v_error === undefined ? null : v_error;
3921
4038
  }
3922
4039
  const RepresentationType$a = 'SlackBridgePostMessageOutputRepresentation';
3923
- function keyBuilder$v(luvio, config) {
4040
+ function keyBuilder$z(luvio, config) {
3924
4041
  return keyPrefix + '::' + RepresentationType$a + ':' + config.channelId;
3925
4042
  }
3926
4043
  function keyBuilderFromType$6(luvio, object) {
3927
4044
  const keyParams = {
3928
4045
  channelId: object.channelId
3929
4046
  };
3930
- return keyBuilder$v(luvio, keyParams);
4047
+ return keyBuilder$z(luvio, keyParams);
3931
4048
  }
3932
4049
  function normalize$a(input, existing, path, luvio, store, timestamp) {
3933
4050
  const input_postedMessage = input.postedMessage;
@@ -3944,7 +4061,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3944
4061
  }, luvio, store, timestamp);
3945
4062
  return input;
3946
4063
  }
3947
- const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
4064
+ const select$u = function SlackBridgePostMessageOutputRepresentationSelect() {
3948
4065
  return {
3949
4066
  kind: 'Fragment',
3950
4067
  version: VERSION$a,
@@ -3957,7 +4074,7 @@ const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
3957
4074
  {
3958
4075
  name: 'postedMessage',
3959
4076
  kind: 'Link',
3960
- fragment: select$w()
4077
+ fragment: select$y()
3961
4078
  },
3962
4079
  {
3963
4080
  name: 'timestamp',
@@ -4007,19 +4124,19 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
4007
4124
  getTypeCacheKeys$d(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
4008
4125
  }
4009
4126
 
4010
- function select$r(luvio, params) {
4011
- return select$s();
4127
+ function select$t(luvio, params) {
4128
+ return select$u();
4012
4129
  }
4013
- function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
4130
+ function getResponseCacheKeys$m(storeKeyMap, luvio, resourceParams, response) {
4014
4131
  getTypeCacheKeys$a(storeKeyMap, luvio, response);
4015
4132
  }
4016
- function ingestSuccess$h(luvio, resourceParams, response) {
4133
+ function ingestSuccess$j(luvio, resourceParams, response) {
4017
4134
  const { body } = response;
4018
4135
  const key = keyBuilderFromType$6(luvio, body);
4019
4136
  luvio.storeIngest(key, ingest$a, body);
4020
4137
  const snapshot = luvio.storeLookup({
4021
4138
  recordId: key,
4022
- node: select$r(),
4139
+ node: select$t(),
4023
4140
  variables: {},
4024
4141
  });
4025
4142
  if (process.env.NODE_ENV !== 'production') {
@@ -4030,7 +4147,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
4030
4147
  deepFreeze(snapshot.data);
4031
4148
  return snapshot;
4032
4149
  }
4033
- function createResourceRequest$k(config) {
4150
+ function createResourceRequest$m(config) {
4034
4151
  const headers = {};
4035
4152
  return {
4036
4153
  baseUri: '/services/data/v63.0',
@@ -4044,7 +4161,7 @@ function createResourceRequest$k(config) {
4044
4161
  };
4045
4162
  }
4046
4163
 
4047
- const adapterName$k = 'postSlackConversation';
4164
+ const adapterName$m = 'postSlackConversation';
4048
4165
  const postSlackConversation_ConfigPropertyMetadata = [
4049
4166
  generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
4050
4167
  generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
@@ -4053,37 +4170,37 @@ const postSlackConversation_ConfigPropertyMetadata = [
4053
4170
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
4054
4171
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
4055
4172
  ];
4056
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackConversation_ConfigPropertyMetadata);
4057
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$m(postSlackConversation_ConfigPropertyMetadata);
4058
- function typeCheckConfig$k(untrustedConfig) {
4173
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, postSlackConversation_ConfigPropertyMetadata);
4174
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$o(postSlackConversation_ConfigPropertyMetadata);
4175
+ function typeCheckConfig$m(untrustedConfig) {
4059
4176
  const config = {};
4060
- typeCheckConfig$m(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
4177
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
4061
4178
  return config;
4062
4179
  }
4063
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4180
+ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
4064
4181
  if (!untrustedIsObject(untrustedConfig)) {
4065
4182
  return null;
4066
4183
  }
4067
4184
  if (process.env.NODE_ENV !== 'production') {
4068
4185
  validateConfig(untrustedConfig, configPropertyNames);
4069
4186
  }
4070
- const config = typeCheckConfig$k(untrustedConfig);
4187
+ const config = typeCheckConfig$m(untrustedConfig);
4071
4188
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4072
4189
  return null;
4073
4190
  }
4074
4191
  return config;
4075
4192
  }
4076
- function buildNetworkSnapshot$k(luvio, config, options) {
4077
- const resourceParams = createResourceParams$k(config);
4078
- const request = createResourceRequest$k(resourceParams);
4193
+ function buildNetworkSnapshot$m(luvio, config, options) {
4194
+ const resourceParams = createResourceParams$m(config);
4195
+ const request = createResourceRequest$m(resourceParams);
4079
4196
  return luvio.dispatchResourceRequest(request, options)
4080
4197
  .then((response) => {
4081
4198
  return luvio.handleSuccessResponse(() => {
4082
- const snapshot = ingestSuccess$h(luvio, resourceParams, response);
4199
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response);
4083
4200
  return luvio.storeBroadcast().then(() => snapshot);
4084
4201
  }, () => {
4085
4202
  const cache = new StoreKeyMap();
4086
- getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4203
+ getResponseCacheKeys$m(cache, luvio, resourceParams, response.body);
4087
4204
  return cache;
4088
4205
  });
4089
4206
  }, (response) => {
@@ -4093,28 +4210,28 @@ function buildNetworkSnapshot$k(luvio, config, options) {
4093
4210
  }
4094
4211
  const postSlackConversationAdapterFactory = (luvio) => {
4095
4212
  return function postSlackConversation(untrustedConfig) {
4096
- const config = validateAdapterConfig$k(untrustedConfig, postSlackConversation_ConfigPropertyNames);
4213
+ const config = validateAdapterConfig$m(untrustedConfig, postSlackConversation_ConfigPropertyNames);
4097
4214
  // Invalid or incomplete config
4098
4215
  if (config === null) {
4099
4216
  throw new Error('Invalid config for "postSlackConversation"');
4100
4217
  }
4101
- return buildNetworkSnapshot$k(luvio, config);
4218
+ return buildNetworkSnapshot$m(luvio, config);
4102
4219
  };
4103
4220
  };
4104
4221
 
4105
- function select$q(luvio, params) {
4106
- return select$x();
4222
+ function select$s(luvio, params) {
4223
+ return select$z();
4107
4224
  }
4108
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4225
+ function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
4109
4226
  getTypeCacheKeys$e(storeKeyMap, luvio, response);
4110
4227
  }
4111
- function ingestSuccess$g(luvio, resourceParams, response) {
4228
+ function ingestSuccess$i(luvio, resourceParams, response) {
4112
4229
  const { body } = response;
4113
4230
  const key = keyBuilderFromType$7(luvio, body);
4114
4231
  luvio.storeIngest(key, ingest$e, body);
4115
4232
  const snapshot = luvio.storeLookup({
4116
4233
  recordId: key,
4117
- node: select$q(),
4234
+ node: select$s(),
4118
4235
  variables: {},
4119
4236
  });
4120
4237
  if (process.env.NODE_ENV !== 'production') {
@@ -4125,7 +4242,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
4125
4242
  deepFreeze(snapshot.data);
4126
4243
  return snapshot;
4127
4244
  }
4128
- function createResourceRequest$j(config) {
4245
+ function createResourceRequest$l(config) {
4129
4246
  const headers = {};
4130
4247
  return {
4131
4248
  baseUri: '/services/data/v63.0',
@@ -4139,7 +4256,7 @@ function createResourceRequest$j(config) {
4139
4256
  };
4140
4257
  }
4141
4258
 
4142
- const adapterName$j = 'postSlackFile';
4259
+ const adapterName$l = 'postSlackFile';
4143
4260
  const postSlackFile_ConfigPropertyMetadata = [
4144
4261
  generateParamConfigMetadata('base64EncodedFileData', true, 2 /* Body */, 0 /* String */),
4145
4262
  generateParamConfigMetadata('channels', true, 2 /* Body */, 0 /* String */, true),
@@ -4150,37 +4267,37 @@ const postSlackFile_ConfigPropertyMetadata = [
4150
4267
  generateParamConfigMetadata('threadTs', true, 2 /* Body */, 0 /* String */),
4151
4268
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
4152
4269
  ];
4153
- const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackFile_ConfigPropertyMetadata);
4154
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$m(postSlackFile_ConfigPropertyMetadata);
4155
- function typeCheckConfig$j(untrustedConfig) {
4270
+ const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, postSlackFile_ConfigPropertyMetadata);
4271
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$o(postSlackFile_ConfigPropertyMetadata);
4272
+ function typeCheckConfig$l(untrustedConfig) {
4156
4273
  const config = {};
4157
- typeCheckConfig$m(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4274
+ typeCheckConfig$o(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4158
4275
  return config;
4159
4276
  }
4160
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4277
+ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
4161
4278
  if (!untrustedIsObject(untrustedConfig)) {
4162
4279
  return null;
4163
4280
  }
4164
4281
  if (process.env.NODE_ENV !== 'production') {
4165
4282
  validateConfig(untrustedConfig, configPropertyNames);
4166
4283
  }
4167
- const config = typeCheckConfig$j(untrustedConfig);
4284
+ const config = typeCheckConfig$l(untrustedConfig);
4168
4285
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4169
4286
  return null;
4170
4287
  }
4171
4288
  return config;
4172
4289
  }
4173
- function buildNetworkSnapshot$j(luvio, config, options) {
4174
- const resourceParams = createResourceParams$j(config);
4175
- const request = createResourceRequest$j(resourceParams);
4290
+ function buildNetworkSnapshot$l(luvio, config, options) {
4291
+ const resourceParams = createResourceParams$l(config);
4292
+ const request = createResourceRequest$l(resourceParams);
4176
4293
  return luvio.dispatchResourceRequest(request, options)
4177
4294
  .then((response) => {
4178
4295
  return luvio.handleSuccessResponse(() => {
4179
- const snapshot = ingestSuccess$g(luvio, resourceParams, response);
4296
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response);
4180
4297
  return luvio.storeBroadcast().then(() => snapshot);
4181
4298
  }, () => {
4182
4299
  const cache = new StoreKeyMap();
4183
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4300
+ getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
4184
4301
  return cache;
4185
4302
  });
4186
4303
  }, (response) => {
@@ -4190,12 +4307,12 @@ function buildNetworkSnapshot$j(luvio, config, options) {
4190
4307
  }
4191
4308
  const postSlackFileAdapterFactory = (luvio) => {
4192
4309
  return function postSlackFile(untrustedConfig) {
4193
- const config = validateAdapterConfig$j(untrustedConfig, postSlackFile_ConfigPropertyNames);
4310
+ const config = validateAdapterConfig$l(untrustedConfig, postSlackFile_ConfigPropertyNames);
4194
4311
  // Invalid or incomplete config
4195
4312
  if (config === null) {
4196
4313
  throw new Error('Invalid config for "postSlackFile"');
4197
4314
  }
4198
- return buildNetworkSnapshot$j(luvio, config);
4315
+ return buildNetworkSnapshot$l(luvio, config);
4199
4316
  };
4200
4317
  };
4201
4318
 
@@ -4224,14 +4341,14 @@ function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
4224
4341
  return v_error === undefined ? null : v_error;
4225
4342
  }
4226
4343
  const RepresentationType$9 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4227
- function keyBuilder$u(luvio, config) {
4344
+ function keyBuilder$y(luvio, config) {
4228
4345
  return keyPrefix + '::' + RepresentationType$9 + ':' + config.relatedRecordId;
4229
4346
  }
4230
4347
  function keyBuilderFromType$5(luvio, object) {
4231
4348
  const keyParams = {
4232
4349
  relatedRecordId: object.relatedRecordId
4233
4350
  };
4234
- return keyBuilder$u(luvio, keyParams);
4351
+ return keyBuilder$y(luvio, keyParams);
4235
4352
  }
4236
4353
  function normalize$9(input, existing, path, luvio, store, timestamp) {
4237
4354
  const input_conversationInfo = input.conversationInfo;
@@ -4248,7 +4365,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
4248
4365
  }, luvio, store, timestamp);
4249
4366
  return input;
4250
4367
  }
4251
- const select$p = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4368
+ const select$r = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4252
4369
  return {
4253
4370
  kind: 'Fragment',
4254
4371
  version: VERSION$9,
@@ -4257,7 +4374,7 @@ const select$p = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
4257
4374
  {
4258
4375
  name: 'conversationInfo',
4259
4376
  kind: 'Link',
4260
- fragment: select$C()
4377
+ fragment: select$E()
4261
4378
  },
4262
4379
  {
4263
4380
  name: 'relatedRecordId',
@@ -4311,19 +4428,19 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4311
4428
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4312
4429
  }
4313
4430
 
4314
- function select$o(luvio, params) {
4315
- return select$p();
4431
+ function select$q(luvio, params) {
4432
+ return select$r();
4316
4433
  }
4317
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4434
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
4318
4435
  getTypeCacheKeys$9(storeKeyMap, luvio, response);
4319
4436
  }
4320
- function ingestSuccess$f(luvio, resourceParams, response) {
4437
+ function ingestSuccess$h(luvio, resourceParams, response) {
4321
4438
  const { body } = response;
4322
4439
  const key = keyBuilderFromType$5(luvio, body);
4323
4440
  luvio.storeIngest(key, ingest$9, body);
4324
4441
  const snapshot = luvio.storeLookup({
4325
4442
  recordId: key,
4326
- node: select$o(),
4443
+ node: select$q(),
4327
4444
  variables: {},
4328
4445
  });
4329
4446
  if (process.env.NODE_ENV !== 'production') {
@@ -4334,7 +4451,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
4334
4451
  deepFreeze(snapshot.data);
4335
4452
  return snapshot;
4336
4453
  }
4337
- function createResourceRequest$i(config) {
4454
+ function createResourceRequest$k(config) {
4338
4455
  const headers = {};
4339
4456
  return {
4340
4457
  baseUri: '/services/data/v63.0',
@@ -4348,16 +4465,16 @@ function createResourceRequest$i(config) {
4348
4465
  };
4349
4466
  }
4350
4467
 
4351
- const adapterName$i = 'postSlackRecordChannelInfos';
4468
+ const adapterName$k = 'postSlackRecordChannelInfos';
4352
4469
  const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
4353
4470
  generateParamConfigMetadata('conversationInfo', true, 2 /* Body */, 4 /* Unsupported */),
4354
4471
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
4355
4472
  ];
4356
- const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4357
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$m(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4358
- function typeCheckConfig$i(untrustedConfig) {
4473
+ const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4474
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$o(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4475
+ function typeCheckConfig$k(untrustedConfig) {
4359
4476
  const config = {};
4360
- typeCheckConfig$m(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4477
+ typeCheckConfig$o(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4361
4478
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
4362
4479
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
4363
4480
  const untrustedConfig_conversationInfo_object = {};
@@ -4371,30 +4488,30 @@ function typeCheckConfig$i(untrustedConfig) {
4371
4488
  }
4372
4489
  return config;
4373
4490
  }
4374
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4491
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4375
4492
  if (!untrustedIsObject(untrustedConfig)) {
4376
4493
  return null;
4377
4494
  }
4378
4495
  if (process.env.NODE_ENV !== 'production') {
4379
4496
  validateConfig(untrustedConfig, configPropertyNames);
4380
4497
  }
4381
- const config = typeCheckConfig$i(untrustedConfig);
4498
+ const config = typeCheckConfig$k(untrustedConfig);
4382
4499
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4383
4500
  return null;
4384
4501
  }
4385
4502
  return config;
4386
4503
  }
4387
- function buildNetworkSnapshot$i(luvio, config, options) {
4388
- const resourceParams = createResourceParams$i(config);
4389
- const request = createResourceRequest$i(resourceParams);
4504
+ function buildNetworkSnapshot$k(luvio, config, options) {
4505
+ const resourceParams = createResourceParams$k(config);
4506
+ const request = createResourceRequest$k(resourceParams);
4390
4507
  return luvio.dispatchResourceRequest(request, options)
4391
4508
  .then((response) => {
4392
4509
  return luvio.handleSuccessResponse(() => {
4393
- const snapshot = ingestSuccess$f(luvio, resourceParams, response);
4510
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response);
4394
4511
  return luvio.storeBroadcast().then(() => snapshot);
4395
4512
  }, () => {
4396
4513
  const cache = new StoreKeyMap();
4397
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4514
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4398
4515
  return cache;
4399
4516
  });
4400
4517
  }, (response) => {
@@ -4404,33 +4521,33 @@ function buildNetworkSnapshot$i(luvio, config, options) {
4404
4521
  }
4405
4522
  const postSlackRecordChannelInfosAdapterFactory = (luvio) => {
4406
4523
  return function postSlackRecordChannelInfos(untrustedConfig) {
4407
- const config = validateAdapterConfig$i(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4524
+ const config = validateAdapterConfig$k(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4408
4525
  // Invalid or incomplete config
4409
4526
  if (config === null) {
4410
4527
  throw new Error('Invalid config for "postSlackRecordChannelInfos"');
4411
4528
  }
4412
- return buildNetworkSnapshot$i(luvio, config);
4529
+ return buildNetworkSnapshot$k(luvio, config);
4413
4530
  };
4414
4531
  };
4415
4532
 
4416
- function select$n(luvio, params) {
4417
- return select$p();
4533
+ function select$p(luvio, params) {
4534
+ return select$r();
4418
4535
  }
4419
- function keyBuilder$t(luvio, params) {
4420
- return keyBuilder$u(luvio, {
4536
+ function keyBuilder$x(luvio, params) {
4537
+ return keyBuilder$y(luvio, {
4421
4538
  relatedRecordId: params.urlParams.relatedRecordId
4422
4539
  });
4423
4540
  }
4424
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4541
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4425
4542
  getTypeCacheKeys$9(storeKeyMap, luvio, response);
4426
4543
  }
4427
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4544
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4428
4545
  const { body } = response;
4429
- const key = keyBuilder$t(luvio, resourceParams);
4546
+ const key = keyBuilder$x(luvio, resourceParams);
4430
4547
  luvio.storeIngest(key, ingest$9, body);
4431
4548
  const snapshot = luvio.storeLookup({
4432
4549
  recordId: key,
4433
- node: select$n(),
4550
+ node: select$p(),
4434
4551
  variables: {},
4435
4552
  }, snapshotRefresh);
4436
4553
  if (process.env.NODE_ENV !== 'production') {
@@ -4441,13 +4558,13 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4441
4558
  deepFreeze(snapshot.data);
4442
4559
  return snapshot;
4443
4560
  }
4444
- function ingestError$a(luvio, params, error, snapshotRefresh) {
4445
- const key = keyBuilder$t(luvio, params);
4561
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
4562
+ const key = keyBuilder$x(luvio, params);
4446
4563
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4447
4564
  luvio.storeIngestError(key, errorSnapshot);
4448
4565
  return errorSnapshot;
4449
4566
  }
4450
- function createResourceRequest$h(config) {
4567
+ function createResourceRequest$j(config) {
4451
4568
  const headers = {};
4452
4569
  return {
4453
4570
  baseUri: '/services/data/v63.0',
@@ -4461,90 +4578,90 @@ function createResourceRequest$h(config) {
4461
4578
  };
4462
4579
  }
4463
4580
 
4464
- const adapterName$h = 'getSlackRecordChannelInfo';
4581
+ const adapterName$j = 'getSlackRecordChannelInfo';
4465
4582
  const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
4466
4583
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
4467
4584
  ];
4468
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4469
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$m(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4470
- function keyBuilder$s(luvio, config) {
4471
- const resourceParams = createResourceParams$h(config);
4472
- return keyBuilder$t(luvio, resourceParams);
4585
+ const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4586
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$o(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4587
+ function keyBuilder$w(luvio, config) {
4588
+ const resourceParams = createResourceParams$j(config);
4589
+ return keyBuilder$x(luvio, resourceParams);
4473
4590
  }
4474
- function typeCheckConfig$h(untrustedConfig) {
4591
+ function typeCheckConfig$j(untrustedConfig) {
4475
4592
  const config = {};
4476
- typeCheckConfig$m(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4593
+ typeCheckConfig$o(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4477
4594
  return config;
4478
4595
  }
4479
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4596
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4480
4597
  if (!untrustedIsObject(untrustedConfig)) {
4481
4598
  return null;
4482
4599
  }
4483
4600
  if (process.env.NODE_ENV !== 'production') {
4484
4601
  validateConfig(untrustedConfig, configPropertyNames);
4485
4602
  }
4486
- const config = typeCheckConfig$h(untrustedConfig);
4603
+ const config = typeCheckConfig$j(untrustedConfig);
4487
4604
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4488
4605
  return null;
4489
4606
  }
4490
4607
  return config;
4491
4608
  }
4492
- function adapterFragment$a(luvio, config) {
4493
- createResourceParams$h(config);
4494
- return select$n();
4609
+ function adapterFragment$c(luvio, config) {
4610
+ createResourceParams$j(config);
4611
+ return select$p();
4495
4612
  }
4496
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4497
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
4613
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
4614
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
4498
4615
  config,
4499
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4616
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4500
4617
  });
4501
4618
  return luvio.storeBroadcast().then(() => snapshot);
4502
4619
  }
4503
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
4504
- const snapshot = ingestError$a(luvio, resourceParams, response, {
4620
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
4621
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
4505
4622
  config,
4506
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4623
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4507
4624
  });
4508
4625
  return luvio.storeBroadcast().then(() => snapshot);
4509
4626
  }
4510
- function buildNetworkSnapshot$h(luvio, config, options) {
4511
- const resourceParams = createResourceParams$h(config);
4512
- const request = createResourceRequest$h(resourceParams);
4513
- return luvio.dispatchResourceRequest(request, options)
4627
+ function buildNetworkSnapshot$j(luvio, config, options) {
4628
+ const resourceParams = createResourceParams$j(config);
4629
+ const request = createResourceRequest$j(resourceParams);
4630
+ return luvio.dispatchResourceRequest(request, options)
4514
4631
  .then((response) => {
4515
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
4632
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
4516
4633
  const cache = new StoreKeyMap();
4517
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
4634
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4518
4635
  return cache;
4519
4636
  });
4520
4637
  }, (response) => {
4521
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
4638
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
4522
4639
  });
4523
4640
  }
4524
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4525
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4641
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
4642
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
4526
4643
  }
4527
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4644
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
4528
4645
  const { luvio, config } = context;
4529
4646
  const selector = {
4530
- recordId: keyBuilder$s(luvio, config),
4531
- node: adapterFragment$a(luvio, config),
4647
+ recordId: keyBuilder$w(luvio, config),
4648
+ node: adapterFragment$c(luvio, config),
4532
4649
  variables: {},
4533
4650
  };
4534
4651
  const cacheSnapshot = storeLookup(selector, {
4535
4652
  config,
4536
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4653
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4537
4654
  });
4538
4655
  return cacheSnapshot;
4539
4656
  }
4540
4657
  const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4541
- const config = validateAdapterConfig$h(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4658
+ const config = validateAdapterConfig$j(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4542
4659
  // Invalid or incomplete config
4543
4660
  if (config === null) {
4544
4661
  return null;
4545
4662
  }
4546
4663
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4547
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4664
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
4548
4665
  };
4549
4666
 
4550
4667
  const TTL = 500;
@@ -4622,7 +4739,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4622
4739
  }
4623
4740
  return input;
4624
4741
  }
4625
- const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4742
+ const select$o = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4626
4743
  return {
4627
4744
  kind: 'Fragment',
4628
4745
  version: VERSION$8,
@@ -4632,13 +4749,13 @@ const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
4632
4749
  name: 'conversations',
4633
4750
  kind: 'Link',
4634
4751
  plural: true,
4635
- fragment: select$C()
4752
+ fragment: select$E()
4636
4753
  },
4637
4754
  {
4638
4755
  name: 'messages',
4639
4756
  kind: 'Link',
4640
4757
  plural: true,
4641
- fragment: select$w()
4758
+ fragment: select$y()
4642
4759
  },
4643
4760
  {
4644
4761
  name: 'teamId',
@@ -4705,22 +4822,22 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4705
4822
  }
4706
4823
  }
4707
4824
 
4708
- function select$l(luvio, params) {
4709
- return select$m();
4825
+ function select$n(luvio, params) {
4826
+ return select$o();
4710
4827
  }
4711
- function keyBuilder$r(luvio, params) {
4828
+ function keyBuilder$v(luvio, params) {
4712
4829
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
4713
4830
  }
4714
- function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4715
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
4831
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4832
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
4716
4833
  }
4717
- function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4834
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4718
4835
  const { body } = response;
4719
- const key = keyBuilder$r(luvio, resourceParams);
4836
+ const key = keyBuilder$v(luvio, resourceParams);
4720
4837
  luvio.storeIngest(key, ingest$8, body);
4721
4838
  const snapshot = luvio.storeLookup({
4722
4839
  recordId: key,
4723
- node: select$l(),
4840
+ node: select$n(),
4724
4841
  variables: {},
4725
4842
  }, snapshotRefresh);
4726
4843
  if (process.env.NODE_ENV !== 'production') {
@@ -4731,8 +4848,8 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4731
4848
  deepFreeze(snapshot.data);
4732
4849
  return snapshot;
4733
4850
  }
4734
- function ingestError$9(luvio, params, error, snapshotRefresh) {
4735
- const key = keyBuilder$r(luvio, params);
4851
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
4852
+ const key = keyBuilder$v(luvio, params);
4736
4853
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4737
4854
  const storeMetadataParams = {
4738
4855
  ttl: TTL,
@@ -4743,7 +4860,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
4743
4860
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4744
4861
  return errorSnapshot;
4745
4862
  }
4746
- function createResourceRequest$g(config) {
4863
+ function createResourceRequest$i(config) {
4747
4864
  const headers = {};
4748
4865
  return {
4749
4866
  baseUri: '/services/data/v63.0',
@@ -4757,90 +4874,90 @@ function createResourceRequest$g(config) {
4757
4874
  };
4758
4875
  }
4759
4876
 
4760
- const adapterName$g = 'getRelatedThreads';
4877
+ const adapterName$i = 'getRelatedThreads';
4761
4878
  const getRelatedThreads_ConfigPropertyMetadata = [
4762
4879
  generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
4763
4880
  ];
4764
- const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getRelatedThreads_ConfigPropertyMetadata);
4765
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$m(getRelatedThreads_ConfigPropertyMetadata);
4766
- function keyBuilder$q(luvio, config) {
4767
- const resourceParams = createResourceParams$g(config);
4768
- return keyBuilder$r(luvio, resourceParams);
4881
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getRelatedThreads_ConfigPropertyMetadata);
4882
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$o(getRelatedThreads_ConfigPropertyMetadata);
4883
+ function keyBuilder$u(luvio, config) {
4884
+ const resourceParams = createResourceParams$i(config);
4885
+ return keyBuilder$v(luvio, resourceParams);
4769
4886
  }
4770
- function typeCheckConfig$g(untrustedConfig) {
4887
+ function typeCheckConfig$i(untrustedConfig) {
4771
4888
  const config = {};
4772
- typeCheckConfig$m(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4889
+ typeCheckConfig$o(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4773
4890
  return config;
4774
4891
  }
4775
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
4892
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4776
4893
  if (!untrustedIsObject(untrustedConfig)) {
4777
4894
  return null;
4778
4895
  }
4779
4896
  if (process.env.NODE_ENV !== 'production') {
4780
4897
  validateConfig(untrustedConfig, configPropertyNames);
4781
4898
  }
4782
- const config = typeCheckConfig$g(untrustedConfig);
4899
+ const config = typeCheckConfig$i(untrustedConfig);
4783
4900
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4784
4901
  return null;
4785
4902
  }
4786
4903
  return config;
4787
4904
  }
4788
- function adapterFragment$9(luvio, config) {
4789
- createResourceParams$g(config);
4790
- return select$l();
4905
+ function adapterFragment$b(luvio, config) {
4906
+ createResourceParams$i(config);
4907
+ return select$n();
4791
4908
  }
4792
- function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
4793
- const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
4909
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4910
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
4794
4911
  config,
4795
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4912
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4796
4913
  });
4797
4914
  return luvio.storeBroadcast().then(() => snapshot);
4798
4915
  }
4799
- function onFetchResponseError$9(luvio, config, resourceParams, response) {
4800
- const snapshot = ingestError$9(luvio, resourceParams, response, {
4916
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
4917
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
4801
4918
  config,
4802
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4919
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4803
4920
  });
4804
4921
  return luvio.storeBroadcast().then(() => snapshot);
4805
4922
  }
4806
- function buildNetworkSnapshot$g(luvio, config, options) {
4807
- const resourceParams = createResourceParams$g(config);
4808
- const request = createResourceRequest$g(resourceParams);
4923
+ function buildNetworkSnapshot$i(luvio, config, options) {
4924
+ const resourceParams = createResourceParams$i(config);
4925
+ const request = createResourceRequest$i(resourceParams);
4809
4926
  return luvio.dispatchResourceRequest(request, options)
4810
4927
  .then((response) => {
4811
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
4928
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4812
4929
  const cache = new StoreKeyMap();
4813
- getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
4930
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4814
4931
  return cache;
4815
4932
  });
4816
4933
  }, (response) => {
4817
- return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
4934
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4818
4935
  });
4819
4936
  }
4820
- function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4821
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4937
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4938
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4822
4939
  }
4823
- function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4940
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4824
4941
  const { luvio, config } = context;
4825
4942
  const selector = {
4826
- recordId: keyBuilder$q(luvio, config),
4827
- node: adapterFragment$9(luvio, config),
4943
+ recordId: keyBuilder$u(luvio, config),
4944
+ node: adapterFragment$b(luvio, config),
4828
4945
  variables: {},
4829
4946
  };
4830
4947
  const cacheSnapshot = storeLookup(selector, {
4831
4948
  config,
4832
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4949
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4833
4950
  });
4834
4951
  return cacheSnapshot;
4835
4952
  }
4836
4953
  const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
4837
- const config = validateAdapterConfig$g(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
4954
+ const config = validateAdapterConfig$i(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
4838
4955
  // Invalid or incomplete config
4839
4956
  if (config === null) {
4840
4957
  return null;
4841
4958
  }
4842
4959
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4843
- buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4960
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4844
4961
  };
4845
4962
 
4846
4963
  const VERSION$7 = "32716a7de3c8810288467155d92e5124";
@@ -4863,19 +4980,19 @@ function validate$7(obj, path = 'SlackBridgeConversationMarkOutputRepresentation
4863
4980
  return v_error === undefined ? null : v_error;
4864
4981
  }
4865
4982
  const RepresentationType$7 = 'SlackBridgeConversationMarkOutputRepresentation';
4866
- function keyBuilder$p(luvio, config) {
4983
+ function keyBuilder$t(luvio, config) {
4867
4984
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
4868
4985
  }
4869
4986
  function keyBuilderFromType$4(luvio, object) {
4870
4987
  const keyParams = {
4871
4988
  channelId: object.channelId
4872
4989
  };
4873
- return keyBuilder$p(luvio, keyParams);
4990
+ return keyBuilder$t(luvio, keyParams);
4874
4991
  }
4875
4992
  function normalize$7(input, existing, path, luvio, store, timestamp) {
4876
4993
  return input;
4877
4994
  }
4878
- const select$k = function SlackBridgeConversationMarkOutputRepresentationSelect() {
4995
+ const select$m = function SlackBridgeConversationMarkOutputRepresentationSelect() {
4879
4996
  return {
4880
4997
  kind: 'Fragment',
4881
4998
  version: VERSION$7,
@@ -4927,19 +5044,19 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4927
5044
  });
4928
5045
  }
4929
5046
 
4930
- function select$j(luvio, params) {
4931
- return select$k();
5047
+ function select$l(luvio, params) {
5048
+ return select$m();
4932
5049
  }
4933
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
5050
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4934
5051
  getTypeCacheKeys$7(storeKeyMap, luvio, response);
4935
5052
  }
4936
- function ingestSuccess$c(luvio, resourceParams, response) {
5053
+ function ingestSuccess$e(luvio, resourceParams, response) {
4937
5054
  const { body } = response;
4938
5055
  const key = keyBuilderFromType$4(luvio, body);
4939
5056
  luvio.storeIngest(key, ingest$7, body);
4940
5057
  const snapshot = luvio.storeLookup({
4941
5058
  recordId: key,
4942
- node: select$j(),
5059
+ node: select$l(),
4943
5060
  variables: {},
4944
5061
  });
4945
5062
  if (process.env.NODE_ENV !== 'production') {
@@ -4950,7 +5067,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
4950
5067
  deepFreeze(snapshot.data);
4951
5068
  return snapshot;
4952
5069
  }
4953
- function createResourceRequest$f(config) {
5070
+ function createResourceRequest$h(config) {
4954
5071
  const headers = {};
4955
5072
  return {
4956
5073
  baseUri: '/services/data/v63.0',
@@ -4964,43 +5081,43 @@ function createResourceRequest$f(config) {
4964
5081
  };
4965
5082
  }
4966
5083
 
4967
- const adapterName$f = 'postSlackConversationMark';
5084
+ const adapterName$h = 'postSlackConversationMark';
4968
5085
  const postSlackConversationMark_ConfigPropertyMetadata = [
4969
5086
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4970
5087
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4971
5088
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
4972
5089
  ];
4973
- const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMark_ConfigPropertyMetadata);
4974
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$m(postSlackConversationMark_ConfigPropertyMetadata);
4975
- function typeCheckConfig$f(untrustedConfig) {
5090
+ const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, postSlackConversationMark_ConfigPropertyMetadata);
5091
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$o(postSlackConversationMark_ConfigPropertyMetadata);
5092
+ function typeCheckConfig$h(untrustedConfig) {
4976
5093
  const config = {};
4977
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
5094
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4978
5095
  return config;
4979
5096
  }
4980
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5097
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4981
5098
  if (!untrustedIsObject(untrustedConfig)) {
4982
5099
  return null;
4983
5100
  }
4984
5101
  if (process.env.NODE_ENV !== 'production') {
4985
5102
  validateConfig(untrustedConfig, configPropertyNames);
4986
5103
  }
4987
- const config = typeCheckConfig$f(untrustedConfig);
5104
+ const config = typeCheckConfig$h(untrustedConfig);
4988
5105
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4989
5106
  return null;
4990
5107
  }
4991
5108
  return config;
4992
5109
  }
4993
- function buildNetworkSnapshot$f(luvio, config, options) {
4994
- const resourceParams = createResourceParams$f(config);
4995
- const request = createResourceRequest$f(resourceParams);
5110
+ function buildNetworkSnapshot$h(luvio, config, options) {
5111
+ const resourceParams = createResourceParams$h(config);
5112
+ const request = createResourceRequest$h(resourceParams);
4996
5113
  return luvio.dispatchResourceRequest(request, options)
4997
5114
  .then((response) => {
4998
5115
  return luvio.handleSuccessResponse(() => {
4999
- const snapshot = ingestSuccess$c(luvio, resourceParams, response);
5116
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response);
5000
5117
  return luvio.storeBroadcast().then(() => snapshot);
5001
5118
  }, () => {
5002
5119
  const cache = new StoreKeyMap();
5003
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
5120
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
5004
5121
  return cache;
5005
5122
  });
5006
5123
  }, (response) => {
@@ -5010,12 +5127,12 @@ function buildNetworkSnapshot$f(luvio, config, options) {
5010
5127
  }
5011
5128
  const postSlackConversationMarkAdapterFactory = (luvio) => {
5012
5129
  return function postSlackConversationMark(untrustedConfig) {
5013
- const config = validateAdapterConfig$f(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
5130
+ const config = validateAdapterConfig$h(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
5014
5131
  // Invalid or incomplete config
5015
5132
  if (config === null) {
5016
5133
  throw new Error('Invalid config for "postSlackConversationMark"');
5017
5134
  }
5018
- return buildNetworkSnapshot$f(luvio, config);
5135
+ return buildNetworkSnapshot$h(luvio, config);
5019
5136
  };
5020
5137
  };
5021
5138
 
@@ -5072,19 +5189,19 @@ function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
5072
5189
  return v_error === undefined ? null : v_error;
5073
5190
  }
5074
5191
  const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
5075
- function keyBuilder$o(luvio, config) {
5192
+ function keyBuilder$s(luvio, config) {
5076
5193
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
5077
5194
  }
5078
5195
  function keyBuilderFromType$3(luvio, object) {
5079
5196
  const keyParams = {
5080
5197
  channelId: object.channelId
5081
5198
  };
5082
- return keyBuilder$o(luvio, keyParams);
5199
+ return keyBuilder$s(luvio, keyParams);
5083
5200
  }
5084
5201
  function normalize$6(input, existing, path, luvio, store, timestamp) {
5085
5202
  return input;
5086
5203
  }
5087
- const select$i = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5204
+ const select$k = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5088
5205
  return {
5089
5206
  kind: 'Fragment',
5090
5207
  version: VERSION$6,
@@ -5151,24 +5268,24 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
5151
5268
  });
5152
5269
  }
5153
5270
 
5154
- function select$h(luvio, params) {
5155
- return select$i();
5271
+ function select$j(luvio, params) {
5272
+ return select$k();
5156
5273
  }
5157
- function keyBuilder$n(luvio, params) {
5158
- return keyBuilder$o(luvio, {
5274
+ function keyBuilder$r(luvio, params) {
5275
+ return keyBuilder$s(luvio, {
5159
5276
  channelId: params.urlParams.channelId
5160
5277
  });
5161
5278
  }
5162
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
5279
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
5163
5280
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
5164
5281
  }
5165
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5282
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
5166
5283
  const { body } = response;
5167
- const key = keyBuilder$n(luvio, resourceParams);
5284
+ const key = keyBuilder$r(luvio, resourceParams);
5168
5285
  luvio.storeIngest(key, ingest$6, body);
5169
5286
  const snapshot = luvio.storeLookup({
5170
5287
  recordId: key,
5171
- node: select$h(),
5288
+ node: select$j(),
5172
5289
  variables: {},
5173
5290
  }, snapshotRefresh);
5174
5291
  if (process.env.NODE_ENV !== 'production') {
@@ -5179,13 +5296,13 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5179
5296
  deepFreeze(snapshot.data);
5180
5297
  return snapshot;
5181
5298
  }
5182
- function ingestError$8(luvio, params, error, snapshotRefresh) {
5183
- const key = keyBuilder$n(luvio, params);
5299
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
5300
+ const key = keyBuilder$r(luvio, params);
5184
5301
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5185
5302
  luvio.storeIngestError(key, errorSnapshot);
5186
5303
  return errorSnapshot;
5187
5304
  }
5188
- function createResourceRequest$e(config) {
5305
+ function createResourceRequest$g(config) {
5189
5306
  const headers = {};
5190
5307
  return {
5191
5308
  baseUri: '/services/data/v63.0',
@@ -5199,106 +5316,106 @@ function createResourceRequest$e(config) {
5199
5316
  };
5200
5317
  }
5201
5318
 
5202
- const adapterName$e = 'getSlackConversationMembers';
5319
+ const adapterName$g = 'getSlackConversationMembers';
5203
5320
  const getSlackConversationMembers_ConfigPropertyMetadata = [
5204
5321
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5205
5322
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5206
5323
  ];
5207
- const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMembers_ConfigPropertyMetadata);
5208
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$m(getSlackConversationMembers_ConfigPropertyMetadata);
5209
- function keyBuilder$m(luvio, config) {
5210
- const resourceParams = createResourceParams$e(config);
5211
- return keyBuilder$n(luvio, resourceParams);
5324
+ const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMembers_ConfigPropertyMetadata);
5325
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$o(getSlackConversationMembers_ConfigPropertyMetadata);
5326
+ function keyBuilder$q(luvio, config) {
5327
+ const resourceParams = createResourceParams$g(config);
5328
+ return keyBuilder$r(luvio, resourceParams);
5212
5329
  }
5213
- function typeCheckConfig$e(untrustedConfig) {
5330
+ function typeCheckConfig$g(untrustedConfig) {
5214
5331
  const config = {};
5215
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5332
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5216
5333
  return config;
5217
5334
  }
5218
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5335
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
5219
5336
  if (!untrustedIsObject(untrustedConfig)) {
5220
5337
  return null;
5221
5338
  }
5222
5339
  if (process.env.NODE_ENV !== 'production') {
5223
5340
  validateConfig(untrustedConfig, configPropertyNames);
5224
5341
  }
5225
- const config = typeCheckConfig$e(untrustedConfig);
5342
+ const config = typeCheckConfig$g(untrustedConfig);
5226
5343
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5227
5344
  return null;
5228
5345
  }
5229
5346
  return config;
5230
5347
  }
5231
- function adapterFragment$8(luvio, config) {
5232
- createResourceParams$e(config);
5233
- return select$h();
5348
+ function adapterFragment$a(luvio, config) {
5349
+ createResourceParams$g(config);
5350
+ return select$j();
5234
5351
  }
5235
- function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
5236
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
5352
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
5353
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
5237
5354
  config,
5238
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5355
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5239
5356
  });
5240
5357
  return luvio.storeBroadcast().then(() => snapshot);
5241
5358
  }
5242
- function onFetchResponseError$8(luvio, config, resourceParams, response) {
5243
- const snapshot = ingestError$8(luvio, resourceParams, response, {
5359
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
5360
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
5244
5361
  config,
5245
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5362
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5246
5363
  });
5247
5364
  return luvio.storeBroadcast().then(() => snapshot);
5248
5365
  }
5249
- function buildNetworkSnapshot$e(luvio, config, options) {
5250
- const resourceParams = createResourceParams$e(config);
5251
- const request = createResourceRequest$e(resourceParams);
5366
+ function buildNetworkSnapshot$g(luvio, config, options) {
5367
+ const resourceParams = createResourceParams$g(config);
5368
+ const request = createResourceRequest$g(resourceParams);
5252
5369
  return luvio.dispatchResourceRequest(request, options)
5253
5370
  .then((response) => {
5254
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
5371
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
5255
5372
  const cache = new StoreKeyMap();
5256
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
5373
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
5257
5374
  return cache;
5258
5375
  });
5259
5376
  }, (response) => {
5260
- return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
5377
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
5261
5378
  });
5262
5379
  }
5263
- function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5264
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5380
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
5381
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5265
5382
  }
5266
- function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5383
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
5267
5384
  const { luvio, config } = context;
5268
5385
  const selector = {
5269
- recordId: keyBuilder$m(luvio, config),
5270
- node: adapterFragment$8(luvio, config),
5386
+ recordId: keyBuilder$q(luvio, config),
5387
+ node: adapterFragment$a(luvio, config),
5271
5388
  variables: {},
5272
5389
  };
5273
5390
  const cacheSnapshot = storeLookup(selector, {
5274
5391
  config,
5275
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5392
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5276
5393
  });
5277
5394
  return cacheSnapshot;
5278
5395
  }
5279
5396
  const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
5280
- const config = validateAdapterConfig$e(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
5397
+ const config = validateAdapterConfig$g(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
5281
5398
  // Invalid or incomplete config
5282
5399
  if (config === null) {
5283
5400
  return null;
5284
5401
  }
5285
5402
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5286
- buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
5403
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
5287
5404
  };
5288
5405
 
5289
- function select$g(luvio, params) {
5290
- return select$i();
5406
+ function select$i(luvio, params) {
5407
+ return select$k();
5291
5408
  }
5292
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5409
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
5293
5410
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
5294
5411
  }
5295
- function ingestSuccess$a(luvio, resourceParams, response) {
5412
+ function ingestSuccess$c(luvio, resourceParams, response) {
5296
5413
  const { body } = response;
5297
5414
  const key = keyBuilderFromType$3(luvio, body);
5298
5415
  luvio.storeIngest(key, ingest$6, body);
5299
5416
  const snapshot = luvio.storeLookup({
5300
5417
  recordId: key,
5301
- node: select$g(),
5418
+ node: select$i(),
5302
5419
  variables: {},
5303
5420
  });
5304
5421
  if (process.env.NODE_ENV !== 'production') {
@@ -5309,7 +5426,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
5309
5426
  deepFreeze(snapshot.data);
5310
5427
  return snapshot;
5311
5428
  }
5312
- function createResourceRequest$d(config) {
5429
+ function createResourceRequest$f(config) {
5313
5430
  const headers = {};
5314
5431
  return {
5315
5432
  baseUri: '/services/data/v63.0',
@@ -5323,43 +5440,43 @@ function createResourceRequest$d(config) {
5323
5440
  };
5324
5441
  }
5325
5442
 
5326
- const adapterName$d = 'postSlackConversationMembers';
5443
+ const adapterName$f = 'postSlackConversationMembers';
5327
5444
  const postSlackConversationMembers_ConfigPropertyMetadata = [
5328
5445
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5329
5446
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5330
5447
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
5331
5448
  ];
5332
- const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postSlackConversationMembers_ConfigPropertyMetadata);
5333
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$m(postSlackConversationMembers_ConfigPropertyMetadata);
5334
- function typeCheckConfig$d(untrustedConfig) {
5449
+ const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMembers_ConfigPropertyMetadata);
5450
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$o(postSlackConversationMembers_ConfigPropertyMetadata);
5451
+ function typeCheckConfig$f(untrustedConfig) {
5335
5452
  const config = {};
5336
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5453
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5337
5454
  return config;
5338
5455
  }
5339
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5456
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5340
5457
  if (!untrustedIsObject(untrustedConfig)) {
5341
5458
  return null;
5342
5459
  }
5343
5460
  if (process.env.NODE_ENV !== 'production') {
5344
5461
  validateConfig(untrustedConfig, configPropertyNames);
5345
5462
  }
5346
- const config = typeCheckConfig$d(untrustedConfig);
5463
+ const config = typeCheckConfig$f(untrustedConfig);
5347
5464
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5348
5465
  return null;
5349
5466
  }
5350
5467
  return config;
5351
5468
  }
5352
- function buildNetworkSnapshot$d(luvio, config, options) {
5353
- const resourceParams = createResourceParams$d(config);
5354
- const request = createResourceRequest$d(resourceParams);
5469
+ function buildNetworkSnapshot$f(luvio, config, options) {
5470
+ const resourceParams = createResourceParams$f(config);
5471
+ const request = createResourceRequest$f(resourceParams);
5355
5472
  return luvio.dispatchResourceRequest(request, options)
5356
5473
  .then((response) => {
5357
5474
  return luvio.handleSuccessResponse(() => {
5358
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
5475
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
5359
5476
  return luvio.storeBroadcast().then(() => snapshot);
5360
5477
  }, () => {
5361
5478
  const cache = new StoreKeyMap();
5362
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
5479
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
5363
5480
  return cache;
5364
5481
  });
5365
5482
  }, (response) => {
@@ -5369,12 +5486,12 @@ function buildNetworkSnapshot$d(luvio, config, options) {
5369
5486
  }
5370
5487
  const postSlackConversationMembersAdapterFactory = (luvio) => {
5371
5488
  return function postSlackConversationMembers(untrustedConfig) {
5372
- const config = validateAdapterConfig$d(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
5489
+ const config = validateAdapterConfig$f(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
5373
5490
  // Invalid or incomplete config
5374
5491
  if (config === null) {
5375
5492
  throw new Error('Invalid config for "postSlackConversationMembers"');
5376
5493
  }
5377
- return buildNetworkSnapshot$d(luvio, config);
5494
+ return buildNetworkSnapshot$f(luvio, config);
5378
5495
  };
5379
5496
  };
5380
5497
 
@@ -5398,19 +5515,19 @@ function validate$5(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
5398
5515
  return v_error === undefined ? null : v_error;
5399
5516
  }
5400
5517
  const RepresentationType$5 = 'SlackBridgeConversationMemberOutputRepresentation';
5401
- function keyBuilder$l(luvio, config) {
5518
+ function keyBuilder$p(luvio, config) {
5402
5519
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.channelId;
5403
5520
  }
5404
5521
  function keyBuilderFromType$2(luvio, object) {
5405
5522
  const keyParams = {
5406
5523
  channelId: object.channelId
5407
5524
  };
5408
- return keyBuilder$l(luvio, keyParams);
5525
+ return keyBuilder$p(luvio, keyParams);
5409
5526
  }
5410
5527
  function normalize$5(input, existing, path, luvio, store, timestamp) {
5411
5528
  return input;
5412
5529
  }
5413
- const select$f = function SlackBridgeConversationMemberOutputRepresentationSelect() {
5530
+ const select$h = function SlackBridgeConversationMemberOutputRepresentationSelect() {
5414
5531
  return {
5415
5532
  kind: 'Fragment',
5416
5533
  version: VERSION$5,
@@ -5462,13 +5579,13 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5462
5579
  });
5463
5580
  }
5464
5581
 
5465
- function keyBuilder$k(luvio, params) {
5466
- return keyBuilder$l(luvio, {
5582
+ function keyBuilder$o(luvio, params) {
5583
+ return keyBuilder$p(luvio, {
5467
5584
  channelId: params.urlParams.channelId
5468
5585
  });
5469
5586
  }
5470
- function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5471
- const key = keyBuilder$k(luvio, resourceParams);
5587
+ function getResponseCacheKeys$e(cacheKeyMap, luvio, resourceParams) {
5588
+ const key = keyBuilder$o(luvio, resourceParams);
5472
5589
  cacheKeyMap.set(key, {
5473
5590
  namespace: keyPrefix,
5474
5591
  representationName: RepresentationType$5,
@@ -5476,10 +5593,10 @@ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5476
5593
  });
5477
5594
  }
5478
5595
  function evictSuccess$2(luvio, resourceParams) {
5479
- const key = keyBuilder$k(luvio, resourceParams);
5596
+ const key = keyBuilder$o(luvio, resourceParams);
5480
5597
  luvio.storeEvict(key);
5481
5598
  }
5482
- function createResourceRequest$c(config) {
5599
+ function createResourceRequest$e(config) {
5483
5600
  const headers = {};
5484
5601
  return {
5485
5602
  baseUri: '/services/data/v63.0',
@@ -5493,35 +5610,35 @@ function createResourceRequest$c(config) {
5493
5610
  };
5494
5611
  }
5495
5612
 
5496
- const adapterName$c = 'deleteSlackConversationMember';
5613
+ const adapterName$e = 'deleteSlackConversationMember';
5497
5614
  const deleteSlackConversationMember_ConfigPropertyMetadata = [
5498
5615
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5499
5616
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5500
5617
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5501
5618
  ];
5502
- const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackConversationMember_ConfigPropertyMetadata);
5503
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$m(deleteSlackConversationMember_ConfigPropertyMetadata);
5504
- function typeCheckConfig$c(untrustedConfig) {
5619
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, deleteSlackConversationMember_ConfigPropertyMetadata);
5620
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$o(deleteSlackConversationMember_ConfigPropertyMetadata);
5621
+ function typeCheckConfig$e(untrustedConfig) {
5505
5622
  const config = {};
5506
- typeCheckConfig$m(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5623
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5507
5624
  return config;
5508
5625
  }
5509
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5626
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5510
5627
  if (!untrustedIsObject(untrustedConfig)) {
5511
5628
  return null;
5512
5629
  }
5513
5630
  if (process.env.NODE_ENV !== 'production') {
5514
5631
  validateConfig(untrustedConfig, configPropertyNames);
5515
5632
  }
5516
- const config = typeCheckConfig$c(untrustedConfig);
5633
+ const config = typeCheckConfig$e(untrustedConfig);
5517
5634
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5518
5635
  return null;
5519
5636
  }
5520
5637
  return config;
5521
5638
  }
5522
- function buildNetworkSnapshot$c(luvio, config, options) {
5523
- const resourceParams = createResourceParams$c(config);
5524
- const request = createResourceRequest$c(resourceParams);
5639
+ function buildNetworkSnapshot$e(luvio, config, options) {
5640
+ const resourceParams = createResourceParams$e(config);
5641
+ const request = createResourceRequest$e(resourceParams);
5525
5642
  return luvio.dispatchResourceRequest(request, options)
5526
5643
  .then(() => {
5527
5644
  return luvio.handleSuccessResponse(() => {
@@ -5529,7 +5646,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5529
5646
  return luvio.storeBroadcast();
5530
5647
  }, () => {
5531
5648
  const cache = new StoreKeyMap();
5532
- getResponseCacheKeys$c(cache, luvio, resourceParams);
5649
+ getResponseCacheKeys$e(cache, luvio, resourceParams);
5533
5650
  return cache;
5534
5651
  });
5535
5652
  }, (response) => {
@@ -5539,33 +5656,33 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5539
5656
  }
5540
5657
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
5541
5658
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
5542
- const config = validateAdapterConfig$c(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
5659
+ const config = validateAdapterConfig$e(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
5543
5660
  // Invalid or incomplete config
5544
5661
  if (config === null) {
5545
- throw new Error(`Invalid config for "${adapterName$c}"`);
5662
+ throw new Error(`Invalid config for "${adapterName$e}"`);
5546
5663
  }
5547
- return buildNetworkSnapshot$c(luvio, config);
5664
+ return buildNetworkSnapshot$e(luvio, config);
5548
5665
  };
5549
5666
  };
5550
5667
 
5551
- function select$e(luvio, params) {
5552
- return select$f();
5668
+ function select$g(luvio, params) {
5669
+ return select$h();
5553
5670
  }
5554
- function keyBuilder$j(luvio, params) {
5555
- return keyBuilder$l(luvio, {
5671
+ function keyBuilder$n(luvio, params) {
5672
+ return keyBuilder$p(luvio, {
5556
5673
  channelId: params.urlParams.channelId
5557
5674
  });
5558
5675
  }
5559
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
5676
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5560
5677
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
5561
5678
  }
5562
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5679
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5563
5680
  const { body } = response;
5564
- const key = keyBuilder$j(luvio, resourceParams);
5681
+ const key = keyBuilder$n(luvio, resourceParams);
5565
5682
  luvio.storeIngest(key, ingest$5, body);
5566
5683
  const snapshot = luvio.storeLookup({
5567
5684
  recordId: key,
5568
- node: select$e(),
5685
+ node: select$g(),
5569
5686
  variables: {},
5570
5687
  }, snapshotRefresh);
5571
5688
  if (process.env.NODE_ENV !== 'production') {
@@ -5576,13 +5693,13 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5576
5693
  deepFreeze(snapshot.data);
5577
5694
  return snapshot;
5578
5695
  }
5579
- function ingestError$7(luvio, params, error, snapshotRefresh) {
5580
- const key = keyBuilder$j(luvio, params);
5696
+ function ingestError$9(luvio, params, error, snapshotRefresh) {
5697
+ const key = keyBuilder$n(luvio, params);
5581
5698
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5582
5699
  luvio.storeIngestError(key, errorSnapshot);
5583
5700
  return errorSnapshot;
5584
5701
  }
5585
- function createResourceRequest$b(config) {
5702
+ function createResourceRequest$d(config) {
5586
5703
  const headers = {};
5587
5704
  return {
5588
5705
  baseUri: '/services/data/v63.0',
@@ -5596,92 +5713,92 @@ function createResourceRequest$b(config) {
5596
5713
  };
5597
5714
  }
5598
5715
 
5599
- const adapterName$b = 'getSlackConversationMember';
5716
+ const adapterName$d = 'getSlackConversationMember';
5600
5717
  const getSlackConversationMember_ConfigPropertyMetadata = [
5601
5718
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5602
5719
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5603
5720
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5604
5721
  ];
5605
- const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackConversationMember_ConfigPropertyMetadata);
5606
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$m(getSlackConversationMember_ConfigPropertyMetadata);
5607
- function keyBuilder$i(luvio, config) {
5608
- const resourceParams = createResourceParams$b(config);
5609
- return keyBuilder$j(luvio, resourceParams);
5722
+ const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackConversationMember_ConfigPropertyMetadata);
5723
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$o(getSlackConversationMember_ConfigPropertyMetadata);
5724
+ function keyBuilder$m(luvio, config) {
5725
+ const resourceParams = createResourceParams$d(config);
5726
+ return keyBuilder$n(luvio, resourceParams);
5610
5727
  }
5611
- function typeCheckConfig$b(untrustedConfig) {
5728
+ function typeCheckConfig$d(untrustedConfig) {
5612
5729
  const config = {};
5613
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5730
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5614
5731
  return config;
5615
5732
  }
5616
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
5733
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5617
5734
  if (!untrustedIsObject(untrustedConfig)) {
5618
5735
  return null;
5619
5736
  }
5620
5737
  if (process.env.NODE_ENV !== 'production') {
5621
5738
  validateConfig(untrustedConfig, configPropertyNames);
5622
5739
  }
5623
- const config = typeCheckConfig$b(untrustedConfig);
5740
+ const config = typeCheckConfig$d(untrustedConfig);
5624
5741
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5625
5742
  return null;
5626
5743
  }
5627
5744
  return config;
5628
5745
  }
5629
- function adapterFragment$7(luvio, config) {
5630
- createResourceParams$b(config);
5631
- return select$e();
5746
+ function adapterFragment$9(luvio, config) {
5747
+ createResourceParams$d(config);
5748
+ return select$g();
5632
5749
  }
5633
- function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
5634
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
5750
+ function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
5751
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
5635
5752
  config,
5636
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5753
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5637
5754
  });
5638
5755
  return luvio.storeBroadcast().then(() => snapshot);
5639
5756
  }
5640
- function onFetchResponseError$7(luvio, config, resourceParams, response) {
5641
- const snapshot = ingestError$7(luvio, resourceParams, response, {
5757
+ function onFetchResponseError$9(luvio, config, resourceParams, response) {
5758
+ const snapshot = ingestError$9(luvio, resourceParams, response, {
5642
5759
  config,
5643
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5760
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5644
5761
  });
5645
5762
  return luvio.storeBroadcast().then(() => snapshot);
5646
5763
  }
5647
- function buildNetworkSnapshot$b(luvio, config, options) {
5648
- const resourceParams = createResourceParams$b(config);
5649
- const request = createResourceRequest$b(resourceParams);
5764
+ function buildNetworkSnapshot$d(luvio, config, options) {
5765
+ const resourceParams = createResourceParams$d(config);
5766
+ const request = createResourceRequest$d(resourceParams);
5650
5767
  return luvio.dispatchResourceRequest(request, options)
5651
5768
  .then((response) => {
5652
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
5769
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
5653
5770
  const cache = new StoreKeyMap();
5654
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
5771
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
5655
5772
  return cache;
5656
5773
  });
5657
5774
  }, (response) => {
5658
- return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
5775
+ return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
5659
5776
  });
5660
5777
  }
5661
- function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5662
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5778
+ function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
5779
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5663
5780
  }
5664
- function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5781
+ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
5665
5782
  const { luvio, config } = context;
5666
5783
  const selector = {
5667
- recordId: keyBuilder$i(luvio, config),
5668
- node: adapterFragment$7(luvio, config),
5784
+ recordId: keyBuilder$m(luvio, config),
5785
+ node: adapterFragment$9(luvio, config),
5669
5786
  variables: {},
5670
5787
  };
5671
5788
  const cacheSnapshot = storeLookup(selector, {
5672
5789
  config,
5673
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5790
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5674
5791
  });
5675
5792
  return cacheSnapshot;
5676
5793
  }
5677
5794
  const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
5678
- const config = validateAdapterConfig$b(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
5795
+ const config = validateAdapterConfig$d(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
5679
5796
  // Invalid or incomplete config
5680
5797
  if (config === null) {
5681
5798
  return null;
5682
5799
  }
5683
5800
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5684
- buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
5801
+ buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
5685
5802
  };
5686
5803
 
5687
5804
  const VERSION$4 = "605674abcbc0dad7e2707e4e00e8d4cd";
@@ -5709,19 +5826,19 @@ function validate$4(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
5709
5826
  return v_error === undefined ? null : v_error;
5710
5827
  }
5711
5828
  const RepresentationType$4 = 'SlackBridgeMessageFragmentOutputRepresentation';
5712
- function keyBuilder$h(luvio, config) {
5829
+ function keyBuilder$l(luvio, config) {
5713
5830
  return keyPrefix + '::' + RepresentationType$4 + ':' + config.channelId;
5714
5831
  }
5715
5832
  function keyBuilderFromType$1(luvio, object) {
5716
5833
  const keyParams = {
5717
5834
  channelId: object.channelId
5718
5835
  };
5719
- return keyBuilder$h(luvio, keyParams);
5836
+ return keyBuilder$l(luvio, keyParams);
5720
5837
  }
5721
5838
  function normalize$4(input, existing, path, luvio, store, timestamp) {
5722
5839
  return input;
5723
5840
  }
5724
- const select$d = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
5841
+ const select$f = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
5725
5842
  return {
5726
5843
  kind: 'Fragment',
5727
5844
  version: VERSION$4,
@@ -5782,13 +5899,13 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5782
5899
  });
5783
5900
  }
5784
5901
 
5785
- function keyBuilder$g(luvio, params) {
5786
- return keyBuilder$h(luvio, {
5902
+ function keyBuilder$k(luvio, params) {
5903
+ return keyBuilder$l(luvio, {
5787
5904
  channelId: params.urlParams.channelId
5788
5905
  });
5789
5906
  }
5790
- function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
5791
- const key = keyBuilder$g(luvio, resourceParams);
5907
+ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5908
+ const key = keyBuilder$k(luvio, resourceParams);
5792
5909
  cacheKeyMap.set(key, {
5793
5910
  namespace: keyPrefix,
5794
5911
  representationName: RepresentationType$4,
@@ -5796,10 +5913,10 @@ function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
5796
5913
  });
5797
5914
  }
5798
5915
  function evictSuccess$1(luvio, resourceParams) {
5799
- const key = keyBuilder$g(luvio, resourceParams);
5916
+ const key = keyBuilder$k(luvio, resourceParams);
5800
5917
  luvio.storeEvict(key);
5801
5918
  }
5802
- function createResourceRequest$a(config) {
5919
+ function createResourceRequest$c(config) {
5803
5920
  const headers = {};
5804
5921
  return {
5805
5922
  baseUri: '/services/data/v63.0',
@@ -5813,35 +5930,35 @@ function createResourceRequest$a(config) {
5813
5930
  };
5814
5931
  }
5815
5932
 
5816
- const adapterName$a = 'deleteSlackMessage';
5933
+ const adapterName$c = 'deleteSlackMessage';
5817
5934
  const deleteSlackMessage_ConfigPropertyMetadata = [
5818
5935
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5819
5936
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5820
5937
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5821
5938
  ];
5822
- const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSlackMessage_ConfigPropertyMetadata);
5823
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$m(deleteSlackMessage_ConfigPropertyMetadata);
5824
- function typeCheckConfig$a(untrustedConfig) {
5939
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackMessage_ConfigPropertyMetadata);
5940
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$o(deleteSlackMessage_ConfigPropertyMetadata);
5941
+ function typeCheckConfig$c(untrustedConfig) {
5825
5942
  const config = {};
5826
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5943
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5827
5944
  return config;
5828
5945
  }
5829
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
5946
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5830
5947
  if (!untrustedIsObject(untrustedConfig)) {
5831
5948
  return null;
5832
5949
  }
5833
5950
  if (process.env.NODE_ENV !== 'production') {
5834
5951
  validateConfig(untrustedConfig, configPropertyNames);
5835
5952
  }
5836
- const config = typeCheckConfig$a(untrustedConfig);
5953
+ const config = typeCheckConfig$c(untrustedConfig);
5837
5954
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5838
5955
  return null;
5839
5956
  }
5840
5957
  return config;
5841
5958
  }
5842
- function buildNetworkSnapshot$a(luvio, config, options) {
5843
- const resourceParams = createResourceParams$a(config);
5844
- const request = createResourceRequest$a(resourceParams);
5959
+ function buildNetworkSnapshot$c(luvio, config, options) {
5960
+ const resourceParams = createResourceParams$c(config);
5961
+ const request = createResourceRequest$c(resourceParams);
5845
5962
  return luvio.dispatchResourceRequest(request, options)
5846
5963
  .then(() => {
5847
5964
  return luvio.handleSuccessResponse(() => {
@@ -5849,7 +5966,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
5849
5966
  return luvio.storeBroadcast();
5850
5967
  }, () => {
5851
5968
  const cache = new StoreKeyMap();
5852
- getResponseCacheKeys$a(cache, luvio, resourceParams);
5969
+ getResponseCacheKeys$c(cache, luvio, resourceParams);
5853
5970
  return cache;
5854
5971
  });
5855
5972
  }, (response) => {
@@ -5859,33 +5976,33 @@ function buildNetworkSnapshot$a(luvio, config, options) {
5859
5976
  }
5860
5977
  const deleteSlackMessageAdapterFactory = (luvio) => {
5861
5978
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
5862
- const config = validateAdapterConfig$a(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
5979
+ const config = validateAdapterConfig$c(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
5863
5980
  // Invalid or incomplete config
5864
5981
  if (config === null) {
5865
- throw new Error(`Invalid config for "${adapterName$a}"`);
5982
+ throw new Error(`Invalid config for "${adapterName$c}"`);
5866
5983
  }
5867
- return buildNetworkSnapshot$a(luvio, config);
5984
+ return buildNetworkSnapshot$c(luvio, config);
5868
5985
  };
5869
5986
  };
5870
5987
 
5871
- function select$c(luvio, params) {
5872
- return select$d();
5988
+ function select$e(luvio, params) {
5989
+ return select$f();
5873
5990
  }
5874
- function keyBuilder$f(luvio, params) {
5875
- return keyBuilder$h(luvio, {
5991
+ function keyBuilder$j(luvio, params) {
5992
+ return keyBuilder$l(luvio, {
5876
5993
  channelId: params.urlParams.channelId
5877
5994
  });
5878
5995
  }
5879
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
5996
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
5880
5997
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
5881
5998
  }
5882
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5999
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
5883
6000
  const { body } = response;
5884
- const key = keyBuilder$f(luvio, resourceParams);
6001
+ const key = keyBuilder$j(luvio, resourceParams);
5885
6002
  luvio.storeIngest(key, ingest$4, body);
5886
6003
  const snapshot = luvio.storeLookup({
5887
6004
  recordId: key,
5888
- node: select$c(),
6005
+ node: select$e(),
5889
6006
  variables: {},
5890
6007
  }, snapshotRefresh);
5891
6008
  if (process.env.NODE_ENV !== 'production') {
@@ -5896,13 +6013,13 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5896
6013
  deepFreeze(snapshot.data);
5897
6014
  return snapshot;
5898
6015
  }
5899
- function ingestError$6(luvio, params, error, snapshotRefresh) {
5900
- const key = keyBuilder$f(luvio, params);
6016
+ function ingestError$8(luvio, params, error, snapshotRefresh) {
6017
+ const key = keyBuilder$j(luvio, params);
5901
6018
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5902
6019
  luvio.storeIngestError(key, errorSnapshot);
5903
6020
  return errorSnapshot;
5904
6021
  }
5905
- function createResourceRequest$9(config) {
6022
+ function createResourceRequest$b(config) {
5906
6023
  const headers = {};
5907
6024
  return {
5908
6025
  baseUri: '/services/data/v63.0',
@@ -5916,107 +6033,107 @@ function createResourceRequest$9(config) {
5916
6033
  };
5917
6034
  }
5918
6035
 
5919
- const adapterName$9 = 'getSlackMessage';
6036
+ const adapterName$b = 'getSlackMessage';
5920
6037
  const getSlackMessage_ConfigPropertyMetadata = [
5921
6038
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5922
6039
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5923
6040
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5924
6041
  ];
5925
- const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackMessage_ConfigPropertyMetadata);
5926
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$m(getSlackMessage_ConfigPropertyMetadata);
5927
- function keyBuilder$e(luvio, config) {
5928
- const resourceParams = createResourceParams$9(config);
5929
- return keyBuilder$f(luvio, resourceParams);
6042
+ const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackMessage_ConfigPropertyMetadata);
6043
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$o(getSlackMessage_ConfigPropertyMetadata);
6044
+ function keyBuilder$i(luvio, config) {
6045
+ const resourceParams = createResourceParams$b(config);
6046
+ return keyBuilder$j(luvio, resourceParams);
5930
6047
  }
5931
- function typeCheckConfig$9(untrustedConfig) {
6048
+ function typeCheckConfig$b(untrustedConfig) {
5932
6049
  const config = {};
5933
- typeCheckConfig$m(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
6050
+ typeCheckConfig$o(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5934
6051
  return config;
5935
6052
  }
5936
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
6053
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
5937
6054
  if (!untrustedIsObject(untrustedConfig)) {
5938
6055
  return null;
5939
6056
  }
5940
6057
  if (process.env.NODE_ENV !== 'production') {
5941
6058
  validateConfig(untrustedConfig, configPropertyNames);
5942
6059
  }
5943
- const config = typeCheckConfig$9(untrustedConfig);
6060
+ const config = typeCheckConfig$b(untrustedConfig);
5944
6061
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5945
6062
  return null;
5946
6063
  }
5947
6064
  return config;
5948
6065
  }
5949
- function adapterFragment$6(luvio, config) {
5950
- createResourceParams$9(config);
5951
- return select$c();
6066
+ function adapterFragment$8(luvio, config) {
6067
+ createResourceParams$b(config);
6068
+ return select$e();
5952
6069
  }
5953
- function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
5954
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
6070
+ function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
6071
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
5955
6072
  config,
5956
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6073
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5957
6074
  });
5958
6075
  return luvio.storeBroadcast().then(() => snapshot);
5959
6076
  }
5960
- function onFetchResponseError$6(luvio, config, resourceParams, response) {
5961
- const snapshot = ingestError$6(luvio, resourceParams, response, {
6077
+ function onFetchResponseError$8(luvio, config, resourceParams, response) {
6078
+ const snapshot = ingestError$8(luvio, resourceParams, response, {
5962
6079
  config,
5963
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6080
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5964
6081
  });
5965
6082
  return luvio.storeBroadcast().then(() => snapshot);
5966
6083
  }
5967
- function buildNetworkSnapshot$9(luvio, config, options) {
5968
- const resourceParams = createResourceParams$9(config);
5969
- const request = createResourceRequest$9(resourceParams);
6084
+ function buildNetworkSnapshot$b(luvio, config, options) {
6085
+ const resourceParams = createResourceParams$b(config);
6086
+ const request = createResourceRequest$b(resourceParams);
5970
6087
  return luvio.dispatchResourceRequest(request, options)
5971
6088
  .then((response) => {
5972
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
6089
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
5973
6090
  const cache = new StoreKeyMap();
5974
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
6091
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
5975
6092
  return cache;
5976
6093
  });
5977
6094
  }, (response) => {
5978
- return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
6095
+ return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
5979
6096
  });
5980
6097
  }
5981
- function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5982
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6098
+ function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
6099
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5983
6100
  }
5984
- function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
6101
+ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5985
6102
  const { luvio, config } = context;
5986
6103
  const selector = {
5987
- recordId: keyBuilder$e(luvio, config),
5988
- node: adapterFragment$6(luvio, config),
6104
+ recordId: keyBuilder$i(luvio, config),
6105
+ node: adapterFragment$8(luvio, config),
5989
6106
  variables: {},
5990
6107
  };
5991
6108
  const cacheSnapshot = storeLookup(selector, {
5992
6109
  config,
5993
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
6110
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5994
6111
  });
5995
6112
  return cacheSnapshot;
5996
6113
  }
5997
6114
  const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackMessage(untrustedConfig, requestContext) {
5998
- const config = validateAdapterConfig$9(untrustedConfig, getSlackMessage_ConfigPropertyNames);
6115
+ const config = validateAdapterConfig$b(untrustedConfig, getSlackMessage_ConfigPropertyNames);
5999
6116
  // Invalid or incomplete config
6000
6117
  if (config === null) {
6001
6118
  return null;
6002
6119
  }
6003
6120
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6004
- buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
6121
+ buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
6005
6122
  };
6006
6123
 
6007
- function select$b(luvio, params) {
6008
- return select$d();
6124
+ function select$d(luvio, params) {
6125
+ return select$f();
6009
6126
  }
6010
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
6127
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
6011
6128
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
6012
6129
  }
6013
- function ingestSuccess$7(luvio, resourceParams, response) {
6130
+ function ingestSuccess$9(luvio, resourceParams, response) {
6014
6131
  const { body } = response;
6015
6132
  const key = keyBuilderFromType$1(luvio, body);
6016
6133
  luvio.storeIngest(key, ingest$4, body);
6017
6134
  const snapshot = luvio.storeLookup({
6018
6135
  recordId: key,
6019
- node: select$b(),
6136
+ node: select$d(),
6020
6137
  variables: {},
6021
6138
  });
6022
6139
  if (process.env.NODE_ENV !== 'production') {
@@ -6027,7 +6144,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
6027
6144
  deepFreeze(snapshot.data);
6028
6145
  return snapshot;
6029
6146
  }
6030
- function createResourceRequest$8(config) {
6147
+ function createResourceRequest$a(config) {
6031
6148
  const headers = {};
6032
6149
  return {
6033
6150
  baseUri: '/services/data/v63.0',
@@ -6041,44 +6158,44 @@ function createResourceRequest$8(config) {
6041
6158
  };
6042
6159
  }
6043
6160
 
6044
- const adapterName$8 = 'patchSlackMessage';
6161
+ const adapterName$a = 'patchSlackMessage';
6045
6162
  const patchSlackMessage_ConfigPropertyMetadata = [
6046
6163
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6047
6164
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6048
6165
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6049
6166
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
6050
6167
  ];
6051
- const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchSlackMessage_ConfigPropertyMetadata);
6052
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$m(patchSlackMessage_ConfigPropertyMetadata);
6053
- function typeCheckConfig$8(untrustedConfig) {
6168
+ const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, patchSlackMessage_ConfigPropertyMetadata);
6169
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$o(patchSlackMessage_ConfigPropertyMetadata);
6170
+ function typeCheckConfig$a(untrustedConfig) {
6054
6171
  const config = {};
6055
- typeCheckConfig$m(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6172
+ typeCheckConfig$o(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6056
6173
  return config;
6057
6174
  }
6058
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
6175
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
6059
6176
  if (!untrustedIsObject(untrustedConfig)) {
6060
6177
  return null;
6061
6178
  }
6062
6179
  if (process.env.NODE_ENV !== 'production') {
6063
6180
  validateConfig(untrustedConfig, configPropertyNames);
6064
6181
  }
6065
- const config = typeCheckConfig$8(untrustedConfig);
6182
+ const config = typeCheckConfig$a(untrustedConfig);
6066
6183
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6067
6184
  return null;
6068
6185
  }
6069
6186
  return config;
6070
6187
  }
6071
- function buildNetworkSnapshot$8(luvio, config, options) {
6072
- const resourceParams = createResourceParams$8(config);
6073
- const request = createResourceRequest$8(resourceParams);
6188
+ function buildNetworkSnapshot$a(luvio, config, options) {
6189
+ const resourceParams = createResourceParams$a(config);
6190
+ const request = createResourceRequest$a(resourceParams);
6074
6191
  return luvio.dispatchResourceRequest(request, options)
6075
6192
  .then((response) => {
6076
6193
  return luvio.handleSuccessResponse(() => {
6077
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
6194
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
6078
6195
  return luvio.storeBroadcast().then(() => snapshot);
6079
6196
  }, () => {
6080
6197
  const cache = new StoreKeyMap();
6081
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
6198
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
6082
6199
  return cache;
6083
6200
  });
6084
6201
  }, (response) => {
@@ -6088,12 +6205,12 @@ function buildNetworkSnapshot$8(luvio, config, options) {
6088
6205
  }
6089
6206
  const patchSlackMessageAdapterFactory = (luvio) => {
6090
6207
  return function patchSlackMessage(untrustedConfig) {
6091
- const config = validateAdapterConfig$8(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
6208
+ const config = validateAdapterConfig$a(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
6092
6209
  // Invalid or incomplete config
6093
6210
  if (config === null) {
6094
6211
  throw new Error('Invalid config for "patchSlackMessage"');
6095
6212
  }
6096
- return buildNetworkSnapshot$8(luvio, config);
6213
+ return buildNetworkSnapshot$a(luvio, config);
6097
6214
  };
6098
6215
  };
6099
6216
 
@@ -6137,20 +6254,20 @@ function validate$3(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
6137
6254
  return v_error === undefined ? null : v_error;
6138
6255
  }
6139
6256
  const RepresentationType$3 = 'SlackBridgeReactionsOutputRepresentation';
6140
- function keyBuilder$d(luvio, config) {
6257
+ function keyBuilder$h(luvio, config) {
6141
6258
  return keyPrefix + '::' + RepresentationType$3 + ':' + config.channelId;
6142
6259
  }
6143
6260
  function keyBuilderFromType(luvio, object) {
6144
6261
  const keyParams = {
6145
6262
  channelId: object.channelId
6146
6263
  };
6147
- return keyBuilder$d(luvio, keyParams);
6264
+ return keyBuilder$h(luvio, keyParams);
6148
6265
  }
6149
6266
  function normalize$3(input, existing, path, luvio, store, timestamp) {
6150
6267
  return input;
6151
6268
  }
6152
- const select$a = function SlackBridgeReactionsOutputRepresentationSelect() {
6153
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
6269
+ const select$c = function SlackBridgeReactionsOutputRepresentationSelect() {
6270
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$D();
6154
6271
  return {
6155
6272
  kind: 'Fragment',
6156
6273
  version: VERSION$3,
@@ -6227,13 +6344,13 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6227
6344
  });
6228
6345
  }
6229
6346
 
6230
- function keyBuilder$c(luvio, params) {
6231
- return keyBuilder$d(luvio, {
6347
+ function keyBuilder$g(luvio, params) {
6348
+ return keyBuilder$h(luvio, {
6232
6349
  channelId: params.urlParams.channelId
6233
6350
  });
6234
6351
  }
6235
- function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
6236
- const key = keyBuilder$c(luvio, resourceParams);
6352
+ function getResponseCacheKeys$9(cacheKeyMap, luvio, resourceParams) {
6353
+ const key = keyBuilder$g(luvio, resourceParams);
6237
6354
  cacheKeyMap.set(key, {
6238
6355
  namespace: keyPrefix,
6239
6356
  representationName: RepresentationType$3,
@@ -6241,10 +6358,10 @@ function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
6241
6358
  });
6242
6359
  }
6243
6360
  function evictSuccess(luvio, resourceParams) {
6244
- const key = keyBuilder$c(luvio, resourceParams);
6361
+ const key = keyBuilder$g(luvio, resourceParams);
6245
6362
  luvio.storeEvict(key);
6246
6363
  }
6247
- function createResourceRequest$7(config) {
6364
+ function createResourceRequest$9(config) {
6248
6365
  const headers = {};
6249
6366
  return {
6250
6367
  baseUri: '/services/data/v63.0',
@@ -6258,36 +6375,36 @@ function createResourceRequest$7(config) {
6258
6375
  };
6259
6376
  }
6260
6377
 
6261
- const adapterName$7 = 'deleteSlackMessageReactions';
6378
+ const adapterName$9 = 'deleteSlackMessageReactions';
6262
6379
  const deleteSlackMessageReactions_ConfigPropertyMetadata = [
6263
6380
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6264
6381
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6265
6382
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6266
6383
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6267
6384
  ];
6268
- const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteSlackMessageReactions_ConfigPropertyMetadata);
6269
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$m(deleteSlackMessageReactions_ConfigPropertyMetadata);
6270
- function typeCheckConfig$7(untrustedConfig) {
6385
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, deleteSlackMessageReactions_ConfigPropertyMetadata);
6386
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$o(deleteSlackMessageReactions_ConfigPropertyMetadata);
6387
+ function typeCheckConfig$9(untrustedConfig) {
6271
6388
  const config = {};
6272
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6389
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6273
6390
  return config;
6274
6391
  }
6275
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
6392
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
6276
6393
  if (!untrustedIsObject(untrustedConfig)) {
6277
6394
  return null;
6278
6395
  }
6279
6396
  if (process.env.NODE_ENV !== 'production') {
6280
6397
  validateConfig(untrustedConfig, configPropertyNames);
6281
6398
  }
6282
- const config = typeCheckConfig$7(untrustedConfig);
6399
+ const config = typeCheckConfig$9(untrustedConfig);
6283
6400
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6284
6401
  return null;
6285
6402
  }
6286
6403
  return config;
6287
6404
  }
6288
- function buildNetworkSnapshot$7(luvio, config, options) {
6289
- const resourceParams = createResourceParams$7(config);
6290
- const request = createResourceRequest$7(resourceParams);
6405
+ function buildNetworkSnapshot$9(luvio, config, options) {
6406
+ const resourceParams = createResourceParams$9(config);
6407
+ const request = createResourceRequest$9(resourceParams);
6291
6408
  return luvio.dispatchResourceRequest(request, options)
6292
6409
  .then(() => {
6293
6410
  return luvio.handleSuccessResponse(() => {
@@ -6295,7 +6412,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6295
6412
  return luvio.storeBroadcast();
6296
6413
  }, () => {
6297
6414
  const cache = new StoreKeyMap();
6298
- getResponseCacheKeys$7(cache, luvio, resourceParams);
6415
+ getResponseCacheKeys$9(cache, luvio, resourceParams);
6299
6416
  return cache;
6300
6417
  });
6301
6418
  }, (response) => {
@@ -6305,30 +6422,391 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6305
6422
  }
6306
6423
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
6307
6424
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
6308
- const config = validateAdapterConfig$7(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
6425
+ const config = validateAdapterConfig$9(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
6309
6426
  // Invalid or incomplete config
6310
6427
  if (config === null) {
6311
- throw new Error(`Invalid config for "${adapterName$7}"`);
6428
+ throw new Error(`Invalid config for "${adapterName$9}"`);
6312
6429
  }
6313
- return buildNetworkSnapshot$7(luvio, config);
6430
+ return buildNetworkSnapshot$9(luvio, config);
6314
6431
  };
6315
6432
  };
6316
6433
 
6317
- function select$9(luvio, params) {
6318
- return select$a();
6434
+ function select$b(luvio, params) {
6435
+ return select$c();
6436
+ }
6437
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
6438
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
6439
+ }
6440
+ function ingestSuccess$8(luvio, resourceParams, response) {
6441
+ const { body } = response;
6442
+ const key = keyBuilderFromType(luvio, body);
6443
+ luvio.storeIngest(key, ingest$3, body);
6444
+ const snapshot = luvio.storeLookup({
6445
+ recordId: key,
6446
+ node: select$b(),
6447
+ variables: {},
6448
+ });
6449
+ if (process.env.NODE_ENV !== 'production') {
6450
+ if (snapshot.state !== 'Fulfilled') {
6451
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6452
+ }
6453
+ }
6454
+ deepFreeze(snapshot.data);
6455
+ return snapshot;
6456
+ }
6457
+ function createResourceRequest$8(config) {
6458
+ const headers = {};
6459
+ return {
6460
+ baseUri: '/services/data/v63.0',
6461
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
6462
+ method: 'post',
6463
+ body: null,
6464
+ urlParams: config.urlParams,
6465
+ queryParams: config.queryParams,
6466
+ headers,
6467
+ priority: 'normal',
6468
+ };
6469
+ }
6470
+
6471
+ const adapterName$8 = 'postSlackMessageReactions';
6472
+ const postSlackMessageReactions_ConfigPropertyMetadata = [
6473
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6474
+ generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6475
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6476
+ generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6477
+ ];
6478
+ const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, postSlackMessageReactions_ConfigPropertyMetadata);
6479
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$o(postSlackMessageReactions_ConfigPropertyMetadata);
6480
+ function typeCheckConfig$8(untrustedConfig) {
6481
+ const config = {};
6482
+ typeCheckConfig$o(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6483
+ return config;
6484
+ }
6485
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
6486
+ if (!untrustedIsObject(untrustedConfig)) {
6487
+ return null;
6488
+ }
6489
+ if (process.env.NODE_ENV !== 'production') {
6490
+ validateConfig(untrustedConfig, configPropertyNames);
6491
+ }
6492
+ const config = typeCheckConfig$8(untrustedConfig);
6493
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
6494
+ return null;
6495
+ }
6496
+ return config;
6497
+ }
6498
+ function buildNetworkSnapshot$8(luvio, config, options) {
6499
+ const resourceParams = createResourceParams$8(config);
6500
+ const request = createResourceRequest$8(resourceParams);
6501
+ return luvio.dispatchResourceRequest(request, options)
6502
+ .then((response) => {
6503
+ return luvio.handleSuccessResponse(() => {
6504
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
6505
+ return luvio.storeBroadcast().then(() => snapshot);
6506
+ }, () => {
6507
+ const cache = new StoreKeyMap();
6508
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
6509
+ return cache;
6510
+ });
6511
+ }, (response) => {
6512
+ deepFreeze(response);
6513
+ throw response;
6514
+ });
6515
+ }
6516
+ const postSlackMessageReactionsAdapterFactory = (luvio) => {
6517
+ return function postSlackMessageReactions(untrustedConfig) {
6518
+ const config = validateAdapterConfig$8(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
6519
+ // Invalid or incomplete config
6520
+ if (config === null) {
6521
+ throw new Error('Invalid config for "postSlackMessageReactions"');
6522
+ }
6523
+ return buildNetworkSnapshot$8(luvio, config);
6524
+ };
6525
+ };
6526
+
6527
+ const VERSION$2 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6528
+ function validate$2(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6529
+ const v_error = (() => {
6530
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6531
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6532
+ }
6533
+ const obj_conversationInfos = obj.conversationInfos;
6534
+ const path_conversationInfos = path + '.conversationInfos';
6535
+ if (!ArrayIsArray(obj_conversationInfos)) {
6536
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
6537
+ }
6538
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
6539
+ const obj_conversationInfos_item = obj_conversationInfos[i];
6540
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
6541
+ if (typeof obj_conversationInfos_item !== 'object') {
6542
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
6543
+ }
6544
+ }
6545
+ const obj_searchString = obj.searchString;
6546
+ const path_searchString = path + '.searchString';
6547
+ let obj_searchString_union0 = null;
6548
+ const obj_searchString_union0_error = (() => {
6549
+ if (typeof obj_searchString !== 'string') {
6550
+ return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6551
+ }
6552
+ })();
6553
+ if (obj_searchString_union0_error != null) {
6554
+ obj_searchString_union0 = obj_searchString_union0_error.message;
6555
+ }
6556
+ let obj_searchString_union1 = null;
6557
+ const obj_searchString_union1_error = (() => {
6558
+ if (obj_searchString !== null) {
6559
+ return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6560
+ }
6561
+ })();
6562
+ if (obj_searchString_union1_error != null) {
6563
+ obj_searchString_union1 = obj_searchString_union1_error.message;
6564
+ }
6565
+ if (obj_searchString_union0 && obj_searchString_union1) {
6566
+ let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6567
+ message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6568
+ message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6569
+ return new TypeError(message);
6570
+ }
6571
+ })();
6572
+ return v_error === undefined ? null : v_error;
6573
+ }
6574
+ const RepresentationType$2 = 'SlackBridgeConversationInfosOutputRepresentation';
6575
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
6576
+ const input_conversationInfos = input.conversationInfos;
6577
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6578
+ for (let i = 0; i < input_conversationInfos.length; i++) {
6579
+ const input_conversationInfos_item = input_conversationInfos[i];
6580
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6581
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6582
+ fullPath: input_conversationInfos_item_id,
6583
+ propertyName: i,
6584
+ parent: {
6585
+ data: input,
6586
+ key: path.fullPath,
6587
+ existing: existing,
6588
+ },
6589
+ ttl: path.ttl
6590
+ }, luvio, store, timestamp);
6591
+ }
6592
+ return input;
6593
+ }
6594
+ const select$a = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6595
+ return {
6596
+ kind: 'Fragment',
6597
+ version: VERSION$2,
6598
+ private: [],
6599
+ selections: [
6600
+ {
6601
+ name: 'conversationInfos',
6602
+ kind: 'Link',
6603
+ plural: true,
6604
+ fragment: select$E()
6605
+ },
6606
+ {
6607
+ name: 'searchString',
6608
+ kind: 'Scalar'
6609
+ }
6610
+ ]
6611
+ };
6612
+ };
6613
+ function equals$2(existing, incoming) {
6614
+ const existing_conversationInfos = existing.conversationInfos;
6615
+ const incoming_conversationInfos = incoming.conversationInfos;
6616
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
6617
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
6618
+ return false;
6619
+ }
6620
+ });
6621
+ if (equals_conversationInfos_items === false) {
6622
+ return false;
6623
+ }
6624
+ const existing_searchString = existing.searchString;
6625
+ const incoming_searchString = incoming.searchString;
6626
+ if (!(existing_searchString === incoming_searchString)) {
6627
+ return false;
6628
+ }
6629
+ return true;
6630
+ }
6631
+ const ingest$2 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6632
+ if (process.env.NODE_ENV !== 'production') {
6633
+ const validateError = validate$2(input);
6634
+ if (validateError !== null) {
6635
+ throw validateError;
6636
+ }
6637
+ }
6638
+ const key = path.fullPath;
6639
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6640
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
6641
+ return createLink(key);
6642
+ };
6643
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6644
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6645
+ const rootKey = fullPathFactory();
6646
+ rootKeySet.set(rootKey, {
6647
+ namespace: keyPrefix,
6648
+ representationName: RepresentationType$2,
6649
+ mergeable: false
6650
+ });
6651
+ const input_conversationInfos_length = input.conversationInfos.length;
6652
+ for (let i = 0; i < input_conversationInfos_length; i++) {
6653
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6654
+ }
6655
+ }
6656
+
6657
+ function select$9(luvio, params) {
6658
+ return select$a();
6659
+ }
6660
+ function keyBuilder$f(luvio, params) {
6661
+ return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'channelIds:' + params.queryParams.channelIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
6662
+ }
6663
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
6664
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
6665
+ }
6666
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
6667
+ const { body } = response;
6668
+ const key = keyBuilder$f(luvio, resourceParams);
6669
+ luvio.storeIngest(key, ingest$2, body);
6670
+ const snapshot = luvio.storeLookup({
6671
+ recordId: key,
6672
+ node: select$9(),
6673
+ variables: {},
6674
+ }, snapshotRefresh);
6675
+ if (process.env.NODE_ENV !== 'production') {
6676
+ if (snapshot.state !== 'Fulfilled') {
6677
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6678
+ }
6679
+ }
6680
+ deepFreeze(snapshot.data);
6681
+ return snapshot;
6682
+ }
6683
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
6684
+ const key = keyBuilder$f(luvio, params);
6685
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6686
+ luvio.storeIngestError(key, errorSnapshot);
6687
+ return errorSnapshot;
6688
+ }
6689
+ function createResourceRequest$7(config) {
6690
+ const headers = {};
6691
+ return {
6692
+ baseUri: '/services/data/v63.0',
6693
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels',
6694
+ method: 'get',
6695
+ body: null,
6696
+ urlParams: config.urlParams,
6697
+ queryParams: config.queryParams,
6698
+ headers,
6699
+ priority: 'normal',
6700
+ };
6701
+ }
6702
+
6703
+ const adapterName$7 = 'getSlackConversationInfos';
6704
+ const getSlackConversationInfos_ConfigPropertyMetadata = [
6705
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6706
+ generateParamConfigMetadata('channelIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6707
+ ];
6708
+ const getSlackConversationInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackConversationInfos_ConfigPropertyMetadata);
6709
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$o(getSlackConversationInfos_ConfigPropertyMetadata);
6710
+ function keyBuilder$e(luvio, config) {
6711
+ const resourceParams = createResourceParams$7(config);
6712
+ return keyBuilder$f(luvio, resourceParams);
6713
+ }
6714
+ function typeCheckConfig$7(untrustedConfig) {
6715
+ const config = {};
6716
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationInfos_ConfigPropertyMetadata);
6717
+ return config;
6718
+ }
6719
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
6720
+ if (!untrustedIsObject(untrustedConfig)) {
6721
+ return null;
6722
+ }
6723
+ if (process.env.NODE_ENV !== 'production') {
6724
+ validateConfig(untrustedConfig, configPropertyNames);
6725
+ }
6726
+ const config = typeCheckConfig$7(untrustedConfig);
6727
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
6728
+ return null;
6729
+ }
6730
+ return config;
6731
+ }
6732
+ function adapterFragment$7(luvio, config) {
6733
+ createResourceParams$7(config);
6734
+ return select$9();
6735
+ }
6736
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
6737
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
6738
+ config,
6739
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6740
+ });
6741
+ return luvio.storeBroadcast().then(() => snapshot);
6742
+ }
6743
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
6744
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
6745
+ config,
6746
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6747
+ });
6748
+ return luvio.storeBroadcast().then(() => snapshot);
6749
+ }
6750
+ function buildNetworkSnapshot$7(luvio, config, options) {
6751
+ const resourceParams = createResourceParams$7(config);
6752
+ const request = createResourceRequest$7(resourceParams);
6753
+ return luvio.dispatchResourceRequest(request, options)
6754
+ .then((response) => {
6755
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
6756
+ const cache = new StoreKeyMap();
6757
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
6758
+ return cache;
6759
+ });
6760
+ }, (response) => {
6761
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
6762
+ });
6763
+ }
6764
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
6765
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
6766
+ }
6767
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
6768
+ const { luvio, config } = context;
6769
+ const selector = {
6770
+ recordId: keyBuilder$e(luvio, config),
6771
+ node: adapterFragment$7(luvio, config),
6772
+ variables: {},
6773
+ };
6774
+ const cacheSnapshot = storeLookup(selector, {
6775
+ config,
6776
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6777
+ });
6778
+ return cacheSnapshot;
6779
+ }
6780
+ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfos(untrustedConfig, requestContext) {
6781
+ const config = validateAdapterConfig$7(untrustedConfig, getSlackConversationInfos_ConfigPropertyNames);
6782
+ // Invalid or incomplete config
6783
+ if (config === null) {
6784
+ return null;
6785
+ }
6786
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6787
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
6788
+ };
6789
+
6790
+ function select$8(luvio, params) {
6791
+ return select$E();
6792
+ }
6793
+ function keyBuilder$d(luvio, params) {
6794
+ return keyBuilder$D(luvio, {
6795
+ id: params.urlParams.channelId
6796
+ });
6319
6797
  }
6320
6798
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
6321
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
6799
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
6322
6800
  }
6323
- function ingestSuccess$6(luvio, resourceParams, response) {
6801
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
6324
6802
  const { body } = response;
6325
- const key = keyBuilderFromType(luvio, body);
6326
- luvio.storeIngest(key, ingest$3, body);
6803
+ const key = keyBuilder$d(luvio, resourceParams);
6804
+ luvio.storeIngest(key, ingest$f, body);
6327
6805
  const snapshot = luvio.storeLookup({
6328
6806
  recordId: key,
6329
- node: select$9(),
6807
+ node: select$8(),
6330
6808
  variables: {},
6331
- });
6809
+ }, snapshotRefresh);
6332
6810
  if (process.env.NODE_ENV !== 'production') {
6333
6811
  if (snapshot.state !== 'Fulfilled') {
6334
6812
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
@@ -6337,32 +6815,46 @@ function ingestSuccess$6(luvio, resourceParams, response) {
6337
6815
  deepFreeze(snapshot.data);
6338
6816
  return snapshot;
6339
6817
  }
6818
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
6819
+ const key = keyBuilder$d(luvio, params);
6820
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6821
+ const storeMetadataParams = {
6822
+ ttl: TTL$1,
6823
+ namespace: keyPrefix,
6824
+ version: VERSION$j,
6825
+ representationName: RepresentationType$f
6826
+ };
6827
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6828
+ return errorSnapshot;
6829
+ }
6340
6830
  function createResourceRequest$6(config) {
6341
6831
  const headers = {};
6342
6832
  return {
6343
6833
  baseUri: '/services/data/v63.0',
6344
- basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
6345
- method: 'post',
6834
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels/' + config.urlParams.channelId + '',
6835
+ method: 'get',
6346
6836
  body: null,
6347
6837
  urlParams: config.urlParams,
6348
- queryParams: config.queryParams,
6838
+ queryParams: {},
6349
6839
  headers,
6350
6840
  priority: 'normal',
6351
6841
  };
6352
6842
  }
6353
6843
 
6354
- const adapterName$6 = 'postSlackMessageReactions';
6355
- const postSlackMessageReactions_ConfigPropertyMetadata = [
6844
+ const adapterName$6 = 'getSlackConversationInfo';
6845
+ const getSlackConversationInfo_ConfigPropertyMetadata = [
6356
6846
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6357
- generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6358
6847
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6359
- generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6360
6848
  ];
6361
- const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, postSlackMessageReactions_ConfigPropertyMetadata);
6362
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$m(postSlackMessageReactions_ConfigPropertyMetadata);
6849
+ const getSlackConversationInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSlackConversationInfo_ConfigPropertyMetadata);
6850
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$o(getSlackConversationInfo_ConfigPropertyMetadata);
6851
+ function keyBuilder$c(luvio, config) {
6852
+ const resourceParams = createResourceParams$6(config);
6853
+ return keyBuilder$d(luvio, resourceParams);
6854
+ }
6363
6855
  function typeCheckConfig$6(untrustedConfig) {
6364
6856
  const config = {};
6365
- typeCheckConfig$m(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6857
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationInfo_ConfigPropertyMetadata);
6366
6858
  return config;
6367
6859
  }
6368
6860
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -6378,37 +6870,66 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
6378
6870
  }
6379
6871
  return config;
6380
6872
  }
6873
+ function adapterFragment$6(luvio, config) {
6874
+ createResourceParams$6(config);
6875
+ return select$8();
6876
+ }
6877
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
6878
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
6879
+ config,
6880
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6881
+ });
6882
+ return luvio.storeBroadcast().then(() => snapshot);
6883
+ }
6884
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
6885
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
6886
+ config,
6887
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6888
+ });
6889
+ return luvio.storeBroadcast().then(() => snapshot);
6890
+ }
6381
6891
  function buildNetworkSnapshot$6(luvio, config, options) {
6382
6892
  const resourceParams = createResourceParams$6(config);
6383
6893
  const request = createResourceRequest$6(resourceParams);
6384
6894
  return luvio.dispatchResourceRequest(request, options)
6385
6895
  .then((response) => {
6386
- return luvio.handleSuccessResponse(() => {
6387
- const snapshot = ingestSuccess$6(luvio, resourceParams, response);
6388
- return luvio.storeBroadcast().then(() => snapshot);
6389
- }, () => {
6896
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
6390
6897
  const cache = new StoreKeyMap();
6391
6898
  getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
6392
6899
  return cache;
6393
6900
  });
6394
6901
  }, (response) => {
6395
- deepFreeze(response);
6396
- throw response;
6902
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
6397
6903
  });
6398
6904
  }
6399
- const postSlackMessageReactionsAdapterFactory = (luvio) => {
6400
- return function postSlackMessageReactions(untrustedConfig) {
6401
- const config = validateAdapterConfig$6(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
6402
- // Invalid or incomplete config
6403
- if (config === null) {
6404
- throw new Error('Invalid config for "postSlackMessageReactions"');
6405
- }
6406
- return buildNetworkSnapshot$6(luvio, config);
6905
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
6906
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
6907
+ }
6908
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
6909
+ const { luvio, config } = context;
6910
+ const selector = {
6911
+ recordId: keyBuilder$c(luvio, config),
6912
+ node: adapterFragment$6(luvio, config),
6913
+ variables: {},
6407
6914
  };
6915
+ const cacheSnapshot = storeLookup(selector, {
6916
+ config,
6917
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6918
+ });
6919
+ return cacheSnapshot;
6920
+ }
6921
+ const getSlackConversationInfoAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfo(untrustedConfig, requestContext) {
6922
+ const config = validateAdapterConfig$6(untrustedConfig, getSlackConversationInfo_ConfigPropertyNames);
6923
+ // Invalid or incomplete config
6924
+ if (config === null) {
6925
+ return null;
6926
+ }
6927
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6928
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
6408
6929
  };
6409
6930
 
6410
- const VERSION$2 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
6411
- function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6931
+ const VERSION$1 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
6932
+ function validate$1(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6412
6933
  const v_error = (() => {
6413
6934
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6414
6935
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6428,8 +6949,8 @@ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6428
6949
  })();
6429
6950
  return v_error === undefined ? null : v_error;
6430
6951
  }
6431
- const RepresentationType$2 = 'SlackBridgeEmojisOutputRepresentation';
6432
- function normalize$2(input, existing, path, luvio, store, timestamp) {
6952
+ const RepresentationType$1 = 'SlackBridgeEmojisOutputRepresentation';
6953
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
6433
6954
  const input_emojis = input.emojis;
6434
6955
  const input_emojis_id = path.fullPath + '__emojis';
6435
6956
  for (let i = 0; i < input_emojis.length; i++) {
@@ -6448,22 +6969,22 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6448
6969
  }
6449
6970
  return input;
6450
6971
  }
6451
- const select$8 = function SlackBridgeEmojisOutputRepresentationSelect() {
6972
+ const select$7 = function SlackBridgeEmojisOutputRepresentationSelect() {
6452
6973
  return {
6453
6974
  kind: 'Fragment',
6454
- version: VERSION$2,
6975
+ version: VERSION$1,
6455
6976
  private: [],
6456
6977
  selections: [
6457
6978
  {
6458
6979
  name: 'emojis',
6459
6980
  kind: 'Link',
6460
6981
  plural: true,
6461
- fragment: select$E()
6982
+ fragment: select$G()
6462
6983
  }
6463
6984
  ]
6464
6985
  };
6465
6986
  };
6466
- function equals$2(existing, incoming) {
6987
+ function equals$1(existing, incoming) {
6467
6988
  const existing_emojis = existing.emojis;
6468
6989
  const incoming_emojis = incoming.emojis;
6469
6990
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
@@ -6476,24 +6997,24 @@ function equals$2(existing, incoming) {
6476
6997
  }
6477
6998
  return true;
6478
6999
  }
6479
- const ingest$2 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7000
+ const ingest$1 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6480
7001
  if (process.env.NODE_ENV !== 'production') {
6481
- const validateError = validate$2(input);
7002
+ const validateError = validate$1(input);
6482
7003
  if (validateError !== null) {
6483
7004
  throw validateError;
6484
7005
  }
6485
7006
  }
6486
7007
  const key = path.fullPath;
6487
7008
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6488
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
7009
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
6489
7010
  return createLink(key);
6490
7011
  };
6491
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7012
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6492
7013
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6493
7014
  const rootKey = fullPathFactory();
6494
7015
  rootKeySet.set(rootKey, {
6495
7016
  namespace: keyPrefix,
6496
- representationName: RepresentationType$2,
7017
+ representationName: RepresentationType$1,
6497
7018
  mergeable: false
6498
7019
  });
6499
7020
  const input_emojis_length = input.emojis.length;
@@ -6502,22 +7023,22 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6502
7023
  }
6503
7024
  }
6504
7025
 
6505
- function select$7(luvio, params) {
6506
- return select$8();
7026
+ function select$6(luvio, params) {
7027
+ return select$7();
6507
7028
  }
6508
7029
  function keyBuilder$b(luvio, params) {
6509
7030
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'slackEmojiIds:' + params.queryParams.slackEmojiIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
6510
7031
  }
6511
7032
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
6512
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
7033
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
6513
7034
  }
6514
7035
  function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
6515
7036
  const { body } = response;
6516
7037
  const key = keyBuilder$b(luvio, resourceParams);
6517
- luvio.storeIngest(key, ingest$2, body);
7038
+ luvio.storeIngest(key, ingest$1, body);
6518
7039
  const snapshot = luvio.storeLookup({
6519
7040
  recordId: key,
6520
- node: select$7(),
7041
+ node: select$6(),
6521
7042
  variables: {},
6522
7043
  }, snapshotRefresh);
6523
7044
  if (process.env.NODE_ENV !== 'production') {
@@ -6554,14 +7075,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
6554
7075
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6555
7076
  ];
6556
7077
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSlackEmojis_ConfigPropertyMetadata);
6557
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$m(getSlackEmojis_ConfigPropertyMetadata);
7078
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$o(getSlackEmojis_ConfigPropertyMetadata);
6558
7079
  function keyBuilder$a(luvio, config) {
6559
7080
  const resourceParams = createResourceParams$5(config);
6560
7081
  return keyBuilder$b(luvio, resourceParams);
6561
7082
  }
6562
7083
  function typeCheckConfig$5(untrustedConfig) {
6563
7084
  const config = {};
6564
- typeCheckConfig$m(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
7085
+ typeCheckConfig$o(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6565
7086
  return config;
6566
7087
  }
6567
7088
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -6579,7 +7100,7 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
6579
7100
  }
6580
7101
  function adapterFragment$5(luvio, config) {
6581
7102
  createResourceParams$5(config);
6582
- return select$7();
7103
+ return select$6();
6583
7104
  }
6584
7105
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
6585
7106
  const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
@@ -6610,7 +7131,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
6610
7131
  });
6611
7132
  }
6612
7133
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
6613
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
7134
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6614
7135
  }
6615
7136
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
6616
7137
  const { luvio, config } = context;
@@ -6635,11 +7156,11 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
6635
7156
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
6636
7157
  };
6637
7158
 
6638
- function select$6(luvio, params) {
6639
- return select$E();
7159
+ function select$5(luvio, params) {
7160
+ return select$G();
6640
7161
  }
6641
7162
  function keyBuilder$9(luvio, params) {
6642
- return keyBuilder$B(luvio, {
7163
+ return keyBuilder$F(luvio, {
6643
7164
  name: params.urlParams.slackEmojiId
6644
7165
  });
6645
7166
  }
@@ -6652,7 +7173,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
6652
7173
  luvio.storeIngest(key, ingest$h, body);
6653
7174
  const snapshot = luvio.storeLookup({
6654
7175
  recordId: key,
6655
- node: select$6(),
7176
+ node: select$5(),
6656
7177
  variables: {},
6657
7178
  }, snapshotRefresh);
6658
7179
  if (process.env.NODE_ENV !== 'production') {
@@ -6667,7 +7188,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
6667
7188
  const key = keyBuilder$9(luvio, params);
6668
7189
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6669
7190
  const storeMetadataParams = {
6670
- ttl: TTL$2,
7191
+ ttl: TTL$3,
6671
7192
  namespace: keyPrefix,
6672
7193
  version: VERSION$l,
6673
7194
  representationName: RepresentationType$h
@@ -6695,14 +7216,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
6695
7216
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6696
7217
  ];
6697
7218
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackEmoji_ConfigPropertyMetadata);
6698
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$m(getSlackEmoji_ConfigPropertyMetadata);
7219
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$o(getSlackEmoji_ConfigPropertyMetadata);
6699
7220
  function keyBuilder$8(luvio, config) {
6700
7221
  const resourceParams = createResourceParams$4(config);
6701
7222
  return keyBuilder$9(luvio, resourceParams);
6702
7223
  }
6703
7224
  function typeCheckConfig$4(untrustedConfig) {
6704
7225
  const config = {};
6705
- typeCheckConfig$m(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
7226
+ typeCheckConfig$o(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6706
7227
  return config;
6707
7228
  }
6708
7229
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -6720,7 +7241,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
6720
7241
  }
6721
7242
  function adapterFragment$4(luvio, config) {
6722
7243
  createResourceParams$4(config);
6723
- return select$6();
7244
+ return select$5();
6724
7245
  }
6725
7246
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
6726
7247
  const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
@@ -6751,7 +7272,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
6751
7272
  });
6752
7273
  }
6753
7274
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6754
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
7275
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6755
7276
  }
6756
7277
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6757
7278
  const { luvio, config } = context;
@@ -6776,149 +7297,19 @@ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmo
6776
7297
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
6777
7298
  };
6778
7299
 
6779
- const VERSION$1 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6780
- function validate$1(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6781
- const v_error = (() => {
6782
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6783
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6784
- }
6785
- const obj_conversationInfos = obj.conversationInfos;
6786
- const path_conversationInfos = path + '.conversationInfos';
6787
- if (!ArrayIsArray(obj_conversationInfos)) {
6788
- return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
6789
- }
6790
- for (let i = 0; i < obj_conversationInfos.length; i++) {
6791
- const obj_conversationInfos_item = obj_conversationInfos[i];
6792
- const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
6793
- if (typeof obj_conversationInfos_item !== 'object') {
6794
- return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
6795
- }
6796
- }
6797
- const obj_searchString = obj.searchString;
6798
- const path_searchString = path + '.searchString';
6799
- let obj_searchString_union0 = null;
6800
- const obj_searchString_union0_error = (() => {
6801
- if (typeof obj_searchString !== 'string') {
6802
- return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6803
- }
6804
- })();
6805
- if (obj_searchString_union0_error != null) {
6806
- obj_searchString_union0 = obj_searchString_union0_error.message;
6807
- }
6808
- let obj_searchString_union1 = null;
6809
- const obj_searchString_union1_error = (() => {
6810
- if (obj_searchString !== null) {
6811
- return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6812
- }
6813
- })();
6814
- if (obj_searchString_union1_error != null) {
6815
- obj_searchString_union1 = obj_searchString_union1_error.message;
6816
- }
6817
- if (obj_searchString_union0 && obj_searchString_union1) {
6818
- let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6819
- message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6820
- message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6821
- return new TypeError(message);
6822
- }
6823
- })();
6824
- return v_error === undefined ? null : v_error;
6825
- }
6826
- const RepresentationType$1 = 'SlackBridgeConversationInfosOutputRepresentation';
6827
- function normalize$1(input, existing, path, luvio, store, timestamp) {
6828
- const input_conversationInfos = input.conversationInfos;
6829
- const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6830
- for (let i = 0; i < input_conversationInfos.length; i++) {
6831
- const input_conversationInfos_item = input_conversationInfos[i];
6832
- let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6833
- input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6834
- fullPath: input_conversationInfos_item_id,
6835
- propertyName: i,
6836
- parent: {
6837
- data: input,
6838
- key: path.fullPath,
6839
- existing: existing,
6840
- },
6841
- ttl: path.ttl
6842
- }, luvio, store, timestamp);
6843
- }
6844
- return input;
6845
- }
6846
- const select$5 = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6847
- return {
6848
- kind: 'Fragment',
6849
- version: VERSION$1,
6850
- private: [],
6851
- selections: [
6852
- {
6853
- name: 'conversationInfos',
6854
- kind: 'Link',
6855
- plural: true,
6856
- fragment: select$C()
6857
- },
6858
- {
6859
- name: 'searchString',
6860
- kind: 'Scalar'
6861
- }
6862
- ]
6863
- };
6864
- };
6865
- function equals$1(existing, incoming) {
6866
- const existing_conversationInfos = existing.conversationInfos;
6867
- const incoming_conversationInfos = incoming.conversationInfos;
6868
- const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
6869
- if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
6870
- return false;
6871
- }
6872
- });
6873
- if (equals_conversationInfos_items === false) {
6874
- return false;
6875
- }
6876
- const existing_searchString = existing.searchString;
6877
- const incoming_searchString = incoming.searchString;
6878
- if (!(existing_searchString === incoming_searchString)) {
6879
- return false;
6880
- }
6881
- return true;
6882
- }
6883
- const ingest$1 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6884
- if (process.env.NODE_ENV !== 'production') {
6885
- const validateError = validate$1(input);
6886
- if (validateError !== null) {
6887
- throw validateError;
6888
- }
6889
- }
6890
- const key = path.fullPath;
6891
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6892
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
6893
- return createLink(key);
6894
- };
6895
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6896
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6897
- const rootKey = fullPathFactory();
6898
- rootKeySet.set(rootKey, {
6899
- namespace: keyPrefix,
6900
- representationName: RepresentationType$1,
6901
- mergeable: false
6902
- });
6903
- const input_conversationInfos_length = input.conversationInfos.length;
6904
- for (let i = 0; i < input_conversationInfos_length; i++) {
6905
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6906
- }
6907
- }
6908
-
6909
7300
  function select$4(luvio, params) {
6910
- return select$5();
7301
+ return select$a();
6911
7302
  }
6912
7303
  function keyBuilder$7(luvio, params) {
6913
7304
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6914
7305
  }
6915
7306
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
6916
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
7307
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6917
7308
  }
6918
7309
  function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
6919
7310
  const { body } = response;
6920
7311
  const key = keyBuilder$7(luvio, resourceParams);
6921
- luvio.storeIngest(key, ingest$1, body);
7312
+ luvio.storeIngest(key, ingest$2, body);
6922
7313
  const snapshot = luvio.storeLookup({
6923
7314
  recordId: key,
6924
7315
  node: select$4(),
@@ -6958,14 +7349,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6958
7349
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6959
7350
  ];
6960
7351
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSlackSearchConversation_ConfigPropertyMetadata);
6961
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$m(getSlackSearchConversation_ConfigPropertyMetadata);
7352
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$o(getSlackSearchConversation_ConfigPropertyMetadata);
6962
7353
  function keyBuilder$6(luvio, config) {
6963
7354
  const resourceParams = createResourceParams$3(config);
6964
7355
  return keyBuilder$7(luvio, resourceParams);
6965
7356
  }
6966
7357
  function typeCheckConfig$3(untrustedConfig) {
6967
7358
  const config = {};
6968
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
7359
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6969
7360
  return config;
6970
7361
  }
6971
7362
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7014,7 +7405,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
7014
7405
  });
7015
7406
  }
7016
7407
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
7017
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7408
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7018
7409
  }
7019
7410
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
7020
7411
  const { luvio, config } = context;
@@ -7040,18 +7431,18 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
7040
7431
  };
7041
7432
 
7042
7433
  function select$3(luvio, params) {
7043
- return select$8();
7434
+ return select$7();
7044
7435
  }
7045
7436
  function keyBuilder$5(luvio, params) {
7046
7437
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
7047
7438
  }
7048
7439
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7049
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
7440
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
7050
7441
  }
7051
7442
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
7052
7443
  const { body } = response;
7053
7444
  const key = keyBuilder$5(luvio, resourceParams);
7054
- luvio.storeIngest(key, ingest$2, body);
7445
+ luvio.storeIngest(key, ingest$1, body);
7055
7446
  const snapshot = luvio.storeLookup({
7056
7447
  recordId: key,
7057
7448
  node: select$3(),
@@ -7091,14 +7482,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
7091
7482
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
7092
7483
  ];
7093
7484
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSlackSearchEmoji_ConfigPropertyMetadata);
7094
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$m(getSlackSearchEmoji_ConfigPropertyMetadata);
7485
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$o(getSlackSearchEmoji_ConfigPropertyMetadata);
7095
7486
  function keyBuilder$4(luvio, config) {
7096
7487
  const resourceParams = createResourceParams$2(config);
7097
7488
  return keyBuilder$5(luvio, resourceParams);
7098
7489
  }
7099
7490
  function typeCheckConfig$2(untrustedConfig) {
7100
7491
  const config = {};
7101
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
7492
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
7102
7493
  return config;
7103
7494
  }
7104
7495
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7147,7 +7538,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
7147
7538
  });
7148
7539
  }
7149
7540
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
7150
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7541
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7151
7542
  }
7152
7543
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
7153
7544
  const { luvio, config } = context;
@@ -7172,12 +7563,38 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
7172
7563
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
7173
7564
  };
7174
7565
 
7175
- const VERSION = "058d708f5533e6123e368a3722311412";
7566
+ const VERSION = "16b915c502b8a0609446d7ed3907a794";
7176
7567
  function validate(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
7177
7568
  const v_error = (() => {
7178
7569
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7179
7570
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7180
7571
  }
7572
+ const obj_nextMarker = obj.nextMarker;
7573
+ const path_nextMarker = path + '.nextMarker';
7574
+ let obj_nextMarker_union0 = null;
7575
+ const obj_nextMarker_union0_error = (() => {
7576
+ if (typeof obj_nextMarker !== 'string') {
7577
+ return new TypeError('Expected "string" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7578
+ }
7579
+ })();
7580
+ if (obj_nextMarker_union0_error != null) {
7581
+ obj_nextMarker_union0 = obj_nextMarker_union0_error.message;
7582
+ }
7583
+ let obj_nextMarker_union1 = null;
7584
+ const obj_nextMarker_union1_error = (() => {
7585
+ if (obj_nextMarker !== null) {
7586
+ return new TypeError('Expected "null" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7587
+ }
7588
+ })();
7589
+ if (obj_nextMarker_union1_error != null) {
7590
+ obj_nextMarker_union1 = obj_nextMarker_union1_error.message;
7591
+ }
7592
+ if (obj_nextMarker_union0 && obj_nextMarker_union1) {
7593
+ let message = 'Object doesn\'t match union (at "' + path_nextMarker + '")';
7594
+ message += '\n' + obj_nextMarker_union0.split('\n').map((line) => '\t' + line).join('\n');
7595
+ message += '\n' + obj_nextMarker_union1.split('\n').map((line) => '\t' + line).join('\n');
7596
+ return new TypeError(message);
7597
+ }
7181
7598
  const obj_searchString = obj.searchString;
7182
7599
  const path_searchString = path + '.searchString';
7183
7600
  let obj_searchString_union0 = null;
@@ -7245,6 +7662,10 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
7245
7662
  version: VERSION,
7246
7663
  private: [],
7247
7664
  selections: [
7665
+ {
7666
+ name: 'nextMarker',
7667
+ kind: 'Scalar'
7668
+ },
7248
7669
  {
7249
7670
  name: 'searchString',
7250
7671
  kind: 'Scalar'
@@ -7253,12 +7674,17 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
7253
7674
  name: 'userInfos',
7254
7675
  kind: 'Link',
7255
7676
  plural: true,
7256
- fragment: select$D()
7677
+ fragment: select$F()
7257
7678
  }
7258
7679
  ]
7259
7680
  };
7260
7681
  };
7261
7682
  function equals(existing, incoming) {
7683
+ const existing_nextMarker = existing.nextMarker;
7684
+ const incoming_nextMarker = incoming.nextMarker;
7685
+ if (!(existing_nextMarker === incoming_nextMarker)) {
7686
+ return false;
7687
+ }
7262
7688
  const existing_searchString = existing.searchString;
7263
7689
  const incoming_searchString = incoming.searchString;
7264
7690
  if (!(existing_searchString === incoming_searchString)) {
@@ -7357,14 +7783,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
7357
7783
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
7358
7784
  ];
7359
7785
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSlackSearchUser_ConfigPropertyMetadata);
7360
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$m(getSlackSearchUser_ConfigPropertyMetadata);
7786
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$o(getSlackSearchUser_ConfigPropertyMetadata);
7361
7787
  function keyBuilder$2(luvio, config) {
7362
7788
  const resourceParams = createResourceParams$1(config);
7363
7789
  return keyBuilder$3(luvio, resourceParams);
7364
7790
  }
7365
7791
  function typeCheckConfig$1(untrustedConfig) {
7366
7792
  const config = {};
7367
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7793
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7368
7794
  return config;
7369
7795
  }
7370
7796
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7413,7 +7839,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
7413
7839
  });
7414
7840
  }
7415
7841
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
7416
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7842
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7417
7843
  }
7418
7844
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
7419
7845
  const { luvio, config } = context;
@@ -7439,12 +7865,11 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
7439
7865
  };
7440
7866
 
7441
7867
  function select(luvio, params) {
7442
- return select$D();
7868
+ return select$F();
7443
7869
  }
7444
7870
  function keyBuilder$1(luvio, params) {
7445
- return keyBuilder$A(luvio, {
7446
- slackUserId: params.urlParams.slackUserId,
7447
- teamId: params.urlParams.teamId
7871
+ return keyBuilder$E(luvio, {
7872
+ slackUserId: params.urlParams.slackUserId
7448
7873
  });
7449
7874
  }
7450
7875
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
@@ -7471,7 +7896,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
7471
7896
  const key = keyBuilder$1(luvio, params);
7472
7897
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7473
7898
  const storeMetadataParams = {
7474
- ttl: TTL$1,
7899
+ ttl: TTL$2,
7475
7900
  namespace: keyPrefix,
7476
7901
  version: VERSION$k,
7477
7902
  representationName: RepresentationType$g
@@ -7499,14 +7924,14 @@ const getSlackUser_ConfigPropertyMetadata = [
7499
7924
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7500
7925
  ];
7501
7926
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSlackUser_ConfigPropertyMetadata);
7502
- const createResourceParams = /*#__PURE__*/ createResourceParams$m(getSlackUser_ConfigPropertyMetadata);
7927
+ const createResourceParams = /*#__PURE__*/ createResourceParams$o(getSlackUser_ConfigPropertyMetadata);
7503
7928
  function keyBuilder(luvio, config) {
7504
7929
  const resourceParams = createResourceParams(config);
7505
7930
  return keyBuilder$1(luvio, resourceParams);
7506
7931
  }
7507
7932
  function typeCheckConfig(untrustedConfig) {
7508
7933
  const config = {};
7509
- typeCheckConfig$m(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7934
+ typeCheckConfig$o(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7510
7935
  return config;
7511
7936
  }
7512
7937
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -7555,7 +7980,7 @@ function buildNetworkSnapshot(luvio, config, options) {
7555
7980
  });
7556
7981
  }
7557
7982
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
7558
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7983
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7559
7984
  }
7560
7985
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
7561
7986
  const { luvio, config } = context;
@@ -7580,4 +8005,4 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
7580
8005
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
7581
8006
  };
7582
8007
 
7583
- export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
8008
+ export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationInfoAdapterFactory, getSlackConversationInfosAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };