@salesforce/lds-adapters-cdp-data-clean-room 1.421.0 → 1.422.0
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 +516 -89
- package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateInputRepresentation.d.ts +9 -1
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryConfig.d.ts +8 -7
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomAwsS3ConnectionAttributesRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomConnectionAttributesRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathAttributeRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTableRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputRelatedTableRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostUsecaseConfigRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataConfigurationRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataMemberConfigRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataOutputConfigRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomOutputConfigurationRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomSnowflakeConnectionAttributesRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +7 -4
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTableInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathAttributeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/MatchBoostOutputRelatedTableInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/MatchBoostUsecaseConfigInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateConfigRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMemberConfigRepresentation.d.ts +32 -0
- package/package.json +3 -3
- package/sfdc/index.js +501 -74
- package/src/raml/api.raml +433 -6
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6, typeCheckConfig as typeCheckConfig$c, StoreKeyMap, createResourceParams as createResourceParams$c } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
|
-
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
10
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
11
11
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
12
12
|
/**
|
|
13
13
|
* Validates an adapter config is well-formed.
|
|
@@ -31,7 +31,7 @@ function validateConfig(config, adapter, oneOf) {
|
|
|
31
31
|
throw new TypeError(`adapter ${displayName} does not yet support ${unsupported.sort().join(', ')}`);
|
|
32
32
|
}
|
|
33
33
|
const supported = required.concat(optional);
|
|
34
|
-
if (ObjectKeys(config).some(key => !supported.includes(key))) {
|
|
34
|
+
if (ObjectKeys$1(config).some(key => !supported.includes(key))) {
|
|
35
35
|
throw new TypeError(`adapter ${displayName} configuration supports only ${supported.sort().join(', ')}`);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -71,6 +71,7 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
|
71
71
|
}
|
|
72
72
|
const keyPrefix = 'data-clean-room';
|
|
73
73
|
|
|
74
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
74
75
|
const { isArray: ArrayIsArray } = Array;
|
|
75
76
|
const { stringify: JSONStringify } = JSON;
|
|
76
77
|
function equalsArray(a, b, equalsItem) {
|
|
@@ -92,7 +93,7 @@ function createLink(ref) {
|
|
|
92
93
|
};
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
function validate$
|
|
96
|
+
function validate$C(obj, path = 'CdpUserRepresentation') {
|
|
96
97
|
const v_error = (() => {
|
|
97
98
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
99
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -122,7 +123,7 @@ function validate$s(obj, path = 'CdpUserRepresentation') {
|
|
|
122
123
|
return v_error === undefined ? null : v_error;
|
|
123
124
|
}
|
|
124
125
|
|
|
125
|
-
function validate$
|
|
126
|
+
function validate$B(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
126
127
|
const v_error = (() => {
|
|
127
128
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
128
129
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -146,7 +147,7 @@ function validate$r(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
const VERSION$9 = "164dc6669e5d3d9cf4de1e0546eb0476";
|
|
149
|
-
function validate$
|
|
150
|
+
function validate$A(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
150
151
|
const v_error = (() => {
|
|
151
152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
152
153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -154,7 +155,7 @@ function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
154
155
|
if (obj.createdBy !== undefined) {
|
|
155
156
|
const obj_createdBy = obj.createdBy;
|
|
156
157
|
const path_createdBy = path + '.createdBy';
|
|
157
|
-
const referencepath_createdByValidationError = validate$
|
|
158
|
+
const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
|
|
158
159
|
if (referencepath_createdByValidationError !== null) {
|
|
159
160
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
160
161
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -211,7 +212,7 @@ function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
211
212
|
if (obj.lastModifiedBy !== undefined) {
|
|
212
213
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
213
214
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
214
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
215
|
+
const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
|
|
215
216
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
216
217
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
217
218
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -312,7 +313,7 @@ function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
312
313
|
if (obj.useCaseTypeConfig !== undefined) {
|
|
313
314
|
const obj_useCaseTypeConfig = obj.useCaseTypeConfig;
|
|
314
315
|
const path_useCaseTypeConfig = path + '.useCaseTypeConfig';
|
|
315
|
-
const referencepath_useCaseTypeConfigValidationError = validate$
|
|
316
|
+
const referencepath_useCaseTypeConfigValidationError = validate$B(obj_useCaseTypeConfig, path_useCaseTypeConfig);
|
|
316
317
|
if (referencepath_useCaseTypeConfigValidationError !== null) {
|
|
317
318
|
let message = 'Object doesn\'t match DataCleanRoomUseCaseTypeRepresentation (at "' + path_useCaseTypeConfig + '")\n';
|
|
318
319
|
message += referencepath_useCaseTypeConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -351,7 +352,7 @@ function equals$9(existing, incoming) {
|
|
|
351
352
|
}
|
|
352
353
|
const ingest$9 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
353
354
|
if (process.env.NODE_ENV !== 'production') {
|
|
354
|
-
const validateError = validate$
|
|
355
|
+
const validateError = validate$A(input);
|
|
355
356
|
if (validateError !== null) {
|
|
356
357
|
throw validateError;
|
|
357
358
|
}
|
|
@@ -372,7 +373,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
372
373
|
}
|
|
373
374
|
|
|
374
375
|
const VERSION$8 = "52237eeecd4f8f11ae22e265d9abe5ca";
|
|
375
|
-
function validate$
|
|
376
|
+
function validate$z(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
|
|
376
377
|
const v_error = (() => {
|
|
377
378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
378
379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -588,7 +589,7 @@ function equals$8(existing, incoming) {
|
|
|
588
589
|
}
|
|
589
590
|
const ingest$8 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
590
591
|
if (process.env.NODE_ENV !== 'production') {
|
|
591
|
-
const validateError = validate$
|
|
592
|
+
const validateError = validate$z(input);
|
|
592
593
|
if (validateError !== null) {
|
|
593
594
|
throw validateError;
|
|
594
595
|
}
|
|
@@ -747,7 +748,7 @@ const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dat
|
|
|
747
748
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
748
749
|
};
|
|
749
750
|
|
|
750
|
-
function validate$
|
|
751
|
+
function validate$y(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
|
|
751
752
|
const v_error = (() => {
|
|
752
753
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
753
754
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -763,7 +764,7 @@ function validate$o(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentati
|
|
|
763
764
|
return v_error === undefined ? null : v_error;
|
|
764
765
|
}
|
|
765
766
|
|
|
766
|
-
function validate$
|
|
767
|
+
function validate$x(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
767
768
|
const v_error = (() => {
|
|
768
769
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
769
770
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -787,7 +788,7 @@ function validate$n(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
|
787
788
|
return v_error === undefined ? null : v_error;
|
|
788
789
|
}
|
|
789
790
|
|
|
790
|
-
function validate$
|
|
791
|
+
function validate$w(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
|
|
791
792
|
const v_error = (() => {
|
|
792
793
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
793
794
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -800,7 +801,7 @@ function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
800
801
|
for (let i = 0; i < obj_queryParamConfigs.length; i++) {
|
|
801
802
|
const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
|
|
802
803
|
const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
|
|
803
|
-
const referencepath_queryParamConfigs_itemValidationError = validate$
|
|
804
|
+
const referencepath_queryParamConfigs_itemValidationError = validate$x(obj_queryParamConfigs_item, path_queryParamConfigs_item);
|
|
804
805
|
if (referencepath_queryParamConfigs_itemValidationError !== null) {
|
|
805
806
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
|
|
806
807
|
message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -811,7 +812,7 @@ function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
811
812
|
return v_error === undefined ? null : v_error;
|
|
812
813
|
}
|
|
813
814
|
|
|
814
|
-
function validate$
|
|
815
|
+
function validate$v(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
815
816
|
const v_error = (() => {
|
|
816
817
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
817
818
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -819,7 +820,7 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
819
820
|
if (obj.analysisConfigs !== undefined) {
|
|
820
821
|
const obj_analysisConfigs = obj.analysisConfigs;
|
|
821
822
|
const path_analysisConfigs = path + '.analysisConfigs';
|
|
822
|
-
const referencepath_analysisConfigsValidationError = validate$
|
|
823
|
+
const referencepath_analysisConfigsValidationError = validate$y(obj_analysisConfigs, path_analysisConfigs);
|
|
823
824
|
if (referencepath_analysisConfigsValidationError !== null) {
|
|
824
825
|
let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
|
|
825
826
|
message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -839,10 +840,31 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
839
840
|
if (obj.queryParameters !== undefined) {
|
|
840
841
|
const obj_queryParameters = obj.queryParameters;
|
|
841
842
|
const path_queryParameters = path + '.queryParameters';
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
843
|
+
let obj_queryParameters_union0 = null;
|
|
844
|
+
const obj_queryParameters_union0_error = (() => {
|
|
845
|
+
const referencepath_queryParametersValidationError = validate$w(obj_queryParameters, path_queryParameters);
|
|
846
|
+
if (referencepath_queryParametersValidationError !== null) {
|
|
847
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
|
|
848
|
+
message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
849
|
+
return new TypeError(message);
|
|
850
|
+
}
|
|
851
|
+
})();
|
|
852
|
+
if (obj_queryParameters_union0_error != null) {
|
|
853
|
+
obj_queryParameters_union0 = obj_queryParameters_union0_error.message;
|
|
854
|
+
}
|
|
855
|
+
let obj_queryParameters_union1 = null;
|
|
856
|
+
const obj_queryParameters_union1_error = (() => {
|
|
857
|
+
if (obj_queryParameters !== null) {
|
|
858
|
+
return new TypeError('Expected "null" but received "' + typeof obj_queryParameters + '" (at "' + path_queryParameters + '")');
|
|
859
|
+
}
|
|
860
|
+
})();
|
|
861
|
+
if (obj_queryParameters_union1_error != null) {
|
|
862
|
+
obj_queryParameters_union1 = obj_queryParameters_union1_error.message;
|
|
863
|
+
}
|
|
864
|
+
if (obj_queryParameters_union0 && obj_queryParameters_union1) {
|
|
865
|
+
let message = 'Object doesn\'t match union (at "' + path_queryParameters + '")';
|
|
866
|
+
message += '\n' + obj_queryParameters_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
867
|
+
message += '\n' + obj_queryParameters_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
846
868
|
return new TypeError(message);
|
|
847
869
|
}
|
|
848
870
|
}
|
|
@@ -858,15 +880,61 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
858
880
|
return new TypeError('Expected "string" but received "' + typeof obj_referencedTables_item + '" (at "' + path_referencedTables_item + '")');
|
|
859
881
|
}
|
|
860
882
|
}
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
883
|
+
if (obj.source !== undefined) {
|
|
884
|
+
const obj_source = obj.source;
|
|
885
|
+
const path_source = path + '.source';
|
|
886
|
+
let obj_source_union0 = null;
|
|
887
|
+
const obj_source_union0_error = (() => {
|
|
888
|
+
if (typeof obj_source !== 'string') {
|
|
889
|
+
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
890
|
+
}
|
|
891
|
+
})();
|
|
892
|
+
if (obj_source_union0_error != null) {
|
|
893
|
+
obj_source_union0 = obj_source_union0_error.message;
|
|
894
|
+
}
|
|
895
|
+
let obj_source_union1 = null;
|
|
896
|
+
const obj_source_union1_error = (() => {
|
|
897
|
+
if (obj_source !== null) {
|
|
898
|
+
return new TypeError('Expected "null" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
899
|
+
}
|
|
900
|
+
})();
|
|
901
|
+
if (obj_source_union1_error != null) {
|
|
902
|
+
obj_source_union1 = obj_source_union1_error.message;
|
|
903
|
+
}
|
|
904
|
+
if (obj_source_union0 && obj_source_union1) {
|
|
905
|
+
let message = 'Object doesn\'t match union (at "' + path_source + '")';
|
|
906
|
+
message += '\n' + obj_source_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
907
|
+
message += '\n' + obj_source_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
908
|
+
return new TypeError(message);
|
|
909
|
+
}
|
|
865
910
|
}
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
911
|
+
if (obj.type !== undefined) {
|
|
912
|
+
const obj_type = obj.type;
|
|
913
|
+
const path_type = path + '.type';
|
|
914
|
+
let obj_type_union0 = null;
|
|
915
|
+
const obj_type_union0_error = (() => {
|
|
916
|
+
if (typeof obj_type !== 'string') {
|
|
917
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
918
|
+
}
|
|
919
|
+
})();
|
|
920
|
+
if (obj_type_union0_error != null) {
|
|
921
|
+
obj_type_union0 = obj_type_union0_error.message;
|
|
922
|
+
}
|
|
923
|
+
let obj_type_union1 = null;
|
|
924
|
+
const obj_type_union1_error = (() => {
|
|
925
|
+
if (obj_type !== null) {
|
|
926
|
+
return new TypeError('Expected "null" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
927
|
+
}
|
|
928
|
+
})();
|
|
929
|
+
if (obj_type_union1_error != null) {
|
|
930
|
+
obj_type_union1 = obj_type_union1_error.message;
|
|
931
|
+
}
|
|
932
|
+
if (obj_type_union0 && obj_type_union1) {
|
|
933
|
+
let message = 'Object doesn\'t match union (at "' + path_type + '")';
|
|
934
|
+
message += '\n' + obj_type_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
935
|
+
message += '\n' + obj_type_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
936
|
+
return new TypeError(message);
|
|
937
|
+
}
|
|
870
938
|
}
|
|
871
939
|
if (obj.usecase !== undefined) {
|
|
872
940
|
const obj_usecase = obj.usecase;
|
|
@@ -879,7 +947,7 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
879
947
|
return v_error === undefined ? null : v_error;
|
|
880
948
|
}
|
|
881
949
|
|
|
882
|
-
function validate$
|
|
950
|
+
function validate$u(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
|
|
883
951
|
const v_error = (() => {
|
|
884
952
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
885
953
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -892,7 +960,7 @@ function validate$k(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
892
960
|
for (let i = 0; i < obj_queryConfigs.length; i++) {
|
|
893
961
|
const obj_queryConfigs_item = obj_queryConfigs[i];
|
|
894
962
|
const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
|
|
895
|
-
const referencepath_queryConfigs_itemValidationError = validate$
|
|
963
|
+
const referencepath_queryConfigs_itemValidationError = validate$v(obj_queryConfigs_item, path_queryConfigs_item);
|
|
896
964
|
if (referencepath_queryConfigs_itemValidationError !== null) {
|
|
897
965
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
|
|
898
966
|
message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -903,7 +971,7 @@ function validate$k(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
903
971
|
return v_error === undefined ? null : v_error;
|
|
904
972
|
}
|
|
905
973
|
|
|
906
|
-
function validate$
|
|
974
|
+
function validate$t(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
907
975
|
const v_error = (() => {
|
|
908
976
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
909
977
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -941,7 +1009,7 @@ function validate$j(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
941
1009
|
return v_error === undefined ? null : v_error;
|
|
942
1010
|
}
|
|
943
1011
|
|
|
944
|
-
function validate$
|
|
1012
|
+
function validate$s(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
945
1013
|
const v_error = (() => {
|
|
946
1014
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
947
1015
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -954,7 +1022,7 @@ function validate$i(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
954
1022
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
955
1023
|
const obj_columns_item = obj_columns[i];
|
|
956
1024
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
957
|
-
const referencepath_columns_itemValidationError = validate$
|
|
1025
|
+
const referencepath_columns_itemValidationError = validate$t(obj_columns_item, path_columns_item);
|
|
958
1026
|
if (referencepath_columns_itemValidationError !== null) {
|
|
959
1027
|
let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
960
1028
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -980,7 +1048,7 @@ function validate$i(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
980
1048
|
return v_error === undefined ? null : v_error;
|
|
981
1049
|
}
|
|
982
1050
|
|
|
983
|
-
function validate$
|
|
1051
|
+
function validate$r(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
|
|
984
1052
|
const v_error = (() => {
|
|
985
1053
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
986
1054
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -993,7 +1061,7 @@ function validate$h(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
993
1061
|
for (let i = 0; i < obj_tableConfigs.length; i++) {
|
|
994
1062
|
const obj_tableConfigs_item = obj_tableConfigs[i];
|
|
995
1063
|
const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
|
|
996
|
-
const referencepath_tableConfigs_itemValidationError = validate$
|
|
1064
|
+
const referencepath_tableConfigs_itemValidationError = validate$s(obj_tableConfigs_item, path_tableConfigs_item);
|
|
997
1065
|
if (referencepath_tableConfigs_itemValidationError !== null) {
|
|
998
1066
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
|
|
999
1067
|
message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1004,7 +1072,21 @@ function validate$h(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
1004
1072
|
return v_error === undefined ? null : v_error;
|
|
1005
1073
|
}
|
|
1006
1074
|
|
|
1007
|
-
function validate$
|
|
1075
|
+
function validate$q(obj, path = 'DataCleanRoomUsecaseConfigInputRepresentation') {
|
|
1076
|
+
const v_error = (() => {
|
|
1077
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1078
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1079
|
+
}
|
|
1080
|
+
const obj_useCaseType = obj.useCaseType;
|
|
1081
|
+
const path_useCaseType = path + '.useCaseType';
|
|
1082
|
+
if (typeof obj_useCaseType !== 'string') {
|
|
1083
|
+
return new TypeError('Expected "string" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
|
|
1084
|
+
}
|
|
1085
|
+
})();
|
|
1086
|
+
return v_error === undefined ? null : v_error;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
1008
1090
|
const v_error = (() => {
|
|
1009
1091
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1010
1092
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1021,7 +1103,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1021
1103
|
}
|
|
1022
1104
|
const obj_queries = obj.queries;
|
|
1023
1105
|
const path_queries = path + '.queries';
|
|
1024
|
-
const referencepath_queriesValidationError = validate$
|
|
1106
|
+
const referencepath_queriesValidationError = validate$u(obj_queries, path_queries);
|
|
1025
1107
|
if (referencepath_queriesValidationError !== null) {
|
|
1026
1108
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
|
|
1027
1109
|
message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1029,12 +1111,31 @@ function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1029
1111
|
}
|
|
1030
1112
|
const obj_tables = obj.tables;
|
|
1031
1113
|
const path_tables = path + '.tables';
|
|
1032
|
-
const referencepath_tablesValidationError = validate$
|
|
1114
|
+
const referencepath_tablesValidationError = validate$r(obj_tables, path_tables);
|
|
1033
1115
|
if (referencepath_tablesValidationError !== null) {
|
|
1034
1116
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
|
|
1035
1117
|
message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1036
1118
|
return new TypeError(message);
|
|
1037
1119
|
}
|
|
1120
|
+
if (obj.useCaseConfigs !== undefined) {
|
|
1121
|
+
const obj_useCaseConfigs = obj.useCaseConfigs;
|
|
1122
|
+
const path_useCaseConfigs = path + '.useCaseConfigs';
|
|
1123
|
+
if (typeof obj_useCaseConfigs !== 'object' || ArrayIsArray(obj_useCaseConfigs) || obj_useCaseConfigs === null) {
|
|
1124
|
+
return new TypeError('Expected "object" but received "' + typeof obj_useCaseConfigs + '" (at "' + path_useCaseConfigs + '")');
|
|
1125
|
+
}
|
|
1126
|
+
const obj_useCaseConfigs_keys = ObjectKeys(obj_useCaseConfigs);
|
|
1127
|
+
for (let i = 0; i < obj_useCaseConfigs_keys.length; i++) {
|
|
1128
|
+
const key = obj_useCaseConfigs_keys[i];
|
|
1129
|
+
const obj_useCaseConfigs_prop = obj_useCaseConfigs[key];
|
|
1130
|
+
const path_useCaseConfigs_prop = path_useCaseConfigs + '["' + key + '"]';
|
|
1131
|
+
const referencepath_useCaseConfigs_propValidationError = validate$q(obj_useCaseConfigs_prop, path_useCaseConfigs_prop);
|
|
1132
|
+
if (referencepath_useCaseConfigs_propValidationError !== null) {
|
|
1133
|
+
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigInputRepresentation (at "' + path_useCaseConfigs_prop + '")\n';
|
|
1134
|
+
message += referencepath_useCaseConfigs_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1135
|
+
return new TypeError(message);
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1038
1139
|
if (obj.version !== undefined) {
|
|
1039
1140
|
const obj_version = obj.version;
|
|
1040
1141
|
const path_version = path + '.version';
|
|
@@ -1046,7 +1147,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1046
1147
|
return v_error === undefined ? null : v_error;
|
|
1047
1148
|
}
|
|
1048
1149
|
|
|
1049
|
-
function validate$
|
|
1150
|
+
function validate$o(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
|
|
1050
1151
|
const v_error = (() => {
|
|
1051
1152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1052
1153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1132,12 +1233,12 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
1132
1233
|
const config = {};
|
|
1133
1234
|
typeCheckConfig$c(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
|
|
1134
1235
|
const untrustedConfig_templateJson = untrustedConfig.templateJson;
|
|
1135
|
-
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$
|
|
1236
|
+
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$p(untrustedConfig_templateJson);
|
|
1136
1237
|
if (referenceCustomUseCaseTemplateInputRepresentationValidationError === null) {
|
|
1137
1238
|
config.templateJson = untrustedConfig_templateJson;
|
|
1138
1239
|
}
|
|
1139
1240
|
const untrustedConfig_useCaseTypeConfig = untrustedConfig.useCaseTypeConfig;
|
|
1140
|
-
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$
|
|
1241
|
+
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$o(untrustedConfig_useCaseTypeConfig);
|
|
1141
1242
|
if (referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError === null) {
|
|
1142
1243
|
config.useCaseTypeConfig = untrustedConfig_useCaseTypeConfig;
|
|
1143
1244
|
}
|
|
@@ -1187,7 +1288,7 @@ const createProviderAdapterFactory = (luvio) => {
|
|
|
1187
1288
|
};
|
|
1188
1289
|
};
|
|
1189
1290
|
|
|
1190
|
-
function validate$
|
|
1291
|
+
function validate$n(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
1191
1292
|
const v_error = (() => {
|
|
1192
1293
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1193
1294
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1213,7 +1314,7 @@ function validate$e(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
|
|
|
1213
1314
|
return v_error === undefined ? null : v_error;
|
|
1214
1315
|
}
|
|
1215
1316
|
|
|
1216
|
-
function validate$
|
|
1317
|
+
function validate$m(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
1217
1318
|
const v_error = (() => {
|
|
1218
1319
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1219
1320
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1232,7 +1333,7 @@ function validate$d(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
|
|
|
1232
1333
|
return v_error === undefined ? null : v_error;
|
|
1233
1334
|
}
|
|
1234
1335
|
|
|
1235
|
-
function validate$
|
|
1336
|
+
function validate$l(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
|
|
1236
1337
|
const v_error = (() => {
|
|
1237
1338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1238
1339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1261,7 +1362,7 @@ function validate$c(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
|
|
|
1261
1362
|
return v_error === undefined ? null : v_error;
|
|
1262
1363
|
}
|
|
1263
1364
|
|
|
1264
|
-
function validate$
|
|
1365
|
+
function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
|
|
1265
1366
|
const v_error = (() => {
|
|
1266
1367
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1267
1368
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1281,7 +1382,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1281
1382
|
if (obj.createdBy !== undefined) {
|
|
1282
1383
|
const obj_createdBy = obj.createdBy;
|
|
1283
1384
|
const path_createdBy = path + '.createdBy';
|
|
1284
|
-
const referencepath_createdByValidationError = validate$
|
|
1385
|
+
const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
|
|
1285
1386
|
if (referencepath_createdByValidationError !== null) {
|
|
1286
1387
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1287
1388
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1298,7 +1399,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1298
1399
|
if (obj.dataMapping !== undefined) {
|
|
1299
1400
|
const obj_dataMapping = obj.dataMapping;
|
|
1300
1401
|
const path_dataMapping = path + '.dataMapping';
|
|
1301
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1402
|
+
const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
|
|
1302
1403
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1303
1404
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1304
1405
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1308,7 +1409,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1308
1409
|
if (obj.filterOptions !== undefined) {
|
|
1309
1410
|
const obj_filterOptions = obj.filterOptions;
|
|
1310
1411
|
const path_filterOptions = path + '.filterOptions';
|
|
1311
|
-
const referencepath_filterOptionsValidationError = validate$
|
|
1412
|
+
const referencepath_filterOptionsValidationError = validate$n(obj_filterOptions, path_filterOptions);
|
|
1312
1413
|
if (referencepath_filterOptionsValidationError !== null) {
|
|
1313
1414
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
1314
1415
|
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1332,7 +1433,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1332
1433
|
if (obj.lastModifiedBy !== undefined) {
|
|
1333
1434
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1334
1435
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1335
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1436
|
+
const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1336
1437
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1337
1438
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1338
1439
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1368,7 +1469,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1368
1469
|
for (let i = 0; i < obj_path.length; i++) {
|
|
1369
1470
|
const obj_path_item = obj_path[i];
|
|
1370
1471
|
const path_path_item = path_path + '[' + i + ']';
|
|
1371
|
-
const referencepath_path_itemValidationError = validate$
|
|
1472
|
+
const referencepath_path_itemValidationError = validate$m(obj_path_item, path_path_item);
|
|
1372
1473
|
if (referencepath_path_itemValidationError !== null) {
|
|
1373
1474
|
let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
|
|
1374
1475
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1377,7 +1478,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1377
1478
|
}
|
|
1378
1479
|
const obj_subjectAttribute = obj.subjectAttribute;
|
|
1379
1480
|
const path_subjectAttribute = path + '.subjectAttribute';
|
|
1380
|
-
const referencepath_subjectAttributeValidationError = validate$
|
|
1481
|
+
const referencepath_subjectAttributeValidationError = validate$l(obj_subjectAttribute, path_subjectAttribute);
|
|
1381
1482
|
if (referencepath_subjectAttributeValidationError !== null) {
|
|
1382
1483
|
let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
|
|
1383
1484
|
message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1394,7 +1495,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1394
1495
|
return v_error === undefined ? null : v_error;
|
|
1395
1496
|
}
|
|
1396
1497
|
|
|
1397
|
-
function validate$
|
|
1498
|
+
function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
1398
1499
|
const v_error = (() => {
|
|
1399
1500
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1400
1501
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1407,7 +1508,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1407
1508
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1408
1509
|
const obj_attributes_item = obj_attributes[i];
|
|
1409
1510
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1410
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1511
|
+
const referencepath_attributes_itemValidationError = validate$k(obj_attributes_item, path_attributes_item);
|
|
1411
1512
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1412
1513
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
1413
1514
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1422,7 +1523,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1422
1523
|
if (obj.createdBy !== undefined) {
|
|
1423
1524
|
const obj_createdBy = obj.createdBy;
|
|
1424
1525
|
const path_createdBy = path + '.createdBy';
|
|
1425
|
-
const referencepath_createdByValidationError = validate$
|
|
1526
|
+
const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
|
|
1426
1527
|
if (referencepath_createdByValidationError !== null) {
|
|
1427
1528
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1428
1529
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1453,7 +1554,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1453
1554
|
if (obj.lastModifiedBy !== undefined) {
|
|
1454
1555
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1455
1556
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1456
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1557
|
+
const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1457
1558
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1458
1559
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1459
1560
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1492,20 +1593,285 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1492
1593
|
return v_error === undefined ? null : v_error;
|
|
1493
1594
|
}
|
|
1494
1595
|
|
|
1495
|
-
function validate$
|
|
1596
|
+
function validate$i(obj, path = 'UseCaseTemplateAttributeConfigRepresentation') {
|
|
1597
|
+
const v_error = (() => {
|
|
1598
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1599
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1600
|
+
}
|
|
1601
|
+
if (obj.alias !== undefined) {
|
|
1602
|
+
const obj_alias = obj.alias;
|
|
1603
|
+
const path_alias = path + '.alias';
|
|
1604
|
+
if (typeof obj_alias !== 'string') {
|
|
1605
|
+
return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
if (obj.defaultValue !== undefined) {
|
|
1609
|
+
const obj_defaultValue = obj.defaultValue;
|
|
1610
|
+
const path_defaultValue = path + '.defaultValue';
|
|
1611
|
+
if (typeof obj_defaultValue !== 'string') {
|
|
1612
|
+
return new TypeError('Expected "string" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
if (obj.description !== undefined) {
|
|
1616
|
+
const obj_description = obj.description;
|
|
1617
|
+
const path_description = path + '.description';
|
|
1618
|
+
if (typeof obj_description !== 'string') {
|
|
1619
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
if (obj.id !== undefined) {
|
|
1623
|
+
const obj_id = obj.id;
|
|
1624
|
+
const path_id = path + '.id';
|
|
1625
|
+
if (typeof obj_id !== 'string') {
|
|
1626
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
if (obj.label !== undefined) {
|
|
1630
|
+
const obj_label = obj.label;
|
|
1631
|
+
const path_label = path + '.label';
|
|
1632
|
+
if (typeof obj_label !== 'string') {
|
|
1633
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
if (obj.queryOptions !== undefined) {
|
|
1637
|
+
const obj_queryOptions = obj.queryOptions;
|
|
1638
|
+
const path_queryOptions = path + '.queryOptions';
|
|
1639
|
+
if (obj_queryOptions === undefined) {
|
|
1640
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_queryOptions + '" (at "' + path_queryOptions + '")');
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
if (obj.required !== undefined) {
|
|
1644
|
+
const obj_required = obj.required;
|
|
1645
|
+
const path_required = path + '.required';
|
|
1646
|
+
if (typeof obj_required !== 'boolean') {
|
|
1647
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_required + '" (at "' + path_required + '")');
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
if (obj.tableName !== undefined) {
|
|
1651
|
+
const obj_tableName = obj.tableName;
|
|
1652
|
+
const path_tableName = path + '.tableName';
|
|
1653
|
+
if (typeof obj_tableName !== 'string') {
|
|
1654
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableName + '" (at "' + path_tableName + '")');
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
if (obj.tooltip !== undefined) {
|
|
1658
|
+
const obj_tooltip = obj.tooltip;
|
|
1659
|
+
const path_tooltip = path + '.tooltip';
|
|
1660
|
+
if (typeof obj_tooltip !== 'string') {
|
|
1661
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tooltip + '" (at "' + path_tooltip + '")');
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
})();
|
|
1665
|
+
return v_error === undefined ? null : v_error;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
function validate$h(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
1669
|
+
const v_error = (() => {
|
|
1670
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1671
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1672
|
+
}
|
|
1673
|
+
if (obj.attributeConfigs !== undefined) {
|
|
1674
|
+
const obj_attributeConfigs = obj.attributeConfigs;
|
|
1675
|
+
const path_attributeConfigs = path + '.attributeConfigs';
|
|
1676
|
+
if (!ArrayIsArray(obj_attributeConfigs)) {
|
|
1677
|
+
return new TypeError('Expected "array" but received "' + typeof obj_attributeConfigs + '" (at "' + path_attributeConfigs + '")');
|
|
1678
|
+
}
|
|
1679
|
+
for (let i = 0; i < obj_attributeConfigs.length; i++) {
|
|
1680
|
+
const obj_attributeConfigs_item = obj_attributeConfigs[i];
|
|
1681
|
+
const path_attributeConfigs_item = path_attributeConfigs + '[' + i + ']';
|
|
1682
|
+
const referencepath_attributeConfigs_itemValidationError = validate$i(obj_attributeConfigs_item, path_attributeConfigs_item);
|
|
1683
|
+
if (referencepath_attributeConfigs_itemValidationError !== null) {
|
|
1684
|
+
let message = 'Object doesn\'t match UseCaseTemplateAttributeConfigRepresentation (at "' + path_attributeConfigs_item + '")\n';
|
|
1685
|
+
message += referencepath_attributeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1686
|
+
return new TypeError(message);
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
if (obj.memberType !== undefined) {
|
|
1691
|
+
const obj_memberType = obj.memberType;
|
|
1692
|
+
const path_memberType = path + '.memberType';
|
|
1693
|
+
if (obj_memberType === undefined) {
|
|
1694
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_memberType + '" (at "' + path_memberType + '")');
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
})();
|
|
1698
|
+
return v_error === undefined ? null : v_error;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
function validate$g(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
1702
|
+
const v_error = (() => {
|
|
1703
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1704
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1705
|
+
}
|
|
1706
|
+
if (obj.memberConfigs !== undefined) {
|
|
1707
|
+
const obj_memberConfigs = obj.memberConfigs;
|
|
1708
|
+
const path_memberConfigs = path + '.memberConfigs';
|
|
1709
|
+
if (!ArrayIsArray(obj_memberConfigs)) {
|
|
1710
|
+
return new TypeError('Expected "array" but received "' + typeof obj_memberConfigs + '" (at "' + path_memberConfigs + '")');
|
|
1711
|
+
}
|
|
1712
|
+
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
1713
|
+
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
1714
|
+
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
1715
|
+
const referencepath_memberConfigs_itemValidationError = validate$h(obj_memberConfigs_item, path_memberConfigs_item);
|
|
1716
|
+
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
1717
|
+
let message = 'Object doesn\'t match UseCaseTemplateMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
1718
|
+
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1719
|
+
return new TypeError(message);
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
})();
|
|
1724
|
+
return v_error === undefined ? null : v_error;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
function validate$f(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation') {
|
|
1728
|
+
const v_error = (() => {
|
|
1729
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1730
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1731
|
+
}
|
|
1732
|
+
if (obj.connectorType !== undefined) {
|
|
1733
|
+
const obj_connectorType = obj.connectorType;
|
|
1734
|
+
const path_connectorType = path + '.connectorType';
|
|
1735
|
+
if (obj_connectorType === undefined) {
|
|
1736
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
if (obj.destinationType !== undefined) {
|
|
1740
|
+
const obj_destinationType = obj.destinationType;
|
|
1741
|
+
const path_destinationType = path + '.destinationType';
|
|
1742
|
+
if (obj_destinationType === undefined) {
|
|
1743
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_destinationType + '" (at "' + path_destinationType + '")');
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
})();
|
|
1747
|
+
return v_error === undefined ? null : v_error;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
function validate$e(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation') {
|
|
1751
|
+
const v_error = (() => {
|
|
1752
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1753
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1754
|
+
}
|
|
1755
|
+
if (obj.canReceiveResult !== undefined) {
|
|
1756
|
+
const obj_canReceiveResult = obj.canReceiveResult;
|
|
1757
|
+
const path_canReceiveResult = path + '.canReceiveResult';
|
|
1758
|
+
if (typeof obj_canReceiveResult !== 'boolean') {
|
|
1759
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_canReceiveResult + '" (at "' + path_canReceiveResult + '")');
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
if (obj.canTriggerQuery !== undefined) {
|
|
1763
|
+
const obj_canTriggerQuery = obj.canTriggerQuery;
|
|
1764
|
+
const path_canTriggerQuery = path + '.canTriggerQuery';
|
|
1765
|
+
if (typeof obj_canTriggerQuery !== 'boolean') {
|
|
1766
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_canTriggerQuery + '" (at "' + path_canTriggerQuery + '")');
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
if (obj.contributesData !== undefined) {
|
|
1770
|
+
const obj_contributesData = obj.contributesData;
|
|
1771
|
+
const path_contributesData = path + '.contributesData';
|
|
1772
|
+
if (typeof obj_contributesData !== 'boolean') {
|
|
1773
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_contributesData + '" (at "' + path_contributesData + '")');
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
if (obj.outputConfig !== undefined) {
|
|
1777
|
+
const obj_outputConfig = obj.outputConfig;
|
|
1778
|
+
const path_outputConfig = path + '.outputConfig';
|
|
1779
|
+
const referencepath_outputConfigValidationError = validate$f(obj_outputConfig, path_outputConfig);
|
|
1780
|
+
if (referencepath_outputConfigValidationError !== null) {
|
|
1781
|
+
let message = 'Object doesn\'t match DataCleanRoomMetadataOutputConfigRepresentation (at "' + path_outputConfig + '")\n';
|
|
1782
|
+
message += referencepath_outputConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1783
|
+
return new TypeError(message);
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
if (obj.paysForQueries !== undefined) {
|
|
1787
|
+
const obj_paysForQueries = obj.paysForQueries;
|
|
1788
|
+
const path_paysForQueries = path + '.paysForQueries';
|
|
1789
|
+
if (typeof obj_paysForQueries !== 'boolean') {
|
|
1790
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_paysForQueries + '" (at "' + path_paysForQueries + '")');
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
if (obj.type !== undefined) {
|
|
1794
|
+
const obj_type = obj.type;
|
|
1795
|
+
const path_type = path + '.type';
|
|
1796
|
+
if (typeof obj_type !== 'string') {
|
|
1797
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
})();
|
|
1801
|
+
return v_error === undefined ? null : v_error;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
function validate$d(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
1805
|
+
const v_error = (() => {
|
|
1806
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1807
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1808
|
+
}
|
|
1809
|
+
if (obj.useCaseType !== undefined) {
|
|
1810
|
+
const obj_useCaseType = obj.useCaseType;
|
|
1811
|
+
const path_useCaseType = path + '.useCaseType';
|
|
1812
|
+
if (obj_useCaseType === undefined) {
|
|
1813
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
})();
|
|
1817
|
+
return v_error === undefined ? null : v_error;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentation') {
|
|
1496
1821
|
const v_error = (() => {
|
|
1497
1822
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1498
1823
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1499
1824
|
}
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1825
|
+
if (obj.memberConfig !== undefined) {
|
|
1826
|
+
const obj_memberConfig = obj.memberConfig;
|
|
1827
|
+
const path_memberConfig = path + '.memberConfig';
|
|
1828
|
+
if (!ArrayIsArray(obj_memberConfig)) {
|
|
1829
|
+
return new TypeError('Expected "array" but received "' + typeof obj_memberConfig + '" (at "' + path_memberConfig + '")');
|
|
1830
|
+
}
|
|
1831
|
+
for (let i = 0; i < obj_memberConfig.length; i++) {
|
|
1832
|
+
const obj_memberConfig_item = obj_memberConfig[i];
|
|
1833
|
+
const path_memberConfig_item = path_memberConfig + '[' + i + ']';
|
|
1834
|
+
const referencepath_memberConfig_itemValidationError = validate$e(obj_memberConfig_item, path_memberConfig_item);
|
|
1835
|
+
if (referencepath_memberConfig_itemValidationError !== null) {
|
|
1836
|
+
let message = 'Object doesn\'t match DataCleanRoomMetadataMemberConfigRepresentation (at "' + path_memberConfig_item + '")\n';
|
|
1837
|
+
message += referencepath_memberConfig_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1838
|
+
return new TypeError(message);
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
if (obj.usecaseConfig !== undefined) {
|
|
1843
|
+
const obj_usecaseConfig = obj.usecaseConfig;
|
|
1844
|
+
const path_usecaseConfig = path + '.usecaseConfig';
|
|
1845
|
+
const referencepath_usecaseConfigValidationError = validate$d(obj_usecaseConfig, path_usecaseConfig);
|
|
1846
|
+
if (referencepath_usecaseConfigValidationError !== null) {
|
|
1847
|
+
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigRepresentation (at "' + path_usecaseConfig + '")\n';
|
|
1848
|
+
message += referencepath_usecaseConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1849
|
+
return new TypeError(message);
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
})();
|
|
1853
|
+
return v_error === undefined ? null : v_error;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
1857
|
+
const v_error = (() => {
|
|
1858
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1859
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1860
|
+
}
|
|
1861
|
+
if (obj.configuration !== undefined) {
|
|
1862
|
+
const obj_configuration = obj.configuration;
|
|
1863
|
+
const path_configuration = path + '.configuration';
|
|
1864
|
+
const referencepath_configurationValidationError = validate$g(obj_configuration, path_configuration);
|
|
1865
|
+
if (referencepath_configurationValidationError !== null) {
|
|
1866
|
+
let message = 'Object doesn\'t match UseCaseTemplateConfigRepresentation (at "' + path_configuration + '")\n';
|
|
1867
|
+
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1868
|
+
return new TypeError(message);
|
|
1869
|
+
}
|
|
1504
1870
|
}
|
|
1505
1871
|
if (obj.createdBy !== undefined) {
|
|
1506
1872
|
const obj_createdBy = obj.createdBy;
|
|
1507
1873
|
const path_createdBy = path + '.createdBy';
|
|
1508
|
-
const referencepath_createdByValidationError = validate$
|
|
1874
|
+
const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
|
|
1509
1875
|
if (referencepath_createdByValidationError !== null) {
|
|
1510
1876
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1511
1877
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1541,7 +1907,7 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1541
1907
|
if (obj.lastModifiedBy !== undefined) {
|
|
1542
1908
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1543
1909
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1544
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1910
|
+
const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1545
1911
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1546
1912
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1547
1913
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1555,6 +1921,16 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1555
1921
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
1556
1922
|
}
|
|
1557
1923
|
}
|
|
1924
|
+
if (obj.metadataConfiguration !== undefined) {
|
|
1925
|
+
const obj_metadataConfiguration = obj.metadataConfiguration;
|
|
1926
|
+
const path_metadataConfiguration = path + '.metadataConfiguration';
|
|
1927
|
+
const referencepath_metadataConfigurationValidationError = validate$c(obj_metadataConfiguration, path_metadataConfiguration);
|
|
1928
|
+
if (referencepath_metadataConfigurationValidationError !== null) {
|
|
1929
|
+
let message = 'Object doesn\'t match DataCleanRoomMetadataConfigurationRepresentation (at "' + path_metadataConfiguration + '")\n';
|
|
1930
|
+
message += referencepath_metadataConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1931
|
+
return new TypeError(message);
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1558
1934
|
if (obj.name !== undefined) {
|
|
1559
1935
|
const obj_name = obj.name;
|
|
1560
1936
|
const path_name = path + '.name';
|
|
@@ -1614,7 +1990,7 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1614
1990
|
}
|
|
1615
1991
|
|
|
1616
1992
|
const VERSION$7 = "d45438ed7dbe4f9f483ef33b3d47863e";
|
|
1617
|
-
function validate$
|
|
1993
|
+
function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1618
1994
|
const v_error = (() => {
|
|
1619
1995
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1620
1996
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1622,7 +1998,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1622
1998
|
if (obj.createdBy !== undefined) {
|
|
1623
1999
|
const obj_createdBy = obj.createdBy;
|
|
1624
2000
|
const path_createdBy = path + '.createdBy';
|
|
1625
|
-
const referencepath_createdByValidationError = validate$
|
|
2001
|
+
const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
|
|
1626
2002
|
if (referencepath_createdByValidationError !== null) {
|
|
1627
2003
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1628
2004
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1638,7 +2014,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1638
2014
|
}
|
|
1639
2015
|
const obj_dataMapping = obj.dataMapping;
|
|
1640
2016
|
const path_dataMapping = path + '.dataMapping';
|
|
1641
|
-
const referencepath_dataMappingValidationError = validate$
|
|
2017
|
+
const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
|
|
1642
2018
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1643
2019
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1644
2020
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1680,7 +2056,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1680
2056
|
if (obj.lastModifiedBy !== undefined) {
|
|
1681
2057
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1682
2058
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1683
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2059
|
+
const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1684
2060
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1685
2061
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1686
2062
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1735,7 +2111,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1735
2111
|
if (obj.templateVersion !== undefined) {
|
|
1736
2112
|
const obj_templateVersion = obj.templateVersion;
|
|
1737
2113
|
const path_templateVersion = path + '.templateVersion';
|
|
1738
|
-
const referencepath_templateVersionValidationError = validate$
|
|
2114
|
+
const referencepath_templateVersionValidationError = validate$b(obj_templateVersion, path_templateVersion);
|
|
1739
2115
|
if (referencepath_templateVersionValidationError !== null) {
|
|
1740
2116
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1741
2117
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1781,7 +2157,7 @@ function equals$7(existing, incoming) {
|
|
|
1781
2157
|
}
|
|
1782
2158
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1783
2159
|
if (process.env.NODE_ENV !== 'production') {
|
|
1784
|
-
const validateError = validate$
|
|
2160
|
+
const validateError = validate$a(input);
|
|
1785
2161
|
if (validateError !== null) {
|
|
1786
2162
|
throw validateError;
|
|
1787
2163
|
}
|
|
@@ -1802,7 +2178,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1802
2178
|
}
|
|
1803
2179
|
|
|
1804
2180
|
const VERSION$6 = "6fb37e337652e88218f2171d1e56647b";
|
|
1805
|
-
function validate$
|
|
2181
|
+
function validate$9(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
|
|
1806
2182
|
const v_error = (() => {
|
|
1807
2183
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1808
2184
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1996,7 +2372,7 @@ function equals$6(existing, incoming) {
|
|
|
1996
2372
|
}
|
|
1997
2373
|
const ingest$6 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1998
2374
|
if (process.env.NODE_ENV !== 'production') {
|
|
1999
|
-
const validateError = validate$
|
|
2375
|
+
const validateError = validate$9(input);
|
|
2000
2376
|
if (validateError !== null) {
|
|
2001
2377
|
throw validateError;
|
|
2002
2378
|
}
|
|
@@ -2257,7 +2633,7 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
2257
2633
|
};
|
|
2258
2634
|
};
|
|
2259
2635
|
|
|
2260
|
-
function validate$
|
|
2636
|
+
function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
2261
2637
|
const v_error = (() => {
|
|
2262
2638
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2263
2639
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2302,7 +2678,7 @@ function validate$6(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
2302
2678
|
}
|
|
2303
2679
|
|
|
2304
2680
|
const VERSION$5 = "cc5736f976c7c58026dd19879ac57f5c";
|
|
2305
|
-
function validate$
|
|
2681
|
+
function validate$7(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
2306
2682
|
const v_error = (() => {
|
|
2307
2683
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2308
2684
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2326,7 +2702,7 @@ function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
2326
2702
|
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
2327
2703
|
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
2328
2704
|
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
2329
|
-
const referencepath_memberConfigs_itemValidationError = validate$
|
|
2705
|
+
const referencepath_memberConfigs_itemValidationError = validate$8(obj_memberConfigs_item, path_memberConfigs_item);
|
|
2330
2706
|
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
2331
2707
|
let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
2332
2708
|
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2407,7 +2783,7 @@ function equals$5(existing, incoming) {
|
|
|
2407
2783
|
}
|
|
2408
2784
|
const ingest$5 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2409
2785
|
if (process.env.NODE_ENV !== 'production') {
|
|
2410
|
-
const validateError = validate$
|
|
2786
|
+
const validateError = validate$7(input);
|
|
2411
2787
|
if (validateError !== null) {
|
|
2412
2788
|
throw validateError;
|
|
2413
2789
|
}
|
|
@@ -2428,7 +2804,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2428
2804
|
}
|
|
2429
2805
|
|
|
2430
2806
|
const VERSION$4 = "f266e94d40f966349735e07b0c5e0721";
|
|
2431
|
-
function validate$
|
|
2807
|
+
function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
2432
2808
|
const v_error = (() => {
|
|
2433
2809
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2434
2810
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2443,7 +2819,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2443
2819
|
if (obj.createdBy !== undefined) {
|
|
2444
2820
|
const obj_createdBy = obj.createdBy;
|
|
2445
2821
|
const path_createdBy = path + '.createdBy';
|
|
2446
|
-
const referencepath_createdByValidationError = validate$
|
|
2822
|
+
const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
|
|
2447
2823
|
if (referencepath_createdByValidationError !== null) {
|
|
2448
2824
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2449
2825
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2493,7 +2869,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2493
2869
|
if (obj.lastModifiedBy !== undefined) {
|
|
2494
2870
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2495
2871
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2496
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2872
|
+
const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2497
2873
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2498
2874
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2499
2875
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2515,7 +2891,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2515
2891
|
for (let i = 0; i < obj_members.length; i++) {
|
|
2516
2892
|
const obj_members_item = obj_members[i];
|
|
2517
2893
|
const path_members_item = path_members + '[' + i + ']';
|
|
2518
|
-
const referencepath_members_itemValidationError = validate$
|
|
2894
|
+
const referencepath_members_itemValidationError = validate$7(obj_members_item, path_members_item);
|
|
2519
2895
|
if (referencepath_members_itemValidationError !== null) {
|
|
2520
2896
|
let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
|
|
2521
2897
|
message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2543,7 +2919,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2543
2919
|
}
|
|
2544
2920
|
const obj_templateVersion = obj.templateVersion;
|
|
2545
2921
|
const path_templateVersion = path + '.templateVersion';
|
|
2546
|
-
const referencepath_templateVersionValidationError = validate$
|
|
2922
|
+
const referencepath_templateVersionValidationError = validate$b(obj_templateVersion, path_templateVersion);
|
|
2547
2923
|
if (referencepath_templateVersionValidationError !== null) {
|
|
2548
2924
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
2549
2925
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2588,7 +2964,7 @@ function equals$4(existing, incoming) {
|
|
|
2588
2964
|
}
|
|
2589
2965
|
const ingest$4 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2590
2966
|
if (process.env.NODE_ENV !== 'production') {
|
|
2591
|
-
const validateError = validate$
|
|
2967
|
+
const validateError = validate$6(input);
|
|
2592
2968
|
if (validateError !== null) {
|
|
2593
2969
|
throw validateError;
|
|
2594
2970
|
}
|
|
@@ -2609,7 +2985,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2609
2985
|
}
|
|
2610
2986
|
|
|
2611
2987
|
const VERSION$3 = "9e5eddaaa3330278c7aa483af5dc8d74";
|
|
2612
|
-
function validate$
|
|
2988
|
+
function validate$5(obj, path = 'DataCleanRoomCollaborationCollectionRepresentation') {
|
|
2613
2989
|
const v_error = (() => {
|
|
2614
2990
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2615
2991
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2622,7 +2998,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
|
|
|
2622
2998
|
for (let i = 0; i < obj_collaborations.length; i++) {
|
|
2623
2999
|
const obj_collaborations_item = obj_collaborations[i];
|
|
2624
3000
|
const path_collaborations_item = path_collaborations + '[' + i + ']';
|
|
2625
|
-
const referencepath_collaborations_itemValidationError = validate$
|
|
3001
|
+
const referencepath_collaborations_itemValidationError = validate$6(obj_collaborations_item, path_collaborations_item);
|
|
2626
3002
|
if (referencepath_collaborations_itemValidationError !== null) {
|
|
2627
3003
|
let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
|
|
2628
3004
|
message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2704,7 +3080,7 @@ function equals$3(existing, incoming) {
|
|
|
2704
3080
|
}
|
|
2705
3081
|
const ingest$3 = function DataCleanRoomCollaborationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2706
3082
|
if (process.env.NODE_ENV !== 'production') {
|
|
2707
|
-
const validateError = validate$
|
|
3083
|
+
const validateError = validate$5(input);
|
|
2708
3084
|
if (validateError !== null) {
|
|
2709
3085
|
throw validateError;
|
|
2710
3086
|
}
|
|
@@ -2958,7 +3334,7 @@ const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
|
|
|
2958
3334
|
};
|
|
2959
3335
|
|
|
2960
3336
|
const VERSION$2 = "779ba86cca8510319a6e95a736d88189";
|
|
2961
|
-
function validate$
|
|
3337
|
+
function validate$4(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
|
|
2962
3338
|
const v_error = (() => {
|
|
2963
3339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2964
3340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3016,7 +3392,7 @@ function validate$2(obj, path = 'DataCleanRoomTemplateCollectionRepresentation')
|
|
|
3016
3392
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
3017
3393
|
const obj_templates_item = obj_templates[i];
|
|
3018
3394
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
3019
|
-
const referencepath_templates_itemValidationError = validate$
|
|
3395
|
+
const referencepath_templates_itemValidationError = validate$b(obj_templates_item, path_templates_item);
|
|
3020
3396
|
if (referencepath_templates_itemValidationError !== null) {
|
|
3021
3397
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
3022
3398
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3053,7 +3429,7 @@ function equals$2(existing, incoming) {
|
|
|
3053
3429
|
}
|
|
3054
3430
|
const ingest$2 = function DataCleanRoomTemplateCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3055
3431
|
if (process.env.NODE_ENV !== 'production') {
|
|
3056
|
-
const validateError = validate$
|
|
3432
|
+
const validateError = validate$4(input);
|
|
3057
3433
|
if (validateError !== null) {
|
|
3058
3434
|
throw validateError;
|
|
3059
3435
|
}
|
|
@@ -3208,6 +3584,51 @@ const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function data
|
|
|
3208
3584
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
3209
3585
|
};
|
|
3210
3586
|
|
|
3587
|
+
function validate$3(obj, path = 'DataCleanRoomConnectionAttributesRepresentation') {
|
|
3588
|
+
const v_error = (() => {
|
|
3589
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3590
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3591
|
+
}
|
|
3592
|
+
const obj_connectorType = obj.connectorType;
|
|
3593
|
+
const path_connectorType = path + '.connectorType';
|
|
3594
|
+
if (typeof obj_connectorType !== 'string') {
|
|
3595
|
+
return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
3596
|
+
}
|
|
3597
|
+
})();
|
|
3598
|
+
return v_error === undefined ? null : v_error;
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
function validate$2(obj, path = 'DataCleanRoomOutputConfigurationRepresentation') {
|
|
3602
|
+
const v_error = (() => {
|
|
3603
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3604
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3605
|
+
}
|
|
3606
|
+
if (obj.connectionAttributes !== undefined) {
|
|
3607
|
+
const obj_connectionAttributes = obj.connectionAttributes;
|
|
3608
|
+
const path_connectionAttributes = path + '.connectionAttributes';
|
|
3609
|
+
const referencepath_connectionAttributesValidationError = validate$3(obj_connectionAttributes, path_connectionAttributes);
|
|
3610
|
+
if (referencepath_connectionAttributesValidationError !== null) {
|
|
3611
|
+
let message = 'Object doesn\'t match DataCleanRoomConnectionAttributesRepresentation (at "' + path_connectionAttributes + '")\n';
|
|
3612
|
+
message += referencepath_connectionAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3613
|
+
return new TypeError(message);
|
|
3614
|
+
}
|
|
3615
|
+
}
|
|
3616
|
+
if (obj.externalId !== undefined) {
|
|
3617
|
+
const obj_externalId = obj.externalId;
|
|
3618
|
+
const path_externalId = path + '.externalId';
|
|
3619
|
+
if (typeof obj_externalId !== 'string') {
|
|
3620
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
3621
|
+
}
|
|
3622
|
+
}
|
|
3623
|
+
const obj_outputDestinationType = obj.outputDestinationType;
|
|
3624
|
+
const path_outputDestinationType = path + '.outputDestinationType';
|
|
3625
|
+
if (typeof obj_outputDestinationType !== 'string') {
|
|
3626
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationType + '" (at "' + path_outputDestinationType + '")');
|
|
3627
|
+
}
|
|
3628
|
+
})();
|
|
3629
|
+
return v_error === undefined ? null : v_error;
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3211
3632
|
function select$6(luvio, params) {
|
|
3212
3633
|
return select$d();
|
|
3213
3634
|
}
|
|
@@ -3250,12 +3671,18 @@ const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
|
|
|
3250
3671
|
generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
3251
3672
|
generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
|
|
3252
3673
|
generateParamConfigMetadata('specificationId', true, 2 /* Body */, 0 /* String */),
|
|
3674
|
+
generateParamConfigMetadata('outputConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3253
3675
|
];
|
|
3254
3676
|
const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3255
3677
|
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3256
3678
|
function typeCheckConfig$4(untrustedConfig) {
|
|
3257
3679
|
const config = {};
|
|
3258
3680
|
typeCheckConfig$c(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3681
|
+
const untrustedConfig_outputConfiguration = untrustedConfig.outputConfiguration;
|
|
3682
|
+
const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$2(untrustedConfig_outputConfiguration);
|
|
3683
|
+
if (referenceDataCleanRoomOutputConfigurationRepresentationValidationError === null) {
|
|
3684
|
+
config.outputConfiguration = untrustedConfig_outputConfiguration;
|
|
3685
|
+
}
|
|
3259
3686
|
return config;
|
|
3260
3687
|
}
|
|
3261
3688
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -3407,7 +3834,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3407
3834
|
if (obj.createdBy !== undefined) {
|
|
3408
3835
|
const obj_createdBy = obj.createdBy;
|
|
3409
3836
|
const path_createdBy = path + '.createdBy';
|
|
3410
|
-
const referencepath_createdByValidationError = validate$
|
|
3837
|
+
const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
|
|
3411
3838
|
if (referencepath_createdByValidationError !== null) {
|
|
3412
3839
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3413
3840
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3457,7 +3884,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3457
3884
|
if (obj.lastModifiedBy !== undefined) {
|
|
3458
3885
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3459
3886
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3460
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3887
|
+
const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3461
3888
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3462
3889
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3463
3890
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|