@salesforce/lds-adapters-cdp-data-clean-room 1.354.0-dev6 → 1.354.0-dev7
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 +63 -26
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMappingAttributeFilterOptionRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMappingAttributeRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +69 -32
- package/src/raml/api.raml +20 -1
|
@@ -92,7 +92,7 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function validate$
|
|
95
|
+
function validate$e(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 + '")');
|
|
@@ -123,7 +123,7 @@ function validate$d(obj, path = 'CdpUserRepresentation') {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
const VERSION$7 = "929b1bcf37fe62f914c2364146a0f5e6";
|
|
126
|
-
function validate$
|
|
126
|
+
function validate$d(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
127
127
|
const v_error = (() => {
|
|
128
128
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
129
129
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -131,7 +131,7 @@ function validate$c(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
131
131
|
if (obj.createdBy !== undefined) {
|
|
132
132
|
const obj_createdBy = obj.createdBy;
|
|
133
133
|
const path_createdBy = path + '.createdBy';
|
|
134
|
-
const referencepath_createdByValidationError = validate$
|
|
134
|
+
const referencepath_createdByValidationError = validate$e(obj_createdBy, path_createdBy);
|
|
135
135
|
if (referencepath_createdByValidationError !== null) {
|
|
136
136
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
137
137
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -170,7 +170,7 @@ function validate$c(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
170
170
|
if (obj.lastModifiedBy !== undefined) {
|
|
171
171
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
172
172
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
173
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
173
|
+
const referencepath_lastModifiedByValidationError = validate$e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
174
174
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
175
175
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
176
176
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -256,7 +256,7 @@ function equals$7(existing, incoming) {
|
|
|
256
256
|
}
|
|
257
257
|
const ingest$7 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
258
258
|
if (process.env.NODE_ENV !== 'production') {
|
|
259
|
-
const validateError = validate$
|
|
259
|
+
const validateError = validate$d(input);
|
|
260
260
|
if (validateError !== null) {
|
|
261
261
|
throw validateError;
|
|
262
262
|
}
|
|
@@ -277,7 +277,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
const VERSION$6 = "52237eeecd4f8f11ae22e265d9abe5ca";
|
|
280
|
-
function validate$
|
|
280
|
+
function validate$c(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
|
|
281
281
|
const v_error = (() => {
|
|
282
282
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
283
283
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -493,7 +493,7 @@ function equals$6(existing, incoming) {
|
|
|
493
493
|
}
|
|
494
494
|
const ingest$6 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
495
495
|
if (process.env.NODE_ENV !== 'production') {
|
|
496
|
-
const validateError = validate$
|
|
496
|
+
const validateError = validate$c(input);
|
|
497
497
|
if (validateError !== null) {
|
|
498
498
|
throw validateError;
|
|
499
499
|
}
|
|
@@ -552,7 +552,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
552
552
|
function createResourceRequest$8(config) {
|
|
553
553
|
const headers = {};
|
|
554
554
|
return {
|
|
555
|
-
baseUri: '/services/data/
|
|
555
|
+
baseUri: '/services/data/v64.0',
|
|
556
556
|
basePath: '/ssot/data-clean-room/providers',
|
|
557
557
|
method: 'get',
|
|
558
558
|
body: null,
|
|
@@ -678,7 +678,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
678
678
|
function createResourceRequest$7(config) {
|
|
679
679
|
const headers = {};
|
|
680
680
|
return {
|
|
681
|
-
baseUri: '/services/data/
|
|
681
|
+
baseUri: '/services/data/v64.0',
|
|
682
682
|
basePath: '/ssot/data-clean-room/providers',
|
|
683
683
|
method: 'post',
|
|
684
684
|
body: config.body,
|
|
@@ -748,6 +748,32 @@ const createProviderAdapterFactory = (luvio) => {
|
|
|
748
748
|
};
|
|
749
749
|
};
|
|
750
750
|
|
|
751
|
+
function validate$b(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
752
|
+
const v_error = (() => {
|
|
753
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
754
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
755
|
+
}
|
|
756
|
+
const obj_operator = obj.operator;
|
|
757
|
+
const path_operator = path + '.operator';
|
|
758
|
+
if (typeof obj_operator !== 'string') {
|
|
759
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
760
|
+
}
|
|
761
|
+
const obj_values = obj.values;
|
|
762
|
+
const path_values = path + '.values';
|
|
763
|
+
if (!ArrayIsArray(obj_values)) {
|
|
764
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
765
|
+
}
|
|
766
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
767
|
+
const obj_values_item = obj_values[i];
|
|
768
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
769
|
+
if (typeof obj_values_item !== 'string') {
|
|
770
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
})();
|
|
774
|
+
return v_error === undefined ? null : v_error;
|
|
775
|
+
}
|
|
776
|
+
|
|
751
777
|
function validate$a(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
752
778
|
const v_error = (() => {
|
|
753
779
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -816,7 +842,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
816
842
|
if (obj.createdBy !== undefined) {
|
|
817
843
|
const obj_createdBy = obj.createdBy;
|
|
818
844
|
const path_createdBy = path + '.createdBy';
|
|
819
|
-
const referencepath_createdByValidationError = validate$
|
|
845
|
+
const referencepath_createdByValidationError = validate$e(obj_createdBy, path_createdBy);
|
|
820
846
|
if (referencepath_createdByValidationError !== null) {
|
|
821
847
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
822
848
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -840,6 +866,16 @@ function validate$8(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
840
866
|
return new TypeError(message);
|
|
841
867
|
}
|
|
842
868
|
}
|
|
869
|
+
if (obj.filterOptions !== undefined) {
|
|
870
|
+
const obj_filterOptions = obj.filterOptions;
|
|
871
|
+
const path_filterOptions = path + '.filterOptions';
|
|
872
|
+
const referencepath_filterOptionsValidationError = validate$b(obj_filterOptions, path_filterOptions);
|
|
873
|
+
if (referencepath_filterOptionsValidationError !== null) {
|
|
874
|
+
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
875
|
+
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
876
|
+
return new TypeError(message);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
843
879
|
if (obj.id !== undefined) {
|
|
844
880
|
const obj_id = obj.id;
|
|
845
881
|
const path_id = path + '.id';
|
|
@@ -857,7 +893,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
857
893
|
if (obj.lastModifiedBy !== undefined) {
|
|
858
894
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
859
895
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
860
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
896
|
+
const referencepath_lastModifiedByValidationError = validate$e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
861
897
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
862
898
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
863
899
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -947,7 +983,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
947
983
|
if (obj.createdBy !== undefined) {
|
|
948
984
|
const obj_createdBy = obj.createdBy;
|
|
949
985
|
const path_createdBy = path + '.createdBy';
|
|
950
|
-
const referencepath_createdByValidationError = validate$
|
|
986
|
+
const referencepath_createdByValidationError = validate$e(obj_createdBy, path_createdBy);
|
|
951
987
|
if (referencepath_createdByValidationError !== null) {
|
|
952
988
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
953
989
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -978,7 +1014,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
978
1014
|
if (obj.lastModifiedBy !== undefined) {
|
|
979
1015
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
980
1016
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
981
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1017
|
+
const referencepath_lastModifiedByValidationError = validate$e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
982
1018
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
983
1019
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
984
1020
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1026,7 +1062,7 @@ function validate$6(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1026
1062
|
if (obj.createdBy !== undefined) {
|
|
1027
1063
|
const obj_createdBy = obj.createdBy;
|
|
1028
1064
|
const path_createdBy = path + '.createdBy';
|
|
1029
|
-
const referencepath_createdByValidationError = validate$
|
|
1065
|
+
const referencepath_createdByValidationError = validate$e(obj_createdBy, path_createdBy);
|
|
1030
1066
|
if (referencepath_createdByValidationError !== null) {
|
|
1031
1067
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1032
1068
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1073,7 +1109,7 @@ function validate$6(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1073
1109
|
if (obj.lastModifiedBy !== undefined) {
|
|
1074
1110
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1075
1111
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1076
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1112
|
+
const referencepath_lastModifiedByValidationError = validate$e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1077
1113
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1078
1114
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1079
1115
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1436,7 +1472,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1436
1472
|
function createResourceRequest$6(config) {
|
|
1437
1473
|
const headers = {};
|
|
1438
1474
|
return {
|
|
1439
|
-
baseUri: '/services/data/
|
|
1475
|
+
baseUri: '/services/data/v64.0',
|
|
1440
1476
|
basePath: '/ssot/data-clean-room/specifications',
|
|
1441
1477
|
method: 'get',
|
|
1442
1478
|
body: null,
|
|
@@ -1562,7 +1598,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
1562
1598
|
function createResourceRequest$5(config) {
|
|
1563
1599
|
const headers = {};
|
|
1564
1600
|
return {
|
|
1565
|
-
baseUri: '/services/data/
|
|
1601
|
+
baseUri: '/services/data/v64.0',
|
|
1566
1602
|
basePath: '/ssot/data-clean-room/specifications',
|
|
1567
1603
|
method: 'post',
|
|
1568
1604
|
body: config.body,
|
|
@@ -1748,7 +1784,7 @@ function validate$3(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1748
1784
|
if (obj.createdBy !== undefined) {
|
|
1749
1785
|
const obj_createdBy = obj.createdBy;
|
|
1750
1786
|
const path_createdBy = path + '.createdBy';
|
|
1751
|
-
const referencepath_createdByValidationError = validate$
|
|
1787
|
+
const referencepath_createdByValidationError = validate$e(obj_createdBy, path_createdBy);
|
|
1752
1788
|
if (referencepath_createdByValidationError !== null) {
|
|
1753
1789
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1754
1790
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1784,7 +1820,7 @@ function validate$3(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1784
1820
|
if (obj.lastModifiedBy !== undefined) {
|
|
1785
1821
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1786
1822
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1787
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1823
|
+
const referencepath_lastModifiedByValidationError = validate$e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1788
1824
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1789
1825
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1790
1826
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1844,7 +1880,7 @@ function validate$2(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
1844
1880
|
if (obj.createdBy !== undefined) {
|
|
1845
1881
|
const obj_createdBy = obj.createdBy;
|
|
1846
1882
|
const path_createdBy = path + '.createdBy';
|
|
1847
|
-
const referencepath_createdByValidationError = validate$
|
|
1883
|
+
const referencepath_createdByValidationError = validate$e(obj_createdBy, path_createdBy);
|
|
1848
1884
|
if (referencepath_createdByValidationError !== null) {
|
|
1849
1885
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1850
1886
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1887,7 +1923,7 @@ function validate$2(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
1887
1923
|
if (obj.lastModifiedBy !== undefined) {
|
|
1888
1924
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1889
1925
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1890
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1926
|
+
const referencepath_lastModifiedByValidationError = validate$e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1891
1927
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1892
1928
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1893
1929
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2153,7 +2189,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
2153
2189
|
function createResourceRequest$4(config) {
|
|
2154
2190
|
const headers = {};
|
|
2155
2191
|
return {
|
|
2156
|
-
baseUri: '/services/data/
|
|
2192
|
+
baseUri: '/services/data/v64.0',
|
|
2157
2193
|
basePath: '/ssot/data-clean-room/collaborations',
|
|
2158
2194
|
method: 'get',
|
|
2159
2195
|
body: null,
|
|
@@ -2279,7 +2315,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
2279
2315
|
function createResourceRequest$3(config) {
|
|
2280
2316
|
const headers = {};
|
|
2281
2317
|
return {
|
|
2282
|
-
baseUri: '/services/data/
|
|
2318
|
+
baseUri: '/services/data/v64.0',
|
|
2283
2319
|
basePath: '/ssot/data-clean-room/collaborations',
|
|
2284
2320
|
method: 'post',
|
|
2285
2321
|
body: config.body,
|
|
@@ -2299,6 +2335,7 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
|
|
|
2299
2335
|
generateParamConfigMetadata('specificationDevName', true, 2 /* Body */, 0 /* String */),
|
|
2300
2336
|
generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
|
|
2301
2337
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
2338
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
2302
2339
|
];
|
|
2303
2340
|
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
2304
2341
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$9(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
@@ -2500,7 +2537,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
2500
2537
|
function createResourceRequest$2(config) {
|
|
2501
2538
|
const headers = {};
|
|
2502
2539
|
return {
|
|
2503
|
-
baseUri: '/services/data/
|
|
2540
|
+
baseUri: '/services/data/v64.0',
|
|
2504
2541
|
basePath: '/ssot/data-clean-room/templates',
|
|
2505
2542
|
method: 'get',
|
|
2506
2543
|
body: null,
|
|
@@ -2625,7 +2662,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
2625
2662
|
function createResourceRequest$1(config) {
|
|
2626
2663
|
const headers = {};
|
|
2627
2664
|
return {
|
|
2628
|
-
baseUri: '/services/data/
|
|
2665
|
+
baseUri: '/services/data/v64.0',
|
|
2629
2666
|
basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/accept-invitation',
|
|
2630
2667
|
method: 'put',
|
|
2631
2668
|
body: config.body,
|
|
@@ -2717,7 +2754,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
2717
2754
|
function createResourceRequest(config) {
|
|
2718
2755
|
const headers = {};
|
|
2719
2756
|
return {
|
|
2720
|
-
baseUri: '/services/data/
|
|
2757
|
+
baseUri: '/services/data/v64.0',
|
|
2721
2758
|
basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/reject-invitation',
|
|
2722
2759
|
method: 'put',
|
|
2723
2760
|
body: config.body,
|
|
@@ -13,6 +13,7 @@ export interface CreateDataCleanRoomCollaborationConfig {
|
|
|
13
13
|
specificationDevName: string;
|
|
14
14
|
templateName: string;
|
|
15
15
|
label: string;
|
|
16
|
+
description?: string;
|
|
16
17
|
}
|
|
17
18
|
export declare const createResourceParams: (config: CreateDataCleanRoomCollaborationConfig) => resources_postSsotDataCleanRoomCollaborations_ResourceRequestConfig;
|
|
18
19
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDataCleanRoomCollaborationConfig>): adapter$45$utils_Untrusted<CreateDataCleanRoomCollaborationConfig>;
|
package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
9
9
|
specificationDevName: string;
|
|
10
10
|
templateName: string;
|
|
11
11
|
label: string;
|
|
12
|
+
description?: string;
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
15
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.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 = "f153b0903825f4b3b544d813b2a29fa3";
|
|
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: DataCleanRoomCollaborationInputRepresentation, existing: DataCleanRoomCollaborationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomCollaborationInputRepresentationNormalized;
|
|
@@ -20,6 +20,8 @@ export interface DataCleanRoomCollaborationInputRepresentationNormalized {
|
|
|
20
20
|
dataCloudOrgId: string;
|
|
21
21
|
/** Name of data space where data clean is created */
|
|
22
22
|
dataSpaceName?: string;
|
|
23
|
+
/** Description of data clean room */
|
|
24
|
+
description?: string;
|
|
23
25
|
/** Label of the asset */
|
|
24
26
|
label: string;
|
|
25
27
|
/** Developer name of provider definition */
|
|
@@ -39,6 +41,7 @@ export interface DataCleanRoomCollaborationInputRepresentation {
|
|
|
39
41
|
apiKey?: string;
|
|
40
42
|
dataCloudOrgId: string;
|
|
41
43
|
dataSpaceName?: string;
|
|
44
|
+
description?: string;
|
|
42
45
|
label: string;
|
|
43
46
|
providerDevName: string;
|
|
44
47
|
specificationDevName: string;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "23085defd51a2162ad250e3bb3345706";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: UseCaseTemplateMappingAttributeFilterOptionRepresentation, existing: UseCaseTemplateMappingAttributeFilterOptionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UseCaseTemplateMappingAttributeFilterOptionRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: UseCaseTemplateMappingAttributeFilterOptionRepresentationNormalized, incoming: UseCaseTemplateMappingAttributeFilterOptionRepresentationNormalized): 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: UseCaseTemplateMappingAttributeFilterOptionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Data Clean Room UseCase Template Mapping Attribute Filter Config
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface UseCaseTemplateMappingAttributeFilterOptionRepresentationNormalized {
|
|
17
|
+
/** Attribute Filter Operator */
|
|
18
|
+
operator: string;
|
|
19
|
+
/** Attribute Filter Values */
|
|
20
|
+
values: Array<string>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Data Clean Room UseCase Template Mapping Attribute Filter Config
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface UseCaseTemplateMappingAttributeFilterOptionRepresentation {
|
|
29
|
+
operator: string;
|
|
30
|
+
values: Array<string>;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMappingAttributeRepresentation.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
|
|
2
2
|
import { UseCaseTemplateMappingRepresentation as UseCaseTemplateMappingRepresentation_UseCaseTemplateMappingRepresentation } from './UseCaseTemplateMappingRepresentation';
|
|
3
|
+
import { UseCaseTemplateMappingAttributeFilterOptionRepresentation as UseCaseTemplateMappingAttributeFilterOptionRepresentation_UseCaseTemplateMappingAttributeFilterOptionRepresentation } from './UseCaseTemplateMappingAttributeFilterOptionRepresentation';
|
|
3
4
|
import { UseCaseTemplateMappingPathAttributeRepresentation as UseCaseTemplateMappingPathAttributeRepresentation_UseCaseTemplateMappingPathAttributeRepresentation } from './UseCaseTemplateMappingPathAttributeRepresentation';
|
|
4
5
|
import { UseCaseTemplateMappingSubjectAttributeRepresentation as UseCaseTemplateMappingSubjectAttributeRepresentation_UseCaseTemplateMappingSubjectAttributeRepresentation } from './UseCaseTemplateMappingSubjectAttributeRepresentation';
|
|
5
6
|
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';
|
|
6
|
-
export declare const VERSION = "
|
|
7
|
+
export declare const VERSION = "2b23ffcd2875e4ee291aaf32ce5d401d";
|
|
7
8
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
9
|
export declare const RepresentationType: string;
|
|
9
10
|
export declare function normalize(input: UseCaseTemplateMappingAttributeRepresentation, existing: UseCaseTemplateMappingAttributeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UseCaseTemplateMappingAttributeRepresentationNormalized;
|
|
@@ -27,6 +28,7 @@ export interface UseCaseTemplateMappingAttributeRepresentationNormalized {
|
|
|
27
28
|
/** Created date */
|
|
28
29
|
createdDate?: string;
|
|
29
30
|
dataMapping?: UseCaseTemplateMappingRepresentation_UseCaseTemplateMappingRepresentation;
|
|
31
|
+
filterOptions?: UseCaseTemplateMappingAttributeFilterOptionRepresentation_UseCaseTemplateMappingAttributeFilterOptionRepresentation;
|
|
30
32
|
/** The 18 character ID of the asset */
|
|
31
33
|
id?: string;
|
|
32
34
|
/** Label of the asset */
|
|
@@ -57,6 +59,7 @@ export interface UseCaseTemplateMappingAttributeRepresentation {
|
|
|
57
59
|
createdBy?: CdpUserRepresentation_CdpUserRepresentation;
|
|
58
60
|
createdDate?: string;
|
|
59
61
|
dataMapping?: UseCaseTemplateMappingRepresentation_UseCaseTemplateMappingRepresentation;
|
|
62
|
+
filterOptions?: UseCaseTemplateMappingAttributeFilterOptionRepresentation_UseCaseTemplateMappingAttributeFilterOptionRepresentation;
|
|
60
63
|
id?: string;
|
|
61
64
|
label?: string;
|
|
62
65
|
lastModifiedBy?: CdpUserRepresentation_CdpUserRepresentation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-data-clean-room",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev7",
|
|
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.354.0-
|
|
44
|
+
"@salesforce/lds-bindings": "^1.354.0-dev7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.354.0-
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.354.0-dev7"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
const VERSION$7 = "60e6b0a7bcb30c169435125696ac47b1";
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$e(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -182,7 +182,7 @@ function equals$7(existing, incoming) {
|
|
|
182
182
|
}
|
|
183
183
|
const ingest$7 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
184
184
|
if (process.env.NODE_ENV !== 'production') {
|
|
185
|
-
const validateError = validate$
|
|
185
|
+
const validateError = validate$e(input);
|
|
186
186
|
if (validateError !== null) {
|
|
187
187
|
throw validateError;
|
|
188
188
|
}
|
|
@@ -228,7 +228,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
|
|
|
228
228
|
function createResourceRequest$8(config) {
|
|
229
229
|
const headers = {};
|
|
230
230
|
return {
|
|
231
|
-
baseUri: '/services/data/
|
|
231
|
+
baseUri: '/services/data/v64.0',
|
|
232
232
|
basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/accept-invitation',
|
|
233
233
|
method: 'put',
|
|
234
234
|
body: config.body,
|
|
@@ -294,7 +294,7 @@ const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
|
|
|
294
294
|
};
|
|
295
295
|
};
|
|
296
296
|
|
|
297
|
-
function validate$
|
|
297
|
+
function validate$d(obj, path = 'CdpUserRepresentation') {
|
|
298
298
|
const v_error = (() => {
|
|
299
299
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
300
300
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -324,7 +324,7 @@ function validate$c(obj, path = 'CdpUserRepresentation') {
|
|
|
324
324
|
return v_error === undefined ? null : v_error;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
function validate$
|
|
327
|
+
function validate$c(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
328
328
|
const v_error = (() => {
|
|
329
329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
330
330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -337,7 +337,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
337
337
|
if (obj.createdBy !== undefined) {
|
|
338
338
|
const obj_createdBy = obj.createdBy;
|
|
339
339
|
const path_createdBy = path + '.createdBy';
|
|
340
|
-
const referencepath_createdByValidationError = validate$
|
|
340
|
+
const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
|
|
341
341
|
if (referencepath_createdByValidationError !== null) {
|
|
342
342
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
343
343
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -373,7 +373,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
373
373
|
if (obj.lastModifiedBy !== undefined) {
|
|
374
374
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
375
375
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
376
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
376
|
+
const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
|
|
377
377
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
378
378
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
379
379
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -418,7 +418,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
const VERSION$6 = "11bd9b71debcc363b339183bc8d65735";
|
|
421
|
-
function validate$
|
|
421
|
+
function validate$b(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
422
422
|
const v_error = (() => {
|
|
423
423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
424
424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -433,7 +433,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
433
433
|
if (obj.createdBy !== undefined) {
|
|
434
434
|
const obj_createdBy = obj.createdBy;
|
|
435
435
|
const path_createdBy = path + '.createdBy';
|
|
436
|
-
const referencepath_createdByValidationError = validate$
|
|
436
|
+
const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
|
|
437
437
|
if (referencepath_createdByValidationError !== null) {
|
|
438
438
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
439
439
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -476,7 +476,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
476
476
|
if (obj.lastModifiedBy !== undefined) {
|
|
477
477
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
478
478
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
479
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
479
|
+
const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
|
|
480
480
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
481
481
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
482
482
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -498,7 +498,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
498
498
|
for (let i = 0; i < obj_members.length; i++) {
|
|
499
499
|
const obj_members_item = obj_members[i];
|
|
500
500
|
const path_members_item = path_members + '[' + i + ']';
|
|
501
|
-
const referencepath_members_itemValidationError = validate$
|
|
501
|
+
const referencepath_members_itemValidationError = validate$e(obj_members_item, path_members_item);
|
|
502
502
|
if (referencepath_members_itemValidationError !== null) {
|
|
503
503
|
let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
|
|
504
504
|
message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -526,7 +526,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
526
526
|
}
|
|
527
527
|
const obj_templateVersion = obj.templateVersion;
|
|
528
528
|
const path_templateVersion = path + '.templateVersion';
|
|
529
|
-
const referencepath_templateVersionValidationError = validate$
|
|
529
|
+
const referencepath_templateVersionValidationError = validate$c(obj_templateVersion, path_templateVersion);
|
|
530
530
|
if (referencepath_templateVersionValidationError !== null) {
|
|
531
531
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
532
532
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -571,7 +571,7 @@ function equals$6(existing, incoming) {
|
|
|
571
571
|
}
|
|
572
572
|
const ingest$6 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
573
573
|
if (process.env.NODE_ENV !== 'production') {
|
|
574
|
-
const validateError = validate$
|
|
574
|
+
const validateError = validate$b(input);
|
|
575
575
|
if (validateError !== null) {
|
|
576
576
|
throw validateError;
|
|
577
577
|
}
|
|
@@ -617,7 +617,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
617
617
|
function createResourceRequest$7(config) {
|
|
618
618
|
const headers = {};
|
|
619
619
|
return {
|
|
620
|
-
baseUri: '/services/data/
|
|
620
|
+
baseUri: '/services/data/v64.0',
|
|
621
621
|
basePath: '/ssot/data-clean-room/collaborations',
|
|
622
622
|
method: 'post',
|
|
623
623
|
body: config.body,
|
|
@@ -637,6 +637,7 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
|
|
|
637
637
|
generateParamConfigMetadata('specificationDevName', true, 2 /* Body */, 0 /* String */),
|
|
638
638
|
generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
|
|
639
639
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
640
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
640
641
|
];
|
|
641
642
|
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
642
643
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$9(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
@@ -687,6 +688,32 @@ const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
|
|
|
687
688
|
};
|
|
688
689
|
};
|
|
689
690
|
|
|
691
|
+
function validate$a(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
692
|
+
const v_error = (() => {
|
|
693
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
694
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
695
|
+
}
|
|
696
|
+
const obj_operator = obj.operator;
|
|
697
|
+
const path_operator = path + '.operator';
|
|
698
|
+
if (typeof obj_operator !== 'string') {
|
|
699
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
700
|
+
}
|
|
701
|
+
const obj_values = obj.values;
|
|
702
|
+
const path_values = path + '.values';
|
|
703
|
+
if (!ArrayIsArray(obj_values)) {
|
|
704
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
705
|
+
}
|
|
706
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
707
|
+
const obj_values_item = obj_values[i];
|
|
708
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
709
|
+
if (typeof obj_values_item !== 'string') {
|
|
710
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
})();
|
|
714
|
+
return v_error === undefined ? null : v_error;
|
|
715
|
+
}
|
|
716
|
+
|
|
690
717
|
function validate$9(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
691
718
|
const v_error = (() => {
|
|
692
719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -755,7 +782,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
755
782
|
if (obj.createdBy !== undefined) {
|
|
756
783
|
const obj_createdBy = obj.createdBy;
|
|
757
784
|
const path_createdBy = path + '.createdBy';
|
|
758
|
-
const referencepath_createdByValidationError = validate$
|
|
785
|
+
const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
|
|
759
786
|
if (referencepath_createdByValidationError !== null) {
|
|
760
787
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
761
788
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -779,6 +806,16 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
779
806
|
return new TypeError(message);
|
|
780
807
|
}
|
|
781
808
|
}
|
|
809
|
+
if (obj.filterOptions !== undefined) {
|
|
810
|
+
const obj_filterOptions = obj.filterOptions;
|
|
811
|
+
const path_filterOptions = path + '.filterOptions';
|
|
812
|
+
const referencepath_filterOptionsValidationError = validate$a(obj_filterOptions, path_filterOptions);
|
|
813
|
+
if (referencepath_filterOptionsValidationError !== null) {
|
|
814
|
+
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
815
|
+
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
816
|
+
return new TypeError(message);
|
|
817
|
+
}
|
|
818
|
+
}
|
|
782
819
|
if (obj.id !== undefined) {
|
|
783
820
|
const obj_id = obj.id;
|
|
784
821
|
const path_id = path + '.id';
|
|
@@ -796,7 +833,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
796
833
|
if (obj.lastModifiedBy !== undefined) {
|
|
797
834
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
798
835
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
799
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
836
|
+
const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
|
|
800
837
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
801
838
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
802
839
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -886,7 +923,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
886
923
|
if (obj.createdBy !== undefined) {
|
|
887
924
|
const obj_createdBy = obj.createdBy;
|
|
888
925
|
const path_createdBy = path + '.createdBy';
|
|
889
|
-
const referencepath_createdByValidationError = validate$
|
|
926
|
+
const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
|
|
890
927
|
if (referencepath_createdByValidationError !== null) {
|
|
891
928
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
892
929
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -917,7 +954,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
917
954
|
if (obj.lastModifiedBy !== undefined) {
|
|
918
955
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
919
956
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
920
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
957
|
+
const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
|
|
921
958
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
922
959
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
923
960
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -965,7 +1002,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
965
1002
|
if (obj.createdBy !== undefined) {
|
|
966
1003
|
const obj_createdBy = obj.createdBy;
|
|
967
1004
|
const path_createdBy = path + '.createdBy';
|
|
968
|
-
const referencepath_createdByValidationError = validate$
|
|
1005
|
+
const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
|
|
969
1006
|
if (referencepath_createdByValidationError !== null) {
|
|
970
1007
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
971
1008
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1012,7 +1049,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1012
1049
|
if (obj.lastModifiedBy !== undefined) {
|
|
1013
1050
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1014
1051
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1015
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1052
|
+
const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1016
1053
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1017
1054
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1018
1055
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1147,7 +1184,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
1147
1184
|
function createResourceRequest$6(config) {
|
|
1148
1185
|
const headers = {};
|
|
1149
1186
|
return {
|
|
1150
|
-
baseUri: '/services/data/
|
|
1187
|
+
baseUri: '/services/data/v64.0',
|
|
1151
1188
|
basePath: '/ssot/data-clean-room/specifications',
|
|
1152
1189
|
method: 'post',
|
|
1153
1190
|
body: config.body,
|
|
@@ -1229,7 +1266,7 @@ function validate$4(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1229
1266
|
if (obj.createdBy !== undefined) {
|
|
1230
1267
|
const obj_createdBy = obj.createdBy;
|
|
1231
1268
|
const path_createdBy = path + '.createdBy';
|
|
1232
|
-
const referencepath_createdByValidationError = validate$
|
|
1269
|
+
const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
|
|
1233
1270
|
if (referencepath_createdByValidationError !== null) {
|
|
1234
1271
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1235
1272
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1268,7 +1305,7 @@ function validate$4(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1268
1305
|
if (obj.lastModifiedBy !== undefined) {
|
|
1269
1306
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1270
1307
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1271
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1308
|
+
const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1272
1309
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1273
1310
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1274
1311
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1400,7 +1437,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
1400
1437
|
function createResourceRequest$5(config) {
|
|
1401
1438
|
const headers = {};
|
|
1402
1439
|
return {
|
|
1403
|
-
baseUri: '/services/data/
|
|
1440
|
+
baseUri: '/services/data/v64.0',
|
|
1404
1441
|
basePath: '/ssot/data-clean-room/providers',
|
|
1405
1442
|
method: 'post',
|
|
1406
1443
|
body: config.body,
|
|
@@ -1484,7 +1521,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
|
|
|
1484
1521
|
for (let i = 0; i < obj_collaborations.length; i++) {
|
|
1485
1522
|
const obj_collaborations_item = obj_collaborations[i];
|
|
1486
1523
|
const path_collaborations_item = path_collaborations + '[' + i + ']';
|
|
1487
|
-
const referencepath_collaborations_itemValidationError = validate$
|
|
1524
|
+
const referencepath_collaborations_itemValidationError = validate$b(obj_collaborations_item, path_collaborations_item);
|
|
1488
1525
|
if (referencepath_collaborations_itemValidationError !== null) {
|
|
1489
1526
|
let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
|
|
1490
1527
|
message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1621,7 +1658,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
1621
1658
|
function createResourceRequest$4(config) {
|
|
1622
1659
|
const headers = {};
|
|
1623
1660
|
return {
|
|
1624
|
-
baseUri: '/services/data/
|
|
1661
|
+
baseUri: '/services/data/v64.0',
|
|
1625
1662
|
basePath: '/ssot/data-clean-room/collaborations',
|
|
1626
1663
|
method: 'get',
|
|
1627
1664
|
body: null,
|
|
@@ -1997,7 +2034,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1997
2034
|
function createResourceRequest$3(config) {
|
|
1998
2035
|
const headers = {};
|
|
1999
2036
|
return {
|
|
2000
|
-
baseUri: '/services/data/
|
|
2037
|
+
baseUri: '/services/data/v64.0',
|
|
2001
2038
|
basePath: '/ssot/data-clean-room/providers',
|
|
2002
2039
|
method: 'get',
|
|
2003
2040
|
body: null,
|
|
@@ -2351,7 +2388,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
2351
2388
|
function createResourceRequest$2(config) {
|
|
2352
2389
|
const headers = {};
|
|
2353
2390
|
return {
|
|
2354
|
-
baseUri: '/services/data/
|
|
2391
|
+
baseUri: '/services/data/v64.0',
|
|
2355
2392
|
basePath: '/ssot/data-clean-room/specifications',
|
|
2356
2393
|
method: 'get',
|
|
2357
2394
|
body: null,
|
|
@@ -2510,7 +2547,7 @@ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
|
|
|
2510
2547
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
2511
2548
|
const obj_templates_item = obj_templates[i];
|
|
2512
2549
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
2513
|
-
const referencepath_templates_itemValidationError = validate$
|
|
2550
|
+
const referencepath_templates_itemValidationError = validate$c(obj_templates_item, path_templates_item);
|
|
2514
2551
|
if (referencepath_templates_itemValidationError !== null) {
|
|
2515
2552
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
2516
2553
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2602,7 +2639,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
2602
2639
|
function createResourceRequest$1(config) {
|
|
2603
2640
|
const headers = {};
|
|
2604
2641
|
return {
|
|
2605
|
-
baseUri: '/services/data/
|
|
2642
|
+
baseUri: '/services/data/v64.0',
|
|
2606
2643
|
basePath: '/ssot/data-clean-room/templates',
|
|
2607
2644
|
method: 'get',
|
|
2608
2645
|
body: null,
|
|
@@ -2727,7 +2764,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
2727
2764
|
function createResourceRequest(config) {
|
|
2728
2765
|
const headers = {};
|
|
2729
2766
|
return {
|
|
2730
|
-
baseUri: '/services/data/
|
|
2767
|
+
baseUri: '/services/data/v64.0',
|
|
2731
2768
|
basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/reject-invitation',
|
|
2732
2769
|
method: 'put',
|
|
2733
2770
|
body: config.body,
|
|
@@ -2870,4 +2907,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2870
2907
|
});
|
|
2871
2908
|
|
|
2872
2909
|
export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
|
|
2873
|
-
// version: 1.354.0-
|
|
2910
|
+
// version: 1.354.0-dev7-4e860a7769
|
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '63.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v64.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -215,6 +215,9 @@ types:
|
|
|
215
215
|
subjectAttribute:
|
|
216
216
|
description: Subject Attribute
|
|
217
217
|
type: UseCaseTemplateMappingSubjectAttributeRepresentation
|
|
218
|
+
filterOptions?:
|
|
219
|
+
description: Attribute Filter Option
|
|
220
|
+
type: UseCaseTemplateMappingAttributeFilterOptionRepresentation
|
|
218
221
|
UseCaseTemplateMappingPathAttributeRepresentation:
|
|
219
222
|
description: Data Clean Room UseCase Template Mapping Path Attribute Config
|
|
220
223
|
type: object
|
|
@@ -470,6 +473,9 @@ types:
|
|
|
470
473
|
label:
|
|
471
474
|
description: Label of the asset
|
|
472
475
|
type: string
|
|
476
|
+
description?:
|
|
477
|
+
description: Description of data clean room
|
|
478
|
+
type: string
|
|
473
479
|
DataCleanRoomCollaborationRepresentation:
|
|
474
480
|
description: Represents Cdp Data Clean Room Collaboration
|
|
475
481
|
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|
|
@@ -639,6 +645,19 @@ types:
|
|
|
639
645
|
description: Record Id of DataCleanRoomInvitation
|
|
640
646
|
type: string
|
|
641
647
|
|
|
648
|
+
UseCaseTemplateMappingAttributeFilterOptionRepresentation:
|
|
649
|
+
description: Data Clean Room UseCase Template Mapping Attribute Filter Config
|
|
650
|
+
type: object
|
|
651
|
+
properties:
|
|
652
|
+
operator:
|
|
653
|
+
description: Attribute Filter Operator
|
|
654
|
+
type: string
|
|
655
|
+
values:
|
|
656
|
+
description: Attribute Filter Values
|
|
657
|
+
type: array
|
|
658
|
+
items:
|
|
659
|
+
type: string
|
|
660
|
+
|
|
642
661
|
/ssot:
|
|
643
662
|
/data-clean-room:
|
|
644
663
|
/providers:
|