@salesforce/lds-adapters-service-einstein-copilot-bot 1.266.0-dev16 → 1.266.0-dev17
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 +160 -553
- package/dist/es/es2018/types/src/generated/adapters/sendMessage.d.ts +0 -4
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +1 -3
- package/dist/es/es2018/types/src/generated/resources/postConnectConversationRuntimeProxy.d.ts +0 -4
- package/dist/es/es2018/types/src/generated/types/ConversationRuntimeProxyInputRepresentation.d.ts +1 -13
- package/dist/es/es2018/types/src/generated/types/VariableRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +38 -447
- package/src/raml/api.raml +0 -76
- package/src/raml/luvio.raml +0 -8
- package/dist/es/es2018/types/src/generated/adapters/getRecommendedPlanTemplates.d.ts +0 -28
- package/dist/es/es2018/types/src/generated/resources/getConnectRecommendedPlanTemplatesByPageTypeAndObjectType.d.ts +0 -16
- package/dist/es/es2018/types/src/generated/types/PlanTemplateRepresentation.d.ts +0 -45
- package/dist/es/es2018/types/src/generated/types/RecommendedPlanTemplatesRepresentation.d.ts +0 -36
|
@@ -13,14 +13,10 @@ export interface SendMessageConfig {
|
|
|
13
13
|
message?: string;
|
|
14
14
|
sessionId?: string;
|
|
15
15
|
inReplyToMessageId?: string;
|
|
16
|
-
intent?: string;
|
|
17
16
|
messageType?: string;
|
|
18
|
-
planId?: string;
|
|
19
|
-
planTemplateVariables?: unknown;
|
|
20
17
|
reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
21
18
|
text?: string;
|
|
22
19
|
type?: string;
|
|
23
|
-
userUtterance?: string;
|
|
24
20
|
variables?: Array<types_VariableRepresentation_VariableRepresentation>;
|
|
25
21
|
}
|
|
26
22
|
export declare const createResourceParams: (config: SendMessageConfig) => resources_postConnectConversationRuntimeProxy_ResourceRequestConfig;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
declare let getBotId: any;
|
|
2
|
-
declare let getRecommendedPlanTemplates: any;
|
|
3
2
|
declare let sendMessage: any;
|
|
4
3
|
declare let getBotId_imperative: any;
|
|
5
|
-
|
|
6
|
-
export { getBotId, getRecommendedPlanTemplates, sendMessage, getBotId_imperative, getRecommendedPlanTemplates_imperative, };
|
|
4
|
+
export { getBotId, sendMessage, getBotId_imperative };
|
package/dist/es/es2018/types/src/generated/resources/postConnectConversationRuntimeProxy.d.ts
CHANGED
|
@@ -11,14 +11,10 @@ export interface ResourceRequestConfig {
|
|
|
11
11
|
};
|
|
12
12
|
body: {
|
|
13
13
|
inReplyToMessageId?: string;
|
|
14
|
-
intent?: string;
|
|
15
14
|
messageType?: string;
|
|
16
|
-
planId?: string;
|
|
17
|
-
planTemplateVariables?: unknown;
|
|
18
15
|
reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
19
16
|
text?: string;
|
|
20
17
|
type?: string;
|
|
21
|
-
userUtterance?: string;
|
|
22
18
|
variables?: Array<types_VariableRepresentation_VariableRepresentation>;
|
|
23
19
|
};
|
|
24
20
|
}
|
package/dist/es/es2018/types/src/generated/types/ConversationRuntimeProxyInputRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EsTypeMessageRepresentation as EsTypeMessageRepresentation_EsTypeMessageRepresentation } from './EsTypeMessageRepresentation';
|
|
2
2
|
import { VariableRepresentation as VariableRepresentation_VariableRepresentation } from './VariableRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "976a695a1e2e9489f7727d7e57740771";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: ConversationRuntimeProxyInputRepresentation, existing: ConversationRuntimeProxyInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConversationRuntimeProxyInputRepresentationNormalized;
|
|
@@ -18,22 +18,14 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
18
18
|
export interface ConversationRuntimeProxyInputRepresentationNormalized {
|
|
19
19
|
/** Message ID that this message is replying to */
|
|
20
20
|
inReplyToMessageId?: string;
|
|
21
|
-
/** Intent */
|
|
22
|
-
intent?: string;
|
|
23
21
|
/** Message type */
|
|
24
22
|
messageType?: string;
|
|
25
|
-
/** PlanId */
|
|
26
|
-
planId?: string;
|
|
27
|
-
/** Additional Plan Templates Variables */
|
|
28
|
-
planTemplateVariables?: unknown;
|
|
29
23
|
/** Reply */
|
|
30
24
|
reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
31
25
|
/** Text */
|
|
32
26
|
text?: string;
|
|
33
27
|
/** Type */
|
|
34
28
|
type?: string;
|
|
35
|
-
/** UserUtterance */
|
|
36
|
-
userUtterance?: string;
|
|
37
29
|
/** Variables */
|
|
38
30
|
variables?: Array<VariableRepresentation_VariableRepresentation>;
|
|
39
31
|
}
|
|
@@ -45,13 +37,9 @@ export interface ConversationRuntimeProxyInputRepresentationNormalized {
|
|
|
45
37
|
*/
|
|
46
38
|
export interface ConversationRuntimeProxyInputRepresentation {
|
|
47
39
|
inReplyToMessageId?: string;
|
|
48
|
-
intent?: string;
|
|
49
40
|
messageType?: string;
|
|
50
|
-
planId?: string;
|
|
51
|
-
planTemplateVariables?: unknown;
|
|
52
41
|
reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
53
42
|
text?: string;
|
|
54
43
|
type?: string;
|
|
55
|
-
userUtterance?: string;
|
|
56
44
|
variables?: Array<VariableRepresentation_VariableRepresentation>;
|
|
57
45
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
export declare const TTL = 30000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "810e13d8bf55f296fbb9eed86a0019f5";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: VariableRepresentation, existing: VariableRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): VariableRepresentationNormalized;
|
|
@@ -18,7 +18,7 @@ export interface VariableRepresentationNormalized {
|
|
|
18
18
|
/** Name of the variable */
|
|
19
19
|
name: string;
|
|
20
20
|
/** Value of the variable */
|
|
21
|
-
value
|
|
21
|
+
value: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Represents a single variable for an operation to set variables
|
|
@@ -28,5 +28,5 @@ export interface VariableRepresentationNormalized {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface VariableRepresentation {
|
|
30
30
|
name: string;
|
|
31
|
-
value
|
|
31
|
+
value: string;
|
|
32
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
|
|
3
|
-
"version": "1.266.0-
|
|
3
|
+
"version": "1.266.0-dev17",
|
|
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.266.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.266.0-dev17"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.266.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.266.0-dev17"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|