@salesforce/lds-adapters-platform-sharing 1.289.0 → 1.291.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 +391 -60
- package/dist/es/es2018/types/src/generated/adapters/getPublicGroupMembershipDetails.d.ts +32 -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/postSharingPublicGroupsDetails.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/types/FilterCriteriaInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/UserMembersInPublicGroupRepresentation.d.ts +43 -0
- package/package.json +3 -3
- package/sfdc/index.js +471 -128
- package/src/raml/api.raml +104 -26
- package/src/raml/luvio.raml +8 -0
package/src/raml/api.raml
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
securedBy:
|
|
3
3
|
- OAuth2
|
|
4
4
|
title: Salesforce Connect API
|
|
5
|
-
version: '
|
|
5
|
+
version: '62.0'
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v62.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -58,6 +58,16 @@ types:
|
|
|
58
58
|
objectLabel:
|
|
59
59
|
description: The user's access level to this object
|
|
60
60
|
type: string
|
|
61
|
+
FilterCriteriaInputRepresentation:
|
|
62
|
+
description: Input representation for Filter Criteria.
|
|
63
|
+
type: object
|
|
64
|
+
properties:
|
|
65
|
+
isMemberOfGroup:
|
|
66
|
+
description: Filter with isMemberOfGroup param
|
|
67
|
+
type: boolean
|
|
68
|
+
memberType:
|
|
69
|
+
description: Member Type
|
|
70
|
+
type: string
|
|
61
71
|
GroupCollectionRepresentation:
|
|
62
72
|
description: Representation of a collection of Groups that includes Queues and
|
|
63
73
|
Public Group Types.
|
|
@@ -103,6 +113,38 @@ types:
|
|
|
103
113
|
label:
|
|
104
114
|
description: List view label.
|
|
105
115
|
type: string
|
|
116
|
+
PublicGroupMembershipDetailsInputRepresentation:
|
|
117
|
+
description: Input representation for public group membership details.
|
|
118
|
+
type: object
|
|
119
|
+
properties:
|
|
120
|
+
filterCriteria:
|
|
121
|
+
description: Filter Criteria with which data is fetched
|
|
122
|
+
type: any
|
|
123
|
+
groupId:
|
|
124
|
+
description: The group id for which data needs to be fetched
|
|
125
|
+
type: string
|
|
126
|
+
limit:
|
|
127
|
+
description: Limit param
|
|
128
|
+
type: integer
|
|
129
|
+
offset:
|
|
130
|
+
description: Offset param
|
|
131
|
+
type: integer
|
|
132
|
+
orderBy:
|
|
133
|
+
description: Sorts by given order by clause
|
|
134
|
+
type: string
|
|
135
|
+
orderType:
|
|
136
|
+
description: Orders the records in asc/desc
|
|
137
|
+
type: string
|
|
138
|
+
PublicGroupMembershipDetailsRepresentation:
|
|
139
|
+
description: Parent output representation for all form of data emitted by this
|
|
140
|
+
API
|
|
141
|
+
type: object
|
|
142
|
+
properties:
|
|
143
|
+
listUsers:
|
|
144
|
+
description: Output response data for Users
|
|
145
|
+
type: array
|
|
146
|
+
items:
|
|
147
|
+
type: UserMembersInPublicGroupRepresentation
|
|
106
148
|
PublicGroupRepresentation:
|
|
107
149
|
description: Output representation of an instance of a PublicGroup for a given
|
|
108
150
|
user.
|
|
@@ -454,6 +496,28 @@ types:
|
|
|
454
496
|
type: array
|
|
455
497
|
items:
|
|
456
498
|
type: string
|
|
499
|
+
UserMembersInPublicGroupRepresentation:
|
|
500
|
+
description: User Members in Public Group Representation
|
|
501
|
+
type: object
|
|
502
|
+
properties:
|
|
503
|
+
alias:
|
|
504
|
+
description: Group Member alias
|
|
505
|
+
type: string
|
|
506
|
+
name:
|
|
507
|
+
description: Group Member Full username
|
|
508
|
+
type: string
|
|
509
|
+
profile:
|
|
510
|
+
description: Group Member Profile
|
|
511
|
+
type: string
|
|
512
|
+
role:
|
|
513
|
+
description: Group Member User Role
|
|
514
|
+
type: string
|
|
515
|
+
status:
|
|
516
|
+
description: Group Member Status
|
|
517
|
+
type: boolean
|
|
518
|
+
username:
|
|
519
|
+
description: Group Member Full username
|
|
520
|
+
type: string
|
|
457
521
|
UserOrGroupRepresentation:
|
|
458
522
|
description: Representation of user or group with whom an object can be shared.
|
|
459
523
|
type: object
|
|
@@ -519,15 +583,6 @@ types:
|
|
|
519
583
|
type: array
|
|
520
584
|
items:
|
|
521
585
|
type: UserOrGroupTypeRepresentation
|
|
522
|
-
UsersOrGroupsCollectionRepresentation:
|
|
523
|
-
description: Representation of a collection of users and/or groups.
|
|
524
|
-
type: object
|
|
525
|
-
properties:
|
|
526
|
-
usersOrGroups:
|
|
527
|
-
description: The list of users and/or groups.
|
|
528
|
-
type: array
|
|
529
|
-
items:
|
|
530
|
-
type: UserOrGroupRepresentation
|
|
531
586
|
UserPermissionInfoRepresentation:
|
|
532
587
|
description: Output representation of a User Permission for the Access Summaries
|
|
533
588
|
UI
|
|
@@ -543,9 +598,9 @@ types:
|
|
|
543
598
|
description: The user permission's label
|
|
544
599
|
type: string
|
|
545
600
|
UserPermissionsInfoListRepresentation:
|
|
546
|
-
type: object
|
|
547
601
|
description: Output representation of User Permissions to be shared on Access
|
|
548
602
|
Summaries UI
|
|
603
|
+
type: object
|
|
549
604
|
properties:
|
|
550
605
|
size:
|
|
551
606
|
description: Number of User Permissions
|
|
@@ -555,6 +610,15 @@ types:
|
|
|
555
610
|
type: array
|
|
556
611
|
items:
|
|
557
612
|
type: UserPermissionInfoRepresentation
|
|
613
|
+
UsersOrGroupsCollectionRepresentation:
|
|
614
|
+
description: Representation of a collection of users and/or groups.
|
|
615
|
+
type: object
|
|
616
|
+
properties:
|
|
617
|
+
usersOrGroups:
|
|
618
|
+
description: The list of users and/or groups.
|
|
619
|
+
type: array
|
|
620
|
+
items:
|
|
621
|
+
type: UserOrGroupRepresentation
|
|
558
622
|
/sharing:
|
|
559
623
|
/groups-for-user/{userId}/{groupType}:
|
|
560
624
|
get:
|
|
@@ -589,6 +653,20 @@ types:
|
|
|
589
653
|
userId:
|
|
590
654
|
type: string
|
|
591
655
|
required: true
|
|
656
|
+
/publicGroupsDetails:
|
|
657
|
+
post:
|
|
658
|
+
displayName: postPublicGroupMembershipDetails
|
|
659
|
+
description: Gets the for public groups details based on filter criteria
|
|
660
|
+
responses:
|
|
661
|
+
'200':
|
|
662
|
+
description: Success
|
|
663
|
+
body:
|
|
664
|
+
application/json:
|
|
665
|
+
type: PublicGroupMembershipDetailsRepresentation
|
|
666
|
+
body:
|
|
667
|
+
application/json:
|
|
668
|
+
type: PublicGroupMembershipDetailsInputRepresentation
|
|
669
|
+
(oas-body-name): publicGroupsDetailsParams
|
|
592
670
|
/publicGroupsSummary:
|
|
593
671
|
post:
|
|
594
672
|
displayName: postPublicGroupSummary
|
|
@@ -703,6 +781,20 @@ types:
|
|
|
703
781
|
body:
|
|
704
782
|
application/json:
|
|
705
783
|
type: UserOrGroupTypesCollectionRepresentation
|
|
784
|
+
/userPermissions:
|
|
785
|
+
get:
|
|
786
|
+
displayName: getUserPermissions
|
|
787
|
+
description: Api to fetch user permissions
|
|
788
|
+
responses:
|
|
789
|
+
'200':
|
|
790
|
+
description: Success
|
|
791
|
+
body:
|
|
792
|
+
application/json:
|
|
793
|
+
type: UserPermissionsInfoListRepresentation
|
|
794
|
+
queryParameters:
|
|
795
|
+
recordId:
|
|
796
|
+
type: string
|
|
797
|
+
required: true
|
|
706
798
|
/users-or-groups:
|
|
707
799
|
get:
|
|
708
800
|
displayName: getUsersOrGroupsCollection
|
|
@@ -783,17 +875,3 @@ types:
|
|
|
783
875
|
recordId:
|
|
784
876
|
type: string
|
|
785
877
|
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
|
-
recordId:
|
|
798
|
-
type: string
|
|
799
|
-
required: true
|
package/src/raml/luvio.raml
CHANGED
|
@@ -19,6 +19,9 @@ types:
|
|
|
19
19
|
UserPermissionsInfoListRepresentation:
|
|
20
20
|
(luvio.ttl): 300
|
|
21
21
|
|
|
22
|
+
PublicGroupMembershipDetailsRepresentation:
|
|
23
|
+
(luvio.ttl): 300
|
|
24
|
+
|
|
22
25
|
/sharing:
|
|
23
26
|
/publicGroupsSummary:
|
|
24
27
|
post:
|
|
@@ -71,3 +74,8 @@ types:
|
|
|
71
74
|
recordId:
|
|
72
75
|
type: string
|
|
73
76
|
required: true
|
|
77
|
+
/publicGroupsDetails:
|
|
78
|
+
post:
|
|
79
|
+
(luvio.adapter):
|
|
80
|
+
name: getPublicGroupMembershipDetails
|
|
81
|
+
(luvio.method): get
|