@salesforce/lds-adapters-cdp-data-transform 1.354.0-dev2 → 1.354.0-dev21
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 +1708 -88
- 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/adapters/updateDataTransform.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -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/resources/putSsotDataTransformsByDataTransformNameOrId.d.ts +34 -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/DataObjectFieldRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/DataObjectRepresentation.d.ts +15 -11
- 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 +1887 -204
- package/src/raml/api.raml +197 -5
- package/src/raml/luvio.raml +21 -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?:
|
|
@@ -120,7 +120,7 @@ types:
|
|
|
120
120
|
isPrimaryKey:
|
|
121
121
|
description: Is Primary Key
|
|
122
122
|
type: boolean
|
|
123
|
-
keyQualifierField
|
|
123
|
+
keyQualifierField?:
|
|
124
124
|
description: Key Qualifier Field
|
|
125
125
|
type: string
|
|
126
126
|
label:
|
|
@@ -149,7 +149,7 @@ types:
|
|
|
149
149
|
discriminator: type
|
|
150
150
|
type: CdpAssetBaseRepresentation
|
|
151
151
|
properties:
|
|
152
|
-
category
|
|
152
|
+
category?:
|
|
153
153
|
description: Category
|
|
154
154
|
type: string
|
|
155
155
|
enum:
|
|
@@ -159,7 +159,7 @@ types:
|
|
|
159
159
|
eventDateTimeFieldName?:
|
|
160
160
|
description: Event Date Time Field
|
|
161
161
|
type: string
|
|
162
|
-
fields
|
|
162
|
+
fields?:
|
|
163
163
|
description: Fields
|
|
164
164
|
type: array
|
|
165
165
|
items:
|
|
@@ -167,7 +167,7 @@ types:
|
|
|
167
167
|
recordModifiedFieldName?:
|
|
168
168
|
description: Record Modified Field
|
|
169
169
|
type: string
|
|
170
|
-
type
|
|
170
|
+
type?:
|
|
171
171
|
description: Type of Data Object
|
|
172
172
|
type: string
|
|
173
173
|
enum:
|
|
@@ -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,61 @@ 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): dataTransformObject
|
|
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
|
|
432
|
+
put:
|
|
433
|
+
displayName: putCdpDataTransform
|
|
434
|
+
description: Put a data transform
|
|
435
|
+
responses:
|
|
436
|
+
'200':
|
|
437
|
+
description: Success
|
|
438
|
+
body:
|
|
439
|
+
application/json:
|
|
440
|
+
type: DataTransformRepresentation
|
|
441
|
+
queryParameters:
|
|
442
|
+
filterGroup:
|
|
443
|
+
type: string
|
|
444
|
+
required: false
|
|
445
|
+
body:
|
|
446
|
+
application/json:
|
|
447
|
+
type: DataTransformInputRepresentation
|
|
448
|
+
(oas-body-name): dataTransformObject
|
|
449
|
+
uriParameters:
|
|
450
|
+
dataTransformNameOrId:
|
|
451
|
+
type: string
|
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,21 @@ 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
|
|
46
|
+
put:
|
|
47
|
+
(luvio.adapter):
|
|
48
|
+
name: updateDataTransform
|