@salesforce/lds-adapters-cdp-data-transform 1.354.0-dev2 → 1.354.0-dev20
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/dist/es/es2018/cdp-data-transform.js +1448 -110
- package/dist/es/es2018/types/src/generated/adapters/createDataTransform.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteDataTransform.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataTransform.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -1
- package/dist/es/es2018/types/src/generated/resources/deleteSsotDataTransformsByDataTransformNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataTransformsByDataTransformNameOrId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataTransforms.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/BaseActionRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CdpAssetBaseRepresentation.d.ts +20 -6
- package/dist/es/es2018/types/src/generated/types/CdpErrorRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataObjectRepresentation.d.ts +9 -5
- package/dist/es/es2018/types/src/generated/types/DataTransformDefinitionRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/DataTransformRepresentation.d.ts +97 -0
- package/dist/es/es2018/types/src/generated/types/ScheduleRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +1603 -205
- package/src/raml/api.raml +173 -1
- package/src/raml/luvio.raml +18 -0
package/src/raml/api.raml
CHANGED
|
@@ -61,7 +61,7 @@ types:
|
|
|
61
61
|
lastModifiedDate?:
|
|
62
62
|
description: Last modified date
|
|
63
63
|
type: string
|
|
64
|
-
name
|
|
64
|
+
name:
|
|
65
65
|
description: Name of the asset
|
|
66
66
|
type: string
|
|
67
67
|
namespace?:
|
|
@@ -188,6 +188,140 @@ types:
|
|
|
188
188
|
type: array
|
|
189
189
|
items:
|
|
190
190
|
type: DataObjectRepresentation
|
|
191
|
+
BaseActionRepresentation:
|
|
192
|
+
description: Base Action Urls
|
|
193
|
+
type: object
|
|
194
|
+
properties:
|
|
195
|
+
refreshStatusAction:
|
|
196
|
+
description: Url to Refresh Status Action
|
|
197
|
+
type: string
|
|
198
|
+
retryAction:
|
|
199
|
+
description: Url to Retry Action
|
|
200
|
+
type: string
|
|
201
|
+
DataTransformDefinitionRepresentation:
|
|
202
|
+
description: Representation of batch data transform Node
|
|
203
|
+
discriminator: type
|
|
204
|
+
type: object
|
|
205
|
+
properties:
|
|
206
|
+
outputDataObjects:
|
|
207
|
+
description: Output Data Objects that are part of the data transform
|
|
208
|
+
type: array
|
|
209
|
+
items:
|
|
210
|
+
type: DataObjectRepresentation
|
|
211
|
+
type:
|
|
212
|
+
description: Definition type
|
|
213
|
+
type: string
|
|
214
|
+
enum:
|
|
215
|
+
- Dbt
|
|
216
|
+
- Sql
|
|
217
|
+
- Stl
|
|
218
|
+
version:
|
|
219
|
+
description: batch data transform version
|
|
220
|
+
type: string
|
|
221
|
+
CdpErrorRepresentation:
|
|
222
|
+
description: Error response representation
|
|
223
|
+
type: object
|
|
224
|
+
properties:
|
|
225
|
+
errorCode:
|
|
226
|
+
description: Error Code
|
|
227
|
+
type: string
|
|
228
|
+
message:
|
|
229
|
+
description: Message stating the reason for error, if any
|
|
230
|
+
type: string
|
|
231
|
+
ScheduleRepresentation:
|
|
232
|
+
description: Representation of Save Node
|
|
233
|
+
type: object
|
|
234
|
+
properties:
|
|
235
|
+
schedule:
|
|
236
|
+
description: Schedule cron expression
|
|
237
|
+
type: string
|
|
238
|
+
url:
|
|
239
|
+
description: Url to Data Transform schedule
|
|
240
|
+
type: string
|
|
241
|
+
DataTransformRepresentation:
|
|
242
|
+
description: A Data Prep batch data transform.
|
|
243
|
+
discriminatorValue: type
|
|
244
|
+
type: CdpAssetBaseRepresentation
|
|
245
|
+
properties:
|
|
246
|
+
actionUrls:
|
|
247
|
+
description: Actions available for the Data Transform
|
|
248
|
+
type: BaseActionRepresentation
|
|
249
|
+
capabilities?:
|
|
250
|
+
description: Requested capabilities on a data transform
|
|
251
|
+
type: object
|
|
252
|
+
properties:
|
|
253
|
+
//:
|
|
254
|
+
type: boolean
|
|
255
|
+
creationType:
|
|
256
|
+
description: The creation type of the data transform
|
|
257
|
+
type: string
|
|
258
|
+
enum:
|
|
259
|
+
- Custom
|
|
260
|
+
- System
|
|
261
|
+
dataSpaceName:
|
|
262
|
+
description: Data space for the Data Transform
|
|
263
|
+
type: string
|
|
264
|
+
definition:
|
|
265
|
+
description: Data Transform definition
|
|
266
|
+
type: DataTransformDefinitionRepresentation
|
|
267
|
+
description:
|
|
268
|
+
description: Description
|
|
269
|
+
type: string
|
|
270
|
+
lastRunDate:
|
|
271
|
+
description: Last run date
|
|
272
|
+
type: string
|
|
273
|
+
lastRunErrorCode:
|
|
274
|
+
description: Last run error code
|
|
275
|
+
type: CdpErrorRepresentation
|
|
276
|
+
lastRunErrorMessage:
|
|
277
|
+
description: The error message for the last run of the transform. Set if last
|
|
278
|
+
run ended in failure/partial_failure
|
|
279
|
+
type: string
|
|
280
|
+
lastRunStatus:
|
|
281
|
+
description: The last run status
|
|
282
|
+
type: string
|
|
283
|
+
enum:
|
|
284
|
+
- Canceled
|
|
285
|
+
- Failure
|
|
286
|
+
- InProgress
|
|
287
|
+
- None
|
|
288
|
+
- PartialFailure
|
|
289
|
+
- PartiallyCanceled
|
|
290
|
+
- Pending
|
|
291
|
+
- RebuildFailure
|
|
292
|
+
- RebuildPending
|
|
293
|
+
- RebuildSuccess
|
|
294
|
+
- Rebuilding
|
|
295
|
+
- SkippedNoChanges
|
|
296
|
+
- Success
|
|
297
|
+
schedule:
|
|
298
|
+
description: The schedule cron expression current dataflow.
|
|
299
|
+
type: ScheduleRepresentation
|
|
300
|
+
status:
|
|
301
|
+
description: The status of the Data Transform
|
|
302
|
+
type: string
|
|
303
|
+
enum:
|
|
304
|
+
- Active
|
|
305
|
+
- Deleting
|
|
306
|
+
- Error
|
|
307
|
+
- Processing
|
|
308
|
+
tags:
|
|
309
|
+
description: Tags of a data transforms - consumer specific metadata/event
|
|
310
|
+
info
|
|
311
|
+
type: object
|
|
312
|
+
properties:
|
|
313
|
+
//:
|
|
314
|
+
type: string
|
|
315
|
+
type:
|
|
316
|
+
description: Type of Data Transform
|
|
317
|
+
type: string
|
|
318
|
+
enum:
|
|
319
|
+
- Batch
|
|
320
|
+
- Streaming
|
|
321
|
+
version:
|
|
322
|
+
description: Version
|
|
323
|
+
format: double
|
|
324
|
+
type: number
|
|
191
325
|
DataTransformInputRepresentation:
|
|
192
326
|
description: Input representation for creating a Data Transform
|
|
193
327
|
type: object
|
|
@@ -257,3 +391,41 @@ types:
|
|
|
257
391
|
application/json:
|
|
258
392
|
type: DataTransformInputRepresentation
|
|
259
393
|
(oas-body-name): input
|
|
394
|
+
/data-transforms:
|
|
395
|
+
post:
|
|
396
|
+
displayName: postCdpDataTransformCollection
|
|
397
|
+
description: Create a new data transform
|
|
398
|
+
responses:
|
|
399
|
+
'200':
|
|
400
|
+
description: Success
|
|
401
|
+
body:
|
|
402
|
+
application/json:
|
|
403
|
+
type: DataTransformRepresentation
|
|
404
|
+
queryParameters:
|
|
405
|
+
filterGroup:
|
|
406
|
+
type: string
|
|
407
|
+
required: false
|
|
408
|
+
body:
|
|
409
|
+
application/json:
|
|
410
|
+
type: DataTransformInputRepresentation
|
|
411
|
+
(oas-body-name): dataTransformCreateObject
|
|
412
|
+
/data-transforms/{dataTransformNameOrId}:
|
|
413
|
+
get:
|
|
414
|
+
displayName: getCdpDataTransform
|
|
415
|
+
description: Get a data transform
|
|
416
|
+
responses:
|
|
417
|
+
'200':
|
|
418
|
+
description: Success
|
|
419
|
+
body:
|
|
420
|
+
application/json:
|
|
421
|
+
type: DataTransformRepresentation
|
|
422
|
+
queryParameters:
|
|
423
|
+
filterGroup:
|
|
424
|
+
type: string
|
|
425
|
+
required: false
|
|
426
|
+
delete:
|
|
427
|
+
displayName: deleteCdpDataTransform
|
|
428
|
+
description: Delete a data transform
|
|
429
|
+
responses:
|
|
430
|
+
'200':
|
|
431
|
+
description: Success
|
package/src/raml/luvio.raml
CHANGED
|
@@ -18,6 +18,9 @@ types:
|
|
|
18
18
|
(luvio.opaque): true
|
|
19
19
|
DataTransformValidationRepresentation:
|
|
20
20
|
(luvio.opaque): true
|
|
21
|
+
CdpAssetBaseRepresentation:
|
|
22
|
+
(luvio.key):
|
|
23
|
+
name: name
|
|
21
24
|
|
|
22
25
|
/ssot:
|
|
23
26
|
/data-transforms-validation:
|
|
@@ -25,3 +28,18 @@ types:
|
|
|
25
28
|
(luvio.method): get
|
|
26
29
|
(luvio.adapter):
|
|
27
30
|
name: validateDataTransforms
|
|
31
|
+
/data-transforms:
|
|
32
|
+
post:
|
|
33
|
+
(luvio.adapter):
|
|
34
|
+
name: createDataTransform
|
|
35
|
+
/data-transforms/{dataTransformNameOrId}:
|
|
36
|
+
get:
|
|
37
|
+
(luvio.adapter):
|
|
38
|
+
name: getDataTransform
|
|
39
|
+
(luvio.key):
|
|
40
|
+
name: urlParams.dataTransformNameOrId
|
|
41
|
+
delete:
|
|
42
|
+
(luvio.adapter):
|
|
43
|
+
name: deleteDataTransform
|
|
44
|
+
(luvio.key):
|
|
45
|
+
name: urlParams.dataTransformNameOrId
|