@salesforce/lds-adapters-sales-eci 1.303.0 → 1.304.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$5, typeCheckConfig as typeCheckConfig$5, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$6, typeCheckConfig as typeCheckConfig$6, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -121,9 +121,9 @@ function createLink(ref) {
121
121
  };
122
122
  }
123
123
 
124
- const TTL$4 = 60000;
125
- const VERSION$5 = "10bf968dbd562928dfa701c7f6a854b2";
126
- function validate$5(obj, path = 'ConversationSummaryRepresentation') {
124
+ const TTL$5 = 60000;
125
+ const VERSION$6 = "10bf968dbd562928dfa701c7f6a854b2";
126
+ function validate$6(obj, path = 'ConversationSummaryRepresentation') {
127
127
  const v_error = (() => {
128
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -224,23 +224,23 @@ function validate$5(obj, path = 'ConversationSummaryRepresentation') {
224
224
  })();
225
225
  return v_error === undefined ? null : v_error;
226
226
  }
227
- const RepresentationType$4 = 'ConversationSummaryRepresentation';
228
- function keyBuilder$9(luvio, config) {
229
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.conversation_sumamry_id;
227
+ const RepresentationType$5 = 'ConversationSummaryRepresentation';
228
+ function keyBuilder$a(luvio, config) {
229
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.conversation_sumamry_id;
230
230
  }
231
- function keyBuilderFromType$3(luvio, object) {
231
+ function keyBuilderFromType$4(luvio, object) {
232
232
  const keyParams = {
233
233
  conversation_sumamry_id: object.id
234
234
  };
235
- return keyBuilder$9(luvio, keyParams);
235
+ return keyBuilder$a(luvio, keyParams);
236
236
  }
237
- function normalize$4(input, existing, path, luvio, store, timestamp) {
237
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
238
238
  return input;
239
239
  }
240
- const select$a = function ConversationSummaryRepresentationSelect() {
240
+ const select$c = function ConversationSummaryRepresentationSelect() {
241
241
  return {
242
242
  kind: 'Fragment',
243
- version: VERSION$5,
243
+ version: VERSION$6,
244
244
  private: [],
245
245
  selections: [
246
246
  {
@@ -270,7 +270,7 @@ const select$a = function ConversationSummaryRepresentationSelect() {
270
270
  ]
271
271
  };
272
272
  };
273
- function equals$5(existing, incoming) {
273
+ function equals$6(existing, incoming) {
274
274
  const existing_conversationRecordId = existing.conversationRecordId;
275
275
  const incoming_conversationRecordId = incoming.conversationRecordId;
276
276
  if (!(existing_conversationRecordId === incoming_conversationRecordId)) {
@@ -303,41 +303,41 @@ function equals$5(existing, incoming) {
303
303
  }
304
304
  return true;
305
305
  }
306
- const ingest$4 = function ConversationSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
306
+ const ingest$5 = function ConversationSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
307
307
  if (process.env.NODE_ENV !== 'production') {
308
- const validateError = validate$5(input);
308
+ const validateError = validate$6(input);
309
309
  if (validateError !== null) {
310
310
  throw validateError;
311
311
  }
312
312
  }
313
- const key = keyBuilderFromType$3(luvio, input);
314
- const ttlToUse = TTL$4;
315
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "eci", VERSION$5, RepresentationType$4, equals$5);
313
+ const key = keyBuilderFromType$4(luvio, input);
314
+ const ttlToUse = TTL$5;
315
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "eci", VERSION$6, RepresentationType$5, equals$6);
316
316
  return createLink(key);
317
317
  };
318
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
318
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
319
319
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
320
- const rootKey = keyBuilderFromType$3(luvio, input);
320
+ const rootKey = keyBuilderFromType$4(luvio, input);
321
321
  rootKeySet.set(rootKey, {
322
322
  namespace: keyPrefix,
323
- representationName: RepresentationType$4,
323
+ representationName: RepresentationType$5,
324
324
  mergeable: false
325
325
  });
326
326
  }
327
327
 
328
- function select$9(luvio, params) {
329
- return select$a();
328
+ function select$b(luvio, params) {
329
+ return select$c();
330
330
  }
331
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
332
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
331
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
332
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
333
333
  }
334
- function ingestSuccess$4(luvio, resourceParams, response) {
334
+ function ingestSuccess$5(luvio, resourceParams, response) {
335
335
  const { body } = response;
336
- const key = keyBuilderFromType$3(luvio, body);
337
- luvio.storeIngest(key, ingest$4, body);
336
+ const key = keyBuilderFromType$4(luvio, body);
337
+ luvio.storeIngest(key, ingest$5, body);
338
338
  const snapshot = luvio.storeLookup({
339
339
  recordId: key,
340
- node: select$9(),
340
+ node: select$b(),
341
341
  variables: {},
342
342
  });
343
343
  if (process.env.NODE_ENV !== 'production') {
@@ -348,7 +348,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
348
348
  deepFreeze(snapshot.data);
349
349
  return snapshot;
350
350
  }
351
- function createResourceRequest$4(config) {
351
+ function createResourceRequest$5(config) {
352
352
  const headers = {};
353
353
  return {
354
354
  baseUri: '/services/data/v62.0',
@@ -362,41 +362,41 @@ function createResourceRequest$4(config) {
362
362
  };
363
363
  }
364
364
 
365
- const adapterName$4 = 'generateConversationSummary';
365
+ const adapterName$5 = 'generateConversationSummary';
366
366
  const generateConversationSummary_ConfigPropertyMetadata = [
367
367
  generateParamConfigMetadata('conversationId', true, 0 /* UrlParameter */, 0 /* String */),
368
368
  ];
369
- const generateConversationSummary_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, generateConversationSummary_ConfigPropertyMetadata);
370
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$5(generateConversationSummary_ConfigPropertyMetadata);
371
- function typeCheckConfig$4(untrustedConfig) {
369
+ const generateConversationSummary_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, generateConversationSummary_ConfigPropertyMetadata);
370
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(generateConversationSummary_ConfigPropertyMetadata);
371
+ function typeCheckConfig$5(untrustedConfig) {
372
372
  const config = {};
373
- typeCheckConfig$5(untrustedConfig, config, generateConversationSummary_ConfigPropertyMetadata);
373
+ typeCheckConfig$6(untrustedConfig, config, generateConversationSummary_ConfigPropertyMetadata);
374
374
  return config;
375
375
  }
376
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
376
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
377
377
  if (!untrustedIsObject(untrustedConfig)) {
378
378
  return null;
379
379
  }
380
380
  if (process.env.NODE_ENV !== 'production') {
381
381
  validateConfig(untrustedConfig, configPropertyNames);
382
382
  }
383
- const config = typeCheckConfig$4(untrustedConfig);
383
+ const config = typeCheckConfig$5(untrustedConfig);
384
384
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
385
385
  return null;
386
386
  }
387
387
  return config;
388
388
  }
389
- function buildNetworkSnapshot$4(luvio, config, options) {
390
- const resourceParams = createResourceParams$4(config);
391
- const request = createResourceRequest$4(resourceParams);
389
+ function buildNetworkSnapshot$5(luvio, config, options) {
390
+ const resourceParams = createResourceParams$5(config);
391
+ const request = createResourceRequest$5(resourceParams);
392
392
  return luvio.dispatchResourceRequest(request, options)
393
393
  .then((response) => {
394
394
  return luvio.handleSuccessResponse(() => {
395
- const snapshot = ingestSuccess$4(luvio, resourceParams, response);
395
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response);
396
396
  return luvio.storeBroadcast().then(() => snapshot);
397
397
  }, () => {
398
398
  const cache = new StoreKeyMap();
399
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
399
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
400
400
  return cache;
401
401
  });
402
402
  }, (response) => {
@@ -406,17 +406,17 @@ function buildNetworkSnapshot$4(luvio, config, options) {
406
406
  }
407
407
  const generateConversationSummaryAdapterFactory = (luvio) => {
408
408
  return function generateConversationSummary(untrustedConfig) {
409
- const config = validateAdapterConfig$4(untrustedConfig, generateConversationSummary_ConfigPropertyNames);
409
+ const config = validateAdapterConfig$5(untrustedConfig, generateConversationSummary_ConfigPropertyNames);
410
410
  // Invalid or incomplete config
411
411
  if (config === null) {
412
412
  throw new Error('Invalid config for "generateConversationSummary"');
413
413
  }
414
- return buildNetworkSnapshot$4(luvio, config);
414
+ return buildNetworkSnapshot$5(luvio, config);
415
415
  };
416
416
  };
417
417
 
418
- const VERSION$4 = "c614c7bd04cb26f6e931c85a63d52c55";
419
- function validate$4(obj, path = 'ConversationGenerativeInsightRepresentation') {
418
+ const VERSION$5 = "c614c7bd04cb26f6e931c85a63d52c55";
419
+ function validate$5(obj, path = 'ConversationGenerativeInsightRepresentation') {
420
420
  const v_error = (() => {
421
421
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
422
422
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -444,10 +444,10 @@ function validate$4(obj, path = 'ConversationGenerativeInsightRepresentation') {
444
444
  })();
445
445
  return v_error === undefined ? null : v_error;
446
446
  }
447
- const select$8 = function ConversationGenerativeInsightRepresentationSelect() {
447
+ const select$a = function ConversationGenerativeInsightRepresentationSelect() {
448
448
  return {
449
449
  kind: 'Fragment',
450
- version: VERSION$4,
450
+ version: VERSION$5,
451
451
  private: [],
452
452
  selections: [
453
453
  {
@@ -469,7 +469,7 @@ const select$8 = function ConversationGenerativeInsightRepresentationSelect() {
469
469
  ]
470
470
  };
471
471
  };
472
- function equals$4(existing, incoming) {
472
+ function equals$5(existing, incoming) {
473
473
  const existing_generatedText = existing.generatedText;
474
474
  const incoming_generatedText = incoming.generatedText;
475
475
  if (!(existing_generatedText === incoming_generatedText)) {
@@ -493,9 +493,9 @@ function equals$4(existing, incoming) {
493
493
  return true;
494
494
  }
495
495
 
496
- const TTL$3 = 60000;
497
- const VERSION$3 = "1ddcdcaada7f739acdff16f101b69288";
498
- function validate$3(obj, path = 'ConversationGenInsightListRepresentation') {
496
+ const TTL$4 = 60000;
497
+ const VERSION$4 = "1ddcdcaada7f739acdff16f101b69288";
498
+ function validate$4(obj, path = 'ConversationGenInsightListRepresentation') {
499
499
  const v_error = (() => {
500
500
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
501
501
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -522,7 +522,7 @@ function validate$3(obj, path = 'ConversationGenInsightListRepresentation') {
522
522
  for (let i = 0; i < obj_generativeInsights.length; i++) {
523
523
  const obj_generativeInsights_item = obj_generativeInsights[i];
524
524
  const path_generativeInsights_item = path_generativeInsights + '[' + i + ']';
525
- const referencepath_generativeInsights_itemValidationError = validate$4(obj_generativeInsights_item, path_generativeInsights_item);
525
+ const referencepath_generativeInsights_itemValidationError = validate$5(obj_generativeInsights_item, path_generativeInsights_item);
526
526
  if (referencepath_generativeInsights_itemValidationError !== null) {
527
527
  let message = 'Object doesn\'t match ConversationGenerativeInsightRepresentation (at "' + path_generativeInsights_item + '")\n';
528
528
  message += referencepath_generativeInsights_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -537,24 +537,24 @@ function validate$3(obj, path = 'ConversationGenInsightListRepresentation') {
537
537
  })();
538
538
  return v_error === undefined ? null : v_error;
539
539
  }
540
- const RepresentationType$3 = 'ConversationGenInsightListRepresentation';
541
- function keyBuilder$8(luvio, config) {
542
- return keyPrefix + '::' + RepresentationType$3 + ':' + config.id;
540
+ const RepresentationType$4 = 'ConversationGenInsightListRepresentation';
541
+ function keyBuilder$9(luvio, config) {
542
+ return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
543
543
  }
544
- function keyBuilderFromType$2(luvio, object) {
544
+ function keyBuilderFromType$3(luvio, object) {
545
545
  const keyParams = {
546
546
  id: object.recordId
547
547
  };
548
- return keyBuilder$8(luvio, keyParams);
548
+ return keyBuilder$9(luvio, keyParams);
549
549
  }
550
- function normalize$3(input, existing, path, luvio, store, timestamp) {
550
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
551
551
  return input;
552
552
  }
553
- const select$7 = function ConversationGenInsightListRepresentationSelect() {
554
- const { selections: ConversationGenerativeInsightRepresentation__selections, opaque: ConversationGenerativeInsightRepresentation__opaque, } = select$8();
553
+ const select$9 = function ConversationGenInsightListRepresentationSelect() {
554
+ const { selections: ConversationGenerativeInsightRepresentation__selections, opaque: ConversationGenerativeInsightRepresentation__opaque, } = select$a();
555
555
  return {
556
556
  kind: 'Fragment',
557
- version: VERSION$3,
557
+ version: VERSION$4,
558
558
  private: [],
559
559
  selections: [
560
560
  {
@@ -575,7 +575,7 @@ const select$7 = function ConversationGenInsightListRepresentationSelect() {
575
575
  ]
576
576
  };
577
577
  };
578
- function equals$3(existing, incoming) {
578
+ function equals$4(existing, incoming) {
579
579
  const existing_recordId = existing.recordId;
580
580
  const incoming_recordId = incoming.recordId;
581
581
  if (!(existing_recordId === incoming_recordId)) {
@@ -594,7 +594,7 @@ function equals$3(existing, incoming) {
594
594
  const existing_generativeInsights = existing.generativeInsights;
595
595
  const incoming_generativeInsights = incoming.generativeInsights;
596
596
  const equals_generativeInsights_items = equalsArray(existing_generativeInsights, incoming_generativeInsights, (existing_generativeInsights_item, incoming_generativeInsights_item) => {
597
- if (!(equals$4(existing_generativeInsights_item, incoming_generativeInsights_item))) {
597
+ if (!(equals$5(existing_generativeInsights_item, incoming_generativeInsights_item))) {
598
598
  return false;
599
599
  }
600
600
  });
@@ -603,46 +603,46 @@ function equals$3(existing, incoming) {
603
603
  }
604
604
  return true;
605
605
  }
606
- const ingest$3 = function ConversationGenInsightListRepresentationIngest(input, path, luvio, store, timestamp) {
606
+ const ingest$4 = function ConversationGenInsightListRepresentationIngest(input, path, luvio, store, timestamp) {
607
607
  if (process.env.NODE_ENV !== 'production') {
608
- const validateError = validate$3(input);
608
+ const validateError = validate$4(input);
609
609
  if (validateError !== null) {
610
610
  throw validateError;
611
611
  }
612
612
  }
613
- const key = keyBuilderFromType$2(luvio, input);
614
- const ttlToUse = TTL$3;
615
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "eci", VERSION$3, RepresentationType$3, equals$3);
613
+ const key = keyBuilderFromType$3(luvio, input);
614
+ const ttlToUse = TTL$4;
615
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "eci", VERSION$4, RepresentationType$4, equals$4);
616
616
  return createLink(key);
617
617
  };
618
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
618
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
619
619
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
620
- const rootKey = keyBuilderFromType$2(luvio, input);
620
+ const rootKey = keyBuilderFromType$3(luvio, input);
621
621
  rootKeySet.set(rootKey, {
622
622
  namespace: keyPrefix,
623
- representationName: RepresentationType$3,
623
+ representationName: RepresentationType$4,
624
624
  mergeable: false
625
625
  });
626
626
  }
627
627
 
628
- function select$6(luvio, params) {
629
- return select$7();
628
+ function select$8(luvio, params) {
629
+ return select$9();
630
630
  }
631
- function keyBuilder$7(luvio, params) {
632
- return keyBuilder$8(luvio, {
631
+ function keyBuilder$8(luvio, params) {
632
+ return keyBuilder$9(luvio, {
633
633
  id: params.urlParams.id
634
634
  });
635
635
  }
636
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
637
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
636
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
637
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
638
638
  }
639
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
639
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
640
640
  const { body } = response;
641
- const key = keyBuilder$7(luvio, resourceParams);
642
- luvio.storeIngest(key, ingest$3, body);
641
+ const key = keyBuilder$8(luvio, resourceParams);
642
+ luvio.storeIngest(key, ingest$4, body);
643
643
  const snapshot = luvio.storeLookup({
644
644
  recordId: key,
645
- node: select$6(),
645
+ node: select$8(),
646
646
  variables: {},
647
647
  }, snapshotRefresh);
648
648
  if (process.env.NODE_ENV !== 'production') {
@@ -654,18 +654,18 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
654
654
  return snapshot;
655
655
  }
656
656
  function ingestError$2(luvio, params, error, snapshotRefresh) {
657
- const key = keyBuilder$7(luvio, params);
657
+ const key = keyBuilder$8(luvio, params);
658
658
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
659
659
  const storeMetadataParams = {
660
- ttl: TTL$3,
660
+ ttl: TTL$4,
661
661
  namespace: keyPrefix,
662
- version: VERSION$3,
663
- representationName: RepresentationType$3
662
+ version: VERSION$4,
663
+ representationName: RepresentationType$4
664
664
  };
665
665
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
666
666
  return errorSnapshot;
667
667
  }
668
- function createResourceRequest$3(config) {
668
+ function createResourceRequest$4(config) {
669
669
  const headers = {};
670
670
  return {
671
671
  baseUri: '/services/data/v62.0',
@@ -683,63 +683,63 @@ function createResourceRequestFromRepresentation$1(representation) {
683
683
  urlParams: {},
684
684
  };
685
685
  config.urlParams.id = representation.recordId;
686
- return createResourceRequest$3(config);
686
+ return createResourceRequest$4(config);
687
687
  }
688
688
 
689
- const adapterName$3 = 'getConversationGenerativeInsight';
689
+ const adapterName$4 = 'getConversationGenerativeInsight';
690
690
  const getConversationGenerativeInsight_ConfigPropertyMetadata = [
691
691
  generateParamConfigMetadata('id', true, 0 /* UrlParameter */, 0 /* String */),
692
692
  ];
693
- const getConversationGenerativeInsight_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getConversationGenerativeInsight_ConfigPropertyMetadata);
694
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$5(getConversationGenerativeInsight_ConfigPropertyMetadata);
695
- function keyBuilder$6(luvio, config) {
696
- const resourceParams = createResourceParams$3(config);
697
- return keyBuilder$7(luvio, resourceParams);
693
+ const getConversationGenerativeInsight_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getConversationGenerativeInsight_ConfigPropertyMetadata);
694
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$6(getConversationGenerativeInsight_ConfigPropertyMetadata);
695
+ function keyBuilder$7(luvio, config) {
696
+ const resourceParams = createResourceParams$4(config);
697
+ return keyBuilder$8(luvio, resourceParams);
698
698
  }
699
- function typeCheckConfig$3(untrustedConfig) {
699
+ function typeCheckConfig$4(untrustedConfig) {
700
700
  const config = {};
701
- typeCheckConfig$5(untrustedConfig, config, getConversationGenerativeInsight_ConfigPropertyMetadata);
701
+ typeCheckConfig$6(untrustedConfig, config, getConversationGenerativeInsight_ConfigPropertyMetadata);
702
702
  return config;
703
703
  }
704
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
704
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
705
705
  if (!untrustedIsObject(untrustedConfig)) {
706
706
  return null;
707
707
  }
708
708
  if (process.env.NODE_ENV !== 'production') {
709
709
  validateConfig(untrustedConfig, configPropertyNames);
710
710
  }
711
- const config = typeCheckConfig$3(untrustedConfig);
711
+ const config = typeCheckConfig$4(untrustedConfig);
712
712
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
713
713
  return null;
714
714
  }
715
715
  return config;
716
716
  }
717
717
  function adapterFragment$2(luvio, config) {
718
- createResourceParams$3(config);
719
- return select$6();
718
+ createResourceParams$4(config);
719
+ return select$8();
720
720
  }
721
721
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
722
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
722
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
723
723
  config,
724
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
724
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
725
725
  });
726
726
  return luvio.storeBroadcast().then(() => snapshot);
727
727
  }
728
728
  function onFetchResponseError$2(luvio, config, resourceParams, response) {
729
729
  const snapshot = ingestError$2(luvio, resourceParams, response, {
730
730
  config,
731
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
731
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
732
732
  });
733
733
  return luvio.storeBroadcast().then(() => snapshot);
734
734
  }
735
- function buildNetworkSnapshot$3(luvio, config, options) {
736
- const resourceParams = createResourceParams$3(config);
737
- const request = createResourceRequest$3(resourceParams);
735
+ function buildNetworkSnapshot$4(luvio, config, options) {
736
+ const resourceParams = createResourceParams$4(config);
737
+ const request = createResourceRequest$4(resourceParams);
738
738
  return luvio.dispatchResourceRequest(request, options)
739
739
  .then((response) => {
740
740
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
741
741
  const cache = new StoreKeyMap();
742
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
742
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
743
743
  return cache;
744
744
  });
745
745
  }, (response) => {
@@ -747,23 +747,23 @@ function buildNetworkSnapshot$3(luvio, config, options) {
747
747
  });
748
748
  }
749
749
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
750
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
750
+ return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
751
751
  }
752
752
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
753
753
  const { luvio, config } = context;
754
754
  const selector = {
755
- recordId: keyBuilder$6(luvio, config),
755
+ recordId: keyBuilder$7(luvio, config),
756
756
  node: adapterFragment$2(luvio, config),
757
757
  variables: {},
758
758
  };
759
759
  const cacheSnapshot = storeLookup(selector, {
760
760
  config,
761
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
761
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
762
762
  });
763
763
  return cacheSnapshot;
764
764
  }
765
765
  const getConversationGenerativeInsightAdapterFactory = (luvio) => function eci__getConversationGenerativeInsight(untrustedConfig, requestContext) {
766
- const config = validateAdapterConfig$3(untrustedConfig, getConversationGenerativeInsight_ConfigPropertyNames);
766
+ const config = validateAdapterConfig$4(untrustedConfig, getConversationGenerativeInsight_ConfigPropertyNames);
767
767
  // Invalid or incomplete config
768
768
  if (config === null) {
769
769
  return null;
@@ -773,7 +773,7 @@ const getConversationGenerativeInsightAdapterFactory = (luvio) => function eci__
773
773
  };
774
774
  const notifyChangeFactory$1 = (luvio, options) => {
775
775
  return function getConversationGenerativeInsightByIdNotifyChange(configs) {
776
- const keys = configs.map(c => keyBuilder$8(luvio, c));
776
+ const keys = configs.map(c => keyBuilder$9(luvio, c));
777
777
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
778
778
  for (let i = 0, len = entries.length; i < len; i++) {
779
779
  const { key, record: val } = entries[i];
@@ -782,21 +782,21 @@ const notifyChangeFactory$1 = (luvio, options) => {
782
782
  .then((response) => {
783
783
  return luvio.handleSuccessResponse(() => {
784
784
  const { body } = response;
785
- luvio.storeIngest(key, ingest$3, body);
785
+ luvio.storeIngest(key, ingest$4, body);
786
786
  return luvio.storeBroadcast();
787
787
  }, () => {
788
788
  const cache = new StoreKeyMap();
789
- getTypeCacheKeys$3(cache, luvio, response.body);
789
+ getTypeCacheKeys$4(cache, luvio, response.body);
790
790
  return cache;
791
791
  });
792
792
  }, (error) => {
793
793
  return luvio.handleErrorResponse(() => {
794
794
  const errorSnapshot = luvio.errorSnapshot(error);
795
795
  luvio.storeIngestError(key, errorSnapshot, {
796
- ttl: TTL$3,
796
+ ttl: TTL$4,
797
797
  namespace: keyPrefix,
798
- version: VERSION$3,
799
- representationName: RepresentationType$3
798
+ version: VERSION$4,
799
+ representationName: RepresentationType$4
800
800
  });
801
801
  return luvio.storeBroadcast().then(() => errorSnapshot);
802
802
  });
@@ -806,9 +806,9 @@ const notifyChangeFactory$1 = (luvio, options) => {
806
806
  };
807
807
  };
808
808
 
809
- const TTL$2 = 60000;
810
- const VERSION$2 = "233fbc0cf53c7a50800a3e8b63d661be";
811
- function validate$2(obj, path = 'ConversationSummaryListRepresentation') {
809
+ const TTL$3 = 60000;
810
+ const VERSION$3 = "233fbc0cf53c7a50800a3e8b63d661be";
811
+ function validate$3(obj, path = 'ConversationSummaryListRepresentation') {
812
812
  const v_error = (() => {
813
813
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
814
814
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -845,23 +845,23 @@ function validate$2(obj, path = 'ConversationSummaryListRepresentation') {
845
845
  })();
846
846
  return v_error === undefined ? null : v_error;
847
847
  }
848
- const RepresentationType$2 = 'ConversationSummaryListRepresentation';
849
- function keyBuilder$5(luvio, config) {
850
- return keyPrefix + '::' + RepresentationType$2 + ':' + config.id;
848
+ const RepresentationType$3 = 'ConversationSummaryListRepresentation';
849
+ function keyBuilder$6(luvio, config) {
850
+ return keyPrefix + '::' + RepresentationType$3 + ':' + config.id;
851
851
  }
852
- function keyBuilderFromType$1(luvio, object) {
852
+ function keyBuilderFromType$2(luvio, object) {
853
853
  const keyParams = {
854
854
  id: object.id
855
855
  };
856
- return keyBuilder$5(luvio, keyParams);
856
+ return keyBuilder$6(luvio, keyParams);
857
857
  }
858
- function normalize$2(input, existing, path, luvio, store, timestamp) {
858
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
859
859
  const input_conversationSummaryList = input.conversationSummaryList;
860
860
  const input_conversationSummaryList_id = path.fullPath + '__conversationSummaryList';
861
861
  for (let i = 0; i < input_conversationSummaryList.length; i++) {
862
862
  const input_conversationSummaryList_item = input_conversationSummaryList[i];
863
863
  let input_conversationSummaryList_item_id = input_conversationSummaryList_id + '__' + i;
864
- input_conversationSummaryList[i] = ingest$4(input_conversationSummaryList_item, {
864
+ input_conversationSummaryList[i] = ingest$5(input_conversationSummaryList_item, {
865
865
  fullPath: input_conversationSummaryList_item_id,
866
866
  propertyName: i,
867
867
  parent: {
@@ -874,10 +874,10 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
874
874
  }
875
875
  return input;
876
876
  }
877
- const select$5 = function ConversationSummaryListRepresentationSelect() {
877
+ const select$7 = function ConversationSummaryListRepresentationSelect() {
878
878
  return {
879
879
  kind: 'Fragment',
880
- version: VERSION$2,
880
+ version: VERSION$3,
881
881
  private: [],
882
882
  selections: [
883
883
  {
@@ -889,7 +889,7 @@ const select$5 = function ConversationSummaryListRepresentationSelect() {
889
889
  name: 'conversationSummaryList',
890
890
  kind: 'Link',
891
891
  plural: true,
892
- fragment: select$a()
892
+ fragment: select$c()
893
893
  },
894
894
  {
895
895
  name: 'id',
@@ -898,7 +898,7 @@ const select$5 = function ConversationSummaryListRepresentationSelect() {
898
898
  ]
899
899
  };
900
900
  };
901
- function equals$2(existing, incoming) {
901
+ function equals$3(existing, incoming) {
902
902
  const existing_id = existing.id;
903
903
  const incoming_id = incoming.id;
904
904
  if (!(existing_id === incoming_id)) {
@@ -926,50 +926,50 @@ function equals$2(existing, incoming) {
926
926
  }
927
927
  return true;
928
928
  }
929
- const ingest$2 = function ConversationSummaryListRepresentationIngest(input, path, luvio, store, timestamp) {
929
+ const ingest$3 = function ConversationSummaryListRepresentationIngest(input, path, luvio, store, timestamp) {
930
930
  if (process.env.NODE_ENV !== 'production') {
931
- const validateError = validate$2(input);
931
+ const validateError = validate$3(input);
932
932
  if (validateError !== null) {
933
933
  throw validateError;
934
934
  }
935
935
  }
936
- const key = keyBuilderFromType$1(luvio, input);
937
- const ttlToUse = TTL$2;
938
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "eci", VERSION$2, RepresentationType$2, equals$2);
936
+ const key = keyBuilderFromType$2(luvio, input);
937
+ const ttlToUse = TTL$3;
938
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "eci", VERSION$3, RepresentationType$3, equals$3);
939
939
  return createLink(key);
940
940
  };
941
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
941
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
942
942
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
943
- const rootKey = keyBuilderFromType$1(luvio, input);
943
+ const rootKey = keyBuilderFromType$2(luvio, input);
944
944
  rootKeySet.set(rootKey, {
945
945
  namespace: keyPrefix,
946
- representationName: RepresentationType$2,
946
+ representationName: RepresentationType$3,
947
947
  mergeable: false
948
948
  });
949
949
  const input_conversationSummaryList_length = input.conversationSummaryList.length;
950
950
  for (let i = 0; i < input_conversationSummaryList_length; i++) {
951
- getTypeCacheKeys$4(rootKeySet, luvio, input.conversationSummaryList[i]);
951
+ getTypeCacheKeys$5(rootKeySet, luvio, input.conversationSummaryList[i]);
952
952
  }
953
953
  }
954
954
 
955
- function select$4(luvio, params) {
956
- return select$5();
955
+ function select$6(luvio, params) {
956
+ return select$7();
957
957
  }
958
- function keyBuilder$4(luvio, params) {
959
- return keyBuilder$5(luvio, {
958
+ function keyBuilder$5(luvio, params) {
959
+ return keyBuilder$6(luvio, {
960
960
  id: params.urlParams.id
961
961
  });
962
962
  }
963
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
964
- getTypeCacheKeys$2(storeKeyMap, luvio, response);
963
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
964
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
965
965
  }
966
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
966
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
967
967
  const { body } = response;
968
- const key = keyBuilder$4(luvio, resourceParams);
969
- luvio.storeIngest(key, ingest$2, body);
968
+ const key = keyBuilder$5(luvio, resourceParams);
969
+ luvio.storeIngest(key, ingest$3, body);
970
970
  const snapshot = luvio.storeLookup({
971
971
  recordId: key,
972
- node: select$4(),
972
+ node: select$6(),
973
973
  variables: {},
974
974
  }, snapshotRefresh);
975
975
  if (process.env.NODE_ENV !== 'production') {
@@ -981,18 +981,18 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
981
981
  return snapshot;
982
982
  }
983
983
  function ingestError$1(luvio, params, error, snapshotRefresh) {
984
- const key = keyBuilder$4(luvio, params);
984
+ const key = keyBuilder$5(luvio, params);
985
985
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
986
986
  const storeMetadataParams = {
987
- ttl: TTL$2,
987
+ ttl: TTL$3,
988
988
  namespace: keyPrefix,
989
- version: VERSION$2,
990
- representationName: RepresentationType$2
989
+ version: VERSION$3,
990
+ representationName: RepresentationType$3
991
991
  };
992
992
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
993
993
  return errorSnapshot;
994
994
  }
995
- function createResourceRequest$2(config) {
995
+ function createResourceRequest$3(config) {
996
996
  const headers = {};
997
997
  return {
998
998
  baseUri: '/services/data/v62.0',
@@ -1010,63 +1010,63 @@ function createResourceRequestFromRepresentation(representation) {
1010
1010
  urlParams: {},
1011
1011
  };
1012
1012
  config.urlParams.id = representation.id;
1013
- return createResourceRequest$2(config);
1013
+ return createResourceRequest$3(config);
1014
1014
  }
1015
1015
 
1016
- const adapterName$2 = 'getConversationSummaryRelatedList';
1016
+ const adapterName$3 = 'getConversationSummaryRelatedList';
1017
1017
  const getConversationSummaryRelatedList_ConfigPropertyMetadata = [
1018
1018
  generateParamConfigMetadata('id', true, 0 /* UrlParameter */, 0 /* String */),
1019
1019
  ];
1020
- const getConversationSummaryRelatedList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getConversationSummaryRelatedList_ConfigPropertyMetadata);
1021
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$5(getConversationSummaryRelatedList_ConfigPropertyMetadata);
1022
- function keyBuilder$3(luvio, config) {
1023
- const resourceParams = createResourceParams$2(config);
1024
- return keyBuilder$4(luvio, resourceParams);
1020
+ const getConversationSummaryRelatedList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getConversationSummaryRelatedList_ConfigPropertyMetadata);
1021
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$6(getConversationSummaryRelatedList_ConfigPropertyMetadata);
1022
+ function keyBuilder$4(luvio, config) {
1023
+ const resourceParams = createResourceParams$3(config);
1024
+ return keyBuilder$5(luvio, resourceParams);
1025
1025
  }
1026
- function typeCheckConfig$2(untrustedConfig) {
1026
+ function typeCheckConfig$3(untrustedConfig) {
1027
1027
  const config = {};
1028
- typeCheckConfig$5(untrustedConfig, config, getConversationSummaryRelatedList_ConfigPropertyMetadata);
1028
+ typeCheckConfig$6(untrustedConfig, config, getConversationSummaryRelatedList_ConfigPropertyMetadata);
1029
1029
  return config;
1030
1030
  }
1031
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
1031
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
1032
1032
  if (!untrustedIsObject(untrustedConfig)) {
1033
1033
  return null;
1034
1034
  }
1035
1035
  if (process.env.NODE_ENV !== 'production') {
1036
1036
  validateConfig(untrustedConfig, configPropertyNames);
1037
1037
  }
1038
- const config = typeCheckConfig$2(untrustedConfig);
1038
+ const config = typeCheckConfig$3(untrustedConfig);
1039
1039
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1040
1040
  return null;
1041
1041
  }
1042
1042
  return config;
1043
1043
  }
1044
1044
  function adapterFragment$1(luvio, config) {
1045
- createResourceParams$2(config);
1046
- return select$4();
1045
+ createResourceParams$3(config);
1046
+ return select$6();
1047
1047
  }
1048
1048
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
1049
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
1049
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
1050
1050
  config,
1051
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1051
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
1052
1052
  });
1053
1053
  return luvio.storeBroadcast().then(() => snapshot);
1054
1054
  }
1055
1055
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
1056
1056
  const snapshot = ingestError$1(luvio, resourceParams, response, {
1057
1057
  config,
1058
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1058
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
1059
1059
  });
1060
1060
  return luvio.storeBroadcast().then(() => snapshot);
1061
1061
  }
1062
- function buildNetworkSnapshot$2(luvio, config, options) {
1063
- const resourceParams = createResourceParams$2(config);
1064
- const request = createResourceRequest$2(resourceParams);
1062
+ function buildNetworkSnapshot$3(luvio, config, options) {
1063
+ const resourceParams = createResourceParams$3(config);
1064
+ const request = createResourceRequest$3(resourceParams);
1065
1065
  return luvio.dispatchResourceRequest(request, options)
1066
1066
  .then((response) => {
1067
1067
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
1068
1068
  const cache = new StoreKeyMap();
1069
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
1069
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
1070
1070
  return cache;
1071
1071
  });
1072
1072
  }, (response) => {
@@ -1074,23 +1074,23 @@ function buildNetworkSnapshot$2(luvio, config, options) {
1074
1074
  });
1075
1075
  }
1076
1076
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
1077
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1077
+ return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
1078
1078
  }
1079
1079
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
1080
1080
  const { luvio, config } = context;
1081
1081
  const selector = {
1082
- recordId: keyBuilder$3(luvio, config),
1082
+ recordId: keyBuilder$4(luvio, config),
1083
1083
  node: adapterFragment$1(luvio, config),
1084
1084
  variables: {},
1085
1085
  };
1086
1086
  const cacheSnapshot = storeLookup(selector, {
1087
1087
  config,
1088
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1088
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
1089
1089
  });
1090
1090
  return cacheSnapshot;
1091
1091
  }
1092
1092
  const getConversationSummaryRelatedListAdapterFactory = (luvio) => function eci__getConversationSummaryRelatedList(untrustedConfig, requestContext) {
1093
- const config = validateAdapterConfig$2(untrustedConfig, getConversationSummaryRelatedList_ConfigPropertyNames);
1093
+ const config = validateAdapterConfig$3(untrustedConfig, getConversationSummaryRelatedList_ConfigPropertyNames);
1094
1094
  // Invalid or incomplete config
1095
1095
  if (config === null) {
1096
1096
  return null;
@@ -1100,7 +1100,7 @@ const getConversationSummaryRelatedListAdapterFactory = (luvio) => function eci_
1100
1100
  };
1101
1101
  const notifyChangeFactory = (luvio, options) => {
1102
1102
  return function getConversationSummaryRelatedByIdNotifyChange(configs) {
1103
- const keys = configs.map(c => keyBuilder$5(luvio, c));
1103
+ const keys = configs.map(c => keyBuilder$6(luvio, c));
1104
1104
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
1105
1105
  for (let i = 0, len = entries.length; i < len; i++) {
1106
1106
  const { key, record: val } = entries[i];
@@ -1109,21 +1109,21 @@ const notifyChangeFactory = (luvio, options) => {
1109
1109
  .then((response) => {
1110
1110
  return luvio.handleSuccessResponse(() => {
1111
1111
  const { body } = response;
1112
- luvio.storeIngest(key, ingest$2, body);
1112
+ luvio.storeIngest(key, ingest$3, body);
1113
1113
  return luvio.storeBroadcast();
1114
1114
  }, () => {
1115
1115
  const cache = new StoreKeyMap();
1116
- getTypeCacheKeys$2(cache, luvio, response.body);
1116
+ getTypeCacheKeys$3(cache, luvio, response.body);
1117
1117
  return cache;
1118
1118
  });
1119
1119
  }, (error) => {
1120
1120
  return luvio.handleErrorResponse(() => {
1121
1121
  const errorSnapshot = luvio.errorSnapshot(error);
1122
1122
  luvio.storeIngestError(key, errorSnapshot, {
1123
- ttl: TTL$2,
1123
+ ttl: TTL$3,
1124
1124
  namespace: keyPrefix,
1125
- version: VERSION$2,
1126
- representationName: RepresentationType$2
1125
+ version: VERSION$3,
1126
+ representationName: RepresentationType$3
1127
1127
  });
1128
1128
  return luvio.storeBroadcast().then(() => errorSnapshot);
1129
1129
  });
@@ -1133,9 +1133,9 @@ const notifyChangeFactory = (luvio, options) => {
1133
1133
  };
1134
1134
  };
1135
1135
 
1136
- const TTL$1 = 2592000000;
1137
- const VERSION$1 = "b6caaeb6ce6369783e9b10315a598d75";
1138
- function validate$1(obj, path = 'ConversationTranscriptRepresentation') {
1136
+ const TTL$2 = 2592000000;
1137
+ const VERSION$2 = "b6caaeb6ce6369783e9b10315a598d75";
1138
+ function validate$2(obj, path = 'ConversationTranscriptRepresentation') {
1139
1139
  const v_error = (() => {
1140
1140
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1141
1141
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1183,14 +1183,14 @@ function validate$1(obj, path = 'ConversationTranscriptRepresentation') {
1183
1183
  })();
1184
1184
  return v_error === undefined ? null : v_error;
1185
1185
  }
1186
- const RepresentationType$1 = 'ConversationTranscriptRepresentation';
1187
- function normalize$1(input, existing, path, luvio, store, timestamp) {
1186
+ const RepresentationType$2 = 'ConversationTranscriptRepresentation';
1187
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
1188
1188
  return input;
1189
1189
  }
1190
- const select$3 = function ConversationTranscriptRepresentationSelect() {
1190
+ const select$5 = function ConversationTranscriptRepresentationSelect() {
1191
1191
  return {
1192
1192
  kind: 'Fragment',
1193
- version: VERSION$1,
1193
+ version: VERSION$2,
1194
1194
  private: [],
1195
1195
  selections: [
1196
1196
  {
@@ -1205,7 +1205,7 @@ const select$3 = function ConversationTranscriptRepresentationSelect() {
1205
1205
  ]
1206
1206
  };
1207
1207
  };
1208
- function equals$1(existing, incoming) {
1208
+ function equals$2(existing, incoming) {
1209
1209
  const existing_error = existing.error;
1210
1210
  const incoming_error = incoming.error;
1211
1211
  const equals_error_props = equalsObject(existing_error, incoming_error, (existing_error_prop, incoming_error_prop) => {
@@ -1223,44 +1223,44 @@ function equals$1(existing, incoming) {
1223
1223
  }
1224
1224
  return true;
1225
1225
  }
1226
- const ingest$1 = function ConversationTranscriptRepresentationIngest(input, path, luvio, store, timestamp) {
1226
+ const ingest$2 = function ConversationTranscriptRepresentationIngest(input, path, luvio, store, timestamp) {
1227
1227
  if (process.env.NODE_ENV !== 'production') {
1228
- const validateError = validate$1(input);
1228
+ const validateError = validate$2(input);
1229
1229
  if (validateError !== null) {
1230
1230
  throw validateError;
1231
1231
  }
1232
1232
  }
1233
1233
  const key = path.fullPath;
1234
- const ttlToUse = TTL$1;
1235
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "eci", VERSION$1, RepresentationType$1, equals$1);
1234
+ const ttlToUse = TTL$2;
1235
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "eci", VERSION$2, RepresentationType$2, equals$2);
1236
1236
  return createLink(key);
1237
1237
  };
1238
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
1238
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1239
1239
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1240
1240
  const rootKey = fullPathFactory();
1241
1241
  rootKeySet.set(rootKey, {
1242
1242
  namespace: keyPrefix,
1243
- representationName: RepresentationType$1,
1243
+ representationName: RepresentationType$2,
1244
1244
  mergeable: false
1245
1245
  });
1246
1246
  }
1247
1247
 
1248
- function select$2(luvio, params) {
1249
- return select$3();
1248
+ function select$4(luvio, params) {
1249
+ return select$5();
1250
1250
  }
1251
- function keyBuilder$2(luvio, params) {
1251
+ function keyBuilder$3(luvio, params) {
1252
1252
  return keyPrefix + '::ConversationTranscriptRepresentation:(' + 'includeData:' + params.queryParams.includeData + ',' + 'sfdcCallIdOrRecordingId:' + params.urlParams.sfdcCallIdOrRecordingId + ')';
1253
1253
  }
1254
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1255
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
1254
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
1255
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
1256
1256
  }
1257
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1257
+ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
1258
1258
  const { body } = response;
1259
- const key = keyBuilder$2(luvio, resourceParams);
1260
- luvio.storeIngest(key, ingest$1, body);
1259
+ const key = keyBuilder$3(luvio, resourceParams);
1260
+ luvio.storeIngest(key, ingest$2, body);
1261
1261
  const snapshot = luvio.storeLookup({
1262
1262
  recordId: key,
1263
- node: select$2(),
1263
+ node: select$4(),
1264
1264
  variables: {},
1265
1265
  }, snapshotRefresh);
1266
1266
  if (process.env.NODE_ENV !== 'production') {
@@ -1272,18 +1272,18 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1272
1272
  return snapshot;
1273
1273
  }
1274
1274
  function ingestError(luvio, params, error, snapshotRefresh) {
1275
- const key = keyBuilder$2(luvio, params);
1275
+ const key = keyBuilder$3(luvio, params);
1276
1276
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1277
1277
  const storeMetadataParams = {
1278
- ttl: TTL$1,
1278
+ ttl: TTL$2,
1279
1279
  namespace: keyPrefix,
1280
- version: VERSION$1,
1281
- representationName: RepresentationType$1
1280
+ version: VERSION$2,
1281
+ representationName: RepresentationType$2
1282
1282
  };
1283
1283
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1284
1284
  return errorSnapshot;
1285
1285
  }
1286
- function createResourceRequest$1(config) {
1286
+ function createResourceRequest$2(config) {
1287
1287
  const headers = {};
1288
1288
  return {
1289
1289
  baseUri: '/services/data/v62.0',
@@ -1297,61 +1297,61 @@ function createResourceRequest$1(config) {
1297
1297
  };
1298
1298
  }
1299
1299
 
1300
- const adapterName$1 = 'getTranscript';
1300
+ const adapterName$2 = 'getTranscript';
1301
1301
  const getTranscript_ConfigPropertyMetadata = [
1302
1302
  generateParamConfigMetadata('sfdcCallIdOrRecordingId', true, 0 /* UrlParameter */, 0 /* String */),
1303
1303
  generateParamConfigMetadata('includeData', false, 1 /* QueryParameter */, 1 /* Boolean */),
1304
1304
  ];
1305
- const getTranscript_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getTranscript_ConfigPropertyMetadata);
1306
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$5(getTranscript_ConfigPropertyMetadata);
1307
- function keyBuilder$1(luvio, config) {
1308
- const resourceParams = createResourceParams$1(config);
1309
- return keyBuilder$2(luvio, resourceParams);
1305
+ const getTranscript_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getTranscript_ConfigPropertyMetadata);
1306
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$6(getTranscript_ConfigPropertyMetadata);
1307
+ function keyBuilder$2(luvio, config) {
1308
+ const resourceParams = createResourceParams$2(config);
1309
+ return keyBuilder$3(luvio, resourceParams);
1310
1310
  }
1311
- function typeCheckConfig$1(untrustedConfig) {
1311
+ function typeCheckConfig$2(untrustedConfig) {
1312
1312
  const config = {};
1313
- typeCheckConfig$5(untrustedConfig, config, getTranscript_ConfigPropertyMetadata);
1313
+ typeCheckConfig$6(untrustedConfig, config, getTranscript_ConfigPropertyMetadata);
1314
1314
  return config;
1315
1315
  }
1316
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1316
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
1317
1317
  if (!untrustedIsObject(untrustedConfig)) {
1318
1318
  return null;
1319
1319
  }
1320
1320
  if (process.env.NODE_ENV !== 'production') {
1321
1321
  validateConfig(untrustedConfig, configPropertyNames);
1322
1322
  }
1323
- const config = typeCheckConfig$1(untrustedConfig);
1323
+ const config = typeCheckConfig$2(untrustedConfig);
1324
1324
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1325
1325
  return null;
1326
1326
  }
1327
1327
  return config;
1328
1328
  }
1329
1329
  function adapterFragment(luvio, config) {
1330
- createResourceParams$1(config);
1331
- return select$2();
1330
+ createResourceParams$2(config);
1331
+ return select$4();
1332
1332
  }
1333
1333
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
1334
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
1334
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
1335
1335
  config,
1336
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1336
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1337
1337
  });
1338
1338
  return luvio.storeBroadcast().then(() => snapshot);
1339
1339
  }
1340
1340
  function onFetchResponseError(luvio, config, resourceParams, response) {
1341
1341
  const snapshot = ingestError(luvio, resourceParams, response, {
1342
1342
  config,
1343
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1343
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1344
1344
  });
1345
1345
  return luvio.storeBroadcast().then(() => snapshot);
1346
1346
  }
1347
- function buildNetworkSnapshot$1(luvio, config, options) {
1348
- const resourceParams = createResourceParams$1(config);
1349
- const request = createResourceRequest$1(resourceParams);
1347
+ function buildNetworkSnapshot$2(luvio, config, options) {
1348
+ const resourceParams = createResourceParams$2(config);
1349
+ const request = createResourceRequest$2(resourceParams);
1350
1350
  return luvio.dispatchResourceRequest(request, options)
1351
1351
  .then((response) => {
1352
1352
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
1353
1353
  const cache = new StoreKeyMap();
1354
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1354
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
1355
1355
  return cache;
1356
1356
  });
1357
1357
  }, (response) => {
@@ -1359,23 +1359,23 @@ function buildNetworkSnapshot$1(luvio, config, options) {
1359
1359
  });
1360
1360
  }
1361
1361
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
1362
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
1362
+ return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1363
1363
  }
1364
1364
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
1365
1365
  const { luvio, config } = context;
1366
1366
  const selector = {
1367
- recordId: keyBuilder$1(luvio, config),
1367
+ recordId: keyBuilder$2(luvio, config),
1368
1368
  node: adapterFragment(luvio, config),
1369
1369
  variables: {},
1370
1370
  };
1371
1371
  const cacheSnapshot = storeLookup(selector, {
1372
1372
  config,
1373
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1373
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1374
1374
  });
1375
1375
  return cacheSnapshot;
1376
1376
  }
1377
1377
  const getTranscriptAdapterFactory = (luvio) => function eci__getTranscript(untrustedConfig, requestContext) {
1378
- const config = validateAdapterConfig$1(untrustedConfig, getTranscript_ConfigPropertyNames);
1378
+ const config = validateAdapterConfig$2(untrustedConfig, getTranscript_ConfigPropertyNames);
1379
1379
  // Invalid or incomplete config
1380
1380
  if (config === null) {
1381
1381
  return null;
@@ -1384,9 +1384,9 @@ const getTranscriptAdapterFactory = (luvio) => function eci__getTranscript(untru
1384
1384
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
1385
1385
  };
1386
1386
 
1387
- const TTL = 60000;
1388
- const VERSION = "92b95a3b99090d0e464e4259ecac6bb4";
1389
- function validate(obj, path = 'ConversationRealtimeMeetingInitiationResponseRepresentation') {
1387
+ const TTL$1 = 60000;
1388
+ const VERSION$1 = "92b95a3b99090d0e464e4259ecac6bb4";
1389
+ function validate$1(obj, path = 'ConversationRealtimeMeetingInitiationResponseRepresentation') {
1390
1390
  const v_error = (() => {
1391
1391
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1392
1392
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1423,23 +1423,23 @@ function validate(obj, path = 'ConversationRealtimeMeetingInitiationResponseRepr
1423
1423
  })();
1424
1424
  return v_error === undefined ? null : v_error;
1425
1425
  }
1426
- const RepresentationType = 'ConversationRealtimeMeetingInitiationResponseRepresentation';
1427
- function keyBuilder(luvio, config) {
1428
- return keyPrefix + '::' + RepresentationType + ':' + config.id;
1426
+ const RepresentationType$1 = 'ConversationRealtimeMeetingInitiationResponseRepresentation';
1427
+ function keyBuilder$1(luvio, config) {
1428
+ return keyPrefix + '::' + RepresentationType$1 + ':' + config.id;
1429
1429
  }
1430
- function keyBuilderFromType(luvio, object) {
1430
+ function keyBuilderFromType$1(luvio, object) {
1431
1431
  const keyParams = {
1432
1432
  id: object.botId
1433
1433
  };
1434
- return keyBuilder(luvio, keyParams);
1434
+ return keyBuilder$1(luvio, keyParams);
1435
1435
  }
1436
- function normalize(input, existing, path, luvio, store, timestamp) {
1436
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
1437
1437
  return input;
1438
1438
  }
1439
- const select$1 = function ConversationRealtimeMeetingInitiationResponseRepresentationSelect() {
1439
+ const select$3 = function ConversationRealtimeMeetingInitiationResponseRepresentationSelect() {
1440
1440
  return {
1441
1441
  kind: 'Fragment',
1442
- version: VERSION,
1442
+ version: VERSION$1,
1443
1443
  private: [],
1444
1444
  selections: [
1445
1445
  {
@@ -1462,7 +1462,7 @@ const select$1 = function ConversationRealtimeMeetingInitiationResponseRepresent
1462
1462
  ]
1463
1463
  };
1464
1464
  };
1465
- function equals(existing, incoming) {
1465
+ function equals$1(existing, incoming) {
1466
1466
  const existing_botId = existing.botId;
1467
1467
  const incoming_botId = incoming.botId;
1468
1468
  if (!(existing_botId === incoming_botId)) {
@@ -1490,7 +1490,169 @@ function equals(existing, incoming) {
1490
1490
  }
1491
1491
  return true;
1492
1492
  }
1493
- const ingest = function ConversationRealtimeMeetingInitiationResponseRepresentationIngest(input, path, luvio, store, timestamp) {
1493
+ const ingest$1 = function ConversationRealtimeMeetingInitiationResponseRepresentationIngest(input, path, luvio, store, timestamp) {
1494
+ if (process.env.NODE_ENV !== 'production') {
1495
+ const validateError = validate$1(input);
1496
+ if (validateError !== null) {
1497
+ throw validateError;
1498
+ }
1499
+ }
1500
+ const key = keyBuilderFromType$1(luvio, input);
1501
+ const ttlToUse = TTL$1;
1502
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "eci", VERSION$1, RepresentationType$1, equals$1);
1503
+ return createLink(key);
1504
+ };
1505
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
1506
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1507
+ const rootKey = keyBuilderFromType$1(luvio, input);
1508
+ rootKeySet.set(rootKey, {
1509
+ namespace: keyPrefix,
1510
+ representationName: RepresentationType$1,
1511
+ mergeable: false
1512
+ });
1513
+ }
1514
+
1515
+ function select$2(luvio, params) {
1516
+ return select$3();
1517
+ }
1518
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1519
+ getTypeCacheKeys$1(storeKeyMap, luvio, response);
1520
+ }
1521
+ function ingestSuccess$1(luvio, resourceParams, response) {
1522
+ const { body } = response;
1523
+ const key = keyBuilderFromType$1(luvio, body);
1524
+ luvio.storeIngest(key, ingest$1, body);
1525
+ const snapshot = luvio.storeLookup({
1526
+ recordId: key,
1527
+ node: select$2(),
1528
+ variables: {},
1529
+ });
1530
+ if (process.env.NODE_ENV !== 'production') {
1531
+ if (snapshot.state !== 'Fulfilled') {
1532
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1533
+ }
1534
+ }
1535
+ deepFreeze(snapshot.data);
1536
+ return snapshot;
1537
+ }
1538
+ function createResourceRequest$1(config) {
1539
+ const headers = {};
1540
+ return {
1541
+ baseUri: '/services/data/v62.0',
1542
+ basePath: '/conversation/realtime/insight/meeting/initiate',
1543
+ method: 'post',
1544
+ body: config.body,
1545
+ urlParams: {},
1546
+ queryParams: {},
1547
+ headers,
1548
+ priority: 'normal',
1549
+ };
1550
+ }
1551
+
1552
+ const adapterName$1 = 'initiateMeeting';
1553
+ const initiateMeeting_ConfigPropertyMetadata = [
1554
+ generateParamConfigMetadata('meetingUrl', true, 2 /* Body */, 0 /* String */),
1555
+ generateParamConfigMetadata('vendorName', true, 2 /* Body */, 0 /* String */),
1556
+ ];
1557
+ const initiateMeeting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, initiateMeeting_ConfigPropertyMetadata);
1558
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(initiateMeeting_ConfigPropertyMetadata);
1559
+ function typeCheckConfig$1(untrustedConfig) {
1560
+ const config = {};
1561
+ typeCheckConfig$6(untrustedConfig, config, initiateMeeting_ConfigPropertyMetadata);
1562
+ return config;
1563
+ }
1564
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1565
+ if (!untrustedIsObject(untrustedConfig)) {
1566
+ return null;
1567
+ }
1568
+ if (process.env.NODE_ENV !== 'production') {
1569
+ validateConfig(untrustedConfig, configPropertyNames);
1570
+ }
1571
+ const config = typeCheckConfig$1(untrustedConfig);
1572
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1573
+ return null;
1574
+ }
1575
+ return config;
1576
+ }
1577
+ function buildNetworkSnapshot$1(luvio, config, options) {
1578
+ const resourceParams = createResourceParams$1(config);
1579
+ const request = createResourceRequest$1(resourceParams);
1580
+ return luvio.dispatchResourceRequest(request, options)
1581
+ .then((response) => {
1582
+ return luvio.handleSuccessResponse(() => {
1583
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response);
1584
+ return luvio.storeBroadcast().then(() => snapshot);
1585
+ }, () => {
1586
+ const cache = new StoreKeyMap();
1587
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1588
+ return cache;
1589
+ });
1590
+ }, (response) => {
1591
+ deepFreeze(response);
1592
+ throw response;
1593
+ });
1594
+ }
1595
+ const initiateMeetingAdapterFactory = (luvio) => {
1596
+ return function initiateMeeting(untrustedConfig) {
1597
+ const config = validateAdapterConfig$1(untrustedConfig, initiateMeeting_ConfigPropertyNames);
1598
+ // Invalid or incomplete config
1599
+ if (config === null) {
1600
+ throw new Error('Invalid config for "initiateMeeting"');
1601
+ }
1602
+ return buildNetworkSnapshot$1(luvio, config);
1603
+ };
1604
+ };
1605
+
1606
+ const TTL = 60000;
1607
+ const VERSION = "5b78cffe02ee49666328e048929ba644";
1608
+ function validate(obj, path = 'ConversationRealtimeEndMeetingResponseRepresentation') {
1609
+ const v_error = (() => {
1610
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1611
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1612
+ }
1613
+ const obj_fakeKey = obj.fakeKey;
1614
+ const path_fakeKey = path + '.fakeKey';
1615
+ if (typeof obj_fakeKey !== 'string') {
1616
+ return new TypeError('Expected "string" but received "' + typeof obj_fakeKey + '" (at "' + path_fakeKey + '")');
1617
+ }
1618
+ })();
1619
+ return v_error === undefined ? null : v_error;
1620
+ }
1621
+ const RepresentationType = 'ConversationRealtimeEndMeetingResponseRepresentation';
1622
+ function keyBuilder(luvio, config) {
1623
+ return keyPrefix + '::' + RepresentationType + ':' + config.fakeKey;
1624
+ }
1625
+ function keyBuilderFromType(luvio, object) {
1626
+ const keyParams = {
1627
+ fakeKey: object.fakeKey
1628
+ };
1629
+ return keyBuilder(luvio, keyParams);
1630
+ }
1631
+ function normalize(input, existing, path, luvio, store, timestamp) {
1632
+ return input;
1633
+ }
1634
+ const select$1 = function ConversationRealtimeEndMeetingResponseRepresentationSelect() {
1635
+ return {
1636
+ kind: 'Fragment',
1637
+ version: VERSION,
1638
+ private: [],
1639
+ selections: [
1640
+ {
1641
+ name: 'fakeKey',
1642
+ kind: 'Scalar'
1643
+ }
1644
+ ]
1645
+ };
1646
+ };
1647
+ function equals(existing, incoming) {
1648
+ const existing_fakeKey = existing.fakeKey;
1649
+ const incoming_fakeKey = incoming.fakeKey;
1650
+ if (!(existing_fakeKey === incoming_fakeKey)) {
1651
+ return false;
1652
+ }
1653
+ return true;
1654
+ }
1655
+ const ingest = function ConversationRealtimeEndMeetingResponseRepresentationIngest(input, path, luvio, store, timestamp) {
1494
1656
  if (process.env.NODE_ENV !== 'production') {
1495
1657
  const validateError = validate(input);
1496
1658
  if (validateError !== null) {
@@ -1539,7 +1701,7 @@ function createResourceRequest(config) {
1539
1701
  const headers = {};
1540
1702
  return {
1541
1703
  baseUri: '/services/data/v62.0',
1542
- basePath: '/conversation/realtime/insight/meeting/initiate',
1704
+ basePath: '/conversation/realtime/insight/meeting/terminate',
1543
1705
  method: 'post',
1544
1706
  body: config.body,
1545
1707
  urlParams: {},
@@ -1549,15 +1711,15 @@ function createResourceRequest(config) {
1549
1711
  };
1550
1712
  }
1551
1713
 
1552
- const adapterName = 'initiateMeeting';
1553
- const initiateMeeting_ConfigPropertyMetadata = [
1554
- generateParamConfigMetadata('meetingUrl', true, 2 /* Body */, 0 /* String */),
1714
+ const adapterName = 'terminateMeeting';
1715
+ const terminateMeeting_ConfigPropertyMetadata = [
1716
+ generateParamConfigMetadata('botId', true, 2 /* Body */, 0 /* String */),
1555
1717
  ];
1556
- const initiateMeeting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, initiateMeeting_ConfigPropertyMetadata);
1557
- const createResourceParams = /*#__PURE__*/ createResourceParams$5(initiateMeeting_ConfigPropertyMetadata);
1718
+ const terminateMeeting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, terminateMeeting_ConfigPropertyMetadata);
1719
+ const createResourceParams = /*#__PURE__*/ createResourceParams$6(terminateMeeting_ConfigPropertyMetadata);
1558
1720
  function typeCheckConfig(untrustedConfig) {
1559
1721
  const config = {};
1560
- typeCheckConfig$5(untrustedConfig, config, initiateMeeting_ConfigPropertyMetadata);
1722
+ typeCheckConfig$6(untrustedConfig, config, terminateMeeting_ConfigPropertyMetadata);
1561
1723
  return config;
1562
1724
  }
1563
1725
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -1591,12 +1753,12 @@ function buildNetworkSnapshot(luvio, config, options) {
1591
1753
  throw response;
1592
1754
  });
1593
1755
  }
1594
- const initiateMeetingAdapterFactory = (luvio) => {
1595
- return function initiateMeeting(untrustedConfig) {
1596
- const config = validateAdapterConfig(untrustedConfig, initiateMeeting_ConfigPropertyNames);
1756
+ const terminateMeetingAdapterFactory = (luvio) => {
1757
+ return function terminateMeeting(untrustedConfig) {
1758
+ const config = validateAdapterConfig(untrustedConfig, terminateMeeting_ConfigPropertyNames);
1597
1759
  // Invalid or incomplete config
1598
1760
  if (config === null) {
1599
- throw new Error('Invalid config for "initiateMeeting"');
1761
+ throw new Error('Invalid config for "terminateMeeting"');
1600
1762
  }
1601
1763
  return buildNetworkSnapshot(luvio, config);
1602
1764
  };
@@ -1609,6 +1771,7 @@ let getConversationSummaryRelatedList;
1609
1771
  let getConversationSummaryRelatedListNotifyChange;
1610
1772
  let getTranscript;
1611
1773
  let initiateMeeting;
1774
+ let terminateMeeting;
1612
1775
  // Imperative GET Adapters
1613
1776
  let getConversationGenerativeInsight_imperative;
1614
1777
  let getConversationSummaryRelatedList_imperative;
@@ -1642,6 +1805,7 @@ function bindExportsTo(luvio) {
1642
1805
  getConversationSummaryRelatedListNotifyChange: createLDSAdapter(luvio, 'getConversationSummaryRelatedListNotifyChange', notifyChangeFactory),
1643
1806
  getTranscript: createWireAdapterConstructor(luvio, getTranscript_ldsAdapter, getTranscriptMetadata),
1644
1807
  initiateMeeting: unwrapSnapshotData(initiateMeetingAdapterFactory),
1808
+ terminateMeeting: unwrapSnapshotData(terminateMeetingAdapterFactory),
1645
1809
  // Imperative GET Adapters
1646
1810
  getConversationGenerativeInsight_imperative: createImperativeAdapter(luvio, getConversationGenerativeInsight_ldsAdapter, getConversationGenerativeInsightMetadata),
1647
1811
  getConversationSummaryRelatedList_imperative: createImperativeAdapter(luvio, getConversationSummaryRelatedList_ldsAdapter, getConversationSummaryRelatedListMetadata),
@@ -1658,11 +1822,12 @@ withDefaultLuvio((luvio) => {
1658
1822
  getConversationSummaryRelatedListNotifyChange,
1659
1823
  getTranscript,
1660
1824
  initiateMeeting,
1825
+ terminateMeeting,
1661
1826
  getConversationGenerativeInsight_imperative,
1662
1827
  getConversationSummaryRelatedList_imperative,
1663
1828
  getTranscript_imperative,
1664
1829
  } = bindExportsTo(luvio));
1665
1830
  });
1666
1831
 
1667
- export { generateConversationSummary, getConversationGenerativeInsight, getConversationGenerativeInsightNotifyChange, getConversationGenerativeInsight_imperative, getConversationSummaryRelatedList, getConversationSummaryRelatedListNotifyChange, getConversationSummaryRelatedList_imperative, getTranscript, getTranscript_imperative, initiateMeeting };
1668
- // version: 1.303.0-b6ed223d95
1832
+ export { generateConversationSummary, getConversationGenerativeInsight, getConversationGenerativeInsightNotifyChange, getConversationGenerativeInsight_imperative, getConversationSummaryRelatedList, getConversationSummaryRelatedListNotifyChange, getConversationSummaryRelatedList_imperative, getTranscript, getTranscript_imperative, initiateMeeting, terminateMeeting };
1833
+ // version: 1.304.0-d87b57badb