@salesforce/lds-adapters-platform-sharing 1.283.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/dist/es/es2018/platform-sharing.js +509 -212
- package/dist/es/es2018/types/src/generated/adapters/getUserPermissions.d.ts +28 -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/getSharingUserPermissions.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/UserPermissionInfoRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/UserPermissionsInfoListRepresentation.d.ts +33 -0
- package/package.json +3 -3
- package/sfdc/index.js +529 -220
- package/src/raml/api.raml +44 -0
- package/src/raml/luvio.raml +14 -0
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:
|
|
@@ -750,3 +777,20 @@ types:
|
|
|
750
777
|
recordId:
|
|
751
778
|
type: string
|
|
752
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
|
package/src/raml/luvio.raml
CHANGED
|
@@ -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:
|
|
@@ -60,3 +63,14 @@ types:
|
|
|
60
63
|
searchText:
|
|
61
64
|
type: string
|
|
62
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
|