@salesforce/lds-adapters-service-serviceplan 1.348.1 → 1.349.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.
Files changed (19) hide show
  1. package/dist/es/es2018/service-serviceplan.js +46 -649
  2. package/dist/es/es2018/types/src/generated/adapters/generateServicePlan.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/resources/postConnectServicePlanGenerationRequests.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/types/ServicePlanDetailsRepresentation.d.ts +5 -2
  5. package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationOutputRepresentation.d.ts +2 -21
  6. package/dist/es/es2018/types/src/generated/types/ServicePlanStepDetailsRepresentation.d.ts +4 -1
  7. package/package.json +3 -3
  8. package/sfdc/index.js +47 -650
  9. package/src/raml/api.raml +70 -211
  10. package/src/raml/luvio.raml +0 -16
  11. package/dist/es/es2018/types/src/generated/resources/getConnectServicePlanExecuteByPlanOrStepId.d.ts +0 -15
  12. package/dist/es/es2018/types/src/generated/types/ServicePlanDataInputRepresentation.d.ts +0 -28
  13. package/dist/es/es2018/types/src/generated/types/ServicePlanDataOutputRepresentation.d.ts +0 -28
  14. package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionSummaryRepresentation.d.ts +0 -35
  15. package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationSessionInformationOutputRepresentation.d.ts +0 -37
  16. package/dist/es/es2018/types/src/generated/types/ServicePlanOutputRepresentation.d.ts +0 -57
  17. package/dist/es/es2018/types/src/generated/types/ServicePlanRepresentation.d.ts +0 -44
  18. package/dist/es/es2018/types/src/generated/types/ServicePlanStepExecutionSummaryRepresentation.d.ts +0 -31
  19. package/dist/es/es2018/types/src/generated/types/ServicePlanStepRepresentation.d.ts +0 -37
@@ -8,6 +8,7 @@ export declare const generateServicePlan_ConfigPropertyNames: adapter$45$utils_A
8
8
  export interface GenerateServicePlanConfig {
9
9
  processingMode?: string;
10
10
  recordId?: string;
11
+ regenerate?: boolean;
11
12
  additionalContext: {
12
13
  [key: string]: string;
13
14
  };
@@ -4,6 +4,7 @@ export interface ResourceRequestConfig {
4
4
  queryParams: {
5
5
  processingMode?: string;
6
6
  recordId?: string;
7
+ regenerate?: boolean;
7
8
  };
8
9
  body: {
9
10
  additionalContext: {
@@ -1,6 +1,6 @@
1
1
  import { ServicePlanStepDetailsRepresentation as ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation } from './ServicePlanStepDetailsRepresentation';
2
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 VERSION = "c9695b537d7f54ccb9bfd42af5ddaa1d";
3
+ export declare const VERSION = "caa4875ebe47f9738944b0542d09f7ef";
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: ServicePlanDetailsRepresentation, existing: ServicePlanDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanDetailsRepresentationNormalized;
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface ServicePlanDetailsRepresentationNormalized {
18
- /** clientFeature ID */
18
+ /** ClientFeature ID */
19
19
  clientFeatureId: string | null;
20
20
  /** Created Date */
21
21
  createdDate: string | null;
@@ -23,6 +23,8 @@ export interface ServicePlanDetailsRepresentationNormalized {
23
23
  executionStatus: string | null;
24
24
  /** Feedback ID */
25
25
  feedbackId: string | null;
26
+ /** Has Context Changed */
27
+ hasContextChanged: boolean;
26
28
  /** PlanHeader */
27
29
  planHeader: string | null;
28
30
  /** Plan ID */
@@ -43,6 +45,7 @@ export interface ServicePlanDetailsRepresentation {
43
45
  createdDate: string | null;
44
46
  executionStatus: string | null;
45
47
  feedbackId: string | null;
48
+ hasContextChanged: boolean;
46
49
  planHeader: string | null;
47
50
  planId: string | null;
48
51
  servicePlanSteps: Array<ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation>;
@@ -1,7 +1,6 @@
1
- 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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- import { ServicePlanOutputRepresentation as ServicePlanOutputRepresentation_ServicePlanOutputRepresentation } from './ServicePlanOutputRepresentation';
1
+ 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
2
  export declare const TTL = 1000;
4
- export declare const VERSION = "b5c67e27b60e36e6fa42d8892118ac05";
3
+ export declare const VERSION = "e7b90a0cede064026bfdd02757e2d945";
5
4
  export declare function validate(obj: any, path?: string): TypeError | null;
6
5
  export declare const RepresentationType: string;
7
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -14,19 +13,10 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
14
13
  export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ServicePlanGenerationOutputRepresentation): string;
15
14
  export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ServicePlanGenerationOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
15
  export declare function normalize(input: ServicePlanGenerationOutputRepresentation, existing: ServicePlanGenerationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanGenerationOutputRepresentationNormalized;
17
- export interface DynamicIngestParams {
18
- plan: $64$luvio_engine_ResourceIngest;
19
- }
20
- export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ServicePlanGenerationOutputRepresentation, existing: ServicePlanGenerationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ServicePlanGenerationOutputRepresentationNormalized;
21
16
  export declare const select: () => $64$luvio_engine_FragmentSelection;
22
- export interface DynamicSelectParams {
23
- plan?: $64$luvio_engine_LinkSelection;
24
- }
25
- export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
26
17
  export declare function equals(existing: ServicePlanGenerationOutputRepresentationNormalized, incoming: ServicePlanGenerationOutputRepresentationNormalized): boolean;
27
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
28
19
  export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ServicePlanGenerationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
29
- export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
30
20
  /**
31
21
  * Represent the service plan generation result
32
22
  *
@@ -34,18 +24,12 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
34
24
  * id (string | null): id
35
25
  */
36
26
  export interface ServicePlanGenerationOutputRepresentationNormalized {
37
- /** The Copilot used for this service plan generation request */
38
- copilotId: string | null;
39
- /** Name of the Copilot used for this service plan generation request */
40
- copilotName: string | null;
41
27
  /** Error code to identify the error */
42
28
  errorCode: string | null;
43
29
  /** Details related to the Error Reason, if any */
44
30
  errorMessage: string | null;
45
31
  /** The generated request ID */
46
32
  id: string | null;
47
- /** The generated service plan */
48
- plan: $64$luvio_engine_StoreLink | null;
49
33
  /** The reason of the service plan creation request job failure */
50
34
  reason: string;
51
35
  /** The record this plan generation was requested for */
@@ -62,12 +46,9 @@ export interface ServicePlanGenerationOutputRepresentationNormalized {
62
46
  * id (string | null): id
63
47
  */
64
48
  export interface ServicePlanGenerationOutputRepresentation {
65
- copilotId: string | null;
66
- copilotName: string | null;
67
49
  errorCode: string | null;
68
50
  errorMessage: string | null;
69
51
  id: string | null;
70
- plan: ServicePlanOutputRepresentation_ServicePlanOutputRepresentation | null;
71
52
  reason: string;
72
53
  recordId: string;
73
54
  status: string;
@@ -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, 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';
2
- export declare const VERSION = "6cfb86c25a01cd4a41ee90f00e443c8b";
2
+ export declare const VERSION = "a7197aa91ea47e1af0c5ff2ee8bacae7";
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: ServicePlanStepDetailsRepresentation, existing: ServicePlanStepDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanStepDetailsRepresentationNormalized;
@@ -18,6 +18,8 @@ export interface ServicePlanStepDetailsRepresentationNormalized {
18
18
  executionStatus: string;
19
19
  /** Group Name */
20
20
  groupName: string | null;
21
+ /** Suggested step */
22
+ isSuggested: boolean;
21
23
  /** Step order */
22
24
  order: number;
23
25
  /** Step ID */
@@ -36,6 +38,7 @@ export interface ServicePlanStepDetailsRepresentationNormalized {
36
38
  export interface ServicePlanStepDetailsRepresentation {
37
39
  executionStatus: string;
38
40
  groupName: string | null;
41
+ isSuggested: boolean;
39
42
  order: number;
40
43
  stepId: string;
41
44
  stepName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-serviceplan",
3
- "version": "1.348.1",
3
+ "version": "1.349.0",
4
4
  "description": "collectionof service plan apis",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-serviceplan.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.348.1"
43
+ "@salesforce/lds-bindings": "^1.349.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.348.1"
46
+ "@salesforce/lds-compiler-plugins": "^1.349.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {