@salesforce/lds-adapters-platform-sharing 1.280.0 → 1.282.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/src/raml/api.raml CHANGED
@@ -136,6 +136,12 @@ types:
136
136
  operation:
137
137
  description: Data required for which tab
138
138
  type: string
139
+ orderBy:
140
+ description: Sorts by given order by clause
141
+ type: string
142
+ orderType:
143
+ description: Orders the records in asc/desc
144
+ type: string
139
145
  PublicGroupSummaryRepresentation:
140
146
  description: Parent output representation for all form of data emitted by this
141
147
  API
@@ -405,6 +411,34 @@ types:
405
411
  sharedFrom:
406
412
  description: Owner Sharing Rule shared from group.
407
413
  type: string
414
+ SobjectOutputSharingRepresentation:
415
+ description: Output representation of sobject to be used for Selection
416
+ type: object
417
+ properties:
418
+ apiName:
419
+ description: apiName of Sobject
420
+ type: string
421
+ keyPrefix:
422
+ description: Key prefix of sobject
423
+ type: string
424
+ label:
425
+ description: Label of sobject
426
+ type: string
427
+ labelPlural:
428
+ description: Label Plural of sobject
429
+ type: string
430
+ SobjectsOutputSharingRepresentation:
431
+ description: Output representation of sobject to be shared on UI
432
+ type: object
433
+ properties:
434
+ size:
435
+ description: Number of sobjects
436
+ type: integer
437
+ sobjects:
438
+ description: List of sobjects
439
+ type: array
440
+ items:
441
+ type: SobjectOutputSharingRepresentation
408
442
  SupportedObjectListRepresentation:
409
443
  description: Representation of a list of supported objects
410
444
  type: object
@@ -510,6 +544,9 @@ types:
510
544
  groupType:
511
545
  type: string
512
546
  required: true
547
+ enum:
548
+ - PublicGroup
549
+ - Queue
513
550
  userId:
514
551
  type: string
515
552
  required: true
@@ -597,6 +634,26 @@ types:
597
634
  objectApiName:
598
635
  type: string
599
636
  required: true
637
+ /sobjects:
638
+ get:
639
+ displayName: getSobjects
640
+ description: Api to fetch all sobjects
641
+ responses:
642
+ '200':
643
+ description: Success
644
+ body:
645
+ application/json:
646
+ type: SobjectsOutputSharingRepresentation
647
+ queryParameters:
648
+ limit:
649
+ type: integer
650
+ required: false
651
+ offset:
652
+ type: integer
653
+ required: false
654
+ searchText:
655
+ type: string
656
+ required: false
600
657
  /user-or-group-types:
601
658
  get:
602
659
  displayName: getUserOrGroupTypesCollection
@@ -13,6 +13,9 @@ types:
13
13
  GroupCollectionRepresentation:
14
14
  (luvio.ttl): 300
15
15
 
16
+ SobjectsOutputSharingRepresentation:
17
+ (luvio.ttl): 900000
18
+
16
19
  /sharing:
17
20
  /publicGroupsSummary:
18
21
  post:
@@ -37,3 +40,17 @@ types:
37
40
  userId:
38
41
  type: string
39
42
  required: true
43
+ /sobjects:
44
+ get:
45
+ (luvio.adapter):
46
+ name: getAllSobjects
47
+ queryParameters:
48
+ limit:
49
+ type: integer
50
+ required: false
51
+ offset:
52
+ type: integer
53
+ required: false
54
+ searchText:
55
+ type: string
56
+ required: false