@salesforce/lds-adapters-cdp-data-clean-room 1.447.1 → 1.448.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 +112 -54
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +131 -73
- package/src/raml/api.raml +33 -0
|
@@ -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$D(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$C(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$B(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$B(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$B(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$z(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$y(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$x(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$x(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$w(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$w(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$w(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$v(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$v(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$u(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$u(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$t(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$t(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$s(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$s(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$r(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$q(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$q(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$q(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$q(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$o(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$n(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$m(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$l(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$l(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$l(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$l(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$l(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$l(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$l(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$k(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$k(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$k(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,6 +1622,25 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1593
1622
|
return v_error === undefined ? null : v_error;
|
|
1594
1623
|
}
|
|
1595
1624
|
|
|
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
|
+
|
|
1596
1644
|
function validate$j(obj, path = 'UseCaseTemplateAttributeConfigRepresentation') {
|
|
1597
1645
|
const v_error = (() => {
|
|
1598
1646
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1633,6 +1681,16 @@ function validate$j(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';
|
|
@@ -1871,7 +1929,7 @@ function validate$c(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$c(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');
|
|
@@ -1998,7 +2056,7 @@ function validate$b(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$b(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$b(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');
|
|
@@ -2868,7 +2926,7 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2868
2926
|
if (obj.createdBy !== undefined) {
|
|
2869
2927
|
const obj_createdBy = obj.createdBy;
|
|
2870
2928
|
const path_createdBy = path + '.createdBy';
|
|
2871
|
-
const referencepath_createdByValidationError = validate$
|
|
2929
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
2872
2930
|
if (referencepath_createdByValidationError !== null) {
|
|
2873
2931
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2874
2932
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2918,7 +2976,7 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2918
2976
|
if (obj.lastModifiedBy !== undefined) {
|
|
2919
2977
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2920
2978
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2921
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2979
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2922
2980
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2923
2981
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2924
2982
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3912,7 +3970,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3912
3970
|
if (obj.createdBy !== undefined) {
|
|
3913
3971
|
const obj_createdBy = obj.createdBy;
|
|
3914
3972
|
const path_createdBy = path + '.createdBy';
|
|
3915
|
-
const referencepath_createdByValidationError = validate$
|
|
3973
|
+
const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
|
|
3916
3974
|
if (referencepath_createdByValidationError !== null) {
|
|
3917
3975
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3918
3976
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3962,7 +4020,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3962
4020
|
if (obj.lastModifiedBy !== undefined) {
|
|
3963
4021
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3964
4022
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3965
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4023
|
+
const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3966
4024
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3967
4025
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3968
4026
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { CustomUseCaseTemplateMatchPolicyRepresentation as CustomUseCaseTemplateMatchPolicyRepresentation_CustomUseCaseTemplateMatchPolicyRepresentation } from './CustomUseCaseTemplateMatchPolicyRepresentation';
|
|
1
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "2d218a2d73a429141f5574a45df1ce3c";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export declare function normalize(input: CustomUseCaseTemplateColumnRepresentation, existing: CustomUseCaseTemplateColumnRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomUseCaseTemplateColumnRepresentationNormalized;
|
|
@@ -18,6 +19,7 @@ export interface CustomUseCaseTemplateColumnRepresentationNormalized {
|
|
|
18
19
|
defaultValue?: string;
|
|
19
20
|
/** Description of the custom template column */
|
|
20
21
|
description: string;
|
|
22
|
+
matchPolicy?: CustomUseCaseTemplateMatchPolicyRepresentation_CustomUseCaseTemplateMatchPolicyRepresentation;
|
|
21
23
|
/** Name of the custom template column */
|
|
22
24
|
name: string;
|
|
23
25
|
/** Text displayed in the UI when the user interacts with the Info icon. */
|
|
@@ -34,6 +36,7 @@ export interface CustomUseCaseTemplateColumnRepresentationNormalized {
|
|
|
34
36
|
export interface CustomUseCaseTemplateColumnRepresentation {
|
|
35
37
|
defaultValue?: string;
|
|
36
38
|
description: string;
|
|
39
|
+
matchPolicy?: CustomUseCaseTemplateMatchPolicyRepresentation_CustomUseCaseTemplateMatchPolicyRepresentation;
|
|
37
40
|
name: string;
|
|
38
41
|
tooltip?: string;
|
|
39
42
|
type: string;
|
package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateMatchPolicyRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "ee16bb4b7d6e9e20ff40e0c689fe7328";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CustomUseCaseTemplateMatchPolicyRepresentation, existing: CustomUseCaseTemplateMatchPolicyRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomUseCaseTemplateMatchPolicyRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CustomUseCaseTemplateMatchPolicyRepresentationNormalized, incoming: CustomUseCaseTemplateMatchPolicyRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CustomUseCaseTemplateMatchPolicyRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents data clean room custom template match policy
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CustomUseCaseTemplateMatchPolicyRepresentationNormalized {
|
|
17
|
+
/** The output column name the given column has to be projected/unioned as. */
|
|
18
|
+
alias: string;
|
|
19
|
+
/** Type of the column being matched. */
|
|
20
|
+
type: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents data clean room custom template match policy
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface CustomUseCaseTemplateMatchPolicyRepresentation {
|
|
29
|
+
alias: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}
|