@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev10 → 1.332.0-dev12

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$j, typeCheckConfig as typeCheckConfig$j, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$a } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, StoreKeyMap, deepFreeze, createResourceParams as createResourceParams$k, typeCheckConfig as typeCheckConfig$k, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$a } 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$k = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
- function validate$k(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
125
+ const VERSION$l = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
+ function validate$l(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$k(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
141
141
  })();
142
142
  return v_error === undefined ? null : v_error;
143
143
  }
144
- const RepresentationType$f = 'SlackBridgeConversationMemberOutputRepresentation';
145
- function keyBuilder$v(luvio, config) {
146
- return keyPrefix + '::' + RepresentationType$f + ':' + config.channelId;
144
+ const RepresentationType$g = 'SlackBridgeConversationMemberOutputRepresentation';
145
+ function keyBuilder$w(luvio, config) {
146
+ return keyPrefix + '::' + RepresentationType$g + ':' + 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$v(luvio, keyParams);
152
+ return keyBuilder$w(luvio, keyParams);
153
153
  }
154
- function normalize$f(input, existing, path, luvio, store, timestamp) {
154
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
155
155
  return input;
156
156
  }
157
- const select$A = function SlackBridgeConversationMemberOutputRepresentationSelect() {
157
+ const select$C = function SlackBridgeConversationMemberOutputRepresentationSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
- version: VERSION$k,
160
+ version: VERSION$l,
161
161
  private: [],
162
162
  selections: [
163
163
  {
@@ -171,7 +171,7 @@ const select$A = function SlackBridgeConversationMemberOutputRepresentationSelec
171
171
  ]
172
172
  };
173
173
  };
174
- function equals$k(existing, incoming) {
174
+ function equals$l(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$k(existing, incoming) {
184
184
  }
185
185
  return true;
186
186
  }
187
- const ingest$f = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
187
+ const ingest$g = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
188
188
  if (process.env.NODE_ENV !== 'production') {
189
- const validateError = validate$k(input);
189
+ const validateError = validate$l(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$f, "SlackBridge", VERSION$k, RepresentationType$f, equals$k);
196
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$l, RepresentationType$g, equals$l);
197
197
  return createLink(key);
198
198
  };
199
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
199
+ function getTypeCacheKeys$g(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$f,
204
+ representationName: RepresentationType$g,
205
205
  mergeable: false
206
206
  });
207
207
  }
208
208
 
209
- function keyBuilder$u(luvio, params) {
210
- return keyBuilder$v(luvio, {
209
+ function keyBuilder$v(luvio, params) {
210
+ return keyBuilder$w(luvio, {
211
211
  channelId: params.urlParams.channelId
212
212
  });
213
213
  }
214
- function getResponseCacheKeys$i(cacheKeyMap, luvio, resourceParams) {
215
- const key = keyBuilder$u(luvio, resourceParams);
214
+ function getResponseCacheKeys$j(cacheKeyMap, luvio, resourceParams) {
215
+ const key = keyBuilder$v(luvio, resourceParams);
216
216
  cacheKeyMap.set(key, {
217
217
  namespace: keyPrefix,
218
- representationName: RepresentationType$f,
218
+ representationName: RepresentationType$g,
219
219
  mergeable: false
220
220
  });
221
221
  }
222
222
  function evictSuccess$2(luvio, resourceParams) {
223
- const key = keyBuilder$u(luvio, resourceParams);
223
+ const key = keyBuilder$v(luvio, resourceParams);
224
224
  luvio.storeEvict(key);
225
225
  }
226
- function createResourceRequest$i(config) {
226
+ function createResourceRequest$j(config) {
227
227
  const headers = {};
228
228
  return {
229
229
  baseUri: '/services/data/v63.0',
@@ -237,35 +237,35 @@ function createResourceRequest$i(config) {
237
237
  };
238
238
  }
239
239
 
240
- const adapterName$i = 'deleteSlackConversationMember';
240
+ const adapterName$j = '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$i, deleteSlackConversationMember_ConfigPropertyMetadata);
247
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$j(deleteSlackConversationMember_ConfigPropertyMetadata);
248
- function typeCheckConfig$i(untrustedConfig) {
246
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, deleteSlackConversationMember_ConfigPropertyMetadata);
247
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$k(deleteSlackConversationMember_ConfigPropertyMetadata);
248
+ function typeCheckConfig$j(untrustedConfig) {
249
249
  const config = {};
250
- typeCheckConfig$j(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
250
+ typeCheckConfig$k(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
251
251
  return config;
252
252
  }
253
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
253
+ function validateAdapterConfig$j(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$i(untrustedConfig);
260
+ const config = typeCheckConfig$j(untrustedConfig);
261
261
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
262
262
  return null;
263
263
  }
264
264
  return config;
265
265
  }
266
- function buildNetworkSnapshot$i(luvio, config, options) {
267
- const resourceParams = createResourceParams$i(config);
268
- const request = createResourceRequest$i(resourceParams);
266
+ function buildNetworkSnapshot$j(luvio, config, options) {
267
+ const resourceParams = createResourceParams$j(config);
268
+ const request = createResourceRequest$j(resourceParams);
269
269
  return luvio.dispatchResourceRequest(request, options)
270
270
  .then(() => {
271
271
  return luvio.handleSuccessResponse(() => {
@@ -273,7 +273,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
273
273
  return luvio.storeBroadcast();
274
274
  }, () => {
275
275
  const cache = new StoreKeyMap();
276
- getResponseCacheKeys$i(cache, luvio, resourceParams);
276
+ getResponseCacheKeys$j(cache, luvio, resourceParams);
277
277
  return cache;
278
278
  });
279
279
  }, (response) => {
@@ -283,17 +283,17 @@ function buildNetworkSnapshot$i(luvio, config, options) {
283
283
  }
284
284
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
285
285
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
286
- const config = validateAdapterConfig$i(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
286
+ const config = validateAdapterConfig$j(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
287
287
  // Invalid or incomplete config
288
288
  if (config === null) {
289
- throw new Error(`Invalid config for "${adapterName$i}"`);
289
+ throw new Error(`Invalid config for "${adapterName$j}"`);
290
290
  }
291
- return buildNetworkSnapshot$i(luvio, config);
291
+ return buildNetworkSnapshot$j(luvio, config);
292
292
  };
293
293
  };
294
294
 
295
- const VERSION$j = "605674abcbc0dad7e2707e4e00e8d4cd";
296
- function validate$j(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
295
+ const VERSION$k = "605674abcbc0dad7e2707e4e00e8d4cd";
296
+ function validate$k(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$j(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
316
316
  })();
317
317
  return v_error === undefined ? null : v_error;
318
318
  }
319
- const RepresentationType$e = 'SlackBridgeMessageFragmentOutputRepresentation';
320
- function keyBuilder$t(luvio, config) {
321
- return keyPrefix + '::' + RepresentationType$e + ':' + config.channelId;
319
+ const RepresentationType$f = 'SlackBridgeMessageFragmentOutputRepresentation';
320
+ function keyBuilder$u(luvio, config) {
321
+ return keyPrefix + '::' + RepresentationType$f + ':' + 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$t(luvio, keyParams);
327
+ return keyBuilder$u(luvio, keyParams);
328
328
  }
329
- function normalize$e(input, existing, path, luvio, store, timestamp) {
329
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
330
330
  return input;
331
331
  }
332
- const select$z = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
332
+ const select$B = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
333
333
  return {
334
334
  kind: 'Fragment',
335
- version: VERSION$j,
335
+ version: VERSION$k,
336
336
  private: [],
337
337
  selections: [
338
338
  {
@@ -350,7 +350,7 @@ const select$z = function SlackBridgeMessageFragmentOutputRepresentationSelect()
350
350
  ]
351
351
  };
352
352
  };
353
- function equals$j(existing, incoming) {
353
+ function equals$k(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$j(existing, incoming) {
368
368
  }
369
369
  return true;
370
370
  }
371
- const ingest$e = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
371
+ const ingest$f = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
372
372
  if (process.env.NODE_ENV !== 'production') {
373
- const validateError = validate$j(input);
373
+ const validateError = validate$k(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$e, "SlackBridge", VERSION$j, RepresentationType$e, equals$j);
380
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$k, RepresentationType$f, equals$k);
381
381
  return createLink(key);
382
382
  };
383
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
383
+ function getTypeCacheKeys$f(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$e,
388
+ representationName: RepresentationType$f,
389
389
  mergeable: false
390
390
  });
391
391
  }
392
392
 
393
- function keyBuilder$s(luvio, params) {
394
- return keyBuilder$t(luvio, {
393
+ function keyBuilder$t(luvio, params) {
394
+ return keyBuilder$u(luvio, {
395
395
  channelId: params.urlParams.channelId
396
396
  });
397
397
  }
398
- function getResponseCacheKeys$h(cacheKeyMap, luvio, resourceParams) {
399
- const key = keyBuilder$s(luvio, resourceParams);
398
+ function getResponseCacheKeys$i(cacheKeyMap, luvio, resourceParams) {
399
+ const key = keyBuilder$t(luvio, resourceParams);
400
400
  cacheKeyMap.set(key, {
401
401
  namespace: keyPrefix,
402
- representationName: RepresentationType$e,
402
+ representationName: RepresentationType$f,
403
403
  mergeable: false
404
404
  });
405
405
  }
406
406
  function evictSuccess$1(luvio, resourceParams) {
407
- const key = keyBuilder$s(luvio, resourceParams);
407
+ const key = keyBuilder$t(luvio, resourceParams);
408
408
  luvio.storeEvict(key);
409
409
  }
410
- function createResourceRequest$h(config) {
410
+ function createResourceRequest$i(config) {
411
411
  const headers = {};
412
412
  return {
413
413
  baseUri: '/services/data/v63.0',
@@ -421,35 +421,35 @@ function createResourceRequest$h(config) {
421
421
  };
422
422
  }
423
423
 
424
- const adapterName$h = 'deleteSlackMessage';
424
+ const adapterName$i = '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$h, deleteSlackMessage_ConfigPropertyMetadata);
431
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$j(deleteSlackMessage_ConfigPropertyMetadata);
432
- function typeCheckConfig$h(untrustedConfig) {
430
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, deleteSlackMessage_ConfigPropertyMetadata);
431
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$k(deleteSlackMessage_ConfigPropertyMetadata);
432
+ function typeCheckConfig$i(untrustedConfig) {
433
433
  const config = {};
434
- typeCheckConfig$j(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
434
+ typeCheckConfig$k(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
435
435
  return config;
436
436
  }
437
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
437
+ function validateAdapterConfig$i(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$h(untrustedConfig);
444
+ const config = typeCheckConfig$i(untrustedConfig);
445
445
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
446
446
  return null;
447
447
  }
448
448
  return config;
449
449
  }
450
- function buildNetworkSnapshot$h(luvio, config, options) {
451
- const resourceParams = createResourceParams$h(config);
452
- const request = createResourceRequest$h(resourceParams);
450
+ function buildNetworkSnapshot$i(luvio, config, options) {
451
+ const resourceParams = createResourceParams$i(config);
452
+ const request = createResourceRequest$i(resourceParams);
453
453
  return luvio.dispatchResourceRequest(request, options)
454
454
  .then(() => {
455
455
  return luvio.handleSuccessResponse(() => {
@@ -457,7 +457,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
457
457
  return luvio.storeBroadcast();
458
458
  }, () => {
459
459
  const cache = new StoreKeyMap();
460
- getResponseCacheKeys$h(cache, luvio, resourceParams);
460
+ getResponseCacheKeys$i(cache, luvio, resourceParams);
461
461
  return cache;
462
462
  });
463
463
  }, (response) => {
@@ -467,17 +467,17 @@ function buildNetworkSnapshot$h(luvio, config, options) {
467
467
  }
468
468
  const deleteSlackMessageAdapterFactory = (luvio) => {
469
469
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
470
- const config = validateAdapterConfig$h(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
470
+ const config = validateAdapterConfig$i(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
471
471
  // Invalid or incomplete config
472
472
  if (config === null) {
473
- throw new Error(`Invalid config for "${adapterName$h}"`);
473
+ throw new Error(`Invalid config for "${adapterName$i}"`);
474
474
  }
475
- return buildNetworkSnapshot$h(luvio, config);
475
+ return buildNetworkSnapshot$i(luvio, config);
476
476
  };
477
477
  };
478
478
 
479
- const VERSION$i = "7820a930852347bb0506c08d8b528281";
480
- function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
479
+ const VERSION$j = "7820a930852347bb0506c08d8b528281";
480
+ function validate$j(obj, path = 'SlackBridgeReactionOutputRepresentation') {
481
481
  const v_error = (() => {
482
482
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
483
483
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -554,10 +554,10 @@ function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
554
554
  })();
555
555
  return v_error === undefined ? null : v_error;
556
556
  }
557
- const select$y = function SlackBridgeReactionOutputRepresentationSelect() {
557
+ const select$A = function SlackBridgeReactionOutputRepresentationSelect() {
558
558
  return {
559
559
  kind: 'Fragment',
560
- version: VERSION$i,
560
+ version: VERSION$j,
561
561
  private: [],
562
562
  selections: [
563
563
  {
@@ -580,7 +580,7 @@ const select$y = function SlackBridgeReactionOutputRepresentationSelect() {
580
580
  ]
581
581
  };
582
582
  };
583
- function equals$i(existing, incoming) {
583
+ function equals$j(existing, incoming) {
584
584
  const existing_name = existing.name;
585
585
  const incoming_name = incoming.name;
586
586
  if (!(existing_name === incoming_name)) {
@@ -609,8 +609,8 @@ function equals$i(existing, incoming) {
609
609
  return true;
610
610
  }
611
611
 
612
- const VERSION$h = "804aa6216a7579adeeae856f76b688db";
613
- function validate$h(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
612
+ const VERSION$i = "804aa6216a7579adeeae856f76b688db";
613
+ function validate$i(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
614
614
  const v_error = (() => {
615
615
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
616
616
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -633,7 +633,7 @@ function validate$h(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
633
633
  for (let i = 0; i < obj_reactions.length; i++) {
634
634
  const obj_reactions_item = obj_reactions[i];
635
635
  const path_reactions_item = path_reactions + '[' + i + ']';
636
- const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
636
+ const referencepath_reactions_itemValidationError = validate$j(obj_reactions_item, path_reactions_item);
637
637
  if (referencepath_reactions_itemValidationError !== null) {
638
638
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
639
639
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -648,24 +648,24 @@ function validate$h(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
648
648
  })();
649
649
  return v_error === undefined ? null : v_error;
650
650
  }
651
- const RepresentationType$d = 'SlackBridgeReactionsOutputRepresentation';
652
- function keyBuilder$r(luvio, config) {
653
- return keyPrefix + '::' + RepresentationType$d + ':' + config.channelId;
651
+ const RepresentationType$e = 'SlackBridgeReactionsOutputRepresentation';
652
+ function keyBuilder$s(luvio, config) {
653
+ return keyPrefix + '::' + RepresentationType$e + ':' + config.channelId;
654
654
  }
655
- function keyBuilderFromType$6(luvio, object) {
655
+ function keyBuilderFromType$7(luvio, object) {
656
656
  const keyParams = {
657
657
  channelId: object.channelId
658
658
  };
659
- return keyBuilder$r(luvio, keyParams);
659
+ return keyBuilder$s(luvio, keyParams);
660
660
  }
661
- function normalize$d(input, existing, path, luvio, store, timestamp) {
661
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
662
662
  return input;
663
663
  }
664
- const select$x = function SlackBridgeReactionsOutputRepresentationSelect() {
665
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$y();
664
+ const select$z = function SlackBridgeReactionsOutputRepresentationSelect() {
665
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$A();
666
666
  return {
667
667
  kind: 'Fragment',
668
- version: VERSION$h,
668
+ version: VERSION$i,
669
669
  private: [],
670
670
  selections: [
671
671
  {
@@ -689,7 +689,7 @@ const select$x = function SlackBridgeReactionsOutputRepresentationSelect() {
689
689
  ]
690
690
  };
691
691
  };
692
- function equals$h(existing, incoming) {
692
+ function equals$i(existing, incoming) {
693
693
  const existing_channelId = existing.channelId;
694
694
  const incoming_channelId = incoming.channelId;
695
695
  if (!(existing_channelId === incoming_channelId)) {
@@ -708,7 +708,7 @@ function equals$h(existing, incoming) {
708
708
  const existing_reactions = existing.reactions;
709
709
  const incoming_reactions = incoming.reactions;
710
710
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
711
- if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
711
+ if (!(equals$j(existing_reactions_item, incoming_reactions_item))) {
712
712
  return false;
713
713
  }
714
714
  });
@@ -717,46 +717,46 @@ function equals$h(existing, incoming) {
717
717
  }
718
718
  return true;
719
719
  }
720
- const ingest$d = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
720
+ const ingest$e = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
721
721
  if (process.env.NODE_ENV !== 'production') {
722
- const validateError = validate$h(input);
722
+ const validateError = validate$i(input);
723
723
  if (validateError !== null) {
724
724
  throw validateError;
725
725
  }
726
726
  }
727
- const key = keyBuilderFromType$6(luvio, input);
727
+ const key = keyBuilderFromType$7(luvio, input);
728
728
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
729
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$h, RepresentationType$d, equals$h);
729
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$i, RepresentationType$e, equals$i);
730
730
  return createLink(key);
731
731
  };
732
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
732
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
733
733
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
734
- const rootKey = keyBuilderFromType$6(luvio, input);
734
+ const rootKey = keyBuilderFromType$7(luvio, input);
735
735
  rootKeySet.set(rootKey, {
736
736
  namespace: keyPrefix,
737
- representationName: RepresentationType$d,
737
+ representationName: RepresentationType$e,
738
738
  mergeable: false
739
739
  });
740
740
  }
741
741
 
742
- function keyBuilder$q(luvio, params) {
743
- return keyBuilder$r(luvio, {
742
+ function keyBuilder$r(luvio, params) {
743
+ return keyBuilder$s(luvio, {
744
744
  channelId: params.urlParams.channelId
745
745
  });
746
746
  }
747
- function getResponseCacheKeys$g(cacheKeyMap, luvio, resourceParams) {
748
- const key = keyBuilder$q(luvio, resourceParams);
747
+ function getResponseCacheKeys$h(cacheKeyMap, luvio, resourceParams) {
748
+ const key = keyBuilder$r(luvio, resourceParams);
749
749
  cacheKeyMap.set(key, {
750
750
  namespace: keyPrefix,
751
- representationName: RepresentationType$d,
751
+ representationName: RepresentationType$e,
752
752
  mergeable: false
753
753
  });
754
754
  }
755
755
  function evictSuccess(luvio, resourceParams) {
756
- const key = keyBuilder$q(luvio, resourceParams);
756
+ const key = keyBuilder$r(luvio, resourceParams);
757
757
  luvio.storeEvict(key);
758
758
  }
759
- function createResourceRequest$g(config) {
759
+ function createResourceRequest$h(config) {
760
760
  const headers = {};
761
761
  return {
762
762
  baseUri: '/services/data/v63.0',
@@ -770,36 +770,36 @@ function createResourceRequest$g(config) {
770
770
  };
771
771
  }
772
772
 
773
- const adapterName$g = 'deleteSlackMessageReactions';
773
+ const adapterName$h = 'deleteSlackMessageReactions';
774
774
  const deleteSlackMessageReactions_ConfigPropertyMetadata = [
775
775
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
776
776
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
777
777
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
778
778
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
779
779
  ];
780
- const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, deleteSlackMessageReactions_ConfigPropertyMetadata);
781
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$j(deleteSlackMessageReactions_ConfigPropertyMetadata);
782
- function typeCheckConfig$g(untrustedConfig) {
780
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, deleteSlackMessageReactions_ConfigPropertyMetadata);
781
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$k(deleteSlackMessageReactions_ConfigPropertyMetadata);
782
+ function typeCheckConfig$h(untrustedConfig) {
783
783
  const config = {};
784
- typeCheckConfig$j(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
784
+ typeCheckConfig$k(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
785
785
  return config;
786
786
  }
787
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
787
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
788
788
  if (!untrustedIsObject(untrustedConfig)) {
789
789
  return null;
790
790
  }
791
791
  if (process.env.NODE_ENV !== 'production') {
792
792
  validateConfig(untrustedConfig, configPropertyNames);
793
793
  }
794
- const config = typeCheckConfig$g(untrustedConfig);
794
+ const config = typeCheckConfig$h(untrustedConfig);
795
795
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
796
796
  return null;
797
797
  }
798
798
  return config;
799
799
  }
800
- function buildNetworkSnapshot$g(luvio, config, options) {
801
- const resourceParams = createResourceParams$g(config);
802
- const request = createResourceRequest$g(resourceParams);
800
+ function buildNetworkSnapshot$h(luvio, config, options) {
801
+ const resourceParams = createResourceParams$h(config);
802
+ const request = createResourceRequest$h(resourceParams);
803
803
  return luvio.dispatchResourceRequest(request, options)
804
804
  .then(() => {
805
805
  return luvio.handleSuccessResponse(() => {
@@ -807,7 +807,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
807
807
  return luvio.storeBroadcast();
808
808
  }, () => {
809
809
  const cache = new StoreKeyMap();
810
- getResponseCacheKeys$g(cache, luvio, resourceParams);
810
+ getResponseCacheKeys$h(cache, luvio, resourceParams);
811
811
  return cache;
812
812
  });
813
813
  }, (response) => {
@@ -817,17 +817,17 @@ function buildNetworkSnapshot$g(luvio, config, options) {
817
817
  }
818
818
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
819
819
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
820
- const config = validateAdapterConfig$g(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
820
+ const config = validateAdapterConfig$h(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
821
821
  // Invalid or incomplete config
822
822
  if (config === null) {
823
- throw new Error(`Invalid config for "${adapterName$g}"`);
823
+ throw new Error(`Invalid config for "${adapterName$h}"`);
824
824
  }
825
- return buildNetworkSnapshot$g(luvio, config);
825
+ return buildNetworkSnapshot$h(luvio, config);
826
826
  };
827
827
  };
828
828
 
829
- const VERSION$g = "20bf7311db81b4fc5559874e8f8c7502";
830
- function validate$g(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
829
+ const VERSION$h = "20bf7311db81b4fc5559874e8f8c7502";
830
+ function validate$h(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
831
831
  const v_error = (() => {
832
832
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
833
833
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -944,10 +944,10 @@ function validate$g(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
944
944
  })();
945
945
  return v_error === undefined ? null : v_error;
946
946
  }
947
- const select$w = function SlackBridgeEmojiOutputRepresentationSelect() {
947
+ const select$y = function SlackBridgeEmojiOutputRepresentationSelect() {
948
948
  return {
949
949
  kind: 'Fragment',
950
- version: VERSION$g,
950
+ version: VERSION$h,
951
951
  private: [],
952
952
  selections: [
953
953
  {
@@ -973,7 +973,7 @@ const select$w = function SlackBridgeEmojiOutputRepresentationSelect() {
973
973
  ]
974
974
  };
975
975
  };
976
- function equals$g(existing, incoming) {
976
+ function equals$h(existing, incoming) {
977
977
  const existing_name = existing.name;
978
978
  const incoming_name = incoming.name;
979
979
  if (!(existing_name === incoming_name)) {
@@ -1003,8 +1003,8 @@ function equals$g(existing, incoming) {
1003
1003
  }
1004
1004
 
1005
1005
  const TTL = 600000;
1006
- const VERSION$f = "c15d4769a77b0ce9f7c5d06c3210c0d8";
1007
- function validate$f(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
1006
+ const VERSION$g = "c15d4769a77b0ce9f7c5d06c3210c0d8";
1007
+ function validate$g(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
1008
1008
  const v_error = (() => {
1009
1009
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1010
1010
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1288,7 +1288,7 @@ function validate$f(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
1288
1288
  const path_statusEmoji = path + '.statusEmoji';
1289
1289
  let obj_statusEmoji_union0 = null;
1290
1290
  const obj_statusEmoji_union0_error = (() => {
1291
- const referencepath_statusEmojiValidationError = validate$g(obj_statusEmoji, path_statusEmoji);
1291
+ const referencepath_statusEmojiValidationError = validate$h(obj_statusEmoji, path_statusEmoji);
1292
1292
  if (referencepath_statusEmojiValidationError !== null) {
1293
1293
  let message = 'Object doesn\'t match SlackBridgeEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
1294
1294
  message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1373,25 +1373,25 @@ function validate$f(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
1373
1373
  })();
1374
1374
  return v_error === undefined ? null : v_error;
1375
1375
  }
1376
- const RepresentationType$c = 'SlackBridgeUserInfoOutputRepresentation';
1377
- function keyBuilder$p(luvio, config) {
1378
- return keyPrefix + '::' + RepresentationType$c + ':' + config.teamId + ':' + config.slackUserId;
1376
+ const RepresentationType$d = 'SlackBridgeUserInfoOutputRepresentation';
1377
+ function keyBuilder$q(luvio, config) {
1378
+ return keyPrefix + '::' + RepresentationType$d + ':' + config.teamId + ':' + config.slackUserId;
1379
1379
  }
1380
- function keyBuilderFromType$5(luvio, object) {
1380
+ function keyBuilderFromType$6(luvio, object) {
1381
1381
  const keyParams = {
1382
1382
  teamId: object.teamId,
1383
1383
  slackUserId: object.slackUserId
1384
1384
  };
1385
- return keyBuilder$p(luvio, keyParams);
1385
+ return keyBuilder$q(luvio, keyParams);
1386
1386
  }
1387
- function normalize$c(input, existing, path, luvio, store, timestamp) {
1387
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
1388
1388
  return input;
1389
1389
  }
1390
- const select$v = function SlackBridgeUserInfoOutputRepresentationSelect() {
1391
- const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$w();
1390
+ const select$x = function SlackBridgeUserInfoOutputRepresentationSelect() {
1391
+ const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$y();
1392
1392
  return {
1393
1393
  kind: 'Fragment',
1394
- version: VERSION$f,
1394
+ version: VERSION$g,
1395
1395
  private: [],
1396
1396
  selections: [
1397
1397
  {
@@ -1467,7 +1467,7 @@ const select$v = function SlackBridgeUserInfoOutputRepresentationSelect() {
1467
1467
  ]
1468
1468
  };
1469
1469
  };
1470
- function equals$f(existing, incoming) {
1470
+ function equals$g(existing, incoming) {
1471
1471
  const existing_bot = existing.bot;
1472
1472
  const incoming_bot = incoming.bot;
1473
1473
  if (!(existing_bot === incoming_bot)) {
@@ -1543,7 +1543,7 @@ function equals$f(existing, incoming) {
1543
1543
  if (!(existing_statusEmoji === incoming_statusEmoji
1544
1544
  || (existing_statusEmoji != null &&
1545
1545
  incoming_statusEmoji != null &&
1546
- equals$g(existing_statusEmoji, incoming_statusEmoji)))) {
1546
+ equals$h(existing_statusEmoji, incoming_statusEmoji)))) {
1547
1547
  return false;
1548
1548
  }
1549
1549
  const existing_statusMessage = existing.statusMessage;
@@ -1558,30 +1558,30 @@ function equals$f(existing, incoming) {
1558
1558
  }
1559
1559
  return true;
1560
1560
  }
1561
- const ingest$c = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1561
+ const ingest$d = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1562
1562
  if (process.env.NODE_ENV !== 'production') {
1563
- const validateError = validate$f(input);
1563
+ const validateError = validate$g(input);
1564
1564
  if (validateError !== null) {
1565
1565
  throw validateError;
1566
1566
  }
1567
1567
  }
1568
- const key = keyBuilderFromType$5(luvio, input);
1568
+ const key = keyBuilderFromType$6(luvio, input);
1569
1569
  const ttlToUse = TTL;
1570
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$f, RepresentationType$c, equals$f);
1570
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$g, RepresentationType$d, equals$g);
1571
1571
  return createLink(key);
1572
1572
  };
1573
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
1573
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
1574
1574
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1575
- const rootKey = keyBuilderFromType$5(luvio, input);
1575
+ const rootKey = keyBuilderFromType$6(luvio, input);
1576
1576
  rootKeySet.set(rootKey, {
1577
1577
  namespace: keyPrefix,
1578
- representationName: RepresentationType$c,
1578
+ representationName: RepresentationType$d,
1579
1579
  mergeable: false
1580
1580
  });
1581
1581
  }
1582
1582
 
1583
- const VERSION$e = "252fe3a6509a770a876e36552ad8dd06";
1584
- function validate$e(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1583
+ const VERSION$f = "252fe3a6509a770a876e36552ad8dd06";
1584
+ function validate$f(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1585
1585
  const v_error = (() => {
1586
1586
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1587
1587
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1918,23 +1918,23 @@ function validate$e(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1918
1918
  })();
1919
1919
  return v_error === undefined ? null : v_error;
1920
1920
  }
1921
- const RepresentationType$b = 'SlackBridgeConversationInfoOutputRepresentation';
1922
- function keyBuilder$o(luvio, config) {
1923
- return keyPrefix + '::' + RepresentationType$b + ':' + config.id;
1921
+ const RepresentationType$c = 'SlackBridgeConversationInfoOutputRepresentation';
1922
+ function keyBuilder$p(luvio, config) {
1923
+ return keyPrefix + '::' + RepresentationType$c + ':' + config.id;
1924
1924
  }
1925
- function keyBuilderFromType$4(luvio, object) {
1925
+ function keyBuilderFromType$5(luvio, object) {
1926
1926
  const keyParams = {
1927
1927
  id: object.id
1928
1928
  };
1929
- return keyBuilder$o(luvio, keyParams);
1929
+ return keyBuilder$p(luvio, keyParams);
1930
1930
  }
1931
- function normalize$b(input, existing, path, luvio, store, timestamp) {
1931
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
1932
1932
  return input;
1933
1933
  }
1934
- const select$u = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1934
+ const select$w = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1935
1935
  return {
1936
1936
  kind: 'Fragment',
1937
- version: VERSION$e,
1937
+ version: VERSION$f,
1938
1938
  private: [],
1939
1939
  selections: [
1940
1940
  {
@@ -2001,7 +2001,7 @@ const select$u = function SlackBridgeConversationInfoOutputRepresentationSelect(
2001
2001
  ]
2002
2002
  };
2003
2003
  };
2004
- function equals$e(existing, incoming) {
2004
+ function equals$f(existing, incoming) {
2005
2005
  const existing_id = existing.id;
2006
2006
  const incoming_id = incoming.id;
2007
2007
  if (!(existing_id === incoming_id)) {
@@ -2087,30 +2087,30 @@ function equals$e(existing, incoming) {
2087
2087
  }
2088
2088
  return true;
2089
2089
  }
2090
- const ingest$b = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2090
+ const ingest$c = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2091
2091
  if (process.env.NODE_ENV !== 'production') {
2092
- const validateError = validate$e(input);
2092
+ const validateError = validate$f(input);
2093
2093
  if (validateError !== null) {
2094
2094
  throw validateError;
2095
2095
  }
2096
2096
  }
2097
- const key = keyBuilderFromType$4(luvio, input);
2097
+ const key = keyBuilderFromType$5(luvio, input);
2098
2098
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2099
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$e, RepresentationType$b, equals$e);
2099
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$f, RepresentationType$c, equals$f);
2100
2100
  return createLink(key);
2101
2101
  };
2102
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
2102
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2103
2103
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2104
- const rootKey = keyBuilderFromType$4(luvio, input);
2104
+ const rootKey = keyBuilderFromType$5(luvio, input);
2105
2105
  rootKeySet.set(rootKey, {
2106
2106
  namespace: keyPrefix,
2107
- representationName: RepresentationType$b,
2107
+ representationName: RepresentationType$c,
2108
2108
  mergeable: false
2109
2109
  });
2110
2110
  }
2111
2111
 
2112
- const VERSION$d = "4634cd404d8392ac4ca9f0e1be03bfbd";
2113
- function validate$d(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
2112
+ const VERSION$e = "4634cd404d8392ac4ca9f0e1be03bfbd";
2113
+ function validate$e(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
2114
2114
  const v_error = (() => {
2115
2115
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2116
2116
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2128,10 +2128,10 @@ function validate$d(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
2128
2128
  })();
2129
2129
  return v_error === undefined ? null : v_error;
2130
2130
  }
2131
- const select$t = function SlackBridgeFileTypeOutputRepresentationSelect() {
2131
+ const select$v = function SlackBridgeFileTypeOutputRepresentationSelect() {
2132
2132
  return {
2133
2133
  kind: 'Fragment',
2134
- version: VERSION$d,
2134
+ version: VERSION$e,
2135
2135
  private: [],
2136
2136
  selections: [
2137
2137
  {
@@ -2145,7 +2145,7 @@ const select$t = function SlackBridgeFileTypeOutputRepresentationSelect() {
2145
2145
  ]
2146
2146
  };
2147
2147
  };
2148
- function equals$d(existing, incoming) {
2148
+ function equals$e(existing, incoming) {
2149
2149
  const existing_extension = existing.extension;
2150
2150
  const incoming_extension = incoming.extension;
2151
2151
  if (!(existing_extension === incoming_extension)) {
@@ -2159,8 +2159,8 @@ function equals$d(existing, incoming) {
2159
2159
  return true;
2160
2160
  }
2161
2161
 
2162
- const VERSION$c = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
2163
- function validate$c(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
2162
+ const VERSION$d = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
2163
+ function validate$d(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
2164
2164
  const v_error = (() => {
2165
2165
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2166
2166
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2174,7 +2174,7 @@ function validate$c(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
2174
2174
  const path_filetype = path + '.filetype';
2175
2175
  let obj_filetype_union0 = null;
2176
2176
  const obj_filetype_union0_error = (() => {
2177
- const referencepath_filetypeValidationError = validate$d(obj_filetype, path_filetype);
2177
+ const referencepath_filetypeValidationError = validate$e(obj_filetype, path_filetype);
2178
2178
  if (referencepath_filetypeValidationError !== null) {
2179
2179
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
2180
2180
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2243,11 +2243,11 @@ function validate$c(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
2243
2243
  })();
2244
2244
  return v_error === undefined ? null : v_error;
2245
2245
  }
2246
- const select$s = function SlackBridgeContentVersionOutputRepresentationSelect() {
2247
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$t();
2246
+ const select$u = function SlackBridgeContentVersionOutputRepresentationSelect() {
2247
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$v();
2248
2248
  return {
2249
2249
  kind: 'Fragment',
2250
- version: VERSION$c,
2250
+ version: VERSION$d,
2251
2251
  private: [],
2252
2252
  selections: [
2253
2253
  {
@@ -2279,7 +2279,7 @@ const select$s = function SlackBridgeContentVersionOutputRepresentationSelect()
2279
2279
  ]
2280
2280
  };
2281
2281
  };
2282
- function equals$c(existing, incoming) {
2282
+ function equals$d(existing, incoming) {
2283
2283
  const existing_size = existing.size;
2284
2284
  const incoming_size = incoming.size;
2285
2285
  if (!(existing_size === incoming_size)) {
@@ -2305,7 +2305,7 @@ function equals$c(existing, incoming) {
2305
2305
  if (!(existing_filetype === incoming_filetype
2306
2306
  || (existing_filetype != null &&
2307
2307
  incoming_filetype != null &&
2308
- equals$d(existing_filetype, incoming_filetype)))) {
2308
+ equals$e(existing_filetype, incoming_filetype)))) {
2309
2309
  return false;
2310
2310
  }
2311
2311
  const existing_versionUrl = existing.versionUrl;
@@ -2316,15 +2316,15 @@ function equals$c(existing, incoming) {
2316
2316
  return true;
2317
2317
  }
2318
2318
 
2319
- const VERSION$b = "effdd259bc622bee05493fc2a3ecd276";
2320
- function validate$b(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
2319
+ const VERSION$c = "effdd259bc622bee05493fc2a3ecd276";
2320
+ function validate$c(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
2321
2321
  const v_error = (() => {
2322
2322
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2323
2323
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2324
2324
  }
2325
2325
  const obj_filetype = obj.filetype;
2326
2326
  const path_filetype = path + '.filetype';
2327
- const referencepath_filetypeValidationError = validate$d(obj_filetype, path_filetype);
2327
+ const referencepath_filetypeValidationError = validate$e(obj_filetype, path_filetype);
2328
2328
  if (referencepath_filetypeValidationError !== null) {
2329
2329
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
2330
2330
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2337,7 +2337,7 @@ function validate$b(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2337
2337
  }
2338
2338
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
2339
2339
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
2340
- const referencepath_latestPublishedVersionValidationError = validate$c(obj_latestPublishedVersion, path_latestPublishedVersion);
2340
+ const referencepath_latestPublishedVersionValidationError = validate$d(obj_latestPublishedVersion, path_latestPublishedVersion);
2341
2341
  if (referencepath_latestPublishedVersionValidationError !== null) {
2342
2342
  let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
2343
2343
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2356,12 +2356,12 @@ function validate$b(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2356
2356
  })();
2357
2357
  return v_error === undefined ? null : v_error;
2358
2358
  }
2359
- const select$r = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2360
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$t();
2361
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$s();
2359
+ const select$t = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2360
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$v();
2361
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$u();
2362
2362
  return {
2363
2363
  kind: 'Fragment',
2364
- version: VERSION$b,
2364
+ version: VERSION$c,
2365
2365
  private: [],
2366
2366
  selections: [
2367
2367
  {
@@ -2389,7 +2389,7 @@ const select$r = function SlackBridgeContentDocumentOutputRepresentationSelect()
2389
2389
  ]
2390
2390
  };
2391
2391
  };
2392
- function equals$b(existing, incoming) {
2392
+ function equals$c(existing, incoming) {
2393
2393
  const existing_size = existing.size;
2394
2394
  const incoming_size = incoming.size;
2395
2395
  if (!(existing_size === incoming_size)) {
@@ -2407,19 +2407,19 @@ function equals$b(existing, incoming) {
2407
2407
  }
2408
2408
  const existing_filetype = existing.filetype;
2409
2409
  const incoming_filetype = incoming.filetype;
2410
- if (!(equals$d(existing_filetype, incoming_filetype))) {
2410
+ if (!(equals$e(existing_filetype, incoming_filetype))) {
2411
2411
  return false;
2412
2412
  }
2413
2413
  const existing_latestPublishedVersion = existing.latestPublishedVersion;
2414
2414
  const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
2415
- if (!(equals$c(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2415
+ if (!(equals$d(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2416
2416
  return false;
2417
2417
  }
2418
2418
  return true;
2419
2419
  }
2420
2420
 
2421
- const VERSION$a = "15fa7211c500ebba9537b3c9921b39cf";
2422
- function validate$a(obj, path = 'SlackBridgeFileOutputRepresentation') {
2421
+ const VERSION$b = "15fa7211c500ebba9537b3c9921b39cf";
2422
+ function validate$b(obj, path = 'SlackBridgeFileOutputRepresentation') {
2423
2423
  const v_error = (() => {
2424
2424
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2425
2425
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2428,7 +2428,7 @@ function validate$a(obj, path = 'SlackBridgeFileOutputRepresentation') {
2428
2428
  const path_contentDocument = path + '.contentDocument';
2429
2429
  let obj_contentDocument_union0 = null;
2430
2430
  const obj_contentDocument_union0_error = (() => {
2431
- const referencepath_contentDocumentValidationError = validate$b(obj_contentDocument, path_contentDocument);
2431
+ const referencepath_contentDocumentValidationError = validate$c(obj_contentDocument, path_contentDocument);
2432
2432
  if (referencepath_contentDocumentValidationError !== null) {
2433
2433
  let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
2434
2434
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2590,24 +2590,24 @@ function validate$a(obj, path = 'SlackBridgeFileOutputRepresentation') {
2590
2590
  })();
2591
2591
  return v_error === undefined ? null : v_error;
2592
2592
  }
2593
- const RepresentationType$a = 'SlackBridgeFileOutputRepresentation';
2594
- function keyBuilder$n(luvio, config) {
2595
- return keyPrefix + '::' + RepresentationType$a + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2593
+ const RepresentationType$b = 'SlackBridgeFileOutputRepresentation';
2594
+ function keyBuilder$o(luvio, config) {
2595
+ return keyPrefix + '::' + RepresentationType$b + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2596
2596
  }
2597
- function keyBuilderFromType$3(luvio, object) {
2597
+ function keyBuilderFromType$4(luvio, object) {
2598
2598
  const keyParams = {
2599
2599
  uniqueKey: object.uniqueKey
2600
2600
  };
2601
- return keyBuilder$n(luvio, keyParams);
2601
+ return keyBuilder$o(luvio, keyParams);
2602
2602
  }
2603
- function normalize$a(input, existing, path, luvio, store, timestamp) {
2603
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
2604
2604
  return input;
2605
2605
  }
2606
- const select$q = function SlackBridgeFileOutputRepresentationSelect() {
2607
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$r();
2606
+ const select$s = function SlackBridgeFileOutputRepresentationSelect() {
2607
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$t();
2608
2608
  return {
2609
2609
  kind: 'Fragment',
2610
- version: VERSION$a,
2610
+ version: VERSION$b,
2611
2611
  private: [],
2612
2612
  selections: [
2613
2613
  {
@@ -2659,7 +2659,7 @@ const select$q = function SlackBridgeFileOutputRepresentationSelect() {
2659
2659
  ]
2660
2660
  };
2661
2661
  };
2662
- function equals$a(existing, incoming) {
2662
+ function equals$b(existing, incoming) {
2663
2663
  const existing_filetype = existing.filetype;
2664
2664
  const incoming_filetype = incoming.filetype;
2665
2665
  if (!(existing_filetype === incoming_filetype)) {
@@ -2695,7 +2695,7 @@ function equals$a(existing, incoming) {
2695
2695
  if (!(existing_contentDocument === incoming_contentDocument
2696
2696
  || (existing_contentDocument != null &&
2697
2697
  incoming_contentDocument != null &&
2698
- equals$b(existing_contentDocument, incoming_contentDocument)))) {
2698
+ equals$c(existing_contentDocument, incoming_contentDocument)))) {
2699
2699
  return false;
2700
2700
  }
2701
2701
  const existing_size = existing.size;
@@ -2720,30 +2720,30 @@ function equals$a(existing, incoming) {
2720
2720
  }
2721
2721
  return true;
2722
2722
  }
2723
- const ingest$a = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2723
+ const ingest$b = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2724
2724
  if (process.env.NODE_ENV !== 'production') {
2725
- const validateError = validate$a(input);
2725
+ const validateError = validate$b(input);
2726
2726
  if (validateError !== null) {
2727
2727
  throw validateError;
2728
2728
  }
2729
2729
  }
2730
- const key = keyBuilderFromType$3(luvio, input);
2730
+ const key = keyBuilderFromType$4(luvio, input);
2731
2731
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2732
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
2732
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$b, RepresentationType$b, equals$b);
2733
2733
  return createLink(key);
2734
2734
  };
2735
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
2735
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
2736
2736
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2737
- const rootKey = keyBuilderFromType$3(luvio, input);
2737
+ const rootKey = keyBuilderFromType$4(luvio, input);
2738
2738
  rootKeySet.set(rootKey, {
2739
2739
  namespace: keyPrefix,
2740
- representationName: RepresentationType$a,
2740
+ representationName: RepresentationType$b,
2741
2741
  mergeable: false
2742
2742
  });
2743
2743
  }
2744
2744
 
2745
- const VERSION$9 = "a8502e4e4bb65313c6fbaa1f89f1e539";
2746
- function validate$9(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2745
+ const VERSION$a = "a8502e4e4bb65313c6fbaa1f89f1e539";
2746
+ function validate$a(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2747
2747
  const v_error = (() => {
2748
2748
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2749
2749
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2929,7 +2929,7 @@ function validate$9(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2929
2929
  for (let i = 0; i < obj_reactions.length; i++) {
2930
2930
  const obj_reactions_item = obj_reactions[i];
2931
2931
  const path_reactions_item = path_reactions + '[' + i + ']';
2932
- const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
2932
+ const referencepath_reactions_itemValidationError = validate$j(obj_reactions_item, path_reactions_item);
2933
2933
  if (referencepath_reactions_itemValidationError !== null) {
2934
2934
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
2935
2935
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3091,14 +3091,14 @@ function validate$9(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3091
3091
  })();
3092
3092
  return v_error === undefined ? null : v_error;
3093
3093
  }
3094
- const RepresentationType$9 = 'SlackBridgeMessageOutputRepresentation';
3095
- function normalize$9(input, existing, path, luvio, store, timestamp) {
3094
+ const RepresentationType$a = 'SlackBridgeMessageOutputRepresentation';
3095
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
3096
3096
  const input_files = input.files;
3097
3097
  const input_files_id = path.fullPath + '__files';
3098
3098
  for (let i = 0; i < input_files.length; i++) {
3099
3099
  const input_files_item = input_files[i];
3100
3100
  let input_files_item_id = input_files_id + '__' + i;
3101
- input_files[i] = ingest$a(input_files_item, {
3101
+ input_files[i] = ingest$b(input_files_item, {
3102
3102
  fullPath: input_files_item_id,
3103
3103
  propertyName: i,
3104
3104
  parent: {
@@ -3111,11 +3111,11 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
3111
3111
  }
3112
3112
  return input;
3113
3113
  }
3114
- const select$p = function SlackBridgeMessageOutputRepresentationSelect() {
3115
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$y();
3114
+ const select$r = function SlackBridgeMessageOutputRepresentationSelect() {
3115
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$A();
3116
3116
  return {
3117
3117
  kind: 'Fragment',
3118
- version: VERSION$9,
3118
+ version: VERSION$a,
3119
3119
  private: [],
3120
3120
  selections: [
3121
3121
  {
@@ -3132,7 +3132,7 @@ const select$p = function SlackBridgeMessageOutputRepresentationSelect() {
3132
3132
  name: 'files',
3133
3133
  kind: 'Link',
3134
3134
  plural: true,
3135
- fragment: select$q()
3135
+ fragment: select$s()
3136
3136
  },
3137
3137
  {
3138
3138
  name: 'includesCustomEmoji',
@@ -3204,7 +3204,7 @@ const select$p = function SlackBridgeMessageOutputRepresentationSelect() {
3204
3204
  ]
3205
3205
  };
3206
3206
  };
3207
- function equals$9(existing, incoming) {
3207
+ function equals$a(existing, incoming) {
3208
3208
  const existing_isEditable = existing.isEditable;
3209
3209
  const incoming_isEditable = incoming.isEditable;
3210
3210
  if (!(existing_isEditable === incoming_isEditable)) {
@@ -3293,7 +3293,7 @@ function equals$9(existing, incoming) {
3293
3293
  const existing_reactions = existing.reactions;
3294
3294
  const incoming_reactions = incoming.reactions;
3295
3295
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
3296
- if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
3296
+ if (!(equals$j(existing_reactions_item, incoming_reactions_item))) {
3297
3297
  return false;
3298
3298
  }
3299
3299
  });
@@ -3337,34 +3337,34 @@ function equals$9(existing, incoming) {
3337
3337
  }
3338
3338
  return true;
3339
3339
  }
3340
- const ingest$9 = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3340
+ const ingest$a = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3341
3341
  if (process.env.NODE_ENV !== 'production') {
3342
- const validateError = validate$9(input);
3342
+ const validateError = validate$a(input);
3343
3343
  if (validateError !== null) {
3344
3344
  throw validateError;
3345
3345
  }
3346
3346
  }
3347
3347
  const key = path.fullPath;
3348
3348
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3349
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
3349
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
3350
3350
  return createLink(key);
3351
3351
  };
3352
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
3352
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3353
3353
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3354
3354
  const rootKey = fullPathFactory();
3355
3355
  rootKeySet.set(rootKey, {
3356
3356
  namespace: keyPrefix,
3357
- representationName: RepresentationType$9,
3357
+ representationName: RepresentationType$a,
3358
3358
  mergeable: false
3359
3359
  });
3360
3360
  const input_files_length = input.files.length;
3361
3361
  for (let i = 0; i < input_files_length; i++) {
3362
- getTypeCacheKeys$a(rootKeySet, luvio, input.files[i]);
3362
+ getTypeCacheKeys$b(rootKeySet, luvio, input.files[i]);
3363
3363
  }
3364
3364
  }
3365
3365
 
3366
- const VERSION$8 = "5145ac2c241c561e4baa29b3884748dc";
3367
- function validate$8(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
3366
+ const VERSION$9 = "5145ac2c241c561e4baa29b3884748dc";
3367
+ function validate$9(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
3368
3368
  const v_error = (() => {
3369
3369
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3370
3370
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3415,14 +3415,14 @@ function validate$8(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
3415
3415
  })();
3416
3416
  return v_error === undefined ? null : v_error;
3417
3417
  }
3418
- const RepresentationType$8 = 'SlackBridgeConversationHistoryOutputRepresentation';
3419
- function normalize$8(input, existing, path, luvio, store, timestamp) {
3418
+ const RepresentationType$9 = 'SlackBridgeConversationHistoryOutputRepresentation';
3419
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
3420
3420
  const input_messages = input.messages;
3421
3421
  const input_messages_id = path.fullPath + '__messages';
3422
3422
  for (let i = 0; i < input_messages.length; i++) {
3423
3423
  const input_messages_item = input_messages[i];
3424
3424
  let input_messages_item_id = input_messages_id + '__' + i;
3425
- input_messages[i] = ingest$9(input_messages_item, {
3425
+ input_messages[i] = ingest$a(input_messages_item, {
3426
3426
  fullPath: input_messages_item_id,
3427
3427
  propertyName: i,
3428
3428
  parent: {
@@ -3435,10 +3435,10 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
3435
3435
  }
3436
3436
  return input;
3437
3437
  }
3438
- const select$o = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3438
+ const select$q = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3439
3439
  return {
3440
3440
  kind: 'Fragment',
3441
- version: VERSION$8,
3441
+ version: VERSION$9,
3442
3442
  private: [],
3443
3443
  selections: [
3444
3444
  {
@@ -3449,7 +3449,7 @@ const select$o = function SlackBridgeConversationHistoryOutputRepresentationSele
3449
3449
  name: 'messages',
3450
3450
  kind: 'Link',
3451
3451
  plural: true,
3452
- fragment: select$p()
3452
+ fragment: select$r()
3453
3453
  },
3454
3454
  {
3455
3455
  name: 'nextCursor',
@@ -3458,7 +3458,7 @@ const select$o = function SlackBridgeConversationHistoryOutputRepresentationSele
3458
3458
  ]
3459
3459
  };
3460
3460
  };
3461
- function equals$8(existing, incoming) {
3461
+ function equals$9(existing, incoming) {
3462
3462
  const existing_hasMore = existing.hasMore;
3463
3463
  const incoming_hasMore = incoming.hasMore;
3464
3464
  if (!(existing_hasMore === incoming_hasMore)) {
@@ -3481,34 +3481,34 @@ function equals$8(existing, incoming) {
3481
3481
  }
3482
3482
  return true;
3483
3483
  }
3484
- const ingest$8 = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3484
+ const ingest$9 = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3485
3485
  if (process.env.NODE_ENV !== 'production') {
3486
- const validateError = validate$8(input);
3486
+ const validateError = validate$9(input);
3487
3487
  if (validateError !== null) {
3488
3488
  throw validateError;
3489
3489
  }
3490
3490
  }
3491
3491
  const key = path.fullPath;
3492
3492
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3493
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
3493
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
3494
3494
  return createLink(key);
3495
3495
  };
3496
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
3496
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
3497
3497
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3498
3498
  const rootKey = fullPathFactory();
3499
3499
  rootKeySet.set(rootKey, {
3500
3500
  namespace: keyPrefix,
3501
- representationName: RepresentationType$8,
3501
+ representationName: RepresentationType$9,
3502
3502
  mergeable: false
3503
3503
  });
3504
3504
  const input_messages_length = input.messages.length;
3505
3505
  for (let i = 0; i < input_messages_length; i++) {
3506
- getTypeCacheKeys$9(rootKeySet, luvio, input.messages[i], () => '');
3506
+ getTypeCacheKeys$a(rootKeySet, luvio, input.messages[i], () => '');
3507
3507
  }
3508
3508
  }
3509
3509
 
3510
- const VERSION$7 = "7ec6cbca3e2948ff5ef00e4034f365d5";
3511
- function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3510
+ const VERSION$8 = "7ec6cbca3e2948ff5ef00e4034f365d5";
3511
+ function validate$8(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3512
3512
  const v_error = (() => {
3513
3513
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3514
3514
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3652,12 +3652,12 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3652
3652
  })();
3653
3653
  return v_error === undefined ? null : v_error;
3654
3654
  }
3655
- const RepresentationType$7 = 'SlackBridgeConversationOutputRepresentation';
3656
- function normalize$7(input, existing, path, luvio, store, timestamp) {
3655
+ const RepresentationType$8 = 'SlackBridgeConversationOutputRepresentation';
3656
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
3657
3657
  const input_contextUserInfo = input.contextUserInfo;
3658
3658
  const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
3659
3659
  if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
3660
- input.contextUserInfo = ingest$c(input_contextUserInfo, {
3660
+ input.contextUserInfo = ingest$d(input_contextUserInfo, {
3661
3661
  fullPath: input_contextUserInfo_id,
3662
3662
  propertyName: 'contextUserInfo',
3663
3663
  parent: {
@@ -3671,7 +3671,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
3671
3671
  const input_conversationInfo = input.conversationInfo;
3672
3672
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
3673
3673
  if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
3674
- input.conversationInfo = ingest$b(input_conversationInfo, {
3674
+ input.conversationInfo = ingest$c(input_conversationInfo, {
3675
3675
  fullPath: input_conversationInfo_id,
3676
3676
  propertyName: 'conversationInfo',
3677
3677
  parent: {
@@ -3684,7 +3684,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
3684
3684
  }
3685
3685
  const input_history = input.history;
3686
3686
  const input_history_id = path.fullPath + '__history';
3687
- input.history = ingest$8(input_history, {
3687
+ input.history = ingest$9(input_history, {
3688
3688
  fullPath: input_history_id,
3689
3689
  propertyName: 'history',
3690
3690
  parent: {
@@ -3699,7 +3699,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
3699
3699
  for (let i = 0; i < input_userInfos.length; i++) {
3700
3700
  const input_userInfos_item = input_userInfos[i];
3701
3701
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
3702
- input_userInfos[i] = ingest$c(input_userInfos_item, {
3702
+ input_userInfos[i] = ingest$d(input_userInfos_item, {
3703
3703
  fullPath: input_userInfos_item_id,
3704
3704
  propertyName: i,
3705
3705
  parent: {
@@ -3712,10 +3712,10 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
3712
3712
  }
3713
3713
  return input;
3714
3714
  }
3715
- const select$n = function SlackBridgeConversationOutputRepresentationSelect() {
3715
+ const select$p = function SlackBridgeConversationOutputRepresentationSelect() {
3716
3716
  return {
3717
3717
  kind: 'Fragment',
3718
- version: VERSION$7,
3718
+ version: VERSION$8,
3719
3719
  private: [],
3720
3720
  selections: [
3721
3721
  {
@@ -3730,18 +3730,18 @@ const select$n = function SlackBridgeConversationOutputRepresentationSelect() {
3730
3730
  name: 'contextUserInfo',
3731
3731
  kind: 'Link',
3732
3732
  nullable: true,
3733
- fragment: select$v()
3733
+ fragment: select$x()
3734
3734
  },
3735
3735
  {
3736
3736
  name: 'conversationInfo',
3737
3737
  kind: 'Link',
3738
3738
  nullable: true,
3739
- fragment: select$u()
3739
+ fragment: select$w()
3740
3740
  },
3741
3741
  {
3742
3742
  name: 'history',
3743
3743
  kind: 'Link',
3744
- fragment: select$o()
3744
+ fragment: select$q()
3745
3745
  },
3746
3746
  {
3747
3747
  name: 'teamId',
@@ -3755,7 +3755,7 @@ const select$n = function SlackBridgeConversationOutputRepresentationSelect() {
3755
3755
  name: 'userInfos',
3756
3756
  kind: 'Link',
3757
3757
  plural: true,
3758
- fragment: select$v()
3758
+ fragment: select$x()
3759
3759
  },
3760
3760
  {
3761
3761
  name: 'websocketUrl',
@@ -3764,7 +3764,7 @@ const select$n = function SlackBridgeConversationOutputRepresentationSelect() {
3764
3764
  ]
3765
3765
  };
3766
3766
  };
3767
- function equals$7(existing, incoming) {
3767
+ function equals$8(existing, incoming) {
3768
3768
  const existing_channelId = existing.channelId;
3769
3769
  const incoming_channelId = incoming.channelId;
3770
3770
  if (!(existing_channelId === incoming_channelId)) {
@@ -3827,55 +3827,55 @@ function equals$7(existing, incoming) {
3827
3827
  }
3828
3828
  return true;
3829
3829
  }
3830
- const ingest$7 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3830
+ const ingest$8 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3831
3831
  if (process.env.NODE_ENV !== 'production') {
3832
- const validateError = validate$7(input);
3832
+ const validateError = validate$8(input);
3833
3833
  if (validateError !== null) {
3834
3834
  throw validateError;
3835
3835
  }
3836
3836
  }
3837
3837
  const key = path.fullPath;
3838
3838
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3839
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$7, RepresentationType$7, equals$7);
3839
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
3840
3840
  return createLink(key);
3841
3841
  };
3842
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
3842
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
3843
3843
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3844
3844
  const rootKey = fullPathFactory();
3845
3845
  rootKeySet.set(rootKey, {
3846
3846
  namespace: keyPrefix,
3847
- representationName: RepresentationType$7,
3847
+ representationName: RepresentationType$8,
3848
3848
  mergeable: false
3849
3849
  });
3850
3850
  if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
3851
- getTypeCacheKeys$c(rootKeySet, luvio, input.contextUserInfo);
3851
+ getTypeCacheKeys$d(rootKeySet, luvio, input.contextUserInfo);
3852
3852
  }
3853
3853
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3854
- getTypeCacheKeys$b(rootKeySet, luvio, input.conversationInfo);
3854
+ getTypeCacheKeys$c(rootKeySet, luvio, input.conversationInfo);
3855
3855
  }
3856
- getTypeCacheKeys$8(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3856
+ getTypeCacheKeys$9(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3857
3857
  const input_userInfos_length = input.userInfos.length;
3858
3858
  for (let i = 0; i < input_userInfos_length; i++) {
3859
- getTypeCacheKeys$c(rootKeySet, luvio, input.userInfos[i]);
3859
+ getTypeCacheKeys$d(rootKeySet, luvio, input.userInfos[i]);
3860
3860
  }
3861
3861
  }
3862
3862
 
3863
- function select$m(luvio, params) {
3864
- return select$n();
3863
+ function select$o(luvio, params) {
3864
+ return select$p();
3865
3865
  }
3866
- function keyBuilder$m(luvio, params) {
3866
+ function keyBuilder$n(luvio, params) {
3867
3867
  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 + ')';
3868
3868
  }
3869
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
3870
- getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$m(luvio, resourceParams));
3869
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
3870
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$n(luvio, resourceParams));
3871
3871
  }
3872
- function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
3872
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
3873
3873
  const { body } = response;
3874
- const key = keyBuilder$m(luvio, resourceParams);
3875
- luvio.storeIngest(key, ingest$7, body);
3874
+ const key = keyBuilder$n(luvio, resourceParams);
3875
+ luvio.storeIngest(key, ingest$8, body);
3876
3876
  const snapshot = luvio.storeLookup({
3877
3877
  recordId: key,
3878
- node: select$m(),
3878
+ node: select$o(),
3879
3879
  variables: {},
3880
3880
  }, snapshotRefresh);
3881
3881
  if (process.env.NODE_ENV !== 'production') {
@@ -3887,12 +3887,12 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
3887
3887
  return snapshot;
3888
3888
  }
3889
3889
  function ingestError$9(luvio, params, error, snapshotRefresh) {
3890
- const key = keyBuilder$m(luvio, params);
3890
+ const key = keyBuilder$n(luvio, params);
3891
3891
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3892
3892
  luvio.storeIngestError(key, errorSnapshot);
3893
3893
  return errorSnapshot;
3894
3894
  }
3895
- function createResourceRequest$f(config) {
3895
+ function createResourceRequest$g(config) {
3896
3896
  const headers = {};
3897
3897
  return {
3898
3898
  baseUri: '/services/data/v63.0',
@@ -3906,7 +3906,7 @@ function createResourceRequest$f(config) {
3906
3906
  };
3907
3907
  }
3908
3908
 
3909
- const adapterName$f = 'getSlackConversation';
3909
+ const adapterName$g = 'getSlackConversation';
3910
3910
  const getSlackConversation_ConfigPropertyMetadata = [
3911
3911
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3912
3912
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3918,56 +3918,56 @@ const getSlackConversation_ConfigPropertyMetadata = [
3918
3918
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3919
3919
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3920
3920
  ];
3921
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackConversation_ConfigPropertyMetadata);
3922
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$j(getSlackConversation_ConfigPropertyMetadata);
3923
- function keyBuilder$l(luvio, config) {
3924
- const resourceParams = createResourceParams$f(config);
3925
- return keyBuilder$m(luvio, resourceParams);
3921
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackConversation_ConfigPropertyMetadata);
3922
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$k(getSlackConversation_ConfigPropertyMetadata);
3923
+ function keyBuilder$m(luvio, config) {
3924
+ const resourceParams = createResourceParams$g(config);
3925
+ return keyBuilder$n(luvio, resourceParams);
3926
3926
  }
3927
- function typeCheckConfig$f(untrustedConfig) {
3927
+ function typeCheckConfig$g(untrustedConfig) {
3928
3928
  const config = {};
3929
- typeCheckConfig$j(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3929
+ typeCheckConfig$k(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3930
3930
  return config;
3931
3931
  }
3932
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
3932
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
3933
3933
  if (!untrustedIsObject(untrustedConfig)) {
3934
3934
  return null;
3935
3935
  }
3936
3936
  if (process.env.NODE_ENV !== 'production') {
3937
3937
  validateConfig(untrustedConfig, configPropertyNames);
3938
3938
  }
3939
- const config = typeCheckConfig$f(untrustedConfig);
3939
+ const config = typeCheckConfig$g(untrustedConfig);
3940
3940
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3941
3941
  return null;
3942
3942
  }
3943
3943
  return config;
3944
3944
  }
3945
3945
  function adapterFragment$9(luvio, config) {
3946
- createResourceParams$f(config);
3947
- return select$m();
3946
+ createResourceParams$g(config);
3947
+ return select$o();
3948
3948
  }
3949
3949
  function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
3950
- const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
3950
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
3951
3951
  config,
3952
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
3952
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
3953
3953
  });
3954
3954
  return luvio.storeBroadcast().then(() => snapshot);
3955
3955
  }
3956
3956
  function onFetchResponseError$9(luvio, config, resourceParams, response) {
3957
3957
  const snapshot = ingestError$9(luvio, resourceParams, response, {
3958
3958
  config,
3959
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
3959
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
3960
3960
  });
3961
3961
  return luvio.storeBroadcast().then(() => snapshot);
3962
3962
  }
3963
- function buildNetworkSnapshot$f(luvio, config, options) {
3964
- const resourceParams = createResourceParams$f(config);
3965
- const request = createResourceRequest$f(resourceParams);
3963
+ function buildNetworkSnapshot$g(luvio, config, options) {
3964
+ const resourceParams = createResourceParams$g(config);
3965
+ const request = createResourceRequest$g(resourceParams);
3966
3966
  return luvio.dispatchResourceRequest(request, options)
3967
3967
  .then((response) => {
3968
3968
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
3969
3969
  const cache = new StoreKeyMap();
3970
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
3970
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
3971
3971
  return cache;
3972
3972
  });
3973
3973
  }, (response) => {
@@ -3975,23 +3975,23 @@ function buildNetworkSnapshot$f(luvio, config, options) {
3975
3975
  });
3976
3976
  }
3977
3977
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
3978
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
3978
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
3979
3979
  }
3980
3980
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
3981
3981
  const { luvio, config } = context;
3982
3982
  const selector = {
3983
- recordId: keyBuilder$l(luvio, config),
3983
+ recordId: keyBuilder$m(luvio, config),
3984
3984
  node: adapterFragment$9(luvio, config),
3985
3985
  variables: {},
3986
3986
  };
3987
3987
  const cacheSnapshot = storeLookup(selector, {
3988
3988
  config,
3989
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
3989
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
3990
3990
  });
3991
3991
  return cacheSnapshot;
3992
3992
  }
3993
3993
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3994
- const config = validateAdapterConfig$f(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3994
+ const config = validateAdapterConfig$g(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3995
3995
  // Invalid or incomplete config
3996
3996
  if (config === null) {
3997
3997
  return null;
@@ -4000,24 +4000,24 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
4000
4000
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4001
4001
  };
4002
4002
 
4003
- function select$l(luvio, params) {
4004
- return select$A();
4003
+ function select$n(luvio, params) {
4004
+ return select$C();
4005
4005
  }
4006
- function keyBuilder$k(luvio, params) {
4007
- return keyBuilder$v(luvio, {
4006
+ function keyBuilder$l(luvio, params) {
4007
+ return keyBuilder$w(luvio, {
4008
4008
  channelId: params.urlParams.channelId
4009
4009
  });
4010
4010
  }
4011
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
4012
- getTypeCacheKeys$f(storeKeyMap, luvio, response);
4011
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
4012
+ getTypeCacheKeys$g(storeKeyMap, luvio, response);
4013
4013
  }
4014
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4014
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4015
4015
  const { body } = response;
4016
- const key = keyBuilder$k(luvio, resourceParams);
4017
- luvio.storeIngest(key, ingest$f, body);
4016
+ const key = keyBuilder$l(luvio, resourceParams);
4017
+ luvio.storeIngest(key, ingest$g, body);
4018
4018
  const snapshot = luvio.storeLookup({
4019
4019
  recordId: key,
4020
- node: select$l(),
4020
+ node: select$n(),
4021
4021
  variables: {},
4022
4022
  }, snapshotRefresh);
4023
4023
  if (process.env.NODE_ENV !== 'production') {
@@ -4029,12 +4029,12 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4029
4029
  return snapshot;
4030
4030
  }
4031
4031
  function ingestError$8(luvio, params, error, snapshotRefresh) {
4032
- const key = keyBuilder$k(luvio, params);
4032
+ const key = keyBuilder$l(luvio, params);
4033
4033
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4034
4034
  luvio.storeIngestError(key, errorSnapshot);
4035
4035
  return errorSnapshot;
4036
4036
  }
4037
- function createResourceRequest$e(config) {
4037
+ function createResourceRequest$f(config) {
4038
4038
  const headers = {};
4039
4039
  return {
4040
4040
  baseUri: '/services/data/v63.0',
@@ -4052,65 +4052,65 @@ function createResourceRequestFromRepresentation$4(representation) {
4052
4052
  urlParams: {},
4053
4053
  };
4054
4054
  config.urlParams.channelId = representation.channelId;
4055
- return createResourceRequest$e(config);
4055
+ return createResourceRequest$f(config);
4056
4056
  }
4057
4057
 
4058
- const adapterName$e = 'getSlackConversationMember';
4058
+ const adapterName$f = 'getSlackConversationMember';
4059
4059
  const getSlackConversationMember_ConfigPropertyMetadata = [
4060
4060
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4061
4061
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
4062
4062
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4063
4063
  ];
4064
- const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMember_ConfigPropertyMetadata);
4065
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$j(getSlackConversationMember_ConfigPropertyMetadata);
4066
- function keyBuilder$j(luvio, config) {
4067
- const resourceParams = createResourceParams$e(config);
4068
- return keyBuilder$k(luvio, resourceParams);
4064
+ const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackConversationMember_ConfigPropertyMetadata);
4065
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$k(getSlackConversationMember_ConfigPropertyMetadata);
4066
+ function keyBuilder$k(luvio, config) {
4067
+ const resourceParams = createResourceParams$f(config);
4068
+ return keyBuilder$l(luvio, resourceParams);
4069
4069
  }
4070
- function typeCheckConfig$e(untrustedConfig) {
4070
+ function typeCheckConfig$f(untrustedConfig) {
4071
4071
  const config = {};
4072
- typeCheckConfig$j(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
4072
+ typeCheckConfig$k(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
4073
4073
  return config;
4074
4074
  }
4075
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
4075
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
4076
4076
  if (!untrustedIsObject(untrustedConfig)) {
4077
4077
  return null;
4078
4078
  }
4079
4079
  if (process.env.NODE_ENV !== 'production') {
4080
4080
  validateConfig(untrustedConfig, configPropertyNames);
4081
4081
  }
4082
- const config = typeCheckConfig$e(untrustedConfig);
4082
+ const config = typeCheckConfig$f(untrustedConfig);
4083
4083
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4084
4084
  return null;
4085
4085
  }
4086
4086
  return config;
4087
4087
  }
4088
4088
  function adapterFragment$8(luvio, config) {
4089
- createResourceParams$e(config);
4090
- return select$l();
4089
+ createResourceParams$f(config);
4090
+ return select$n();
4091
4091
  }
4092
4092
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
4093
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
4093
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
4094
4094
  config,
4095
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4095
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
4096
4096
  });
4097
4097
  return luvio.storeBroadcast().then(() => snapshot);
4098
4098
  }
4099
4099
  function onFetchResponseError$8(luvio, config, resourceParams, response) {
4100
4100
  const snapshot = ingestError$8(luvio, resourceParams, response, {
4101
4101
  config,
4102
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4102
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
4103
4103
  });
4104
4104
  return luvio.storeBroadcast().then(() => snapshot);
4105
4105
  }
4106
- function buildNetworkSnapshot$e(luvio, config, options) {
4107
- const resourceParams = createResourceParams$e(config);
4108
- const request = createResourceRequest$e(resourceParams);
4106
+ function buildNetworkSnapshot$f(luvio, config, options) {
4107
+ const resourceParams = createResourceParams$f(config);
4108
+ const request = createResourceRequest$f(resourceParams);
4109
4109
  return luvio.dispatchResourceRequest(request, options)
4110
4110
  .then((response) => {
4111
4111
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
4112
4112
  const cache = new StoreKeyMap();
4113
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
4113
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
4114
4114
  return cache;
4115
4115
  });
4116
4116
  }, (response) => {
@@ -4118,23 +4118,23 @@ function buildNetworkSnapshot$e(luvio, config, options) {
4118
4118
  });
4119
4119
  }
4120
4120
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
4121
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
4121
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
4122
4122
  }
4123
4123
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
4124
4124
  const { luvio, config } = context;
4125
4125
  const selector = {
4126
- recordId: keyBuilder$j(luvio, config),
4126
+ recordId: keyBuilder$k(luvio, config),
4127
4127
  node: adapterFragment$8(luvio, config),
4128
4128
  variables: {},
4129
4129
  };
4130
4130
  const cacheSnapshot = storeLookup(selector, {
4131
4131
  config,
4132
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4132
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
4133
4133
  });
4134
4134
  return cacheSnapshot;
4135
4135
  }
4136
4136
  const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
4137
- const config = validateAdapterConfig$e(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
4137
+ const config = validateAdapterConfig$f(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
4138
4138
  // Invalid or incomplete config
4139
4139
  if (config === null) {
4140
4140
  return null;
@@ -4144,7 +4144,7 @@ const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge
4144
4144
  };
4145
4145
  const notifyChangeFactory$4 = (luvio, options) => {
4146
4146
  return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamIdNotifyChange(configs) {
4147
- const keys = configs.map(c => keyBuilder$v(luvio, c));
4147
+ const keys = configs.map(c => keyBuilder$w(luvio, c));
4148
4148
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4149
4149
  for (let i = 0, len = entries.length; i < len; i++) {
4150
4150
  const { key, record: val } = entries[i];
@@ -4153,11 +4153,11 @@ const notifyChangeFactory$4 = (luvio, options) => {
4153
4153
  .then((response) => {
4154
4154
  return luvio.handleSuccessResponse(() => {
4155
4155
  const { body } = response;
4156
- luvio.storeIngest(key, ingest$f, body);
4156
+ luvio.storeIngest(key, ingest$g, body);
4157
4157
  return luvio.storeBroadcast();
4158
4158
  }, () => {
4159
4159
  const cache = new StoreKeyMap();
4160
- getTypeCacheKeys$f(cache, luvio, response.body);
4160
+ getTypeCacheKeys$g(cache, luvio, response.body);
4161
4161
  return cache;
4162
4162
  });
4163
4163
  }, (error) => {
@@ -4172,8 +4172,8 @@ const notifyChangeFactory$4 = (luvio, options) => {
4172
4172
  };
4173
4173
  };
4174
4174
 
4175
- const VERSION$6 = "30b0f3c5bd175b72d9b304944fd9d682";
4176
- function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4175
+ const VERSION$7 = "30b0f3c5bd175b72d9b304944fd9d682";
4176
+ function validate$7(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4177
4177
  const v_error = (() => {
4178
4178
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4179
4179
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4224,23 +4224,23 @@ function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
4224
4224
  })();
4225
4225
  return v_error === undefined ? null : v_error;
4226
4226
  }
4227
- const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
4228
- function keyBuilder$i(luvio, config) {
4229
- return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
4227
+ const RepresentationType$7 = 'SlackBridgeConversationMembersOutputRepresentation';
4228
+ function keyBuilder$j(luvio, config) {
4229
+ return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
4230
4230
  }
4231
- function keyBuilderFromType$2(luvio, object) {
4231
+ function keyBuilderFromType$3(luvio, object) {
4232
4232
  const keyParams = {
4233
4233
  channelId: object.channelId
4234
4234
  };
4235
- return keyBuilder$i(luvio, keyParams);
4235
+ return keyBuilder$j(luvio, keyParams);
4236
4236
  }
4237
- function normalize$6(input, existing, path, luvio, store, timestamp) {
4237
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
4238
4238
  return input;
4239
4239
  }
4240
- const select$k = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4240
+ const select$m = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4241
4241
  return {
4242
4242
  kind: 'Fragment',
4243
- version: VERSION$6,
4243
+ version: VERSION$7,
4244
4244
  private: [],
4245
4245
  selections: [
4246
4246
  {
@@ -4259,7 +4259,7 @@ const select$k = function SlackBridgeConversationMembersOutputRepresentationSele
4259
4259
  ]
4260
4260
  };
4261
4261
  };
4262
- function equals$6(existing, incoming) {
4262
+ function equals$7(existing, incoming) {
4263
4263
  const existing_channelId = existing.channelId;
4264
4264
  const incoming_channelId = incoming.channelId;
4265
4265
  if (!(existing_channelId === incoming_channelId)) {
@@ -4282,46 +4282,46 @@ function equals$6(existing, incoming) {
4282
4282
  }
4283
4283
  return true;
4284
4284
  }
4285
- const ingest$6 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4285
+ const ingest$7 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4286
4286
  if (process.env.NODE_ENV !== 'production') {
4287
- const validateError = validate$6(input);
4287
+ const validateError = validate$7(input);
4288
4288
  if (validateError !== null) {
4289
4289
  throw validateError;
4290
4290
  }
4291
4291
  }
4292
- const key = keyBuilderFromType$2(luvio, input);
4292
+ const key = keyBuilderFromType$3(luvio, input);
4293
4293
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4294
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
4294
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$7, RepresentationType$7, equals$7);
4295
4295
  return createLink(key);
4296
4296
  };
4297
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4297
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4298
4298
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4299
- const rootKey = keyBuilderFromType$2(luvio, input);
4299
+ const rootKey = keyBuilderFromType$3(luvio, input);
4300
4300
  rootKeySet.set(rootKey, {
4301
4301
  namespace: keyPrefix,
4302
- representationName: RepresentationType$6,
4302
+ representationName: RepresentationType$7,
4303
4303
  mergeable: false
4304
4304
  });
4305
4305
  }
4306
4306
 
4307
- function select$j(luvio, params) {
4308
- return select$k();
4307
+ function select$l(luvio, params) {
4308
+ return select$m();
4309
4309
  }
4310
- function keyBuilder$h(luvio, params) {
4311
- return keyBuilder$i(luvio, {
4310
+ function keyBuilder$i(luvio, params) {
4311
+ return keyBuilder$j(luvio, {
4312
4312
  channelId: params.urlParams.channelId
4313
4313
  });
4314
4314
  }
4315
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
4316
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
4315
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
4316
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
4317
4317
  }
4318
- function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4318
+ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4319
4319
  const { body } = response;
4320
- const key = keyBuilder$h(luvio, resourceParams);
4321
- luvio.storeIngest(key, ingest$6, body);
4320
+ const key = keyBuilder$i(luvio, resourceParams);
4321
+ luvio.storeIngest(key, ingest$7, body);
4322
4322
  const snapshot = luvio.storeLookup({
4323
4323
  recordId: key,
4324
- node: select$j(),
4324
+ node: select$l(),
4325
4325
  variables: {},
4326
4326
  }, snapshotRefresh);
4327
4327
  if (process.env.NODE_ENV !== 'production') {
@@ -4333,12 +4333,12 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4333
4333
  return snapshot;
4334
4334
  }
4335
4335
  function ingestError$7(luvio, params, error, snapshotRefresh) {
4336
- const key = keyBuilder$h(luvio, params);
4336
+ const key = keyBuilder$i(luvio, params);
4337
4337
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4338
4338
  luvio.storeIngestError(key, errorSnapshot);
4339
4339
  return errorSnapshot;
4340
4340
  }
4341
- function createResourceRequest$d(config) {
4341
+ function createResourceRequest$e(config) {
4342
4342
  const headers = {};
4343
4343
  return {
4344
4344
  baseUri: '/services/data/v63.0',
@@ -4356,64 +4356,64 @@ function createResourceRequestFromRepresentation$3(representation) {
4356
4356
  urlParams: {},
4357
4357
  };
4358
4358
  config.urlParams.channelId = representation.channelId;
4359
- return createResourceRequest$d(config);
4359
+ return createResourceRequest$e(config);
4360
4360
  }
4361
4361
 
4362
- const adapterName$d = 'getSlackConversationMembers';
4362
+ const adapterName$e = 'getSlackConversationMembers';
4363
4363
  const getSlackConversationMembers_ConfigPropertyMetadata = [
4364
4364
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4365
4365
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4366
4366
  ];
4367
- const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackConversationMembers_ConfigPropertyMetadata);
4368
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$j(getSlackConversationMembers_ConfigPropertyMetadata);
4369
- function keyBuilder$g(luvio, config) {
4370
- const resourceParams = createResourceParams$d(config);
4371
- return keyBuilder$h(luvio, resourceParams);
4367
+ const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMembers_ConfigPropertyMetadata);
4368
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$k(getSlackConversationMembers_ConfigPropertyMetadata);
4369
+ function keyBuilder$h(luvio, config) {
4370
+ const resourceParams = createResourceParams$e(config);
4371
+ return keyBuilder$i(luvio, resourceParams);
4372
4372
  }
4373
- function typeCheckConfig$d(untrustedConfig) {
4373
+ function typeCheckConfig$e(untrustedConfig) {
4374
4374
  const config = {};
4375
- typeCheckConfig$j(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
4375
+ typeCheckConfig$k(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
4376
4376
  return config;
4377
4377
  }
4378
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
4378
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
4379
4379
  if (!untrustedIsObject(untrustedConfig)) {
4380
4380
  return null;
4381
4381
  }
4382
4382
  if (process.env.NODE_ENV !== 'production') {
4383
4383
  validateConfig(untrustedConfig, configPropertyNames);
4384
4384
  }
4385
- const config = typeCheckConfig$d(untrustedConfig);
4385
+ const config = typeCheckConfig$e(untrustedConfig);
4386
4386
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4387
4387
  return null;
4388
4388
  }
4389
4389
  return config;
4390
4390
  }
4391
4391
  function adapterFragment$7(luvio, config) {
4392
- createResourceParams$d(config);
4393
- return select$j();
4392
+ createResourceParams$e(config);
4393
+ return select$l();
4394
4394
  }
4395
4395
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
4396
- const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
4396
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
4397
4397
  config,
4398
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4398
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4399
4399
  });
4400
4400
  return luvio.storeBroadcast().then(() => snapshot);
4401
4401
  }
4402
4402
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
4403
4403
  const snapshot = ingestError$7(luvio, resourceParams, response, {
4404
4404
  config,
4405
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4405
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4406
4406
  });
4407
4407
  return luvio.storeBroadcast().then(() => snapshot);
4408
4408
  }
4409
- function buildNetworkSnapshot$d(luvio, config, options) {
4410
- const resourceParams = createResourceParams$d(config);
4411
- const request = createResourceRequest$d(resourceParams);
4409
+ function buildNetworkSnapshot$e(luvio, config, options) {
4410
+ const resourceParams = createResourceParams$e(config);
4411
+ const request = createResourceRequest$e(resourceParams);
4412
4412
  return luvio.dispatchResourceRequest(request, options)
4413
4413
  .then((response) => {
4414
4414
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
4415
4415
  const cache = new StoreKeyMap();
4416
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
4416
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
4417
4417
  return cache;
4418
4418
  });
4419
4419
  }, (response) => {
@@ -4421,23 +4421,23 @@ function buildNetworkSnapshot$d(luvio, config, options) {
4421
4421
  });
4422
4422
  }
4423
4423
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
4424
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
4424
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
4425
4425
  }
4426
4426
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
4427
4427
  const { luvio, config } = context;
4428
4428
  const selector = {
4429
- recordId: keyBuilder$g(luvio, config),
4429
+ recordId: keyBuilder$h(luvio, config),
4430
4430
  node: adapterFragment$7(luvio, config),
4431
4431
  variables: {},
4432
4432
  };
4433
4433
  const cacheSnapshot = storeLookup(selector, {
4434
4434
  config,
4435
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4435
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4436
4436
  });
4437
4437
  return cacheSnapshot;
4438
4438
  }
4439
4439
  const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
4440
- const config = validateAdapterConfig$d(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
4440
+ const config = validateAdapterConfig$e(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
4441
4441
  // Invalid or incomplete config
4442
4442
  if (config === null) {
4443
4443
  return null;
@@ -4447,7 +4447,7 @@ const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridg
4447
4447
  };
4448
4448
  const notifyChangeFactory$3 = (luvio, options) => {
4449
4449
  return function getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamIdNotifyChange(configs) {
4450
- const keys = configs.map(c => keyBuilder$i(luvio, c));
4450
+ const keys = configs.map(c => keyBuilder$j(luvio, c));
4451
4451
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4452
4452
  for (let i = 0, len = entries.length; i < len; i++) {
4453
4453
  const { key, record: val } = entries[i];
@@ -4456,11 +4456,11 @@ const notifyChangeFactory$3 = (luvio, options) => {
4456
4456
  .then((response) => {
4457
4457
  return luvio.handleSuccessResponse(() => {
4458
4458
  const { body } = response;
4459
- luvio.storeIngest(key, ingest$6, body);
4459
+ luvio.storeIngest(key, ingest$7, body);
4460
4460
  return luvio.storeBroadcast();
4461
4461
  }, () => {
4462
4462
  const cache = new StoreKeyMap();
4463
- getTypeCacheKeys$6(cache, luvio, response.body);
4463
+ getTypeCacheKeys$7(cache, luvio, response.body);
4464
4464
  return cache;
4465
4465
  });
4466
4466
  }, (error) => {
@@ -4475,8 +4475,8 @@ const notifyChangeFactory$3 = (luvio, options) => {
4475
4475
  };
4476
4476
  };
4477
4477
 
4478
- const VERSION$5 = "8eb41a29d901a4cc9611e387d180f0da";
4479
- function validate$5(obj, path = 'SlackBridgeCustomEmojisOutputRepresentation') {
4478
+ const VERSION$6 = "8eb41a29d901a4cc9611e387d180f0da";
4479
+ function validate$6(obj, path = 'SlackBridgeCustomEmojisOutputRepresentation') {
4480
4480
  const v_error = (() => {
4481
4481
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4482
4482
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4503,14 +4503,14 @@ function validate$5(obj, path = 'SlackBridgeCustomEmojisOutputRepresentation') {
4503
4503
  })();
4504
4504
  return v_error === undefined ? null : v_error;
4505
4505
  }
4506
- const RepresentationType$5 = 'SlackBridgeCustomEmojisOutputRepresentation';
4507
- function normalize$5(input, existing, path, luvio, store, timestamp) {
4506
+ const RepresentationType$6 = 'SlackBridgeCustomEmojisOutputRepresentation';
4507
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
4508
4508
  return input;
4509
4509
  }
4510
- const select$i = function SlackBridgeCustomEmojisOutputRepresentationSelect() {
4510
+ const select$k = function SlackBridgeCustomEmojisOutputRepresentationSelect() {
4511
4511
  return {
4512
4512
  kind: 'Fragment',
4513
- version: VERSION$5,
4513
+ version: VERSION$6,
4514
4514
  private: [],
4515
4515
  selections: [
4516
4516
  {
@@ -4525,7 +4525,7 @@ const select$i = function SlackBridgeCustomEmojisOutputRepresentationSelect() {
4525
4525
  ]
4526
4526
  };
4527
4527
  };
4528
- function equals$5(existing, incoming) {
4528
+ function equals$6(existing, incoming) {
4529
4529
  const existing_teamId = existing.teamId;
4530
4530
  const incoming_teamId = incoming.teamId;
4531
4531
  if (!(existing_teamId === incoming_teamId)) {
@@ -4543,44 +4543,44 @@ function equals$5(existing, incoming) {
4543
4543
  }
4544
4544
  return true;
4545
4545
  }
4546
- const ingest$5 = function SlackBridgeCustomEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4546
+ const ingest$6 = function SlackBridgeCustomEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4547
4547
  if (process.env.NODE_ENV !== 'production') {
4548
- const validateError = validate$5(input);
4548
+ const validateError = validate$6(input);
4549
4549
  if (validateError !== null) {
4550
4550
  throw validateError;
4551
4551
  }
4552
4552
  }
4553
4553
  const key = path.fullPath;
4554
4554
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4555
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
4555
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
4556
4556
  return createLink(key);
4557
4557
  };
4558
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
4558
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4559
4559
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4560
4560
  const rootKey = fullPathFactory();
4561
4561
  rootKeySet.set(rootKey, {
4562
4562
  namespace: keyPrefix,
4563
- representationName: RepresentationType$5,
4563
+ representationName: RepresentationType$6,
4564
4564
  mergeable: false
4565
4565
  });
4566
4566
  }
4567
4567
 
4568
- function select$h(luvio, params) {
4569
- return select$i();
4568
+ function select$j(luvio, params) {
4569
+ return select$k();
4570
4570
  }
4571
- function keyBuilder$f(luvio, params) {
4571
+ function keyBuilder$g(luvio, params) {
4572
4572
  return keyPrefix + '::SlackBridgeCustomEmojisOutputRepresentation:(' + 'teamId:' + params.urlParams.teamId + ')';
4573
4573
  }
4574
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
4575
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
4574
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
4575
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
4576
4576
  }
4577
- function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
4577
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4578
4578
  const { body } = response;
4579
- const key = keyBuilder$f(luvio, resourceParams);
4580
- luvio.storeIngest(key, ingest$5, body);
4579
+ const key = keyBuilder$g(luvio, resourceParams);
4580
+ luvio.storeIngest(key, ingest$6, body);
4581
4581
  const snapshot = luvio.storeLookup({
4582
4582
  recordId: key,
4583
- node: select$h(),
4583
+ node: select$j(),
4584
4584
  variables: {},
4585
4585
  }, snapshotRefresh);
4586
4586
  if (process.env.NODE_ENV !== 'production') {
@@ -4592,12 +4592,12 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
4592
4592
  return snapshot;
4593
4593
  }
4594
4594
  function ingestError$6(luvio, params, error, snapshotRefresh) {
4595
- const key = keyBuilder$f(luvio, params);
4595
+ const key = keyBuilder$g(luvio, params);
4596
4596
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4597
4597
  luvio.storeIngestError(key, errorSnapshot);
4598
4598
  return errorSnapshot;
4599
4599
  }
4600
- function createResourceRequest$c(config) {
4600
+ function createResourceRequest$d(config) {
4601
4601
  const headers = {};
4602
4602
  return {
4603
4603
  baseUri: '/services/data/v63.0',
@@ -4611,60 +4611,60 @@ function createResourceRequest$c(config) {
4611
4611
  };
4612
4612
  }
4613
4613
 
4614
- const adapterName$c = 'getSlackCustomEmoji';
4614
+ const adapterName$d = 'getSlackCustomEmoji';
4615
4615
  const getSlackCustomEmoji_ConfigPropertyMetadata = [
4616
4616
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4617
4617
  ];
4618
- const getSlackCustomEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackCustomEmoji_ConfigPropertyMetadata);
4619
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$j(getSlackCustomEmoji_ConfigPropertyMetadata);
4620
- function keyBuilder$e(luvio, config) {
4621
- const resourceParams = createResourceParams$c(config);
4622
- return keyBuilder$f(luvio, resourceParams);
4618
+ const getSlackCustomEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackCustomEmoji_ConfigPropertyMetadata);
4619
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$k(getSlackCustomEmoji_ConfigPropertyMetadata);
4620
+ function keyBuilder$f(luvio, config) {
4621
+ const resourceParams = createResourceParams$d(config);
4622
+ return keyBuilder$g(luvio, resourceParams);
4623
4623
  }
4624
- function typeCheckConfig$c(untrustedConfig) {
4624
+ function typeCheckConfig$d(untrustedConfig) {
4625
4625
  const config = {};
4626
- typeCheckConfig$j(untrustedConfig, config, getSlackCustomEmoji_ConfigPropertyMetadata);
4626
+ typeCheckConfig$k(untrustedConfig, config, getSlackCustomEmoji_ConfigPropertyMetadata);
4627
4627
  return config;
4628
4628
  }
4629
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
4629
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
4630
4630
  if (!untrustedIsObject(untrustedConfig)) {
4631
4631
  return null;
4632
4632
  }
4633
4633
  if (process.env.NODE_ENV !== 'production') {
4634
4634
  validateConfig(untrustedConfig, configPropertyNames);
4635
4635
  }
4636
- const config = typeCheckConfig$c(untrustedConfig);
4636
+ const config = typeCheckConfig$d(untrustedConfig);
4637
4637
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4638
4638
  return null;
4639
4639
  }
4640
4640
  return config;
4641
4641
  }
4642
4642
  function adapterFragment$6(luvio, config) {
4643
- createResourceParams$c(config);
4644
- return select$h();
4643
+ createResourceParams$d(config);
4644
+ return select$j();
4645
4645
  }
4646
4646
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
4647
- const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
4647
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
4648
4648
  config,
4649
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
4649
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4650
4650
  });
4651
4651
  return luvio.storeBroadcast().then(() => snapshot);
4652
4652
  }
4653
4653
  function onFetchResponseError$6(luvio, config, resourceParams, response) {
4654
4654
  const snapshot = ingestError$6(luvio, resourceParams, response, {
4655
4655
  config,
4656
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
4656
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4657
4657
  });
4658
4658
  return luvio.storeBroadcast().then(() => snapshot);
4659
4659
  }
4660
- function buildNetworkSnapshot$c(luvio, config, options) {
4661
- const resourceParams = createResourceParams$c(config);
4662
- const request = createResourceRequest$c(resourceParams);
4660
+ function buildNetworkSnapshot$d(luvio, config, options) {
4661
+ const resourceParams = createResourceParams$d(config);
4662
+ const request = createResourceRequest$d(resourceParams);
4663
4663
  return luvio.dispatchResourceRequest(request, options)
4664
4664
  .then((response) => {
4665
4665
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
4666
4666
  const cache = new StoreKeyMap();
4667
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
4667
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
4668
4668
  return cache;
4669
4669
  });
4670
4670
  }, (response) => {
@@ -4672,23 +4672,23 @@ function buildNetworkSnapshot$c(luvio, config, options) {
4672
4672
  });
4673
4673
  }
4674
4674
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
4675
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
4675
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
4676
4676
  }
4677
4677
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
4678
4678
  const { luvio, config } = context;
4679
4679
  const selector = {
4680
- recordId: keyBuilder$e(luvio, config),
4680
+ recordId: keyBuilder$f(luvio, config),
4681
4681
  node: adapterFragment$6(luvio, config),
4682
4682
  variables: {},
4683
4683
  };
4684
4684
  const cacheSnapshot = storeLookup(selector, {
4685
4685
  config,
4686
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
4686
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4687
4687
  });
4688
4688
  return cacheSnapshot;
4689
4689
  }
4690
4690
  const getSlackCustomEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackCustomEmoji(untrustedConfig, requestContext) {
4691
- const config = validateAdapterConfig$c(untrustedConfig, getSlackCustomEmoji_ConfigPropertyNames);
4691
+ const config = validateAdapterConfig$d(untrustedConfig, getSlackCustomEmoji_ConfigPropertyNames);
4692
4692
  // Invalid or incomplete config
4693
4693
  if (config === null) {
4694
4694
  return null;
@@ -4697,24 +4697,24 @@ const getSlackCustomEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
4697
4697
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
4698
4698
  };
4699
4699
 
4700
- function select$g(luvio, params) {
4701
- return select$z();
4700
+ function select$i(luvio, params) {
4701
+ return select$B();
4702
4702
  }
4703
- function keyBuilder$d(luvio, params) {
4704
- return keyBuilder$t(luvio, {
4703
+ function keyBuilder$e(luvio, params) {
4704
+ return keyBuilder$u(luvio, {
4705
4705
  channelId: params.urlParams.channelId
4706
4706
  });
4707
4707
  }
4708
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
4709
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
4708
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
4709
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
4710
4710
  }
4711
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
4711
+ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
4712
4712
  const { body } = response;
4713
- const key = keyBuilder$d(luvio, resourceParams);
4714
- luvio.storeIngest(key, ingest$e, body);
4713
+ const key = keyBuilder$e(luvio, resourceParams);
4714
+ luvio.storeIngest(key, ingest$f, body);
4715
4715
  const snapshot = luvio.storeLookup({
4716
4716
  recordId: key,
4717
- node: select$g(),
4717
+ node: select$i(),
4718
4718
  variables: {},
4719
4719
  }, snapshotRefresh);
4720
4720
  if (process.env.NODE_ENV !== 'production') {
@@ -4726,12 +4726,12 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
4726
4726
  return snapshot;
4727
4727
  }
4728
4728
  function ingestError$5(luvio, params, error, snapshotRefresh) {
4729
- const key = keyBuilder$d(luvio, params);
4729
+ const key = keyBuilder$e(luvio, params);
4730
4730
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4731
4731
  luvio.storeIngestError(key, errorSnapshot);
4732
4732
  return errorSnapshot;
4733
4733
  }
4734
- function createResourceRequest$b(config) {
4734
+ function createResourceRequest$c(config) {
4735
4735
  const headers = {};
4736
4736
  return {
4737
4737
  baseUri: '/services/data/v63.0',
@@ -4749,65 +4749,65 @@ function createResourceRequestFromRepresentation$2(representation) {
4749
4749
  urlParams: {},
4750
4750
  };
4751
4751
  config.urlParams.channelId = representation.channelId;
4752
- return createResourceRequest$b(config);
4752
+ return createResourceRequest$c(config);
4753
4753
  }
4754
4754
 
4755
- const adapterName$b = 'getSlackMessage';
4755
+ const adapterName$c = 'getSlackMessage';
4756
4756
  const getSlackMessage_ConfigPropertyMetadata = [
4757
4757
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4758
4758
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
4759
4759
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4760
4760
  ];
4761
- const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackMessage_ConfigPropertyMetadata);
4762
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$j(getSlackMessage_ConfigPropertyMetadata);
4763
- function keyBuilder$c(luvio, config) {
4764
- const resourceParams = createResourceParams$b(config);
4765
- return keyBuilder$d(luvio, resourceParams);
4761
+ const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackMessage_ConfigPropertyMetadata);
4762
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$k(getSlackMessage_ConfigPropertyMetadata);
4763
+ function keyBuilder$d(luvio, config) {
4764
+ const resourceParams = createResourceParams$c(config);
4765
+ return keyBuilder$e(luvio, resourceParams);
4766
4766
  }
4767
- function typeCheckConfig$b(untrustedConfig) {
4767
+ function typeCheckConfig$c(untrustedConfig) {
4768
4768
  const config = {};
4769
- typeCheckConfig$j(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
4769
+ typeCheckConfig$k(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
4770
4770
  return config;
4771
4771
  }
4772
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
4772
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
4773
4773
  if (!untrustedIsObject(untrustedConfig)) {
4774
4774
  return null;
4775
4775
  }
4776
4776
  if (process.env.NODE_ENV !== 'production') {
4777
4777
  validateConfig(untrustedConfig, configPropertyNames);
4778
4778
  }
4779
- const config = typeCheckConfig$b(untrustedConfig);
4779
+ const config = typeCheckConfig$c(untrustedConfig);
4780
4780
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4781
4781
  return null;
4782
4782
  }
4783
4783
  return config;
4784
4784
  }
4785
4785
  function adapterFragment$5(luvio, config) {
4786
- createResourceParams$b(config);
4787
- return select$g();
4786
+ createResourceParams$c(config);
4787
+ return select$i();
4788
4788
  }
4789
4789
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
4790
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
4790
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
4791
4791
  config,
4792
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4792
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
4793
4793
  });
4794
4794
  return luvio.storeBroadcast().then(() => snapshot);
4795
4795
  }
4796
4796
  function onFetchResponseError$5(luvio, config, resourceParams, response) {
4797
4797
  const snapshot = ingestError$5(luvio, resourceParams, response, {
4798
4798
  config,
4799
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4799
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
4800
4800
  });
4801
4801
  return luvio.storeBroadcast().then(() => snapshot);
4802
4802
  }
4803
- function buildNetworkSnapshot$b(luvio, config, options) {
4804
- const resourceParams = createResourceParams$b(config);
4805
- const request = createResourceRequest$b(resourceParams);
4803
+ function buildNetworkSnapshot$c(luvio, config, options) {
4804
+ const resourceParams = createResourceParams$c(config);
4805
+ const request = createResourceRequest$c(resourceParams);
4806
4806
  return luvio.dispatchResourceRequest(request, options)
4807
4807
  .then((response) => {
4808
4808
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
4809
4809
  const cache = new StoreKeyMap();
4810
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
4810
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
4811
4811
  return cache;
4812
4812
  });
4813
4813
  }, (response) => {
@@ -4815,23 +4815,23 @@ function buildNetworkSnapshot$b(luvio, config, options) {
4815
4815
  });
4816
4816
  }
4817
4817
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
4818
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
4818
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
4819
4819
  }
4820
4820
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
4821
4821
  const { luvio, config } = context;
4822
4822
  const selector = {
4823
- recordId: keyBuilder$c(luvio, config),
4823
+ recordId: keyBuilder$d(luvio, config),
4824
4824
  node: adapterFragment$5(luvio, config),
4825
4825
  variables: {},
4826
4826
  };
4827
4827
  const cacheSnapshot = storeLookup(selector, {
4828
4828
  config,
4829
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4829
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
4830
4830
  });
4831
4831
  return cacheSnapshot;
4832
4832
  }
4833
4833
  const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackMessage(untrustedConfig, requestContext) {
4834
- const config = validateAdapterConfig$b(untrustedConfig, getSlackMessage_ConfigPropertyNames);
4834
+ const config = validateAdapterConfig$c(untrustedConfig, getSlackMessage_ConfigPropertyNames);
4835
4835
  // Invalid or incomplete config
4836
4836
  if (config === null) {
4837
4837
  return null;
@@ -4841,7 +4841,7 @@ const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackM
4841
4841
  };
4842
4842
  const notifyChangeFactory$2 = (luvio, options) => {
4843
4843
  return function getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamIdNotifyChange(configs) {
4844
- const keys = configs.map(c => keyBuilder$t(luvio, c));
4844
+ const keys = configs.map(c => keyBuilder$u(luvio, c));
4845
4845
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
4846
4846
  for (let i = 0, len = entries.length; i < len; i++) {
4847
4847
  const { key, record: val } = entries[i];
@@ -4850,11 +4850,11 @@ const notifyChangeFactory$2 = (luvio, options) => {
4850
4850
  .then((response) => {
4851
4851
  return luvio.handleSuccessResponse(() => {
4852
4852
  const { body } = response;
4853
- luvio.storeIngest(key, ingest$e, body);
4853
+ luvio.storeIngest(key, ingest$f, body);
4854
4854
  return luvio.storeBroadcast();
4855
4855
  }, () => {
4856
4856
  const cache = new StoreKeyMap();
4857
- getTypeCacheKeys$e(cache, luvio, response.body);
4857
+ getTypeCacheKeys$f(cache, luvio, response.body);
4858
4858
  return cache;
4859
4859
  });
4860
4860
  }, (error) => {
@@ -4869,8 +4869,8 @@ const notifyChangeFactory$2 = (luvio, options) => {
4869
4869
  };
4870
4870
  };
4871
4871
 
4872
- const VERSION$4 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4873
- function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4872
+ const VERSION$5 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4873
+ function validate$5(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4874
4874
  const v_error = (() => {
4875
4875
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4876
4876
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4893,20 +4893,20 @@ function validate$4(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
4893
4893
  })();
4894
4894
  return v_error === undefined ? null : v_error;
4895
4895
  }
4896
- const RepresentationType$4 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4897
- function keyBuilder$b(luvio, config) {
4898
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.relatedRecordId;
4896
+ const RepresentationType$5 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4897
+ function keyBuilder$c(luvio, config) {
4898
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.relatedRecordId;
4899
4899
  }
4900
- function keyBuilderFromType$1(luvio, object) {
4900
+ function keyBuilderFromType$2(luvio, object) {
4901
4901
  const keyParams = {
4902
4902
  relatedRecordId: object.relatedRecordId
4903
4903
  };
4904
- return keyBuilder$b(luvio, keyParams);
4904
+ return keyBuilder$c(luvio, keyParams);
4905
4905
  }
4906
- function normalize$4(input, existing, path, luvio, store, timestamp) {
4906
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
4907
4907
  const input_conversationInfo = input.conversationInfo;
4908
4908
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
4909
- input.conversationInfo = ingest$b(input_conversationInfo, {
4909
+ input.conversationInfo = ingest$c(input_conversationInfo, {
4910
4910
  fullPath: input_conversationInfo_id,
4911
4911
  propertyName: 'conversationInfo',
4912
4912
  parent: {
@@ -4918,16 +4918,16 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
4918
4918
  }, luvio, store, timestamp);
4919
4919
  return input;
4920
4920
  }
4921
- const select$f = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4921
+ const select$h = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4922
4922
  return {
4923
4923
  kind: 'Fragment',
4924
- version: VERSION$4,
4924
+ version: VERSION$5,
4925
4925
  private: [],
4926
4926
  selections: [
4927
4927
  {
4928
4928
  name: 'conversationInfo',
4929
4929
  kind: 'Link',
4930
- fragment: select$u()
4930
+ fragment: select$w()
4931
4931
  },
4932
4932
  {
4933
4933
  name: 'relatedRecordId',
@@ -4940,7 +4940,7 @@ const select$f = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
4940
4940
  ]
4941
4941
  };
4942
4942
  };
4943
- function equals$4(existing, incoming) {
4943
+ function equals$5(existing, incoming) {
4944
4944
  const existing_relatedRecordId = existing.relatedRecordId;
4945
4945
  const incoming_relatedRecordId = incoming.relatedRecordId;
4946
4946
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -4958,47 +4958,47 @@ function equals$4(existing, incoming) {
4958
4958
  }
4959
4959
  return true;
4960
4960
  }
4961
- const ingest$4 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4961
+ const ingest$5 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4962
4962
  if (process.env.NODE_ENV !== 'production') {
4963
- const validateError = validate$4(input);
4963
+ const validateError = validate$5(input);
4964
4964
  if (validateError !== null) {
4965
4965
  throw validateError;
4966
4966
  }
4967
4967
  }
4968
- const key = keyBuilderFromType$1(luvio, input);
4968
+ const key = keyBuilderFromType$2(luvio, input);
4969
4969
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4970
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
4970
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
4971
4971
  return createLink(key);
4972
4972
  };
4973
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
4973
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
4974
4974
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4975
- const rootKey = keyBuilderFromType$1(luvio, input);
4975
+ const rootKey = keyBuilderFromType$2(luvio, input);
4976
4976
  rootKeySet.set(rootKey, {
4977
4977
  namespace: keyPrefix,
4978
- representationName: RepresentationType$4,
4978
+ representationName: RepresentationType$5,
4979
4979
  mergeable: false
4980
4980
  });
4981
- getTypeCacheKeys$b(rootKeySet, luvio, input.conversationInfo);
4981
+ getTypeCacheKeys$c(rootKeySet, luvio, input.conversationInfo);
4982
4982
  }
4983
4983
 
4984
- function select$e(luvio, params) {
4985
- return select$f();
4984
+ function select$g(luvio, params) {
4985
+ return select$h();
4986
4986
  }
4987
- function keyBuilder$a(luvio, params) {
4988
- return keyBuilder$b(luvio, {
4987
+ function keyBuilder$b(luvio, params) {
4988
+ return keyBuilder$c(luvio, {
4989
4989
  relatedRecordId: params.urlParams.relatedRecordId
4990
4990
  });
4991
4991
  }
4992
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
4993
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
4992
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
4993
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
4994
4994
  }
4995
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
4995
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
4996
4996
  const { body } = response;
4997
- const key = keyBuilder$a(luvio, resourceParams);
4998
- luvio.storeIngest(key, ingest$4, body);
4997
+ const key = keyBuilder$b(luvio, resourceParams);
4998
+ luvio.storeIngest(key, ingest$5, body);
4999
4999
  const snapshot = luvio.storeLookup({
5000
5000
  recordId: key,
5001
- node: select$e(),
5001
+ node: select$g(),
5002
5002
  variables: {},
5003
5003
  }, snapshotRefresh);
5004
5004
  if (process.env.NODE_ENV !== 'production') {
@@ -5010,12 +5010,12 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
5010
5010
  return snapshot;
5011
5011
  }
5012
5012
  function ingestError$4(luvio, params, error, snapshotRefresh) {
5013
- const key = keyBuilder$a(luvio, params);
5013
+ const key = keyBuilder$b(luvio, params);
5014
5014
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5015
5015
  luvio.storeIngestError(key, errorSnapshot);
5016
5016
  return errorSnapshot;
5017
5017
  }
5018
- function createResourceRequest$a(config) {
5018
+ function createResourceRequest$b(config) {
5019
5019
  const headers = {};
5020
5020
  return {
5021
5021
  baseUri: '/services/data/v63.0',
@@ -5033,63 +5033,63 @@ function createResourceRequestFromRepresentation$1(representation) {
5033
5033
  urlParams: {},
5034
5034
  };
5035
5035
  config.urlParams.relatedRecordId = representation.relatedRecordId;
5036
- return createResourceRequest$a(config);
5036
+ return createResourceRequest$b(config);
5037
5037
  }
5038
5038
 
5039
- const adapterName$a = 'getSlackRecordChannelInfo';
5039
+ const adapterName$b = 'getSlackRecordChannelInfo';
5040
5040
  const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
5041
5041
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
5042
5042
  ];
5043
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5044
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$j(getSlackRecordChannelInfo_ConfigPropertyMetadata);
5045
- function keyBuilder$9(luvio, config) {
5046
- const resourceParams = createResourceParams$a(config);
5047
- return keyBuilder$a(luvio, resourceParams);
5043
+ const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5044
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$k(getSlackRecordChannelInfo_ConfigPropertyMetadata);
5045
+ function keyBuilder$a(luvio, config) {
5046
+ const resourceParams = createResourceParams$b(config);
5047
+ return keyBuilder$b(luvio, resourceParams);
5048
5048
  }
5049
- function typeCheckConfig$a(untrustedConfig) {
5049
+ function typeCheckConfig$b(untrustedConfig) {
5050
5050
  const config = {};
5051
- typeCheckConfig$j(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5051
+ typeCheckConfig$k(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
5052
5052
  return config;
5053
5053
  }
5054
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
5054
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
5055
5055
  if (!untrustedIsObject(untrustedConfig)) {
5056
5056
  return null;
5057
5057
  }
5058
5058
  if (process.env.NODE_ENV !== 'production') {
5059
5059
  validateConfig(untrustedConfig, configPropertyNames);
5060
5060
  }
5061
- const config = typeCheckConfig$a(untrustedConfig);
5061
+ const config = typeCheckConfig$b(untrustedConfig);
5062
5062
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5063
5063
  return null;
5064
5064
  }
5065
5065
  return config;
5066
5066
  }
5067
5067
  function adapterFragment$4(luvio, config) {
5068
- createResourceParams$a(config);
5069
- return select$e();
5068
+ createResourceParams$b(config);
5069
+ return select$g();
5070
5070
  }
5071
5071
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
5072
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
5072
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
5073
5073
  config,
5074
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5074
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5075
5075
  });
5076
5076
  return luvio.storeBroadcast().then(() => snapshot);
5077
5077
  }
5078
5078
  function onFetchResponseError$4(luvio, config, resourceParams, response) {
5079
5079
  const snapshot = ingestError$4(luvio, resourceParams, response, {
5080
5080
  config,
5081
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5081
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5082
5082
  });
5083
5083
  return luvio.storeBroadcast().then(() => snapshot);
5084
5084
  }
5085
- function buildNetworkSnapshot$a(luvio, config, options) {
5086
- const resourceParams = createResourceParams$a(config);
5087
- const request = createResourceRequest$a(resourceParams);
5085
+ function buildNetworkSnapshot$b(luvio, config, options) {
5086
+ const resourceParams = createResourceParams$b(config);
5087
+ const request = createResourceRequest$b(resourceParams);
5088
5088
  return luvio.dispatchResourceRequest(request, options)
5089
5089
  .then((response) => {
5090
5090
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
5091
5091
  const cache = new StoreKeyMap();
5092
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
5092
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
5093
5093
  return cache;
5094
5094
  });
5095
5095
  }, (response) => {
@@ -5097,23 +5097,23 @@ function buildNetworkSnapshot$a(luvio, config, options) {
5097
5097
  });
5098
5098
  }
5099
5099
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
5100
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
5100
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5101
5101
  }
5102
5102
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
5103
5103
  const { luvio, config } = context;
5104
5104
  const selector = {
5105
- recordId: keyBuilder$9(luvio, config),
5105
+ recordId: keyBuilder$a(luvio, config),
5106
5106
  node: adapterFragment$4(luvio, config),
5107
5107
  variables: {},
5108
5108
  };
5109
5109
  const cacheSnapshot = storeLookup(selector, {
5110
5110
  config,
5111
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5111
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
5112
5112
  });
5113
5113
  return cacheSnapshot;
5114
5114
  }
5115
5115
  const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
5116
- const config = validateAdapterConfig$a(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
5116
+ const config = validateAdapterConfig$b(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
5117
5117
  // Invalid or incomplete config
5118
5118
  if (config === null) {
5119
5119
  return null;
@@ -5123,7 +5123,7 @@ const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge_
5123
5123
  };
5124
5124
  const notifyChangeFactory$1 = (luvio, options) => {
5125
5125
  return function getConnectSlackbridgeRecord_channelsByRelatedRecordIdNotifyChange(configs) {
5126
- const keys = configs.map(c => keyBuilder$b(luvio, c));
5126
+ const keys = configs.map(c => keyBuilder$c(luvio, c));
5127
5127
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
5128
5128
  for (let i = 0, len = entries.length; i < len; i++) {
5129
5129
  const { key, record: val } = entries[i];
@@ -5132,11 +5132,11 @@ const notifyChangeFactory$1 = (luvio, options) => {
5132
5132
  .then((response) => {
5133
5133
  return luvio.handleSuccessResponse(() => {
5134
5134
  const { body } = response;
5135
- luvio.storeIngest(key, ingest$4, body);
5135
+ luvio.storeIngest(key, ingest$5, body);
5136
5136
  return luvio.storeBroadcast();
5137
5137
  }, () => {
5138
5138
  const cache = new StoreKeyMap();
5139
- getTypeCacheKeys$4(cache, luvio, response.body);
5139
+ getTypeCacheKeys$5(cache, luvio, response.body);
5140
5140
  return cache;
5141
5141
  });
5142
5142
  }, (error) => {
@@ -5151,8 +5151,8 @@ const notifyChangeFactory$1 = (luvio, options) => {
5151
5151
  };
5152
5152
  };
5153
5153
 
5154
- const VERSION$3 = "0de597a47ca8ecad2cfb7fd9c8f73920";
5155
- function validate$3(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
5154
+ const VERSION$4 = "0de597a47ca8ecad2cfb7fd9c8f73920";
5155
+ function validate$4(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
5156
5156
  const v_error = (() => {
5157
5157
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5158
5158
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5198,14 +5198,14 @@ function validate$3(obj, path = 'SlackBridgeConversationInfosOutputRepresentatio
5198
5198
  })();
5199
5199
  return v_error === undefined ? null : v_error;
5200
5200
  }
5201
- const RepresentationType$3 = 'SlackBridgeConversationInfosOutputRepresentation';
5202
- function normalize$3(input, existing, path, luvio, store, timestamp) {
5201
+ const RepresentationType$4 = 'SlackBridgeConversationInfosOutputRepresentation';
5202
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
5203
5203
  const input_conversationInfos = input.conversationInfos;
5204
5204
  const input_conversationInfos_id = path.fullPath + '__conversationInfos';
5205
5205
  for (let i = 0; i < input_conversationInfos.length; i++) {
5206
5206
  const input_conversationInfos_item = input_conversationInfos[i];
5207
5207
  let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
5208
- input_conversationInfos[i] = ingest$b(input_conversationInfos_item, {
5208
+ input_conversationInfos[i] = ingest$c(input_conversationInfos_item, {
5209
5209
  fullPath: input_conversationInfos_item_id,
5210
5210
  propertyName: i,
5211
5211
  parent: {
@@ -5218,17 +5218,17 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
5218
5218
  }
5219
5219
  return input;
5220
5220
  }
5221
- const select$d = function SlackBridgeConversationInfosOutputRepresentationSelect() {
5221
+ const select$f = function SlackBridgeConversationInfosOutputRepresentationSelect() {
5222
5222
  return {
5223
5223
  kind: 'Fragment',
5224
- version: VERSION$3,
5224
+ version: VERSION$4,
5225
5225
  private: [],
5226
5226
  selections: [
5227
5227
  {
5228
5228
  name: 'conversationInfos',
5229
5229
  kind: 'Link',
5230
5230
  plural: true,
5231
- fragment: select$u()
5231
+ fragment: select$w()
5232
5232
  },
5233
5233
  {
5234
5234
  name: 'searchString',
@@ -5237,7 +5237,7 @@ const select$d = function SlackBridgeConversationInfosOutputRepresentationSelect
5237
5237
  ]
5238
5238
  };
5239
5239
  };
5240
- function equals$3(existing, incoming) {
5240
+ function equals$4(existing, incoming) {
5241
5241
  const existing_conversationInfos = existing.conversationInfos;
5242
5242
  const incoming_conversationInfos = incoming.conversationInfos;
5243
5243
  const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
@@ -5255,48 +5255,48 @@ function equals$3(existing, incoming) {
5255
5255
  }
5256
5256
  return true;
5257
5257
  }
5258
- const ingest$3 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5258
+ const ingest$4 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5259
5259
  if (process.env.NODE_ENV !== 'production') {
5260
- const validateError = validate$3(input);
5260
+ const validateError = validate$4(input);
5261
5261
  if (validateError !== null) {
5262
5262
  throw validateError;
5263
5263
  }
5264
5264
  }
5265
5265
  const key = path.fullPath;
5266
5266
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5267
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
5267
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
5268
5268
  return createLink(key);
5269
5269
  };
5270
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
5270
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5271
5271
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5272
5272
  const rootKey = fullPathFactory();
5273
5273
  rootKeySet.set(rootKey, {
5274
5274
  namespace: keyPrefix,
5275
- representationName: RepresentationType$3,
5275
+ representationName: RepresentationType$4,
5276
5276
  mergeable: false
5277
5277
  });
5278
5278
  const input_conversationInfos_length = input.conversationInfos.length;
5279
5279
  for (let i = 0; i < input_conversationInfos_length; i++) {
5280
- getTypeCacheKeys$b(rootKeySet, luvio, input.conversationInfos[i]);
5280
+ getTypeCacheKeys$c(rootKeySet, luvio, input.conversationInfos[i]);
5281
5281
  }
5282
5282
  }
5283
5283
 
5284
- function select$c(luvio, params) {
5285
- return select$d();
5284
+ function select$e(luvio, params) {
5285
+ return select$f();
5286
5286
  }
5287
- function keyBuilder$8(luvio, params) {
5287
+ function keyBuilder$9(luvio, params) {
5288
5288
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
5289
5289
  }
5290
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
5291
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
5290
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
5291
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
5292
5292
  }
5293
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5293
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
5294
5294
  const { body } = response;
5295
- const key = keyBuilder$8(luvio, resourceParams);
5296
- luvio.storeIngest(key, ingest$3, body);
5295
+ const key = keyBuilder$9(luvio, resourceParams);
5296
+ luvio.storeIngest(key, ingest$4, body);
5297
5297
  const snapshot = luvio.storeLookup({
5298
5298
  recordId: key,
5299
- node: select$c(),
5299
+ node: select$e(),
5300
5300
  variables: {},
5301
5301
  }, snapshotRefresh);
5302
5302
  if (process.env.NODE_ENV !== 'production') {
@@ -5308,12 +5308,12 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5308
5308
  return snapshot;
5309
5309
  }
5310
5310
  function ingestError$3(luvio, params, error, snapshotRefresh) {
5311
- const key = keyBuilder$8(luvio, params);
5311
+ const key = keyBuilder$9(luvio, params);
5312
5312
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5313
5313
  luvio.storeIngestError(key, errorSnapshot);
5314
5314
  return errorSnapshot;
5315
5315
  }
5316
- function createResourceRequest$9(config) {
5316
+ function createResourceRequest$a(config) {
5317
5317
  const headers = {};
5318
5318
  return {
5319
5319
  baseUri: '/services/data/v63.0',
@@ -5327,61 +5327,61 @@ function createResourceRequest$9(config) {
5327
5327
  };
5328
5328
  }
5329
5329
 
5330
- const adapterName$9 = 'getSlackSearchConversation';
5330
+ const adapterName$a = 'getSlackSearchConversation';
5331
5331
  const getSlackSearchConversation_ConfigPropertyMetadata = [
5332
5332
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5333
5333
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
5334
5334
  ];
5335
- const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackSearchConversation_ConfigPropertyMetadata);
5336
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$j(getSlackSearchConversation_ConfigPropertyMetadata);
5337
- function keyBuilder$7(luvio, config) {
5338
- const resourceParams = createResourceParams$9(config);
5339
- return keyBuilder$8(luvio, resourceParams);
5335
+ const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackSearchConversation_ConfigPropertyMetadata);
5336
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$k(getSlackSearchConversation_ConfigPropertyMetadata);
5337
+ function keyBuilder$8(luvio, config) {
5338
+ const resourceParams = createResourceParams$a(config);
5339
+ return keyBuilder$9(luvio, resourceParams);
5340
5340
  }
5341
- function typeCheckConfig$9(untrustedConfig) {
5341
+ function typeCheckConfig$a(untrustedConfig) {
5342
5342
  const config = {};
5343
- typeCheckConfig$j(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
5343
+ typeCheckConfig$k(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
5344
5344
  return config;
5345
5345
  }
5346
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
5346
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
5347
5347
  if (!untrustedIsObject(untrustedConfig)) {
5348
5348
  return null;
5349
5349
  }
5350
5350
  if (process.env.NODE_ENV !== 'production') {
5351
5351
  validateConfig(untrustedConfig, configPropertyNames);
5352
5352
  }
5353
- const config = typeCheckConfig$9(untrustedConfig);
5353
+ const config = typeCheckConfig$a(untrustedConfig);
5354
5354
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5355
5355
  return null;
5356
5356
  }
5357
5357
  return config;
5358
5358
  }
5359
5359
  function adapterFragment$3(luvio, config) {
5360
- createResourceParams$9(config);
5361
- return select$c();
5360
+ createResourceParams$a(config);
5361
+ return select$e();
5362
5362
  }
5363
5363
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
5364
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
5364
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
5365
5365
  config,
5366
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5366
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5367
5367
  });
5368
5368
  return luvio.storeBroadcast().then(() => snapshot);
5369
5369
  }
5370
5370
  function onFetchResponseError$3(luvio, config, resourceParams, response) {
5371
5371
  const snapshot = ingestError$3(luvio, resourceParams, response, {
5372
5372
  config,
5373
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5373
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5374
5374
  });
5375
5375
  return luvio.storeBroadcast().then(() => snapshot);
5376
5376
  }
5377
- function buildNetworkSnapshot$9(luvio, config, options) {
5378
- const resourceParams = createResourceParams$9(config);
5379
- const request = createResourceRequest$9(resourceParams);
5377
+ function buildNetworkSnapshot$a(luvio, config, options) {
5378
+ const resourceParams = createResourceParams$a(config);
5379
+ const request = createResourceRequest$a(resourceParams);
5380
5380
  return luvio.dispatchResourceRequest(request, options)
5381
5381
  .then((response) => {
5382
5382
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
5383
5383
  const cache = new StoreKeyMap();
5384
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
5384
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
5385
5385
  return cache;
5386
5386
  });
5387
5387
  }, (response) => {
@@ -5389,23 +5389,23 @@ function buildNetworkSnapshot$9(luvio, config, options) {
5389
5389
  });
5390
5390
  }
5391
5391
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
5392
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
5392
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
5393
5393
  }
5394
5394
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
5395
5395
  const { luvio, config } = context;
5396
5396
  const selector = {
5397
- recordId: keyBuilder$7(luvio, config),
5397
+ recordId: keyBuilder$8(luvio, config),
5398
5398
  node: adapterFragment$3(luvio, config),
5399
5399
  variables: {},
5400
5400
  };
5401
5401
  const cacheSnapshot = storeLookup(selector, {
5402
5402
  config,
5403
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5403
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5404
5404
  });
5405
5405
  return cacheSnapshot;
5406
5406
  }
5407
5407
  const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge__getSlackSearchConversation(untrustedConfig, requestContext) {
5408
- const config = validateAdapterConfig$9(untrustedConfig, getSlackSearchConversation_ConfigPropertyNames);
5408
+ const config = validateAdapterConfig$a(untrustedConfig, getSlackSearchConversation_ConfigPropertyNames);
5409
5409
  // Invalid or incomplete config
5410
5410
  if (config === null) {
5411
5411
  return null;
@@ -5414,8 +5414,8 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
5414
5414
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
5415
5415
  };
5416
5416
 
5417
- const VERSION$2 = "40ec82af9ce301ce8598d88a6b19174a";
5418
- function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5417
+ const VERSION$3 = "40ec82af9ce301ce8598d88a6b19174a";
5418
+ function validate$3(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5419
5419
  const v_error = (() => {
5420
5420
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5421
5421
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5428,7 +5428,7 @@ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5428
5428
  for (let i = 0; i < obj_emojis.length; i++) {
5429
5429
  const obj_emojis_item = obj_emojis[i];
5430
5430
  const path_emojis_item = path_emojis + '[' + i + ']';
5431
- const referencepath_emojis_itemValidationError = validate$g(obj_emojis_item, path_emojis_item);
5431
+ const referencepath_emojis_itemValidationError = validate$h(obj_emojis_item, path_emojis_item);
5432
5432
  if (referencepath_emojis_itemValidationError !== null) {
5433
5433
  let message = 'Object doesn\'t match SlackBridgeEmojiOutputRepresentation (at "' + path_emojis_item + '")\n';
5434
5434
  message += referencepath_emojis_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5464,15 +5464,15 @@ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5464
5464
  })();
5465
5465
  return v_error === undefined ? null : v_error;
5466
5466
  }
5467
- const RepresentationType$2 = 'SlackBridgeEmojisOutputRepresentation';
5468
- function normalize$2(input, existing, path, luvio, store, timestamp) {
5467
+ const RepresentationType$3 = 'SlackBridgeEmojisOutputRepresentation';
5468
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
5469
5469
  return input;
5470
5470
  }
5471
- const select$b = function SlackBridgeEmojisOutputRepresentationSelect() {
5472
- const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$w();
5471
+ const select$d = function SlackBridgeEmojisOutputRepresentationSelect() {
5472
+ const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$y();
5473
5473
  return {
5474
5474
  kind: 'Fragment',
5475
- version: VERSION$2,
5475
+ version: VERSION$3,
5476
5476
  private: [],
5477
5477
  selections: [
5478
5478
  {
@@ -5488,11 +5488,11 @@ const select$b = function SlackBridgeEmojisOutputRepresentationSelect() {
5488
5488
  ]
5489
5489
  };
5490
5490
  };
5491
- function equals$2(existing, incoming) {
5491
+ function equals$3(existing, incoming) {
5492
5492
  const existing_emojis = existing.emojis;
5493
5493
  const incoming_emojis = incoming.emojis;
5494
5494
  const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
5495
- if (!(equals$g(existing_emojis_item, incoming_emojis_item))) {
5495
+ if (!(equals$h(existing_emojis_item, incoming_emojis_item))) {
5496
5496
  return false;
5497
5497
  }
5498
5498
  });
@@ -5506,44 +5506,44 @@ function equals$2(existing, incoming) {
5506
5506
  }
5507
5507
  return true;
5508
5508
  }
5509
- const ingest$2 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5509
+ const ingest$3 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5510
5510
  if (process.env.NODE_ENV !== 'production') {
5511
- const validateError = validate$2(input);
5511
+ const validateError = validate$3(input);
5512
5512
  if (validateError !== null) {
5513
5513
  throw validateError;
5514
5514
  }
5515
5515
  }
5516
5516
  const key = path.fullPath;
5517
5517
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5518
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
5518
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
5519
5519
  return createLink(key);
5520
5520
  };
5521
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
5521
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
5522
5522
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5523
5523
  const rootKey = fullPathFactory();
5524
5524
  rootKeySet.set(rootKey, {
5525
5525
  namespace: keyPrefix,
5526
- representationName: RepresentationType$2,
5526
+ representationName: RepresentationType$3,
5527
5527
  mergeable: false
5528
5528
  });
5529
5529
  }
5530
5530
 
5531
- function select$a(luvio, params) {
5532
- return select$b();
5531
+ function select$c(luvio, params) {
5532
+ return select$d();
5533
5533
  }
5534
- function keyBuilder$6(luvio, params) {
5534
+ function keyBuilder$7(luvio, params) {
5535
5535
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
5536
5536
  }
5537
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
5538
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
5537
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
5538
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
5539
5539
  }
5540
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5540
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
5541
5541
  const { body } = response;
5542
- const key = keyBuilder$6(luvio, resourceParams);
5543
- luvio.storeIngest(key, ingest$2, body);
5542
+ const key = keyBuilder$7(luvio, resourceParams);
5543
+ luvio.storeIngest(key, ingest$3, body);
5544
5544
  const snapshot = luvio.storeLookup({
5545
5545
  recordId: key,
5546
- node: select$a(),
5546
+ node: select$c(),
5547
5547
  variables: {},
5548
5548
  }, snapshotRefresh);
5549
5549
  if (process.env.NODE_ENV !== 'production') {
@@ -5555,12 +5555,12 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5555
5555
  return snapshot;
5556
5556
  }
5557
5557
  function ingestError$2(luvio, params, error, snapshotRefresh) {
5558
- const key = keyBuilder$6(luvio, params);
5558
+ const key = keyBuilder$7(luvio, params);
5559
5559
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5560
5560
  luvio.storeIngestError(key, errorSnapshot);
5561
5561
  return errorSnapshot;
5562
5562
  }
5563
- function createResourceRequest$8(config) {
5563
+ function createResourceRequest$9(config) {
5564
5564
  const headers = {};
5565
5565
  return {
5566
5566
  baseUri: '/services/data/v63.0',
@@ -5574,61 +5574,61 @@ function createResourceRequest$8(config) {
5574
5574
  };
5575
5575
  }
5576
5576
 
5577
- const adapterName$8 = 'getSlackSearchEmoji';
5577
+ const adapterName$9 = 'getSlackSearchEmoji';
5578
5578
  const getSlackSearchEmoji_ConfigPropertyMetadata = [
5579
5579
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5580
5580
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
5581
5581
  ];
5582
- const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchEmoji_ConfigPropertyMetadata);
5583
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$j(getSlackSearchEmoji_ConfigPropertyMetadata);
5584
- function keyBuilder$5(luvio, config) {
5585
- const resourceParams = createResourceParams$8(config);
5586
- return keyBuilder$6(luvio, resourceParams);
5582
+ const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackSearchEmoji_ConfigPropertyMetadata);
5583
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$k(getSlackSearchEmoji_ConfigPropertyMetadata);
5584
+ function keyBuilder$6(luvio, config) {
5585
+ const resourceParams = createResourceParams$9(config);
5586
+ return keyBuilder$7(luvio, resourceParams);
5587
5587
  }
5588
- function typeCheckConfig$8(untrustedConfig) {
5588
+ function typeCheckConfig$9(untrustedConfig) {
5589
5589
  const config = {};
5590
- typeCheckConfig$j(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
5590
+ typeCheckConfig$k(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
5591
5591
  return config;
5592
5592
  }
5593
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
5593
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
5594
5594
  if (!untrustedIsObject(untrustedConfig)) {
5595
5595
  return null;
5596
5596
  }
5597
5597
  if (process.env.NODE_ENV !== 'production') {
5598
5598
  validateConfig(untrustedConfig, configPropertyNames);
5599
5599
  }
5600
- const config = typeCheckConfig$8(untrustedConfig);
5600
+ const config = typeCheckConfig$9(untrustedConfig);
5601
5601
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5602
5602
  return null;
5603
5603
  }
5604
5604
  return config;
5605
5605
  }
5606
5606
  function adapterFragment$2(luvio, config) {
5607
- createResourceParams$8(config);
5608
- return select$a();
5607
+ createResourceParams$9(config);
5608
+ return select$c();
5609
5609
  }
5610
5610
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
5611
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
5611
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
5612
5612
  config,
5613
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5613
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5614
5614
  });
5615
5615
  return luvio.storeBroadcast().then(() => snapshot);
5616
5616
  }
5617
5617
  function onFetchResponseError$2(luvio, config, resourceParams, response) {
5618
5618
  const snapshot = ingestError$2(luvio, resourceParams, response, {
5619
5619
  config,
5620
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5620
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5621
5621
  });
5622
5622
  return luvio.storeBroadcast().then(() => snapshot);
5623
5623
  }
5624
- function buildNetworkSnapshot$8(luvio, config, options) {
5625
- const resourceParams = createResourceParams$8(config);
5626
- const request = createResourceRequest$8(resourceParams);
5624
+ function buildNetworkSnapshot$9(luvio, config, options) {
5625
+ const resourceParams = createResourceParams$9(config);
5626
+ const request = createResourceRequest$9(resourceParams);
5627
5627
  return luvio.dispatchResourceRequest(request, options)
5628
5628
  .then((response) => {
5629
5629
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
5630
5630
  const cache = new StoreKeyMap();
5631
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
5631
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
5632
5632
  return cache;
5633
5633
  });
5634
5634
  }, (response) => {
@@ -5636,23 +5636,23 @@ function buildNetworkSnapshot$8(luvio, config, options) {
5636
5636
  });
5637
5637
  }
5638
5638
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
5639
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
5639
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
5640
5640
  }
5641
5641
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
5642
5642
  const { luvio, config } = context;
5643
5643
  const selector = {
5644
- recordId: keyBuilder$5(luvio, config),
5644
+ recordId: keyBuilder$6(luvio, config),
5645
5645
  node: adapterFragment$2(luvio, config),
5646
5646
  variables: {},
5647
5647
  };
5648
5648
  const cacheSnapshot = storeLookup(selector, {
5649
5649
  config,
5650
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5650
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5651
5651
  });
5652
5652
  return cacheSnapshot;
5653
5653
  }
5654
5654
  const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackSearchEmoji(untrustedConfig, requestContext) {
5655
- const config = validateAdapterConfig$8(untrustedConfig, getSlackSearchEmoji_ConfigPropertyNames);
5655
+ const config = validateAdapterConfig$9(untrustedConfig, getSlackSearchEmoji_ConfigPropertyNames);
5656
5656
  // Invalid or incomplete config
5657
5657
  if (config === null) {
5658
5658
  return null;
@@ -5661,8 +5661,8 @@ const getSlackSearchEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
5661
5661
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
5662
5662
  };
5663
5663
 
5664
- const VERSION$1 = "058d708f5533e6123e368a3722311412";
5665
- function validate$1(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
5664
+ const VERSION$2 = "058d708f5533e6123e368a3722311412";
5665
+ function validate$2(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
5666
5666
  const v_error = (() => {
5667
5667
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5668
5668
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5708,14 +5708,14 @@ function validate$1(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
5708
5708
  })();
5709
5709
  return v_error === undefined ? null : v_error;
5710
5710
  }
5711
- const RepresentationType$1 = 'SlackBridgeUserInfosOutputRepresentation';
5712
- function normalize$1(input, existing, path, luvio, store, timestamp) {
5711
+ const RepresentationType$2 = 'SlackBridgeUserInfosOutputRepresentation';
5712
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
5713
5713
  const input_userInfos = input.userInfos;
5714
5714
  const input_userInfos_id = path.fullPath + '__userInfos';
5715
5715
  for (let i = 0; i < input_userInfos.length; i++) {
5716
5716
  const input_userInfos_item = input_userInfos[i];
5717
5717
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
5718
- input_userInfos[i] = ingest$c(input_userInfos_item, {
5718
+ input_userInfos[i] = ingest$d(input_userInfos_item, {
5719
5719
  fullPath: input_userInfos_item_id,
5720
5720
  propertyName: i,
5721
5721
  parent: {
@@ -5728,10 +5728,10 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
5728
5728
  }
5729
5729
  return input;
5730
5730
  }
5731
- const select$9 = function SlackBridgeUserInfosOutputRepresentationSelect() {
5731
+ const select$b = function SlackBridgeUserInfosOutputRepresentationSelect() {
5732
5732
  return {
5733
5733
  kind: 'Fragment',
5734
- version: VERSION$1,
5734
+ version: VERSION$2,
5735
5735
  private: [],
5736
5736
  selections: [
5737
5737
  {
@@ -5742,12 +5742,12 @@ const select$9 = function SlackBridgeUserInfosOutputRepresentationSelect() {
5742
5742
  name: 'userInfos',
5743
5743
  kind: 'Link',
5744
5744
  plural: true,
5745
- fragment: select$v()
5745
+ fragment: select$x()
5746
5746
  }
5747
5747
  ]
5748
5748
  };
5749
5749
  };
5750
- function equals$1(existing, incoming) {
5750
+ function equals$2(existing, incoming) {
5751
5751
  const existing_searchString = existing.searchString;
5752
5752
  const incoming_searchString = incoming.searchString;
5753
5753
  if (!(existing_searchString === incoming_searchString)) {
@@ -5765,48 +5765,48 @@ function equals$1(existing, incoming) {
5765
5765
  }
5766
5766
  return true;
5767
5767
  }
5768
- const ingest$1 = function SlackBridgeUserInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5768
+ const ingest$2 = function SlackBridgeUserInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5769
5769
  if (process.env.NODE_ENV !== 'production') {
5770
- const validateError = validate$1(input);
5770
+ const validateError = validate$2(input);
5771
5771
  if (validateError !== null) {
5772
5772
  throw validateError;
5773
5773
  }
5774
5774
  }
5775
5775
  const key = path.fullPath;
5776
5776
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5777
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
5777
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
5778
5778
  return createLink(key);
5779
5779
  };
5780
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
5780
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
5781
5781
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5782
5782
  const rootKey = fullPathFactory();
5783
5783
  rootKeySet.set(rootKey, {
5784
5784
  namespace: keyPrefix,
5785
- representationName: RepresentationType$1,
5785
+ representationName: RepresentationType$2,
5786
5786
  mergeable: false
5787
5787
  });
5788
5788
  const input_userInfos_length = input.userInfos.length;
5789
5789
  for (let i = 0; i < input_userInfos_length; i++) {
5790
- getTypeCacheKeys$c(rootKeySet, luvio, input.userInfos[i]);
5790
+ getTypeCacheKeys$d(rootKeySet, luvio, input.userInfos[i]);
5791
5791
  }
5792
5792
  }
5793
5793
 
5794
- function select$8(luvio, params) {
5795
- return select$9();
5794
+ function select$a(luvio, params) {
5795
+ return select$b();
5796
5796
  }
5797
- function keyBuilder$4(luvio, params) {
5797
+ function keyBuilder$5(luvio, params) {
5798
5798
  return keyPrefix + '::SlackBridgeUserInfosOutputRepresentation:(' + 'channels:' + params.queryParams.channels + ',' + 'filter:' + params.queryParams.filter + ',' + 'not_in_channels:' + params.queryParams.not_in_channels + ',' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
5799
5799
  }
5800
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
5801
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
5800
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
5801
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
5802
5802
  }
5803
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
5803
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5804
5804
  const { body } = response;
5805
- const key = keyBuilder$4(luvio, resourceParams);
5806
- luvio.storeIngest(key, ingest$1, body);
5805
+ const key = keyBuilder$5(luvio, resourceParams);
5806
+ luvio.storeIngest(key, ingest$2, body);
5807
5807
  const snapshot = luvio.storeLookup({
5808
5808
  recordId: key,
5809
- node: select$8(),
5809
+ node: select$a(),
5810
5810
  variables: {},
5811
5811
  }, snapshotRefresh);
5812
5812
  if (process.env.NODE_ENV !== 'production') {
@@ -5818,12 +5818,12 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
5818
5818
  return snapshot;
5819
5819
  }
5820
5820
  function ingestError$1(luvio, params, error, snapshotRefresh) {
5821
- const key = keyBuilder$4(luvio, params);
5821
+ const key = keyBuilder$5(luvio, params);
5822
5822
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5823
5823
  luvio.storeIngestError(key, errorSnapshot);
5824
5824
  return errorSnapshot;
5825
5825
  }
5826
- function createResourceRequest$7(config) {
5826
+ function createResourceRequest$8(config) {
5827
5827
  const headers = {};
5828
5828
  return {
5829
5829
  baseUri: '/services/data/v63.0',
@@ -5837,7 +5837,7 @@ function createResourceRequest$7(config) {
5837
5837
  };
5838
5838
  }
5839
5839
 
5840
- const adapterName$7 = 'getSlackSearchUser';
5840
+ const adapterName$8 = 'getSlackSearchUser';
5841
5841
  const getSlackSearchUser_ConfigPropertyMetadata = [
5842
5842
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5843
5843
  generateParamConfigMetadata('channels', false, 1 /* QueryParameter */, 0 /* String */, true),
@@ -5845,56 +5845,56 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
5845
5845
  generateParamConfigMetadata('not_in_channels', false, 1 /* QueryParameter */, 0 /* String */, true),
5846
5846
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
5847
5847
  ];
5848
- const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackSearchUser_ConfigPropertyMetadata);
5849
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$j(getSlackSearchUser_ConfigPropertyMetadata);
5850
- function keyBuilder$3(luvio, config) {
5851
- const resourceParams = createResourceParams$7(config);
5852
- return keyBuilder$4(luvio, resourceParams);
5848
+ const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackSearchUser_ConfigPropertyMetadata);
5849
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$k(getSlackSearchUser_ConfigPropertyMetadata);
5850
+ function keyBuilder$4(luvio, config) {
5851
+ const resourceParams = createResourceParams$8(config);
5852
+ return keyBuilder$5(luvio, resourceParams);
5853
5853
  }
5854
- function typeCheckConfig$7(untrustedConfig) {
5854
+ function typeCheckConfig$8(untrustedConfig) {
5855
5855
  const config = {};
5856
- typeCheckConfig$j(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
5856
+ typeCheckConfig$k(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
5857
5857
  return config;
5858
5858
  }
5859
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
5859
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
5860
5860
  if (!untrustedIsObject(untrustedConfig)) {
5861
5861
  return null;
5862
5862
  }
5863
5863
  if (process.env.NODE_ENV !== 'production') {
5864
5864
  validateConfig(untrustedConfig, configPropertyNames);
5865
5865
  }
5866
- const config = typeCheckConfig$7(untrustedConfig);
5866
+ const config = typeCheckConfig$8(untrustedConfig);
5867
5867
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5868
5868
  return null;
5869
5869
  }
5870
5870
  return config;
5871
5871
  }
5872
5872
  function adapterFragment$1(luvio, config) {
5873
- createResourceParams$7(config);
5874
- return select$8();
5873
+ createResourceParams$8(config);
5874
+ return select$a();
5875
5875
  }
5876
5876
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
5877
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
5877
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
5878
5878
  config,
5879
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5879
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5880
5880
  });
5881
5881
  return luvio.storeBroadcast().then(() => snapshot);
5882
5882
  }
5883
5883
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
5884
5884
  const snapshot = ingestError$1(luvio, resourceParams, response, {
5885
5885
  config,
5886
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5886
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5887
5887
  });
5888
5888
  return luvio.storeBroadcast().then(() => snapshot);
5889
5889
  }
5890
- function buildNetworkSnapshot$7(luvio, config, options) {
5891
- const resourceParams = createResourceParams$7(config);
5892
- const request = createResourceRequest$7(resourceParams);
5890
+ function buildNetworkSnapshot$8(luvio, config, options) {
5891
+ const resourceParams = createResourceParams$8(config);
5892
+ const request = createResourceRequest$8(resourceParams);
5893
5893
  return luvio.dispatchResourceRequest(request, options)
5894
5894
  .then((response) => {
5895
5895
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
5896
5896
  const cache = new StoreKeyMap();
5897
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
5897
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
5898
5898
  return cache;
5899
5899
  });
5900
5900
  }, (response) => {
@@ -5902,23 +5902,23 @@ function buildNetworkSnapshot$7(luvio, config, options) {
5902
5902
  });
5903
5903
  }
5904
5904
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
5905
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
5905
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
5906
5906
  }
5907
5907
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
5908
5908
  const { luvio, config } = context;
5909
5909
  const selector = {
5910
- recordId: keyBuilder$3(luvio, config),
5910
+ recordId: keyBuilder$4(luvio, config),
5911
5911
  node: adapterFragment$1(luvio, config),
5912
5912
  variables: {},
5913
5913
  };
5914
5914
  const cacheSnapshot = storeLookup(selector, {
5915
5915
  config,
5916
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
5916
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5917
5917
  });
5918
5918
  return cacheSnapshot;
5919
5919
  }
5920
5920
  const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSlackSearchUser(untrustedConfig, requestContext) {
5921
- const config = validateAdapterConfig$7(untrustedConfig, getSlackSearchUser_ConfigPropertyNames);
5921
+ const config = validateAdapterConfig$8(untrustedConfig, getSlackSearchUser_ConfigPropertyNames);
5922
5922
  // Invalid or incomplete config
5923
5923
  if (config === null) {
5924
5924
  return null;
@@ -5927,25 +5927,25 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
5927
5927
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
5928
5928
  };
5929
5929
 
5930
- function select$7(luvio, params) {
5931
- return select$v();
5930
+ function select$9(luvio, params) {
5931
+ return select$x();
5932
5932
  }
5933
- function keyBuilder$2(luvio, params) {
5934
- return keyBuilder$p(luvio, {
5933
+ function keyBuilder$3(luvio, params) {
5934
+ return keyBuilder$q(luvio, {
5935
5935
  slackUserId: params.urlParams.slackUserId,
5936
5936
  teamId: params.urlParams.teamId
5937
5937
  });
5938
5938
  }
5939
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
5940
- getTypeCacheKeys$c(storeKeyMap, luvio, response);
5939
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
5940
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
5941
5941
  }
5942
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
5942
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
5943
5943
  const { body } = response;
5944
- const key = keyBuilder$2(luvio, resourceParams);
5945
- luvio.storeIngest(key, ingest$c, body);
5944
+ const key = keyBuilder$3(luvio, resourceParams);
5945
+ luvio.storeIngest(key, ingest$d, body);
5946
5946
  const snapshot = luvio.storeLookup({
5947
5947
  recordId: key,
5948
- node: select$7(),
5948
+ node: select$9(),
5949
5949
  variables: {},
5950
5950
  }, snapshotRefresh);
5951
5951
  if (process.env.NODE_ENV !== 'production') {
@@ -5957,18 +5957,18 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
5957
5957
  return snapshot;
5958
5958
  }
5959
5959
  function ingestError(luvio, params, error, snapshotRefresh) {
5960
- const key = keyBuilder$2(luvio, params);
5960
+ const key = keyBuilder$3(luvio, params);
5961
5961
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5962
5962
  const storeMetadataParams = {
5963
5963
  ttl: TTL,
5964
5964
  namespace: keyPrefix,
5965
- version: VERSION$f,
5966
- representationName: RepresentationType$c
5965
+ version: VERSION$g,
5966
+ representationName: RepresentationType$d
5967
5967
  };
5968
5968
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
5969
5969
  return errorSnapshot;
5970
5970
  }
5971
- function createResourceRequest$6(config) {
5971
+ function createResourceRequest$7(config) {
5972
5972
  const headers = {};
5973
5973
  return {
5974
5974
  baseUri: '/services/data/v63.0',
@@ -5987,64 +5987,64 @@ function createResourceRequestFromRepresentation(representation) {
5987
5987
  };
5988
5988
  config.urlParams.slackUserId = representation.slackUserId;
5989
5989
  config.urlParams.teamId = representation.teamId;
5990
- return createResourceRequest$6(config);
5990
+ return createResourceRequest$7(config);
5991
5991
  }
5992
5992
 
5993
- const adapterName$6 = 'getSlackUser';
5993
+ const adapterName$7 = 'getSlackUser';
5994
5994
  const getSlackUser_ConfigPropertyMetadata = [
5995
5995
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
5996
5996
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5997
5997
  ];
5998
- const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSlackUser_ConfigPropertyMetadata);
5999
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$j(getSlackUser_ConfigPropertyMetadata);
6000
- function keyBuilder$1(luvio, config) {
6001
- const resourceParams = createResourceParams$6(config);
6002
- return keyBuilder$2(luvio, resourceParams);
5998
+ const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackUser_ConfigPropertyMetadata);
5999
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$k(getSlackUser_ConfigPropertyMetadata);
6000
+ function keyBuilder$2(luvio, config) {
6001
+ const resourceParams = createResourceParams$7(config);
6002
+ return keyBuilder$3(luvio, resourceParams);
6003
6003
  }
6004
- function typeCheckConfig$6(untrustedConfig) {
6004
+ function typeCheckConfig$7(untrustedConfig) {
6005
6005
  const config = {};
6006
- typeCheckConfig$j(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
6006
+ typeCheckConfig$k(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
6007
6007
  return config;
6008
6008
  }
6009
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
6009
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
6010
6010
  if (!untrustedIsObject(untrustedConfig)) {
6011
6011
  return null;
6012
6012
  }
6013
6013
  if (process.env.NODE_ENV !== 'production') {
6014
6014
  validateConfig(untrustedConfig, configPropertyNames);
6015
6015
  }
6016
- const config = typeCheckConfig$6(untrustedConfig);
6016
+ const config = typeCheckConfig$7(untrustedConfig);
6017
6017
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6018
6018
  return null;
6019
6019
  }
6020
6020
  return config;
6021
6021
  }
6022
6022
  function adapterFragment(luvio, config) {
6023
- createResourceParams$6(config);
6024
- return select$7();
6023
+ createResourceParams$7(config);
6024
+ return select$9();
6025
6025
  }
6026
6026
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
6027
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
6027
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
6028
6028
  config,
6029
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6029
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6030
6030
  });
6031
6031
  return luvio.storeBroadcast().then(() => snapshot);
6032
6032
  }
6033
6033
  function onFetchResponseError(luvio, config, resourceParams, response) {
6034
6034
  const snapshot = ingestError(luvio, resourceParams, response, {
6035
6035
  config,
6036
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6036
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6037
6037
  });
6038
6038
  return luvio.storeBroadcast().then(() => snapshot);
6039
6039
  }
6040
- function buildNetworkSnapshot$6(luvio, config, options) {
6041
- const resourceParams = createResourceParams$6(config);
6042
- const request = createResourceRequest$6(resourceParams);
6040
+ function buildNetworkSnapshot$7(luvio, config, options) {
6041
+ const resourceParams = createResourceParams$7(config);
6042
+ const request = createResourceRequest$7(resourceParams);
6043
6043
  return luvio.dispatchResourceRequest(request, options)
6044
6044
  .then((response) => {
6045
6045
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
6046
6046
  const cache = new StoreKeyMap();
6047
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
6047
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
6048
6048
  return cache;
6049
6049
  });
6050
6050
  }, (response) => {
@@ -6052,23 +6052,23 @@ function buildNetworkSnapshot$6(luvio, config, options) {
6052
6052
  });
6053
6053
  }
6054
6054
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
6055
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
6055
+ return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
6056
6056
  }
6057
6057
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
6058
6058
  const { luvio, config } = context;
6059
6059
  const selector = {
6060
- recordId: keyBuilder$1(luvio, config),
6060
+ recordId: keyBuilder$2(luvio, config),
6061
6061
  node: adapterFragment(luvio, config),
6062
6062
  variables: {},
6063
6063
  };
6064
6064
  const cacheSnapshot = storeLookup(selector, {
6065
6065
  config,
6066
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
6066
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
6067
6067
  });
6068
6068
  return cacheSnapshot;
6069
6069
  }
6070
6070
  const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser(untrustedConfig, requestContext) {
6071
- const config = validateAdapterConfig$6(untrustedConfig, getSlackUser_ConfigPropertyNames);
6071
+ const config = validateAdapterConfig$7(untrustedConfig, getSlackUser_ConfigPropertyNames);
6072
6072
  // Invalid or incomplete config
6073
6073
  if (config === null) {
6074
6074
  return null;
@@ -6078,7 +6078,7 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
6078
6078
  };
6079
6079
  const notifyChangeFactory = (luvio, options) => {
6080
6080
  return function getConnectSlackbridgeTeamUserBySlackUserIdAndTeamIdNotifyChange(configs) {
6081
- const keys = configs.map(c => keyBuilder$p(luvio, c));
6081
+ const keys = configs.map(c => keyBuilder$q(luvio, c));
6082
6082
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
6083
6083
  for (let i = 0, len = entries.length; i < len; i++) {
6084
6084
  const { key, record: val } = entries[i];
@@ -6087,11 +6087,11 @@ const notifyChangeFactory = (luvio, options) => {
6087
6087
  .then((response) => {
6088
6088
  return luvio.handleSuccessResponse(() => {
6089
6089
  const { body } = response;
6090
- luvio.storeIngest(key, ingest$c, body);
6090
+ luvio.storeIngest(key, ingest$d, body);
6091
6091
  return luvio.storeBroadcast();
6092
6092
  }, () => {
6093
6093
  const cache = new StoreKeyMap();
6094
- getTypeCacheKeys$c(cache, luvio, response.body);
6094
+ getTypeCacheKeys$d(cache, luvio, response.body);
6095
6095
  return cache;
6096
6096
  });
6097
6097
  }, (error) => {
@@ -6100,8 +6100,8 @@ const notifyChangeFactory = (luvio, options) => {
6100
6100
  luvio.storeIngestError(key, errorSnapshot, {
6101
6101
  ttl: TTL,
6102
6102
  namespace: keyPrefix,
6103
- version: VERSION$f,
6104
- representationName: RepresentationType$c
6103
+ version: VERSION$g,
6104
+ representationName: RepresentationType$d
6105
6105
  });
6106
6106
  return luvio.storeBroadcast().then(() => errorSnapshot);
6107
6107
  });
@@ -6111,19 +6111,19 @@ const notifyChangeFactory = (luvio, options) => {
6111
6111
  };
6112
6112
  };
6113
6113
 
6114
- function select$6(luvio, params) {
6115
- return select$z();
6114
+ function select$8(luvio, params) {
6115
+ return select$B();
6116
6116
  }
6117
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
6118
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
6117
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
6118
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
6119
6119
  }
6120
- function ingestSuccess$5(luvio, resourceParams, response) {
6120
+ function ingestSuccess$6(luvio, resourceParams, response) {
6121
6121
  const { body } = response;
6122
- const key = keyBuilderFromType$7(luvio, body);
6123
- luvio.storeIngest(key, ingest$e, body);
6122
+ const key = keyBuilderFromType$8(luvio, body);
6123
+ luvio.storeIngest(key, ingest$f, body);
6124
6124
  const snapshot = luvio.storeLookup({
6125
6125
  recordId: key,
6126
- node: select$6(),
6126
+ node: select$8(),
6127
6127
  variables: {},
6128
6128
  });
6129
6129
  if (process.env.NODE_ENV !== 'production') {
@@ -6134,7 +6134,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
6134
6134
  deepFreeze(snapshot.data);
6135
6135
  return snapshot;
6136
6136
  }
6137
- function createResourceRequest$5(config) {
6137
+ function createResourceRequest$6(config) {
6138
6138
  const headers = {};
6139
6139
  return {
6140
6140
  baseUri: '/services/data/v63.0',
@@ -6148,44 +6148,44 @@ function createResourceRequest$5(config) {
6148
6148
  };
6149
6149
  }
6150
6150
 
6151
- const adapterName$5 = 'patchSlackMessage';
6151
+ const adapterName$6 = 'patchSlackMessage';
6152
6152
  const patchSlackMessage_ConfigPropertyMetadata = [
6153
6153
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6154
6154
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
6155
6155
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6156
6156
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
6157
6157
  ];
6158
- const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, patchSlackMessage_ConfigPropertyMetadata);
6159
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$j(patchSlackMessage_ConfigPropertyMetadata);
6160
- function typeCheckConfig$5(untrustedConfig) {
6158
+ const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchSlackMessage_ConfigPropertyMetadata);
6159
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$k(patchSlackMessage_ConfigPropertyMetadata);
6160
+ function typeCheckConfig$6(untrustedConfig) {
6161
6161
  const config = {};
6162
- typeCheckConfig$j(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6162
+ typeCheckConfig$k(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6163
6163
  return config;
6164
6164
  }
6165
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
6165
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
6166
6166
  if (!untrustedIsObject(untrustedConfig)) {
6167
6167
  return null;
6168
6168
  }
6169
6169
  if (process.env.NODE_ENV !== 'production') {
6170
6170
  validateConfig(untrustedConfig, configPropertyNames);
6171
6171
  }
6172
- const config = typeCheckConfig$5(untrustedConfig);
6172
+ const config = typeCheckConfig$6(untrustedConfig);
6173
6173
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
6174
6174
  return null;
6175
6175
  }
6176
6176
  return config;
6177
6177
  }
6178
- function buildNetworkSnapshot$5(luvio, config, options) {
6179
- const resourceParams = createResourceParams$5(config);
6180
- const request = createResourceRequest$5(resourceParams);
6178
+ function buildNetworkSnapshot$6(luvio, config, options) {
6179
+ const resourceParams = createResourceParams$6(config);
6180
+ const request = createResourceRequest$6(resourceParams);
6181
6181
  return luvio.dispatchResourceRequest(request, options)
6182
6182
  .then((response) => {
6183
6183
  return luvio.handleSuccessResponse(() => {
6184
- const snapshot = ingestSuccess$5(luvio, resourceParams, response);
6184
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
6185
6185
  return luvio.storeBroadcast().then(() => snapshot);
6186
6186
  }, () => {
6187
6187
  const cache = new StoreKeyMap();
6188
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
6188
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
6189
6189
  return cache;
6190
6190
  });
6191
6191
  }, (response) => {
@@ -6195,17 +6195,17 @@ function buildNetworkSnapshot$5(luvio, config, options) {
6195
6195
  }
6196
6196
  const patchSlackMessageAdapterFactory = (luvio) => {
6197
6197
  return function patchSlackMessage(untrustedConfig) {
6198
- const config = validateAdapterConfig$5(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
6198
+ const config = validateAdapterConfig$6(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
6199
6199
  // Invalid or incomplete config
6200
6200
  if (config === null) {
6201
6201
  throw new Error('Invalid config for "patchSlackMessage"');
6202
6202
  }
6203
- return buildNetworkSnapshot$5(luvio, config);
6203
+ return buildNetworkSnapshot$6(luvio, config);
6204
6204
  };
6205
6205
  };
6206
6206
 
6207
- const VERSION = "769b5b0ed94219341e9be74c08e63aed";
6208
- function validate(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
6207
+ const VERSION$1 = "769b5b0ed94219341e9be74c08e63aed";
6208
+ function validate$1(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
6209
6209
  const v_error = (() => {
6210
6210
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6211
6211
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6228,20 +6228,20 @@ function validate(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
6228
6228
  })();
6229
6229
  return v_error === undefined ? null : v_error;
6230
6230
  }
6231
- const RepresentationType = 'SlackBridgePostMessageOutputRepresentation';
6232
- function keyBuilder(luvio, config) {
6233
- return keyPrefix + '::' + RepresentationType + ':' + config.channelId;
6231
+ const RepresentationType$1 = 'SlackBridgePostMessageOutputRepresentation';
6232
+ function keyBuilder$1(luvio, config) {
6233
+ return keyPrefix + '::' + RepresentationType$1 + ':' + config.channelId;
6234
6234
  }
6235
- function keyBuilderFromType(luvio, object) {
6235
+ function keyBuilderFromType$1(luvio, object) {
6236
6236
  const keyParams = {
6237
6237
  channelId: object.channelId
6238
6238
  };
6239
- return keyBuilder(luvio, keyParams);
6239
+ return keyBuilder$1(luvio, keyParams);
6240
6240
  }
6241
- function normalize(input, existing, path, luvio, store, timestamp) {
6241
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
6242
6242
  const input_postedMessage = input.postedMessage;
6243
6243
  const input_postedMessage_id = path.fullPath + '__postedMessage';
6244
- input.postedMessage = ingest$9(input_postedMessage, {
6244
+ input.postedMessage = ingest$a(input_postedMessage, {
6245
6245
  fullPath: input_postedMessage_id,
6246
6246
  propertyName: 'postedMessage',
6247
6247
  parent: {
@@ -6253,10 +6253,10 @@ function normalize(input, existing, path, luvio, store, timestamp) {
6253
6253
  }, luvio, store, timestamp);
6254
6254
  return input;
6255
6255
  }
6256
- const select$5 = function SlackBridgePostMessageOutputRepresentationSelect() {
6256
+ const select$7 = function SlackBridgePostMessageOutputRepresentationSelect() {
6257
6257
  return {
6258
6258
  kind: 'Fragment',
6259
- version: VERSION,
6259
+ version: VERSION$1,
6260
6260
  private: [],
6261
6261
  selections: [
6262
6262
  {
@@ -6266,7 +6266,7 @@ const select$5 = function SlackBridgePostMessageOutputRepresentationSelect() {
6266
6266
  {
6267
6267
  name: 'postedMessage',
6268
6268
  kind: 'Link',
6269
- fragment: select$p()
6269
+ fragment: select$r()
6270
6270
  },
6271
6271
  {
6272
6272
  name: 'timestamp',
@@ -6275,7 +6275,7 @@ const select$5 = function SlackBridgePostMessageOutputRepresentationSelect() {
6275
6275
  ]
6276
6276
  };
6277
6277
  };
6278
- function equals(existing, incoming) {
6278
+ function equals$1(existing, incoming) {
6279
6279
  const existing_channelId = existing.channelId;
6280
6280
  const incoming_channelId = incoming.channelId;
6281
6281
  if (!(existing_channelId === incoming_channelId)) {
@@ -6293,7 +6293,187 @@ function equals(existing, incoming) {
6293
6293
  }
6294
6294
  return true;
6295
6295
  }
6296
- const ingest = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6296
+ const ingest$1 = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6297
+ if (process.env.NODE_ENV !== 'production') {
6298
+ const validateError = validate$1(input);
6299
+ if (validateError !== null) {
6300
+ throw validateError;
6301
+ }
6302
+ }
6303
+ const key = keyBuilderFromType$1(luvio, input);
6304
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6305
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
6306
+ return createLink(key);
6307
+ };
6308
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6309
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6310
+ const rootKey = keyBuilderFromType$1(luvio, input);
6311
+ rootKeySet.set(rootKey, {
6312
+ namespace: keyPrefix,
6313
+ representationName: RepresentationType$1,
6314
+ mergeable: false
6315
+ });
6316
+ getTypeCacheKeys$a(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
6317
+ }
6318
+
6319
+ function select$6(luvio, params) {
6320
+ return select$7();
6321
+ }
6322
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
6323
+ getTypeCacheKeys$1(storeKeyMap, luvio, response);
6324
+ }
6325
+ function ingestSuccess$5(luvio, resourceParams, response) {
6326
+ const { body } = response;
6327
+ const key = keyBuilderFromType$1(luvio, body);
6328
+ luvio.storeIngest(key, ingest$1, body);
6329
+ const snapshot = luvio.storeLookup({
6330
+ recordId: key,
6331
+ node: select$6(),
6332
+ variables: {},
6333
+ });
6334
+ if (process.env.NODE_ENV !== 'production') {
6335
+ if (snapshot.state !== 'Fulfilled') {
6336
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6337
+ }
6338
+ }
6339
+ deepFreeze(snapshot.data);
6340
+ return snapshot;
6341
+ }
6342
+ function createResourceRequest$5(config) {
6343
+ const headers = {};
6344
+ return {
6345
+ baseUri: '/services/data/v63.0',
6346
+ basePath: '/connect/slackbridge/conversation/messages',
6347
+ method: 'post',
6348
+ body: config.body,
6349
+ urlParams: {},
6350
+ queryParams: {},
6351
+ headers,
6352
+ priority: 'normal',
6353
+ };
6354
+ }
6355
+
6356
+ const adapterName$5 = 'postSlackConversation';
6357
+ const postSlackConversation_ConfigPropertyMetadata = [
6358
+ generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
6359
+ generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
6360
+ generateParamConfigMetadata('replyBroadcast', false, 2 /* Body */, 1 /* Boolean */),
6361
+ generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
6362
+ generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
6363
+ generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
6364
+ ];
6365
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, postSlackConversation_ConfigPropertyMetadata);
6366
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$k(postSlackConversation_ConfigPropertyMetadata);
6367
+ function typeCheckConfig$5(untrustedConfig) {
6368
+ const config = {};
6369
+ typeCheckConfig$k(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
6370
+ return config;
6371
+ }
6372
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
6373
+ if (!untrustedIsObject(untrustedConfig)) {
6374
+ return null;
6375
+ }
6376
+ if (process.env.NODE_ENV !== 'production') {
6377
+ validateConfig(untrustedConfig, configPropertyNames);
6378
+ }
6379
+ const config = typeCheckConfig$5(untrustedConfig);
6380
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
6381
+ return null;
6382
+ }
6383
+ return config;
6384
+ }
6385
+ function buildNetworkSnapshot$5(luvio, config, options) {
6386
+ const resourceParams = createResourceParams$5(config);
6387
+ const request = createResourceRequest$5(resourceParams);
6388
+ return luvio.dispatchResourceRequest(request, options)
6389
+ .then((response) => {
6390
+ return luvio.handleSuccessResponse(() => {
6391
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response);
6392
+ return luvio.storeBroadcast().then(() => snapshot);
6393
+ }, () => {
6394
+ const cache = new StoreKeyMap();
6395
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
6396
+ return cache;
6397
+ });
6398
+ }, (response) => {
6399
+ deepFreeze(response);
6400
+ throw response;
6401
+ });
6402
+ }
6403
+ const postSlackConversationAdapterFactory = (luvio) => {
6404
+ return function postSlackConversation(untrustedConfig) {
6405
+ const config = validateAdapterConfig$5(untrustedConfig, postSlackConversation_ConfigPropertyNames);
6406
+ // Invalid or incomplete config
6407
+ if (config === null) {
6408
+ throw new Error('Invalid config for "postSlackConversation"');
6409
+ }
6410
+ return buildNetworkSnapshot$5(luvio, config);
6411
+ };
6412
+ };
6413
+
6414
+ const VERSION = "32716a7de3c8810288467155d92e5124";
6415
+ function validate(obj, path = 'SlackBridgeConversationMarkOutputRepresentation') {
6416
+ const v_error = (() => {
6417
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6418
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6419
+ }
6420
+ const obj_channelId = obj.channelId;
6421
+ const path_channelId = path + '.channelId';
6422
+ if (typeof obj_channelId !== 'string') {
6423
+ return new TypeError('Expected "string" but received "' + typeof obj_channelId + '" (at "' + path_channelId + '")');
6424
+ }
6425
+ const obj_messageTs = obj.messageTs;
6426
+ const path_messageTs = path + '.messageTs';
6427
+ if (typeof obj_messageTs !== 'string') {
6428
+ return new TypeError('Expected "string" but received "' + typeof obj_messageTs + '" (at "' + path_messageTs + '")');
6429
+ }
6430
+ })();
6431
+ return v_error === undefined ? null : v_error;
6432
+ }
6433
+ const RepresentationType = 'SlackBridgeConversationMarkOutputRepresentation';
6434
+ function keyBuilder(luvio, config) {
6435
+ return keyPrefix + '::' + RepresentationType + ':' + config.channelId;
6436
+ }
6437
+ function keyBuilderFromType(luvio, object) {
6438
+ const keyParams = {
6439
+ channelId: object.channelId
6440
+ };
6441
+ return keyBuilder(luvio, keyParams);
6442
+ }
6443
+ function normalize(input, existing, path, luvio, store, timestamp) {
6444
+ return input;
6445
+ }
6446
+ const select$5 = function SlackBridgeConversationMarkOutputRepresentationSelect() {
6447
+ return {
6448
+ kind: 'Fragment',
6449
+ version: VERSION,
6450
+ private: [],
6451
+ selections: [
6452
+ {
6453
+ name: 'channelId',
6454
+ kind: 'Scalar'
6455
+ },
6456
+ {
6457
+ name: 'messageTs',
6458
+ kind: 'Scalar'
6459
+ }
6460
+ ]
6461
+ };
6462
+ };
6463
+ function equals(existing, incoming) {
6464
+ const existing_channelId = existing.channelId;
6465
+ const incoming_channelId = incoming.channelId;
6466
+ if (!(existing_channelId === incoming_channelId)) {
6467
+ return false;
6468
+ }
6469
+ const existing_messageTs = existing.messageTs;
6470
+ const incoming_messageTs = incoming.messageTs;
6471
+ if (!(existing_messageTs === incoming_messageTs)) {
6472
+ return false;
6473
+ }
6474
+ return true;
6475
+ }
6476
+ const ingest = function SlackBridgeConversationMarkOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6297
6477
  if (process.env.NODE_ENV !== 'production') {
6298
6478
  const validateError = validate(input);
6299
6479
  if (validateError !== null) {
@@ -6313,7 +6493,6 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
6313
6493
  representationName: RepresentationType,
6314
6494
  mergeable: false
6315
6495
  });
6316
- getTypeCacheKeys$9(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
6317
6496
  }
6318
6497
 
6319
6498
  function select$4(luvio, params) {
@@ -6343,30 +6522,27 @@ function createResourceRequest$4(config) {
6343
6522
  const headers = {};
6344
6523
  return {
6345
6524
  baseUri: '/services/data/v63.0',
6346
- basePath: '/connect/slackbridge/conversation/messages',
6525
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/channel/' + config.urlParams.channelId + '/mark',
6347
6526
  method: 'post',
6348
- body: config.body,
6349
- urlParams: {},
6350
- queryParams: {},
6527
+ body: null,
6528
+ urlParams: config.urlParams,
6529
+ queryParams: config.queryParams,
6351
6530
  headers,
6352
6531
  priority: 'normal',
6353
6532
  };
6354
6533
  }
6355
6534
 
6356
- const adapterName$4 = 'postSlackConversation';
6357
- const postSlackConversation_ConfigPropertyMetadata = [
6358
- generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
6359
- generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
6360
- generateParamConfigMetadata('replyBroadcast', false, 2 /* Body */, 1 /* Boolean */),
6361
- generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
6362
- generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
6363
- generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
6535
+ const adapterName$4 = 'postSlackConversationMark';
6536
+ const postSlackConversationMark_ConfigPropertyMetadata = [
6537
+ generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
6538
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6539
+ generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
6364
6540
  ];
6365
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversation_ConfigPropertyMetadata);
6366
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$j(postSlackConversation_ConfigPropertyMetadata);
6541
+ const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, postSlackConversationMark_ConfigPropertyMetadata);
6542
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$k(postSlackConversationMark_ConfigPropertyMetadata);
6367
6543
  function typeCheckConfig$4(untrustedConfig) {
6368
6544
  const config = {};
6369
- typeCheckConfig$j(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
6545
+ typeCheckConfig$k(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
6370
6546
  return config;
6371
6547
  }
6372
6548
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -6400,27 +6576,27 @@ function buildNetworkSnapshot$4(luvio, config, options) {
6400
6576
  throw response;
6401
6577
  });
6402
6578
  }
6403
- const postSlackConversationAdapterFactory = (luvio) => {
6404
- return function postSlackConversation(untrustedConfig) {
6405
- const config = validateAdapterConfig$4(untrustedConfig, postSlackConversation_ConfigPropertyNames);
6579
+ const postSlackConversationMarkAdapterFactory = (luvio) => {
6580
+ return function postSlackConversationMark(untrustedConfig) {
6581
+ const config = validateAdapterConfig$4(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
6406
6582
  // Invalid or incomplete config
6407
6583
  if (config === null) {
6408
- throw new Error('Invalid config for "postSlackConversation"');
6584
+ throw new Error('Invalid config for "postSlackConversationMark"');
6409
6585
  }
6410
6586
  return buildNetworkSnapshot$4(luvio, config);
6411
6587
  };
6412
6588
  };
6413
6589
 
6414
6590
  function select$3(luvio, params) {
6415
- return select$k();
6591
+ return select$m();
6416
6592
  }
6417
6593
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
6418
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
6594
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
6419
6595
  }
6420
6596
  function ingestSuccess$3(luvio, resourceParams, response) {
6421
6597
  const { body } = response;
6422
- const key = keyBuilderFromType$2(luvio, body);
6423
- luvio.storeIngest(key, ingest$6, body);
6598
+ const key = keyBuilderFromType$3(luvio, body);
6599
+ luvio.storeIngest(key, ingest$7, body);
6424
6600
  const snapshot = luvio.storeLookup({
6425
6601
  recordId: key,
6426
6602
  node: select$3(),
@@ -6455,10 +6631,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
6455
6631
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
6456
6632
  ];
6457
6633
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, postSlackConversationMembers_ConfigPropertyMetadata);
6458
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$j(postSlackConversationMembers_ConfigPropertyMetadata);
6634
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$k(postSlackConversationMembers_ConfigPropertyMetadata);
6459
6635
  function typeCheckConfig$3(untrustedConfig) {
6460
6636
  const config = {};
6461
- typeCheckConfig$j(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
6637
+ typeCheckConfig$k(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
6462
6638
  return config;
6463
6639
  }
6464
6640
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -6504,15 +6680,15 @@ const postSlackConversationMembersAdapterFactory = (luvio) => {
6504
6680
  };
6505
6681
 
6506
6682
  function select$2(luvio, params) {
6507
- return select$q();
6683
+ return select$s();
6508
6684
  }
6509
6685
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
6510
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
6686
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
6511
6687
  }
6512
6688
  function ingestSuccess$2(luvio, resourceParams, response) {
6513
6689
  const { body } = response;
6514
- const key = keyBuilderFromType$3(luvio, body);
6515
- luvio.storeIngest(key, ingest$a, body);
6690
+ const key = keyBuilderFromType$4(luvio, body);
6691
+ luvio.storeIngest(key, ingest$b, body);
6516
6692
  const snapshot = luvio.storeLookup({
6517
6693
  recordId: key,
6518
6694
  node: select$2(),
@@ -6552,10 +6728,10 @@ const postSlackFile_ConfigPropertyMetadata = [
6552
6728
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
6553
6729
  ];
6554
6730
  const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postSlackFile_ConfigPropertyMetadata);
6555
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$j(postSlackFile_ConfigPropertyMetadata);
6731
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$k(postSlackFile_ConfigPropertyMetadata);
6556
6732
  function typeCheckConfig$2(untrustedConfig) {
6557
6733
  const config = {};
6558
- typeCheckConfig$j(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
6734
+ typeCheckConfig$k(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
6559
6735
  return config;
6560
6736
  }
6561
6737
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -6601,15 +6777,15 @@ const postSlackFileAdapterFactory = (luvio) => {
6601
6777
  };
6602
6778
 
6603
6779
  function select$1(luvio, params) {
6604
- return select$x();
6780
+ return select$z();
6605
6781
  }
6606
6782
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
6607
- getTypeCacheKeys$d(storeKeyMap, luvio, response);
6783
+ getTypeCacheKeys$e(storeKeyMap, luvio, response);
6608
6784
  }
6609
6785
  function ingestSuccess$1(luvio, resourceParams, response) {
6610
6786
  const { body } = response;
6611
- const key = keyBuilderFromType$6(luvio, body);
6612
- luvio.storeIngest(key, ingest$d, body);
6787
+ const key = keyBuilderFromType$7(luvio, body);
6788
+ luvio.storeIngest(key, ingest$e, body);
6613
6789
  const snapshot = luvio.storeLookup({
6614
6790
  recordId: key,
6615
6791
  node: select$1(),
@@ -6645,10 +6821,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
6645
6821
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6646
6822
  ];
6647
6823
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postSlackMessageReactions_ConfigPropertyMetadata);
6648
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$j(postSlackMessageReactions_ConfigPropertyMetadata);
6824
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$k(postSlackMessageReactions_ConfigPropertyMetadata);
6649
6825
  function typeCheckConfig$1(untrustedConfig) {
6650
6826
  const config = {};
6651
- typeCheckConfig$j(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6827
+ typeCheckConfig$k(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6652
6828
  return config;
6653
6829
  }
6654
6830
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -6694,15 +6870,15 @@ const postSlackMessageReactionsAdapterFactory = (luvio) => {
6694
6870
  };
6695
6871
 
6696
6872
  function select(luvio, params) {
6697
- return select$f();
6873
+ return select$h();
6698
6874
  }
6699
6875
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
6700
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
6876
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
6701
6877
  }
6702
6878
  function ingestSuccess(luvio, resourceParams, response) {
6703
6879
  const { body } = response;
6704
- const key = keyBuilderFromType$1(luvio, body);
6705
- luvio.storeIngest(key, ingest$4, body);
6880
+ const key = keyBuilderFromType$2(luvio, body);
6881
+ luvio.storeIngest(key, ingest$5, body);
6706
6882
  const snapshot = luvio.storeLookup({
6707
6883
  recordId: key,
6708
6884
  node: select(),
@@ -6736,10 +6912,10 @@ const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
6736
6912
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
6737
6913
  ];
6738
6914
  const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postSlackRecordChannelInfos_ConfigPropertyMetadata);
6739
- const createResourceParams = /*#__PURE__*/ createResourceParams$j(postSlackRecordChannelInfos_ConfigPropertyMetadata);
6915
+ const createResourceParams = /*#__PURE__*/ createResourceParams$k(postSlackRecordChannelInfos_ConfigPropertyMetadata);
6740
6916
  function typeCheckConfig(untrustedConfig) {
6741
6917
  const config = {};
6742
- typeCheckConfig$j(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
6918
+ typeCheckConfig$k(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
6743
6919
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
6744
6920
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
6745
6921
  const untrustedConfig_conversationInfo_object = {};
@@ -6815,6 +6991,7 @@ let getSlackUser;
6815
6991
  let getSlackUserNotifyChange;
6816
6992
  let patchSlackMessage;
6817
6993
  let postSlackConversation;
6994
+ let postSlackConversationMark;
6818
6995
  let postSlackConversationMembers;
6819
6996
  let postSlackFile;
6820
6997
  let postSlackMessageReactions;
@@ -6870,9 +7047,9 @@ function bindExportsTo(luvio) {
6870
7047
  return (config) => adapter(config).then((snapshot) => snapshot.data);
6871
7048
  }
6872
7049
  return {
6873
- deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$i, deleteSlackConversationMemberAdapterFactory),
6874
- deleteSlackMessage: createLDSAdapter(luvio, adapterName$h, deleteSlackMessageAdapterFactory),
6875
- deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$g, deleteSlackMessageReactionsAdapterFactory),
7050
+ deleteSlackConversationMember: createLDSAdapter(luvio, adapterName$j, deleteSlackConversationMemberAdapterFactory),
7051
+ deleteSlackMessage: createLDSAdapter(luvio, adapterName$i, deleteSlackMessageAdapterFactory),
7052
+ deleteSlackMessageReactions: createLDSAdapter(luvio, adapterName$h, deleteSlackMessageReactionsAdapterFactory),
6876
7053
  getSlackConversation: createWireAdapterConstructor(luvio, getSlackConversation_ldsAdapter, getSlackConversationMetadata),
6877
7054
  getSlackConversationMember: createWireAdapterConstructor(luvio, getSlackConversationMember_ldsAdapter, getSlackConversationMemberMetadata),
6878
7055
  getSlackConversationMemberNotifyChange: createLDSAdapter(luvio, 'getSlackConversationMemberNotifyChange', notifyChangeFactory$4),
@@ -6890,6 +7067,7 @@ function bindExportsTo(luvio) {
6890
7067
  getSlackUserNotifyChange: createLDSAdapter(luvio, 'getSlackUserNotifyChange', notifyChangeFactory),
6891
7068
  patchSlackMessage: unwrapSnapshotData(patchSlackMessageAdapterFactory),
6892
7069
  postSlackConversation: unwrapSnapshotData(postSlackConversationAdapterFactory),
7070
+ postSlackConversationMark: unwrapSnapshotData(postSlackConversationMarkAdapterFactory),
6893
7071
  postSlackConversationMembers: unwrapSnapshotData(postSlackConversationMembersAdapterFactory),
6894
7072
  postSlackFile: unwrapSnapshotData(postSlackFileAdapterFactory),
6895
7073
  postSlackMessageReactions: unwrapSnapshotData(postSlackMessageReactionsAdapterFactory),
@@ -6930,6 +7108,7 @@ withDefaultLuvio((luvio) => {
6930
7108
  getSlackUserNotifyChange,
6931
7109
  patchSlackMessage,
6932
7110
  postSlackConversation,
7111
+ postSlackConversationMark,
6933
7112
  postSlackConversationMembers,
6934
7113
  postSlackFile,
6935
7114
  postSlackMessageReactions,
@@ -6947,5 +7126,5 @@ withDefaultLuvio((luvio) => {
6947
7126
  } = bindExportsTo(luvio));
6948
7127
  });
6949
7128
 
6950
- 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, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
6951
- // version: 1.332.0-dev10-d8601dd102
7129
+ 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, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
7130
+ // version: 1.332.0-dev12-919b322e8a