@salesforce/lds-adapters-platform-cdp-machine-learning 1.314.0 → 1.315.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.
- package/dist/es/es2018/platform-cdp-machine-learning.js +188 -65
- package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactBaseRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/MlConfiguredModelRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/MlDeprecationConfigurationRepresentation.d.ts +38 -0
- package/package.json +3 -3
- package/sfdc/index.js +203 -80
- package/src/raml/api.raml +32 -3
package/sfdc/index.js
CHANGED
|
@@ -89,7 +89,7 @@ function createLink(ref) {
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
function validate$
|
|
92
|
+
function validate$B(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresentation') {
|
|
93
93
|
const v_error = (() => {
|
|
94
94
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
95
95
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -108,7 +108,7 @@ function validate$A(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresenta
|
|
|
108
108
|
return v_error === undefined ? null : v_error;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
function validate$
|
|
111
|
+
function validate$A(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
|
|
112
112
|
const v_error = (() => {
|
|
113
113
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
114
114
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -121,7 +121,7 @@ function validate$z(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
|
|
|
121
121
|
for (let i = 0; i < obj_customDefinitions.length; i++) {
|
|
122
122
|
const obj_customDefinitions_item = obj_customDefinitions[i];
|
|
123
123
|
const path_customDefinitions_item = path_customDefinitions + '[' + i + ']';
|
|
124
|
-
const referencepath_customDefinitions_itemValidationError = validate$
|
|
124
|
+
const referencepath_customDefinitions_itemValidationError = validate$B(obj_customDefinitions_item, path_customDefinitions_item);
|
|
125
125
|
if (referencepath_customDefinitions_itemValidationError !== null) {
|
|
126
126
|
let message = 'Object doesn\'t match CdpMlCustomizableFieldDefinitionInputRepresentation (at "' + path_customDefinitions_item + '")\n';
|
|
127
127
|
message += referencepath_customDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -142,7 +142,7 @@ function validate$z(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
|
|
|
142
142
|
return v_error === undefined ? null : v_error;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
function validate$
|
|
145
|
+
function validate$z(obj, path = 'CdpAssetReferenceInputRepresentation') {
|
|
146
146
|
const v_error = (() => {
|
|
147
147
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
148
148
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -235,7 +235,7 @@ function validate$y(obj, path = 'CdpAssetReferenceInputRepresentation') {
|
|
|
235
235
|
return v_error === undefined ? null : v_error;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
function validate$
|
|
238
|
+
function validate$y(obj, path = 'CdpMlModelParameterOverrideInputRepresentation') {
|
|
239
239
|
const v_error = (() => {
|
|
240
240
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
241
241
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -328,7 +328,7 @@ function validate$x(obj, path = 'CdpMlModelParameterOverrideInputRepresentation'
|
|
|
328
328
|
return v_error === undefined ? null : v_error;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
function validate$
|
|
331
|
+
function validate$x(obj, path = 'CdpMlFilterValueRepresentation') {
|
|
332
332
|
const v_error = (() => {
|
|
333
333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
334
334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -347,7 +347,7 @@ function validate$w(obj, path = 'CdpMlFilterValueRepresentation') {
|
|
|
347
347
|
return v_error === undefined ? null : v_error;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
function validate$
|
|
350
|
+
function validate$w(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
|
|
351
351
|
const v_error = (() => {
|
|
352
352
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
353
353
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -370,7 +370,7 @@ function validate$v(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
|
|
|
370
370
|
for (let i = 0; i < obj_values.length; i++) {
|
|
371
371
|
const obj_values_item = obj_values[i];
|
|
372
372
|
const path_values_item = path_values + '[' + i + ']';
|
|
373
|
-
const referencepath_values_itemValidationError = validate$
|
|
373
|
+
const referencepath_values_itemValidationError = validate$x(obj_values_item, path_values_item);
|
|
374
374
|
if (referencepath_values_itemValidationError !== null) {
|
|
375
375
|
let message = 'Object doesn\'t match CdpMlFilterValueRepresentation (at "' + path_values_item + '")\n';
|
|
376
376
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -381,7 +381,7 @@ function validate$v(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
|
|
|
381
381
|
return v_error === undefined ? null : v_error;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
function validate$
|
|
384
|
+
function validate$v(obj, path = 'CdpMlFilterRepresentation') {
|
|
385
385
|
const v_error = (() => {
|
|
386
386
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
387
387
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -394,7 +394,7 @@ function validate$u(obj, path = 'CdpMlFilterRepresentation') {
|
|
|
394
394
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
395
395
|
const obj_criteria_item = obj_criteria[i];
|
|
396
396
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
397
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
397
|
+
const referencepath_criteria_itemValidationError = validate$w(obj_criteria_item, path_criteria_item);
|
|
398
398
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
399
399
|
let message = 'Object doesn\'t match CdpMlFilterCriterionBaseRepresentation (at "' + path_criteria_item + '")\n';
|
|
400
400
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -405,14 +405,14 @@ function validate$u(obj, path = 'CdpMlFilterRepresentation') {
|
|
|
405
405
|
return v_error === undefined ? null : v_error;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
function validate$
|
|
408
|
+
function validate$u(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation') {
|
|
409
409
|
const v_error = (() => {
|
|
410
410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
411
411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
412
412
|
}
|
|
413
413
|
const obj_filter = obj.filter;
|
|
414
414
|
const path_filter = path + '.filter';
|
|
415
|
-
const referencepath_filterValidationError = validate$
|
|
415
|
+
const referencepath_filterValidationError = validate$v(obj_filter, path_filter);
|
|
416
416
|
if (referencepath_filterValidationError !== null) {
|
|
417
417
|
let message = 'Object doesn\'t match CdpMlFilterRepresentation (at "' + path_filter + '")\n';
|
|
418
418
|
message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -427,7 +427,7 @@ function validate$t(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation'
|
|
|
427
427
|
return v_error === undefined ? null : v_error;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
function validate$
|
|
430
|
+
function validate$t(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
|
|
431
431
|
const v_error = (() => {
|
|
432
432
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
433
433
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -461,7 +461,7 @@ function validate$s(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
|
|
|
461
461
|
return v_error === undefined ? null : v_error;
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
-
function validate$
|
|
464
|
+
function validate$s(obj, path = 'CdpMlCustomizableFieldRepresentation') {
|
|
465
465
|
const v_error = (() => {
|
|
466
466
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
467
467
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -474,7 +474,7 @@ function validate$r(obj, path = 'CdpMlCustomizableFieldRepresentation') {
|
|
|
474
474
|
for (let i = 0; i < obj_customDefinitions.length; i++) {
|
|
475
475
|
const obj_customDefinitions_item = obj_customDefinitions[i];
|
|
476
476
|
const path_customDefinitions_item = path_customDefinitions + '[' + i + ']';
|
|
477
|
-
const referencepath_customDefinitions_itemValidationError = validate$
|
|
477
|
+
const referencepath_customDefinitions_itemValidationError = validate$u(obj_customDefinitions_item, path_customDefinitions_item);
|
|
478
478
|
if (referencepath_customDefinitions_itemValidationError !== null) {
|
|
479
479
|
let message = 'Object doesn\'t match CdpMlCustomizableFieldDefinitionRepresentation (at "' + path_customDefinitions_item + '")\n';
|
|
480
480
|
message += referencepath_customDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -483,7 +483,7 @@ function validate$r(obj, path = 'CdpMlCustomizableFieldRepresentation') {
|
|
|
483
483
|
}
|
|
484
484
|
const obj_field = obj.field;
|
|
485
485
|
const path_field = path + '.field';
|
|
486
|
-
const referencepath_fieldValidationError = validate$
|
|
486
|
+
const referencepath_fieldValidationError = validate$t(obj_field, path_field);
|
|
487
487
|
if (referencepath_fieldValidationError !== null) {
|
|
488
488
|
let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_field + '")\n';
|
|
489
489
|
message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -498,7 +498,7 @@ function validate$r(obj, path = 'CdpMlCustomizableFieldRepresentation') {
|
|
|
498
498
|
return v_error === undefined ? null : v_error;
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
function validate$
|
|
501
|
+
function validate$r(obj, path = 'CdpUserRepresentation') {
|
|
502
502
|
const v_error = (() => {
|
|
503
503
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
504
504
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -522,7 +522,7 @@ function validate$q(obj, path = 'CdpUserRepresentation') {
|
|
|
522
522
|
return v_error === undefined ? null : v_error;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
-
function validate$
|
|
525
|
+
function validate$q(obj, path = 'CdpAssetReferenceRepresentation') {
|
|
526
526
|
const v_error = (() => {
|
|
527
527
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
528
528
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -530,7 +530,7 @@ function validate$p(obj, path = 'CdpAssetReferenceRepresentation') {
|
|
|
530
530
|
if (obj.createdBy !== undefined) {
|
|
531
531
|
const obj_createdBy = obj.createdBy;
|
|
532
532
|
const path_createdBy = path + '.createdBy';
|
|
533
|
-
const referencepath_createdByValidationError = validate$
|
|
533
|
+
const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
|
|
534
534
|
if (referencepath_createdByValidationError !== null) {
|
|
535
535
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
536
536
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -603,7 +603,7 @@ function validate$p(obj, path = 'CdpAssetReferenceRepresentation') {
|
|
|
603
603
|
if (obj.lastModifiedBy !== undefined) {
|
|
604
604
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
605
605
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
606
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
606
|
+
const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
|
|
607
607
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
608
608
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
609
609
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -726,7 +726,7 @@ function validate$p(obj, path = 'CdpAssetReferenceRepresentation') {
|
|
|
726
726
|
return v_error === undefined ? null : v_error;
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
-
function validate$
|
|
729
|
+
function validate$p(obj, path = 'CdpMlModelParameterOverrideBaseRepresentation') {
|
|
730
730
|
const v_error = (() => {
|
|
731
731
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
732
732
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -755,7 +755,7 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
755
755
|
|
|
756
756
|
const TTL$8 = 1000;
|
|
757
757
|
const VERSION$8 = "f9608bc4ae3825a8da2fc0992ae87b6e";
|
|
758
|
-
function validate$
|
|
758
|
+
function validate$o(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
759
759
|
const v_error = (() => {
|
|
760
760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
761
761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -769,7 +769,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
769
769
|
for (let i = 0; i < obj_actionableFields.length; i++) {
|
|
770
770
|
const obj_actionableFields_item = obj_actionableFields[i];
|
|
771
771
|
const path_actionableFields_item = path_actionableFields + '[' + i + ']';
|
|
772
|
-
const referencepath_actionableFields_itemValidationError = validate$
|
|
772
|
+
const referencepath_actionableFields_itemValidationError = validate$s(obj_actionableFields_item, path_actionableFields_item);
|
|
773
773
|
if (referencepath_actionableFields_itemValidationError !== null) {
|
|
774
774
|
let message = 'Object doesn\'t match CdpMlCustomizableFieldRepresentation (at "' + path_actionableFields_item + '")\n';
|
|
775
775
|
message += referencepath_actionableFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -779,7 +779,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
779
779
|
}
|
|
780
780
|
const obj_artifact = obj.artifact;
|
|
781
781
|
const path_artifact = path + '.artifact';
|
|
782
|
-
const referencepath_artifactValidationError = validate$
|
|
782
|
+
const referencepath_artifactValidationError = validate$q(obj_artifact, path_artifact);
|
|
783
783
|
if (referencepath_artifactValidationError !== null) {
|
|
784
784
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
|
|
785
785
|
message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -793,7 +793,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
793
793
|
if (obj.createdBy !== undefined) {
|
|
794
794
|
const obj_createdBy = obj.createdBy;
|
|
795
795
|
const path_createdBy = path + '.createdBy';
|
|
796
|
-
const referencepath_createdByValidationError = validate$
|
|
796
|
+
const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
|
|
797
797
|
if (referencepath_createdByValidationError !== null) {
|
|
798
798
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
799
799
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -836,7 +836,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
836
836
|
for (let i = 0; i < obj_customizableFields.length; i++) {
|
|
837
837
|
const obj_customizableFields_item = obj_customizableFields[i];
|
|
838
838
|
const path_customizableFields_item = path_customizableFields + '[' + i + ']';
|
|
839
|
-
const referencepath_customizableFields_itemValidationError = validate$
|
|
839
|
+
const referencepath_customizableFields_itemValidationError = validate$s(obj_customizableFields_item, path_customizableFields_item);
|
|
840
840
|
if (referencepath_customizableFields_itemValidationError !== null) {
|
|
841
841
|
let message = 'Object doesn\'t match CdpMlCustomizableFieldRepresentation (at "' + path_customizableFields_item + '")\n';
|
|
842
842
|
message += referencepath_customizableFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -873,7 +873,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
873
873
|
}
|
|
874
874
|
const obj_filter = obj.filter;
|
|
875
875
|
const path_filter = path + '.filter';
|
|
876
|
-
const referencepath_filterValidationError = validate$
|
|
876
|
+
const referencepath_filterValidationError = validate$v(obj_filter, path_filter);
|
|
877
877
|
if (referencepath_filterValidationError !== null) {
|
|
878
878
|
let message = 'Object doesn\'t match CdpMlFilterRepresentation (at "' + path_filter + '")\n';
|
|
879
879
|
message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -917,7 +917,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
917
917
|
if (obj.lastActivatedBy !== undefined) {
|
|
918
918
|
const obj_lastActivatedBy = obj.lastActivatedBy;
|
|
919
919
|
const path_lastActivatedBy = path + '.lastActivatedBy';
|
|
920
|
-
const referencepath_lastActivatedByValidationError = validate$
|
|
920
|
+
const referencepath_lastActivatedByValidationError = validate$r(obj_lastActivatedBy, path_lastActivatedBy);
|
|
921
921
|
if (referencepath_lastActivatedByValidationError !== null) {
|
|
922
922
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
|
|
923
923
|
message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -934,7 +934,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
934
934
|
if (obj.lastModifiedBy !== undefined) {
|
|
935
935
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
936
936
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
937
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
937
|
+
const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
|
|
938
938
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
939
939
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
940
940
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1038,7 +1038,7 @@ function validate$n(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
1038
1038
|
for (let i = 0; i < obj_parameterOverrides.length; i++) {
|
|
1039
1039
|
const obj_parameterOverrides_item = obj_parameterOverrides[i];
|
|
1040
1040
|
const path_parameterOverrides_item = path_parameterOverrides + '[' + i + ']';
|
|
1041
|
-
const referencepath_parameterOverrides_itemValidationError = validate$
|
|
1041
|
+
const referencepath_parameterOverrides_itemValidationError = validate$p(obj_parameterOverrides_item, path_parameterOverrides_item);
|
|
1042
1042
|
if (referencepath_parameterOverrides_itemValidationError !== null) {
|
|
1043
1043
|
let message = 'Object doesn\'t match CdpMlModelParameterOverrideBaseRepresentation (at "' + path_parameterOverrides_item + '")\n';
|
|
1044
1044
|
message += referencepath_parameterOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1083,7 +1083,7 @@ function equals$8(existing, incoming) {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
const ingest$8 = function CdpMlConfiguredModelRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1085
1085
|
if (process.env.NODE_ENV !== 'production') {
|
|
1086
|
-
const validateError = validate$
|
|
1086
|
+
const validateError = validate$o(input);
|
|
1087
1087
|
if (validateError !== null) {
|
|
1088
1088
|
throw validateError;
|
|
1089
1089
|
}
|
|
@@ -1164,7 +1164,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
1164
1164
|
const untrustedConfig_actionableFields_array = [];
|
|
1165
1165
|
for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
|
|
1166
1166
|
const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
|
|
1167
|
-
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$
|
|
1167
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$A(untrustedConfig_actionableFields_item);
|
|
1168
1168
|
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
1169
1169
|
untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
|
|
1170
1170
|
}
|
|
@@ -1172,7 +1172,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
1172
1172
|
config.actionableFields = untrustedConfig_actionableFields_array;
|
|
1173
1173
|
}
|
|
1174
1174
|
const untrustedConfig_artifact = untrustedConfig.artifact;
|
|
1175
|
-
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$
|
|
1175
|
+
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$z(untrustedConfig_artifact);
|
|
1176
1176
|
if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
|
|
1177
1177
|
config.artifact = untrustedConfig_artifact;
|
|
1178
1178
|
}
|
|
@@ -1181,7 +1181,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
1181
1181
|
const untrustedConfig_customizableFields_array = [];
|
|
1182
1182
|
for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
|
|
1183
1183
|
const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
|
|
1184
|
-
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$
|
|
1184
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$A(untrustedConfig_customizableFields_item);
|
|
1185
1185
|
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
1186
1186
|
untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
|
|
1187
1187
|
}
|
|
@@ -1214,7 +1214,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
1214
1214
|
const untrustedConfig_parameterOverrides_array = [];
|
|
1215
1215
|
for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
|
|
1216
1216
|
const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
|
|
1217
|
-
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$
|
|
1217
|
+
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$y(untrustedConfig_parameterOverrides_item);
|
|
1218
1218
|
if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
|
|
1219
1219
|
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
|
|
1220
1220
|
}
|
|
@@ -1265,7 +1265,7 @@ const createCdpMlConfiguredModelAdapterFactory = (luvio) => {
|
|
|
1265
1265
|
};
|
|
1266
1266
|
};
|
|
1267
1267
|
|
|
1268
|
-
function validate$
|
|
1268
|
+
function validate$n(obj, path = 'CdpMlAggregatePredictConditionRepresentation') {
|
|
1269
1269
|
const v_error = (() => {
|
|
1270
1270
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1271
1271
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1281,7 +1281,7 @@ function validate$m(obj, path = 'CdpMlAggregatePredictConditionRepresentation')
|
|
|
1281
1281
|
return v_error === undefined ? null : v_error;
|
|
1282
1282
|
}
|
|
1283
1283
|
|
|
1284
|
-
function validate$
|
|
1284
|
+
function validate$m(obj, path = 'CdpMlAggregatePredictionRepresentation') {
|
|
1285
1285
|
const v_error = (() => {
|
|
1286
1286
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1287
1287
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1295,7 +1295,7 @@ function validate$l(obj, path = 'CdpMlAggregatePredictionRepresentation') {
|
|
|
1295
1295
|
for (let i = 0; i < obj_factors.length; i++) {
|
|
1296
1296
|
const obj_factors_item = obj_factors[i];
|
|
1297
1297
|
const path_factors_item = path_factors + '[' + i + ']';
|
|
1298
|
-
const referencepath_factors_itemValidationError = validate$
|
|
1298
|
+
const referencepath_factors_itemValidationError = validate$n(obj_factors_item, path_factors_item);
|
|
1299
1299
|
if (referencepath_factors_itemValidationError !== null) {
|
|
1300
1300
|
let message = 'Object doesn\'t match CdpMlAggregatePredictConditionRepresentation (at "' + path_factors_item + '")\n';
|
|
1301
1301
|
message += referencepath_factors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1312,7 +1312,7 @@ function validate$l(obj, path = 'CdpMlAggregatePredictionRepresentation') {
|
|
|
1312
1312
|
for (let i = 0; i < obj_prescriptions.length; i++) {
|
|
1313
1313
|
const obj_prescriptions_item = obj_prescriptions[i];
|
|
1314
1314
|
const path_prescriptions_item = path_prescriptions + '[' + i + ']';
|
|
1315
|
-
const referencepath_prescriptions_itemValidationError = validate$
|
|
1315
|
+
const referencepath_prescriptions_itemValidationError = validate$n(obj_prescriptions_item, path_prescriptions_item);
|
|
1316
1316
|
if (referencepath_prescriptions_itemValidationError !== null) {
|
|
1317
1317
|
let message = 'Object doesn\'t match CdpMlAggregatePredictConditionRepresentation (at "' + path_prescriptions_item + '")\n';
|
|
1318
1318
|
message += referencepath_prescriptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1395,7 +1395,7 @@ var DiscriminatorValues;
|
|
|
1395
1395
|
DiscriminatorValues["Success"] = "Success";
|
|
1396
1396
|
DiscriminatorValues["Error"] = "Error";
|
|
1397
1397
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
1398
|
-
function validate$
|
|
1398
|
+
function validate$l(obj, path = 'CdpMlPredictionBaseRepresentation') {
|
|
1399
1399
|
const v_error = (() => {
|
|
1400
1400
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1401
1401
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1409,7 +1409,7 @@ function validate$k(obj, path = 'CdpMlPredictionBaseRepresentation') {
|
|
|
1409
1409
|
return v_error === undefined ? null : v_error;
|
|
1410
1410
|
}
|
|
1411
1411
|
|
|
1412
|
-
function validate$
|
|
1412
|
+
function validate$k(obj, path = 'CdpMlPredictSettingsInputRepresentation') {
|
|
1413
1413
|
const v_error = (() => {
|
|
1414
1414
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1415
1415
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1476,7 +1476,7 @@ function validate$j(obj, path = 'CdpMlPredictSettingsInputRepresentation') {
|
|
|
1476
1476
|
|
|
1477
1477
|
const TTL$7 = 1000;
|
|
1478
1478
|
const VERSION$7 = "db91153fa53c91ab59ff4d2ae3000258";
|
|
1479
|
-
function validate$
|
|
1479
|
+
function validate$j(obj, path = 'CdpMlPredictResultRepresentation') {
|
|
1480
1480
|
const v_error = (() => {
|
|
1481
1481
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1482
1482
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1490,7 +1490,7 @@ function validate$i(obj, path = 'CdpMlPredictResultRepresentation') {
|
|
|
1490
1490
|
for (let i = 0; i < obj_aggregatePredictions.length; i++) {
|
|
1491
1491
|
const obj_aggregatePredictions_item = obj_aggregatePredictions[i];
|
|
1492
1492
|
const path_aggregatePredictions_item = path_aggregatePredictions + '[' + i + ']';
|
|
1493
|
-
const referencepath_aggregatePredictions_itemValidationError = validate$
|
|
1493
|
+
const referencepath_aggregatePredictions_itemValidationError = validate$m(obj_aggregatePredictions_item, path_aggregatePredictions_item);
|
|
1494
1494
|
if (referencepath_aggregatePredictions_itemValidationError !== null) {
|
|
1495
1495
|
let message = 'Object doesn\'t match CdpMlAggregatePredictionRepresentation (at "' + path_aggregatePredictions_item + '")\n';
|
|
1496
1496
|
message += referencepath_aggregatePredictions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1500,7 +1500,7 @@ function validate$i(obj, path = 'CdpMlPredictResultRepresentation') {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
const obj_model = obj.model;
|
|
1502
1502
|
const path_model = path + '.model';
|
|
1503
|
-
const referencepath_modelValidationError = validate$
|
|
1503
|
+
const referencepath_modelValidationError = validate$q(obj_model, path_model);
|
|
1504
1504
|
if (referencepath_modelValidationError !== null) {
|
|
1505
1505
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_model + '")\n';
|
|
1506
1506
|
message += referencepath_modelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1520,7 +1520,7 @@ function validate$i(obj, path = 'CdpMlPredictResultRepresentation') {
|
|
|
1520
1520
|
for (let i = 0; i < obj_predictions.length; i++) {
|
|
1521
1521
|
const obj_predictions_item = obj_predictions[i];
|
|
1522
1522
|
const path_predictions_item = path_predictions + '[' + i + ']';
|
|
1523
|
-
const referencepath_predictions_itemValidationError = validate$
|
|
1523
|
+
const referencepath_predictions_itemValidationError = validate$l(obj_predictions_item, path_predictions_item);
|
|
1524
1524
|
if (referencepath_predictions_itemValidationError !== null) {
|
|
1525
1525
|
let message = 'Object doesn\'t match CdpMlPredictionBaseRepresentation (at "' + path_predictions_item + '")\n';
|
|
1526
1526
|
message += referencepath_predictions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1530,7 +1530,7 @@ function validate$i(obj, path = 'CdpMlPredictResultRepresentation') {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
const obj_settings = obj.settings;
|
|
1532
1532
|
const path_settings = path + '.settings';
|
|
1533
|
-
const referencepath_settingsValidationError = validate$
|
|
1533
|
+
const referencepath_settingsValidationError = validate$k(obj_settings, path_settings);
|
|
1534
1534
|
if (referencepath_settingsValidationError !== null) {
|
|
1535
1535
|
let message = 'Object doesn\'t match CdpMlPredictSettingsInputRepresentation (at "' + path_settings + '")\n';
|
|
1536
1536
|
message += referencepath_settingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1568,7 +1568,7 @@ function equals$7(existing, incoming) {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
const ingest$7 = function CdpMlPredictResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1570
1570
|
if (process.env.NODE_ENV !== 'production') {
|
|
1571
|
-
const validateError = validate$
|
|
1571
|
+
const validateError = validate$j(input);
|
|
1572
1572
|
if (validateError !== null) {
|
|
1573
1573
|
throw validateError;
|
|
1574
1574
|
}
|
|
@@ -1638,7 +1638,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
1638
1638
|
const config = {};
|
|
1639
1639
|
typeCheckConfig$d(untrustedConfig, config, createCdpMlPredictResult_ConfigPropertyMetadata);
|
|
1640
1640
|
const untrustedConfig_model = untrustedConfig.model;
|
|
1641
|
-
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$
|
|
1641
|
+
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$z(untrustedConfig_model);
|
|
1642
1642
|
if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
|
|
1643
1643
|
config.model = untrustedConfig_model;
|
|
1644
1644
|
}
|
|
@@ -1704,6 +1704,109 @@ const createCdpMlPredictResultAdapterFactory = (luvio) => {
|
|
|
1704
1704
|
};
|
|
1705
1705
|
};
|
|
1706
1706
|
|
|
1707
|
+
function validate$i(obj, path = 'MlDeprecationConfigurationRepresentation') {
|
|
1708
|
+
const v_error = (() => {
|
|
1709
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1710
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1711
|
+
}
|
|
1712
|
+
if (obj.deprecationDate !== undefined) {
|
|
1713
|
+
const obj_deprecationDate = obj.deprecationDate;
|
|
1714
|
+
const path_deprecationDate = path + '.deprecationDate';
|
|
1715
|
+
let obj_deprecationDate_union0 = null;
|
|
1716
|
+
const obj_deprecationDate_union0_error = (() => {
|
|
1717
|
+
if (typeof obj_deprecationDate !== 'string') {
|
|
1718
|
+
return new TypeError('Expected "string" but received "' + typeof obj_deprecationDate + '" (at "' + path_deprecationDate + '")');
|
|
1719
|
+
}
|
|
1720
|
+
})();
|
|
1721
|
+
if (obj_deprecationDate_union0_error != null) {
|
|
1722
|
+
obj_deprecationDate_union0 = obj_deprecationDate_union0_error.message;
|
|
1723
|
+
}
|
|
1724
|
+
let obj_deprecationDate_union1 = null;
|
|
1725
|
+
const obj_deprecationDate_union1_error = (() => {
|
|
1726
|
+
if (obj_deprecationDate !== null) {
|
|
1727
|
+
return new TypeError('Expected "null" but received "' + typeof obj_deprecationDate + '" (at "' + path_deprecationDate + '")');
|
|
1728
|
+
}
|
|
1729
|
+
})();
|
|
1730
|
+
if (obj_deprecationDate_union1_error != null) {
|
|
1731
|
+
obj_deprecationDate_union1 = obj_deprecationDate_union1_error.message;
|
|
1732
|
+
}
|
|
1733
|
+
if (obj_deprecationDate_union0 && obj_deprecationDate_union1) {
|
|
1734
|
+
let message = 'Object doesn\'t match union (at "' + path_deprecationDate + '")';
|
|
1735
|
+
message += '\n' + obj_deprecationDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1736
|
+
message += '\n' + obj_deprecationDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1737
|
+
return new TypeError(message);
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
if (obj.endOfLifeDate !== undefined) {
|
|
1741
|
+
const obj_endOfLifeDate = obj.endOfLifeDate;
|
|
1742
|
+
const path_endOfLifeDate = path + '.endOfLifeDate';
|
|
1743
|
+
let obj_endOfLifeDate_union0 = null;
|
|
1744
|
+
const obj_endOfLifeDate_union0_error = (() => {
|
|
1745
|
+
if (typeof obj_endOfLifeDate !== 'string') {
|
|
1746
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endOfLifeDate + '" (at "' + path_endOfLifeDate + '")');
|
|
1747
|
+
}
|
|
1748
|
+
})();
|
|
1749
|
+
if (obj_endOfLifeDate_union0_error != null) {
|
|
1750
|
+
obj_endOfLifeDate_union0 = obj_endOfLifeDate_union0_error.message;
|
|
1751
|
+
}
|
|
1752
|
+
let obj_endOfLifeDate_union1 = null;
|
|
1753
|
+
const obj_endOfLifeDate_union1_error = (() => {
|
|
1754
|
+
if (obj_endOfLifeDate !== null) {
|
|
1755
|
+
return new TypeError('Expected "null" but received "' + typeof obj_endOfLifeDate + '" (at "' + path_endOfLifeDate + '")');
|
|
1756
|
+
}
|
|
1757
|
+
})();
|
|
1758
|
+
if (obj_endOfLifeDate_union1_error != null) {
|
|
1759
|
+
obj_endOfLifeDate_union1 = obj_endOfLifeDate_union1_error.message;
|
|
1760
|
+
}
|
|
1761
|
+
if (obj_endOfLifeDate_union0 && obj_endOfLifeDate_union1) {
|
|
1762
|
+
let message = 'Object doesn\'t match union (at "' + path_endOfLifeDate + '")';
|
|
1763
|
+
message += '\n' + obj_endOfLifeDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1764
|
+
message += '\n' + obj_endOfLifeDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1765
|
+
return new TypeError(message);
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
if (obj.endOfLifePolicy !== undefined) {
|
|
1769
|
+
const obj_endOfLifePolicy = obj.endOfLifePolicy;
|
|
1770
|
+
const path_endOfLifePolicy = path + '.endOfLifePolicy';
|
|
1771
|
+
let obj_endOfLifePolicy_union0 = null;
|
|
1772
|
+
const obj_endOfLifePolicy_union0_error = (() => {
|
|
1773
|
+
if (typeof obj_endOfLifePolicy !== 'string') {
|
|
1774
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endOfLifePolicy + '" (at "' + path_endOfLifePolicy + '")');
|
|
1775
|
+
}
|
|
1776
|
+
})();
|
|
1777
|
+
if (obj_endOfLifePolicy_union0_error != null) {
|
|
1778
|
+
obj_endOfLifePolicy_union0 = obj_endOfLifePolicy_union0_error.message;
|
|
1779
|
+
}
|
|
1780
|
+
let obj_endOfLifePolicy_union1 = null;
|
|
1781
|
+
const obj_endOfLifePolicy_union1_error = (() => {
|
|
1782
|
+
if (obj_endOfLifePolicy !== null) {
|
|
1783
|
+
return new TypeError('Expected "null" but received "' + typeof obj_endOfLifePolicy + '" (at "' + path_endOfLifePolicy + '")');
|
|
1784
|
+
}
|
|
1785
|
+
})();
|
|
1786
|
+
if (obj_endOfLifePolicy_union1_error != null) {
|
|
1787
|
+
obj_endOfLifePolicy_union1 = obj_endOfLifePolicy_union1_error.message;
|
|
1788
|
+
}
|
|
1789
|
+
if (obj_endOfLifePolicy_union0 && obj_endOfLifePolicy_union1) {
|
|
1790
|
+
let message = 'Object doesn\'t match union (at "' + path_endOfLifePolicy + '")';
|
|
1791
|
+
message += '\n' + obj_endOfLifePolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1792
|
+
message += '\n' + obj_endOfLifePolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1793
|
+
return new TypeError(message);
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
if (obj.rollOverModelArtifactReference !== undefined) {
|
|
1797
|
+
const obj_rollOverModelArtifactReference = obj.rollOverModelArtifactReference;
|
|
1798
|
+
const path_rollOverModelArtifactReference = path + '.rollOverModelArtifactReference';
|
|
1799
|
+
const referencepath_rollOverModelArtifactReferenceValidationError = validate$q(obj_rollOverModelArtifactReference, path_rollOverModelArtifactReference);
|
|
1800
|
+
if (referencepath_rollOverModelArtifactReferenceValidationError !== null) {
|
|
1801
|
+
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_rollOverModelArtifactReference + '")\n';
|
|
1802
|
+
message += referencepath_rollOverModelArtifactReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1803
|
+
return new TypeError(message);
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
})();
|
|
1807
|
+
return v_error === undefined ? null : v_error;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1707
1810
|
// Should match with keyBuilder
|
|
1708
1811
|
function keyBuilderFromType$1(luvio, object) {
|
|
1709
1812
|
const type = object.url.indexOf(object.name) > -1 ? 'name' : 'id';
|
|
@@ -1713,7 +1816,7 @@ function keyBuilderFromType$1(luvio, object) {
|
|
|
1713
1816
|
}
|
|
1714
1817
|
|
|
1715
1818
|
const TTL$6 = 1000;
|
|
1716
|
-
const VERSION$6 = "
|
|
1819
|
+
const VERSION$6 = "ed85e2fecdef33e09a8ef668124d844b";
|
|
1717
1820
|
function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
1718
1821
|
const v_error = (() => {
|
|
1719
1822
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1735,7 +1838,7 @@ function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1735
1838
|
}
|
|
1736
1839
|
const obj_artifact = obj.artifact;
|
|
1737
1840
|
const path_artifact = path + '.artifact';
|
|
1738
|
-
const referencepath_artifactValidationError = validate$
|
|
1841
|
+
const referencepath_artifactValidationError = validate$q(obj_artifact, path_artifact);
|
|
1739
1842
|
if (referencepath_artifactValidationError !== null) {
|
|
1740
1843
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
|
|
1741
1844
|
message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1777,7 +1880,7 @@ function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1777
1880
|
if (obj.createdBy !== undefined) {
|
|
1778
1881
|
const obj_createdBy = obj.createdBy;
|
|
1779
1882
|
const path_createdBy = path + '.createdBy';
|
|
1780
|
-
const referencepath_createdByValidationError = validate$
|
|
1883
|
+
const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
|
|
1781
1884
|
if (referencepath_createdByValidationError !== null) {
|
|
1782
1885
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1783
1886
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1812,6 +1915,16 @@ function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1812
1915
|
return new TypeError(message);
|
|
1813
1916
|
}
|
|
1814
1917
|
}
|
|
1918
|
+
if (obj.deprecationConfiguration !== undefined) {
|
|
1919
|
+
const obj_deprecationConfiguration = obj.deprecationConfiguration;
|
|
1920
|
+
const path_deprecationConfiguration = path + '.deprecationConfiguration';
|
|
1921
|
+
const referencepath_deprecationConfigurationValidationError = validate$i(obj_deprecationConfiguration, path_deprecationConfiguration);
|
|
1922
|
+
if (referencepath_deprecationConfigurationValidationError !== null) {
|
|
1923
|
+
let message = 'Object doesn\'t match MlDeprecationConfigurationRepresentation (at "' + path_deprecationConfiguration + '")\n';
|
|
1924
|
+
message += referencepath_deprecationConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1925
|
+
return new TypeError(message);
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1815
1928
|
if (obj.description !== undefined) {
|
|
1816
1929
|
const obj_description = obj.description;
|
|
1817
1930
|
const path_description = path + '.description';
|
|
@@ -1857,7 +1970,7 @@ function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1857
1970
|
if (obj.lastActivatedBy !== undefined) {
|
|
1858
1971
|
const obj_lastActivatedBy = obj.lastActivatedBy;
|
|
1859
1972
|
const path_lastActivatedBy = path + '.lastActivatedBy';
|
|
1860
|
-
const referencepath_lastActivatedByValidationError = validate$
|
|
1973
|
+
const referencepath_lastActivatedByValidationError = validate$r(obj_lastActivatedBy, path_lastActivatedBy);
|
|
1861
1974
|
if (referencepath_lastActivatedByValidationError !== null) {
|
|
1862
1975
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
|
|
1863
1976
|
message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1874,7 +1987,7 @@ function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1874
1987
|
if (obj.lastModifiedBy !== undefined) {
|
|
1875
1988
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1876
1989
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1877
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1990
|
+
const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1878
1991
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1879
1992
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1880
1993
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1958,7 +2071,7 @@ function validate$h(obj, path = 'MlConfiguredModelRepresentation') {
|
|
|
1958
2071
|
for (let i = 0; i < obj_parameterOverrides.length; i++) {
|
|
1959
2072
|
const obj_parameterOverrides_item = obj_parameterOverrides[i];
|
|
1960
2073
|
const path_parameterOverrides_item = path_parameterOverrides + '[' + i + ']';
|
|
1961
|
-
const referencepath_parameterOverrides_itemValidationError = validate$
|
|
2074
|
+
const referencepath_parameterOverrides_itemValidationError = validate$p(obj_parameterOverrides_item, path_parameterOverrides_item);
|
|
1962
2075
|
if (referencepath_parameterOverrides_itemValidationError !== null) {
|
|
1963
2076
|
let message = 'Object doesn\'t match CdpMlModelParameterOverrideBaseRepresentation (at "' + path_parameterOverrides_item + '")\n';
|
|
1964
2077
|
message += referencepath_parameterOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2090,7 +2203,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
2090
2203
|
const config = {};
|
|
2091
2204
|
typeCheckConfig$d(untrustedConfig, config, createMlConfiguredModel_ConfigPropertyMetadata);
|
|
2092
2205
|
const untrustedConfig_artifact = untrustedConfig.artifact;
|
|
2093
|
-
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$
|
|
2206
|
+
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$z(untrustedConfig_artifact);
|
|
2094
2207
|
if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
|
|
2095
2208
|
config.artifact = untrustedConfig_artifact;
|
|
2096
2209
|
}
|
|
@@ -2099,7 +2212,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
2099
2212
|
const untrustedConfig_parameterOverrides_array = [];
|
|
2100
2213
|
for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
|
|
2101
2214
|
const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
|
|
2102
|
-
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$
|
|
2215
|
+
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$y(untrustedConfig_parameterOverrides_item);
|
|
2103
2216
|
if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
|
|
2104
2217
|
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
|
|
2105
2218
|
}
|
|
@@ -2318,7 +2431,7 @@ function validate$g(obj, path = 'CdpMlConfiguredModelCollectionRepresentation')
|
|
|
2318
2431
|
for (let i = 0; i < obj_models.length; i++) {
|
|
2319
2432
|
const obj_models_item = obj_models[i];
|
|
2320
2433
|
const path_models_item = path_models + '[' + i + ']';
|
|
2321
|
-
const referencepath_models_itemValidationError = validate$
|
|
2434
|
+
const referencepath_models_itemValidationError = validate$o(obj_models_item, path_models_item);
|
|
2322
2435
|
if (referencepath_models_itemValidationError !== null) {
|
|
2323
2436
|
let message = 'Object doesn\'t match CdpMlConfiguredModelRepresentation (at "' + path_models_item + '")\n';
|
|
2324
2437
|
message += referencepath_models_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2575,7 +2688,7 @@ function validate$f(obj, path = 'MlConnectorEndpointRepresentation') {
|
|
|
2575
2688
|
if (obj.namedCredential !== undefined) {
|
|
2576
2689
|
const obj_namedCredential = obj.namedCredential;
|
|
2577
2690
|
const path_namedCredential = path + '.namedCredential';
|
|
2578
|
-
const referencepath_namedCredentialValidationError = validate$
|
|
2691
|
+
const referencepath_namedCredentialValidationError = validate$q(obj_namedCredential, path_namedCredential);
|
|
2579
2692
|
if (referencepath_namedCredentialValidationError !== null) {
|
|
2580
2693
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_namedCredential + '")\n';
|
|
2581
2694
|
message += referencepath_namedCredentialValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2672,7 +2785,7 @@ function validate$d(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation
|
|
|
2672
2785
|
}
|
|
2673
2786
|
|
|
2674
2787
|
const TTL$4 = 1000;
|
|
2675
|
-
const VERSION$4 = "
|
|
2788
|
+
const VERSION$4 = "ae56a591d51de237bc7e4d4f66b7505e";
|
|
2676
2789
|
function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
2677
2790
|
const v_error = (() => {
|
|
2678
2791
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2681,7 +2794,7 @@ function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
2681
2794
|
if (obj.createdBy !== undefined) {
|
|
2682
2795
|
const obj_createdBy = obj.createdBy;
|
|
2683
2796
|
const path_createdBy = path + '.createdBy';
|
|
2684
|
-
const referencepath_createdByValidationError = validate$
|
|
2797
|
+
const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
|
|
2685
2798
|
if (referencepath_createdByValidationError !== null) {
|
|
2686
2799
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2687
2800
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2716,6 +2829,16 @@ function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
2716
2829
|
return new TypeError(message);
|
|
2717
2830
|
}
|
|
2718
2831
|
}
|
|
2832
|
+
if (obj.deprecationConfiguration !== undefined) {
|
|
2833
|
+
const obj_deprecationConfiguration = obj.deprecationConfiguration;
|
|
2834
|
+
const path_deprecationConfiguration = path + '.deprecationConfiguration';
|
|
2835
|
+
const referencepath_deprecationConfigurationValidationError = validate$i(obj_deprecationConfiguration, path_deprecationConfiguration);
|
|
2836
|
+
if (referencepath_deprecationConfigurationValidationError !== null) {
|
|
2837
|
+
let message = 'Object doesn\'t match MlDeprecationConfigurationRepresentation (at "' + path_deprecationConfiguration + '")\n';
|
|
2838
|
+
message += referencepath_deprecationConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2839
|
+
return new TypeError(message);
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2719
2842
|
if (obj.description !== undefined) {
|
|
2720
2843
|
const obj_description = obj.description;
|
|
2721
2844
|
const path_description = path + '.description';
|
|
@@ -2759,7 +2882,7 @@ function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
2759
2882
|
for (let i = 0; i < obj_inputFields.length; i++) {
|
|
2760
2883
|
const obj_inputFields_item = obj_inputFields[i];
|
|
2761
2884
|
const path_inputFields_item = path_inputFields + '[' + i + ']';
|
|
2762
|
-
const referencepath_inputFields_itemValidationError = validate$
|
|
2885
|
+
const referencepath_inputFields_itemValidationError = validate$t(obj_inputFields_item, path_inputFields_item);
|
|
2763
2886
|
if (referencepath_inputFields_itemValidationError !== null) {
|
|
2764
2887
|
let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_inputFields_item + '")\n';
|
|
2765
2888
|
message += referencepath_inputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2797,7 +2920,7 @@ function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
2797
2920
|
if (obj.lastModifiedBy !== undefined) {
|
|
2798
2921
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2799
2922
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2800
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2923
|
+
const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2801
2924
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2802
2925
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2803
2926
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2925,7 +3048,7 @@ function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
2925
3048
|
if (obj.setupContainer !== undefined) {
|
|
2926
3049
|
const obj_setupContainer = obj.setupContainer;
|
|
2927
3050
|
const path_setupContainer = path + '.setupContainer';
|
|
2928
|
-
const referencepath_setupContainerValidationError = validate$
|
|
3051
|
+
const referencepath_setupContainerValidationError = validate$q(obj_setupContainer, path_setupContainer);
|
|
2929
3052
|
if (referencepath_setupContainerValidationError !== null) {
|
|
2930
3053
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_setupContainer + '")\n';
|
|
2931
3054
|
message += referencepath_setupContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2935,7 +3058,7 @@ function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
2935
3058
|
if (obj.source !== undefined) {
|
|
2936
3059
|
const obj_source = obj.source;
|
|
2937
3060
|
const path_source = path + '.source';
|
|
2938
|
-
const referencepath_sourceValidationError = validate$
|
|
3061
|
+
const referencepath_sourceValidationError = validate$q(obj_source, path_source);
|
|
2939
3062
|
if (referencepath_sourceValidationError !== null) {
|
|
2940
3063
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_source + '")\n';
|
|
2941
3064
|
message += referencepath_sourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2945,7 +3068,7 @@ function validate$c(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
2945
3068
|
if (obj.sourceContainer !== undefined) {
|
|
2946
3069
|
const obj_sourceContainer = obj.sourceContainer;
|
|
2947
3070
|
const path_sourceContainer = path + '.sourceContainer';
|
|
2948
|
-
const referencepath_sourceContainerValidationError = validate$
|
|
3071
|
+
const referencepath_sourceContainerValidationError = validate$q(obj_sourceContainer, path_sourceContainer);
|
|
2949
3072
|
if (referencepath_sourceContainerValidationError !== null) {
|
|
2950
3073
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_sourceContainer + '")\n';
|
|
2951
3074
|
message += referencepath_sourceContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3686,7 +3809,7 @@ function validate$3(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
3686
3809
|
if (obj.activeSetup !== undefined) {
|
|
3687
3810
|
const obj_activeSetup = obj.activeSetup;
|
|
3688
3811
|
const path_activeSetup = path + '.activeSetup';
|
|
3689
|
-
const referencepath_activeSetupValidationError = validate$
|
|
3812
|
+
const referencepath_activeSetupValidationError = validate$q(obj_activeSetup, path_activeSetup);
|
|
3690
3813
|
if (referencepath_activeSetupValidationError !== null) {
|
|
3691
3814
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
|
|
3692
3815
|
message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3724,7 +3847,7 @@ function validate$3(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
3724
3847
|
if (obj.createdBy !== undefined) {
|
|
3725
3848
|
const obj_createdBy = obj.createdBy;
|
|
3726
3849
|
const path_createdBy = path + '.createdBy';
|
|
3727
|
-
const referencepath_createdByValidationError = validate$
|
|
3850
|
+
const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
|
|
3728
3851
|
if (referencepath_createdByValidationError !== null) {
|
|
3729
3852
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3730
3853
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3853,7 +3976,7 @@ function validate$3(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
3853
3976
|
if (obj.lastModifiedBy !== undefined) {
|
|
3854
3977
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3855
3978
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3856
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3979
|
+
const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3857
3980
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3858
3981
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3859
3982
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3891,7 +4014,7 @@ function validate$3(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
3891
4014
|
if (obj.latestSetup !== undefined) {
|
|
3892
4015
|
const obj_latestSetup = obj.latestSetup;
|
|
3893
4016
|
const path_latestSetup = path + '.latestSetup';
|
|
3894
|
-
const referencepath_latestSetupValidationError = validate$
|
|
4017
|
+
const referencepath_latestSetupValidationError = validate$q(obj_latestSetup, path_latestSetup);
|
|
3895
4018
|
if (referencepath_latestSetupValidationError !== null) {
|
|
3896
4019
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
|
|
3897
4020
|
message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4352,7 +4475,7 @@ function validate$2(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
4352
4475
|
if (obj.activeSetup !== undefined) {
|
|
4353
4476
|
const obj_activeSetup = obj.activeSetup;
|
|
4354
4477
|
const path_activeSetup = path + '.activeSetup';
|
|
4355
|
-
const referencepath_activeSetupValidationError = validate$
|
|
4478
|
+
const referencepath_activeSetupValidationError = validate$q(obj_activeSetup, path_activeSetup);
|
|
4356
4479
|
if (referencepath_activeSetupValidationError !== null) {
|
|
4357
4480
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
|
|
4358
4481
|
message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4390,7 +4513,7 @@ function validate$2(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
4390
4513
|
if (obj.createdBy !== undefined) {
|
|
4391
4514
|
const obj_createdBy = obj.createdBy;
|
|
4392
4515
|
const path_createdBy = path + '.createdBy';
|
|
4393
|
-
const referencepath_createdByValidationError = validate$
|
|
4516
|
+
const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
|
|
4394
4517
|
if (referencepath_createdByValidationError !== null) {
|
|
4395
4518
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4396
4519
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4519,7 +4642,7 @@ function validate$2(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
4519
4642
|
if (obj.lastModifiedBy !== undefined) {
|
|
4520
4643
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4521
4644
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4522
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4645
|
+
const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4523
4646
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4524
4647
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4525
4648
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4557,7 +4680,7 @@ function validate$2(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
4557
4680
|
if (obj.latestSetup !== undefined) {
|
|
4558
4681
|
const obj_latestSetup = obj.latestSetup;
|
|
4559
4682
|
const path_latestSetup = path + '.latestSetup';
|
|
4560
|
-
const referencepath_latestSetupValidationError = validate$
|
|
4683
|
+
const referencepath_latestSetupValidationError = validate$q(obj_latestSetup, path_latestSetup);
|
|
4561
4684
|
if (referencepath_latestSetupValidationError !== null) {
|
|
4562
4685
|
let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
|
|
4563
4686
|
message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5531,7 +5654,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5531
5654
|
const untrustedConfig_actionableFields_array = [];
|
|
5532
5655
|
for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
|
|
5533
5656
|
const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
|
|
5534
|
-
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$
|
|
5657
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$A(untrustedConfig_actionableFields_item);
|
|
5535
5658
|
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
5536
5659
|
untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
|
|
5537
5660
|
}
|
|
@@ -5539,7 +5662,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5539
5662
|
config.actionableFields = untrustedConfig_actionableFields_array;
|
|
5540
5663
|
}
|
|
5541
5664
|
const untrustedConfig_artifact = untrustedConfig.artifact;
|
|
5542
|
-
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$
|
|
5665
|
+
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$z(untrustedConfig_artifact);
|
|
5543
5666
|
if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
|
|
5544
5667
|
config.artifact = untrustedConfig_artifact;
|
|
5545
5668
|
}
|
|
@@ -5548,7 +5671,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5548
5671
|
const untrustedConfig_customizableFields_array = [];
|
|
5549
5672
|
for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
|
|
5550
5673
|
const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
|
|
5551
|
-
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$
|
|
5674
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$A(untrustedConfig_customizableFields_item);
|
|
5552
5675
|
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
5553
5676
|
untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
|
|
5554
5677
|
}
|
|
@@ -5581,7 +5704,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
5581
5704
|
const untrustedConfig_parameterOverrides_array = [];
|
|
5582
5705
|
for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
|
|
5583
5706
|
const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
|
|
5584
|
-
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$
|
|
5707
|
+
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$y(untrustedConfig_parameterOverrides_item);
|
|
5585
5708
|
if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
|
|
5586
5709
|
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
|
|
5587
5710
|
}
|
|
@@ -5685,7 +5808,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
5685
5808
|
const config = {};
|
|
5686
5809
|
typeCheckConfig$d(untrustedConfig, config, updateMlConfiguredModel_ConfigPropertyMetadata);
|
|
5687
5810
|
const untrustedConfig_artifact = untrustedConfig.artifact;
|
|
5688
|
-
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$
|
|
5811
|
+
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$z(untrustedConfig_artifact);
|
|
5689
5812
|
if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
|
|
5690
5813
|
config.artifact = untrustedConfig_artifact;
|
|
5691
5814
|
}
|
|
@@ -5694,7 +5817,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
5694
5817
|
const untrustedConfig_parameterOverrides_array = [];
|
|
5695
5818
|
for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
|
|
5696
5819
|
const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
|
|
5697
|
-
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$
|
|
5820
|
+
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$y(untrustedConfig_parameterOverrides_item);
|
|
5698
5821
|
if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
|
|
5699
5822
|
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
|
|
5700
5823
|
}
|
|
@@ -5881,4 +6004,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5881
6004
|
});
|
|
5882
6005
|
|
|
5883
6006
|
export { createCdpMlConfiguredModel, createCdpMlPredictResult, createMlConfiguredModel, getCdpMlConfiguredModel, getCdpMlConfiguredModelCollection, getCdpMlConfiguredModelCollection_imperative, getCdpMlConfiguredModel_imperative, getCdpMlModelArtifact, getCdpMlModelArtifactCollection, getCdpMlModelArtifactCollection_imperative, getCdpMlModelArtifact_imperative, getCdpMlWorkspace, getCdpMlWorkspaceCollection, getCdpMlWorkspaceCollection_imperative, getCdpMlWorkspaceNotifyChange, getCdpMlWorkspace_imperative, getMlConfiguredModel, getMlConfiguredModelCollection, getMlConfiguredModelCollection_imperative, getMlConfiguredModelNotifyChange, getMlConfiguredModel_imperative, updateCdpMlConfiguredModel, updateMlConfiguredModel };
|
|
5884
|
-
// version: 1.
|
|
6007
|
+
// version: 1.315.0-b7eff13c6d
|