@salesforce/lds-adapters-service-einstein-copilot-bot 1.296.0 → 1.297.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 -7
- package/dist/es/es2018/types/src/generated/adapters/submitFeedback.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectCopilotFeedback.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/CopilotLLMFeedbackInputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +3 -8
- package/src/raml/api.raml +1 -1
|
@@ -2081,13 +2081,8 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
2081
2081
|
for (let i = 0, arrayLength = untrustedConfig_details_keys.length; i < arrayLength; i++) {
|
|
2082
2082
|
const key = untrustedConfig_details_keys[i];
|
|
2083
2083
|
const untrustedConfig_details_prop = untrustedConfig_details[key];
|
|
2084
|
-
if (
|
|
2085
|
-
|
|
2086
|
-
if (untrustedConfig_details_prop_object !== undefined && Object.keys(untrustedConfig_details_prop_object).length >= 0) {
|
|
2087
|
-
if (untrustedConfig_details_object !== undefined) {
|
|
2088
|
-
untrustedConfig_details_object[key] = untrustedConfig_details_prop_object;
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2084
|
+
if (untrustedConfig_details_object !== undefined) {
|
|
2085
|
+
untrustedConfig_details_object[key] = untrustedConfig_details_prop;
|
|
2091
2086
|
}
|
|
2092
2087
|
}
|
|
2093
2088
|
if (untrustedConfig_details_object !== undefined && Object.keys(untrustedConfig_details_object).length >= 0) {
|
|
@@ -7,7 +7,7 @@ export declare const submitFeedback_ConfigPropertyMetadata: $64$luvio_engine_Ada
|
|
|
7
7
|
export declare const submitFeedback_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface SubmitFeedbackConfig {
|
|
9
9
|
details: {
|
|
10
|
-
[key: string]:
|
|
10
|
+
[key: string]: unknown;
|
|
11
11
|
};
|
|
12
12
|
feedback: string;
|
|
13
13
|
feedbackId: string;
|
|
@@ -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 VERSION = "
|
|
2
|
+
export declare const VERSION = "e07dd6d8cd7ae483d7776b2b775f7405";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: CopilotLLMFeedbackInputRepresentation, existing: CopilotLLMFeedbackInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CopilotLLMFeedbackInputRepresentationNormalized;
|
|
@@ -16,7 +16,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
export interface CopilotLLMFeedbackInputRepresentationNormalized {
|
|
17
17
|
/** details */
|
|
18
18
|
details: {
|
|
19
|
-
[key: string]:
|
|
19
|
+
[key: string]: unknown;
|
|
20
20
|
};
|
|
21
21
|
/** Structured feedback enum, thumbs up/down, good/bad */
|
|
22
22
|
feedback: string;
|
|
@@ -35,7 +35,7 @@ export interface CopilotLLMFeedbackInputRepresentationNormalized {
|
|
|
35
35
|
*/
|
|
36
36
|
export interface CopilotLLMFeedbackInputRepresentation {
|
|
37
37
|
details: {
|
|
38
|
-
[key: string]:
|
|
38
|
+
[key: string]: unknown;
|
|
39
39
|
};
|
|
40
40
|
feedback: string;
|
|
41
41
|
feedbackId: 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.297.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.297.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.297.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2766,13 +2766,8 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
2766
2766
|
for (let i = 0, arrayLength = untrustedConfig_details_keys.length; i < arrayLength; i++) {
|
|
2767
2767
|
const key = untrustedConfig_details_keys[i];
|
|
2768
2768
|
const untrustedConfig_details_prop = untrustedConfig_details[key];
|
|
2769
|
-
if (
|
|
2770
|
-
|
|
2771
|
-
if (untrustedConfig_details_prop_object !== undefined && Object.keys(untrustedConfig_details_prop_object).length >= 0) {
|
|
2772
|
-
if (untrustedConfig_details_object !== undefined) {
|
|
2773
|
-
untrustedConfig_details_object[key] = untrustedConfig_details_prop_object;
|
|
2774
|
-
}
|
|
2775
|
-
}
|
|
2769
|
+
if (untrustedConfig_details_object !== undefined) {
|
|
2770
|
+
untrustedConfig_details_object[key] = untrustedConfig_details_prop;
|
|
2776
2771
|
}
|
|
2777
2772
|
}
|
|
2778
2773
|
if (untrustedConfig_details_object !== undefined && Object.keys(untrustedConfig_details_object).length >= 0) {
|
|
@@ -2881,4 +2876,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2881
2876
|
});
|
|
2882
2877
|
|
|
2883
2878
|
export { getBotId, getBotId_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, sendMessage, submitFeedback };
|
|
2884
|
-
// version: 1.
|
|
2879
|
+
// version: 1.297.0-e0cfbd880
|