@salesforce/lds-adapters-cdp-data-clean-room 1.354.0-dev15 → 1.354.0-dev17
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 +13 -1
- 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/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 +14 -2
- package/src/raml/api.raml +14 -0
|
@@ -122,7 +122,7 @@ function validate$g(obj, path = 'CdpUserRepresentation') {
|
|
|
122
122
|
return v_error === undefined ? null : v_error;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
const VERSION$9 = "
|
|
125
|
+
const VERSION$9 = "7b8c1dda7e7cb9972974bdc212eda9cd";
|
|
126
126
|
function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
127
127
|
const v_error = (() => {
|
|
128
128
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -155,6 +155,11 @@ function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
155
155
|
if (typeof obj_description !== 'string') {
|
|
156
156
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
157
157
|
}
|
|
158
|
+
const obj_domainUrl = obj.domainUrl;
|
|
159
|
+
const path_domainUrl = path + '.domainUrl';
|
|
160
|
+
if (typeof obj_domainUrl !== 'string') {
|
|
161
|
+
return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
|
|
162
|
+
}
|
|
158
163
|
const obj_id = obj.id;
|
|
159
164
|
const path_id = path + '.id';
|
|
160
165
|
if (typeof obj_id !== 'string') {
|
|
@@ -205,6 +210,11 @@ function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
205
210
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
206
211
|
}
|
|
207
212
|
}
|
|
213
|
+
const obj_offCoreTenantId = obj.offCoreTenantId;
|
|
214
|
+
const path_offCoreTenantId = path + '.offCoreTenantId';
|
|
215
|
+
if (typeof obj_offCoreTenantId !== 'string') {
|
|
216
|
+
return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
|
|
217
|
+
}
|
|
208
218
|
const obj_templateNames = obj.templateNames;
|
|
209
219
|
const path_templateNames = path + '.templateNames';
|
|
210
220
|
if (!ArrayIsArray(obj_templateNames)) {
|
|
@@ -695,9 +705,11 @@ const createProvider_ConfigPropertyMetadata = [
|
|
|
695
705
|
generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
|
|
696
706
|
generateParamConfigMetadata('templateNames', true, 2 /* Body */, 0 /* String */, true),
|
|
697
707
|
generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
|
|
708
|
+
generateParamConfigMetadata('domainUrl', true, 2 /* Body */, 0 /* String */),
|
|
698
709
|
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
699
710
|
generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
|
|
700
711
|
generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
|
|
712
|
+
generateParamConfigMetadata('offCoreTenantId', true, 2 /* Body */, 0 /* String */),
|
|
701
713
|
];
|
|
702
714
|
const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createProvider_ConfigPropertyMetadata);
|
|
703
715
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$b(createProvider_ConfigPropertyMetadata);
|
|
@@ -10,9 +10,11 @@ export interface CreateProviderConfig {
|
|
|
10
10
|
description: string;
|
|
11
11
|
templateNames: Array<string>;
|
|
12
12
|
dataCloudOrgId: string;
|
|
13
|
+
domainUrl: string;
|
|
13
14
|
dataspaceName?: string;
|
|
14
15
|
name?: string;
|
|
15
16
|
logoUrl?: string;
|
|
17
|
+
offCoreTenantId: string;
|
|
16
18
|
}
|
|
17
19
|
export declare const createResourceParams: (config: CreateProviderConfig) => resources_postSsotDataCleanRoomProviders_ResourceRequestConfig;
|
|
18
20
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateProviderConfig>): adapter$45$utils_Untrusted<CreateProviderConfig>;
|
|
@@ -6,9 +6,11 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
description: string;
|
|
7
7
|
templateNames: Array<string>;
|
|
8
8
|
dataCloudOrgId: string;
|
|
9
|
+
domainUrl: string;
|
|
9
10
|
dataspaceName?: string;
|
|
10
11
|
name?: string;
|
|
11
12
|
logoUrl?: string;
|
|
13
|
+
offCoreTenantId: string;
|
|
12
14
|
};
|
|
13
15
|
}
|
|
14
16
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.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 = "3bb4e7e088833bacf3d3a0d2a56b038e";
|
|
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: DataCleanRoomProviderInputRepresentation, existing: DataCleanRoomProviderInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomProviderInputRepresentationNormalized;
|
|
@@ -20,12 +20,16 @@ export interface DataCleanRoomProviderInputRepresentationNormalized {
|
|
|
20
20
|
dataspaceName?: string;
|
|
21
21
|
/** description */
|
|
22
22
|
description: string;
|
|
23
|
+
/** Domain URL of the provider */
|
|
24
|
+
domainUrl: string;
|
|
23
25
|
/** label */
|
|
24
26
|
label: string;
|
|
25
27
|
/** Path to logo for discoverability */
|
|
26
28
|
logoUrl?: string;
|
|
27
29
|
/** name */
|
|
28
30
|
name?: string;
|
|
31
|
+
/** Off Core Tenant Id of the provider */
|
|
32
|
+
offCoreTenantId: string;
|
|
29
33
|
/** List of usecase templates that the provider supports */
|
|
30
34
|
templateNames: Array<string>;
|
|
31
35
|
}
|
|
@@ -39,8 +43,10 @@ export interface DataCleanRoomProviderInputRepresentation {
|
|
|
39
43
|
dataCloudOrgId: string;
|
|
40
44
|
dataspaceName?: string;
|
|
41
45
|
description: string;
|
|
46
|
+
domainUrl: string;
|
|
42
47
|
label: string;
|
|
43
48
|
logoUrl?: string;
|
|
44
49
|
name?: string;
|
|
50
|
+
offCoreTenantId: string;
|
|
45
51
|
templateNames: Array<string>;
|
|
46
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "7b8c1dda7e7cb9972974bdc212eda9cd";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -32,6 +32,8 @@ export interface DataCleanRoomProviderRepresentationNormalized {
|
|
|
32
32
|
dataCloudOrgId: string;
|
|
33
33
|
/** Data Clean Room Provider Description */
|
|
34
34
|
description: string;
|
|
35
|
+
/** Data Clean Room Provider Domain Url */
|
|
36
|
+
domainUrl: string;
|
|
35
37
|
/** The 18 character ID of the asset */
|
|
36
38
|
id: string;
|
|
37
39
|
/** Label of the asset */
|
|
@@ -46,6 +48,8 @@ export interface DataCleanRoomProviderRepresentationNormalized {
|
|
|
46
48
|
name?: string;
|
|
47
49
|
/** Namespace of the asset */
|
|
48
50
|
namespace?: string;
|
|
51
|
+
/** Data Clean Room Provider Off Core Tenant Id */
|
|
52
|
+
offCoreTenantId: string;
|
|
49
53
|
/** Data Clean Room Provider Template Names */
|
|
50
54
|
templateNames: Array<string>;
|
|
51
55
|
/** Url */
|
|
@@ -62,6 +66,7 @@ export interface DataCleanRoomProviderRepresentation {
|
|
|
62
66
|
createdDate?: string;
|
|
63
67
|
dataCloudOrgId: string;
|
|
64
68
|
description: string;
|
|
69
|
+
domainUrl: string;
|
|
65
70
|
id: string;
|
|
66
71
|
label?: string;
|
|
67
72
|
lastModifiedBy?: CdpUserRepresentation_CdpUserRepresentation;
|
|
@@ -69,6 +74,7 @@ export interface DataCleanRoomProviderRepresentation {
|
|
|
69
74
|
logoUrl?: string;
|
|
70
75
|
name?: string;
|
|
71
76
|
namespace?: string;
|
|
77
|
+
offCoreTenantId: string;
|
|
72
78
|
templateNames: Array<string>;
|
|
73
79
|
url?: string;
|
|
74
80
|
}
|
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-dev17",
|
|
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-dev17"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.354.0-
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.354.0-dev17"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1264,7 +1264,7 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
|
1264
1264
|
};
|
|
1265
1265
|
};
|
|
1266
1266
|
|
|
1267
|
-
const VERSION$6 = "
|
|
1267
|
+
const VERSION$6 = "7b8c1dda7e7cb9972974bdc212eda9cd";
|
|
1268
1268
|
function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
1269
1269
|
const v_error = (() => {
|
|
1270
1270
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1297,6 +1297,11 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1297
1297
|
if (typeof obj_description !== 'string') {
|
|
1298
1298
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1299
1299
|
}
|
|
1300
|
+
const obj_domainUrl = obj.domainUrl;
|
|
1301
|
+
const path_domainUrl = path + '.domainUrl';
|
|
1302
|
+
if (typeof obj_domainUrl !== 'string') {
|
|
1303
|
+
return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
|
|
1304
|
+
}
|
|
1300
1305
|
const obj_id = obj.id;
|
|
1301
1306
|
const path_id = path + '.id';
|
|
1302
1307
|
if (typeof obj_id !== 'string') {
|
|
@@ -1347,6 +1352,11 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1347
1352
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1348
1353
|
}
|
|
1349
1354
|
}
|
|
1355
|
+
const obj_offCoreTenantId = obj.offCoreTenantId;
|
|
1356
|
+
const path_offCoreTenantId = path + '.offCoreTenantId';
|
|
1357
|
+
if (typeof obj_offCoreTenantId !== 'string') {
|
|
1358
|
+
return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
|
|
1359
|
+
}
|
|
1350
1360
|
const obj_templateNames = obj.templateNames;
|
|
1351
1361
|
const path_templateNames = path + '.templateNames';
|
|
1352
1362
|
if (!ArrayIsArray(obj_templateNames)) {
|
|
@@ -1461,9 +1471,11 @@ const createProvider_ConfigPropertyMetadata = [
|
|
|
1461
1471
|
generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
|
|
1462
1472
|
generateParamConfigMetadata('templateNames', true, 2 /* Body */, 0 /* String */, true),
|
|
1463
1473
|
generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
|
|
1474
|
+
generateParamConfigMetadata('domainUrl', true, 2 /* Body */, 0 /* String */),
|
|
1464
1475
|
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
1465
1476
|
generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
|
|
1466
1477
|
generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
|
|
1478
|
+
generateParamConfigMetadata('offCoreTenantId', true, 2 /* Body */, 0 /* String */),
|
|
1467
1479
|
];
|
|
1468
1480
|
const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createProvider_ConfigPropertyMetadata);
|
|
1469
1481
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$b(createProvider_ConfigPropertyMetadata);
|
|
@@ -3437,4 +3449,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3437
3449
|
});
|
|
3438
3450
|
|
|
3439
3451
|
export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
|
|
3440
|
-
// version: 1.354.0-
|
|
3452
|
+
// version: 1.354.0-dev17-0989532028
|
package/src/raml/api.raml
CHANGED
|
@@ -106,6 +106,10 @@ types:
|
|
|
106
106
|
description: Unique ID representing Data Cloud org
|
|
107
107
|
type: string
|
|
108
108
|
required: true
|
|
109
|
+
domainUrl:
|
|
110
|
+
description: Domain URL of the provider
|
|
111
|
+
type: string
|
|
112
|
+
required: true
|
|
109
113
|
dataspaceName:
|
|
110
114
|
description: dataspaceName
|
|
111
115
|
type: string
|
|
@@ -118,6 +122,10 @@ types:
|
|
|
118
122
|
description: Path to logo for discoverability
|
|
119
123
|
type: string
|
|
120
124
|
required: false
|
|
125
|
+
offCoreTenantId:
|
|
126
|
+
description: Off Core Tenant Id of the provider
|
|
127
|
+
type: string
|
|
128
|
+
required: true
|
|
121
129
|
DataCleanRoomProviderRepresentation:
|
|
122
130
|
description: Represents Cdp Data Clean Room Provider
|
|
123
131
|
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|
|
@@ -156,10 +164,16 @@ types:
|
|
|
156
164
|
description:
|
|
157
165
|
description: Data Clean Room Provider Description
|
|
158
166
|
type: string
|
|
167
|
+
domainUrl:
|
|
168
|
+
description: Data Clean Room Provider Domain Url
|
|
169
|
+
type: string
|
|
159
170
|
logoUrl:
|
|
160
171
|
description: Data Clean Room Provider Logo Url
|
|
161
172
|
type: string
|
|
162
173
|
required: false
|
|
174
|
+
offCoreTenantId:
|
|
175
|
+
description: Data Clean Room Provider Off Core Tenant Id
|
|
176
|
+
type: string
|
|
163
177
|
templateNames:
|
|
164
178
|
description: Data Clean Room Provider Template Names
|
|
165
179
|
type: array
|