@salesforce/lds-adapters-service-einstein-copilot-bot 1.266.0-dev15 → 1.266.0-dev16
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 +553 -160
- package/dist/es/es2018/types/src/generated/adapters/getRecommendedPlanTemplates.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/sendMessage.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectRecommendedPlanTemplatesByPageTypeAndObjectType.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectConversationRuntimeProxy.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/types/ConversationRuntimeProxyInputRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/PlanTemplateRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/RecommendedPlanTemplatesRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/VariableRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +447 -38
- package/src/raml/api.raml +76 -0
- package/src/raml/luvio.raml +8 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectRecommendedPlanTemplatesByPageTypeAndObjectType_ResourceRequestConfig } from '../resources/getConnectRecommendedPlanTemplatesByPageTypeAndObjectType';
|
|
4
|
+
import { RecommendedPlanTemplatesRepresentation as types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation } from '../types/RecommendedPlanTemplatesRepresentation';
|
|
5
|
+
export declare const adapterName = "getRecommendedPlanTemplates";
|
|
6
|
+
export declare const getRecommendedPlanTemplates_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getRecommendedPlanTemplates_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetRecommendedPlanTemplatesConfig {
|
|
9
|
+
pageType: string;
|
|
10
|
+
objectType: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetRecommendedPlanTemplatesConfig) => resources_getConnectRecommendedPlanTemplatesByPageTypeAndObjectType_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetRecommendedPlanTemplatesConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetRecommendedPlanTemplatesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetRecommendedPlanTemplatesConfig>): adapter$45$utils_Untrusted<GetRecommendedPlanTemplatesConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetRecommendedPlanTemplatesConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetRecommendedPlanTemplatesConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRecommendedPlanTemplatesConfig): $64$luvio_engine_Snapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetRecommendedPlanTemplatesConfig, resourceParams: resources_getConnectRecommendedPlanTemplatesByPageTypeAndObjectType_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetRecommendedPlanTemplatesConfig, resourceParams: resources_getConnectRecommendedPlanTemplatesByPageTypeAndObjectType_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRecommendedPlanTemplatesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetRecommendedPlanTemplatesConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation>): $64$luvio_engine_Snapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, any>;
|
|
28
|
+
export declare const getRecommendedPlanTemplatesAdapterFactory: $64$luvio_engine_AdapterFactory<GetRecommendedPlanTemplatesConfig, types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation>;
|
|
@@ -13,10 +13,14 @@ export interface SendMessageConfig {
|
|
|
13
13
|
message?: string;
|
|
14
14
|
sessionId?: string;
|
|
15
15
|
inReplyToMessageId?: string;
|
|
16
|
+
intent?: string;
|
|
16
17
|
messageType?: string;
|
|
18
|
+
planId?: string;
|
|
19
|
+
planTemplateVariables?: unknown;
|
|
17
20
|
reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
18
21
|
text?: string;
|
|
19
22
|
type?: string;
|
|
23
|
+
userUtterance?: string;
|
|
20
24
|
variables?: Array<types_VariableRepresentation_VariableRepresentation>;
|
|
21
25
|
}
|
|
22
26
|
export declare const createResourceParams: (config: SendMessageConfig) => resources_postConnectConversationRuntimeProxy_ResourceRequestConfig;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare let getBotId: any;
|
|
2
|
+
declare let getRecommendedPlanTemplates: any;
|
|
2
3
|
declare let sendMessage: any;
|
|
3
4
|
declare let getBotId_imperative: any;
|
|
4
|
-
|
|
5
|
+
declare let getRecommendedPlanTemplates_imperative: any;
|
|
6
|
+
export { getBotId, getRecommendedPlanTemplates, sendMessage, getBotId_imperative, getRecommendedPlanTemplates_imperative, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { RecommendedPlanTemplatesRepresentation as types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation } from '../types/RecommendedPlanTemplatesRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
pageType: string;
|
|
6
|
+
objectType: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_RecommendedPlanTemplatesRepresentation_RecommendedPlanTemplatesRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/postConnectConversationRuntimeProxy.d.ts
CHANGED
|
@@ -11,10 +11,14 @@ export interface ResourceRequestConfig {
|
|
|
11
11
|
};
|
|
12
12
|
body: {
|
|
13
13
|
inReplyToMessageId?: string;
|
|
14
|
+
intent?: string;
|
|
14
15
|
messageType?: string;
|
|
16
|
+
planId?: string;
|
|
17
|
+
planTemplateVariables?: unknown;
|
|
15
18
|
reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
16
19
|
text?: string;
|
|
17
20
|
type?: string;
|
|
21
|
+
userUtterance?: string;
|
|
18
22
|
variables?: Array<types_VariableRepresentation_VariableRepresentation>;
|
|
19
23
|
};
|
|
20
24
|
}
|
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 = "964d3e59ff1d38e4f1c8888fb0baa31d";
|
|
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,14 +18,22 @@ 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;
|
|
21
23
|
/** Message type */
|
|
22
24
|
messageType?: string;
|
|
25
|
+
/** PlanId */
|
|
26
|
+
planId?: string;
|
|
27
|
+
/** Additional Plan Templates Variables */
|
|
28
|
+
planTemplateVariables?: unknown;
|
|
23
29
|
/** Reply */
|
|
24
30
|
reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
25
31
|
/** Text */
|
|
26
32
|
text?: string;
|
|
27
33
|
/** Type */
|
|
28
34
|
type?: string;
|
|
35
|
+
/** UserUtterance */
|
|
36
|
+
userUtterance?: string;
|
|
29
37
|
/** Variables */
|
|
30
38
|
variables?: Array<VariableRepresentation_VariableRepresentation>;
|
|
31
39
|
}
|
|
@@ -37,9 +45,13 @@ export interface ConversationRuntimeProxyInputRepresentationNormalized {
|
|
|
37
45
|
*/
|
|
38
46
|
export interface ConversationRuntimeProxyInputRepresentation {
|
|
39
47
|
inReplyToMessageId?: string;
|
|
48
|
+
intent?: string;
|
|
40
49
|
messageType?: string;
|
|
50
|
+
planId?: string;
|
|
51
|
+
planTemplateVariables?: unknown;
|
|
41
52
|
reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
|
|
42
53
|
text?: string;
|
|
43
54
|
type?: string;
|
|
55
|
+
userUtterance?: string;
|
|
44
56
|
variables?: Array<VariableRepresentation_VariableRepresentation>;
|
|
45
57
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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;
|
|
3
|
+
export declare const VERSION = "504437088c2317480c651ac05a7565b5";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: PlanTemplateRepresentation, existing: PlanTemplateRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlanTemplateRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: PlanTemplateRepresentationNormalized, incoming: PlanTemplateRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PlanTemplateRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents a plan template which can be executed by a Copilot client.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface PlanTemplateRepresentationNormalized {
|
|
18
|
+
/** Intent used by Planner when executing this plan template. */
|
|
19
|
+
intent: string;
|
|
20
|
+
/** Label to display when rendering this plan template in a Copilot client. */
|
|
21
|
+
label: string;
|
|
22
|
+
/** ID of a plan template. */
|
|
23
|
+
planTemplateId: string;
|
|
24
|
+
/** User utterance to be recorded in conversation history by Planner when executing this plan template. */
|
|
25
|
+
userUtterance: string;
|
|
26
|
+
/** Variables for executing this plan template. */
|
|
27
|
+
variables: {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Represents a plan template which can be executed by a Copilot client.
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface PlanTemplateRepresentation {
|
|
38
|
+
intent: string;
|
|
39
|
+
label: string;
|
|
40
|
+
planTemplateId: string;
|
|
41
|
+
userUtterance: string;
|
|
42
|
+
variables: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PlanTemplateRepresentation as PlanTemplateRepresentation_PlanTemplateRepresentation } from './PlanTemplateRepresentation';
|
|
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 = 900000;
|
|
4
|
+
export declare const VERSION = "0503b0c5ce250e7f5fbf16f2d3f2fec4";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: RecommendedPlanTemplatesRepresentation, existing: RecommendedPlanTemplatesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendedPlanTemplatesRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: RecommendedPlanTemplatesRepresentationNormalized, incoming: RecommendedPlanTemplatesRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RecommendedPlanTemplatesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Represents the result of a get recommended plan templates request.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface RecommendedPlanTemplatesRepresentationNormalized {
|
|
19
|
+
/** Error message for the failed get operation. */
|
|
20
|
+
errorMessage?: string;
|
|
21
|
+
/** Success indicator of the get operation. */
|
|
22
|
+
isSuccess: boolean;
|
|
23
|
+
/** Recommended plan templates. */
|
|
24
|
+
planTemplates: Array<PlanTemplateRepresentation_PlanTemplateRepresentation>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents the result of a get recommended plan templates request.
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface RecommendedPlanTemplatesRepresentation {
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
isSuccess: boolean;
|
|
35
|
+
planTemplates: Array<PlanTemplateRepresentation_PlanTemplateRepresentation>;
|
|
36
|
+
}
|
|
@@ -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 = "b26ba8c95ca250aaeef6b6d3dfff8b40";
|
|
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-dev16",
|
|
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-dev16"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.266.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.266.0-dev16"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|