@salesforce/lds-adapters-service-milestones 1.360.1 → 1.362.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.
|
@@ -590,7 +590,7 @@ const markMilestoneCompletedAdapterFactory = (luvio) => {
|
|
|
590
590
|
};
|
|
591
591
|
|
|
592
592
|
const TTL = 100;
|
|
593
|
-
const VERSION = "
|
|
593
|
+
const VERSION = "a2cd71d2b2939f60d03c222feec15f36";
|
|
594
594
|
function validate(obj, path = 'MilestonesDataManagerRepresentation') {
|
|
595
595
|
const v_error = (() => {
|
|
596
596
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -648,6 +648,20 @@ function validate(obj, path = 'MilestonesDataManagerRepresentation') {
|
|
|
648
648
|
message += '\n' + obj_ignoreBusinessHours_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
649
649
|
return new TypeError(message);
|
|
650
650
|
}
|
|
651
|
+
const obj_milestoneAgreementTypeMap = obj.milestoneAgreementTypeMap;
|
|
652
|
+
const path_milestoneAgreementTypeMap = path + '.milestoneAgreementTypeMap';
|
|
653
|
+
if (typeof obj_milestoneAgreementTypeMap !== 'object' || ArrayIsArray(obj_milestoneAgreementTypeMap) || obj_milestoneAgreementTypeMap === null) {
|
|
654
|
+
return new TypeError('Expected "object" but received "' + typeof obj_milestoneAgreementTypeMap + '" (at "' + path_milestoneAgreementTypeMap + '")');
|
|
655
|
+
}
|
|
656
|
+
const obj_milestoneAgreementTypeMap_keys = ObjectKeys(obj_milestoneAgreementTypeMap);
|
|
657
|
+
for (let i = 0; i < obj_milestoneAgreementTypeMap_keys.length; i++) {
|
|
658
|
+
const key = obj_milestoneAgreementTypeMap_keys[i];
|
|
659
|
+
const obj_milestoneAgreementTypeMap_prop = obj_milestoneAgreementTypeMap[key];
|
|
660
|
+
const path_milestoneAgreementTypeMap_prop = path_milestoneAgreementTypeMap + '["' + key + '"]';
|
|
661
|
+
if (typeof obj_milestoneAgreementTypeMap_prop !== 'string') {
|
|
662
|
+
return new TypeError('Expected "string" but received "' + typeof obj_milestoneAgreementTypeMap_prop + '" (at "' + path_milestoneAgreementTypeMap_prop + '")');
|
|
663
|
+
}
|
|
664
|
+
}
|
|
651
665
|
const obj_overdueMilestoneIgnoreBusinessHours = obj.overdueMilestoneIgnoreBusinessHours;
|
|
652
666
|
const path_overdueMilestoneIgnoreBusinessHours = path + '.overdueMilestoneIgnoreBusinessHours';
|
|
653
667
|
let obj_overdueMilestoneIgnoreBusinessHours_union0 = null;
|
|
@@ -765,6 +779,11 @@ const select$1 = function MilestonesDataManagerRepresentationSelect() {
|
|
|
765
779
|
name: 'ignoreBusinessHours',
|
|
766
780
|
kind: 'Scalar'
|
|
767
781
|
},
|
|
782
|
+
{
|
|
783
|
+
name: 'milestoneAgreementTypeMap',
|
|
784
|
+
kind: 'Scalar',
|
|
785
|
+
map: true
|
|
786
|
+
},
|
|
768
787
|
{
|
|
769
788
|
name: 'overdueMilestoneIgnoreBusinessHours',
|
|
770
789
|
kind: 'Scalar'
|
|
@@ -811,6 +830,16 @@ function equals(existing, incoming) {
|
|
|
811
830
|
if (!(existing_ignoreBusinessHours === incoming_ignoreBusinessHours)) {
|
|
812
831
|
return false;
|
|
813
832
|
}
|
|
833
|
+
const existing_milestoneAgreementTypeMap = existing.milestoneAgreementTypeMap;
|
|
834
|
+
const incoming_milestoneAgreementTypeMap = incoming.milestoneAgreementTypeMap;
|
|
835
|
+
const equals_milestoneAgreementTypeMap_props = equalsObject(existing_milestoneAgreementTypeMap, incoming_milestoneAgreementTypeMap, (existing_milestoneAgreementTypeMap_prop, incoming_milestoneAgreementTypeMap_prop) => {
|
|
836
|
+
if (!(existing_milestoneAgreementTypeMap_prop === incoming_milestoneAgreementTypeMap_prop)) {
|
|
837
|
+
return false;
|
|
838
|
+
}
|
|
839
|
+
});
|
|
840
|
+
if (equals_milestoneAgreementTypeMap_props === false) {
|
|
841
|
+
return false;
|
|
842
|
+
}
|
|
814
843
|
const existing_overdueMilestoneIgnoreBusinessHours = existing.overdueMilestoneIgnoreBusinessHours;
|
|
815
844
|
const incoming_overdueMilestoneIgnoreBusinessHours = incoming.overdueMilestoneIgnoreBusinessHours;
|
|
816
845
|
if (!(existing_overdueMilestoneIgnoreBusinessHours === incoming_overdueMilestoneIgnoreBusinessHours)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 100;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "a2cd71d2b2939f60d03c222feec15f36";
|
|
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: MilestonesDataManagerRepresentation, existing: MilestonesDataManagerRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MilestonesDataManagerRepresentationNormalized;
|
|
@@ -23,6 +23,10 @@ export interface MilestonesDataManagerRepresentationNormalized {
|
|
|
23
23
|
fields: Array<string>;
|
|
24
24
|
/** Get Ignore Business Hours */
|
|
25
25
|
ignoreBusinessHours: boolean | null;
|
|
26
|
+
/** Milestone Agreement Type Map */
|
|
27
|
+
milestoneAgreementTypeMap: {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
26
30
|
/** Get Overdue Milestone Ignore Business Hours */
|
|
27
31
|
overdueMilestoneIgnoreBusinessHours: boolean | null;
|
|
28
32
|
/** Get Record Ids */
|
|
@@ -44,6 +48,9 @@ export interface MilestonesDataManagerRepresentation {
|
|
|
44
48
|
};
|
|
45
49
|
fields: Array<string>;
|
|
46
50
|
ignoreBusinessHours: boolean | null;
|
|
51
|
+
milestoneAgreementTypeMap: {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
47
54
|
overdueMilestoneIgnoreBusinessHours: boolean | null;
|
|
48
55
|
recordIds: Array<string>;
|
|
49
56
|
slaExitDate: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-milestones",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.362.0",
|
|
4
4
|
"description": "Milestones API family description",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-milestones.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.362.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.362.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -393,7 +393,7 @@ const getBusinessHoursAdapterFactory = (luvio) => function Milestones__getBusine
|
|
|
393
393
|
};
|
|
394
394
|
|
|
395
395
|
const TTL$1 = 100;
|
|
396
|
-
const VERSION$1 = "
|
|
396
|
+
const VERSION$1 = "a2cd71d2b2939f60d03c222feec15f36";
|
|
397
397
|
function validate$1(obj, path = 'MilestonesDataManagerRepresentation') {
|
|
398
398
|
const v_error = (() => {
|
|
399
399
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -451,6 +451,20 @@ function validate$1(obj, path = 'MilestonesDataManagerRepresentation') {
|
|
|
451
451
|
message += '\n' + obj_ignoreBusinessHours_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
452
452
|
return new TypeError(message);
|
|
453
453
|
}
|
|
454
|
+
const obj_milestoneAgreementTypeMap = obj.milestoneAgreementTypeMap;
|
|
455
|
+
const path_milestoneAgreementTypeMap = path + '.milestoneAgreementTypeMap';
|
|
456
|
+
if (typeof obj_milestoneAgreementTypeMap !== 'object' || ArrayIsArray(obj_milestoneAgreementTypeMap) || obj_milestoneAgreementTypeMap === null) {
|
|
457
|
+
return new TypeError('Expected "object" but received "' + typeof obj_milestoneAgreementTypeMap + '" (at "' + path_milestoneAgreementTypeMap + '")');
|
|
458
|
+
}
|
|
459
|
+
const obj_milestoneAgreementTypeMap_keys = ObjectKeys(obj_milestoneAgreementTypeMap);
|
|
460
|
+
for (let i = 0; i < obj_milestoneAgreementTypeMap_keys.length; i++) {
|
|
461
|
+
const key = obj_milestoneAgreementTypeMap_keys[i];
|
|
462
|
+
const obj_milestoneAgreementTypeMap_prop = obj_milestoneAgreementTypeMap[key];
|
|
463
|
+
const path_milestoneAgreementTypeMap_prop = path_milestoneAgreementTypeMap + '["' + key + '"]';
|
|
464
|
+
if (typeof obj_milestoneAgreementTypeMap_prop !== 'string') {
|
|
465
|
+
return new TypeError('Expected "string" but received "' + typeof obj_milestoneAgreementTypeMap_prop + '" (at "' + path_milestoneAgreementTypeMap_prop + '")');
|
|
466
|
+
}
|
|
467
|
+
}
|
|
454
468
|
const obj_overdueMilestoneIgnoreBusinessHours = obj.overdueMilestoneIgnoreBusinessHours;
|
|
455
469
|
const path_overdueMilestoneIgnoreBusinessHours = path + '.overdueMilestoneIgnoreBusinessHours';
|
|
456
470
|
let obj_overdueMilestoneIgnoreBusinessHours_union0 = null;
|
|
@@ -568,6 +582,11 @@ const select$3 = function MilestonesDataManagerRepresentationSelect() {
|
|
|
568
582
|
name: 'ignoreBusinessHours',
|
|
569
583
|
kind: 'Scalar'
|
|
570
584
|
},
|
|
585
|
+
{
|
|
586
|
+
name: 'milestoneAgreementTypeMap',
|
|
587
|
+
kind: 'Scalar',
|
|
588
|
+
map: true
|
|
589
|
+
},
|
|
571
590
|
{
|
|
572
591
|
name: 'overdueMilestoneIgnoreBusinessHours',
|
|
573
592
|
kind: 'Scalar'
|
|
@@ -614,6 +633,16 @@ function equals$1(existing, incoming) {
|
|
|
614
633
|
if (!(existing_ignoreBusinessHours === incoming_ignoreBusinessHours)) {
|
|
615
634
|
return false;
|
|
616
635
|
}
|
|
636
|
+
const existing_milestoneAgreementTypeMap = existing.milestoneAgreementTypeMap;
|
|
637
|
+
const incoming_milestoneAgreementTypeMap = incoming.milestoneAgreementTypeMap;
|
|
638
|
+
const equals_milestoneAgreementTypeMap_props = equalsObject(existing_milestoneAgreementTypeMap, incoming_milestoneAgreementTypeMap, (existing_milestoneAgreementTypeMap_prop, incoming_milestoneAgreementTypeMap_prop) => {
|
|
639
|
+
if (!(existing_milestoneAgreementTypeMap_prop === incoming_milestoneAgreementTypeMap_prop)) {
|
|
640
|
+
return false;
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
if (equals_milestoneAgreementTypeMap_props === false) {
|
|
644
|
+
return false;
|
|
645
|
+
}
|
|
617
646
|
const existing_overdueMilestoneIgnoreBusinessHours = existing.overdueMilestoneIgnoreBusinessHours;
|
|
618
647
|
const incoming_overdueMilestoneIgnoreBusinessHours = incoming.overdueMilestoneIgnoreBusinessHours;
|
|
619
648
|
if (!(existing_overdueMilestoneIgnoreBusinessHours === incoming_overdueMilestoneIgnoreBusinessHours)) {
|
|
@@ -1051,4 +1080,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1051
1080
|
});
|
|
1052
1081
|
|
|
1053
1082
|
export { getBusinessHours, getBusinessHours_imperative, getMilestonesDataManager, getMilestonesDataManager_imperative, markMilestoneCompleted };
|
|
1054
|
-
// version: 1.
|
|
1083
|
+
// version: 1.362.0-d2e818ae61
|
package/src/raml/api.raml
CHANGED