@salesforce/lds-adapters-platform-sharing 1.424.0 → 1.426.1
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 +577 -64
- package/dist/es/es2018/types/src/generated/adapters/compareUserAssignments.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/postSharingCompareUserAssignments.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/types/CompareUserAssignmentsInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/CompareUserAssignmentsRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupAssignmentComparisonRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/QueueAssignmentComparisonRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/UserAssignmentRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +566 -41
- package/src/raml/api.raml +107 -0
- package/src/raml/luvio.raml +8 -0
package/src/raml/api.raml
CHANGED
|
@@ -763,6 +763,99 @@ types:
|
|
|
763
763
|
userType:
|
|
764
764
|
description: User Member userType
|
|
765
765
|
type: string
|
|
766
|
+
CompareUserAssignmentsInputRepresentation:
|
|
767
|
+
description: Input representation for comparing user assignments across entities.
|
|
768
|
+
type: object
|
|
769
|
+
properties:
|
|
770
|
+
userIds:
|
|
771
|
+
description: User IDs to compare. Minimum 2.
|
|
772
|
+
type: array
|
|
773
|
+
items:
|
|
774
|
+
type: string
|
|
775
|
+
entityType:
|
|
776
|
+
description: Entity type to compare (PublicGroup, Queue).
|
|
777
|
+
type: string
|
|
778
|
+
limit:
|
|
779
|
+
description: Maximum rows to return.
|
|
780
|
+
type: integer
|
|
781
|
+
offset:
|
|
782
|
+
description: Number of rows to skip.
|
|
783
|
+
type: integer
|
|
784
|
+
sortBy:
|
|
785
|
+
description: Column to sort by (entityLabel, entityName).
|
|
786
|
+
type: string
|
|
787
|
+
sortOrder:
|
|
788
|
+
description: ASC or DESC.
|
|
789
|
+
type: string
|
|
790
|
+
searchTerm:
|
|
791
|
+
description: Filter entities by name/label (LIKE match).
|
|
792
|
+
type: string
|
|
793
|
+
showOnlyDifferences:
|
|
794
|
+
description: If true, only return entities where assignments differ.
|
|
795
|
+
type: boolean
|
|
796
|
+
CompareUserAssignmentsRepresentation:
|
|
797
|
+
description: Representation of user assignment comparison results.
|
|
798
|
+
type: object
|
|
799
|
+
properties:
|
|
800
|
+
entityType:
|
|
801
|
+
description: The entity type used for comparison.
|
|
802
|
+
type: string
|
|
803
|
+
publicGroupAssignments:
|
|
804
|
+
description: Populated when entityType is PublicGroup.
|
|
805
|
+
type: array
|
|
806
|
+
items:
|
|
807
|
+
type: PublicGroupAssignmentComparisonRepresentation
|
|
808
|
+
queueAssignments:
|
|
809
|
+
description: Populated when entityType is Queue.
|
|
810
|
+
type: array
|
|
811
|
+
items:
|
|
812
|
+
type: QueueAssignmentComparisonRepresentation
|
|
813
|
+
PublicGroupAssignmentComparisonRepresentation:
|
|
814
|
+
description: Public group assignment comparison representation.
|
|
815
|
+
type: object
|
|
816
|
+
properties:
|
|
817
|
+
entityId:
|
|
818
|
+
description: ID of the entity.
|
|
819
|
+
type: string
|
|
820
|
+
entityLabel:
|
|
821
|
+
description: Display label.
|
|
822
|
+
type: string
|
|
823
|
+
entityName:
|
|
824
|
+
description: API/developer name.
|
|
825
|
+
type: string
|
|
826
|
+
userAssignments:
|
|
827
|
+
description: Per-user assignment status.
|
|
828
|
+
type: array
|
|
829
|
+
items:
|
|
830
|
+
type: UserAssignmentRepresentation
|
|
831
|
+
QueueAssignmentComparisonRepresentation:
|
|
832
|
+
description: Queue assignment comparison representation.
|
|
833
|
+
type: object
|
|
834
|
+
properties:
|
|
835
|
+
entityId:
|
|
836
|
+
description: ID of the entity.
|
|
837
|
+
type: string
|
|
838
|
+
entityLabel:
|
|
839
|
+
description: Display label.
|
|
840
|
+
type: string
|
|
841
|
+
entityName:
|
|
842
|
+
description: API/developer name.
|
|
843
|
+
type: string
|
|
844
|
+
userAssignments:
|
|
845
|
+
description: Per-user assignment status.
|
|
846
|
+
type: array
|
|
847
|
+
items:
|
|
848
|
+
type: UserAssignmentRepresentation
|
|
849
|
+
UserAssignmentRepresentation:
|
|
850
|
+
description: Representation of a user's assignment status for an entity.
|
|
851
|
+
type: object
|
|
852
|
+
properties:
|
|
853
|
+
userId:
|
|
854
|
+
description: User ID.
|
|
855
|
+
type: string
|
|
856
|
+
assigned:
|
|
857
|
+
description: Whether the user is assigned.
|
|
858
|
+
type: boolean
|
|
766
859
|
UserOrGroupRepresentation:
|
|
767
860
|
description: Representation of user or group with whom an object can be shared.
|
|
768
861
|
type: object
|
|
@@ -928,6 +1021,20 @@ types:
|
|
|
928
1021
|
userId:
|
|
929
1022
|
type: string
|
|
930
1023
|
required: true
|
|
1024
|
+
/compareUserAssignments:
|
|
1025
|
+
post:
|
|
1026
|
+
displayName: postCompareUserAssignments
|
|
1027
|
+
description: Compare user assignments across groups or queues
|
|
1028
|
+
responses:
|
|
1029
|
+
'200':
|
|
1030
|
+
description: Success
|
|
1031
|
+
body:
|
|
1032
|
+
application/json:
|
|
1033
|
+
type: CompareUserAssignmentsRepresentation
|
|
1034
|
+
body:
|
|
1035
|
+
application/json:
|
|
1036
|
+
type: CompareUserAssignmentsInputRepresentation
|
|
1037
|
+
(oas-body-name): compareUserAssignments
|
|
931
1038
|
/addRemoveUserToGroups:
|
|
932
1039
|
post:
|
|
933
1040
|
displayName: postAddRemoveGroupMembership
|
package/src/raml/luvio.raml
CHANGED
|
@@ -13,6 +13,9 @@ types:
|
|
|
13
13
|
GroupCollectionRepresentation:
|
|
14
14
|
(luvio.ttl): 300
|
|
15
15
|
|
|
16
|
+
CompareUserAssignmentsRepresentation:
|
|
17
|
+
(luvio.ttl): 300
|
|
18
|
+
|
|
16
19
|
SobjectsOutputSharingRepresentation:
|
|
17
20
|
(luvio.ttl): 900000
|
|
18
21
|
|
|
@@ -60,6 +63,11 @@ types:
|
|
|
60
63
|
userId:
|
|
61
64
|
type: string
|
|
62
65
|
required: true
|
|
66
|
+
/compareUserAssignments:
|
|
67
|
+
post:
|
|
68
|
+
(luvio.adapter):
|
|
69
|
+
name: compareUserAssignments
|
|
70
|
+
(luvio.method): get
|
|
63
71
|
/sobjects:
|
|
64
72
|
get:
|
|
65
73
|
(luvio.adapter):
|