@salesforce/lds-adapters-cdp-byoc 1.354.0-dev7 → 1.354.0-dev8
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-byoc.js +867 -199
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeDeployments.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeExecutionLogs.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeExecutions.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCode.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeExecutionsByCustomCodeNameOrId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeExecutionsLogsByCustomCodeExecutionIdAndCustomCodeNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeExecutionBaseRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeExecutionCollectionRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeExecutionLogRepresentation.d.ts +28 -0
- package/package.json +3 -3
- package/sfdc/index.js +909 -222
- package/src/raml/api.raml +130 -0
- package/src/raml/luvio.raml +10 -0
package/src/raml/api.raml
CHANGED
|
@@ -223,6 +223,83 @@ types:
|
|
|
223
223
|
totalSize:
|
|
224
224
|
description: Total size of collection
|
|
225
225
|
type: integer
|
|
226
|
+
CustomCodeExecutionBaseRepresentation:
|
|
227
|
+
description: BYOC Custom Code Executions
|
|
228
|
+
type: object
|
|
229
|
+
properties:
|
|
230
|
+
durationInSeconds:
|
|
231
|
+
description: duration of code execution in seconds
|
|
232
|
+
type: integer
|
|
233
|
+
endTime:
|
|
234
|
+
description: end time of code execution
|
|
235
|
+
type: string
|
|
236
|
+
errorCode?:
|
|
237
|
+
description: error code
|
|
238
|
+
type: integer
|
|
239
|
+
errorMessage?:
|
|
240
|
+
description: detailed error message
|
|
241
|
+
type: string
|
|
242
|
+
id:
|
|
243
|
+
description: BYOC Custom Code Execution Id
|
|
244
|
+
type: string
|
|
245
|
+
rowsRead:
|
|
246
|
+
description: number of objects read
|
|
247
|
+
# Hand-rolled: The current API spec defines this are int64 but Luvio
|
|
248
|
+
# only supports a max of int32. The actual service producing the value
|
|
249
|
+
# casts this as a standard Java int which allows us to use the default
|
|
250
|
+
# of int32
|
|
251
|
+
# format: int64
|
|
252
|
+
type: integer
|
|
253
|
+
rowsWritten:
|
|
254
|
+
description: number of objects written
|
|
255
|
+
# Hand-rolled: The current API spec defines this are int64 but Luvio
|
|
256
|
+
# only supports a max of int32. The actual service producing the value
|
|
257
|
+
# casts this as a standard Java int which allows us to use the default
|
|
258
|
+
# of int32
|
|
259
|
+
# format: int64
|
|
260
|
+
type: integer
|
|
261
|
+
startTime:
|
|
262
|
+
description: start time of code execution
|
|
263
|
+
type: string
|
|
264
|
+
status:
|
|
265
|
+
description: BYOC Custom Code Execution Status
|
|
266
|
+
type: string
|
|
267
|
+
enum:
|
|
268
|
+
- Cancelled
|
|
269
|
+
- Failure
|
|
270
|
+
- Running
|
|
271
|
+
- Success
|
|
272
|
+
submittedTime:
|
|
273
|
+
description: time when execution was submitted
|
|
274
|
+
type: string
|
|
275
|
+
CustomCodeExecutionCollectionRepresentation:
|
|
276
|
+
description: BYOC Custom Code Execution Collection
|
|
277
|
+
# Hand-rolled: Combines this object with the original
|
|
278
|
+
# base object (CdpPaginatedResponseBaseRepresentation) as Luvio
|
|
279
|
+
# does not like multiple levels of inheritance in objects
|
|
280
|
+
type: object
|
|
281
|
+
properties:
|
|
282
|
+
currentPageUrl?:
|
|
283
|
+
description: Current page url
|
|
284
|
+
type: string
|
|
285
|
+
executions:
|
|
286
|
+
description: BYOC Custom Code Collection of Executions
|
|
287
|
+
type: array
|
|
288
|
+
items:
|
|
289
|
+
type: CustomCodeExecutionBaseRepresentation
|
|
290
|
+
nextPageUrl?:
|
|
291
|
+
description: Next page url if it exists
|
|
292
|
+
type: string
|
|
293
|
+
totalSize?:
|
|
294
|
+
description: Total size of collection
|
|
295
|
+
type: integer
|
|
296
|
+
CustomCodeExecutionLogRepresentation:
|
|
297
|
+
description: BYOC Custom Code Execution Log
|
|
298
|
+
type: object
|
|
299
|
+
properties:
|
|
300
|
+
downloadUrl:
|
|
301
|
+
description: BYOC Custom Code Execution Log
|
|
302
|
+
type: string
|
|
226
303
|
CustomCodePatchInputRepresentation:
|
|
227
304
|
description: Input representation for updating a Custom Code Deployment
|
|
228
305
|
type: object
|
|
@@ -280,6 +357,21 @@ types:
|
|
|
280
357
|
application/json:
|
|
281
358
|
type: CustomCodeDeploymentCollectionRepresentation
|
|
282
359
|
queryParameters:
|
|
360
|
+
codeType:
|
|
361
|
+
type: string
|
|
362
|
+
required: false
|
|
363
|
+
enum:
|
|
364
|
+
- Function
|
|
365
|
+
- Script
|
|
366
|
+
deploymentStatus:
|
|
367
|
+
type: string
|
|
368
|
+
required: false
|
|
369
|
+
enum:
|
|
370
|
+
- Deployed
|
|
371
|
+
- Error
|
|
372
|
+
- Initializing
|
|
373
|
+
- Pending
|
|
374
|
+
- Scanning
|
|
283
375
|
limit:
|
|
284
376
|
type: integer
|
|
285
377
|
required: false
|
|
@@ -327,3 +419,41 @@ types:
|
|
|
327
419
|
customCodeNameOrId:
|
|
328
420
|
type: string
|
|
329
421
|
required: true
|
|
422
|
+
/data-custom-code/{customCodeNameOrId}/executions:
|
|
423
|
+
get:
|
|
424
|
+
displayName: getCdpCustomCodeExecution
|
|
425
|
+
description: BYOC Custom Code Executions
|
|
426
|
+
responses:
|
|
427
|
+
'200':
|
|
428
|
+
description: Success
|
|
429
|
+
body:
|
|
430
|
+
application/json:
|
|
431
|
+
type: CustomCodeExecutionCollectionRepresentation
|
|
432
|
+
queryParameters:
|
|
433
|
+
limit:
|
|
434
|
+
type: integer
|
|
435
|
+
required: false
|
|
436
|
+
offset:
|
|
437
|
+
type: integer
|
|
438
|
+
required: false
|
|
439
|
+
uriParameters:
|
|
440
|
+
customCodeNameOrId:
|
|
441
|
+
type: string
|
|
442
|
+
required: true
|
|
443
|
+
/data-custom-code/{customCodeNameOrId}/executions/{customCodeExecutionId}/logs:
|
|
444
|
+
get:
|
|
445
|
+
displayName: getCdpCustomCodeExecutionLog
|
|
446
|
+
description: BYOC Custom Code logs for an Execution
|
|
447
|
+
responses:
|
|
448
|
+
'200':
|
|
449
|
+
description: Success
|
|
450
|
+
body:
|
|
451
|
+
application/json:
|
|
452
|
+
type: CustomCodeExecutionLogRepresentation
|
|
453
|
+
uriParameters:
|
|
454
|
+
customCodeExecutionId:
|
|
455
|
+
type: string
|
|
456
|
+
required: true
|
|
457
|
+
customCodeNameOrId:
|
|
458
|
+
type: string
|
|
459
|
+
required: true
|
package/src/raml/luvio.raml
CHANGED
|
@@ -40,3 +40,13 @@ types:
|
|
|
40
40
|
name: deleteCustomCodeDeployment
|
|
41
41
|
(luvio.key):
|
|
42
42
|
id: urlParams.customCodeNameOrId
|
|
43
|
+
/executions:
|
|
44
|
+
get:
|
|
45
|
+
(luvio.adapter):
|
|
46
|
+
name: getCustomCodeExecutions
|
|
47
|
+
(lvuio.key):
|
|
48
|
+
id: urlParams.customCodeNameOrId
|
|
49
|
+
/{customCodeExecutionId}/logs:
|
|
50
|
+
get:
|
|
51
|
+
(luvio.adapter):
|
|
52
|
+
name: getCustomCodeExecutionLogs
|