@salesforce/lds-adapters-cdp-data-clean-room 1.428.0-dev2 → 1.428.0-dev20
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/cdp-data-clean-room.js +251 -87
- package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsRunByCollaborationIdOrApiName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomAwsS3OutputDestinationConfigRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberConfigRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomOutputDestinationConfigRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobHistoryCollectionRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +14 -2
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomSnowflakeOutputDestinationConfigRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +244 -80
- package/src/raml/api.raml +150 -1
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$F(obj, path = 'DataCleanRoomConnectionAttributesRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -117,7 +117,7 @@ function validate$C(obj, path = 'DataCleanRoomConnectionAttributesRepresentation
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$E(obj, path = 'DataCleanRoomOutputConfigurationRepresentation') {
|
|
121
121
|
const v_error = (() => {
|
|
122
122
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
123
123
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -125,7 +125,7 @@ function validate$B(obj, path = 'DataCleanRoomOutputConfigurationRepresentation'
|
|
|
125
125
|
if (obj.connectionAttributes !== undefined) {
|
|
126
126
|
const obj_connectionAttributes = obj.connectionAttributes;
|
|
127
127
|
const path_connectionAttributes = path + '.connectionAttributes';
|
|
128
|
-
const referencepath_connectionAttributesValidationError = validate$
|
|
128
|
+
const referencepath_connectionAttributesValidationError = validate$F(obj_connectionAttributes, path_connectionAttributes);
|
|
129
129
|
if (referencepath_connectionAttributesValidationError !== null) {
|
|
130
130
|
let message = 'Object doesn\'t match DataCleanRoomConnectionAttributesRepresentation (at "' + path_connectionAttributes + '")\n';
|
|
131
131
|
message += referencepath_connectionAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -148,7 +148,21 @@ function validate$B(obj, path = 'DataCleanRoomOutputConfigurationRepresentation'
|
|
|
148
148
|
return v_error === undefined ? null : v_error;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
function validate$
|
|
151
|
+
function validate$D(obj, path = 'DataCleanRoomOutputDestinationConfigRepresentation') {
|
|
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
|
+
const obj_connectorType = obj.connectorType;
|
|
157
|
+
const path_connectorType = path + '.connectorType';
|
|
158
|
+
if (typeof obj_connectorType !== 'string') {
|
|
159
|
+
return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
160
|
+
}
|
|
161
|
+
})();
|
|
162
|
+
return v_error === undefined ? null : v_error;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function validate$C(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
152
166
|
const v_error = (() => {
|
|
153
167
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
154
168
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -167,6 +181,16 @@ function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
167
181
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
168
182
|
}
|
|
169
183
|
}
|
|
184
|
+
if (obj.outputDestinationConfig !== undefined) {
|
|
185
|
+
const obj_outputDestinationConfig = obj.outputDestinationConfig;
|
|
186
|
+
const path_outputDestinationConfig = path + '.outputDestinationConfig';
|
|
187
|
+
const referencepath_outputDestinationConfigValidationError = validate$D(obj_outputDestinationConfig, path_outputDestinationConfig);
|
|
188
|
+
if (referencepath_outputDestinationConfigValidationError !== null) {
|
|
189
|
+
let message = 'Object doesn\'t match DataCleanRoomOutputDestinationConfigRepresentation (at "' + path_outputDestinationConfig + '")\n';
|
|
190
|
+
message += referencepath_outputDestinationConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
191
|
+
return new TypeError(message);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
170
194
|
if (obj.outputDestinationId !== undefined) {
|
|
171
195
|
const obj_outputDestinationId = obj.outputDestinationId;
|
|
172
196
|
const path_outputDestinationId = path + '.outputDestinationId';
|
|
@@ -192,8 +216,8 @@ function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
192
216
|
return v_error === undefined ? null : v_error;
|
|
193
217
|
}
|
|
194
218
|
|
|
195
|
-
const VERSION$9 = "
|
|
196
|
-
function validate$
|
|
219
|
+
const VERSION$9 = "75f0d619e9f7670351ab7ddef20f4386";
|
|
220
|
+
function validate$B(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
197
221
|
const v_error = (() => {
|
|
198
222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
199
223
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -217,7 +241,7 @@ function validate$z(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
217
241
|
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
218
242
|
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
219
243
|
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
220
|
-
const referencepath_memberConfigs_itemValidationError = validate$
|
|
244
|
+
const referencepath_memberConfigs_itemValidationError = validate$C(obj_memberConfigs_item, path_memberConfigs_item);
|
|
221
245
|
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
222
246
|
let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
223
247
|
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -225,6 +249,13 @@ function validate$z(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
225
249
|
}
|
|
226
250
|
}
|
|
227
251
|
}
|
|
252
|
+
if (obj.memberDataCloudRegion !== undefined) {
|
|
253
|
+
const obj_memberDataCloudRegion = obj.memberDataCloudRegion;
|
|
254
|
+
const path_memberDataCloudRegion = path + '.memberDataCloudRegion';
|
|
255
|
+
if (typeof obj_memberDataCloudRegion !== 'string') {
|
|
256
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberDataCloudRegion + '" (at "' + path_memberDataCloudRegion + '")');
|
|
257
|
+
}
|
|
258
|
+
}
|
|
228
259
|
if (obj.memberDomainUrl !== undefined) {
|
|
229
260
|
const obj_memberDomainUrl = obj.memberDomainUrl;
|
|
230
261
|
const path_memberDomainUrl = path + '.memberDomainUrl';
|
|
@@ -298,7 +329,7 @@ function equals$9(existing, incoming) {
|
|
|
298
329
|
}
|
|
299
330
|
const ingest$9 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
300
331
|
if (process.env.NODE_ENV !== 'production') {
|
|
301
|
-
const validateError = validate$
|
|
332
|
+
const validateError = validate$B(input);
|
|
302
333
|
if (validateError !== null) {
|
|
303
334
|
throw validateError;
|
|
304
335
|
}
|
|
@@ -362,6 +393,7 @@ const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
|
|
|
362
393
|
generateParamConfigMetadata('specificationId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
363
394
|
generateParamConfigMetadata('outputConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
364
395
|
generateParamConfigMetadata('dataSpaceName', false, 2 /* Body */, 0 /* String */),
|
|
396
|
+
generateParamConfigMetadata('memberDataCloudRegion', false, 2 /* Body */, 0 /* String */),
|
|
365
397
|
];
|
|
366
398
|
const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
367
399
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
@@ -376,7 +408,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
376
408
|
config.specificationId = untrustedConfig_specificationId;
|
|
377
409
|
}
|
|
378
410
|
const untrustedConfig_outputConfiguration = untrustedConfig.outputConfiguration;
|
|
379
|
-
const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$
|
|
411
|
+
const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$E(untrustedConfig_outputConfiguration);
|
|
380
412
|
if (referenceDataCleanRoomOutputConfigurationRepresentationValidationError === null) {
|
|
381
413
|
config.outputConfiguration = untrustedConfig_outputConfiguration;
|
|
382
414
|
}
|
|
@@ -424,7 +456,7 @@ const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
|
|
|
424
456
|
};
|
|
425
457
|
};
|
|
426
458
|
|
|
427
|
-
function validate$
|
|
459
|
+
function validate$A(obj, path = 'CdpUserRepresentation') {
|
|
428
460
|
const v_error = (() => {
|
|
429
461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
430
462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -454,7 +486,26 @@ function validate$y(obj, path = 'CdpUserRepresentation') {
|
|
|
454
486
|
return v_error === undefined ? null : v_error;
|
|
455
487
|
}
|
|
456
488
|
|
|
457
|
-
function validate$
|
|
489
|
+
function validate$z(obj, path = 'UseCaseTemplateMatchPolicyRepresentation') {
|
|
490
|
+
const v_error = (() => {
|
|
491
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
492
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
493
|
+
}
|
|
494
|
+
const obj_alias = obj.alias;
|
|
495
|
+
const path_alias = path + '.alias';
|
|
496
|
+
if (typeof obj_alias !== 'string') {
|
|
497
|
+
return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
|
|
498
|
+
}
|
|
499
|
+
const obj_type = obj.type;
|
|
500
|
+
const path_type = path + '.type';
|
|
501
|
+
if (typeof obj_type !== 'string') {
|
|
502
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
503
|
+
}
|
|
504
|
+
})();
|
|
505
|
+
return v_error === undefined ? null : v_error;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
function validate$y(obj, path = 'UseCaseTemplateAttributeConfigRepresentation') {
|
|
458
509
|
const v_error = (() => {
|
|
459
510
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
460
511
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -494,6 +545,16 @@ function validate$x(obj, path = 'UseCaseTemplateAttributeConfigRepresentation')
|
|
|
494
545
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
495
546
|
}
|
|
496
547
|
}
|
|
548
|
+
if (obj.matchPolicy !== undefined) {
|
|
549
|
+
const obj_matchPolicy = obj.matchPolicy;
|
|
550
|
+
const path_matchPolicy = path + '.matchPolicy';
|
|
551
|
+
const referencepath_matchPolicyValidationError = validate$z(obj_matchPolicy, path_matchPolicy);
|
|
552
|
+
if (referencepath_matchPolicyValidationError !== null) {
|
|
553
|
+
let message = 'Object doesn\'t match UseCaseTemplateMatchPolicyRepresentation (at "' + path_matchPolicy + '")\n';
|
|
554
|
+
message += referencepath_matchPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
555
|
+
return new TypeError(message);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
497
558
|
if (obj.queryOptions !== undefined) {
|
|
498
559
|
const obj_queryOptions = obj.queryOptions;
|
|
499
560
|
const path_queryOptions = path + '.queryOptions';
|
|
@@ -526,7 +587,7 @@ function validate$x(obj, path = 'UseCaseTemplateAttributeConfigRepresentation')
|
|
|
526
587
|
return v_error === undefined ? null : v_error;
|
|
527
588
|
}
|
|
528
589
|
|
|
529
|
-
function validate$
|
|
590
|
+
function validate$x(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
530
591
|
const v_error = (() => {
|
|
531
592
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
532
593
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -540,7 +601,7 @@ function validate$w(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
540
601
|
for (let i = 0; i < obj_attributeConfigs.length; i++) {
|
|
541
602
|
const obj_attributeConfigs_item = obj_attributeConfigs[i];
|
|
542
603
|
const path_attributeConfigs_item = path_attributeConfigs + '[' + i + ']';
|
|
543
|
-
const referencepath_attributeConfigs_itemValidationError = validate$
|
|
604
|
+
const referencepath_attributeConfigs_itemValidationError = validate$y(obj_attributeConfigs_item, path_attributeConfigs_item);
|
|
544
605
|
if (referencepath_attributeConfigs_itemValidationError !== null) {
|
|
545
606
|
let message = 'Object doesn\'t match UseCaseTemplateAttributeConfigRepresentation (at "' + path_attributeConfigs_item + '")\n';
|
|
546
607
|
message += referencepath_attributeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -559,7 +620,7 @@ function validate$w(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
559
620
|
return v_error === undefined ? null : v_error;
|
|
560
621
|
}
|
|
561
622
|
|
|
562
|
-
function validate$
|
|
623
|
+
function validate$w(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
563
624
|
const v_error = (() => {
|
|
564
625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
565
626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -573,7 +634,7 @@ function validate$v(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
573
634
|
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
574
635
|
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
575
636
|
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
576
|
-
const referencepath_memberConfigs_itemValidationError = validate$
|
|
637
|
+
const referencepath_memberConfigs_itemValidationError = validate$x(obj_memberConfigs_item, path_memberConfigs_item);
|
|
577
638
|
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
578
639
|
let message = 'Object doesn\'t match UseCaseTemplateMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
579
640
|
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -585,7 +646,7 @@ function validate$v(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
585
646
|
return v_error === undefined ? null : v_error;
|
|
586
647
|
}
|
|
587
648
|
|
|
588
|
-
function validate$
|
|
649
|
+
function validate$v(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation') {
|
|
589
650
|
const v_error = (() => {
|
|
590
651
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
591
652
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -608,7 +669,7 @@ function validate$u(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation
|
|
|
608
669
|
return v_error === undefined ? null : v_error;
|
|
609
670
|
}
|
|
610
671
|
|
|
611
|
-
function validate$
|
|
672
|
+
function validate$u(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation') {
|
|
612
673
|
const v_error = (() => {
|
|
613
674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
614
675
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -637,7 +698,7 @@ function validate$t(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
637
698
|
if (obj.outputConfig !== undefined) {
|
|
638
699
|
const obj_outputConfig = obj.outputConfig;
|
|
639
700
|
const path_outputConfig = path + '.outputConfig';
|
|
640
|
-
const referencepath_outputConfigValidationError = validate$
|
|
701
|
+
const referencepath_outputConfigValidationError = validate$v(obj_outputConfig, path_outputConfig);
|
|
641
702
|
if (referencepath_outputConfigValidationError !== null) {
|
|
642
703
|
let message = 'Object doesn\'t match DataCleanRoomMetadataOutputConfigRepresentation (at "' + path_outputConfig + '")\n';
|
|
643
704
|
message += referencepath_outputConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -662,7 +723,7 @@ function validate$t(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
662
723
|
return v_error === undefined ? null : v_error;
|
|
663
724
|
}
|
|
664
725
|
|
|
665
|
-
function validate$
|
|
726
|
+
function validate$t(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
666
727
|
const v_error = (() => {
|
|
667
728
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
668
729
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -678,7 +739,7 @@ function validate$s(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
|
678
739
|
return v_error === undefined ? null : v_error;
|
|
679
740
|
}
|
|
680
741
|
|
|
681
|
-
function validate$
|
|
742
|
+
function validate$s(obj, path = 'DataCleanRoomMetadataConfigurationRepresentation') {
|
|
682
743
|
const v_error = (() => {
|
|
683
744
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
684
745
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -692,7 +753,7 @@ function validate$r(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
692
753
|
for (let i = 0; i < obj_memberConfig.length; i++) {
|
|
693
754
|
const obj_memberConfig_item = obj_memberConfig[i];
|
|
694
755
|
const path_memberConfig_item = path_memberConfig + '[' + i + ']';
|
|
695
|
-
const referencepath_memberConfig_itemValidationError = validate$
|
|
756
|
+
const referencepath_memberConfig_itemValidationError = validate$u(obj_memberConfig_item, path_memberConfig_item);
|
|
696
757
|
if (referencepath_memberConfig_itemValidationError !== null) {
|
|
697
758
|
let message = 'Object doesn\'t match DataCleanRoomMetadataMemberConfigRepresentation (at "' + path_memberConfig_item + '")\n';
|
|
698
759
|
message += referencepath_memberConfig_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -703,7 +764,7 @@ function validate$r(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
703
764
|
if (obj.usecaseConfig !== undefined) {
|
|
704
765
|
const obj_usecaseConfig = obj.usecaseConfig;
|
|
705
766
|
const path_usecaseConfig = path + '.usecaseConfig';
|
|
706
|
-
const referencepath_usecaseConfigValidationError = validate$
|
|
767
|
+
const referencepath_usecaseConfigValidationError = validate$t(obj_usecaseConfig, path_usecaseConfig);
|
|
707
768
|
if (referencepath_usecaseConfigValidationError !== null) {
|
|
708
769
|
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigRepresentation (at "' + path_usecaseConfig + '")\n';
|
|
709
770
|
message += referencepath_usecaseConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -714,7 +775,7 @@ function validate$r(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
714
775
|
return v_error === undefined ? null : v_error;
|
|
715
776
|
}
|
|
716
777
|
|
|
717
|
-
function validate$
|
|
778
|
+
function validate$r(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
718
779
|
const v_error = (() => {
|
|
719
780
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
720
781
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -722,7 +783,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
722
783
|
if (obj.configuration !== undefined) {
|
|
723
784
|
const obj_configuration = obj.configuration;
|
|
724
785
|
const path_configuration = path + '.configuration';
|
|
725
|
-
const referencepath_configurationValidationError = validate$
|
|
786
|
+
const referencepath_configurationValidationError = validate$w(obj_configuration, path_configuration);
|
|
726
787
|
if (referencepath_configurationValidationError !== null) {
|
|
727
788
|
let message = 'Object doesn\'t match UseCaseTemplateConfigRepresentation (at "' + path_configuration + '")\n';
|
|
728
789
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -732,7 +793,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
732
793
|
if (obj.createdBy !== undefined) {
|
|
733
794
|
const obj_createdBy = obj.createdBy;
|
|
734
795
|
const path_createdBy = path + '.createdBy';
|
|
735
|
-
const referencepath_createdByValidationError = validate$
|
|
796
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
736
797
|
if (referencepath_createdByValidationError !== null) {
|
|
737
798
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
738
799
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -768,7 +829,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
768
829
|
if (obj.lastModifiedBy !== undefined) {
|
|
769
830
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
770
831
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
771
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
832
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
772
833
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
773
834
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
774
835
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -785,7 +846,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
785
846
|
if (obj.metadataConfiguration !== undefined) {
|
|
786
847
|
const obj_metadataConfiguration = obj.metadataConfiguration;
|
|
787
848
|
const path_metadataConfiguration = path + '.metadataConfiguration';
|
|
788
|
-
const referencepath_metadataConfigurationValidationError = validate$
|
|
849
|
+
const referencepath_metadataConfigurationValidationError = validate$s(obj_metadataConfiguration, path_metadataConfiguration);
|
|
789
850
|
if (referencepath_metadataConfigurationValidationError !== null) {
|
|
790
851
|
let message = 'Object doesn\'t match DataCleanRoomMetadataConfigurationRepresentation (at "' + path_metadataConfiguration + '")\n';
|
|
791
852
|
message += referencepath_metadataConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -850,8 +911,8 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
850
911
|
return v_error === undefined ? null : v_error;
|
|
851
912
|
}
|
|
852
913
|
|
|
853
|
-
const VERSION$8 = "
|
|
854
|
-
function validate$
|
|
914
|
+
const VERSION$8 = "05b9af690479642651785a6a6d5e65d6";
|
|
915
|
+
function validate$q(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
855
916
|
const v_error = (() => {
|
|
856
917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
857
918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -866,7 +927,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
866
927
|
if (obj.createdBy !== undefined) {
|
|
867
928
|
const obj_createdBy = obj.createdBy;
|
|
868
929
|
const path_createdBy = path + '.createdBy';
|
|
869
|
-
const referencepath_createdByValidationError = validate$
|
|
930
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
870
931
|
if (referencepath_createdByValidationError !== null) {
|
|
871
932
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
872
933
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -916,7 +977,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
916
977
|
if (obj.lastModifiedBy !== undefined) {
|
|
917
978
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
918
979
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
919
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
980
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
920
981
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
921
982
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
922
983
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -938,7 +999,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
938
999
|
for (let i = 0; i < obj_members.length; i++) {
|
|
939
1000
|
const obj_members_item = obj_members[i];
|
|
940
1001
|
const path_members_item = path_members + '[' + i + ']';
|
|
941
|
-
const referencepath_members_itemValidationError = validate$
|
|
1002
|
+
const referencepath_members_itemValidationError = validate$B(obj_members_item, path_members_item);
|
|
942
1003
|
if (referencepath_members_itemValidationError !== null) {
|
|
943
1004
|
let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
|
|
944
1005
|
message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -964,13 +1025,32 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
964
1025
|
if (typeof obj_status !== 'string') {
|
|
965
1026
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
966
1027
|
}
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
1028
|
+
if (obj.templateVersion !== undefined) {
|
|
1029
|
+
const obj_templateVersion = obj.templateVersion;
|
|
1030
|
+
const path_templateVersion = path + '.templateVersion';
|
|
1031
|
+
const referencepath_templateVersionValidationError = validate$r(obj_templateVersion, path_templateVersion);
|
|
1032
|
+
if (referencepath_templateVersionValidationError !== null) {
|
|
1033
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1034
|
+
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1035
|
+
return new TypeError(message);
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
if (obj.templateVersions !== undefined) {
|
|
1039
|
+
const obj_templateVersions = obj.templateVersions;
|
|
1040
|
+
const path_templateVersions = path + '.templateVersions';
|
|
1041
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
1042
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
1043
|
+
}
|
|
1044
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
1045
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
1046
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
1047
|
+
const referencepath_templateVersions_itemValidationError = validate$r(obj_templateVersions_item, path_templateVersions_item);
|
|
1048
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
1049
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
1050
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1051
|
+
return new TypeError(message);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
974
1054
|
}
|
|
975
1055
|
if (obj.url !== undefined) {
|
|
976
1056
|
const obj_url = obj.url;
|
|
@@ -1011,7 +1091,7 @@ function equals$8(existing, incoming) {
|
|
|
1011
1091
|
}
|
|
1012
1092
|
const ingest$8 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1013
1093
|
if (process.env.NODE_ENV !== 'production') {
|
|
1014
|
-
const validateError = validate$
|
|
1094
|
+
const validateError = validate$q(input);
|
|
1015
1095
|
if (validateError !== null) {
|
|
1016
1096
|
throw validateError;
|
|
1017
1097
|
}
|
|
@@ -1079,6 +1159,7 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
|
|
|
1079
1159
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
1080
1160
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
1081
1161
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
1162
|
+
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
1082
1163
|
];
|
|
1083
1164
|
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
1084
1165
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
@@ -1129,7 +1210,7 @@ const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
|
|
|
1129
1210
|
};
|
|
1130
1211
|
};
|
|
1131
1212
|
|
|
1132
|
-
function validate$
|
|
1213
|
+
function validate$p(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
1133
1214
|
const v_error = (() => {
|
|
1134
1215
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1135
1216
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1155,7 +1236,7 @@ function validate$o(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
|
|
|
1155
1236
|
return v_error === undefined ? null : v_error;
|
|
1156
1237
|
}
|
|
1157
1238
|
|
|
1158
|
-
function validate$
|
|
1239
|
+
function validate$o(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
1159
1240
|
const v_error = (() => {
|
|
1160
1241
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1161
1242
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1174,7 +1255,7 @@ function validate$n(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
|
|
|
1174
1255
|
return v_error === undefined ? null : v_error;
|
|
1175
1256
|
}
|
|
1176
1257
|
|
|
1177
|
-
function validate$
|
|
1258
|
+
function validate$n(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
|
|
1178
1259
|
const v_error = (() => {
|
|
1179
1260
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1180
1261
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1203,7 +1284,7 @@ function validate$m(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
|
|
|
1203
1284
|
return v_error === undefined ? null : v_error;
|
|
1204
1285
|
}
|
|
1205
1286
|
|
|
1206
|
-
function validate$
|
|
1287
|
+
function validate$m(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
|
|
1207
1288
|
const v_error = (() => {
|
|
1208
1289
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1209
1290
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1223,7 +1304,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1223
1304
|
if (obj.createdBy !== undefined) {
|
|
1224
1305
|
const obj_createdBy = obj.createdBy;
|
|
1225
1306
|
const path_createdBy = path + '.createdBy';
|
|
1226
|
-
const referencepath_createdByValidationError = validate$
|
|
1307
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
1227
1308
|
if (referencepath_createdByValidationError !== null) {
|
|
1228
1309
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1229
1310
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1240,7 +1321,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1240
1321
|
if (obj.dataMapping !== undefined) {
|
|
1241
1322
|
const obj_dataMapping = obj.dataMapping;
|
|
1242
1323
|
const path_dataMapping = path + '.dataMapping';
|
|
1243
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1324
|
+
const referencepath_dataMappingValidationError = validate$l(obj_dataMapping, path_dataMapping);
|
|
1244
1325
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1245
1326
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1246
1327
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1250,7 +1331,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1250
1331
|
if (obj.filterOptions !== undefined) {
|
|
1251
1332
|
const obj_filterOptions = obj.filterOptions;
|
|
1252
1333
|
const path_filterOptions = path + '.filterOptions';
|
|
1253
|
-
const referencepath_filterOptionsValidationError = validate$
|
|
1334
|
+
const referencepath_filterOptionsValidationError = validate$p(obj_filterOptions, path_filterOptions);
|
|
1254
1335
|
if (referencepath_filterOptionsValidationError !== null) {
|
|
1255
1336
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
1256
1337
|
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1274,7 +1355,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1274
1355
|
if (obj.lastModifiedBy !== undefined) {
|
|
1275
1356
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1276
1357
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1277
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1358
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1278
1359
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1279
1360
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1280
1361
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1310,7 +1391,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1310
1391
|
for (let i = 0; i < obj_path.length; i++) {
|
|
1311
1392
|
const obj_path_item = obj_path[i];
|
|
1312
1393
|
const path_path_item = path_path + '[' + i + ']';
|
|
1313
|
-
const referencepath_path_itemValidationError = validate$
|
|
1394
|
+
const referencepath_path_itemValidationError = validate$o(obj_path_item, path_path_item);
|
|
1314
1395
|
if (referencepath_path_itemValidationError !== null) {
|
|
1315
1396
|
let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
|
|
1316
1397
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1319,7 +1400,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1319
1400
|
}
|
|
1320
1401
|
const obj_subjectAttribute = obj.subjectAttribute;
|
|
1321
1402
|
const path_subjectAttribute = path + '.subjectAttribute';
|
|
1322
|
-
const referencepath_subjectAttributeValidationError = validate$
|
|
1403
|
+
const referencepath_subjectAttributeValidationError = validate$n(obj_subjectAttribute, path_subjectAttribute);
|
|
1323
1404
|
if (referencepath_subjectAttributeValidationError !== null) {
|
|
1324
1405
|
let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
|
|
1325
1406
|
message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1336,7 +1417,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1336
1417
|
return v_error === undefined ? null : v_error;
|
|
1337
1418
|
}
|
|
1338
1419
|
|
|
1339
|
-
function validate$
|
|
1420
|
+
function validate$l(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
1340
1421
|
const v_error = (() => {
|
|
1341
1422
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1342
1423
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1349,7 +1430,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1349
1430
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1350
1431
|
const obj_attributes_item = obj_attributes[i];
|
|
1351
1432
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1352
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1433
|
+
const referencepath_attributes_itemValidationError = validate$m(obj_attributes_item, path_attributes_item);
|
|
1353
1434
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1354
1435
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
1355
1436
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1364,7 +1445,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1364
1445
|
if (obj.createdBy !== undefined) {
|
|
1365
1446
|
const obj_createdBy = obj.createdBy;
|
|
1366
1447
|
const path_createdBy = path + '.createdBy';
|
|
1367
|
-
const referencepath_createdByValidationError = validate$
|
|
1448
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
1368
1449
|
if (referencepath_createdByValidationError !== null) {
|
|
1369
1450
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1370
1451
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1395,7 +1476,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1395
1476
|
if (obj.lastModifiedBy !== undefined) {
|
|
1396
1477
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1397
1478
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1398
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1479
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1399
1480
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1400
1481
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1401
1482
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1434,8 +1515,8 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1434
1515
|
return v_error === undefined ? null : v_error;
|
|
1435
1516
|
}
|
|
1436
1517
|
|
|
1437
|
-
const VERSION$7 = "
|
|
1438
|
-
function validate$
|
|
1518
|
+
const VERSION$7 = "daebc7b4442bf99b4d4b2a733554b01e";
|
|
1519
|
+
function validate$k(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1439
1520
|
const v_error = (() => {
|
|
1440
1521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1441
1522
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1443,7 +1524,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1443
1524
|
if (obj.createdBy !== undefined) {
|
|
1444
1525
|
const obj_createdBy = obj.createdBy;
|
|
1445
1526
|
const path_createdBy = path + '.createdBy';
|
|
1446
|
-
const referencepath_createdByValidationError = validate$
|
|
1527
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
1447
1528
|
if (referencepath_createdByValidationError !== null) {
|
|
1448
1529
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1449
1530
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1459,7 +1540,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1459
1540
|
}
|
|
1460
1541
|
const obj_dataMapping = obj.dataMapping;
|
|
1461
1542
|
const path_dataMapping = path + '.dataMapping';
|
|
1462
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1543
|
+
const referencepath_dataMappingValidationError = validate$l(obj_dataMapping, path_dataMapping);
|
|
1463
1544
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1464
1545
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1465
1546
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1501,7 +1582,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1501
1582
|
if (obj.lastModifiedBy !== undefined) {
|
|
1502
1583
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1503
1584
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1504
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1585
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1505
1586
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1506
1587
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1507
1588
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1556,13 +1637,30 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1556
1637
|
if (obj.templateVersion !== undefined) {
|
|
1557
1638
|
const obj_templateVersion = obj.templateVersion;
|
|
1558
1639
|
const path_templateVersion = path + '.templateVersion';
|
|
1559
|
-
const referencepath_templateVersionValidationError = validate$
|
|
1640
|
+
const referencepath_templateVersionValidationError = validate$r(obj_templateVersion, path_templateVersion);
|
|
1560
1641
|
if (referencepath_templateVersionValidationError !== null) {
|
|
1561
1642
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1562
1643
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1563
1644
|
return new TypeError(message);
|
|
1564
1645
|
}
|
|
1565
1646
|
}
|
|
1647
|
+
if (obj.templateVersions !== undefined) {
|
|
1648
|
+
const obj_templateVersions = obj.templateVersions;
|
|
1649
|
+
const path_templateVersions = path + '.templateVersions';
|
|
1650
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
1651
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
1652
|
+
}
|
|
1653
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
1654
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
1655
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
1656
|
+
const referencepath_templateVersions_itemValidationError = validate$r(obj_templateVersions_item, path_templateVersions_item);
|
|
1657
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
1658
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
1659
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1660
|
+
return new TypeError(message);
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1566
1664
|
if (obj.url !== undefined) {
|
|
1567
1665
|
const obj_url = obj.url;
|
|
1568
1666
|
const path_url = path + '.url';
|
|
@@ -1602,7 +1700,7 @@ function equals$7(existing, incoming) {
|
|
|
1602
1700
|
}
|
|
1603
1701
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1604
1702
|
if (process.env.NODE_ENV !== 'production') {
|
|
1605
|
-
const validateError = validate$
|
|
1703
|
+
const validateError = validate$k(input);
|
|
1606
1704
|
if (validateError !== null) {
|
|
1607
1705
|
throw validateError;
|
|
1608
1706
|
}
|
|
@@ -1672,6 +1770,7 @@ const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
|
|
|
1672
1770
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
1673
1771
|
generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
|
|
1674
1772
|
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
1773
|
+
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
1675
1774
|
];
|
|
1676
1775
|
const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
1677
1776
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
@@ -1724,7 +1823,7 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
1724
1823
|
};
|
|
1725
1824
|
};
|
|
1726
1825
|
|
|
1727
|
-
function validate$
|
|
1826
|
+
function validate$j(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
|
|
1728
1827
|
const v_error = (() => {
|
|
1729
1828
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1730
1829
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1740,7 +1839,7 @@ function validate$i(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentati
|
|
|
1740
1839
|
return v_error === undefined ? null : v_error;
|
|
1741
1840
|
}
|
|
1742
1841
|
|
|
1743
|
-
function validate$
|
|
1842
|
+
function validate$i(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
1744
1843
|
const v_error = (() => {
|
|
1745
1844
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1746
1845
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1764,7 +1863,7 @@ function validate$h(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
|
1764
1863
|
return v_error === undefined ? null : v_error;
|
|
1765
1864
|
}
|
|
1766
1865
|
|
|
1767
|
-
function validate$
|
|
1866
|
+
function validate$h(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
|
|
1768
1867
|
const v_error = (() => {
|
|
1769
1868
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1770
1869
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1777,7 +1876,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
1777
1876
|
for (let i = 0; i < obj_queryParamConfigs.length; i++) {
|
|
1778
1877
|
const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
|
|
1779
1878
|
const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
|
|
1780
|
-
const referencepath_queryParamConfigs_itemValidationError = validate$
|
|
1879
|
+
const referencepath_queryParamConfigs_itemValidationError = validate$i(obj_queryParamConfigs_item, path_queryParamConfigs_item);
|
|
1781
1880
|
if (referencepath_queryParamConfigs_itemValidationError !== null) {
|
|
1782
1881
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
|
|
1783
1882
|
message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1788,7 +1887,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
1788
1887
|
return v_error === undefined ? null : v_error;
|
|
1789
1888
|
}
|
|
1790
1889
|
|
|
1791
|
-
function validate$
|
|
1890
|
+
function validate$g(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
1792
1891
|
const v_error = (() => {
|
|
1793
1892
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1794
1893
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1796,7 +1895,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
1796
1895
|
if (obj.analysisConfigs !== undefined) {
|
|
1797
1896
|
const obj_analysisConfigs = obj.analysisConfigs;
|
|
1798
1897
|
const path_analysisConfigs = path + '.analysisConfigs';
|
|
1799
|
-
const referencepath_analysisConfigsValidationError = validate$
|
|
1898
|
+
const referencepath_analysisConfigsValidationError = validate$j(obj_analysisConfigs, path_analysisConfigs);
|
|
1800
1899
|
if (referencepath_analysisConfigsValidationError !== null) {
|
|
1801
1900
|
let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
|
|
1802
1901
|
message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1818,7 +1917,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
1818
1917
|
const path_queryParameters = path + '.queryParameters';
|
|
1819
1918
|
let obj_queryParameters_union0 = null;
|
|
1820
1919
|
const obj_queryParameters_union0_error = (() => {
|
|
1821
|
-
const referencepath_queryParametersValidationError = validate$
|
|
1920
|
+
const referencepath_queryParametersValidationError = validate$h(obj_queryParameters, path_queryParameters);
|
|
1822
1921
|
if (referencepath_queryParametersValidationError !== null) {
|
|
1823
1922
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
|
|
1824
1923
|
message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1923,7 +2022,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
1923
2022
|
return v_error === undefined ? null : v_error;
|
|
1924
2023
|
}
|
|
1925
2024
|
|
|
1926
|
-
function validate$
|
|
2025
|
+
function validate$f(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
|
|
1927
2026
|
const v_error = (() => {
|
|
1928
2027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1929
2028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1936,7 +2035,7 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
1936
2035
|
for (let i = 0; i < obj_queryConfigs.length; i++) {
|
|
1937
2036
|
const obj_queryConfigs_item = obj_queryConfigs[i];
|
|
1938
2037
|
const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
|
|
1939
|
-
const referencepath_queryConfigs_itemValidationError = validate$
|
|
2038
|
+
const referencepath_queryConfigs_itemValidationError = validate$g(obj_queryConfigs_item, path_queryConfigs_item);
|
|
1940
2039
|
if (referencepath_queryConfigs_itemValidationError !== null) {
|
|
1941
2040
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
|
|
1942
2041
|
message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1947,6 +2046,25 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
1947
2046
|
return v_error === undefined ? null : v_error;
|
|
1948
2047
|
}
|
|
1949
2048
|
|
|
2049
|
+
function validate$e(obj, path = 'CustomUseCaseTemplateMatchPolicyRepresentation') {
|
|
2050
|
+
const v_error = (() => {
|
|
2051
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2052
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2053
|
+
}
|
|
2054
|
+
const obj_alias = obj.alias;
|
|
2055
|
+
const path_alias = path + '.alias';
|
|
2056
|
+
if (typeof obj_alias !== 'string') {
|
|
2057
|
+
return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
|
|
2058
|
+
}
|
|
2059
|
+
const obj_type = obj.type;
|
|
2060
|
+
const path_type = path + '.type';
|
|
2061
|
+
if (typeof obj_type !== 'string') {
|
|
2062
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2063
|
+
}
|
|
2064
|
+
})();
|
|
2065
|
+
return v_error === undefined ? null : v_error;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
1950
2068
|
function validate$d(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
1951
2069
|
const v_error = (() => {
|
|
1952
2070
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1964,6 +2082,16 @@ function validate$d(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
1964
2082
|
if (typeof obj_description !== 'string') {
|
|
1965
2083
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1966
2084
|
}
|
|
2085
|
+
if (obj.matchPolicy !== undefined) {
|
|
2086
|
+
const obj_matchPolicy = obj.matchPolicy;
|
|
2087
|
+
const path_matchPolicy = path + '.matchPolicy';
|
|
2088
|
+
const referencepath_matchPolicyValidationError = validate$e(obj_matchPolicy, path_matchPolicy);
|
|
2089
|
+
if (referencepath_matchPolicyValidationError !== null) {
|
|
2090
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateMatchPolicyRepresentation (at "' + path_matchPolicy + '")\n';
|
|
2091
|
+
message += referencepath_matchPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2092
|
+
return new TypeError(message);
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
1967
2095
|
const obj_name = obj.name;
|
|
1968
2096
|
const path_name = path + '.name';
|
|
1969
2097
|
if (typeof obj_name !== 'string') {
|
|
@@ -2079,7 +2207,7 @@ function validate$9(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
2079
2207
|
}
|
|
2080
2208
|
const obj_queries = obj.queries;
|
|
2081
2209
|
const path_queries = path + '.queries';
|
|
2082
|
-
const referencepath_queriesValidationError = validate$
|
|
2210
|
+
const referencepath_queriesValidationError = validate$f(obj_queries, path_queries);
|
|
2083
2211
|
if (referencepath_queriesValidationError !== null) {
|
|
2084
2212
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
|
|
2085
2213
|
message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2178,7 +2306,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
2178
2306
|
if (obj.createdBy !== undefined) {
|
|
2179
2307
|
const obj_createdBy = obj.createdBy;
|
|
2180
2308
|
const path_createdBy = path + '.createdBy';
|
|
2181
|
-
const referencepath_createdByValidationError = validate$
|
|
2309
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
2182
2310
|
if (referencepath_createdByValidationError !== null) {
|
|
2183
2311
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2184
2312
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2235,7 +2363,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
2235
2363
|
if (obj.lastModifiedBy !== undefined) {
|
|
2236
2364
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2237
2365
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2238
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2366
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2239
2367
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2240
2368
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2241
2369
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2513,7 +2641,7 @@ const createProviderAdapterFactory = (luvio) => {
|
|
|
2513
2641
|
};
|
|
2514
2642
|
};
|
|
2515
2643
|
|
|
2516
|
-
const VERSION$5 = "
|
|
2644
|
+
const VERSION$5 = "abe725dfb62472d5268125b8043a39fa";
|
|
2517
2645
|
function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
2518
2646
|
const v_error = (() => {
|
|
2519
2647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2529,7 +2657,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2529
2657
|
if (obj.createdBy !== undefined) {
|
|
2530
2658
|
const obj_createdBy = obj.createdBy;
|
|
2531
2659
|
const path_createdBy = path + '.createdBy';
|
|
2532
|
-
const referencepath_createdByValidationError = validate$
|
|
2660
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
2533
2661
|
if (referencepath_createdByValidationError !== null) {
|
|
2534
2662
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2535
2663
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2579,7 +2707,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2579
2707
|
if (obj.lastModifiedBy !== undefined) {
|
|
2580
2708
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2581
2709
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2582
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2710
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2583
2711
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2584
2712
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2585
2713
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2607,6 +2735,13 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2607
2735
|
return new TypeError('Expected "string" but received "' + typeof obj_outputDMOName + '" (at "' + path_outputDMOName + '")');
|
|
2608
2736
|
}
|
|
2609
2737
|
}
|
|
2738
|
+
if (obj.queryName !== undefined) {
|
|
2739
|
+
const obj_queryName = obj.queryName;
|
|
2740
|
+
const path_queryName = path + '.queryName';
|
|
2741
|
+
if (typeof obj_queryName !== 'string') {
|
|
2742
|
+
return new TypeError('Expected "string" but received "' + typeof obj_queryName + '" (at "' + path_queryName + '")');
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2610
2745
|
if (obj.queryParam !== undefined) {
|
|
2611
2746
|
const obj_queryParam = obj.queryParam;
|
|
2612
2747
|
const path_queryParam = path + '.queryParam';
|
|
@@ -2628,6 +2763,13 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2628
2763
|
return new TypeError('Expected "string" but received "' + typeof obj_reportName + '" (at "' + path_reportName + '")');
|
|
2629
2764
|
}
|
|
2630
2765
|
}
|
|
2766
|
+
if (obj.scheduleName !== undefined) {
|
|
2767
|
+
const obj_scheduleName = obj.scheduleName;
|
|
2768
|
+
const path_scheduleName = path + '.scheduleName';
|
|
2769
|
+
if (typeof obj_scheduleName !== 'string') {
|
|
2770
|
+
return new TypeError('Expected "string" but received "' + typeof obj_scheduleName + '" (at "' + path_scheduleName + '")');
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2631
2773
|
if (obj.segmentNames !== undefined) {
|
|
2632
2774
|
const obj_segmentNames = obj.segmentNames;
|
|
2633
2775
|
const path_segmentNames = path + '.segmentNames';
|
|
@@ -2647,6 +2789,13 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2647
2789
|
if (typeof obj_status !== 'string') {
|
|
2648
2790
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
2649
2791
|
}
|
|
2792
|
+
if (obj.templateVersionId !== undefined) {
|
|
2793
|
+
const obj_templateVersionId = obj.templateVersionId;
|
|
2794
|
+
const path_templateVersionId = path + '.templateVersionId';
|
|
2795
|
+
if (typeof obj_templateVersionId !== 'string') {
|
|
2796
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateVersionId + '" (at "' + path_templateVersionId + '")');
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2650
2799
|
if (obj.triggeredDate !== undefined) {
|
|
2651
2800
|
const obj_triggeredDate = obj.triggeredDate;
|
|
2652
2801
|
const path_triggeredDate = path + '.triggeredDate';
|
|
@@ -2654,6 +2803,13 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2654
2803
|
return new TypeError('Expected "string" but received "' + typeof obj_triggeredDate + '" (at "' + path_triggeredDate + '")');
|
|
2655
2804
|
}
|
|
2656
2805
|
}
|
|
2806
|
+
if (obj.type !== undefined) {
|
|
2807
|
+
const obj_type = obj.type;
|
|
2808
|
+
const path_type = path + '.type';
|
|
2809
|
+
if (typeof obj_type !== 'string') {
|
|
2810
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2657
2813
|
})();
|
|
2658
2814
|
return v_error === undefined ? null : v_error;
|
|
2659
2815
|
}
|
|
@@ -2747,6 +2903,7 @@ const adapterName$7 = 'executeDataCleanRoomQuery';
|
|
|
2747
2903
|
const executeDataCleanRoomQuery_ConfigPropertyMetadata = [
|
|
2748
2904
|
generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
2749
2905
|
generateParamConfigMetadata('queryExecutionName', true, 2 /* Body */, 0 /* String */),
|
|
2906
|
+
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
2750
2907
|
generateParamConfigMetadata('segmentIds', false, 2 /* Body */, 0 /* String */, true),
|
|
2751
2908
|
generateParamConfigMetadata('queryParameters', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2752
2909
|
];
|
|
@@ -2801,7 +2958,7 @@ const executeDataCleanRoomQueryAdapterFactory = (luvio) => {
|
|
|
2801
2958
|
};
|
|
2802
2959
|
};
|
|
2803
2960
|
|
|
2804
|
-
const VERSION$4 = "
|
|
2961
|
+
const VERSION$4 = "406c8b91188a78aeb561c9615b2fb834";
|
|
2805
2962
|
function validate$4(obj, path = 'DataCleanRoomQueryJobHistoryCollectionRepresentation') {
|
|
2806
2963
|
const v_error = (() => {
|
|
2807
2964
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2852,6 +3009,13 @@ function validate$4(obj, path = 'DataCleanRoomQueryJobHistoryCollectionRepresent
|
|
|
2852
3009
|
if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
|
|
2853
3010
|
return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
|
|
2854
3011
|
}
|
|
3012
|
+
if (obj.queryConcurrencyLimit !== undefined) {
|
|
3013
|
+
const obj_queryConcurrencyLimit = obj.queryConcurrencyLimit;
|
|
3014
|
+
const path_queryConcurrencyLimit = path + '.queryConcurrencyLimit';
|
|
3015
|
+
if (typeof obj_queryConcurrencyLimit !== 'number' || (typeof obj_queryConcurrencyLimit === 'number' && Math.floor(obj_queryConcurrencyLimit) !== obj_queryConcurrencyLimit)) {
|
|
3016
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_queryConcurrencyLimit + '" (at "' + path_queryConcurrencyLimit + '")');
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
2855
3019
|
const obj_queryJobs = obj.queryJobs;
|
|
2856
3020
|
const path_queryJobs = path + '.queryJobs';
|
|
2857
3021
|
if (!ArrayIsArray(obj_queryJobs)) {
|
|
@@ -3067,7 +3231,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
|
|
|
3067
3231
|
for (let i = 0; i < obj_collaborations.length; i++) {
|
|
3068
3232
|
const obj_collaborations_item = obj_collaborations[i];
|
|
3069
3233
|
const path_collaborations_item = path_collaborations + '[' + i + ']';
|
|
3070
|
-
const referencepath_collaborations_itemValidationError = validate$
|
|
3234
|
+
const referencepath_collaborations_itemValidationError = validate$q(obj_collaborations_item, path_collaborations_item);
|
|
3071
3235
|
if (referencepath_collaborations_itemValidationError !== null) {
|
|
3072
3236
|
let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
|
|
3073
3237
|
message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4093,7 +4257,7 @@ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
|
|
|
4093
4257
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
4094
4258
|
const obj_templates_item = obj_templates[i];
|
|
4095
4259
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
4096
|
-
const referencepath_templates_itemValidationError = validate$
|
|
4260
|
+
const referencepath_templates_itemValidationError = validate$r(obj_templates_item, path_templates_item);
|
|
4097
4261
|
if (referencepath_templates_itemValidationError !== null) {
|
|
4098
4262
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
4099
4263
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4615,4 +4779,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4615
4779
|
});
|
|
4616
4780
|
|
|
4617
4781
|
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 };
|
|
4618
|
-
// version: 1.428.0-
|
|
4782
|
+
// version: 1.428.0-dev20-d72ac06681
|