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

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.
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, StoreKeyMap, deepFreeze, createResourceParams as createResourceParams$n, typeCheckConfig as typeCheckConfig$n, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$d } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, StoreKeyMap, deepFreeze, createResourceParams as createResourceParams$p, typeCheckConfig as typeCheckConfig$p, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$f } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -142,19 +142,19 @@ function validate$o(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
142
142
  return v_error === undefined ? null : v_error;
143
143
  }
144
144
  const RepresentationType$i = 'SlackBridgeConversationMemberOutputRepresentation';
145
- function keyBuilder$D(luvio, config) {
145
+ function keyBuilder$H(luvio, config) {
146
146
  return keyPrefix + '::' + RepresentationType$i + ':' + config.channelId;
147
147
  }
148
148
  function keyBuilderFromType$a(luvio, object) {
149
149
  const keyParams = {
150
150
  channelId: object.channelId
151
151
  };
152
- return keyBuilder$D(luvio, keyParams);
152
+ return keyBuilder$H(luvio, keyParams);
153
153
  }
154
154
  function normalize$i(input, existing, path, luvio, store, timestamp) {
155
155
  return input;
156
156
  }
157
- const select$I = function SlackBridgeConversationMemberOutputRepresentationSelect() {
157
+ const select$K = function SlackBridgeConversationMemberOutputRepresentationSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
160
  version: VERSION$o,
@@ -206,13 +206,13 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
206
206
  });
207
207
  }
208
208
 
209
- function keyBuilder$C(luvio, params) {
210
- return keyBuilder$D(luvio, {
209
+ function keyBuilder$G(luvio, params) {
210
+ return keyBuilder$H(luvio, {
211
211
  channelId: params.urlParams.channelId
212
212
  });
213
213
  }
214
- function getResponseCacheKeys$m(cacheKeyMap, luvio, resourceParams) {
215
- const key = keyBuilder$C(luvio, resourceParams);
214
+ function getResponseCacheKeys$o(cacheKeyMap, luvio, resourceParams) {
215
+ const key = keyBuilder$G(luvio, resourceParams);
216
216
  cacheKeyMap.set(key, {
217
217
  namespace: keyPrefix,
218
218
  representationName: RepresentationType$i,
@@ -220,10 +220,10 @@ function getResponseCacheKeys$m(cacheKeyMap, luvio, resourceParams) {
220
220
  });
221
221
  }
222
222
  function evictSuccess$2(luvio, resourceParams) {
223
- const key = keyBuilder$C(luvio, resourceParams);
223
+ const key = keyBuilder$G(luvio, resourceParams);
224
224
  luvio.storeEvict(key);
225
225
  }
226
- function createResourceRequest$m(config) {
226
+ function createResourceRequest$o(config) {
227
227
  const headers = {};
228
228
  return {
229
229
  baseUri: '/services/data/v64.0',
@@ -237,35 +237,35 @@ function createResourceRequest$m(config) {
237
237
  };
238
238
  }
239
239
 
240
- const adapterName$m = 'deleteSlackConversationMember';
240
+ const adapterName$o = 'deleteSlackConversationMember';
241
241
  const deleteSlackConversationMember_ConfigPropertyMetadata = [
242
242
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
243
243
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
244
244
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
245
245
  ];
246
- const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, deleteSlackConversationMember_ConfigPropertyMetadata);
247
- const createResourceParams$m = /*#__PURE__*/ createResourceParams$n(deleteSlackConversationMember_ConfigPropertyMetadata);
248
- function typeCheckConfig$m(untrustedConfig) {
246
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, deleteSlackConversationMember_ConfigPropertyMetadata);
247
+ const createResourceParams$o = /*#__PURE__*/ createResourceParams$p(deleteSlackConversationMember_ConfigPropertyMetadata);
248
+ function typeCheckConfig$o(untrustedConfig) {
249
249
  const config = {};
250
- typeCheckConfig$n(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
250
+ typeCheckConfig$p(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
251
251
  return config;
252
252
  }
253
- function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
253
+ function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
254
254
  if (!untrustedIsObject(untrustedConfig)) {
255
255
  return null;
256
256
  }
257
257
  if (process.env.NODE_ENV !== 'production') {
258
258
  validateConfig(untrustedConfig, configPropertyNames);
259
259
  }
260
- const config = typeCheckConfig$m(untrustedConfig);
260
+ const config = typeCheckConfig$o(untrustedConfig);
261
261
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
262
262
  return null;
263
263
  }
264
264
  return config;
265
265
  }
266
- function buildNetworkSnapshot$m(luvio, config, options) {
267
- const resourceParams = createResourceParams$m(config);
268
- const request = createResourceRequest$m(resourceParams);
266
+ function buildNetworkSnapshot$o(luvio, config, options) {
267
+ const resourceParams = createResourceParams$o(config);
268
+ const request = createResourceRequest$o(resourceParams);
269
269
  return luvio.dispatchResourceRequest(request, options)
270
270
  .then(() => {
271
271
  return luvio.handleSuccessResponse(() => {
@@ -273,7 +273,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
273
273
  return luvio.storeBroadcast();
274
274
  }, () => {
275
275
  const cache = new StoreKeyMap();
276
- getResponseCacheKeys$m(cache, luvio, resourceParams);
276
+ getResponseCacheKeys$o(cache, luvio, resourceParams);
277
277
  return cache;
278
278
  });
279
279
  }, (response) => {
@@ -283,12 +283,12 @@ function buildNetworkSnapshot$m(luvio, config, options) {
283
283
  }
284
284
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
285
285
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
286
- const config = validateAdapterConfig$m(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
286
+ const config = validateAdapterConfig$o(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
287
287
  // Invalid or incomplete config
288
288
  if (config === null) {
289
- throw new Error(`Invalid config for "${adapterName$m}"`);
289
+ throw new Error(`Invalid config for "${adapterName$o}"`);
290
290
  }
291
- return buildNetworkSnapshot$m(luvio, config);
291
+ return buildNetworkSnapshot$o(luvio, config);
292
292
  };
293
293
  };
294
294
 
@@ -317,19 +317,19 @@ function validate$n(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
317
317
  return v_error === undefined ? null : v_error;
318
318
  }
319
319
  const RepresentationType$h = 'SlackBridgeMessageFragmentOutputRepresentation';
320
- function keyBuilder$B(luvio, config) {
320
+ function keyBuilder$F(luvio, config) {
321
321
  return keyPrefix + '::' + RepresentationType$h + ':' + config.channelId;
322
322
  }
323
323
  function keyBuilderFromType$9(luvio, object) {
324
324
  const keyParams = {
325
325
  channelId: object.channelId
326
326
  };
327
- return keyBuilder$B(luvio, keyParams);
327
+ return keyBuilder$F(luvio, keyParams);
328
328
  }
329
329
  function normalize$h(input, existing, path, luvio, store, timestamp) {
330
330
  return input;
331
331
  }
332
- const select$H = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
332
+ const select$J = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
333
333
  return {
334
334
  kind: 'Fragment',
335
335
  version: VERSION$n,
@@ -390,13 +390,13 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
390
390
  });
391
391
  }
392
392
 
393
- function keyBuilder$A(luvio, params) {
394
- return keyBuilder$B(luvio, {
393
+ function keyBuilder$E(luvio, params) {
394
+ return keyBuilder$F(luvio, {
395
395
  channelId: params.urlParams.channelId
396
396
  });
397
397
  }
398
- function getResponseCacheKeys$l(cacheKeyMap, luvio, resourceParams) {
399
- const key = keyBuilder$A(luvio, resourceParams);
398
+ function getResponseCacheKeys$n(cacheKeyMap, luvio, resourceParams) {
399
+ const key = keyBuilder$E(luvio, resourceParams);
400
400
  cacheKeyMap.set(key, {
401
401
  namespace: keyPrefix,
402
402
  representationName: RepresentationType$h,
@@ -404,10 +404,10 @@ function getResponseCacheKeys$l(cacheKeyMap, luvio, resourceParams) {
404
404
  });
405
405
  }
406
406
  function evictSuccess$1(luvio, resourceParams) {
407
- const key = keyBuilder$A(luvio, resourceParams);
407
+ const key = keyBuilder$E(luvio, resourceParams);
408
408
  luvio.storeEvict(key);
409
409
  }
410
- function createResourceRequest$l(config) {
410
+ function createResourceRequest$n(config) {
411
411
  const headers = {};
412
412
  return {
413
413
  baseUri: '/services/data/v64.0',
@@ -421,35 +421,35 @@ function createResourceRequest$l(config) {
421
421
  };
422
422
  }
423
423
 
424
- const adapterName$l = 'deleteSlackMessage';
424
+ const adapterName$n = 'deleteSlackMessage';
425
425
  const deleteSlackMessage_ConfigPropertyMetadata = [
426
426
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
427
427
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
428
428
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
429
429
  ];
430
- const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, deleteSlackMessage_ConfigPropertyMetadata);
431
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$n(deleteSlackMessage_ConfigPropertyMetadata);
432
- function typeCheckConfig$l(untrustedConfig) {
430
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, deleteSlackMessage_ConfigPropertyMetadata);
431
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$p(deleteSlackMessage_ConfigPropertyMetadata);
432
+ function typeCheckConfig$n(untrustedConfig) {
433
433
  const config = {};
434
- typeCheckConfig$n(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
434
+ typeCheckConfig$p(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
435
435
  return config;
436
436
  }
437
- function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
437
+ function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
438
438
  if (!untrustedIsObject(untrustedConfig)) {
439
439
  return null;
440
440
  }
441
441
  if (process.env.NODE_ENV !== 'production') {
442
442
  validateConfig(untrustedConfig, configPropertyNames);
443
443
  }
444
- const config = typeCheckConfig$l(untrustedConfig);
444
+ const config = typeCheckConfig$n(untrustedConfig);
445
445
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
446
446
  return null;
447
447
  }
448
448
  return config;
449
449
  }
450
- function buildNetworkSnapshot$l(luvio, config, options) {
451
- const resourceParams = createResourceParams$l(config);
452
- const request = createResourceRequest$l(resourceParams);
450
+ function buildNetworkSnapshot$n(luvio, config, options) {
451
+ const resourceParams = createResourceParams$n(config);
452
+ const request = createResourceRequest$n(resourceParams);
453
453
  return luvio.dispatchResourceRequest(request, options)
454
454
  .then(() => {
455
455
  return luvio.handleSuccessResponse(() => {
@@ -457,7 +457,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
457
457
  return luvio.storeBroadcast();
458
458
  }, () => {
459
459
  const cache = new StoreKeyMap();
460
- getResponseCacheKeys$l(cache, luvio, resourceParams);
460
+ getResponseCacheKeys$n(cache, luvio, resourceParams);
461
461
  return cache;
462
462
  });
463
463
  }, (response) => {
@@ -467,12 +467,12 @@ function buildNetworkSnapshot$l(luvio, config, options) {
467
467
  }
468
468
  const deleteSlackMessageAdapterFactory = (luvio) => {
469
469
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
470
- const config = validateAdapterConfig$l(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
470
+ const config = validateAdapterConfig$n(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
471
471
  // Invalid or incomplete config
472
472
  if (config === null) {
473
- throw new Error(`Invalid config for "${adapterName$l}"`);
473
+ throw new Error(`Invalid config for "${adapterName$n}"`);
474
474
  }
475
- return buildNetworkSnapshot$l(luvio, config);
475
+ return buildNetworkSnapshot$n(luvio, config);
476
476
  };
477
477
  };
478
478
 
@@ -554,7 +554,7 @@ function validate$m(obj, path = 'SlackBridgeReactionOutputRepresentation') {
554
554
  })();
555
555
  return v_error === undefined ? null : v_error;
556
556
  }
557
- const select$G = function SlackBridgeReactionOutputRepresentationSelect() {
557
+ const select$I = function SlackBridgeReactionOutputRepresentationSelect() {
558
558
  return {
559
559
  kind: 'Fragment',
560
560
  version: VERSION$m,
@@ -649,20 +649,20 @@ function validate$l(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
649
649
  return v_error === undefined ? null : v_error;
650
650
  }
651
651
  const RepresentationType$g = 'SlackBridgeReactionsOutputRepresentation';
652
- function keyBuilder$z(luvio, config) {
652
+ function keyBuilder$D(luvio, config) {
653
653
  return keyPrefix + '::' + RepresentationType$g + ':' + config.channelId;
654
654
  }
655
655
  function keyBuilderFromType$8(luvio, object) {
656
656
  const keyParams = {
657
657
  channelId: object.channelId
658
658
  };
659
- return keyBuilder$z(luvio, keyParams);
659
+ return keyBuilder$D(luvio, keyParams);
660
660
  }
661
661
  function normalize$g(input, existing, path, luvio, store, timestamp) {
662
662
  return input;
663
663
  }
664
- const select$F = function SlackBridgeReactionsOutputRepresentationSelect() {
665
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$G();
664
+ const select$H = function SlackBridgeReactionsOutputRepresentationSelect() {
665
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$I();
666
666
  return {
667
667
  kind: 'Fragment',
668
668
  version: VERSION$l,
@@ -739,13 +739,13 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
739
739
  });
740
740
  }
741
741
 
742
- function keyBuilder$y(luvio, params) {
743
- return keyBuilder$z(luvio, {
742
+ function keyBuilder$C(luvio, params) {
743
+ return keyBuilder$D(luvio, {
744
744
  channelId: params.urlParams.channelId
745
745
  });
746
746
  }
747
- function getResponseCacheKeys$k(cacheKeyMap, luvio, resourceParams) {
748
- const key = keyBuilder$y(luvio, resourceParams);
747
+ function getResponseCacheKeys$m(cacheKeyMap, luvio, resourceParams) {
748
+ const key = keyBuilder$C(luvio, resourceParams);
749
749
  cacheKeyMap.set(key, {
750
750
  namespace: keyPrefix,
751
751
  representationName: RepresentationType$g,
@@ -753,10 +753,10 @@ function getResponseCacheKeys$k(cacheKeyMap, luvio, resourceParams) {
753
753
  });
754
754
  }
755
755
  function evictSuccess(luvio, resourceParams) {
756
- const key = keyBuilder$y(luvio, resourceParams);
756
+ const key = keyBuilder$C(luvio, resourceParams);
757
757
  luvio.storeEvict(key);
758
758
  }
759
- function createResourceRequest$k(config) {
759
+ function createResourceRequest$m(config) {
760
760
  const headers = {};
761
761
  return {
762
762
  baseUri: '/services/data/v64.0',
@@ -770,36 +770,36 @@ function createResourceRequest$k(config) {
770
770
  };
771
771
  }
772
772
 
773
- const adapterName$k = 'deleteSlackMessageReactions';
773
+ const adapterName$m = 'deleteSlackMessageReactions';
774
774
  const deleteSlackMessageReactions_ConfigPropertyMetadata = [
775
775
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
776
776
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
777
777
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
778
778
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
779
779
  ];
780
- const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, deleteSlackMessageReactions_ConfigPropertyMetadata);
781
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$n(deleteSlackMessageReactions_ConfigPropertyMetadata);
782
- function typeCheckConfig$k(untrustedConfig) {
780
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, deleteSlackMessageReactions_ConfigPropertyMetadata);
781
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$p(deleteSlackMessageReactions_ConfigPropertyMetadata);
782
+ function typeCheckConfig$m(untrustedConfig) {
783
783
  const config = {};
784
- typeCheckConfig$n(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
784
+ typeCheckConfig$p(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
785
785
  return config;
786
786
  }
787
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
787
+ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
788
788
  if (!untrustedIsObject(untrustedConfig)) {
789
789
  return null;
790
790
  }
791
791
  if (process.env.NODE_ENV !== 'production') {
792
792
  validateConfig(untrustedConfig, configPropertyNames);
793
793
  }
794
- const config = typeCheckConfig$k(untrustedConfig);
794
+ const config = typeCheckConfig$m(untrustedConfig);
795
795
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
796
796
  return null;
797
797
  }
798
798
  return config;
799
799
  }
800
- function buildNetworkSnapshot$k(luvio, config, options) {
801
- const resourceParams = createResourceParams$k(config);
802
- const request = createResourceRequest$k(resourceParams);
800
+ function buildNetworkSnapshot$m(luvio, config, options) {
801
+ const resourceParams = createResourceParams$m(config);
802
+ const request = createResourceRequest$m(resourceParams);
803
803
  return luvio.dispatchResourceRequest(request, options)
804
804
  .then(() => {
805
805
  return luvio.handleSuccessResponse(() => {
@@ -807,7 +807,7 @@ function buildNetworkSnapshot$k(luvio, config, options) {
807
807
  return luvio.storeBroadcast();
808
808
  }, () => {
809
809
  const cache = new StoreKeyMap();
810
- getResponseCacheKeys$k(cache, luvio, resourceParams);
810
+ getResponseCacheKeys$m(cache, luvio, resourceParams);
811
811
  return cache;
812
812
  });
813
813
  }, (response) => {
@@ -817,15 +817,16 @@ function buildNetworkSnapshot$k(luvio, config, options) {
817
817
  }
818
818
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
819
819
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
820
- const config = validateAdapterConfig$k(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
820
+ const config = validateAdapterConfig$m(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
821
821
  // Invalid or incomplete config
822
822
  if (config === null) {
823
- throw new Error(`Invalid config for "${adapterName$k}"`);
823
+ throw new Error(`Invalid config for "${adapterName$m}"`);
824
824
  }
825
- return buildNetworkSnapshot$k(luvio, config);
825
+ return buildNetworkSnapshot$m(luvio, config);
826
826
  };
827
827
  };
828
828
 
829
+ const TTL$4 = 900000;
829
830
  const VERSION$k = "252fe3a6509a770a876e36552ad8dd06";
830
831
  function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
831
832
  const v_error = (() => {
@@ -1165,19 +1166,19 @@ function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1165
1166
  return v_error === undefined ? null : v_error;
1166
1167
  }
1167
1168
  const RepresentationType$f = 'SlackBridgeConversationInfoOutputRepresentation';
1168
- function keyBuilder$x(luvio, config) {
1169
+ function keyBuilder$B(luvio, config) {
1169
1170
  return keyPrefix + '::' + RepresentationType$f + ':' + config.id;
1170
1171
  }
1171
1172
  function keyBuilderFromType$7(luvio, object) {
1172
1173
  const keyParams = {
1173
1174
  id: object.id
1174
1175
  };
1175
- return keyBuilder$x(luvio, keyParams);
1176
+ return keyBuilder$B(luvio, keyParams);
1176
1177
  }
1177
1178
  function normalize$f(input, existing, path, luvio, store, timestamp) {
1178
1179
  return input;
1179
1180
  }
1180
- const select$E = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1181
+ const select$G = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1181
1182
  return {
1182
1183
  kind: 'Fragment',
1183
1184
  version: VERSION$k,
@@ -1341,7 +1342,7 @@ const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(
1341
1342
  }
1342
1343
  }
1343
1344
  const key = keyBuilderFromType$7(luvio, input);
1344
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1345
+ const ttlToUse = TTL$4;
1345
1346
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$k, RepresentationType$f, equals$k);
1346
1347
  return createLink(key);
1347
1348
  };
@@ -1374,7 +1375,7 @@ function validate$j(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1374
1375
  })();
1375
1376
  return v_error === undefined ? null : v_error;
1376
1377
  }
1377
- const select$D = function SlackBridgeFileTypeOutputRepresentationSelect() {
1378
+ const select$F = function SlackBridgeFileTypeOutputRepresentationSelect() {
1378
1379
  return {
1379
1380
  kind: 'Fragment',
1380
1381
  version: VERSION$j,
@@ -1489,8 +1490,8 @@ function validate$i(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1489
1490
  })();
1490
1491
  return v_error === undefined ? null : v_error;
1491
1492
  }
1492
- const select$C = function SlackBridgeContentVersionOutputRepresentationSelect() {
1493
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
1493
+ const select$E = function SlackBridgeContentVersionOutputRepresentationSelect() {
1494
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$F();
1494
1495
  return {
1495
1496
  kind: 'Fragment',
1496
1497
  version: VERSION$i,
@@ -1602,9 +1603,9 @@ function validate$h(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1602
1603
  })();
1603
1604
  return v_error === undefined ? null : v_error;
1604
1605
  }
1605
- const select$B = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1606
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
1607
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$C();
1606
+ const select$D = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1607
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$F();
1608
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$E();
1608
1609
  return {
1609
1610
  kind: 'Fragment',
1610
1611
  version: VERSION$h,
@@ -1837,20 +1838,20 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1837
1838
  return v_error === undefined ? null : v_error;
1838
1839
  }
1839
1840
  const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
1840
- function keyBuilder$w(luvio, config) {
1841
+ function keyBuilder$A(luvio, config) {
1841
1842
  return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
1842
1843
  }
1843
1844
  function keyBuilderFromType$6(luvio, object) {
1844
1845
  const keyParams = {
1845
1846
  uniqueKey: object.uniqueKey
1846
1847
  };
1847
- return keyBuilder$w(luvio, keyParams);
1848
+ return keyBuilder$A(luvio, keyParams);
1848
1849
  }
1849
1850
  function normalize$e(input, existing, path, luvio, store, timestamp) {
1850
1851
  return input;
1851
1852
  }
1852
- const select$A = function SlackBridgeFileOutputRepresentationSelect() {
1853
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$B();
1853
+ const select$C = function SlackBridgeFileOutputRepresentationSelect() {
1854
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$D();
1854
1855
  return {
1855
1856
  kind: 'Fragment',
1856
1857
  version: VERSION$g,
@@ -2383,8 +2384,8 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
2383
2384
  }
2384
2385
  return input;
2385
2386
  }
2386
- const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2387
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$G();
2387
+ const select$B = function SlackBridgeMessageOutputRepresentationSelect() {
2388
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$I();
2388
2389
  return {
2389
2390
  kind: 'Fragment',
2390
2391
  version: VERSION$f,
@@ -2408,7 +2409,7 @@ const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2408
2409
  name: 'files',
2409
2410
  kind: 'Link',
2410
2411
  plural: true,
2411
- fragment: select$A()
2412
+ fragment: select$C()
2412
2413
  },
2413
2414
  {
2414
2415
  name: 'includesCustomEmoji',
@@ -2719,7 +2720,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
2719
2720
  }
2720
2721
  return input;
2721
2722
  }
2722
- const select$y = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
2723
+ const select$A = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
2723
2724
  return {
2724
2725
  kind: 'Fragment',
2725
2726
  version: VERSION$e,
@@ -2729,13 +2730,13 @@ const select$y = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
2729
2730
  name: 'conversations',
2730
2731
  kind: 'Link',
2731
2732
  plural: true,
2732
- fragment: select$E()
2733
+ fragment: select$G()
2733
2734
  },
2734
2735
  {
2735
2736
  name: 'messages',
2736
2737
  kind: 'Link',
2737
2738
  plural: true,
2738
- fragment: select$z()
2739
+ fragment: select$B()
2739
2740
  },
2740
2741
  {
2741
2742
  name: 'teamId',
@@ -2802,22 +2803,22 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2802
2803
  }
2803
2804
  }
2804
2805
 
2805
- function select$x(luvio, params) {
2806
- return select$y();
2806
+ function select$z(luvio, params) {
2807
+ return select$A();
2807
2808
  }
2808
- function keyBuilder$v(luvio, params) {
2809
+ function keyBuilder$z(luvio, params) {
2809
2810
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
2810
2811
  }
2811
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
2812
- getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
2812
+ function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
2813
+ getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$z(luvio, resourceParams));
2813
2814
  }
2814
- function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
2815
+ function ingestSuccess$l(luvio, resourceParams, response, snapshotRefresh) {
2815
2816
  const { body } = response;
2816
- const key = keyBuilder$v(luvio, resourceParams);
2817
+ const key = keyBuilder$z(luvio, resourceParams);
2817
2818
  luvio.storeIngest(key, ingest$c, body);
2818
2819
  const snapshot = luvio.storeLookup({
2819
2820
  recordId: key,
2820
- node: select$x(),
2821
+ node: select$z(),
2821
2822
  variables: {},
2822
2823
  }, snapshotRefresh);
2823
2824
  if (process.env.NODE_ENV !== 'production') {
@@ -2828,8 +2829,8 @@ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
2828
2829
  deepFreeze(snapshot.data);
2829
2830
  return snapshot;
2830
2831
  }
2831
- function ingestError$c(luvio, params, error, snapshotRefresh) {
2832
- const key = keyBuilder$v(luvio, params);
2832
+ function ingestError$e(luvio, params, error, snapshotRefresh) {
2833
+ const key = keyBuilder$z(luvio, params);
2833
2834
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2834
2835
  const storeMetadataParams = {
2835
2836
  ttl: TTL$3,
@@ -2840,7 +2841,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
2840
2841
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2841
2842
  return errorSnapshot;
2842
2843
  }
2843
- function createResourceRequest$j(config) {
2844
+ function createResourceRequest$l(config) {
2844
2845
  const headers = {};
2845
2846
  return {
2846
2847
  baseUri: '/services/data/v64.0',
@@ -2854,90 +2855,90 @@ function createResourceRequest$j(config) {
2854
2855
  };
2855
2856
  }
2856
2857
 
2857
- const adapterName$j = 'getRelatedThreads';
2858
+ const adapterName$l = 'getRelatedThreads';
2858
2859
  const getRelatedThreads_ConfigPropertyMetadata = [
2859
2860
  generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
2860
2861
  ];
2861
- const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getRelatedThreads_ConfigPropertyMetadata);
2862
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$n(getRelatedThreads_ConfigPropertyMetadata);
2863
- function keyBuilder$u(luvio, config) {
2864
- const resourceParams = createResourceParams$j(config);
2865
- return keyBuilder$v(luvio, resourceParams);
2862
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getRelatedThreads_ConfigPropertyMetadata);
2863
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$p(getRelatedThreads_ConfigPropertyMetadata);
2864
+ function keyBuilder$y(luvio, config) {
2865
+ const resourceParams = createResourceParams$l(config);
2866
+ return keyBuilder$z(luvio, resourceParams);
2866
2867
  }
2867
- function typeCheckConfig$j(untrustedConfig) {
2868
+ function typeCheckConfig$l(untrustedConfig) {
2868
2869
  const config = {};
2869
- typeCheckConfig$n(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
2870
+ typeCheckConfig$p(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
2870
2871
  return config;
2871
2872
  }
2872
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
2873
+ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
2873
2874
  if (!untrustedIsObject(untrustedConfig)) {
2874
2875
  return null;
2875
2876
  }
2876
2877
  if (process.env.NODE_ENV !== 'production') {
2877
2878
  validateConfig(untrustedConfig, configPropertyNames);
2878
2879
  }
2879
- const config = typeCheckConfig$j(untrustedConfig);
2880
+ const config = typeCheckConfig$l(untrustedConfig);
2880
2881
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2881
2882
  return null;
2882
2883
  }
2883
2884
  return config;
2884
2885
  }
2885
- function adapterFragment$c(luvio, config) {
2886
- createResourceParams$j(config);
2887
- return select$x();
2886
+ function adapterFragment$e(luvio, config) {
2887
+ createResourceParams$l(config);
2888
+ return select$z();
2888
2889
  }
2889
- function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
2890
- const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
2890
+ function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
2891
+ const snapshot = ingestSuccess$l(luvio, resourceParams, response, {
2891
2892
  config,
2892
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
2893
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
2893
2894
  });
2894
2895
  return luvio.storeBroadcast().then(() => snapshot);
2895
2896
  }
2896
- function onFetchResponseError$c(luvio, config, resourceParams, response) {
2897
- const snapshot = ingestError$c(luvio, resourceParams, response, {
2897
+ function onFetchResponseError$e(luvio, config, resourceParams, response) {
2898
+ const snapshot = ingestError$e(luvio, resourceParams, response, {
2898
2899
  config,
2899
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
2900
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
2900
2901
  });
2901
2902
  return luvio.storeBroadcast().then(() => snapshot);
2902
2903
  }
2903
- function buildNetworkSnapshot$j(luvio, config, options) {
2904
- const resourceParams = createResourceParams$j(config);
2905
- const request = createResourceRequest$j(resourceParams);
2904
+ function buildNetworkSnapshot$l(luvio, config, options) {
2905
+ const resourceParams = createResourceParams$l(config);
2906
+ const request = createResourceRequest$l(resourceParams);
2906
2907
  return luvio.dispatchResourceRequest(request, options)
2907
2908
  .then((response) => {
2908
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
2909
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$e(luvio, config, resourceParams, response), () => {
2909
2910
  const cache = new StoreKeyMap();
2910
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
2911
+ getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
2911
2912
  return cache;
2912
2913
  });
2913
2914
  }, (response) => {
2914
- return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
2915
+ return luvio.handleErrorResponse(() => onFetchResponseError$e(luvio, config, resourceParams, response));
2915
2916
  });
2916
2917
  }
2917
- function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
2918
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
2918
+ function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
2919
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
2919
2920
  }
2920
- function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
2921
+ function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
2921
2922
  const { luvio, config } = context;
2922
2923
  const selector = {
2923
- recordId: keyBuilder$u(luvio, config),
2924
- node: adapterFragment$c(luvio, config),
2924
+ recordId: keyBuilder$y(luvio, config),
2925
+ node: adapterFragment$e(luvio, config),
2925
2926
  variables: {},
2926
2927
  };
2927
2928
  const cacheSnapshot = storeLookup(selector, {
2928
2929
  config,
2929
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
2930
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
2930
2931
  });
2931
2932
  return cacheSnapshot;
2932
2933
  }
2933
2934
  const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
2934
- const config = validateAdapterConfig$j(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
2935
+ const config = validateAdapterConfig$l(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
2935
2936
  // Invalid or incomplete config
2936
2937
  if (config === null) {
2937
2938
  return null;
2938
2939
  }
2939
2940
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2940
- buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
2941
+ buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
2941
2942
  };
2942
2943
 
2943
2944
  const VERSION$d = "6a2ede1150bccf991e3f6ea7b55a9964";
@@ -3027,7 +3028,7 @@ function validate$d(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
3027
3028
  })();
3028
3029
  return v_error === undefined ? null : v_error;
3029
3030
  }
3030
- const select$w = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3031
+ const select$y = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3031
3032
  return {
3032
3033
  kind: 'Fragment',
3033
3034
  version: VERSION$d,
@@ -3216,20 +3217,20 @@ function validate$c(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
3216
3217
  return v_error === undefined ? null : v_error;
3217
3218
  }
3218
3219
  const RepresentationType$b = 'SlackBridgeEmojiOutputRepresentation';
3219
- function keyBuilder$t(luvio, config) {
3220
+ function keyBuilder$x(luvio, config) {
3220
3221
  return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
3221
3222
  }
3222
3223
  function keyBuilderFromType$5(luvio, object) {
3223
3224
  const keyParams = {
3224
3225
  name: object.name
3225
3226
  };
3226
- return keyBuilder$t(luvio, keyParams);
3227
+ return keyBuilder$x(luvio, keyParams);
3227
3228
  }
3228
3229
  function normalize$b(input, existing, path, luvio, store, timestamp) {
3229
3230
  return input;
3230
3231
  }
3231
- const select$v = function SlackBridgeEmojiOutputRepresentationSelect() {
3232
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$w();
3232
+ const select$x = function SlackBridgeEmojiOutputRepresentationSelect() {
3233
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$y();
3233
3234
  return {
3234
3235
  kind: 'Fragment',
3235
3236
  version: VERSION$c,
@@ -3322,7 +3323,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3322
3323
  });
3323
3324
  }
3324
3325
 
3325
- const TTL$1 = 600000;
3326
+ const TTL$1 = 900000;
3326
3327
  const VERSION$b = "2871ae193ac5e60b5cc0d6c4111e8615";
3327
3328
  function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3328
3329
  const v_error = (() => {
@@ -3749,14 +3750,14 @@ function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3749
3750
  return v_error === undefined ? null : v_error;
3750
3751
  }
3751
3752
  const RepresentationType$a = 'SlackBridgeUserInfoOutputRepresentation';
3752
- function keyBuilder$s(luvio, config) {
3753
+ function keyBuilder$w(luvio, config) {
3753
3754
  return keyPrefix + '::' + RepresentationType$a + ':' + config.slackUserId;
3754
3755
  }
3755
3756
  function keyBuilderFromType$4(luvio, object) {
3756
3757
  const keyParams = {
3757
3758
  slackUserId: object.slackUserId
3758
3759
  };
3759
- return keyBuilder$s(luvio, keyParams);
3760
+ return keyBuilder$w(luvio, keyParams);
3760
3761
  }
3761
3762
  function normalize$a(input, existing, path, luvio, store, timestamp) {
3762
3763
  const input_statusEmoji = input.statusEmoji;
@@ -3775,7 +3776,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3775
3776
  }
3776
3777
  return input;
3777
3778
  }
3778
- const select$u = function SlackBridgeUserInfoOutputRepresentationSelect() {
3779
+ const select$w = function SlackBridgeUserInfoOutputRepresentationSelect() {
3779
3780
  return {
3780
3781
  kind: 'Fragment',
3781
3782
  version: VERSION$b,
@@ -3848,7 +3849,7 @@ const select$u = function SlackBridgeUserInfoOutputRepresentationSelect() {
3848
3849
  name: 'statusEmoji',
3849
3850
  kind: 'Link',
3850
3851
  nullable: true,
3851
- fragment: select$v()
3852
+ fragment: select$x()
3852
3853
  },
3853
3854
  {
3854
3855
  name: 'statusMessage',
@@ -4089,7 +4090,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
4089
4090
  }
4090
4091
  return input;
4091
4092
  }
4092
- const select$t = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4093
+ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4093
4094
  return {
4094
4095
  kind: 'Fragment',
4095
4096
  version: VERSION$a,
@@ -4103,7 +4104,7 @@ const select$t = function SlackBridgeConversationHistoryOutputRepresentationSele
4103
4104
  name: 'messages',
4104
4105
  kind: 'Link',
4105
4106
  plural: true,
4106
- fragment: select$z()
4107
+ fragment: select$B()
4107
4108
  },
4108
4109
  {
4109
4110
  name: 'nextCursor',
@@ -4161,7 +4162,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4161
4162
  }
4162
4163
  }
4163
4164
 
4164
- const VERSION$9 = "7ec6cbca3e2948ff5ef00e4034f365d5";
4165
+ const VERSION$9 = "1119f2c416d047eefd8303c5a2d590ae";
4165
4166
  function validate$9(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4166
4167
  const v_error = (() => {
4167
4168
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4229,6 +4230,30 @@ function validate$9(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4229
4230
  message += '\n' + obj_conversationInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
4230
4231
  return new TypeError(message);
4231
4232
  }
4233
+ const obj_conversationInfos = obj.conversationInfos;
4234
+ const path_conversationInfos = path + '.conversationInfos';
4235
+ if (!ArrayIsArray(obj_conversationInfos)) {
4236
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
4237
+ }
4238
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
4239
+ const obj_conversationInfos_item = obj_conversationInfos[i];
4240
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
4241
+ if (typeof obj_conversationInfos_item !== 'object') {
4242
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
4243
+ }
4244
+ }
4245
+ const obj_emojis = obj.emojis;
4246
+ const path_emojis = path + '.emojis';
4247
+ if (!ArrayIsArray(obj_emojis)) {
4248
+ return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
4249
+ }
4250
+ for (let i = 0; i < obj_emojis.length; i++) {
4251
+ const obj_emojis_item = obj_emojis[i];
4252
+ const path_emojis_item = path_emojis + '[' + i + ']';
4253
+ if (typeof obj_emojis_item !== 'object') {
4254
+ return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
4255
+ }
4256
+ }
4232
4257
  const obj_history = obj.history;
4233
4258
  const path_history = path + '.history';
4234
4259
  if (typeof obj_history !== 'object') {
@@ -4336,6 +4361,38 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4336
4361
  ttl: path.ttl
4337
4362
  }, luvio, store, timestamp);
4338
4363
  }
4364
+ const input_conversationInfos = input.conversationInfos;
4365
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
4366
+ for (let i = 0; i < input_conversationInfos.length; i++) {
4367
+ const input_conversationInfos_item = input_conversationInfos[i];
4368
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
4369
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
4370
+ fullPath: input_conversationInfos_item_id,
4371
+ propertyName: i,
4372
+ parent: {
4373
+ data: input,
4374
+ key: path.fullPath,
4375
+ existing: existing,
4376
+ },
4377
+ ttl: path.ttl
4378
+ }, luvio, store, timestamp);
4379
+ }
4380
+ const input_emojis = input.emojis;
4381
+ const input_emojis_id = path.fullPath + '__emojis';
4382
+ for (let i = 0; i < input_emojis.length; i++) {
4383
+ const input_emojis_item = input_emojis[i];
4384
+ let input_emojis_item_id = input_emojis_id + '__' + i;
4385
+ input_emojis[i] = ingest$b(input_emojis_item, {
4386
+ fullPath: input_emojis_item_id,
4387
+ propertyName: i,
4388
+ parent: {
4389
+ data: input,
4390
+ key: path.fullPath,
4391
+ existing: existing,
4392
+ },
4393
+ ttl: path.ttl
4394
+ }, luvio, store, timestamp);
4395
+ }
4339
4396
  const input_history = input.history;
4340
4397
  const input_history_id = path.fullPath + '__history';
4341
4398
  input.history = ingest$9(input_history, {
@@ -4366,7 +4423,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4366
4423
  }
4367
4424
  return input;
4368
4425
  }
4369
- const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
4426
+ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
4370
4427
  return {
4371
4428
  kind: 'Fragment',
4372
4429
  version: VERSION$9,
@@ -4384,18 +4441,30 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
4384
4441
  name: 'contextUserInfo',
4385
4442
  kind: 'Link',
4386
4443
  nullable: true,
4387
- fragment: select$u()
4444
+ fragment: select$w()
4388
4445
  },
4389
4446
  {
4390
4447
  name: 'conversationInfo',
4391
4448
  kind: 'Link',
4392
4449
  nullable: true,
4393
- fragment: select$E()
4450
+ fragment: select$G()
4451
+ },
4452
+ {
4453
+ name: 'conversationInfos',
4454
+ kind: 'Link',
4455
+ plural: true,
4456
+ fragment: select$G()
4457
+ },
4458
+ {
4459
+ name: 'emojis',
4460
+ kind: 'Link',
4461
+ plural: true,
4462
+ fragment: select$x()
4394
4463
  },
4395
4464
  {
4396
4465
  name: 'history',
4397
4466
  kind: 'Link',
4398
- fragment: select$t()
4467
+ fragment: select$v()
4399
4468
  },
4400
4469
  {
4401
4470
  name: 'teamId',
@@ -4409,7 +4478,7 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
4409
4478
  name: 'userInfos',
4410
4479
  kind: 'Link',
4411
4480
  plural: true,
4412
- fragment: select$u()
4481
+ fragment: select$w()
4413
4482
  },
4414
4483
  {
4415
4484
  name: 'websocketUrl',
@@ -4454,6 +4523,26 @@ function equals$9(existing, incoming) {
4454
4523
  existing_conversationInfo.__ref === incoming_conversationInfo.__ref))) {
4455
4524
  return false;
4456
4525
  }
4526
+ const existing_conversationInfos = existing.conversationInfos;
4527
+ const incoming_conversationInfos = incoming.conversationInfos;
4528
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
4529
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
4530
+ return false;
4531
+ }
4532
+ });
4533
+ if (equals_conversationInfos_items === false) {
4534
+ return false;
4535
+ }
4536
+ const existing_emojis = existing.emojis;
4537
+ const incoming_emojis = incoming.emojis;
4538
+ const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
4539
+ if (!(existing_emojis_item.__ref === incoming_emojis_item.__ref)) {
4540
+ return false;
4541
+ }
4542
+ });
4543
+ if (equals_emojis_items === false) {
4544
+ return false;
4545
+ }
4457
4546
  const existing_history = existing.history;
4458
4547
  const incoming_history = incoming.history;
4459
4548
  if (!(existing_history.__ref === incoming_history.__ref)) {
@@ -4507,6 +4596,14 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4507
4596
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
4508
4597
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4509
4598
  }
4599
+ const input_conversationInfos_length = input.conversationInfos.length;
4600
+ for (let i = 0; i < input_conversationInfos_length; i++) {
4601
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
4602
+ }
4603
+ const input_emojis_length = input.emojis.length;
4604
+ for (let i = 0; i < input_emojis_length; i++) {
4605
+ getTypeCacheKeys$b(rootKeySet, luvio, input.emojis[i]);
4606
+ }
4510
4607
  getTypeCacheKeys$9(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
4511
4608
  const input_userInfos_length = input.userInfos.length;
4512
4609
  for (let i = 0; i < input_userInfos_length; i++) {
@@ -4514,22 +4611,22 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4514
4611
  }
4515
4612
  }
4516
4613
 
4517
- function select$r(luvio, params) {
4518
- return select$s();
4614
+ function select$t(luvio, params) {
4615
+ return select$u();
4519
4616
  }
4520
- function keyBuilder$r(luvio, params) {
4617
+ function keyBuilder$v(luvio, params) {
4521
4618
  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 + ')';
4522
4619
  }
4523
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4524
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
4620
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
4621
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
4525
4622
  }
4526
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4623
+ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
4527
4624
  const { body } = response;
4528
- const key = keyBuilder$r(luvio, resourceParams);
4625
+ const key = keyBuilder$v(luvio, resourceParams);
4529
4626
  luvio.storeIngest(key, ingest$8, body);
4530
4627
  const snapshot = luvio.storeLookup({
4531
4628
  recordId: key,
4532
- node: select$r(),
4629
+ node: select$t(),
4533
4630
  variables: {},
4534
4631
  }, snapshotRefresh);
4535
4632
  if (process.env.NODE_ENV !== 'production') {
@@ -4540,13 +4637,13 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4540
4637
  deepFreeze(snapshot.data);
4541
4638
  return snapshot;
4542
4639
  }
4543
- function ingestError$b(luvio, params, error, snapshotRefresh) {
4544
- const key = keyBuilder$r(luvio, params);
4640
+ function ingestError$d(luvio, params, error, snapshotRefresh) {
4641
+ const key = keyBuilder$v(luvio, params);
4545
4642
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4546
4643
  luvio.storeIngestError(key, errorSnapshot);
4547
4644
  return errorSnapshot;
4548
4645
  }
4549
- function createResourceRequest$i(config) {
4646
+ function createResourceRequest$k(config) {
4550
4647
  const headers = {};
4551
4648
  return {
4552
4649
  baseUri: '/services/data/v64.0',
@@ -4560,7 +4657,7 @@ function createResourceRequest$i(config) {
4560
4657
  };
4561
4658
  }
4562
4659
 
4563
- const adapterName$i = 'getSlackConversation';
4660
+ const adapterName$k = 'getSlackConversation';
4564
4661
  const getSlackConversation_ConfigPropertyMetadata = [
4565
4662
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
4566
4663
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -4572,94 +4669,539 @@ const getSlackConversation_ConfigPropertyMetadata = [
4572
4669
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
4573
4670
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
4574
4671
  ];
4575
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackConversation_ConfigPropertyMetadata);
4576
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$n(getSlackConversation_ConfigPropertyMetadata);
4577
- function keyBuilder$q(luvio, config) {
4578
- const resourceParams = createResourceParams$i(config);
4579
- return keyBuilder$r(luvio, resourceParams);
4672
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getSlackConversation_ConfigPropertyMetadata);
4673
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$p(getSlackConversation_ConfigPropertyMetadata);
4674
+ function keyBuilder$u(luvio, config) {
4675
+ const resourceParams = createResourceParams$k(config);
4676
+ return keyBuilder$v(luvio, resourceParams);
4580
4677
  }
4581
- function typeCheckConfig$i(untrustedConfig) {
4678
+ function typeCheckConfig$k(untrustedConfig) {
4582
4679
  const config = {};
4583
- typeCheckConfig$n(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
4680
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
4584
4681
  return config;
4585
4682
  }
4586
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4683
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4587
4684
  if (!untrustedIsObject(untrustedConfig)) {
4588
4685
  return null;
4589
4686
  }
4590
4687
  if (process.env.NODE_ENV !== 'production') {
4591
4688
  validateConfig(untrustedConfig, configPropertyNames);
4592
4689
  }
4593
- const config = typeCheckConfig$i(untrustedConfig);
4690
+ const config = typeCheckConfig$k(untrustedConfig);
4594
4691
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4595
4692
  return null;
4596
4693
  }
4597
4694
  return config;
4598
4695
  }
4599
- function adapterFragment$b(luvio, config) {
4600
- createResourceParams$i(config);
4601
- return select$r();
4696
+ function adapterFragment$d(luvio, config) {
4697
+ createResourceParams$k(config);
4698
+ return select$t();
4602
4699
  }
4603
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4604
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
4700
+ function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
4701
+ const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
4605
4702
  config,
4606
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4703
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
4607
4704
  });
4608
4705
  return luvio.storeBroadcast().then(() => snapshot);
4609
4706
  }
4610
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
4611
- const snapshot = ingestError$b(luvio, resourceParams, response, {
4707
+ function onFetchResponseError$d(luvio, config, resourceParams, response) {
4708
+ const snapshot = ingestError$d(luvio, resourceParams, response, {
4612
4709
  config,
4613
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4710
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
4614
4711
  });
4615
4712
  return luvio.storeBroadcast().then(() => snapshot);
4616
4713
  }
4617
- function buildNetworkSnapshot$i(luvio, config, options) {
4618
- const resourceParams = createResourceParams$i(config);
4619
- const request = createResourceRequest$i(resourceParams);
4714
+ function buildNetworkSnapshot$k(luvio, config, options) {
4715
+ const resourceParams = createResourceParams$k(config);
4716
+ const request = createResourceRequest$k(resourceParams);
4620
4717
  return luvio.dispatchResourceRequest(request, options)
4621
4718
  .then((response) => {
4622
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4719
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
4623
4720
  const cache = new StoreKeyMap();
4624
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4721
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4625
4722
  return cache;
4626
4723
  });
4627
4724
  }, (response) => {
4628
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4725
+ return luvio.handleErrorResponse(() => onFetchResponseError$d(luvio, config, resourceParams, response));
4629
4726
  });
4630
4727
  }
4631
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4632
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4728
+ function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
4729
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
4633
4730
  }
4634
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4731
+ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
4635
4732
  const { luvio, config } = context;
4636
4733
  const selector = {
4637
- recordId: keyBuilder$q(luvio, config),
4638
- node: adapterFragment$b(luvio, config),
4734
+ recordId: keyBuilder$u(luvio, config),
4735
+ node: adapterFragment$d(luvio, config),
4639
4736
  variables: {},
4640
4737
  };
4641
4738
  const cacheSnapshot = storeLookup(selector, {
4642
4739
  config,
4643
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4740
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
4644
4741
  });
4645
4742
  return cacheSnapshot;
4646
4743
  }
4647
4744
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
4648
- const config = validateAdapterConfig$i(untrustedConfig, getSlackConversation_ConfigPropertyNames);
4745
+ const config = validateAdapterConfig$k(untrustedConfig, getSlackConversation_ConfigPropertyNames);
4649
4746
  // Invalid or incomplete config
4650
4747
  if (config === null) {
4651
4748
  return null;
4652
4749
  }
4653
4750
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4654
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4751
+ buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
4655
4752
  };
4656
4753
 
4657
- function select$q(luvio, params) {
4658
- return select$I();
4754
+ function select$s(luvio, params) {
4755
+ return select$G();
4659
4756
  }
4660
- function keyBuilder$p(luvio, params) {
4661
- return keyBuilder$D(luvio, {
4662
- channelId: params.urlParams.channelId
4757
+ function keyBuilder$t(luvio, params) {
4758
+ return keyBuilder$B(luvio, {
4759
+ id: params.urlParams.channelId
4760
+ });
4761
+ }
4762
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4763
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
4764
+ }
4765
+ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
4766
+ const { body } = response;
4767
+ const key = keyBuilder$t(luvio, resourceParams);
4768
+ luvio.storeIngest(key, ingest$f, body);
4769
+ const snapshot = luvio.storeLookup({
4770
+ recordId: key,
4771
+ node: select$s(),
4772
+ variables: {},
4773
+ }, snapshotRefresh);
4774
+ if (process.env.NODE_ENV !== 'production') {
4775
+ if (snapshot.state !== 'Fulfilled') {
4776
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4777
+ }
4778
+ }
4779
+ deepFreeze(snapshot.data);
4780
+ return snapshot;
4781
+ }
4782
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
4783
+ const key = keyBuilder$t(luvio, params);
4784
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4785
+ const storeMetadataParams = {
4786
+ ttl: TTL$4,
4787
+ namespace: keyPrefix,
4788
+ version: VERSION$k,
4789
+ representationName: RepresentationType$f
4790
+ };
4791
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4792
+ return errorSnapshot;
4793
+ }
4794
+ function createResourceRequest$j(config) {
4795
+ const headers = {};
4796
+ return {
4797
+ baseUri: '/services/data/v64.0',
4798
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels/' + config.urlParams.channelId + '',
4799
+ method: 'get',
4800
+ body: null,
4801
+ urlParams: config.urlParams,
4802
+ queryParams: {},
4803
+ headers,
4804
+ priority: 'normal',
4805
+ };
4806
+ }
4807
+ function createResourceRequestFromRepresentation$6(representation) {
4808
+ const config = {
4809
+ urlParams: {},
4810
+ };
4811
+ config.urlParams.channelId = representation.id;
4812
+ return createResourceRequest$j(config);
4813
+ }
4814
+
4815
+ const adapterName$j = 'getSlackConversationInfo';
4816
+ const getSlackConversationInfo_ConfigPropertyMetadata = [
4817
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4818
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4819
+ ];
4820
+ const getSlackConversationInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSlackConversationInfo_ConfigPropertyMetadata);
4821
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$p(getSlackConversationInfo_ConfigPropertyMetadata);
4822
+ function keyBuilder$s(luvio, config) {
4823
+ const resourceParams = createResourceParams$j(config);
4824
+ return keyBuilder$t(luvio, resourceParams);
4825
+ }
4826
+ function typeCheckConfig$j(untrustedConfig) {
4827
+ const config = {};
4828
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationInfo_ConfigPropertyMetadata);
4829
+ return config;
4830
+ }
4831
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4832
+ if (!untrustedIsObject(untrustedConfig)) {
4833
+ return null;
4834
+ }
4835
+ if (process.env.NODE_ENV !== 'production') {
4836
+ validateConfig(untrustedConfig, configPropertyNames);
4837
+ }
4838
+ const config = typeCheckConfig$j(untrustedConfig);
4839
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4840
+ return null;
4841
+ }
4842
+ return config;
4843
+ }
4844
+ function adapterFragment$c(luvio, config) {
4845
+ createResourceParams$j(config);
4846
+ return select$s();
4847
+ }
4848
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
4849
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
4850
+ config,
4851
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4852
+ });
4853
+ return luvio.storeBroadcast().then(() => snapshot);
4854
+ }
4855
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
4856
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
4857
+ config,
4858
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4859
+ });
4860
+ return luvio.storeBroadcast().then(() => snapshot);
4861
+ }
4862
+ function buildNetworkSnapshot$j(luvio, config, options) {
4863
+ const resourceParams = createResourceParams$j(config);
4864
+ const request = createResourceRequest$j(resourceParams);
4865
+ return luvio.dispatchResourceRequest(request, options)
4866
+ .then((response) => {
4867
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
4868
+ const cache = new StoreKeyMap();
4869
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4870
+ return cache;
4871
+ });
4872
+ }, (response) => {
4873
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
4874
+ });
4875
+ }
4876
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
4877
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
4878
+ }
4879
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
4880
+ const { luvio, config } = context;
4881
+ const selector = {
4882
+ recordId: keyBuilder$s(luvio, config),
4883
+ node: adapterFragment$c(luvio, config),
4884
+ variables: {},
4885
+ };
4886
+ const cacheSnapshot = storeLookup(selector, {
4887
+ config,
4888
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4889
+ });
4890
+ return cacheSnapshot;
4891
+ }
4892
+ const getSlackConversationInfoAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfo(untrustedConfig, requestContext) {
4893
+ const config = validateAdapterConfig$j(untrustedConfig, getSlackConversationInfo_ConfigPropertyNames);
4894
+ // Invalid or incomplete config
4895
+ if (config === null) {
4896
+ return null;
4897
+ }
4898
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4899
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
4900
+ };
4901
+ const notifyChangeFactory$6 = (luvio, options) => {
4902
+ return function getConnectSlackbridgeTeamChannelsByChannelIdAndTeamIdNotifyChange(configs) {
4903
+ const keys = configs.map(c => keyBuilder$B(luvio, c));
4904
+ luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4905
+ for (let i = 0, len = entries.length; i < len; i++) {
4906
+ const { key, record: val } = entries[i];
4907
+ const refreshRequest = createResourceRequestFromRepresentation$6(val);
4908
+ luvio.dispatchResourceRequest(refreshRequest, options)
4909
+ .then((response) => {
4910
+ return luvio.handleSuccessResponse(() => {
4911
+ const { body } = response;
4912
+ luvio.storeIngest(key, ingest$f, body);
4913
+ return luvio.storeBroadcast();
4914
+ }, () => {
4915
+ const cache = new StoreKeyMap();
4916
+ getTypeCacheKeys$f(cache, luvio, response.body);
4917
+ return cache;
4918
+ });
4919
+ }, (error) => {
4920
+ return luvio.handleErrorResponse(() => {
4921
+ const errorSnapshot = luvio.errorSnapshot(error);
4922
+ luvio.storeIngestError(key, errorSnapshot, {
4923
+ ttl: TTL$4,
4924
+ namespace: keyPrefix,
4925
+ version: VERSION$k,
4926
+ representationName: RepresentationType$f
4927
+ });
4928
+ return luvio.storeBroadcast().then(() => errorSnapshot);
4929
+ });
4930
+ });
4931
+ }
4932
+ });
4933
+ };
4934
+ };
4935
+
4936
+ const VERSION$8 = "0de597a47ca8ecad2cfb7fd9c8f73920";
4937
+ function validate$8(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
4938
+ const v_error = (() => {
4939
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4940
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4941
+ }
4942
+ const obj_conversationInfos = obj.conversationInfos;
4943
+ const path_conversationInfos = path + '.conversationInfos';
4944
+ if (!ArrayIsArray(obj_conversationInfos)) {
4945
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
4946
+ }
4947
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
4948
+ const obj_conversationInfos_item = obj_conversationInfos[i];
4949
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
4950
+ if (typeof obj_conversationInfos_item !== 'object') {
4951
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
4952
+ }
4953
+ }
4954
+ const obj_searchString = obj.searchString;
4955
+ const path_searchString = path + '.searchString';
4956
+ let obj_searchString_union0 = null;
4957
+ const obj_searchString_union0_error = (() => {
4958
+ if (typeof obj_searchString !== 'string') {
4959
+ return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
4960
+ }
4961
+ })();
4962
+ if (obj_searchString_union0_error != null) {
4963
+ obj_searchString_union0 = obj_searchString_union0_error.message;
4964
+ }
4965
+ let obj_searchString_union1 = null;
4966
+ const obj_searchString_union1_error = (() => {
4967
+ if (obj_searchString !== null) {
4968
+ return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
4969
+ }
4970
+ })();
4971
+ if (obj_searchString_union1_error != null) {
4972
+ obj_searchString_union1 = obj_searchString_union1_error.message;
4973
+ }
4974
+ if (obj_searchString_union0 && obj_searchString_union1) {
4975
+ let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
4976
+ message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
4977
+ message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
4978
+ return new TypeError(message);
4979
+ }
4980
+ })();
4981
+ return v_error === undefined ? null : v_error;
4982
+ }
4983
+ const RepresentationType$7 = 'SlackBridgeConversationInfosOutputRepresentation';
4984
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
4985
+ const input_conversationInfos = input.conversationInfos;
4986
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
4987
+ for (let i = 0; i < input_conversationInfos.length; i++) {
4988
+ const input_conversationInfos_item = input_conversationInfos[i];
4989
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
4990
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
4991
+ fullPath: input_conversationInfos_item_id,
4992
+ propertyName: i,
4993
+ parent: {
4994
+ data: input,
4995
+ key: path.fullPath,
4996
+ existing: existing,
4997
+ },
4998
+ ttl: path.ttl
4999
+ }, luvio, store, timestamp);
5000
+ }
5001
+ return input;
5002
+ }
5003
+ const select$r = function SlackBridgeConversationInfosOutputRepresentationSelect() {
5004
+ return {
5005
+ kind: 'Fragment',
5006
+ version: VERSION$8,
5007
+ private: [],
5008
+ selections: [
5009
+ {
5010
+ name: 'conversationInfos',
5011
+ kind: 'Link',
5012
+ plural: true,
5013
+ fragment: select$G()
5014
+ },
5015
+ {
5016
+ name: 'searchString',
5017
+ kind: 'Scalar'
5018
+ }
5019
+ ]
5020
+ };
5021
+ };
5022
+ function equals$8(existing, incoming) {
5023
+ const existing_conversationInfos = existing.conversationInfos;
5024
+ const incoming_conversationInfos = incoming.conversationInfos;
5025
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
5026
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
5027
+ return false;
5028
+ }
5029
+ });
5030
+ if (equals_conversationInfos_items === false) {
5031
+ return false;
5032
+ }
5033
+ const existing_searchString = existing.searchString;
5034
+ const incoming_searchString = incoming.searchString;
5035
+ if (!(existing_searchString === incoming_searchString)) {
5036
+ return false;
5037
+ }
5038
+ return true;
5039
+ }
5040
+ const ingest$7 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5041
+ if (process.env.NODE_ENV !== 'production') {
5042
+ const validateError = validate$8(input);
5043
+ if (validateError !== null) {
5044
+ throw validateError;
5045
+ }
5046
+ }
5047
+ const key = path.fullPath;
5048
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5049
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$8, RepresentationType$7, equals$8);
5050
+ return createLink(key);
5051
+ };
5052
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
5053
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5054
+ const rootKey = fullPathFactory();
5055
+ rootKeySet.set(rootKey, {
5056
+ namespace: keyPrefix,
5057
+ representationName: RepresentationType$7,
5058
+ mergeable: false
5059
+ });
5060
+ const input_conversationInfos_length = input.conversationInfos.length;
5061
+ for (let i = 0; i < input_conversationInfos_length; i++) {
5062
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
5063
+ }
5064
+ }
5065
+
5066
+ function select$q(luvio, params) {
5067
+ return select$r();
5068
+ }
5069
+ function keyBuilder$r(luvio, params) {
5070
+ return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'channelIds:' + params.queryParams.channelIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
5071
+ }
5072
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
5073
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
5074
+ }
5075
+ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
5076
+ const { body } = response;
5077
+ const key = keyBuilder$r(luvio, resourceParams);
5078
+ luvio.storeIngest(key, ingest$7, body);
5079
+ const snapshot = luvio.storeLookup({
5080
+ recordId: key,
5081
+ node: select$q(),
5082
+ variables: {},
5083
+ }, snapshotRefresh);
5084
+ if (process.env.NODE_ENV !== 'production') {
5085
+ if (snapshot.state !== 'Fulfilled') {
5086
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5087
+ }
5088
+ }
5089
+ deepFreeze(snapshot.data);
5090
+ return snapshot;
5091
+ }
5092
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
5093
+ const key = keyBuilder$r(luvio, params);
5094
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5095
+ luvio.storeIngestError(key, errorSnapshot);
5096
+ return errorSnapshot;
5097
+ }
5098
+ function createResourceRequest$i(config) {
5099
+ const headers = {};
5100
+ return {
5101
+ baseUri: '/services/data/v64.0',
5102
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels',
5103
+ method: 'get',
5104
+ body: null,
5105
+ urlParams: config.urlParams,
5106
+ queryParams: config.queryParams,
5107
+ headers,
5108
+ priority: 'normal',
5109
+ };
5110
+ }
5111
+
5112
+ const adapterName$i = 'getSlackConversationInfos';
5113
+ const getSlackConversationInfos_ConfigPropertyMetadata = [
5114
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5115
+ generateParamConfigMetadata('channelIds', true, 1 /* QueryParameter */, 0 /* String */, true),
5116
+ ];
5117
+ const getSlackConversationInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackConversationInfos_ConfigPropertyMetadata);
5118
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$p(getSlackConversationInfos_ConfigPropertyMetadata);
5119
+ function keyBuilder$q(luvio, config) {
5120
+ const resourceParams = createResourceParams$i(config);
5121
+ return keyBuilder$r(luvio, resourceParams);
5122
+ }
5123
+ function typeCheckConfig$i(untrustedConfig) {
5124
+ const config = {};
5125
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationInfos_ConfigPropertyMetadata);
5126
+ return config;
5127
+ }
5128
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
5129
+ if (!untrustedIsObject(untrustedConfig)) {
5130
+ return null;
5131
+ }
5132
+ if (process.env.NODE_ENV !== 'production') {
5133
+ validateConfig(untrustedConfig, configPropertyNames);
5134
+ }
5135
+ const config = typeCheckConfig$i(untrustedConfig);
5136
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5137
+ return null;
5138
+ }
5139
+ return config;
5140
+ }
5141
+ function adapterFragment$b(luvio, config) {
5142
+ createResourceParams$i(config);
5143
+ return select$q();
5144
+ }
5145
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
5146
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
5147
+ config,
5148
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
5149
+ });
5150
+ return luvio.storeBroadcast().then(() => snapshot);
5151
+ }
5152
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
5153
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
5154
+ config,
5155
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
5156
+ });
5157
+ return luvio.storeBroadcast().then(() => snapshot);
5158
+ }
5159
+ function buildNetworkSnapshot$i(luvio, config, options) {
5160
+ const resourceParams = createResourceParams$i(config);
5161
+ const request = createResourceRequest$i(resourceParams);
5162
+ return luvio.dispatchResourceRequest(request, options)
5163
+ .then((response) => {
5164
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
5165
+ const cache = new StoreKeyMap();
5166
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
5167
+ return cache;
5168
+ });
5169
+ }, (response) => {
5170
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
5171
+ });
5172
+ }
5173
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
5174
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
5175
+ }
5176
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
5177
+ const { luvio, config } = context;
5178
+ const selector = {
5179
+ recordId: keyBuilder$q(luvio, config),
5180
+ node: adapterFragment$b(luvio, config),
5181
+ variables: {},
5182
+ };
5183
+ const cacheSnapshot = storeLookup(selector, {
5184
+ config,
5185
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
5186
+ });
5187
+ return cacheSnapshot;
5188
+ }
5189
+ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfos(untrustedConfig, requestContext) {
5190
+ const config = validateAdapterConfig$i(untrustedConfig, getSlackConversationInfos_ConfigPropertyNames);
5191
+ // Invalid or incomplete config
5192
+ if (config === null) {
5193
+ return null;
5194
+ }
5195
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5196
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
5197
+ };
5198
+
5199
+ function select$p(luvio, params) {
5200
+ return select$K();
5201
+ }
5202
+ function keyBuilder$p(luvio, params) {
5203
+ return keyBuilder$H(luvio, {
5204
+ channelId: params.urlParams.channelId
4663
5205
  });
4664
5206
  }
4665
5207
  function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
@@ -4671,7 +5213,7 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4671
5213
  luvio.storeIngest(key, ingest$i, body);
4672
5214
  const snapshot = luvio.storeLookup({
4673
5215
  recordId: key,
4674
- node: select$q(),
5216
+ node: select$p(),
4675
5217
  variables: {},
4676
5218
  }, snapshotRefresh);
4677
5219
  if (process.env.NODE_ENV !== 'production') {
@@ -4716,14 +5258,14 @@ const getSlackConversationMember_ConfigPropertyMetadata = [
4716
5258
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4717
5259
  ];
4718
5260
  const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackConversationMember_ConfigPropertyMetadata);
4719
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$n(getSlackConversationMember_ConfigPropertyMetadata);
5261
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$p(getSlackConversationMember_ConfigPropertyMetadata);
4720
5262
  function keyBuilder$o(luvio, config) {
4721
5263
  const resourceParams = createResourceParams$h(config);
4722
5264
  return keyBuilder$p(luvio, resourceParams);
4723
5265
  }
4724
5266
  function typeCheckConfig$h(untrustedConfig) {
4725
5267
  const config = {};
4726
- typeCheckConfig$n(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5268
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
4727
5269
  return config;
4728
5270
  }
4729
5271
  function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
@@ -4741,7 +5283,7 @@ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4741
5283
  }
4742
5284
  function adapterFragment$a(luvio, config) {
4743
5285
  createResourceParams$h(config);
4744
- return select$q();
5286
+ return select$p();
4745
5287
  }
4746
5288
  function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4747
5289
  const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
@@ -4772,7 +5314,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
4772
5314
  });
4773
5315
  }
4774
5316
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4775
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
5317
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4776
5318
  }
4777
5319
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4778
5320
  const { luvio, config } = context;
@@ -4798,7 +5340,7 @@ const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge
4798
5340
  };
4799
5341
  const notifyChangeFactory$5 = (luvio, options) => {
4800
5342
  return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamIdNotifyChange(configs) {
4801
- const keys = configs.map(c => keyBuilder$D(luvio, c));
5343
+ const keys = configs.map(c => keyBuilder$H(luvio, c));
4802
5344
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4803
5345
  for (let i = 0, len = entries.length; i < len; i++) {
4804
5346
  const { key, record: val } = entries[i];
@@ -4826,8 +5368,8 @@ const notifyChangeFactory$5 = (luvio, options) => {
4826
5368
  };
4827
5369
  };
4828
5370
 
4829
- const VERSION$8 = "30b0f3c5bd175b72d9b304944fd9d682";
4830
- function validate$8(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
5371
+ const VERSION$7 = "30b0f3c5bd175b72d9b304944fd9d682";
5372
+ function validate$7(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4831
5373
  const v_error = (() => {
4832
5374
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4833
5375
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4878,9 +5420,9 @@ function validate$8(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
4878
5420
  })();
4879
5421
  return v_error === undefined ? null : v_error;
4880
5422
  }
4881
- const RepresentationType$7 = 'SlackBridgeConversationMembersOutputRepresentation';
5423
+ const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
4882
5424
  function keyBuilder$n(luvio, config) {
4883
- return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
5425
+ return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
4884
5426
  }
4885
5427
  function keyBuilderFromType$3(luvio, object) {
4886
5428
  const keyParams = {
@@ -4888,13 +5430,13 @@ function keyBuilderFromType$3(luvio, object) {
4888
5430
  };
4889
5431
  return keyBuilder$n(luvio, keyParams);
4890
5432
  }
4891
- function normalize$7(input, existing, path, luvio, store, timestamp) {
5433
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
4892
5434
  return input;
4893
5435
  }
4894
- const select$p = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5436
+ const select$o = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4895
5437
  return {
4896
5438
  kind: 'Fragment',
4897
- version: VERSION$8,
5439
+ version: VERSION$7,
4898
5440
  private: [],
4899
5441
  selections: [
4900
5442
  {
@@ -4913,7 +5455,7 @@ const select$p = function SlackBridgeConversationMembersOutputRepresentationSele
4913
5455
  ]
4914
5456
  };
4915
5457
  };
4916
- function equals$8(existing, incoming) {
5458
+ function equals$7(existing, incoming) {
4917
5459
  const existing_channelId = existing.channelId;
4918
5460
  const incoming_channelId = incoming.channelId;
4919
5461
  if (!(existing_channelId === incoming_channelId)) {
@@ -4936,30 +5478,30 @@ function equals$8(existing, incoming) {
4936
5478
  }
4937
5479
  return true;
4938
5480
  }
4939
- const ingest$7 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5481
+ const ingest$6 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4940
5482
  if (process.env.NODE_ENV !== 'production') {
4941
- const validateError = validate$8(input);
5483
+ const validateError = validate$7(input);
4942
5484
  if (validateError !== null) {
4943
5485
  throw validateError;
4944
5486
  }
4945
5487
  }
4946
5488
  const key = keyBuilderFromType$3(luvio, input);
4947
5489
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4948
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$8, RepresentationType$7, equals$8);
5490
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$7, RepresentationType$6, equals$7);
4949
5491
  return createLink(key);
4950
5492
  };
4951
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
5493
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4952
5494
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4953
5495
  const rootKey = keyBuilderFromType$3(luvio, input);
4954
5496
  rootKeySet.set(rootKey, {
4955
5497
  namespace: keyPrefix,
4956
- representationName: RepresentationType$7,
5498
+ representationName: RepresentationType$6,
4957
5499
  mergeable: false
4958
5500
  });
4959
5501
  }
4960
5502
 
4961
- function select$o(luvio, params) {
4962
- return select$p();
5503
+ function select$n(luvio, params) {
5504
+ return select$o();
4963
5505
  }
4964
5506
  function keyBuilder$m(luvio, params) {
4965
5507
  return keyBuilder$n(luvio, {
@@ -4967,15 +5509,15 @@ function keyBuilder$m(luvio, params) {
4967
5509
  });
4968
5510
  }
4969
5511
  function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4970
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
5512
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
4971
5513
  }
4972
5514
  function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4973
5515
  const { body } = response;
4974
5516
  const key = keyBuilder$m(luvio, resourceParams);
4975
- luvio.storeIngest(key, ingest$7, body);
5517
+ luvio.storeIngest(key, ingest$6, body);
4976
5518
  const snapshot = luvio.storeLookup({
4977
5519
  recordId: key,
4978
- node: select$o(),
5520
+ node: select$n(),
4979
5521
  variables: {},
4980
5522
  }, snapshotRefresh);
4981
5523
  if (process.env.NODE_ENV !== 'production') {
@@ -5019,14 +5561,14 @@ const getSlackConversationMembers_ConfigPropertyMetadata = [
5019
5561
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5020
5562
  ];
5021
5563
  const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMembers_ConfigPropertyMetadata);
5022
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$n(getSlackConversationMembers_ConfigPropertyMetadata);
5564
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$p(getSlackConversationMembers_ConfigPropertyMetadata);
5023
5565
  function keyBuilder$l(luvio, config) {
5024
5566
  const resourceParams = createResourceParams$g(config);
5025
5567
  return keyBuilder$m(luvio, resourceParams);
5026
5568
  }
5027
5569
  function typeCheckConfig$g(untrustedConfig) {
5028
5570
  const config = {};
5029
- typeCheckConfig$n(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5571
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5030
5572
  return config;
5031
5573
  }
5032
5574
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -5044,7 +5586,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
5044
5586
  }
5045
5587
  function adapterFragment$9(luvio, config) {
5046
5588
  createResourceParams$g(config);
5047
- return select$o();
5589
+ return select$n();
5048
5590
  }
5049
5591
  function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
5050
5592
  const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
@@ -5075,7 +5617,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
5075
5617
  });
5076
5618
  }
5077
5619
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
5078
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5620
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5079
5621
  }
5080
5622
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
5081
5623
  const { luvio, config } = context;
@@ -5110,11 +5652,11 @@ const notifyChangeFactory$4 = (luvio, options) => {
5110
5652
  .then((response) => {
5111
5653
  return luvio.handleSuccessResponse(() => {
5112
5654
  const { body } = response;
5113
- luvio.storeIngest(key, ingest$7, body);
5655
+ luvio.storeIngest(key, ingest$6, body);
5114
5656
  return luvio.storeBroadcast();
5115
5657
  }, () => {
5116
5658
  const cache = new StoreKeyMap();
5117
- getTypeCacheKeys$7(cache, luvio, response.body);
5659
+ getTypeCacheKeys$6(cache, luvio, response.body);
5118
5660
  return cache;
5119
5661
  });
5120
5662
  }, (error) => {
@@ -5129,8 +5671,8 @@ const notifyChangeFactory$4 = (luvio, options) => {
5129
5671
  };
5130
5672
  };
5131
5673
 
5132
- const VERSION$7 = "d6833ffbee3e599bfdef928466ea65af";
5133
- function validate$7(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
5674
+ const VERSION$6 = "d6833ffbee3e599bfdef928466ea65af";
5675
+ function validate$6(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
5134
5676
  const v_error = (() => {
5135
5677
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5136
5678
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5158,10 +5700,10 @@ function validate$7(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
5158
5700
  })();
5159
5701
  return v_error === undefined ? null : v_error;
5160
5702
  }
5161
- const select$n = function SlackBridgeSlackTeamOutputRepresentationSelect() {
5703
+ const select$m = function SlackBridgeSlackTeamOutputRepresentationSelect() {
5162
5704
  return {
5163
5705
  kind: 'Fragment',
5164
- version: VERSION$7,
5706
+ version: VERSION$6,
5165
5707
  private: [],
5166
5708
  selections: [
5167
5709
  {
@@ -5183,7 +5725,7 @@ const select$n = function SlackBridgeSlackTeamOutputRepresentationSelect() {
5183
5725
  ]
5184
5726
  };
5185
5727
  };
5186
- function equals$7(existing, incoming) {
5728
+ function equals$6(existing, incoming) {
5187
5729
  const existing_status = existing.status;
5188
5730
  const incoming_status = incoming.status;
5189
5731
  if (!(existing_status === incoming_status)) {
@@ -5208,8 +5750,8 @@ function equals$7(existing, incoming) {
5208
5750
  }
5209
5751
 
5210
5752
  const TTL = 500;
5211
- const VERSION$6 = "b3c7e0b8bc0a4a3745874264601b9082";
5212
- function validate$6(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5753
+ const VERSION$5 = "b3c7e0b8bc0a4a3745874264601b9082";
5754
+ function validate$5(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5213
5755
  const v_error = (() => {
5214
5756
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5215
5757
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5221,7 +5763,7 @@ function validate$6(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5221
5763
  }
5222
5764
  const obj_slackTeam = obj.slackTeam;
5223
5765
  const path_slackTeam = path + '.slackTeam';
5224
- const referencepath_slackTeamValidationError = validate$7(obj_slackTeam, path_slackTeam);
5766
+ const referencepath_slackTeamValidationError = validate$6(obj_slackTeam, path_slackTeam);
5225
5767
  if (referencepath_slackTeamValidationError !== null) {
5226
5768
  let message = 'Object doesn\'t match SlackBridgeSlackTeamOutputRepresentation (at "' + path_slackTeam + '")\n';
5227
5769
  message += referencepath_slackTeamValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5230,15 +5772,15 @@ function validate$6(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5230
5772
  })();
5231
5773
  return v_error === undefined ? null : v_error;
5232
5774
  }
5233
- const RepresentationType$6 = 'SlackBridgeDisplayLoginOutputRepresentation';
5234
- function normalize$6(input, existing, path, luvio, store, timestamp) {
5775
+ const RepresentationType$5 = 'SlackBridgeDisplayLoginOutputRepresentation';
5776
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
5235
5777
  return input;
5236
5778
  }
5237
- const select$m = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
5238
- const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$n();
5779
+ const select$l = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
5780
+ const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$m();
5239
5781
  return {
5240
5782
  kind: 'Fragment',
5241
- version: VERSION$6,
5783
+ version: VERSION$5,
5242
5784
  private: [],
5243
5785
  selections: [
5244
5786
  {
@@ -5253,7 +5795,7 @@ const select$m = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
5253
5795
  ]
5254
5796
  };
5255
5797
  };
5256
- function equals$6(existing, incoming) {
5798
+ function equals$5(existing, incoming) {
5257
5799
  const existing_orgId = existing.orgId;
5258
5800
  const incoming_orgId = incoming.orgId;
5259
5801
  if (!(existing_orgId === incoming_orgId)) {
@@ -5261,49 +5803,49 @@ function equals$6(existing, incoming) {
5261
5803
  }
5262
5804
  const existing_slackTeam = existing.slackTeam;
5263
5805
  const incoming_slackTeam = incoming.slackTeam;
5264
- if (!(equals$7(existing_slackTeam, incoming_slackTeam))) {
5806
+ if (!(equals$6(existing_slackTeam, incoming_slackTeam))) {
5265
5807
  return false;
5266
5808
  }
5267
5809
  return true;
5268
5810
  }
5269
- const ingest$6 = function SlackBridgeDisplayLoginOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5811
+ const ingest$5 = function SlackBridgeDisplayLoginOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5270
5812
  if (process.env.NODE_ENV !== 'production') {
5271
- const validateError = validate$6(input);
5813
+ const validateError = validate$5(input);
5272
5814
  if (validateError !== null) {
5273
5815
  throw validateError;
5274
5816
  }
5275
5817
  }
5276
5818
  const key = path.fullPath;
5277
5819
  const ttlToUse = TTL;
5278
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
5820
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
5279
5821
  return createLink(key);
5280
5822
  };
5281
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
5823
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5282
5824
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5283
5825
  const rootKey = fullPathFactory();
5284
5826
  rootKeySet.set(rootKey, {
5285
5827
  namespace: keyPrefix,
5286
- representationName: RepresentationType$6,
5828
+ representationName: RepresentationType$5,
5287
5829
  mergeable: false
5288
5830
  });
5289
5831
  }
5290
5832
 
5291
- function select$l(luvio, params) {
5292
- return select$m();
5833
+ function select$k(luvio, params) {
5834
+ return select$l();
5293
5835
  }
5294
5836
  function keyBuilder$k(luvio, params) {
5295
5837
  return keyPrefix + '::SlackBridgeDisplayLoginOutputRepresentation:(' + ')';
5296
5838
  }
5297
5839
  function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
5298
- getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$k());
5840
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$k());
5299
5841
  }
5300
5842
  function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
5301
5843
  const { body } = response;
5302
5844
  const key = keyBuilder$k();
5303
- luvio.storeIngest(key, ingest$6, body);
5845
+ luvio.storeIngest(key, ingest$5, body);
5304
5846
  const snapshot = luvio.storeLookup({
5305
5847
  recordId: key,
5306
- node: select$l(),
5848
+ node: select$k(),
5307
5849
  variables: {},
5308
5850
  }, snapshotRefresh);
5309
5851
  if (process.env.NODE_ENV !== 'production') {
@@ -5320,8 +5862,8 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
5320
5862
  const storeMetadataParams = {
5321
5863
  ttl: TTL,
5322
5864
  namespace: keyPrefix,
5323
- version: VERSION$6,
5324
- representationName: RepresentationType$6
5865
+ version: VERSION$5,
5866
+ representationName: RepresentationType$5
5325
5867
  };
5326
5868
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
5327
5869
  return errorSnapshot;
@@ -5343,7 +5885,7 @@ function createResourceRequest$f(config) {
5343
5885
  const adapterName$f = 'getSlackDisplayLogin';
5344
5886
  const getSlackDisplayLogin_ConfigPropertyMetadata = [];
5345
5887
  const getSlackDisplayLogin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackDisplayLogin_ConfigPropertyMetadata);
5346
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$n(getSlackDisplayLogin_ConfigPropertyMetadata);
5888
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$p(getSlackDisplayLogin_ConfigPropertyMetadata);
5347
5889
  function keyBuilder$j(luvio, config) {
5348
5890
  createResourceParams$f(config);
5349
5891
  return keyBuilder$k();
@@ -5367,7 +5909,7 @@ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5367
5909
  }
5368
5910
  function adapterFragment$8(luvio, config) {
5369
5911
  createResourceParams$f(config);
5370
- return select$l();
5912
+ return select$k();
5371
5913
  }
5372
5914
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
5373
5915
  const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
@@ -5398,7 +5940,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
5398
5940
  });
5399
5941
  }
5400
5942
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5401
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
5943
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
5402
5944
  }
5403
5945
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5404
5946
  const { luvio, config } = context;
@@ -5423,11 +5965,11 @@ const getSlackDisplayLoginAdapterFactory = (luvio) => function SlackBridge__getS
5423
5965
  buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
5424
5966
  };
5425
5967
 
5426
- function select$k(luvio, params) {
5427
- return select$v();
5968
+ function select$j(luvio, params) {
5969
+ return select$x();
5428
5970
  }
5429
5971
  function keyBuilder$i(luvio, params) {
5430
- return keyBuilder$t(luvio, {
5972
+ return keyBuilder$x(luvio, {
5431
5973
  name: params.urlParams.slackEmojiId
5432
5974
  });
5433
5975
  }
@@ -5440,7 +5982,7 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
5440
5982
  luvio.storeIngest(key, ingest$b, body);
5441
5983
  const snapshot = luvio.storeLookup({
5442
5984
  recordId: key,
5443
- node: select$k(),
5985
+ node: select$j(),
5444
5986
  variables: {},
5445
5987
  }, snapshotRefresh);
5446
5988
  if (process.env.NODE_ENV !== 'production') {
@@ -5490,14 +6032,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
5490
6032
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5491
6033
  ];
5492
6034
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackEmoji_ConfigPropertyMetadata);
5493
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$n(getSlackEmoji_ConfigPropertyMetadata);
6035
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$p(getSlackEmoji_ConfigPropertyMetadata);
5494
6036
  function keyBuilder$h(luvio, config) {
5495
6037
  const resourceParams = createResourceParams$e(config);
5496
6038
  return keyBuilder$i(luvio, resourceParams);
5497
6039
  }
5498
6040
  function typeCheckConfig$e(untrustedConfig) {
5499
6041
  const config = {};
5500
- typeCheckConfig$n(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6042
+ typeCheckConfig$p(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
5501
6043
  return config;
5502
6044
  }
5503
6045
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -5515,7 +6057,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5515
6057
  }
5516
6058
  function adapterFragment$7(luvio, config) {
5517
6059
  createResourceParams$e(config);
5518
- return select$k();
6060
+ return select$j();
5519
6061
  }
5520
6062
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
5521
6063
  const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
@@ -5546,7 +6088,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
5546
6088
  });
5547
6089
  }
5548
6090
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5549
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
6091
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5550
6092
  }
5551
6093
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5552
6094
  const { luvio, config } = context;
@@ -5572,7 +6114,7 @@ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmo
5572
6114
  };
5573
6115
  const notifyChangeFactory$3 = (luvio, options) => {
5574
6116
  return function getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamIdNotifyChange(configs) {
5575
- const keys = configs.map(c => keyBuilder$t(luvio, c));
6117
+ const keys = configs.map(c => keyBuilder$x(luvio, c));
5576
6118
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5577
6119
  for (let i = 0, len = entries.length; i < len; i++) {
5578
6120
  const { key, record: val } = entries[i];
@@ -5605,8 +6147,8 @@ const notifyChangeFactory$3 = (luvio, options) => {
5605
6147
  };
5606
6148
  };
5607
6149
 
5608
- const VERSION$5 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
5609
- function validate$5(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6150
+ const VERSION$4 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
6151
+ function validate$4(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5610
6152
  const v_error = (() => {
5611
6153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5612
6154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5626,8 +6168,8 @@ function validate$5(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5626
6168
  })();
5627
6169
  return v_error === undefined ? null : v_error;
5628
6170
  }
5629
- const RepresentationType$5 = 'SlackBridgeEmojisOutputRepresentation';
5630
- function normalize$5(input, existing, path, luvio, store, timestamp) {
6171
+ const RepresentationType$4 = 'SlackBridgeEmojisOutputRepresentation';
6172
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
5631
6173
  const input_emojis = input.emojis;
5632
6174
  const input_emojis_id = path.fullPath + '__emojis';
5633
6175
  for (let i = 0; i < input_emojis.length; i++) {
@@ -5646,22 +6188,22 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
5646
6188
  }
5647
6189
  return input;
5648
6190
  }
5649
- const select$j = function SlackBridgeEmojisOutputRepresentationSelect() {
6191
+ const select$i = function SlackBridgeEmojisOutputRepresentationSelect() {
5650
6192
  return {
5651
6193
  kind: 'Fragment',
5652
- version: VERSION$5,
6194
+ version: VERSION$4,
5653
6195
  private: [],
5654
6196
  selections: [
5655
6197
  {
5656
6198
  name: 'emojis',
5657
6199
  kind: 'Link',
5658
6200
  plural: true,
5659
- fragment: select$v()
6201
+ fragment: select$x()
5660
6202
  }
5661
6203
  ]
5662
6204
  };
5663
6205
  };
5664
- function equals$5(existing, incoming) {
6206
+ function equals$4(existing, incoming) {
5665
6207
  const existing_emojis = existing.emojis;
5666
6208
  const incoming_emojis = incoming.emojis;
5667
6209
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
@@ -5674,24 +6216,24 @@ function equals$5(existing, incoming) {
5674
6216
  }
5675
6217
  return true;
5676
6218
  }
5677
- const ingest$5 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6219
+ const ingest$4 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5678
6220
  if (process.env.NODE_ENV !== 'production') {
5679
- const validateError = validate$5(input);
6221
+ const validateError = validate$4(input);
5680
6222
  if (validateError !== null) {
5681
6223
  throw validateError;
5682
6224
  }
5683
6225
  }
5684
6226
  const key = path.fullPath;
5685
6227
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5686
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
6228
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
5687
6229
  return createLink(key);
5688
6230
  };
5689
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
6231
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5690
6232
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5691
6233
  const rootKey = fullPathFactory();
5692
6234
  rootKeySet.set(rootKey, {
5693
6235
  namespace: keyPrefix,
5694
- representationName: RepresentationType$5,
6236
+ representationName: RepresentationType$4,
5695
6237
  mergeable: false
5696
6238
  });
5697
6239
  const input_emojis_length = input.emojis.length;
@@ -5700,22 +6242,22 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5700
6242
  }
5701
6243
  }
5702
6244
 
5703
- function select$i(luvio, params) {
5704
- return select$j();
6245
+ function select$h(luvio, params) {
6246
+ return select$i();
5705
6247
  }
5706
6248
  function keyBuilder$g(luvio, params) {
5707
6249
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'slackEmojiIds:' + params.queryParams.slackEmojiIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
5708
6250
  }
5709
6251
  function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5710
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
6252
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
5711
6253
  }
5712
6254
  function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
5713
6255
  const { body } = response;
5714
6256
  const key = keyBuilder$g(luvio, resourceParams);
5715
- luvio.storeIngest(key, ingest$5, body);
6257
+ luvio.storeIngest(key, ingest$4, body);
5716
6258
  const snapshot = luvio.storeLookup({
5717
6259
  recordId: key,
5718
- node: select$i(),
6260
+ node: select$h(),
5719
6261
  variables: {},
5720
6262
  }, snapshotRefresh);
5721
6263
  if (process.env.NODE_ENV !== 'production') {
@@ -5752,14 +6294,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
5752
6294
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
5753
6295
  ];
5754
6296
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackEmojis_ConfigPropertyMetadata);
5755
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$n(getSlackEmojis_ConfigPropertyMetadata);
6297
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$p(getSlackEmojis_ConfigPropertyMetadata);
5756
6298
  function keyBuilder$f(luvio, config) {
5757
6299
  const resourceParams = createResourceParams$d(config);
5758
6300
  return keyBuilder$g(luvio, resourceParams);
5759
6301
  }
5760
6302
  function typeCheckConfig$d(untrustedConfig) {
5761
6303
  const config = {};
5762
- typeCheckConfig$n(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6304
+ typeCheckConfig$p(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
5763
6305
  return config;
5764
6306
  }
5765
6307
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -5777,7 +6319,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5777
6319
  }
5778
6320
  function adapterFragment$6(luvio, config) {
5779
6321
  createResourceParams$d(config);
5780
- return select$i();
6322
+ return select$h();
5781
6323
  }
5782
6324
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
5783
6325
  const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
@@ -5808,7 +6350,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
5808
6350
  });
5809
6351
  }
5810
6352
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5811
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
6353
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5812
6354
  }
5813
6355
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5814
6356
  const { luvio, config } = context;
@@ -5833,11 +6375,11 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
5833
6375
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
5834
6376
  };
5835
6377
 
5836
- function select$h(luvio, params) {
5837
- return select$H();
6378
+ function select$g(luvio, params) {
6379
+ return select$J();
5838
6380
  }
5839
6381
  function keyBuilder$e(luvio, params) {
5840
- return keyBuilder$B(luvio, {
6382
+ return keyBuilder$F(luvio, {
5841
6383
  channelId: params.urlParams.channelId
5842
6384
  });
5843
6385
  }
@@ -5850,7 +6392,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
5850
6392
  luvio.storeIngest(key, ingest$h, body);
5851
6393
  const snapshot = luvio.storeLookup({
5852
6394
  recordId: key,
5853
- node: select$h(),
6395
+ node: select$g(),
5854
6396
  variables: {},
5855
6397
  }, snapshotRefresh);
5856
6398
  if (process.env.NODE_ENV !== 'production') {
@@ -5895,14 +6437,14 @@ const getSlackMessage_ConfigPropertyMetadata = [
5895
6437
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5896
6438
  ];
5897
6439
  const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackMessage_ConfigPropertyMetadata);
5898
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$n(getSlackMessage_ConfigPropertyMetadata);
6440
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$p(getSlackMessage_ConfigPropertyMetadata);
5899
6441
  function keyBuilder$d(luvio, config) {
5900
6442
  const resourceParams = createResourceParams$c(config);
5901
6443
  return keyBuilder$e(luvio, resourceParams);
5902
6444
  }
5903
6445
  function typeCheckConfig$c(untrustedConfig) {
5904
6446
  const config = {};
5905
- typeCheckConfig$n(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
6447
+ typeCheckConfig$p(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5906
6448
  return config;
5907
6449
  }
5908
6450
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -5920,7 +6462,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5920
6462
  }
5921
6463
  function adapterFragment$5(luvio, config) {
5922
6464
  createResourceParams$c(config);
5923
- return select$h();
6465
+ return select$g();
5924
6466
  }
5925
6467
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
5926
6468
  const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
@@ -5951,7 +6493,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5951
6493
  });
5952
6494
  }
5953
6495
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
5954
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
6496
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
5955
6497
  }
5956
6498
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
5957
6499
  const { luvio, config } = context;
@@ -5977,7 +6519,7 @@ const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackM
5977
6519
  };
5978
6520
  const notifyChangeFactory$2 = (luvio, options) => {
5979
6521
  return function getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamIdNotifyChange(configs) {
5980
- const keys = configs.map(c => keyBuilder$B(luvio, c));
6522
+ const keys = configs.map(c => keyBuilder$F(luvio, c));
5981
6523
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5982
6524
  for (let i = 0, len = entries.length; i < len; i++) {
5983
6525
  const { key, record: val } = entries[i];
@@ -6005,8 +6547,8 @@ const notifyChangeFactory$2 = (luvio, options) => {
6005
6547
  };
6006
6548
  };
6007
6549
 
6008
- const VERSION$4 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
6009
- function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
6550
+ const VERSION$3 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
6551
+ function validate$3(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
6010
6552
  const v_error = (() => {
6011
6553
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6012
6554
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6029,9 +6571,9 @@ function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
6029
6571
  })();
6030
6572
  return v_error === undefined ? null : v_error;
6031
6573
  }
6032
- const RepresentationType$4 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
6574
+ const RepresentationType$3 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
6033
6575
  function keyBuilder$c(luvio, config) {
6034
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.relatedRecordId;
6576
+ return keyPrefix + '::' + RepresentationType$3 + ':' + config.relatedRecordId;
6035
6577
  }
6036
6578
  function keyBuilderFromType$2(luvio, object) {
6037
6579
  const keyParams = {
@@ -6039,7 +6581,7 @@ function keyBuilderFromType$2(luvio, object) {
6039
6581
  };
6040
6582
  return keyBuilder$c(luvio, keyParams);
6041
6583
  }
6042
- function normalize$4(input, existing, path, luvio, store, timestamp) {
6584
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
6043
6585
  const input_conversationInfo = input.conversationInfo;
6044
6586
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
6045
6587
  input.conversationInfo = ingest$f(input_conversationInfo, {
@@ -6054,16 +6596,16 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
6054
6596
  }, luvio, store, timestamp);
6055
6597
  return input;
6056
6598
  }
6057
- const select$g = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
6599
+ const select$f = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
6058
6600
  return {
6059
6601
  kind: 'Fragment',
6060
- version: VERSION$4,
6602
+ version: VERSION$3,
6061
6603
  private: [],
6062
6604
  selections: [
6063
6605
  {
6064
6606
  name: 'conversationInfo',
6065
6607
  kind: 'Link',
6066
- fragment: select$E()
6608
+ fragment: select$G()
6067
6609
  },
6068
6610
  {
6069
6611
  name: 'relatedRecordId',
@@ -6076,7 +6618,7 @@ const select$g = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
6076
6618
  ]
6077
6619
  };
6078
6620
  };
6079
- function equals$4(existing, incoming) {
6621
+ function equals$3(existing, incoming) {
6080
6622
  const existing_relatedRecordId = existing.relatedRecordId;
6081
6623
  const incoming_relatedRecordId = incoming.relatedRecordId;
6082
6624
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -6094,31 +6636,31 @@ function equals$4(existing, incoming) {
6094
6636
  }
6095
6637
  return true;
6096
6638
  }
6097
- const ingest$4 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6639
+ const ingest$3 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6098
6640
  if (process.env.NODE_ENV !== 'production') {
6099
- const validateError = validate$4(input);
6641
+ const validateError = validate$3(input);
6100
6642
  if (validateError !== null) {
6101
6643
  throw validateError;
6102
6644
  }
6103
6645
  }
6104
6646
  const key = keyBuilderFromType$2(luvio, input);
6105
6647
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6106
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
6648
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
6107
6649
  return createLink(key);
6108
6650
  };
6109
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
6651
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6110
6652
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6111
6653
  const rootKey = keyBuilderFromType$2(luvio, input);
6112
6654
  rootKeySet.set(rootKey, {
6113
6655
  namespace: keyPrefix,
6114
- representationName: RepresentationType$4,
6656
+ representationName: RepresentationType$3,
6115
6657
  mergeable: false
6116
6658
  });
6117
6659
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
6118
6660
  }
6119
6661
 
6120
- function select$f(luvio, params) {
6121
- return select$g();
6662
+ function select$e(luvio, params) {
6663
+ return select$f();
6122
6664
  }
6123
6665
  function keyBuilder$b(luvio, params) {
6124
6666
  return keyBuilder$c(luvio, {
@@ -6126,15 +6668,15 @@ function keyBuilder$b(luvio, params) {
6126
6668
  });
6127
6669
  }
6128
6670
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
6129
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
6671
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
6130
6672
  }
6131
6673
  function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
6132
6674
  const { body } = response;
6133
6675
  const key = keyBuilder$b(luvio, resourceParams);
6134
- luvio.storeIngest(key, ingest$4, body);
6676
+ luvio.storeIngest(key, ingest$3, body);
6135
6677
  const snapshot = luvio.storeLookup({
6136
6678
  recordId: key,
6137
- node: select$f(),
6679
+ node: select$e(),
6138
6680
  variables: {},
6139
6681
  }, snapshotRefresh);
6140
6682
  if (process.env.NODE_ENV !== 'production') {
@@ -6177,14 +6719,14 @@ const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
6177
6719
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
6178
6720
  ];
6179
6721
  const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackRecordChannelInfo_ConfigPropertyMetadata);
6180
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$n(getSlackRecordChannelInfo_ConfigPropertyMetadata);
6722
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$p(getSlackRecordChannelInfo_ConfigPropertyMetadata);
6181
6723
  function keyBuilder$a(luvio, config) {
6182
6724
  const resourceParams = createResourceParams$b(config);
6183
6725
  return keyBuilder$b(luvio, resourceParams);
6184
6726
  }
6185
6727
  function typeCheckConfig$b(untrustedConfig) {
6186
6728
  const config = {};
6187
- typeCheckConfig$n(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
6729
+ typeCheckConfig$p(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
6188
6730
  return config;
6189
6731
  }
6190
6732
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -6202,7 +6744,7 @@ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
6202
6744
  }
6203
6745
  function adapterFragment$4(luvio, config) {
6204
6746
  createResourceParams$b(config);
6205
- return select$f();
6747
+ return select$e();
6206
6748
  }
6207
6749
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
6208
6750
  const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
@@ -6233,7 +6775,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
6233
6775
  });
6234
6776
  }
6235
6777
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6236
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6778
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6237
6779
  }
6238
6780
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6239
6781
  const { luvio, config } = context;
@@ -6268,11 +6810,11 @@ const notifyChangeFactory$1 = (luvio, options) => {
6268
6810
  .then((response) => {
6269
6811
  return luvio.handleSuccessResponse(() => {
6270
6812
  const { body } = response;
6271
- luvio.storeIngest(key, ingest$4, body);
6813
+ luvio.storeIngest(key, ingest$3, body);
6272
6814
  return luvio.storeBroadcast();
6273
6815
  }, () => {
6274
6816
  const cache = new StoreKeyMap();
6275
- getTypeCacheKeys$4(cache, luvio, response.body);
6817
+ getTypeCacheKeys$3(cache, luvio, response.body);
6276
6818
  return cache;
6277
6819
  });
6278
6820
  }, (error) => {
@@ -6287,149 +6829,19 @@ const notifyChangeFactory$1 = (luvio, options) => {
6287
6829
  };
6288
6830
  };
6289
6831
 
6290
- const VERSION$3 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6291
- function validate$3(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6292
- const v_error = (() => {
6293
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6294
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6295
- }
6296
- const obj_conversationInfos = obj.conversationInfos;
6297
- const path_conversationInfos = path + '.conversationInfos';
6298
- if (!ArrayIsArray(obj_conversationInfos)) {
6299
- return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
6300
- }
6301
- for (let i = 0; i < obj_conversationInfos.length; i++) {
6302
- const obj_conversationInfos_item = obj_conversationInfos[i];
6303
- const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
6304
- if (typeof obj_conversationInfos_item !== 'object') {
6305
- return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
6306
- }
6307
- }
6308
- const obj_searchString = obj.searchString;
6309
- const path_searchString = path + '.searchString';
6310
- let obj_searchString_union0 = null;
6311
- const obj_searchString_union0_error = (() => {
6312
- if (typeof obj_searchString !== 'string') {
6313
- return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6314
- }
6315
- })();
6316
- if (obj_searchString_union0_error != null) {
6317
- obj_searchString_union0 = obj_searchString_union0_error.message;
6318
- }
6319
- let obj_searchString_union1 = null;
6320
- const obj_searchString_union1_error = (() => {
6321
- if (obj_searchString !== null) {
6322
- return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6323
- }
6324
- })();
6325
- if (obj_searchString_union1_error != null) {
6326
- obj_searchString_union1 = obj_searchString_union1_error.message;
6327
- }
6328
- if (obj_searchString_union0 && obj_searchString_union1) {
6329
- let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6330
- message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6331
- message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6332
- return new TypeError(message);
6333
- }
6334
- })();
6335
- return v_error === undefined ? null : v_error;
6336
- }
6337
- const RepresentationType$3 = 'SlackBridgeConversationInfosOutputRepresentation';
6338
- function normalize$3(input, existing, path, luvio, store, timestamp) {
6339
- const input_conversationInfos = input.conversationInfos;
6340
- const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6341
- for (let i = 0; i < input_conversationInfos.length; i++) {
6342
- const input_conversationInfos_item = input_conversationInfos[i];
6343
- let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6344
- input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6345
- fullPath: input_conversationInfos_item_id,
6346
- propertyName: i,
6347
- parent: {
6348
- data: input,
6349
- key: path.fullPath,
6350
- existing: existing,
6351
- },
6352
- ttl: path.ttl
6353
- }, luvio, store, timestamp);
6354
- }
6355
- return input;
6356
- }
6357
- const select$e = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6358
- return {
6359
- kind: 'Fragment',
6360
- version: VERSION$3,
6361
- private: [],
6362
- selections: [
6363
- {
6364
- name: 'conversationInfos',
6365
- kind: 'Link',
6366
- plural: true,
6367
- fragment: select$E()
6368
- },
6369
- {
6370
- name: 'searchString',
6371
- kind: 'Scalar'
6372
- }
6373
- ]
6374
- };
6375
- };
6376
- function equals$3(existing, incoming) {
6377
- const existing_conversationInfos = existing.conversationInfos;
6378
- const incoming_conversationInfos = incoming.conversationInfos;
6379
- const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
6380
- if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
6381
- return false;
6382
- }
6383
- });
6384
- if (equals_conversationInfos_items === false) {
6385
- return false;
6386
- }
6387
- const existing_searchString = existing.searchString;
6388
- const incoming_searchString = incoming.searchString;
6389
- if (!(existing_searchString === incoming_searchString)) {
6390
- return false;
6391
- }
6392
- return true;
6393
- }
6394
- const ingest$3 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6395
- if (process.env.NODE_ENV !== 'production') {
6396
- const validateError = validate$3(input);
6397
- if (validateError !== null) {
6398
- throw validateError;
6399
- }
6400
- }
6401
- const key = path.fullPath;
6402
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6403
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
6404
- return createLink(key);
6405
- };
6406
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6407
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6408
- const rootKey = fullPathFactory();
6409
- rootKeySet.set(rootKey, {
6410
- namespace: keyPrefix,
6411
- representationName: RepresentationType$3,
6412
- mergeable: false
6413
- });
6414
- const input_conversationInfos_length = input.conversationInfos.length;
6415
- for (let i = 0; i < input_conversationInfos_length; i++) {
6416
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6417
- }
6418
- }
6419
-
6420
6832
  function select$d(luvio, params) {
6421
- return select$e();
6833
+ return select$r();
6422
6834
  }
6423
6835
  function keyBuilder$9(luvio, params) {
6424
6836
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6425
6837
  }
6426
6838
  function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
6427
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
6839
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
6428
6840
  }
6429
6841
  function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
6430
6842
  const { body } = response;
6431
6843
  const key = keyBuilder$9(luvio, resourceParams);
6432
- luvio.storeIngest(key, ingest$3, body);
6844
+ luvio.storeIngest(key, ingest$7, body);
6433
6845
  const snapshot = luvio.storeLookup({
6434
6846
  recordId: key,
6435
6847
  node: select$d(),
@@ -6469,14 +6881,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6469
6881
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6470
6882
  ];
6471
6883
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackSearchConversation_ConfigPropertyMetadata);
6472
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$n(getSlackSearchConversation_ConfigPropertyMetadata);
6884
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$p(getSlackSearchConversation_ConfigPropertyMetadata);
6473
6885
  function keyBuilder$8(luvio, config) {
6474
6886
  const resourceParams = createResourceParams$a(config);
6475
6887
  return keyBuilder$9(luvio, resourceParams);
6476
6888
  }
6477
6889
  function typeCheckConfig$a(untrustedConfig) {
6478
6890
  const config = {};
6479
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6891
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6480
6892
  return config;
6481
6893
  }
6482
6894
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -6525,7 +6937,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6525
6937
  });
6526
6938
  }
6527
6939
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6528
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6940
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6529
6941
  }
6530
6942
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6531
6943
  const { luvio, config } = context;
@@ -6551,18 +6963,18 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
6551
6963
  };
6552
6964
 
6553
6965
  function select$c(luvio, params) {
6554
- return select$j();
6966
+ return select$i();
6555
6967
  }
6556
6968
  function keyBuilder$7(luvio, params) {
6557
6969
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6558
6970
  }
6559
6971
  function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
6560
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6972
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6561
6973
  }
6562
6974
  function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
6563
6975
  const { body } = response;
6564
6976
  const key = keyBuilder$7(luvio, resourceParams);
6565
- luvio.storeIngest(key, ingest$5, body);
6977
+ luvio.storeIngest(key, ingest$4, body);
6566
6978
  const snapshot = luvio.storeLookup({
6567
6979
  recordId: key,
6568
6980
  node: select$c(),
@@ -6602,14 +7014,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6602
7014
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6603
7015
  ];
6604
7016
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackSearchEmoji_ConfigPropertyMetadata);
6605
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$n(getSlackSearchEmoji_ConfigPropertyMetadata);
7017
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$p(getSlackSearchEmoji_ConfigPropertyMetadata);
6606
7018
  function keyBuilder$6(luvio, config) {
6607
7019
  const resourceParams = createResourceParams$9(config);
6608
7020
  return keyBuilder$7(luvio, resourceParams);
6609
7021
  }
6610
7022
  function typeCheckConfig$9(untrustedConfig) {
6611
7023
  const config = {};
6612
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
7024
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6613
7025
  return config;
6614
7026
  }
6615
7027
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -6658,7 +7070,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
6658
7070
  });
6659
7071
  }
6660
7072
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
6661
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
7073
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6662
7074
  }
6663
7075
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
6664
7076
  const { luvio, config } = context;
@@ -6683,12 +7095,38 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
6683
7095
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
6684
7096
  };
6685
7097
 
6686
- const VERSION$2 = "058d708f5533e6123e368a3722311412";
7098
+ const VERSION$2 = "16b915c502b8a0609446d7ed3907a794";
6687
7099
  function validate$2(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
6688
7100
  const v_error = (() => {
6689
7101
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6690
7102
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6691
7103
  }
7104
+ const obj_nextMarker = obj.nextMarker;
7105
+ const path_nextMarker = path + '.nextMarker';
7106
+ let obj_nextMarker_union0 = null;
7107
+ const obj_nextMarker_union0_error = (() => {
7108
+ if (typeof obj_nextMarker !== 'string') {
7109
+ return new TypeError('Expected "string" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7110
+ }
7111
+ })();
7112
+ if (obj_nextMarker_union0_error != null) {
7113
+ obj_nextMarker_union0 = obj_nextMarker_union0_error.message;
7114
+ }
7115
+ let obj_nextMarker_union1 = null;
7116
+ const obj_nextMarker_union1_error = (() => {
7117
+ if (obj_nextMarker !== null) {
7118
+ return new TypeError('Expected "null" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7119
+ }
7120
+ })();
7121
+ if (obj_nextMarker_union1_error != null) {
7122
+ obj_nextMarker_union1 = obj_nextMarker_union1_error.message;
7123
+ }
7124
+ if (obj_nextMarker_union0 && obj_nextMarker_union1) {
7125
+ let message = 'Object doesn\'t match union (at "' + path_nextMarker + '")';
7126
+ message += '\n' + obj_nextMarker_union0.split('\n').map((line) => '\t' + line).join('\n');
7127
+ message += '\n' + obj_nextMarker_union1.split('\n').map((line) => '\t' + line).join('\n');
7128
+ return new TypeError(message);
7129
+ }
6692
7130
  const obj_searchString = obj.searchString;
6693
7131
  const path_searchString = path + '.searchString';
6694
7132
  let obj_searchString_union0 = null;
@@ -6756,6 +7194,10 @@ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
6756
7194
  version: VERSION$2,
6757
7195
  private: [],
6758
7196
  selections: [
7197
+ {
7198
+ name: 'nextMarker',
7199
+ kind: 'Scalar'
7200
+ },
6759
7201
  {
6760
7202
  name: 'searchString',
6761
7203
  kind: 'Scalar'
@@ -6764,12 +7206,17 @@ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
6764
7206
  name: 'userInfos',
6765
7207
  kind: 'Link',
6766
7208
  plural: true,
6767
- fragment: select$u()
7209
+ fragment: select$w()
6768
7210
  }
6769
7211
  ]
6770
7212
  };
6771
7213
  };
6772
7214
  function equals$2(existing, incoming) {
7215
+ const existing_nextMarker = existing.nextMarker;
7216
+ const incoming_nextMarker = incoming.nextMarker;
7217
+ if (!(existing_nextMarker === incoming_nextMarker)) {
7218
+ return false;
7219
+ }
6773
7220
  const existing_searchString = existing.searchString;
6774
7221
  const incoming_searchString = incoming.searchString;
6775
7222
  if (!(existing_searchString === incoming_searchString)) {
@@ -6868,14 +7315,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
6868
7315
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6869
7316
  ];
6870
7317
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchUser_ConfigPropertyMetadata);
6871
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$n(getSlackSearchUser_ConfigPropertyMetadata);
7318
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$p(getSlackSearchUser_ConfigPropertyMetadata);
6872
7319
  function keyBuilder$4(luvio, config) {
6873
7320
  const resourceParams = createResourceParams$8(config);
6874
7321
  return keyBuilder$5(luvio, resourceParams);
6875
7322
  }
6876
7323
  function typeCheckConfig$8(untrustedConfig) {
6877
7324
  const config = {};
6878
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7325
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6879
7326
  return config;
6880
7327
  }
6881
7328
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -6924,7 +7371,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
6924
7371
  });
6925
7372
  }
6926
7373
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
6927
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
7374
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
6928
7375
  }
6929
7376
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
6930
7377
  const { luvio, config } = context;
@@ -6950,10 +7397,10 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
6950
7397
  };
6951
7398
 
6952
7399
  function select$9(luvio, params) {
6953
- return select$u();
7400
+ return select$w();
6954
7401
  }
6955
7402
  function keyBuilder$3(luvio, params) {
6956
- return keyBuilder$s(luvio, {
7403
+ return keyBuilder$w(luvio, {
6957
7404
  slackUserId: params.urlParams.slackUserId
6958
7405
  });
6959
7406
  }
@@ -7016,14 +7463,14 @@ const getSlackUser_ConfigPropertyMetadata = [
7016
7463
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7017
7464
  ];
7018
7465
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackUser_ConfigPropertyMetadata);
7019
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$n(getSlackUser_ConfigPropertyMetadata);
7466
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$p(getSlackUser_ConfigPropertyMetadata);
7020
7467
  function keyBuilder$2(luvio, config) {
7021
7468
  const resourceParams = createResourceParams$7(config);
7022
7469
  return keyBuilder$3(luvio, resourceParams);
7023
7470
  }
7024
7471
  function typeCheckConfig$7(untrustedConfig) {
7025
7472
  const config = {};
7026
- typeCheckConfig$n(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7473
+ typeCheckConfig$p(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7027
7474
  return config;
7028
7475
  }
7029
7476
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -7072,7 +7519,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
7072
7519
  });
7073
7520
  }
7074
7521
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
7075
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7522
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7076
7523
  }
7077
7524
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
7078
7525
  const { luvio, config } = context;
@@ -7098,7 +7545,7 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
7098
7545
  };
7099
7546
  const notifyChangeFactory = (luvio, options) => {
7100
7547
  return function getConnectSlackbridgeTeamUserBySlackUserIdAndTeamIdNotifyChange(configs) {
7101
- const keys = configs.map(c => keyBuilder$s(luvio, c));
7548
+ const keys = configs.map(c => keyBuilder$w(luvio, c));
7102
7549
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
7103
7550
  for (let i = 0, len = entries.length; i < len; i++) {
7104
7551
  const { key, record: val } = entries[i];
@@ -7132,7 +7579,7 @@ const notifyChangeFactory = (luvio, options) => {
7132
7579
  };
7133
7580
 
7134
7581
  function select$8(luvio, params) {
7135
- return select$H();
7582
+ return select$J();
7136
7583
  }
7137
7584
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
7138
7585
  getTypeCacheKeys$h(storeKeyMap, luvio, response);
@@ -7176,10 +7623,10 @@ const patchSlackMessage_ConfigPropertyMetadata = [
7176
7623
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
7177
7624
  ];
7178
7625
  const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchSlackMessage_ConfigPropertyMetadata);
7179
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$n(patchSlackMessage_ConfigPropertyMetadata);
7626
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$p(patchSlackMessage_ConfigPropertyMetadata);
7180
7627
  function typeCheckConfig$6(untrustedConfig) {
7181
7628
  const config = {};
7182
- typeCheckConfig$n(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
7629
+ typeCheckConfig$p(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
7183
7630
  return config;
7184
7631
  }
7185
7632
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -7286,7 +7733,7 @@ const select$7 = function SlackBridgePostMessageOutputRepresentationSelect() {
7286
7733
  {
7287
7734
  name: 'postedMessage',
7288
7735
  kind: 'Link',
7289
- fragment: select$z()
7736
+ fragment: select$B()
7290
7737
  },
7291
7738
  {
7292
7739
  name: 'timestamp',
@@ -7383,10 +7830,10 @@ const postSlackConversation_ConfigPropertyMetadata = [
7383
7830
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
7384
7831
  ];
7385
7832
  const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, postSlackConversation_ConfigPropertyMetadata);
7386
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$n(postSlackConversation_ConfigPropertyMetadata);
7833
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$p(postSlackConversation_ConfigPropertyMetadata);
7387
7834
  function typeCheckConfig$5(untrustedConfig) {
7388
7835
  const config = {};
7389
- typeCheckConfig$n(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
7836
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
7390
7837
  return config;
7391
7838
  }
7392
7839
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -7559,10 +8006,10 @@ const postSlackConversationMark_ConfigPropertyMetadata = [
7559
8006
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
7560
8007
  ];
7561
8008
  const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversationMark_ConfigPropertyMetadata);
7562
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$n(postSlackConversationMark_ConfigPropertyMetadata);
8009
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$p(postSlackConversationMark_ConfigPropertyMetadata);
7563
8010
  function typeCheckConfig$4(untrustedConfig) {
7564
8011
  const config = {};
7565
- typeCheckConfig$n(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
8012
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
7566
8013
  return config;
7567
8014
  }
7568
8015
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -7608,15 +8055,15 @@ const postSlackConversationMarkAdapterFactory = (luvio) => {
7608
8055
  };
7609
8056
 
7610
8057
  function select$3(luvio, params) {
7611
- return select$p();
8058
+ return select$o();
7612
8059
  }
7613
8060
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
7614
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
8061
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
7615
8062
  }
7616
8063
  function ingestSuccess$3(luvio, resourceParams, response) {
7617
8064
  const { body } = response;
7618
8065
  const key = keyBuilderFromType$3(luvio, body);
7619
- luvio.storeIngest(key, ingest$7, body);
8066
+ luvio.storeIngest(key, ingest$6, body);
7620
8067
  const snapshot = luvio.storeLookup({
7621
8068
  recordId: key,
7622
8069
  node: select$3(),
@@ -7651,10 +8098,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
7651
8098
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
7652
8099
  ];
7653
8100
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, postSlackConversationMembers_ConfigPropertyMetadata);
7654
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$n(postSlackConversationMembers_ConfigPropertyMetadata);
8101
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$p(postSlackConversationMembers_ConfigPropertyMetadata);
7655
8102
  function typeCheckConfig$3(untrustedConfig) {
7656
8103
  const config = {};
7657
- typeCheckConfig$n(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
8104
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
7658
8105
  return config;
7659
8106
  }
7660
8107
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7700,7 +8147,7 @@ const postSlackConversationMembersAdapterFactory = (luvio) => {
7700
8147
  };
7701
8148
 
7702
8149
  function select$2(luvio, params) {
7703
- return select$A();
8150
+ return select$C();
7704
8151
  }
7705
8152
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7706
8153
  getTypeCacheKeys$e(storeKeyMap, luvio, response);
@@ -7748,10 +8195,10 @@ const postSlackFile_ConfigPropertyMetadata = [
7748
8195
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
7749
8196
  ];
7750
8197
  const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postSlackFile_ConfigPropertyMetadata);
7751
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$n(postSlackFile_ConfigPropertyMetadata);
8198
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$p(postSlackFile_ConfigPropertyMetadata);
7752
8199
  function typeCheckConfig$2(untrustedConfig) {
7753
8200
  const config = {};
7754
- typeCheckConfig$n(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
8201
+ typeCheckConfig$p(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
7755
8202
  return config;
7756
8203
  }
7757
8204
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7797,7 +8244,7 @@ const postSlackFileAdapterFactory = (luvio) => {
7797
8244
  };
7798
8245
 
7799
8246
  function select$1(luvio, params) {
7800
- return select$F();
8247
+ return select$H();
7801
8248
  }
7802
8249
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
7803
8250
  getTypeCacheKeys$g(storeKeyMap, luvio, response);
@@ -7841,10 +8288,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
7841
8288
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
7842
8289
  ];
7843
8290
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postSlackMessageReactions_ConfigPropertyMetadata);
7844
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$n(postSlackMessageReactions_ConfigPropertyMetadata);
8291
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$p(postSlackMessageReactions_ConfigPropertyMetadata);
7845
8292
  function typeCheckConfig$1(untrustedConfig) {
7846
8293
  const config = {};
7847
- typeCheckConfig$n(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
8294
+ typeCheckConfig$p(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
7848
8295
  return config;
7849
8296
  }
7850
8297
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7890,15 +8337,15 @@ const postSlackMessageReactionsAdapterFactory = (luvio) => {
7890
8337
  };
7891
8338
 
7892
8339
  function select(luvio, params) {
7893
- return select$g();
8340
+ return select$f();
7894
8341
  }
7895
8342
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
7896
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
8343
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
7897
8344
  }
7898
8345
  function ingestSuccess(luvio, resourceParams, response) {
7899
8346
  const { body } = response;
7900
8347
  const key = keyBuilderFromType$2(luvio, body);
7901
- luvio.storeIngest(key, ingest$4, body);
8348
+ luvio.storeIngest(key, ingest$3, body);
7902
8349
  const snapshot = luvio.storeLookup({
7903
8350
  recordId: key,
7904
8351
  node: select(),
@@ -7932,10 +8379,10 @@ const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
7932
8379
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
7933
8380
  ];
7934
8381
  const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7935
- const createResourceParams = /*#__PURE__*/ createResourceParams$n(postSlackRecordChannelInfos_ConfigPropertyMetadata);
8382
+ const createResourceParams = /*#__PURE__*/ createResourceParams$p(postSlackRecordChannelInfos_ConfigPropertyMetadata);
7936
8383
  function typeCheckConfig(untrustedConfig) {
7937
8384
  const config = {};
7938
- typeCheckConfig$n(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
8385
+ typeCheckConfig$p(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7939
8386
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
7940
8387
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
7941
8388
  const untrustedConfig_conversationInfo_object = {};
@@ -7996,6 +8443,9 @@ let deleteSlackMessage;
7996
8443
  let deleteSlackMessageReactions;
7997
8444
  let getRelatedThreads;
7998
8445
  let getSlackConversation;
8446
+ let getSlackConversationInfo;
8447
+ let getSlackConversationInfoNotifyChange;
8448
+ let getSlackConversationInfos;
7999
8449
  let getSlackConversationMember;
8000
8450
  let getSlackConversationMemberNotifyChange;
8001
8451
  let getSlackConversationMembers;
@@ -8023,6 +8473,8 @@ let postSlackRecordChannelInfos;
8023
8473
  // Imperative GET Adapters
8024
8474
  let getRelatedThreads_imperative;
8025
8475
  let getSlackConversation_imperative;
8476
+ let getSlackConversationInfo_imperative;
8477
+ let getSlackConversationInfos_imperative;
8026
8478
  let getSlackConversationMember_imperative;
8027
8479
  let getSlackConversationMembers_imperative;
8028
8480
  let getSlackDisplayLogin_imperative;
@@ -8036,6 +8488,15 @@ let getSlackSearchUser_imperative;
8036
8488
  let getSlackUser_imperative;
8037
8489
  const getRelatedThreadsMetadata = { apiFamily: 'SlackBridge', name: 'getRelatedThreads', ttl: 500 };
8038
8490
  const getSlackConversationMetadata = { apiFamily: 'SlackBridge', name: 'getSlackConversation' };
8491
+ const getSlackConversationInfoMetadata = {
8492
+ apiFamily: 'SlackBridge',
8493
+ name: 'getSlackConversationInfo',
8494
+ ttl: 900000,
8495
+ };
8496
+ const getSlackConversationInfosMetadata = {
8497
+ apiFamily: 'SlackBridge',
8498
+ name: 'getSlackConversationInfos',
8499
+ };
8039
8500
  const getSlackConversationMemberMetadata = {
8040
8501
  apiFamily: 'SlackBridge',
8041
8502
  name: 'getSlackConversationMember',
@@ -8062,12 +8523,14 @@ const getSlackSearchConversationMetadata = {
8062
8523
  };
8063
8524
  const getSlackSearchEmojiMetadata = { apiFamily: 'SlackBridge', name: 'getSlackSearchEmoji' };
8064
8525
  const getSlackSearchUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackSearchUser' };
8065
- const getSlackUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackUser', ttl: 600000 };
8526
+ const getSlackUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackUser', ttl: 900000 };
8066
8527
  // Notify Update Available
8067
8528
  function bindExportsTo(luvio) {
8068
8529
  // LDS Adapters
8069
8530
  const getRelatedThreads_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedThreads', getRelatedThreadsAdapterFactory), getRelatedThreadsMetadata);
8070
8531
  const getSlackConversation_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversation', getSlackConversationAdapterFactory), getSlackConversationMetadata);
8532
+ const getSlackConversationInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationInfo', getSlackConversationInfoAdapterFactory), getSlackConversationInfoMetadata);
8533
+ const getSlackConversationInfos_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationInfos', getSlackConversationInfosAdapterFactory), getSlackConversationInfosMetadata);
8071
8534
  const getSlackConversationMember_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMember', getSlackConversationMemberAdapterFactory), getSlackConversationMemberMetadata);
8072
8535
  const getSlackConversationMembers_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMembers', getSlackConversationMembersAdapterFactory), getSlackConversationMembersMetadata);
8073
8536
  const getSlackDisplayLogin_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackDisplayLogin', getSlackDisplayLoginAdapterFactory), getSlackDisplayLoginMetadata);
@@ -8084,11 +8547,14 @@ function bindExportsTo(luvio) {
8084
8547
  return (config) => adapter(config).then((snapshot) => snapshot.data);
8085
8548
  }
8086
8549
  return {
8087
- deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$m, deleteSlackConversationMemberAdapterFactory),
8088
- deleteSlackMessage: createLDSAdapter(luvio, adapterName$l, deleteSlackMessageAdapterFactory),
8089
- deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$k, deleteSlackMessageReactionsAdapterFactory),
8550
+ deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$o, deleteSlackConversationMemberAdapterFactory),
8551
+ deleteSlackMessage: createLDSAdapter(luvio, adapterName$n, deleteSlackMessageAdapterFactory),
8552
+ deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$m, deleteSlackMessageReactionsAdapterFactory),
8090
8553
  getRelatedThreads: createWireAdapterConstructor(luvio, getRelatedThreads_ldsAdapter, getRelatedThreadsMetadata),
8091
8554
  getSlackConversation: createWireAdapterConstructor(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
8555
+ getSlackConversationInfo: createWireAdapterConstructor(luvio, getSlackConversationInfo_ldsAdapter, getSlackConversationInfoMetadata),
8556
+ getSlackConversationInfoNotifyChange: createLDSAdapter(luvio, 'getSlackConversationInfoNotifyChange', notifyChangeFactory$6),
8557
+ getSlackConversationInfos: createWireAdapterConstructor(luvio, getSlackConversationInfos_ldsAdapter, getSlackConversationInfosMetadata),
8092
8558
  getSlackConversationMember: createWireAdapterConstructor(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
8093
8559
  getSlackConversationMemberNotifyChange: createLDSAdapter(luvio, 'getSlackConversationMemberNotifyChange', notifyChangeFactory$5),
8094
8560
  getSlackConversationMembers: createWireAdapterConstructor(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
@@ -8116,6 +8582,8 @@ function bindExportsTo(luvio) {
8116
8582
  // Imperative GET Adapters
8117
8583
  getRelatedThreads_imperative: createImperativeAdapter(luvio, getRelatedThreads_ldsAdapter, getRelatedThreadsMetadata),
8118
8584
  getSlackConversation_imperative: createImperativeAdapter(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
8585
+ getSlackConversationInfo_imperative: createImperativeAdapter(luvio, getSlackConversationInfo_ldsAdapter, getSlackConversationInfoMetadata),
8586
+ getSlackConversationInfos_imperative: createImperativeAdapter(luvio, getSlackConversationInfos_ldsAdapter, getSlackConversationInfosMetadata),
8119
8587
  getSlackConversationMember_imperative: createImperativeAdapter(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
8120
8588
  getSlackConversationMembers_imperative: createImperativeAdapter(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
8121
8589
  getSlackDisplayLogin_imperative: createImperativeAdapter(luvio, getSlackDisplayLogin_ldsAdapter, getSlackDisplayLoginMetadata),
@@ -8137,6 +8605,9 @@ withDefaultLuvio((luvio) => {
8137
8605
  deleteSlackMessageReactions,
8138
8606
  getRelatedThreads,
8139
8607
  getSlackConversation,
8608
+ getSlackConversationInfo,
8609
+ getSlackConversationInfoNotifyChange,
8610
+ getSlackConversationInfos,
8140
8611
  getSlackConversationMember,
8141
8612
  getSlackConversationMemberNotifyChange,
8142
8613
  getSlackConversationMembers,
@@ -8163,6 +8634,8 @@ withDefaultLuvio((luvio) => {
8163
8634
  postSlackRecordChannelInfos,
8164
8635
  getRelatedThreads_imperative,
8165
8636
  getSlackConversation_imperative,
8637
+ getSlackConversationInfo_imperative,
8638
+ getSlackConversationInfos_imperative,
8166
8639
  getSlackConversationMember_imperative,
8167
8640
  getSlackConversationMembers_imperative,
8168
8641
  getSlackDisplayLogin_imperative,
@@ -8177,5 +8650,5 @@ withDefaultLuvio((luvio) => {
8177
8650
  } = bindExportsTo(luvio));
8178
8651
  });
8179
8652
 
8180
- export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getRelatedThreads_imperative, getSlackConversation, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_imperative, getSlackDisplayLogin, getSlackDisplayLogin_imperative, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmoji_imperative, getSlackEmojis, getSlackEmojis_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
8181
- // version: 1.354.0-dev2-493c24af5a
8653
+ export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getRelatedThreads_imperative, getSlackConversation, getSlackConversationInfo, getSlackConversationInfoNotifyChange, getSlackConversationInfo_imperative, getSlackConversationInfos, getSlackConversationInfos_imperative, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_imperative, getSlackDisplayLogin, getSlackDisplayLogin_imperative, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmoji_imperative, getSlackEmojis, getSlackEmojis_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
8654
+ // version: 1.354.0-dev4-98059adb6d