@salesforce/lds-adapters-cdp-data-clean-room 1.428.0-dev2 → 1.428.0-dev20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-data-clean-room.js +251 -87
- package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsRunByCollaborationIdOrApiName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomAwsS3OutputDestinationConfigRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberConfigRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomOutputDestinationConfigRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobHistoryCollectionRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +14 -2
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomSnowflakeOutputDestinationConfigRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +244 -80
- package/src/raml/api.raml +150 -1
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$F(obj, path = 'CdpUserRepresentation') {
|
|
97
97
|
const v_error = (() => {
|
|
98
98
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
99
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -123,7 +123,7 @@ function validate$C(obj, path = 'CdpUserRepresentation') {
|
|
|
123
123
|
return v_error === undefined ? null : v_error;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
function validate$
|
|
126
|
+
function validate$E(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
127
127
|
const v_error = (() => {
|
|
128
128
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
129
129
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -147,7 +147,7 @@ function validate$B(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
const VERSION$9 = "164dc6669e5d3d9cf4de1e0546eb0476";
|
|
150
|
-
function validate$
|
|
150
|
+
function validate$D(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
151
151
|
const v_error = (() => {
|
|
152
152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
153
153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -155,7 +155,7 @@ function validate$A(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
155
155
|
if (obj.createdBy !== undefined) {
|
|
156
156
|
const obj_createdBy = obj.createdBy;
|
|
157
157
|
const path_createdBy = path + '.createdBy';
|
|
158
|
-
const referencepath_createdByValidationError = validate$
|
|
158
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
159
159
|
if (referencepath_createdByValidationError !== null) {
|
|
160
160
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
161
161
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -212,7 +212,7 @@ function validate$A(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
212
212
|
if (obj.lastModifiedBy !== undefined) {
|
|
213
213
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
214
214
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
215
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
215
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
216
216
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
217
217
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
218
218
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -313,7 +313,7 @@ function validate$A(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
313
313
|
if (obj.useCaseTypeConfig !== undefined) {
|
|
314
314
|
const obj_useCaseTypeConfig = obj.useCaseTypeConfig;
|
|
315
315
|
const path_useCaseTypeConfig = path + '.useCaseTypeConfig';
|
|
316
|
-
const referencepath_useCaseTypeConfigValidationError = validate$
|
|
316
|
+
const referencepath_useCaseTypeConfigValidationError = validate$E(obj_useCaseTypeConfig, path_useCaseTypeConfig);
|
|
317
317
|
if (referencepath_useCaseTypeConfigValidationError !== null) {
|
|
318
318
|
let message = 'Object doesn\'t match DataCleanRoomUseCaseTypeRepresentation (at "' + path_useCaseTypeConfig + '")\n';
|
|
319
319
|
message += referencepath_useCaseTypeConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -352,7 +352,7 @@ function equals$9(existing, incoming) {
|
|
|
352
352
|
}
|
|
353
353
|
const ingest$9 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
354
354
|
if (process.env.NODE_ENV !== 'production') {
|
|
355
|
-
const validateError = validate$
|
|
355
|
+
const validateError = validate$D(input);
|
|
356
356
|
if (validateError !== null) {
|
|
357
357
|
throw validateError;
|
|
358
358
|
}
|
|
@@ -373,7 +373,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
const VERSION$8 = "52237eeecd4f8f11ae22e265d9abe5ca";
|
|
376
|
-
function validate$
|
|
376
|
+
function validate$C(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
|
|
377
377
|
const v_error = (() => {
|
|
378
378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
379
379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -589,7 +589,7 @@ function equals$8(existing, incoming) {
|
|
|
589
589
|
}
|
|
590
590
|
const ingest$8 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
591
591
|
if (process.env.NODE_ENV !== 'production') {
|
|
592
|
-
const validateError = validate$
|
|
592
|
+
const validateError = validate$C(input);
|
|
593
593
|
if (validateError !== null) {
|
|
594
594
|
throw validateError;
|
|
595
595
|
}
|
|
@@ -748,7 +748,7 @@ const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dat
|
|
|
748
748
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
749
749
|
};
|
|
750
750
|
|
|
751
|
-
function validate$
|
|
751
|
+
function validate$B(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
|
|
752
752
|
const v_error = (() => {
|
|
753
753
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
754
754
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -764,7 +764,7 @@ function validate$y(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentati
|
|
|
764
764
|
return v_error === undefined ? null : v_error;
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
-
function validate$
|
|
767
|
+
function validate$A(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
768
768
|
const v_error = (() => {
|
|
769
769
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
770
770
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -788,7 +788,7 @@ function validate$x(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
|
788
788
|
return v_error === undefined ? null : v_error;
|
|
789
789
|
}
|
|
790
790
|
|
|
791
|
-
function validate$
|
|
791
|
+
function validate$z(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
|
|
792
792
|
const v_error = (() => {
|
|
793
793
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
794
794
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -801,7 +801,7 @@ function validate$w(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
801
801
|
for (let i = 0; i < obj_queryParamConfigs.length; i++) {
|
|
802
802
|
const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
|
|
803
803
|
const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
|
|
804
|
-
const referencepath_queryParamConfigs_itemValidationError = validate$
|
|
804
|
+
const referencepath_queryParamConfigs_itemValidationError = validate$A(obj_queryParamConfigs_item, path_queryParamConfigs_item);
|
|
805
805
|
if (referencepath_queryParamConfigs_itemValidationError !== null) {
|
|
806
806
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
|
|
807
807
|
message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -812,7 +812,7 @@ function validate$w(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
812
812
|
return v_error === undefined ? null : v_error;
|
|
813
813
|
}
|
|
814
814
|
|
|
815
|
-
function validate$
|
|
815
|
+
function validate$y(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
816
816
|
const v_error = (() => {
|
|
817
817
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
818
818
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -820,7 +820,7 @@ function validate$v(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
820
820
|
if (obj.analysisConfigs !== undefined) {
|
|
821
821
|
const obj_analysisConfigs = obj.analysisConfigs;
|
|
822
822
|
const path_analysisConfigs = path + '.analysisConfigs';
|
|
823
|
-
const referencepath_analysisConfigsValidationError = validate$
|
|
823
|
+
const referencepath_analysisConfigsValidationError = validate$B(obj_analysisConfigs, path_analysisConfigs);
|
|
824
824
|
if (referencepath_analysisConfigsValidationError !== null) {
|
|
825
825
|
let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
|
|
826
826
|
message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -842,7 +842,7 @@ function validate$v(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
842
842
|
const path_queryParameters = path + '.queryParameters';
|
|
843
843
|
let obj_queryParameters_union0 = null;
|
|
844
844
|
const obj_queryParameters_union0_error = (() => {
|
|
845
|
-
const referencepath_queryParametersValidationError = validate$
|
|
845
|
+
const referencepath_queryParametersValidationError = validate$z(obj_queryParameters, path_queryParameters);
|
|
846
846
|
if (referencepath_queryParametersValidationError !== null) {
|
|
847
847
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
|
|
848
848
|
message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -947,7 +947,7 @@ function validate$v(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
947
947
|
return v_error === undefined ? null : v_error;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
-
function validate$
|
|
950
|
+
function validate$x(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
|
|
951
951
|
const v_error = (() => {
|
|
952
952
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
953
953
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -960,7 +960,7 @@ function validate$u(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
960
960
|
for (let i = 0; i < obj_queryConfigs.length; i++) {
|
|
961
961
|
const obj_queryConfigs_item = obj_queryConfigs[i];
|
|
962
962
|
const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
|
|
963
|
-
const referencepath_queryConfigs_itemValidationError = validate$
|
|
963
|
+
const referencepath_queryConfigs_itemValidationError = validate$y(obj_queryConfigs_item, path_queryConfigs_item);
|
|
964
964
|
if (referencepath_queryConfigs_itemValidationError !== null) {
|
|
965
965
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
|
|
966
966
|
message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -971,7 +971,26 @@ function validate$u(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
971
971
|
return v_error === undefined ? null : v_error;
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
function validate$
|
|
974
|
+
function validate$w(obj, path = 'CustomUseCaseTemplateMatchPolicyRepresentation') {
|
|
975
|
+
const v_error = (() => {
|
|
976
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
977
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
978
|
+
}
|
|
979
|
+
const obj_alias = obj.alias;
|
|
980
|
+
const path_alias = path + '.alias';
|
|
981
|
+
if (typeof obj_alias !== 'string') {
|
|
982
|
+
return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
|
|
983
|
+
}
|
|
984
|
+
const obj_type = obj.type;
|
|
985
|
+
const path_type = path + '.type';
|
|
986
|
+
if (typeof obj_type !== 'string') {
|
|
987
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
988
|
+
}
|
|
989
|
+
})();
|
|
990
|
+
return v_error === undefined ? null : v_error;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
function validate$v(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
975
994
|
const v_error = (() => {
|
|
976
995
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
977
996
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -988,6 +1007,16 @@ function validate$t(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
988
1007
|
if (typeof obj_description !== 'string') {
|
|
989
1008
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
990
1009
|
}
|
|
1010
|
+
if (obj.matchPolicy !== undefined) {
|
|
1011
|
+
const obj_matchPolicy = obj.matchPolicy;
|
|
1012
|
+
const path_matchPolicy = path + '.matchPolicy';
|
|
1013
|
+
const referencepath_matchPolicyValidationError = validate$w(obj_matchPolicy, path_matchPolicy);
|
|
1014
|
+
if (referencepath_matchPolicyValidationError !== null) {
|
|
1015
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateMatchPolicyRepresentation (at "' + path_matchPolicy + '")\n';
|
|
1016
|
+
message += referencepath_matchPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1017
|
+
return new TypeError(message);
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
991
1020
|
const obj_name = obj.name;
|
|
992
1021
|
const path_name = path + '.name';
|
|
993
1022
|
if (typeof obj_name !== 'string') {
|
|
@@ -1009,7 +1038,7 @@ function validate$t(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
1009
1038
|
return v_error === undefined ? null : v_error;
|
|
1010
1039
|
}
|
|
1011
1040
|
|
|
1012
|
-
function validate$
|
|
1041
|
+
function validate$u(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
1013
1042
|
const v_error = (() => {
|
|
1014
1043
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1015
1044
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1022,7 +1051,7 @@ function validate$s(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
1022
1051
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
1023
1052
|
const obj_columns_item = obj_columns[i];
|
|
1024
1053
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
1025
|
-
const referencepath_columns_itemValidationError = validate$
|
|
1054
|
+
const referencepath_columns_itemValidationError = validate$v(obj_columns_item, path_columns_item);
|
|
1026
1055
|
if (referencepath_columns_itemValidationError !== null) {
|
|
1027
1056
|
let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
1028
1057
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1048,7 +1077,7 @@ function validate$s(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
1048
1077
|
return v_error === undefined ? null : v_error;
|
|
1049
1078
|
}
|
|
1050
1079
|
|
|
1051
|
-
function validate$
|
|
1080
|
+
function validate$t(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
|
|
1052
1081
|
const v_error = (() => {
|
|
1053
1082
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1054
1083
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1061,7 +1090,7 @@ function validate$r(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
1061
1090
|
for (let i = 0; i < obj_tableConfigs.length; i++) {
|
|
1062
1091
|
const obj_tableConfigs_item = obj_tableConfigs[i];
|
|
1063
1092
|
const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
|
|
1064
|
-
const referencepath_tableConfigs_itemValidationError = validate$
|
|
1093
|
+
const referencepath_tableConfigs_itemValidationError = validate$u(obj_tableConfigs_item, path_tableConfigs_item);
|
|
1065
1094
|
if (referencepath_tableConfigs_itemValidationError !== null) {
|
|
1066
1095
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
|
|
1067
1096
|
message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1072,7 +1101,7 @@ function validate$r(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
1072
1101
|
return v_error === undefined ? null : v_error;
|
|
1073
1102
|
}
|
|
1074
1103
|
|
|
1075
|
-
function validate$
|
|
1104
|
+
function validate$s(obj, path = 'DataCleanRoomUsecaseConfigInputRepresentation') {
|
|
1076
1105
|
const v_error = (() => {
|
|
1077
1106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1078
1107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1086,7 +1115,7 @@ function validate$q(obj, path = 'DataCleanRoomUsecaseConfigInputRepresentation')
|
|
|
1086
1115
|
return v_error === undefined ? null : v_error;
|
|
1087
1116
|
}
|
|
1088
1117
|
|
|
1089
|
-
function validate$
|
|
1118
|
+
function validate$r(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
1090
1119
|
const v_error = (() => {
|
|
1091
1120
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1092
1121
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1103,7 +1132,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1103
1132
|
}
|
|
1104
1133
|
const obj_queries = obj.queries;
|
|
1105
1134
|
const path_queries = path + '.queries';
|
|
1106
|
-
const referencepath_queriesValidationError = validate$
|
|
1135
|
+
const referencepath_queriesValidationError = validate$x(obj_queries, path_queries);
|
|
1107
1136
|
if (referencepath_queriesValidationError !== null) {
|
|
1108
1137
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
|
|
1109
1138
|
message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1111,7 +1140,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1111
1140
|
}
|
|
1112
1141
|
const obj_tables = obj.tables;
|
|
1113
1142
|
const path_tables = path + '.tables';
|
|
1114
|
-
const referencepath_tablesValidationError = validate$
|
|
1143
|
+
const referencepath_tablesValidationError = validate$t(obj_tables, path_tables);
|
|
1115
1144
|
if (referencepath_tablesValidationError !== null) {
|
|
1116
1145
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
|
|
1117
1146
|
message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1128,7 +1157,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1128
1157
|
const key = obj_useCaseConfigs_keys[i];
|
|
1129
1158
|
const obj_useCaseConfigs_prop = obj_useCaseConfigs[key];
|
|
1130
1159
|
const path_useCaseConfigs_prop = path_useCaseConfigs + '["' + key + '"]';
|
|
1131
|
-
const referencepath_useCaseConfigs_propValidationError = validate$
|
|
1160
|
+
const referencepath_useCaseConfigs_propValidationError = validate$s(obj_useCaseConfigs_prop, path_useCaseConfigs_prop);
|
|
1132
1161
|
if (referencepath_useCaseConfigs_propValidationError !== null) {
|
|
1133
1162
|
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigInputRepresentation (at "' + path_useCaseConfigs_prop + '")\n';
|
|
1134
1163
|
message += referencepath_useCaseConfigs_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1147,7 +1176,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1147
1176
|
return v_error === undefined ? null : v_error;
|
|
1148
1177
|
}
|
|
1149
1178
|
|
|
1150
|
-
function validate$
|
|
1179
|
+
function validate$q(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
|
|
1151
1180
|
const v_error = (() => {
|
|
1152
1181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1153
1182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1233,12 +1262,12 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
1233
1262
|
const config = {};
|
|
1234
1263
|
typeCheckConfig$c(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
|
|
1235
1264
|
const untrustedConfig_templateJson = untrustedConfig.templateJson;
|
|
1236
|
-
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$
|
|
1265
|
+
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$r(untrustedConfig_templateJson);
|
|
1237
1266
|
if (referenceCustomUseCaseTemplateInputRepresentationValidationError === null) {
|
|
1238
1267
|
config.templateJson = untrustedConfig_templateJson;
|
|
1239
1268
|
}
|
|
1240
1269
|
const untrustedConfig_useCaseTypeConfig = untrustedConfig.useCaseTypeConfig;
|
|
1241
|
-
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$
|
|
1270
|
+
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$q(untrustedConfig_useCaseTypeConfig);
|
|
1242
1271
|
if (referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError === null) {
|
|
1243
1272
|
config.useCaseTypeConfig = untrustedConfig_useCaseTypeConfig;
|
|
1244
1273
|
}
|
|
@@ -1288,7 +1317,7 @@ const createProviderAdapterFactory = (luvio) => {
|
|
|
1288
1317
|
};
|
|
1289
1318
|
};
|
|
1290
1319
|
|
|
1291
|
-
function validate$
|
|
1320
|
+
function validate$p(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
1292
1321
|
const v_error = (() => {
|
|
1293
1322
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1294
1323
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1314,7 +1343,7 @@ function validate$n(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
|
|
|
1314
1343
|
return v_error === undefined ? null : v_error;
|
|
1315
1344
|
}
|
|
1316
1345
|
|
|
1317
|
-
function validate$
|
|
1346
|
+
function validate$o(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
1318
1347
|
const v_error = (() => {
|
|
1319
1348
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1320
1349
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1333,7 +1362,7 @@ function validate$m(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
|
|
|
1333
1362
|
return v_error === undefined ? null : v_error;
|
|
1334
1363
|
}
|
|
1335
1364
|
|
|
1336
|
-
function validate$
|
|
1365
|
+
function validate$n(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
|
|
1337
1366
|
const v_error = (() => {
|
|
1338
1367
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1339
1368
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1362,7 +1391,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
|
|
|
1362
1391
|
return v_error === undefined ? null : v_error;
|
|
1363
1392
|
}
|
|
1364
1393
|
|
|
1365
|
-
function validate$
|
|
1394
|
+
function validate$m(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
|
|
1366
1395
|
const v_error = (() => {
|
|
1367
1396
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1368
1397
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1382,7 +1411,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1382
1411
|
if (obj.createdBy !== undefined) {
|
|
1383
1412
|
const obj_createdBy = obj.createdBy;
|
|
1384
1413
|
const path_createdBy = path + '.createdBy';
|
|
1385
|
-
const referencepath_createdByValidationError = validate$
|
|
1414
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
1386
1415
|
if (referencepath_createdByValidationError !== null) {
|
|
1387
1416
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1388
1417
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1399,7 +1428,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1399
1428
|
if (obj.dataMapping !== undefined) {
|
|
1400
1429
|
const obj_dataMapping = obj.dataMapping;
|
|
1401
1430
|
const path_dataMapping = path + '.dataMapping';
|
|
1402
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1431
|
+
const referencepath_dataMappingValidationError = validate$l(obj_dataMapping, path_dataMapping);
|
|
1403
1432
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1404
1433
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1405
1434
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1409,7 +1438,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1409
1438
|
if (obj.filterOptions !== undefined) {
|
|
1410
1439
|
const obj_filterOptions = obj.filterOptions;
|
|
1411
1440
|
const path_filterOptions = path + '.filterOptions';
|
|
1412
|
-
const referencepath_filterOptionsValidationError = validate$
|
|
1441
|
+
const referencepath_filterOptionsValidationError = validate$p(obj_filterOptions, path_filterOptions);
|
|
1413
1442
|
if (referencepath_filterOptionsValidationError !== null) {
|
|
1414
1443
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
1415
1444
|
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1433,7 +1462,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1433
1462
|
if (obj.lastModifiedBy !== undefined) {
|
|
1434
1463
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1435
1464
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1436
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1465
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1437
1466
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1438
1467
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1439
1468
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1469,7 +1498,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1469
1498
|
for (let i = 0; i < obj_path.length; i++) {
|
|
1470
1499
|
const obj_path_item = obj_path[i];
|
|
1471
1500
|
const path_path_item = path_path + '[' + i + ']';
|
|
1472
|
-
const referencepath_path_itemValidationError = validate$
|
|
1501
|
+
const referencepath_path_itemValidationError = validate$o(obj_path_item, path_path_item);
|
|
1473
1502
|
if (referencepath_path_itemValidationError !== null) {
|
|
1474
1503
|
let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
|
|
1475
1504
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1478,7 +1507,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1478
1507
|
}
|
|
1479
1508
|
const obj_subjectAttribute = obj.subjectAttribute;
|
|
1480
1509
|
const path_subjectAttribute = path + '.subjectAttribute';
|
|
1481
|
-
const referencepath_subjectAttributeValidationError = validate$
|
|
1510
|
+
const referencepath_subjectAttributeValidationError = validate$n(obj_subjectAttribute, path_subjectAttribute);
|
|
1482
1511
|
if (referencepath_subjectAttributeValidationError !== null) {
|
|
1483
1512
|
let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
|
|
1484
1513
|
message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1495,7 +1524,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1495
1524
|
return v_error === undefined ? null : v_error;
|
|
1496
1525
|
}
|
|
1497
1526
|
|
|
1498
|
-
function validate$
|
|
1527
|
+
function validate$l(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
1499
1528
|
const v_error = (() => {
|
|
1500
1529
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1501
1530
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1508,7 +1537,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1508
1537
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1509
1538
|
const obj_attributes_item = obj_attributes[i];
|
|
1510
1539
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1511
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1540
|
+
const referencepath_attributes_itemValidationError = validate$m(obj_attributes_item, path_attributes_item);
|
|
1512
1541
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1513
1542
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
1514
1543
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1523,7 +1552,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1523
1552
|
if (obj.createdBy !== undefined) {
|
|
1524
1553
|
const obj_createdBy = obj.createdBy;
|
|
1525
1554
|
const path_createdBy = path + '.createdBy';
|
|
1526
|
-
const referencepath_createdByValidationError = validate$
|
|
1555
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
1527
1556
|
if (referencepath_createdByValidationError !== null) {
|
|
1528
1557
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1529
1558
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1554,7 +1583,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1554
1583
|
if (obj.lastModifiedBy !== undefined) {
|
|
1555
1584
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1556
1585
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1557
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1586
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1558
1587
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1559
1588
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1560
1589
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1593,7 +1622,26 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1593
1622
|
return v_error === undefined ? null : v_error;
|
|
1594
1623
|
}
|
|
1595
1624
|
|
|
1596
|
-
function validate$
|
|
1625
|
+
function validate$k(obj, path = 'UseCaseTemplateMatchPolicyRepresentation') {
|
|
1626
|
+
const v_error = (() => {
|
|
1627
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1628
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1629
|
+
}
|
|
1630
|
+
const obj_alias = obj.alias;
|
|
1631
|
+
const path_alias = path + '.alias';
|
|
1632
|
+
if (typeof obj_alias !== 'string') {
|
|
1633
|
+
return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
|
|
1634
|
+
}
|
|
1635
|
+
const obj_type = obj.type;
|
|
1636
|
+
const path_type = path + '.type';
|
|
1637
|
+
if (typeof obj_type !== 'string') {
|
|
1638
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
1639
|
+
}
|
|
1640
|
+
})();
|
|
1641
|
+
return v_error === undefined ? null : v_error;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
function validate$j(obj, path = 'UseCaseTemplateAttributeConfigRepresentation') {
|
|
1597
1645
|
const v_error = (() => {
|
|
1598
1646
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1599
1647
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1633,6 +1681,16 @@ function validate$i(obj, path = 'UseCaseTemplateAttributeConfigRepresentation')
|
|
|
1633
1681
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1634
1682
|
}
|
|
1635
1683
|
}
|
|
1684
|
+
if (obj.matchPolicy !== undefined) {
|
|
1685
|
+
const obj_matchPolicy = obj.matchPolicy;
|
|
1686
|
+
const path_matchPolicy = path + '.matchPolicy';
|
|
1687
|
+
const referencepath_matchPolicyValidationError = validate$k(obj_matchPolicy, path_matchPolicy);
|
|
1688
|
+
if (referencepath_matchPolicyValidationError !== null) {
|
|
1689
|
+
let message = 'Object doesn\'t match UseCaseTemplateMatchPolicyRepresentation (at "' + path_matchPolicy + '")\n';
|
|
1690
|
+
message += referencepath_matchPolicyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1691
|
+
return new TypeError(message);
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1636
1694
|
if (obj.queryOptions !== undefined) {
|
|
1637
1695
|
const obj_queryOptions = obj.queryOptions;
|
|
1638
1696
|
const path_queryOptions = path + '.queryOptions';
|
|
@@ -1665,7 +1723,7 @@ function validate$i(obj, path = 'UseCaseTemplateAttributeConfigRepresentation')
|
|
|
1665
1723
|
return v_error === undefined ? null : v_error;
|
|
1666
1724
|
}
|
|
1667
1725
|
|
|
1668
|
-
function validate$
|
|
1726
|
+
function validate$i(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
1669
1727
|
const v_error = (() => {
|
|
1670
1728
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1671
1729
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1679,7 +1737,7 @@ function validate$h(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
1679
1737
|
for (let i = 0; i < obj_attributeConfigs.length; i++) {
|
|
1680
1738
|
const obj_attributeConfigs_item = obj_attributeConfigs[i];
|
|
1681
1739
|
const path_attributeConfigs_item = path_attributeConfigs + '[' + i + ']';
|
|
1682
|
-
const referencepath_attributeConfigs_itemValidationError = validate$
|
|
1740
|
+
const referencepath_attributeConfigs_itemValidationError = validate$j(obj_attributeConfigs_item, path_attributeConfigs_item);
|
|
1683
1741
|
if (referencepath_attributeConfigs_itemValidationError !== null) {
|
|
1684
1742
|
let message = 'Object doesn\'t match UseCaseTemplateAttributeConfigRepresentation (at "' + path_attributeConfigs_item + '")\n';
|
|
1685
1743
|
message += referencepath_attributeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1698,7 +1756,7 @@ function validate$h(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
1698
1756
|
return v_error === undefined ? null : v_error;
|
|
1699
1757
|
}
|
|
1700
1758
|
|
|
1701
|
-
function validate$
|
|
1759
|
+
function validate$h(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
1702
1760
|
const v_error = (() => {
|
|
1703
1761
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1704
1762
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1712,7 +1770,7 @@ function validate$g(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
1712
1770
|
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
1713
1771
|
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
1714
1772
|
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
1715
|
-
const referencepath_memberConfigs_itemValidationError = validate$
|
|
1773
|
+
const referencepath_memberConfigs_itemValidationError = validate$i(obj_memberConfigs_item, path_memberConfigs_item);
|
|
1716
1774
|
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
1717
1775
|
let message = 'Object doesn\'t match UseCaseTemplateMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
1718
1776
|
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1724,7 +1782,7 @@ function validate$g(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
1724
1782
|
return v_error === undefined ? null : v_error;
|
|
1725
1783
|
}
|
|
1726
1784
|
|
|
1727
|
-
function validate$
|
|
1785
|
+
function validate$g(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation') {
|
|
1728
1786
|
const v_error = (() => {
|
|
1729
1787
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1730
1788
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1747,7 +1805,7 @@ function validate$f(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation
|
|
|
1747
1805
|
return v_error === undefined ? null : v_error;
|
|
1748
1806
|
}
|
|
1749
1807
|
|
|
1750
|
-
function validate$
|
|
1808
|
+
function validate$f(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation') {
|
|
1751
1809
|
const v_error = (() => {
|
|
1752
1810
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1753
1811
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1776,7 +1834,7 @@ function validate$e(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
1776
1834
|
if (obj.outputConfig !== undefined) {
|
|
1777
1835
|
const obj_outputConfig = obj.outputConfig;
|
|
1778
1836
|
const path_outputConfig = path + '.outputConfig';
|
|
1779
|
-
const referencepath_outputConfigValidationError = validate$
|
|
1837
|
+
const referencepath_outputConfigValidationError = validate$g(obj_outputConfig, path_outputConfig);
|
|
1780
1838
|
if (referencepath_outputConfigValidationError !== null) {
|
|
1781
1839
|
let message = 'Object doesn\'t match DataCleanRoomMetadataOutputConfigRepresentation (at "' + path_outputConfig + '")\n';
|
|
1782
1840
|
message += referencepath_outputConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1801,7 +1859,7 @@ function validate$e(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
1801
1859
|
return v_error === undefined ? null : v_error;
|
|
1802
1860
|
}
|
|
1803
1861
|
|
|
1804
|
-
function validate$
|
|
1862
|
+
function validate$e(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
1805
1863
|
const v_error = (() => {
|
|
1806
1864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1807
1865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1817,7 +1875,7 @@ function validate$d(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
|
1817
1875
|
return v_error === undefined ? null : v_error;
|
|
1818
1876
|
}
|
|
1819
1877
|
|
|
1820
|
-
function validate$
|
|
1878
|
+
function validate$d(obj, path = 'DataCleanRoomMetadataConfigurationRepresentation') {
|
|
1821
1879
|
const v_error = (() => {
|
|
1822
1880
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1823
1881
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1831,7 +1889,7 @@ function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
1831
1889
|
for (let i = 0; i < obj_memberConfig.length; i++) {
|
|
1832
1890
|
const obj_memberConfig_item = obj_memberConfig[i];
|
|
1833
1891
|
const path_memberConfig_item = path_memberConfig + '[' + i + ']';
|
|
1834
|
-
const referencepath_memberConfig_itemValidationError = validate$
|
|
1892
|
+
const referencepath_memberConfig_itemValidationError = validate$f(obj_memberConfig_item, path_memberConfig_item);
|
|
1835
1893
|
if (referencepath_memberConfig_itemValidationError !== null) {
|
|
1836
1894
|
let message = 'Object doesn\'t match DataCleanRoomMetadataMemberConfigRepresentation (at "' + path_memberConfig_item + '")\n';
|
|
1837
1895
|
message += referencepath_memberConfig_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1842,7 +1900,7 @@ function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
1842
1900
|
if (obj.usecaseConfig !== undefined) {
|
|
1843
1901
|
const obj_usecaseConfig = obj.usecaseConfig;
|
|
1844
1902
|
const path_usecaseConfig = path + '.usecaseConfig';
|
|
1845
|
-
const referencepath_usecaseConfigValidationError = validate$
|
|
1903
|
+
const referencepath_usecaseConfigValidationError = validate$e(obj_usecaseConfig, path_usecaseConfig);
|
|
1846
1904
|
if (referencepath_usecaseConfigValidationError !== null) {
|
|
1847
1905
|
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigRepresentation (at "' + path_usecaseConfig + '")\n';
|
|
1848
1906
|
message += referencepath_usecaseConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1853,7 +1911,7 @@ function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
1853
1911
|
return v_error === undefined ? null : v_error;
|
|
1854
1912
|
}
|
|
1855
1913
|
|
|
1856
|
-
function validate$
|
|
1914
|
+
function validate$c(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
1857
1915
|
const v_error = (() => {
|
|
1858
1916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1859
1917
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1861,7 +1919,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1861
1919
|
if (obj.configuration !== undefined) {
|
|
1862
1920
|
const obj_configuration = obj.configuration;
|
|
1863
1921
|
const path_configuration = path + '.configuration';
|
|
1864
|
-
const referencepath_configurationValidationError = validate$
|
|
1922
|
+
const referencepath_configurationValidationError = validate$h(obj_configuration, path_configuration);
|
|
1865
1923
|
if (referencepath_configurationValidationError !== null) {
|
|
1866
1924
|
let message = 'Object doesn\'t match UseCaseTemplateConfigRepresentation (at "' + path_configuration + '")\n';
|
|
1867
1925
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1871,7 +1929,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1871
1929
|
if (obj.createdBy !== undefined) {
|
|
1872
1930
|
const obj_createdBy = obj.createdBy;
|
|
1873
1931
|
const path_createdBy = path + '.createdBy';
|
|
1874
|
-
const referencepath_createdByValidationError = validate$
|
|
1932
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
1875
1933
|
if (referencepath_createdByValidationError !== null) {
|
|
1876
1934
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1877
1935
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1907,7 +1965,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1907
1965
|
if (obj.lastModifiedBy !== undefined) {
|
|
1908
1966
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1909
1967
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1910
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1968
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1911
1969
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1912
1970
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1913
1971
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1924,7 +1982,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1924
1982
|
if (obj.metadataConfiguration !== undefined) {
|
|
1925
1983
|
const obj_metadataConfiguration = obj.metadataConfiguration;
|
|
1926
1984
|
const path_metadataConfiguration = path + '.metadataConfiguration';
|
|
1927
|
-
const referencepath_metadataConfigurationValidationError = validate$
|
|
1985
|
+
const referencepath_metadataConfigurationValidationError = validate$d(obj_metadataConfiguration, path_metadataConfiguration);
|
|
1928
1986
|
if (referencepath_metadataConfigurationValidationError !== null) {
|
|
1929
1987
|
let message = 'Object doesn\'t match DataCleanRoomMetadataConfigurationRepresentation (at "' + path_metadataConfiguration + '")\n';
|
|
1930
1988
|
message += referencepath_metadataConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1989,8 +2047,8 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1989
2047
|
return v_error === undefined ? null : v_error;
|
|
1990
2048
|
}
|
|
1991
2049
|
|
|
1992
|
-
const VERSION$7 = "
|
|
1993
|
-
function validate$
|
|
2050
|
+
const VERSION$7 = "daebc7b4442bf99b4d4b2a733554b01e";
|
|
2051
|
+
function validate$b(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1994
2052
|
const v_error = (() => {
|
|
1995
2053
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1996
2054
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1998,7 +2056,7 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1998
2056
|
if (obj.createdBy !== undefined) {
|
|
1999
2057
|
const obj_createdBy = obj.createdBy;
|
|
2000
2058
|
const path_createdBy = path + '.createdBy';
|
|
2001
|
-
const referencepath_createdByValidationError = validate$
|
|
2059
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
2002
2060
|
if (referencepath_createdByValidationError !== null) {
|
|
2003
2061
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2004
2062
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2014,7 +2072,7 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
2014
2072
|
}
|
|
2015
2073
|
const obj_dataMapping = obj.dataMapping;
|
|
2016
2074
|
const path_dataMapping = path + '.dataMapping';
|
|
2017
|
-
const referencepath_dataMappingValidationError = validate$
|
|
2075
|
+
const referencepath_dataMappingValidationError = validate$l(obj_dataMapping, path_dataMapping);
|
|
2018
2076
|
if (referencepath_dataMappingValidationError !== null) {
|
|
2019
2077
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
2020
2078
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2056,7 +2114,7 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
2056
2114
|
if (obj.lastModifiedBy !== undefined) {
|
|
2057
2115
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2058
2116
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2059
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2117
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2060
2118
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2061
2119
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2062
2120
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2111,13 +2169,30 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
2111
2169
|
if (obj.templateVersion !== undefined) {
|
|
2112
2170
|
const obj_templateVersion = obj.templateVersion;
|
|
2113
2171
|
const path_templateVersion = path + '.templateVersion';
|
|
2114
|
-
const referencepath_templateVersionValidationError = validate$
|
|
2172
|
+
const referencepath_templateVersionValidationError = validate$c(obj_templateVersion, path_templateVersion);
|
|
2115
2173
|
if (referencepath_templateVersionValidationError !== null) {
|
|
2116
2174
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
2117
2175
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2118
2176
|
return new TypeError(message);
|
|
2119
2177
|
}
|
|
2120
2178
|
}
|
|
2179
|
+
if (obj.templateVersions !== undefined) {
|
|
2180
|
+
const obj_templateVersions = obj.templateVersions;
|
|
2181
|
+
const path_templateVersions = path + '.templateVersions';
|
|
2182
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
2183
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
2184
|
+
}
|
|
2185
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
2186
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
2187
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
2188
|
+
const referencepath_templateVersions_itemValidationError = validate$c(obj_templateVersions_item, path_templateVersions_item);
|
|
2189
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
2190
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
2191
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2192
|
+
return new TypeError(message);
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2121
2196
|
if (obj.url !== undefined) {
|
|
2122
2197
|
const obj_url = obj.url;
|
|
2123
2198
|
const path_url = path + '.url';
|
|
@@ -2157,7 +2232,7 @@ function equals$7(existing, incoming) {
|
|
|
2157
2232
|
}
|
|
2158
2233
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2159
2234
|
if (process.env.NODE_ENV !== 'production') {
|
|
2160
|
-
const validateError = validate$
|
|
2235
|
+
const validateError = validate$b(input);
|
|
2161
2236
|
if (validateError !== null) {
|
|
2162
2237
|
throw validateError;
|
|
2163
2238
|
}
|
|
@@ -2178,7 +2253,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2178
2253
|
}
|
|
2179
2254
|
|
|
2180
2255
|
const VERSION$6 = "6fb37e337652e88218f2171d1e56647b";
|
|
2181
|
-
function validate$
|
|
2256
|
+
function validate$a(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
|
|
2182
2257
|
const v_error = (() => {
|
|
2183
2258
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2184
2259
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2372,7 +2447,7 @@ function equals$6(existing, incoming) {
|
|
|
2372
2447
|
}
|
|
2373
2448
|
const ingest$6 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2374
2449
|
if (process.env.NODE_ENV !== 'production') {
|
|
2375
|
-
const validateError = validate$
|
|
2450
|
+
const validateError = validate$a(input);
|
|
2376
2451
|
if (validateError !== null) {
|
|
2377
2452
|
throw validateError;
|
|
2378
2453
|
}
|
|
@@ -2581,6 +2656,7 @@ const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
|
|
|
2581
2656
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
2582
2657
|
generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
|
|
2583
2658
|
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
2659
|
+
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
2584
2660
|
];
|
|
2585
2661
|
const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
2586
2662
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
@@ -2633,6 +2709,20 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
2633
2709
|
};
|
|
2634
2710
|
};
|
|
2635
2711
|
|
|
2712
|
+
function validate$9(obj, path = 'DataCleanRoomOutputDestinationConfigRepresentation') {
|
|
2713
|
+
const v_error = (() => {
|
|
2714
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2715
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2716
|
+
}
|
|
2717
|
+
const obj_connectorType = obj.connectorType;
|
|
2718
|
+
const path_connectorType = path + '.connectorType';
|
|
2719
|
+
if (typeof obj_connectorType !== 'string') {
|
|
2720
|
+
return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
2721
|
+
}
|
|
2722
|
+
})();
|
|
2723
|
+
return v_error === undefined ? null : v_error;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2636
2726
|
function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
2637
2727
|
const v_error = (() => {
|
|
2638
2728
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2652,6 +2742,16 @@ function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
2652
2742
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2653
2743
|
}
|
|
2654
2744
|
}
|
|
2745
|
+
if (obj.outputDestinationConfig !== undefined) {
|
|
2746
|
+
const obj_outputDestinationConfig = obj.outputDestinationConfig;
|
|
2747
|
+
const path_outputDestinationConfig = path + '.outputDestinationConfig';
|
|
2748
|
+
const referencepath_outputDestinationConfigValidationError = validate$9(obj_outputDestinationConfig, path_outputDestinationConfig);
|
|
2749
|
+
if (referencepath_outputDestinationConfigValidationError !== null) {
|
|
2750
|
+
let message = 'Object doesn\'t match DataCleanRoomOutputDestinationConfigRepresentation (at "' + path_outputDestinationConfig + '")\n';
|
|
2751
|
+
message += referencepath_outputDestinationConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2752
|
+
return new TypeError(message);
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2655
2755
|
if (obj.outputDestinationId !== undefined) {
|
|
2656
2756
|
const obj_outputDestinationId = obj.outputDestinationId;
|
|
2657
2757
|
const path_outputDestinationId = path + '.outputDestinationId';
|
|
@@ -2677,7 +2777,7 @@ function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
2677
2777
|
return v_error === undefined ? null : v_error;
|
|
2678
2778
|
}
|
|
2679
2779
|
|
|
2680
|
-
const VERSION$5 = "
|
|
2780
|
+
const VERSION$5 = "75f0d619e9f7670351ab7ddef20f4386";
|
|
2681
2781
|
function validate$7(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
2682
2782
|
const v_error = (() => {
|
|
2683
2783
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2710,6 +2810,13 @@ function validate$7(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
2710
2810
|
}
|
|
2711
2811
|
}
|
|
2712
2812
|
}
|
|
2813
|
+
if (obj.memberDataCloudRegion !== undefined) {
|
|
2814
|
+
const obj_memberDataCloudRegion = obj.memberDataCloudRegion;
|
|
2815
|
+
const path_memberDataCloudRegion = path + '.memberDataCloudRegion';
|
|
2816
|
+
if (typeof obj_memberDataCloudRegion !== 'string') {
|
|
2817
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberDataCloudRegion + '" (at "' + path_memberDataCloudRegion + '")');
|
|
2818
|
+
}
|
|
2819
|
+
}
|
|
2713
2820
|
if (obj.memberDomainUrl !== undefined) {
|
|
2714
2821
|
const obj_memberDomainUrl = obj.memberDomainUrl;
|
|
2715
2822
|
const path_memberDomainUrl = path + '.memberDomainUrl';
|
|
@@ -2803,7 +2910,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2803
2910
|
});
|
|
2804
2911
|
}
|
|
2805
2912
|
|
|
2806
|
-
const VERSION$4 = "
|
|
2913
|
+
const VERSION$4 = "05b9af690479642651785a6a6d5e65d6";
|
|
2807
2914
|
function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
2808
2915
|
const v_error = (() => {
|
|
2809
2916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2819,7 +2926,7 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2819
2926
|
if (obj.createdBy !== undefined) {
|
|
2820
2927
|
const obj_createdBy = obj.createdBy;
|
|
2821
2928
|
const path_createdBy = path + '.createdBy';
|
|
2822
|
-
const referencepath_createdByValidationError = validate$
|
|
2929
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
2823
2930
|
if (referencepath_createdByValidationError !== null) {
|
|
2824
2931
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2825
2932
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2869,7 +2976,7 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2869
2976
|
if (obj.lastModifiedBy !== undefined) {
|
|
2870
2977
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2871
2978
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2872
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2979
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2873
2980
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2874
2981
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2875
2982
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2917,13 +3024,32 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2917
3024
|
if (typeof obj_status !== 'string') {
|
|
2918
3025
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
2919
3026
|
}
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
3027
|
+
if (obj.templateVersion !== undefined) {
|
|
3028
|
+
const obj_templateVersion = obj.templateVersion;
|
|
3029
|
+
const path_templateVersion = path + '.templateVersion';
|
|
3030
|
+
const referencepath_templateVersionValidationError = validate$c(obj_templateVersion, path_templateVersion);
|
|
3031
|
+
if (referencepath_templateVersionValidationError !== null) {
|
|
3032
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
3033
|
+
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3034
|
+
return new TypeError(message);
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
if (obj.templateVersions !== undefined) {
|
|
3038
|
+
const obj_templateVersions = obj.templateVersions;
|
|
3039
|
+
const path_templateVersions = path + '.templateVersions';
|
|
3040
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
3041
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
3042
|
+
}
|
|
3043
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
3044
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
3045
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
3046
|
+
const referencepath_templateVersions_itemValidationError = validate$c(obj_templateVersions_item, path_templateVersions_item);
|
|
3047
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
3048
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
3049
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3050
|
+
return new TypeError(message);
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
2927
3053
|
}
|
|
2928
3054
|
if (obj.url !== undefined) {
|
|
2929
3055
|
const obj_url = obj.url;
|
|
@@ -3283,6 +3409,7 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
|
|
|
3283
3409
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
3284
3410
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
3285
3411
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
3412
|
+
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
3286
3413
|
];
|
|
3287
3414
|
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
3288
3415
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
@@ -3392,7 +3519,7 @@ function validate$4(obj, path = 'DataCleanRoomTemplateCollectionRepresentation')
|
|
|
3392
3519
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
3393
3520
|
const obj_templates_item = obj_templates[i];
|
|
3394
3521
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
3395
|
-
const referencepath_templates_itemValidationError = validate$
|
|
3522
|
+
const referencepath_templates_itemValidationError = validate$c(obj_templates_item, path_templates_item);
|
|
3396
3523
|
if (referencepath_templates_itemValidationError !== null) {
|
|
3397
3524
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
3398
3525
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3673,6 +3800,7 @@ const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
|
|
|
3673
3800
|
generateParamConfigMetadata('specificationId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3674
3801
|
generateParamConfigMetadata('outputConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3675
3802
|
generateParamConfigMetadata('dataSpaceName', false, 2 /* Body */, 0 /* String */),
|
|
3803
|
+
generateParamConfigMetadata('memberDataCloudRegion', false, 2 /* Body */, 0 /* String */),
|
|
3676
3804
|
];
|
|
3677
3805
|
const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3678
3806
|
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
@@ -3826,7 +3954,7 @@ const rejectDataCleanRoomInvitationAdapterFactory = (luvio) => {
|
|
|
3826
3954
|
};
|
|
3827
3955
|
};
|
|
3828
3956
|
|
|
3829
|
-
const VERSION$1 = "
|
|
3957
|
+
const VERSION$1 = "abe725dfb62472d5268125b8043a39fa";
|
|
3830
3958
|
function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
3831
3959
|
const v_error = (() => {
|
|
3832
3960
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3842,7 +3970,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3842
3970
|
if (obj.createdBy !== undefined) {
|
|
3843
3971
|
const obj_createdBy = obj.createdBy;
|
|
3844
3972
|
const path_createdBy = path + '.createdBy';
|
|
3845
|
-
const referencepath_createdByValidationError = validate$
|
|
3973
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
3846
3974
|
if (referencepath_createdByValidationError !== null) {
|
|
3847
3975
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3848
3976
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3892,7 +4020,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3892
4020
|
if (obj.lastModifiedBy !== undefined) {
|
|
3893
4021
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3894
4022
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3895
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4023
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3896
4024
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3897
4025
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3898
4026
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3920,6 +4048,13 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3920
4048
|
return new TypeError('Expected "string" but received "' + typeof obj_outputDMOName + '" (at "' + path_outputDMOName + '")');
|
|
3921
4049
|
}
|
|
3922
4050
|
}
|
|
4051
|
+
if (obj.queryName !== undefined) {
|
|
4052
|
+
const obj_queryName = obj.queryName;
|
|
4053
|
+
const path_queryName = path + '.queryName';
|
|
4054
|
+
if (typeof obj_queryName !== 'string') {
|
|
4055
|
+
return new TypeError('Expected "string" but received "' + typeof obj_queryName + '" (at "' + path_queryName + '")');
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
3923
4058
|
if (obj.queryParam !== undefined) {
|
|
3924
4059
|
const obj_queryParam = obj.queryParam;
|
|
3925
4060
|
const path_queryParam = path + '.queryParam';
|
|
@@ -3941,6 +4076,13 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3941
4076
|
return new TypeError('Expected "string" but received "' + typeof obj_reportName + '" (at "' + path_reportName + '")');
|
|
3942
4077
|
}
|
|
3943
4078
|
}
|
|
4079
|
+
if (obj.scheduleName !== undefined) {
|
|
4080
|
+
const obj_scheduleName = obj.scheduleName;
|
|
4081
|
+
const path_scheduleName = path + '.scheduleName';
|
|
4082
|
+
if (typeof obj_scheduleName !== 'string') {
|
|
4083
|
+
return new TypeError('Expected "string" but received "' + typeof obj_scheduleName + '" (at "' + path_scheduleName + '")');
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
3944
4086
|
if (obj.segmentNames !== undefined) {
|
|
3945
4087
|
const obj_segmentNames = obj.segmentNames;
|
|
3946
4088
|
const path_segmentNames = path + '.segmentNames';
|
|
@@ -3960,6 +4102,13 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3960
4102
|
if (typeof obj_status !== 'string') {
|
|
3961
4103
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
3962
4104
|
}
|
|
4105
|
+
if (obj.templateVersionId !== undefined) {
|
|
4106
|
+
const obj_templateVersionId = obj.templateVersionId;
|
|
4107
|
+
const path_templateVersionId = path + '.templateVersionId';
|
|
4108
|
+
if (typeof obj_templateVersionId !== 'string') {
|
|
4109
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateVersionId + '" (at "' + path_templateVersionId + '")');
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
3963
4112
|
if (obj.triggeredDate !== undefined) {
|
|
3964
4113
|
const obj_triggeredDate = obj.triggeredDate;
|
|
3965
4114
|
const path_triggeredDate = path + '.triggeredDate';
|
|
@@ -3967,6 +4116,13 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3967
4116
|
return new TypeError('Expected "string" but received "' + typeof obj_triggeredDate + '" (at "' + path_triggeredDate + '")');
|
|
3968
4117
|
}
|
|
3969
4118
|
}
|
|
4119
|
+
if (obj.type !== undefined) {
|
|
4120
|
+
const obj_type = obj.type;
|
|
4121
|
+
const path_type = path + '.type';
|
|
4122
|
+
if (typeof obj_type !== 'string') {
|
|
4123
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
3970
4126
|
})();
|
|
3971
4127
|
return v_error === undefined ? null : v_error;
|
|
3972
4128
|
}
|
|
@@ -4060,6 +4216,7 @@ const adapterName$2 = 'executeDataCleanRoomQuery';
|
|
|
4060
4216
|
const executeDataCleanRoomQuery_ConfigPropertyMetadata = [
|
|
4061
4217
|
generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4062
4218
|
generateParamConfigMetadata('queryExecutionName', true, 2 /* Body */, 0 /* String */),
|
|
4219
|
+
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
4063
4220
|
generateParamConfigMetadata('segmentIds', false, 2 /* Body */, 0 /* String */, true),
|
|
4064
4221
|
generateParamConfigMetadata('queryParameters', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4065
4222
|
];
|
|
@@ -4114,7 +4271,7 @@ const executeDataCleanRoomQueryAdapterFactory = (luvio) => {
|
|
|
4114
4271
|
};
|
|
4115
4272
|
};
|
|
4116
4273
|
|
|
4117
|
-
const VERSION = "
|
|
4274
|
+
const VERSION = "406c8b91188a78aeb561c9615b2fb834";
|
|
4118
4275
|
function validate(obj, path = 'DataCleanRoomQueryJobHistoryCollectionRepresentation') {
|
|
4119
4276
|
const v_error = (() => {
|
|
4120
4277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4165,6 +4322,13 @@ function validate(obj, path = 'DataCleanRoomQueryJobHistoryCollectionRepresentat
|
|
|
4165
4322
|
if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
|
|
4166
4323
|
return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
|
|
4167
4324
|
}
|
|
4325
|
+
if (obj.queryConcurrencyLimit !== undefined) {
|
|
4326
|
+
const obj_queryConcurrencyLimit = obj.queryConcurrencyLimit;
|
|
4327
|
+
const path_queryConcurrencyLimit = path + '.queryConcurrencyLimit';
|
|
4328
|
+
if (typeof obj_queryConcurrencyLimit !== 'number' || (typeof obj_queryConcurrencyLimit === 'number' && Math.floor(obj_queryConcurrencyLimit) !== obj_queryConcurrencyLimit)) {
|
|
4329
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_queryConcurrencyLimit + '" (at "' + path_queryConcurrencyLimit + '")');
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4168
4332
|
const obj_queryJobs = obj.queryJobs;
|
|
4169
4333
|
const path_queryJobs = path + '.queryJobs';
|
|
4170
4334
|
if (!ArrayIsArray(obj_queryJobs)) {
|