@salesforce/lds-adapters-service-einstein-copilot-bot 1.321.0 → 1.323.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.
@@ -3024,7 +3024,7 @@ const getFollowUpActionsAdapterFactory = (luvio) => function einsteinCopilotBot_
3024
3024
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
3025
3025
  };
3026
3026
 
3027
- const TTL$2 = 900000;
3027
+ const TTL$2 = 100;
3028
3028
  const VERSION$4 = "240cfec5fc3a3d994da444a2dfa1eca4";
3029
3029
  function validate$4(obj, path = 'RecommendedUtterancesRepresentation') {
3030
3030
  const v_error = (() => {
@@ -4014,7 +4014,7 @@ function equals$1(existing, incoming) {
4014
4014
  return true;
4015
4015
  }
4016
4016
 
4017
- const TTL = 30000;
4017
+ const TTL = 100;
4018
4018
  const VERSION = "5563352486e852506e175069aef4b290";
4019
4019
  function validate(obj, path = 'WelcomeUtterancesRepresentation') {
4020
4020
  const v_error = (() => {
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const TTL = 900000;
2
+ export declare const TTL = 100;
3
3
  export declare const VERSION = "240cfec5fc3a3d994da444a2dfa1eca4";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
@@ -1,6 +1,6 @@
1
1
  import { WelcomeTopicSuggestedUtterancesRepresentation as WelcomeTopicSuggestedUtterancesRepresentation_WelcomeTopicSuggestedUtterancesRepresentation } from './WelcomeTopicSuggestedUtterancesRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const TTL = 30000;
3
+ export declare const TTL = 100;
4
4
  export declare const VERSION = "5563352486e852506e175069aef4b290";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
3
- "version": "1.321.0",
3
+ "version": "1.323.0",
4
4
  "description": "Einstein Copilot Bot API Family",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-einstein-copilot-bot.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.321.0"
43
+ "@salesforce/lds-bindings": "^1.323.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.321.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.323.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1088,7 +1088,7 @@ function select$j(luvio, params) {
1088
1088
  return select$k();
1089
1089
  }
1090
1090
  function keyBuilder$c(luvio, params) {
1091
- 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(',') + ']' + ')';
1091
+ return keyPrefix + '::CopilotFollowUpActionsRepresentation:(' + (params.body.language === undefined ? 'language' : 'language:' + params.body.language) + '::' + '[' + params.body.followUpActionsInputs.map(element => 'followUpActionsInputs.descriptor:' + element.descriptor + '::' + (element.sourceDescriptor?.descriptor === undefined ? 'followUpActionsInputs.sourceDescriptor.descriptor' : 'followUpActionsInputs.sourceDescriptor.descriptor:' + element.sourceDescriptor?.descriptor) + '::' + (element.sourceDescriptor?.propertyName === undefined ? 'followUpActionsInputs.sourceDescriptor.propertyName' : 'followUpActionsInputs.sourceDescriptor.propertyName:' + element.sourceDescriptor?.propertyName) + '::' + (element.schemaConfig?.subSchemaDefinitions === undefined ? 'followUpActionsInputs.schemaConfig.subSchemaDefinitions' : 'followUpActionsInputs.schemaConfig.subSchemaDefinitions:' + element.schemaConfig?.subSchemaDefinitions) + '::' + (element.schemaConfig?.filterConfig?.propertyNames === undefined ? 'followUpActionsInputs.schemaConfig.filterConfig.propertyNames' : 'followUpActionsInputs.schemaConfig.filterConfig.propertyNames:' + element.schemaConfig?.filterConfig?.propertyNames) + '::' + (element.designConfig?.target === undefined ? 'followUpActionsInputs.designConfig.target' : 'followUpActionsInputs.designConfig.target:' + element.designConfig?.target) + '::' + (element.designConfig?.subViewDefinitions === undefined ? 'followUpActionsInputs.designConfig.subViewDefinitions' : 'followUpActionsInputs.designConfig.subViewDefinitions:' + element.designConfig?.subViewDefinitions) + '::' + (element.renditionConfig?.target === undefined ? 'followUpActionsInputs.renditionConfig.target' : 'followUpActionsInputs.renditionConfig.target:' + element.renditionConfig?.target) + '::' + (element.renditionConfig?.subViewDefinitions === undefined ? 'followUpActionsInputs.renditionConfig.subViewDefinitions' : 'followUpActionsInputs.renditionConfig.subViewDefinitions:' + element.renditionConfig?.subViewDefinitions)).join(',') + ']' + ')';
1092
1092
  }
1093
1093
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1094
1094
  getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$c(luvio, resourceParams));
@@ -2275,7 +2275,7 @@ const getRecommendedPlanTemplatesAdapterFactory = (luvio) => function einsteinCo
2275
2275
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
2276
2276
  };
2277
2277
 
2278
- const TTL$4 = 900000;
2278
+ const TTL$4 = 100;
2279
2279
  const VERSION$8 = "240cfec5fc3a3d994da444a2dfa1eca4";
2280
2280
  function validate$9(obj, path = 'RecommendedUtterancesRepresentation') {
2281
2281
  const v_error = (() => {
@@ -2590,7 +2590,7 @@ function equals$7(existing, incoming) {
2590
2590
  return true;
2591
2591
  }
2592
2592
 
2593
- const TTL$3 = 30000;
2593
+ const TTL$3 = 100;
2594
2594
  const VERSION$6 = "5563352486e852506e175069aef4b290";
2595
2595
  function validate$7(obj, path = 'WelcomeUtterancesRepresentation') {
2596
2596
  const v_error = (() => {
@@ -4323,12 +4323,12 @@ const getRecommendedPlanTemplatesMetadata = {
4323
4323
  const getRecommendedUtterancesMetadata = {
4324
4324
  apiFamily: 'einsteincopilot-bot',
4325
4325
  name: 'getRecommendedUtterances',
4326
- ttl: 900000,
4326
+ ttl: 100,
4327
4327
  };
4328
4328
  const getWelcomeUtterancesMetadata = {
4329
4329
  apiFamily: 'einsteincopilot-bot',
4330
4330
  name: 'getWelcomeUtterances',
4331
- ttl: 30000,
4331
+ ttl: 100,
4332
4332
  };
4333
4333
  // Notify Update Available
4334
4334
  function bindExportsTo(luvio) {
@@ -4387,4 +4387,4 @@ withDefaultLuvio((luvio) => {
4387
4387
  });
4388
4388
 
4389
4389
  export { getBotId, getBotId_imperative, getCopilotObjects, getCopilotObjects_imperative, getFollowUpActions, getFollowUpActions_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, getRecommendedUtterances, getRecommendedUtterances_imperative, getWelcomeUtterances, getWelcomeUtterances_imperative, sendMessage, submitFeedback };
4390
- // version: 1.321.0-40847d67a8
4390
+ // version: 1.323.0-34d96539ec
@@ -38,13 +38,13 @@ types:
38
38
  RecommendedActionsRepresentation:
39
39
  (luvio.ttl): 900000
40
40
  RecommendedUtterancesRepresentation:
41
- (luvio.ttl): 900000
41
+ (luvio.ttl): 100
42
42
  CopilotFollowUpActionsRepresentation:
43
43
  (luvio.ttl): 900000
44
44
  CopilotObjectListRepresentation:
45
45
  (luvio.ttl): 900000
46
46
  WelcomeUtterancesRepresentation:
47
- (luvio.ttl): 30000
47
+ (luvio.ttl): 100
48
48
 
49
49
  /connect:
50
50
  /conversation-runtime-proxy: