@salesforce/lds-adapters-cdp-byoc 1.419.0 → 1.421.0
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.
|
@@ -176,7 +176,7 @@ function equals$5(existing, incoming) {
|
|
|
176
176
|
return true;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
const VERSION$4 = "
|
|
179
|
+
const VERSION$4 = "910d042ceaedd551cb164550c6f557e0";
|
|
180
180
|
function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
181
181
|
const v_error = (() => {
|
|
182
182
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -255,6 +255,13 @@ function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
|
255
255
|
if (typeof obj_id !== 'string') {
|
|
256
256
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
257
257
|
}
|
|
258
|
+
if (obj.isRemote !== undefined) {
|
|
259
|
+
const obj_isRemote = obj.isRemote;
|
|
260
|
+
const path_isRemote = path + '.isRemote';
|
|
261
|
+
if (typeof obj_isRemote !== 'boolean') {
|
|
262
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isRemote + '" (at "' + path_isRemote + '")');
|
|
263
|
+
}
|
|
264
|
+
}
|
|
258
265
|
const obj_label = obj.label;
|
|
259
266
|
const path_label = path + '.label';
|
|
260
267
|
if (typeof obj_label !== 'string') {
|
|
@@ -285,6 +292,13 @@ function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
|
285
292
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
286
293
|
}
|
|
287
294
|
}
|
|
295
|
+
if (obj.ownedBy !== undefined) {
|
|
296
|
+
const obj_ownedBy = obj.ownedBy;
|
|
297
|
+
const path_ownedBy = path + '.ownedBy';
|
|
298
|
+
if (typeof obj_ownedBy !== 'string') {
|
|
299
|
+
return new TypeError('Expected "string" but received "' + typeof obj_ownedBy + '" (at "' + path_ownedBy + '")');
|
|
300
|
+
}
|
|
301
|
+
}
|
|
288
302
|
const obj_parameters = obj.parameters;
|
|
289
303
|
const path_parameters = path + '.parameters';
|
|
290
304
|
if (typeof obj_parameters !== 'object' || ArrayIsArray(obj_parameters) || obj_parameters === null) {
|
|
@@ -387,6 +401,11 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
387
401
|
name: 'id',
|
|
388
402
|
kind: 'Scalar'
|
|
389
403
|
},
|
|
404
|
+
{
|
|
405
|
+
name: 'isRemote',
|
|
406
|
+
kind: 'Scalar',
|
|
407
|
+
required: false
|
|
408
|
+
},
|
|
390
409
|
{
|
|
391
410
|
name: 'label',
|
|
392
411
|
kind: 'Scalar'
|
|
@@ -409,6 +428,11 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
409
428
|
kind: 'Scalar',
|
|
410
429
|
required: false
|
|
411
430
|
},
|
|
431
|
+
{
|
|
432
|
+
name: 'ownedBy',
|
|
433
|
+
kind: 'Scalar',
|
|
434
|
+
required: false
|
|
435
|
+
},
|
|
412
436
|
{
|
|
413
437
|
name: 'parameters',
|
|
414
438
|
kind: 'Object',
|
|
@@ -430,6 +454,19 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
430
454
|
};
|
|
431
455
|
};
|
|
432
456
|
function equals$4(existing, incoming) {
|
|
457
|
+
const existing_isRemote = existing.isRemote;
|
|
458
|
+
const incoming_isRemote = incoming.isRemote;
|
|
459
|
+
// if at least one of these optionals is defined
|
|
460
|
+
if (existing_isRemote !== undefined || incoming_isRemote !== undefined) {
|
|
461
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
462
|
+
// not equal
|
|
463
|
+
if (existing_isRemote === undefined || incoming_isRemote === undefined) {
|
|
464
|
+
return false;
|
|
465
|
+
}
|
|
466
|
+
if (!(existing_isRemote === incoming_isRemote)) {
|
|
467
|
+
return false;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
433
470
|
const existing_deploymentFailureCode = existing.deploymentFailureCode;
|
|
434
471
|
const incoming_deploymentFailureCode = incoming.deploymentFailureCode;
|
|
435
472
|
// if at least one of these optionals is defined
|
|
@@ -527,6 +564,19 @@ function equals$4(existing, incoming) {
|
|
|
527
564
|
return false;
|
|
528
565
|
}
|
|
529
566
|
}
|
|
567
|
+
const existing_ownedBy = existing.ownedBy;
|
|
568
|
+
const incoming_ownedBy = incoming.ownedBy;
|
|
569
|
+
// if at least one of these optionals is defined
|
|
570
|
+
if (existing_ownedBy !== undefined || incoming_ownedBy !== undefined) {
|
|
571
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
572
|
+
// not equal
|
|
573
|
+
if (existing_ownedBy === undefined || incoming_ownedBy === undefined) {
|
|
574
|
+
return false;
|
|
575
|
+
}
|
|
576
|
+
if (!(existing_ownedBy === incoming_ownedBy)) {
|
|
577
|
+
return false;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
530
580
|
const existing_status = existing.status;
|
|
531
581
|
const incoming_status = incoming.status;
|
|
532
582
|
if (!(existing_status === incoming_status)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "910d042ceaedd551cb164550c6f557e0";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -46,6 +46,8 @@ export interface CustomCodeDeploymentRepresentationNormalized {
|
|
|
46
46
|
functionInvokeOptions?: Array<string>;
|
|
47
47
|
/** The 18 character ID of the asset */
|
|
48
48
|
id: string;
|
|
49
|
+
/** Whether this code package is owned by another organization */
|
|
50
|
+
isRemote?: boolean;
|
|
49
51
|
/** Label of the asset */
|
|
50
52
|
label: string;
|
|
51
53
|
/** Last modified by */
|
|
@@ -56,6 +58,8 @@ export interface CustomCodeDeploymentRepresentationNormalized {
|
|
|
56
58
|
name: string;
|
|
57
59
|
/** Namespace of the asset */
|
|
58
60
|
namespace?: string;
|
|
61
|
+
/** The organization owning this code package */
|
|
62
|
+
ownedBy?: string;
|
|
59
63
|
/** Parameters of custom code deployment */
|
|
60
64
|
parameters: {
|
|
61
65
|
[key: string]: unknown;
|
|
@@ -85,11 +89,13 @@ export interface CustomCodeDeploymentRepresentation {
|
|
|
85
89
|
fileUploadUrl: string;
|
|
86
90
|
functionInvokeOptions?: Array<string>;
|
|
87
91
|
id: string;
|
|
92
|
+
isRemote?: boolean;
|
|
88
93
|
label: string;
|
|
89
94
|
lastModifiedBy: CdpUserRepresentation_CdpUserRepresentation;
|
|
90
95
|
lastModifiedDate: string;
|
|
91
96
|
name: string;
|
|
92
97
|
namespace?: string;
|
|
98
|
+
ownedBy?: string;
|
|
93
99
|
parameters: {
|
|
94
100
|
[key: string]: unknown;
|
|
95
101
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-byoc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.421.0",
|
|
4
4
|
"description": "Used to connect to the CDP BYOC service in core and off-core",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-byoc.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.421.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.421.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -186,7 +186,7 @@ function equals$5(existing, incoming) {
|
|
|
186
186
|
return true;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
const VERSION$4 = "
|
|
189
|
+
const VERSION$4 = "910d042ceaedd551cb164550c6f557e0";
|
|
190
190
|
function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
191
191
|
const v_error = (() => {
|
|
192
192
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -265,6 +265,13 @@ function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
|
265
265
|
if (typeof obj_id !== 'string') {
|
|
266
266
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
267
267
|
}
|
|
268
|
+
if (obj.isRemote !== undefined) {
|
|
269
|
+
const obj_isRemote = obj.isRemote;
|
|
270
|
+
const path_isRemote = path + '.isRemote';
|
|
271
|
+
if (typeof obj_isRemote !== 'boolean') {
|
|
272
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isRemote + '" (at "' + path_isRemote + '")');
|
|
273
|
+
}
|
|
274
|
+
}
|
|
268
275
|
const obj_label = obj.label;
|
|
269
276
|
const path_label = path + '.label';
|
|
270
277
|
if (typeof obj_label !== 'string') {
|
|
@@ -295,6 +302,13 @@ function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
|
295
302
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
296
303
|
}
|
|
297
304
|
}
|
|
305
|
+
if (obj.ownedBy !== undefined) {
|
|
306
|
+
const obj_ownedBy = obj.ownedBy;
|
|
307
|
+
const path_ownedBy = path + '.ownedBy';
|
|
308
|
+
if (typeof obj_ownedBy !== 'string') {
|
|
309
|
+
return new TypeError('Expected "string" but received "' + typeof obj_ownedBy + '" (at "' + path_ownedBy + '")');
|
|
310
|
+
}
|
|
311
|
+
}
|
|
298
312
|
const obj_parameters = obj.parameters;
|
|
299
313
|
const path_parameters = path + '.parameters';
|
|
300
314
|
if (typeof obj_parameters !== 'object' || ArrayIsArray(obj_parameters) || obj_parameters === null) {
|
|
@@ -397,6 +411,11 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
397
411
|
name: 'id',
|
|
398
412
|
kind: 'Scalar'
|
|
399
413
|
},
|
|
414
|
+
{
|
|
415
|
+
name: 'isRemote',
|
|
416
|
+
kind: 'Scalar',
|
|
417
|
+
required: false
|
|
418
|
+
},
|
|
400
419
|
{
|
|
401
420
|
name: 'label',
|
|
402
421
|
kind: 'Scalar'
|
|
@@ -419,6 +438,11 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
419
438
|
kind: 'Scalar',
|
|
420
439
|
required: false
|
|
421
440
|
},
|
|
441
|
+
{
|
|
442
|
+
name: 'ownedBy',
|
|
443
|
+
kind: 'Scalar',
|
|
444
|
+
required: false
|
|
445
|
+
},
|
|
422
446
|
{
|
|
423
447
|
name: 'parameters',
|
|
424
448
|
kind: 'Object',
|
|
@@ -440,6 +464,19 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
440
464
|
};
|
|
441
465
|
};
|
|
442
466
|
function equals$4(existing, incoming) {
|
|
467
|
+
const existing_isRemote = existing.isRemote;
|
|
468
|
+
const incoming_isRemote = incoming.isRemote;
|
|
469
|
+
// if at least one of these optionals is defined
|
|
470
|
+
if (existing_isRemote !== undefined || incoming_isRemote !== undefined) {
|
|
471
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
472
|
+
// not equal
|
|
473
|
+
if (existing_isRemote === undefined || incoming_isRemote === undefined) {
|
|
474
|
+
return false;
|
|
475
|
+
}
|
|
476
|
+
if (!(existing_isRemote === incoming_isRemote)) {
|
|
477
|
+
return false;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
443
480
|
const existing_deploymentFailureCode = existing.deploymentFailureCode;
|
|
444
481
|
const incoming_deploymentFailureCode = incoming.deploymentFailureCode;
|
|
445
482
|
// if at least one of these optionals is defined
|
|
@@ -537,6 +574,19 @@ function equals$4(existing, incoming) {
|
|
|
537
574
|
return false;
|
|
538
575
|
}
|
|
539
576
|
}
|
|
577
|
+
const existing_ownedBy = existing.ownedBy;
|
|
578
|
+
const incoming_ownedBy = incoming.ownedBy;
|
|
579
|
+
// if at least one of these optionals is defined
|
|
580
|
+
if (existing_ownedBy !== undefined || incoming_ownedBy !== undefined) {
|
|
581
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
582
|
+
// not equal
|
|
583
|
+
if (existing_ownedBy === undefined || incoming_ownedBy === undefined) {
|
|
584
|
+
return false;
|
|
585
|
+
}
|
|
586
|
+
if (!(existing_ownedBy === incoming_ownedBy)) {
|
|
587
|
+
return false;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
540
590
|
const existing_status = existing.status;
|
|
541
591
|
const incoming_status = incoming.status;
|
|
542
592
|
if (!(existing_status === incoming_status)) {
|
|
@@ -2287,4 +2337,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2287
2337
|
});
|
|
2288
2338
|
|
|
2289
2339
|
export { createCustomCodeDeployment, deleteCustomCodeDeployment, getCustomCodeDeployment, getCustomCodeDeploymentNotifyChange, getCustomCodeDeployment_imperative, getCustomCodeDeployments, getCustomCodeDeployments_imperative, getCustomCodeExecution, getCustomCodeExecutionLogs, getCustomCodeExecutionLogs_imperative, getCustomCodeExecution_imperative, getCustomCodeExecutions, getCustomCodeExecutions_imperative, updateCustomCodeDeployment };
|
|
2290
|
-
// version: 1.
|
|
2340
|
+
// version: 1.421.0-45320a2742
|
package/src/raml/api.raml
CHANGED
|
@@ -196,6 +196,12 @@ types:
|
|
|
196
196
|
//:
|
|
197
197
|
# Hand rolled as we are using the Object type in Java which can refer to any data class
|
|
198
198
|
type: any
|
|
199
|
+
ownedBy?:
|
|
200
|
+
description: The organization owning this code package
|
|
201
|
+
type: string
|
|
202
|
+
isRemote?:
|
|
203
|
+
description: Whether this code package is owned by another organization
|
|
204
|
+
type: boolean
|
|
199
205
|
status:
|
|
200
206
|
description: Sync status of the custom code deployment
|
|
201
207
|
type: string
|