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

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$n, typeCheckConfig as typeCheckConfig$n, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$d } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -122,8 +122,8 @@ function createLink(ref) {
122
122
  };
123
123
  }
124
124
 
125
- const VERSION$m = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
- function validate$m(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
125
+ const VERSION$o = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
+ function validate$o(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
127
127
  const v_error = (() => {
128
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -141,23 +141,23 @@ function validate$m(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
141
141
  })();
142
142
  return v_error === undefined ? null : v_error;
143
143
  }
144
- const RepresentationType$h = 'SlackBridgeConversationMemberOutputRepresentation';
145
- function keyBuilder$B(luvio, config) {
146
- return keyPrefix + '::' + RepresentationType$h + ':' + config.channelId;
144
+ const RepresentationType$i = 'SlackBridgeConversationMemberOutputRepresentation';
145
+ function keyBuilder$D(luvio, config) {
146
+ return keyPrefix + '::' + RepresentationType$i + ':' + config.channelId;
147
147
  }
148
148
  function keyBuilderFromType$a(luvio, object) {
149
149
  const keyParams = {
150
150
  channelId: object.channelId
151
151
  };
152
- return keyBuilder$B(luvio, keyParams);
152
+ return keyBuilder$D(luvio, keyParams);
153
153
  }
154
- function normalize$h(input, existing, path, luvio, store, timestamp) {
154
+ function normalize$i(input, existing, path, luvio, store, timestamp) {
155
155
  return input;
156
156
  }
157
- const select$F = function SlackBridgeConversationMemberOutputRepresentationSelect() {
157
+ const select$I = function SlackBridgeConversationMemberOutputRepresentationSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
- version: VERSION$m,
160
+ version: VERSION$o,
161
161
  private: [],
162
162
  selections: [
163
163
  {
@@ -171,7 +171,7 @@ const select$F = function SlackBridgeConversationMemberOutputRepresentationSelec
171
171
  ]
172
172
  };
173
173
  };
174
- function equals$m(existing, incoming) {
174
+ function equals$o(existing, incoming) {
175
175
  const existing_channelId = existing.channelId;
176
176
  const incoming_channelId = incoming.channelId;
177
177
  if (!(existing_channelId === incoming_channelId)) {
@@ -184,46 +184,46 @@ function equals$m(existing, incoming) {
184
184
  }
185
185
  return true;
186
186
  }
187
- const ingest$h = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
187
+ const ingest$i = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
188
188
  if (process.env.NODE_ENV !== 'production') {
189
- const validateError = validate$m(input);
189
+ const validateError = validate$o(input);
190
190
  if (validateError !== null) {
191
191
  throw validateError;
192
192
  }
193
193
  }
194
194
  const key = keyBuilderFromType$a(luvio, input);
195
195
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
196
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$m, RepresentationType$h, equals$m);
196
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$o, RepresentationType$i, equals$o);
197
197
  return createLink(key);
198
198
  };
199
- function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
199
+ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
200
200
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
201
201
  const rootKey = keyBuilderFromType$a(luvio, input);
202
202
  rootKeySet.set(rootKey, {
203
203
  namespace: keyPrefix,
204
- representationName: RepresentationType$h,
204
+ representationName: RepresentationType$i,
205
205
  mergeable: false
206
206
  });
207
207
  }
208
208
 
209
- function keyBuilder$A(luvio, params) {
210
- return keyBuilder$B(luvio, {
209
+ function keyBuilder$C(luvio, params) {
210
+ return keyBuilder$D(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$m(cacheKeyMap, luvio, resourceParams) {
215
+ const key = keyBuilder$C(luvio, resourceParams);
216
216
  cacheKeyMap.set(key, {
217
217
  namespace: keyPrefix,
218
- representationName: RepresentationType$h,
218
+ representationName: RepresentationType$i,
219
219
  mergeable: false
220
220
  });
221
221
  }
222
222
  function evictSuccess$2(luvio, resourceParams) {
223
- const key = keyBuilder$A(luvio, resourceParams);
223
+ const key = keyBuilder$C(luvio, resourceParams);
224
224
  luvio.storeEvict(key);
225
225
  }
226
- function createResourceRequest$l(config) {
226
+ function createResourceRequest$m(config) {
227
227
  const headers = {};
228
228
  return {
229
229
  baseUri: '/services/data/v64.0',
@@ -237,35 +237,35 @@ function createResourceRequest$l(config) {
237
237
  };
238
238
  }
239
239
 
240
- const adapterName$l = 'deleteSlackConversationMember';
240
+ const adapterName$m = '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$m, deleteSlackConversationMember_ConfigPropertyMetadata);
247
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$n(deleteSlackConversationMember_ConfigPropertyMetadata);
248
+ function typeCheckConfig$m(untrustedConfig) {
249
249
  const config = {};
250
- typeCheckConfig$m(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
250
+ typeCheckConfig$n(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
251
251
  return config;
252
252
  }
253
- function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
253
+ function validateAdapterConfig$m(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$m(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$m(luvio, config, options) {
267
+ const resourceParams = createResourceParams$m(config);
268
+ const request = createResourceRequest$m(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$m(cache, luvio, resourceParams);
277
277
  return cache;
278
278
  });
279
279
  }, (response) => {
@@ -283,17 +283,17 @@ 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$m(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$m}"`);
290
290
  }
291
- return buildNetworkSnapshot$l(luvio, config);
291
+ return buildNetworkSnapshot$m(luvio, config);
292
292
  };
293
293
  };
294
294
 
295
- const VERSION$l = "605674abcbc0dad7e2707e4e00e8d4cd";
296
- function validate$l(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
295
+ const VERSION$n = "605674abcbc0dad7e2707e4e00e8d4cd";
296
+ function validate$n(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
297
297
  const v_error = (() => {
298
298
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
299
299
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -316,23 +316,23 @@ function validate$l(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
316
316
  })();
317
317
  return v_error === undefined ? null : v_error;
318
318
  }
319
- const RepresentationType$g = 'SlackBridgeMessageFragmentOutputRepresentation';
320
- function keyBuilder$z(luvio, config) {
321
- return keyPrefix + '::' + RepresentationType$g + ':' + config.channelId;
319
+ const RepresentationType$h = 'SlackBridgeMessageFragmentOutputRepresentation';
320
+ function keyBuilder$B(luvio, config) {
321
+ return keyPrefix + '::' + RepresentationType$h + ':' + config.channelId;
322
322
  }
323
323
  function keyBuilderFromType$9(luvio, object) {
324
324
  const keyParams = {
325
325
  channelId: object.channelId
326
326
  };
327
- return keyBuilder$z(luvio, keyParams);
327
+ return keyBuilder$B(luvio, keyParams);
328
328
  }
329
- function normalize$g(input, existing, path, luvio, store, timestamp) {
329
+ function normalize$h(input, existing, path, luvio, store, timestamp) {
330
330
  return input;
331
331
  }
332
- const select$E = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
332
+ const select$H = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
333
333
  return {
334
334
  kind: 'Fragment',
335
- version: VERSION$l,
335
+ version: VERSION$n,
336
336
  private: [],
337
337
  selections: [
338
338
  {
@@ -350,7 +350,7 @@ const select$E = function SlackBridgeMessageFragmentOutputRepresentationSelect()
350
350
  ]
351
351
  };
352
352
  };
353
- function equals$l(existing, incoming) {
353
+ function equals$n(existing, incoming) {
354
354
  const existing_channelId = existing.channelId;
355
355
  const incoming_channelId = incoming.channelId;
356
356
  if (!(existing_channelId === incoming_channelId)) {
@@ -368,46 +368,46 @@ function equals$l(existing, incoming) {
368
368
  }
369
369
  return true;
370
370
  }
371
- const ingest$g = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
371
+ const ingest$h = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
372
372
  if (process.env.NODE_ENV !== 'production') {
373
- const validateError = validate$l(input);
373
+ const validateError = validate$n(input);
374
374
  if (validateError !== null) {
375
375
  throw validateError;
376
376
  }
377
377
  }
378
378
  const key = keyBuilderFromType$9(luvio, input);
379
379
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
380
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$l, RepresentationType$g, equals$l);
380
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$n, RepresentationType$h, equals$n);
381
381
  return createLink(key);
382
382
  };
383
- function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
383
+ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
384
384
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
385
385
  const rootKey = keyBuilderFromType$9(luvio, input);
386
386
  rootKeySet.set(rootKey, {
387
387
  namespace: keyPrefix,
388
- representationName: RepresentationType$g,
388
+ representationName: RepresentationType$h,
389
389
  mergeable: false
390
390
  });
391
391
  }
392
392
 
393
- function keyBuilder$y(luvio, params) {
394
- return keyBuilder$z(luvio, {
393
+ function keyBuilder$A(luvio, params) {
394
+ return keyBuilder$B(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$l(cacheKeyMap, luvio, resourceParams) {
399
+ const key = keyBuilder$A(luvio, resourceParams);
400
400
  cacheKeyMap.set(key, {
401
401
  namespace: keyPrefix,
402
- representationName: RepresentationType$g,
402
+ representationName: RepresentationType$h,
403
403
  mergeable: false
404
404
  });
405
405
  }
406
406
  function evictSuccess$1(luvio, resourceParams) {
407
- const key = keyBuilder$y(luvio, resourceParams);
407
+ const key = keyBuilder$A(luvio, resourceParams);
408
408
  luvio.storeEvict(key);
409
409
  }
410
- function createResourceRequest$k(config) {
410
+ function createResourceRequest$l(config) {
411
411
  const headers = {};
412
412
  return {
413
413
  baseUri: '/services/data/v64.0',
@@ -421,35 +421,35 @@ function createResourceRequest$k(config) {
421
421
  };
422
422
  }
423
423
 
424
- const adapterName$k = 'deleteSlackMessage';
424
+ const adapterName$l = '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$l, deleteSlackMessage_ConfigPropertyMetadata);
431
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$n(deleteSlackMessage_ConfigPropertyMetadata);
432
+ function typeCheckConfig$l(untrustedConfig) {
433
433
  const config = {};
434
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
434
+ typeCheckConfig$n(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
435
435
  return config;
436
436
  }
437
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
437
+ function validateAdapterConfig$l(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$l(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$l(luvio, config, options) {
451
+ const resourceParams = createResourceParams$l(config);
452
+ const request = createResourceRequest$l(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$l(cache, luvio, resourceParams);
461
461
  return cache;
462
462
  });
463
463
  }, (response) => {
@@ -467,17 +467,17 @@ 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$l(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$l}"`);
474
474
  }
475
- return buildNetworkSnapshot$k(luvio, config);
475
+ return buildNetworkSnapshot$l(luvio, config);
476
476
  };
477
477
  };
478
478
 
479
- const VERSION$k = "7820a930852347bb0506c08d8b528281";
480
- function validate$k(obj, path = 'SlackBridgeReactionOutputRepresentation') {
479
+ const VERSION$m = "7820a930852347bb0506c08d8b528281";
480
+ function validate$m(obj, path = 'SlackBridgeReactionOutputRepresentation') {
481
481
  const v_error = (() => {
482
482
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
483
483
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -554,10 +554,10 @@ 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$G = function SlackBridgeReactionOutputRepresentationSelect() {
558
558
  return {
559
559
  kind: 'Fragment',
560
- version: VERSION$k,
560
+ version: VERSION$m,
561
561
  private: [],
562
562
  selections: [
563
563
  {
@@ -580,7 +580,7 @@ const select$D = function SlackBridgeReactionOutputRepresentationSelect() {
580
580
  ]
581
581
  };
582
582
  };
583
- function equals$k(existing, incoming) {
583
+ function equals$m(existing, incoming) {
584
584
  const existing_name = existing.name;
585
585
  const incoming_name = incoming.name;
586
586
  if (!(existing_name === incoming_name)) {
@@ -609,8 +609,8 @@ function equals$k(existing, incoming) {
609
609
  return true;
610
610
  }
611
611
 
612
- const VERSION$j = "804aa6216a7579adeeae856f76b688db";
613
- function validate$j(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
612
+ const VERSION$l = "804aa6216a7579adeeae856f76b688db";
613
+ function validate$l(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
614
614
  const v_error = (() => {
615
615
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
616
616
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -633,7 +633,7 @@ function validate$j(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
633
633
  for (let i = 0; i < obj_reactions.length; i++) {
634
634
  const obj_reactions_item = obj_reactions[i];
635
635
  const path_reactions_item = path_reactions + '[' + i + ']';
636
- const referencepath_reactions_itemValidationError = validate$k(obj_reactions_item, path_reactions_item);
636
+ const referencepath_reactions_itemValidationError = validate$m(obj_reactions_item, path_reactions_item);
637
637
  if (referencepath_reactions_itemValidationError !== null) {
638
638
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
639
639
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -648,24 +648,24 @@ function validate$j(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
648
648
  })();
649
649
  return v_error === undefined ? null : v_error;
650
650
  }
651
- const RepresentationType$f = 'SlackBridgeReactionsOutputRepresentation';
652
- function keyBuilder$x(luvio, config) {
653
- return keyPrefix + '::' + RepresentationType$f + ':' + config.channelId;
651
+ const RepresentationType$g = 'SlackBridgeReactionsOutputRepresentation';
652
+ function keyBuilder$z(luvio, config) {
653
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.channelId;
654
654
  }
655
655
  function keyBuilderFromType$8(luvio, object) {
656
656
  const keyParams = {
657
657
  channelId: object.channelId
658
658
  };
659
- return keyBuilder$x(luvio, keyParams);
659
+ return keyBuilder$z(luvio, keyParams);
660
660
  }
661
- function normalize$f(input, existing, path, luvio, store, timestamp) {
661
+ function normalize$g(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$F = function SlackBridgeReactionsOutputRepresentationSelect() {
665
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$G();
666
666
  return {
667
667
  kind: 'Fragment',
668
- version: VERSION$j,
668
+ version: VERSION$l,
669
669
  private: [],
670
670
  selections: [
671
671
  {
@@ -689,7 +689,7 @@ const select$C = function SlackBridgeReactionsOutputRepresentationSelect() {
689
689
  ]
690
690
  };
691
691
  };
692
- function equals$j(existing, incoming) {
692
+ function equals$l(existing, incoming) {
693
693
  const existing_channelId = existing.channelId;
694
694
  const incoming_channelId = incoming.channelId;
695
695
  if (!(existing_channelId === incoming_channelId)) {
@@ -708,7 +708,7 @@ function equals$j(existing, incoming) {
708
708
  const existing_reactions = existing.reactions;
709
709
  const incoming_reactions = incoming.reactions;
710
710
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
711
- if (!(equals$k(existing_reactions_item, incoming_reactions_item))) {
711
+ if (!(equals$m(existing_reactions_item, incoming_reactions_item))) {
712
712
  return false;
713
713
  }
714
714
  });
@@ -717,46 +717,46 @@ function equals$j(existing, incoming) {
717
717
  }
718
718
  return true;
719
719
  }
720
- const ingest$f = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
720
+ const ingest$g = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
721
721
  if (process.env.NODE_ENV !== 'production') {
722
- const validateError = validate$j(input);
722
+ const validateError = validate$l(input);
723
723
  if (validateError !== null) {
724
724
  throw validateError;
725
725
  }
726
726
  }
727
727
  const key = keyBuilderFromType$8(luvio, input);
728
728
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
729
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
729
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$l, RepresentationType$g, equals$l);
730
730
  return createLink(key);
731
731
  };
732
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
732
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
733
733
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
734
734
  const rootKey = keyBuilderFromType$8(luvio, input);
735
735
  rootKeySet.set(rootKey, {
736
736
  namespace: keyPrefix,
737
- representationName: RepresentationType$f,
737
+ representationName: RepresentationType$g,
738
738
  mergeable: false
739
739
  });
740
740
  }
741
741
 
742
- function keyBuilder$w(luvio, params) {
743
- return keyBuilder$x(luvio, {
742
+ function keyBuilder$y(luvio, params) {
743
+ return keyBuilder$z(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$k(cacheKeyMap, luvio, resourceParams) {
748
+ const key = keyBuilder$y(luvio, resourceParams);
749
749
  cacheKeyMap.set(key, {
750
750
  namespace: keyPrefix,
751
- representationName: RepresentationType$f,
751
+ representationName: RepresentationType$g,
752
752
  mergeable: false
753
753
  });
754
754
  }
755
755
  function evictSuccess(luvio, resourceParams) {
756
- const key = keyBuilder$w(luvio, resourceParams);
756
+ const key = keyBuilder$y(luvio, resourceParams);
757
757
  luvio.storeEvict(key);
758
758
  }
759
- function createResourceRequest$j(config) {
759
+ function createResourceRequest$k(config) {
760
760
  const headers = {};
761
761
  return {
762
762
  baseUri: '/services/data/v64.0',
@@ -770,36 +770,36 @@ function createResourceRequest$j(config) {
770
770
  };
771
771
  }
772
772
 
773
- const adapterName$j = 'deleteSlackMessageReactions';
773
+ const adapterName$k = '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$k, deleteSlackMessageReactions_ConfigPropertyMetadata);
781
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$n(deleteSlackMessageReactions_ConfigPropertyMetadata);
782
+ function typeCheckConfig$k(untrustedConfig) {
783
783
  const config = {};
784
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
784
+ typeCheckConfig$n(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
785
785
  return config;
786
786
  }
787
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
787
+ function validateAdapterConfig$k(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$k(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$k(luvio, config, options) {
801
+ const resourceParams = createResourceParams$k(config);
802
+ const request = createResourceRequest$k(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$k(cache, luvio, resourceParams);
811
811
  return cache;
812
812
  });
813
813
  }, (response) => {
@@ -817,17 +817,17 @@ 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$k(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$k}"`);
824
824
  }
825
- return buildNetworkSnapshot$j(luvio, config);
825
+ return buildNetworkSnapshot$k(luvio, config);
826
826
  };
827
827
  };
828
828
 
829
- const VERSION$i = "252fe3a6509a770a876e36552ad8dd06";
830
- function validate$i(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
829
+ const VERSION$k = "252fe3a6509a770a876e36552ad8dd06";
830
+ function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
831
831
  const v_error = (() => {
832
832
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
833
833
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1164,23 +1164,23 @@ function validate$i(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1164
1164
  })();
1165
1165
  return v_error === undefined ? null : v_error;
1166
1166
  }
1167
- const RepresentationType$e = 'SlackBridgeConversationInfoOutputRepresentation';
1168
- function keyBuilder$v(luvio, config) {
1169
- return keyPrefix + '::' + RepresentationType$e + ':' + config.id;
1167
+ const RepresentationType$f = 'SlackBridgeConversationInfoOutputRepresentation';
1168
+ function keyBuilder$x(luvio, config) {
1169
+ return keyPrefix + '::' + RepresentationType$f + ':' + config.id;
1170
1170
  }
1171
1171
  function keyBuilderFromType$7(luvio, object) {
1172
1172
  const keyParams = {
1173
1173
  id: object.id
1174
1174
  };
1175
- return keyBuilder$v(luvio, keyParams);
1175
+ return keyBuilder$x(luvio, keyParams);
1176
1176
  }
1177
- function normalize$e(input, existing, path, luvio, store, timestamp) {
1177
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
1178
1178
  return input;
1179
1179
  }
1180
- const select$B = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1180
+ const select$E = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1181
1181
  return {
1182
1182
  kind: 'Fragment',
1183
- version: VERSION$i,
1183
+ version: VERSION$k,
1184
1184
  private: [],
1185
1185
  selections: [
1186
1186
  {
@@ -1247,7 +1247,7 @@ const select$B = function SlackBridgeConversationInfoOutputRepresentationSelect(
1247
1247
  ]
1248
1248
  };
1249
1249
  };
1250
- function equals$i(existing, incoming) {
1250
+ function equals$k(existing, incoming) {
1251
1251
  const existing_id = existing.id;
1252
1252
  const incoming_id = incoming.id;
1253
1253
  if (!(existing_id === incoming_id)) {
@@ -1333,30 +1333,30 @@ function equals$i(existing, incoming) {
1333
1333
  }
1334
1334
  return true;
1335
1335
  }
1336
- const ingest$e = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1336
+ const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1337
1337
  if (process.env.NODE_ENV !== 'production') {
1338
- const validateError = validate$i(input);
1338
+ const validateError = validate$k(input);
1339
1339
  if (validateError !== null) {
1340
1340
  throw validateError;
1341
1341
  }
1342
1342
  }
1343
1343
  const key = keyBuilderFromType$7(luvio, input);
1344
1344
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1345
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$i, RepresentationType$e, equals$i);
1345
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$k, RepresentationType$f, equals$k);
1346
1346
  return createLink(key);
1347
1347
  };
1348
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1348
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1349
1349
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1350
1350
  const rootKey = keyBuilderFromType$7(luvio, input);
1351
1351
  rootKeySet.set(rootKey, {
1352
1352
  namespace: keyPrefix,
1353
- representationName: RepresentationType$e,
1353
+ representationName: RepresentationType$f,
1354
1354
  mergeable: false
1355
1355
  });
1356
1356
  }
1357
1357
 
1358
- const VERSION$h = "4634cd404d8392ac4ca9f0e1be03bfbd";
1359
- function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1358
+ const VERSION$j = "4634cd404d8392ac4ca9f0e1be03bfbd";
1359
+ function validate$j(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1360
1360
  const v_error = (() => {
1361
1361
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1362
1362
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1374,10 +1374,10 @@ function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1374
1374
  })();
1375
1375
  return v_error === undefined ? null : v_error;
1376
1376
  }
1377
- const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
1377
+ const select$D = function SlackBridgeFileTypeOutputRepresentationSelect() {
1378
1378
  return {
1379
1379
  kind: 'Fragment',
1380
- version: VERSION$h,
1380
+ version: VERSION$j,
1381
1381
  private: [],
1382
1382
  selections: [
1383
1383
  {
@@ -1391,7 +1391,7 @@ const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
1391
1391
  ]
1392
1392
  };
1393
1393
  };
1394
- function equals$h(existing, incoming) {
1394
+ function equals$j(existing, incoming) {
1395
1395
  const existing_extension = existing.extension;
1396
1396
  const incoming_extension = incoming.extension;
1397
1397
  if (!(existing_extension === incoming_extension)) {
@@ -1405,8 +1405,8 @@ function equals$h(existing, incoming) {
1405
1405
  return true;
1406
1406
  }
1407
1407
 
1408
- const VERSION$g = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1409
- function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1408
+ const VERSION$i = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1409
+ function validate$i(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1410
1410
  const v_error = (() => {
1411
1411
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1412
1412
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1420,7 +1420,7 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1420
1420
  const path_filetype = path + '.filetype';
1421
1421
  let obj_filetype_union0 = null;
1422
1422
  const obj_filetype_union0_error = (() => {
1423
- const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
1423
+ const referencepath_filetypeValidationError = validate$j(obj_filetype, path_filetype);
1424
1424
  if (referencepath_filetypeValidationError !== null) {
1425
1425
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1426
1426
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1489,11 +1489,11 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1489
1489
  })();
1490
1490
  return v_error === undefined ? null : v_error;
1491
1491
  }
1492
- const select$z = function SlackBridgeContentVersionOutputRepresentationSelect() {
1493
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
1492
+ const select$C = function SlackBridgeContentVersionOutputRepresentationSelect() {
1493
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
1494
1494
  return {
1495
1495
  kind: 'Fragment',
1496
- version: VERSION$g,
1496
+ version: VERSION$i,
1497
1497
  private: [],
1498
1498
  selections: [
1499
1499
  {
@@ -1525,7 +1525,7 @@ const select$z = function SlackBridgeContentVersionOutputRepresentationSelect()
1525
1525
  ]
1526
1526
  };
1527
1527
  };
1528
- function equals$g(existing, incoming) {
1528
+ function equals$i(existing, incoming) {
1529
1529
  const existing_size = existing.size;
1530
1530
  const incoming_size = incoming.size;
1531
1531
  if (!(existing_size === incoming_size)) {
@@ -1551,7 +1551,7 @@ function equals$g(existing, incoming) {
1551
1551
  if (!(existing_filetype === incoming_filetype
1552
1552
  || (existing_filetype != null &&
1553
1553
  incoming_filetype != null &&
1554
- equals$h(existing_filetype, incoming_filetype)))) {
1554
+ equals$j(existing_filetype, incoming_filetype)))) {
1555
1555
  return false;
1556
1556
  }
1557
1557
  const existing_versionUrl = existing.versionUrl;
@@ -1562,15 +1562,15 @@ function equals$g(existing, incoming) {
1562
1562
  return true;
1563
1563
  }
1564
1564
 
1565
- const VERSION$f = "effdd259bc622bee05493fc2a3ecd276";
1566
- function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
1565
+ const VERSION$h = "effdd259bc622bee05493fc2a3ecd276";
1566
+ function validate$h(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
1567
1567
  const v_error = (() => {
1568
1568
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1569
1569
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1570
1570
  }
1571
1571
  const obj_filetype = obj.filetype;
1572
1572
  const path_filetype = path + '.filetype';
1573
- const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
1573
+ const referencepath_filetypeValidationError = validate$j(obj_filetype, path_filetype);
1574
1574
  if (referencepath_filetypeValidationError !== null) {
1575
1575
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1576
1576
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1583,7 +1583,7 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1583
1583
  }
1584
1584
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
1585
1585
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
1586
- const referencepath_latestPublishedVersionValidationError = validate$g(obj_latestPublishedVersion, path_latestPublishedVersion);
1586
+ const referencepath_latestPublishedVersionValidationError = validate$i(obj_latestPublishedVersion, path_latestPublishedVersion);
1587
1587
  if (referencepath_latestPublishedVersionValidationError !== null) {
1588
1588
  let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
1589
1589
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1602,12 +1602,12 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1602
1602
  })();
1603
1603
  return v_error === undefined ? null : v_error;
1604
1604
  }
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();
1605
+ const select$B = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1606
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
1607
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$C();
1608
1608
  return {
1609
1609
  kind: 'Fragment',
1610
- version: VERSION$f,
1610
+ version: VERSION$h,
1611
1611
  private: [],
1612
1612
  selections: [
1613
1613
  {
@@ -1635,7 +1635,7 @@ const select$y = function SlackBridgeContentDocumentOutputRepresentationSelect()
1635
1635
  ]
1636
1636
  };
1637
1637
  };
1638
- function equals$f(existing, incoming) {
1638
+ function equals$h(existing, incoming) {
1639
1639
  const existing_size = existing.size;
1640
1640
  const incoming_size = incoming.size;
1641
1641
  if (!(existing_size === incoming_size)) {
@@ -1653,19 +1653,19 @@ function equals$f(existing, incoming) {
1653
1653
  }
1654
1654
  const existing_filetype = existing.filetype;
1655
1655
  const incoming_filetype = incoming.filetype;
1656
- if (!(equals$h(existing_filetype, incoming_filetype))) {
1656
+ if (!(equals$j(existing_filetype, incoming_filetype))) {
1657
1657
  return false;
1658
1658
  }
1659
1659
  const existing_latestPublishedVersion = existing.latestPublishedVersion;
1660
1660
  const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
1661
- if (!(equals$g(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
1661
+ if (!(equals$i(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
1662
1662
  return false;
1663
1663
  }
1664
1664
  return true;
1665
1665
  }
1666
1666
 
1667
- const VERSION$e = "15fa7211c500ebba9537b3c9921b39cf";
1668
- function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
1667
+ const VERSION$g = "15fa7211c500ebba9537b3c9921b39cf";
1668
+ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1669
1669
  const v_error = (() => {
1670
1670
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1671
1671
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1674,7 +1674,7 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
1674
1674
  const path_contentDocument = path + '.contentDocument';
1675
1675
  let obj_contentDocument_union0 = null;
1676
1676
  const obj_contentDocument_union0_error = (() => {
1677
- const referencepath_contentDocumentValidationError = validate$f(obj_contentDocument, path_contentDocument);
1677
+ const referencepath_contentDocumentValidationError = validate$h(obj_contentDocument, path_contentDocument);
1678
1678
  if (referencepath_contentDocumentValidationError !== null) {
1679
1679
  let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
1680
1680
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1836,24 +1836,24 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
1836
1836
  })();
1837
1837
  return v_error === undefined ? null : v_error;
1838
1838
  }
1839
- const RepresentationType$d = 'SlackBridgeFileOutputRepresentation';
1840
- function keyBuilder$u(luvio, config) {
1841
- return keyPrefix + '::' + RepresentationType$d + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
1839
+ const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
1840
+ function keyBuilder$w(luvio, config) {
1841
+ return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
1842
1842
  }
1843
1843
  function keyBuilderFromType$6(luvio, object) {
1844
1844
  const keyParams = {
1845
1845
  uniqueKey: object.uniqueKey
1846
1846
  };
1847
- return keyBuilder$u(luvio, keyParams);
1847
+ return keyBuilder$w(luvio, keyParams);
1848
1848
  }
1849
- function normalize$d(input, existing, path, luvio, store, timestamp) {
1849
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
1850
1850
  return input;
1851
1851
  }
1852
- const select$x = function SlackBridgeFileOutputRepresentationSelect() {
1853
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$y();
1852
+ const select$A = function SlackBridgeFileOutputRepresentationSelect() {
1853
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$B();
1854
1854
  return {
1855
1855
  kind: 'Fragment',
1856
- version: VERSION$e,
1856
+ version: VERSION$g,
1857
1857
  private: [],
1858
1858
  selections: [
1859
1859
  {
@@ -1905,7 +1905,7 @@ const select$x = function SlackBridgeFileOutputRepresentationSelect() {
1905
1905
  ]
1906
1906
  };
1907
1907
  };
1908
- function equals$e(existing, incoming) {
1908
+ function equals$g(existing, incoming) {
1909
1909
  const existing_filetype = existing.filetype;
1910
1910
  const incoming_filetype = incoming.filetype;
1911
1911
  if (!(existing_filetype === incoming_filetype)) {
@@ -1941,7 +1941,7 @@ function equals$e(existing, incoming) {
1941
1941
  if (!(existing_contentDocument === incoming_contentDocument
1942
1942
  || (existing_contentDocument != null &&
1943
1943
  incoming_contentDocument != null &&
1944
- equals$f(existing_contentDocument, incoming_contentDocument)))) {
1944
+ equals$h(existing_contentDocument, incoming_contentDocument)))) {
1945
1945
  return false;
1946
1946
  }
1947
1947
  const existing_size = existing.size;
@@ -1966,30 +1966,30 @@ function equals$e(existing, incoming) {
1966
1966
  }
1967
1967
  return true;
1968
1968
  }
1969
- const ingest$d = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1969
+ const ingest$e = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1970
1970
  if (process.env.NODE_ENV !== 'production') {
1971
- const validateError = validate$e(input);
1971
+ const validateError = validate$g(input);
1972
1972
  if (validateError !== null) {
1973
1973
  throw validateError;
1974
1974
  }
1975
1975
  }
1976
1976
  const key = keyBuilderFromType$6(luvio, input);
1977
1977
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1978
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$e, RepresentationType$d, equals$e);
1978
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$g, RepresentationType$e, equals$g);
1979
1979
  return createLink(key);
1980
1980
  };
1981
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
1981
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1982
1982
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1983
1983
  const rootKey = keyBuilderFromType$6(luvio, input);
1984
1984
  rootKeySet.set(rootKey, {
1985
1985
  namespace: keyPrefix,
1986
- representationName: RepresentationType$d,
1986
+ representationName: RepresentationType$e,
1987
1987
  mergeable: false
1988
1988
  });
1989
1989
  }
1990
1990
 
1991
- const VERSION$d = "e44783fc9e817e6accf3f3d286c3f0fe";
1992
- function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
1991
+ const VERSION$f = "e44783fc9e817e6accf3f3d286c3f0fe";
1992
+ function validate$f(obj, path = 'SlackBridgeMessageOutputRepresentation') {
1993
1993
  const v_error = (() => {
1994
1994
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1995
1995
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2201,7 +2201,7 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2201
2201
  for (let i = 0; i < obj_reactions.length; i++) {
2202
2202
  const obj_reactions_item = obj_reactions[i];
2203
2203
  const path_reactions_item = path_reactions + '[' + i + ']';
2204
- const referencepath_reactions_itemValidationError = validate$k(obj_reactions_item, path_reactions_item);
2204
+ const referencepath_reactions_itemValidationError = validate$m(obj_reactions_item, path_reactions_item);
2205
2205
  if (referencepath_reactions_itemValidationError !== null) {
2206
2206
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
2207
2207
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2363,14 +2363,14 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2363
2363
  })();
2364
2364
  return v_error === undefined ? null : v_error;
2365
2365
  }
2366
- const RepresentationType$c = 'SlackBridgeMessageOutputRepresentation';
2367
- function normalize$c(input, existing, path, luvio, store, timestamp) {
2366
+ const RepresentationType$d = 'SlackBridgeMessageOutputRepresentation';
2367
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
2368
2368
  const input_files = input.files;
2369
2369
  const input_files_id = path.fullPath + '__files';
2370
2370
  for (let i = 0; i < input_files.length; i++) {
2371
2371
  const input_files_item = input_files[i];
2372
2372
  let input_files_item_id = input_files_id + '__' + i;
2373
- input_files[i] = ingest$d(input_files_item, {
2373
+ input_files[i] = ingest$e(input_files_item, {
2374
2374
  fullPath: input_files_item_id,
2375
2375
  propertyName: i,
2376
2376
  parent: {
@@ -2383,11 +2383,11 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
2383
2383
  }
2384
2384
  return input;
2385
2385
  }
2386
- const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2387
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$D();
2386
+ const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2387
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$G();
2388
2388
  return {
2389
2389
  kind: 'Fragment',
2390
- version: VERSION$d,
2390
+ version: VERSION$f,
2391
2391
  private: [],
2392
2392
  selections: [
2393
2393
  {
@@ -2408,7 +2408,7 @@ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2408
2408
  name: 'files',
2409
2409
  kind: 'Link',
2410
2410
  plural: true,
2411
- fragment: select$x()
2411
+ fragment: select$A()
2412
2412
  },
2413
2413
  {
2414
2414
  name: 'includesCustomEmoji',
@@ -2480,7 +2480,7 @@ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2480
2480
  ]
2481
2481
  };
2482
2482
  };
2483
- function equals$d(existing, incoming) {
2483
+ function equals$f(existing, incoming) {
2484
2484
  const existing_isEditable = existing.isEditable;
2485
2485
  const incoming_isEditable = incoming.isEditable;
2486
2486
  if (!(existing_isEditable === incoming_isEditable)) {
@@ -2574,7 +2574,7 @@ function equals$d(existing, incoming) {
2574
2574
  const existing_reactions = existing.reactions;
2575
2575
  const incoming_reactions = incoming.reactions;
2576
2576
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
2577
- if (!(equals$k(existing_reactions_item, incoming_reactions_item))) {
2577
+ if (!(equals$m(existing_reactions_item, incoming_reactions_item))) {
2578
2578
  return false;
2579
2579
  }
2580
2580
  });
@@ -2618,35 +2618,35 @@ function equals$d(existing, incoming) {
2618
2618
  }
2619
2619
  return true;
2620
2620
  }
2621
- const ingest$c = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2621
+ const ingest$d = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2622
2622
  if (process.env.NODE_ENV !== 'production') {
2623
- const validateError = validate$d(input);
2623
+ const validateError = validate$f(input);
2624
2624
  if (validateError !== null) {
2625
2625
  throw validateError;
2626
2626
  }
2627
2627
  }
2628
2628
  const key = path.fullPath;
2629
2629
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2630
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$d, RepresentationType$c, equals$d);
2630
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$f, RepresentationType$d, equals$f);
2631
2631
  return createLink(key);
2632
2632
  };
2633
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2633
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
2634
2634
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2635
2635
  const rootKey = fullPathFactory();
2636
2636
  rootKeySet.set(rootKey, {
2637
2637
  namespace: keyPrefix,
2638
- representationName: RepresentationType$c,
2638
+ representationName: RepresentationType$d,
2639
2639
  mergeable: false
2640
2640
  });
2641
2641
  const input_files_length = input.files.length;
2642
2642
  for (let i = 0; i < input_files_length; i++) {
2643
- getTypeCacheKeys$d(rootKeySet, luvio, input.files[i]);
2643
+ getTypeCacheKeys$e(rootKeySet, luvio, input.files[i]);
2644
2644
  }
2645
2645
  }
2646
2646
 
2647
- const TTL$2 = 500;
2648
- const VERSION$c = "fb0fd743f16f2b13d70727c055fbc834";
2649
- function validate$c(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
2647
+ const TTL$3 = 500;
2648
+ const VERSION$e = "fb0fd743f16f2b13d70727c055fbc834";
2649
+ function validate$e(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
2650
2650
  const v_error = (() => {
2651
2651
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2652
2652
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2683,14 +2683,14 @@ function validate$c(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
2683
2683
  })();
2684
2684
  return v_error === undefined ? null : v_error;
2685
2685
  }
2686
- const RepresentationType$b = 'SlackBridgeRelatedThreadsOutputRepresentation';
2687
- function normalize$b(input, existing, path, luvio, store, timestamp) {
2686
+ const RepresentationType$c = 'SlackBridgeRelatedThreadsOutputRepresentation';
2687
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
2688
2688
  const input_conversations = input.conversations;
2689
2689
  const input_conversations_id = path.fullPath + '__conversations';
2690
2690
  for (let i = 0; i < input_conversations.length; i++) {
2691
2691
  const input_conversations_item = input_conversations[i];
2692
2692
  let input_conversations_item_id = input_conversations_id + '__' + i;
2693
- input_conversations[i] = ingest$e(input_conversations_item, {
2693
+ input_conversations[i] = ingest$f(input_conversations_item, {
2694
2694
  fullPath: input_conversations_item_id,
2695
2695
  propertyName: i,
2696
2696
  parent: {
@@ -2706,7 +2706,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
2706
2706
  for (let i = 0; i < input_messages.length; i++) {
2707
2707
  const input_messages_item = input_messages[i];
2708
2708
  let input_messages_item_id = input_messages_id + '__' + i;
2709
- input_messages[i] = ingest$c(input_messages_item, {
2709
+ input_messages[i] = ingest$d(input_messages_item, {
2710
2710
  fullPath: input_messages_item_id,
2711
2711
  propertyName: i,
2712
2712
  parent: {
@@ -2719,23 +2719,23 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
2719
2719
  }
2720
2720
  return input;
2721
2721
  }
2722
- const select$v = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
2722
+ const select$y = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
2723
2723
  return {
2724
2724
  kind: 'Fragment',
2725
- version: VERSION$c,
2725
+ version: VERSION$e,
2726
2726
  private: [],
2727
2727
  selections: [
2728
2728
  {
2729
2729
  name: 'conversations',
2730
2730
  kind: 'Link',
2731
2731
  plural: true,
2732
- fragment: select$B()
2732
+ fragment: select$E()
2733
2733
  },
2734
2734
  {
2735
2735
  name: 'messages',
2736
2736
  kind: 'Link',
2737
2737
  plural: true,
2738
- fragment: select$w()
2738
+ fragment: select$z()
2739
2739
  },
2740
2740
  {
2741
2741
  name: 'teamId',
@@ -2744,7 +2744,7 @@ const select$v = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
2744
2744
  ]
2745
2745
  };
2746
2746
  };
2747
- function equals$c(existing, incoming) {
2747
+ function equals$e(existing, incoming) {
2748
2748
  const existing_teamId = existing.teamId;
2749
2749
  const incoming_teamId = incoming.teamId;
2750
2750
  if (!(existing_teamId === incoming_teamId)) {
@@ -2772,52 +2772,52 @@ function equals$c(existing, incoming) {
2772
2772
  }
2773
2773
  return true;
2774
2774
  }
2775
- const ingest$b = function SlackBridgeRelatedThreadsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2775
+ const ingest$c = function SlackBridgeRelatedThreadsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2776
2776
  if (process.env.NODE_ENV !== 'production') {
2777
- const validateError = validate$c(input);
2777
+ const validateError = validate$e(input);
2778
2778
  if (validateError !== null) {
2779
2779
  throw validateError;
2780
2780
  }
2781
2781
  }
2782
2782
  const key = path.fullPath;
2783
- const ttlToUse = TTL$2;
2784
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$c, RepresentationType$b, equals$c);
2783
+ const ttlToUse = TTL$3;
2784
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$e, RepresentationType$c, equals$e);
2785
2785
  return createLink(key);
2786
2786
  };
2787
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
2787
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2788
2788
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2789
2789
  const rootKey = fullPathFactory();
2790
2790
  rootKeySet.set(rootKey, {
2791
2791
  namespace: keyPrefix,
2792
- representationName: RepresentationType$b,
2792
+ representationName: RepresentationType$c,
2793
2793
  mergeable: false
2794
2794
  });
2795
2795
  const input_conversations_length = input.conversations.length;
2796
2796
  for (let i = 0; i < input_conversations_length; i++) {
2797
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversations[i]);
2797
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversations[i]);
2798
2798
  }
2799
2799
  const input_messages_length = input.messages.length;
2800
2800
  for (let i = 0; i < input_messages_length; i++) {
2801
- getTypeCacheKeys$c(rootKeySet, luvio, input.messages[i], () => '');
2801
+ getTypeCacheKeys$d(rootKeySet, luvio, input.messages[i], () => '');
2802
2802
  }
2803
2803
  }
2804
2804
 
2805
- function select$u(luvio, params) {
2806
- return select$v();
2805
+ function select$x(luvio, params) {
2806
+ return select$y();
2807
2807
  }
2808
- function keyBuilder$t(luvio, params) {
2808
+ function keyBuilder$v(luvio, params) {
2809
2809
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
2810
2810
  }
2811
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
2812
- getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
2811
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
2812
+ getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
2813
2813
  }
2814
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
2814
+ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
2815
2815
  const { body } = response;
2816
- const key = keyBuilder$t(luvio, resourceParams);
2817
- luvio.storeIngest(key, ingest$b, body);
2816
+ const key = keyBuilder$v(luvio, resourceParams);
2817
+ luvio.storeIngest(key, ingest$c, body);
2818
2818
  const snapshot = luvio.storeLookup({
2819
2819
  recordId: key,
2820
- node: select$u(),
2820
+ node: select$x(),
2821
2821
  variables: {},
2822
2822
  }, snapshotRefresh);
2823
2823
  if (process.env.NODE_ENV !== 'production') {
@@ -2828,19 +2828,19 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
2828
2828
  deepFreeze(snapshot.data);
2829
2829
  return snapshot;
2830
2830
  }
2831
- function ingestError$b(luvio, params, error, snapshotRefresh) {
2832
- const key = keyBuilder$t(luvio, params);
2831
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
2832
+ const key = keyBuilder$v(luvio, params);
2833
2833
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2834
2834
  const storeMetadataParams = {
2835
- ttl: TTL$2,
2835
+ ttl: TTL$3,
2836
2836
  namespace: keyPrefix,
2837
- version: VERSION$c,
2838
- representationName: RepresentationType$b
2837
+ version: VERSION$e,
2838
+ representationName: RepresentationType$c
2839
2839
  };
2840
2840
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2841
2841
  return errorSnapshot;
2842
2842
  }
2843
- function createResourceRequest$i(config) {
2843
+ function createResourceRequest$j(config) {
2844
2844
  const headers = {};
2845
2845
  return {
2846
2846
  baseUri: '/services/data/v64.0',
@@ -2854,94 +2854,94 @@ function createResourceRequest$i(config) {
2854
2854
  };
2855
2855
  }
2856
2856
 
2857
- const adapterName$i = 'getRelatedThreads';
2857
+ const adapterName$j = 'getRelatedThreads';
2858
2858
  const getRelatedThreads_ConfigPropertyMetadata = [
2859
2859
  generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
2860
2860
  ];
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);
2861
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getRelatedThreads_ConfigPropertyMetadata);
2862
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$n(getRelatedThreads_ConfigPropertyMetadata);
2863
+ function keyBuilder$u(luvio, config) {
2864
+ const resourceParams = createResourceParams$j(config);
2865
+ return keyBuilder$v(luvio, resourceParams);
2866
2866
  }
2867
- function typeCheckConfig$i(untrustedConfig) {
2867
+ function typeCheckConfig$j(untrustedConfig) {
2868
2868
  const config = {};
2869
- typeCheckConfig$m(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
2869
+ typeCheckConfig$n(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
2870
2870
  return config;
2871
2871
  }
2872
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
2872
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
2873
2873
  if (!untrustedIsObject(untrustedConfig)) {
2874
2874
  return null;
2875
2875
  }
2876
2876
  if (process.env.NODE_ENV !== 'production') {
2877
2877
  validateConfig(untrustedConfig, configPropertyNames);
2878
2878
  }
2879
- const config = typeCheckConfig$i(untrustedConfig);
2879
+ const config = typeCheckConfig$j(untrustedConfig);
2880
2880
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2881
2881
  return null;
2882
2882
  }
2883
2883
  return config;
2884
2884
  }
2885
- function adapterFragment$b(luvio, config) {
2886
- createResourceParams$i(config);
2887
- return select$u();
2885
+ function adapterFragment$c(luvio, config) {
2886
+ createResourceParams$j(config);
2887
+ return select$x();
2888
2888
  }
2889
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
2890
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
2889
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
2890
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
2891
2891
  config,
2892
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2892
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
2893
2893
  });
2894
2894
  return luvio.storeBroadcast().then(() => snapshot);
2895
2895
  }
2896
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
2897
- const snapshot = ingestError$b(luvio, resourceParams, response, {
2896
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
2897
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
2898
2898
  config,
2899
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2899
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
2900
2900
  });
2901
2901
  return luvio.storeBroadcast().then(() => snapshot);
2902
2902
  }
2903
- function buildNetworkSnapshot$i(luvio, config, options) {
2904
- const resourceParams = createResourceParams$i(config);
2905
- const request = createResourceRequest$i(resourceParams);
2903
+ function buildNetworkSnapshot$j(luvio, config, options) {
2904
+ const resourceParams = createResourceParams$j(config);
2905
+ const request = createResourceRequest$j(resourceParams);
2906
2906
  return luvio.dispatchResourceRequest(request, options)
2907
2907
  .then((response) => {
2908
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
2908
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
2909
2909
  const cache = new StoreKeyMap();
2910
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
2910
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
2911
2911
  return cache;
2912
2912
  });
2913
2913
  }, (response) => {
2914
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
2914
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
2915
2915
  });
2916
2916
  }
2917
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
2918
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
2917
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
2918
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
2919
2919
  }
2920
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
2920
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
2921
2921
  const { luvio, config } = context;
2922
2922
  const selector = {
2923
- recordId: keyBuilder$s(luvio, config),
2924
- node: adapterFragment$b(luvio, config),
2923
+ recordId: keyBuilder$u(luvio, config),
2924
+ node: adapterFragment$c(luvio, config),
2925
2925
  variables: {},
2926
2926
  };
2927
2927
  const cacheSnapshot = storeLookup(selector, {
2928
2928
  config,
2929
- resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2929
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
2930
2930
  });
2931
2931
  return cacheSnapshot;
2932
2932
  }
2933
2933
  const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
2934
- const config = validateAdapterConfig$i(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
2934
+ const config = validateAdapterConfig$j(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
2935
2935
  // Invalid or incomplete config
2936
2936
  if (config === null) {
2937
2937
  return null;
2938
2938
  }
2939
2939
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2940
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
2940
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
2941
2941
  };
2942
2942
 
2943
- const VERSION$b = "6a2ede1150bccf991e3f6ea7b55a9964";
2944
- function validate$b(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
2943
+ const VERSION$d = "6a2ede1150bccf991e3f6ea7b55a9964";
2944
+ function validate$d(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
2945
2945
  const v_error = (() => {
2946
2946
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2947
2947
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3027,10 +3027,10 @@ function validate$b(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
3027
3027
  })();
3028
3028
  return v_error === undefined ? null : v_error;
3029
3029
  }
3030
- const select$t = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3030
+ const select$w = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3031
3031
  return {
3032
3032
  kind: 'Fragment',
3033
- version: VERSION$b,
3033
+ version: VERSION$d,
3034
3034
  private: [],
3035
3035
  selections: [
3036
3036
  {
@@ -3048,7 +3048,7 @@ const select$t = function SlackBridgeEmojiValueOutputRepresentationSelect() {
3048
3048
  ]
3049
3049
  };
3050
3050
  };
3051
- function equals$b(existing, incoming) {
3051
+ function equals$d(existing, incoming) {
3052
3052
  const existing_appleUrl = existing.appleUrl;
3053
3053
  const incoming_appleUrl = incoming.appleUrl;
3054
3054
  if (!(existing_appleUrl === incoming_appleUrl)) {
@@ -3067,9 +3067,9 @@ function equals$b(existing, incoming) {
3067
3067
  return true;
3068
3068
  }
3069
3069
 
3070
- const TTL$1 = 2592000000;
3071
- const VERSION$a = "a0e1530372a57d61a1264218124bbb5c";
3072
- function validate$a(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
3070
+ const TTL$2 = 2592000000;
3071
+ const VERSION$c = "a0e1530372a57d61a1264218124bbb5c";
3072
+ function validate$c(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
3073
3073
  const v_error = (() => {
3074
3074
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3075
3075
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3187,7 +3187,7 @@ function validate$a(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
3187
3187
  const path_value = path + '.value';
3188
3188
  let obj_value_union0 = null;
3189
3189
  const obj_value_union0_error = (() => {
3190
- const referencepath_valueValidationError = validate$b(obj_value, path_value);
3190
+ const referencepath_valueValidationError = validate$d(obj_value, path_value);
3191
3191
  if (referencepath_valueValidationError !== null) {
3192
3192
  let message = 'Object doesn\'t match SlackBridgeEmojiValueOutputRepresentation (at "' + path_value + '")\n';
3193
3193
  message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3215,24 +3215,24 @@ function validate$a(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
3215
3215
  })();
3216
3216
  return v_error === undefined ? null : v_error;
3217
3217
  }
3218
- const RepresentationType$a = 'SlackBridgeEmojiOutputRepresentation';
3219
- function keyBuilder$r(luvio, config) {
3220
- return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
3218
+ const RepresentationType$b = 'SlackBridgeEmojiOutputRepresentation';
3219
+ function keyBuilder$t(luvio, config) {
3220
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
3221
3221
  }
3222
3222
  function keyBuilderFromType$5(luvio, object) {
3223
3223
  const keyParams = {
3224
3224
  name: object.name
3225
3225
  };
3226
- return keyBuilder$r(luvio, keyParams);
3226
+ return keyBuilder$t(luvio, keyParams);
3227
3227
  }
3228
- function normalize$a(input, existing, path, luvio, store, timestamp) {
3228
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
3229
3229
  return input;
3230
3230
  }
3231
- const select$s = function SlackBridgeEmojiOutputRepresentationSelect() {
3232
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$t();
3231
+ const select$v = function SlackBridgeEmojiOutputRepresentationSelect() {
3232
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$w();
3233
3233
  return {
3234
3234
  kind: 'Fragment',
3235
- version: VERSION$a,
3235
+ version: VERSION$c,
3236
3236
  private: [],
3237
3237
  selections: [
3238
3238
  {
@@ -3264,7 +3264,7 @@ const select$s = function SlackBridgeEmojiOutputRepresentationSelect() {
3264
3264
  ]
3265
3265
  };
3266
3266
  };
3267
- function equals$a(existing, incoming) {
3267
+ function equals$c(existing, incoming) {
3268
3268
  const existing_name = existing.name;
3269
3269
  const incoming_name = incoming.name;
3270
3270
  if (!(existing_name === incoming_name)) {
@@ -3295,36 +3295,36 @@ function equals$a(existing, incoming) {
3295
3295
  if (!(existing_value === incoming_value
3296
3296
  || (existing_value != null &&
3297
3297
  incoming_value != null &&
3298
- equals$b(existing_value, incoming_value)))) {
3298
+ equals$d(existing_value, incoming_value)))) {
3299
3299
  return false;
3300
3300
  }
3301
3301
  return true;
3302
3302
  }
3303
- const ingest$a = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3303
+ const ingest$b = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3304
3304
  if (process.env.NODE_ENV !== 'production') {
3305
- const validateError = validate$a(input);
3305
+ const validateError = validate$c(input);
3306
3306
  if (validateError !== null) {
3307
3307
  throw validateError;
3308
3308
  }
3309
3309
  }
3310
3310
  const key = keyBuilderFromType$5(luvio, input);
3311
- const ttlToUse = TTL$1;
3312
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
3311
+ const ttlToUse = TTL$2;
3312
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$c, RepresentationType$b, equals$c);
3313
3313
  return createLink(key);
3314
3314
  };
3315
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3315
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3316
3316
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3317
3317
  const rootKey = keyBuilderFromType$5(luvio, input);
3318
3318
  rootKeySet.set(rootKey, {
3319
3319
  namespace: keyPrefix,
3320
- representationName: RepresentationType$a,
3320
+ representationName: RepresentationType$b,
3321
3321
  mergeable: false
3322
3322
  });
3323
3323
  }
3324
3324
 
3325
- const TTL = 600000;
3326
- const VERSION$9 = "ffc32ae0451b10824fba0c96aa0d2115";
3327
- function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3325
+ const TTL$1 = 600000;
3326
+ const VERSION$b = "2871ae193ac5e60b5cc0d6c4111e8615";
3327
+ function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3328
3328
  const v_error = (() => {
3329
3329
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3330
3330
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3695,8 +3695,29 @@ function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3695
3695
  }
3696
3696
  const obj_teamId = obj.teamId;
3697
3697
  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 + '")');
3698
+ let obj_teamId_union0 = null;
3699
+ const obj_teamId_union0_error = (() => {
3700
+ if (typeof obj_teamId !== 'string') {
3701
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
3702
+ }
3703
+ })();
3704
+ if (obj_teamId_union0_error != null) {
3705
+ obj_teamId_union0 = obj_teamId_union0_error.message;
3706
+ }
3707
+ let obj_teamId_union1 = null;
3708
+ const obj_teamId_union1_error = (() => {
3709
+ if (obj_teamId !== null) {
3710
+ return new TypeError('Expected "null" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
3711
+ }
3712
+ })();
3713
+ if (obj_teamId_union1_error != null) {
3714
+ obj_teamId_union1 = obj_teamId_union1_error.message;
3715
+ }
3716
+ if (obj_teamId_union0 && obj_teamId_union1) {
3717
+ let message = 'Object doesn\'t match union (at "' + path_teamId + '")';
3718
+ message += '\n' + obj_teamId_union0.split('\n').map((line) => '\t' + line).join('\n');
3719
+ message += '\n' + obj_teamId_union1.split('\n').map((line) => '\t' + line).join('\n');
3720
+ return new TypeError(message);
3700
3721
  }
3701
3722
  const obj_title = obj.title;
3702
3723
  const path_title = path + '.title';
@@ -3727,22 +3748,21 @@ function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3727
3748
  })();
3728
3749
  return v_error === undefined ? null : v_error;
3729
3750
  }
3730
- const RepresentationType$9 = 'SlackBridgeUserInfoOutputRepresentation';
3731
- function keyBuilder$q(luvio, config) {
3732
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.teamId + ':' + config.slackUserId;
3751
+ const RepresentationType$a = 'SlackBridgeUserInfoOutputRepresentation';
3752
+ function keyBuilder$s(luvio, config) {
3753
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.slackUserId;
3733
3754
  }
3734
3755
  function keyBuilderFromType$4(luvio, object) {
3735
3756
  const keyParams = {
3736
- teamId: object.teamId,
3737
3757
  slackUserId: object.slackUserId
3738
3758
  };
3739
- return keyBuilder$q(luvio, keyParams);
3759
+ return keyBuilder$s(luvio, keyParams);
3740
3760
  }
3741
- function normalize$9(input, existing, path, luvio, store, timestamp) {
3761
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
3742
3762
  const input_statusEmoji = input.statusEmoji;
3743
3763
  const input_statusEmoji_id = path.fullPath + '__statusEmoji';
3744
3764
  if (input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
3745
- input.statusEmoji = ingest$a(input_statusEmoji, {
3765
+ input.statusEmoji = ingest$b(input_statusEmoji, {
3746
3766
  fullPath: input_statusEmoji_id,
3747
3767
  propertyName: 'statusEmoji',
3748
3768
  parent: {
@@ -3755,10 +3775,10 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
3755
3775
  }
3756
3776
  return input;
3757
3777
  }
3758
- const select$r = function SlackBridgeUserInfoOutputRepresentationSelect() {
3778
+ const select$u = function SlackBridgeUserInfoOutputRepresentationSelect() {
3759
3779
  return {
3760
3780
  kind: 'Fragment',
3761
- version: VERSION$9,
3781
+ version: VERSION$b,
3762
3782
  private: [],
3763
3783
  selections: [
3764
3784
  {
@@ -3828,7 +3848,7 @@ const select$r = function SlackBridgeUserInfoOutputRepresentationSelect() {
3828
3848
  name: 'statusEmoji',
3829
3849
  kind: 'Link',
3830
3850
  nullable: true,
3831
- fragment: select$s()
3851
+ fragment: select$v()
3832
3852
  },
3833
3853
  {
3834
3854
  name: 'statusMessage',
@@ -3845,7 +3865,7 @@ const select$r = function SlackBridgeUserInfoOutputRepresentationSelect() {
3845
3865
  ]
3846
3866
  };
3847
3867
  };
3848
- function equals$9(existing, incoming) {
3868
+ function equals$b(existing, incoming) {
3849
3869
  const existing_bot = existing.bot;
3850
3870
  const incoming_bot = incoming.bot;
3851
3871
  if (!(existing_bot === incoming_bot)) {
@@ -3874,11 +3894,6 @@ function equals$9(existing, incoming) {
3874
3894
  if (!(existing_slackUserId === incoming_slackUserId)) {
3875
3895
  return false;
3876
3896
  }
3877
- const existing_teamId = existing.teamId;
3878
- const incoming_teamId = incoming.teamId;
3879
- if (!(existing_teamId === incoming_teamId)) {
3880
- return false;
3881
- }
3882
3897
  const existing_displayName = existing.displayName;
3883
3898
  const incoming_displayName = incoming.displayName;
3884
3899
  if (!(existing_displayName === incoming_displayName)) {
@@ -3965,6 +3980,11 @@ function equals$9(existing, incoming) {
3965
3980
  if (!(existing_statusMessage === incoming_statusMessage)) {
3966
3981
  return false;
3967
3982
  }
3983
+ const existing_teamId = existing.teamId;
3984
+ const incoming_teamId = incoming.teamId;
3985
+ if (!(existing_teamId === incoming_teamId)) {
3986
+ return false;
3987
+ }
3968
3988
  const existing_title = existing.title;
3969
3989
  const incoming_title = incoming.title;
3970
3990
  if (!(existing_title === incoming_title)) {
@@ -3972,33 +3992,33 @@ function equals$9(existing, incoming) {
3972
3992
  }
3973
3993
  return true;
3974
3994
  }
3975
- const ingest$9 = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3995
+ const ingest$a = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3976
3996
  if (process.env.NODE_ENV !== 'production') {
3977
- const validateError = validate$9(input);
3997
+ const validateError = validate$b(input);
3978
3998
  if (validateError !== null) {
3979
3999
  throw validateError;
3980
4000
  }
3981
4001
  }
3982
4002
  const key = keyBuilderFromType$4(luvio, input);
3983
- const ttlToUse = TTL;
3984
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
4003
+ const ttlToUse = TTL$1;
4004
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$b, RepresentationType$a, equals$b);
3985
4005
  return createLink(key);
3986
4006
  };
3987
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4007
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3988
4008
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3989
4009
  const rootKey = keyBuilderFromType$4(luvio, input);
3990
4010
  rootKeySet.set(rootKey, {
3991
4011
  namespace: keyPrefix,
3992
- representationName: RepresentationType$9,
4012
+ representationName: RepresentationType$a,
3993
4013
  mergeable: false
3994
4014
  });
3995
4015
  if (input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
3996
- getTypeCacheKeys$a(rootKeySet, luvio, input.statusEmoji);
4016
+ getTypeCacheKeys$b(rootKeySet, luvio, input.statusEmoji);
3997
4017
  }
3998
4018
  }
3999
4019
 
4000
- const VERSION$8 = "5145ac2c241c561e4baa29b3884748dc";
4001
- function validate$8(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
4020
+ const VERSION$a = "5145ac2c241c561e4baa29b3884748dc";
4021
+ function validate$a(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
4002
4022
  const v_error = (() => {
4003
4023
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4004
4024
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4049,14 +4069,14 @@ function validate$8(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
4049
4069
  })();
4050
4070
  return v_error === undefined ? null : v_error;
4051
4071
  }
4052
- const RepresentationType$8 = 'SlackBridgeConversationHistoryOutputRepresentation';
4053
- function normalize$8(input, existing, path, luvio, store, timestamp) {
4072
+ const RepresentationType$9 = 'SlackBridgeConversationHistoryOutputRepresentation';
4073
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
4054
4074
  const input_messages = input.messages;
4055
4075
  const input_messages_id = path.fullPath + '__messages';
4056
4076
  for (let i = 0; i < input_messages.length; i++) {
4057
4077
  const input_messages_item = input_messages[i];
4058
4078
  let input_messages_item_id = input_messages_id + '__' + i;
4059
- input_messages[i] = ingest$c(input_messages_item, {
4079
+ input_messages[i] = ingest$d(input_messages_item, {
4060
4080
  fullPath: input_messages_item_id,
4061
4081
  propertyName: i,
4062
4082
  parent: {
@@ -4069,10 +4089,10 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4069
4089
  }
4070
4090
  return input;
4071
4091
  }
4072
- const select$q = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4092
+ const select$t = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
4073
4093
  return {
4074
4094
  kind: 'Fragment',
4075
- version: VERSION$8,
4095
+ version: VERSION$a,
4076
4096
  private: [],
4077
4097
  selections: [
4078
4098
  {
@@ -4083,7 +4103,7 @@ const select$q = function SlackBridgeConversationHistoryOutputRepresentationSele
4083
4103
  name: 'messages',
4084
4104
  kind: 'Link',
4085
4105
  plural: true,
4086
- fragment: select$w()
4106
+ fragment: select$z()
4087
4107
  },
4088
4108
  {
4089
4109
  name: 'nextCursor',
@@ -4092,7 +4112,7 @@ const select$q = function SlackBridgeConversationHistoryOutputRepresentationSele
4092
4112
  ]
4093
4113
  };
4094
4114
  };
4095
- function equals$8(existing, incoming) {
4115
+ function equals$a(existing, incoming) {
4096
4116
  const existing_hasMore = existing.hasMore;
4097
4117
  const incoming_hasMore = incoming.hasMore;
4098
4118
  if (!(existing_hasMore === incoming_hasMore)) {
@@ -4115,34 +4135,34 @@ function equals$8(existing, incoming) {
4115
4135
  }
4116
4136
  return true;
4117
4137
  }
4118
- const ingest$8 = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4138
+ const ingest$9 = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4119
4139
  if (process.env.NODE_ENV !== 'production') {
4120
- const validateError = validate$8(input);
4140
+ const validateError = validate$a(input);
4121
4141
  if (validateError !== null) {
4122
4142
  throw validateError;
4123
4143
  }
4124
4144
  }
4125
4145
  const key = path.fullPath;
4126
4146
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4127
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
4147
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$a, RepresentationType$9, equals$a);
4128
4148
  return createLink(key);
4129
4149
  };
4130
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4150
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4131
4151
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4132
4152
  const rootKey = fullPathFactory();
4133
4153
  rootKeySet.set(rootKey, {
4134
4154
  namespace: keyPrefix,
4135
- representationName: RepresentationType$8,
4155
+ representationName: RepresentationType$9,
4136
4156
  mergeable: false
4137
4157
  });
4138
4158
  const input_messages_length = input.messages.length;
4139
4159
  for (let i = 0; i < input_messages_length; i++) {
4140
- getTypeCacheKeys$c(rootKeySet, luvio, input.messages[i], () => '');
4160
+ getTypeCacheKeys$d(rootKeySet, luvio, input.messages[i], () => '');
4141
4161
  }
4142
4162
  }
4143
4163
 
4144
- const VERSION$7 = "7ec6cbca3e2948ff5ef00e4034f365d5";
4145
- function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4164
+ const VERSION$9 = "7ec6cbca3e2948ff5ef00e4034f365d5";
4165
+ function validate$9(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4146
4166
  const v_error = (() => {
4147
4167
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4148
4168
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4286,12 +4306,12 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
4286
4306
  })();
4287
4307
  return v_error === undefined ? null : v_error;
4288
4308
  }
4289
- const RepresentationType$7 = 'SlackBridgeConversationOutputRepresentation';
4290
- function normalize$7(input, existing, path, luvio, store, timestamp) {
4309
+ const RepresentationType$8 = 'SlackBridgeConversationOutputRepresentation';
4310
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
4291
4311
  const input_contextUserInfo = input.contextUserInfo;
4292
4312
  const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
4293
4313
  if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
4294
- input.contextUserInfo = ingest$9(input_contextUserInfo, {
4314
+ input.contextUserInfo = ingest$a(input_contextUserInfo, {
4295
4315
  fullPath: input_contextUserInfo_id,
4296
4316
  propertyName: 'contextUserInfo',
4297
4317
  parent: {
@@ -4305,7 +4325,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
4305
4325
  const input_conversationInfo = input.conversationInfo;
4306
4326
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
4307
4327
  if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
4308
- input.conversationInfo = ingest$e(input_conversationInfo, {
4328
+ input.conversationInfo = ingest$f(input_conversationInfo, {
4309
4329
  fullPath: input_conversationInfo_id,
4310
4330
  propertyName: 'conversationInfo',
4311
4331
  parent: {
@@ -4318,7 +4338,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
4318
4338
  }
4319
4339
  const input_history = input.history;
4320
4340
  const input_history_id = path.fullPath + '__history';
4321
- input.history = ingest$8(input_history, {
4341
+ input.history = ingest$9(input_history, {
4322
4342
  fullPath: input_history_id,
4323
4343
  propertyName: 'history',
4324
4344
  parent: {
@@ -4333,7 +4353,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
4333
4353
  for (let i = 0; i < input_userInfos.length; i++) {
4334
4354
  const input_userInfos_item = input_userInfos[i];
4335
4355
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
4336
- input_userInfos[i] = ingest$9(input_userInfos_item, {
4356
+ input_userInfos[i] = ingest$a(input_userInfos_item, {
4337
4357
  fullPath: input_userInfos_item_id,
4338
4358
  propertyName: i,
4339
4359
  parent: {
@@ -4346,10 +4366,10 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
4346
4366
  }
4347
4367
  return input;
4348
4368
  }
4349
- const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
4369
+ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
4350
4370
  return {
4351
4371
  kind: 'Fragment',
4352
- version: VERSION$7,
4372
+ version: VERSION$9,
4353
4373
  private: [],
4354
4374
  selections: [
4355
4375
  {
@@ -4364,18 +4384,18 @@ const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
4364
4384
  name: 'contextUserInfo',
4365
4385
  kind: 'Link',
4366
4386
  nullable: true,
4367
- fragment: select$r()
4387
+ fragment: select$u()
4368
4388
  },
4369
4389
  {
4370
4390
  name: 'conversationInfo',
4371
4391
  kind: 'Link',
4372
4392
  nullable: true,
4373
- fragment: select$B()
4393
+ fragment: select$E()
4374
4394
  },
4375
4395
  {
4376
4396
  name: 'history',
4377
4397
  kind: 'Link',
4378
- fragment: select$q()
4398
+ fragment: select$t()
4379
4399
  },
4380
4400
  {
4381
4401
  name: 'teamId',
@@ -4389,7 +4409,7 @@ const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
4389
4409
  name: 'userInfos',
4390
4410
  kind: 'Link',
4391
4411
  plural: true,
4392
- fragment: select$r()
4412
+ fragment: select$u()
4393
4413
  },
4394
4414
  {
4395
4415
  name: 'websocketUrl',
@@ -4398,7 +4418,7 @@ const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
4398
4418
  ]
4399
4419
  };
4400
4420
  };
4401
- function equals$7(existing, incoming) {
4421
+ function equals$9(existing, incoming) {
4402
4422
  const existing_channelId = existing.channelId;
4403
4423
  const incoming_channelId = incoming.channelId;
4404
4424
  if (!(existing_channelId === incoming_channelId)) {
@@ -4461,55 +4481,55 @@ function equals$7(existing, incoming) {
4461
4481
  }
4462
4482
  return true;
4463
4483
  }
4464
- const ingest$7 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4484
+ const ingest$8 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4465
4485
  if (process.env.NODE_ENV !== 'production') {
4466
- const validateError = validate$7(input);
4486
+ const validateError = validate$9(input);
4467
4487
  if (validateError !== null) {
4468
4488
  throw validateError;
4469
4489
  }
4470
4490
  }
4471
4491
  const key = path.fullPath;
4472
4492
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4473
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$7, RepresentationType$7, equals$7);
4493
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$9, RepresentationType$8, equals$9);
4474
4494
  return createLink(key);
4475
4495
  };
4476
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4496
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4477
4497
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4478
4498
  const rootKey = fullPathFactory();
4479
4499
  rootKeySet.set(rootKey, {
4480
4500
  namespace: keyPrefix,
4481
- representationName: RepresentationType$7,
4501
+ representationName: RepresentationType$8,
4482
4502
  mergeable: false
4483
4503
  });
4484
4504
  if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
4485
- getTypeCacheKeys$9(rootKeySet, luvio, input.contextUserInfo);
4505
+ getTypeCacheKeys$a(rootKeySet, luvio, input.contextUserInfo);
4486
4506
  }
4487
4507
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
4488
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
4508
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4489
4509
  }
4490
- getTypeCacheKeys$8(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
4510
+ getTypeCacheKeys$9(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
4491
4511
  const input_userInfos_length = input.userInfos.length;
4492
4512
  for (let i = 0; i < input_userInfos_length; i++) {
4493
- getTypeCacheKeys$9(rootKeySet, luvio, input.userInfos[i]);
4513
+ getTypeCacheKeys$a(rootKeySet, luvio, input.userInfos[i]);
4494
4514
  }
4495
4515
  }
4496
4516
 
4497
- function select$o(luvio, params) {
4498
- return select$p();
4517
+ function select$r(luvio, params) {
4518
+ return select$s();
4499
4519
  }
4500
- function keyBuilder$p(luvio, params) {
4520
+ function keyBuilder$r(luvio, params) {
4501
4521
  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
4522
  }
4503
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4504
- getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$p(luvio, resourceParams));
4523
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4524
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
4505
4525
  }
4506
- function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4526
+ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4507
4527
  const { body } = response;
4508
- const key = keyBuilder$p(luvio, resourceParams);
4509
- luvio.storeIngest(key, ingest$7, body);
4528
+ const key = keyBuilder$r(luvio, resourceParams);
4529
+ luvio.storeIngest(key, ingest$8, body);
4510
4530
  const snapshot = luvio.storeLookup({
4511
4531
  recordId: key,
4512
- node: select$o(),
4532
+ node: select$r(),
4513
4533
  variables: {},
4514
4534
  }, snapshotRefresh);
4515
4535
  if (process.env.NODE_ENV !== 'production') {
@@ -4520,13 +4540,13 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4520
4540
  deepFreeze(snapshot.data);
4521
4541
  return snapshot;
4522
4542
  }
4523
- function ingestError$a(luvio, params, error, snapshotRefresh) {
4524
- const key = keyBuilder$p(luvio, params);
4543
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
4544
+ const key = keyBuilder$r(luvio, params);
4525
4545
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4526
4546
  luvio.storeIngestError(key, errorSnapshot);
4527
4547
  return errorSnapshot;
4528
4548
  }
4529
- function createResourceRequest$h(config) {
4549
+ function createResourceRequest$i(config) {
4530
4550
  const headers = {};
4531
4551
  return {
4532
4552
  baseUri: '/services/data/v64.0',
@@ -4540,7 +4560,7 @@ function createResourceRequest$h(config) {
4540
4560
  };
4541
4561
  }
4542
4562
 
4543
- const adapterName$h = 'getSlackConversation';
4563
+ const adapterName$i = 'getSlackConversation';
4544
4564
  const getSlackConversation_ConfigPropertyMetadata = [
4545
4565
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
4546
4566
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -4552,15 +4572,158 @@ const getSlackConversation_ConfigPropertyMetadata = [
4552
4572
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
4553
4573
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
4554
4574
  ];
4555
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackConversation_ConfigPropertyMetadata);
4556
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$m(getSlackConversation_ConfigPropertyMetadata);
4575
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackConversation_ConfigPropertyMetadata);
4576
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$n(getSlackConversation_ConfigPropertyMetadata);
4577
+ function keyBuilder$q(luvio, config) {
4578
+ const resourceParams = createResourceParams$i(config);
4579
+ return keyBuilder$r(luvio, resourceParams);
4580
+ }
4581
+ function typeCheckConfig$i(untrustedConfig) {
4582
+ const config = {};
4583
+ typeCheckConfig$n(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
4584
+ return config;
4585
+ }
4586
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4587
+ if (!untrustedIsObject(untrustedConfig)) {
4588
+ return null;
4589
+ }
4590
+ if (process.env.NODE_ENV !== 'production') {
4591
+ validateConfig(untrustedConfig, configPropertyNames);
4592
+ }
4593
+ const config = typeCheckConfig$i(untrustedConfig);
4594
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4595
+ return null;
4596
+ }
4597
+ return config;
4598
+ }
4599
+ function adapterFragment$b(luvio, config) {
4600
+ createResourceParams$i(config);
4601
+ return select$r();
4602
+ }
4603
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4604
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
4605
+ config,
4606
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4607
+ });
4608
+ return luvio.storeBroadcast().then(() => snapshot);
4609
+ }
4610
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
4611
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
4612
+ config,
4613
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4614
+ });
4615
+ return luvio.storeBroadcast().then(() => snapshot);
4616
+ }
4617
+ function buildNetworkSnapshot$i(luvio, config, options) {
4618
+ const resourceParams = createResourceParams$i(config);
4619
+ const request = createResourceRequest$i(resourceParams);
4620
+ return luvio.dispatchResourceRequest(request, options)
4621
+ .then((response) => {
4622
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4623
+ const cache = new StoreKeyMap();
4624
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4625
+ return cache;
4626
+ });
4627
+ }, (response) => {
4628
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4629
+ });
4630
+ }
4631
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4632
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4633
+ }
4634
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4635
+ const { luvio, config } = context;
4636
+ const selector = {
4637
+ recordId: keyBuilder$q(luvio, config),
4638
+ node: adapterFragment$b(luvio, config),
4639
+ variables: {},
4640
+ };
4641
+ const cacheSnapshot = storeLookup(selector, {
4642
+ config,
4643
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4644
+ });
4645
+ return cacheSnapshot;
4646
+ }
4647
+ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
4648
+ const config = validateAdapterConfig$i(untrustedConfig, getSlackConversation_ConfigPropertyNames);
4649
+ // Invalid or incomplete config
4650
+ if (config === null) {
4651
+ return null;
4652
+ }
4653
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4654
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4655
+ };
4656
+
4657
+ function select$q(luvio, params) {
4658
+ return select$I();
4659
+ }
4660
+ function keyBuilder$p(luvio, params) {
4661
+ return keyBuilder$D(luvio, {
4662
+ channelId: params.urlParams.channelId
4663
+ });
4664
+ }
4665
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4666
+ getTypeCacheKeys$i(storeKeyMap, luvio, response);
4667
+ }
4668
+ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
4669
+ const { body } = response;
4670
+ const key = keyBuilder$p(luvio, resourceParams);
4671
+ luvio.storeIngest(key, ingest$i, body);
4672
+ const snapshot = luvio.storeLookup({
4673
+ recordId: key,
4674
+ node: select$q(),
4675
+ variables: {},
4676
+ }, snapshotRefresh);
4677
+ if (process.env.NODE_ENV !== 'production') {
4678
+ if (snapshot.state !== 'Fulfilled') {
4679
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4680
+ }
4681
+ }
4682
+ deepFreeze(snapshot.data);
4683
+ return snapshot;
4684
+ }
4685
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
4686
+ const key = keyBuilder$p(luvio, params);
4687
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4688
+ luvio.storeIngestError(key, errorSnapshot);
4689
+ return errorSnapshot;
4690
+ }
4691
+ function createResourceRequest$h(config) {
4692
+ const headers = {};
4693
+ return {
4694
+ baseUri: '/services/data/v64.0',
4695
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members/' + config.urlParams.slackUserId + '',
4696
+ method: 'get',
4697
+ body: null,
4698
+ urlParams: config.urlParams,
4699
+ queryParams: {},
4700
+ headers,
4701
+ priority: 'normal',
4702
+ };
4703
+ }
4704
+ function createResourceRequestFromRepresentation$5(representation) {
4705
+ const config = {
4706
+ urlParams: {},
4707
+ };
4708
+ config.urlParams.channelId = representation.channelId;
4709
+ return createResourceRequest$h(config);
4710
+ }
4711
+
4712
+ const adapterName$h = 'getSlackConversationMember';
4713
+ const getSlackConversationMember_ConfigPropertyMetadata = [
4714
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4715
+ generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
4716
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4717
+ ];
4718
+ const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackConversationMember_ConfigPropertyMetadata);
4719
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$n(getSlackConversationMember_ConfigPropertyMetadata);
4557
4720
  function keyBuilder$o(luvio, config) {
4558
4721
  const resourceParams = createResourceParams$h(config);
4559
4722
  return keyBuilder$p(luvio, resourceParams);
4560
4723
  }
4561
4724
  function typeCheckConfig$h(untrustedConfig) {
4562
4725
  const config = {};
4563
- typeCheckConfig$m(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
4726
+ typeCheckConfig$n(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
4564
4727
  return config;
4565
4728
  }
4566
4729
  function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
@@ -4578,7 +4741,7 @@ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4578
4741
  }
4579
4742
  function adapterFragment$a(luvio, config) {
4580
4743
  createResourceParams$h(config);
4581
- return select$o();
4744
+ return select$q();
4582
4745
  }
4583
4746
  function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4584
4747
  const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
@@ -4609,7 +4772,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
4609
4772
  });
4610
4773
  }
4611
4774
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4612
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4775
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4613
4776
  }
4614
4777
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4615
4778
  const { luvio, config } = context;
@@ -4624,8 +4787,8 @@ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4624
4787
  });
4625
4788
  return cacheSnapshot;
4626
4789
  }
4627
- const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
4628
- const config = validateAdapterConfig$h(untrustedConfig, getSlackConversation_ConfigPropertyNames);
4790
+ const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
4791
+ const config = validateAdapterConfig$h(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
4629
4792
  // Invalid or incomplete config
4630
4793
  if (config === null) {
4631
4794
  return null;
@@ -4633,25 +4796,186 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
4633
4796
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4634
4797
  buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4635
4798
  };
4799
+ const notifyChangeFactory$5 = (luvio, options) => {
4800
+ return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamIdNotifyChange(configs) {
4801
+ const keys = configs.map(c => keyBuilder$D(luvio, c));
4802
+ luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4803
+ for (let i = 0, len = entries.length; i < len; i++) {
4804
+ const { key, record: val } = entries[i];
4805
+ const refreshRequest = createResourceRequestFromRepresentation$5(val);
4806
+ luvio.dispatchResourceRequest(refreshRequest, options)
4807
+ .then((response) => {
4808
+ return luvio.handleSuccessResponse(() => {
4809
+ const { body } = response;
4810
+ luvio.storeIngest(key, ingest$i, body);
4811
+ return luvio.storeBroadcast();
4812
+ }, () => {
4813
+ const cache = new StoreKeyMap();
4814
+ getTypeCacheKeys$i(cache, luvio, response.body);
4815
+ return cache;
4816
+ });
4817
+ }, (error) => {
4818
+ return luvio.handleErrorResponse(() => {
4819
+ const errorSnapshot = luvio.errorSnapshot(error);
4820
+ luvio.storeIngestError(key, errorSnapshot, undefined);
4821
+ return luvio.storeBroadcast().then(() => errorSnapshot);
4822
+ });
4823
+ });
4824
+ }
4825
+ });
4826
+ };
4827
+ };
4828
+
4829
+ const VERSION$8 = "30b0f3c5bd175b72d9b304944fd9d682";
4830
+ function validate$8(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4831
+ const v_error = (() => {
4832
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4833
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4834
+ }
4835
+ const obj_channelId = obj.channelId;
4836
+ const path_channelId = path + '.channelId';
4837
+ if (typeof obj_channelId !== 'string') {
4838
+ return new TypeError('Expected "string" but received "' + typeof obj_channelId + '" (at "' + path_channelId + '")');
4839
+ }
4840
+ const obj_nextCursor = obj.nextCursor;
4841
+ const path_nextCursor = path + '.nextCursor';
4842
+ let obj_nextCursor_union0 = null;
4843
+ const obj_nextCursor_union0_error = (() => {
4844
+ if (typeof obj_nextCursor !== 'string') {
4845
+ return new TypeError('Expected "string" but received "' + typeof obj_nextCursor + '" (at "' + path_nextCursor + '")');
4846
+ }
4847
+ })();
4848
+ if (obj_nextCursor_union0_error != null) {
4849
+ obj_nextCursor_union0 = obj_nextCursor_union0_error.message;
4850
+ }
4851
+ let obj_nextCursor_union1 = null;
4852
+ const obj_nextCursor_union1_error = (() => {
4853
+ if (obj_nextCursor !== null) {
4854
+ return new TypeError('Expected "null" but received "' + typeof obj_nextCursor + '" (at "' + path_nextCursor + '")');
4855
+ }
4856
+ })();
4857
+ if (obj_nextCursor_union1_error != null) {
4858
+ obj_nextCursor_union1 = obj_nextCursor_union1_error.message;
4859
+ }
4860
+ if (obj_nextCursor_union0 && obj_nextCursor_union1) {
4861
+ let message = 'Object doesn\'t match union (at "' + path_nextCursor + '")';
4862
+ message += '\n' + obj_nextCursor_union0.split('\n').map((line) => '\t' + line).join('\n');
4863
+ message += '\n' + obj_nextCursor_union1.split('\n').map((line) => '\t' + line).join('\n');
4864
+ return new TypeError(message);
4865
+ }
4866
+ const obj_slackUserIds = obj.slackUserIds;
4867
+ const path_slackUserIds = path + '.slackUserIds';
4868
+ if (!ArrayIsArray(obj_slackUserIds)) {
4869
+ return new TypeError('Expected "array" but received "' + typeof obj_slackUserIds + '" (at "' + path_slackUserIds + '")');
4870
+ }
4871
+ for (let i = 0; i < obj_slackUserIds.length; i++) {
4872
+ const obj_slackUserIds_item = obj_slackUserIds[i];
4873
+ const path_slackUserIds_item = path_slackUserIds + '[' + i + ']';
4874
+ if (typeof obj_slackUserIds_item !== 'string') {
4875
+ return new TypeError('Expected "string" but received "' + typeof obj_slackUserIds_item + '" (at "' + path_slackUserIds_item + '")');
4876
+ }
4877
+ }
4878
+ })();
4879
+ return v_error === undefined ? null : v_error;
4880
+ }
4881
+ const RepresentationType$7 = 'SlackBridgeConversationMembersOutputRepresentation';
4882
+ function keyBuilder$n(luvio, config) {
4883
+ return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
4884
+ }
4885
+ function keyBuilderFromType$3(luvio, object) {
4886
+ const keyParams = {
4887
+ channelId: object.channelId
4888
+ };
4889
+ return keyBuilder$n(luvio, keyParams);
4890
+ }
4891
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
4892
+ return input;
4893
+ }
4894
+ const select$p = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4895
+ return {
4896
+ kind: 'Fragment',
4897
+ version: VERSION$8,
4898
+ private: [],
4899
+ selections: [
4900
+ {
4901
+ name: 'channelId',
4902
+ kind: 'Scalar'
4903
+ },
4904
+ {
4905
+ name: 'nextCursor',
4906
+ kind: 'Scalar'
4907
+ },
4908
+ {
4909
+ name: 'slackUserIds',
4910
+ kind: 'Scalar',
4911
+ plural: true
4912
+ }
4913
+ ]
4914
+ };
4915
+ };
4916
+ function equals$8(existing, incoming) {
4917
+ const existing_channelId = existing.channelId;
4918
+ const incoming_channelId = incoming.channelId;
4919
+ if (!(existing_channelId === incoming_channelId)) {
4920
+ return false;
4921
+ }
4922
+ const existing_nextCursor = existing.nextCursor;
4923
+ const incoming_nextCursor = incoming.nextCursor;
4924
+ if (!(existing_nextCursor === incoming_nextCursor)) {
4925
+ return false;
4926
+ }
4927
+ const existing_slackUserIds = existing.slackUserIds;
4928
+ const incoming_slackUserIds = incoming.slackUserIds;
4929
+ const equals_slackUserIds_items = equalsArray(existing_slackUserIds, incoming_slackUserIds, (existing_slackUserIds_item, incoming_slackUserIds_item) => {
4930
+ if (!(existing_slackUserIds_item === incoming_slackUserIds_item)) {
4931
+ return false;
4932
+ }
4933
+ });
4934
+ if (equals_slackUserIds_items === false) {
4935
+ return false;
4936
+ }
4937
+ return true;
4938
+ }
4939
+ const ingest$7 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4940
+ if (process.env.NODE_ENV !== 'production') {
4941
+ const validateError = validate$8(input);
4942
+ if (validateError !== null) {
4943
+ throw validateError;
4944
+ }
4945
+ }
4946
+ const key = keyBuilderFromType$3(luvio, input);
4947
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4948
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$8, RepresentationType$7, equals$8);
4949
+ return createLink(key);
4950
+ };
4951
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4952
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4953
+ const rootKey = keyBuilderFromType$3(luvio, input);
4954
+ rootKeySet.set(rootKey, {
4955
+ namespace: keyPrefix,
4956
+ representationName: RepresentationType$7,
4957
+ mergeable: false
4958
+ });
4959
+ }
4636
4960
 
4637
- function select$n(luvio, params) {
4638
- return select$F();
4961
+ function select$o(luvio, params) {
4962
+ return select$p();
4639
4963
  }
4640
- function keyBuilder$n(luvio, params) {
4641
- return keyBuilder$B(luvio, {
4964
+ function keyBuilder$m(luvio, params) {
4965
+ return keyBuilder$n(luvio, {
4642
4966
  channelId: params.urlParams.channelId
4643
4967
  });
4644
4968
  }
4645
4969
  function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4646
- getTypeCacheKeys$h(storeKeyMap, luvio, response);
4970
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
4647
4971
  }
4648
4972
  function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4649
4973
  const { body } = response;
4650
- const key = keyBuilder$n(luvio, resourceParams);
4651
- luvio.storeIngest(key, ingest$h, body);
4974
+ const key = keyBuilder$m(luvio, resourceParams);
4975
+ luvio.storeIngest(key, ingest$7, body);
4652
4976
  const snapshot = luvio.storeLookup({
4653
4977
  recordId: key,
4654
- node: select$n(),
4978
+ node: select$o(),
4655
4979
  variables: {},
4656
4980
  }, snapshotRefresh);
4657
4981
  if (process.env.NODE_ENV !== 'production') {
@@ -4663,7 +4987,7 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
4663
4987
  return snapshot;
4664
4988
  }
4665
4989
  function ingestError$9(luvio, params, error, snapshotRefresh) {
4666
- const key = keyBuilder$n(luvio, params);
4990
+ const key = keyBuilder$m(luvio, params);
4667
4991
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4668
4992
  luvio.storeIngestError(key, errorSnapshot);
4669
4993
  return errorSnapshot;
@@ -4672,7 +4996,7 @@ function createResourceRequest$g(config) {
4672
4996
  const headers = {};
4673
4997
  return {
4674
4998
  baseUri: '/services/data/v64.0',
4675
- basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members/' + config.urlParams.slackUserId + '',
4999
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members',
4676
5000
  method: 'get',
4677
5001
  body: null,
4678
5002
  urlParams: config.urlParams,
@@ -4681,7 +5005,7 @@ function createResourceRequest$g(config) {
4681
5005
  priority: 'normal',
4682
5006
  };
4683
5007
  }
4684
- function createResourceRequestFromRepresentation$5(representation) {
5008
+ function createResourceRequestFromRepresentation$4(representation) {
4685
5009
  const config = {
4686
5010
  urlParams: {},
4687
5011
  };
@@ -4689,21 +5013,20 @@ function createResourceRequestFromRepresentation$5(representation) {
4689
5013
  return createResourceRequest$g(config);
4690
5014
  }
4691
5015
 
4692
- const adapterName$g = 'getSlackConversationMember';
4693
- const getSlackConversationMember_ConfigPropertyMetadata = [
5016
+ const adapterName$g = 'getSlackConversationMembers';
5017
+ const getSlackConversationMembers_ConfigPropertyMetadata = [
4694
5018
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4695
- generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
4696
5019
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4697
5020
  ];
4698
- const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMember_ConfigPropertyMetadata);
4699
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$m(getSlackConversationMember_ConfigPropertyMetadata);
4700
- function keyBuilder$m(luvio, config) {
5021
+ const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversationMembers_ConfigPropertyMetadata);
5022
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$n(getSlackConversationMembers_ConfigPropertyMetadata);
5023
+ function keyBuilder$l(luvio, config) {
4701
5024
  const resourceParams = createResourceParams$g(config);
4702
- return keyBuilder$n(luvio, resourceParams);
5025
+ return keyBuilder$m(luvio, resourceParams);
4703
5026
  }
4704
5027
  function typeCheckConfig$g(untrustedConfig) {
4705
5028
  const config = {};
4706
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5029
+ typeCheckConfig$n(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
4707
5030
  return config;
4708
5031
  }
4709
5032
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -4721,7 +5044,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
4721
5044
  }
4722
5045
  function adapterFragment$9(luvio, config) {
4723
5046
  createResourceParams$g(config);
4724
- return select$n();
5047
+ return select$o();
4725
5048
  }
4726
5049
  function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
4727
5050
  const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
@@ -4752,12 +5075,12 @@ function buildNetworkSnapshot$g(luvio, config, options) {
4752
5075
  });
4753
5076
  }
4754
5077
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4755
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
5078
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4756
5079
  }
4757
5080
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4758
5081
  const { luvio, config } = context;
4759
5082
  const selector = {
4760
- recordId: keyBuilder$m(luvio, config),
5083
+ recordId: keyBuilder$l(luvio, config),
4761
5084
  node: adapterFragment$9(luvio, config),
4762
5085
  variables: {},
4763
5086
  };
@@ -4767,8 +5090,8 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4767
5090
  });
4768
5091
  return cacheSnapshot;
4769
5092
  }
4770
- const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
4771
- const config = validateAdapterConfig$g(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
5093
+ const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
5094
+ const config = validateAdapterConfig$g(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
4772
5095
  // Invalid or incomplete config
4773
5096
  if (config === null) {
4774
5097
  return null;
@@ -4776,22 +5099,22 @@ const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge
4776
5099
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4777
5100
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4778
5101
  };
4779
- const notifyChangeFactory$5 = (luvio, options) => {
4780
- return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamIdNotifyChange(configs) {
4781
- const keys = configs.map(c => keyBuilder$B(luvio, c));
5102
+ const notifyChangeFactory$4 = (luvio, options) => {
5103
+ return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamIdNotifyChange(configs) {
5104
+ const keys = configs.map(c => keyBuilder$n(luvio, c));
4782
5105
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4783
5106
  for (let i = 0, len = entries.length; i < len; i++) {
4784
5107
  const { key, record: val } = entries[i];
4785
- const refreshRequest = createResourceRequestFromRepresentation$5(val);
5108
+ const refreshRequest = createResourceRequestFromRepresentation$4(val);
4786
5109
  luvio.dispatchResourceRequest(refreshRequest, options)
4787
5110
  .then((response) => {
4788
5111
  return luvio.handleSuccessResponse(() => {
4789
5112
  const { body } = response;
4790
- luvio.storeIngest(key, ingest$h, body);
5113
+ luvio.storeIngest(key, ingest$7, body);
4791
5114
  return luvio.storeBroadcast();
4792
5115
  }, () => {
4793
5116
  const cache = new StoreKeyMap();
4794
- getTypeCacheKeys$h(cache, luvio, response.body);
5117
+ getTypeCacheKeys$7(cache, luvio, response.body);
4795
5118
  return cache;
4796
5119
  });
4797
5120
  }, (error) => {
@@ -4806,131 +5129,158 @@ const notifyChangeFactory$5 = (luvio, options) => {
4806
5129
  };
4807
5130
  };
4808
5131
 
4809
- const VERSION$6 = "30b0f3c5bd175b72d9b304944fd9d682";
4810
- function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
5132
+ const VERSION$7 = "d6833ffbee3e599bfdef928466ea65af";
5133
+ function validate$7(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
4811
5134
  const v_error = (() => {
4812
5135
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4813
5136
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4814
5137
  }
4815
- const obj_channelId = obj.channelId;
4816
- const path_channelId = path + '.channelId';
4817
- if (typeof obj_channelId !== 'string') {
4818
- return new TypeError('Expected "string" but received "' + typeof obj_channelId + '" (at "' + path_channelId + '")');
4819
- }
4820
- const obj_nextCursor = obj.nextCursor;
4821
- const path_nextCursor = path + '.nextCursor';
4822
- let obj_nextCursor_union0 = null;
4823
- const obj_nextCursor_union0_error = (() => {
4824
- if (typeof obj_nextCursor !== 'string') {
4825
- return new TypeError('Expected "string" but received "' + typeof obj_nextCursor + '" (at "' + path_nextCursor + '")');
4826
- }
4827
- })();
4828
- if (obj_nextCursor_union0_error != null) {
4829
- obj_nextCursor_union0 = obj_nextCursor_union0_error.message;
4830
- }
4831
- let obj_nextCursor_union1 = null;
4832
- const obj_nextCursor_union1_error = (() => {
4833
- if (obj_nextCursor !== null) {
4834
- return new TypeError('Expected "null" but received "' + typeof obj_nextCursor + '" (at "' + path_nextCursor + '")');
4835
- }
4836
- })();
4837
- if (obj_nextCursor_union1_error != null) {
4838
- obj_nextCursor_union1 = obj_nextCursor_union1_error.message;
5138
+ const obj_status = obj.status;
5139
+ const path_status = path + '.status';
5140
+ if (typeof obj_status !== 'string') {
5141
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
4839
5142
  }
4840
- if (obj_nextCursor_union0 && obj_nextCursor_union1) {
4841
- let message = 'Object doesn\'t match union (at "' + path_nextCursor + '")';
4842
- message += '\n' + obj_nextCursor_union0.split('\n').map((line) => '\t' + line).join('\n');
4843
- message += '\n' + obj_nextCursor_union1.split('\n').map((line) => '\t' + line).join('\n');
4844
- return new TypeError(message);
5143
+ const obj_teamDomain = obj.teamDomain;
5144
+ const path_teamDomain = path + '.teamDomain';
5145
+ if (typeof obj_teamDomain !== 'string') {
5146
+ return new TypeError('Expected "string" but received "' + typeof obj_teamDomain + '" (at "' + path_teamDomain + '")');
4845
5147
  }
4846
- const obj_slackUserIds = obj.slackUserIds;
4847
- const path_slackUserIds = path + '.slackUserIds';
4848
- if (!ArrayIsArray(obj_slackUserIds)) {
4849
- return new TypeError('Expected "array" but received "' + typeof obj_slackUserIds + '" (at "' + path_slackUserIds + '")');
5148
+ const obj_teamId = obj.teamId;
5149
+ const path_teamId = path + '.teamId';
5150
+ if (typeof obj_teamId !== 'string') {
5151
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
4850
5152
  }
4851
- for (let i = 0; i < obj_slackUserIds.length; i++) {
4852
- const obj_slackUserIds_item = obj_slackUserIds[i];
4853
- const path_slackUserIds_item = path_slackUserIds + '[' + i + ']';
4854
- if (typeof obj_slackUserIds_item !== 'string') {
4855
- return new TypeError('Expected "string" but received "' + typeof obj_slackUserIds_item + '" (at "' + path_slackUserIds_item + '")');
4856
- }
5153
+ const obj_teamName = obj.teamName;
5154
+ const path_teamName = path + '.teamName';
5155
+ if (typeof obj_teamName !== 'string') {
5156
+ return new TypeError('Expected "string" but received "' + typeof obj_teamName + '" (at "' + path_teamName + '")');
4857
5157
  }
4858
5158
  })();
4859
5159
  return v_error === undefined ? null : v_error;
4860
5160
  }
4861
- const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
4862
- function keyBuilder$l(luvio, config) {
4863
- return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
4864
- }
4865
- function keyBuilderFromType$3(luvio, object) {
4866
- const keyParams = {
4867
- channelId: object.channelId
5161
+ const select$n = function SlackBridgeSlackTeamOutputRepresentationSelect() {
5162
+ return {
5163
+ kind: 'Fragment',
5164
+ version: VERSION$7,
5165
+ private: [],
5166
+ selections: [
5167
+ {
5168
+ name: 'status',
5169
+ kind: 'Scalar'
5170
+ },
5171
+ {
5172
+ name: 'teamDomain',
5173
+ kind: 'Scalar'
5174
+ },
5175
+ {
5176
+ name: 'teamId',
5177
+ kind: 'Scalar'
5178
+ },
5179
+ {
5180
+ name: 'teamName',
5181
+ kind: 'Scalar'
5182
+ }
5183
+ ]
4868
5184
  };
4869
- return keyBuilder$l(luvio, keyParams);
5185
+ };
5186
+ function equals$7(existing, incoming) {
5187
+ const existing_status = existing.status;
5188
+ const incoming_status = incoming.status;
5189
+ if (!(existing_status === incoming_status)) {
5190
+ return false;
5191
+ }
5192
+ const existing_teamDomain = existing.teamDomain;
5193
+ const incoming_teamDomain = incoming.teamDomain;
5194
+ if (!(existing_teamDomain === incoming_teamDomain)) {
5195
+ return false;
5196
+ }
5197
+ const existing_teamId = existing.teamId;
5198
+ const incoming_teamId = incoming.teamId;
5199
+ if (!(existing_teamId === incoming_teamId)) {
5200
+ return false;
5201
+ }
5202
+ const existing_teamName = existing.teamName;
5203
+ const incoming_teamName = incoming.teamName;
5204
+ if (!(existing_teamName === incoming_teamName)) {
5205
+ return false;
5206
+ }
5207
+ return true;
5208
+ }
5209
+
5210
+ const TTL = 500;
5211
+ const VERSION$6 = "b3c7e0b8bc0a4a3745874264601b9082";
5212
+ function validate$6(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
5213
+ const v_error = (() => {
5214
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5215
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5216
+ }
5217
+ const obj_orgId = obj.orgId;
5218
+ const path_orgId = path + '.orgId';
5219
+ if (typeof obj_orgId !== 'string') {
5220
+ return new TypeError('Expected "string" but received "' + typeof obj_orgId + '" (at "' + path_orgId + '")');
5221
+ }
5222
+ const obj_slackTeam = obj.slackTeam;
5223
+ const path_slackTeam = path + '.slackTeam';
5224
+ const referencepath_slackTeamValidationError = validate$7(obj_slackTeam, path_slackTeam);
5225
+ if (referencepath_slackTeamValidationError !== null) {
5226
+ let message = 'Object doesn\'t match SlackBridgeSlackTeamOutputRepresentation (at "' + path_slackTeam + '")\n';
5227
+ message += referencepath_slackTeamValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5228
+ return new TypeError(message);
5229
+ }
5230
+ })();
5231
+ return v_error === undefined ? null : v_error;
4870
5232
  }
5233
+ const RepresentationType$6 = 'SlackBridgeDisplayLoginOutputRepresentation';
4871
5234
  function normalize$6(input, existing, path, luvio, store, timestamp) {
4872
5235
  return input;
4873
5236
  }
4874
- const select$m = function SlackBridgeConversationMembersOutputRepresentationSelect() {
5237
+ const select$m = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
5238
+ const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$n();
4875
5239
  return {
4876
5240
  kind: 'Fragment',
4877
5241
  version: VERSION$6,
4878
5242
  private: [],
4879
5243
  selections: [
4880
5244
  {
4881
- name: 'channelId',
4882
- kind: 'Scalar'
4883
- },
4884
- {
4885
- name: 'nextCursor',
5245
+ name: 'orgId',
4886
5246
  kind: 'Scalar'
4887
5247
  },
4888
5248
  {
4889
- name: 'slackUserIds',
4890
- kind: 'Scalar',
4891
- plural: true
5249
+ name: 'slackTeam',
5250
+ kind: 'Object',
5251
+ selections: SlackBridgeSlackTeamOutputRepresentation__selections
4892
5252
  }
4893
5253
  ]
4894
5254
  };
4895
5255
  };
4896
5256
  function equals$6(existing, incoming) {
4897
- const existing_channelId = existing.channelId;
4898
- const incoming_channelId = incoming.channelId;
4899
- if (!(existing_channelId === incoming_channelId)) {
4900
- return false;
4901
- }
4902
- const existing_nextCursor = existing.nextCursor;
4903
- const incoming_nextCursor = incoming.nextCursor;
4904
- if (!(existing_nextCursor === incoming_nextCursor)) {
5257
+ const existing_orgId = existing.orgId;
5258
+ const incoming_orgId = incoming.orgId;
5259
+ if (!(existing_orgId === incoming_orgId)) {
4905
5260
  return false;
4906
5261
  }
4907
- const existing_slackUserIds = existing.slackUserIds;
4908
- const incoming_slackUserIds = incoming.slackUserIds;
4909
- const equals_slackUserIds_items = equalsArray(existing_slackUserIds, incoming_slackUserIds, (existing_slackUserIds_item, incoming_slackUserIds_item) => {
4910
- if (!(existing_slackUserIds_item === incoming_slackUserIds_item)) {
4911
- return false;
4912
- }
4913
- });
4914
- if (equals_slackUserIds_items === false) {
5262
+ const existing_slackTeam = existing.slackTeam;
5263
+ const incoming_slackTeam = incoming.slackTeam;
5264
+ if (!(equals$7(existing_slackTeam, incoming_slackTeam))) {
4915
5265
  return false;
4916
5266
  }
4917
5267
  return true;
4918
5268
  }
4919
- const ingest$6 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5269
+ const ingest$6 = function SlackBridgeDisplayLoginOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4920
5270
  if (process.env.NODE_ENV !== 'production') {
4921
5271
  const validateError = validate$6(input);
4922
5272
  if (validateError !== null) {
4923
5273
  throw validateError;
4924
5274
  }
4925
5275
  }
4926
- const key = keyBuilderFromType$3(luvio, input);
4927
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5276
+ const key = path.fullPath;
5277
+ const ttlToUse = TTL;
4928
5278
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
4929
5279
  return createLink(key);
4930
5280
  };
4931
5281
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4932
5282
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4933
- const rootKey = keyBuilderFromType$3(luvio, input);
5283
+ const rootKey = fullPathFactory();
4934
5284
  rootKeySet.set(rootKey, {
4935
5285
  namespace: keyPrefix,
4936
5286
  representationName: RepresentationType$6,
@@ -4942,16 +5292,14 @@ function select$l(luvio, params) {
4942
5292
  return select$m();
4943
5293
  }
4944
5294
  function keyBuilder$k(luvio, params) {
4945
- return keyBuilder$l(luvio, {
4946
- channelId: params.urlParams.channelId
4947
- });
5295
+ return keyPrefix + '::SlackBridgeDisplayLoginOutputRepresentation:(' + ')';
4948
5296
  }
4949
5297
  function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
4950
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
5298
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$k());
4951
5299
  }
4952
5300
  function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4953
5301
  const { body } = response;
4954
- const key = keyBuilder$k(luvio, resourceParams);
5302
+ const key = keyBuilder$k();
4955
5303
  luvio.storeIngest(key, ingest$6, body);
4956
5304
  const snapshot = luvio.storeLookup({
4957
5305
  recordId: key,
@@ -4967,46 +5315,41 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4967
5315
  return snapshot;
4968
5316
  }
4969
5317
  function ingestError$8(luvio, params, error, snapshotRefresh) {
4970
- const key = keyBuilder$k(luvio, params);
5318
+ const key = keyBuilder$k();
4971
5319
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4972
- luvio.storeIngestError(key, errorSnapshot);
5320
+ const storeMetadataParams = {
5321
+ ttl: TTL,
5322
+ namespace: keyPrefix,
5323
+ version: VERSION$6,
5324
+ representationName: RepresentationType$6
5325
+ };
5326
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4973
5327
  return errorSnapshot;
4974
5328
  }
4975
5329
  function createResourceRequest$f(config) {
4976
5330
  const headers = {};
4977
5331
  return {
4978
5332
  baseUri: '/services/data/v64.0',
4979
- basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/members',
5333
+ basePath: '/connect/slackbridge/slack_display_login',
4980
5334
  method: 'get',
4981
5335
  body: null,
4982
- urlParams: config.urlParams,
5336
+ urlParams: {},
4983
5337
  queryParams: {},
4984
5338
  headers,
4985
5339
  priority: 'normal',
4986
5340
  };
4987
5341
  }
4988
- function createResourceRequestFromRepresentation$4(representation) {
4989
- const config = {
4990
- urlParams: {},
4991
- };
4992
- config.urlParams.channelId = representation.channelId;
4993
- return createResourceRequest$f(config);
4994
- }
4995
5342
 
4996
- const adapterName$f = 'getSlackConversationMembers';
4997
- const getSlackConversationMembers_ConfigPropertyMetadata = [
4998
- generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4999
- generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5000
- ];
5001
- const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackConversationMembers_ConfigPropertyMetadata);
5002
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$m(getSlackConversationMembers_ConfigPropertyMetadata);
5343
+ const adapterName$f = 'getSlackDisplayLogin';
5344
+ const getSlackDisplayLogin_ConfigPropertyMetadata = [];
5345
+ const getSlackDisplayLogin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackDisplayLogin_ConfigPropertyMetadata);
5346
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$n(getSlackDisplayLogin_ConfigPropertyMetadata);
5003
5347
  function keyBuilder$j(luvio, config) {
5004
- const resourceParams = createResourceParams$f(config);
5005
- return keyBuilder$k(luvio, resourceParams);
5348
+ createResourceParams$f(config);
5349
+ return keyBuilder$k();
5006
5350
  }
5007
5351
  function typeCheckConfig$f(untrustedConfig) {
5008
5352
  const config = {};
5009
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5010
5353
  return config;
5011
5354
  }
5012
5355
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -5016,7 +5359,7 @@ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
5016
5359
  if (process.env.NODE_ENV !== 'production') {
5017
5360
  validateConfig(untrustedConfig, configPropertyNames);
5018
5361
  }
5019
- const config = typeCheckConfig$f(untrustedConfig);
5362
+ const config = typeCheckConfig$f();
5020
5363
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5021
5364
  return null;
5022
5365
  }
@@ -5042,7 +5385,7 @@ function onFetchResponseError$8(luvio, config, resourceParams, response) {
5042
5385
  }
5043
5386
  function buildNetworkSnapshot$f(luvio, config, options) {
5044
5387
  const resourceParams = createResourceParams$f(config);
5045
- const request = createResourceRequest$f(resourceParams);
5388
+ const request = createResourceRequest$f();
5046
5389
  return luvio.dispatchResourceRequest(request, options)
5047
5390
  .then((response) => {
5048
5391
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
@@ -5055,7 +5398,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
5055
5398
  });
5056
5399
  }
5057
5400
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5058
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
5401
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
5059
5402
  }
5060
5403
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5061
5404
  const { luvio, config } = context;
@@ -5070,8 +5413,8 @@ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5070
5413
  });
5071
5414
  return cacheSnapshot;
5072
5415
  }
5073
- const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
5074
- const config = validateAdapterConfig$f(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
5416
+ const getSlackDisplayLoginAdapterFactory = (luvio) => function SlackBridge__getSlackDisplayLogin(untrustedConfig, requestContext) {
5417
+ const config = validateAdapterConfig$f(untrustedConfig, getSlackDisplayLogin_ConfigPropertyNames);
5075
5418
  // Invalid or incomplete config
5076
5419
  if (config === null) {
5077
5420
  return null;
@@ -5079,51 +5422,22 @@ const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridg
5079
5422
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5080
5423
  buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
5081
5424
  };
5082
- const notifyChangeFactory$4 = (luvio, options) => {
5083
- return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamIdNotifyChange(configs) {
5084
- const keys = configs.map(c => keyBuilder$l(luvio, c));
5085
- luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5086
- for (let i = 0, len = entries.length; i < len; i++) {
5087
- const { key, record: val } = entries[i];
5088
- const refreshRequest = createResourceRequestFromRepresentation$4(val);
5089
- luvio.dispatchResourceRequest(refreshRequest, options)
5090
- .then((response) => {
5091
- return luvio.handleSuccessResponse(() => {
5092
- const { body } = response;
5093
- luvio.storeIngest(key, ingest$6, body);
5094
- return luvio.storeBroadcast();
5095
- }, () => {
5096
- const cache = new StoreKeyMap();
5097
- getTypeCacheKeys$6(cache, luvio, response.body);
5098
- return cache;
5099
- });
5100
- }, (error) => {
5101
- return luvio.handleErrorResponse(() => {
5102
- const errorSnapshot = luvio.errorSnapshot(error);
5103
- luvio.storeIngestError(key, errorSnapshot, undefined);
5104
- return luvio.storeBroadcast().then(() => errorSnapshot);
5105
- });
5106
- });
5107
- }
5108
- });
5109
- };
5110
- };
5111
5425
 
5112
5426
  function select$k(luvio, params) {
5113
- return select$s();
5427
+ return select$v();
5114
5428
  }
5115
5429
  function keyBuilder$i(luvio, params) {
5116
- return keyBuilder$r(luvio, {
5430
+ return keyBuilder$t(luvio, {
5117
5431
  name: params.urlParams.slackEmojiId
5118
5432
  });
5119
5433
  }
5120
5434
  function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
5121
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
5435
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
5122
5436
  }
5123
5437
  function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
5124
5438
  const { body } = response;
5125
5439
  const key = keyBuilder$i(luvio, resourceParams);
5126
- luvio.storeIngest(key, ingest$a, body);
5440
+ luvio.storeIngest(key, ingest$b, body);
5127
5441
  const snapshot = luvio.storeLookup({
5128
5442
  recordId: key,
5129
5443
  node: select$k(),
@@ -5141,10 +5455,10 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
5141
5455
  const key = keyBuilder$i(luvio, params);
5142
5456
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5143
5457
  const storeMetadataParams = {
5144
- ttl: TTL$1,
5458
+ ttl: TTL$2,
5145
5459
  namespace: keyPrefix,
5146
- version: VERSION$a,
5147
- representationName: RepresentationType$a
5460
+ version: VERSION$c,
5461
+ representationName: RepresentationType$b
5148
5462
  };
5149
5463
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
5150
5464
  return errorSnapshot;
@@ -5176,14 +5490,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
5176
5490
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5177
5491
  ];
5178
5492
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackEmoji_ConfigPropertyMetadata);
5179
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$m(getSlackEmoji_ConfigPropertyMetadata);
5493
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$n(getSlackEmoji_ConfigPropertyMetadata);
5180
5494
  function keyBuilder$h(luvio, config) {
5181
5495
  const resourceParams = createResourceParams$e(config);
5182
5496
  return keyBuilder$i(luvio, resourceParams);
5183
5497
  }
5184
5498
  function typeCheckConfig$e(untrustedConfig) {
5185
5499
  const config = {};
5186
- typeCheckConfig$m(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
5500
+ typeCheckConfig$n(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
5187
5501
  return config;
5188
5502
  }
5189
5503
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -5232,7 +5546,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
5232
5546
  });
5233
5547
  }
5234
5548
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5235
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5549
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5236
5550
  }
5237
5551
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5238
5552
  const { luvio, config } = context;
@@ -5258,7 +5572,7 @@ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmo
5258
5572
  };
5259
5573
  const notifyChangeFactory$3 = (luvio, options) => {
5260
5574
  return function getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamIdNotifyChange(configs) {
5261
- const keys = configs.map(c => keyBuilder$r(luvio, c));
5575
+ const keys = configs.map(c => keyBuilder$t(luvio, c));
5262
5576
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5263
5577
  for (let i = 0, len = entries.length; i < len; i++) {
5264
5578
  const { key, record: val } = entries[i];
@@ -5267,21 +5581,21 @@ const notifyChangeFactory$3 = (luvio, options) => {
5267
5581
  .then((response) => {
5268
5582
  return luvio.handleSuccessResponse(() => {
5269
5583
  const { body } = response;
5270
- luvio.storeIngest(key, ingest$a, body);
5584
+ luvio.storeIngest(key, ingest$b, body);
5271
5585
  return luvio.storeBroadcast();
5272
5586
  }, () => {
5273
5587
  const cache = new StoreKeyMap();
5274
- getTypeCacheKeys$a(cache, luvio, response.body);
5588
+ getTypeCacheKeys$b(cache, luvio, response.body);
5275
5589
  return cache;
5276
5590
  });
5277
5591
  }, (error) => {
5278
5592
  return luvio.handleErrorResponse(() => {
5279
5593
  const errorSnapshot = luvio.errorSnapshot(error);
5280
5594
  luvio.storeIngestError(key, errorSnapshot, {
5281
- ttl: TTL$1,
5595
+ ttl: TTL$2,
5282
5596
  namespace: keyPrefix,
5283
- version: VERSION$a,
5284
- representationName: RepresentationType$a
5597
+ version: VERSION$c,
5598
+ representationName: RepresentationType$b
5285
5599
  });
5286
5600
  return luvio.storeBroadcast().then(() => errorSnapshot);
5287
5601
  });
@@ -5319,7 +5633,7 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
5319
5633
  for (let i = 0; i < input_emojis.length; i++) {
5320
5634
  const input_emojis_item = input_emojis[i];
5321
5635
  let input_emojis_item_id = input_emojis_id + '__' + i;
5322
- input_emojis[i] = ingest$a(input_emojis_item, {
5636
+ input_emojis[i] = ingest$b(input_emojis_item, {
5323
5637
  fullPath: input_emojis_item_id,
5324
5638
  propertyName: i,
5325
5639
  parent: {
@@ -5342,7 +5656,7 @@ const select$j = function SlackBridgeEmojisOutputRepresentationSelect() {
5342
5656
  name: 'emojis',
5343
5657
  kind: 'Link',
5344
5658
  plural: true,
5345
- fragment: select$s()
5659
+ fragment: select$v()
5346
5660
  }
5347
5661
  ]
5348
5662
  };
@@ -5382,7 +5696,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5382
5696
  });
5383
5697
  const input_emojis_length = input.emojis.length;
5384
5698
  for (let i = 0; i < input_emojis_length; i++) {
5385
- getTypeCacheKeys$a(rootKeySet, luvio, input.emojis[i]);
5699
+ getTypeCacheKeys$b(rootKeySet, luvio, input.emojis[i]);
5386
5700
  }
5387
5701
  }
5388
5702
 
@@ -5438,14 +5752,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
5438
5752
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
5439
5753
  ];
5440
5754
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackEmojis_ConfigPropertyMetadata);
5441
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$m(getSlackEmojis_ConfigPropertyMetadata);
5755
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$n(getSlackEmojis_ConfigPropertyMetadata);
5442
5756
  function keyBuilder$f(luvio, config) {
5443
5757
  const resourceParams = createResourceParams$d(config);
5444
5758
  return keyBuilder$g(luvio, resourceParams);
5445
5759
  }
5446
5760
  function typeCheckConfig$d(untrustedConfig) {
5447
5761
  const config = {};
5448
- typeCheckConfig$m(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
5762
+ typeCheckConfig$n(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
5449
5763
  return config;
5450
5764
  }
5451
5765
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -5494,7 +5808,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
5494
5808
  });
5495
5809
  }
5496
5810
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5497
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5811
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
5498
5812
  }
5499
5813
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5500
5814
  const { luvio, config } = context;
@@ -5520,20 +5834,20 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
5520
5834
  };
5521
5835
 
5522
5836
  function select$h(luvio, params) {
5523
- return select$E();
5837
+ return select$H();
5524
5838
  }
5525
5839
  function keyBuilder$e(luvio, params) {
5526
- return keyBuilder$z(luvio, {
5840
+ return keyBuilder$B(luvio, {
5527
5841
  channelId: params.urlParams.channelId
5528
5842
  });
5529
5843
  }
5530
5844
  function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
5531
- getTypeCacheKeys$g(storeKeyMap, luvio, response);
5845
+ getTypeCacheKeys$h(storeKeyMap, luvio, response);
5532
5846
  }
5533
5847
  function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
5534
5848
  const { body } = response;
5535
5849
  const key = keyBuilder$e(luvio, resourceParams);
5536
- luvio.storeIngest(key, ingest$g, body);
5850
+ luvio.storeIngest(key, ingest$h, body);
5537
5851
  const snapshot = luvio.storeLookup({
5538
5852
  recordId: key,
5539
5853
  node: select$h(),
@@ -5581,14 +5895,14 @@ const getSlackMessage_ConfigPropertyMetadata = [
5581
5895
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5582
5896
  ];
5583
5897
  const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackMessage_ConfigPropertyMetadata);
5584
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$m(getSlackMessage_ConfigPropertyMetadata);
5898
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$n(getSlackMessage_ConfigPropertyMetadata);
5585
5899
  function keyBuilder$d(luvio, config) {
5586
5900
  const resourceParams = createResourceParams$c(config);
5587
5901
  return keyBuilder$e(luvio, resourceParams);
5588
5902
  }
5589
5903
  function typeCheckConfig$c(untrustedConfig) {
5590
5904
  const config = {};
5591
- typeCheckConfig$m(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5905
+ typeCheckConfig$n(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5592
5906
  return config;
5593
5907
  }
5594
5908
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -5637,7 +5951,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5637
5951
  });
5638
5952
  }
5639
5953
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
5640
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
5954
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
5641
5955
  }
5642
5956
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
5643
5957
  const { luvio, config } = context;
@@ -5663,7 +5977,7 @@ const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackM
5663
5977
  };
5664
5978
  const notifyChangeFactory$2 = (luvio, options) => {
5665
5979
  return function getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamIdNotifyChange(configs) {
5666
- const keys = configs.map(c => keyBuilder$z(luvio, c));
5980
+ const keys = configs.map(c => keyBuilder$B(luvio, c));
5667
5981
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5668
5982
  for (let i = 0, len = entries.length; i < len; i++) {
5669
5983
  const { key, record: val } = entries[i];
@@ -5672,11 +5986,11 @@ const notifyChangeFactory$2 = (luvio, options) => {
5672
5986
  .then((response) => {
5673
5987
  return luvio.handleSuccessResponse(() => {
5674
5988
  const { body } = response;
5675
- luvio.storeIngest(key, ingest$g, body);
5989
+ luvio.storeIngest(key, ingest$h, body);
5676
5990
  return luvio.storeBroadcast();
5677
5991
  }, () => {
5678
5992
  const cache = new StoreKeyMap();
5679
- getTypeCacheKeys$g(cache, luvio, response.body);
5993
+ getTypeCacheKeys$h(cache, luvio, response.body);
5680
5994
  return cache;
5681
5995
  });
5682
5996
  }, (error) => {
@@ -5728,7 +6042,7 @@ function keyBuilderFromType$2(luvio, object) {
5728
6042
  function normalize$4(input, existing, path, luvio, store, timestamp) {
5729
6043
  const input_conversationInfo = input.conversationInfo;
5730
6044
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
5731
- input.conversationInfo = ingest$e(input_conversationInfo, {
6045
+ input.conversationInfo = ingest$f(input_conversationInfo, {
5732
6046
  fullPath: input_conversationInfo_id,
5733
6047
  propertyName: 'conversationInfo',
5734
6048
  parent: {
@@ -5749,7 +6063,7 @@ const select$g = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
5749
6063
  {
5750
6064
  name: 'conversationInfo',
5751
6065
  kind: 'Link',
5752
- fragment: select$B()
6066
+ fragment: select$E()
5753
6067
  },
5754
6068
  {
5755
6069
  name: 'relatedRecordId',
@@ -5800,7 +6114,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5800
6114
  representationName: RepresentationType$4,
5801
6115
  mergeable: false
5802
6116
  });
5803
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
6117
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
5804
6118
  }
5805
6119
 
5806
6120
  function select$f(luvio, params) {
@@ -5863,14 +6177,14 @@ const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
5863
6177
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
5864
6178
  ];
5865
6179
  const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5866
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$m(getSlackRecordChannelInfo_ConfigPropertyMetadata);
6180
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$n(getSlackRecordChannelInfo_ConfigPropertyMetadata);
5867
6181
  function keyBuilder$a(luvio, config) {
5868
6182
  const resourceParams = createResourceParams$b(config);
5869
6183
  return keyBuilder$b(luvio, resourceParams);
5870
6184
  }
5871
6185
  function typeCheckConfig$b(untrustedConfig) {
5872
6186
  const config = {};
5873
- typeCheckConfig$m(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
6187
+ typeCheckConfig$n(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5874
6188
  return config;
5875
6189
  }
5876
6190
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -5919,7 +6233,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
5919
6233
  });
5920
6234
  }
5921
6235
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
5922
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
6236
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5923
6237
  }
5924
6238
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
5925
6239
  const { luvio, config } = context;
@@ -6027,7 +6341,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
6027
6341
  for (let i = 0; i < input_conversationInfos.length; i++) {
6028
6342
  const input_conversationInfos_item = input_conversationInfos[i];
6029
6343
  let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6030
- input_conversationInfos[i] = ingest$e(input_conversationInfos_item, {
6344
+ input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6031
6345
  fullPath: input_conversationInfos_item_id,
6032
6346
  propertyName: i,
6033
6347
  parent: {
@@ -6050,7 +6364,7 @@ const select$e = function SlackBridgeConversationInfosOutputRepresentationSelect
6050
6364
  name: 'conversationInfos',
6051
6365
  kind: 'Link',
6052
6366
  plural: true,
6053
- fragment: select$B()
6367
+ fragment: select$E()
6054
6368
  },
6055
6369
  {
6056
6370
  name: 'searchString',
@@ -6099,7 +6413,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6099
6413
  });
6100
6414
  const input_conversationInfos_length = input.conversationInfos.length;
6101
6415
  for (let i = 0; i < input_conversationInfos_length; i++) {
6102
- getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfos[i]);
6416
+ getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6103
6417
  }
6104
6418
  }
6105
6419
 
@@ -6155,14 +6469,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6155
6469
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6156
6470
  ];
6157
6471
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackSearchConversation_ConfigPropertyMetadata);
6158
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$m(getSlackSearchConversation_ConfigPropertyMetadata);
6472
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$n(getSlackSearchConversation_ConfigPropertyMetadata);
6159
6473
  function keyBuilder$8(luvio, config) {
6160
6474
  const resourceParams = createResourceParams$a(config);
6161
6475
  return keyBuilder$9(luvio, resourceParams);
6162
6476
  }
6163
6477
  function typeCheckConfig$a(untrustedConfig) {
6164
6478
  const config = {};
6165
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6479
+ typeCheckConfig$n(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6166
6480
  return config;
6167
6481
  }
6168
6482
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -6211,7 +6525,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6211
6525
  });
6212
6526
  }
6213
6527
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6214
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6528
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6215
6529
  }
6216
6530
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6217
6531
  const { luvio, config } = context;
@@ -6288,14 +6602,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6288
6602
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6289
6603
  ];
6290
6604
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackSearchEmoji_ConfigPropertyMetadata);
6291
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$m(getSlackSearchEmoji_ConfigPropertyMetadata);
6605
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$n(getSlackSearchEmoji_ConfigPropertyMetadata);
6292
6606
  function keyBuilder$6(luvio, config) {
6293
6607
  const resourceParams = createResourceParams$9(config);
6294
6608
  return keyBuilder$7(luvio, resourceParams);
6295
6609
  }
6296
6610
  function typeCheckConfig$9(untrustedConfig) {
6297
6611
  const config = {};
6298
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6612
+ typeCheckConfig$n(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6299
6613
  return config;
6300
6614
  }
6301
6615
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -6344,7 +6658,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
6344
6658
  });
6345
6659
  }
6346
6660
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
6347
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6661
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6348
6662
  }
6349
6663
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
6350
6664
  const { luvio, config } = context;
@@ -6423,7 +6737,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6423
6737
  for (let i = 0; i < input_userInfos.length; i++) {
6424
6738
  const input_userInfos_item = input_userInfos[i];
6425
6739
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
6426
- input_userInfos[i] = ingest$9(input_userInfos_item, {
6740
+ input_userInfos[i] = ingest$a(input_userInfos_item, {
6427
6741
  fullPath: input_userInfos_item_id,
6428
6742
  propertyName: i,
6429
6743
  parent: {
@@ -6450,7 +6764,7 @@ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
6450
6764
  name: 'userInfos',
6451
6765
  kind: 'Link',
6452
6766
  plural: true,
6453
- fragment: select$r()
6767
+ fragment: select$u()
6454
6768
  }
6455
6769
  ]
6456
6770
  };
@@ -6495,7 +6809,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6495
6809
  });
6496
6810
  const input_userInfos_length = input.userInfos.length;
6497
6811
  for (let i = 0; i < input_userInfos_length; i++) {
6498
- getTypeCacheKeys$9(rootKeySet, luvio, input.userInfos[i]);
6812
+ getTypeCacheKeys$a(rootKeySet, luvio, input.userInfos[i]);
6499
6813
  }
6500
6814
  }
6501
6815
 
@@ -6554,14 +6868,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
6554
6868
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6555
6869
  ];
6556
6870
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchUser_ConfigPropertyMetadata);
6557
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$m(getSlackSearchUser_ConfigPropertyMetadata);
6871
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$n(getSlackSearchUser_ConfigPropertyMetadata);
6558
6872
  function keyBuilder$4(luvio, config) {
6559
6873
  const resourceParams = createResourceParams$8(config);
6560
6874
  return keyBuilder$5(luvio, resourceParams);
6561
6875
  }
6562
6876
  function typeCheckConfig$8(untrustedConfig) {
6563
6877
  const config = {};
6564
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6878
+ typeCheckConfig$n(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6565
6879
  return config;
6566
6880
  }
6567
6881
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -6610,7 +6924,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
6610
6924
  });
6611
6925
  }
6612
6926
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
6613
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
6927
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
6614
6928
  }
6615
6929
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
6616
6930
  const { luvio, config } = context;
@@ -6636,21 +6950,20 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
6636
6950
  };
6637
6951
 
6638
6952
  function select$9(luvio, params) {
6639
- return select$r();
6953
+ return select$u();
6640
6954
  }
6641
6955
  function keyBuilder$3(luvio, params) {
6642
- return keyBuilder$q(luvio, {
6643
- slackUserId: params.urlParams.slackUserId,
6644
- teamId: params.urlParams.teamId
6956
+ return keyBuilder$s(luvio, {
6957
+ slackUserId: params.urlParams.slackUserId
6645
6958
  });
6646
6959
  }
6647
6960
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
6648
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
6961
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
6649
6962
  }
6650
6963
  function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
6651
6964
  const { body } = response;
6652
6965
  const key = keyBuilder$3(luvio, resourceParams);
6653
- luvio.storeIngest(key, ingest$9, body);
6966
+ luvio.storeIngest(key, ingest$a, body);
6654
6967
  const snapshot = luvio.storeLookup({
6655
6968
  recordId: key,
6656
6969
  node: select$9(),
@@ -6668,10 +6981,10 @@ function ingestError(luvio, params, error, snapshotRefresh) {
6668
6981
  const key = keyBuilder$3(luvio, params);
6669
6982
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6670
6983
  const storeMetadataParams = {
6671
- ttl: TTL,
6984
+ ttl: TTL$1,
6672
6985
  namespace: keyPrefix,
6673
- version: VERSION$9,
6674
- representationName: RepresentationType$9
6986
+ version: VERSION$b,
6987
+ representationName: RepresentationType$a
6675
6988
  };
6676
6989
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6677
6990
  return errorSnapshot;
@@ -6694,7 +7007,6 @@ function createResourceRequestFromRepresentation(representation) {
6694
7007
  urlParams: {},
6695
7008
  };
6696
7009
  config.urlParams.slackUserId = representation.slackUserId;
6697
- config.urlParams.teamId = representation.teamId;
6698
7010
  return createResourceRequest$7(config);
6699
7011
  }
6700
7012
 
@@ -6704,14 +7016,14 @@ const getSlackUser_ConfigPropertyMetadata = [
6704
7016
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6705
7017
  ];
6706
7018
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackUser_ConfigPropertyMetadata);
6707
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$m(getSlackUser_ConfigPropertyMetadata);
7019
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$n(getSlackUser_ConfigPropertyMetadata);
6708
7020
  function keyBuilder$2(luvio, config) {
6709
7021
  const resourceParams = createResourceParams$7(config);
6710
7022
  return keyBuilder$3(luvio, resourceParams);
6711
7023
  }
6712
7024
  function typeCheckConfig$7(untrustedConfig) {
6713
7025
  const config = {};
6714
- typeCheckConfig$m(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7026
+ typeCheckConfig$n(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
6715
7027
  return config;
6716
7028
  }
6717
7029
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -6760,7 +7072,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
6760
7072
  });
6761
7073
  }
6762
7074
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
6763
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7075
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
6764
7076
  }
6765
7077
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
6766
7078
  const { luvio, config } = context;
@@ -6786,7 +7098,7 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
6786
7098
  };
6787
7099
  const notifyChangeFactory = (luvio, options) => {
6788
7100
  return function getConnectSlackbridgeTeamUserBySlackUserIdAndTeamIdNotifyChange(configs) {
6789
- const keys = configs.map(c => keyBuilder$q(luvio, c));
7101
+ const keys = configs.map(c => keyBuilder$s(luvio, c));
6790
7102
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
6791
7103
  for (let i = 0, len = entries.length; i < len; i++) {
6792
7104
  const { key, record: val } = entries[i];
@@ -6795,21 +7107,21 @@ const notifyChangeFactory = (luvio, options) => {
6795
7107
  .then((response) => {
6796
7108
  return luvio.handleSuccessResponse(() => {
6797
7109
  const { body } = response;
6798
- luvio.storeIngest(key, ingest$9, body);
7110
+ luvio.storeIngest(key, ingest$a, body);
6799
7111
  return luvio.storeBroadcast();
6800
7112
  }, () => {
6801
7113
  const cache = new StoreKeyMap();
6802
- getTypeCacheKeys$9(cache, luvio, response.body);
7114
+ getTypeCacheKeys$a(cache, luvio, response.body);
6803
7115
  return cache;
6804
7116
  });
6805
7117
  }, (error) => {
6806
7118
  return luvio.handleErrorResponse(() => {
6807
7119
  const errorSnapshot = luvio.errorSnapshot(error);
6808
7120
  luvio.storeIngestError(key, errorSnapshot, {
6809
- ttl: TTL,
7121
+ ttl: TTL$1,
6810
7122
  namespace: keyPrefix,
6811
- version: VERSION$9,
6812
- representationName: RepresentationType$9
7123
+ version: VERSION$b,
7124
+ representationName: RepresentationType$a
6813
7125
  });
6814
7126
  return luvio.storeBroadcast().then(() => errorSnapshot);
6815
7127
  });
@@ -6820,15 +7132,15 @@ const notifyChangeFactory = (luvio, options) => {
6820
7132
  };
6821
7133
 
6822
7134
  function select$8(luvio, params) {
6823
- return select$E();
7135
+ return select$H();
6824
7136
  }
6825
7137
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
6826
- getTypeCacheKeys$g(storeKeyMap, luvio, response);
7138
+ getTypeCacheKeys$h(storeKeyMap, luvio, response);
6827
7139
  }
6828
7140
  function ingestSuccess$6(luvio, resourceParams, response) {
6829
7141
  const { body } = response;
6830
7142
  const key = keyBuilderFromType$9(luvio, body);
6831
- luvio.storeIngest(key, ingest$g, body);
7143
+ luvio.storeIngest(key, ingest$h, body);
6832
7144
  const snapshot = luvio.storeLookup({
6833
7145
  recordId: key,
6834
7146
  node: select$8(),
@@ -6864,10 +7176,10 @@ const patchSlackMessage_ConfigPropertyMetadata = [
6864
7176
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
6865
7177
  ];
6866
7178
  const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchSlackMessage_ConfigPropertyMetadata);
6867
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$m(patchSlackMessage_ConfigPropertyMetadata);
7179
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$n(patchSlackMessage_ConfigPropertyMetadata);
6868
7180
  function typeCheckConfig$6(untrustedConfig) {
6869
7181
  const config = {};
6870
- typeCheckConfig$m(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
7182
+ typeCheckConfig$n(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6871
7183
  return config;
6872
7184
  }
6873
7185
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -6949,7 +7261,7 @@ function keyBuilderFromType$1(luvio, object) {
6949
7261
  function normalize$1(input, existing, path, luvio, store, timestamp) {
6950
7262
  const input_postedMessage = input.postedMessage;
6951
7263
  const input_postedMessage_id = path.fullPath + '__postedMessage';
6952
- input.postedMessage = ingest$c(input_postedMessage, {
7264
+ input.postedMessage = ingest$d(input_postedMessage, {
6953
7265
  fullPath: input_postedMessage_id,
6954
7266
  propertyName: 'postedMessage',
6955
7267
  parent: {
@@ -6974,7 +7286,7 @@ const select$7 = function SlackBridgePostMessageOutputRepresentationSelect() {
6974
7286
  {
6975
7287
  name: 'postedMessage',
6976
7288
  kind: 'Link',
6977
- fragment: select$w()
7289
+ fragment: select$z()
6978
7290
  },
6979
7291
  {
6980
7292
  name: 'timestamp',
@@ -7021,7 +7333,7 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
7021
7333
  representationName: RepresentationType$1,
7022
7334
  mergeable: false
7023
7335
  });
7024
- getTypeCacheKeys$c(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
7336
+ getTypeCacheKeys$d(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
7025
7337
  }
7026
7338
 
7027
7339
  function select$6(luvio, params) {
@@ -7071,10 +7383,10 @@ const postSlackConversation_ConfigPropertyMetadata = [
7071
7383
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
7072
7384
  ];
7073
7385
  const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, postSlackConversation_ConfigPropertyMetadata);
7074
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$m(postSlackConversation_ConfigPropertyMetadata);
7386
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$n(postSlackConversation_ConfigPropertyMetadata);
7075
7387
  function typeCheckConfig$5(untrustedConfig) {
7076
7388
  const config = {};
7077
- typeCheckConfig$m(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
7389
+ typeCheckConfig$n(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
7078
7390
  return config;
7079
7391
  }
7080
7392
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -7247,10 +7559,10 @@ const postSlackConversationMark_ConfigPropertyMetadata = [
7247
7559
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
7248
7560
  ];
7249
7561
  const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversationMark_ConfigPropertyMetadata);
7250
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$m(postSlackConversationMark_ConfigPropertyMetadata);
7562
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$n(postSlackConversationMark_ConfigPropertyMetadata);
7251
7563
  function typeCheckConfig$4(untrustedConfig) {
7252
7564
  const config = {};
7253
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
7565
+ typeCheckConfig$n(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
7254
7566
  return config;
7255
7567
  }
7256
7568
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -7296,15 +7608,15 @@ const postSlackConversationMarkAdapterFactory = (luvio) => {
7296
7608
  };
7297
7609
 
7298
7610
  function select$3(luvio, params) {
7299
- return select$m();
7611
+ return select$p();
7300
7612
  }
7301
7613
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
7302
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
7614
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
7303
7615
  }
7304
7616
  function ingestSuccess$3(luvio, resourceParams, response) {
7305
7617
  const { body } = response;
7306
7618
  const key = keyBuilderFromType$3(luvio, body);
7307
- luvio.storeIngest(key, ingest$6, body);
7619
+ luvio.storeIngest(key, ingest$7, body);
7308
7620
  const snapshot = luvio.storeLookup({
7309
7621
  recordId: key,
7310
7622
  node: select$3(),
@@ -7339,10 +7651,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
7339
7651
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
7340
7652
  ];
7341
7653
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, postSlackConversationMembers_ConfigPropertyMetadata);
7342
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$m(postSlackConversationMembers_ConfigPropertyMetadata);
7654
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$n(postSlackConversationMembers_ConfigPropertyMetadata);
7343
7655
  function typeCheckConfig$3(untrustedConfig) {
7344
7656
  const config = {};
7345
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
7657
+ typeCheckConfig$n(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
7346
7658
  return config;
7347
7659
  }
7348
7660
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7388,15 +7700,15 @@ const postSlackConversationMembersAdapterFactory = (luvio) => {
7388
7700
  };
7389
7701
 
7390
7702
  function select$2(luvio, params) {
7391
- return select$x();
7703
+ return select$A();
7392
7704
  }
7393
7705
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
7394
- getTypeCacheKeys$d(storeKeyMap, luvio, response);
7706
+ getTypeCacheKeys$e(storeKeyMap, luvio, response);
7395
7707
  }
7396
7708
  function ingestSuccess$2(luvio, resourceParams, response) {
7397
7709
  const { body } = response;
7398
7710
  const key = keyBuilderFromType$6(luvio, body);
7399
- luvio.storeIngest(key, ingest$d, body);
7711
+ luvio.storeIngest(key, ingest$e, body);
7400
7712
  const snapshot = luvio.storeLookup({
7401
7713
  recordId: key,
7402
7714
  node: select$2(),
@@ -7436,10 +7748,10 @@ const postSlackFile_ConfigPropertyMetadata = [
7436
7748
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
7437
7749
  ];
7438
7750
  const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postSlackFile_ConfigPropertyMetadata);
7439
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$m(postSlackFile_ConfigPropertyMetadata);
7751
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$n(postSlackFile_ConfigPropertyMetadata);
7440
7752
  function typeCheckConfig$2(untrustedConfig) {
7441
7753
  const config = {};
7442
- typeCheckConfig$m(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
7754
+ typeCheckConfig$n(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
7443
7755
  return config;
7444
7756
  }
7445
7757
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7485,15 +7797,15 @@ const postSlackFileAdapterFactory = (luvio) => {
7485
7797
  };
7486
7798
 
7487
7799
  function select$1(luvio, params) {
7488
- return select$C();
7800
+ return select$F();
7489
7801
  }
7490
7802
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
7491
- getTypeCacheKeys$f(storeKeyMap, luvio, response);
7803
+ getTypeCacheKeys$g(storeKeyMap, luvio, response);
7492
7804
  }
7493
7805
  function ingestSuccess$1(luvio, resourceParams, response) {
7494
7806
  const { body } = response;
7495
7807
  const key = keyBuilderFromType$8(luvio, body);
7496
- luvio.storeIngest(key, ingest$f, body);
7808
+ luvio.storeIngest(key, ingest$g, body);
7497
7809
  const snapshot = luvio.storeLookup({
7498
7810
  recordId: key,
7499
7811
  node: select$1(),
@@ -7529,10 +7841,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
7529
7841
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
7530
7842
  ];
7531
7843
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postSlackMessageReactions_ConfigPropertyMetadata);
7532
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$m(postSlackMessageReactions_ConfigPropertyMetadata);
7844
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$n(postSlackMessageReactions_ConfigPropertyMetadata);
7533
7845
  function typeCheckConfig$1(untrustedConfig) {
7534
7846
  const config = {};
7535
- typeCheckConfig$m(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
7847
+ typeCheckConfig$n(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
7536
7848
  return config;
7537
7849
  }
7538
7850
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7620,10 +7932,10 @@ const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
7620
7932
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
7621
7933
  ];
7622
7934
  const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7623
- const createResourceParams = /*#__PURE__*/ createResourceParams$m(postSlackRecordChannelInfos_ConfigPropertyMetadata);
7935
+ const createResourceParams = /*#__PURE__*/ createResourceParams$n(postSlackRecordChannelInfos_ConfigPropertyMetadata);
7624
7936
  function typeCheckConfig(untrustedConfig) {
7625
7937
  const config = {};
7626
- typeCheckConfig$m(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7938
+ typeCheckConfig$n(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
7627
7939
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
7628
7940
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
7629
7941
  const untrustedConfig_conversationInfo_object = {};
@@ -7688,6 +8000,7 @@ let getSlackConversationMember;
7688
8000
  let getSlackConversationMemberNotifyChange;
7689
8001
  let getSlackConversationMembers;
7690
8002
  let getSlackConversationMembersNotifyChange;
8003
+ let getSlackDisplayLogin;
7691
8004
  let getSlackEmoji;
7692
8005
  let getSlackEmojiNotifyChange;
7693
8006
  let getSlackEmojis;
@@ -7712,6 +8025,7 @@ let getRelatedThreads_imperative;
7712
8025
  let getSlackConversation_imperative;
7713
8026
  let getSlackConversationMember_imperative;
7714
8027
  let getSlackConversationMembers_imperative;
8028
+ let getSlackDisplayLogin_imperative;
7715
8029
  let getSlackEmoji_imperative;
7716
8030
  let getSlackEmojis_imperative;
7717
8031
  let getSlackMessage_imperative;
@@ -7730,6 +8044,11 @@ const getSlackConversationMembersMetadata = {
7730
8044
  apiFamily: 'SlackBridge',
7731
8045
  name: 'getSlackConversationMembers',
7732
8046
  };
8047
+ const getSlackDisplayLoginMetadata = {
8048
+ apiFamily: 'SlackBridge',
8049
+ name: 'getSlackDisplayLogin',
8050
+ ttl: 500,
8051
+ };
7733
8052
  const getSlackEmojiMetadata = { apiFamily: 'SlackBridge', name: 'getSlackEmoji', ttl: 2592000000 };
7734
8053
  const getSlackEmojisMetadata = { apiFamily: 'SlackBridge', name: 'getSlackEmojis' };
7735
8054
  const getSlackMessageMetadata = { apiFamily: 'SlackBridge', name: 'getSlackMessage' };
@@ -7751,6 +8070,7 @@ function bindExportsTo(luvio) {
7751
8070
  const getSlackConversation_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversation', getSlackConversationAdapterFactory), getSlackConversationMetadata);
7752
8071
  const getSlackConversationMember_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMember', getSlackConversationMemberAdapterFactory), getSlackConversationMemberMetadata);
7753
8072
  const getSlackConversationMembers_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackConversationMembers', getSlackConversationMembersAdapterFactory), getSlackConversationMembersMetadata);
8073
+ const getSlackDisplayLogin_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackDisplayLogin', getSlackDisplayLoginAdapterFactory), getSlackDisplayLoginMetadata);
7754
8074
  const getSlackEmoji_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackEmoji', getSlackEmojiAdapterFactory), getSlackEmojiMetadata);
7755
8075
  const getSlackEmojis_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackEmojis', getSlackEmojisAdapterFactory), getSlackEmojisMetadata);
7756
8076
  const getSlackMessage_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSlackMessage', getSlackMessageAdapterFactory), getSlackMessageMetadata);
@@ -7764,15 +8084,16 @@ function bindExportsTo(luvio) {
7764
8084
  return (config) => adapter(config).then((snapshot) => snapshot.data);
7765
8085
  }
7766
8086
  return {
7767
- deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$l, deleteSlackConversationMemberAdapterFactory),
7768
- deleteSlackMessage: createLDSAdapter(luvio, adapterName$k, deleteSlackMessageAdapterFactory),
7769
- deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$j, deleteSlackMessageReactionsAdapterFactory),
8087
+ deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$m, deleteSlackConversationMemberAdapterFactory),
8088
+ deleteSlackMessage: createLDSAdapter(luvio, adapterName$l, deleteSlackMessageAdapterFactory),
8089
+ deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$k, deleteSlackMessageReactionsAdapterFactory),
7770
8090
  getRelatedThreads: createWireAdapterConstructor(luvio, getRelatedThreads_ldsAdapter, getRelatedThreadsMetadata),
7771
8091
  getSlackConversation: createWireAdapterConstructor(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
7772
8092
  getSlackConversationMember: createWireAdapterConstructor(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
7773
8093
  getSlackConversationMemberNotifyChange: createLDSAdapter(luvio, 'getSlackConversationMemberNotifyChange', notifyChangeFactory$5),
7774
8094
  getSlackConversationMembers: createWireAdapterConstructor(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
7775
8095
  getSlackConversationMembersNotifyChange: createLDSAdapter(luvio, 'getSlackConversationMembersNotifyChange', notifyChangeFactory$4),
8096
+ getSlackDisplayLogin: createWireAdapterConstructor(luvio, getSlackDisplayLogin_ldsAdapter, getSlackDisplayLoginMetadata),
7776
8097
  getSlackEmoji: createWireAdapterConstructor(luvio, getSlackEmoji_ldsAdapter, getSlackEmojiMetadata),
7777
8098
  getSlackEmojiNotifyChange: createLDSAdapter(luvio, 'getSlackEmojiNotifyChange', notifyChangeFactory$3),
7778
8099
  getSlackEmojis: createWireAdapterConstructor(luvio, getSlackEmojis_ldsAdapter, getSlackEmojisMetadata),
@@ -7797,6 +8118,7 @@ function bindExportsTo(luvio) {
7797
8118
  getSlackConversation_imperative: createImperativeAdapter(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
7798
8119
  getSlackConversationMember_imperative: createImperativeAdapter(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
7799
8120
  getSlackConversationMembers_imperative: createImperativeAdapter(luvio, getSlackConversationMembers_ldsAdapter, getSlackConversationMembersMetadata),
8121
+ getSlackDisplayLogin_imperative: createImperativeAdapter(luvio, getSlackDisplayLogin_ldsAdapter, getSlackDisplayLoginMetadata),
7800
8122
  getSlackEmoji_imperative: createImperativeAdapter(luvio, getSlackEmoji_ldsAdapter, getSlackEmojiMetadata),
7801
8123
  getSlackEmojis_imperative: createImperativeAdapter(luvio, getSlackEmojis_ldsAdapter, getSlackEmojisMetadata),
7802
8124
  getSlackMessage_imperative: createImperativeAdapter(luvio, getSlackMessage_ldsAdapter, getSlackMessageMetadata),
@@ -7819,6 +8141,7 @@ withDefaultLuvio((luvio) => {
7819
8141
  getSlackConversationMemberNotifyChange,
7820
8142
  getSlackConversationMembers,
7821
8143
  getSlackConversationMembersNotifyChange,
8144
+ getSlackDisplayLogin,
7822
8145
  getSlackEmoji,
7823
8146
  getSlackEmojiNotifyChange,
7824
8147
  getSlackEmojis,
@@ -7842,6 +8165,7 @@ withDefaultLuvio((luvio) => {
7842
8165
  getSlackConversation_imperative,
7843
8166
  getSlackConversationMember_imperative,
7844
8167
  getSlackConversationMembers_imperative,
8168
+ getSlackDisplayLogin_imperative,
7845
8169
  getSlackEmoji_imperative,
7846
8170
  getSlackEmojis_imperative,
7847
8171
  getSlackMessage_imperative,
@@ -7853,5 +8177,5 @@ withDefaultLuvio((luvio) => {
7853
8177
  } = bindExportsTo(luvio));
7854
8178
  });
7855
8179
 
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.353.1-4693659f9b
8180
+ export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getRelatedThreads_imperative, getSlackConversation, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_imperative, getSlackDisplayLogin, getSlackDisplayLogin_imperative, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmoji_imperative, getSlackEmojis, getSlackEmojis_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
8181
+ // version: 1.354.0-dev2-493c24af5a