@salesforce/lds-adapters-platform-slack-bridge 1.355.0 → 1.357.0

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 = "ffc32ae0451b10824fba0c96aa0d2115";
497
+ const TTL$2 = 900000;
498
+ const VERSION$k = "2871ae193ac5e60b5cc0d6c4111e8615";
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';
@@ -900,15 +921,14 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
900
921
  return v_error === undefined ? null : v_error;
901
922
  }
902
923
  const RepresentationType$g = 'SlackBridgeUserInfoOutputRepresentation';
903
- function keyBuilder$A(luvio, config) {
904
- return keyPrefix + '::' + RepresentationType$g + ':' + config.teamId + ':' + config.slackUserId;
924
+ function keyBuilder$E(luvio, config) {
925
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.slackUserId;
905
926
  }
906
927
  function keyBuilderFromType$9(luvio, object) {
907
928
  const keyParams = {
908
- teamId: object.teamId,
909
929
  slackUserId: object.slackUserId
910
930
  };
911
- return keyBuilder$A(luvio, keyParams);
931
+ return keyBuilder$E(luvio, keyParams);
912
932
  }
913
933
  function normalize$g(input, existing, path, luvio, store, timestamp) {
914
934
  const input_statusEmoji = input.statusEmoji;
@@ -927,7 +947,7 @@ function normalize$g(input, existing, path, luvio, store, timestamp) {
927
947
  }
928
948
  return input;
929
949
  }
930
- const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
950
+ const select$F = function SlackBridgeUserInfoOutputRepresentationSelect() {
931
951
  return {
932
952
  kind: 'Fragment',
933
953
  version: VERSION$k,
@@ -1000,7 +1020,7 @@ const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
1000
1020
  name: 'statusEmoji',
1001
1021
  kind: 'Link',
1002
1022
  nullable: true,
1003
- fragment: select$E()
1023
+ fragment: select$G()
1004
1024
  },
1005
1025
  {
1006
1026
  name: 'statusMessage',
@@ -1046,11 +1066,6 @@ function equals$k(existing, incoming) {
1046
1066
  if (!(existing_slackUserId === incoming_slackUserId)) {
1047
1067
  return false;
1048
1068
  }
1049
- const existing_teamId = existing.teamId;
1050
- const incoming_teamId = incoming.teamId;
1051
- if (!(existing_teamId === incoming_teamId)) {
1052
- return false;
1053
- }
1054
1069
  const existing_displayName = existing.displayName;
1055
1070
  const incoming_displayName = incoming.displayName;
1056
1071
  if (!(existing_displayName === incoming_displayName)) {
@@ -1137,6 +1152,11 @@ function equals$k(existing, incoming) {
1137
1152
  if (!(existing_statusMessage === incoming_statusMessage)) {
1138
1153
  return false;
1139
1154
  }
1155
+ const existing_teamId = existing.teamId;
1156
+ const incoming_teamId = incoming.teamId;
1157
+ if (!(existing_teamId === incoming_teamId)) {
1158
+ return false;
1159
+ }
1140
1160
  const existing_title = existing.title;
1141
1161
  const incoming_title = incoming.title;
1142
1162
  if (!(existing_title === incoming_title)) {
@@ -1152,7 +1172,7 @@ const ingest$g = function SlackBridgeUserInfoOutputRepresentationIngest(input, p
1152
1172
  }
1153
1173
  }
1154
1174
  const key = keyBuilderFromType$9(luvio, input);
1155
- const ttlToUse = TTL$1;
1175
+ const ttlToUse = TTL$2;
1156
1176
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$k, RepresentationType$g, equals$k);
1157
1177
  return createLink(key);
1158
1178
  };
@@ -1169,6 +1189,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1169
1189
  }
1170
1190
  }
1171
1191
 
1192
+ const TTL$1 = 900000;
1172
1193
  const VERSION$j = "252fe3a6509a770a876e36552ad8dd06";
1173
1194
  function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1174
1195
  const v_error = (() => {
@@ -1508,19 +1529,19 @@ function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1508
1529
  return v_error === undefined ? null : v_error;
1509
1530
  }
1510
1531
  const RepresentationType$f = 'SlackBridgeConversationInfoOutputRepresentation';
1511
- function keyBuilder$z(luvio, config) {
1532
+ function keyBuilder$D(luvio, config) {
1512
1533
  return keyPrefix + '::' + RepresentationType$f + ':' + config.id;
1513
1534
  }
1514
1535
  function keyBuilderFromType$8(luvio, object) {
1515
1536
  const keyParams = {
1516
1537
  id: object.id
1517
1538
  };
1518
- return keyBuilder$z(luvio, keyParams);
1539
+ return keyBuilder$D(luvio, keyParams);
1519
1540
  }
1520
1541
  function normalize$f(input, existing, path, luvio, store, timestamp) {
1521
1542
  return input;
1522
1543
  }
1523
- const select$C = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1544
+ const select$E = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1524
1545
  return {
1525
1546
  kind: 'Fragment',
1526
1547
  version: VERSION$j,
@@ -1684,7 +1705,7 @@ const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(
1684
1705
  }
1685
1706
  }
1686
1707
  const key = keyBuilderFromType$8(luvio, input);
1687
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1708
+ const ttlToUse = TTL$1;
1688
1709
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
1689
1710
  return createLink(key);
1690
1711
  };
@@ -1776,7 +1797,7 @@ function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1776
1797
  })();
1777
1798
  return v_error === undefined ? null : v_error;
1778
1799
  }
1779
- const select$B = function SlackBridgeReactionOutputRepresentationSelect() {
1800
+ const select$D = function SlackBridgeReactionOutputRepresentationSelect() {
1780
1801
  return {
1781
1802
  kind: 'Fragment',
1782
1803
  version: VERSION$i,
@@ -1850,7 +1871,7 @@ function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1850
1871
  })();
1851
1872
  return v_error === undefined ? null : v_error;
1852
1873
  }
1853
- const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
1874
+ const select$C = function SlackBridgeFileTypeOutputRepresentationSelect() {
1854
1875
  return {
1855
1876
  kind: 'Fragment',
1856
1877
  version: VERSION$h,
@@ -1965,8 +1986,8 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1965
1986
  })();
1966
1987
  return v_error === undefined ? null : v_error;
1967
1988
  }
1968
- const select$z = function SlackBridgeContentVersionOutputRepresentationSelect() {
1969
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
1989
+ const select$B = function SlackBridgeContentVersionOutputRepresentationSelect() {
1990
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$C();
1970
1991
  return {
1971
1992
  kind: 'Fragment',
1972
1993
  version: VERSION$g,
@@ -2078,9 +2099,9 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2078
2099
  })();
2079
2100
  return v_error === undefined ? null : v_error;
2080
2101
  }
2081
- const select$y = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2082
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
2083
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$z();
2102
+ const select$A = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2103
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$C();
2104
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$B();
2084
2105
  return {
2085
2106
  kind: 'Fragment',
2086
2107
  version: VERSION$f,
@@ -2313,20 +2334,20 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2313
2334
  return v_error === undefined ? null : v_error;
2314
2335
  }
2315
2336
  const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
2316
- function keyBuilder$y(luvio, config) {
2337
+ function keyBuilder$C(luvio, config) {
2317
2338
  return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2318
2339
  }
2319
2340
  function keyBuilderFromType$7(luvio, object) {
2320
2341
  const keyParams = {
2321
2342
  uniqueKey: object.uniqueKey
2322
2343
  };
2323
- return keyBuilder$y(luvio, keyParams);
2344
+ return keyBuilder$C(luvio, keyParams);
2324
2345
  }
2325
2346
  function normalize$e(input, existing, path, luvio, store, timestamp) {
2326
2347
  return input;
2327
2348
  }
2328
- const select$x = function SlackBridgeFileOutputRepresentationSelect() {
2329
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$y();
2349
+ const select$z = function SlackBridgeFileOutputRepresentationSelect() {
2350
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$A();
2330
2351
  return {
2331
2352
  kind: 'Fragment',
2332
2353
  version: VERSION$e,
@@ -2859,8 +2880,8 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
2859
2880
  }
2860
2881
  return input;
2861
2882
  }
2862
- const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2863
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
2883
+ const select$y = function SlackBridgeMessageOutputRepresentationSelect() {
2884
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$D();
2864
2885
  return {
2865
2886
  kind: 'Fragment',
2866
2887
  version: VERSION$d,
@@ -2884,7 +2905,7 @@ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2884
2905
  name: 'files',
2885
2906
  kind: 'Link',
2886
2907
  plural: true,
2887
- fragment: select$x()
2908
+ fragment: select$z()
2888
2909
  },
2889
2910
  {
2890
2911
  name: 'includesCustomEmoji',
@@ -3192,7 +3213,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
3192
3213
  }
3193
3214
  return input;
3194
3215
  }
3195
- const select$v = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3216
+ const select$x = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3196
3217
  return {
3197
3218
  kind: 'Fragment',
3198
3219
  version: VERSION$c,
@@ -3206,7 +3227,7 @@ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSele
3206
3227
  name: 'messages',
3207
3228
  kind: 'Link',
3208
3229
  plural: true,
3209
- fragment: select$w()
3230
+ fragment: select$y()
3210
3231
  },
3211
3232
  {
3212
3233
  name: 'nextCursor',
@@ -3264,7 +3285,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3264
3285
  }
3265
3286
  }
3266
3287
 
3267
- const VERSION$b = "7ec6cbca3e2948ff5ef00e4034f365d5";
3288
+ const VERSION$b = "1119f2c416d047eefd8303c5a2d590ae";
3268
3289
  function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3269
3290
  const v_error = (() => {
3270
3291
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3332,6 +3353,30 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3332
3353
  message += '\n' + obj_conversationInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
3333
3354
  return new TypeError(message);
3334
3355
  }
3356
+ const obj_conversationInfos = obj.conversationInfos;
3357
+ const path_conversationInfos = path + '.conversationInfos';
3358
+ if (!ArrayIsArray(obj_conversationInfos)) {
3359
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
3360
+ }
3361
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
3362
+ const obj_conversationInfos_item = obj_conversationInfos[i];
3363
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
3364
+ if (typeof obj_conversationInfos_item !== 'object') {
3365
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
3366
+ }
3367
+ }
3368
+ const obj_emojis = obj.emojis;
3369
+ const path_emojis = path + '.emojis';
3370
+ if (!ArrayIsArray(obj_emojis)) {
3371
+ return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
3372
+ }
3373
+ for (let i = 0; i < obj_emojis.length; i++) {
3374
+ const obj_emojis_item = obj_emojis[i];
3375
+ const path_emojis_item = path_emojis + '[' + i + ']';
3376
+ if (typeof obj_emojis_item !== 'object') {
3377
+ return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
3378
+ }
3379
+ }
3335
3380
  const obj_history = obj.history;
3336
3381
  const path_history = path + '.history';
3337
3382
  if (typeof obj_history !== 'object') {
@@ -3439,6 +3484,38 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3439
3484
  ttl: path.ttl
3440
3485
  }, luvio, store, timestamp);
3441
3486
  }
3487
+ const input_conversationInfos = input.conversationInfos;
3488
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
3489
+ for (let i = 0; i < input_conversationInfos.length; i++) {
3490
+ const input_conversationInfos_item = input_conversationInfos[i];
3491
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
3492
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
3493
+ fullPath: input_conversationInfos_item_id,
3494
+ propertyName: i,
3495
+ parent: {
3496
+ data: input,
3497
+ key: path.fullPath,
3498
+ existing: existing,
3499
+ },
3500
+ ttl: path.ttl
3501
+ }, luvio, store, timestamp);
3502
+ }
3503
+ const input_emojis = input.emojis;
3504
+ const input_emojis_id = path.fullPath + '__emojis';
3505
+ for (let i = 0; i < input_emojis.length; i++) {
3506
+ const input_emojis_item = input_emojis[i];
3507
+ let input_emojis_item_id = input_emojis_id + '__' + i;
3508
+ input_emojis[i] = ingest$h(input_emojis_item, {
3509
+ fullPath: input_emojis_item_id,
3510
+ propertyName: i,
3511
+ parent: {
3512
+ data: input,
3513
+ key: path.fullPath,
3514
+ existing: existing,
3515
+ },
3516
+ ttl: path.ttl
3517
+ }, luvio, store, timestamp);
3518
+ }
3442
3519
  const input_history = input.history;
3443
3520
  const input_history_id = path.fullPath + '__history';
3444
3521
  input.history = ingest$c(input_history, {
@@ -3469,7 +3546,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3469
3546
  }
3470
3547
  return input;
3471
3548
  }
3472
- const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3549
+ const select$w = function SlackBridgeConversationOutputRepresentationSelect() {
3473
3550
  return {
3474
3551
  kind: 'Fragment',
3475
3552
  version: VERSION$b,
@@ -3487,18 +3564,30 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3487
3564
  name: 'contextUserInfo',
3488
3565
  kind: 'Link',
3489
3566
  nullable: true,
3490
- fragment: select$D()
3567
+ fragment: select$F()
3491
3568
  },
3492
3569
  {
3493
3570
  name: 'conversationInfo',
3494
3571
  kind: 'Link',
3495
3572
  nullable: true,
3496
- fragment: select$C()
3573
+ fragment: select$E()
3574
+ },
3575
+ {
3576
+ name: 'conversationInfos',
3577
+ kind: 'Link',
3578
+ plural: true,
3579
+ fragment: select$E()
3580
+ },
3581
+ {
3582
+ name: 'emojis',
3583
+ kind: 'Link',
3584
+ plural: true,
3585
+ fragment: select$G()
3497
3586
  },
3498
3587
  {
3499
3588
  name: 'history',
3500
3589
  kind: 'Link',
3501
- fragment: select$v()
3590
+ fragment: select$x()
3502
3591
  },
3503
3592
  {
3504
3593
  name: 'teamId',
@@ -3512,7 +3601,7 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3512
3601
  name: 'userInfos',
3513
3602
  kind: 'Link',
3514
3603
  plural: true,
3515
- fragment: select$D()
3604
+ fragment: select$F()
3516
3605
  },
3517
3606
  {
3518
3607
  name: 'websocketUrl',
@@ -3557,6 +3646,26 @@ function equals$b(existing, incoming) {
3557
3646
  existing_conversationInfo.__ref === incoming_conversationInfo.__ref))) {
3558
3647
  return false;
3559
3648
  }
3649
+ const existing_conversationInfos = existing.conversationInfos;
3650
+ const incoming_conversationInfos = incoming.conversationInfos;
3651
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
3652
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
3653
+ return false;
3654
+ }
3655
+ });
3656
+ if (equals_conversationInfos_items === false) {
3657
+ return false;
3658
+ }
3659
+ const existing_emojis = existing.emojis;
3660
+ const incoming_emojis = incoming.emojis;
3661
+ const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
3662
+ if (!(existing_emojis_item.__ref === incoming_emojis_item.__ref)) {
3663
+ return false;
3664
+ }
3665
+ });
3666
+ if (equals_emojis_items === false) {
3667
+ return false;
3668
+ }
3560
3669
  const existing_history = existing.history;
3561
3670
  const incoming_history = incoming.history;
3562
3671
  if (!(existing_history.__ref === incoming_history.__ref)) {
@@ -3610,6 +3719,14 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3610
3719
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3611
3720
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
3612
3721
  }
3722
+ const input_conversationInfos_length = input.conversationInfos.length;
3723
+ for (let i = 0; i < input_conversationInfos_length; i++) {
3724
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
3725
+ }
3726
+ const input_emojis_length = input.emojis.length;
3727
+ for (let i = 0; i < input_emojis_length; i++) {
3728
+ getTypeCacheKeys$h(rootKeySet, luvio, input.emojis[i]);
3729
+ }
3613
3730
  getTypeCacheKeys$c(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3614
3731
  const input_userInfos_length = input.userInfos.length;
3615
3732
  for (let i = 0; i < input_userInfos_length; i++) {
@@ -3617,22 +3734,22 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3617
3734
  }
3618
3735
  }
3619
3736
 
3620
- function select$t(luvio, params) {
3621
- return select$u();
3737
+ function select$v(luvio, params) {
3738
+ return select$w();
3622
3739
  }
3623
- function keyBuilder$x(luvio, params) {
3740
+ function keyBuilder$B(luvio, params) {
3624
3741
  return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
3625
3742
  }
3626
- function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
3627
- getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
3743
+ function getResponseCacheKeys$n(storeKeyMap, luvio, resourceParams, response) {
3744
+ getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$B(luvio, resourceParams));
3628
3745
  }
3629
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
3746
+ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
3630
3747
  const { body } = response;
3631
- const key = keyBuilder$x(luvio, resourceParams);
3748
+ const key = keyBuilder$B(luvio, resourceParams);
3632
3749
  luvio.storeIngest(key, ingest$b, body);
3633
3750
  const snapshot = luvio.storeLookup({
3634
3751
  recordId: key,
3635
- node: select$t(),
3752
+ node: select$v(),
3636
3753
  variables: {},
3637
3754
  }, snapshotRefresh);
3638
3755
  if (process.env.NODE_ENV !== 'production') {
@@ -3643,16 +3760,16 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
3643
3760
  deepFreeze(snapshot.data);
3644
3761
  return snapshot;
3645
3762
  }
3646
- function ingestError$b(luvio, params, error, snapshotRefresh) {
3647
- const key = keyBuilder$x(luvio, params);
3763
+ function ingestError$d(luvio, params, error, snapshotRefresh) {
3764
+ const key = keyBuilder$B(luvio, params);
3648
3765
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3649
3766
  luvio.storeIngestError(key, errorSnapshot);
3650
3767
  return errorSnapshot;
3651
3768
  }
3652
- function createResourceRequest$l(config) {
3769
+ function createResourceRequest$n(config) {
3653
3770
  const headers = {};
3654
3771
  return {
3655
- baseUri: '/services/data/v64.0',
3772
+ baseUri: '/services/data/v65.0',
3656
3773
  basePath: '/connect/slackbridge/conversation/messages',
3657
3774
  method: 'get',
3658
3775
  body: null,
@@ -3663,7 +3780,7 @@ function createResourceRequest$l(config) {
3663
3780
  };
3664
3781
  }
3665
3782
 
3666
- const adapterName$l = 'getSlackConversation';
3783
+ const adapterName$n = 'getSlackConversation';
3667
3784
  const getSlackConversation_ConfigPropertyMetadata = [
3668
3785
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3669
3786
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3675,86 +3792,86 @@ const getSlackConversation_ConfigPropertyMetadata = [
3675
3792
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3676
3793
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3677
3794
  ];
3678
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getSlackConversation_ConfigPropertyMetadata);
3679
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$m(getSlackConversation_ConfigPropertyMetadata);
3680
- function keyBuilder$w(luvio, config) {
3681
- const resourceParams = createResourceParams$l(config);
3682
- return keyBuilder$x(luvio, resourceParams);
3795
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getSlackConversation_ConfigPropertyMetadata);
3796
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$o(getSlackConversation_ConfigPropertyMetadata);
3797
+ function keyBuilder$A(luvio, config) {
3798
+ const resourceParams = createResourceParams$n(config);
3799
+ return keyBuilder$B(luvio, resourceParams);
3683
3800
  }
3684
- function typeCheckConfig$l(untrustedConfig) {
3801
+ function typeCheckConfig$n(untrustedConfig) {
3685
3802
  const config = {};
3686
- typeCheckConfig$m(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3803
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3687
3804
  return config;
3688
3805
  }
3689
- function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
3806
+ function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
3690
3807
  if (!untrustedIsObject(untrustedConfig)) {
3691
3808
  return null;
3692
3809
  }
3693
3810
  if (process.env.NODE_ENV !== 'production') {
3694
3811
  validateConfig(untrustedConfig, configPropertyNames);
3695
3812
  }
3696
- const config = typeCheckConfig$l(untrustedConfig);
3813
+ const config = typeCheckConfig$n(untrustedConfig);
3697
3814
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3698
3815
  return null;
3699
3816
  }
3700
3817
  return config;
3701
3818
  }
3702
- function adapterFragment$b(luvio, config) {
3703
- createResourceParams$l(config);
3704
- return select$t();
3819
+ function adapterFragment$d(luvio, config) {
3820
+ createResourceParams$n(config);
3821
+ return select$v();
3705
3822
  }
3706
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
3707
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
3823
+ function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
3824
+ const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
3708
3825
  config,
3709
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3826
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
3710
3827
  });
3711
3828
  return luvio.storeBroadcast().then(() => snapshot);
3712
3829
  }
3713
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
3714
- const snapshot = ingestError$b(luvio, resourceParams, response, {
3830
+ function onFetchResponseError$d(luvio, config, resourceParams, response) {
3831
+ const snapshot = ingestError$d(luvio, resourceParams, response, {
3715
3832
  config,
3716
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3833
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
3717
3834
  });
3718
3835
  return luvio.storeBroadcast().then(() => snapshot);
3719
3836
  }
3720
- function buildNetworkSnapshot$l(luvio, config, options) {
3721
- const resourceParams = createResourceParams$l(config);
3722
- const request = createResourceRequest$l(resourceParams);
3837
+ function buildNetworkSnapshot$n(luvio, config, options) {
3838
+ const resourceParams = createResourceParams$n(config);
3839
+ const request = createResourceRequest$n(resourceParams);
3723
3840
  return luvio.dispatchResourceRequest(request, options)
3724
3841
  .then((response) => {
3725
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
3842
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
3726
3843
  const cache = new StoreKeyMap();
3727
- getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
3844
+ getResponseCacheKeys$n(cache, luvio, resourceParams, response.body);
3728
3845
  return cache;
3729
3846
  });
3730
3847
  }, (response) => {
3731
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
3848
+ return luvio.handleErrorResponse(() => onFetchResponseError$d(luvio, config, resourceParams, response));
3732
3849
  });
3733
3850
  }
3734
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
3735
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
3851
+ function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
3852
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$n, undefined, false);
3736
3853
  }
3737
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
3854
+ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
3738
3855
  const { luvio, config } = context;
3739
3856
  const selector = {
3740
- recordId: keyBuilder$w(luvio, config),
3741
- node: adapterFragment$b(luvio, config),
3857
+ recordId: keyBuilder$A(luvio, config),
3858
+ node: adapterFragment$d(luvio, config),
3742
3859
  variables: {},
3743
3860
  };
3744
3861
  const cacheSnapshot = storeLookup(selector, {
3745
3862
  config,
3746
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3863
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
3747
3864
  });
3748
3865
  return cacheSnapshot;
3749
3866
  }
3750
3867
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3751
- const config = validateAdapterConfig$l(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3868
+ const config = validateAdapterConfig$n(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3752
3869
  // Invalid or incomplete config
3753
3870
  if (config === null) {
3754
3871
  return null;
3755
3872
  }
3756
3873
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3757
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
3874
+ buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
3758
3875
  };
3759
3876
 
3760
3877
  const VERSION$a = "769b5b0ed94219341e9be74c08e63aed";
@@ -3782,14 +3899,14 @@ function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3782
3899
  return v_error === undefined ? null : v_error;
3783
3900
  }
3784
3901
  const RepresentationType$a = 'SlackBridgePostMessageOutputRepresentation';
3785
- function keyBuilder$v(luvio, config) {
3902
+ function keyBuilder$z(luvio, config) {
3786
3903
  return keyPrefix + '::' + RepresentationType$a + ':' + config.channelId;
3787
3904
  }
3788
3905
  function keyBuilderFromType$6(luvio, object) {
3789
3906
  const keyParams = {
3790
3907
  channelId: object.channelId
3791
3908
  };
3792
- return keyBuilder$v(luvio, keyParams);
3909
+ return keyBuilder$z(luvio, keyParams);
3793
3910
  }
3794
3911
  function normalize$a(input, existing, path, luvio, store, timestamp) {
3795
3912
  const input_postedMessage = input.postedMessage;
@@ -3806,7 +3923,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3806
3923
  }, luvio, store, timestamp);
3807
3924
  return input;
3808
3925
  }
3809
- const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
3926
+ const select$u = function SlackBridgePostMessageOutputRepresentationSelect() {
3810
3927
  return {
3811
3928
  kind: 'Fragment',
3812
3929
  version: VERSION$a,
@@ -3819,7 +3936,7 @@ const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
3819
3936
  {
3820
3937
  name: 'postedMessage',
3821
3938
  kind: 'Link',
3822
- fragment: select$w()
3939
+ fragment: select$y()
3823
3940
  },
3824
3941
  {
3825
3942
  name: 'timestamp',
@@ -3869,19 +3986,19 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3869
3986
  getTypeCacheKeys$d(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3870
3987
  }
3871
3988
 
3872
- function select$r(luvio, params) {
3873
- return select$s();
3989
+ function select$t(luvio, params) {
3990
+ return select$u();
3874
3991
  }
3875
- function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
3992
+ function getResponseCacheKeys$m(storeKeyMap, luvio, resourceParams, response) {
3876
3993
  getTypeCacheKeys$a(storeKeyMap, luvio, response);
3877
3994
  }
3878
- function ingestSuccess$h(luvio, resourceParams, response) {
3995
+ function ingestSuccess$j(luvio, resourceParams, response) {
3879
3996
  const { body } = response;
3880
3997
  const key = keyBuilderFromType$6(luvio, body);
3881
3998
  luvio.storeIngest(key, ingest$a, body);
3882
3999
  const snapshot = luvio.storeLookup({
3883
4000
  recordId: key,
3884
- node: select$r(),
4001
+ node: select$t(),
3885
4002
  variables: {},
3886
4003
  });
3887
4004
  if (process.env.NODE_ENV !== 'production') {
@@ -3892,10 +4009,10 @@ function ingestSuccess$h(luvio, resourceParams, response) {
3892
4009
  deepFreeze(snapshot.data);
3893
4010
  return snapshot;
3894
4011
  }
3895
- function createResourceRequest$k(config) {
4012
+ function createResourceRequest$m(config) {
3896
4013
  const headers = {};
3897
4014
  return {
3898
- baseUri: '/services/data/v64.0',
4015
+ baseUri: '/services/data/v65.0',
3899
4016
  basePath: '/connect/slackbridge/conversation/messages',
3900
4017
  method: 'post',
3901
4018
  body: config.body,
@@ -3906,7 +4023,7 @@ function createResourceRequest$k(config) {
3906
4023
  };
3907
4024
  }
3908
4025
 
3909
- const adapterName$k = 'postSlackConversation';
4026
+ const adapterName$m = 'postSlackConversation';
3910
4027
  const postSlackConversation_ConfigPropertyMetadata = [
3911
4028
  generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
3912
4029
  generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
@@ -3915,37 +4032,37 @@ const postSlackConversation_ConfigPropertyMetadata = [
3915
4032
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
3916
4033
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
3917
4034
  ];
3918
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackConversation_ConfigPropertyMetadata);
3919
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$m(postSlackConversation_ConfigPropertyMetadata);
3920
- function typeCheckConfig$k(untrustedConfig) {
4035
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, postSlackConversation_ConfigPropertyMetadata);
4036
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$o(postSlackConversation_ConfigPropertyMetadata);
4037
+ function typeCheckConfig$m(untrustedConfig) {
3921
4038
  const config = {};
3922
- typeCheckConfig$m(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
4039
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3923
4040
  return config;
3924
4041
  }
3925
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4042
+ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
3926
4043
  if (!untrustedIsObject(untrustedConfig)) {
3927
4044
  return null;
3928
4045
  }
3929
4046
  if (process.env.NODE_ENV !== 'production') {
3930
4047
  validateConfig(untrustedConfig, configPropertyNames);
3931
4048
  }
3932
- const config = typeCheckConfig$k(untrustedConfig);
4049
+ const config = typeCheckConfig$m(untrustedConfig);
3933
4050
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3934
4051
  return null;
3935
4052
  }
3936
4053
  return config;
3937
4054
  }
3938
- function buildNetworkSnapshot$k(luvio, config, options) {
3939
- const resourceParams = createResourceParams$k(config);
3940
- const request = createResourceRequest$k(resourceParams);
4055
+ function buildNetworkSnapshot$m(luvio, config, options) {
4056
+ const resourceParams = createResourceParams$m(config);
4057
+ const request = createResourceRequest$m(resourceParams);
3941
4058
  return luvio.dispatchResourceRequest(request, options)
3942
4059
  .then((response) => {
3943
4060
  return luvio.handleSuccessResponse(() => {
3944
- const snapshot = ingestSuccess$h(luvio, resourceParams, response);
4061
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response);
3945
4062
  return luvio.storeBroadcast().then(() => snapshot);
3946
4063
  }, () => {
3947
4064
  const cache = new StoreKeyMap();
3948
- getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4065
+ getResponseCacheKeys$m(cache, luvio, resourceParams, response.body);
3949
4066
  return cache;
3950
4067
  });
3951
4068
  }, (response) => {
@@ -3955,28 +4072,28 @@ function buildNetworkSnapshot$k(luvio, config, options) {
3955
4072
  }
3956
4073
  const postSlackConversationAdapterFactory = (luvio) => {
3957
4074
  return function postSlackConversation(untrustedConfig) {
3958
- const config = validateAdapterConfig$k(untrustedConfig, postSlackConversation_ConfigPropertyNames);
4075
+ const config = validateAdapterConfig$m(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3959
4076
  // Invalid or incomplete config
3960
4077
  if (config === null) {
3961
4078
  throw new Error('Invalid config for "postSlackConversation"');
3962
4079
  }
3963
- return buildNetworkSnapshot$k(luvio, config);
4080
+ return buildNetworkSnapshot$m(luvio, config);
3964
4081
  };
3965
4082
  };
3966
4083
 
3967
- function select$q(luvio, params) {
3968
- return select$x();
4084
+ function select$s(luvio, params) {
4085
+ return select$z();
3969
4086
  }
3970
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4087
+ function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
3971
4088
  getTypeCacheKeys$e(storeKeyMap, luvio, response);
3972
4089
  }
3973
- function ingestSuccess$g(luvio, resourceParams, response) {
4090
+ function ingestSuccess$i(luvio, resourceParams, response) {
3974
4091
  const { body } = response;
3975
4092
  const key = keyBuilderFromType$7(luvio, body);
3976
4093
  luvio.storeIngest(key, ingest$e, body);
3977
4094
  const snapshot = luvio.storeLookup({
3978
4095
  recordId: key,
3979
- node: select$q(),
4096
+ node: select$s(),
3980
4097
  variables: {},
3981
4098
  });
3982
4099
  if (process.env.NODE_ENV !== 'production') {
@@ -3987,10 +4104,10 @@ function ingestSuccess$g(luvio, resourceParams, response) {
3987
4104
  deepFreeze(snapshot.data);
3988
4105
  return snapshot;
3989
4106
  }
3990
- function createResourceRequest$j(config) {
4107
+ function createResourceRequest$l(config) {
3991
4108
  const headers = {};
3992
4109
  return {
3993
- baseUri: '/services/data/v64.0',
4110
+ baseUri: '/services/data/v65.0',
3994
4111
  basePath: '/connect/slackbridge/files',
3995
4112
  method: 'post',
3996
4113
  body: config.body,
@@ -4001,7 +4118,7 @@ function createResourceRequest$j(config) {
4001
4118
  };
4002
4119
  }
4003
4120
 
4004
- const adapterName$j = 'postSlackFile';
4121
+ const adapterName$l = 'postSlackFile';
4005
4122
  const postSlackFile_ConfigPropertyMetadata = [
4006
4123
  generateParamConfigMetadata('base64EncodedFileData', true, 2 /* Body */, 0 /* String */),
4007
4124
  generateParamConfigMetadata('channels', true, 2 /* Body */, 0 /* String */, true),
@@ -4012,37 +4129,37 @@ const postSlackFile_ConfigPropertyMetadata = [
4012
4129
  generateParamConfigMetadata('threadTs', true, 2 /* Body */, 0 /* String */),
4013
4130
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
4014
4131
  ];
4015
- const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackFile_ConfigPropertyMetadata);
4016
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$m(postSlackFile_ConfigPropertyMetadata);
4017
- function typeCheckConfig$j(untrustedConfig) {
4132
+ const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, postSlackFile_ConfigPropertyMetadata);
4133
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$o(postSlackFile_ConfigPropertyMetadata);
4134
+ function typeCheckConfig$l(untrustedConfig) {
4018
4135
  const config = {};
4019
- typeCheckConfig$m(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4136
+ typeCheckConfig$o(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4020
4137
  return config;
4021
4138
  }
4022
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4139
+ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
4023
4140
  if (!untrustedIsObject(untrustedConfig)) {
4024
4141
  return null;
4025
4142
  }
4026
4143
  if (process.env.NODE_ENV !== 'production') {
4027
4144
  validateConfig(untrustedConfig, configPropertyNames);
4028
4145
  }
4029
- const config = typeCheckConfig$j(untrustedConfig);
4146
+ const config = typeCheckConfig$l(untrustedConfig);
4030
4147
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4031
4148
  return null;
4032
4149
  }
4033
4150
  return config;
4034
4151
  }
4035
- function buildNetworkSnapshot$j(luvio, config, options) {
4036
- const resourceParams = createResourceParams$j(config);
4037
- const request = createResourceRequest$j(resourceParams);
4152
+ function buildNetworkSnapshot$l(luvio, config, options) {
4153
+ const resourceParams = createResourceParams$l(config);
4154
+ const request = createResourceRequest$l(resourceParams);
4038
4155
  return luvio.dispatchResourceRequest(request, options)
4039
4156
  .then((response) => {
4040
4157
  return luvio.handleSuccessResponse(() => {
4041
- const snapshot = ingestSuccess$g(luvio, resourceParams, response);
4158
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response);
4042
4159
  return luvio.storeBroadcast().then(() => snapshot);
4043
4160
  }, () => {
4044
4161
  const cache = new StoreKeyMap();
4045
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4162
+ getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
4046
4163
  return cache;
4047
4164
  });
4048
4165
  }, (response) => {
@@ -4052,12 +4169,12 @@ function buildNetworkSnapshot$j(luvio, config, options) {
4052
4169
  }
4053
4170
  const postSlackFileAdapterFactory = (luvio) => {
4054
4171
  return function postSlackFile(untrustedConfig) {
4055
- const config = validateAdapterConfig$j(untrustedConfig, postSlackFile_ConfigPropertyNames);
4172
+ const config = validateAdapterConfig$l(untrustedConfig, postSlackFile_ConfigPropertyNames);
4056
4173
  // Invalid or incomplete config
4057
4174
  if (config === null) {
4058
4175
  throw new Error('Invalid config for "postSlackFile"');
4059
4176
  }
4060
- return buildNetworkSnapshot$j(luvio, config);
4177
+ return buildNetworkSnapshot$l(luvio, config);
4061
4178
  };
4062
4179
  };
4063
4180
 
@@ -4086,14 +4203,14 @@ function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
4086
4203
  return v_error === undefined ? null : v_error;
4087
4204
  }
4088
4205
  const RepresentationType$9 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4089
- function keyBuilder$u(luvio, config) {
4206
+ function keyBuilder$y(luvio, config) {
4090
4207
  return keyPrefix + '::' + RepresentationType$9 + ':' + config.relatedRecordId;
4091
4208
  }
4092
4209
  function keyBuilderFromType$5(luvio, object) {
4093
4210
  const keyParams = {
4094
4211
  relatedRecordId: object.relatedRecordId
4095
4212
  };
4096
- return keyBuilder$u(luvio, keyParams);
4213
+ return keyBuilder$y(luvio, keyParams);
4097
4214
  }
4098
4215
  function normalize$9(input, existing, path, luvio, store, timestamp) {
4099
4216
  const input_conversationInfo = input.conversationInfo;
@@ -4110,7 +4227,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
4110
4227
  }, luvio, store, timestamp);
4111
4228
  return input;
4112
4229
  }
4113
- const select$p = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4230
+ const select$r = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4114
4231
  return {
4115
4232
  kind: 'Fragment',
4116
4233
  version: VERSION$9,
@@ -4119,7 +4236,7 @@ const select$p = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
4119
4236
  {
4120
4237
  name: 'conversationInfo',
4121
4238
  kind: 'Link',
4122
- fragment: select$C()
4239
+ fragment: select$E()
4123
4240
  },
4124
4241
  {
4125
4242
  name: 'relatedRecordId',
@@ -4173,19 +4290,19 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4173
4290
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4174
4291
  }
4175
4292
 
4176
- function select$o(luvio, params) {
4177
- return select$p();
4293
+ function select$q(luvio, params) {
4294
+ return select$r();
4178
4295
  }
4179
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4296
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
4180
4297
  getTypeCacheKeys$9(storeKeyMap, luvio, response);
4181
4298
  }
4182
- function ingestSuccess$f(luvio, resourceParams, response) {
4299
+ function ingestSuccess$h(luvio, resourceParams, response) {
4183
4300
  const { body } = response;
4184
4301
  const key = keyBuilderFromType$5(luvio, body);
4185
4302
  luvio.storeIngest(key, ingest$9, body);
4186
4303
  const snapshot = luvio.storeLookup({
4187
4304
  recordId: key,
4188
- node: select$o(),
4305
+ node: select$q(),
4189
4306
  variables: {},
4190
4307
  });
4191
4308
  if (process.env.NODE_ENV !== 'production') {
@@ -4196,10 +4313,10 @@ function ingestSuccess$f(luvio, resourceParams, response) {
4196
4313
  deepFreeze(snapshot.data);
4197
4314
  return snapshot;
4198
4315
  }
4199
- function createResourceRequest$i(config) {
4316
+ function createResourceRequest$k(config) {
4200
4317
  const headers = {};
4201
4318
  return {
4202
- baseUri: '/services/data/v64.0',
4319
+ baseUri: '/services/data/v65.0',
4203
4320
  basePath: '/connect/slackbridge/record_channels',
4204
4321
  method: 'post',
4205
4322
  body: config.body,
@@ -4210,16 +4327,16 @@ function createResourceRequest$i(config) {
4210
4327
  };
4211
4328
  }
4212
4329
 
4213
- const adapterName$i = 'postSlackRecordChannelInfos';
4330
+ const adapterName$k = 'postSlackRecordChannelInfos';
4214
4331
  const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
4215
4332
  generateParamConfigMetadata('conversationInfo', true, 2 /* Body */, 4 /* Unsupported */),
4216
4333
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
4217
4334
  ];
4218
- const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4219
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$m(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4220
- function typeCheckConfig$i(untrustedConfig) {
4335
+ const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4336
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$o(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4337
+ function typeCheckConfig$k(untrustedConfig) {
4221
4338
  const config = {};
4222
- typeCheckConfig$m(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4339
+ typeCheckConfig$o(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4223
4340
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
4224
4341
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
4225
4342
  const untrustedConfig_conversationInfo_object = {};
@@ -4233,30 +4350,30 @@ function typeCheckConfig$i(untrustedConfig) {
4233
4350
  }
4234
4351
  return config;
4235
4352
  }
4236
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4353
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4237
4354
  if (!untrustedIsObject(untrustedConfig)) {
4238
4355
  return null;
4239
4356
  }
4240
4357
  if (process.env.NODE_ENV !== 'production') {
4241
4358
  validateConfig(untrustedConfig, configPropertyNames);
4242
4359
  }
4243
- const config = typeCheckConfig$i(untrustedConfig);
4360
+ const config = typeCheckConfig$k(untrustedConfig);
4244
4361
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4245
4362
  return null;
4246
4363
  }
4247
4364
  return config;
4248
4365
  }
4249
- function buildNetworkSnapshot$i(luvio, config, options) {
4250
- const resourceParams = createResourceParams$i(config);
4251
- const request = createResourceRequest$i(resourceParams);
4366
+ function buildNetworkSnapshot$k(luvio, config, options) {
4367
+ const resourceParams = createResourceParams$k(config);
4368
+ const request = createResourceRequest$k(resourceParams);
4252
4369
  return luvio.dispatchResourceRequest(request, options)
4253
4370
  .then((response) => {
4254
4371
  return luvio.handleSuccessResponse(() => {
4255
- const snapshot = ingestSuccess$f(luvio, resourceParams, response);
4372
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response);
4256
4373
  return luvio.storeBroadcast().then(() => snapshot);
4257
4374
  }, () => {
4258
4375
  const cache = new StoreKeyMap();
4259
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4376
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4260
4377
  return cache;
4261
4378
  });
4262
4379
  }, (response) => {
@@ -4266,33 +4383,33 @@ function buildNetworkSnapshot$i(luvio, config, options) {
4266
4383
  }
4267
4384
  const postSlackRecordChannelInfosAdapterFactory = (luvio) => {
4268
4385
  return function postSlackRecordChannelInfos(untrustedConfig) {
4269
- const config = validateAdapterConfig$i(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4386
+ const config = validateAdapterConfig$k(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4270
4387
  // Invalid or incomplete config
4271
4388
  if (config === null) {
4272
4389
  throw new Error('Invalid config for "postSlackRecordChannelInfos"');
4273
4390
  }
4274
- return buildNetworkSnapshot$i(luvio, config);
4391
+ return buildNetworkSnapshot$k(luvio, config);
4275
4392
  };
4276
4393
  };
4277
4394
 
4278
- function select$n(luvio, params) {
4279
- return select$p();
4395
+ function select$p(luvio, params) {
4396
+ return select$r();
4280
4397
  }
4281
- function keyBuilder$t(luvio, params) {
4282
- return keyBuilder$u(luvio, {
4398
+ function keyBuilder$x(luvio, params) {
4399
+ return keyBuilder$y(luvio, {
4283
4400
  relatedRecordId: params.urlParams.relatedRecordId
4284
4401
  });
4285
4402
  }
4286
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4403
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4287
4404
  getTypeCacheKeys$9(storeKeyMap, luvio, response);
4288
4405
  }
4289
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4406
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4290
4407
  const { body } = response;
4291
- const key = keyBuilder$t(luvio, resourceParams);
4408
+ const key = keyBuilder$x(luvio, resourceParams);
4292
4409
  luvio.storeIngest(key, ingest$9, body);
4293
4410
  const snapshot = luvio.storeLookup({
4294
4411
  recordId: key,
4295
- node: select$n(),
4412
+ node: select$p(),
4296
4413
  variables: {},
4297
4414
  }, snapshotRefresh);
4298
4415
  if (process.env.NODE_ENV !== 'production') {
@@ -4303,16 +4420,16 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4303
4420
  deepFreeze(snapshot.data);
4304
4421
  return snapshot;
4305
4422
  }
4306
- function ingestError$a(luvio, params, error, snapshotRefresh) {
4307
- const key = keyBuilder$t(luvio, params);
4423
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
4424
+ const key = keyBuilder$x(luvio, params);
4308
4425
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4309
4426
  luvio.storeIngestError(key, errorSnapshot);
4310
4427
  return errorSnapshot;
4311
4428
  }
4312
- function createResourceRequest$h(config) {
4429
+ function createResourceRequest$j(config) {
4313
4430
  const headers = {};
4314
4431
  return {
4315
- baseUri: '/services/data/v64.0',
4432
+ baseUri: '/services/data/v65.0',
4316
4433
  basePath: '/connect/slackbridge/record_channels/' + config.urlParams.relatedRecordId + '',
4317
4434
  method: 'get',
4318
4435
  body: null,
@@ -4323,90 +4440,90 @@ function createResourceRequest$h(config) {
4323
4440
  };
4324
4441
  }
4325
4442
 
4326
- const adapterName$h = 'getSlackRecordChannelInfo';
4443
+ const adapterName$j = 'getSlackRecordChannelInfo';
4327
4444
  const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
4328
4445
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
4329
4446
  ];
4330
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4331
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$m(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4332
- function keyBuilder$s(luvio, config) {
4333
- const resourceParams = createResourceParams$h(config);
4334
- return keyBuilder$t(luvio, resourceParams);
4447
+ const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4448
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$o(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4449
+ function keyBuilder$w(luvio, config) {
4450
+ const resourceParams = createResourceParams$j(config);
4451
+ return keyBuilder$x(luvio, resourceParams);
4335
4452
  }
4336
- function typeCheckConfig$h(untrustedConfig) {
4453
+ function typeCheckConfig$j(untrustedConfig) {
4337
4454
  const config = {};
4338
- typeCheckConfig$m(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4455
+ typeCheckConfig$o(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4339
4456
  return config;
4340
4457
  }
4341
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4458
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4342
4459
  if (!untrustedIsObject(untrustedConfig)) {
4343
4460
  return null;
4344
4461
  }
4345
4462
  if (process.env.NODE_ENV !== 'production') {
4346
4463
  validateConfig(untrustedConfig, configPropertyNames);
4347
4464
  }
4348
- const config = typeCheckConfig$h(untrustedConfig);
4465
+ const config = typeCheckConfig$j(untrustedConfig);
4349
4466
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4350
4467
  return null;
4351
4468
  }
4352
4469
  return config;
4353
4470
  }
4354
- function adapterFragment$a(luvio, config) {
4355
- createResourceParams$h(config);
4356
- return select$n();
4471
+ function adapterFragment$c(luvio, config) {
4472
+ createResourceParams$j(config);
4473
+ return select$p();
4357
4474
  }
4358
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4359
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
4475
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
4476
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
4360
4477
  config,
4361
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4478
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4362
4479
  });
4363
4480
  return luvio.storeBroadcast().then(() => snapshot);
4364
4481
  }
4365
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
4366
- const snapshot = ingestError$a(luvio, resourceParams, response, {
4482
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
4483
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
4367
4484
  config,
4368
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4485
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4369
4486
  });
4370
4487
  return luvio.storeBroadcast().then(() => snapshot);
4371
4488
  }
4372
- function buildNetworkSnapshot$h(luvio, config, options) {
4373
- const resourceParams = createResourceParams$h(config);
4374
- const request = createResourceRequest$h(resourceParams);
4375
- return luvio.dispatchResourceRequest(request, options)
4489
+ function buildNetworkSnapshot$j(luvio, config, options) {
4490
+ const resourceParams = createResourceParams$j(config);
4491
+ const request = createResourceRequest$j(resourceParams);
4492
+ return luvio.dispatchResourceRequest(request, options)
4376
4493
  .then((response) => {
4377
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
4494
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
4378
4495
  const cache = new StoreKeyMap();
4379
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
4496
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4380
4497
  return cache;
4381
4498
  });
4382
4499
  }, (response) => {
4383
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
4500
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
4384
4501
  });
4385
4502
  }
4386
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4387
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4503
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
4504
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
4388
4505
  }
4389
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4506
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
4390
4507
  const { luvio, config } = context;
4391
4508
  const selector = {
4392
- recordId: keyBuilder$s(luvio, config),
4393
- node: adapterFragment$a(luvio, config),
4509
+ recordId: keyBuilder$w(luvio, config),
4510
+ node: adapterFragment$c(luvio, config),
4394
4511
  variables: {},
4395
4512
  };
4396
4513
  const cacheSnapshot = storeLookup(selector, {
4397
4514
  config,
4398
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4515
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4399
4516
  });
4400
4517
  return cacheSnapshot;
4401
4518
  }
4402
4519
  const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4403
- const config = validateAdapterConfig$h(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4520
+ const config = validateAdapterConfig$j(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4404
4521
  // Invalid or incomplete config
4405
4522
  if (config === null) {
4406
4523
  return null;
4407
4524
  }
4408
4525
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4409
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4526
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
4410
4527
  };
4411
4528
 
4412
4529
  const TTL = 500;
@@ -4484,7 +4601,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4484
4601
  }
4485
4602
  return input;
4486
4603
  }
4487
- const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4604
+ const select$o = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4488
4605
  return {
4489
4606
  kind: 'Fragment',
4490
4607
  version: VERSION$8,
@@ -4494,13 +4611,13 @@ const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
4494
4611
  name: 'conversations',
4495
4612
  kind: 'Link',
4496
4613
  plural: true,
4497
- fragment: select$C()
4614
+ fragment: select$E()
4498
4615
  },
4499
4616
  {
4500
4617
  name: 'messages',
4501
4618
  kind: 'Link',
4502
4619
  plural: true,
4503
- fragment: select$w()
4620
+ fragment: select$y()
4504
4621
  },
4505
4622
  {
4506
4623
  name: 'teamId',
@@ -4567,22 +4684,22 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4567
4684
  }
4568
4685
  }
4569
4686
 
4570
- function select$l(luvio, params) {
4571
- return select$m();
4687
+ function select$n(luvio, params) {
4688
+ return select$o();
4572
4689
  }
4573
- function keyBuilder$r(luvio, params) {
4690
+ function keyBuilder$v(luvio, params) {
4574
4691
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
4575
4692
  }
4576
- function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4577
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
4693
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4694
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
4578
4695
  }
4579
- function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4696
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4580
4697
  const { body } = response;
4581
- const key = keyBuilder$r(luvio, resourceParams);
4698
+ const key = keyBuilder$v(luvio, resourceParams);
4582
4699
  luvio.storeIngest(key, ingest$8, body);
4583
4700
  const snapshot = luvio.storeLookup({
4584
4701
  recordId: key,
4585
- node: select$l(),
4702
+ node: select$n(),
4586
4703
  variables: {},
4587
4704
  }, snapshotRefresh);
4588
4705
  if (process.env.NODE_ENV !== 'production') {
@@ -4593,8 +4710,8 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4593
4710
  deepFreeze(snapshot.data);
4594
4711
  return snapshot;
4595
4712
  }
4596
- function ingestError$9(luvio, params, error, snapshotRefresh) {
4597
- const key = keyBuilder$r(luvio, params);
4713
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
4714
+ const key = keyBuilder$v(luvio, params);
4598
4715
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4599
4716
  const storeMetadataParams = {
4600
4717
  ttl: TTL,
@@ -4605,10 +4722,10 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
4605
4722
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4606
4723
  return errorSnapshot;
4607
4724
  }
4608
- function createResourceRequest$g(config) {
4725
+ function createResourceRequest$i(config) {
4609
4726
  const headers = {};
4610
4727
  return {
4611
- baseUri: '/services/data/v64.0',
4728
+ baseUri: '/services/data/v65.0',
4612
4729
  basePath: '/connect/slackbridge/related_threads/entity/' + config.urlParams.entityId + '',
4613
4730
  method: 'get',
4614
4731
  body: null,
@@ -4619,90 +4736,90 @@ function createResourceRequest$g(config) {
4619
4736
  };
4620
4737
  }
4621
4738
 
4622
- const adapterName$g = 'getRelatedThreads';
4739
+ const adapterName$i = 'getRelatedThreads';
4623
4740
  const getRelatedThreads_ConfigPropertyMetadata = [
4624
4741
  generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
4625
4742
  ];
4626
- const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getRelatedThreads_ConfigPropertyMetadata);
4627
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$m(getRelatedThreads_ConfigPropertyMetadata);
4628
- function keyBuilder$q(luvio, config) {
4629
- const resourceParams = createResourceParams$g(config);
4630
- return keyBuilder$r(luvio, resourceParams);
4743
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getRelatedThreads_ConfigPropertyMetadata);
4744
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$o(getRelatedThreads_ConfigPropertyMetadata);
4745
+ function keyBuilder$u(luvio, config) {
4746
+ const resourceParams = createResourceParams$i(config);
4747
+ return keyBuilder$v(luvio, resourceParams);
4631
4748
  }
4632
- function typeCheckConfig$g(untrustedConfig) {
4749
+ function typeCheckConfig$i(untrustedConfig) {
4633
4750
  const config = {};
4634
- typeCheckConfig$m(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4751
+ typeCheckConfig$o(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4635
4752
  return config;
4636
4753
  }
4637
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
4754
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4638
4755
  if (!untrustedIsObject(untrustedConfig)) {
4639
4756
  return null;
4640
4757
  }
4641
4758
  if (process.env.NODE_ENV !== 'production') {
4642
4759
  validateConfig(untrustedConfig, configPropertyNames);
4643
4760
  }
4644
- const config = typeCheckConfig$g(untrustedConfig);
4761
+ const config = typeCheckConfig$i(untrustedConfig);
4645
4762
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4646
4763
  return null;
4647
4764
  }
4648
4765
  return config;
4649
4766
  }
4650
- function adapterFragment$9(luvio, config) {
4651
- createResourceParams$g(config);
4652
- return select$l();
4767
+ function adapterFragment$b(luvio, config) {
4768
+ createResourceParams$i(config);
4769
+ return select$n();
4653
4770
  }
4654
- function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
4655
- const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
4771
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4772
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
4656
4773
  config,
4657
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4774
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4658
4775
  });
4659
4776
  return luvio.storeBroadcast().then(() => snapshot);
4660
4777
  }
4661
- function onFetchResponseError$9(luvio, config, resourceParams, response) {
4662
- const snapshot = ingestError$9(luvio, resourceParams, response, {
4778
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
4779
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
4663
4780
  config,
4664
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4781
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4665
4782
  });
4666
4783
  return luvio.storeBroadcast().then(() => snapshot);
4667
4784
  }
4668
- function buildNetworkSnapshot$g(luvio, config, options) {
4669
- const resourceParams = createResourceParams$g(config);
4670
- const request = createResourceRequest$g(resourceParams);
4785
+ function buildNetworkSnapshot$i(luvio, config, options) {
4786
+ const resourceParams = createResourceParams$i(config);
4787
+ const request = createResourceRequest$i(resourceParams);
4671
4788
  return luvio.dispatchResourceRequest(request, options)
4672
4789
  .then((response) => {
4673
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
4790
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4674
4791
  const cache = new StoreKeyMap();
4675
- getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
4792
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4676
4793
  return cache;
4677
4794
  });
4678
4795
  }, (response) => {
4679
- return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
4796
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4680
4797
  });
4681
4798
  }
4682
- function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4683
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4799
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4800
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4684
4801
  }
4685
- function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4802
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4686
4803
  const { luvio, config } = context;
4687
4804
  const selector = {
4688
- recordId: keyBuilder$q(luvio, config),
4689
- node: adapterFragment$9(luvio, config),
4805
+ recordId: keyBuilder$u(luvio, config),
4806
+ node: adapterFragment$b(luvio, config),
4690
4807
  variables: {},
4691
4808
  };
4692
4809
  const cacheSnapshot = storeLookup(selector, {
4693
4810
  config,
4694
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4811
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4695
4812
  });
4696
4813
  return cacheSnapshot;
4697
4814
  }
4698
4815
  const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
4699
- const config = validateAdapterConfig$g(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
4816
+ const config = validateAdapterConfig$i(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
4700
4817
  // Invalid or incomplete config
4701
4818
  if (config === null) {
4702
4819
  return null;
4703
4820
  }
4704
4821
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4705
- buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4822
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4706
4823
  };
4707
4824
 
4708
4825
  const VERSION$7 = "32716a7de3c8810288467155d92e5124";
@@ -4725,19 +4842,19 @@ function validate$7(obj, path = 'SlackBridgeConversationMarkOutputRepresentation
4725
4842
  return v_error === undefined ? null : v_error;
4726
4843
  }
4727
4844
  const RepresentationType$7 = 'SlackBridgeConversationMarkOutputRepresentation';
4728
- function keyBuilder$p(luvio, config) {
4845
+ function keyBuilder$t(luvio, config) {
4729
4846
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
4730
4847
  }
4731
4848
  function keyBuilderFromType$4(luvio, object) {
4732
4849
  const keyParams = {
4733
4850
  channelId: object.channelId
4734
4851
  };
4735
- return keyBuilder$p(luvio, keyParams);
4852
+ return keyBuilder$t(luvio, keyParams);
4736
4853
  }
4737
4854
  function normalize$7(input, existing, path, luvio, store, timestamp) {
4738
4855
  return input;
4739
4856
  }
4740
- const select$k = function SlackBridgeConversationMarkOutputRepresentationSelect() {
4857
+ const select$m = function SlackBridgeConversationMarkOutputRepresentationSelect() {
4741
4858
  return {
4742
4859
  kind: 'Fragment',
4743
4860
  version: VERSION$7,
@@ -4789,19 +4906,19 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4789
4906
  });
4790
4907
  }
4791
4908
 
4792
- function select$j(luvio, params) {
4793
- return select$k();
4909
+ function select$l(luvio, params) {
4910
+ return select$m();
4794
4911
  }
4795
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
4912
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4796
4913
  getTypeCacheKeys$7(storeKeyMap, luvio, response);
4797
4914
  }
4798
- function ingestSuccess$c(luvio, resourceParams, response) {
4915
+ function ingestSuccess$e(luvio, resourceParams, response) {
4799
4916
  const { body } = response;
4800
4917
  const key = keyBuilderFromType$4(luvio, body);
4801
4918
  luvio.storeIngest(key, ingest$7, body);
4802
4919
  const snapshot = luvio.storeLookup({
4803
4920
  recordId: key,
4804
- node: select$j(),
4921
+ node: select$l(),
4805
4922
  variables: {},
4806
4923
  });
4807
4924
  if (process.env.NODE_ENV !== 'production') {
@@ -4812,10 +4929,10 @@ function ingestSuccess$c(luvio, resourceParams, response) {
4812
4929
  deepFreeze(snapshot.data);
4813
4930
  return snapshot;
4814
4931
  }
4815
- function createResourceRequest$f(config) {
4932
+ function createResourceRequest$h(config) {
4816
4933
  const headers = {};
4817
4934
  return {
4818
- baseUri: '/services/data/v64.0',
4935
+ baseUri: '/services/data/v65.0',
4819
4936
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/mark',
4820
4937
  method: 'post',
4821
4938
  body: null,
@@ -4826,43 +4943,43 @@ function createResourceRequest$f(config) {
4826
4943
  };
4827
4944
  }
4828
4945
 
4829
- const adapterName$f = 'postSlackConversationMark';
4946
+ const adapterName$h = 'postSlackConversationMark';
4830
4947
  const postSlackConversationMark_ConfigPropertyMetadata = [
4831
4948
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4832
4949
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4833
4950
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
4834
4951
  ];
4835
- const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMark_ConfigPropertyMetadata);
4836
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$m(postSlackConversationMark_ConfigPropertyMetadata);
4837
- function typeCheckConfig$f(untrustedConfig) {
4952
+ const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, postSlackConversationMark_ConfigPropertyMetadata);
4953
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$o(postSlackConversationMark_ConfigPropertyMetadata);
4954
+ function typeCheckConfig$h(untrustedConfig) {
4838
4955
  const config = {};
4839
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4956
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4840
4957
  return config;
4841
4958
  }
4842
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
4959
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4843
4960
  if (!untrustedIsObject(untrustedConfig)) {
4844
4961
  return null;
4845
4962
  }
4846
4963
  if (process.env.NODE_ENV !== 'production') {
4847
4964
  validateConfig(untrustedConfig, configPropertyNames);
4848
4965
  }
4849
- const config = typeCheckConfig$f(untrustedConfig);
4966
+ const config = typeCheckConfig$h(untrustedConfig);
4850
4967
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4851
4968
  return null;
4852
4969
  }
4853
4970
  return config;
4854
4971
  }
4855
- function buildNetworkSnapshot$f(luvio, config, options) {
4856
- const resourceParams = createResourceParams$f(config);
4857
- const request = createResourceRequest$f(resourceParams);
4972
+ function buildNetworkSnapshot$h(luvio, config, options) {
4973
+ const resourceParams = createResourceParams$h(config);
4974
+ const request = createResourceRequest$h(resourceParams);
4858
4975
  return luvio.dispatchResourceRequest(request, options)
4859
4976
  .then((response) => {
4860
4977
  return luvio.handleSuccessResponse(() => {
4861
- const snapshot = ingestSuccess$c(luvio, resourceParams, response);
4978
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response);
4862
4979
  return luvio.storeBroadcast().then(() => snapshot);
4863
4980
  }, () => {
4864
4981
  const cache = new StoreKeyMap();
4865
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
4982
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
4866
4983
  return cache;
4867
4984
  });
4868
4985
  }, (response) => {
@@ -4872,12 +4989,12 @@ function buildNetworkSnapshot$f(luvio, config, options) {
4872
4989
  }
4873
4990
  const postSlackConversationMarkAdapterFactory = (luvio) => {
4874
4991
  return function postSlackConversationMark(untrustedConfig) {
4875
- const config = validateAdapterConfig$f(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
4992
+ const config = validateAdapterConfig$h(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
4876
4993
  // Invalid or incomplete config
4877
4994
  if (config === null) {
4878
4995
  throw new Error('Invalid config for "postSlackConversationMark"');
4879
4996
  }
4880
- return buildNetworkSnapshot$f(luvio, config);
4997
+ return buildNetworkSnapshot$h(luvio, config);
4881
4998
  };
4882
4999
  };
4883
5000
 
@@ -4934,19 +5051,19 @@ function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
4934
5051
  return v_error === undefined ? null : v_error;
4935
5052
  }
4936
5053
  const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
4937
- function keyBuilder$o(luvio, config) {
5054
+ function keyBuilder$s(luvio, config) {
4938
5055
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
4939
5056
  }
4940
5057
  function keyBuilderFromType$3(luvio, object) {
4941
5058
  const keyParams = {
4942
5059
  channelId: object.channelId
4943
5060
  };
4944
- return keyBuilder$o(luvio, keyParams);
5061
+ return keyBuilder$s(luvio, keyParams);
4945
5062
  }
4946
5063
  function normalize$6(input, existing, path, luvio, store, timestamp) {
4947
5064
  return input;
4948
5065
  }
4949
- const select$i = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5066
+ const select$k = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4950
5067
  return {
4951
5068
  kind: 'Fragment',
4952
5069
  version: VERSION$6,
@@ -5013,24 +5130,24 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
5013
5130
  });
5014
5131
  }
5015
5132
 
5016
- function select$h(luvio, params) {
5017
- return select$i();
5133
+ function select$j(luvio, params) {
5134
+ return select$k();
5018
5135
  }
5019
- function keyBuilder$n(luvio, params) {
5020
- return keyBuilder$o(luvio, {
5136
+ function keyBuilder$r(luvio, params) {
5137
+ return keyBuilder$s(luvio, {
5021
5138
  channelId: params.urlParams.channelId
5022
5139
  });
5023
5140
  }
5024
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
5141
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
5025
5142
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
5026
5143
  }
5027
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5144
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
5028
5145
  const { body } = response;
5029
- const key = keyBuilder$n(luvio, resourceParams);
5146
+ const key = keyBuilder$r(luvio, resourceParams);
5030
5147
  luvio.storeIngest(key, ingest$6, body);
5031
5148
  const snapshot = luvio.storeLookup({
5032
5149
  recordId: key,
5033
- node: select$h(),
5150
+ node: select$j(),
5034
5151
  variables: {},
5035
5152
  }, snapshotRefresh);
5036
5153
  if (process.env.NODE_ENV !== 'production') {
@@ -5041,16 +5158,16 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5041
5158
  deepFreeze(snapshot.data);
5042
5159
  return snapshot;
5043
5160
  }
5044
- function ingestError$8(luvio, params, error, snapshotRefresh) {
5045
- const key = keyBuilder$n(luvio, params);
5161
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
5162
+ const key = keyBuilder$r(luvio, params);
5046
5163
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5047
5164
  luvio.storeIngestError(key, errorSnapshot);
5048
5165
  return errorSnapshot;
5049
5166
  }
5050
- function createResourceRequest$e(config) {
5167
+ function createResourceRequest$g(config) {
5051
5168
  const headers = {};
5052
5169
  return {
5053
- baseUri: '/services/data/v64.0',
5170
+ baseUri: '/services/data/v65.0',
5054
5171
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members',
5055
5172
  method: 'get',
5056
5173
  body: null,
@@ -5061,106 +5178,106 @@ function createResourceRequest$e(config) {
5061
5178
  };
5062
5179
  }
5063
5180
 
5064
- const adapterName$e = 'getSlackConversationMembers';
5181
+ const adapterName$g = 'getSlackConversationMembers';
5065
5182
  const getSlackConversationMembers_ConfigPropertyMetadata = [
5066
5183
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5067
5184
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5068
5185
  ];
5069
- const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMembers_ConfigPropertyMetadata);
5070
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$m(getSlackConversationMembers_ConfigPropertyMetadata);
5071
- function keyBuilder$m(luvio, config) {
5072
- const resourceParams = createResourceParams$e(config);
5073
- return keyBuilder$n(luvio, resourceParams);
5186
+ const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMembers_ConfigPropertyMetadata);
5187
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$o(getSlackConversationMembers_ConfigPropertyMetadata);
5188
+ function keyBuilder$q(luvio, config) {
5189
+ const resourceParams = createResourceParams$g(config);
5190
+ return keyBuilder$r(luvio, resourceParams);
5074
5191
  }
5075
- function typeCheckConfig$e(untrustedConfig) {
5192
+ function typeCheckConfig$g(untrustedConfig) {
5076
5193
  const config = {};
5077
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5194
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5078
5195
  return config;
5079
5196
  }
5080
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5197
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
5081
5198
  if (!untrustedIsObject(untrustedConfig)) {
5082
5199
  return null;
5083
5200
  }
5084
5201
  if (process.env.NODE_ENV !== 'production') {
5085
5202
  validateConfig(untrustedConfig, configPropertyNames);
5086
5203
  }
5087
- const config = typeCheckConfig$e(untrustedConfig);
5204
+ const config = typeCheckConfig$g(untrustedConfig);
5088
5205
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5089
5206
  return null;
5090
5207
  }
5091
5208
  return config;
5092
5209
  }
5093
- function adapterFragment$8(luvio, config) {
5094
- createResourceParams$e(config);
5095
- return select$h();
5210
+ function adapterFragment$a(luvio, config) {
5211
+ createResourceParams$g(config);
5212
+ return select$j();
5096
5213
  }
5097
- function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
5098
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
5214
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
5215
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
5099
5216
  config,
5100
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5217
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5101
5218
  });
5102
5219
  return luvio.storeBroadcast().then(() => snapshot);
5103
5220
  }
5104
- function onFetchResponseError$8(luvio, config, resourceParams, response) {
5105
- const snapshot = ingestError$8(luvio, resourceParams, response, {
5221
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
5222
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
5106
5223
  config,
5107
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5224
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5108
5225
  });
5109
5226
  return luvio.storeBroadcast().then(() => snapshot);
5110
5227
  }
5111
- function buildNetworkSnapshot$e(luvio, config, options) {
5112
- const resourceParams = createResourceParams$e(config);
5113
- const request = createResourceRequest$e(resourceParams);
5228
+ function buildNetworkSnapshot$g(luvio, config, options) {
5229
+ const resourceParams = createResourceParams$g(config);
5230
+ const request = createResourceRequest$g(resourceParams);
5114
5231
  return luvio.dispatchResourceRequest(request, options)
5115
5232
  .then((response) => {
5116
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
5233
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
5117
5234
  const cache = new StoreKeyMap();
5118
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
5235
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
5119
5236
  return cache;
5120
5237
  });
5121
5238
  }, (response) => {
5122
- return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
5239
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
5123
5240
  });
5124
5241
  }
5125
- function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5126
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5242
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
5243
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5127
5244
  }
5128
- function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5245
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
5129
5246
  const { luvio, config } = context;
5130
5247
  const selector = {
5131
- recordId: keyBuilder$m(luvio, config),
5132
- node: adapterFragment$8(luvio, config),
5248
+ recordId: keyBuilder$q(luvio, config),
5249
+ node: adapterFragment$a(luvio, config),
5133
5250
  variables: {},
5134
5251
  };
5135
5252
  const cacheSnapshot = storeLookup(selector, {
5136
5253
  config,
5137
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
5254
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
5138
5255
  });
5139
5256
  return cacheSnapshot;
5140
5257
  }
5141
5258
  const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
5142
- const config = validateAdapterConfig$e(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
5259
+ const config = validateAdapterConfig$g(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
5143
5260
  // Invalid or incomplete config
5144
5261
  if (config === null) {
5145
5262
  return null;
5146
5263
  }
5147
5264
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5148
- buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
5265
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
5149
5266
  };
5150
5267
 
5151
- function select$g(luvio, params) {
5152
- return select$i();
5268
+ function select$i(luvio, params) {
5269
+ return select$k();
5153
5270
  }
5154
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5271
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
5155
5272
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
5156
5273
  }
5157
- function ingestSuccess$a(luvio, resourceParams, response) {
5274
+ function ingestSuccess$c(luvio, resourceParams, response) {
5158
5275
  const { body } = response;
5159
5276
  const key = keyBuilderFromType$3(luvio, body);
5160
5277
  luvio.storeIngest(key, ingest$6, body);
5161
5278
  const snapshot = luvio.storeLookup({
5162
5279
  recordId: key,
5163
- node: select$g(),
5280
+ node: select$i(),
5164
5281
  variables: {},
5165
5282
  });
5166
5283
  if (process.env.NODE_ENV !== 'production') {
@@ -5171,10 +5288,10 @@ function ingestSuccess$a(luvio, resourceParams, response) {
5171
5288
  deepFreeze(snapshot.data);
5172
5289
  return snapshot;
5173
5290
  }
5174
- function createResourceRequest$d(config) {
5291
+ function createResourceRequest$f(config) {
5175
5292
  const headers = {};
5176
5293
  return {
5177
- baseUri: '/services/data/v64.0',
5294
+ baseUri: '/services/data/v65.0',
5178
5295
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members',
5179
5296
  method: 'post',
5180
5297
  body: config.body,
@@ -5185,43 +5302,43 @@ function createResourceRequest$d(config) {
5185
5302
  };
5186
5303
  }
5187
5304
 
5188
- const adapterName$d = 'postSlackConversationMembers';
5305
+ const adapterName$f = 'postSlackConversationMembers';
5189
5306
  const postSlackConversationMembers_ConfigPropertyMetadata = [
5190
5307
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5191
5308
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5192
5309
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
5193
5310
  ];
5194
- const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postSlackConversationMembers_ConfigPropertyMetadata);
5195
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$m(postSlackConversationMembers_ConfigPropertyMetadata);
5196
- function typeCheckConfig$d(untrustedConfig) {
5311
+ const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMembers_ConfigPropertyMetadata);
5312
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$o(postSlackConversationMembers_ConfigPropertyMetadata);
5313
+ function typeCheckConfig$f(untrustedConfig) {
5197
5314
  const config = {};
5198
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5315
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5199
5316
  return config;
5200
5317
  }
5201
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5318
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5202
5319
  if (!untrustedIsObject(untrustedConfig)) {
5203
5320
  return null;
5204
5321
  }
5205
5322
  if (process.env.NODE_ENV !== 'production') {
5206
5323
  validateConfig(untrustedConfig, configPropertyNames);
5207
5324
  }
5208
- const config = typeCheckConfig$d(untrustedConfig);
5325
+ const config = typeCheckConfig$f(untrustedConfig);
5209
5326
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5210
5327
  return null;
5211
5328
  }
5212
5329
  return config;
5213
5330
  }
5214
- function buildNetworkSnapshot$d(luvio, config, options) {
5215
- const resourceParams = createResourceParams$d(config);
5216
- const request = createResourceRequest$d(resourceParams);
5331
+ function buildNetworkSnapshot$f(luvio, config, options) {
5332
+ const resourceParams = createResourceParams$f(config);
5333
+ const request = createResourceRequest$f(resourceParams);
5217
5334
  return luvio.dispatchResourceRequest(request, options)
5218
5335
  .then((response) => {
5219
5336
  return luvio.handleSuccessResponse(() => {
5220
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
5337
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
5221
5338
  return luvio.storeBroadcast().then(() => snapshot);
5222
5339
  }, () => {
5223
5340
  const cache = new StoreKeyMap();
5224
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
5341
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
5225
5342
  return cache;
5226
5343
  });
5227
5344
  }, (response) => {
@@ -5231,12 +5348,12 @@ function buildNetworkSnapshot$d(luvio, config, options) {
5231
5348
  }
5232
5349
  const postSlackConversationMembersAdapterFactory = (luvio) => {
5233
5350
  return function postSlackConversationMembers(untrustedConfig) {
5234
- const config = validateAdapterConfig$d(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
5351
+ const config = validateAdapterConfig$f(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
5235
5352
  // Invalid or incomplete config
5236
5353
  if (config === null) {
5237
5354
  throw new Error('Invalid config for "postSlackConversationMembers"');
5238
5355
  }
5239
- return buildNetworkSnapshot$d(luvio, config);
5356
+ return buildNetworkSnapshot$f(luvio, config);
5240
5357
  };
5241
5358
  };
5242
5359
 
@@ -5260,19 +5377,19 @@ function validate$5(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
5260
5377
  return v_error === undefined ? null : v_error;
5261
5378
  }
5262
5379
  const RepresentationType$5 = 'SlackBridgeConversationMemberOutputRepresentation';
5263
- function keyBuilder$l(luvio, config) {
5380
+ function keyBuilder$p(luvio, config) {
5264
5381
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.channelId;
5265
5382
  }
5266
5383
  function keyBuilderFromType$2(luvio, object) {
5267
5384
  const keyParams = {
5268
5385
  channelId: object.channelId
5269
5386
  };
5270
- return keyBuilder$l(luvio, keyParams);
5387
+ return keyBuilder$p(luvio, keyParams);
5271
5388
  }
5272
5389
  function normalize$5(input, existing, path, luvio, store, timestamp) {
5273
5390
  return input;
5274
5391
  }
5275
- const select$f = function SlackBridgeConversationMemberOutputRepresentationSelect() {
5392
+ const select$h = function SlackBridgeConversationMemberOutputRepresentationSelect() {
5276
5393
  return {
5277
5394
  kind: 'Fragment',
5278
5395
  version: VERSION$5,
@@ -5324,13 +5441,13 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5324
5441
  });
5325
5442
  }
5326
5443
 
5327
- function keyBuilder$k(luvio, params) {
5328
- return keyBuilder$l(luvio, {
5444
+ function keyBuilder$o(luvio, params) {
5445
+ return keyBuilder$p(luvio, {
5329
5446
  channelId: params.urlParams.channelId
5330
5447
  });
5331
5448
  }
5332
- function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5333
- const key = keyBuilder$k(luvio, resourceParams);
5449
+ function getResponseCacheKeys$e(cacheKeyMap, luvio, resourceParams) {
5450
+ const key = keyBuilder$o(luvio, resourceParams);
5334
5451
  cacheKeyMap.set(key, {
5335
5452
  namespace: keyPrefix,
5336
5453
  representationName: RepresentationType$5,
@@ -5338,13 +5455,13 @@ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5338
5455
  });
5339
5456
  }
5340
5457
  function evictSuccess$2(luvio, resourceParams) {
5341
- const key = keyBuilder$k(luvio, resourceParams);
5458
+ const key = keyBuilder$o(luvio, resourceParams);
5342
5459
  luvio.storeEvict(key);
5343
5460
  }
5344
- function createResourceRequest$c(config) {
5461
+ function createResourceRequest$e(config) {
5345
5462
  const headers = {};
5346
5463
  return {
5347
- baseUri: '/services/data/v64.0',
5464
+ baseUri: '/services/data/v65.0',
5348
5465
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members/' + config.urlParams.slackUserId + '',
5349
5466
  method: 'delete',
5350
5467
  body: null,
@@ -5355,35 +5472,35 @@ function createResourceRequest$c(config) {
5355
5472
  };
5356
5473
  }
5357
5474
 
5358
- const adapterName$c = 'deleteSlackConversationMember';
5475
+ const adapterName$e = 'deleteSlackConversationMember';
5359
5476
  const deleteSlackConversationMember_ConfigPropertyMetadata = [
5360
5477
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5361
5478
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5362
5479
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5363
5480
  ];
5364
- const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackConversationMember_ConfigPropertyMetadata);
5365
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$m(deleteSlackConversationMember_ConfigPropertyMetadata);
5366
- function typeCheckConfig$c(untrustedConfig) {
5481
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, deleteSlackConversationMember_ConfigPropertyMetadata);
5482
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$o(deleteSlackConversationMember_ConfigPropertyMetadata);
5483
+ function typeCheckConfig$e(untrustedConfig) {
5367
5484
  const config = {};
5368
- typeCheckConfig$m(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5485
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5369
5486
  return config;
5370
5487
  }
5371
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5488
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5372
5489
  if (!untrustedIsObject(untrustedConfig)) {
5373
5490
  return null;
5374
5491
  }
5375
5492
  if (process.env.NODE_ENV !== 'production') {
5376
5493
  validateConfig(untrustedConfig, configPropertyNames);
5377
5494
  }
5378
- const config = typeCheckConfig$c(untrustedConfig);
5495
+ const config = typeCheckConfig$e(untrustedConfig);
5379
5496
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5380
5497
  return null;
5381
5498
  }
5382
5499
  return config;
5383
5500
  }
5384
- function buildNetworkSnapshot$c(luvio, config, options) {
5385
- const resourceParams = createResourceParams$c(config);
5386
- const request = createResourceRequest$c(resourceParams);
5501
+ function buildNetworkSnapshot$e(luvio, config, options) {
5502
+ const resourceParams = createResourceParams$e(config);
5503
+ const request = createResourceRequest$e(resourceParams);
5387
5504
  return luvio.dispatchResourceRequest(request, options)
5388
5505
  .then(() => {
5389
5506
  return luvio.handleSuccessResponse(() => {
@@ -5391,7 +5508,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5391
5508
  return luvio.storeBroadcast();
5392
5509
  }, () => {
5393
5510
  const cache = new StoreKeyMap();
5394
- getResponseCacheKeys$c(cache, luvio, resourceParams);
5511
+ getResponseCacheKeys$e(cache, luvio, resourceParams);
5395
5512
  return cache;
5396
5513
  });
5397
5514
  }, (response) => {
@@ -5401,33 +5518,33 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5401
5518
  }
5402
5519
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
5403
5520
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
5404
- const config = validateAdapterConfig$c(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
5521
+ const config = validateAdapterConfig$e(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
5405
5522
  // Invalid or incomplete config
5406
5523
  if (config === null) {
5407
- throw new Error(`Invalid config for "${adapterName$c}"`);
5524
+ throw new Error(`Invalid config for "${adapterName$e}"`);
5408
5525
  }
5409
- return buildNetworkSnapshot$c(luvio, config);
5526
+ return buildNetworkSnapshot$e(luvio, config);
5410
5527
  };
5411
5528
  };
5412
5529
 
5413
- function select$e(luvio, params) {
5414
- return select$f();
5530
+ function select$g(luvio, params) {
5531
+ return select$h();
5415
5532
  }
5416
- function keyBuilder$j(luvio, params) {
5417
- return keyBuilder$l(luvio, {
5533
+ function keyBuilder$n(luvio, params) {
5534
+ return keyBuilder$p(luvio, {
5418
5535
  channelId: params.urlParams.channelId
5419
5536
  });
5420
5537
  }
5421
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
5538
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5422
5539
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
5423
5540
  }
5424
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5541
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5425
5542
  const { body } = response;
5426
- const key = keyBuilder$j(luvio, resourceParams);
5543
+ const key = keyBuilder$n(luvio, resourceParams);
5427
5544
  luvio.storeIngest(key, ingest$5, body);
5428
5545
  const snapshot = luvio.storeLookup({
5429
5546
  recordId: key,
5430
- node: select$e(),
5547
+ node: select$g(),
5431
5548
  variables: {},
5432
5549
  }, snapshotRefresh);
5433
5550
  if (process.env.NODE_ENV !== 'production') {
@@ -5438,16 +5555,16 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5438
5555
  deepFreeze(snapshot.data);
5439
5556
  return snapshot;
5440
5557
  }
5441
- function ingestError$7(luvio, params, error, snapshotRefresh) {
5442
- const key = keyBuilder$j(luvio, params);
5558
+ function ingestError$9(luvio, params, error, snapshotRefresh) {
5559
+ const key = keyBuilder$n(luvio, params);
5443
5560
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5444
5561
  luvio.storeIngestError(key, errorSnapshot);
5445
5562
  return errorSnapshot;
5446
5563
  }
5447
- function createResourceRequest$b(config) {
5564
+ function createResourceRequest$d(config) {
5448
5565
  const headers = {};
5449
5566
  return {
5450
- baseUri: '/services/data/v64.0',
5567
+ baseUri: '/services/data/v65.0',
5451
5568
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members/' + config.urlParams.slackUserId + '',
5452
5569
  method: 'get',
5453
5570
  body: null,
@@ -5458,92 +5575,92 @@ function createResourceRequest$b(config) {
5458
5575
  };
5459
5576
  }
5460
5577
 
5461
- const adapterName$b = 'getSlackConversationMember';
5578
+ const adapterName$d = 'getSlackConversationMember';
5462
5579
  const getSlackConversationMember_ConfigPropertyMetadata = [
5463
5580
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5464
5581
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5465
5582
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5466
5583
  ];
5467
- const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackConversationMember_ConfigPropertyMetadata);
5468
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$m(getSlackConversationMember_ConfigPropertyMetadata);
5469
- function keyBuilder$i(luvio, config) {
5470
- const resourceParams = createResourceParams$b(config);
5471
- return keyBuilder$j(luvio, resourceParams);
5584
+ const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackConversationMember_ConfigPropertyMetadata);
5585
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$o(getSlackConversationMember_ConfigPropertyMetadata);
5586
+ function keyBuilder$m(luvio, config) {
5587
+ const resourceParams = createResourceParams$d(config);
5588
+ return keyBuilder$n(luvio, resourceParams);
5472
5589
  }
5473
- function typeCheckConfig$b(untrustedConfig) {
5590
+ function typeCheckConfig$d(untrustedConfig) {
5474
5591
  const config = {};
5475
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5592
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5476
5593
  return config;
5477
5594
  }
5478
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
5595
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5479
5596
  if (!untrustedIsObject(untrustedConfig)) {
5480
5597
  return null;
5481
5598
  }
5482
5599
  if (process.env.NODE_ENV !== 'production') {
5483
5600
  validateConfig(untrustedConfig, configPropertyNames);
5484
5601
  }
5485
- const config = typeCheckConfig$b(untrustedConfig);
5602
+ const config = typeCheckConfig$d(untrustedConfig);
5486
5603
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5487
5604
  return null;
5488
5605
  }
5489
5606
  return config;
5490
5607
  }
5491
- function adapterFragment$7(luvio, config) {
5492
- createResourceParams$b(config);
5493
- return select$e();
5608
+ function adapterFragment$9(luvio, config) {
5609
+ createResourceParams$d(config);
5610
+ return select$g();
5494
5611
  }
5495
- function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
5496
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
5612
+ function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
5613
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
5497
5614
  config,
5498
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5615
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5499
5616
  });
5500
5617
  return luvio.storeBroadcast().then(() => snapshot);
5501
5618
  }
5502
- function onFetchResponseError$7(luvio, config, resourceParams, response) {
5503
- const snapshot = ingestError$7(luvio, resourceParams, response, {
5619
+ function onFetchResponseError$9(luvio, config, resourceParams, response) {
5620
+ const snapshot = ingestError$9(luvio, resourceParams, response, {
5504
5621
  config,
5505
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5622
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5506
5623
  });
5507
5624
  return luvio.storeBroadcast().then(() => snapshot);
5508
5625
  }
5509
- function buildNetworkSnapshot$b(luvio, config, options) {
5510
- const resourceParams = createResourceParams$b(config);
5511
- const request = createResourceRequest$b(resourceParams);
5626
+ function buildNetworkSnapshot$d(luvio, config, options) {
5627
+ const resourceParams = createResourceParams$d(config);
5628
+ const request = createResourceRequest$d(resourceParams);
5512
5629
  return luvio.dispatchResourceRequest(request, options)
5513
5630
  .then((response) => {
5514
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
5631
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
5515
5632
  const cache = new StoreKeyMap();
5516
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
5633
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
5517
5634
  return cache;
5518
5635
  });
5519
5636
  }, (response) => {
5520
- return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
5637
+ return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
5521
5638
  });
5522
5639
  }
5523
- function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5524
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5640
+ function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
5641
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5525
5642
  }
5526
- function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5643
+ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
5527
5644
  const { luvio, config } = context;
5528
5645
  const selector = {
5529
- recordId: keyBuilder$i(luvio, config),
5530
- node: adapterFragment$7(luvio, config),
5646
+ recordId: keyBuilder$m(luvio, config),
5647
+ node: adapterFragment$9(luvio, config),
5531
5648
  variables: {},
5532
5649
  };
5533
5650
  const cacheSnapshot = storeLookup(selector, {
5534
5651
  config,
5535
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5652
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
5536
5653
  });
5537
5654
  return cacheSnapshot;
5538
5655
  }
5539
5656
  const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
5540
- const config = validateAdapterConfig$b(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
5657
+ const config = validateAdapterConfig$d(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
5541
5658
  // Invalid or incomplete config
5542
5659
  if (config === null) {
5543
5660
  return null;
5544
5661
  }
5545
5662
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5546
- buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
5663
+ buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
5547
5664
  };
5548
5665
 
5549
5666
  const VERSION$4 = "605674abcbc0dad7e2707e4e00e8d4cd";
@@ -5571,19 +5688,19 @@ function validate$4(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
5571
5688
  return v_error === undefined ? null : v_error;
5572
5689
  }
5573
5690
  const RepresentationType$4 = 'SlackBridgeMessageFragmentOutputRepresentation';
5574
- function keyBuilder$h(luvio, config) {
5691
+ function keyBuilder$l(luvio, config) {
5575
5692
  return keyPrefix + '::' + RepresentationType$4 + ':' + config.channelId;
5576
5693
  }
5577
5694
  function keyBuilderFromType$1(luvio, object) {
5578
5695
  const keyParams = {
5579
5696
  channelId: object.channelId
5580
5697
  };
5581
- return keyBuilder$h(luvio, keyParams);
5698
+ return keyBuilder$l(luvio, keyParams);
5582
5699
  }
5583
5700
  function normalize$4(input, existing, path, luvio, store, timestamp) {
5584
5701
  return input;
5585
5702
  }
5586
- const select$d = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
5703
+ const select$f = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
5587
5704
  return {
5588
5705
  kind: 'Fragment',
5589
5706
  version: VERSION$4,
@@ -5644,13 +5761,13 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5644
5761
  });
5645
5762
  }
5646
5763
 
5647
- function keyBuilder$g(luvio, params) {
5648
- return keyBuilder$h(luvio, {
5764
+ function keyBuilder$k(luvio, params) {
5765
+ return keyBuilder$l(luvio, {
5649
5766
  channelId: params.urlParams.channelId
5650
5767
  });
5651
5768
  }
5652
- function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
5653
- const key = keyBuilder$g(luvio, resourceParams);
5769
+ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
5770
+ const key = keyBuilder$k(luvio, resourceParams);
5654
5771
  cacheKeyMap.set(key, {
5655
5772
  namespace: keyPrefix,
5656
5773
  representationName: RepresentationType$4,
@@ -5658,13 +5775,13 @@ function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
5658
5775
  });
5659
5776
  }
5660
5777
  function evictSuccess$1(luvio, resourceParams) {
5661
- const key = keyBuilder$g(luvio, resourceParams);
5778
+ const key = keyBuilder$k(luvio, resourceParams);
5662
5779
  luvio.storeEvict(key);
5663
5780
  }
5664
- function createResourceRequest$a(config) {
5781
+ function createResourceRequest$c(config) {
5665
5782
  const headers = {};
5666
5783
  return {
5667
- baseUri: '/services/data/v64.0',
5784
+ baseUri: '/services/data/v65.0',
5668
5785
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '',
5669
5786
  method: 'delete',
5670
5787
  body: null,
@@ -5675,35 +5792,35 @@ function createResourceRequest$a(config) {
5675
5792
  };
5676
5793
  }
5677
5794
 
5678
- const adapterName$a = 'deleteSlackMessage';
5795
+ const adapterName$c = 'deleteSlackMessage';
5679
5796
  const deleteSlackMessage_ConfigPropertyMetadata = [
5680
5797
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5681
5798
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5682
5799
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5683
5800
  ];
5684
- const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSlackMessage_ConfigPropertyMetadata);
5685
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$m(deleteSlackMessage_ConfigPropertyMetadata);
5686
- function typeCheckConfig$a(untrustedConfig) {
5801
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackMessage_ConfigPropertyMetadata);
5802
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$o(deleteSlackMessage_ConfigPropertyMetadata);
5803
+ function typeCheckConfig$c(untrustedConfig) {
5687
5804
  const config = {};
5688
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5805
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5689
5806
  return config;
5690
5807
  }
5691
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
5808
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5692
5809
  if (!untrustedIsObject(untrustedConfig)) {
5693
5810
  return null;
5694
5811
  }
5695
5812
  if (process.env.NODE_ENV !== 'production') {
5696
5813
  validateConfig(untrustedConfig, configPropertyNames);
5697
5814
  }
5698
- const config = typeCheckConfig$a(untrustedConfig);
5815
+ const config = typeCheckConfig$c(untrustedConfig);
5699
5816
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5700
5817
  return null;
5701
5818
  }
5702
5819
  return config;
5703
5820
  }
5704
- function buildNetworkSnapshot$a(luvio, config, options) {
5705
- const resourceParams = createResourceParams$a(config);
5706
- const request = createResourceRequest$a(resourceParams);
5821
+ function buildNetworkSnapshot$c(luvio, config, options) {
5822
+ const resourceParams = createResourceParams$c(config);
5823
+ const request = createResourceRequest$c(resourceParams);
5707
5824
  return luvio.dispatchResourceRequest(request, options)
5708
5825
  .then(() => {
5709
5826
  return luvio.handleSuccessResponse(() => {
@@ -5711,7 +5828,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
5711
5828
  return luvio.storeBroadcast();
5712
5829
  }, () => {
5713
5830
  const cache = new StoreKeyMap();
5714
- getResponseCacheKeys$a(cache, luvio, resourceParams);
5831
+ getResponseCacheKeys$c(cache, luvio, resourceParams);
5715
5832
  return cache;
5716
5833
  });
5717
5834
  }, (response) => {
@@ -5721,33 +5838,33 @@ function buildNetworkSnapshot$a(luvio, config, options) {
5721
5838
  }
5722
5839
  const deleteSlackMessageAdapterFactory = (luvio) => {
5723
5840
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
5724
- const config = validateAdapterConfig$a(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
5841
+ const config = validateAdapterConfig$c(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
5725
5842
  // Invalid or incomplete config
5726
5843
  if (config === null) {
5727
- throw new Error(`Invalid config for "${adapterName$a}"`);
5844
+ throw new Error(`Invalid config for "${adapterName$c}"`);
5728
5845
  }
5729
- return buildNetworkSnapshot$a(luvio, config);
5846
+ return buildNetworkSnapshot$c(luvio, config);
5730
5847
  };
5731
5848
  };
5732
5849
 
5733
- function select$c(luvio, params) {
5734
- return select$d();
5850
+ function select$e(luvio, params) {
5851
+ return select$f();
5735
5852
  }
5736
- function keyBuilder$f(luvio, params) {
5737
- return keyBuilder$h(luvio, {
5853
+ function keyBuilder$j(luvio, params) {
5854
+ return keyBuilder$l(luvio, {
5738
5855
  channelId: params.urlParams.channelId
5739
5856
  });
5740
5857
  }
5741
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
5858
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
5742
5859
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
5743
5860
  }
5744
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5861
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
5745
5862
  const { body } = response;
5746
- const key = keyBuilder$f(luvio, resourceParams);
5863
+ const key = keyBuilder$j(luvio, resourceParams);
5747
5864
  luvio.storeIngest(key, ingest$4, body);
5748
5865
  const snapshot = luvio.storeLookup({
5749
5866
  recordId: key,
5750
- node: select$c(),
5867
+ node: select$e(),
5751
5868
  variables: {},
5752
5869
  }, snapshotRefresh);
5753
5870
  if (process.env.NODE_ENV !== 'production') {
@@ -5758,16 +5875,16 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5758
5875
  deepFreeze(snapshot.data);
5759
5876
  return snapshot;
5760
5877
  }
5761
- function ingestError$6(luvio, params, error, snapshotRefresh) {
5762
- const key = keyBuilder$f(luvio, params);
5878
+ function ingestError$8(luvio, params, error, snapshotRefresh) {
5879
+ const key = keyBuilder$j(luvio, params);
5763
5880
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5764
5881
  luvio.storeIngestError(key, errorSnapshot);
5765
5882
  return errorSnapshot;
5766
5883
  }
5767
- function createResourceRequest$9(config) {
5884
+ function createResourceRequest$b(config) {
5768
5885
  const headers = {};
5769
5886
  return {
5770
- baseUri: '/services/data/v64.0',
5887
+ baseUri: '/services/data/v65.0',
5771
5888
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '',
5772
5889
  method: 'get',
5773
5890
  body: null,
@@ -5778,107 +5895,107 @@ function createResourceRequest$9(config) {
5778
5895
  };
5779
5896
  }
5780
5897
 
5781
- const adapterName$9 = 'getSlackMessage';
5898
+ const adapterName$b = 'getSlackMessage';
5782
5899
  const getSlackMessage_ConfigPropertyMetadata = [
5783
5900
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5784
5901
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5785
5902
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5786
5903
  ];
5787
- const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackMessage_ConfigPropertyMetadata);
5788
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$m(getSlackMessage_ConfigPropertyMetadata);
5789
- function keyBuilder$e(luvio, config) {
5790
- const resourceParams = createResourceParams$9(config);
5791
- return keyBuilder$f(luvio, resourceParams);
5904
+ const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackMessage_ConfigPropertyMetadata);
5905
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$o(getSlackMessage_ConfigPropertyMetadata);
5906
+ function keyBuilder$i(luvio, config) {
5907
+ const resourceParams = createResourceParams$b(config);
5908
+ return keyBuilder$j(luvio, resourceParams);
5792
5909
  }
5793
- function typeCheckConfig$9(untrustedConfig) {
5910
+ function typeCheckConfig$b(untrustedConfig) {
5794
5911
  const config = {};
5795
- typeCheckConfig$m(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5912
+ typeCheckConfig$o(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5796
5913
  return config;
5797
5914
  }
5798
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
5915
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
5799
5916
  if (!untrustedIsObject(untrustedConfig)) {
5800
5917
  return null;
5801
5918
  }
5802
5919
  if (process.env.NODE_ENV !== 'production') {
5803
5920
  validateConfig(untrustedConfig, configPropertyNames);
5804
5921
  }
5805
- const config = typeCheckConfig$9(untrustedConfig);
5922
+ const config = typeCheckConfig$b(untrustedConfig);
5806
5923
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5807
5924
  return null;
5808
5925
  }
5809
5926
  return config;
5810
5927
  }
5811
- function adapterFragment$6(luvio, config) {
5812
- createResourceParams$9(config);
5813
- return select$c();
5928
+ function adapterFragment$8(luvio, config) {
5929
+ createResourceParams$b(config);
5930
+ return select$e();
5814
5931
  }
5815
- function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
5816
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
5932
+ function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
5933
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
5817
5934
  config,
5818
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5935
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5819
5936
  });
5820
5937
  return luvio.storeBroadcast().then(() => snapshot);
5821
5938
  }
5822
- function onFetchResponseError$6(luvio, config, resourceParams, response) {
5823
- const snapshot = ingestError$6(luvio, resourceParams, response, {
5939
+ function onFetchResponseError$8(luvio, config, resourceParams, response) {
5940
+ const snapshot = ingestError$8(luvio, resourceParams, response, {
5824
5941
  config,
5825
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5942
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5826
5943
  });
5827
5944
  return luvio.storeBroadcast().then(() => snapshot);
5828
5945
  }
5829
- function buildNetworkSnapshot$9(luvio, config, options) {
5830
- const resourceParams = createResourceParams$9(config);
5831
- const request = createResourceRequest$9(resourceParams);
5946
+ function buildNetworkSnapshot$b(luvio, config, options) {
5947
+ const resourceParams = createResourceParams$b(config);
5948
+ const request = createResourceRequest$b(resourceParams);
5832
5949
  return luvio.dispatchResourceRequest(request, options)
5833
5950
  .then((response) => {
5834
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
5951
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
5835
5952
  const cache = new StoreKeyMap();
5836
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
5953
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
5837
5954
  return cache;
5838
5955
  });
5839
5956
  }, (response) => {
5840
- return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
5957
+ return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
5841
5958
  });
5842
5959
  }
5843
- function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5844
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
5960
+ function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5961
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5845
5962
  }
5846
- function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5963
+ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5847
5964
  const { luvio, config } = context;
5848
5965
  const selector = {
5849
- recordId: keyBuilder$e(luvio, config),
5850
- node: adapterFragment$6(luvio, config),
5966
+ recordId: keyBuilder$i(luvio, config),
5967
+ node: adapterFragment$8(luvio, config),
5851
5968
  variables: {},
5852
5969
  };
5853
5970
  const cacheSnapshot = storeLookup(selector, {
5854
5971
  config,
5855
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5972
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5856
5973
  });
5857
5974
  return cacheSnapshot;
5858
5975
  }
5859
5976
  const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackMessage(untrustedConfig, requestContext) {
5860
- const config = validateAdapterConfig$9(untrustedConfig, getSlackMessage_ConfigPropertyNames);
5977
+ const config = validateAdapterConfig$b(untrustedConfig, getSlackMessage_ConfigPropertyNames);
5861
5978
  // Invalid or incomplete config
5862
5979
  if (config === null) {
5863
5980
  return null;
5864
5981
  }
5865
5982
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5866
- buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
5983
+ buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
5867
5984
  };
5868
5985
 
5869
- function select$b(luvio, params) {
5870
- return select$d();
5986
+ function select$d(luvio, params) {
5987
+ return select$f();
5871
5988
  }
5872
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
5989
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
5873
5990
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
5874
5991
  }
5875
- function ingestSuccess$7(luvio, resourceParams, response) {
5992
+ function ingestSuccess$9(luvio, resourceParams, response) {
5876
5993
  const { body } = response;
5877
5994
  const key = keyBuilderFromType$1(luvio, body);
5878
5995
  luvio.storeIngest(key, ingest$4, body);
5879
5996
  const snapshot = luvio.storeLookup({
5880
5997
  recordId: key,
5881
- node: select$b(),
5998
+ node: select$d(),
5882
5999
  variables: {},
5883
6000
  });
5884
6001
  if (process.env.NODE_ENV !== 'production') {
@@ -5889,10 +6006,10 @@ function ingestSuccess$7(luvio, resourceParams, response) {
5889
6006
  deepFreeze(snapshot.data);
5890
6007
  return snapshot;
5891
6008
  }
5892
- function createResourceRequest$8(config) {
6009
+ function createResourceRequest$a(config) {
5893
6010
  const headers = {};
5894
6011
  return {
5895
- baseUri: '/services/data/v64.0',
6012
+ baseUri: '/services/data/v65.0',
5896
6013
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '',
5897
6014
  method: 'patch',
5898
6015
  body: config.body,
@@ -5903,44 +6020,44 @@ function createResourceRequest$8(config) {
5903
6020
  };
5904
6021
  }
5905
6022
 
5906
- const adapterName$8 = 'patchSlackMessage';
6023
+ const adapterName$a = 'patchSlackMessage';
5907
6024
  const patchSlackMessage_ConfigPropertyMetadata = [
5908
6025
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5909
6026
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5910
6027
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5911
6028
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
5912
6029
  ];
5913
- const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchSlackMessage_ConfigPropertyMetadata);
5914
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$m(patchSlackMessage_ConfigPropertyMetadata);
5915
- function typeCheckConfig$8(untrustedConfig) {
6030
+ const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, patchSlackMessage_ConfigPropertyMetadata);
6031
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$o(patchSlackMessage_ConfigPropertyMetadata);
6032
+ function typeCheckConfig$a(untrustedConfig) {
5916
6033
  const config = {};
5917
- typeCheckConfig$m(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6034
+ typeCheckConfig$o(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5918
6035
  return config;
5919
6036
  }
5920
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
6037
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
5921
6038
  if (!untrustedIsObject(untrustedConfig)) {
5922
6039
  return null;
5923
6040
  }
5924
6041
  if (process.env.NODE_ENV !== 'production') {
5925
6042
  validateConfig(untrustedConfig, configPropertyNames);
5926
6043
  }
5927
- const config = typeCheckConfig$8(untrustedConfig);
6044
+ const config = typeCheckConfig$a(untrustedConfig);
5928
6045
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5929
6046
  return null;
5930
6047
  }
5931
6048
  return config;
5932
6049
  }
5933
- function buildNetworkSnapshot$8(luvio, config, options) {
5934
- const resourceParams = createResourceParams$8(config);
5935
- const request = createResourceRequest$8(resourceParams);
6050
+ function buildNetworkSnapshot$a(luvio, config, options) {
6051
+ const resourceParams = createResourceParams$a(config);
6052
+ const request = createResourceRequest$a(resourceParams);
5936
6053
  return luvio.dispatchResourceRequest(request, options)
5937
6054
  .then((response) => {
5938
6055
  return luvio.handleSuccessResponse(() => {
5939
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
6056
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
5940
6057
  return luvio.storeBroadcast().then(() => snapshot);
5941
6058
  }, () => {
5942
6059
  const cache = new StoreKeyMap();
5943
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
6060
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
5944
6061
  return cache;
5945
6062
  });
5946
6063
  }, (response) => {
@@ -5950,12 +6067,12 @@ function buildNetworkSnapshot$8(luvio, config, options) {
5950
6067
  }
5951
6068
  const patchSlackMessageAdapterFactory = (luvio) => {
5952
6069
  return function patchSlackMessage(untrustedConfig) {
5953
- const config = validateAdapterConfig$8(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
6070
+ const config = validateAdapterConfig$a(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
5954
6071
  // Invalid or incomplete config
5955
6072
  if (config === null) {
5956
6073
  throw new Error('Invalid config for "patchSlackMessage"');
5957
6074
  }
5958
- return buildNetworkSnapshot$8(luvio, config);
6075
+ return buildNetworkSnapshot$a(luvio, config);
5959
6076
  };
5960
6077
  };
5961
6078
 
@@ -5999,20 +6116,20 @@ function validate$3(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
5999
6116
  return v_error === undefined ? null : v_error;
6000
6117
  }
6001
6118
  const RepresentationType$3 = 'SlackBridgeReactionsOutputRepresentation';
6002
- function keyBuilder$d(luvio, config) {
6119
+ function keyBuilder$h(luvio, config) {
6003
6120
  return keyPrefix + '::' + RepresentationType$3 + ':' + config.channelId;
6004
6121
  }
6005
6122
  function keyBuilderFromType(luvio, object) {
6006
6123
  const keyParams = {
6007
6124
  channelId: object.channelId
6008
6125
  };
6009
- return keyBuilder$d(luvio, keyParams);
6126
+ return keyBuilder$h(luvio, keyParams);
6010
6127
  }
6011
6128
  function normalize$3(input, existing, path, luvio, store, timestamp) {
6012
6129
  return input;
6013
6130
  }
6014
- const select$a = function SlackBridgeReactionsOutputRepresentationSelect() {
6015
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
6131
+ const select$c = function SlackBridgeReactionsOutputRepresentationSelect() {
6132
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$D();
6016
6133
  return {
6017
6134
  kind: 'Fragment',
6018
6135
  version: VERSION$3,
@@ -6089,13 +6206,13 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6089
6206
  });
6090
6207
  }
6091
6208
 
6092
- function keyBuilder$c(luvio, params) {
6093
- return keyBuilder$d(luvio, {
6209
+ function keyBuilder$g(luvio, params) {
6210
+ return keyBuilder$h(luvio, {
6094
6211
  channelId: params.urlParams.channelId
6095
6212
  });
6096
6213
  }
6097
- function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
6098
- const key = keyBuilder$c(luvio, resourceParams);
6214
+ function getResponseCacheKeys$9(cacheKeyMap, luvio, resourceParams) {
6215
+ const key = keyBuilder$g(luvio, resourceParams);
6099
6216
  cacheKeyMap.set(key, {
6100
6217
  namespace: keyPrefix,
6101
6218
  representationName: RepresentationType$3,
@@ -6103,13 +6220,13 @@ function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
6103
6220
  });
6104
6221
  }
6105
6222
  function evictSuccess(luvio, resourceParams) {
6106
- const key = keyBuilder$c(luvio, resourceParams);
6223
+ const key = keyBuilder$g(luvio, resourceParams);
6107
6224
  luvio.storeEvict(key);
6108
6225
  }
6109
- function createResourceRequest$7(config) {
6226
+ function createResourceRequest$9(config) {
6110
6227
  const headers = {};
6111
6228
  return {
6112
- baseUri: '/services/data/v64.0',
6229
+ baseUri: '/services/data/v65.0',
6113
6230
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
6114
6231
  method: 'delete',
6115
6232
  body: null,
@@ -6120,36 +6237,36 @@ function createResourceRequest$7(config) {
6120
6237
  };
6121
6238
  }
6122
6239
 
6123
- const adapterName$7 = 'deleteSlackMessageReactions';
6240
+ const adapterName$9 = 'deleteSlackMessageReactions';
6124
6241
  const deleteSlackMessageReactions_ConfigPropertyMetadata = [
6125
6242
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6126
6243
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6127
6244
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6128
6245
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6129
6246
  ];
6130
- const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteSlackMessageReactions_ConfigPropertyMetadata);
6131
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$m(deleteSlackMessageReactions_ConfigPropertyMetadata);
6132
- function typeCheckConfig$7(untrustedConfig) {
6247
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, deleteSlackMessageReactions_ConfigPropertyMetadata);
6248
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$o(deleteSlackMessageReactions_ConfigPropertyMetadata);
6249
+ function typeCheckConfig$9(untrustedConfig) {
6133
6250
  const config = {};
6134
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6251
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6135
6252
  return config;
6136
6253
  }
6137
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
6254
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
6138
6255
  if (!untrustedIsObject(untrustedConfig)) {
6139
6256
  return null;
6140
6257
  }
6141
6258
  if (process.env.NODE_ENV !== 'production') {
6142
6259
  validateConfig(untrustedConfig, configPropertyNames);
6143
6260
  }
6144
- const config = typeCheckConfig$7(untrustedConfig);
6261
+ const config = typeCheckConfig$9(untrustedConfig);
6145
6262
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6146
6263
  return null;
6147
6264
  }
6148
6265
  return config;
6149
6266
  }
6150
- function buildNetworkSnapshot$7(luvio, config, options) {
6151
- const resourceParams = createResourceParams$7(config);
6152
- const request = createResourceRequest$7(resourceParams);
6267
+ function buildNetworkSnapshot$9(luvio, config, options) {
6268
+ const resourceParams = createResourceParams$9(config);
6269
+ const request = createResourceRequest$9(resourceParams);
6153
6270
  return luvio.dispatchResourceRequest(request, options)
6154
6271
  .then(() => {
6155
6272
  return luvio.handleSuccessResponse(() => {
@@ -6157,7 +6274,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6157
6274
  return luvio.storeBroadcast();
6158
6275
  }, () => {
6159
6276
  const cache = new StoreKeyMap();
6160
- getResponseCacheKeys$7(cache, luvio, resourceParams);
6277
+ getResponseCacheKeys$9(cache, luvio, resourceParams);
6161
6278
  return cache;
6162
6279
  });
6163
6280
  }, (response) => {
@@ -6167,30 +6284,391 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6167
6284
  }
6168
6285
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
6169
6286
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
6170
- const config = validateAdapterConfig$7(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
6287
+ const config = validateAdapterConfig$9(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
6171
6288
  // Invalid or incomplete config
6172
6289
  if (config === null) {
6173
- throw new Error(`Invalid config for "${adapterName$7}"`);
6290
+ throw new Error(`Invalid config for "${adapterName$9}"`);
6174
6291
  }
6175
- return buildNetworkSnapshot$7(luvio, config);
6292
+ return buildNetworkSnapshot$9(luvio, config);
6176
6293
  };
6177
6294
  };
6178
6295
 
6179
- function select$9(luvio, params) {
6180
- return select$a();
6296
+ function select$b(luvio, params) {
6297
+ return select$c();
6298
+ }
6299
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
6300
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
6301
+ }
6302
+ function ingestSuccess$8(luvio, resourceParams, response) {
6303
+ const { body } = response;
6304
+ const key = keyBuilderFromType(luvio, body);
6305
+ luvio.storeIngest(key, ingest$3, body);
6306
+ const snapshot = luvio.storeLookup({
6307
+ recordId: key,
6308
+ node: select$b(),
6309
+ variables: {},
6310
+ });
6311
+ if (process.env.NODE_ENV !== 'production') {
6312
+ if (snapshot.state !== 'Fulfilled') {
6313
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6314
+ }
6315
+ }
6316
+ deepFreeze(snapshot.data);
6317
+ return snapshot;
6318
+ }
6319
+ function createResourceRequest$8(config) {
6320
+ const headers = {};
6321
+ return {
6322
+ baseUri: '/services/data/v65.0',
6323
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
6324
+ method: 'post',
6325
+ body: null,
6326
+ urlParams: config.urlParams,
6327
+ queryParams: config.queryParams,
6328
+ headers,
6329
+ priority: 'normal',
6330
+ };
6331
+ }
6332
+
6333
+ const adapterName$8 = 'postSlackMessageReactions';
6334
+ const postSlackMessageReactions_ConfigPropertyMetadata = [
6335
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6336
+ generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6337
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6338
+ generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6339
+ ];
6340
+ const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, postSlackMessageReactions_ConfigPropertyMetadata);
6341
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$o(postSlackMessageReactions_ConfigPropertyMetadata);
6342
+ function typeCheckConfig$8(untrustedConfig) {
6343
+ const config = {};
6344
+ typeCheckConfig$o(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6345
+ return config;
6346
+ }
6347
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
6348
+ if (!untrustedIsObject(untrustedConfig)) {
6349
+ return null;
6350
+ }
6351
+ if (process.env.NODE_ENV !== 'production') {
6352
+ validateConfig(untrustedConfig, configPropertyNames);
6353
+ }
6354
+ const config = typeCheckConfig$8(untrustedConfig);
6355
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
6356
+ return null;
6357
+ }
6358
+ return config;
6359
+ }
6360
+ function buildNetworkSnapshot$8(luvio, config, options) {
6361
+ const resourceParams = createResourceParams$8(config);
6362
+ const request = createResourceRequest$8(resourceParams);
6363
+ return luvio.dispatchResourceRequest(request, options)
6364
+ .then((response) => {
6365
+ return luvio.handleSuccessResponse(() => {
6366
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
6367
+ return luvio.storeBroadcast().then(() => snapshot);
6368
+ }, () => {
6369
+ const cache = new StoreKeyMap();
6370
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
6371
+ return cache;
6372
+ });
6373
+ }, (response) => {
6374
+ deepFreeze(response);
6375
+ throw response;
6376
+ });
6377
+ }
6378
+ const postSlackMessageReactionsAdapterFactory = (luvio) => {
6379
+ return function postSlackMessageReactions(untrustedConfig) {
6380
+ const config = validateAdapterConfig$8(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
6381
+ // Invalid or incomplete config
6382
+ if (config === null) {
6383
+ throw new Error('Invalid config for "postSlackMessageReactions"');
6384
+ }
6385
+ return buildNetworkSnapshot$8(luvio, config);
6386
+ };
6387
+ };
6388
+
6389
+ const VERSION$2 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6390
+ function validate$2(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6391
+ const v_error = (() => {
6392
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6393
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6394
+ }
6395
+ const obj_conversationInfos = obj.conversationInfos;
6396
+ const path_conversationInfos = path + '.conversationInfos';
6397
+ if (!ArrayIsArray(obj_conversationInfos)) {
6398
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
6399
+ }
6400
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
6401
+ const obj_conversationInfos_item = obj_conversationInfos[i];
6402
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
6403
+ if (typeof obj_conversationInfos_item !== 'object') {
6404
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
6405
+ }
6406
+ }
6407
+ const obj_searchString = obj.searchString;
6408
+ const path_searchString = path + '.searchString';
6409
+ let obj_searchString_union0 = null;
6410
+ const obj_searchString_union0_error = (() => {
6411
+ if (typeof obj_searchString !== 'string') {
6412
+ return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6413
+ }
6414
+ })();
6415
+ if (obj_searchString_union0_error != null) {
6416
+ obj_searchString_union0 = obj_searchString_union0_error.message;
6417
+ }
6418
+ let obj_searchString_union1 = null;
6419
+ const obj_searchString_union1_error = (() => {
6420
+ if (obj_searchString !== null) {
6421
+ return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6422
+ }
6423
+ })();
6424
+ if (obj_searchString_union1_error != null) {
6425
+ obj_searchString_union1 = obj_searchString_union1_error.message;
6426
+ }
6427
+ if (obj_searchString_union0 && obj_searchString_union1) {
6428
+ let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6429
+ message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6430
+ message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6431
+ return new TypeError(message);
6432
+ }
6433
+ })();
6434
+ return v_error === undefined ? null : v_error;
6435
+ }
6436
+ const RepresentationType$2 = 'SlackBridgeConversationInfosOutputRepresentation';
6437
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
6438
+ const input_conversationInfos = input.conversationInfos;
6439
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6440
+ for (let i = 0; i < input_conversationInfos.length; i++) {
6441
+ const input_conversationInfos_item = input_conversationInfos[i];
6442
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6443
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6444
+ fullPath: input_conversationInfos_item_id,
6445
+ propertyName: i,
6446
+ parent: {
6447
+ data: input,
6448
+ key: path.fullPath,
6449
+ existing: existing,
6450
+ },
6451
+ ttl: path.ttl
6452
+ }, luvio, store, timestamp);
6453
+ }
6454
+ return input;
6455
+ }
6456
+ const select$a = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6457
+ return {
6458
+ kind: 'Fragment',
6459
+ version: VERSION$2,
6460
+ private: [],
6461
+ selections: [
6462
+ {
6463
+ name: 'conversationInfos',
6464
+ kind: 'Link',
6465
+ plural: true,
6466
+ fragment: select$E()
6467
+ },
6468
+ {
6469
+ name: 'searchString',
6470
+ kind: 'Scalar'
6471
+ }
6472
+ ]
6473
+ };
6474
+ };
6475
+ function equals$2(existing, incoming) {
6476
+ const existing_conversationInfos = existing.conversationInfos;
6477
+ const incoming_conversationInfos = incoming.conversationInfos;
6478
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
6479
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
6480
+ return false;
6481
+ }
6482
+ });
6483
+ if (equals_conversationInfos_items === false) {
6484
+ return false;
6485
+ }
6486
+ const existing_searchString = existing.searchString;
6487
+ const incoming_searchString = incoming.searchString;
6488
+ if (!(existing_searchString === incoming_searchString)) {
6489
+ return false;
6490
+ }
6491
+ return true;
6492
+ }
6493
+ const ingest$2 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6494
+ if (process.env.NODE_ENV !== 'production') {
6495
+ const validateError = validate$2(input);
6496
+ if (validateError !== null) {
6497
+ throw validateError;
6498
+ }
6499
+ }
6500
+ const key = path.fullPath;
6501
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6502
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
6503
+ return createLink(key);
6504
+ };
6505
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6506
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6507
+ const rootKey = fullPathFactory();
6508
+ rootKeySet.set(rootKey, {
6509
+ namespace: keyPrefix,
6510
+ representationName: RepresentationType$2,
6511
+ mergeable: false
6512
+ });
6513
+ const input_conversationInfos_length = input.conversationInfos.length;
6514
+ for (let i = 0; i < input_conversationInfos_length; i++) {
6515
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6516
+ }
6517
+ }
6518
+
6519
+ function select$9(luvio, params) {
6520
+ return select$a();
6521
+ }
6522
+ function keyBuilder$f(luvio, params) {
6523
+ return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'channelIds:' + params.queryParams.channelIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
6524
+ }
6525
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
6526
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
6527
+ }
6528
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
6529
+ const { body } = response;
6530
+ const key = keyBuilder$f(luvio, resourceParams);
6531
+ luvio.storeIngest(key, ingest$2, body);
6532
+ const snapshot = luvio.storeLookup({
6533
+ recordId: key,
6534
+ node: select$9(),
6535
+ variables: {},
6536
+ }, snapshotRefresh);
6537
+ if (process.env.NODE_ENV !== 'production') {
6538
+ if (snapshot.state !== 'Fulfilled') {
6539
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6540
+ }
6541
+ }
6542
+ deepFreeze(snapshot.data);
6543
+ return snapshot;
6544
+ }
6545
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
6546
+ const key = keyBuilder$f(luvio, params);
6547
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6548
+ luvio.storeIngestError(key, errorSnapshot);
6549
+ return errorSnapshot;
6550
+ }
6551
+ function createResourceRequest$7(config) {
6552
+ const headers = {};
6553
+ return {
6554
+ baseUri: '/services/data/v65.0',
6555
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels',
6556
+ method: 'get',
6557
+ body: null,
6558
+ urlParams: config.urlParams,
6559
+ queryParams: config.queryParams,
6560
+ headers,
6561
+ priority: 'normal',
6562
+ };
6563
+ }
6564
+
6565
+ const adapterName$7 = 'getSlackConversationInfos';
6566
+ const getSlackConversationInfos_ConfigPropertyMetadata = [
6567
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6568
+ generateParamConfigMetadata('channelIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6569
+ ];
6570
+ const getSlackConversationInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackConversationInfos_ConfigPropertyMetadata);
6571
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$o(getSlackConversationInfos_ConfigPropertyMetadata);
6572
+ function keyBuilder$e(luvio, config) {
6573
+ const resourceParams = createResourceParams$7(config);
6574
+ return keyBuilder$f(luvio, resourceParams);
6575
+ }
6576
+ function typeCheckConfig$7(untrustedConfig) {
6577
+ const config = {};
6578
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationInfos_ConfigPropertyMetadata);
6579
+ return config;
6580
+ }
6581
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
6582
+ if (!untrustedIsObject(untrustedConfig)) {
6583
+ return null;
6584
+ }
6585
+ if (process.env.NODE_ENV !== 'production') {
6586
+ validateConfig(untrustedConfig, configPropertyNames);
6587
+ }
6588
+ const config = typeCheckConfig$7(untrustedConfig);
6589
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
6590
+ return null;
6591
+ }
6592
+ return config;
6593
+ }
6594
+ function adapterFragment$7(luvio, config) {
6595
+ createResourceParams$7(config);
6596
+ return select$9();
6597
+ }
6598
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
6599
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
6600
+ config,
6601
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6602
+ });
6603
+ return luvio.storeBroadcast().then(() => snapshot);
6604
+ }
6605
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
6606
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
6607
+ config,
6608
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6609
+ });
6610
+ return luvio.storeBroadcast().then(() => snapshot);
6611
+ }
6612
+ function buildNetworkSnapshot$7(luvio, config, options) {
6613
+ const resourceParams = createResourceParams$7(config);
6614
+ const request = createResourceRequest$7(resourceParams);
6615
+ return luvio.dispatchResourceRequest(request, options)
6616
+ .then((response) => {
6617
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
6618
+ const cache = new StoreKeyMap();
6619
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
6620
+ return cache;
6621
+ });
6622
+ }, (response) => {
6623
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
6624
+ });
6625
+ }
6626
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
6627
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
6628
+ }
6629
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
6630
+ const { luvio, config } = context;
6631
+ const selector = {
6632
+ recordId: keyBuilder$e(luvio, config),
6633
+ node: adapterFragment$7(luvio, config),
6634
+ variables: {},
6635
+ };
6636
+ const cacheSnapshot = storeLookup(selector, {
6637
+ config,
6638
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6639
+ });
6640
+ return cacheSnapshot;
6641
+ }
6642
+ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfos(untrustedConfig, requestContext) {
6643
+ const config = validateAdapterConfig$7(untrustedConfig, getSlackConversationInfos_ConfigPropertyNames);
6644
+ // Invalid or incomplete config
6645
+ if (config === null) {
6646
+ return null;
6647
+ }
6648
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6649
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
6650
+ };
6651
+
6652
+ function select$8(luvio, params) {
6653
+ return select$E();
6654
+ }
6655
+ function keyBuilder$d(luvio, params) {
6656
+ return keyBuilder$D(luvio, {
6657
+ id: params.urlParams.channelId
6658
+ });
6181
6659
  }
6182
6660
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
6183
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
6661
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
6184
6662
  }
6185
- function ingestSuccess$6(luvio, resourceParams, response) {
6663
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
6186
6664
  const { body } = response;
6187
- const key = keyBuilderFromType(luvio, body);
6188
- luvio.storeIngest(key, ingest$3, body);
6665
+ const key = keyBuilder$d(luvio, resourceParams);
6666
+ luvio.storeIngest(key, ingest$f, body);
6189
6667
  const snapshot = luvio.storeLookup({
6190
6668
  recordId: key,
6191
- node: select$9(),
6669
+ node: select$8(),
6192
6670
  variables: {},
6193
- });
6671
+ }, snapshotRefresh);
6194
6672
  if (process.env.NODE_ENV !== 'production') {
6195
6673
  if (snapshot.state !== 'Fulfilled') {
6196
6674
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
@@ -6199,32 +6677,46 @@ function ingestSuccess$6(luvio, resourceParams, response) {
6199
6677
  deepFreeze(snapshot.data);
6200
6678
  return snapshot;
6201
6679
  }
6680
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
6681
+ const key = keyBuilder$d(luvio, params);
6682
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6683
+ const storeMetadataParams = {
6684
+ ttl: TTL$1,
6685
+ namespace: keyPrefix,
6686
+ version: VERSION$j,
6687
+ representationName: RepresentationType$f
6688
+ };
6689
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6690
+ return errorSnapshot;
6691
+ }
6202
6692
  function createResourceRequest$6(config) {
6203
6693
  const headers = {};
6204
6694
  return {
6205
- baseUri: '/services/data/v64.0',
6206
- basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
6207
- method: 'post',
6695
+ baseUri: '/services/data/v65.0',
6696
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels/' + config.urlParams.channelId + '',
6697
+ method: 'get',
6208
6698
  body: null,
6209
6699
  urlParams: config.urlParams,
6210
- queryParams: config.queryParams,
6700
+ queryParams: {},
6211
6701
  headers,
6212
6702
  priority: 'normal',
6213
6703
  };
6214
6704
  }
6215
6705
 
6216
- const adapterName$6 = 'postSlackMessageReactions';
6217
- const postSlackMessageReactions_ConfigPropertyMetadata = [
6706
+ const adapterName$6 = 'getSlackConversationInfo';
6707
+ const getSlackConversationInfo_ConfigPropertyMetadata = [
6218
6708
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6219
- generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6220
6709
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6221
- generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6222
6710
  ];
6223
- const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, postSlackMessageReactions_ConfigPropertyMetadata);
6224
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$m(postSlackMessageReactions_ConfigPropertyMetadata);
6711
+ const getSlackConversationInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSlackConversationInfo_ConfigPropertyMetadata);
6712
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$o(getSlackConversationInfo_ConfigPropertyMetadata);
6713
+ function keyBuilder$c(luvio, config) {
6714
+ const resourceParams = createResourceParams$6(config);
6715
+ return keyBuilder$d(luvio, resourceParams);
6716
+ }
6225
6717
  function typeCheckConfig$6(untrustedConfig) {
6226
6718
  const config = {};
6227
- typeCheckConfig$m(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6719
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationInfo_ConfigPropertyMetadata);
6228
6720
  return config;
6229
6721
  }
6230
6722
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -6240,37 +6732,66 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
6240
6732
  }
6241
6733
  return config;
6242
6734
  }
6735
+ function adapterFragment$6(luvio, config) {
6736
+ createResourceParams$6(config);
6737
+ return select$8();
6738
+ }
6739
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
6740
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
6741
+ config,
6742
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6743
+ });
6744
+ return luvio.storeBroadcast().then(() => snapshot);
6745
+ }
6746
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
6747
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
6748
+ config,
6749
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6750
+ });
6751
+ return luvio.storeBroadcast().then(() => snapshot);
6752
+ }
6243
6753
  function buildNetworkSnapshot$6(luvio, config, options) {
6244
6754
  const resourceParams = createResourceParams$6(config);
6245
6755
  const request = createResourceRequest$6(resourceParams);
6246
6756
  return luvio.dispatchResourceRequest(request, options)
6247
6757
  .then((response) => {
6248
- return luvio.handleSuccessResponse(() => {
6249
- const snapshot = ingestSuccess$6(luvio, resourceParams, response);
6250
- return luvio.storeBroadcast().then(() => snapshot);
6251
- }, () => {
6758
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
6252
6759
  const cache = new StoreKeyMap();
6253
6760
  getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
6254
6761
  return cache;
6255
6762
  });
6256
6763
  }, (response) => {
6257
- deepFreeze(response);
6258
- throw response;
6764
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
6259
6765
  });
6260
6766
  }
6261
- const postSlackMessageReactionsAdapterFactory = (luvio) => {
6262
- return function postSlackMessageReactions(untrustedConfig) {
6263
- const config = validateAdapterConfig$6(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
6264
- // Invalid or incomplete config
6265
- if (config === null) {
6266
- throw new Error('Invalid config for "postSlackMessageReactions"');
6267
- }
6268
- return buildNetworkSnapshot$6(luvio, config);
6767
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
6768
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
6769
+ }
6770
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
6771
+ const { luvio, config } = context;
6772
+ const selector = {
6773
+ recordId: keyBuilder$c(luvio, config),
6774
+ node: adapterFragment$6(luvio, config),
6775
+ variables: {},
6269
6776
  };
6777
+ const cacheSnapshot = storeLookup(selector, {
6778
+ config,
6779
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6780
+ });
6781
+ return cacheSnapshot;
6782
+ }
6783
+ const getSlackConversationInfoAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfo(untrustedConfig, requestContext) {
6784
+ const config = validateAdapterConfig$6(untrustedConfig, getSlackConversationInfo_ConfigPropertyNames);
6785
+ // Invalid or incomplete config
6786
+ if (config === null) {
6787
+ return null;
6788
+ }
6789
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6790
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
6270
6791
  };
6271
6792
 
6272
- const VERSION$2 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
6273
- function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6793
+ const VERSION$1 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
6794
+ function validate$1(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6274
6795
  const v_error = (() => {
6275
6796
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6276
6797
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6290,8 +6811,8 @@ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6290
6811
  })();
6291
6812
  return v_error === undefined ? null : v_error;
6292
6813
  }
6293
- const RepresentationType$2 = 'SlackBridgeEmojisOutputRepresentation';
6294
- function normalize$2(input, existing, path, luvio, store, timestamp) {
6814
+ const RepresentationType$1 = 'SlackBridgeEmojisOutputRepresentation';
6815
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
6295
6816
  const input_emojis = input.emojis;
6296
6817
  const input_emojis_id = path.fullPath + '__emojis';
6297
6818
  for (let i = 0; i < input_emojis.length; i++) {
@@ -6310,22 +6831,22 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6310
6831
  }
6311
6832
  return input;
6312
6833
  }
6313
- const select$8 = function SlackBridgeEmojisOutputRepresentationSelect() {
6834
+ const select$7 = function SlackBridgeEmojisOutputRepresentationSelect() {
6314
6835
  return {
6315
6836
  kind: 'Fragment',
6316
- version: VERSION$2,
6837
+ version: VERSION$1,
6317
6838
  private: [],
6318
6839
  selections: [
6319
6840
  {
6320
6841
  name: 'emojis',
6321
6842
  kind: 'Link',
6322
6843
  plural: true,
6323
- fragment: select$E()
6844
+ fragment: select$G()
6324
6845
  }
6325
6846
  ]
6326
6847
  };
6327
6848
  };
6328
- function equals$2(existing, incoming) {
6849
+ function equals$1(existing, incoming) {
6329
6850
  const existing_emojis = existing.emojis;
6330
6851
  const incoming_emojis = incoming.emojis;
6331
6852
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
@@ -6338,24 +6859,24 @@ function equals$2(existing, incoming) {
6338
6859
  }
6339
6860
  return true;
6340
6861
  }
6341
- const ingest$2 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6862
+ const ingest$1 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6342
6863
  if (process.env.NODE_ENV !== 'production') {
6343
- const validateError = validate$2(input);
6864
+ const validateError = validate$1(input);
6344
6865
  if (validateError !== null) {
6345
6866
  throw validateError;
6346
6867
  }
6347
6868
  }
6348
6869
  const key = path.fullPath;
6349
6870
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6350
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
6871
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
6351
6872
  return createLink(key);
6352
6873
  };
6353
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6874
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6354
6875
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6355
6876
  const rootKey = fullPathFactory();
6356
6877
  rootKeySet.set(rootKey, {
6357
6878
  namespace: keyPrefix,
6358
- representationName: RepresentationType$2,
6879
+ representationName: RepresentationType$1,
6359
6880
  mergeable: false
6360
6881
  });
6361
6882
  const input_emojis_length = input.emojis.length;
@@ -6364,22 +6885,22 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6364
6885
  }
6365
6886
  }
6366
6887
 
6367
- function select$7(luvio, params) {
6368
- return select$8();
6888
+ function select$6(luvio, params) {
6889
+ return select$7();
6369
6890
  }
6370
6891
  function keyBuilder$b(luvio, params) {
6371
6892
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'slackEmojiIds:' + params.queryParams.slackEmojiIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
6372
6893
  }
6373
6894
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
6374
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
6895
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
6375
6896
  }
6376
6897
  function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
6377
6898
  const { body } = response;
6378
6899
  const key = keyBuilder$b(luvio, resourceParams);
6379
- luvio.storeIngest(key, ingest$2, body);
6900
+ luvio.storeIngest(key, ingest$1, body);
6380
6901
  const snapshot = luvio.storeLookup({
6381
6902
  recordId: key,
6382
- node: select$7(),
6903
+ node: select$6(),
6383
6904
  variables: {},
6384
6905
  }, snapshotRefresh);
6385
6906
  if (process.env.NODE_ENV !== 'production') {
@@ -6399,7 +6920,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
6399
6920
  function createResourceRequest$5(config) {
6400
6921
  const headers = {};
6401
6922
  return {
6402
- baseUri: '/services/data/v64.0',
6923
+ baseUri: '/services/data/v65.0',
6403
6924
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/emojis',
6404
6925
  method: 'get',
6405
6926
  body: null,
@@ -6416,14 +6937,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
6416
6937
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6417
6938
  ];
6418
6939
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSlackEmojis_ConfigPropertyMetadata);
6419
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$m(getSlackEmojis_ConfigPropertyMetadata);
6940
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$o(getSlackEmojis_ConfigPropertyMetadata);
6420
6941
  function keyBuilder$a(luvio, config) {
6421
6942
  const resourceParams = createResourceParams$5(config);
6422
6943
  return keyBuilder$b(luvio, resourceParams);
6423
6944
  }
6424
6945
  function typeCheckConfig$5(untrustedConfig) {
6425
6946
  const config = {};
6426
- typeCheckConfig$m(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6947
+ typeCheckConfig$o(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6427
6948
  return config;
6428
6949
  }
6429
6950
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -6441,7 +6962,7 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
6441
6962
  }
6442
6963
  function adapterFragment$5(luvio, config) {
6443
6964
  createResourceParams$5(config);
6444
- return select$7();
6965
+ return select$6();
6445
6966
  }
6446
6967
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
6447
6968
  const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
@@ -6472,7 +6993,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
6472
6993
  });
6473
6994
  }
6474
6995
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
6475
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6996
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6476
6997
  }
6477
6998
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
6478
6999
  const { luvio, config } = context;
@@ -6497,11 +7018,11 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
6497
7018
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
6498
7019
  };
6499
7020
 
6500
- function select$6(luvio, params) {
6501
- return select$E();
7021
+ function select$5(luvio, params) {
7022
+ return select$G();
6502
7023
  }
6503
7024
  function keyBuilder$9(luvio, params) {
6504
- return keyBuilder$B(luvio, {
7025
+ return keyBuilder$F(luvio, {
6505
7026
  name: params.urlParams.slackEmojiId
6506
7027
  });
6507
7028
  }
@@ -6514,7 +7035,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
6514
7035
  luvio.storeIngest(key, ingest$h, body);
6515
7036
  const snapshot = luvio.storeLookup({
6516
7037
  recordId: key,
6517
- node: select$6(),
7038
+ node: select$5(),
6518
7039
  variables: {},
6519
7040
  }, snapshotRefresh);
6520
7041
  if (process.env.NODE_ENV !== 'production') {
@@ -6529,7 +7050,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
6529
7050
  const key = keyBuilder$9(luvio, params);
6530
7051
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6531
7052
  const storeMetadataParams = {
6532
- ttl: TTL$2,
7053
+ ttl: TTL$3,
6533
7054
  namespace: keyPrefix,
6534
7055
  version: VERSION$l,
6535
7056
  representationName: RepresentationType$h
@@ -6540,7 +7061,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
6540
7061
  function createResourceRequest$4(config) {
6541
7062
  const headers = {};
6542
7063
  return {
6543
- baseUri: '/services/data/v64.0',
7064
+ baseUri: '/services/data/v65.0',
6544
7065
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/emojis/' + config.urlParams.slackEmojiId + '',
6545
7066
  method: 'get',
6546
7067
  body: null,
@@ -6557,14 +7078,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
6557
7078
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6558
7079
  ];
6559
7080
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackEmoji_ConfigPropertyMetadata);
6560
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$m(getSlackEmoji_ConfigPropertyMetadata);
7081
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$o(getSlackEmoji_ConfigPropertyMetadata);
6561
7082
  function keyBuilder$8(luvio, config) {
6562
7083
  const resourceParams = createResourceParams$4(config);
6563
7084
  return keyBuilder$9(luvio, resourceParams);
6564
7085
  }
6565
7086
  function typeCheckConfig$4(untrustedConfig) {
6566
7087
  const config = {};
6567
- typeCheckConfig$m(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
7088
+ typeCheckConfig$o(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6568
7089
  return config;
6569
7090
  }
6570
7091
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -6582,7 +7103,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
6582
7103
  }
6583
7104
  function adapterFragment$4(luvio, config) {
6584
7105
  createResourceParams$4(config);
6585
- return select$6();
7106
+ return select$5();
6586
7107
  }
6587
7108
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
6588
7109
  const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
@@ -6613,7 +7134,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
6613
7134
  });
6614
7135
  }
6615
7136
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6616
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
7137
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6617
7138
  }
6618
7139
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6619
7140
  const { luvio, config } = context;
@@ -6638,149 +7159,19 @@ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmo
6638
7159
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
6639
7160
  };
6640
7161
 
6641
- const VERSION$1 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6642
- function validate$1(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6643
- const v_error = (() => {
6644
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6645
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6646
- }
6647
- const obj_conversationInfos = obj.conversationInfos;
6648
- const path_conversationInfos = path + '.conversationInfos';
6649
- if (!ArrayIsArray(obj_conversationInfos)) {
6650
- return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
6651
- }
6652
- for (let i = 0; i < obj_conversationInfos.length; i++) {
6653
- const obj_conversationInfos_item = obj_conversationInfos[i];
6654
- const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
6655
- if (typeof obj_conversationInfos_item !== 'object') {
6656
- return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
6657
- }
6658
- }
6659
- const obj_searchString = obj.searchString;
6660
- const path_searchString = path + '.searchString';
6661
- let obj_searchString_union0 = null;
6662
- const obj_searchString_union0_error = (() => {
6663
- if (typeof obj_searchString !== 'string') {
6664
- return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6665
- }
6666
- })();
6667
- if (obj_searchString_union0_error != null) {
6668
- obj_searchString_union0 = obj_searchString_union0_error.message;
6669
- }
6670
- let obj_searchString_union1 = null;
6671
- const obj_searchString_union1_error = (() => {
6672
- if (obj_searchString !== null) {
6673
- return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6674
- }
6675
- })();
6676
- if (obj_searchString_union1_error != null) {
6677
- obj_searchString_union1 = obj_searchString_union1_error.message;
6678
- }
6679
- if (obj_searchString_union0 && obj_searchString_union1) {
6680
- let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6681
- message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6682
- message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6683
- return new TypeError(message);
6684
- }
6685
- })();
6686
- return v_error === undefined ? null : v_error;
6687
- }
6688
- const RepresentationType$1 = 'SlackBridgeConversationInfosOutputRepresentation';
6689
- function normalize$1(input, existing, path, luvio, store, timestamp) {
6690
- const input_conversationInfos = input.conversationInfos;
6691
- const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6692
- for (let i = 0; i < input_conversationInfos.length; i++) {
6693
- const input_conversationInfos_item = input_conversationInfos[i];
6694
- let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6695
- input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6696
- fullPath: input_conversationInfos_item_id,
6697
- propertyName: i,
6698
- parent: {
6699
- data: input,
6700
- key: path.fullPath,
6701
- existing: existing,
6702
- },
6703
- ttl: path.ttl
6704
- }, luvio, store, timestamp);
6705
- }
6706
- return input;
6707
- }
6708
- const select$5 = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6709
- return {
6710
- kind: 'Fragment',
6711
- version: VERSION$1,
6712
- private: [],
6713
- selections: [
6714
- {
6715
- name: 'conversationInfos',
6716
- kind: 'Link',
6717
- plural: true,
6718
- fragment: select$C()
6719
- },
6720
- {
6721
- name: 'searchString',
6722
- kind: 'Scalar'
6723
- }
6724
- ]
6725
- };
6726
- };
6727
- function equals$1(existing, incoming) {
6728
- const existing_conversationInfos = existing.conversationInfos;
6729
- const incoming_conversationInfos = incoming.conversationInfos;
6730
- const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
6731
- if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
6732
- return false;
6733
- }
6734
- });
6735
- if (equals_conversationInfos_items === false) {
6736
- return false;
6737
- }
6738
- const existing_searchString = existing.searchString;
6739
- const incoming_searchString = incoming.searchString;
6740
- if (!(existing_searchString === incoming_searchString)) {
6741
- return false;
6742
- }
6743
- return true;
6744
- }
6745
- const ingest$1 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6746
- if (process.env.NODE_ENV !== 'production') {
6747
- const validateError = validate$1(input);
6748
- if (validateError !== null) {
6749
- throw validateError;
6750
- }
6751
- }
6752
- const key = path.fullPath;
6753
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6754
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
6755
- return createLink(key);
6756
- };
6757
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6758
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6759
- const rootKey = fullPathFactory();
6760
- rootKeySet.set(rootKey, {
6761
- namespace: keyPrefix,
6762
- representationName: RepresentationType$1,
6763
- mergeable: false
6764
- });
6765
- const input_conversationInfos_length = input.conversationInfos.length;
6766
- for (let i = 0; i < input_conversationInfos_length; i++) {
6767
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6768
- }
6769
- }
6770
-
6771
7162
  function select$4(luvio, params) {
6772
- return select$5();
7163
+ return select$a();
6773
7164
  }
6774
7165
  function keyBuilder$7(luvio, params) {
6775
7166
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6776
7167
  }
6777
7168
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
6778
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
7169
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6779
7170
  }
6780
7171
  function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
6781
7172
  const { body } = response;
6782
7173
  const key = keyBuilder$7(luvio, resourceParams);
6783
- luvio.storeIngest(key, ingest$1, body);
7174
+ luvio.storeIngest(key, ingest$2, body);
6784
7175
  const snapshot = luvio.storeLookup({
6785
7176
  recordId: key,
6786
7177
  node: select$4(),
@@ -6803,7 +7194,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
6803
7194
  function createResourceRequest$3(config) {
6804
7195
  const headers = {};
6805
7196
  return {
6806
- baseUri: '/services/data/v64.0',
7197
+ baseUri: '/services/data/v65.0',
6807
7198
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/search/conversations',
6808
7199
  method: 'get',
6809
7200
  body: null,
@@ -6820,14 +7211,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6820
7211
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6821
7212
  ];
6822
7213
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSlackSearchConversation_ConfigPropertyMetadata);
6823
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$m(getSlackSearchConversation_ConfigPropertyMetadata);
7214
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$o(getSlackSearchConversation_ConfigPropertyMetadata);
6824
7215
  function keyBuilder$6(luvio, config) {
6825
7216
  const resourceParams = createResourceParams$3(config);
6826
7217
  return keyBuilder$7(luvio, resourceParams);
6827
7218
  }
6828
7219
  function typeCheckConfig$3(untrustedConfig) {
6829
7220
  const config = {};
6830
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
7221
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6831
7222
  return config;
6832
7223
  }
6833
7224
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -6876,7 +7267,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
6876
7267
  });
6877
7268
  }
6878
7269
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6879
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7270
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
6880
7271
  }
6881
7272
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6882
7273
  const { luvio, config } = context;
@@ -6902,18 +7293,18 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
6902
7293
  };
6903
7294
 
6904
7295
  function select$3(luvio, params) {
6905
- return select$8();
7296
+ return select$7();
6906
7297
  }
6907
7298
  function keyBuilder$5(luvio, params) {
6908
7299
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6909
7300
  }
6910
7301
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
6911
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
7302
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
6912
7303
  }
6913
7304
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
6914
7305
  const { body } = response;
6915
7306
  const key = keyBuilder$5(luvio, resourceParams);
6916
- luvio.storeIngest(key, ingest$2, body);
7307
+ luvio.storeIngest(key, ingest$1, body);
6917
7308
  const snapshot = luvio.storeLookup({
6918
7309
  recordId: key,
6919
7310
  node: select$3(),
@@ -6936,7 +7327,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
6936
7327
  function createResourceRequest$2(config) {
6937
7328
  const headers = {};
6938
7329
  return {
6939
- baseUri: '/services/data/v64.0',
7330
+ baseUri: '/services/data/v65.0',
6940
7331
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/search/emojis',
6941
7332
  method: 'get',
6942
7333
  body: null,
@@ -6953,14 +7344,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6953
7344
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6954
7345
  ];
6955
7346
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSlackSearchEmoji_ConfigPropertyMetadata);
6956
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$m(getSlackSearchEmoji_ConfigPropertyMetadata);
7347
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$o(getSlackSearchEmoji_ConfigPropertyMetadata);
6957
7348
  function keyBuilder$4(luvio, config) {
6958
7349
  const resourceParams = createResourceParams$2(config);
6959
7350
  return keyBuilder$5(luvio, resourceParams);
6960
7351
  }
6961
7352
  function typeCheckConfig$2(untrustedConfig) {
6962
7353
  const config = {};
6963
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
7354
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6964
7355
  return config;
6965
7356
  }
6966
7357
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7009,7 +7400,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
7009
7400
  });
7010
7401
  }
7011
7402
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
7012
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7403
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7013
7404
  }
7014
7405
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
7015
7406
  const { luvio, config } = context;
@@ -7034,12 +7425,38 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
7034
7425
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
7035
7426
  };
7036
7427
 
7037
- const VERSION = "058d708f5533e6123e368a3722311412";
7428
+ const VERSION = "16b915c502b8a0609446d7ed3907a794";
7038
7429
  function validate(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
7039
7430
  const v_error = (() => {
7040
7431
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7041
7432
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7042
7433
  }
7434
+ const obj_nextMarker = obj.nextMarker;
7435
+ const path_nextMarker = path + '.nextMarker';
7436
+ let obj_nextMarker_union0 = null;
7437
+ const obj_nextMarker_union0_error = (() => {
7438
+ if (typeof obj_nextMarker !== 'string') {
7439
+ return new TypeError('Expected "string" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7440
+ }
7441
+ })();
7442
+ if (obj_nextMarker_union0_error != null) {
7443
+ obj_nextMarker_union0 = obj_nextMarker_union0_error.message;
7444
+ }
7445
+ let obj_nextMarker_union1 = null;
7446
+ const obj_nextMarker_union1_error = (() => {
7447
+ if (obj_nextMarker !== null) {
7448
+ return new TypeError('Expected "null" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7449
+ }
7450
+ })();
7451
+ if (obj_nextMarker_union1_error != null) {
7452
+ obj_nextMarker_union1 = obj_nextMarker_union1_error.message;
7453
+ }
7454
+ if (obj_nextMarker_union0 && obj_nextMarker_union1) {
7455
+ let message = 'Object doesn\'t match union (at "' + path_nextMarker + '")';
7456
+ message += '\n' + obj_nextMarker_union0.split('\n').map((line) => '\t' + line).join('\n');
7457
+ message += '\n' + obj_nextMarker_union1.split('\n').map((line) => '\t' + line).join('\n');
7458
+ return new TypeError(message);
7459
+ }
7043
7460
  const obj_searchString = obj.searchString;
7044
7461
  const path_searchString = path + '.searchString';
7045
7462
  let obj_searchString_union0 = null;
@@ -7107,6 +7524,10 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
7107
7524
  version: VERSION,
7108
7525
  private: [],
7109
7526
  selections: [
7527
+ {
7528
+ name: 'nextMarker',
7529
+ kind: 'Scalar'
7530
+ },
7110
7531
  {
7111
7532
  name: 'searchString',
7112
7533
  kind: 'Scalar'
@@ -7115,12 +7536,17 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
7115
7536
  name: 'userInfos',
7116
7537
  kind: 'Link',
7117
7538
  plural: true,
7118
- fragment: select$D()
7539
+ fragment: select$F()
7119
7540
  }
7120
7541
  ]
7121
7542
  };
7122
7543
  };
7123
7544
  function equals(existing, incoming) {
7545
+ const existing_nextMarker = existing.nextMarker;
7546
+ const incoming_nextMarker = incoming.nextMarker;
7547
+ if (!(existing_nextMarker === incoming_nextMarker)) {
7548
+ return false;
7549
+ }
7124
7550
  const existing_searchString = existing.searchString;
7125
7551
  const incoming_searchString = incoming.searchString;
7126
7552
  if (!(existing_searchString === incoming_searchString)) {
@@ -7199,7 +7625,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
7199
7625
  function createResourceRequest$1(config) {
7200
7626
  const headers = {};
7201
7627
  return {
7202
- baseUri: '/services/data/v64.0',
7628
+ baseUri: '/services/data/v65.0',
7203
7629
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/search/users',
7204
7630
  method: 'get',
7205
7631
  body: null,
@@ -7219,14 +7645,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
7219
7645
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
7220
7646
  ];
7221
7647
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSlackSearchUser_ConfigPropertyMetadata);
7222
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$m(getSlackSearchUser_ConfigPropertyMetadata);
7648
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$o(getSlackSearchUser_ConfigPropertyMetadata);
7223
7649
  function keyBuilder$2(luvio, config) {
7224
7650
  const resourceParams = createResourceParams$1(config);
7225
7651
  return keyBuilder$3(luvio, resourceParams);
7226
7652
  }
7227
7653
  function typeCheckConfig$1(untrustedConfig) {
7228
7654
  const config = {};
7229
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7655
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7230
7656
  return config;
7231
7657
  }
7232
7658
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7275,7 +7701,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
7275
7701
  });
7276
7702
  }
7277
7703
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
7278
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7704
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7279
7705
  }
7280
7706
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
7281
7707
  const { luvio, config } = context;
@@ -7301,12 +7727,11 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
7301
7727
  };
7302
7728
 
7303
7729
  function select(luvio, params) {
7304
- return select$D();
7730
+ return select$F();
7305
7731
  }
7306
7732
  function keyBuilder$1(luvio, params) {
7307
- return keyBuilder$A(luvio, {
7308
- slackUserId: params.urlParams.slackUserId,
7309
- teamId: params.urlParams.teamId
7733
+ return keyBuilder$E(luvio, {
7734
+ slackUserId: params.urlParams.slackUserId
7310
7735
  });
7311
7736
  }
7312
7737
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
@@ -7333,7 +7758,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
7333
7758
  const key = keyBuilder$1(luvio, params);
7334
7759
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7335
7760
  const storeMetadataParams = {
7336
- ttl: TTL$1,
7761
+ ttl: TTL$2,
7337
7762
  namespace: keyPrefix,
7338
7763
  version: VERSION$k,
7339
7764
  representationName: RepresentationType$g
@@ -7344,7 +7769,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
7344
7769
  function createResourceRequest(config) {
7345
7770
  const headers = {};
7346
7771
  return {
7347
- baseUri: '/services/data/v64.0',
7772
+ baseUri: '/services/data/v65.0',
7348
7773
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/user/' + config.urlParams.slackUserId + '',
7349
7774
  method: 'get',
7350
7775
  body: null,
@@ -7361,14 +7786,14 @@ const getSlackUser_ConfigPropertyMetadata = [
7361
7786
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7362
7787
  ];
7363
7788
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSlackUser_ConfigPropertyMetadata);
7364
- const createResourceParams = /*#__PURE__*/ createResourceParams$m(getSlackUser_ConfigPropertyMetadata);
7789
+ const createResourceParams = /*#__PURE__*/ createResourceParams$o(getSlackUser_ConfigPropertyMetadata);
7365
7790
  function keyBuilder(luvio, config) {
7366
7791
  const resourceParams = createResourceParams(config);
7367
7792
  return keyBuilder$1(luvio, resourceParams);
7368
7793
  }
7369
7794
  function typeCheckConfig(untrustedConfig) {
7370
7795
  const config = {};
7371
- typeCheckConfig$m(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7796
+ typeCheckConfig$o(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7372
7797
  return config;
7373
7798
  }
7374
7799
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -7417,7 +7842,7 @@ function buildNetworkSnapshot(luvio, config, options) {
7417
7842
  });
7418
7843
  }
7419
7844
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
7420
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7845
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7421
7846
  }
7422
7847
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
7423
7848
  const { luvio, config } = context;
@@ -7442,4 +7867,4 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
7442
7867
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
7443
7868
  };
7444
7869
 
7445
- export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
7870
+ 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 };