@salesforce/lds-adapters-cdp-data-clean-room 1.428.0-dev16 → 1.428.0-dev18
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 +112 -54
- 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/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 +131 -73
- package/src/raml/api.raml +33 -0
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$D(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$C(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,7 @@ function validate$C(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
152
|
const v_error = (() => {
|
|
153
153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
154
154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -162,7 +162,7 @@ function validate$B(obj, path = 'DataCleanRoomOutputDestinationConfigRepresentat
|
|
|
162
162
|
return v_error === undefined ? null : v_error;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
function validate$
|
|
165
|
+
function validate$C(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
166
166
|
const v_error = (() => {
|
|
167
167
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
168
168
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -184,7 +184,7 @@ function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
184
184
|
if (obj.outputDestinationConfig !== undefined) {
|
|
185
185
|
const obj_outputDestinationConfig = obj.outputDestinationConfig;
|
|
186
186
|
const path_outputDestinationConfig = path + '.outputDestinationConfig';
|
|
187
|
-
const referencepath_outputDestinationConfigValidationError = validate$
|
|
187
|
+
const referencepath_outputDestinationConfigValidationError = validate$D(obj_outputDestinationConfig, path_outputDestinationConfig);
|
|
188
188
|
if (referencepath_outputDestinationConfigValidationError !== null) {
|
|
189
189
|
let message = 'Object doesn\'t match DataCleanRoomOutputDestinationConfigRepresentation (at "' + path_outputDestinationConfig + '")\n';
|
|
190
190
|
message += referencepath_outputDestinationConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -217,7 +217,7 @@ function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
const VERSION$9 = "75f0d619e9f7670351ab7ddef20f4386";
|
|
220
|
-
function validate$
|
|
220
|
+
function validate$B(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
221
221
|
const v_error = (() => {
|
|
222
222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
223
223
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -241,7 +241,7 @@ function validate$z(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
241
241
|
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
242
242
|
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
243
243
|
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
244
|
-
const referencepath_memberConfigs_itemValidationError = validate$
|
|
244
|
+
const referencepath_memberConfigs_itemValidationError = validate$C(obj_memberConfigs_item, path_memberConfigs_item);
|
|
245
245
|
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
246
246
|
let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
247
247
|
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -329,7 +329,7 @@ function equals$9(existing, incoming) {
|
|
|
329
329
|
}
|
|
330
330
|
const ingest$9 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
331
331
|
if (process.env.NODE_ENV !== 'production') {
|
|
332
|
-
const validateError = validate$
|
|
332
|
+
const validateError = validate$B(input);
|
|
333
333
|
if (validateError !== null) {
|
|
334
334
|
throw validateError;
|
|
335
335
|
}
|
|
@@ -408,7 +408,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
408
408
|
config.specificationId = untrustedConfig_specificationId;
|
|
409
409
|
}
|
|
410
410
|
const untrustedConfig_outputConfiguration = untrustedConfig.outputConfiguration;
|
|
411
|
-
const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$
|
|
411
|
+
const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$E(untrustedConfig_outputConfiguration);
|
|
412
412
|
if (referenceDataCleanRoomOutputConfigurationRepresentationValidationError === null) {
|
|
413
413
|
config.outputConfiguration = untrustedConfig_outputConfiguration;
|
|
414
414
|
}
|
|
@@ -456,7 +456,7 @@ const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
|
|
|
456
456
|
};
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
-
function validate$
|
|
459
|
+
function validate$A(obj, path = 'CdpUserRepresentation') {
|
|
460
460
|
const v_error = (() => {
|
|
461
461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
462
462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -486,7 +486,26 @@ function validate$y(obj, path = 'CdpUserRepresentation') {
|
|
|
486
486
|
return v_error === undefined ? null : v_error;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
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') {
|
|
490
509
|
const v_error = (() => {
|
|
491
510
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
492
511
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -526,6 +545,16 @@ function validate$x(obj, path = 'UseCaseTemplateAttributeConfigRepresentation')
|
|
|
526
545
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
527
546
|
}
|
|
528
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
|
+
}
|
|
529
558
|
if (obj.queryOptions !== undefined) {
|
|
530
559
|
const obj_queryOptions = obj.queryOptions;
|
|
531
560
|
const path_queryOptions = path + '.queryOptions';
|
|
@@ -558,7 +587,7 @@ function validate$x(obj, path = 'UseCaseTemplateAttributeConfigRepresentation')
|
|
|
558
587
|
return v_error === undefined ? null : v_error;
|
|
559
588
|
}
|
|
560
589
|
|
|
561
|
-
function validate$
|
|
590
|
+
function validate$x(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
562
591
|
const v_error = (() => {
|
|
563
592
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
564
593
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -572,7 +601,7 @@ function validate$w(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
572
601
|
for (let i = 0; i < obj_attributeConfigs.length; i++) {
|
|
573
602
|
const obj_attributeConfigs_item = obj_attributeConfigs[i];
|
|
574
603
|
const path_attributeConfigs_item = path_attributeConfigs + '[' + i + ']';
|
|
575
|
-
const referencepath_attributeConfigs_itemValidationError = validate$
|
|
604
|
+
const referencepath_attributeConfigs_itemValidationError = validate$y(obj_attributeConfigs_item, path_attributeConfigs_item);
|
|
576
605
|
if (referencepath_attributeConfigs_itemValidationError !== null) {
|
|
577
606
|
let message = 'Object doesn\'t match UseCaseTemplateAttributeConfigRepresentation (at "' + path_attributeConfigs_item + '")\n';
|
|
578
607
|
message += referencepath_attributeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -591,7 +620,7 @@ function validate$w(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
591
620
|
return v_error === undefined ? null : v_error;
|
|
592
621
|
}
|
|
593
622
|
|
|
594
|
-
function validate$
|
|
623
|
+
function validate$w(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
595
624
|
const v_error = (() => {
|
|
596
625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
597
626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -605,7 +634,7 @@ function validate$v(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
605
634
|
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
606
635
|
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
607
636
|
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
608
|
-
const referencepath_memberConfigs_itemValidationError = validate$
|
|
637
|
+
const referencepath_memberConfigs_itemValidationError = validate$x(obj_memberConfigs_item, path_memberConfigs_item);
|
|
609
638
|
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
610
639
|
let message = 'Object doesn\'t match UseCaseTemplateMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
611
640
|
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -617,7 +646,7 @@ function validate$v(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
617
646
|
return v_error === undefined ? null : v_error;
|
|
618
647
|
}
|
|
619
648
|
|
|
620
|
-
function validate$
|
|
649
|
+
function validate$v(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation') {
|
|
621
650
|
const v_error = (() => {
|
|
622
651
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
623
652
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -640,7 +669,7 @@ function validate$u(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation
|
|
|
640
669
|
return v_error === undefined ? null : v_error;
|
|
641
670
|
}
|
|
642
671
|
|
|
643
|
-
function validate$
|
|
672
|
+
function validate$u(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation') {
|
|
644
673
|
const v_error = (() => {
|
|
645
674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
646
675
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -669,7 +698,7 @@ function validate$t(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
669
698
|
if (obj.outputConfig !== undefined) {
|
|
670
699
|
const obj_outputConfig = obj.outputConfig;
|
|
671
700
|
const path_outputConfig = path + '.outputConfig';
|
|
672
|
-
const referencepath_outputConfigValidationError = validate$
|
|
701
|
+
const referencepath_outputConfigValidationError = validate$v(obj_outputConfig, path_outputConfig);
|
|
673
702
|
if (referencepath_outputConfigValidationError !== null) {
|
|
674
703
|
let message = 'Object doesn\'t match DataCleanRoomMetadataOutputConfigRepresentation (at "' + path_outputConfig + '")\n';
|
|
675
704
|
message += referencepath_outputConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -694,7 +723,7 @@ function validate$t(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
694
723
|
return v_error === undefined ? null : v_error;
|
|
695
724
|
}
|
|
696
725
|
|
|
697
|
-
function validate$
|
|
726
|
+
function validate$t(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
698
727
|
const v_error = (() => {
|
|
699
728
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
700
729
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -710,7 +739,7 @@ function validate$s(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
|
710
739
|
return v_error === undefined ? null : v_error;
|
|
711
740
|
}
|
|
712
741
|
|
|
713
|
-
function validate$
|
|
742
|
+
function validate$s(obj, path = 'DataCleanRoomMetadataConfigurationRepresentation') {
|
|
714
743
|
const v_error = (() => {
|
|
715
744
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
716
745
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -724,7 +753,7 @@ function validate$r(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
724
753
|
for (let i = 0; i < obj_memberConfig.length; i++) {
|
|
725
754
|
const obj_memberConfig_item = obj_memberConfig[i];
|
|
726
755
|
const path_memberConfig_item = path_memberConfig + '[' + i + ']';
|
|
727
|
-
const referencepath_memberConfig_itemValidationError = validate$
|
|
756
|
+
const referencepath_memberConfig_itemValidationError = validate$u(obj_memberConfig_item, path_memberConfig_item);
|
|
728
757
|
if (referencepath_memberConfig_itemValidationError !== null) {
|
|
729
758
|
let message = 'Object doesn\'t match DataCleanRoomMetadataMemberConfigRepresentation (at "' + path_memberConfig_item + '")\n';
|
|
730
759
|
message += referencepath_memberConfig_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -735,7 +764,7 @@ function validate$r(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
735
764
|
if (obj.usecaseConfig !== undefined) {
|
|
736
765
|
const obj_usecaseConfig = obj.usecaseConfig;
|
|
737
766
|
const path_usecaseConfig = path + '.usecaseConfig';
|
|
738
|
-
const referencepath_usecaseConfigValidationError = validate$
|
|
767
|
+
const referencepath_usecaseConfigValidationError = validate$t(obj_usecaseConfig, path_usecaseConfig);
|
|
739
768
|
if (referencepath_usecaseConfigValidationError !== null) {
|
|
740
769
|
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigRepresentation (at "' + path_usecaseConfig + '")\n';
|
|
741
770
|
message += referencepath_usecaseConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -746,7 +775,7 @@ function validate$r(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
746
775
|
return v_error === undefined ? null : v_error;
|
|
747
776
|
}
|
|
748
777
|
|
|
749
|
-
function validate$
|
|
778
|
+
function validate$r(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
750
779
|
const v_error = (() => {
|
|
751
780
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
752
781
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -754,7 +783,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
754
783
|
if (obj.configuration !== undefined) {
|
|
755
784
|
const obj_configuration = obj.configuration;
|
|
756
785
|
const path_configuration = path + '.configuration';
|
|
757
|
-
const referencepath_configurationValidationError = validate$
|
|
786
|
+
const referencepath_configurationValidationError = validate$w(obj_configuration, path_configuration);
|
|
758
787
|
if (referencepath_configurationValidationError !== null) {
|
|
759
788
|
let message = 'Object doesn\'t match UseCaseTemplateConfigRepresentation (at "' + path_configuration + '")\n';
|
|
760
789
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -764,7 +793,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
764
793
|
if (obj.createdBy !== undefined) {
|
|
765
794
|
const obj_createdBy = obj.createdBy;
|
|
766
795
|
const path_createdBy = path + '.createdBy';
|
|
767
|
-
const referencepath_createdByValidationError = validate$
|
|
796
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
768
797
|
if (referencepath_createdByValidationError !== null) {
|
|
769
798
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
770
799
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -800,7 +829,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
800
829
|
if (obj.lastModifiedBy !== undefined) {
|
|
801
830
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
802
831
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
803
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
832
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
804
833
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
805
834
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
806
835
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -817,7 +846,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
817
846
|
if (obj.metadataConfiguration !== undefined) {
|
|
818
847
|
const obj_metadataConfiguration = obj.metadataConfiguration;
|
|
819
848
|
const path_metadataConfiguration = path + '.metadataConfiguration';
|
|
820
|
-
const referencepath_metadataConfigurationValidationError = validate$
|
|
849
|
+
const referencepath_metadataConfigurationValidationError = validate$s(obj_metadataConfiguration, path_metadataConfiguration);
|
|
821
850
|
if (referencepath_metadataConfigurationValidationError !== null) {
|
|
822
851
|
let message = 'Object doesn\'t match DataCleanRoomMetadataConfigurationRepresentation (at "' + path_metadataConfiguration + '")\n';
|
|
823
852
|
message += referencepath_metadataConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -883,7 +912,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
883
912
|
}
|
|
884
913
|
|
|
885
914
|
const VERSION$8 = "05b9af690479642651785a6a6d5e65d6";
|
|
886
|
-
function validate$
|
|
915
|
+
function validate$q(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
887
916
|
const v_error = (() => {
|
|
888
917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
889
918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -898,7 +927,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
898
927
|
if (obj.createdBy !== undefined) {
|
|
899
928
|
const obj_createdBy = obj.createdBy;
|
|
900
929
|
const path_createdBy = path + '.createdBy';
|
|
901
|
-
const referencepath_createdByValidationError = validate$
|
|
930
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
902
931
|
if (referencepath_createdByValidationError !== null) {
|
|
903
932
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
904
933
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -948,7 +977,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
948
977
|
if (obj.lastModifiedBy !== undefined) {
|
|
949
978
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
950
979
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
951
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
980
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
952
981
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
953
982
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
954
983
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -970,7 +999,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
970
999
|
for (let i = 0; i < obj_members.length; i++) {
|
|
971
1000
|
const obj_members_item = obj_members[i];
|
|
972
1001
|
const path_members_item = path_members + '[' + i + ']';
|
|
973
|
-
const referencepath_members_itemValidationError = validate$
|
|
1002
|
+
const referencepath_members_itemValidationError = validate$B(obj_members_item, path_members_item);
|
|
974
1003
|
if (referencepath_members_itemValidationError !== null) {
|
|
975
1004
|
let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
|
|
976
1005
|
message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -999,7 +1028,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
999
1028
|
if (obj.templateVersion !== undefined) {
|
|
1000
1029
|
const obj_templateVersion = obj.templateVersion;
|
|
1001
1030
|
const path_templateVersion = path + '.templateVersion';
|
|
1002
|
-
const referencepath_templateVersionValidationError = validate$
|
|
1031
|
+
const referencepath_templateVersionValidationError = validate$r(obj_templateVersion, path_templateVersion);
|
|
1003
1032
|
if (referencepath_templateVersionValidationError !== null) {
|
|
1004
1033
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1005
1034
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1015,7 +1044,7 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
1015
1044
|
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
1016
1045
|
const obj_templateVersions_item = obj_templateVersions[i];
|
|
1017
1046
|
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
1018
|
-
const referencepath_templateVersions_itemValidationError = validate$
|
|
1047
|
+
const referencepath_templateVersions_itemValidationError = validate$r(obj_templateVersions_item, path_templateVersions_item);
|
|
1019
1048
|
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
1020
1049
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
1021
1050
|
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1062,7 +1091,7 @@ function equals$8(existing, incoming) {
|
|
|
1062
1091
|
}
|
|
1063
1092
|
const ingest$8 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1064
1093
|
if (process.env.NODE_ENV !== 'production') {
|
|
1065
|
-
const validateError = validate$
|
|
1094
|
+
const validateError = validate$q(input);
|
|
1066
1095
|
if (validateError !== null) {
|
|
1067
1096
|
throw validateError;
|
|
1068
1097
|
}
|
|
@@ -1181,7 +1210,7 @@ const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
|
|
|
1181
1210
|
};
|
|
1182
1211
|
};
|
|
1183
1212
|
|
|
1184
|
-
function validate$
|
|
1213
|
+
function validate$p(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
1185
1214
|
const v_error = (() => {
|
|
1186
1215
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1187
1216
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1207,7 +1236,7 @@ function validate$o(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
|
|
|
1207
1236
|
return v_error === undefined ? null : v_error;
|
|
1208
1237
|
}
|
|
1209
1238
|
|
|
1210
|
-
function validate$
|
|
1239
|
+
function validate$o(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
1211
1240
|
const v_error = (() => {
|
|
1212
1241
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1213
1242
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1226,7 +1255,7 @@ function validate$n(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
|
|
|
1226
1255
|
return v_error === undefined ? null : v_error;
|
|
1227
1256
|
}
|
|
1228
1257
|
|
|
1229
|
-
function validate$
|
|
1258
|
+
function validate$n(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
|
|
1230
1259
|
const v_error = (() => {
|
|
1231
1260
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1232
1261
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1255,7 +1284,7 @@ function validate$m(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
|
|
|
1255
1284
|
return v_error === undefined ? null : v_error;
|
|
1256
1285
|
}
|
|
1257
1286
|
|
|
1258
|
-
function validate$
|
|
1287
|
+
function validate$m(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
|
|
1259
1288
|
const v_error = (() => {
|
|
1260
1289
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1261
1290
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1275,7 +1304,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1275
1304
|
if (obj.createdBy !== undefined) {
|
|
1276
1305
|
const obj_createdBy = obj.createdBy;
|
|
1277
1306
|
const path_createdBy = path + '.createdBy';
|
|
1278
|
-
const referencepath_createdByValidationError = validate$
|
|
1307
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
1279
1308
|
if (referencepath_createdByValidationError !== null) {
|
|
1280
1309
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1281
1310
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1292,7 +1321,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1292
1321
|
if (obj.dataMapping !== undefined) {
|
|
1293
1322
|
const obj_dataMapping = obj.dataMapping;
|
|
1294
1323
|
const path_dataMapping = path + '.dataMapping';
|
|
1295
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1324
|
+
const referencepath_dataMappingValidationError = validate$l(obj_dataMapping, path_dataMapping);
|
|
1296
1325
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1297
1326
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1298
1327
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1302,7 +1331,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1302
1331
|
if (obj.filterOptions !== undefined) {
|
|
1303
1332
|
const obj_filterOptions = obj.filterOptions;
|
|
1304
1333
|
const path_filterOptions = path + '.filterOptions';
|
|
1305
|
-
const referencepath_filterOptionsValidationError = validate$
|
|
1334
|
+
const referencepath_filterOptionsValidationError = validate$p(obj_filterOptions, path_filterOptions);
|
|
1306
1335
|
if (referencepath_filterOptionsValidationError !== null) {
|
|
1307
1336
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
1308
1337
|
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1326,7 +1355,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1326
1355
|
if (obj.lastModifiedBy !== undefined) {
|
|
1327
1356
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1328
1357
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1329
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1358
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1330
1359
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1331
1360
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1332
1361
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1362,7 +1391,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1362
1391
|
for (let i = 0; i < obj_path.length; i++) {
|
|
1363
1392
|
const obj_path_item = obj_path[i];
|
|
1364
1393
|
const path_path_item = path_path + '[' + i + ']';
|
|
1365
|
-
const referencepath_path_itemValidationError = validate$
|
|
1394
|
+
const referencepath_path_itemValidationError = validate$o(obj_path_item, path_path_item);
|
|
1366
1395
|
if (referencepath_path_itemValidationError !== null) {
|
|
1367
1396
|
let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
|
|
1368
1397
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1371,7 +1400,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1371
1400
|
}
|
|
1372
1401
|
const obj_subjectAttribute = obj.subjectAttribute;
|
|
1373
1402
|
const path_subjectAttribute = path + '.subjectAttribute';
|
|
1374
|
-
const referencepath_subjectAttributeValidationError = validate$
|
|
1403
|
+
const referencepath_subjectAttributeValidationError = validate$n(obj_subjectAttribute, path_subjectAttribute);
|
|
1375
1404
|
if (referencepath_subjectAttributeValidationError !== null) {
|
|
1376
1405
|
let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
|
|
1377
1406
|
message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1388,7 +1417,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1388
1417
|
return v_error === undefined ? null : v_error;
|
|
1389
1418
|
}
|
|
1390
1419
|
|
|
1391
|
-
function validate$
|
|
1420
|
+
function validate$l(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
1392
1421
|
const v_error = (() => {
|
|
1393
1422
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1394
1423
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1401,7 +1430,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1401
1430
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1402
1431
|
const obj_attributes_item = obj_attributes[i];
|
|
1403
1432
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1404
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1433
|
+
const referencepath_attributes_itemValidationError = validate$m(obj_attributes_item, path_attributes_item);
|
|
1405
1434
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1406
1435
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
1407
1436
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1416,7 +1445,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1416
1445
|
if (obj.createdBy !== undefined) {
|
|
1417
1446
|
const obj_createdBy = obj.createdBy;
|
|
1418
1447
|
const path_createdBy = path + '.createdBy';
|
|
1419
|
-
const referencepath_createdByValidationError = validate$
|
|
1448
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
1420
1449
|
if (referencepath_createdByValidationError !== null) {
|
|
1421
1450
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1422
1451
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1447,7 +1476,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1447
1476
|
if (obj.lastModifiedBy !== undefined) {
|
|
1448
1477
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1449
1478
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1450
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1479
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1451
1480
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1452
1481
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1453
1482
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1487,7 +1516,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1487
1516
|
}
|
|
1488
1517
|
|
|
1489
1518
|
const VERSION$7 = "daebc7b4442bf99b4d4b2a733554b01e";
|
|
1490
|
-
function validate$
|
|
1519
|
+
function validate$k(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1491
1520
|
const v_error = (() => {
|
|
1492
1521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1493
1522
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1495,7 +1524,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1495
1524
|
if (obj.createdBy !== undefined) {
|
|
1496
1525
|
const obj_createdBy = obj.createdBy;
|
|
1497
1526
|
const path_createdBy = path + '.createdBy';
|
|
1498
|
-
const referencepath_createdByValidationError = validate$
|
|
1527
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
1499
1528
|
if (referencepath_createdByValidationError !== null) {
|
|
1500
1529
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1501
1530
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1511,7 +1540,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1511
1540
|
}
|
|
1512
1541
|
const obj_dataMapping = obj.dataMapping;
|
|
1513
1542
|
const path_dataMapping = path + '.dataMapping';
|
|
1514
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1543
|
+
const referencepath_dataMappingValidationError = validate$l(obj_dataMapping, path_dataMapping);
|
|
1515
1544
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1516
1545
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1517
1546
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1553,7 +1582,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1553
1582
|
if (obj.lastModifiedBy !== undefined) {
|
|
1554
1583
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1555
1584
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1556
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1585
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1557
1586
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1558
1587
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1559
1588
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1608,7 +1637,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1608
1637
|
if (obj.templateVersion !== undefined) {
|
|
1609
1638
|
const obj_templateVersion = obj.templateVersion;
|
|
1610
1639
|
const path_templateVersion = path + '.templateVersion';
|
|
1611
|
-
const referencepath_templateVersionValidationError = validate$
|
|
1640
|
+
const referencepath_templateVersionValidationError = validate$r(obj_templateVersion, path_templateVersion);
|
|
1612
1641
|
if (referencepath_templateVersionValidationError !== null) {
|
|
1613
1642
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1614
1643
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1624,7 +1653,7 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1624
1653
|
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
1625
1654
|
const obj_templateVersions_item = obj_templateVersions[i];
|
|
1626
1655
|
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
1627
|
-
const referencepath_templateVersions_itemValidationError = validate$
|
|
1656
|
+
const referencepath_templateVersions_itemValidationError = validate$r(obj_templateVersions_item, path_templateVersions_item);
|
|
1628
1657
|
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
1629
1658
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
1630
1659
|
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1671,7 +1700,7 @@ function equals$7(existing, incoming) {
|
|
|
1671
1700
|
}
|
|
1672
1701
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1673
1702
|
if (process.env.NODE_ENV !== 'production') {
|
|
1674
|
-
const validateError = validate$
|
|
1703
|
+
const validateError = validate$k(input);
|
|
1675
1704
|
if (validateError !== null) {
|
|
1676
1705
|
throw validateError;
|
|
1677
1706
|
}
|
|
@@ -1794,7 +1823,7 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
1794
1823
|
};
|
|
1795
1824
|
};
|
|
1796
1825
|
|
|
1797
|
-
function validate$
|
|
1826
|
+
function validate$j(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
|
|
1798
1827
|
const v_error = (() => {
|
|
1799
1828
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1800
1829
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1810,7 +1839,7 @@ function validate$i(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentati
|
|
|
1810
1839
|
return v_error === undefined ? null : v_error;
|
|
1811
1840
|
}
|
|
1812
1841
|
|
|
1813
|
-
function validate$
|
|
1842
|
+
function validate$i(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
1814
1843
|
const v_error = (() => {
|
|
1815
1844
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1816
1845
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1834,7 +1863,7 @@ function validate$h(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
|
1834
1863
|
return v_error === undefined ? null : v_error;
|
|
1835
1864
|
}
|
|
1836
1865
|
|
|
1837
|
-
function validate$
|
|
1866
|
+
function validate$h(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
|
|
1838
1867
|
const v_error = (() => {
|
|
1839
1868
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1840
1869
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1847,7 +1876,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
1847
1876
|
for (let i = 0; i < obj_queryParamConfigs.length; i++) {
|
|
1848
1877
|
const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
|
|
1849
1878
|
const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
|
|
1850
|
-
const referencepath_queryParamConfigs_itemValidationError = validate$
|
|
1879
|
+
const referencepath_queryParamConfigs_itemValidationError = validate$i(obj_queryParamConfigs_item, path_queryParamConfigs_item);
|
|
1851
1880
|
if (referencepath_queryParamConfigs_itemValidationError !== null) {
|
|
1852
1881
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
|
|
1853
1882
|
message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1858,7 +1887,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
1858
1887
|
return v_error === undefined ? null : v_error;
|
|
1859
1888
|
}
|
|
1860
1889
|
|
|
1861
|
-
function validate$
|
|
1890
|
+
function validate$g(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
1862
1891
|
const v_error = (() => {
|
|
1863
1892
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1864
1893
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1866,7 +1895,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
1866
1895
|
if (obj.analysisConfigs !== undefined) {
|
|
1867
1896
|
const obj_analysisConfigs = obj.analysisConfigs;
|
|
1868
1897
|
const path_analysisConfigs = path + '.analysisConfigs';
|
|
1869
|
-
const referencepath_analysisConfigsValidationError = validate$
|
|
1898
|
+
const referencepath_analysisConfigsValidationError = validate$j(obj_analysisConfigs, path_analysisConfigs);
|
|
1870
1899
|
if (referencepath_analysisConfigsValidationError !== null) {
|
|
1871
1900
|
let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
|
|
1872
1901
|
message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1888,7 +1917,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
1888
1917
|
const path_queryParameters = path + '.queryParameters';
|
|
1889
1918
|
let obj_queryParameters_union0 = null;
|
|
1890
1919
|
const obj_queryParameters_union0_error = (() => {
|
|
1891
|
-
const referencepath_queryParametersValidationError = validate$
|
|
1920
|
+
const referencepath_queryParametersValidationError = validate$h(obj_queryParameters, path_queryParameters);
|
|
1892
1921
|
if (referencepath_queryParametersValidationError !== null) {
|
|
1893
1922
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
|
|
1894
1923
|
message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1993,7 +2022,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
1993
2022
|
return v_error === undefined ? null : v_error;
|
|
1994
2023
|
}
|
|
1995
2024
|
|
|
1996
|
-
function validate$
|
|
2025
|
+
function validate$f(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
|
|
1997
2026
|
const v_error = (() => {
|
|
1998
2027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1999
2028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2006,7 +2035,7 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
2006
2035
|
for (let i = 0; i < obj_queryConfigs.length; i++) {
|
|
2007
2036
|
const obj_queryConfigs_item = obj_queryConfigs[i];
|
|
2008
2037
|
const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
|
|
2009
|
-
const referencepath_queryConfigs_itemValidationError = validate$
|
|
2038
|
+
const referencepath_queryConfigs_itemValidationError = validate$g(obj_queryConfigs_item, path_queryConfigs_item);
|
|
2010
2039
|
if (referencepath_queryConfigs_itemValidationError !== null) {
|
|
2011
2040
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
|
|
2012
2041
|
message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2017,6 +2046,25 @@ function validate$e(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
2017
2046
|
return v_error === undefined ? null : v_error;
|
|
2018
2047
|
}
|
|
2019
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
|
+
|
|
2020
2068
|
function validate$d(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
2021
2069
|
const v_error = (() => {
|
|
2022
2070
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2034,6 +2082,16 @@ function validate$d(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
2034
2082
|
if (typeof obj_description !== 'string') {
|
|
2035
2083
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2036
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
|
+
}
|
|
2037
2095
|
const obj_name = obj.name;
|
|
2038
2096
|
const path_name = path + '.name';
|
|
2039
2097
|
if (typeof obj_name !== 'string') {
|
|
@@ -2149,7 +2207,7 @@ function validate$9(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
2149
2207
|
}
|
|
2150
2208
|
const obj_queries = obj.queries;
|
|
2151
2209
|
const path_queries = path + '.queries';
|
|
2152
|
-
const referencepath_queriesValidationError = validate$
|
|
2210
|
+
const referencepath_queriesValidationError = validate$f(obj_queries, path_queries);
|
|
2153
2211
|
if (referencepath_queriesValidationError !== null) {
|
|
2154
2212
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
|
|
2155
2213
|
message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2248,7 +2306,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
2248
2306
|
if (obj.createdBy !== undefined) {
|
|
2249
2307
|
const obj_createdBy = obj.createdBy;
|
|
2250
2308
|
const path_createdBy = path + '.createdBy';
|
|
2251
|
-
const referencepath_createdByValidationError = validate$
|
|
2309
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
2252
2310
|
if (referencepath_createdByValidationError !== null) {
|
|
2253
2311
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2254
2312
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2305,7 +2363,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
2305
2363
|
if (obj.lastModifiedBy !== undefined) {
|
|
2306
2364
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2307
2365
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2308
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2366
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2309
2367
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2310
2368
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2311
2369
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2599,7 +2657,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2599
2657
|
if (obj.createdBy !== undefined) {
|
|
2600
2658
|
const obj_createdBy = obj.createdBy;
|
|
2601
2659
|
const path_createdBy = path + '.createdBy';
|
|
2602
|
-
const referencepath_createdByValidationError = validate$
|
|
2660
|
+
const referencepath_createdByValidationError = validate$A(obj_createdBy, path_createdBy);
|
|
2603
2661
|
if (referencepath_createdByValidationError !== null) {
|
|
2604
2662
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2605
2663
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2649,7 +2707,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2649
2707
|
if (obj.lastModifiedBy !== undefined) {
|
|
2650
2708
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2651
2709
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2652
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2710
|
+
const referencepath_lastModifiedByValidationError = validate$A(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2653
2711
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2654
2712
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2655
2713
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3173,7 +3231,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
|
|
|
3173
3231
|
for (let i = 0; i < obj_collaborations.length; i++) {
|
|
3174
3232
|
const obj_collaborations_item = obj_collaborations[i];
|
|
3175
3233
|
const path_collaborations_item = path_collaborations + '[' + i + ']';
|
|
3176
|
-
const referencepath_collaborations_itemValidationError = validate$
|
|
3234
|
+
const referencepath_collaborations_itemValidationError = validate$q(obj_collaborations_item, path_collaborations_item);
|
|
3177
3235
|
if (referencepath_collaborations_itemValidationError !== null) {
|
|
3178
3236
|
let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
|
|
3179
3237
|
message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4199,7 +4257,7 @@ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
|
|
|
4199
4257
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
4200
4258
|
const obj_templates_item = obj_templates[i];
|
|
4201
4259
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
4202
|
-
const referencepath_templates_itemValidationError = validate$
|
|
4260
|
+
const referencepath_templates_itemValidationError = validate$r(obj_templates_item, path_templates_item);
|
|
4203
4261
|
if (referencepath_templates_itemValidationError !== null) {
|
|
4204
4262
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
4205
4263
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4721,4 +4779,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4721
4779
|
});
|
|
4722
4780
|
|
|
4723
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 };
|
|
4724
|
-
// version: 1.428.0-
|
|
4782
|
+
// version: 1.428.0-dev18-75b1336dc2
|