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