@salesforce/lds-adapters-cdp-data-clean-room 1.404.0-dev21 → 1.404.0-dev22
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 +109 -77
- package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +1 -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/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/DataCleanRoomSnowflakeOutputDestinationConfigRepresentation.d.ts +43 -0
- package/package.json +3 -3
- package/sfdc/index.js +38 -6
- package/src/raml/api.raml +71 -0
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$D(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$C(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$B(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$D(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$D(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$C(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$B(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$A(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$A(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$z(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$y(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$x(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$y(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$w(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$z(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$x(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$v(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$w(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,7 @@ 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$u(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
975
975
|
const v_error = (() => {
|
|
976
976
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
977
977
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1009,7 +1009,7 @@ function validate$t(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
1009
1009
|
return v_error === undefined ? null : v_error;
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
function validate$
|
|
1012
|
+
function validate$t(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
1013
1013
|
const v_error = (() => {
|
|
1014
1014
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1015
1015
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1022,7 +1022,7 @@ function validate$s(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
1022
1022
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
1023
1023
|
const obj_columns_item = obj_columns[i];
|
|
1024
1024
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
1025
|
-
const referencepath_columns_itemValidationError = validate$
|
|
1025
|
+
const referencepath_columns_itemValidationError = validate$u(obj_columns_item, path_columns_item);
|
|
1026
1026
|
if (referencepath_columns_itemValidationError !== null) {
|
|
1027
1027
|
let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
1028
1028
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1048,7 +1048,7 @@ function validate$s(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
1048
1048
|
return v_error === undefined ? null : v_error;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
-
function validate$
|
|
1051
|
+
function validate$s(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
|
|
1052
1052
|
const v_error = (() => {
|
|
1053
1053
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1054
1054
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1061,7 +1061,7 @@ function validate$r(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
1061
1061
|
for (let i = 0; i < obj_tableConfigs.length; i++) {
|
|
1062
1062
|
const obj_tableConfigs_item = obj_tableConfigs[i];
|
|
1063
1063
|
const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
|
|
1064
|
-
const referencepath_tableConfigs_itemValidationError = validate$
|
|
1064
|
+
const referencepath_tableConfigs_itemValidationError = validate$t(obj_tableConfigs_item, path_tableConfigs_item);
|
|
1065
1065
|
if (referencepath_tableConfigs_itemValidationError !== null) {
|
|
1066
1066
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
|
|
1067
1067
|
message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1072,7 +1072,7 @@ function validate$r(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
1072
1072
|
return v_error === undefined ? null : v_error;
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
-
function validate$
|
|
1075
|
+
function validate$r(obj, path = 'DataCleanRoomUsecaseConfigInputRepresentation') {
|
|
1076
1076
|
const v_error = (() => {
|
|
1077
1077
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1078
1078
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1086,7 +1086,7 @@ function validate$q(obj, path = 'DataCleanRoomUsecaseConfigInputRepresentation')
|
|
|
1086
1086
|
return v_error === undefined ? null : v_error;
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
|
-
function validate$
|
|
1089
|
+
function validate$q(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
1090
1090
|
const v_error = (() => {
|
|
1091
1091
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1092
1092
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1103,7 +1103,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
const obj_queries = obj.queries;
|
|
1105
1105
|
const path_queries = path + '.queries';
|
|
1106
|
-
const referencepath_queriesValidationError = validate$
|
|
1106
|
+
const referencepath_queriesValidationError = validate$v(obj_queries, path_queries);
|
|
1107
1107
|
if (referencepath_queriesValidationError !== null) {
|
|
1108
1108
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
|
|
1109
1109
|
message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1111,7 +1111,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
const obj_tables = obj.tables;
|
|
1113
1113
|
const path_tables = path + '.tables';
|
|
1114
|
-
const referencepath_tablesValidationError = validate$
|
|
1114
|
+
const referencepath_tablesValidationError = validate$s(obj_tables, path_tables);
|
|
1115
1115
|
if (referencepath_tablesValidationError !== null) {
|
|
1116
1116
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
|
|
1117
1117
|
message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1128,7 +1128,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1128
1128
|
const key = obj_useCaseConfigs_keys[i];
|
|
1129
1129
|
const obj_useCaseConfigs_prop = obj_useCaseConfigs[key];
|
|
1130
1130
|
const path_useCaseConfigs_prop = path_useCaseConfigs + '["' + key + '"]';
|
|
1131
|
-
const referencepath_useCaseConfigs_propValidationError = validate$
|
|
1131
|
+
const referencepath_useCaseConfigs_propValidationError = validate$r(obj_useCaseConfigs_prop, path_useCaseConfigs_prop);
|
|
1132
1132
|
if (referencepath_useCaseConfigs_propValidationError !== null) {
|
|
1133
1133
|
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigInputRepresentation (at "' + path_useCaseConfigs_prop + '")\n';
|
|
1134
1134
|
message += referencepath_useCaseConfigs_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1147,7 +1147,7 @@ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1147
1147
|
return v_error === undefined ? null : v_error;
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
1150
|
-
function validate$
|
|
1150
|
+
function validate$p(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
|
|
1151
1151
|
const v_error = (() => {
|
|
1152
1152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1153
1153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1233,12 +1233,12 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
1233
1233
|
const config = {};
|
|
1234
1234
|
typeCheckConfig$c(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
|
|
1235
1235
|
const untrustedConfig_templateJson = untrustedConfig.templateJson;
|
|
1236
|
-
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$
|
|
1236
|
+
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$q(untrustedConfig_templateJson);
|
|
1237
1237
|
if (referenceCustomUseCaseTemplateInputRepresentationValidationError === null) {
|
|
1238
1238
|
config.templateJson = untrustedConfig_templateJson;
|
|
1239
1239
|
}
|
|
1240
1240
|
const untrustedConfig_useCaseTypeConfig = untrustedConfig.useCaseTypeConfig;
|
|
1241
|
-
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$
|
|
1241
|
+
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$p(untrustedConfig_useCaseTypeConfig);
|
|
1242
1242
|
if (referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError === null) {
|
|
1243
1243
|
config.useCaseTypeConfig = untrustedConfig_useCaseTypeConfig;
|
|
1244
1244
|
}
|
|
@@ -1288,7 +1288,7 @@ const createProviderAdapterFactory = (luvio) => {
|
|
|
1288
1288
|
};
|
|
1289
1289
|
};
|
|
1290
1290
|
|
|
1291
|
-
function validate$
|
|
1291
|
+
function validate$o(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
1292
1292
|
const v_error = (() => {
|
|
1293
1293
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1294
1294
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1314,7 +1314,7 @@ function validate$n(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
|
|
|
1314
1314
|
return v_error === undefined ? null : v_error;
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
|
-
function validate$
|
|
1317
|
+
function validate$n(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
1318
1318
|
const v_error = (() => {
|
|
1319
1319
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1320
1320
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1333,7 +1333,7 @@ function validate$m(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
|
|
|
1333
1333
|
return v_error === undefined ? null : v_error;
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
|
-
function validate$
|
|
1336
|
+
function validate$m(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
|
|
1337
1337
|
const v_error = (() => {
|
|
1338
1338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1339
1339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1362,7 +1362,7 @@ function validate$l(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
|
|
|
1362
1362
|
return v_error === undefined ? null : v_error;
|
|
1363
1363
|
}
|
|
1364
1364
|
|
|
1365
|
-
function validate$
|
|
1365
|
+
function validate$l(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
|
|
1366
1366
|
const v_error = (() => {
|
|
1367
1367
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1368
1368
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1382,7 +1382,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1382
1382
|
if (obj.createdBy !== undefined) {
|
|
1383
1383
|
const obj_createdBy = obj.createdBy;
|
|
1384
1384
|
const path_createdBy = path + '.createdBy';
|
|
1385
|
-
const referencepath_createdByValidationError = validate$
|
|
1385
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
1386
1386
|
if (referencepath_createdByValidationError !== null) {
|
|
1387
1387
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1388
1388
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1399,7 +1399,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1399
1399
|
if (obj.dataMapping !== undefined) {
|
|
1400
1400
|
const obj_dataMapping = obj.dataMapping;
|
|
1401
1401
|
const path_dataMapping = path + '.dataMapping';
|
|
1402
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1402
|
+
const referencepath_dataMappingValidationError = validate$k(obj_dataMapping, path_dataMapping);
|
|
1403
1403
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1404
1404
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1405
1405
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1409,7 +1409,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1409
1409
|
if (obj.filterOptions !== undefined) {
|
|
1410
1410
|
const obj_filterOptions = obj.filterOptions;
|
|
1411
1411
|
const path_filterOptions = path + '.filterOptions';
|
|
1412
|
-
const referencepath_filterOptionsValidationError = validate$
|
|
1412
|
+
const referencepath_filterOptionsValidationError = validate$o(obj_filterOptions, path_filterOptions);
|
|
1413
1413
|
if (referencepath_filterOptionsValidationError !== null) {
|
|
1414
1414
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
1415
1415
|
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1433,7 +1433,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1433
1433
|
if (obj.lastModifiedBy !== undefined) {
|
|
1434
1434
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1435
1435
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1436
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1436
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1437
1437
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1438
1438
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1439
1439
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1469,7 +1469,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1469
1469
|
for (let i = 0; i < obj_path.length; i++) {
|
|
1470
1470
|
const obj_path_item = obj_path[i];
|
|
1471
1471
|
const path_path_item = path_path + '[' + i + ']';
|
|
1472
|
-
const referencepath_path_itemValidationError = validate$
|
|
1472
|
+
const referencepath_path_itemValidationError = validate$n(obj_path_item, path_path_item);
|
|
1473
1473
|
if (referencepath_path_itemValidationError !== null) {
|
|
1474
1474
|
let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
|
|
1475
1475
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1478,7 +1478,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1478
1478
|
}
|
|
1479
1479
|
const obj_subjectAttribute = obj.subjectAttribute;
|
|
1480
1480
|
const path_subjectAttribute = path + '.subjectAttribute';
|
|
1481
|
-
const referencepath_subjectAttributeValidationError = validate$
|
|
1481
|
+
const referencepath_subjectAttributeValidationError = validate$m(obj_subjectAttribute, path_subjectAttribute);
|
|
1482
1482
|
if (referencepath_subjectAttributeValidationError !== null) {
|
|
1483
1483
|
let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
|
|
1484
1484
|
message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1495,7 +1495,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1495
1495
|
return v_error === undefined ? null : v_error;
|
|
1496
1496
|
}
|
|
1497
1497
|
|
|
1498
|
-
function validate$
|
|
1498
|
+
function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
1499
1499
|
const v_error = (() => {
|
|
1500
1500
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1501
1501
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1508,7 +1508,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1508
1508
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1509
1509
|
const obj_attributes_item = obj_attributes[i];
|
|
1510
1510
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1511
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1511
|
+
const referencepath_attributes_itemValidationError = validate$l(obj_attributes_item, path_attributes_item);
|
|
1512
1512
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1513
1513
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
1514
1514
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1523,7 +1523,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1523
1523
|
if (obj.createdBy !== undefined) {
|
|
1524
1524
|
const obj_createdBy = obj.createdBy;
|
|
1525
1525
|
const path_createdBy = path + '.createdBy';
|
|
1526
|
-
const referencepath_createdByValidationError = validate$
|
|
1526
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
1527
1527
|
if (referencepath_createdByValidationError !== null) {
|
|
1528
1528
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1529
1529
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1554,7 +1554,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1554
1554
|
if (obj.lastModifiedBy !== undefined) {
|
|
1555
1555
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1556
1556
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1557
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1557
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1558
1558
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1559
1559
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1560
1560
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1593,7 +1593,7 @@ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1593
1593
|
return v_error === undefined ? null : v_error;
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
|
-
function validate$
|
|
1596
|
+
function validate$j(obj, path = 'UseCaseTemplateAttributeConfigRepresentation') {
|
|
1597
1597
|
const v_error = (() => {
|
|
1598
1598
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1599
1599
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1665,7 +1665,7 @@ function validate$i(obj, path = 'UseCaseTemplateAttributeConfigRepresentation')
|
|
|
1665
1665
|
return v_error === undefined ? null : v_error;
|
|
1666
1666
|
}
|
|
1667
1667
|
|
|
1668
|
-
function validate$
|
|
1668
|
+
function validate$i(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
1669
1669
|
const v_error = (() => {
|
|
1670
1670
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1671
1671
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1679,7 +1679,7 @@ function validate$h(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
1679
1679
|
for (let i = 0; i < obj_attributeConfigs.length; i++) {
|
|
1680
1680
|
const obj_attributeConfigs_item = obj_attributeConfigs[i];
|
|
1681
1681
|
const path_attributeConfigs_item = path_attributeConfigs + '[' + i + ']';
|
|
1682
|
-
const referencepath_attributeConfigs_itemValidationError = validate$
|
|
1682
|
+
const referencepath_attributeConfigs_itemValidationError = validate$j(obj_attributeConfigs_item, path_attributeConfigs_item);
|
|
1683
1683
|
if (referencepath_attributeConfigs_itemValidationError !== null) {
|
|
1684
1684
|
let message = 'Object doesn\'t match UseCaseTemplateAttributeConfigRepresentation (at "' + path_attributeConfigs_item + '")\n';
|
|
1685
1685
|
message += referencepath_attributeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1698,7 +1698,7 @@ function validate$h(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
|
|
|
1698
1698
|
return v_error === undefined ? null : v_error;
|
|
1699
1699
|
}
|
|
1700
1700
|
|
|
1701
|
-
function validate$
|
|
1701
|
+
function validate$h(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
1702
1702
|
const v_error = (() => {
|
|
1703
1703
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1704
1704
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1712,7 +1712,7 @@ function validate$g(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
1712
1712
|
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
1713
1713
|
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
1714
1714
|
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
1715
|
-
const referencepath_memberConfigs_itemValidationError = validate$
|
|
1715
|
+
const referencepath_memberConfigs_itemValidationError = validate$i(obj_memberConfigs_item, path_memberConfigs_item);
|
|
1716
1716
|
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
1717
1717
|
let message = 'Object doesn\'t match UseCaseTemplateMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
1718
1718
|
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1724,7 +1724,7 @@ function validate$g(obj, path = 'UseCaseTemplateConfigRepresentation') {
|
|
|
1724
1724
|
return v_error === undefined ? null : v_error;
|
|
1725
1725
|
}
|
|
1726
1726
|
|
|
1727
|
-
function validate$
|
|
1727
|
+
function validate$g(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation') {
|
|
1728
1728
|
const v_error = (() => {
|
|
1729
1729
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1730
1730
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1747,7 +1747,7 @@ function validate$f(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation
|
|
|
1747
1747
|
return v_error === undefined ? null : v_error;
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
|
-
function validate$
|
|
1750
|
+
function validate$f(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation') {
|
|
1751
1751
|
const v_error = (() => {
|
|
1752
1752
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1753
1753
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1776,7 +1776,7 @@ function validate$e(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
1776
1776
|
if (obj.outputConfig !== undefined) {
|
|
1777
1777
|
const obj_outputConfig = obj.outputConfig;
|
|
1778
1778
|
const path_outputConfig = path + '.outputConfig';
|
|
1779
|
-
const referencepath_outputConfigValidationError = validate$
|
|
1779
|
+
const referencepath_outputConfigValidationError = validate$g(obj_outputConfig, path_outputConfig);
|
|
1780
1780
|
if (referencepath_outputConfigValidationError !== null) {
|
|
1781
1781
|
let message = 'Object doesn\'t match DataCleanRoomMetadataOutputConfigRepresentation (at "' + path_outputConfig + '")\n';
|
|
1782
1782
|
message += referencepath_outputConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1801,7 +1801,7 @@ function validate$e(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation
|
|
|
1801
1801
|
return v_error === undefined ? null : v_error;
|
|
1802
1802
|
}
|
|
1803
1803
|
|
|
1804
|
-
function validate$
|
|
1804
|
+
function validate$e(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
1805
1805
|
const v_error = (() => {
|
|
1806
1806
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1807
1807
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1817,7 +1817,7 @@ function validate$d(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
|
|
|
1817
1817
|
return v_error === undefined ? null : v_error;
|
|
1818
1818
|
}
|
|
1819
1819
|
|
|
1820
|
-
function validate$
|
|
1820
|
+
function validate$d(obj, path = 'DataCleanRoomMetadataConfigurationRepresentation') {
|
|
1821
1821
|
const v_error = (() => {
|
|
1822
1822
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1823
1823
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1831,7 +1831,7 @@ function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
1831
1831
|
for (let i = 0; i < obj_memberConfig.length; i++) {
|
|
1832
1832
|
const obj_memberConfig_item = obj_memberConfig[i];
|
|
1833
1833
|
const path_memberConfig_item = path_memberConfig + '[' + i + ']';
|
|
1834
|
-
const referencepath_memberConfig_itemValidationError = validate$
|
|
1834
|
+
const referencepath_memberConfig_itemValidationError = validate$f(obj_memberConfig_item, path_memberConfig_item);
|
|
1835
1835
|
if (referencepath_memberConfig_itemValidationError !== null) {
|
|
1836
1836
|
let message = 'Object doesn\'t match DataCleanRoomMetadataMemberConfigRepresentation (at "' + path_memberConfig_item + '")\n';
|
|
1837
1837
|
message += referencepath_memberConfig_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1842,7 +1842,7 @@ function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
1842
1842
|
if (obj.usecaseConfig !== undefined) {
|
|
1843
1843
|
const obj_usecaseConfig = obj.usecaseConfig;
|
|
1844
1844
|
const path_usecaseConfig = path + '.usecaseConfig';
|
|
1845
|
-
const referencepath_usecaseConfigValidationError = validate$
|
|
1845
|
+
const referencepath_usecaseConfigValidationError = validate$e(obj_usecaseConfig, path_usecaseConfig);
|
|
1846
1846
|
if (referencepath_usecaseConfigValidationError !== null) {
|
|
1847
1847
|
let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigRepresentation (at "' + path_usecaseConfig + '")\n';
|
|
1848
1848
|
message += referencepath_usecaseConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1853,7 +1853,7 @@ function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentatio
|
|
|
1853
1853
|
return v_error === undefined ? null : v_error;
|
|
1854
1854
|
}
|
|
1855
1855
|
|
|
1856
|
-
function validate$
|
|
1856
|
+
function validate$c(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
1857
1857
|
const v_error = (() => {
|
|
1858
1858
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1859
1859
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1861,7 +1861,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1861
1861
|
if (obj.configuration !== undefined) {
|
|
1862
1862
|
const obj_configuration = obj.configuration;
|
|
1863
1863
|
const path_configuration = path + '.configuration';
|
|
1864
|
-
const referencepath_configurationValidationError = validate$
|
|
1864
|
+
const referencepath_configurationValidationError = validate$h(obj_configuration, path_configuration);
|
|
1865
1865
|
if (referencepath_configurationValidationError !== null) {
|
|
1866
1866
|
let message = 'Object doesn\'t match UseCaseTemplateConfigRepresentation (at "' + path_configuration + '")\n';
|
|
1867
1867
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1871,7 +1871,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1871
1871
|
if (obj.createdBy !== undefined) {
|
|
1872
1872
|
const obj_createdBy = obj.createdBy;
|
|
1873
1873
|
const path_createdBy = path + '.createdBy';
|
|
1874
|
-
const referencepath_createdByValidationError = validate$
|
|
1874
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
1875
1875
|
if (referencepath_createdByValidationError !== null) {
|
|
1876
1876
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1877
1877
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1907,7 +1907,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1907
1907
|
if (obj.lastModifiedBy !== undefined) {
|
|
1908
1908
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1909
1909
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1910
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1910
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1911
1911
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1912
1912
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1913
1913
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1924,7 +1924,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1924
1924
|
if (obj.metadataConfiguration !== undefined) {
|
|
1925
1925
|
const obj_metadataConfiguration = obj.metadataConfiguration;
|
|
1926
1926
|
const path_metadataConfiguration = path + '.metadataConfiguration';
|
|
1927
|
-
const referencepath_metadataConfigurationValidationError = validate$
|
|
1927
|
+
const referencepath_metadataConfigurationValidationError = validate$d(obj_metadataConfiguration, path_metadataConfiguration);
|
|
1928
1928
|
if (referencepath_metadataConfigurationValidationError !== null) {
|
|
1929
1929
|
let message = 'Object doesn\'t match DataCleanRoomMetadataConfigurationRepresentation (at "' + path_metadataConfiguration + '")\n';
|
|
1930
1930
|
message += referencepath_metadataConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1990,7 +1990,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
1992
|
const VERSION$7 = "838a38ab153e1dd3331fe38ec216c0ae";
|
|
1993
|
-
function validate$
|
|
1993
|
+
function validate$b(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1994
1994
|
const v_error = (() => {
|
|
1995
1995
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1996
1996
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1998,7 +1998,7 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1998
1998
|
if (obj.createdBy !== undefined) {
|
|
1999
1999
|
const obj_createdBy = obj.createdBy;
|
|
2000
2000
|
const path_createdBy = path + '.createdBy';
|
|
2001
|
-
const referencepath_createdByValidationError = validate$
|
|
2001
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
2002
2002
|
if (referencepath_createdByValidationError !== null) {
|
|
2003
2003
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2004
2004
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2014,7 +2014,7 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
2014
2014
|
}
|
|
2015
2015
|
const obj_dataMapping = obj.dataMapping;
|
|
2016
2016
|
const path_dataMapping = path + '.dataMapping';
|
|
2017
|
-
const referencepath_dataMappingValidationError = validate$
|
|
2017
|
+
const referencepath_dataMappingValidationError = validate$k(obj_dataMapping, path_dataMapping);
|
|
2018
2018
|
if (referencepath_dataMappingValidationError !== null) {
|
|
2019
2019
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
2020
2020
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2047,7 +2047,7 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
2047
2047
|
if (obj.lastModifiedBy !== undefined) {
|
|
2048
2048
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2049
2049
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2050
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2050
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2051
2051
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2052
2052
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2053
2053
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2102,7 +2102,7 @@ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
2102
2102
|
if (obj.templateVersion !== undefined) {
|
|
2103
2103
|
const obj_templateVersion = obj.templateVersion;
|
|
2104
2104
|
const path_templateVersion = path + '.templateVersion';
|
|
2105
|
-
const referencepath_templateVersionValidationError = validate$
|
|
2105
|
+
const referencepath_templateVersionValidationError = validate$c(obj_templateVersion, path_templateVersion);
|
|
2106
2106
|
if (referencepath_templateVersionValidationError !== null) {
|
|
2107
2107
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
2108
2108
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2148,7 +2148,7 @@ function equals$7(existing, incoming) {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2150
2150
|
if (process.env.NODE_ENV !== 'production') {
|
|
2151
|
-
const validateError = validate$
|
|
2151
|
+
const validateError = validate$b(input);
|
|
2152
2152
|
if (validateError !== null) {
|
|
2153
2153
|
throw validateError;
|
|
2154
2154
|
}
|
|
@@ -2169,7 +2169,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
|
|
2171
2171
|
const VERSION$6 = "6fb37e337652e88218f2171d1e56647b";
|
|
2172
|
-
function validate$
|
|
2172
|
+
function validate$a(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
|
|
2173
2173
|
const v_error = (() => {
|
|
2174
2174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2175
2175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2363,7 +2363,7 @@ function equals$6(existing, incoming) {
|
|
|
2363
2363
|
}
|
|
2364
2364
|
const ingest$6 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2365
2365
|
if (process.env.NODE_ENV !== 'production') {
|
|
2366
|
-
const validateError = validate$
|
|
2366
|
+
const validateError = validate$a(input);
|
|
2367
2367
|
if (validateError !== null) {
|
|
2368
2368
|
throw validateError;
|
|
2369
2369
|
}
|
|
@@ -2624,6 +2624,20 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
2624
2624
|
};
|
|
2625
2625
|
};
|
|
2626
2626
|
|
|
2627
|
+
function validate$9(obj, path = 'DataCleanRoomOutputDestinationConfigRepresentation') {
|
|
2628
|
+
const v_error = (() => {
|
|
2629
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2630
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2631
|
+
}
|
|
2632
|
+
const obj_connectorType = obj.connectorType;
|
|
2633
|
+
const path_connectorType = path + '.connectorType';
|
|
2634
|
+
if (typeof obj_connectorType !== 'string') {
|
|
2635
|
+
return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
2636
|
+
}
|
|
2637
|
+
})();
|
|
2638
|
+
return v_error === undefined ? null : v_error;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2627
2641
|
function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
2628
2642
|
const v_error = (() => {
|
|
2629
2643
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2643,6 +2657,16 @@ function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
2643
2657
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2644
2658
|
}
|
|
2645
2659
|
}
|
|
2660
|
+
if (obj.outputDestinationConfig !== undefined) {
|
|
2661
|
+
const obj_outputDestinationConfig = obj.outputDestinationConfig;
|
|
2662
|
+
const path_outputDestinationConfig = path + '.outputDestinationConfig';
|
|
2663
|
+
const referencepath_outputDestinationConfigValidationError = validate$9(obj_outputDestinationConfig, path_outputDestinationConfig);
|
|
2664
|
+
if (referencepath_outputDestinationConfigValidationError !== null) {
|
|
2665
|
+
let message = 'Object doesn\'t match DataCleanRoomOutputDestinationConfigRepresentation (at "' + path_outputDestinationConfig + '")\n';
|
|
2666
|
+
message += referencepath_outputDestinationConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2667
|
+
return new TypeError(message);
|
|
2668
|
+
}
|
|
2669
|
+
}
|
|
2646
2670
|
if (obj.outputDestinationId !== undefined) {
|
|
2647
2671
|
const obj_outputDestinationId = obj.outputDestinationId;
|
|
2648
2672
|
const path_outputDestinationId = path + '.outputDestinationId';
|
|
@@ -2668,7 +2692,7 @@ function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
2668
2692
|
return v_error === undefined ? null : v_error;
|
|
2669
2693
|
}
|
|
2670
2694
|
|
|
2671
|
-
const VERSION$5 = "
|
|
2695
|
+
const VERSION$5 = "75f0d619e9f7670351ab7ddef20f4386";
|
|
2672
2696
|
function validate$7(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
2673
2697
|
const v_error = (() => {
|
|
2674
2698
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2701,6 +2725,13 @@ function validate$7(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
2701
2725
|
}
|
|
2702
2726
|
}
|
|
2703
2727
|
}
|
|
2728
|
+
if (obj.memberDataCloudRegion !== undefined) {
|
|
2729
|
+
const obj_memberDataCloudRegion = obj.memberDataCloudRegion;
|
|
2730
|
+
const path_memberDataCloudRegion = path + '.memberDataCloudRegion';
|
|
2731
|
+
if (typeof obj_memberDataCloudRegion !== 'string') {
|
|
2732
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberDataCloudRegion + '" (at "' + path_memberDataCloudRegion + '")');
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2704
2735
|
if (obj.memberDomainUrl !== undefined) {
|
|
2705
2736
|
const obj_memberDomainUrl = obj.memberDomainUrl;
|
|
2706
2737
|
const path_memberDomainUrl = path + '.memberDomainUrl';
|
|
@@ -2810,7 +2841,7 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2810
2841
|
if (obj.createdBy !== undefined) {
|
|
2811
2842
|
const obj_createdBy = obj.createdBy;
|
|
2812
2843
|
const path_createdBy = path + '.createdBy';
|
|
2813
|
-
const referencepath_createdByValidationError = validate$
|
|
2844
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
2814
2845
|
if (referencepath_createdByValidationError !== null) {
|
|
2815
2846
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2816
2847
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2853,7 +2884,7 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2853
2884
|
if (obj.lastModifiedBy !== undefined) {
|
|
2854
2885
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2855
2886
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2856
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2887
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2857
2888
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2858
2889
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2859
2890
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2903,7 +2934,7 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2903
2934
|
}
|
|
2904
2935
|
const obj_templateVersion = obj.templateVersion;
|
|
2905
2936
|
const path_templateVersion = path + '.templateVersion';
|
|
2906
|
-
const referencepath_templateVersionValidationError = validate$
|
|
2937
|
+
const referencepath_templateVersionValidationError = validate$c(obj_templateVersion, path_templateVersion);
|
|
2907
2938
|
if (referencepath_templateVersionValidationError !== null) {
|
|
2908
2939
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
2909
2940
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3376,7 +3407,7 @@ function validate$4(obj, path = 'DataCleanRoomTemplateCollectionRepresentation')
|
|
|
3376
3407
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
3377
3408
|
const obj_templates_item = obj_templates[i];
|
|
3378
3409
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
3379
|
-
const referencepath_templates_itemValidationError = validate$
|
|
3410
|
+
const referencepath_templates_itemValidationError = validate$c(obj_templates_item, path_templates_item);
|
|
3380
3411
|
if (referencepath_templates_itemValidationError !== null) {
|
|
3381
3412
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
3382
3413
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3657,6 +3688,7 @@ const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
|
|
|
3657
3688
|
generateParamConfigMetadata('specificationId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3658
3689
|
generateParamConfigMetadata('outputConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3659
3690
|
generateParamConfigMetadata('dataSpaceName', false, 2 /* Body */, 0 /* String */),
|
|
3691
|
+
generateParamConfigMetadata('memberDataCloudRegion', false, 2 /* Body */, 0 /* String */),
|
|
3660
3692
|
];
|
|
3661
3693
|
const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3662
3694
|
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
@@ -3826,7 +3858,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3826
3858
|
if (obj.createdBy !== undefined) {
|
|
3827
3859
|
const obj_createdBy = obj.createdBy;
|
|
3828
3860
|
const path_createdBy = path + '.createdBy';
|
|
3829
|
-
const referencepath_createdByValidationError = validate$
|
|
3861
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
3830
3862
|
if (referencepath_createdByValidationError !== null) {
|
|
3831
3863
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3832
3864
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3876,7 +3908,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3876
3908
|
if (obj.lastModifiedBy !== undefined) {
|
|
3877
3909
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3878
3910
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3879
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3911
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3880
3912
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3881
3913
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3882
3914
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12,6 +12,7 @@ export interface AcceptDataCleanRoomInvitationConfig {
|
|
|
12
12
|
specificationId?: string | null;
|
|
13
13
|
outputConfiguration?: types_DataCleanRoomOutputConfigurationRepresentation_DataCleanRoomOutputConfigurationRepresentation;
|
|
14
14
|
dataSpaceName?: string;
|
|
15
|
+
memberDataCloudRegion?: string;
|
|
15
16
|
}
|
|
16
17
|
export declare const createResourceParams: (config: AcceptDataCleanRoomInvitationConfig) => resources_postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName_ResourceRequestConfig;
|
|
17
18
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<AcceptDataCleanRoomInvitationConfig>): adapter$45$utils_Untrusted<AcceptDataCleanRoomInvitationConfig>;
|
|
@@ -10,6 +10,7 @@ export interface ResourceRequestConfig {
|
|
|
10
10
|
specificationId?: string | null;
|
|
11
11
|
outputConfiguration?: types_DataCleanRoomOutputConfigurationRepresentation_DataCleanRoomOutputConfigurationRepresentation;
|
|
12
12
|
dataSpaceName?: string;
|
|
13
|
+
memberDataCloudRegion?: string;
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataCleanRoomOutputConfigurationRepresentation as DataCleanRoomOutputConfigurationRepresentation_DataCleanRoomOutputConfigurationRepresentation } from './DataCleanRoomOutputConfigurationRepresentation';
|
|
2
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';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "1e4b4cbadfb9e624eb5862202c088a79";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: DataCleanRoomAcceptInvitationInputRepresentation, existing: DataCleanRoomAcceptInvitationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomAcceptInvitationInputRepresentationNormalized;
|
|
@@ -19,6 +19,8 @@ export interface DataCleanRoomAcceptInvitationInputRepresentationNormalized {
|
|
|
19
19
|
dataSpaceName?: string;
|
|
20
20
|
/** Record Id of DataCleanRoomInvitation */
|
|
21
21
|
invitationId: string;
|
|
22
|
+
/** Consumer Datacloud region */
|
|
23
|
+
memberDataCloudRegion?: string;
|
|
22
24
|
outputConfiguration?: DataCleanRoomOutputConfigurationRepresentation_DataCleanRoomOutputConfigurationRepresentation;
|
|
23
25
|
/** Record Id of DataCleanRoomSpecification */
|
|
24
26
|
specificationId?: string | null;
|
|
@@ -32,6 +34,7 @@ export interface DataCleanRoomAcceptInvitationInputRepresentationNormalized {
|
|
|
32
34
|
export interface DataCleanRoomAcceptInvitationInputRepresentation {
|
|
33
35
|
dataSpaceName?: string;
|
|
34
36
|
invitationId: string;
|
|
37
|
+
memberDataCloudRegion?: string;
|
|
35
38
|
outputConfiguration?: DataCleanRoomOutputConfigurationRepresentation_DataCleanRoomOutputConfigurationRepresentation;
|
|
36
39
|
specificationId?: string | null;
|
|
37
40
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 = "4280e252f554bb76595c12a5f2b6efbf";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataCleanRoomAwsS3OutputDestinationConfigRepresentation, existing: DataCleanRoomAwsS3OutputDestinationConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomAwsS3OutputDestinationConfigRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataCleanRoomAwsS3OutputDestinationConfigRepresentationNormalized, incoming: DataCleanRoomAwsS3OutputDestinationConfigRepresentationNormalized): 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: DataCleanRoomAwsS3OutputDestinationConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* AWS S3 output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataCleanRoomAwsS3OutputDestinationConfigRepresentationNormalized {
|
|
17
|
+
/** Type of the connector */
|
|
18
|
+
connectorType: string;
|
|
19
|
+
/** IAM role used to connect to the s3 url provided */
|
|
20
|
+
roleArn: string;
|
|
21
|
+
/** Full path of the s3 bucket with folders where the user wants the data to be shared */
|
|
22
|
+
s3Url: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* AWS S3 output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface DataCleanRoomAwsS3OutputDestinationConfigRepresentation {
|
|
31
|
+
connectorType: string;
|
|
32
|
+
roleArn: string;
|
|
33
|
+
s3Url: string;
|
|
34
|
+
}
|
package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberConfigRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { DataCleanRoomOutputDestinationConfigRepresentation as DataCleanRoomOutputDestinationConfigRepresentation_DataCleanRoomOutputDestinationConfigRepresentation } from './DataCleanRoomOutputDestinationConfigRepresentation';
|
|
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 = "b2dca7532c980ba589bf10b6725429e2";
|
|
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: DataCleanRoomMemberConfigRepresentation, existing: DataCleanRoomMemberConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomMemberConfigRepresentationNormalized;
|
|
@@ -18,6 +19,8 @@ export interface DataCleanRoomMemberConfigRepresentationNormalized {
|
|
|
18
19
|
externalId?: string;
|
|
19
20
|
/** Id of the member config */
|
|
20
21
|
id?: string;
|
|
22
|
+
/** Output destination attributes for the connector type (260+) */
|
|
23
|
+
outputDestinationConfig?: DataCleanRoomOutputDestinationConfigRepresentation_DataCleanRoomOutputDestinationConfigRepresentation;
|
|
21
24
|
/** Reference key to OutputDestination */
|
|
22
25
|
outputDestinationId?: string;
|
|
23
26
|
/** Output destination type */
|
|
@@ -34,6 +37,7 @@ export interface DataCleanRoomMemberConfigRepresentationNormalized {
|
|
|
34
37
|
export interface DataCleanRoomMemberConfigRepresentation {
|
|
35
38
|
externalId?: string;
|
|
36
39
|
id?: string;
|
|
40
|
+
outputDestinationConfig?: DataCleanRoomOutputDestinationConfigRepresentation_DataCleanRoomOutputDestinationConfigRepresentation;
|
|
37
41
|
outputDestinationId?: string;
|
|
38
42
|
outputDestinationType?: string;
|
|
39
43
|
templateVersionId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataCleanRoomMemberConfigRepresentation as DataCleanRoomMemberConfigRepresentation_DataCleanRoomMemberConfigRepresentation } from './DataCleanRoomMemberConfigRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "75f0d619e9f7670351ab7ddef20f4386";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -30,6 +30,8 @@ export interface DataCleanRoomMemberRepresentationNormalized {
|
|
|
30
30
|
invitationStatus: string;
|
|
31
31
|
/** Member configs assocaited with the template */
|
|
32
32
|
memberConfigs?: Array<DataCleanRoomMemberConfigRepresentation_DataCleanRoomMemberConfigRepresentation>;
|
|
33
|
+
/** Consumer Datacloud region */
|
|
34
|
+
memberDataCloudRegion?: string;
|
|
33
35
|
/** Member org domain URL */
|
|
34
36
|
memberDomainUrl?: string;
|
|
35
37
|
/** Id of collaborating member */
|
|
@@ -55,6 +57,7 @@ export interface DataCleanRoomMemberRepresentation {
|
|
|
55
57
|
invitationId: string;
|
|
56
58
|
invitationStatus: string;
|
|
57
59
|
memberConfigs?: Array<DataCleanRoomMemberConfigRepresentation_DataCleanRoomMemberConfigRepresentation>;
|
|
60
|
+
memberDataCloudRegion?: string;
|
|
58
61
|
memberDomainUrl?: string;
|
|
59
62
|
memberId: string;
|
|
60
63
|
memberOrgId?: string;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "fef854e2766d79eeadf91d4a0ac5ba7f";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataCleanRoomOutputDestinationConfigRepresentation, existing: DataCleanRoomOutputDestinationConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomOutputDestinationConfigRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataCleanRoomOutputDestinationConfigRepresentationNormalized, incoming: DataCleanRoomOutputDestinationConfigRepresentationNormalized): 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: DataCleanRoomOutputDestinationConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output destination attributes based on the connector type. Base representation extended by connector-specific implementations (Connect API pattern). Structure varies by connectorType.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataCleanRoomOutputDestinationConfigRepresentationNormalized {
|
|
17
|
+
/** Type of the connector (MetadataConnectorTypeEnum) */
|
|
18
|
+
connectorType: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Output destination attributes based on the connector type. Base representation extended by connector-specific implementations (Connect API pattern). Structure varies by connectorType.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface DataCleanRoomOutputDestinationConfigRepresentation {
|
|
27
|
+
connectorType: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 = "de09376349d892c778cce8f72628883c";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataCleanRoomSnowflakeOutputDestinationConfigRepresentation, existing: DataCleanRoomSnowflakeOutputDestinationConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomSnowflakeOutputDestinationConfigRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataCleanRoomSnowflakeOutputDestinationConfigRepresentationNormalized, incoming: DataCleanRoomSnowflakeOutputDestinationConfigRepresentationNormalized): 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: DataCleanRoomSnowflakeOutputDestinationConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Snowflake output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataCleanRoomSnowflakeOutputDestinationConfigRepresentationNormalized {
|
|
17
|
+
/** Snowflake account url of the provider's account */
|
|
18
|
+
accountUrl: string;
|
|
19
|
+
/** Type of the connector */
|
|
20
|
+
connectorType: string;
|
|
21
|
+
/** Database name of the provider's the final dataset */
|
|
22
|
+
databaseName: string;
|
|
23
|
+
/** Schema name of the provider's the final dataset */
|
|
24
|
+
schemaName: string;
|
|
25
|
+
/** Service user with the relevant access to the provided database and warehouse */
|
|
26
|
+
serviceUser: string;
|
|
27
|
+
/** Warehouse name of the provider's the final dataset */
|
|
28
|
+
warehouseName: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Snowflake output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface DataCleanRoomSnowflakeOutputDestinationConfigRepresentation {
|
|
37
|
+
accountUrl: string;
|
|
38
|
+
connectorType: string;
|
|
39
|
+
databaseName: string;
|
|
40
|
+
schemaName: string;
|
|
41
|
+
serviceUser: string;
|
|
42
|
+
warehouseName: string;
|
|
43
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-data-clean-room",
|
|
3
|
-
"version": "1.404.0-
|
|
3
|
+
"version": "1.404.0-dev22",
|
|
4
4
|
"description": "API's related to Data Clean Room Feature",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-data-clean-room.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"test:unit": "jest"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@salesforce/lds-bindings": "^1.404.0-
|
|
44
|
+
"@salesforce/lds-bindings": "^1.404.0-dev22"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.404.0-
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.404.0-dev22"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$D(obj, path = 'DataCleanRoomConnectionAttributesRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -117,7 +117,7 @@ function validate$C(obj, path = 'DataCleanRoomConnectionAttributesRepresentation
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$C(obj, path = 'DataCleanRoomOutputConfigurationRepresentation') {
|
|
121
121
|
const v_error = (() => {
|
|
122
122
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
123
123
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -125,7 +125,7 @@ function validate$B(obj, path = 'DataCleanRoomOutputConfigurationRepresentation'
|
|
|
125
125
|
if (obj.connectionAttributes !== undefined) {
|
|
126
126
|
const obj_connectionAttributes = obj.connectionAttributes;
|
|
127
127
|
const path_connectionAttributes = path + '.connectionAttributes';
|
|
128
|
-
const referencepath_connectionAttributesValidationError = validate$
|
|
128
|
+
const referencepath_connectionAttributesValidationError = validate$D(obj_connectionAttributes, path_connectionAttributes);
|
|
129
129
|
if (referencepath_connectionAttributesValidationError !== null) {
|
|
130
130
|
let message = 'Object doesn\'t match DataCleanRoomConnectionAttributesRepresentation (at "' + path_connectionAttributes + '")\n';
|
|
131
131
|
message += referencepath_connectionAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -148,6 +148,20 @@ function validate$B(obj, path = 'DataCleanRoomOutputConfigurationRepresentation'
|
|
|
148
148
|
return v_error === undefined ? null : v_error;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
+
function validate$B(obj, path = 'DataCleanRoomOutputDestinationConfigRepresentation') {
|
|
152
|
+
const v_error = (() => {
|
|
153
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
154
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
155
|
+
}
|
|
156
|
+
const obj_connectorType = obj.connectorType;
|
|
157
|
+
const path_connectorType = path + '.connectorType';
|
|
158
|
+
if (typeof obj_connectorType !== 'string') {
|
|
159
|
+
return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
|
|
160
|
+
}
|
|
161
|
+
})();
|
|
162
|
+
return v_error === undefined ? null : v_error;
|
|
163
|
+
}
|
|
164
|
+
|
|
151
165
|
function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
152
166
|
const v_error = (() => {
|
|
153
167
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -167,6 +181,16 @@ function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
167
181
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
168
182
|
}
|
|
169
183
|
}
|
|
184
|
+
if (obj.outputDestinationConfig !== undefined) {
|
|
185
|
+
const obj_outputDestinationConfig = obj.outputDestinationConfig;
|
|
186
|
+
const path_outputDestinationConfig = path + '.outputDestinationConfig';
|
|
187
|
+
const referencepath_outputDestinationConfigValidationError = validate$B(obj_outputDestinationConfig, path_outputDestinationConfig);
|
|
188
|
+
if (referencepath_outputDestinationConfigValidationError !== null) {
|
|
189
|
+
let message = 'Object doesn\'t match DataCleanRoomOutputDestinationConfigRepresentation (at "' + path_outputDestinationConfig + '")\n';
|
|
190
|
+
message += referencepath_outputDestinationConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
191
|
+
return new TypeError(message);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
170
194
|
if (obj.outputDestinationId !== undefined) {
|
|
171
195
|
const obj_outputDestinationId = obj.outputDestinationId;
|
|
172
196
|
const path_outputDestinationId = path + '.outputDestinationId';
|
|
@@ -192,7 +216,7 @@ function validate$A(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
|
192
216
|
return v_error === undefined ? null : v_error;
|
|
193
217
|
}
|
|
194
218
|
|
|
195
|
-
const VERSION$9 = "
|
|
219
|
+
const VERSION$9 = "75f0d619e9f7670351ab7ddef20f4386";
|
|
196
220
|
function validate$z(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
197
221
|
const v_error = (() => {
|
|
198
222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -225,6 +249,13 @@ function validate$z(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
225
249
|
}
|
|
226
250
|
}
|
|
227
251
|
}
|
|
252
|
+
if (obj.memberDataCloudRegion !== undefined) {
|
|
253
|
+
const obj_memberDataCloudRegion = obj.memberDataCloudRegion;
|
|
254
|
+
const path_memberDataCloudRegion = path + '.memberDataCloudRegion';
|
|
255
|
+
if (typeof obj_memberDataCloudRegion !== 'string') {
|
|
256
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberDataCloudRegion + '" (at "' + path_memberDataCloudRegion + '")');
|
|
257
|
+
}
|
|
258
|
+
}
|
|
228
259
|
if (obj.memberDomainUrl !== undefined) {
|
|
229
260
|
const obj_memberDomainUrl = obj.memberDomainUrl;
|
|
230
261
|
const path_memberDomainUrl = path + '.memberDomainUrl';
|
|
@@ -362,6 +393,7 @@ const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
|
|
|
362
393
|
generateParamConfigMetadata('specificationId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
363
394
|
generateParamConfigMetadata('outputConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
364
395
|
generateParamConfigMetadata('dataSpaceName', false, 2 /* Body */, 0 /* String */),
|
|
396
|
+
generateParamConfigMetadata('memberDataCloudRegion', false, 2 /* Body */, 0 /* String */),
|
|
365
397
|
];
|
|
366
398
|
const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
367
399
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
@@ -376,7 +408,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
376
408
|
config.specificationId = untrustedConfig_specificationId;
|
|
377
409
|
}
|
|
378
410
|
const untrustedConfig_outputConfiguration = untrustedConfig.outputConfiguration;
|
|
379
|
-
const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$
|
|
411
|
+
const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$C(untrustedConfig_outputConfiguration);
|
|
380
412
|
if (referenceDataCleanRoomOutputConfigurationRepresentationValidationError === null) {
|
|
381
413
|
config.outputConfiguration = untrustedConfig_outputConfiguration;
|
|
382
414
|
}
|
|
@@ -4599,4 +4631,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4599
4631
|
});
|
|
4600
4632
|
|
|
4601
4633
|
export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, getDataCleanRoomTemplatesByProviderIdPaginated, getDataCleanRoomTemplatesByProviderIdPaginated_imperative, rejectDataCleanRoomInvitation };
|
|
4602
|
-
// version: 1.404.0-
|
|
4634
|
+
// version: 1.404.0-dev22-aa81635832
|
package/src/raml/api.raml
CHANGED
|
@@ -525,6 +525,10 @@ types:
|
|
|
525
525
|
items:
|
|
526
526
|
type: DataCleanRoomMemberConfigRepresentation
|
|
527
527
|
required: false
|
|
528
|
+
memberDataCloudRegion:
|
|
529
|
+
description: Consumer Datacloud region
|
|
530
|
+
type: string
|
|
531
|
+
required: false
|
|
528
532
|
DataCleanRoomSpecificationCollectionRepresentation:
|
|
529
533
|
description: Represents Data Clean Room Specification Collection
|
|
530
534
|
# TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
|
|
@@ -778,6 +782,10 @@ types:
|
|
|
778
782
|
description: Name of data space to which the collaboration is associated
|
|
779
783
|
type: string
|
|
780
784
|
required: false
|
|
785
|
+
memberDataCloudRegion:
|
|
786
|
+
description: Consumer Datacloud region
|
|
787
|
+
type: string
|
|
788
|
+
required: false
|
|
781
789
|
|
|
782
790
|
DataCleanRoomOutputConfigurationRepresentation:
|
|
783
791
|
description: Represents data clean room output configuration representation
|
|
@@ -855,6 +863,65 @@ types:
|
|
|
855
863
|
type: string
|
|
856
864
|
required: true
|
|
857
865
|
|
|
866
|
+
DataCleanRoomOutputDestinationConfigRepresentation:
|
|
867
|
+
description: Output destination attributes based on the connector type. Base representation extended by connector-specific implementations (Connect API pattern). Structure varies by connectorType.
|
|
868
|
+
type: object
|
|
869
|
+
properties:
|
|
870
|
+
connectorType:
|
|
871
|
+
description: Type of the connector (MetadataConnectorTypeEnum)
|
|
872
|
+
type: string
|
|
873
|
+
required: true
|
|
874
|
+
|
|
875
|
+
DataCleanRoomAwsS3OutputDestinationConfigRepresentation:
|
|
876
|
+
description: AWS S3 output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
|
|
877
|
+
# TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomOutputDestinationConfigRepresentation
|
|
878
|
+
# type: DataCleanRoomOutputDestinationConfigRepresentation
|
|
879
|
+
type: object
|
|
880
|
+
properties:
|
|
881
|
+
connectorType:
|
|
882
|
+
description: Type of the connector
|
|
883
|
+
type: string
|
|
884
|
+
required: true
|
|
885
|
+
roleArn:
|
|
886
|
+
description: IAM role used to connect to the s3 url provided
|
|
887
|
+
type: string
|
|
888
|
+
required: true
|
|
889
|
+
s3Url:
|
|
890
|
+
description: Full path of the s3 bucket with folders where the user wants the data to be shared
|
|
891
|
+
type: string
|
|
892
|
+
required: true
|
|
893
|
+
|
|
894
|
+
DataCleanRoomSnowflakeOutputDestinationConfigRepresentation:
|
|
895
|
+
description: Snowflake output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
|
|
896
|
+
# TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomOutputDestinationConfigRepresentation
|
|
897
|
+
# type: DataCleanRoomOutputDestinationConfigRepresentation
|
|
898
|
+
type: object
|
|
899
|
+
properties:
|
|
900
|
+
connectorType:
|
|
901
|
+
description: Type of the connector
|
|
902
|
+
type: string
|
|
903
|
+
required: true
|
|
904
|
+
accountUrl:
|
|
905
|
+
description: Snowflake account url of the provider's account
|
|
906
|
+
type: string
|
|
907
|
+
required: true
|
|
908
|
+
schemaName:
|
|
909
|
+
description: Schema name of the provider's the final dataset
|
|
910
|
+
type: string
|
|
911
|
+
required: true
|
|
912
|
+
databaseName:
|
|
913
|
+
description: Database name of the provider's the final dataset
|
|
914
|
+
type: string
|
|
915
|
+
required: true
|
|
916
|
+
warehouseName:
|
|
917
|
+
description: Warehouse name of the provider's the final dataset
|
|
918
|
+
type: string
|
|
919
|
+
required: true
|
|
920
|
+
serviceUser:
|
|
921
|
+
description: Service user with the relevant access to the provided database and warehouse
|
|
922
|
+
type: string
|
|
923
|
+
required: true
|
|
924
|
+
|
|
858
925
|
DataCleanRoomRejectInvitationInputRepresentation:
|
|
859
926
|
description: Represents Cdp Data clean room Reject invitation input
|
|
860
927
|
type: object
|
|
@@ -1312,6 +1379,10 @@ types:
|
|
|
1312
1379
|
description: Unique identifier for the output destination connection
|
|
1313
1380
|
type: string
|
|
1314
1381
|
required: false
|
|
1382
|
+
outputDestinationConfig:
|
|
1383
|
+
description: Output destination attributes for the connector type (260+)
|
|
1384
|
+
type: DataCleanRoomOutputDestinationConfigRepresentation
|
|
1385
|
+
required: false
|
|
1315
1386
|
|
|
1316
1387
|
DataCleanRoomMetadataConfigurationRepresentation:
|
|
1317
1388
|
description: Represents metadata configruation associated with template
|