@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev13 → 1.332.0-dev15

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.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$a, typeCheckConfig as typeCheckConfig$k, StoreKeyMap, createResourceParams as createResourceParams$k } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$b, typeCheckConfig as typeCheckConfig$l, StoreKeyMap, createResourceParams as createResourceParams$l } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -112,62 +112,216 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- const VERSION$l = "20bf7311db81b4fc5559874e8f8c7502";
116
- function validate$l(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
115
+ const VERSION$l = "6a2ede1150bccf991e3f6ea7b55a9964";
116
+ function validate$l(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
117
117
  const v_error = (() => {
118
118
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
119
119
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
120
120
  }
121
- const obj_altText = obj.altText;
122
- const path_altText = path + '.altText';
123
- let obj_altText_union0 = null;
124
- const obj_altText_union0_error = (() => {
125
- if (typeof obj_altText !== 'string') {
126
- return new TypeError('Expected "string" but received "' + typeof obj_altText + '" (at "' + path_altText + '")');
121
+ const obj_appleUrl = obj.appleUrl;
122
+ const path_appleUrl = path + '.appleUrl';
123
+ let obj_appleUrl_union0 = null;
124
+ const obj_appleUrl_union0_error = (() => {
125
+ if (typeof obj_appleUrl !== 'string') {
126
+ return new TypeError('Expected "string" but received "' + typeof obj_appleUrl + '" (at "' + path_appleUrl + '")');
127
127
  }
128
128
  })();
129
- if (obj_altText_union0_error != null) {
130
- obj_altText_union0 = obj_altText_union0_error.message;
129
+ if (obj_appleUrl_union0_error != null) {
130
+ obj_appleUrl_union0 = obj_appleUrl_union0_error.message;
131
131
  }
132
- let obj_altText_union1 = null;
133
- const obj_altText_union1_error = (() => {
134
- if (obj_altText !== null) {
135
- return new TypeError('Expected "null" but received "' + typeof obj_altText + '" (at "' + path_altText + '")');
132
+ let obj_appleUrl_union1 = null;
133
+ const obj_appleUrl_union1_error = (() => {
134
+ if (obj_appleUrl !== null) {
135
+ return new TypeError('Expected "null" but received "' + typeof obj_appleUrl + '" (at "' + path_appleUrl + '")');
136
136
  }
137
137
  })();
138
- if (obj_altText_union1_error != null) {
139
- obj_altText_union1 = obj_altText_union1_error.message;
138
+ if (obj_appleUrl_union1_error != null) {
139
+ obj_appleUrl_union1 = obj_appleUrl_union1_error.message;
140
140
  }
141
- if (obj_altText_union0 && obj_altText_union1) {
142
- let message = 'Object doesn\'t match union (at "' + path_altText + '")';
143
- message += '\n' + obj_altText_union0.split('\n').map((line) => '\t' + line).join('\n');
144
- message += '\n' + obj_altText_union1.split('\n').map((line) => '\t' + line).join('\n');
141
+ if (obj_appleUrl_union0 && obj_appleUrl_union1) {
142
+ let message = 'Object doesn\'t match union (at "' + path_appleUrl + '")';
143
+ message += '\n' + obj_appleUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
144
+ message += '\n' + obj_appleUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
145
145
  return new TypeError(message);
146
146
  }
147
- const obj_isCustom = obj.isCustom;
148
- const path_isCustom = path + '.isCustom';
149
- let obj_isCustom_union0 = null;
150
- const obj_isCustom_union0_error = (() => {
151
- if (typeof obj_isCustom !== 'boolean') {
152
- return new TypeError('Expected "boolean" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
147
+ const obj_defaultValue = obj.defaultValue;
148
+ const path_defaultValue = path + '.defaultValue';
149
+ let obj_defaultValue_union0 = null;
150
+ const obj_defaultValue_union0_error = (() => {
151
+ if (typeof obj_defaultValue !== 'string') {
152
+ return new TypeError('Expected "string" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
153
153
  }
154
154
  })();
155
- if (obj_isCustom_union0_error != null) {
156
- obj_isCustom_union0 = obj_isCustom_union0_error.message;
155
+ if (obj_defaultValue_union0_error != null) {
156
+ obj_defaultValue_union0 = obj_defaultValue_union0_error.message;
157
157
  }
158
- let obj_isCustom_union1 = null;
159
- const obj_isCustom_union1_error = (() => {
160
- if (obj_isCustom !== null) {
161
- return new TypeError('Expected "null" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
158
+ let obj_defaultValue_union1 = null;
159
+ const obj_defaultValue_union1_error = (() => {
160
+ if (obj_defaultValue !== null) {
161
+ return new TypeError('Expected "null" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
162
162
  }
163
163
  })();
164
- if (obj_isCustom_union1_error != null) {
165
- obj_isCustom_union1 = obj_isCustom_union1_error.message;
164
+ if (obj_defaultValue_union1_error != null) {
165
+ obj_defaultValue_union1 = obj_defaultValue_union1_error.message;
166
166
  }
167
- if (obj_isCustom_union0 && obj_isCustom_union1) {
168
- let message = 'Object doesn\'t match union (at "' + path_isCustom + '")';
169
- message += '\n' + obj_isCustom_union0.split('\n').map((line) => '\t' + line).join('\n');
170
- message += '\n' + obj_isCustom_union1.split('\n').map((line) => '\t' + line).join('\n');
167
+ if (obj_defaultValue_union0 && obj_defaultValue_union1) {
168
+ let message = 'Object doesn\'t match union (at "' + path_defaultValue + '")';
169
+ message += '\n' + obj_defaultValue_union0.split('\n').map((line) => '\t' + line).join('\n');
170
+ message += '\n' + obj_defaultValue_union1.split('\n').map((line) => '\t' + line).join('\n');
171
+ return new TypeError(message);
172
+ }
173
+ const obj_googleUrl = obj.googleUrl;
174
+ const path_googleUrl = path + '.googleUrl';
175
+ let obj_googleUrl_union0 = null;
176
+ const obj_googleUrl_union0_error = (() => {
177
+ if (typeof obj_googleUrl !== 'string') {
178
+ return new TypeError('Expected "string" but received "' + typeof obj_googleUrl + '" (at "' + path_googleUrl + '")');
179
+ }
180
+ })();
181
+ if (obj_googleUrl_union0_error != null) {
182
+ obj_googleUrl_union0 = obj_googleUrl_union0_error.message;
183
+ }
184
+ let obj_googleUrl_union1 = null;
185
+ const obj_googleUrl_union1_error = (() => {
186
+ if (obj_googleUrl !== null) {
187
+ return new TypeError('Expected "null" but received "' + typeof obj_googleUrl + '" (at "' + path_googleUrl + '")');
188
+ }
189
+ })();
190
+ if (obj_googleUrl_union1_error != null) {
191
+ obj_googleUrl_union1 = obj_googleUrl_union1_error.message;
192
+ }
193
+ if (obj_googleUrl_union0 && obj_googleUrl_union1) {
194
+ let message = 'Object doesn\'t match union (at "' + path_googleUrl + '")';
195
+ message += '\n' + obj_googleUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
196
+ message += '\n' + obj_googleUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
197
+ return new TypeError(message);
198
+ }
199
+ })();
200
+ return v_error === undefined ? null : v_error;
201
+ }
202
+ const select$D = function SlackBridgeEmojiValueOutputRepresentationSelect() {
203
+ return {
204
+ kind: 'Fragment',
205
+ version: VERSION$l,
206
+ private: [],
207
+ selections: [
208
+ {
209
+ name: 'appleUrl',
210
+ kind: 'Scalar'
211
+ },
212
+ {
213
+ name: 'defaultValue',
214
+ kind: 'Scalar'
215
+ },
216
+ {
217
+ name: 'googleUrl',
218
+ kind: 'Scalar'
219
+ }
220
+ ]
221
+ };
222
+ };
223
+ function equals$l(existing, incoming) {
224
+ const existing_appleUrl = existing.appleUrl;
225
+ const incoming_appleUrl = incoming.appleUrl;
226
+ if (!(existing_appleUrl === incoming_appleUrl)) {
227
+ return false;
228
+ }
229
+ const existing_defaultValue = existing.defaultValue;
230
+ const incoming_defaultValue = incoming.defaultValue;
231
+ if (!(existing_defaultValue === incoming_defaultValue)) {
232
+ return false;
233
+ }
234
+ const existing_googleUrl = existing.googleUrl;
235
+ const incoming_googleUrl = incoming.googleUrl;
236
+ if (!(existing_googleUrl === incoming_googleUrl)) {
237
+ return false;
238
+ }
239
+ return true;
240
+ }
241
+
242
+ const TTL$1 = 2592000000;
243
+ const VERSION$k = "a0e1530372a57d61a1264218124bbb5c";
244
+ function validate$k(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
245
+ const v_error = (() => {
246
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
247
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
248
+ }
249
+ const obj_alias = obj.alias;
250
+ const path_alias = path + '.alias';
251
+ let obj_alias_union0 = null;
252
+ const obj_alias_union0_error = (() => {
253
+ if (typeof obj_alias !== 'string') {
254
+ return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
255
+ }
256
+ })();
257
+ if (obj_alias_union0_error != null) {
258
+ obj_alias_union0 = obj_alias_union0_error.message;
259
+ }
260
+ let obj_alias_union1 = null;
261
+ const obj_alias_union1_error = (() => {
262
+ if (obj_alias !== null) {
263
+ return new TypeError('Expected "null" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
264
+ }
265
+ })();
266
+ if (obj_alias_union1_error != null) {
267
+ obj_alias_union1 = obj_alias_union1_error.message;
268
+ }
269
+ if (obj_alias_union0 && obj_alias_union1) {
270
+ let message = 'Object doesn\'t match union (at "' + path_alias + '")';
271
+ message += '\n' + obj_alias_union0.split('\n').map((line) => '\t' + line).join('\n');
272
+ message += '\n' + obj_alias_union1.split('\n').map((line) => '\t' + line).join('\n');
273
+ return new TypeError(message);
274
+ }
275
+ const obj_collectionId = obj.collectionId;
276
+ const path_collectionId = path + '.collectionId';
277
+ let obj_collectionId_union0 = null;
278
+ const obj_collectionId_union0_error = (() => {
279
+ if (typeof obj_collectionId !== 'string') {
280
+ return new TypeError('Expected "string" but received "' + typeof obj_collectionId + '" (at "' + path_collectionId + '")');
281
+ }
282
+ })();
283
+ if (obj_collectionId_union0_error != null) {
284
+ obj_collectionId_union0 = obj_collectionId_union0_error.message;
285
+ }
286
+ let obj_collectionId_union1 = null;
287
+ const obj_collectionId_union1_error = (() => {
288
+ if (obj_collectionId !== null) {
289
+ return new TypeError('Expected "null" but received "' + typeof obj_collectionId + '" (at "' + path_collectionId + '")');
290
+ }
291
+ })();
292
+ if (obj_collectionId_union1_error != null) {
293
+ obj_collectionId_union1 = obj_collectionId_union1_error.message;
294
+ }
295
+ if (obj_collectionId_union0 && obj_collectionId_union1) {
296
+ let message = 'Object doesn\'t match union (at "' + path_collectionId + '")';
297
+ message += '\n' + obj_collectionId_union0.split('\n').map((line) => '\t' + line).join('\n');
298
+ message += '\n' + obj_collectionId_union1.split('\n').map((line) => '\t' + line).join('\n');
299
+ return new TypeError(message);
300
+ }
301
+ const obj_isAlias = obj.isAlias;
302
+ const path_isAlias = path + '.isAlias';
303
+ let obj_isAlias_union0 = null;
304
+ const obj_isAlias_union0_error = (() => {
305
+ if (typeof obj_isAlias !== 'boolean') {
306
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isAlias + '" (at "' + path_isAlias + '")');
307
+ }
308
+ })();
309
+ if (obj_isAlias_union0_error != null) {
310
+ obj_isAlias_union0 = obj_isAlias_union0_error.message;
311
+ }
312
+ let obj_isAlias_union1 = null;
313
+ const obj_isAlias_union1_error = (() => {
314
+ if (obj_isAlias !== null) {
315
+ return new TypeError('Expected "null" but received "' + typeof obj_isAlias + '" (at "' + path_isAlias + '")');
316
+ }
317
+ })();
318
+ if (obj_isAlias_union1_error != null) {
319
+ obj_isAlias_union1 = obj_isAlias_union1_error.message;
320
+ }
321
+ if (obj_isAlias_union0 && obj_isAlias_union1) {
322
+ let message = 'Object doesn\'t match union (at "' + path_isAlias + '")';
323
+ message += '\n' + obj_isAlias_union0.split('\n').map((line) => '\t' + line).join('\n');
324
+ message += '\n' + obj_isAlias_union1.split('\n').map((line) => '\t' + line).join('\n');
171
325
  return new TypeError(message);
172
326
  }
173
327
  const obj_name = obj.name;
@@ -175,122 +329,174 @@ function validate$l(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
175
329
  if (typeof obj_name !== 'string') {
176
330
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
177
331
  }
178
- const obj_unicode = obj.unicode;
179
- const path_unicode = path + '.unicode';
180
- let obj_unicode_union0 = null;
181
- const obj_unicode_union0_error = (() => {
182
- if (typeof obj_unicode !== 'string') {
183
- return new TypeError('Expected "string" but received "' + typeof obj_unicode + '" (at "' + path_unicode + '")');
332
+ const obj_updated = obj.updated;
333
+ const path_updated = path + '.updated';
334
+ let obj_updated_union0 = null;
335
+ const obj_updated_union0_error = (() => {
336
+ if (typeof obj_updated !== 'string') {
337
+ return new TypeError('Expected "string" but received "' + typeof obj_updated + '" (at "' + path_updated + '")');
184
338
  }
185
339
  })();
186
- if (obj_unicode_union0_error != null) {
187
- obj_unicode_union0 = obj_unicode_union0_error.message;
340
+ if (obj_updated_union0_error != null) {
341
+ obj_updated_union0 = obj_updated_union0_error.message;
188
342
  }
189
- let obj_unicode_union1 = null;
190
- const obj_unicode_union1_error = (() => {
191
- if (obj_unicode !== null) {
192
- return new TypeError('Expected "null" but received "' + typeof obj_unicode + '" (at "' + path_unicode + '")');
343
+ let obj_updated_union1 = null;
344
+ const obj_updated_union1_error = (() => {
345
+ if (obj_updated !== null) {
346
+ return new TypeError('Expected "null" but received "' + typeof obj_updated + '" (at "' + path_updated + '")');
193
347
  }
194
348
  })();
195
- if (obj_unicode_union1_error != null) {
196
- obj_unicode_union1 = obj_unicode_union1_error.message;
349
+ if (obj_updated_union1_error != null) {
350
+ obj_updated_union1 = obj_updated_union1_error.message;
197
351
  }
198
- if (obj_unicode_union0 && obj_unicode_union1) {
199
- let message = 'Object doesn\'t match union (at "' + path_unicode + '")';
200
- message += '\n' + obj_unicode_union0.split('\n').map((line) => '\t' + line).join('\n');
201
- message += '\n' + obj_unicode_union1.split('\n').map((line) => '\t' + line).join('\n');
352
+ if (obj_updated_union0 && obj_updated_union1) {
353
+ let message = 'Object doesn\'t match union (at "' + path_updated + '")';
354
+ message += '\n' + obj_updated_union0.split('\n').map((line) => '\t' + line).join('\n');
355
+ message += '\n' + obj_updated_union1.split('\n').map((line) => '\t' + line).join('\n');
202
356
  return new TypeError(message);
203
357
  }
204
- const obj_url = obj.url;
205
- const path_url = path + '.url';
206
- let obj_url_union0 = null;
207
- const obj_url_union0_error = (() => {
208
- if (typeof obj_url !== 'string') {
209
- return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
358
+ const obj_value = obj.value;
359
+ const path_value = path + '.value';
360
+ let obj_value_union0 = null;
361
+ const obj_value_union0_error = (() => {
362
+ const referencepath_valueValidationError = validate$l(obj_value, path_value);
363
+ if (referencepath_valueValidationError !== null) {
364
+ let message = 'Object doesn\'t match SlackBridgeEmojiValueOutputRepresentation (at "' + path_value + '")\n';
365
+ message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
366
+ return new TypeError(message);
210
367
  }
211
368
  })();
212
- if (obj_url_union0_error != null) {
213
- obj_url_union0 = obj_url_union0_error.message;
369
+ if (obj_value_union0_error != null) {
370
+ obj_value_union0 = obj_value_union0_error.message;
214
371
  }
215
- let obj_url_union1 = null;
216
- const obj_url_union1_error = (() => {
217
- if (obj_url !== null) {
218
- return new TypeError('Expected "null" but received "' + typeof obj_url + '" (at "' + path_url + '")');
372
+ let obj_value_union1 = null;
373
+ const obj_value_union1_error = (() => {
374
+ if (obj_value !== null) {
375
+ return new TypeError('Expected "null" but received "' + typeof obj_value + '" (at "' + path_value + '")');
219
376
  }
220
377
  })();
221
- if (obj_url_union1_error != null) {
222
- obj_url_union1 = obj_url_union1_error.message;
378
+ if (obj_value_union1_error != null) {
379
+ obj_value_union1 = obj_value_union1_error.message;
223
380
  }
224
- if (obj_url_union0 && obj_url_union1) {
225
- let message = 'Object doesn\'t match union (at "' + path_url + '")';
226
- message += '\n' + obj_url_union0.split('\n').map((line) => '\t' + line).join('\n');
227
- message += '\n' + obj_url_union1.split('\n').map((line) => '\t' + line).join('\n');
381
+ if (obj_value_union0 && obj_value_union1) {
382
+ let message = 'Object doesn\'t match union (at "' + path_value + '")';
383
+ message += '\n' + obj_value_union0.split('\n').map((line) => '\t' + line).join('\n');
384
+ message += '\n' + obj_value_union1.split('\n').map((line) => '\t' + line).join('\n');
228
385
  return new TypeError(message);
229
386
  }
230
387
  })();
231
388
  return v_error === undefined ? null : v_error;
232
389
  }
390
+ const RepresentationType$g = 'SlackBridgeEmojiOutputRepresentation';
391
+ function keyBuilder$z(luvio, config) {
392
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
393
+ }
394
+ function keyBuilderFromType$a(luvio, object) {
395
+ const keyParams = {
396
+ name: object.name
397
+ };
398
+ return keyBuilder$z(luvio, keyParams);
399
+ }
400
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
401
+ return input;
402
+ }
233
403
  const select$C = function SlackBridgeEmojiOutputRepresentationSelect() {
404
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$D();
234
405
  return {
235
406
  kind: 'Fragment',
236
- version: VERSION$l,
407
+ version: VERSION$k,
237
408
  private: [],
238
409
  selections: [
239
410
  {
240
- name: 'altText',
411
+ name: 'alias',
241
412
  kind: 'Scalar'
242
413
  },
243
414
  {
244
- name: 'isCustom',
415
+ name: 'collectionId',
245
416
  kind: 'Scalar'
246
417
  },
247
418
  {
248
- name: 'name',
419
+ name: 'isAlias',
249
420
  kind: 'Scalar'
250
421
  },
251
422
  {
252
- name: 'unicode',
423
+ name: 'name',
253
424
  kind: 'Scalar'
254
425
  },
255
426
  {
256
- name: 'url',
427
+ name: 'updated',
257
428
  kind: 'Scalar'
429
+ },
430
+ {
431
+ name: 'value',
432
+ kind: 'Object',
433
+ nullable: true,
434
+ selections: SlackBridgeEmojiValueOutputRepresentation__selections
258
435
  }
259
436
  ]
260
437
  };
261
438
  };
262
- function equals$l(existing, incoming) {
439
+ function equals$k(existing, incoming) {
263
440
  const existing_name = existing.name;
264
441
  const incoming_name = incoming.name;
265
442
  if (!(existing_name === incoming_name)) {
266
443
  return false;
267
444
  }
268
- const existing_altText = existing.altText;
269
- const incoming_altText = incoming.altText;
270
- if (!(existing_altText === incoming_altText)) {
445
+ const existing_alias = existing.alias;
446
+ const incoming_alias = incoming.alias;
447
+ if (!(existing_alias === incoming_alias)) {
271
448
  return false;
272
449
  }
273
- const existing_isCustom = existing.isCustom;
274
- const incoming_isCustom = incoming.isCustom;
275
- if (!(existing_isCustom === incoming_isCustom)) {
450
+ const existing_collectionId = existing.collectionId;
451
+ const incoming_collectionId = incoming.collectionId;
452
+ if (!(existing_collectionId === incoming_collectionId)) {
276
453
  return false;
277
454
  }
278
- const existing_unicode = existing.unicode;
279
- const incoming_unicode = incoming.unicode;
280
- if (!(existing_unicode === incoming_unicode)) {
455
+ const existing_isAlias = existing.isAlias;
456
+ const incoming_isAlias = incoming.isAlias;
457
+ if (!(existing_isAlias === incoming_isAlias)) {
281
458
  return false;
282
459
  }
283
- const existing_url = existing.url;
284
- const incoming_url = incoming.url;
285
- if (!(existing_url === incoming_url)) {
460
+ const existing_updated = existing.updated;
461
+ const incoming_updated = incoming.updated;
462
+ if (!(existing_updated === incoming_updated)) {
463
+ return false;
464
+ }
465
+ const existing_value = existing.value;
466
+ const incoming_value = incoming.value;
467
+ if (!(existing_value === incoming_value
468
+ || (existing_value != null &&
469
+ incoming_value != null &&
470
+ equals$l(existing_value, incoming_value)))) {
286
471
  return false;
287
472
  }
288
473
  return true;
289
474
  }
475
+ const ingest$g = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
476
+ if (process.env.NODE_ENV !== 'production') {
477
+ const validateError = validate$k(input);
478
+ if (validateError !== null) {
479
+ throw validateError;
480
+ }
481
+ }
482
+ const key = keyBuilderFromType$a(luvio, input);
483
+ const ttlToUse = TTL$1;
484
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$k, RepresentationType$g, equals$k);
485
+ return createLink(key);
486
+ };
487
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
488
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
489
+ const rootKey = keyBuilderFromType$a(luvio, input);
490
+ rootKeySet.set(rootKey, {
491
+ namespace: keyPrefix,
492
+ representationName: RepresentationType$g,
493
+ mergeable: false
494
+ });
495
+ }
290
496
 
291
497
  const TTL = 600000;
292
- const VERSION$k = "c15d4769a77b0ce9f7c5d06c3210c0d8";
293
- function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
498
+ const VERSION$j = "53030123e17824e401cd635bf346e728";
499
+ function validate$j(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
294
500
  const v_error = (() => {
295
501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
296
502
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -574,11 +780,8 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
574
780
  const path_statusEmoji = path + '.statusEmoji';
575
781
  let obj_statusEmoji_union0 = null;
576
782
  const obj_statusEmoji_union0_error = (() => {
577
- const referencepath_statusEmojiValidationError = validate$l(obj_statusEmoji, path_statusEmoji);
578
- if (referencepath_statusEmojiValidationError !== null) {
579
- let message = 'Object doesn\'t match SlackBridgeEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
580
- message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
581
- return new TypeError(message);
783
+ if (typeof obj_statusEmoji !== 'object') {
784
+ return new TypeError('Expected "object" but received "' + typeof obj_statusEmoji + '" (at "' + path_statusEmoji + '")');
582
785
  }
583
786
  })();
584
787
  if (obj_statusEmoji_union0_error != null) {
@@ -659,25 +862,38 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
659
862
  })();
660
863
  return v_error === undefined ? null : v_error;
661
864
  }
662
- const RepresentationType$g = 'SlackBridgeUserInfoOutputRepresentation';
663
- function keyBuilder$w(luvio, config) {
664
- return keyPrefix + '::' + RepresentationType$g + ':' + config.teamId + ':' + config.slackUserId;
865
+ const RepresentationType$f = 'SlackBridgeUserInfoOutputRepresentation';
866
+ function keyBuilder$y(luvio, config) {
867
+ return keyPrefix + '::' + RepresentationType$f + ':' + config.teamId + ':' + config.slackUserId;
665
868
  }
666
869
  function keyBuilderFromType$9(luvio, object) {
667
870
  const keyParams = {
668
871
  teamId: object.teamId,
669
872
  slackUserId: object.slackUserId
670
873
  };
671
- return keyBuilder$w(luvio, keyParams);
874
+ return keyBuilder$y(luvio, keyParams);
672
875
  }
673
- function normalize$g(input, existing, path, luvio, store, timestamp) {
876
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
877
+ const input_statusEmoji = input.statusEmoji;
878
+ const input_statusEmoji_id = path.fullPath + '__statusEmoji';
879
+ if (input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
880
+ input.statusEmoji = ingest$g(input_statusEmoji, {
881
+ fullPath: input_statusEmoji_id,
882
+ propertyName: 'statusEmoji',
883
+ parent: {
884
+ data: input,
885
+ key: path.fullPath,
886
+ existing: existing,
887
+ },
888
+ ttl: path.ttl
889
+ }, luvio, store, timestamp);
890
+ }
674
891
  return input;
675
892
  }
676
893
  const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
677
- const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$C();
678
894
  return {
679
895
  kind: 'Fragment',
680
- version: VERSION$k,
896
+ version: VERSION$j,
681
897
  private: [],
682
898
  selections: [
683
899
  {
@@ -734,9 +950,9 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
734
950
  },
735
951
  {
736
952
  name: 'statusEmoji',
737
- kind: 'Object',
953
+ kind: 'Link',
738
954
  nullable: true,
739
- selections: SlackBridgeEmojiOutputRepresentation__selections
955
+ fragment: select$C()
740
956
  },
741
957
  {
742
958
  name: 'statusMessage',
@@ -753,7 +969,7 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
753
969
  ]
754
970
  };
755
971
  };
756
- function equals$k(existing, incoming) {
972
+ function equals$j(existing, incoming) {
757
973
  const existing_bot = existing.bot;
758
974
  const incoming_bot = incoming.bot;
759
975
  if (!(existing_bot === incoming_bot)) {
@@ -829,7 +1045,9 @@ function equals$k(existing, incoming) {
829
1045
  if (!(existing_statusEmoji === incoming_statusEmoji
830
1046
  || (existing_statusEmoji != null &&
831
1047
  incoming_statusEmoji != null &&
832
- equals$l(existing_statusEmoji, incoming_statusEmoji)))) {
1048
+ existing_statusEmoji.__ref != null &&
1049
+ incoming_statusEmoji.__ref != null &&
1050
+ existing_statusEmoji.__ref === incoming_statusEmoji.__ref))) {
833
1051
  return false;
834
1052
  }
835
1053
  const existing_statusMessage = existing.statusMessage;
@@ -844,30 +1062,33 @@ function equals$k(existing, incoming) {
844
1062
  }
845
1063
  return true;
846
1064
  }
847
- const ingest$g = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1065
+ const ingest$f = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
848
1066
  if (process.env.NODE_ENV !== 'production') {
849
- const validateError = validate$k(input);
1067
+ const validateError = validate$j(input);
850
1068
  if (validateError !== null) {
851
1069
  throw validateError;
852
1070
  }
853
1071
  }
854
1072
  const key = keyBuilderFromType$9(luvio, input);
855
1073
  const ttlToUse = TTL;
856
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$k, RepresentationType$g, equals$k);
1074
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
857
1075
  return createLink(key);
858
1076
  };
859
- function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1077
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
860
1078
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
861
1079
  const rootKey = keyBuilderFromType$9(luvio, input);
862
1080
  rootKeySet.set(rootKey, {
863
1081
  namespace: keyPrefix,
864
- representationName: RepresentationType$g,
1082
+ representationName: RepresentationType$f,
865
1083
  mergeable: false
866
1084
  });
1085
+ if (input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
1086
+ getTypeCacheKeys$g(rootKeySet, luvio, input.statusEmoji);
1087
+ }
867
1088
  }
868
1089
 
869
- const VERSION$j = "252fe3a6509a770a876e36552ad8dd06";
870
- function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1090
+ const VERSION$i = "252fe3a6509a770a876e36552ad8dd06";
1091
+ function validate$i(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
871
1092
  const v_error = (() => {
872
1093
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
873
1094
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1204,23 +1425,23 @@ function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1204
1425
  })();
1205
1426
  return v_error === undefined ? null : v_error;
1206
1427
  }
1207
- const RepresentationType$f = 'SlackBridgeConversationInfoOutputRepresentation';
1208
- function keyBuilder$v(luvio, config) {
1209
- return keyPrefix + '::' + RepresentationType$f + ':' + config.id;
1428
+ const RepresentationType$e = 'SlackBridgeConversationInfoOutputRepresentation';
1429
+ function keyBuilder$x(luvio, config) {
1430
+ return keyPrefix + '::' + RepresentationType$e + ':' + config.id;
1210
1431
  }
1211
1432
  function keyBuilderFromType$8(luvio, object) {
1212
1433
  const keyParams = {
1213
1434
  id: object.id
1214
1435
  };
1215
- return keyBuilder$v(luvio, keyParams);
1436
+ return keyBuilder$x(luvio, keyParams);
1216
1437
  }
1217
- function normalize$f(input, existing, path, luvio, store, timestamp) {
1438
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
1218
1439
  return input;
1219
1440
  }
1220
1441
  const select$A = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1221
1442
  return {
1222
1443
  kind: 'Fragment',
1223
- version: VERSION$j,
1444
+ version: VERSION$i,
1224
1445
  private: [],
1225
1446
  selections: [
1226
1447
  {
@@ -1287,7 +1508,7 @@ const select$A = function SlackBridgeConversationInfoOutputRepresentationSelect(
1287
1508
  ]
1288
1509
  };
1289
1510
  };
1290
- function equals$j(existing, incoming) {
1511
+ function equals$i(existing, incoming) {
1291
1512
  const existing_id = existing.id;
1292
1513
  const incoming_id = incoming.id;
1293
1514
  if (!(existing_id === incoming_id)) {
@@ -1373,30 +1594,30 @@ function equals$j(existing, incoming) {
1373
1594
  }
1374
1595
  return true;
1375
1596
  }
1376
- const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1597
+ const ingest$e = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1377
1598
  if (process.env.NODE_ENV !== 'production') {
1378
- const validateError = validate$j(input);
1599
+ const validateError = validate$i(input);
1379
1600
  if (validateError !== null) {
1380
1601
  throw validateError;
1381
1602
  }
1382
1603
  }
1383
1604
  const key = keyBuilderFromType$8(luvio, input);
1384
1605
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1385
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
1606
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$i, RepresentationType$e, equals$i);
1386
1607
  return createLink(key);
1387
1608
  };
1388
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1609
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1389
1610
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1390
1611
  const rootKey = keyBuilderFromType$8(luvio, input);
1391
1612
  rootKeySet.set(rootKey, {
1392
1613
  namespace: keyPrefix,
1393
- representationName: RepresentationType$f,
1614
+ representationName: RepresentationType$e,
1394
1615
  mergeable: false
1395
1616
  });
1396
1617
  }
1397
1618
 
1398
- const VERSION$i = "7820a930852347bb0506c08d8b528281";
1399
- function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1619
+ const VERSION$h = "7820a930852347bb0506c08d8b528281";
1620
+ function validate$h(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1400
1621
  const v_error = (() => {
1401
1622
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1402
1623
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1476,7 +1697,7 @@ function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1476
1697
  const select$z = function SlackBridgeReactionOutputRepresentationSelect() {
1477
1698
  return {
1478
1699
  kind: 'Fragment',
1479
- version: VERSION$i,
1700
+ version: VERSION$h,
1480
1701
  private: [],
1481
1702
  selections: [
1482
1703
  {
@@ -1499,7 +1720,7 @@ const select$z = function SlackBridgeReactionOutputRepresentationSelect() {
1499
1720
  ]
1500
1721
  };
1501
1722
  };
1502
- function equals$i(existing, incoming) {
1723
+ function equals$h(existing, incoming) {
1503
1724
  const existing_name = existing.name;
1504
1725
  const incoming_name = incoming.name;
1505
1726
  if (!(existing_name === incoming_name)) {
@@ -1528,8 +1749,8 @@ function equals$i(existing, incoming) {
1528
1749
  return true;
1529
1750
  }
1530
1751
 
1531
- const VERSION$h = "4634cd404d8392ac4ca9f0e1be03bfbd";
1532
- function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1752
+ const VERSION$g = "4634cd404d8392ac4ca9f0e1be03bfbd";
1753
+ function validate$g(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1533
1754
  const v_error = (() => {
1534
1755
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1535
1756
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1550,7 +1771,7 @@ function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1550
1771
  const select$y = function SlackBridgeFileTypeOutputRepresentationSelect() {
1551
1772
  return {
1552
1773
  kind: 'Fragment',
1553
- version: VERSION$h,
1774
+ version: VERSION$g,
1554
1775
  private: [],
1555
1776
  selections: [
1556
1777
  {
@@ -1564,7 +1785,7 @@ const select$y = function SlackBridgeFileTypeOutputRepresentationSelect() {
1564
1785
  ]
1565
1786
  };
1566
1787
  };
1567
- function equals$h(existing, incoming) {
1788
+ function equals$g(existing, incoming) {
1568
1789
  const existing_extension = existing.extension;
1569
1790
  const incoming_extension = incoming.extension;
1570
1791
  if (!(existing_extension === incoming_extension)) {
@@ -1578,8 +1799,8 @@ function equals$h(existing, incoming) {
1578
1799
  return true;
1579
1800
  }
1580
1801
 
1581
- const VERSION$g = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1582
- function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1802
+ const VERSION$f = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1803
+ function validate$f(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1583
1804
  const v_error = (() => {
1584
1805
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1585
1806
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1593,7 +1814,7 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1593
1814
  const path_filetype = path + '.filetype';
1594
1815
  let obj_filetype_union0 = null;
1595
1816
  const obj_filetype_union0_error = (() => {
1596
- const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
1817
+ const referencepath_filetypeValidationError = validate$g(obj_filetype, path_filetype);
1597
1818
  if (referencepath_filetypeValidationError !== null) {
1598
1819
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1599
1820
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1666,7 +1887,7 @@ const select$x = function SlackBridgeContentVersionOutputRepresentationSelect()
1666
1887
  const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$y();
1667
1888
  return {
1668
1889
  kind: 'Fragment',
1669
- version: VERSION$g,
1890
+ version: VERSION$f,
1670
1891
  private: [],
1671
1892
  selections: [
1672
1893
  {
@@ -1698,7 +1919,7 @@ const select$x = function SlackBridgeContentVersionOutputRepresentationSelect()
1698
1919
  ]
1699
1920
  };
1700
1921
  };
1701
- function equals$g(existing, incoming) {
1922
+ function equals$f(existing, incoming) {
1702
1923
  const existing_size = existing.size;
1703
1924
  const incoming_size = incoming.size;
1704
1925
  if (!(existing_size === incoming_size)) {
@@ -1724,7 +1945,7 @@ function equals$g(existing, incoming) {
1724
1945
  if (!(existing_filetype === incoming_filetype
1725
1946
  || (existing_filetype != null &&
1726
1947
  incoming_filetype != null &&
1727
- equals$h(existing_filetype, incoming_filetype)))) {
1948
+ equals$g(existing_filetype, incoming_filetype)))) {
1728
1949
  return false;
1729
1950
  }
1730
1951
  const existing_versionUrl = existing.versionUrl;
@@ -1735,15 +1956,15 @@ function equals$g(existing, incoming) {
1735
1956
  return true;
1736
1957
  }
1737
1958
 
1738
- const VERSION$f = "effdd259bc622bee05493fc2a3ecd276";
1739
- function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
1959
+ const VERSION$e = "effdd259bc622bee05493fc2a3ecd276";
1960
+ function validate$e(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
1740
1961
  const v_error = (() => {
1741
1962
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1742
1963
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1743
1964
  }
1744
1965
  const obj_filetype = obj.filetype;
1745
1966
  const path_filetype = path + '.filetype';
1746
- const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
1967
+ const referencepath_filetypeValidationError = validate$g(obj_filetype, path_filetype);
1747
1968
  if (referencepath_filetypeValidationError !== null) {
1748
1969
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1749
1970
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1756,7 +1977,7 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1756
1977
  }
1757
1978
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
1758
1979
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
1759
- const referencepath_latestPublishedVersionValidationError = validate$g(obj_latestPublishedVersion, path_latestPublishedVersion);
1980
+ const referencepath_latestPublishedVersionValidationError = validate$f(obj_latestPublishedVersion, path_latestPublishedVersion);
1760
1981
  if (referencepath_latestPublishedVersionValidationError !== null) {
1761
1982
  let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
1762
1983
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1780,7 +2001,7 @@ const select$w = function SlackBridgeContentDocumentOutputRepresentationSelect()
1780
2001
  const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$x();
1781
2002
  return {
1782
2003
  kind: 'Fragment',
1783
- version: VERSION$f,
2004
+ version: VERSION$e,
1784
2005
  private: [],
1785
2006
  selections: [
1786
2007
  {
@@ -1808,7 +2029,7 @@ const select$w = function SlackBridgeContentDocumentOutputRepresentationSelect()
1808
2029
  ]
1809
2030
  };
1810
2031
  };
1811
- function equals$f(existing, incoming) {
2032
+ function equals$e(existing, incoming) {
1812
2033
  const existing_size = existing.size;
1813
2034
  const incoming_size = incoming.size;
1814
2035
  if (!(existing_size === incoming_size)) {
@@ -1826,19 +2047,19 @@ function equals$f(existing, incoming) {
1826
2047
  }
1827
2048
  const existing_filetype = existing.filetype;
1828
2049
  const incoming_filetype = incoming.filetype;
1829
- if (!(equals$h(existing_filetype, incoming_filetype))) {
2050
+ if (!(equals$g(existing_filetype, incoming_filetype))) {
1830
2051
  return false;
1831
2052
  }
1832
2053
  const existing_latestPublishedVersion = existing.latestPublishedVersion;
1833
2054
  const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
1834
- if (!(equals$g(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2055
+ if (!(equals$f(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
1835
2056
  return false;
1836
2057
  }
1837
2058
  return true;
1838
2059
  }
1839
2060
 
1840
- const VERSION$e = "15fa7211c500ebba9537b3c9921b39cf";
1841
- function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2061
+ const VERSION$d = "15fa7211c500ebba9537b3c9921b39cf";
2062
+ function validate$d(obj, path = 'SlackBridgeFileOutputRepresentation') {
1842
2063
  const v_error = (() => {
1843
2064
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1844
2065
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1847,7 +2068,7 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
1847
2068
  const path_contentDocument = path + '.contentDocument';
1848
2069
  let obj_contentDocument_union0 = null;
1849
2070
  const obj_contentDocument_union0_error = (() => {
1850
- const referencepath_contentDocumentValidationError = validate$f(obj_contentDocument, path_contentDocument);
2071
+ const referencepath_contentDocumentValidationError = validate$e(obj_contentDocument, path_contentDocument);
1851
2072
  if (referencepath_contentDocumentValidationError !== null) {
1852
2073
  let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
1853
2074
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2009,24 +2230,24 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2009
2230
  })();
2010
2231
  return v_error === undefined ? null : v_error;
2011
2232
  }
2012
- const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
2013
- function keyBuilder$u(luvio, config) {
2014
- return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2233
+ const RepresentationType$d = 'SlackBridgeFileOutputRepresentation';
2234
+ function keyBuilder$w(luvio, config) {
2235
+ return keyPrefix + '::' + RepresentationType$d + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2015
2236
  }
2016
2237
  function keyBuilderFromType$7(luvio, object) {
2017
2238
  const keyParams = {
2018
2239
  uniqueKey: object.uniqueKey
2019
2240
  };
2020
- return keyBuilder$u(luvio, keyParams);
2241
+ return keyBuilder$w(luvio, keyParams);
2021
2242
  }
2022
- function normalize$e(input, existing, path, luvio, store, timestamp) {
2243
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
2023
2244
  return input;
2024
2245
  }
2025
2246
  const select$v = function SlackBridgeFileOutputRepresentationSelect() {
2026
2247
  const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$w();
2027
2248
  return {
2028
2249
  kind: 'Fragment',
2029
- version: VERSION$e,
2250
+ version: VERSION$d,
2030
2251
  private: [],
2031
2252
  selections: [
2032
2253
  {
@@ -2078,7 +2299,7 @@ const select$v = function SlackBridgeFileOutputRepresentationSelect() {
2078
2299
  ]
2079
2300
  };
2080
2301
  };
2081
- function equals$e(existing, incoming) {
2302
+ function equals$d(existing, incoming) {
2082
2303
  const existing_filetype = existing.filetype;
2083
2304
  const incoming_filetype = incoming.filetype;
2084
2305
  if (!(existing_filetype === incoming_filetype)) {
@@ -2114,7 +2335,7 @@ function equals$e(existing, incoming) {
2114
2335
  if (!(existing_contentDocument === incoming_contentDocument
2115
2336
  || (existing_contentDocument != null &&
2116
2337
  incoming_contentDocument != null &&
2117
- equals$f(existing_contentDocument, incoming_contentDocument)))) {
2338
+ equals$e(existing_contentDocument, incoming_contentDocument)))) {
2118
2339
  return false;
2119
2340
  }
2120
2341
  const existing_size = existing.size;
@@ -2139,30 +2360,30 @@ function equals$e(existing, incoming) {
2139
2360
  }
2140
2361
  return true;
2141
2362
  }
2142
- const ingest$e = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2363
+ const ingest$d = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2143
2364
  if (process.env.NODE_ENV !== 'production') {
2144
- const validateError = validate$e(input);
2365
+ const validateError = validate$d(input);
2145
2366
  if (validateError !== null) {
2146
2367
  throw validateError;
2147
2368
  }
2148
2369
  }
2149
2370
  const key = keyBuilderFromType$7(luvio, input);
2150
2371
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2151
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$e, RepresentationType$e, equals$e);
2372
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$d, RepresentationType$d, equals$d);
2152
2373
  return createLink(key);
2153
2374
  };
2154
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
2375
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
2155
2376
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2156
2377
  const rootKey = keyBuilderFromType$7(luvio, input);
2157
2378
  rootKeySet.set(rootKey, {
2158
2379
  namespace: keyPrefix,
2159
- representationName: RepresentationType$e,
2380
+ representationName: RepresentationType$d,
2160
2381
  mergeable: false
2161
2382
  });
2162
2383
  }
2163
2384
 
2164
- const VERSION$d = "a8502e4e4bb65313c6fbaa1f89f1e539";
2165
- function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2385
+ const VERSION$c = "a8502e4e4bb65313c6fbaa1f89f1e539";
2386
+ function validate$c(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2166
2387
  const v_error = (() => {
2167
2388
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2168
2389
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2348,7 +2569,7 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2348
2569
  for (let i = 0; i < obj_reactions.length; i++) {
2349
2570
  const obj_reactions_item = obj_reactions[i];
2350
2571
  const path_reactions_item = path_reactions + '[' + i + ']';
2351
- const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
2572
+ const referencepath_reactions_itemValidationError = validate$h(obj_reactions_item, path_reactions_item);
2352
2573
  if (referencepath_reactions_itemValidationError !== null) {
2353
2574
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
2354
2575
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2510,14 +2731,14 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2510
2731
  })();
2511
2732
  return v_error === undefined ? null : v_error;
2512
2733
  }
2513
- const RepresentationType$d = 'SlackBridgeMessageOutputRepresentation';
2514
- function normalize$d(input, existing, path, luvio, store, timestamp) {
2734
+ const RepresentationType$c = 'SlackBridgeMessageOutputRepresentation';
2735
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
2515
2736
  const input_files = input.files;
2516
2737
  const input_files_id = path.fullPath + '__files';
2517
2738
  for (let i = 0; i < input_files.length; i++) {
2518
2739
  const input_files_item = input_files[i];
2519
2740
  let input_files_item_id = input_files_id + '__' + i;
2520
- input_files[i] = ingest$e(input_files_item, {
2741
+ input_files[i] = ingest$d(input_files_item, {
2521
2742
  fullPath: input_files_item_id,
2522
2743
  propertyName: i,
2523
2744
  parent: {
@@ -2534,7 +2755,7 @@ const select$u = function SlackBridgeMessageOutputRepresentationSelect() {
2534
2755
  const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$z();
2535
2756
  return {
2536
2757
  kind: 'Fragment',
2537
- version: VERSION$d,
2758
+ version: VERSION$c,
2538
2759
  private: [],
2539
2760
  selections: [
2540
2761
  {
@@ -2623,7 +2844,7 @@ const select$u = function SlackBridgeMessageOutputRepresentationSelect() {
2623
2844
  ]
2624
2845
  };
2625
2846
  };
2626
- function equals$d(existing, incoming) {
2847
+ function equals$c(existing, incoming) {
2627
2848
  const existing_isEditable = existing.isEditable;
2628
2849
  const incoming_isEditable = incoming.isEditable;
2629
2850
  if (!(existing_isEditable === incoming_isEditable)) {
@@ -2712,7 +2933,7 @@ function equals$d(existing, incoming) {
2712
2933
  const existing_reactions = existing.reactions;
2713
2934
  const incoming_reactions = incoming.reactions;
2714
2935
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
2715
- if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
2936
+ if (!(equals$h(existing_reactions_item, incoming_reactions_item))) {
2716
2937
  return false;
2717
2938
  }
2718
2939
  });
@@ -2756,34 +2977,34 @@ function equals$d(existing, incoming) {
2756
2977
  }
2757
2978
  return true;
2758
2979
  }
2759
- const ingest$d = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2980
+ const ingest$c = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2760
2981
  if (process.env.NODE_ENV !== 'production') {
2761
- const validateError = validate$d(input);
2982
+ const validateError = validate$c(input);
2762
2983
  if (validateError !== null) {
2763
2984
  throw validateError;
2764
2985
  }
2765
2986
  }
2766
2987
  const key = path.fullPath;
2767
2988
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2768
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$d, RepresentationType$d, equals$d);
2989
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$c, RepresentationType$c, equals$c);
2769
2990
  return createLink(key);
2770
2991
  };
2771
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
2992
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2772
2993
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2773
2994
  const rootKey = fullPathFactory();
2774
2995
  rootKeySet.set(rootKey, {
2775
2996
  namespace: keyPrefix,
2776
- representationName: RepresentationType$d,
2997
+ representationName: RepresentationType$c,
2777
2998
  mergeable: false
2778
2999
  });
2779
3000
  const input_files_length = input.files.length;
2780
3001
  for (let i = 0; i < input_files_length; i++) {
2781
- getTypeCacheKeys$e(rootKeySet, luvio, input.files[i]);
3002
+ getTypeCacheKeys$d(rootKeySet, luvio, input.files[i]);
2782
3003
  }
2783
3004
  }
2784
3005
 
2785
- const VERSION$c = "5145ac2c241c561e4baa29b3884748dc";
2786
- function validate$c(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
3006
+ const VERSION$b = "5145ac2c241c561e4baa29b3884748dc";
3007
+ function validate$b(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
2787
3008
  const v_error = (() => {
2788
3009
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2789
3010
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2834,14 +3055,14 @@ function validate$c(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
2834
3055
  })();
2835
3056
  return v_error === undefined ? null : v_error;
2836
3057
  }
2837
- const RepresentationType$c = 'SlackBridgeConversationHistoryOutputRepresentation';
2838
- function normalize$c(input, existing, path, luvio, store, timestamp) {
3058
+ const RepresentationType$b = 'SlackBridgeConversationHistoryOutputRepresentation';
3059
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
2839
3060
  const input_messages = input.messages;
2840
3061
  const input_messages_id = path.fullPath + '__messages';
2841
3062
  for (let i = 0; i < input_messages.length; i++) {
2842
3063
  const input_messages_item = input_messages[i];
2843
3064
  let input_messages_item_id = input_messages_id + '__' + i;
2844
- input_messages[i] = ingest$d(input_messages_item, {
3065
+ input_messages[i] = ingest$c(input_messages_item, {
2845
3066
  fullPath: input_messages_item_id,
2846
3067
  propertyName: i,
2847
3068
  parent: {
@@ -2857,7 +3078,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
2857
3078
  const select$t = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
2858
3079
  return {
2859
3080
  kind: 'Fragment',
2860
- version: VERSION$c,
3081
+ version: VERSION$b,
2861
3082
  private: [],
2862
3083
  selections: [
2863
3084
  {
@@ -2877,7 +3098,7 @@ const select$t = function SlackBridgeConversationHistoryOutputRepresentationSele
2877
3098
  ]
2878
3099
  };
2879
3100
  };
2880
- function equals$c(existing, incoming) {
3101
+ function equals$b(existing, incoming) {
2881
3102
  const existing_hasMore = existing.hasMore;
2882
3103
  const incoming_hasMore = incoming.hasMore;
2883
3104
  if (!(existing_hasMore === incoming_hasMore)) {
@@ -2900,34 +3121,34 @@ function equals$c(existing, incoming) {
2900
3121
  }
2901
3122
  return true;
2902
3123
  }
2903
- const ingest$c = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3124
+ const ingest$b = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2904
3125
  if (process.env.NODE_ENV !== 'production') {
2905
- const validateError = validate$c(input);
3126
+ const validateError = validate$b(input);
2906
3127
  if (validateError !== null) {
2907
3128
  throw validateError;
2908
3129
  }
2909
3130
  }
2910
3131
  const key = path.fullPath;
2911
3132
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2912
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$c, RepresentationType$c, equals$c);
3133
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$b, RepresentationType$b, equals$b);
2913
3134
  return createLink(key);
2914
3135
  };
2915
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3136
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
2916
3137
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2917
3138
  const rootKey = fullPathFactory();
2918
3139
  rootKeySet.set(rootKey, {
2919
3140
  namespace: keyPrefix,
2920
- representationName: RepresentationType$c,
3141
+ representationName: RepresentationType$b,
2921
3142
  mergeable: false
2922
3143
  });
2923
3144
  const input_messages_length = input.messages.length;
2924
3145
  for (let i = 0; i < input_messages_length; i++) {
2925
- getTypeCacheKeys$d(rootKeySet, luvio, input.messages[i], () => '');
3146
+ getTypeCacheKeys$c(rootKeySet, luvio, input.messages[i], () => '');
2926
3147
  }
2927
3148
  }
2928
3149
 
2929
- const VERSION$b = "7ec6cbca3e2948ff5ef00e4034f365d5";
2930
- function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3150
+ const VERSION$a = "7ec6cbca3e2948ff5ef00e4034f365d5";
3151
+ function validate$a(obj, path = 'SlackBridgeConversationOutputRepresentation') {
2931
3152
  const v_error = (() => {
2932
3153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2933
3154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3071,12 +3292,12 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3071
3292
  })();
3072
3293
  return v_error === undefined ? null : v_error;
3073
3294
  }
3074
- const RepresentationType$b = 'SlackBridgeConversationOutputRepresentation';
3075
- function normalize$b(input, existing, path, luvio, store, timestamp) {
3295
+ const RepresentationType$a = 'SlackBridgeConversationOutputRepresentation';
3296
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
3076
3297
  const input_contextUserInfo = input.contextUserInfo;
3077
3298
  const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
3078
3299
  if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
3079
- input.contextUserInfo = ingest$g(input_contextUserInfo, {
3300
+ input.contextUserInfo = ingest$f(input_contextUserInfo, {
3080
3301
  fullPath: input_contextUserInfo_id,
3081
3302
  propertyName: 'contextUserInfo',
3082
3303
  parent: {
@@ -3090,7 +3311,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3090
3311
  const input_conversationInfo = input.conversationInfo;
3091
3312
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
3092
3313
  if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
3093
- input.conversationInfo = ingest$f(input_conversationInfo, {
3314
+ input.conversationInfo = ingest$e(input_conversationInfo, {
3094
3315
  fullPath: input_conversationInfo_id,
3095
3316
  propertyName: 'conversationInfo',
3096
3317
  parent: {
@@ -3103,7 +3324,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3103
3324
  }
3104
3325
  const input_history = input.history;
3105
3326
  const input_history_id = path.fullPath + '__history';
3106
- input.history = ingest$c(input_history, {
3327
+ input.history = ingest$b(input_history, {
3107
3328
  fullPath: input_history_id,
3108
3329
  propertyName: 'history',
3109
3330
  parent: {
@@ -3118,7 +3339,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3118
3339
  for (let i = 0; i < input_userInfos.length; i++) {
3119
3340
  const input_userInfos_item = input_userInfos[i];
3120
3341
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
3121
- input_userInfos[i] = ingest$g(input_userInfos_item, {
3342
+ input_userInfos[i] = ingest$f(input_userInfos_item, {
3122
3343
  fullPath: input_userInfos_item_id,
3123
3344
  propertyName: i,
3124
3345
  parent: {
@@ -3134,7 +3355,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3134
3355
  const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
3135
3356
  return {
3136
3357
  kind: 'Fragment',
3137
- version: VERSION$b,
3358
+ version: VERSION$a,
3138
3359
  private: [],
3139
3360
  selections: [
3140
3361
  {
@@ -3183,7 +3404,7 @@ const select$s = function SlackBridgeConversationOutputRepresentationSelect() {
3183
3404
  ]
3184
3405
  };
3185
3406
  };
3186
- function equals$b(existing, incoming) {
3407
+ function equals$a(existing, incoming) {
3187
3408
  const existing_channelId = existing.channelId;
3188
3409
  const incoming_channelId = incoming.channelId;
3189
3410
  if (!(existing_channelId === incoming_channelId)) {
@@ -3246,52 +3467,52 @@ function equals$b(existing, incoming) {
3246
3467
  }
3247
3468
  return true;
3248
3469
  }
3249
- const ingest$b = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3470
+ const ingest$a = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3250
3471
  if (process.env.NODE_ENV !== 'production') {
3251
- const validateError = validate$b(input);
3472
+ const validateError = validate$a(input);
3252
3473
  if (validateError !== null) {
3253
3474
  throw validateError;
3254
3475
  }
3255
3476
  }
3256
3477
  const key = path.fullPath;
3257
3478
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3258
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$b, RepresentationType$b, equals$b);
3479
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
3259
3480
  return createLink(key);
3260
3481
  };
3261
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3482
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3262
3483
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3263
3484
  const rootKey = fullPathFactory();
3264
3485
  rootKeySet.set(rootKey, {
3265
3486
  namespace: keyPrefix,
3266
- representationName: RepresentationType$b,
3487
+ representationName: RepresentationType$a,
3267
3488
  mergeable: false
3268
3489
  });
3269
3490
  if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
3270
- getTypeCacheKeys$g(rootKeySet, luvio, input.contextUserInfo);
3491
+ getTypeCacheKeys$f(rootKeySet, luvio, input.contextUserInfo);
3271
3492
  }
3272
3493
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3273
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
3494
+ getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
3274
3495
  }
3275
- getTypeCacheKeys$c(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3496
+ getTypeCacheKeys$b(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3276
3497
  const input_userInfos_length = input.userInfos.length;
3277
3498
  for (let i = 0; i < input_userInfos_length; i++) {
3278
- getTypeCacheKeys$g(rootKeySet, luvio, input.userInfos[i]);
3499
+ getTypeCacheKeys$f(rootKeySet, luvio, input.userInfos[i]);
3279
3500
  }
3280
3501
  }
3281
3502
 
3282
3503
  function select$r(luvio, params) {
3283
3504
  return select$s();
3284
3505
  }
3285
- function keyBuilder$t(luvio, params) {
3506
+ function keyBuilder$v(luvio, params) {
3286
3507
  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 + ')';
3287
3508
  }
3288
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
3289
- getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
3509
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
3510
+ getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
3290
3511
  }
3291
- function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
3512
+ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
3292
3513
  const { body } = response;
3293
- const key = keyBuilder$t(luvio, resourceParams);
3294
- luvio.storeIngest(key, ingest$b, body);
3514
+ const key = keyBuilder$v(luvio, resourceParams);
3515
+ luvio.storeIngest(key, ingest$a, body);
3295
3516
  const snapshot = luvio.storeLookup({
3296
3517
  recordId: key,
3297
3518
  node: select$r(),
@@ -3305,13 +3526,13 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
3305
3526
  deepFreeze(snapshot.data);
3306
3527
  return snapshot;
3307
3528
  }
3308
- function ingestError$9(luvio, params, error, snapshotRefresh) {
3309
- const key = keyBuilder$t(luvio, params);
3529
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
3530
+ const key = keyBuilder$v(luvio, params);
3310
3531
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3311
3532
  luvio.storeIngestError(key, errorSnapshot);
3312
3533
  return errorSnapshot;
3313
3534
  }
3314
- function createResourceRequest$j(config) {
3535
+ function createResourceRequest$k(config) {
3315
3536
  const headers = {};
3316
3537
  return {
3317
3538
  baseUri: '/services/data/v63.0',
@@ -3325,7 +3546,7 @@ function createResourceRequest$j(config) {
3325
3546
  };
3326
3547
  }
3327
3548
 
3328
- const adapterName$j = 'getSlackConversation';
3549
+ const adapterName$k = 'getSlackConversation';
3329
3550
  const getSlackConversation_ConfigPropertyMetadata = [
3330
3551
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3331
3552
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3337,90 +3558,90 @@ const getSlackConversation_ConfigPropertyMetadata = [
3337
3558
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3338
3559
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3339
3560
  ];
3340
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSlackConversation_ConfigPropertyMetadata);
3341
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$k(getSlackConversation_ConfigPropertyMetadata);
3342
- function keyBuilder$s(luvio, config) {
3343
- const resourceParams = createResourceParams$j(config);
3344
- return keyBuilder$t(luvio, resourceParams);
3561
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getSlackConversation_ConfigPropertyMetadata);
3562
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$l(getSlackConversation_ConfigPropertyMetadata);
3563
+ function keyBuilder$u(luvio, config) {
3564
+ const resourceParams = createResourceParams$k(config);
3565
+ return keyBuilder$v(luvio, resourceParams);
3345
3566
  }
3346
- function typeCheckConfig$j(untrustedConfig) {
3567
+ function typeCheckConfig$k(untrustedConfig) {
3347
3568
  const config = {};
3348
- typeCheckConfig$k(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3569
+ typeCheckConfig$l(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3349
3570
  return config;
3350
3571
  }
3351
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
3572
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
3352
3573
  if (!untrustedIsObject(untrustedConfig)) {
3353
3574
  return null;
3354
3575
  }
3355
3576
  if (process.env.NODE_ENV !== 'production') {
3356
3577
  validateConfig(untrustedConfig, configPropertyNames);
3357
3578
  }
3358
- const config = typeCheckConfig$j(untrustedConfig);
3579
+ const config = typeCheckConfig$k(untrustedConfig);
3359
3580
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3360
3581
  return null;
3361
3582
  }
3362
3583
  return config;
3363
3584
  }
3364
- function adapterFragment$9(luvio, config) {
3365
- createResourceParams$j(config);
3585
+ function adapterFragment$a(luvio, config) {
3586
+ createResourceParams$k(config);
3366
3587
  return select$r();
3367
3588
  }
3368
- function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
3369
- const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
3589
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
3590
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
3370
3591
  config,
3371
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
3592
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
3372
3593
  });
3373
3594
  return luvio.storeBroadcast().then(() => snapshot);
3374
3595
  }
3375
- function onFetchResponseError$9(luvio, config, resourceParams, response) {
3376
- const snapshot = ingestError$9(luvio, resourceParams, response, {
3596
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
3597
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
3377
3598
  config,
3378
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
3599
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
3379
3600
  });
3380
3601
  return luvio.storeBroadcast().then(() => snapshot);
3381
3602
  }
3382
- function buildNetworkSnapshot$j(luvio, config, options) {
3383
- const resourceParams = createResourceParams$j(config);
3384
- const request = createResourceRequest$j(resourceParams);
3603
+ function buildNetworkSnapshot$k(luvio, config, options) {
3604
+ const resourceParams = createResourceParams$k(config);
3605
+ const request = createResourceRequest$k(resourceParams);
3385
3606
  return luvio.dispatchResourceRequest(request, options)
3386
3607
  .then((response) => {
3387
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
3608
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
3388
3609
  const cache = new StoreKeyMap();
3389
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
3610
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
3390
3611
  return cache;
3391
3612
  });
3392
3613
  }, (response) => {
3393
- return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
3614
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
3394
3615
  });
3395
3616
  }
3396
- function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
3397
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
3617
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
3618
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
3398
3619
  }
3399
- function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
3620
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
3400
3621
  const { luvio, config } = context;
3401
3622
  const selector = {
3402
- recordId: keyBuilder$s(luvio, config),
3403
- node: adapterFragment$9(luvio, config),
3623
+ recordId: keyBuilder$u(luvio, config),
3624
+ node: adapterFragment$a(luvio, config),
3404
3625
  variables: {},
3405
3626
  };
3406
3627
  const cacheSnapshot = storeLookup(selector, {
3407
3628
  config,
3408
- resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
3629
+ resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
3409
3630
  });
3410
3631
  return cacheSnapshot;
3411
3632
  }
3412
3633
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3413
- const config = validateAdapterConfig$j(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3634
+ const config = validateAdapterConfig$k(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3414
3635
  // Invalid or incomplete config
3415
3636
  if (config === null) {
3416
3637
  return null;
3417
3638
  }
3418
3639
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3419
- buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
3640
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
3420
3641
  };
3421
3642
 
3422
- const VERSION$a = "769b5b0ed94219341e9be74c08e63aed";
3423
- function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3643
+ const VERSION$9 = "769b5b0ed94219341e9be74c08e63aed";
3644
+ function validate$9(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3424
3645
  const v_error = (() => {
3425
3646
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3426
3647
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3443,20 +3664,20 @@ function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3443
3664
  })();
3444
3665
  return v_error === undefined ? null : v_error;
3445
3666
  }
3446
- const RepresentationType$a = 'SlackBridgePostMessageOutputRepresentation';
3447
- function keyBuilder$r(luvio, config) {
3448
- return keyPrefix + '::' + RepresentationType$a + ':' + config.channelId;
3667
+ const RepresentationType$9 = 'SlackBridgePostMessageOutputRepresentation';
3668
+ function keyBuilder$t(luvio, config) {
3669
+ return keyPrefix + '::' + RepresentationType$9 + ':' + config.channelId;
3449
3670
  }
3450
3671
  function keyBuilderFromType$6(luvio, object) {
3451
3672
  const keyParams = {
3452
3673
  channelId: object.channelId
3453
3674
  };
3454
- return keyBuilder$r(luvio, keyParams);
3675
+ return keyBuilder$t(luvio, keyParams);
3455
3676
  }
3456
- function normalize$a(input, existing, path, luvio, store, timestamp) {
3677
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
3457
3678
  const input_postedMessage = input.postedMessage;
3458
3679
  const input_postedMessage_id = path.fullPath + '__postedMessage';
3459
- input.postedMessage = ingest$d(input_postedMessage, {
3680
+ input.postedMessage = ingest$c(input_postedMessage, {
3460
3681
  fullPath: input_postedMessage_id,
3461
3682
  propertyName: 'postedMessage',
3462
3683
  parent: {
@@ -3471,7 +3692,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3471
3692
  const select$q = function SlackBridgePostMessageOutputRepresentationSelect() {
3472
3693
  return {
3473
3694
  kind: 'Fragment',
3474
- version: VERSION$a,
3695
+ version: VERSION$9,
3475
3696
  private: [],
3476
3697
  selections: [
3477
3698
  {
@@ -3490,7 +3711,7 @@ const select$q = function SlackBridgePostMessageOutputRepresentationSelect() {
3490
3711
  ]
3491
3712
  };
3492
3713
  };
3493
- function equals$a(existing, incoming) {
3714
+ function equals$9(existing, incoming) {
3494
3715
  const existing_channelId = existing.channelId;
3495
3716
  const incoming_channelId = incoming.channelId;
3496
3717
  if (!(existing_channelId === incoming_channelId)) {
@@ -3508,39 +3729,39 @@ function equals$a(existing, incoming) {
3508
3729
  }
3509
3730
  return true;
3510
3731
  }
3511
- const ingest$a = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3732
+ const ingest$9 = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3512
3733
  if (process.env.NODE_ENV !== 'production') {
3513
- const validateError = validate$a(input);
3734
+ const validateError = validate$9(input);
3514
3735
  if (validateError !== null) {
3515
3736
  throw validateError;
3516
3737
  }
3517
3738
  }
3518
3739
  const key = keyBuilderFromType$6(luvio, input);
3519
3740
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3520
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
3741
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
3521
3742
  return createLink(key);
3522
3743
  };
3523
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3744
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
3524
3745
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3525
3746
  const rootKey = keyBuilderFromType$6(luvio, input);
3526
3747
  rootKeySet.set(rootKey, {
3527
3748
  namespace: keyPrefix,
3528
- representationName: RepresentationType$a,
3749
+ representationName: RepresentationType$9,
3529
3750
  mergeable: false
3530
3751
  });
3531
- getTypeCacheKeys$d(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3752
+ getTypeCacheKeys$c(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3532
3753
  }
3533
3754
 
3534
3755
  function select$p(luvio, params) {
3535
3756
  return select$q();
3536
3757
  }
3537
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
3538
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
3758
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
3759
+ getTypeCacheKeys$9(storeKeyMap, luvio, response);
3539
3760
  }
3540
- function ingestSuccess$f(luvio, resourceParams, response) {
3761
+ function ingestSuccess$g(luvio, resourceParams, response) {
3541
3762
  const { body } = response;
3542
3763
  const key = keyBuilderFromType$6(luvio, body);
3543
- luvio.storeIngest(key, ingest$a, body);
3764
+ luvio.storeIngest(key, ingest$9, body);
3544
3765
  const snapshot = luvio.storeLookup({
3545
3766
  recordId: key,
3546
3767
  node: select$p(),
@@ -3554,7 +3775,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
3554
3775
  deepFreeze(snapshot.data);
3555
3776
  return snapshot;
3556
3777
  }
3557
- function createResourceRequest$i(config) {
3778
+ function createResourceRequest$j(config) {
3558
3779
  const headers = {};
3559
3780
  return {
3560
3781
  baseUri: '/services/data/v63.0',
@@ -3568,7 +3789,7 @@ function createResourceRequest$i(config) {
3568
3789
  };
3569
3790
  }
3570
3791
 
3571
- const adapterName$i = 'postSlackConversation';
3792
+ const adapterName$j = 'postSlackConversation';
3572
3793
  const postSlackConversation_ConfigPropertyMetadata = [
3573
3794
  generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
3574
3795
  generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
@@ -3577,37 +3798,37 @@ const postSlackConversation_ConfigPropertyMetadata = [
3577
3798
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
3578
3799
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
3579
3800
  ];
3580
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackConversation_ConfigPropertyMetadata);
3581
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$k(postSlackConversation_ConfigPropertyMetadata);
3582
- function typeCheckConfig$i(untrustedConfig) {
3801
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackConversation_ConfigPropertyMetadata);
3802
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$l(postSlackConversation_ConfigPropertyMetadata);
3803
+ function typeCheckConfig$j(untrustedConfig) {
3583
3804
  const config = {};
3584
- typeCheckConfig$k(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3805
+ typeCheckConfig$l(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3585
3806
  return config;
3586
3807
  }
3587
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
3808
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
3588
3809
  if (!untrustedIsObject(untrustedConfig)) {
3589
3810
  return null;
3590
3811
  }
3591
3812
  if (process.env.NODE_ENV !== 'production') {
3592
3813
  validateConfig(untrustedConfig, configPropertyNames);
3593
3814
  }
3594
- const config = typeCheckConfig$i(untrustedConfig);
3815
+ const config = typeCheckConfig$j(untrustedConfig);
3595
3816
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3596
3817
  return null;
3597
3818
  }
3598
3819
  return config;
3599
3820
  }
3600
- function buildNetworkSnapshot$i(luvio, config, options) {
3601
- const resourceParams = createResourceParams$i(config);
3602
- const request = createResourceRequest$i(resourceParams);
3821
+ function buildNetworkSnapshot$j(luvio, config, options) {
3822
+ const resourceParams = createResourceParams$j(config);
3823
+ const request = createResourceRequest$j(resourceParams);
3603
3824
  return luvio.dispatchResourceRequest(request, options)
3604
3825
  .then((response) => {
3605
3826
  return luvio.handleSuccessResponse(() => {
3606
- const snapshot = ingestSuccess$f(luvio, resourceParams, response);
3827
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response);
3607
3828
  return luvio.storeBroadcast().then(() => snapshot);
3608
3829
  }, () => {
3609
3830
  const cache = new StoreKeyMap();
3610
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
3831
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
3611
3832
  return cache;
3612
3833
  });
3613
3834
  }, (response) => {
@@ -3617,25 +3838,25 @@ function buildNetworkSnapshot$i(luvio, config, options) {
3617
3838
  }
3618
3839
  const postSlackConversationAdapterFactory = (luvio) => {
3619
3840
  return function postSlackConversation(untrustedConfig) {
3620
- const config = validateAdapterConfig$i(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3841
+ const config = validateAdapterConfig$j(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3621
3842
  // Invalid or incomplete config
3622
3843
  if (config === null) {
3623
3844
  throw new Error('Invalid config for "postSlackConversation"');
3624
3845
  }
3625
- return buildNetworkSnapshot$i(luvio, config);
3846
+ return buildNetworkSnapshot$j(luvio, config);
3626
3847
  };
3627
3848
  };
3628
3849
 
3629
3850
  function select$o(luvio, params) {
3630
3851
  return select$v();
3631
3852
  }
3632
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
3633
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
3853
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
3854
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
3634
3855
  }
3635
- function ingestSuccess$e(luvio, resourceParams, response) {
3856
+ function ingestSuccess$f(luvio, resourceParams, response) {
3636
3857
  const { body } = response;
3637
3858
  const key = keyBuilderFromType$7(luvio, body);
3638
- luvio.storeIngest(key, ingest$e, body);
3859
+ luvio.storeIngest(key, ingest$d, body);
3639
3860
  const snapshot = luvio.storeLookup({
3640
3861
  recordId: key,
3641
3862
  node: select$o(),
@@ -3649,7 +3870,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
3649
3870
  deepFreeze(snapshot.data);
3650
3871
  return snapshot;
3651
3872
  }
3652
- function createResourceRequest$h(config) {
3873
+ function createResourceRequest$i(config) {
3653
3874
  const headers = {};
3654
3875
  return {
3655
3876
  baseUri: '/services/data/v63.0',
@@ -3663,7 +3884,7 @@ function createResourceRequest$h(config) {
3663
3884
  };
3664
3885
  }
3665
3886
 
3666
- const adapterName$h = 'postSlackFile';
3887
+ const adapterName$i = 'postSlackFile';
3667
3888
  const postSlackFile_ConfigPropertyMetadata = [
3668
3889
  generateParamConfigMetadata('base64EncodedFileData', true, 2 /* Body */, 0 /* String */),
3669
3890
  generateParamConfigMetadata('channels', true, 2 /* Body */, 0 /* String */, true),
@@ -3674,37 +3895,37 @@ const postSlackFile_ConfigPropertyMetadata = [
3674
3895
  generateParamConfigMetadata('threadTs', true, 2 /* Body */, 0 /* String */),
3675
3896
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
3676
3897
  ];
3677
- const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, postSlackFile_ConfigPropertyMetadata);
3678
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$k(postSlackFile_ConfigPropertyMetadata);
3679
- function typeCheckConfig$h(untrustedConfig) {
3898
+ const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackFile_ConfigPropertyMetadata);
3899
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$l(postSlackFile_ConfigPropertyMetadata);
3900
+ function typeCheckConfig$i(untrustedConfig) {
3680
3901
  const config = {};
3681
- typeCheckConfig$k(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
3902
+ typeCheckConfig$l(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
3682
3903
  return config;
3683
3904
  }
3684
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
3905
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
3685
3906
  if (!untrustedIsObject(untrustedConfig)) {
3686
3907
  return null;
3687
3908
  }
3688
3909
  if (process.env.NODE_ENV !== 'production') {
3689
3910
  validateConfig(untrustedConfig, configPropertyNames);
3690
3911
  }
3691
- const config = typeCheckConfig$h(untrustedConfig);
3912
+ const config = typeCheckConfig$i(untrustedConfig);
3692
3913
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3693
3914
  return null;
3694
3915
  }
3695
3916
  return config;
3696
3917
  }
3697
- function buildNetworkSnapshot$h(luvio, config, options) {
3698
- const resourceParams = createResourceParams$h(config);
3699
- const request = createResourceRequest$h(resourceParams);
3918
+ function buildNetworkSnapshot$i(luvio, config, options) {
3919
+ const resourceParams = createResourceParams$i(config);
3920
+ const request = createResourceRequest$i(resourceParams);
3700
3921
  return luvio.dispatchResourceRequest(request, options)
3701
3922
  .then((response) => {
3702
3923
  return luvio.handleSuccessResponse(() => {
3703
- const snapshot = ingestSuccess$e(luvio, resourceParams, response);
3924
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response);
3704
3925
  return luvio.storeBroadcast().then(() => snapshot);
3705
3926
  }, () => {
3706
3927
  const cache = new StoreKeyMap();
3707
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
3928
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
3708
3929
  return cache;
3709
3930
  });
3710
3931
  }, (response) => {
@@ -3714,17 +3935,17 @@ function buildNetworkSnapshot$h(luvio, config, options) {
3714
3935
  }
3715
3936
  const postSlackFileAdapterFactory = (luvio) => {
3716
3937
  return function postSlackFile(untrustedConfig) {
3717
- const config = validateAdapterConfig$h(untrustedConfig, postSlackFile_ConfigPropertyNames);
3938
+ const config = validateAdapterConfig$i(untrustedConfig, postSlackFile_ConfigPropertyNames);
3718
3939
  // Invalid or incomplete config
3719
3940
  if (config === null) {
3720
3941
  throw new Error('Invalid config for "postSlackFile"');
3721
3942
  }
3722
- return buildNetworkSnapshot$h(luvio, config);
3943
+ return buildNetworkSnapshot$i(luvio, config);
3723
3944
  };
3724
3945
  };
3725
3946
 
3726
- const VERSION$9 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
3727
- function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
3947
+ const VERSION$8 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
3948
+ function validate$8(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
3728
3949
  const v_error = (() => {
3729
3950
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3730
3951
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3747,20 +3968,20 @@ function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
3747
3968
  })();
3748
3969
  return v_error === undefined ? null : v_error;
3749
3970
  }
3750
- const RepresentationType$9 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
3751
- function keyBuilder$q(luvio, config) {
3752
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.relatedRecordId;
3971
+ const RepresentationType$8 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
3972
+ function keyBuilder$s(luvio, config) {
3973
+ return keyPrefix + '::' + RepresentationType$8 + ':' + config.relatedRecordId;
3753
3974
  }
3754
3975
  function keyBuilderFromType$5(luvio, object) {
3755
3976
  const keyParams = {
3756
3977
  relatedRecordId: object.relatedRecordId
3757
3978
  };
3758
- return keyBuilder$q(luvio, keyParams);
3979
+ return keyBuilder$s(luvio, keyParams);
3759
3980
  }
3760
- function normalize$9(input, existing, path, luvio, store, timestamp) {
3981
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
3761
3982
  const input_conversationInfo = input.conversationInfo;
3762
3983
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
3763
- input.conversationInfo = ingest$f(input_conversationInfo, {
3984
+ input.conversationInfo = ingest$e(input_conversationInfo, {
3764
3985
  fullPath: input_conversationInfo_id,
3765
3986
  propertyName: 'conversationInfo',
3766
3987
  parent: {
@@ -3775,7 +3996,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
3775
3996
  const select$n = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
3776
3997
  return {
3777
3998
  kind: 'Fragment',
3778
- version: VERSION$9,
3999
+ version: VERSION$8,
3779
4000
  private: [],
3780
4001
  selections: [
3781
4002
  {
@@ -3794,7 +4015,7 @@ const select$n = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
3794
4015
  ]
3795
4016
  };
3796
4017
  };
3797
- function equals$9(existing, incoming) {
4018
+ function equals$8(existing, incoming) {
3798
4019
  const existing_relatedRecordId = existing.relatedRecordId;
3799
4020
  const incoming_relatedRecordId = incoming.relatedRecordId;
3800
4021
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -3812,39 +4033,39 @@ function equals$9(existing, incoming) {
3812
4033
  }
3813
4034
  return true;
3814
4035
  }
3815
- const ingest$9 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4036
+ const ingest$8 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3816
4037
  if (process.env.NODE_ENV !== 'production') {
3817
- const validateError = validate$9(input);
4038
+ const validateError = validate$8(input);
3818
4039
  if (validateError !== null) {
3819
4040
  throw validateError;
3820
4041
  }
3821
4042
  }
3822
4043
  const key = keyBuilderFromType$5(luvio, input);
3823
4044
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3824
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
4045
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
3825
4046
  return createLink(key);
3826
4047
  };
3827
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4048
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
3828
4049
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3829
4050
  const rootKey = keyBuilderFromType$5(luvio, input);
3830
4051
  rootKeySet.set(rootKey, {
3831
4052
  namespace: keyPrefix,
3832
- representationName: RepresentationType$9,
4053
+ representationName: RepresentationType$8,
3833
4054
  mergeable: false
3834
4055
  });
3835
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4056
+ getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
3836
4057
  }
3837
4058
 
3838
4059
  function select$m(luvio, params) {
3839
4060
  return select$n();
3840
4061
  }
3841
- function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
3842
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
4062
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4063
+ getTypeCacheKeys$8(storeKeyMap, luvio, response);
3843
4064
  }
3844
- function ingestSuccess$d(luvio, resourceParams, response) {
4065
+ function ingestSuccess$e(luvio, resourceParams, response) {
3845
4066
  const { body } = response;
3846
4067
  const key = keyBuilderFromType$5(luvio, body);
3847
- luvio.storeIngest(key, ingest$9, body);
4068
+ luvio.storeIngest(key, ingest$8, body);
3848
4069
  const snapshot = luvio.storeLookup({
3849
4070
  recordId: key,
3850
4071
  node: select$m(),
@@ -3858,7 +4079,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
3858
4079
  deepFreeze(snapshot.data);
3859
4080
  return snapshot;
3860
4081
  }
3861
- function createResourceRequest$g(config) {
4082
+ function createResourceRequest$h(config) {
3862
4083
  const headers = {};
3863
4084
  return {
3864
4085
  baseUri: '/services/data/v63.0',
@@ -3872,16 +4093,16 @@ function createResourceRequest$g(config) {
3872
4093
  };
3873
4094
  }
3874
4095
 
3875
- const adapterName$g = 'postSlackRecordChannelInfos';
4096
+ const adapterName$h = 'postSlackRecordChannelInfos';
3876
4097
  const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
3877
4098
  generateParamConfigMetadata('conversationInfo', true, 2 /* Body */, 4 /* Unsupported */),
3878
4099
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
3879
4100
  ];
3880
- const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, postSlackRecordChannelInfos_ConfigPropertyMetadata);
3881
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$k(postSlackRecordChannelInfos_ConfigPropertyMetadata);
3882
- function typeCheckConfig$g(untrustedConfig) {
4101
+ const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4102
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$l(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4103
+ function typeCheckConfig$h(untrustedConfig) {
3883
4104
  const config = {};
3884
- typeCheckConfig$k(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4105
+ typeCheckConfig$l(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
3885
4106
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
3886
4107
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
3887
4108
  const untrustedConfig_conversationInfo_object = {};
@@ -3895,30 +4116,30 @@ function typeCheckConfig$g(untrustedConfig) {
3895
4116
  }
3896
4117
  return config;
3897
4118
  }
3898
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
4119
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
3899
4120
  if (!untrustedIsObject(untrustedConfig)) {
3900
4121
  return null;
3901
4122
  }
3902
4123
  if (process.env.NODE_ENV !== 'production') {
3903
4124
  validateConfig(untrustedConfig, configPropertyNames);
3904
4125
  }
3905
- const config = typeCheckConfig$g(untrustedConfig);
4126
+ const config = typeCheckConfig$h(untrustedConfig);
3906
4127
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3907
4128
  return null;
3908
4129
  }
3909
4130
  return config;
3910
4131
  }
3911
- function buildNetworkSnapshot$g(luvio, config, options) {
3912
- const resourceParams = createResourceParams$g(config);
3913
- const request = createResourceRequest$g(resourceParams);
4132
+ function buildNetworkSnapshot$h(luvio, config, options) {
4133
+ const resourceParams = createResourceParams$h(config);
4134
+ const request = createResourceRequest$h(resourceParams);
3914
4135
  return luvio.dispatchResourceRequest(request, options)
3915
4136
  .then((response) => {
3916
4137
  return luvio.handleSuccessResponse(() => {
3917
- const snapshot = ingestSuccess$d(luvio, resourceParams, response);
4138
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response);
3918
4139
  return luvio.storeBroadcast().then(() => snapshot);
3919
4140
  }, () => {
3920
4141
  const cache = new StoreKeyMap();
3921
- getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
4142
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
3922
4143
  return cache;
3923
4144
  });
3924
4145
  }, (response) => {
@@ -3928,30 +4149,30 @@ function buildNetworkSnapshot$g(luvio, config, options) {
3928
4149
  }
3929
4150
  const postSlackRecordChannelInfosAdapterFactory = (luvio) => {
3930
4151
  return function postSlackRecordChannelInfos(untrustedConfig) {
3931
- const config = validateAdapterConfig$g(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4152
+ const config = validateAdapterConfig$h(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
3932
4153
  // Invalid or incomplete config
3933
4154
  if (config === null) {
3934
4155
  throw new Error('Invalid config for "postSlackRecordChannelInfos"');
3935
4156
  }
3936
- return buildNetworkSnapshot$g(luvio, config);
4157
+ return buildNetworkSnapshot$h(luvio, config);
3937
4158
  };
3938
4159
  };
3939
4160
 
3940
4161
  function select$l(luvio, params) {
3941
4162
  return select$n();
3942
4163
  }
3943
- function keyBuilder$p(luvio, params) {
3944
- return keyBuilder$q(luvio, {
4164
+ function keyBuilder$r(luvio, params) {
4165
+ return keyBuilder$s(luvio, {
3945
4166
  relatedRecordId: params.urlParams.relatedRecordId
3946
4167
  });
3947
4168
  }
3948
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
3949
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
4169
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4170
+ getTypeCacheKeys$8(storeKeyMap, luvio, response);
3950
4171
  }
3951
- function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
4172
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3952
4173
  const { body } = response;
3953
- const key = keyBuilder$p(luvio, resourceParams);
3954
- luvio.storeIngest(key, ingest$9, body);
4174
+ const key = keyBuilder$r(luvio, resourceParams);
4175
+ luvio.storeIngest(key, ingest$8, body);
3955
4176
  const snapshot = luvio.storeLookup({
3956
4177
  recordId: key,
3957
4178
  node: select$l(),
@@ -3965,13 +4186,13 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
3965
4186
  deepFreeze(snapshot.data);
3966
4187
  return snapshot;
3967
4188
  }
3968
- function ingestError$8(luvio, params, error, snapshotRefresh) {
3969
- const key = keyBuilder$p(luvio, params);
4189
+ function ingestError$9(luvio, params, error, snapshotRefresh) {
4190
+ const key = keyBuilder$r(luvio, params);
3970
4191
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3971
4192
  luvio.storeIngestError(key, errorSnapshot);
3972
4193
  return errorSnapshot;
3973
4194
  }
3974
- function createResourceRequest$f(config) {
4195
+ function createResourceRequest$g(config) {
3975
4196
  const headers = {};
3976
4197
  return {
3977
4198
  baseUri: '/services/data/v63.0',
@@ -3985,94 +4206,94 @@ function createResourceRequest$f(config) {
3985
4206
  };
3986
4207
  }
3987
4208
 
3988
- const adapterName$f = 'getSlackRecordChannelInfo';
4209
+ const adapterName$g = 'getSlackRecordChannelInfo';
3989
4210
  const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
3990
4211
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
3991
4212
  ];
3992
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getSlackRecordChannelInfo_ConfigPropertyMetadata);
3993
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$k(getSlackRecordChannelInfo_ConfigPropertyMetadata);
3994
- function keyBuilder$o(luvio, config) {
3995
- const resourceParams = createResourceParams$f(config);
3996
- return keyBuilder$p(luvio, resourceParams);
4213
+ const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4214
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$l(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4215
+ function keyBuilder$q(luvio, config) {
4216
+ const resourceParams = createResourceParams$g(config);
4217
+ return keyBuilder$r(luvio, resourceParams);
3997
4218
  }
3998
- function typeCheckConfig$f(untrustedConfig) {
4219
+ function typeCheckConfig$g(untrustedConfig) {
3999
4220
  const config = {};
4000
- typeCheckConfig$k(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4221
+ typeCheckConfig$l(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4001
4222
  return config;
4002
4223
  }
4003
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
4224
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
4004
4225
  if (!untrustedIsObject(untrustedConfig)) {
4005
4226
  return null;
4006
4227
  }
4007
4228
  if (process.env.NODE_ENV !== 'production') {
4008
4229
  validateConfig(untrustedConfig, configPropertyNames);
4009
4230
  }
4010
- const config = typeCheckConfig$f(untrustedConfig);
4231
+ const config = typeCheckConfig$g(untrustedConfig);
4011
4232
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4012
4233
  return null;
4013
4234
  }
4014
4235
  return config;
4015
4236
  }
4016
- function adapterFragment$8(luvio, config) {
4017
- createResourceParams$f(config);
4237
+ function adapterFragment$9(luvio, config) {
4238
+ createResourceParams$g(config);
4018
4239
  return select$l();
4019
4240
  }
4020
- function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
4021
- const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
4241
+ function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
4242
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
4022
4243
  config,
4023
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
4244
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4024
4245
  });
4025
4246
  return luvio.storeBroadcast().then(() => snapshot);
4026
4247
  }
4027
- function onFetchResponseError$8(luvio, config, resourceParams, response) {
4028
- const snapshot = ingestError$8(luvio, resourceParams, response, {
4248
+ function onFetchResponseError$9(luvio, config, resourceParams, response) {
4249
+ const snapshot = ingestError$9(luvio, resourceParams, response, {
4029
4250
  config,
4030
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
4251
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4031
4252
  });
4032
4253
  return luvio.storeBroadcast().then(() => snapshot);
4033
4254
  }
4034
- function buildNetworkSnapshot$f(luvio, config, options) {
4035
- const resourceParams = createResourceParams$f(config);
4036
- const request = createResourceRequest$f(resourceParams);
4255
+ function buildNetworkSnapshot$g(luvio, config, options) {
4256
+ const resourceParams = createResourceParams$g(config);
4257
+ const request = createResourceRequest$g(resourceParams);
4037
4258
  return luvio.dispatchResourceRequest(request, options)
4038
4259
  .then((response) => {
4039
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
4260
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
4040
4261
  const cache = new StoreKeyMap();
4041
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
4262
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
4042
4263
  return cache;
4043
4264
  });
4044
4265
  }, (response) => {
4045
- return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
4266
+ return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
4046
4267
  });
4047
4268
  }
4048
- function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
4049
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
4269
+ function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4270
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4050
4271
  }
4051
- function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
4272
+ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4052
4273
  const { luvio, config } = context;
4053
4274
  const selector = {
4054
- recordId: keyBuilder$o(luvio, config),
4055
- node: adapterFragment$8(luvio, config),
4275
+ recordId: keyBuilder$q(luvio, config),
4276
+ node: adapterFragment$9(luvio, config),
4056
4277
  variables: {},
4057
4278
  };
4058
4279
  const cacheSnapshot = storeLookup(selector, {
4059
4280
  config,
4060
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
4281
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
4061
4282
  });
4062
4283
  return cacheSnapshot;
4063
4284
  }
4064
4285
  const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4065
- const config = validateAdapterConfig$f(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4286
+ const config = validateAdapterConfig$g(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4066
4287
  // Invalid or incomplete config
4067
4288
  if (config === null) {
4068
4289
  return null;
4069
4290
  }
4070
4291
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4071
- buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
4292
+ buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4072
4293
  };
4073
4294
 
4074
- const VERSION$8 = "32716a7de3c8810288467155d92e5124";
4075
- function validate$8(obj, path = 'SlackBridgeConversationMarkOutputRepresentation') {
4295
+ const VERSION$7 = "32716a7de3c8810288467155d92e5124";
4296
+ function validate$7(obj, path = 'SlackBridgeConversationMarkOutputRepresentation') {
4076
4297
  const v_error = (() => {
4077
4298
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4078
4299
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4090,23 +4311,23 @@ function validate$8(obj, path = 'SlackBridgeConversationMarkOutputRepresentation
4090
4311
  })();
4091
4312
  return v_error === undefined ? null : v_error;
4092
4313
  }
4093
- const RepresentationType$8 = 'SlackBridgeConversationMarkOutputRepresentation';
4094
- function keyBuilder$n(luvio, config) {
4095
- return keyPrefix + '::' + RepresentationType$8 + ':' + config.channelId;
4314
+ const RepresentationType$7 = 'SlackBridgeConversationMarkOutputRepresentation';
4315
+ function keyBuilder$p(luvio, config) {
4316
+ return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
4096
4317
  }
4097
4318
  function keyBuilderFromType$4(luvio, object) {
4098
4319
  const keyParams = {
4099
4320
  channelId: object.channelId
4100
4321
  };
4101
- return keyBuilder$n(luvio, keyParams);
4322
+ return keyBuilder$p(luvio, keyParams);
4102
4323
  }
4103
- function normalize$8(input, existing, path, luvio, store, timestamp) {
4324
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
4104
4325
  return input;
4105
4326
  }
4106
4327
  const select$k = function SlackBridgeConversationMarkOutputRepresentationSelect() {
4107
4328
  return {
4108
4329
  kind: 'Fragment',
4109
- version: VERSION$8,
4330
+ version: VERSION$7,
4110
4331
  private: [],
4111
4332
  selections: [
4112
4333
  {
@@ -4120,7 +4341,7 @@ const select$k = function SlackBridgeConversationMarkOutputRepresentationSelect(
4120
4341
  ]
4121
4342
  };
4122
4343
  };
4123
- function equals$8(existing, incoming) {
4344
+ function equals$7(existing, incoming) {
4124
4345
  const existing_channelId = existing.channelId;
4125
4346
  const incoming_channelId = incoming.channelId;
4126
4347
  if (!(existing_channelId === incoming_channelId)) {
@@ -4133,24 +4354,24 @@ function equals$8(existing, incoming) {
4133
4354
  }
4134
4355
  return true;
4135
4356
  }
4136
- const ingest$8 = function SlackBridgeConversationMarkOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4357
+ const ingest$7 = function SlackBridgeConversationMarkOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4137
4358
  if (process.env.NODE_ENV !== 'production') {
4138
- const validateError = validate$8(input);
4359
+ const validateError = validate$7(input);
4139
4360
  if (validateError !== null) {
4140
4361
  throw validateError;
4141
4362
  }
4142
4363
  }
4143
4364
  const key = keyBuilderFromType$4(luvio, input);
4144
4365
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4145
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
4366
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$7, RepresentationType$7, equals$7);
4146
4367
  return createLink(key);
4147
4368
  };
4148
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4369
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4149
4370
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4150
4371
  const rootKey = keyBuilderFromType$4(luvio, input);
4151
4372
  rootKeySet.set(rootKey, {
4152
4373
  namespace: keyPrefix,
4153
- representationName: RepresentationType$8,
4374
+ representationName: RepresentationType$7,
4154
4375
  mergeable: false
4155
4376
  });
4156
4377
  }
@@ -4158,13 +4379,13 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4158
4379
  function select$j(luvio, params) {
4159
4380
  return select$k();
4160
4381
  }
4161
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
4162
- getTypeCacheKeys$8(storeKeyMap, luvio, response);
4382
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
4383
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
4163
4384
  }
4164
- function ingestSuccess$b(luvio, resourceParams, response) {
4385
+ function ingestSuccess$c(luvio, resourceParams, response) {
4165
4386
  const { body } = response;
4166
4387
  const key = keyBuilderFromType$4(luvio, body);
4167
- luvio.storeIngest(key, ingest$8, body);
4388
+ luvio.storeIngest(key, ingest$7, body);
4168
4389
  const snapshot = luvio.storeLookup({
4169
4390
  recordId: key,
4170
4391
  node: select$j(),
@@ -4178,7 +4399,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
4178
4399
  deepFreeze(snapshot.data);
4179
4400
  return snapshot;
4180
4401
  }
4181
- function createResourceRequest$e(config) {
4402
+ function createResourceRequest$f(config) {
4182
4403
  const headers = {};
4183
4404
  return {
4184
4405
  baseUri: '/services/data/v63.0',
@@ -4192,43 +4413,43 @@ function createResourceRequest$e(config) {
4192
4413
  };
4193
4414
  }
4194
4415
 
4195
- const adapterName$e = 'postSlackConversationMark';
4416
+ const adapterName$f = 'postSlackConversationMark';
4196
4417
  const postSlackConversationMark_ConfigPropertyMetadata = [
4197
4418
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4198
4419
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4199
4420
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
4200
4421
  ];
4201
- const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, postSlackConversationMark_ConfigPropertyMetadata);
4202
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$k(postSlackConversationMark_ConfigPropertyMetadata);
4203
- function typeCheckConfig$e(untrustedConfig) {
4422
+ const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMark_ConfigPropertyMetadata);
4423
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$l(postSlackConversationMark_ConfigPropertyMetadata);
4424
+ function typeCheckConfig$f(untrustedConfig) {
4204
4425
  const config = {};
4205
- typeCheckConfig$k(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4426
+ typeCheckConfig$l(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4206
4427
  return config;
4207
4428
  }
4208
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
4429
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
4209
4430
  if (!untrustedIsObject(untrustedConfig)) {
4210
4431
  return null;
4211
4432
  }
4212
4433
  if (process.env.NODE_ENV !== 'production') {
4213
4434
  validateConfig(untrustedConfig, configPropertyNames);
4214
4435
  }
4215
- const config = typeCheckConfig$e(untrustedConfig);
4436
+ const config = typeCheckConfig$f(untrustedConfig);
4216
4437
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4217
4438
  return null;
4218
4439
  }
4219
4440
  return config;
4220
4441
  }
4221
- function buildNetworkSnapshot$e(luvio, config, options) {
4222
- const resourceParams = createResourceParams$e(config);
4223
- const request = createResourceRequest$e(resourceParams);
4442
+ function buildNetworkSnapshot$f(luvio, config, options) {
4443
+ const resourceParams = createResourceParams$f(config);
4444
+ const request = createResourceRequest$f(resourceParams);
4224
4445
  return luvio.dispatchResourceRequest(request, options)
4225
4446
  .then((response) => {
4226
4447
  return luvio.handleSuccessResponse(() => {
4227
- const snapshot = ingestSuccess$b(luvio, resourceParams, response);
4448
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
4228
4449
  return luvio.storeBroadcast().then(() => snapshot);
4229
4450
  }, () => {
4230
4451
  const cache = new StoreKeyMap();
4231
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
4452
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
4232
4453
  return cache;
4233
4454
  });
4234
4455
  }, (response) => {
@@ -4238,17 +4459,17 @@ function buildNetworkSnapshot$e(luvio, config, options) {
4238
4459
  }
4239
4460
  const postSlackConversationMarkAdapterFactory = (luvio) => {
4240
4461
  return function postSlackConversationMark(untrustedConfig) {
4241
- const config = validateAdapterConfig$e(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
4462
+ const config = validateAdapterConfig$f(untrustedConfig, postSlackConversationMark_ConfigPropertyNames);
4242
4463
  // Invalid or incomplete config
4243
4464
  if (config === null) {
4244
4465
  throw new Error('Invalid config for "postSlackConversationMark"');
4245
4466
  }
4246
- return buildNetworkSnapshot$e(luvio, config);
4467
+ return buildNetworkSnapshot$f(luvio, config);
4247
4468
  };
4248
4469
  };
4249
4470
 
4250
- const VERSION$7 = "30b0f3c5bd175b72d9b304944fd9d682";
4251
- function validate$7(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4471
+ const VERSION$6 = "30b0f3c5bd175b72d9b304944fd9d682";
4472
+ function validate$6(obj, path = 'SlackBridgeConversationMembersOutputRepresentation') {
4252
4473
  const v_error = (() => {
4253
4474
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4254
4475
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4299,23 +4520,23 @@ function validate$7(obj, path = 'SlackBridgeConversationMembersOutputRepresentat
4299
4520
  })();
4300
4521
  return v_error === undefined ? null : v_error;
4301
4522
  }
4302
- const RepresentationType$7 = 'SlackBridgeConversationMembersOutputRepresentation';
4303
- function keyBuilder$m(luvio, config) {
4304
- return keyPrefix + '::' + RepresentationType$7 + ':' + config.channelId;
4523
+ const RepresentationType$6 = 'SlackBridgeConversationMembersOutputRepresentation';
4524
+ function keyBuilder$o(luvio, config) {
4525
+ return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
4305
4526
  }
4306
4527
  function keyBuilderFromType$3(luvio, object) {
4307
4528
  const keyParams = {
4308
4529
  channelId: object.channelId
4309
4530
  };
4310
- return keyBuilder$m(luvio, keyParams);
4531
+ return keyBuilder$o(luvio, keyParams);
4311
4532
  }
4312
- function normalize$7(input, existing, path, luvio, store, timestamp) {
4533
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
4313
4534
  return input;
4314
4535
  }
4315
4536
  const select$i = function SlackBridgeConversationMembersOutputRepresentationSelect() {
4316
4537
  return {
4317
4538
  kind: 'Fragment',
4318
- version: VERSION$7,
4539
+ version: VERSION$6,
4319
4540
  private: [],
4320
4541
  selections: [
4321
4542
  {
@@ -4334,7 +4555,7 @@ const select$i = function SlackBridgeConversationMembersOutputRepresentationSele
4334
4555
  ]
4335
4556
  };
4336
4557
  };
4337
- function equals$7(existing, incoming) {
4558
+ function equals$6(existing, incoming) {
4338
4559
  const existing_channelId = existing.channelId;
4339
4560
  const incoming_channelId = incoming.channelId;
4340
4561
  if (!(existing_channelId === incoming_channelId)) {
@@ -4357,24 +4578,24 @@ function equals$7(existing, incoming) {
4357
4578
  }
4358
4579
  return true;
4359
4580
  }
4360
- const ingest$7 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4581
+ const ingest$6 = function SlackBridgeConversationMembersOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4361
4582
  if (process.env.NODE_ENV !== 'production') {
4362
- const validateError = validate$7(input);
4583
+ const validateError = validate$6(input);
4363
4584
  if (validateError !== null) {
4364
4585
  throw validateError;
4365
4586
  }
4366
4587
  }
4367
4588
  const key = keyBuilderFromType$3(luvio, input);
4368
4589
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4369
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SlackBridge", VERSION$7, RepresentationType$7, equals$7);
4590
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
4370
4591
  return createLink(key);
4371
4592
  };
4372
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4593
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4373
4594
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4374
4595
  const rootKey = keyBuilderFromType$3(luvio, input);
4375
4596
  rootKeySet.set(rootKey, {
4376
4597
  namespace: keyPrefix,
4377
- representationName: RepresentationType$7,
4598
+ representationName: RepresentationType$6,
4378
4599
  mergeable: false
4379
4600
  });
4380
4601
  }
@@ -4382,18 +4603,18 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
4382
4603
  function select$h(luvio, params) {
4383
4604
  return select$i();
4384
4605
  }
4385
- function keyBuilder$l(luvio, params) {
4386
- return keyBuilder$m(luvio, {
4606
+ function keyBuilder$n(luvio, params) {
4607
+ return keyBuilder$o(luvio, {
4387
4608
  channelId: params.urlParams.channelId
4388
4609
  });
4389
4610
  }
4390
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
4391
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
4611
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
4612
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
4392
4613
  }
4393
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
4614
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
4394
4615
  const { body } = response;
4395
- const key = keyBuilder$l(luvio, resourceParams);
4396
- luvio.storeIngest(key, ingest$7, body);
4616
+ const key = keyBuilder$n(luvio, resourceParams);
4617
+ luvio.storeIngest(key, ingest$6, body);
4397
4618
  const snapshot = luvio.storeLookup({
4398
4619
  recordId: key,
4399
4620
  node: select$h(),
@@ -4407,13 +4628,13 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
4407
4628
  deepFreeze(snapshot.data);
4408
4629
  return snapshot;
4409
4630
  }
4410
- function ingestError$7(luvio, params, error, snapshotRefresh) {
4411
- const key = keyBuilder$l(luvio, params);
4631
+ function ingestError$8(luvio, params, error, snapshotRefresh) {
4632
+ const key = keyBuilder$n(luvio, params);
4412
4633
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4413
4634
  luvio.storeIngestError(key, errorSnapshot);
4414
4635
  return errorSnapshot;
4415
4636
  }
4416
- function createResourceRequest$d(config) {
4637
+ function createResourceRequest$e(config) {
4417
4638
  const headers = {};
4418
4639
  return {
4419
4640
  baseUri: '/services/data/v63.0',
@@ -4427,103 +4648,103 @@ function createResourceRequest$d(config) {
4427
4648
  };
4428
4649
  }
4429
4650
 
4430
- const adapterName$d = 'getSlackConversationMembers';
4651
+ const adapterName$e = 'getSlackConversationMembers';
4431
4652
  const getSlackConversationMembers_ConfigPropertyMetadata = [
4432
4653
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4433
4654
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4434
4655
  ];
4435
- const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlackConversationMembers_ConfigPropertyMetadata);
4436
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$k(getSlackConversationMembers_ConfigPropertyMetadata);
4437
- function keyBuilder$k(luvio, config) {
4438
- const resourceParams = createResourceParams$d(config);
4439
- return keyBuilder$l(luvio, resourceParams);
4656
+ const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMembers_ConfigPropertyMetadata);
4657
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$l(getSlackConversationMembers_ConfigPropertyMetadata);
4658
+ function keyBuilder$m(luvio, config) {
4659
+ const resourceParams = createResourceParams$e(config);
4660
+ return keyBuilder$n(luvio, resourceParams);
4440
4661
  }
4441
- function typeCheckConfig$d(untrustedConfig) {
4662
+ function typeCheckConfig$e(untrustedConfig) {
4442
4663
  const config = {};
4443
- typeCheckConfig$k(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
4664
+ typeCheckConfig$l(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
4444
4665
  return config;
4445
4666
  }
4446
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
4667
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
4447
4668
  if (!untrustedIsObject(untrustedConfig)) {
4448
4669
  return null;
4449
4670
  }
4450
4671
  if (process.env.NODE_ENV !== 'production') {
4451
4672
  validateConfig(untrustedConfig, configPropertyNames);
4452
4673
  }
4453
- const config = typeCheckConfig$d(untrustedConfig);
4674
+ const config = typeCheckConfig$e(untrustedConfig);
4454
4675
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4455
4676
  return null;
4456
4677
  }
4457
4678
  return config;
4458
4679
  }
4459
- function adapterFragment$7(luvio, config) {
4460
- createResourceParams$d(config);
4680
+ function adapterFragment$8(luvio, config) {
4681
+ createResourceParams$e(config);
4461
4682
  return select$h();
4462
4683
  }
4463
- function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
4464
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
4684
+ function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
4685
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
4465
4686
  config,
4466
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4687
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4467
4688
  });
4468
4689
  return luvio.storeBroadcast().then(() => snapshot);
4469
4690
  }
4470
- function onFetchResponseError$7(luvio, config, resourceParams, response) {
4471
- const snapshot = ingestError$7(luvio, resourceParams, response, {
4691
+ function onFetchResponseError$8(luvio, config, resourceParams, response) {
4692
+ const snapshot = ingestError$8(luvio, resourceParams, response, {
4472
4693
  config,
4473
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4694
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4474
4695
  });
4475
4696
  return luvio.storeBroadcast().then(() => snapshot);
4476
4697
  }
4477
- function buildNetworkSnapshot$d(luvio, config, options) {
4478
- const resourceParams = createResourceParams$d(config);
4479
- const request = createResourceRequest$d(resourceParams);
4698
+ function buildNetworkSnapshot$e(luvio, config, options) {
4699
+ const resourceParams = createResourceParams$e(config);
4700
+ const request = createResourceRequest$e(resourceParams);
4480
4701
  return luvio.dispatchResourceRequest(request, options)
4481
4702
  .then((response) => {
4482
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
4703
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
4483
4704
  const cache = new StoreKeyMap();
4484
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
4705
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
4485
4706
  return cache;
4486
4707
  });
4487
4708
  }, (response) => {
4488
- return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
4709
+ return luvio.handleErrorResponse(() => onFetchResponseError$8(luvio, config, resourceParams, response));
4489
4710
  });
4490
4711
  }
4491
- function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
4492
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
4712
+ function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
4713
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
4493
4714
  }
4494
- function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
4715
+ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
4495
4716
  const { luvio, config } = context;
4496
4717
  const selector = {
4497
- recordId: keyBuilder$k(luvio, config),
4498
- node: adapterFragment$7(luvio, config),
4718
+ recordId: keyBuilder$m(luvio, config),
4719
+ node: adapterFragment$8(luvio, config),
4499
4720
  variables: {},
4500
4721
  };
4501
4722
  const cacheSnapshot = storeLookup(selector, {
4502
4723
  config,
4503
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
4724
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
4504
4725
  });
4505
4726
  return cacheSnapshot;
4506
4727
  }
4507
4728
  const getSlackConversationMembersAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMembers(untrustedConfig, requestContext) {
4508
- const config = validateAdapterConfig$d(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
4729
+ const config = validateAdapterConfig$e(untrustedConfig, getSlackConversationMembers_ConfigPropertyNames);
4509
4730
  // Invalid or incomplete config
4510
4731
  if (config === null) {
4511
4732
  return null;
4512
4733
  }
4513
4734
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4514
- buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
4735
+ buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
4515
4736
  };
4516
4737
 
4517
4738
  function select$g(luvio, params) {
4518
4739
  return select$i();
4519
4740
  }
4520
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
4521
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
4741
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
4742
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
4522
4743
  }
4523
- function ingestSuccess$9(luvio, resourceParams, response) {
4744
+ function ingestSuccess$a(luvio, resourceParams, response) {
4524
4745
  const { body } = response;
4525
4746
  const key = keyBuilderFromType$3(luvio, body);
4526
- luvio.storeIngest(key, ingest$7, body);
4747
+ luvio.storeIngest(key, ingest$6, body);
4527
4748
  const snapshot = luvio.storeLookup({
4528
4749
  recordId: key,
4529
4750
  node: select$g(),
@@ -4537,7 +4758,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
4537
4758
  deepFreeze(snapshot.data);
4538
4759
  return snapshot;
4539
4760
  }
4540
- function createResourceRequest$c(config) {
4761
+ function createResourceRequest$d(config) {
4541
4762
  const headers = {};
4542
4763
  return {
4543
4764
  baseUri: '/services/data/v63.0',
@@ -4551,43 +4772,43 @@ function createResourceRequest$c(config) {
4551
4772
  };
4552
4773
  }
4553
4774
 
4554
- const adapterName$c = 'postSlackConversationMembers';
4775
+ const adapterName$d = 'postSlackConversationMembers';
4555
4776
  const postSlackConversationMembers_ConfigPropertyMetadata = [
4556
4777
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4557
4778
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4558
4779
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
4559
4780
  ];
4560
- const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, postSlackConversationMembers_ConfigPropertyMetadata);
4561
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$k(postSlackConversationMembers_ConfigPropertyMetadata);
4562
- function typeCheckConfig$c(untrustedConfig) {
4781
+ const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postSlackConversationMembers_ConfigPropertyMetadata);
4782
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$l(postSlackConversationMembers_ConfigPropertyMetadata);
4783
+ function typeCheckConfig$d(untrustedConfig) {
4563
4784
  const config = {};
4564
- typeCheckConfig$k(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
4785
+ typeCheckConfig$l(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
4565
4786
  return config;
4566
4787
  }
4567
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
4788
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
4568
4789
  if (!untrustedIsObject(untrustedConfig)) {
4569
4790
  return null;
4570
4791
  }
4571
4792
  if (process.env.NODE_ENV !== 'production') {
4572
4793
  validateConfig(untrustedConfig, configPropertyNames);
4573
4794
  }
4574
- const config = typeCheckConfig$c(untrustedConfig);
4795
+ const config = typeCheckConfig$d(untrustedConfig);
4575
4796
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4576
4797
  return null;
4577
4798
  }
4578
4799
  return config;
4579
4800
  }
4580
- function buildNetworkSnapshot$c(luvio, config, options) {
4581
- const resourceParams = createResourceParams$c(config);
4582
- const request = createResourceRequest$c(resourceParams);
4801
+ function buildNetworkSnapshot$d(luvio, config, options) {
4802
+ const resourceParams = createResourceParams$d(config);
4803
+ const request = createResourceRequest$d(resourceParams);
4583
4804
  return luvio.dispatchResourceRequest(request, options)
4584
4805
  .then((response) => {
4585
4806
  return luvio.handleSuccessResponse(() => {
4586
- const snapshot = ingestSuccess$9(luvio, resourceParams, response);
4807
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
4587
4808
  return luvio.storeBroadcast().then(() => snapshot);
4588
4809
  }, () => {
4589
4810
  const cache = new StoreKeyMap();
4590
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
4811
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
4591
4812
  return cache;
4592
4813
  });
4593
4814
  }, (response) => {
@@ -4597,17 +4818,17 @@ function buildNetworkSnapshot$c(luvio, config, options) {
4597
4818
  }
4598
4819
  const postSlackConversationMembersAdapterFactory = (luvio) => {
4599
4820
  return function postSlackConversationMembers(untrustedConfig) {
4600
- const config = validateAdapterConfig$c(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
4821
+ const config = validateAdapterConfig$d(untrustedConfig, postSlackConversationMembers_ConfigPropertyNames);
4601
4822
  // Invalid or incomplete config
4602
4823
  if (config === null) {
4603
4824
  throw new Error('Invalid config for "postSlackConversationMembers"');
4604
4825
  }
4605
- return buildNetworkSnapshot$c(luvio, config);
4826
+ return buildNetworkSnapshot$d(luvio, config);
4606
4827
  };
4607
4828
  };
4608
4829
 
4609
- const VERSION$6 = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
4610
- function validate$6(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
4830
+ const VERSION$5 = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
4831
+ function validate$5(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
4611
4832
  const v_error = (() => {
4612
4833
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4613
4834
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4625,23 +4846,23 @@ function validate$6(obj, path = 'SlackBridgeConversationMemberOutputRepresentati
4625
4846
  })();
4626
4847
  return v_error === undefined ? null : v_error;
4627
4848
  }
4628
- const RepresentationType$6 = 'SlackBridgeConversationMemberOutputRepresentation';
4629
- function keyBuilder$j(luvio, config) {
4630
- return keyPrefix + '::' + RepresentationType$6 + ':' + config.channelId;
4849
+ const RepresentationType$5 = 'SlackBridgeConversationMemberOutputRepresentation';
4850
+ function keyBuilder$l(luvio, config) {
4851
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.channelId;
4631
4852
  }
4632
4853
  function keyBuilderFromType$2(luvio, object) {
4633
4854
  const keyParams = {
4634
4855
  channelId: object.channelId
4635
4856
  };
4636
- return keyBuilder$j(luvio, keyParams);
4857
+ return keyBuilder$l(luvio, keyParams);
4637
4858
  }
4638
- function normalize$6(input, existing, path, luvio, store, timestamp) {
4859
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
4639
4860
  return input;
4640
4861
  }
4641
4862
  const select$f = function SlackBridgeConversationMemberOutputRepresentationSelect() {
4642
4863
  return {
4643
4864
  kind: 'Fragment',
4644
- version: VERSION$6,
4865
+ version: VERSION$5,
4645
4866
  private: [],
4646
4867
  selections: [
4647
4868
  {
@@ -4655,7 +4876,7 @@ const select$f = function SlackBridgeConversationMemberOutputRepresentationSelec
4655
4876
  ]
4656
4877
  };
4657
4878
  };
4658
- function equals$6(existing, incoming) {
4879
+ function equals$5(existing, incoming) {
4659
4880
  const existing_channelId = existing.channelId;
4660
4881
  const incoming_channelId = incoming.channelId;
4661
4882
  if (!(existing_channelId === incoming_channelId)) {
@@ -4668,46 +4889,46 @@ function equals$6(existing, incoming) {
4668
4889
  }
4669
4890
  return true;
4670
4891
  }
4671
- const ingest$6 = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4892
+ const ingest$5 = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4672
4893
  if (process.env.NODE_ENV !== 'production') {
4673
- const validateError = validate$6(input);
4894
+ const validateError = validate$5(input);
4674
4895
  if (validateError !== null) {
4675
4896
  throw validateError;
4676
4897
  }
4677
4898
  }
4678
4899
  const key = keyBuilderFromType$2(luvio, input);
4679
4900
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4680
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SlackBridge", VERSION$6, RepresentationType$6, equals$6);
4901
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
4681
4902
  return createLink(key);
4682
4903
  };
4683
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4904
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
4684
4905
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4685
4906
  const rootKey = keyBuilderFromType$2(luvio, input);
4686
4907
  rootKeySet.set(rootKey, {
4687
4908
  namespace: keyPrefix,
4688
- representationName: RepresentationType$6,
4909
+ representationName: RepresentationType$5,
4689
4910
  mergeable: false
4690
4911
  });
4691
4912
  }
4692
4913
 
4693
- function keyBuilder$i(luvio, params) {
4694
- return keyBuilder$j(luvio, {
4914
+ function keyBuilder$k(luvio, params) {
4915
+ return keyBuilder$l(luvio, {
4695
4916
  channelId: params.urlParams.channelId
4696
4917
  });
4697
4918
  }
4698
- function getResponseCacheKeys$b(cacheKeyMap, luvio, resourceParams) {
4699
- const key = keyBuilder$i(luvio, resourceParams);
4919
+ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
4920
+ const key = keyBuilder$k(luvio, resourceParams);
4700
4921
  cacheKeyMap.set(key, {
4701
4922
  namespace: keyPrefix,
4702
- representationName: RepresentationType$6,
4923
+ representationName: RepresentationType$5,
4703
4924
  mergeable: false
4704
4925
  });
4705
4926
  }
4706
4927
  function evictSuccess$2(luvio, resourceParams) {
4707
- const key = keyBuilder$i(luvio, resourceParams);
4928
+ const key = keyBuilder$k(luvio, resourceParams);
4708
4929
  luvio.storeEvict(key);
4709
4930
  }
4710
- function createResourceRequest$b(config) {
4931
+ function createResourceRequest$c(config) {
4711
4932
  const headers = {};
4712
4933
  return {
4713
4934
  baseUri: '/services/data/v63.0',
@@ -4721,35 +4942,35 @@ function createResourceRequest$b(config) {
4721
4942
  };
4722
4943
  }
4723
4944
 
4724
- const adapterName$b = 'deleteSlackConversationMember';
4945
+ const adapterName$c = 'deleteSlackConversationMember';
4725
4946
  const deleteSlackConversationMember_ConfigPropertyMetadata = [
4726
4947
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4727
4948
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
4728
4949
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4729
4950
  ];
4730
- const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, deleteSlackConversationMember_ConfigPropertyMetadata);
4731
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$k(deleteSlackConversationMember_ConfigPropertyMetadata);
4732
- function typeCheckConfig$b(untrustedConfig) {
4951
+ const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackConversationMember_ConfigPropertyMetadata);
4952
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$l(deleteSlackConversationMember_ConfigPropertyMetadata);
4953
+ function typeCheckConfig$c(untrustedConfig) {
4733
4954
  const config = {};
4734
- typeCheckConfig$k(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
4955
+ typeCheckConfig$l(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
4735
4956
  return config;
4736
4957
  }
4737
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
4958
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
4738
4959
  if (!untrustedIsObject(untrustedConfig)) {
4739
4960
  return null;
4740
4961
  }
4741
4962
  if (process.env.NODE_ENV !== 'production') {
4742
4963
  validateConfig(untrustedConfig, configPropertyNames);
4743
4964
  }
4744
- const config = typeCheckConfig$b(untrustedConfig);
4965
+ const config = typeCheckConfig$c(untrustedConfig);
4745
4966
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4746
4967
  return null;
4747
4968
  }
4748
4969
  return config;
4749
4970
  }
4750
- function buildNetworkSnapshot$b(luvio, config, options) {
4751
- const resourceParams = createResourceParams$b(config);
4752
- const request = createResourceRequest$b(resourceParams);
4971
+ function buildNetworkSnapshot$c(luvio, config, options) {
4972
+ const resourceParams = createResourceParams$c(config);
4973
+ const request = createResourceRequest$c(resourceParams);
4753
4974
  return luvio.dispatchResourceRequest(request, options)
4754
4975
  .then(() => {
4755
4976
  return luvio.handleSuccessResponse(() => {
@@ -4757,7 +4978,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
4757
4978
  return luvio.storeBroadcast();
4758
4979
  }, () => {
4759
4980
  const cache = new StoreKeyMap();
4760
- getResponseCacheKeys$b(cache, luvio, resourceParams);
4981
+ getResponseCacheKeys$c(cache, luvio, resourceParams);
4761
4982
  return cache;
4762
4983
  });
4763
4984
  }, (response) => {
@@ -4767,30 +4988,30 @@ function buildNetworkSnapshot$b(luvio, config, options) {
4767
4988
  }
4768
4989
  const deleteSlackConversationMemberAdapterFactory = (luvio) => {
4769
4990
  return function SlackBridgedeleteSlackConversationMember(untrustedConfig) {
4770
- const config = validateAdapterConfig$b(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
4991
+ const config = validateAdapterConfig$c(untrustedConfig, deleteSlackConversationMember_ConfigPropertyNames);
4771
4992
  // Invalid or incomplete config
4772
4993
  if (config === null) {
4773
- throw new Error(`Invalid config for "${adapterName$b}"`);
4994
+ throw new Error(`Invalid config for "${adapterName$c}"`);
4774
4995
  }
4775
- return buildNetworkSnapshot$b(luvio, config);
4996
+ return buildNetworkSnapshot$c(luvio, config);
4776
4997
  };
4777
4998
  };
4778
4999
 
4779
5000
  function select$e(luvio, params) {
4780
5001
  return select$f();
4781
5002
  }
4782
- function keyBuilder$h(luvio, params) {
4783
- return keyBuilder$j(luvio, {
5003
+ function keyBuilder$j(luvio, params) {
5004
+ return keyBuilder$l(luvio, {
4784
5005
  channelId: params.urlParams.channelId
4785
5006
  });
4786
5007
  }
4787
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
4788
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
5008
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
5009
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
4789
5010
  }
4790
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5011
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
4791
5012
  const { body } = response;
4792
- const key = keyBuilder$h(luvio, resourceParams);
4793
- luvio.storeIngest(key, ingest$6, body);
5013
+ const key = keyBuilder$j(luvio, resourceParams);
5014
+ luvio.storeIngest(key, ingest$5, body);
4794
5015
  const snapshot = luvio.storeLookup({
4795
5016
  recordId: key,
4796
5017
  node: select$e(),
@@ -4804,13 +5025,13 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
4804
5025
  deepFreeze(snapshot.data);
4805
5026
  return snapshot;
4806
5027
  }
4807
- function ingestError$6(luvio, params, error, snapshotRefresh) {
4808
- const key = keyBuilder$h(luvio, params);
5028
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
5029
+ const key = keyBuilder$j(luvio, params);
4809
5030
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4810
5031
  luvio.storeIngestError(key, errorSnapshot);
4811
5032
  return errorSnapshot;
4812
5033
  }
4813
- function createResourceRequest$a(config) {
5034
+ function createResourceRequest$b(config) {
4814
5035
  const headers = {};
4815
5036
  return {
4816
5037
  baseUri: '/services/data/v63.0',
@@ -4824,96 +5045,96 @@ function createResourceRequest$a(config) {
4824
5045
  };
4825
5046
  }
4826
5047
 
4827
- const adapterName$a = 'getSlackConversationMember';
5048
+ const adapterName$b = 'getSlackConversationMember';
4828
5049
  const getSlackConversationMember_ConfigPropertyMetadata = [
4829
5050
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
4830
5051
  generateParamConfigMetadata('slackUserId', true, 0 /* UrlParameter */, 0 /* String */),
4831
5052
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
4832
5053
  ];
4833
- const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSlackConversationMember_ConfigPropertyMetadata);
4834
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$k(getSlackConversationMember_ConfigPropertyMetadata);
4835
- function keyBuilder$g(luvio, config) {
4836
- const resourceParams = createResourceParams$a(config);
4837
- return keyBuilder$h(luvio, resourceParams);
5054
+ const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackConversationMember_ConfigPropertyMetadata);
5055
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$l(getSlackConversationMember_ConfigPropertyMetadata);
5056
+ function keyBuilder$i(luvio, config) {
5057
+ const resourceParams = createResourceParams$b(config);
5058
+ return keyBuilder$j(luvio, resourceParams);
4838
5059
  }
4839
- function typeCheckConfig$a(untrustedConfig) {
5060
+ function typeCheckConfig$b(untrustedConfig) {
4840
5061
  const config = {};
4841
- typeCheckConfig$k(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5062
+ typeCheckConfig$l(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
4842
5063
  return config;
4843
5064
  }
4844
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
5065
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
4845
5066
  if (!untrustedIsObject(untrustedConfig)) {
4846
5067
  return null;
4847
5068
  }
4848
5069
  if (process.env.NODE_ENV !== 'production') {
4849
5070
  validateConfig(untrustedConfig, configPropertyNames);
4850
5071
  }
4851
- const config = typeCheckConfig$a(untrustedConfig);
5072
+ const config = typeCheckConfig$b(untrustedConfig);
4852
5073
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4853
5074
  return null;
4854
5075
  }
4855
5076
  return config;
4856
5077
  }
4857
- function adapterFragment$6(luvio, config) {
4858
- createResourceParams$a(config);
5078
+ function adapterFragment$7(luvio, config) {
5079
+ createResourceParams$b(config);
4859
5080
  return select$e();
4860
5081
  }
4861
- function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
4862
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
5082
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
5083
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
4863
5084
  config,
4864
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5085
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4865
5086
  });
4866
5087
  return luvio.storeBroadcast().then(() => snapshot);
4867
5088
  }
4868
- function onFetchResponseError$6(luvio, config, resourceParams, response) {
4869
- const snapshot = ingestError$6(luvio, resourceParams, response, {
5089
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
5090
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
4870
5091
  config,
4871
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5092
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4872
5093
  });
4873
5094
  return luvio.storeBroadcast().then(() => snapshot);
4874
5095
  }
4875
- function buildNetworkSnapshot$a(luvio, config, options) {
4876
- const resourceParams = createResourceParams$a(config);
4877
- const request = createResourceRequest$a(resourceParams);
5096
+ function buildNetworkSnapshot$b(luvio, config, options) {
5097
+ const resourceParams = createResourceParams$b(config);
5098
+ const request = createResourceRequest$b(resourceParams);
4878
5099
  return luvio.dispatchResourceRequest(request, options)
4879
5100
  .then((response) => {
4880
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
5101
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
4881
5102
  const cache = new StoreKeyMap();
4882
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
5103
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
4883
5104
  return cache;
4884
5105
  });
4885
5106
  }, (response) => {
4886
- return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
5107
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
4887
5108
  });
4888
5109
  }
4889
- function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
4890
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
5110
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5111
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
4891
5112
  }
4892
- function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5113
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
4893
5114
  const { luvio, config } = context;
4894
5115
  const selector = {
4895
- recordId: keyBuilder$g(luvio, config),
4896
- node: adapterFragment$6(luvio, config),
5116
+ recordId: keyBuilder$i(luvio, config),
5117
+ node: adapterFragment$7(luvio, config),
4897
5118
  variables: {},
4898
5119
  };
4899
5120
  const cacheSnapshot = storeLookup(selector, {
4900
5121
  config,
4901
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
5122
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
4902
5123
  });
4903
5124
  return cacheSnapshot;
4904
5125
  }
4905
5126
  const getSlackConversationMemberAdapterFactory = (luvio) => function SlackBridge__getSlackConversationMember(untrustedConfig, requestContext) {
4906
- const config = validateAdapterConfig$a(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
5127
+ const config = validateAdapterConfig$b(untrustedConfig, getSlackConversationMember_ConfigPropertyNames);
4907
5128
  // Invalid or incomplete config
4908
5129
  if (config === null) {
4909
5130
  return null;
4910
5131
  }
4911
5132
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4912
- buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
5133
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
4913
5134
  };
4914
5135
 
4915
- const VERSION$5 = "605674abcbc0dad7e2707e4e00e8d4cd";
4916
- function validate$5(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
5136
+ const VERSION$4 = "605674abcbc0dad7e2707e4e00e8d4cd";
5137
+ function validate$4(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
4917
5138
  const v_error = (() => {
4918
5139
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4919
5140
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4936,23 +5157,23 @@ function validate$5(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation'
4936
5157
  })();
4937
5158
  return v_error === undefined ? null : v_error;
4938
5159
  }
4939
- const RepresentationType$5 = 'SlackBridgeMessageFragmentOutputRepresentation';
4940
- function keyBuilder$f(luvio, config) {
4941
- return keyPrefix + '::' + RepresentationType$5 + ':' + config.channelId;
5160
+ const RepresentationType$4 = 'SlackBridgeMessageFragmentOutputRepresentation';
5161
+ function keyBuilder$h(luvio, config) {
5162
+ return keyPrefix + '::' + RepresentationType$4 + ':' + config.channelId;
4942
5163
  }
4943
5164
  function keyBuilderFromType$1(luvio, object) {
4944
5165
  const keyParams = {
4945
5166
  channelId: object.channelId
4946
5167
  };
4947
- return keyBuilder$f(luvio, keyParams);
5168
+ return keyBuilder$h(luvio, keyParams);
4948
5169
  }
4949
- function normalize$5(input, existing, path, luvio, store, timestamp) {
5170
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
4950
5171
  return input;
4951
5172
  }
4952
5173
  const select$d = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
4953
5174
  return {
4954
5175
  kind: 'Fragment',
4955
- version: VERSION$5,
5176
+ version: VERSION$4,
4956
5177
  private: [],
4957
5178
  selections: [
4958
5179
  {
@@ -4970,7 +5191,7 @@ const select$d = function SlackBridgeMessageFragmentOutputRepresentationSelect()
4970
5191
  ]
4971
5192
  };
4972
5193
  };
4973
- function equals$5(existing, incoming) {
5194
+ function equals$4(existing, incoming) {
4974
5195
  const existing_channelId = existing.channelId;
4975
5196
  const incoming_channelId = incoming.channelId;
4976
5197
  if (!(existing_channelId === incoming_channelId)) {
@@ -4988,46 +5209,46 @@ function equals$5(existing, incoming) {
4988
5209
  }
4989
5210
  return true;
4990
5211
  }
4991
- const ingest$5 = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5212
+ const ingest$4 = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4992
5213
  if (process.env.NODE_ENV !== 'production') {
4993
- const validateError = validate$5(input);
5214
+ const validateError = validate$4(input);
4994
5215
  if (validateError !== null) {
4995
5216
  throw validateError;
4996
5217
  }
4997
5218
  }
4998
5219
  const key = keyBuilderFromType$1(luvio, input);
4999
5220
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5000
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SlackBridge", VERSION$5, RepresentationType$5, equals$5);
5221
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
5001
5222
  return createLink(key);
5002
5223
  };
5003
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5224
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5004
5225
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5005
5226
  const rootKey = keyBuilderFromType$1(luvio, input);
5006
5227
  rootKeySet.set(rootKey, {
5007
5228
  namespace: keyPrefix,
5008
- representationName: RepresentationType$5,
5229
+ representationName: RepresentationType$4,
5009
5230
  mergeable: false
5010
5231
  });
5011
5232
  }
5012
5233
 
5013
- function keyBuilder$e(luvio, params) {
5014
- return keyBuilder$f(luvio, {
5234
+ function keyBuilder$g(luvio, params) {
5235
+ return keyBuilder$h(luvio, {
5015
5236
  channelId: params.urlParams.channelId
5016
5237
  });
5017
5238
  }
5018
- function getResponseCacheKeys$9(cacheKeyMap, luvio, resourceParams) {
5019
- const key = keyBuilder$e(luvio, resourceParams);
5239
+ function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
5240
+ const key = keyBuilder$g(luvio, resourceParams);
5020
5241
  cacheKeyMap.set(key, {
5021
5242
  namespace: keyPrefix,
5022
- representationName: RepresentationType$5,
5243
+ representationName: RepresentationType$4,
5023
5244
  mergeable: false
5024
5245
  });
5025
5246
  }
5026
5247
  function evictSuccess$1(luvio, resourceParams) {
5027
- const key = keyBuilder$e(luvio, resourceParams);
5248
+ const key = keyBuilder$g(luvio, resourceParams);
5028
5249
  luvio.storeEvict(key);
5029
5250
  }
5030
- function createResourceRequest$9(config) {
5251
+ function createResourceRequest$a(config) {
5031
5252
  const headers = {};
5032
5253
  return {
5033
5254
  baseUri: '/services/data/v63.0',
@@ -5041,35 +5262,35 @@ function createResourceRequest$9(config) {
5041
5262
  };
5042
5263
  }
5043
5264
 
5044
- const adapterName$9 = 'deleteSlackMessage';
5265
+ const adapterName$a = 'deleteSlackMessage';
5045
5266
  const deleteSlackMessage_ConfigPropertyMetadata = [
5046
5267
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5047
5268
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5048
5269
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5049
5270
  ];
5050
- const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, deleteSlackMessage_ConfigPropertyMetadata);
5051
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$k(deleteSlackMessage_ConfigPropertyMetadata);
5052
- function typeCheckConfig$9(untrustedConfig) {
5271
+ const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSlackMessage_ConfigPropertyMetadata);
5272
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$l(deleteSlackMessage_ConfigPropertyMetadata);
5273
+ function typeCheckConfig$a(untrustedConfig) {
5053
5274
  const config = {};
5054
- typeCheckConfig$k(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5275
+ typeCheckConfig$l(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5055
5276
  return config;
5056
5277
  }
5057
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
5278
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
5058
5279
  if (!untrustedIsObject(untrustedConfig)) {
5059
5280
  return null;
5060
5281
  }
5061
5282
  if (process.env.NODE_ENV !== 'production') {
5062
5283
  validateConfig(untrustedConfig, configPropertyNames);
5063
5284
  }
5064
- const config = typeCheckConfig$9(untrustedConfig);
5285
+ const config = typeCheckConfig$a(untrustedConfig);
5065
5286
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5066
5287
  return null;
5067
5288
  }
5068
5289
  return config;
5069
5290
  }
5070
- function buildNetworkSnapshot$9(luvio, config, options) {
5071
- const resourceParams = createResourceParams$9(config);
5072
- const request = createResourceRequest$9(resourceParams);
5291
+ function buildNetworkSnapshot$a(luvio, config, options) {
5292
+ const resourceParams = createResourceParams$a(config);
5293
+ const request = createResourceRequest$a(resourceParams);
5073
5294
  return luvio.dispatchResourceRequest(request, options)
5074
5295
  .then(() => {
5075
5296
  return luvio.handleSuccessResponse(() => {
@@ -5077,7 +5298,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
5077
5298
  return luvio.storeBroadcast();
5078
5299
  }, () => {
5079
5300
  const cache = new StoreKeyMap();
5080
- getResponseCacheKeys$9(cache, luvio, resourceParams);
5301
+ getResponseCacheKeys$a(cache, luvio, resourceParams);
5081
5302
  return cache;
5082
5303
  });
5083
5304
  }, (response) => {
@@ -5087,30 +5308,30 @@ function buildNetworkSnapshot$9(luvio, config, options) {
5087
5308
  }
5088
5309
  const deleteSlackMessageAdapterFactory = (luvio) => {
5089
5310
  return function SlackBridgedeleteSlackMessage(untrustedConfig) {
5090
- const config = validateAdapterConfig$9(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
5311
+ const config = validateAdapterConfig$a(untrustedConfig, deleteSlackMessage_ConfigPropertyNames);
5091
5312
  // Invalid or incomplete config
5092
5313
  if (config === null) {
5093
- throw new Error(`Invalid config for "${adapterName$9}"`);
5314
+ throw new Error(`Invalid config for "${adapterName$a}"`);
5094
5315
  }
5095
- return buildNetworkSnapshot$9(luvio, config);
5316
+ return buildNetworkSnapshot$a(luvio, config);
5096
5317
  };
5097
5318
  };
5098
5319
 
5099
5320
  function select$c(luvio, params) {
5100
5321
  return select$d();
5101
5322
  }
5102
- function keyBuilder$d(luvio, params) {
5103
- return keyBuilder$f(luvio, {
5323
+ function keyBuilder$f(luvio, params) {
5324
+ return keyBuilder$h(luvio, {
5104
5325
  channelId: params.urlParams.channelId
5105
5326
  });
5106
5327
  }
5107
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
5108
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
5328
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
5329
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
5109
5330
  }
5110
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
5331
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
5111
5332
  const { body } = response;
5112
- const key = keyBuilder$d(luvio, resourceParams);
5113
- luvio.storeIngest(key, ingest$5, body);
5333
+ const key = keyBuilder$f(luvio, resourceParams);
5334
+ luvio.storeIngest(key, ingest$4, body);
5114
5335
  const snapshot = luvio.storeLookup({
5115
5336
  recordId: key,
5116
5337
  node: select$c(),
@@ -5124,13 +5345,13 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
5124
5345
  deepFreeze(snapshot.data);
5125
5346
  return snapshot;
5126
5347
  }
5127
- function ingestError$5(luvio, params, error, snapshotRefresh) {
5128
- const key = keyBuilder$d(luvio, params);
5348
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
5349
+ const key = keyBuilder$f(luvio, params);
5129
5350
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5130
5351
  luvio.storeIngestError(key, errorSnapshot);
5131
5352
  return errorSnapshot;
5132
5353
  }
5133
- function createResourceRequest$8(config) {
5354
+ function createResourceRequest$9(config) {
5134
5355
  const headers = {};
5135
5356
  return {
5136
5357
  baseUri: '/services/data/v63.0',
@@ -5144,104 +5365,104 @@ function createResourceRequest$8(config) {
5144
5365
  };
5145
5366
  }
5146
5367
 
5147
- const adapterName$8 = 'getSlackMessage';
5368
+ const adapterName$9 = 'getSlackMessage';
5148
5369
  const getSlackMessage_ConfigPropertyMetadata = [
5149
5370
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5150
5371
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5151
5372
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5152
5373
  ];
5153
- const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackMessage_ConfigPropertyMetadata);
5154
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$k(getSlackMessage_ConfigPropertyMetadata);
5155
- function keyBuilder$c(luvio, config) {
5156
- const resourceParams = createResourceParams$8(config);
5157
- return keyBuilder$d(luvio, resourceParams);
5374
+ const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackMessage_ConfigPropertyMetadata);
5375
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$l(getSlackMessage_ConfigPropertyMetadata);
5376
+ function keyBuilder$e(luvio, config) {
5377
+ const resourceParams = createResourceParams$9(config);
5378
+ return keyBuilder$f(luvio, resourceParams);
5158
5379
  }
5159
- function typeCheckConfig$8(untrustedConfig) {
5380
+ function typeCheckConfig$9(untrustedConfig) {
5160
5381
  const config = {};
5161
- typeCheckConfig$k(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5382
+ typeCheckConfig$l(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5162
5383
  return config;
5163
5384
  }
5164
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
5385
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
5165
5386
  if (!untrustedIsObject(untrustedConfig)) {
5166
5387
  return null;
5167
5388
  }
5168
5389
  if (process.env.NODE_ENV !== 'production') {
5169
5390
  validateConfig(untrustedConfig, configPropertyNames);
5170
5391
  }
5171
- const config = typeCheckConfig$8(untrustedConfig);
5392
+ const config = typeCheckConfig$9(untrustedConfig);
5172
5393
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5173
5394
  return null;
5174
5395
  }
5175
5396
  return config;
5176
5397
  }
5177
- function adapterFragment$5(luvio, config) {
5178
- createResourceParams$8(config);
5398
+ function adapterFragment$6(luvio, config) {
5399
+ createResourceParams$9(config);
5179
5400
  return select$c();
5180
5401
  }
5181
- function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
5182
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
5402
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
5403
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
5183
5404
  config,
5184
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5405
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5185
5406
  });
5186
5407
  return luvio.storeBroadcast().then(() => snapshot);
5187
5408
  }
5188
- function onFetchResponseError$5(luvio, config, resourceParams, response) {
5189
- const snapshot = ingestError$5(luvio, resourceParams, response, {
5409
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
5410
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
5190
5411
  config,
5191
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5412
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5192
5413
  });
5193
5414
  return luvio.storeBroadcast().then(() => snapshot);
5194
5415
  }
5195
- function buildNetworkSnapshot$8(luvio, config, options) {
5196
- const resourceParams = createResourceParams$8(config);
5197
- const request = createResourceRequest$8(resourceParams);
5416
+ function buildNetworkSnapshot$9(luvio, config, options) {
5417
+ const resourceParams = createResourceParams$9(config);
5418
+ const request = createResourceRequest$9(resourceParams);
5198
5419
  return luvio.dispatchResourceRequest(request, options)
5199
5420
  .then((response) => {
5200
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
5421
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
5201
5422
  const cache = new StoreKeyMap();
5202
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
5423
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
5203
5424
  return cache;
5204
5425
  });
5205
5426
  }, (response) => {
5206
- return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
5427
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
5207
5428
  });
5208
5429
  }
5209
- function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
5210
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
5430
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5431
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
5211
5432
  }
5212
- function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
5433
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5213
5434
  const { luvio, config } = context;
5214
5435
  const selector = {
5215
- recordId: keyBuilder$c(luvio, config),
5216
- node: adapterFragment$5(luvio, config),
5436
+ recordId: keyBuilder$e(luvio, config),
5437
+ node: adapterFragment$6(luvio, config),
5217
5438
  variables: {},
5218
5439
  };
5219
5440
  const cacheSnapshot = storeLookup(selector, {
5220
5441
  config,
5221
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
5442
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
5222
5443
  });
5223
5444
  return cacheSnapshot;
5224
5445
  }
5225
5446
  const getSlackMessageAdapterFactory = (luvio) => function SlackBridge__getSlackMessage(untrustedConfig, requestContext) {
5226
- const config = validateAdapterConfig$8(untrustedConfig, getSlackMessage_ConfigPropertyNames);
5447
+ const config = validateAdapterConfig$9(untrustedConfig, getSlackMessage_ConfigPropertyNames);
5227
5448
  // Invalid or incomplete config
5228
5449
  if (config === null) {
5229
5450
  return null;
5230
5451
  }
5231
5452
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
5232
- buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
5453
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
5233
5454
  };
5234
5455
 
5235
5456
  function select$b(luvio, params) {
5236
5457
  return select$d();
5237
5458
  }
5238
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
5239
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
5459
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
5460
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
5240
5461
  }
5241
- function ingestSuccess$6(luvio, resourceParams, response) {
5462
+ function ingestSuccess$7(luvio, resourceParams, response) {
5242
5463
  const { body } = response;
5243
5464
  const key = keyBuilderFromType$1(luvio, body);
5244
- luvio.storeIngest(key, ingest$5, body);
5465
+ luvio.storeIngest(key, ingest$4, body);
5245
5466
  const snapshot = luvio.storeLookup({
5246
5467
  recordId: key,
5247
5468
  node: select$b(),
@@ -5255,7 +5476,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
5255
5476
  deepFreeze(snapshot.data);
5256
5477
  return snapshot;
5257
5478
  }
5258
- function createResourceRequest$7(config) {
5479
+ function createResourceRequest$8(config) {
5259
5480
  const headers = {};
5260
5481
  return {
5261
5482
  baseUri: '/services/data/v63.0',
@@ -5269,44 +5490,44 @@ function createResourceRequest$7(config) {
5269
5490
  };
5270
5491
  }
5271
5492
 
5272
- const adapterName$7 = 'patchSlackMessage';
5493
+ const adapterName$8 = 'patchSlackMessage';
5273
5494
  const patchSlackMessage_ConfigPropertyMetadata = [
5274
5495
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5275
5496
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5276
5497
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5277
5498
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
5278
5499
  ];
5279
- const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, patchSlackMessage_ConfigPropertyMetadata);
5280
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$k(patchSlackMessage_ConfigPropertyMetadata);
5281
- function typeCheckConfig$7(untrustedConfig) {
5500
+ const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchSlackMessage_ConfigPropertyMetadata);
5501
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$l(patchSlackMessage_ConfigPropertyMetadata);
5502
+ function typeCheckConfig$8(untrustedConfig) {
5282
5503
  const config = {};
5283
- typeCheckConfig$k(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5504
+ typeCheckConfig$l(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5284
5505
  return config;
5285
5506
  }
5286
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
5507
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
5287
5508
  if (!untrustedIsObject(untrustedConfig)) {
5288
5509
  return null;
5289
5510
  }
5290
5511
  if (process.env.NODE_ENV !== 'production') {
5291
5512
  validateConfig(untrustedConfig, configPropertyNames);
5292
5513
  }
5293
- const config = typeCheckConfig$7(untrustedConfig);
5514
+ const config = typeCheckConfig$8(untrustedConfig);
5294
5515
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5295
5516
  return null;
5296
5517
  }
5297
5518
  return config;
5298
5519
  }
5299
- function buildNetworkSnapshot$7(luvio, config, options) {
5300
- const resourceParams = createResourceParams$7(config);
5301
- const request = createResourceRequest$7(resourceParams);
5520
+ function buildNetworkSnapshot$8(luvio, config, options) {
5521
+ const resourceParams = createResourceParams$8(config);
5522
+ const request = createResourceRequest$8(resourceParams);
5302
5523
  return luvio.dispatchResourceRequest(request, options)
5303
5524
  .then((response) => {
5304
5525
  return luvio.handleSuccessResponse(() => {
5305
- const snapshot = ingestSuccess$6(luvio, resourceParams, response);
5526
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response);
5306
5527
  return luvio.storeBroadcast().then(() => snapshot);
5307
5528
  }, () => {
5308
5529
  const cache = new StoreKeyMap();
5309
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
5530
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
5310
5531
  return cache;
5311
5532
  });
5312
5533
  }, (response) => {
@@ -5316,17 +5537,17 @@ function buildNetworkSnapshot$7(luvio, config, options) {
5316
5537
  }
5317
5538
  const patchSlackMessageAdapterFactory = (luvio) => {
5318
5539
  return function patchSlackMessage(untrustedConfig) {
5319
- const config = validateAdapterConfig$7(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
5540
+ const config = validateAdapterConfig$8(untrustedConfig, patchSlackMessage_ConfigPropertyNames);
5320
5541
  // Invalid or incomplete config
5321
5542
  if (config === null) {
5322
5543
  throw new Error('Invalid config for "patchSlackMessage"');
5323
5544
  }
5324
- return buildNetworkSnapshot$7(luvio, config);
5545
+ return buildNetworkSnapshot$8(luvio, config);
5325
5546
  };
5326
5547
  };
5327
5548
 
5328
- const VERSION$4 = "804aa6216a7579adeeae856f76b688db";
5329
- function validate$4(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
5549
+ const VERSION$3 = "804aa6216a7579adeeae856f76b688db";
5550
+ function validate$3(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
5330
5551
  const v_error = (() => {
5331
5552
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5332
5553
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5349,7 +5570,7 @@ function validate$4(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
5349
5570
  for (let i = 0; i < obj_reactions.length; i++) {
5350
5571
  const obj_reactions_item = obj_reactions[i];
5351
5572
  const path_reactions_item = path_reactions + '[' + i + ']';
5352
- const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
5573
+ const referencepath_reactions_itemValidationError = validate$h(obj_reactions_item, path_reactions_item);
5353
5574
  if (referencepath_reactions_itemValidationError !== null) {
5354
5575
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
5355
5576
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5364,24 +5585,24 @@ function validate$4(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
5364
5585
  })();
5365
5586
  return v_error === undefined ? null : v_error;
5366
5587
  }
5367
- const RepresentationType$4 = 'SlackBridgeReactionsOutputRepresentation';
5368
- function keyBuilder$b(luvio, config) {
5369
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.channelId;
5588
+ const RepresentationType$3 = 'SlackBridgeReactionsOutputRepresentation';
5589
+ function keyBuilder$d(luvio, config) {
5590
+ return keyPrefix + '::' + RepresentationType$3 + ':' + config.channelId;
5370
5591
  }
5371
5592
  function keyBuilderFromType(luvio, object) {
5372
5593
  const keyParams = {
5373
5594
  channelId: object.channelId
5374
5595
  };
5375
- return keyBuilder$b(luvio, keyParams);
5596
+ return keyBuilder$d(luvio, keyParams);
5376
5597
  }
5377
- function normalize$4(input, existing, path, luvio, store, timestamp) {
5598
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
5378
5599
  return input;
5379
5600
  }
5380
5601
  const select$a = function SlackBridgeReactionsOutputRepresentationSelect() {
5381
5602
  const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$z();
5382
5603
  return {
5383
5604
  kind: 'Fragment',
5384
- version: VERSION$4,
5605
+ version: VERSION$3,
5385
5606
  private: [],
5386
5607
  selections: [
5387
5608
  {
@@ -5405,7 +5626,7 @@ const select$a = function SlackBridgeReactionsOutputRepresentationSelect() {
5405
5626
  ]
5406
5627
  };
5407
5628
  };
5408
- function equals$4(existing, incoming) {
5629
+ function equals$3(existing, incoming) {
5409
5630
  const existing_channelId = existing.channelId;
5410
5631
  const incoming_channelId = incoming.channelId;
5411
5632
  if (!(existing_channelId === incoming_channelId)) {
@@ -5424,7 +5645,7 @@ function equals$4(existing, incoming) {
5424
5645
  const existing_reactions = existing.reactions;
5425
5646
  const incoming_reactions = incoming.reactions;
5426
5647
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
5427
- if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
5648
+ if (!(equals$h(existing_reactions_item, incoming_reactions_item))) {
5428
5649
  return false;
5429
5650
  }
5430
5651
  });
@@ -5433,46 +5654,46 @@ function equals$4(existing, incoming) {
5433
5654
  }
5434
5655
  return true;
5435
5656
  }
5436
- const ingest$4 = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5657
+ const ingest$3 = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5437
5658
  if (process.env.NODE_ENV !== 'production') {
5438
- const validateError = validate$4(input);
5659
+ const validateError = validate$3(input);
5439
5660
  if (validateError !== null) {
5440
5661
  throw validateError;
5441
5662
  }
5442
5663
  }
5443
5664
  const key = keyBuilderFromType(luvio, input);
5444
5665
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5445
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "SlackBridge", VERSION$4, RepresentationType$4, equals$4);
5666
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
5446
5667
  return createLink(key);
5447
5668
  };
5448
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5669
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
5449
5670
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5450
5671
  const rootKey = keyBuilderFromType(luvio, input);
5451
5672
  rootKeySet.set(rootKey, {
5452
5673
  namespace: keyPrefix,
5453
- representationName: RepresentationType$4,
5674
+ representationName: RepresentationType$3,
5454
5675
  mergeable: false
5455
5676
  });
5456
5677
  }
5457
5678
 
5458
- function keyBuilder$a(luvio, params) {
5459
- return keyBuilder$b(luvio, {
5679
+ function keyBuilder$c(luvio, params) {
5680
+ return keyBuilder$d(luvio, {
5460
5681
  channelId: params.urlParams.channelId
5461
5682
  });
5462
5683
  }
5463
- function getResponseCacheKeys$6(cacheKeyMap, luvio, resourceParams) {
5464
- const key = keyBuilder$a(luvio, resourceParams);
5684
+ function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
5685
+ const key = keyBuilder$c(luvio, resourceParams);
5465
5686
  cacheKeyMap.set(key, {
5466
5687
  namespace: keyPrefix,
5467
- representationName: RepresentationType$4,
5688
+ representationName: RepresentationType$3,
5468
5689
  mergeable: false
5469
5690
  });
5470
5691
  }
5471
5692
  function evictSuccess(luvio, resourceParams) {
5472
- const key = keyBuilder$a(luvio, resourceParams);
5693
+ const key = keyBuilder$c(luvio, resourceParams);
5473
5694
  luvio.storeEvict(key);
5474
5695
  }
5475
- function createResourceRequest$6(config) {
5696
+ function createResourceRequest$7(config) {
5476
5697
  const headers = {};
5477
5698
  return {
5478
5699
  baseUri: '/services/data/v63.0',
@@ -5486,36 +5707,36 @@ function createResourceRequest$6(config) {
5486
5707
  };
5487
5708
  }
5488
5709
 
5489
- const adapterName$6 = 'deleteSlackMessageReactions';
5710
+ const adapterName$7 = 'deleteSlackMessageReactions';
5490
5711
  const deleteSlackMessageReactions_ConfigPropertyMetadata = [
5491
5712
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5492
5713
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5493
5714
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5494
5715
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
5495
5716
  ];
5496
- const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, deleteSlackMessageReactions_ConfigPropertyMetadata);
5497
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$k(deleteSlackMessageReactions_ConfigPropertyMetadata);
5498
- function typeCheckConfig$6(untrustedConfig) {
5717
+ const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteSlackMessageReactions_ConfigPropertyMetadata);
5718
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$l(deleteSlackMessageReactions_ConfigPropertyMetadata);
5719
+ function typeCheckConfig$7(untrustedConfig) {
5499
5720
  const config = {};
5500
- typeCheckConfig$k(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
5721
+ typeCheckConfig$l(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
5501
5722
  return config;
5502
5723
  }
5503
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
5724
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
5504
5725
  if (!untrustedIsObject(untrustedConfig)) {
5505
5726
  return null;
5506
5727
  }
5507
5728
  if (process.env.NODE_ENV !== 'production') {
5508
5729
  validateConfig(untrustedConfig, configPropertyNames);
5509
5730
  }
5510
- const config = typeCheckConfig$6(untrustedConfig);
5731
+ const config = typeCheckConfig$7(untrustedConfig);
5511
5732
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5512
5733
  return null;
5513
5734
  }
5514
5735
  return config;
5515
5736
  }
5516
- function buildNetworkSnapshot$6(luvio, config, options) {
5517
- const resourceParams = createResourceParams$6(config);
5518
- const request = createResourceRequest$6(resourceParams);
5737
+ function buildNetworkSnapshot$7(luvio, config, options) {
5738
+ const resourceParams = createResourceParams$7(config);
5739
+ const request = createResourceRequest$7(resourceParams);
5519
5740
  return luvio.dispatchResourceRequest(request, options)
5520
5741
  .then(() => {
5521
5742
  return luvio.handleSuccessResponse(() => {
@@ -5523,7 +5744,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
5523
5744
  return luvio.storeBroadcast();
5524
5745
  }, () => {
5525
5746
  const cache = new StoreKeyMap();
5526
- getResponseCacheKeys$6(cache, luvio, resourceParams);
5747
+ getResponseCacheKeys$7(cache, luvio, resourceParams);
5527
5748
  return cache;
5528
5749
  });
5529
5750
  }, (response) => {
@@ -5533,25 +5754,25 @@ function buildNetworkSnapshot$6(luvio, config, options) {
5533
5754
  }
5534
5755
  const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
5535
5756
  return function SlackBridgedeleteSlackMessageReactions(untrustedConfig) {
5536
- const config = validateAdapterConfig$6(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
5757
+ const config = validateAdapterConfig$7(untrustedConfig, deleteSlackMessageReactions_ConfigPropertyNames);
5537
5758
  // Invalid or incomplete config
5538
5759
  if (config === null) {
5539
- throw new Error(`Invalid config for "${adapterName$6}"`);
5760
+ throw new Error(`Invalid config for "${adapterName$7}"`);
5540
5761
  }
5541
- return buildNetworkSnapshot$6(luvio, config);
5762
+ return buildNetworkSnapshot$7(luvio, config);
5542
5763
  };
5543
5764
  };
5544
5765
 
5545
5766
  function select$9(luvio, params) {
5546
5767
  return select$a();
5547
5768
  }
5548
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
5549
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
5769
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
5770
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
5550
5771
  }
5551
- function ingestSuccess$5(luvio, resourceParams, response) {
5772
+ function ingestSuccess$6(luvio, resourceParams, response) {
5552
5773
  const { body } = response;
5553
5774
  const key = keyBuilderFromType(luvio, body);
5554
- luvio.storeIngest(key, ingest$4, body);
5775
+ luvio.storeIngest(key, ingest$3, body);
5555
5776
  const snapshot = luvio.storeLookup({
5556
5777
  recordId: key,
5557
5778
  node: select$9(),
@@ -5565,7 +5786,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
5565
5786
  deepFreeze(snapshot.data);
5566
5787
  return snapshot;
5567
5788
  }
5568
- function createResourceRequest$5(config) {
5789
+ function createResourceRequest$6(config) {
5569
5790
  const headers = {};
5570
5791
  return {
5571
5792
  baseUri: '/services/data/v63.0',
@@ -5579,44 +5800,44 @@ function createResourceRequest$5(config) {
5579
5800
  };
5580
5801
  }
5581
5802
 
5582
- const adapterName$5 = 'postSlackMessageReactions';
5803
+ const adapterName$6 = 'postSlackMessageReactions';
5583
5804
  const postSlackMessageReactions_ConfigPropertyMetadata = [
5584
5805
  generateParamConfigMetadata('channelId', true, 0 /* UrlParameter */, 0 /* String */),
5585
5806
  generateParamConfigMetadata('messageTs', true, 0 /* UrlParameter */, 0 /* String */),
5586
5807
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5587
5808
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
5588
5809
  ];
5589
- const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, postSlackMessageReactions_ConfigPropertyMetadata);
5590
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$k(postSlackMessageReactions_ConfigPropertyMetadata);
5591
- function typeCheckConfig$5(untrustedConfig) {
5810
+ const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, postSlackMessageReactions_ConfigPropertyMetadata);
5811
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$l(postSlackMessageReactions_ConfigPropertyMetadata);
5812
+ function typeCheckConfig$6(untrustedConfig) {
5592
5813
  const config = {};
5593
- typeCheckConfig$k(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
5814
+ typeCheckConfig$l(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
5594
5815
  return config;
5595
5816
  }
5596
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
5817
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
5597
5818
  if (!untrustedIsObject(untrustedConfig)) {
5598
5819
  return null;
5599
5820
  }
5600
5821
  if (process.env.NODE_ENV !== 'production') {
5601
5822
  validateConfig(untrustedConfig, configPropertyNames);
5602
5823
  }
5603
- const config = typeCheckConfig$5(untrustedConfig);
5824
+ const config = typeCheckConfig$6(untrustedConfig);
5604
5825
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5605
5826
  return null;
5606
5827
  }
5607
5828
  return config;
5608
5829
  }
5609
- function buildNetworkSnapshot$5(luvio, config, options) {
5610
- const resourceParams = createResourceParams$5(config);
5611
- const request = createResourceRequest$5(resourceParams);
5830
+ function buildNetworkSnapshot$6(luvio, config, options) {
5831
+ const resourceParams = createResourceParams$6(config);
5832
+ const request = createResourceRequest$6(resourceParams);
5612
5833
  return luvio.dispatchResourceRequest(request, options)
5613
5834
  .then((response) => {
5614
5835
  return luvio.handleSuccessResponse(() => {
5615
- const snapshot = ingestSuccess$5(luvio, resourceParams, response);
5836
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
5616
5837
  return luvio.storeBroadcast().then(() => snapshot);
5617
5838
  }, () => {
5618
5839
  const cache = new StoreKeyMap();
5619
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
5840
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
5620
5841
  return cache;
5621
5842
  });
5622
5843
  }, (response) => {
@@ -5626,121 +5847,261 @@ function buildNetworkSnapshot$5(luvio, config, options) {
5626
5847
  }
5627
5848
  const postSlackMessageReactionsAdapterFactory = (luvio) => {
5628
5849
  return function postSlackMessageReactions(untrustedConfig) {
5629
- const config = validateAdapterConfig$5(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
5850
+ const config = validateAdapterConfig$6(untrustedConfig, postSlackMessageReactions_ConfigPropertyNames);
5630
5851
  // Invalid or incomplete config
5631
5852
  if (config === null) {
5632
5853
  throw new Error('Invalid config for "postSlackMessageReactions"');
5633
5854
  }
5634
- return buildNetworkSnapshot$5(luvio, config);
5855
+ return buildNetworkSnapshot$6(luvio, config);
5635
5856
  };
5636
5857
  };
5637
5858
 
5638
- const VERSION$3 = "8eb41a29d901a4cc9611e387d180f0da";
5639
- function validate$3(obj, path = 'SlackBridgeCustomEmojisOutputRepresentation') {
5859
+ const VERSION$2 = "da7e3ba240e3ef2a2a6ee0e913ef280c";
5860
+ function validate$2(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
5640
5861
  const v_error = (() => {
5641
5862
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5642
5863
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5643
5864
  }
5644
- const obj_customEmojis = obj.customEmojis;
5645
- const path_customEmojis = path + '.customEmojis';
5646
- if (typeof obj_customEmojis !== 'object' || ArrayIsArray(obj_customEmojis) || obj_customEmojis === null) {
5647
- return new TypeError('Expected "object" but received "' + typeof obj_customEmojis + '" (at "' + path_customEmojis + '")');
5865
+ const obj_emojis = obj.emojis;
5866
+ const path_emojis = path + '.emojis';
5867
+ if (!ArrayIsArray(obj_emojis)) {
5868
+ return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
5648
5869
  }
5649
- const obj_customEmojis_keys = ObjectKeys(obj_customEmojis);
5650
- for (let i = 0; i < obj_customEmojis_keys.length; i++) {
5651
- const key = obj_customEmojis_keys[i];
5652
- const obj_customEmojis_prop = obj_customEmojis[key];
5653
- const path_customEmojis_prop = path_customEmojis + '["' + key + '"]';
5654
- if (typeof obj_customEmojis_prop !== 'string') {
5655
- return new TypeError('Expected "string" but received "' + typeof obj_customEmojis_prop + '" (at "' + path_customEmojis_prop + '")');
5870
+ for (let i = 0; i < obj_emojis.length; i++) {
5871
+ const obj_emojis_item = obj_emojis[i];
5872
+ const path_emojis_item = path_emojis + '[' + i + ']';
5873
+ if (typeof obj_emojis_item !== 'object') {
5874
+ return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
5656
5875
  }
5657
5876
  }
5658
- const obj_teamId = obj.teamId;
5659
- const path_teamId = path + '.teamId';
5660
- if (typeof obj_teamId !== 'string') {
5661
- return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
5662
- }
5663
5877
  })();
5664
5878
  return v_error === undefined ? null : v_error;
5665
5879
  }
5666
- const RepresentationType$3 = 'SlackBridgeCustomEmojisOutputRepresentation';
5667
- function normalize$3(input, existing, path, luvio, store, timestamp) {
5880
+ const RepresentationType$2 = 'SlackBridgeEmojisOutputRepresentation';
5881
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
5882
+ const input_emojis = input.emojis;
5883
+ const input_emojis_id = path.fullPath + '__emojis';
5884
+ for (let i = 0; i < input_emojis.length; i++) {
5885
+ const input_emojis_item = input_emojis[i];
5886
+ let input_emojis_item_id = input_emojis_id + '__' + i;
5887
+ input_emojis[i] = ingest$g(input_emojis_item, {
5888
+ fullPath: input_emojis_item_id,
5889
+ propertyName: i,
5890
+ parent: {
5891
+ data: input,
5892
+ key: path.fullPath,
5893
+ existing: existing,
5894
+ },
5895
+ ttl: path.ttl
5896
+ }, luvio, store, timestamp);
5897
+ }
5668
5898
  return input;
5669
5899
  }
5670
- const select$8 = function SlackBridgeCustomEmojisOutputRepresentationSelect() {
5900
+ const select$8 = function SlackBridgeEmojisOutputRepresentationSelect() {
5671
5901
  return {
5672
5902
  kind: 'Fragment',
5673
- version: VERSION$3,
5903
+ version: VERSION$2,
5674
5904
  private: [],
5675
5905
  selections: [
5676
5906
  {
5677
- name: 'customEmojis',
5678
- kind: 'Scalar',
5679
- map: true
5680
- },
5681
- {
5682
- name: 'teamId',
5683
- kind: 'Scalar'
5907
+ name: 'emojis',
5908
+ kind: 'Link',
5909
+ plural: true,
5910
+ fragment: select$C()
5684
5911
  }
5685
5912
  ]
5686
5913
  };
5687
5914
  };
5688
- function equals$3(existing, incoming) {
5689
- const existing_teamId = existing.teamId;
5690
- const incoming_teamId = incoming.teamId;
5691
- if (!(existing_teamId === incoming_teamId)) {
5692
- return false;
5693
- }
5694
- const existing_customEmojis = existing.customEmojis;
5695
- const incoming_customEmojis = incoming.customEmojis;
5696
- const equals_customEmojis_props = equalsObject(existing_customEmojis, incoming_customEmojis, (existing_customEmojis_prop, incoming_customEmojis_prop) => {
5697
- if (!(existing_customEmojis_prop === incoming_customEmojis_prop)) {
5915
+ function equals$2(existing, incoming) {
5916
+ const existing_emojis = existing.emojis;
5917
+ const incoming_emojis = incoming.emojis;
5918
+ const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
5919
+ if (!(existing_emojis_item.__ref === incoming_emojis_item.__ref)) {
5698
5920
  return false;
5699
5921
  }
5700
5922
  });
5701
- if (equals_customEmojis_props === false) {
5923
+ if (equals_emojis_items === false) {
5702
5924
  return false;
5703
5925
  }
5704
5926
  return true;
5705
5927
  }
5706
- const ingest$3 = function SlackBridgeCustomEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5928
+ const ingest$2 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5707
5929
  if (process.env.NODE_ENV !== 'production') {
5708
- const validateError = validate$3(input);
5930
+ const validateError = validate$2(input);
5709
5931
  if (validateError !== null) {
5710
5932
  throw validateError;
5711
5933
  }
5712
5934
  }
5713
5935
  const key = path.fullPath;
5714
5936
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5715
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "SlackBridge", VERSION$3, RepresentationType$3, equals$3);
5937
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
5716
5938
  return createLink(key);
5717
5939
  };
5718
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
5940
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
5719
5941
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5720
5942
  const rootKey = fullPathFactory();
5721
5943
  rootKeySet.set(rootKey, {
5722
5944
  namespace: keyPrefix,
5723
- representationName: RepresentationType$3,
5945
+ representationName: RepresentationType$2,
5724
5946
  mergeable: false
5725
5947
  });
5948
+ const input_emojis_length = input.emojis.length;
5949
+ for (let i = 0; i < input_emojis_length; i++) {
5950
+ getTypeCacheKeys$g(rootKeySet, luvio, input.emojis[i]);
5951
+ }
5726
5952
  }
5727
5953
 
5728
5954
  function select$7(luvio, params) {
5729
5955
  return select$8();
5730
5956
  }
5957
+ function keyBuilder$b(luvio, params) {
5958
+ return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'slackEmojiIds:' + params.queryParams.slackEmojiIds + ',' + 'teamId:' + params.urlParams.teamId + ')';
5959
+ }
5960
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
5961
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
5962
+ }
5963
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
5964
+ const { body } = response;
5965
+ const key = keyBuilder$b(luvio, resourceParams);
5966
+ luvio.storeIngest(key, ingest$2, body);
5967
+ const snapshot = luvio.storeLookup({
5968
+ recordId: key,
5969
+ node: select$7(),
5970
+ variables: {},
5971
+ }, snapshotRefresh);
5972
+ if (process.env.NODE_ENV !== 'production') {
5973
+ if (snapshot.state !== 'Fulfilled') {
5974
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5975
+ }
5976
+ }
5977
+ deepFreeze(snapshot.data);
5978
+ return snapshot;
5979
+ }
5980
+ function ingestError$5(luvio, params, error, snapshotRefresh) {
5981
+ const key = keyBuilder$b(luvio, params);
5982
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5983
+ luvio.storeIngestError(key, errorSnapshot);
5984
+ return errorSnapshot;
5985
+ }
5986
+ function createResourceRequest$5(config) {
5987
+ const headers = {};
5988
+ return {
5989
+ baseUri: '/services/data/v63.0',
5990
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/emojis',
5991
+ method: 'get',
5992
+ body: null,
5993
+ urlParams: config.urlParams,
5994
+ queryParams: config.queryParams,
5995
+ headers,
5996
+ priority: 'normal',
5997
+ };
5998
+ }
5999
+
6000
+ const adapterName$5 = 'getSlackEmojis';
6001
+ const getSlackEmojis_ConfigPropertyMetadata = [
6002
+ generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6003
+ generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6004
+ ];
6005
+ const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSlackEmojis_ConfigPropertyMetadata);
6006
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$l(getSlackEmojis_ConfigPropertyMetadata);
6007
+ function keyBuilder$a(luvio, config) {
6008
+ const resourceParams = createResourceParams$5(config);
6009
+ return keyBuilder$b(luvio, resourceParams);
6010
+ }
6011
+ function typeCheckConfig$5(untrustedConfig) {
6012
+ const config = {};
6013
+ typeCheckConfig$l(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6014
+ return config;
6015
+ }
6016
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
6017
+ if (!untrustedIsObject(untrustedConfig)) {
6018
+ return null;
6019
+ }
6020
+ if (process.env.NODE_ENV !== 'production') {
6021
+ validateConfig(untrustedConfig, configPropertyNames);
6022
+ }
6023
+ const config = typeCheckConfig$5(untrustedConfig);
6024
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
6025
+ return null;
6026
+ }
6027
+ return config;
6028
+ }
6029
+ function adapterFragment$5(luvio, config) {
6030
+ createResourceParams$5(config);
6031
+ return select$7();
6032
+ }
6033
+ function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
6034
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
6035
+ config,
6036
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
6037
+ });
6038
+ return luvio.storeBroadcast().then(() => snapshot);
6039
+ }
6040
+ function onFetchResponseError$5(luvio, config, resourceParams, response) {
6041
+ const snapshot = ingestError$5(luvio, resourceParams, response, {
6042
+ config,
6043
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
6044
+ });
6045
+ return luvio.storeBroadcast().then(() => snapshot);
6046
+ }
6047
+ function buildNetworkSnapshot$5(luvio, config, options) {
6048
+ const resourceParams = createResourceParams$5(config);
6049
+ const request = createResourceRequest$5(resourceParams);
6050
+ return luvio.dispatchResourceRequest(request, options)
6051
+ .then((response) => {
6052
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
6053
+ const cache = new StoreKeyMap();
6054
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
6055
+ return cache;
6056
+ });
6057
+ }, (response) => {
6058
+ return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
6059
+ });
6060
+ }
6061
+ function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
6062
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6063
+ }
6064
+ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
6065
+ const { luvio, config } = context;
6066
+ const selector = {
6067
+ recordId: keyBuilder$a(luvio, config),
6068
+ node: adapterFragment$5(luvio, config),
6069
+ variables: {},
6070
+ };
6071
+ const cacheSnapshot = storeLookup(selector, {
6072
+ config,
6073
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
6074
+ });
6075
+ return cacheSnapshot;
6076
+ }
6077
+ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEmojis(untrustedConfig, requestContext) {
6078
+ const config = validateAdapterConfig$5(untrustedConfig, getSlackEmojis_ConfigPropertyNames);
6079
+ // Invalid or incomplete config
6080
+ if (config === null) {
6081
+ return null;
6082
+ }
6083
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6084
+ buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
6085
+ };
6086
+
6087
+ function select$6(luvio, params) {
6088
+ return select$C();
6089
+ }
5731
6090
  function keyBuilder$9(luvio, params) {
5732
- return keyPrefix + '::SlackBridgeCustomEmojisOutputRepresentation:(' + 'teamId:' + params.urlParams.teamId + ')';
6091
+ return keyBuilder$z(luvio, {
6092
+ name: params.urlParams.slackEmojiId
6093
+ });
5733
6094
  }
5734
6095
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
5735
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
6096
+ getTypeCacheKeys$g(storeKeyMap, luvio, response);
5736
6097
  }
5737
6098
  function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
5738
6099
  const { body } = response;
5739
6100
  const key = keyBuilder$9(luvio, resourceParams);
5740
- luvio.storeIngest(key, ingest$3, body);
6101
+ luvio.storeIngest(key, ingest$g, body);
5741
6102
  const snapshot = luvio.storeLookup({
5742
6103
  recordId: key,
5743
- node: select$7(),
6104
+ node: select$6(),
5744
6105
  variables: {},
5745
6106
  }, snapshotRefresh);
5746
6107
  if (process.env.NODE_ENV !== 'production') {
@@ -5754,14 +6115,20 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
5754
6115
  function ingestError$4(luvio, params, error, snapshotRefresh) {
5755
6116
  const key = keyBuilder$9(luvio, params);
5756
6117
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5757
- luvio.storeIngestError(key, errorSnapshot);
6118
+ const storeMetadataParams = {
6119
+ ttl: TTL$1,
6120
+ namespace: keyPrefix,
6121
+ version: VERSION$k,
6122
+ representationName: RepresentationType$g
6123
+ };
6124
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
5758
6125
  return errorSnapshot;
5759
6126
  }
5760
6127
  function createResourceRequest$4(config) {
5761
6128
  const headers = {};
5762
6129
  return {
5763
6130
  baseUri: '/services/data/v63.0',
5764
- basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/emojis',
6131
+ basePath: '/connect/slackbridge/team/' + config.urlParams.teamId + '/emojis/' + config.urlParams.slackEmojiId + '',
5765
6132
  method: 'get',
5766
6133
  body: null,
5767
6134
  urlParams: config.urlParams,
@@ -5771,19 +6138,20 @@ function createResourceRequest$4(config) {
5771
6138
  };
5772
6139
  }
5773
6140
 
5774
- const adapterName$4 = 'getSlackCustomEmoji';
5775
- const getSlackCustomEmoji_ConfigPropertyMetadata = [
6141
+ const adapterName$4 = 'getSlackEmoji';
6142
+ const getSlackEmoji_ConfigPropertyMetadata = [
6143
+ generateParamConfigMetadata('slackEmojiId', true, 0 /* UrlParameter */, 0 /* String */),
5776
6144
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5777
6145
  ];
5778
- const getSlackCustomEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackCustomEmoji_ConfigPropertyMetadata);
5779
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$k(getSlackCustomEmoji_ConfigPropertyMetadata);
6146
+ const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackEmoji_ConfigPropertyMetadata);
6147
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$l(getSlackEmoji_ConfigPropertyMetadata);
5780
6148
  function keyBuilder$8(luvio, config) {
5781
6149
  const resourceParams = createResourceParams$4(config);
5782
6150
  return keyBuilder$9(luvio, resourceParams);
5783
6151
  }
5784
6152
  function typeCheckConfig$4(untrustedConfig) {
5785
6153
  const config = {};
5786
- typeCheckConfig$k(untrustedConfig, config, getSlackCustomEmoji_ConfigPropertyMetadata);
6154
+ typeCheckConfig$l(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
5787
6155
  return config;
5788
6156
  }
5789
6157
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -5801,7 +6169,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
5801
6169
  }
5802
6170
  function adapterFragment$4(luvio, config) {
5803
6171
  createResourceParams$4(config);
5804
- return select$7();
6172
+ return select$6();
5805
6173
  }
5806
6174
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
5807
6175
  const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
@@ -5832,7 +6200,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
5832
6200
  });
5833
6201
  }
5834
6202
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
5835
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6203
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
5836
6204
  }
5837
6205
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
5838
6206
  const { luvio, config } = context;
@@ -5847,8 +6215,8 @@ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
5847
6215
  });
5848
6216
  return cacheSnapshot;
5849
6217
  }
5850
- const getSlackCustomEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackCustomEmoji(untrustedConfig, requestContext) {
5851
- const config = validateAdapterConfig$4(untrustedConfig, getSlackCustomEmoji_ConfigPropertyNames);
6218
+ const getSlackEmojiAdapterFactory = (luvio) => function SlackBridge__getSlackEmoji(untrustedConfig, requestContext) {
6219
+ const config = validateAdapterConfig$4(untrustedConfig, getSlackEmoji_ConfigPropertyNames);
5852
6220
  // Invalid or incomplete config
5853
6221
  if (config === null) {
5854
6222
  return null;
@@ -5857,8 +6225,8 @@ const getSlackCustomEmojiAdapterFactory = (luvio) => function SlackBridge__getSl
5857
6225
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
5858
6226
  };
5859
6227
 
5860
- const VERSION$2 = "0de597a47ca8ecad2cfb7fd9c8f73920";
5861
- function validate$2(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
6228
+ const VERSION$1 = "0de597a47ca8ecad2cfb7fd9c8f73920";
6229
+ function validate$1(obj, path = 'SlackBridgeConversationInfosOutputRepresentation') {
5862
6230
  const v_error = (() => {
5863
6231
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5864
6232
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5904,14 +6272,14 @@ function validate$2(obj, path = 'SlackBridgeConversationInfosOutputRepresentatio
5904
6272
  })();
5905
6273
  return v_error === undefined ? null : v_error;
5906
6274
  }
5907
- const RepresentationType$2 = 'SlackBridgeConversationInfosOutputRepresentation';
5908
- function normalize$2(input, existing, path, luvio, store, timestamp) {
6275
+ const RepresentationType$1 = 'SlackBridgeConversationInfosOutputRepresentation';
6276
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
5909
6277
  const input_conversationInfos = input.conversationInfos;
5910
6278
  const input_conversationInfos_id = path.fullPath + '__conversationInfos';
5911
6279
  for (let i = 0; i < input_conversationInfos.length; i++) {
5912
6280
  const input_conversationInfos_item = input_conversationInfos[i];
5913
6281
  let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
5914
- input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
6282
+ input_conversationInfos[i] = ingest$e(input_conversationInfos_item, {
5915
6283
  fullPath: input_conversationInfos_item_id,
5916
6284
  propertyName: i,
5917
6285
  parent: {
@@ -5924,10 +6292,10 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
5924
6292
  }
5925
6293
  return input;
5926
6294
  }
5927
- const select$6 = function SlackBridgeConversationInfosOutputRepresentationSelect() {
6295
+ const select$5 = function SlackBridgeConversationInfosOutputRepresentationSelect() {
5928
6296
  return {
5929
6297
  kind: 'Fragment',
5930
- version: VERSION$2,
6298
+ version: VERSION$1,
5931
6299
  private: [],
5932
6300
  selections: [
5933
6301
  {
@@ -5943,7 +6311,7 @@ const select$6 = function SlackBridgeConversationInfosOutputRepresentationSelect
5943
6311
  ]
5944
6312
  };
5945
6313
  };
5946
- function equals$2(existing, incoming) {
6314
+ function equals$1(existing, incoming) {
5947
6315
  const existing_conversationInfos = existing.conversationInfos;
5948
6316
  const incoming_conversationInfos = incoming.conversationInfos;
5949
6317
  const equals_conversationInfos_items = equalsArray(existing_conversationInfos, incoming_conversationInfos, (existing_conversationInfos_item, incoming_conversationInfos_item) => {
@@ -5961,48 +6329,48 @@ function equals$2(existing, incoming) {
5961
6329
  }
5962
6330
  return true;
5963
6331
  }
5964
- const ingest$2 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6332
+ const ingest$1 = function SlackBridgeConversationInfosOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5965
6333
  if (process.env.NODE_ENV !== 'production') {
5966
- const validateError = validate$2(input);
6334
+ const validateError = validate$1(input);
5967
6335
  if (validateError !== null) {
5968
6336
  throw validateError;
5969
6337
  }
5970
6338
  }
5971
6339
  const key = path.fullPath;
5972
6340
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
5973
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "SlackBridge", VERSION$2, RepresentationType$2, equals$2);
6341
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
5974
6342
  return createLink(key);
5975
6343
  };
5976
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6344
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
5977
6345
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5978
6346
  const rootKey = fullPathFactory();
5979
6347
  rootKeySet.set(rootKey, {
5980
6348
  namespace: keyPrefix,
5981
- representationName: RepresentationType$2,
6349
+ representationName: RepresentationType$1,
5982
6350
  mergeable: false
5983
6351
  });
5984
6352
  const input_conversationInfos_length = input.conversationInfos.length;
5985
6353
  for (let i = 0; i < input_conversationInfos_length; i++) {
5986
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
6354
+ getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfos[i]);
5987
6355
  }
5988
6356
  }
5989
6357
 
5990
- function select$5(luvio, params) {
5991
- return select$6();
6358
+ function select$4(luvio, params) {
6359
+ return select$5();
5992
6360
  }
5993
6361
  function keyBuilder$7(luvio, params) {
5994
6362
  return keyPrefix + '::SlackBridgeConversationInfosOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
5995
6363
  }
5996
6364
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
5997
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
6365
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
5998
6366
  }
5999
6367
  function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
6000
6368
  const { body } = response;
6001
6369
  const key = keyBuilder$7(luvio, resourceParams);
6002
- luvio.storeIngest(key, ingest$2, body);
6370
+ luvio.storeIngest(key, ingest$1, body);
6003
6371
  const snapshot = luvio.storeLookup({
6004
6372
  recordId: key,
6005
- node: select$5(),
6373
+ node: select$4(),
6006
6374
  variables: {},
6007
6375
  }, snapshotRefresh);
6008
6376
  if (process.env.NODE_ENV !== 'production') {
@@ -6039,14 +6407,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6039
6407
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6040
6408
  ];
6041
6409
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSlackSearchConversation_ConfigPropertyMetadata);
6042
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$k(getSlackSearchConversation_ConfigPropertyMetadata);
6410
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$l(getSlackSearchConversation_ConfigPropertyMetadata);
6043
6411
  function keyBuilder$6(luvio, config) {
6044
6412
  const resourceParams = createResourceParams$3(config);
6045
6413
  return keyBuilder$7(luvio, resourceParams);
6046
6414
  }
6047
6415
  function typeCheckConfig$3(untrustedConfig) {
6048
6416
  const config = {};
6049
- typeCheckConfig$k(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6417
+ typeCheckConfig$l(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6050
6418
  return config;
6051
6419
  }
6052
6420
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -6064,7 +6432,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
6064
6432
  }
6065
6433
  function adapterFragment$3(luvio, config) {
6066
6434
  createResourceParams$3(config);
6067
- return select$5();
6435
+ return select$4();
6068
6436
  }
6069
6437
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
6070
6438
  const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
@@ -6095,7 +6463,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
6095
6463
  });
6096
6464
  }
6097
6465
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6098
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
6466
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
6099
6467
  }
6100
6468
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6101
6469
  const { luvio, config } = context;
@@ -6120,133 +6488,19 @@ const getSlackSearchConversationAdapterFactory = (luvio) => function SlackBridge
6120
6488
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
6121
6489
  };
6122
6490
 
6123
- const VERSION$1 = "40ec82af9ce301ce8598d88a6b19174a";
6124
- function validate$1(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
6125
- const v_error = (() => {
6126
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6127
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6128
- }
6129
- const obj_emojis = obj.emojis;
6130
- const path_emojis = path + '.emojis';
6131
- if (!ArrayIsArray(obj_emojis)) {
6132
- return new TypeError('Expected "array" but received "' + typeof obj_emojis + '" (at "' + path_emojis + '")');
6133
- }
6134
- for (let i = 0; i < obj_emojis.length; i++) {
6135
- const obj_emojis_item = obj_emojis[i];
6136
- const path_emojis_item = path_emojis + '[' + i + ']';
6137
- const referencepath_emojis_itemValidationError = validate$l(obj_emojis_item, path_emojis_item);
6138
- if (referencepath_emojis_itemValidationError !== null) {
6139
- let message = 'Object doesn\'t match SlackBridgeEmojiOutputRepresentation (at "' + path_emojis_item + '")\n';
6140
- message += referencepath_emojis_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
6141
- return new TypeError(message);
6142
- }
6143
- }
6144
- const obj_searchString = obj.searchString;
6145
- const path_searchString = path + '.searchString';
6146
- let obj_searchString_union0 = null;
6147
- const obj_searchString_union0_error = (() => {
6148
- if (typeof obj_searchString !== 'string') {
6149
- return new TypeError('Expected "string" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6150
- }
6151
- })();
6152
- if (obj_searchString_union0_error != null) {
6153
- obj_searchString_union0 = obj_searchString_union0_error.message;
6154
- }
6155
- let obj_searchString_union1 = null;
6156
- const obj_searchString_union1_error = (() => {
6157
- if (obj_searchString !== null) {
6158
- return new TypeError('Expected "null" but received "' + typeof obj_searchString + '" (at "' + path_searchString + '")');
6159
- }
6160
- })();
6161
- if (obj_searchString_union1_error != null) {
6162
- obj_searchString_union1 = obj_searchString_union1_error.message;
6163
- }
6164
- if (obj_searchString_union0 && obj_searchString_union1) {
6165
- let message = 'Object doesn\'t match union (at "' + path_searchString + '")';
6166
- message += '\n' + obj_searchString_union0.split('\n').map((line) => '\t' + line).join('\n');
6167
- message += '\n' + obj_searchString_union1.split('\n').map((line) => '\t' + line).join('\n');
6168
- return new TypeError(message);
6169
- }
6170
- })();
6171
- return v_error === undefined ? null : v_error;
6172
- }
6173
- const RepresentationType$1 = 'SlackBridgeEmojisOutputRepresentation';
6174
- function normalize$1(input, existing, path, luvio, store, timestamp) {
6175
- return input;
6176
- }
6177
- const select$4 = function SlackBridgeEmojisOutputRepresentationSelect() {
6178
- const { selections: SlackBridgeEmojiOutputRepresentation__selections, opaque: SlackBridgeEmojiOutputRepresentation__opaque, } = select$C();
6179
- return {
6180
- kind: 'Fragment',
6181
- version: VERSION$1,
6182
- private: [],
6183
- selections: [
6184
- {
6185
- name: 'emojis',
6186
- kind: 'Object',
6187
- plural: true,
6188
- selections: SlackBridgeEmojiOutputRepresentation__selections
6189
- },
6190
- {
6191
- name: 'searchString',
6192
- kind: 'Scalar'
6193
- }
6194
- ]
6195
- };
6196
- };
6197
- function equals$1(existing, incoming) {
6198
- const existing_emojis = existing.emojis;
6199
- const incoming_emojis = incoming.emojis;
6200
- const equals_emojis_items = equalsArray(existing_emojis, incoming_emojis, (existing_emojis_item, incoming_emojis_item) => {
6201
- if (!(equals$l(existing_emojis_item, incoming_emojis_item))) {
6202
- return false;
6203
- }
6204
- });
6205
- if (equals_emojis_items === false) {
6206
- return false;
6207
- }
6208
- const existing_searchString = existing.searchString;
6209
- const incoming_searchString = incoming.searchString;
6210
- if (!(existing_searchString === incoming_searchString)) {
6211
- return false;
6212
- }
6213
- return true;
6214
- }
6215
- const ingest$1 = function SlackBridgeEmojisOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6216
- if (process.env.NODE_ENV !== 'production') {
6217
- const validateError = validate$1(input);
6218
- if (validateError !== null) {
6219
- throw validateError;
6220
- }
6221
- }
6222
- const key = path.fullPath;
6223
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
6224
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "SlackBridge", VERSION$1, RepresentationType$1, equals$1);
6225
- return createLink(key);
6226
- };
6227
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6228
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
6229
- const rootKey = fullPathFactory();
6230
- rootKeySet.set(rootKey, {
6231
- namespace: keyPrefix,
6232
- representationName: RepresentationType$1,
6233
- mergeable: false
6234
- });
6235
- }
6236
-
6237
6491
  function select$3(luvio, params) {
6238
- return select$4();
6492
+ return select$8();
6239
6493
  }
6240
6494
  function keyBuilder$5(luvio, params) {
6241
6495
  return keyPrefix + '::SlackBridgeEmojisOutputRepresentation:(' + 'search:' + params.queryParams.search + ',' + 'teamId:' + params.urlParams.teamId + ')';
6242
6496
  }
6243
6497
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
6244
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
6498
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
6245
6499
  }
6246
6500
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
6247
6501
  const { body } = response;
6248
6502
  const key = keyBuilder$5(luvio, resourceParams);
6249
- luvio.storeIngest(key, ingest$1, body);
6503
+ luvio.storeIngest(key, ingest$2, body);
6250
6504
  const snapshot = luvio.storeLookup({
6251
6505
  recordId: key,
6252
6506
  node: select$3(),
@@ -6286,14 +6540,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6286
6540
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6287
6541
  ];
6288
6542
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSlackSearchEmoji_ConfigPropertyMetadata);
6289
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$k(getSlackSearchEmoji_ConfigPropertyMetadata);
6543
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$l(getSlackSearchEmoji_ConfigPropertyMetadata);
6290
6544
  function keyBuilder$4(luvio, config) {
6291
6545
  const resourceParams = createResourceParams$2(config);
6292
6546
  return keyBuilder$5(luvio, resourceParams);
6293
6547
  }
6294
6548
  function typeCheckConfig$2(untrustedConfig) {
6295
6549
  const config = {};
6296
- typeCheckConfig$k(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6550
+ typeCheckConfig$l(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6297
6551
  return config;
6298
6552
  }
6299
6553
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -6342,7 +6596,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
6342
6596
  });
6343
6597
  }
6344
6598
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
6345
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
6599
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
6346
6600
  }
6347
6601
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
6348
6602
  const { luvio, config } = context;
@@ -6421,7 +6675,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
6421
6675
  for (let i = 0; i < input_userInfos.length; i++) {
6422
6676
  const input_userInfos_item = input_userInfos[i];
6423
6677
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
6424
- input_userInfos[i] = ingest$g(input_userInfos_item, {
6678
+ input_userInfos[i] = ingest$f(input_userInfos_item, {
6425
6679
  fullPath: input_userInfos_item_id,
6426
6680
  propertyName: i,
6427
6681
  parent: {
@@ -6493,7 +6747,7 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
6493
6747
  });
6494
6748
  const input_userInfos_length = input.userInfos.length;
6495
6749
  for (let i = 0; i < input_userInfos_length; i++) {
6496
- getTypeCacheKeys$g(rootKeySet, luvio, input.userInfos[i]);
6750
+ getTypeCacheKeys$f(rootKeySet, luvio, input.userInfos[i]);
6497
6751
  }
6498
6752
  }
6499
6753
 
@@ -6552,14 +6806,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
6552
6806
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6553
6807
  ];
6554
6808
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSlackSearchUser_ConfigPropertyMetadata);
6555
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$k(getSlackSearchUser_ConfigPropertyMetadata);
6809
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$l(getSlackSearchUser_ConfigPropertyMetadata);
6556
6810
  function keyBuilder$2(luvio, config) {
6557
6811
  const resourceParams = createResourceParams$1(config);
6558
6812
  return keyBuilder$3(luvio, resourceParams);
6559
6813
  }
6560
6814
  function typeCheckConfig$1(untrustedConfig) {
6561
6815
  const config = {};
6562
- typeCheckConfig$k(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6816
+ typeCheckConfig$l(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
6563
6817
  return config;
6564
6818
  }
6565
6819
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -6608,7 +6862,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
6608
6862
  });
6609
6863
  }
6610
6864
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
6611
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
6865
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
6612
6866
  }
6613
6867
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
6614
6868
  const { luvio, config } = context;
@@ -6637,18 +6891,18 @@ function select(luvio, params) {
6637
6891
  return select$B();
6638
6892
  }
6639
6893
  function keyBuilder$1(luvio, params) {
6640
- return keyBuilder$w(luvio, {
6894
+ return keyBuilder$y(luvio, {
6641
6895
  slackUserId: params.urlParams.slackUserId,
6642
6896
  teamId: params.urlParams.teamId
6643
6897
  });
6644
6898
  }
6645
6899
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
6646
- getTypeCacheKeys$g(storeKeyMap, luvio, response);
6900
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
6647
6901
  }
6648
6902
  function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
6649
6903
  const { body } = response;
6650
6904
  const key = keyBuilder$1(luvio, resourceParams);
6651
- luvio.storeIngest(key, ingest$g, body);
6905
+ luvio.storeIngest(key, ingest$f, body);
6652
6906
  const snapshot = luvio.storeLookup({
6653
6907
  recordId: key,
6654
6908
  node: select(),
@@ -6668,8 +6922,8 @@ function ingestError(luvio, params, error, snapshotRefresh) {
6668
6922
  const storeMetadataParams = {
6669
6923
  ttl: TTL,
6670
6924
  namespace: keyPrefix,
6671
- version: VERSION$k,
6672
- representationName: RepresentationType$g
6925
+ version: VERSION$j,
6926
+ representationName: RepresentationType$f
6673
6927
  };
6674
6928
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6675
6929
  return errorSnapshot;
@@ -6694,14 +6948,14 @@ const getSlackUser_ConfigPropertyMetadata = [
6694
6948
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6695
6949
  ];
6696
6950
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSlackUser_ConfigPropertyMetadata);
6697
- const createResourceParams = /*#__PURE__*/ createResourceParams$k(getSlackUser_ConfigPropertyMetadata);
6951
+ const createResourceParams = /*#__PURE__*/ createResourceParams$l(getSlackUser_ConfigPropertyMetadata);
6698
6952
  function keyBuilder(luvio, config) {
6699
6953
  const resourceParams = createResourceParams(config);
6700
6954
  return keyBuilder$1(luvio, resourceParams);
6701
6955
  }
6702
6956
  function typeCheckConfig(untrustedConfig) {
6703
6957
  const config = {};
6704
- typeCheckConfig$k(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
6958
+ typeCheckConfig$l(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
6705
6959
  return config;
6706
6960
  }
6707
6961
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -6750,7 +7004,7 @@ function buildNetworkSnapshot(luvio, config, options) {
6750
7004
  });
6751
7005
  }
6752
7006
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
6753
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7007
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
6754
7008
  }
6755
7009
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
6756
7010
  const { luvio, config } = context;
@@ -6775,4 +7029,4 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
6775
7029
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
6776
7030
  };
6777
7031
 
6778
- export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackCustomEmojiAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
7032
+ export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };