@salesforce/lds-adapters-industries-filebased-dataimport 1.258.0 → 1.259.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
@@ -525,6 +525,45 @@ types:
525
525
  enum:
526
526
  - DEFINITION
527
527
  - TEMPLATE
528
+ ObjectInfoDirectoryEntryRepresentation:
529
+ description: Entry for an object info within the directory of objects.
530
+ type: object
531
+ properties:
532
+ apiName:
533
+ description: The API name of the object info corresponding to this entry.
534
+ type: string
535
+ keyPrefix:
536
+ description: The key prefix for IDs of this object.
537
+ type: string | nil
538
+ label:
539
+ description: The label of the object info corresponding to this entry.
540
+ type: string
541
+ labelPlural:
542
+ description: The plural label of the object info corresponding to this entry.
543
+ type: string
544
+ nameFields:
545
+ description: List of the API names of the fields used to identify the name
546
+ field for standard and custom objects. Typically there is one name field
547
+ per object, except where FirstName and LastName fields are used.
548
+ type: array
549
+ items:
550
+ type: string
551
+ objectInfoUrl:
552
+ description: The URL to retrieve the full object info corresponding to this
553
+ entry.
554
+ type: string
555
+ ObjectInfoDirectoryRepresentation:
556
+ description: Directory of objects that can be used within UI API end-points.
557
+ type: object
558
+ properties:
559
+ objects:
560
+ description: The object info entries corresponding to the objects that can
561
+ be used within UI API.
562
+ type: object
563
+ properties:
564
+ //:
565
+ # These definitions are copied from lds-adapters-uiapi & need to remain in sync with those to avoid data inconsistences while caching.
566
+ type: ObjectInfoDirectoryEntryRepresentation
528
567
  /connect/industries/fileBasedDataImports:
529
568
  get:
530
569
  displayName: GetFileBasedDataImportByUser
@@ -641,6 +680,26 @@ types:
641
680
  body:
642
681
  application/json:
643
682
  type: DPEDefinitionOutputRepresentation
683
+ /entities:
684
+ get:
685
+ displayName: getAllSobjects
686
+ description: Api to fetch all sobjects
687
+ responses:
688
+ '200':
689
+ description: Success
690
+ body:
691
+ application/json:
692
+ type: ObjectInfoDirectoryRepresentation
693
+ queryParameters:
694
+ batchSize:
695
+ type: integer
696
+ required: false
697
+ searchText:
698
+ type: string
699
+ required: false
700
+ startOffset:
701
+ type: integer
702
+ required: false
644
703
  /entities/{entityApiName}/fields:
645
704
  get:
646
705
  displayName: getAllFields
@@ -14,6 +14,8 @@ types:
14
14
  FileBasedDataImportRepresentation:
15
15
  (luvio.key):
16
16
  id: id
17
+ ObjectInfoDirectoryRepresentation:
18
+ (luvio.opaque): true
17
19
 
18
20
  /connect/industries/fileBasedDataImports:
19
21
  get:
@@ -72,6 +74,10 @@ types:
72
74
  get:
73
75
  (luvio.adapter):
74
76
  name: getDPEDefinitions
77
+ /entities:
78
+ get:
79
+ (luvio.adapter):
80
+ name: getAllSobjects
75
81
  /entities/{entityApiName}/fields:
76
82
  get:
77
83
  (luvio.adapter):