@salesforce/lds-adapters-platform-cdp-machine-learning 1.313.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.
@@ -79,7 +79,7 @@ function createLink(ref) {
79
79
  };
80
80
  }
81
81
 
82
- function validate$A(obj, path = 'CdpUserRepresentation') {
82
+ function validate$B(obj, path = 'CdpUserRepresentation') {
83
83
  const v_error = (() => {
84
84
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
85
85
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -103,41 +103,7 @@ function validate$A(obj, path = 'CdpUserRepresentation') {
103
103
  return v_error === undefined ? null : v_error;
104
104
  }
105
105
 
106
- function validate$z(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
107
- const v_error = (() => {
108
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
110
- }
111
- const obj_dataType = obj.dataType;
112
- const path_dataType = path + '.dataType';
113
- if (typeof obj_dataType !== 'string') {
114
- return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
115
- }
116
- const obj_isDisparateImpact = obj.isDisparateImpact;
117
- const path_isDisparateImpact = path + '.isDisparateImpact';
118
- if (typeof obj_isDisparateImpact !== 'boolean') {
119
- return new TypeError('Expected "boolean" but received "' + typeof obj_isDisparateImpact + '" (at "' + path_isDisparateImpact + '")');
120
- }
121
- const obj_isPartitionField = obj.isPartitionField;
122
- const path_isPartitionField = path + '.isPartitionField';
123
- if (typeof obj_isPartitionField !== 'boolean') {
124
- return new TypeError('Expected "boolean" but received "' + typeof obj_isPartitionField + '" (at "' + path_isPartitionField + '")');
125
- }
126
- const obj_isSensitive = obj.isSensitive;
127
- const path_isSensitive = path + '.isSensitive';
128
- if (typeof obj_isSensitive !== 'boolean') {
129
- return new TypeError('Expected "boolean" but received "' + typeof obj_isSensitive + '" (at "' + path_isSensitive + '")');
130
- }
131
- const obj_position = obj.position;
132
- const path_position = path + '.position';
133
- if (typeof obj_position !== 'number' || (typeof obj_position === 'number' && Math.floor(obj_position) !== obj_position)) {
134
- return new TypeError('Expected "integer" but received "' + typeof obj_position + '" (at "' + path_position + '")');
135
- }
136
- })();
137
- return v_error === undefined ? null : v_error;
138
- }
139
-
140
- function validate$y(obj, path = 'CdpAssetReferenceRepresentation') {
106
+ function validate$A(obj, path = 'CdpAssetReferenceRepresentation') {
141
107
  const v_error = (() => {
142
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
143
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -145,7 +111,7 @@ function validate$y(obj, path = 'CdpAssetReferenceRepresentation') {
145
111
  if (obj.createdBy !== undefined) {
146
112
  const obj_createdBy = obj.createdBy;
147
113
  const path_createdBy = path + '.createdBy';
148
- const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
114
+ const referencepath_createdByValidationError = validate$B(obj_createdBy, path_createdBy);
149
115
  if (referencepath_createdByValidationError !== null) {
150
116
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
151
117
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -218,7 +184,7 @@ function validate$y(obj, path = 'CdpAssetReferenceRepresentation') {
218
184
  if (obj.lastModifiedBy !== undefined) {
219
185
  const obj_lastModifiedBy = obj.lastModifiedBy;
220
186
  const path_lastModifiedBy = path + '.lastModifiedBy';
221
- const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
187
+ const referencepath_lastModifiedByValidationError = validate$B(obj_lastModifiedBy, path_lastModifiedBy);
222
188
  if (referencepath_lastModifiedByValidationError !== null) {
223
189
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
224
190
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -341,6 +307,143 @@ function validate$y(obj, path = 'CdpAssetReferenceRepresentation') {
341
307
  return v_error === undefined ? null : v_error;
342
308
  }
343
309
 
310
+ function validate$z(obj, path = 'MlDeprecationConfigurationRepresentation') {
311
+ const v_error = (() => {
312
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
313
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
314
+ }
315
+ if (obj.deprecationDate !== undefined) {
316
+ const obj_deprecationDate = obj.deprecationDate;
317
+ const path_deprecationDate = path + '.deprecationDate';
318
+ let obj_deprecationDate_union0 = null;
319
+ const obj_deprecationDate_union0_error = (() => {
320
+ if (typeof obj_deprecationDate !== 'string') {
321
+ return new TypeError('Expected "string" but received "' + typeof obj_deprecationDate + '" (at "' + path_deprecationDate + '")');
322
+ }
323
+ })();
324
+ if (obj_deprecationDate_union0_error != null) {
325
+ obj_deprecationDate_union0 = obj_deprecationDate_union0_error.message;
326
+ }
327
+ let obj_deprecationDate_union1 = null;
328
+ const obj_deprecationDate_union1_error = (() => {
329
+ if (obj_deprecationDate !== null) {
330
+ return new TypeError('Expected "null" but received "' + typeof obj_deprecationDate + '" (at "' + path_deprecationDate + '")');
331
+ }
332
+ })();
333
+ if (obj_deprecationDate_union1_error != null) {
334
+ obj_deprecationDate_union1 = obj_deprecationDate_union1_error.message;
335
+ }
336
+ if (obj_deprecationDate_union0 && obj_deprecationDate_union1) {
337
+ let message = 'Object doesn\'t match union (at "' + path_deprecationDate + '")';
338
+ message += '\n' + obj_deprecationDate_union0.split('\n').map((line) => '\t' + line).join('\n');
339
+ message += '\n' + obj_deprecationDate_union1.split('\n').map((line) => '\t' + line).join('\n');
340
+ return new TypeError(message);
341
+ }
342
+ }
343
+ if (obj.endOfLifeDate !== undefined) {
344
+ const obj_endOfLifeDate = obj.endOfLifeDate;
345
+ const path_endOfLifeDate = path + '.endOfLifeDate';
346
+ let obj_endOfLifeDate_union0 = null;
347
+ const obj_endOfLifeDate_union0_error = (() => {
348
+ if (typeof obj_endOfLifeDate !== 'string') {
349
+ return new TypeError('Expected "string" but received "' + typeof obj_endOfLifeDate + '" (at "' + path_endOfLifeDate + '")');
350
+ }
351
+ })();
352
+ if (obj_endOfLifeDate_union0_error != null) {
353
+ obj_endOfLifeDate_union0 = obj_endOfLifeDate_union0_error.message;
354
+ }
355
+ let obj_endOfLifeDate_union1 = null;
356
+ const obj_endOfLifeDate_union1_error = (() => {
357
+ if (obj_endOfLifeDate !== null) {
358
+ return new TypeError('Expected "null" but received "' + typeof obj_endOfLifeDate + '" (at "' + path_endOfLifeDate + '")');
359
+ }
360
+ })();
361
+ if (obj_endOfLifeDate_union1_error != null) {
362
+ obj_endOfLifeDate_union1 = obj_endOfLifeDate_union1_error.message;
363
+ }
364
+ if (obj_endOfLifeDate_union0 && obj_endOfLifeDate_union1) {
365
+ let message = 'Object doesn\'t match union (at "' + path_endOfLifeDate + '")';
366
+ message += '\n' + obj_endOfLifeDate_union0.split('\n').map((line) => '\t' + line).join('\n');
367
+ message += '\n' + obj_endOfLifeDate_union1.split('\n').map((line) => '\t' + line).join('\n');
368
+ return new TypeError(message);
369
+ }
370
+ }
371
+ if (obj.endOfLifePolicy !== undefined) {
372
+ const obj_endOfLifePolicy = obj.endOfLifePolicy;
373
+ const path_endOfLifePolicy = path + '.endOfLifePolicy';
374
+ let obj_endOfLifePolicy_union0 = null;
375
+ const obj_endOfLifePolicy_union0_error = (() => {
376
+ if (typeof obj_endOfLifePolicy !== 'string') {
377
+ return new TypeError('Expected "string" but received "' + typeof obj_endOfLifePolicy + '" (at "' + path_endOfLifePolicy + '")');
378
+ }
379
+ })();
380
+ if (obj_endOfLifePolicy_union0_error != null) {
381
+ obj_endOfLifePolicy_union0 = obj_endOfLifePolicy_union0_error.message;
382
+ }
383
+ let obj_endOfLifePolicy_union1 = null;
384
+ const obj_endOfLifePolicy_union1_error = (() => {
385
+ if (obj_endOfLifePolicy !== null) {
386
+ return new TypeError('Expected "null" but received "' + typeof obj_endOfLifePolicy + '" (at "' + path_endOfLifePolicy + '")');
387
+ }
388
+ })();
389
+ if (obj_endOfLifePolicy_union1_error != null) {
390
+ obj_endOfLifePolicy_union1 = obj_endOfLifePolicy_union1_error.message;
391
+ }
392
+ if (obj_endOfLifePolicy_union0 && obj_endOfLifePolicy_union1) {
393
+ let message = 'Object doesn\'t match union (at "' + path_endOfLifePolicy + '")';
394
+ message += '\n' + obj_endOfLifePolicy_union0.split('\n').map((line) => '\t' + line).join('\n');
395
+ message += '\n' + obj_endOfLifePolicy_union1.split('\n').map((line) => '\t' + line).join('\n');
396
+ return new TypeError(message);
397
+ }
398
+ }
399
+ if (obj.rollOverModelArtifactReference !== undefined) {
400
+ const obj_rollOverModelArtifactReference = obj.rollOverModelArtifactReference;
401
+ const path_rollOverModelArtifactReference = path + '.rollOverModelArtifactReference';
402
+ const referencepath_rollOverModelArtifactReferenceValidationError = validate$A(obj_rollOverModelArtifactReference, path_rollOverModelArtifactReference);
403
+ if (referencepath_rollOverModelArtifactReferenceValidationError !== null) {
404
+ let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_rollOverModelArtifactReference + '")\n';
405
+ message += referencepath_rollOverModelArtifactReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
406
+ return new TypeError(message);
407
+ }
408
+ }
409
+ })();
410
+ return v_error === undefined ? null : v_error;
411
+ }
412
+
413
+ function validate$y(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
414
+ const v_error = (() => {
415
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
416
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
417
+ }
418
+ const obj_dataType = obj.dataType;
419
+ const path_dataType = path + '.dataType';
420
+ if (typeof obj_dataType !== 'string') {
421
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
422
+ }
423
+ const obj_isDisparateImpact = obj.isDisparateImpact;
424
+ const path_isDisparateImpact = path + '.isDisparateImpact';
425
+ if (typeof obj_isDisparateImpact !== 'boolean') {
426
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isDisparateImpact + '" (at "' + path_isDisparateImpact + '")');
427
+ }
428
+ const obj_isPartitionField = obj.isPartitionField;
429
+ const path_isPartitionField = path + '.isPartitionField';
430
+ if (typeof obj_isPartitionField !== 'boolean') {
431
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPartitionField + '" (at "' + path_isPartitionField + '")');
432
+ }
433
+ const obj_isSensitive = obj.isSensitive;
434
+ const path_isSensitive = path + '.isSensitive';
435
+ if (typeof obj_isSensitive !== 'boolean') {
436
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSensitive + '" (at "' + path_isSensitive + '")');
437
+ }
438
+ const obj_position = obj.position;
439
+ const path_position = path + '.position';
440
+ if (typeof obj_position !== 'number' || (typeof obj_position === 'number' && Math.floor(obj_position) !== obj_position)) {
441
+ return new TypeError('Expected "integer" but received "' + typeof obj_position + '" (at "' + path_position + '")');
442
+ }
443
+ })();
444
+ return v_error === undefined ? null : v_error;
445
+ }
446
+
344
447
  function validate$x(obj, path = 'MlConnectorEndpointRepresentation') {
345
448
  const v_error = (() => {
346
449
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -398,7 +501,7 @@ function validate$x(obj, path = 'MlConnectorEndpointRepresentation') {
398
501
  if (obj.namedCredential !== undefined) {
399
502
  const obj_namedCredential = obj.namedCredential;
400
503
  const path_namedCredential = path + '.namedCredential';
401
- const referencepath_namedCredentialValidationError = validate$y(obj_namedCredential, path_namedCredential);
504
+ const referencepath_namedCredentialValidationError = validate$A(obj_namedCredential, path_namedCredential);
402
505
  if (referencepath_namedCredentialValidationError !== null) {
403
506
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_namedCredential + '")\n';
404
507
  message += referencepath_namedCredentialValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -495,7 +598,7 @@ function validate$v(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation
495
598
  }
496
599
 
497
600
  const TTL$8 = 1000;
498
- const VERSION$8 = "7f7fc62b42f91399ac9626ac046533ea";
601
+ const VERSION$8 = "ae56a591d51de237bc7e4d4f66b7505e";
499
602
  function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
500
603
  const v_error = (() => {
501
604
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -504,7 +607,7 @@ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
504
607
  if (obj.createdBy !== undefined) {
505
608
  const obj_createdBy = obj.createdBy;
506
609
  const path_createdBy = path + '.createdBy';
507
- const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
610
+ const referencepath_createdByValidationError = validate$B(obj_createdBy, path_createdBy);
508
611
  if (referencepath_createdByValidationError !== null) {
509
612
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
510
613
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -539,6 +642,16 @@ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
539
642
  return new TypeError(message);
540
643
  }
541
644
  }
645
+ if (obj.deprecationConfiguration !== undefined) {
646
+ const obj_deprecationConfiguration = obj.deprecationConfiguration;
647
+ const path_deprecationConfiguration = path + '.deprecationConfiguration';
648
+ const referencepath_deprecationConfigurationValidationError = validate$z(obj_deprecationConfiguration, path_deprecationConfiguration);
649
+ if (referencepath_deprecationConfigurationValidationError !== null) {
650
+ let message = 'Object doesn\'t match MlDeprecationConfigurationRepresentation (at "' + path_deprecationConfiguration + '")\n';
651
+ message += referencepath_deprecationConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
652
+ return new TypeError(message);
653
+ }
654
+ }
542
655
  if (obj.description !== undefined) {
543
656
  const obj_description = obj.description;
544
657
  const path_description = path + '.description';
@@ -582,7 +695,7 @@ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
582
695
  for (let i = 0; i < obj_inputFields.length; i++) {
583
696
  const obj_inputFields_item = obj_inputFields[i];
584
697
  const path_inputFields_item = path_inputFields + '[' + i + ']';
585
- const referencepath_inputFields_itemValidationError = validate$z(obj_inputFields_item, path_inputFields_item);
698
+ const referencepath_inputFields_itemValidationError = validate$y(obj_inputFields_item, path_inputFields_item);
586
699
  if (referencepath_inputFields_itemValidationError !== null) {
587
700
  let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_inputFields_item + '")\n';
588
701
  message += referencepath_inputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -620,7 +733,7 @@ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
620
733
  if (obj.lastModifiedBy !== undefined) {
621
734
  const obj_lastModifiedBy = obj.lastModifiedBy;
622
735
  const path_lastModifiedBy = path + '.lastModifiedBy';
623
- const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
736
+ const referencepath_lastModifiedByValidationError = validate$B(obj_lastModifiedBy, path_lastModifiedBy);
624
737
  if (referencepath_lastModifiedByValidationError !== null) {
625
738
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
626
739
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -748,7 +861,7 @@ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
748
861
  if (obj.setupContainer !== undefined) {
749
862
  const obj_setupContainer = obj.setupContainer;
750
863
  const path_setupContainer = path + '.setupContainer';
751
- const referencepath_setupContainerValidationError = validate$y(obj_setupContainer, path_setupContainer);
864
+ const referencepath_setupContainerValidationError = validate$A(obj_setupContainer, path_setupContainer);
752
865
  if (referencepath_setupContainerValidationError !== null) {
753
866
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_setupContainer + '")\n';
754
867
  message += referencepath_setupContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -758,7 +871,7 @@ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
758
871
  if (obj.source !== undefined) {
759
872
  const obj_source = obj.source;
760
873
  const path_source = path + '.source';
761
- const referencepath_sourceValidationError = validate$y(obj_source, path_source);
874
+ const referencepath_sourceValidationError = validate$A(obj_source, path_source);
762
875
  if (referencepath_sourceValidationError !== null) {
763
876
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_source + '")\n';
764
877
  message += referencepath_sourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -768,7 +881,7 @@ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
768
881
  if (obj.sourceContainer !== undefined) {
769
882
  const obj_sourceContainer = obj.sourceContainer;
770
883
  const path_sourceContainer = path + '.sourceContainer';
771
- const referencepath_sourceContainerValidationError = validate$y(obj_sourceContainer, path_sourceContainer);
884
+ const referencepath_sourceContainerValidationError = validate$A(obj_sourceContainer, path_sourceContainer);
772
885
  if (referencepath_sourceContainerValidationError !== null) {
773
886
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_sourceContainer + '")\n';
774
887
  message += referencepath_sourceContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1250,7 +1363,7 @@ function keyBuilderFromType$3(luvio, object) {
1250
1363
  }
1251
1364
 
1252
1365
  const TTL$6 = 1000;
1253
- const VERSION$6 = "657ddb10ce420b0923527e19e710f9ef";
1366
+ const VERSION$6 = "ed85e2fecdef33e09a8ef668124d844b";
1254
1367
  function validate$r(obj, path = 'MlConfiguredModelRepresentation') {
1255
1368
  const v_error = (() => {
1256
1369
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1272,7 +1385,7 @@ function validate$r(obj, path = 'MlConfiguredModelRepresentation') {
1272
1385
  }
1273
1386
  const obj_artifact = obj.artifact;
1274
1387
  const path_artifact = path + '.artifact';
1275
- const referencepath_artifactValidationError = validate$y(obj_artifact, path_artifact);
1388
+ const referencepath_artifactValidationError = validate$A(obj_artifact, path_artifact);
1276
1389
  if (referencepath_artifactValidationError !== null) {
1277
1390
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
1278
1391
  message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1314,7 +1427,7 @@ function validate$r(obj, path = 'MlConfiguredModelRepresentation') {
1314
1427
  if (obj.createdBy !== undefined) {
1315
1428
  const obj_createdBy = obj.createdBy;
1316
1429
  const path_createdBy = path + '.createdBy';
1317
- const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
1430
+ const referencepath_createdByValidationError = validate$B(obj_createdBy, path_createdBy);
1318
1431
  if (referencepath_createdByValidationError !== null) {
1319
1432
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1320
1433
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1349,6 +1462,16 @@ function validate$r(obj, path = 'MlConfiguredModelRepresentation') {
1349
1462
  return new TypeError(message);
1350
1463
  }
1351
1464
  }
1465
+ if (obj.deprecationConfiguration !== undefined) {
1466
+ const obj_deprecationConfiguration = obj.deprecationConfiguration;
1467
+ const path_deprecationConfiguration = path + '.deprecationConfiguration';
1468
+ const referencepath_deprecationConfigurationValidationError = validate$z(obj_deprecationConfiguration, path_deprecationConfiguration);
1469
+ if (referencepath_deprecationConfigurationValidationError !== null) {
1470
+ let message = 'Object doesn\'t match MlDeprecationConfigurationRepresentation (at "' + path_deprecationConfiguration + '")\n';
1471
+ message += referencepath_deprecationConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1472
+ return new TypeError(message);
1473
+ }
1474
+ }
1352
1475
  if (obj.description !== undefined) {
1353
1476
  const obj_description = obj.description;
1354
1477
  const path_description = path + '.description';
@@ -1394,7 +1517,7 @@ function validate$r(obj, path = 'MlConfiguredModelRepresentation') {
1394
1517
  if (obj.lastActivatedBy !== undefined) {
1395
1518
  const obj_lastActivatedBy = obj.lastActivatedBy;
1396
1519
  const path_lastActivatedBy = path + '.lastActivatedBy';
1397
- const referencepath_lastActivatedByValidationError = validate$A(obj_lastActivatedBy, path_lastActivatedBy);
1520
+ const referencepath_lastActivatedByValidationError = validate$B(obj_lastActivatedBy, path_lastActivatedBy);
1398
1521
  if (referencepath_lastActivatedByValidationError !== null) {
1399
1522
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
1400
1523
  message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1411,7 +1534,7 @@ function validate$r(obj, path = 'MlConfiguredModelRepresentation') {
1411
1534
  if (obj.lastModifiedBy !== undefined) {
1412
1535
  const obj_lastModifiedBy = obj.lastModifiedBy;
1413
1536
  const path_lastModifiedBy = path + '.lastModifiedBy';
1414
- const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
1537
+ const referencepath_lastModifiedByValidationError = validate$B(obj_lastModifiedBy, path_lastModifiedBy);
1415
1538
  if (referencepath_lastModifiedByValidationError !== null) {
1416
1539
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1417
1540
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2654,7 +2777,7 @@ function validate$g(obj, path = 'CdpMlWorkspaceRepresentation') {
2654
2777
  if (obj.activeSetup !== undefined) {
2655
2778
  const obj_activeSetup = obj.activeSetup;
2656
2779
  const path_activeSetup = path + '.activeSetup';
2657
- const referencepath_activeSetupValidationError = validate$y(obj_activeSetup, path_activeSetup);
2780
+ const referencepath_activeSetupValidationError = validate$A(obj_activeSetup, path_activeSetup);
2658
2781
  if (referencepath_activeSetupValidationError !== null) {
2659
2782
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
2660
2783
  message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2692,7 +2815,7 @@ function validate$g(obj, path = 'CdpMlWorkspaceRepresentation') {
2692
2815
  if (obj.createdBy !== undefined) {
2693
2816
  const obj_createdBy = obj.createdBy;
2694
2817
  const path_createdBy = path + '.createdBy';
2695
- const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
2818
+ const referencepath_createdByValidationError = validate$B(obj_createdBy, path_createdBy);
2696
2819
  if (referencepath_createdByValidationError !== null) {
2697
2820
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
2698
2821
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2821,7 +2944,7 @@ function validate$g(obj, path = 'CdpMlWorkspaceRepresentation') {
2821
2944
  if (obj.lastModifiedBy !== undefined) {
2822
2945
  const obj_lastModifiedBy = obj.lastModifiedBy;
2823
2946
  const path_lastModifiedBy = path + '.lastModifiedBy';
2824
- const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
2947
+ const referencepath_lastModifiedByValidationError = validate$B(obj_lastModifiedBy, path_lastModifiedBy);
2825
2948
  if (referencepath_lastModifiedByValidationError !== null) {
2826
2949
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
2827
2950
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2859,7 +2982,7 @@ function validate$g(obj, path = 'CdpMlWorkspaceRepresentation') {
2859
2982
  if (obj.latestSetup !== undefined) {
2860
2983
  const obj_latestSetup = obj.latestSetup;
2861
2984
  const path_latestSetup = path + '.latestSetup';
2862
- const referencepath_latestSetupValidationError = validate$y(obj_latestSetup, path_latestSetup);
2985
+ const referencepath_latestSetupValidationError = validate$A(obj_latestSetup, path_latestSetup);
2863
2986
  if (referencepath_latestSetupValidationError !== null) {
2864
2987
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
2865
2988
  message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3363,7 +3486,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3363
3486
  if (obj.activeSetup !== undefined) {
3364
3487
  const obj_activeSetup = obj.activeSetup;
3365
3488
  const path_activeSetup = path + '.activeSetup';
3366
- const referencepath_activeSetupValidationError = validate$y(obj_activeSetup, path_activeSetup);
3489
+ const referencepath_activeSetupValidationError = validate$A(obj_activeSetup, path_activeSetup);
3367
3490
  if (referencepath_activeSetupValidationError !== null) {
3368
3491
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
3369
3492
  message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3401,7 +3524,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3401
3524
  if (obj.createdBy !== undefined) {
3402
3525
  const obj_createdBy = obj.createdBy;
3403
3526
  const path_createdBy = path + '.createdBy';
3404
- const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
3527
+ const referencepath_createdByValidationError = validate$B(obj_createdBy, path_createdBy);
3405
3528
  if (referencepath_createdByValidationError !== null) {
3406
3529
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
3407
3530
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3530,7 +3653,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3530
3653
  if (obj.lastModifiedBy !== undefined) {
3531
3654
  const obj_lastModifiedBy = obj.lastModifiedBy;
3532
3655
  const path_lastModifiedBy = path + '.lastModifiedBy';
3533
- const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
3656
+ const referencepath_lastModifiedByValidationError = validate$B(obj_lastModifiedBy, path_lastModifiedBy);
3534
3657
  if (referencepath_lastModifiedByValidationError !== null) {
3535
3658
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
3536
3659
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3568,7 +3691,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3568
3691
  if (obj.latestSetup !== undefined) {
3569
3692
  const obj_latestSetup = obj.latestSetup;
3570
3693
  const path_latestSetup = path + '.latestSetup';
3571
- const referencepath_latestSetupValidationError = validate$y(obj_latestSetup, path_latestSetup);
3694
+ const referencepath_latestSetupValidationError = validate$A(obj_latestSetup, path_latestSetup);
3572
3695
  if (referencepath_latestSetupValidationError !== null) {
3573
3696
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
3574
3697
  message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4098,7 +4221,7 @@ function validate$9(obj, path = 'CdpMlCustomizableFieldRepresentation') {
4098
4221
  }
4099
4222
  const obj_field = obj.field;
4100
4223
  const path_field = path + '.field';
4101
- const referencepath_fieldValidationError = validate$z(obj_field, path_field);
4224
+ const referencepath_fieldValidationError = validate$y(obj_field, path_field);
4102
4225
  if (referencepath_fieldValidationError !== null) {
4103
4226
  let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_field + '")\n';
4104
4227
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4147,7 +4270,7 @@ function validate$8(obj, path = 'CdpMlConfiguredModelRepresentation') {
4147
4270
  }
4148
4271
  const obj_artifact = obj.artifact;
4149
4272
  const path_artifact = path + '.artifact';
4150
- const referencepath_artifactValidationError = validate$y(obj_artifact, path_artifact);
4273
+ const referencepath_artifactValidationError = validate$A(obj_artifact, path_artifact);
4151
4274
  if (referencepath_artifactValidationError !== null) {
4152
4275
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
4153
4276
  message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4161,7 +4284,7 @@ function validate$8(obj, path = 'CdpMlConfiguredModelRepresentation') {
4161
4284
  if (obj.createdBy !== undefined) {
4162
4285
  const obj_createdBy = obj.createdBy;
4163
4286
  const path_createdBy = path + '.createdBy';
4164
- const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
4287
+ const referencepath_createdByValidationError = validate$B(obj_createdBy, path_createdBy);
4165
4288
  if (referencepath_createdByValidationError !== null) {
4166
4289
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
4167
4290
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4285,7 +4408,7 @@ function validate$8(obj, path = 'CdpMlConfiguredModelRepresentation') {
4285
4408
  if (obj.lastActivatedBy !== undefined) {
4286
4409
  const obj_lastActivatedBy = obj.lastActivatedBy;
4287
4410
  const path_lastActivatedBy = path + '.lastActivatedBy';
4288
- const referencepath_lastActivatedByValidationError = validate$A(obj_lastActivatedBy, path_lastActivatedBy);
4411
+ const referencepath_lastActivatedByValidationError = validate$B(obj_lastActivatedBy, path_lastActivatedBy);
4289
4412
  if (referencepath_lastActivatedByValidationError !== null) {
4290
4413
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
4291
4414
  message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4302,7 +4425,7 @@ function validate$8(obj, path = 'CdpMlConfiguredModelRepresentation') {
4302
4425
  if (obj.lastModifiedBy !== undefined) {
4303
4426
  const obj_lastModifiedBy = obj.lastModifiedBy;
4304
4427
  const path_lastModifiedBy = path + '.lastModifiedBy';
4305
- const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
4428
+ const referencepath_lastModifiedByValidationError = validate$B(obj_lastModifiedBy, path_lastModifiedBy);
4306
4429
  if (referencepath_lastModifiedByValidationError !== null) {
4307
4430
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
4308
4431
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5442,7 +5565,7 @@ function validate(obj, path = 'CdpMlPredictResultRepresentation') {
5442
5565
  }
5443
5566
  const obj_model = obj.model;
5444
5567
  const path_model = path + '.model';
5445
- const referencepath_modelValidationError = validate$y(obj_model, path_model);
5568
+ const referencepath_modelValidationError = validate$A(obj_model, path_model);
5446
5569
  if (referencepath_modelValidationError !== null) {
5447
5570
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_model + '")\n';
5448
5571
  message += referencepath_modelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1,4 +1,5 @@
1
1
  import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
2
+ import { MlDeprecationConfigurationRepresentation as MlDeprecationConfigurationRepresentation_MlDeprecationConfigurationRepresentation } from './MlDeprecationConfigurationRepresentation';
2
3
  import { CdpMlModelInputFieldBaseRepresentation as CdpMlModelInputFieldBaseRepresentation_CdpMlModelInputFieldBaseRepresentation } from './CdpMlModelInputFieldBaseRepresentation';
3
4
  import { MlConnectorEndpointRepresentation as MlConnectorEndpointRepresentation_MlConnectorEndpointRepresentation } from './MlConnectorEndpointRepresentation';
4
5
  import { CdpMlModelOutputFieldRepresentation as CdpMlModelOutputFieldRepresentation_CdpMlModelOutputFieldRepresentation } from './CdpMlModelOutputFieldRepresentation';
@@ -6,7 +7,7 @@ import { CdpMlModelParameterDefinitionBaseRepresentation as CdpMlModelParameterD
6
7
  import { CdpAssetReferenceRepresentation as CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation } from './CdpAssetReferenceRepresentation';
7
8
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
8
9
  export declare const TTL = 1000;
9
- export declare const VERSION = "7f7fc62b42f91399ac9626ac046533ea";
10
+ export declare const VERSION = "ae56a591d51de237bc7e4d4f66b7505e";
10
11
  export declare function validate(obj: any, path?: string): TypeError | null;
11
12
  export declare const RepresentationType: string;
12
13
  export declare function normalize(input: CdpMlModelArtifactBaseRepresentation, existing: CdpMlModelArtifactBaseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpMlModelArtifactBaseRepresentationNormalized;
@@ -25,6 +26,7 @@ export interface CdpMlModelArtifactBaseRepresentationNormalized {
25
26
  createdBy?: CdpUserRepresentation_CdpUserRepresentation;
26
27
  /** Created date */
27
28
  createdDate?: string | null;
29
+ deprecationConfiguration?: MlDeprecationConfigurationRepresentation_MlDeprecationConfigurationRepresentation;
28
30
  /** Description */
29
31
  description?: string | null;
30
32
  /** The 18 character ID of the asset */
@@ -77,6 +79,7 @@ export interface CdpMlModelArtifactBaseRepresentationNormalized {
77
79
  export interface CdpMlModelArtifactBaseRepresentation {
78
80
  createdBy?: CdpUserRepresentation_CdpUserRepresentation;
79
81
  createdDate?: string | null;
82
+ deprecationConfiguration?: MlDeprecationConfigurationRepresentation_MlDeprecationConfigurationRepresentation;
80
83
  description?: string | null;
81
84
  id?: string;
82
85
  inputFields: Array<CdpMlModelInputFieldBaseRepresentation_CdpMlModelInputFieldBaseRepresentation>;
@@ -1,9 +1,10 @@
1
1
  import { CdpAssetReferenceRepresentation as CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation } from './CdpAssetReferenceRepresentation';
2
2
  import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
3
+ import { MlDeprecationConfigurationRepresentation as MlDeprecationConfigurationRepresentation_MlDeprecationConfigurationRepresentation } from './MlDeprecationConfigurationRepresentation';
3
4
  import { CdpMlModelParameterOverrideBaseRepresentation as CdpMlModelParameterOverrideBaseRepresentation_CdpMlModelParameterOverrideBaseRepresentation } from './CdpMlModelParameterOverrideBaseRepresentation';
4
5
  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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
5
6
  export declare const TTL = 1000;
6
- export declare const VERSION = "657ddb10ce420b0923527e19e710f9ef";
7
+ export declare const VERSION = "ed85e2fecdef33e09a8ef668124d844b";
7
8
  export declare function validate(obj: any, path?: string): TypeError | null;
8
9
  export declare const RepresentationType: string;
9
10
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -39,6 +40,7 @@ export interface MlConfiguredModelRepresentationNormalized {
39
40
  createdBy?: CdpUserRepresentation_CdpUserRepresentation;
40
41
  /** Created date */
41
42
  createdDate?: string | null;
43
+ deprecationConfiguration?: MlDeprecationConfigurationRepresentation_MlDeprecationConfigurationRepresentation;
42
44
  /** User defined description */
43
45
  description?: string | null;
44
46
  /** The 18 character ID of the asset */
@@ -83,6 +85,7 @@ export interface MlConfiguredModelRepresentation {
83
85
  connectorType?: string | null;
84
86
  createdBy?: CdpUserRepresentation_CdpUserRepresentation;
85
87
  createdDate?: string | null;
88
+ deprecationConfiguration?: MlDeprecationConfigurationRepresentation_MlDeprecationConfigurationRepresentation;
86
89
  description?: string | null;
87
90
  id?: string;
88
91
  label?: string;
@@ -0,0 +1,38 @@
1
+ import { CdpAssetReferenceRepresentation as CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation } from './CdpAssetReferenceRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "dfad2bfa2b6f5f88607cfd63dd70af93";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: MlDeprecationConfigurationRepresentation, existing: MlDeprecationConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MlDeprecationConfigurationRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: MlDeprecationConfigurationRepresentationNormalized, incoming: MlDeprecationConfigurationRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: MlDeprecationConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Ml Deprecation Configuration Representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface MlDeprecationConfigurationRepresentationNormalized {
18
+ /** Deprecation date */
19
+ deprecationDate?: string | null;
20
+ /** End of life date */
21
+ endOfLifeDate?: string | null;
22
+ /** End of life policy */
23
+ endOfLifePolicy?: string | null;
24
+ /** Roll over model artifact reference if policy is rollover */
25
+ rollOverModelArtifactReference?: CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation;
26
+ }
27
+ /**
28
+ * Ml Deprecation Configuration Representation
29
+ *
30
+ * Keys:
31
+ * (none)
32
+ */
33
+ export interface MlDeprecationConfigurationRepresentation {
34
+ deprecationDate?: string | null;
35
+ endOfLifeDate?: string | null;
36
+ endOfLifePolicy?: string | null;
37
+ rollOverModelArtifactReference?: CdpAssetReferenceRepresentation_CdpAssetReferenceRepresentation;
38
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-cdp-machine-learning",
3
- "version": "1.313.0",
3
+ "version": "1.315.0",
4
4
  "description": "machine learning for data cloud",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/platform-cdp-machine-learning.js",
@@ -41,10 +41,10 @@
41
41
  "test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
42
42
  },
43
43
  "dependencies": {
44
- "@salesforce/lds-bindings": "^1.313.0"
44
+ "@salesforce/lds-bindings": "^1.315.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.313.0"
47
+ "@salesforce/lds-compiler-plugins": "^1.315.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {