@salesforce/lds-adapters-service-ecm 1.366.0 → 1.368.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-ecm.js +1359 -1122
- package/dist/es/es2018/types/src/generated/adapters/createAgentAction.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/createAgentFlow.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationAgentFlowAutolaunched.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationGenAiActions.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/AgentActionAttributeOutputRepresentation.d.ts +27 -27
- package/dist/es/es2018/types/src/generated/types/AgentFlowInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AgentFlowOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/AgentFlowStatusOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionOutputRepresentation.d.ts +38 -28
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionsOutputRepresentation.d.ts +5 -5
- package/package.json +3 -3
- package/sfdc/index.js +5598 -5355
- package/src/raml/api.raml +117 -37
- package/src/raml/luvio.raml +16 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, 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_postConnectServiceAutomationGenAiActions_ResourceRequestConfig } from '../resources/postConnectServiceAutomationGenAiActions';
|
|
4
|
+
import { EinsteinAgentActionOutputRepresentation as types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation } from '../types/EinsteinAgentActionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createAgentAction";
|
|
6
|
+
export declare const createAgentAction_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createAgentAction_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateAgentActionConfig {
|
|
9
|
+
description: string;
|
|
10
|
+
developerName: string;
|
|
11
|
+
invocationTargetIdentifier: string;
|
|
12
|
+
invocationTargetType: string;
|
|
13
|
+
label: string;
|
|
14
|
+
serviceProcessId: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const createResourceParams: (config: CreateAgentActionConfig) => resources_postConnectServiceAutomationGenAiActions_ResourceRequestConfig;
|
|
17
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateAgentActionConfig>): adapter$45$utils_Untrusted<CreateAgentActionConfig>;
|
|
18
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateAgentActionConfig | null;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateAgentActionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, any>>;
|
|
20
|
+
export declare const createAgentActionAdapterFactory: $64$luvio_engine_AdapterFactory<CreateAgentActionConfig, types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, 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_postConnectServiceAutomationAgentFlowAutolaunched_ResourceRequestConfig } from '../resources/postConnectServiceAutomationAgentFlowAutolaunched';
|
|
4
|
+
import { AgentFlowOutputRepresentation as types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation } from '../types/AgentFlowOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createAgentFlow";
|
|
6
|
+
export declare const createAgentFlow_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createAgentFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateAgentFlowConfig {
|
|
9
|
+
description: string;
|
|
10
|
+
developerName: string;
|
|
11
|
+
label: string;
|
|
12
|
+
serviceProcessId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: CreateAgentFlowConfig) => resources_postConnectServiceAutomationAgentFlowAutolaunched_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateAgentFlowConfig>): adapter$45$utils_Untrusted<CreateAgentFlowConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateAgentFlowConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateAgentFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation, any>>;
|
|
18
|
+
export declare const createAgentFlowAdapterFactory: $64$luvio_engine_AdapterFactory<CreateAgentFlowConfig, types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation>;
|
|
@@ -5,6 +5,8 @@ export { updateEpcCategoriesAdapterFactory } from '../adapters/updateEpcCategori
|
|
|
5
5
|
export { getAllServiceAutomationDepAdapterFactory } from '../adapters/getAllServiceAutomationDep';
|
|
6
6
|
export { getAllServiceProcessTemplateAdapterFactory } from '../adapters/getAllServiceProcessTemplate';
|
|
7
7
|
export { getAgentActionsAdapterFactory } from '../adapters/getAgentActions';
|
|
8
|
+
export { createAgentActionAdapterFactory } from '../adapters/createAgentAction';
|
|
9
|
+
export { createAgentFlowAdapterFactory } from '../adapters/createAgentFlow';
|
|
8
10
|
export { generateIntakeFormAdapterFactory } from '../adapters/generateIntakeForm';
|
|
9
11
|
export { generateOmniScriptAdapterFactory } from '../adapters/generateOmniScript';
|
|
10
12
|
export { getServiceRequestAdapterFactory } from '../adapters/getServiceRequest';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
declare let createAgentAction: any;
|
|
2
|
+
declare let createAgentFlow: any;
|
|
1
3
|
declare let createCatalogItem: any;
|
|
2
4
|
declare let deployTemplate: any;
|
|
3
5
|
declare let generateIntakeForm: any;
|
|
@@ -14,4 +16,4 @@ declare let getAllServiceAutomationDep_imperative: any;
|
|
|
14
16
|
declare let getAllServiceProcessTemplate_imperative: any;
|
|
15
17
|
declare let getCatalogItem_imperative: any;
|
|
16
18
|
declare let getServiceRequest_imperative: any;
|
|
17
|
-
export { createCatalogItem, deployTemplate, generateIntakeForm, generateOmniScript, getAgentActions, getAllServiceAutomationDep, getAllServiceProcessTemplate, getCatalogItem, getServiceRequest, updateCatalogItem, updateEpcCategories, getAgentActions_imperative, getAllServiceAutomationDep_imperative, getAllServiceProcessTemplate_imperative, getCatalogItem_imperative, getServiceRequest_imperative, };
|
|
19
|
+
export { createAgentAction, createAgentFlow, createCatalogItem, deployTemplate, generateIntakeForm, generateOmniScript, getAgentActions, getAllServiceAutomationDep, getAllServiceProcessTemplate, getCatalogItem, getServiceRequest, updateCatalogItem, updateEpcCategories, getAgentActions_imperative, getAllServiceAutomationDep_imperative, getAllServiceProcessTemplate_imperative, getCatalogItem_imperative, getServiceRequest_imperative, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { AgentFlowOutputRepresentation as types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation } from '../types/AgentFlowOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
description: string;
|
|
6
|
+
developerName: string;
|
|
7
|
+
label: string;
|
|
8
|
+
serviceProcessId: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AgentFlowOutputRepresentation_AgentFlowOutputRepresentation, any>;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationGenAiActions.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { EinsteinAgentActionOutputRepresentation as types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation } from '../types/EinsteinAgentActionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
description: string;
|
|
6
|
+
developerName: string;
|
|
7
|
+
invocationTargetIdentifier: string;
|
|
8
|
+
invocationTargetType: string;
|
|
9
|
+
label: string;
|
|
10
|
+
serviceProcessId: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/AgentActionAttributeOutputRepresentation.d.ts
CHANGED
|
@@ -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 = "5df1d4fd0e2e95371d19680f89716ea9";
|
|
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: AgentActionAttributeOutputRepresentation, existing: AgentActionAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AgentActionAttributeOutputRepresentationNormalized;
|
|
@@ -15,31 +15,31 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface AgentActionAttributeOutputRepresentationNormalized {
|
|
17
17
|
/** Data type of the attribute */
|
|
18
|
-
dataType
|
|
18
|
+
dataType: string;
|
|
19
19
|
/** Description of the Attribute */
|
|
20
|
-
description
|
|
20
|
+
description: string;
|
|
21
21
|
/** Developer Name of the Atribute */
|
|
22
|
-
developerName
|
|
22
|
+
developerName: string;
|
|
23
23
|
/** Is displayable */
|
|
24
|
-
displayable?: boolean
|
|
24
|
+
displayable?: boolean;
|
|
25
25
|
/** Exclude from Planner */
|
|
26
|
-
excludedFromPlanner?: boolean
|
|
26
|
+
excludedFromPlanner?: boolean;
|
|
27
27
|
/** Is PII Information */
|
|
28
|
-
isPersIdentInfo?: boolean
|
|
28
|
+
isPersIdentInfo?: boolean;
|
|
29
29
|
/** Data type of the items in the list */
|
|
30
|
-
itemsDataType?: string
|
|
30
|
+
itemsDataType?: string;
|
|
31
31
|
/** Label of the Attribute */
|
|
32
|
-
label
|
|
32
|
+
label: string;
|
|
33
33
|
/** Mapping Type */
|
|
34
|
-
mappingType
|
|
34
|
+
mappingType: string;
|
|
35
35
|
/** Max items */
|
|
36
|
-
maxItems?: number
|
|
36
|
+
maxItems?: number;
|
|
37
37
|
/** Is Required Attribute */
|
|
38
|
-
required?: boolean
|
|
38
|
+
required?: boolean;
|
|
39
39
|
/** Title of the Attribute */
|
|
40
|
-
title
|
|
40
|
+
title: string;
|
|
41
41
|
/** Is user input */
|
|
42
|
-
userInput?: boolean
|
|
42
|
+
userInput?: boolean;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Output representation for an Agent Action Attribute
|
|
@@ -48,17 +48,17 @@ export interface AgentActionAttributeOutputRepresentationNormalized {
|
|
|
48
48
|
* (none)
|
|
49
49
|
*/
|
|
50
50
|
export interface AgentActionAttributeOutputRepresentation {
|
|
51
|
-
dataType
|
|
52
|
-
description
|
|
53
|
-
developerName
|
|
54
|
-
displayable?: boolean
|
|
55
|
-
excludedFromPlanner?: boolean
|
|
56
|
-
isPersIdentInfo?: boolean
|
|
57
|
-
itemsDataType?: string
|
|
58
|
-
label
|
|
59
|
-
mappingType
|
|
60
|
-
maxItems?: number
|
|
61
|
-
required?: boolean
|
|
62
|
-
title
|
|
63
|
-
userInput?: boolean
|
|
51
|
+
dataType: string;
|
|
52
|
+
description: string;
|
|
53
|
+
developerName: string;
|
|
54
|
+
displayable?: boolean;
|
|
55
|
+
excludedFromPlanner?: boolean;
|
|
56
|
+
isPersIdentInfo?: boolean;
|
|
57
|
+
itemsDataType?: string;
|
|
58
|
+
label: string;
|
|
59
|
+
mappingType: string;
|
|
60
|
+
maxItems?: number;
|
|
61
|
+
required?: boolean;
|
|
62
|
+
title: string;
|
|
63
|
+
userInput?: boolean;
|
|
64
64
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 = "b87af49fcbc716b119011305d20d6524";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AgentFlowInputRepresentation, existing: AgentFlowInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AgentFlowInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AgentFlowInputRepresentationNormalized, incoming: AgentFlowInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AgentFlowInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Agent Action
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface AgentFlowInputRepresentationNormalized {
|
|
17
|
+
/** The description of the flow */
|
|
18
|
+
description: string;
|
|
19
|
+
/** The Api Name of the flow */
|
|
20
|
+
developerName: string;
|
|
21
|
+
/** The label of the Flow */
|
|
22
|
+
label: string;
|
|
23
|
+
/** The ID of product2 record corresponding to a service process */
|
|
24
|
+
serviceProcessId: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Input Representation for Agent Action
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface AgentFlowInputRepresentation {
|
|
33
|
+
description: string;
|
|
34
|
+
developerName: string;
|
|
35
|
+
label: string;
|
|
36
|
+
serviceProcessId: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AgentFlowStatusOutputRepresentation as AgentFlowStatusOutputRepresentation_AgentFlowStatusOutputRepresentation } from './AgentFlowStatusOutputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
export declare const TTL = 500;
|
|
4
|
+
export declare const VERSION = "8339c78dc2e1e22eb9203102eba6a7e8";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export type AgentFlowOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialAgentFlowOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): AgentFlowOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: AgentFlowOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: AgentFlowOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: AgentFlowOutputRepresentation, existing: AgentFlowOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AgentFlowOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: AgentFlowOutputRepresentationNormalized, incoming: AgentFlowOutputRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AgentFlowOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Output Representation for Flow corresponding to Agent Action
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* id (string): flowDefinitionId
|
|
26
|
+
*/
|
|
27
|
+
export interface AgentFlowOutputRepresentationNormalized {
|
|
28
|
+
/** Agent Flow Definition Id */
|
|
29
|
+
flowDefinitionId: string;
|
|
30
|
+
/** Latest Version Id of the Agent Flow */
|
|
31
|
+
flowLatestVersionId: string;
|
|
32
|
+
/** is the flow active or not */
|
|
33
|
+
isActive: boolean;
|
|
34
|
+
status: AgentFlowStatusOutputRepresentation_AgentFlowStatusOutputRepresentation;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Output Representation for Flow corresponding to Agent Action
|
|
38
|
+
*
|
|
39
|
+
* Keys:
|
|
40
|
+
* id (string): flowDefinitionId
|
|
41
|
+
*/
|
|
42
|
+
export interface AgentFlowOutputRepresentation {
|
|
43
|
+
flowDefinitionId: string;
|
|
44
|
+
flowLatestVersionId: string;
|
|
45
|
+
isActive: boolean;
|
|
46
|
+
status: AgentFlowStatusOutputRepresentation_AgentFlowStatusOutputRepresentation;
|
|
47
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "c9311edc4dc08a9830891f1c8b6ec195";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AgentFlowStatusOutputRepresentation, existing: AgentFlowStatusOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AgentFlowStatusOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AgentFlowStatusOutputRepresentationNormalized, incoming: AgentFlowStatusOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AgentFlowStatusOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation to show status and message for the api call
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface AgentFlowStatusOutputRepresentationNormalized {
|
|
17
|
+
/** get status code */
|
|
18
|
+
code: number;
|
|
19
|
+
/** get status message */
|
|
20
|
+
message: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output representation to show status and message for the api call
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface AgentFlowStatusOutputRepresentation {
|
|
29
|
+
code: number;
|
|
30
|
+
message: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 = "cfb68e9ec5ef6e1c9c80c8e14dfc0dbc";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EinsteinAgentActionInputRepresentation, existing: EinsteinAgentActionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinAgentActionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EinsteinAgentActionInputRepresentationNormalized, incoming: EinsteinAgentActionInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinAgentActionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for an Agent Action
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EinsteinAgentActionInputRepresentationNormalized {
|
|
17
|
+
/** Description of the agent action */
|
|
18
|
+
description: string;
|
|
19
|
+
/** Developer name of the agent action */
|
|
20
|
+
developerName: string;
|
|
21
|
+
/** Invocation Target Identifier of the agent action */
|
|
22
|
+
invocationTargetIdentifier: string;
|
|
23
|
+
/** Invocation Target Type of the agent action */
|
|
24
|
+
invocationTargetType: string;
|
|
25
|
+
/** Master Label of the agent action */
|
|
26
|
+
label: string;
|
|
27
|
+
/** Service Process Identifier */
|
|
28
|
+
serviceProcessId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Input representation for an Agent Action
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface EinsteinAgentActionInputRepresentation {
|
|
37
|
+
description: string;
|
|
38
|
+
developerName: string;
|
|
39
|
+
invocationTargetIdentifier: string;
|
|
40
|
+
invocationTargetType: string;
|
|
41
|
+
label: string;
|
|
42
|
+
serviceProcessId: string;
|
|
43
|
+
}
|
package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionOutputRepresentation.d.ts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import { AgentActionAttributeOutputRepresentation as AgentActionAttributeOutputRepresentation_AgentActionAttributeOutputRepresentation } from './AgentActionAttributeOutputRepresentation';
|
|
2
|
-
import {
|
|
3
|
-
export declare const
|
|
2
|
+
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';
|
|
3
|
+
export declare const TTL = 500;
|
|
4
|
+
export declare const VERSION = "0a5a9a38d481c4e8bad16be490eacce9";
|
|
4
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
6
|
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export type EinsteinAgentActionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialEinsteinAgentActionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): EinsteinAgentActionOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: EinsteinAgentActionOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: EinsteinAgentActionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
6
16
|
export declare function normalize(input: EinsteinAgentActionOutputRepresentation, existing: EinsteinAgentActionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinAgentActionOutputRepresentationNormalized;
|
|
7
17
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
18
|
export declare function equals(existing: EinsteinAgentActionOutputRepresentationNormalized, incoming: EinsteinAgentActionOutputRepresentationNormalized): boolean;
|
|
@@ -12,51 +22,51 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
12
22
|
* Output representation for an Agent Action
|
|
13
23
|
*
|
|
14
24
|
* Keys:
|
|
15
|
-
* (
|
|
25
|
+
* id (string): id
|
|
16
26
|
*/
|
|
17
27
|
export interface EinsteinAgentActionOutputRepresentationNormalized {
|
|
18
28
|
/** Attributes of the Agent Action */
|
|
19
|
-
attributes
|
|
29
|
+
attributes: Array<AgentActionAttributeOutputRepresentation_AgentActionAttributeOutputRepresentation>;
|
|
20
30
|
/** Description of the Agent Action */
|
|
21
|
-
description
|
|
31
|
+
description: string;
|
|
22
32
|
/** Developer Name of the Agent Action */
|
|
23
|
-
developerName
|
|
33
|
+
developerName: string;
|
|
24
34
|
/** Identifier of the Agent Action */
|
|
25
|
-
id
|
|
35
|
+
id: string;
|
|
26
36
|
/** Include progress indicator message */
|
|
27
|
-
includeInProgressIndicator?: boolean
|
|
37
|
+
includeInProgressIndicator?: boolean;
|
|
28
38
|
/** Invocation Target of the Agent Action */
|
|
29
|
-
invocationTarget?: string
|
|
39
|
+
invocationTarget?: string;
|
|
30
40
|
/** Invocation Target ID of the Agent Action */
|
|
31
|
-
invocationTargetId?: string
|
|
41
|
+
invocationTargetId?: string;
|
|
32
42
|
/** Invocation Target Type of the Agent Action */
|
|
33
|
-
invocationTargetType
|
|
43
|
+
invocationTargetType: string;
|
|
34
44
|
/** Master Label of the Agent Action */
|
|
35
|
-
label
|
|
45
|
+
label: string;
|
|
36
46
|
/** Namespace of the Agent Action */
|
|
37
|
-
namespace?: string
|
|
47
|
+
namespace?: string;
|
|
38
48
|
/** Progress indicator message */
|
|
39
|
-
progressIndicatorMessage?: string
|
|
49
|
+
progressIndicatorMessage?: string;
|
|
40
50
|
/** Is user confirmation required for executing Action */
|
|
41
|
-
userConfirmationRequired?: boolean
|
|
51
|
+
userConfirmationRequired?: boolean;
|
|
42
52
|
}
|
|
43
53
|
/**
|
|
44
54
|
* Output representation for an Agent Action
|
|
45
55
|
*
|
|
46
56
|
* Keys:
|
|
47
|
-
* (
|
|
57
|
+
* id (string): id
|
|
48
58
|
*/
|
|
49
59
|
export interface EinsteinAgentActionOutputRepresentation {
|
|
50
|
-
attributes
|
|
51
|
-
description
|
|
52
|
-
developerName
|
|
53
|
-
id
|
|
54
|
-
includeInProgressIndicator?: boolean
|
|
55
|
-
invocationTarget?: string
|
|
56
|
-
invocationTargetId?: string
|
|
57
|
-
invocationTargetType
|
|
58
|
-
label
|
|
59
|
-
namespace?: string
|
|
60
|
-
progressIndicatorMessage?: string
|
|
61
|
-
userConfirmationRequired?: boolean
|
|
60
|
+
attributes: Array<AgentActionAttributeOutputRepresentation_AgentActionAttributeOutputRepresentation>;
|
|
61
|
+
description: string;
|
|
62
|
+
developerName: string;
|
|
63
|
+
id: string;
|
|
64
|
+
includeInProgressIndicator?: boolean;
|
|
65
|
+
invocationTarget?: string;
|
|
66
|
+
invocationTargetId?: string;
|
|
67
|
+
invocationTargetType: string;
|
|
68
|
+
label: string;
|
|
69
|
+
namespace?: string;
|
|
70
|
+
progressIndicatorMessage?: string;
|
|
71
|
+
userConfirmationRequired?: boolean;
|
|
62
72
|
}
|
package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionsOutputRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EinsteinAgentActionOutputRepresentation as EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation } from './EinsteinAgentActionOutputRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, 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 =
|
|
4
|
-
export declare const VERSION = "
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 600000;
|
|
4
|
+
export declare const VERSION = "1cea7e031c1a82331a586394e722ad24";
|
|
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: EinsteinAgentActionsOutputRepresentation, existing: EinsteinAgentActionsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinAgentActionsOutputRepresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
*/
|
|
18
18
|
export interface EinsteinAgentActionsOutputRepresentationNormalized {
|
|
19
19
|
/** Agent Actions */
|
|
20
|
-
actions
|
|
20
|
+
actions: Array<$64$luvio_engine_StoreLink>;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Output representation for Agent Actions
|
|
@@ -26,5 +26,5 @@ export interface EinsteinAgentActionsOutputRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface EinsteinAgentActionsOutputRepresentation {
|
|
29
|
-
actions
|
|
29
|
+
actions: Array<EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation>;
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.368.0",
|
|
4
4
|
"description": "Service Automation Request",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-ecm.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.368.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.368.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|