@salesforce/lds-adapters-platform-sharing 1.283.0 → 1.285.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 +537 -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/PublicGroupRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/QueueRepresentation.d.ts +4 -1
- 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 +557 -220
- package/src/raml/api.raml +50 -0
- package/src/raml/luvio.raml +14 -0
package/src/raml/api.raml
CHANGED
|
@@ -111,6 +111,9 @@ types:
|
|
|
111
111
|
developerName:
|
|
112
112
|
description: The API name of the Public Group.
|
|
113
113
|
type: string
|
|
114
|
+
groupId:
|
|
115
|
+
description: The Id of the Public Group.
|
|
116
|
+
type: string
|
|
114
117
|
includeBosses:
|
|
115
118
|
description: The Grant Access Using Hierarchy status of the Public Group.
|
|
116
119
|
type: boolean
|
|
@@ -182,6 +185,9 @@ types:
|
|
|
182
185
|
name:
|
|
183
186
|
description: The name of the Queue.
|
|
184
187
|
type: string
|
|
188
|
+
queueId:
|
|
189
|
+
description: The Id of the queue.
|
|
190
|
+
type: string
|
|
185
191
|
RecordAccessDetailRepresentation:
|
|
186
192
|
description: Representation of a record access detail.
|
|
187
193
|
type: object
|
|
@@ -522,6 +528,33 @@ types:
|
|
|
522
528
|
type: array
|
|
523
529
|
items:
|
|
524
530
|
type: UserOrGroupRepresentation
|
|
531
|
+
UserPermissionInfoRepresentation:
|
|
532
|
+
description: Output representation of a User Permission for the Access Summaries
|
|
533
|
+
UI
|
|
534
|
+
type: object
|
|
535
|
+
properties:
|
|
536
|
+
userPermApiName:
|
|
537
|
+
description: The user permission's apiName
|
|
538
|
+
type: string
|
|
539
|
+
userPermDescription:
|
|
540
|
+
description: The user permission's description
|
|
541
|
+
type: string
|
|
542
|
+
userPermLabel:
|
|
543
|
+
description: The user permission's label
|
|
544
|
+
type: string
|
|
545
|
+
UserPermissionsInfoListRepresentation:
|
|
546
|
+
type: object
|
|
547
|
+
description: Output representation of User Permissions to be shared on Access
|
|
548
|
+
Summaries UI
|
|
549
|
+
properties:
|
|
550
|
+
size:
|
|
551
|
+
description: Number of User Permissions
|
|
552
|
+
type: integer
|
|
553
|
+
userPermissions:
|
|
554
|
+
description: List of User Permissions
|
|
555
|
+
type: array
|
|
556
|
+
items:
|
|
557
|
+
type: UserPermissionInfoRepresentation
|
|
525
558
|
/sharing:
|
|
526
559
|
/groups-for-user/{userId}/{groupType}:
|
|
527
560
|
get:
|
|
@@ -750,3 +783,20 @@ types:
|
|
|
750
783
|
recordId:
|
|
751
784
|
type: string
|
|
752
785
|
required: true
|
|
786
|
+
/userPermissions:
|
|
787
|
+
get:
|
|
788
|
+
displayName: getUserPermissions
|
|
789
|
+
description: Api to fetch user permissions
|
|
790
|
+
responses:
|
|
791
|
+
'200':
|
|
792
|
+
description: Success
|
|
793
|
+
body:
|
|
794
|
+
application/json:
|
|
795
|
+
type: UserPermissionsInfoListRepresentation
|
|
796
|
+
queryParameters:
|
|
797
|
+
entityName:
|
|
798
|
+
type: string
|
|
799
|
+
required: true
|
|
800
|
+
recordId:
|
|
801
|
+
type: string
|
|
802
|
+
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
|