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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,
@@ -1664,7 +1665,7 @@ function equals$h(existing, incoming) {
1664
1665
  return true;
1665
1666
  }
1666
1667
 
1667
- const VERSION$g = "15fa7211c500ebba9537b3c9921b39cf";
1668
+ const VERSION$g = "0c63f7d5db21327ed0dd5a3be9ff421a";
1668
1669
  function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1669
1670
  const v_error = (() => {
1670
1671
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1750,6 +1751,214 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1750
1751
  if (typeof obj_slackPermalink !== 'string') {
1751
1752
  return new TypeError('Expected "string" but received "' + typeof obj_slackPermalink + '" (at "' + path_slackPermalink + '")');
1752
1753
  }
1754
+ const obj_thumb1024 = obj.thumb1024;
1755
+ const path_thumb1024 = path + '.thumb1024';
1756
+ let obj_thumb1024_union0 = null;
1757
+ const obj_thumb1024_union0_error = (() => {
1758
+ if (typeof obj_thumb1024 !== 'string') {
1759
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
1760
+ }
1761
+ })();
1762
+ if (obj_thumb1024_union0_error != null) {
1763
+ obj_thumb1024_union0 = obj_thumb1024_union0_error.message;
1764
+ }
1765
+ let obj_thumb1024_union1 = null;
1766
+ const obj_thumb1024_union1_error = (() => {
1767
+ if (obj_thumb1024 !== null) {
1768
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
1769
+ }
1770
+ })();
1771
+ if (obj_thumb1024_union1_error != null) {
1772
+ obj_thumb1024_union1 = obj_thumb1024_union1_error.message;
1773
+ }
1774
+ if (obj_thumb1024_union0 && obj_thumb1024_union1) {
1775
+ let message = 'Object doesn\'t match union (at "' + path_thumb1024 + '")';
1776
+ message += '\n' + obj_thumb1024_union0.split('\n').map((line) => '\t' + line).join('\n');
1777
+ message += '\n' + obj_thumb1024_union1.split('\n').map((line) => '\t' + line).join('\n');
1778
+ return new TypeError(message);
1779
+ }
1780
+ const obj_thumb360 = obj.thumb360;
1781
+ const path_thumb360 = path + '.thumb360';
1782
+ let obj_thumb360_union0 = null;
1783
+ const obj_thumb360_union0_error = (() => {
1784
+ if (typeof obj_thumb360 !== 'string') {
1785
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
1786
+ }
1787
+ })();
1788
+ if (obj_thumb360_union0_error != null) {
1789
+ obj_thumb360_union0 = obj_thumb360_union0_error.message;
1790
+ }
1791
+ let obj_thumb360_union1 = null;
1792
+ const obj_thumb360_union1_error = (() => {
1793
+ if (obj_thumb360 !== null) {
1794
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
1795
+ }
1796
+ })();
1797
+ if (obj_thumb360_union1_error != null) {
1798
+ obj_thumb360_union1 = obj_thumb360_union1_error.message;
1799
+ }
1800
+ if (obj_thumb360_union0 && obj_thumb360_union1) {
1801
+ let message = 'Object doesn\'t match union (at "' + path_thumb360 + '")';
1802
+ message += '\n' + obj_thumb360_union0.split('\n').map((line) => '\t' + line).join('\n');
1803
+ message += '\n' + obj_thumb360_union1.split('\n').map((line) => '\t' + line).join('\n');
1804
+ return new TypeError(message);
1805
+ }
1806
+ const obj_thumb480 = obj.thumb480;
1807
+ const path_thumb480 = path + '.thumb480';
1808
+ let obj_thumb480_union0 = null;
1809
+ const obj_thumb480_union0_error = (() => {
1810
+ if (typeof obj_thumb480 !== 'string') {
1811
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
1812
+ }
1813
+ })();
1814
+ if (obj_thumb480_union0_error != null) {
1815
+ obj_thumb480_union0 = obj_thumb480_union0_error.message;
1816
+ }
1817
+ let obj_thumb480_union1 = null;
1818
+ const obj_thumb480_union1_error = (() => {
1819
+ if (obj_thumb480 !== null) {
1820
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
1821
+ }
1822
+ })();
1823
+ if (obj_thumb480_union1_error != null) {
1824
+ obj_thumb480_union1 = obj_thumb480_union1_error.message;
1825
+ }
1826
+ if (obj_thumb480_union0 && obj_thumb480_union1) {
1827
+ let message = 'Object doesn\'t match union (at "' + path_thumb480 + '")';
1828
+ message += '\n' + obj_thumb480_union0.split('\n').map((line) => '\t' + line).join('\n');
1829
+ message += '\n' + obj_thumb480_union1.split('\n').map((line) => '\t' + line).join('\n');
1830
+ return new TypeError(message);
1831
+ }
1832
+ const obj_thumb720 = obj.thumb720;
1833
+ const path_thumb720 = path + '.thumb720';
1834
+ let obj_thumb720_union0 = null;
1835
+ const obj_thumb720_union0_error = (() => {
1836
+ if (typeof obj_thumb720 !== 'string') {
1837
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
1838
+ }
1839
+ })();
1840
+ if (obj_thumb720_union0_error != null) {
1841
+ obj_thumb720_union0 = obj_thumb720_union0_error.message;
1842
+ }
1843
+ let obj_thumb720_union1 = null;
1844
+ const obj_thumb720_union1_error = (() => {
1845
+ if (obj_thumb720 !== null) {
1846
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
1847
+ }
1848
+ })();
1849
+ if (obj_thumb720_union1_error != null) {
1850
+ obj_thumb720_union1 = obj_thumb720_union1_error.message;
1851
+ }
1852
+ if (obj_thumb720_union0 && obj_thumb720_union1) {
1853
+ let message = 'Object doesn\'t match union (at "' + path_thumb720 + '")';
1854
+ message += '\n' + obj_thumb720_union0.split('\n').map((line) => '\t' + line).join('\n');
1855
+ message += '\n' + obj_thumb720_union1.split('\n').map((line) => '\t' + line).join('\n');
1856
+ return new TypeError(message);
1857
+ }
1858
+ const obj_thumb960 = obj.thumb960;
1859
+ const path_thumb960 = path + '.thumb960';
1860
+ let obj_thumb960_union0 = null;
1861
+ const obj_thumb960_union0_error = (() => {
1862
+ if (typeof obj_thumb960 !== 'string') {
1863
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
1864
+ }
1865
+ })();
1866
+ if (obj_thumb960_union0_error != null) {
1867
+ obj_thumb960_union0 = obj_thumb960_union0_error.message;
1868
+ }
1869
+ let obj_thumb960_union1 = null;
1870
+ const obj_thumb960_union1_error = (() => {
1871
+ if (obj_thumb960 !== null) {
1872
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
1873
+ }
1874
+ })();
1875
+ if (obj_thumb960_union1_error != null) {
1876
+ obj_thumb960_union1 = obj_thumb960_union1_error.message;
1877
+ }
1878
+ if (obj_thumb960_union0 && obj_thumb960_union1) {
1879
+ let message = 'Object doesn\'t match union (at "' + path_thumb960 + '")';
1880
+ message += '\n' + obj_thumb960_union0.split('\n').map((line) => '\t' + line).join('\n');
1881
+ message += '\n' + obj_thumb960_union1.split('\n').map((line) => '\t' + line).join('\n');
1882
+ return new TypeError(message);
1883
+ }
1884
+ const obj_thumbVideo = obj.thumbVideo;
1885
+ const path_thumbVideo = path + '.thumbVideo';
1886
+ let obj_thumbVideo_union0 = null;
1887
+ const obj_thumbVideo_union0_error = (() => {
1888
+ if (typeof obj_thumbVideo !== 'string') {
1889
+ return new TypeError('Expected "string" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
1890
+ }
1891
+ })();
1892
+ if (obj_thumbVideo_union0_error != null) {
1893
+ obj_thumbVideo_union0 = obj_thumbVideo_union0_error.message;
1894
+ }
1895
+ let obj_thumbVideo_union1 = null;
1896
+ const obj_thumbVideo_union1_error = (() => {
1897
+ if (obj_thumbVideo !== null) {
1898
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
1899
+ }
1900
+ })();
1901
+ if (obj_thumbVideo_union1_error != null) {
1902
+ obj_thumbVideo_union1 = obj_thumbVideo_union1_error.message;
1903
+ }
1904
+ if (obj_thumbVideo_union0 && obj_thumbVideo_union1) {
1905
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideo + '")';
1906
+ message += '\n' + obj_thumbVideo_union0.split('\n').map((line) => '\t' + line).join('\n');
1907
+ message += '\n' + obj_thumbVideo_union1.split('\n').map((line) => '\t' + line).join('\n');
1908
+ return new TypeError(message);
1909
+ }
1910
+ const obj_thumbVideoHeight = obj.thumbVideoHeight;
1911
+ const path_thumbVideoHeight = path + '.thumbVideoHeight';
1912
+ let obj_thumbVideoHeight_union0 = null;
1913
+ const obj_thumbVideoHeight_union0_error = (() => {
1914
+ if (typeof obj_thumbVideoHeight !== 'number' || (typeof obj_thumbVideoHeight === 'number' && Math.floor(obj_thumbVideoHeight) !== obj_thumbVideoHeight)) {
1915
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
1916
+ }
1917
+ })();
1918
+ if (obj_thumbVideoHeight_union0_error != null) {
1919
+ obj_thumbVideoHeight_union0 = obj_thumbVideoHeight_union0_error.message;
1920
+ }
1921
+ let obj_thumbVideoHeight_union1 = null;
1922
+ const obj_thumbVideoHeight_union1_error = (() => {
1923
+ if (obj_thumbVideoHeight !== null) {
1924
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
1925
+ }
1926
+ })();
1927
+ if (obj_thumbVideoHeight_union1_error != null) {
1928
+ obj_thumbVideoHeight_union1 = obj_thumbVideoHeight_union1_error.message;
1929
+ }
1930
+ if (obj_thumbVideoHeight_union0 && obj_thumbVideoHeight_union1) {
1931
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoHeight + '")';
1932
+ message += '\n' + obj_thumbVideoHeight_union0.split('\n').map((line) => '\t' + line).join('\n');
1933
+ message += '\n' + obj_thumbVideoHeight_union1.split('\n').map((line) => '\t' + line).join('\n');
1934
+ return new TypeError(message);
1935
+ }
1936
+ const obj_thumbVideoWidth = obj.thumbVideoWidth;
1937
+ const path_thumbVideoWidth = path + '.thumbVideoWidth';
1938
+ let obj_thumbVideoWidth_union0 = null;
1939
+ const obj_thumbVideoWidth_union0_error = (() => {
1940
+ if (typeof obj_thumbVideoWidth !== 'number' || (typeof obj_thumbVideoWidth === 'number' && Math.floor(obj_thumbVideoWidth) !== obj_thumbVideoWidth)) {
1941
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
1942
+ }
1943
+ })();
1944
+ if (obj_thumbVideoWidth_union0_error != null) {
1945
+ obj_thumbVideoWidth_union0 = obj_thumbVideoWidth_union0_error.message;
1946
+ }
1947
+ let obj_thumbVideoWidth_union1 = null;
1948
+ const obj_thumbVideoWidth_union1_error = (() => {
1949
+ if (obj_thumbVideoWidth !== null) {
1950
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
1951
+ }
1952
+ })();
1953
+ if (obj_thumbVideoWidth_union1_error != null) {
1954
+ obj_thumbVideoWidth_union1 = obj_thumbVideoWidth_union1_error.message;
1955
+ }
1956
+ if (obj_thumbVideoWidth_union0 && obj_thumbVideoWidth_union1) {
1957
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoWidth + '")';
1958
+ message += '\n' + obj_thumbVideoWidth_union0.split('\n').map((line) => '\t' + line).join('\n');
1959
+ message += '\n' + obj_thumbVideoWidth_union1.split('\n').map((line) => '\t' + line).join('\n');
1960
+ return new TypeError(message);
1961
+ }
1753
1962
  const obj_title = obj.title;
1754
1963
  const path_title = path + '.title';
1755
1964
  if (typeof obj_title !== 'string') {
@@ -1837,20 +2046,20 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1837
2046
  return v_error === undefined ? null : v_error;
1838
2047
  }
1839
2048
  const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
1840
- function keyBuilder$w(luvio, config) {
2049
+ function keyBuilder$A(luvio, config) {
1841
2050
  return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
1842
2051
  }
1843
2052
  function keyBuilderFromType$6(luvio, object) {
1844
2053
  const keyParams = {
1845
2054
  uniqueKey: object.uniqueKey
1846
2055
  };
1847
- return keyBuilder$w(luvio, keyParams);
2056
+ return keyBuilder$A(luvio, keyParams);
1848
2057
  }
1849
2058
  function normalize$e(input, existing, path, luvio, store, timestamp) {
1850
2059
  return input;
1851
2060
  }
1852
- const select$A = function SlackBridgeFileOutputRepresentationSelect() {
1853
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$B();
2061
+ const select$C = function SlackBridgeFileOutputRepresentationSelect() {
2062
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$D();
1854
2063
  return {
1855
2064
  kind: 'Fragment',
1856
2065
  version: VERSION$g,
@@ -1886,6 +2095,38 @@ const select$A = function SlackBridgeFileOutputRepresentationSelect() {
1886
2095
  name: 'slackPermalink',
1887
2096
  kind: 'Scalar'
1888
2097
  },
2098
+ {
2099
+ name: 'thumb1024',
2100
+ kind: 'Scalar'
2101
+ },
2102
+ {
2103
+ name: 'thumb360',
2104
+ kind: 'Scalar'
2105
+ },
2106
+ {
2107
+ name: 'thumb480',
2108
+ kind: 'Scalar'
2109
+ },
2110
+ {
2111
+ name: 'thumb720',
2112
+ kind: 'Scalar'
2113
+ },
2114
+ {
2115
+ name: 'thumb960',
2116
+ kind: 'Scalar'
2117
+ },
2118
+ {
2119
+ name: 'thumbVideo',
2120
+ kind: 'Scalar'
2121
+ },
2122
+ {
2123
+ name: 'thumbVideoHeight',
2124
+ kind: 'Scalar'
2125
+ },
2126
+ {
2127
+ name: 'thumbVideoWidth',
2128
+ kind: 'Scalar'
2129
+ },
1889
2130
  {
1890
2131
  name: 'title',
1891
2132
  kind: 'Scalar'
@@ -1949,6 +2190,46 @@ function equals$g(existing, incoming) {
1949
2190
  if (!(existing_size === incoming_size)) {
1950
2191
  return false;
1951
2192
  }
2193
+ const existing_thumb1024 = existing.thumb1024;
2194
+ const incoming_thumb1024 = incoming.thumb1024;
2195
+ if (!(existing_thumb1024 === incoming_thumb1024)) {
2196
+ return false;
2197
+ }
2198
+ const existing_thumb360 = existing.thumb360;
2199
+ const incoming_thumb360 = incoming.thumb360;
2200
+ if (!(existing_thumb360 === incoming_thumb360)) {
2201
+ return false;
2202
+ }
2203
+ const existing_thumb480 = existing.thumb480;
2204
+ const incoming_thumb480 = incoming.thumb480;
2205
+ if (!(existing_thumb480 === incoming_thumb480)) {
2206
+ return false;
2207
+ }
2208
+ const existing_thumb720 = existing.thumb720;
2209
+ const incoming_thumb720 = incoming.thumb720;
2210
+ if (!(existing_thumb720 === incoming_thumb720)) {
2211
+ return false;
2212
+ }
2213
+ const existing_thumb960 = existing.thumb960;
2214
+ const incoming_thumb960 = incoming.thumb960;
2215
+ if (!(existing_thumb960 === incoming_thumb960)) {
2216
+ return false;
2217
+ }
2218
+ const existing_thumbVideo = existing.thumbVideo;
2219
+ const incoming_thumbVideo = incoming.thumbVideo;
2220
+ if (!(existing_thumbVideo === incoming_thumbVideo)) {
2221
+ return false;
2222
+ }
2223
+ const existing_thumbVideoHeight = existing.thumbVideoHeight;
2224
+ const incoming_thumbVideoHeight = incoming.thumbVideoHeight;
2225
+ if (!(existing_thumbVideoHeight === incoming_thumbVideoHeight)) {
2226
+ return false;
2227
+ }
2228
+ const existing_thumbVideoWidth = existing.thumbVideoWidth;
2229
+ const incoming_thumbVideoWidth = incoming.thumbVideoWidth;
2230
+ if (!(existing_thumbVideoWidth === incoming_thumbVideoWidth)) {
2231
+ return false;
2232
+ }
1952
2233
  const existing_token = existing.token;
1953
2234
  const incoming_token = incoming.token;
1954
2235
  if (!(existing_token === incoming_token)) {
@@ -2383,8 +2664,8 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
2383
2664
  }
2384
2665
  return input;
2385
2666
  }
2386
- const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2387
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$G();
2667
+ const select$B = function SlackBridgeMessageOutputRepresentationSelect() {
2668
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$I();
2388
2669
  return {
2389
2670
  kind: 'Fragment',
2390
2671
  version: VERSION$f,
@@ -2408,7 +2689,7 @@ const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2408
2689
  name: 'files',
2409
2690
  kind: 'Link',
2410
2691
  plural: true,
2411
- fragment: select$A()
2692
+ fragment: select$C()
2412
2693
  },
2413
2694
  {
2414
2695
  name: 'includesCustomEmoji',
@@ -2719,7 +3000,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
2719
3000
  }
2720
3001
  return input;
2721
3002
  }
2722
- const select$y = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
3003
+ const select$A = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
2723
3004
  return {
2724
3005
  kind: 'Fragment',
2725
3006
  version: VERSION$e,
@@ -2729,13 +3010,13 @@ const select$y = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
2729
3010
  name: 'conversations',
2730
3011
  kind: 'Link',
2731
3012
  plural: true,
2732
- fragment: select$E()
3013
+ fragment: select$G()
2733
3014
  },
2734
3015
  {
2735
3016
  name: 'messages',
2736
3017
  kind: 'Link',
2737
3018
  plural: true,
2738
- fragment: select$z()
3019
+ fragment: select$B()
2739
3020
  },
2740
3021
  {
2741
3022
  name: 'teamId',
@@ -2802,22 +3083,22 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2802
3083
  }
2803
3084
  }
2804
3085
 
2805
- function select$x(luvio, params) {
2806
- return select$y();
3086
+ function select$z(luvio, params) {
3087
+ return select$A();
2807
3088
  }
2808
- function keyBuilder$v(luvio, params) {
3089
+ function keyBuilder$z(luvio, params) {
2809
3090
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
2810
3091
  }
2811
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
2812
- getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
3092
+ function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
3093
+ getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$z(luvio, resourceParams));
2813
3094
  }
2814
- function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
3095
+ function ingestSuccess$l(luvio, resourceParams, response, snapshotRefresh) {
2815
3096
  const { body } = response;
2816
- const key = keyBuilder$v(luvio, resourceParams);
3097
+ const key = keyBuilder$z(luvio, resourceParams);
2817
3098
  luvio.storeIngest(key, ingest$c, body);
2818
3099
  const snapshot = luvio.storeLookup({
2819
3100
  recordId: key,
2820
- node: select$x(),
3101
+ node: select$z(),
2821
3102
  variables: {},
2822
3103
  }, snapshotRefresh);
2823
3104
  if (process.env.NODE_ENV !== 'production') {
@@ -2828,8 +3109,8 @@ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
2828
3109
  deepFreeze(snapshot.data);
2829
3110
  return snapshot;
2830
3111
  }
2831
- function ingestError$c(luvio, params, error, snapshotRefresh) {
2832
- const key = keyBuilder$v(luvio, params);
3112
+ function ingestError$e(luvio, params, error, snapshotRefresh) {
3113
+ const key = keyBuilder$z(luvio, params);
2833
3114
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2834
3115
  const storeMetadataParams = {
2835
3116
  ttl: TTL$3,
@@ -2840,7 +3121,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
2840
3121
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2841
3122
  return errorSnapshot;
2842
3123
  }
2843
- function createResourceRequest$j(config) {
3124
+ function createResourceRequest$l(config) {
2844
3125
  const headers = {};
2845
3126
  return {
2846
3127
  baseUri: '/services/data/v64.0',
@@ -2854,90 +3135,90 @@ function createResourceRequest$j(config) {
2854
3135
  };
2855
3136
  }
2856
3137
 
2857
- const adapterName$j = 'getRelatedThreads';
3138
+ const adapterName$l = 'getRelatedThreads';
2858
3139
  const getRelatedThreads_ConfigPropertyMetadata = [
2859
3140
  generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
2860
3141
  ];
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);
3142
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getRelatedThreads_ConfigPropertyMetadata);
3143
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$p(getRelatedThreads_ConfigPropertyMetadata);
3144
+ function keyBuilder$y(luvio, config) {
3145
+ const resourceParams = createResourceParams$l(config);
3146
+ return keyBuilder$z(luvio, resourceParams);
2866
3147
  }
2867
- function typeCheckConfig$j(untrustedConfig) {
3148
+ function typeCheckConfig$l(untrustedConfig) {
2868
3149
  const config = {};
2869
- typeCheckConfig$n(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
3150
+ typeCheckConfig$p(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
2870
3151
  return config;
2871
3152
  }
2872
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
3153
+ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
2873
3154
  if (!untrustedIsObject(untrustedConfig)) {
2874
3155
  return null;
2875
3156
  }
2876
3157
  if (process.env.NODE_ENV !== 'production') {
2877
3158
  validateConfig(untrustedConfig, configPropertyNames);
2878
3159
  }
2879
- const config = typeCheckConfig$j(untrustedConfig);
3160
+ const config = typeCheckConfig$l(untrustedConfig);
2880
3161
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2881
3162
  return null;
2882
3163
  }
2883
3164
  return config;
2884
3165
  }
2885
- function adapterFragment$c(luvio, config) {
2886
- createResourceParams$j(config);
2887
- return select$x();
3166
+ function adapterFragment$e(luvio, config) {
3167
+ createResourceParams$l(config);
3168
+ return select$z();
2888
3169
  }
2889
- function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
2890
- const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
3170
+ function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
3171
+ const snapshot = ingestSuccess$l(luvio, resourceParams, response, {
2891
3172
  config,
2892
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
3173
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
2893
3174
  });
2894
3175
  return luvio.storeBroadcast().then(() => snapshot);
2895
3176
  }
2896
- function onFetchResponseError$c(luvio, config, resourceParams, response) {
2897
- const snapshot = ingestError$c(luvio, resourceParams, response, {
3177
+ function onFetchResponseError$e(luvio, config, resourceParams, response) {
3178
+ const snapshot = ingestError$e(luvio, resourceParams, response, {
2898
3179
  config,
2899
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
3180
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
2900
3181
  });
2901
3182
  return luvio.storeBroadcast().then(() => snapshot);
2902
3183
  }
2903
- function buildNetworkSnapshot$j(luvio, config, options) {
2904
- const resourceParams = createResourceParams$j(config);
2905
- const request = createResourceRequest$j(resourceParams);
3184
+ function buildNetworkSnapshot$l(luvio, config, options) {
3185
+ const resourceParams = createResourceParams$l(config);
3186
+ const request = createResourceRequest$l(resourceParams);
2906
3187
  return luvio.dispatchResourceRequest(request, options)
2907
3188
  .then((response) => {
2908
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
3189
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$e(luvio, config, resourceParams, response), () => {
2909
3190
  const cache = new StoreKeyMap();
2910
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
3191
+ getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
2911
3192
  return cache;
2912
3193
  });
2913
3194
  }, (response) => {
2914
- return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
3195
+ return luvio.handleErrorResponse(() => onFetchResponseError$e(luvio, config, resourceParams, response));
2915
3196
  });
2916
3197
  }
2917
- function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
2918
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
3198
+ function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
3199
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
2919
3200
  }
2920
- function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
3201
+ function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
2921
3202
  const { luvio, config } = context;
2922
3203
  const selector = {
2923
- recordId: keyBuilder$u(luvio, config),
2924
- node: adapterFragment$c(luvio, config),
3204
+ recordId: keyBuilder$y(luvio, config),
3205
+ node: adapterFragment$e(luvio, config),
2925
3206
  variables: {},
2926
3207
  };
2927
3208
  const cacheSnapshot = storeLookup(selector, {
2928
3209
  config,
2929
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
3210
+ resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
2930
3211
  });
2931
3212
  return cacheSnapshot;
2932
3213
  }
2933
3214
  const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
2934
- const config = validateAdapterConfig$j(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
3215
+ const config = validateAdapterConfig$l(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
2935
3216
  // Invalid or incomplete config
2936
3217
  if (config === null) {
2937
3218
  return null;
2938
3219
  }
2939
3220
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2940
- buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
3221
+ buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
2941
3222
  };
2942
3223
 
2943
3224
  const VERSION$d = "6a2ede1150bccf991e3f6ea7b55a9964";
@@ -3027,7 +3308,7 @@ function validate$d(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
3027
3308
  })();
3028
3309
  return v_error === undefined ? null : v_error;
3029
3310
  }
3030
- const select$w = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3311
+ const select$y = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3031
3312
  return {
3032
3313
  kind: 'Fragment',
3033
3314
  version: VERSION$d,
@@ -3216,20 +3497,20 @@ function validate$c(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
3216
3497
  return v_error === undefined ? null : v_error;
3217
3498
  }
3218
3499
  const RepresentationType$b = 'SlackBridgeEmojiOutputRepresentation';
3219
- function keyBuilder$t(luvio, config) {
3500
+ function keyBuilder$x(luvio, config) {
3220
3501
  return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
3221
3502
  }
3222
3503
  function keyBuilderFromType$5(luvio, object) {
3223
3504
  const keyParams = {
3224
3505
  name: object.name
3225
3506
  };
3226
- return keyBuilder$t(luvio, keyParams);
3507
+ return keyBuilder$x(luvio, keyParams);
3227
3508
  }
3228
3509
  function normalize$b(input, existing, path, luvio, store, timestamp) {
3229
3510
  return input;
3230
3511
  }
3231
- const select$v = function SlackBridgeEmojiOutputRepresentationSelect() {
3232
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$w();
3512
+ const select$x = function SlackBridgeEmojiOutputRepresentationSelect() {
3513
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$y();
3233
3514
  return {
3234
3515
  kind: 'Fragment',
3235
3516
  version: VERSION$c,
@@ -3322,8 +3603,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3322
3603
  });
3323
3604
  }
3324
3605
 
3325
- const TTL$1 = 600000;
3326
- const VERSION$b = "ffc32ae0451b10824fba0c96aa0d2115";
3606
+ const TTL$1 = 900000;
3607
+ const VERSION$b = "659332e7c7b6cebe3e1dc23512e2381e";
3327
3608
  function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3328
3609
  const v_error = (() => {
3329
3610
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3695,8 +3976,29 @@ function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3695
3976
  }
3696
3977
  const obj_teamId = obj.teamId;
3697
3978
  const path_teamId = path + '.teamId';
3698
- if (typeof obj_teamId !== 'string') {
3699
- return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
3979
+ let obj_teamId_union0 = null;
3980
+ const obj_teamId_union0_error = (() => {
3981
+ if (typeof obj_teamId !== 'string') {
3982
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
3983
+ }
3984
+ })();
3985
+ if (obj_teamId_union0_error != null) {
3986
+ obj_teamId_union0 = obj_teamId_union0_error.message;
3987
+ }
3988
+ let obj_teamId_union1 = null;
3989
+ const obj_teamId_union1_error = (() => {
3990
+ if (obj_teamId !== null) {
3991
+ return new TypeError('Expected "null" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
3992
+ }
3993
+ })();
3994
+ if (obj_teamId_union1_error != null) {
3995
+ obj_teamId_union1 = obj_teamId_union1_error.message;
3996
+ }
3997
+ if (obj_teamId_union0 && obj_teamId_union1) {
3998
+ let message = 'Object doesn\'t match union (at "' + path_teamId + '")';
3999
+ message += '\n' + obj_teamId_union0.split('\n').map((line) => '\t' + line).join('\n');
4000
+ message += '\n' + obj_teamId_union1.split('\n').map((line) => '\t' + line).join('\n');
4001
+ return new TypeError(message);
3700
4002
  }
3701
4003
  const obj_title = obj.title;
3702
4004
  const path_title = path + '.title';
@@ -3724,19 +4026,74 @@ function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3724
4026
  message += '\n' + obj_title_union1.split('\n').map((line) => '\t' + line).join('\n');
3725
4027
  return new TypeError(message);
3726
4028
  }
4029
+ if (obj.tz !== undefined) {
4030
+ const obj_tz = obj.tz;
4031
+ const path_tz = path + '.tz';
4032
+ let obj_tz_union0 = null;
4033
+ const obj_tz_union0_error = (() => {
4034
+ if (typeof obj_tz !== 'string') {
4035
+ return new TypeError('Expected "string" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
4036
+ }
4037
+ })();
4038
+ if (obj_tz_union0_error != null) {
4039
+ obj_tz_union0 = obj_tz_union0_error.message;
4040
+ }
4041
+ let obj_tz_union1 = null;
4042
+ const obj_tz_union1_error = (() => {
4043
+ if (obj_tz !== null) {
4044
+ return new TypeError('Expected "null" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
4045
+ }
4046
+ })();
4047
+ if (obj_tz_union1_error != null) {
4048
+ obj_tz_union1 = obj_tz_union1_error.message;
4049
+ }
4050
+ if (obj_tz_union0 && obj_tz_union1) {
4051
+ let message = 'Object doesn\'t match union (at "' + path_tz + '")';
4052
+ message += '\n' + obj_tz_union0.split('\n').map((line) => '\t' + line).join('\n');
4053
+ message += '\n' + obj_tz_union1.split('\n').map((line) => '\t' + line).join('\n');
4054
+ return new TypeError(message);
4055
+ }
4056
+ }
4057
+ if (obj.tzLabel !== undefined) {
4058
+ const obj_tzLabel = obj.tzLabel;
4059
+ const path_tzLabel = path + '.tzLabel';
4060
+ let obj_tzLabel_union0 = null;
4061
+ const obj_tzLabel_union0_error = (() => {
4062
+ if (typeof obj_tzLabel !== 'string') {
4063
+ return new TypeError('Expected "string" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
4064
+ }
4065
+ })();
4066
+ if (obj_tzLabel_union0_error != null) {
4067
+ obj_tzLabel_union0 = obj_tzLabel_union0_error.message;
4068
+ }
4069
+ let obj_tzLabel_union1 = null;
4070
+ const obj_tzLabel_union1_error = (() => {
4071
+ if (obj_tzLabel !== null) {
4072
+ return new TypeError('Expected "null" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
4073
+ }
4074
+ })();
4075
+ if (obj_tzLabel_union1_error != null) {
4076
+ obj_tzLabel_union1 = obj_tzLabel_union1_error.message;
4077
+ }
4078
+ if (obj_tzLabel_union0 && obj_tzLabel_union1) {
4079
+ let message = 'Object doesn\'t match union (at "' + path_tzLabel + '")';
4080
+ message += '\n' + obj_tzLabel_union0.split('\n').map((line) => '\t' + line).join('\n');
4081
+ message += '\n' + obj_tzLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
4082
+ return new TypeError(message);
4083
+ }
4084
+ }
3727
4085
  })();
3728
4086
  return v_error === undefined ? null : v_error;
3729
4087
  }
3730
4088
  const RepresentationType$a = 'SlackBridgeUserInfoOutputRepresentation';
3731
- function keyBuilder$s(luvio, config) {
3732
- return keyPrefix + '::' + RepresentationType$a + ':' + config.teamId + ':' + config.slackUserId;
4089
+ function keyBuilder$w(luvio, config) {
4090
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.slackUserId;
3733
4091
  }
3734
4092
  function keyBuilderFromType$4(luvio, object) {
3735
4093
  const keyParams = {
3736
- teamId: object.teamId,
3737
4094
  slackUserId: object.slackUserId
3738
4095
  };
3739
- return keyBuilder$s(luvio, keyParams);
4096
+ return keyBuilder$w(luvio, keyParams);
3740
4097
  }
3741
4098
  function normalize$a(input, existing, path, luvio, store, timestamp) {
3742
4099
  const input_statusEmoji = input.statusEmoji;
@@ -3755,7 +4112,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3755
4112
  }
3756
4113
  return input;
3757
4114
  }
3758
- const select$u = function SlackBridgeUserInfoOutputRepresentationSelect() {
4115
+ const select$w = function SlackBridgeUserInfoOutputRepresentationSelect() {
3759
4116
  return {
3760
4117
  kind: 'Fragment',
3761
4118
  version: VERSION$b,
@@ -3828,7 +4185,7 @@ const select$u = function SlackBridgeUserInfoOutputRepresentationSelect() {
3828
4185
  name: 'statusEmoji',
3829
4186
  kind: 'Link',
3830
4187
  nullable: true,
3831
- fragment: select$v()
4188
+ fragment: select$x()
3832
4189
  },
3833
4190
  {
3834
4191
  name: 'statusMessage',
@@ -3841,6 +4198,16 @@ const select$u = function SlackBridgeUserInfoOutputRepresentationSelect() {
3841
4198
  {
3842
4199
  name: 'title',
3843
4200
  kind: 'Scalar'
4201
+ },
4202
+ {
4203
+ name: 'tz',
4204
+ kind: 'Scalar',
4205
+ required: false
4206
+ },
4207
+ {
4208
+ name: 'tzLabel',
4209
+ kind: 'Scalar',
4210
+ required: false
3844
4211
  }
3845
4212
  ]
3846
4213
  };
@@ -3874,11 +4241,6 @@ function equals$b(existing, incoming) {
3874
4241
  if (!(existing_slackUserId === incoming_slackUserId)) {
3875
4242
  return false;
3876
4243
  }
3877
- const existing_teamId = existing.teamId;
3878
- const incoming_teamId = incoming.teamId;
3879
- if (!(existing_teamId === incoming_teamId)) {
3880
- return false;
3881
- }
3882
4244
  const existing_displayName = existing.displayName;
3883
4245
  const incoming_displayName = incoming.displayName;
3884
4246
  if (!(existing_displayName === incoming_displayName)) {
@@ -3965,11 +4327,42 @@ function equals$b(existing, incoming) {
3965
4327
  if (!(existing_statusMessage === incoming_statusMessage)) {
3966
4328
  return false;
3967
4329
  }
4330
+ const existing_teamId = existing.teamId;
4331
+ const incoming_teamId = incoming.teamId;
4332
+ if (!(existing_teamId === incoming_teamId)) {
4333
+ return false;
4334
+ }
3968
4335
  const existing_title = existing.title;
3969
4336
  const incoming_title = incoming.title;
3970
4337
  if (!(existing_title === incoming_title)) {
3971
4338
  return false;
3972
4339
  }
4340
+ const existing_tz = existing.tz;
4341
+ const incoming_tz = incoming.tz;
4342
+ // if at least one of these optionals is defined
4343
+ if (existing_tz !== undefined || incoming_tz !== undefined) {
4344
+ // if one of these is not defined we know the other is defined and therefore
4345
+ // not equal
4346
+ if (existing_tz === undefined || incoming_tz === undefined) {
4347
+ return false;
4348
+ }
4349
+ if (!(existing_tz === incoming_tz)) {
4350
+ return false;
4351
+ }
4352
+ }
4353
+ const existing_tzLabel = existing.tzLabel;
4354
+ const incoming_tzLabel = incoming.tzLabel;
4355
+ // if at least one of these optionals is defined
4356
+ if (existing_tzLabel !== undefined || incoming_tzLabel !== undefined) {
4357
+ // if one of these is not defined we know the other is defined and therefore
4358
+ // not equal
4359
+ if (existing_tzLabel === undefined || incoming_tzLabel === undefined) {
4360
+ return false;
4361
+ }
4362
+ if (!(existing_tzLabel === incoming_tzLabel)) {
4363
+ return false;
4364
+ }
4365
+ }
3973
4366
  return true;
3974
4367
  }
3975
4368
  const ingest$a = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -4069,7 +4462,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
4069
4462
  }
4070
4463
  return input;
4071
4464
  }
4072
- const select$t = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4465
+ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4073
4466
  return {
4074
4467
  kind: 'Fragment',
4075
4468
  version: VERSION$a,
@@ -4083,7 +4476,7 @@ const select$t = function SlackBridgeConversationHistoryOutputRepresentationSele
4083
4476
  name: 'messages',
4084
4477
  kind: 'Link',
4085
4478
  plural: true,
4086
- fragment: select$z()
4479
+ fragment: select$B()
4087
4480
  },
4088
4481
  {
4089
4482
  name: 'nextCursor',
@@ -4141,7 +4534,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4141
4534
  }
4142
4535
  }
4143
4536
 
4144
- const VERSION$9 = "7ec6cbca3e2948ff5ef00e4034f365d5";
4537
+ const VERSION$9 = "1119f2c416d047eefd8303c5a2d590ae";
4145
4538
  function validate$9(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4146
4539
  const v_error = (() => {
4147
4540
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4209,6 +4602,30 @@ function validate$9(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4209
4602
  message += '\n' + obj_conversationInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
4210
4603
  return new TypeError(message);
4211
4604
  }
4605
+ const obj_conversationInfos = obj.conversationInfos;
4606
+ const path_conversationInfos = path + '.conversationInfos';
4607
+ if (!ArrayIsArray(obj_conversationInfos)) {
4608
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
4609
+ }
4610
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
4611
+ const obj_conversationInfos_item = obj_conversationInfos[i];
4612
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
4613
+ if (typeof obj_conversationInfos_item !== 'object') {
4614
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
4615
+ }
4616
+ }
4617
+ const obj_emojis = obj.emojis;
4618
+ const path_emojis = path + '.emojis';
4619
+ if (!ArrayIsArray(obj_emojis)) {
4620
+ return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
4621
+ }
4622
+ for (let i = 0; i < obj_emojis.length; i++) {
4623
+ const obj_emojis_item = obj_emojis[i];
4624
+ const path_emojis_item = path_emojis + '[' + i + ']';
4625
+ if (typeof obj_emojis_item !== 'object') {
4626
+ return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
4627
+ }
4628
+ }
4212
4629
  const obj_history = obj.history;
4213
4630
  const path_history = path + '.history';
4214
4631
  if (typeof obj_history !== 'object') {
@@ -4316,6 +4733,38 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4316
4733
  ttl: path.ttl
4317
4734
  }, luvio, store, timestamp);
4318
4735
  }
4736
+ const input_conversationInfos = input.conversationInfos;
4737
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
4738
+ for (let i = 0; i < input_conversationInfos.length; i++) {
4739
+ const input_conversationInfos_item = input_conversationInfos[i];
4740
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
4741
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
4742
+ fullPath: input_conversationInfos_item_id,
4743
+ propertyName: i,
4744
+ parent: {
4745
+ data: input,
4746
+ key: path.fullPath,
4747
+ existing: existing,
4748
+ },
4749
+ ttl: path.ttl
4750
+ }, luvio, store, timestamp);
4751
+ }
4752
+ const input_emojis = input.emojis;
4753
+ const input_emojis_id = path.fullPath + '__emojis';
4754
+ for (let i = 0; i < input_emojis.length; i++) {
4755
+ const input_emojis_item = input_emojis[i];
4756
+ let input_emojis_item_id = input_emojis_id + '__' + i;
4757
+ input_emojis[i] = ingest$b(input_emojis_item, {
4758
+ fullPath: input_emojis_item_id,
4759
+ propertyName: i,
4760
+ parent: {
4761
+ data: input,
4762
+ key: path.fullPath,
4763
+ existing: existing,
4764
+ },
4765
+ ttl: path.ttl
4766
+ }, luvio, store, timestamp);
4767
+ }
4319
4768
  const input_history = input.history;
4320
4769
  const input_history_id = path.fullPath + '__history';
4321
4770
  input.history = ingest$9(input_history, {
@@ -4346,7 +4795,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4346
4795
  }
4347
4796
  return input;
4348
4797
  }
4349
- const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
4798
+ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
4350
4799
  return {
4351
4800
  kind: 'Fragment',
4352
4801
  version: VERSION$9,
@@ -4364,18 +4813,30 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
4364
4813
  name: 'contextUserInfo',
4365
4814
  kind: 'Link',
4366
4815
  nullable: true,
4367
- fragment: select$u()
4816
+ fragment: select$w()
4368
4817
  },
4369
4818
  {
4370
4819
  name: 'conversationInfo',
4371
4820
  kind: 'Link',
4372
4821
  nullable: true,
4373
- fragment: select$E()
4822
+ fragment: select$G()
4823
+ },
4824
+ {
4825
+ name: 'conversationInfos',
4826
+ kind: 'Link',
4827
+ plural: true,
4828
+ fragment: select$G()
4829
+ },
4830
+ {
4831
+ name: 'emojis',
4832
+ kind: 'Link',
4833
+ plural: true,
4834
+ fragment: select$x()
4374
4835
  },
4375
4836
  {
4376
4837
  name: 'history',
4377
4838
  kind: 'Link',
4378
- fragment: select$t()
4839
+ fragment: select$v()
4379
4840
  },
4380
4841
  {
4381
4842
  name: 'teamId',
@@ -4389,7 +4850,7 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
4389
4850
  name: 'userInfos',
4390
4851
  kind: 'Link',
4391
4852
  plural: true,
4392
- fragment: select$u()
4853
+ fragment: select$w()
4393
4854
  },
4394
4855
  {
4395
4856
  name: 'websocketUrl',
@@ -4434,6 +4895,26 @@ function equals$9(existing, incoming) {
4434
4895
  existing_conversationInfo.__ref === incoming_conversationInfo.__ref))) {
4435
4896
  return false;
4436
4897
  }
4898
+ const existing_conversationInfos = existing.conversationInfos;
4899
+ const incoming_conversationInfos = incoming.conversationInfos;
4900
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
4901
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
4902
+ return false;
4903
+ }
4904
+ });
4905
+ if (equals_conversationInfos_items === false) {
4906
+ return false;
4907
+ }
4908
+ const existing_emojis = existing.emojis;
4909
+ const incoming_emojis = incoming.emojis;
4910
+ const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
4911
+ if (!(existing_emojis_item.__ref === incoming_emojis_item.__ref)) {
4912
+ return false;
4913
+ }
4914
+ });
4915
+ if (equals_emojis_items === false) {
4916
+ return false;
4917
+ }
4437
4918
  const existing_history = existing.history;
4438
4919
  const incoming_history = incoming.history;
4439
4920
  if (!(existing_history.__ref === incoming_history.__ref)) {
@@ -4487,6 +4968,14 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4487
4968
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
4488
4969
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4489
4970
  }
4971
+ const input_conversationInfos_length = input.conversationInfos.length;
4972
+ for (let i = 0; i < input_conversationInfos_length; i++) {
4973
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
4974
+ }
4975
+ const input_emojis_length = input.emojis.length;
4976
+ for (let i = 0; i < input_emojis_length; i++) {
4977
+ getTypeCacheKeys$b(rootKeySet, luvio, input.emojis[i]);
4978
+ }
4490
4979
  getTypeCacheKeys$9(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
4491
4980
  const input_userInfos_length = input.userInfos.length;
4492
4981
  for (let i = 0; i < input_userInfos_length; i++) {
@@ -4494,22 +4983,22 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4494
4983
  }
4495
4984
  }
4496
4985
 
4497
- function select$r(luvio, params) {
4498
- return select$s();
4986
+ function select$t(luvio, params) {
4987
+ return select$u();
4499
4988
  }
4500
- function keyBuilder$r(luvio, params) {
4989
+ function keyBuilder$v(luvio, params) {
4501
4990
  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 + ')';
4502
4991
  }
4503
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4504
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
4992
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
4993
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
4505
4994
  }
4506
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4995
+ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
4507
4996
  const { body } = response;
4508
- const key = keyBuilder$r(luvio, resourceParams);
4997
+ const key = keyBuilder$v(luvio, resourceParams);
4509
4998
  luvio.storeIngest(key, ingest$8, body);
4510
4999
  const snapshot = luvio.storeLookup({
4511
5000
  recordId: key,
4512
- node: select$r(),
5001
+ node: select$t(),
4513
5002
  variables: {},
4514
5003
  }, snapshotRefresh);
4515
5004
  if (process.env.NODE_ENV !== 'production') {
@@ -4520,13 +5009,13 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4520
5009
  deepFreeze(snapshot.data);
4521
5010
  return snapshot;
4522
5011
  }
4523
- function ingestError$b(luvio, params, error, snapshotRefresh) {
4524
- const key = keyBuilder$r(luvio, params);
5012
+ function ingestError$d(luvio, params, error, snapshotRefresh) {
5013
+ const key = keyBuilder$v(luvio, params);
4525
5014
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4526
5015
  luvio.storeIngestError(key, errorSnapshot);
4527
5016
  return errorSnapshot;
4528
5017
  }
4529
- function createResourceRequest$i(config) {
5018
+ function createResourceRequest$k(config) {
4530
5019
  const headers = {};
4531
5020
  return {
4532
5021
  baseUri: '/services/data/v64.0',
@@ -4540,7 +5029,7 @@ function createResourceRequest$i(config) {
4540
5029
  };
4541
5030
  }
4542
5031
 
4543
- const adapterName$i = 'getSlackConversation';
5032
+ const adapterName$k = 'getSlackConversation';
4544
5033
  const getSlackConversation_ConfigPropertyMetadata = [
4545
5034
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
4546
5035
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -4552,15 +5041,460 @@ const getSlackConversation_ConfigPropertyMetadata = [
4552
5041
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
4553
5042
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
4554
5043
  ];
4555
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackConversation_ConfigPropertyMetadata);
4556
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$n(getSlackConversation_ConfigPropertyMetadata);
5044
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getSlackConversation_ConfigPropertyMetadata);
5045
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$p(getSlackConversation_ConfigPropertyMetadata);
5046
+ function keyBuilder$u(luvio, config) {
5047
+ const resourceParams = createResourceParams$k(config);
5048
+ return keyBuilder$v(luvio, resourceParams);
5049
+ }
5050
+ function typeCheckConfig$k(untrustedConfig) {
5051
+ const config = {};
5052
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
5053
+ return config;
5054
+ }
5055
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
5056
+ if (!untrustedIsObject(untrustedConfig)) {
5057
+ return null;
5058
+ }
5059
+ if (process.env.NODE_ENV !== 'production') {
5060
+ validateConfig(untrustedConfig, configPropertyNames);
5061
+ }
5062
+ const config = typeCheckConfig$k(untrustedConfig);
5063
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5064
+ return null;
5065
+ }
5066
+ return config;
5067
+ }
5068
+ function adapterFragment$d(luvio, config) {
5069
+ createResourceParams$k(config);
5070
+ return select$t();
5071
+ }
5072
+ function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
5073
+ const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
5074
+ config,
5075
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
5076
+ });
5077
+ return luvio.storeBroadcast().then(() => snapshot);
5078
+ }
5079
+ function onFetchResponseError$d(luvio, config, resourceParams, response) {
5080
+ const snapshot = ingestError$d(luvio, resourceParams, response, {
5081
+ config,
5082
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
5083
+ });
5084
+ return luvio.storeBroadcast().then(() => snapshot);
5085
+ }
5086
+ function buildNetworkSnapshot$k(luvio, config, options) {
5087
+ const resourceParams = createResourceParams$k(config);
5088
+ const request = createResourceRequest$k(resourceParams);
5089
+ return luvio.dispatchResourceRequest(request, options)
5090
+ .then((response) => {
5091
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
5092
+ const cache = new StoreKeyMap();
5093
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
5094
+ return cache;
5095
+ });
5096
+ }, (response) => {
5097
+ return luvio.handleErrorResponse(() => onFetchResponseError$d(luvio, config, resourceParams, response));
5098
+ });
5099
+ }
5100
+ function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
5101
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
5102
+ }
5103
+ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
5104
+ const { luvio, config } = context;
5105
+ const selector = {
5106
+ recordId: keyBuilder$u(luvio, config),
5107
+ node: adapterFragment$d(luvio, config),
5108
+ variables: {},
5109
+ };
5110
+ const cacheSnapshot = storeLookup(selector, {
5111
+ config,
5112
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
5113
+ });
5114
+ return cacheSnapshot;
5115
+ }
5116
+ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
5117
+ const config = validateAdapterConfig$k(untrustedConfig, getSlackConversation_ConfigPropertyNames);
5118
+ // Invalid or incomplete config
5119
+ if (config === null) {
5120
+ return null;
5121
+ }
5122
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5123
+ buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
5124
+ };
5125
+
5126
+ function select$s(luvio, params) {
5127
+ return select$G();
5128
+ }
5129
+ function keyBuilder$t(luvio, params) {
5130
+ return keyBuilder$B(luvio, {
5131
+ id: params.urlParams.channelId
5132
+ });
5133
+ }
5134
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
5135
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
5136
+ }
5137
+ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
5138
+ const { body } = response;
5139
+ const key = keyBuilder$t(luvio, resourceParams);
5140
+ luvio.storeIngest(key, ingest$f, body);
5141
+ const snapshot = luvio.storeLookup({
5142
+ recordId: key,
5143
+ node: select$s(),
5144
+ variables: {},
5145
+ }, snapshotRefresh);
5146
+ if (process.env.NODE_ENV !== 'production') {
5147
+ if (snapshot.state !== 'Fulfilled') {
5148
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5149
+ }
5150
+ }
5151
+ deepFreeze(snapshot.data);
5152
+ return snapshot;
5153
+ }
5154
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
5155
+ const key = keyBuilder$t(luvio, params);
5156
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5157
+ const storeMetadataParams = {
5158
+ ttl: TTL$4,
5159
+ namespace: keyPrefix,
5160
+ version: VERSION$k,
5161
+ representationName: RepresentationType$f
5162
+ };
5163
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
5164
+ return errorSnapshot;
5165
+ }
5166
+ function createResourceRequest$j(config) {
5167
+ const headers = {};
5168
+ return {
5169
+ baseUri: '/services/data/v64.0',
5170
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels/' + config.urlParams.channelId + '',
5171
+ method: 'get',
5172
+ body: null,
5173
+ urlParams: config.urlParams,
5174
+ queryParams: {},
5175
+ headers,
5176
+ priority: 'normal',
5177
+ };
5178
+ }
5179
+ function createResourceRequestFromRepresentation$6(representation) {
5180
+ const config = {
5181
+ urlParams: {},
5182
+ };
5183
+ config.urlParams.channelId = representation.id;
5184
+ return createResourceRequest$j(config);
5185
+ }
5186
+
5187
+ const adapterName$j = 'getSlackConversationInfo';
5188
+ const getSlackConversationInfo_ConfigPropertyMetadata = [
5189
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5190
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5191
+ ];
5192
+ const getSlackConversationInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSlackConversationInfo_ConfigPropertyMetadata);
5193
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$p(getSlackConversationInfo_ConfigPropertyMetadata);
5194
+ function keyBuilder$s(luvio, config) {
5195
+ const resourceParams = createResourceParams$j(config);
5196
+ return keyBuilder$t(luvio, resourceParams);
5197
+ }
5198
+ function typeCheckConfig$j(untrustedConfig) {
5199
+ const config = {};
5200
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationInfo_ConfigPropertyMetadata);
5201
+ return config;
5202
+ }
5203
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
5204
+ if (!untrustedIsObject(untrustedConfig)) {
5205
+ return null;
5206
+ }
5207
+ if (process.env.NODE_ENV !== 'production') {
5208
+ validateConfig(untrustedConfig, configPropertyNames);
5209
+ }
5210
+ const config = typeCheckConfig$j(untrustedConfig);
5211
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5212
+ return null;
5213
+ }
5214
+ return config;
5215
+ }
5216
+ function adapterFragment$c(luvio, config) {
5217
+ createResourceParams$j(config);
5218
+ return select$s();
5219
+ }
5220
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
5221
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
5222
+ config,
5223
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
5224
+ });
5225
+ return luvio.storeBroadcast().then(() => snapshot);
5226
+ }
5227
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
5228
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
5229
+ config,
5230
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
5231
+ });
5232
+ return luvio.storeBroadcast().then(() => snapshot);
5233
+ }
5234
+ function buildNetworkSnapshot$j(luvio, config, options) {
5235
+ const resourceParams = createResourceParams$j(config);
5236
+ const request = createResourceRequest$j(resourceParams);
5237
+ return luvio.dispatchResourceRequest(request, options)
5238
+ .then((response) => {
5239
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
5240
+ const cache = new StoreKeyMap();
5241
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
5242
+ return cache;
5243
+ });
5244
+ }, (response) => {
5245
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
5246
+ });
5247
+ }
5248
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
5249
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
5250
+ }
5251
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
5252
+ const { luvio, config } = context;
5253
+ const selector = {
5254
+ recordId: keyBuilder$s(luvio, config),
5255
+ node: adapterFragment$c(luvio, config),
5256
+ variables: {},
5257
+ };
5258
+ const cacheSnapshot = storeLookup(selector, {
5259
+ config,
5260
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
5261
+ });
5262
+ return cacheSnapshot;
5263
+ }
5264
+ const getSlackConversationInfoAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfo(untrustedConfig, requestContext) {
5265
+ const config = validateAdapterConfig$j(untrustedConfig, getSlackConversationInfo_ConfigPropertyNames);
5266
+ // Invalid or incomplete config
5267
+ if (config === null) {
5268
+ return null;
5269
+ }
5270
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5271
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
5272
+ };
5273
+ const notifyChangeFactory$6 = (luvio, options) => {
5274
+ return function getConnectSlackbridgeTeamChannelsByChannelIdAndTeamIdNotifyChange(configs) {
5275
+ const keys = configs.map(c => keyBuilder$B(luvio, c));
5276
+ luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5277
+ for (let i = 0, len = entries.length; i < len; i++) {
5278
+ const { key, record: val } = entries[i];
5279
+ const refreshRequest = createResourceRequestFromRepresentation$6(val);
5280
+ luvio.dispatchResourceRequest(refreshRequest, options)
5281
+ .then((response) => {
5282
+ return luvio.handleSuccessResponse(() => {
5283
+ const { body } = response;
5284
+ luvio.storeIngest(key, ingest$f, body);
5285
+ return luvio.storeBroadcast();
5286
+ }, () => {
5287
+ const cache = new StoreKeyMap();
5288
+ getTypeCacheKeys$f(cache, luvio, response.body);
5289
+ return cache;
5290
+ });
5291
+ }, (error) => {
5292
+ return luvio.handleErrorResponse(() => {
5293
+ const errorSnapshot = luvio.errorSnapshot(error);
5294
+ luvio.storeIngestError(key, errorSnapshot, {
5295
+ ttl: TTL$4,
5296
+ namespace: keyPrefix,
5297
+ version: VERSION$k,
5298
+ representationName: RepresentationType$f
5299
+ });
5300
+ return luvio.storeBroadcast().then(() => errorSnapshot);
5301
+ });
5302
+ });
5303
+ }
5304
+ });
5305
+ };
5306
+ };
5307
+
5308
+ const VERSION$8 = "0de597a47ca8ecad2cfb7fd9c8f73920";
5309
+ function validate$8(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
5310
+ const v_error = (() => {
5311
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5312
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5313
+ }
5314
+ const obj_conversationInfos = obj.conversationInfos;
5315
+ const path_conversationInfos = path + '.conversationInfos';
5316
+ if (!ArrayIsArray(obj_conversationInfos)) {
5317
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
5318
+ }
5319
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
5320
+ const obj_conversationInfos_item = obj_conversationInfos[i];
5321
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
5322
+ if (typeof obj_conversationInfos_item !== 'object') {
5323
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
5324
+ }
5325
+ }
5326
+ const obj_searchString = obj.searchString;
5327
+ const path_searchString = path + '.searchString';
5328
+ let obj_searchString_union0 = null;
5329
+ const obj_searchString_union0_error = (() => {
5330
+ if (typeof obj_searchString !== 'string') {
5331
+ return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
5332
+ }
5333
+ })();
5334
+ if (obj_searchString_union0_error != null) {
5335
+ obj_searchString_union0 = obj_searchString_union0_error.message;
5336
+ }
5337
+ let obj_searchString_union1 = null;
5338
+ const obj_searchString_union1_error = (() => {
5339
+ if (obj_searchString !== null) {
5340
+ return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
5341
+ }
5342
+ })();
5343
+ if (obj_searchString_union1_error != null) {
5344
+ obj_searchString_union1 = obj_searchString_union1_error.message;
5345
+ }
5346
+ if (obj_searchString_union0 && obj_searchString_union1) {
5347
+ let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
5348
+ message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
5349
+ message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
5350
+ return new TypeError(message);
5351
+ }
5352
+ })();
5353
+ return v_error === undefined ? null : v_error;
5354
+ }
5355
+ const RepresentationType$7 = 'SlackBridgeConversationInfosOutputRepresentation';
5356
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
5357
+ const input_conversationInfos = input.conversationInfos;
5358
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
5359
+ for (let i = 0; i < input_conversationInfos.length; i++) {
5360
+ const input_conversationInfos_item = input_conversationInfos[i];
5361
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
5362
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
5363
+ fullPath: input_conversationInfos_item_id,
5364
+ propertyName: i,
5365
+ parent: {
5366
+ data: input,
5367
+ key: path.fullPath,
5368
+ existing: existing,
5369
+ },
5370
+ ttl: path.ttl
5371
+ }, luvio, store, timestamp);
5372
+ }
5373
+ return input;
5374
+ }
5375
+ const select$r = function SlackBridgeConversationInfosOutputRepresentationSelect() {
5376
+ return {
5377
+ kind: 'Fragment',
5378
+ version: VERSION$8,
5379
+ private: [],
5380
+ selections: [
5381
+ {
5382
+ name: 'conversationInfos',
5383
+ kind: 'Link',
5384
+ plural: true,
5385
+ fragment: select$G()
5386
+ },
5387
+ {
5388
+ name: 'searchString',
5389
+ kind: 'Scalar'
5390
+ }
5391
+ ]
5392
+ };
5393
+ };
5394
+ function equals$8(existing, incoming) {
5395
+ const existing_conversationInfos = existing.conversationInfos;
5396
+ const incoming_conversationInfos = incoming.conversationInfos;
5397
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
5398
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
5399
+ return false;
5400
+ }
5401
+ });
5402
+ if (equals_conversationInfos_items === false) {
5403
+ return false;
5404
+ }
5405
+ const existing_searchString = existing.searchString;
5406
+ const incoming_searchString = incoming.searchString;
5407
+ if (!(existing_searchString === incoming_searchString)) {
5408
+ return false;
5409
+ }
5410
+ return true;
5411
+ }
5412
+ const ingest$7 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5413
+ if (process.env.NODE_ENV !== 'production') {
5414
+ const validateError = validate$8(input);
5415
+ if (validateError !== null) {
5416
+ throw validateError;
5417
+ }
5418
+ }
5419
+ const key = path.fullPath;
5420
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5421
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$8, RepresentationType$7, equals$8);
5422
+ return createLink(key);
5423
+ };
5424
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
5425
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5426
+ const rootKey = fullPathFactory();
5427
+ rootKeySet.set(rootKey, {
5428
+ namespace: keyPrefix,
5429
+ representationName: RepresentationType$7,
5430
+ mergeable: false
5431
+ });
5432
+ const input_conversationInfos_length = input.conversationInfos.length;
5433
+ for (let i = 0; i < input_conversationInfos_length; i++) {
5434
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
5435
+ }
5436
+ }
5437
+
5438
+ function select$q(luvio, params) {
5439
+ return select$r();
5440
+ }
5441
+ function keyBuilder$r(luvio, params) {
5442
+ return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'channelIds:' + params.queryParams.channelIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
5443
+ }
5444
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
5445
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
5446
+ }
5447
+ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
5448
+ const { body } = response;
5449
+ const key = keyBuilder$r(luvio, resourceParams);
5450
+ luvio.storeIngest(key, ingest$7, body);
5451
+ const snapshot = luvio.storeLookup({
5452
+ recordId: key,
5453
+ node: select$q(),
5454
+ variables: {},
5455
+ }, snapshotRefresh);
5456
+ if (process.env.NODE_ENV !== 'production') {
5457
+ if (snapshot.state !== 'Fulfilled') {
5458
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5459
+ }
5460
+ }
5461
+ deepFreeze(snapshot.data);
5462
+ return snapshot;
5463
+ }
5464
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
5465
+ const key = keyBuilder$r(luvio, params);
5466
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5467
+ luvio.storeIngestError(key, errorSnapshot);
5468
+ return errorSnapshot;
5469
+ }
5470
+ function createResourceRequest$i(config) {
5471
+ const headers = {};
5472
+ return {
5473
+ baseUri: '/services/data/v64.0',
5474
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels',
5475
+ method: 'get',
5476
+ body: null,
5477
+ urlParams: config.urlParams,
5478
+ queryParams: config.queryParams,
5479
+ headers,
5480
+ priority: 'normal',
5481
+ };
5482
+ }
5483
+
5484
+ const adapterName$i = 'getSlackConversationInfos';
5485
+ const getSlackConversationInfos_ConfigPropertyMetadata = [
5486
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5487
+ generateParamConfigMetadata('channelIds', true, 1 /* QueryParameter */, 0 /* String */, true),
5488
+ ];
5489
+ const getSlackConversationInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackConversationInfos_ConfigPropertyMetadata);
5490
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$p(getSlackConversationInfos_ConfigPropertyMetadata);
4557
5491
  function keyBuilder$q(luvio, config) {
4558
5492
  const resourceParams = createResourceParams$i(config);
4559
5493
  return keyBuilder$r(luvio, resourceParams);
4560
5494
  }
4561
5495
  function typeCheckConfig$i(untrustedConfig) {
4562
5496
  const config = {};
4563
- typeCheckConfig$n(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
5497
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationInfos_ConfigPropertyMetadata);
4564
5498
  return config;
4565
5499
  }
4566
5500
  function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
@@ -4578,7 +5512,7 @@ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4578
5512
  }
4579
5513
  function adapterFragment$b(luvio, config) {
4580
5514
  createResourceParams$i(config);
4581
- return select$r();
5515
+ return select$q();
4582
5516
  }
4583
5517
  function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4584
5518
  const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
@@ -4609,7 +5543,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
4609
5543
  });
4610
5544
  }
4611
5545
  function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4612
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
5546
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4613
5547
  }
4614
5548
  function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4615
5549
  const { luvio, config } = context;
@@ -4624,8 +5558,8 @@ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4624
5558
  });
4625
5559
  return cacheSnapshot;
4626
5560
  }
4627
- const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
4628
- const config = validateAdapterConfig$i(untrustedConfig, getSlackConversation_ConfigPropertyNames);
5561
+ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfos(untrustedConfig, requestContext) {
5562
+ const config = validateAdapterConfig$i(untrustedConfig, getSlackConversationInfos_ConfigPropertyNames);
4629
5563
  // Invalid or incomplete config
4630
5564
  if (config === null) {
4631
5565
  return null;
@@ -4634,11 +5568,11 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
4634
5568
  buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4635
5569
  };
4636
5570
 
4637
- function select$q(luvio, params) {
4638
- return select$I();
5571
+ function select$p(luvio, params) {
5572
+ return select$K();
4639
5573
  }
4640
5574
  function keyBuilder$p(luvio, params) {
4641
- return keyBuilder$D(luvio, {
5575
+ return keyBuilder$H(luvio, {
4642
5576
  channelId: params.urlParams.channelId
4643
5577
  });
4644
5578
  }
@@ -4651,7 +5585,7 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4651
5585
  luvio.storeIngest(key, ingest$i, body);
4652
5586
  const snapshot = luvio.storeLookup({
4653
5587
  recordId: key,
4654
- node: select$q(),
5588
+ node: select$p(),
4655
5589
  variables: {},
4656
5590
  }, snapshotRefresh);
4657
5591
  if (process.env.NODE_ENV !== 'production') {
@@ -4696,14 +5630,14 @@ const getSlackConversationMember_ConfigPropertyMetadata = [
4696
5630
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4697
5631
  ];
4698
5632
  const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackConversationMember_ConfigPropertyMetadata);
4699
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$n(getSlackConversationMember_ConfigPropertyMetadata);
5633
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$p(getSlackConversationMember_ConfigPropertyMetadata);
4700
5634
  function keyBuilder$o(luvio, config) {
4701
5635
  const resourceParams = createResourceParams$h(config);
4702
5636
  return keyBuilder$p(luvio, resourceParams);
4703
5637
  }
4704
5638
  function typeCheckConfig$h(untrustedConfig) {
4705
5639
  const config = {};
4706
- typeCheckConfig$n(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5640
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
4707
5641
  return config;
4708
5642
  }
4709
5643
  function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
@@ -4721,7 +5655,7 @@ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4721
5655
  }
4722
5656
  function adapterFragment$a(luvio, config) {
4723
5657
  createResourceParams$h(config);
4724
- return select$q();
5658
+ return select$p();
4725
5659
  }
4726
5660
  function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4727
5661
  const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
@@ -4752,7 +5686,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
4752
5686
  });
4753
5687
  }
4754
5688
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4755
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
5689
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4756
5690
  }
4757
5691
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4758
5692
  const { luvio, config } = context;
@@ -4778,7 +5712,7 @@ const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge
4778
5712
  };
4779
5713
  const notifyChangeFactory$5 = (luvio, options) => {
4780
5714
  return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamIdNotifyChange(configs) {
4781
- const keys = configs.map(c => keyBuilder$D(luvio, c));
5715
+ const keys = configs.map(c => keyBuilder$H(luvio, c));
4782
5716
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4783
5717
  for (let i = 0, len = entries.length; i < len; i++) {
4784
5718
  const { key, record: val } = entries[i];
@@ -4806,8 +5740,8 @@ const notifyChangeFactory$5 = (luvio, options) => {
4806
5740
  };
4807
5741
  };
4808
5742
 
4809
- const VERSION$8 = "30b0f3c5bd175b72d9b304944fd9d682";
4810
- function validate$8(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
5743
+ const VERSION$7 = "30b0f3c5bd175b72d9b304944fd9d682";
5744
+ function validate$7(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4811
5745
  const v_error = (() => {
4812
5746
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4813
5747
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4858,9 +5792,9 @@ function validate$8(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
4858
5792
  })();
4859
5793
  return v_error === undefined ? null : v_error;
4860
5794
  }
4861
- const RepresentationType$7 = 'SlackBridgeConversationMembersOutputRepresentation';
5795
+ const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
4862
5796
  function keyBuilder$n(luvio, config) {
4863
- return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
5797
+ return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
4864
5798
  }
4865
5799
  function keyBuilderFromType$3(luvio, object) {
4866
5800
  const keyParams = {
@@ -4868,13 +5802,13 @@ function keyBuilderFromType$3(luvio, object) {
4868
5802
  };
4869
5803
  return keyBuilder$n(luvio, keyParams);
4870
5804
  }
4871
- function normalize$7(input, existing, path, luvio, store, timestamp) {
5805
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
4872
5806
  return input;
4873
5807
  }
4874
- const select$p = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5808
+ const select$o = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4875
5809
  return {
4876
5810
  kind: 'Fragment',
4877
- version: VERSION$8,
5811
+ version: VERSION$7,
4878
5812
  private: [],
4879
5813
  selections: [
4880
5814
  {
@@ -4893,7 +5827,7 @@ const select$p = function SlackBridgeConversationMembersOutputRepresentationSele
4893
5827
  ]
4894
5828
  };
4895
5829
  };
4896
- function equals$8(existing, incoming) {
5830
+ function equals$7(existing, incoming) {
4897
5831
  const existing_channelId = existing.channelId;
4898
5832
  const incoming_channelId = incoming.channelId;
4899
5833
  if (!(existing_channelId === incoming_channelId)) {
@@ -4916,30 +5850,30 @@ function equals$8(existing, incoming) {
4916
5850
  }
4917
5851
  return true;
4918
5852
  }
4919
- const ingest$7 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5853
+ const ingest$6 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4920
5854
  if (process.env.NODE_ENV !== 'production') {
4921
- const validateError = validate$8(input);
5855
+ const validateError = validate$7(input);
4922
5856
  if (validateError !== null) {
4923
5857
  throw validateError;
4924
5858
  }
4925
5859
  }
4926
5860
  const key = keyBuilderFromType$3(luvio, input);
4927
5861
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4928
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$8, RepresentationType$7, equals$8);
5862
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$7, RepresentationType$6, equals$7);
4929
5863
  return createLink(key);
4930
5864
  };
4931
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
5865
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4932
5866
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4933
5867
  const rootKey = keyBuilderFromType$3(luvio, input);
4934
5868
  rootKeySet.set(rootKey, {
4935
5869
  namespace: keyPrefix,
4936
- representationName: RepresentationType$7,
5870
+ representationName: RepresentationType$6,
4937
5871
  mergeable: false
4938
5872
  });
4939
5873
  }
4940
5874
 
4941
- function select$o(luvio, params) {
4942
- return select$p();
5875
+ function select$n(luvio, params) {
5876
+ return select$o();
4943
5877
  }
4944
5878
  function keyBuilder$m(luvio, params) {
4945
5879
  return keyBuilder$n(luvio, {
@@ -4947,15 +5881,15 @@ function keyBuilder$m(luvio, params) {
4947
5881
  });
4948
5882
  }
4949
5883
  function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4950
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
5884
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
4951
5885
  }
4952
5886
  function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4953
5887
  const { body } = response;
4954
5888
  const key = keyBuilder$m(luvio, resourceParams);
4955
- luvio.storeIngest(key, ingest$7, body);
5889
+ luvio.storeIngest(key, ingest$6, body);
4956
5890
  const snapshot = luvio.storeLookup({
4957
5891
  recordId: key,
4958
- node: select$o(),
5892
+ node: select$n(),
4959
5893
  variables: {},
4960
5894
  }, snapshotRefresh);
4961
5895
  if (process.env.NODE_ENV !== 'production') {
@@ -4999,14 +5933,14 @@ const getSlackConversationMembers_ConfigPropertyMetadata = [
4999
5933
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5000
5934
  ];
5001
5935
  const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMembers_ConfigPropertyMetadata);
5002
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$n(getSlackConversationMembers_ConfigPropertyMetadata);
5936
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$p(getSlackConversationMembers_ConfigPropertyMetadata);
5003
5937
  function keyBuilder$l(luvio, config) {
5004
5938
  const resourceParams = createResourceParams$g(config);
5005
5939
  return keyBuilder$m(luvio, resourceParams);
5006
5940
  }
5007
5941
  function typeCheckConfig$g(untrustedConfig) {
5008
5942
  const config = {};
5009
- typeCheckConfig$n(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5943
+ typeCheckConfig$p(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5010
5944
  return config;
5011
5945
  }
5012
5946
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -5024,7 +5958,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
5024
5958
  }
5025
5959
  function adapterFragment$9(luvio, config) {
5026
5960
  createResourceParams$g(config);
5027
- return select$o();
5961
+ return select$n();
5028
5962
  }
5029
5963
  function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
5030
5964
  const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
@@ -5055,7 +5989,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
5055
5989
  });
5056
5990
  }
5057
5991
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
5058
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5992
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5059
5993
  }
5060
5994
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
5061
5995
  const { luvio, config } = context;
@@ -5090,11 +6024,11 @@ const notifyChangeFactory$4 = (luvio, options) => {
5090
6024
  .then((response) => {
5091
6025
  return luvio.handleSuccessResponse(() => {
5092
6026
  const { body } = response;
5093
- luvio.storeIngest(key, ingest$7, body);
6027
+ luvio.storeIngest(key, ingest$6, body);
5094
6028
  return luvio.storeBroadcast();
5095
6029
  }, () => {
5096
6030
  const cache = new StoreKeyMap();
5097
- getTypeCacheKeys$7(cache, luvio, response.body);
6031
+ getTypeCacheKeys$6(cache, luvio, response.body);
5098
6032
  return cache;
5099
6033
  });
5100
6034
  }, (error) => {
@@ -5109,8 +6043,8 @@ const notifyChangeFactory$4 = (luvio, options) => {
5109
6043
  };
5110
6044
  };
5111
6045
 
5112
- const VERSION$7 = "d6833ffbee3e599bfdef928466ea65af";
5113
- function validate$7(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
6046
+ const VERSION$6 = "d6833ffbee3e599bfdef928466ea65af";
6047
+ function validate$6(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
5114
6048
  const v_error = (() => {
5115
6049
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5116
6050
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5138,10 +6072,10 @@ function validate$7(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
5138
6072
  })();
5139
6073
  return v_error === undefined ? null : v_error;
5140
6074
  }
5141
- const select$n = function SlackBridgeSlackTeamOutputRepresentationSelect() {
6075
+ const select$m = function SlackBridgeSlackTeamOutputRepresentationSelect() {
5142
6076
  return {
5143
6077
  kind: 'Fragment',
5144
- version: VERSION$7,
6078
+ version: VERSION$6,
5145
6079
  private: [],
5146
6080
  selections: [
5147
6081
  {
@@ -5163,7 +6097,7 @@ const select$n = function SlackBridgeSlackTeamOutputRepresentationSelect() {
5163
6097
  ]
5164
6098
  };
5165
6099
  };
5166
- function equals$7(existing, incoming) {
6100
+ function equals$6(existing, incoming) {
5167
6101
  const existing_status = existing.status;
5168
6102
  const incoming_status = incoming.status;
5169
6103
  if (!(existing_status === incoming_status)) {
@@ -5188,8 +6122,8 @@ function equals$7(existing, incoming) {
5188
6122
  }
5189
6123
 
5190
6124
  const TTL = 500;
5191
- const VERSION$6 = "b3c7e0b8bc0a4a3745874264601b9082";
5192
- function validate$6(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
6125
+ const VERSION$5 = "b3c7e0b8bc0a4a3745874264601b9082";
6126
+ function validate$5(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5193
6127
  const v_error = (() => {
5194
6128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5195
6129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5201,7 +6135,7 @@ function validate$6(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5201
6135
  }
5202
6136
  const obj_slackTeam = obj.slackTeam;
5203
6137
  const path_slackTeam = path + '.slackTeam';
5204
- const referencepath_slackTeamValidationError = validate$7(obj_slackTeam, path_slackTeam);
6138
+ const referencepath_slackTeamValidationError = validate$6(obj_slackTeam, path_slackTeam);
5205
6139
  if (referencepath_slackTeamValidationError !== null) {
5206
6140
  let message = 'Object doesn\'t match SlackBridgeSlackTeamOutputRepresentation (at "' + path_slackTeam + '")\n';
5207
6141
  message += referencepath_slackTeamValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5210,15 +6144,15 @@ function validate$6(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5210
6144
  })();
5211
6145
  return v_error === undefined ? null : v_error;
5212
6146
  }
5213
- const RepresentationType$6 = 'SlackBridgeDisplayLoginOutputRepresentation';
5214
- function normalize$6(input, existing, path, luvio, store, timestamp) {
6147
+ const RepresentationType$5 = 'SlackBridgeDisplayLoginOutputRepresentation';
6148
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
5215
6149
  return input;
5216
6150
  }
5217
- const select$m = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
5218
- const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$n();
6151
+ const select$l = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
6152
+ const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$m();
5219
6153
  return {
5220
6154
  kind: 'Fragment',
5221
- version: VERSION$6,
6155
+ version: VERSION$5,
5222
6156
  private: [],
5223
6157
  selections: [
5224
6158
  {
@@ -5233,7 +6167,7 @@ const select$m = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
5233
6167
  ]
5234
6168
  };
5235
6169
  };
5236
- function equals$6(existing, incoming) {
6170
+ function equals$5(existing, incoming) {
5237
6171
  const existing_orgId = existing.orgId;
5238
6172
  const incoming_orgId = incoming.orgId;
5239
6173
  if (!(existing_orgId === incoming_orgId)) {
@@ -5241,49 +6175,49 @@ function equals$6(existing, incoming) {
5241
6175
  }
5242
6176
  const existing_slackTeam = existing.slackTeam;
5243
6177
  const incoming_slackTeam = incoming.slackTeam;
5244
- if (!(equals$7(existing_slackTeam, incoming_slackTeam))) {
6178
+ if (!(equals$6(existing_slackTeam, incoming_slackTeam))) {
5245
6179
  return false;
5246
6180
  }
5247
6181
  return true;
5248
6182
  }
5249
- const ingest$6 = function SlackBridgeDisplayLoginOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6183
+ const ingest$5 = function SlackBridgeDisplayLoginOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5250
6184
  if (process.env.NODE_ENV !== 'production') {
5251
- const validateError = validate$6(input);
6185
+ const validateError = validate$5(input);
5252
6186
  if (validateError !== null) {
5253
6187
  throw validateError;
5254
6188
  }
5255
6189
  }
5256
6190
  const key = path.fullPath;
5257
6191
  const ttlToUse = TTL;
5258
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
6192
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
5259
6193
  return createLink(key);
5260
6194
  };
5261
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
6195
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5262
6196
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5263
6197
  const rootKey = fullPathFactory();
5264
6198
  rootKeySet.set(rootKey, {
5265
6199
  namespace: keyPrefix,
5266
- representationName: RepresentationType$6,
6200
+ representationName: RepresentationType$5,
5267
6201
  mergeable: false
5268
6202
  });
5269
6203
  }
5270
6204
 
5271
- function select$l(luvio, params) {
5272
- return select$m();
6205
+ function select$k(luvio, params) {
6206
+ return select$l();
5273
6207
  }
5274
6208
  function keyBuilder$k(luvio, params) {
5275
6209
  return keyPrefix + '::SlackBridgeDisplayLoginOutputRepresentation:(' + ')';
5276
6210
  }
5277
6211
  function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
5278
- getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$k());
6212
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$k());
5279
6213
  }
5280
6214
  function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
5281
6215
  const { body } = response;
5282
6216
  const key = keyBuilder$k();
5283
- luvio.storeIngest(key, ingest$6, body);
6217
+ luvio.storeIngest(key, ingest$5, body);
5284
6218
  const snapshot = luvio.storeLookup({
5285
6219
  recordId: key,
5286
- node: select$l(),
6220
+ node: select$k(),
5287
6221
  variables: {},
5288
6222
  }, snapshotRefresh);
5289
6223
  if (process.env.NODE_ENV !== 'production') {
@@ -5300,8 +6234,8 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
5300
6234
  const storeMetadataParams = {
5301
6235
  ttl: TTL,
5302
6236
  namespace: keyPrefix,
5303
- version: VERSION$6,
5304
- representationName: RepresentationType$6
6237
+ version: VERSION$5,
6238
+ representationName: RepresentationType$5
5305
6239
  };
5306
6240
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
5307
6241
  return errorSnapshot;
@@ -5323,7 +6257,7 @@ function createResourceRequest$f(config) {
5323
6257
  const adapterName$f = 'getSlackDisplayLogin';
5324
6258
  const getSlackDisplayLogin_ConfigPropertyMetadata = [];
5325
6259
  const getSlackDisplayLogin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackDisplayLogin_ConfigPropertyMetadata);
5326
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$n(getSlackDisplayLogin_ConfigPropertyMetadata);
6260
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$p(getSlackDisplayLogin_ConfigPropertyMetadata);
5327
6261
  function keyBuilder$j(luvio, config) {
5328
6262
  createResourceParams$f(config);
5329
6263
  return keyBuilder$k();
@@ -5347,7 +6281,7 @@ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5347
6281
  }
5348
6282
  function adapterFragment$8(luvio, config) {
5349
6283
  createResourceParams$f(config);
5350
- return select$l();
6284
+ return select$k();
5351
6285
  }
5352
6286
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
5353
6287
  const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
@@ -5378,7 +6312,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
5378
6312
  });
5379
6313
  }
5380
6314
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5381
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
6315
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
5382
6316
  }
5383
6317
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5384
6318
  const { luvio, config } = context;
@@ -5403,11 +6337,11 @@ const getSlackDisplayLoginAdapterFactory = (luvio) => function SlackBridge__getS
5403
6337
  buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
5404
6338
  };
5405
6339
 
5406
- function select$k(luvio, params) {
5407
- return select$v();
6340
+ function select$j(luvio, params) {
6341
+ return select$x();
5408
6342
  }
5409
6343
  function keyBuilder$i(luvio, params) {
5410
- return keyBuilder$t(luvio, {
6344
+ return keyBuilder$x(luvio, {
5411
6345
  name: params.urlParams.slackEmojiId
5412
6346
  });
5413
6347
  }
@@ -5420,7 +6354,7 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
5420
6354
  luvio.storeIngest(key, ingest$b, body);
5421
6355
  const snapshot = luvio.storeLookup({
5422
6356
  recordId: key,
5423
- node: select$k(),
6357
+ node: select$j(),
5424
6358
  variables: {},
5425
6359
  }, snapshotRefresh);
5426
6360
  if (process.env.NODE_ENV !== 'production') {
@@ -5470,14 +6404,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
5470
6404
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5471
6405
  ];
5472
6406
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackEmoji_ConfigPropertyMetadata);
5473
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$n(getSlackEmoji_ConfigPropertyMetadata);
6407
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$p(getSlackEmoji_ConfigPropertyMetadata);
5474
6408
  function keyBuilder$h(luvio, config) {
5475
6409
  const resourceParams = createResourceParams$e(config);
5476
6410
  return keyBuilder$i(luvio, resourceParams);
5477
6411
  }
5478
6412
  function typeCheckConfig$e(untrustedConfig) {
5479
6413
  const config = {};
5480
- typeCheckConfig$n(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6414
+ typeCheckConfig$p(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
5481
6415
  return config;
5482
6416
  }
5483
6417
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -5495,7 +6429,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5495
6429
  }
5496
6430
  function adapterFragment$7(luvio, config) {
5497
6431
  createResourceParams$e(config);
5498
- return select$k();
6432
+ return select$j();
5499
6433
  }
5500
6434
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
5501
6435
  const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
@@ -5526,7 +6460,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
5526
6460
  });
5527
6461
  }
5528
6462
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5529
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
6463
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5530
6464
  }
5531
6465
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5532
6466
  const { luvio, config } = context;
@@ -5552,7 +6486,7 @@ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmo
5552
6486
  };
5553
6487
  const notifyChangeFactory$3 = (luvio, options) => {
5554
6488
  return function getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamIdNotifyChange(configs) {
5555
- const keys = configs.map(c => keyBuilder$t(luvio, c));
6489
+ const keys = configs.map(c => keyBuilder$x(luvio, c));
5556
6490
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5557
6491
  for (let i = 0, len = entries.length; i < len; i++) {
5558
6492
  const { key, record: val } = entries[i];
@@ -5585,8 +6519,8 @@ const notifyChangeFactory$3 = (luvio, options) => {
5585
6519
  };
5586
6520
  };
5587
6521
 
5588
- const VERSION$5 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
5589
- function validate$5(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6522
+ const VERSION$4 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
6523
+ function validate$4(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5590
6524
  const v_error = (() => {
5591
6525
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5592
6526
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5606,8 +6540,8 @@ function validate$5(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5606
6540
  })();
5607
6541
  return v_error === undefined ? null : v_error;
5608
6542
  }
5609
- const RepresentationType$5 = 'SlackBridgeEmojisOutputRepresentation';
5610
- function normalize$5(input, existing, path, luvio, store, timestamp) {
6543
+ const RepresentationType$4 = 'SlackBridgeEmojisOutputRepresentation';
6544
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
5611
6545
  const input_emojis = input.emojis;
5612
6546
  const input_emojis_id = path.fullPath + '__emojis';
5613
6547
  for (let i = 0; i < input_emojis.length; i++) {
@@ -5626,22 +6560,22 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
5626
6560
  }
5627
6561
  return input;
5628
6562
  }
5629
- const select$j = function SlackBridgeEmojisOutputRepresentationSelect() {
6563
+ const select$i = function SlackBridgeEmojisOutputRepresentationSelect() {
5630
6564
  return {
5631
6565
  kind: 'Fragment',
5632
- version: VERSION$5,
6566
+ version: VERSION$4,
5633
6567
  private: [],
5634
6568
  selections: [
5635
6569
  {
5636
6570
  name: 'emojis',
5637
6571
  kind: 'Link',
5638
6572
  plural: true,
5639
- fragment: select$v()
6573
+ fragment: select$x()
5640
6574
  }
5641
6575
  ]
5642
6576
  };
5643
6577
  };
5644
- function equals$5(existing, incoming) {
6578
+ function equals$4(existing, incoming) {
5645
6579
  const existing_emojis = existing.emojis;
5646
6580
  const incoming_emojis = incoming.emojis;
5647
6581
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
@@ -5654,24 +6588,24 @@ function equals$5(existing, incoming) {
5654
6588
  }
5655
6589
  return true;
5656
6590
  }
5657
- const ingest$5 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6591
+ const ingest$4 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5658
6592
  if (process.env.NODE_ENV !== 'production') {
5659
- const validateError = validate$5(input);
6593
+ const validateError = validate$4(input);
5660
6594
  if (validateError !== null) {
5661
6595
  throw validateError;
5662
6596
  }
5663
6597
  }
5664
6598
  const key = path.fullPath;
5665
6599
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5666
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
6600
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
5667
6601
  return createLink(key);
5668
6602
  };
5669
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
6603
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5670
6604
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5671
6605
  const rootKey = fullPathFactory();
5672
6606
  rootKeySet.set(rootKey, {
5673
6607
  namespace: keyPrefix,
5674
- representationName: RepresentationType$5,
6608
+ representationName: RepresentationType$4,
5675
6609
  mergeable: false
5676
6610
  });
5677
6611
  const input_emojis_length = input.emojis.length;
@@ -5680,22 +6614,22 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5680
6614
  }
5681
6615
  }
5682
6616
 
5683
- function select$i(luvio, params) {
5684
- return select$j();
6617
+ function select$h(luvio, params) {
6618
+ return select$i();
5685
6619
  }
5686
6620
  function keyBuilder$g(luvio, params) {
5687
6621
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'slackEmojiIds:' + params.queryParams.slackEmojiIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
5688
6622
  }
5689
6623
  function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5690
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
6624
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
5691
6625
  }
5692
6626
  function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
5693
6627
  const { body } = response;
5694
6628
  const key = keyBuilder$g(luvio, resourceParams);
5695
- luvio.storeIngest(key, ingest$5, body);
6629
+ luvio.storeIngest(key, ingest$4, body);
5696
6630
  const snapshot = luvio.storeLookup({
5697
6631
  recordId: key,
5698
- node: select$i(),
6632
+ node: select$h(),
5699
6633
  variables: {},
5700
6634
  }, snapshotRefresh);
5701
6635
  if (process.env.NODE_ENV !== 'production') {
@@ -5732,14 +6666,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
5732
6666
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
5733
6667
  ];
5734
6668
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackEmojis_ConfigPropertyMetadata);
5735
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$n(getSlackEmojis_ConfigPropertyMetadata);
6669
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$p(getSlackEmojis_ConfigPropertyMetadata);
5736
6670
  function keyBuilder$f(luvio, config) {
5737
6671
  const resourceParams = createResourceParams$d(config);
5738
6672
  return keyBuilder$g(luvio, resourceParams);
5739
6673
  }
5740
6674
  function typeCheckConfig$d(untrustedConfig) {
5741
6675
  const config = {};
5742
- typeCheckConfig$n(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6676
+ typeCheckConfig$p(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
5743
6677
  return config;
5744
6678
  }
5745
6679
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -5757,7 +6691,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5757
6691
  }
5758
6692
  function adapterFragment$6(luvio, config) {
5759
6693
  createResourceParams$d(config);
5760
- return select$i();
6694
+ return select$h();
5761
6695
  }
5762
6696
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
5763
6697
  const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
@@ -5788,7 +6722,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
5788
6722
  });
5789
6723
  }
5790
6724
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5791
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
6725
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5792
6726
  }
5793
6727
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5794
6728
  const { luvio, config } = context;
@@ -5813,11 +6747,11 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
5813
6747
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
5814
6748
  };
5815
6749
 
5816
- function select$h(luvio, params) {
5817
- return select$H();
6750
+ function select$g(luvio, params) {
6751
+ return select$J();
5818
6752
  }
5819
6753
  function keyBuilder$e(luvio, params) {
5820
- return keyBuilder$B(luvio, {
6754
+ return keyBuilder$F(luvio, {
5821
6755
  channelId: params.urlParams.channelId
5822
6756
  });
5823
6757
  }
@@ -5830,7 +6764,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
5830
6764
  luvio.storeIngest(key, ingest$h, body);
5831
6765
  const snapshot = luvio.storeLookup({
5832
6766
  recordId: key,
5833
- node: select$h(),
6767
+ node: select$g(),
5834
6768
  variables: {},
5835
6769
  }, snapshotRefresh);
5836
6770
  if (process.env.NODE_ENV !== 'production') {
@@ -5875,14 +6809,14 @@ const getSlackMessage_ConfigPropertyMetadata = [
5875
6809
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5876
6810
  ];
5877
6811
  const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackMessage_ConfigPropertyMetadata);
5878
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$n(getSlackMessage_ConfigPropertyMetadata);
6812
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$p(getSlackMessage_ConfigPropertyMetadata);
5879
6813
  function keyBuilder$d(luvio, config) {
5880
6814
  const resourceParams = createResourceParams$c(config);
5881
6815
  return keyBuilder$e(luvio, resourceParams);
5882
6816
  }
5883
6817
  function typeCheckConfig$c(untrustedConfig) {
5884
6818
  const config = {};
5885
- typeCheckConfig$n(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
6819
+ typeCheckConfig$p(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5886
6820
  return config;
5887
6821
  }
5888
6822
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -5900,7 +6834,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5900
6834
  }
5901
6835
  function adapterFragment$5(luvio, config) {
5902
6836
  createResourceParams$c(config);
5903
- return select$h();
6837
+ return select$g();
5904
6838
  }
5905
6839
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
5906
6840
  const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
@@ -5931,7 +6865,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5931
6865
  });
5932
6866
  }
5933
6867
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
5934
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
6868
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
5935
6869
  }
5936
6870
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
5937
6871
  const { luvio, config } = context;
@@ -5957,7 +6891,7 @@ const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackM
5957
6891
  };
5958
6892
  const notifyChangeFactory$2 = (luvio, options) => {
5959
6893
  return function getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamIdNotifyChange(configs) {
5960
- const keys = configs.map(c => keyBuilder$B(luvio, c));
6894
+ const keys = configs.map(c => keyBuilder$F(luvio, c));
5961
6895
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5962
6896
  for (let i = 0, len = entries.length; i < len; i++) {
5963
6897
  const { key, record: val } = entries[i];
@@ -5985,8 +6919,8 @@ const notifyChangeFactory$2 = (luvio, options) => {
5985
6919
  };
5986
6920
  };
5987
6921
 
5988
- const VERSION$4 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
5989
- function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
6922
+ const VERSION$3 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
6923
+ function validate$3(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
5990
6924
  const v_error = (() => {
5991
6925
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5992
6926
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6009,9 +6943,9 @@ function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
6009
6943
  })();
6010
6944
  return v_error === undefined ? null : v_error;
6011
6945
  }
6012
- const RepresentationType$4 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
6946
+ const RepresentationType$3 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
6013
6947
  function keyBuilder$c(luvio, config) {
6014
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.relatedRecordId;
6948
+ return keyPrefix + '::' + RepresentationType$3 + ':' + config.relatedRecordId;
6015
6949
  }
6016
6950
  function keyBuilderFromType$2(luvio, object) {
6017
6951
  const keyParams = {
@@ -6019,7 +6953,7 @@ function keyBuilderFromType$2(luvio, object) {
6019
6953
  };
6020
6954
  return keyBuilder$c(luvio, keyParams);
6021
6955
  }
6022
- function normalize$4(input, existing, path, luvio, store, timestamp) {
6956
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
6023
6957
  const input_conversationInfo = input.conversationInfo;
6024
6958
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
6025
6959
  input.conversationInfo = ingest$f(input_conversationInfo, {
@@ -6034,16 +6968,16 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
6034
6968
  }, luvio, store, timestamp);
6035
6969
  return input;
6036
6970
  }
6037
- const select$g = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
6971
+ const select$f = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
6038
6972
  return {
6039
6973
  kind: 'Fragment',
6040
- version: VERSION$4,
6974
+ version: VERSION$3,
6041
6975
  private: [],
6042
6976
  selections: [
6043
6977
  {
6044
6978
  name: 'conversationInfo',
6045
6979
  kind: 'Link',
6046
- fragment: select$E()
6980
+ fragment: select$G()
6047
6981
  },
6048
6982
  {
6049
6983
  name: 'relatedRecordId',
@@ -6056,7 +6990,7 @@ const select$g = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
6056
6990
  ]
6057
6991
  };
6058
6992
  };
6059
- function equals$4(existing, incoming) {
6993
+ function equals$3(existing, incoming) {
6060
6994
  const existing_relatedRecordId = existing.relatedRecordId;
6061
6995
  const incoming_relatedRecordId = incoming.relatedRecordId;
6062
6996
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -6074,31 +7008,31 @@ function equals$4(existing, incoming) {
6074
7008
  }
6075
7009
  return true;
6076
7010
  }
6077
- const ingest$4 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7011
+ const ingest$3 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6078
7012
  if (process.env.NODE_ENV !== 'production') {
6079
- const validateError = validate$4(input);
7013
+ const validateError = validate$3(input);
6080
7014
  if (validateError !== null) {
6081
7015
  throw validateError;
6082
7016
  }
6083
7017
  }
6084
7018
  const key = keyBuilderFromType$2(luvio, input);
6085
7019
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6086
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
7020
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
6087
7021
  return createLink(key);
6088
7022
  };
6089
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
7023
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6090
7024
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6091
7025
  const rootKey = keyBuilderFromType$2(luvio, input);
6092
7026
  rootKeySet.set(rootKey, {
6093
7027
  namespace: keyPrefix,
6094
- representationName: RepresentationType$4,
7028
+ representationName: RepresentationType$3,
6095
7029
  mergeable: false
6096
7030
  });
6097
7031
  getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
6098
7032
  }
6099
7033
 
6100
- function select$f(luvio, params) {
6101
- return select$g();
7034
+ function select$e(luvio, params) {
7035
+ return select$f();
6102
7036
  }
6103
7037
  function keyBuilder$b(luvio, params) {
6104
7038
  return keyBuilder$c(luvio, {
@@ -6106,15 +7040,15 @@ function keyBuilder$b(luvio, params) {
6106
7040
  });
6107
7041
  }
6108
7042
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
6109
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
7043
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
6110
7044
  }
6111
7045
  function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
6112
7046
  const { body } = response;
6113
7047
  const key = keyBuilder$b(luvio, resourceParams);
6114
- luvio.storeIngest(key, ingest$4, body);
7048
+ luvio.storeIngest(key, ingest$3, body);
6115
7049
  const snapshot = luvio.storeLookup({
6116
7050
  recordId: key,
6117
- node: select$f(),
7051
+ node: select$e(),
6118
7052
  variables: {},
6119
7053
  }, snapshotRefresh);
6120
7054
  if (process.env.NODE_ENV !== 'production') {
@@ -6157,14 +7091,14 @@ const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
6157
7091
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
6158
7092
  ];
6159
7093
  const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackRecordChannelInfo_ConfigPropertyMetadata);
6160
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$n(getSlackRecordChannelInfo_ConfigPropertyMetadata);
7094
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$p(getSlackRecordChannelInfo_ConfigPropertyMetadata);
6161
7095
  function keyBuilder$a(luvio, config) {
6162
7096
  const resourceParams = createResourceParams$b(config);
6163
7097
  return keyBuilder$b(luvio, resourceParams);
6164
7098
  }
6165
7099
  function typeCheckConfig$b(untrustedConfig) {
6166
7100
  const config = {};
6167
- typeCheckConfig$n(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
7101
+ typeCheckConfig$p(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
6168
7102
  return config;
6169
7103
  }
6170
7104
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -6182,7 +7116,7 @@ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
6182
7116
  }
6183
7117
  function adapterFragment$4(luvio, config) {
6184
7118
  createResourceParams$b(config);
6185
- return select$f();
7119
+ return select$e();
6186
7120
  }
6187
7121
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
6188
7122
  const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
@@ -6213,7 +7147,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
6213
7147
  });
6214
7148
  }
6215
7149
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6216
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
7150
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6217
7151
  }
6218
7152
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6219
7153
  const { luvio, config } = context;
@@ -6248,11 +7182,11 @@ const notifyChangeFactory$1 = (luvio, options) => {
6248
7182
  .then((response) => {
6249
7183
  return luvio.handleSuccessResponse(() => {
6250
7184
  const { body } = response;
6251
- luvio.storeIngest(key, ingest$4, body);
7185
+ luvio.storeIngest(key, ingest$3, body);
6252
7186
  return luvio.storeBroadcast();
6253
7187
  }, () => {
6254
7188
  const cache = new StoreKeyMap();
6255
- getTypeCacheKeys$4(cache, luvio, response.body);
7189
+ getTypeCacheKeys$3(cache, luvio, response.body);
6256
7190
  return cache;
6257
7191
  });
6258
7192
  }, (error) => {
@@ -6267,149 +7201,19 @@ const notifyChangeFactory$1 = (luvio, options) => {
6267
7201
  };
6268
7202
  };
6269
7203
 
6270
- const VERSION$3 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6271
- function validate$3(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6272
- const v_error = (() => {
6273
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6274
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6275
- }
6276
- const obj_conversationInfos = obj.conversationInfos;
6277
- const path_conversationInfos = path + '.conversationInfos';
6278
- if (!ArrayIsArray(obj_conversationInfos)) {
6279
- return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
6280
- }
6281
- for (let i = 0; i < obj_conversationInfos.length; i++) {
6282
- const obj_conversationInfos_item = obj_conversationInfos[i];
6283
- const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
6284
- if (typeof obj_conversationInfos_item !== 'object') {
6285
- return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
6286
- }
6287
- }
6288
- const obj_searchString = obj.searchString;
6289
- const path_searchString = path + '.searchString';
6290
- let obj_searchString_union0 = null;
6291
- const obj_searchString_union0_error = (() => {
6292
- if (typeof obj_searchString !== 'string') {
6293
- return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6294
- }
6295
- })();
6296
- if (obj_searchString_union0_error != null) {
6297
- obj_searchString_union0 = obj_searchString_union0_error.message;
6298
- }
6299
- let obj_searchString_union1 = null;
6300
- const obj_searchString_union1_error = (() => {
6301
- if (obj_searchString !== null) {
6302
- return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6303
- }
6304
- })();
6305
- if (obj_searchString_union1_error != null) {
6306
- obj_searchString_union1 = obj_searchString_union1_error.message;
6307
- }
6308
- if (obj_searchString_union0 && obj_searchString_union1) {
6309
- let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6310
- message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6311
- message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6312
- return new TypeError(message);
6313
- }
6314
- })();
6315
- return v_error === undefined ? null : v_error;
6316
- }
6317
- const RepresentationType$3 = 'SlackBridgeConversationInfosOutputRepresentation';
6318
- function normalize$3(input, existing, path, luvio, store, timestamp) {
6319
- const input_conversationInfos = input.conversationInfos;
6320
- const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6321
- for (let i = 0; i < input_conversationInfos.length; i++) {
6322
- const input_conversationInfos_item = input_conversationInfos[i];
6323
- let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6324
- input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6325
- fullPath: input_conversationInfos_item_id,
6326
- propertyName: i,
6327
- parent: {
6328
- data: input,
6329
- key: path.fullPath,
6330
- existing: existing,
6331
- },
6332
- ttl: path.ttl
6333
- }, luvio, store, timestamp);
6334
- }
6335
- return input;
6336
- }
6337
- const select$e = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6338
- return {
6339
- kind: 'Fragment',
6340
- version: VERSION$3,
6341
- private: [],
6342
- selections: [
6343
- {
6344
- name: 'conversationInfos',
6345
- kind: 'Link',
6346
- plural: true,
6347
- fragment: select$E()
6348
- },
6349
- {
6350
- name: 'searchString',
6351
- kind: 'Scalar'
6352
- }
6353
- ]
6354
- };
6355
- };
6356
- function equals$3(existing, incoming) {
6357
- const existing_conversationInfos = existing.conversationInfos;
6358
- const incoming_conversationInfos = incoming.conversationInfos;
6359
- const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
6360
- if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
6361
- return false;
6362
- }
6363
- });
6364
- if (equals_conversationInfos_items === false) {
6365
- return false;
6366
- }
6367
- const existing_searchString = existing.searchString;
6368
- const incoming_searchString = incoming.searchString;
6369
- if (!(existing_searchString === incoming_searchString)) {
6370
- return false;
6371
- }
6372
- return true;
6373
- }
6374
- const ingest$3 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6375
- if (process.env.NODE_ENV !== 'production') {
6376
- const validateError = validate$3(input);
6377
- if (validateError !== null) {
6378
- throw validateError;
6379
- }
6380
- }
6381
- const key = path.fullPath;
6382
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6383
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
6384
- return createLink(key);
6385
- };
6386
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6387
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6388
- const rootKey = fullPathFactory();
6389
- rootKeySet.set(rootKey, {
6390
- namespace: keyPrefix,
6391
- representationName: RepresentationType$3,
6392
- mergeable: false
6393
- });
6394
- const input_conversationInfos_length = input.conversationInfos.length;
6395
- for (let i = 0; i < input_conversationInfos_length; i++) {
6396
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6397
- }
6398
- }
6399
-
6400
7204
  function select$d(luvio, params) {
6401
- return select$e();
7205
+ return select$r();
6402
7206
  }
6403
7207
  function keyBuilder$9(luvio, params) {
6404
7208
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6405
7209
  }
6406
7210
  function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
6407
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
7211
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
6408
7212
  }
6409
7213
  function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
6410
7214
  const { body } = response;
6411
7215
  const key = keyBuilder$9(luvio, resourceParams);
6412
- luvio.storeIngest(key, ingest$3, body);
7216
+ luvio.storeIngest(key, ingest$7, body);
6413
7217
  const snapshot = luvio.storeLookup({
6414
7218
  recordId: key,
6415
7219
  node: select$d(),
@@ -6449,14 +7253,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6449
7253
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6450
7254
  ];
6451
7255
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackSearchConversation_ConfigPropertyMetadata);
6452
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$n(getSlackSearchConversation_ConfigPropertyMetadata);
7256
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$p(getSlackSearchConversation_ConfigPropertyMetadata);
6453
7257
  function keyBuilder$8(luvio, config) {
6454
7258
  const resourceParams = createResourceParams$a(config);
6455
7259
  return keyBuilder$9(luvio, resourceParams);
6456
7260
  }
6457
7261
  function typeCheckConfig$a(untrustedConfig) {
6458
7262
  const config = {};
6459
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
7263
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6460
7264
  return config;
6461
7265
  }
6462
7266
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -6505,7 +7309,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6505
7309
  });
6506
7310
  }
6507
7311
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6508
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
7312
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6509
7313
  }
6510
7314
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6511
7315
  const { luvio, config } = context;
@@ -6531,18 +7335,18 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
6531
7335
  };
6532
7336
 
6533
7337
  function select$c(luvio, params) {
6534
- return select$j();
7338
+ return select$i();
6535
7339
  }
6536
7340
  function keyBuilder$7(luvio, params) {
6537
7341
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6538
7342
  }
6539
7343
  function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
6540
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
7344
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6541
7345
  }
6542
7346
  function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
6543
7347
  const { body } = response;
6544
7348
  const key = keyBuilder$7(luvio, resourceParams);
6545
- luvio.storeIngest(key, ingest$5, body);
7349
+ luvio.storeIngest(key, ingest$4, body);
6546
7350
  const snapshot = luvio.storeLookup({
6547
7351
  recordId: key,
6548
7352
  node: select$c(),
@@ -6582,14 +7386,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6582
7386
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6583
7387
  ];
6584
7388
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackSearchEmoji_ConfigPropertyMetadata);
6585
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$n(getSlackSearchEmoji_ConfigPropertyMetadata);
7389
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$p(getSlackSearchEmoji_ConfigPropertyMetadata);
6586
7390
  function keyBuilder$6(luvio, config) {
6587
7391
  const resourceParams = createResourceParams$9(config);
6588
7392
  return keyBuilder$7(luvio, resourceParams);
6589
7393
  }
6590
7394
  function typeCheckConfig$9(untrustedConfig) {
6591
7395
  const config = {};
6592
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
7396
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6593
7397
  return config;
6594
7398
  }
6595
7399
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -6638,7 +7442,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
6638
7442
  });
6639
7443
  }
6640
7444
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
6641
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
7445
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6642
7446
  }
6643
7447
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
6644
7448
  const { luvio, config } = context;
@@ -6663,12 +7467,38 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
6663
7467
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
6664
7468
  };
6665
7469
 
6666
- const VERSION$2 = "058d708f5533e6123e368a3722311412";
7470
+ const VERSION$2 = "16b915c502b8a0609446d7ed3907a794";
6667
7471
  function validate$2(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
6668
7472
  const v_error = (() => {
6669
7473
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6670
7474
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6671
7475
  }
7476
+ const obj_nextMarker = obj.nextMarker;
7477
+ const path_nextMarker = path + '.nextMarker';
7478
+ let obj_nextMarker_union0 = null;
7479
+ const obj_nextMarker_union0_error = (() => {
7480
+ if (typeof obj_nextMarker !== 'string') {
7481
+ return new TypeError('Expected "string" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7482
+ }
7483
+ })();
7484
+ if (obj_nextMarker_union0_error != null) {
7485
+ obj_nextMarker_union0 = obj_nextMarker_union0_error.message;
7486
+ }
7487
+ let obj_nextMarker_union1 = null;
7488
+ const obj_nextMarker_union1_error = (() => {
7489
+ if (obj_nextMarker !== null) {
7490
+ return new TypeError('Expected "null" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
7491
+ }
7492
+ })();
7493
+ if (obj_nextMarker_union1_error != null) {
7494
+ obj_nextMarker_union1 = obj_nextMarker_union1_error.message;
7495
+ }
7496
+ if (obj_nextMarker_union0 && obj_nextMarker_union1) {
7497
+ let message = 'Object doesn\'t match union (at "' + path_nextMarker + '")';
7498
+ message += '\n' + obj_nextMarker_union0.split('\n').map((line) => '\t' + line).join('\n');
7499
+ message += '\n' + obj_nextMarker_union1.split('\n').map((line) => '\t' + line).join('\n');
7500
+ return new TypeError(message);
7501
+ }
6672
7502
  const obj_searchString = obj.searchString;
6673
7503
  const path_searchString = path + '.searchString';
6674
7504
  let obj_searchString_union0 = null;
@@ -6736,6 +7566,10 @@ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
6736
7566
  version: VERSION$2,
6737
7567
  private: [],
6738
7568
  selections: [
7569
+ {
7570
+ name: 'nextMarker',
7571
+ kind: 'Scalar'
7572
+ },
6739
7573
  {
6740
7574
  name: 'searchString',
6741
7575
  kind: 'Scalar'
@@ -6744,12 +7578,17 @@ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
6744
7578
  name: 'userInfos',
6745
7579
  kind: 'Link',
6746
7580
  plural: true,
6747
- fragment: select$u()
7581
+ fragment: select$w()
6748
7582
  }
6749
7583
  ]
6750
7584
  };
6751
7585
  };
6752
7586
  function equals$2(existing, incoming) {
7587
+ const existing_nextMarker = existing.nextMarker;
7588
+ const incoming_nextMarker = incoming.nextMarker;
7589
+ if (!(existing_nextMarker === incoming_nextMarker)) {
7590
+ return false;
7591
+ }
6753
7592
  const existing_searchString = existing.searchString;
6754
7593
  const incoming_searchString = incoming.searchString;
6755
7594
  if (!(existing_searchString === incoming_searchString)) {
@@ -6848,14 +7687,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
6848
7687
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6849
7688
  ];
6850
7689
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchUser_ConfigPropertyMetadata);
6851
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$n(getSlackSearchUser_ConfigPropertyMetadata);
7690
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$p(getSlackSearchUser_ConfigPropertyMetadata);
6852
7691
  function keyBuilder$4(luvio, config) {
6853
7692
  const resourceParams = createResourceParams$8(config);
6854
7693
  return keyBuilder$5(luvio, resourceParams);
6855
7694
  }
6856
7695
  function typeCheckConfig$8(untrustedConfig) {
6857
7696
  const config = {};
6858
- typeCheckConfig$n(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7697
+ typeCheckConfig$p(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6859
7698
  return config;
6860
7699
  }
6861
7700
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -6904,7 +7743,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
6904
7743
  });
6905
7744
  }
6906
7745
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
6907
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
7746
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
6908
7747
  }
6909
7748
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
6910
7749
  const { luvio, config } = context;
@@ -6930,12 +7769,11 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
6930
7769
  };
6931
7770
 
6932
7771
  function select$9(luvio, params) {
6933
- return select$u();
7772
+ return select$w();
6934
7773
  }
6935
7774
  function keyBuilder$3(luvio, params) {
6936
- return keyBuilder$s(luvio, {
6937
- slackUserId: params.urlParams.slackUserId,
6938
- teamId: params.urlParams.teamId
7775
+ return keyBuilder$w(luvio, {
7776
+ slackUserId: params.urlParams.slackUserId
6939
7777
  });
6940
7778
  }
6941
7779
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
@@ -6988,7 +7826,6 @@ function createResourceRequestFromRepresentation(representation) {
6988
7826
  urlParams: {},
6989
7827
  };
6990
7828
  config.urlParams.slackUserId = representation.slackUserId;
6991
- config.urlParams.teamId = representation.teamId;
6992
7829
  return createResourceRequest$7(config);
6993
7830
  }
6994
7831
 
@@ -6998,14 +7835,14 @@ const getSlackUser_ConfigPropertyMetadata = [
6998
7835
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6999
7836
  ];
7000
7837
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackUser_ConfigPropertyMetadata);
7001
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$n(getSlackUser_ConfigPropertyMetadata);
7838
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$p(getSlackUser_ConfigPropertyMetadata);
7002
7839
  function keyBuilder$2(luvio, config) {
7003
7840
  const resourceParams = createResourceParams$7(config);
7004
7841
  return keyBuilder$3(luvio, resourceParams);
7005
7842
  }
7006
7843
  function typeCheckConfig$7(untrustedConfig) {
7007
7844
  const config = {};
7008
- typeCheckConfig$n(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7845
+ typeCheckConfig$p(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7009
7846
  return config;
7010
7847
  }
7011
7848
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -7054,7 +7891,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
7054
7891
  });
7055
7892
  }
7056
7893
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
7057
- return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7894
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7058
7895
  }
7059
7896
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
7060
7897
  const { luvio, config } = context;
@@ -7080,7 +7917,7 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
7080
7917
  };
7081
7918
  const notifyChangeFactory = (luvio, options) => {
7082
7919
  return function getConnectSlackbridgeTeamUserBySlackUserIdAndTeamIdNotifyChange(configs) {
7083
- const keys = configs.map(c => keyBuilder$s(luvio, c));
7920
+ const keys = configs.map(c => keyBuilder$w(luvio, c));
7084
7921
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
7085
7922
  for (let i = 0, len = entries.length; i < len; i++) {
7086
7923
  const { key, record: val } = entries[i];
@@ -7114,7 +7951,7 @@ const notifyChangeFactory = (luvio, options) => {
7114
7951
  };
7115
7952
 
7116
7953
  function select$8(luvio, params) {
7117
- return select$H();
7954
+ return select$J();
7118
7955
  }
7119
7956
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
7120
7957
  getTypeCacheKeys$h(storeKeyMap, luvio, response);
@@ -7158,10 +7995,10 @@ const patchSlackMessage_ConfigPropertyMetadata = [
7158
7995
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
7159
7996
  ];
7160
7997
  const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchSlackMessage_ConfigPropertyMetadata);
7161
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$n(patchSlackMessage_ConfigPropertyMetadata);
7998
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$p(patchSlackMessage_ConfigPropertyMetadata);
7162
7999
  function typeCheckConfig$6(untrustedConfig) {
7163
8000
  const config = {};
7164
- typeCheckConfig$n(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
8001
+ typeCheckConfig$p(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
7165
8002
  return config;
7166
8003
  }
7167
8004
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -7268,7 +8105,7 @@ const select$7 = function SlackBridgePostMessageOutputRepresentationSelect() {
7268
8105
  {
7269
8106
  name: 'postedMessage',
7270
8107
  kind: 'Link',
7271
- fragment: select$z()
8108
+ fragment: select$B()
7272
8109
  },
7273
8110
  {
7274
8111
  name: 'timestamp',
@@ -7365,10 +8202,10 @@ const postSlackConversation_ConfigPropertyMetadata = [
7365
8202
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
7366
8203
  ];
7367
8204
  const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, postSlackConversation_ConfigPropertyMetadata);
7368
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$n(postSlackConversation_ConfigPropertyMetadata);
8205
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$p(postSlackConversation_ConfigPropertyMetadata);
7369
8206
  function typeCheckConfig$5(untrustedConfig) {
7370
8207
  const config = {};
7371
- typeCheckConfig$n(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
8208
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
7372
8209
  return config;
7373
8210
  }
7374
8211
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -7541,10 +8378,10 @@ const postSlackConversationMark_ConfigPropertyMetadata = [
7541
8378
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
7542
8379
  ];
7543
8380
  const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversationMark_ConfigPropertyMetadata);
7544
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$n(postSlackConversationMark_ConfigPropertyMetadata);
8381
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$p(postSlackConversationMark_ConfigPropertyMetadata);
7545
8382
  function typeCheckConfig$4(untrustedConfig) {
7546
8383
  const config = {};
7547
- typeCheckConfig$n(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
8384
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
7548
8385
  return config;
7549
8386
  }
7550
8387
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -7590,15 +8427,15 @@ const postSlackConversationMarkAdapterFactory = (luvio) => {
7590
8427
  };
7591
8428
 
7592
8429
  function select$3(luvio, params) {
7593
- return select$p();
8430
+ return select$o();
7594
8431
  }
7595
8432
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
7596
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
8433
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
7597
8434
  }
7598
8435
  function ingestSuccess$3(luvio, resourceParams, response) {
7599
8436
  const { body } = response;
7600
8437
  const key = keyBuilderFromType$3(luvio, body);
7601
- luvio.storeIngest(key, ingest$7, body);
8438
+ luvio.storeIngest(key, ingest$6, body);
7602
8439
  const snapshot = luvio.storeLookup({
7603
8440
  recordId: key,
7604
8441
  node: select$3(),
@@ -7633,10 +8470,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
7633
8470
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
7634
8471
  ];
7635
8472
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, postSlackConversationMembers_ConfigPropertyMetadata);
7636
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$n(postSlackConversationMembers_ConfigPropertyMetadata);
8473
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$p(postSlackConversationMembers_ConfigPropertyMetadata);
7637
8474
  function typeCheckConfig$3(untrustedConfig) {
7638
8475
  const config = {};
7639
- typeCheckConfig$n(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
8476
+ typeCheckConfig$p(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
7640
8477
  return config;
7641
8478
  }
7642
8479
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7682,7 +8519,7 @@ const postSlackConversationMembersAdapterFactory = (luvio) => {
7682
8519
  };
7683
8520
 
7684
8521
  function select$2(luvio, params) {
7685
- return select$A();
8522
+ return select$C();
7686
8523
  }
7687
8524
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7688
8525
  getTypeCacheKeys$e(storeKeyMap, luvio, response);
@@ -7730,10 +8567,10 @@ const postSlackFile_ConfigPropertyMetadata = [
7730
8567
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
7731
8568
  ];
7732
8569
  const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postSlackFile_ConfigPropertyMetadata);
7733
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$n(postSlackFile_ConfigPropertyMetadata);
8570
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$p(postSlackFile_ConfigPropertyMetadata);
7734
8571
  function typeCheckConfig$2(untrustedConfig) {
7735
8572
  const config = {};
7736
- typeCheckConfig$n(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
8573
+ typeCheckConfig$p(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
7737
8574
  return config;
7738
8575
  }
7739
8576
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7779,7 +8616,7 @@ const postSlackFileAdapterFactory = (luvio) => {
7779
8616
  };
7780
8617
 
7781
8618
  function select$1(luvio, params) {
7782
- return select$F();
8619
+ return select$H();
7783
8620
  }
7784
8621
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
7785
8622
  getTypeCacheKeys$g(storeKeyMap, luvio, response);
@@ -7823,10 +8660,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
7823
8660
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
7824
8661
  ];
7825
8662
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postSlackMessageReactions_ConfigPropertyMetadata);
7826
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$n(postSlackMessageReactions_ConfigPropertyMetadata);
8663
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$p(postSlackMessageReactions_ConfigPropertyMetadata);
7827
8664
  function typeCheckConfig$1(untrustedConfig) {
7828
8665
  const config = {};
7829
- typeCheckConfig$n(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
8666
+ typeCheckConfig$p(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
7830
8667
  return config;
7831
8668
  }
7832
8669
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7872,15 +8709,15 @@ const postSlackMessageReactionsAdapterFactory = (luvio) => {
7872
8709
  };
7873
8710
 
7874
8711
  function select(luvio, params) {
7875
- return select$g();
8712
+ return select$f();
7876
8713
  }
7877
8714
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
7878
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
8715
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
7879
8716
  }
7880
8717
  function ingestSuccess(luvio, resourceParams, response) {
7881
8718
  const { body } = response;
7882
8719
  const key = keyBuilderFromType$2(luvio, body);
7883
- luvio.storeIngest(key, ingest$4, body);
8720
+ luvio.storeIngest(key, ingest$3, body);
7884
8721
  const snapshot = luvio.storeLookup({
7885
8722
  recordId: key,
7886
8723
  node: select(),
@@ -7914,10 +8751,10 @@ const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
7914
8751
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
7915
8752
  ];
7916
8753
  const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7917
- const createResourceParams = /*#__PURE__*/ createResourceParams$n(postSlackRecordChannelInfos_ConfigPropertyMetadata);
8754
+ const createResourceParams = /*#__PURE__*/ createResourceParams$p(postSlackRecordChannelInfos_ConfigPropertyMetadata);
7918
8755
  function typeCheckConfig(untrustedConfig) {
7919
8756
  const config = {};
7920
- typeCheckConfig$n(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
8757
+ typeCheckConfig$p(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7921
8758
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
7922
8759
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
7923
8760
  const untrustedConfig_conversationInfo_object = {};
@@ -7978,6 +8815,9 @@ let deleteSlackMessage;
7978
8815
  let deleteSlackMessageReactions;
7979
8816
  let getRelatedThreads;
7980
8817
  let getSlackConversation;
8818
+ let getSlackConversationInfo;
8819
+ let getSlackConversationInfoNotifyChange;
8820
+ let getSlackConversationInfos;
7981
8821
  let getSlackConversationMember;
7982
8822
  let getSlackConversationMemberNotifyChange;
7983
8823
  let getSlackConversationMembers;
@@ -8005,6 +8845,8 @@ let postSlackRecordChannelInfos;
8005
8845
  // Imperative GET Adapters
8006
8846
  let getRelatedThreads_imperative;
8007
8847
  let getSlackConversation_imperative;
8848
+ let getSlackConversationInfo_imperative;
8849
+ let getSlackConversationInfos_imperative;
8008
8850
  let getSlackConversationMember_imperative;
8009
8851
  let getSlackConversationMembers_imperative;
8010
8852
  let getSlackDisplayLogin_imperative;
@@ -8018,6 +8860,15 @@ let getSlackSearchUser_imperative;
8018
8860
  let getSlackUser_imperative;
8019
8861
  const getRelatedThreadsMetadata = { apiFamily: 'SlackBridge', name: 'getRelatedThreads', ttl: 500 };
8020
8862
  const getSlackConversationMetadata = { apiFamily: 'SlackBridge', name: 'getSlackConversation' };
8863
+ const getSlackConversationInfoMetadata = {
8864
+ apiFamily: 'SlackBridge',
8865
+ name: 'getSlackConversationInfo',
8866
+ ttl: 900000,
8867
+ };
8868
+ const getSlackConversationInfosMetadata = {
8869
+ apiFamily: 'SlackBridge',
8870
+ name: 'getSlackConversationInfos',
8871
+ };
8021
8872
  const getSlackConversationMemberMetadata = {
8022
8873
  apiFamily: 'SlackBridge',
8023
8874
  name: 'getSlackConversationMember',
@@ -8044,12 +8895,14 @@ const getSlackSearchConversationMetadata = {
8044
8895
  };
8045
8896
  const getSlackSearchEmojiMetadata = { apiFamily: 'SlackBridge', name: 'getSlackSearchEmoji' };
8046
8897
  const getSlackSearchUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackSearchUser' };
8047
- const getSlackUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackUser', ttl: 600000 };
8898
+ const getSlackUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackUser', ttl: 900000 };
8048
8899
  // Notify Update Available
8049
8900
  function bindExportsTo(luvio) {
8050
8901
  // LDS Adapters
8051
8902
  const getRelatedThreads_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedThreads', getRelatedThreadsAdapterFactory), getRelatedThreadsMetadata);
8052
8903
  const getSlackConversation_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversation', getSlackConversationAdapterFactory), getSlackConversationMetadata);
8904
+ const getSlackConversationInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationInfo', getSlackConversationInfoAdapterFactory), getSlackConversationInfoMetadata);
8905
+ const getSlackConversationInfos_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationInfos', getSlackConversationInfosAdapterFactory), getSlackConversationInfosMetadata);
8053
8906
  const getSlackConversationMember_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMember', getSlackConversationMemberAdapterFactory), getSlackConversationMemberMetadata);
8054
8907
  const getSlackConversationMembers_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMembers', getSlackConversationMembersAdapterFactory), getSlackConversationMembersMetadata);
8055
8908
  const getSlackDisplayLogin_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackDisplayLogin', getSlackDisplayLoginAdapterFactory), getSlackDisplayLoginMetadata);
@@ -8066,11 +8919,14 @@ function bindExportsTo(luvio) {
8066
8919
  return (config) => adapter(config).then((snapshot) => snapshot.data);
8067
8920
  }
8068
8921
  return {
8069
- deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$m, deleteSlackConversationMemberAdapterFactory),
8070
- deleteSlackMessage: createLDSAdapter(luvio, adapterName$l, deleteSlackMessageAdapterFactory),
8071
- deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$k, deleteSlackMessageReactionsAdapterFactory),
8922
+ deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$o, deleteSlackConversationMemberAdapterFactory),
8923
+ deleteSlackMessage: createLDSAdapter(luvio, adapterName$n, deleteSlackMessageAdapterFactory),
8924
+ deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$m, deleteSlackMessageReactionsAdapterFactory),
8072
8925
  getRelatedThreads: createWireAdapterConstructor(luvio, getRelatedThreads_ldsAdapter, getRelatedThreadsMetadata),
8073
8926
  getSlackConversation: createWireAdapterConstructor(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
8927
+ getSlackConversationInfo: createWireAdapterConstructor(luvio, getSlackConversationInfo_ldsAdapter, getSlackConversationInfoMetadata),
8928
+ getSlackConversationInfoNotifyChange: createLDSAdapter(luvio, 'getSlackConversationInfoNotifyChange', notifyChangeFactory$6),
8929
+ getSlackConversationInfos: createWireAdapterConstructor(luvio, getSlackConversationInfos_ldsAdapter, getSlackConversationInfosMetadata),
8074
8930
  getSlackConversationMember: createWireAdapterConstructor(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
8075
8931
  getSlackConversationMemberNotifyChange: createLDSAdapter(luvio, 'getSlackConversationMemberNotifyChange', notifyChangeFactory$5),
8076
8932
  getSlackConversationMembers: createWireAdapterConstructor(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
@@ -8098,6 +8954,8 @@ function bindExportsTo(luvio) {
8098
8954
  // Imperative GET Adapters
8099
8955
  getRelatedThreads_imperative: createImperativeAdapter(luvio, getRelatedThreads_ldsAdapter, getRelatedThreadsMetadata),
8100
8956
  getSlackConversation_imperative: createImperativeAdapter(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
8957
+ getSlackConversationInfo_imperative: createImperativeAdapter(luvio, getSlackConversationInfo_ldsAdapter, getSlackConversationInfoMetadata),
8958
+ getSlackConversationInfos_imperative: createImperativeAdapter(luvio, getSlackConversationInfos_ldsAdapter, getSlackConversationInfosMetadata),
8101
8959
  getSlackConversationMember_imperative: createImperativeAdapter(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
8102
8960
  getSlackConversationMembers_imperative: createImperativeAdapter(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
8103
8961
  getSlackDisplayLogin_imperative: createImperativeAdapter(luvio, getSlackDisplayLogin_ldsAdapter, getSlackDisplayLoginMetadata),
@@ -8119,6 +8977,9 @@ withDefaultLuvio((luvio) => {
8119
8977
  deleteSlackMessageReactions,
8120
8978
  getRelatedThreads,
8121
8979
  getSlackConversation,
8980
+ getSlackConversationInfo,
8981
+ getSlackConversationInfoNotifyChange,
8982
+ getSlackConversationInfos,
8122
8983
  getSlackConversationMember,
8123
8984
  getSlackConversationMemberNotifyChange,
8124
8985
  getSlackConversationMembers,
@@ -8145,6 +9006,8 @@ withDefaultLuvio((luvio) => {
8145
9006
  postSlackRecordChannelInfos,
8146
9007
  getRelatedThreads_imperative,
8147
9008
  getSlackConversation_imperative,
9009
+ getSlackConversationInfo_imperative,
9010
+ getSlackConversationInfos_imperative,
8148
9011
  getSlackConversationMember_imperative,
8149
9012
  getSlackConversationMembers_imperative,
8150
9013
  getSlackDisplayLogin_imperative,
@@ -8159,5 +9022,5 @@ withDefaultLuvio((luvio) => {
8159
9022
  } = bindExportsTo(luvio));
8160
9023
  });
8161
9024
 
8162
- 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 };
8163
- // version: 1.354.0-dev1-3890a35d35
9025
+ 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 };
9026
+ // version: 1.354.0-dev10-f675337995