@salesforce/lds-adapters-platform-slack-bridge 1.342.0 → 1.344.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, StoreKeyMap, deepFreeze, createResourceParams as createResourceParams$i, typeCheckConfig as typeCheckConfig$i, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$9 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, StoreKeyMap, deepFreeze, createResourceParams as createResourceParams$j, typeCheckConfig as typeCheckConfig$j, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$9 } 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$j = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
- function validate$j(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
125
+ const VERSION$k = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
+ function validate$k(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$j(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
141
141
  })();
142
142
  return v_error === undefined ? null : v_error;
143
143
  }
144
- const RepresentationType$e = 'SlackBridgeConversationMemberOutputRepresentation';
145
- function keyBuilder$t(luvio, config) {
146
- return keyPrefix + '::' + RepresentationType$e + ':' + config.channelId;
144
+ const RepresentationType$f = 'SlackBridgeConversationMemberOutputRepresentation';
145
+ function keyBuilder$u(luvio, config) {
146
+ return keyPrefix + '::' + RepresentationType$f + ':' + config.channelId;
147
147
  }
148
- function keyBuilderFromType$8(luvio, object) {
148
+ function keyBuilderFromType$9(luvio, object) {
149
149
  const keyParams = {
150
150
  channelId: object.channelId
151
151
  };
152
- return keyBuilder$t(luvio, keyParams);
152
+ return keyBuilder$u(luvio, keyParams);
153
153
  }
154
- function normalize$e(input, existing, path, luvio, store, timestamp) {
154
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
155
155
  return input;
156
156
  }
157
- const select$y = function SlackBridgeConversationMemberOutputRepresentationSelect() {
157
+ const select$A = function SlackBridgeConversationMemberOutputRepresentationSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
- version: VERSION$j,
160
+ version: VERSION$k,
161
161
  private: [],
162
162
  selections: [
163
163
  {
@@ -171,7 +171,7 @@ const select$y = function SlackBridgeConversationMemberOutputRepresentationSelec
171
171
  ]
172
172
  };
173
173
  };
174
- function equals$j(existing, incoming) {
174
+ function equals$k(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$j(existing, incoming) {
184
184
  }
185
185
  return true;
186
186
  }
187
- const ingest$e = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
187
+ const ingest$f = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
188
188
  if (process.env.NODE_ENV !== 'production') {
189
- const validateError = validate$j(input);
189
+ const validateError = validate$k(input);
190
190
  if (validateError !== null) {
191
191
  throw validateError;
192
192
  }
193
193
  }
194
- const key = keyBuilderFromType$8(luvio, input);
194
+ const key = keyBuilderFromType$9(luvio, input);
195
195
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
196
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$j, RepresentationType$e, equals$j);
196
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$k, RepresentationType$f, equals$k);
197
197
  return createLink(key);
198
198
  };
199
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
199
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
200
200
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
201
- const rootKey = keyBuilderFromType$8(luvio, input);
201
+ const rootKey = keyBuilderFromType$9(luvio, input);
202
202
  rootKeySet.set(rootKey, {
203
203
  namespace: keyPrefix,
204
- representationName: RepresentationType$e,
204
+ representationName: RepresentationType$f,
205
205
  mergeable: false
206
206
  });
207
207
  }
208
208
 
209
- function keyBuilder$s(luvio, params) {
210
- return keyBuilder$t(luvio, {
209
+ function keyBuilder$t(luvio, params) {
210
+ return keyBuilder$u(luvio, {
211
211
  channelId: params.urlParams.channelId
212
212
  });
213
213
  }
214
- function getResponseCacheKeys$h(cacheKeyMap, luvio, resourceParams) {
215
- const key = keyBuilder$s(luvio, resourceParams);
214
+ function getResponseCacheKeys$i(cacheKeyMap, luvio, resourceParams) {
215
+ const key = keyBuilder$t(luvio, resourceParams);
216
216
  cacheKeyMap.set(key, {
217
217
  namespace: keyPrefix,
218
- representationName: RepresentationType$e,
218
+ representationName: RepresentationType$f,
219
219
  mergeable: false
220
220
  });
221
221
  }
222
222
  function evictSuccess$2(luvio, resourceParams) {
223
- const key = keyBuilder$s(luvio, resourceParams);
223
+ const key = keyBuilder$t(luvio, resourceParams);
224
224
  luvio.storeEvict(key);
225
225
  }
226
- function createResourceRequest$h(config) {
226
+ function createResourceRequest$i(config) {
227
227
  const headers = {};
228
228
  return {
229
229
  baseUri: '/services/data/v64.0',
@@ -237,35 +237,35 @@ function createResourceRequest$h(config) {
237
237
  };
238
238
  }
239
239
 
240
- const adapterName$h = 'deleteSlackConversationMember';
240
+ const adapterName$i = '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$h, deleteSlackConversationMember_ConfigPropertyMetadata);
247
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$i(deleteSlackConversationMember_ConfigPropertyMetadata);
248
- function typeCheckConfig$h(untrustedConfig) {
246
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, deleteSlackConversationMember_ConfigPropertyMetadata);
247
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$j(deleteSlackConversationMember_ConfigPropertyMetadata);
248
+ function typeCheckConfig$i(untrustedConfig) {
249
249
  const config = {};
250
- typeCheckConfig$i(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
250
+ typeCheckConfig$j(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
251
251
  return config;
252
252
  }
253
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
253
+ function validateAdapterConfig$i(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$h(untrustedConfig);
260
+ const config = typeCheckConfig$i(untrustedConfig);
261
261
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
262
262
  return null;
263
263
  }
264
264
  return config;
265
265
  }
266
- function buildNetworkSnapshot$h(luvio, config, options) {
267
- const resourceParams = createResourceParams$h(config);
268
- const request = createResourceRequest$h(resourceParams);
266
+ function buildNetworkSnapshot$i(luvio, config, options) {
267
+ const resourceParams = createResourceParams$i(config);
268
+ const request = createResourceRequest$i(resourceParams);
269
269
  return luvio.dispatchResourceRequest(request, options)
270
270
  .then(() => {
271
271
  return luvio.handleSuccessResponse(() => {
@@ -273,7 +273,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
273
273
  return luvio.storeBroadcast();
274
274
  }, () => {
275
275
  const cache = new StoreKeyMap();
276
- getResponseCacheKeys$h(cache, luvio, resourceParams);
276
+ getResponseCacheKeys$i(cache, luvio, resourceParams);
277
277
  return cache;
278
278
  });
279
279
  }, (response) => {
@@ -283,17 +283,17 @@ function buildNetworkSnapshot$h(luvio, config, options) {
283
283
  }
284
284
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
285
285
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
286
- const config = validateAdapterConfig$h(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
286
+ const config = validateAdapterConfig$i(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
287
287
  // Invalid or incomplete config
288
288
  if (config === null) {
289
- throw new Error(`Invalid config for "${adapterName$h}"`);
289
+ throw new Error(`Invalid config for "${adapterName$i}"`);
290
290
  }
291
- return buildNetworkSnapshot$h(luvio, config);
291
+ return buildNetworkSnapshot$i(luvio, config);
292
292
  };
293
293
  };
294
294
 
295
- const VERSION$i = "605674abcbc0dad7e2707e4e00e8d4cd";
296
- function validate$i(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
295
+ const VERSION$j = "605674abcbc0dad7e2707e4e00e8d4cd";
296
+ function validate$j(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$i(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
316
316
  })();
317
317
  return v_error === undefined ? null : v_error;
318
318
  }
319
- const RepresentationType$d = 'SlackBridgeMessageFragmentOutputRepresentation';
320
- function keyBuilder$r(luvio, config) {
321
- return keyPrefix + '::' + RepresentationType$d + ':' + config.channelId;
319
+ const RepresentationType$e = 'SlackBridgeMessageFragmentOutputRepresentation';
320
+ function keyBuilder$s(luvio, config) {
321
+ return keyPrefix + '::' + RepresentationType$e + ':' + config.channelId;
322
322
  }
323
- function keyBuilderFromType$7(luvio, object) {
323
+ function keyBuilderFromType$8(luvio, object) {
324
324
  const keyParams = {
325
325
  channelId: object.channelId
326
326
  };
327
- return keyBuilder$r(luvio, keyParams);
327
+ return keyBuilder$s(luvio, keyParams);
328
328
  }
329
- function normalize$d(input, existing, path, luvio, store, timestamp) {
329
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
330
330
  return input;
331
331
  }
332
- const select$x = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
332
+ const select$z = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
333
333
  return {
334
334
  kind: 'Fragment',
335
- version: VERSION$i,
335
+ version: VERSION$j,
336
336
  private: [],
337
337
  selections: [
338
338
  {
@@ -350,7 +350,7 @@ const select$x = function SlackBridgeMessageFragmentOutputRepresentationSelect()
350
350
  ]
351
351
  };
352
352
  };
353
- function equals$i(existing, incoming) {
353
+ function equals$j(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$i(existing, incoming) {
368
368
  }
369
369
  return true;
370
370
  }
371
- const ingest$d = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
371
+ const ingest$e = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
372
372
  if (process.env.NODE_ENV !== 'production') {
373
- const validateError = validate$i(input);
373
+ const validateError = validate$j(input);
374
374
  if (validateError !== null) {
375
375
  throw validateError;
376
376
  }
377
377
  }
378
- const key = keyBuilderFromType$7(luvio, input);
378
+ const key = keyBuilderFromType$8(luvio, input);
379
379
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
380
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$i, RepresentationType$d, equals$i);
380
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$j, RepresentationType$e, equals$j);
381
381
  return createLink(key);
382
382
  };
383
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
383
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
384
384
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
385
- const rootKey = keyBuilderFromType$7(luvio, input);
385
+ const rootKey = keyBuilderFromType$8(luvio, input);
386
386
  rootKeySet.set(rootKey, {
387
387
  namespace: keyPrefix,
388
- representationName: RepresentationType$d,
388
+ representationName: RepresentationType$e,
389
389
  mergeable: false
390
390
  });
391
391
  }
392
392
 
393
- function keyBuilder$q(luvio, params) {
394
- return keyBuilder$r(luvio, {
393
+ function keyBuilder$r(luvio, params) {
394
+ return keyBuilder$s(luvio, {
395
395
  channelId: params.urlParams.channelId
396
396
  });
397
397
  }
398
- function getResponseCacheKeys$g(cacheKeyMap, luvio, resourceParams) {
399
- const key = keyBuilder$q(luvio, resourceParams);
398
+ function getResponseCacheKeys$h(cacheKeyMap, luvio, resourceParams) {
399
+ const key = keyBuilder$r(luvio, resourceParams);
400
400
  cacheKeyMap.set(key, {
401
401
  namespace: keyPrefix,
402
- representationName: RepresentationType$d,
402
+ representationName: RepresentationType$e,
403
403
  mergeable: false
404
404
  });
405
405
  }
406
406
  function evictSuccess$1(luvio, resourceParams) {
407
- const key = keyBuilder$q(luvio, resourceParams);
407
+ const key = keyBuilder$r(luvio, resourceParams);
408
408
  luvio.storeEvict(key);
409
409
  }
410
- function createResourceRequest$g(config) {
410
+ function createResourceRequest$h(config) {
411
411
  const headers = {};
412
412
  return {
413
413
  baseUri: '/services/data/v64.0',
@@ -421,35 +421,35 @@ function createResourceRequest$g(config) {
421
421
  };
422
422
  }
423
423
 
424
- const adapterName$g = 'deleteSlackMessage';
424
+ const adapterName$h = '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$g, deleteSlackMessage_ConfigPropertyMetadata);
431
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$i(deleteSlackMessage_ConfigPropertyMetadata);
432
- function typeCheckConfig$g(untrustedConfig) {
430
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, deleteSlackMessage_ConfigPropertyMetadata);
431
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$j(deleteSlackMessage_ConfigPropertyMetadata);
432
+ function typeCheckConfig$h(untrustedConfig) {
433
433
  const config = {};
434
- typeCheckConfig$i(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
434
+ typeCheckConfig$j(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
435
435
  return config;
436
436
  }
437
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
437
+ function validateAdapterConfig$h(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$g(untrustedConfig);
444
+ const config = typeCheckConfig$h(untrustedConfig);
445
445
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
446
446
  return null;
447
447
  }
448
448
  return config;
449
449
  }
450
- function buildNetworkSnapshot$g(luvio, config, options) {
451
- const resourceParams = createResourceParams$g(config);
452
- const request = createResourceRequest$g(resourceParams);
450
+ function buildNetworkSnapshot$h(luvio, config, options) {
451
+ const resourceParams = createResourceParams$h(config);
452
+ const request = createResourceRequest$h(resourceParams);
453
453
  return luvio.dispatchResourceRequest(request, options)
454
454
  .then(() => {
455
455
  return luvio.handleSuccessResponse(() => {
@@ -457,7 +457,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
457
457
  return luvio.storeBroadcast();
458
458
  }, () => {
459
459
  const cache = new StoreKeyMap();
460
- getResponseCacheKeys$g(cache, luvio, resourceParams);
460
+ getResponseCacheKeys$h(cache, luvio, resourceParams);
461
461
  return cache;
462
462
  });
463
463
  }, (response) => {
@@ -467,17 +467,17 @@ function buildNetworkSnapshot$g(luvio, config, options) {
467
467
  }
468
468
  const deleteSlackMessageAdapterFactory = (luvio) => {
469
469
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
470
- const config = validateAdapterConfig$g(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
470
+ const config = validateAdapterConfig$h(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
471
471
  // Invalid or incomplete config
472
472
  if (config === null) {
473
- throw new Error(`Invalid config for "${adapterName$g}"`);
473
+ throw new Error(`Invalid config for "${adapterName$h}"`);
474
474
  }
475
- return buildNetworkSnapshot$g(luvio, config);
475
+ return buildNetworkSnapshot$h(luvio, config);
476
476
  };
477
477
  };
478
478
 
479
- const VERSION$h = "c7dec6b60c7d567a7835fbdd84d3e67e";
480
- function validate$h(obj, path = 'SlackBridgeReactionOutputRepresentation') {
479
+ const VERSION$i = "c7dec6b60c7d567a7835fbdd84d3e67e";
480
+ function validate$i(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 + '")');
@@ -533,10 +533,10 @@ function validate$h(obj, path = 'SlackBridgeReactionOutputRepresentation') {
533
533
  })();
534
534
  return v_error === undefined ? null : v_error;
535
535
  }
536
- const select$w = function SlackBridgeReactionOutputRepresentationSelect() {
536
+ const select$y = function SlackBridgeReactionOutputRepresentationSelect() {
537
537
  return {
538
538
  kind: 'Fragment',
539
- version: VERSION$h,
539
+ version: VERSION$i,
540
540
  private: [],
541
541
  selections: [
542
542
  {
@@ -559,7 +559,7 @@ const select$w = function SlackBridgeReactionOutputRepresentationSelect() {
559
559
  ]
560
560
  };
561
561
  };
562
- function equals$h(existing, incoming) {
562
+ function equals$i(existing, incoming) {
563
563
  const existing_count = existing.count;
564
564
  const incoming_count = incoming.count;
565
565
  if (!(existing_count === incoming_count)) {
@@ -588,8 +588,8 @@ function equals$h(existing, incoming) {
588
588
  return true;
589
589
  }
590
590
 
591
- const VERSION$g = "804aa6216a7579adeeae856f76b688db";
592
- function validate$g(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
591
+ const VERSION$h = "804aa6216a7579adeeae856f76b688db";
592
+ function validate$h(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
593
593
  const v_error = (() => {
594
594
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
595
595
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -612,7 +612,7 @@ function validate$g(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
612
612
  for (let i = 0; i < obj_reactions.length; i++) {
613
613
  const obj_reactions_item = obj_reactions[i];
614
614
  const path_reactions_item = path_reactions + '[' + i + ']';
615
- const referencepath_reactions_itemValidationError = validate$h(obj_reactions_item, path_reactions_item);
615
+ const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
616
616
  if (referencepath_reactions_itemValidationError !== null) {
617
617
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
618
618
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -627,24 +627,24 @@ function validate$g(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
627
627
  })();
628
628
  return v_error === undefined ? null : v_error;
629
629
  }
630
- const RepresentationType$c = 'SlackBridgeReactionsOutputRepresentation';
631
- function keyBuilder$p(luvio, config) {
632
- return keyPrefix + '::' + RepresentationType$c + ':' + config.channelId;
630
+ const RepresentationType$d = 'SlackBridgeReactionsOutputRepresentation';
631
+ function keyBuilder$q(luvio, config) {
632
+ return keyPrefix + '::' + RepresentationType$d + ':' + config.channelId;
633
633
  }
634
- function keyBuilderFromType$6(luvio, object) {
634
+ function keyBuilderFromType$7(luvio, object) {
635
635
  const keyParams = {
636
636
  channelId: object.channelId
637
637
  };
638
- return keyBuilder$p(luvio, keyParams);
638
+ return keyBuilder$q(luvio, keyParams);
639
639
  }
640
- function normalize$c(input, existing, path, luvio, store, timestamp) {
640
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
641
641
  return input;
642
642
  }
643
- const select$v = function SlackBridgeReactionsOutputRepresentationSelect() {
644
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$w();
643
+ const select$x = function SlackBridgeReactionsOutputRepresentationSelect() {
644
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$y();
645
645
  return {
646
646
  kind: 'Fragment',
647
- version: VERSION$g,
647
+ version: VERSION$h,
648
648
  private: [],
649
649
  selections: [
650
650
  {
@@ -668,7 +668,7 @@ const select$v = function SlackBridgeReactionsOutputRepresentationSelect() {
668
668
  ]
669
669
  };
670
670
  };
671
- function equals$g(existing, incoming) {
671
+ function equals$h(existing, incoming) {
672
672
  const existing_channelId = existing.channelId;
673
673
  const incoming_channelId = incoming.channelId;
674
674
  if (!(existing_channelId === incoming_channelId)) {
@@ -687,7 +687,7 @@ function equals$g(existing, incoming) {
687
687
  const existing_reactions = existing.reactions;
688
688
  const incoming_reactions = incoming.reactions;
689
689
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
690
- if (!(equals$h(existing_reactions_item, incoming_reactions_item))) {
690
+ if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
691
691
  return false;
692
692
  }
693
693
  });
@@ -696,46 +696,46 @@ function equals$g(existing, incoming) {
696
696
  }
697
697
  return true;
698
698
  }
699
- const ingest$c = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
699
+ const ingest$d = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
700
700
  if (process.env.NODE_ENV !== 'production') {
701
- const validateError = validate$g(input);
701
+ const validateError = validate$h(input);
702
702
  if (validateError !== null) {
703
703
  throw validateError;
704
704
  }
705
705
  }
706
- const key = keyBuilderFromType$6(luvio, input);
706
+ const key = keyBuilderFromType$7(luvio, input);
707
707
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
708
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$g, RepresentationType$c, equals$g);
708
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$h, RepresentationType$d, equals$h);
709
709
  return createLink(key);
710
710
  };
711
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
711
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
712
712
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
713
- const rootKey = keyBuilderFromType$6(luvio, input);
713
+ const rootKey = keyBuilderFromType$7(luvio, input);
714
714
  rootKeySet.set(rootKey, {
715
715
  namespace: keyPrefix,
716
- representationName: RepresentationType$c,
716
+ representationName: RepresentationType$d,
717
717
  mergeable: false
718
718
  });
719
719
  }
720
720
 
721
- function keyBuilder$o(luvio, params) {
722
- return keyBuilder$p(luvio, {
721
+ function keyBuilder$p(luvio, params) {
722
+ return keyBuilder$q(luvio, {
723
723
  channelId: params.urlParams.channelId
724
724
  });
725
725
  }
726
- function getResponseCacheKeys$f(cacheKeyMap, luvio, resourceParams) {
727
- const key = keyBuilder$o(luvio, resourceParams);
726
+ function getResponseCacheKeys$g(cacheKeyMap, luvio, resourceParams) {
727
+ const key = keyBuilder$p(luvio, resourceParams);
728
728
  cacheKeyMap.set(key, {
729
729
  namespace: keyPrefix,
730
- representationName: RepresentationType$c,
730
+ representationName: RepresentationType$d,
731
731
  mergeable: false
732
732
  });
733
733
  }
734
734
  function evictSuccess(luvio, resourceParams) {
735
- const key = keyBuilder$o(luvio, resourceParams);
735
+ const key = keyBuilder$p(luvio, resourceParams);
736
736
  luvio.storeEvict(key);
737
737
  }
738
- function createResourceRequest$f(config) {
738
+ function createResourceRequest$g(config) {
739
739
  const headers = {};
740
740
  return {
741
741
  baseUri: '/services/data/v64.0',
@@ -749,36 +749,36 @@ function createResourceRequest$f(config) {
749
749
  };
750
750
  }
751
751
 
752
- const adapterName$f = 'deleteSlackMessageReactions';
752
+ const adapterName$g = 'deleteSlackMessageReactions';
753
753
  const deleteSlackMessageReactions_ConfigPropertyMetadata = [
754
754
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
755
755
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
756
756
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
757
757
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
758
758
  ];
759
- const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, deleteSlackMessageReactions_ConfigPropertyMetadata);
760
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$i(deleteSlackMessageReactions_ConfigPropertyMetadata);
761
- function typeCheckConfig$f(untrustedConfig) {
759
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, deleteSlackMessageReactions_ConfigPropertyMetadata);
760
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$j(deleteSlackMessageReactions_ConfigPropertyMetadata);
761
+ function typeCheckConfig$g(untrustedConfig) {
762
762
  const config = {};
763
- typeCheckConfig$i(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
763
+ typeCheckConfig$j(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
764
764
  return config;
765
765
  }
766
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
766
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
767
767
  if (!untrustedIsObject(untrustedConfig)) {
768
768
  return null;
769
769
  }
770
770
  if (process.env.NODE_ENV !== 'production') {
771
771
  validateConfig(untrustedConfig, configPropertyNames);
772
772
  }
773
- const config = typeCheckConfig$f(untrustedConfig);
773
+ const config = typeCheckConfig$g(untrustedConfig);
774
774
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
775
775
  return null;
776
776
  }
777
777
  return config;
778
778
  }
779
- function buildNetworkSnapshot$f(luvio, config, options) {
780
- const resourceParams = createResourceParams$f(config);
781
- const request = createResourceRequest$f(resourceParams);
779
+ function buildNetworkSnapshot$g(luvio, config, options) {
780
+ const resourceParams = createResourceParams$g(config);
781
+ const request = createResourceRequest$g(resourceParams);
782
782
  return luvio.dispatchResourceRequest(request, options)
783
783
  .then(() => {
784
784
  return luvio.handleSuccessResponse(() => {
@@ -786,7 +786,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
786
786
  return luvio.storeBroadcast();
787
787
  }, () => {
788
788
  const cache = new StoreKeyMap();
789
- getResponseCacheKeys$f(cache, luvio, resourceParams);
789
+ getResponseCacheKeys$g(cache, luvio, resourceParams);
790
790
  return cache;
791
791
  });
792
792
  }, (response) => {
@@ -796,17 +796,17 @@ function buildNetworkSnapshot$f(luvio, config, options) {
796
796
  }
797
797
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
798
798
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
799
- const config = validateAdapterConfig$f(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
799
+ const config = validateAdapterConfig$g(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
800
800
  // Invalid or incomplete config
801
801
  if (config === null) {
802
- throw new Error(`Invalid config for "${adapterName$f}"`);
802
+ throw new Error(`Invalid config for "${adapterName$g}"`);
803
803
  }
804
- return buildNetworkSnapshot$f(luvio, config);
804
+ return buildNetworkSnapshot$g(luvio, config);
805
805
  };
806
806
  };
807
807
 
808
- const VERSION$f = "a398e130daf23612644f70d0705347e8";
809
- function validate$f(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
808
+ const VERSION$g = "a398e130daf23612644f70d0705347e8";
809
+ function validate$g(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
810
810
  const v_error = (() => {
811
811
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
812
812
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -860,10 +860,10 @@ function validate$f(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
860
860
  })();
861
861
  return v_error === undefined ? null : v_error;
862
862
  }
863
- const select$u = function SlackBridgeEmojiOutputRepresentationSelect() {
863
+ const select$w = function SlackBridgeEmojiOutputRepresentationSelect() {
864
864
  return {
865
865
  kind: 'Fragment',
866
- version: VERSION$f,
866
+ version: VERSION$g,
867
867
  private: [],
868
868
  selections: [
869
869
  {
@@ -889,7 +889,7 @@ const select$u = function SlackBridgeEmojiOutputRepresentationSelect() {
889
889
  ]
890
890
  };
891
891
  };
892
- function equals$f(existing, incoming) {
892
+ function equals$g(existing, incoming) {
893
893
  const existing_altText = existing.altText;
894
894
  const incoming_altText = incoming.altText;
895
895
  if (!(existing_altText === incoming_altText)) {
@@ -919,8 +919,8 @@ function equals$f(existing, incoming) {
919
919
  }
920
920
 
921
921
  const TTL = 600000;
922
- const VERSION$e = "1c89c1c8379c0e55b8f94fecd03d8775";
923
- function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
922
+ const VERSION$f = "1c89c1c8379c0e55b8f94fecd03d8775";
923
+ function validate$f(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
924
924
  const v_error = (() => {
925
925
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
926
926
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1115,7 +1115,7 @@ function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
1115
1115
  const path_statusEmoji = path + '.statusEmoji';
1116
1116
  let obj_statusEmoji_union0 = null;
1117
1117
  const obj_statusEmoji_union0_error = (() => {
1118
- const referencepath_statusEmojiValidationError = validate$f(obj_statusEmoji, path_statusEmoji);
1118
+ const referencepath_statusEmojiValidationError = validate$g(obj_statusEmoji, path_statusEmoji);
1119
1119
  if (referencepath_statusEmojiValidationError !== null) {
1120
1120
  let message = 'Object doesn\'t match SlackBridgeEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
1121
1121
  message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1153,25 +1153,25 @@ function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
1153
1153
  })();
1154
1154
  return v_error === undefined ? null : v_error;
1155
1155
  }
1156
- const RepresentationType$b = 'SlackBridgeUserInfoOutputRepresentation';
1157
- function keyBuilder$n(luvio, config) {
1158
- return keyPrefix + '::' + RepresentationType$b + ':' + config.teamId + ':' + config.slackUserId;
1156
+ const RepresentationType$c = 'SlackBridgeUserInfoOutputRepresentation';
1157
+ function keyBuilder$o(luvio, config) {
1158
+ return keyPrefix + '::' + RepresentationType$c + ':' + config.teamId + ':' + config.slackUserId;
1159
1159
  }
1160
- function keyBuilderFromType$5(luvio, object) {
1160
+ function keyBuilderFromType$6(luvio, object) {
1161
1161
  const keyParams = {
1162
1162
  teamId: object.teamId,
1163
1163
  slackUserId: object.slackUserId
1164
1164
  };
1165
- return keyBuilder$n(luvio, keyParams);
1165
+ return keyBuilder$o(luvio, keyParams);
1166
1166
  }
1167
- function normalize$b(input, existing, path, luvio, store, timestamp) {
1167
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
1168
1168
  return input;
1169
1169
  }
1170
- const select$t = function SlackBridgeUserInfoOutputRepresentationSelect() {
1171
- const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$u();
1170
+ const select$v = function SlackBridgeUserInfoOutputRepresentationSelect() {
1171
+ const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$w();
1172
1172
  return {
1173
1173
  kind: 'Fragment',
1174
- version: VERSION$e,
1174
+ version: VERSION$f,
1175
1175
  private: [],
1176
1176
  selections: [
1177
1177
  {
@@ -1239,7 +1239,7 @@ const select$t = function SlackBridgeUserInfoOutputRepresentationSelect() {
1239
1239
  ]
1240
1240
  };
1241
1241
  };
1242
- function equals$e(existing, incoming) {
1242
+ function equals$f(existing, incoming) {
1243
1243
  const existing_bot = existing.bot;
1244
1244
  const incoming_bot = incoming.bot;
1245
1245
  if (!(existing_bot === incoming_bot)) {
@@ -1315,35 +1315,35 @@ function equals$e(existing, incoming) {
1315
1315
  if (!(existing_statusEmoji === incoming_statusEmoji
1316
1316
  || (existing_statusEmoji != null &&
1317
1317
  incoming_statusEmoji != null &&
1318
- equals$f(existing_statusEmoji, incoming_statusEmoji)))) {
1318
+ equals$g(existing_statusEmoji, incoming_statusEmoji)))) {
1319
1319
  return false;
1320
1320
  }
1321
1321
  return true;
1322
1322
  }
1323
- const ingest$b = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1323
+ const ingest$c = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1324
1324
  if (process.env.NODE_ENV !== 'production') {
1325
- const validateError = validate$e(input);
1325
+ const validateError = validate$f(input);
1326
1326
  if (validateError !== null) {
1327
1327
  throw validateError;
1328
1328
  }
1329
1329
  }
1330
- const key = keyBuilderFromType$5(luvio, input);
1330
+ const key = keyBuilderFromType$6(luvio, input);
1331
1331
  const ttlToUse = TTL;
1332
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$e, RepresentationType$b, equals$e);
1332
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$f, RepresentationType$c, equals$f);
1333
1333
  return createLink(key);
1334
1334
  };
1335
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
1335
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
1336
1336
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1337
- const rootKey = keyBuilderFromType$5(luvio, input);
1337
+ const rootKey = keyBuilderFromType$6(luvio, input);
1338
1338
  rootKeySet.set(rootKey, {
1339
1339
  namespace: keyPrefix,
1340
- representationName: RepresentationType$b,
1340
+ representationName: RepresentationType$c,
1341
1341
  mergeable: false
1342
1342
  });
1343
1343
  }
1344
1344
 
1345
- const VERSION$d = "77e079f223fc937e8ca5847158ca51a5";
1346
- function validate$d(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1345
+ const VERSION$e = "77e079f223fc937e8ca5847158ca51a5";
1346
+ function validate$e(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1347
1347
  const v_error = (() => {
1348
1348
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1349
1349
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1484,23 +1484,23 @@ function validate$d(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1484
1484
  })();
1485
1485
  return v_error === undefined ? null : v_error;
1486
1486
  }
1487
- const RepresentationType$a = 'SlackBridgeConversationInfoOutputRepresentation';
1488
- function keyBuilder$m(luvio, config) {
1489
- return keyPrefix + '::' + RepresentationType$a + ':' + config.id;
1487
+ const RepresentationType$b = 'SlackBridgeConversationInfoOutputRepresentation';
1488
+ function keyBuilder$n(luvio, config) {
1489
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.id;
1490
1490
  }
1491
- function keyBuilderFromType$4(luvio, object) {
1491
+ function keyBuilderFromType$5(luvio, object) {
1492
1492
  const keyParams = {
1493
1493
  id: object.id
1494
1494
  };
1495
- return keyBuilder$m(luvio, keyParams);
1495
+ return keyBuilder$n(luvio, keyParams);
1496
1496
  }
1497
- function normalize$a(input, existing, path, luvio, store, timestamp) {
1497
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
1498
1498
  return input;
1499
1499
  }
1500
- const select$s = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1500
+ const select$u = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1501
1501
  return {
1502
1502
  kind: 'Fragment',
1503
- version: VERSION$d,
1503
+ version: VERSION$e,
1504
1504
  private: [],
1505
1505
  selections: [
1506
1506
  {
@@ -1562,7 +1562,7 @@ const select$s = function SlackBridgeConversationInfoOutputRepresentationSelect(
1562
1562
  ]
1563
1563
  };
1564
1564
  };
1565
- function equals$d(existing, incoming) {
1565
+ function equals$e(existing, incoming) {
1566
1566
  const existing_isArchived = existing.isArchived;
1567
1567
  const incoming_isArchived = incoming.isArchived;
1568
1568
  if (!(existing_isArchived === incoming_isArchived)) {
@@ -1635,30 +1635,30 @@ function equals$d(existing, incoming) {
1635
1635
  }
1636
1636
  return true;
1637
1637
  }
1638
- const ingest$a = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1638
+ const ingest$b = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1639
1639
  if (process.env.NODE_ENV !== 'production') {
1640
- const validateError = validate$d(input);
1640
+ const validateError = validate$e(input);
1641
1641
  if (validateError !== null) {
1642
1642
  throw validateError;
1643
1643
  }
1644
1644
  }
1645
- const key = keyBuilderFromType$4(luvio, input);
1645
+ const key = keyBuilderFromType$5(luvio, input);
1646
1646
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1647
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$d, RepresentationType$a, equals$d);
1647
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$e, RepresentationType$b, equals$e);
1648
1648
  return createLink(key);
1649
1649
  };
1650
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
1650
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
1651
1651
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1652
- const rootKey = keyBuilderFromType$4(luvio, input);
1652
+ const rootKey = keyBuilderFromType$5(luvio, input);
1653
1653
  rootKeySet.set(rootKey, {
1654
1654
  namespace: keyPrefix,
1655
- representationName: RepresentationType$a,
1655
+ representationName: RepresentationType$b,
1656
1656
  mergeable: false
1657
1657
  });
1658
1658
  }
1659
1659
 
1660
- const VERSION$c = "4634cd404d8392ac4ca9f0e1be03bfbd";
1661
- function validate$c(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1660
+ const VERSION$d = "4634cd404d8392ac4ca9f0e1be03bfbd";
1661
+ function validate$d(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1662
1662
  const v_error = (() => {
1663
1663
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1664
1664
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1676,10 +1676,10 @@ function validate$c(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1676
1676
  })();
1677
1677
  return v_error === undefined ? null : v_error;
1678
1678
  }
1679
- const select$r = function SlackBridgeFileTypeOutputRepresentationSelect() {
1679
+ const select$t = function SlackBridgeFileTypeOutputRepresentationSelect() {
1680
1680
  return {
1681
1681
  kind: 'Fragment',
1682
- version: VERSION$c,
1682
+ version: VERSION$d,
1683
1683
  private: [],
1684
1684
  selections: [
1685
1685
  {
@@ -1693,7 +1693,7 @@ const select$r = function SlackBridgeFileTypeOutputRepresentationSelect() {
1693
1693
  ]
1694
1694
  };
1695
1695
  };
1696
- function equals$c(existing, incoming) {
1696
+ function equals$d(existing, incoming) {
1697
1697
  const existing_extension = existing.extension;
1698
1698
  const incoming_extension = incoming.extension;
1699
1699
  if (!(existing_extension === incoming_extension)) {
@@ -1707,8 +1707,8 @@ function equals$c(existing, incoming) {
1707
1707
  return true;
1708
1708
  }
1709
1709
 
1710
- const VERSION$b = "929dbada9eaca4bca26deee89f9d11b2";
1711
- function validate$b(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1710
+ const VERSION$c = "929dbada9eaca4bca26deee89f9d11b2";
1711
+ function validate$c(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1712
1712
  const v_error = (() => {
1713
1713
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1714
1714
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1720,7 +1720,7 @@ function validate$b(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1720
1720
  }
1721
1721
  const obj_filetype = obj.filetype;
1722
1722
  const path_filetype = path + '.filetype';
1723
- const referencepath_filetypeValidationError = validate$c(obj_filetype, path_filetype);
1723
+ const referencepath_filetypeValidationError = validate$d(obj_filetype, path_filetype);
1724
1724
  if (referencepath_filetypeValidationError !== null) {
1725
1725
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1726
1726
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1749,11 +1749,11 @@ function validate$b(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1749
1749
  })();
1750
1750
  return v_error === undefined ? null : v_error;
1751
1751
  }
1752
- const select$q = function SlackBridgeContentVersionOutputRepresentationSelect() {
1753
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$r();
1752
+ const select$s = function SlackBridgeContentVersionOutputRepresentationSelect() {
1753
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$t();
1754
1754
  return {
1755
1755
  kind: 'Fragment',
1756
- version: VERSION$b,
1756
+ version: VERSION$c,
1757
1757
  private: [],
1758
1758
  selections: [
1759
1759
  {
@@ -1784,7 +1784,7 @@ const select$q = function SlackBridgeContentVersionOutputRepresentationSelect()
1784
1784
  ]
1785
1785
  };
1786
1786
  };
1787
- function equals$b(existing, incoming) {
1787
+ function equals$c(existing, incoming) {
1788
1788
  const existing_size = existing.size;
1789
1789
  const incoming_size = incoming.size;
1790
1790
  if (!(existing_size === incoming_size)) {
@@ -1812,21 +1812,21 @@ function equals$b(existing, incoming) {
1812
1812
  }
1813
1813
  const existing_filetype = existing.filetype;
1814
1814
  const incoming_filetype = incoming.filetype;
1815
- if (!(equals$c(existing_filetype, incoming_filetype))) {
1815
+ if (!(equals$d(existing_filetype, incoming_filetype))) {
1816
1816
  return false;
1817
1817
  }
1818
1818
  return true;
1819
1819
  }
1820
1820
 
1821
- const VERSION$a = "effdd259bc622bee05493fc2a3ecd276";
1822
- function validate$a(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
1821
+ const VERSION$b = "effdd259bc622bee05493fc2a3ecd276";
1822
+ function validate$b(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
1823
1823
  const v_error = (() => {
1824
1824
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1825
1825
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1826
1826
  }
1827
1827
  const obj_filetype = obj.filetype;
1828
1828
  const path_filetype = path + '.filetype';
1829
- const referencepath_filetypeValidationError = validate$c(obj_filetype, path_filetype);
1829
+ const referencepath_filetypeValidationError = validate$d(obj_filetype, path_filetype);
1830
1830
  if (referencepath_filetypeValidationError !== null) {
1831
1831
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1832
1832
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1839,7 +1839,7 @@ function validate$a(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1839
1839
  }
1840
1840
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
1841
1841
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
1842
- const referencepath_latestPublishedVersionValidationError = validate$b(obj_latestPublishedVersion, path_latestPublishedVersion);
1842
+ const referencepath_latestPublishedVersionValidationError = validate$c(obj_latestPublishedVersion, path_latestPublishedVersion);
1843
1843
  if (referencepath_latestPublishedVersionValidationError !== null) {
1844
1844
  let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
1845
1845
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1858,12 +1858,12 @@ function validate$a(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1858
1858
  })();
1859
1859
  return v_error === undefined ? null : v_error;
1860
1860
  }
1861
- const select$p = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1862
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$r();
1863
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$q();
1861
+ const select$r = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1862
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$t();
1863
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$s();
1864
1864
  return {
1865
1865
  kind: 'Fragment',
1866
- version: VERSION$a,
1866
+ version: VERSION$b,
1867
1867
  private: [],
1868
1868
  selections: [
1869
1869
  {
@@ -1891,7 +1891,7 @@ const select$p = function SlackBridgeContentDocumentOutputRepresentationSelect()
1891
1891
  ]
1892
1892
  };
1893
1893
  };
1894
- function equals$a(existing, incoming) {
1894
+ function equals$b(existing, incoming) {
1895
1895
  const existing_size = existing.size;
1896
1896
  const incoming_size = incoming.size;
1897
1897
  if (!(existing_size === incoming_size)) {
@@ -1909,26 +1909,26 @@ function equals$a(existing, incoming) {
1909
1909
  }
1910
1910
  const existing_filetype = existing.filetype;
1911
1911
  const incoming_filetype = incoming.filetype;
1912
- if (!(equals$c(existing_filetype, incoming_filetype))) {
1912
+ if (!(equals$d(existing_filetype, incoming_filetype))) {
1913
1913
  return false;
1914
1914
  }
1915
1915
  const existing_latestPublishedVersion = existing.latestPublishedVersion;
1916
1916
  const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
1917
- if (!(equals$b(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
1917
+ if (!(equals$c(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
1918
1918
  return false;
1919
1919
  }
1920
1920
  return true;
1921
1921
  }
1922
1922
 
1923
- const VERSION$9 = "3f1a7f34ee73f6a8d9677314d88bad78";
1924
- function validate$9(obj, path = 'SlackBridgeFileOutputRepresentation') {
1923
+ const VERSION$a = "3f1a7f34ee73f6a8d9677314d88bad78";
1924
+ function validate$a(obj, path = 'SlackBridgeFileOutputRepresentation') {
1925
1925
  const v_error = (() => {
1926
1926
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1927
1927
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1928
1928
  }
1929
1929
  const obj_contentDocument = obj.contentDocument;
1930
1930
  const path_contentDocument = path + '.contentDocument';
1931
- const referencepath_contentDocumentValidationError = validate$a(obj_contentDocument, path_contentDocument);
1931
+ const referencepath_contentDocumentValidationError = validate$b(obj_contentDocument, path_contentDocument);
1932
1932
  if (referencepath_contentDocumentValidationError !== null) {
1933
1933
  let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
1934
1934
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1987,24 +1987,24 @@ function validate$9(obj, path = 'SlackBridgeFileOutputRepresentation') {
1987
1987
  })();
1988
1988
  return v_error === undefined ? null : v_error;
1989
1989
  }
1990
- const RepresentationType$9 = 'SlackBridgeFileOutputRepresentation';
1991
- function keyBuilder$l(luvio, config) {
1992
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.uniqueKey;
1990
+ const RepresentationType$a = 'SlackBridgeFileOutputRepresentation';
1991
+ function keyBuilder$m(luvio, config) {
1992
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.uniqueKey;
1993
1993
  }
1994
- function keyBuilderFromType$3(luvio, object) {
1994
+ function keyBuilderFromType$4(luvio, object) {
1995
1995
  const keyParams = {
1996
1996
  uniqueKey: object.uniqueKey
1997
1997
  };
1998
- return keyBuilder$l(luvio, keyParams);
1998
+ return keyBuilder$m(luvio, keyParams);
1999
1999
  }
2000
- function normalize$9(input, existing, path, luvio, store, timestamp) {
2000
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
2001
2001
  return input;
2002
2002
  }
2003
- const select$o = function SlackBridgeFileOutputRepresentationSelect() {
2004
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$p();
2003
+ const select$q = function SlackBridgeFileOutputRepresentationSelect() {
2004
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$r();
2005
2005
  return {
2006
2006
  kind: 'Fragment',
2007
- version: VERSION$9,
2007
+ version: VERSION$a,
2008
2008
  private: [],
2009
2009
  selections: [
2010
2010
  {
@@ -2055,7 +2055,7 @@ const select$o = function SlackBridgeFileOutputRepresentationSelect() {
2055
2055
  ]
2056
2056
  };
2057
2057
  };
2058
- function equals$9(existing, incoming) {
2058
+ function equals$a(existing, incoming) {
2059
2059
  const existing_size = existing.size;
2060
2060
  const incoming_size = incoming.size;
2061
2061
  if (!(existing_size === incoming_size)) {
@@ -2108,35 +2108,35 @@ function equals$9(existing, incoming) {
2108
2108
  }
2109
2109
  const existing_contentDocument = existing.contentDocument;
2110
2110
  const incoming_contentDocument = incoming.contentDocument;
2111
- if (!(equals$a(existing_contentDocument, incoming_contentDocument))) {
2111
+ if (!(equals$b(existing_contentDocument, incoming_contentDocument))) {
2112
2112
  return false;
2113
2113
  }
2114
2114
  return true;
2115
2115
  }
2116
- const ingest$9 = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2116
+ const ingest$a = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2117
2117
  if (process.env.NODE_ENV !== 'production') {
2118
- const validateError = validate$9(input);
2118
+ const validateError = validate$a(input);
2119
2119
  if (validateError !== null) {
2120
2120
  throw validateError;
2121
2121
  }
2122
2122
  }
2123
- const key = keyBuilderFromType$3(luvio, input);
2123
+ const key = keyBuilderFromType$4(luvio, input);
2124
2124
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2125
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
2125
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
2126
2126
  return createLink(key);
2127
2127
  };
2128
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
2128
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
2129
2129
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2130
- const rootKey = keyBuilderFromType$3(luvio, input);
2130
+ const rootKey = keyBuilderFromType$4(luvio, input);
2131
2131
  rootKeySet.set(rootKey, {
2132
2132
  namespace: keyPrefix,
2133
- representationName: RepresentationType$9,
2133
+ representationName: RepresentationType$a,
2134
2134
  mergeable: false
2135
2135
  });
2136
2136
  }
2137
2137
 
2138
- const VERSION$8 = "d4fb2fb522a777fd831f500fea806ebe";
2139
- function validate$8(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2138
+ const VERSION$9 = "d4fb2fb522a777fd831f500fea806ebe";
2139
+ function validate$9(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2140
2140
  const v_error = (() => {
2141
2141
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2142
2142
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2280,7 +2280,7 @@ function validate$8(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2280
2280
  for (let i = 0; i < obj_reactions.length; i++) {
2281
2281
  const obj_reactions_item = obj_reactions[i];
2282
2282
  const path_reactions_item = path_reactions + '[' + i + ']';
2283
- const referencepath_reactions_itemValidationError = validate$h(obj_reactions_item, path_reactions_item);
2283
+ const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
2284
2284
  if (referencepath_reactions_itemValidationError !== null) {
2285
2285
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
2286
2286
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2421,14 +2421,14 @@ function validate$8(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2421
2421
  })();
2422
2422
  return v_error === undefined ? null : v_error;
2423
2423
  }
2424
- const RepresentationType$8 = 'SlackBridgeMessageOutputRepresentation';
2425
- function normalize$8(input, existing, path, luvio, store, timestamp) {
2424
+ const RepresentationType$9 = 'SlackBridgeMessageOutputRepresentation';
2425
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
2426
2426
  const input_files = input.files;
2427
2427
  const input_files_id = path.fullPath + '__files';
2428
2428
  for (let i = 0; i < input_files.length; i++) {
2429
2429
  const input_files_item = input_files[i];
2430
2430
  let input_files_item_id = input_files_id + '__' + i;
2431
- input_files[i] = ingest$9(input_files_item, {
2431
+ input_files[i] = ingest$a(input_files_item, {
2432
2432
  fullPath: input_files_item_id,
2433
2433
  propertyName: i,
2434
2434
  parent: {
@@ -2441,11 +2441,11 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
2441
2441
  }
2442
2442
  return input;
2443
2443
  }
2444
- const select$n = function SlackBridgeMessageOutputRepresentationSelect() {
2445
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$w();
2444
+ const select$p = function SlackBridgeMessageOutputRepresentationSelect() {
2445
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$y();
2446
2446
  return {
2447
2447
  kind: 'Fragment',
2448
- version: VERSION$8,
2448
+ version: VERSION$9,
2449
2449
  private: [],
2450
2450
  selections: [
2451
2451
  {
@@ -2462,7 +2462,7 @@ const select$n = function SlackBridgeMessageOutputRepresentationSelect() {
2462
2462
  name: 'files',
2463
2463
  kind: 'Link',
2464
2464
  plural: true,
2465
- fragment: select$o()
2465
+ fragment: select$q()
2466
2466
  },
2467
2467
  {
2468
2468
  name: 'includesCustomEmoji',
@@ -2534,7 +2534,7 @@ const select$n = function SlackBridgeMessageOutputRepresentationSelect() {
2534
2534
  ]
2535
2535
  };
2536
2536
  };
2537
- function equals$8(existing, incoming) {
2537
+ function equals$9(existing, incoming) {
2538
2538
  const existing_isBroadcast = existing.isBroadcast;
2539
2539
  const incoming_isBroadcast = incoming.isBroadcast;
2540
2540
  if (!(existing_isBroadcast === incoming_isBroadcast)) {
@@ -2628,7 +2628,7 @@ function equals$8(existing, incoming) {
2628
2628
  const existing_reactions = existing.reactions;
2629
2629
  const incoming_reactions = incoming.reactions;
2630
2630
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
2631
- if (!(equals$h(existing_reactions_item, incoming_reactions_item))) {
2631
+ if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
2632
2632
  return false;
2633
2633
  }
2634
2634
  });
@@ -2667,34 +2667,34 @@ function equals$8(existing, incoming) {
2667
2667
  }
2668
2668
  return true;
2669
2669
  }
2670
- const ingest$8 = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2670
+ const ingest$9 = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2671
2671
  if (process.env.NODE_ENV !== 'production') {
2672
- const validateError = validate$8(input);
2672
+ const validateError = validate$9(input);
2673
2673
  if (validateError !== null) {
2674
2674
  throw validateError;
2675
2675
  }
2676
2676
  }
2677
2677
  const key = path.fullPath;
2678
2678
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2679
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
2679
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
2680
2680
  return createLink(key);
2681
2681
  };
2682
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
2682
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
2683
2683
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2684
2684
  const rootKey = fullPathFactory();
2685
2685
  rootKeySet.set(rootKey, {
2686
2686
  namespace: keyPrefix,
2687
- representationName: RepresentationType$8,
2687
+ representationName: RepresentationType$9,
2688
2688
  mergeable: false
2689
2689
  });
2690
2690
  const input_files_length = input.files.length;
2691
2691
  for (let i = 0; i < input_files_length; i++) {
2692
- getTypeCacheKeys$9(rootKeySet, luvio, input.files[i]);
2692
+ getTypeCacheKeys$a(rootKeySet, luvio, input.files[i]);
2693
2693
  }
2694
2694
  }
2695
2695
 
2696
- const VERSION$7 = "5145ac2c241c561e4baa29b3884748dc";
2697
- function validate$7(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
2696
+ const VERSION$8 = "5145ac2c241c561e4baa29b3884748dc";
2697
+ function validate$8(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
2698
2698
  const v_error = (() => {
2699
2699
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2700
2700
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2745,14 +2745,14 @@ function validate$7(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
2745
2745
  })();
2746
2746
  return v_error === undefined ? null : v_error;
2747
2747
  }
2748
- const RepresentationType$7 = 'SlackBridgeConversationHistoryOutputRepresentation';
2749
- function normalize$7(input, existing, path, luvio, store, timestamp) {
2748
+ const RepresentationType$8 = 'SlackBridgeConversationHistoryOutputRepresentation';
2749
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
2750
2750
  const input_messages = input.messages;
2751
2751
  const input_messages_id = path.fullPath + '__messages';
2752
2752
  for (let i = 0; i < input_messages.length; i++) {
2753
2753
  const input_messages_item = input_messages[i];
2754
2754
  let input_messages_item_id = input_messages_id + '__' + i;
2755
- input_messages[i] = ingest$8(input_messages_item, {
2755
+ input_messages[i] = ingest$9(input_messages_item, {
2756
2756
  fullPath: input_messages_item_id,
2757
2757
  propertyName: i,
2758
2758
  parent: {
@@ -2765,10 +2765,10 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
2765
2765
  }
2766
2766
  return input;
2767
2767
  }
2768
- const select$m = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
2768
+ const select$o = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
2769
2769
  return {
2770
2770
  kind: 'Fragment',
2771
- version: VERSION$7,
2771
+ version: VERSION$8,
2772
2772
  private: [],
2773
2773
  selections: [
2774
2774
  {
@@ -2779,7 +2779,7 @@ const select$m = function SlackBridgeConversationHistoryOutputRepresentationSele
2779
2779
  name: 'messages',
2780
2780
  kind: 'Link',
2781
2781
  plural: true,
2782
- fragment: select$n()
2782
+ fragment: select$p()
2783
2783
  },
2784
2784
  {
2785
2785
  name: 'nextCursor',
@@ -2788,7 +2788,7 @@ const select$m = function SlackBridgeConversationHistoryOutputRepresentationSele
2788
2788
  ]
2789
2789
  };
2790
2790
  };
2791
- function equals$7(existing, incoming) {
2791
+ function equals$8(existing, incoming) {
2792
2792
  const existing_hasMore = existing.hasMore;
2793
2793
  const incoming_hasMore = incoming.hasMore;
2794
2794
  if (!(existing_hasMore === incoming_hasMore)) {
@@ -2811,34 +2811,34 @@ function equals$7(existing, incoming) {
2811
2811
  }
2812
2812
  return true;
2813
2813
  }
2814
- const ingest$7 = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2814
+ const ingest$8 = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2815
2815
  if (process.env.NODE_ENV !== 'production') {
2816
- const validateError = validate$7(input);
2816
+ const validateError = validate$8(input);
2817
2817
  if (validateError !== null) {
2818
2818
  throw validateError;
2819
2819
  }
2820
2820
  }
2821
2821
  const key = path.fullPath;
2822
2822
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2823
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$7, RepresentationType$7, equals$7);
2823
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
2824
2824
  return createLink(key);
2825
2825
  };
2826
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
2826
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
2827
2827
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2828
2828
  const rootKey = fullPathFactory();
2829
2829
  rootKeySet.set(rootKey, {
2830
2830
  namespace: keyPrefix,
2831
- representationName: RepresentationType$7,
2831
+ representationName: RepresentationType$8,
2832
2832
  mergeable: false
2833
2833
  });
2834
2834
  const input_messages_length = input.messages.length;
2835
2835
  for (let i = 0; i < input_messages_length; i++) {
2836
- getTypeCacheKeys$8(rootKeySet, luvio, input.messages[i], () => '');
2836
+ getTypeCacheKeys$9(rootKeySet, luvio, input.messages[i], () => '');
2837
2837
  }
2838
2838
  }
2839
2839
 
2840
- const VERSION$6 = "7ec6cbca3e2948ff5ef00e4034f365d5";
2841
- function validate$6(obj, path = 'SlackBridgeConversationOutputRepresentation') {
2840
+ const VERSION$7 = "7ec6cbca3e2948ff5ef00e4034f365d5";
2841
+ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
2842
2842
  const v_error = (() => {
2843
2843
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2844
2844
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2982,12 +2982,12 @@ function validate$6(obj, path = 'SlackBridgeConversationOutputRepresentation') {
2982
2982
  })();
2983
2983
  return v_error === undefined ? null : v_error;
2984
2984
  }
2985
- const RepresentationType$6 = 'SlackBridgeConversationOutputRepresentation';
2986
- function normalize$6(input, existing, path, luvio, store, timestamp) {
2985
+ const RepresentationType$7 = 'SlackBridgeConversationOutputRepresentation';
2986
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
2987
2987
  const input_contextUserInfo = input.contextUserInfo;
2988
2988
  const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
2989
2989
  if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
2990
- input.contextUserInfo = ingest$b(input_contextUserInfo, {
2990
+ input.contextUserInfo = ingest$c(input_contextUserInfo, {
2991
2991
  fullPath: input_contextUserInfo_id,
2992
2992
  propertyName: 'contextUserInfo',
2993
2993
  parent: {
@@ -3001,7 +3001,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
3001
3001
  const input_conversationInfo = input.conversationInfo;
3002
3002
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
3003
3003
  if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
3004
- input.conversationInfo = ingest$a(input_conversationInfo, {
3004
+ input.conversationInfo = ingest$b(input_conversationInfo, {
3005
3005
  fullPath: input_conversationInfo_id,
3006
3006
  propertyName: 'conversationInfo',
3007
3007
  parent: {
@@ -3014,7 +3014,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
3014
3014
  }
3015
3015
  const input_history = input.history;
3016
3016
  const input_history_id = path.fullPath + '__history';
3017
- input.history = ingest$7(input_history, {
3017
+ input.history = ingest$8(input_history, {
3018
3018
  fullPath: input_history_id,
3019
3019
  propertyName: 'history',
3020
3020
  parent: {
@@ -3029,7 +3029,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
3029
3029
  for (let i = 0; i < input_userInfos.length; i++) {
3030
3030
  const input_userInfos_item = input_userInfos[i];
3031
3031
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
3032
- input_userInfos[i] = ingest$b(input_userInfos_item, {
3032
+ input_userInfos[i] = ingest$c(input_userInfos_item, {
3033
3033
  fullPath: input_userInfos_item_id,
3034
3034
  propertyName: i,
3035
3035
  parent: {
@@ -3042,10 +3042,10 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
3042
3042
  }
3043
3043
  return input;
3044
3044
  }
3045
- const select$l = function SlackBridgeConversationOutputRepresentationSelect() {
3045
+ const select$n = function SlackBridgeConversationOutputRepresentationSelect() {
3046
3046
  return {
3047
3047
  kind: 'Fragment',
3048
- version: VERSION$6,
3048
+ version: VERSION$7,
3049
3049
  private: [],
3050
3050
  selections: [
3051
3051
  {
@@ -3060,18 +3060,18 @@ const select$l = function SlackBridgeConversationOutputRepresentationSelect() {
3060
3060
  name: 'contextUserInfo',
3061
3061
  kind: 'Link',
3062
3062
  nullable: true,
3063
- fragment: select$t()
3063
+ fragment: select$v()
3064
3064
  },
3065
3065
  {
3066
3066
  name: 'conversationInfo',
3067
3067
  kind: 'Link',
3068
3068
  nullable: true,
3069
- fragment: select$s()
3069
+ fragment: select$u()
3070
3070
  },
3071
3071
  {
3072
3072
  name: 'history',
3073
3073
  kind: 'Link',
3074
- fragment: select$m()
3074
+ fragment: select$o()
3075
3075
  },
3076
3076
  {
3077
3077
  name: 'teamId',
@@ -3085,7 +3085,7 @@ const select$l = function SlackBridgeConversationOutputRepresentationSelect() {
3085
3085
  name: 'userInfos',
3086
3086
  kind: 'Link',
3087
3087
  plural: true,
3088
- fragment: select$t()
3088
+ fragment: select$v()
3089
3089
  },
3090
3090
  {
3091
3091
  name: 'websocketUrl',
@@ -3094,7 +3094,7 @@ const select$l = function SlackBridgeConversationOutputRepresentationSelect() {
3094
3094
  ]
3095
3095
  };
3096
3096
  };
3097
- function equals$6(existing, incoming) {
3097
+ function equals$7(existing, incoming) {
3098
3098
  const existing_channelId = existing.channelId;
3099
3099
  const incoming_channelId = incoming.channelId;
3100
3100
  if (!(existing_channelId === incoming_channelId)) {
@@ -3157,55 +3157,55 @@ function equals$6(existing, incoming) {
3157
3157
  }
3158
3158
  return true;
3159
3159
  }
3160
- const ingest$6 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3160
+ const ingest$7 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3161
3161
  if (process.env.NODE_ENV !== 'production') {
3162
- const validateError = validate$6(input);
3162
+ const validateError = validate$7(input);
3163
3163
  if (validateError !== null) {
3164
3164
  throw validateError;
3165
3165
  }
3166
3166
  }
3167
3167
  const key = path.fullPath;
3168
3168
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3169
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
3169
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$7, RepresentationType$7, equals$7);
3170
3170
  return createLink(key);
3171
3171
  };
3172
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
3172
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
3173
3173
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3174
3174
  const rootKey = fullPathFactory();
3175
3175
  rootKeySet.set(rootKey, {
3176
3176
  namespace: keyPrefix,
3177
- representationName: RepresentationType$6,
3177
+ representationName: RepresentationType$7,
3178
3178
  mergeable: false
3179
3179
  });
3180
3180
  if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
3181
- getTypeCacheKeys$b(rootKeySet, luvio, input.contextUserInfo);
3181
+ getTypeCacheKeys$c(rootKeySet, luvio, input.contextUserInfo);
3182
3182
  }
3183
3183
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3184
- getTypeCacheKeys$a(rootKeySet, luvio, input.conversationInfo);
3184
+ getTypeCacheKeys$b(rootKeySet, luvio, input.conversationInfo);
3185
3185
  }
3186
- getTypeCacheKeys$7(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3186
+ getTypeCacheKeys$8(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3187
3187
  const input_userInfos_length = input.userInfos.length;
3188
3188
  for (let i = 0; i < input_userInfos_length; i++) {
3189
- getTypeCacheKeys$b(rootKeySet, luvio, input.userInfos[i]);
3189
+ getTypeCacheKeys$c(rootKeySet, luvio, input.userInfos[i]);
3190
3190
  }
3191
3191
  }
3192
3192
 
3193
- function select$k(luvio, params) {
3194
- return select$l();
3193
+ function select$m(luvio, params) {
3194
+ return select$n();
3195
3195
  }
3196
- function keyBuilder$k(luvio, params) {
3196
+ function keyBuilder$l(luvio, params) {
3197
3197
  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 + ')';
3198
3198
  }
3199
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
3200
- getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
3199
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
3200
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$l(luvio, resourceParams));
3201
3201
  }
3202
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
3202
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
3203
3203
  const { body } = response;
3204
- const key = keyBuilder$k(luvio, resourceParams);
3205
- luvio.storeIngest(key, ingest$6, body);
3204
+ const key = keyBuilder$l(luvio, resourceParams);
3205
+ luvio.storeIngest(key, ingest$7, body);
3206
3206
  const snapshot = luvio.storeLookup({
3207
3207
  recordId: key,
3208
- node: select$k(),
3208
+ node: select$m(),
3209
3209
  variables: {},
3210
3210
  }, snapshotRefresh);
3211
3211
  if (process.env.NODE_ENV !== 'production') {
@@ -3217,12 +3217,12 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
3217
3217
  return snapshot;
3218
3218
  }
3219
3219
  function ingestError$8(luvio, params, error, snapshotRefresh) {
3220
- const key = keyBuilder$k(luvio, params);
3220
+ const key = keyBuilder$l(luvio, params);
3221
3221
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3222
3222
  luvio.storeIngestError(key, errorSnapshot);
3223
3223
  return errorSnapshot;
3224
3224
  }
3225
- function createResourceRequest$e(config) {
3225
+ function createResourceRequest$f(config) {
3226
3226
  const headers = {};
3227
3227
  return {
3228
3228
  baseUri: '/services/data/v64.0',
@@ -3236,7 +3236,7 @@ function createResourceRequest$e(config) {
3236
3236
  };
3237
3237
  }
3238
3238
 
3239
- const adapterName$e = 'getSlackConversation';
3239
+ const adapterName$f = 'getSlackConversation';
3240
3240
  const getSlackConversation_ConfigPropertyMetadata = [
3241
3241
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3242
3242
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3248,56 +3248,56 @@ const getSlackConversation_ConfigPropertyMetadata = [
3248
3248
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3249
3249
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3250
3250
  ];
3251
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversation_ConfigPropertyMetadata);
3252
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$i(getSlackConversation_ConfigPropertyMetadata);
3253
- function keyBuilder$j(luvio, config) {
3254
- const resourceParams = createResourceParams$e(config);
3255
- return keyBuilder$k(luvio, resourceParams);
3251
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackConversation_ConfigPropertyMetadata);
3252
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$j(getSlackConversation_ConfigPropertyMetadata);
3253
+ function keyBuilder$k(luvio, config) {
3254
+ const resourceParams = createResourceParams$f(config);
3255
+ return keyBuilder$l(luvio, resourceParams);
3256
3256
  }
3257
- function typeCheckConfig$e(untrustedConfig) {
3257
+ function typeCheckConfig$f(untrustedConfig) {
3258
3258
  const config = {};
3259
- typeCheckConfig$i(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3259
+ typeCheckConfig$j(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3260
3260
  return config;
3261
3261
  }
3262
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
3262
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
3263
3263
  if (!untrustedIsObject(untrustedConfig)) {
3264
3264
  return null;
3265
3265
  }
3266
3266
  if (process.env.NODE_ENV !== 'production') {
3267
3267
  validateConfig(untrustedConfig, configPropertyNames);
3268
3268
  }
3269
- const config = typeCheckConfig$e(untrustedConfig);
3269
+ const config = typeCheckConfig$f(untrustedConfig);
3270
3270
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3271
3271
  return null;
3272
3272
  }
3273
3273
  return config;
3274
3274
  }
3275
3275
  function adapterFragment$8(luvio, config) {
3276
- createResourceParams$e(config);
3277
- return select$k();
3276
+ createResourceParams$f(config);
3277
+ return select$m();
3278
3278
  }
3279
3279
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
3280
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
3280
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
3281
3281
  config,
3282
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3282
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
3283
3283
  });
3284
3284
  return luvio.storeBroadcast().then(() => snapshot);
3285
3285
  }
3286
3286
  function onFetchResponseError$8(luvio, config, resourceParams, response) {
3287
3287
  const snapshot = ingestError$8(luvio, resourceParams, response, {
3288
3288
  config,
3289
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3289
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
3290
3290
  });
3291
3291
  return luvio.storeBroadcast().then(() => snapshot);
3292
3292
  }
3293
- function buildNetworkSnapshot$e(luvio, config, options) {
3294
- const resourceParams = createResourceParams$e(config);
3295
- const request = createResourceRequest$e(resourceParams);
3293
+ function buildNetworkSnapshot$f(luvio, config, options) {
3294
+ const resourceParams = createResourceParams$f(config);
3295
+ const request = createResourceRequest$f(resourceParams);
3296
3296
  return luvio.dispatchResourceRequest(request, options)
3297
3297
  .then((response) => {
3298
3298
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
3299
3299
  const cache = new StoreKeyMap();
3300
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
3300
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
3301
3301
  return cache;
3302
3302
  });
3303
3303
  }, (response) => {
@@ -3305,23 +3305,23 @@ function buildNetworkSnapshot$e(luvio, config, options) {
3305
3305
  });
3306
3306
  }
3307
3307
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
3308
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
3308
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
3309
3309
  }
3310
3310
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
3311
3311
  const { luvio, config } = context;
3312
3312
  const selector = {
3313
- recordId: keyBuilder$j(luvio, config),
3313
+ recordId: keyBuilder$k(luvio, config),
3314
3314
  node: adapterFragment$8(luvio, config),
3315
3315
  variables: {},
3316
3316
  };
3317
3317
  const cacheSnapshot = storeLookup(selector, {
3318
3318
  config,
3319
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3319
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
3320
3320
  });
3321
3321
  return cacheSnapshot;
3322
3322
  }
3323
3323
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3324
- const config = validateAdapterConfig$e(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3324
+ const config = validateAdapterConfig$f(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3325
3325
  // Invalid or incomplete config
3326
3326
  if (config === null) {
3327
3327
  return null;
@@ -3330,24 +3330,24 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
3330
3330
  buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
3331
3331
  };
3332
3332
 
3333
- function select$j(luvio, params) {
3334
- return select$y();
3333
+ function select$l(luvio, params) {
3334
+ return select$A();
3335
3335
  }
3336
- function keyBuilder$i(luvio, params) {
3337
- return keyBuilder$t(luvio, {
3336
+ function keyBuilder$j(luvio, params) {
3337
+ return keyBuilder$u(luvio, {
3338
3338
  channelId: params.urlParams.channelId
3339
3339
  });
3340
3340
  }
3341
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
3342
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
3341
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
3342
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
3343
3343
  }
3344
- function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3344
+ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
3345
3345
  const { body } = response;
3346
- const key = keyBuilder$i(luvio, resourceParams);
3347
- luvio.storeIngest(key, ingest$e, body);
3346
+ const key = keyBuilder$j(luvio, resourceParams);
3347
+ luvio.storeIngest(key, ingest$f, body);
3348
3348
  const snapshot = luvio.storeLookup({
3349
3349
  recordId: key,
3350
- node: select$j(),
3350
+ node: select$l(),
3351
3351
  variables: {},
3352
3352
  }, snapshotRefresh);
3353
3353
  if (process.env.NODE_ENV !== 'production') {
@@ -3359,12 +3359,12 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3359
3359
  return snapshot;
3360
3360
  }
3361
3361
  function ingestError$7(luvio, params, error, snapshotRefresh) {
3362
- const key = keyBuilder$i(luvio, params);
3362
+ const key = keyBuilder$j(luvio, params);
3363
3363
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3364
3364
  luvio.storeIngestError(key, errorSnapshot);
3365
3365
  return errorSnapshot;
3366
3366
  }
3367
- function createResourceRequest$d(config) {
3367
+ function createResourceRequest$e(config) {
3368
3368
  const headers = {};
3369
3369
  return {
3370
3370
  baseUri: '/services/data/v64.0',
@@ -3382,65 +3382,65 @@ function createResourceRequestFromRepresentation$4(representation) {
3382
3382
  urlParams: {},
3383
3383
  };
3384
3384
  config.urlParams.channelId = representation.channelId;
3385
- return createResourceRequest$d(config);
3385
+ return createResourceRequest$e(config);
3386
3386
  }
3387
3387
 
3388
- const adapterName$d = 'getSlackConversationMember';
3388
+ const adapterName$e = 'getSlackConversationMember';
3389
3389
  const getSlackConversationMember_ConfigPropertyMetadata = [
3390
3390
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
3391
3391
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
3392
3392
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
3393
3393
  ];
3394
- const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackConversationMember_ConfigPropertyMetadata);
3395
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$i(getSlackConversationMember_ConfigPropertyMetadata);
3396
- function keyBuilder$h(luvio, config) {
3397
- const resourceParams = createResourceParams$d(config);
3398
- return keyBuilder$i(luvio, resourceParams);
3394
+ const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMember_ConfigPropertyMetadata);
3395
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$j(getSlackConversationMember_ConfigPropertyMetadata);
3396
+ function keyBuilder$i(luvio, config) {
3397
+ const resourceParams = createResourceParams$e(config);
3398
+ return keyBuilder$j(luvio, resourceParams);
3399
3399
  }
3400
- function typeCheckConfig$d(untrustedConfig) {
3400
+ function typeCheckConfig$e(untrustedConfig) {
3401
3401
  const config = {};
3402
- typeCheckConfig$i(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
3402
+ typeCheckConfig$j(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
3403
3403
  return config;
3404
3404
  }
3405
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
3405
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
3406
3406
  if (!untrustedIsObject(untrustedConfig)) {
3407
3407
  return null;
3408
3408
  }
3409
3409
  if (process.env.NODE_ENV !== 'production') {
3410
3410
  validateConfig(untrustedConfig, configPropertyNames);
3411
3411
  }
3412
- const config = typeCheckConfig$d(untrustedConfig);
3412
+ const config = typeCheckConfig$e(untrustedConfig);
3413
3413
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3414
3414
  return null;
3415
3415
  }
3416
3416
  return config;
3417
3417
  }
3418
3418
  function adapterFragment$7(luvio, config) {
3419
- createResourceParams$d(config);
3420
- return select$j();
3419
+ createResourceParams$e(config);
3420
+ return select$l();
3421
3421
  }
3422
3422
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
3423
- const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
3423
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
3424
3424
  config,
3425
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3425
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3426
3426
  });
3427
3427
  return luvio.storeBroadcast().then(() => snapshot);
3428
3428
  }
3429
3429
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
3430
3430
  const snapshot = ingestError$7(luvio, resourceParams, response, {
3431
3431
  config,
3432
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3432
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3433
3433
  });
3434
3434
  return luvio.storeBroadcast().then(() => snapshot);
3435
3435
  }
3436
- function buildNetworkSnapshot$d(luvio, config, options) {
3437
- const resourceParams = createResourceParams$d(config);
3438
- const request = createResourceRequest$d(resourceParams);
3436
+ function buildNetworkSnapshot$e(luvio, config, options) {
3437
+ const resourceParams = createResourceParams$e(config);
3438
+ const request = createResourceRequest$e(resourceParams);
3439
3439
  return luvio.dispatchResourceRequest(request, options)
3440
3440
  .then((response) => {
3441
3441
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
3442
3442
  const cache = new StoreKeyMap();
3443
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
3443
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
3444
3444
  return cache;
3445
3445
  });
3446
3446
  }, (response) => {
@@ -3448,23 +3448,23 @@ function buildNetworkSnapshot$d(luvio, config, options) {
3448
3448
  });
3449
3449
  }
3450
3450
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
3451
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
3451
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
3452
3452
  }
3453
3453
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
3454
3454
  const { luvio, config } = context;
3455
3455
  const selector = {
3456
- recordId: keyBuilder$h(luvio, config),
3456
+ recordId: keyBuilder$i(luvio, config),
3457
3457
  node: adapterFragment$7(luvio, config),
3458
3458
  variables: {},
3459
3459
  };
3460
3460
  const cacheSnapshot = storeLookup(selector, {
3461
3461
  config,
3462
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3462
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
3463
3463
  });
3464
3464
  return cacheSnapshot;
3465
3465
  }
3466
3466
  const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
3467
- const config = validateAdapterConfig$d(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
3467
+ const config = validateAdapterConfig$e(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
3468
3468
  // Invalid or incomplete config
3469
3469
  if (config === null) {
3470
3470
  return null;
@@ -3474,7 +3474,7 @@ const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge
3474
3474
  };
3475
3475
  const notifyChangeFactory$4 = (luvio, options) => {
3476
3476
  return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamIdNotifyChange(configs) {
3477
- const keys = configs.map(c => keyBuilder$t(luvio, c));
3477
+ const keys = configs.map(c => keyBuilder$u(luvio, c));
3478
3478
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
3479
3479
  for (let i = 0, len = entries.length; i < len; i++) {
3480
3480
  const { key, record: val } = entries[i];
@@ -3483,11 +3483,11 @@ const notifyChangeFactory$4 = (luvio, options) => {
3483
3483
  .then((response) => {
3484
3484
  return luvio.handleSuccessResponse(() => {
3485
3485
  const { body } = response;
3486
- luvio.storeIngest(key, ingest$e, body);
3486
+ luvio.storeIngest(key, ingest$f, body);
3487
3487
  return luvio.storeBroadcast();
3488
3488
  }, () => {
3489
3489
  const cache = new StoreKeyMap();
3490
- getTypeCacheKeys$e(cache, luvio, response.body);
3490
+ getTypeCacheKeys$f(cache, luvio, response.body);
3491
3491
  return cache;
3492
3492
  });
3493
3493
  }, (error) => {
@@ -3502,8 +3502,8 @@ const notifyChangeFactory$4 = (luvio, options) => {
3502
3502
  };
3503
3503
  };
3504
3504
 
3505
- const VERSION$5 = "30b0f3c5bd175b72d9b304944fd9d682";
3506
- function validate$5(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
3505
+ const VERSION$6 = "30b0f3c5bd175b72d9b304944fd9d682";
3506
+ function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
3507
3507
  const v_error = (() => {
3508
3508
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3509
3509
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3554,23 +3554,23 @@ function validate$5(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
3554
3554
  })();
3555
3555
  return v_error === undefined ? null : v_error;
3556
3556
  }
3557
- const RepresentationType$5 = 'SlackBridgeConversationMembersOutputRepresentation';
3558
- function keyBuilder$g(luvio, config) {
3559
- return keyPrefix + '::' + RepresentationType$5 + ':' + config.channelId;
3557
+ const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
3558
+ function keyBuilder$h(luvio, config) {
3559
+ return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
3560
3560
  }
3561
- function keyBuilderFromType$2(luvio, object) {
3561
+ function keyBuilderFromType$3(luvio, object) {
3562
3562
  const keyParams = {
3563
3563
  channelId: object.channelId
3564
3564
  };
3565
- return keyBuilder$g(luvio, keyParams);
3565
+ return keyBuilder$h(luvio, keyParams);
3566
3566
  }
3567
- function normalize$5(input, existing, path, luvio, store, timestamp) {
3567
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
3568
3568
  return input;
3569
3569
  }
3570
- const select$i = function SlackBridgeConversationMembersOutputRepresentationSelect() {
3570
+ const select$k = function SlackBridgeConversationMembersOutputRepresentationSelect() {
3571
3571
  return {
3572
3572
  kind: 'Fragment',
3573
- version: VERSION$5,
3573
+ version: VERSION$6,
3574
3574
  private: [],
3575
3575
  selections: [
3576
3576
  {
@@ -3589,7 +3589,7 @@ const select$i = function SlackBridgeConversationMembersOutputRepresentationSele
3589
3589
  ]
3590
3590
  };
3591
3591
  };
3592
- function equals$5(existing, incoming) {
3592
+ function equals$6(existing, incoming) {
3593
3593
  const existing_channelId = existing.channelId;
3594
3594
  const incoming_channelId = incoming.channelId;
3595
3595
  if (!(existing_channelId === incoming_channelId)) {
@@ -3612,46 +3612,46 @@ function equals$5(existing, incoming) {
3612
3612
  }
3613
3613
  return true;
3614
3614
  }
3615
- const ingest$5 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3615
+ const ingest$6 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3616
3616
  if (process.env.NODE_ENV !== 'production') {
3617
- const validateError = validate$5(input);
3617
+ const validateError = validate$6(input);
3618
3618
  if (validateError !== null) {
3619
3619
  throw validateError;
3620
3620
  }
3621
3621
  }
3622
- const key = keyBuilderFromType$2(luvio, input);
3622
+ const key = keyBuilderFromType$3(luvio, input);
3623
3623
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3624
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
3624
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
3625
3625
  return createLink(key);
3626
3626
  };
3627
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
3627
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
3628
3628
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3629
- const rootKey = keyBuilderFromType$2(luvio, input);
3629
+ const rootKey = keyBuilderFromType$3(luvio, input);
3630
3630
  rootKeySet.set(rootKey, {
3631
3631
  namespace: keyPrefix,
3632
- representationName: RepresentationType$5,
3632
+ representationName: RepresentationType$6,
3633
3633
  mergeable: false
3634
3634
  });
3635
3635
  }
3636
3636
 
3637
- function select$h(luvio, params) {
3638
- return select$i();
3637
+ function select$j(luvio, params) {
3638
+ return select$k();
3639
3639
  }
3640
- function keyBuilder$f(luvio, params) {
3641
- return keyBuilder$g(luvio, {
3640
+ function keyBuilder$g(luvio, params) {
3641
+ return keyBuilder$h(luvio, {
3642
3642
  channelId: params.urlParams.channelId
3643
3643
  });
3644
3644
  }
3645
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
3646
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
3645
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
3646
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
3647
3647
  }
3648
- function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
3648
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3649
3649
  const { body } = response;
3650
- const key = keyBuilder$f(luvio, resourceParams);
3651
- luvio.storeIngest(key, ingest$5, body);
3650
+ const key = keyBuilder$g(luvio, resourceParams);
3651
+ luvio.storeIngest(key, ingest$6, body);
3652
3652
  const snapshot = luvio.storeLookup({
3653
3653
  recordId: key,
3654
- node: select$h(),
3654
+ node: select$j(),
3655
3655
  variables: {},
3656
3656
  }, snapshotRefresh);
3657
3657
  if (process.env.NODE_ENV !== 'production') {
@@ -3663,12 +3663,12 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
3663
3663
  return snapshot;
3664
3664
  }
3665
3665
  function ingestError$6(luvio, params, error, snapshotRefresh) {
3666
- const key = keyBuilder$f(luvio, params);
3666
+ const key = keyBuilder$g(luvio, params);
3667
3667
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3668
3668
  luvio.storeIngestError(key, errorSnapshot);
3669
3669
  return errorSnapshot;
3670
3670
  }
3671
- function createResourceRequest$c(config) {
3671
+ function createResourceRequest$d(config) {
3672
3672
  const headers = {};
3673
3673
  return {
3674
3674
  baseUri: '/services/data/v64.0',
@@ -3686,64 +3686,64 @@ function createResourceRequestFromRepresentation$3(representation) {
3686
3686
  urlParams: {},
3687
3687
  };
3688
3688
  config.urlParams.channelId = representation.channelId;
3689
- return createResourceRequest$c(config);
3689
+ return createResourceRequest$d(config);
3690
3690
  }
3691
3691
 
3692
- const adapterName$c = 'getSlackConversationMembers';
3692
+ const adapterName$d = 'getSlackConversationMembers';
3693
3693
  const getSlackConversationMembers_ConfigPropertyMetadata = [
3694
3694
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
3695
3695
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
3696
3696
  ];
3697
- const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackConversationMembers_ConfigPropertyMetadata);
3698
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$i(getSlackConversationMembers_ConfigPropertyMetadata);
3699
- function keyBuilder$e(luvio, config) {
3700
- const resourceParams = createResourceParams$c(config);
3701
- return keyBuilder$f(luvio, resourceParams);
3697
+ const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackConversationMembers_ConfigPropertyMetadata);
3698
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$j(getSlackConversationMembers_ConfigPropertyMetadata);
3699
+ function keyBuilder$f(luvio, config) {
3700
+ const resourceParams = createResourceParams$d(config);
3701
+ return keyBuilder$g(luvio, resourceParams);
3702
3702
  }
3703
- function typeCheckConfig$c(untrustedConfig) {
3703
+ function typeCheckConfig$d(untrustedConfig) {
3704
3704
  const config = {};
3705
- typeCheckConfig$i(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
3705
+ typeCheckConfig$j(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
3706
3706
  return config;
3707
3707
  }
3708
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
3708
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
3709
3709
  if (!untrustedIsObject(untrustedConfig)) {
3710
3710
  return null;
3711
3711
  }
3712
3712
  if (process.env.NODE_ENV !== 'production') {
3713
3713
  validateConfig(untrustedConfig, configPropertyNames);
3714
3714
  }
3715
- const config = typeCheckConfig$c(untrustedConfig);
3715
+ const config = typeCheckConfig$d(untrustedConfig);
3716
3716
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3717
3717
  return null;
3718
3718
  }
3719
3719
  return config;
3720
3720
  }
3721
3721
  function adapterFragment$6(luvio, config) {
3722
- createResourceParams$c(config);
3723
- return select$h();
3722
+ createResourceParams$d(config);
3723
+ return select$j();
3724
3724
  }
3725
3725
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
3726
- const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
3726
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
3727
3727
  config,
3728
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3728
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3729
3729
  });
3730
3730
  return luvio.storeBroadcast().then(() => snapshot);
3731
3731
  }
3732
3732
  function onFetchResponseError$6(luvio, config, resourceParams, response) {
3733
3733
  const snapshot = ingestError$6(luvio, resourceParams, response, {
3734
3734
  config,
3735
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3735
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3736
3736
  });
3737
3737
  return luvio.storeBroadcast().then(() => snapshot);
3738
3738
  }
3739
- function buildNetworkSnapshot$c(luvio, config, options) {
3740
- const resourceParams = createResourceParams$c(config);
3741
- const request = createResourceRequest$c(resourceParams);
3739
+ function buildNetworkSnapshot$d(luvio, config, options) {
3740
+ const resourceParams = createResourceParams$d(config);
3741
+ const request = createResourceRequest$d(resourceParams);
3742
3742
  return luvio.dispatchResourceRequest(request, options)
3743
3743
  .then((response) => {
3744
3744
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
3745
3745
  const cache = new StoreKeyMap();
3746
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
3746
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
3747
3747
  return cache;
3748
3748
  });
3749
3749
  }, (response) => {
@@ -3751,23 +3751,23 @@ function buildNetworkSnapshot$c(luvio, config, options) {
3751
3751
  });
3752
3752
  }
3753
3753
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
3754
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
3754
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
3755
3755
  }
3756
3756
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
3757
3757
  const { luvio, config } = context;
3758
3758
  const selector = {
3759
- recordId: keyBuilder$e(luvio, config),
3759
+ recordId: keyBuilder$f(luvio, config),
3760
3760
  node: adapterFragment$6(luvio, config),
3761
3761
  variables: {},
3762
3762
  };
3763
3763
  const cacheSnapshot = storeLookup(selector, {
3764
3764
  config,
3765
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3765
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
3766
3766
  });
3767
3767
  return cacheSnapshot;
3768
3768
  }
3769
3769
  const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
3770
- const config = validateAdapterConfig$c(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
3770
+ const config = validateAdapterConfig$d(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
3771
3771
  // Invalid or incomplete config
3772
3772
  if (config === null) {
3773
3773
  return null;
@@ -3777,7 +3777,7 @@ const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridg
3777
3777
  };
3778
3778
  const notifyChangeFactory$3 = (luvio, options) => {
3779
3779
  return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamIdNotifyChange(configs) {
3780
- const keys = configs.map(c => keyBuilder$g(luvio, c));
3780
+ const keys = configs.map(c => keyBuilder$h(luvio, c));
3781
3781
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
3782
3782
  for (let i = 0, len = entries.length; i < len; i++) {
3783
3783
  const { key, record: val } = entries[i];
@@ -3786,11 +3786,11 @@ const notifyChangeFactory$3 = (luvio, options) => {
3786
3786
  .then((response) => {
3787
3787
  return luvio.handleSuccessResponse(() => {
3788
3788
  const { body } = response;
3789
- luvio.storeIngest(key, ingest$5, body);
3789
+ luvio.storeIngest(key, ingest$6, body);
3790
3790
  return luvio.storeBroadcast();
3791
3791
  }, () => {
3792
3792
  const cache = new StoreKeyMap();
3793
- getTypeCacheKeys$5(cache, luvio, response.body);
3793
+ getTypeCacheKeys$6(cache, luvio, response.body);
3794
3794
  return cache;
3795
3795
  });
3796
3796
  }, (error) => {
@@ -3805,8 +3805,8 @@ const notifyChangeFactory$3 = (luvio, options) => {
3805
3805
  };
3806
3806
  };
3807
3807
 
3808
- const VERSION$4 = "8eb41a29d901a4cc9611e387d180f0da";
3809
- function validate$4(obj, path = 'SlackBridgeCustomEmojisOutputRepresentation') {
3808
+ const VERSION$5 = "8eb41a29d901a4cc9611e387d180f0da";
3809
+ function validate$5(obj, path = 'SlackBridgeCustomEmojisOutputRepresentation') {
3810
3810
  const v_error = (() => {
3811
3811
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3812
3812
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3833,14 +3833,14 @@ function validate$4(obj, path = 'SlackBridgeCustomEmojisOutputRepresentation') {
3833
3833
  })();
3834
3834
  return v_error === undefined ? null : v_error;
3835
3835
  }
3836
- const RepresentationType$4 = 'SlackBridgeCustomEmojisOutputRepresentation';
3837
- function normalize$4(input, existing, path, luvio, store, timestamp) {
3836
+ const RepresentationType$5 = 'SlackBridgeCustomEmojisOutputRepresentation';
3837
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
3838
3838
  return input;
3839
3839
  }
3840
- const select$g = function SlackBridgeCustomEmojisOutputRepresentationSelect() {
3840
+ const select$i = function SlackBridgeCustomEmojisOutputRepresentationSelect() {
3841
3841
  return {
3842
3842
  kind: 'Fragment',
3843
- version: VERSION$4,
3843
+ version: VERSION$5,
3844
3844
  private: [],
3845
3845
  selections: [
3846
3846
  {
@@ -3855,7 +3855,7 @@ const select$g = function SlackBridgeCustomEmojisOutputRepresentationSelect() {
3855
3855
  ]
3856
3856
  };
3857
3857
  };
3858
- function equals$4(existing, incoming) {
3858
+ function equals$5(existing, incoming) {
3859
3859
  const existing_teamId = existing.teamId;
3860
3860
  const incoming_teamId = incoming.teamId;
3861
3861
  if (!(existing_teamId === incoming_teamId)) {
@@ -3873,44 +3873,44 @@ function equals$4(existing, incoming) {
3873
3873
  }
3874
3874
  return true;
3875
3875
  }
3876
- const ingest$4 = function SlackBridgeCustomEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3876
+ const ingest$5 = function SlackBridgeCustomEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3877
3877
  if (process.env.NODE_ENV !== 'production') {
3878
- const validateError = validate$4(input);
3878
+ const validateError = validate$5(input);
3879
3879
  if (validateError !== null) {
3880
3880
  throw validateError;
3881
3881
  }
3882
3882
  }
3883
3883
  const key = path.fullPath;
3884
3884
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3885
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
3885
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
3886
3886
  return createLink(key);
3887
3887
  };
3888
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
3888
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
3889
3889
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3890
3890
  const rootKey = fullPathFactory();
3891
3891
  rootKeySet.set(rootKey, {
3892
3892
  namespace: keyPrefix,
3893
- representationName: RepresentationType$4,
3893
+ representationName: RepresentationType$5,
3894
3894
  mergeable: false
3895
3895
  });
3896
3896
  }
3897
3897
 
3898
- function select$f(luvio, params) {
3899
- return select$g();
3898
+ function select$h(luvio, params) {
3899
+ return select$i();
3900
3900
  }
3901
- function keyBuilder$d(luvio, params) {
3901
+ function keyBuilder$e(luvio, params) {
3902
3902
  return keyPrefix + '::SlackBridgeCustomEmojisOutputRepresentation:(' + 'teamId:' + params.urlParams.teamId + ')';
3903
3903
  }
3904
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
3905
- getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
3904
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
3905
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$e(luvio, resourceParams));
3906
3906
  }
3907
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
3907
+ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
3908
3908
  const { body } = response;
3909
- const key = keyBuilder$d(luvio, resourceParams);
3910
- luvio.storeIngest(key, ingest$4, body);
3909
+ const key = keyBuilder$e(luvio, resourceParams);
3910
+ luvio.storeIngest(key, ingest$5, body);
3911
3911
  const snapshot = luvio.storeLookup({
3912
3912
  recordId: key,
3913
- node: select$f(),
3913
+ node: select$h(),
3914
3914
  variables: {},
3915
3915
  }, snapshotRefresh);
3916
3916
  if (process.env.NODE_ENV !== 'production') {
@@ -3922,12 +3922,12 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
3922
3922
  return snapshot;
3923
3923
  }
3924
3924
  function ingestError$5(luvio, params, error, snapshotRefresh) {
3925
- const key = keyBuilder$d(luvio, params);
3925
+ const key = keyBuilder$e(luvio, params);
3926
3926
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3927
3927
  luvio.storeIngestError(key, errorSnapshot);
3928
3928
  return errorSnapshot;
3929
3929
  }
3930
- function createResourceRequest$b(config) {
3930
+ function createResourceRequest$c(config) {
3931
3931
  const headers = {};
3932
3932
  return {
3933
3933
  baseUri: '/services/data/v64.0',
@@ -3941,60 +3941,60 @@ function createResourceRequest$b(config) {
3941
3941
  };
3942
3942
  }
3943
3943
 
3944
- const adapterName$b = 'getSlackCustomEmoji';
3944
+ const adapterName$c = 'getSlackCustomEmoji';
3945
3945
  const getSlackCustomEmoji_ConfigPropertyMetadata = [
3946
3946
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
3947
3947
  ];
3948
- const getSlackCustomEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackCustomEmoji_ConfigPropertyMetadata);
3949
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$i(getSlackCustomEmoji_ConfigPropertyMetadata);
3950
- function keyBuilder$c(luvio, config) {
3951
- const resourceParams = createResourceParams$b(config);
3952
- return keyBuilder$d(luvio, resourceParams);
3948
+ const getSlackCustomEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackCustomEmoji_ConfigPropertyMetadata);
3949
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$j(getSlackCustomEmoji_ConfigPropertyMetadata);
3950
+ function keyBuilder$d(luvio, config) {
3951
+ const resourceParams = createResourceParams$c(config);
3952
+ return keyBuilder$e(luvio, resourceParams);
3953
3953
  }
3954
- function typeCheckConfig$b(untrustedConfig) {
3954
+ function typeCheckConfig$c(untrustedConfig) {
3955
3955
  const config = {};
3956
- typeCheckConfig$i(untrustedConfig, config, getSlackCustomEmoji_ConfigPropertyMetadata);
3956
+ typeCheckConfig$j(untrustedConfig, config, getSlackCustomEmoji_ConfigPropertyMetadata);
3957
3957
  return config;
3958
3958
  }
3959
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
3959
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
3960
3960
  if (!untrustedIsObject(untrustedConfig)) {
3961
3961
  return null;
3962
3962
  }
3963
3963
  if (process.env.NODE_ENV !== 'production') {
3964
3964
  validateConfig(untrustedConfig, configPropertyNames);
3965
3965
  }
3966
- const config = typeCheckConfig$b(untrustedConfig);
3966
+ const config = typeCheckConfig$c(untrustedConfig);
3967
3967
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3968
3968
  return null;
3969
3969
  }
3970
3970
  return config;
3971
3971
  }
3972
3972
  function adapterFragment$5(luvio, config) {
3973
- createResourceParams$b(config);
3974
- return select$f();
3973
+ createResourceParams$c(config);
3974
+ return select$h();
3975
3975
  }
3976
3976
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
3977
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
3977
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
3978
3978
  config,
3979
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
3979
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3980
3980
  });
3981
3981
  return luvio.storeBroadcast().then(() => snapshot);
3982
3982
  }
3983
3983
  function onFetchResponseError$5(luvio, config, resourceParams, response) {
3984
3984
  const snapshot = ingestError$5(luvio, resourceParams, response, {
3985
3985
  config,
3986
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
3986
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
3987
3987
  });
3988
3988
  return luvio.storeBroadcast().then(() => snapshot);
3989
3989
  }
3990
- function buildNetworkSnapshot$b(luvio, config, options) {
3991
- const resourceParams = createResourceParams$b(config);
3992
- const request = createResourceRequest$b(resourceParams);
3990
+ function buildNetworkSnapshot$c(luvio, config, options) {
3991
+ const resourceParams = createResourceParams$c(config);
3992
+ const request = createResourceRequest$c(resourceParams);
3993
3993
  return luvio.dispatchResourceRequest(request, options)
3994
3994
  .then((response) => {
3995
3995
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
3996
3996
  const cache = new StoreKeyMap();
3997
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
3997
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
3998
3998
  return cache;
3999
3999
  });
4000
4000
  }, (response) => {
@@ -4002,23 +4002,23 @@ function buildNetworkSnapshot$b(luvio, config, options) {
4002
4002
  });
4003
4003
  }
4004
4004
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
4005
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
4005
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
4006
4006
  }
4007
4007
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
4008
4008
  const { luvio, config } = context;
4009
4009
  const selector = {
4010
- recordId: keyBuilder$c(luvio, config),
4010
+ recordId: keyBuilder$d(luvio, config),
4011
4011
  node: adapterFragment$5(luvio, config),
4012
4012
  variables: {},
4013
4013
  };
4014
4014
  const cacheSnapshot = storeLookup(selector, {
4015
4015
  config,
4016
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4016
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
4017
4017
  });
4018
4018
  return cacheSnapshot;
4019
4019
  }
4020
4020
  const getSlackCustomEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackCustomEmoji(untrustedConfig, requestContext) {
4021
- const config = validateAdapterConfig$b(untrustedConfig, getSlackCustomEmoji_ConfigPropertyNames);
4021
+ const config = validateAdapterConfig$c(untrustedConfig, getSlackCustomEmoji_ConfigPropertyNames);
4022
4022
  // Invalid or incomplete config
4023
4023
  if (config === null) {
4024
4024
  return null;
@@ -4027,24 +4027,24 @@ const getSlackCustomEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
4027
4027
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
4028
4028
  };
4029
4029
 
4030
- function select$e(luvio, params) {
4031
- return select$x();
4030
+ function select$g(luvio, params) {
4031
+ return select$z();
4032
4032
  }
4033
- function keyBuilder$b(luvio, params) {
4034
- return keyBuilder$r(luvio, {
4033
+ function keyBuilder$c(luvio, params) {
4034
+ return keyBuilder$s(luvio, {
4035
4035
  channelId: params.urlParams.channelId
4036
4036
  });
4037
4037
  }
4038
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
4039
- getTypeCacheKeys$d(storeKeyMap, luvio, response);
4038
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
4039
+ getTypeCacheKeys$e(storeKeyMap, luvio, response);
4040
4040
  }
4041
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
4041
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
4042
4042
  const { body } = response;
4043
- const key = keyBuilder$b(luvio, resourceParams);
4044
- luvio.storeIngest(key, ingest$d, body);
4043
+ const key = keyBuilder$c(luvio, resourceParams);
4044
+ luvio.storeIngest(key, ingest$e, body);
4045
4045
  const snapshot = luvio.storeLookup({
4046
4046
  recordId: key,
4047
- node: select$e(),
4047
+ node: select$g(),
4048
4048
  variables: {},
4049
4049
  }, snapshotRefresh);
4050
4050
  if (process.env.NODE_ENV !== 'production') {
@@ -4056,12 +4056,12 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
4056
4056
  return snapshot;
4057
4057
  }
4058
4058
  function ingestError$4(luvio, params, error, snapshotRefresh) {
4059
- const key = keyBuilder$b(luvio, params);
4059
+ const key = keyBuilder$c(luvio, params);
4060
4060
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4061
4061
  luvio.storeIngestError(key, errorSnapshot);
4062
4062
  return errorSnapshot;
4063
4063
  }
4064
- function createResourceRequest$a(config) {
4064
+ function createResourceRequest$b(config) {
4065
4065
  const headers = {};
4066
4066
  return {
4067
4067
  baseUri: '/services/data/v64.0',
@@ -4079,65 +4079,65 @@ function createResourceRequestFromRepresentation$2(representation) {
4079
4079
  urlParams: {},
4080
4080
  };
4081
4081
  config.urlParams.channelId = representation.channelId;
4082
- return createResourceRequest$a(config);
4082
+ return createResourceRequest$b(config);
4083
4083
  }
4084
4084
 
4085
- const adapterName$a = 'getSlackMessage';
4085
+ const adapterName$b = 'getSlackMessage';
4086
4086
  const getSlackMessage_ConfigPropertyMetadata = [
4087
4087
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4088
4088
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
4089
4089
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4090
4090
  ];
4091
- const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackMessage_ConfigPropertyMetadata);
4092
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$i(getSlackMessage_ConfigPropertyMetadata);
4093
- function keyBuilder$a(luvio, config) {
4094
- const resourceParams = createResourceParams$a(config);
4095
- return keyBuilder$b(luvio, resourceParams);
4091
+ const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackMessage_ConfigPropertyMetadata);
4092
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$j(getSlackMessage_ConfigPropertyMetadata);
4093
+ function keyBuilder$b(luvio, config) {
4094
+ const resourceParams = createResourceParams$b(config);
4095
+ return keyBuilder$c(luvio, resourceParams);
4096
4096
  }
4097
- function typeCheckConfig$a(untrustedConfig) {
4097
+ function typeCheckConfig$b(untrustedConfig) {
4098
4098
  const config = {};
4099
- typeCheckConfig$i(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
4099
+ typeCheckConfig$j(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
4100
4100
  return config;
4101
4101
  }
4102
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
4102
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
4103
4103
  if (!untrustedIsObject(untrustedConfig)) {
4104
4104
  return null;
4105
4105
  }
4106
4106
  if (process.env.NODE_ENV !== 'production') {
4107
4107
  validateConfig(untrustedConfig, configPropertyNames);
4108
4108
  }
4109
- const config = typeCheckConfig$a(untrustedConfig);
4109
+ const config = typeCheckConfig$b(untrustedConfig);
4110
4110
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4111
4111
  return null;
4112
4112
  }
4113
4113
  return config;
4114
4114
  }
4115
4115
  function adapterFragment$4(luvio, config) {
4116
- createResourceParams$a(config);
4117
- return select$e();
4116
+ createResourceParams$b(config);
4117
+ return select$g();
4118
4118
  }
4119
4119
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
4120
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
4120
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
4121
4121
  config,
4122
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
4122
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4123
4123
  });
4124
4124
  return luvio.storeBroadcast().then(() => snapshot);
4125
4125
  }
4126
4126
  function onFetchResponseError$4(luvio, config, resourceParams, response) {
4127
4127
  const snapshot = ingestError$4(luvio, resourceParams, response, {
4128
4128
  config,
4129
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
4129
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4130
4130
  });
4131
4131
  return luvio.storeBroadcast().then(() => snapshot);
4132
4132
  }
4133
- function buildNetworkSnapshot$a(luvio, config, options) {
4134
- const resourceParams = createResourceParams$a(config);
4135
- const request = createResourceRequest$a(resourceParams);
4133
+ function buildNetworkSnapshot$b(luvio, config, options) {
4134
+ const resourceParams = createResourceParams$b(config);
4135
+ const request = createResourceRequest$b(resourceParams);
4136
4136
  return luvio.dispatchResourceRequest(request, options)
4137
4137
  .then((response) => {
4138
4138
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
4139
4139
  const cache = new StoreKeyMap();
4140
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
4140
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
4141
4141
  return cache;
4142
4142
  });
4143
4143
  }, (response) => {
@@ -4145,23 +4145,23 @@ function buildNetworkSnapshot$a(luvio, config, options) {
4145
4145
  });
4146
4146
  }
4147
4147
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
4148
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
4148
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
4149
4149
  }
4150
4150
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
4151
4151
  const { luvio, config } = context;
4152
4152
  const selector = {
4153
- recordId: keyBuilder$a(luvio, config),
4153
+ recordId: keyBuilder$b(luvio, config),
4154
4154
  node: adapterFragment$4(luvio, config),
4155
4155
  variables: {},
4156
4156
  };
4157
4157
  const cacheSnapshot = storeLookup(selector, {
4158
4158
  config,
4159
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
4159
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4160
4160
  });
4161
4161
  return cacheSnapshot;
4162
4162
  }
4163
4163
  const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackMessage(untrustedConfig, requestContext) {
4164
- const config = validateAdapterConfig$a(untrustedConfig, getSlackMessage_ConfigPropertyNames);
4164
+ const config = validateAdapterConfig$b(untrustedConfig, getSlackMessage_ConfigPropertyNames);
4165
4165
  // Invalid or incomplete config
4166
4166
  if (config === null) {
4167
4167
  return null;
@@ -4171,7 +4171,7 @@ const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackM
4171
4171
  };
4172
4172
  const notifyChangeFactory$2 = (luvio, options) => {
4173
4173
  return function getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamIdNotifyChange(configs) {
4174
- const keys = configs.map(c => keyBuilder$r(luvio, c));
4174
+ const keys = configs.map(c => keyBuilder$s(luvio, c));
4175
4175
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4176
4176
  for (let i = 0, len = entries.length; i < len; i++) {
4177
4177
  const { key, record: val } = entries[i];
@@ -4180,11 +4180,11 @@ const notifyChangeFactory$2 = (luvio, options) => {
4180
4180
  .then((response) => {
4181
4181
  return luvio.handleSuccessResponse(() => {
4182
4182
  const { body } = response;
4183
- luvio.storeIngest(key, ingest$d, body);
4183
+ luvio.storeIngest(key, ingest$e, body);
4184
4184
  return luvio.storeBroadcast();
4185
4185
  }, () => {
4186
4186
  const cache = new StoreKeyMap();
4187
- getTypeCacheKeys$d(cache, luvio, response.body);
4187
+ getTypeCacheKeys$e(cache, luvio, response.body);
4188
4188
  return cache;
4189
4189
  });
4190
4190
  }, (error) => {
@@ -4199,8 +4199,8 @@ const notifyChangeFactory$2 = (luvio, options) => {
4199
4199
  };
4200
4200
  };
4201
4201
 
4202
- const VERSION$3 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4203
- function validate$3(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4202
+ const VERSION$4 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4203
+ function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4204
4204
  const v_error = (() => {
4205
4205
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4206
4206
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4223,20 +4223,20 @@ function validate$3(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
4223
4223
  })();
4224
4224
  return v_error === undefined ? null : v_error;
4225
4225
  }
4226
- const RepresentationType$3 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4227
- function keyBuilder$9(luvio, config) {
4228
- return keyPrefix + '::' + RepresentationType$3 + ':' + config.relatedRecordId;
4226
+ const RepresentationType$4 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4227
+ function keyBuilder$a(luvio, config) {
4228
+ return keyPrefix + '::' + RepresentationType$4 + ':' + config.relatedRecordId;
4229
4229
  }
4230
- function keyBuilderFromType$1(luvio, object) {
4230
+ function keyBuilderFromType$2(luvio, object) {
4231
4231
  const keyParams = {
4232
4232
  relatedRecordId: object.relatedRecordId
4233
4233
  };
4234
- return keyBuilder$9(luvio, keyParams);
4234
+ return keyBuilder$a(luvio, keyParams);
4235
4235
  }
4236
- function normalize$3(input, existing, path, luvio, store, timestamp) {
4236
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
4237
4237
  const input_conversationInfo = input.conversationInfo;
4238
4238
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
4239
- input.conversationInfo = ingest$a(input_conversationInfo, {
4239
+ input.conversationInfo = ingest$b(input_conversationInfo, {
4240
4240
  fullPath: input_conversationInfo_id,
4241
4241
  propertyName: 'conversationInfo',
4242
4242
  parent: {
@@ -4248,16 +4248,16 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
4248
4248
  }, luvio, store, timestamp);
4249
4249
  return input;
4250
4250
  }
4251
- const select$d = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4251
+ const select$f = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4252
4252
  return {
4253
4253
  kind: 'Fragment',
4254
- version: VERSION$3,
4254
+ version: VERSION$4,
4255
4255
  private: [],
4256
4256
  selections: [
4257
4257
  {
4258
4258
  name: 'conversationInfo',
4259
4259
  kind: 'Link',
4260
- fragment: select$s()
4260
+ fragment: select$u()
4261
4261
  },
4262
4262
  {
4263
4263
  name: 'relatedRecordId',
@@ -4270,7 +4270,7 @@ const select$d = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
4270
4270
  ]
4271
4271
  };
4272
4272
  };
4273
- function equals$3(existing, incoming) {
4273
+ function equals$4(existing, incoming) {
4274
4274
  const existing_relatedRecordId = existing.relatedRecordId;
4275
4275
  const incoming_relatedRecordId = incoming.relatedRecordId;
4276
4276
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -4288,47 +4288,47 @@ function equals$3(existing, incoming) {
4288
4288
  }
4289
4289
  return true;
4290
4290
  }
4291
- const ingest$3 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4291
+ const ingest$4 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4292
4292
  if (process.env.NODE_ENV !== 'production') {
4293
- const validateError = validate$3(input);
4293
+ const validateError = validate$4(input);
4294
4294
  if (validateError !== null) {
4295
4295
  throw validateError;
4296
4296
  }
4297
4297
  }
4298
- const key = keyBuilderFromType$1(luvio, input);
4298
+ const key = keyBuilderFromType$2(luvio, input);
4299
4299
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4300
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
4300
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
4301
4301
  return createLink(key);
4302
4302
  };
4303
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
4303
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
4304
4304
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4305
- const rootKey = keyBuilderFromType$1(luvio, input);
4305
+ const rootKey = keyBuilderFromType$2(luvio, input);
4306
4306
  rootKeySet.set(rootKey, {
4307
4307
  namespace: keyPrefix,
4308
- representationName: RepresentationType$3,
4308
+ representationName: RepresentationType$4,
4309
4309
  mergeable: false
4310
4310
  });
4311
- getTypeCacheKeys$a(rootKeySet, luvio, input.conversationInfo);
4311
+ getTypeCacheKeys$b(rootKeySet, luvio, input.conversationInfo);
4312
4312
  }
4313
4313
 
4314
- function select$c(luvio, params) {
4315
- return select$d();
4314
+ function select$e(luvio, params) {
4315
+ return select$f();
4316
4316
  }
4317
- function keyBuilder$8(luvio, params) {
4318
- return keyBuilder$9(luvio, {
4317
+ function keyBuilder$9(luvio, params) {
4318
+ return keyBuilder$a(luvio, {
4319
4319
  relatedRecordId: params.urlParams.relatedRecordId
4320
4320
  });
4321
4321
  }
4322
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
4323
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
4322
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
4323
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
4324
4324
  }
4325
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
4325
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
4326
4326
  const { body } = response;
4327
- const key = keyBuilder$8(luvio, resourceParams);
4328
- luvio.storeIngest(key, ingest$3, body);
4327
+ const key = keyBuilder$9(luvio, resourceParams);
4328
+ luvio.storeIngest(key, ingest$4, body);
4329
4329
  const snapshot = luvio.storeLookup({
4330
4330
  recordId: key,
4331
- node: select$c(),
4331
+ node: select$e(),
4332
4332
  variables: {},
4333
4333
  }, snapshotRefresh);
4334
4334
  if (process.env.NODE_ENV !== 'production') {
@@ -4340,12 +4340,12 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
4340
4340
  return snapshot;
4341
4341
  }
4342
4342
  function ingestError$3(luvio, params, error, snapshotRefresh) {
4343
- const key = keyBuilder$8(luvio, params);
4343
+ const key = keyBuilder$9(luvio, params);
4344
4344
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4345
4345
  luvio.storeIngestError(key, errorSnapshot);
4346
4346
  return errorSnapshot;
4347
4347
  }
4348
- function createResourceRequest$9(config) {
4348
+ function createResourceRequest$a(config) {
4349
4349
  const headers = {};
4350
4350
  return {
4351
4351
  baseUri: '/services/data/v64.0',
@@ -4363,63 +4363,63 @@ function createResourceRequestFromRepresentation$1(representation) {
4363
4363
  urlParams: {},
4364
4364
  };
4365
4365
  config.urlParams.relatedRecordId = representation.relatedRecordId;
4366
- return createResourceRequest$9(config);
4366
+ return createResourceRequest$a(config);
4367
4367
  }
4368
4368
 
4369
- const adapterName$9 = 'getSlackRecordChannelInfo';
4369
+ const adapterName$a = 'getSlackRecordChannelInfo';
4370
4370
  const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
4371
4371
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
4372
4372
  ];
4373
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4374
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$i(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4375
- function keyBuilder$7(luvio, config) {
4376
- const resourceParams = createResourceParams$9(config);
4377
- return keyBuilder$8(luvio, resourceParams);
4373
+ const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4374
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$j(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4375
+ function keyBuilder$8(luvio, config) {
4376
+ const resourceParams = createResourceParams$a(config);
4377
+ return keyBuilder$9(luvio, resourceParams);
4378
4378
  }
4379
- function typeCheckConfig$9(untrustedConfig) {
4379
+ function typeCheckConfig$a(untrustedConfig) {
4380
4380
  const config = {};
4381
- typeCheckConfig$i(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4381
+ typeCheckConfig$j(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4382
4382
  return config;
4383
4383
  }
4384
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
4384
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
4385
4385
  if (!untrustedIsObject(untrustedConfig)) {
4386
4386
  return null;
4387
4387
  }
4388
4388
  if (process.env.NODE_ENV !== 'production') {
4389
4389
  validateConfig(untrustedConfig, configPropertyNames);
4390
4390
  }
4391
- const config = typeCheckConfig$9(untrustedConfig);
4391
+ const config = typeCheckConfig$a(untrustedConfig);
4392
4392
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4393
4393
  return null;
4394
4394
  }
4395
4395
  return config;
4396
4396
  }
4397
4397
  function adapterFragment$3(luvio, config) {
4398
- createResourceParams$9(config);
4399
- return select$c();
4398
+ createResourceParams$a(config);
4399
+ return select$e();
4400
4400
  }
4401
4401
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
4402
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
4402
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
4403
4403
  config,
4404
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
4404
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
4405
4405
  });
4406
4406
  return luvio.storeBroadcast().then(() => snapshot);
4407
4407
  }
4408
4408
  function onFetchResponseError$3(luvio, config, resourceParams, response) {
4409
4409
  const snapshot = ingestError$3(luvio, resourceParams, response, {
4410
4410
  config,
4411
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
4411
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
4412
4412
  });
4413
4413
  return luvio.storeBroadcast().then(() => snapshot);
4414
4414
  }
4415
- function buildNetworkSnapshot$9(luvio, config, options) {
4416
- const resourceParams = createResourceParams$9(config);
4417
- const request = createResourceRequest$9(resourceParams);
4415
+ function buildNetworkSnapshot$a(luvio, config, options) {
4416
+ const resourceParams = createResourceParams$a(config);
4417
+ const request = createResourceRequest$a(resourceParams);
4418
4418
  return luvio.dispatchResourceRequest(request, options)
4419
4419
  .then((response) => {
4420
4420
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
4421
4421
  const cache = new StoreKeyMap();
4422
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
4422
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
4423
4423
  return cache;
4424
4424
  });
4425
4425
  }, (response) => {
@@ -4427,23 +4427,23 @@ function buildNetworkSnapshot$9(luvio, config, options) {
4427
4427
  });
4428
4428
  }
4429
4429
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
4430
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
4430
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
4431
4431
  }
4432
4432
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
4433
4433
  const { luvio, config } = context;
4434
4434
  const selector = {
4435
- recordId: keyBuilder$7(luvio, config),
4435
+ recordId: keyBuilder$8(luvio, config),
4436
4436
  node: adapterFragment$3(luvio, config),
4437
4437
  variables: {},
4438
4438
  };
4439
4439
  const cacheSnapshot = storeLookup(selector, {
4440
4440
  config,
4441
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
4441
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
4442
4442
  });
4443
4443
  return cacheSnapshot;
4444
4444
  }
4445
4445
  const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4446
- const config = validateAdapterConfig$9(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4446
+ const config = validateAdapterConfig$a(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4447
4447
  // Invalid or incomplete config
4448
4448
  if (config === null) {
4449
4449
  return null;
@@ -4453,7 +4453,7 @@ const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge_
4453
4453
  };
4454
4454
  const notifyChangeFactory$1 = (luvio, options) => {
4455
4455
  return function getConnectSlackbridgeRecord_channelsByRelatedRecordIdNotifyChange(configs) {
4456
- const keys = configs.map(c => keyBuilder$9(luvio, c));
4456
+ const keys = configs.map(c => keyBuilder$a(luvio, c));
4457
4457
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4458
4458
  for (let i = 0, len = entries.length; i < len; i++) {
4459
4459
  const { key, record: val } = entries[i];
@@ -4462,11 +4462,11 @@ const notifyChangeFactory$1 = (luvio, options) => {
4462
4462
  .then((response) => {
4463
4463
  return luvio.handleSuccessResponse(() => {
4464
4464
  const { body } = response;
4465
- luvio.storeIngest(key, ingest$3, body);
4465
+ luvio.storeIngest(key, ingest$4, body);
4466
4466
  return luvio.storeBroadcast();
4467
4467
  }, () => {
4468
4468
  const cache = new StoreKeyMap();
4469
- getTypeCacheKeys$3(cache, luvio, response.body);
4469
+ getTypeCacheKeys$4(cache, luvio, response.body);
4470
4470
  return cache;
4471
4471
  });
4472
4472
  }, (error) => {
@@ -4481,8 +4481,8 @@ const notifyChangeFactory$1 = (luvio, options) => {
4481
4481
  };
4482
4482
  };
4483
4483
 
4484
- const VERSION$2 = "071d815d304929393ef8cec1c66123dd";
4485
- function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
4484
+ const VERSION$3 = "071d815d304929393ef8cec1c66123dd";
4485
+ function validate$3(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
4486
4486
  const v_error = (() => {
4487
4487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4488
4488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4495,7 +4495,7 @@ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
4495
4495
  for (let i = 0; i < obj_emojis.length; i++) {
4496
4496
  const obj_emojis_item = obj_emojis[i];
4497
4497
  const path_emojis_item = path_emojis + '[' + i + ']';
4498
- const referencepath_emojis_itemValidationError = validate$f(obj_emojis_item, path_emojis_item);
4498
+ const referencepath_emojis_itemValidationError = validate$g(obj_emojis_item, path_emojis_item);
4499
4499
  if (referencepath_emojis_itemValidationError !== null) {
4500
4500
  let message = 'Object doesn\'t match SlackBridgeEmojiOutputRepresentation (at "' + path_emojis_item + '")\n';
4501
4501
  message += referencepath_emojis_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4510,15 +4510,15 @@ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
4510
4510
  })();
4511
4511
  return v_error === undefined ? null : v_error;
4512
4512
  }
4513
- const RepresentationType$2 = 'SlackBridgeEmojisOutputRepresentation';
4514
- function normalize$2(input, existing, path, luvio, store, timestamp) {
4513
+ const RepresentationType$3 = 'SlackBridgeEmojisOutputRepresentation';
4514
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
4515
4515
  return input;
4516
4516
  }
4517
- const select$b = function SlackBridgeEmojisOutputRepresentationSelect() {
4518
- const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$u();
4517
+ const select$d = function SlackBridgeEmojisOutputRepresentationSelect() {
4518
+ const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$w();
4519
4519
  return {
4520
4520
  kind: 'Fragment',
4521
- version: VERSION$2,
4521
+ version: VERSION$3,
4522
4522
  private: [],
4523
4523
  selections: [
4524
4524
  {
@@ -4534,7 +4534,7 @@ const select$b = function SlackBridgeEmojisOutputRepresentationSelect() {
4534
4534
  ]
4535
4535
  };
4536
4536
  };
4537
- function equals$2(existing, incoming) {
4537
+ function equals$3(existing, incoming) {
4538
4538
  const existing_searchString = existing.searchString;
4539
4539
  const incoming_searchString = incoming.searchString;
4540
4540
  if (!(existing_searchString === incoming_searchString)) {
@@ -4543,7 +4543,7 @@ function equals$2(existing, incoming) {
4543
4543
  const existing_emojis = existing.emojis;
4544
4544
  const incoming_emojis = incoming.emojis;
4545
4545
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
4546
- if (!(equals$f(existing_emojis_item, incoming_emojis_item))) {
4546
+ if (!(equals$g(existing_emojis_item, incoming_emojis_item))) {
4547
4547
  return false;
4548
4548
  }
4549
4549
  });
@@ -4552,44 +4552,44 @@ function equals$2(existing, incoming) {
4552
4552
  }
4553
4553
  return true;
4554
4554
  }
4555
- const ingest$2 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4555
+ const ingest$3 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4556
4556
  if (process.env.NODE_ENV !== 'production') {
4557
- const validateError = validate$2(input);
4557
+ const validateError = validate$3(input);
4558
4558
  if (validateError !== null) {
4559
4559
  throw validateError;
4560
4560
  }
4561
4561
  }
4562
4562
  const key = path.fullPath;
4563
4563
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4564
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
4564
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
4565
4565
  return createLink(key);
4566
4566
  };
4567
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
4567
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
4568
4568
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4569
4569
  const rootKey = fullPathFactory();
4570
4570
  rootKeySet.set(rootKey, {
4571
4571
  namespace: keyPrefix,
4572
- representationName: RepresentationType$2,
4572
+ representationName: RepresentationType$3,
4573
4573
  mergeable: false
4574
4574
  });
4575
4575
  }
4576
4576
 
4577
- function select$a(luvio, params) {
4578
- return select$b();
4577
+ function select$c(luvio, params) {
4578
+ return select$d();
4579
4579
  }
4580
- function keyBuilder$6(luvio, params) {
4580
+ function keyBuilder$7(luvio, params) {
4581
4581
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
4582
4582
  }
4583
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
4584
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
4583
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
4584
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
4585
4585
  }
4586
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
4586
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
4587
4587
  const { body } = response;
4588
- const key = keyBuilder$6(luvio, resourceParams);
4589
- luvio.storeIngest(key, ingest$2, body);
4588
+ const key = keyBuilder$7(luvio, resourceParams);
4589
+ luvio.storeIngest(key, ingest$3, body);
4590
4590
  const snapshot = luvio.storeLookup({
4591
4591
  recordId: key,
4592
- node: select$a(),
4592
+ node: select$c(),
4593
4593
  variables: {},
4594
4594
  }, snapshotRefresh);
4595
4595
  if (process.env.NODE_ENV !== 'production') {
@@ -4601,12 +4601,12 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
4601
4601
  return snapshot;
4602
4602
  }
4603
4603
  function ingestError$2(luvio, params, error, snapshotRefresh) {
4604
- const key = keyBuilder$6(luvio, params);
4604
+ const key = keyBuilder$7(luvio, params);
4605
4605
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4606
4606
  luvio.storeIngestError(key, errorSnapshot);
4607
4607
  return errorSnapshot;
4608
4608
  }
4609
- function createResourceRequest$8(config) {
4609
+ function createResourceRequest$9(config) {
4610
4610
  const headers = {};
4611
4611
  return {
4612
4612
  baseUri: '/services/data/v64.0',
@@ -4620,61 +4620,61 @@ function createResourceRequest$8(config) {
4620
4620
  };
4621
4621
  }
4622
4622
 
4623
- const adapterName$8 = 'getSlackSearchEmoji';
4623
+ const adapterName$9 = 'getSlackSearchEmoji';
4624
4624
  const getSlackSearchEmoji_ConfigPropertyMetadata = [
4625
4625
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4626
4626
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
4627
4627
  ];
4628
- const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchEmoji_ConfigPropertyMetadata);
4629
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$i(getSlackSearchEmoji_ConfigPropertyMetadata);
4630
- function keyBuilder$5(luvio, config) {
4631
- const resourceParams = createResourceParams$8(config);
4632
- return keyBuilder$6(luvio, resourceParams);
4628
+ const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackSearchEmoji_ConfigPropertyMetadata);
4629
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$j(getSlackSearchEmoji_ConfigPropertyMetadata);
4630
+ function keyBuilder$6(luvio, config) {
4631
+ const resourceParams = createResourceParams$9(config);
4632
+ return keyBuilder$7(luvio, resourceParams);
4633
4633
  }
4634
- function typeCheckConfig$8(untrustedConfig) {
4634
+ function typeCheckConfig$9(untrustedConfig) {
4635
4635
  const config = {};
4636
- typeCheckConfig$i(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
4636
+ typeCheckConfig$j(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
4637
4637
  return config;
4638
4638
  }
4639
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
4639
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
4640
4640
  if (!untrustedIsObject(untrustedConfig)) {
4641
4641
  return null;
4642
4642
  }
4643
4643
  if (process.env.NODE_ENV !== 'production') {
4644
4644
  validateConfig(untrustedConfig, configPropertyNames);
4645
4645
  }
4646
- const config = typeCheckConfig$8(untrustedConfig);
4646
+ const config = typeCheckConfig$9(untrustedConfig);
4647
4647
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4648
4648
  return null;
4649
4649
  }
4650
4650
  return config;
4651
4651
  }
4652
4652
  function adapterFragment$2(luvio, config) {
4653
- createResourceParams$8(config);
4654
- return select$a();
4653
+ createResourceParams$9(config);
4654
+ return select$c();
4655
4655
  }
4656
4656
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
4657
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
4657
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
4658
4658
  config,
4659
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4659
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
4660
4660
  });
4661
4661
  return luvio.storeBroadcast().then(() => snapshot);
4662
4662
  }
4663
4663
  function onFetchResponseError$2(luvio, config, resourceParams, response) {
4664
4664
  const snapshot = ingestError$2(luvio, resourceParams, response, {
4665
4665
  config,
4666
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4666
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
4667
4667
  });
4668
4668
  return luvio.storeBroadcast().then(() => snapshot);
4669
4669
  }
4670
- function buildNetworkSnapshot$8(luvio, config, options) {
4671
- const resourceParams = createResourceParams$8(config);
4672
- const request = createResourceRequest$8(resourceParams);
4670
+ function buildNetworkSnapshot$9(luvio, config, options) {
4671
+ const resourceParams = createResourceParams$9(config);
4672
+ const request = createResourceRequest$9(resourceParams);
4673
4673
  return luvio.dispatchResourceRequest(request, options)
4674
4674
  .then((response) => {
4675
4675
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
4676
4676
  const cache = new StoreKeyMap();
4677
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
4677
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
4678
4678
  return cache;
4679
4679
  });
4680
4680
  }, (response) => {
@@ -4682,23 +4682,23 @@ function buildNetworkSnapshot$8(luvio, config, options) {
4682
4682
  });
4683
4683
  }
4684
4684
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
4685
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
4685
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
4686
4686
  }
4687
4687
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
4688
4688
  const { luvio, config } = context;
4689
4689
  const selector = {
4690
- recordId: keyBuilder$5(luvio, config),
4690
+ recordId: keyBuilder$6(luvio, config),
4691
4691
  node: adapterFragment$2(luvio, config),
4692
4692
  variables: {},
4693
4693
  };
4694
4694
  const cacheSnapshot = storeLookup(selector, {
4695
4695
  config,
4696
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4696
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
4697
4697
  });
4698
4698
  return cacheSnapshot;
4699
4699
  }
4700
4700
  const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackSearchEmoji(untrustedConfig, requestContext) {
4701
- const config = validateAdapterConfig$8(untrustedConfig, getSlackSearchEmoji_ConfigPropertyNames);
4701
+ const config = validateAdapterConfig$9(untrustedConfig, getSlackSearchEmoji_ConfigPropertyNames);
4702
4702
  // Invalid or incomplete config
4703
4703
  if (config === null) {
4704
4704
  return null;
@@ -4707,8 +4707,8 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
4707
4707
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
4708
4708
  };
4709
4709
 
4710
- const VERSION$1 = "a34bf4d8d78f6cfc1c3ff193ce06f673";
4711
- function validate$1(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
4710
+ const VERSION$2 = "a34bf4d8d78f6cfc1c3ff193ce06f673";
4711
+ function validate$2(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
4712
4712
  const v_error = (() => {
4713
4713
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4714
4714
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4733,14 +4733,14 @@ function validate$1(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
4733
4733
  })();
4734
4734
  return v_error === undefined ? null : v_error;
4735
4735
  }
4736
- const RepresentationType$1 = 'SlackBridgeUserInfosOutputRepresentation';
4737
- function normalize$1(input, existing, path, luvio, store, timestamp) {
4736
+ const RepresentationType$2 = 'SlackBridgeUserInfosOutputRepresentation';
4737
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
4738
4738
  const input_userInfos = input.userInfos;
4739
4739
  const input_userInfos_id = path.fullPath + '__userInfos';
4740
4740
  for (let i = 0; i < input_userInfos.length; i++) {
4741
4741
  const input_userInfos_item = input_userInfos[i];
4742
4742
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
4743
- input_userInfos[i] = ingest$b(input_userInfos_item, {
4743
+ input_userInfos[i] = ingest$c(input_userInfos_item, {
4744
4744
  fullPath: input_userInfos_item_id,
4745
4745
  propertyName: i,
4746
4746
  parent: {
@@ -4753,10 +4753,10 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
4753
4753
  }
4754
4754
  return input;
4755
4755
  }
4756
- const select$9 = function SlackBridgeUserInfosOutputRepresentationSelect() {
4756
+ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
4757
4757
  return {
4758
4758
  kind: 'Fragment',
4759
- version: VERSION$1,
4759
+ version: VERSION$2,
4760
4760
  private: [],
4761
4761
  selections: [
4762
4762
  {
@@ -4767,12 +4767,12 @@ const select$9 = function SlackBridgeUserInfosOutputRepresentationSelect() {
4767
4767
  name: 'userInfos',
4768
4768
  kind: 'Link',
4769
4769
  plural: true,
4770
- fragment: select$t()
4770
+ fragment: select$v()
4771
4771
  }
4772
4772
  ]
4773
4773
  };
4774
4774
  };
4775
- function equals$1(existing, incoming) {
4775
+ function equals$2(existing, incoming) {
4776
4776
  const existing_searchString = existing.searchString;
4777
4777
  const incoming_searchString = incoming.searchString;
4778
4778
  if (!(existing_searchString === incoming_searchString)) {
@@ -4790,48 +4790,48 @@ function equals$1(existing, incoming) {
4790
4790
  }
4791
4791
  return true;
4792
4792
  }
4793
- const ingest$1 = function SlackBridgeUserInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4793
+ const ingest$2 = function SlackBridgeUserInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4794
4794
  if (process.env.NODE_ENV !== 'production') {
4795
- const validateError = validate$1(input);
4795
+ const validateError = validate$2(input);
4796
4796
  if (validateError !== null) {
4797
4797
  throw validateError;
4798
4798
  }
4799
4799
  }
4800
4800
  const key = path.fullPath;
4801
4801
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4802
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
4802
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
4803
4803
  return createLink(key);
4804
4804
  };
4805
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
4805
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
4806
4806
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4807
4807
  const rootKey = fullPathFactory();
4808
4808
  rootKeySet.set(rootKey, {
4809
4809
  namespace: keyPrefix,
4810
- representationName: RepresentationType$1,
4810
+ representationName: RepresentationType$2,
4811
4811
  mergeable: false
4812
4812
  });
4813
4813
  const input_userInfos_length = input.userInfos.length;
4814
4814
  for (let i = 0; i < input_userInfos_length; i++) {
4815
- getTypeCacheKeys$b(rootKeySet, luvio, input.userInfos[i]);
4815
+ getTypeCacheKeys$c(rootKeySet, luvio, input.userInfos[i]);
4816
4816
  }
4817
4817
  }
4818
4818
 
4819
- function select$8(luvio, params) {
4820
- return select$9();
4819
+ function select$a(luvio, params) {
4820
+ return select$b();
4821
4821
  }
4822
- function keyBuilder$4(luvio, params) {
4822
+ function keyBuilder$5(luvio, params) {
4823
4823
  return keyPrefix + '::SlackBridgeUserInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
4824
4824
  }
4825
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
4826
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
4825
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
4826
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
4827
4827
  }
4828
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
4828
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
4829
4829
  const { body } = response;
4830
- const key = keyBuilder$4(luvio, resourceParams);
4831
- luvio.storeIngest(key, ingest$1, body);
4830
+ const key = keyBuilder$5(luvio, resourceParams);
4831
+ luvio.storeIngest(key, ingest$2, body);
4832
4832
  const snapshot = luvio.storeLookup({
4833
4833
  recordId: key,
4834
- node: select$8(),
4834
+ node: select$a(),
4835
4835
  variables: {},
4836
4836
  }, snapshotRefresh);
4837
4837
  if (process.env.NODE_ENV !== 'production') {
@@ -4843,12 +4843,12 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
4843
4843
  return snapshot;
4844
4844
  }
4845
4845
  function ingestError$1(luvio, params, error, snapshotRefresh) {
4846
- const key = keyBuilder$4(luvio, params);
4846
+ const key = keyBuilder$5(luvio, params);
4847
4847
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4848
4848
  luvio.storeIngestError(key, errorSnapshot);
4849
4849
  return errorSnapshot;
4850
4850
  }
4851
- function createResourceRequest$7(config) {
4851
+ function createResourceRequest$8(config) {
4852
4852
  const headers = {};
4853
4853
  return {
4854
4854
  baseUri: '/services/data/v64.0',
@@ -4862,61 +4862,61 @@ function createResourceRequest$7(config) {
4862
4862
  };
4863
4863
  }
4864
4864
 
4865
- const adapterName$7 = 'getSlackSearchUser';
4865
+ const adapterName$8 = 'getSlackSearchUser';
4866
4866
  const getSlackSearchUser_ConfigPropertyMetadata = [
4867
4867
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4868
4868
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
4869
4869
  ];
4870
- const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackSearchUser_ConfigPropertyMetadata);
4871
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$i(getSlackSearchUser_ConfigPropertyMetadata);
4872
- function keyBuilder$3(luvio, config) {
4873
- const resourceParams = createResourceParams$7(config);
4874
- return keyBuilder$4(luvio, resourceParams);
4870
+ const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchUser_ConfigPropertyMetadata);
4871
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$j(getSlackSearchUser_ConfigPropertyMetadata);
4872
+ function keyBuilder$4(luvio, config) {
4873
+ const resourceParams = createResourceParams$8(config);
4874
+ return keyBuilder$5(luvio, resourceParams);
4875
4875
  }
4876
- function typeCheckConfig$7(untrustedConfig) {
4876
+ function typeCheckConfig$8(untrustedConfig) {
4877
4877
  const config = {};
4878
- typeCheckConfig$i(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
4878
+ typeCheckConfig$j(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
4879
4879
  return config;
4880
4880
  }
4881
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
4881
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
4882
4882
  if (!untrustedIsObject(untrustedConfig)) {
4883
4883
  return null;
4884
4884
  }
4885
4885
  if (process.env.NODE_ENV !== 'production') {
4886
4886
  validateConfig(untrustedConfig, configPropertyNames);
4887
4887
  }
4888
- const config = typeCheckConfig$7(untrustedConfig);
4888
+ const config = typeCheckConfig$8(untrustedConfig);
4889
4889
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4890
4890
  return null;
4891
4891
  }
4892
4892
  return config;
4893
4893
  }
4894
4894
  function adapterFragment$1(luvio, config) {
4895
- createResourceParams$7(config);
4896
- return select$8();
4895
+ createResourceParams$8(config);
4896
+ return select$a();
4897
4897
  }
4898
4898
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
4899
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
4899
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
4900
4900
  config,
4901
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
4901
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4902
4902
  });
4903
4903
  return luvio.storeBroadcast().then(() => snapshot);
4904
4904
  }
4905
4905
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
4906
4906
  const snapshot = ingestError$1(luvio, resourceParams, response, {
4907
4907
  config,
4908
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
4908
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4909
4909
  });
4910
4910
  return luvio.storeBroadcast().then(() => snapshot);
4911
4911
  }
4912
- function buildNetworkSnapshot$7(luvio, config, options) {
4913
- const resourceParams = createResourceParams$7(config);
4914
- const request = createResourceRequest$7(resourceParams);
4912
+ function buildNetworkSnapshot$8(luvio, config, options) {
4913
+ const resourceParams = createResourceParams$8(config);
4914
+ const request = createResourceRequest$8(resourceParams);
4915
4915
  return luvio.dispatchResourceRequest(request, options)
4916
4916
  .then((response) => {
4917
4917
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
4918
4918
  const cache = new StoreKeyMap();
4919
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
4919
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
4920
4920
  return cache;
4921
4921
  });
4922
4922
  }, (response) => {
@@ -4924,23 +4924,23 @@ function buildNetworkSnapshot$7(luvio, config, options) {
4924
4924
  });
4925
4925
  }
4926
4926
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
4927
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
4927
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
4928
4928
  }
4929
4929
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
4930
4930
  const { luvio, config } = context;
4931
4931
  const selector = {
4932
- recordId: keyBuilder$3(luvio, config),
4932
+ recordId: keyBuilder$4(luvio, config),
4933
4933
  node: adapterFragment$1(luvio, config),
4934
4934
  variables: {},
4935
4935
  };
4936
4936
  const cacheSnapshot = storeLookup(selector, {
4937
4937
  config,
4938
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
4938
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
4939
4939
  });
4940
4940
  return cacheSnapshot;
4941
4941
  }
4942
4942
  const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSlackSearchUser(untrustedConfig, requestContext) {
4943
- const config = validateAdapterConfig$7(untrustedConfig, getSlackSearchUser_ConfigPropertyNames);
4943
+ const config = validateAdapterConfig$8(untrustedConfig, getSlackSearchUser_ConfigPropertyNames);
4944
4944
  // Invalid or incomplete config
4945
4945
  if (config === null) {
4946
4946
  return null;
@@ -4949,25 +4949,25 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
4949
4949
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
4950
4950
  };
4951
4951
 
4952
- function select$7(luvio, params) {
4953
- return select$t();
4952
+ function select$9(luvio, params) {
4953
+ return select$v();
4954
4954
  }
4955
- function keyBuilder$2(luvio, params) {
4956
- return keyBuilder$n(luvio, {
4955
+ function keyBuilder$3(luvio, params) {
4956
+ return keyBuilder$o(luvio, {
4957
4957
  slackUserId: params.urlParams.slackUserId,
4958
4958
  teamId: params.urlParams.teamId
4959
4959
  });
4960
4960
  }
4961
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
4962
- getTypeCacheKeys$b(storeKeyMap, luvio, response);
4961
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
4962
+ getTypeCacheKeys$c(storeKeyMap, luvio, response);
4963
4963
  }
4964
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
4964
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
4965
4965
  const { body } = response;
4966
- const key = keyBuilder$2(luvio, resourceParams);
4967
- luvio.storeIngest(key, ingest$b, body);
4966
+ const key = keyBuilder$3(luvio, resourceParams);
4967
+ luvio.storeIngest(key, ingest$c, body);
4968
4968
  const snapshot = luvio.storeLookup({
4969
4969
  recordId: key,
4970
- node: select$7(),
4970
+ node: select$9(),
4971
4971
  variables: {},
4972
4972
  }, snapshotRefresh);
4973
4973
  if (process.env.NODE_ENV !== 'production') {
@@ -4979,18 +4979,18 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
4979
4979
  return snapshot;
4980
4980
  }
4981
4981
  function ingestError(luvio, params, error, snapshotRefresh) {
4982
- const key = keyBuilder$2(luvio, params);
4982
+ const key = keyBuilder$3(luvio, params);
4983
4983
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4984
4984
  const storeMetadataParams = {
4985
4985
  ttl: TTL,
4986
4986
  namespace: keyPrefix,
4987
- version: VERSION$e,
4988
- representationName: RepresentationType$b
4987
+ version: VERSION$f,
4988
+ representationName: RepresentationType$c
4989
4989
  };
4990
4990
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4991
4991
  return errorSnapshot;
4992
4992
  }
4993
- function createResourceRequest$6(config) {
4993
+ function createResourceRequest$7(config) {
4994
4994
  const headers = {};
4995
4995
  return {
4996
4996
  baseUri: '/services/data/v64.0',
@@ -5009,64 +5009,64 @@ function createResourceRequestFromRepresentation(representation) {
5009
5009
  };
5010
5010
  config.urlParams.slackUserId = representation.slackUserId;
5011
5011
  config.urlParams.teamId = representation.teamId;
5012
- return createResourceRequest$6(config);
5012
+ return createResourceRequest$7(config);
5013
5013
  }
5014
5014
 
5015
- const adapterName$6 = 'getSlackUser';
5015
+ const adapterName$7 = 'getSlackUser';
5016
5016
  const getSlackUser_ConfigPropertyMetadata = [
5017
5017
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5018
5018
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5019
5019
  ];
5020
- const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSlackUser_ConfigPropertyMetadata);
5021
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$i(getSlackUser_ConfigPropertyMetadata);
5022
- function keyBuilder$1(luvio, config) {
5023
- const resourceParams = createResourceParams$6(config);
5024
- return keyBuilder$2(luvio, resourceParams);
5020
+ const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackUser_ConfigPropertyMetadata);
5021
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$j(getSlackUser_ConfigPropertyMetadata);
5022
+ function keyBuilder$2(luvio, config) {
5023
+ const resourceParams = createResourceParams$7(config);
5024
+ return keyBuilder$3(luvio, resourceParams);
5025
5025
  }
5026
- function typeCheckConfig$6(untrustedConfig) {
5026
+ function typeCheckConfig$7(untrustedConfig) {
5027
5027
  const config = {};
5028
- typeCheckConfig$i(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
5028
+ typeCheckConfig$j(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
5029
5029
  return config;
5030
5030
  }
5031
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
5031
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
5032
5032
  if (!untrustedIsObject(untrustedConfig)) {
5033
5033
  return null;
5034
5034
  }
5035
5035
  if (process.env.NODE_ENV !== 'production') {
5036
5036
  validateConfig(untrustedConfig, configPropertyNames);
5037
5037
  }
5038
- const config = typeCheckConfig$6(untrustedConfig);
5038
+ const config = typeCheckConfig$7(untrustedConfig);
5039
5039
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5040
5040
  return null;
5041
5041
  }
5042
5042
  return config;
5043
5043
  }
5044
5044
  function adapterFragment(luvio, config) {
5045
- createResourceParams$6(config);
5046
- return select$7();
5045
+ createResourceParams$7(config);
5046
+ return select$9();
5047
5047
  }
5048
5048
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
5049
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
5049
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
5050
5050
  config,
5051
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
5051
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5052
5052
  });
5053
5053
  return luvio.storeBroadcast().then(() => snapshot);
5054
5054
  }
5055
5055
  function onFetchResponseError(luvio, config, resourceParams, response) {
5056
5056
  const snapshot = ingestError(luvio, resourceParams, response, {
5057
5057
  config,
5058
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
5058
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5059
5059
  });
5060
5060
  return luvio.storeBroadcast().then(() => snapshot);
5061
5061
  }
5062
- function buildNetworkSnapshot$6(luvio, config, options) {
5063
- const resourceParams = createResourceParams$6(config);
5064
- const request = createResourceRequest$6(resourceParams);
5062
+ function buildNetworkSnapshot$7(luvio, config, options) {
5063
+ const resourceParams = createResourceParams$7(config);
5064
+ const request = createResourceRequest$7(resourceParams);
5065
5065
  return luvio.dispatchResourceRequest(request, options)
5066
5066
  .then((response) => {
5067
5067
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
5068
5068
  const cache = new StoreKeyMap();
5069
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
5069
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
5070
5070
  return cache;
5071
5071
  });
5072
5072
  }, (response) => {
@@ -5074,23 +5074,23 @@ function buildNetworkSnapshot$6(luvio, config, options) {
5074
5074
  });
5075
5075
  }
5076
5076
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
5077
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
5077
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
5078
5078
  }
5079
5079
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
5080
5080
  const { luvio, config } = context;
5081
5081
  const selector = {
5082
- recordId: keyBuilder$1(luvio, config),
5082
+ recordId: keyBuilder$2(luvio, config),
5083
5083
  node: adapterFragment(luvio, config),
5084
5084
  variables: {},
5085
5085
  };
5086
5086
  const cacheSnapshot = storeLookup(selector, {
5087
5087
  config,
5088
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
5088
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5089
5089
  });
5090
5090
  return cacheSnapshot;
5091
5091
  }
5092
5092
  const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser(untrustedConfig, requestContext) {
5093
- const config = validateAdapterConfig$6(untrustedConfig, getSlackUser_ConfigPropertyNames);
5093
+ const config = validateAdapterConfig$7(untrustedConfig, getSlackUser_ConfigPropertyNames);
5094
5094
  // Invalid or incomplete config
5095
5095
  if (config === null) {
5096
5096
  return null;
@@ -5100,7 +5100,7 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
5100
5100
  };
5101
5101
  const notifyChangeFactory = (luvio, options) => {
5102
5102
  return function getConnectSlackbridgeTeamUserBySlackUserIdAndTeamIdNotifyChange(configs) {
5103
- const keys = configs.map(c => keyBuilder$n(luvio, c));
5103
+ const keys = configs.map(c => keyBuilder$o(luvio, c));
5104
5104
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5105
5105
  for (let i = 0, len = entries.length; i < len; i++) {
5106
5106
  const { key, record: val } = entries[i];
@@ -5109,11 +5109,11 @@ const notifyChangeFactory = (luvio, options) => {
5109
5109
  .then((response) => {
5110
5110
  return luvio.handleSuccessResponse(() => {
5111
5111
  const { body } = response;
5112
- luvio.storeIngest(key, ingest$b, body);
5112
+ luvio.storeIngest(key, ingest$c, body);
5113
5113
  return luvio.storeBroadcast();
5114
5114
  }, () => {
5115
5115
  const cache = new StoreKeyMap();
5116
- getTypeCacheKeys$b(cache, luvio, response.body);
5116
+ getTypeCacheKeys$c(cache, luvio, response.body);
5117
5117
  return cache;
5118
5118
  });
5119
5119
  }, (error) => {
@@ -5122,8 +5122,8 @@ const notifyChangeFactory = (luvio, options) => {
5122
5122
  luvio.storeIngestError(key, errorSnapshot, {
5123
5123
  ttl: TTL,
5124
5124
  namespace: keyPrefix,
5125
- version: VERSION$e,
5126
- representationName: RepresentationType$b
5125
+ version: VERSION$f,
5126
+ representationName: RepresentationType$c
5127
5127
  });
5128
5128
  return luvio.storeBroadcast().then(() => errorSnapshot);
5129
5129
  });
@@ -5133,19 +5133,19 @@ const notifyChangeFactory = (luvio, options) => {
5133
5133
  };
5134
5134
  };
5135
5135
 
5136
- function select$6(luvio, params) {
5137
- return select$x();
5136
+ function select$8(luvio, params) {
5137
+ return select$z();
5138
5138
  }
5139
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
5140
- getTypeCacheKeys$d(storeKeyMap, luvio, response);
5139
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
5140
+ getTypeCacheKeys$e(storeKeyMap, luvio, response);
5141
5141
  }
5142
- function ingestSuccess$5(luvio, resourceParams, response) {
5142
+ function ingestSuccess$6(luvio, resourceParams, response) {
5143
5143
  const { body } = response;
5144
- const key = keyBuilderFromType$7(luvio, body);
5145
- luvio.storeIngest(key, ingest$d, body);
5144
+ const key = keyBuilderFromType$8(luvio, body);
5145
+ luvio.storeIngest(key, ingest$e, body);
5146
5146
  const snapshot = luvio.storeLookup({
5147
5147
  recordId: key,
5148
- node: select$6(),
5148
+ node: select$8(),
5149
5149
  variables: {},
5150
5150
  });
5151
5151
  if (process.env.NODE_ENV !== 'production') {
@@ -5156,7 +5156,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
5156
5156
  deepFreeze(snapshot.data);
5157
5157
  return snapshot;
5158
5158
  }
5159
- function createResourceRequest$5(config) {
5159
+ function createResourceRequest$6(config) {
5160
5160
  const headers = {};
5161
5161
  return {
5162
5162
  baseUri: '/services/data/v64.0',
@@ -5170,44 +5170,44 @@ function createResourceRequest$5(config) {
5170
5170
  };
5171
5171
  }
5172
5172
 
5173
- const adapterName$5 = 'patchSlackMessage';
5173
+ const adapterName$6 = 'patchSlackMessage';
5174
5174
  const patchSlackMessage_ConfigPropertyMetadata = [
5175
5175
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5176
5176
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5177
5177
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5178
5178
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
5179
5179
  ];
5180
- const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, patchSlackMessage_ConfigPropertyMetadata);
5181
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$i(patchSlackMessage_ConfigPropertyMetadata);
5182
- function typeCheckConfig$5(untrustedConfig) {
5180
+ const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchSlackMessage_ConfigPropertyMetadata);
5181
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$j(patchSlackMessage_ConfigPropertyMetadata);
5182
+ function typeCheckConfig$6(untrustedConfig) {
5183
5183
  const config = {};
5184
- typeCheckConfig$i(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5184
+ typeCheckConfig$j(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5185
5185
  return config;
5186
5186
  }
5187
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
5187
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
5188
5188
  if (!untrustedIsObject(untrustedConfig)) {
5189
5189
  return null;
5190
5190
  }
5191
5191
  if (process.env.NODE_ENV !== 'production') {
5192
5192
  validateConfig(untrustedConfig, configPropertyNames);
5193
5193
  }
5194
- const config = typeCheckConfig$5(untrustedConfig);
5194
+ const config = typeCheckConfig$6(untrustedConfig);
5195
5195
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5196
5196
  return null;
5197
5197
  }
5198
5198
  return config;
5199
5199
  }
5200
- function buildNetworkSnapshot$5(luvio, config, options) {
5201
- const resourceParams = createResourceParams$5(config);
5202
- const request = createResourceRequest$5(resourceParams);
5200
+ function buildNetworkSnapshot$6(luvio, config, options) {
5201
+ const resourceParams = createResourceParams$6(config);
5202
+ const request = createResourceRequest$6(resourceParams);
5203
5203
  return luvio.dispatchResourceRequest(request, options)
5204
5204
  .then((response) => {
5205
5205
  return luvio.handleSuccessResponse(() => {
5206
- const snapshot = ingestSuccess$5(luvio, resourceParams, response);
5206
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
5207
5207
  return luvio.storeBroadcast().then(() => snapshot);
5208
5208
  }, () => {
5209
5209
  const cache = new StoreKeyMap();
5210
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
5210
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
5211
5211
  return cache;
5212
5212
  });
5213
5213
  }, (response) => {
@@ -5217,17 +5217,17 @@ function buildNetworkSnapshot$5(luvio, config, options) {
5217
5217
  }
5218
5218
  const patchSlackMessageAdapterFactory = (luvio) => {
5219
5219
  return function patchSlackMessage(untrustedConfig) {
5220
- const config = validateAdapterConfig$5(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
5220
+ const config = validateAdapterConfig$6(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
5221
5221
  // Invalid or incomplete config
5222
5222
  if (config === null) {
5223
5223
  throw new Error('Invalid config for "patchSlackMessage"');
5224
5224
  }
5225
- return buildNetworkSnapshot$5(luvio, config);
5225
+ return buildNetworkSnapshot$6(luvio, config);
5226
5226
  };
5227
5227
  };
5228
5228
 
5229
- const VERSION = "769b5b0ed94219341e9be74c08e63aed";
5230
- function validate(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
5229
+ const VERSION$1 = "769b5b0ed94219341e9be74c08e63aed";
5230
+ function validate$1(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
5231
5231
  const v_error = (() => {
5232
5232
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5233
5233
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5250,20 +5250,20 @@ function validate(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
5250
5250
  })();
5251
5251
  return v_error === undefined ? null : v_error;
5252
5252
  }
5253
- const RepresentationType = 'SlackBridgePostMessageOutputRepresentation';
5254
- function keyBuilder(luvio, config) {
5255
- return keyPrefix + '::' + RepresentationType + ':' + config.channelId;
5253
+ const RepresentationType$1 = 'SlackBridgePostMessageOutputRepresentation';
5254
+ function keyBuilder$1(luvio, config) {
5255
+ return keyPrefix + '::' + RepresentationType$1 + ':' + config.channelId;
5256
5256
  }
5257
- function keyBuilderFromType(luvio, object) {
5257
+ function keyBuilderFromType$1(luvio, object) {
5258
5258
  const keyParams = {
5259
5259
  channelId: object.channelId
5260
5260
  };
5261
- return keyBuilder(luvio, keyParams);
5261
+ return keyBuilder$1(luvio, keyParams);
5262
5262
  }
5263
- function normalize(input, existing, path, luvio, store, timestamp) {
5263
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
5264
5264
  const input_postedMessage = input.postedMessage;
5265
5265
  const input_postedMessage_id = path.fullPath + '__postedMessage';
5266
- input.postedMessage = ingest$8(input_postedMessage, {
5266
+ input.postedMessage = ingest$9(input_postedMessage, {
5267
5267
  fullPath: input_postedMessage_id,
5268
5268
  propertyName: 'postedMessage',
5269
5269
  parent: {
@@ -5275,10 +5275,10 @@ function normalize(input, existing, path, luvio, store, timestamp) {
5275
5275
  }, luvio, store, timestamp);
5276
5276
  return input;
5277
5277
  }
5278
- const select$5 = function SlackBridgePostMessageOutputRepresentationSelect() {
5278
+ const select$7 = function SlackBridgePostMessageOutputRepresentationSelect() {
5279
5279
  return {
5280
5280
  kind: 'Fragment',
5281
- version: VERSION,
5281
+ version: VERSION$1,
5282
5282
  private: [],
5283
5283
  selections: [
5284
5284
  {
@@ -5288,7 +5288,7 @@ const select$5 = function SlackBridgePostMessageOutputRepresentationSelect() {
5288
5288
  {
5289
5289
  name: 'postedMessage',
5290
5290
  kind: 'Link',
5291
- fragment: select$n()
5291
+ fragment: select$p()
5292
5292
  },
5293
5293
  {
5294
5294
  name: 'timestamp',
@@ -5297,7 +5297,7 @@ const select$5 = function SlackBridgePostMessageOutputRepresentationSelect() {
5297
5297
  ]
5298
5298
  };
5299
5299
  };
5300
- function equals(existing, incoming) {
5300
+ function equals$1(existing, incoming) {
5301
5301
  const existing_channelId = existing.channelId;
5302
5302
  const incoming_channelId = incoming.channelId;
5303
5303
  if (!(existing_channelId === incoming_channelId)) {
@@ -5315,7 +5315,187 @@ function equals(existing, incoming) {
5315
5315
  }
5316
5316
  return true;
5317
5317
  }
5318
- const ingest = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5318
+ const ingest$1 = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5319
+ if (process.env.NODE_ENV !== 'production') {
5320
+ const validateError = validate$1(input);
5321
+ if (validateError !== null) {
5322
+ throw validateError;
5323
+ }
5324
+ }
5325
+ const key = keyBuilderFromType$1(luvio, input);
5326
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5327
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
5328
+ return createLink(key);
5329
+ };
5330
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
5331
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5332
+ const rootKey = keyBuilderFromType$1(luvio, input);
5333
+ rootKeySet.set(rootKey, {
5334
+ namespace: keyPrefix,
5335
+ representationName: RepresentationType$1,
5336
+ mergeable: false
5337
+ });
5338
+ getTypeCacheKeys$9(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
5339
+ }
5340
+
5341
+ function select$6(luvio, params) {
5342
+ return select$7();
5343
+ }
5344
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
5345
+ getTypeCacheKeys$1(storeKeyMap, luvio, response);
5346
+ }
5347
+ function ingestSuccess$5(luvio, resourceParams, response) {
5348
+ const { body } = response;
5349
+ const key = keyBuilderFromType$1(luvio, body);
5350
+ luvio.storeIngest(key, ingest$1, body);
5351
+ const snapshot = luvio.storeLookup({
5352
+ recordId: key,
5353
+ node: select$6(),
5354
+ variables: {},
5355
+ });
5356
+ if (process.env.NODE_ENV !== 'production') {
5357
+ if (snapshot.state !== 'Fulfilled') {
5358
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5359
+ }
5360
+ }
5361
+ deepFreeze(snapshot.data);
5362
+ return snapshot;
5363
+ }
5364
+ function createResourceRequest$5(config) {
5365
+ const headers = {};
5366
+ return {
5367
+ baseUri: '/services/data/v64.0',
5368
+ basePath: '/connect/slackbridge/conversation/messages',
5369
+ method: 'post',
5370
+ body: config.body,
5371
+ urlParams: {},
5372
+ queryParams: {},
5373
+ headers,
5374
+ priority: 'normal',
5375
+ };
5376
+ }
5377
+
5378
+ const adapterName$5 = 'postSlackConversation';
5379
+ const postSlackConversation_ConfigPropertyMetadata = [
5380
+ generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
5381
+ generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
5382
+ generateParamConfigMetadata('replyBroadcast', false, 2 /* Body */, 1 /* Boolean */),
5383
+ generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
5384
+ generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
5385
+ generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
5386
+ ];
5387
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, postSlackConversation_ConfigPropertyMetadata);
5388
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$j(postSlackConversation_ConfigPropertyMetadata);
5389
+ function typeCheckConfig$5(untrustedConfig) {
5390
+ const config = {};
5391
+ typeCheckConfig$j(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
5392
+ return config;
5393
+ }
5394
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
5395
+ if (!untrustedIsObject(untrustedConfig)) {
5396
+ return null;
5397
+ }
5398
+ if (process.env.NODE_ENV !== 'production') {
5399
+ validateConfig(untrustedConfig, configPropertyNames);
5400
+ }
5401
+ const config = typeCheckConfig$5(untrustedConfig);
5402
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5403
+ return null;
5404
+ }
5405
+ return config;
5406
+ }
5407
+ function buildNetworkSnapshot$5(luvio, config, options) {
5408
+ const resourceParams = createResourceParams$5(config);
5409
+ const request = createResourceRequest$5(resourceParams);
5410
+ return luvio.dispatchResourceRequest(request, options)
5411
+ .then((response) => {
5412
+ return luvio.handleSuccessResponse(() => {
5413
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response);
5414
+ return luvio.storeBroadcast().then(() => snapshot);
5415
+ }, () => {
5416
+ const cache = new StoreKeyMap();
5417
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
5418
+ return cache;
5419
+ });
5420
+ }, (response) => {
5421
+ deepFreeze(response);
5422
+ throw response;
5423
+ });
5424
+ }
5425
+ const postSlackConversationAdapterFactory = (luvio) => {
5426
+ return function postSlackConversation(untrustedConfig) {
5427
+ const config = validateAdapterConfig$5(untrustedConfig, postSlackConversation_ConfigPropertyNames);
5428
+ // Invalid or incomplete config
5429
+ if (config === null) {
5430
+ throw new Error('Invalid config for "postSlackConversation"');
5431
+ }
5432
+ return buildNetworkSnapshot$5(luvio, config);
5433
+ };
5434
+ };
5435
+
5436
+ const VERSION = "32716a7de3c8810288467155d92e5124";
5437
+ function validate(obj, path = 'SlackBridgeConversationMarkOutputRepresentation') {
5438
+ const v_error = (() => {
5439
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5440
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5441
+ }
5442
+ const obj_channelId = obj.channelId;
5443
+ const path_channelId = path + '.channelId';
5444
+ if (typeof obj_channelId !== 'string') {
5445
+ return new TypeError('Expected "string" but received "' + typeof obj_channelId + '" (at "' + path_channelId + '")');
5446
+ }
5447
+ const obj_messageTs = obj.messageTs;
5448
+ const path_messageTs = path + '.messageTs';
5449
+ if (typeof obj_messageTs !== 'string') {
5450
+ return new TypeError('Expected "string" but received "' + typeof obj_messageTs + '" (at "' + path_messageTs + '")');
5451
+ }
5452
+ })();
5453
+ return v_error === undefined ? null : v_error;
5454
+ }
5455
+ const RepresentationType = 'SlackBridgeConversationMarkOutputRepresentation';
5456
+ function keyBuilder(luvio, config) {
5457
+ return keyPrefix + '::' + RepresentationType + ':' + config.channelId;
5458
+ }
5459
+ function keyBuilderFromType(luvio, object) {
5460
+ const keyParams = {
5461
+ channelId: object.channelId
5462
+ };
5463
+ return keyBuilder(luvio, keyParams);
5464
+ }
5465
+ function normalize(input, existing, path, luvio, store, timestamp) {
5466
+ return input;
5467
+ }
5468
+ const select$5 = function SlackBridgeConversationMarkOutputRepresentationSelect() {
5469
+ return {
5470
+ kind: 'Fragment',
5471
+ version: VERSION,
5472
+ private: [],
5473
+ selections: [
5474
+ {
5475
+ name: 'channelId',
5476
+ kind: 'Scalar'
5477
+ },
5478
+ {
5479
+ name: 'messageTs',
5480
+ kind: 'Scalar'
5481
+ }
5482
+ ]
5483
+ };
5484
+ };
5485
+ function equals(existing, incoming) {
5486
+ const existing_channelId = existing.channelId;
5487
+ const incoming_channelId = incoming.channelId;
5488
+ if (!(existing_channelId === incoming_channelId)) {
5489
+ return false;
5490
+ }
5491
+ const existing_messageTs = existing.messageTs;
5492
+ const incoming_messageTs = incoming.messageTs;
5493
+ if (!(existing_messageTs === incoming_messageTs)) {
5494
+ return false;
5495
+ }
5496
+ return true;
5497
+ }
5498
+ const ingest = function SlackBridgeConversationMarkOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5319
5499
  if (process.env.NODE_ENV !== 'production') {
5320
5500
  const validateError = validate(input);
5321
5501
  if (validateError !== null) {
@@ -5335,7 +5515,6 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
5335
5515
  representationName: RepresentationType,
5336
5516
  mergeable: false
5337
5517
  });
5338
- getTypeCacheKeys$8(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
5339
5518
  }
5340
5519
 
5341
5520
  function select$4(luvio, params) {
@@ -5365,30 +5544,27 @@ function createResourceRequest$4(config) {
5365
5544
  const headers = {};
5366
5545
  return {
5367
5546
  baseUri: '/services/data/v64.0',
5368
- basePath: '/connect/slackbridge/conversation/messages',
5547
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/mark',
5369
5548
  method: 'post',
5370
- body: config.body,
5371
- urlParams: {},
5372
- queryParams: {},
5549
+ body: null,
5550
+ urlParams: config.urlParams,
5551
+ queryParams: config.queryParams,
5373
5552
  headers,
5374
5553
  priority: 'normal',
5375
5554
  };
5376
5555
  }
5377
5556
 
5378
- const adapterName$4 = 'postSlackConversation';
5379
- const postSlackConversation_ConfigPropertyMetadata = [
5380
- generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
5381
- generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
5382
- generateParamConfigMetadata('replyBroadcast', false, 2 /* Body */, 1 /* Boolean */),
5383
- generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
5384
- generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
5385
- generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
5557
+ const adapterName$4 = 'postSlackConversationMark';
5558
+ const postSlackConversationMark_ConfigPropertyMetadata = [
5559
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5560
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5561
+ generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
5386
5562
  ];
5387
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversation_ConfigPropertyMetadata);
5388
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$i(postSlackConversation_ConfigPropertyMetadata);
5563
+ const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversationMark_ConfigPropertyMetadata);
5564
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$j(postSlackConversationMark_ConfigPropertyMetadata);
5389
5565
  function typeCheckConfig$4(untrustedConfig) {
5390
5566
  const config = {};
5391
- typeCheckConfig$i(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
5567
+ typeCheckConfig$j(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
5392
5568
  return config;
5393
5569
  }
5394
5570
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -5422,27 +5598,27 @@ function buildNetworkSnapshot$4(luvio, config, options) {
5422
5598
  throw response;
5423
5599
  });
5424
5600
  }
5425
- const postSlackConversationAdapterFactory = (luvio) => {
5426
- return function postSlackConversation(untrustedConfig) {
5427
- const config = validateAdapterConfig$4(untrustedConfig, postSlackConversation_ConfigPropertyNames);
5601
+ const postSlackConversationMarkAdapterFactory = (luvio) => {
5602
+ return function postSlackConversationMark(untrustedConfig) {
5603
+ const config = validateAdapterConfig$4(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
5428
5604
  // Invalid or incomplete config
5429
5605
  if (config === null) {
5430
- throw new Error('Invalid config for "postSlackConversation"');
5606
+ throw new Error('Invalid config for "postSlackConversationMark"');
5431
5607
  }
5432
5608
  return buildNetworkSnapshot$4(luvio, config);
5433
5609
  };
5434
5610
  };
5435
5611
 
5436
5612
  function select$3(luvio, params) {
5437
- return select$i();
5613
+ return select$k();
5438
5614
  }
5439
5615
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
5440
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
5616
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
5441
5617
  }
5442
5618
  function ingestSuccess$3(luvio, resourceParams, response) {
5443
5619
  const { body } = response;
5444
- const key = keyBuilderFromType$2(luvio, body);
5445
- luvio.storeIngest(key, ingest$5, body);
5620
+ const key = keyBuilderFromType$3(luvio, body);
5621
+ luvio.storeIngest(key, ingest$6, body);
5446
5622
  const snapshot = luvio.storeLookup({
5447
5623
  recordId: key,
5448
5624
  node: select$3(),
@@ -5477,10 +5653,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
5477
5653
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
5478
5654
  ];
5479
5655
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, postSlackConversationMembers_ConfigPropertyMetadata);
5480
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$i(postSlackConversationMembers_ConfigPropertyMetadata);
5656
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$j(postSlackConversationMembers_ConfigPropertyMetadata);
5481
5657
  function typeCheckConfig$3(untrustedConfig) {
5482
5658
  const config = {};
5483
- typeCheckConfig$i(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5659
+ typeCheckConfig$j(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5484
5660
  return config;
5485
5661
  }
5486
5662
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -5526,15 +5702,15 @@ const postSlackConversationMembersAdapterFactory = (luvio) => {
5526
5702
  };
5527
5703
 
5528
5704
  function select$2(luvio, params) {
5529
- return select$o();
5705
+ return select$q();
5530
5706
  }
5531
5707
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
5532
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
5708
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
5533
5709
  }
5534
5710
  function ingestSuccess$2(luvio, resourceParams, response) {
5535
5711
  const { body } = response;
5536
- const key = keyBuilderFromType$3(luvio, body);
5537
- luvio.storeIngest(key, ingest$9, body);
5712
+ const key = keyBuilderFromType$4(luvio, body);
5713
+ luvio.storeIngest(key, ingest$a, body);
5538
5714
  const snapshot = luvio.storeLookup({
5539
5715
  recordId: key,
5540
5716
  node: select$2(),
@@ -5574,10 +5750,10 @@ const postSlackFile_ConfigPropertyMetadata = [
5574
5750
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
5575
5751
  ];
5576
5752
  const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postSlackFile_ConfigPropertyMetadata);
5577
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$i(postSlackFile_ConfigPropertyMetadata);
5753
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$j(postSlackFile_ConfigPropertyMetadata);
5578
5754
  function typeCheckConfig$2(untrustedConfig) {
5579
5755
  const config = {};
5580
- typeCheckConfig$i(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
5756
+ typeCheckConfig$j(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
5581
5757
  return config;
5582
5758
  }
5583
5759
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -5623,15 +5799,15 @@ const postSlackFileAdapterFactory = (luvio) => {
5623
5799
  };
5624
5800
 
5625
5801
  function select$1(luvio, params) {
5626
- return select$v();
5802
+ return select$x();
5627
5803
  }
5628
5804
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
5629
- getTypeCacheKeys$c(storeKeyMap, luvio, response);
5805
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
5630
5806
  }
5631
5807
  function ingestSuccess$1(luvio, resourceParams, response) {
5632
5808
  const { body } = response;
5633
- const key = keyBuilderFromType$6(luvio, body);
5634
- luvio.storeIngest(key, ingest$c, body);
5809
+ const key = keyBuilderFromType$7(luvio, body);
5810
+ luvio.storeIngest(key, ingest$d, body);
5635
5811
  const snapshot = luvio.storeLookup({
5636
5812
  recordId: key,
5637
5813
  node: select$1(),
@@ -5667,10 +5843,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
5667
5843
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
5668
5844
  ];
5669
5845
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postSlackMessageReactions_ConfigPropertyMetadata);
5670
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$i(postSlackMessageReactions_ConfigPropertyMetadata);
5846
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$j(postSlackMessageReactions_ConfigPropertyMetadata);
5671
5847
  function typeCheckConfig$1(untrustedConfig) {
5672
5848
  const config = {};
5673
- typeCheckConfig$i(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
5849
+ typeCheckConfig$j(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
5674
5850
  return config;
5675
5851
  }
5676
5852
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -5716,15 +5892,15 @@ const postSlackMessageReactionsAdapterFactory = (luvio) => {
5716
5892
  };
5717
5893
 
5718
5894
  function select(luvio, params) {
5719
- return select$d();
5895
+ return select$f();
5720
5896
  }
5721
5897
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
5722
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
5898
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
5723
5899
  }
5724
5900
  function ingestSuccess(luvio, resourceParams, response) {
5725
5901
  const { body } = response;
5726
- const key = keyBuilderFromType$1(luvio, body);
5727
- luvio.storeIngest(key, ingest$3, body);
5902
+ const key = keyBuilderFromType$2(luvio, body);
5903
+ luvio.storeIngest(key, ingest$4, body);
5728
5904
  const snapshot = luvio.storeLookup({
5729
5905
  recordId: key,
5730
5906
  node: select(),
@@ -5758,10 +5934,10 @@ const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
5758
5934
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
5759
5935
  ];
5760
5936
  const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postSlackRecordChannelInfos_ConfigPropertyMetadata);
5761
- const createResourceParams = /*#__PURE__*/ createResourceParams$i(postSlackRecordChannelInfos_ConfigPropertyMetadata);
5937
+ const createResourceParams = /*#__PURE__*/ createResourceParams$j(postSlackRecordChannelInfos_ConfigPropertyMetadata);
5762
5938
  function typeCheckConfig(untrustedConfig) {
5763
5939
  const config = {};
5764
- typeCheckConfig$i(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
5940
+ typeCheckConfig$j(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
5765
5941
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
5766
5942
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
5767
5943
  const untrustedConfig_conversationInfo_object = {};
@@ -5836,6 +6012,7 @@ let getSlackUser;
5836
6012
  let getSlackUserNotifyChange;
5837
6013
  let patchSlackMessage;
5838
6014
  let postSlackConversation;
6015
+ let postSlackConversationMark;
5839
6016
  let postSlackConversationMembers;
5840
6017
  let postSlackFile;
5841
6018
  let postSlackMessageReactions;
@@ -5885,9 +6062,9 @@ function bindExportsTo(luvio) {
5885
6062
  return (config) => adapter(config).then((snapshot) => snapshot.data);
5886
6063
  }
5887
6064
  return {
5888
- deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$h, deleteSlackConversationMemberAdapterFactory),
5889
- deleteSlackMessage: createLDSAdapter(luvio, adapterName$g, deleteSlackMessageAdapterFactory),
5890
- deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$f, deleteSlackMessageReactionsAdapterFactory),
6065
+ deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$i, deleteSlackConversationMemberAdapterFactory),
6066
+ deleteSlackMessage: createLDSAdapter(luvio, adapterName$h, deleteSlackMessageAdapterFactory),
6067
+ deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$g, deleteSlackMessageReactionsAdapterFactory),
5891
6068
  getSlackConversation: createWireAdapterConstructor(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
5892
6069
  getSlackConversationMember: createWireAdapterConstructor(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
5893
6070
  getSlackConversationMemberNotifyChange: createLDSAdapter(luvio, 'getSlackConversationMemberNotifyChange', notifyChangeFactory$4),
@@ -5904,6 +6081,7 @@ function bindExportsTo(luvio) {
5904
6081
  getSlackUserNotifyChange: createLDSAdapter(luvio, 'getSlackUserNotifyChange', notifyChangeFactory),
5905
6082
  patchSlackMessage: unwrapSnapshotData(patchSlackMessageAdapterFactory),
5906
6083
  postSlackConversation: unwrapSnapshotData(postSlackConversationAdapterFactory),
6084
+ postSlackConversationMark: unwrapSnapshotData(postSlackConversationMarkAdapterFactory),
5907
6085
  postSlackConversationMembers: unwrapSnapshotData(postSlackConversationMembersAdapterFactory),
5908
6086
  postSlackFile: unwrapSnapshotData(postSlackFileAdapterFactory),
5909
6087
  postSlackMessageReactions: unwrapSnapshotData(postSlackMessageReactionsAdapterFactory),
@@ -5942,6 +6120,7 @@ withDefaultLuvio((luvio) => {
5942
6120
  getSlackUserNotifyChange,
5943
6121
  patchSlackMessage,
5944
6122
  postSlackConversation,
6123
+ postSlackConversationMark,
5945
6124
  postSlackConversationMembers,
5946
6125
  postSlackFile,
5947
6126
  postSlackMessageReactions,
@@ -5958,5 +6137,5 @@ withDefaultLuvio((luvio) => {
5958
6137
  } = bindExportsTo(luvio));
5959
6138
  });
5960
6139
 
5961
- export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getSlackConversation, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_imperative, getSlackCustomEmoji, getSlackCustomEmoji_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
5962
- // version: 1.342.0-f478af8b93
6140
+ export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getSlackConversation, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_imperative, getSlackCustomEmoji, getSlackCustomEmoji_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
6141
+ // version: 1.344.0-455da7ef74