@salesforce/lds-adapters-platform-sharing 1.282.0 → 1.284.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/src/raml/api.raml CHANGED
@@ -522,6 +522,33 @@ types:
522
522
  type: array
523
523
  items:
524
524
  type: UserOrGroupRepresentation
525
+ UserPermissionInfoRepresentation:
526
+ description: Output representation of a User Permission for the Access Summaries
527
+ UI
528
+ type: object
529
+ properties:
530
+ userPermApiName:
531
+ description: The user permission's apiName
532
+ type: string
533
+ userPermDescription:
534
+ description: The user permission's description
535
+ type: string
536
+ userPermLabel:
537
+ description: The user permission's label
538
+ type: string
539
+ UserPermissionsInfoListRepresentation:
540
+ type: object
541
+ description: Output representation of User Permissions to be shared on Access
542
+ Summaries UI
543
+ properties:
544
+ size:
545
+ description: Number of User Permissions
546
+ type: integer
547
+ userPermissions:
548
+ description: List of User Permissions
549
+ type: array
550
+ items:
551
+ type: UserPermissionInfoRepresentation
525
552
  /sharing:
526
553
  /groups-for-user/{userId}/{groupType}:
527
554
  get:
@@ -540,6 +567,12 @@ types:
540
567
  offset:
541
568
  type: integer
542
569
  required: false
570
+ sortBy:
571
+ type: string
572
+ required: false
573
+ sortOrder:
574
+ type: string
575
+ required: false
543
576
  uriParameters:
544
577
  groupType:
545
578
  type: string
@@ -744,3 +777,20 @@ types:
744
777
  recordId:
745
778
  type: string
746
779
  required: true
780
+ /userPermissions:
781
+ get:
782
+ displayName: getUserPermissions
783
+ description: Api to fetch user permissions
784
+ responses:
785
+ '200':
786
+ description: Success
787
+ body:
788
+ application/json:
789
+ type: UserPermissionsInfoListRepresentation
790
+ queryParameters:
791
+ entityName:
792
+ type: string
793
+ required: true
794
+ recordId:
795
+ type: string
796
+ required: true
@@ -16,6 +16,9 @@ types:
16
16
  SobjectsOutputSharingRepresentation:
17
17
  (luvio.ttl): 900000
18
18
 
19
+ UserPermissionsInfoListRepresentation:
20
+ (luvio.ttl): 600000
21
+
19
22
  /sharing:
20
23
  /publicGroupsSummary:
21
24
  post:
@@ -33,6 +36,12 @@ types:
33
36
  offset:
34
37
  type: integer
35
38
  required: false
39
+ sortBy:
40
+ type: string
41
+ required: false
42
+ sortOrder:
43
+ type: string
44
+ required: false
36
45
  uriParameters:
37
46
  groupType:
38
47
  type: string
@@ -54,3 +63,14 @@ types:
54
63
  searchText:
55
64
  type: string
56
65
  required: false
66
+ /userPermissions:
67
+ get:
68
+ (luvio.adapter):
69
+ name: getUserPermissions
70
+ queryParameters:
71
+ entityName:
72
+ type: string
73
+ required: true
74
+ recordId:
75
+ type: string
76
+ required: true