@salesforce/lds-adapters-platform-cdp-machine-learning 1.266.0-dev6 → 1.266.0-dev7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/platform-cdp-machine-learning.js +1474 -283
- package/dist/es/es2018/types/src/generated/adapters/createCdpMlConfiguredModel.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCdpMlConfiguredModel.d.ts +12 -9
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchSsotMachineLearningWorkspacesModelsByModelIdOrNameAndWorkspaceIdOrName.d.ts +12 -9
- package/dist/es/es2018/types/src/generated/resources/postSsotMachineLearningWorkspacesModelsByWorkspaceIdOrName.d.ts +12 -9
- package/dist/es/es2018/types/src/generated/types/CdpAssetBaseRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/CdpAssetReferenceInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CdpAssetReferenceRepresentation.d.ts +13 -13
- package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelInputRepresentation.d.ts +22 -19
- package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelRepresentation.d.ts +15 -15
- package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldDefinitionInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactBaseRepresentation.d.ts +11 -11
- package/dist/es/es2018/types/src/generated/types/CdpMlModelParameterOverrideInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CdpMlModelTypeRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceCollectionRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceDetailRepresentation.d.ts +27 -27
- package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceRepresentation.d.ts +23 -23
- package/package.json +3 -3
- package/sfdc/index.js +1406 -215
- package/src/raml/api.raml +131 -77
- package/src/raml/luvio.raml +1 -1
- package/dist/es/es2018/types/src/generated/adapters/createCdpMlConfiguredModelCollection.d.ts +0 -25
package/sfdc/index.js
CHANGED
|
@@ -89,6 +89,245 @@ function createLink(ref) {
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
function validate$s(obj, path = 'CdpMlCustomizableFieldDefinitionInputRepresentation') {
|
|
93
|
+
const v_error = (() => {
|
|
94
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
95
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
96
|
+
}
|
|
97
|
+
const obj_filter = obj.filter;
|
|
98
|
+
const path_filter = path + '.filter';
|
|
99
|
+
if (typeof obj_filter !== 'object' || ArrayIsArray(obj_filter) || obj_filter === null) {
|
|
100
|
+
return new TypeError('Expected "object" but received "' + typeof obj_filter + '" (at "' + path_filter + '")');
|
|
101
|
+
}
|
|
102
|
+
const obj_templateText = obj.templateText;
|
|
103
|
+
const path_templateText = path + '.templateText';
|
|
104
|
+
if (typeof obj_templateText !== 'string') {
|
|
105
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateText + '" (at "' + path_templateText + '")');
|
|
106
|
+
}
|
|
107
|
+
})();
|
|
108
|
+
return v_error === undefined ? null : v_error;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function validate$r(obj, path = 'CdpMlCustomizableFieldInputRepresentation') {
|
|
112
|
+
const v_error = (() => {
|
|
113
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
114
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
115
|
+
}
|
|
116
|
+
const obj_customDefinitions = obj.customDefinitions;
|
|
117
|
+
const path_customDefinitions = path + '.customDefinitions';
|
|
118
|
+
if (!ArrayIsArray(obj_customDefinitions)) {
|
|
119
|
+
return new TypeError('Expected "array" but received "' + typeof obj_customDefinitions + '" (at "' + path_customDefinitions + '")');
|
|
120
|
+
}
|
|
121
|
+
for (let i = 0; i < obj_customDefinitions.length; i++) {
|
|
122
|
+
const obj_customDefinitions_item = obj_customDefinitions[i];
|
|
123
|
+
const path_customDefinitions_item = path_customDefinitions + '[' + i + ']';
|
|
124
|
+
const referencepath_customDefinitions_itemValidationError = validate$s(obj_customDefinitions_item, path_customDefinitions_item);
|
|
125
|
+
if (referencepath_customDefinitions_itemValidationError !== null) {
|
|
126
|
+
let message = 'Object doesn\'t match CdpMlCustomizableFieldDefinitionInputRepresentation (at "' + path_customDefinitions_item + '")\n';
|
|
127
|
+
message += referencepath_customDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
128
|
+
return new TypeError(message);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
const obj_name = obj.name;
|
|
132
|
+
const path_name = path + '.name';
|
|
133
|
+
if (typeof obj_name !== 'string') {
|
|
134
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
135
|
+
}
|
|
136
|
+
const obj_type = obj.type;
|
|
137
|
+
const path_type = path + '.type';
|
|
138
|
+
if (typeof obj_type !== 'string') {
|
|
139
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
140
|
+
}
|
|
141
|
+
})();
|
|
142
|
+
return v_error === undefined ? null : v_error;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
function validate$q(obj, path = 'CdpAssetReferenceInputRepresentation') {
|
|
146
|
+
const v_error = (() => {
|
|
147
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
148
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
149
|
+
}
|
|
150
|
+
if (obj.id !== undefined) {
|
|
151
|
+
const obj_id = obj.id;
|
|
152
|
+
const path_id = path + '.id';
|
|
153
|
+
let obj_id_union0 = null;
|
|
154
|
+
const obj_id_union0_error = (() => {
|
|
155
|
+
if (typeof obj_id !== 'string') {
|
|
156
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
157
|
+
}
|
|
158
|
+
})();
|
|
159
|
+
if (obj_id_union0_error != null) {
|
|
160
|
+
obj_id_union0 = obj_id_union0_error.message;
|
|
161
|
+
}
|
|
162
|
+
let obj_id_union1 = null;
|
|
163
|
+
const obj_id_union1_error = (() => {
|
|
164
|
+
if (obj_id !== null) {
|
|
165
|
+
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
166
|
+
}
|
|
167
|
+
})();
|
|
168
|
+
if (obj_id_union1_error != null) {
|
|
169
|
+
obj_id_union1 = obj_id_union1_error.message;
|
|
170
|
+
}
|
|
171
|
+
if (obj_id_union0 && obj_id_union1) {
|
|
172
|
+
let message = 'Object doesn\'t match union (at "' + path_id + '")';
|
|
173
|
+
message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
174
|
+
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
175
|
+
return new TypeError(message);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
if (obj.name !== undefined) {
|
|
179
|
+
const obj_name = obj.name;
|
|
180
|
+
const path_name = path + '.name';
|
|
181
|
+
let obj_name_union0 = null;
|
|
182
|
+
const obj_name_union0_error = (() => {
|
|
183
|
+
if (typeof obj_name !== 'string') {
|
|
184
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
185
|
+
}
|
|
186
|
+
})();
|
|
187
|
+
if (obj_name_union0_error != null) {
|
|
188
|
+
obj_name_union0 = obj_name_union0_error.message;
|
|
189
|
+
}
|
|
190
|
+
let obj_name_union1 = null;
|
|
191
|
+
const obj_name_union1_error = (() => {
|
|
192
|
+
if (obj_name !== null) {
|
|
193
|
+
return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
194
|
+
}
|
|
195
|
+
})();
|
|
196
|
+
if (obj_name_union1_error != null) {
|
|
197
|
+
obj_name_union1 = obj_name_union1_error.message;
|
|
198
|
+
}
|
|
199
|
+
if (obj_name_union0 && obj_name_union1) {
|
|
200
|
+
let message = 'Object doesn\'t match union (at "' + path_name + '")';
|
|
201
|
+
message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
202
|
+
message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
203
|
+
return new TypeError(message);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
if (obj.namespace !== undefined) {
|
|
207
|
+
const obj_namespace = obj.namespace;
|
|
208
|
+
const path_namespace = path + '.namespace';
|
|
209
|
+
let obj_namespace_union0 = null;
|
|
210
|
+
const obj_namespace_union0_error = (() => {
|
|
211
|
+
if (typeof obj_namespace !== 'string') {
|
|
212
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
213
|
+
}
|
|
214
|
+
})();
|
|
215
|
+
if (obj_namespace_union0_error != null) {
|
|
216
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
217
|
+
}
|
|
218
|
+
let obj_namespace_union1 = null;
|
|
219
|
+
const obj_namespace_union1_error = (() => {
|
|
220
|
+
if (obj_namespace !== null) {
|
|
221
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
222
|
+
}
|
|
223
|
+
})();
|
|
224
|
+
if (obj_namespace_union1_error != null) {
|
|
225
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
226
|
+
}
|
|
227
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
228
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
229
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
230
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
231
|
+
return new TypeError(message);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
})();
|
|
235
|
+
return v_error === undefined ? null : v_error;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
function validate$p(obj, path = 'CdpMlModelParameterOverrideInputRepresentation') {
|
|
239
|
+
const v_error = (() => {
|
|
240
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
241
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
242
|
+
}
|
|
243
|
+
if (obj.continuousValue !== undefined) {
|
|
244
|
+
const obj_continuousValue = obj.continuousValue;
|
|
245
|
+
const path_continuousValue = path + '.continuousValue';
|
|
246
|
+
let obj_continuousValue_union0 = null;
|
|
247
|
+
const obj_continuousValue_union0_error = (() => {
|
|
248
|
+
if (typeof obj_continuousValue !== 'number') {
|
|
249
|
+
return new TypeError('Expected "number" but received "' + typeof obj_continuousValue + '" (at "' + path_continuousValue + '")');
|
|
250
|
+
}
|
|
251
|
+
})();
|
|
252
|
+
if (obj_continuousValue_union0_error != null) {
|
|
253
|
+
obj_continuousValue_union0 = obj_continuousValue_union0_error.message;
|
|
254
|
+
}
|
|
255
|
+
let obj_continuousValue_union1 = null;
|
|
256
|
+
const obj_continuousValue_union1_error = (() => {
|
|
257
|
+
if (obj_continuousValue !== null) {
|
|
258
|
+
return new TypeError('Expected "null" but received "' + typeof obj_continuousValue + '" (at "' + path_continuousValue + '")');
|
|
259
|
+
}
|
|
260
|
+
})();
|
|
261
|
+
if (obj_continuousValue_union1_error != null) {
|
|
262
|
+
obj_continuousValue_union1 = obj_continuousValue_union1_error.message;
|
|
263
|
+
}
|
|
264
|
+
if (obj_continuousValue_union0 && obj_continuousValue_union1) {
|
|
265
|
+
let message = 'Object doesn\'t match union (at "' + path_continuousValue + '")';
|
|
266
|
+
message += '\n' + obj_continuousValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
267
|
+
message += '\n' + obj_continuousValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
268
|
+
return new TypeError(message);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
if (obj.discreteValue !== undefined) {
|
|
272
|
+
const obj_discreteValue = obj.discreteValue;
|
|
273
|
+
const path_discreteValue = path + '.discreteValue';
|
|
274
|
+
let obj_discreteValue_union0 = null;
|
|
275
|
+
const obj_discreteValue_union0_error = (() => {
|
|
276
|
+
if (typeof obj_discreteValue !== 'string') {
|
|
277
|
+
return new TypeError('Expected "string" but received "' + typeof obj_discreteValue + '" (at "' + path_discreteValue + '")');
|
|
278
|
+
}
|
|
279
|
+
})();
|
|
280
|
+
if (obj_discreteValue_union0_error != null) {
|
|
281
|
+
obj_discreteValue_union0 = obj_discreteValue_union0_error.message;
|
|
282
|
+
}
|
|
283
|
+
let obj_discreteValue_union1 = null;
|
|
284
|
+
const obj_discreteValue_union1_error = (() => {
|
|
285
|
+
if (obj_discreteValue !== null) {
|
|
286
|
+
return new TypeError('Expected "null" but received "' + typeof obj_discreteValue + '" (at "' + path_discreteValue + '")');
|
|
287
|
+
}
|
|
288
|
+
})();
|
|
289
|
+
if (obj_discreteValue_union1_error != null) {
|
|
290
|
+
obj_discreteValue_union1 = obj_discreteValue_union1_error.message;
|
|
291
|
+
}
|
|
292
|
+
if (obj_discreteValue_union0 && obj_discreteValue_union1) {
|
|
293
|
+
let message = 'Object doesn\'t match union (at "' + path_discreteValue + '")';
|
|
294
|
+
message += '\n' + obj_discreteValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
295
|
+
message += '\n' + obj_discreteValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
296
|
+
return new TypeError(message);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
if (obj.parameterName !== undefined) {
|
|
300
|
+
const obj_parameterName = obj.parameterName;
|
|
301
|
+
const path_parameterName = path + '.parameterName';
|
|
302
|
+
let obj_parameterName_union0 = null;
|
|
303
|
+
const obj_parameterName_union0_error = (() => {
|
|
304
|
+
if (typeof obj_parameterName !== 'string') {
|
|
305
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
|
|
306
|
+
}
|
|
307
|
+
})();
|
|
308
|
+
if (obj_parameterName_union0_error != null) {
|
|
309
|
+
obj_parameterName_union0 = obj_parameterName_union0_error.message;
|
|
310
|
+
}
|
|
311
|
+
let obj_parameterName_union1 = null;
|
|
312
|
+
const obj_parameterName_union1_error = (() => {
|
|
313
|
+
if (obj_parameterName !== null) {
|
|
314
|
+
return new TypeError('Expected "null" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
|
|
315
|
+
}
|
|
316
|
+
})();
|
|
317
|
+
if (obj_parameterName_union1_error != null) {
|
|
318
|
+
obj_parameterName_union1 = obj_parameterName_union1_error.message;
|
|
319
|
+
}
|
|
320
|
+
if (obj_parameterName_union0 && obj_parameterName_union1) {
|
|
321
|
+
let message = 'Object doesn\'t match union (at "' + path_parameterName + '")';
|
|
322
|
+
message += '\n' + obj_parameterName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
323
|
+
message += '\n' + obj_parameterName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
324
|
+
return new TypeError(message);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
})();
|
|
328
|
+
return v_error === undefined ? null : v_error;
|
|
329
|
+
}
|
|
330
|
+
|
|
92
331
|
function validate$o(obj, path = 'CdpMlFilterValueRepresentation') {
|
|
93
332
|
const v_error = (() => {
|
|
94
333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -301,8 +540,29 @@ function validate$h(obj, path = 'CdpAssetReferenceRepresentation') {
|
|
|
301
540
|
if (obj.createdDate !== undefined) {
|
|
302
541
|
const obj_createdDate = obj.createdDate;
|
|
303
542
|
const path_createdDate = path + '.createdDate';
|
|
304
|
-
|
|
305
|
-
|
|
543
|
+
let obj_createdDate_union0 = null;
|
|
544
|
+
const obj_createdDate_union0_error = (() => {
|
|
545
|
+
if (typeof obj_createdDate !== 'string') {
|
|
546
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
547
|
+
}
|
|
548
|
+
})();
|
|
549
|
+
if (obj_createdDate_union0_error != null) {
|
|
550
|
+
obj_createdDate_union0 = obj_createdDate_union0_error.message;
|
|
551
|
+
}
|
|
552
|
+
let obj_createdDate_union1 = null;
|
|
553
|
+
const obj_createdDate_union1_error = (() => {
|
|
554
|
+
if (obj_createdDate !== null) {
|
|
555
|
+
return new TypeError('Expected "null" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
556
|
+
}
|
|
557
|
+
})();
|
|
558
|
+
if (obj_createdDate_union1_error != null) {
|
|
559
|
+
obj_createdDate_union1 = obj_createdDate_union1_error.message;
|
|
560
|
+
}
|
|
561
|
+
if (obj_createdDate_union0 && obj_createdDate_union1) {
|
|
562
|
+
let message = 'Object doesn\'t match union (at "' + path_createdDate + '")';
|
|
563
|
+
message += '\n' + obj_createdDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
564
|
+
message += '\n' + obj_createdDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
565
|
+
return new TypeError(message);
|
|
306
566
|
}
|
|
307
567
|
}
|
|
308
568
|
if (obj.id !== undefined) {
|
|
@@ -315,8 +575,29 @@ function validate$h(obj, path = 'CdpAssetReferenceRepresentation') {
|
|
|
315
575
|
if (obj.label !== undefined) {
|
|
316
576
|
const obj_label = obj.label;
|
|
317
577
|
const path_label = path + '.label';
|
|
318
|
-
|
|
319
|
-
|
|
578
|
+
let obj_label_union0 = null;
|
|
579
|
+
const obj_label_union0_error = (() => {
|
|
580
|
+
if (typeof obj_label !== 'string') {
|
|
581
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
582
|
+
}
|
|
583
|
+
})();
|
|
584
|
+
if (obj_label_union0_error != null) {
|
|
585
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
586
|
+
}
|
|
587
|
+
let obj_label_union1 = null;
|
|
588
|
+
const obj_label_union1_error = (() => {
|
|
589
|
+
if (obj_label !== null) {
|
|
590
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
591
|
+
}
|
|
592
|
+
})();
|
|
593
|
+
if (obj_label_union1_error != null) {
|
|
594
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
595
|
+
}
|
|
596
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
597
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
598
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
599
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
600
|
+
return new TypeError(message);
|
|
320
601
|
}
|
|
321
602
|
}
|
|
322
603
|
if (obj.lastModifiedBy !== undefined) {
|
|
@@ -332,29 +613,113 @@ function validate$h(obj, path = 'CdpAssetReferenceRepresentation') {
|
|
|
332
613
|
if (obj.lastModifiedDate !== undefined) {
|
|
333
614
|
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
334
615
|
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
335
|
-
|
|
336
|
-
|
|
616
|
+
let obj_lastModifiedDate_union0 = null;
|
|
617
|
+
const obj_lastModifiedDate_union0_error = (() => {
|
|
618
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
619
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
620
|
+
}
|
|
621
|
+
})();
|
|
622
|
+
if (obj_lastModifiedDate_union0_error != null) {
|
|
623
|
+
obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
|
|
624
|
+
}
|
|
625
|
+
let obj_lastModifiedDate_union1 = null;
|
|
626
|
+
const obj_lastModifiedDate_union1_error = (() => {
|
|
627
|
+
if (obj_lastModifiedDate !== null) {
|
|
628
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
629
|
+
}
|
|
630
|
+
})();
|
|
631
|
+
if (obj_lastModifiedDate_union1_error != null) {
|
|
632
|
+
obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
|
|
633
|
+
}
|
|
634
|
+
if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
|
|
635
|
+
let message = 'Object doesn\'t match union (at "' + path_lastModifiedDate + '")';
|
|
636
|
+
message += '\n' + obj_lastModifiedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
637
|
+
message += '\n' + obj_lastModifiedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
638
|
+
return new TypeError(message);
|
|
337
639
|
}
|
|
338
640
|
}
|
|
339
641
|
if (obj.name !== undefined) {
|
|
340
642
|
const obj_name = obj.name;
|
|
341
643
|
const path_name = path + '.name';
|
|
342
|
-
|
|
343
|
-
|
|
644
|
+
let obj_name_union0 = null;
|
|
645
|
+
const obj_name_union0_error = (() => {
|
|
646
|
+
if (typeof obj_name !== 'string') {
|
|
647
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
648
|
+
}
|
|
649
|
+
})();
|
|
650
|
+
if (obj_name_union0_error != null) {
|
|
651
|
+
obj_name_union0 = obj_name_union0_error.message;
|
|
652
|
+
}
|
|
653
|
+
let obj_name_union1 = null;
|
|
654
|
+
const obj_name_union1_error = (() => {
|
|
655
|
+
if (obj_name !== null) {
|
|
656
|
+
return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
657
|
+
}
|
|
658
|
+
})();
|
|
659
|
+
if (obj_name_union1_error != null) {
|
|
660
|
+
obj_name_union1 = obj_name_union1_error.message;
|
|
661
|
+
}
|
|
662
|
+
if (obj_name_union0 && obj_name_union1) {
|
|
663
|
+
let message = 'Object doesn\'t match union (at "' + path_name + '")';
|
|
664
|
+
message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
665
|
+
message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
666
|
+
return new TypeError(message);
|
|
344
667
|
}
|
|
345
668
|
}
|
|
346
669
|
if (obj.namespace !== undefined) {
|
|
347
670
|
const obj_namespace = obj.namespace;
|
|
348
671
|
const path_namespace = path + '.namespace';
|
|
349
|
-
|
|
350
|
-
|
|
672
|
+
let obj_namespace_union0 = null;
|
|
673
|
+
const obj_namespace_union0_error = (() => {
|
|
674
|
+
if (typeof obj_namespace !== 'string') {
|
|
675
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
676
|
+
}
|
|
677
|
+
})();
|
|
678
|
+
if (obj_namespace_union0_error != null) {
|
|
679
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
680
|
+
}
|
|
681
|
+
let obj_namespace_union1 = null;
|
|
682
|
+
const obj_namespace_union1_error = (() => {
|
|
683
|
+
if (obj_namespace !== null) {
|
|
684
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
685
|
+
}
|
|
686
|
+
})();
|
|
687
|
+
if (obj_namespace_union1_error != null) {
|
|
688
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
689
|
+
}
|
|
690
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
691
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
692
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
693
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
694
|
+
return new TypeError(message);
|
|
351
695
|
}
|
|
352
696
|
}
|
|
353
697
|
if (obj.url !== undefined) {
|
|
354
698
|
const obj_url = obj.url;
|
|
355
699
|
const path_url = path + '.url';
|
|
356
|
-
|
|
357
|
-
|
|
700
|
+
let obj_url_union0 = null;
|
|
701
|
+
const obj_url_union0_error = (() => {
|
|
702
|
+
if (typeof obj_url !== 'string') {
|
|
703
|
+
return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
704
|
+
}
|
|
705
|
+
})();
|
|
706
|
+
if (obj_url_union0_error != null) {
|
|
707
|
+
obj_url_union0 = obj_url_union0_error.message;
|
|
708
|
+
}
|
|
709
|
+
let obj_url_union1 = null;
|
|
710
|
+
const obj_url_union1_error = (() => {
|
|
711
|
+
if (obj_url !== null) {
|
|
712
|
+
return new TypeError('Expected "null" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
713
|
+
}
|
|
714
|
+
})();
|
|
715
|
+
if (obj_url_union1_error != null) {
|
|
716
|
+
obj_url_union1 = obj_url_union1_error.message;
|
|
717
|
+
}
|
|
718
|
+
if (obj_url_union0 && obj_url_union1) {
|
|
719
|
+
let message = 'Object doesn\'t match union (at "' + path_url + '")';
|
|
720
|
+
message += '\n' + obj_url_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
721
|
+
message += '\n' + obj_url_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
722
|
+
return new TypeError(message);
|
|
358
723
|
}
|
|
359
724
|
}
|
|
360
725
|
})();
|
|
@@ -389,25 +754,27 @@ function keyBuilderFromType$1(luvio, object) {
|
|
|
389
754
|
}
|
|
390
755
|
|
|
391
756
|
const TTL$5 = 1000;
|
|
392
|
-
const VERSION$5 = "
|
|
757
|
+
const VERSION$5 = "f9608bc4ae3825a8da2fc0992ae87b6e";
|
|
393
758
|
function validate$f(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
394
759
|
const v_error = (() => {
|
|
395
760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
396
761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
397
762
|
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
763
|
+
if (obj.actionableFields !== undefined) {
|
|
764
|
+
const obj_actionableFields = obj.actionableFields;
|
|
765
|
+
const path_actionableFields = path + '.actionableFields';
|
|
766
|
+
if (!ArrayIsArray(obj_actionableFields)) {
|
|
767
|
+
return new TypeError('Expected "array" but received "' + typeof obj_actionableFields + '" (at "' + path_actionableFields + '")');
|
|
768
|
+
}
|
|
769
|
+
for (let i = 0; i < obj_actionableFields.length; i++) {
|
|
770
|
+
const obj_actionableFields_item = obj_actionableFields[i];
|
|
771
|
+
const path_actionableFields_item = path_actionableFields + '[' + i + ']';
|
|
772
|
+
const referencepath_actionableFields_itemValidationError = validate$j(obj_actionableFields_item, path_actionableFields_item);
|
|
773
|
+
if (referencepath_actionableFields_itemValidationError !== null) {
|
|
774
|
+
let message = 'Object doesn\'t match CdpMlCustomizableFieldRepresentation (at "' + path_actionableFields_item + '")\n';
|
|
775
|
+
message += referencepath_actionableFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
776
|
+
return new TypeError(message);
|
|
777
|
+
}
|
|
411
778
|
}
|
|
412
779
|
}
|
|
413
780
|
const obj_artifact = obj.artifact;
|
|
@@ -436,8 +803,29 @@ function validate$f(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
436
803
|
if (obj.createdDate !== undefined) {
|
|
437
804
|
const obj_createdDate = obj.createdDate;
|
|
438
805
|
const path_createdDate = path + '.createdDate';
|
|
439
|
-
|
|
440
|
-
|
|
806
|
+
let obj_createdDate_union0 = null;
|
|
807
|
+
const obj_createdDate_union0_error = (() => {
|
|
808
|
+
if (typeof obj_createdDate !== 'string') {
|
|
809
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
810
|
+
}
|
|
811
|
+
})();
|
|
812
|
+
if (obj_createdDate_union0_error != null) {
|
|
813
|
+
obj_createdDate_union0 = obj_createdDate_union0_error.message;
|
|
814
|
+
}
|
|
815
|
+
let obj_createdDate_union1 = null;
|
|
816
|
+
const obj_createdDate_union1_error = (() => {
|
|
817
|
+
if (obj_createdDate !== null) {
|
|
818
|
+
return new TypeError('Expected "null" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
819
|
+
}
|
|
820
|
+
})();
|
|
821
|
+
if (obj_createdDate_union1_error != null) {
|
|
822
|
+
obj_createdDate_union1 = obj_createdDate_union1_error.message;
|
|
823
|
+
}
|
|
824
|
+
if (obj_createdDate_union0 && obj_createdDate_union1) {
|
|
825
|
+
let message = 'Object doesn\'t match union (at "' + path_createdDate + '")';
|
|
826
|
+
message += '\n' + obj_createdDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
827
|
+
message += '\n' + obj_createdDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
828
|
+
return new TypeError(message);
|
|
441
829
|
}
|
|
442
830
|
}
|
|
443
831
|
const obj_customizableFields = obj.customizableFields;
|
|
@@ -458,8 +846,29 @@ function validate$f(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
458
846
|
if (obj.description !== undefined) {
|
|
459
847
|
const obj_description = obj.description;
|
|
460
848
|
const path_description = path + '.description';
|
|
461
|
-
|
|
462
|
-
|
|
849
|
+
let obj_description_union0 = null;
|
|
850
|
+
const obj_description_union0_error = (() => {
|
|
851
|
+
if (typeof obj_description !== 'string') {
|
|
852
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
853
|
+
}
|
|
854
|
+
})();
|
|
855
|
+
if (obj_description_union0_error != null) {
|
|
856
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
857
|
+
}
|
|
858
|
+
let obj_description_union1 = null;
|
|
859
|
+
const obj_description_union1_error = (() => {
|
|
860
|
+
if (obj_description !== null) {
|
|
861
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
862
|
+
}
|
|
863
|
+
})();
|
|
864
|
+
if (obj_description_union1_error != null) {
|
|
865
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
866
|
+
}
|
|
867
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
868
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
869
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
870
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
871
|
+
return new TypeError(message);
|
|
463
872
|
}
|
|
464
873
|
}
|
|
465
874
|
const obj_filter = obj.filter;
|
|
@@ -480,8 +889,29 @@ function validate$f(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
480
889
|
if (obj.label !== undefined) {
|
|
481
890
|
const obj_label = obj.label;
|
|
482
891
|
const path_label = path + '.label';
|
|
483
|
-
|
|
484
|
-
|
|
892
|
+
let obj_label_union0 = null;
|
|
893
|
+
const obj_label_union0_error = (() => {
|
|
894
|
+
if (typeof obj_label !== 'string') {
|
|
895
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
896
|
+
}
|
|
897
|
+
})();
|
|
898
|
+
if (obj_label_union0_error != null) {
|
|
899
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
900
|
+
}
|
|
901
|
+
let obj_label_union1 = null;
|
|
902
|
+
const obj_label_union1_error = (() => {
|
|
903
|
+
if (obj_label !== null) {
|
|
904
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
905
|
+
}
|
|
906
|
+
})();
|
|
907
|
+
if (obj_label_union1_error != null) {
|
|
908
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
909
|
+
}
|
|
910
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
911
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
912
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
913
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
914
|
+
return new TypeError(message);
|
|
485
915
|
}
|
|
486
916
|
}
|
|
487
917
|
if (obj.lastActivatedBy !== undefined) {
|
|
@@ -514,15 +944,57 @@ function validate$f(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
514
944
|
if (obj.lastModifiedDate !== undefined) {
|
|
515
945
|
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
516
946
|
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
517
|
-
|
|
518
|
-
|
|
947
|
+
let obj_lastModifiedDate_union0 = null;
|
|
948
|
+
const obj_lastModifiedDate_union0_error = (() => {
|
|
949
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
950
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
951
|
+
}
|
|
952
|
+
})();
|
|
953
|
+
if (obj_lastModifiedDate_union0_error != null) {
|
|
954
|
+
obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
|
|
955
|
+
}
|
|
956
|
+
let obj_lastModifiedDate_union1 = null;
|
|
957
|
+
const obj_lastModifiedDate_union1_error = (() => {
|
|
958
|
+
if (obj_lastModifiedDate !== null) {
|
|
959
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
960
|
+
}
|
|
961
|
+
})();
|
|
962
|
+
if (obj_lastModifiedDate_union1_error != null) {
|
|
963
|
+
obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
|
|
964
|
+
}
|
|
965
|
+
if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
|
|
966
|
+
let message = 'Object doesn\'t match union (at "' + path_lastModifiedDate + '")';
|
|
967
|
+
message += '\n' + obj_lastModifiedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
968
|
+
message += '\n' + obj_lastModifiedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
969
|
+
return new TypeError(message);
|
|
519
970
|
}
|
|
520
971
|
}
|
|
521
972
|
if (obj.metricsUrl !== undefined) {
|
|
522
973
|
const obj_metricsUrl = obj.metricsUrl;
|
|
523
974
|
const path_metricsUrl = path + '.metricsUrl';
|
|
524
|
-
|
|
525
|
-
|
|
975
|
+
let obj_metricsUrl_union0 = null;
|
|
976
|
+
const obj_metricsUrl_union0_error = (() => {
|
|
977
|
+
if (typeof obj_metricsUrl !== 'string') {
|
|
978
|
+
return new TypeError('Expected "string" but received "' + typeof obj_metricsUrl + '" (at "' + path_metricsUrl + '")');
|
|
979
|
+
}
|
|
980
|
+
})();
|
|
981
|
+
if (obj_metricsUrl_union0_error != null) {
|
|
982
|
+
obj_metricsUrl_union0 = obj_metricsUrl_union0_error.message;
|
|
983
|
+
}
|
|
984
|
+
let obj_metricsUrl_union1 = null;
|
|
985
|
+
const obj_metricsUrl_union1_error = (() => {
|
|
986
|
+
if (obj_metricsUrl !== null) {
|
|
987
|
+
return new TypeError('Expected "null" but received "' + typeof obj_metricsUrl + '" (at "' + path_metricsUrl + '")');
|
|
988
|
+
}
|
|
989
|
+
})();
|
|
990
|
+
if (obj_metricsUrl_union1_error != null) {
|
|
991
|
+
obj_metricsUrl_union1 = obj_metricsUrl_union1_error.message;
|
|
992
|
+
}
|
|
993
|
+
if (obj_metricsUrl_union0 && obj_metricsUrl_union1) {
|
|
994
|
+
let message = 'Object doesn\'t match union (at "' + path_metricsUrl + '")';
|
|
995
|
+
message += '\n' + obj_metricsUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
996
|
+
message += '\n' + obj_metricsUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
997
|
+
return new TypeError(message);
|
|
526
998
|
}
|
|
527
999
|
}
|
|
528
1000
|
const obj_name = obj.name;
|
|
@@ -530,10 +1002,33 @@ function validate$f(obj, path = 'CdpMlConfiguredModelRepresentation') {
|
|
|
530
1002
|
if (typeof obj_name !== 'string') {
|
|
531
1003
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
532
1004
|
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
1005
|
+
if (obj.namespace !== undefined) {
|
|
1006
|
+
const obj_namespace = obj.namespace;
|
|
1007
|
+
const path_namespace = path + '.namespace';
|
|
1008
|
+
let obj_namespace_union0 = null;
|
|
1009
|
+
const obj_namespace_union0_error = (() => {
|
|
1010
|
+
if (typeof obj_namespace !== 'string') {
|
|
1011
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1012
|
+
}
|
|
1013
|
+
})();
|
|
1014
|
+
if (obj_namespace_union0_error != null) {
|
|
1015
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
1016
|
+
}
|
|
1017
|
+
let obj_namespace_union1 = null;
|
|
1018
|
+
const obj_namespace_union1_error = (() => {
|
|
1019
|
+
if (obj_namespace !== null) {
|
|
1020
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1021
|
+
}
|
|
1022
|
+
})();
|
|
1023
|
+
if (obj_namespace_union1_error != null) {
|
|
1024
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
1025
|
+
}
|
|
1026
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
1027
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
1028
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1029
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1030
|
+
return new TypeError(message);
|
|
1031
|
+
}
|
|
537
1032
|
}
|
|
538
1033
|
const obj_parameterOverrides = obj.parameterOverrides;
|
|
539
1034
|
const path_parameterOverrides = path + '.parameterOverrides';
|
|
@@ -645,60 +1140,61 @@ function createResourceRequest$7(config) {
|
|
|
645
1140
|
};
|
|
646
1141
|
}
|
|
647
1142
|
|
|
648
|
-
const adapterName$7 = '
|
|
649
|
-
const
|
|
1143
|
+
const adapterName$7 = 'createCdpMlConfiguredModel';
|
|
1144
|
+
const createCdpMlConfiguredModel_ConfigPropertyMetadata = [
|
|
650
1145
|
generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
651
|
-
generateParamConfigMetadata('actionableFields',
|
|
1146
|
+
generateParamConfigMetadata('actionableFields', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
652
1147
|
generateParamConfigMetadata('artifact', false, 2 /* Body */, 4 /* Unsupported */),
|
|
653
|
-
generateParamConfigMetadata('capability',
|
|
654
|
-
generateParamConfigMetadata('customizableFields',
|
|
655
|
-
generateParamConfigMetadata('description', false, 2 /* Body */,
|
|
1148
|
+
generateParamConfigMetadata('capability', false, 2 /* Body */, 0 /* String */),
|
|
1149
|
+
generateParamConfigMetadata('customizableFields', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
1150
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 4 /* Unsupported */),
|
|
656
1151
|
generateParamConfigMetadata('filter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
657
|
-
generateParamConfigMetadata('label', false, 2 /* Body */,
|
|
658
|
-
generateParamConfigMetadata('parameterOverrides',
|
|
659
|
-
generateParamConfigMetadata('position',
|
|
660
|
-
generateParamConfigMetadata('status',
|
|
1152
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1153
|
+
generateParamConfigMetadata('parameterOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
1154
|
+
generateParamConfigMetadata('position', false, 2 /* Body */, 3 /* Integer */),
|
|
1155
|
+
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
661
1156
|
];
|
|
662
|
-
const
|
|
663
|
-
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(
|
|
1157
|
+
const createCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createCdpMlConfiguredModel_ConfigPropertyMetadata);
|
|
1158
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(createCdpMlConfiguredModel_ConfigPropertyMetadata);
|
|
664
1159
|
function typeCheckConfig$7(untrustedConfig) {
|
|
665
1160
|
const config = {};
|
|
666
|
-
typeCheckConfig$8(untrustedConfig, config,
|
|
1161
|
+
typeCheckConfig$8(untrustedConfig, config, createCdpMlConfiguredModel_ConfigPropertyMetadata);
|
|
667
1162
|
const untrustedConfig_actionableFields = untrustedConfig.actionableFields;
|
|
668
1163
|
if (ArrayIsArray$1(untrustedConfig_actionableFields)) {
|
|
669
1164
|
const untrustedConfig_actionableFields_array = [];
|
|
670
1165
|
for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
|
|
671
1166
|
const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item_object);
|
|
676
|
-
}
|
|
1167
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$r(untrustedConfig_actionableFields_item);
|
|
1168
|
+
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
1169
|
+
untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
|
|
677
1170
|
}
|
|
678
1171
|
}
|
|
679
1172
|
config.actionableFields = untrustedConfig_actionableFields_array;
|
|
680
1173
|
}
|
|
681
1174
|
const untrustedConfig_artifact = untrustedConfig.artifact;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
config.artifact = untrustedConfig_artifact_object;
|
|
686
|
-
}
|
|
1175
|
+
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$q(untrustedConfig_artifact);
|
|
1176
|
+
if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
|
|
1177
|
+
config.artifact = untrustedConfig_artifact;
|
|
687
1178
|
}
|
|
688
1179
|
const untrustedConfig_customizableFields = untrustedConfig.customizableFields;
|
|
689
1180
|
if (ArrayIsArray$1(untrustedConfig_customizableFields)) {
|
|
690
1181
|
const untrustedConfig_customizableFields_array = [];
|
|
691
1182
|
for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
|
|
692
1183
|
const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item_object);
|
|
697
|
-
}
|
|
1184
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$r(untrustedConfig_customizableFields_item);
|
|
1185
|
+
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
1186
|
+
untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
|
|
698
1187
|
}
|
|
699
1188
|
}
|
|
700
1189
|
config.customizableFields = untrustedConfig_customizableFields_array;
|
|
701
1190
|
}
|
|
1191
|
+
const untrustedConfig_description = untrustedConfig.description;
|
|
1192
|
+
if (typeof untrustedConfig_description === 'string') {
|
|
1193
|
+
config.description = untrustedConfig_description;
|
|
1194
|
+
}
|
|
1195
|
+
if (untrustedConfig_description === null) {
|
|
1196
|
+
config.description = untrustedConfig_description;
|
|
1197
|
+
}
|
|
702
1198
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
703
1199
|
if (untrustedIsObject(untrustedConfig_filter)) {
|
|
704
1200
|
const untrustedConfig_filter_object = {};
|
|
@@ -706,16 +1202,21 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
706
1202
|
config.filter = untrustedConfig_filter_object;
|
|
707
1203
|
}
|
|
708
1204
|
}
|
|
1205
|
+
const untrustedConfig_label = untrustedConfig.label;
|
|
1206
|
+
if (typeof untrustedConfig_label === 'string') {
|
|
1207
|
+
config.label = untrustedConfig_label;
|
|
1208
|
+
}
|
|
1209
|
+
if (untrustedConfig_label === null) {
|
|
1210
|
+
config.label = untrustedConfig_label;
|
|
1211
|
+
}
|
|
709
1212
|
const untrustedConfig_parameterOverrides = untrustedConfig.parameterOverrides;
|
|
710
1213
|
if (ArrayIsArray$1(untrustedConfig_parameterOverrides)) {
|
|
711
1214
|
const untrustedConfig_parameterOverrides_array = [];
|
|
712
1215
|
for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
|
|
713
1216
|
const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item_object);
|
|
718
|
-
}
|
|
1217
|
+
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$p(untrustedConfig_parameterOverrides_item);
|
|
1218
|
+
if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
|
|
1219
|
+
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
|
|
719
1220
|
}
|
|
720
1221
|
}
|
|
721
1222
|
config.parameterOverrides = untrustedConfig_parameterOverrides_array;
|
|
@@ -753,12 +1254,12 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
753
1254
|
throw response;
|
|
754
1255
|
});
|
|
755
1256
|
}
|
|
756
|
-
const
|
|
757
|
-
return function
|
|
758
|
-
const config = validateAdapterConfig$7(untrustedConfig,
|
|
1257
|
+
const createCdpMlConfiguredModelAdapterFactory = (luvio) => {
|
|
1258
|
+
return function createCdpMlConfiguredModel(untrustedConfig) {
|
|
1259
|
+
const config = validateAdapterConfig$7(untrustedConfig, createCdpMlConfiguredModel_ConfigPropertyNames);
|
|
759
1260
|
// Invalid or incomplete config
|
|
760
1261
|
if (config === null) {
|
|
761
|
-
throw new Error('Invalid config for "
|
|
1262
|
+
throw new Error('Invalid config for "createCdpMlConfiguredModel"');
|
|
762
1263
|
}
|
|
763
1264
|
return buildNetworkSnapshot$7(luvio, config);
|
|
764
1265
|
};
|
|
@@ -1172,7 +1673,7 @@ function validate$c(obj, path = 'CdpMlModelParameterDefinitionBaseRepresentation
|
|
|
1172
1673
|
}
|
|
1173
1674
|
|
|
1174
1675
|
const TTL$3 = 1000;
|
|
1175
|
-
const VERSION$3 = "
|
|
1676
|
+
const VERSION$3 = "6d28f4bb028ba6cba885d3f305c117f4";
|
|
1176
1677
|
function validate$b(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
1177
1678
|
const v_error = (() => {
|
|
1178
1679
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1191,15 +1692,57 @@ function validate$b(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
1191
1692
|
if (obj.createdDate !== undefined) {
|
|
1192
1693
|
const obj_createdDate = obj.createdDate;
|
|
1193
1694
|
const path_createdDate = path + '.createdDate';
|
|
1194
|
-
|
|
1195
|
-
|
|
1695
|
+
let obj_createdDate_union0 = null;
|
|
1696
|
+
const obj_createdDate_union0_error = (() => {
|
|
1697
|
+
if (typeof obj_createdDate !== 'string') {
|
|
1698
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
1699
|
+
}
|
|
1700
|
+
})();
|
|
1701
|
+
if (obj_createdDate_union0_error != null) {
|
|
1702
|
+
obj_createdDate_union0 = obj_createdDate_union0_error.message;
|
|
1703
|
+
}
|
|
1704
|
+
let obj_createdDate_union1 = null;
|
|
1705
|
+
const obj_createdDate_union1_error = (() => {
|
|
1706
|
+
if (obj_createdDate !== null) {
|
|
1707
|
+
return new TypeError('Expected "null" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
1708
|
+
}
|
|
1709
|
+
})();
|
|
1710
|
+
if (obj_createdDate_union1_error != null) {
|
|
1711
|
+
obj_createdDate_union1 = obj_createdDate_union1_error.message;
|
|
1712
|
+
}
|
|
1713
|
+
if (obj_createdDate_union0 && obj_createdDate_union1) {
|
|
1714
|
+
let message = 'Object doesn\'t match union (at "' + path_createdDate + '")';
|
|
1715
|
+
message += '\n' + obj_createdDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1716
|
+
message += '\n' + obj_createdDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1717
|
+
return new TypeError(message);
|
|
1196
1718
|
}
|
|
1197
1719
|
}
|
|
1198
1720
|
if (obj.description !== undefined) {
|
|
1199
1721
|
const obj_description = obj.description;
|
|
1200
1722
|
const path_description = path + '.description';
|
|
1201
|
-
|
|
1202
|
-
|
|
1723
|
+
let obj_description_union0 = null;
|
|
1724
|
+
const obj_description_union0_error = (() => {
|
|
1725
|
+
if (typeof obj_description !== 'string') {
|
|
1726
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1727
|
+
}
|
|
1728
|
+
})();
|
|
1729
|
+
if (obj_description_union0_error != null) {
|
|
1730
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
1731
|
+
}
|
|
1732
|
+
let obj_description_union1 = null;
|
|
1733
|
+
const obj_description_union1_error = (() => {
|
|
1734
|
+
if (obj_description !== null) {
|
|
1735
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1736
|
+
}
|
|
1737
|
+
})();
|
|
1738
|
+
if (obj_description_union1_error != null) {
|
|
1739
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
1740
|
+
}
|
|
1741
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
1742
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
1743
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1744
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1745
|
+
return new TypeError(message);
|
|
1203
1746
|
}
|
|
1204
1747
|
}
|
|
1205
1748
|
if (obj.id !== undefined) {
|
|
@@ -1227,8 +1770,29 @@ function validate$b(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
1227
1770
|
if (obj.label !== undefined) {
|
|
1228
1771
|
const obj_label = obj.label;
|
|
1229
1772
|
const path_label = path + '.label';
|
|
1230
|
-
|
|
1231
|
-
|
|
1773
|
+
let obj_label_union0 = null;
|
|
1774
|
+
const obj_label_union0_error = (() => {
|
|
1775
|
+
if (typeof obj_label !== 'string') {
|
|
1776
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1777
|
+
}
|
|
1778
|
+
})();
|
|
1779
|
+
if (obj_label_union0_error != null) {
|
|
1780
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
1781
|
+
}
|
|
1782
|
+
let obj_label_union1 = null;
|
|
1783
|
+
const obj_label_union1_error = (() => {
|
|
1784
|
+
if (obj_label !== null) {
|
|
1785
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1786
|
+
}
|
|
1787
|
+
})();
|
|
1788
|
+
if (obj_label_union1_error != null) {
|
|
1789
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
1790
|
+
}
|
|
1791
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
1792
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
1793
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1794
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1795
|
+
return new TypeError(message);
|
|
1232
1796
|
}
|
|
1233
1797
|
}
|
|
1234
1798
|
if (obj.lastModifiedBy !== undefined) {
|
|
@@ -1244,8 +1808,29 @@ function validate$b(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
1244
1808
|
if (obj.lastModifiedDate !== undefined) {
|
|
1245
1809
|
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
1246
1810
|
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
1247
|
-
|
|
1248
|
-
|
|
1811
|
+
let obj_lastModifiedDate_union0 = null;
|
|
1812
|
+
const obj_lastModifiedDate_union0_error = (() => {
|
|
1813
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
1814
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
1815
|
+
}
|
|
1816
|
+
})();
|
|
1817
|
+
if (obj_lastModifiedDate_union0_error != null) {
|
|
1818
|
+
obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
|
|
1819
|
+
}
|
|
1820
|
+
let obj_lastModifiedDate_union1 = null;
|
|
1821
|
+
const obj_lastModifiedDate_union1_error = (() => {
|
|
1822
|
+
if (obj_lastModifiedDate !== null) {
|
|
1823
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
1824
|
+
}
|
|
1825
|
+
})();
|
|
1826
|
+
if (obj_lastModifiedDate_union1_error != null) {
|
|
1827
|
+
obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
|
|
1828
|
+
}
|
|
1829
|
+
if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
|
|
1830
|
+
let message = 'Object doesn\'t match union (at "' + path_lastModifiedDate + '")';
|
|
1831
|
+
message += '\n' + obj_lastModifiedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1832
|
+
message += '\n' + obj_lastModifiedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1833
|
+
return new TypeError(message);
|
|
1249
1834
|
}
|
|
1250
1835
|
}
|
|
1251
1836
|
const obj_modelType = obj.modelType;
|
|
@@ -1261,8 +1846,29 @@ function validate$b(obj, path = 'CdpMlModelArtifactBaseRepresentation') {
|
|
|
1261
1846
|
if (obj.namespace !== undefined) {
|
|
1262
1847
|
const obj_namespace = obj.namespace;
|
|
1263
1848
|
const path_namespace = path + '.namespace';
|
|
1264
|
-
|
|
1265
|
-
|
|
1849
|
+
let obj_namespace_union0 = null;
|
|
1850
|
+
const obj_namespace_union0_error = (() => {
|
|
1851
|
+
if (typeof obj_namespace !== 'string') {
|
|
1852
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1853
|
+
}
|
|
1854
|
+
})();
|
|
1855
|
+
if (obj_namespace_union0_error != null) {
|
|
1856
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
1857
|
+
}
|
|
1858
|
+
let obj_namespace_union1 = null;
|
|
1859
|
+
const obj_namespace_union1_error = (() => {
|
|
1860
|
+
if (obj_namespace !== null) {
|
|
1861
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1862
|
+
}
|
|
1863
|
+
})();
|
|
1864
|
+
if (obj_namespace_union1_error != null) {
|
|
1865
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
1866
|
+
}
|
|
1867
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
1868
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
1869
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1870
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1871
|
+
return new TypeError(message);
|
|
1266
1872
|
}
|
|
1267
1873
|
}
|
|
1268
1874
|
const obj_outputFields = obj.outputFields;
|
|
@@ -1751,19 +2357,86 @@ function validate$9(obj, path = 'CdpMlModelTypeRepresentation') {
|
|
|
1751
2357
|
if (obj.connectorType !== undefined) {
|
|
1752
2358
|
const obj_connectorType = obj.connectorType;
|
|
1753
2359
|
const path_connectorType = path + '.connectorType';
|
|
1754
|
-
|
|
1755
|
-
|
|
2360
|
+
let obj_connectorType_union0 = null;
|
|
2361
|
+
const obj_connectorType_union0_error = (() => {
|
|
2362
|
+
if (typeof obj_connectorType !== 'string') {
|
|
2363
|
+
return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
2364
|
+
}
|
|
2365
|
+
})();
|
|
2366
|
+
if (obj_connectorType_union0_error != null) {
|
|
2367
|
+
obj_connectorType_union0 = obj_connectorType_union0_error.message;
|
|
2368
|
+
}
|
|
2369
|
+
let obj_connectorType_union1 = null;
|
|
2370
|
+
const obj_connectorType_union1_error = (() => {
|
|
2371
|
+
if (obj_connectorType !== null) {
|
|
2372
|
+
return new TypeError('Expected "null" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
2373
|
+
}
|
|
2374
|
+
})();
|
|
2375
|
+
if (obj_connectorType_union1_error != null) {
|
|
2376
|
+
obj_connectorType_union1 = obj_connectorType_union1_error.message;
|
|
2377
|
+
}
|
|
2378
|
+
if (obj_connectorType_union0 && obj_connectorType_union1) {
|
|
2379
|
+
let message = 'Object doesn\'t match union (at "' + path_connectorType + '")';
|
|
2380
|
+
message += '\n' + obj_connectorType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2381
|
+
message += '\n' + obj_connectorType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2382
|
+
return new TypeError(message);
|
|
1756
2383
|
}
|
|
1757
2384
|
}
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
2385
|
+
if (obj.modelType !== undefined) {
|
|
2386
|
+
const obj_modelType = obj.modelType;
|
|
2387
|
+
const path_modelType = path + '.modelType';
|
|
2388
|
+
let obj_modelType_union0 = null;
|
|
2389
|
+
const obj_modelType_union0_error = (() => {
|
|
2390
|
+
if (typeof obj_modelType !== 'string') {
|
|
2391
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modelType + '" (at "' + path_modelType + '")');
|
|
2392
|
+
}
|
|
2393
|
+
})();
|
|
2394
|
+
if (obj_modelType_union0_error != null) {
|
|
2395
|
+
obj_modelType_union0 = obj_modelType_union0_error.message;
|
|
2396
|
+
}
|
|
2397
|
+
let obj_modelType_union1 = null;
|
|
2398
|
+
const obj_modelType_union1_error = (() => {
|
|
2399
|
+
if (obj_modelType !== null) {
|
|
2400
|
+
return new TypeError('Expected "null" but received "' + typeof obj_modelType + '" (at "' + path_modelType + '")');
|
|
2401
|
+
}
|
|
2402
|
+
})();
|
|
2403
|
+
if (obj_modelType_union1_error != null) {
|
|
2404
|
+
obj_modelType_union1 = obj_modelType_union1_error.message;
|
|
2405
|
+
}
|
|
2406
|
+
if (obj_modelType_union0 && obj_modelType_union1) {
|
|
2407
|
+
let message = 'Object doesn\'t match union (at "' + path_modelType + '")';
|
|
2408
|
+
message += '\n' + obj_modelType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2409
|
+
message += '\n' + obj_modelType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2410
|
+
return new TypeError(message);
|
|
2411
|
+
}
|
|
1762
2412
|
}
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
2413
|
+
if (obj.sourceType !== undefined) {
|
|
2414
|
+
const obj_sourceType = obj.sourceType;
|
|
2415
|
+
const path_sourceType = path + '.sourceType';
|
|
2416
|
+
let obj_sourceType_union0 = null;
|
|
2417
|
+
const obj_sourceType_union0_error = (() => {
|
|
2418
|
+
if (typeof obj_sourceType !== 'string') {
|
|
2419
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceType + '" (at "' + path_sourceType + '")');
|
|
2420
|
+
}
|
|
2421
|
+
})();
|
|
2422
|
+
if (obj_sourceType_union0_error != null) {
|
|
2423
|
+
obj_sourceType_union0 = obj_sourceType_union0_error.message;
|
|
2424
|
+
}
|
|
2425
|
+
let obj_sourceType_union1 = null;
|
|
2426
|
+
const obj_sourceType_union1_error = (() => {
|
|
2427
|
+
if (obj_sourceType !== null) {
|
|
2428
|
+
return new TypeError('Expected "null" but received "' + typeof obj_sourceType + '" (at "' + path_sourceType + '")');
|
|
2429
|
+
}
|
|
2430
|
+
})();
|
|
2431
|
+
if (obj_sourceType_union1_error != null) {
|
|
2432
|
+
obj_sourceType_union1 = obj_sourceType_union1_error.message;
|
|
2433
|
+
}
|
|
2434
|
+
if (obj_sourceType_union0 && obj_sourceType_union1) {
|
|
2435
|
+
let message = 'Object doesn\'t match union (at "' + path_sourceType + '")';
|
|
2436
|
+
message += '\n' + obj_sourceType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2437
|
+
message += '\n' + obj_sourceType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2438
|
+
return new TypeError(message);
|
|
2439
|
+
}
|
|
1767
2440
|
}
|
|
1768
2441
|
})();
|
|
1769
2442
|
return v_error === undefined ? null : v_error;
|
|
@@ -1942,7 +2615,7 @@ function keyBuilderFromType(luvio, object) {
|
|
|
1942
2615
|
}
|
|
1943
2616
|
|
|
1944
2617
|
const TTL$1 = 1000;
|
|
1945
|
-
const VERSION$1 = "
|
|
2618
|
+
const VERSION$1 = "1cb47dd9b0cc811f1ad3318c7245d465";
|
|
1946
2619
|
function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
1947
2620
|
const v_error = (() => {
|
|
1948
2621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1973,8 +2646,29 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
1973
2646
|
if (obj.activeSetupVersionNumber !== undefined) {
|
|
1974
2647
|
const obj_activeSetupVersionNumber = obj.activeSetupVersionNumber;
|
|
1975
2648
|
const path_activeSetupVersionNumber = path + '.activeSetupVersionNumber';
|
|
1976
|
-
|
|
1977
|
-
|
|
2649
|
+
let obj_activeSetupVersionNumber_union0 = null;
|
|
2650
|
+
const obj_activeSetupVersionNumber_union0_error = (() => {
|
|
2651
|
+
if (typeof obj_activeSetupVersionNumber !== 'number' || (typeof obj_activeSetupVersionNumber === 'number' && Math.floor(obj_activeSetupVersionNumber) !== obj_activeSetupVersionNumber)) {
|
|
2652
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_activeSetupVersionNumber + '" (at "' + path_activeSetupVersionNumber + '")');
|
|
2653
|
+
}
|
|
2654
|
+
})();
|
|
2655
|
+
if (obj_activeSetupVersionNumber_union0_error != null) {
|
|
2656
|
+
obj_activeSetupVersionNumber_union0 = obj_activeSetupVersionNumber_union0_error.message;
|
|
2657
|
+
}
|
|
2658
|
+
let obj_activeSetupVersionNumber_union1 = null;
|
|
2659
|
+
const obj_activeSetupVersionNumber_union1_error = (() => {
|
|
2660
|
+
if (obj_activeSetupVersionNumber !== null) {
|
|
2661
|
+
return new TypeError('Expected "null" but received "' + typeof obj_activeSetupVersionNumber + '" (at "' + path_activeSetupVersionNumber + '")');
|
|
2662
|
+
}
|
|
2663
|
+
})();
|
|
2664
|
+
if (obj_activeSetupVersionNumber_union1_error != null) {
|
|
2665
|
+
obj_activeSetupVersionNumber_union1 = obj_activeSetupVersionNumber_union1_error.message;
|
|
2666
|
+
}
|
|
2667
|
+
if (obj_activeSetupVersionNumber_union0 && obj_activeSetupVersionNumber_union1) {
|
|
2668
|
+
let message = 'Object doesn\'t match union (at "' + path_activeSetupVersionNumber + '")';
|
|
2669
|
+
message += '\n' + obj_activeSetupVersionNumber_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2670
|
+
message += '\n' + obj_activeSetupVersionNumber_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2671
|
+
return new TypeError(message);
|
|
1978
2672
|
}
|
|
1979
2673
|
}
|
|
1980
2674
|
if (obj.createdBy !== undefined) {
|
|
@@ -1990,22 +2684,85 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
1990
2684
|
if (obj.createdDate !== undefined) {
|
|
1991
2685
|
const obj_createdDate = obj.createdDate;
|
|
1992
2686
|
const path_createdDate = path + '.createdDate';
|
|
1993
|
-
|
|
1994
|
-
|
|
2687
|
+
let obj_createdDate_union0 = null;
|
|
2688
|
+
const obj_createdDate_union0_error = (() => {
|
|
2689
|
+
if (typeof obj_createdDate !== 'string') {
|
|
2690
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
2691
|
+
}
|
|
2692
|
+
})();
|
|
2693
|
+
if (obj_createdDate_union0_error != null) {
|
|
2694
|
+
obj_createdDate_union0 = obj_createdDate_union0_error.message;
|
|
2695
|
+
}
|
|
2696
|
+
let obj_createdDate_union1 = null;
|
|
2697
|
+
const obj_createdDate_union1_error = (() => {
|
|
2698
|
+
if (obj_createdDate !== null) {
|
|
2699
|
+
return new TypeError('Expected "null" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
2700
|
+
}
|
|
2701
|
+
})();
|
|
2702
|
+
if (obj_createdDate_union1_error != null) {
|
|
2703
|
+
obj_createdDate_union1 = obj_createdDate_union1_error.message;
|
|
2704
|
+
}
|
|
2705
|
+
if (obj_createdDate_union0 && obj_createdDate_union1) {
|
|
2706
|
+
let message = 'Object doesn\'t match union (at "' + path_createdDate + '")';
|
|
2707
|
+
message += '\n' + obj_createdDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2708
|
+
message += '\n' + obj_createdDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2709
|
+
return new TypeError(message);
|
|
1995
2710
|
}
|
|
1996
2711
|
}
|
|
1997
2712
|
if (obj.description !== undefined) {
|
|
1998
2713
|
const obj_description = obj.description;
|
|
1999
2714
|
const path_description = path + '.description';
|
|
2000
|
-
|
|
2001
|
-
|
|
2715
|
+
let obj_description_union0 = null;
|
|
2716
|
+
const obj_description_union0_error = (() => {
|
|
2717
|
+
if (typeof obj_description !== 'string') {
|
|
2718
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2719
|
+
}
|
|
2720
|
+
})();
|
|
2721
|
+
if (obj_description_union0_error != null) {
|
|
2722
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
2723
|
+
}
|
|
2724
|
+
let obj_description_union1 = null;
|
|
2725
|
+
const obj_description_union1_error = (() => {
|
|
2726
|
+
if (obj_description !== null) {
|
|
2727
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2728
|
+
}
|
|
2729
|
+
})();
|
|
2730
|
+
if (obj_description_union1_error != null) {
|
|
2731
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
2732
|
+
}
|
|
2733
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
2734
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
2735
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2736
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2737
|
+
return new TypeError(message);
|
|
2002
2738
|
}
|
|
2003
2739
|
}
|
|
2004
2740
|
if (obj.historiesUrl !== undefined) {
|
|
2005
2741
|
const obj_historiesUrl = obj.historiesUrl;
|
|
2006
2742
|
const path_historiesUrl = path + '.historiesUrl';
|
|
2007
|
-
|
|
2008
|
-
|
|
2743
|
+
let obj_historiesUrl_union0 = null;
|
|
2744
|
+
const obj_historiesUrl_union0_error = (() => {
|
|
2745
|
+
if (typeof obj_historiesUrl !== 'string') {
|
|
2746
|
+
return new TypeError('Expected "string" but received "' + typeof obj_historiesUrl + '" (at "' + path_historiesUrl + '")');
|
|
2747
|
+
}
|
|
2748
|
+
})();
|
|
2749
|
+
if (obj_historiesUrl_union0_error != null) {
|
|
2750
|
+
obj_historiesUrl_union0 = obj_historiesUrl_union0_error.message;
|
|
2751
|
+
}
|
|
2752
|
+
let obj_historiesUrl_union1 = null;
|
|
2753
|
+
const obj_historiesUrl_union1_error = (() => {
|
|
2754
|
+
if (obj_historiesUrl !== null) {
|
|
2755
|
+
return new TypeError('Expected "null" but received "' + typeof obj_historiesUrl + '" (at "' + path_historiesUrl + '")');
|
|
2756
|
+
}
|
|
2757
|
+
})();
|
|
2758
|
+
if (obj_historiesUrl_union1_error != null) {
|
|
2759
|
+
obj_historiesUrl_union1 = obj_historiesUrl_union1_error.message;
|
|
2760
|
+
}
|
|
2761
|
+
if (obj_historiesUrl_union0 && obj_historiesUrl_union1) {
|
|
2762
|
+
let message = 'Object doesn\'t match union (at "' + path_historiesUrl + '")';
|
|
2763
|
+
message += '\n' + obj_historiesUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2764
|
+
message += '\n' + obj_historiesUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2765
|
+
return new TypeError(message);
|
|
2009
2766
|
}
|
|
2010
2767
|
}
|
|
2011
2768
|
if (obj.id !== undefined) {
|
|
@@ -2018,8 +2775,29 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
2018
2775
|
if (obj.label !== undefined) {
|
|
2019
2776
|
const obj_label = obj.label;
|
|
2020
2777
|
const path_label = path + '.label';
|
|
2021
|
-
|
|
2022
|
-
|
|
2778
|
+
let obj_label_union0 = null;
|
|
2779
|
+
const obj_label_union0_error = (() => {
|
|
2780
|
+
if (typeof obj_label !== 'string') {
|
|
2781
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2782
|
+
}
|
|
2783
|
+
})();
|
|
2784
|
+
if (obj_label_union0_error != null) {
|
|
2785
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
2786
|
+
}
|
|
2787
|
+
let obj_label_union1 = null;
|
|
2788
|
+
const obj_label_union1_error = (() => {
|
|
2789
|
+
if (obj_label !== null) {
|
|
2790
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2791
|
+
}
|
|
2792
|
+
})();
|
|
2793
|
+
if (obj_label_union1_error != null) {
|
|
2794
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
2795
|
+
}
|
|
2796
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
2797
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
2798
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2799
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2800
|
+
return new TypeError(message);
|
|
2023
2801
|
}
|
|
2024
2802
|
}
|
|
2025
2803
|
if (obj.lastModifiedBy !== undefined) {
|
|
@@ -2035,8 +2813,29 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
2035
2813
|
if (obj.lastModifiedDate !== undefined) {
|
|
2036
2814
|
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
2037
2815
|
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
2038
|
-
|
|
2039
|
-
|
|
2816
|
+
let obj_lastModifiedDate_union0 = null;
|
|
2817
|
+
const obj_lastModifiedDate_union0_error = (() => {
|
|
2818
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
2819
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2820
|
+
}
|
|
2821
|
+
})();
|
|
2822
|
+
if (obj_lastModifiedDate_union0_error != null) {
|
|
2823
|
+
obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
|
|
2824
|
+
}
|
|
2825
|
+
let obj_lastModifiedDate_union1 = null;
|
|
2826
|
+
const obj_lastModifiedDate_union1_error = (() => {
|
|
2827
|
+
if (obj_lastModifiedDate !== null) {
|
|
2828
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2829
|
+
}
|
|
2830
|
+
})();
|
|
2831
|
+
if (obj_lastModifiedDate_union1_error != null) {
|
|
2832
|
+
obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
|
|
2833
|
+
}
|
|
2834
|
+
if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
|
|
2835
|
+
let message = 'Object doesn\'t match union (at "' + path_lastModifiedDate + '")';
|
|
2836
|
+
message += '\n' + obj_lastModifiedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2837
|
+
message += '\n' + obj_lastModifiedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2838
|
+
return new TypeError(message);
|
|
2040
2839
|
}
|
|
2041
2840
|
}
|
|
2042
2841
|
if (obj.latestSetup !== undefined) {
|
|
@@ -2054,19 +2853,42 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
2054
2853
|
if (typeof obj_modelCount !== 'number' || (typeof obj_modelCount === 'number' && Math.floor(obj_modelCount) !== obj_modelCount)) {
|
|
2055
2854
|
return new TypeError('Expected "integer" but received "' + typeof obj_modelCount + '" (at "' + path_modelCount + '")');
|
|
2056
2855
|
}
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2856
|
+
if (obj.modelType !== undefined) {
|
|
2857
|
+
const obj_modelType = obj.modelType;
|
|
2858
|
+
const path_modelType = path + '.modelType';
|
|
2859
|
+
const referencepath_modelTypeValidationError = validate$9(obj_modelType, path_modelType);
|
|
2860
|
+
if (referencepath_modelTypeValidationError !== null) {
|
|
2861
|
+
let message = 'Object doesn\'t match CdpMlModelTypeRepresentation (at "' + path_modelType + '")\n';
|
|
2862
|
+
message += referencepath_modelTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2863
|
+
return new TypeError(message);
|
|
2864
|
+
}
|
|
2064
2865
|
}
|
|
2065
2866
|
if (obj.modelsUrl !== undefined) {
|
|
2066
2867
|
const obj_modelsUrl = obj.modelsUrl;
|
|
2067
2868
|
const path_modelsUrl = path + '.modelsUrl';
|
|
2068
|
-
|
|
2069
|
-
|
|
2869
|
+
let obj_modelsUrl_union0 = null;
|
|
2870
|
+
const obj_modelsUrl_union0_error = (() => {
|
|
2871
|
+
if (typeof obj_modelsUrl !== 'string') {
|
|
2872
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modelsUrl + '" (at "' + path_modelsUrl + '")');
|
|
2873
|
+
}
|
|
2874
|
+
})();
|
|
2875
|
+
if (obj_modelsUrl_union0_error != null) {
|
|
2876
|
+
obj_modelsUrl_union0 = obj_modelsUrl_union0_error.message;
|
|
2877
|
+
}
|
|
2878
|
+
let obj_modelsUrl_union1 = null;
|
|
2879
|
+
const obj_modelsUrl_union1_error = (() => {
|
|
2880
|
+
if (obj_modelsUrl !== null) {
|
|
2881
|
+
return new TypeError('Expected "null" but received "' + typeof obj_modelsUrl + '" (at "' + path_modelsUrl + '")');
|
|
2882
|
+
}
|
|
2883
|
+
})();
|
|
2884
|
+
if (obj_modelsUrl_union1_error != null) {
|
|
2885
|
+
obj_modelsUrl_union1 = obj_modelsUrl_union1_error.message;
|
|
2886
|
+
}
|
|
2887
|
+
if (obj_modelsUrl_union0 && obj_modelsUrl_union1) {
|
|
2888
|
+
let message = 'Object doesn\'t match union (at "' + path_modelsUrl + '")';
|
|
2889
|
+
message += '\n' + obj_modelsUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2890
|
+
message += '\n' + obj_modelsUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2891
|
+
return new TypeError(message);
|
|
2070
2892
|
}
|
|
2071
2893
|
}
|
|
2072
2894
|
const obj_name = obj.name;
|
|
@@ -2077,8 +2899,29 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
2077
2899
|
if (obj.namespace !== undefined) {
|
|
2078
2900
|
const obj_namespace = obj.namespace;
|
|
2079
2901
|
const path_namespace = path + '.namespace';
|
|
2080
|
-
|
|
2081
|
-
|
|
2902
|
+
let obj_namespace_union0 = null;
|
|
2903
|
+
const obj_namespace_union0_error = (() => {
|
|
2904
|
+
if (typeof obj_namespace !== 'string') {
|
|
2905
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
2906
|
+
}
|
|
2907
|
+
})();
|
|
2908
|
+
if (obj_namespace_union0_error != null) {
|
|
2909
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
2910
|
+
}
|
|
2911
|
+
let obj_namespace_union1 = null;
|
|
2912
|
+
const obj_namespace_union1_error = (() => {
|
|
2913
|
+
if (obj_namespace !== null) {
|
|
2914
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
2915
|
+
}
|
|
2916
|
+
})();
|
|
2917
|
+
if (obj_namespace_union1_error != null) {
|
|
2918
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
2919
|
+
}
|
|
2920
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
2921
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
2922
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2923
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2924
|
+
return new TypeError(message);
|
|
2082
2925
|
}
|
|
2083
2926
|
}
|
|
2084
2927
|
if (obj.outcomeDefinition !== undefined) {
|
|
@@ -2094,8 +2937,29 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
2094
2937
|
if (obj.predictionType !== undefined) {
|
|
2095
2938
|
const obj_predictionType = obj.predictionType;
|
|
2096
2939
|
const path_predictionType = path + '.predictionType';
|
|
2097
|
-
|
|
2098
|
-
|
|
2940
|
+
let obj_predictionType_union0 = null;
|
|
2941
|
+
const obj_predictionType_union0_error = (() => {
|
|
2942
|
+
if (typeof obj_predictionType !== 'string') {
|
|
2943
|
+
return new TypeError('Expected "string" but received "' + typeof obj_predictionType + '" (at "' + path_predictionType + '")');
|
|
2944
|
+
}
|
|
2945
|
+
})();
|
|
2946
|
+
if (obj_predictionType_union0_error != null) {
|
|
2947
|
+
obj_predictionType_union0 = obj_predictionType_union0_error.message;
|
|
2948
|
+
}
|
|
2949
|
+
let obj_predictionType_union1 = null;
|
|
2950
|
+
const obj_predictionType_union1_error = (() => {
|
|
2951
|
+
if (obj_predictionType !== null) {
|
|
2952
|
+
return new TypeError('Expected "null" but received "' + typeof obj_predictionType + '" (at "' + path_predictionType + '")');
|
|
2953
|
+
}
|
|
2954
|
+
})();
|
|
2955
|
+
if (obj_predictionType_union1_error != null) {
|
|
2956
|
+
obj_predictionType_union1 = obj_predictionType_union1_error.message;
|
|
2957
|
+
}
|
|
2958
|
+
if (obj_predictionType_union0 && obj_predictionType_union1) {
|
|
2959
|
+
let message = 'Object doesn\'t match union (at "' + path_predictionType + '")';
|
|
2960
|
+
message += '\n' + obj_predictionType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2961
|
+
message += '\n' + obj_predictionType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2962
|
+
return new TypeError(message);
|
|
2099
2963
|
}
|
|
2100
2964
|
}
|
|
2101
2965
|
if (obj.refreshConfig !== undefined) {
|
|
@@ -2111,8 +2975,29 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
2111
2975
|
if (obj.setupVersionsUrl !== undefined) {
|
|
2112
2976
|
const obj_setupVersionsUrl = obj.setupVersionsUrl;
|
|
2113
2977
|
const path_setupVersionsUrl = path + '.setupVersionsUrl';
|
|
2114
|
-
|
|
2115
|
-
|
|
2978
|
+
let obj_setupVersionsUrl_union0 = null;
|
|
2979
|
+
const obj_setupVersionsUrl_union0_error = (() => {
|
|
2980
|
+
if (typeof obj_setupVersionsUrl !== 'string') {
|
|
2981
|
+
return new TypeError('Expected "string" but received "' + typeof obj_setupVersionsUrl + '" (at "' + path_setupVersionsUrl + '")');
|
|
2982
|
+
}
|
|
2983
|
+
})();
|
|
2984
|
+
if (obj_setupVersionsUrl_union0_error != null) {
|
|
2985
|
+
obj_setupVersionsUrl_union0 = obj_setupVersionsUrl_union0_error.message;
|
|
2986
|
+
}
|
|
2987
|
+
let obj_setupVersionsUrl_union1 = null;
|
|
2988
|
+
const obj_setupVersionsUrl_union1_error = (() => {
|
|
2989
|
+
if (obj_setupVersionsUrl !== null) {
|
|
2990
|
+
return new TypeError('Expected "null" but received "' + typeof obj_setupVersionsUrl + '" (at "' + path_setupVersionsUrl + '")');
|
|
2991
|
+
}
|
|
2992
|
+
})();
|
|
2993
|
+
if (obj_setupVersionsUrl_union1_error != null) {
|
|
2994
|
+
obj_setupVersionsUrl_union1 = obj_setupVersionsUrl_union1_error.message;
|
|
2995
|
+
}
|
|
2996
|
+
if (obj_setupVersionsUrl_union0 && obj_setupVersionsUrl_union1) {
|
|
2997
|
+
let message = 'Object doesn\'t match union (at "' + path_setupVersionsUrl + '")';
|
|
2998
|
+
message += '\n' + obj_setupVersionsUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2999
|
+
message += '\n' + obj_setupVersionsUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3000
|
+
return new TypeError(message);
|
|
2116
3001
|
}
|
|
2117
3002
|
}
|
|
2118
3003
|
const obj_status = obj.status;
|
|
@@ -2123,15 +3008,57 @@ function validate$2(obj, path = 'CdpMlWorkspaceDetailRepresentation') {
|
|
|
2123
3008
|
if (obj.totalInferenceCount !== undefined) {
|
|
2124
3009
|
const obj_totalInferenceCount = obj.totalInferenceCount;
|
|
2125
3010
|
const path_totalInferenceCount = path + '.totalInferenceCount';
|
|
2126
|
-
|
|
2127
|
-
|
|
3011
|
+
let obj_totalInferenceCount_union0 = null;
|
|
3012
|
+
const obj_totalInferenceCount_union0_error = (() => {
|
|
3013
|
+
if (typeof obj_totalInferenceCount !== 'number' || (typeof obj_totalInferenceCount === 'number' && Math.floor(obj_totalInferenceCount) !== obj_totalInferenceCount)) {
|
|
3014
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_totalInferenceCount + '" (at "' + path_totalInferenceCount + '")');
|
|
3015
|
+
}
|
|
3016
|
+
})();
|
|
3017
|
+
if (obj_totalInferenceCount_union0_error != null) {
|
|
3018
|
+
obj_totalInferenceCount_union0 = obj_totalInferenceCount_union0_error.message;
|
|
3019
|
+
}
|
|
3020
|
+
let obj_totalInferenceCount_union1 = null;
|
|
3021
|
+
const obj_totalInferenceCount_union1_error = (() => {
|
|
3022
|
+
if (obj_totalInferenceCount !== null) {
|
|
3023
|
+
return new TypeError('Expected "null" but received "' + typeof obj_totalInferenceCount + '" (at "' + path_totalInferenceCount + '")');
|
|
3024
|
+
}
|
|
3025
|
+
})();
|
|
3026
|
+
if (obj_totalInferenceCount_union1_error != null) {
|
|
3027
|
+
obj_totalInferenceCount_union1 = obj_totalInferenceCount_union1_error.message;
|
|
3028
|
+
}
|
|
3029
|
+
if (obj_totalInferenceCount_union0 && obj_totalInferenceCount_union1) {
|
|
3030
|
+
let message = 'Object doesn\'t match union (at "' + path_totalInferenceCount + '")';
|
|
3031
|
+
message += '\n' + obj_totalInferenceCount_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3032
|
+
message += '\n' + obj_totalInferenceCount_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3033
|
+
return new TypeError(message);
|
|
2128
3034
|
}
|
|
2129
3035
|
}
|
|
2130
3036
|
if (obj.totalWarningsCount !== undefined) {
|
|
2131
3037
|
const obj_totalWarningsCount = obj.totalWarningsCount;
|
|
2132
3038
|
const path_totalWarningsCount = path + '.totalWarningsCount';
|
|
2133
|
-
|
|
2134
|
-
|
|
3039
|
+
let obj_totalWarningsCount_union0 = null;
|
|
3040
|
+
const obj_totalWarningsCount_union0_error = (() => {
|
|
3041
|
+
if (typeof obj_totalWarningsCount !== 'number' || (typeof obj_totalWarningsCount === 'number' && Math.floor(obj_totalWarningsCount) !== obj_totalWarningsCount)) {
|
|
3042
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_totalWarningsCount + '" (at "' + path_totalWarningsCount + '")');
|
|
3043
|
+
}
|
|
3044
|
+
})();
|
|
3045
|
+
if (obj_totalWarningsCount_union0_error != null) {
|
|
3046
|
+
obj_totalWarningsCount_union0 = obj_totalWarningsCount_union0_error.message;
|
|
3047
|
+
}
|
|
3048
|
+
let obj_totalWarningsCount_union1 = null;
|
|
3049
|
+
const obj_totalWarningsCount_union1_error = (() => {
|
|
3050
|
+
if (obj_totalWarningsCount !== null) {
|
|
3051
|
+
return new TypeError('Expected "null" but received "' + typeof obj_totalWarningsCount + '" (at "' + path_totalWarningsCount + '")');
|
|
3052
|
+
}
|
|
3053
|
+
})();
|
|
3054
|
+
if (obj_totalWarningsCount_union1_error != null) {
|
|
3055
|
+
obj_totalWarningsCount_union1 = obj_totalWarningsCount_union1_error.message;
|
|
3056
|
+
}
|
|
3057
|
+
if (obj_totalWarningsCount_union0 && obj_totalWarningsCount_union1) {
|
|
3058
|
+
let message = 'Object doesn\'t match union (at "' + path_totalWarningsCount + '")';
|
|
3059
|
+
message += '\n' + obj_totalWarningsCount_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3060
|
+
message += '\n' + obj_totalWarningsCount_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3061
|
+
return new TypeError(message);
|
|
2135
3062
|
}
|
|
2136
3063
|
}
|
|
2137
3064
|
const obj_url = obj.url;
|
|
@@ -2385,8 +3312,29 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2385
3312
|
if (obj.activeSetupVersionNumber !== undefined) {
|
|
2386
3313
|
const obj_activeSetupVersionNumber = obj.activeSetupVersionNumber;
|
|
2387
3314
|
const path_activeSetupVersionNumber = path + '.activeSetupVersionNumber';
|
|
2388
|
-
|
|
2389
|
-
|
|
3315
|
+
let obj_activeSetupVersionNumber_union0 = null;
|
|
3316
|
+
const obj_activeSetupVersionNumber_union0_error = (() => {
|
|
3317
|
+
if (typeof obj_activeSetupVersionNumber !== 'number' || (typeof obj_activeSetupVersionNumber === 'number' && Math.floor(obj_activeSetupVersionNumber) !== obj_activeSetupVersionNumber)) {
|
|
3318
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_activeSetupVersionNumber + '" (at "' + path_activeSetupVersionNumber + '")');
|
|
3319
|
+
}
|
|
3320
|
+
})();
|
|
3321
|
+
if (obj_activeSetupVersionNumber_union0_error != null) {
|
|
3322
|
+
obj_activeSetupVersionNumber_union0 = obj_activeSetupVersionNumber_union0_error.message;
|
|
3323
|
+
}
|
|
3324
|
+
let obj_activeSetupVersionNumber_union1 = null;
|
|
3325
|
+
const obj_activeSetupVersionNumber_union1_error = (() => {
|
|
3326
|
+
if (obj_activeSetupVersionNumber !== null) {
|
|
3327
|
+
return new TypeError('Expected "null" but received "' + typeof obj_activeSetupVersionNumber + '" (at "' + path_activeSetupVersionNumber + '")');
|
|
3328
|
+
}
|
|
3329
|
+
})();
|
|
3330
|
+
if (obj_activeSetupVersionNumber_union1_error != null) {
|
|
3331
|
+
obj_activeSetupVersionNumber_union1 = obj_activeSetupVersionNumber_union1_error.message;
|
|
3332
|
+
}
|
|
3333
|
+
if (obj_activeSetupVersionNumber_union0 && obj_activeSetupVersionNumber_union1) {
|
|
3334
|
+
let message = 'Object doesn\'t match union (at "' + path_activeSetupVersionNumber + '")';
|
|
3335
|
+
message += '\n' + obj_activeSetupVersionNumber_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3336
|
+
message += '\n' + obj_activeSetupVersionNumber_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3337
|
+
return new TypeError(message);
|
|
2390
3338
|
}
|
|
2391
3339
|
}
|
|
2392
3340
|
if (obj.createdBy !== undefined) {
|
|
@@ -2402,22 +3350,85 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2402
3350
|
if (obj.createdDate !== undefined) {
|
|
2403
3351
|
const obj_createdDate = obj.createdDate;
|
|
2404
3352
|
const path_createdDate = path + '.createdDate';
|
|
2405
|
-
|
|
2406
|
-
|
|
3353
|
+
let obj_createdDate_union0 = null;
|
|
3354
|
+
const obj_createdDate_union0_error = (() => {
|
|
3355
|
+
if (typeof obj_createdDate !== 'string') {
|
|
3356
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
3357
|
+
}
|
|
3358
|
+
})();
|
|
3359
|
+
if (obj_createdDate_union0_error != null) {
|
|
3360
|
+
obj_createdDate_union0 = obj_createdDate_union0_error.message;
|
|
3361
|
+
}
|
|
3362
|
+
let obj_createdDate_union1 = null;
|
|
3363
|
+
const obj_createdDate_union1_error = (() => {
|
|
3364
|
+
if (obj_createdDate !== null) {
|
|
3365
|
+
return new TypeError('Expected "null" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
3366
|
+
}
|
|
3367
|
+
})();
|
|
3368
|
+
if (obj_createdDate_union1_error != null) {
|
|
3369
|
+
obj_createdDate_union1 = obj_createdDate_union1_error.message;
|
|
3370
|
+
}
|
|
3371
|
+
if (obj_createdDate_union0 && obj_createdDate_union1) {
|
|
3372
|
+
let message = 'Object doesn\'t match union (at "' + path_createdDate + '")';
|
|
3373
|
+
message += '\n' + obj_createdDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3374
|
+
message += '\n' + obj_createdDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3375
|
+
return new TypeError(message);
|
|
2407
3376
|
}
|
|
2408
3377
|
}
|
|
2409
3378
|
if (obj.description !== undefined) {
|
|
2410
3379
|
const obj_description = obj.description;
|
|
2411
3380
|
const path_description = path + '.description';
|
|
2412
|
-
|
|
2413
|
-
|
|
3381
|
+
let obj_description_union0 = null;
|
|
3382
|
+
const obj_description_union0_error = (() => {
|
|
3383
|
+
if (typeof obj_description !== 'string') {
|
|
3384
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
3385
|
+
}
|
|
3386
|
+
})();
|
|
3387
|
+
if (obj_description_union0_error != null) {
|
|
3388
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
3389
|
+
}
|
|
3390
|
+
let obj_description_union1 = null;
|
|
3391
|
+
const obj_description_union1_error = (() => {
|
|
3392
|
+
if (obj_description !== null) {
|
|
3393
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
3394
|
+
}
|
|
3395
|
+
})();
|
|
3396
|
+
if (obj_description_union1_error != null) {
|
|
3397
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
3398
|
+
}
|
|
3399
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
3400
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
3401
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3402
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3403
|
+
return new TypeError(message);
|
|
2414
3404
|
}
|
|
2415
3405
|
}
|
|
2416
3406
|
if (obj.historiesUrl !== undefined) {
|
|
2417
3407
|
const obj_historiesUrl = obj.historiesUrl;
|
|
2418
3408
|
const path_historiesUrl = path + '.historiesUrl';
|
|
2419
|
-
|
|
2420
|
-
|
|
3409
|
+
let obj_historiesUrl_union0 = null;
|
|
3410
|
+
const obj_historiesUrl_union0_error = (() => {
|
|
3411
|
+
if (typeof obj_historiesUrl !== 'string') {
|
|
3412
|
+
return new TypeError('Expected "string" but received "' + typeof obj_historiesUrl + '" (at "' + path_historiesUrl + '")');
|
|
3413
|
+
}
|
|
3414
|
+
})();
|
|
3415
|
+
if (obj_historiesUrl_union0_error != null) {
|
|
3416
|
+
obj_historiesUrl_union0 = obj_historiesUrl_union0_error.message;
|
|
3417
|
+
}
|
|
3418
|
+
let obj_historiesUrl_union1 = null;
|
|
3419
|
+
const obj_historiesUrl_union1_error = (() => {
|
|
3420
|
+
if (obj_historiesUrl !== null) {
|
|
3421
|
+
return new TypeError('Expected "null" but received "' + typeof obj_historiesUrl + '" (at "' + path_historiesUrl + '")');
|
|
3422
|
+
}
|
|
3423
|
+
})();
|
|
3424
|
+
if (obj_historiesUrl_union1_error != null) {
|
|
3425
|
+
obj_historiesUrl_union1 = obj_historiesUrl_union1_error.message;
|
|
3426
|
+
}
|
|
3427
|
+
if (obj_historiesUrl_union0 && obj_historiesUrl_union1) {
|
|
3428
|
+
let message = 'Object doesn\'t match union (at "' + path_historiesUrl + '")';
|
|
3429
|
+
message += '\n' + obj_historiesUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3430
|
+
message += '\n' + obj_historiesUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3431
|
+
return new TypeError(message);
|
|
2421
3432
|
}
|
|
2422
3433
|
}
|
|
2423
3434
|
if (obj.id !== undefined) {
|
|
@@ -2430,8 +3441,29 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2430
3441
|
if (obj.label !== undefined) {
|
|
2431
3442
|
const obj_label = obj.label;
|
|
2432
3443
|
const path_label = path + '.label';
|
|
2433
|
-
|
|
2434
|
-
|
|
3444
|
+
let obj_label_union0 = null;
|
|
3445
|
+
const obj_label_union0_error = (() => {
|
|
3446
|
+
if (typeof obj_label !== 'string') {
|
|
3447
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3448
|
+
}
|
|
3449
|
+
})();
|
|
3450
|
+
if (obj_label_union0_error != null) {
|
|
3451
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
3452
|
+
}
|
|
3453
|
+
let obj_label_union1 = null;
|
|
3454
|
+
const obj_label_union1_error = (() => {
|
|
3455
|
+
if (obj_label !== null) {
|
|
3456
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3457
|
+
}
|
|
3458
|
+
})();
|
|
3459
|
+
if (obj_label_union1_error != null) {
|
|
3460
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
3461
|
+
}
|
|
3462
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
3463
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
3464
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3465
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3466
|
+
return new TypeError(message);
|
|
2435
3467
|
}
|
|
2436
3468
|
}
|
|
2437
3469
|
if (obj.lastModifiedBy !== undefined) {
|
|
@@ -2447,8 +3479,29 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2447
3479
|
if (obj.lastModifiedDate !== undefined) {
|
|
2448
3480
|
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
2449
3481
|
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
2450
|
-
|
|
2451
|
-
|
|
3482
|
+
let obj_lastModifiedDate_union0 = null;
|
|
3483
|
+
const obj_lastModifiedDate_union0_error = (() => {
|
|
3484
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
3485
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
3486
|
+
}
|
|
3487
|
+
})();
|
|
3488
|
+
if (obj_lastModifiedDate_union0_error != null) {
|
|
3489
|
+
obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
|
|
3490
|
+
}
|
|
3491
|
+
let obj_lastModifiedDate_union1 = null;
|
|
3492
|
+
const obj_lastModifiedDate_union1_error = (() => {
|
|
3493
|
+
if (obj_lastModifiedDate !== null) {
|
|
3494
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
3495
|
+
}
|
|
3496
|
+
})();
|
|
3497
|
+
if (obj_lastModifiedDate_union1_error != null) {
|
|
3498
|
+
obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
|
|
3499
|
+
}
|
|
3500
|
+
if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
|
|
3501
|
+
let message = 'Object doesn\'t match union (at "' + path_lastModifiedDate + '")';
|
|
3502
|
+
message += '\n' + obj_lastModifiedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3503
|
+
message += '\n' + obj_lastModifiedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3504
|
+
return new TypeError(message);
|
|
2452
3505
|
}
|
|
2453
3506
|
}
|
|
2454
3507
|
if (obj.latestSetup !== undefined) {
|
|
@@ -2484,10 +3537,33 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2484
3537
|
if (typeof obj_name !== 'string') {
|
|
2485
3538
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
2486
3539
|
}
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
3540
|
+
if (obj.namespace !== undefined) {
|
|
3541
|
+
const obj_namespace = obj.namespace;
|
|
3542
|
+
const path_namespace = path + '.namespace';
|
|
3543
|
+
let obj_namespace_union0 = null;
|
|
3544
|
+
const obj_namespace_union0_error = (() => {
|
|
3545
|
+
if (typeof obj_namespace !== 'string') {
|
|
3546
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
3547
|
+
}
|
|
3548
|
+
})();
|
|
3549
|
+
if (obj_namespace_union0_error != null) {
|
|
3550
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
3551
|
+
}
|
|
3552
|
+
let obj_namespace_union1 = null;
|
|
3553
|
+
const obj_namespace_union1_error = (() => {
|
|
3554
|
+
if (obj_namespace !== null) {
|
|
3555
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
3556
|
+
}
|
|
3557
|
+
})();
|
|
3558
|
+
if (obj_namespace_union1_error != null) {
|
|
3559
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
3560
|
+
}
|
|
3561
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
3562
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
3563
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3564
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3565
|
+
return new TypeError(message);
|
|
3566
|
+
}
|
|
2491
3567
|
}
|
|
2492
3568
|
if (obj.outcomeDefinition !== undefined) {
|
|
2493
3569
|
const obj_outcomeDefinition = obj.outcomeDefinition;
|
|
@@ -2502,8 +3578,29 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2502
3578
|
if (obj.predictionType !== undefined) {
|
|
2503
3579
|
const obj_predictionType = obj.predictionType;
|
|
2504
3580
|
const path_predictionType = path + '.predictionType';
|
|
2505
|
-
|
|
2506
|
-
|
|
3581
|
+
let obj_predictionType_union0 = null;
|
|
3582
|
+
const obj_predictionType_union0_error = (() => {
|
|
3583
|
+
if (typeof obj_predictionType !== 'string') {
|
|
3584
|
+
return new TypeError('Expected "string" but received "' + typeof obj_predictionType + '" (at "' + path_predictionType + '")');
|
|
3585
|
+
}
|
|
3586
|
+
})();
|
|
3587
|
+
if (obj_predictionType_union0_error != null) {
|
|
3588
|
+
obj_predictionType_union0 = obj_predictionType_union0_error.message;
|
|
3589
|
+
}
|
|
3590
|
+
let obj_predictionType_union1 = null;
|
|
3591
|
+
const obj_predictionType_union1_error = (() => {
|
|
3592
|
+
if (obj_predictionType !== null) {
|
|
3593
|
+
return new TypeError('Expected "null" but received "' + typeof obj_predictionType + '" (at "' + path_predictionType + '")');
|
|
3594
|
+
}
|
|
3595
|
+
})();
|
|
3596
|
+
if (obj_predictionType_union1_error != null) {
|
|
3597
|
+
obj_predictionType_union1 = obj_predictionType_union1_error.message;
|
|
3598
|
+
}
|
|
3599
|
+
if (obj_predictionType_union0 && obj_predictionType_union1) {
|
|
3600
|
+
let message = 'Object doesn\'t match union (at "' + path_predictionType + '")';
|
|
3601
|
+
message += '\n' + obj_predictionType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3602
|
+
message += '\n' + obj_predictionType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3603
|
+
return new TypeError(message);
|
|
2507
3604
|
}
|
|
2508
3605
|
}
|
|
2509
3606
|
if (obj.refreshConfig !== undefined) {
|
|
@@ -2519,8 +3616,29 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2519
3616
|
if (obj.setupVersionsUrl !== undefined) {
|
|
2520
3617
|
const obj_setupVersionsUrl = obj.setupVersionsUrl;
|
|
2521
3618
|
const path_setupVersionsUrl = path + '.setupVersionsUrl';
|
|
2522
|
-
|
|
2523
|
-
|
|
3619
|
+
let obj_setupVersionsUrl_union0 = null;
|
|
3620
|
+
const obj_setupVersionsUrl_union0_error = (() => {
|
|
3621
|
+
if (typeof obj_setupVersionsUrl !== 'string') {
|
|
3622
|
+
return new TypeError('Expected "string" but received "' + typeof obj_setupVersionsUrl + '" (at "' + path_setupVersionsUrl + '")');
|
|
3623
|
+
}
|
|
3624
|
+
})();
|
|
3625
|
+
if (obj_setupVersionsUrl_union0_error != null) {
|
|
3626
|
+
obj_setupVersionsUrl_union0 = obj_setupVersionsUrl_union0_error.message;
|
|
3627
|
+
}
|
|
3628
|
+
let obj_setupVersionsUrl_union1 = null;
|
|
3629
|
+
const obj_setupVersionsUrl_union1_error = (() => {
|
|
3630
|
+
if (obj_setupVersionsUrl !== null) {
|
|
3631
|
+
return new TypeError('Expected "null" but received "' + typeof obj_setupVersionsUrl + '" (at "' + path_setupVersionsUrl + '")');
|
|
3632
|
+
}
|
|
3633
|
+
})();
|
|
3634
|
+
if (obj_setupVersionsUrl_union1_error != null) {
|
|
3635
|
+
obj_setupVersionsUrl_union1 = obj_setupVersionsUrl_union1_error.message;
|
|
3636
|
+
}
|
|
3637
|
+
if (obj_setupVersionsUrl_union0 && obj_setupVersionsUrl_union1) {
|
|
3638
|
+
let message = 'Object doesn\'t match union (at "' + path_setupVersionsUrl + '")';
|
|
3639
|
+
message += '\n' + obj_setupVersionsUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3640
|
+
message += '\n' + obj_setupVersionsUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3641
|
+
return new TypeError(message);
|
|
2524
3642
|
}
|
|
2525
3643
|
}
|
|
2526
3644
|
const obj_status = obj.status;
|
|
@@ -2531,15 +3649,57 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2531
3649
|
if (obj.totalInferenceCount !== undefined) {
|
|
2532
3650
|
const obj_totalInferenceCount = obj.totalInferenceCount;
|
|
2533
3651
|
const path_totalInferenceCount = path + '.totalInferenceCount';
|
|
2534
|
-
|
|
2535
|
-
|
|
3652
|
+
let obj_totalInferenceCount_union0 = null;
|
|
3653
|
+
const obj_totalInferenceCount_union0_error = (() => {
|
|
3654
|
+
if (typeof obj_totalInferenceCount !== 'number' || (typeof obj_totalInferenceCount === 'number' && Math.floor(obj_totalInferenceCount) !== obj_totalInferenceCount)) {
|
|
3655
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_totalInferenceCount + '" (at "' + path_totalInferenceCount + '")');
|
|
3656
|
+
}
|
|
3657
|
+
})();
|
|
3658
|
+
if (obj_totalInferenceCount_union0_error != null) {
|
|
3659
|
+
obj_totalInferenceCount_union0 = obj_totalInferenceCount_union0_error.message;
|
|
3660
|
+
}
|
|
3661
|
+
let obj_totalInferenceCount_union1 = null;
|
|
3662
|
+
const obj_totalInferenceCount_union1_error = (() => {
|
|
3663
|
+
if (obj_totalInferenceCount !== null) {
|
|
3664
|
+
return new TypeError('Expected "null" but received "' + typeof obj_totalInferenceCount + '" (at "' + path_totalInferenceCount + '")');
|
|
3665
|
+
}
|
|
3666
|
+
})();
|
|
3667
|
+
if (obj_totalInferenceCount_union1_error != null) {
|
|
3668
|
+
obj_totalInferenceCount_union1 = obj_totalInferenceCount_union1_error.message;
|
|
3669
|
+
}
|
|
3670
|
+
if (obj_totalInferenceCount_union0 && obj_totalInferenceCount_union1) {
|
|
3671
|
+
let message = 'Object doesn\'t match union (at "' + path_totalInferenceCount + '")';
|
|
3672
|
+
message += '\n' + obj_totalInferenceCount_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3673
|
+
message += '\n' + obj_totalInferenceCount_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3674
|
+
return new TypeError(message);
|
|
2536
3675
|
}
|
|
2537
3676
|
}
|
|
2538
3677
|
if (obj.totalWarningsCount !== undefined) {
|
|
2539
3678
|
const obj_totalWarningsCount = obj.totalWarningsCount;
|
|
2540
3679
|
const path_totalWarningsCount = path + '.totalWarningsCount';
|
|
2541
|
-
|
|
2542
|
-
|
|
3680
|
+
let obj_totalWarningsCount_union0 = null;
|
|
3681
|
+
const obj_totalWarningsCount_union0_error = (() => {
|
|
3682
|
+
if (typeof obj_totalWarningsCount !== 'number' || (typeof obj_totalWarningsCount === 'number' && Math.floor(obj_totalWarningsCount) !== obj_totalWarningsCount)) {
|
|
3683
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_totalWarningsCount + '" (at "' + path_totalWarningsCount + '")');
|
|
3684
|
+
}
|
|
3685
|
+
})();
|
|
3686
|
+
if (obj_totalWarningsCount_union0_error != null) {
|
|
3687
|
+
obj_totalWarningsCount_union0 = obj_totalWarningsCount_union0_error.message;
|
|
3688
|
+
}
|
|
3689
|
+
let obj_totalWarningsCount_union1 = null;
|
|
3690
|
+
const obj_totalWarningsCount_union1_error = (() => {
|
|
3691
|
+
if (obj_totalWarningsCount !== null) {
|
|
3692
|
+
return new TypeError('Expected "null" but received "' + typeof obj_totalWarningsCount + '" (at "' + path_totalWarningsCount + '")');
|
|
3693
|
+
}
|
|
3694
|
+
})();
|
|
3695
|
+
if (obj_totalWarningsCount_union1_error != null) {
|
|
3696
|
+
obj_totalWarningsCount_union1 = obj_totalWarningsCount_union1_error.message;
|
|
3697
|
+
}
|
|
3698
|
+
if (obj_totalWarningsCount_union0 && obj_totalWarningsCount_union1) {
|
|
3699
|
+
let message = 'Object doesn\'t match union (at "' + path_totalWarningsCount + '")';
|
|
3700
|
+
message += '\n' + obj_totalWarningsCount_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3701
|
+
message += '\n' + obj_totalWarningsCount_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3702
|
+
return new TypeError(message);
|
|
2543
3703
|
}
|
|
2544
3704
|
}
|
|
2545
3705
|
const obj_url = obj.url;
|
|
@@ -2552,42 +3712,67 @@ function validate$1(obj, path = 'CdpMlWorkspaceRepresentation') {
|
|
|
2552
3712
|
}
|
|
2553
3713
|
|
|
2554
3714
|
const TTL = 1000;
|
|
2555
|
-
const VERSION = "
|
|
3715
|
+
const VERSION = "e6a8612718f37385e9d7622527f26c5c";
|
|
2556
3716
|
function validate(obj, path = 'CdpMlWorkspaceCollectionRepresentation') {
|
|
2557
3717
|
const v_error = (() => {
|
|
2558
3718
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2559
3719
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2560
3720
|
}
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
if (
|
|
2571
|
-
|
|
3721
|
+
if (obj.currentPageUrl !== undefined) {
|
|
3722
|
+
const obj_currentPageUrl = obj.currentPageUrl;
|
|
3723
|
+
const path_currentPageUrl = path + '.currentPageUrl';
|
|
3724
|
+
let obj_currentPageUrl_union0 = null;
|
|
3725
|
+
const obj_currentPageUrl_union0_error = (() => {
|
|
3726
|
+
if (typeof obj_currentPageUrl !== 'string') {
|
|
3727
|
+
return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
3728
|
+
}
|
|
3729
|
+
})();
|
|
3730
|
+
if (obj_currentPageUrl_union0_error != null) {
|
|
3731
|
+
obj_currentPageUrl_union0 = obj_currentPageUrl_union0_error.message;
|
|
2572
3732
|
}
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
if (
|
|
2580
|
-
|
|
3733
|
+
let obj_currentPageUrl_union1 = null;
|
|
3734
|
+
const obj_currentPageUrl_union1_error = (() => {
|
|
3735
|
+
if (obj_currentPageUrl !== null) {
|
|
3736
|
+
return new TypeError('Expected "null" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
3737
|
+
}
|
|
3738
|
+
})();
|
|
3739
|
+
if (obj_currentPageUrl_union1_error != null) {
|
|
3740
|
+
obj_currentPageUrl_union1 = obj_currentPageUrl_union1_error.message;
|
|
3741
|
+
}
|
|
3742
|
+
if (obj_currentPageUrl_union0 && obj_currentPageUrl_union1) {
|
|
3743
|
+
let message = 'Object doesn\'t match union (at "' + path_currentPageUrl + '")';
|
|
3744
|
+
message += '\n' + obj_currentPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3745
|
+
message += '\n' + obj_currentPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3746
|
+
return new TypeError(message);
|
|
2581
3747
|
}
|
|
2582
|
-
})();
|
|
2583
|
-
if (obj_nextPageUrl_union1_error != null) {
|
|
2584
|
-
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
2585
3748
|
}
|
|
2586
|
-
if (
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
3749
|
+
if (obj.nextPageUrl !== undefined) {
|
|
3750
|
+
const obj_nextPageUrl = obj.nextPageUrl;
|
|
3751
|
+
const path_nextPageUrl = path + '.nextPageUrl';
|
|
3752
|
+
let obj_nextPageUrl_union0 = null;
|
|
3753
|
+
const obj_nextPageUrl_union0_error = (() => {
|
|
3754
|
+
if (typeof obj_nextPageUrl !== 'string') {
|
|
3755
|
+
return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
|
|
3756
|
+
}
|
|
3757
|
+
})();
|
|
3758
|
+
if (obj_nextPageUrl_union0_error != null) {
|
|
3759
|
+
obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
|
|
3760
|
+
}
|
|
3761
|
+
let obj_nextPageUrl_union1 = null;
|
|
3762
|
+
const obj_nextPageUrl_union1_error = (() => {
|
|
3763
|
+
if (obj_nextPageUrl !== null) {
|
|
3764
|
+
return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
|
|
3765
|
+
}
|
|
3766
|
+
})();
|
|
3767
|
+
if (obj_nextPageUrl_union1_error != null) {
|
|
3768
|
+
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
3769
|
+
}
|
|
3770
|
+
if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
|
|
3771
|
+
let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
|
|
3772
|
+
message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3773
|
+
message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3774
|
+
return new TypeError(message);
|
|
3775
|
+
}
|
|
2591
3776
|
}
|
|
2592
3777
|
const obj_totalSize = obj.totalSize;
|
|
2593
3778
|
const path_totalSize = path + '.totalSize';
|
|
@@ -2837,16 +4022,16 @@ const adapterName = 'updateCdpMlConfiguredModel';
|
|
|
2837
4022
|
const updateCdpMlConfiguredModel_ConfigPropertyMetadata = [
|
|
2838
4023
|
generateParamConfigMetadata('modelIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
2839
4024
|
generateParamConfigMetadata('workspaceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
2840
|
-
generateParamConfigMetadata('actionableFields',
|
|
4025
|
+
generateParamConfigMetadata('actionableFields', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
2841
4026
|
generateParamConfigMetadata('artifact', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2842
|
-
generateParamConfigMetadata('capability',
|
|
2843
|
-
generateParamConfigMetadata('customizableFields',
|
|
2844
|
-
generateParamConfigMetadata('description', false, 2 /* Body */,
|
|
4027
|
+
generateParamConfigMetadata('capability', false, 2 /* Body */, 0 /* String */),
|
|
4028
|
+
generateParamConfigMetadata('customizableFields', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
4029
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2845
4030
|
generateParamConfigMetadata('filter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2846
|
-
generateParamConfigMetadata('label', false, 2 /* Body */,
|
|
2847
|
-
generateParamConfigMetadata('parameterOverrides',
|
|
2848
|
-
generateParamConfigMetadata('position',
|
|
2849
|
-
generateParamConfigMetadata('status',
|
|
4031
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4032
|
+
generateParamConfigMetadata('parameterOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
4033
|
+
generateParamConfigMetadata('position', false, 2 /* Body */, 3 /* Integer */),
|
|
4034
|
+
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
2850
4035
|
];
|
|
2851
4036
|
const updateCdpMlConfiguredModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateCdpMlConfiguredModel_ConfigPropertyMetadata);
|
|
2852
4037
|
const createResourceParams = /*#__PURE__*/ createResourceParams$8(updateCdpMlConfiguredModel_ConfigPropertyMetadata);
|
|
@@ -2858,36 +4043,37 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
2858
4043
|
const untrustedConfig_actionableFields_array = [];
|
|
2859
4044
|
for (let i = 0, arrayLength = untrustedConfig_actionableFields.length; i < arrayLength; i++) {
|
|
2860
4045
|
const untrustedConfig_actionableFields_item = untrustedConfig_actionableFields[i];
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item_object);
|
|
2865
|
-
}
|
|
4046
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$r(untrustedConfig_actionableFields_item);
|
|
4047
|
+
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
4048
|
+
untrustedConfig_actionableFields_array.push(untrustedConfig_actionableFields_item);
|
|
2866
4049
|
}
|
|
2867
4050
|
}
|
|
2868
4051
|
config.actionableFields = untrustedConfig_actionableFields_array;
|
|
2869
4052
|
}
|
|
2870
4053
|
const untrustedConfig_artifact = untrustedConfig.artifact;
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
config.artifact = untrustedConfig_artifact_object;
|
|
2875
|
-
}
|
|
4054
|
+
const referenceCdpAssetReferenceInputRepresentationValidationError = validate$q(untrustedConfig_artifact);
|
|
4055
|
+
if (referenceCdpAssetReferenceInputRepresentationValidationError === null) {
|
|
4056
|
+
config.artifact = untrustedConfig_artifact;
|
|
2876
4057
|
}
|
|
2877
4058
|
const untrustedConfig_customizableFields = untrustedConfig.customizableFields;
|
|
2878
4059
|
if (ArrayIsArray$1(untrustedConfig_customizableFields)) {
|
|
2879
4060
|
const untrustedConfig_customizableFields_array = [];
|
|
2880
4061
|
for (let i = 0, arrayLength = untrustedConfig_customizableFields.length; i < arrayLength; i++) {
|
|
2881
4062
|
const untrustedConfig_customizableFields_item = untrustedConfig_customizableFields[i];
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item_object);
|
|
2886
|
-
}
|
|
4063
|
+
const referenceCdpMlCustomizableFieldInputRepresentationValidationError = validate$r(untrustedConfig_customizableFields_item);
|
|
4064
|
+
if (referenceCdpMlCustomizableFieldInputRepresentationValidationError === null) {
|
|
4065
|
+
untrustedConfig_customizableFields_array.push(untrustedConfig_customizableFields_item);
|
|
2887
4066
|
}
|
|
2888
4067
|
}
|
|
2889
4068
|
config.customizableFields = untrustedConfig_customizableFields_array;
|
|
2890
4069
|
}
|
|
4070
|
+
const untrustedConfig_description = untrustedConfig.description;
|
|
4071
|
+
if (typeof untrustedConfig_description === 'string') {
|
|
4072
|
+
config.description = untrustedConfig_description;
|
|
4073
|
+
}
|
|
4074
|
+
if (untrustedConfig_description === null) {
|
|
4075
|
+
config.description = untrustedConfig_description;
|
|
4076
|
+
}
|
|
2891
4077
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
2892
4078
|
if (untrustedIsObject(untrustedConfig_filter)) {
|
|
2893
4079
|
const untrustedConfig_filter_object = {};
|
|
@@ -2895,16 +4081,21 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
2895
4081
|
config.filter = untrustedConfig_filter_object;
|
|
2896
4082
|
}
|
|
2897
4083
|
}
|
|
4084
|
+
const untrustedConfig_label = untrustedConfig.label;
|
|
4085
|
+
if (typeof untrustedConfig_label === 'string') {
|
|
4086
|
+
config.label = untrustedConfig_label;
|
|
4087
|
+
}
|
|
4088
|
+
if (untrustedConfig_label === null) {
|
|
4089
|
+
config.label = untrustedConfig_label;
|
|
4090
|
+
}
|
|
2898
4091
|
const untrustedConfig_parameterOverrides = untrustedConfig.parameterOverrides;
|
|
2899
4092
|
if (ArrayIsArray$1(untrustedConfig_parameterOverrides)) {
|
|
2900
4093
|
const untrustedConfig_parameterOverrides_array = [];
|
|
2901
4094
|
for (let i = 0, arrayLength = untrustedConfig_parameterOverrides.length; i < arrayLength; i++) {
|
|
2902
4095
|
const untrustedConfig_parameterOverrides_item = untrustedConfig_parameterOverrides[i];
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item_object);
|
|
2907
|
-
}
|
|
4096
|
+
const referenceCdpMlModelParameterOverrideInputRepresentationValidationError = validate$p(untrustedConfig_parameterOverrides_item);
|
|
4097
|
+
if (referenceCdpMlModelParameterOverrideInputRepresentationValidationError === null) {
|
|
4098
|
+
untrustedConfig_parameterOverrides_array.push(untrustedConfig_parameterOverrides_item);
|
|
2908
4099
|
}
|
|
2909
4100
|
}
|
|
2910
4101
|
config.parameterOverrides = untrustedConfig_parameterOverrides_array;
|
|
@@ -2953,7 +4144,7 @@ const updateCdpMlConfiguredModelAdapterFactory = (luvio) => {
|
|
|
2953
4144
|
};
|
|
2954
4145
|
};
|
|
2955
4146
|
|
|
2956
|
-
let
|
|
4147
|
+
let createCdpMlConfiguredModel;
|
|
2957
4148
|
let getCdpMlConfiguredModel;
|
|
2958
4149
|
let getCdpMlConfiguredModelCollection;
|
|
2959
4150
|
let getCdpMlModelArtifact;
|
|
@@ -3013,7 +4204,7 @@ function bindExportsTo(luvio) {
|
|
|
3013
4204
|
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
3014
4205
|
}
|
|
3015
4206
|
return {
|
|
3016
|
-
|
|
4207
|
+
createCdpMlConfiguredModel: unwrapSnapshotData(createCdpMlConfiguredModelAdapterFactory),
|
|
3017
4208
|
getCdpMlConfiguredModel: createWireAdapterConstructor(luvio, getCdpMlConfiguredModel_ldsAdapter, getCdpMlConfiguredModelMetadata),
|
|
3018
4209
|
getCdpMlConfiguredModelCollection: createWireAdapterConstructor(luvio, getCdpMlConfiguredModelCollection_ldsAdapter, getCdpMlConfiguredModelCollectionMetadata),
|
|
3019
4210
|
getCdpMlModelArtifact: createWireAdapterConstructor(luvio, getCdpMlModelArtifact_ldsAdapter, getCdpMlModelArtifactMetadata),
|
|
@@ -3034,7 +4225,7 @@ function bindExportsTo(luvio) {
|
|
|
3034
4225
|
}
|
|
3035
4226
|
withDefaultLuvio((luvio) => {
|
|
3036
4227
|
({
|
|
3037
|
-
|
|
4228
|
+
createCdpMlConfiguredModel,
|
|
3038
4229
|
getCdpMlConfiguredModel,
|
|
3039
4230
|
getCdpMlConfiguredModelCollection,
|
|
3040
4231
|
getCdpMlModelArtifact,
|
|
@@ -3052,5 +4243,5 @@ withDefaultLuvio((luvio) => {
|
|
|
3052
4243
|
} = bindExportsTo(luvio));
|
|
3053
4244
|
});
|
|
3054
4245
|
|
|
3055
|
-
export {
|
|
3056
|
-
// version: 1.266.0-
|
|
4246
|
+
export { createCdpMlConfiguredModel, getCdpMlConfiguredModel, getCdpMlConfiguredModelCollection, getCdpMlConfiguredModelCollection_imperative, getCdpMlConfiguredModel_imperative, getCdpMlModelArtifact, getCdpMlModelArtifactCollection, getCdpMlModelArtifactCollection_imperative, getCdpMlModelArtifact_imperative, getCdpMlWorkspace, getCdpMlWorkspaceCollection, getCdpMlWorkspaceCollection_imperative, getCdpMlWorkspaceNotifyChange, getCdpMlWorkspace_imperative, updateCdpMlConfiguredModel };
|
|
4247
|
+
// version: 1.266.0-dev7-88d9ddf38
|