@salesforce/lds-adapters-cdp-data-clean-room 1.433.0 → 1.435.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-data-clean-room.js +38 -2
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.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/DataCleanRoomCollaborationRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +39 -3
- package/src/raml/api.raml +20 -0
|
@@ -1989,7 +1989,7 @@ function validate$c(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
1989
1989
|
return v_error === undefined ? null : v_error;
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
|
-
const VERSION$7 = "
|
|
1992
|
+
const VERSION$7 = "daebc7b4442bf99b4d4b2a733554b01e";
|
|
1993
1993
|
function validate$b(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1994
1994
|
const v_error = (() => {
|
|
1995
1995
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2118,6 +2118,23 @@ function validate$b(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
2118
2118
|
return new TypeError(message);
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
|
+
if (obj.templateVersions !== undefined) {
|
|
2122
|
+
const obj_templateVersions = obj.templateVersions;
|
|
2123
|
+
const path_templateVersions = path + '.templateVersions';
|
|
2124
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
2125
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
2126
|
+
}
|
|
2127
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
2128
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
2129
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
2130
|
+
const referencepath_templateVersions_itemValidationError = validate$c(obj_templateVersions_item, path_templateVersions_item);
|
|
2131
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
2132
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
2133
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2134
|
+
return new TypeError(message);
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2121
2138
|
if (obj.url !== undefined) {
|
|
2122
2139
|
const obj_url = obj.url;
|
|
2123
2140
|
const path_url = path + '.url';
|
|
@@ -2581,6 +2598,7 @@ const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
|
|
|
2581
2598
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
2582
2599
|
generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
|
|
2583
2600
|
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
2601
|
+
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
2584
2602
|
];
|
|
2585
2603
|
const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
2586
2604
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
@@ -2834,7 +2852,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2834
2852
|
});
|
|
2835
2853
|
}
|
|
2836
2854
|
|
|
2837
|
-
const VERSION$4 = "
|
|
2855
|
+
const VERSION$4 = "6523b521b58513f345e3ee51cfca270c";
|
|
2838
2856
|
function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
2839
2857
|
const v_error = (() => {
|
|
2840
2858
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2956,6 +2974,23 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2956
2974
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2957
2975
|
return new TypeError(message);
|
|
2958
2976
|
}
|
|
2977
|
+
if (obj.templateVersions !== undefined) {
|
|
2978
|
+
const obj_templateVersions = obj.templateVersions;
|
|
2979
|
+
const path_templateVersions = path + '.templateVersions';
|
|
2980
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
2981
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
2982
|
+
}
|
|
2983
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
2984
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
2985
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
2986
|
+
const referencepath_templateVersions_itemValidationError = validate$c(obj_templateVersions_item, path_templateVersions_item);
|
|
2987
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
2988
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
2989
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2990
|
+
return new TypeError(message);
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
}
|
|
2959
2994
|
if (obj.url !== undefined) {
|
|
2960
2995
|
const obj_url = obj.url;
|
|
2961
2996
|
const path_url = path + '.url';
|
|
@@ -3314,6 +3349,7 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
|
|
|
3314
3349
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
3315
3350
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
3316
3351
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
3352
|
+
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
3317
3353
|
];
|
|
3318
3354
|
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
3319
3355
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
@@ -15,6 +15,7 @@ export interface CreateDataCleanRoomCollaborationConfig {
|
|
|
15
15
|
label: string;
|
|
16
16
|
description?: string;
|
|
17
17
|
templateVersionId?: string;
|
|
18
|
+
useCaseType?: string;
|
|
18
19
|
}
|
|
19
20
|
export declare const createResourceParams: (config: CreateDataCleanRoomCollaborationConfig) => resources_postSsotDataCleanRoomCollaborations_ResourceRequestConfig;
|
|
20
21
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDataCleanRoomCollaborationConfig>): adapter$45$utils_Untrusted<CreateDataCleanRoomCollaborationConfig>;
|
|
@@ -17,6 +17,7 @@ export interface CreateDataCleanRoomSpecificationConfig {
|
|
|
17
17
|
templateVersionId?: string;
|
|
18
18
|
templateType?: string;
|
|
19
19
|
useCaseType?: string;
|
|
20
|
+
providerName?: string;
|
|
20
21
|
}
|
|
21
22
|
export declare const createResourceParams: (config: CreateDataCleanRoomSpecificationConfig) => resources_postSsotDataCleanRoomSpecifications_ResourceRequestConfig;
|
|
22
23
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDataCleanRoomSpecificationConfig>): adapter$45$utils_Untrusted<CreateDataCleanRoomSpecificationConfig>;
|
package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface ResourceRequestConfig {
|
|
|
11
11
|
label: string;
|
|
12
12
|
description?: string;
|
|
13
13
|
templateVersionId?: string;
|
|
14
|
+
useCaseType?: string;
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
17
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface ResourceRequestConfig {
|
|
|
13
13
|
templateVersionId?: string;
|
|
14
14
|
templateType?: string;
|
|
15
15
|
useCaseType?: string;
|
|
16
|
+
providerName?: string;
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
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 = "b5349afe7c8ed8a3808aa17fcef3df50";
|
|
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;
|
|
@@ -32,6 +32,8 @@ export interface DataCleanRoomCollaborationInputRepresentationNormalized {
|
|
|
32
32
|
templateName?: string;
|
|
33
33
|
/** Id of the template version */
|
|
34
34
|
templateVersionId?: string;
|
|
35
|
+
/** useCaseType for which the collaboration is getting created. */
|
|
36
|
+
useCaseType?: string;
|
|
35
37
|
}
|
|
36
38
|
/**
|
|
37
39
|
* Represents Cdp Data clean room collaboration input
|
|
@@ -49,4 +51,5 @@ export interface DataCleanRoomCollaborationInputRepresentation {
|
|
|
49
51
|
specificationDevName: string;
|
|
50
52
|
templateName?: string;
|
|
51
53
|
templateVersionId?: string;
|
|
54
|
+
useCaseType?: string;
|
|
52
55
|
}
|
package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation }
|
|
|
2
2
|
import { DataCleanRoomMemberRepresentation as DataCleanRoomMemberRepresentation_DataCleanRoomMemberRepresentation } from './DataCleanRoomMemberRepresentation';
|
|
3
3
|
import { DataCleanRoomTemplateRepresentation as DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation } from './DataCleanRoomTemplateRepresentation';
|
|
4
4
|
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "6523b521b58513f345e3ee51cfca270c";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -55,6 +55,8 @@ export interface DataCleanRoomCollaborationRepresentationNormalized {
|
|
|
55
55
|
/** Enum for status of data clean room */
|
|
56
56
|
status: string;
|
|
57
57
|
templateVersion: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
|
|
58
|
+
/** List of template versions to which the collaboration is associated to */
|
|
59
|
+
templateVersions?: Array<DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation>;
|
|
58
60
|
/** Url */
|
|
59
61
|
url?: string;
|
|
60
62
|
}
|
|
@@ -80,5 +82,6 @@ export interface DataCleanRoomCollaborationRepresentation {
|
|
|
80
82
|
namespace?: string;
|
|
81
83
|
status: string;
|
|
82
84
|
templateVersion: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
|
|
85
|
+
templateVersions?: Array<DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation>;
|
|
83
86
|
url?: string;
|
|
84
87
|
}
|
|
@@ -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 = "82143115a82ab23efa1f7aa15fc2c239";
|
|
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: DataCleanRoomDataSpecificationInputRepresentation, existing: DataCleanRoomDataSpecificationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataCleanRoomDataSpecificationInputRepresentationNormalized;
|
|
@@ -28,6 +28,8 @@ export interface DataCleanRoomDataSpecificationInputRepresentationNormalized {
|
|
|
28
28
|
name?: string;
|
|
29
29
|
/** Data cloud orgId where the mapping is created */
|
|
30
30
|
ownerOrgId: string;
|
|
31
|
+
/** Provider package for which the mapping is associated to. */
|
|
32
|
+
providerName?: string;
|
|
31
33
|
/** Name of the use case template for which mapping is provided */
|
|
32
34
|
templateName?: string;
|
|
33
35
|
/** Dictates whether template provided is of type SALESFORCE/CUSTOM */
|
|
@@ -51,6 +53,7 @@ export interface DataCleanRoomDataSpecificationInputRepresentation {
|
|
|
51
53
|
memberType: string;
|
|
52
54
|
name?: string;
|
|
53
55
|
ownerOrgId: string;
|
|
56
|
+
providerName?: string;
|
|
54
57
|
templateName?: string;
|
|
55
58
|
templateType?: string;
|
|
56
59
|
templateVersionId?: string;
|
package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation }
|
|
|
2
2
|
import { UseCaseTemplateMappingRepresentation as UseCaseTemplateMappingRepresentation_UseCaseTemplateMappingRepresentation } from './UseCaseTemplateMappingRepresentation';
|
|
3
3
|
import { DataCleanRoomTemplateRepresentation as DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation } from './DataCleanRoomTemplateRepresentation';
|
|
4
4
|
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';
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "daebc7b4442bf99b4d4b2a733554b01e";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -59,6 +59,8 @@ export interface DataCleanRoomDataSpecificationRepresentationNormalized {
|
|
|
59
59
|
/** Data Clean Room Data Specification Status */
|
|
60
60
|
status: string;
|
|
61
61
|
templateVersion?: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
|
|
62
|
+
/** List of template versions to which the collaboration is associated to */
|
|
63
|
+
templateVersions?: Array<DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation>;
|
|
62
64
|
/** Url */
|
|
63
65
|
url?: string;
|
|
64
66
|
}
|
|
@@ -86,5 +88,6 @@ export interface DataCleanRoomDataSpecificationRepresentation {
|
|
|
86
88
|
providerId?: string;
|
|
87
89
|
status: string;
|
|
88
90
|
templateVersion?: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
|
|
91
|
+
templateVersions?: Array<DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation>;
|
|
89
92
|
url?: string;
|
|
90
93
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-data-clean-room",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.435.0",
|
|
4
4
|
"description": "API's related to Data Clean Room Feature",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-data-clean-room.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"test:unit": "jest"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.435.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.435.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -882,7 +882,7 @@ function validate$q(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
882
882
|
return v_error === undefined ? null : v_error;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
const VERSION$8 = "
|
|
885
|
+
const VERSION$8 = "6523b521b58513f345e3ee51cfca270c";
|
|
886
886
|
function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
887
887
|
const v_error = (() => {
|
|
888
888
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1004,6 +1004,23 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
1004
1004
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1005
1005
|
return new TypeError(message);
|
|
1006
1006
|
}
|
|
1007
|
+
if (obj.templateVersions !== undefined) {
|
|
1008
|
+
const obj_templateVersions = obj.templateVersions;
|
|
1009
|
+
const path_templateVersions = path + '.templateVersions';
|
|
1010
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
1011
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
1012
|
+
}
|
|
1013
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
1014
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
1015
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
1016
|
+
const referencepath_templateVersions_itemValidationError = validate$q(obj_templateVersions_item, path_templateVersions_item);
|
|
1017
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
1018
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
1019
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1020
|
+
return new TypeError(message);
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1007
1024
|
if (obj.url !== undefined) {
|
|
1008
1025
|
const obj_url = obj.url;
|
|
1009
1026
|
const path_url = path + '.url';
|
|
@@ -1111,6 +1128,7 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
|
|
|
1111
1128
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
1112
1129
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
1113
1130
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
1131
|
+
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
1114
1132
|
];
|
|
1115
1133
|
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
1116
1134
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
@@ -1466,7 +1484,7 @@ function validate$k(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
1466
1484
|
return v_error === undefined ? null : v_error;
|
|
1467
1485
|
}
|
|
1468
1486
|
|
|
1469
|
-
const VERSION$7 = "
|
|
1487
|
+
const VERSION$7 = "daebc7b4442bf99b4d4b2a733554b01e";
|
|
1470
1488
|
function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
1471
1489
|
const v_error = (() => {
|
|
1472
1490
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1595,6 +1613,23 @@ function validate$j(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1595
1613
|
return new TypeError(message);
|
|
1596
1614
|
}
|
|
1597
1615
|
}
|
|
1616
|
+
if (obj.templateVersions !== undefined) {
|
|
1617
|
+
const obj_templateVersions = obj.templateVersions;
|
|
1618
|
+
const path_templateVersions = path + '.templateVersions';
|
|
1619
|
+
if (!ArrayIsArray(obj_templateVersions)) {
|
|
1620
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateVersions + '" (at "' + path_templateVersions + '")');
|
|
1621
|
+
}
|
|
1622
|
+
for (let i = 0; i < obj_templateVersions.length; i++) {
|
|
1623
|
+
const obj_templateVersions_item = obj_templateVersions[i];
|
|
1624
|
+
const path_templateVersions_item = path_templateVersions + '[' + i + ']';
|
|
1625
|
+
const referencepath_templateVersions_itemValidationError = validate$q(obj_templateVersions_item, path_templateVersions_item);
|
|
1626
|
+
if (referencepath_templateVersions_itemValidationError !== null) {
|
|
1627
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersions_item + '")\n';
|
|
1628
|
+
message += referencepath_templateVersions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1629
|
+
return new TypeError(message);
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1598
1633
|
if (obj.url !== undefined) {
|
|
1599
1634
|
const obj_url = obj.url;
|
|
1600
1635
|
const path_url = path + '.url';
|
|
@@ -1704,6 +1739,7 @@ const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
|
|
|
1704
1739
|
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
1705
1740
|
generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
|
|
1706
1741
|
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
1742
|
+
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
1707
1743
|
];
|
|
1708
1744
|
const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
1709
1745
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
@@ -4647,4 +4683,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4647
4683
|
});
|
|
4648
4684
|
|
|
4649
4685
|
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 };
|
|
4650
|
-
// version: 1.
|
|
4686
|
+
// version: 1.435.0-615ebb9bbd
|
package/src/raml/api.raml
CHANGED
|
@@ -410,6 +410,10 @@ types:
|
|
|
410
410
|
description: Dictates whether useCase provided is of type Overlap/Activation/Custom
|
|
411
411
|
type: string
|
|
412
412
|
required: false
|
|
413
|
+
providerName:
|
|
414
|
+
description: Provider package for which the mapping is associated to.
|
|
415
|
+
type: string
|
|
416
|
+
required: false
|
|
413
417
|
DataCleanRoomDataSpecificationRepresentation:
|
|
414
418
|
description: Represents Cdp Data Clean Room Specification
|
|
415
419
|
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|
|
@@ -478,6 +482,12 @@ types:
|
|
|
478
482
|
description: Reference key to DataCleanRoomProvider record
|
|
479
483
|
type: string
|
|
480
484
|
required: false
|
|
485
|
+
templateVersions:
|
|
486
|
+
description: List of template versions to which the collaboration is associated to
|
|
487
|
+
type: array
|
|
488
|
+
items:
|
|
489
|
+
type: DataCleanRoomTemplateRepresentation
|
|
490
|
+
required: false
|
|
481
491
|
DataCleanRoomMemberRepresentation:
|
|
482
492
|
description: Represents Cdp Data Clean Room Members
|
|
483
493
|
type: object
|
|
@@ -597,6 +607,10 @@ types:
|
|
|
597
607
|
description: Id of the template version
|
|
598
608
|
type: string
|
|
599
609
|
required: false
|
|
610
|
+
useCaseType:
|
|
611
|
+
description: useCaseType for which the collaboration is getting created.
|
|
612
|
+
type: string
|
|
613
|
+
required: false
|
|
600
614
|
DataCleanRoomCollaborationRepresentation:
|
|
601
615
|
description: Represents Cdp Data Clean Room Collaboration
|
|
602
616
|
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|
|
@@ -657,6 +671,12 @@ types:
|
|
|
657
671
|
apiKey?:
|
|
658
672
|
description: Api key for collaboration
|
|
659
673
|
type: string
|
|
674
|
+
templateVersions:
|
|
675
|
+
description: List of template versions to which the collaboration is associated to
|
|
676
|
+
type: array
|
|
677
|
+
items:
|
|
678
|
+
type: DataCleanRoomTemplateRepresentation
|
|
679
|
+
required: false
|
|
660
680
|
DataCleanRoomTemplateRepresentation:
|
|
661
681
|
description: Represents Cdp Data Clean Room Template
|
|
662
682
|
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|