@salesforce/lds-adapters-platform-sharing 1.279.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/LICENSE.txt +82 -0
- package/dist/es/es2018/platform-sharing.js +1215 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getGroupsForUser.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getPublicGroupShareData.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingGroupsForUserByGroupTypeAndUserId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingRecordAccessDetailByRecordIdAndUserId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingRulesByEntityApiName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingShareAccessLevels.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingShareAccessLevelsByObjectApiName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingUserAccessLevelsByRecordId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingUserOrGroupTypes.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingUsersOrGroups.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postSharingPublicGroupsSummary.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/AccessLevelFieldRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AccessLevelRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/GroupCollectionRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/IncludedGroupsSharingRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ListViewGroupSharingRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupSummaryInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupSummaryRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/QueueRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RecordAccessDetailRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/RecordUserAccessCollectionRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/RecordUserAccessRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ReportAndDashboardFolderGroupSharingRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ShareAccessLevelRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ShareRelationshipArrayRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ShareRelationshipCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ShareRelationshipRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SharingReasonRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SharingRuleCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SharingRuleRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/SharingRulesCriteriaGroupSharingRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SharingRulesOwnerGroupSharingRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SupportedObjectListRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/UserOrGroupRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/UserOrGroupTypeRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/UserOrGroupTypesCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/UsersOrGroupsCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1261 -0
- package/src/raml/api.raml +689 -0
- package/src/raml/luvio.raml +39 -0
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '61.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v61.0
|
|
10
|
+
securitySchemes:
|
|
11
|
+
OAuth2:
|
|
12
|
+
type: OAuth 2.0
|
|
13
|
+
settings:
|
|
14
|
+
authorizationUri: https://example.com/oauth/authorize
|
|
15
|
+
accessTokenUri: ''
|
|
16
|
+
authorizationGrants:
|
|
17
|
+
- implicit
|
|
18
|
+
annotationTypes:
|
|
19
|
+
oas-readOnly:
|
|
20
|
+
type: boolean
|
|
21
|
+
allowedTargets: TypeDeclaration
|
|
22
|
+
oas-collectionFormat:
|
|
23
|
+
type: string
|
|
24
|
+
oas-body-name:
|
|
25
|
+
type: string
|
|
26
|
+
allowedTargets: TypeDeclaration
|
|
27
|
+
types:
|
|
28
|
+
AccessLevelFieldRepresentation:
|
|
29
|
+
description: Representation of an access level field.
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
entityAccessLevelLabel:
|
|
33
|
+
description: The entity access level label.
|
|
34
|
+
type: string
|
|
35
|
+
entityApiName:
|
|
36
|
+
description: The entity api name.
|
|
37
|
+
type: string
|
|
38
|
+
externalAccess:
|
|
39
|
+
description: The field external access level options.
|
|
40
|
+
type: array
|
|
41
|
+
items:
|
|
42
|
+
type: string
|
|
43
|
+
internalAccess:
|
|
44
|
+
description: The field internal access level options.
|
|
45
|
+
type: array
|
|
46
|
+
items:
|
|
47
|
+
type: string
|
|
48
|
+
AccessLevelRepresentation:
|
|
49
|
+
description: Representation of an Access Level for the Sharing Expand List Page
|
|
50
|
+
type: object
|
|
51
|
+
properties:
|
|
52
|
+
label:
|
|
53
|
+
description: The object access level label
|
|
54
|
+
type: string
|
|
55
|
+
objectApiName:
|
|
56
|
+
description: The object's apiName
|
|
57
|
+
type: string
|
|
58
|
+
objectLabel:
|
|
59
|
+
description: The user's access level to this object
|
|
60
|
+
type: string
|
|
61
|
+
GroupCollectionRepresentation:
|
|
62
|
+
description: Representation of a collection of Groups that includes Queues and
|
|
63
|
+
Public Group Types.
|
|
64
|
+
type: object
|
|
65
|
+
properties:
|
|
66
|
+
publicGroupRepresentations:
|
|
67
|
+
description: The list of Public Groups.
|
|
68
|
+
type: array
|
|
69
|
+
items:
|
|
70
|
+
type: PublicGroupRepresentation
|
|
71
|
+
queueRepresentations:
|
|
72
|
+
description: The list of Queues.
|
|
73
|
+
type: array
|
|
74
|
+
items:
|
|
75
|
+
type: QueueRepresentation
|
|
76
|
+
IncludedGroupsSharingRepresentation:
|
|
77
|
+
description: Output representation of included public groups where given group
|
|
78
|
+
is member
|
|
79
|
+
type: object
|
|
80
|
+
properties:
|
|
81
|
+
createdBy:
|
|
82
|
+
description: Included Groups Created By.
|
|
83
|
+
type: string
|
|
84
|
+
createdOn:
|
|
85
|
+
description: Included Groups Created Timestamp
|
|
86
|
+
type: string
|
|
87
|
+
developerName:
|
|
88
|
+
description: Included Groups Developer name.
|
|
89
|
+
type: string
|
|
90
|
+
grantAccessHierarchies:
|
|
91
|
+
description: Information for Grant Access Using Hierarchies
|
|
92
|
+
type: boolean
|
|
93
|
+
label:
|
|
94
|
+
description: Group label.
|
|
95
|
+
type: string
|
|
96
|
+
ListViewGroupSharingRepresentation:
|
|
97
|
+
description: Output representation of an list views shared with public group.
|
|
98
|
+
type: object
|
|
99
|
+
properties:
|
|
100
|
+
developerName:
|
|
101
|
+
description: List view developer name.
|
|
102
|
+
type: string
|
|
103
|
+
label:
|
|
104
|
+
description: List view label.
|
|
105
|
+
type: string
|
|
106
|
+
PublicGroupRepresentation:
|
|
107
|
+
description: Output representation of an instance of a PublicGroup for a given
|
|
108
|
+
user.
|
|
109
|
+
type: object
|
|
110
|
+
properties:
|
|
111
|
+
developerName:
|
|
112
|
+
description: The API name of the Public Group.
|
|
113
|
+
type: string
|
|
114
|
+
includeBosses:
|
|
115
|
+
description: The Grant Access Using Hierarchy status of the Public Group.
|
|
116
|
+
type: boolean
|
|
117
|
+
name:
|
|
118
|
+
description: The name of the Public Group.
|
|
119
|
+
type: string
|
|
120
|
+
PublicGroupSummaryInputRepresentation:
|
|
121
|
+
description: Input representation for public group summary.
|
|
122
|
+
type: object
|
|
123
|
+
properties:
|
|
124
|
+
entityKeyPrefix:
|
|
125
|
+
description: The entity key prefix
|
|
126
|
+
type: string
|
|
127
|
+
groupId:
|
|
128
|
+
description: The group id for which data needs to be fetched
|
|
129
|
+
type: string
|
|
130
|
+
limit:
|
|
131
|
+
description: Limit param
|
|
132
|
+
type: integer
|
|
133
|
+
offset:
|
|
134
|
+
description: Offset param
|
|
135
|
+
type: integer
|
|
136
|
+
operation:
|
|
137
|
+
description: Data required for which tab
|
|
138
|
+
type: string
|
|
139
|
+
PublicGroupSummaryRepresentation:
|
|
140
|
+
description: Parent output representation for all form of data emitted by this
|
|
141
|
+
API
|
|
142
|
+
type: object
|
|
143
|
+
properties:
|
|
144
|
+
includedGroupsSharing:
|
|
145
|
+
description: Included In Public Groups
|
|
146
|
+
type: array
|
|
147
|
+
items:
|
|
148
|
+
type: IncludedGroupsSharingRepresentation
|
|
149
|
+
listViewGroupSharing:
|
|
150
|
+
description: Output response data for list view tab
|
|
151
|
+
type: array
|
|
152
|
+
items:
|
|
153
|
+
type: ListViewGroupSharingRepresentation
|
|
154
|
+
reportAndDashboardFolderGroupSharing:
|
|
155
|
+
description: Report and Dashboard Folder shared with a group
|
|
156
|
+
type: array
|
|
157
|
+
items:
|
|
158
|
+
type: ReportAndDashboardFolderGroupSharingRepresentation
|
|
159
|
+
sharingRulesCriteriaGroupSharing:
|
|
160
|
+
description: Output response data for criteria based sharing rules tab
|
|
161
|
+
type: array
|
|
162
|
+
items:
|
|
163
|
+
type: SharingRulesCriteriaGroupSharingRepresentation
|
|
164
|
+
sharingRulesOwnerGroupSharing:
|
|
165
|
+
description: Output response data for owner based sharing rules tab
|
|
166
|
+
type: array
|
|
167
|
+
items:
|
|
168
|
+
type: SharingRulesOwnerGroupSharingRepresentation
|
|
169
|
+
QueueRepresentation:
|
|
170
|
+
description: Output representation of an instance of a Queue for a given user.
|
|
171
|
+
type: object
|
|
172
|
+
properties:
|
|
173
|
+
developerName:
|
|
174
|
+
description: The API name of the queue.
|
|
175
|
+
type: string
|
|
176
|
+
name:
|
|
177
|
+
description: The name of the Queue.
|
|
178
|
+
type: string
|
|
179
|
+
RecordAccessDetailRepresentation:
|
|
180
|
+
description: Representation of a record access detail.
|
|
181
|
+
type: object
|
|
182
|
+
properties:
|
|
183
|
+
recordId:
|
|
184
|
+
description: Unique identifier for record
|
|
185
|
+
type: string
|
|
186
|
+
sharingReasons:
|
|
187
|
+
description: List of sharing reasons
|
|
188
|
+
type: array
|
|
189
|
+
items:
|
|
190
|
+
type: SharingReasonRepresentation
|
|
191
|
+
userId:
|
|
192
|
+
description: Unique identifier for user
|
|
193
|
+
type: string
|
|
194
|
+
RecordUserAccessCollectionRepresentation:
|
|
195
|
+
description: Representation of a collection of record user accesses.
|
|
196
|
+
type: object
|
|
197
|
+
properties:
|
|
198
|
+
currentPageUrl:
|
|
199
|
+
description: URL to the current page of access.
|
|
200
|
+
type: string
|
|
201
|
+
nextPageUrl:
|
|
202
|
+
description: URL to the next page of access.
|
|
203
|
+
type: string
|
|
204
|
+
previousPageUrl:
|
|
205
|
+
description: URL to the previous page of access.
|
|
206
|
+
type: string
|
|
207
|
+
recordId:
|
|
208
|
+
description: Record Id
|
|
209
|
+
type: string
|
|
210
|
+
recordUserAccesses:
|
|
211
|
+
description: The list of user record accesses
|
|
212
|
+
type: array
|
|
213
|
+
items:
|
|
214
|
+
type: RecordUserAccessRepresentation
|
|
215
|
+
RecordUserAccessRepresentation:
|
|
216
|
+
description: Representation of a RecordUserAccess for the Sharing Expand List
|
|
217
|
+
Page
|
|
218
|
+
type: object
|
|
219
|
+
properties:
|
|
220
|
+
accessLevels:
|
|
221
|
+
description: A list of access levels the user has for this entity and related
|
|
222
|
+
entities
|
|
223
|
+
type: array
|
|
224
|
+
items:
|
|
225
|
+
type: AccessLevelRepresentation
|
|
226
|
+
user:
|
|
227
|
+
description: The user of this record user access
|
|
228
|
+
type: UserOrGroupRepresentation
|
|
229
|
+
ReportAndDashboardFolderGroupSharingRepresentation:
|
|
230
|
+
description: Output representation of report and dashboard folders shared with
|
|
231
|
+
a public group.
|
|
232
|
+
type: object
|
|
233
|
+
properties:
|
|
234
|
+
accessLevel:
|
|
235
|
+
description: Report and Dashboard Folder Access Level.
|
|
236
|
+
type: string
|
|
237
|
+
createdBy:
|
|
238
|
+
description: Report and Dashboard Folder Created By.
|
|
239
|
+
type: string
|
|
240
|
+
createdOn:
|
|
241
|
+
description: Report and Dashboard Folder Created Date.
|
|
242
|
+
type: string
|
|
243
|
+
developerName:
|
|
244
|
+
description: Report and Dashboard Folder Developer Name.
|
|
245
|
+
type: string
|
|
246
|
+
label:
|
|
247
|
+
description: Report and Dashboard Folder label.
|
|
248
|
+
type: string
|
|
249
|
+
type:
|
|
250
|
+
description: Report and Dashboard Folder type. It can be either 'Report' or
|
|
251
|
+
'Dashboard'.
|
|
252
|
+
type: string
|
|
253
|
+
ShareAccessLevelRepresentation:
|
|
254
|
+
description: Representation of a share access level per entity.
|
|
255
|
+
type: object
|
|
256
|
+
properties:
|
|
257
|
+
accessLevelFields:
|
|
258
|
+
description: The access level fields.
|
|
259
|
+
type: object
|
|
260
|
+
properties:
|
|
261
|
+
//:
|
|
262
|
+
type: AccessLevelFieldRepresentation
|
|
263
|
+
accessLevelOptions:
|
|
264
|
+
description: The access level options.
|
|
265
|
+
type: object
|
|
266
|
+
properties:
|
|
267
|
+
//:
|
|
268
|
+
type: string
|
|
269
|
+
ShareRelationshipArrayRepresentation:
|
|
270
|
+
description: Representation of a share relationship array.
|
|
271
|
+
type: object
|
|
272
|
+
properties:
|
|
273
|
+
path:
|
|
274
|
+
description: Share relationships array.
|
|
275
|
+
type: array
|
|
276
|
+
items:
|
|
277
|
+
type: ShareRelationshipRepresentation
|
|
278
|
+
ShareRelationshipCollectionRepresentation:
|
|
279
|
+
description: Representation of a share relationship collection.
|
|
280
|
+
type: object
|
|
281
|
+
properties:
|
|
282
|
+
relationships:
|
|
283
|
+
description: Share relationships.
|
|
284
|
+
type: array
|
|
285
|
+
items:
|
|
286
|
+
type: ShareRelationshipRepresentation
|
|
287
|
+
ShareRelationshipRepresentation:
|
|
288
|
+
description: Representation of a share relationship.
|
|
289
|
+
type: object
|
|
290
|
+
properties:
|
|
291
|
+
developerName:
|
|
292
|
+
description: Developer name.
|
|
293
|
+
type: string
|
|
294
|
+
id:
|
|
295
|
+
description: Id.
|
|
296
|
+
type: string
|
|
297
|
+
type:
|
|
298
|
+
description: Relationship type.
|
|
299
|
+
type: string
|
|
300
|
+
SharingReasonRepresentation:
|
|
301
|
+
description: Representation of a sharing reason.
|
|
302
|
+
type: object
|
|
303
|
+
properties:
|
|
304
|
+
accessLevel:
|
|
305
|
+
description: Level of Access.
|
|
306
|
+
type: string
|
|
307
|
+
reasonForAccess:
|
|
308
|
+
description: Reason for access.
|
|
309
|
+
type: string
|
|
310
|
+
relationship:
|
|
311
|
+
description: Relationship to the share recipient.
|
|
312
|
+
type: string
|
|
313
|
+
relationshipPaths:
|
|
314
|
+
description: Share relationship map.
|
|
315
|
+
type: array
|
|
316
|
+
items:
|
|
317
|
+
type: ShareRelationshipArrayRepresentation
|
|
318
|
+
shareRecipient:
|
|
319
|
+
description: Share recipient.
|
|
320
|
+
type: UserOrGroupRepresentation
|
|
321
|
+
SharingRuleCollectionRepresentation:
|
|
322
|
+
description: Representation of a collection of sharing rule.
|
|
323
|
+
type: object
|
|
324
|
+
properties:
|
|
325
|
+
sharingRuleRepresentations:
|
|
326
|
+
description: The list of sharing rules.
|
|
327
|
+
type: array
|
|
328
|
+
items:
|
|
329
|
+
type: SharingRuleRepresentation
|
|
330
|
+
SharingRuleRepresentation:
|
|
331
|
+
description: Output representation of an instance of a sharing rule for a given
|
|
332
|
+
entity.
|
|
333
|
+
type: object
|
|
334
|
+
properties:
|
|
335
|
+
caseChildAccessLevel:
|
|
336
|
+
description: The case child access level of the sharing rule, this field is
|
|
337
|
+
only available for the Account entity.
|
|
338
|
+
type: string
|
|
339
|
+
conChildAccessLevel:
|
|
340
|
+
description: The contact child access level of the sharing rule, this field
|
|
341
|
+
is only available for the Account entity.
|
|
342
|
+
type: string
|
|
343
|
+
description:
|
|
344
|
+
description: The description of the sharing rule.
|
|
345
|
+
type: string
|
|
346
|
+
id:
|
|
347
|
+
description: The id of the sharing rule.
|
|
348
|
+
type: string
|
|
349
|
+
label:
|
|
350
|
+
description: The label of the sharing rule.
|
|
351
|
+
type: string
|
|
352
|
+
mainAccessLevel:
|
|
353
|
+
description: The main access level of the sharing rule.
|
|
354
|
+
type: string
|
|
355
|
+
name:
|
|
356
|
+
description: The API name of the sharing rule.
|
|
357
|
+
type: string
|
|
358
|
+
oppChildAccessLevel:
|
|
359
|
+
description: The opportunity child access level of the sharing rule, this
|
|
360
|
+
field is only available for the Account entity.
|
|
361
|
+
type: string
|
|
362
|
+
ruleType:
|
|
363
|
+
description: Sharing rule type
|
|
364
|
+
type: string
|
|
365
|
+
enum:
|
|
366
|
+
- Criteria
|
|
367
|
+
- Owner
|
|
368
|
+
sharedFrom:
|
|
369
|
+
description: User Role or Group that this sharing rule will share from.
|
|
370
|
+
type: UserOrGroupRepresentation
|
|
371
|
+
sharedWith:
|
|
372
|
+
description: User Role or Group that this sharing rule will share with.
|
|
373
|
+
type: UserOrGroupRepresentation
|
|
374
|
+
SharingRulesCriteriaGroupSharingRepresentation:
|
|
375
|
+
description: Output representation of criteria based sharing rules shared with
|
|
376
|
+
public group.
|
|
377
|
+
type: object
|
|
378
|
+
properties:
|
|
379
|
+
accessLevel:
|
|
380
|
+
description: Criteria Sharing Rule accessLevel.
|
|
381
|
+
type: string
|
|
382
|
+
criteria:
|
|
383
|
+
description: Sharing Rule criteria
|
|
384
|
+
type: string
|
|
385
|
+
developerName:
|
|
386
|
+
description: Criteria Sharing Rule developer name.
|
|
387
|
+
type: string
|
|
388
|
+
label:
|
|
389
|
+
description: Criteria Sharing Rule label.
|
|
390
|
+
type: string
|
|
391
|
+
SharingRulesOwnerGroupSharingRepresentation:
|
|
392
|
+
description: Output representation of owner based sharing rules shared with public
|
|
393
|
+
group.
|
|
394
|
+
type: object
|
|
395
|
+
properties:
|
|
396
|
+
accessLevel:
|
|
397
|
+
description: Owner Sharing Rule accesslevel.
|
|
398
|
+
type: string
|
|
399
|
+
developerName:
|
|
400
|
+
description: Owner Sharing Rule developer name.
|
|
401
|
+
type: string
|
|
402
|
+
label:
|
|
403
|
+
description: Owner Sharing Rule label.
|
|
404
|
+
type: string
|
|
405
|
+
sharedFrom:
|
|
406
|
+
description: Owner Sharing Rule shared from group.
|
|
407
|
+
type: string
|
|
408
|
+
SupportedObjectListRepresentation:
|
|
409
|
+
description: Representation of a list of supported objects
|
|
410
|
+
type: object
|
|
411
|
+
properties:
|
|
412
|
+
supportedObjectList:
|
|
413
|
+
description: The list of objects supported by the share-access-levels API.
|
|
414
|
+
type: array
|
|
415
|
+
items:
|
|
416
|
+
type: string
|
|
417
|
+
UserOrGroupRepresentation:
|
|
418
|
+
description: Representation of user or group with whom an object can be shared.
|
|
419
|
+
type: object
|
|
420
|
+
properties:
|
|
421
|
+
id:
|
|
422
|
+
description: Id of a user or group.
|
|
423
|
+
type: string
|
|
424
|
+
name:
|
|
425
|
+
description: Name of a user or group.
|
|
426
|
+
type: string
|
|
427
|
+
UserOrGroupTypeRepresentation:
|
|
428
|
+
description: Representation of an instance of a folder share recipient.
|
|
429
|
+
type: object
|
|
430
|
+
properties:
|
|
431
|
+
label:
|
|
432
|
+
description: The label of the user or group type.
|
|
433
|
+
type: string
|
|
434
|
+
sharingModelType:
|
|
435
|
+
description: The sharing model of user or group type
|
|
436
|
+
type: string
|
|
437
|
+
userOrGroupType:
|
|
438
|
+
description: The user or group type.
|
|
439
|
+
type: string
|
|
440
|
+
enum:
|
|
441
|
+
- AccountRelationshipGroup
|
|
442
|
+
- AllCustomerPortal
|
|
443
|
+
- ChannelProgramGroup
|
|
444
|
+
- CollaborationGroup
|
|
445
|
+
- CustomerPortalUser
|
|
446
|
+
- GuestUserGroup
|
|
447
|
+
- LicenseManagerUser
|
|
448
|
+
- LitePortalUserAccessGroup
|
|
449
|
+
- MLMyTeam
|
|
450
|
+
- Manager
|
|
451
|
+
- ManagerAndSubordinatesInternal
|
|
452
|
+
- Organization
|
|
453
|
+
- PRMOrganization
|
|
454
|
+
- PardotUserGroup
|
|
455
|
+
- PardotUserRestrictedGroup
|
|
456
|
+
- Participant
|
|
457
|
+
- PartnerNetworkConnection
|
|
458
|
+
- PartnerUser
|
|
459
|
+
- Personal
|
|
460
|
+
- PortalRoleAt
|
|
461
|
+
- PortalRoleDown
|
|
462
|
+
- Queue
|
|
463
|
+
- Regular
|
|
464
|
+
- Role
|
|
465
|
+
- RoleAndSubordinates
|
|
466
|
+
- RoleAndSubordinatesInternal
|
|
467
|
+
- SharingRecordCollGroup
|
|
468
|
+
- SharingRuleGroup
|
|
469
|
+
- Sites
|
|
470
|
+
- Territory
|
|
471
|
+
- TerritoryAndSubordinates
|
|
472
|
+
- User
|
|
473
|
+
UserOrGroupTypesCollectionRepresentation:
|
|
474
|
+
description: Representation of a collection of user or group types.
|
|
475
|
+
type: object
|
|
476
|
+
properties:
|
|
477
|
+
userOrGroupTypes:
|
|
478
|
+
description: The list of user or group types.
|
|
479
|
+
type: array
|
|
480
|
+
items:
|
|
481
|
+
type: UserOrGroupTypeRepresentation
|
|
482
|
+
UsersOrGroupsCollectionRepresentation:
|
|
483
|
+
description: Representation of a collection of users and/or groups.
|
|
484
|
+
type: object
|
|
485
|
+
properties:
|
|
486
|
+
usersOrGroups:
|
|
487
|
+
description: The list of users and/or groups.
|
|
488
|
+
type: array
|
|
489
|
+
items:
|
|
490
|
+
type: UserOrGroupRepresentation
|
|
491
|
+
/sharing:
|
|
492
|
+
/groups-for-user/{userId}/{groupType}:
|
|
493
|
+
get:
|
|
494
|
+
displayName: getGroup
|
|
495
|
+
description: Get the collection of groups
|
|
496
|
+
responses:
|
|
497
|
+
'200':
|
|
498
|
+
description: Success
|
|
499
|
+
body:
|
|
500
|
+
application/json:
|
|
501
|
+
type: GroupCollectionRepresentation
|
|
502
|
+
queryParameters:
|
|
503
|
+
limit:
|
|
504
|
+
type: integer
|
|
505
|
+
required: false
|
|
506
|
+
offset:
|
|
507
|
+
type: integer
|
|
508
|
+
required: false
|
|
509
|
+
uriParameters:
|
|
510
|
+
groupType:
|
|
511
|
+
type: string
|
|
512
|
+
required: true
|
|
513
|
+
userId:
|
|
514
|
+
type: string
|
|
515
|
+
required: true
|
|
516
|
+
/publicGroupsSummary:
|
|
517
|
+
post:
|
|
518
|
+
displayName: postPublicGroupSummary
|
|
519
|
+
description: Gets the for public groups summary based on operation type
|
|
520
|
+
responses:
|
|
521
|
+
'200':
|
|
522
|
+
description: Success
|
|
523
|
+
body:
|
|
524
|
+
application/json:
|
|
525
|
+
type: PublicGroupSummaryRepresentation
|
|
526
|
+
body:
|
|
527
|
+
application/json:
|
|
528
|
+
type: PublicGroupSummaryInputRepresentation
|
|
529
|
+
(oas-body-name): publicGroup
|
|
530
|
+
/record-access-detail/{recordId}/{userId}:
|
|
531
|
+
get:
|
|
532
|
+
displayName: getRecordAccessDetail
|
|
533
|
+
description: Get record access details.
|
|
534
|
+
responses:
|
|
535
|
+
'200':
|
|
536
|
+
description: Success
|
|
537
|
+
body:
|
|
538
|
+
application/json:
|
|
539
|
+
type: RecordAccessDetailRepresentation
|
|
540
|
+
queryParameters:
|
|
541
|
+
displayRelationshipPaths:
|
|
542
|
+
type: boolean
|
|
543
|
+
required: false
|
|
544
|
+
default: false
|
|
545
|
+
maxReasons:
|
|
546
|
+
type: integer
|
|
547
|
+
required: false
|
|
548
|
+
uriParameters:
|
|
549
|
+
recordId:
|
|
550
|
+
type: string
|
|
551
|
+
required: true
|
|
552
|
+
userId:
|
|
553
|
+
type: string
|
|
554
|
+
required: true
|
|
555
|
+
/rules/{entityApiName}:
|
|
556
|
+
get:
|
|
557
|
+
displayName: getSharingRules
|
|
558
|
+
description: Get the collection of sharing rules
|
|
559
|
+
responses:
|
|
560
|
+
'200':
|
|
561
|
+
description: Success
|
|
562
|
+
body:
|
|
563
|
+
application/json:
|
|
564
|
+
type: SharingRuleCollectionRepresentation
|
|
565
|
+
queryParameters:
|
|
566
|
+
ruleType:
|
|
567
|
+
type: string
|
|
568
|
+
required: false
|
|
569
|
+
enum:
|
|
570
|
+
- Criteria
|
|
571
|
+
- Owner
|
|
572
|
+
uriParameters:
|
|
573
|
+
entityApiName:
|
|
574
|
+
type: string
|
|
575
|
+
required: true
|
|
576
|
+
/share-access-levels:
|
|
577
|
+
get:
|
|
578
|
+
displayName: getShareAccessLevelList
|
|
579
|
+
description: Get the list of objects supported for manual sharing in LEX
|
|
580
|
+
responses:
|
|
581
|
+
'200':
|
|
582
|
+
description: Success
|
|
583
|
+
body:
|
|
584
|
+
application/json:
|
|
585
|
+
type: SupportedObjectListRepresentation
|
|
586
|
+
/share-access-levels/{objectApiName}:
|
|
587
|
+
get:
|
|
588
|
+
displayName: getShareAccessLevel
|
|
589
|
+
description: Get the share access level per object.
|
|
590
|
+
responses:
|
|
591
|
+
'200':
|
|
592
|
+
description: Success
|
|
593
|
+
body:
|
|
594
|
+
application/json:
|
|
595
|
+
type: ShareAccessLevelRepresentation
|
|
596
|
+
uriParameters:
|
|
597
|
+
objectApiName:
|
|
598
|
+
type: string
|
|
599
|
+
required: true
|
|
600
|
+
/user-or-group-types:
|
|
601
|
+
get:
|
|
602
|
+
displayName: getUserOrGroupTypesCollection
|
|
603
|
+
description: Get the user or group types.
|
|
604
|
+
responses:
|
|
605
|
+
'200':
|
|
606
|
+
description: Success
|
|
607
|
+
body:
|
|
608
|
+
application/json:
|
|
609
|
+
type: UserOrGroupTypesCollectionRepresentation
|
|
610
|
+
/users-or-groups:
|
|
611
|
+
get:
|
|
612
|
+
displayName: getUsersOrGroupsCollection
|
|
613
|
+
description: Get the users or groups an object can be shared with.
|
|
614
|
+
responses:
|
|
615
|
+
'200':
|
|
616
|
+
description: Success
|
|
617
|
+
body:
|
|
618
|
+
application/json:
|
|
619
|
+
type: UsersOrGroupsCollectionRepresentation
|
|
620
|
+
queryParameters:
|
|
621
|
+
limit:
|
|
622
|
+
type: integer
|
|
623
|
+
required: false
|
|
624
|
+
op:
|
|
625
|
+
type: string
|
|
626
|
+
required: false
|
|
627
|
+
parentId:
|
|
628
|
+
type: string
|
|
629
|
+
required: false
|
|
630
|
+
q:
|
|
631
|
+
type: string
|
|
632
|
+
required: false
|
|
633
|
+
shareToType:
|
|
634
|
+
type: string
|
|
635
|
+
required: false
|
|
636
|
+
enum:
|
|
637
|
+
- AccountRelationshipGroup
|
|
638
|
+
- AllCustomerPortal
|
|
639
|
+
- ChannelProgramGroup
|
|
640
|
+
- CollaborationGroup
|
|
641
|
+
- CustomerPortalUser
|
|
642
|
+
- GuestUserGroup
|
|
643
|
+
- LicenseManagerUser
|
|
644
|
+
- LitePortalUserAccessGroup
|
|
645
|
+
- MLMyTeam
|
|
646
|
+
- Manager
|
|
647
|
+
- ManagerAndSubordinatesInternal
|
|
648
|
+
- Organization
|
|
649
|
+
- PRMOrganization
|
|
650
|
+
- PardotUserGroup
|
|
651
|
+
- PardotUserRestrictedGroup
|
|
652
|
+
- Participant
|
|
653
|
+
- PartnerNetworkConnection
|
|
654
|
+
- PartnerUser
|
|
655
|
+
- Personal
|
|
656
|
+
- PortalRoleAt
|
|
657
|
+
- PortalRoleDown
|
|
658
|
+
- Queue
|
|
659
|
+
- Regular
|
|
660
|
+
- Role
|
|
661
|
+
- RoleAndSubordinates
|
|
662
|
+
- RoleAndSubordinatesInternal
|
|
663
|
+
- SharingRecordCollGroup
|
|
664
|
+
- SharingRuleGroup
|
|
665
|
+
- Sites
|
|
666
|
+
- Territory
|
|
667
|
+
- TerritoryAndSubordinates
|
|
668
|
+
- User
|
|
669
|
+
/{recordId}/user-access-levels:
|
|
670
|
+
get:
|
|
671
|
+
displayName: getRecordUserAccessCollection
|
|
672
|
+
description: Get Record User Accesses for ${recordId}
|
|
673
|
+
responses:
|
|
674
|
+
'200':
|
|
675
|
+
description: Success
|
|
676
|
+
body:
|
|
677
|
+
application/json:
|
|
678
|
+
type: RecordUserAccessCollectionRepresentation
|
|
679
|
+
queryParameters:
|
|
680
|
+
page:
|
|
681
|
+
type: integer
|
|
682
|
+
required: false
|
|
683
|
+
pageSize:
|
|
684
|
+
type: integer
|
|
685
|
+
required: false
|
|
686
|
+
uriParameters:
|
|
687
|
+
recordId:
|
|
688
|
+
type: string
|
|
689
|
+
required: true
|