@salesforce/lds-adapters-service-serviceplan 1.309.0-dev12 → 1.309.0-dev14

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.
@@ -1480,6 +1480,11 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1480
1480
  message += '\n' + obj_groupName_union1.split('\n').map((line) => '\t' + line).join('\n');
1481
1481
  return new TypeError(message);
1482
1482
  }
1483
+ const obj_isSuggested = obj.isSuggested;
1484
+ const path_isSuggested = path + '.isSuggested';
1485
+ if (typeof obj_isSuggested !== 'boolean') {
1486
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSuggested + '" (at "' + path_isSuggested + '")');
1487
+ }
1483
1488
  const obj_order = obj.order;
1484
1489
  const path_order = path + '.order';
1485
1490
  if (typeof obj_order !== 'number' || (typeof obj_order === 'number' && Math.floor(obj_order) !== obj_order)) {
@@ -1495,6 +1500,11 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1495
1500
  if (typeof obj_stepName !== 'string') {
1496
1501
  return new TypeError('Expected "string" but received "' + typeof obj_stepName + '" (at "' + path_stepName + '")');
1497
1502
  }
1503
+ const obj_stepSummary = obj.stepSummary;
1504
+ const path_stepSummary = path + '.stepSummary';
1505
+ if (typeof obj_stepSummary !== 'string') {
1506
+ return new TypeError('Expected "string" but received "' + typeof obj_stepSummary + '" (at "' + path_stepSummary + '")');
1507
+ }
1498
1508
  })();
1499
1509
  return v_error === undefined ? null : v_error;
1500
1510
  }
@@ -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 = "688e993994147cbf0b28f1c6cd4edb65";
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,12 +18,16 @@ 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 */
24
26
  stepId: string;
25
27
  /** Step name */
26
28
  stepName: string;
29
+ /** Step summary */
30
+ stepSummary: string;
27
31
  }
28
32
  /**
29
33
  * Service Plan step representation
@@ -34,7 +38,9 @@ export interface ServicePlanStepDetailsRepresentationNormalized {
34
38
  export interface ServicePlanStepDetailsRepresentation {
35
39
  executionStatus: string;
36
40
  groupName: string | null;
41
+ isSuggested: boolean;
37
42
  order: number;
38
43
  stepId: string;
39
44
  stepName: string;
45
+ stepSummary: string;
40
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-serviceplan",
3
- "version": "1.309.0-dev12",
3
+ "version": "1.309.0-dev14",
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.309.0-dev12"
43
+ "@salesforce/lds-bindings": "^1.309.0-dev14"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.309.0-dev12"
46
+ "@salesforce/lds-compiler-plugins": "^1.309.0-dev14"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1490,6 +1490,11 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1490
1490
  message += '\n' + obj_groupName_union1.split('\n').map((line) => '\t' + line).join('\n');
1491
1491
  return new TypeError(message);
1492
1492
  }
1493
+ const obj_isSuggested = obj.isSuggested;
1494
+ const path_isSuggested = path + '.isSuggested';
1495
+ if (typeof obj_isSuggested !== 'boolean') {
1496
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSuggested + '" (at "' + path_isSuggested + '")');
1497
+ }
1493
1498
  const obj_order = obj.order;
1494
1499
  const path_order = path + '.order';
1495
1500
  if (typeof obj_order !== 'number' || (typeof obj_order === 'number' && Math.floor(obj_order) !== obj_order)) {
@@ -1505,6 +1510,11 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1505
1510
  if (typeof obj_stepName !== 'string') {
1506
1511
  return new TypeError('Expected "string" but received "' + typeof obj_stepName + '" (at "' + path_stepName + '")');
1507
1512
  }
1513
+ const obj_stepSummary = obj.stepSummary;
1514
+ const path_stepSummary = path + '.stepSummary';
1515
+ if (typeof obj_stepSummary !== 'string') {
1516
+ return new TypeError('Expected "string" but received "' + typeof obj_stepSummary + '" (at "' + path_stepSummary + '")');
1517
+ }
1508
1518
  })();
1509
1519
  return v_error === undefined ? null : v_error;
1510
1520
  }
@@ -2140,4 +2150,4 @@ withDefaultLuvio((luvio) => {
2140
2150
  });
2141
2151
 
2142
2152
  export { executeServicePlan, generateServicePlan, getGenerationRequest, getGenerationRequest_imperative, getServicePlan, getServicePlanNotifyChange, getServicePlan_imperative, notifyServicePlanDetailsUpdateAvailable, notifyServicePlanGenerationUpdateAvailable };
2143
- // version: 1.309.0-dev12-9b91cf52fb
2153
+ // version: 1.309.0-dev14-d0a3778177
package/src/raml/api.raml CHANGED
@@ -62,6 +62,7 @@ types:
62
62
  - Completed
63
63
  - Failed
64
64
  - InProgress
65
+ - New # updated W-16725437
65
66
  planSteps:
66
67
  description: All the step status
67
68
  type: array
@@ -154,6 +155,9 @@ types:
154
155
  groupName:
155
156
  description: Group Name
156
157
  type: string | nil
158
+ isSuggested:
159
+ description: Suggested step
160
+ type: boolean
157
161
  order:
158
162
  description: Step order
159
163
  type: integer
@@ -163,6 +167,9 @@ types:
163
167
  stepName:
164
168
  description: Step name
165
169
  type: string
170
+ stepSummary: # Api update W-16725437
171
+ description: Step summary
172
+ type: string
166
173
  ServicePlanGenerationInputMapRepresentation:
167
174
  description: Represents a request for generating a service plan
168
175
  type: object