@salesforce/lds-adapters-platform-sharing 1.293.0 → 1.295.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 +128 -53
- package/dist/es/es2018/types/src/generated/adapters/getPublicGroupMembershipDetails.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSharingPublicGroupsDetails.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsRepresentation.d.ts +4 -1
- 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 +129 -54
- package/src/raml/api.raml +34 -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',
|
|
684
|
+
kind: 'Scalar'
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
name: 'userProfile',
|
|
660
688
|
kind: 'Scalar'
|
|
661
689
|
},
|
|
662
690
|
{
|
|
663
|
-
name: '
|
|
691
|
+
name: 'userRoleName',
|
|
692
|
+
kind: 'Scalar'
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
name: 'userType',
|
|
664
696
|
kind: 'Scalar'
|
|
665
697
|
}
|
|
666
698
|
]
|
|
@@ -677,31 +709,41 @@ 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)) {
|
|
683
720
|
return false;
|
|
684
721
|
}
|
|
685
|
-
const
|
|
686
|
-
const
|
|
687
|
-
if (!(
|
|
722
|
+
const existing_userName = existing.userName;
|
|
723
|
+
const incoming_userName = incoming.userName;
|
|
724
|
+
if (!(existing_userName === incoming_userName)) {
|
|
688
725
|
return false;
|
|
689
726
|
}
|
|
690
|
-
const
|
|
691
|
-
const
|
|
692
|
-
if (!(
|
|
727
|
+
const existing_userProfile = existing.userProfile;
|
|
728
|
+
const incoming_userProfile = incoming.userProfile;
|
|
729
|
+
if (!(existing_userProfile === incoming_userProfile)) {
|
|
693
730
|
return false;
|
|
694
731
|
}
|
|
695
|
-
const
|
|
696
|
-
const
|
|
697
|
-
if (!(
|
|
732
|
+
const existing_userRoleName = existing.userRoleName;
|
|
733
|
+
const incoming_userRoleName = incoming.userRoleName;
|
|
734
|
+
if (!(existing_userRoleName === incoming_userRoleName)) {
|
|
735
|
+
return false;
|
|
736
|
+
}
|
|
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;
|
|
701
743
|
}
|
|
702
744
|
|
|
703
745
|
const TTL$3 = 300;
|
|
704
|
-
const VERSION$a = "
|
|
746
|
+
const VERSION$a = "03d78a156e088ff425265ef77ffd578e";
|
|
705
747
|
function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
706
748
|
const v_error = (() => {
|
|
707
749
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -737,6 +779,21 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
737
779
|
return new TypeError(message);
|
|
738
780
|
}
|
|
739
781
|
}
|
|
782
|
+
const obj_listRolesInternalAndPortalSubordinates = obj.listRolesInternalAndPortalSubordinates;
|
|
783
|
+
const path_listRolesInternalAndPortalSubordinates = path + '.listRolesInternalAndPortalSubordinates';
|
|
784
|
+
if (!ArrayIsArray(obj_listRolesInternalAndPortalSubordinates)) {
|
|
785
|
+
return new TypeError('Expected "array" but received "' + typeof obj_listRolesInternalAndPortalSubordinates + '" (at "' + path_listRolesInternalAndPortalSubordinates + '")');
|
|
786
|
+
}
|
|
787
|
+
for (let i = 0; i < obj_listRolesInternalAndPortalSubordinates.length; i++) {
|
|
788
|
+
const obj_listRolesInternalAndPortalSubordinates_item = obj_listRolesInternalAndPortalSubordinates[i];
|
|
789
|
+
const path_listRolesInternalAndPortalSubordinates_item = path_listRolesInternalAndPortalSubordinates + '[' + i + ']';
|
|
790
|
+
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$c(obj_listRolesInternalAndPortalSubordinates_item, path_listRolesInternalAndPortalSubordinates_item);
|
|
791
|
+
if (referencepath_listRolesInternalAndPortalSubordinates_itemValidationError !== null) {
|
|
792
|
+
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesInternalAndPortalSubordinates_item + '")\n';
|
|
793
|
+
message += referencepath_listRolesInternalAndPortalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
794
|
+
return new TypeError(message);
|
|
795
|
+
}
|
|
796
|
+
}
|
|
740
797
|
const obj_listUsers = obj.listUsers;
|
|
741
798
|
const path_listUsers = path + '.listUsers';
|
|
742
799
|
if (!ArrayIsArray(obj_listUsers)) {
|
|
@@ -779,6 +836,12 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
779
836
|
plural: true,
|
|
780
837
|
selections: RolesInGroupRepresentation__selections
|
|
781
838
|
},
|
|
839
|
+
{
|
|
840
|
+
name: 'listRolesInternalAndPortalSubordinates',
|
|
841
|
+
kind: 'Object',
|
|
842
|
+
plural: true,
|
|
843
|
+
selections: RolesInGroupRepresentation__selections
|
|
844
|
+
},
|
|
782
845
|
{
|
|
783
846
|
name: 'listUsers',
|
|
784
847
|
kind: 'Object',
|
|
@@ -809,6 +872,16 @@ function equals$a(existing, incoming) {
|
|
|
809
872
|
if (equals_listRolesAndInternalSubordinates_items === false) {
|
|
810
873
|
return false;
|
|
811
874
|
}
|
|
875
|
+
const existing_listRolesInternalAndPortalSubordinates = existing.listRolesInternalAndPortalSubordinates;
|
|
876
|
+
const incoming_listRolesInternalAndPortalSubordinates = incoming.listRolesInternalAndPortalSubordinates;
|
|
877
|
+
const equals_listRolesInternalAndPortalSubordinates_items = equalsArray(existing_listRolesInternalAndPortalSubordinates, incoming_listRolesInternalAndPortalSubordinates, (existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item) => {
|
|
878
|
+
if (!(equals$c(existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item))) {
|
|
879
|
+
return false;
|
|
880
|
+
}
|
|
881
|
+
});
|
|
882
|
+
if (equals_listRolesInternalAndPortalSubordinates_items === false) {
|
|
883
|
+
return false;
|
|
884
|
+
}
|
|
812
885
|
const existing_listUsers = existing.listUsers;
|
|
813
886
|
const incoming_listUsers = incoming.listUsers;
|
|
814
887
|
const equals_listUsers_items = equalsArray(existing_listUsers, incoming_listUsers, (existing_listUsers_item, incoming_listUsers_item) => {
|
|
@@ -847,7 +920,7 @@ function select$d(luvio, params) {
|
|
|
847
920
|
return select$e();
|
|
848
921
|
}
|
|
849
922
|
function keyBuilder$7(luvio, params) {
|
|
850
|
-
return keyPrefix + '::PublicGroupMembershipDetailsRepresentation:(' + 'filterCriteria:' + params.body.filterCriteria + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'orderBy:' + params.body.orderBy + '::' + 'orderType:' + params.body.orderType + ')';
|
|
923
|
+
return keyPrefix + '::PublicGroupMembershipDetailsRepresentation:(' + 'filterCriteria:' + params.body.filterCriteria + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'operation:' + params.body.operation + '::' + 'orderBy:' + params.body.orderBy + '::' + 'orderType:' + params.body.orderType + '::' + 'selectedMembers:' + params.body.selectedMembers + ')';
|
|
851
924
|
}
|
|
852
925
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
853
926
|
getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
|
|
@@ -901,8 +974,10 @@ const getPublicGroupMembershipDetails_ConfigPropertyMetadata = [
|
|
|
901
974
|
generateParamConfigMetadata('groupId', true, 2 /* Body */, 0 /* String */),
|
|
902
975
|
generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
|
|
903
976
|
generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
|
|
977
|
+
generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
|
|
904
978
|
generateParamConfigMetadata('orderBy', true, 2 /* Body */, 0 /* String */),
|
|
905
979
|
generateParamConfigMetadata('orderType', true, 2 /* Body */, 0 /* String */),
|
|
980
|
+
generateParamConfigMetadata('selectedMembers', true, 2 /* Body */, 0 /* String */, true),
|
|
906
981
|
];
|
|
907
982
|
const getPublicGroupMembershipDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getPublicGroupMembershipDetails_ConfigPropertyMetadata);
|
|
908
983
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$5(getPublicGroupMembershipDetails_ConfigPropertyMetadata);
|
|
@@ -10,8 +10,10 @@ export interface GetPublicGroupMembershipDetailsConfig {
|
|
|
10
10
|
groupId: string;
|
|
11
11
|
limit: number;
|
|
12
12
|
offset: number;
|
|
13
|
+
operation: string;
|
|
13
14
|
orderBy: string;
|
|
14
15
|
orderType: string;
|
|
16
|
+
selectedMembers: Array<string>;
|
|
15
17
|
}
|
|
16
18
|
export declare const createResourceParams: (config: GetPublicGroupMembershipDetailsConfig) => resources_postSharingPublicGroupsDetails_ResourceRequestConfig;
|
|
17
19
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetPublicGroupMembershipDetailsConfig): string;
|
|
@@ -6,8 +6,10 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
groupId: string;
|
|
7
7
|
limit: number;
|
|
8
8
|
offset: number;
|
|
9
|
+
operation: string;
|
|
9
10
|
orderBy: string;
|
|
10
11
|
orderType: string;
|
|
12
|
+
selectedMembers: Array<string>;
|
|
11
13
|
};
|
|
12
14
|
}
|
|
13
15
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -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 = "5b7bf199108f3b2c4c245127fa351735";
|
|
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: PublicGroupMembershipDetailsInputRepresentation, existing: PublicGroupMembershipDetailsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PublicGroupMembershipDetailsInputRepresentationNormalized;
|
|
@@ -22,10 +22,14 @@ export interface PublicGroupMembershipDetailsInputRepresentationNormalized {
|
|
|
22
22
|
limit: number;
|
|
23
23
|
/** Offset param */
|
|
24
24
|
offset: number;
|
|
25
|
+
/** Operation like View, Delete */
|
|
26
|
+
operation: string;
|
|
25
27
|
/** Sorts by given order by clause */
|
|
26
28
|
orderBy: string;
|
|
27
29
|
/** Orders the records in asc/desc */
|
|
28
30
|
orderType: string;
|
|
31
|
+
/** Selected Members */
|
|
32
|
+
selectedMembers: Array<string>;
|
|
29
33
|
}
|
|
30
34
|
/**
|
|
31
35
|
* Input representation for public group membership details.
|
|
@@ -38,6 +42,8 @@ export interface PublicGroupMembershipDetailsInputRepresentation {
|
|
|
38
42
|
groupId: string;
|
|
39
43
|
limit: number;
|
|
40
44
|
offset: number;
|
|
45
|
+
operation: string;
|
|
41
46
|
orderBy: string;
|
|
42
47
|
orderType: string;
|
|
48
|
+
selectedMembers: Array<string>;
|
|
43
49
|
}
|
package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsRepresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { RolesInGroupRepresentation as RolesInGroupRepresentation_RolesInGroupRe
|
|
|
2
2
|
import { UserMembersInPublicGroupRepresentation as UserMembersInPublicGroupRepresentation_UserMembersInPublicGroupRepresentation } from './UserMembersInPublicGroupRepresentation';
|
|
3
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';
|
|
4
4
|
export declare const TTL = 300;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "03d78a156e088ff425265ef77ffd578e";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export declare function normalize(input: PublicGroupMembershipDetailsRepresentation, existing: PublicGroupMembershipDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PublicGroupMembershipDetailsRepresentationNormalized;
|
|
@@ -21,6 +21,8 @@ export interface PublicGroupMembershipDetailsRepresentationNormalized {
|
|
|
21
21
|
listRoles: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
22
22
|
/** Output response data for Roles and Internal Subordinates */
|
|
23
23
|
listRolesAndInternalSubordinates: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
24
|
+
/** Output response data for Roles Internal and Portal Subordinates */
|
|
25
|
+
listRolesInternalAndPortalSubordinates: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
24
26
|
/** Output response data for Users */
|
|
25
27
|
listUsers: Array<UserMembersInPublicGroupRepresentation_UserMembersInPublicGroupRepresentation>;
|
|
26
28
|
}
|
|
@@ -33,5 +35,6 @@ export interface PublicGroupMembershipDetailsRepresentationNormalized {
|
|
|
33
35
|
export interface PublicGroupMembershipDetailsRepresentation {
|
|
34
36
|
listRoles: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
35
37
|
listRolesAndInternalSubordinates: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
38
|
+
listRolesInternalAndPortalSubordinates: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
36
39
|
listUsers: Array<UserMembersInPublicGroupRepresentation_UserMembersInPublicGroupRepresentation>;
|
|
37
40
|
}
|
|
@@ -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.295.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.295.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.295.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',
|
|
1006
|
+
kind: 'Scalar'
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
name: 'userProfile',
|
|
982
1010
|
kind: 'Scalar'
|
|
983
1011
|
},
|
|
984
1012
|
{
|
|
985
|
-
name: '
|
|
1013
|
+
name: 'userRoleName',
|
|
1014
|
+
kind: 'Scalar'
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
name: 'userType',
|
|
986
1018
|
kind: 'Scalar'
|
|
987
1019
|
}
|
|
988
1020
|
]
|
|
@@ -999,31 +1031,41 @@ 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)) {
|
|
1005
1042
|
return false;
|
|
1006
1043
|
}
|
|
1007
|
-
const
|
|
1008
|
-
const
|
|
1009
|
-
if (!(
|
|
1044
|
+
const existing_userName = existing.userName;
|
|
1045
|
+
const incoming_userName = incoming.userName;
|
|
1046
|
+
if (!(existing_userName === incoming_userName)) {
|
|
1010
1047
|
return false;
|
|
1011
1048
|
}
|
|
1012
|
-
const
|
|
1013
|
-
const
|
|
1014
|
-
if (!(
|
|
1049
|
+
const existing_userProfile = existing.userProfile;
|
|
1050
|
+
const incoming_userProfile = incoming.userProfile;
|
|
1051
|
+
if (!(existing_userProfile === incoming_userProfile)) {
|
|
1015
1052
|
return false;
|
|
1016
1053
|
}
|
|
1017
|
-
const
|
|
1018
|
-
const
|
|
1019
|
-
if (!(
|
|
1054
|
+
const existing_userRoleName = existing.userRoleName;
|
|
1055
|
+
const incoming_userRoleName = incoming.userRoleName;
|
|
1056
|
+
if (!(existing_userRoleName === incoming_userRoleName)) {
|
|
1057
|
+
return false;
|
|
1058
|
+
}
|
|
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;
|
|
1023
1065
|
}
|
|
1024
1066
|
|
|
1025
1067
|
const TTL$2 = 300;
|
|
1026
|
-
const VERSION$8 = "
|
|
1068
|
+
const VERSION$8 = "03d78a156e088ff425265ef77ffd578e";
|
|
1027
1069
|
function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
1028
1070
|
const v_error = (() => {
|
|
1029
1071
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1059,6 +1101,21 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1059
1101
|
return new TypeError(message);
|
|
1060
1102
|
}
|
|
1061
1103
|
}
|
|
1104
|
+
const obj_listRolesInternalAndPortalSubordinates = obj.listRolesInternalAndPortalSubordinates;
|
|
1105
|
+
const path_listRolesInternalAndPortalSubordinates = path + '.listRolesInternalAndPortalSubordinates';
|
|
1106
|
+
if (!ArrayIsArray(obj_listRolesInternalAndPortalSubordinates)) {
|
|
1107
|
+
return new TypeError('Expected "array" but received "' + typeof obj_listRolesInternalAndPortalSubordinates + '" (at "' + path_listRolesInternalAndPortalSubordinates + '")');
|
|
1108
|
+
}
|
|
1109
|
+
for (let i = 0; i < obj_listRolesInternalAndPortalSubordinates.length; i++) {
|
|
1110
|
+
const obj_listRolesInternalAndPortalSubordinates_item = obj_listRolesInternalAndPortalSubordinates[i];
|
|
1111
|
+
const path_listRolesInternalAndPortalSubordinates_item = path_listRolesInternalAndPortalSubordinates + '[' + i + ']';
|
|
1112
|
+
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$a(obj_listRolesInternalAndPortalSubordinates_item, path_listRolesInternalAndPortalSubordinates_item);
|
|
1113
|
+
if (referencepath_listRolesInternalAndPortalSubordinates_itemValidationError !== null) {
|
|
1114
|
+
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesInternalAndPortalSubordinates_item + '")\n';
|
|
1115
|
+
message += referencepath_listRolesInternalAndPortalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1116
|
+
return new TypeError(message);
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1062
1119
|
const obj_listUsers = obj.listUsers;
|
|
1063
1120
|
const path_listUsers = path + '.listUsers';
|
|
1064
1121
|
if (!ArrayIsArray(obj_listUsers)) {
|
|
@@ -1101,6 +1158,12 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1101
1158
|
plural: true,
|
|
1102
1159
|
selections: RolesInGroupRepresentation__selections
|
|
1103
1160
|
},
|
|
1161
|
+
{
|
|
1162
|
+
name: 'listRolesInternalAndPortalSubordinates',
|
|
1163
|
+
kind: 'Object',
|
|
1164
|
+
plural: true,
|
|
1165
|
+
selections: RolesInGroupRepresentation__selections
|
|
1166
|
+
},
|
|
1104
1167
|
{
|
|
1105
1168
|
name: 'listUsers',
|
|
1106
1169
|
kind: 'Object',
|
|
@@ -1131,6 +1194,16 @@ function equals$8(existing, incoming) {
|
|
|
1131
1194
|
if (equals_listRolesAndInternalSubordinates_items === false) {
|
|
1132
1195
|
return false;
|
|
1133
1196
|
}
|
|
1197
|
+
const existing_listRolesInternalAndPortalSubordinates = existing.listRolesInternalAndPortalSubordinates;
|
|
1198
|
+
const incoming_listRolesInternalAndPortalSubordinates = incoming.listRolesInternalAndPortalSubordinates;
|
|
1199
|
+
const equals_listRolesInternalAndPortalSubordinates_items = equalsArray(existing_listRolesInternalAndPortalSubordinates, incoming_listRolesInternalAndPortalSubordinates, (existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item) => {
|
|
1200
|
+
if (!(equals$a(existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item))) {
|
|
1201
|
+
return false;
|
|
1202
|
+
}
|
|
1203
|
+
});
|
|
1204
|
+
if (equals_listRolesInternalAndPortalSubordinates_items === false) {
|
|
1205
|
+
return false;
|
|
1206
|
+
}
|
|
1134
1207
|
const existing_listUsers = existing.listUsers;
|
|
1135
1208
|
const incoming_listUsers = incoming.listUsers;
|
|
1136
1209
|
const equals_listUsers_items = equalsArray(existing_listUsers, incoming_listUsers, (existing_listUsers_item, incoming_listUsers_item) => {
|
|
@@ -1169,7 +1242,7 @@ function select$a(luvio, params) {
|
|
|
1169
1242
|
return select$b();
|
|
1170
1243
|
}
|
|
1171
1244
|
function keyBuilder$5(luvio, params) {
|
|
1172
|
-
return keyPrefix + '::PublicGroupMembershipDetailsRepresentation:(' + 'filterCriteria:' + params.body.filterCriteria + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'orderBy:' + params.body.orderBy + '::' + 'orderType:' + params.body.orderType + ')';
|
|
1245
|
+
return keyPrefix + '::PublicGroupMembershipDetailsRepresentation:(' + 'filterCriteria:' + params.body.filterCriteria + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'operation:' + params.body.operation + '::' + 'orderBy:' + params.body.orderBy + '::' + 'orderType:' + params.body.orderType + '::' + 'selectedMembers:' + params.body.selectedMembers + ')';
|
|
1173
1246
|
}
|
|
1174
1247
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
1175
1248
|
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
|
|
@@ -1223,8 +1296,10 @@ const getPublicGroupMembershipDetails_ConfigPropertyMetadata = [
|
|
|
1223
1296
|
generateParamConfigMetadata('groupId', true, 2 /* Body */, 0 /* String */),
|
|
1224
1297
|
generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
|
|
1225
1298
|
generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
|
|
1299
|
+
generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
|
|
1226
1300
|
generateParamConfigMetadata('orderBy', true, 2 /* Body */, 0 /* String */),
|
|
1227
1301
|
generateParamConfigMetadata('orderType', true, 2 /* Body */, 0 /* String */),
|
|
1302
|
+
generateParamConfigMetadata('selectedMembers', true, 2 /* Body */, 0 /* String */, true),
|
|
1228
1303
|
];
|
|
1229
1304
|
const getPublicGroupMembershipDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getPublicGroupMembershipDetails_ConfigPropertyMetadata);
|
|
1230
1305
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$5(getPublicGroupMembershipDetails_ConfigPropertyMetadata);
|
|
@@ -2426,4 +2501,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2426
2501
|
});
|
|
2427
2502
|
|
|
2428
2503
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
2429
|
-
// version: 1.
|
|
2504
|
+
// version: 1.295.0-e85f207c7
|
package/src/raml/api.raml
CHANGED
|
@@ -129,12 +129,20 @@ types:
|
|
|
129
129
|
offset:
|
|
130
130
|
description: Offset param
|
|
131
131
|
type: integer
|
|
132
|
+
operation:
|
|
133
|
+
description: Operation like View, Delete
|
|
134
|
+
type: string
|
|
132
135
|
orderBy:
|
|
133
136
|
description: Sorts by given order by clause
|
|
134
137
|
type: string
|
|
135
138
|
orderType:
|
|
136
139
|
description: Orders the records in asc/desc
|
|
137
140
|
type: string
|
|
141
|
+
selectedMembers:
|
|
142
|
+
description: Selected Members
|
|
143
|
+
type: array
|
|
144
|
+
items:
|
|
145
|
+
type: string
|
|
138
146
|
PublicGroupMembershipDetailsRepresentation:
|
|
139
147
|
description: Parent output representation for all form of data emitted by this
|
|
140
148
|
API
|
|
@@ -150,6 +158,11 @@ types:
|
|
|
150
158
|
type: array
|
|
151
159
|
items:
|
|
152
160
|
type: RolesInGroupRepresentation
|
|
161
|
+
listRolesInternalAndPortalSubordinates:
|
|
162
|
+
description: Output response data for Roles Internal and Portal Subordinates
|
|
163
|
+
type: array
|
|
164
|
+
items:
|
|
165
|
+
type: RolesInGroupRepresentation
|
|
153
166
|
listUsers:
|
|
154
167
|
description: Output response data for Users
|
|
155
168
|
type: array
|
|
@@ -318,6 +331,12 @@ types:
|
|
|
318
331
|
description: Roles in Public Group Representation
|
|
319
332
|
type: object
|
|
320
333
|
properties:
|
|
334
|
+
dataId:
|
|
335
|
+
description: Group Member dataId
|
|
336
|
+
type: string
|
|
337
|
+
groupType:
|
|
338
|
+
description: Group Type
|
|
339
|
+
type: string
|
|
321
340
|
roleName:
|
|
322
341
|
description: Role Name
|
|
323
342
|
type: string
|
|
@@ -333,9 +352,6 @@ types:
|
|
|
333
352
|
roleUpdatedOn:
|
|
334
353
|
description: Role Updated On
|
|
335
354
|
type: string
|
|
336
|
-
type:
|
|
337
|
-
description: Type
|
|
338
|
-
type: string
|
|
339
355
|
ShareAccessLevelRepresentation:
|
|
340
356
|
description: Representation of a share access level per entity.
|
|
341
357
|
type: object
|
|
@@ -535,21 +551,27 @@ types:
|
|
|
535
551
|
alias:
|
|
536
552
|
description: Group Member alias
|
|
537
553
|
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
|
|
554
|
+
dataId:
|
|
555
|
+
description: Group Member dataId
|
|
546
556
|
type: string
|
|
547
557
|
status:
|
|
548
558
|
description: Group Member Status
|
|
549
559
|
type: boolean
|
|
550
|
-
|
|
560
|
+
userFullName:
|
|
561
|
+
description: Group Member userFullName
|
|
562
|
+
type: string
|
|
563
|
+
userName:
|
|
551
564
|
description: Group Member Full username
|
|
552
565
|
type: string
|
|
566
|
+
userProfile:
|
|
567
|
+
description: Group Member userProfile
|
|
568
|
+
type: string
|
|
569
|
+
userRoleName:
|
|
570
|
+
description: Group Member userRoleName
|
|
571
|
+
type: string
|
|
572
|
+
userType:
|
|
573
|
+
description: User Member userType
|
|
574
|
+
type: string
|
|
553
575
|
UserOrGroupRepresentation:
|
|
554
576
|
description: Representation of user or group with whom an object can be shared.
|
|
555
577
|
type: object
|