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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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$m, typeCheckConfig as typeCheckConfig$m, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$c } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, StoreKeyMap, deepFreeze, createResourceParams as createResourceParams$o, typeCheckConfig as typeCheckConfig$o, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$e } 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$m(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
142
142
  return v_error === undefined ? null : v_error;
143
143
  }
144
144
  const RepresentationType$h = 'SlackBridgeConversationMemberOutputRepresentation';
145
- function keyBuilder$B(luvio, config) {
145
+ function keyBuilder$F(luvio, config) {
146
146
  return keyPrefix + '::' + RepresentationType$h + ':' + 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$B(luvio, keyParams);
152
+ return keyBuilder$F(luvio, keyParams);
153
153
  }
154
154
  function normalize$h(input, existing, path, luvio, store, timestamp) {
155
155
  return input;
156
156
  }
157
- const select$F = function SlackBridgeConversationMemberOutputRepresentationSelect() {
157
+ const select$H = function SlackBridgeConversationMemberOutputRepresentationSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
160
  version: VERSION$m,
@@ -206,13 +206,13 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
206
206
  });
207
207
  }
208
208
 
209
- function keyBuilder$A(luvio, params) {
210
- return keyBuilder$B(luvio, {
209
+ function keyBuilder$E(luvio, params) {
210
+ return keyBuilder$F(luvio, {
211
211
  channelId: params.urlParams.channelId
212
212
  });
213
213
  }
214
- function getResponseCacheKeys$l(cacheKeyMap, luvio, resourceParams) {
215
- const key = keyBuilder$A(luvio, resourceParams);
214
+ function getResponseCacheKeys$n(cacheKeyMap, luvio, resourceParams) {
215
+ const key = keyBuilder$E(luvio, resourceParams);
216
216
  cacheKeyMap.set(key, {
217
217
  namespace: keyPrefix,
218
218
  representationName: RepresentationType$h,
@@ -220,13 +220,13 @@ function getResponseCacheKeys$l(cacheKeyMap, luvio, resourceParams) {
220
220
  });
221
221
  }
222
222
  function evictSuccess$2(luvio, resourceParams) {
223
- const key = keyBuilder$A(luvio, resourceParams);
223
+ const key = keyBuilder$E(luvio, resourceParams);
224
224
  luvio.storeEvict(key);
225
225
  }
226
- function createResourceRequest$l(config) {
226
+ function createResourceRequest$n(config) {
227
227
  const headers = {};
228
228
  return {
229
- baseUri: '/services/data/v64.0',
229
+ baseUri: '/services/data/v65.0',
230
230
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members/' + config.urlParams.slackUserId + '',
231
231
  method: 'delete',
232
232
  body: null,
@@ -237,35 +237,35 @@ function createResourceRequest$l(config) {
237
237
  };
238
238
  }
239
239
 
240
- const adapterName$l = 'deleteSlackConversationMember';
240
+ const adapterName$n = '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$l, deleteSlackConversationMember_ConfigPropertyMetadata);
247
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$m(deleteSlackConversationMember_ConfigPropertyMetadata);
248
- function typeCheckConfig$l(untrustedConfig) {
246
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, deleteSlackConversationMember_ConfigPropertyMetadata);
247
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$o(deleteSlackConversationMember_ConfigPropertyMetadata);
248
+ function typeCheckConfig$n(untrustedConfig) {
249
249
  const config = {};
250
- typeCheckConfig$m(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
250
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
251
251
  return config;
252
252
  }
253
- function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
253
+ function validateAdapterConfig$n(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$l(untrustedConfig);
260
+ const config = typeCheckConfig$n(untrustedConfig);
261
261
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
262
262
  return null;
263
263
  }
264
264
  return config;
265
265
  }
266
- function buildNetworkSnapshot$l(luvio, config, options) {
267
- const resourceParams = createResourceParams$l(config);
268
- const request = createResourceRequest$l(resourceParams);
266
+ function buildNetworkSnapshot$n(luvio, config, options) {
267
+ const resourceParams = createResourceParams$n(config);
268
+ const request = createResourceRequest$n(resourceParams);
269
269
  return luvio.dispatchResourceRequest(request, options)
270
270
  .then(() => {
271
271
  return luvio.handleSuccessResponse(() => {
@@ -273,7 +273,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
273
273
  return luvio.storeBroadcast();
274
274
  }, () => {
275
275
  const cache = new StoreKeyMap();
276
- getResponseCacheKeys$l(cache, luvio, resourceParams);
276
+ getResponseCacheKeys$n(cache, luvio, resourceParams);
277
277
  return cache;
278
278
  });
279
279
  }, (response) => {
@@ -283,12 +283,12 @@ function buildNetworkSnapshot$l(luvio, config, options) {
283
283
  }
284
284
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
285
285
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
286
- const config = validateAdapterConfig$l(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
286
+ const config = validateAdapterConfig$n(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
287
287
  // Invalid or incomplete config
288
288
  if (config === null) {
289
- throw new Error(`Invalid config for "${adapterName$l}"`);
289
+ throw new Error(`Invalid config for "${adapterName$n}"`);
290
290
  }
291
- return buildNetworkSnapshot$l(luvio, config);
291
+ return buildNetworkSnapshot$n(luvio, config);
292
292
  };
293
293
  };
294
294
 
@@ -317,19 +317,19 @@ function validate$l(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
317
317
  return v_error === undefined ? null : v_error;
318
318
  }
319
319
  const RepresentationType$g = 'SlackBridgeMessageFragmentOutputRepresentation';
320
- function keyBuilder$z(luvio, config) {
320
+ function keyBuilder$D(luvio, config) {
321
321
  return keyPrefix + '::' + RepresentationType$g + ':' + 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$z(luvio, keyParams);
327
+ return keyBuilder$D(luvio, keyParams);
328
328
  }
329
329
  function normalize$g(input, existing, path, luvio, store, timestamp) {
330
330
  return input;
331
331
  }
332
- const select$E = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
332
+ const select$G = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
333
333
  return {
334
334
  kind: 'Fragment',
335
335
  version: VERSION$l,
@@ -390,13 +390,13 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
390
390
  });
391
391
  }
392
392
 
393
- function keyBuilder$y(luvio, params) {
394
- return keyBuilder$z(luvio, {
393
+ function keyBuilder$C(luvio, params) {
394
+ return keyBuilder$D(luvio, {
395
395
  channelId: params.urlParams.channelId
396
396
  });
397
397
  }
398
- function getResponseCacheKeys$k(cacheKeyMap, luvio, resourceParams) {
399
- const key = keyBuilder$y(luvio, resourceParams);
398
+ function getResponseCacheKeys$m(cacheKeyMap, luvio, resourceParams) {
399
+ const key = keyBuilder$C(luvio, resourceParams);
400
400
  cacheKeyMap.set(key, {
401
401
  namespace: keyPrefix,
402
402
  representationName: RepresentationType$g,
@@ -404,13 +404,13 @@ function getResponseCacheKeys$k(cacheKeyMap, luvio, resourceParams) {
404
404
  });
405
405
  }
406
406
  function evictSuccess$1(luvio, resourceParams) {
407
- const key = keyBuilder$y(luvio, resourceParams);
407
+ const key = keyBuilder$C(luvio, resourceParams);
408
408
  luvio.storeEvict(key);
409
409
  }
410
- function createResourceRequest$k(config) {
410
+ function createResourceRequest$m(config) {
411
411
  const headers = {};
412
412
  return {
413
- baseUri: '/services/data/v64.0',
413
+ baseUri: '/services/data/v65.0',
414
414
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '',
415
415
  method: 'delete',
416
416
  body: null,
@@ -421,35 +421,35 @@ function createResourceRequest$k(config) {
421
421
  };
422
422
  }
423
423
 
424
- const adapterName$k = 'deleteSlackMessage';
424
+ const adapterName$m = '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$k, deleteSlackMessage_ConfigPropertyMetadata);
431
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$m(deleteSlackMessage_ConfigPropertyMetadata);
432
- function typeCheckConfig$k(untrustedConfig) {
430
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, deleteSlackMessage_ConfigPropertyMetadata);
431
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$o(deleteSlackMessage_ConfigPropertyMetadata);
432
+ function typeCheckConfig$m(untrustedConfig) {
433
433
  const config = {};
434
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
434
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
435
435
  return config;
436
436
  }
437
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
437
+ function validateAdapterConfig$m(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$k(untrustedConfig);
444
+ const config = typeCheckConfig$m(untrustedConfig);
445
445
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
446
446
  return null;
447
447
  }
448
448
  return config;
449
449
  }
450
- function buildNetworkSnapshot$k(luvio, config, options) {
451
- const resourceParams = createResourceParams$k(config);
452
- const request = createResourceRequest$k(resourceParams);
450
+ function buildNetworkSnapshot$m(luvio, config, options) {
451
+ const resourceParams = createResourceParams$m(config);
452
+ const request = createResourceRequest$m(resourceParams);
453
453
  return luvio.dispatchResourceRequest(request, options)
454
454
  .then(() => {
455
455
  return luvio.handleSuccessResponse(() => {
@@ -457,7 +457,7 @@ function buildNetworkSnapshot$k(luvio, config, options) {
457
457
  return luvio.storeBroadcast();
458
458
  }, () => {
459
459
  const cache = new StoreKeyMap();
460
- getResponseCacheKeys$k(cache, luvio, resourceParams);
460
+ getResponseCacheKeys$m(cache, luvio, resourceParams);
461
461
  return cache;
462
462
  });
463
463
  }, (response) => {
@@ -467,12 +467,12 @@ function buildNetworkSnapshot$k(luvio, config, options) {
467
467
  }
468
468
  const deleteSlackMessageAdapterFactory = (luvio) => {
469
469
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
470
- const config = validateAdapterConfig$k(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
470
+ const config = validateAdapterConfig$m(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
471
471
  // Invalid or incomplete config
472
472
  if (config === null) {
473
- throw new Error(`Invalid config for "${adapterName$k}"`);
473
+ throw new Error(`Invalid config for "${adapterName$m}"`);
474
474
  }
475
- return buildNetworkSnapshot$k(luvio, config);
475
+ return buildNetworkSnapshot$m(luvio, config);
476
476
  };
477
477
  };
478
478
 
@@ -554,7 +554,7 @@ function validate$k(obj, path = 'SlackBridgeReactionOutputRepresentation') {
554
554
  })();
555
555
  return v_error === undefined ? null : v_error;
556
556
  }
557
- const select$D = function SlackBridgeReactionOutputRepresentationSelect() {
557
+ const select$F = function SlackBridgeReactionOutputRepresentationSelect() {
558
558
  return {
559
559
  kind: 'Fragment',
560
560
  version: VERSION$k,
@@ -649,20 +649,20 @@ function validate$j(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
649
649
  return v_error === undefined ? null : v_error;
650
650
  }
651
651
  const RepresentationType$f = 'SlackBridgeReactionsOutputRepresentation';
652
- function keyBuilder$x(luvio, config) {
652
+ function keyBuilder$B(luvio, config) {
653
653
  return keyPrefix + '::' + RepresentationType$f + ':' + 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$x(luvio, keyParams);
659
+ return keyBuilder$B(luvio, keyParams);
660
660
  }
661
661
  function normalize$f(input, existing, path, luvio, store, timestamp) {
662
662
  return input;
663
663
  }
664
- const select$C = function SlackBridgeReactionsOutputRepresentationSelect() {
665
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$D();
664
+ const select$E = function SlackBridgeReactionsOutputRepresentationSelect() {
665
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$F();
666
666
  return {
667
667
  kind: 'Fragment',
668
668
  version: VERSION$j,
@@ -739,13 +739,13 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
739
739
  });
740
740
  }
741
741
 
742
- function keyBuilder$w(luvio, params) {
743
- return keyBuilder$x(luvio, {
742
+ function keyBuilder$A(luvio, params) {
743
+ return keyBuilder$B(luvio, {
744
744
  channelId: params.urlParams.channelId
745
745
  });
746
746
  }
747
- function getResponseCacheKeys$j(cacheKeyMap, luvio, resourceParams) {
748
- const key = keyBuilder$w(luvio, resourceParams);
747
+ function getResponseCacheKeys$l(cacheKeyMap, luvio, resourceParams) {
748
+ const key = keyBuilder$A(luvio, resourceParams);
749
749
  cacheKeyMap.set(key, {
750
750
  namespace: keyPrefix,
751
751
  representationName: RepresentationType$f,
@@ -753,13 +753,13 @@ function getResponseCacheKeys$j(cacheKeyMap, luvio, resourceParams) {
753
753
  });
754
754
  }
755
755
  function evictSuccess(luvio, resourceParams) {
756
- const key = keyBuilder$w(luvio, resourceParams);
756
+ const key = keyBuilder$A(luvio, resourceParams);
757
757
  luvio.storeEvict(key);
758
758
  }
759
- function createResourceRequest$j(config) {
759
+ function createResourceRequest$l(config) {
760
760
  const headers = {};
761
761
  return {
762
- baseUri: '/services/data/v64.0',
762
+ baseUri: '/services/data/v65.0',
763
763
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
764
764
  method: 'delete',
765
765
  body: null,
@@ -770,36 +770,36 @@ function createResourceRequest$j(config) {
770
770
  };
771
771
  }
772
772
 
773
- const adapterName$j = 'deleteSlackMessageReactions';
773
+ const adapterName$l = '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$j, deleteSlackMessageReactions_ConfigPropertyMetadata);
781
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$m(deleteSlackMessageReactions_ConfigPropertyMetadata);
782
- function typeCheckConfig$j(untrustedConfig) {
780
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, deleteSlackMessageReactions_ConfigPropertyMetadata);
781
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$o(deleteSlackMessageReactions_ConfigPropertyMetadata);
782
+ function typeCheckConfig$l(untrustedConfig) {
783
783
  const config = {};
784
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
784
+ typeCheckConfig$o(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
785
785
  return config;
786
786
  }
787
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
787
+ function validateAdapterConfig$l(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$j(untrustedConfig);
794
+ const config = typeCheckConfig$l(untrustedConfig);
795
795
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
796
796
  return null;
797
797
  }
798
798
  return config;
799
799
  }
800
- function buildNetworkSnapshot$j(luvio, config, options) {
801
- const resourceParams = createResourceParams$j(config);
802
- const request = createResourceRequest$j(resourceParams);
800
+ function buildNetworkSnapshot$l(luvio, config, options) {
801
+ const resourceParams = createResourceParams$l(config);
802
+ const request = createResourceRequest$l(resourceParams);
803
803
  return luvio.dispatchResourceRequest(request, options)
804
804
  .then(() => {
805
805
  return luvio.handleSuccessResponse(() => {
@@ -807,7 +807,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
807
807
  return luvio.storeBroadcast();
808
808
  }, () => {
809
809
  const cache = new StoreKeyMap();
810
- getResponseCacheKeys$j(cache, luvio, resourceParams);
810
+ getResponseCacheKeys$l(cache, luvio, resourceParams);
811
811
  return cache;
812
812
  });
813
813
  }, (response) => {
@@ -817,15 +817,16 @@ function buildNetworkSnapshot$j(luvio, config, options) {
817
817
  }
818
818
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
819
819
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
820
- const config = validateAdapterConfig$j(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
820
+ const config = validateAdapterConfig$l(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
821
821
  // Invalid or incomplete config
822
822
  if (config === null) {
823
- throw new Error(`Invalid config for "${adapterName$j}"`);
823
+ throw new Error(`Invalid config for "${adapterName$l}"`);
824
824
  }
825
- return buildNetworkSnapshot$j(luvio, config);
825
+ return buildNetworkSnapshot$l(luvio, config);
826
826
  };
827
827
  };
828
828
 
829
+ const TTL$3 = 900000;
829
830
  const VERSION$i = "252fe3a6509a770a876e36552ad8dd06";
830
831
  function validate$i(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
831
832
  const v_error = (() => {
@@ -1165,19 +1166,19 @@ function validate$i(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1165
1166
  return v_error === undefined ? null : v_error;
1166
1167
  }
1167
1168
  const RepresentationType$e = 'SlackBridgeConversationInfoOutputRepresentation';
1168
- function keyBuilder$v(luvio, config) {
1169
+ function keyBuilder$z(luvio, config) {
1169
1170
  return keyPrefix + '::' + RepresentationType$e + ':' + 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$v(luvio, keyParams);
1176
+ return keyBuilder$z(luvio, keyParams);
1176
1177
  }
1177
1178
  function normalize$e(input, existing, path, luvio, store, timestamp) {
1178
1179
  return input;
1179
1180
  }
1180
- const select$B = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1181
+ const select$D = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1181
1182
  return {
1182
1183
  kind: 'Fragment',
1183
1184
  version: VERSION$i,
@@ -1341,7 +1342,7 @@ const ingest$e = 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$3;
1345
1346
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$i, RepresentationType$e, equals$i);
1346
1347
  return createLink(key);
1347
1348
  };
@@ -1374,7 +1375,7 @@ function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1374
1375
  })();
1375
1376
  return v_error === undefined ? null : v_error;
1376
1377
  }
1377
- const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
1378
+ const select$C = function SlackBridgeFileTypeOutputRepresentationSelect() {
1378
1379
  return {
1379
1380
  kind: 'Fragment',
1380
1381
  version: VERSION$h,
@@ -1489,8 +1490,8 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1489
1490
  })();
1490
1491
  return v_error === undefined ? null : v_error;
1491
1492
  }
1492
- const select$z = function SlackBridgeContentVersionOutputRepresentationSelect() {
1493
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
1493
+ const select$B = function SlackBridgeContentVersionOutputRepresentationSelect() {
1494
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$C();
1494
1495
  return {
1495
1496
  kind: 'Fragment',
1496
1497
  version: VERSION$g,
@@ -1602,9 +1603,9 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1602
1603
  })();
1603
1604
  return v_error === undefined ? null : v_error;
1604
1605
  }
1605
- const select$y = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1606
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
1607
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$z();
1606
+ const select$A = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1607
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$C();
1608
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$B();
1608
1609
  return {
1609
1610
  kind: 'Fragment',
1610
1611
  version: VERSION$f,
@@ -1837,20 +1838,20 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
1837
1838
  return v_error === undefined ? null : v_error;
1838
1839
  }
1839
1840
  const RepresentationType$d = 'SlackBridgeFileOutputRepresentation';
1840
- function keyBuilder$u(luvio, config) {
1841
+ function keyBuilder$y(luvio, config) {
1841
1842
  return keyPrefix + '::' + RepresentationType$d + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
1842
1843
  }
1843
1844
  function keyBuilderFromType$6(luvio, object) {
1844
1845
  const keyParams = {
1845
1846
  uniqueKey: object.uniqueKey
1846
1847
  };
1847
- return keyBuilder$u(luvio, keyParams);
1848
+ return keyBuilder$y(luvio, keyParams);
1848
1849
  }
1849
1850
  function normalize$d(input, existing, path, luvio, store, timestamp) {
1850
1851
  return input;
1851
1852
  }
1852
- const select$x = function SlackBridgeFileOutputRepresentationSelect() {
1853
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$y();
1853
+ const select$z = function SlackBridgeFileOutputRepresentationSelect() {
1854
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$A();
1854
1855
  return {
1855
1856
  kind: 'Fragment',
1856
1857
  version: VERSION$e,
@@ -2383,8 +2384,8 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
2383
2384
  }
2384
2385
  return input;
2385
2386
  }
2386
- const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2387
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$D();
2387
+ const select$y = function SlackBridgeMessageOutputRepresentationSelect() {
2388
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$F();
2388
2389
  return {
2389
2390
  kind: 'Fragment',
2390
2391
  version: VERSION$d,
@@ -2408,7 +2409,7 @@ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2408
2409
  name: 'files',
2409
2410
  kind: 'Link',
2410
2411
  plural: true,
2411
- fragment: select$x()
2412
+ fragment: select$z()
2412
2413
  },
2413
2414
  {
2414
2415
  name: 'includesCustomEmoji',
@@ -2719,7 +2720,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
2719
2720
  }
2720
2721
  return input;
2721
2722
  }
2722
- const select$v = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
2723
+ const select$x = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
2723
2724
  return {
2724
2725
  kind: 'Fragment',
2725
2726
  version: VERSION$c,
@@ -2729,13 +2730,13 @@ const select$v = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
2729
2730
  name: 'conversations',
2730
2731
  kind: 'Link',
2731
2732
  plural: true,
2732
- fragment: select$B()
2733
+ fragment: select$D()
2733
2734
  },
2734
2735
  {
2735
2736
  name: 'messages',
2736
2737
  kind: 'Link',
2737
2738
  plural: true,
2738
- fragment: select$w()
2739
+ fragment: select$y()
2739
2740
  },
2740
2741
  {
2741
2742
  name: 'teamId',
@@ -2802,22 +2803,22 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
2802
2803
  }
2803
2804
  }
2804
2805
 
2805
- function select$u(luvio, params) {
2806
- return select$v();
2806
+ function select$w(luvio, params) {
2807
+ return select$x();
2807
2808
  }
2808
- function keyBuilder$t(luvio, params) {
2809
+ function keyBuilder$x(luvio, params) {
2809
2810
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
2810
2811
  }
2811
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
2812
- getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
2812
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
2813
+ getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
2813
2814
  }
2814
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
2815
+ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
2815
2816
  const { body } = response;
2816
- const key = keyBuilder$t(luvio, resourceParams);
2817
+ const key = keyBuilder$x(luvio, resourceParams);
2817
2818
  luvio.storeIngest(key, ingest$b, body);
2818
2819
  const snapshot = luvio.storeLookup({
2819
2820
  recordId: key,
2820
- node: select$u(),
2821
+ node: select$w(),
2821
2822
  variables: {},
2822
2823
  }, snapshotRefresh);
2823
2824
  if (process.env.NODE_ENV !== 'production') {
@@ -2828,8 +2829,8 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
2828
2829
  deepFreeze(snapshot.data);
2829
2830
  return snapshot;
2830
2831
  }
2831
- function ingestError$b(luvio, params, error, snapshotRefresh) {
2832
- const key = keyBuilder$t(luvio, params);
2832
+ function ingestError$d(luvio, params, error, snapshotRefresh) {
2833
+ const key = keyBuilder$x(luvio, params);
2833
2834
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2834
2835
  const storeMetadataParams = {
2835
2836
  ttl: TTL$2,
@@ -2840,10 +2841,10 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
2840
2841
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2841
2842
  return errorSnapshot;
2842
2843
  }
2843
- function createResourceRequest$i(config) {
2844
+ function createResourceRequest$k(config) {
2844
2845
  const headers = {};
2845
2846
  return {
2846
- baseUri: '/services/data/v64.0',
2847
+ baseUri: '/services/data/v65.0',
2847
2848
  basePath: '/connect/slackbridge/related_threads/entity/' + config.urlParams.entityId + '',
2848
2849
  method: 'get',
2849
2850
  body: null,
@@ -2854,90 +2855,90 @@ function createResourceRequest$i(config) {
2854
2855
  };
2855
2856
  }
2856
2857
 
2857
- const adapterName$i = 'getRelatedThreads';
2858
+ const adapterName$k = 'getRelatedThreads';
2858
2859
  const getRelatedThreads_ConfigPropertyMetadata = [
2859
2860
  generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
2860
2861
  ];
2861
- const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getRelatedThreads_ConfigPropertyMetadata);
2862
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$m(getRelatedThreads_ConfigPropertyMetadata);
2863
- function keyBuilder$s(luvio, config) {
2864
- const resourceParams = createResourceParams$i(config);
2865
- return keyBuilder$t(luvio, resourceParams);
2862
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getRelatedThreads_ConfigPropertyMetadata);
2863
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$o(getRelatedThreads_ConfigPropertyMetadata);
2864
+ function keyBuilder$w(luvio, config) {
2865
+ const resourceParams = createResourceParams$k(config);
2866
+ return keyBuilder$x(luvio, resourceParams);
2866
2867
  }
2867
- function typeCheckConfig$i(untrustedConfig) {
2868
+ function typeCheckConfig$k(untrustedConfig) {
2868
2869
  const config = {};
2869
- typeCheckConfig$m(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
2870
+ typeCheckConfig$o(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
2870
2871
  return config;
2871
2872
  }
2872
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
2873
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
2873
2874
  if (!untrustedIsObject(untrustedConfig)) {
2874
2875
  return null;
2875
2876
  }
2876
2877
  if (process.env.NODE_ENV !== 'production') {
2877
2878
  validateConfig(untrustedConfig, configPropertyNames);
2878
2879
  }
2879
- const config = typeCheckConfig$i(untrustedConfig);
2880
+ const config = typeCheckConfig$k(untrustedConfig);
2880
2881
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2881
2882
  return null;
2882
2883
  }
2883
2884
  return config;
2884
2885
  }
2885
- function adapterFragment$b(luvio, config) {
2886
- createResourceParams$i(config);
2887
- return select$u();
2886
+ function adapterFragment$d(luvio, config) {
2887
+ createResourceParams$k(config);
2888
+ return select$w();
2888
2889
  }
2889
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
2890
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
2890
+ function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
2891
+ const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
2891
2892
  config,
2892
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2893
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
2893
2894
  });
2894
2895
  return luvio.storeBroadcast().then(() => snapshot);
2895
2896
  }
2896
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
2897
- const snapshot = ingestError$b(luvio, resourceParams, response, {
2897
+ function onFetchResponseError$d(luvio, config, resourceParams, response) {
2898
+ const snapshot = ingestError$d(luvio, resourceParams, response, {
2898
2899
  config,
2899
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2900
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
2900
2901
  });
2901
2902
  return luvio.storeBroadcast().then(() => snapshot);
2902
2903
  }
2903
- function buildNetworkSnapshot$i(luvio, config, options) {
2904
- const resourceParams = createResourceParams$i(config);
2905
- const request = createResourceRequest$i(resourceParams);
2904
+ function buildNetworkSnapshot$k(luvio, config, options) {
2905
+ const resourceParams = createResourceParams$k(config);
2906
+ const request = createResourceRequest$k(resourceParams);
2906
2907
  return luvio.dispatchResourceRequest(request, options)
2907
2908
  .then((response) => {
2908
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
2909
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
2909
2910
  const cache = new StoreKeyMap();
2910
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
2911
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
2911
2912
  return cache;
2912
2913
  });
2913
2914
  }, (response) => {
2914
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
2915
+ return luvio.handleErrorResponse(() => onFetchResponseError$d(luvio, config, resourceParams, response));
2915
2916
  });
2916
2917
  }
2917
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
2918
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
2918
+ function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
2919
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
2919
2920
  }
2920
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
2921
+ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
2921
2922
  const { luvio, config } = context;
2922
2923
  const selector = {
2923
- recordId: keyBuilder$s(luvio, config),
2924
- node: adapterFragment$b(luvio, config),
2924
+ recordId: keyBuilder$w(luvio, config),
2925
+ node: adapterFragment$d(luvio, config),
2925
2926
  variables: {},
2926
2927
  };
2927
2928
  const cacheSnapshot = storeLookup(selector, {
2928
2929
  config,
2929
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2930
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
2930
2931
  });
2931
2932
  return cacheSnapshot;
2932
2933
  }
2933
2934
  const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
2934
- const config = validateAdapterConfig$i(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
2935
+ const config = validateAdapterConfig$k(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
2935
2936
  // Invalid or incomplete config
2936
2937
  if (config === null) {
2937
2938
  return null;
2938
2939
  }
2939
2940
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2940
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
2941
+ buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
2941
2942
  };
2942
2943
 
2943
2944
  const VERSION$b = "6a2ede1150bccf991e3f6ea7b55a9964";
@@ -3027,7 +3028,7 @@ function validate$b(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
3027
3028
  })();
3028
3029
  return v_error === undefined ? null : v_error;
3029
3030
  }
3030
- const select$t = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3031
+ const select$v = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3031
3032
  return {
3032
3033
  kind: 'Fragment',
3033
3034
  version: VERSION$b,
@@ -3216,20 +3217,20 @@ function validate$a(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
3216
3217
  return v_error === undefined ? null : v_error;
3217
3218
  }
3218
3219
  const RepresentationType$a = 'SlackBridgeEmojiOutputRepresentation';
3219
- function keyBuilder$r(luvio, config) {
3220
+ function keyBuilder$v(luvio, config) {
3220
3221
  return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
3221
3222
  }
3222
3223
  function keyBuilderFromType$5(luvio, object) {
3223
3224
  const keyParams = {
3224
3225
  name: object.name
3225
3226
  };
3226
- return keyBuilder$r(luvio, keyParams);
3227
+ return keyBuilder$v(luvio, keyParams);
3227
3228
  }
3228
3229
  function normalize$a(input, existing, path, luvio, store, timestamp) {
3229
3230
  return input;
3230
3231
  }
3231
- const select$s = function SlackBridgeEmojiOutputRepresentationSelect() {
3232
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$t();
3232
+ const select$u = function SlackBridgeEmojiOutputRepresentationSelect() {
3233
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$v();
3233
3234
  return {
3234
3235
  kind: 'Fragment',
3235
3236
  version: VERSION$a,
@@ -3322,8 +3323,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3322
3323
  });
3323
3324
  }
3324
3325
 
3325
- const TTL = 600000;
3326
- const VERSION$9 = "ffc32ae0451b10824fba0c96aa0d2115";
3326
+ const TTL = 900000;
3327
+ const VERSION$9 = "2871ae193ac5e60b5cc0d6c4111e8615";
3327
3328
  function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3328
3329
  const v_error = (() => {
3329
3330
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3695,8 +3696,29 @@ function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3695
3696
  }
3696
3697
  const obj_teamId = obj.teamId;
3697
3698
  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 + '")');
3699
+ let obj_teamId_union0 = null;
3700
+ const obj_teamId_union0_error = (() => {
3701
+ if (typeof obj_teamId !== 'string') {
3702
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
3703
+ }
3704
+ })();
3705
+ if (obj_teamId_union0_error != null) {
3706
+ obj_teamId_union0 = obj_teamId_union0_error.message;
3707
+ }
3708
+ let obj_teamId_union1 = null;
3709
+ const obj_teamId_union1_error = (() => {
3710
+ if (obj_teamId !== null) {
3711
+ return new TypeError('Expected "null" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
3712
+ }
3713
+ })();
3714
+ if (obj_teamId_union1_error != null) {
3715
+ obj_teamId_union1 = obj_teamId_union1_error.message;
3716
+ }
3717
+ if (obj_teamId_union0 && obj_teamId_union1) {
3718
+ let message = 'Object doesn\'t match union (at "' + path_teamId + '")';
3719
+ message += '\n' + obj_teamId_union0.split('\n').map((line) => '\t' + line).join('\n');
3720
+ message += '\n' + obj_teamId_union1.split('\n').map((line) => '\t' + line).join('\n');
3721
+ return new TypeError(message);
3700
3722
  }
3701
3723
  const obj_title = obj.title;
3702
3724
  const path_title = path + '.title';
@@ -3728,15 +3750,14 @@ function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3728
3750
  return v_error === undefined ? null : v_error;
3729
3751
  }
3730
3752
  const RepresentationType$9 = 'SlackBridgeUserInfoOutputRepresentation';
3731
- function keyBuilder$q(luvio, config) {
3732
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.teamId + ':' + config.slackUserId;
3753
+ function keyBuilder$u(luvio, config) {
3754
+ return keyPrefix + '::' + RepresentationType$9 + ':' + config.slackUserId;
3733
3755
  }
3734
3756
  function keyBuilderFromType$4(luvio, object) {
3735
3757
  const keyParams = {
3736
- teamId: object.teamId,
3737
3758
  slackUserId: object.slackUserId
3738
3759
  };
3739
- return keyBuilder$q(luvio, keyParams);
3760
+ return keyBuilder$u(luvio, keyParams);
3740
3761
  }
3741
3762
  function normalize$9(input, existing, path, luvio, store, timestamp) {
3742
3763
  const input_statusEmoji = input.statusEmoji;
@@ -3755,7 +3776,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
3755
3776
  }
3756
3777
  return input;
3757
3778
  }
3758
- const select$r = function SlackBridgeUserInfoOutputRepresentationSelect() {
3779
+ const select$t = function SlackBridgeUserInfoOutputRepresentationSelect() {
3759
3780
  return {
3760
3781
  kind: 'Fragment',
3761
3782
  version: VERSION$9,
@@ -3828,7 +3849,7 @@ const select$r = function SlackBridgeUserInfoOutputRepresentationSelect() {
3828
3849
  name: 'statusEmoji',
3829
3850
  kind: 'Link',
3830
3851
  nullable: true,
3831
- fragment: select$s()
3852
+ fragment: select$u()
3832
3853
  },
3833
3854
  {
3834
3855
  name: 'statusMessage',
@@ -3874,11 +3895,6 @@ function equals$9(existing, incoming) {
3874
3895
  if (!(existing_slackUserId === incoming_slackUserId)) {
3875
3896
  return false;
3876
3897
  }
3877
- const existing_teamId = existing.teamId;
3878
- const incoming_teamId = incoming.teamId;
3879
- if (!(existing_teamId === incoming_teamId)) {
3880
- return false;
3881
- }
3882
3898
  const existing_displayName = existing.displayName;
3883
3899
  const incoming_displayName = incoming.displayName;
3884
3900
  if (!(existing_displayName === incoming_displayName)) {
@@ -3965,6 +3981,11 @@ function equals$9(existing, incoming) {
3965
3981
  if (!(existing_statusMessage === incoming_statusMessage)) {
3966
3982
  return false;
3967
3983
  }
3984
+ const existing_teamId = existing.teamId;
3985
+ const incoming_teamId = incoming.teamId;
3986
+ if (!(existing_teamId === incoming_teamId)) {
3987
+ return false;
3988
+ }
3968
3989
  const existing_title = existing.title;
3969
3990
  const incoming_title = incoming.title;
3970
3991
  if (!(existing_title === incoming_title)) {
@@ -4069,7 +4090,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4069
4090
  }
4070
4091
  return input;
4071
4092
  }
4072
- const select$q = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4093
+ const select$s = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4073
4094
  return {
4074
4095
  kind: 'Fragment',
4075
4096
  version: VERSION$8,
@@ -4083,7 +4104,7 @@ const select$q = function SlackBridgeConversationHistoryOutputRepresentationSele
4083
4104
  name: 'messages',
4084
4105
  kind: 'Link',
4085
4106
  plural: true,
4086
- fragment: select$w()
4107
+ fragment: select$y()
4087
4108
  },
4088
4109
  {
4089
4110
  name: 'nextCursor',
@@ -4141,7 +4162,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4141
4162
  }
4142
4163
  }
4143
4164
 
4144
- const VERSION$7 = "7ec6cbca3e2948ff5ef00e4034f365d5";
4165
+ const VERSION$7 = "1119f2c416d047eefd8303c5a2d590ae";
4145
4166
  function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4146
4167
  const v_error = (() => {
4147
4168
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4209,6 +4230,30 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4209
4230
  message += '\n' + obj_conversationInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
4210
4231
  return new TypeError(message);
4211
4232
  }
4233
+ const obj_conversationInfos = obj.conversationInfos;
4234
+ const path_conversationInfos = path + '.conversationInfos';
4235
+ if (!ArrayIsArray(obj_conversationInfos)) {
4236
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
4237
+ }
4238
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
4239
+ const obj_conversationInfos_item = obj_conversationInfos[i];
4240
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
4241
+ if (typeof obj_conversationInfos_item !== 'object') {
4242
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
4243
+ }
4244
+ }
4245
+ const obj_emojis = obj.emojis;
4246
+ const path_emojis = path + '.emojis';
4247
+ if (!ArrayIsArray(obj_emojis)) {
4248
+ return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
4249
+ }
4250
+ for (let i = 0; i < obj_emojis.length; i++) {
4251
+ const obj_emojis_item = obj_emojis[i];
4252
+ const path_emojis_item = path_emojis + '[' + i + ']';
4253
+ if (typeof obj_emojis_item !== 'object') {
4254
+ return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
4255
+ }
4256
+ }
4212
4257
  const obj_history = obj.history;
4213
4258
  const path_history = path + '.history';
4214
4259
  if (typeof obj_history !== 'object') {
@@ -4316,6 +4361,38 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
4316
4361
  ttl: path.ttl
4317
4362
  }, luvio, store, timestamp);
4318
4363
  }
4364
+ const input_conversationInfos = input.conversationInfos;
4365
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
4366
+ for (let i = 0; i < input_conversationInfos.length; i++) {
4367
+ const input_conversationInfos_item = input_conversationInfos[i];
4368
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
4369
+ input_conversationInfos[i] = ingest$e(input_conversationInfos_item, {
4370
+ fullPath: input_conversationInfos_item_id,
4371
+ propertyName: i,
4372
+ parent: {
4373
+ data: input,
4374
+ key: path.fullPath,
4375
+ existing: existing,
4376
+ },
4377
+ ttl: path.ttl
4378
+ }, luvio, store, timestamp);
4379
+ }
4380
+ const input_emojis = input.emojis;
4381
+ const input_emojis_id = path.fullPath + '__emojis';
4382
+ for (let i = 0; i < input_emojis.length; i++) {
4383
+ const input_emojis_item = input_emojis[i];
4384
+ let input_emojis_item_id = input_emojis_id + '__' + i;
4385
+ input_emojis[i] = ingest$a(input_emojis_item, {
4386
+ fullPath: input_emojis_item_id,
4387
+ propertyName: i,
4388
+ parent: {
4389
+ data: input,
4390
+ key: path.fullPath,
4391
+ existing: existing,
4392
+ },
4393
+ ttl: path.ttl
4394
+ }, luvio, store, timestamp);
4395
+ }
4319
4396
  const input_history = input.history;
4320
4397
  const input_history_id = path.fullPath + '__history';
4321
4398
  input.history = ingest$8(input_history, {
@@ -4346,7 +4423,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
4346
4423
  }
4347
4424
  return input;
4348
4425
  }
4349
- const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
4426
+ const select$r = function SlackBridgeConversationOutputRepresentationSelect() {
4350
4427
  return {
4351
4428
  kind: 'Fragment',
4352
4429
  version: VERSION$7,
@@ -4364,18 +4441,30 @@ const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
4364
4441
  name: 'contextUserInfo',
4365
4442
  kind: 'Link',
4366
4443
  nullable: true,
4367
- fragment: select$r()
4444
+ fragment: select$t()
4368
4445
  },
4369
4446
  {
4370
4447
  name: 'conversationInfo',
4371
4448
  kind: 'Link',
4372
4449
  nullable: true,
4373
- fragment: select$B()
4450
+ fragment: select$D()
4451
+ },
4452
+ {
4453
+ name: 'conversationInfos',
4454
+ kind: 'Link',
4455
+ plural: true,
4456
+ fragment: select$D()
4457
+ },
4458
+ {
4459
+ name: 'emojis',
4460
+ kind: 'Link',
4461
+ plural: true,
4462
+ fragment: select$u()
4374
4463
  },
4375
4464
  {
4376
4465
  name: 'history',
4377
4466
  kind: 'Link',
4378
- fragment: select$q()
4467
+ fragment: select$s()
4379
4468
  },
4380
4469
  {
4381
4470
  name: 'teamId',
@@ -4389,7 +4478,7 @@ const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
4389
4478
  name: 'userInfos',
4390
4479
  kind: 'Link',
4391
4480
  plural: true,
4392
- fragment: select$r()
4481
+ fragment: select$t()
4393
4482
  },
4394
4483
  {
4395
4484
  name: 'websocketUrl',
@@ -4434,6 +4523,26 @@ function equals$7(existing, incoming) {
4434
4523
  existing_conversationInfo.__ref === incoming_conversationInfo.__ref))) {
4435
4524
  return false;
4436
4525
  }
4526
+ const existing_conversationInfos = existing.conversationInfos;
4527
+ const incoming_conversationInfos = incoming.conversationInfos;
4528
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
4529
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
4530
+ return false;
4531
+ }
4532
+ });
4533
+ if (equals_conversationInfos_items === false) {
4534
+ return false;
4535
+ }
4536
+ const existing_emojis = existing.emojis;
4537
+ const incoming_emojis = incoming.emojis;
4538
+ const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
4539
+ if (!(existing_emojis_item.__ref === incoming_emojis_item.__ref)) {
4540
+ return false;
4541
+ }
4542
+ });
4543
+ if (equals_emojis_items === false) {
4544
+ return false;
4545
+ }
4437
4546
  const existing_history = existing.history;
4438
4547
  const incoming_history = incoming.history;
4439
4548
  if (!(existing_history.__ref === incoming_history.__ref)) {
@@ -4487,6 +4596,14 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4487
4596
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
4488
4597
  getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
4489
4598
  }
4599
+ const input_conversationInfos_length = input.conversationInfos.length;
4600
+ for (let i = 0; i < input_conversationInfos_length; i++) {
4601
+ getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfos[i]);
4602
+ }
4603
+ const input_emojis_length = input.emojis.length;
4604
+ for (let i = 0; i < input_emojis_length; i++) {
4605
+ getTypeCacheKeys$a(rootKeySet, luvio, input.emojis[i]);
4606
+ }
4490
4607
  getTypeCacheKeys$8(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
4491
4608
  const input_userInfos_length = input.userInfos.length;
4492
4609
  for (let i = 0; i < input_userInfos_length; i++) {
@@ -4494,22 +4611,22 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4494
4611
  }
4495
4612
  }
4496
4613
 
4497
- function select$o(luvio, params) {
4498
- return select$p();
4614
+ function select$q(luvio, params) {
4615
+ return select$r();
4499
4616
  }
4500
- function keyBuilder$p(luvio, params) {
4617
+ function keyBuilder$t(luvio, params) {
4501
4618
  return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
4502
4619
  }
4503
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4504
- getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$p(luvio, resourceParams));
4620
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4621
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
4505
4622
  }
4506
- function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4623
+ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
4507
4624
  const { body } = response;
4508
- const key = keyBuilder$p(luvio, resourceParams);
4625
+ const key = keyBuilder$t(luvio, resourceParams);
4509
4626
  luvio.storeIngest(key, ingest$7, body);
4510
4627
  const snapshot = luvio.storeLookup({
4511
4628
  recordId: key,
4512
- node: select$o(),
4629
+ node: select$q(),
4513
4630
  variables: {},
4514
4631
  }, snapshotRefresh);
4515
4632
  if (process.env.NODE_ENV !== 'production') {
@@ -4520,16 +4637,16 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4520
4637
  deepFreeze(snapshot.data);
4521
4638
  return snapshot;
4522
4639
  }
4523
- function ingestError$a(luvio, params, error, snapshotRefresh) {
4524
- const key = keyBuilder$p(luvio, params);
4640
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
4641
+ const key = keyBuilder$t(luvio, params);
4525
4642
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4526
4643
  luvio.storeIngestError(key, errorSnapshot);
4527
4644
  return errorSnapshot;
4528
4645
  }
4529
- function createResourceRequest$h(config) {
4646
+ function createResourceRequest$j(config) {
4530
4647
  const headers = {};
4531
4648
  return {
4532
- baseUri: '/services/data/v64.0',
4649
+ baseUri: '/services/data/v65.0',
4533
4650
  basePath: '/connect/slackbridge/conversation/messages',
4534
4651
  method: 'get',
4535
4652
  body: null,
@@ -4540,7 +4657,7 @@ function createResourceRequest$h(config) {
4540
4657
  };
4541
4658
  }
4542
4659
 
4543
- const adapterName$h = 'getSlackConversation';
4660
+ const adapterName$j = 'getSlackConversation';
4544
4661
  const getSlackConversation_ConfigPropertyMetadata = [
4545
4662
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
4546
4663
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -4552,49 +4669,494 @@ const getSlackConversation_ConfigPropertyMetadata = [
4552
4669
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
4553
4670
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
4554
4671
  ];
4555
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackConversation_ConfigPropertyMetadata);
4556
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$m(getSlackConversation_ConfigPropertyMetadata);
4557
- function keyBuilder$o(luvio, config) {
4558
- const resourceParams = createResourceParams$h(config);
4559
- return keyBuilder$p(luvio, resourceParams);
4672
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSlackConversation_ConfigPropertyMetadata);
4673
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$o(getSlackConversation_ConfigPropertyMetadata);
4674
+ function keyBuilder$s(luvio, config) {
4675
+ const resourceParams = createResourceParams$j(config);
4676
+ return keyBuilder$t(luvio, resourceParams);
4560
4677
  }
4561
- function typeCheckConfig$h(untrustedConfig) {
4678
+ function typeCheckConfig$j(untrustedConfig) {
4562
4679
  const config = {};
4563
- typeCheckConfig$m(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
4680
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
4564
4681
  return config;
4565
4682
  }
4566
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4683
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4567
4684
  if (!untrustedIsObject(untrustedConfig)) {
4568
4685
  return null;
4569
4686
  }
4570
4687
  if (process.env.NODE_ENV !== 'production') {
4571
4688
  validateConfig(untrustedConfig, configPropertyNames);
4572
4689
  }
4573
- const config = typeCheckConfig$h(untrustedConfig);
4690
+ const config = typeCheckConfig$j(untrustedConfig);
4574
4691
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4575
4692
  return null;
4576
4693
  }
4577
4694
  return config;
4578
4695
  }
4579
- function adapterFragment$a(luvio, config) {
4580
- createResourceParams$h(config);
4581
- return select$o();
4696
+ function adapterFragment$c(luvio, config) {
4697
+ createResourceParams$j(config);
4698
+ return select$q();
4582
4699
  }
4583
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4584
- const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
4700
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
4701
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
4585
4702
  config,
4586
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4703
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4587
4704
  });
4588
4705
  return luvio.storeBroadcast().then(() => snapshot);
4589
4706
  }
4590
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
4591
- const snapshot = ingestError$a(luvio, resourceParams, response, {
4707
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
4708
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
4592
4709
  config,
4593
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4710
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4594
4711
  });
4595
4712
  return luvio.storeBroadcast().then(() => snapshot);
4596
4713
  }
4597
- function buildNetworkSnapshot$h(luvio, config, options) {
4714
+ function buildNetworkSnapshot$j(luvio, config, options) {
4715
+ const resourceParams = createResourceParams$j(config);
4716
+ const request = createResourceRequest$j(resourceParams);
4717
+ return luvio.dispatchResourceRequest(request, options)
4718
+ .then((response) => {
4719
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
4720
+ const cache = new StoreKeyMap();
4721
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4722
+ return cache;
4723
+ });
4724
+ }, (response) => {
4725
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
4726
+ });
4727
+ }
4728
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
4729
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
4730
+ }
4731
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
4732
+ const { luvio, config } = context;
4733
+ const selector = {
4734
+ recordId: keyBuilder$s(luvio, config),
4735
+ node: adapterFragment$c(luvio, config),
4736
+ variables: {},
4737
+ };
4738
+ const cacheSnapshot = storeLookup(selector, {
4739
+ config,
4740
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
4741
+ });
4742
+ return cacheSnapshot;
4743
+ }
4744
+ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
4745
+ const config = validateAdapterConfig$j(untrustedConfig, getSlackConversation_ConfigPropertyNames);
4746
+ // Invalid or incomplete config
4747
+ if (config === null) {
4748
+ return null;
4749
+ }
4750
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4751
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
4752
+ };
4753
+
4754
+ function select$p(luvio, params) {
4755
+ return select$D();
4756
+ }
4757
+ function keyBuilder$r(luvio, params) {
4758
+ return keyBuilder$z(luvio, {
4759
+ id: params.urlParams.channelId
4760
+ });
4761
+ }
4762
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4763
+ getTypeCacheKeys$e(storeKeyMap, luvio, response);
4764
+ }
4765
+ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4766
+ const { body } = response;
4767
+ const key = keyBuilder$r(luvio, resourceParams);
4768
+ luvio.storeIngest(key, ingest$e, body);
4769
+ const snapshot = luvio.storeLookup({
4770
+ recordId: key,
4771
+ node: select$p(),
4772
+ variables: {},
4773
+ }, snapshotRefresh);
4774
+ if (process.env.NODE_ENV !== 'production') {
4775
+ if (snapshot.state !== 'Fulfilled') {
4776
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4777
+ }
4778
+ }
4779
+ deepFreeze(snapshot.data);
4780
+ return snapshot;
4781
+ }
4782
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
4783
+ const key = keyBuilder$r(luvio, params);
4784
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4785
+ const storeMetadataParams = {
4786
+ ttl: TTL$3,
4787
+ namespace: keyPrefix,
4788
+ version: VERSION$i,
4789
+ representationName: RepresentationType$e
4790
+ };
4791
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4792
+ return errorSnapshot;
4793
+ }
4794
+ function createResourceRequest$i(config) {
4795
+ const headers = {};
4796
+ return {
4797
+ baseUri: '/services/data/v65.0',
4798
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels/' + config.urlParams.channelId + '',
4799
+ method: 'get',
4800
+ body: null,
4801
+ urlParams: config.urlParams,
4802
+ queryParams: {},
4803
+ headers,
4804
+ priority: 'normal',
4805
+ };
4806
+ }
4807
+ function createResourceRequestFromRepresentation$6(representation) {
4808
+ const config = {
4809
+ urlParams: {},
4810
+ };
4811
+ config.urlParams.channelId = representation.id;
4812
+ return createResourceRequest$i(config);
4813
+ }
4814
+
4815
+ const adapterName$i = 'getSlackConversationInfo';
4816
+ const getSlackConversationInfo_ConfigPropertyMetadata = [
4817
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4818
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4819
+ ];
4820
+ const getSlackConversationInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackConversationInfo_ConfigPropertyMetadata);
4821
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$o(getSlackConversationInfo_ConfigPropertyMetadata);
4822
+ function keyBuilder$q(luvio, config) {
4823
+ const resourceParams = createResourceParams$i(config);
4824
+ return keyBuilder$r(luvio, resourceParams);
4825
+ }
4826
+ function typeCheckConfig$i(untrustedConfig) {
4827
+ const config = {};
4828
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationInfo_ConfigPropertyMetadata);
4829
+ return config;
4830
+ }
4831
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4832
+ if (!untrustedIsObject(untrustedConfig)) {
4833
+ return null;
4834
+ }
4835
+ if (process.env.NODE_ENV !== 'production') {
4836
+ validateConfig(untrustedConfig, configPropertyNames);
4837
+ }
4838
+ const config = typeCheckConfig$i(untrustedConfig);
4839
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4840
+ return null;
4841
+ }
4842
+ return config;
4843
+ }
4844
+ function adapterFragment$b(luvio, config) {
4845
+ createResourceParams$i(config);
4846
+ return select$p();
4847
+ }
4848
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4849
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
4850
+ config,
4851
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4852
+ });
4853
+ return luvio.storeBroadcast().then(() => snapshot);
4854
+ }
4855
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
4856
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
4857
+ config,
4858
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4859
+ });
4860
+ return luvio.storeBroadcast().then(() => snapshot);
4861
+ }
4862
+ function buildNetworkSnapshot$i(luvio, config, options) {
4863
+ const resourceParams = createResourceParams$i(config);
4864
+ const request = createResourceRequest$i(resourceParams);
4865
+ return luvio.dispatchResourceRequest(request, options)
4866
+ .then((response) => {
4867
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4868
+ const cache = new StoreKeyMap();
4869
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4870
+ return cache;
4871
+ });
4872
+ }, (response) => {
4873
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4874
+ });
4875
+ }
4876
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4877
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4878
+ }
4879
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4880
+ const { luvio, config } = context;
4881
+ const selector = {
4882
+ recordId: keyBuilder$q(luvio, config),
4883
+ node: adapterFragment$b(luvio, config),
4884
+ variables: {},
4885
+ };
4886
+ const cacheSnapshot = storeLookup(selector, {
4887
+ config,
4888
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4889
+ });
4890
+ return cacheSnapshot;
4891
+ }
4892
+ const getSlackConversationInfoAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfo(untrustedConfig, requestContext) {
4893
+ const config = validateAdapterConfig$i(untrustedConfig, getSlackConversationInfo_ConfigPropertyNames);
4894
+ // Invalid or incomplete config
4895
+ if (config === null) {
4896
+ return null;
4897
+ }
4898
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4899
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4900
+ };
4901
+ const notifyChangeFactory$6 = (luvio, options) => {
4902
+ return function getConnectSlackbridgeTeamChannelsByChannelIdAndTeamIdNotifyChange(configs) {
4903
+ const keys = configs.map(c => keyBuilder$z(luvio, c));
4904
+ luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4905
+ for (let i = 0, len = entries.length; i < len; i++) {
4906
+ const { key, record: val } = entries[i];
4907
+ const refreshRequest = createResourceRequestFromRepresentation$6(val);
4908
+ luvio.dispatchResourceRequest(refreshRequest, options)
4909
+ .then((response) => {
4910
+ return luvio.handleSuccessResponse(() => {
4911
+ const { body } = response;
4912
+ luvio.storeIngest(key, ingest$e, body);
4913
+ return luvio.storeBroadcast();
4914
+ }, () => {
4915
+ const cache = new StoreKeyMap();
4916
+ getTypeCacheKeys$e(cache, luvio, response.body);
4917
+ return cache;
4918
+ });
4919
+ }, (error) => {
4920
+ return luvio.handleErrorResponse(() => {
4921
+ const errorSnapshot = luvio.errorSnapshot(error);
4922
+ luvio.storeIngestError(key, errorSnapshot, {
4923
+ ttl: TTL$3,
4924
+ namespace: keyPrefix,
4925
+ version: VERSION$i,
4926
+ representationName: RepresentationType$e
4927
+ });
4928
+ return luvio.storeBroadcast().then(() => errorSnapshot);
4929
+ });
4930
+ });
4931
+ }
4932
+ });
4933
+ };
4934
+ };
4935
+
4936
+ const VERSION$6 = "0de597a47ca8ecad2cfb7fd9c8f73920";
4937
+ function validate$6(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
4938
+ const v_error = (() => {
4939
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4940
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4941
+ }
4942
+ const obj_conversationInfos = obj.conversationInfos;
4943
+ const path_conversationInfos = path + '.conversationInfos';
4944
+ if (!ArrayIsArray(obj_conversationInfos)) {
4945
+ return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
4946
+ }
4947
+ for (let i = 0; i < obj_conversationInfos.length; i++) {
4948
+ const obj_conversationInfos_item = obj_conversationInfos[i];
4949
+ const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
4950
+ if (typeof obj_conversationInfos_item !== 'object') {
4951
+ return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
4952
+ }
4953
+ }
4954
+ const obj_searchString = obj.searchString;
4955
+ const path_searchString = path + '.searchString';
4956
+ let obj_searchString_union0 = null;
4957
+ const obj_searchString_union0_error = (() => {
4958
+ if (typeof obj_searchString !== 'string') {
4959
+ return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
4960
+ }
4961
+ })();
4962
+ if (obj_searchString_union0_error != null) {
4963
+ obj_searchString_union0 = obj_searchString_union0_error.message;
4964
+ }
4965
+ let obj_searchString_union1 = null;
4966
+ const obj_searchString_union1_error = (() => {
4967
+ if (obj_searchString !== null) {
4968
+ return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
4969
+ }
4970
+ })();
4971
+ if (obj_searchString_union1_error != null) {
4972
+ obj_searchString_union1 = obj_searchString_union1_error.message;
4973
+ }
4974
+ if (obj_searchString_union0 && obj_searchString_union1) {
4975
+ let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
4976
+ message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
4977
+ message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
4978
+ return new TypeError(message);
4979
+ }
4980
+ })();
4981
+ return v_error === undefined ? null : v_error;
4982
+ }
4983
+ const RepresentationType$6 = 'SlackBridgeConversationInfosOutputRepresentation';
4984
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
4985
+ const input_conversationInfos = input.conversationInfos;
4986
+ const input_conversationInfos_id = path.fullPath + '__conversationInfos';
4987
+ for (let i = 0; i < input_conversationInfos.length; i++) {
4988
+ const input_conversationInfos_item = input_conversationInfos[i];
4989
+ let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
4990
+ input_conversationInfos[i] = ingest$e(input_conversationInfos_item, {
4991
+ fullPath: input_conversationInfos_item_id,
4992
+ propertyName: i,
4993
+ parent: {
4994
+ data: input,
4995
+ key: path.fullPath,
4996
+ existing: existing,
4997
+ },
4998
+ ttl: path.ttl
4999
+ }, luvio, store, timestamp);
5000
+ }
5001
+ return input;
5002
+ }
5003
+ const select$o = function SlackBridgeConversationInfosOutputRepresentationSelect() {
5004
+ return {
5005
+ kind: 'Fragment',
5006
+ version: VERSION$6,
5007
+ private: [],
5008
+ selections: [
5009
+ {
5010
+ name: 'conversationInfos',
5011
+ kind: 'Link',
5012
+ plural: true,
5013
+ fragment: select$D()
5014
+ },
5015
+ {
5016
+ name: 'searchString',
5017
+ kind: 'Scalar'
5018
+ }
5019
+ ]
5020
+ };
5021
+ };
5022
+ function equals$6(existing, incoming) {
5023
+ const existing_conversationInfos = existing.conversationInfos;
5024
+ const incoming_conversationInfos = incoming.conversationInfos;
5025
+ const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
5026
+ if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
5027
+ return false;
5028
+ }
5029
+ });
5030
+ if (equals_conversationInfos_items === false) {
5031
+ return false;
5032
+ }
5033
+ const existing_searchString = existing.searchString;
5034
+ const incoming_searchString = incoming.searchString;
5035
+ if (!(existing_searchString === incoming_searchString)) {
5036
+ return false;
5037
+ }
5038
+ return true;
5039
+ }
5040
+ const ingest$6 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5041
+ if (process.env.NODE_ENV !== 'production') {
5042
+ const validateError = validate$6(input);
5043
+ if (validateError !== null) {
5044
+ throw validateError;
5045
+ }
5046
+ }
5047
+ const key = path.fullPath;
5048
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5049
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
5050
+ return createLink(key);
5051
+ };
5052
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
5053
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5054
+ const rootKey = fullPathFactory();
5055
+ rootKeySet.set(rootKey, {
5056
+ namespace: keyPrefix,
5057
+ representationName: RepresentationType$6,
5058
+ mergeable: false
5059
+ });
5060
+ const input_conversationInfos_length = input.conversationInfos.length;
5061
+ for (let i = 0; i < input_conversationInfos_length; i++) {
5062
+ getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfos[i]);
5063
+ }
5064
+ }
5065
+
5066
+ function select$n(luvio, params) {
5067
+ return select$o();
5068
+ }
5069
+ function keyBuilder$p(luvio, params) {
5070
+ return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'channelIds:' + params.queryParams.channelIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
5071
+ }
5072
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
5073
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$p(luvio, resourceParams));
5074
+ }
5075
+ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
5076
+ const { body } = response;
5077
+ const key = keyBuilder$p(luvio, resourceParams);
5078
+ luvio.storeIngest(key, ingest$6, body);
5079
+ const snapshot = luvio.storeLookup({
5080
+ recordId: key,
5081
+ node: select$n(),
5082
+ variables: {},
5083
+ }, snapshotRefresh);
5084
+ if (process.env.NODE_ENV !== 'production') {
5085
+ if (snapshot.state !== 'Fulfilled') {
5086
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5087
+ }
5088
+ }
5089
+ deepFreeze(snapshot.data);
5090
+ return snapshot;
5091
+ }
5092
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
5093
+ const key = keyBuilder$p(luvio, params);
5094
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5095
+ luvio.storeIngestError(key, errorSnapshot);
5096
+ return errorSnapshot;
5097
+ }
5098
+ function createResourceRequest$h(config) {
5099
+ const headers = {};
5100
+ return {
5101
+ baseUri: '/services/data/v65.0',
5102
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channels',
5103
+ method: 'get',
5104
+ body: null,
5105
+ urlParams: config.urlParams,
5106
+ queryParams: config.queryParams,
5107
+ headers,
5108
+ priority: 'normal',
5109
+ };
5110
+ }
5111
+
5112
+ const adapterName$h = 'getSlackConversationInfos';
5113
+ const getSlackConversationInfos_ConfigPropertyMetadata = [
5114
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5115
+ generateParamConfigMetadata('channelIds', true, 1 /* QueryParameter */, 0 /* String */, true),
5116
+ ];
5117
+ const getSlackConversationInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackConversationInfos_ConfigPropertyMetadata);
5118
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$o(getSlackConversationInfos_ConfigPropertyMetadata);
5119
+ function keyBuilder$o(luvio, config) {
5120
+ const resourceParams = createResourceParams$h(config);
5121
+ return keyBuilder$p(luvio, resourceParams);
5122
+ }
5123
+ function typeCheckConfig$h(untrustedConfig) {
5124
+ const config = {};
5125
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationInfos_ConfigPropertyMetadata);
5126
+ return config;
5127
+ }
5128
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
5129
+ if (!untrustedIsObject(untrustedConfig)) {
5130
+ return null;
5131
+ }
5132
+ if (process.env.NODE_ENV !== 'production') {
5133
+ validateConfig(untrustedConfig, configPropertyNames);
5134
+ }
5135
+ const config = typeCheckConfig$h(untrustedConfig);
5136
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5137
+ return null;
5138
+ }
5139
+ return config;
5140
+ }
5141
+ function adapterFragment$a(luvio, config) {
5142
+ createResourceParams$h(config);
5143
+ return select$n();
5144
+ }
5145
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
5146
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
5147
+ config,
5148
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
5149
+ });
5150
+ return luvio.storeBroadcast().then(() => snapshot);
5151
+ }
5152
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
5153
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
5154
+ config,
5155
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
5156
+ });
5157
+ return luvio.storeBroadcast().then(() => snapshot);
5158
+ }
5159
+ function buildNetworkSnapshot$h(luvio, config, options) {
4598
5160
  const resourceParams = createResourceParams$h(config);
4599
5161
  const request = createResourceRequest$h(resourceParams);
4600
5162
  return luvio.dispatchResourceRequest(request, options)
@@ -4609,7 +5171,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
4609
5171
  });
4610
5172
  }
4611
5173
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4612
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
5174
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4613
5175
  }
4614
5176
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4615
5177
  const { luvio, config } = context;
@@ -4624,8 +5186,8 @@ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4624
5186
  });
4625
5187
  return cacheSnapshot;
4626
5188
  }
4627
- const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
4628
- const config = validateAdapterConfig$h(untrustedConfig, getSlackConversation_ConfigPropertyNames);
5189
+ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge__getSlackConversationInfos(untrustedConfig, requestContext) {
5190
+ const config = validateAdapterConfig$h(untrustedConfig, getSlackConversationInfos_ConfigPropertyNames);
4629
5191
  // Invalid or incomplete config
4630
5192
  if (config === null) {
4631
5193
  return null;
@@ -4634,11 +5196,11 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
4634
5196
  buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4635
5197
  };
4636
5198
 
4637
- function select$n(luvio, params) {
4638
- return select$F();
5199
+ function select$m(luvio, params) {
5200
+ return select$H();
4639
5201
  }
4640
5202
  function keyBuilder$n(luvio, params) {
4641
- return keyBuilder$B(luvio, {
5203
+ return keyBuilder$F(luvio, {
4642
5204
  channelId: params.urlParams.channelId
4643
5205
  });
4644
5206
  }
@@ -4651,7 +5213,7 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4651
5213
  luvio.storeIngest(key, ingest$h, body);
4652
5214
  const snapshot = luvio.storeLookup({
4653
5215
  recordId: key,
4654
- node: select$n(),
5216
+ node: select$m(),
4655
5217
  variables: {},
4656
5218
  }, snapshotRefresh);
4657
5219
  if (process.env.NODE_ENV !== 'production') {
@@ -4671,7 +5233,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
4671
5233
  function createResourceRequest$g(config) {
4672
5234
  const headers = {};
4673
5235
  return {
4674
- baseUri: '/services/data/v64.0',
5236
+ baseUri: '/services/data/v65.0',
4675
5237
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members/' + config.urlParams.slackUserId + '',
4676
5238
  method: 'get',
4677
5239
  body: null,
@@ -4696,14 +5258,14 @@ const getSlackConversationMember_ConfigPropertyMetadata = [
4696
5258
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4697
5259
  ];
4698
5260
  const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMember_ConfigPropertyMetadata);
4699
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$m(getSlackConversationMember_ConfigPropertyMetadata);
5261
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$o(getSlackConversationMember_ConfigPropertyMetadata);
4700
5262
  function keyBuilder$m(luvio, config) {
4701
5263
  const resourceParams = createResourceParams$g(config);
4702
5264
  return keyBuilder$n(luvio, resourceParams);
4703
5265
  }
4704
5266
  function typeCheckConfig$g(untrustedConfig) {
4705
5267
  const config = {};
4706
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5268
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
4707
5269
  return config;
4708
5270
  }
4709
5271
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -4721,7 +5283,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
4721
5283
  }
4722
5284
  function adapterFragment$9(luvio, config) {
4723
5285
  createResourceParams$g(config);
4724
- return select$n();
5286
+ return select$m();
4725
5287
  }
4726
5288
  function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
4727
5289
  const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
@@ -4752,7 +5314,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
4752
5314
  });
4753
5315
  }
4754
5316
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4755
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5317
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4756
5318
  }
4757
5319
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4758
5320
  const { luvio, config } = context;
@@ -4778,7 +5340,7 @@ const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge
4778
5340
  };
4779
5341
  const notifyChangeFactory$5 = (luvio, options) => {
4780
5342
  return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamIdNotifyChange(configs) {
4781
- const keys = configs.map(c => keyBuilder$B(luvio, c));
5343
+ const keys = configs.map(c => keyBuilder$F(luvio, c));
4782
5344
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4783
5345
  for (let i = 0, len = entries.length; i < len; i++) {
4784
5346
  const { key, record: val } = entries[i];
@@ -4806,8 +5368,8 @@ const notifyChangeFactory$5 = (luvio, options) => {
4806
5368
  };
4807
5369
  };
4808
5370
 
4809
- const VERSION$6 = "30b0f3c5bd175b72d9b304944fd9d682";
4810
- function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
5371
+ const VERSION$5 = "30b0f3c5bd175b72d9b304944fd9d682";
5372
+ function validate$5(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4811
5373
  const v_error = (() => {
4812
5374
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4813
5375
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4858,9 +5420,9 @@ function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
4858
5420
  })();
4859
5421
  return v_error === undefined ? null : v_error;
4860
5422
  }
4861
- const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
5423
+ const RepresentationType$5 = 'SlackBridgeConversationMembersOutputRepresentation';
4862
5424
  function keyBuilder$l(luvio, config) {
4863
- return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
5425
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.channelId;
4864
5426
  }
4865
5427
  function keyBuilderFromType$3(luvio, object) {
4866
5428
  const keyParams = {
@@ -4868,13 +5430,13 @@ function keyBuilderFromType$3(luvio, object) {
4868
5430
  };
4869
5431
  return keyBuilder$l(luvio, keyParams);
4870
5432
  }
4871
- function normalize$6(input, existing, path, luvio, store, timestamp) {
5433
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
4872
5434
  return input;
4873
5435
  }
4874
- const select$m = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5436
+ const select$l = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4875
5437
  return {
4876
5438
  kind: 'Fragment',
4877
- version: VERSION$6,
5439
+ version: VERSION$5,
4878
5440
  private: [],
4879
5441
  selections: [
4880
5442
  {
@@ -4893,7 +5455,7 @@ const select$m = function SlackBridgeConversationMembersOutputRepresentationSele
4893
5455
  ]
4894
5456
  };
4895
5457
  };
4896
- function equals$6(existing, incoming) {
5458
+ function equals$5(existing, incoming) {
4897
5459
  const existing_channelId = existing.channelId;
4898
5460
  const incoming_channelId = incoming.channelId;
4899
5461
  if (!(existing_channelId === incoming_channelId)) {
@@ -4916,30 +5478,30 @@ function equals$6(existing, incoming) {
4916
5478
  }
4917
5479
  return true;
4918
5480
  }
4919
- const ingest$6 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5481
+ const ingest$5 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4920
5482
  if (process.env.NODE_ENV !== 'production') {
4921
- const validateError = validate$6(input);
5483
+ const validateError = validate$5(input);
4922
5484
  if (validateError !== null) {
4923
5485
  throw validateError;
4924
5486
  }
4925
5487
  }
4926
5488
  const key = keyBuilderFromType$3(luvio, input);
4927
5489
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4928
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
5490
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
4929
5491
  return createLink(key);
4930
5492
  };
4931
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
5493
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
4932
5494
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4933
5495
  const rootKey = keyBuilderFromType$3(luvio, input);
4934
5496
  rootKeySet.set(rootKey, {
4935
5497
  namespace: keyPrefix,
4936
- representationName: RepresentationType$6,
5498
+ representationName: RepresentationType$5,
4937
5499
  mergeable: false
4938
5500
  });
4939
5501
  }
4940
5502
 
4941
- function select$l(luvio, params) {
4942
- return select$m();
5503
+ function select$k(luvio, params) {
5504
+ return select$l();
4943
5505
  }
4944
5506
  function keyBuilder$k(luvio, params) {
4945
5507
  return keyBuilder$l(luvio, {
@@ -4947,15 +5509,15 @@ function keyBuilder$k(luvio, params) {
4947
5509
  });
4948
5510
  }
4949
5511
  function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
4950
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
5512
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
4951
5513
  }
4952
5514
  function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4953
5515
  const { body } = response;
4954
5516
  const key = keyBuilder$k(luvio, resourceParams);
4955
- luvio.storeIngest(key, ingest$6, body);
5517
+ luvio.storeIngest(key, ingest$5, body);
4956
5518
  const snapshot = luvio.storeLookup({
4957
5519
  recordId: key,
4958
- node: select$l(),
5520
+ node: select$k(),
4959
5521
  variables: {},
4960
5522
  }, snapshotRefresh);
4961
5523
  if (process.env.NODE_ENV !== 'production') {
@@ -4975,7 +5537,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
4975
5537
  function createResourceRequest$f(config) {
4976
5538
  const headers = {};
4977
5539
  return {
4978
- baseUri: '/services/data/v64.0',
5540
+ baseUri: '/services/data/v65.0',
4979
5541
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members',
4980
5542
  method: 'get',
4981
5543
  body: null,
@@ -4999,14 +5561,14 @@ const getSlackConversationMembers_ConfigPropertyMetadata = [
4999
5561
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5000
5562
  ];
5001
5563
  const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackConversationMembers_ConfigPropertyMetadata);
5002
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$m(getSlackConversationMembers_ConfigPropertyMetadata);
5564
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$o(getSlackConversationMembers_ConfigPropertyMetadata);
5003
5565
  function keyBuilder$j(luvio, config) {
5004
5566
  const resourceParams = createResourceParams$f(config);
5005
5567
  return keyBuilder$k(luvio, resourceParams);
5006
5568
  }
5007
5569
  function typeCheckConfig$f(untrustedConfig) {
5008
5570
  const config = {};
5009
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5571
+ typeCheckConfig$o(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5010
5572
  return config;
5011
5573
  }
5012
5574
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -5024,7 +5586,7 @@ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5024
5586
  }
5025
5587
  function adapterFragment$8(luvio, config) {
5026
5588
  createResourceParams$f(config);
5027
- return select$l();
5589
+ return select$k();
5028
5590
  }
5029
5591
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
5030
5592
  const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
@@ -5055,7 +5617,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
5055
5617
  });
5056
5618
  }
5057
5619
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5058
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
5620
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
5059
5621
  }
5060
5622
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5061
5623
  const { luvio, config } = context;
@@ -5090,11 +5652,11 @@ const notifyChangeFactory$4 = (luvio, options) => {
5090
5652
  .then((response) => {
5091
5653
  return luvio.handleSuccessResponse(() => {
5092
5654
  const { body } = response;
5093
- luvio.storeIngest(key, ingest$6, body);
5655
+ luvio.storeIngest(key, ingest$5, body);
5094
5656
  return luvio.storeBroadcast();
5095
5657
  }, () => {
5096
5658
  const cache = new StoreKeyMap();
5097
- getTypeCacheKeys$6(cache, luvio, response.body);
5659
+ getTypeCacheKeys$5(cache, luvio, response.body);
5098
5660
  return cache;
5099
5661
  });
5100
5662
  }, (error) => {
@@ -5109,11 +5671,11 @@ const notifyChangeFactory$4 = (luvio, options) => {
5109
5671
  };
5110
5672
  };
5111
5673
 
5112
- function select$k(luvio, params) {
5113
- return select$s();
5674
+ function select$j(luvio, params) {
5675
+ return select$u();
5114
5676
  }
5115
5677
  function keyBuilder$i(luvio, params) {
5116
- return keyBuilder$r(luvio, {
5678
+ return keyBuilder$v(luvio, {
5117
5679
  name: params.urlParams.slackEmojiId
5118
5680
  });
5119
5681
  }
@@ -5126,7 +5688,7 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
5126
5688
  luvio.storeIngest(key, ingest$a, body);
5127
5689
  const snapshot = luvio.storeLookup({
5128
5690
  recordId: key,
5129
- node: select$k(),
5691
+ node: select$j(),
5130
5692
  variables: {},
5131
5693
  }, snapshotRefresh);
5132
5694
  if (process.env.NODE_ENV !== 'production') {
@@ -5152,7 +5714,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
5152
5714
  function createResourceRequest$e(config) {
5153
5715
  const headers = {};
5154
5716
  return {
5155
- baseUri: '/services/data/v64.0',
5717
+ baseUri: '/services/data/v65.0',
5156
5718
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/emojis/' + config.urlParams.slackEmojiId + '',
5157
5719
  method: 'get',
5158
5720
  body: null,
@@ -5176,14 +5738,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
5176
5738
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5177
5739
  ];
5178
5740
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackEmoji_ConfigPropertyMetadata);
5179
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$m(getSlackEmoji_ConfigPropertyMetadata);
5741
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$o(getSlackEmoji_ConfigPropertyMetadata);
5180
5742
  function keyBuilder$h(luvio, config) {
5181
5743
  const resourceParams = createResourceParams$e(config);
5182
5744
  return keyBuilder$i(luvio, resourceParams);
5183
5745
  }
5184
5746
  function typeCheckConfig$e(untrustedConfig) {
5185
5747
  const config = {};
5186
- typeCheckConfig$m(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
5748
+ typeCheckConfig$o(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
5187
5749
  return config;
5188
5750
  }
5189
5751
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -5201,7 +5763,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
5201
5763
  }
5202
5764
  function adapterFragment$7(luvio, config) {
5203
5765
  createResourceParams$e(config);
5204
- return select$k();
5766
+ return select$j();
5205
5767
  }
5206
5768
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
5207
5769
  const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
@@ -5232,7 +5794,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
5232
5794
  });
5233
5795
  }
5234
5796
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5235
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5797
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5236
5798
  }
5237
5799
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5238
5800
  const { luvio, config } = context;
@@ -5258,7 +5820,7 @@ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmo
5258
5820
  };
5259
5821
  const notifyChangeFactory$3 = (luvio, options) => {
5260
5822
  return function getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamIdNotifyChange(configs) {
5261
- const keys = configs.map(c => keyBuilder$r(luvio, c));
5823
+ const keys = configs.map(c => keyBuilder$v(luvio, c));
5262
5824
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5263
5825
  for (let i = 0, len = entries.length; i < len; i++) {
5264
5826
  const { key, record: val } = entries[i];
@@ -5291,8 +5853,8 @@ const notifyChangeFactory$3 = (luvio, options) => {
5291
5853
  };
5292
5854
  };
5293
5855
 
5294
- const VERSION$5 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
5295
- function validate$5(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5856
+ const VERSION$4 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
5857
+ function validate$4(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5296
5858
  const v_error = (() => {
5297
5859
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5298
5860
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5312,8 +5874,8 @@ function validate$5(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5312
5874
  })();
5313
5875
  return v_error === undefined ? null : v_error;
5314
5876
  }
5315
- const RepresentationType$5 = 'SlackBridgeEmojisOutputRepresentation';
5316
- function normalize$5(input, existing, path, luvio, store, timestamp) {
5877
+ const RepresentationType$4 = 'SlackBridgeEmojisOutputRepresentation';
5878
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
5317
5879
  const input_emojis = input.emojis;
5318
5880
  const input_emojis_id = path.fullPath + '__emojis';
5319
5881
  for (let i = 0; i < input_emojis.length; i++) {
@@ -5332,22 +5894,22 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
5332
5894
  }
5333
5895
  return input;
5334
5896
  }
5335
- const select$j = function SlackBridgeEmojisOutputRepresentationSelect() {
5897
+ const select$i = function SlackBridgeEmojisOutputRepresentationSelect() {
5336
5898
  return {
5337
5899
  kind: 'Fragment',
5338
- version: VERSION$5,
5900
+ version: VERSION$4,
5339
5901
  private: [],
5340
5902
  selections: [
5341
5903
  {
5342
5904
  name: 'emojis',
5343
5905
  kind: 'Link',
5344
5906
  plural: true,
5345
- fragment: select$s()
5907
+ fragment: select$u()
5346
5908
  }
5347
5909
  ]
5348
5910
  };
5349
5911
  };
5350
- function equals$5(existing, incoming) {
5912
+ function equals$4(existing, incoming) {
5351
5913
  const existing_emojis = existing.emojis;
5352
5914
  const incoming_emojis = incoming.emojis;
5353
5915
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
@@ -5360,24 +5922,24 @@ function equals$5(existing, incoming) {
5360
5922
  }
5361
5923
  return true;
5362
5924
  }
5363
- const ingest$5 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5925
+ const ingest$4 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5364
5926
  if (process.env.NODE_ENV !== 'production') {
5365
- const validateError = validate$5(input);
5927
+ const validateError = validate$4(input);
5366
5928
  if (validateError !== null) {
5367
5929
  throw validateError;
5368
5930
  }
5369
5931
  }
5370
5932
  const key = path.fullPath;
5371
5933
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5372
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
5934
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
5373
5935
  return createLink(key);
5374
5936
  };
5375
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5937
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5376
5938
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5377
5939
  const rootKey = fullPathFactory();
5378
5940
  rootKeySet.set(rootKey, {
5379
5941
  namespace: keyPrefix,
5380
- representationName: RepresentationType$5,
5942
+ representationName: RepresentationType$4,
5381
5943
  mergeable: false
5382
5944
  });
5383
5945
  const input_emojis_length = input.emojis.length;
@@ -5386,22 +5948,22 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5386
5948
  }
5387
5949
  }
5388
5950
 
5389
- function select$i(luvio, params) {
5390
- return select$j();
5951
+ function select$h(luvio, params) {
5952
+ return select$i();
5391
5953
  }
5392
5954
  function keyBuilder$g(luvio, params) {
5393
5955
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'slackEmojiIds:' + params.queryParams.slackEmojiIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
5394
5956
  }
5395
5957
  function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
5396
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
5958
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
5397
5959
  }
5398
5960
  function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
5399
5961
  const { body } = response;
5400
5962
  const key = keyBuilder$g(luvio, resourceParams);
5401
- luvio.storeIngest(key, ingest$5, body);
5963
+ luvio.storeIngest(key, ingest$4, body);
5402
5964
  const snapshot = luvio.storeLookup({
5403
5965
  recordId: key,
5404
- node: select$i(),
5966
+ node: select$h(),
5405
5967
  variables: {},
5406
5968
  }, snapshotRefresh);
5407
5969
  if (process.env.NODE_ENV !== 'production') {
@@ -5421,7 +5983,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
5421
5983
  function createResourceRequest$d(config) {
5422
5984
  const headers = {};
5423
5985
  return {
5424
- baseUri: '/services/data/v64.0',
5986
+ baseUri: '/services/data/v65.0',
5425
5987
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/emojis',
5426
5988
  method: 'get',
5427
5989
  body: null,
@@ -5438,14 +6000,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
5438
6000
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
5439
6001
  ];
5440
6002
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackEmojis_ConfigPropertyMetadata);
5441
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$m(getSlackEmojis_ConfigPropertyMetadata);
6003
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$o(getSlackEmojis_ConfigPropertyMetadata);
5442
6004
  function keyBuilder$f(luvio, config) {
5443
6005
  const resourceParams = createResourceParams$d(config);
5444
6006
  return keyBuilder$g(luvio, resourceParams);
5445
6007
  }
5446
6008
  function typeCheckConfig$d(untrustedConfig) {
5447
6009
  const config = {};
5448
- typeCheckConfig$m(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6010
+ typeCheckConfig$o(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
5449
6011
  return config;
5450
6012
  }
5451
6013
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -5463,7 +6025,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
5463
6025
  }
5464
6026
  function adapterFragment$6(luvio, config) {
5465
6027
  createResourceParams$d(config);
5466
- return select$i();
6028
+ return select$h();
5467
6029
  }
5468
6030
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
5469
6031
  const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
@@ -5494,7 +6056,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
5494
6056
  });
5495
6057
  }
5496
6058
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5497
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
6059
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5498
6060
  }
5499
6061
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5500
6062
  const { luvio, config } = context;
@@ -5519,11 +6081,11 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
5519
6081
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
5520
6082
  };
5521
6083
 
5522
- function select$h(luvio, params) {
5523
- return select$E();
6084
+ function select$g(luvio, params) {
6085
+ return select$G();
5524
6086
  }
5525
6087
  function keyBuilder$e(luvio, params) {
5526
- return keyBuilder$z(luvio, {
6088
+ return keyBuilder$D(luvio, {
5527
6089
  channelId: params.urlParams.channelId
5528
6090
  });
5529
6091
  }
@@ -5536,7 +6098,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
5536
6098
  luvio.storeIngest(key, ingest$g, body);
5537
6099
  const snapshot = luvio.storeLookup({
5538
6100
  recordId: key,
5539
- node: select$h(),
6101
+ node: select$g(),
5540
6102
  variables: {},
5541
6103
  }, snapshotRefresh);
5542
6104
  if (process.env.NODE_ENV !== 'production') {
@@ -5556,7 +6118,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
5556
6118
  function createResourceRequest$c(config) {
5557
6119
  const headers = {};
5558
6120
  return {
5559
- baseUri: '/services/data/v64.0',
6121
+ baseUri: '/services/data/v65.0',
5560
6122
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '',
5561
6123
  method: 'get',
5562
6124
  body: null,
@@ -5581,14 +6143,14 @@ const getSlackMessage_ConfigPropertyMetadata = [
5581
6143
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5582
6144
  ];
5583
6145
  const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackMessage_ConfigPropertyMetadata);
5584
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$m(getSlackMessage_ConfigPropertyMetadata);
6146
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$o(getSlackMessage_ConfigPropertyMetadata);
5585
6147
  function keyBuilder$d(luvio, config) {
5586
6148
  const resourceParams = createResourceParams$c(config);
5587
6149
  return keyBuilder$e(luvio, resourceParams);
5588
6150
  }
5589
6151
  function typeCheckConfig$c(untrustedConfig) {
5590
6152
  const config = {};
5591
- typeCheckConfig$m(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
6153
+ typeCheckConfig$o(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5592
6154
  return config;
5593
6155
  }
5594
6156
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -5606,7 +6168,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
5606
6168
  }
5607
6169
  function adapterFragment$5(luvio, config) {
5608
6170
  createResourceParams$c(config);
5609
- return select$h();
6171
+ return select$g();
5610
6172
  }
5611
6173
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
5612
6174
  const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
@@ -5637,7 +6199,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5637
6199
  });
5638
6200
  }
5639
6201
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
5640
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
6202
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
5641
6203
  }
5642
6204
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
5643
6205
  const { luvio, config } = context;
@@ -5663,7 +6225,7 @@ const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackM
5663
6225
  };
5664
6226
  const notifyChangeFactory$2 = (luvio, options) => {
5665
6227
  return function getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamIdNotifyChange(configs) {
5666
- const keys = configs.map(c => keyBuilder$z(luvio, c));
6228
+ const keys = configs.map(c => keyBuilder$D(luvio, c));
5667
6229
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5668
6230
  for (let i = 0, len = entries.length; i < len; i++) {
5669
6231
  const { key, record: val } = entries[i];
@@ -5691,8 +6253,8 @@ const notifyChangeFactory$2 = (luvio, options) => {
5691
6253
  };
5692
6254
  };
5693
6255
 
5694
- const VERSION$4 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
5695
- function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
6256
+ const VERSION$3 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
6257
+ function validate$3(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
5696
6258
  const v_error = (() => {
5697
6259
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5698
6260
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5715,9 +6277,9 @@ function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
5715
6277
  })();
5716
6278
  return v_error === undefined ? null : v_error;
5717
6279
  }
5718
- const RepresentationType$4 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
6280
+ const RepresentationType$3 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
5719
6281
  function keyBuilder$c(luvio, config) {
5720
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.relatedRecordId;
6282
+ return keyPrefix + '::' + RepresentationType$3 + ':' + config.relatedRecordId;
5721
6283
  }
5722
6284
  function keyBuilderFromType$2(luvio, object) {
5723
6285
  const keyParams = {
@@ -5725,7 +6287,7 @@ function keyBuilderFromType$2(luvio, object) {
5725
6287
  };
5726
6288
  return keyBuilder$c(luvio, keyParams);
5727
6289
  }
5728
- function normalize$4(input, existing, path, luvio, store, timestamp) {
6290
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
5729
6291
  const input_conversationInfo = input.conversationInfo;
5730
6292
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
5731
6293
  input.conversationInfo = ingest$e(input_conversationInfo, {
@@ -5740,16 +6302,16 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
5740
6302
  }, luvio, store, timestamp);
5741
6303
  return input;
5742
6304
  }
5743
- const select$g = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
6305
+ const select$f = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
5744
6306
  return {
5745
6307
  kind: 'Fragment',
5746
- version: VERSION$4,
6308
+ version: VERSION$3,
5747
6309
  private: [],
5748
6310
  selections: [
5749
6311
  {
5750
6312
  name: 'conversationInfo',
5751
6313
  kind: 'Link',
5752
- fragment: select$B()
6314
+ fragment: select$D()
5753
6315
  },
5754
6316
  {
5755
6317
  name: 'relatedRecordId',
@@ -5762,7 +6324,7 @@ const select$g = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
5762
6324
  ]
5763
6325
  };
5764
6326
  };
5765
- function equals$4(existing, incoming) {
6327
+ function equals$3(existing, incoming) {
5766
6328
  const existing_relatedRecordId = existing.relatedRecordId;
5767
6329
  const incoming_relatedRecordId = incoming.relatedRecordId;
5768
6330
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -5780,31 +6342,31 @@ function equals$4(existing, incoming) {
5780
6342
  }
5781
6343
  return true;
5782
6344
  }
5783
- const ingest$4 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6345
+ const ingest$3 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5784
6346
  if (process.env.NODE_ENV !== 'production') {
5785
- const validateError = validate$4(input);
6347
+ const validateError = validate$3(input);
5786
6348
  if (validateError !== null) {
5787
6349
  throw validateError;
5788
6350
  }
5789
6351
  }
5790
6352
  const key = keyBuilderFromType$2(luvio, input);
5791
6353
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5792
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
6354
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
5793
6355
  return createLink(key);
5794
6356
  };
5795
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
6357
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
5796
6358
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5797
6359
  const rootKey = keyBuilderFromType$2(luvio, input);
5798
6360
  rootKeySet.set(rootKey, {
5799
6361
  namespace: keyPrefix,
5800
- representationName: RepresentationType$4,
6362
+ representationName: RepresentationType$3,
5801
6363
  mergeable: false
5802
6364
  });
5803
6365
  getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
5804
6366
  }
5805
6367
 
5806
- function select$f(luvio, params) {
5807
- return select$g();
6368
+ function select$e(luvio, params) {
6369
+ return select$f();
5808
6370
  }
5809
6371
  function keyBuilder$b(luvio, params) {
5810
6372
  return keyBuilder$c(luvio, {
@@ -5812,15 +6374,15 @@ function keyBuilder$b(luvio, params) {
5812
6374
  });
5813
6375
  }
5814
6376
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
5815
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
6377
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
5816
6378
  }
5817
6379
  function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5818
6380
  const { body } = response;
5819
6381
  const key = keyBuilder$b(luvio, resourceParams);
5820
- luvio.storeIngest(key, ingest$4, body);
6382
+ luvio.storeIngest(key, ingest$3, body);
5821
6383
  const snapshot = luvio.storeLookup({
5822
6384
  recordId: key,
5823
- node: select$f(),
6385
+ node: select$e(),
5824
6386
  variables: {},
5825
6387
  }, snapshotRefresh);
5826
6388
  if (process.env.NODE_ENV !== 'production') {
@@ -5840,7 +6402,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
5840
6402
  function createResourceRequest$b(config) {
5841
6403
  const headers = {};
5842
6404
  return {
5843
- baseUri: '/services/data/v64.0',
6405
+ baseUri: '/services/data/v65.0',
5844
6406
  basePath: '/connect/slackbridge/record_channels/' + config.urlParams.relatedRecordId + '',
5845
6407
  method: 'get',
5846
6408
  body: null,
@@ -5863,14 +6425,14 @@ const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
5863
6425
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
5864
6426
  ];
5865
6427
  const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5866
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$m(getSlackRecordChannelInfo_ConfigPropertyMetadata);
6428
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$o(getSlackRecordChannelInfo_ConfigPropertyMetadata);
5867
6429
  function keyBuilder$a(luvio, config) {
5868
6430
  const resourceParams = createResourceParams$b(config);
5869
6431
  return keyBuilder$b(luvio, resourceParams);
5870
6432
  }
5871
6433
  function typeCheckConfig$b(untrustedConfig) {
5872
6434
  const config = {};
5873
- typeCheckConfig$m(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
6435
+ typeCheckConfig$o(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5874
6436
  return config;
5875
6437
  }
5876
6438
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -5888,7 +6450,7 @@ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
5888
6450
  }
5889
6451
  function adapterFragment$4(luvio, config) {
5890
6452
  createResourceParams$b(config);
5891
- return select$f();
6453
+ return select$e();
5892
6454
  }
5893
6455
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
5894
6456
  const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
@@ -5919,7 +6481,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
5919
6481
  });
5920
6482
  }
5921
6483
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
5922
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6484
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5923
6485
  }
5924
6486
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
5925
6487
  const { luvio, config } = context;
@@ -5954,11 +6516,11 @@ const notifyChangeFactory$1 = (luvio, options) => {
5954
6516
  .then((response) => {
5955
6517
  return luvio.handleSuccessResponse(() => {
5956
6518
  const { body } = response;
5957
- luvio.storeIngest(key, ingest$4, body);
6519
+ luvio.storeIngest(key, ingest$3, body);
5958
6520
  return luvio.storeBroadcast();
5959
6521
  }, () => {
5960
6522
  const cache = new StoreKeyMap();
5961
- getTypeCacheKeys$4(cache, luvio, response.body);
6523
+ getTypeCacheKeys$3(cache, luvio, response.body);
5962
6524
  return cache;
5963
6525
  });
5964
6526
  }, (error) => {
@@ -5973,149 +6535,19 @@ const notifyChangeFactory$1 = (luvio, options) => {
5973
6535
  };
5974
6536
  };
5975
6537
 
5976
- const VERSION$3 = "0de597a47ca8ecad2cfb7fd9c8f73920";
5977
- function validate$3(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
5978
- const v_error = (() => {
5979
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5980
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5981
- }
5982
- const obj_conversationInfos = obj.conversationInfos;
5983
- const path_conversationInfos = path + '.conversationInfos';
5984
- if (!ArrayIsArray(obj_conversationInfos)) {
5985
- return new TypeError('Expected "array" but received "' + typeof obj_conversationInfos + '" (at "' + path_conversationInfos + '")');
5986
- }
5987
- for (let i = 0; i < obj_conversationInfos.length; i++) {
5988
- const obj_conversationInfos_item = obj_conversationInfos[i];
5989
- const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
5990
- if (typeof obj_conversationInfos_item !== 'object') {
5991
- return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
5992
- }
5993
- }
5994
- const obj_searchString = obj.searchString;
5995
- const path_searchString = path + '.searchString';
5996
- let obj_searchString_union0 = null;
5997
- const obj_searchString_union0_error = (() => {
5998
- if (typeof obj_searchString !== 'string') {
5999
- return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6000
- }
6001
- })();
6002
- if (obj_searchString_union0_error != null) {
6003
- obj_searchString_union0 = obj_searchString_union0_error.message;
6004
- }
6005
- let obj_searchString_union1 = null;
6006
- const obj_searchString_union1_error = (() => {
6007
- if (obj_searchString !== null) {
6008
- return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6009
- }
6010
- })();
6011
- if (obj_searchString_union1_error != null) {
6012
- obj_searchString_union1 = obj_searchString_union1_error.message;
6013
- }
6014
- if (obj_searchString_union0 && obj_searchString_union1) {
6015
- let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6016
- message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6017
- message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6018
- return new TypeError(message);
6019
- }
6020
- })();
6021
- return v_error === undefined ? null : v_error;
6022
- }
6023
- const RepresentationType$3 = 'SlackBridgeConversationInfosOutputRepresentation';
6024
- function normalize$3(input, existing, path, luvio, store, timestamp) {
6025
- const input_conversationInfos = input.conversationInfos;
6026
- const input_conversationInfos_id = path.fullPath + '__conversationInfos';
6027
- for (let i = 0; i < input_conversationInfos.length; i++) {
6028
- const input_conversationInfos_item = input_conversationInfos[i];
6029
- let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6030
- input_conversationInfos[i] = ingest$e(input_conversationInfos_item, {
6031
- fullPath: input_conversationInfos_item_id,
6032
- propertyName: i,
6033
- parent: {
6034
- data: input,
6035
- key: path.fullPath,
6036
- existing: existing,
6037
- },
6038
- ttl: path.ttl
6039
- }, luvio, store, timestamp);
6040
- }
6041
- return input;
6042
- }
6043
- const select$e = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6044
- return {
6045
- kind: 'Fragment',
6046
- version: VERSION$3,
6047
- private: [],
6048
- selections: [
6049
- {
6050
- name: 'conversationInfos',
6051
- kind: 'Link',
6052
- plural: true,
6053
- fragment: select$B()
6054
- },
6055
- {
6056
- name: 'searchString',
6057
- kind: 'Scalar'
6058
- }
6059
- ]
6060
- };
6061
- };
6062
- function equals$3(existing, incoming) {
6063
- const existing_conversationInfos = existing.conversationInfos;
6064
- const incoming_conversationInfos = incoming.conversationInfos;
6065
- const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
6066
- if (!(existing_conversationInfos_item.__ref === incoming_conversationInfos_item.__ref)) {
6067
- return false;
6068
- }
6069
- });
6070
- if (equals_conversationInfos_items === false) {
6071
- return false;
6072
- }
6073
- const existing_searchString = existing.searchString;
6074
- const incoming_searchString = incoming.searchString;
6075
- if (!(existing_searchString === incoming_searchString)) {
6076
- return false;
6077
- }
6078
- return true;
6079
- }
6080
- const ingest$3 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6081
- if (process.env.NODE_ENV !== 'production') {
6082
- const validateError = validate$3(input);
6083
- if (validateError !== null) {
6084
- throw validateError;
6085
- }
6086
- }
6087
- const key = path.fullPath;
6088
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6089
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
6090
- return createLink(key);
6091
- };
6092
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6093
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6094
- const rootKey = fullPathFactory();
6095
- rootKeySet.set(rootKey, {
6096
- namespace: keyPrefix,
6097
- representationName: RepresentationType$3,
6098
- mergeable: false
6099
- });
6100
- const input_conversationInfos_length = input.conversationInfos.length;
6101
- for (let i = 0; i < input_conversationInfos_length; i++) {
6102
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfos[i]);
6103
- }
6104
- }
6105
-
6106
6538
  function select$d(luvio, params) {
6107
- return select$e();
6539
+ return select$o();
6108
6540
  }
6109
6541
  function keyBuilder$9(luvio, params) {
6110
6542
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6111
6543
  }
6112
6544
  function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
6113
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
6545
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
6114
6546
  }
6115
6547
  function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
6116
6548
  const { body } = response;
6117
6549
  const key = keyBuilder$9(luvio, resourceParams);
6118
- luvio.storeIngest(key, ingest$3, body);
6550
+ luvio.storeIngest(key, ingest$6, body);
6119
6551
  const snapshot = luvio.storeLookup({
6120
6552
  recordId: key,
6121
6553
  node: select$d(),
@@ -6138,7 +6570,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
6138
6570
  function createResourceRequest$a(config) {
6139
6571
  const headers = {};
6140
6572
  return {
6141
- baseUri: '/services/data/v64.0',
6573
+ baseUri: '/services/data/v65.0',
6142
6574
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/search/conversations',
6143
6575
  method: 'get',
6144
6576
  body: null,
@@ -6155,14 +6587,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6155
6587
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6156
6588
  ];
6157
6589
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackSearchConversation_ConfigPropertyMetadata);
6158
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$m(getSlackSearchConversation_ConfigPropertyMetadata);
6590
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$o(getSlackSearchConversation_ConfigPropertyMetadata);
6159
6591
  function keyBuilder$8(luvio, config) {
6160
6592
  const resourceParams = createResourceParams$a(config);
6161
6593
  return keyBuilder$9(luvio, resourceParams);
6162
6594
  }
6163
6595
  function typeCheckConfig$a(untrustedConfig) {
6164
6596
  const config = {};
6165
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6597
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6166
6598
  return config;
6167
6599
  }
6168
6600
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -6211,7 +6643,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6211
6643
  });
6212
6644
  }
6213
6645
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6214
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6646
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6215
6647
  }
6216
6648
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6217
6649
  const { luvio, config } = context;
@@ -6237,18 +6669,18 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
6237
6669
  };
6238
6670
 
6239
6671
  function select$c(luvio, params) {
6240
- return select$j();
6672
+ return select$i();
6241
6673
  }
6242
6674
  function keyBuilder$7(luvio, params) {
6243
6675
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6244
6676
  }
6245
6677
  function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
6246
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6678
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6247
6679
  }
6248
6680
  function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
6249
6681
  const { body } = response;
6250
6682
  const key = keyBuilder$7(luvio, resourceParams);
6251
- luvio.storeIngest(key, ingest$5, body);
6683
+ luvio.storeIngest(key, ingest$4, body);
6252
6684
  const snapshot = luvio.storeLookup({
6253
6685
  recordId: key,
6254
6686
  node: select$c(),
@@ -6271,7 +6703,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
6271
6703
  function createResourceRequest$9(config) {
6272
6704
  const headers = {};
6273
6705
  return {
6274
- baseUri: '/services/data/v64.0',
6706
+ baseUri: '/services/data/v65.0',
6275
6707
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/search/emojis',
6276
6708
  method: 'get',
6277
6709
  body: null,
@@ -6288,14 +6720,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6288
6720
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6289
6721
  ];
6290
6722
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackSearchEmoji_ConfigPropertyMetadata);
6291
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$m(getSlackSearchEmoji_ConfigPropertyMetadata);
6723
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$o(getSlackSearchEmoji_ConfigPropertyMetadata);
6292
6724
  function keyBuilder$6(luvio, config) {
6293
6725
  const resourceParams = createResourceParams$9(config);
6294
6726
  return keyBuilder$7(luvio, resourceParams);
6295
6727
  }
6296
6728
  function typeCheckConfig$9(untrustedConfig) {
6297
6729
  const config = {};
6298
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6730
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6299
6731
  return config;
6300
6732
  }
6301
6733
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -6344,7 +6776,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
6344
6776
  });
6345
6777
  }
6346
6778
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
6347
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6779
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6348
6780
  }
6349
6781
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
6350
6782
  const { luvio, config } = context;
@@ -6369,12 +6801,38 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
6369
6801
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
6370
6802
  };
6371
6803
 
6372
- const VERSION$2 = "058d708f5533e6123e368a3722311412";
6804
+ const VERSION$2 = "16b915c502b8a0609446d7ed3907a794";
6373
6805
  function validate$2(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
6374
6806
  const v_error = (() => {
6375
6807
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6376
6808
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6377
6809
  }
6810
+ const obj_nextMarker = obj.nextMarker;
6811
+ const path_nextMarker = path + '.nextMarker';
6812
+ let obj_nextMarker_union0 = null;
6813
+ const obj_nextMarker_union0_error = (() => {
6814
+ if (typeof obj_nextMarker !== 'string') {
6815
+ return new TypeError('Expected "string" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
6816
+ }
6817
+ })();
6818
+ if (obj_nextMarker_union0_error != null) {
6819
+ obj_nextMarker_union0 = obj_nextMarker_union0_error.message;
6820
+ }
6821
+ let obj_nextMarker_union1 = null;
6822
+ const obj_nextMarker_union1_error = (() => {
6823
+ if (obj_nextMarker !== null) {
6824
+ return new TypeError('Expected "null" but received "' + typeof obj_nextMarker + '" (at "' + path_nextMarker + '")');
6825
+ }
6826
+ })();
6827
+ if (obj_nextMarker_union1_error != null) {
6828
+ obj_nextMarker_union1 = obj_nextMarker_union1_error.message;
6829
+ }
6830
+ if (obj_nextMarker_union0 && obj_nextMarker_union1) {
6831
+ let message = 'Object doesn\'t match union (at "' + path_nextMarker + '")';
6832
+ message += '\n' + obj_nextMarker_union0.split('\n').map((line) => '\t' + line).join('\n');
6833
+ message += '\n' + obj_nextMarker_union1.split('\n').map((line) => '\t' + line).join('\n');
6834
+ return new TypeError(message);
6835
+ }
6378
6836
  const obj_searchString = obj.searchString;
6379
6837
  const path_searchString = path + '.searchString';
6380
6838
  let obj_searchString_union0 = null;
@@ -6442,6 +6900,10 @@ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
6442
6900
  version: VERSION$2,
6443
6901
  private: [],
6444
6902
  selections: [
6903
+ {
6904
+ name: 'nextMarker',
6905
+ kind: 'Scalar'
6906
+ },
6445
6907
  {
6446
6908
  name: 'searchString',
6447
6909
  kind: 'Scalar'
@@ -6450,12 +6912,17 @@ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
6450
6912
  name: 'userInfos',
6451
6913
  kind: 'Link',
6452
6914
  plural: true,
6453
- fragment: select$r()
6915
+ fragment: select$t()
6454
6916
  }
6455
6917
  ]
6456
6918
  };
6457
6919
  };
6458
6920
  function equals$2(existing, incoming) {
6921
+ const existing_nextMarker = existing.nextMarker;
6922
+ const incoming_nextMarker = incoming.nextMarker;
6923
+ if (!(existing_nextMarker === incoming_nextMarker)) {
6924
+ return false;
6925
+ }
6459
6926
  const existing_searchString = existing.searchString;
6460
6927
  const incoming_searchString = incoming.searchString;
6461
6928
  if (!(existing_searchString === incoming_searchString)) {
@@ -6534,7 +7001,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
6534
7001
  function createResourceRequest$8(config) {
6535
7002
  const headers = {};
6536
7003
  return {
6537
- baseUri: '/services/data/v64.0',
7004
+ baseUri: '/services/data/v65.0',
6538
7005
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/search/users',
6539
7006
  method: 'get',
6540
7007
  body: null,
@@ -6554,14 +7021,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
6554
7021
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6555
7022
  ];
6556
7023
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchUser_ConfigPropertyMetadata);
6557
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$m(getSlackSearchUser_ConfigPropertyMetadata);
7024
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$o(getSlackSearchUser_ConfigPropertyMetadata);
6558
7025
  function keyBuilder$4(luvio, config) {
6559
7026
  const resourceParams = createResourceParams$8(config);
6560
7027
  return keyBuilder$5(luvio, resourceParams);
6561
7028
  }
6562
7029
  function typeCheckConfig$8(untrustedConfig) {
6563
7030
  const config = {};
6564
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7031
+ typeCheckConfig$o(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6565
7032
  return config;
6566
7033
  }
6567
7034
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -6610,7 +7077,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
6610
7077
  });
6611
7078
  }
6612
7079
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
6613
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
7080
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
6614
7081
  }
6615
7082
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
6616
7083
  const { luvio, config } = context;
@@ -6636,12 +7103,11 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
6636
7103
  };
6637
7104
 
6638
7105
  function select$9(luvio, params) {
6639
- return select$r();
7106
+ return select$t();
6640
7107
  }
6641
7108
  function keyBuilder$3(luvio, params) {
6642
- return keyBuilder$q(luvio, {
6643
- slackUserId: params.urlParams.slackUserId,
6644
- teamId: params.urlParams.teamId
7109
+ return keyBuilder$u(luvio, {
7110
+ slackUserId: params.urlParams.slackUserId
6645
7111
  });
6646
7112
  }
6647
7113
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
@@ -6679,7 +7145,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
6679
7145
  function createResourceRequest$7(config) {
6680
7146
  const headers = {};
6681
7147
  return {
6682
- baseUri: '/services/data/v64.0',
7148
+ baseUri: '/services/data/v65.0',
6683
7149
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/user/' + config.urlParams.slackUserId + '',
6684
7150
  method: 'get',
6685
7151
  body: null,
@@ -6694,7 +7160,6 @@ function createResourceRequestFromRepresentation(representation) {
6694
7160
  urlParams: {},
6695
7161
  };
6696
7162
  config.urlParams.slackUserId = representation.slackUserId;
6697
- config.urlParams.teamId = representation.teamId;
6698
7163
  return createResourceRequest$7(config);
6699
7164
  }
6700
7165
 
@@ -6704,14 +7169,14 @@ const getSlackUser_ConfigPropertyMetadata = [
6704
7169
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6705
7170
  ];
6706
7171
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackUser_ConfigPropertyMetadata);
6707
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$m(getSlackUser_ConfigPropertyMetadata);
7172
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$o(getSlackUser_ConfigPropertyMetadata);
6708
7173
  function keyBuilder$2(luvio, config) {
6709
7174
  const resourceParams = createResourceParams$7(config);
6710
7175
  return keyBuilder$3(luvio, resourceParams);
6711
7176
  }
6712
7177
  function typeCheckConfig$7(untrustedConfig) {
6713
7178
  const config = {};
6714
- typeCheckConfig$m(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7179
+ typeCheckConfig$o(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
6715
7180
  return config;
6716
7181
  }
6717
7182
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -6760,7 +7225,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6760
7225
  });
6761
7226
  }
6762
7227
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
6763
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7228
+ return buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
6764
7229
  }
6765
7230
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
6766
7231
  const { luvio, config } = context;
@@ -6786,7 +7251,7 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
6786
7251
  };
6787
7252
  const notifyChangeFactory = (luvio, options) => {
6788
7253
  return function getConnectSlackbridgeTeamUserBySlackUserIdAndTeamIdNotifyChange(configs) {
6789
- const keys = configs.map(c => keyBuilder$q(luvio, c));
7254
+ const keys = configs.map(c => keyBuilder$u(luvio, c));
6790
7255
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
6791
7256
  for (let i = 0, len = entries.length; i < len; i++) {
6792
7257
  const { key, record: val } = entries[i];
@@ -6820,7 +7285,7 @@ const notifyChangeFactory = (luvio, options) => {
6820
7285
  };
6821
7286
 
6822
7287
  function select$8(luvio, params) {
6823
- return select$E();
7288
+ return select$G();
6824
7289
  }
6825
7290
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
6826
7291
  getTypeCacheKeys$g(storeKeyMap, luvio, response);
@@ -6845,7 +7310,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
6845
7310
  function createResourceRequest$6(config) {
6846
7311
  const headers = {};
6847
7312
  return {
6848
- baseUri: '/services/data/v64.0',
7313
+ baseUri: '/services/data/v65.0',
6849
7314
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '',
6850
7315
  method: 'patch',
6851
7316
  body: config.body,
@@ -6864,10 +7329,10 @@ const patchSlackMessage_ConfigPropertyMetadata = [
6864
7329
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
6865
7330
  ];
6866
7331
  const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchSlackMessage_ConfigPropertyMetadata);
6867
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$m(patchSlackMessage_ConfigPropertyMetadata);
7332
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$o(patchSlackMessage_ConfigPropertyMetadata);
6868
7333
  function typeCheckConfig$6(untrustedConfig) {
6869
7334
  const config = {};
6870
- typeCheckConfig$m(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
7335
+ typeCheckConfig$o(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6871
7336
  return config;
6872
7337
  }
6873
7338
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -6974,7 +7439,7 @@ const select$7 = function SlackBridgePostMessageOutputRepresentationSelect() {
6974
7439
  {
6975
7440
  name: 'postedMessage',
6976
7441
  kind: 'Link',
6977
- fragment: select$w()
7442
+ fragment: select$y()
6978
7443
  },
6979
7444
  {
6980
7445
  name: 'timestamp',
@@ -7050,7 +7515,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
7050
7515
  function createResourceRequest$5(config) {
7051
7516
  const headers = {};
7052
7517
  return {
7053
- baseUri: '/services/data/v64.0',
7518
+ baseUri: '/services/data/v65.0',
7054
7519
  basePath: '/connect/slackbridge/conversation/messages',
7055
7520
  method: 'post',
7056
7521
  body: config.body,
@@ -7071,10 +7536,10 @@ const postSlackConversation_ConfigPropertyMetadata = [
7071
7536
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
7072
7537
  ];
7073
7538
  const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, postSlackConversation_ConfigPropertyMetadata);
7074
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$m(postSlackConversation_ConfigPropertyMetadata);
7539
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$o(postSlackConversation_ConfigPropertyMetadata);
7075
7540
  function typeCheckConfig$5(untrustedConfig) {
7076
7541
  const config = {};
7077
- typeCheckConfig$m(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
7542
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
7078
7543
  return config;
7079
7544
  }
7080
7545
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -7229,7 +7694,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
7229
7694
  function createResourceRequest$4(config) {
7230
7695
  const headers = {};
7231
7696
  return {
7232
- baseUri: '/services/data/v64.0',
7697
+ baseUri: '/services/data/v65.0',
7233
7698
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/mark',
7234
7699
  method: 'post',
7235
7700
  body: null,
@@ -7247,10 +7712,10 @@ const postSlackConversationMark_ConfigPropertyMetadata = [
7247
7712
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
7248
7713
  ];
7249
7714
  const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversationMark_ConfigPropertyMetadata);
7250
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$m(postSlackConversationMark_ConfigPropertyMetadata);
7715
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$o(postSlackConversationMark_ConfigPropertyMetadata);
7251
7716
  function typeCheckConfig$4(untrustedConfig) {
7252
7717
  const config = {};
7253
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
7718
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
7254
7719
  return config;
7255
7720
  }
7256
7721
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -7296,15 +7761,15 @@ const postSlackConversationMarkAdapterFactory = (luvio) => {
7296
7761
  };
7297
7762
 
7298
7763
  function select$3(luvio, params) {
7299
- return select$m();
7764
+ return select$l();
7300
7765
  }
7301
7766
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
7302
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
7767
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
7303
7768
  }
7304
7769
  function ingestSuccess$3(luvio, resourceParams, response) {
7305
7770
  const { body } = response;
7306
7771
  const key = keyBuilderFromType$3(luvio, body);
7307
- luvio.storeIngest(key, ingest$6, body);
7772
+ luvio.storeIngest(key, ingest$5, body);
7308
7773
  const snapshot = luvio.storeLookup({
7309
7774
  recordId: key,
7310
7775
  node: select$3(),
@@ -7321,7 +7786,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
7321
7786
  function createResourceRequest$3(config) {
7322
7787
  const headers = {};
7323
7788
  return {
7324
- baseUri: '/services/data/v64.0',
7789
+ baseUri: '/services/data/v65.0',
7325
7790
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members',
7326
7791
  method: 'post',
7327
7792
  body: config.body,
@@ -7339,10 +7804,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
7339
7804
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
7340
7805
  ];
7341
7806
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, postSlackConversationMembers_ConfigPropertyMetadata);
7342
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$m(postSlackConversationMembers_ConfigPropertyMetadata);
7807
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$o(postSlackConversationMembers_ConfigPropertyMetadata);
7343
7808
  function typeCheckConfig$3(untrustedConfig) {
7344
7809
  const config = {};
7345
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
7810
+ typeCheckConfig$o(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
7346
7811
  return config;
7347
7812
  }
7348
7813
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7388,7 +7853,7 @@ const postSlackConversationMembersAdapterFactory = (luvio) => {
7388
7853
  };
7389
7854
 
7390
7855
  function select$2(luvio, params) {
7391
- return select$x();
7856
+ return select$z();
7392
7857
  }
7393
7858
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7394
7859
  getTypeCacheKeys$d(storeKeyMap, luvio, response);
@@ -7413,7 +7878,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
7413
7878
  function createResourceRequest$2(config) {
7414
7879
  const headers = {};
7415
7880
  return {
7416
- baseUri: '/services/data/v64.0',
7881
+ baseUri: '/services/data/v65.0',
7417
7882
  basePath: '/connect/slackbridge/files',
7418
7883
  method: 'post',
7419
7884
  body: config.body,
@@ -7436,10 +7901,10 @@ const postSlackFile_ConfigPropertyMetadata = [
7436
7901
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
7437
7902
  ];
7438
7903
  const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postSlackFile_ConfigPropertyMetadata);
7439
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$m(postSlackFile_ConfigPropertyMetadata);
7904
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$o(postSlackFile_ConfigPropertyMetadata);
7440
7905
  function typeCheckConfig$2(untrustedConfig) {
7441
7906
  const config = {};
7442
- typeCheckConfig$m(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
7907
+ typeCheckConfig$o(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
7443
7908
  return config;
7444
7909
  }
7445
7910
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7485,7 +7950,7 @@ const postSlackFileAdapterFactory = (luvio) => {
7485
7950
  };
7486
7951
 
7487
7952
  function select$1(luvio, params) {
7488
- return select$C();
7953
+ return select$E();
7489
7954
  }
7490
7955
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
7491
7956
  getTypeCacheKeys$f(storeKeyMap, luvio, response);
@@ -7510,7 +7975,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
7510
7975
  function createResourceRequest$1(config) {
7511
7976
  const headers = {};
7512
7977
  return {
7513
- baseUri: '/services/data/v64.0',
7978
+ baseUri: '/services/data/v65.0',
7514
7979
  basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/messages/' + config.urlParams.messageTs + '/reactions',
7515
7980
  method: 'post',
7516
7981
  body: null,
@@ -7529,10 +7994,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
7529
7994
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
7530
7995
  ];
7531
7996
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postSlackMessageReactions_ConfigPropertyMetadata);
7532
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$m(postSlackMessageReactions_ConfigPropertyMetadata);
7997
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$o(postSlackMessageReactions_ConfigPropertyMetadata);
7533
7998
  function typeCheckConfig$1(untrustedConfig) {
7534
7999
  const config = {};
7535
- typeCheckConfig$m(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
8000
+ typeCheckConfig$o(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
7536
8001
  return config;
7537
8002
  }
7538
8003
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7578,15 +8043,15 @@ const postSlackMessageReactionsAdapterFactory = (luvio) => {
7578
8043
  };
7579
8044
 
7580
8045
  function select(luvio, params) {
7581
- return select$g();
8046
+ return select$f();
7582
8047
  }
7583
8048
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
7584
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
8049
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
7585
8050
  }
7586
8051
  function ingestSuccess(luvio, resourceParams, response) {
7587
8052
  const { body } = response;
7588
8053
  const key = keyBuilderFromType$2(luvio, body);
7589
- luvio.storeIngest(key, ingest$4, body);
8054
+ luvio.storeIngest(key, ingest$3, body);
7590
8055
  const snapshot = luvio.storeLookup({
7591
8056
  recordId: key,
7592
8057
  node: select(),
@@ -7603,7 +8068,7 @@ function ingestSuccess(luvio, resourceParams, response) {
7603
8068
  function createResourceRequest(config) {
7604
8069
  const headers = {};
7605
8070
  return {
7606
- baseUri: '/services/data/v64.0',
8071
+ baseUri: '/services/data/v65.0',
7607
8072
  basePath: '/connect/slackbridge/record_channels',
7608
8073
  method: 'post',
7609
8074
  body: config.body,
@@ -7620,10 +8085,10 @@ const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
7620
8085
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
7621
8086
  ];
7622
8087
  const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7623
- const createResourceParams = /*#__PURE__*/ createResourceParams$m(postSlackRecordChannelInfos_ConfigPropertyMetadata);
8088
+ const createResourceParams = /*#__PURE__*/ createResourceParams$o(postSlackRecordChannelInfos_ConfigPropertyMetadata);
7624
8089
  function typeCheckConfig(untrustedConfig) {
7625
8090
  const config = {};
7626
- typeCheckConfig$m(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
8091
+ typeCheckConfig$o(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7627
8092
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
7628
8093
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
7629
8094
  const untrustedConfig_conversationInfo_object = {};
@@ -7684,6 +8149,9 @@ let deleteSlackMessage;
7684
8149
  let deleteSlackMessageReactions;
7685
8150
  let getRelatedThreads;
7686
8151
  let getSlackConversation;
8152
+ let getSlackConversationInfo;
8153
+ let getSlackConversationInfoNotifyChange;
8154
+ let getSlackConversationInfos;
7687
8155
  let getSlackConversationMember;
7688
8156
  let getSlackConversationMemberNotifyChange;
7689
8157
  let getSlackConversationMembers;
@@ -7710,6 +8178,8 @@ let postSlackRecordChannelInfos;
7710
8178
  // Imperative GET Adapters
7711
8179
  let getRelatedThreads_imperative;
7712
8180
  let getSlackConversation_imperative;
8181
+ let getSlackConversationInfo_imperative;
8182
+ let getSlackConversationInfos_imperative;
7713
8183
  let getSlackConversationMember_imperative;
7714
8184
  let getSlackConversationMembers_imperative;
7715
8185
  let getSlackEmoji_imperative;
@@ -7722,6 +8192,15 @@ let getSlackSearchUser_imperative;
7722
8192
  let getSlackUser_imperative;
7723
8193
  const getRelatedThreadsMetadata = { apiFamily: 'SlackBridge', name: 'getRelatedThreads', ttl: 500 };
7724
8194
  const getSlackConversationMetadata = { apiFamily: 'SlackBridge', name: 'getSlackConversation' };
8195
+ const getSlackConversationInfoMetadata = {
8196
+ apiFamily: 'SlackBridge',
8197
+ name: 'getSlackConversationInfo',
8198
+ ttl: 900000,
8199
+ };
8200
+ const getSlackConversationInfosMetadata = {
8201
+ apiFamily: 'SlackBridge',
8202
+ name: 'getSlackConversationInfos',
8203
+ };
7725
8204
  const getSlackConversationMemberMetadata = {
7726
8205
  apiFamily: 'SlackBridge',
7727
8206
  name: 'getSlackConversationMember',
@@ -7743,12 +8222,14 @@ const getSlackSearchConversationMetadata = {
7743
8222
  };
7744
8223
  const getSlackSearchEmojiMetadata = { apiFamily: 'SlackBridge', name: 'getSlackSearchEmoji' };
7745
8224
  const getSlackSearchUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackSearchUser' };
7746
- const getSlackUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackUser', ttl: 600000 };
8225
+ const getSlackUserMetadata = { apiFamily: 'SlackBridge', name: 'getSlackUser', ttl: 900000 };
7747
8226
  // Notify Update Available
7748
8227
  function bindExportsTo(luvio) {
7749
8228
  // LDS Adapters
7750
8229
  const getRelatedThreads_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedThreads', getRelatedThreadsAdapterFactory), getRelatedThreadsMetadata);
7751
8230
  const getSlackConversation_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversation', getSlackConversationAdapterFactory), getSlackConversationMetadata);
8231
+ const getSlackConversationInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationInfo', getSlackConversationInfoAdapterFactory), getSlackConversationInfoMetadata);
8232
+ const getSlackConversationInfos_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationInfos', getSlackConversationInfosAdapterFactory), getSlackConversationInfosMetadata);
7752
8233
  const getSlackConversationMember_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMember', getSlackConversationMemberAdapterFactory), getSlackConversationMemberMetadata);
7753
8234
  const getSlackConversationMembers_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMembers', getSlackConversationMembersAdapterFactory), getSlackConversationMembersMetadata);
7754
8235
  const getSlackEmoji_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackEmoji', getSlackEmojiAdapterFactory), getSlackEmojiMetadata);
@@ -7764,11 +8245,14 @@ function bindExportsTo(luvio) {
7764
8245
  return (config) => adapter(config).then((snapshot) => snapshot.data);
7765
8246
  }
7766
8247
  return {
7767
- deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$l, deleteSlackConversationMemberAdapterFactory),
7768
- deleteSlackMessage: createLDSAdapter(luvio, adapterName$k, deleteSlackMessageAdapterFactory),
7769
- deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$j, deleteSlackMessageReactionsAdapterFactory),
8248
+ deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$n, deleteSlackConversationMemberAdapterFactory),
8249
+ deleteSlackMessage: createLDSAdapter(luvio, adapterName$m, deleteSlackMessageAdapterFactory),
8250
+ deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$l, deleteSlackMessageReactionsAdapterFactory),
7770
8251
  getRelatedThreads: createWireAdapterConstructor(luvio, getRelatedThreads_ldsAdapter, getRelatedThreadsMetadata),
7771
8252
  getSlackConversation: createWireAdapterConstructor(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
8253
+ getSlackConversationInfo: createWireAdapterConstructor(luvio, getSlackConversationInfo_ldsAdapter, getSlackConversationInfoMetadata),
8254
+ getSlackConversationInfoNotifyChange: createLDSAdapter(luvio, 'getSlackConversationInfoNotifyChange', notifyChangeFactory$6),
8255
+ getSlackConversationInfos: createWireAdapterConstructor(luvio, getSlackConversationInfos_ldsAdapter, getSlackConversationInfosMetadata),
7772
8256
  getSlackConversationMember: createWireAdapterConstructor(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
7773
8257
  getSlackConversationMemberNotifyChange: createLDSAdapter(luvio, 'getSlackConversationMemberNotifyChange', notifyChangeFactory$5),
7774
8258
  getSlackConversationMembers: createWireAdapterConstructor(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
@@ -7795,6 +8279,8 @@ function bindExportsTo(luvio) {
7795
8279
  // Imperative GET Adapters
7796
8280
  getRelatedThreads_imperative: createImperativeAdapter(luvio, getRelatedThreads_ldsAdapter, getRelatedThreadsMetadata),
7797
8281
  getSlackConversation_imperative: createImperativeAdapter(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
8282
+ getSlackConversationInfo_imperative: createImperativeAdapter(luvio, getSlackConversationInfo_ldsAdapter, getSlackConversationInfoMetadata),
8283
+ getSlackConversationInfos_imperative: createImperativeAdapter(luvio, getSlackConversationInfos_ldsAdapter, getSlackConversationInfosMetadata),
7798
8284
  getSlackConversationMember_imperative: createImperativeAdapter(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
7799
8285
  getSlackConversationMembers_imperative: createImperativeAdapter(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
7800
8286
  getSlackEmoji_imperative: createImperativeAdapter(luvio, getSlackEmoji_ldsAdapter, getSlackEmojiMetadata),
@@ -7815,6 +8301,9 @@ withDefaultLuvio((luvio) => {
7815
8301
  deleteSlackMessageReactions,
7816
8302
  getRelatedThreads,
7817
8303
  getSlackConversation,
8304
+ getSlackConversationInfo,
8305
+ getSlackConversationInfoNotifyChange,
8306
+ getSlackConversationInfos,
7818
8307
  getSlackConversationMember,
7819
8308
  getSlackConversationMemberNotifyChange,
7820
8309
  getSlackConversationMembers,
@@ -7840,6 +8329,8 @@ withDefaultLuvio((luvio) => {
7840
8329
  postSlackRecordChannelInfos,
7841
8330
  getRelatedThreads_imperative,
7842
8331
  getSlackConversation_imperative,
8332
+ getSlackConversationInfo_imperative,
8333
+ getSlackConversationInfos_imperative,
7843
8334
  getSlackConversationMember_imperative,
7844
8335
  getSlackConversationMembers_imperative,
7845
8336
  getSlackEmoji_imperative,
@@ -7853,5 +8344,5 @@ withDefaultLuvio((luvio) => {
7853
8344
  } = bindExportsTo(luvio));
7854
8345
  });
7855
8346
 
7856
- export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getRelatedThreads_imperative, getSlackConversation, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_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 };
7857
- // version: 1.355.0-df8576becd
8347
+ 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, 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 };
8348
+ // version: 1.357.0-5a2425b0d8