@salesforce/lds-adapters-service-einstein-copilot-bot 1.320.0 → 1.322.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/service-einstein-copilot-bot.js +2 -2
- package/dist/es/es2018/types/src/generated/types/RecommendedUtterancesRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/WelcomeUtterancesRepresentation.d.ts +1 -1
- package/package.json +3 -3
- package/sfdc/index.js +6 -6
- package/src/raml/luvio.raml +2 -2
|
@@ -3024,7 +3024,7 @@ const getFollowUpActionsAdapterFactory = (luvio) => function einsteinCopilotBot_
|
|
|
3024
3024
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
3025
3025
|
};
|
|
3026
3026
|
|
|
3027
|
-
const TTL$2 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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.
|
|
3
|
+
"version": "1.322.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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.322.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.322.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 =>
|
|
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 =
|
|
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 =
|
|
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:
|
|
4326
|
+
ttl: 100,
|
|
4327
4327
|
};
|
|
4328
4328
|
const getWelcomeUtterancesMetadata = {
|
|
4329
4329
|
apiFamily: 'einsteincopilot-bot',
|
|
4330
4330
|
name: 'getWelcomeUtterances',
|
|
4331
|
-
ttl:
|
|
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.
|
|
4390
|
+
// version: 1.322.0-87f682c9f3
|
package/src/raml/luvio.raml
CHANGED
|
@@ -38,13 +38,13 @@ types:
|
|
|
38
38
|
RecommendedActionsRepresentation:
|
|
39
39
|
(luvio.ttl): 900000
|
|
40
40
|
RecommendedUtterancesRepresentation:
|
|
41
|
-
(luvio.ttl):
|
|
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):
|
|
47
|
+
(luvio.ttl): 100
|
|
48
48
|
|
|
49
49
|
/connect:
|
|
50
50
|
/conversation-runtime-proxy:
|