@salesforce/lds-adapters-industries-filebased-dataimport 0.1.0-dev1

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.
Files changed (55) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-filebased-dataimport.js +3827 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createFileBasedDataImport.d.ts +29 -0
  5. package/dist/es/es2018/types/src/generated/adapters/deleteFileBasedDataImport.d.ts +14 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getAllFields.d.ts +30 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getAllSobjects.d.ts +29 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getCsvAutoMap.d.ts +30 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getCsvPreviewData.d.ts +30 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getDPEDefinitions.d.ts +26 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getFileBasedDataImportById.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getFileBasedDataImports.d.ts +26 -0
  13. package/dist/es/es2018/types/src/generated/adapters/startAdvanceImport.d.ts +18 -0
  14. package/dist/es/es2018/types/src/generated/adapters/startSimpleImport.d.ts +18 -0
  15. package/dist/es/es2018/types/src/generated/adapters/updateFileBasedDataImport.d.ts +29 -0
  16. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +12 -0
  17. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +21 -0
  18. package/dist/es/es2018/types/src/generated/resources/deleteConnectIndustriesFileBasedDataImportsByFileBasedImportId.d.ts +12 -0
  19. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFileBasedDataImports.d.ts +12 -0
  20. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFileBasedDataImportsAutomap.d.ts +18 -0
  21. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFileBasedDataImportsByFileBasedImportId.d.ts +16 -0
  22. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFileBasedDataImportsDpeDefinitions.d.ts +12 -0
  23. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFileBasedDataImportsEntities.d.ts +17 -0
  24. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFileBasedDataImportsEntitiesFieldsByEntityApiName.d.ts +20 -0
  25. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFileBasedDataImportsPreviewByFileBasedImportId.d.ts +20 -0
  26. package/dist/es/es2018/types/src/generated/resources/patchConnectIndustriesFileBasedDataImportsByFileBasedImportId.d.ts +28 -0
  27. package/dist/es/es2018/types/src/generated/resources/postConnectIndustriesFileBasedDataImports.d.ts +26 -0
  28. package/dist/es/es2018/types/src/generated/resources/postConnectIndustriesFileBasedDataImportsAdvanceImport.d.ts +15 -0
  29. package/dist/es/es2018/types/src/generated/resources/postConnectIndustriesFileBasedDataImportsSimpleImport.d.ts +15 -0
  30. package/dist/es/es2018/types/src/generated/types/CSVMappingsResultRepresentation.d.ts +29 -0
  31. package/dist/es/es2018/types/src/generated/types/CsvMappingRepresentation.d.ts +38 -0
  32. package/dist/es/es2018/types/src/generated/types/CsvPreviewOutputRepresentation.d.ts +31 -0
  33. package/dist/es/es2018/types/src/generated/types/DPEDefinitionOutputRepresentation.d.ts +29 -0
  34. package/dist/es/es2018/types/src/generated/types/DPEDefinitionRepresentation.d.ts +34 -0
  35. package/dist/es/es2018/types/src/generated/types/FieldConfigurationInputRepresentation.d.ts +43 -0
  36. package/dist/es/es2018/types/src/generated/types/FieldInfoOutputRepresentation.d.ts +29 -0
  37. package/dist/es/es2018/types/src/generated/types/FieldInfoRepresentation.d.ts +71 -0
  38. package/dist/es/es2018/types/src/generated/types/FileBasedDataImportByUserResultRepresentation.d.ts +41 -0
  39. package/dist/es/es2018/types/src/generated/types/FileBasedDataImportInputRep.d.ts +70 -0
  40. package/dist/es/es2018/types/src/generated/types/FileBasedDataImportRepresentation.d.ts +91 -0
  41. package/dist/es/es2018/types/src/generated/types/FileBasedDataImportUpdateInputRep.d.ts +67 -0
  42. package/dist/es/es2018/types/src/generated/types/FileImportInputRepresentation.d.ts +34 -0
  43. package/dist/es/es2018/types/src/generated/types/FileImportOutputRepresentation.d.ts +40 -0
  44. package/dist/es/es2018/types/src/generated/types/ImportOperationInputRepresentation.d.ts +31 -0
  45. package/dist/es/es2018/types/src/generated/types/ImportOptionsInputRepresentation.d.ts +39 -0
  46. package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryEntryRepresentation.d.ts +43 -0
  47. package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryRepresentation.d.ts +33 -0
  48. package/dist/es/es2018/types/src/generated/types/ReferenceEntityInfo.d.ts +35 -0
  49. package/dist/es/es2018/types/src/generated/types/ReferenceFieldInfo.d.ts +31 -0
  50. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  51. package/package.json +68 -0
  52. package/sfdc/index.d.ts +1 -0
  53. package/sfdc/index.js +3972 -0
  54. package/src/raml/api.raml +760 -0
  55. package/src/raml/luvio.raml +114 -0
@@ -0,0 +1,760 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '60.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v66.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
+ FieldConfigurationInputRepresentation:
29
+ description: Input representation of the field configurations from CSV columns
30
+ to Salesforce Object Columns for the Data Import Job
31
+ type: object
32
+ properties:
33
+ isLookupRelationship:
34
+ description: To identify wether it is a lookup relationship
35
+ type: boolean
36
+ required: false
37
+ relatedFieldName:
38
+ description: The name of the field of the object of the lookup relationship.
39
+ type: string
40
+ required: false
41
+ relatedObjectName:
42
+ description: The name of the object where the lookup needs to be performed
43
+ for this entity field
44
+ type: string
45
+ required: false
46
+ sourceColumnName:
47
+ description: The name of the column of the source content for this mapping
48
+ definition
49
+ type: string
50
+ required: false
51
+ targetFieldName:
52
+ description: The field name of the targeted import object for this mapping
53
+ definition
54
+ type: string
55
+ required: false
56
+ relationshipName:
57
+ description: The relationship name of the lookup
58
+ definition
59
+ type: string
60
+ required: false
61
+ FileImportInputRepresentation:
62
+ description: Input representation of payload for File Based Data Import Use Case
63
+ type: object
64
+ properties:
65
+ importReferenceId:
66
+ description: The id of the file based data import functionality entity
67
+ type: string
68
+ options:
69
+ description: The Options and configurations of the import job
70
+ type: ImportOptionsInputRepresentation
71
+ required: false
72
+ targetContext:
73
+ description: The target context of import be it a object or a import template
74
+ type: string
75
+ FileImportOutputRepresentation:
76
+ description: Output representation of a File Based Import Job
77
+ type: object
78
+ properties:
79
+ statusCode:
80
+ description: The status code of the Start Import Job API
81
+ type: string
82
+ statusMessage:
83
+ description: The status message of the Start Import Job API
84
+ type: string
85
+ ImportOperationInputRepresentation:
86
+ description: Input representation of operations for File Based Import Case
87
+ type: object
88
+ properties:
89
+ operationType:
90
+ description: The operation type of the import job
91
+ type: string
92
+ required: false
93
+ uniqueFields:
94
+ description: The unique fields of the object on which Update or upsert kind
95
+ of operations are to be performed
96
+ type: array
97
+ required: false
98
+ items:
99
+ type: string
100
+ ImportOptionsInputRepresentation:
101
+ description: Input representation of Options for File Based Import
102
+ type: object
103
+ properties:
104
+ delimiter:
105
+ description: The delimiter of the source content document
106
+ type: string
107
+ required: false
108
+ eol:
109
+ description: The End of Line character for the file used for import
110
+ type: string
111
+ required: false
112
+ fieldConfigurations:
113
+ description: The list of field configurations
114
+ type: array
115
+ required: false
116
+ items:
117
+ type: FieldConfigurationInputRepresentation
118
+ operation:
119
+ description: The operation type of the import job
120
+ type: ImportOperationInputRepresentation
121
+ required: false
122
+ FileBasedDataImportByUserResultRepresentation:
123
+ description: Output representation file based data imports as per user context
124
+ type: object
125
+ properties:
126
+ isAdminUser?:
127
+ description: True if user has admin role
128
+ type: boolean
129
+ fileBasedDataImportRepresentations?:
130
+ description: The file based data import response
131
+ type: array
132
+ items:
133
+ type: FileBasedDataImportRepresentation
134
+ CsvPreviewOutputRepresentation:
135
+ description: Output representation of CSV Data Preview
136
+ type: object
137
+ properties:
138
+ headers:
139
+ description: List of header
140
+ type: array
141
+ items:
142
+ type: string
143
+ rows?:
144
+ description: List of rows data fetched
145
+ type: array
146
+ items:
147
+ type: array
148
+ items:
149
+ type: string | nil
150
+ CSVMappingsResultRepresentation:
151
+ description: Output representation of auto map of csv headers with entity
152
+ type: object
153
+ properties:
154
+ csvMappingRepresentations:
155
+ description: Auto Map Result list
156
+ type: array
157
+ items:
158
+ type: CsvMappingRepresentation
159
+ CsvMappingRepresentation:
160
+ description: Output representation of auto map of csv headers with entity
161
+ type: object
162
+ properties:
163
+ csvHeader:
164
+ description: CSV Header
165
+ type: string
166
+ hasUserAccess?:
167
+ description: 'Has User Access to the entity column, based on the access level
168
+ in the '
169
+ type: boolean | nil
170
+ mappedEntityColumn?:
171
+ description: Mapped Entity Column Info Representation
172
+ type: FieldInfoRepresentation | nil
173
+ sampleValue?:
174
+ description: Sample Value for the CSV Header
175
+ type: string | nil
176
+
177
+ FieldInfoOutputRepresentation:
178
+ description: List of Field info output representation
179
+ type: object
180
+ properties:
181
+ fields?:
182
+ description: get list of fields
183
+ type: array
184
+ items:
185
+ type: FieldInfoRepresentation
186
+
187
+ FieldInfoRepresentation:
188
+ description: Field info representation
189
+ type: object
190
+ properties:
191
+ createable?:
192
+ description: createable
193
+ type: boolean
194
+ custom?:
195
+ description: isCustom
196
+ type: boolean
197
+ dataType?:
198
+ description: dataType of field
199
+ type: string
200
+ enum:
201
+ - ADDRESS
202
+ - ANYTYPE
203
+ - BASE64
204
+ - BOOLEAN
205
+ - COMBOBOX
206
+ - COMPLEXVALUE
207
+ - CURRENCY
208
+ - DATE
209
+ - DATETIME
210
+ - DOUBLE
211
+ - EMAIL
212
+ - ENCRYPTEDSTRING
213
+ - ID
214
+ - INT
215
+ - JSON
216
+ - JUNCTIONIDLIST
217
+ - LOCATION
218
+ - LONG
219
+ - MULTIPICKLIST
220
+ - PERCENT
221
+ - PHONE
222
+ - PICKLIST
223
+ - REFERENCE
224
+ - STRING
225
+ - TEXTAREA
226
+ - TIME
227
+ - URL
228
+ externalId?:
229
+ description: isExternalId
230
+ type: boolean
231
+ filterable?:
232
+ description: filterable
233
+ type: boolean
234
+ label?:
235
+ description: label
236
+ type: string
237
+ mandatory?:
238
+ description: isMandatory
239
+ type: boolean
240
+ name?:
241
+ description: name
242
+ type: string
243
+ referenceTo?:
244
+ description: referenceTo
245
+ type: array
246
+ items:
247
+ type: ReferenceEntityInfo
248
+ relationshipName?:
249
+ description: relationshipName
250
+ type: string
251
+ required?:
252
+ description: required
253
+ type: boolean
254
+ sortable?:
255
+ description: sortable
256
+ type: boolean
257
+ updateable?:
258
+ description: updateable
259
+ type: boolean
260
+ idLookup?:
261
+ description: idLookup
262
+ type: boolean
263
+ unique?:
264
+ description: unique
265
+ type: boolean
266
+
267
+ ReferenceEntityInfo:
268
+ description: Referenced Entity info
269
+ type: object
270
+ properties:
271
+ entityName:
272
+ type: string
273
+ description: entityName
274
+ entityLabel:
275
+ type: string
276
+ description: entityLabel
277
+ fields:
278
+ type: array
279
+ description: Entity id look up fields
280
+ items:
281
+ type: ReferenceFieldInfo
282
+
283
+ ReferenceFieldInfo:
284
+ description: Referenced Field info
285
+ type: object
286
+ properties:
287
+ fieldName:
288
+ type: string
289
+ description: fieldName
290
+ fieldLabel:
291
+ type: string
292
+ description: fieldLabel
293
+
294
+ FileBasedDataImportRepresentation:
295
+ description: File based Data import Entity output representation
296
+ type: object
297
+ properties:
298
+ id:
299
+ description: ID
300
+ type: string
301
+ createdBy?:
302
+ description: createdBy
303
+ type: string
304
+ failedRecordsCount?:
305
+ description: FailedRecordsCount
306
+ type: integer
307
+ failedResults?:
308
+ description: FailedResults
309
+ type: string | nil
310
+ fileBasedImportType:
311
+ description: FileBasedImportType
312
+ type: string
313
+ enum:
314
+ - ADVANCED
315
+ - SIMPLE
316
+ importOperationType:
317
+ description: ImportOperationType
318
+ type: string
319
+ enum:
320
+ - INSERT
321
+ - UPDATE
322
+ - UPSERT
323
+ jobIdentifier?:
324
+ description: JobIdentifier
325
+ type: string | nil
326
+ lastModifiedDate?:
327
+ description: lastModifiedDate
328
+ type: string
329
+ sourceContentDocument?:
330
+ description: SourceContentDocument
331
+ type: string | nil
332
+ sourceFileName:
333
+ description: SourceFileName
334
+ type: string
335
+ status:
336
+ description: Status
337
+ type: string
338
+ enum:
339
+ - ABORTED
340
+ - COMPLETED
341
+ - FAILED
342
+ - INPROGRESS
343
+ - PENDING
344
+ statusReason?:
345
+ description: StatusReason
346
+ type: string | nil
347
+ successRecordsCount?:
348
+ description: SuccessRecordsCount
349
+ type: integer
350
+ successfulResults?:
351
+ description: SuccessfulResults
352
+ type: string | nil
353
+ targetContext?:
354
+ description: TargetContext
355
+ type: string | nil
356
+ unprocessedRecords?:
357
+ description: UnprocessedRecords
358
+ type: string | nil
359
+ unprocessedRecordsCount?:
360
+ description: UnprocessedRecordsCount
361
+ type: integer
362
+ parentJobId?:
363
+ description: ParentJobId
364
+ type: string | nil
365
+ createdDate?:
366
+ description: createdDate
367
+ type: string
368
+ FileBasedDataImportInputRep:
369
+ description: 'Input representation for File Based Data Import '
370
+ type: object
371
+ properties:
372
+ failedRecordContentDoc?:
373
+ description: The failed record content doc of the file based data import functionality
374
+ entity
375
+ type: string
376
+ failedRecordCount?:
377
+ description: The failed record count of the file based data import functionality
378
+ entity
379
+ type: integer
380
+ id?:
381
+ description: The sourceFileName of the file based data import functionality
382
+ entity
383
+ type: string
384
+ importOperationType?:
385
+ description: The importOperationType of the file based data import functionality
386
+ entity
387
+ type: string
388
+ enum:
389
+ - INSERT
390
+ - UPDATE
391
+ - UPSERT
392
+ importType?:
393
+ description: The importType of the file based data import functionality entity
394
+ type: string
395
+ enum:
396
+ - ADVANCED
397
+ - SIMPLE
398
+ jobIdentifier?:
399
+ description: The job identifier of the file based data import functionality
400
+ entity
401
+ type: string
402
+ sourceContentDocument?:
403
+ description: The sourceContentDocument of the file based data import functionality
404
+ entity
405
+ type: string
406
+ sourceFileName:
407
+ description: The sourceFileName of the file based data import functionality
408
+ entity
409
+ type: string
410
+ status?:
411
+ description: The status of the file based data import functionality entity
412
+ type: string
413
+ enum:
414
+ - ABORTED
415
+ - COMPLETED
416
+ - FAILED
417
+ - INPROGRESS
418
+ - PENDING
419
+ statusReason?:
420
+ description: The status reason of the file based data import functionality
421
+ entity
422
+ type: string
423
+ successfulRecordContentDoc?:
424
+ description: The successful record content doc of the file based data import
425
+ functionality entity
426
+ type: string
427
+ successfulRecordCount?:
428
+ description: The successful record count of the file based data import functionality
429
+ entity
430
+ type: integer
431
+ targetContext?:
432
+ description: The targetContext of the file based data import functionality
433
+ entity
434
+ type: string
435
+ unprocessedRecordContentDoc?:
436
+ description: The unprocessed record content doc of the file based data import
437
+ functionality entity
438
+ type: string
439
+ unprocessedRecordCount?:
440
+ description: The unprocessed record count of the file based data import functionality
441
+ entity
442
+ type: integer
443
+ FileBasedDataImportUpdateInputRep:
444
+ description: 'Input representation for File Based Data Import '
445
+ type: object
446
+ properties:
447
+ failedRecordContentDoc?:
448
+ description: The failed record content doc of the file based data import functionality
449
+ entity
450
+ type: string
451
+ failedRecordCount?:
452
+ description: The failed record count of the file based data import functionality
453
+ entity
454
+ type: integer
455
+ importOperationType?:
456
+ description: The importOperationType of the file based data import functionality
457
+ entity
458
+ type: string
459
+ enum:
460
+ - INSERT
461
+ - UPDATE
462
+ - UPSERT
463
+ importType?:
464
+ description: The importType of the file based data import functionality entity
465
+ type: string
466
+ enum:
467
+ - ADVANCED
468
+ - SIMPLE
469
+ jobIdentifier?:
470
+ description: The job identifier of the file based data import functionality
471
+ entity
472
+ type: string
473
+ sourceContentDocument?:
474
+ description: The sourceContentDocument of the file based data import functionality
475
+ entity
476
+ type: string
477
+ sourceFileName?:
478
+ description: The sourceFileName of the file based data import functionality
479
+ entity
480
+ type: string
481
+ status?:
482
+ description: The status of the file based data import functionality entity
483
+ type: string
484
+ enum:
485
+ - ABORTED
486
+ - COMPLETED
487
+ - FAILED
488
+ - INPROGRESS
489
+ - PENDING
490
+ statusReason?:
491
+ description: The status reason of the file based data import functionality
492
+ entity
493
+ type: string
494
+ successfulRecordContentDoc?:
495
+ description: The successful record content doc of the file based data import
496
+ functionality entity
497
+ type: string
498
+ successfulRecordCount?:
499
+ description: The successful record count of the file based data import functionality
500
+ entity
501
+ type: integer
502
+ targetContext?:
503
+ description: The targetContext of the file based data import functionality
504
+ entity
505
+ type: string
506
+ unprocessedRecordContentDoc?:
507
+ description: The unprocessed record content doc of the file based data import
508
+ functionality entity
509
+ type: string
510
+ unprocessedRecordCount?:
511
+ description: The unprocessed record count of the file based data import functionality
512
+ entity
513
+ type: integer
514
+ DPEDefinitionOutputRepresentation:
515
+ description: Output representation of DPE Definition
516
+ type: object
517
+ properties:
518
+ dpeDefinitions:
519
+ description: List of dpe definitions
520
+ type: array
521
+ items:
522
+ type: DPEDefinitionRepresentation
523
+ DPEDefinitionRepresentation:
524
+ description: Output representation of DPE Definition
525
+ type: object
526
+ properties:
527
+ id:
528
+ description: Id of the target context
529
+ type: string
530
+ name:
531
+ description: Name of the target context
532
+ type: string
533
+ type:
534
+ description: Type of the target context
535
+ type: string
536
+ enum:
537
+ - DEFINITION
538
+ - TEMPLATE
539
+ ObjectInfoDirectoryEntryRepresentation:
540
+ description: Entry for an object info within the directory of objects.
541
+ type: object
542
+ properties:
543
+ apiName:
544
+ description: The API name of the object info corresponding to this entry.
545
+ type: string
546
+ keyPrefix:
547
+ description: The key prefix for IDs of this object.
548
+ type: string | nil
549
+ label:
550
+ description: The label of the object info corresponding to this entry.
551
+ type: string
552
+ labelPlural:
553
+ description: The plural label of the object info corresponding to this entry.
554
+ type: string
555
+ nameFields:
556
+ description: List of the API names of the fields used to identify the name
557
+ field for standard and custom objects. Typically there is one name field
558
+ per object, except where FirstName and LastName fields are used.
559
+ type: array
560
+ items:
561
+ type: string
562
+ objectInfoUrl:
563
+ description: The URL to retrieve the full object info corresponding to this
564
+ entry.
565
+ type: string
566
+ ObjectInfoDirectoryRepresentation:
567
+ description: Directory of objects that can be used within UI API end-points.
568
+ type: object
569
+ properties:
570
+ objects:
571
+ description: The object info entries corresponding to the objects that can
572
+ be used within UI API.
573
+ type: object
574
+ properties:
575
+ //:
576
+ # These definitions are copied from lds-adapters-uiapi & need to remain in sync with those to avoid data inconsistences while caching.
577
+ type: ObjectInfoDirectoryEntryRepresentation
578
+ /connect/industries/fileBasedDataImports:
579
+ get:
580
+ displayName: GetFileBasedDataImportByUser
581
+ description: Api to fetch details related to mulesoft asset from metadata
582
+ responses:
583
+ '200':
584
+ description: Success
585
+ body:
586
+ application/json:
587
+ type: FileBasedDataImportByUserResultRepresentation
588
+ post:
589
+ displayName: createFileBasedDataImport
590
+ description: API resource to create file based data import
591
+ responses:
592
+ '200':
593
+ description: Success
594
+ body:
595
+ application/json:
596
+ type: FileBasedDataImportRepresentation
597
+ body:
598
+ application/json:
599
+ type: FileBasedDataImportInputRep
600
+
601
+ /advanceImport:
602
+ post:
603
+ displayName: postAdvanceImport
604
+ description: API resource to start Advance data import
605
+ responses:
606
+ '200':
607
+ description: Success
608
+ body:
609
+ application/json:
610
+ type: FileImportOutputRepresentation
611
+ body:
612
+ application/json:
613
+ type: FileImportInputRepresentation
614
+ /simpleImport:
615
+ post:
616
+ displayName: postSimpleImport
617
+ description: API resource to start Simple data import
618
+ responses:
619
+ '200':
620
+ description: Success
621
+ body:
622
+ application/json:
623
+ type: FileImportOutputRepresentation
624
+ body:
625
+ application/json:
626
+ type: FileImportInputRepresentation
627
+ /{fileBasedImportId}:
628
+ delete:
629
+ displayName: deleteFileBasedDataImport
630
+ description: API resource to create file based data import
631
+ responses:
632
+ '200':
633
+ description: Success
634
+ get:
635
+ displayName: getFileBasedDataImportById
636
+ description: Get a list of trackers set up for this orchestration.
637
+ responses:
638
+ '200':
639
+ description: Success
640
+ body:
641
+ application/json:
642
+ type: FileBasedDataImportRepresentation
643
+ patch:
644
+ displayName: updateFileBasedDataImport
645
+ description: API resource to create file based data import
646
+ responses:
647
+ '200':
648
+ description: Success
649
+ body:
650
+ application/json:
651
+ type: FileBasedDataImportRepresentation
652
+ body:
653
+ application/json:
654
+ type: FileBasedDataImportUpdateInputRep
655
+ uriParameters:
656
+ fileBasedImportId:
657
+ type: string
658
+ required: true
659
+
660
+ /preview:
661
+ get:
662
+ displayName: getCsvPreviewData
663
+ description: Api to fetch preview of the csv file upto max 10 rows
664
+ responses:
665
+ '200':
666
+ description: Success
667
+ body:
668
+ application/json:
669
+ type: CsvPreviewOutputRepresentation
670
+ queryParameters:
671
+ delimiter:
672
+ type: string
673
+ required: false
674
+ endOfLine:
675
+ type: string
676
+ required: false
677
+ numberOfRows:
678
+ type: integer
679
+ required: false
680
+ uriParameters:
681
+ fileBasedImportId:
682
+ type: string
683
+ required: true
684
+ /dpeDefinitions:
685
+ get:
686
+ displayName: getDPEDefinitions
687
+ description: Api to fetch DPE definitions
688
+ responses:
689
+ '200':
690
+ description: Success
691
+ body:
692
+ application/json:
693
+ type: DPEDefinitionOutputRepresentation
694
+ /entities:
695
+ get:
696
+ displayName: getAllSobjects
697
+ description: Api to fetch all sobjects
698
+ responses:
699
+ '200':
700
+ description: Success
701
+ body:
702
+ application/json:
703
+ type: ObjectInfoDirectoryRepresentation
704
+ queryParameters:
705
+ batchSize:
706
+ type: integer
707
+ required: false
708
+ searchText:
709
+ type: string
710
+ required: false
711
+ startOffset:
712
+ type: integer
713
+ required: false
714
+ /entities/{entityApiName}/fields:
715
+ get:
716
+ displayName: getAllFields
717
+ description: Api to fetch fields of a given entity
718
+ responses:
719
+ '200':
720
+ description: Success
721
+ body:
722
+ application/json:
723
+ type: FieldInfoOutputRepresentation
724
+ queryParameters:
725
+ batchSize:
726
+ type: integer
727
+ required: false
728
+ fieldName:
729
+ type: string
730
+ required: false
731
+ startOffset:
732
+ type: integer
733
+ required: false
734
+ uriParameters:
735
+ entityApiName:
736
+ type: string
737
+ required: true
738
+ /automap:
739
+ get:
740
+ displayName: getCsvAutoMap
741
+ description: Api to auto map Csv data to entity records based on mapping configuration
742
+ responses:
743
+ '200':
744
+ description: Success
745
+ body:
746
+ application/json:
747
+ type: CSVMappingsResultRepresentation
748
+ queryParameters:
749
+ contentDocumentId:
750
+ type: string
751
+ required: true
752
+ delimiter:
753
+ type: string
754
+ required: false
755
+ endOfLine:
756
+ type: string
757
+ required: false
758
+ entityApiName:
759
+ type: string
760
+ required: true