@salesforce/lds-adapters-service-serviceplan 1.295.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/LICENSE.txt +82 -0
- package/dist/es/es2018/service-serviceplan.js +429 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/executeServicePlan.d.ts +18 -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 +2 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServicePlanExecuteByGeneratedPlanId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectServicePlanExecuteByGeneratedPlanId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionSummaryRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationInputParamRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationSessionInformationOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanOutputRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanStepAttributeRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanStepExecutionSummaryRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanStepRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +457 -0
- package/src/raml/api.raml +233 -0
- package/src/raml/luvio.raml +18 -0
|
@@ -0,0 +1,34 @@
|
|
|
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 = "6243c03d8abfe2f4e8e84087d3a5caa4";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServicePlanExecutionInputRepresentation, existing: ServicePlanExecutionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanExecutionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ServicePlanExecutionInputRepresentationNormalized, incoming: ServicePlanExecutionInputRepresentationNormalized): 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: ServicePlanExecutionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents a generated service plan input context required for service plan execution
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServicePlanExecutionInputRepresentationNormalized {
|
|
17
|
+
/** Intent */
|
|
18
|
+
intent: string;
|
|
19
|
+
/** Copilot planId */
|
|
20
|
+
planId: string;
|
|
21
|
+
/** Copilot SessionId */
|
|
22
|
+
sessionId: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a generated service plan input context required for service plan execution
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface ServicePlanExecutionInputRepresentation {
|
|
31
|
+
intent: string;
|
|
32
|
+
planId: string;
|
|
33
|
+
sessionId: string;
|
|
34
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ServicePlanExecutionSummaryRepresentation as ServicePlanExecutionSummaryRepresentation_ServicePlanExecutionSummaryRepresentation } from './ServicePlanExecutionSummaryRepresentation';
|
|
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 VERSION = "0b6d5d82884b30861149227a18c79e34";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export type ServicePlanExecutionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialServicePlanExecutionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ServicePlanExecutionOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ServicePlanExecutionOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ServicePlanExecutionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: ServicePlanExecutionOutputRepresentation, existing: ServicePlanExecutionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanExecutionOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: ServicePlanExecutionOutputRepresentationNormalized, incoming: ServicePlanExecutionOutputRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ServicePlanExecutionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Represent the service plan execution result
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* id (string): reason
|
|
25
|
+
*/
|
|
26
|
+
export interface ServicePlanExecutionOutputRepresentationNormalized {
|
|
27
|
+
/** The reason of the service plan execution request job failure */
|
|
28
|
+
reason: string;
|
|
29
|
+
/** The details of the service plan execution request job failure */
|
|
30
|
+
reasonDetails: string;
|
|
31
|
+
servicePlan: ServicePlanExecutionSummaryRepresentation_ServicePlanExecutionSummaryRepresentation;
|
|
32
|
+
/** The Status of the service plan execution request job */
|
|
33
|
+
status: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Represent the service plan execution result
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* id (string): reason
|
|
40
|
+
*/
|
|
41
|
+
export interface ServicePlanExecutionOutputRepresentation {
|
|
42
|
+
reason: string;
|
|
43
|
+
reasonDetails: string;
|
|
44
|
+
servicePlan: ServicePlanExecutionSummaryRepresentation_ServicePlanExecutionSummaryRepresentation;
|
|
45
|
+
status: string;
|
|
46
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionSummaryRepresentation.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ServicePlanStepExecutionSummaryRepresentation as ServicePlanStepExecutionSummaryRepresentation_ServicePlanStepExecutionSummaryRepresentation } from './ServicePlanStepExecutionSummaryRepresentation';
|
|
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 VERSION = "0786fbab705610a53f80f4db85b8cfa3";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ServicePlanExecutionSummaryRepresentation, existing: ServicePlanExecutionSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanExecutionSummaryRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ServicePlanExecutionSummaryRepresentationNormalized, incoming: ServicePlanExecutionSummaryRepresentationNormalized): 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: ServicePlanExecutionSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents the execution summary of a Service Plan
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ServicePlanExecutionSummaryRepresentationNormalized {
|
|
18
|
+
/** Executed Date */
|
|
19
|
+
executedDate: string;
|
|
20
|
+
/** Service Plan Status */
|
|
21
|
+
status: string;
|
|
22
|
+
/** Executed Steps */
|
|
23
|
+
steps: Array<ServicePlanStepExecutionSummaryRepresentation_ServicePlanStepExecutionSummaryRepresentation>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Represents the execution summary of a Service Plan
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface ServicePlanExecutionSummaryRepresentation {
|
|
32
|
+
executedDate: string;
|
|
33
|
+
status: string;
|
|
34
|
+
steps: Array<ServicePlanStepExecutionSummaryRepresentation_ServicePlanStepExecutionSummaryRepresentation>;
|
|
35
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationInputParamRepresentation.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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 = "a7d2c323117124a2042614fe073adde7";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServicePlanGenerationInputParamRepresentation, existing: ServicePlanGenerationInputParamRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanGenerationInputParamRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ServicePlanGenerationInputParamRepresentationNormalized, incoming: ServicePlanGenerationInputParamRepresentationNormalized): 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: ServicePlanGenerationInputParamRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents a request for generating a service plan
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServicePlanGenerationInputParamRepresentationNormalized {
|
|
17
|
+
/** Additional context for the plan generation request */
|
|
18
|
+
additionalContext: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
/** Plan generation mode */
|
|
22
|
+
mode: string;
|
|
23
|
+
/** Origin for the plan generation request */
|
|
24
|
+
source: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents a request for generating a service plan
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface ServicePlanGenerationInputParamRepresentation {
|
|
33
|
+
additionalContext: {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
};
|
|
36
|
+
mode: string;
|
|
37
|
+
source: string;
|
|
38
|
+
}
|
|
@@ -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 = "a9e14aa8a6de4f249435bead28f3d214";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServicePlanGenerationSessionInformationOutputRepresentation, existing: ServicePlanGenerationSessionInformationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanGenerationSessionInformationOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ServicePlanGenerationSessionInformationOutputRepresentationNormalized, incoming: ServicePlanGenerationSessionInformationOutputRepresentationNormalized): 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: ServicePlanGenerationSessionInformationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represent the session information of a Service Plan Generation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServicePlanGenerationSessionInformationOutputRepresentationNormalized {
|
|
17
|
+
/** Bot id used for invoking the planner service */
|
|
18
|
+
botId: string;
|
|
19
|
+
/** Bot id used for invoking the planner service */
|
|
20
|
+
botVersionId: string;
|
|
21
|
+
/** Client Feature Id used for feedback on the plan generation */
|
|
22
|
+
clientFeatureId: string;
|
|
23
|
+
/** Generations Id used for feedback on the plan generation */
|
|
24
|
+
generationsId: string;
|
|
25
|
+
/** Plan id used for plan execution or plan modification */
|
|
26
|
+
planId: string;
|
|
27
|
+
/** Session id used for plan execution or plan modification */
|
|
28
|
+
sessionId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represent the session information of a Service Plan Generation
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface ServicePlanGenerationSessionInformationOutputRepresentation {
|
|
37
|
+
botId: string;
|
|
38
|
+
botVersionId: string;
|
|
39
|
+
clientFeatureId: string;
|
|
40
|
+
generationsId: string;
|
|
41
|
+
planId: string;
|
|
42
|
+
sessionId: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ServicePlanGenerationSessionInformationOutputRepresentation as ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation } from './ServicePlanGenerationSessionInformationOutputRepresentation';
|
|
2
|
+
import { ServicePlanStepRepresentation as ServicePlanStepRepresentation_ServicePlanStepRepresentation } from './ServicePlanStepRepresentation';
|
|
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 = "456eb5386663bf7ad38f6a7d3489cc17";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: ServicePlanOutputRepresentation, existing: ServicePlanOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanOutputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: ServicePlanOutputRepresentationNormalized, incoming: ServicePlanOutputRepresentationNormalized): 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: ServicePlanOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Represent the generated Service Plan
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ServicePlanOutputRepresentationNormalized {
|
|
19
|
+
/** The copilot used to generate the service plan */
|
|
20
|
+
copilot: string;
|
|
21
|
+
/** The created date of the service plan */
|
|
22
|
+
createdDate: string;
|
|
23
|
+
/** The Id of the plan record */
|
|
24
|
+
generatedPlanId: string;
|
|
25
|
+
/** The raw plan generated by the copilot */
|
|
26
|
+
rawPlan: string;
|
|
27
|
+
/** The session information related to the copilot generating the plan */
|
|
28
|
+
sessionInformation: ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation;
|
|
29
|
+
/** The steps of the service plan */
|
|
30
|
+
steps: Array<ServicePlanStepRepresentation_ServicePlanStepRepresentation>;
|
|
31
|
+
/** The topic identified when generating the service plan */
|
|
32
|
+
topic: string;
|
|
33
|
+
/** The description of topic identified when generating the service plan */
|
|
34
|
+
topicDescription: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Represent the generated Service Plan
|
|
38
|
+
*
|
|
39
|
+
* Keys:
|
|
40
|
+
* (none)
|
|
41
|
+
*/
|
|
42
|
+
export interface ServicePlanOutputRepresentation {
|
|
43
|
+
copilot: string;
|
|
44
|
+
createdDate: string;
|
|
45
|
+
generatedPlanId: string;
|
|
46
|
+
rawPlan: string;
|
|
47
|
+
sessionInformation: ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation;
|
|
48
|
+
steps: Array<ServicePlanStepRepresentation_ServicePlanStepRepresentation>;
|
|
49
|
+
topic: string;
|
|
50
|
+
topicDescription: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ServicePlanGenerationSessionInformationOutputRepresentation as ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation } from './ServicePlanGenerationSessionInformationOutputRepresentation';
|
|
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 VERSION = "d35a03406dcbe977cec1d3c96122bf9f";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ServicePlanRepresentation, existing: ServicePlanRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ServicePlanRepresentationNormalized, incoming: ServicePlanRepresentationNormalized): 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: ServicePlanRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Service Plan representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ServicePlanRepresentationNormalized {
|
|
18
|
+
/** Copilot */
|
|
19
|
+
copilot: string;
|
|
20
|
+
/** Plan Id */
|
|
21
|
+
generatedPlanId: string;
|
|
22
|
+
/** Session details */
|
|
23
|
+
sessionInformation: ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation;
|
|
24
|
+
/** Topic Name */
|
|
25
|
+
topic: string;
|
|
26
|
+
/** Topic Description */
|
|
27
|
+
topicDescription: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Service Plan representation
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface ServicePlanRepresentation {
|
|
36
|
+
copilot: string;
|
|
37
|
+
generatedPlanId: string;
|
|
38
|
+
sessionInformation: ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation;
|
|
39
|
+
topic: string;
|
|
40
|
+
topicDescription: string;
|
|
41
|
+
}
|
|
@@ -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 = "99042f82adcd3c8da3dff5222960ee32";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServicePlanStepAttributeRepresentation, existing: ServicePlanStepAttributeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanStepAttributeRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ServicePlanStepAttributeRepresentationNormalized, incoming: ServicePlanStepAttributeRepresentationNormalized): 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: ServicePlanStepAttributeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represent an attribute in a step of a generated Service Plan
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServicePlanStepAttributeRepresentationNormalized {
|
|
17
|
+
/** The name of the step attribute */
|
|
18
|
+
name: string;
|
|
19
|
+
/** The value of the step attribute */
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represent an attribute in a step of a generated Service Plan
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ServicePlanStepAttributeRepresentation {
|
|
29
|
+
name: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ServicePlanStepExecutionSummaryRepresentation.d.ts
ADDED
|
@@ -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 = "49ecad43516b5e32603856ae2fd27e4c";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServicePlanStepExecutionSummaryRepresentation, existing: ServicePlanStepExecutionSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanStepExecutionSummaryRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ServicePlanStepExecutionSummaryRepresentationNormalized, incoming: ServicePlanStepExecutionSummaryRepresentationNormalized): 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: ServicePlanStepExecutionSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents the execution summary of a Service Plan Step
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServicePlanStepExecutionSummaryRepresentationNormalized {
|
|
17
|
+
/** Message */
|
|
18
|
+
message: string;
|
|
19
|
+
/** Status */
|
|
20
|
+
status: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the execution summary of a Service Plan Step
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ServicePlanStepExecutionSummaryRepresentation {
|
|
29
|
+
message: string;
|
|
30
|
+
status: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ServicePlanStepAttributeRepresentation as ServicePlanStepAttributeRepresentation_ServicePlanStepAttributeRepresentation } from './ServicePlanStepAttributeRepresentation';
|
|
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 VERSION = "5e5b0814276deca0971cc769af272177";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ServicePlanStepRepresentation, existing: ServicePlanStepRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanStepRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ServicePlanStepRepresentationNormalized, incoming: ServicePlanStepRepresentationNormalized): 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: ServicePlanStepRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represent a step of a generated Service Plan
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ServicePlanStepRepresentationNormalized {
|
|
18
|
+
/** The description of the service plan step */
|
|
19
|
+
description: string;
|
|
20
|
+
/** The name of the service plan step */
|
|
21
|
+
functionName: string;
|
|
22
|
+
/** The list of inputs of the service plan step */
|
|
23
|
+
inputs: Array<ServicePlanStepAttributeRepresentation_ServicePlanStepAttributeRepresentation>;
|
|
24
|
+
/** The output collection of the service plan step */
|
|
25
|
+
outputCollection: string;
|
|
26
|
+
/** The output variable of the service plan step */
|
|
27
|
+
outputVariable: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Represent a step of a generated Service Plan
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface ServicePlanStepRepresentation {
|
|
36
|
+
description: string;
|
|
37
|
+
functionName: string;
|
|
38
|
+
inputs: Array<ServicePlanStepAttributeRepresentation_ServicePlanStepAttributeRepresentation>;
|
|
39
|
+
outputCollection: string;
|
|
40
|
+
outputVariable: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-service-serviceplan",
|
|
3
|
+
"version": "1.295.0",
|
|
4
|
+
"description": "collectionof service plan apis",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/service-serviceplan.js",
|
|
7
|
+
"module": "dist/es/es2018/service-serviceplan.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/service-serviceplan.js",
|
|
18
|
+
"require": "./dist/es/es2018/service-serviceplan.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sfdc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "serviceServiceplanApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"sdarwhatkar@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:services",
|
|
35
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
36
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
37
|
+
"clean": "rm -rf dist sfdc src/generated",
|
|
38
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-service-serviceplan",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-service-serviceplan",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^1.295.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.295.0"
|
|
47
|
+
},
|
|
48
|
+
"nx": {
|
|
49
|
+
"targets": {
|
|
50
|
+
"build": {
|
|
51
|
+
"outputs": [
|
|
52
|
+
"{projectRoot}/dist",
|
|
53
|
+
"{projectRoot}/sfdc"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"build:raml": {
|
|
57
|
+
"outputs": [
|
|
58
|
+
"{projectRoot}/src/generated"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"volta": {
|
|
64
|
+
"extends": "../../package.json"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|