@salesforce/lds-adapters-cdp-byoc 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-byoc.js +1039 -209
- package/dist/es/es2018/types/src/generated/adapters/createCustomCodeDeployment.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeDeployments.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeExecution.d.ts +28 -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/adapters/updateCustomCodeDeployment.d.ts +1 -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 +7 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCode.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeExecutionsByCustomCodeExecutionIdAndCustomCodeNameOrId.d.ts +16 -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/resources/patchSsotDataCustomCodeByCustomCodeNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCustomCode.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeDeploymentInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CustomCodeDeploymentRepresentation.d.ts +3 -3
- 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/dist/es/es2018/types/src/generated/types/CustomCodePatchInputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +1108 -251
- package/src/raml/api.raml +167 -2
- package/src/raml/luvio.raml +14 -0
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '63.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v64.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -52,6 +52,13 @@ types:
|
|
|
52
52
|
enum:
|
|
53
53
|
- Function
|
|
54
54
|
- Script
|
|
55
|
+
functionInvokeOptions?:
|
|
56
|
+
description: List of function invoke options
|
|
57
|
+
type: array
|
|
58
|
+
items:
|
|
59
|
+
type: string
|
|
60
|
+
enum:
|
|
61
|
+
- UnstructuredChunking
|
|
55
62
|
computeType:
|
|
56
63
|
description: Compute type for executions of the custom code
|
|
57
64
|
type: string
|
|
@@ -186,7 +193,8 @@ types:
|
|
|
186
193
|
type: object
|
|
187
194
|
properties:
|
|
188
195
|
//:
|
|
189
|
-
type
|
|
196
|
+
# Hand rolled as we are using the Object type in Java which can refer to any data class
|
|
197
|
+
type: any
|
|
190
198
|
status:
|
|
191
199
|
description: Sync status of the custom code deployment
|
|
192
200
|
type: string
|
|
@@ -222,6 +230,83 @@ types:
|
|
|
222
230
|
totalSize:
|
|
223
231
|
description: Total size of collection
|
|
224
232
|
type: integer
|
|
233
|
+
CustomCodeExecutionBaseRepresentation:
|
|
234
|
+
description: BYOC Custom Code Executions
|
|
235
|
+
type: object
|
|
236
|
+
properties:
|
|
237
|
+
durationInSeconds:
|
|
238
|
+
description: duration of code execution in seconds
|
|
239
|
+
type: integer
|
|
240
|
+
endTime:
|
|
241
|
+
description: end time of code execution
|
|
242
|
+
type: string
|
|
243
|
+
errorCode?:
|
|
244
|
+
description: error code
|
|
245
|
+
type: integer
|
|
246
|
+
errorMessage?:
|
|
247
|
+
description: detailed error message
|
|
248
|
+
type: string
|
|
249
|
+
id:
|
|
250
|
+
description: BYOC Custom Code Execution Id
|
|
251
|
+
type: string
|
|
252
|
+
rowsRead:
|
|
253
|
+
description: number of objects read
|
|
254
|
+
# Hand-rolled: The current API spec defines this are int64 but Luvio
|
|
255
|
+
# only supports a max of int32. The actual service producing the value
|
|
256
|
+
# casts this as a standard Java int which allows us to use the default
|
|
257
|
+
# of int32
|
|
258
|
+
# format: int64
|
|
259
|
+
type: integer
|
|
260
|
+
rowsWritten:
|
|
261
|
+
description: number of objects written
|
|
262
|
+
# Hand-rolled: The current API spec defines this are int64 but Luvio
|
|
263
|
+
# only supports a max of int32. The actual service producing the value
|
|
264
|
+
# casts this as a standard Java int which allows us to use the default
|
|
265
|
+
# of int32
|
|
266
|
+
# format: int64
|
|
267
|
+
type: integer
|
|
268
|
+
startTime:
|
|
269
|
+
description: start time of code execution
|
|
270
|
+
type: string
|
|
271
|
+
status:
|
|
272
|
+
description: BYOC Custom Code Execution Status
|
|
273
|
+
type: string
|
|
274
|
+
enum:
|
|
275
|
+
- Cancelled
|
|
276
|
+
- Failure
|
|
277
|
+
- Running
|
|
278
|
+
- Success
|
|
279
|
+
submittedTime:
|
|
280
|
+
description: time when execution was submitted
|
|
281
|
+
type: string
|
|
282
|
+
CustomCodeExecutionCollectionRepresentation:
|
|
283
|
+
description: BYOC Custom Code Execution Collection
|
|
284
|
+
# Hand-rolled: Combines this object with the original
|
|
285
|
+
# base object (CdpPaginatedResponseBaseRepresentation) as Luvio
|
|
286
|
+
# does not like multiple levels of inheritance in objects
|
|
287
|
+
type: object
|
|
288
|
+
properties:
|
|
289
|
+
currentPageUrl?:
|
|
290
|
+
description: Current page url
|
|
291
|
+
type: string
|
|
292
|
+
executions:
|
|
293
|
+
description: BYOC Custom Code Collection of Executions
|
|
294
|
+
type: array
|
|
295
|
+
items:
|
|
296
|
+
type: CustomCodeExecutionBaseRepresentation
|
|
297
|
+
nextPageUrl?:
|
|
298
|
+
description: Next page url if it exists
|
|
299
|
+
type: string
|
|
300
|
+
totalSize?:
|
|
301
|
+
description: Total size of collection
|
|
302
|
+
type: integer
|
|
303
|
+
CustomCodeExecutionLogRepresentation:
|
|
304
|
+
description: BYOC Custom Code Execution Log
|
|
305
|
+
type: object
|
|
306
|
+
properties:
|
|
307
|
+
downloadUrl:
|
|
308
|
+
description: BYOC Custom Code Execution Log
|
|
309
|
+
type: string
|
|
225
310
|
CustomCodePatchInputRepresentation:
|
|
226
311
|
description: Input representation for updating a Custom Code Deployment
|
|
227
312
|
type: object
|
|
@@ -243,6 +328,13 @@ types:
|
|
|
243
328
|
- High_memory_cpu_m
|
|
244
329
|
- High_memory_cpu_s
|
|
245
330
|
- High_memory_cpu_xs
|
|
331
|
+
functionInvokeOptions?:
|
|
332
|
+
description: List of function invoke options
|
|
333
|
+
type: array
|
|
334
|
+
items:
|
|
335
|
+
type: string
|
|
336
|
+
enum:
|
|
337
|
+
- UnstructuredChunking
|
|
246
338
|
description?:
|
|
247
339
|
description: Description of the custom code deployment
|
|
248
340
|
type: string
|
|
@@ -279,6 +371,24 @@ types:
|
|
|
279
371
|
application/json:
|
|
280
372
|
type: CustomCodeDeploymentCollectionRepresentation
|
|
281
373
|
queryParameters:
|
|
374
|
+
codeType:
|
|
375
|
+
type: string
|
|
376
|
+
required: false
|
|
377
|
+
enum:
|
|
378
|
+
- Function
|
|
379
|
+
- Script
|
|
380
|
+
deploymentStatus:
|
|
381
|
+
type: string
|
|
382
|
+
required: false
|
|
383
|
+
enum:
|
|
384
|
+
- Deployed
|
|
385
|
+
- Error
|
|
386
|
+
- Initializing
|
|
387
|
+
- Pending
|
|
388
|
+
- Scanning
|
|
389
|
+
label:
|
|
390
|
+
type: string
|
|
391
|
+
required: false
|
|
282
392
|
limit:
|
|
283
393
|
type: integer
|
|
284
394
|
required: false
|
|
@@ -326,3 +436,58 @@ types:
|
|
|
326
436
|
customCodeNameOrId:
|
|
327
437
|
type: string
|
|
328
438
|
required: true
|
|
439
|
+
/data-custom-code/{customCodeNameOrId}/executions:
|
|
440
|
+
get:
|
|
441
|
+
displayName: getCdpCustomCodeExecution
|
|
442
|
+
description: BYOC Custom Code Executions
|
|
443
|
+
responses:
|
|
444
|
+
'200':
|
|
445
|
+
description: Success
|
|
446
|
+
body:
|
|
447
|
+
application/json:
|
|
448
|
+
type: CustomCodeExecutionCollectionRepresentation
|
|
449
|
+
queryParameters:
|
|
450
|
+
limit:
|
|
451
|
+
type: integer
|
|
452
|
+
required: false
|
|
453
|
+
offset:
|
|
454
|
+
type: integer
|
|
455
|
+
required: false
|
|
456
|
+
uriParameters:
|
|
457
|
+
customCodeNameOrId:
|
|
458
|
+
type: string
|
|
459
|
+
required: true
|
|
460
|
+
/data-custom-code/{customCodeNameOrId}/executions/{customCodeExecutionId}:
|
|
461
|
+
get:
|
|
462
|
+
displayName: getCdpCustomCodeExecutionSingle
|
|
463
|
+
description: BYOC Custom Code Execution
|
|
464
|
+
responses:
|
|
465
|
+
'200':
|
|
466
|
+
description: Success
|
|
467
|
+
body:
|
|
468
|
+
application/json:
|
|
469
|
+
type: CustomCodeExecutionBaseRepresentation
|
|
470
|
+
uriParameters:
|
|
471
|
+
customCodeExecutionId:
|
|
472
|
+
type: string
|
|
473
|
+
required: true
|
|
474
|
+
customCodeNameOrId:
|
|
475
|
+
type: string
|
|
476
|
+
required: true
|
|
477
|
+
/data-custom-code/{customCodeNameOrId}/executions/{customCodeExecutionId}/logs:
|
|
478
|
+
get:
|
|
479
|
+
displayName: getCdpCustomCodeExecutionLog
|
|
480
|
+
description: BYOC Custom Code logs for an Execution
|
|
481
|
+
responses:
|
|
482
|
+
'200':
|
|
483
|
+
description: Success
|
|
484
|
+
body:
|
|
485
|
+
application/json:
|
|
486
|
+
type: CustomCodeExecutionLogRepresentation
|
|
487
|
+
uriParameters:
|
|
488
|
+
customCodeExecutionId:
|
|
489
|
+
type: string
|
|
490
|
+
required: true
|
|
491
|
+
customCodeNameOrId:
|
|
492
|
+
type: string
|
|
493
|
+
required: true
|
package/src/raml/luvio.raml
CHANGED
|
@@ -40,3 +40,17 @@ 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}:
|
|
50
|
+
get:
|
|
51
|
+
(luvio.adapter):
|
|
52
|
+
name: getCustomCodeExecution
|
|
53
|
+
/logs:
|
|
54
|
+
get:
|
|
55
|
+
(luvio.adapter):
|
|
56
|
+
name: getCustomCodeExecutionLogs
|