@salesforce/lds-adapters-cdp-byoc 1.332.0-dev20 → 1.332.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 +645 -44
- package/dist/es/es2018/types/src/generated/adapters/deleteCustomCodeDeployment.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeDeployment.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeDeployments.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCustomCodeDeployment.d.ts +19 -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 +8 -1
- package/dist/es/es2018/types/src/generated/resources/deleteSsotDataCustomCodeByCustomCodeNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCode.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeByCustomCodeNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotDataCustomCodeByCustomCodeNameOrId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeDeploymentCollectionRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodePatchInputRepresentation.d.ts +37 -0
- package/package.json +3 -3
- package/sfdc/index.js +712 -46
- package/src/raml/api.raml +108 -0
- package/src/raml/luvio.raml +17 -0
package/src/raml/api.raml
CHANGED
|
@@ -201,6 +201,57 @@ types:
|
|
|
201
201
|
version:
|
|
202
202
|
description: Version of the custom code
|
|
203
203
|
type: string
|
|
204
|
+
CustomCodeDeploymentCollectionRepresentation:
|
|
205
|
+
description: Custom Code Deployment collection
|
|
206
|
+
# Hand-rolled: Combines this object with the original
|
|
207
|
+
# base object (CdpPaginatedResponseBaseRepresentation) as Luvio
|
|
208
|
+
# does not like multiple levels of inheritance in objects
|
|
209
|
+
type: object
|
|
210
|
+
properties:
|
|
211
|
+
customCodeDeployments:
|
|
212
|
+
description: The custom code deployments.
|
|
213
|
+
type: array
|
|
214
|
+
items:
|
|
215
|
+
type: CustomCodeDeploymentRepresentation
|
|
216
|
+
currentPageUrl:
|
|
217
|
+
description: Current page url
|
|
218
|
+
type: string
|
|
219
|
+
nextPageUrl?:
|
|
220
|
+
description: Next page url if it exists
|
|
221
|
+
type: string
|
|
222
|
+
totalSize:
|
|
223
|
+
description: Total size of collection
|
|
224
|
+
type: integer
|
|
225
|
+
CustomCodePatchInputRepresentation:
|
|
226
|
+
description: Input representation for updating a Custom Code Deployment
|
|
227
|
+
type: object
|
|
228
|
+
properties:
|
|
229
|
+
# Hand-rolled: None of these props are required
|
|
230
|
+
computeType?:
|
|
231
|
+
description: Compute type for executions of the custom code
|
|
232
|
+
type: string
|
|
233
|
+
enum:
|
|
234
|
+
- Cpu_l
|
|
235
|
+
- Cpu_m
|
|
236
|
+
- Cpu_s
|
|
237
|
+
- Cpu_xs
|
|
238
|
+
- High_cpu_l
|
|
239
|
+
- High_cpu_m
|
|
240
|
+
- High_cpu_s
|
|
241
|
+
- High_cpu_xs
|
|
242
|
+
- High_memory_cpu_l
|
|
243
|
+
- High_memory_cpu_m
|
|
244
|
+
- High_memory_cpu_s
|
|
245
|
+
- High_memory_cpu_xs
|
|
246
|
+
description?:
|
|
247
|
+
description: Description of the custom code deployment
|
|
248
|
+
type: string
|
|
249
|
+
label?:
|
|
250
|
+
description: Label of the custom code deployment
|
|
251
|
+
type: string
|
|
252
|
+
version?:
|
|
253
|
+
description: Version of the custom code
|
|
254
|
+
type: string
|
|
204
255
|
/ssot:
|
|
205
256
|
/data-custom-code:
|
|
206
257
|
post:
|
|
@@ -218,3 +269,60 @@ types:
|
|
|
218
269
|
# TODO Hand-rolled W-9271732
|
|
219
270
|
# required: false
|
|
220
271
|
(oas-body-name): customCodeDeployment
|
|
272
|
+
get:
|
|
273
|
+
displayName: getCdpCustomCodeDeploymentCollection
|
|
274
|
+
description: Get a list of custom code deployments
|
|
275
|
+
responses:
|
|
276
|
+
'200':
|
|
277
|
+
description: Success
|
|
278
|
+
body:
|
|
279
|
+
application/json:
|
|
280
|
+
type: CustomCodeDeploymentCollectionRepresentation
|
|
281
|
+
queryParameters:
|
|
282
|
+
limit:
|
|
283
|
+
type: integer
|
|
284
|
+
required: false
|
|
285
|
+
offset:
|
|
286
|
+
type: integer
|
|
287
|
+
required: false
|
|
288
|
+
orderBy:
|
|
289
|
+
type: string
|
|
290
|
+
required: false
|
|
291
|
+
enum:
|
|
292
|
+
- NameDesc
|
|
293
|
+
- VersionDesc
|
|
294
|
+
/data-custom-code/{customCodeNameOrId}:
|
|
295
|
+
delete:
|
|
296
|
+
displayName: deleteCdpCustomCodeDeployment
|
|
297
|
+
description: Delete a data custom code
|
|
298
|
+
responses:
|
|
299
|
+
'200':
|
|
300
|
+
description: Success
|
|
301
|
+
get:
|
|
302
|
+
displayName: getCdpCustomCodeDeployment
|
|
303
|
+
description: Get a data custom code
|
|
304
|
+
responses:
|
|
305
|
+
'200':
|
|
306
|
+
description: Success
|
|
307
|
+
body:
|
|
308
|
+
application/json:
|
|
309
|
+
type: CustomCodeDeploymentRepresentation
|
|
310
|
+
patch:
|
|
311
|
+
displayName: patchCdpCustomCodeDeployment
|
|
312
|
+
description: Patch a data custom code
|
|
313
|
+
responses:
|
|
314
|
+
'200':
|
|
315
|
+
description: Success
|
|
316
|
+
body:
|
|
317
|
+
application/json:
|
|
318
|
+
type: CustomCodeDeploymentRepresentation
|
|
319
|
+
body:
|
|
320
|
+
application/json:
|
|
321
|
+
type: CustomCodePatchInputRepresentation
|
|
322
|
+
# TODO Hand-rolled W-9271732
|
|
323
|
+
# required: false
|
|
324
|
+
(oas-body-name): customCodeDeployment
|
|
325
|
+
uriParameters:
|
|
326
|
+
customCodeNameOrId:
|
|
327
|
+
type: string
|
|
328
|
+
required: true
|
package/src/raml/luvio.raml
CHANGED
|
@@ -20,6 +20,23 @@ types:
|
|
|
20
20
|
|
|
21
21
|
/ssot:
|
|
22
22
|
/data-custom-code:
|
|
23
|
+
get:
|
|
24
|
+
(luvio.adapter):
|
|
25
|
+
name: getCustomCodeDeployments
|
|
23
26
|
post:
|
|
24
27
|
(luvio.adapter):
|
|
25
28
|
name: createCustomCodeDeployment
|
|
29
|
+
/{customCodeNameOrId}:
|
|
30
|
+
get:
|
|
31
|
+
(luvio.adapter):
|
|
32
|
+
name: getCustomCodeDeployment
|
|
33
|
+
(luvio.key):
|
|
34
|
+
id: urlParams.customCodeNameOrId
|
|
35
|
+
patch:
|
|
36
|
+
(luvio.adapter):
|
|
37
|
+
name: updateCustomCodeDeployment
|
|
38
|
+
delete:
|
|
39
|
+
(luvio.adapter):
|
|
40
|
+
name: deleteCustomCodeDeployment
|
|
41
|
+
(luvio.key):
|
|
42
|
+
id: urlParams.customCodeNameOrId
|