@salesforce/lds-adapters-platform-enablement 1.277.1 → 1.279.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/platform-enablement.js +138 -42
- package/dist/es/es2018/types/src/generated/types/EnablementProgramSummaryMeasureRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/EnablementProgramSummaryMilestoneRepresentation.d.ts +8 -4
- package/package.json +4 -4
- package/sfdc/index.js +140 -44
- package/src/raml/api.raml +27 -5
|
@@ -99,8 +99,8 @@ var DiscriminatorValues;
|
|
|
99
99
|
DiscriminatorValues["Section"] = "Section";
|
|
100
100
|
DiscriminatorValues["Milestone"] = "Milestone";
|
|
101
101
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
102
|
-
const VERSION$
|
|
103
|
-
function validate$
|
|
102
|
+
const VERSION$5 = "a9470f37b0d95500b425222897fff882";
|
|
103
|
+
function validate$5(obj, path = 'EnablementProgramSummaryItemRepresentation') {
|
|
104
104
|
const v_error = (() => {
|
|
105
105
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
106
106
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -133,10 +133,10 @@ function validate$4(obj, path = 'EnablementProgramSummaryItemRepresentation') {
|
|
|
133
133
|
})();
|
|
134
134
|
return v_error === undefined ? null : v_error;
|
|
135
135
|
}
|
|
136
|
-
const select$
|
|
136
|
+
const select$a = function EnablementProgramSummaryItemRepresentationSelect() {
|
|
137
137
|
return {
|
|
138
138
|
kind: 'Fragment',
|
|
139
|
-
version: VERSION$
|
|
139
|
+
version: VERSION$5,
|
|
140
140
|
private: [],
|
|
141
141
|
selections: [
|
|
142
142
|
{
|
|
@@ -162,7 +162,7 @@ const select$9 = function EnablementProgramSummaryItemRepresentationSelect() {
|
|
|
162
162
|
]
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
|
-
function equals$
|
|
165
|
+
function equals$5(existing, incoming) {
|
|
166
166
|
const existing_sequenceNumber = existing.sequenceNumber;
|
|
167
167
|
const incoming_sequenceNumber = incoming.sequenceNumber;
|
|
168
168
|
if (!(existing_sequenceNumber === incoming_sequenceNumber)) {
|
|
@@ -191,41 +191,79 @@ function equals$4(existing, incoming) {
|
|
|
191
191
|
return true;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
const VERSION$
|
|
195
|
-
function validate$
|
|
196
|
-
const validateEnablementProgramSummaryItemRepresentation_validateError = validate$4(obj, path);
|
|
197
|
-
if (validateEnablementProgramSummaryItemRepresentation_validateError !== null) {
|
|
198
|
-
return validateEnablementProgramSummaryItemRepresentation_validateError;
|
|
199
|
-
}
|
|
194
|
+
const VERSION$4 = "61726209fd751532917b07275c8e7c36";
|
|
195
|
+
function validate$4(obj, path = 'EnablementProgramSummaryMeasureRepresentation') {
|
|
200
196
|
const v_error = (() => {
|
|
201
197
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
202
198
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
203
199
|
}
|
|
204
200
|
const obj_aggregationType = obj.aggregationType;
|
|
205
201
|
const path_aggregationType = path + '.aggregationType';
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
if (typeof obj_aggregationType !== 'string') {
|
|
209
|
-
return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
210
|
-
}
|
|
211
|
-
})();
|
|
212
|
-
if (obj_aggregationType_union0_error != null) {
|
|
213
|
-
obj_aggregationType_union0 = obj_aggregationType_union0_error.message;
|
|
202
|
+
if (typeof obj_aggregationType !== 'string') {
|
|
203
|
+
return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
214
204
|
}
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
})();
|
|
221
|
-
if (obj_aggregationType_union1_error != null) {
|
|
222
|
-
obj_aggregationType_union1 = obj_aggregationType_union1_error.message;
|
|
205
|
+
const obj_measureId = obj.measureId;
|
|
206
|
+
const path_measureId = path + '.measureId';
|
|
207
|
+
if (typeof obj_measureId !== 'string') {
|
|
208
|
+
return new TypeError('Expected "string" but received "' + typeof obj_measureId + '" (at "' + path_measureId + '")');
|
|
223
209
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
210
|
+
const obj_measureName = obj.measureName;
|
|
211
|
+
const path_measureName = path + '.measureName';
|
|
212
|
+
if (typeof obj_measureName !== 'string') {
|
|
213
|
+
return new TypeError('Expected "string" but received "' + typeof obj_measureName + '" (at "' + path_measureName + '")');
|
|
214
|
+
}
|
|
215
|
+
})();
|
|
216
|
+
return v_error === undefined ? null : v_error;
|
|
217
|
+
}
|
|
218
|
+
const select$9 = function EnablementProgramSummaryMeasureRepresentationSelect() {
|
|
219
|
+
return {
|
|
220
|
+
kind: 'Fragment',
|
|
221
|
+
version: VERSION$4,
|
|
222
|
+
private: [],
|
|
223
|
+
selections: [
|
|
224
|
+
{
|
|
225
|
+
name: 'aggregationType',
|
|
226
|
+
kind: 'Scalar'
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: 'measureId',
|
|
230
|
+
kind: 'Scalar'
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: 'measureName',
|
|
234
|
+
kind: 'Scalar'
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
function equals$4(existing, incoming) {
|
|
240
|
+
const existing_aggregationType = existing.aggregationType;
|
|
241
|
+
const incoming_aggregationType = incoming.aggregationType;
|
|
242
|
+
if (!(existing_aggregationType === incoming_aggregationType)) {
|
|
243
|
+
return false;
|
|
244
|
+
}
|
|
245
|
+
const existing_measureId = existing.measureId;
|
|
246
|
+
const incoming_measureId = incoming.measureId;
|
|
247
|
+
if (!(existing_measureId === incoming_measureId)) {
|
|
248
|
+
return false;
|
|
249
|
+
}
|
|
250
|
+
const existing_measureName = existing.measureName;
|
|
251
|
+
const incoming_measureName = incoming.measureName;
|
|
252
|
+
if (!(existing_measureName === incoming_measureName)) {
|
|
253
|
+
return false;
|
|
254
|
+
}
|
|
255
|
+
return true;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
const VERSION$3 = "aab7435705714d62f0dab55dbc5b925e";
|
|
259
|
+
function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation') {
|
|
260
|
+
const validateEnablementProgramSummaryItemRepresentation_validateError = validate$5(obj, path);
|
|
261
|
+
if (validateEnablementProgramSummaryItemRepresentation_validateError !== null) {
|
|
262
|
+
return validateEnablementProgramSummaryItemRepresentation_validateError;
|
|
263
|
+
}
|
|
264
|
+
const v_error = (() => {
|
|
265
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
266
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
229
267
|
}
|
|
230
268
|
const obj_completedDate = obj.completedDate;
|
|
231
269
|
const path_completedDate = path + '.completedDate';
|
|
@@ -279,6 +317,32 @@ function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
279
317
|
message += '\n' + obj_completedPercent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
280
318
|
return new TypeError(message);
|
|
281
319
|
}
|
|
320
|
+
const obj_compositeMilestoneType = obj.compositeMilestoneType;
|
|
321
|
+
const path_compositeMilestoneType = path + '.compositeMilestoneType';
|
|
322
|
+
let obj_compositeMilestoneType_union0 = null;
|
|
323
|
+
const obj_compositeMilestoneType_union0_error = (() => {
|
|
324
|
+
if (typeof obj_compositeMilestoneType !== 'string') {
|
|
325
|
+
return new TypeError('Expected "string" but received "' + typeof obj_compositeMilestoneType + '" (at "' + path_compositeMilestoneType + '")');
|
|
326
|
+
}
|
|
327
|
+
})();
|
|
328
|
+
if (obj_compositeMilestoneType_union0_error != null) {
|
|
329
|
+
obj_compositeMilestoneType_union0 = obj_compositeMilestoneType_union0_error.message;
|
|
330
|
+
}
|
|
331
|
+
let obj_compositeMilestoneType_union1 = null;
|
|
332
|
+
const obj_compositeMilestoneType_union1_error = (() => {
|
|
333
|
+
if (obj_compositeMilestoneType !== null) {
|
|
334
|
+
return new TypeError('Expected "null" but received "' + typeof obj_compositeMilestoneType + '" (at "' + path_compositeMilestoneType + '")');
|
|
335
|
+
}
|
|
336
|
+
})();
|
|
337
|
+
if (obj_compositeMilestoneType_union1_error != null) {
|
|
338
|
+
obj_compositeMilestoneType_union1 = obj_compositeMilestoneType_union1_error.message;
|
|
339
|
+
}
|
|
340
|
+
if (obj_compositeMilestoneType_union0 && obj_compositeMilestoneType_union1) {
|
|
341
|
+
let message = 'Object doesn\'t match union (at "' + path_compositeMilestoneType + '")';
|
|
342
|
+
message += '\n' + obj_compositeMilestoneType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
343
|
+
message += '\n' + obj_compositeMilestoneType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
344
|
+
return new TypeError(message);
|
|
345
|
+
}
|
|
282
346
|
const obj_contributingRecordCount = obj.contributingRecordCount;
|
|
283
347
|
const path_contributingRecordCount = path + '.contributingRecordCount';
|
|
284
348
|
let obj_contributingRecordCount_union0 = null;
|
|
@@ -383,6 +447,21 @@ function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
383
447
|
message += '\n' + obj_isOverdue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
384
448
|
return new TypeError(message);
|
|
385
449
|
}
|
|
450
|
+
const obj_measures = obj.measures;
|
|
451
|
+
const path_measures = path + '.measures';
|
|
452
|
+
if (!ArrayIsArray(obj_measures)) {
|
|
453
|
+
return new TypeError('Expected "array" but received "' + typeof obj_measures + '" (at "' + path_measures + '")');
|
|
454
|
+
}
|
|
455
|
+
for (let i = 0; i < obj_measures.length; i++) {
|
|
456
|
+
const obj_measures_item = obj_measures[i];
|
|
457
|
+
const path_measures_item = path_measures + '[' + i + ']';
|
|
458
|
+
const referencepath_measures_itemValidationError = validate$4(obj_measures_item, path_measures_item);
|
|
459
|
+
if (referencepath_measures_itemValidationError !== null) {
|
|
460
|
+
let message = 'Object doesn\'t match EnablementProgramSummaryMeasureRepresentation (at "' + path_measures_item + '")\n';
|
|
461
|
+
message += referencepath_measures_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
462
|
+
return new TypeError(message);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
386
465
|
const obj_milestoneResult = obj.milestoneResult;
|
|
387
466
|
const path_milestoneResult = path + '.milestoneResult';
|
|
388
467
|
let obj_milestoneResult_union0 = null;
|
|
@@ -496,7 +575,8 @@ function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
496
575
|
return v_error === undefined ? null : v_error;
|
|
497
576
|
}
|
|
498
577
|
const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect() {
|
|
499
|
-
const { selections: EnablementProgramSummaryItemRepresentationSelections } = select$
|
|
578
|
+
const { selections: EnablementProgramSummaryItemRepresentationSelections } = select$a();
|
|
579
|
+
const { selections: EnablementProgramSummaryMeasureRepresentation__selections, opaque: EnablementProgramSummaryMeasureRepresentation__opaque, } = select$9();
|
|
500
580
|
return {
|
|
501
581
|
kind: 'Fragment',
|
|
502
582
|
version: VERSION$3,
|
|
@@ -504,15 +584,15 @@ const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect(
|
|
|
504
584
|
selections: [
|
|
505
585
|
...EnablementProgramSummaryItemRepresentationSelections,
|
|
506
586
|
{
|
|
507
|
-
name: '
|
|
587
|
+
name: 'completedDate',
|
|
508
588
|
kind: 'Scalar'
|
|
509
589
|
},
|
|
510
590
|
{
|
|
511
|
-
name: '
|
|
591
|
+
name: 'completedPercent',
|
|
512
592
|
kind: 'Scalar'
|
|
513
593
|
},
|
|
514
594
|
{
|
|
515
|
-
name: '
|
|
595
|
+
name: 'compositeMilestoneType',
|
|
516
596
|
kind: 'Scalar'
|
|
517
597
|
},
|
|
518
598
|
{
|
|
@@ -531,6 +611,12 @@ const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect(
|
|
|
531
611
|
name: 'isOverdue',
|
|
532
612
|
kind: 'Scalar'
|
|
533
613
|
},
|
|
614
|
+
{
|
|
615
|
+
name: 'measures',
|
|
616
|
+
kind: 'Object',
|
|
617
|
+
plural: true,
|
|
618
|
+
selections: EnablementProgramSummaryMeasureRepresentation__selections
|
|
619
|
+
},
|
|
534
620
|
{
|
|
535
621
|
name: 'milestoneResult',
|
|
536
622
|
kind: 'Scalar'
|
|
@@ -555,7 +641,7 @@ const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect(
|
|
|
555
641
|
};
|
|
556
642
|
};
|
|
557
643
|
function equals$3(existing, incoming) {
|
|
558
|
-
if (equals$
|
|
644
|
+
if (equals$5(existing, incoming) === false) {
|
|
559
645
|
return false;
|
|
560
646
|
}
|
|
561
647
|
const existing_programDay = existing.programDay;
|
|
@@ -563,11 +649,6 @@ function equals$3(existing, incoming) {
|
|
|
563
649
|
if (!(existing_programDay === incoming_programDay)) {
|
|
564
650
|
return false;
|
|
565
651
|
}
|
|
566
|
-
const existing_aggregationType = existing.aggregationType;
|
|
567
|
-
const incoming_aggregationType = incoming.aggregationType;
|
|
568
|
-
if (!(existing_aggregationType === incoming_aggregationType)) {
|
|
569
|
-
return false;
|
|
570
|
-
}
|
|
571
652
|
const existing_completedDate = existing.completedDate;
|
|
572
653
|
const incoming_completedDate = incoming.completedDate;
|
|
573
654
|
if (!(existing_completedDate === incoming_completedDate)) {
|
|
@@ -578,6 +659,11 @@ function equals$3(existing, incoming) {
|
|
|
578
659
|
if (!(existing_completedPercent === incoming_completedPercent)) {
|
|
579
660
|
return false;
|
|
580
661
|
}
|
|
662
|
+
const existing_compositeMilestoneType = existing.compositeMilestoneType;
|
|
663
|
+
const incoming_compositeMilestoneType = incoming.compositeMilestoneType;
|
|
664
|
+
if (!(existing_compositeMilestoneType === incoming_compositeMilestoneType)) {
|
|
665
|
+
return false;
|
|
666
|
+
}
|
|
581
667
|
const existing_contributingRecordCount = existing.contributingRecordCount;
|
|
582
668
|
const incoming_contributingRecordCount = incoming.contributingRecordCount;
|
|
583
669
|
if (!(existing_contributingRecordCount === incoming_contributingRecordCount)) {
|
|
@@ -598,6 +684,16 @@ function equals$3(existing, incoming) {
|
|
|
598
684
|
if (!(existing_isOverdue === incoming_isOverdue)) {
|
|
599
685
|
return false;
|
|
600
686
|
}
|
|
687
|
+
const existing_measures = existing.measures;
|
|
688
|
+
const incoming_measures = incoming.measures;
|
|
689
|
+
const equals_measures_items = equalsArray(existing_measures, incoming_measures, (existing_measures_item, incoming_measures_item) => {
|
|
690
|
+
if (!(equals$4(existing_measures_item, incoming_measures_item))) {
|
|
691
|
+
return false;
|
|
692
|
+
}
|
|
693
|
+
});
|
|
694
|
+
if (equals_measures_items === false) {
|
|
695
|
+
return false;
|
|
696
|
+
}
|
|
601
697
|
const existing_milestoneResult = existing.milestoneResult;
|
|
602
698
|
const incoming_milestoneResult = incoming.milestoneResult;
|
|
603
699
|
if (!(existing_milestoneResult === incoming_milestoneResult)) {
|
package/dist/es/es2018/types/src/generated/types/EnablementProgramSummaryMeasureRepresentation.d.ts
ADDED
|
@@ -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 = "61726209fd751532917b07275c8e7c36";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EnablementProgramSummaryMeasureRepresentation, existing: EnablementProgramSummaryMeasureRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EnablementProgramSummaryMeasureRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EnablementProgramSummaryMeasureRepresentationNormalized, incoming: EnablementProgramSummaryMeasureRepresentationNormalized): 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: EnablementProgramSummaryMeasureRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Measure Representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EnablementProgramSummaryMeasureRepresentationNormalized {
|
|
17
|
+
/** Indicates milestone aggregation type */
|
|
18
|
+
aggregationType: string;
|
|
19
|
+
/** Id of the enablement program summary measure */
|
|
20
|
+
measureId: string;
|
|
21
|
+
/** Name of the enablement program summary measure */
|
|
22
|
+
measureName: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Measure Representation
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface EnablementProgramSummaryMeasureRepresentation {
|
|
31
|
+
aggregationType: string;
|
|
32
|
+
measureId: string;
|
|
33
|
+
measureName: string;
|
|
34
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EnablementProgramSummaryItemRepresentation as EnablementProgramSummaryItemRepresentation_EnablementProgramSummaryItemRepresentation } from './EnablementProgramSummaryItemRepresentation';
|
|
2
|
+
import { EnablementProgramSummaryMeasureRepresentation as EnablementProgramSummaryMeasureRepresentation_EnablementProgramSummaryMeasureRepresentation } from './EnablementProgramSummaryMeasureRepresentation';
|
|
2
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';
|
|
3
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "aab7435705714d62f0dab55dbc5b925e";
|
|
4
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
6
|
export declare const RepresentationType: string;
|
|
6
7
|
export declare function normalize(input: EnablementProgramSummaryMilestoneRepresentation, existing: EnablementProgramSummaryMilestoneRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EnablementProgramSummaryMilestoneRepresentationNormalized;
|
|
@@ -15,12 +16,12 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
16
|
* (none)
|
|
16
17
|
*/
|
|
17
18
|
export interface EnablementProgramSummaryMilestoneRepresentationNormalized extends EnablementProgramSummaryItemRepresentation_EnablementProgramSummaryItemRepresentation {
|
|
18
|
-
/** Indicates milestone aggregation type */
|
|
19
|
-
aggregationType: string | null;
|
|
20
19
|
/** The date the item was completed */
|
|
21
20
|
completedDate: string | null;
|
|
22
21
|
/** Percent complete for the current user */
|
|
23
22
|
completedPercent: number | null;
|
|
23
|
+
/** Indicates composite milestone type */
|
|
24
|
+
compositeMilestoneType: string | null;
|
|
24
25
|
/** The total contributing record count */
|
|
25
26
|
contributingRecordCount: number | null;
|
|
26
27
|
/** Due date for the current assignment */
|
|
@@ -29,6 +30,8 @@ export interface EnablementProgramSummaryMilestoneRepresentationNormalized exten
|
|
|
29
30
|
isCompleted: boolean | null;
|
|
30
31
|
/** Indicates if the item is overdue or not */
|
|
31
32
|
isOverdue: boolean | null;
|
|
33
|
+
/** Indicates measure details */
|
|
34
|
+
measures: Array<EnablementProgramSummaryMeasureRepresentation_EnablementProgramSummaryMeasureRepresentation>;
|
|
32
35
|
/** The result value of if the task is of measure type */
|
|
33
36
|
milestoneResult: number | null;
|
|
34
37
|
/** Milestone Target of the enablement task */
|
|
@@ -47,13 +50,14 @@ export interface EnablementProgramSummaryMilestoneRepresentationNormalized exten
|
|
|
47
50
|
* (none)
|
|
48
51
|
*/
|
|
49
52
|
export interface EnablementProgramSummaryMilestoneRepresentation extends EnablementProgramSummaryItemRepresentation_EnablementProgramSummaryItemRepresentation {
|
|
50
|
-
aggregationType: string | null;
|
|
51
53
|
completedDate: string | null;
|
|
52
54
|
completedPercent: number | null;
|
|
55
|
+
compositeMilestoneType: string | null;
|
|
53
56
|
contributingRecordCount: number | null;
|
|
54
57
|
dueDate: string | null;
|
|
55
58
|
isCompleted: boolean | null;
|
|
56
59
|
isOverdue: boolean | null;
|
|
60
|
+
measures: Array<EnablementProgramSummaryMeasureRepresentation_EnablementProgramSummaryMeasureRepresentation>;
|
|
57
61
|
milestoneResult: number | null;
|
|
58
62
|
milestoneTarget: number | null;
|
|
59
63
|
minimumSampleSize: number | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-enablement",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.279.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for enablement APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-enablement.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.279.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.279.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.279.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/*
|
|
7
|
+
/*
|
|
8
8
|
* ATTENTION!
|
|
9
9
|
* THIS IS A GENERATED FILE FROM https://github.com/salesforce-experience-platform-emu/lds-lightning-platform
|
|
10
10
|
* If you would like to contribute to LDS, please follow the steps outlined in the git repo.
|
|
@@ -109,8 +109,8 @@ var DiscriminatorValues;
|
|
|
109
109
|
DiscriminatorValues["Section"] = "Section";
|
|
110
110
|
DiscriminatorValues["Milestone"] = "Milestone";
|
|
111
111
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
112
|
-
const VERSION$
|
|
113
|
-
function validate$
|
|
112
|
+
const VERSION$5 = "a9470f37b0d95500b425222897fff882";
|
|
113
|
+
function validate$5(obj, path = 'EnablementProgramSummaryItemRepresentation') {
|
|
114
114
|
const v_error = (() => {
|
|
115
115
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
116
116
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -143,10 +143,10 @@ function validate$4(obj, path = 'EnablementProgramSummaryItemRepresentation') {
|
|
|
143
143
|
})();
|
|
144
144
|
return v_error === undefined ? null : v_error;
|
|
145
145
|
}
|
|
146
|
-
const select$
|
|
146
|
+
const select$a = function EnablementProgramSummaryItemRepresentationSelect() {
|
|
147
147
|
return {
|
|
148
148
|
kind: 'Fragment',
|
|
149
|
-
version: VERSION$
|
|
149
|
+
version: VERSION$5,
|
|
150
150
|
private: [],
|
|
151
151
|
selections: [
|
|
152
152
|
{
|
|
@@ -172,7 +172,7 @@ const select$9 = function EnablementProgramSummaryItemRepresentationSelect() {
|
|
|
172
172
|
]
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
|
-
function equals$
|
|
175
|
+
function equals$5(existing, incoming) {
|
|
176
176
|
const existing_sequenceNumber = existing.sequenceNumber;
|
|
177
177
|
const incoming_sequenceNumber = incoming.sequenceNumber;
|
|
178
178
|
if (!(existing_sequenceNumber === incoming_sequenceNumber)) {
|
|
@@ -201,41 +201,79 @@ function equals$4(existing, incoming) {
|
|
|
201
201
|
return true;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
const VERSION$
|
|
205
|
-
function validate$
|
|
206
|
-
const validateEnablementProgramSummaryItemRepresentation_validateError = validate$4(obj, path);
|
|
207
|
-
if (validateEnablementProgramSummaryItemRepresentation_validateError !== null) {
|
|
208
|
-
return validateEnablementProgramSummaryItemRepresentation_validateError;
|
|
209
|
-
}
|
|
204
|
+
const VERSION$4 = "61726209fd751532917b07275c8e7c36";
|
|
205
|
+
function validate$4(obj, path = 'EnablementProgramSummaryMeasureRepresentation') {
|
|
210
206
|
const v_error = (() => {
|
|
211
207
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
212
208
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
213
209
|
}
|
|
214
210
|
const obj_aggregationType = obj.aggregationType;
|
|
215
211
|
const path_aggregationType = path + '.aggregationType';
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
if (typeof obj_aggregationType !== 'string') {
|
|
219
|
-
return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
220
|
-
}
|
|
221
|
-
})();
|
|
222
|
-
if (obj_aggregationType_union0_error != null) {
|
|
223
|
-
obj_aggregationType_union0 = obj_aggregationType_union0_error.message;
|
|
212
|
+
if (typeof obj_aggregationType !== 'string') {
|
|
213
|
+
return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
224
214
|
}
|
|
225
|
-
|
|
226
|
-
const
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}
|
|
230
|
-
})();
|
|
231
|
-
if (obj_aggregationType_union1_error != null) {
|
|
232
|
-
obj_aggregationType_union1 = obj_aggregationType_union1_error.message;
|
|
215
|
+
const obj_measureId = obj.measureId;
|
|
216
|
+
const path_measureId = path + '.measureId';
|
|
217
|
+
if (typeof obj_measureId !== 'string') {
|
|
218
|
+
return new TypeError('Expected "string" but received "' + typeof obj_measureId + '" (at "' + path_measureId + '")');
|
|
233
219
|
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
220
|
+
const obj_measureName = obj.measureName;
|
|
221
|
+
const path_measureName = path + '.measureName';
|
|
222
|
+
if (typeof obj_measureName !== 'string') {
|
|
223
|
+
return new TypeError('Expected "string" but received "' + typeof obj_measureName + '" (at "' + path_measureName + '")');
|
|
224
|
+
}
|
|
225
|
+
})();
|
|
226
|
+
return v_error === undefined ? null : v_error;
|
|
227
|
+
}
|
|
228
|
+
const select$9 = function EnablementProgramSummaryMeasureRepresentationSelect() {
|
|
229
|
+
return {
|
|
230
|
+
kind: 'Fragment',
|
|
231
|
+
version: VERSION$4,
|
|
232
|
+
private: [],
|
|
233
|
+
selections: [
|
|
234
|
+
{
|
|
235
|
+
name: 'aggregationType',
|
|
236
|
+
kind: 'Scalar'
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: 'measureId',
|
|
240
|
+
kind: 'Scalar'
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: 'measureName',
|
|
244
|
+
kind: 'Scalar'
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
function equals$4(existing, incoming) {
|
|
250
|
+
const existing_aggregationType = existing.aggregationType;
|
|
251
|
+
const incoming_aggregationType = incoming.aggregationType;
|
|
252
|
+
if (!(existing_aggregationType === incoming_aggregationType)) {
|
|
253
|
+
return false;
|
|
254
|
+
}
|
|
255
|
+
const existing_measureId = existing.measureId;
|
|
256
|
+
const incoming_measureId = incoming.measureId;
|
|
257
|
+
if (!(existing_measureId === incoming_measureId)) {
|
|
258
|
+
return false;
|
|
259
|
+
}
|
|
260
|
+
const existing_measureName = existing.measureName;
|
|
261
|
+
const incoming_measureName = incoming.measureName;
|
|
262
|
+
if (!(existing_measureName === incoming_measureName)) {
|
|
263
|
+
return false;
|
|
264
|
+
}
|
|
265
|
+
return true;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
const VERSION$3 = "aab7435705714d62f0dab55dbc5b925e";
|
|
269
|
+
function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation') {
|
|
270
|
+
const validateEnablementProgramSummaryItemRepresentation_validateError = validate$5(obj, path);
|
|
271
|
+
if (validateEnablementProgramSummaryItemRepresentation_validateError !== null) {
|
|
272
|
+
return validateEnablementProgramSummaryItemRepresentation_validateError;
|
|
273
|
+
}
|
|
274
|
+
const v_error = (() => {
|
|
275
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
276
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
239
277
|
}
|
|
240
278
|
const obj_completedDate = obj.completedDate;
|
|
241
279
|
const path_completedDate = path + '.completedDate';
|
|
@@ -289,6 +327,32 @@ function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
289
327
|
message += '\n' + obj_completedPercent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
290
328
|
return new TypeError(message);
|
|
291
329
|
}
|
|
330
|
+
const obj_compositeMilestoneType = obj.compositeMilestoneType;
|
|
331
|
+
const path_compositeMilestoneType = path + '.compositeMilestoneType';
|
|
332
|
+
let obj_compositeMilestoneType_union0 = null;
|
|
333
|
+
const obj_compositeMilestoneType_union0_error = (() => {
|
|
334
|
+
if (typeof obj_compositeMilestoneType !== 'string') {
|
|
335
|
+
return new TypeError('Expected "string" but received "' + typeof obj_compositeMilestoneType + '" (at "' + path_compositeMilestoneType + '")');
|
|
336
|
+
}
|
|
337
|
+
})();
|
|
338
|
+
if (obj_compositeMilestoneType_union0_error != null) {
|
|
339
|
+
obj_compositeMilestoneType_union0 = obj_compositeMilestoneType_union0_error.message;
|
|
340
|
+
}
|
|
341
|
+
let obj_compositeMilestoneType_union1 = null;
|
|
342
|
+
const obj_compositeMilestoneType_union1_error = (() => {
|
|
343
|
+
if (obj_compositeMilestoneType !== null) {
|
|
344
|
+
return new TypeError('Expected "null" but received "' + typeof obj_compositeMilestoneType + '" (at "' + path_compositeMilestoneType + '")');
|
|
345
|
+
}
|
|
346
|
+
})();
|
|
347
|
+
if (obj_compositeMilestoneType_union1_error != null) {
|
|
348
|
+
obj_compositeMilestoneType_union1 = obj_compositeMilestoneType_union1_error.message;
|
|
349
|
+
}
|
|
350
|
+
if (obj_compositeMilestoneType_union0 && obj_compositeMilestoneType_union1) {
|
|
351
|
+
let message = 'Object doesn\'t match union (at "' + path_compositeMilestoneType + '")';
|
|
352
|
+
message += '\n' + obj_compositeMilestoneType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
353
|
+
message += '\n' + obj_compositeMilestoneType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
354
|
+
return new TypeError(message);
|
|
355
|
+
}
|
|
292
356
|
const obj_contributingRecordCount = obj.contributingRecordCount;
|
|
293
357
|
const path_contributingRecordCount = path + '.contributingRecordCount';
|
|
294
358
|
let obj_contributingRecordCount_union0 = null;
|
|
@@ -393,6 +457,21 @@ function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
393
457
|
message += '\n' + obj_isOverdue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
394
458
|
return new TypeError(message);
|
|
395
459
|
}
|
|
460
|
+
const obj_measures = obj.measures;
|
|
461
|
+
const path_measures = path + '.measures';
|
|
462
|
+
if (!ArrayIsArray(obj_measures)) {
|
|
463
|
+
return new TypeError('Expected "array" but received "' + typeof obj_measures + '" (at "' + path_measures + '")');
|
|
464
|
+
}
|
|
465
|
+
for (let i = 0; i < obj_measures.length; i++) {
|
|
466
|
+
const obj_measures_item = obj_measures[i];
|
|
467
|
+
const path_measures_item = path_measures + '[' + i + ']';
|
|
468
|
+
const referencepath_measures_itemValidationError = validate$4(obj_measures_item, path_measures_item);
|
|
469
|
+
if (referencepath_measures_itemValidationError !== null) {
|
|
470
|
+
let message = 'Object doesn\'t match EnablementProgramSummaryMeasureRepresentation (at "' + path_measures_item + '")\n';
|
|
471
|
+
message += referencepath_measures_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
472
|
+
return new TypeError(message);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
396
475
|
const obj_milestoneResult = obj.milestoneResult;
|
|
397
476
|
const path_milestoneResult = path + '.milestoneResult';
|
|
398
477
|
let obj_milestoneResult_union0 = null;
|
|
@@ -506,7 +585,8 @@ function validate$3(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
506
585
|
return v_error === undefined ? null : v_error;
|
|
507
586
|
}
|
|
508
587
|
const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect() {
|
|
509
|
-
const { selections: EnablementProgramSummaryItemRepresentationSelections } = select$
|
|
588
|
+
const { selections: EnablementProgramSummaryItemRepresentationSelections } = select$a();
|
|
589
|
+
const { selections: EnablementProgramSummaryMeasureRepresentation__selections, opaque: EnablementProgramSummaryMeasureRepresentation__opaque, } = select$9();
|
|
510
590
|
return {
|
|
511
591
|
kind: 'Fragment',
|
|
512
592
|
version: VERSION$3,
|
|
@@ -514,15 +594,15 @@ const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect(
|
|
|
514
594
|
selections: [
|
|
515
595
|
...EnablementProgramSummaryItemRepresentationSelections,
|
|
516
596
|
{
|
|
517
|
-
name: '
|
|
597
|
+
name: 'completedDate',
|
|
518
598
|
kind: 'Scalar'
|
|
519
599
|
},
|
|
520
600
|
{
|
|
521
|
-
name: '
|
|
601
|
+
name: 'completedPercent',
|
|
522
602
|
kind: 'Scalar'
|
|
523
603
|
},
|
|
524
604
|
{
|
|
525
|
-
name: '
|
|
605
|
+
name: 'compositeMilestoneType',
|
|
526
606
|
kind: 'Scalar'
|
|
527
607
|
},
|
|
528
608
|
{
|
|
@@ -541,6 +621,12 @@ const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect(
|
|
|
541
621
|
name: 'isOverdue',
|
|
542
622
|
kind: 'Scalar'
|
|
543
623
|
},
|
|
624
|
+
{
|
|
625
|
+
name: 'measures',
|
|
626
|
+
kind: 'Object',
|
|
627
|
+
plural: true,
|
|
628
|
+
selections: EnablementProgramSummaryMeasureRepresentation__selections
|
|
629
|
+
},
|
|
544
630
|
{
|
|
545
631
|
name: 'milestoneResult',
|
|
546
632
|
kind: 'Scalar'
|
|
@@ -565,7 +651,7 @@ const select$8 = function EnablementProgramSummaryMilestoneRepresentationSelect(
|
|
|
565
651
|
};
|
|
566
652
|
};
|
|
567
653
|
function equals$3(existing, incoming) {
|
|
568
|
-
if (equals$
|
|
654
|
+
if (equals$5(existing, incoming) === false) {
|
|
569
655
|
return false;
|
|
570
656
|
}
|
|
571
657
|
const existing_programDay = existing.programDay;
|
|
@@ -573,11 +659,6 @@ function equals$3(existing, incoming) {
|
|
|
573
659
|
if (!(existing_programDay === incoming_programDay)) {
|
|
574
660
|
return false;
|
|
575
661
|
}
|
|
576
|
-
const existing_aggregationType = existing.aggregationType;
|
|
577
|
-
const incoming_aggregationType = incoming.aggregationType;
|
|
578
|
-
if (!(existing_aggregationType === incoming_aggregationType)) {
|
|
579
|
-
return false;
|
|
580
|
-
}
|
|
581
662
|
const existing_completedDate = existing.completedDate;
|
|
582
663
|
const incoming_completedDate = incoming.completedDate;
|
|
583
664
|
if (!(existing_completedDate === incoming_completedDate)) {
|
|
@@ -588,6 +669,11 @@ function equals$3(existing, incoming) {
|
|
|
588
669
|
if (!(existing_completedPercent === incoming_completedPercent)) {
|
|
589
670
|
return false;
|
|
590
671
|
}
|
|
672
|
+
const existing_compositeMilestoneType = existing.compositeMilestoneType;
|
|
673
|
+
const incoming_compositeMilestoneType = incoming.compositeMilestoneType;
|
|
674
|
+
if (!(existing_compositeMilestoneType === incoming_compositeMilestoneType)) {
|
|
675
|
+
return false;
|
|
676
|
+
}
|
|
591
677
|
const existing_contributingRecordCount = existing.contributingRecordCount;
|
|
592
678
|
const incoming_contributingRecordCount = incoming.contributingRecordCount;
|
|
593
679
|
if (!(existing_contributingRecordCount === incoming_contributingRecordCount)) {
|
|
@@ -608,6 +694,16 @@ function equals$3(existing, incoming) {
|
|
|
608
694
|
if (!(existing_isOverdue === incoming_isOverdue)) {
|
|
609
695
|
return false;
|
|
610
696
|
}
|
|
697
|
+
const existing_measures = existing.measures;
|
|
698
|
+
const incoming_measures = incoming.measures;
|
|
699
|
+
const equals_measures_items = equalsArray(existing_measures, incoming_measures, (existing_measures_item, incoming_measures_item) => {
|
|
700
|
+
if (!(equals$4(existing_measures_item, incoming_measures_item))) {
|
|
701
|
+
return false;
|
|
702
|
+
}
|
|
703
|
+
});
|
|
704
|
+
if (equals_measures_items === false) {
|
|
705
|
+
return false;
|
|
706
|
+
}
|
|
611
707
|
const existing_milestoneResult = existing.milestoneResult;
|
|
612
708
|
const incoming_milestoneResult = incoming.milestoneResult;
|
|
613
709
|
if (!(existing_milestoneResult === incoming_milestoneResult)) {
|
|
@@ -1872,4 +1968,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1872
1968
|
});
|
|
1873
1969
|
|
|
1874
1970
|
export { getEnablementProgramSummary, getEnablementProgramSummary_imperative, getProgramSummaryCollection, getProgramSummaryCollectionForCommunity, getProgramSummaryCollectionForCommunity_imperative, getProgramSummaryCollection_imperative, notifyEnablementProgramSummaryUpdateAvailable, selfEnrollInEnablementProgram, unenrollFromEnablementProgram };
|
|
1875
|
-
// version: 1.
|
|
1971
|
+
// version: 1.279.0-5933c6c0c
|
package/src/raml/api.raml
CHANGED
|
@@ -71,18 +71,28 @@ types:
|
|
|
71
71
|
type: array
|
|
72
72
|
items:
|
|
73
73
|
type: EnablementProgramSummaryRepresentation
|
|
74
|
-
|
|
75
|
-
description:
|
|
76
|
-
|
|
77
|
-
type: EnablementProgramSummaryItemRepresentation
|
|
74
|
+
EnablementProgramSummaryMeasureRepresentation:
|
|
75
|
+
description: Measure Representation
|
|
76
|
+
type: object
|
|
78
77
|
properties:
|
|
79
78
|
aggregationType:
|
|
80
79
|
description: Indicates milestone aggregation type
|
|
81
|
-
type: string
|
|
80
|
+
type: string
|
|
82
81
|
enum:
|
|
83
82
|
- Average
|
|
84
83
|
- Count
|
|
85
84
|
- Sum
|
|
85
|
+
measureId:
|
|
86
|
+
description: Id of the enablement program summary measure
|
|
87
|
+
type: string
|
|
88
|
+
measureName:
|
|
89
|
+
description: Name of the enablement program summary measure
|
|
90
|
+
type: string
|
|
91
|
+
EnablementProgramSummaryMilestoneRepresentation:
|
|
92
|
+
description: Runtime representation of enablement program milestone.
|
|
93
|
+
discriminatorValue: Milestone
|
|
94
|
+
type: EnablementProgramSummaryItemRepresentation
|
|
95
|
+
properties:
|
|
86
96
|
completedDate:
|
|
87
97
|
description: The date the item was completed
|
|
88
98
|
type: string | nil
|
|
@@ -90,6 +100,13 @@ types:
|
|
|
90
100
|
description: Percent complete for the current user
|
|
91
101
|
#format: double # Hand-rolled format not allowed with union type
|
|
92
102
|
type: number | nil
|
|
103
|
+
compositeMilestoneType:
|
|
104
|
+
description: Indicates composite milestone type
|
|
105
|
+
type: string | nil
|
|
106
|
+
enum:
|
|
107
|
+
- Addition
|
|
108
|
+
- Division
|
|
109
|
+
- Percentage
|
|
93
110
|
contributingRecordCount:
|
|
94
111
|
description: The total contributing record count
|
|
95
112
|
type: integer | nil
|
|
@@ -102,6 +119,11 @@ types:
|
|
|
102
119
|
isOverdue:
|
|
103
120
|
description: Indicates if the item is overdue or not
|
|
104
121
|
type: boolean | nil
|
|
122
|
+
measures:
|
|
123
|
+
description: Indicates measure details
|
|
124
|
+
type: array
|
|
125
|
+
items:
|
|
126
|
+
type: EnablementProgramSummaryMeasureRepresentation
|
|
105
127
|
milestoneResult:
|
|
106
128
|
description: The result value of if the task is of measure type
|
|
107
129
|
#format: double # Hand-rolled format not allowed with union type
|