@salesforce/lds-adapters-cdp-data-clean-room 1.419.0 → 1.421.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 +153 -62
- package/dist/es/es2018/types/src/generated/adapters/createProvider.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomProviders.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberConfigRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +94 -3
- package/src/raml/api.raml +55 -0
|
@@ -92,7 +92,7 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function validate$
|
|
95
|
+
function validate$s(obj, path = 'CdpUserRepresentation') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
98
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -122,7 +122,7 @@ function validate$r(obj, path = 'CdpUserRepresentation') {
|
|
|
122
122
|
return v_error === undefined ? null : v_error;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function validate$
|
|
125
|
+
function validate$r(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
126
126
|
const v_error = (() => {
|
|
127
127
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
128
128
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -145,8 +145,8 @@ function validate$q(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
|
145
145
|
return v_error === undefined ? null : v_error;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
const VERSION$9 = "
|
|
149
|
-
function validate$
|
|
148
|
+
const VERSION$9 = "164dc6669e5d3d9cf4de1e0546eb0476";
|
|
149
|
+
function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
150
150
|
const v_error = (() => {
|
|
151
151
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
152
152
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -154,7 +154,7 @@ function validate$p(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
154
154
|
if (obj.createdBy !== undefined) {
|
|
155
155
|
const obj_createdBy = obj.createdBy;
|
|
156
156
|
const path_createdBy = path + '.createdBy';
|
|
157
|
-
const referencepath_createdByValidationError = validate$
|
|
157
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
158
158
|
if (referencepath_createdByValidationError !== null) {
|
|
159
159
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
160
160
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -211,7 +211,7 @@ function validate$p(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
211
211
|
if (obj.lastModifiedBy !== undefined) {
|
|
212
212
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
213
213
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
214
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
214
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
215
215
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
216
216
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
217
217
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -253,6 +253,20 @@ function validate$p(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
253
253
|
return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
+
if (obj.packageType !== undefined) {
|
|
257
|
+
const obj_packageType = obj.packageType;
|
|
258
|
+
const path_packageType = path + '.packageType';
|
|
259
|
+
if (typeof obj_packageType !== 'string') {
|
|
260
|
+
return new TypeError('Expected "string" but received "' + typeof obj_packageType + '" (at "' + path_packageType + '")');
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
if (obj.providerDataSource !== undefined) {
|
|
264
|
+
const obj_providerDataSource = obj.providerDataSource;
|
|
265
|
+
const path_providerDataSource = path + '.providerDataSource';
|
|
266
|
+
if (typeof obj_providerDataSource !== 'string') {
|
|
267
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerDataSource + '" (at "' + path_providerDataSource + '")');
|
|
268
|
+
}
|
|
269
|
+
}
|
|
256
270
|
if (obj.providerName !== undefined) {
|
|
257
271
|
const obj_providerName = obj.providerName;
|
|
258
272
|
const path_providerName = path + '.providerName';
|
|
@@ -298,7 +312,7 @@ function validate$p(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
298
312
|
if (obj.useCaseTypeConfig !== undefined) {
|
|
299
313
|
const obj_useCaseTypeConfig = obj.useCaseTypeConfig;
|
|
300
314
|
const path_useCaseTypeConfig = path + '.useCaseTypeConfig';
|
|
301
|
-
const referencepath_useCaseTypeConfigValidationError = validate$
|
|
315
|
+
const referencepath_useCaseTypeConfigValidationError = validate$r(obj_useCaseTypeConfig, path_useCaseTypeConfig);
|
|
302
316
|
if (referencepath_useCaseTypeConfigValidationError !== null) {
|
|
303
317
|
let message = 'Object doesn\'t match DataCleanRoomUseCaseTypeRepresentation (at "' + path_useCaseTypeConfig + '")\n';
|
|
304
318
|
message += referencepath_useCaseTypeConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -337,7 +351,7 @@ function equals$9(existing, incoming) {
|
|
|
337
351
|
}
|
|
338
352
|
const ingest$9 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
339
353
|
if (process.env.NODE_ENV !== 'production') {
|
|
340
|
-
const validateError = validate$
|
|
354
|
+
const validateError = validate$q(input);
|
|
341
355
|
if (validateError !== null) {
|
|
342
356
|
throw validateError;
|
|
343
357
|
}
|
|
@@ -358,7 +372,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
358
372
|
}
|
|
359
373
|
|
|
360
374
|
const VERSION$8 = "52237eeecd4f8f11ae22e265d9abe5ca";
|
|
361
|
-
function validate$
|
|
375
|
+
function validate$p(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
|
|
362
376
|
const v_error = (() => {
|
|
363
377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
364
378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -574,7 +588,7 @@ function equals$8(existing, incoming) {
|
|
|
574
588
|
}
|
|
575
589
|
const ingest$8 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
576
590
|
if (process.env.NODE_ENV !== 'production') {
|
|
577
|
-
const validateError = validate$
|
|
591
|
+
const validateError = validate$p(input);
|
|
578
592
|
if (validateError !== null) {
|
|
579
593
|
throw validateError;
|
|
580
594
|
}
|
|
@@ -733,7 +747,7 @@ const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dat
|
|
|
733
747
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
734
748
|
};
|
|
735
749
|
|
|
736
|
-
function validate$
|
|
750
|
+
function validate$o(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
|
|
737
751
|
const v_error = (() => {
|
|
738
752
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
739
753
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -749,7 +763,7 @@ function validate$n(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentati
|
|
|
749
763
|
return v_error === undefined ? null : v_error;
|
|
750
764
|
}
|
|
751
765
|
|
|
752
|
-
function validate$
|
|
766
|
+
function validate$n(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
753
767
|
const v_error = (() => {
|
|
754
768
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
755
769
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -773,7 +787,7 @@ function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
|
773
787
|
return v_error === undefined ? null : v_error;
|
|
774
788
|
}
|
|
775
789
|
|
|
776
|
-
function validate$
|
|
790
|
+
function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
|
|
777
791
|
const v_error = (() => {
|
|
778
792
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
779
793
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -786,7 +800,7 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
786
800
|
for (let i = 0; i < obj_queryParamConfigs.length; i++) {
|
|
787
801
|
const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
|
|
788
802
|
const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
|
|
789
|
-
const referencepath_queryParamConfigs_itemValidationError = validate$
|
|
803
|
+
const referencepath_queryParamConfigs_itemValidationError = validate$n(obj_queryParamConfigs_item, path_queryParamConfigs_item);
|
|
790
804
|
if (referencepath_queryParamConfigs_itemValidationError !== null) {
|
|
791
805
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
|
|
792
806
|
message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -797,7 +811,7 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
|
|
|
797
811
|
return v_error === undefined ? null : v_error;
|
|
798
812
|
}
|
|
799
813
|
|
|
800
|
-
function validate$
|
|
814
|
+
function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
801
815
|
const v_error = (() => {
|
|
802
816
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
803
817
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -805,7 +819,7 @@ function validate$k(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
805
819
|
if (obj.analysisConfigs !== undefined) {
|
|
806
820
|
const obj_analysisConfigs = obj.analysisConfigs;
|
|
807
821
|
const path_analysisConfigs = path + '.analysisConfigs';
|
|
808
|
-
const referencepath_analysisConfigsValidationError = validate$
|
|
822
|
+
const referencepath_analysisConfigsValidationError = validate$o(obj_analysisConfigs, path_analysisConfigs);
|
|
809
823
|
if (referencepath_analysisConfigsValidationError !== null) {
|
|
810
824
|
let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
|
|
811
825
|
message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -825,7 +839,7 @@ function validate$k(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
825
839
|
if (obj.queryParameters !== undefined) {
|
|
826
840
|
const obj_queryParameters = obj.queryParameters;
|
|
827
841
|
const path_queryParameters = path + '.queryParameters';
|
|
828
|
-
const referencepath_queryParametersValidationError = validate$
|
|
842
|
+
const referencepath_queryParametersValidationError = validate$m(obj_queryParameters, path_queryParameters);
|
|
829
843
|
if (referencepath_queryParametersValidationError !== null) {
|
|
830
844
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
|
|
831
845
|
message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -865,7 +879,7 @@ function validate$k(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
|
865
879
|
return v_error === undefined ? null : v_error;
|
|
866
880
|
}
|
|
867
881
|
|
|
868
|
-
function validate$
|
|
882
|
+
function validate$k(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
|
|
869
883
|
const v_error = (() => {
|
|
870
884
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
871
885
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -878,7 +892,7 @@ function validate$j(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
878
892
|
for (let i = 0; i < obj_queryConfigs.length; i++) {
|
|
879
893
|
const obj_queryConfigs_item = obj_queryConfigs[i];
|
|
880
894
|
const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
|
|
881
|
-
const referencepath_queryConfigs_itemValidationError = validate$
|
|
895
|
+
const referencepath_queryConfigs_itemValidationError = validate$l(obj_queryConfigs_item, path_queryConfigs_item);
|
|
882
896
|
if (referencepath_queryConfigs_itemValidationError !== null) {
|
|
883
897
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
|
|
884
898
|
message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -889,7 +903,7 @@ function validate$j(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
|
|
|
889
903
|
return v_error === undefined ? null : v_error;
|
|
890
904
|
}
|
|
891
905
|
|
|
892
|
-
function validate$
|
|
906
|
+
function validate$j(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
893
907
|
const v_error = (() => {
|
|
894
908
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
895
909
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -911,6 +925,13 @@ function validate$i(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
911
925
|
if (typeof obj_name !== 'string') {
|
|
912
926
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
913
927
|
}
|
|
928
|
+
if (obj.tooltip !== undefined) {
|
|
929
|
+
const obj_tooltip = obj.tooltip;
|
|
930
|
+
const path_tooltip = path + '.tooltip';
|
|
931
|
+
if (typeof obj_tooltip !== 'string') {
|
|
932
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tooltip + '" (at "' + path_tooltip + '")');
|
|
933
|
+
}
|
|
934
|
+
}
|
|
914
935
|
const obj_type = obj.type;
|
|
915
936
|
const path_type = path + '.type';
|
|
916
937
|
if (typeof obj_type !== 'string') {
|
|
@@ -920,7 +941,7 @@ function validate$i(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
920
941
|
return v_error === undefined ? null : v_error;
|
|
921
942
|
}
|
|
922
943
|
|
|
923
|
-
function validate$
|
|
944
|
+
function validate$i(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
924
945
|
const v_error = (() => {
|
|
925
946
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
926
947
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -933,7 +954,7 @@ function validate$h(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
933
954
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
934
955
|
const obj_columns_item = obj_columns[i];
|
|
935
956
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
936
|
-
const referencepath_columns_itemValidationError = validate$
|
|
957
|
+
const referencepath_columns_itemValidationError = validate$j(obj_columns_item, path_columns_item);
|
|
937
958
|
if (referencepath_columns_itemValidationError !== null) {
|
|
938
959
|
let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
939
960
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -959,7 +980,7 @@ function validate$h(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
|
959
980
|
return v_error === undefined ? null : v_error;
|
|
960
981
|
}
|
|
961
982
|
|
|
962
|
-
function validate$
|
|
983
|
+
function validate$h(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
|
|
963
984
|
const v_error = (() => {
|
|
964
985
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
965
986
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -972,7 +993,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
972
993
|
for (let i = 0; i < obj_tableConfigs.length; i++) {
|
|
973
994
|
const obj_tableConfigs_item = obj_tableConfigs[i];
|
|
974
995
|
const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
|
|
975
|
-
const referencepath_tableConfigs_itemValidationError = validate$
|
|
996
|
+
const referencepath_tableConfigs_itemValidationError = validate$i(obj_tableConfigs_item, path_tableConfigs_item);
|
|
976
997
|
if (referencepath_tableConfigs_itemValidationError !== null) {
|
|
977
998
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
|
|
978
999
|
message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -983,7 +1004,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
|
|
|
983
1004
|
return v_error === undefined ? null : v_error;
|
|
984
1005
|
}
|
|
985
1006
|
|
|
986
|
-
function validate$
|
|
1007
|
+
function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
987
1008
|
const v_error = (() => {
|
|
988
1009
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
989
1010
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1000,7 +1021,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1000
1021
|
}
|
|
1001
1022
|
const obj_queries = obj.queries;
|
|
1002
1023
|
const path_queries = path + '.queries';
|
|
1003
|
-
const referencepath_queriesValidationError = validate$
|
|
1024
|
+
const referencepath_queriesValidationError = validate$k(obj_queries, path_queries);
|
|
1004
1025
|
if (referencepath_queriesValidationError !== null) {
|
|
1005
1026
|
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
|
|
1006
1027
|
message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1008,7 +1029,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1008
1029
|
}
|
|
1009
1030
|
const obj_tables = obj.tables;
|
|
1010
1031
|
const path_tables = path + '.tables';
|
|
1011
|
-
const referencepath_tablesValidationError = validate$
|
|
1032
|
+
const referencepath_tablesValidationError = validate$h(obj_tables, path_tables);
|
|
1012
1033
|
if (referencepath_tablesValidationError !== null) {
|
|
1013
1034
|
let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
|
|
1014
1035
|
message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1025,7 +1046,7 @@ function validate$f(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
|
1025
1046
|
return v_error === undefined ? null : v_error;
|
|
1026
1047
|
}
|
|
1027
1048
|
|
|
1028
|
-
function validate$
|
|
1049
|
+
function validate$f(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
|
|
1029
1050
|
const v_error = (() => {
|
|
1030
1051
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1031
1052
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1102,6 +1123,8 @@ const createProvider_ConfigPropertyMetadata = [
|
|
|
1102
1123
|
generateParamConfigMetadata('useCaseTypeConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1103
1124
|
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
1104
1125
|
generateParamConfigMetadata('sourceConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1126
|
+
generateParamConfigMetadata('packageType', false, 2 /* Body */, 0 /* String */),
|
|
1127
|
+
generateParamConfigMetadata('providerDataSource', false, 2 /* Body */, 0 /* String */),
|
|
1105
1128
|
];
|
|
1106
1129
|
const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createProvider_ConfigPropertyMetadata);
|
|
1107
1130
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(createProvider_ConfigPropertyMetadata);
|
|
@@ -1109,12 +1132,12 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
1109
1132
|
const config = {};
|
|
1110
1133
|
typeCheckConfig$c(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
|
|
1111
1134
|
const untrustedConfig_templateJson = untrustedConfig.templateJson;
|
|
1112
|
-
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$
|
|
1135
|
+
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$g(untrustedConfig_templateJson);
|
|
1113
1136
|
if (referenceCustomUseCaseTemplateInputRepresentationValidationError === null) {
|
|
1114
1137
|
config.templateJson = untrustedConfig_templateJson;
|
|
1115
1138
|
}
|
|
1116
1139
|
const untrustedConfig_useCaseTypeConfig = untrustedConfig.useCaseTypeConfig;
|
|
1117
|
-
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$
|
|
1140
|
+
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$f(untrustedConfig_useCaseTypeConfig);
|
|
1118
1141
|
if (referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError === null) {
|
|
1119
1142
|
config.useCaseTypeConfig = untrustedConfig_useCaseTypeConfig;
|
|
1120
1143
|
}
|
|
@@ -1164,7 +1187,7 @@ const createProviderAdapterFactory = (luvio) => {
|
|
|
1164
1187
|
};
|
|
1165
1188
|
};
|
|
1166
1189
|
|
|
1167
|
-
function validate$
|
|
1190
|
+
function validate$e(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
1168
1191
|
const v_error = (() => {
|
|
1169
1192
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1170
1193
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1190,7 +1213,7 @@ function validate$d(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
|
|
|
1190
1213
|
return v_error === undefined ? null : v_error;
|
|
1191
1214
|
}
|
|
1192
1215
|
|
|
1193
|
-
function validate$
|
|
1216
|
+
function validate$d(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
1194
1217
|
const v_error = (() => {
|
|
1195
1218
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1196
1219
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1209,7 +1232,7 @@ function validate$c(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
|
|
|
1209
1232
|
return v_error === undefined ? null : v_error;
|
|
1210
1233
|
}
|
|
1211
1234
|
|
|
1212
|
-
function validate$
|
|
1235
|
+
function validate$c(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
|
|
1213
1236
|
const v_error = (() => {
|
|
1214
1237
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1215
1238
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1238,7 +1261,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
|
|
|
1238
1261
|
return v_error === undefined ? null : v_error;
|
|
1239
1262
|
}
|
|
1240
1263
|
|
|
1241
|
-
function validate$
|
|
1264
|
+
function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
|
|
1242
1265
|
const v_error = (() => {
|
|
1243
1266
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1244
1267
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1258,7 +1281,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1258
1281
|
if (obj.createdBy !== undefined) {
|
|
1259
1282
|
const obj_createdBy = obj.createdBy;
|
|
1260
1283
|
const path_createdBy = path + '.createdBy';
|
|
1261
|
-
const referencepath_createdByValidationError = validate$
|
|
1284
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
1262
1285
|
if (referencepath_createdByValidationError !== null) {
|
|
1263
1286
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1264
1287
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1275,7 +1298,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1275
1298
|
if (obj.dataMapping !== undefined) {
|
|
1276
1299
|
const obj_dataMapping = obj.dataMapping;
|
|
1277
1300
|
const path_dataMapping = path + '.dataMapping';
|
|
1278
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1301
|
+
const referencepath_dataMappingValidationError = validate$a(obj_dataMapping, path_dataMapping);
|
|
1279
1302
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1280
1303
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1281
1304
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1285,7 +1308,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1285
1308
|
if (obj.filterOptions !== undefined) {
|
|
1286
1309
|
const obj_filterOptions = obj.filterOptions;
|
|
1287
1310
|
const path_filterOptions = path + '.filterOptions';
|
|
1288
|
-
const referencepath_filterOptionsValidationError = validate$
|
|
1311
|
+
const referencepath_filterOptionsValidationError = validate$e(obj_filterOptions, path_filterOptions);
|
|
1289
1312
|
if (referencepath_filterOptionsValidationError !== null) {
|
|
1290
1313
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
1291
1314
|
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1309,7 +1332,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1309
1332
|
if (obj.lastModifiedBy !== undefined) {
|
|
1310
1333
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1311
1334
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1312
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1335
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1313
1336
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1314
1337
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1315
1338
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1345,7 +1368,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1345
1368
|
for (let i = 0; i < obj_path.length; i++) {
|
|
1346
1369
|
const obj_path_item = obj_path[i];
|
|
1347
1370
|
const path_path_item = path_path + '[' + i + ']';
|
|
1348
|
-
const referencepath_path_itemValidationError = validate$
|
|
1371
|
+
const referencepath_path_itemValidationError = validate$d(obj_path_item, path_path_item);
|
|
1349
1372
|
if (referencepath_path_itemValidationError !== null) {
|
|
1350
1373
|
let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
|
|
1351
1374
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1354,7 +1377,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1354
1377
|
}
|
|
1355
1378
|
const obj_subjectAttribute = obj.subjectAttribute;
|
|
1356
1379
|
const path_subjectAttribute = path + '.subjectAttribute';
|
|
1357
|
-
const referencepath_subjectAttributeValidationError = validate$
|
|
1380
|
+
const referencepath_subjectAttributeValidationError = validate$c(obj_subjectAttribute, path_subjectAttribute);
|
|
1358
1381
|
if (referencepath_subjectAttributeValidationError !== null) {
|
|
1359
1382
|
let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
|
|
1360
1383
|
message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1371,7 +1394,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
1371
1394
|
return v_error === undefined ? null : v_error;
|
|
1372
1395
|
}
|
|
1373
1396
|
|
|
1374
|
-
function validate$
|
|
1397
|
+
function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
1375
1398
|
const v_error = (() => {
|
|
1376
1399
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1377
1400
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1384,7 +1407,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1384
1407
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1385
1408
|
const obj_attributes_item = obj_attributes[i];
|
|
1386
1409
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1387
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1410
|
+
const referencepath_attributes_itemValidationError = validate$b(obj_attributes_item, path_attributes_item);
|
|
1388
1411
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1389
1412
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
1390
1413
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1399,7 +1422,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1399
1422
|
if (obj.createdBy !== undefined) {
|
|
1400
1423
|
const obj_createdBy = obj.createdBy;
|
|
1401
1424
|
const path_createdBy = path + '.createdBy';
|
|
1402
|
-
const referencepath_createdByValidationError = validate$
|
|
1425
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
1403
1426
|
if (referencepath_createdByValidationError !== null) {
|
|
1404
1427
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1405
1428
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1430,7 +1453,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1430
1453
|
if (obj.lastModifiedBy !== undefined) {
|
|
1431
1454
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1432
1455
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1433
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1456
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1434
1457
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1435
1458
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1436
1459
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1469,7 +1492,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1469
1492
|
return v_error === undefined ? null : v_error;
|
|
1470
1493
|
}
|
|
1471
1494
|
|
|
1472
|
-
function validate$
|
|
1495
|
+
function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
1473
1496
|
const v_error = (() => {
|
|
1474
1497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1475
1498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1482,7 +1505,7 @@ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1482
1505
|
if (obj.createdBy !== undefined) {
|
|
1483
1506
|
const obj_createdBy = obj.createdBy;
|
|
1484
1507
|
const path_createdBy = path + '.createdBy';
|
|
1485
|
-
const referencepath_createdByValidationError = validate$
|
|
1508
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
1486
1509
|
if (referencepath_createdByValidationError !== null) {
|
|
1487
1510
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1488
1511
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1518,7 +1541,7 @@ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1518
1541
|
if (obj.lastModifiedBy !== undefined) {
|
|
1519
1542
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1520
1543
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1521
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1544
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1522
1545
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1523
1546
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1524
1547
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1591,7 +1614,7 @@ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1591
1614
|
}
|
|
1592
1615
|
|
|
1593
1616
|
const VERSION$7 = "d45438ed7dbe4f9f483ef33b3d47863e";
|
|
1594
|
-
function validate$
|
|
1617
|
+
function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1595
1618
|
const v_error = (() => {
|
|
1596
1619
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1597
1620
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1599,7 +1622,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1599
1622
|
if (obj.createdBy !== undefined) {
|
|
1600
1623
|
const obj_createdBy = obj.createdBy;
|
|
1601
1624
|
const path_createdBy = path + '.createdBy';
|
|
1602
|
-
const referencepath_createdByValidationError = validate$
|
|
1625
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
1603
1626
|
if (referencepath_createdByValidationError !== null) {
|
|
1604
1627
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1605
1628
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1615,7 +1638,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1615
1638
|
}
|
|
1616
1639
|
const obj_dataMapping = obj.dataMapping;
|
|
1617
1640
|
const path_dataMapping = path + '.dataMapping';
|
|
1618
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1641
|
+
const referencepath_dataMappingValidationError = validate$a(obj_dataMapping, path_dataMapping);
|
|
1619
1642
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1620
1643
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1621
1644
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1657,7 +1680,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1657
1680
|
if (obj.lastModifiedBy !== undefined) {
|
|
1658
1681
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1659
1682
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1660
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1683
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1661
1684
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1662
1685
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1663
1686
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1712,7 +1735,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1712
1735
|
if (obj.templateVersion !== undefined) {
|
|
1713
1736
|
const obj_templateVersion = obj.templateVersion;
|
|
1714
1737
|
const path_templateVersion = path + '.templateVersion';
|
|
1715
|
-
const referencepath_templateVersionValidationError = validate$
|
|
1738
|
+
const referencepath_templateVersionValidationError = validate$9(obj_templateVersion, path_templateVersion);
|
|
1716
1739
|
if (referencepath_templateVersionValidationError !== null) {
|
|
1717
1740
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1718
1741
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1758,7 +1781,7 @@ function equals$7(existing, incoming) {
|
|
|
1758
1781
|
}
|
|
1759
1782
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1760
1783
|
if (process.env.NODE_ENV !== 'production') {
|
|
1761
|
-
const validateError = validate$
|
|
1784
|
+
const validateError = validate$8(input);
|
|
1762
1785
|
if (validateError !== null) {
|
|
1763
1786
|
throw validateError;
|
|
1764
1787
|
}
|
|
@@ -1779,7 +1802,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1779
1802
|
}
|
|
1780
1803
|
|
|
1781
1804
|
const VERSION$6 = "6fb37e337652e88218f2171d1e56647b";
|
|
1782
|
-
function validate$
|
|
1805
|
+
function validate$7(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
|
|
1783
1806
|
const v_error = (() => {
|
|
1784
1807
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1785
1808
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1973,7 +1996,7 @@ function equals$6(existing, incoming) {
|
|
|
1973
1996
|
}
|
|
1974
1997
|
const ingest$6 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1975
1998
|
if (process.env.NODE_ENV !== 'production') {
|
|
1976
|
-
const validateError = validate$
|
|
1999
|
+
const validateError = validate$7(input);
|
|
1977
2000
|
if (validateError !== null) {
|
|
1978
2001
|
throw validateError;
|
|
1979
2002
|
}
|
|
@@ -2234,7 +2257,51 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
2234
2257
|
};
|
|
2235
2258
|
};
|
|
2236
2259
|
|
|
2237
|
-
|
|
2260
|
+
function validate$6(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
2261
|
+
const v_error = (() => {
|
|
2262
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2263
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2264
|
+
}
|
|
2265
|
+
if (obj.externalId !== undefined) {
|
|
2266
|
+
const obj_externalId = obj.externalId;
|
|
2267
|
+
const path_externalId = path + '.externalId';
|
|
2268
|
+
if (typeof obj_externalId !== 'string') {
|
|
2269
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
if (obj.id !== undefined) {
|
|
2273
|
+
const obj_id = obj.id;
|
|
2274
|
+
const path_id = path + '.id';
|
|
2275
|
+
if (typeof obj_id !== 'string') {
|
|
2276
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
if (obj.outputDestinationId !== undefined) {
|
|
2280
|
+
const obj_outputDestinationId = obj.outputDestinationId;
|
|
2281
|
+
const path_outputDestinationId = path + '.outputDestinationId';
|
|
2282
|
+
if (typeof obj_outputDestinationId !== 'string') {
|
|
2283
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationId + '" (at "' + path_outputDestinationId + '")');
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
if (obj.outputDestinationType !== undefined) {
|
|
2287
|
+
const obj_outputDestinationType = obj.outputDestinationType;
|
|
2288
|
+
const path_outputDestinationType = path + '.outputDestinationType';
|
|
2289
|
+
if (typeof obj_outputDestinationType !== 'string') {
|
|
2290
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationType + '" (at "' + path_outputDestinationType + '")');
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2293
|
+
if (obj.templateVersionId !== undefined) {
|
|
2294
|
+
const obj_templateVersionId = obj.templateVersionId;
|
|
2295
|
+
const path_templateVersionId = path + '.templateVersionId';
|
|
2296
|
+
if (typeof obj_templateVersionId !== 'string') {
|
|
2297
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateVersionId + '" (at "' + path_templateVersionId + '")');
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
})();
|
|
2301
|
+
return v_error === undefined ? null : v_error;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
const VERSION$5 = "cc5736f976c7c58026dd19879ac57f5c";
|
|
2238
2305
|
function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
2239
2306
|
const v_error = (() => {
|
|
2240
2307
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2250,6 +2317,30 @@ function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
2250
2317
|
if (typeof obj_invitationStatus !== 'string') {
|
|
2251
2318
|
return new TypeError('Expected "string" but received "' + typeof obj_invitationStatus + '" (at "' + path_invitationStatus + '")');
|
|
2252
2319
|
}
|
|
2320
|
+
if (obj.memberConfigs !== undefined) {
|
|
2321
|
+
const obj_memberConfigs = obj.memberConfigs;
|
|
2322
|
+
const path_memberConfigs = path + '.memberConfigs';
|
|
2323
|
+
if (!ArrayIsArray(obj_memberConfigs)) {
|
|
2324
|
+
return new TypeError('Expected "array" but received "' + typeof obj_memberConfigs + '" (at "' + path_memberConfigs + '")');
|
|
2325
|
+
}
|
|
2326
|
+
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
2327
|
+
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
2328
|
+
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
2329
|
+
const referencepath_memberConfigs_itemValidationError = validate$6(obj_memberConfigs_item, path_memberConfigs_item);
|
|
2330
|
+
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
2331
|
+
let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
2332
|
+
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2333
|
+
return new TypeError(message);
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
if (obj.memberDomainUrl !== undefined) {
|
|
2338
|
+
const obj_memberDomainUrl = obj.memberDomainUrl;
|
|
2339
|
+
const path_memberDomainUrl = path + '.memberDomainUrl';
|
|
2340
|
+
if (typeof obj_memberDomainUrl !== 'string') {
|
|
2341
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberDomainUrl + '" (at "' + path_memberDomainUrl + '")');
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2253
2344
|
const obj_memberId = obj.memberId;
|
|
2254
2345
|
const path_memberId = path + '.memberId';
|
|
2255
2346
|
if (typeof obj_memberId !== 'string') {
|
|
@@ -2352,7 +2443,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2352
2443
|
if (obj.createdBy !== undefined) {
|
|
2353
2444
|
const obj_createdBy = obj.createdBy;
|
|
2354
2445
|
const path_createdBy = path + '.createdBy';
|
|
2355
|
-
const referencepath_createdByValidationError = validate$
|
|
2446
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
2356
2447
|
if (referencepath_createdByValidationError !== null) {
|
|
2357
2448
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2358
2449
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2402,7 +2493,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2402
2493
|
if (obj.lastModifiedBy !== undefined) {
|
|
2403
2494
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2404
2495
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2405
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2496
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2406
2497
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2407
2498
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2408
2499
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2452,7 +2543,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2452
2543
|
}
|
|
2453
2544
|
const obj_templateVersion = obj.templateVersion;
|
|
2454
2545
|
const path_templateVersion = path + '.templateVersion';
|
|
2455
|
-
const referencepath_templateVersionValidationError = validate$
|
|
2546
|
+
const referencepath_templateVersionValidationError = validate$9(obj_templateVersion, path_templateVersion);
|
|
2456
2547
|
if (referencepath_templateVersionValidationError !== null) {
|
|
2457
2548
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
2458
2549
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2925,7 +3016,7 @@ function validate$2(obj, path = 'DataCleanRoomTemplateCollectionRepresentation')
|
|
|
2925
3016
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
2926
3017
|
const obj_templates_item = obj_templates[i];
|
|
2927
3018
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
2928
|
-
const referencepath_templates_itemValidationError = validate$
|
|
3019
|
+
const referencepath_templates_itemValidationError = validate$9(obj_templates_item, path_templates_item);
|
|
2929
3020
|
if (referencepath_templates_itemValidationError !== null) {
|
|
2930
3021
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
2931
3022
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3316,7 +3407,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3316
3407
|
if (obj.createdBy !== undefined) {
|
|
3317
3408
|
const obj_createdBy = obj.createdBy;
|
|
3318
3409
|
const path_createdBy = path + '.createdBy';
|
|
3319
|
-
const referencepath_createdByValidationError = validate$
|
|
3410
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
3320
3411
|
if (referencepath_createdByValidationError !== null) {
|
|
3321
3412
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3322
3413
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3366,7 +3457,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3366
3457
|
if (obj.lastModifiedBy !== undefined) {
|
|
3367
3458
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3368
3459
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3369
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3460
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3370
3461
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3371
3462
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3372
3463
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23,6 +23,8 @@ export interface CreateProviderConfig {
|
|
|
23
23
|
useCaseTypeConfig?: types_DataCleanRoomUseCaseTypeInputRepresentation_DataCleanRoomUseCaseTypeInputRepresentation;
|
|
24
24
|
providerName?: string;
|
|
25
25
|
sourceConfiguration?: unknown;
|
|
26
|
+
packageType?: string;
|
|
27
|
+
providerDataSource?: string;
|
|
26
28
|
}
|
|
27
29
|
export declare const createResourceParams: (config: CreateProviderConfig) => resources_postSsotDataCleanRoomProviders_ResourceRequestConfig;
|
|
28
30
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateProviderConfig>): adapter$45$utils_Untrusted<CreateProviderConfig>;
|
|
@@ -19,6 +19,8 @@ export interface ResourceRequestConfig {
|
|
|
19
19
|
useCaseTypeConfig?: types_DataCleanRoomUseCaseTypeInputRepresentation_DataCleanRoomUseCaseTypeInputRepresentation;
|
|
20
20
|
providerName?: string;
|
|
21
21
|
sourceConfiguration?: unknown;
|
|
22
|
+
packageType?: string;
|
|
23
|
+
providerDataSource?: string;
|
|
22
24
|
};
|
|
23
25
|
}
|
|
24
26
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "c747689f2ba81233c98eec876667219c";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
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;
|
|
@@ -20,6 +20,8 @@ export interface CustomUseCaseTemplateColumnRepresentationNormalized {
|
|
|
20
20
|
description: string;
|
|
21
21
|
/** Name of the custom template column */
|
|
22
22
|
name: string;
|
|
23
|
+
/** Text displayed in the UI when the user interacts with the Info icon. */
|
|
24
|
+
tooltip?: string;
|
|
23
25
|
/** type of the custom template column */
|
|
24
26
|
type: string;
|
|
25
27
|
}
|
|
@@ -33,5 +35,6 @@ export interface CustomUseCaseTemplateColumnRepresentation {
|
|
|
33
35
|
defaultValue?: string;
|
|
34
36
|
description: string;
|
|
35
37
|
name: string;
|
|
38
|
+
tooltip?: string;
|
|
36
39
|
type: string;
|
|
37
40
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 = "6feaedee20221cf839d7f551fcde8c26";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
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;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataCleanRoomMemberConfigRepresentationNormalized, incoming: DataCleanRoomMemberConfigRepresentationNormalized): 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: DataCleanRoomMemberConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents member configs associated with template
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataCleanRoomMemberConfigRepresentationNormalized {
|
|
17
|
+
/** Unique identifier for the output destination connection */
|
|
18
|
+
externalId?: string;
|
|
19
|
+
/** Id of the member config */
|
|
20
|
+
id?: string;
|
|
21
|
+
/** Reference key to OutputDestination */
|
|
22
|
+
outputDestinationId?: string;
|
|
23
|
+
/** Output destination type */
|
|
24
|
+
outputDestinationType?: string;
|
|
25
|
+
/** Reference key to DataCleanRoomTemplateVer */
|
|
26
|
+
templateVersionId?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Represents member configs associated with template
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface DataCleanRoomMemberConfigRepresentation {
|
|
35
|
+
externalId?: string;
|
|
36
|
+
id?: string;
|
|
37
|
+
outputDestinationId?: string;
|
|
38
|
+
outputDestinationType?: string;
|
|
39
|
+
templateVersionId?: string;
|
|
40
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { DataCleanRoomMemberConfigRepresentation as DataCleanRoomMemberConfigRepresentation_DataCleanRoomMemberConfigRepresentation } from './DataCleanRoomMemberConfigRepresentation';
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "cc5736f976c7c58026dd19879ac57f5c";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -27,6 +28,10 @@ export interface DataCleanRoomMemberRepresentationNormalized {
|
|
|
27
28
|
invitationId: string;
|
|
28
29
|
/** Status of the invitation */
|
|
29
30
|
invitationStatus: string;
|
|
31
|
+
/** Member configs assocaited with the template */
|
|
32
|
+
memberConfigs?: Array<DataCleanRoomMemberConfigRepresentation_DataCleanRoomMemberConfigRepresentation>;
|
|
33
|
+
/** Member org domain URL */
|
|
34
|
+
memberDomainUrl?: string;
|
|
30
35
|
/** Id of collaborating member */
|
|
31
36
|
memberId: string;
|
|
32
37
|
/** Id of the member org */
|
|
@@ -49,6 +54,8 @@ export interface DataCleanRoomMemberRepresentationNormalized {
|
|
|
49
54
|
export interface DataCleanRoomMemberRepresentation {
|
|
50
55
|
invitationId: string;
|
|
51
56
|
invitationStatus: string;
|
|
57
|
+
memberConfigs?: Array<DataCleanRoomMemberConfigRepresentation_DataCleanRoomMemberConfigRepresentation>;
|
|
58
|
+
memberDomainUrl?: string;
|
|
52
59
|
memberId: string;
|
|
53
60
|
memberOrgId?: string;
|
|
54
61
|
memberStatus: string;
|
package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CustomUseCaseTemplateInputRepresentation as CustomUseCaseTemplateInputRepresentation_CustomUseCaseTemplateInputRepresentation } from './CustomUseCaseTemplateInputRepresentation';
|
|
2
2
|
import { DataCleanRoomUseCaseTypeInputRepresentation as DataCleanRoomUseCaseTypeInputRepresentation_DataCleanRoomUseCaseTypeInputRepresentation } from './DataCleanRoomUseCaseTypeInputRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "19e20ec1310b6961f5a6842588ef89ca";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: DataCleanRoomProviderInputRepresentation, existing: DataCleanRoomProviderInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomProviderInputRepresentationNormalized;
|
|
@@ -32,6 +32,10 @@ export interface DataCleanRoomProviderInputRepresentationNormalized {
|
|
|
32
32
|
name?: string;
|
|
33
33
|
/** Off Core Tenant Id of the provider */
|
|
34
34
|
offCoreTenantId?: string;
|
|
35
|
+
/** Dictates the type of the package */
|
|
36
|
+
packageType?: string;
|
|
37
|
+
/** The source of provider data */
|
|
38
|
+
providerDataSource?: string;
|
|
35
39
|
/** Name of the Provider provided by user */
|
|
36
40
|
providerName?: string;
|
|
37
41
|
/** provider source like DataCloud, AWS, GCP */
|
|
@@ -60,6 +64,8 @@ export interface DataCleanRoomProviderInputRepresentation {
|
|
|
60
64
|
logoUrl?: string;
|
|
61
65
|
name?: string;
|
|
62
66
|
offCoreTenantId?: string;
|
|
67
|
+
packageType?: string;
|
|
68
|
+
providerDataSource?: string;
|
|
63
69
|
providerName?: string;
|
|
64
70
|
source?: string;
|
|
65
71
|
sourceConfiguration?: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
|
|
2
2
|
import { DataCleanRoomUseCaseTypeRepresentation as DataCleanRoomUseCaseTypeRepresentation_DataCleanRoomUseCaseTypeRepresentation } from './DataCleanRoomUseCaseTypeRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "164dc6669e5d3d9cf4de1e0546eb0476";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -53,6 +53,10 @@ export interface DataCleanRoomProviderRepresentationNormalized {
|
|
|
53
53
|
namespace?: string;
|
|
54
54
|
/** Data Clean Room Provider Off Core Tenant Id */
|
|
55
55
|
offCoreTenantId?: string;
|
|
56
|
+
/** Dictates the type of the package */
|
|
57
|
+
packageType?: string;
|
|
58
|
+
/** The source of provider data */
|
|
59
|
+
providerDataSource?: string;
|
|
56
60
|
/** Name of the Provider provided by user */
|
|
57
61
|
providerName?: string;
|
|
58
62
|
/** provider source like DataCloud, AWS, GCP */
|
|
@@ -86,6 +90,8 @@ export interface DataCleanRoomProviderRepresentation {
|
|
|
86
90
|
name?: string;
|
|
87
91
|
namespace?: string;
|
|
88
92
|
offCoreTenantId?: string;
|
|
93
|
+
packageType?: string;
|
|
94
|
+
providerDataSource?: string;
|
|
89
95
|
providerName?: string;
|
|
90
96
|
source?: string;
|
|
91
97
|
sourceConfiguration?: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-data-clean-room",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.421.0",
|
|
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.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.421.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.421.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,51 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
function validate$s(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
106
|
+
const v_error = (() => {
|
|
107
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
109
|
+
}
|
|
110
|
+
if (obj.externalId !== undefined) {
|
|
111
|
+
const obj_externalId = obj.externalId;
|
|
112
|
+
const path_externalId = path + '.externalId';
|
|
113
|
+
if (typeof obj_externalId !== 'string') {
|
|
114
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
if (obj.id !== undefined) {
|
|
118
|
+
const obj_id = obj.id;
|
|
119
|
+
const path_id = path + '.id';
|
|
120
|
+
if (typeof obj_id !== 'string') {
|
|
121
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if (obj.outputDestinationId !== undefined) {
|
|
125
|
+
const obj_outputDestinationId = obj.outputDestinationId;
|
|
126
|
+
const path_outputDestinationId = path + '.outputDestinationId';
|
|
127
|
+
if (typeof obj_outputDestinationId !== 'string') {
|
|
128
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationId + '" (at "' + path_outputDestinationId + '")');
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (obj.outputDestinationType !== undefined) {
|
|
132
|
+
const obj_outputDestinationType = obj.outputDestinationType;
|
|
133
|
+
const path_outputDestinationType = path + '.outputDestinationType';
|
|
134
|
+
if (typeof obj_outputDestinationType !== 'string') {
|
|
135
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationType + '" (at "' + path_outputDestinationType + '")');
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
if (obj.templateVersionId !== undefined) {
|
|
139
|
+
const obj_templateVersionId = obj.templateVersionId;
|
|
140
|
+
const path_templateVersionId = path + '.templateVersionId';
|
|
141
|
+
if (typeof obj_templateVersionId !== 'string') {
|
|
142
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateVersionId + '" (at "' + path_templateVersionId + '")');
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
})();
|
|
146
|
+
return v_error === undefined ? null : v_error;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
const VERSION$9 = "cc5736f976c7c58026dd19879ac57f5c";
|
|
106
150
|
function validate$r(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
107
151
|
const v_error = (() => {
|
|
108
152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -118,6 +162,30 @@ function validate$r(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
118
162
|
if (typeof obj_invitationStatus !== 'string') {
|
|
119
163
|
return new TypeError('Expected "string" but received "' + typeof obj_invitationStatus + '" (at "' + path_invitationStatus + '")');
|
|
120
164
|
}
|
|
165
|
+
if (obj.memberConfigs !== undefined) {
|
|
166
|
+
const obj_memberConfigs = obj.memberConfigs;
|
|
167
|
+
const path_memberConfigs = path + '.memberConfigs';
|
|
168
|
+
if (!ArrayIsArray(obj_memberConfigs)) {
|
|
169
|
+
return new TypeError('Expected "array" but received "' + typeof obj_memberConfigs + '" (at "' + path_memberConfigs + '")');
|
|
170
|
+
}
|
|
171
|
+
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
172
|
+
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
173
|
+
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
174
|
+
const referencepath_memberConfigs_itemValidationError = validate$s(obj_memberConfigs_item, path_memberConfigs_item);
|
|
175
|
+
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
176
|
+
let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
177
|
+
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
178
|
+
return new TypeError(message);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
if (obj.memberDomainUrl !== undefined) {
|
|
183
|
+
const obj_memberDomainUrl = obj.memberDomainUrl;
|
|
184
|
+
const path_memberDomainUrl = path + '.memberDomainUrl';
|
|
185
|
+
if (typeof obj_memberDomainUrl !== 'string') {
|
|
186
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberDomainUrl + '" (at "' + path_memberDomainUrl + '")');
|
|
187
|
+
}
|
|
188
|
+
}
|
|
121
189
|
const obj_memberId = obj.memberId;
|
|
122
190
|
const path_memberId = path + '.memberId';
|
|
123
191
|
if (typeof obj_memberId !== 'string') {
|
|
@@ -1499,6 +1567,13 @@ function validate$c(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
1499
1567
|
if (typeof obj_name !== 'string') {
|
|
1500
1568
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1501
1569
|
}
|
|
1570
|
+
if (obj.tooltip !== undefined) {
|
|
1571
|
+
const obj_tooltip = obj.tooltip;
|
|
1572
|
+
const path_tooltip = path + '.tooltip';
|
|
1573
|
+
if (typeof obj_tooltip !== 'string') {
|
|
1574
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tooltip + '" (at "' + path_tooltip + '")');
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1502
1577
|
const obj_type = obj.type;
|
|
1503
1578
|
const path_type = path + '.type';
|
|
1504
1579
|
if (typeof obj_type !== 'string') {
|
|
@@ -1659,7 +1734,7 @@ function validate$7(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
|
1659
1734
|
return v_error === undefined ? null : v_error;
|
|
1660
1735
|
}
|
|
1661
1736
|
|
|
1662
|
-
const VERSION$6 = "
|
|
1737
|
+
const VERSION$6 = "164dc6669e5d3d9cf4de1e0546eb0476";
|
|
1663
1738
|
function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
1664
1739
|
const v_error = (() => {
|
|
1665
1740
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1767,6 +1842,20 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1767
1842
|
return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
|
|
1768
1843
|
}
|
|
1769
1844
|
}
|
|
1845
|
+
if (obj.packageType !== undefined) {
|
|
1846
|
+
const obj_packageType = obj.packageType;
|
|
1847
|
+
const path_packageType = path + '.packageType';
|
|
1848
|
+
if (typeof obj_packageType !== 'string') {
|
|
1849
|
+
return new TypeError('Expected "string" but received "' + typeof obj_packageType + '" (at "' + path_packageType + '")');
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
if (obj.providerDataSource !== undefined) {
|
|
1853
|
+
const obj_providerDataSource = obj.providerDataSource;
|
|
1854
|
+
const path_providerDataSource = path + '.providerDataSource';
|
|
1855
|
+
if (typeof obj_providerDataSource !== 'string') {
|
|
1856
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerDataSource + '" (at "' + path_providerDataSource + '")');
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1770
1859
|
if (obj.providerName !== undefined) {
|
|
1771
1860
|
const obj_providerName = obj.providerName;
|
|
1772
1861
|
const path_providerName = path + '.providerName';
|
|
@@ -1925,6 +2014,8 @@ const createProvider_ConfigPropertyMetadata = [
|
|
|
1925
2014
|
generateParamConfigMetadata('useCaseTypeConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1926
2015
|
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
1927
2016
|
generateParamConfigMetadata('sourceConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2017
|
+
generateParamConfigMetadata('packageType', false, 2 /* Body */, 0 /* String */),
|
|
2018
|
+
generateParamConfigMetadata('providerDataSource', false, 2 /* Body */, 0 /* String */),
|
|
1928
2019
|
];
|
|
1929
2020
|
const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createProvider_ConfigPropertyMetadata);
|
|
1930
2021
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createProvider_ConfigPropertyMetadata);
|
|
@@ -4089,4 +4180,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4089
4180
|
});
|
|
4090
4181
|
|
|
4091
4182
|
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 };
|
|
4092
|
-
// version: 1.
|
|
4183
|
+
// version: 1.421.0-45320a2742
|
package/src/raml/api.raml
CHANGED
|
@@ -150,6 +150,14 @@ types:
|
|
|
150
150
|
description: Other source related configuration DC/AWS
|
|
151
151
|
type: any
|
|
152
152
|
required: false
|
|
153
|
+
packageType:
|
|
154
|
+
description: Dictates the type of the package
|
|
155
|
+
type: string
|
|
156
|
+
required: false
|
|
157
|
+
providerDataSource:
|
|
158
|
+
description: The source of provider data
|
|
159
|
+
type: string
|
|
160
|
+
required: false
|
|
153
161
|
DataCleanRoomProviderRepresentation:
|
|
154
162
|
description: Represents Cdp Data Clean Room Provider
|
|
155
163
|
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|
|
@@ -228,6 +236,14 @@ types:
|
|
|
228
236
|
description: Dictates whether useCase provided is of type Overlap/Activation/Custom
|
|
229
237
|
type: DataCleanRoomUseCaseTypeRepresentation
|
|
230
238
|
required: false
|
|
239
|
+
packageType:
|
|
240
|
+
description: Dictates the type of the package
|
|
241
|
+
type: string
|
|
242
|
+
required: false
|
|
243
|
+
providerDataSource:
|
|
244
|
+
description: The source of provider data
|
|
245
|
+
type: string
|
|
246
|
+
required: false
|
|
231
247
|
UseCaseTemplateMappingAttributeRepresentation:
|
|
232
248
|
description: Represents Cdp Data Clean Room Mapping details
|
|
233
249
|
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|
|
@@ -504,6 +520,16 @@ types:
|
|
|
504
520
|
specificationId?:
|
|
505
521
|
description: Reference key to DataCleanRoomDataSpecification
|
|
506
522
|
type: string
|
|
523
|
+
memberDomainUrl:
|
|
524
|
+
description: Member org domain URL
|
|
525
|
+
type: string
|
|
526
|
+
required: false
|
|
527
|
+
memberConfigs:
|
|
528
|
+
description: Member configs assocaited with the template
|
|
529
|
+
type: array
|
|
530
|
+
items:
|
|
531
|
+
type: DataCleanRoomMemberConfigRepresentation
|
|
532
|
+
required: false
|
|
507
533
|
DataCleanRoomSpecificationCollectionRepresentation:
|
|
508
534
|
description: Represents Data Clean Room Specification Collection
|
|
509
535
|
# TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
|
|
@@ -961,6 +987,10 @@ types:
|
|
|
961
987
|
description: defaultValue of the custom template column
|
|
962
988
|
type: string
|
|
963
989
|
required: false
|
|
990
|
+
tooltip:
|
|
991
|
+
description: Text displayed in the UI when the user interacts with the Info icon.
|
|
992
|
+
type: string
|
|
993
|
+
required: false
|
|
964
994
|
|
|
965
995
|
CustomUseCaseTemplateQueryInputRepresentation:
|
|
966
996
|
description: Represents data clean room custom template query input
|
|
@@ -1064,6 +1094,31 @@ types:
|
|
|
1064
1094
|
items:
|
|
1065
1095
|
type: string
|
|
1066
1096
|
|
|
1097
|
+
DataCleanRoomMemberConfigRepresentation:
|
|
1098
|
+
description: Represents member configs associated with template
|
|
1099
|
+
type: object
|
|
1100
|
+
properties:
|
|
1101
|
+
id:
|
|
1102
|
+
description: Id of the member config
|
|
1103
|
+
type: string
|
|
1104
|
+
required: false
|
|
1105
|
+
templateVersionId:
|
|
1106
|
+
description: Reference key to DataCleanRoomTemplateVer
|
|
1107
|
+
type: string
|
|
1108
|
+
required: false
|
|
1109
|
+
outputDestinationId:
|
|
1110
|
+
description: Reference key to OutputDestination
|
|
1111
|
+
type: string
|
|
1112
|
+
required: false
|
|
1113
|
+
outputDestinationType:
|
|
1114
|
+
description: Output destination type
|
|
1115
|
+
type: string
|
|
1116
|
+
required: false
|
|
1117
|
+
externalId:
|
|
1118
|
+
description: Unique identifier for the output destination connection
|
|
1119
|
+
type: string
|
|
1120
|
+
required: false
|
|
1121
|
+
|
|
1067
1122
|
/ssot:
|
|
1068
1123
|
/data-clean-room:
|
|
1069
1124
|
/providers:
|