@salesforce/lds-adapters-cdp-data-clean-room 1.404.0-dev2 → 1.404.0-dev21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +616 -90
  2. package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +4 -1
  3. package/dist/es/es2018/types/src/generated/adapters/createProvider.d.ts +2 -0
  4. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +4 -1
  5. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomProviders.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +4 -1
  7. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateInputRepresentation.d.ts +9 -1
  8. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryConfig.d.ts +8 -7
  9. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +9 -3
  10. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAwsS3ConnectionAttributesRepresentation.d.ts +34 -0
  11. package/dist/es/es2018/types/src/generated/types/DataCleanRoomConnectionAttributesRepresentation.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathAttributeRepresentation.d.ts +31 -0
  13. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathRepresentation.d.ts +30 -0
  14. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTableRepresentation.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectRepresentation.d.ts +29 -0
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputRelatedTableRepresentation.d.ts +32 -0
  18. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostUsecaseConfigRepresentation.d.ts +34 -0
  19. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberConfigRepresentation.d.ts +40 -0
  20. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +8 -1
  21. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataConfigurationRepresentation.d.ts +32 -0
  22. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataMemberConfigRepresentation.d.ts +43 -0
  23. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataOutputConfigRepresentation.d.ts +31 -0
  24. package/dist/es/es2018/types/src/generated/types/DataCleanRoomOutputConfigurationRepresentation.d.ts +34 -0
  25. package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.d.ts +7 -1
  26. package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderRepresentation.d.ts +7 -1
  27. package/dist/es/es2018/types/src/generated/types/DataCleanRoomSnowflakeConnectionAttributesRepresentation.d.ts +43 -0
  28. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +7 -4
  29. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigInputRepresentation.d.ts +28 -0
  30. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigRepresentation.d.ts +28 -0
  31. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTableInputRepresentation.d.ts +28 -0
  32. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathAttributeInputRepresentation.d.ts +31 -0
  33. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathInputRepresentation.d.ts +30 -0
  34. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
  35. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectInputRepresentation.d.ts +29 -0
  36. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputRelatedTableInputRepresentation.d.ts +32 -0
  37. package/dist/es/es2018/types/src/generated/types/MatchBoostUsecaseConfigInputRepresentation.d.ts +34 -0
  38. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +52 -0
  39. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateConfigRepresentation.d.ts +29 -0
  40. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMemberConfigRepresentation.d.ts +32 -0
  41. package/package.json +3 -3
  42. package/sfdc/index.js +601 -75
  43. package/src/raml/api.raml +497 -6
package/sfdc/index.js CHANGED
@@ -17,7 +17,7 @@ import { withDefaultLuvio } from 'force/ldsEngine';
17
17
  import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$c, typeCheckConfig as typeCheckConfig$c, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
- const { keys: ObjectKeys, create: ObjectCreate } = Object;
20
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
21
21
  const { isArray: ArrayIsArray$1 } = Array;
22
22
  /**
23
23
  * Validates an adapter config is well-formed.
@@ -41,7 +41,7 @@ function validateConfig(config, adapter, oneOf) {
41
41
  throw new TypeError(`adapter ${displayName} does not yet support ${unsupported.sort().join(', ')}`);
42
42
  }
43
43
  const supported = required.concat(optional);
44
- if (ObjectKeys(config).some(key => !supported.includes(key))) {
44
+ if (ObjectKeys$1(config).some(key => !supported.includes(key))) {
45
45
  throw new TypeError(`adapter ${displayName} configuration supports only ${supported.sort().join(', ')}`);
46
46
  }
47
47
  }
@@ -81,6 +81,7 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
81
81
  }
82
82
  const keyPrefix = 'data-clean-room';
83
83
 
84
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
84
85
  const { isArray: ArrayIsArray } = Array;
85
86
  const { stringify: JSONStringify } = JSON;
86
87
  function equalsArray(a, b, equalsItem) {
@@ -102,8 +103,97 @@ function createLink(ref) {
102
103
  };
103
104
  }
104
105
 
105
- const VERSION$9 = "a8672aefcec1f2472ac82220f6461ae6";
106
- function validate$r(obj, path = 'DataCleanRoomMemberRepresentation') {
106
+ function validate$C(obj, path = 'DataCleanRoomConnectionAttributesRepresentation') {
107
+ const v_error = (() => {
108
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
110
+ }
111
+ const obj_connectorType = obj.connectorType;
112
+ const path_connectorType = path + '.connectorType';
113
+ if (typeof obj_connectorType !== 'string') {
114
+ return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
115
+ }
116
+ })();
117
+ return v_error === undefined ? null : v_error;
118
+ }
119
+
120
+ function validate$B(obj, path = 'DataCleanRoomOutputConfigurationRepresentation') {
121
+ const v_error = (() => {
122
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
123
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
124
+ }
125
+ if (obj.connectionAttributes !== undefined) {
126
+ const obj_connectionAttributes = obj.connectionAttributes;
127
+ const path_connectionAttributes = path + '.connectionAttributes';
128
+ const referencepath_connectionAttributesValidationError = validate$C(obj_connectionAttributes, path_connectionAttributes);
129
+ if (referencepath_connectionAttributesValidationError !== null) {
130
+ let message = 'Object doesn\'t match DataCleanRoomConnectionAttributesRepresentation (at "' + path_connectionAttributes + '")\n';
131
+ message += referencepath_connectionAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
132
+ return new TypeError(message);
133
+ }
134
+ }
135
+ if (obj.externalId !== undefined) {
136
+ const obj_externalId = obj.externalId;
137
+ const path_externalId = path + '.externalId';
138
+ if (typeof obj_externalId !== 'string') {
139
+ return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
140
+ }
141
+ }
142
+ const obj_outputDestinationType = obj.outputDestinationType;
143
+ const path_outputDestinationType = path + '.outputDestinationType';
144
+ if (typeof obj_outputDestinationType !== 'string') {
145
+ return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationType + '" (at "' + path_outputDestinationType + '")');
146
+ }
147
+ })();
148
+ return v_error === undefined ? null : v_error;
149
+ }
150
+
151
+ function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
152
+ const v_error = (() => {
153
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
154
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
155
+ }
156
+ if (obj.externalId !== undefined) {
157
+ const obj_externalId = obj.externalId;
158
+ const path_externalId = path + '.externalId';
159
+ if (typeof obj_externalId !== 'string') {
160
+ return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
161
+ }
162
+ }
163
+ if (obj.id !== undefined) {
164
+ const obj_id = obj.id;
165
+ const path_id = path + '.id';
166
+ if (typeof obj_id !== 'string') {
167
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
168
+ }
169
+ }
170
+ if (obj.outputDestinationId !== undefined) {
171
+ const obj_outputDestinationId = obj.outputDestinationId;
172
+ const path_outputDestinationId = path + '.outputDestinationId';
173
+ if (typeof obj_outputDestinationId !== 'string') {
174
+ return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationId + '" (at "' + path_outputDestinationId + '")');
175
+ }
176
+ }
177
+ if (obj.outputDestinationType !== undefined) {
178
+ const obj_outputDestinationType = obj.outputDestinationType;
179
+ const path_outputDestinationType = path + '.outputDestinationType';
180
+ if (typeof obj_outputDestinationType !== 'string') {
181
+ return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationType + '" (at "' + path_outputDestinationType + '")');
182
+ }
183
+ }
184
+ if (obj.templateVersionId !== undefined) {
185
+ const obj_templateVersionId = obj.templateVersionId;
186
+ const path_templateVersionId = path + '.templateVersionId';
187
+ if (typeof obj_templateVersionId !== 'string') {
188
+ return new TypeError('Expected "string" but received "' + typeof obj_templateVersionId + '" (at "' + path_templateVersionId + '")');
189
+ }
190
+ }
191
+ })();
192
+ return v_error === undefined ? null : v_error;
193
+ }
194
+
195
+ const VERSION$9 = "cc5736f976c7c58026dd19879ac57f5c";
196
+ function validate$z(obj, path = 'DataCleanRoomMemberRepresentation') {
107
197
  const v_error = (() => {
108
198
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
199
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -118,6 +208,30 @@ function validate$r(obj, path = 'DataCleanRoomMemberRepresentation') {
118
208
  if (typeof obj_invitationStatus !== 'string') {
119
209
  return new TypeError('Expected "string" but received "' + typeof obj_invitationStatus + '" (at "' + path_invitationStatus + '")');
120
210
  }
211
+ if (obj.memberConfigs !== undefined) {
212
+ const obj_memberConfigs = obj.memberConfigs;
213
+ const path_memberConfigs = path + '.memberConfigs';
214
+ if (!ArrayIsArray(obj_memberConfigs)) {
215
+ return new TypeError('Expected "array" but received "' + typeof obj_memberConfigs + '" (at "' + path_memberConfigs + '")');
216
+ }
217
+ for (let i = 0; i < obj_memberConfigs.length; i++) {
218
+ const obj_memberConfigs_item = obj_memberConfigs[i];
219
+ const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
220
+ const referencepath_memberConfigs_itemValidationError = validate$A(obj_memberConfigs_item, path_memberConfigs_item);
221
+ if (referencepath_memberConfigs_itemValidationError !== null) {
222
+ let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
223
+ message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
224
+ return new TypeError(message);
225
+ }
226
+ }
227
+ }
228
+ if (obj.memberDomainUrl !== undefined) {
229
+ const obj_memberDomainUrl = obj.memberDomainUrl;
230
+ const path_memberDomainUrl = path + '.memberDomainUrl';
231
+ if (typeof obj_memberDomainUrl !== 'string') {
232
+ return new TypeError('Expected "string" but received "' + typeof obj_memberDomainUrl + '" (at "' + path_memberDomainUrl + '")');
233
+ }
234
+ }
121
235
  const obj_memberId = obj.memberId;
122
236
  const path_memberId = path + '.memberId';
123
237
  if (typeof obj_memberId !== 'string') {
@@ -184,7 +298,7 @@ function equals$9(existing, incoming) {
184
298
  }
185
299
  const ingest$9 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
186
300
  if (process.env.NODE_ENV !== 'production') {
187
- const validateError = validate$r(input);
301
+ const validateError = validate$z(input);
188
302
  if (validateError !== null) {
189
303
  throw validateError;
190
304
  }
@@ -245,13 +359,27 @@ const adapterName$b = 'acceptDataCleanRoomInvitation';
245
359
  const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
246
360
  generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
247
361
  generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
248
- generateParamConfigMetadata('specificationId', true, 2 /* Body */, 0 /* String */),
362
+ generateParamConfigMetadata('specificationId', false, 2 /* Body */, 4 /* Unsupported */),
363
+ generateParamConfigMetadata('outputConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
364
+ generateParamConfigMetadata('dataSpaceName', false, 2 /* Body */, 0 /* String */),
249
365
  ];
250
366
  const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
251
367
  const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
252
368
  function typeCheckConfig$b(untrustedConfig) {
253
369
  const config = {};
254
370
  typeCheckConfig$c(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
371
+ const untrustedConfig_specificationId = untrustedConfig.specificationId;
372
+ if (typeof untrustedConfig_specificationId === 'string') {
373
+ config.specificationId = untrustedConfig_specificationId;
374
+ }
375
+ if (untrustedConfig_specificationId === null) {
376
+ config.specificationId = untrustedConfig_specificationId;
377
+ }
378
+ const untrustedConfig_outputConfiguration = untrustedConfig.outputConfiguration;
379
+ const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$B(untrustedConfig_outputConfiguration);
380
+ if (referenceDataCleanRoomOutputConfigurationRepresentationValidationError === null) {
381
+ config.outputConfiguration = untrustedConfig_outputConfiguration;
382
+ }
255
383
  return config;
256
384
  }
257
385
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -296,7 +424,7 @@ const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
296
424
  };
297
425
  };
298
426
 
299
- function validate$q(obj, path = 'CdpUserRepresentation') {
427
+ function validate$y(obj, path = 'CdpUserRepresentation') {
300
428
  const v_error = (() => {
301
429
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
302
430
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -326,20 +454,285 @@ function validate$q(obj, path = 'CdpUserRepresentation') {
326
454
  return v_error === undefined ? null : v_error;
327
455
  }
328
456
 
329
- function validate$p(obj, path = 'DataCleanRoomTemplateRepresentation') {
457
+ function validate$x(obj, path = 'UseCaseTemplateAttributeConfigRepresentation') {
330
458
  const v_error = (() => {
331
459
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
332
460
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
333
461
  }
334
- const obj_configuration = obj.configuration;
335
- const path_configuration = path + '.configuration';
336
- if (obj_configuration === undefined) {
337
- return new TypeError('Expected "defined" but received "' + typeof obj_configuration + '" (at "' + path_configuration + '")');
462
+ if (obj.alias !== undefined) {
463
+ const obj_alias = obj.alias;
464
+ const path_alias = path + '.alias';
465
+ if (typeof obj_alias !== 'string') {
466
+ return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
467
+ }
468
+ }
469
+ if (obj.defaultValue !== undefined) {
470
+ const obj_defaultValue = obj.defaultValue;
471
+ const path_defaultValue = path + '.defaultValue';
472
+ if (typeof obj_defaultValue !== 'string') {
473
+ return new TypeError('Expected "string" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
474
+ }
475
+ }
476
+ if (obj.description !== undefined) {
477
+ const obj_description = obj.description;
478
+ const path_description = path + '.description';
479
+ if (typeof obj_description !== 'string') {
480
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
481
+ }
482
+ }
483
+ if (obj.id !== undefined) {
484
+ const obj_id = obj.id;
485
+ const path_id = path + '.id';
486
+ if (typeof obj_id !== 'string') {
487
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
488
+ }
489
+ }
490
+ if (obj.label !== undefined) {
491
+ const obj_label = obj.label;
492
+ const path_label = path + '.label';
493
+ if (typeof obj_label !== 'string') {
494
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
495
+ }
496
+ }
497
+ if (obj.queryOptions !== undefined) {
498
+ const obj_queryOptions = obj.queryOptions;
499
+ const path_queryOptions = path + '.queryOptions';
500
+ if (obj_queryOptions === undefined) {
501
+ return new TypeError('Expected "defined" but received "' + typeof obj_queryOptions + '" (at "' + path_queryOptions + '")');
502
+ }
503
+ }
504
+ if (obj.required !== undefined) {
505
+ const obj_required = obj.required;
506
+ const path_required = path + '.required';
507
+ if (typeof obj_required !== 'boolean') {
508
+ return new TypeError('Expected "boolean" but received "' + typeof obj_required + '" (at "' + path_required + '")');
509
+ }
510
+ }
511
+ if (obj.tableName !== undefined) {
512
+ const obj_tableName = obj.tableName;
513
+ const path_tableName = path + '.tableName';
514
+ if (typeof obj_tableName !== 'string') {
515
+ return new TypeError('Expected "string" but received "' + typeof obj_tableName + '" (at "' + path_tableName + '")');
516
+ }
517
+ }
518
+ if (obj.tooltip !== undefined) {
519
+ const obj_tooltip = obj.tooltip;
520
+ const path_tooltip = path + '.tooltip';
521
+ if (typeof obj_tooltip !== 'string') {
522
+ return new TypeError('Expected "string" but received "' + typeof obj_tooltip + '" (at "' + path_tooltip + '")');
523
+ }
524
+ }
525
+ })();
526
+ return v_error === undefined ? null : v_error;
527
+ }
528
+
529
+ function validate$w(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
530
+ const v_error = (() => {
531
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
532
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
533
+ }
534
+ if (obj.attributeConfigs !== undefined) {
535
+ const obj_attributeConfigs = obj.attributeConfigs;
536
+ const path_attributeConfigs = path + '.attributeConfigs';
537
+ if (!ArrayIsArray(obj_attributeConfigs)) {
538
+ return new TypeError('Expected "array" but received "' + typeof obj_attributeConfigs + '" (at "' + path_attributeConfigs + '")');
539
+ }
540
+ for (let i = 0; i < obj_attributeConfigs.length; i++) {
541
+ const obj_attributeConfigs_item = obj_attributeConfigs[i];
542
+ const path_attributeConfigs_item = path_attributeConfigs + '[' + i + ']';
543
+ const referencepath_attributeConfigs_itemValidationError = validate$x(obj_attributeConfigs_item, path_attributeConfigs_item);
544
+ if (referencepath_attributeConfigs_itemValidationError !== null) {
545
+ let message = 'Object doesn\'t match UseCaseTemplateAttributeConfigRepresentation (at "' + path_attributeConfigs_item + '")\n';
546
+ message += referencepath_attributeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
547
+ return new TypeError(message);
548
+ }
549
+ }
550
+ }
551
+ if (obj.memberType !== undefined) {
552
+ const obj_memberType = obj.memberType;
553
+ const path_memberType = path + '.memberType';
554
+ if (obj_memberType === undefined) {
555
+ return new TypeError('Expected "defined" but received "' + typeof obj_memberType + '" (at "' + path_memberType + '")');
556
+ }
557
+ }
558
+ })();
559
+ return v_error === undefined ? null : v_error;
560
+ }
561
+
562
+ function validate$v(obj, path = 'UseCaseTemplateConfigRepresentation') {
563
+ const v_error = (() => {
564
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
565
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
566
+ }
567
+ if (obj.memberConfigs !== undefined) {
568
+ const obj_memberConfigs = obj.memberConfigs;
569
+ const path_memberConfigs = path + '.memberConfigs';
570
+ if (!ArrayIsArray(obj_memberConfigs)) {
571
+ return new TypeError('Expected "array" but received "' + typeof obj_memberConfigs + '" (at "' + path_memberConfigs + '")');
572
+ }
573
+ for (let i = 0; i < obj_memberConfigs.length; i++) {
574
+ const obj_memberConfigs_item = obj_memberConfigs[i];
575
+ const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
576
+ const referencepath_memberConfigs_itemValidationError = validate$w(obj_memberConfigs_item, path_memberConfigs_item);
577
+ if (referencepath_memberConfigs_itemValidationError !== null) {
578
+ let message = 'Object doesn\'t match UseCaseTemplateMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
579
+ message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
580
+ return new TypeError(message);
581
+ }
582
+ }
583
+ }
584
+ })();
585
+ return v_error === undefined ? null : v_error;
586
+ }
587
+
588
+ function validate$u(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation') {
589
+ const v_error = (() => {
590
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
591
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
592
+ }
593
+ if (obj.connectorType !== undefined) {
594
+ const obj_connectorType = obj.connectorType;
595
+ const path_connectorType = path + '.connectorType';
596
+ if (obj_connectorType === undefined) {
597
+ return new TypeError('Expected "defined" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
598
+ }
599
+ }
600
+ if (obj.destinationType !== undefined) {
601
+ const obj_destinationType = obj.destinationType;
602
+ const path_destinationType = path + '.destinationType';
603
+ if (obj_destinationType === undefined) {
604
+ return new TypeError('Expected "defined" but received "' + typeof obj_destinationType + '" (at "' + path_destinationType + '")');
605
+ }
606
+ }
607
+ })();
608
+ return v_error === undefined ? null : v_error;
609
+ }
610
+
611
+ function validate$t(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation') {
612
+ const v_error = (() => {
613
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
614
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
615
+ }
616
+ if (obj.canReceiveResult !== undefined) {
617
+ const obj_canReceiveResult = obj.canReceiveResult;
618
+ const path_canReceiveResult = path + '.canReceiveResult';
619
+ if (typeof obj_canReceiveResult !== 'boolean') {
620
+ return new TypeError('Expected "boolean" but received "' + typeof obj_canReceiveResult + '" (at "' + path_canReceiveResult + '")');
621
+ }
622
+ }
623
+ if (obj.canTriggerQuery !== undefined) {
624
+ const obj_canTriggerQuery = obj.canTriggerQuery;
625
+ const path_canTriggerQuery = path + '.canTriggerQuery';
626
+ if (typeof obj_canTriggerQuery !== 'boolean') {
627
+ return new TypeError('Expected "boolean" but received "' + typeof obj_canTriggerQuery + '" (at "' + path_canTriggerQuery + '")');
628
+ }
629
+ }
630
+ if (obj.contributesData !== undefined) {
631
+ const obj_contributesData = obj.contributesData;
632
+ const path_contributesData = path + '.contributesData';
633
+ if (typeof obj_contributesData !== 'boolean') {
634
+ return new TypeError('Expected "boolean" but received "' + typeof obj_contributesData + '" (at "' + path_contributesData + '")');
635
+ }
636
+ }
637
+ if (obj.outputConfig !== undefined) {
638
+ const obj_outputConfig = obj.outputConfig;
639
+ const path_outputConfig = path + '.outputConfig';
640
+ const referencepath_outputConfigValidationError = validate$u(obj_outputConfig, path_outputConfig);
641
+ if (referencepath_outputConfigValidationError !== null) {
642
+ let message = 'Object doesn\'t match DataCleanRoomMetadataOutputConfigRepresentation (at "' + path_outputConfig + '")\n';
643
+ message += referencepath_outputConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
644
+ return new TypeError(message);
645
+ }
646
+ }
647
+ if (obj.paysForQueries !== undefined) {
648
+ const obj_paysForQueries = obj.paysForQueries;
649
+ const path_paysForQueries = path + '.paysForQueries';
650
+ if (typeof obj_paysForQueries !== 'boolean') {
651
+ return new TypeError('Expected "boolean" but received "' + typeof obj_paysForQueries + '" (at "' + path_paysForQueries + '")');
652
+ }
653
+ }
654
+ if (obj.type !== undefined) {
655
+ const obj_type = obj.type;
656
+ const path_type = path + '.type';
657
+ if (typeof obj_type !== 'string') {
658
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
659
+ }
660
+ }
661
+ })();
662
+ return v_error === undefined ? null : v_error;
663
+ }
664
+
665
+ function validate$s(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
666
+ const v_error = (() => {
667
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
668
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
669
+ }
670
+ if (obj.useCaseType !== undefined) {
671
+ const obj_useCaseType = obj.useCaseType;
672
+ const path_useCaseType = path + '.useCaseType';
673
+ if (obj_useCaseType === undefined) {
674
+ return new TypeError('Expected "defined" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
675
+ }
676
+ }
677
+ })();
678
+ return v_error === undefined ? null : v_error;
679
+ }
680
+
681
+ function validate$r(obj, path = 'DataCleanRoomMetadataConfigurationRepresentation') {
682
+ const v_error = (() => {
683
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
684
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
685
+ }
686
+ if (obj.memberConfig !== undefined) {
687
+ const obj_memberConfig = obj.memberConfig;
688
+ const path_memberConfig = path + '.memberConfig';
689
+ if (!ArrayIsArray(obj_memberConfig)) {
690
+ return new TypeError('Expected "array" but received "' + typeof obj_memberConfig + '" (at "' + path_memberConfig + '")');
691
+ }
692
+ for (let i = 0; i < obj_memberConfig.length; i++) {
693
+ const obj_memberConfig_item = obj_memberConfig[i];
694
+ const path_memberConfig_item = path_memberConfig + '[' + i + ']';
695
+ const referencepath_memberConfig_itemValidationError = validate$t(obj_memberConfig_item, path_memberConfig_item);
696
+ if (referencepath_memberConfig_itemValidationError !== null) {
697
+ let message = 'Object doesn\'t match DataCleanRoomMetadataMemberConfigRepresentation (at "' + path_memberConfig_item + '")\n';
698
+ message += referencepath_memberConfig_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
699
+ return new TypeError(message);
700
+ }
701
+ }
702
+ }
703
+ if (obj.usecaseConfig !== undefined) {
704
+ const obj_usecaseConfig = obj.usecaseConfig;
705
+ const path_usecaseConfig = path + '.usecaseConfig';
706
+ const referencepath_usecaseConfigValidationError = validate$s(obj_usecaseConfig, path_usecaseConfig);
707
+ if (referencepath_usecaseConfigValidationError !== null) {
708
+ let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigRepresentation (at "' + path_usecaseConfig + '")\n';
709
+ message += referencepath_usecaseConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
710
+ return new TypeError(message);
711
+ }
712
+ }
713
+ })();
714
+ return v_error === undefined ? null : v_error;
715
+ }
716
+
717
+ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
718
+ const v_error = (() => {
719
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
720
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
721
+ }
722
+ if (obj.configuration !== undefined) {
723
+ const obj_configuration = obj.configuration;
724
+ const path_configuration = path + '.configuration';
725
+ const referencepath_configurationValidationError = validate$v(obj_configuration, path_configuration);
726
+ if (referencepath_configurationValidationError !== null) {
727
+ let message = 'Object doesn\'t match UseCaseTemplateConfigRepresentation (at "' + path_configuration + '")\n';
728
+ message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
729
+ return new TypeError(message);
730
+ }
338
731
  }
339
732
  if (obj.createdBy !== undefined) {
340
733
  const obj_createdBy = obj.createdBy;
341
734
  const path_createdBy = path + '.createdBy';
342
- const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
735
+ const referencepath_createdByValidationError = validate$y(obj_createdBy, path_createdBy);
343
736
  if (referencepath_createdByValidationError !== null) {
344
737
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
345
738
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -375,7 +768,7 @@ function validate$p(obj, path = 'DataCleanRoomTemplateRepresentation') {
375
768
  if (obj.lastModifiedBy !== undefined) {
376
769
  const obj_lastModifiedBy = obj.lastModifiedBy;
377
770
  const path_lastModifiedBy = path + '.lastModifiedBy';
378
- const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
771
+ const referencepath_lastModifiedByValidationError = validate$y(obj_lastModifiedBy, path_lastModifiedBy);
379
772
  if (referencepath_lastModifiedByValidationError !== null) {
380
773
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
381
774
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -389,6 +782,16 @@ function validate$p(obj, path = 'DataCleanRoomTemplateRepresentation') {
389
782
  return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
390
783
  }
391
784
  }
785
+ if (obj.metadataConfiguration !== undefined) {
786
+ const obj_metadataConfiguration = obj.metadataConfiguration;
787
+ const path_metadataConfiguration = path + '.metadataConfiguration';
788
+ const referencepath_metadataConfigurationValidationError = validate$r(obj_metadataConfiguration, path_metadataConfiguration);
789
+ if (referencepath_metadataConfigurationValidationError !== null) {
790
+ let message = 'Object doesn\'t match DataCleanRoomMetadataConfigurationRepresentation (at "' + path_metadataConfiguration + '")\n';
791
+ message += referencepath_metadataConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
792
+ return new TypeError(message);
793
+ }
794
+ }
392
795
  if (obj.name !== undefined) {
393
796
  const obj_name = obj.name;
394
797
  const path_name = path + '.name';
@@ -448,7 +851,7 @@ function validate$p(obj, path = 'DataCleanRoomTemplateRepresentation') {
448
851
  }
449
852
 
450
853
  const VERSION$8 = "11bd9b71debcc363b339183bc8d65735";
451
- function validate$o(obj, path = 'DataCleanRoomCollaborationRepresentation') {
854
+ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
452
855
  const v_error = (() => {
453
856
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
454
857
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -463,7 +866,7 @@ function validate$o(obj, path = 'DataCleanRoomCollaborationRepresentation') {
463
866
  if (obj.createdBy !== undefined) {
464
867
  const obj_createdBy = obj.createdBy;
465
868
  const path_createdBy = path + '.createdBy';
466
- const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
869
+ const referencepath_createdByValidationError = validate$y(obj_createdBy, path_createdBy);
467
870
  if (referencepath_createdByValidationError !== null) {
468
871
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
469
872
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -506,7 +909,7 @@ function validate$o(obj, path = 'DataCleanRoomCollaborationRepresentation') {
506
909
  if (obj.lastModifiedBy !== undefined) {
507
910
  const obj_lastModifiedBy = obj.lastModifiedBy;
508
911
  const path_lastModifiedBy = path + '.lastModifiedBy';
509
- const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
912
+ const referencepath_lastModifiedByValidationError = validate$y(obj_lastModifiedBy, path_lastModifiedBy);
510
913
  if (referencepath_lastModifiedByValidationError !== null) {
511
914
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
512
915
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -528,7 +931,7 @@ function validate$o(obj, path = 'DataCleanRoomCollaborationRepresentation') {
528
931
  for (let i = 0; i < obj_members.length; i++) {
529
932
  const obj_members_item = obj_members[i];
530
933
  const path_members_item = path_members + '[' + i + ']';
531
- const referencepath_members_itemValidationError = validate$r(obj_members_item, path_members_item);
934
+ const referencepath_members_itemValidationError = validate$z(obj_members_item, path_members_item);
532
935
  if (referencepath_members_itemValidationError !== null) {
533
936
  let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
534
937
  message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -556,7 +959,7 @@ function validate$o(obj, path = 'DataCleanRoomCollaborationRepresentation') {
556
959
  }
557
960
  const obj_templateVersion = obj.templateVersion;
558
961
  const path_templateVersion = path + '.templateVersion';
559
- const referencepath_templateVersionValidationError = validate$p(obj_templateVersion, path_templateVersion);
962
+ const referencepath_templateVersionValidationError = validate$q(obj_templateVersion, path_templateVersion);
560
963
  if (referencepath_templateVersionValidationError !== null) {
561
964
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
562
965
  message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -601,7 +1004,7 @@ function equals$8(existing, incoming) {
601
1004
  }
602
1005
  const ingest$8 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
603
1006
  if (process.env.NODE_ENV !== 'production') {
604
- const validateError = validate$o(input);
1007
+ const validateError = validate$p(input);
605
1008
  if (validateError !== null) {
606
1009
  throw validateError;
607
1010
  }
@@ -719,7 +1122,7 @@ const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
719
1122
  };
720
1123
  };
721
1124
 
722
- function validate$n(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
1125
+ function validate$o(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
723
1126
  const v_error = (() => {
724
1127
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
725
1128
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -745,7 +1148,7 @@ function validate$n(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
745
1148
  return v_error === undefined ? null : v_error;
746
1149
  }
747
1150
 
748
- function validate$m(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
1151
+ function validate$n(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
749
1152
  const v_error = (() => {
750
1153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
751
1154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -764,7 +1167,7 @@ function validate$m(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
764
1167
  return v_error === undefined ? null : v_error;
765
1168
  }
766
1169
 
767
- function validate$l(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
1170
+ function validate$m(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
768
1171
  const v_error = (() => {
769
1172
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
770
1173
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -793,7 +1196,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
793
1196
  return v_error === undefined ? null : v_error;
794
1197
  }
795
1198
 
796
- function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
1199
+ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
797
1200
  const v_error = (() => {
798
1201
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
799
1202
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -813,7 +1216,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
813
1216
  if (obj.createdBy !== undefined) {
814
1217
  const obj_createdBy = obj.createdBy;
815
1218
  const path_createdBy = path + '.createdBy';
816
- const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
1219
+ const referencepath_createdByValidationError = validate$y(obj_createdBy, path_createdBy);
817
1220
  if (referencepath_createdByValidationError !== null) {
818
1221
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
819
1222
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -830,7 +1233,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
830
1233
  if (obj.dataMapping !== undefined) {
831
1234
  const obj_dataMapping = obj.dataMapping;
832
1235
  const path_dataMapping = path + '.dataMapping';
833
- const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
1236
+ const referencepath_dataMappingValidationError = validate$k(obj_dataMapping, path_dataMapping);
834
1237
  if (referencepath_dataMappingValidationError !== null) {
835
1238
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
836
1239
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -840,7 +1243,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
840
1243
  if (obj.filterOptions !== undefined) {
841
1244
  const obj_filterOptions = obj.filterOptions;
842
1245
  const path_filterOptions = path + '.filterOptions';
843
- const referencepath_filterOptionsValidationError = validate$n(obj_filterOptions, path_filterOptions);
1246
+ const referencepath_filterOptionsValidationError = validate$o(obj_filterOptions, path_filterOptions);
844
1247
  if (referencepath_filterOptionsValidationError !== null) {
845
1248
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
846
1249
  message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -864,7 +1267,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
864
1267
  if (obj.lastModifiedBy !== undefined) {
865
1268
  const obj_lastModifiedBy = obj.lastModifiedBy;
866
1269
  const path_lastModifiedBy = path + '.lastModifiedBy';
867
- const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
1270
+ const referencepath_lastModifiedByValidationError = validate$y(obj_lastModifiedBy, path_lastModifiedBy);
868
1271
  if (referencepath_lastModifiedByValidationError !== null) {
869
1272
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
870
1273
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -900,7 +1303,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
900
1303
  for (let i = 0; i < obj_path.length; i++) {
901
1304
  const obj_path_item = obj_path[i];
902
1305
  const path_path_item = path_path + '[' + i + ']';
903
- const referencepath_path_itemValidationError = validate$m(obj_path_item, path_path_item);
1306
+ const referencepath_path_itemValidationError = validate$n(obj_path_item, path_path_item);
904
1307
  if (referencepath_path_itemValidationError !== null) {
905
1308
  let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
906
1309
  message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -909,7 +1312,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
909
1312
  }
910
1313
  const obj_subjectAttribute = obj.subjectAttribute;
911
1314
  const path_subjectAttribute = path + '.subjectAttribute';
912
- const referencepath_subjectAttributeValidationError = validate$l(obj_subjectAttribute, path_subjectAttribute);
1315
+ const referencepath_subjectAttributeValidationError = validate$m(obj_subjectAttribute, path_subjectAttribute);
913
1316
  if (referencepath_subjectAttributeValidationError !== null) {
914
1317
  let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
915
1318
  message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -926,7 +1329,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
926
1329
  return v_error === undefined ? null : v_error;
927
1330
  }
928
1331
 
929
- function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
1332
+ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
930
1333
  const v_error = (() => {
931
1334
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
932
1335
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -939,7 +1342,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
939
1342
  for (let i = 0; i < obj_attributes.length; i++) {
940
1343
  const obj_attributes_item = obj_attributes[i];
941
1344
  const path_attributes_item = path_attributes + '[' + i + ']';
942
- const referencepath_attributes_itemValidationError = validate$k(obj_attributes_item, path_attributes_item);
1345
+ const referencepath_attributes_itemValidationError = validate$l(obj_attributes_item, path_attributes_item);
943
1346
  if (referencepath_attributes_itemValidationError !== null) {
944
1347
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
945
1348
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -954,7 +1357,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
954
1357
  if (obj.createdBy !== undefined) {
955
1358
  const obj_createdBy = obj.createdBy;
956
1359
  const path_createdBy = path + '.createdBy';
957
- const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
1360
+ const referencepath_createdByValidationError = validate$y(obj_createdBy, path_createdBy);
958
1361
  if (referencepath_createdByValidationError !== null) {
959
1362
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
960
1363
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -985,7 +1388,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
985
1388
  if (obj.lastModifiedBy !== undefined) {
986
1389
  const obj_lastModifiedBy = obj.lastModifiedBy;
987
1390
  const path_lastModifiedBy = path + '.lastModifiedBy';
988
- const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
1391
+ const referencepath_lastModifiedByValidationError = validate$y(obj_lastModifiedBy, path_lastModifiedBy);
989
1392
  if (referencepath_lastModifiedByValidationError !== null) {
990
1393
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
991
1394
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1025,7 +1428,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
1025
1428
  }
1026
1429
 
1027
1430
  const VERSION$7 = "838a38ab153e1dd3331fe38ec216c0ae";
1028
- function validate$i(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
1431
+ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
1029
1432
  const v_error = (() => {
1030
1433
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1031
1434
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1033,7 +1436,7 @@ function validate$i(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1033
1436
  if (obj.createdBy !== undefined) {
1034
1437
  const obj_createdBy = obj.createdBy;
1035
1438
  const path_createdBy = path + '.createdBy';
1036
- const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
1439
+ const referencepath_createdByValidationError = validate$y(obj_createdBy, path_createdBy);
1037
1440
  if (referencepath_createdByValidationError !== null) {
1038
1441
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1039
1442
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1049,7 +1452,7 @@ function validate$i(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1049
1452
  }
1050
1453
  const obj_dataMapping = obj.dataMapping;
1051
1454
  const path_dataMapping = path + '.dataMapping';
1052
- const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
1455
+ const referencepath_dataMappingValidationError = validate$k(obj_dataMapping, path_dataMapping);
1053
1456
  if (referencepath_dataMappingValidationError !== null) {
1054
1457
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
1055
1458
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1082,7 +1485,7 @@ function validate$i(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1082
1485
  if (obj.lastModifiedBy !== undefined) {
1083
1486
  const obj_lastModifiedBy = obj.lastModifiedBy;
1084
1487
  const path_lastModifiedBy = path + '.lastModifiedBy';
1085
- const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
1488
+ const referencepath_lastModifiedByValidationError = validate$y(obj_lastModifiedBy, path_lastModifiedBy);
1086
1489
  if (referencepath_lastModifiedByValidationError !== null) {
1087
1490
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1088
1491
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1137,7 +1540,7 @@ function validate$i(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1137
1540
  if (obj.templateVersion !== undefined) {
1138
1541
  const obj_templateVersion = obj.templateVersion;
1139
1542
  const path_templateVersion = path + '.templateVersion';
1140
- const referencepath_templateVersionValidationError = validate$p(obj_templateVersion, path_templateVersion);
1543
+ const referencepath_templateVersionValidationError = validate$q(obj_templateVersion, path_templateVersion);
1141
1544
  if (referencepath_templateVersionValidationError !== null) {
1142
1545
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
1143
1546
  message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1183,7 +1586,7 @@ function equals$7(existing, incoming) {
1183
1586
  }
1184
1587
  const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
1185
1588
  if (process.env.NODE_ENV !== 'production') {
1186
- const validateError = validate$i(input);
1589
+ const validateError = validate$j(input);
1187
1590
  if (validateError !== null) {
1188
1591
  throw validateError;
1189
1592
  }
@@ -1305,7 +1708,7 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
1305
1708
  };
1306
1709
  };
1307
1710
 
1308
- function validate$h(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
1711
+ function validate$i(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
1309
1712
  const v_error = (() => {
1310
1713
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1311
1714
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1321,7 +1724,7 @@ function validate$h(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentati
1321
1724
  return v_error === undefined ? null : v_error;
1322
1725
  }
1323
1726
 
1324
- function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
1727
+ function validate$h(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
1325
1728
  const v_error = (() => {
1326
1729
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1327
1730
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1345,7 +1748,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
1345
1748
  return v_error === undefined ? null : v_error;
1346
1749
  }
1347
1750
 
1348
- function validate$f(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
1751
+ function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
1349
1752
  const v_error = (() => {
1350
1753
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1351
1754
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1358,7 +1761,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
1358
1761
  for (let i = 0; i < obj_queryParamConfigs.length; i++) {
1359
1762
  const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
1360
1763
  const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
1361
- const referencepath_queryParamConfigs_itemValidationError = validate$g(obj_queryParamConfigs_item, path_queryParamConfigs_item);
1764
+ const referencepath_queryParamConfigs_itemValidationError = validate$h(obj_queryParamConfigs_item, path_queryParamConfigs_item);
1362
1765
  if (referencepath_queryParamConfigs_itemValidationError !== null) {
1363
1766
  let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
1364
1767
  message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1369,7 +1772,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
1369
1772
  return v_error === undefined ? null : v_error;
1370
1773
  }
1371
1774
 
1372
- function validate$e(obj, path = 'CustomUseCaseTemplateQueryConfig') {
1775
+ function validate$f(obj, path = 'CustomUseCaseTemplateQueryConfig') {
1373
1776
  const v_error = (() => {
1374
1777
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1375
1778
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1377,7 +1780,7 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryConfig') {
1377
1780
  if (obj.analysisConfigs !== undefined) {
1378
1781
  const obj_analysisConfigs = obj.analysisConfigs;
1379
1782
  const path_analysisConfigs = path + '.analysisConfigs';
1380
- const referencepath_analysisConfigsValidationError = validate$h(obj_analysisConfigs, path_analysisConfigs);
1783
+ const referencepath_analysisConfigsValidationError = validate$i(obj_analysisConfigs, path_analysisConfigs);
1381
1784
  if (referencepath_analysisConfigsValidationError !== null) {
1382
1785
  let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
1383
1786
  message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1397,10 +1800,31 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryConfig') {
1397
1800
  if (obj.queryParameters !== undefined) {
1398
1801
  const obj_queryParameters = obj.queryParameters;
1399
1802
  const path_queryParameters = path + '.queryParameters';
1400
- const referencepath_queryParametersValidationError = validate$f(obj_queryParameters, path_queryParameters);
1401
- if (referencepath_queryParametersValidationError !== null) {
1402
- let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
1403
- message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1803
+ let obj_queryParameters_union0 = null;
1804
+ const obj_queryParameters_union0_error = (() => {
1805
+ const referencepath_queryParametersValidationError = validate$g(obj_queryParameters, path_queryParameters);
1806
+ if (referencepath_queryParametersValidationError !== null) {
1807
+ let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
1808
+ message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1809
+ return new TypeError(message);
1810
+ }
1811
+ })();
1812
+ if (obj_queryParameters_union0_error != null) {
1813
+ obj_queryParameters_union0 = obj_queryParameters_union0_error.message;
1814
+ }
1815
+ let obj_queryParameters_union1 = null;
1816
+ const obj_queryParameters_union1_error = (() => {
1817
+ if (obj_queryParameters !== null) {
1818
+ return new TypeError('Expected "null" but received "' + typeof obj_queryParameters + '" (at "' + path_queryParameters + '")');
1819
+ }
1820
+ })();
1821
+ if (obj_queryParameters_union1_error != null) {
1822
+ obj_queryParameters_union1 = obj_queryParameters_union1_error.message;
1823
+ }
1824
+ if (obj_queryParameters_union0 && obj_queryParameters_union1) {
1825
+ let message = 'Object doesn\'t match union (at "' + path_queryParameters + '")';
1826
+ message += '\n' + obj_queryParameters_union0.split('\n').map((line) => '\t' + line).join('\n');
1827
+ message += '\n' + obj_queryParameters_union1.split('\n').map((line) => '\t' + line).join('\n');
1404
1828
  return new TypeError(message);
1405
1829
  }
1406
1830
  }
@@ -1416,15 +1840,61 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryConfig') {
1416
1840
  return new TypeError('Expected "string" but received "' + typeof obj_referencedTables_item + '" (at "' + path_referencedTables_item + '")');
1417
1841
  }
1418
1842
  }
1419
- const obj_source = obj.source;
1420
- const path_source = path + '.source';
1421
- if (typeof obj_source !== 'string') {
1422
- return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
1843
+ if (obj.source !== undefined) {
1844
+ const obj_source = obj.source;
1845
+ const path_source = path + '.source';
1846
+ let obj_source_union0 = null;
1847
+ const obj_source_union0_error = (() => {
1848
+ if (typeof obj_source !== 'string') {
1849
+ return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
1850
+ }
1851
+ })();
1852
+ if (obj_source_union0_error != null) {
1853
+ obj_source_union0 = obj_source_union0_error.message;
1854
+ }
1855
+ let obj_source_union1 = null;
1856
+ const obj_source_union1_error = (() => {
1857
+ if (obj_source !== null) {
1858
+ return new TypeError('Expected "null" but received "' + typeof obj_source + '" (at "' + path_source + '")');
1859
+ }
1860
+ })();
1861
+ if (obj_source_union1_error != null) {
1862
+ obj_source_union1 = obj_source_union1_error.message;
1863
+ }
1864
+ if (obj_source_union0 && obj_source_union1) {
1865
+ let message = 'Object doesn\'t match union (at "' + path_source + '")';
1866
+ message += '\n' + obj_source_union0.split('\n').map((line) => '\t' + line).join('\n');
1867
+ message += '\n' + obj_source_union1.split('\n').map((line) => '\t' + line).join('\n');
1868
+ return new TypeError(message);
1869
+ }
1423
1870
  }
1424
- const obj_type = obj.type;
1425
- const path_type = path + '.type';
1426
- if (typeof obj_type !== 'string') {
1427
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1871
+ if (obj.type !== undefined) {
1872
+ const obj_type = obj.type;
1873
+ const path_type = path + '.type';
1874
+ let obj_type_union0 = null;
1875
+ const obj_type_union0_error = (() => {
1876
+ if (typeof obj_type !== 'string') {
1877
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1878
+ }
1879
+ })();
1880
+ if (obj_type_union0_error != null) {
1881
+ obj_type_union0 = obj_type_union0_error.message;
1882
+ }
1883
+ let obj_type_union1 = null;
1884
+ const obj_type_union1_error = (() => {
1885
+ if (obj_type !== null) {
1886
+ return new TypeError('Expected "null" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1887
+ }
1888
+ })();
1889
+ if (obj_type_union1_error != null) {
1890
+ obj_type_union1 = obj_type_union1_error.message;
1891
+ }
1892
+ if (obj_type_union0 && obj_type_union1) {
1893
+ let message = 'Object doesn\'t match union (at "' + path_type + '")';
1894
+ message += '\n' + obj_type_union0.split('\n').map((line) => '\t' + line).join('\n');
1895
+ message += '\n' + obj_type_union1.split('\n').map((line) => '\t' + line).join('\n');
1896
+ return new TypeError(message);
1897
+ }
1428
1898
  }
1429
1899
  if (obj.usecase !== undefined) {
1430
1900
  const obj_usecase = obj.usecase;
@@ -1437,7 +1907,7 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryConfig') {
1437
1907
  return v_error === undefined ? null : v_error;
1438
1908
  }
1439
1909
 
1440
- function validate$d(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
1910
+ function validate$e(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
1441
1911
  const v_error = (() => {
1442
1912
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1443
1913
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1450,7 +1920,7 @@ function validate$d(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
1450
1920
  for (let i = 0; i < obj_queryConfigs.length; i++) {
1451
1921
  const obj_queryConfigs_item = obj_queryConfigs[i];
1452
1922
  const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
1453
- const referencepath_queryConfigs_itemValidationError = validate$e(obj_queryConfigs_item, path_queryConfigs_item);
1923
+ const referencepath_queryConfigs_itemValidationError = validate$f(obj_queryConfigs_item, path_queryConfigs_item);
1454
1924
  if (referencepath_queryConfigs_itemValidationError !== null) {
1455
1925
  let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
1456
1926
  message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1461,7 +1931,7 @@ function validate$d(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
1461
1931
  return v_error === undefined ? null : v_error;
1462
1932
  }
1463
1933
 
1464
- function validate$c(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
1934
+ function validate$d(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
1465
1935
  const v_error = (() => {
1466
1936
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1467
1937
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1483,6 +1953,13 @@ function validate$c(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
1483
1953
  if (typeof obj_name !== 'string') {
1484
1954
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1485
1955
  }
1956
+ if (obj.tooltip !== undefined) {
1957
+ const obj_tooltip = obj.tooltip;
1958
+ const path_tooltip = path + '.tooltip';
1959
+ if (typeof obj_tooltip !== 'string') {
1960
+ return new TypeError('Expected "string" but received "' + typeof obj_tooltip + '" (at "' + path_tooltip + '")');
1961
+ }
1962
+ }
1486
1963
  const obj_type = obj.type;
1487
1964
  const path_type = path + '.type';
1488
1965
  if (typeof obj_type !== 'string') {
@@ -1492,7 +1969,7 @@ function validate$c(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
1492
1969
  return v_error === undefined ? null : v_error;
1493
1970
  }
1494
1971
 
1495
- function validate$b(obj, path = 'CustomUseCaseTemplateTableConfig') {
1972
+ function validate$c(obj, path = 'CustomUseCaseTemplateTableConfig') {
1496
1973
  const v_error = (() => {
1497
1974
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1498
1975
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1505,7 +1982,7 @@ function validate$b(obj, path = 'CustomUseCaseTemplateTableConfig') {
1505
1982
  for (let i = 0; i < obj_columns.length; i++) {
1506
1983
  const obj_columns_item = obj_columns[i];
1507
1984
  const path_columns_item = path_columns + '[' + i + ']';
1508
- const referencepath_columns_itemValidationError = validate$c(obj_columns_item, path_columns_item);
1985
+ const referencepath_columns_itemValidationError = validate$d(obj_columns_item, path_columns_item);
1509
1986
  if (referencepath_columns_itemValidationError !== null) {
1510
1987
  let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
1511
1988
  message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1531,7 +2008,7 @@ function validate$b(obj, path = 'CustomUseCaseTemplateTableConfig') {
1531
2008
  return v_error === undefined ? null : v_error;
1532
2009
  }
1533
2010
 
1534
- function validate$a(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
2011
+ function validate$b(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
1535
2012
  const v_error = (() => {
1536
2013
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1537
2014
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1544,7 +2021,7 @@ function validate$a(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
1544
2021
  for (let i = 0; i < obj_tableConfigs.length; i++) {
1545
2022
  const obj_tableConfigs_item = obj_tableConfigs[i];
1546
2023
  const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
1547
- const referencepath_tableConfigs_itemValidationError = validate$b(obj_tableConfigs_item, path_tableConfigs_item);
2024
+ const referencepath_tableConfigs_itemValidationError = validate$c(obj_tableConfigs_item, path_tableConfigs_item);
1548
2025
  if (referencepath_tableConfigs_itemValidationError !== null) {
1549
2026
  let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
1550
2027
  message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1555,6 +2032,20 @@ function validate$a(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
1555
2032
  return v_error === undefined ? null : v_error;
1556
2033
  }
1557
2034
 
2035
+ function validate$a(obj, path = 'DataCleanRoomUsecaseConfigInputRepresentation') {
2036
+ const v_error = (() => {
2037
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2038
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2039
+ }
2040
+ const obj_useCaseType = obj.useCaseType;
2041
+ const path_useCaseType = path + '.useCaseType';
2042
+ if (typeof obj_useCaseType !== 'string') {
2043
+ return new TypeError('Expected "string" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
2044
+ }
2045
+ })();
2046
+ return v_error === undefined ? null : v_error;
2047
+ }
2048
+
1558
2049
  function validate$9(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1559
2050
  const v_error = (() => {
1560
2051
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1572,7 +2063,7 @@ function validate$9(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1572
2063
  }
1573
2064
  const obj_queries = obj.queries;
1574
2065
  const path_queries = path + '.queries';
1575
- const referencepath_queriesValidationError = validate$d(obj_queries, path_queries);
2066
+ const referencepath_queriesValidationError = validate$e(obj_queries, path_queries);
1576
2067
  if (referencepath_queriesValidationError !== null) {
1577
2068
  let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
1578
2069
  message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1580,12 +2071,31 @@ function validate$9(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1580
2071
  }
1581
2072
  const obj_tables = obj.tables;
1582
2073
  const path_tables = path + '.tables';
1583
- const referencepath_tablesValidationError = validate$a(obj_tables, path_tables);
2074
+ const referencepath_tablesValidationError = validate$b(obj_tables, path_tables);
1584
2075
  if (referencepath_tablesValidationError !== null) {
1585
2076
  let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
1586
2077
  message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1587
2078
  return new TypeError(message);
1588
2079
  }
2080
+ if (obj.useCaseConfigs !== undefined) {
2081
+ const obj_useCaseConfigs = obj.useCaseConfigs;
2082
+ const path_useCaseConfigs = path + '.useCaseConfigs';
2083
+ if (typeof obj_useCaseConfigs !== 'object' || ArrayIsArray(obj_useCaseConfigs) || obj_useCaseConfigs === null) {
2084
+ return new TypeError('Expected "object" but received "' + typeof obj_useCaseConfigs + '" (at "' + path_useCaseConfigs + '")');
2085
+ }
2086
+ const obj_useCaseConfigs_keys = ObjectKeys(obj_useCaseConfigs);
2087
+ for (let i = 0; i < obj_useCaseConfigs_keys.length; i++) {
2088
+ const key = obj_useCaseConfigs_keys[i];
2089
+ const obj_useCaseConfigs_prop = obj_useCaseConfigs[key];
2090
+ const path_useCaseConfigs_prop = path_useCaseConfigs + '["' + key + '"]';
2091
+ const referencepath_useCaseConfigs_propValidationError = validate$a(obj_useCaseConfigs_prop, path_useCaseConfigs_prop);
2092
+ if (referencepath_useCaseConfigs_propValidationError !== null) {
2093
+ let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigInputRepresentation (at "' + path_useCaseConfigs_prop + '")\n';
2094
+ message += referencepath_useCaseConfigs_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2095
+ return new TypeError(message);
2096
+ }
2097
+ }
2098
+ }
1589
2099
  if (obj.version !== undefined) {
1590
2100
  const obj_version = obj.version;
1591
2101
  const path_version = path + '.version';
@@ -1643,7 +2153,7 @@ function validate$7(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
1643
2153
  return v_error === undefined ? null : v_error;
1644
2154
  }
1645
2155
 
1646
- const VERSION$6 = "a27689b905a74d6a3a8638a2f09d5b3c";
2156
+ const VERSION$6 = "164dc6669e5d3d9cf4de1e0546eb0476";
1647
2157
  function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
1648
2158
  const v_error = (() => {
1649
2159
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1652,7 +2162,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
1652
2162
  if (obj.createdBy !== undefined) {
1653
2163
  const obj_createdBy = obj.createdBy;
1654
2164
  const path_createdBy = path + '.createdBy';
1655
- const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
2165
+ const referencepath_createdByValidationError = validate$y(obj_createdBy, path_createdBy);
1656
2166
  if (referencepath_createdByValidationError !== null) {
1657
2167
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1658
2168
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1709,7 +2219,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
1709
2219
  if (obj.lastModifiedBy !== undefined) {
1710
2220
  const obj_lastModifiedBy = obj.lastModifiedBy;
1711
2221
  const path_lastModifiedBy = path + '.lastModifiedBy';
1712
- const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
2222
+ const referencepath_lastModifiedByValidationError = validate$y(obj_lastModifiedBy, path_lastModifiedBy);
1713
2223
  if (referencepath_lastModifiedByValidationError !== null) {
1714
2224
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1715
2225
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1751,6 +2261,20 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
1751
2261
  return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
1752
2262
  }
1753
2263
  }
2264
+ if (obj.packageType !== undefined) {
2265
+ const obj_packageType = obj.packageType;
2266
+ const path_packageType = path + '.packageType';
2267
+ if (typeof obj_packageType !== 'string') {
2268
+ return new TypeError('Expected "string" but received "' + typeof obj_packageType + '" (at "' + path_packageType + '")');
2269
+ }
2270
+ }
2271
+ if (obj.providerDataSource !== undefined) {
2272
+ const obj_providerDataSource = obj.providerDataSource;
2273
+ const path_providerDataSource = path + '.providerDataSource';
2274
+ if (typeof obj_providerDataSource !== 'string') {
2275
+ return new TypeError('Expected "string" but received "' + typeof obj_providerDataSource + '" (at "' + path_providerDataSource + '")');
2276
+ }
2277
+ }
1754
2278
  if (obj.providerName !== undefined) {
1755
2279
  const obj_providerName = obj.providerName;
1756
2280
  const path_providerName = path + '.providerName';
@@ -1909,6 +2433,8 @@ const createProvider_ConfigPropertyMetadata = [
1909
2433
  generateParamConfigMetadata('useCaseTypeConfig', false, 2 /* Body */, 4 /* Unsupported */),
1910
2434
  generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
1911
2435
  generateParamConfigMetadata('sourceConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
2436
+ generateParamConfigMetadata('packageType', false, 2 /* Body */, 0 /* String */),
2437
+ generateParamConfigMetadata('providerDataSource', false, 2 /* Body */, 0 /* String */),
1912
2438
  ];
1913
2439
  const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createProvider_ConfigPropertyMetadata);
1914
2440
  const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createProvider_ConfigPropertyMetadata);
@@ -1987,7 +2513,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
1987
2513
  if (obj.createdBy !== undefined) {
1988
2514
  const obj_createdBy = obj.createdBy;
1989
2515
  const path_createdBy = path + '.createdBy';
1990
- const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
2516
+ const referencepath_createdByValidationError = validate$y(obj_createdBy, path_createdBy);
1991
2517
  if (referencepath_createdByValidationError !== null) {
1992
2518
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1993
2519
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2037,7 +2563,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
2037
2563
  if (obj.lastModifiedBy !== undefined) {
2038
2564
  const obj_lastModifiedBy = obj.lastModifiedBy;
2039
2565
  const path_lastModifiedBy = path + '.lastModifiedBy';
2040
- const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
2566
+ const referencepath_lastModifiedByValidationError = validate$y(obj_lastModifiedBy, path_lastModifiedBy);
2041
2567
  if (referencepath_lastModifiedByValidationError !== null) {
2042
2568
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
2043
2569
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2525,7 +3051,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
2525
3051
  for (let i = 0; i < obj_collaborations.length; i++) {
2526
3052
  const obj_collaborations_item = obj_collaborations[i];
2527
3053
  const path_collaborations_item = path_collaborations + '[' + i + ']';
2528
- const referencepath_collaborations_itemValidationError = validate$o(obj_collaborations_item, path_collaborations_item);
3054
+ const referencepath_collaborations_itemValidationError = validate$p(obj_collaborations_item, path_collaborations_item);
2529
3055
  if (referencepath_collaborations_itemValidationError !== null) {
2530
3056
  let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
2531
3057
  message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3551,7 +4077,7 @@ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
3551
4077
  for (let i = 0; i < obj_templates.length; i++) {
3552
4078
  const obj_templates_item = obj_templates[i];
3553
4079
  const path_templates_item = path_templates + '[' + i + ']';
3554
- const referencepath_templates_itemValidationError = validate$p(obj_templates_item, path_templates_item);
4080
+ const referencepath_templates_itemValidationError = validate$q(obj_templates_item, path_templates_item);
3555
4081
  if (referencepath_templates_itemValidationError !== null) {
3556
4082
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
3557
4083
  message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4073,4 +4599,4 @@ withDefaultLuvio((luvio) => {
4073
4599
  });
4074
4600
 
4075
4601
  export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, getDataCleanRoomTemplatesByProviderIdPaginated, getDataCleanRoomTemplatesByProviderIdPaginated_imperative, rejectDataCleanRoomInvitation };
4076
- // version: 1.404.0-dev2-c0a696aed4
4602
+ // version: 1.404.0-dev21-d72def2492