@salesforce/lds-adapters-service-einstein-copilot-bot 1.287.0-dev14 → 1.287.0-dev15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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$3, StoreKeyMap, createResourceParams as createResourceParams$5, typeCheckConfig as typeCheckConfig$5 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4, StoreKeyMap, createResourceParams as createResourceParams$6, typeCheckConfig as typeCheckConfig$6 } 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$5 = 30000;
126
- const VERSION$a = "ab85410a28124cfed3d8eae7b8236853";
127
- function validate$b(obj, path = 'CopilotBotInfoRepresentation') {
125
+ const TTL$6 = 30000;
126
+ const VERSION$c = "ab85410a28124cfed3d8eae7b8236853";
127
+ function validate$j(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$b(obj, path = 'CopilotBotInfoRepresentation') {
151
151
  })();
152
152
  return v_error === undefined ? null : v_error;
153
153
  }
154
- const RepresentationType$5 = 'CopilotBotInfoRepresentation';
155
- function normalize$5(input, existing, path, luvio, store, timestamp) {
154
+ const RepresentationType$6 = 'CopilotBotInfoRepresentation';
155
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
156
156
  return input;
157
157
  }
158
- const select$f = function CopilotBotInfoRepresentationSelect() {
158
+ const select$i = function CopilotBotInfoRepresentationSelect() {
159
159
  return {
160
160
  kind: 'Fragment',
161
- version: VERSION$a,
161
+ version: VERSION$c,
162
162
  private: [],
163
163
  selections: [
164
164
  {
@@ -178,7 +178,7 @@ const select$f = function CopilotBotInfoRepresentationSelect() {
178
178
  ]
179
179
  };
180
180
  };
181
- function equals$a(existing, incoming) {
181
+ function equals$c(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,485 @@ function equals$a(existing, incoming) {
212
212
  }
213
213
  return true;
214
214
  }
215
- const ingest$5 = function CopilotBotInfoRepresentationIngest(input, path, luvio, store, timestamp) {
215
+ const ingest$6 = function CopilotBotInfoRepresentationIngest(input, path, luvio, store, timestamp) {
216
+ if (process.env.NODE_ENV !== 'production') {
217
+ const validateError = validate$j(input);
218
+ if (validateError !== null) {
219
+ throw validateError;
220
+ }
221
+ }
222
+ const key = path.fullPath;
223
+ const ttlToUse = TTL$6;
224
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "einstein-copilot-bot", VERSION$c, RepresentationType$6, equals$c);
225
+ return createLink(key);
226
+ };
227
+ function getTypeCacheKeys$6(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$6,
233
+ mergeable: false
234
+ });
235
+ }
236
+
237
+ function select$h(luvio, params) {
238
+ return select$i();
239
+ }
240
+ function keyBuilder$a(luvio, params) {
241
+ return keyPrefix + '::CopilotBotInfoRepresentation:(' + ')';
242
+ }
243
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
244
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$a());
245
+ }
246
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
247
+ const { body } = response;
248
+ const key = keyBuilder$a();
249
+ luvio.storeIngest(key, ingest$6, body);
250
+ const snapshot = luvio.storeLookup({
251
+ recordId: key,
252
+ node: select$h(),
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$3(luvio, params, error, snapshotRefresh) {
264
+ const key = keyBuilder$a();
265
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
266
+ const storeMetadataParams = {
267
+ ttl: TTL$6,
268
+ namespace: keyPrefix,
269
+ version: VERSION$c,
270
+ representationName: RepresentationType$6
271
+ };
272
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
273
+ return errorSnapshot;
274
+ }
275
+ function createResourceRequest$5(config) {
276
+ const headers = {};
277
+ return {
278
+ baseUri: '/services/data/v61.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$5 = 'getBotId';
290
+ const getBotId_ConfigPropertyMetadata = [];
291
+ const getBotId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getBotId_ConfigPropertyMetadata);
292
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(getBotId_ConfigPropertyMetadata);
293
+ function keyBuilder$9(luvio, config) {
294
+ createResourceParams$5(config);
295
+ return keyBuilder$a();
296
+ }
297
+ function typeCheckConfig$5(untrustedConfig) {
298
+ const config = {};
299
+ return config;
300
+ }
301
+ function validateAdapterConfig$5(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$5();
309
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
310
+ return null;
311
+ }
312
+ return config;
313
+ }
314
+ function adapterFragment$3(luvio, config) {
315
+ createResourceParams$5(config);
316
+ return select$h();
317
+ }
318
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
319
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
320
+ config,
321
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
322
+ });
323
+ return luvio.storeBroadcast().then(() => snapshot);
324
+ }
325
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
326
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
327
+ config,
328
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
329
+ });
330
+ return luvio.storeBroadcast().then(() => snapshot);
331
+ }
332
+ function buildNetworkSnapshot$5(luvio, config, options) {
333
+ const resourceParams = createResourceParams$5(config);
334
+ const request = createResourceRequest$5();
335
+ return luvio.dispatchResourceRequest(request, options)
336
+ .then((response) => {
337
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
338
+ const cache = new StoreKeyMap();
339
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
340
+ return cache;
341
+ });
342
+ }, (response) => {
343
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
344
+ });
345
+ }
346
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
347
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
348
+ }
349
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
350
+ const { luvio, config } = context;
351
+ const selector = {
352
+ recordId: keyBuilder$9(luvio, config),
353
+ node: adapterFragment$3(luvio, config),
354
+ variables: {},
355
+ };
356
+ const cacheSnapshot = storeLookup(selector, {
357
+ config,
358
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
359
+ });
360
+ return cacheSnapshot;
361
+ }
362
+ const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(untrustedConfig, requestContext) {
363
+ const config = validateAdapterConfig$5(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$3, buildNetworkSnapshotCachePolicy$3);
370
+ };
371
+
372
+ function validate$i(obj, path = 'FollowUpActionsDesignConfigRepresentation') {
373
+ const v_error = (() => {
374
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
375
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
376
+ }
377
+ if (obj.subViewDefinitions !== undefined) {
378
+ const obj_subViewDefinitions = obj.subViewDefinitions;
379
+ const path_subViewDefinitions = path + '.subViewDefinitions';
380
+ if (typeof obj_subViewDefinitions !== 'boolean') {
381
+ return new TypeError('Expected "boolean" but received "' + typeof obj_subViewDefinitions + '" (at "' + path_subViewDefinitions + '")');
382
+ }
383
+ }
384
+ if (obj.target !== undefined) {
385
+ const obj_target = obj.target;
386
+ const path_target = path + '.target';
387
+ if (typeof obj_target !== 'string') {
388
+ return new TypeError('Expected "string" but received "' + typeof obj_target + '" (at "' + path_target + '")');
389
+ }
390
+ }
391
+ })();
392
+ return v_error === undefined ? null : v_error;
393
+ }
394
+
395
+ function validate$h(obj, path = 'FollowUpActionsRenditionConfigRepresentation') {
396
+ const v_error = (() => {
397
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
398
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
399
+ }
400
+ if (obj.subViewDefinitions !== undefined) {
401
+ const obj_subViewDefinitions = obj.subViewDefinitions;
402
+ const path_subViewDefinitions = path + '.subViewDefinitions';
403
+ if (typeof obj_subViewDefinitions !== 'boolean') {
404
+ return new TypeError('Expected "boolean" but received "' + typeof obj_subViewDefinitions + '" (at "' + path_subViewDefinitions + '")');
405
+ }
406
+ }
407
+ if (obj.target !== undefined) {
408
+ const obj_target = obj.target;
409
+ const path_target = path + '.target';
410
+ if (typeof obj_target !== 'string') {
411
+ return new TypeError('Expected "string" but received "' + typeof obj_target + '" (at "' + path_target + '")');
412
+ }
413
+ }
414
+ })();
415
+ return v_error === undefined ? null : v_error;
416
+ }
417
+
418
+ function validate$g(obj, path = 'FollowUpActionsFilterConfigRepresentation') {
419
+ const v_error = (() => {
420
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
421
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
422
+ }
423
+ if (obj.propertyNames !== undefined) {
424
+ const obj_propertyNames = obj.propertyNames;
425
+ const path_propertyNames = path + '.propertyNames';
426
+ if (!ArrayIsArray(obj_propertyNames)) {
427
+ return new TypeError('Expected "array" but received "' + typeof obj_propertyNames + '" (at "' + path_propertyNames + '")');
428
+ }
429
+ for (let i = 0; i < obj_propertyNames.length; i++) {
430
+ const obj_propertyNames_item = obj_propertyNames[i];
431
+ const path_propertyNames_item = path_propertyNames + '[' + i + ']';
432
+ if (typeof obj_propertyNames_item !== 'string') {
433
+ return new TypeError('Expected "string" but received "' + typeof obj_propertyNames_item + '" (at "' + path_propertyNames_item + '")');
434
+ }
435
+ }
436
+ }
437
+ })();
438
+ return v_error === undefined ? null : v_error;
439
+ }
440
+
441
+ function validate$f(obj, path = 'FollowUpActionsSchemaConfigRepresentation') {
442
+ const v_error = (() => {
443
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
444
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
445
+ }
446
+ if (obj.filterConfig !== undefined) {
447
+ const obj_filterConfig = obj.filterConfig;
448
+ const path_filterConfig = path + '.filterConfig';
449
+ const referencepath_filterConfigValidationError = validate$g(obj_filterConfig, path_filterConfig);
450
+ if (referencepath_filterConfigValidationError !== null) {
451
+ let message = 'Object doesn\'t match FollowUpActionsFilterConfigRepresentation (at "' + path_filterConfig + '")\n';
452
+ message += referencepath_filterConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
453
+ return new TypeError(message);
454
+ }
455
+ }
456
+ if (obj.subSchemaDefinitions !== undefined) {
457
+ const obj_subSchemaDefinitions = obj.subSchemaDefinitions;
458
+ const path_subSchemaDefinitions = path + '.subSchemaDefinitions';
459
+ if (typeof obj_subSchemaDefinitions !== 'boolean') {
460
+ return new TypeError('Expected "boolean" but received "' + typeof obj_subSchemaDefinitions + '" (at "' + path_subSchemaDefinitions + '")');
461
+ }
462
+ }
463
+ })();
464
+ return v_error === undefined ? null : v_error;
465
+ }
466
+
467
+ function validate$e(obj, path = 'FollowUpActionsSourceDescriptorRepresentation') {
468
+ const v_error = (() => {
469
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
470
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
471
+ }
472
+ if (obj.descriptor !== undefined) {
473
+ const obj_descriptor = obj.descriptor;
474
+ const path_descriptor = path + '.descriptor';
475
+ if (typeof obj_descriptor !== 'string') {
476
+ return new TypeError('Expected "string" but received "' + typeof obj_descriptor + '" (at "' + path_descriptor + '")');
477
+ }
478
+ }
479
+ if (obj.propertyName !== undefined) {
480
+ const obj_propertyName = obj.propertyName;
481
+ const path_propertyName = path + '.propertyName';
482
+ if (typeof obj_propertyName !== 'string') {
483
+ return new TypeError('Expected "string" but received "' + typeof obj_propertyName + '" (at "' + path_propertyName + '")');
484
+ }
485
+ }
486
+ })();
487
+ return v_error === undefined ? null : v_error;
488
+ }
489
+
490
+ function validate$d(obj, path = 'FollowUpActionsInputRepresentation') {
491
+ const v_error = (() => {
492
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
493
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
494
+ }
495
+ const obj_descriptor = obj.descriptor;
496
+ const path_descriptor = path + '.descriptor';
497
+ if (typeof obj_descriptor !== 'string') {
498
+ return new TypeError('Expected "string" but received "' + typeof obj_descriptor + '" (at "' + path_descriptor + '")');
499
+ }
500
+ if (obj.designConfig !== undefined) {
501
+ const obj_designConfig = obj.designConfig;
502
+ const path_designConfig = path + '.designConfig';
503
+ const referencepath_designConfigValidationError = validate$i(obj_designConfig, path_designConfig);
504
+ if (referencepath_designConfigValidationError !== null) {
505
+ let message = 'Object doesn\'t match FollowUpActionsDesignConfigRepresentation (at "' + path_designConfig + '")\n';
506
+ message += referencepath_designConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
507
+ return new TypeError(message);
508
+ }
509
+ }
510
+ if (obj.renditionConfig !== undefined) {
511
+ const obj_renditionConfig = obj.renditionConfig;
512
+ const path_renditionConfig = path + '.renditionConfig';
513
+ const referencepath_renditionConfigValidationError = validate$h(obj_renditionConfig, path_renditionConfig);
514
+ if (referencepath_renditionConfigValidationError !== null) {
515
+ let message = 'Object doesn\'t match FollowUpActionsRenditionConfigRepresentation (at "' + path_renditionConfig + '")\n';
516
+ message += referencepath_renditionConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
517
+ return new TypeError(message);
518
+ }
519
+ }
520
+ if (obj.schemaConfig !== undefined) {
521
+ const obj_schemaConfig = obj.schemaConfig;
522
+ const path_schemaConfig = path + '.schemaConfig';
523
+ const referencepath_schemaConfigValidationError = validate$f(obj_schemaConfig, path_schemaConfig);
524
+ if (referencepath_schemaConfigValidationError !== null) {
525
+ let message = 'Object doesn\'t match FollowUpActionsSchemaConfigRepresentation (at "' + path_schemaConfig + '")\n';
526
+ message += referencepath_schemaConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
527
+ return new TypeError(message);
528
+ }
529
+ }
530
+ if (obj.sourceDescriptor !== undefined) {
531
+ const obj_sourceDescriptor = obj.sourceDescriptor;
532
+ const path_sourceDescriptor = path + '.sourceDescriptor';
533
+ const referencepath_sourceDescriptorValidationError = validate$e(obj_sourceDescriptor, path_sourceDescriptor);
534
+ if (referencepath_sourceDescriptorValidationError !== null) {
535
+ let message = 'Object doesn\'t match FollowUpActionsSourceDescriptorRepresentation (at "' + path_sourceDescriptor + '")\n';
536
+ message += referencepath_sourceDescriptorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
537
+ return new TypeError(message);
538
+ }
539
+ }
540
+ })();
541
+ return v_error === undefined ? null : v_error;
542
+ }
543
+
544
+ const VERSION$b = "f3b8da658dda1468e0357f1fad159c79";
545
+ function validate$c(obj, path = 'FollowUpActionsRepresentation') {
546
+ const v_error = (() => {
547
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
548
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
549
+ }
550
+ const obj_actions = obj.actions;
551
+ const path_actions = path + '.actions';
552
+ if (obj_actions === undefined) {
553
+ return new TypeError('Expected "defined" but received "' + typeof obj_actions + '" (at "' + path_actions + '")');
554
+ }
555
+ const obj_blockRenderers = obj.blockRenderers;
556
+ const path_blockRenderers = path + '.blockRenderers';
557
+ if (obj_blockRenderers === undefined) {
558
+ return new TypeError('Expected "defined" but received "' + typeof obj_blockRenderers + '" (at "' + path_blockRenderers + '")');
559
+ }
560
+ })();
561
+ return v_error === undefined ? null : v_error;
562
+ }
563
+ const select$g = function FollowUpActionsRepresentationSelect() {
564
+ return {
565
+ kind: 'Fragment',
566
+ version: VERSION$b,
567
+ private: [],
568
+ selections: [
569
+ {
570
+ name: 'actions',
571
+ kind: 'Object',
572
+ // any
573
+ },
574
+ {
575
+ name: 'blockRenderers',
576
+ kind: 'Object',
577
+ // any
578
+ }
579
+ ]
580
+ };
581
+ };
582
+ function equals$b(existing, incoming) {
583
+ const existing_actions = existing.actions;
584
+ const incoming_actions = incoming.actions;
585
+ if (JSONStringify(incoming_actions) !== JSONStringify(existing_actions)) {
586
+ return false;
587
+ }
588
+ const existing_blockRenderers = existing.blockRenderers;
589
+ const incoming_blockRenderers = incoming.blockRenderers;
590
+ if (JSONStringify(incoming_blockRenderers) !== JSONStringify(existing_blockRenderers)) {
591
+ return false;
592
+ }
593
+ return true;
594
+ }
595
+
596
+ const TTL$5 = 900000;
597
+ const VERSION$a = "280b43a12fefd5d1adb432fd664b7def";
598
+ function validate$b(obj, path = 'CopilotFollowUpActionsRepresentation') {
599
+ const v_error = (() => {
600
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
601
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
602
+ }
603
+ const obj_actions = obj.actions;
604
+ const path_actions = path + '.actions';
605
+ if (!ArrayIsArray(obj_actions)) {
606
+ return new TypeError('Expected "array" but received "' + typeof obj_actions + '" (at "' + path_actions + '")');
607
+ }
608
+ for (let i = 0; i < obj_actions.length; i++) {
609
+ const obj_actions_item = obj_actions[i];
610
+ const path_actions_item = path_actions + '[' + i + ']';
611
+ const referencepath_actions_itemValidationError = validate$c(obj_actions_item, path_actions_item);
612
+ if (referencepath_actions_itemValidationError !== null) {
613
+ let message = 'Object doesn\'t match FollowUpActionsRepresentation (at "' + path_actions_item + '")\n';
614
+ message += referencepath_actions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
615
+ return new TypeError(message);
616
+ }
617
+ }
618
+ if (obj.errorMessage !== undefined) {
619
+ const obj_errorMessage = obj.errorMessage;
620
+ const path_errorMessage = path + '.errorMessage';
621
+ if (typeof obj_errorMessage !== 'string') {
622
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
623
+ }
624
+ }
625
+ const obj_isSuccess = obj.isSuccess;
626
+ const path_isSuccess = path + '.isSuccess';
627
+ if (typeof obj_isSuccess !== 'boolean') {
628
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
629
+ }
630
+ })();
631
+ return v_error === undefined ? null : v_error;
632
+ }
633
+ const RepresentationType$5 = 'CopilotFollowUpActionsRepresentation';
634
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
635
+ return input;
636
+ }
637
+ const select$f = function CopilotFollowUpActionsRepresentationSelect() {
638
+ const { selections: FollowUpActionsRepresentation__selections, opaque: FollowUpActionsRepresentation__opaque, } = select$g();
639
+ return {
640
+ kind: 'Fragment',
641
+ version: VERSION$a,
642
+ private: [],
643
+ selections: [
644
+ {
645
+ name: 'actions',
646
+ kind: 'Object',
647
+ plural: true,
648
+ selections: FollowUpActionsRepresentation__selections
649
+ },
650
+ {
651
+ name: 'errorMessage',
652
+ kind: 'Scalar',
653
+ required: false
654
+ },
655
+ {
656
+ name: 'isSuccess',
657
+ kind: 'Scalar'
658
+ }
659
+ ]
660
+ };
661
+ };
662
+ function equals$a(existing, incoming) {
663
+ const existing_isSuccess = existing.isSuccess;
664
+ const incoming_isSuccess = incoming.isSuccess;
665
+ if (!(existing_isSuccess === incoming_isSuccess)) {
666
+ return false;
667
+ }
668
+ const existing_errorMessage = existing.errorMessage;
669
+ const incoming_errorMessage = incoming.errorMessage;
670
+ // if at least one of these optionals is defined
671
+ if (existing_errorMessage !== undefined || incoming_errorMessage !== undefined) {
672
+ // if one of these is not defined we know the other is defined and therefore
673
+ // not equal
674
+ if (existing_errorMessage === undefined || incoming_errorMessage === undefined) {
675
+ return false;
676
+ }
677
+ if (!(existing_errorMessage === incoming_errorMessage)) {
678
+ return false;
679
+ }
680
+ }
681
+ const existing_actions = existing.actions;
682
+ const incoming_actions = incoming.actions;
683
+ const equals_actions_items = equalsArray(existing_actions, incoming_actions, (existing_actions_item, incoming_actions_item) => {
684
+ if (!(equals$b(existing_actions_item, incoming_actions_item))) {
685
+ return false;
686
+ }
687
+ });
688
+ if (equals_actions_items === false) {
689
+ return false;
690
+ }
691
+ return true;
692
+ }
693
+ const ingest$5 = function CopilotFollowUpActionsRepresentationIngest(input, path, luvio, store, timestamp) {
216
694
  if (process.env.NODE_ENV !== 'production') {
217
695
  const validateError = validate$b(input);
218
696
  if (validateError !== null) {
@@ -238,14 +716,14 @@ function select$e(luvio, params) {
238
716
  return select$f();
239
717
  }
240
718
  function keyBuilder$8(luvio, params) {
241
- return keyPrefix + '::CopilotBotInfoRepresentation:(' + ')';
719
+ return keyPrefix + '::CopilotFollowUpActionsRepresentation:(' + (params.body.language === undefined ? 'language' : 'language:' + params.body.language) + '::' + '[' + params.body.followUpActionsInputs.map(element => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t; return 'followUpActionsInputs.descriptor:' + element.descriptor + '::' + (((_a = element.sourceDescriptor) === null || _a === void 0 ? void 0 : _a.descriptor) === undefined ? 'followUpActionsInputs.sourceDescriptor.descriptor' : 'followUpActionsInputs.sourceDescriptor.descriptor:' + ((_b = element.sourceDescriptor) === null || _b === void 0 ? void 0 : _b.descriptor)) + '::' + (((_c = element.sourceDescriptor) === null || _c === void 0 ? void 0 : _c.propertyName) === undefined ? 'followUpActionsInputs.sourceDescriptor.propertyName' : 'followUpActionsInputs.sourceDescriptor.propertyName:' + ((_d = element.sourceDescriptor) === null || _d === void 0 ? void 0 : _d.propertyName)) + '::' + (((_e = element.schemaConfig) === null || _e === void 0 ? void 0 : _e.subSchemaDefinitions) === undefined ? 'followUpActionsInputs.schemaConfig.subSchemaDefinitions' : 'followUpActionsInputs.schemaConfig.subSchemaDefinitions:' + ((_f = element.schemaConfig) === null || _f === void 0 ? void 0 : _f.subSchemaDefinitions)) + '::' + (((_h = (_g = element.schemaConfig) === null || _g === void 0 ? void 0 : _g.filterConfig) === null || _h === void 0 ? void 0 : _h.propertyNames) === undefined ? 'followUpActionsInputs.schemaConfig.filterConfig.propertyNames' : 'followUpActionsInputs.schemaConfig.filterConfig.propertyNames:' + ((_k = (_j = element.schemaConfig) === null || _j === void 0 ? void 0 : _j.filterConfig) === null || _k === void 0 ? void 0 : _k.propertyNames)) + '::' + (((_l = element.designConfig) === null || _l === void 0 ? void 0 : _l.target) === undefined ? 'followUpActionsInputs.designConfig.target' : 'followUpActionsInputs.designConfig.target:' + ((_m = element.designConfig) === null || _m === void 0 ? void 0 : _m.target)) + '::' + (((_o = element.designConfig) === null || _o === void 0 ? void 0 : _o.subViewDefinitions) === undefined ? 'followUpActionsInputs.designConfig.subViewDefinitions' : 'followUpActionsInputs.designConfig.subViewDefinitions:' + ((_p = element.designConfig) === null || _p === void 0 ? void 0 : _p.subViewDefinitions)) + '::' + (((_q = element.renditionConfig) === null || _q === void 0 ? void 0 : _q.target) === undefined ? 'followUpActionsInputs.renditionConfig.target' : 'followUpActionsInputs.renditionConfig.target:' + ((_r = element.renditionConfig) === null || _r === void 0 ? void 0 : _r.target)) + '::' + (((_s = element.renditionConfig) === null || _s === void 0 ? void 0 : _s.subViewDefinitions) === undefined ? 'followUpActionsInputs.renditionConfig.subViewDefinitions' : 'followUpActionsInputs.renditionConfig.subViewDefinitions:' + ((_t = element.renditionConfig) === null || _t === void 0 ? void 0 : _t.subViewDefinitions)); }).join(',') + ']' + ')';
242
720
  }
243
721
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
244
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$8());
722
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
245
723
  }
246
724
  function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
247
725
  const { body } = response;
248
- const key = keyBuilder$8();
726
+ const key = keyBuilder$8(luvio, resourceParams);
249
727
  luvio.storeIngest(key, ingest$5, body);
250
728
  const snapshot = luvio.storeLookup({
251
729
  recordId: key,
@@ -261,7 +739,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
261
739
  return snapshot;
262
740
  }
263
741
  function ingestError$2(luvio, params, error, snapshotRefresh) {
264
- const key = keyBuilder$8();
742
+ const key = keyBuilder$8(luvio, params);
265
743
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
266
744
  const storeMetadataParams = {
267
745
  ttl: TTL$5,
@@ -276,9 +754,9 @@ function createResourceRequest$4(config) {
276
754
  const headers = {};
277
755
  return {
278
756
  baseUri: '/services/data/v61.0',
279
- basePath: '/connect/conversation-runtime-proxy',
280
- method: 'get',
281
- body: null,
757
+ basePath: '/connect/follow-up-actions',
758
+ method: 'post',
759
+ body: config.body,
282
760
  urlParams: {},
283
761
  queryParams: {},
284
762
  headers,
@@ -286,16 +764,32 @@ function createResourceRequest$4(config) {
286
764
  };
287
765
  }
288
766
 
289
- const adapterName$4 = 'getBotId';
290
- const getBotId_ConfigPropertyMetadata = [];
291
- const getBotId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getBotId_ConfigPropertyMetadata);
292
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$5(getBotId_ConfigPropertyMetadata);
767
+ const adapterName$4 = 'getFollowUpActions';
768
+ const getFollowUpActions_ConfigPropertyMetadata = [
769
+ generateParamConfigMetadata('language', false, 2 /* Body */, 0 /* String */),
770
+ generateParamConfigMetadata('followUpActionsInputs', true, 2 /* Body */, 4 /* Unsupported */, true),
771
+ ];
772
+ const getFollowUpActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getFollowUpActions_ConfigPropertyMetadata);
773
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$6(getFollowUpActions_ConfigPropertyMetadata);
293
774
  function keyBuilder$7(luvio, config) {
294
- createResourceParams$4(config);
295
- return keyBuilder$8();
775
+ const resourceParams = createResourceParams$4(config);
776
+ return keyBuilder$8(luvio, resourceParams);
296
777
  }
297
778
  function typeCheckConfig$4(untrustedConfig) {
298
779
  const config = {};
780
+ typeCheckConfig$6(untrustedConfig, config, getFollowUpActions_ConfigPropertyMetadata);
781
+ const untrustedConfig_followUpActionsInputs = untrustedConfig.followUpActionsInputs;
782
+ if (ArrayIsArray$1(untrustedConfig_followUpActionsInputs)) {
783
+ const untrustedConfig_followUpActionsInputs_array = [];
784
+ for (let i = 0, arrayLength = untrustedConfig_followUpActionsInputs.length; i < arrayLength; i++) {
785
+ const untrustedConfig_followUpActionsInputs_item = untrustedConfig_followUpActionsInputs[i];
786
+ const referenceFollowUpActionsInputRepresentationValidationError = validate$d(untrustedConfig_followUpActionsInputs_item);
787
+ if (referenceFollowUpActionsInputRepresentationValidationError === null) {
788
+ untrustedConfig_followUpActionsInputs_array.push(untrustedConfig_followUpActionsInputs_item);
789
+ }
790
+ }
791
+ config.followUpActionsInputs = untrustedConfig_followUpActionsInputs_array;
792
+ }
299
793
  return config;
300
794
  }
301
795
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -305,7 +799,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
305
799
  if (process.env.NODE_ENV !== 'production') {
306
800
  validateConfig(untrustedConfig, configPropertyNames);
307
801
  }
308
- const config = typeCheckConfig$4();
802
+ const config = typeCheckConfig$4(untrustedConfig);
309
803
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
310
804
  return null;
311
805
  }
@@ -331,7 +825,7 @@ function onFetchResponseError$2(luvio, config, resourceParams, response) {
331
825
  }
332
826
  function buildNetworkSnapshot$4(luvio, config, options) {
333
827
  const resourceParams = createResourceParams$4(config);
334
- const request = createResourceRequest$4();
828
+ const request = createResourceRequest$4(resourceParams);
335
829
  return luvio.dispatchResourceRequest(request, options)
336
830
  .then((response) => {
337
831
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
@@ -344,7 +838,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
344
838
  });
345
839
  }
346
840
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
347
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
841
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, 'get', false);
348
842
  }
349
843
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
350
844
  const { luvio, config } = context;
@@ -359,8 +853,8 @@ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
359
853
  });
360
854
  return cacheSnapshot;
361
855
  }
362
- const getBotIdAdapterFactory = (luvio) => function einsteinCopilotBot__getBotId(untrustedConfig, requestContext) {
363
- const config = validateAdapterConfig$4(untrustedConfig, getBotId_ConfigPropertyNames);
856
+ const getFollowUpActionsAdapterFactory = (luvio) => function einsteinCopilotBot__getFollowUpActions(untrustedConfig, requestContext) {
857
+ const config = validateAdapterConfig$4(untrustedConfig, getFollowUpActions_ConfigPropertyNames);
364
858
  // Invalid or incomplete config
365
859
  if (config === null) {
366
860
  return null;
@@ -963,14 +1457,14 @@ const getRecommendedActions_ConfigPropertyMetadata = [
963
1457
  generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */),
964
1458
  ];
965
1459
  const getRecommendedActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getRecommendedActions_ConfigPropertyMetadata);
966
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$5(getRecommendedActions_ConfigPropertyMetadata);
1460
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$6(getRecommendedActions_ConfigPropertyMetadata);
967
1461
  function keyBuilder$5(luvio, config) {
968
1462
  const resourceParams = createResourceParams$3(config);
969
1463
  return keyBuilder$6(luvio, resourceParams);
970
1464
  }
971
1465
  function typeCheckConfig$3(untrustedConfig) {
972
1466
  const config = {};
973
- typeCheckConfig$5(untrustedConfig, config, getRecommendedActions_ConfigPropertyMetadata);
1467
+ typeCheckConfig$6(untrustedConfig, config, getRecommendedActions_ConfigPropertyMetadata);
974
1468
  return config;
975
1469
  }
976
1470
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -1019,7 +1513,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
1019
1513
  });
1020
1514
  }
1021
1515
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
1022
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
1516
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
1023
1517
  }
1024
1518
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
1025
1519
  const { luvio, config } = context;
@@ -1328,14 +1822,14 @@ const getRecommendedPlanTemplates_ConfigPropertyMetadata = [
1328
1822
  generateParamConfigMetadata('objectType', true, 0 /* UrlParameter */, 0 /* String */),
1329
1823
  ];
1330
1824
  const getRecommendedPlanTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getRecommendedPlanTemplates_ConfigPropertyMetadata);
1331
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$5(getRecommendedPlanTemplates_ConfigPropertyMetadata);
1825
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$6(getRecommendedPlanTemplates_ConfigPropertyMetadata);
1332
1826
  function keyBuilder$3(luvio, config) {
1333
1827
  const resourceParams = createResourceParams$2(config);
1334
1828
  return keyBuilder$4(luvio, resourceParams);
1335
1829
  }
1336
1830
  function typeCheckConfig$2(untrustedConfig) {
1337
1831
  const config = {};
1338
- typeCheckConfig$5(untrustedConfig, config, getRecommendedPlanTemplates_ConfigPropertyMetadata);
1832
+ typeCheckConfig$6(untrustedConfig, config, getRecommendedPlanTemplates_ConfigPropertyMetadata);
1339
1833
  return config;
1340
1834
  }
1341
1835
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -1384,7 +1878,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
1384
1878
  });
1385
1879
  }
1386
1880
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
1387
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1881
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1388
1882
  }
1389
1883
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
1390
1884
  const { luvio, config } = context;
@@ -2564,10 +3058,10 @@ const sendMessage_ConfigPropertyMetadata = [
2564
3058
  generateParamConfigMetadata('userUtterance', false, 2 /* Body */, 0 /* String */),
2565
3059
  ];
2566
3060
  const sendMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, sendMessage_ConfigPropertyMetadata);
2567
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$5(sendMessage_ConfigPropertyMetadata);
3061
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(sendMessage_ConfigPropertyMetadata);
2568
3062
  function typeCheckConfig$1(untrustedConfig) {
2569
3063
  const config = {};
2570
- typeCheckConfig$5(untrustedConfig, config, sendMessage_ConfigPropertyMetadata);
3064
+ typeCheckConfig$6(untrustedConfig, config, sendMessage_ConfigPropertyMetadata);
2571
3065
  const untrustedConfig_planTemplateVariables = untrustedConfig.planTemplateVariables;
2572
3066
  config.planTemplateVariables = untrustedConfig_planTemplateVariables;
2573
3067
  const untrustedConfig_reply = untrustedConfig.reply;
@@ -2755,10 +3249,10 @@ const submitFeedback_ConfigPropertyMetadata = [
2755
3249
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
2756
3250
  ];
2757
3251
  const submitFeedback_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, submitFeedback_ConfigPropertyMetadata);
2758
- const createResourceParams = /*#__PURE__*/ createResourceParams$5(submitFeedback_ConfigPropertyMetadata);
3252
+ const createResourceParams = /*#__PURE__*/ createResourceParams$6(submitFeedback_ConfigPropertyMetadata);
2759
3253
  function typeCheckConfig(untrustedConfig) {
2760
3254
  const config = {};
2761
- typeCheckConfig$5(untrustedConfig, config, submitFeedback_ConfigPropertyMetadata);
3255
+ typeCheckConfig$6(untrustedConfig, config, submitFeedback_ConfigPropertyMetadata);
2762
3256
  const untrustedConfig_details = untrustedConfig.details;
2763
3257
  if (untrustedIsObject(untrustedConfig_details)) {
2764
3258
  const untrustedConfig_details_object = {};
@@ -2819,16 +3313,23 @@ const submitFeedbackAdapterFactory = (luvio) => {
2819
3313
  };
2820
3314
 
2821
3315
  let getBotId;
3316
+ let getFollowUpActions;
2822
3317
  let getRecommendedActions;
2823
3318
  let getRecommendedPlanTemplates;
2824
3319
  let sendMessage;
2825
3320
  let submitFeedback;
2826
3321
  // Imperative GET Adapters
2827
3322
  let getBotId_imperative;
3323
+ let getFollowUpActions_imperative;
2828
3324
  let getRecommendedActions_imperative;
2829
3325
  let getRecommendedPlanTemplates_imperative;
2830
3326
  // Adapter Metadata
2831
3327
  const getBotIdMetadata = { apiFamily: 'einsteincopilot-bot', name: 'getBotId', ttl: 30000 };
3328
+ const getFollowUpActionsMetadata = {
3329
+ apiFamily: 'einsteincopilot-bot',
3330
+ name: 'getFollowUpActions',
3331
+ ttl: 900000,
3332
+ };
2832
3333
  const getRecommendedActionsMetadata = {
2833
3334
  apiFamily: 'einsteincopilot-bot',
2834
3335
  name: 'getRecommendedActions',
@@ -2843,6 +3344,7 @@ const getRecommendedPlanTemplatesMetadata = {
2843
3344
  function bindExportsTo(luvio) {
2844
3345
  // LDS Adapters
2845
3346
  const getBotId_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getBotId', getBotIdAdapterFactory), getBotIdMetadata);
3347
+ const getFollowUpActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getFollowUpActions', getFollowUpActionsAdapterFactory), getFollowUpActionsMetadata);
2846
3348
  const getRecommendedActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecommendedActions', getRecommendedActionsAdapterFactory), getRecommendedActionsMetadata);
2847
3349
  const getRecommendedPlanTemplates_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecommendedPlanTemplates', getRecommendedPlanTemplatesAdapterFactory), getRecommendedPlanTemplatesMetadata);
2848
3350
  function unwrapSnapshotData(factory) {
@@ -2851,12 +3353,14 @@ function bindExportsTo(luvio) {
2851
3353
  }
2852
3354
  return {
2853
3355
  getBotId: createWireAdapterConstructor(luvio, getBotId_ldsAdapter, getBotIdMetadata),
3356
+ getFollowUpActions: createWireAdapterConstructor(luvio, getFollowUpActions_ldsAdapter, getFollowUpActionsMetadata),
2854
3357
  getRecommendedActions: createWireAdapterConstructor(luvio, getRecommendedActions_ldsAdapter, getRecommendedActionsMetadata),
2855
3358
  getRecommendedPlanTemplates: createWireAdapterConstructor(luvio, getRecommendedPlanTemplates_ldsAdapter, getRecommendedPlanTemplatesMetadata),
2856
3359
  sendMessage: unwrapSnapshotData(sendMessageAdapterFactory),
2857
3360
  submitFeedback: unwrapSnapshotData(submitFeedbackAdapterFactory),
2858
3361
  // Imperative GET Adapters
2859
3362
  getBotId_imperative: createImperativeAdapter(luvio, getBotId_ldsAdapter, getBotIdMetadata),
3363
+ getFollowUpActions_imperative: createImperativeAdapter(luvio, getFollowUpActions_ldsAdapter, getFollowUpActionsMetadata),
2860
3364
  getRecommendedActions_imperative: createImperativeAdapter(luvio, getRecommendedActions_ldsAdapter, getRecommendedActionsMetadata),
2861
3365
  getRecommendedPlanTemplates_imperative: createImperativeAdapter(luvio, getRecommendedPlanTemplates_ldsAdapter, getRecommendedPlanTemplatesMetadata),
2862
3366
  // Notify Update Availables
@@ -2865,15 +3369,17 @@ function bindExportsTo(luvio) {
2865
3369
  withDefaultLuvio((luvio) => {
2866
3370
  ({
2867
3371
  getBotId,
3372
+ getFollowUpActions,
2868
3373
  getRecommendedActions,
2869
3374
  getRecommendedPlanTemplates,
2870
3375
  sendMessage,
2871
3376
  submitFeedback,
2872
3377
  getBotId_imperative,
3378
+ getFollowUpActions_imperative,
2873
3379
  getRecommendedActions_imperative,
2874
3380
  getRecommendedPlanTemplates_imperative,
2875
3381
  } = bindExportsTo(luvio));
2876
3382
  });
2877
3383
 
2878
- export { getBotId, getBotId_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, sendMessage, submitFeedback };
2879
- // version: 1.287.0-dev14-912e45c126
3384
+ export { getBotId, getBotId_imperative, getFollowUpActions, getFollowUpActions_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, sendMessage, submitFeedback };
3385
+ // version: 1.287.0-dev15-4b3ad0d7fe