@salesforce/lds-adapters-platform-data-seed 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 (59) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/platform-data-seed.js +3388 -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/generateData.d.ts +26 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getAuthCallbackStatus.d.ts +19 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getDataSeedRequestStatus.d.ts +19 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getDataSeedStatus.d.ts +30 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getDownloadPreSignedUrl.d.ts +20 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getOrgEntities.d.ts +20 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getOrgEntitiesDetails.d.ts +21 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getSalesforceOrgDetails.d.ts +18 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getUploadPreSignedUrl.d.ts +19 -0
  13. package/dist/es/es2018/types/src/generated/adapters/loadDataToTargetOrg.d.ts +22 -0
  14. package/dist/es/es2018/types/src/generated/adapters/migrateData.d.ts +26 -0
  15. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +11 -0
  16. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +13 -0
  17. package/dist/es/es2018/types/src/generated/resources/getPlatformDataSeedV1DataSeedRequest.d.ts +18 -0
  18. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedAuthCallbackStatusByCallback_id.d.ts +18 -0
  19. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedFetchSalesforceEntities.d.ts +19 -0
  20. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedFetchSalesforceObjectMetadata.d.ts +20 -0
  21. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedGenerate.d.ts +25 -0
  22. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedGeneratePresignedDownloadUrlByRequest_idAndFile_type.d.ts +19 -0
  23. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedGeneratePresignedUploadUrl.d.ts +18 -0
  24. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedLoadByDataseed_request_id.d.ts +23 -0
  25. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedMigrate.d.ts +25 -0
  26. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedOrgDetails.d.ts +15 -0
  27. package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedRequestByRequest_id.d.ts +18 -0
  28. package/dist/es/es2018/types/src/generated/types/AuthCallbackStatusRepresentation.d.ts +53 -0
  29. package/dist/es/es2018/types/src/generated/types/DataSeedRequestObjectRepresentation.d.ts +64 -0
  30. package/dist/es/es2018/types/src/generated/types/DataSeedRequestStatusOutputRepresentation.d.ts +41 -0
  31. package/dist/es/es2018/types/src/generated/types/DataSeedStatusErrorRepresentation.d.ts +28 -0
  32. package/dist/es/es2018/types/src/generated/types/DataSeedStatusOutputRepresentation.d.ts +32 -0
  33. package/dist/es/es2018/types/src/generated/types/EntitiesDetailsInputRepresentation.d.ts +34 -0
  34. package/dist/es/es2018/types/src/generated/types/EntitiesDetailsOutputRepresentation.d.ts +42 -0
  35. package/dist/es/es2018/types/src/generated/types/EntitiesOutputRepresentation.d.ts +42 -0
  36. package/dist/es/es2018/types/src/generated/types/EntityDetailsChildResponseObject.d.ts +37 -0
  37. package/dist/es/es2018/types/src/generated/types/EntityDetailsFieldsResponseObject.d.ts +38 -0
  38. package/dist/es/es2018/types/src/generated/types/EntityDetailsParentResponseObject.d.ts +37 -0
  39. package/dist/es/es2018/types/src/generated/types/EntityDetailsResponseObject.d.ts +58 -0
  40. package/dist/es/es2018/types/src/generated/types/EntityResponseObject.d.ts +34 -0
  41. package/dist/es/es2018/types/src/generated/types/LoadDataInputRepresentation.d.ts +34 -0
  42. package/dist/es/es2018/types/src/generated/types/MigrateDataInputRepresentation.d.ts +49 -0
  43. package/dist/es/es2018/types/src/generated/types/MigrateDataOutputRepresentation.d.ts +44 -0
  44. package/dist/es/es2018/types/src/generated/types/OrgDetailsErrorRepresentation.d.ts +31 -0
  45. package/dist/es/es2018/types/src/generated/types/OrgDetailsObjectRepresentation.d.ts +37 -0
  46. package/dist/es/es2018/types/src/generated/types/OrgDetailsRepresentation.d.ts +41 -0
  47. package/dist/es/es2018/types/src/generated/types/OrgEntitiesInputRepresentation.d.ts +31 -0
  48. package/dist/es/es2018/types/src/generated/types/PicklistValueObject.d.ts +40 -0
  49. package/dist/es/es2018/types/src/generated/types/PreSignedDownloadUrlResultRepresentation.d.ts +41 -0
  50. package/dist/es/es2018/types/src/generated/types/PreSignedUrlBadErrorRepresentation.d.ts +28 -0
  51. package/dist/es/es2018/types/src/generated/types/PreSignedUrlInputRepresentation.d.ts +28 -0
  52. package/dist/es/es2018/types/src/generated/types/PreSignedUrlResultRepresentation.d.ts +41 -0
  53. package/dist/es/es2018/types/src/generated/types/PreSignedUrlServerErrorRepresentation.d.ts +31 -0
  54. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  55. package/package.json +66 -0
  56. package/sfdc/index.d.ts +1 -0
  57. package/sfdc/index.js +3455 -0
  58. package/src/raml/api.raml +898 -0
  59. package/src/raml/luvio.raml +84 -0
@@ -0,0 +1,898 @@
1
+ #%RAML 1.0
2
+ title: Salesforce API Platform Cloudbeat
3
+ protocols:
4
+ - HTTPS
5
+ types:
6
+ DataSeedStatusOutputRepresentation:
7
+ description: Data Seed Response Representation
8
+ type: object
9
+ properties:
10
+ data:
11
+ description: Data Seed Request's History Data List
12
+ type: array
13
+ items:
14
+ type: DataSeedRequestObjectRepresentation
15
+ correlation_id:
16
+ description: Data Seed Request's Correlation ID
17
+ type: string
18
+ DataSeedRequestStatusOutputRepresentation:
19
+ description: Data Seed Request Response Representation
20
+ type: object
21
+ properties:
22
+ data:
23
+ description: Data Seed Request's Details Object
24
+ type: DataSeedRequestObjectRepresentation
25
+ correlation_id:
26
+ description: Correlation Id For This Request
27
+ type: string
28
+ DataSeedRequestObjectRepresentation:
29
+ description: Data Seed Request properties
30
+ type: object
31
+ properties:
32
+ request_id:
33
+ description: Request ID
34
+ type: string
35
+ organization_id:
36
+ description: Organization ID
37
+ type: string
38
+ name:
39
+ description: Request Name
40
+ type: string
41
+ description:
42
+ description: Request Description
43
+ type: string
44
+ job_type:
45
+ description: Request Job Type
46
+ type: string
47
+ status:
48
+ description: Request Status
49
+ type: string
50
+ step:
51
+ description: Request Step
52
+ type: string
53
+ log_text:
54
+ description: Request Log Text
55
+ type: string
56
+ execution_start_time:
57
+ description: Request Execution Start Time
58
+ type: string
59
+ execution_end_time:
60
+ description: Request Execution End Time
61
+ type: string
62
+ created_by:
63
+ description: Request Created By User
64
+ type: string
65
+ source_organization_id:
66
+ description: Source Org Id
67
+ type: string
68
+ target_organization_id:
69
+ description: Target Org Id
70
+ type: string
71
+ DataSeedStatusErrorRepresentation:
72
+ description: Data Seed Error Representation
73
+ type: object
74
+ properties:
75
+ error:
76
+ description: Data Seed Error Message
77
+ type: string
78
+ PreSignedUrlInputRepresentation:
79
+ description: Pre Signed Url Input Representation
80
+ type: object
81
+ properties:
82
+ file_name:
83
+ description: File Name
84
+ type: string
85
+ PreSignedUrlResultRepresentation:
86
+ description: Pre Signed Url Response Representation
87
+ type: object
88
+ properties:
89
+ url:
90
+ description: Pre Signed Url
91
+ type: string
92
+ s3_unique_id:
93
+ description: Url Unique Id
94
+ type: string
95
+ PreSignedDownloadUrlResultRepresentation:
96
+ description: Pre Signed Url Response Representation
97
+ type: object
98
+ properties:
99
+ url:
100
+ description: Pre Signed Url
101
+ type: string
102
+ correlation_id:
103
+ description: Correlation id of request
104
+ type: string
105
+ PreSignedUrlBadErrorRepresentation:
106
+ description: Pre Signed Url Missing Parameters Error Representation
107
+ type: object
108
+ properties:
109
+ error:
110
+ description: Pre Signed Url Bad Request Error Message
111
+ type: string
112
+ PreSignedUrlServerErrorRepresentation:
113
+ description: Pre Signed Url Server Error Representation
114
+ type: object
115
+ properties:
116
+ error:
117
+ description: Pre Signed Url Server Error Message
118
+ type: string
119
+ correlation_id:
120
+ description: Pre Signed Url Request Correlation Id
121
+ type: string
122
+ EntityResponseObject:
123
+ description: Entity Response Object
124
+ type: object
125
+ properties:
126
+ objectAPIName:
127
+ description: Entity API Name
128
+ type: string
129
+ objectName:
130
+ description: Entity Name
131
+ type: string
132
+ type:
133
+ description: Entity Type
134
+ type: string
135
+ EntitiesOutputRepresentation:
136
+ description: List of entities
137
+ type: object
138
+ properties:
139
+ entities:
140
+ description: List of entities details
141
+ type: array
142
+ items:
143
+ type: EntityResponseObject
144
+ correlation_id:
145
+ description: Entity Details Request Correlation Id
146
+ type: string
147
+ OrgEntitiesInputRepresentation:
148
+ description: Org Entities Payload
149
+ type: object
150
+ properties:
151
+ source_instance_url:
152
+ description: Source Instance Url
153
+ type: string
154
+ source_access_token:
155
+ description: Source Access Token
156
+ type: string
157
+ MigrateDataOutputRepresentation:
158
+ description: Data Migration Response
159
+ type: object
160
+ properties:
161
+ correlation_id:
162
+ description: Data Migrate Correlation Id
163
+ type: string
164
+ response:
165
+ description: Data Migrate Response
166
+ type: string
167
+ request_id:
168
+ description: Data Migrate Request Id
169
+ type: string
170
+ MigrateDataInputRepresentation:
171
+ description: Migrate Data Payload
172
+ type: object
173
+ properties:
174
+ source_instance_url:
175
+ description: Source Instance Url
176
+ type: string
177
+ required: true
178
+ source_access_token:
179
+ description: Source Access Token
180
+ type: string
181
+ required: true
182
+ target_instance_url:
183
+ description: Target Instance Url
184
+ type: string
185
+ required: true
186
+ target_access_token:
187
+ description: Target Access Token
188
+ type: string
189
+ required: true
190
+ name:
191
+ description: Data Seed Name
192
+ type: string
193
+ required: true
194
+ desc:
195
+ description: Data Seed Description
196
+ type: string
197
+ config:
198
+ description: Data Seed Config
199
+ type: string
200
+ mode:
201
+ description: Data Seed Model
202
+ type: string
203
+ LoadDataInputRepresentation:
204
+ description: Load Data Payload
205
+ type: object
206
+ properties:
207
+ target_instance_url:
208
+ description: Target Instance Url
209
+ type: string
210
+ required: true
211
+ target_access_token:
212
+ description: Target Access Token
213
+ type: string
214
+ required: true
215
+ operation_type:
216
+ description: Request Operation Type
217
+ type: string
218
+ required: false
219
+ AuthCallbackStatusRepresentation:
220
+ description: Response structure for successfully retrieving callback status.
221
+ type: object
222
+ properties:
223
+ correlation_id:
224
+ description: Correlation ID for the request.
225
+ type: string
226
+ callback_id:
227
+ description: Unique callback ID.
228
+ type: string
229
+ organization_id:
230
+ description: The organization ID associated with the callback.
231
+ type: string
232
+ auth_code:
233
+ description: Authorization code received during the callback.
234
+ type: string
235
+ org_url:
236
+ description: The instance URL for the organization.
237
+ type: string
238
+ access_token:
239
+ description: The access token received from the callback.
240
+ type: string
241
+ EntitiesDetailsInputRepresentation:
242
+ description: Org Entities Details Payload
243
+ type: object
244
+ properties:
245
+ source_instance_url:
246
+ description: Source Instance Url
247
+ type: string
248
+ source_access_token:
249
+ description: Source Access Token
250
+ type: string
251
+ object_names:
252
+ description: Object Names
253
+ type: array
254
+ items:
255
+ type: string
256
+ EntitiesDetailsOutputRepresentation:
257
+ description: List of entities
258
+ type: object
259
+ properties:
260
+ metadata:
261
+ description: Entity Details Response List
262
+ type: array
263
+ items:
264
+ type: EntityDetailsResponseObject
265
+ correlation_id:
266
+ description: Request Correlation Id
267
+ type: string
268
+ EntityDetailsResponseObject:
269
+ description: Entity Details Response object
270
+ type: object
271
+ properties:
272
+ childRelationships?:
273
+ description: List of Related Objects
274
+ type: array
275
+ items:
276
+ type: EntityDetailsChildResponseObject
277
+ parentRelationships?:
278
+ description: List of Related Objects
279
+ type: array
280
+ items:
281
+ type: EntityDetailsParentResponseObject
282
+ fields?:
283
+ description: Fields List
284
+ type: array
285
+ items:
286
+ type: EntityDetailsFieldsResponseObject
287
+ objectAPIName?:
288
+ description: Object API Name
289
+ type: string
290
+ objectIcon?:
291
+ description: Object Icon URL
292
+ type: string
293
+ objectLabel?:
294
+ description: Object Label
295
+ type: string
296
+ recordCount?:
297
+ description: Object Record Count
298
+ type: number
299
+ type?:
300
+ description: Object Type
301
+ type: string
302
+ error?:
303
+ description: Error message if applicable
304
+ type: string
305
+ objectName?:
306
+ description: Name of the object causing the error (optional)
307
+ type: string
308
+ EntityDetailsChildResponseObject:
309
+ description: Child relationships of the entity
310
+ type: object
311
+ properties:
312
+ childObjectLabel?:
313
+ description: Label of the related entity
314
+ type: string
315
+ childObjectName?:
316
+ description: Name of the related entity
317
+ type: string
318
+ childObjectRelationshipField?:
319
+ description: Name of the relationship
320
+ type: string
321
+ childObjectType?:
322
+ description: Child object type
323
+ type: string
324
+ EntityDetailsParentResponseObject:
325
+ description: Parent relationships of the entity
326
+ type: object
327
+ properties:
328
+ parentObjectLabel?:
329
+ description: Label of the parent entity
330
+ type: string
331
+ parentObjectName?:
332
+ description: Name of the parent entity
333
+ type: string
334
+ parentObjectRelationshipField?:
335
+ description: Name of the relationship
336
+ type: string
337
+ parentObjectType?:
338
+ description: Parent object type
339
+ type: string
340
+
341
+ EntityDetailsFieldsResponseObject:
342
+ description: Details about a field in the entity
343
+ type: object
344
+ properties:
345
+ dataType?:
346
+ description: Data type of the field
347
+ type: string
348
+ fieldLabel?:
349
+ description: Label of the field
350
+ type: string
351
+ fieldName?:
352
+ description: Name of the field
353
+ type: string
354
+ picklistValues?:
355
+ description: List of picklist values (optional)
356
+ type: array
357
+ items:
358
+ type: PicklistValueObject
359
+ PicklistValueObject:
360
+ description: Picklist value details
361
+ type: object
362
+ properties:
363
+ active?:
364
+ description: Indicates if the picklist value is active
365
+ type: boolean
366
+ defaultValue?:
367
+ description: Indicates if the value is the default
368
+ type: boolean
369
+ label?:
370
+ description: Label of the picklist value
371
+ type: string | nil
372
+ validFor?:
373
+ description: Additional valid options for the value (optional)
374
+ type: string | nil
375
+ value?:
376
+ description: The picklist value
377
+ type: string | nil
378
+ OrgDetailsRepresentation:
379
+ description: Salesforce Organization Details Response
380
+ type: object
381
+ properties:
382
+ correlation_id:
383
+ type: string
384
+ description: Unique identifier for tracking the request
385
+ org_details:
386
+ type: OrgDetailsObjectRepresentation
387
+ OrgDetailsObjectRepresentation:
388
+ description: Salesforce Organization Details Response
389
+ type: object
390
+ properties:
391
+ org_id:
392
+ type: string
393
+ description: Salesforce Organization ID
394
+ org_name:
395
+ type: string
396
+ description: Name of the Salesforce organization
397
+ is_sandbox:
398
+ type: boolean
399
+ description: Indicates if the organization is a sandbox
400
+ organization_type:
401
+ type: string
402
+ description: Type of the Salesforce organization
403
+ OrgDetailsErrorRepresentation:
404
+ description: Error Response for Org Details API
405
+ type: object
406
+ properties:
407
+ correlation_id:
408
+ type: string
409
+ description: Unique identifier for tracking the request
410
+ error:
411
+ type: string
412
+ description: Error message describing the issue
413
+ /platform/data-seed/v1:
414
+ /data-seed-request:
415
+ get:
416
+ displayName: DataSeedStatusAPI
417
+ description: Return List of All Requests
418
+ headers:
419
+ 'x-client-trace-id':
420
+ type: string
421
+ description: Id to track the request.
422
+ required: true
423
+ 'x-salesforce-region':
424
+ type: string
425
+ description: The region of this request.
426
+ required: true
427
+ 'Org-Url':
428
+ type: string
429
+ description: Org url of the org
430
+ required: true
431
+ 'Access-Token':
432
+ type: string
433
+ description: Access token of url
434
+ required: true
435
+ responses:
436
+ 200:
437
+ description: Returns the success response with request's status.
438
+ body:
439
+ application/json:
440
+ type: DataSeedStatusOutputRepresentation
441
+ 400:
442
+ description: Returns the error if request is not found.
443
+ body:
444
+ application/json:
445
+ type: DataSeedStatusErrorRepresentation
446
+ 403:
447
+ description: Returns the error if request is not found.
448
+ body:
449
+ application/json:
450
+ type: DataSeedStatusErrorRepresentation
451
+ 500:
452
+ description: Returns the error if request is not found.
453
+ body:
454
+ application/json:
455
+ type: DataSeedStatusErrorRepresentation
456
+ /data-seed-request/{request_id}:
457
+ post:
458
+ displayName: DataSeedRequestStatusAPI
459
+ description: For a given requestId return it's status
460
+ headers:
461
+ 'x-client-trace-id':
462
+ type: string
463
+ description: Id to track the request.
464
+ required: true
465
+ 'x-salesforce-region':
466
+ type: string
467
+ description: The region of this request.
468
+ required: true
469
+ 'Org-Url':
470
+ type: string
471
+ description: Org url of the org
472
+ required: true
473
+ 'Access-Token':
474
+ type: string
475
+ description: Access token of url
476
+ required: true
477
+ responses:
478
+ 200:
479
+ description: Returns the success response with request's status.
480
+ body:
481
+ application/json:
482
+ type: DataSeedRequestStatusOutputRepresentation
483
+ 400:
484
+ description: Returns the error if request is not found.
485
+ body:
486
+ application/json:
487
+ type: DataSeedStatusErrorRepresentation
488
+ 403:
489
+ description: Returns the error if request is not found.
490
+ body:
491
+ application/json:
492
+ type: DataSeedStatusErrorRepresentation
493
+ 500:
494
+ description: Returns the error if request is not found.
495
+ body:
496
+ application/json:
497
+ type: DataSeedStatusErrorRepresentation
498
+ uriParameters:
499
+ request_id:
500
+ type: string
501
+ required: true
502
+ /data-seed-generate-presigned-upload-url:
503
+ post:
504
+ displayName: getPreSignedUrl
505
+ description: Add an existing Data Cloud Object as a new Semantic Data Object to a specific Semantic Model.
506
+ headers:
507
+ 'x-client-trace-id':
508
+ type: string
509
+ description: Id to track the request.
510
+ required: true
511
+ 'x-salesforce-region':
512
+ type: string
513
+ description: The region of this request.
514
+ required: true
515
+ 'Org-Url':
516
+ type: string
517
+ description: Org url of the org
518
+ required: true
519
+ 'Access-Token':
520
+ type: string
521
+ description: Access token of url
522
+ required: true
523
+ responses:
524
+ 200:
525
+ description: Returns Pre Signed Url
526
+ body:
527
+ application/json:
528
+ type: PreSignedUrlResultRepresentation
529
+ 400:
530
+ description: Returns the error if request is not found.
531
+ body:
532
+ application/json:
533
+ type: PreSignedUrlBadErrorRepresentation
534
+ 500:
535
+ description: Returns the error if request is not found.
536
+ body:
537
+ application/json:
538
+ type: PreSignedUrlServerErrorRepresentation
539
+ body:
540
+ application/json:
541
+ type: PreSignedUrlInputRepresentation
542
+ /data-seed-generate-presigned-download-url/{file_type}/{request_id}:
543
+ post:
544
+ displayName: getDownloadPreSignedUrl
545
+ description: Generate Presigned URL To Download Files
546
+ headers:
547
+ 'x-client-trace-id':
548
+ type: string
549
+ description: Id to track the request.
550
+ required: true
551
+ 'x-salesforce-region':
552
+ type: string
553
+ description: The region of this request.
554
+ required: true
555
+ 'Org-Url':
556
+ type: string
557
+ description: Org url of the org
558
+ required: true
559
+ 'Access-Token':
560
+ type: string
561
+ description: Access token of url
562
+ required: true
563
+ responses:
564
+ 200:
565
+ description: Returns Downloads Pre Signed Url
566
+ body:
567
+ application/json:
568
+ type: PreSignedDownloadUrlResultRepresentation
569
+ 400:
570
+ description: Returns the error if request is not found.
571
+ body:
572
+ application/json:
573
+ type: PreSignedUrlBadErrorRepresentation
574
+ 500:
575
+ description: Returns the error if request is not found.
576
+ body:
577
+ application/json:
578
+ type: PreSignedUrlServerErrorRepresentation
579
+ uriParameters:
580
+ request_id:
581
+ type: string
582
+ required: true
583
+ file_type:
584
+ type: string
585
+ required: true
586
+ /data-seed-fetch-salesforce-entities:
587
+ post:
588
+ displayName: OrgEntities
589
+ description: Return List of All Entities
590
+ headers:
591
+ 'x-client-trace-id':
592
+ type: string
593
+ description: Id to track the request.
594
+ required: true
595
+ 'x-salesforce-region':
596
+ type: string
597
+ description: The region of this request.
598
+ required: true
599
+ 'Org-Url':
600
+ type: string
601
+ description: Org url of the org
602
+ required: true
603
+ 'Access-Token':
604
+ type: string
605
+ description: Access token of url
606
+ required: true
607
+ responses:
608
+ 200:
609
+ description: Returns the success response with list of entities.
610
+ body:
611
+ application/json:
612
+ type: EntitiesOutputRepresentation
613
+ 400:
614
+ description: Returns the error if entities not found.
615
+ body:
616
+ application/json:
617
+ type: PreSignedUrlServerErrorRepresentation
618
+ 403:
619
+ description: Returns the error if entities are not found.
620
+ body:
621
+ application/json:
622
+ type: PreSignedUrlServerErrorRepresentation
623
+ 500:
624
+ description: Returns the error if server throws error
625
+ body:
626
+ application/json:
627
+ type: PreSignedUrlServerErrorRepresentation
628
+ body:
629
+ application/json:
630
+ type: OrgEntitiesInputRepresentation
631
+ /data-seed-migrate:
632
+ post:
633
+ displayName: MigrateData
634
+ description: Migrate data from source org to target
635
+ headers:
636
+ 'x-client-trace-id':
637
+ type: string
638
+ description: Id to track the request.
639
+ required: true
640
+ 'x-salesforce-region':
641
+ type: string
642
+ description: The region of this request.
643
+ required: true
644
+ 'Org-Url':
645
+ type: string
646
+ description: Org url of the org
647
+ required: true
648
+ 'Access-Token':
649
+ type: string
650
+ description: Access token of url
651
+ required: true
652
+ responses:
653
+ 200:
654
+ description: Returns the success response with request id.
655
+ body:
656
+ application/json:
657
+ type: MigrateDataOutputRepresentation
658
+ 400:
659
+ description: Returns the error if data migration is not possible.
660
+ body:
661
+ application/json:
662
+ type: PreSignedUrlServerErrorRepresentation
663
+ 403:
664
+ description: Returns the error if data migration not allowed.
665
+ body:
666
+ application/json:
667
+ type: PreSignedUrlServerErrorRepresentation
668
+ 500:
669
+ description: Returns the error if server throws error
670
+ body:
671
+ application/json:
672
+ type: PreSignedUrlServerErrorRepresentation
673
+ body:
674
+ application/json:
675
+ type: MigrateDataInputRepresentation
676
+ /data-seed-load/{dataseed_request_id}:
677
+ post:
678
+ displayName: LoadDataToTargetOrg
679
+ description: Load Data To Other Org
680
+ headers:
681
+ 'x-client-trace-id':
682
+ type: string
683
+ description: Id to track the request.
684
+ required: true
685
+ 'x-salesforce-region':
686
+ type: string
687
+ description: The region of this request.
688
+ required: true
689
+ 'Org-Url':
690
+ type: string
691
+ description: Org url of the org
692
+ required: true
693
+ 'Access-Token':
694
+ type: string
695
+ description: Access token of url
696
+ required: true
697
+ responses:
698
+ 200:
699
+ description: Returns the success response with request id.
700
+ body:
701
+ application/json:
702
+ type: MigrateDataOutputRepresentation
703
+ 400:
704
+ description: Returns the error if data load is not possible.
705
+ body:
706
+ application/json:
707
+ type: PreSignedUrlServerErrorRepresentation
708
+ 403:
709
+ description: Returns the error if data load not allowed.
710
+ body:
711
+ application/json:
712
+ type: PreSignedUrlServerErrorRepresentation
713
+ 500:
714
+ description: Returns the error if server throws error
715
+ body:
716
+ application/json:
717
+ type: PreSignedUrlServerErrorRepresentation
718
+ body:
719
+ application/json:
720
+ type: LoadDataInputRepresentation
721
+ uriParameters:
722
+ dataseed_request_id:
723
+ type: string
724
+ required: true
725
+ /data-seed-auth-callback-status/{callback_id}:
726
+ post:
727
+ description: Retrieve the status and details of a previous authorization callback using the callback ID and organization ID.
728
+ displayName: Get Callback Status
729
+ headers:
730
+ 'x-client-trace-id':
731
+ type: string
732
+ description: Id to track the request.
733
+ required: true
734
+ 'x-salesforce-region':
735
+ type: string
736
+ description: The region of this request.
737
+ required: true
738
+ Org-Url:
739
+ description: Org URL of the Org.
740
+ required: true
741
+ type: string
742
+ Access-Token:
743
+ description: Access token of the org.
744
+ required: true
745
+ type: string
746
+ responses:
747
+ 200:
748
+ description: Successfully retrieved callback status.
749
+ body:
750
+ application/json:
751
+ type: AuthCallbackStatusRepresentation
752
+ 404:
753
+ description: Callback not found.
754
+ body:
755
+ application/json:
756
+ type: DataSeedStatusErrorRepresentation
757
+ 500:
758
+ description: Internal Server Error – Failed to retrieve callback status.
759
+ body:
760
+ application/json:
761
+ type: DataSeedStatusErrorRepresentation
762
+ uriParameters:
763
+ callback_id:
764
+ description: The unique callback ID to retrieve status for.
765
+ required: true
766
+ type: string
767
+ /data-seed-fetch-salesforce-object-metadata:
768
+ post:
769
+ displayName: OrgEntitiesDetails
770
+ description: Return List of All Entities
771
+ headers:
772
+ 'x-client-trace-id':
773
+ type: string
774
+ description: Id to track the request.
775
+ required: true
776
+ 'x-salesforce-region':
777
+ type: string
778
+ description: The region of this request.
779
+ required: true
780
+ 'Org-Url':
781
+ type: string
782
+ description: Org url of the org
783
+ required: true
784
+ 'Access-Token':
785
+ type: string
786
+ description: Access token of url
787
+ required: true
788
+ responses:
789
+ 200:
790
+ description: Returns the success response with list of entities.
791
+ body:
792
+ application/json:
793
+ type: EntitiesDetailsOutputRepresentation
794
+ 400:
795
+ description: Returns the error if entities not found.
796
+ body:
797
+ application/json:
798
+ type: PreSignedUrlServerErrorRepresentation
799
+ 403:
800
+ description: Returns the error if entities are not found.
801
+ body:
802
+ application/json:
803
+ type: PreSignedUrlServerErrorRepresentation
804
+ 500:
805
+ description: Returns the error if server throws error
806
+ body:
807
+ application/json:
808
+ type: PreSignedUrlServerErrorRepresentation
809
+ body:
810
+ application/json:
811
+ type: EntitiesDetailsInputRepresentation
812
+ /data-seed-org-details:
813
+ post:
814
+ displayName: FetchSalesforceOrgDetails
815
+ description: Retrieves details of a Salesforce organization using the provided organization ID, URL, and access token.
816
+ headers:
817
+ 'x-client-trace-id':
818
+ type: string
819
+ description: Id to track the request.
820
+ required: true
821
+ 'x-salesforce-region':
822
+ type: string
823
+ description: The region of this request.
824
+ required: true
825
+ 'Org-Url':
826
+ type: string
827
+ description: Org URL of the Org
828
+ required: true
829
+ 'Access-Token':
830
+ type: string
831
+ description: Access token of the org
832
+ required: true
833
+ responses:
834
+ 200:
835
+ description: Successfully fetched Salesforce organization details
836
+ body:
837
+ application/json:
838
+ type: OrgDetailsRepresentation
839
+ 400:
840
+ description: Bad Request - Missing or invalid parameters
841
+ body:
842
+ application/json:
843
+ type: OrgDetailsErrorRepresentation
844
+ 500:
845
+ description: Internal Server Error - Something went wrong on the server
846
+ body:
847
+ application/json:
848
+ type: OrgDetailsErrorRepresentation
849
+ /data-seed-generate:
850
+ post:
851
+ description: Generate Data API
852
+ displayName: generateDataAPI
853
+ headers:
854
+ 'x-client-trace-id':
855
+ type: string
856
+ description: Id to track the request.
857
+ required: true
858
+ 'x-salesforce-region':
859
+ type: string
860
+ description: The region of this request.
861
+ required: true
862
+ Org-Url:
863
+ description: Org URL of the Org.
864
+ required: true
865
+ type: string
866
+ Access-Token:
867
+ description: Access token of the org.
868
+ required: true
869
+ type: string
870
+ responses:
871
+ 200:
872
+ description: Successfully retrieved callback status.
873
+ body:
874
+ application/json:
875
+ type: MigrateDataOutputRepresentation
876
+ 400:
877
+ description: Bad request
878
+ body:
879
+ application/json:
880
+ type: PreSignedUrlServerErrorRepresentation
881
+ 404:
882
+ description: Config not found
883
+ body:
884
+ application/json:
885
+ type: PreSignedUrlServerErrorRepresentation
886
+ 500:
887
+ description: Internal Server Error – Failed to retrieve callback status.
888
+ body:
889
+ application/json:
890
+ type: PreSignedUrlServerErrorRepresentation
891
+ body:
892
+ application/json:
893
+ type: MigrateDataInputRepresentation
894
+ description: |
895
+ Data Seed service owned by AI Data Seeding Platform team that migrate or generates the data to a target org
896
+ mediaType:
897
+ - application/json
898
+ baseUri: api.salesforce.com