@salesforce/lds-adapters-service-einstein-copilot-bot 1.266.0-dev2 → 1.266.0-dev21

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.
@@ -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>;
@@ -12,10 +12,15 @@ export interface SendMessageConfig {
12
12
  botVersionId?: string;
13
13
  message?: string;
14
14
  sessionId?: string;
15
+ inReplyToMessageId?: string;
16
+ intent?: string;
15
17
  messageType?: string;
18
+ planId?: string;
19
+ planTemplateVariables?: unknown;
16
20
  reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
17
21
  text?: string;
18
22
  type?: string;
23
+ userUtterance?: string;
19
24
  variables?: Array<types_VariableRepresentation_VariableRepresentation>;
20
25
  }
21
26
  export declare const createResourceParams: (config: SendMessageConfig) => resources_postConnectConversationRuntimeProxy_ResourceRequestConfig;
@@ -1,2 +1,3 @@
1
1
  export { getBotIdAdapterFactory } from '../adapters/getBotId';
2
2
  export { sendMessageAdapterFactory } from '../adapters/sendMessage';
3
+ export { getRecommendedPlanTemplatesAdapterFactory } from '../adapters/getRecommendedPlanTemplates';
@@ -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
- export { getBotId, sendMessage, getBotId_imperative };
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;
@@ -10,10 +10,15 @@ export interface ResourceRequestConfig {
10
10
  sessionId?: string;
11
11
  };
12
12
  body: {
13
+ inReplyToMessageId?: string;
14
+ intent?: string;
13
15
  messageType?: string;
16
+ planId?: string;
17
+ planTemplateVariables?: unknown;
14
18
  reply?: Array<types_EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
15
19
  text?: string;
16
20
  type?: string;
21
+ userUtterance?: string;
17
22
  variables?: Array<types_VariableRepresentation_VariableRepresentation>;
18
23
  };
19
24
  }
@@ -1,7 +1,7 @@
1
1
  import { EsTypeMessageRepresentation as EsTypeMessageRepresentation_EsTypeMessageRepresentation } from './EsTypeMessageRepresentation';
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
3
  export declare const TTL = 30000;
4
- export declare const VERSION = "5f88ad5cfdb381bf86ac35c9f31f321e";
4
+ export declare const VERSION = "477724425d0742c030025796c88ebf5d";
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: CollectMessageRepresentation, existing: CollectMessageRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CollectMessageRepresentationNormalized;
@@ -16,7 +16,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  * (none)
17
17
  */
18
18
  export interface CollectMessageRepresentationNormalized {
19
- data: EsTypeMessageRepresentation_EsTypeMessageRepresentation;
19
+ data?: EsTypeMessageRepresentation_EsTypeMessageRepresentation;
20
+ /** Target property for the collect message. */
21
+ targetProperty?: string | null;
20
22
  /** Target type for the collect message. */
21
23
  targetType: string;
22
24
  }
@@ -27,6 +29,7 @@ export interface CollectMessageRepresentationNormalized {
27
29
  * (none)
28
30
  */
29
31
  export interface CollectMessageRepresentation {
30
- data: EsTypeMessageRepresentation_EsTypeMessageRepresentation;
32
+ data?: EsTypeMessageRepresentation_EsTypeMessageRepresentation;
33
+ targetProperty?: string | null;
31
34
  targetType: string;
32
35
  }
@@ -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 = "980bf6b4b948d722de8661d7f0f93eb0";
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;
@@ -16,14 +16,24 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  * (none)
17
17
  */
18
18
  export interface ConversationRuntimeProxyInputRepresentationNormalized {
19
+ /** Message ID that this message is replying to */
20
+ inReplyToMessageId?: string;
21
+ /** Intent */
22
+ intent?: string;
19
23
  /** Message type */
20
24
  messageType?: string;
25
+ /** PlanId */
26
+ planId?: string;
27
+ /** Additional Plan Templates Variables */
28
+ planTemplateVariables?: unknown;
21
29
  /** Reply */
22
30
  reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
23
31
  /** Text */
24
32
  text?: string;
25
33
  /** Type */
26
34
  type?: string;
35
+ /** UserUtterance */
36
+ userUtterance?: string;
27
37
  /** Variables */
28
38
  variables?: Array<VariableRepresentation_VariableRepresentation>;
29
39
  }
@@ -34,9 +44,14 @@ export interface ConversationRuntimeProxyInputRepresentationNormalized {
34
44
  * (none)
35
45
  */
36
46
  export interface ConversationRuntimeProxyInputRepresentation {
47
+ inReplyToMessageId?: string;
48
+ intent?: string;
37
49
  messageType?: string;
50
+ planId?: string;
51
+ planTemplateVariables?: unknown;
38
52
  reply?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
39
53
  text?: string;
40
54
  type?: string;
55
+ userUtterance?: string;
41
56
  variables?: Array<VariableRepresentation_VariableRepresentation>;
42
57
  }
@@ -3,7 +3,7 @@ import { CollectMessageRepresentation as CollectMessageRepresentation_CollectMes
3
3
  import { EsTypeMessageRepresentation as EsTypeMessageRepresentation_EsTypeMessageRepresentation } from './EsTypeMessageRepresentation';
4
4
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
5
5
  export declare const TTL = 30000;
6
- export declare const VERSION = "d0d96f922e0e6a5215ead292fbeb0363";
6
+ export declare const VERSION = "55ac02bd055f57a2a12aa0fa4844d1a2";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -37,12 +37,16 @@ export interface ConversationRuntimeProxyMessageRepresentationNormalized {
37
37
  errors?: Array<string>;
38
38
  /** The failure code for a Failure message. */
39
39
  failureCode?: string | null;
40
+ /** Feedback ID for this generated message. */
41
+ feedbackId?: string | null;
40
42
  /** Unique id of this message */
41
43
  id: string;
42
44
  /** The message for an ES Type message. */
43
45
  message?: string | null;
44
46
  /** The message type for an ES Type message. */
45
47
  messageType?: string | null;
48
+ /** Plan ID for the generated plan. */
49
+ planId?: string | null;
46
50
  /** The result response for an Inform message. */
47
51
  result?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
48
52
  /** The message text, if applicable for the type. */
@@ -64,9 +68,11 @@ export interface ConversationRuntimeProxyMessageRepresentation {
64
68
  confirm?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
65
69
  errors?: Array<string>;
66
70
  failureCode?: string | null;
71
+ feedbackId?: string | null;
67
72
  id: string;
68
73
  message?: string | null;
69
74
  messageType?: string | null;
75
+ planId?: string | null;
70
76
  result?: Array<EsTypeMessageRepresentation_EsTypeMessageRepresentation>;
71
77
  text?: string | null;
72
78
  type?: string;
@@ -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 = "35edf813cf9e135085be6a7af45aada2";
3
+ export declare const VERSION = "e8cb7e20392935088ea2f98edb927e8a";
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: EsTypeMessageRepresentation, existing: EsTypeMessageRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EsTypeMessageRepresentationNormalized;
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface EsTypeMessageRepresentationNormalized {
18
+ /** Property for the ES type message. */
19
+ property?: string | null;
18
20
  /** Type for the ES type message. */
19
21
  type: string;
20
22
  /** Value for the ES type message. */
@@ -27,6 +29,7 @@ export interface EsTypeMessageRepresentationNormalized {
27
29
  * (none)
28
30
  */
29
31
  export interface EsTypeMessageRepresentation {
32
+ property?: string | null;
30
33
  type: string;
31
34
  value: unknown;
32
35
  }
@@ -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 = "810e13d8bf55f296fbb9eed86a0019f5";
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: string;
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: string;
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-dev2",
3
+ "version": "1.266.0-dev21",
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-dev2"
43
+ "@salesforce/lds-bindings": "^1.266.0-dev21"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.266.0-dev2"
46
+ "@salesforce/lds-compiler-plugins": "^1.266.0-dev21"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {