@salesforce/lds-adapters-service-einstein-copilot-bot 1.266.0-dev21 → 1.266.0-dev23

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, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2, StoreKeyMap, createResourceParams as createResourceParams$3, typeCheckConfig as typeCheckConfig$3 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3, StoreKeyMap, createResourceParams as createResourceParams$4, typeCheckConfig as typeCheckConfig$4 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -122,9 +122,9 @@ function createLink(ref) {
122
122
  };
123
123
  }
124
124
 
125
- const TTL$3 = 30000;
126
- const VERSION$7 = "ab85410a28124cfed3d8eae7b8236853";
127
- function validate$8(obj, path = 'CopilotBotInfoRepresentation') {
125
+ const TTL$4 = 30000;
126
+ const VERSION$9 = "ab85410a28124cfed3d8eae7b8236853";
127
+ function validate$a(obj, path = 'CopilotBotInfoRepresentation') {
128
128
  const v_error = (() => {
129
129
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
130
130
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -151,14 +151,14 @@ function validate$8(obj, path = 'CopilotBotInfoRepresentation') {
151
151
  })();
152
152
  return v_error === undefined ? null : v_error;
153
153
  }
154
- const RepresentationType$3 = 'CopilotBotInfoRepresentation';
155
- function normalize$3(input, existing, path, luvio, store, timestamp) {
154
+ const RepresentationType$4 = 'CopilotBotInfoRepresentation';
155
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
156
156
  return input;
157
157
  }
158
- const select$a = function CopilotBotInfoRepresentationSelect() {
158
+ const select$d = function CopilotBotInfoRepresentationSelect() {
159
159
  return {
160
160
  kind: 'Fragment',
161
- version: VERSION$7,
161
+ version: VERSION$9,
162
162
  private: [],
163
163
  selections: [
164
164
  {
@@ -178,7 +178,7 @@ const select$a = function CopilotBotInfoRepresentationSelect() {
178
178
  ]
179
179
  };
180
180
  };
181
- function equals$7(existing, incoming) {
181
+ function equals$9(existing, incoming) {
182
182
  const existing_isSuccess = existing.isSuccess;
183
183
  const incoming_isSuccess = incoming.isSuccess;
184
184
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -212,7 +212,673 @@ function equals$7(existing, incoming) {
212
212
  }
213
213
  return true;
214
214
  }
215
- const ingest$3 = function CopilotBotInfoRepresentationIngest(input, path, luvio, store, timestamp) {
215
+ const ingest$4 = function CopilotBotInfoRepresentationIngest(input, path, luvio, store, timestamp) {
216
+ if (process.env.NODE_ENV !== 'production') {
217
+ const validateError = validate$a(input);
218
+ if (validateError !== null) {
219
+ throw validateError;
220
+ }
221
+ }
222
+ const key = path.fullPath;
223
+ const ttlToUse = TTL$4;
224
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "einstein-copilot-bot", VERSION$9, RepresentationType$4, equals$9);
225
+ return createLink(key);
226
+ };
227
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
228
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
229
+ const rootKey = fullPathFactory();
230
+ rootKeySet.set(rootKey, {
231
+ namespace: keyPrefix,
232
+ representationName: RepresentationType$4,
233
+ mergeable: false
234
+ });
235
+ }
236
+
237
+ function select$c(luvio, params) {
238
+ return select$d();
239
+ }
240
+ function keyBuilder$7(luvio, params) {
241
+ return keyPrefix + '::CopilotBotInfoRepresentation:(' + ')';
242
+ }
243
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
244
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$7());
245
+ }
246
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
247
+ const { body } = response;
248
+ const key = keyBuilder$7();
249
+ luvio.storeIngest(key, ingest$4, body);
250
+ const snapshot = luvio.storeLookup({
251
+ recordId: key,
252
+ node: select$c(),
253
+ variables: {},
254
+ }, snapshotRefresh);
255
+ if (process.env.NODE_ENV !== 'production') {
256
+ if (snapshot.state !== 'Fulfilled') {
257
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
258
+ }
259
+ }
260
+ deepFreeze(snapshot.data);
261
+ return snapshot;
262
+ }
263
+ function ingestError$2(luvio, params, error, snapshotRefresh) {
264
+ const key = keyBuilder$7();
265
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
266
+ const storeMetadataParams = {
267
+ ttl: TTL$4,
268
+ namespace: keyPrefix,
269
+ version: VERSION$9,
270
+ representationName: RepresentationType$4
271
+ };
272
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
273
+ return errorSnapshot;
274
+ }
275
+ function createResourceRequest$3(config) {
276
+ const headers = {};
277
+ return {
278
+ baseUri: '/services/data/v60.0',
279
+ basePath: '/connect/conversation-runtime-proxy',
280
+ method: 'get',
281
+ body: null,
282
+ urlParams: {},
283
+ queryParams: {},
284
+ headers,
285
+ priority: 'normal',
286
+ };
287
+ }
288
+
289
+ const adapterName$3 = 'getBotId';
290
+ const getBotId_ConfigPropertyMetadata = [];
291
+ const getBotId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getBotId_ConfigPropertyMetadata);
292
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(getBotId_ConfigPropertyMetadata);
293
+ function keyBuilder$6(luvio, config) {
294
+ createResourceParams$3(config);
295
+ return keyBuilder$7();
296
+ }
297
+ function typeCheckConfig$3(untrustedConfig) {
298
+ const config = {};
299
+ return config;
300
+ }
301
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
302
+ if (!untrustedIsObject(untrustedConfig)) {
303
+ return null;
304
+ }
305
+ if (process.env.NODE_ENV !== 'production') {
306
+ validateConfig(untrustedConfig, configPropertyNames);
307
+ }
308
+ const config = typeCheckConfig$3();
309
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
310
+ return null;
311
+ }
312
+ return config;
313
+ }
314
+ function adapterFragment$2(luvio, config) {
315
+ createResourceParams$3(config);
316
+ return select$c();
317
+ }
318
+ function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
319
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
320
+ config,
321
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
322
+ });
323
+ return luvio.storeBroadcast().then(() => snapshot);
324
+ }
325
+ function onFetchResponseError$2(luvio, config, resourceParams, response) {
326
+ const snapshot = ingestError$2(luvio, resourceParams, response, {
327
+ config,
328
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
329
+ });
330
+ return luvio.storeBroadcast().then(() => snapshot);
331
+ }
332
+ function buildNetworkSnapshot$3(luvio, config, options) {
333
+ const resourceParams = createResourceParams$3(config);
334
+ const request = createResourceRequest$3();
335
+ return luvio.dispatchResourceRequest(request, options)
336
+ .then((response) => {
337
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
338
+ const cache = new StoreKeyMap();
339
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
340
+ return cache;
341
+ });
342
+ }, (response) => {
343
+ return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
344
+ });
345
+ }
346
+ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
347
+ return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
348
+ }
349
+ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
350
+ const { luvio, config } = context;
351
+ const selector = {
352
+ recordId: keyBuilder$6(luvio, config),
353
+ node: adapterFragment$2(luvio, config),
354
+ variables: {},
355
+ };
356
+ const cacheSnapshot = storeLookup(selector, {
357
+ config,
358
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
359
+ });
360
+ return cacheSnapshot;
361
+ }
362
+ const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(untrustedConfig, requestContext) {
363
+ const config = validateAdapterConfig$3(untrustedConfig, getBotId_ConfigPropertyNames);
364
+ // Invalid or incomplete config
365
+ if (config === null) {
366
+ return null;
367
+ }
368
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
369
+ buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
370
+ };
371
+
372
+ const VERSION$8 = "3d8b52828ddd11f23f898b0bba8db802";
373
+ function validate$9(obj, path = 'CopilotQuickActionRepresentation') {
374
+ const v_error = (() => {
375
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
376
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
377
+ }
378
+ if (obj.actionApiName !== undefined) {
379
+ const obj_actionApiName = obj.actionApiName;
380
+ const path_actionApiName = path + '.actionApiName';
381
+ if (typeof obj_actionApiName !== 'string') {
382
+ return new TypeError('Expected "string" but received "' + typeof obj_actionApiName + '" (at "' + path_actionApiName + '")');
383
+ }
384
+ }
385
+ if (obj.createdDate !== undefined) {
386
+ const obj_createdDate = obj.createdDate;
387
+ const path_createdDate = path + '.createdDate';
388
+ if (typeof obj_createdDate !== 'string') {
389
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
390
+ }
391
+ }
392
+ if (obj.description !== undefined) {
393
+ const obj_description = obj.description;
394
+ const path_description = path + '.description';
395
+ if (typeof obj_description !== 'string') {
396
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
397
+ }
398
+ }
399
+ if (obj.icon !== undefined) {
400
+ const obj_icon = obj.icon;
401
+ const path_icon = path + '.icon';
402
+ if (typeof obj_icon !== 'string') {
403
+ return new TypeError('Expected "string" but received "' + typeof obj_icon + '" (at "' + path_icon + '")');
404
+ }
405
+ }
406
+ if (obj.intent !== undefined) {
407
+ const obj_intent = obj.intent;
408
+ const path_intent = path + '.intent';
409
+ if (typeof obj_intent !== 'string') {
410
+ return new TypeError('Expected "string" but received "' + typeof obj_intent + '" (at "' + path_intent + '")');
411
+ }
412
+ }
413
+ if (obj.isGlobal !== undefined) {
414
+ const obj_isGlobal = obj.isGlobal;
415
+ const path_isGlobal = path + '.isGlobal';
416
+ if (typeof obj_isGlobal !== 'boolean') {
417
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isGlobal + '" (at "' + path_isGlobal + '")');
418
+ }
419
+ }
420
+ if (obj.isStandard !== undefined) {
421
+ const obj_isStandard = obj.isStandard;
422
+ const path_isStandard = path + '.isStandard';
423
+ if (typeof obj_isStandard !== 'boolean') {
424
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isStandard + '" (at "' + path_isStandard + '")');
425
+ }
426
+ }
427
+ if (obj.label !== undefined) {
428
+ const obj_label = obj.label;
429
+ const path_label = path + '.label';
430
+ if (typeof obj_label !== 'string') {
431
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
432
+ }
433
+ }
434
+ if (obj.lastModifiedDate !== undefined) {
435
+ const obj_lastModifiedDate = obj.lastModifiedDate;
436
+ const path_lastModifiedDate = path + '.lastModifiedDate';
437
+ if (typeof obj_lastModifiedDate !== 'string') {
438
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
439
+ }
440
+ }
441
+ if (obj.namespace !== undefined) {
442
+ const obj_namespace = obj.namespace;
443
+ const path_namespace = path + '.namespace';
444
+ if (typeof obj_namespace !== 'string') {
445
+ return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
446
+ }
447
+ }
448
+ if (obj.orgAccess !== undefined) {
449
+ const obj_orgAccess = obj.orgAccess;
450
+ const path_orgAccess = path + '.orgAccess';
451
+ if (typeof obj_orgAccess !== 'string') {
452
+ return new TypeError('Expected "string" but received "' + typeof obj_orgAccess + '" (at "' + path_orgAccess + '")');
453
+ }
454
+ }
455
+ if (obj.planTemplateId !== undefined) {
456
+ const obj_planTemplateId = obj.planTemplateId;
457
+ const path_planTemplateId = path + '.planTemplateId';
458
+ if (typeof obj_planTemplateId !== 'string') {
459
+ return new TypeError('Expected "string" but received "' + typeof obj_planTemplateId + '" (at "' + path_planTemplateId + '")');
460
+ }
461
+ }
462
+ if (obj.planTemplateInput !== undefined) {
463
+ const obj_planTemplateInput = obj.planTemplateInput;
464
+ const path_planTemplateInput = path + '.planTemplateInput';
465
+ if (typeof obj_planTemplateInput !== 'object' || ArrayIsArray(obj_planTemplateInput) || obj_planTemplateInput === null) {
466
+ return new TypeError('Expected "object" but received "' + typeof obj_planTemplateInput + '" (at "' + path_planTemplateInput + '")');
467
+ }
468
+ const obj_planTemplateInput_keys = ObjectKeys(obj_planTemplateInput);
469
+ for (let i = 0; i < obj_planTemplateInput_keys.length; i++) {
470
+ const key = obj_planTemplateInput_keys[i];
471
+ const obj_planTemplateInput_prop = obj_planTemplateInput[key];
472
+ const path_planTemplateInput_prop = path_planTemplateInput + '["' + key + '"]';
473
+ if (typeof obj_planTemplateInput_prop !== 'string') {
474
+ return new TypeError('Expected "string" but received "' + typeof obj_planTemplateInput_prop + '" (at "' + path_planTemplateInput_prop + '")');
475
+ }
476
+ }
477
+ }
478
+ if (obj.type !== undefined) {
479
+ const obj_type = obj.type;
480
+ const path_type = path + '.type';
481
+ if (typeof obj_type !== 'string') {
482
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
483
+ }
484
+ }
485
+ if (obj.userUtterance !== undefined) {
486
+ const obj_userUtterance = obj.userUtterance;
487
+ const path_userUtterance = path + '.userUtterance';
488
+ if (typeof obj_userUtterance !== 'string') {
489
+ return new TypeError('Expected "string" but received "' + typeof obj_userUtterance + '" (at "' + path_userUtterance + '")');
490
+ }
491
+ }
492
+ })();
493
+ return v_error === undefined ? null : v_error;
494
+ }
495
+ const select$b = function CopilotQuickActionRepresentationSelect() {
496
+ return {
497
+ kind: 'Fragment',
498
+ version: VERSION$8,
499
+ private: [],
500
+ selections: [
501
+ {
502
+ name: 'actionApiName',
503
+ kind: 'Scalar',
504
+ required: false
505
+ },
506
+ {
507
+ name: 'createdDate',
508
+ kind: 'Scalar',
509
+ required: false
510
+ },
511
+ {
512
+ name: 'description',
513
+ kind: 'Scalar',
514
+ required: false
515
+ },
516
+ {
517
+ name: 'icon',
518
+ kind: 'Scalar',
519
+ required: false
520
+ },
521
+ {
522
+ name: 'intent',
523
+ kind: 'Scalar',
524
+ required: false
525
+ },
526
+ {
527
+ name: 'isGlobal',
528
+ kind: 'Scalar',
529
+ required: false
530
+ },
531
+ {
532
+ name: 'isStandard',
533
+ kind: 'Scalar',
534
+ required: false
535
+ },
536
+ {
537
+ name: 'label',
538
+ kind: 'Scalar',
539
+ required: false
540
+ },
541
+ {
542
+ name: 'lastModifiedDate',
543
+ kind: 'Scalar',
544
+ required: false
545
+ },
546
+ {
547
+ name: 'namespace',
548
+ kind: 'Scalar',
549
+ required: false
550
+ },
551
+ {
552
+ name: 'orgAccess',
553
+ kind: 'Scalar',
554
+ required: false
555
+ },
556
+ {
557
+ name: 'planTemplateId',
558
+ kind: 'Scalar',
559
+ required: false
560
+ },
561
+ {
562
+ name: 'planTemplateInput',
563
+ kind: 'Scalar',
564
+ map: true,
565
+ required: false
566
+ },
567
+ {
568
+ name: 'type',
569
+ kind: 'Scalar',
570
+ required: false
571
+ },
572
+ {
573
+ name: 'userUtterance',
574
+ kind: 'Scalar',
575
+ required: false
576
+ }
577
+ ]
578
+ };
579
+ };
580
+ function equals$8(existing, incoming) {
581
+ const existing_isGlobal = existing.isGlobal;
582
+ const incoming_isGlobal = incoming.isGlobal;
583
+ // if at least one of these optionals is defined
584
+ if (existing_isGlobal !== undefined || incoming_isGlobal !== undefined) {
585
+ // if one of these is not defined we know the other is defined and therefore
586
+ // not equal
587
+ if (existing_isGlobal === undefined || incoming_isGlobal === undefined) {
588
+ return false;
589
+ }
590
+ if (!(existing_isGlobal === incoming_isGlobal)) {
591
+ return false;
592
+ }
593
+ }
594
+ const existing_isStandard = existing.isStandard;
595
+ const incoming_isStandard = incoming.isStandard;
596
+ // if at least one of these optionals is defined
597
+ if (existing_isStandard !== undefined || incoming_isStandard !== undefined) {
598
+ // if one of these is not defined we know the other is defined and therefore
599
+ // not equal
600
+ if (existing_isStandard === undefined || incoming_isStandard === undefined) {
601
+ return false;
602
+ }
603
+ if (!(existing_isStandard === incoming_isStandard)) {
604
+ return false;
605
+ }
606
+ }
607
+ const existing_actionApiName = existing.actionApiName;
608
+ const incoming_actionApiName = incoming.actionApiName;
609
+ // if at least one of these optionals is defined
610
+ if (existing_actionApiName !== undefined || incoming_actionApiName !== undefined) {
611
+ // if one of these is not defined we know the other is defined and therefore
612
+ // not equal
613
+ if (existing_actionApiName === undefined || incoming_actionApiName === undefined) {
614
+ return false;
615
+ }
616
+ if (!(existing_actionApiName === incoming_actionApiName)) {
617
+ return false;
618
+ }
619
+ }
620
+ const existing_createdDate = existing.createdDate;
621
+ const incoming_createdDate = incoming.createdDate;
622
+ // if at least one of these optionals is defined
623
+ if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
624
+ // if one of these is not defined we know the other is defined and therefore
625
+ // not equal
626
+ if (existing_createdDate === undefined || incoming_createdDate === undefined) {
627
+ return false;
628
+ }
629
+ if (!(existing_createdDate === incoming_createdDate)) {
630
+ return false;
631
+ }
632
+ }
633
+ const existing_description = existing.description;
634
+ const incoming_description = incoming.description;
635
+ // if at least one of these optionals is defined
636
+ if (existing_description !== undefined || incoming_description !== undefined) {
637
+ // if one of these is not defined we know the other is defined and therefore
638
+ // not equal
639
+ if (existing_description === undefined || incoming_description === undefined) {
640
+ return false;
641
+ }
642
+ if (!(existing_description === incoming_description)) {
643
+ return false;
644
+ }
645
+ }
646
+ const existing_icon = existing.icon;
647
+ const incoming_icon = incoming.icon;
648
+ // if at least one of these optionals is defined
649
+ if (existing_icon !== undefined || incoming_icon !== undefined) {
650
+ // if one of these is not defined we know the other is defined and therefore
651
+ // not equal
652
+ if (existing_icon === undefined || incoming_icon === undefined) {
653
+ return false;
654
+ }
655
+ if (!(existing_icon === incoming_icon)) {
656
+ return false;
657
+ }
658
+ }
659
+ const existing_intent = existing.intent;
660
+ const incoming_intent = incoming.intent;
661
+ // if at least one of these optionals is defined
662
+ if (existing_intent !== undefined || incoming_intent !== undefined) {
663
+ // if one of these is not defined we know the other is defined and therefore
664
+ // not equal
665
+ if (existing_intent === undefined || incoming_intent === undefined) {
666
+ return false;
667
+ }
668
+ if (!(existing_intent === incoming_intent)) {
669
+ return false;
670
+ }
671
+ }
672
+ const existing_label = existing.label;
673
+ const incoming_label = incoming.label;
674
+ // if at least one of these optionals is defined
675
+ if (existing_label !== undefined || incoming_label !== undefined) {
676
+ // if one of these is not defined we know the other is defined and therefore
677
+ // not equal
678
+ if (existing_label === undefined || incoming_label === undefined) {
679
+ return false;
680
+ }
681
+ if (!(existing_label === incoming_label)) {
682
+ return false;
683
+ }
684
+ }
685
+ const existing_lastModifiedDate = existing.lastModifiedDate;
686
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
687
+ // if at least one of these optionals is defined
688
+ if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
689
+ // if one of these is not defined we know the other is defined and therefore
690
+ // not equal
691
+ if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
692
+ return false;
693
+ }
694
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
695
+ return false;
696
+ }
697
+ }
698
+ const existing_namespace = existing.namespace;
699
+ const incoming_namespace = incoming.namespace;
700
+ // if at least one of these optionals is defined
701
+ if (existing_namespace !== undefined || incoming_namespace !== undefined) {
702
+ // if one of these is not defined we know the other is defined and therefore
703
+ // not equal
704
+ if (existing_namespace === undefined || incoming_namespace === undefined) {
705
+ return false;
706
+ }
707
+ if (!(existing_namespace === incoming_namespace)) {
708
+ return false;
709
+ }
710
+ }
711
+ const existing_orgAccess = existing.orgAccess;
712
+ const incoming_orgAccess = incoming.orgAccess;
713
+ // if at least one of these optionals is defined
714
+ if (existing_orgAccess !== undefined || incoming_orgAccess !== undefined) {
715
+ // if one of these is not defined we know the other is defined and therefore
716
+ // not equal
717
+ if (existing_orgAccess === undefined || incoming_orgAccess === undefined) {
718
+ return false;
719
+ }
720
+ if (!(existing_orgAccess === incoming_orgAccess)) {
721
+ return false;
722
+ }
723
+ }
724
+ const existing_planTemplateId = existing.planTemplateId;
725
+ const incoming_planTemplateId = incoming.planTemplateId;
726
+ // if at least one of these optionals is defined
727
+ if (existing_planTemplateId !== undefined || incoming_planTemplateId !== undefined) {
728
+ // if one of these is not defined we know the other is defined and therefore
729
+ // not equal
730
+ if (existing_planTemplateId === undefined || incoming_planTemplateId === undefined) {
731
+ return false;
732
+ }
733
+ if (!(existing_planTemplateId === incoming_planTemplateId)) {
734
+ return false;
735
+ }
736
+ }
737
+ const existing_type = existing.type;
738
+ const incoming_type = incoming.type;
739
+ // if at least one of these optionals is defined
740
+ if (existing_type !== undefined || incoming_type !== undefined) {
741
+ // if one of these is not defined we know the other is defined and therefore
742
+ // not equal
743
+ if (existing_type === undefined || incoming_type === undefined) {
744
+ return false;
745
+ }
746
+ if (!(existing_type === incoming_type)) {
747
+ return false;
748
+ }
749
+ }
750
+ const existing_userUtterance = existing.userUtterance;
751
+ const incoming_userUtterance = incoming.userUtterance;
752
+ // if at least one of these optionals is defined
753
+ if (existing_userUtterance !== undefined || incoming_userUtterance !== undefined) {
754
+ // if one of these is not defined we know the other is defined and therefore
755
+ // not equal
756
+ if (existing_userUtterance === undefined || incoming_userUtterance === undefined) {
757
+ return false;
758
+ }
759
+ if (!(existing_userUtterance === incoming_userUtterance)) {
760
+ return false;
761
+ }
762
+ }
763
+ const existing_planTemplateInput = existing.planTemplateInput;
764
+ const incoming_planTemplateInput = incoming.planTemplateInput;
765
+ // if at least one of these optionals is defined
766
+ if (existing_planTemplateInput !== undefined || incoming_planTemplateInput !== undefined) {
767
+ // if one of these is not defined we know the other is defined and therefore
768
+ // not equal
769
+ if (existing_planTemplateInput === undefined || incoming_planTemplateInput === undefined) {
770
+ return false;
771
+ }
772
+ const equals_planTemplateInput_props = equalsObject(existing_planTemplateInput, incoming_planTemplateInput, (existing_planTemplateInput_prop, incoming_planTemplateInput_prop) => {
773
+ if (!(existing_planTemplateInput_prop === incoming_planTemplateInput_prop)) {
774
+ return false;
775
+ }
776
+ });
777
+ if (equals_planTemplateInput_props === false) {
778
+ return false;
779
+ }
780
+ }
781
+ return true;
782
+ }
783
+
784
+ const TTL$3 = 900000;
785
+ const VERSION$7 = "122e61b0db6dc38d244a87570efc5522";
786
+ function validate$8(obj, path = 'RecommendedActionsRepresentation') {
787
+ const v_error = (() => {
788
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
789
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
790
+ }
791
+ const obj_copilotQuickActions = obj.copilotQuickActions;
792
+ const path_copilotQuickActions = path + '.copilotQuickActions';
793
+ if (!ArrayIsArray(obj_copilotQuickActions)) {
794
+ return new TypeError('Expected "array" but received "' + typeof obj_copilotQuickActions + '" (at "' + path_copilotQuickActions + '")');
795
+ }
796
+ for (let i = 0; i < obj_copilotQuickActions.length; i++) {
797
+ const obj_copilotQuickActions_item = obj_copilotQuickActions[i];
798
+ const path_copilotQuickActions_item = path_copilotQuickActions + '[' + i + ']';
799
+ const referencepath_copilotQuickActions_itemValidationError = validate$9(obj_copilotQuickActions_item, path_copilotQuickActions_item);
800
+ if (referencepath_copilotQuickActions_itemValidationError !== null) {
801
+ let message = 'Object doesn\'t match CopilotQuickActionRepresentation (at "' + path_copilotQuickActions_item + '")\n';
802
+ message += referencepath_copilotQuickActions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
803
+ return new TypeError(message);
804
+ }
805
+ }
806
+ if (obj.errorMessage !== undefined) {
807
+ const obj_errorMessage = obj.errorMessage;
808
+ const path_errorMessage = path + '.errorMessage';
809
+ if (typeof obj_errorMessage !== 'string') {
810
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
811
+ }
812
+ }
813
+ const obj_isSuccess = obj.isSuccess;
814
+ const path_isSuccess = path + '.isSuccess';
815
+ if (typeof obj_isSuccess !== 'boolean') {
816
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
817
+ }
818
+ })();
819
+ return v_error === undefined ? null : v_error;
820
+ }
821
+ const RepresentationType$3 = 'RecommendedActionsRepresentation';
822
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
823
+ return input;
824
+ }
825
+ const select$a = function RecommendedActionsRepresentationSelect() {
826
+ const { selections: CopilotQuickActionRepresentation__selections, opaque: CopilotQuickActionRepresentation__opaque, } = select$b();
827
+ return {
828
+ kind: 'Fragment',
829
+ version: VERSION$7,
830
+ private: [],
831
+ selections: [
832
+ {
833
+ name: 'copilotQuickActions',
834
+ kind: 'Object',
835
+ plural: true,
836
+ selections: CopilotQuickActionRepresentation__selections
837
+ },
838
+ {
839
+ name: 'errorMessage',
840
+ kind: 'Scalar',
841
+ required: false
842
+ },
843
+ {
844
+ name: 'isSuccess',
845
+ kind: 'Scalar'
846
+ }
847
+ ]
848
+ };
849
+ };
850
+ function equals$7(existing, incoming) {
851
+ const existing_isSuccess = existing.isSuccess;
852
+ const incoming_isSuccess = incoming.isSuccess;
853
+ if (!(existing_isSuccess === incoming_isSuccess)) {
854
+ return false;
855
+ }
856
+ const existing_errorMessage = existing.errorMessage;
857
+ const incoming_errorMessage = incoming.errorMessage;
858
+ // if at least one of these optionals is defined
859
+ if (existing_errorMessage !== undefined || incoming_errorMessage !== undefined) {
860
+ // if one of these is not defined we know the other is defined and therefore
861
+ // not equal
862
+ if (existing_errorMessage === undefined || incoming_errorMessage === undefined) {
863
+ return false;
864
+ }
865
+ if (!(existing_errorMessage === incoming_errorMessage)) {
866
+ return false;
867
+ }
868
+ }
869
+ const existing_copilotQuickActions = existing.copilotQuickActions;
870
+ const incoming_copilotQuickActions = incoming.copilotQuickActions;
871
+ const equals_copilotQuickActions_items = equalsArray(existing_copilotQuickActions, incoming_copilotQuickActions, (existing_copilotQuickActions_item, incoming_copilotQuickActions_item) => {
872
+ if (!(equals$8(existing_copilotQuickActions_item, incoming_copilotQuickActions_item))) {
873
+ return false;
874
+ }
875
+ });
876
+ if (equals_copilotQuickActions_items === false) {
877
+ return false;
878
+ }
879
+ return true;
880
+ }
881
+ const ingest$3 = function RecommendedActionsRepresentationIngest(input, path, luvio, store, timestamp) {
216
882
  if (process.env.NODE_ENV !== 'production') {
217
883
  const validateError = validate$8(input);
218
884
  if (validateError !== null) {
@@ -238,14 +904,14 @@ function select$9(luvio, params) {
238
904
  return select$a();
239
905
  }
240
906
  function keyBuilder$5(luvio, params) {
241
- return keyPrefix + '::CopilotBotInfoRepresentation:(' + ')';
907
+ return keyPrefix + '::RecommendedActionsRepresentation:(' + 'pageName:' + params.queryParams.pageName + ',' + 'pageType:' + params.queryParams.pageType + ',' + 'actionName:' + params.queryParams.actionName + ',' + 'objectApiName:' + params.queryParams.objectApiName + ',' + 'customApplicationName:' + params.queryParams.customApplicationName + ',' + 'sessionId:' + params.queryParams.sessionId + ',' + 'formFactor:' + params.queryParams.formFactor + ')';
242
908
  }
243
909
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
244
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$5());
910
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
245
911
  }
246
912
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
247
913
  const { body } = response;
248
- const key = keyBuilder$5();
914
+ const key = keyBuilder$5(luvio, resourceParams);
249
915
  luvio.storeIngest(key, ingest$3, body);
250
916
  const snapshot = luvio.storeLookup({
251
917
  recordId: key,
@@ -261,7 +927,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
261
927
  return snapshot;
262
928
  }
263
929
  function ingestError$1(luvio, params, error, snapshotRefresh) {
264
- const key = keyBuilder$5();
930
+ const key = keyBuilder$5(luvio, params);
265
931
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
266
932
  const storeMetadataParams = {
267
933
  ttl: TTL$3,
@@ -276,26 +942,35 @@ function createResourceRequest$2(config) {
276
942
  const headers = {};
277
943
  return {
278
944
  baseUri: '/services/data/v60.0',
279
- basePath: '/connect/conversation-runtime-proxy',
945
+ basePath: '/connect/recommended-actions',
280
946
  method: 'get',
281
947
  body: null,
282
948
  urlParams: {},
283
- queryParams: {},
949
+ queryParams: config.queryParams,
284
950
  headers,
285
951
  priority: 'normal',
286
952
  };
287
953
  }
288
954
 
289
- const adapterName$2 = 'getBotId';
290
- const getBotId_ConfigPropertyMetadata = [];
291
- const getBotId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getBotId_ConfigPropertyMetadata);
292
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$3(getBotId_ConfigPropertyMetadata);
955
+ const adapterName$2 = 'getRecommendedActions';
956
+ const getRecommendedActions_ConfigPropertyMetadata = [
957
+ generateParamConfigMetadata('pageName', false, 1 /* QueryParameter */, 0 /* String */),
958
+ generateParamConfigMetadata('pageType', false, 1 /* QueryParameter */, 0 /* String */),
959
+ generateParamConfigMetadata('actionName', false, 1 /* QueryParameter */, 0 /* String */),
960
+ generateParamConfigMetadata('objectApiName', false, 1 /* QueryParameter */, 0 /* String */),
961
+ generateParamConfigMetadata('customApplicationName', false, 1 /* QueryParameter */, 0 /* String */),
962
+ generateParamConfigMetadata('sessionId', false, 1 /* QueryParameter */, 0 /* String */),
963
+ generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */),
964
+ ];
965
+ const getRecommendedActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getRecommendedActions_ConfigPropertyMetadata);
966
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(getRecommendedActions_ConfigPropertyMetadata);
293
967
  function keyBuilder$4(luvio, config) {
294
- createResourceParams$2(config);
295
- return keyBuilder$5();
968
+ const resourceParams = createResourceParams$2(config);
969
+ return keyBuilder$5(luvio, resourceParams);
296
970
  }
297
971
  function typeCheckConfig$2(untrustedConfig) {
298
972
  const config = {};
973
+ typeCheckConfig$4(untrustedConfig, config, getRecommendedActions_ConfigPropertyMetadata);
299
974
  return config;
300
975
  }
301
976
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -305,7 +980,7 @@ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
305
980
  if (process.env.NODE_ENV !== 'production') {
306
981
  validateConfig(untrustedConfig, configPropertyNames);
307
982
  }
308
- const config = typeCheckConfig$2();
983
+ const config = typeCheckConfig$2(untrustedConfig);
309
984
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
310
985
  return null;
311
986
  }
@@ -331,7 +1006,7 @@ function onFetchResponseError$1(luvio, config, resourceParams, response) {
331
1006
  }
332
1007
  function buildNetworkSnapshot$2(luvio, config, options) {
333
1008
  const resourceParams = createResourceParams$2(config);
334
- const request = createResourceRequest$2();
1009
+ const request = createResourceRequest$2(resourceParams);
335
1010
  return luvio.dispatchResourceRequest(request, options)
336
1011
  .then((response) => {
337
1012
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
@@ -344,7 +1019,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
344
1019
  });
345
1020
  }
346
1021
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
347
- return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1022
+ return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
348
1023
  }
349
1024
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
350
1025
  const { luvio, config } = context;
@@ -359,8 +1034,8 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
359
1034
  });
360
1035
  return cacheSnapshot;
361
1036
  }
362
- const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(untrustedConfig, requestContext) {
363
- const config = validateAdapterConfig$2(untrustedConfig, getBotId_ConfigPropertyNames);
1037
+ const getRecommendedActionsAdapterFactory = (luvio) => function einsteinCopilotBot__getRecommendedActions(untrustedConfig, requestContext) {
1038
+ const config = validateAdapterConfig$2(untrustedConfig, getRecommendedActions_ConfigPropertyNames);
364
1039
  // Invalid or incomplete config
365
1040
  if (config === null) {
366
1041
  return null;
@@ -653,14 +1328,14 @@ const getRecommendedPlanTemplates_ConfigPropertyMetadata = [
653
1328
  generateParamConfigMetadata('objectType', true, 0 /* UrlParameter */, 0 /* String */),
654
1329
  ];
655
1330
  const getRecommendedPlanTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getRecommendedPlanTemplates_ConfigPropertyMetadata);
656
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getRecommendedPlanTemplates_ConfigPropertyMetadata);
1331
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(getRecommendedPlanTemplates_ConfigPropertyMetadata);
657
1332
  function keyBuilder$2(luvio, config) {
658
1333
  const resourceParams = createResourceParams$1(config);
659
1334
  return keyBuilder$3(luvio, resourceParams);
660
1335
  }
661
1336
  function typeCheckConfig$1(untrustedConfig) {
662
1337
  const config = {};
663
- typeCheckConfig$3(untrustedConfig, config, getRecommendedPlanTemplates_ConfigPropertyMetadata);
1338
+ typeCheckConfig$4(untrustedConfig, config, getRecommendedPlanTemplates_ConfigPropertyMetadata);
664
1339
  return config;
665
1340
  }
666
1341
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -709,7 +1384,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
709
1384
  });
710
1385
  }
711
1386
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
712
- return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
1387
+ return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
713
1388
  }
714
1389
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
715
1390
  const { luvio, config } = context;
@@ -1015,7 +1690,7 @@ function equals$2(existing, incoming) {
1015
1690
  }
1016
1691
 
1017
1692
  const TTL$1 = 30000;
1018
- const VERSION$1 = "55ac02bd055f57a2a12aa0fa4844d1a2";
1693
+ const VERSION$1 = "205b55ee28d637afd2916e42363d735f";
1019
1694
  function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation') {
1020
1695
  const v_error = (() => {
1021
1696
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1147,6 +1822,34 @@ function validate$1(obj, path = 'ConversationRuntimeProxyMessageRepresentation')
1147
1822
  if (typeof obj_id !== 'string') {
1148
1823
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1149
1824
  }
1825
+ if (obj.isContentSafe !== undefined) {
1826
+ const obj_isContentSafe = obj.isContentSafe;
1827
+ const path_isContentSafe = path + '.isContentSafe';
1828
+ let obj_isContentSafe_union0 = null;
1829
+ const obj_isContentSafe_union0_error = (() => {
1830
+ if (typeof obj_isContentSafe !== 'boolean') {
1831
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isContentSafe + '" (at "' + path_isContentSafe + '")');
1832
+ }
1833
+ })();
1834
+ if (obj_isContentSafe_union0_error != null) {
1835
+ obj_isContentSafe_union0 = obj_isContentSafe_union0_error.message;
1836
+ }
1837
+ let obj_isContentSafe_union1 = null;
1838
+ const obj_isContentSafe_union1_error = (() => {
1839
+ if (obj_isContentSafe !== null) {
1840
+ return new TypeError('Expected "null" but received "' + typeof obj_isContentSafe + '" (at "' + path_isContentSafe + '")');
1841
+ }
1842
+ })();
1843
+ if (obj_isContentSafe_union1_error != null) {
1844
+ obj_isContentSafe_union1 = obj_isContentSafe_union1_error.message;
1845
+ }
1846
+ if (obj_isContentSafe_union0 && obj_isContentSafe_union1) {
1847
+ let message = 'Object doesn\'t match union (at "' + path_isContentSafe + '")';
1848
+ message += '\n' + obj_isContentSafe_union0.split('\n').map((line) => '\t' + line).join('\n');
1849
+ message += '\n' + obj_isContentSafe_union1.split('\n').map((line) => '\t' + line).join('\n');
1850
+ return new TypeError(message);
1851
+ }
1852
+ }
1150
1853
  if (obj.message !== undefined) {
1151
1854
  const obj_message = obj.message;
1152
1855
  const path_message = path + '.message';
@@ -1377,6 +2080,11 @@ const select$2 = function ConversationRuntimeProxyMessageRepresentationSelect()
1377
2080
  name: 'id',
1378
2081
  kind: 'Scalar'
1379
2082
  },
2083
+ {
2084
+ name: 'isContentSafe',
2085
+ kind: 'Scalar',
2086
+ required: false
2087
+ },
1380
2088
  {
1381
2089
  name: 'message',
1382
2090
  kind: 'Scalar',
@@ -1534,6 +2242,19 @@ function equals$1(existing, incoming) {
1534
2242
  return false;
1535
2243
  }
1536
2244
  }
2245
+ const existing_isContentSafe = existing.isContentSafe;
2246
+ const incoming_isContentSafe = incoming.isContentSafe;
2247
+ // if at least one of these optionals is defined
2248
+ if (existing_isContentSafe !== undefined || incoming_isContentSafe !== undefined) {
2249
+ // if one of these is not defined we know the other is defined and therefore
2250
+ // not equal
2251
+ if (existing_isContentSafe === undefined || incoming_isContentSafe === undefined) {
2252
+ return false;
2253
+ }
2254
+ if (!(existing_isContentSafe === incoming_isContentSafe)) {
2255
+ return false;
2256
+ }
2257
+ }
1537
2258
  const existing_message = existing.message;
1538
2259
  const incoming_message = incoming.message;
1539
2260
  // if at least one of these optionals is defined
@@ -1884,10 +2605,10 @@ const sendMessage_ConfigPropertyMetadata = [
1884
2605
  generateParamConfigMetadata('variables', false, 2 /* Body */, 4 /* Unsupported */, true),
1885
2606
  ];
1886
2607
  const sendMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, sendMessage_ConfigPropertyMetadata);
1887
- const createResourceParams = /*#__PURE__*/ createResourceParams$3(sendMessage_ConfigPropertyMetadata);
2608
+ const createResourceParams = /*#__PURE__*/ createResourceParams$4(sendMessage_ConfigPropertyMetadata);
1888
2609
  function typeCheckConfig(untrustedConfig) {
1889
2610
  const config = {};
1890
- typeCheckConfig$3(untrustedConfig, config, sendMessage_ConfigPropertyMetadata);
2611
+ typeCheckConfig$4(untrustedConfig, config, sendMessage_ConfigPropertyMetadata);
1891
2612
  const untrustedConfig_planTemplateVariables = untrustedConfig.planTemplateVariables;
1892
2613
  config.planTemplateVariables = untrustedConfig_planTemplateVariables;
1893
2614
  const untrustedConfig_reply = untrustedConfig.reply;
@@ -1959,13 +2680,20 @@ const sendMessageAdapterFactory = (luvio) => {
1959
2680
  };
1960
2681
 
1961
2682
  let getBotId;
2683
+ let getRecommendedActions;
1962
2684
  let getRecommendedPlanTemplates;
1963
2685
  let sendMessage;
1964
2686
  // Imperative GET Adapters
1965
2687
  let getBotId_imperative;
2688
+ let getRecommendedActions_imperative;
1966
2689
  let getRecommendedPlanTemplates_imperative;
1967
2690
  // Adapter Metadata
1968
2691
  const getBotIdMetadata = { apiFamily: 'einsteincopilot-bot', name: 'getBotId', ttl: 30000 };
2692
+ const getRecommendedActionsMetadata = {
2693
+ apiFamily: 'einsteincopilot-bot',
2694
+ name: 'getRecommendedActions',
2695
+ ttl: 900000,
2696
+ };
1969
2697
  const getRecommendedPlanTemplatesMetadata = {
1970
2698
  apiFamily: 'einsteincopilot-bot',
1971
2699
  name: 'getRecommendedPlanTemplates',
@@ -1975,6 +2703,7 @@ const getRecommendedPlanTemplatesMetadata = {
1975
2703
  function bindExportsTo(luvio) {
1976
2704
  // LDS Adapters
1977
2705
  const getBotId_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getBotId', getBotIdAdapterFactory), getBotIdMetadata);
2706
+ const getRecommendedActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecommendedActions', getRecommendedActionsAdapterFactory), getRecommendedActionsMetadata);
1978
2707
  const getRecommendedPlanTemplates_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecommendedPlanTemplates', getRecommendedPlanTemplatesAdapterFactory), getRecommendedPlanTemplatesMetadata);
1979
2708
  function unwrapSnapshotData(factory) {
1980
2709
  const adapter = factory(luvio);
@@ -1982,10 +2711,12 @@ function bindExportsTo(luvio) {
1982
2711
  }
1983
2712
  return {
1984
2713
  getBotId: createWireAdapterConstructor(luvio, getBotId_ldsAdapter, getBotIdMetadata),
2714
+ getRecommendedActions: createWireAdapterConstructor(luvio, getRecommendedActions_ldsAdapter, getRecommendedActionsMetadata),
1985
2715
  getRecommendedPlanTemplates: createWireAdapterConstructor(luvio, getRecommendedPlanTemplates_ldsAdapter, getRecommendedPlanTemplatesMetadata),
1986
2716
  sendMessage: unwrapSnapshotData(sendMessageAdapterFactory),
1987
2717
  // Imperative GET Adapters
1988
2718
  getBotId_imperative: createImperativeAdapter(luvio, getBotId_ldsAdapter, getBotIdMetadata),
2719
+ getRecommendedActions_imperative: createImperativeAdapter(luvio, getRecommendedActions_ldsAdapter, getRecommendedActionsMetadata),
1989
2720
  getRecommendedPlanTemplates_imperative: createImperativeAdapter(luvio, getRecommendedPlanTemplates_ldsAdapter, getRecommendedPlanTemplatesMetadata),
1990
2721
  // Notify Update Availables
1991
2722
  };
@@ -1993,12 +2724,14 @@ function bindExportsTo(luvio) {
1993
2724
  withDefaultLuvio((luvio) => {
1994
2725
  ({
1995
2726
  getBotId,
2727
+ getRecommendedActions,
1996
2728
  getRecommendedPlanTemplates,
1997
2729
  sendMessage,
1998
2730
  getBotId_imperative,
2731
+ getRecommendedActions_imperative,
1999
2732
  getRecommendedPlanTemplates_imperative,
2000
2733
  } = bindExportsTo(luvio));
2001
2734
  });
2002
2735
 
2003
- export { getBotId, getBotId_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, sendMessage };
2004
- // version: 1.266.0-dev21-7d5715511
2736
+ export { getBotId, getBotId_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, sendMessage };
2737
+ // version: 1.266.0-dev23-ee4a925f1