@salesforce/lds-adapters-cdp-data-clean-room 1.404.0-dev1 → 1.404.0-dev11
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 = "838a38ab153e1dd3331fe38ec216c0ae";
|
|
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');
|
|
@@ -1648,7 +1671,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1648
1671
|
if (obj.lastModifiedBy !== undefined) {
|
|
1649
1672
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1650
1673
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1651
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1674
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1652
1675
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1653
1676
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1654
1677
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1703,7 +1726,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1703
1726
|
if (obj.templateVersion !== undefined) {
|
|
1704
1727
|
const obj_templateVersion = obj.templateVersion;
|
|
1705
1728
|
const path_templateVersion = path + '.templateVersion';
|
|
1706
|
-
const referencepath_templateVersionValidationError = validate$
|
|
1729
|
+
const referencepath_templateVersionValidationError = validate$9(obj_templateVersion, path_templateVersion);
|
|
1707
1730
|
if (referencepath_templateVersionValidationError !== null) {
|
|
1708
1731
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1709
1732
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1749,7 +1772,7 @@ function equals$7(existing, incoming) {
|
|
|
1749
1772
|
}
|
|
1750
1773
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1751
1774
|
if (process.env.NODE_ENV !== 'production') {
|
|
1752
|
-
const validateError = validate$
|
|
1775
|
+
const validateError = validate$8(input);
|
|
1753
1776
|
if (validateError !== null) {
|
|
1754
1777
|
throw validateError;
|
|
1755
1778
|
}
|
|
@@ -1770,7 +1793,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1770
1793
|
}
|
|
1771
1794
|
|
|
1772
1795
|
const VERSION$6 = "6fb37e337652e88218f2171d1e56647b";
|
|
1773
|
-
function validate$
|
|
1796
|
+
function validate$7(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
|
|
1774
1797
|
const v_error = (() => {
|
|
1775
1798
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1776
1799
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1964,7 +1987,7 @@ function equals$6(existing, incoming) {
|
|
|
1964
1987
|
}
|
|
1965
1988
|
const ingest$6 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1966
1989
|
if (process.env.NODE_ENV !== 'production') {
|
|
1967
|
-
const validateError = validate$
|
|
1990
|
+
const validateError = validate$7(input);
|
|
1968
1991
|
if (validateError !== null) {
|
|
1969
1992
|
throw validateError;
|
|
1970
1993
|
}
|
|
@@ -2225,7 +2248,51 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
2225
2248
|
};
|
|
2226
2249
|
};
|
|
2227
2250
|
|
|
2228
|
-
|
|
2251
|
+
function validate$6(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
|
|
2252
|
+
const v_error = (() => {
|
|
2253
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2254
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2255
|
+
}
|
|
2256
|
+
if (obj.externalId !== undefined) {
|
|
2257
|
+
const obj_externalId = obj.externalId;
|
|
2258
|
+
const path_externalId = path + '.externalId';
|
|
2259
|
+
if (typeof obj_externalId !== 'string') {
|
|
2260
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
if (obj.id !== undefined) {
|
|
2264
|
+
const obj_id = obj.id;
|
|
2265
|
+
const path_id = path + '.id';
|
|
2266
|
+
if (typeof obj_id !== 'string') {
|
|
2267
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
if (obj.outputDestinationId !== undefined) {
|
|
2271
|
+
const obj_outputDestinationId = obj.outputDestinationId;
|
|
2272
|
+
const path_outputDestinationId = path + '.outputDestinationId';
|
|
2273
|
+
if (typeof obj_outputDestinationId !== 'string') {
|
|
2274
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationId + '" (at "' + path_outputDestinationId + '")');
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
if (obj.outputDestinationType !== undefined) {
|
|
2278
|
+
const obj_outputDestinationType = obj.outputDestinationType;
|
|
2279
|
+
const path_outputDestinationType = path + '.outputDestinationType';
|
|
2280
|
+
if (typeof obj_outputDestinationType !== 'string') {
|
|
2281
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationType + '" (at "' + path_outputDestinationType + '")');
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
if (obj.templateVersionId !== undefined) {
|
|
2285
|
+
const obj_templateVersionId = obj.templateVersionId;
|
|
2286
|
+
const path_templateVersionId = path + '.templateVersionId';
|
|
2287
|
+
if (typeof obj_templateVersionId !== 'string') {
|
|
2288
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateVersionId + '" (at "' + path_templateVersionId + '")');
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
})();
|
|
2292
|
+
return v_error === undefined ? null : v_error;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
const VERSION$5 = "cc5736f976c7c58026dd19879ac57f5c";
|
|
2229
2296
|
function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
2230
2297
|
const v_error = (() => {
|
|
2231
2298
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2241,6 +2308,30 @@ function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
2241
2308
|
if (typeof obj_invitationStatus !== 'string') {
|
|
2242
2309
|
return new TypeError('Expected "string" but received "' + typeof obj_invitationStatus + '" (at "' + path_invitationStatus + '")');
|
|
2243
2310
|
}
|
|
2311
|
+
if (obj.memberConfigs !== undefined) {
|
|
2312
|
+
const obj_memberConfigs = obj.memberConfigs;
|
|
2313
|
+
const path_memberConfigs = path + '.memberConfigs';
|
|
2314
|
+
if (!ArrayIsArray(obj_memberConfigs)) {
|
|
2315
|
+
return new TypeError('Expected "array" but received "' + typeof obj_memberConfigs + '" (at "' + path_memberConfigs + '")');
|
|
2316
|
+
}
|
|
2317
|
+
for (let i = 0; i < obj_memberConfigs.length; i++) {
|
|
2318
|
+
const obj_memberConfigs_item = obj_memberConfigs[i];
|
|
2319
|
+
const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
|
|
2320
|
+
const referencepath_memberConfigs_itemValidationError = validate$6(obj_memberConfigs_item, path_memberConfigs_item);
|
|
2321
|
+
if (referencepath_memberConfigs_itemValidationError !== null) {
|
|
2322
|
+
let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
|
|
2323
|
+
message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2324
|
+
return new TypeError(message);
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
if (obj.memberDomainUrl !== undefined) {
|
|
2329
|
+
const obj_memberDomainUrl = obj.memberDomainUrl;
|
|
2330
|
+
const path_memberDomainUrl = path + '.memberDomainUrl';
|
|
2331
|
+
if (typeof obj_memberDomainUrl !== 'string') {
|
|
2332
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberDomainUrl + '" (at "' + path_memberDomainUrl + '")');
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2244
2335
|
const obj_memberId = obj.memberId;
|
|
2245
2336
|
const path_memberId = path + '.memberId';
|
|
2246
2337
|
if (typeof obj_memberId !== 'string') {
|
|
@@ -2343,7 +2434,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2343
2434
|
if (obj.createdBy !== undefined) {
|
|
2344
2435
|
const obj_createdBy = obj.createdBy;
|
|
2345
2436
|
const path_createdBy = path + '.createdBy';
|
|
2346
|
-
const referencepath_createdByValidationError = validate$
|
|
2437
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
2347
2438
|
if (referencepath_createdByValidationError !== null) {
|
|
2348
2439
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
2349
2440
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2386,7 +2477,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2386
2477
|
if (obj.lastModifiedBy !== undefined) {
|
|
2387
2478
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2388
2479
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2389
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2480
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2390
2481
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2391
2482
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2392
2483
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2436,7 +2527,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2436
2527
|
}
|
|
2437
2528
|
const obj_templateVersion = obj.templateVersion;
|
|
2438
2529
|
const path_templateVersion = path + '.templateVersion';
|
|
2439
|
-
const referencepath_templateVersionValidationError = validate$
|
|
2530
|
+
const referencepath_templateVersionValidationError = validate$9(obj_templateVersion, path_templateVersion);
|
|
2440
2531
|
if (referencepath_templateVersionValidationError !== null) {
|
|
2441
2532
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
2442
2533
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2909,7 +3000,7 @@ function validate$2(obj, path = 'DataCleanRoomTemplateCollectionRepresentation')
|
|
|
2909
3000
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
2910
3001
|
const obj_templates_item = obj_templates[i];
|
|
2911
3002
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
2912
|
-
const referencepath_templates_itemValidationError = validate$
|
|
3003
|
+
const referencepath_templates_itemValidationError = validate$9(obj_templates_item, path_templates_item);
|
|
2913
3004
|
if (referencepath_templates_itemValidationError !== null) {
|
|
2914
3005
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
2915
3006
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3300,7 +3391,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3300
3391
|
if (obj.createdBy !== undefined) {
|
|
3301
3392
|
const obj_createdBy = obj.createdBy;
|
|
3302
3393
|
const path_createdBy = path + '.createdBy';
|
|
3303
|
-
const referencepath_createdByValidationError = validate$
|
|
3394
|
+
const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
|
|
3304
3395
|
if (referencepath_createdByValidationError !== null) {
|
|
3305
3396
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3306
3397
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3350,7 +3441,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
3350
3441
|
if (obj.lastModifiedBy !== undefined) {
|
|
3351
3442
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3352
3443
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3353
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3444
|
+
const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3354
3445
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3355
3446
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3356
3447
|
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.404.0-
|
|
3
|
+
"version": "1.404.0-dev11",
|
|
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-dev11"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.404.0-
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.404.0-dev11"
|
|
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') {
|
|
@@ -1483,6 +1551,13 @@ function validate$c(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
|
1483
1551
|
if (typeof obj_name !== 'string') {
|
|
1484
1552
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1485
1553
|
}
|
|
1554
|
+
if (obj.tooltip !== undefined) {
|
|
1555
|
+
const obj_tooltip = obj.tooltip;
|
|
1556
|
+
const path_tooltip = path + '.tooltip';
|
|
1557
|
+
if (typeof obj_tooltip !== 'string') {
|
|
1558
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tooltip + '" (at "' + path_tooltip + '")');
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1486
1561
|
const obj_type = obj.type;
|
|
1487
1562
|
const path_type = path + '.type';
|
|
1488
1563
|
if (typeof obj_type !== 'string') {
|
|
@@ -1643,7 +1718,7 @@ function validate$7(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
|
1643
1718
|
return v_error === undefined ? null : v_error;
|
|
1644
1719
|
}
|
|
1645
1720
|
|
|
1646
|
-
const VERSION$6 = "
|
|
1721
|
+
const VERSION$6 = "164dc6669e5d3d9cf4de1e0546eb0476";
|
|
1647
1722
|
function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
1648
1723
|
const v_error = (() => {
|
|
1649
1724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1751,6 +1826,20 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1751
1826
|
return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
|
|
1752
1827
|
}
|
|
1753
1828
|
}
|
|
1829
|
+
if (obj.packageType !== undefined) {
|
|
1830
|
+
const obj_packageType = obj.packageType;
|
|
1831
|
+
const path_packageType = path + '.packageType';
|
|
1832
|
+
if (typeof obj_packageType !== 'string') {
|
|
1833
|
+
return new TypeError('Expected "string" but received "' + typeof obj_packageType + '" (at "' + path_packageType + '")');
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
if (obj.providerDataSource !== undefined) {
|
|
1837
|
+
const obj_providerDataSource = obj.providerDataSource;
|
|
1838
|
+
const path_providerDataSource = path + '.providerDataSource';
|
|
1839
|
+
if (typeof obj_providerDataSource !== 'string') {
|
|
1840
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerDataSource + '" (at "' + path_providerDataSource + '")');
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1754
1843
|
if (obj.providerName !== undefined) {
|
|
1755
1844
|
const obj_providerName = obj.providerName;
|
|
1756
1845
|
const path_providerName = path + '.providerName';
|
|
@@ -1909,6 +1998,8 @@ const createProvider_ConfigPropertyMetadata = [
|
|
|
1909
1998
|
generateParamConfigMetadata('useCaseTypeConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1910
1999
|
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
1911
2000
|
generateParamConfigMetadata('sourceConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2001
|
+
generateParamConfigMetadata('packageType', false, 2 /* Body */, 0 /* String */),
|
|
2002
|
+
generateParamConfigMetadata('providerDataSource', false, 2 /* Body */, 0 /* String */),
|
|
1912
2003
|
];
|
|
1913
2004
|
const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createProvider_ConfigPropertyMetadata);
|
|
1914
2005
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createProvider_ConfigPropertyMetadata);
|
|
@@ -4073,4 +4164,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4073
4164
|
});
|
|
4074
4165
|
|
|
4075
4166
|
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 };
|
|
4076
|
-
// version: 1.404.0-
|
|
4167
|
+
// version: 1.404.0-dev11-efd5bd34f5
|
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
|
|
@@ -499,6 +515,16 @@ types:
|
|
|
499
515
|
specificationId?:
|
|
500
516
|
description: Reference key to DataCleanRoomDataSpecification
|
|
501
517
|
type: string
|
|
518
|
+
memberDomainUrl:
|
|
519
|
+
description: Member org domain URL
|
|
520
|
+
type: string
|
|
521
|
+
required: false
|
|
522
|
+
memberConfigs:
|
|
523
|
+
description: Member configs assocaited with the template
|
|
524
|
+
type: array
|
|
525
|
+
items:
|
|
526
|
+
type: DataCleanRoomMemberConfigRepresentation
|
|
527
|
+
required: false
|
|
502
528
|
DataCleanRoomSpecificationCollectionRepresentation:
|
|
503
529
|
description: Represents Data Clean Room Specification Collection
|
|
504
530
|
# TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
|
|
@@ -951,6 +977,10 @@ types:
|
|
|
951
977
|
description: defaultValue of the custom template column
|
|
952
978
|
type: string
|
|
953
979
|
required: false
|
|
980
|
+
tooltip:
|
|
981
|
+
description: Text displayed in the UI when the user interacts with the Info icon.
|
|
982
|
+
type: string
|
|
983
|
+
required: false
|
|
954
984
|
|
|
955
985
|
CustomUseCaseTemplateQueryInputRepresentation:
|
|
956
986
|
description: Represents data clean room custom template query input
|
|
@@ -1054,6 +1084,31 @@ types:
|
|
|
1054
1084
|
items:
|
|
1055
1085
|
type: string
|
|
1056
1086
|
|
|
1087
|
+
DataCleanRoomMemberConfigRepresentation:
|
|
1088
|
+
description: Represents member configs associated with template
|
|
1089
|
+
type: object
|
|
1090
|
+
properties:
|
|
1091
|
+
id:
|
|
1092
|
+
description: Id of the member config
|
|
1093
|
+
type: string
|
|
1094
|
+
required: false
|
|
1095
|
+
templateVersionId:
|
|
1096
|
+
description: Reference key to DataCleanRoomTemplateVer
|
|
1097
|
+
type: string
|
|
1098
|
+
required: false
|
|
1099
|
+
outputDestinationId:
|
|
1100
|
+
description: Reference key to OutputDestination
|
|
1101
|
+
type: string
|
|
1102
|
+
required: false
|
|
1103
|
+
outputDestinationType:
|
|
1104
|
+
description: Output destination type
|
|
1105
|
+
type: string
|
|
1106
|
+
required: false
|
|
1107
|
+
externalId:
|
|
1108
|
+
description: Unique identifier for the output destination connection
|
|
1109
|
+
type: string
|
|
1110
|
+
required: false
|
|
1111
|
+
|
|
1057
1112
|
/ssot:
|
|
1058
1113
|
/data-clean-room:
|
|
1059
1114
|
/providers:
|