@salesforce/lds-adapters-platform-sharing 1.293.0 → 1.294.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-sharing.js +93 -51
- package/dist/es/es2018/types/src/generated/types/RolesInGroupRepresentation.d.ts +7 -4
- package/dist/es/es2018/types/src/generated/types/UserMembersInPublicGroupRepresentation.d.ts +18 -12
- package/package.json +3 -3
- package/sfdc/index.js +94 -52
- package/src/raml/api.raml +21 -12
|
@@ -488,12 +488,22 @@ const getGroupsForUserAdapterFactory = (luvio) => function sharing__getGroupsFor
|
|
|
488
488
|
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
-
const VERSION$c = "
|
|
491
|
+
const VERSION$c = "23a331717bb19992d3c37b818fc7008a";
|
|
492
492
|
function validate$c(obj, path = 'RolesInGroupRepresentation') {
|
|
493
493
|
const v_error = (() => {
|
|
494
494
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
495
495
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
496
496
|
}
|
|
497
|
+
const obj_dataId = obj.dataId;
|
|
498
|
+
const path_dataId = path + '.dataId';
|
|
499
|
+
if (typeof obj_dataId !== 'string') {
|
|
500
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataId + '" (at "' + path_dataId + '")');
|
|
501
|
+
}
|
|
502
|
+
const obj_groupType = obj.groupType;
|
|
503
|
+
const path_groupType = path + '.groupType';
|
|
504
|
+
if (typeof obj_groupType !== 'string') {
|
|
505
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupType + '" (at "' + path_groupType + '")');
|
|
506
|
+
}
|
|
497
507
|
const obj_roleName = obj.roleName;
|
|
498
508
|
const path_roleName = path + '.roleName';
|
|
499
509
|
if (typeof obj_roleName !== 'string') {
|
|
@@ -519,11 +529,6 @@ function validate$c(obj, path = 'RolesInGroupRepresentation') {
|
|
|
519
529
|
if (typeof obj_roleUpdatedOn !== 'string') {
|
|
520
530
|
return new TypeError('Expected "string" but received "' + typeof obj_roleUpdatedOn + '" (at "' + path_roleUpdatedOn + '")');
|
|
521
531
|
}
|
|
522
|
-
const obj_type = obj.type;
|
|
523
|
-
const path_type = path + '.type';
|
|
524
|
-
if (typeof obj_type !== 'string') {
|
|
525
|
-
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
526
|
-
}
|
|
527
532
|
})();
|
|
528
533
|
return v_error === undefined ? null : v_error;
|
|
529
534
|
}
|
|
@@ -533,6 +538,14 @@ const select$g = function RolesInGroupRepresentationSelect() {
|
|
|
533
538
|
version: VERSION$c,
|
|
534
539
|
private: [],
|
|
535
540
|
selections: [
|
|
541
|
+
{
|
|
542
|
+
name: 'dataId',
|
|
543
|
+
kind: 'Scalar'
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
name: 'groupType',
|
|
547
|
+
kind: 'Scalar'
|
|
548
|
+
},
|
|
536
549
|
{
|
|
537
550
|
name: 'roleName',
|
|
538
551
|
kind: 'Scalar'
|
|
@@ -552,15 +565,21 @@ const select$g = function RolesInGroupRepresentationSelect() {
|
|
|
552
565
|
{
|
|
553
566
|
name: 'roleUpdatedOn',
|
|
554
567
|
kind: 'Scalar'
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
name: 'type',
|
|
558
|
-
kind: 'Scalar'
|
|
559
568
|
}
|
|
560
569
|
]
|
|
561
570
|
};
|
|
562
571
|
};
|
|
563
572
|
function equals$c(existing, incoming) {
|
|
573
|
+
const existing_dataId = existing.dataId;
|
|
574
|
+
const incoming_dataId = incoming.dataId;
|
|
575
|
+
if (!(existing_dataId === incoming_dataId)) {
|
|
576
|
+
return false;
|
|
577
|
+
}
|
|
578
|
+
const existing_groupType = existing.groupType;
|
|
579
|
+
const incoming_groupType = incoming.groupType;
|
|
580
|
+
if (!(existing_groupType === incoming_groupType)) {
|
|
581
|
+
return false;
|
|
582
|
+
}
|
|
564
583
|
const existing_roleName = existing.roleName;
|
|
565
584
|
const incoming_roleName = incoming.roleName;
|
|
566
585
|
if (!(existing_roleName === incoming_roleName)) {
|
|
@@ -586,15 +605,10 @@ function equals$c(existing, incoming) {
|
|
|
586
605
|
if (!(existing_roleUpdatedOn === incoming_roleUpdatedOn)) {
|
|
587
606
|
return false;
|
|
588
607
|
}
|
|
589
|
-
const existing_type = existing.type;
|
|
590
|
-
const incoming_type = incoming.type;
|
|
591
|
-
if (!(existing_type === incoming_type)) {
|
|
592
|
-
return false;
|
|
593
|
-
}
|
|
594
608
|
return true;
|
|
595
609
|
}
|
|
596
610
|
|
|
597
|
-
const VERSION$b = "
|
|
611
|
+
const VERSION$b = "81212e87b01ada2a285c551aadcec218";
|
|
598
612
|
function validate$b(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
599
613
|
const v_error = (() => {
|
|
600
614
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -605,30 +619,40 @@ function validate$b(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
|
605
619
|
if (typeof obj_alias !== 'string') {
|
|
606
620
|
return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
|
|
607
621
|
}
|
|
608
|
-
const
|
|
609
|
-
const
|
|
610
|
-
if (typeof
|
|
611
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
612
|
-
}
|
|
613
|
-
const obj_profile = obj.profile;
|
|
614
|
-
const path_profile = path + '.profile';
|
|
615
|
-
if (typeof obj_profile !== 'string') {
|
|
616
|
-
return new TypeError('Expected "string" but received "' + typeof obj_profile + '" (at "' + path_profile + '")');
|
|
617
|
-
}
|
|
618
|
-
const obj_role = obj.role;
|
|
619
|
-
const path_role = path + '.role';
|
|
620
|
-
if (typeof obj_role !== 'string') {
|
|
621
|
-
return new TypeError('Expected "string" but received "' + typeof obj_role + '" (at "' + path_role + '")');
|
|
622
|
+
const obj_dataId = obj.dataId;
|
|
623
|
+
const path_dataId = path + '.dataId';
|
|
624
|
+
if (typeof obj_dataId !== 'string') {
|
|
625
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataId + '" (at "' + path_dataId + '")');
|
|
622
626
|
}
|
|
623
627
|
const obj_status = obj.status;
|
|
624
628
|
const path_status = path + '.status';
|
|
625
629
|
if (typeof obj_status !== 'boolean') {
|
|
626
630
|
return new TypeError('Expected "boolean" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
627
631
|
}
|
|
628
|
-
const
|
|
629
|
-
const
|
|
630
|
-
if (typeof
|
|
631
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
632
|
+
const obj_userFullName = obj.userFullName;
|
|
633
|
+
const path_userFullName = path + '.userFullName';
|
|
634
|
+
if (typeof obj_userFullName !== 'string') {
|
|
635
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userFullName + '" (at "' + path_userFullName + '")');
|
|
636
|
+
}
|
|
637
|
+
const obj_userName = obj.userName;
|
|
638
|
+
const path_userName = path + '.userName';
|
|
639
|
+
if (typeof obj_userName !== 'string') {
|
|
640
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userName + '" (at "' + path_userName + '")');
|
|
641
|
+
}
|
|
642
|
+
const obj_userProfile = obj.userProfile;
|
|
643
|
+
const path_userProfile = path + '.userProfile';
|
|
644
|
+
if (typeof obj_userProfile !== 'string') {
|
|
645
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userProfile + '" (at "' + path_userProfile + '")');
|
|
646
|
+
}
|
|
647
|
+
const obj_userRoleName = obj.userRoleName;
|
|
648
|
+
const path_userRoleName = path + '.userRoleName';
|
|
649
|
+
if (typeof obj_userRoleName !== 'string') {
|
|
650
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userRoleName + '" (at "' + path_userRoleName + '")');
|
|
651
|
+
}
|
|
652
|
+
const obj_userType = obj.userType;
|
|
653
|
+
const path_userType = path + '.userType';
|
|
654
|
+
if (typeof obj_userType !== 'string') {
|
|
655
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userType + '" (at "' + path_userType + '")');
|
|
632
656
|
}
|
|
633
657
|
})();
|
|
634
658
|
return v_error === undefined ? null : v_error;
|
|
@@ -644,23 +668,31 @@ const select$f = function UserMembersInPublicGroupRepresentationSelect() {
|
|
|
644
668
|
kind: 'Scalar'
|
|
645
669
|
},
|
|
646
670
|
{
|
|
647
|
-
name: '
|
|
671
|
+
name: 'dataId',
|
|
648
672
|
kind: 'Scalar'
|
|
649
673
|
},
|
|
650
674
|
{
|
|
651
|
-
name: '
|
|
675
|
+
name: 'status',
|
|
652
676
|
kind: 'Scalar'
|
|
653
677
|
},
|
|
654
678
|
{
|
|
655
|
-
name: '
|
|
679
|
+
name: 'userFullName',
|
|
656
680
|
kind: 'Scalar'
|
|
657
681
|
},
|
|
658
682
|
{
|
|
659
|
-
name: '
|
|
683
|
+
name: 'userName',
|
|
660
684
|
kind: 'Scalar'
|
|
661
685
|
},
|
|
662
686
|
{
|
|
663
|
-
name: '
|
|
687
|
+
name: 'userProfile',
|
|
688
|
+
kind: 'Scalar'
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
name: 'userRoleName',
|
|
692
|
+
kind: 'Scalar'
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
name: 'userType',
|
|
664
696
|
kind: 'Scalar'
|
|
665
697
|
}
|
|
666
698
|
]
|
|
@@ -677,24 +709,34 @@ function equals$b(existing, incoming) {
|
|
|
677
709
|
if (!(existing_alias === incoming_alias)) {
|
|
678
710
|
return false;
|
|
679
711
|
}
|
|
680
|
-
const
|
|
681
|
-
const
|
|
682
|
-
if (!(
|
|
712
|
+
const existing_dataId = existing.dataId;
|
|
713
|
+
const incoming_dataId = incoming.dataId;
|
|
714
|
+
if (!(existing_dataId === incoming_dataId)) {
|
|
715
|
+
return false;
|
|
716
|
+
}
|
|
717
|
+
const existing_userFullName = existing.userFullName;
|
|
718
|
+
const incoming_userFullName = incoming.userFullName;
|
|
719
|
+
if (!(existing_userFullName === incoming_userFullName)) {
|
|
720
|
+
return false;
|
|
721
|
+
}
|
|
722
|
+
const existing_userName = existing.userName;
|
|
723
|
+
const incoming_userName = incoming.userName;
|
|
724
|
+
if (!(existing_userName === incoming_userName)) {
|
|
683
725
|
return false;
|
|
684
726
|
}
|
|
685
|
-
const
|
|
686
|
-
const
|
|
687
|
-
if (!(
|
|
727
|
+
const existing_userProfile = existing.userProfile;
|
|
728
|
+
const incoming_userProfile = incoming.userProfile;
|
|
729
|
+
if (!(existing_userProfile === incoming_userProfile)) {
|
|
688
730
|
return false;
|
|
689
731
|
}
|
|
690
|
-
const
|
|
691
|
-
const
|
|
692
|
-
if (!(
|
|
732
|
+
const existing_userRoleName = existing.userRoleName;
|
|
733
|
+
const incoming_userRoleName = incoming.userRoleName;
|
|
734
|
+
if (!(existing_userRoleName === incoming_userRoleName)) {
|
|
693
735
|
return false;
|
|
694
736
|
}
|
|
695
|
-
const
|
|
696
|
-
const
|
|
697
|
-
if (!(
|
|
737
|
+
const existing_userType = existing.userType;
|
|
738
|
+
const incoming_userType = incoming.userType;
|
|
739
|
+
if (!(existing_userType === incoming_userType)) {
|
|
698
740
|
return false;
|
|
699
741
|
}
|
|
700
742
|
return true;
|
|
@@ -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, 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 = "
|
|
2
|
+
export declare const VERSION = "23a331717bb19992d3c37b818fc7008a";
|
|
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: RolesInGroupRepresentation, existing: RolesInGroupRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RolesInGroupRepresentationNormalized;
|
|
@@ -14,6 +14,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface RolesInGroupRepresentationNormalized {
|
|
17
|
+
/** Group Member dataId */
|
|
18
|
+
dataId: string;
|
|
19
|
+
/** Group Type */
|
|
20
|
+
groupType: string;
|
|
17
21
|
/** Role Name */
|
|
18
22
|
roleName: string;
|
|
19
23
|
/** Role Parent dev Name */
|
|
@@ -24,8 +28,6 @@ export interface RolesInGroupRepresentationNormalized {
|
|
|
24
28
|
roleUpdatedBy: string;
|
|
25
29
|
/** Role Updated On */
|
|
26
30
|
roleUpdatedOn: string;
|
|
27
|
-
/** Type */
|
|
28
|
-
type: string;
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
31
33
|
* Roles in Public Group Representation
|
|
@@ -34,10 +36,11 @@ export interface RolesInGroupRepresentationNormalized {
|
|
|
34
36
|
* (none)
|
|
35
37
|
*/
|
|
36
38
|
export interface RolesInGroupRepresentation {
|
|
39
|
+
dataId: string;
|
|
40
|
+
groupType: string;
|
|
37
41
|
roleName: string;
|
|
38
42
|
roleParentDevName: string;
|
|
39
43
|
roleParentLabel: string;
|
|
40
44
|
roleUpdatedBy: string;
|
|
41
45
|
roleUpdatedOn: string;
|
|
42
|
-
type: string;
|
|
43
46
|
}
|
package/dist/es/es2018/types/src/generated/types/UserMembersInPublicGroupRepresentation.d.ts
CHANGED
|
@@ -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, 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 = "
|
|
2
|
+
export declare const VERSION = "81212e87b01ada2a285c551aadcec218";
|
|
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: UserMembersInPublicGroupRepresentation, existing: UserMembersInPublicGroupRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserMembersInPublicGroupRepresentationNormalized;
|
|
@@ -16,16 +16,20 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
export interface UserMembersInPublicGroupRepresentationNormalized {
|
|
17
17
|
/** Group Member alias */
|
|
18
18
|
alias: string;
|
|
19
|
-
/** Group Member
|
|
20
|
-
|
|
21
|
-
/** Group Member Profile */
|
|
22
|
-
profile: string;
|
|
23
|
-
/** Group Member User Role */
|
|
24
|
-
role: string;
|
|
19
|
+
/** Group Member dataId */
|
|
20
|
+
dataId: string;
|
|
25
21
|
/** Group Member Status */
|
|
26
22
|
status: boolean;
|
|
23
|
+
/** Group Member userFullName */
|
|
24
|
+
userFullName: string;
|
|
27
25
|
/** Group Member Full username */
|
|
28
|
-
|
|
26
|
+
userName: string;
|
|
27
|
+
/** Group Member userProfile */
|
|
28
|
+
userProfile: string;
|
|
29
|
+
/** Group Member userRoleName */
|
|
30
|
+
userRoleName: string;
|
|
31
|
+
/** User Member userType */
|
|
32
|
+
userType: string;
|
|
29
33
|
}
|
|
30
34
|
/**
|
|
31
35
|
* User Members in Public Group Representation
|
|
@@ -35,9 +39,11 @@ export interface UserMembersInPublicGroupRepresentationNormalized {
|
|
|
35
39
|
*/
|
|
36
40
|
export interface UserMembersInPublicGroupRepresentation {
|
|
37
41
|
alias: string;
|
|
38
|
-
|
|
39
|
-
profile: string;
|
|
40
|
-
role: string;
|
|
42
|
+
dataId: string;
|
|
41
43
|
status: boolean;
|
|
42
|
-
|
|
44
|
+
userFullName: string;
|
|
45
|
+
userName: string;
|
|
46
|
+
userProfile: string;
|
|
47
|
+
userRoleName: string;
|
|
48
|
+
userType: string;
|
|
43
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-sharing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.294.0",
|
|
4
4
|
"description": "Sharing",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-sharing.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.294.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.294.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -810,12 +810,22 @@ const getGroupsForUserAdapterFactory = (luvio) => function sharing__getGroupsFor
|
|
|
810
810
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
811
811
|
};
|
|
812
812
|
|
|
813
|
-
const VERSION$a = "
|
|
813
|
+
const VERSION$a = "23a331717bb19992d3c37b818fc7008a";
|
|
814
814
|
function validate$a(obj, path = 'RolesInGroupRepresentation') {
|
|
815
815
|
const v_error = (() => {
|
|
816
816
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
817
817
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
818
818
|
}
|
|
819
|
+
const obj_dataId = obj.dataId;
|
|
820
|
+
const path_dataId = path + '.dataId';
|
|
821
|
+
if (typeof obj_dataId !== 'string') {
|
|
822
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataId + '" (at "' + path_dataId + '")');
|
|
823
|
+
}
|
|
824
|
+
const obj_groupType = obj.groupType;
|
|
825
|
+
const path_groupType = path + '.groupType';
|
|
826
|
+
if (typeof obj_groupType !== 'string') {
|
|
827
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupType + '" (at "' + path_groupType + '")');
|
|
828
|
+
}
|
|
819
829
|
const obj_roleName = obj.roleName;
|
|
820
830
|
const path_roleName = path + '.roleName';
|
|
821
831
|
if (typeof obj_roleName !== 'string') {
|
|
@@ -841,11 +851,6 @@ function validate$a(obj, path = 'RolesInGroupRepresentation') {
|
|
|
841
851
|
if (typeof obj_roleUpdatedOn !== 'string') {
|
|
842
852
|
return new TypeError('Expected "string" but received "' + typeof obj_roleUpdatedOn + '" (at "' + path_roleUpdatedOn + '")');
|
|
843
853
|
}
|
|
844
|
-
const obj_type = obj.type;
|
|
845
|
-
const path_type = path + '.type';
|
|
846
|
-
if (typeof obj_type !== 'string') {
|
|
847
|
-
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
848
|
-
}
|
|
849
854
|
})();
|
|
850
855
|
return v_error === undefined ? null : v_error;
|
|
851
856
|
}
|
|
@@ -855,6 +860,14 @@ const select$d = function RolesInGroupRepresentationSelect() {
|
|
|
855
860
|
version: VERSION$a,
|
|
856
861
|
private: [],
|
|
857
862
|
selections: [
|
|
863
|
+
{
|
|
864
|
+
name: 'dataId',
|
|
865
|
+
kind: 'Scalar'
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
name: 'groupType',
|
|
869
|
+
kind: 'Scalar'
|
|
870
|
+
},
|
|
858
871
|
{
|
|
859
872
|
name: 'roleName',
|
|
860
873
|
kind: 'Scalar'
|
|
@@ -874,15 +887,21 @@ const select$d = function RolesInGroupRepresentationSelect() {
|
|
|
874
887
|
{
|
|
875
888
|
name: 'roleUpdatedOn',
|
|
876
889
|
kind: 'Scalar'
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
name: 'type',
|
|
880
|
-
kind: 'Scalar'
|
|
881
890
|
}
|
|
882
891
|
]
|
|
883
892
|
};
|
|
884
893
|
};
|
|
885
894
|
function equals$a(existing, incoming) {
|
|
895
|
+
const existing_dataId = existing.dataId;
|
|
896
|
+
const incoming_dataId = incoming.dataId;
|
|
897
|
+
if (!(existing_dataId === incoming_dataId)) {
|
|
898
|
+
return false;
|
|
899
|
+
}
|
|
900
|
+
const existing_groupType = existing.groupType;
|
|
901
|
+
const incoming_groupType = incoming.groupType;
|
|
902
|
+
if (!(existing_groupType === incoming_groupType)) {
|
|
903
|
+
return false;
|
|
904
|
+
}
|
|
886
905
|
const existing_roleName = existing.roleName;
|
|
887
906
|
const incoming_roleName = incoming.roleName;
|
|
888
907
|
if (!(existing_roleName === incoming_roleName)) {
|
|
@@ -908,15 +927,10 @@ function equals$a(existing, incoming) {
|
|
|
908
927
|
if (!(existing_roleUpdatedOn === incoming_roleUpdatedOn)) {
|
|
909
928
|
return false;
|
|
910
929
|
}
|
|
911
|
-
const existing_type = existing.type;
|
|
912
|
-
const incoming_type = incoming.type;
|
|
913
|
-
if (!(existing_type === incoming_type)) {
|
|
914
|
-
return false;
|
|
915
|
-
}
|
|
916
930
|
return true;
|
|
917
931
|
}
|
|
918
932
|
|
|
919
|
-
const VERSION$9 = "
|
|
933
|
+
const VERSION$9 = "81212e87b01ada2a285c551aadcec218";
|
|
920
934
|
function validate$9(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
921
935
|
const v_error = (() => {
|
|
922
936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -927,30 +941,40 @@ function validate$9(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
|
927
941
|
if (typeof obj_alias !== 'string') {
|
|
928
942
|
return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
|
|
929
943
|
}
|
|
930
|
-
const
|
|
931
|
-
const
|
|
932
|
-
if (typeof
|
|
933
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
934
|
-
}
|
|
935
|
-
const obj_profile = obj.profile;
|
|
936
|
-
const path_profile = path + '.profile';
|
|
937
|
-
if (typeof obj_profile !== 'string') {
|
|
938
|
-
return new TypeError('Expected "string" but received "' + typeof obj_profile + '" (at "' + path_profile + '")');
|
|
939
|
-
}
|
|
940
|
-
const obj_role = obj.role;
|
|
941
|
-
const path_role = path + '.role';
|
|
942
|
-
if (typeof obj_role !== 'string') {
|
|
943
|
-
return new TypeError('Expected "string" but received "' + typeof obj_role + '" (at "' + path_role + '")');
|
|
944
|
+
const obj_dataId = obj.dataId;
|
|
945
|
+
const path_dataId = path + '.dataId';
|
|
946
|
+
if (typeof obj_dataId !== 'string') {
|
|
947
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataId + '" (at "' + path_dataId + '")');
|
|
944
948
|
}
|
|
945
949
|
const obj_status = obj.status;
|
|
946
950
|
const path_status = path + '.status';
|
|
947
951
|
if (typeof obj_status !== 'boolean') {
|
|
948
952
|
return new TypeError('Expected "boolean" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
949
953
|
}
|
|
950
|
-
const
|
|
951
|
-
const
|
|
952
|
-
if (typeof
|
|
953
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
954
|
+
const obj_userFullName = obj.userFullName;
|
|
955
|
+
const path_userFullName = path + '.userFullName';
|
|
956
|
+
if (typeof obj_userFullName !== 'string') {
|
|
957
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userFullName + '" (at "' + path_userFullName + '")');
|
|
958
|
+
}
|
|
959
|
+
const obj_userName = obj.userName;
|
|
960
|
+
const path_userName = path + '.userName';
|
|
961
|
+
if (typeof obj_userName !== 'string') {
|
|
962
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userName + '" (at "' + path_userName + '")');
|
|
963
|
+
}
|
|
964
|
+
const obj_userProfile = obj.userProfile;
|
|
965
|
+
const path_userProfile = path + '.userProfile';
|
|
966
|
+
if (typeof obj_userProfile !== 'string') {
|
|
967
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userProfile + '" (at "' + path_userProfile + '")');
|
|
968
|
+
}
|
|
969
|
+
const obj_userRoleName = obj.userRoleName;
|
|
970
|
+
const path_userRoleName = path + '.userRoleName';
|
|
971
|
+
if (typeof obj_userRoleName !== 'string') {
|
|
972
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userRoleName + '" (at "' + path_userRoleName + '")');
|
|
973
|
+
}
|
|
974
|
+
const obj_userType = obj.userType;
|
|
975
|
+
const path_userType = path + '.userType';
|
|
976
|
+
if (typeof obj_userType !== 'string') {
|
|
977
|
+
return new TypeError('Expected "string" but received "' + typeof obj_userType + '" (at "' + path_userType + '")');
|
|
954
978
|
}
|
|
955
979
|
})();
|
|
956
980
|
return v_error === undefined ? null : v_error;
|
|
@@ -966,23 +990,31 @@ const select$c = function UserMembersInPublicGroupRepresentationSelect() {
|
|
|
966
990
|
kind: 'Scalar'
|
|
967
991
|
},
|
|
968
992
|
{
|
|
969
|
-
name: '
|
|
993
|
+
name: 'dataId',
|
|
970
994
|
kind: 'Scalar'
|
|
971
995
|
},
|
|
972
996
|
{
|
|
973
|
-
name: '
|
|
997
|
+
name: 'status',
|
|
974
998
|
kind: 'Scalar'
|
|
975
999
|
},
|
|
976
1000
|
{
|
|
977
|
-
name: '
|
|
1001
|
+
name: 'userFullName',
|
|
978
1002
|
kind: 'Scalar'
|
|
979
1003
|
},
|
|
980
1004
|
{
|
|
981
|
-
name: '
|
|
1005
|
+
name: 'userName',
|
|
982
1006
|
kind: 'Scalar'
|
|
983
1007
|
},
|
|
984
1008
|
{
|
|
985
|
-
name: '
|
|
1009
|
+
name: 'userProfile',
|
|
1010
|
+
kind: 'Scalar'
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
name: 'userRoleName',
|
|
1014
|
+
kind: 'Scalar'
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
name: 'userType',
|
|
986
1018
|
kind: 'Scalar'
|
|
987
1019
|
}
|
|
988
1020
|
]
|
|
@@ -999,24 +1031,34 @@ function equals$9(existing, incoming) {
|
|
|
999
1031
|
if (!(existing_alias === incoming_alias)) {
|
|
1000
1032
|
return false;
|
|
1001
1033
|
}
|
|
1002
|
-
const
|
|
1003
|
-
const
|
|
1004
|
-
if (!(
|
|
1034
|
+
const existing_dataId = existing.dataId;
|
|
1035
|
+
const incoming_dataId = incoming.dataId;
|
|
1036
|
+
if (!(existing_dataId === incoming_dataId)) {
|
|
1037
|
+
return false;
|
|
1038
|
+
}
|
|
1039
|
+
const existing_userFullName = existing.userFullName;
|
|
1040
|
+
const incoming_userFullName = incoming.userFullName;
|
|
1041
|
+
if (!(existing_userFullName === incoming_userFullName)) {
|
|
1042
|
+
return false;
|
|
1043
|
+
}
|
|
1044
|
+
const existing_userName = existing.userName;
|
|
1045
|
+
const incoming_userName = incoming.userName;
|
|
1046
|
+
if (!(existing_userName === incoming_userName)) {
|
|
1005
1047
|
return false;
|
|
1006
1048
|
}
|
|
1007
|
-
const
|
|
1008
|
-
const
|
|
1009
|
-
if (!(
|
|
1049
|
+
const existing_userProfile = existing.userProfile;
|
|
1050
|
+
const incoming_userProfile = incoming.userProfile;
|
|
1051
|
+
if (!(existing_userProfile === incoming_userProfile)) {
|
|
1010
1052
|
return false;
|
|
1011
1053
|
}
|
|
1012
|
-
const
|
|
1013
|
-
const
|
|
1014
|
-
if (!(
|
|
1054
|
+
const existing_userRoleName = existing.userRoleName;
|
|
1055
|
+
const incoming_userRoleName = incoming.userRoleName;
|
|
1056
|
+
if (!(existing_userRoleName === incoming_userRoleName)) {
|
|
1015
1057
|
return false;
|
|
1016
1058
|
}
|
|
1017
|
-
const
|
|
1018
|
-
const
|
|
1019
|
-
if (!(
|
|
1059
|
+
const existing_userType = existing.userType;
|
|
1060
|
+
const incoming_userType = incoming.userType;
|
|
1061
|
+
if (!(existing_userType === incoming_userType)) {
|
|
1020
1062
|
return false;
|
|
1021
1063
|
}
|
|
1022
1064
|
return true;
|
|
@@ -2426,4 +2468,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2426
2468
|
});
|
|
2427
2469
|
|
|
2428
2470
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
2429
|
-
// version: 1.
|
|
2471
|
+
// version: 1.294.0-e7eb16228
|
package/src/raml/api.raml
CHANGED
|
@@ -318,6 +318,12 @@ types:
|
|
|
318
318
|
description: Roles in Public Group Representation
|
|
319
319
|
type: object
|
|
320
320
|
properties:
|
|
321
|
+
dataId:
|
|
322
|
+
description: Group Member dataId
|
|
323
|
+
type: string
|
|
324
|
+
groupType:
|
|
325
|
+
description: Group Type
|
|
326
|
+
type: string
|
|
321
327
|
roleName:
|
|
322
328
|
description: Role Name
|
|
323
329
|
type: string
|
|
@@ -333,9 +339,6 @@ types:
|
|
|
333
339
|
roleUpdatedOn:
|
|
334
340
|
description: Role Updated On
|
|
335
341
|
type: string
|
|
336
|
-
type:
|
|
337
|
-
description: Type
|
|
338
|
-
type: string
|
|
339
342
|
ShareAccessLevelRepresentation:
|
|
340
343
|
description: Representation of a share access level per entity.
|
|
341
344
|
type: object
|
|
@@ -535,21 +538,27 @@ types:
|
|
|
535
538
|
alias:
|
|
536
539
|
description: Group Member alias
|
|
537
540
|
type: string
|
|
538
|
-
|
|
539
|
-
description: Group Member
|
|
540
|
-
type: string
|
|
541
|
-
profile:
|
|
542
|
-
description: Group Member Profile
|
|
543
|
-
type: string
|
|
544
|
-
role:
|
|
545
|
-
description: Group Member User Role
|
|
541
|
+
dataId:
|
|
542
|
+
description: Group Member dataId
|
|
546
543
|
type: string
|
|
547
544
|
status:
|
|
548
545
|
description: Group Member Status
|
|
549
546
|
type: boolean
|
|
550
|
-
|
|
547
|
+
userFullName:
|
|
548
|
+
description: Group Member userFullName
|
|
549
|
+
type: string
|
|
550
|
+
userName:
|
|
551
551
|
description: Group Member Full username
|
|
552
552
|
type: string
|
|
553
|
+
userProfile:
|
|
554
|
+
description: Group Member userProfile
|
|
555
|
+
type: string
|
|
556
|
+
userRoleName:
|
|
557
|
+
description: Group Member userRoleName
|
|
558
|
+
type: string
|
|
559
|
+
userType:
|
|
560
|
+
description: User Member userType
|
|
561
|
+
type: string
|
|
553
562
|
UserOrGroupRepresentation:
|
|
554
563
|
description: Representation of user or group with whom an object can be shared.
|
|
555
564
|
type: object
|