@salesforce/lds-adapters-platform-sharing 1.344.0 → 1.345.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 +332 -61
- package/dist/es/es2018/types/src/generated/adapters/addRemoveUserToGroups.d.ts +30 -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/postSharingAddRemoveUserToGroups.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/UserGroupMembershipDetailsInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/UserGroupMembershipDetailsRepresentation.d.ts +38 -0
- package/package.json +3 -3
- package/sfdc/index.js +301 -18
- package/src/raml/api.raml +53 -0
- package/src/raml/luvio.raml +7 -0
package/src/raml/api.raml
CHANGED
|
@@ -178,6 +178,27 @@ types:
|
|
|
178
178
|
type: array
|
|
179
179
|
items:
|
|
180
180
|
type: string
|
|
181
|
+
UserGroupMembershipDetailsRepresentation:
|
|
182
|
+
description: Output format for all types of data generated by this API.
|
|
183
|
+
type: object
|
|
184
|
+
properties:
|
|
185
|
+
isSuccess:
|
|
186
|
+
description: API Status.
|
|
187
|
+
type: boolean
|
|
188
|
+
operation:
|
|
189
|
+
description: Api Operation. Supported operations are AddMembers, DeleteMembers.
|
|
190
|
+
type: string
|
|
191
|
+
errors:
|
|
192
|
+
description: API execution error, if encountered during processing.
|
|
193
|
+
type: array
|
|
194
|
+
items:
|
|
195
|
+
type: string
|
|
196
|
+
infos:
|
|
197
|
+
description: Api execution information.
|
|
198
|
+
type: array
|
|
199
|
+
items:
|
|
200
|
+
type: string
|
|
201
|
+
|
|
181
202
|
PublicGroupMembershipDetailsRepresentation:
|
|
182
203
|
description: Parent output representation for all form of data emitted by this
|
|
183
204
|
API
|
|
@@ -247,6 +268,24 @@ types:
|
|
|
247
268
|
createdDate:
|
|
248
269
|
description: The date when the public group was created.
|
|
249
270
|
type: string
|
|
271
|
+
UserGroupMembershipDetailsInputRepresentation:
|
|
272
|
+
description: Input representation for Adding Removing Membership from Group resource
|
|
273
|
+
type: object
|
|
274
|
+
properties:
|
|
275
|
+
userId:
|
|
276
|
+
description: A user ID on which operations to add or remove from groups and queues will be executed.
|
|
277
|
+
type: string
|
|
278
|
+
memberType:
|
|
279
|
+
description: This property specifies the type of group resource on which the operation should be performed.
|
|
280
|
+
type: string
|
|
281
|
+
operation:
|
|
282
|
+
description: This denotes either the AddMembers or DeleteMembers operation. Depending on the operation type, the user will be added to or removed from the specified set of groups.
|
|
283
|
+
type: string
|
|
284
|
+
selectedGroups:
|
|
285
|
+
description: List of group record ids.
|
|
286
|
+
type: array
|
|
287
|
+
items:
|
|
288
|
+
type: string
|
|
250
289
|
PublicGroupSummaryInputRepresentation:
|
|
251
290
|
description: Input representation for public group summary.
|
|
252
291
|
type: object
|
|
@@ -832,6 +871,20 @@ types:
|
|
|
832
871
|
userId:
|
|
833
872
|
type: string
|
|
834
873
|
required: true
|
|
874
|
+
/addRemoveUserToGroups:
|
|
875
|
+
post:
|
|
876
|
+
displayName: postAddRemoveGroupMembership
|
|
877
|
+
description: Add/Remove the user to/from the groups/queues based on filter criteria
|
|
878
|
+
responses:
|
|
879
|
+
'200':
|
|
880
|
+
description: Success
|
|
881
|
+
body:
|
|
882
|
+
application/json:
|
|
883
|
+
type: UserGroupMembershipDetailsRepresentation
|
|
884
|
+
body:
|
|
885
|
+
application/json:
|
|
886
|
+
type: UserGroupMembershipDetailsInputRepresentation
|
|
887
|
+
(oas-body-name): userGroupsDetailsParams
|
|
835
888
|
/publicGroupsDetails:
|
|
836
889
|
post:
|
|
837
890
|
displayName: postPublicGroupMembershipDetails
|
package/src/raml/luvio.raml
CHANGED
|
@@ -22,6 +22,8 @@ types:
|
|
|
22
22
|
PublicGroupMembershipDetailsRepresentation:
|
|
23
23
|
(luvio.ttl): 300
|
|
24
24
|
|
|
25
|
+
UserGroupMembershipDetailsRepresentation:
|
|
26
|
+
(luvio.ttl): 300
|
|
25
27
|
/sharing:
|
|
26
28
|
/publicGroupsSummary:
|
|
27
29
|
post:
|
|
@@ -85,3 +87,8 @@ types:
|
|
|
85
87
|
(luvio.adapter):
|
|
86
88
|
name: getPublicGroupMembershipDetails
|
|
87
89
|
(luvio.method): get
|
|
90
|
+
/addRemoveUserToGroups:
|
|
91
|
+
post:
|
|
92
|
+
(luvio.adapter):
|
|
93
|
+
name: addRemoveUserToGroups
|
|
94
|
+
(luvio.method): get
|