@salesforce/lds-adapters-platform-cdp-machine-learning 1.310.0 → 1.311.1

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.
@@ -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$8, typeCheckConfig as typeCheckConfig$c, StoreKeyMap, createResourceParams as createResourceParams$c } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$d, StoreKeyMap, createResourceParams as createResourceParams$d } 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$v(obj, path = 'CdpUserRepresentation') {
82
+ function validate$A(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$v(obj, path = 'CdpUserRepresentation') {
103
103
  return v_error === undefined ? null : v_error;
104
104
  }
105
105
 
106
- function validate$u(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
106
+ function validate$z(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,7 +137,7 @@ function validate$u(obj, path = 'CdpMlModelInputFieldBaseRepresentation') {
137
137
  return v_error === undefined ? null : v_error;
138
138
  }
139
139
 
140
- function validate$t(obj, path = 'CdpAssetReferenceRepresentation') {
140
+ function validate$y(obj, path = 'CdpAssetReferenceRepresentation') {
141
141
  const v_error = (() => {
142
142
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
143
143
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -145,7 +145,7 @@ function validate$t(obj, path = 'CdpAssetReferenceRepresentation') {
145
145
  if (obj.createdBy !== undefined) {
146
146
  const obj_createdBy = obj.createdBy;
147
147
  const path_createdBy = path + '.createdBy';
148
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
148
+ const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
149
149
  if (referencepath_createdByValidationError !== null) {
150
150
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
151
151
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -218,7 +218,7 @@ function validate$t(obj, path = 'CdpAssetReferenceRepresentation') {
218
218
  if (obj.lastModifiedBy !== undefined) {
219
219
  const obj_lastModifiedBy = obj.lastModifiedBy;
220
220
  const path_lastModifiedBy = path + '.lastModifiedBy';
221
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
221
+ const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
222
222
  if (referencepath_lastModifiedByValidationError !== null) {
223
223
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
224
224
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -341,7 +341,7 @@ function validate$t(obj, path = 'CdpAssetReferenceRepresentation') {
341
341
  return v_error === undefined ? null : v_error;
342
342
  }
343
343
 
344
- function validate$s(obj, path = 'MlConnectorEndpointRepresentation') {
344
+ function validate$x(obj, path = 'MlConnectorEndpointRepresentation') {
345
345
  const v_error = (() => {
346
346
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
347
347
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -398,7 +398,7 @@ function validate$s(obj, path = 'MlConnectorEndpointRepresentation') {
398
398
  if (obj.namedCredential !== undefined) {
399
399
  const obj_namedCredential = obj.namedCredential;
400
400
  const path_namedCredential = path + '.namedCredential';
401
- const referencepath_namedCredentialValidationError = validate$t(obj_namedCredential, path_namedCredential);
401
+ const referencepath_namedCredentialValidationError = validate$y(obj_namedCredential, path_namedCredential);
402
402
  if (referencepath_namedCredentialValidationError !== null) {
403
403
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_namedCredential + '")\n';
404
404
  message += referencepath_namedCredentialValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -451,7 +451,7 @@ function validate$s(obj, path = 'MlConnectorEndpointRepresentation') {
451
451
  return v_error === undefined ? null : v_error;
452
452
  }
453
453
 
454
- function validate$r(obj, path = 'CdpMlModelOutputFieldRepresentation') {
454
+ function validate$w(obj, path = 'CdpMlModelOutputFieldRepresentation') {
455
455
  const v_error = (() => {
456
456
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
457
457
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -470,7 +470,7 @@ function validate$r(obj, path = 'CdpMlModelOutputFieldRepresentation') {
470
470
  return v_error === undefined ? null : v_error;
471
471
  }
472
472
 
473
- function validate$q(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation') {
473
+ function validate$v(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation') {
474
474
  const v_error = (() => {
475
475
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
476
476
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -494,9 +494,9 @@ function validate$q(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation
494
494
  return v_error === undefined ? null : v_error;
495
495
  }
496
496
 
497
- const TTL$7 = 1000;
498
- const VERSION$7 = "7f7fc62b42f91399ac9626ac046533ea";
499
- function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
497
+ const TTL$8 = 1000;
498
+ const VERSION$8 = "7f7fc62b42f91399ac9626ac046533ea";
499
+ function validate$u(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
500
500
  const v_error = (() => {
501
501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
502
502
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -504,7 +504,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
504
504
  if (obj.createdBy !== undefined) {
505
505
  const obj_createdBy = obj.createdBy;
506
506
  const path_createdBy = path + '.createdBy';
507
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
507
+ const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
508
508
  if (referencepath_createdByValidationError !== null) {
509
509
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
510
510
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -582,7 +582,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
582
582
  for (let i = 0; i < obj_inputFields.length; i++) {
583
583
  const obj_inputFields_item = obj_inputFields[i];
584
584
  const path_inputFields_item = path_inputFields + '[' + i + ']';
585
- const referencepath_inputFields_itemValidationError = validate$u(obj_inputFields_item, path_inputFields_item);
585
+ const referencepath_inputFields_itemValidationError = validate$z(obj_inputFields_item, path_inputFields_item);
586
586
  if (referencepath_inputFields_itemValidationError !== null) {
587
587
  let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_inputFields_item + '")\n';
588
588
  message += referencepath_inputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -620,7 +620,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
620
620
  if (obj.lastModifiedBy !== undefined) {
621
621
  const obj_lastModifiedBy = obj.lastModifiedBy;
622
622
  const path_lastModifiedBy = path + '.lastModifiedBy';
623
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
623
+ const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
624
624
  if (referencepath_lastModifiedByValidationError !== null) {
625
625
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
626
626
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -658,7 +658,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
658
658
  if (obj.modelConnectorEndpoint !== undefined) {
659
659
  const obj_modelConnectorEndpoint = obj.modelConnectorEndpoint;
660
660
  const path_modelConnectorEndpoint = path + '.modelConnectorEndpoint';
661
- const referencepath_modelConnectorEndpointValidationError = validate$s(obj_modelConnectorEndpoint, path_modelConnectorEndpoint);
661
+ const referencepath_modelConnectorEndpointValidationError = validate$x(obj_modelConnectorEndpoint, path_modelConnectorEndpoint);
662
662
  if (referencepath_modelConnectorEndpointValidationError !== null) {
663
663
  let message = 'Object doesn\'t match MlConnectorEndpointRepresentation (at "' + path_modelConnectorEndpoint + '")\n';
664
664
  message += referencepath_modelConnectorEndpointValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -718,7 +718,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
718
718
  for (let i = 0; i < obj_outputFields.length; i++) {
719
719
  const obj_outputFields_item = obj_outputFields[i];
720
720
  const path_outputFields_item = path_outputFields + '[' + i + ']';
721
- const referencepath_outputFields_itemValidationError = validate$r(obj_outputFields_item, path_outputFields_item);
721
+ const referencepath_outputFields_itemValidationError = validate$w(obj_outputFields_item, path_outputFields_item);
722
722
  if (referencepath_outputFields_itemValidationError !== null) {
723
723
  let message = 'Object doesn\'t match CdpMlModelOutputFieldRepresentation (at "' + path_outputFields_item + '")\n';
724
724
  message += referencepath_outputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -733,7 +733,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
733
733
  for (let i = 0; i < obj_parameters.length; i++) {
734
734
  const obj_parameters_item = obj_parameters[i];
735
735
  const path_parameters_item = path_parameters + '[' + i + ']';
736
- const referencepath_parameters_itemValidationError = validate$q(obj_parameters_item, path_parameters_item);
736
+ const referencepath_parameters_itemValidationError = validate$v(obj_parameters_item, path_parameters_item);
737
737
  if (referencepath_parameters_itemValidationError !== null) {
738
738
  let message = 'Object doesn\'t match CdpMlModelParameterDefinitionBaseRepresentation (at "' + path_parameters_item + '")\n';
739
739
  message += referencepath_parameters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -748,7 +748,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
748
748
  if (obj.setupContainer !== undefined) {
749
749
  const obj_setupContainer = obj.setupContainer;
750
750
  const path_setupContainer = path + '.setupContainer';
751
- const referencepath_setupContainerValidationError = validate$t(obj_setupContainer, path_setupContainer);
751
+ const referencepath_setupContainerValidationError = validate$y(obj_setupContainer, path_setupContainer);
752
752
  if (referencepath_setupContainerValidationError !== null) {
753
753
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_setupContainer + '")\n';
754
754
  message += referencepath_setupContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -758,7 +758,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
758
758
  if (obj.source !== undefined) {
759
759
  const obj_source = obj.source;
760
760
  const path_source = path + '.source';
761
- const referencepath_sourceValidationError = validate$t(obj_source, path_source);
761
+ const referencepath_sourceValidationError = validate$y(obj_source, path_source);
762
762
  if (referencepath_sourceValidationError !== null) {
763
763
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_source + '")\n';
764
764
  message += referencepath_sourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -768,7 +768,7 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
768
768
  if (obj.sourceContainer !== undefined) {
769
769
  const obj_sourceContainer = obj.sourceContainer;
770
770
  const path_sourceContainer = path + '.sourceContainer';
771
- const referencepath_sourceContainerValidationError = validate$t(obj_sourceContainer, path_sourceContainer);
771
+ const referencepath_sourceContainerValidationError = validate$y(obj_sourceContainer, path_sourceContainer);
772
772
  if (referencepath_sourceContainerValidationError !== null) {
773
773
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_sourceContainer + '")\n';
774
774
  message += referencepath_sourceContainerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -802,49 +802,49 @@ function validate$p(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
802
802
  })();
803
803
  return v_error === undefined ? null : v_error;
804
804
  }
805
- const RepresentationType$7 = 'CdpMlModelArtifactBaseRepresentation';
806
- function normalize$7(input, existing, path, luvio, store, timestamp) {
805
+ const RepresentationType$8 = 'CdpMlModelArtifactBaseRepresentation';
806
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
807
807
  return input;
808
808
  }
809
- const select$j = function CdpMlModelArtifactBaseRepresentationSelect() {
809
+ const select$l = function CdpMlModelArtifactBaseRepresentationSelect() {
810
810
  return {
811
811
  kind: 'Fragment',
812
- version: VERSION$7,
812
+ version: VERSION$8,
813
813
  private: [],
814
814
  opaque: true
815
815
  };
816
816
  };
817
- function equals$7(existing, incoming) {
817
+ function equals$8(existing, incoming) {
818
818
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
819
819
  return false;
820
820
  }
821
821
  return true;
822
822
  }
823
- const ingest$7 = function CdpMlModelArtifactBaseRepresentationIngest(input, path, luvio, store, timestamp) {
823
+ const ingest$8 = function CdpMlModelArtifactBaseRepresentationIngest(input, path, luvio, store, timestamp) {
824
824
  if (process.env.NODE_ENV !== 'production') {
825
- const validateError = validate$p(input);
825
+ const validateError = validate$u(input);
826
826
  if (validateError !== null) {
827
827
  throw validateError;
828
828
  }
829
829
  }
830
830
  const key = path.fullPath;
831
- const ttlToUse = TTL$7;
832
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "cdp-machine-learning", VERSION$7, RepresentationType$7, equals$7);
831
+ const ttlToUse = TTL$8;
832
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "cdp-machine-learning", VERSION$8, RepresentationType$8, equals$8);
833
833
  return createLink(key);
834
834
  };
835
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
835
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
836
836
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
837
837
  const rootKey = fullPathFactory();
838
838
  rootKeySet.set(rootKey, {
839
839
  namespace: keyPrefix,
840
- representationName: RepresentationType$7,
840
+ representationName: RepresentationType$8,
841
841
  mergeable: false
842
842
  });
843
843
  }
844
844
 
845
- const TTL$6 = 1000;
846
- const VERSION$6 = "31baba639dc891173a7ce2db82dae35f";
847
- function validate$o(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
845
+ const TTL$7 = 1000;
846
+ const VERSION$7 = "31baba639dc891173a7ce2db82dae35f";
847
+ function validate$t(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
848
848
  const v_error = (() => {
849
849
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
850
850
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -862,7 +862,7 @@ function validate$o(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
862
862
  for (let i = 0; i < obj_modelArtifacts.length; i++) {
863
863
  const obj_modelArtifacts_item = obj_modelArtifacts[i];
864
864
  const path_modelArtifacts_item = path_modelArtifacts + '[' + i + ']';
865
- const referencepath_modelArtifacts_itemValidationError = validate$p(obj_modelArtifacts_item, path_modelArtifacts_item);
865
+ const referencepath_modelArtifacts_itemValidationError = validate$u(obj_modelArtifacts_item, path_modelArtifacts_item);
866
866
  if (referencepath_modelArtifacts_itemValidationError !== null) {
867
867
  let message = 'Object doesn\'t match CdpMlModelArtifactBaseRepresentation (at "' + path_modelArtifacts_item + '")\n';
868
868
  message += referencepath_modelArtifacts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -903,62 +903,62 @@ function validate$o(obj, path = 'CdpMlModelArtifactCollectionRepresentation') {
903
903
  })();
904
904
  return v_error === undefined ? null : v_error;
905
905
  }
906
- const RepresentationType$6 = 'CdpMlModelArtifactCollectionRepresentation';
907
- function normalize$6(input, existing, path, luvio, store, timestamp) {
906
+ const RepresentationType$7 = 'CdpMlModelArtifactCollectionRepresentation';
907
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
908
908
  return input;
909
909
  }
910
- const select$i = function CdpMlModelArtifactCollectionRepresentationSelect() {
910
+ const select$k = function CdpMlModelArtifactCollectionRepresentationSelect() {
911
911
  return {
912
912
  kind: 'Fragment',
913
- version: VERSION$6,
913
+ version: VERSION$7,
914
914
  private: [],
915
915
  opaque: true
916
916
  };
917
917
  };
918
- function equals$6(existing, incoming) {
918
+ function equals$7(existing, incoming) {
919
919
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
920
920
  return false;
921
921
  }
922
922
  return true;
923
923
  }
924
- const ingest$6 = function CdpMlModelArtifactCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
924
+ const ingest$7 = function CdpMlModelArtifactCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
925
925
  if (process.env.NODE_ENV !== 'production') {
926
- const validateError = validate$o(input);
926
+ const validateError = validate$t(input);
927
927
  if (validateError !== null) {
928
928
  throw validateError;
929
929
  }
930
930
  }
931
931
  const key = path.fullPath;
932
- const ttlToUse = TTL$6;
933
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "cdp-machine-learning", VERSION$6, RepresentationType$6, equals$6);
932
+ const ttlToUse = TTL$7;
933
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "cdp-machine-learning", VERSION$7, RepresentationType$7, equals$7);
934
934
  return createLink(key);
935
935
  };
936
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
936
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
937
937
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
938
938
  const rootKey = fullPathFactory();
939
939
  rootKeySet.set(rootKey, {
940
940
  namespace: keyPrefix,
941
- representationName: RepresentationType$6,
941
+ representationName: RepresentationType$7,
942
942
  mergeable: false
943
943
  });
944
944
  }
945
945
 
946
- function select$h(luvio, params) {
947
- return select$i();
946
+ function select$j(luvio, params) {
947
+ return select$k();
948
948
  }
949
- function keyBuilder$f(luvio, params) {
949
+ function keyBuilder$g(luvio, params) {
950
950
  return keyPrefix + '::CdpMlModelArtifactCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'modelType:' + params.queryParams.modelType + ',' + 'offset:' + params.queryParams.offset + ',' + 'sourceType:' + params.queryParams.sourceType + ')';
951
951
  }
952
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
953
- getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
952
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
953
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$g(luvio, resourceParams));
954
954
  }
955
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
955
+ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
956
956
  const { body } = response;
957
- const key = keyBuilder$f(luvio, resourceParams);
958
- luvio.storeIngest(key, ingest$6, body);
957
+ const key = keyBuilder$g(luvio, resourceParams);
958
+ luvio.storeIngest(key, ingest$7, body);
959
959
  const snapshot = luvio.storeLookup({
960
960
  recordId: key,
961
- node: select$h(),
961
+ node: select$j(),
962
962
  variables: {},
963
963
  }, snapshotRefresh);
964
964
  if (process.env.NODE_ENV !== 'production') {
@@ -970,21 +970,21 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
970
970
  return snapshot;
971
971
  }
972
972
  function ingestError$7(luvio, params, error, snapshotRefresh) {
973
- const key = keyBuilder$f(luvio, params);
973
+ const key = keyBuilder$g(luvio, params);
974
974
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
975
975
  const storeMetadataParams = {
976
- ttl: TTL$6,
976
+ ttl: TTL$7,
977
977
  namespace: keyPrefix,
978
- version: VERSION$6,
979
- representationName: RepresentationType$6
978
+ version: VERSION$7,
979
+ representationName: RepresentationType$7
980
980
  };
981
981
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
982
982
  return errorSnapshot;
983
983
  }
984
- function createResourceRequest$b(config) {
984
+ function createResourceRequest$c(config) {
985
985
  const headers = {};
986
986
  return {
987
- baseUri: '/services/data/v62.0',
987
+ baseUri: '/services/data/v63.0',
988
988
  basePath: '/ssot/machine-learning/model-artifacts',
989
989
  method: 'get',
990
990
  body: null,
@@ -995,63 +995,63 @@ function createResourceRequest$b(config) {
995
995
  };
996
996
  }
997
997
 
998
- const adapterName$b = 'getCdpMlModelArtifactCollection';
998
+ const adapterName$c = 'getCdpMlModelArtifactCollection';
999
999
  const getCdpMlModelArtifactCollection_ConfigPropertyMetadata = [
1000
1000
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1001
1001
  generateParamConfigMetadata('modelType', false, 1 /* QueryParameter */, 0 /* String */),
1002
1002
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1003
1003
  generateParamConfigMetadata('sourceType', false, 1 /* QueryParameter */, 0 /* String */),
1004
1004
  ];
1005
- const getCdpMlModelArtifactCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1006
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1007
- function keyBuilder$e(luvio, config) {
1008
- const resourceParams = createResourceParams$b(config);
1009
- return keyBuilder$f(luvio, resourceParams);
1005
+ const getCdpMlModelArtifactCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1006
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$d(getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1007
+ function keyBuilder$f(luvio, config) {
1008
+ const resourceParams = createResourceParams$c(config);
1009
+ return keyBuilder$g(luvio, resourceParams);
1010
1010
  }
1011
- function typeCheckConfig$b(untrustedConfig) {
1011
+ function typeCheckConfig$c(untrustedConfig) {
1012
1012
  const config = {};
1013
- typeCheckConfig$c(untrustedConfig, config, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1013
+ typeCheckConfig$d(untrustedConfig, config, getCdpMlModelArtifactCollection_ConfigPropertyMetadata);
1014
1014
  return config;
1015
1015
  }
1016
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
1016
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
1017
1017
  if (!untrustedIsObject(untrustedConfig)) {
1018
1018
  return null;
1019
1019
  }
1020
1020
  if (process.env.NODE_ENV !== 'production') {
1021
1021
  validateConfig(untrustedConfig, configPropertyNames);
1022
1022
  }
1023
- const config = typeCheckConfig$b(untrustedConfig);
1023
+ const config = typeCheckConfig$c(untrustedConfig);
1024
1024
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1025
1025
  return null;
1026
1026
  }
1027
1027
  return config;
1028
1028
  }
1029
1029
  function adapterFragment$7(luvio, config) {
1030
- createResourceParams$b(config);
1031
- return select$h();
1030
+ createResourceParams$c(config);
1031
+ return select$j();
1032
1032
  }
1033
1033
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
1034
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
1034
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
1035
1035
  config,
1036
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1036
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
1037
1037
  });
1038
1038
  return luvio.storeBroadcast().then(() => snapshot);
1039
1039
  }
1040
1040
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
1041
1041
  const snapshot = ingestError$7(luvio, resourceParams, response, {
1042
1042
  config,
1043
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1043
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
1044
1044
  });
1045
1045
  return luvio.storeBroadcast().then(() => snapshot);
1046
1046
  }
1047
- function buildNetworkSnapshot$b(luvio, config, options) {
1048
- const resourceParams = createResourceParams$b(config);
1049
- const request = createResourceRequest$b(resourceParams);
1047
+ function buildNetworkSnapshot$c(luvio, config, options) {
1048
+ const resourceParams = createResourceParams$c(config);
1049
+ const request = createResourceRequest$c(resourceParams);
1050
1050
  return luvio.dispatchResourceRequest(request, options)
1051
1051
  .then((response) => {
1052
1052
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
1053
1053
  const cache = new StoreKeyMap();
1054
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
1054
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
1055
1055
  return cache;
1056
1056
  });
1057
1057
  }, (response) => {
@@ -1059,23 +1059,23 @@ function buildNetworkSnapshot$b(luvio, config, options) {
1059
1059
  });
1060
1060
  }
1061
1061
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
1062
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
1062
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
1063
1063
  }
1064
1064
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
1065
1065
  const { luvio, config } = context;
1066
1066
  const selector = {
1067
- recordId: keyBuilder$e(luvio, config),
1067
+ recordId: keyBuilder$f(luvio, config),
1068
1068
  node: adapterFragment$7(luvio, config),
1069
1069
  variables: {},
1070
1070
  };
1071
1071
  const cacheSnapshot = storeLookup(selector, {
1072
1072
  config,
1073
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1073
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
1074
1074
  });
1075
1075
  return cacheSnapshot;
1076
1076
  }
1077
1077
  const getCdpMlModelArtifactCollectionAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlModelArtifactCollection(untrustedConfig, requestContext) {
1078
- const config = validateAdapterConfig$b(untrustedConfig, getCdpMlModelArtifactCollection_ConfigPropertyNames);
1078
+ const config = validateAdapterConfig$c(untrustedConfig, getCdpMlModelArtifactCollection_ConfigPropertyNames);
1079
1079
  // Invalid or incomplete config
1080
1080
  if (config === null) {
1081
1081
  return null;
@@ -1084,22 +1084,22 @@ const getCdpMlModelArtifactCollectionAdapterFactory = (luvio) => function cdpMac
1084
1084
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
1085
1085
  };
1086
1086
 
1087
- function select$g(luvio, params) {
1088
- return select$j();
1087
+ function select$i(luvio, params) {
1088
+ return select$l();
1089
1089
  }
1090
- function keyBuilder$d(luvio, params) {
1090
+ function keyBuilder$e(luvio, params) {
1091
1091
  return keyPrefix + '::CdpMlModelArtifactBaseRepresentation:(' + 'modelArtifactIdOrName:' + params.urlParams.modelArtifactIdOrName + ')';
1092
1092
  }
1093
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
1094
- getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
1093
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
1094
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$e(luvio, resourceParams));
1095
1095
  }
1096
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
1096
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
1097
1097
  const { body } = response;
1098
- const key = keyBuilder$d(luvio, resourceParams);
1099
- luvio.storeIngest(key, ingest$7, body);
1098
+ const key = keyBuilder$e(luvio, resourceParams);
1099
+ luvio.storeIngest(key, ingest$8, body);
1100
1100
  const snapshot = luvio.storeLookup({
1101
1101
  recordId: key,
1102
- node: select$g(),
1102
+ node: select$i(),
1103
1103
  variables: {},
1104
1104
  }, snapshotRefresh);
1105
1105
  if (process.env.NODE_ENV !== 'production') {
@@ -1111,21 +1111,21 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
1111
1111
  return snapshot;
1112
1112
  }
1113
1113
  function ingestError$6(luvio, params, error, snapshotRefresh) {
1114
- const key = keyBuilder$d(luvio, params);
1114
+ const key = keyBuilder$e(luvio, params);
1115
1115
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1116
1116
  const storeMetadataParams = {
1117
- ttl: TTL$7,
1117
+ ttl: TTL$8,
1118
1118
  namespace: keyPrefix,
1119
- version: VERSION$7,
1120
- representationName: RepresentationType$7
1119
+ version: VERSION$8,
1120
+ representationName: RepresentationType$8
1121
1121
  };
1122
1122
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1123
1123
  return errorSnapshot;
1124
1124
  }
1125
- function createResourceRequest$a(config) {
1125
+ function createResourceRequest$b(config) {
1126
1126
  const headers = {};
1127
1127
  return {
1128
- baseUri: '/services/data/v62.0',
1128
+ baseUri: '/services/data/v63.0',
1129
1129
  basePath: '/ssot/machine-learning/model-artifacts/' + config.urlParams.modelArtifactIdOrName + '',
1130
1130
  method: 'get',
1131
1131
  body: null,
@@ -1136,60 +1136,60 @@ function createResourceRequest$a(config) {
1136
1136
  };
1137
1137
  }
1138
1138
 
1139
- const adapterName$a = 'getCdpMlModelArtifact';
1139
+ const adapterName$b = 'getCdpMlModelArtifact';
1140
1140
  const getCdpMlModelArtifact_ConfigPropertyMetadata = [
1141
1141
  generateParamConfigMetadata('modelArtifactIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
1142
1142
  ];
1143
- const getCdpMlModelArtifact_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getCdpMlModelArtifact_ConfigPropertyMetadata);
1144
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(getCdpMlModelArtifact_ConfigPropertyMetadata);
1145
- function keyBuilder$c(luvio, config) {
1146
- const resourceParams = createResourceParams$a(config);
1147
- return keyBuilder$d(luvio, resourceParams);
1143
+ const getCdpMlModelArtifact_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getCdpMlModelArtifact_ConfigPropertyMetadata);
1144
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$d(getCdpMlModelArtifact_ConfigPropertyMetadata);
1145
+ function keyBuilder$d(luvio, config) {
1146
+ const resourceParams = createResourceParams$b(config);
1147
+ return keyBuilder$e(luvio, resourceParams);
1148
1148
  }
1149
- function typeCheckConfig$a(untrustedConfig) {
1149
+ function typeCheckConfig$b(untrustedConfig) {
1150
1150
  const config = {};
1151
- typeCheckConfig$c(untrustedConfig, config, getCdpMlModelArtifact_ConfigPropertyMetadata);
1151
+ typeCheckConfig$d(untrustedConfig, config, getCdpMlModelArtifact_ConfigPropertyMetadata);
1152
1152
  return config;
1153
1153
  }
1154
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
1154
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
1155
1155
  if (!untrustedIsObject(untrustedConfig)) {
1156
1156
  return null;
1157
1157
  }
1158
1158
  if (process.env.NODE_ENV !== 'production') {
1159
1159
  validateConfig(untrustedConfig, configPropertyNames);
1160
1160
  }
1161
- const config = typeCheckConfig$a(untrustedConfig);
1161
+ const config = typeCheckConfig$b(untrustedConfig);
1162
1162
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1163
1163
  return null;
1164
1164
  }
1165
1165
  return config;
1166
1166
  }
1167
1167
  function adapterFragment$6(luvio, config) {
1168
- createResourceParams$a(config);
1169
- return select$g();
1168
+ createResourceParams$b(config);
1169
+ return select$i();
1170
1170
  }
1171
1171
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
1172
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
1172
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
1173
1173
  config,
1174
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1174
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1175
1175
  });
1176
1176
  return luvio.storeBroadcast().then(() => snapshot);
1177
1177
  }
1178
1178
  function onFetchResponseError$6(luvio, config, resourceParams, response) {
1179
1179
  const snapshot = ingestError$6(luvio, resourceParams, response, {
1180
1180
  config,
1181
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1181
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1182
1182
  });
1183
1183
  return luvio.storeBroadcast().then(() => snapshot);
1184
1184
  }
1185
- function buildNetworkSnapshot$a(luvio, config, options) {
1186
- const resourceParams = createResourceParams$a(config);
1187
- const request = createResourceRequest$a(resourceParams);
1185
+ function buildNetworkSnapshot$b(luvio, config, options) {
1186
+ const resourceParams = createResourceParams$b(config);
1187
+ const request = createResourceRequest$b(resourceParams);
1188
1188
  return luvio.dispatchResourceRequest(request, options)
1189
1189
  .then((response) => {
1190
1190
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
1191
1191
  const cache = new StoreKeyMap();
1192
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
1192
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
1193
1193
  return cache;
1194
1194
  });
1195
1195
  }, (response) => {
@@ -1197,23 +1197,23 @@ function buildNetworkSnapshot$a(luvio, config, options) {
1197
1197
  });
1198
1198
  }
1199
1199
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
1200
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
1200
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
1201
1201
  }
1202
1202
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
1203
1203
  const { luvio, config } = context;
1204
1204
  const selector = {
1205
- recordId: keyBuilder$c(luvio, config),
1205
+ recordId: keyBuilder$d(luvio, config),
1206
1206
  node: adapterFragment$6(luvio, config),
1207
1207
  variables: {},
1208
1208
  };
1209
1209
  const cacheSnapshot = storeLookup(selector, {
1210
1210
  config,
1211
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1211
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1212
1212
  });
1213
1213
  return cacheSnapshot;
1214
1214
  }
1215
1215
  const getCdpMlModelArtifactAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlModelArtifact(untrustedConfig, requestContext) {
1216
- const config = validateAdapterConfig$a(untrustedConfig, getCdpMlModelArtifact_ConfigPropertyNames);
1216
+ const config = validateAdapterConfig$b(untrustedConfig, getCdpMlModelArtifact_ConfigPropertyNames);
1217
1217
  // Invalid or incomplete config
1218
1218
  if (config === null) {
1219
1219
  return null;
@@ -1222,7 +1222,7 @@ const getCdpMlModelArtifactAdapterFactory = (luvio) => function cdpMachineLearni
1222
1222
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
1223
1223
  };
1224
1224
 
1225
- function validate$n(obj, path = 'CdpMlModelParameterOverrideBaseRepresentation') {
1225
+ function validate$s(obj, path = 'CdpMlModelParameterOverrideBaseRepresentation') {
1226
1226
  const v_error = (() => {
1227
1227
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1228
1228
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1242,16 +1242,16 @@ function validate$n(obj, path = 'CdpMlModelParameterOverrideBaseRepresentation')
1242
1242
  }
1243
1243
 
1244
1244
  // Should match with keyBuilder
1245
- function keyBuilderFromType$2(luvio, object) {
1245
+ function keyBuilderFromType$3(luvio, object) {
1246
1246
  const type = object.url.indexOf(object.name) > -1 ? 'name' : 'id';
1247
1247
  const urlArray = object.url.split('/');
1248
1248
  const idOrName = urlArray[urlArray.length - 1];
1249
- return `${keyPrefix}::${RepresentationType$5}:(id:${idOrName},type:${type})`;
1249
+ return `${keyPrefix}::${RepresentationType$6}:(id:${idOrName},type:${type})`;
1250
1250
  }
1251
1251
 
1252
- const TTL$5 = 1000;
1253
- const VERSION$5 = "657ddb10ce420b0923527e19e710f9ef";
1254
- function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1252
+ const TTL$6 = 1000;
1253
+ const VERSION$6 = "657ddb10ce420b0923527e19e710f9ef";
1254
+ function validate$r(obj, path = 'MlConfiguredModelRepresentation') {
1255
1255
  const v_error = (() => {
1256
1256
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1257
1257
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1272,7 +1272,7 @@ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1272
1272
  }
1273
1273
  const obj_artifact = obj.artifact;
1274
1274
  const path_artifact = path + '.artifact';
1275
- const referencepath_artifactValidationError = validate$t(obj_artifact, path_artifact);
1275
+ const referencepath_artifactValidationError = validate$y(obj_artifact, path_artifact);
1276
1276
  if (referencepath_artifactValidationError !== null) {
1277
1277
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
1278
1278
  message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1314,7 +1314,7 @@ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1314
1314
  if (obj.createdBy !== undefined) {
1315
1315
  const obj_createdBy = obj.createdBy;
1316
1316
  const path_createdBy = path + '.createdBy';
1317
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
1317
+ const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
1318
1318
  if (referencepath_createdByValidationError !== null) {
1319
1319
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1320
1320
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1394,7 +1394,7 @@ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1394
1394
  if (obj.lastActivatedBy !== undefined) {
1395
1395
  const obj_lastActivatedBy = obj.lastActivatedBy;
1396
1396
  const path_lastActivatedBy = path + '.lastActivatedBy';
1397
- const referencepath_lastActivatedByValidationError = validate$v(obj_lastActivatedBy, path_lastActivatedBy);
1397
+ const referencepath_lastActivatedByValidationError = validate$A(obj_lastActivatedBy, path_lastActivatedBy);
1398
1398
  if (referencepath_lastActivatedByValidationError !== null) {
1399
1399
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
1400
1400
  message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1411,7 +1411,7 @@ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1411
1411
  if (obj.lastModifiedBy !== undefined) {
1412
1412
  const obj_lastModifiedBy = obj.lastModifiedBy;
1413
1413
  const path_lastModifiedBy = path + '.lastModifiedBy';
1414
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
1414
+ const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
1415
1415
  if (referencepath_lastModifiedByValidationError !== null) {
1416
1416
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1417
1417
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1495,7 +1495,7 @@ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1495
1495
  for (let i = 0; i < obj_parameterOverrides.length; i++) {
1496
1496
  const obj_parameterOverrides_item = obj_parameterOverrides[i];
1497
1497
  const path_parameterOverrides_item = path_parameterOverrides + '[' + i + ']';
1498
- const referencepath_parameterOverrides_itemValidationError = validate$n(obj_parameterOverrides_item, path_parameterOverrides_item);
1498
+ const referencepath_parameterOverrides_itemValidationError = validate$s(obj_parameterOverrides_item, path_parameterOverrides_item);
1499
1499
  if (referencepath_parameterOverrides_itemValidationError !== null) {
1500
1500
  let message = 'Object doesn\'t match CdpMlModelParameterOverrideBaseRepresentation (at "' + path_parameterOverrides_item + '")\n';
1501
1501
  message += referencepath_parameterOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1532,49 +1532,49 @@ function validate$m(obj, path = 'MlConfiguredModelRepresentation') {
1532
1532
  })();
1533
1533
  return v_error === undefined ? null : v_error;
1534
1534
  }
1535
- const RepresentationType$5 = 'MlConfiguredModelRepresentation';
1536
- function normalize$5(input, existing, path, luvio, store, timestamp) {
1535
+ const RepresentationType$6 = 'MlConfiguredModelRepresentation';
1536
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
1537
1537
  return input;
1538
1538
  }
1539
- const select$f = function MlConfiguredModelRepresentationSelect() {
1539
+ const select$h = function MlConfiguredModelRepresentationSelect() {
1540
1540
  return {
1541
1541
  kind: 'Fragment',
1542
- version: VERSION$5,
1542
+ version: VERSION$6,
1543
1543
  private: [],
1544
1544
  opaque: true
1545
1545
  };
1546
1546
  };
1547
- function equals$5(existing, incoming) {
1547
+ function equals$6(existing, incoming) {
1548
1548
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1549
1549
  return false;
1550
1550
  }
1551
1551
  return true;
1552
1552
  }
1553
- const ingest$5 = function MlConfiguredModelRepresentationIngest(input, path, luvio, store, timestamp) {
1553
+ const ingest$6 = function MlConfiguredModelRepresentationIngest(input, path, luvio, store, timestamp) {
1554
1554
  if (process.env.NODE_ENV !== 'production') {
1555
- const validateError = validate$m(input);
1555
+ const validateError = validate$r(input);
1556
1556
  if (validateError !== null) {
1557
1557
  throw validateError;
1558
1558
  }
1559
1559
  }
1560
- const key = keyBuilderFromType$2(luvio, input);
1561
- const ttlToUse = TTL$5;
1562
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "cdp-machine-learning", VERSION$5, RepresentationType$5, equals$5);
1560
+ const key = keyBuilderFromType$3(luvio, input);
1561
+ const ttlToUse = TTL$6;
1562
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "cdp-machine-learning", VERSION$6, RepresentationType$6, equals$6);
1563
1563
  return createLink(key);
1564
1564
  };
1565
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1565
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1566
1566
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1567
- const rootKey = keyBuilderFromType$2(luvio, input);
1567
+ const rootKey = keyBuilderFromType$3(luvio, input);
1568
1568
  rootKeySet.set(rootKey, {
1569
1569
  namespace: keyPrefix,
1570
- representationName: RepresentationType$5,
1570
+ representationName: RepresentationType$6,
1571
1571
  mergeable: false
1572
1572
  });
1573
1573
  }
1574
1574
 
1575
- const TTL$4 = 1000;
1576
- const VERSION$4 = "6b35174a83c8e5d45e0f5d2bf11bec55";
1577
- function validate$l(obj, path = 'MlConfiguredModelCollectionRepresentation') {
1575
+ const TTL$5 = 1000;
1576
+ const VERSION$5 = "6b35174a83c8e5d45e0f5d2bf11bec55";
1577
+ function validate$q(obj, path = 'MlConfiguredModelCollectionRepresentation') {
1578
1578
  const v_error = (() => {
1579
1579
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1580
1580
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1587,7 +1587,7 @@ function validate$l(obj, path = 'MlConfiguredModelCollectionRepresentation') {
1587
1587
  for (let i = 0; i < obj_configuredModels.length; i++) {
1588
1588
  const obj_configuredModels_item = obj_configuredModels[i];
1589
1589
  const path_configuredModels_item = path_configuredModels + '[' + i + ']';
1590
- const referencepath_configuredModels_itemValidationError = validate$m(obj_configuredModels_item, path_configuredModels_item);
1590
+ const referencepath_configuredModels_itemValidationError = validate$r(obj_configuredModels_item, path_configuredModels_item);
1591
1591
  if (referencepath_configuredModels_itemValidationError !== null) {
1592
1592
  let message = 'Object doesn\'t match MlConfiguredModelRepresentation (at "' + path_configuredModels_item + '")\n';
1593
1593
  message += referencepath_configuredModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1639,62 +1639,62 @@ function validate$l(obj, path = 'MlConfiguredModelCollectionRepresentation') {
1639
1639
  })();
1640
1640
  return v_error === undefined ? null : v_error;
1641
1641
  }
1642
- const RepresentationType$4 = 'MlConfiguredModelCollectionRepresentation';
1643
- function normalize$4(input, existing, path, luvio, store, timestamp) {
1642
+ const RepresentationType$5 = 'MlConfiguredModelCollectionRepresentation';
1643
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
1644
1644
  return input;
1645
1645
  }
1646
- const select$e = function MlConfiguredModelCollectionRepresentationSelect() {
1646
+ const select$g = function MlConfiguredModelCollectionRepresentationSelect() {
1647
1647
  return {
1648
1648
  kind: 'Fragment',
1649
- version: VERSION$4,
1649
+ version: VERSION$5,
1650
1650
  private: [],
1651
1651
  opaque: true
1652
1652
  };
1653
1653
  };
1654
- function equals$4(existing, incoming) {
1654
+ function equals$5(existing, incoming) {
1655
1655
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1656
1656
  return false;
1657
1657
  }
1658
1658
  return true;
1659
1659
  }
1660
- const ingest$4 = function MlConfiguredModelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1660
+ const ingest$5 = function MlConfiguredModelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1661
1661
  if (process.env.NODE_ENV !== 'production') {
1662
- const validateError = validate$l(input);
1662
+ const validateError = validate$q(input);
1663
1663
  if (validateError !== null) {
1664
1664
  throw validateError;
1665
1665
  }
1666
1666
  }
1667
1667
  const key = path.fullPath;
1668
- const ttlToUse = TTL$4;
1669
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "cdp-machine-learning", VERSION$4, RepresentationType$4, equals$4);
1668
+ const ttlToUse = TTL$5;
1669
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "cdp-machine-learning", VERSION$5, RepresentationType$5, equals$5);
1670
1670
  return createLink(key);
1671
1671
  };
1672
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1672
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1673
1673
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1674
1674
  const rootKey = fullPathFactory();
1675
1675
  rootKeySet.set(rootKey, {
1676
1676
  namespace: keyPrefix,
1677
- representationName: RepresentationType$4,
1677
+ representationName: RepresentationType$5,
1678
1678
  mergeable: false
1679
1679
  });
1680
1680
  }
1681
1681
 
1682
- function select$d(luvio, params) {
1683
- return select$e();
1682
+ function select$f(luvio, params) {
1683
+ return select$g();
1684
1684
  }
1685
- function keyBuilder$b(luvio, params) {
1685
+ function keyBuilder$c(luvio, params) {
1686
1686
  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 + ')';
1687
1687
  }
1688
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
1689
- getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
1688
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
1689
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$c(luvio, resourceParams));
1690
1690
  }
1691
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1691
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
1692
1692
  const { body } = response;
1693
- const key = keyBuilder$b(luvio, resourceParams);
1694
- luvio.storeIngest(key, ingest$4, body);
1693
+ const key = keyBuilder$c(luvio, resourceParams);
1694
+ luvio.storeIngest(key, ingest$5, body);
1695
1695
  const snapshot = luvio.storeLookup({
1696
1696
  recordId: key,
1697
- node: select$d(),
1697
+ node: select$f(),
1698
1698
  variables: {},
1699
1699
  }, snapshotRefresh);
1700
1700
  if (process.env.NODE_ENV !== 'production') {
@@ -1706,21 +1706,21 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1706
1706
  return snapshot;
1707
1707
  }
1708
1708
  function ingestError$5(luvio, params, error, snapshotRefresh) {
1709
- const key = keyBuilder$b(luvio, params);
1709
+ const key = keyBuilder$c(luvio, params);
1710
1710
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1711
1711
  const storeMetadataParams = {
1712
- ttl: TTL$4,
1712
+ ttl: TTL$5,
1713
1713
  namespace: keyPrefix,
1714
- version: VERSION$4,
1715
- representationName: RepresentationType$4
1714
+ version: VERSION$5,
1715
+ representationName: RepresentationType$5
1716
1716
  };
1717
1717
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1718
1718
  return errorSnapshot;
1719
1719
  }
1720
- function createResourceRequest$9(config) {
1720
+ function createResourceRequest$a(config) {
1721
1721
  const headers = {};
1722
1722
  return {
1723
- baseUri: '/services/data/v62.0',
1723
+ baseUri: '/services/data/v63.0',
1724
1724
  basePath: '/ssot/machine-learning/configured-models',
1725
1725
  method: 'get',
1726
1726
  body: null,
@@ -1731,7 +1731,7 @@ function createResourceRequest$9(config) {
1731
1731
  };
1732
1732
  }
1733
1733
 
1734
- const adapterName$9 = 'getMlConfiguredModelCollection';
1734
+ const adapterName$a = 'getMlConfiguredModelCollection';
1735
1735
  const getMlConfiguredModelCollection_ConfigPropertyMetadata = [
1736
1736
  generateParamConfigMetadata('assetIdOrName', false, 1 /* QueryParameter */, 0 /* String */),
1737
1737
  generateParamConfigMetadata('assetType', false, 1 /* QueryParameter */, 0 /* String */),
@@ -1744,56 +1744,56 @@ const getMlConfiguredModelCollection_ConfigPropertyMetadata = [
1744
1744
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
1745
1745
  generateParamConfigMetadata('sourceType', false, 1 /* QueryParameter */, 0 /* String */),
1746
1746
  ];
1747
- const getMlConfiguredModelCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getMlConfiguredModelCollection_ConfigPropertyMetadata);
1748
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(getMlConfiguredModelCollection_ConfigPropertyMetadata);
1749
- function keyBuilder$a(luvio, config) {
1750
- const resourceParams = createResourceParams$9(config);
1751
- return keyBuilder$b(luvio, resourceParams);
1747
+ const getMlConfiguredModelCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getMlConfiguredModelCollection_ConfigPropertyMetadata);
1748
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$d(getMlConfiguredModelCollection_ConfigPropertyMetadata);
1749
+ function keyBuilder$b(luvio, config) {
1750
+ const resourceParams = createResourceParams$a(config);
1751
+ return keyBuilder$c(luvio, resourceParams);
1752
1752
  }
1753
- function typeCheckConfig$9(untrustedConfig) {
1753
+ function typeCheckConfig$a(untrustedConfig) {
1754
1754
  const config = {};
1755
- typeCheckConfig$c(untrustedConfig, config, getMlConfiguredModelCollection_ConfigPropertyMetadata);
1755
+ typeCheckConfig$d(untrustedConfig, config, getMlConfiguredModelCollection_ConfigPropertyMetadata);
1756
1756
  return config;
1757
1757
  }
1758
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1758
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
1759
1759
  if (!untrustedIsObject(untrustedConfig)) {
1760
1760
  return null;
1761
1761
  }
1762
1762
  if (process.env.NODE_ENV !== 'production') {
1763
1763
  validateConfig(untrustedConfig, configPropertyNames);
1764
1764
  }
1765
- const config = typeCheckConfig$9(untrustedConfig);
1765
+ const config = typeCheckConfig$a(untrustedConfig);
1766
1766
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1767
1767
  return null;
1768
1768
  }
1769
1769
  return config;
1770
1770
  }
1771
1771
  function adapterFragment$5(luvio, config) {
1772
- createResourceParams$9(config);
1773
- return select$d();
1772
+ createResourceParams$a(config);
1773
+ return select$f();
1774
1774
  }
1775
1775
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
1776
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
1776
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
1777
1777
  config,
1778
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1778
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1779
1779
  });
1780
1780
  return luvio.storeBroadcast().then(() => snapshot);
1781
1781
  }
1782
1782
  function onFetchResponseError$5(luvio, config, resourceParams, response) {
1783
1783
  const snapshot = ingestError$5(luvio, resourceParams, response, {
1784
1784
  config,
1785
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1785
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1786
1786
  });
1787
1787
  return luvio.storeBroadcast().then(() => snapshot);
1788
1788
  }
1789
- function buildNetworkSnapshot$9(luvio, config, options) {
1790
- const resourceParams = createResourceParams$9(config);
1791
- const request = createResourceRequest$9(resourceParams);
1789
+ function buildNetworkSnapshot$a(luvio, config, options) {
1790
+ const resourceParams = createResourceParams$a(config);
1791
+ const request = createResourceRequest$a(resourceParams);
1792
1792
  return luvio.dispatchResourceRequest(request, options)
1793
1793
  .then((response) => {
1794
1794
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
1795
1795
  const cache = new StoreKeyMap();
1796
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
1796
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
1797
1797
  return cache;
1798
1798
  });
1799
1799
  }, (response) => {
@@ -1801,23 +1801,23 @@ function buildNetworkSnapshot$9(luvio, config, options) {
1801
1801
  });
1802
1802
  }
1803
1803
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
1804
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
1804
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
1805
1805
  }
1806
1806
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
1807
1807
  const { luvio, config } = context;
1808
1808
  const selector = {
1809
- recordId: keyBuilder$a(luvio, config),
1809
+ recordId: keyBuilder$b(luvio, config),
1810
1810
  node: adapterFragment$5(luvio, config),
1811
1811
  variables: {},
1812
1812
  };
1813
1813
  const cacheSnapshot = storeLookup(selector, {
1814
1814
  config,
1815
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1815
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1816
1816
  });
1817
1817
  return cacheSnapshot;
1818
1818
  }
1819
1819
  const getMlConfiguredModelCollectionAdapterFactory = (luvio) => function cdpMachineLearning__getMlConfiguredModelCollection(untrustedConfig, requestContext) {
1820
- const config = validateAdapterConfig$9(untrustedConfig, getMlConfiguredModelCollection_ConfigPropertyNames);
1820
+ const config = validateAdapterConfig$a(untrustedConfig, getMlConfiguredModelCollection_ConfigPropertyNames);
1821
1821
  // Invalid or incomplete config
1822
1822
  if (config === null) {
1823
1823
  return null;
@@ -1826,7 +1826,7 @@ const getMlConfiguredModelCollectionAdapterFactory = (luvio) => function cdpMach
1826
1826
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
1827
1827
  };
1828
1828
 
1829
- function validate$k(obj, path = 'CdpAssetReferenceInputRepresentation') {
1829
+ function validate$p(obj, path = 'CdpAssetReferenceInputRepresentation') {
1830
1830
  const v_error = (() => {
1831
1831
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1832
1832
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1919,7 +1919,7 @@ function validate$k(obj, path = 'CdpAssetReferenceInputRepresentation') {
1919
1919
  return v_error === undefined ? null : v_error;
1920
1920
  }
1921
1921
 
1922
- function validate$j(obj, path = 'CdpMlModelParameterOverrideInputRepresentation') {
1922
+ function validate$o(obj, path = 'CdpMlModelParameterOverrideInputRepresentation') {
1923
1923
  const v_error = (() => {
1924
1924
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1925
1925
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2012,19 +2012,19 @@ function validate$j(obj, path = 'CdpMlModelParameterOverrideInputRepresentation'
2012
2012
  return v_error === undefined ? null : v_error;
2013
2013
  }
2014
2014
 
2015
- function select$c(luvio, params) {
2016
- return select$f();
2015
+ function select$e(luvio, params) {
2016
+ return select$h();
2017
2017
  }
2018
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
2019
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
2018
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
2019
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
2020
2020
  }
2021
- function ingestSuccess$8(luvio, resourceParams, response) {
2021
+ function ingestSuccess$9(luvio, resourceParams, response) {
2022
2022
  const { body } = response;
2023
- const key = keyBuilderFromType$2(luvio, body);
2024
- luvio.storeIngest(key, ingest$5, body);
2023
+ const key = keyBuilderFromType$3(luvio, body);
2024
+ luvio.storeIngest(key, ingest$6, body);
2025
2025
  const snapshot = luvio.storeLookup({
2026
2026
  recordId: key,
2027
- node: select$c(),
2027
+ node: select$e(),
2028
2028
  variables: {},
2029
2029
  });
2030
2030
  if (process.env.NODE_ENV !== 'production') {
@@ -2035,10 +2035,10 @@ function ingestSuccess$8(luvio, resourceParams, response) {
2035
2035
  deepFreeze(snapshot.data);
2036
2036
  return snapshot;
2037
2037
  }
2038
- function createResourceRequest$8(config) {
2038
+ function createResourceRequest$9(config) {
2039
2039
  const headers = {};
2040
2040
  return {
2041
- baseUri: '/services/data/v62.0',
2041
+ baseUri: '/services/data/v63.0',
2042
2042
  basePath: '/ssot/machine-learning/configured-models',
2043
2043
  method: 'post',
2044
2044
  body: config.body,
@@ -2049,7 +2049,7 @@ function createResourceRequest$8(config) {
2049
2049
  };
2050
2050
  }
2051
2051
 
2052
- const adapterName$8 = 'createMlConfiguredModel';
2052
+ const adapterName$9 = 'createMlConfiguredModel';
2053
2053
  const createMlConfiguredModel_ConfigPropertyMetadata = [
2054
2054
  generateParamConfigMetadata('artifact', false, 2 /* Body */, 4 /* Unsupported */),
2055
2055
  generateParamConfigMetadata('capability', false, 2 /* Body */, 0 /* String */),
@@ -2058,13 +2058,13 @@ const createMlConfiguredModel_ConfigPropertyMetadata = [
2058
2058
  generateParamConfigMetadata('parameterOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
2059
2059
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2060
2060
  ];
2061
- const createMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createMlConfiguredModel_ConfigPropertyMetadata);
2062
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createMlConfiguredModel_ConfigPropertyMetadata);
2063
- function typeCheckConfig$8(untrustedConfig) {
2061
+ const createMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createMlConfiguredModel_ConfigPropertyMetadata);
2062
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$d(createMlConfiguredModel_ConfigPropertyMetadata);
2063
+ function typeCheckConfig$9(untrustedConfig) {
2064
2064
  const config = {};
2065
- typeCheckConfig$c(untrustedConfig, config, createMlConfiguredModel_ConfigPropertyMetadata);
2065
+ typeCheckConfig$d(untrustedConfig, config, createMlConfiguredModel_ConfigPropertyMetadata);
2066
2066
  const untrustedConfig_artifact = untrustedConfig.artifact;
2067
- const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
2067
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$p(untrustedConfig_artifact);
2068
2068
  if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
2069
2069
  config.artifact = untrustedConfig_artifact;
2070
2070
  }
@@ -2073,7 +2073,7 @@ function typeCheckConfig$8(untrustedConfig) {
2073
2073
  const untrustedConfig_parameterOverrides_array = [];
2074
2074
  for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
2075
2075
  const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
2076
- const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
2076
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$o(untrustedConfig_parameterOverrides_item);
2077
2077
  if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
2078
2078
  untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
2079
2079
  }
@@ -2082,30 +2082,30 @@ function typeCheckConfig$8(untrustedConfig) {
2082
2082
  }
2083
2083
  return config;
2084
2084
  }
2085
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
2085
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
2086
2086
  if (!untrustedIsObject(untrustedConfig)) {
2087
2087
  return null;
2088
2088
  }
2089
2089
  if (process.env.NODE_ENV !== 'production') {
2090
2090
  validateConfig(untrustedConfig, configPropertyNames);
2091
2091
  }
2092
- const config = typeCheckConfig$8(untrustedConfig);
2092
+ const config = typeCheckConfig$9(untrustedConfig);
2093
2093
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2094
2094
  return null;
2095
2095
  }
2096
2096
  return config;
2097
2097
  }
2098
- function buildNetworkSnapshot$8(luvio, config, options) {
2099
- const resourceParams = createResourceParams$8(config);
2100
- const request = createResourceRequest$8(resourceParams);
2098
+ function buildNetworkSnapshot$9(luvio, config, options) {
2099
+ const resourceParams = createResourceParams$9(config);
2100
+ const request = createResourceRequest$9(resourceParams);
2101
2101
  return luvio.dispatchResourceRequest(request, options)
2102
2102
  .then((response) => {
2103
2103
  return luvio.handleSuccessResponse(() => {
2104
- const snapshot = ingestSuccess$8(luvio, resourceParams, response);
2104
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
2105
2105
  return luvio.storeBroadcast().then(() => snapshot);
2106
2106
  }, () => {
2107
2107
  const cache = new StoreKeyMap();
2108
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
2108
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
2109
2109
  return cache;
2110
2110
  });
2111
2111
  }, (response) => {
@@ -2115,12 +2115,12 @@ function buildNetworkSnapshot$8(luvio, config, options) {
2115
2115
  }
2116
2116
  const createMlConfiguredModelAdapterFactory = (luvio) => {
2117
2117
  return function createMlConfiguredModel(untrustedConfig) {
2118
- const config = validateAdapterConfig$8(untrustedConfig, createMlConfiguredModel_ConfigPropertyNames);
2118
+ const config = validateAdapterConfig$9(untrustedConfig, createMlConfiguredModel_ConfigPropertyNames);
2119
2119
  // Invalid or incomplete config
2120
2120
  if (config === null) {
2121
2121
  throw new Error('Invalid config for "createMlConfiguredModel"');
2122
2122
  }
2123
- return buildNetworkSnapshot$8(luvio, config);
2123
+ return buildNetworkSnapshot$9(luvio, config);
2124
2124
  };
2125
2125
  };
2126
2126
 
@@ -2134,25 +2134,25 @@ function IsConfiguredModelId(configuredModelIdOrName) {
2134
2134
  return configuredModelIdOrName.startsWith('12l');
2135
2135
  }
2136
2136
 
2137
- function keyBuilder$9(luvio, params) {
2137
+ function keyBuilder$a(luvio, params) {
2138
2138
  const configuredModelIdOrName = params.urlParams.configuredModelIdOrName;
2139
2139
  const type = IsConfiguredModelId(configuredModelIdOrName) ? 'id' : 'name';
2140
- return `${keyPrefix}::${RepresentationType$5}:(id:${configuredModelIdOrName},type:${type})`;
2140
+ return `${keyPrefix}::${RepresentationType$6}:(id:${configuredModelIdOrName},type:${type})`;
2141
2141
  }
2142
2142
 
2143
- function select$b(luvio, params) {
2144
- return select$f();
2143
+ function select$d(luvio, params) {
2144
+ return select$h();
2145
2145
  }
2146
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
2147
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
2146
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
2147
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
2148
2148
  }
2149
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
2149
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
2150
2150
  const { body } = response;
2151
- const key = keyBuilder$9(luvio, resourceParams);
2152
- luvio.storeIngest(key, ingest$5, body);
2151
+ const key = keyBuilder$a(luvio, resourceParams);
2152
+ luvio.storeIngest(key, ingest$6, body);
2153
2153
  const snapshot = luvio.storeLookup({
2154
2154
  recordId: key,
2155
- node: select$b(),
2155
+ node: select$d(),
2156
2156
  variables: {},
2157
2157
  }, snapshotRefresh);
2158
2158
  if (process.env.NODE_ENV !== 'production') {
@@ -2164,21 +2164,21 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
2164
2164
  return snapshot;
2165
2165
  }
2166
2166
  function ingestError$4(luvio, params, error, snapshotRefresh) {
2167
- const key = keyBuilder$9(luvio, params);
2167
+ const key = keyBuilder$a(luvio, params);
2168
2168
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2169
2169
  const storeMetadataParams = {
2170
- ttl: TTL$5,
2170
+ ttl: TTL$6,
2171
2171
  namespace: keyPrefix,
2172
- version: VERSION$5,
2173
- representationName: RepresentationType$5
2172
+ version: VERSION$6,
2173
+ representationName: RepresentationType$6
2174
2174
  };
2175
2175
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2176
2176
  return errorSnapshot;
2177
2177
  }
2178
- function createResourceRequest$7(config) {
2178
+ function createResourceRequest$8(config) {
2179
2179
  const headers = {};
2180
2180
  return {
2181
- baseUri: '/services/data/v62.0',
2181
+ baseUri: '/services/data/v63.0',
2182
2182
  basePath: '/ssot/machine-learning/configured-models/' + config.urlParams.configuredModelIdOrName + '',
2183
2183
  method: 'get',
2184
2184
  body: null,
@@ -2189,61 +2189,61 @@ function createResourceRequest$7(config) {
2189
2189
  };
2190
2190
  }
2191
2191
 
2192
- const adapterName$7 = 'getMlConfiguredModel';
2192
+ const adapterName$8 = 'getMlConfiguredModel';
2193
2193
  const getMlConfiguredModel_ConfigPropertyMetadata = [
2194
2194
  generateParamConfigMetadata('configuredModelIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
2195
2195
  generateParamConfigMetadata('filterGroup', false, 1 /* QueryParameter */, 0 /* String */),
2196
2196
  ];
2197
- const getMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getMlConfiguredModel_ConfigPropertyMetadata);
2198
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$c(getMlConfiguredModel_ConfigPropertyMetadata);
2199
- function keyBuilder$8(luvio, config) {
2200
- const resourceParams = createResourceParams$7(config);
2201
- return keyBuilder$9(luvio, resourceParams);
2197
+ const getMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getMlConfiguredModel_ConfigPropertyMetadata);
2198
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$d(getMlConfiguredModel_ConfigPropertyMetadata);
2199
+ function keyBuilder$9(luvio, config) {
2200
+ const resourceParams = createResourceParams$8(config);
2201
+ return keyBuilder$a(luvio, resourceParams);
2202
2202
  }
2203
- function typeCheckConfig$7(untrustedConfig) {
2203
+ function typeCheckConfig$8(untrustedConfig) {
2204
2204
  const config = {};
2205
- typeCheckConfig$c(untrustedConfig, config, getMlConfiguredModel_ConfigPropertyMetadata);
2205
+ typeCheckConfig$d(untrustedConfig, config, getMlConfiguredModel_ConfigPropertyMetadata);
2206
2206
  return config;
2207
2207
  }
2208
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
2208
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
2209
2209
  if (!untrustedIsObject(untrustedConfig)) {
2210
2210
  return null;
2211
2211
  }
2212
2212
  if (process.env.NODE_ENV !== 'production') {
2213
2213
  validateConfig(untrustedConfig, configPropertyNames);
2214
2214
  }
2215
- const config = typeCheckConfig$7(untrustedConfig);
2215
+ const config = typeCheckConfig$8(untrustedConfig);
2216
2216
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2217
2217
  return null;
2218
2218
  }
2219
2219
  return config;
2220
2220
  }
2221
2221
  function adapterFragment$4(luvio, config) {
2222
- createResourceParams$7(config);
2223
- return select$b();
2222
+ createResourceParams$8(config);
2223
+ return select$d();
2224
2224
  }
2225
2225
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
2226
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
2226
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
2227
2227
  config,
2228
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2228
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
2229
2229
  });
2230
2230
  return luvio.storeBroadcast().then(() => snapshot);
2231
2231
  }
2232
2232
  function onFetchResponseError$4(luvio, config, resourceParams, response) {
2233
2233
  const snapshot = ingestError$4(luvio, resourceParams, response, {
2234
2234
  config,
2235
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2235
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
2236
2236
  });
2237
2237
  return luvio.storeBroadcast().then(() => snapshot);
2238
2238
  }
2239
- function buildNetworkSnapshot$7(luvio, config, options) {
2240
- const resourceParams = createResourceParams$7(config);
2241
- const request = createResourceRequest$7(resourceParams);
2239
+ function buildNetworkSnapshot$8(luvio, config, options) {
2240
+ const resourceParams = createResourceParams$8(config);
2241
+ const request = createResourceRequest$8(resourceParams);
2242
2242
  return luvio.dispatchResourceRequest(request, options)
2243
2243
  .then((response) => {
2244
2244
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
2245
2245
  const cache = new StoreKeyMap();
2246
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
2246
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
2247
2247
  return cache;
2248
2248
  });
2249
2249
  }, (response) => {
@@ -2251,23 +2251,23 @@ function buildNetworkSnapshot$7(luvio, config, options) {
2251
2251
  });
2252
2252
  }
2253
2253
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
2254
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
2254
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
2255
2255
  }
2256
2256
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
2257
2257
  const { luvio, config } = context;
2258
2258
  const selector = {
2259
- recordId: keyBuilder$8(luvio, config),
2259
+ recordId: keyBuilder$9(luvio, config),
2260
2260
  node: adapterFragment$4(luvio, config),
2261
2261
  variables: {},
2262
2262
  };
2263
2263
  const cacheSnapshot = storeLookup(selector, {
2264
2264
  config,
2265
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2265
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
2266
2266
  });
2267
2267
  return cacheSnapshot;
2268
2268
  }
2269
2269
  const getMlConfiguredModelAdapterFactory = (luvio) => function cdpMachineLearning__getMlConfiguredModel(untrustedConfig, requestContext) {
2270
- const config = validateAdapterConfig$7(untrustedConfig, getMlConfiguredModel_ConfigPropertyNames);
2270
+ const config = validateAdapterConfig$8(untrustedConfig, getMlConfiguredModel_ConfigPropertyNames);
2271
2271
  // Invalid or incomplete config
2272
2272
  if (config === null) {
2273
2273
  return null;
@@ -2276,19 +2276,19 @@ const getMlConfiguredModelAdapterFactory = (luvio) => function cdpMachineLearnin
2276
2276
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
2277
2277
  };
2278
2278
 
2279
- function select$a(luvio, params) {
2280
- return select$f();
2279
+ function select$c(luvio, params) {
2280
+ return select$h();
2281
2281
  }
2282
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
2283
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
2282
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
2283
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
2284
2284
  }
2285
- function ingestSuccess$6(luvio, resourceParams, response) {
2285
+ function ingestSuccess$7(luvio, resourceParams, response) {
2286
2286
  const { body } = response;
2287
- const key = keyBuilderFromType$2(luvio, body);
2288
- luvio.storeIngest(key, ingest$5, body);
2287
+ const key = keyBuilderFromType$3(luvio, body);
2288
+ luvio.storeIngest(key, ingest$6, body);
2289
2289
  const snapshot = luvio.storeLookup({
2290
2290
  recordId: key,
2291
- node: select$a(),
2291
+ node: select$c(),
2292
2292
  variables: {},
2293
2293
  });
2294
2294
  if (process.env.NODE_ENV !== 'production') {
@@ -2299,10 +2299,10 @@ function ingestSuccess$6(luvio, resourceParams, response) {
2299
2299
  deepFreeze(snapshot.data);
2300
2300
  return snapshot;
2301
2301
  }
2302
- function createResourceRequest$6(config) {
2302
+ function createResourceRequest$7(config) {
2303
2303
  const headers = {};
2304
2304
  return {
2305
- baseUri: '/services/data/v62.0',
2305
+ baseUri: '/services/data/v63.0',
2306
2306
  basePath: '/ssot/machine-learning/configured-models/' + config.urlParams.configuredModelIdOrName + '',
2307
2307
  method: 'patch',
2308
2308
  body: config.body,
@@ -2313,7 +2313,7 @@ function createResourceRequest$6(config) {
2313
2313
  };
2314
2314
  }
2315
2315
 
2316
- const adapterName$6 = 'updateMlConfiguredModel';
2316
+ const adapterName$7 = 'updateMlConfiguredModel';
2317
2317
  const updateMlConfiguredModel_ConfigPropertyMetadata = [
2318
2318
  generateParamConfigMetadata('configuredModelIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
2319
2319
  generateParamConfigMetadata('artifact', false, 2 /* Body */, 4 /* Unsupported */),
@@ -2323,13 +2323,13 @@ const updateMlConfiguredModel_ConfigPropertyMetadata = [
2323
2323
  generateParamConfigMetadata('parameterOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
2324
2324
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2325
2325
  ];
2326
- const updateMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, updateMlConfiguredModel_ConfigPropertyMetadata);
2327
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(updateMlConfiguredModel_ConfigPropertyMetadata);
2328
- function typeCheckConfig$6(untrustedConfig) {
2326
+ const updateMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, updateMlConfiguredModel_ConfigPropertyMetadata);
2327
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$d(updateMlConfiguredModel_ConfigPropertyMetadata);
2328
+ function typeCheckConfig$7(untrustedConfig) {
2329
2329
  const config = {};
2330
- typeCheckConfig$c(untrustedConfig, config, updateMlConfiguredModel_ConfigPropertyMetadata);
2330
+ typeCheckConfig$d(untrustedConfig, config, updateMlConfiguredModel_ConfigPropertyMetadata);
2331
2331
  const untrustedConfig_artifact = untrustedConfig.artifact;
2332
- const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
2332
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$p(untrustedConfig_artifact);
2333
2333
  if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
2334
2334
  config.artifact = untrustedConfig_artifact;
2335
2335
  }
@@ -2338,7 +2338,7 @@ function typeCheckConfig$6(untrustedConfig) {
2338
2338
  const untrustedConfig_parameterOverrides_array = [];
2339
2339
  for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
2340
2340
  const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
2341
- const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
2341
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$o(untrustedConfig_parameterOverrides_item);
2342
2342
  if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
2343
2343
  untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
2344
2344
  }
@@ -2347,30 +2347,30 @@ function typeCheckConfig$6(untrustedConfig) {
2347
2347
  }
2348
2348
  return config;
2349
2349
  }
2350
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
2350
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
2351
2351
  if (!untrustedIsObject(untrustedConfig)) {
2352
2352
  return null;
2353
2353
  }
2354
2354
  if (process.env.NODE_ENV !== 'production') {
2355
2355
  validateConfig(untrustedConfig, configPropertyNames);
2356
2356
  }
2357
- const config = typeCheckConfig$6(untrustedConfig);
2357
+ const config = typeCheckConfig$7(untrustedConfig);
2358
2358
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2359
2359
  return null;
2360
2360
  }
2361
2361
  return config;
2362
2362
  }
2363
- function buildNetworkSnapshot$6(luvio, config, options) {
2364
- const resourceParams = createResourceParams$6(config);
2365
- const request = createResourceRequest$6(resourceParams);
2363
+ function buildNetworkSnapshot$7(luvio, config, options) {
2364
+ const resourceParams = createResourceParams$7(config);
2365
+ const request = createResourceRequest$7(resourceParams);
2366
2366
  return luvio.dispatchResourceRequest(request, options)
2367
2367
  .then((response) => {
2368
2368
  return luvio.handleSuccessResponse(() => {
2369
- const snapshot = ingestSuccess$6(luvio, resourceParams, response);
2369
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response);
2370
2370
  return luvio.storeBroadcast().then(() => snapshot);
2371
2371
  }, () => {
2372
2372
  const cache = new StoreKeyMap();
2373
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
2373
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
2374
2374
  return cache;
2375
2375
  });
2376
2376
  }, (response) => {
@@ -2380,16 +2380,16 @@ function buildNetworkSnapshot$6(luvio, config, options) {
2380
2380
  }
2381
2381
  const updateMlConfiguredModelAdapterFactory = (luvio) => {
2382
2382
  return function updateMlConfiguredModel(untrustedConfig) {
2383
- const config = validateAdapterConfig$6(untrustedConfig, updateMlConfiguredModel_ConfigPropertyNames);
2383
+ const config = validateAdapterConfig$7(untrustedConfig, updateMlConfiguredModel_ConfigPropertyNames);
2384
2384
  // Invalid or incomplete config
2385
2385
  if (config === null) {
2386
2386
  throw new Error('Invalid config for "updateMlConfiguredModel"');
2387
2387
  }
2388
- return buildNetworkSnapshot$6(luvio, config);
2388
+ return buildNetworkSnapshot$7(luvio, config);
2389
2389
  };
2390
2390
  };
2391
2391
 
2392
- function validate$i(obj, path = 'CdpMlModelTypeRepresentation') {
2392
+ function validate$n(obj, path = 'CdpMlModelTypeRepresentation') {
2393
2393
  const v_error = (() => {
2394
2394
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2395
2395
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2482,7 +2482,7 @@ function validate$i(obj, path = 'CdpMlModelTypeRepresentation') {
2482
2482
  return v_error === undefined ? null : v_error;
2483
2483
  }
2484
2484
 
2485
- function validate$h(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
2485
+ function validate$m(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
2486
2486
  const v_error = (() => {
2487
2487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2488
2488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2495,7 +2495,7 @@ function validate$h(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
2495
2495
  for (let i = 0; i < obj_fields.length; i++) {
2496
2496
  const obj_fields_item = obj_fields[i];
2497
2497
  const path_fields_item = path_fields + '[' + i + ']';
2498
- const referencepath_fields_itemValidationError = validate$r(obj_fields_item, path_fields_item);
2498
+ const referencepath_fields_itemValidationError = validate$w(obj_fields_item, path_fields_item);
2499
2499
  if (referencepath_fields_itemValidationError !== null) {
2500
2500
  let message = 'Object doesn\'t match CdpMlModelOutputFieldRepresentation (at "' + path_fields_item + '")\n';
2501
2501
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2511,7 +2511,7 @@ function validate$h(obj, path = 'CdpMlModelOutcomeDefinitionRepresentation') {
2511
2511
  return v_error === undefined ? null : v_error;
2512
2512
  }
2513
2513
 
2514
- function validate$g(obj, path = 'CdpMlModelRefreshRecipientRepresentation') {
2514
+ function validate$l(obj, path = 'CdpMlModelRefreshRecipientRepresentation') {
2515
2515
  const v_error = (() => {
2516
2516
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2517
2517
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2535,7 +2535,7 @@ function validate$g(obj, path = 'CdpMlModelRefreshRecipientRepresentation') {
2535
2535
  return v_error === undefined ? null : v_error;
2536
2536
  }
2537
2537
 
2538
- function validate$f(obj, path = 'CdpTimeZoneRepresentation') {
2538
+ function validate$k(obj, path = 'CdpTimeZoneRepresentation') {
2539
2539
  const v_error = (() => {
2540
2540
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2541
2541
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2555,7 +2555,7 @@ function validate$f(obj, path = 'CdpTimeZoneRepresentation') {
2555
2555
  return v_error === undefined ? null : v_error;
2556
2556
  }
2557
2557
 
2558
- function validate$e(obj, path = 'CdpTimeRepresentation') {
2558
+ function validate$j(obj, path = 'CdpTimeRepresentation') {
2559
2559
  const v_error = (() => {
2560
2560
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2561
2561
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2572,7 +2572,7 @@ function validate$e(obj, path = 'CdpTimeRepresentation') {
2572
2572
  }
2573
2573
  const obj_timezone = obj.timezone;
2574
2574
  const path_timezone = path + '.timezone';
2575
- const referencepath_timezoneValidationError = validate$f(obj_timezone, path_timezone);
2575
+ const referencepath_timezoneValidationError = validate$k(obj_timezone, path_timezone);
2576
2576
  if (referencepath_timezoneValidationError !== null) {
2577
2577
  let message = 'Object doesn\'t match CdpTimeZoneRepresentation (at "' + path_timezone + '")\n';
2578
2578
  message += referencepath_timezoneValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2582,7 +2582,7 @@ function validate$e(obj, path = 'CdpTimeRepresentation') {
2582
2582
  return v_error === undefined ? null : v_error;
2583
2583
  }
2584
2584
 
2585
- function validate$d(obj, path = 'CdpScheduleRepresentation') {
2585
+ function validate$i(obj, path = 'CdpScheduleRepresentation') {
2586
2586
  const v_error = (() => {
2587
2587
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2588
2588
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2599,7 +2599,7 @@ function validate$d(obj, path = 'CdpScheduleRepresentation') {
2599
2599
  }
2600
2600
  const obj_time = obj.time;
2601
2601
  const path_time = path + '.time';
2602
- const referencepath_timeValidationError = validate$e(obj_time, path_time);
2602
+ const referencepath_timeValidationError = validate$j(obj_time, path_time);
2603
2603
  if (referencepath_timeValidationError !== null) {
2604
2604
  let message = 'Object doesn\'t match CdpTimeRepresentation (at "' + path_time + '")\n';
2605
2605
  message += referencepath_timeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2609,7 +2609,7 @@ function validate$d(obj, path = 'CdpScheduleRepresentation') {
2609
2609
  return v_error === undefined ? null : v_error;
2610
2610
  }
2611
2611
 
2612
- function validate$c(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
2612
+ function validate$h(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
2613
2613
  const v_error = (() => {
2614
2614
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2615
2615
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2627,7 +2627,7 @@ function validate$c(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
2627
2627
  for (let i = 0; i < obj_recipients.length; i++) {
2628
2628
  const obj_recipients_item = obj_recipients[i];
2629
2629
  const path_recipients_item = path_recipients + '[' + i + ']';
2630
- const referencepath_recipients_itemValidationError = validate$g(obj_recipients_item, path_recipients_item);
2630
+ const referencepath_recipients_itemValidationError = validate$l(obj_recipients_item, path_recipients_item);
2631
2631
  if (referencepath_recipients_itemValidationError !== null) {
2632
2632
  let message = 'Object doesn\'t match CdpMlModelRefreshRecipientRepresentation (at "' + path_recipients_item + '")\n';
2633
2633
  message += referencepath_recipients_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2636,7 +2636,7 @@ function validate$c(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
2636
2636
  }
2637
2637
  const obj_schedule = obj.schedule;
2638
2638
  const path_schedule = path + '.schedule';
2639
- const referencepath_scheduleValidationError = validate$d(obj_schedule, path_schedule);
2639
+ const referencepath_scheduleValidationError = validate$i(obj_schedule, path_schedule);
2640
2640
  if (referencepath_scheduleValidationError !== null) {
2641
2641
  let message = 'Object doesn\'t match CdpScheduleRepresentation (at "' + path_schedule + '")\n';
2642
2642
  message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2646,7 +2646,7 @@ function validate$c(obj, path = 'CdpMlModelRefreshConfigRepresentation') {
2646
2646
  return v_error === undefined ? null : v_error;
2647
2647
  }
2648
2648
 
2649
- function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2649
+ function validate$g(obj, path = 'CdpMlWorkspaceRepresentation') {
2650
2650
  const v_error = (() => {
2651
2651
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2652
2652
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2654,7 +2654,7 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2654
2654
  if (obj.activeSetup !== undefined) {
2655
2655
  const obj_activeSetup = obj.activeSetup;
2656
2656
  const path_activeSetup = path + '.activeSetup';
2657
- const referencepath_activeSetupValidationError = validate$t(obj_activeSetup, path_activeSetup);
2657
+ const referencepath_activeSetupValidationError = validate$y(obj_activeSetup, path_activeSetup);
2658
2658
  if (referencepath_activeSetupValidationError !== null) {
2659
2659
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
2660
2660
  message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2692,7 +2692,7 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2692
2692
  if (obj.createdBy !== undefined) {
2693
2693
  const obj_createdBy = obj.createdBy;
2694
2694
  const path_createdBy = path + '.createdBy';
2695
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
2695
+ const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
2696
2696
  if (referencepath_createdByValidationError !== null) {
2697
2697
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
2698
2698
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2821,7 +2821,7 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2821
2821
  if (obj.lastModifiedBy !== undefined) {
2822
2822
  const obj_lastModifiedBy = obj.lastModifiedBy;
2823
2823
  const path_lastModifiedBy = path + '.lastModifiedBy';
2824
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
2824
+ const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
2825
2825
  if (referencepath_lastModifiedByValidationError !== null) {
2826
2826
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
2827
2827
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2859,7 +2859,7 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2859
2859
  if (obj.latestSetup !== undefined) {
2860
2860
  const obj_latestSetup = obj.latestSetup;
2861
2861
  const path_latestSetup = path + '.latestSetup';
2862
- const referencepath_latestSetupValidationError = validate$t(obj_latestSetup, path_latestSetup);
2862
+ const referencepath_latestSetupValidationError = validate$y(obj_latestSetup, path_latestSetup);
2863
2863
  if (referencepath_latestSetupValidationError !== null) {
2864
2864
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
2865
2865
  message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2873,7 +2873,7 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2873
2873
  }
2874
2874
  const obj_modelType = obj.modelType;
2875
2875
  const path_modelType = path + '.modelType';
2876
- const referencepath_modelTypeValidationError = validate$i(obj_modelType, path_modelType);
2876
+ const referencepath_modelTypeValidationError = validate$n(obj_modelType, path_modelType);
2877
2877
  if (referencepath_modelTypeValidationError !== null) {
2878
2878
  let message = 'Object doesn\'t match CdpMlModelTypeRepresentation (at "' + path_modelType + '")\n';
2879
2879
  message += referencepath_modelTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2920,7 +2920,7 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2920
2920
  if (obj.outcomeDefinition !== undefined) {
2921
2921
  const obj_outcomeDefinition = obj.outcomeDefinition;
2922
2922
  const path_outcomeDefinition = path + '.outcomeDefinition';
2923
- const referencepath_outcomeDefinitionValidationError = validate$h(obj_outcomeDefinition, path_outcomeDefinition);
2923
+ const referencepath_outcomeDefinitionValidationError = validate$m(obj_outcomeDefinition, path_outcomeDefinition);
2924
2924
  if (referencepath_outcomeDefinitionValidationError !== null) {
2925
2925
  let message = 'Object doesn\'t match CdpMlModelOutcomeDefinitionRepresentation (at "' + path_outcomeDefinition + '")\n';
2926
2926
  message += referencepath_outcomeDefinitionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2958,7 +2958,7 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
2958
2958
  if (obj.refreshConfig !== undefined) {
2959
2959
  const obj_refreshConfig = obj.refreshConfig;
2960
2960
  const path_refreshConfig = path + '.refreshConfig';
2961
- const referencepath_refreshConfigValidationError = validate$c(obj_refreshConfig, path_refreshConfig);
2961
+ const referencepath_refreshConfigValidationError = validate$h(obj_refreshConfig, path_refreshConfig);
2962
2962
  if (referencepath_refreshConfigValidationError !== null) {
2963
2963
  let message = 'Object doesn\'t match CdpMlModelRefreshConfigRepresentation (at "' + path_refreshConfig + '")\n';
2964
2964
  message += referencepath_refreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3063,9 +3063,9 @@ function validate$b(obj, path = 'CdpMlWorkspaceRepresentation') {
3063
3063
  return v_error === undefined ? null : v_error;
3064
3064
  }
3065
3065
 
3066
- const TTL$3 = 1000;
3067
- const VERSION$3 = "e6a8612718f37385e9d7622527f26c5c";
3068
- function validate$a(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
3066
+ const TTL$4 = 1000;
3067
+ const VERSION$4 = "e6a8612718f37385e9d7622527f26c5c";
3068
+ function validate$f(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
3069
3069
  const v_error = (() => {
3070
3070
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3071
3071
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3139,7 +3139,7 @@ function validate$a(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
3139
3139
  for (let i = 0; i < obj_workspaces.length; i++) {
3140
3140
  const obj_workspaces_item = obj_workspaces[i];
3141
3141
  const path_workspaces_item = path_workspaces + '[' + i + ']';
3142
- const referencepath_workspaces_itemValidationError = validate$b(obj_workspaces_item, path_workspaces_item);
3142
+ const referencepath_workspaces_itemValidationError = validate$g(obj_workspaces_item, path_workspaces_item);
3143
3143
  if (referencepath_workspaces_itemValidationError !== null) {
3144
3144
  let message = 'Object doesn\'t match CdpMlWorkspaceRepresentation (at "' + path_workspaces_item + '")\n';
3145
3145
  message += referencepath_workspaces_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3149,62 +3149,62 @@ function validate$a(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
3149
3149
  })();
3150
3150
  return v_error === undefined ? null : v_error;
3151
3151
  }
3152
- const RepresentationType$3 = 'CdpMlWorkspaceCollectionRepresentation';
3153
- function normalize$3(input, existing, path, luvio, store, timestamp) {
3152
+ const RepresentationType$4 = 'CdpMlWorkspaceCollectionRepresentation';
3153
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
3154
3154
  return input;
3155
3155
  }
3156
- const select$9 = function CdpMlWorkspaceCollectionRepresentationSelect() {
3156
+ const select$b = function CdpMlWorkspaceCollectionRepresentationSelect() {
3157
3157
  return {
3158
3158
  kind: 'Fragment',
3159
- version: VERSION$3,
3159
+ version: VERSION$4,
3160
3160
  private: [],
3161
3161
  opaque: true
3162
3162
  };
3163
3163
  };
3164
- function equals$3(existing, incoming) {
3164
+ function equals$4(existing, incoming) {
3165
3165
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
3166
3166
  return false;
3167
3167
  }
3168
3168
  return true;
3169
3169
  }
3170
- const ingest$3 = function CdpMlWorkspaceCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3170
+ const ingest$4 = function CdpMlWorkspaceCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3171
3171
  if (process.env.NODE_ENV !== 'production') {
3172
- const validateError = validate$a(input);
3172
+ const validateError = validate$f(input);
3173
3173
  if (validateError !== null) {
3174
3174
  throw validateError;
3175
3175
  }
3176
3176
  }
3177
3177
  const key = path.fullPath;
3178
- const ttlToUse = TTL$3;
3179
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "cdp-machine-learning", VERSION$3, RepresentationType$3, equals$3);
3178
+ const ttlToUse = TTL$4;
3179
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "cdp-machine-learning", VERSION$4, RepresentationType$4, equals$4);
3180
3180
  return createLink(key);
3181
3181
  };
3182
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
3182
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
3183
3183
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3184
3184
  const rootKey = fullPathFactory();
3185
3185
  rootKeySet.set(rootKey, {
3186
3186
  namespace: keyPrefix,
3187
- representationName: RepresentationType$3,
3187
+ representationName: RepresentationType$4,
3188
3188
  mergeable: false
3189
3189
  });
3190
3190
  }
3191
3191
 
3192
- function select$8(luvio, params) {
3193
- return select$9();
3192
+ function select$a(luvio, params) {
3193
+ return select$b();
3194
3194
  }
3195
- function keyBuilder$7(luvio, params) {
3195
+ function keyBuilder$8(luvio, params) {
3196
3196
  return keyPrefix + '::CdpMlWorkspaceCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'modelType:' + params.queryParams.modelType + ',' + 'offset:' + params.queryParams.offset + ',' + 'predictionType:' + params.queryParams.predictionType + ',' + 'search:' + params.queryParams.search + ',' + 'sourceType:' + params.queryParams.sourceType + ',' + 'status:' + params.queryParams.status + ')';
3197
3197
  }
3198
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
3199
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
3198
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
3199
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
3200
3200
  }
3201
- function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
3201
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
3202
3202
  const { body } = response;
3203
- const key = keyBuilder$7(luvio, resourceParams);
3204
- luvio.storeIngest(key, ingest$3, body);
3203
+ const key = keyBuilder$8(luvio, resourceParams);
3204
+ luvio.storeIngest(key, ingest$4, body);
3205
3205
  const snapshot = luvio.storeLookup({
3206
3206
  recordId: key,
3207
- node: select$8(),
3207
+ node: select$a(),
3208
3208
  variables: {},
3209
3209
  }, snapshotRefresh);
3210
3210
  if (process.env.NODE_ENV !== 'production') {
@@ -3216,21 +3216,21 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
3216
3216
  return snapshot;
3217
3217
  }
3218
3218
  function ingestError$3(luvio, params, error, snapshotRefresh) {
3219
- const key = keyBuilder$7(luvio, params);
3219
+ const key = keyBuilder$8(luvio, params);
3220
3220
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3221
3221
  const storeMetadataParams = {
3222
- ttl: TTL$3,
3222
+ ttl: TTL$4,
3223
3223
  namespace: keyPrefix,
3224
- version: VERSION$3,
3225
- representationName: RepresentationType$3
3224
+ version: VERSION$4,
3225
+ representationName: RepresentationType$4
3226
3226
  };
3227
3227
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
3228
3228
  return errorSnapshot;
3229
3229
  }
3230
- function createResourceRequest$5(config) {
3230
+ function createResourceRequest$6(config) {
3231
3231
  const headers = {};
3232
3232
  return {
3233
- baseUri: '/services/data/v62.0',
3233
+ baseUri: '/services/data/v63.0',
3234
3234
  basePath: '/ssot/machine-learning/workspaces',
3235
3235
  method: 'get',
3236
3236
  body: null,
@@ -3241,7 +3241,7 @@ function createResourceRequest$5(config) {
3241
3241
  };
3242
3242
  }
3243
3243
 
3244
- const adapterName$5 = 'getCdpMlWorkspaceCollection';
3244
+ const adapterName$6 = 'getCdpMlWorkspaceCollection';
3245
3245
  const getCdpMlWorkspaceCollection_ConfigPropertyMetadata = [
3246
3246
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
3247
3247
  generateParamConfigMetadata('modelType', false, 1 /* QueryParameter */, 0 /* String */),
@@ -3251,56 +3251,56 @@ const getCdpMlWorkspaceCollection_ConfigPropertyMetadata = [
3251
3251
  generateParamConfigMetadata('sourceType', false, 1 /* QueryParameter */, 0 /* String */),
3252
3252
  generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
3253
3253
  ];
3254
- const getCdpMlWorkspaceCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3255
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$c(getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3256
- function keyBuilder$6(luvio, config) {
3257
- const resourceParams = createResourceParams$5(config);
3258
- return keyBuilder$7(luvio, resourceParams);
3254
+ const getCdpMlWorkspaceCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3255
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$d(getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3256
+ function keyBuilder$7(luvio, config) {
3257
+ const resourceParams = createResourceParams$6(config);
3258
+ return keyBuilder$8(luvio, resourceParams);
3259
3259
  }
3260
- function typeCheckConfig$5(untrustedConfig) {
3260
+ function typeCheckConfig$6(untrustedConfig) {
3261
3261
  const config = {};
3262
- typeCheckConfig$c(untrustedConfig, config, getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3262
+ typeCheckConfig$d(untrustedConfig, config, getCdpMlWorkspaceCollection_ConfigPropertyMetadata);
3263
3263
  return config;
3264
3264
  }
3265
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
3265
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
3266
3266
  if (!untrustedIsObject(untrustedConfig)) {
3267
3267
  return null;
3268
3268
  }
3269
3269
  if (process.env.NODE_ENV !== 'production') {
3270
3270
  validateConfig(untrustedConfig, configPropertyNames);
3271
3271
  }
3272
- const config = typeCheckConfig$5(untrustedConfig);
3272
+ const config = typeCheckConfig$6(untrustedConfig);
3273
3273
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3274
3274
  return null;
3275
3275
  }
3276
3276
  return config;
3277
3277
  }
3278
3278
  function adapterFragment$3(luvio, config) {
3279
- createResourceParams$5(config);
3280
- return select$8();
3279
+ createResourceParams$6(config);
3280
+ return select$a();
3281
3281
  }
3282
3282
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
3283
- const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
3283
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
3284
3284
  config,
3285
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
3285
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
3286
3286
  });
3287
3287
  return luvio.storeBroadcast().then(() => snapshot);
3288
3288
  }
3289
3289
  function onFetchResponseError$3(luvio, config, resourceParams, response) {
3290
3290
  const snapshot = ingestError$3(luvio, resourceParams, response, {
3291
3291
  config,
3292
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
3292
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
3293
3293
  });
3294
3294
  return luvio.storeBroadcast().then(() => snapshot);
3295
3295
  }
3296
- function buildNetworkSnapshot$5(luvio, config, options) {
3297
- const resourceParams = createResourceParams$5(config);
3298
- const request = createResourceRequest$5(resourceParams);
3296
+ function buildNetworkSnapshot$6(luvio, config, options) {
3297
+ const resourceParams = createResourceParams$6(config);
3298
+ const request = createResourceRequest$6(resourceParams);
3299
3299
  return luvio.dispatchResourceRequest(request, options)
3300
3300
  .then((response) => {
3301
3301
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
3302
3302
  const cache = new StoreKeyMap();
3303
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
3303
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
3304
3304
  return cache;
3305
3305
  });
3306
3306
  }, (response) => {
@@ -3308,23 +3308,23 @@ function buildNetworkSnapshot$5(luvio, config, options) {
3308
3308
  });
3309
3309
  }
3310
3310
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
3311
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
3311
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
3312
3312
  }
3313
3313
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
3314
3314
  const { luvio, config } = context;
3315
3315
  const selector = {
3316
- recordId: keyBuilder$6(luvio, config),
3316
+ recordId: keyBuilder$7(luvio, config),
3317
3317
  node: adapterFragment$3(luvio, config),
3318
3318
  variables: {},
3319
3319
  };
3320
3320
  const cacheSnapshot = storeLookup(selector, {
3321
3321
  config,
3322
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
3322
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
3323
3323
  });
3324
3324
  return cacheSnapshot;
3325
3325
  }
3326
3326
  const getCdpMlWorkspaceCollectionAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlWorkspaceCollection(untrustedConfig, requestContext) {
3327
- const config = validateAdapterConfig$5(untrustedConfig, getCdpMlWorkspaceCollection_ConfigPropertyNames);
3327
+ const config = validateAdapterConfig$6(untrustedConfig, getCdpMlWorkspaceCollection_ConfigPropertyNames);
3328
3328
  // Invalid or incomplete config
3329
3329
  if (config === null) {
3330
3330
  return null;
@@ -3334,16 +3334,16 @@ const getCdpMlWorkspaceCollectionAdapterFactory = (luvio) => function cdpMachine
3334
3334
  };
3335
3335
 
3336
3336
  // Should match with keyBuilder
3337
- function keyBuilderFromType$1(luvio, object) {
3337
+ function keyBuilderFromType$2(luvio, object) {
3338
3338
  const type = object.url.indexOf(object.name) > -1 ? 'name' : 'id';
3339
3339
  const urlArray = object.url.split('/');
3340
3340
  const idOrName = urlArray[urlArray.length - 1];
3341
- return `${keyPrefix}::${RepresentationType$2}:(id:${idOrName},type:${type})`;
3341
+ return `${keyPrefix}::${RepresentationType$3}:(id:${idOrName},type:${type})`;
3342
3342
  }
3343
3343
 
3344
- const TTL$2 = 1000;
3345
- const VERSION$2 = "1cb47dd9b0cc811f1ad3318c7245d465";
3346
- function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3344
+ const TTL$3 = 1000;
3345
+ const VERSION$3 = "1cb47dd9b0cc811f1ad3318c7245d465";
3346
+ function validate$e(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3347
3347
  const v_error = (() => {
3348
3348
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3349
3349
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3363,7 +3363,7 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3363
3363
  if (obj.activeSetup !== undefined) {
3364
3364
  const obj_activeSetup = obj.activeSetup;
3365
3365
  const path_activeSetup = path + '.activeSetup';
3366
- const referencepath_activeSetupValidationError = validate$t(obj_activeSetup, path_activeSetup);
3366
+ const referencepath_activeSetupValidationError = validate$y(obj_activeSetup, path_activeSetup);
3367
3367
  if (referencepath_activeSetupValidationError !== null) {
3368
3368
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_activeSetup + '")\n';
3369
3369
  message += referencepath_activeSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3401,7 +3401,7 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3401
3401
  if (obj.createdBy !== undefined) {
3402
3402
  const obj_createdBy = obj.createdBy;
3403
3403
  const path_createdBy = path + '.createdBy';
3404
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
3404
+ const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
3405
3405
  if (referencepath_createdByValidationError !== null) {
3406
3406
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
3407
3407
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3530,7 +3530,7 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3530
3530
  if (obj.lastModifiedBy !== undefined) {
3531
3531
  const obj_lastModifiedBy = obj.lastModifiedBy;
3532
3532
  const path_lastModifiedBy = path + '.lastModifiedBy';
3533
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
3533
+ const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
3534
3534
  if (referencepath_lastModifiedByValidationError !== null) {
3535
3535
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
3536
3536
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3568,7 +3568,7 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3568
3568
  if (obj.latestSetup !== undefined) {
3569
3569
  const obj_latestSetup = obj.latestSetup;
3570
3570
  const path_latestSetup = path + '.latestSetup';
3571
- const referencepath_latestSetupValidationError = validate$t(obj_latestSetup, path_latestSetup);
3571
+ const referencepath_latestSetupValidationError = validate$y(obj_latestSetup, path_latestSetup);
3572
3572
  if (referencepath_latestSetupValidationError !== null) {
3573
3573
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_latestSetup + '")\n';
3574
3574
  message += referencepath_latestSetupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3583,7 +3583,7 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3583
3583
  if (obj.modelType !== undefined) {
3584
3584
  const obj_modelType = obj.modelType;
3585
3585
  const path_modelType = path + '.modelType';
3586
- const referencepath_modelTypeValidationError = validate$i(obj_modelType, path_modelType);
3586
+ const referencepath_modelTypeValidationError = validate$n(obj_modelType, path_modelType);
3587
3587
  if (referencepath_modelTypeValidationError !== null) {
3588
3588
  let message = 'Object doesn\'t match CdpMlModelTypeRepresentation (at "' + path_modelType + '")\n';
3589
3589
  message += referencepath_modelTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3654,7 +3654,7 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3654
3654
  if (obj.outcomeDefinition !== undefined) {
3655
3655
  const obj_outcomeDefinition = obj.outcomeDefinition;
3656
3656
  const path_outcomeDefinition = path + '.outcomeDefinition';
3657
- const referencepath_outcomeDefinitionValidationError = validate$h(obj_outcomeDefinition, path_outcomeDefinition);
3657
+ const referencepath_outcomeDefinitionValidationError = validate$m(obj_outcomeDefinition, path_outcomeDefinition);
3658
3658
  if (referencepath_outcomeDefinitionValidationError !== null) {
3659
3659
  let message = 'Object doesn\'t match CdpMlModelOutcomeDefinitionRepresentation (at "' + path_outcomeDefinition + '")\n';
3660
3660
  message += referencepath_outcomeDefinitionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3692,7 +3692,7 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3692
3692
  if (obj.refreshConfig !== undefined) {
3693
3693
  const obj_refreshConfig = obj.refreshConfig;
3694
3694
  const path_refreshConfig = path + '.refreshConfig';
3695
- const referencepath_refreshConfigValidationError = validate$c(obj_refreshConfig, path_refreshConfig);
3695
+ const referencepath_refreshConfigValidationError = validate$h(obj_refreshConfig, path_refreshConfig);
3696
3696
  if (referencepath_refreshConfigValidationError !== null) {
3697
3697
  let message = 'Object doesn\'t match CdpMlModelRefreshConfigRepresentation (at "' + path_refreshConfig + '")\n';
3698
3698
  message += referencepath_refreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3796,65 +3796,65 @@ function validate$9(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
3796
3796
  })();
3797
3797
  return v_error === undefined ? null : v_error;
3798
3798
  }
3799
- const RepresentationType$2 = 'CdpMlWorkspaceDetailRepresentation';
3800
- function normalize$2(input, existing, path, luvio, store, timestamp) {
3799
+ const RepresentationType$3 = 'CdpMlWorkspaceDetailRepresentation';
3800
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
3801
3801
  return input;
3802
3802
  }
3803
- const select$7 = function CdpMlWorkspaceDetailRepresentationSelect() {
3803
+ const select$9 = function CdpMlWorkspaceDetailRepresentationSelect() {
3804
3804
  return {
3805
3805
  kind: 'Fragment',
3806
- version: VERSION$2,
3806
+ version: VERSION$3,
3807
3807
  private: [],
3808
3808
  opaque: true
3809
3809
  };
3810
3810
  };
3811
- function equals$2(existing, incoming) {
3811
+ function equals$3(existing, incoming) {
3812
3812
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
3813
3813
  return false;
3814
3814
  }
3815
3815
  return true;
3816
3816
  }
3817
- const ingest$2 = function CdpMlWorkspaceDetailRepresentationIngest(input, path, luvio, store, timestamp) {
3817
+ const ingest$3 = function CdpMlWorkspaceDetailRepresentationIngest(input, path, luvio, store, timestamp) {
3818
3818
  if (process.env.NODE_ENV !== 'production') {
3819
- const validateError = validate$9(input);
3819
+ const validateError = validate$e(input);
3820
3820
  if (validateError !== null) {
3821
3821
  throw validateError;
3822
3822
  }
3823
3823
  }
3824
- const key = keyBuilderFromType$1(luvio, input);
3825
- const ttlToUse = TTL$2;
3826
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "cdp-machine-learning", VERSION$2, RepresentationType$2, equals$2);
3824
+ const key = keyBuilderFromType$2(luvio, input);
3825
+ const ttlToUse = TTL$3;
3826
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "cdp-machine-learning", VERSION$3, RepresentationType$3, equals$3);
3827
3827
  return createLink(key);
3828
3828
  };
3829
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
3829
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
3830
3830
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3831
- const rootKey = keyBuilderFromType$1(luvio, input);
3831
+ const rootKey = keyBuilderFromType$2(luvio, input);
3832
3832
  rootKeySet.set(rootKey, {
3833
3833
  namespace: keyPrefix,
3834
- representationName: RepresentationType$2,
3834
+ representationName: RepresentationType$3,
3835
3835
  mergeable: false
3836
3836
  });
3837
3837
  }
3838
3838
 
3839
- function keyBuilder$5(luvio, params) {
3839
+ function keyBuilder$6(luvio, params) {
3840
3840
  const idOrName = params.urlParams.workspaceIdOrName;
3841
3841
  const type = IsWorkspaceId(idOrName) ? 'id' : 'name';
3842
- return `${keyPrefix}::${RepresentationType$2}:(id:${params.urlParams.workspaceIdOrName},type:${type})`;
3842
+ return `${keyPrefix}::${RepresentationType$3}:(id:${params.urlParams.workspaceIdOrName},type:${type})`;
3843
3843
  }
3844
3844
 
3845
- function select$6(luvio, params) {
3846
- return select$7();
3845
+ function select$8(luvio, params) {
3846
+ return select$9();
3847
3847
  }
3848
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
3849
- getTypeCacheKeys$2(storeKeyMap, luvio, response);
3848
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
3849
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
3850
3850
  }
3851
- function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
3851
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
3852
3852
  const { body } = response;
3853
- const key = keyBuilder$5(luvio, resourceParams);
3854
- luvio.storeIngest(key, ingest$2, body);
3853
+ const key = keyBuilder$6(luvio, resourceParams);
3854
+ luvio.storeIngest(key, ingest$3, body);
3855
3855
  const snapshot = luvio.storeLookup({
3856
3856
  recordId: key,
3857
- node: select$6(),
3857
+ node: select$8(),
3858
3858
  variables: {},
3859
3859
  }, snapshotRefresh);
3860
3860
  if (process.env.NODE_ENV !== 'production') {
@@ -3866,21 +3866,21 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
3866
3866
  return snapshot;
3867
3867
  }
3868
3868
  function ingestError$2(luvio, params, error, snapshotRefresh) {
3869
- const key = keyBuilder$5(luvio, params);
3869
+ const key = keyBuilder$6(luvio, params);
3870
3870
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3871
3871
  const storeMetadataParams = {
3872
- ttl: TTL$2,
3872
+ ttl: TTL$3,
3873
3873
  namespace: keyPrefix,
3874
- version: VERSION$2,
3875
- representationName: RepresentationType$2
3874
+ version: VERSION$3,
3875
+ representationName: RepresentationType$3
3876
3876
  };
3877
3877
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
3878
3878
  return errorSnapshot;
3879
3879
  }
3880
- function createResourceRequest$4(config) {
3880
+ function createResourceRequest$5(config) {
3881
3881
  const headers = {};
3882
3882
  return {
3883
- baseUri: '/services/data/v62.0',
3883
+ baseUri: '/services/data/v63.0',
3884
3884
  basePath: '/ssot/machine-learning/workspaces/' + config.urlParams.workspaceIdOrName + '',
3885
3885
  method: 'get',
3886
3886
  body: null,
@@ -3891,60 +3891,60 @@ function createResourceRequest$4(config) {
3891
3891
  };
3892
3892
  }
3893
3893
 
3894
- const adapterName$4 = 'getCdpMlWorkspace';
3894
+ const adapterName$5 = 'getCdpMlWorkspace';
3895
3895
  const getCdpMlWorkspace_ConfigPropertyMetadata = [
3896
3896
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
3897
3897
  ];
3898
- const getCdpMlWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getCdpMlWorkspace_ConfigPropertyMetadata);
3899
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(getCdpMlWorkspace_ConfigPropertyMetadata);
3900
- function keyBuilder$4(luvio, config) {
3901
- const resourceParams = createResourceParams$4(config);
3902
- return keyBuilder$5(luvio, resourceParams);
3898
+ const getCdpMlWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getCdpMlWorkspace_ConfigPropertyMetadata);
3899
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$d(getCdpMlWorkspace_ConfigPropertyMetadata);
3900
+ function keyBuilder$5(luvio, config) {
3901
+ const resourceParams = createResourceParams$5(config);
3902
+ return keyBuilder$6(luvio, resourceParams);
3903
3903
  }
3904
- function typeCheckConfig$4(untrustedConfig) {
3904
+ function typeCheckConfig$5(untrustedConfig) {
3905
3905
  const config = {};
3906
- typeCheckConfig$c(untrustedConfig, config, getCdpMlWorkspace_ConfigPropertyMetadata);
3906
+ typeCheckConfig$d(untrustedConfig, config, getCdpMlWorkspace_ConfigPropertyMetadata);
3907
3907
  return config;
3908
3908
  }
3909
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
3909
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
3910
3910
  if (!untrustedIsObject(untrustedConfig)) {
3911
3911
  return null;
3912
3912
  }
3913
3913
  if (process.env.NODE_ENV !== 'production') {
3914
3914
  validateConfig(untrustedConfig, configPropertyNames);
3915
3915
  }
3916
- const config = typeCheckConfig$4(untrustedConfig);
3916
+ const config = typeCheckConfig$5(untrustedConfig);
3917
3917
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3918
3918
  return null;
3919
3919
  }
3920
3920
  return config;
3921
3921
  }
3922
3922
  function adapterFragment$2(luvio, config) {
3923
- createResourceParams$4(config);
3924
- return select$6();
3923
+ createResourceParams$5(config);
3924
+ return select$8();
3925
3925
  }
3926
3926
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
3927
- const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
3927
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
3928
3928
  config,
3929
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
3929
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
3930
3930
  });
3931
3931
  return luvio.storeBroadcast().then(() => snapshot);
3932
3932
  }
3933
3933
  function onFetchResponseError$2(luvio, config, resourceParams, response) {
3934
3934
  const snapshot = ingestError$2(luvio, resourceParams, response, {
3935
3935
  config,
3936
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
3936
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
3937
3937
  });
3938
3938
  return luvio.storeBroadcast().then(() => snapshot);
3939
3939
  }
3940
- function buildNetworkSnapshot$4(luvio, config, options) {
3941
- const resourceParams = createResourceParams$4(config);
3942
- const request = createResourceRequest$4(resourceParams);
3940
+ function buildNetworkSnapshot$5(luvio, config, options) {
3941
+ const resourceParams = createResourceParams$5(config);
3942
+ const request = createResourceRequest$5(resourceParams);
3943
3943
  return luvio.dispatchResourceRequest(request, options)
3944
3944
  .then((response) => {
3945
3945
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
3946
3946
  const cache = new StoreKeyMap();
3947
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
3947
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
3948
3948
  return cache;
3949
3949
  });
3950
3950
  }, (response) => {
@@ -3952,23 +3952,23 @@ function buildNetworkSnapshot$4(luvio, config, options) {
3952
3952
  });
3953
3953
  }
3954
3954
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
3955
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
3955
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
3956
3956
  }
3957
3957
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
3958
3958
  const { luvio, config } = context;
3959
3959
  const selector = {
3960
- recordId: keyBuilder$4(luvio, config),
3960
+ recordId: keyBuilder$5(luvio, config),
3961
3961
  node: adapterFragment$2(luvio, config),
3962
3962
  variables: {},
3963
3963
  };
3964
3964
  const cacheSnapshot = storeLookup(selector, {
3965
3965
  config,
3966
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
3966
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
3967
3967
  });
3968
3968
  return cacheSnapshot;
3969
3969
  }
3970
3970
  const getCdpMlWorkspaceAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlWorkspace(untrustedConfig, requestContext) {
3971
- const config = validateAdapterConfig$4(untrustedConfig, getCdpMlWorkspace_ConfigPropertyNames);
3971
+ const config = validateAdapterConfig$5(untrustedConfig, getCdpMlWorkspace_ConfigPropertyNames);
3972
3972
  // Invalid or incomplete config
3973
3973
  if (config === null) {
3974
3974
  return null;
@@ -3977,7 +3977,7 @@ const getCdpMlWorkspaceAdapterFactory = (luvio) => function cdpMachineLearning__
3977
3977
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
3978
3978
  };
3979
3979
 
3980
- function validate$8(obj, path = 'CdpMlFilterValueRepresentation') {
3980
+ function validate$d(obj, path = 'CdpMlFilterValueRepresentation') {
3981
3981
  const v_error = (() => {
3982
3982
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3983
3983
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3996,7 +3996,7 @@ function validate$8(obj, path = 'CdpMlFilterValueRepresentation') {
3996
3996
  return v_error === undefined ? null : v_error;
3997
3997
  }
3998
3998
 
3999
- function validate$7(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
3999
+ function validate$c(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
4000
4000
  const v_error = (() => {
4001
4001
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4002
4002
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4019,7 +4019,7 @@ function validate$7(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
4019
4019
  for (let i = 0; i < obj_values.length; i++) {
4020
4020
  const obj_values_item = obj_values[i];
4021
4021
  const path_values_item = path_values + '[' + i + ']';
4022
- const referencepath_values_itemValidationError = validate$8(obj_values_item, path_values_item);
4022
+ const referencepath_values_itemValidationError = validate$d(obj_values_item, path_values_item);
4023
4023
  if (referencepath_values_itemValidationError !== null) {
4024
4024
  let message = 'Object doesn\'t match CdpMlFilterValueRepresentation (at "' + path_values_item + '")\n';
4025
4025
  message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4030,7 +4030,7 @@ function validate$7(obj, path = 'CdpMlFilterCriterionBaseRepresentation') {
4030
4030
  return v_error === undefined ? null : v_error;
4031
4031
  }
4032
4032
 
4033
- function validate$6(obj, path = 'CdpMlFilterRepresentation') {
4033
+ function validate$b(obj, path = 'CdpMlFilterRepresentation') {
4034
4034
  const v_error = (() => {
4035
4035
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4036
4036
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4043,7 +4043,7 @@ function validate$6(obj, path = 'CdpMlFilterRepresentation') {
4043
4043
  for (let i = 0; i < obj_criteria.length; i++) {
4044
4044
  const obj_criteria_item = obj_criteria[i];
4045
4045
  const path_criteria_item = path_criteria + '[' + i + ']';
4046
- const referencepath_criteria_itemValidationError = validate$7(obj_criteria_item, path_criteria_item);
4046
+ const referencepath_criteria_itemValidationError = validate$c(obj_criteria_item, path_criteria_item);
4047
4047
  if (referencepath_criteria_itemValidationError !== null) {
4048
4048
  let message = 'Object doesn\'t match CdpMlFilterCriterionBaseRepresentation (at "' + path_criteria_item + '")\n';
4049
4049
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4054,14 +4054,14 @@ function validate$6(obj, path = 'CdpMlFilterRepresentation') {
4054
4054
  return v_error === undefined ? null : v_error;
4055
4055
  }
4056
4056
 
4057
- function validate$5(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation') {
4057
+ function validate$a(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation') {
4058
4058
  const v_error = (() => {
4059
4059
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4060
4060
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4061
4061
  }
4062
4062
  const obj_filter = obj.filter;
4063
4063
  const path_filter = path + '.filter';
4064
- const referencepath_filterValidationError = validate$6(obj_filter, path_filter);
4064
+ const referencepath_filterValidationError = validate$b(obj_filter, path_filter);
4065
4065
  if (referencepath_filterValidationError !== null) {
4066
4066
  let message = 'Object doesn\'t match CdpMlFilterRepresentation (at "' + path_filter + '")\n';
4067
4067
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4076,7 +4076,7 @@ function validate$5(obj, path = 'CdpMlCustomizableFieldDefinitionRepresentation'
4076
4076
  return v_error === undefined ? null : v_error;
4077
4077
  }
4078
4078
 
4079
- function validate$4(obj, path = 'CdpMlCustomizableFieldRepresentation') {
4079
+ function validate$9(obj, path = 'CdpMlCustomizableFieldRepresentation') {
4080
4080
  const v_error = (() => {
4081
4081
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4082
4082
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4089,7 +4089,7 @@ function validate$4(obj, path = 'CdpMlCustomizableFieldRepresentation') {
4089
4089
  for (let i = 0; i < obj_customDefinitions.length; i++) {
4090
4090
  const obj_customDefinitions_item = obj_customDefinitions[i];
4091
4091
  const path_customDefinitions_item = path_customDefinitions + '[' + i + ']';
4092
- const referencepath_customDefinitions_itemValidationError = validate$5(obj_customDefinitions_item, path_customDefinitions_item);
4092
+ const referencepath_customDefinitions_itemValidationError = validate$a(obj_customDefinitions_item, path_customDefinitions_item);
4093
4093
  if (referencepath_customDefinitions_itemValidationError !== null) {
4094
4094
  let message = 'Object doesn\'t match CdpMlCustomizableFieldDefinitionRepresentation (at "' + path_customDefinitions_item + '")\n';
4095
4095
  message += referencepath_customDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4098,7 +4098,7 @@ function validate$4(obj, path = 'CdpMlCustomizableFieldRepresentation') {
4098
4098
  }
4099
4099
  const obj_field = obj.field;
4100
4100
  const path_field = path + '.field';
4101
- const referencepath_fieldValidationError = validate$u(obj_field, path_field);
4101
+ const referencepath_fieldValidationError = validate$z(obj_field, path_field);
4102
4102
  if (referencepath_fieldValidationError !== null) {
4103
4103
  let message = 'Object doesn\'t match CdpMlModelInputFieldBaseRepresentation (at "' + path_field + '")\n';
4104
4104
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4114,16 +4114,16 @@ function validate$4(obj, path = 'CdpMlCustomizableFieldRepresentation') {
4114
4114
  }
4115
4115
 
4116
4116
  // Should match with keyBuilder
4117
- function keyBuilderFromType(luvio, object) {
4117
+ function keyBuilderFromType$1(luvio, object) {
4118
4118
  const type = object.url.indexOf(object.name) > -1 ? 'name' : 'id';
4119
4119
  const urlArray = object.url.split('/');
4120
4120
  const idOrName = urlArray[urlArray.length - 1];
4121
- return `${keyPrefix}::${RepresentationType$1}:(id:${idOrName},type:${type})`;
4121
+ return `${keyPrefix}::${RepresentationType$2}:(id:${idOrName},type:${type})`;
4122
4122
  }
4123
4123
 
4124
- const TTL$1 = 1000;
4125
- const VERSION$1 = "f9608bc4ae3825a8da2fc0992ae87b6e";
4126
- function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4124
+ const TTL$2 = 1000;
4125
+ const VERSION$2 = "f9608bc4ae3825a8da2fc0992ae87b6e";
4126
+ function validate$8(obj, path = 'CdpMlConfiguredModelRepresentation') {
4127
4127
  const v_error = (() => {
4128
4128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4129
4129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4137,7 +4137,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4137
4137
  for (let i = 0; i < obj_actionableFields.length; i++) {
4138
4138
  const obj_actionableFields_item = obj_actionableFields[i];
4139
4139
  const path_actionableFields_item = path_actionableFields + '[' + i + ']';
4140
- const referencepath_actionableFields_itemValidationError = validate$4(obj_actionableFields_item, path_actionableFields_item);
4140
+ const referencepath_actionableFields_itemValidationError = validate$9(obj_actionableFields_item, path_actionableFields_item);
4141
4141
  if (referencepath_actionableFields_itemValidationError !== null) {
4142
4142
  let message = 'Object doesn\'t match CdpMlCustomizableFieldRepresentation (at "' + path_actionableFields_item + '")\n';
4143
4143
  message += referencepath_actionableFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4147,7 +4147,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4147
4147
  }
4148
4148
  const obj_artifact = obj.artifact;
4149
4149
  const path_artifact = path + '.artifact';
4150
- const referencepath_artifactValidationError = validate$t(obj_artifact, path_artifact);
4150
+ const referencepath_artifactValidationError = validate$y(obj_artifact, path_artifact);
4151
4151
  if (referencepath_artifactValidationError !== null) {
4152
4152
  let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_artifact + '")\n';
4153
4153
  message += referencepath_artifactValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4161,7 +4161,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4161
4161
  if (obj.createdBy !== undefined) {
4162
4162
  const obj_createdBy = obj.createdBy;
4163
4163
  const path_createdBy = path + '.createdBy';
4164
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
4164
+ const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
4165
4165
  if (referencepath_createdByValidationError !== null) {
4166
4166
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
4167
4167
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4204,7 +4204,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4204
4204
  for (let i = 0; i < obj_customizableFields.length; i++) {
4205
4205
  const obj_customizableFields_item = obj_customizableFields[i];
4206
4206
  const path_customizableFields_item = path_customizableFields + '[' + i + ']';
4207
- const referencepath_customizableFields_itemValidationError = validate$4(obj_customizableFields_item, path_customizableFields_item);
4207
+ const referencepath_customizableFields_itemValidationError = validate$9(obj_customizableFields_item, path_customizableFields_item);
4208
4208
  if (referencepath_customizableFields_itemValidationError !== null) {
4209
4209
  let message = 'Object doesn\'t match CdpMlCustomizableFieldRepresentation (at "' + path_customizableFields_item + '")\n';
4210
4210
  message += referencepath_customizableFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4241,7 +4241,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4241
4241
  }
4242
4242
  const obj_filter = obj.filter;
4243
4243
  const path_filter = path + '.filter';
4244
- const referencepath_filterValidationError = validate$6(obj_filter, path_filter);
4244
+ const referencepath_filterValidationError = validate$b(obj_filter, path_filter);
4245
4245
  if (referencepath_filterValidationError !== null) {
4246
4246
  let message = 'Object doesn\'t match CdpMlFilterRepresentation (at "' + path_filter + '")\n';
4247
4247
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4285,7 +4285,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4285
4285
  if (obj.lastActivatedBy !== undefined) {
4286
4286
  const obj_lastActivatedBy = obj.lastActivatedBy;
4287
4287
  const path_lastActivatedBy = path + '.lastActivatedBy';
4288
- const referencepath_lastActivatedByValidationError = validate$v(obj_lastActivatedBy, path_lastActivatedBy);
4288
+ const referencepath_lastActivatedByValidationError = validate$A(obj_lastActivatedBy, path_lastActivatedBy);
4289
4289
  if (referencepath_lastActivatedByValidationError !== null) {
4290
4290
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastActivatedBy + '")\n';
4291
4291
  message += referencepath_lastActivatedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4302,7 +4302,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4302
4302
  if (obj.lastModifiedBy !== undefined) {
4303
4303
  const obj_lastModifiedBy = obj.lastModifiedBy;
4304
4304
  const path_lastModifiedBy = path + '.lastModifiedBy';
4305
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
4305
+ const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
4306
4306
  if (referencepath_lastModifiedByValidationError !== null) {
4307
4307
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
4308
4308
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4406,7 +4406,7 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4406
4406
  for (let i = 0; i < obj_parameterOverrides.length; i++) {
4407
4407
  const obj_parameterOverrides_item = obj_parameterOverrides[i];
4408
4408
  const path_parameterOverrides_item = path_parameterOverrides + '[' + i + ']';
4409
- const referencepath_parameterOverrides_itemValidationError = validate$n(obj_parameterOverrides_item, path_parameterOverrides_item);
4409
+ const referencepath_parameterOverrides_itemValidationError = validate$s(obj_parameterOverrides_item, path_parameterOverrides_item);
4410
4410
  if (referencepath_parameterOverrides_itemValidationError !== null) {
4411
4411
  let message = 'Object doesn\'t match CdpMlModelParameterOverrideBaseRepresentation (at "' + path_parameterOverrides_item + '")\n';
4412
4412
  message += referencepath_parameterOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4431,49 +4431,49 @@ function validate$3(obj, path = 'CdpMlConfiguredModelRepresentation') {
4431
4431
  })();
4432
4432
  return v_error === undefined ? null : v_error;
4433
4433
  }
4434
- const RepresentationType$1 = 'CdpMlConfiguredModelRepresentation';
4435
- function normalize$1(input, existing, path, luvio, store, timestamp) {
4434
+ const RepresentationType$2 = 'CdpMlConfiguredModelRepresentation';
4435
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
4436
4436
  return input;
4437
4437
  }
4438
- const select$5 = function CdpMlConfiguredModelRepresentationSelect() {
4438
+ const select$7 = function CdpMlConfiguredModelRepresentationSelect() {
4439
4439
  return {
4440
4440
  kind: 'Fragment',
4441
- version: VERSION$1,
4441
+ version: VERSION$2,
4442
4442
  private: [],
4443
4443
  opaque: true
4444
4444
  };
4445
4445
  };
4446
- function equals$1(existing, incoming) {
4446
+ function equals$2(existing, incoming) {
4447
4447
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
4448
4448
  return false;
4449
4449
  }
4450
4450
  return true;
4451
4451
  }
4452
- const ingest$1 = function CdpMlConfiguredModelRepresentationIngest(input, path, luvio, store, timestamp) {
4452
+ const ingest$2 = function CdpMlConfiguredModelRepresentationIngest(input, path, luvio, store, timestamp) {
4453
4453
  if (process.env.NODE_ENV !== 'production') {
4454
- const validateError = validate$3(input);
4454
+ const validateError = validate$8(input);
4455
4455
  if (validateError !== null) {
4456
4456
  throw validateError;
4457
4457
  }
4458
4458
  }
4459
- const key = keyBuilderFromType(luvio, input);
4460
- const ttlToUse = TTL$1;
4461
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "cdp-machine-learning", VERSION$1, RepresentationType$1, equals$1);
4459
+ const key = keyBuilderFromType$1(luvio, input);
4460
+ const ttlToUse = TTL$2;
4461
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "cdp-machine-learning", VERSION$2, RepresentationType$2, equals$2);
4462
4462
  return createLink(key);
4463
4463
  };
4464
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
4464
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
4465
4465
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4466
- const rootKey = keyBuilderFromType(luvio, input);
4466
+ const rootKey = keyBuilderFromType$1(luvio, input);
4467
4467
  rootKeySet.set(rootKey, {
4468
4468
  namespace: keyPrefix,
4469
- representationName: RepresentationType$1,
4469
+ representationName: RepresentationType$2,
4470
4470
  mergeable: false
4471
4471
  });
4472
4472
  }
4473
4473
 
4474
- const TTL = 1000;
4475
- const VERSION = "2b3092c57f5f0a17513ae28d59875559";
4476
- function validate$2(obj, path = 'CdpMlConfiguredModelCollectionRepresentation') {
4474
+ const TTL$1 = 1000;
4475
+ const VERSION$1 = "2b3092c57f5f0a17513ae28d59875559";
4476
+ function validate$7(obj, path = 'CdpMlConfiguredModelCollectionRepresentation') {
4477
4477
  const v_error = (() => {
4478
4478
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4479
4479
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4487,7 +4487,7 @@ function validate$2(obj, path = 'CdpMlConfiguredModelCollectionRepresentation')
4487
4487
  for (let i = 0; i < obj_models.length; i++) {
4488
4488
  const obj_models_item = obj_models[i];
4489
4489
  const path_models_item = path_models + '[' + i + ']';
4490
- const referencepath_models_itemValidationError = validate$3(obj_models_item, path_models_item);
4490
+ const referencepath_models_itemValidationError = validate$8(obj_models_item, path_models_item);
4491
4491
  if (referencepath_models_itemValidationError !== null) {
4492
4492
  let message = 'Object doesn\'t match CdpMlConfiguredModelRepresentation (at "' + path_models_item + '")\n';
4493
4493
  message += referencepath_models_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4508,62 +4508,62 @@ function validate$2(obj, path = 'CdpMlConfiguredModelCollectionRepresentation')
4508
4508
  })();
4509
4509
  return v_error === undefined ? null : v_error;
4510
4510
  }
4511
- const RepresentationType = 'CdpMlConfiguredModelCollectionRepresentation';
4512
- function normalize(input, existing, path, luvio, store, timestamp) {
4511
+ const RepresentationType$1 = 'CdpMlConfiguredModelCollectionRepresentation';
4512
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
4513
4513
  return input;
4514
4514
  }
4515
- const select$4 = function CdpMlConfiguredModelCollectionRepresentationSelect() {
4515
+ const select$6 = function CdpMlConfiguredModelCollectionRepresentationSelect() {
4516
4516
  return {
4517
4517
  kind: 'Fragment',
4518
- version: VERSION,
4518
+ version: VERSION$1,
4519
4519
  private: [],
4520
4520
  opaque: true
4521
4521
  };
4522
4522
  };
4523
- function equals(existing, incoming) {
4523
+ function equals$1(existing, incoming) {
4524
4524
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
4525
4525
  return false;
4526
4526
  }
4527
4527
  return true;
4528
4528
  }
4529
- const ingest = function CdpMlConfiguredModelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4529
+ const ingest$1 = function CdpMlConfiguredModelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4530
4530
  if (process.env.NODE_ENV !== 'production') {
4531
- const validateError = validate$2(input);
4531
+ const validateError = validate$7(input);
4532
4532
  if (validateError !== null) {
4533
4533
  throw validateError;
4534
4534
  }
4535
4535
  }
4536
4536
  const key = path.fullPath;
4537
- const ttlToUse = TTL;
4538
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "cdp-machine-learning", VERSION, RepresentationType, equals);
4537
+ const ttlToUse = TTL$1;
4538
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "cdp-machine-learning", VERSION$1, RepresentationType$1, equals$1);
4539
4539
  return createLink(key);
4540
4540
  };
4541
- function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
4541
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
4542
4542
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4543
4543
  const rootKey = fullPathFactory();
4544
4544
  rootKeySet.set(rootKey, {
4545
4545
  namespace: keyPrefix,
4546
- representationName: RepresentationType,
4546
+ representationName: RepresentationType$1,
4547
4547
  mergeable: false
4548
4548
  });
4549
4549
  }
4550
4550
 
4551
- function select$3(luvio, params) {
4552
- return select$4();
4551
+ function select$5(luvio, params) {
4552
+ return select$6();
4553
4553
  }
4554
- function keyBuilder$3(luvio, params) {
4554
+ function keyBuilder$4(luvio, params) {
4555
4555
  return keyPrefix + '::CdpMlConfiguredModelCollectionRepresentation:(' + 'capabilities:' + params.queryParams.capabilities + ',' + 'workspaceIdOrName:' + params.urlParams.workspaceIdOrName + ')';
4556
4556
  }
4557
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
4558
- getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
4557
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
4558
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
4559
4559
  }
4560
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
4560
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
4561
4561
  const { body } = response;
4562
- const key = keyBuilder$3(luvio, resourceParams);
4563
- luvio.storeIngest(key, ingest, body);
4562
+ const key = keyBuilder$4(luvio, resourceParams);
4563
+ luvio.storeIngest(key, ingest$1, body);
4564
4564
  const snapshot = luvio.storeLookup({
4565
4565
  recordId: key,
4566
- node: select$3(),
4566
+ node: select$5(),
4567
4567
  variables: {},
4568
4568
  }, snapshotRefresh);
4569
4569
  if (process.env.NODE_ENV !== 'production') {
@@ -4575,21 +4575,21 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
4575
4575
  return snapshot;
4576
4576
  }
4577
4577
  function ingestError$1(luvio, params, error, snapshotRefresh) {
4578
- const key = keyBuilder$3(luvio, params);
4578
+ const key = keyBuilder$4(luvio, params);
4579
4579
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4580
4580
  const storeMetadataParams = {
4581
- ttl: TTL,
4581
+ ttl: TTL$1,
4582
4582
  namespace: keyPrefix,
4583
- version: VERSION,
4584
- representationName: RepresentationType
4583
+ version: VERSION$1,
4584
+ representationName: RepresentationType$1
4585
4585
  };
4586
4586
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4587
4587
  return errorSnapshot;
4588
4588
  }
4589
- function createResourceRequest$3(config) {
4589
+ function createResourceRequest$4(config) {
4590
4590
  const headers = {};
4591
4591
  return {
4592
- baseUri: '/services/data/v62.0',
4592
+ baseUri: '/services/data/v63.0',
4593
4593
  basePath: '/ssot/machine-learning/workspaces/' + config.urlParams.workspaceIdOrName + '/models',
4594
4594
  method: 'get',
4595
4595
  body: null,
@@ -4600,61 +4600,61 @@ function createResourceRequest$3(config) {
4600
4600
  };
4601
4601
  }
4602
4602
 
4603
- const adapterName$3 = 'getCdpMlConfiguredModelCollection';
4603
+ const adapterName$4 = 'getCdpMlConfiguredModelCollection';
4604
4604
  const getCdpMlConfiguredModelCollection_ConfigPropertyMetadata = [
4605
4605
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
4606
4606
  generateParamConfigMetadata('capabilities', false, 1 /* QueryParameter */, 0 /* String */, true),
4607
4607
  ];
4608
- const getCdpMlConfiguredModelCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4609
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$c(getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4610
- function keyBuilder$2(luvio, config) {
4611
- const resourceParams = createResourceParams$3(config);
4612
- return keyBuilder$3(luvio, resourceParams);
4608
+ const getCdpMlConfiguredModelCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4609
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$d(getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4610
+ function keyBuilder$3(luvio, config) {
4611
+ const resourceParams = createResourceParams$4(config);
4612
+ return keyBuilder$4(luvio, resourceParams);
4613
4613
  }
4614
- function typeCheckConfig$3(untrustedConfig) {
4614
+ function typeCheckConfig$4(untrustedConfig) {
4615
4615
  const config = {};
4616
- typeCheckConfig$c(untrustedConfig, config, getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4616
+ typeCheckConfig$d(untrustedConfig, config, getCdpMlConfiguredModelCollection_ConfigPropertyMetadata);
4617
4617
  return config;
4618
4618
  }
4619
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
4619
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
4620
4620
  if (!untrustedIsObject(untrustedConfig)) {
4621
4621
  return null;
4622
4622
  }
4623
4623
  if (process.env.NODE_ENV !== 'production') {
4624
4624
  validateConfig(untrustedConfig, configPropertyNames);
4625
4625
  }
4626
- const config = typeCheckConfig$3(untrustedConfig);
4626
+ const config = typeCheckConfig$4(untrustedConfig);
4627
4627
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4628
4628
  return null;
4629
4629
  }
4630
4630
  return config;
4631
4631
  }
4632
4632
  function adapterFragment$1(luvio, config) {
4633
- createResourceParams$3(config);
4634
- return select$3();
4633
+ createResourceParams$4(config);
4634
+ return select$5();
4635
4635
  }
4636
4636
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
4637
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
4637
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
4638
4638
  config,
4639
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
4639
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
4640
4640
  });
4641
4641
  return luvio.storeBroadcast().then(() => snapshot);
4642
4642
  }
4643
4643
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
4644
4644
  const snapshot = ingestError$1(luvio, resourceParams, response, {
4645
4645
  config,
4646
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
4646
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
4647
4647
  });
4648
4648
  return luvio.storeBroadcast().then(() => snapshot);
4649
4649
  }
4650
- function buildNetworkSnapshot$3(luvio, config, options) {
4651
- const resourceParams = createResourceParams$3(config);
4652
- const request = createResourceRequest$3(resourceParams);
4650
+ function buildNetworkSnapshot$4(luvio, config, options) {
4651
+ const resourceParams = createResourceParams$4(config);
4652
+ const request = createResourceRequest$4(resourceParams);
4653
4653
  return luvio.dispatchResourceRequest(request, options)
4654
4654
  .then((response) => {
4655
4655
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
4656
4656
  const cache = new StoreKeyMap();
4657
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
4657
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
4658
4658
  return cache;
4659
4659
  });
4660
4660
  }, (response) => {
@@ -4662,23 +4662,23 @@ function buildNetworkSnapshot$3(luvio, config, options) {
4662
4662
  });
4663
4663
  }
4664
4664
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
4665
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
4665
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
4666
4666
  }
4667
4667
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
4668
4668
  const { luvio, config } = context;
4669
4669
  const selector = {
4670
- recordId: keyBuilder$2(luvio, config),
4670
+ recordId: keyBuilder$3(luvio, config),
4671
4671
  node: adapterFragment$1(luvio, config),
4672
4672
  variables: {},
4673
4673
  };
4674
4674
  const cacheSnapshot = storeLookup(selector, {
4675
4675
  config,
4676
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
4676
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
4677
4677
  });
4678
4678
  return cacheSnapshot;
4679
4679
  }
4680
4680
  const getCdpMlConfiguredModelCollectionAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlConfiguredModelCollection(untrustedConfig, requestContext) {
4681
- const config = validateAdapterConfig$3(untrustedConfig, getCdpMlConfiguredModelCollection_ConfigPropertyNames);
4681
+ const config = validateAdapterConfig$4(untrustedConfig, getCdpMlConfiguredModelCollection_ConfigPropertyNames);
4682
4682
  // Invalid or incomplete config
4683
4683
  if (config === null) {
4684
4684
  return null;
@@ -4687,7 +4687,7 @@ const getCdpMlConfiguredModelCollectionAdapterFactory = (luvio) => function cdpM
4687
4687
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
4688
4688
  };
4689
4689
 
4690
- function validate$1(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresentation') {
4690
+ function validate$6(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresentation') {
4691
4691
  const v_error = (() => {
4692
4692
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4693
4693
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4706,7 +4706,7 @@ function validate$1(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresenta
4706
4706
  return v_error === undefined ? null : v_error;
4707
4707
  }
4708
4708
 
4709
- function validate(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
4709
+ function validate$5(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
4710
4710
  const v_error = (() => {
4711
4711
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4712
4712
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4719,7 +4719,7 @@ function validate(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
4719
4719
  for (let i = 0; i < obj_customDefinitions.length; i++) {
4720
4720
  const obj_customDefinitions_item = obj_customDefinitions[i];
4721
4721
  const path_customDefinitions_item = path_customDefinitions + '[' + i + ']';
4722
- const referencepath_customDefinitions_itemValidationError = validate$1(obj_customDefinitions_item, path_customDefinitions_item);
4722
+ const referencepath_customDefinitions_itemValidationError = validate$6(obj_customDefinitions_item, path_customDefinitions_item);
4723
4723
  if (referencepath_customDefinitions_itemValidationError !== null) {
4724
4724
  let message = 'Object doesn\'t match CdpMlCustomizableFieldDefinitionInputRepresentation (at "' + path_customDefinitions_item + '")\n';
4725
4725
  message += referencepath_customDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4740,19 +4740,19 @@ function validate(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
4740
4740
  return v_error === undefined ? null : v_error;
4741
4741
  }
4742
4742
 
4743
- function select$2(luvio, params) {
4744
- return select$5();
4743
+ function select$4(luvio, params) {
4744
+ return select$7();
4745
4745
  }
4746
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
4747
- getTypeCacheKeys$1(storeKeyMap, luvio, response);
4746
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
4747
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
4748
4748
  }
4749
- function ingestSuccess$2(luvio, resourceParams, response) {
4749
+ function ingestSuccess$3(luvio, resourceParams, response) {
4750
4750
  const { body } = response;
4751
- const key = keyBuilderFromType(luvio, body);
4752
- luvio.storeIngest(key, ingest$1, body);
4751
+ const key = keyBuilderFromType$1(luvio, body);
4752
+ luvio.storeIngest(key, ingest$2, body);
4753
4753
  const snapshot = luvio.storeLookup({
4754
4754
  recordId: key,
4755
- node: select$2(),
4755
+ node: select$4(),
4756
4756
  variables: {},
4757
4757
  });
4758
4758
  if (process.env.NODE_ENV !== 'production') {
@@ -4763,10 +4763,10 @@ function ingestSuccess$2(luvio, resourceParams, response) {
4763
4763
  deepFreeze(snapshot.data);
4764
4764
  return snapshot;
4765
4765
  }
4766
- function createResourceRequest$2(config) {
4766
+ function createResourceRequest$3(config) {
4767
4767
  const headers = {};
4768
4768
  return {
4769
- baseUri: '/services/data/v62.0',
4769
+ baseUri: '/services/data/v63.0',
4770
4770
  basePath: '/ssot/machine-learning/workspaces/' + config.urlParams.workspaceIdOrName + '/models',
4771
4771
  method: 'post',
4772
4772
  body: config.body,
@@ -4777,7 +4777,7 @@ function createResourceRequest$2(config) {
4777
4777
  };
4778
4778
  }
4779
4779
 
4780
- const adapterName$2 = 'createCdpMlConfiguredModel';
4780
+ const adapterName$3 = 'createCdpMlConfiguredModel';
4781
4781
  const createCdpMlConfiguredModel_ConfigPropertyMetadata = [
4782
4782
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
4783
4783
  generateParamConfigMetadata('actionableFields', false, 2 /* Body */, 4 /* Unsupported */, true),
@@ -4791,17 +4791,17 @@ const createCdpMlConfiguredModel_ConfigPropertyMetadata = [
4791
4791
  generateParamConfigMetadata('position', false, 2 /* Body */, 3 /* Integer */),
4792
4792
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
4793
4793
  ];
4794
- const createCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createCdpMlConfiguredModel_ConfigPropertyMetadata);
4795
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(createCdpMlConfiguredModel_ConfigPropertyMetadata);
4796
- function typeCheckConfig$2(untrustedConfig) {
4794
+ const createCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createCdpMlConfiguredModel_ConfigPropertyMetadata);
4795
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$d(createCdpMlConfiguredModel_ConfigPropertyMetadata);
4796
+ function typeCheckConfig$3(untrustedConfig) {
4797
4797
  const config = {};
4798
- typeCheckConfig$c(untrustedConfig, config, createCdpMlConfiguredModel_ConfigPropertyMetadata);
4798
+ typeCheckConfig$d(untrustedConfig, config, createCdpMlConfiguredModel_ConfigPropertyMetadata);
4799
4799
  const untrustedConfig_actionableFields = untrustedConfig.actionableFields;
4800
4800
  if (ArrayIsArray$1(untrustedConfig_actionableFields)) {
4801
4801
  const untrustedConfig_actionableFields_array = [];
4802
4802
  for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
4803
4803
  const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
4804
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_actionableFields_item);
4804
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$5(untrustedConfig_actionableFields_item);
4805
4805
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
4806
4806
  untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
4807
4807
  }
@@ -4809,7 +4809,7 @@ function typeCheckConfig$2(untrustedConfig) {
4809
4809
  config.actionableFields = untrustedConfig_actionableFields_array;
4810
4810
  }
4811
4811
  const untrustedConfig_artifact = untrustedConfig.artifact;
4812
- const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
4812
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$p(untrustedConfig_artifact);
4813
4813
  if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
4814
4814
  config.artifact = untrustedConfig_artifact;
4815
4815
  }
@@ -4818,7 +4818,7 @@ function typeCheckConfig$2(untrustedConfig) {
4818
4818
  const untrustedConfig_customizableFields_array = [];
4819
4819
  for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
4820
4820
  const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
4821
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_customizableFields_item);
4821
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$5(untrustedConfig_customizableFields_item);
4822
4822
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
4823
4823
  untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
4824
4824
  }
@@ -4851,7 +4851,7 @@ function typeCheckConfig$2(untrustedConfig) {
4851
4851
  const untrustedConfig_parameterOverrides_array = [];
4852
4852
  for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
4853
4853
  const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
4854
- const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
4854
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$o(untrustedConfig_parameterOverrides_item);
4855
4855
  if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
4856
4856
  untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
4857
4857
  }
@@ -4860,30 +4860,30 @@ function typeCheckConfig$2(untrustedConfig) {
4860
4860
  }
4861
4861
  return config;
4862
4862
  }
4863
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
4863
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
4864
4864
  if (!untrustedIsObject(untrustedConfig)) {
4865
4865
  return null;
4866
4866
  }
4867
4867
  if (process.env.NODE_ENV !== 'production') {
4868
4868
  validateConfig(untrustedConfig, configPropertyNames);
4869
4869
  }
4870
- const config = typeCheckConfig$2(untrustedConfig);
4870
+ const config = typeCheckConfig$3(untrustedConfig);
4871
4871
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4872
4872
  return null;
4873
4873
  }
4874
4874
  return config;
4875
4875
  }
4876
- function buildNetworkSnapshot$2(luvio, config, options) {
4877
- const resourceParams = createResourceParams$2(config);
4878
- const request = createResourceRequest$2(resourceParams);
4876
+ function buildNetworkSnapshot$3(luvio, config, options) {
4877
+ const resourceParams = createResourceParams$3(config);
4878
+ const request = createResourceRequest$3(resourceParams);
4879
4879
  return luvio.dispatchResourceRequest(request, options)
4880
4880
  .then((response) => {
4881
4881
  return luvio.handleSuccessResponse(() => {
4882
- const snapshot = ingestSuccess$2(luvio, resourceParams, response);
4882
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response);
4883
4883
  return luvio.storeBroadcast().then(() => snapshot);
4884
4884
  }, () => {
4885
4885
  const cache = new StoreKeyMap();
4886
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
4886
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
4887
4887
  return cache;
4888
4888
  });
4889
4889
  }, (response) => {
@@ -4893,34 +4893,34 @@ function buildNetworkSnapshot$2(luvio, config, options) {
4893
4893
  }
4894
4894
  const createCdpMlConfiguredModelAdapterFactory = (luvio) => {
4895
4895
  return function createCdpMlConfiguredModel(untrustedConfig) {
4896
- const config = validateAdapterConfig$2(untrustedConfig, createCdpMlConfiguredModel_ConfigPropertyNames);
4896
+ const config = validateAdapterConfig$3(untrustedConfig, createCdpMlConfiguredModel_ConfigPropertyNames);
4897
4897
  // Invalid or incomplete config
4898
4898
  if (config === null) {
4899
4899
  throw new Error('Invalid config for "createCdpMlConfiguredModel"');
4900
4900
  }
4901
- return buildNetworkSnapshot$2(luvio, config);
4901
+ return buildNetworkSnapshot$3(luvio, config);
4902
4902
  };
4903
4903
  };
4904
4904
 
4905
- function keyBuilder$1(luvio, params) {
4905
+ function keyBuilder$2(luvio, params) {
4906
4906
  const modelIdOrName = params.urlParams.modelIdOrName;
4907
4907
  const type = IsModelId(modelIdOrName) ? 'id' : 'name';
4908
- return `${keyPrefix}::${RepresentationType$1}:(id:${params.urlParams.modelIdOrName},type:${type})`;
4908
+ return `${keyPrefix}::${RepresentationType$2}:(id:${params.urlParams.modelIdOrName},type:${type})`;
4909
4909
  }
4910
4910
 
4911
- function select$1(luvio, params) {
4912
- return select$5();
4911
+ function select$3(luvio, params) {
4912
+ return select$7();
4913
4913
  }
4914
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
4915
- getTypeCacheKeys$1(storeKeyMap, luvio, response);
4914
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
4915
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
4916
4916
  }
4917
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
4917
+ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
4918
4918
  const { body } = response;
4919
- const key = keyBuilder$1(luvio, resourceParams);
4920
- luvio.storeIngest(key, ingest$1, body);
4919
+ const key = keyBuilder$2(luvio, resourceParams);
4920
+ luvio.storeIngest(key, ingest$2, body);
4921
4921
  const snapshot = luvio.storeLookup({
4922
4922
  recordId: key,
4923
- node: select$1(),
4923
+ node: select$3(),
4924
4924
  variables: {},
4925
4925
  }, snapshotRefresh);
4926
4926
  if (process.env.NODE_ENV !== 'production') {
@@ -4932,21 +4932,21 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
4932
4932
  return snapshot;
4933
4933
  }
4934
4934
  function ingestError(luvio, params, error, snapshotRefresh) {
4935
- const key = keyBuilder$1(luvio, params);
4935
+ const key = keyBuilder$2(luvio, params);
4936
4936
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4937
4937
  const storeMetadataParams = {
4938
- ttl: TTL$1,
4938
+ ttl: TTL$2,
4939
4939
  namespace: keyPrefix,
4940
- version: VERSION$1,
4941
- representationName: RepresentationType$1
4940
+ version: VERSION$2,
4941
+ representationName: RepresentationType$2
4942
4942
  };
4943
4943
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4944
4944
  return errorSnapshot;
4945
4945
  }
4946
- function createResourceRequest$1(config) {
4946
+ function createResourceRequest$2(config) {
4947
4947
  const headers = {};
4948
4948
  return {
4949
- baseUri: '/services/data/v62.0',
4949
+ baseUri: '/services/data/v63.0',
4950
4950
  basePath: '/ssot/machine-learning/workspaces/' + config.urlParams.workspaceIdOrName + '/models/' + config.urlParams.modelIdOrName + '',
4951
4951
  method: 'get',
4952
4952
  body: null,
@@ -4957,61 +4957,61 @@ function createResourceRequest$1(config) {
4957
4957
  };
4958
4958
  }
4959
4959
 
4960
- const adapterName$1 = 'getCdpMlConfiguredModel';
4960
+ const adapterName$2 = 'getCdpMlConfiguredModel';
4961
4961
  const getCdpMlConfiguredModel_ConfigPropertyMetadata = [
4962
4962
  generateParamConfigMetadata('modelIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
4963
4963
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
4964
4964
  ];
4965
- const getCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getCdpMlConfiguredModel_ConfigPropertyMetadata);
4966
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(getCdpMlConfiguredModel_ConfigPropertyMetadata);
4967
- function keyBuilder(luvio, config) {
4968
- const resourceParams = createResourceParams$1(config);
4969
- return keyBuilder$1(luvio, resourceParams);
4965
+ const getCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getCdpMlConfiguredModel_ConfigPropertyMetadata);
4966
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$d(getCdpMlConfiguredModel_ConfigPropertyMetadata);
4967
+ function keyBuilder$1(luvio, config) {
4968
+ const resourceParams = createResourceParams$2(config);
4969
+ return keyBuilder$2(luvio, resourceParams);
4970
4970
  }
4971
- function typeCheckConfig$1(untrustedConfig) {
4971
+ function typeCheckConfig$2(untrustedConfig) {
4972
4972
  const config = {};
4973
- typeCheckConfig$c(untrustedConfig, config, getCdpMlConfiguredModel_ConfigPropertyMetadata);
4973
+ typeCheckConfig$d(untrustedConfig, config, getCdpMlConfiguredModel_ConfigPropertyMetadata);
4974
4974
  return config;
4975
4975
  }
4976
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
4976
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
4977
4977
  if (!untrustedIsObject(untrustedConfig)) {
4978
4978
  return null;
4979
4979
  }
4980
4980
  if (process.env.NODE_ENV !== 'production') {
4981
4981
  validateConfig(untrustedConfig, configPropertyNames);
4982
4982
  }
4983
- const config = typeCheckConfig$1(untrustedConfig);
4983
+ const config = typeCheckConfig$2(untrustedConfig);
4984
4984
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4985
4985
  return null;
4986
4986
  }
4987
4987
  return config;
4988
4988
  }
4989
4989
  function adapterFragment(luvio, config) {
4990
- createResourceParams$1(config);
4991
- return select$1();
4990
+ createResourceParams$2(config);
4991
+ return select$3();
4992
4992
  }
4993
4993
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
4994
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
4994
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
4995
4995
  config,
4996
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
4996
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
4997
4997
  });
4998
4998
  return luvio.storeBroadcast().then(() => snapshot);
4999
4999
  }
5000
5000
  function onFetchResponseError(luvio, config, resourceParams, response) {
5001
5001
  const snapshot = ingestError(luvio, resourceParams, response, {
5002
5002
  config,
5003
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
5003
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
5004
5004
  });
5005
5005
  return luvio.storeBroadcast().then(() => snapshot);
5006
5006
  }
5007
- function buildNetworkSnapshot$1(luvio, config, options) {
5008
- const resourceParams = createResourceParams$1(config);
5009
- const request = createResourceRequest$1(resourceParams);
5007
+ function buildNetworkSnapshot$2(luvio, config, options) {
5008
+ const resourceParams = createResourceParams$2(config);
5009
+ const request = createResourceRequest$2(resourceParams);
5010
5010
  return luvio.dispatchResourceRequest(request, options)
5011
5011
  .then((response) => {
5012
5012
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
5013
5013
  const cache = new StoreKeyMap();
5014
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
5014
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
5015
5015
  return cache;
5016
5016
  });
5017
5017
  }, (response) => {
@@ -5019,23 +5019,23 @@ function buildNetworkSnapshot$1(luvio, config, options) {
5019
5019
  });
5020
5020
  }
5021
5021
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
5022
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
5022
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
5023
5023
  }
5024
5024
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
5025
5025
  const { luvio, config } = context;
5026
5026
  const selector = {
5027
- recordId: keyBuilder(luvio, config),
5027
+ recordId: keyBuilder$1(luvio, config),
5028
5028
  node: adapterFragment(luvio, config),
5029
5029
  variables: {},
5030
5030
  };
5031
5031
  const cacheSnapshot = storeLookup(selector, {
5032
5032
  config,
5033
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
5033
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
5034
5034
  });
5035
5035
  return cacheSnapshot;
5036
5036
  }
5037
5037
  const getCdpMlConfiguredModelAdapterFactory = (luvio) => function cdpMachineLearning__getCdpMlConfiguredModel(untrustedConfig, requestContext) {
5038
- const config = validateAdapterConfig$1(untrustedConfig, getCdpMlConfiguredModel_ConfigPropertyNames);
5038
+ const config = validateAdapterConfig$2(untrustedConfig, getCdpMlConfiguredModel_ConfigPropertyNames);
5039
5039
  // Invalid or incomplete config
5040
5040
  if (config === null) {
5041
5041
  return null;
@@ -5044,19 +5044,19 @@ const getCdpMlConfiguredModelAdapterFactory = (luvio) => function cdpMachineLear
5044
5044
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
5045
5045
  };
5046
5046
 
5047
- function select(luvio, params) {
5048
- return select$5();
5047
+ function select$2(luvio, params) {
5048
+ return select$7();
5049
5049
  }
5050
- function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
5051
- getTypeCacheKeys$1(storeKeyMap, luvio, response);
5050
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
5051
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
5052
5052
  }
5053
- function ingestSuccess(luvio, resourceParams, response) {
5053
+ function ingestSuccess$1(luvio, resourceParams, response) {
5054
5054
  const { body } = response;
5055
- const key = keyBuilderFromType(luvio, body);
5056
- luvio.storeIngest(key, ingest$1, body);
5055
+ const key = keyBuilderFromType$1(luvio, body);
5056
+ luvio.storeIngest(key, ingest$2, body);
5057
5057
  const snapshot = luvio.storeLookup({
5058
5058
  recordId: key,
5059
- node: select(),
5059
+ node: select$2(),
5060
5060
  variables: {},
5061
5061
  });
5062
5062
  if (process.env.NODE_ENV !== 'production') {
@@ -5067,10 +5067,10 @@ function ingestSuccess(luvio, resourceParams, response) {
5067
5067
  deepFreeze(snapshot.data);
5068
5068
  return snapshot;
5069
5069
  }
5070
- function createResourceRequest(config) {
5070
+ function createResourceRequest$1(config) {
5071
5071
  const headers = {};
5072
5072
  return {
5073
- baseUri: '/services/data/v62.0',
5073
+ baseUri: '/services/data/v63.0',
5074
5074
  basePath: '/ssot/machine-learning/workspaces/' + config.urlParams.workspaceIdOrName + '/models/' + config.urlParams.modelIdOrName + '',
5075
5075
  method: 'patch',
5076
5076
  body: config.body,
@@ -5081,7 +5081,7 @@ function createResourceRequest(config) {
5081
5081
  };
5082
5082
  }
5083
5083
 
5084
- const adapterName = 'updateCdpMlConfiguredModel';
5084
+ const adapterName$1 = 'updateCdpMlConfiguredModel';
5085
5085
  const updateCdpMlConfiguredModel_ConfigPropertyMetadata = [
5086
5086
  generateParamConfigMetadata('modelIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
5087
5087
  generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
@@ -5096,17 +5096,17 @@ const updateCdpMlConfiguredModel_ConfigPropertyMetadata = [
5096
5096
  generateParamConfigMetadata('position', false, 2 /* Body */, 3 /* Integer */),
5097
5097
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
5098
5098
  ];
5099
- const updateCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5100
- const createResourceParams = /*#__PURE__*/ createResourceParams$c(updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5101
- function typeCheckConfig(untrustedConfig) {
5099
+ const updateCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5100
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$d(updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5101
+ function typeCheckConfig$1(untrustedConfig) {
5102
5102
  const config = {};
5103
- typeCheckConfig$c(untrustedConfig, config, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5103
+ typeCheckConfig$d(untrustedConfig, config, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
5104
5104
  const untrustedConfig_actionableFields = untrustedConfig.actionableFields;
5105
5105
  if (ArrayIsArray$1(untrustedConfig_actionableFields)) {
5106
5106
  const untrustedConfig_actionableFields_array = [];
5107
5107
  for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
5108
5108
  const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
5109
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_actionableFields_item);
5109
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$5(untrustedConfig_actionableFields_item);
5110
5110
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
5111
5111
  untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
5112
5112
  }
@@ -5114,7 +5114,7 @@ function typeCheckConfig(untrustedConfig) {
5114
5114
  config.actionableFields = untrustedConfig_actionableFields_array;
5115
5115
  }
5116
5116
  const untrustedConfig_artifact = untrustedConfig.artifact;
5117
- const referenceCdpAssetReferenceInputRepresentationValidationError = validate$k(untrustedConfig_artifact);
5117
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$p(untrustedConfig_artifact);
5118
5118
  if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
5119
5119
  config.artifact = untrustedConfig_artifact;
5120
5120
  }
@@ -5123,7 +5123,7 @@ function typeCheckConfig(untrustedConfig) {
5123
5123
  const untrustedConfig_customizableFields_array = [];
5124
5124
  for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
5125
5125
  const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
5126
- const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate(untrustedConfig_customizableFields_item);
5126
+ const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$5(untrustedConfig_customizableFields_item);
5127
5127
  if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
5128
5128
  untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
5129
5129
  }
@@ -5156,7 +5156,7 @@ function typeCheckConfig(untrustedConfig) {
5156
5156
  const untrustedConfig_parameterOverrides_array = [];
5157
5157
  for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
5158
5158
  const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
5159
- const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$j(untrustedConfig_parameterOverrides_item);
5159
+ const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$o(untrustedConfig_parameterOverrides_item);
5160
5160
  if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
5161
5161
  untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
5162
5162
  }
@@ -5165,6 +5165,458 @@ function typeCheckConfig(untrustedConfig) {
5165
5165
  }
5166
5166
  return config;
5167
5167
  }
5168
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
5169
+ if (!untrustedIsObject(untrustedConfig)) {
5170
+ return null;
5171
+ }
5172
+ if (process.env.NODE_ENV !== 'production') {
5173
+ validateConfig(untrustedConfig, configPropertyNames);
5174
+ }
5175
+ const config = typeCheckConfig$1(untrustedConfig);
5176
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5177
+ return null;
5178
+ }
5179
+ return config;
5180
+ }
5181
+ function buildNetworkSnapshot$1(luvio, config, options) {
5182
+ const resourceParams = createResourceParams$1(config);
5183
+ const request = createResourceRequest$1(resourceParams);
5184
+ return luvio.dispatchResourceRequest(request, options)
5185
+ .then((response) => {
5186
+ return luvio.handleSuccessResponse(() => {
5187
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response);
5188
+ return luvio.storeBroadcast().then(() => snapshot);
5189
+ }, () => {
5190
+ const cache = new StoreKeyMap();
5191
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
5192
+ return cache;
5193
+ });
5194
+ }, (response) => {
5195
+ deepFreeze(response);
5196
+ throw response;
5197
+ });
5198
+ }
5199
+ const updateCdpMlConfiguredModelAdapterFactory = (luvio) => {
5200
+ return function updateCdpMlConfiguredModel(untrustedConfig) {
5201
+ const config = validateAdapterConfig$1(untrustedConfig, updateCdpMlConfiguredModel_ConfigPropertyNames);
5202
+ // Invalid or incomplete config
5203
+ if (config === null) {
5204
+ throw new Error('Invalid config for "updateCdpMlConfiguredModel"');
5205
+ }
5206
+ return buildNetworkSnapshot$1(luvio, config);
5207
+ };
5208
+ };
5209
+
5210
+ function validate$4(obj, path = 'CdpMlAggregatePredictConditionRepresentation') {
5211
+ const v_error = (() => {
5212
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5213
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5214
+ }
5215
+ if (obj.count !== undefined) {
5216
+ const obj_count = obj.count;
5217
+ const path_count = path + '.count';
5218
+ if (typeof obj_count !== 'number' || (typeof obj_count === 'number' && Math.floor(obj_count) !== obj_count)) {
5219
+ return new TypeError('Expected "integer" but received "' + typeof obj_count + '" (at "' + path_count + '")');
5220
+ }
5221
+ }
5222
+ })();
5223
+ return v_error === undefined ? null : v_error;
5224
+ }
5225
+
5226
+ function validate$3(obj, path = 'CdpMlAggregatePredictionRepresentation') {
5227
+ const v_error = (() => {
5228
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5229
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5230
+ }
5231
+ if (obj.factors !== undefined) {
5232
+ const obj_factors = obj.factors;
5233
+ const path_factors = path + '.factors';
5234
+ if (!ArrayIsArray(obj_factors)) {
5235
+ return new TypeError('Expected "array" but received "' + typeof obj_factors + '" (at "' + path_factors + '")');
5236
+ }
5237
+ for (let i = 0; i < obj_factors.length; i++) {
5238
+ const obj_factors_item = obj_factors[i];
5239
+ const path_factors_item = path_factors + '[' + i + ']';
5240
+ const referencepath_factors_itemValidationError = validate$4(obj_factors_item, path_factors_item);
5241
+ if (referencepath_factors_itemValidationError !== null) {
5242
+ let message = 'Object doesn\'t match CdpMlAggregatePredictConditionRepresentation (at "' + path_factors_item + '")\n';
5243
+ message += referencepath_factors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5244
+ return new TypeError(message);
5245
+ }
5246
+ }
5247
+ }
5248
+ if (obj.prescriptions !== undefined) {
5249
+ const obj_prescriptions = obj.prescriptions;
5250
+ const path_prescriptions = path + '.prescriptions';
5251
+ if (!ArrayIsArray(obj_prescriptions)) {
5252
+ return new TypeError('Expected "array" but received "' + typeof obj_prescriptions + '" (at "' + path_prescriptions + '")');
5253
+ }
5254
+ for (let i = 0; i < obj_prescriptions.length; i++) {
5255
+ const obj_prescriptions_item = obj_prescriptions[i];
5256
+ const path_prescriptions_item = path_prescriptions + '[' + i + ']';
5257
+ const referencepath_prescriptions_itemValidationError = validate$4(obj_prescriptions_item, path_prescriptions_item);
5258
+ if (referencepath_prescriptions_itemValidationError !== null) {
5259
+ let message = 'Object doesn\'t match CdpMlAggregatePredictConditionRepresentation (at "' + path_prescriptions_item + '")\n';
5260
+ message += referencepath_prescriptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5261
+ return new TypeError(message);
5262
+ }
5263
+ }
5264
+ }
5265
+ if (obj.status !== undefined) {
5266
+ const obj_status = obj.status;
5267
+ const path_status = path + '.status';
5268
+ let obj_status_union0 = null;
5269
+ const obj_status_union0_error = (() => {
5270
+ if (typeof obj_status !== 'string') {
5271
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
5272
+ }
5273
+ })();
5274
+ if (obj_status_union0_error != null) {
5275
+ obj_status_union0 = obj_status_union0_error.message;
5276
+ }
5277
+ let obj_status_union1 = null;
5278
+ const obj_status_union1_error = (() => {
5279
+ if (obj_status !== null) {
5280
+ return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
5281
+ }
5282
+ })();
5283
+ if (obj_status_union1_error != null) {
5284
+ obj_status_union1 = obj_status_union1_error.message;
5285
+ }
5286
+ if (obj_status_union0 && obj_status_union1) {
5287
+ let message = 'Object doesn\'t match union (at "' + path_status + '")';
5288
+ message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
5289
+ message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
5290
+ return new TypeError(message);
5291
+ }
5292
+ }
5293
+ if (obj.type !== undefined) {
5294
+ const obj_type = obj.type;
5295
+ const path_type = path + '.type';
5296
+ let obj_type_union0 = null;
5297
+ const obj_type_union0_error = (() => {
5298
+ if (typeof obj_type !== 'string') {
5299
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
5300
+ }
5301
+ })();
5302
+ if (obj_type_union0_error != null) {
5303
+ obj_type_union0 = obj_type_union0_error.message;
5304
+ }
5305
+ let obj_type_union1 = null;
5306
+ const obj_type_union1_error = (() => {
5307
+ if (obj_type !== null) {
5308
+ return new TypeError('Expected "null" but received "' + typeof obj_type + '" (at "' + path_type + '")');
5309
+ }
5310
+ })();
5311
+ if (obj_type_union1_error != null) {
5312
+ obj_type_union1 = obj_type_union1_error.message;
5313
+ }
5314
+ if (obj_type_union0 && obj_type_union1) {
5315
+ let message = 'Object doesn\'t match union (at "' + path_type + '")';
5316
+ message += '\n' + obj_type_union0.split('\n').map((line) => '\t' + line).join('\n');
5317
+ message += '\n' + obj_type_union1.split('\n').map((line) => '\t' + line).join('\n');
5318
+ return new TypeError(message);
5319
+ }
5320
+ }
5321
+ if (obj.value !== undefined) {
5322
+ obj.value;
5323
+ }
5324
+ })();
5325
+ return v_error === undefined ? null : v_error;
5326
+ }
5327
+
5328
+ function validate$2(obj, path = 'CdpMlPredictionBaseRepresentation') {
5329
+ const v_error = (() => {
5330
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5331
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5332
+ }
5333
+ if (obj.status !== undefined) {
5334
+ const obj_status = obj.status;
5335
+ const path_status = path + '.status';
5336
+ let obj_status_union0 = null;
5337
+ const obj_status_union0_error = (() => {
5338
+ if (typeof obj_status !== 'string') {
5339
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
5340
+ }
5341
+ })();
5342
+ if (obj_status_union0_error != null) {
5343
+ obj_status_union0 = obj_status_union0_error.message;
5344
+ }
5345
+ let obj_status_union1 = null;
5346
+ const obj_status_union1_error = (() => {
5347
+ if (obj_status !== null) {
5348
+ return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
5349
+ }
5350
+ })();
5351
+ if (obj_status_union1_error != null) {
5352
+ obj_status_union1 = obj_status_union1_error.message;
5353
+ }
5354
+ if (obj_status_union0 && obj_status_union1) {
5355
+ let message = 'Object doesn\'t match union (at "' + path_status + '")';
5356
+ message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
5357
+ message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
5358
+ return new TypeError(message);
5359
+ }
5360
+ }
5361
+ })();
5362
+ return v_error === undefined ? null : v_error;
5363
+ }
5364
+
5365
+ function validate$1(obj, path = 'CdpMlPredictSettingsInputRepresentation') {
5366
+ const v_error = (() => {
5367
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5368
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5369
+ }
5370
+ if (obj.aggregateFunctions !== undefined) {
5371
+ const obj_aggregateFunctions = obj.aggregateFunctions;
5372
+ const path_aggregateFunctions = path + '.aggregateFunctions';
5373
+ if (!ArrayIsArray(obj_aggregateFunctions)) {
5374
+ return new TypeError('Expected "array" but received "' + typeof obj_aggregateFunctions + '" (at "' + path_aggregateFunctions + '")');
5375
+ }
5376
+ for (let i = 0; i < obj_aggregateFunctions.length; i++) {
5377
+ const obj_aggregateFunctions_item = obj_aggregateFunctions[i];
5378
+ const path_aggregateFunctions_item = path_aggregateFunctions + '[' + i + ']';
5379
+ let obj_aggregateFunctions_item_union0 = null;
5380
+ const obj_aggregateFunctions_item_union0_error = (() => {
5381
+ if (typeof obj_aggregateFunctions_item !== 'string') {
5382
+ return new TypeError('Expected "string" but received "' + typeof obj_aggregateFunctions_item + '" (at "' + path_aggregateFunctions_item + '")');
5383
+ }
5384
+ })();
5385
+ if (obj_aggregateFunctions_item_union0_error != null) {
5386
+ obj_aggregateFunctions_item_union0 = obj_aggregateFunctions_item_union0_error.message;
5387
+ }
5388
+ let obj_aggregateFunctions_item_union1 = null;
5389
+ const obj_aggregateFunctions_item_union1_error = (() => {
5390
+ if (obj_aggregateFunctions_item !== null) {
5391
+ return new TypeError('Expected "null" but received "' + typeof obj_aggregateFunctions_item + '" (at "' + path_aggregateFunctions_item + '")');
5392
+ }
5393
+ })();
5394
+ if (obj_aggregateFunctions_item_union1_error != null) {
5395
+ obj_aggregateFunctions_item_union1 = obj_aggregateFunctions_item_union1_error.message;
5396
+ }
5397
+ if (obj_aggregateFunctions_item_union0 && obj_aggregateFunctions_item_union1) {
5398
+ let message = 'Object doesn\'t match union (at "' + path_aggregateFunctions_item + '")';
5399
+ message += '\n' + obj_aggregateFunctions_item_union0.split('\n').map((line) => '\t' + line).join('\n');
5400
+ message += '\n' + obj_aggregateFunctions_item_union1.split('\n').map((line) => '\t' + line).join('\n');
5401
+ return new TypeError(message);
5402
+ }
5403
+ }
5404
+ }
5405
+ if (obj.maxPrescriptions !== undefined) {
5406
+ const obj_maxPrescriptions = obj.maxPrescriptions;
5407
+ const path_maxPrescriptions = path + '.maxPrescriptions';
5408
+ if (typeof obj_maxPrescriptions !== 'number' || (typeof obj_maxPrescriptions === 'number' && Math.floor(obj_maxPrescriptions) !== obj_maxPrescriptions)) {
5409
+ return new TypeError('Expected "integer" but received "' + typeof obj_maxPrescriptions + '" (at "' + path_maxPrescriptions + '")');
5410
+ }
5411
+ }
5412
+ if (obj.maxTopFactors !== undefined) {
5413
+ const obj_maxTopFactors = obj.maxTopFactors;
5414
+ const path_maxTopFactors = path + '.maxTopFactors';
5415
+ if (typeof obj_maxTopFactors !== 'number' || (typeof obj_maxTopFactors === 'number' && Math.floor(obj_maxTopFactors) !== obj_maxTopFactors)) {
5416
+ return new TypeError('Expected "integer" but received "' + typeof obj_maxTopFactors + '" (at "' + path_maxTopFactors + '")');
5417
+ }
5418
+ }
5419
+ if (obj.prescriptionImpactPercentage !== undefined) {
5420
+ const obj_prescriptionImpactPercentage = obj.prescriptionImpactPercentage;
5421
+ const path_prescriptionImpactPercentage = path + '.prescriptionImpactPercentage';
5422
+ if (typeof obj_prescriptionImpactPercentage !== 'number' || (typeof obj_prescriptionImpactPercentage === 'number' && Math.floor(obj_prescriptionImpactPercentage) !== obj_prescriptionImpactPercentage)) {
5423
+ return new TypeError('Expected "integer" but received "' + typeof obj_prescriptionImpactPercentage + '" (at "' + path_prescriptionImpactPercentage + '")');
5424
+ }
5425
+ }
5426
+ })();
5427
+ return v_error === undefined ? null : v_error;
5428
+ }
5429
+
5430
+ const TTL = 1000;
5431
+ const VERSION = "53acf0a695382123e58156e703232cb5";
5432
+ function validate(obj, path = 'CdpMlPredictResultRepresentation') {
5433
+ const v_error = (() => {
5434
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5435
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5436
+ }
5437
+ if (obj.aggregatePredictions !== undefined) {
5438
+ const obj_aggregatePredictions = obj.aggregatePredictions;
5439
+ const path_aggregatePredictions = path + '.aggregatePredictions';
5440
+ if (!ArrayIsArray(obj_aggregatePredictions)) {
5441
+ return new TypeError('Expected "array" but received "' + typeof obj_aggregatePredictions + '" (at "' + path_aggregatePredictions + '")');
5442
+ }
5443
+ for (let i = 0; i < obj_aggregatePredictions.length; i++) {
5444
+ const obj_aggregatePredictions_item = obj_aggregatePredictions[i];
5445
+ const path_aggregatePredictions_item = path_aggregatePredictions + '[' + i + ']';
5446
+ const referencepath_aggregatePredictions_itemValidationError = validate$3(obj_aggregatePredictions_item, path_aggregatePredictions_item);
5447
+ if (referencepath_aggregatePredictions_itemValidationError !== null) {
5448
+ let message = 'Object doesn\'t match CdpMlAggregatePredictionRepresentation (at "' + path_aggregatePredictions_item + '")\n';
5449
+ message += referencepath_aggregatePredictions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5450
+ return new TypeError(message);
5451
+ }
5452
+ }
5453
+ }
5454
+ const obj_model = obj.model;
5455
+ const path_model = path + '.model';
5456
+ const referencepath_modelValidationError = validate$y(obj_model, path_model);
5457
+ if (referencepath_modelValidationError !== null) {
5458
+ let message = 'Object doesn\'t match CdpAssetReferenceRepresentation (at "' + path_model + '")\n';
5459
+ message += referencepath_modelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5460
+ return new TypeError(message);
5461
+ }
5462
+ const obj_predictionType = obj.predictionType;
5463
+ const path_predictionType = path + '.predictionType';
5464
+ if (typeof obj_predictionType !== 'string') {
5465
+ return new TypeError('Expected "string" but received "' + typeof obj_predictionType + '" (at "' + path_predictionType + '")');
5466
+ }
5467
+ if (obj.predictions !== undefined) {
5468
+ const obj_predictions = obj.predictions;
5469
+ const path_predictions = path + '.predictions';
5470
+ if (!ArrayIsArray(obj_predictions)) {
5471
+ return new TypeError('Expected "array" but received "' + typeof obj_predictions + '" (at "' + path_predictions + '")');
5472
+ }
5473
+ for (let i = 0; i < obj_predictions.length; i++) {
5474
+ const obj_predictions_item = obj_predictions[i];
5475
+ const path_predictions_item = path_predictions + '[' + i + ']';
5476
+ const referencepath_predictions_itemValidationError = validate$2(obj_predictions_item, path_predictions_item);
5477
+ if (referencepath_predictions_itemValidationError !== null) {
5478
+ let message = 'Object doesn\'t match CdpMlPredictionBaseRepresentation (at "' + path_predictions_item + '")\n';
5479
+ message += referencepath_predictions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5480
+ return new TypeError(message);
5481
+ }
5482
+ }
5483
+ }
5484
+ if (obj.settings !== undefined) {
5485
+ const obj_settings = obj.settings;
5486
+ const path_settings = path + '.settings';
5487
+ const referencepath_settingsValidationError = validate$1(obj_settings, path_settings);
5488
+ if (referencepath_settingsValidationError !== null) {
5489
+ let message = 'Object doesn\'t match CdpMlPredictSettingsInputRepresentation (at "' + path_settings + '")\n';
5490
+ message += referencepath_settingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5491
+ return new TypeError(message);
5492
+ }
5493
+ }
5494
+ })();
5495
+ return v_error === undefined ? null : v_error;
5496
+ }
5497
+ const RepresentationType = 'CdpMlPredictResultRepresentation';
5498
+ function keyBuilder(luvio, config) {
5499
+ return keyPrefix + '::' + RepresentationType + ':' + config.predictionType;
5500
+ }
5501
+ function keyBuilderFromType(luvio, object) {
5502
+ const keyParams = {
5503
+ predictionType: object.predictionType
5504
+ };
5505
+ return keyBuilder(luvio, keyParams);
5506
+ }
5507
+ function normalize(input, existing, path, luvio, store, timestamp) {
5508
+ return input;
5509
+ }
5510
+ const select$1 = function CdpMlPredictResultRepresentationSelect() {
5511
+ return {
5512
+ kind: 'Fragment',
5513
+ version: VERSION,
5514
+ private: [],
5515
+ opaque: true
5516
+ };
5517
+ };
5518
+ function equals(existing, incoming) {
5519
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
5520
+ return false;
5521
+ }
5522
+ return true;
5523
+ }
5524
+ const ingest = function CdpMlPredictResultRepresentationIngest(input, path, luvio, store, timestamp) {
5525
+ if (process.env.NODE_ENV !== 'production') {
5526
+ const validateError = validate(input);
5527
+ if (validateError !== null) {
5528
+ throw validateError;
5529
+ }
5530
+ }
5531
+ const key = keyBuilderFromType(luvio, input);
5532
+ const ttlToUse = TTL;
5533
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "cdp-machine-learning", VERSION, RepresentationType, equals);
5534
+ return createLink(key);
5535
+ };
5536
+ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
5537
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5538
+ const rootKey = keyBuilderFromType(luvio, input);
5539
+ rootKeySet.set(rootKey, {
5540
+ namespace: keyPrefix,
5541
+ representationName: RepresentationType,
5542
+ mergeable: false
5543
+ });
5544
+ }
5545
+
5546
+ function select(luvio, params) {
5547
+ return select$1();
5548
+ }
5549
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
5550
+ getTypeCacheKeys(storeKeyMap, luvio, response);
5551
+ }
5552
+ function ingestSuccess(luvio, resourceParams, response) {
5553
+ const { body } = response;
5554
+ const key = keyBuilderFromType(luvio, body);
5555
+ luvio.storeIngest(key, ingest, body);
5556
+ const snapshot = luvio.storeLookup({
5557
+ recordId: key,
5558
+ node: select(),
5559
+ variables: {},
5560
+ });
5561
+ if (process.env.NODE_ENV !== 'production') {
5562
+ if (snapshot.state !== 'Fulfilled') {
5563
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5564
+ }
5565
+ }
5566
+ deepFreeze(snapshot.data);
5567
+ return snapshot;
5568
+ }
5569
+ function createResourceRequest(config) {
5570
+ const headers = {};
5571
+ return {
5572
+ baseUri: '/services/data/v63.0',
5573
+ basePath: '/ssot/machine-learning/predict',
5574
+ method: 'post',
5575
+ body: config.body,
5576
+ urlParams: {},
5577
+ queryParams: {},
5578
+ headers,
5579
+ priority: 'normal',
5580
+ };
5581
+ }
5582
+
5583
+ const adapterName = 'createCdpMlPredictResult';
5584
+ const createCdpMlPredictResult_ConfigPropertyMetadata = [
5585
+ generateParamConfigMetadata('type', true, 2 /* Body */, 0 /* String */),
5586
+ generateParamConfigMetadata('model', true, 2 /* Body */, 4 /* Unsupported */),
5587
+ generateParamConfigMetadata('fieldNames', true, 2 /* Body */, 0 /* String */, true),
5588
+ generateParamConfigMetadata('rows', true, 2 /* Body */, 4 /* Unsupported */, true),
5589
+ ];
5590
+ const createCdpMlPredictResult_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, createCdpMlPredictResult_ConfigPropertyMetadata);
5591
+ const createResourceParams = /*#__PURE__*/ createResourceParams$d(createCdpMlPredictResult_ConfigPropertyMetadata);
5592
+ function typeCheckConfig(untrustedConfig) {
5593
+ const config = {};
5594
+ typeCheckConfig$d(untrustedConfig, config, createCdpMlPredictResult_ConfigPropertyMetadata);
5595
+ const untrustedConfig_model = untrustedConfig.model;
5596
+ const referenceCdpAssetReferenceInputRepresentationValidationError = validate$p(untrustedConfig_model);
5597
+ if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
5598
+ config.model = untrustedConfig_model;
5599
+ }
5600
+ const untrustedConfig_rows = untrustedConfig.rows;
5601
+ if (ArrayIsArray$1(untrustedConfig_rows)) {
5602
+ const untrustedConfig_rows_array = [];
5603
+ for (let i = 0, arrayLength = untrustedConfig_rows.length; i < arrayLength; i++) {
5604
+ const untrustedConfig_rows_item = untrustedConfig_rows[i];
5605
+ if (ArrayIsArray$1(untrustedConfig_rows_item)) {
5606
+ const untrustedConfig_rows_item_array = [];
5607
+ for (let i = 0, arrayLength = untrustedConfig_rows_item.length; i < arrayLength; i++) {
5608
+ const untrustedConfig_rows_item_item = untrustedConfig_rows_item[i];
5609
+ if (typeof untrustedConfig_rows_item_item === 'string') {
5610
+ untrustedConfig_rows_item_array.push(untrustedConfig_rows_item_item);
5611
+ }
5612
+ }
5613
+ untrustedConfig_rows_array.push(untrustedConfig_rows_item_array);
5614
+ }
5615
+ }
5616
+ config.rows = untrustedConfig_rows_array;
5617
+ }
5618
+ return config;
5619
+ }
5168
5620
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
5169
5621
  if (!untrustedIsObject(untrustedConfig)) {
5170
5622
  return null;
@@ -5196,15 +5648,15 @@ function buildNetworkSnapshot(luvio, config, options) {
5196
5648
  throw response;
5197
5649
  });
5198
5650
  }
5199
- const updateCdpMlConfiguredModelAdapterFactory = (luvio) => {
5200
- return function updateCdpMlConfiguredModel(untrustedConfig) {
5201
- const config = validateAdapterConfig(untrustedConfig, updateCdpMlConfiguredModel_ConfigPropertyNames);
5651
+ const createCdpMlPredictResultAdapterFactory = (luvio) => {
5652
+ return function createCdpMlPredictResult(untrustedConfig) {
5653
+ const config = validateAdapterConfig(untrustedConfig, createCdpMlPredictResult_ConfigPropertyNames);
5202
5654
  // Invalid or incomplete config
5203
5655
  if (config === null) {
5204
- throw new Error('Invalid config for "updateCdpMlConfiguredModel"');
5656
+ throw new Error('Invalid config for "createCdpMlPredictResult"');
5205
5657
  }
5206
5658
  return buildNetworkSnapshot(luvio, config);
5207
5659
  };
5208
5660
  };
5209
5661
 
5210
- export { createCdpMlConfiguredModelAdapterFactory, createMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelCollectionAdapterFactory, getCdpMlModelArtifactAdapterFactory, getCdpMlModelArtifactCollectionAdapterFactory, getCdpMlWorkspaceAdapterFactory, getCdpMlWorkspaceCollectionAdapterFactory, getMlConfiguredModelAdapterFactory, getMlConfiguredModelCollectionAdapterFactory, updateCdpMlConfiguredModelAdapterFactory, updateMlConfiguredModelAdapterFactory };
5662
+ export { createCdpMlConfiguredModelAdapterFactory, createCdpMlPredictResultAdapterFactory, createMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelAdapterFactory, getCdpMlConfiguredModelCollectionAdapterFactory, getCdpMlModelArtifactAdapterFactory, getCdpMlModelArtifactCollectionAdapterFactory, getCdpMlWorkspaceAdapterFactory, getCdpMlWorkspaceCollectionAdapterFactory, getMlConfiguredModelAdapterFactory, getMlConfiguredModelCollectionAdapterFactory, updateCdpMlConfiguredModelAdapterFactory, updateMlConfiguredModelAdapterFactory };