@salesforce/lds-adapters-platform-cdp-machine-learning 1.283.0 → 1.284.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.
Files changed (25) hide show
  1. package/dist/es/es2018/platform-cdp-machine-learning.js +1598 -495
  2. package/dist/es/es2018/types/src/generated/adapters/createMlConfiguredModel.d.ts +22 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getCdpMlConfiguredModelCollection.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getMlConfiguredModel.d.ts +29 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getMlConfiguredModelCollection.d.ts +36 -0
  6. package/dist/es/es2018/types/src/generated/adapters/updateMlConfiguredModel.d.ts +23 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -1
  9. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningConfiguredModels.d.ts +24 -0
  10. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningConfiguredModelsByConfiguredModelIdOrName.d.ts +19 -0
  11. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspacesModelsByWorkspaceIdOrName.d.ts +3 -0
  12. package/dist/es/es2018/types/src/generated/resources/patchSsotMachineLearningConfiguredModelsByConfiguredModelIdOrName.d.ts +22 -0
  13. package/dist/es/es2018/types/src/generated/resources/postSsotMachineLearningConfiguredModels.d.ts +19 -0
  14. package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactBaseRepresentation.d.ts +20 -1
  15. package/dist/es/es2018/types/src/generated/types/MlConfiguredModelCollectionRepresentation.d.ts +39 -0
  16. package/dist/es/es2018/types/src/generated/types/MlConfiguredModelInputRepresentation.d.ts +45 -0
  17. package/dist/es/es2018/types/src/generated/types/MlConfiguredModelRepresentation.d.ts +98 -0
  18. package/dist/es/es2018/types/src/generated/types/MlConnectorEndpointRepresentation.d.ts +65 -0
  19. package/dist/es/es2018/types/src/raml-artifacts/resources/getSsotMachineLearningConfiguredModelsByConfiguredModelIdOrName/keyBuilder.d.ts +3 -0
  20. package/dist/es/es2018/types/src/raml-artifacts/types/MlConfiguredModelRepresentation/keyBuilderFromType.d.ts +3 -0
  21. package/dist/es/es2018/types/src/raml-artifacts/utils/nameOrId.d.ts +1 -0
  22. package/package.json +3 -3
  23. package/sfdc/index.js +3002 -1821
  24. package/src/raml/api.raml +387 -0
  25. package/src/raml/luvio.raml +26 -0
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6, typeCheckConfig as typeCheckConfig$8, StoreKeyMap, createResourceParams as createResourceParams$8 } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$c, StoreKeyMap, createResourceParams as createResourceParams$c } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -79,7 +79,7 @@ function createLink(ref) {
79
79
  };
80
80
  }
81
81
 
82
- function validate$s(obj, path = 'CdpUserRepresentation') {
82
+ function validate$v(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,7 +103,7 @@ function validate$s(obj, path = 'CdpUserRepresentation') {
103
103
  return v_error === undefined ? null : v_error;
104
104
  }
105
105
 
106
- function validate$r(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
106
+ function validate$u(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
107
107
  const v_error = (() => {
108
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -137,50 +137,7 @@ function validate$r(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
137
137
  return v_error === undefined ? null : v_error;
138
138
  }
139
139
 
140
- function validate$q(obj, path = 'CdpMlModelOutputFieldRepresentation') {
141
- const v_error = (() => {
142
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
143
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
144
- }
145
- const obj_dataType = obj.dataType;
146
- const path_dataType = path + '.dataType';
147
- if (typeof obj_dataType !== 'string') {
148
- return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
149
- }
150
- const obj_position = obj.position;
151
- const path_position = path + '.position';
152
- if (typeof obj_position !== 'number' || (typeof obj_position === 'number' && Math.floor(obj_position) !== obj_position)) {
153
- return new TypeError('Expected "integer" but received "' + typeof obj_position + '" (at "' + path_position + '")');
154
- }
155
- })();
156
- return v_error === undefined ? null : v_error;
157
- }
158
-
159
- function validate$p(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation') {
160
- const v_error = (() => {
161
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
162
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
163
- }
164
- const obj_description = obj.description;
165
- const path_description = path + '.description';
166
- if (typeof obj_description !== 'string') {
167
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
168
- }
169
- const obj_parameterName = obj.parameterName;
170
- const path_parameterName = path + '.parameterName';
171
- if (typeof obj_parameterName !== 'string') {
172
- return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
173
- }
174
- const obj_type = obj.type;
175
- const path_type = path + '.type';
176
- if (typeof obj_type !== 'string') {
177
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
178
- }
179
- })();
180
- return v_error === undefined ? null : v_error;
181
- }
182
-
183
- function validate$o(obj, path = 'CdpAssetReferenceRepresentation') {
140
+ function validate$t(obj, path = 'CdpAssetReferenceRepresentation') {
184
141
  const v_error = (() => {
185
142
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
186
143
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -188,7 +145,7 @@ function validate$o(obj, path = 'CdpAssetReferenceRepresentation') {
188
145
  if (obj.createdBy !== undefined) {
189
146
  const obj_createdBy = obj.createdBy;
190
147
  const path_createdBy = path + '.createdBy';
191
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
148
+ const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
192
149
  if (referencepath_createdByValidationError !== null) {
193
150
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
194
151
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -261,7 +218,7 @@ function validate$o(obj, path = 'CdpAssetReferenceRepresentation') {
261
218
  if (obj.lastModifiedBy !== undefined) {
262
219
  const obj_lastModifiedBy = obj.lastModifiedBy;
263
220
  const path_lastModifiedBy = path + '.lastModifiedBy';
264
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
221
+ const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
265
222
  if (referencepath_lastModifiedByValidationError !== null) {
266
223
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
267
224
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -384,9 +341,155 @@ function validate$o(obj, path = 'CdpAssetReferenceRepresentation') {
384
341
  return v_error === undefined ? null : v_error;
385
342
  }
386
343
 
387
- const TTL$5 = 1000;
388
- const VERSION$5 = "6d28f4bb028ba6cba885d3f305c117f4";
389
- function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
344
+ function validate$s(obj, path = 'MlConnectorEndpointRepresentation') {
345
+ const v_error = (() => {
346
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
347
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
348
+ }
349
+ if (obj.authHeader !== undefined) {
350
+ const obj_authHeader = obj.authHeader;
351
+ const path_authHeader = path + '.authHeader';
352
+ if (typeof obj_authHeader !== 'string') {
353
+ return new TypeError('Expected "string" but received "' + typeof obj_authHeader + '" (at "' + path_authHeader + '")');
354
+ }
355
+ }
356
+ if (obj.authentication !== undefined) {
357
+ const obj_authentication = obj.authentication;
358
+ const path_authentication = path + '.authentication';
359
+ if (typeof obj_authentication !== 'string') {
360
+ return new TypeError('Expected "string" but received "' + typeof obj_authentication + '" (at "' + path_authentication + '")');
361
+ }
362
+ }
363
+ if (obj.connectorType !== undefined) {
364
+ const obj_connectorType = obj.connectorType;
365
+ const path_connectorType = path + '.connectorType';
366
+ if (typeof obj_connectorType !== 'string') {
367
+ return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
368
+ }
369
+ }
370
+ if (obj.endpointUrl !== undefined) {
371
+ const obj_endpointUrl = obj.endpointUrl;
372
+ const path_endpointUrl = path + '.endpointUrl';
373
+ if (typeof obj_endpointUrl !== 'string') {
374
+ return new TypeError('Expected "string" but received "' + typeof obj_endpointUrl + '" (at "' + path_endpointUrl + '")');
375
+ }
376
+ }
377
+ if (obj.foundationalModelName !== undefined) {
378
+ const obj_foundationalModelName = obj.foundationalModelName;
379
+ const path_foundationalModelName = path + '.foundationalModelName';
380
+ if (typeof obj_foundationalModelName !== 'string') {
381
+ return new TypeError('Expected "string" but received "' + typeof obj_foundationalModelName + '" (at "' + path_foundationalModelName + '")');
382
+ }
383
+ }
384
+ if (obj.label !== undefined) {
385
+ const obj_label = obj.label;
386
+ const path_label = path + '.label';
387
+ if (typeof obj_label !== 'string') {
388
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
389
+ }
390
+ }
391
+ if (obj.name !== undefined) {
392
+ const obj_name = obj.name;
393
+ const path_name = path + '.name';
394
+ if (typeof obj_name !== 'string') {
395
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
396
+ }
397
+ }
398
+ if (obj.namedCredential !== undefined) {
399
+ const obj_namedCredential = obj.namedCredential;
400
+ const path_namedCredential = path + '.namedCredential';
401
+ const referencepath_namedCredentialValidationError = validate$t(obj_namedCredential, path_namedCredential);
402
+ if (referencepath_namedCredentialValidationError !== null) {
403
+ let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_namedCredential + '")\n';
404
+ message += referencepath_namedCredentialValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
405
+ return new TypeError(message);
406
+ }
407
+ }
408
+ if (obj.privateKeyId !== undefined) {
409
+ const obj_privateKeyId = obj.privateKeyId;
410
+ const path_privateKeyId = path + '.privateKeyId';
411
+ if (typeof obj_privateKeyId !== 'string') {
412
+ return new TypeError('Expected "string" but received "' + typeof obj_privateKeyId + '" (at "' + path_privateKeyId + '")');
413
+ }
414
+ }
415
+ if (obj.registeredModelApiName !== undefined) {
416
+ const obj_registeredModelApiName = obj.registeredModelApiName;
417
+ const path_registeredModelApiName = path + '.registeredModelApiName';
418
+ if (typeof obj_registeredModelApiName !== 'string') {
419
+ return new TypeError('Expected "string" but received "' + typeof obj_registeredModelApiName + '" (at "' + path_registeredModelApiName + '")');
420
+ }
421
+ }
422
+ if (obj.requestFormat !== undefined) {
423
+ const obj_requestFormat = obj.requestFormat;
424
+ const path_requestFormat = path + '.requestFormat';
425
+ if (typeof obj_requestFormat !== 'string') {
426
+ return new TypeError('Expected "string" but received "' + typeof obj_requestFormat + '" (at "' + path_requestFormat + '")');
427
+ }
428
+ }
429
+ if (obj.responseFormat !== undefined) {
430
+ const obj_responseFormat = obj.responseFormat;
431
+ const path_responseFormat = path + '.responseFormat';
432
+ if (typeof obj_responseFormat !== 'string') {
433
+ return new TypeError('Expected "string" but received "' + typeof obj_responseFormat + '" (at "' + path_responseFormat + '")');
434
+ }
435
+ }
436
+ if (obj.serviceAccountEmail !== undefined) {
437
+ const obj_serviceAccountEmail = obj.serviceAccountEmail;
438
+ const path_serviceAccountEmail = path + '.serviceAccountEmail';
439
+ if (typeof obj_serviceAccountEmail !== 'string') {
440
+ return new TypeError('Expected "string" but received "' + typeof obj_serviceAccountEmail + '" (at "' + path_serviceAccountEmail + '")');
441
+ }
442
+ }
443
+ })();
444
+ return v_error === undefined ? null : v_error;
445
+ }
446
+
447
+ function validate$r(obj, path = 'CdpMlModelOutputFieldRepresentation') {
448
+ const v_error = (() => {
449
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
450
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
451
+ }
452
+ const obj_dataType = obj.dataType;
453
+ const path_dataType = path + '.dataType';
454
+ if (typeof obj_dataType !== 'string') {
455
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
456
+ }
457
+ const obj_position = obj.position;
458
+ const path_position = path + '.position';
459
+ if (typeof obj_position !== 'number' || (typeof obj_position === 'number' && Math.floor(obj_position) !== obj_position)) {
460
+ return new TypeError('Expected "integer" but received "' + typeof obj_position + '" (at "' + path_position + '")');
461
+ }
462
+ })();
463
+ return v_error === undefined ? null : v_error;
464
+ }
465
+
466
+ function validate$q(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation') {
467
+ const v_error = (() => {
468
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
469
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
470
+ }
471
+ const obj_description = obj.description;
472
+ const path_description = path + '.description';
473
+ if (typeof obj_description !== 'string') {
474
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
475
+ }
476
+ const obj_parameterName = obj.parameterName;
477
+ const path_parameterName = path + '.parameterName';
478
+ if (typeof obj_parameterName !== 'string') {
479
+ return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
480
+ }
481
+ const obj_type = obj.type;
482
+ const path_type = path + '.type';
483
+ if (typeof obj_type !== 'string') {
484
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
485
+ }
486
+ })();
487
+ return v_error === undefined ? null : v_error;
488
+ }
489
+
490
+ const TTL$7 = 1000;
491
+ const VERSION$7 = "7f7fc62b42f91399ac9626ac046533ea";
492
+ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
390
493
  const v_error = (() => {
391
494
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
392
495
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -394,7 +497,7 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
394
497
  if (obj.createdBy !== undefined) {
395
498
  const obj_createdBy = obj.createdBy;
396
499
  const path_createdBy = path + '.createdBy';
397
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
500
+ const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
398
501
  if (referencepath_createdByValidationError !== null) {
399
502
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
400
503
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -472,7 +575,7 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
472
575
  for (let i = 0; i < obj_inputFields.length; i++) {
473
576
  const obj_inputFields_item = obj_inputFields[i];
474
577
  const path_inputFields_item = path_inputFields + '[' + i + ']';
475
- const referencepath_inputFields_itemValidationError = validate$r(obj_inputFields_item, path_inputFields_item);
578
+ const referencepath_inputFields_itemValidationError = validate$u(obj_inputFields_item, path_inputFields_item);
476
579
  if (referencepath_inputFields_itemValidationError !== null) {
477
580
  let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_inputFields_item + '")\n';
478
581
  message += referencepath_inputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -510,7 +613,7 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
510
613
  if (obj.lastModifiedBy !== undefined) {
511
614
  const obj_lastModifiedBy = obj.lastModifiedBy;
512
615
  const path_lastModifiedBy = path + '.lastModifiedBy';
513
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
616
+ const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
514
617
  if (referencepath_lastModifiedByValidationError !== null) {
515
618
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
516
619
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -545,6 +648,23 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
545
648
  return new TypeError(message);
546
649
  }
547
650
  }
651
+ if (obj.modelConnectorEndpoint !== undefined) {
652
+ const obj_modelConnectorEndpoint = obj.modelConnectorEndpoint;
653
+ const path_modelConnectorEndpoint = path + '.modelConnectorEndpoint';
654
+ const referencepath_modelConnectorEndpointValidationError = validate$s(obj_modelConnectorEndpoint, path_modelConnectorEndpoint);
655
+ if (referencepath_modelConnectorEndpointValidationError !== null) {
656
+ let message = 'Object doesn\'t match MlConnectorEndpointRepresentation (at "' + path_modelConnectorEndpoint + '")\n';
657
+ message += referencepath_modelConnectorEndpointValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
658
+ return new TypeError(message);
659
+ }
660
+ }
661
+ if (obj.modelCount !== undefined) {
662
+ const obj_modelCount = obj.modelCount;
663
+ const path_modelCount = path + '.modelCount';
664
+ if (typeof obj_modelCount !== 'number' || (typeof obj_modelCount === 'number' && Math.floor(obj_modelCount) !== obj_modelCount)) {
665
+ return new TypeError('Expected "integer" but received "' + typeof obj_modelCount + '" (at "' + path_modelCount + '")');
666
+ }
667
+ }
548
668
  const obj_modelType = obj.modelType;
549
669
  const path_modelType = path + '.modelType';
550
670
  if (typeof obj_modelType !== 'string') {
@@ -591,7 +711,7 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
591
711
  for (let i = 0; i < obj_outputFields.length; i++) {
592
712
  const obj_outputFields_item = obj_outputFields[i];
593
713
  const path_outputFields_item = path_outputFields + '[' + i + ']';
594
- const referencepath_outputFields_itemValidationError = validate$q(obj_outputFields_item, path_outputFields_item);
714
+ const referencepath_outputFields_itemValidationError = validate$r(obj_outputFields_item, path_outputFields_item);
595
715
  if (referencepath_outputFields_itemValidationError !== null) {
596
716
  let message = 'Object doesn\'t match CdpMlModelOutputFieldRepresentation (at "' + path_outputFields_item + '")\n';
597
717
  message += referencepath_outputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -606,7 +726,7 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
606
726
  for (let i = 0; i < obj_parameters.length; i++) {
607
727
  const obj_parameters_item = obj_parameters[i];
608
728
  const path_parameters_item = path_parameters + '[' + i + ']';
609
- const referencepath_parameters_itemValidationError = validate$p(obj_parameters_item, path_parameters_item);
729
+ const referencepath_parameters_itemValidationError = validate$q(obj_parameters_item, path_parameters_item);
610
730
  if (referencepath_parameters_itemValidationError !== null) {
611
731
  let message = 'Object doesn\'t match CdpMlModelParameterDefinitionBaseRepresentation (at "' + path_parameters_item + '")\n';
612
732
  message += referencepath_parameters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -618,21 +738,55 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
618
738
  if (typeof obj_runtimeType !== 'string') {
619
739
  return new TypeError('Expected "string" but received "' + typeof obj_runtimeType + '" (at "' + path_runtimeType + '")');
620
740
  }
741
+ if (obj.setupContainer !== undefined) {
742
+ const obj_setupContainer = obj.setupContainer;
743
+ const path_setupContainer = path + '.setupContainer';
744
+ const referencepath_setupContainerValidationError = validate$t(obj_setupContainer, path_setupContainer);
745
+ if (referencepath_setupContainerValidationError !== null) {
746
+ let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_setupContainer + '")\n';
747
+ message += referencepath_setupContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
748
+ return new TypeError(message);
749
+ }
750
+ }
621
751
  if (obj.source !== undefined) {
622
752
  const obj_source = obj.source;
623
753
  const path_source = path + '.source';
624
- const referencepath_sourceValidationError = validate$o(obj_source, path_source);
754
+ const referencepath_sourceValidationError = validate$t(obj_source, path_source);
625
755
  if (referencepath_sourceValidationError !== null) {
626
756
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_source + '")\n';
627
757
  message += referencepath_sourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
628
758
  return new TypeError(message);
629
759
  }
630
760
  }
761
+ if (obj.sourceContainer !== undefined) {
762
+ const obj_sourceContainer = obj.sourceContainer;
763
+ const path_sourceContainer = path + '.sourceContainer';
764
+ const referencepath_sourceContainerValidationError = validate$t(obj_sourceContainer, path_sourceContainer);
765
+ if (referencepath_sourceContainerValidationError !== null) {
766
+ let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_sourceContainer + '")\n';
767
+ message += referencepath_sourceContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
768
+ return new TypeError(message);
769
+ }
770
+ }
631
771
  const obj_sourceType = obj.sourceType;
632
772
  const path_sourceType = path + '.sourceType';
633
773
  if (typeof obj_sourceType !== 'string') {
634
774
  return new TypeError('Expected "string" but received "' + typeof obj_sourceType + '" (at "' + path_sourceType + '")');
635
775
  }
776
+ if (obj.status !== undefined) {
777
+ const obj_status = obj.status;
778
+ const path_status = path + '.status';
779
+ if (typeof obj_status !== 'string') {
780
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
781
+ }
782
+ }
783
+ if (obj.syncStatus !== undefined) {
784
+ const obj_syncStatus = obj.syncStatus;
785
+ const path_syncStatus = path + '.syncStatus';
786
+ if (typeof obj_syncStatus !== 'string') {
787
+ return new TypeError('Expected "string" but received "' + typeof obj_syncStatus + '" (at "' + path_syncStatus + '")');
788
+ }
789
+ }
636
790
  const obj_url = obj.url;
637
791
  const path_url = path + '.url';
638
792
  if (typeof obj_url !== 'string') {
@@ -641,49 +795,49 @@ function validate$n(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
641
795
  })();
642
796
  return v_error === undefined ? null : v_error;
643
797
  }
644
- const RepresentationType$5 = 'CdpMlModelArtifactBaseRepresentation';
645
- function normalize$5(input, existing, path, luvio, store, timestamp) {
798
+ const RepresentationType$7 = 'CdpMlModelArtifactBaseRepresentation';
799
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
646
800
  return input;
647
801
  }
648
- const select$d = function CdpMlModelArtifactBaseRepresentationSelect() {
802
+ const select$j = function CdpMlModelArtifactBaseRepresentationSelect() {
649
803
  return {
650
804
  kind: 'Fragment',
651
- version: VERSION$5,
805
+ version: VERSION$7,
652
806
  private: [],
653
807
  opaque: true
654
808
  };
655
809
  };
656
- function equals$5(existing, incoming) {
810
+ function equals$7(existing, incoming) {
657
811
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
658
812
  return false;
659
813
  }
660
814
  return true;
661
815
  }
662
- const ingest$5 = function CdpMlModelArtifactBaseRepresentationIngest(input, path, luvio, store, timestamp) {
816
+ const ingest$7 = function CdpMlModelArtifactBaseRepresentationIngest(input, path, luvio, store, timestamp) {
663
817
  if (process.env.NODE_ENV !== 'production') {
664
- const validateError = validate$n(input);
818
+ const validateError = validate$p(input);
665
819
  if (validateError !== null) {
666
820
  throw validateError;
667
821
  }
668
822
  }
669
823
  const key = path.fullPath;
670
- const ttlToUse = TTL$5;
671
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "cdp-machine-learning", VERSION$5, RepresentationType$5, equals$5);
824
+ const ttlToUse = TTL$7;
825
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "cdp-machine-learning", VERSION$7, RepresentationType$7, equals$7);
672
826
  return createLink(key);
673
827
  };
674
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
828
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
675
829
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
676
830
  const rootKey = fullPathFactory();
677
831
  rootKeySet.set(rootKey, {
678
832
  namespace: keyPrefix,
679
- representationName: RepresentationType$5,
833
+ representationName: RepresentationType$7,
680
834
  mergeable: false
681
835
  });
682
836
  }
683
837
 
684
- const TTL$4 = 1000;
685
- const VERSION$4 = "31baba639dc891173a7ce2db82dae35f";
686
- function validate$m(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
838
+ const TTL$6 = 1000;
839
+ const VERSION$6 = "31baba639dc891173a7ce2db82dae35f";
840
+ function validate$o(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
687
841
  const v_error = (() => {
688
842
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
689
843
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -701,7 +855,7 @@ function validate$m(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
701
855
  for (let i = 0; i < obj_modelArtifacts.length; i++) {
702
856
  const obj_modelArtifacts_item = obj_modelArtifacts[i];
703
857
  const path_modelArtifacts_item = path_modelArtifacts + '[' + i + ']';
704
- const referencepath_modelArtifacts_itemValidationError = validate$n(obj_modelArtifacts_item, path_modelArtifacts_item);
858
+ const referencepath_modelArtifacts_itemValidationError = validate$p(obj_modelArtifacts_item, path_modelArtifacts_item);
705
859
  if (referencepath_modelArtifacts_itemValidationError !== null) {
706
860
  let message = 'Object doesn\'t match CdpMlModelArtifactBaseRepresentation (at "' + path_modelArtifacts_item + '")\n';
707
861
  message += referencepath_modelArtifacts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -742,62 +896,62 @@ function validate$m(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
742
896
  })();
743
897
  return v_error === undefined ? null : v_error;
744
898
  }
745
- const RepresentationType$4 = 'CdpMlModelArtifactCollectionRepresentation';
746
- function normalize$4(input, existing, path, luvio, store, timestamp) {
899
+ const RepresentationType$6 = 'CdpMlModelArtifactCollectionRepresentation';
900
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
747
901
  return input;
748
902
  }
749
- const select$c = function CdpMlModelArtifactCollectionRepresentationSelect() {
903
+ const select$i = function CdpMlModelArtifactCollectionRepresentationSelect() {
750
904
  return {
751
905
  kind: 'Fragment',
752
- version: VERSION$4,
906
+ version: VERSION$6,
753
907
  private: [],
754
908
  opaque: true
755
909
  };
756
910
  };
757
- function equals$4(existing, incoming) {
911
+ function equals$6(existing, incoming) {
758
912
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
759
913
  return false;
760
914
  }
761
915
  return true;
762
916
  }
763
- const ingest$4 = function CdpMlModelArtifactCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
917
+ const ingest$6 = function CdpMlModelArtifactCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
764
918
  if (process.env.NODE_ENV !== 'production') {
765
- const validateError = validate$m(input);
919
+ const validateError = validate$o(input);
766
920
  if (validateError !== null) {
767
921
  throw validateError;
768
922
  }
769
923
  }
770
924
  const key = path.fullPath;
771
- const ttlToUse = TTL$4;
772
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "cdp-machine-learning", VERSION$4, RepresentationType$4, equals$4);
925
+ const ttlToUse = TTL$6;
926
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "cdp-machine-learning", VERSION$6, RepresentationType$6, equals$6);
773
927
  return createLink(key);
774
928
  };
775
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
929
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
776
930
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
777
931
  const rootKey = fullPathFactory();
778
932
  rootKeySet.set(rootKey, {
779
933
  namespace: keyPrefix,
780
- representationName: RepresentationType$4,
934
+ representationName: RepresentationType$6,
781
935
  mergeable: false
782
936
  });
783
937
  }
784
938
 
785
- function select$b(luvio, params) {
786
- return select$c();
939
+ function select$h(luvio, params) {
940
+ return select$i();
787
941
  }
788
- function keyBuilder$b(luvio, params) {
942
+ function keyBuilder$f(luvio, params) {
789
943
  return keyPrefix + '::CdpMlModelArtifactCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'modelType:' + params.queryParams.modelType + ',' + 'offset:' + params.queryParams.offset + ',' + 'sourceType:' + params.queryParams.sourceType + ')';
790
944
  }
791
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
792
- getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
945
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
946
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
793
947
  }
794
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
948
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
795
949
  const { body } = response;
796
- const key = keyBuilder$b(luvio, resourceParams);
797
- luvio.storeIngest(key, ingest$4, body);
950
+ const key = keyBuilder$f(luvio, resourceParams);
951
+ luvio.storeIngest(key, ingest$6, body);
798
952
  const snapshot = luvio.storeLookup({
799
953
  recordId: key,
800
- node: select$b(),
954
+ node: select$h(),
801
955
  variables: {},
802
956
  }, snapshotRefresh);
803
957
  if (process.env.NODE_ENV !== 'production') {
@@ -808,19 +962,19 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
808
962
  deepFreeze(snapshot.data);
809
963
  return snapshot;
810
964
  }
811
- function ingestError$5(luvio, params, error, snapshotRefresh) {
812
- const key = keyBuilder$b(luvio, params);
965
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
966
+ const key = keyBuilder$f(luvio, params);
813
967
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
814
968
  const storeMetadataParams = {
815
- ttl: TTL$4,
969
+ ttl: TTL$6,
816
970
  namespace: keyPrefix,
817
- version: VERSION$4,
818
- representationName: RepresentationType$4
971
+ version: VERSION$6,
972
+ representationName: RepresentationType$6
819
973
  };
820
974
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
821
975
  return errorSnapshot;
822
976
  }
823
- function createResourceRequest$7(config) {
977
+ function createResourceRequest$b(config) {
824
978
  const headers = {};
825
979
  return {
826
980
  baseUri: '/services/data/v61.0',
@@ -834,111 +988,111 @@ function createResourceRequest$7(config) {
834
988
  };
835
989
  }
836
990
 
837
- const adapterName$7 = 'getCdpMlModelArtifactCollection';
991
+ const adapterName$b = 'getCdpMlModelArtifactCollection';
838
992
  const getCdpMlModelArtifactCollection_ConfigPropertyMetadata = [
839
993
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
840
994
  generateParamConfigMetadata('modelType', false, 1 /* QueryParameter */, 0 /* String */),
841
995
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
842
996
  generateParamConfigMetadata('sourceType', false, 1 /* QueryParameter */, 0 /* String */),
843
997
  ];
844
- const getCdpMlModelArtifactCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
845
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
846
- function keyBuilder$a(luvio, config) {
847
- const resourceParams = createResourceParams$7(config);
848
- return keyBuilder$b(luvio, resourceParams);
998
+ const getCdpMlModelArtifactCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
999
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1000
+ function keyBuilder$e(luvio, config) {
1001
+ const resourceParams = createResourceParams$b(config);
1002
+ return keyBuilder$f(luvio, resourceParams);
849
1003
  }
850
- function typeCheckConfig$7(untrustedConfig) {
1004
+ function typeCheckConfig$b(untrustedConfig) {
851
1005
  const config = {};
852
- typeCheckConfig$8(untrustedConfig, config, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1006
+ typeCheckConfig$c(untrustedConfig, config, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
853
1007
  return config;
854
1008
  }
855
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
1009
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
856
1010
  if (!untrustedIsObject(untrustedConfig)) {
857
1011
  return null;
858
1012
  }
859
1013
  if (process.env.NODE_ENV !== 'production') {
860
1014
  validateConfig(untrustedConfig, configPropertyNames);
861
1015
  }
862
- const config = typeCheckConfig$7(untrustedConfig);
1016
+ const config = typeCheckConfig$b(untrustedConfig);
863
1017
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
864
1018
  return null;
865
1019
  }
866
1020
  return config;
867
1021
  }
868
- function adapterFragment$5(luvio, config) {
869
- createResourceParams$7(config);
870
- return select$b();
1022
+ function adapterFragment$7(luvio, config) {
1023
+ createResourceParams$b(config);
1024
+ return select$h();
871
1025
  }
872
- function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
873
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
1026
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
1027
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
874
1028
  config,
875
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
1029
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
876
1030
  });
877
1031
  return luvio.storeBroadcast().then(() => snapshot);
878
1032
  }
879
- function onFetchResponseError$5(luvio, config, resourceParams, response) {
880
- const snapshot = ingestError$5(luvio, resourceParams, response, {
1033
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
1034
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
881
1035
  config,
882
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
1036
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
883
1037
  });
884
1038
  return luvio.storeBroadcast().then(() => snapshot);
885
1039
  }
886
- function buildNetworkSnapshot$7(luvio, config, options) {
887
- const resourceParams = createResourceParams$7(config);
888
- const request = createResourceRequest$7(resourceParams);
1040
+ function buildNetworkSnapshot$b(luvio, config, options) {
1041
+ const resourceParams = createResourceParams$b(config);
1042
+ const request = createResourceRequest$b(resourceParams);
889
1043
  return luvio.dispatchResourceRequest(request, options)
890
1044
  .then((response) => {
891
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
1045
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
892
1046
  const cache = new StoreKeyMap();
893
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
1047
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
894
1048
  return cache;
895
1049
  });
896
1050
  }, (response) => {
897
- return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
1051
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
898
1052
  });
899
1053
  }
900
- function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
901
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
1054
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
1055
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
902
1056
  }
903
- function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
1057
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
904
1058
  const { luvio, config } = context;
905
1059
  const selector = {
906
- recordId: keyBuilder$a(luvio, config),
907
- node: adapterFragment$5(luvio, config),
1060
+ recordId: keyBuilder$e(luvio, config),
1061
+ node: adapterFragment$7(luvio, config),
908
1062
  variables: {},
909
1063
  };
910
1064
  const cacheSnapshot = storeLookup(selector, {
911
1065
  config,
912
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
1066
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
913
1067
  });
914
1068
  return cacheSnapshot;
915
1069
  }
916
1070
  const getCdpMlModelArtifactCollectionAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlModelArtifactCollection(untrustedConfig, requestContext) {
917
- const config = validateAdapterConfig$7(untrustedConfig, getCdpMlModelArtifactCollection_ConfigPropertyNames);
1071
+ const config = validateAdapterConfig$b(untrustedConfig, getCdpMlModelArtifactCollection_ConfigPropertyNames);
918
1072
  // Invalid or incomplete config
919
1073
  if (config === null) {
920
1074
  return null;
921
1075
  }
922
1076
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
923
- buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
1077
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
924
1078
  };
925
1079
 
926
- function select$a(luvio, params) {
927
- return select$d();
1080
+ function select$g(luvio, params) {
1081
+ return select$j();
928
1082
  }
929
- function keyBuilder$9(luvio, params) {
1083
+ function keyBuilder$d(luvio, params) {
930
1084
  return keyPrefix + '::CdpMlModelArtifactBaseRepresentation:(' + 'modelArtifactIdOrName:' + params.urlParams.modelArtifactIdOrName + ')';
931
1085
  }
932
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
933
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
1086
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
1087
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
934
1088
  }
935
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1089
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
936
1090
  const { body } = response;
937
- const key = keyBuilder$9(luvio, resourceParams);
938
- luvio.storeIngest(key, ingest$5, body);
1091
+ const key = keyBuilder$d(luvio, resourceParams);
1092
+ luvio.storeIngest(key, ingest$7, body);
939
1093
  const snapshot = luvio.storeLookup({
940
1094
  recordId: key,
941
- node: select$a(),
1095
+ node: select$g(),
942
1096
  variables: {},
943
1097
  }, snapshotRefresh);
944
1098
  if (process.env.NODE_ENV !== 'production') {
@@ -949,19 +1103,19 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
949
1103
  deepFreeze(snapshot.data);
950
1104
  return snapshot;
951
1105
  }
952
- function ingestError$4(luvio, params, error, snapshotRefresh) {
953
- const key = keyBuilder$9(luvio, params);
1106
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
1107
+ const key = keyBuilder$d(luvio, params);
954
1108
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
955
1109
  const storeMetadataParams = {
956
- ttl: TTL$5,
1110
+ ttl: TTL$7,
957
1111
  namespace: keyPrefix,
958
- version: VERSION$5,
959
- representationName: RepresentationType$5
1112
+ version: VERSION$7,
1113
+ representationName: RepresentationType$7
960
1114
  };
961
1115
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
962
1116
  return errorSnapshot;
963
1117
  }
964
- function createResourceRequest$6(config) {
1118
+ function createResourceRequest$a(config) {
965
1119
  const headers = {};
966
1120
  return {
967
1121
  baseUri: '/services/data/v61.0',
@@ -975,19 +1129,1208 @@ function createResourceRequest$6(config) {
975
1129
  };
976
1130
  }
977
1131
 
978
- const adapterName$6 = 'getCdpMlModelArtifact';
1132
+ const adapterName$a = 'getCdpMlModelArtifact';
979
1133
  const getCdpMlModelArtifact_ConfigPropertyMetadata = [
980
1134
  generateParamConfigMetadata('modelArtifactIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
981
1135
  ];
982
- const getCdpMlModelArtifact_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getCdpMlModelArtifact_ConfigPropertyMetadata);
983
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$8(getCdpMlModelArtifact_ConfigPropertyMetadata);
984
- function keyBuilder$8(luvio, config) {
985
- const resourceParams = createResourceParams$6(config);
986
- return keyBuilder$9(luvio, resourceParams);
1136
+ const getCdpMlModelArtifact_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getCdpMlModelArtifact_ConfigPropertyMetadata);
1137
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(getCdpMlModelArtifact_ConfigPropertyMetadata);
1138
+ function keyBuilder$c(luvio, config) {
1139
+ const resourceParams = createResourceParams$a(config);
1140
+ return keyBuilder$d(luvio, resourceParams);
987
1141
  }
988
- function typeCheckConfig$6(untrustedConfig) {
1142
+ function typeCheckConfig$a(untrustedConfig) {
989
1143
  const config = {};
990
- typeCheckConfig$8(untrustedConfig, config, getCdpMlModelArtifact_ConfigPropertyMetadata);
1144
+ typeCheckConfig$c(untrustedConfig, config, getCdpMlModelArtifact_ConfigPropertyMetadata);
1145
+ return config;
1146
+ }
1147
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
1148
+ if (!untrustedIsObject(untrustedConfig)) {
1149
+ return null;
1150
+ }
1151
+ if (process.env.NODE_ENV !== 'production') {
1152
+ validateConfig(untrustedConfig, configPropertyNames);
1153
+ }
1154
+ const config = typeCheckConfig$a(untrustedConfig);
1155
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1156
+ return null;
1157
+ }
1158
+ return config;
1159
+ }
1160
+ function adapterFragment$6(luvio, config) {
1161
+ createResourceParams$a(config);
1162
+ return select$g();
1163
+ }
1164
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
1165
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
1166
+ config,
1167
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1168
+ });
1169
+ return luvio.storeBroadcast().then(() => snapshot);
1170
+ }
1171
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
1172
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
1173
+ config,
1174
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1175
+ });
1176
+ return luvio.storeBroadcast().then(() => snapshot);
1177
+ }
1178
+ function buildNetworkSnapshot$a(luvio, config, options) {
1179
+ const resourceParams = createResourceParams$a(config);
1180
+ const request = createResourceRequest$a(resourceParams);
1181
+ return luvio.dispatchResourceRequest(request, options)
1182
+ .then((response) => {
1183
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
1184
+ const cache = new StoreKeyMap();
1185
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
1186
+ return cache;
1187
+ });
1188
+ }, (response) => {
1189
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
1190
+ });
1191
+ }
1192
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
1193
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
1194
+ }
1195
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
1196
+ const { luvio, config } = context;
1197
+ const selector = {
1198
+ recordId: keyBuilder$c(luvio, config),
1199
+ node: adapterFragment$6(luvio, config),
1200
+ variables: {},
1201
+ };
1202
+ const cacheSnapshot = storeLookup(selector, {
1203
+ config,
1204
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1205
+ });
1206
+ return cacheSnapshot;
1207
+ }
1208
+ const getCdpMlModelArtifactAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlModelArtifact(untrustedConfig, requestContext) {
1209
+ const config = validateAdapterConfig$a(untrustedConfig, getCdpMlModelArtifact_ConfigPropertyNames);
1210
+ // Invalid or incomplete config
1211
+ if (config === null) {
1212
+ return null;
1213
+ }
1214
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1215
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
1216
+ };
1217
+
1218
+ function validate$n(obj, path = 'CdpMlModelParameterOverrideBaseRepresentation') {
1219
+ const v_error = (() => {
1220
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1221
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1222
+ }
1223
+ const obj_parameterName = obj.parameterName;
1224
+ const path_parameterName = path + '.parameterName';
1225
+ if (typeof obj_parameterName !== 'string') {
1226
+ return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
1227
+ }
1228
+ const obj_type = obj.type;
1229
+ const path_type = path + '.type';
1230
+ if (typeof obj_type !== 'string') {
1231
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1232
+ }
1233
+ })();
1234
+ return v_error === undefined ? null : v_error;
1235
+ }
1236
+
1237
+ // Should match with keyBuilder
1238
+ function keyBuilderFromType$2(luvio, object) {
1239
+ const type = object.url.indexOf(object.name) > -1 ? 'name' : 'id';
1240
+ const urlArray = object.url.split('/');
1241
+ const idOrName = urlArray[urlArray.length - 1];
1242
+ return `${keyPrefix}::${RepresentationType$5}:(id:${idOrName},type:${type})`;
1243
+ }
1244
+
1245
+ const TTL$5 = 1000;
1246
+ const VERSION$5 = "57680ff58cb6f84b0e879265627e2623";
1247
+ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1248
+ const v_error = (() => {
1249
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1250
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1251
+ }
1252
+ if (obj.activations !== undefined) {
1253
+ const obj_activations = obj.activations;
1254
+ const path_activations = path + '.activations';
1255
+ if (!ArrayIsArray(obj_activations)) {
1256
+ return new TypeError('Expected "array" but received "' + typeof obj_activations + '" (at "' + path_activations + '")');
1257
+ }
1258
+ for (let i = 0; i < obj_activations.length; i++) {
1259
+ const obj_activations_item = obj_activations[i];
1260
+ const path_activations_item = path_activations + '[' + i + ']';
1261
+ if (typeof obj_activations_item !== 'string') {
1262
+ return new TypeError('Expected "string" but received "' + typeof obj_activations_item + '" (at "' + path_activations_item + '")');
1263
+ }
1264
+ }
1265
+ }
1266
+ const obj_artifact = obj.artifact;
1267
+ const path_artifact = path + '.artifact';
1268
+ const referencepath_artifactValidationError = validate$t(obj_artifact, path_artifact);
1269
+ if (referencepath_artifactValidationError !== null) {
1270
+ let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
1271
+ message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1272
+ return new TypeError(message);
1273
+ }
1274
+ const obj_capability = obj.capability;
1275
+ const path_capability = path + '.capability';
1276
+ if (typeof obj_capability !== 'string') {
1277
+ return new TypeError('Expected "string" but received "' + typeof obj_capability + '" (at "' + path_capability + '")');
1278
+ }
1279
+ if (obj.connectorType !== undefined) {
1280
+ const obj_connectorType = obj.connectorType;
1281
+ const path_connectorType = path + '.connectorType';
1282
+ let obj_connectorType_union0 = null;
1283
+ const obj_connectorType_union0_error = (() => {
1284
+ if (typeof obj_connectorType !== 'string') {
1285
+ return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
1286
+ }
1287
+ })();
1288
+ if (obj_connectorType_union0_error != null) {
1289
+ obj_connectorType_union0 = obj_connectorType_union0_error.message;
1290
+ }
1291
+ let obj_connectorType_union1 = null;
1292
+ const obj_connectorType_union1_error = (() => {
1293
+ if (obj_connectorType !== null) {
1294
+ return new TypeError('Expected "null" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
1295
+ }
1296
+ })();
1297
+ if (obj_connectorType_union1_error != null) {
1298
+ obj_connectorType_union1 = obj_connectorType_union1_error.message;
1299
+ }
1300
+ if (obj_connectorType_union0 && obj_connectorType_union1) {
1301
+ let message = 'Object doesn\'t match union (at "' + path_connectorType + '")';
1302
+ message += '\n' + obj_connectorType_union0.split('\n').map((line) => '\t' + line).join('\n');
1303
+ message += '\n' + obj_connectorType_union1.split('\n').map((line) => '\t' + line).join('\n');
1304
+ return new TypeError(message);
1305
+ }
1306
+ }
1307
+ if (obj.createdBy !== undefined) {
1308
+ const obj_createdBy = obj.createdBy;
1309
+ const path_createdBy = path + '.createdBy';
1310
+ const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
1311
+ if (referencepath_createdByValidationError !== null) {
1312
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1313
+ message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1314
+ return new TypeError(message);
1315
+ }
1316
+ }
1317
+ if (obj.createdDate !== undefined) {
1318
+ const obj_createdDate = obj.createdDate;
1319
+ const path_createdDate = path + '.createdDate';
1320
+ let obj_createdDate_union0 = null;
1321
+ const obj_createdDate_union0_error = (() => {
1322
+ if (typeof obj_createdDate !== 'string') {
1323
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1324
+ }
1325
+ })();
1326
+ if (obj_createdDate_union0_error != null) {
1327
+ obj_createdDate_union0 = obj_createdDate_union0_error.message;
1328
+ }
1329
+ let obj_createdDate_union1 = null;
1330
+ const obj_createdDate_union1_error = (() => {
1331
+ if (obj_createdDate !== null) {
1332
+ return new TypeError('Expected "null" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1333
+ }
1334
+ })();
1335
+ if (obj_createdDate_union1_error != null) {
1336
+ obj_createdDate_union1 = obj_createdDate_union1_error.message;
1337
+ }
1338
+ if (obj_createdDate_union0 && obj_createdDate_union1) {
1339
+ let message = 'Object doesn\'t match union (at "' + path_createdDate + '")';
1340
+ message += '\n' + obj_createdDate_union0.split('\n').map((line) => '\t' + line).join('\n');
1341
+ message += '\n' + obj_createdDate_union1.split('\n').map((line) => '\t' + line).join('\n');
1342
+ return new TypeError(message);
1343
+ }
1344
+ }
1345
+ if (obj.description !== undefined) {
1346
+ const obj_description = obj.description;
1347
+ const path_description = path + '.description';
1348
+ let obj_description_union0 = null;
1349
+ const obj_description_union0_error = (() => {
1350
+ if (typeof obj_description !== 'string') {
1351
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1352
+ }
1353
+ })();
1354
+ if (obj_description_union0_error != null) {
1355
+ obj_description_union0 = obj_description_union0_error.message;
1356
+ }
1357
+ let obj_description_union1 = null;
1358
+ const obj_description_union1_error = (() => {
1359
+ if (obj_description !== null) {
1360
+ return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1361
+ }
1362
+ })();
1363
+ if (obj_description_union1_error != null) {
1364
+ obj_description_union1 = obj_description_union1_error.message;
1365
+ }
1366
+ if (obj_description_union0 && obj_description_union1) {
1367
+ let message = 'Object doesn\'t match union (at "' + path_description + '")';
1368
+ message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
1369
+ message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
1370
+ return new TypeError(message);
1371
+ }
1372
+ }
1373
+ if (obj.id !== undefined) {
1374
+ const obj_id = obj.id;
1375
+ const path_id = path + '.id';
1376
+ if (typeof obj_id !== 'string') {
1377
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1378
+ }
1379
+ }
1380
+ if (obj.label !== undefined) {
1381
+ const obj_label = obj.label;
1382
+ const path_label = path + '.label';
1383
+ if (typeof obj_label !== 'string') {
1384
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1385
+ }
1386
+ }
1387
+ if (obj.lastActivatedBy !== undefined) {
1388
+ const obj_lastActivatedBy = obj.lastActivatedBy;
1389
+ const path_lastActivatedBy = path + '.lastActivatedBy';
1390
+ const referencepath_lastActivatedByValidationError = validate$v(obj_lastActivatedBy, path_lastActivatedBy);
1391
+ if (referencepath_lastActivatedByValidationError !== null) {
1392
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
1393
+ message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1394
+ return new TypeError(message);
1395
+ }
1396
+ }
1397
+ if (obj.lastActivatedDate !== undefined) {
1398
+ const obj_lastActivatedDate = obj.lastActivatedDate;
1399
+ const path_lastActivatedDate = path + '.lastActivatedDate';
1400
+ if (typeof obj_lastActivatedDate !== 'string') {
1401
+ return new TypeError('Expected "string" but received "' + typeof obj_lastActivatedDate + '" (at "' + path_lastActivatedDate + '")');
1402
+ }
1403
+ }
1404
+ if (obj.lastModifiedBy !== undefined) {
1405
+ const obj_lastModifiedBy = obj.lastModifiedBy;
1406
+ const path_lastModifiedBy = path + '.lastModifiedBy';
1407
+ const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
1408
+ if (referencepath_lastModifiedByValidationError !== null) {
1409
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1410
+ message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1411
+ return new TypeError(message);
1412
+ }
1413
+ }
1414
+ if (obj.lastModifiedDate !== undefined) {
1415
+ const obj_lastModifiedDate = obj.lastModifiedDate;
1416
+ const path_lastModifiedDate = path + '.lastModifiedDate';
1417
+ let obj_lastModifiedDate_union0 = null;
1418
+ const obj_lastModifiedDate_union0_error = (() => {
1419
+ if (typeof obj_lastModifiedDate !== 'string') {
1420
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1421
+ }
1422
+ })();
1423
+ if (obj_lastModifiedDate_union0_error != null) {
1424
+ obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
1425
+ }
1426
+ let obj_lastModifiedDate_union1 = null;
1427
+ const obj_lastModifiedDate_union1_error = (() => {
1428
+ if (obj_lastModifiedDate !== null) {
1429
+ return new TypeError('Expected "null" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1430
+ }
1431
+ })();
1432
+ if (obj_lastModifiedDate_union1_error != null) {
1433
+ obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
1434
+ }
1435
+ if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
1436
+ let message = 'Object doesn\'t match union (at "' + path_lastModifiedDate + '")';
1437
+ message += '\n' + obj_lastModifiedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
1438
+ message += '\n' + obj_lastModifiedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
1439
+ return new TypeError(message);
1440
+ }
1441
+ }
1442
+ if (obj.modelType !== undefined) {
1443
+ const obj_modelType = obj.modelType;
1444
+ const path_modelType = path + '.modelType';
1445
+ if (typeof obj_modelType !== 'string') {
1446
+ return new TypeError('Expected "string" but received "' + typeof obj_modelType + '" (at "' + path_modelType + '")');
1447
+ }
1448
+ }
1449
+ const obj_name = obj.name;
1450
+ const path_name = path + '.name';
1451
+ if (typeof obj_name !== 'string') {
1452
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1453
+ }
1454
+ if (obj.namespace !== undefined) {
1455
+ const obj_namespace = obj.namespace;
1456
+ const path_namespace = path + '.namespace';
1457
+ let obj_namespace_union0 = null;
1458
+ const obj_namespace_union0_error = (() => {
1459
+ if (typeof obj_namespace !== 'string') {
1460
+ return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1461
+ }
1462
+ })();
1463
+ if (obj_namespace_union0_error != null) {
1464
+ obj_namespace_union0 = obj_namespace_union0_error.message;
1465
+ }
1466
+ let obj_namespace_union1 = null;
1467
+ const obj_namespace_union1_error = (() => {
1468
+ if (obj_namespace !== null) {
1469
+ return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1470
+ }
1471
+ })();
1472
+ if (obj_namespace_union1_error != null) {
1473
+ obj_namespace_union1 = obj_namespace_union1_error.message;
1474
+ }
1475
+ if (obj_namespace_union0 && obj_namespace_union1) {
1476
+ let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
1477
+ message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
1478
+ message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
1479
+ return new TypeError(message);
1480
+ }
1481
+ }
1482
+ if (obj.parameterOverrides !== undefined) {
1483
+ const obj_parameterOverrides = obj.parameterOverrides;
1484
+ const path_parameterOverrides = path + '.parameterOverrides';
1485
+ if (!ArrayIsArray(obj_parameterOverrides)) {
1486
+ return new TypeError('Expected "array" but received "' + typeof obj_parameterOverrides + '" (at "' + path_parameterOverrides + '")');
1487
+ }
1488
+ for (let i = 0; i < obj_parameterOverrides.length; i++) {
1489
+ const obj_parameterOverrides_item = obj_parameterOverrides[i];
1490
+ const path_parameterOverrides_item = path_parameterOverrides + '[' + i + ']';
1491
+ const referencepath_parameterOverrides_itemValidationError = validate$n(obj_parameterOverrides_item, path_parameterOverrides_item);
1492
+ if (referencepath_parameterOverrides_itemValidationError !== null) {
1493
+ let message = 'Object doesn\'t match CdpMlModelParameterOverrideBaseRepresentation (at "' + path_parameterOverrides_item + '")\n';
1494
+ message += referencepath_parameterOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1495
+ return new TypeError(message);
1496
+ }
1497
+ }
1498
+ }
1499
+ if (obj.setupType !== undefined) {
1500
+ const obj_setupType = obj.setupType;
1501
+ const path_setupType = path + '.setupType';
1502
+ if (typeof obj_setupType !== 'string') {
1503
+ return new TypeError('Expected "string" but received "' + typeof obj_setupType + '" (at "' + path_setupType + '")');
1504
+ }
1505
+ }
1506
+ if (obj.status !== undefined) {
1507
+ const obj_status = obj.status;
1508
+ const path_status = path + '.status';
1509
+ if (typeof obj_status !== 'string') {
1510
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1511
+ }
1512
+ }
1513
+ const obj_url = obj.url;
1514
+ const path_url = path + '.url';
1515
+ if (typeof obj_url !== 'string') {
1516
+ return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1517
+ }
1518
+ })();
1519
+ return v_error === undefined ? null : v_error;
1520
+ }
1521
+ const RepresentationType$5 = 'MlConfiguredModelRepresentation';
1522
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
1523
+ return input;
1524
+ }
1525
+ const select$f = function MlConfiguredModelRepresentationSelect() {
1526
+ return {
1527
+ kind: 'Fragment',
1528
+ version: VERSION$5,
1529
+ private: [],
1530
+ opaque: true
1531
+ };
1532
+ };
1533
+ function equals$5(existing, incoming) {
1534
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1535
+ return false;
1536
+ }
1537
+ return true;
1538
+ }
1539
+ const ingest$5 = function MlConfiguredModelRepresentationIngest(input, path, luvio, store, timestamp) {
1540
+ if (process.env.NODE_ENV !== 'production') {
1541
+ const validateError = validate$m(input);
1542
+ if (validateError !== null) {
1543
+ throw validateError;
1544
+ }
1545
+ }
1546
+ const key = keyBuilderFromType$2(luvio, input);
1547
+ const ttlToUse = TTL$5;
1548
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "cdp-machine-learning", VERSION$5, RepresentationType$5, equals$5);
1549
+ return createLink(key);
1550
+ };
1551
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1552
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1553
+ const rootKey = keyBuilderFromType$2(luvio, input);
1554
+ rootKeySet.set(rootKey, {
1555
+ namespace: keyPrefix,
1556
+ representationName: RepresentationType$5,
1557
+ mergeable: false
1558
+ });
1559
+ }
1560
+
1561
+ const TTL$4 = 1000;
1562
+ const VERSION$4 = "6b35174a83c8e5d45e0f5d2bf11bec55";
1563
+ function validate$l(obj, path = 'MlConfiguredModelCollectionRepresentation') {
1564
+ const v_error = (() => {
1565
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1566
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1567
+ }
1568
+ const obj_configuredModels = obj.configuredModels;
1569
+ const path_configuredModels = path + '.configuredModels';
1570
+ if (!ArrayIsArray(obj_configuredModels)) {
1571
+ return new TypeError('Expected "array" but received "' + typeof obj_configuredModels + '" (at "' + path_configuredModels + '")');
1572
+ }
1573
+ for (let i = 0; i < obj_configuredModels.length; i++) {
1574
+ const obj_configuredModels_item = obj_configuredModels[i];
1575
+ const path_configuredModels_item = path_configuredModels + '[' + i + ']';
1576
+ const referencepath_configuredModels_itemValidationError = validate$m(obj_configuredModels_item, path_configuredModels_item);
1577
+ if (referencepath_configuredModels_itemValidationError !== null) {
1578
+ let message = 'Object doesn\'t match MlConfiguredModelRepresentation (at "' + path_configuredModels_item + '")\n';
1579
+ message += referencepath_configuredModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1580
+ return new TypeError(message);
1581
+ }
1582
+ }
1583
+ if (obj.currentPageUrl !== undefined) {
1584
+ const obj_currentPageUrl = obj.currentPageUrl;
1585
+ const path_currentPageUrl = path + '.currentPageUrl';
1586
+ if (typeof obj_currentPageUrl !== 'string') {
1587
+ return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
1588
+ }
1589
+ }
1590
+ if (obj.nextPageUrl !== undefined) {
1591
+ const obj_nextPageUrl = obj.nextPageUrl;
1592
+ const path_nextPageUrl = path + '.nextPageUrl';
1593
+ let obj_nextPageUrl_union0 = null;
1594
+ const obj_nextPageUrl_union0_error = (() => {
1595
+ if (typeof obj_nextPageUrl !== 'string') {
1596
+ return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
1597
+ }
1598
+ })();
1599
+ if (obj_nextPageUrl_union0_error != null) {
1600
+ obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
1601
+ }
1602
+ let obj_nextPageUrl_union1 = null;
1603
+ const obj_nextPageUrl_union1_error = (() => {
1604
+ if (obj_nextPageUrl !== null) {
1605
+ return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
1606
+ }
1607
+ })();
1608
+ if (obj_nextPageUrl_union1_error != null) {
1609
+ obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
1610
+ }
1611
+ if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
1612
+ let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
1613
+ message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
1614
+ message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
1615
+ return new TypeError(message);
1616
+ }
1617
+ }
1618
+ if (obj.totalSize !== undefined) {
1619
+ const obj_totalSize = obj.totalSize;
1620
+ const path_totalSize = path + '.totalSize';
1621
+ if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
1622
+ return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
1623
+ }
1624
+ }
1625
+ })();
1626
+ return v_error === undefined ? null : v_error;
1627
+ }
1628
+ const RepresentationType$4 = 'MlConfiguredModelCollectionRepresentation';
1629
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
1630
+ return input;
1631
+ }
1632
+ const select$e = function MlConfiguredModelCollectionRepresentationSelect() {
1633
+ return {
1634
+ kind: 'Fragment',
1635
+ version: VERSION$4,
1636
+ private: [],
1637
+ opaque: true
1638
+ };
1639
+ };
1640
+ function equals$4(existing, incoming) {
1641
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1642
+ return false;
1643
+ }
1644
+ return true;
1645
+ }
1646
+ const ingest$4 = function MlConfiguredModelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1647
+ if (process.env.NODE_ENV !== 'production') {
1648
+ const validateError = validate$l(input);
1649
+ if (validateError !== null) {
1650
+ throw validateError;
1651
+ }
1652
+ }
1653
+ const key = path.fullPath;
1654
+ const ttlToUse = TTL$4;
1655
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "cdp-machine-learning", VERSION$4, RepresentationType$4, equals$4);
1656
+ return createLink(key);
1657
+ };
1658
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1659
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1660
+ const rootKey = fullPathFactory();
1661
+ rootKeySet.set(rootKey, {
1662
+ namespace: keyPrefix,
1663
+ representationName: RepresentationType$4,
1664
+ mergeable: false
1665
+ });
1666
+ }
1667
+
1668
+ function select$d(luvio, params) {
1669
+ return select$e();
1670
+ }
1671
+ function keyBuilder$b(luvio, params) {
1672
+ return keyPrefix + '::MlConfiguredModelCollectionRepresentation:(' + 'assetIdOrName:' + params.queryParams.assetIdOrName + ',' + 'assetType:' + params.queryParams.assetType + ',' + 'capabilities:' + params.queryParams.capabilities + ',' + 'connectorType:' + params.queryParams.connectorType + ',' + 'limit:' + params.queryParams.limit + ',' + 'modelType:' + params.queryParams.modelType + ',' + 'offset:' + params.queryParams.offset + ',' + 'outOfTheBox:' + params.queryParams.outOfTheBox + ',' + 'search:' + params.queryParams.search + ',' + 'sourceType:' + params.queryParams.sourceType + ')';
1673
+ }
1674
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
1675
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
1676
+ }
1677
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1678
+ const { body } = response;
1679
+ const key = keyBuilder$b(luvio, resourceParams);
1680
+ luvio.storeIngest(key, ingest$4, body);
1681
+ const snapshot = luvio.storeLookup({
1682
+ recordId: key,
1683
+ node: select$d(),
1684
+ variables: {},
1685
+ }, snapshotRefresh);
1686
+ if (process.env.NODE_ENV !== 'production') {
1687
+ if (snapshot.state !== 'Fulfilled') {
1688
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1689
+ }
1690
+ }
1691
+ deepFreeze(snapshot.data);
1692
+ return snapshot;
1693
+ }
1694
+ function ingestError$5(luvio, params, error, snapshotRefresh) {
1695
+ const key = keyBuilder$b(luvio, params);
1696
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1697
+ const storeMetadataParams = {
1698
+ ttl: TTL$4,
1699
+ namespace: keyPrefix,
1700
+ version: VERSION$4,
1701
+ representationName: RepresentationType$4
1702
+ };
1703
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1704
+ return errorSnapshot;
1705
+ }
1706
+ function createResourceRequest$9(config) {
1707
+ const headers = {};
1708
+ return {
1709
+ baseUri: '/services/data/v61.0',
1710
+ basePath: '/ssot/machine-learning/configured-models',
1711
+ method: 'get',
1712
+ body: null,
1713
+ urlParams: {},
1714
+ queryParams: config.queryParams,
1715
+ headers,
1716
+ priority: 'normal',
1717
+ };
1718
+ }
1719
+
1720
+ const adapterName$9 = 'getMlConfiguredModelCollection';
1721
+ const getMlConfiguredModelCollection_ConfigPropertyMetadata = [
1722
+ generateParamConfigMetadata('assetIdOrName', false, 1 /* QueryParameter */, 0 /* String */),
1723
+ generateParamConfigMetadata('assetType', false, 1 /* QueryParameter */, 0 /* String */),
1724
+ generateParamConfigMetadata('capabilities', false, 1 /* QueryParameter */, 0 /* String */, true),
1725
+ generateParamConfigMetadata('connectorType', false, 1 /* QueryParameter */, 0 /* String */),
1726
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1727
+ generateParamConfigMetadata('modelType', false, 1 /* QueryParameter */, 0 /* String */),
1728
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1729
+ generateParamConfigMetadata('outOfTheBox', false, 1 /* QueryParameter */, 1 /* Boolean */),
1730
+ generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
1731
+ generateParamConfigMetadata('sourceType', false, 1 /* QueryParameter */, 0 /* String */),
1732
+ ];
1733
+ const getMlConfiguredModelCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getMlConfiguredModelCollection_ConfigPropertyMetadata);
1734
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(getMlConfiguredModelCollection_ConfigPropertyMetadata);
1735
+ function keyBuilder$a(luvio, config) {
1736
+ const resourceParams = createResourceParams$9(config);
1737
+ return keyBuilder$b(luvio, resourceParams);
1738
+ }
1739
+ function typeCheckConfig$9(untrustedConfig) {
1740
+ const config = {};
1741
+ typeCheckConfig$c(untrustedConfig, config, getMlConfiguredModelCollection_ConfigPropertyMetadata);
1742
+ return config;
1743
+ }
1744
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1745
+ if (!untrustedIsObject(untrustedConfig)) {
1746
+ return null;
1747
+ }
1748
+ if (process.env.NODE_ENV !== 'production') {
1749
+ validateConfig(untrustedConfig, configPropertyNames);
1750
+ }
1751
+ const config = typeCheckConfig$9(untrustedConfig);
1752
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1753
+ return null;
1754
+ }
1755
+ return config;
1756
+ }
1757
+ function adapterFragment$5(luvio, config) {
1758
+ createResourceParams$9(config);
1759
+ return select$d();
1760
+ }
1761
+ function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
1762
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
1763
+ config,
1764
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1765
+ });
1766
+ return luvio.storeBroadcast().then(() => snapshot);
1767
+ }
1768
+ function onFetchResponseError$5(luvio, config, resourceParams, response) {
1769
+ const snapshot = ingestError$5(luvio, resourceParams, response, {
1770
+ config,
1771
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1772
+ });
1773
+ return luvio.storeBroadcast().then(() => snapshot);
1774
+ }
1775
+ function buildNetworkSnapshot$9(luvio, config, options) {
1776
+ const resourceParams = createResourceParams$9(config);
1777
+ const request = createResourceRequest$9(resourceParams);
1778
+ return luvio.dispatchResourceRequest(request, options)
1779
+ .then((response) => {
1780
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
1781
+ const cache = new StoreKeyMap();
1782
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
1783
+ return cache;
1784
+ });
1785
+ }, (response) => {
1786
+ return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
1787
+ });
1788
+ }
1789
+ function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
1790
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
1791
+ }
1792
+ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
1793
+ const { luvio, config } = context;
1794
+ const selector = {
1795
+ recordId: keyBuilder$a(luvio, config),
1796
+ node: adapterFragment$5(luvio, config),
1797
+ variables: {},
1798
+ };
1799
+ const cacheSnapshot = storeLookup(selector, {
1800
+ config,
1801
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1802
+ });
1803
+ return cacheSnapshot;
1804
+ }
1805
+ const getMlConfiguredModelCollectionAdapterFactory = (luvio) => function cdpMachineLearning__getMlConfiguredModelCollection(untrustedConfig, requestContext) {
1806
+ const config = validateAdapterConfig$9(untrustedConfig, getMlConfiguredModelCollection_ConfigPropertyNames);
1807
+ // Invalid or incomplete config
1808
+ if (config === null) {
1809
+ return null;
1810
+ }
1811
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1812
+ buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
1813
+ };
1814
+
1815
+ function validate$k(obj, path = 'CdpAssetReferenceInputRepresentation') {
1816
+ const v_error = (() => {
1817
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1818
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1819
+ }
1820
+ if (obj.id !== undefined) {
1821
+ const obj_id = obj.id;
1822
+ const path_id = path + '.id';
1823
+ let obj_id_union0 = null;
1824
+ const obj_id_union0_error = (() => {
1825
+ if (typeof obj_id !== 'string') {
1826
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1827
+ }
1828
+ })();
1829
+ if (obj_id_union0_error != null) {
1830
+ obj_id_union0 = obj_id_union0_error.message;
1831
+ }
1832
+ let obj_id_union1 = null;
1833
+ const obj_id_union1_error = (() => {
1834
+ if (obj_id !== null) {
1835
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1836
+ }
1837
+ })();
1838
+ if (obj_id_union1_error != null) {
1839
+ obj_id_union1 = obj_id_union1_error.message;
1840
+ }
1841
+ if (obj_id_union0 && obj_id_union1) {
1842
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
1843
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
1844
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
1845
+ return new TypeError(message);
1846
+ }
1847
+ }
1848
+ if (obj.name !== undefined) {
1849
+ const obj_name = obj.name;
1850
+ const path_name = path + '.name';
1851
+ let obj_name_union0 = null;
1852
+ const obj_name_union0_error = (() => {
1853
+ if (typeof obj_name !== 'string') {
1854
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1855
+ }
1856
+ })();
1857
+ if (obj_name_union0_error != null) {
1858
+ obj_name_union0 = obj_name_union0_error.message;
1859
+ }
1860
+ let obj_name_union1 = null;
1861
+ const obj_name_union1_error = (() => {
1862
+ if (obj_name !== null) {
1863
+ return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1864
+ }
1865
+ })();
1866
+ if (obj_name_union1_error != null) {
1867
+ obj_name_union1 = obj_name_union1_error.message;
1868
+ }
1869
+ if (obj_name_union0 && obj_name_union1) {
1870
+ let message = 'Object doesn\'t match union (at "' + path_name + '")';
1871
+ message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
1872
+ message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
1873
+ return new TypeError(message);
1874
+ }
1875
+ }
1876
+ if (obj.namespace !== undefined) {
1877
+ const obj_namespace = obj.namespace;
1878
+ const path_namespace = path + '.namespace';
1879
+ let obj_namespace_union0 = null;
1880
+ const obj_namespace_union0_error = (() => {
1881
+ if (typeof obj_namespace !== 'string') {
1882
+ return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1883
+ }
1884
+ })();
1885
+ if (obj_namespace_union0_error != null) {
1886
+ obj_namespace_union0 = obj_namespace_union0_error.message;
1887
+ }
1888
+ let obj_namespace_union1 = null;
1889
+ const obj_namespace_union1_error = (() => {
1890
+ if (obj_namespace !== null) {
1891
+ return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1892
+ }
1893
+ })();
1894
+ if (obj_namespace_union1_error != null) {
1895
+ obj_namespace_union1 = obj_namespace_union1_error.message;
1896
+ }
1897
+ if (obj_namespace_union0 && obj_namespace_union1) {
1898
+ let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
1899
+ message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
1900
+ message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
1901
+ return new TypeError(message);
1902
+ }
1903
+ }
1904
+ })();
1905
+ return v_error === undefined ? null : v_error;
1906
+ }
1907
+
1908
+ function validate$j(obj, path = 'CdpMlModelParameterOverrideInputRepresentation') {
1909
+ const v_error = (() => {
1910
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1911
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1912
+ }
1913
+ if (obj.continuousValue !== undefined) {
1914
+ const obj_continuousValue = obj.continuousValue;
1915
+ const path_continuousValue = path + '.continuousValue';
1916
+ let obj_continuousValue_union0 = null;
1917
+ const obj_continuousValue_union0_error = (() => {
1918
+ if (typeof obj_continuousValue !== 'number') {
1919
+ return new TypeError('Expected "number" but received "' + typeof obj_continuousValue + '" (at "' + path_continuousValue + '")');
1920
+ }
1921
+ })();
1922
+ if (obj_continuousValue_union0_error != null) {
1923
+ obj_continuousValue_union0 = obj_continuousValue_union0_error.message;
1924
+ }
1925
+ let obj_continuousValue_union1 = null;
1926
+ const obj_continuousValue_union1_error = (() => {
1927
+ if (obj_continuousValue !== null) {
1928
+ return new TypeError('Expected "null" but received "' + typeof obj_continuousValue + '" (at "' + path_continuousValue + '")');
1929
+ }
1930
+ })();
1931
+ if (obj_continuousValue_union1_error != null) {
1932
+ obj_continuousValue_union1 = obj_continuousValue_union1_error.message;
1933
+ }
1934
+ if (obj_continuousValue_union0 && obj_continuousValue_union1) {
1935
+ let message = 'Object doesn\'t match union (at "' + path_continuousValue + '")';
1936
+ message += '\n' + obj_continuousValue_union0.split('\n').map((line) => '\t' + line).join('\n');
1937
+ message += '\n' + obj_continuousValue_union1.split('\n').map((line) => '\t' + line).join('\n');
1938
+ return new TypeError(message);
1939
+ }
1940
+ }
1941
+ if (obj.discreteValue !== undefined) {
1942
+ const obj_discreteValue = obj.discreteValue;
1943
+ const path_discreteValue = path + '.discreteValue';
1944
+ let obj_discreteValue_union0 = null;
1945
+ const obj_discreteValue_union0_error = (() => {
1946
+ if (typeof obj_discreteValue !== 'string') {
1947
+ return new TypeError('Expected "string" but received "' + typeof obj_discreteValue + '" (at "' + path_discreteValue + '")');
1948
+ }
1949
+ })();
1950
+ if (obj_discreteValue_union0_error != null) {
1951
+ obj_discreteValue_union0 = obj_discreteValue_union0_error.message;
1952
+ }
1953
+ let obj_discreteValue_union1 = null;
1954
+ const obj_discreteValue_union1_error = (() => {
1955
+ if (obj_discreteValue !== null) {
1956
+ return new TypeError('Expected "null" but received "' + typeof obj_discreteValue + '" (at "' + path_discreteValue + '")');
1957
+ }
1958
+ })();
1959
+ if (obj_discreteValue_union1_error != null) {
1960
+ obj_discreteValue_union1 = obj_discreteValue_union1_error.message;
1961
+ }
1962
+ if (obj_discreteValue_union0 && obj_discreteValue_union1) {
1963
+ let message = 'Object doesn\'t match union (at "' + path_discreteValue + '")';
1964
+ message += '\n' + obj_discreteValue_union0.split('\n').map((line) => '\t' + line).join('\n');
1965
+ message += '\n' + obj_discreteValue_union1.split('\n').map((line) => '\t' + line).join('\n');
1966
+ return new TypeError(message);
1967
+ }
1968
+ }
1969
+ if (obj.parameterName !== undefined) {
1970
+ const obj_parameterName = obj.parameterName;
1971
+ const path_parameterName = path + '.parameterName';
1972
+ let obj_parameterName_union0 = null;
1973
+ const obj_parameterName_union0_error = (() => {
1974
+ if (typeof obj_parameterName !== 'string') {
1975
+ return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
1976
+ }
1977
+ })();
1978
+ if (obj_parameterName_union0_error != null) {
1979
+ obj_parameterName_union0 = obj_parameterName_union0_error.message;
1980
+ }
1981
+ let obj_parameterName_union1 = null;
1982
+ const obj_parameterName_union1_error = (() => {
1983
+ if (obj_parameterName !== null) {
1984
+ return new TypeError('Expected "null" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
1985
+ }
1986
+ })();
1987
+ if (obj_parameterName_union1_error != null) {
1988
+ obj_parameterName_union1 = obj_parameterName_union1_error.message;
1989
+ }
1990
+ if (obj_parameterName_union0 && obj_parameterName_union1) {
1991
+ let message = 'Object doesn\'t match union (at "' + path_parameterName + '")';
1992
+ message += '\n' + obj_parameterName_union0.split('\n').map((line) => '\t' + line).join('\n');
1993
+ message += '\n' + obj_parameterName_union1.split('\n').map((line) => '\t' + line).join('\n');
1994
+ return new TypeError(message);
1995
+ }
1996
+ }
1997
+ })();
1998
+ return v_error === undefined ? null : v_error;
1999
+ }
2000
+
2001
+ function select$c(luvio, params) {
2002
+ return select$f();
2003
+ }
2004
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
2005
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
2006
+ }
2007
+ function ingestSuccess$8(luvio, resourceParams, response) {
2008
+ const { body } = response;
2009
+ const key = keyBuilderFromType$2(luvio, body);
2010
+ luvio.storeIngest(key, ingest$5, body);
2011
+ const snapshot = luvio.storeLookup({
2012
+ recordId: key,
2013
+ node: select$c(),
2014
+ variables: {},
2015
+ });
2016
+ if (process.env.NODE_ENV !== 'production') {
2017
+ if (snapshot.state !== 'Fulfilled') {
2018
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2019
+ }
2020
+ }
2021
+ deepFreeze(snapshot.data);
2022
+ return snapshot;
2023
+ }
2024
+ function createResourceRequest$8(config) {
2025
+ const headers = {};
2026
+ return {
2027
+ baseUri: '/services/data/v61.0',
2028
+ basePath: '/ssot/machine-learning/configured-models',
2029
+ method: 'post',
2030
+ body: config.body,
2031
+ urlParams: {},
2032
+ queryParams: {},
2033
+ headers,
2034
+ priority: 'normal',
2035
+ };
2036
+ }
2037
+
2038
+ const adapterName$8 = 'createMlConfiguredModel';
2039
+ const createMlConfiguredModel_ConfigPropertyMetadata = [
2040
+ generateParamConfigMetadata('artifact', false, 2 /* Body */, 4 /* Unsupported */),
2041
+ generateParamConfigMetadata('capability', false, 2 /* Body */, 0 /* String */),
2042
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
2043
+ generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
2044
+ generateParamConfigMetadata('parameterOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
2045
+ generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2046
+ ];
2047
+ const createMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createMlConfiguredModel_ConfigPropertyMetadata);
2048
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createMlConfiguredModel_ConfigPropertyMetadata);
2049
+ function typeCheckConfig$8(untrustedConfig) {
2050
+ const config = {};
2051
+ typeCheckConfig$c(untrustedConfig, config, createMlConfiguredModel_ConfigPropertyMetadata);
2052
+ const untrustedConfig_artifact = untrustedConfig.artifact;
2053
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
2054
+ if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
2055
+ config.artifact = untrustedConfig_artifact;
2056
+ }
2057
+ const untrustedConfig_parameterOverrides = untrustedConfig.parameterOverrides;
2058
+ if (ArrayIsArray$1(untrustedConfig_parameterOverrides)) {
2059
+ const untrustedConfig_parameterOverrides_array = [];
2060
+ for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
2061
+ const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
2062
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
2063
+ if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
2064
+ untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
2065
+ }
2066
+ }
2067
+ config.parameterOverrides = untrustedConfig_parameterOverrides_array;
2068
+ }
2069
+ return config;
2070
+ }
2071
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
2072
+ if (!untrustedIsObject(untrustedConfig)) {
2073
+ return null;
2074
+ }
2075
+ if (process.env.NODE_ENV !== 'production') {
2076
+ validateConfig(untrustedConfig, configPropertyNames);
2077
+ }
2078
+ const config = typeCheckConfig$8(untrustedConfig);
2079
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
2080
+ return null;
2081
+ }
2082
+ return config;
2083
+ }
2084
+ function buildNetworkSnapshot$8(luvio, config, options) {
2085
+ const resourceParams = createResourceParams$8(config);
2086
+ const request = createResourceRequest$8(resourceParams);
2087
+ return luvio.dispatchResourceRequest(request, options)
2088
+ .then((response) => {
2089
+ return luvio.handleSuccessResponse(() => {
2090
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
2091
+ return luvio.storeBroadcast().then(() => snapshot);
2092
+ }, () => {
2093
+ const cache = new StoreKeyMap();
2094
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
2095
+ return cache;
2096
+ });
2097
+ }, (response) => {
2098
+ deepFreeze(response);
2099
+ throw response;
2100
+ });
2101
+ }
2102
+ const createMlConfiguredModelAdapterFactory = (luvio) => {
2103
+ return function createMlConfiguredModel(untrustedConfig) {
2104
+ const config = validateAdapterConfig$8(untrustedConfig, createMlConfiguredModel_ConfigPropertyNames);
2105
+ // Invalid or incomplete config
2106
+ if (config === null) {
2107
+ throw new Error('Invalid config for "createMlConfiguredModel"');
2108
+ }
2109
+ return buildNetworkSnapshot$8(luvio, config);
2110
+ };
2111
+ };
2112
+
2113
+ function IsWorkspaceId(workspaceIdOrName) {
2114
+ return workspaceIdOrName.indexOf('__') === -1 || workspaceIdOrName.startsWith('12s');
2115
+ }
2116
+ function IsModelId(modelIdOrName) {
2117
+ return modelIdOrName.startsWith('12r');
2118
+ }
2119
+ function IsConfiguredModelId(configuredModelIdOrName) {
2120
+ return configuredModelIdOrName.startsWith('12l');
2121
+ }
2122
+
2123
+ function keyBuilder$9(luvio, params) {
2124
+ const configuredModelIdOrName = params.urlParams.configuredModelIdOrName;
2125
+ const type = IsConfiguredModelId(configuredModelIdOrName) ? 'id' : 'name';
2126
+ return `${keyPrefix}::${RepresentationType$5}:(id:${configuredModelIdOrName},type:${type})`;
2127
+ }
2128
+
2129
+ function select$b(luvio, params) {
2130
+ return select$f();
2131
+ }
2132
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
2133
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
2134
+ }
2135
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
2136
+ const { body } = response;
2137
+ const key = keyBuilder$9(luvio, resourceParams);
2138
+ luvio.storeIngest(key, ingest$5, body);
2139
+ const snapshot = luvio.storeLookup({
2140
+ recordId: key,
2141
+ node: select$b(),
2142
+ variables: {},
2143
+ }, snapshotRefresh);
2144
+ if (process.env.NODE_ENV !== 'production') {
2145
+ if (snapshot.state !== 'Fulfilled') {
2146
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2147
+ }
2148
+ }
2149
+ deepFreeze(snapshot.data);
2150
+ return snapshot;
2151
+ }
2152
+ function ingestError$4(luvio, params, error, snapshotRefresh) {
2153
+ const key = keyBuilder$9(luvio, params);
2154
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2155
+ const storeMetadataParams = {
2156
+ ttl: TTL$5,
2157
+ namespace: keyPrefix,
2158
+ version: VERSION$5,
2159
+ representationName: RepresentationType$5
2160
+ };
2161
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2162
+ return errorSnapshot;
2163
+ }
2164
+ function createResourceRequest$7(config) {
2165
+ const headers = {};
2166
+ return {
2167
+ baseUri: '/services/data/v61.0',
2168
+ basePath: '/ssot/machine-learning/configured-models/' + config.urlParams.configuredModelIdOrName + '',
2169
+ method: 'get',
2170
+ body: null,
2171
+ urlParams: config.urlParams,
2172
+ queryParams: config.queryParams,
2173
+ headers,
2174
+ priority: 'normal',
2175
+ };
2176
+ }
2177
+
2178
+ const adapterName$7 = 'getMlConfiguredModel';
2179
+ const getMlConfiguredModel_ConfigPropertyMetadata = [
2180
+ generateParamConfigMetadata('configuredModelIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
2181
+ generateParamConfigMetadata('filterGroup', false, 1 /* QueryParameter */, 0 /* String */),
2182
+ ];
2183
+ const getMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getMlConfiguredModel_ConfigPropertyMetadata);
2184
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$c(getMlConfiguredModel_ConfigPropertyMetadata);
2185
+ function keyBuilder$8(luvio, config) {
2186
+ const resourceParams = createResourceParams$7(config);
2187
+ return keyBuilder$9(luvio, resourceParams);
2188
+ }
2189
+ function typeCheckConfig$7(untrustedConfig) {
2190
+ const config = {};
2191
+ typeCheckConfig$c(untrustedConfig, config, getMlConfiguredModel_ConfigPropertyMetadata);
2192
+ return config;
2193
+ }
2194
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
2195
+ if (!untrustedIsObject(untrustedConfig)) {
2196
+ return null;
2197
+ }
2198
+ if (process.env.NODE_ENV !== 'production') {
2199
+ validateConfig(untrustedConfig, configPropertyNames);
2200
+ }
2201
+ const config = typeCheckConfig$7(untrustedConfig);
2202
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
2203
+ return null;
2204
+ }
2205
+ return config;
2206
+ }
2207
+ function adapterFragment$4(luvio, config) {
2208
+ createResourceParams$7(config);
2209
+ return select$b();
2210
+ }
2211
+ function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
2212
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
2213
+ config,
2214
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2215
+ });
2216
+ return luvio.storeBroadcast().then(() => snapshot);
2217
+ }
2218
+ function onFetchResponseError$4(luvio, config, resourceParams, response) {
2219
+ const snapshot = ingestError$4(luvio, resourceParams, response, {
2220
+ config,
2221
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2222
+ });
2223
+ return luvio.storeBroadcast().then(() => snapshot);
2224
+ }
2225
+ function buildNetworkSnapshot$7(luvio, config, options) {
2226
+ const resourceParams = createResourceParams$7(config);
2227
+ const request = createResourceRequest$7(resourceParams);
2228
+ return luvio.dispatchResourceRequest(request, options)
2229
+ .then((response) => {
2230
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
2231
+ const cache = new StoreKeyMap();
2232
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
2233
+ return cache;
2234
+ });
2235
+ }, (response) => {
2236
+ return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
2237
+ });
2238
+ }
2239
+ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
2240
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
2241
+ }
2242
+ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
2243
+ const { luvio, config } = context;
2244
+ const selector = {
2245
+ recordId: keyBuilder$8(luvio, config),
2246
+ node: adapterFragment$4(luvio, config),
2247
+ variables: {},
2248
+ };
2249
+ const cacheSnapshot = storeLookup(selector, {
2250
+ config,
2251
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2252
+ });
2253
+ return cacheSnapshot;
2254
+ }
2255
+ const getMlConfiguredModelAdapterFactory = (luvio) => function cdpMachineLearning__getMlConfiguredModel(untrustedConfig, requestContext) {
2256
+ const config = validateAdapterConfig$7(untrustedConfig, getMlConfiguredModel_ConfigPropertyNames);
2257
+ // Invalid or incomplete config
2258
+ if (config === null) {
2259
+ return null;
2260
+ }
2261
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2262
+ buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
2263
+ };
2264
+
2265
+ function select$a(luvio, params) {
2266
+ return select$f();
2267
+ }
2268
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
2269
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
2270
+ }
2271
+ function ingestSuccess$6(luvio, resourceParams, response) {
2272
+ const { body } = response;
2273
+ const key = keyBuilderFromType$2(luvio, body);
2274
+ luvio.storeIngest(key, ingest$5, body);
2275
+ const snapshot = luvio.storeLookup({
2276
+ recordId: key,
2277
+ node: select$a(),
2278
+ variables: {},
2279
+ });
2280
+ if (process.env.NODE_ENV !== 'production') {
2281
+ if (snapshot.state !== 'Fulfilled') {
2282
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2283
+ }
2284
+ }
2285
+ deepFreeze(snapshot.data);
2286
+ return snapshot;
2287
+ }
2288
+ function createResourceRequest$6(config) {
2289
+ const headers = {};
2290
+ return {
2291
+ baseUri: '/services/data/v61.0',
2292
+ basePath: '/ssot/machine-learning/configured-models/' + config.urlParams.configuredModelIdOrName + '',
2293
+ method: 'patch',
2294
+ body: config.body,
2295
+ urlParams: config.urlParams,
2296
+ queryParams: {},
2297
+ headers,
2298
+ priority: 'normal',
2299
+ };
2300
+ }
2301
+
2302
+ const adapterName$6 = 'updateMlConfiguredModel';
2303
+ const updateMlConfiguredModel_ConfigPropertyMetadata = [
2304
+ generateParamConfigMetadata('configuredModelIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
2305
+ generateParamConfigMetadata('artifact', false, 2 /* Body */, 4 /* Unsupported */),
2306
+ generateParamConfigMetadata('capability', false, 2 /* Body */, 0 /* String */),
2307
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
2308
+ generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
2309
+ generateParamConfigMetadata('parameterOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
2310
+ generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2311
+ ];
2312
+ const updateMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, updateMlConfiguredModel_ConfigPropertyMetadata);
2313
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(updateMlConfiguredModel_ConfigPropertyMetadata);
2314
+ function typeCheckConfig$6(untrustedConfig) {
2315
+ const config = {};
2316
+ typeCheckConfig$c(untrustedConfig, config, updateMlConfiguredModel_ConfigPropertyMetadata);
2317
+ const untrustedConfig_artifact = untrustedConfig.artifact;
2318
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
2319
+ if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
2320
+ config.artifact = untrustedConfig_artifact;
2321
+ }
2322
+ const untrustedConfig_parameterOverrides = untrustedConfig.parameterOverrides;
2323
+ if (ArrayIsArray$1(untrustedConfig_parameterOverrides)) {
2324
+ const untrustedConfig_parameterOverrides_array = [];
2325
+ for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
2326
+ const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
2327
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
2328
+ if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
2329
+ untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
2330
+ }
2331
+ }
2332
+ config.parameterOverrides = untrustedConfig_parameterOverrides_array;
2333
+ }
991
2334
  return config;
992
2335
  }
993
2336
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -1003,65 +2346,36 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
1003
2346
  }
1004
2347
  return config;
1005
2348
  }
1006
- function adapterFragment$4(luvio, config) {
1007
- createResourceParams$6(config);
1008
- return select$a();
1009
- }
1010
- function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
1011
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
1012
- config,
1013
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
1014
- });
1015
- return luvio.storeBroadcast().then(() => snapshot);
1016
- }
1017
- function onFetchResponseError$4(luvio, config, resourceParams, response) {
1018
- const snapshot = ingestError$4(luvio, resourceParams, response, {
1019
- config,
1020
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
1021
- });
1022
- return luvio.storeBroadcast().then(() => snapshot);
1023
- }
1024
2349
  function buildNetworkSnapshot$6(luvio, config, options) {
1025
2350
  const resourceParams = createResourceParams$6(config);
1026
2351
  const request = createResourceRequest$6(resourceParams);
1027
2352
  return luvio.dispatchResourceRequest(request, options)
1028
2353
  .then((response) => {
1029
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
2354
+ return luvio.handleSuccessResponse(() => {
2355
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
2356
+ return luvio.storeBroadcast().then(() => snapshot);
2357
+ }, () => {
1030
2358
  const cache = new StoreKeyMap();
1031
2359
  getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
1032
2360
  return cache;
1033
2361
  });
1034
2362
  }, (response) => {
1035
- return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
2363
+ deepFreeze(response);
2364
+ throw response;
1036
2365
  });
1037
2366
  }
1038
- function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
1039
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
1040
- }
1041
- function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
1042
- const { luvio, config } = context;
1043
- const selector = {
1044
- recordId: keyBuilder$8(luvio, config),
1045
- node: adapterFragment$4(luvio, config),
1046
- variables: {},
2367
+ const updateMlConfiguredModelAdapterFactory = (luvio) => {
2368
+ return function updateMlConfiguredModel(untrustedConfig) {
2369
+ const config = validateAdapterConfig$6(untrustedConfig, updateMlConfiguredModel_ConfigPropertyNames);
2370
+ // Invalid or incomplete config
2371
+ if (config === null) {
2372
+ throw new Error('Invalid config for "updateMlConfiguredModel"');
2373
+ }
2374
+ return buildNetworkSnapshot$6(luvio, config);
1047
2375
  };
1048
- const cacheSnapshot = storeLookup(selector, {
1049
- config,
1050
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
1051
- });
1052
- return cacheSnapshot;
1053
- }
1054
- const getCdpMlModelArtifactAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlModelArtifact(untrustedConfig, requestContext) {
1055
- const config = validateAdapterConfig$6(untrustedConfig, getCdpMlModelArtifact_ConfigPropertyNames);
1056
- // Invalid or incomplete config
1057
- if (config === null) {
1058
- return null;
1059
- }
1060
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1061
- buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
1062
2376
  };
1063
2377
 
1064
- function validate$l(obj, path = 'CdpMlModelTypeRepresentation') {
2378
+ function validate$i(obj, path = 'CdpMlModelTypeRepresentation') {
1065
2379
  const v_error = (() => {
1066
2380
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1067
2381
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1154,7 +2468,7 @@ function validate$l(obj, path = 'CdpMlModelTypeRepresentation') {
1154
2468
  return v_error === undefined ? null : v_error;
1155
2469
  }
1156
2470
 
1157
- function validate$k(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
2471
+ function validate$h(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
1158
2472
  const v_error = (() => {
1159
2473
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1160
2474
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1167,7 +2481,7 @@ function validate$k(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
1167
2481
  for (let i = 0; i < obj_fields.length; i++) {
1168
2482
  const obj_fields_item = obj_fields[i];
1169
2483
  const path_fields_item = path_fields + '[' + i + ']';
1170
- const referencepath_fields_itemValidationError = validate$q(obj_fields_item, path_fields_item);
2484
+ const referencepath_fields_itemValidationError = validate$r(obj_fields_item, path_fields_item);
1171
2485
  if (referencepath_fields_itemValidationError !== null) {
1172
2486
  let message = 'Object doesn\'t match CdpMlModelOutputFieldRepresentation (at "' + path_fields_item + '")\n';
1173
2487
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1183,7 +2497,7 @@ function validate$k(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
1183
2497
  return v_error === undefined ? null : v_error;
1184
2498
  }
1185
2499
 
1186
- function validate$j(obj, path = 'CdpMlModelRefreshRecipientRepresentation') {
2500
+ function validate$g(obj, path = 'CdpMlModelRefreshRecipientRepresentation') {
1187
2501
  const v_error = (() => {
1188
2502
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1189
2503
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1207,7 +2521,7 @@ function validate$j(obj, path = 'CdpMlModelRefreshRecipientRepresentation') {
1207
2521
  return v_error === undefined ? null : v_error;
1208
2522
  }
1209
2523
 
1210
- function validate$i(obj, path = 'CdpTimeZoneRepresentation') {
2524
+ function validate$f(obj, path = 'CdpTimeZoneRepresentation') {
1211
2525
  const v_error = (() => {
1212
2526
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1213
2527
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1227,7 +2541,7 @@ function validate$i(obj, path = 'CdpTimeZoneRepresentation') {
1227
2541
  return v_error === undefined ? null : v_error;
1228
2542
  }
1229
2543
 
1230
- function validate$h(obj, path = 'CdpTimeRepresentation') {
2544
+ function validate$e(obj, path = 'CdpTimeRepresentation') {
1231
2545
  const v_error = (() => {
1232
2546
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1233
2547
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1244,7 +2558,7 @@ function validate$h(obj, path = 'CdpTimeRepresentation') {
1244
2558
  }
1245
2559
  const obj_timezone = obj.timezone;
1246
2560
  const path_timezone = path + '.timezone';
1247
- const referencepath_timezoneValidationError = validate$i(obj_timezone, path_timezone);
2561
+ const referencepath_timezoneValidationError = validate$f(obj_timezone, path_timezone);
1248
2562
  if (referencepath_timezoneValidationError !== null) {
1249
2563
  let message = 'Object doesn\'t match CdpTimeZoneRepresentation (at "' + path_timezone + '")\n';
1250
2564
  message += referencepath_timezoneValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1254,7 +2568,7 @@ function validate$h(obj, path = 'CdpTimeRepresentation') {
1254
2568
  return v_error === undefined ? null : v_error;
1255
2569
  }
1256
2570
 
1257
- function validate$g(obj, path = 'CdpScheduleRepresentation') {
2571
+ function validate$d(obj, path = 'CdpScheduleRepresentation') {
1258
2572
  const v_error = (() => {
1259
2573
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1260
2574
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1271,7 +2585,7 @@ function validate$g(obj, path = 'CdpScheduleRepresentation') {
1271
2585
  }
1272
2586
  const obj_time = obj.time;
1273
2587
  const path_time = path + '.time';
1274
- const referencepath_timeValidationError = validate$h(obj_time, path_time);
2588
+ const referencepath_timeValidationError = validate$e(obj_time, path_time);
1275
2589
  if (referencepath_timeValidationError !== null) {
1276
2590
  let message = 'Object doesn\'t match CdpTimeRepresentation (at "' + path_time + '")\n';
1277
2591
  message += referencepath_timeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1281,7 +2595,7 @@ function validate$g(obj, path = 'CdpScheduleRepresentation') {
1281
2595
  return v_error === undefined ? null : v_error;
1282
2596
  }
1283
2597
 
1284
- function validate$f(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
2598
+ function validate$c(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
1285
2599
  const v_error = (() => {
1286
2600
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1287
2601
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1299,7 +2613,7 @@ function validate$f(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
1299
2613
  for (let i = 0; i < obj_recipients.length; i++) {
1300
2614
  const obj_recipients_item = obj_recipients[i];
1301
2615
  const path_recipients_item = path_recipients + '[' + i + ']';
1302
- const referencepath_recipients_itemValidationError = validate$j(obj_recipients_item, path_recipients_item);
2616
+ const referencepath_recipients_itemValidationError = validate$g(obj_recipients_item, path_recipients_item);
1303
2617
  if (referencepath_recipients_itemValidationError !== null) {
1304
2618
  let message = 'Object doesn\'t match CdpMlModelRefreshRecipientRepresentation (at "' + path_recipients_item + '")\n';
1305
2619
  message += referencepath_recipients_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1308,7 +2622,7 @@ function validate$f(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
1308
2622
  }
1309
2623
  const obj_schedule = obj.schedule;
1310
2624
  const path_schedule = path + '.schedule';
1311
- const referencepath_scheduleValidationError = validate$g(obj_schedule, path_schedule);
2625
+ const referencepath_scheduleValidationError = validate$d(obj_schedule, path_schedule);
1312
2626
  if (referencepath_scheduleValidationError !== null) {
1313
2627
  let message = 'Object doesn\'t match CdpScheduleRepresentation (at "' + path_schedule + '")\n';
1314
2628
  message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1318,7 +2632,7 @@ function validate$f(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
1318
2632
  return v_error === undefined ? null : v_error;
1319
2633
  }
1320
2634
 
1321
- function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
2635
+ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
1322
2636
  const v_error = (() => {
1323
2637
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1324
2638
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1326,7 +2640,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1326
2640
  if (obj.activeSetup !== undefined) {
1327
2641
  const obj_activeSetup = obj.activeSetup;
1328
2642
  const path_activeSetup = path + '.activeSetup';
1329
- const referencepath_activeSetupValidationError = validate$o(obj_activeSetup, path_activeSetup);
2643
+ const referencepath_activeSetupValidationError = validate$t(obj_activeSetup, path_activeSetup);
1330
2644
  if (referencepath_activeSetupValidationError !== null) {
1331
2645
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
1332
2646
  message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1364,7 +2678,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1364
2678
  if (obj.createdBy !== undefined) {
1365
2679
  const obj_createdBy = obj.createdBy;
1366
2680
  const path_createdBy = path + '.createdBy';
1367
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
2681
+ const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
1368
2682
  if (referencepath_createdByValidationError !== null) {
1369
2683
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1370
2684
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1493,7 +2807,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1493
2807
  if (obj.lastModifiedBy !== undefined) {
1494
2808
  const obj_lastModifiedBy = obj.lastModifiedBy;
1495
2809
  const path_lastModifiedBy = path + '.lastModifiedBy';
1496
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
2810
+ const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
1497
2811
  if (referencepath_lastModifiedByValidationError !== null) {
1498
2812
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1499
2813
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1531,7 +2845,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1531
2845
  if (obj.latestSetup !== undefined) {
1532
2846
  const obj_latestSetup = obj.latestSetup;
1533
2847
  const path_latestSetup = path + '.latestSetup';
1534
- const referencepath_latestSetupValidationError = validate$o(obj_latestSetup, path_latestSetup);
2848
+ const referencepath_latestSetupValidationError = validate$t(obj_latestSetup, path_latestSetup);
1535
2849
  if (referencepath_latestSetupValidationError !== null) {
1536
2850
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
1537
2851
  message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1545,7 +2859,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1545
2859
  }
1546
2860
  const obj_modelType = obj.modelType;
1547
2861
  const path_modelType = path + '.modelType';
1548
- const referencepath_modelTypeValidationError = validate$l(obj_modelType, path_modelType);
2862
+ const referencepath_modelTypeValidationError = validate$i(obj_modelType, path_modelType);
1549
2863
  if (referencepath_modelTypeValidationError !== null) {
1550
2864
  let message = 'Object doesn\'t match CdpMlModelTypeRepresentation (at "' + path_modelType + '")\n';
1551
2865
  message += referencepath_modelTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1592,7 +2906,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1592
2906
  if (obj.outcomeDefinition !== undefined) {
1593
2907
  const obj_outcomeDefinition = obj.outcomeDefinition;
1594
2908
  const path_outcomeDefinition = path + '.outcomeDefinition';
1595
- const referencepath_outcomeDefinitionValidationError = validate$k(obj_outcomeDefinition, path_outcomeDefinition);
2909
+ const referencepath_outcomeDefinitionValidationError = validate$h(obj_outcomeDefinition, path_outcomeDefinition);
1596
2910
  if (referencepath_outcomeDefinitionValidationError !== null) {
1597
2911
  let message = 'Object doesn\'t match CdpMlModelOutcomeDefinitionRepresentation (at "' + path_outcomeDefinition + '")\n';
1598
2912
  message += referencepath_outcomeDefinitionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1630,7 +2944,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1630
2944
  if (obj.refreshConfig !== undefined) {
1631
2945
  const obj_refreshConfig = obj.refreshConfig;
1632
2946
  const path_refreshConfig = path + '.refreshConfig';
1633
- const referencepath_refreshConfigValidationError = validate$f(obj_refreshConfig, path_refreshConfig);
2947
+ const referencepath_refreshConfigValidationError = validate$c(obj_refreshConfig, path_refreshConfig);
1634
2948
  if (referencepath_refreshConfigValidationError !== null) {
1635
2949
  let message = 'Object doesn\'t match CdpMlModelRefreshConfigRepresentation (at "' + path_refreshConfig + '")\n';
1636
2950
  message += referencepath_refreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1737,7 +3051,7 @@ function validate$e(obj, path = 'CdpMlWorkspaceRepresentation') {
1737
3051
 
1738
3052
  const TTL$3 = 1000;
1739
3053
  const VERSION$3 = "e6a8612718f37385e9d7622527f26c5c";
1740
- function validate$d(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
3054
+ function validate$a(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
1741
3055
  const v_error = (() => {
1742
3056
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1743
3057
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1811,7 +3125,7 @@ function validate$d(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
1811
3125
  for (let i = 0; i < obj_workspaces.length; i++) {
1812
3126
  const obj_workspaces_item = obj_workspaces[i];
1813
3127
  const path_workspaces_item = path_workspaces + '[' + i + ']';
1814
- const referencepath_workspaces_itemValidationError = validate$e(obj_workspaces_item, path_workspaces_item);
3128
+ const referencepath_workspaces_itemValidationError = validate$b(obj_workspaces_item, path_workspaces_item);
1815
3129
  if (referencepath_workspaces_itemValidationError !== null) {
1816
3130
  let message = 'Object doesn\'t match CdpMlWorkspaceRepresentation (at "' + path_workspaces_item + '")\n';
1817
3131
  message += referencepath_workspaces_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1841,7 +3155,7 @@ function equals$3(existing, incoming) {
1841
3155
  }
1842
3156
  const ingest$3 = function CdpMlWorkspaceCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1843
3157
  if (process.env.NODE_ENV !== 'production') {
1844
- const validateError = validate$d(input);
3158
+ const validateError = validate$a(input);
1845
3159
  if (validateError !== null) {
1846
3160
  throw validateError;
1847
3161
  }
@@ -1924,14 +3238,14 @@ const getCdpMlWorkspaceCollection_ConfigPropertyMetadata = [
1924
3238
  generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
1925
3239
  ];
1926
3240
  const getCdpMlWorkspaceCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
1927
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$8(getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3241
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$c(getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
1928
3242
  function keyBuilder$6(luvio, config) {
1929
3243
  const resourceParams = createResourceParams$5(config);
1930
3244
  return keyBuilder$7(luvio, resourceParams);
1931
3245
  }
1932
3246
  function typeCheckConfig$5(untrustedConfig) {
1933
3247
  const config = {};
1934
- typeCheckConfig$8(untrustedConfig, config, getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3248
+ typeCheckConfig$c(untrustedConfig, config, getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
1935
3249
  return config;
1936
3250
  }
1937
3251
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -1980,7 +3294,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
1980
3294
  });
1981
3295
  }
1982
3296
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
1983
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
3297
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
1984
3298
  }
1985
3299
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
1986
3300
  const { luvio, config } = context;
@@ -2015,7 +3329,7 @@ function keyBuilderFromType$1(luvio, object) {
2015
3329
 
2016
3330
  const TTL$2 = 1000;
2017
3331
  const VERSION$2 = "1cb47dd9b0cc811f1ad3318c7245d465";
2018
- function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3332
+ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2019
3333
  const v_error = (() => {
2020
3334
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2021
3335
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2035,7 +3349,7 @@ function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2035
3349
  if (obj.activeSetup !== undefined) {
2036
3350
  const obj_activeSetup = obj.activeSetup;
2037
3351
  const path_activeSetup = path + '.activeSetup';
2038
- const referencepath_activeSetupValidationError = validate$o(obj_activeSetup, path_activeSetup);
3352
+ const referencepath_activeSetupValidationError = validate$t(obj_activeSetup, path_activeSetup);
2039
3353
  if (referencepath_activeSetupValidationError !== null) {
2040
3354
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
2041
3355
  message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2073,7 +3387,7 @@ function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2073
3387
  if (obj.createdBy !== undefined) {
2074
3388
  const obj_createdBy = obj.createdBy;
2075
3389
  const path_createdBy = path + '.createdBy';
2076
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
3390
+ const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
2077
3391
  if (referencepath_createdByValidationError !== null) {
2078
3392
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
2079
3393
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2202,7 +3516,7 @@ function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2202
3516
  if (obj.lastModifiedBy !== undefined) {
2203
3517
  const obj_lastModifiedBy = obj.lastModifiedBy;
2204
3518
  const path_lastModifiedBy = path + '.lastModifiedBy';
2205
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
3519
+ const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
2206
3520
  if (referencepath_lastModifiedByValidationError !== null) {
2207
3521
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
2208
3522
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2240,7 +3554,7 @@ function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2240
3554
  if (obj.latestSetup !== undefined) {
2241
3555
  const obj_latestSetup = obj.latestSetup;
2242
3556
  const path_latestSetup = path + '.latestSetup';
2243
- const referencepath_latestSetupValidationError = validate$o(obj_latestSetup, path_latestSetup);
3557
+ const referencepath_latestSetupValidationError = validate$t(obj_latestSetup, path_latestSetup);
2244
3558
  if (referencepath_latestSetupValidationError !== null) {
2245
3559
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
2246
3560
  message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2255,7 +3569,7 @@ function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2255
3569
  if (obj.modelType !== undefined) {
2256
3570
  const obj_modelType = obj.modelType;
2257
3571
  const path_modelType = path + '.modelType';
2258
- const referencepath_modelTypeValidationError = validate$l(obj_modelType, path_modelType);
3572
+ const referencepath_modelTypeValidationError = validate$i(obj_modelType, path_modelType);
2259
3573
  if (referencepath_modelTypeValidationError !== null) {
2260
3574
  let message = 'Object doesn\'t match CdpMlModelTypeRepresentation (at "' + path_modelType + '")\n';
2261
3575
  message += referencepath_modelTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2326,7 +3640,7 @@ function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2326
3640
  if (obj.outcomeDefinition !== undefined) {
2327
3641
  const obj_outcomeDefinition = obj.outcomeDefinition;
2328
3642
  const path_outcomeDefinition = path + '.outcomeDefinition';
2329
- const referencepath_outcomeDefinitionValidationError = validate$k(obj_outcomeDefinition, path_outcomeDefinition);
3643
+ const referencepath_outcomeDefinitionValidationError = validate$h(obj_outcomeDefinition, path_outcomeDefinition);
2330
3644
  if (referencepath_outcomeDefinitionValidationError !== null) {
2331
3645
  let message = 'Object doesn\'t match CdpMlModelOutcomeDefinitionRepresentation (at "' + path_outcomeDefinition + '")\n';
2332
3646
  message += referencepath_outcomeDefinitionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2364,7 +3678,7 @@ function validate$c(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
2364
3678
  if (obj.refreshConfig !== undefined) {
2365
3679
  const obj_refreshConfig = obj.refreshConfig;
2366
3680
  const path_refreshConfig = path + '.refreshConfig';
2367
- const referencepath_refreshConfigValidationError = validate$f(obj_refreshConfig, path_refreshConfig);
3681
+ const referencepath_refreshConfigValidationError = validate$c(obj_refreshConfig, path_refreshConfig);
2368
3682
  if (referencepath_refreshConfigValidationError !== null) {
2369
3683
  let message = 'Object doesn\'t match CdpMlModelRefreshConfigRepresentation (at "' + path_refreshConfig + '")\n';
2370
3684
  message += referencepath_refreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2488,7 +3802,7 @@ function equals$2(existing, incoming) {
2488
3802
  }
2489
3803
  const ingest$2 = function CdpMlWorkspaceDetailRepresentationIngest(input, path, luvio, store, timestamp) {
2490
3804
  if (process.env.NODE_ENV !== 'production') {
2491
- const validateError = validate$c(input);
3805
+ const validateError = validate$9(input);
2492
3806
  if (validateError !== null) {
2493
3807
  throw validateError;
2494
3808
  }
@@ -2508,13 +3822,6 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
2508
3822
  });
2509
3823
  }
2510
3824
 
2511
- function IsWorkspaceId(workspaceIdOrName) {
2512
- return workspaceIdOrName.indexOf('__') === -1 || workspaceIdOrName.startsWith('12s');
2513
- }
2514
- function IsModelId(modelIdOrName) {
2515
- return modelIdOrName.startsWith('12r');
2516
- }
2517
-
2518
3825
  function keyBuilder$5(luvio, params) {
2519
3826
  const idOrName = params.urlParams.workspaceIdOrName;
2520
3827
  const type = IsWorkspaceId(idOrName) ? 'id' : 'name';
@@ -2575,14 +3882,14 @@ const getCdpMlWorkspace_ConfigPropertyMetadata = [
2575
3882
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
2576
3883
  ];
2577
3884
  const getCdpMlWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getCdpMlWorkspace_ConfigPropertyMetadata);
2578
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$8(getCdpMlWorkspace_ConfigPropertyMetadata);
3885
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(getCdpMlWorkspace_ConfigPropertyMetadata);
2579
3886
  function keyBuilder$4(luvio, config) {
2580
3887
  const resourceParams = createResourceParams$4(config);
2581
3888
  return keyBuilder$5(luvio, resourceParams);
2582
3889
  }
2583
3890
  function typeCheckConfig$4(untrustedConfig) {
2584
3891
  const config = {};
2585
- typeCheckConfig$8(untrustedConfig, config, getCdpMlWorkspace_ConfigPropertyMetadata);
3892
+ typeCheckConfig$c(untrustedConfig, config, getCdpMlWorkspace_ConfigPropertyMetadata);
2586
3893
  return config;
2587
3894
  }
2588
3895
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -2631,7 +3938,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
2631
3938
  });
2632
3939
  }
2633
3940
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
2634
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
3941
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
2635
3942
  }
2636
3943
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2637
3944
  const { luvio, config } = context;
@@ -2656,7 +3963,7 @@ const getCdpMlWorkspaceAdapterFactory = (luvio) => function cdpMachineLearning__
2656
3963
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
2657
3964
  };
2658
3965
 
2659
- function validate$b(obj, path = 'CdpMlFilterValueRepresentation') {
3966
+ function validate$8(obj, path = 'CdpMlFilterValueRepresentation') {
2660
3967
  const v_error = (() => {
2661
3968
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2662
3969
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2675,7 +3982,7 @@ function validate$b(obj, path = 'CdpMlFilterValueRepresentation') {
2675
3982
  return v_error === undefined ? null : v_error;
2676
3983
  }
2677
3984
 
2678
- function validate$a(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
3985
+ function validate$7(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
2679
3986
  const v_error = (() => {
2680
3987
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2681
3988
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2698,7 +4005,7 @@ function validate$a(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
2698
4005
  for (let i = 0; i < obj_values.length; i++) {
2699
4006
  const obj_values_item = obj_values[i];
2700
4007
  const path_values_item = path_values + '[' + i + ']';
2701
- const referencepath_values_itemValidationError = validate$b(obj_values_item, path_values_item);
4008
+ const referencepath_values_itemValidationError = validate$8(obj_values_item, path_values_item);
2702
4009
  if (referencepath_values_itemValidationError !== null) {
2703
4010
  let message = 'Object doesn\'t match CdpMlFilterValueRepresentation (at "' + path_values_item + '")\n';
2704
4011
  message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2709,7 +4016,7 @@ function validate$a(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
2709
4016
  return v_error === undefined ? null : v_error;
2710
4017
  }
2711
4018
 
2712
- function validate$9(obj, path = 'CdpMlFilterRepresentation') {
4019
+ function validate$6(obj, path = 'CdpMlFilterRepresentation') {
2713
4020
  const v_error = (() => {
2714
4021
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2715
4022
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2722,7 +4029,7 @@ function validate$9(obj, path = 'CdpMlFilterRepresentation') {
2722
4029
  for (let i = 0; i < obj_criteria.length; i++) {
2723
4030
  const obj_criteria_item = obj_criteria[i];
2724
4031
  const path_criteria_item = path_criteria + '[' + i + ']';
2725
- const referencepath_criteria_itemValidationError = validate$a(obj_criteria_item, path_criteria_item);
4032
+ const referencepath_criteria_itemValidationError = validate$7(obj_criteria_item, path_criteria_item);
2726
4033
  if (referencepath_criteria_itemValidationError !== null) {
2727
4034
  let message = 'Object doesn\'t match CdpMlFilterCriterionBaseRepresentation (at "' + path_criteria_item + '")\n';
2728
4035
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2733,14 +4040,14 @@ function validate$9(obj, path = 'CdpMlFilterRepresentation') {
2733
4040
  return v_error === undefined ? null : v_error;
2734
4041
  }
2735
4042
 
2736
- function validate$8(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation') {
4043
+ function validate$5(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation') {
2737
4044
  const v_error = (() => {
2738
4045
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2739
4046
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2740
4047
  }
2741
4048
  const obj_filter = obj.filter;
2742
4049
  const path_filter = path + '.filter';
2743
- const referencepath_filterValidationError = validate$9(obj_filter, path_filter);
4050
+ const referencepath_filterValidationError = validate$6(obj_filter, path_filter);
2744
4051
  if (referencepath_filterValidationError !== null) {
2745
4052
  let message = 'Object doesn\'t match CdpMlFilterRepresentation (at "' + path_filter + '")\n';
2746
4053
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2755,7 +4062,7 @@ function validate$8(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation'
2755
4062
  return v_error === undefined ? null : v_error;
2756
4063
  }
2757
4064
 
2758
- function validate$7(obj, path = 'CdpMlCustomizableFieldRepresentation') {
4065
+ function validate$4(obj, path = 'CdpMlCustomizableFieldRepresentation') {
2759
4066
  const v_error = (() => {
2760
4067
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2761
4068
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2768,7 +4075,7 @@ function validate$7(obj, path = 'CdpMlCustomizableFieldRepresentation') {
2768
4075
  for (let i = 0; i < obj_customDefinitions.length; i++) {
2769
4076
  const obj_customDefinitions_item = obj_customDefinitions[i];
2770
4077
  const path_customDefinitions_item = path_customDefinitions + '[' + i + ']';
2771
- const referencepath_customDefinitions_itemValidationError = validate$8(obj_customDefinitions_item, path_customDefinitions_item);
4078
+ const referencepath_customDefinitions_itemValidationError = validate$5(obj_customDefinitions_item, path_customDefinitions_item);
2772
4079
  if (referencepath_customDefinitions_itemValidationError !== null) {
2773
4080
  let message = 'Object doesn\'t match CdpMlCustomizableFieldDefinitionRepresentation (at "' + path_customDefinitions_item + '")\n';
2774
4081
  message += referencepath_customDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2777,7 +4084,7 @@ function validate$7(obj, path = 'CdpMlCustomizableFieldRepresentation') {
2777
4084
  }
2778
4085
  const obj_field = obj.field;
2779
4086
  const path_field = path + '.field';
2780
- const referencepath_fieldValidationError = validate$r(obj_field, path_field);
4087
+ const referencepath_fieldValidationError = validate$u(obj_field, path_field);
2781
4088
  if (referencepath_fieldValidationError !== null) {
2782
4089
  let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_field + '")\n';
2783
4090
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2792,25 +4099,6 @@ function validate$7(obj, path = 'CdpMlCustomizableFieldRepresentation') {
2792
4099
  return v_error === undefined ? null : v_error;
2793
4100
  }
2794
4101
 
2795
- function validate$6(obj, path = 'CdpMlModelParameterOverrideBaseRepresentation') {
2796
- const v_error = (() => {
2797
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2798
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2799
- }
2800
- const obj_parameterName = obj.parameterName;
2801
- const path_parameterName = path + '.parameterName';
2802
- if (typeof obj_parameterName !== 'string') {
2803
- return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
2804
- }
2805
- const obj_type = obj.type;
2806
- const path_type = path + '.type';
2807
- if (typeof obj_type !== 'string') {
2808
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
2809
- }
2810
- })();
2811
- return v_error === undefined ? null : v_error;
2812
- }
2813
-
2814
4102
  // Should match with keyBuilder
2815
4103
  function keyBuilderFromType(luvio, object) {
2816
4104
  const type = object.url.indexOf(object.name) > -1 ? 'name' : 'id';
@@ -2821,7 +4109,7 @@ function keyBuilderFromType(luvio, object) {
2821
4109
 
2822
4110
  const TTL$1 = 1000;
2823
4111
  const VERSION$1 = "f9608bc4ae3825a8da2fc0992ae87b6e";
2824
- function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
4112
+ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
2825
4113
  const v_error = (() => {
2826
4114
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2827
4115
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2835,7 +4123,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
2835
4123
  for (let i = 0; i < obj_actionableFields.length; i++) {
2836
4124
  const obj_actionableFields_item = obj_actionableFields[i];
2837
4125
  const path_actionableFields_item = path_actionableFields + '[' + i + ']';
2838
- const referencepath_actionableFields_itemValidationError = validate$7(obj_actionableFields_item, path_actionableFields_item);
4126
+ const referencepath_actionableFields_itemValidationError = validate$4(obj_actionableFields_item, path_actionableFields_item);
2839
4127
  if (referencepath_actionableFields_itemValidationError !== null) {
2840
4128
  let message = 'Object doesn\'t match CdpMlCustomizableFieldRepresentation (at "' + path_actionableFields_item + '")\n';
2841
4129
  message += referencepath_actionableFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2845,7 +4133,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
2845
4133
  }
2846
4134
  const obj_artifact = obj.artifact;
2847
4135
  const path_artifact = path + '.artifact';
2848
- const referencepath_artifactValidationError = validate$o(obj_artifact, path_artifact);
4136
+ const referencepath_artifactValidationError = validate$t(obj_artifact, path_artifact);
2849
4137
  if (referencepath_artifactValidationError !== null) {
2850
4138
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
2851
4139
  message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2859,7 +4147,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
2859
4147
  if (obj.createdBy !== undefined) {
2860
4148
  const obj_createdBy = obj.createdBy;
2861
4149
  const path_createdBy = path + '.createdBy';
2862
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
4150
+ const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
2863
4151
  if (referencepath_createdByValidationError !== null) {
2864
4152
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
2865
4153
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2902,7 +4190,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
2902
4190
  for (let i = 0; i < obj_customizableFields.length; i++) {
2903
4191
  const obj_customizableFields_item = obj_customizableFields[i];
2904
4192
  const path_customizableFields_item = path_customizableFields + '[' + i + ']';
2905
- const referencepath_customizableFields_itemValidationError = validate$7(obj_customizableFields_item, path_customizableFields_item);
4193
+ const referencepath_customizableFields_itemValidationError = validate$4(obj_customizableFields_item, path_customizableFields_item);
2906
4194
  if (referencepath_customizableFields_itemValidationError !== null) {
2907
4195
  let message = 'Object doesn\'t match CdpMlCustomizableFieldRepresentation (at "' + path_customizableFields_item + '")\n';
2908
4196
  message += referencepath_customizableFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2939,7 +4227,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
2939
4227
  }
2940
4228
  const obj_filter = obj.filter;
2941
4229
  const path_filter = path + '.filter';
2942
- const referencepath_filterValidationError = validate$9(obj_filter, path_filter);
4230
+ const referencepath_filterValidationError = validate$6(obj_filter, path_filter);
2943
4231
  if (referencepath_filterValidationError !== null) {
2944
4232
  let message = 'Object doesn\'t match CdpMlFilterRepresentation (at "' + path_filter + '")\n';
2945
4233
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2983,7 +4271,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
2983
4271
  if (obj.lastActivatedBy !== undefined) {
2984
4272
  const obj_lastActivatedBy = obj.lastActivatedBy;
2985
4273
  const path_lastActivatedBy = path + '.lastActivatedBy';
2986
- const referencepath_lastActivatedByValidationError = validate$s(obj_lastActivatedBy, path_lastActivatedBy);
4274
+ const referencepath_lastActivatedByValidationError = validate$v(obj_lastActivatedBy, path_lastActivatedBy);
2987
4275
  if (referencepath_lastActivatedByValidationError !== null) {
2988
4276
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
2989
4277
  message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3000,7 +4288,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
3000
4288
  if (obj.lastModifiedBy !== undefined) {
3001
4289
  const obj_lastModifiedBy = obj.lastModifiedBy;
3002
4290
  const path_lastModifiedBy = path + '.lastModifiedBy';
3003
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
4291
+ const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
3004
4292
  if (referencepath_lastModifiedByValidationError !== null) {
3005
4293
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
3006
4294
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3104,7 +4392,7 @@ function validate$5(obj, path = 'CdpMlConfiguredModelRepresentation') {
3104
4392
  for (let i = 0; i < obj_parameterOverrides.length; i++) {
3105
4393
  const obj_parameterOverrides_item = obj_parameterOverrides[i];
3106
4394
  const path_parameterOverrides_item = path_parameterOverrides + '[' + i + ']';
3107
- const referencepath_parameterOverrides_itemValidationError = validate$6(obj_parameterOverrides_item, path_parameterOverrides_item);
4395
+ const referencepath_parameterOverrides_itemValidationError = validate$n(obj_parameterOverrides_item, path_parameterOverrides_item);
3108
4396
  if (referencepath_parameterOverrides_itemValidationError !== null) {
3109
4397
  let message = 'Object doesn\'t match CdpMlModelParameterOverrideBaseRepresentation (at "' + path_parameterOverrides_item + '")\n';
3110
4398
  message += referencepath_parameterOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3149,7 +4437,7 @@ function equals$1(existing, incoming) {
3149
4437
  }
3150
4438
  const ingest$1 = function CdpMlConfiguredModelRepresentationIngest(input, path, luvio, store, timestamp) {
3151
4439
  if (process.env.NODE_ENV !== 'production') {
3152
- const validateError = validate$5(input);
4440
+ const validateError = validate$3(input);
3153
4441
  if (validateError !== null) {
3154
4442
  throw validateError;
3155
4443
  }
@@ -3171,7 +4459,7 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
3171
4459
 
3172
4460
  const TTL = 1000;
3173
4461
  const VERSION = "2b3092c57f5f0a17513ae28d59875559";
3174
- function validate$4(obj, path = 'CdpMlConfiguredModelCollectionRepresentation') {
4462
+ function validate$2(obj, path = 'CdpMlConfiguredModelCollectionRepresentation') {
3175
4463
  const v_error = (() => {
3176
4464
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3177
4465
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3185,7 +4473,7 @@ function validate$4(obj, path = 'CdpMlConfiguredModelCollectionRepresentation')
3185
4473
  for (let i = 0; i < obj_models.length; i++) {
3186
4474
  const obj_models_item = obj_models[i];
3187
4475
  const path_models_item = path_models + '[' + i + ']';
3188
- const referencepath_models_itemValidationError = validate$5(obj_models_item, path_models_item);
4476
+ const referencepath_models_itemValidationError = validate$3(obj_models_item, path_models_item);
3189
4477
  if (referencepath_models_itemValidationError !== null) {
3190
4478
  let message = 'Object doesn\'t match CdpMlConfiguredModelRepresentation (at "' + path_models_item + '")\n';
3191
4479
  message += referencepath_models_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3226,7 +4514,7 @@ function equals(existing, incoming) {
3226
4514
  }
3227
4515
  const ingest = function CdpMlConfiguredModelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3228
4516
  if (process.env.NODE_ENV !== 'production') {
3229
- const validateError = validate$4(input);
4517
+ const validateError = validate$2(input);
3230
4518
  if (validateError !== null) {
3231
4519
  throw validateError;
3232
4520
  }
@@ -3250,7 +4538,7 @@ function select$3(luvio, params) {
3250
4538
  return select$4();
3251
4539
  }
3252
4540
  function keyBuilder$3(luvio, params) {
3253
- return keyPrefix + '::CdpMlConfiguredModelCollectionRepresentation:(' + 'workspaceIdOrName:' + params.urlParams.workspaceIdOrName + ')';
4541
+ return keyPrefix + '::CdpMlConfiguredModelCollectionRepresentation:(' + 'capabilities:' + params.queryParams.capabilities + ',' + 'workspaceIdOrName:' + params.urlParams.workspaceIdOrName + ')';
3254
4542
  }
3255
4543
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
3256
4544
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
@@ -3292,7 +4580,7 @@ function createResourceRequest$3(config) {
3292
4580
  method: 'get',
3293
4581
  body: null,
3294
4582
  urlParams: config.urlParams,
3295
- queryParams: {},
4583
+ queryParams: config.queryParams,
3296
4584
  headers,
3297
4585
  priority: 'normal',
3298
4586
  };
@@ -3301,16 +4589,17 @@ function createResourceRequest$3(config) {
3301
4589
  const adapterName$3 = 'getCdpMlConfiguredModelCollection';
3302
4590
  const getCdpMlConfiguredModelCollection_ConfigPropertyMetadata = [
3303
4591
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
4592
+ generateParamConfigMetadata('capabilities', false, 1 /* QueryParameter */, 0 /* String */, true),
3304
4593
  ];
3305
4594
  const getCdpMlConfiguredModelCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
3306
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4595
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$c(getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
3307
4596
  function keyBuilder$2(luvio, config) {
3308
4597
  const resourceParams = createResourceParams$3(config);
3309
4598
  return keyBuilder$3(luvio, resourceParams);
3310
4599
  }
3311
4600
  function typeCheckConfig$3(untrustedConfig) {
3312
4601
  const config = {};
3313
- typeCheckConfig$8(untrustedConfig, config, getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4602
+ typeCheckConfig$c(untrustedConfig, config, getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
3314
4603
  return config;
3315
4604
  }
3316
4605
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -3359,7 +4648,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
3359
4648
  });
3360
4649
  }
3361
4650
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
3362
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
4651
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
3363
4652
  }
3364
4653
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
3365
4654
  const { luvio, config } = context;
@@ -3384,7 +4673,7 @@ const getCdpMlConfiguredModelCollectionAdapterFactory = (luvio) => function cdpM
3384
4673
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
3385
4674
  };
3386
4675
 
3387
- function validate$3(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresentation') {
4676
+ function validate$1(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresentation') {
3388
4677
  const v_error = (() => {
3389
4678
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3390
4679
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3403,7 +4692,7 @@ function validate$3(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresenta
3403
4692
  return v_error === undefined ? null : v_error;
3404
4693
  }
3405
4694
 
3406
- function validate$2(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
4695
+ function validate(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
3407
4696
  const v_error = (() => {
3408
4697
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3409
4698
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3416,7 +4705,7 @@ function validate$2(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
3416
4705
  for (let i = 0; i < obj_customDefinitions.length; i++) {
3417
4706
  const obj_customDefinitions_item = obj_customDefinitions[i];
3418
4707
  const path_customDefinitions_item = path_customDefinitions + '[' + i + ']';
3419
- const referencepath_customDefinitions_itemValidationError = validate$3(obj_customDefinitions_item, path_customDefinitions_item);
4708
+ const referencepath_customDefinitions_itemValidationError = validate$1(obj_customDefinitions_item, path_customDefinitions_item);
3420
4709
  if (referencepath_customDefinitions_itemValidationError !== null) {
3421
4710
  let message = 'Object doesn\'t match CdpMlCustomizableFieldDefinitionInputRepresentation (at "' + path_customDefinitions_item + '")\n';
3422
4711
  message += referencepath_customDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3437,192 +4726,6 @@ function validate$2(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
3437
4726
  return v_error === undefined ? null : v_error;
3438
4727
  }
3439
4728
 
3440
- function validate$1(obj, path = 'CdpAssetReferenceInputRepresentation') {
3441
- const v_error = (() => {
3442
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3443
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3444
- }
3445
- if (obj.id !== undefined) {
3446
- const obj_id = obj.id;
3447
- const path_id = path + '.id';
3448
- let obj_id_union0 = null;
3449
- const obj_id_union0_error = (() => {
3450
- if (typeof obj_id !== 'string') {
3451
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3452
- }
3453
- })();
3454
- if (obj_id_union0_error != null) {
3455
- obj_id_union0 = obj_id_union0_error.message;
3456
- }
3457
- let obj_id_union1 = null;
3458
- const obj_id_union1_error = (() => {
3459
- if (obj_id !== null) {
3460
- return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3461
- }
3462
- })();
3463
- if (obj_id_union1_error != null) {
3464
- obj_id_union1 = obj_id_union1_error.message;
3465
- }
3466
- if (obj_id_union0 && obj_id_union1) {
3467
- let message = 'Object doesn\'t match union (at "' + path_id + '")';
3468
- message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
3469
- message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
3470
- return new TypeError(message);
3471
- }
3472
- }
3473
- if (obj.name !== undefined) {
3474
- const obj_name = obj.name;
3475
- const path_name = path + '.name';
3476
- let obj_name_union0 = null;
3477
- const obj_name_union0_error = (() => {
3478
- if (typeof obj_name !== 'string') {
3479
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
3480
- }
3481
- })();
3482
- if (obj_name_union0_error != null) {
3483
- obj_name_union0 = obj_name_union0_error.message;
3484
- }
3485
- let obj_name_union1 = null;
3486
- const obj_name_union1_error = (() => {
3487
- if (obj_name !== null) {
3488
- return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
3489
- }
3490
- })();
3491
- if (obj_name_union1_error != null) {
3492
- obj_name_union1 = obj_name_union1_error.message;
3493
- }
3494
- if (obj_name_union0 && obj_name_union1) {
3495
- let message = 'Object doesn\'t match union (at "' + path_name + '")';
3496
- message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
3497
- message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
3498
- return new TypeError(message);
3499
- }
3500
- }
3501
- if (obj.namespace !== undefined) {
3502
- const obj_namespace = obj.namespace;
3503
- const path_namespace = path + '.namespace';
3504
- let obj_namespace_union0 = null;
3505
- const obj_namespace_union0_error = (() => {
3506
- if (typeof obj_namespace !== 'string') {
3507
- return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
3508
- }
3509
- })();
3510
- if (obj_namespace_union0_error != null) {
3511
- obj_namespace_union0 = obj_namespace_union0_error.message;
3512
- }
3513
- let obj_namespace_union1 = null;
3514
- const obj_namespace_union1_error = (() => {
3515
- if (obj_namespace !== null) {
3516
- return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
3517
- }
3518
- })();
3519
- if (obj_namespace_union1_error != null) {
3520
- obj_namespace_union1 = obj_namespace_union1_error.message;
3521
- }
3522
- if (obj_namespace_union0 && obj_namespace_union1) {
3523
- let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
3524
- message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
3525
- message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
3526
- return new TypeError(message);
3527
- }
3528
- }
3529
- })();
3530
- return v_error === undefined ? null : v_error;
3531
- }
3532
-
3533
- function validate(obj, path = 'CdpMlModelParameterOverrideInputRepresentation') {
3534
- const v_error = (() => {
3535
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3536
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3537
- }
3538
- if (obj.continuousValue !== undefined) {
3539
- const obj_continuousValue = obj.continuousValue;
3540
- const path_continuousValue = path + '.continuousValue';
3541
- let obj_continuousValue_union0 = null;
3542
- const obj_continuousValue_union0_error = (() => {
3543
- if (typeof obj_continuousValue !== 'number') {
3544
- return new TypeError('Expected "number" but received "' + typeof obj_continuousValue + '" (at "' + path_continuousValue + '")');
3545
- }
3546
- })();
3547
- if (obj_continuousValue_union0_error != null) {
3548
- obj_continuousValue_union0 = obj_continuousValue_union0_error.message;
3549
- }
3550
- let obj_continuousValue_union1 = null;
3551
- const obj_continuousValue_union1_error = (() => {
3552
- if (obj_continuousValue !== null) {
3553
- return new TypeError('Expected "null" but received "' + typeof obj_continuousValue + '" (at "' + path_continuousValue + '")');
3554
- }
3555
- })();
3556
- if (obj_continuousValue_union1_error != null) {
3557
- obj_continuousValue_union1 = obj_continuousValue_union1_error.message;
3558
- }
3559
- if (obj_continuousValue_union0 && obj_continuousValue_union1) {
3560
- let message = 'Object doesn\'t match union (at "' + path_continuousValue + '")';
3561
- message += '\n' + obj_continuousValue_union0.split('\n').map((line) => '\t' + line).join('\n');
3562
- message += '\n' + obj_continuousValue_union1.split('\n').map((line) => '\t' + line).join('\n');
3563
- return new TypeError(message);
3564
- }
3565
- }
3566
- if (obj.discreteValue !== undefined) {
3567
- const obj_discreteValue = obj.discreteValue;
3568
- const path_discreteValue = path + '.discreteValue';
3569
- let obj_discreteValue_union0 = null;
3570
- const obj_discreteValue_union0_error = (() => {
3571
- if (typeof obj_discreteValue !== 'string') {
3572
- return new TypeError('Expected "string" but received "' + typeof obj_discreteValue + '" (at "' + path_discreteValue + '")');
3573
- }
3574
- })();
3575
- if (obj_discreteValue_union0_error != null) {
3576
- obj_discreteValue_union0 = obj_discreteValue_union0_error.message;
3577
- }
3578
- let obj_discreteValue_union1 = null;
3579
- const obj_discreteValue_union1_error = (() => {
3580
- if (obj_discreteValue !== null) {
3581
- return new TypeError('Expected "null" but received "' + typeof obj_discreteValue + '" (at "' + path_discreteValue + '")');
3582
- }
3583
- })();
3584
- if (obj_discreteValue_union1_error != null) {
3585
- obj_discreteValue_union1 = obj_discreteValue_union1_error.message;
3586
- }
3587
- if (obj_discreteValue_union0 && obj_discreteValue_union1) {
3588
- let message = 'Object doesn\'t match union (at "' + path_discreteValue + '")';
3589
- message += '\n' + obj_discreteValue_union0.split('\n').map((line) => '\t' + line).join('\n');
3590
- message += '\n' + obj_discreteValue_union1.split('\n').map((line) => '\t' + line).join('\n');
3591
- return new TypeError(message);
3592
- }
3593
- }
3594
- if (obj.parameterName !== undefined) {
3595
- const obj_parameterName = obj.parameterName;
3596
- const path_parameterName = path + '.parameterName';
3597
- let obj_parameterName_union0 = null;
3598
- const obj_parameterName_union0_error = (() => {
3599
- if (typeof obj_parameterName !== 'string') {
3600
- return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
3601
- }
3602
- })();
3603
- if (obj_parameterName_union0_error != null) {
3604
- obj_parameterName_union0 = obj_parameterName_union0_error.message;
3605
- }
3606
- let obj_parameterName_union1 = null;
3607
- const obj_parameterName_union1_error = (() => {
3608
- if (obj_parameterName !== null) {
3609
- return new TypeError('Expected "null" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
3610
- }
3611
- })();
3612
- if (obj_parameterName_union1_error != null) {
3613
- obj_parameterName_union1 = obj_parameterName_union1_error.message;
3614
- }
3615
- if (obj_parameterName_union0 && obj_parameterName_union1) {
3616
- let message = 'Object doesn\'t match union (at "' + path_parameterName + '")';
3617
- message += '\n' + obj_parameterName_union0.split('\n').map((line) => '\t' + line).join('\n');
3618
- message += '\n' + obj_parameterName_union1.split('\n').map((line) => '\t' + line).join('\n');
3619
- return new TypeError(message);
3620
- }
3621
- }
3622
- })();
3623
- return v_error === undefined ? null : v_error;
3624
- }
3625
-
3626
4729
  function select$2(luvio, params) {
3627
4730
  return select$5();
3628
4731
  }
@@ -3675,16 +4778,16 @@ const createCdpMlConfiguredModel_ConfigPropertyMetadata = [
3675
4778
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
3676
4779
  ];
3677
4780
  const createCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createCdpMlConfiguredModel_ConfigPropertyMetadata);
3678
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$8(createCdpMlConfiguredModel_ConfigPropertyMetadata);
4781
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(createCdpMlConfiguredModel_ConfigPropertyMetadata);
3679
4782
  function typeCheckConfig$2(untrustedConfig) {
3680
4783
  const config = {};
3681
- typeCheckConfig$8(untrustedConfig, config, createCdpMlConfiguredModel_ConfigPropertyMetadata);
4784
+ typeCheckConfig$c(untrustedConfig, config, createCdpMlConfiguredModel_ConfigPropertyMetadata);
3682
4785
  const untrustedConfig_actionableFields = untrustedConfig.actionableFields;
3683
4786
  if (ArrayIsArray$1(untrustedConfig_actionableFields)) {
3684
4787
  const untrustedConfig_actionableFields_array = [];
3685
4788
  for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
3686
4789
  const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
3687
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$2(untrustedConfig_actionableFields_item);
4790
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_actionableFields_item);
3688
4791
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
3689
4792
  untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
3690
4793
  }
@@ -3692,7 +4795,7 @@ function typeCheckConfig$2(untrustedConfig) {
3692
4795
  config.actionableFields = untrustedConfig_actionableFields_array;
3693
4796
  }
3694
4797
  const untrustedConfig_artifact = untrustedConfig.artifact;
3695
- const referenceCdpAssetReferenceInputRepresentationValidationError = validate$1(untrustedConfig_artifact);
4798
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
3696
4799
  if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
3697
4800
  config.artifact = untrustedConfig_artifact;
3698
4801
  }
@@ -3701,7 +4804,7 @@ function typeCheckConfig$2(untrustedConfig) {
3701
4804
  const untrustedConfig_customizableFields_array = [];
3702
4805
  for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
3703
4806
  const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
3704
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$2(untrustedConfig_customizableFields_item);
4807
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_customizableFields_item);
3705
4808
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
3706
4809
  untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
3707
4810
  }
@@ -3734,7 +4837,7 @@ function typeCheckConfig$2(untrustedConfig) {
3734
4837
  const untrustedConfig_parameterOverrides_array = [];
3735
4838
  for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
3736
4839
  const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
3737
- const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate(untrustedConfig_parameterOverrides_item);
4840
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
3738
4841
  if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
3739
4842
  untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
3740
4843
  }
@@ -3846,14 +4949,14 @@ const getCdpMlConfiguredModel_ConfigPropertyMetadata = [
3846
4949
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
3847
4950
  ];
3848
4951
  const getCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getCdpMlConfiguredModel_ConfigPropertyMetadata);
3849
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$8(getCdpMlConfiguredModel_ConfigPropertyMetadata);
4952
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(getCdpMlConfiguredModel_ConfigPropertyMetadata);
3850
4953
  function keyBuilder(luvio, config) {
3851
4954
  const resourceParams = createResourceParams$1(config);
3852
4955
  return keyBuilder$1(luvio, resourceParams);
3853
4956
  }
3854
4957
  function typeCheckConfig$1(untrustedConfig) {
3855
4958
  const config = {};
3856
- typeCheckConfig$8(untrustedConfig, config, getCdpMlConfiguredModel_ConfigPropertyMetadata);
4959
+ typeCheckConfig$c(untrustedConfig, config, getCdpMlConfiguredModel_ConfigPropertyMetadata);
3857
4960
  return config;
3858
4961
  }
3859
4962
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -3902,7 +5005,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
3902
5005
  });
3903
5006
  }
3904
5007
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
3905
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
5008
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
3906
5009
  }
3907
5010
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
3908
5011
  const { luvio, config } = context;
@@ -3980,16 +5083,16 @@ const updateCdpMlConfiguredModel_ConfigPropertyMetadata = [
3980
5083
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
3981
5084
  ];
3982
5085
  const updateCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
3983
- const createResourceParams = /*#__PURE__*/ createResourceParams$8(updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5086
+ const createResourceParams = /*#__PURE__*/ createResourceParams$c(updateCdpMlConfiguredModel_ConfigPropertyMetadata);
3984
5087
  function typeCheckConfig(untrustedConfig) {
3985
5088
  const config = {};
3986
- typeCheckConfig$8(untrustedConfig, config, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5089
+ typeCheckConfig$c(untrustedConfig, config, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
3987
5090
  const untrustedConfig_actionableFields = untrustedConfig.actionableFields;
3988
5091
  if (ArrayIsArray$1(untrustedConfig_actionableFields)) {
3989
5092
  const untrustedConfig_actionableFields_array = [];
3990
5093
  for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
3991
5094
  const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
3992
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$2(untrustedConfig_actionableFields_item);
5095
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_actionableFields_item);
3993
5096
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
3994
5097
  untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
3995
5098
  }
@@ -3997,7 +5100,7 @@ function typeCheckConfig(untrustedConfig) {
3997
5100
  config.actionableFields = untrustedConfig_actionableFields_array;
3998
5101
  }
3999
5102
  const untrustedConfig_artifact = untrustedConfig.artifact;
4000
- const referenceCdpAssetReferenceInputRepresentationValidationError = validate$1(untrustedConfig_artifact);
5103
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
4001
5104
  if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
4002
5105
  config.artifact = untrustedConfig_artifact;
4003
5106
  }
@@ -4006,7 +5109,7 @@ function typeCheckConfig(untrustedConfig) {
4006
5109
  const untrustedConfig_customizableFields_array = [];
4007
5110
  for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
4008
5111
  const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
4009
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$2(untrustedConfig_customizableFields_item);
5112
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_customizableFields_item);
4010
5113
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
4011
5114
  untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
4012
5115
  }
@@ -4039,7 +5142,7 @@ function typeCheckConfig(untrustedConfig) {
4039
5142
  const untrustedConfig_parameterOverrides_array = [];
4040
5143
  for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
4041
5144
  const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
4042
- const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate(untrustedConfig_parameterOverrides_item);
5145
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
4043
5146
  if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
4044
5147
  untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
4045
5148
  }
@@ -4090,4 +5193,4 @@ const updateCdpMlConfiguredModelAdapterFactory = (luvio) => {
4090
5193
  };
4091
5194
  };
4092
5195
 
4093
- export { createCdpMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelCollectionAdapterFactory, getCdpMlModelArtifactAdapterFactory, getCdpMlModelArtifactCollectionAdapterFactory, getCdpMlWorkspaceAdapterFactory, getCdpMlWorkspaceCollectionAdapterFactory, updateCdpMlConfiguredModelAdapterFactory };
5196
+ export { createCdpMlConfiguredModelAdapterFactory, createMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelCollectionAdapterFactory, getCdpMlModelArtifactAdapterFactory, getCdpMlModelArtifactCollectionAdapterFactory, getCdpMlWorkspaceAdapterFactory, getCdpMlWorkspaceCollectionAdapterFactory, getMlConfiguredModelAdapterFactory, getMlConfiguredModelCollectionAdapterFactory, updateCdpMlConfiguredModelAdapterFactory, updateMlConfiguredModelAdapterFactory };