@salesforce/lds-adapters-cdp-data-clean-room 1.444.0 → 1.445.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 +25 -9
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +26 -10
- package/src/raml/api.raml +9 -0
|
@@ -2852,7 +2852,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2852
2852
|
});
|
|
2853
2853
|
}
|
|
2854
2854
|
|
|
2855
|
-
const VERSION$4 = "
|
|
2855
|
+
const VERSION$4 = "05b9af690479642651785a6a6d5e65d6";
|
|
2856
2856
|
function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
2857
2857
|
const v_error = (() => {
|
|
2858
2858
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2966,13 +2966,15 @@ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
2966
2966
|
if (typeof obj_status !== 'string') {
|
|
2967
2967
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
2968
2968
|
}
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2969
|
+
if (obj.templateVersion !== undefined) {
|
|
2970
|
+
const obj_templateVersion = obj.templateVersion;
|
|
2971
|
+
const path_templateVersion = path + '.templateVersion';
|
|
2972
|
+
const referencepath_templateVersionValidationError = validate$c(obj_templateVersion, path_templateVersion);
|
|
2973
|
+
if (referencepath_templateVersionValidationError !== null) {
|
|
2974
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
2975
|
+
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2976
|
+
return new TypeError(message);
|
|
2977
|
+
}
|
|
2976
2978
|
}
|
|
2977
2979
|
if (obj.templateVersions !== undefined) {
|
|
2978
2980
|
const obj_templateVersions = obj.templateVersions;
|
|
@@ -3894,7 +3896,7 @@ const rejectDataCleanRoomInvitationAdapterFactory = (luvio) => {
|
|
|
3894
3896
|
};
|
|
3895
3897
|
};
|
|
3896
3898
|
|
|
3897
|
-
const VERSION$1 = "
|
|
3899
|
+
const VERSION$1 = "abe725dfb62472d5268125b8043a39fa";
|
|
3898
3900
|
function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
3899
3901
|
const v_error = (() => {
|
|
3900
3902
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4016,6 +4018,13 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
4016
4018
|
return new TypeError('Expected "string" but received "' + typeof obj_reportName + '" (at "' + path_reportName + '")');
|
|
4017
4019
|
}
|
|
4018
4020
|
}
|
|
4021
|
+
if (obj.scheduleName !== undefined) {
|
|
4022
|
+
const obj_scheduleName = obj.scheduleName;
|
|
4023
|
+
const path_scheduleName = path + '.scheduleName';
|
|
4024
|
+
if (typeof obj_scheduleName !== 'string') {
|
|
4025
|
+
return new TypeError('Expected "string" but received "' + typeof obj_scheduleName + '" (at "' + path_scheduleName + '")');
|
|
4026
|
+
}
|
|
4027
|
+
}
|
|
4019
4028
|
if (obj.segmentNames !== undefined) {
|
|
4020
4029
|
const obj_segmentNames = obj.segmentNames;
|
|
4021
4030
|
const path_segmentNames = path + '.segmentNames';
|
|
@@ -4049,6 +4058,13 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
4049
4058
|
return new TypeError('Expected "string" but received "' + typeof obj_triggeredDate + '" (at "' + path_triggeredDate + '")');
|
|
4050
4059
|
}
|
|
4051
4060
|
}
|
|
4061
|
+
if (obj.type !== undefined) {
|
|
4062
|
+
const obj_type = obj.type;
|
|
4063
|
+
const path_type = path + '.type';
|
|
4064
|
+
if (typeof obj_type !== 'string') {
|
|
4065
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
4066
|
+
}
|
|
4067
|
+
}
|
|
4052
4068
|
})();
|
|
4053
4069
|
return v_error === undefined ? null : v_error;
|
|
4054
4070
|
}
|
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 = "05b9af690479642651785a6a6d5e65d6";
|
|
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 {
|
|
@@ -54,7 +54,7 @@ export interface DataCleanRoomCollaborationRepresentationNormalized {
|
|
|
54
54
|
namespace?: string;
|
|
55
55
|
/** Enum for status of data clean room */
|
|
56
56
|
status: string;
|
|
57
|
-
templateVersion
|
|
57
|
+
templateVersion?: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
|
|
58
58
|
/** List of template versions to which the collaboration is associated to */
|
|
59
59
|
templateVersions?: Array<DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation>;
|
|
60
60
|
/** Url */
|
|
@@ -81,7 +81,7 @@ export interface DataCleanRoomCollaborationRepresentation {
|
|
|
81
81
|
name?: string;
|
|
82
82
|
namespace?: string;
|
|
83
83
|
status: string;
|
|
84
|
-
templateVersion
|
|
84
|
+
templateVersion?: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
|
|
85
85
|
templateVersions?: Array<DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation>;
|
|
86
86
|
url?: string;
|
|
87
87
|
}
|
|
@@ -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 = "abe725dfb62472d5268125b8043a39fa";
|
|
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 {
|
|
@@ -56,6 +56,8 @@ export interface DataCleanRoomQueryJobRepresentationNormalized {
|
|
|
56
56
|
reportId?: string;
|
|
57
57
|
/** Name of the report associated with output DMO */
|
|
58
58
|
reportName?: string;
|
|
59
|
+
/** Name of the schedule this run is part of, if the type is scheduled. */
|
|
60
|
+
scheduleName?: string;
|
|
59
61
|
/** List of segment names */
|
|
60
62
|
segmentNames?: Array<string>;
|
|
61
63
|
/** Query Status of Query Job */
|
|
@@ -64,6 +66,8 @@ export interface DataCleanRoomQueryJobRepresentationNormalized {
|
|
|
64
66
|
templateVersionId?: string;
|
|
65
67
|
/** Date time at which query was triggered */
|
|
66
68
|
triggeredDate?: string;
|
|
69
|
+
/** Determines the type of query run. */
|
|
70
|
+
type?: string;
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
73
|
* Represents Cdp Data Clean Room Query Job
|
|
@@ -88,8 +92,10 @@ export interface DataCleanRoomQueryJobRepresentation {
|
|
|
88
92
|
queryParam?: unknown;
|
|
89
93
|
reportId?: string;
|
|
90
94
|
reportName?: string;
|
|
95
|
+
scheduleName?: string;
|
|
91
96
|
segmentNames?: Array<string>;
|
|
92
97
|
status: string;
|
|
93
98
|
templateVersionId?: string;
|
|
94
99
|
triggeredDate?: string;
|
|
100
|
+
type?: string;
|
|
95
101
|
}
|
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.445.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.445.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.445.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 = "05b9af690479642651785a6a6d5e65d6";
|
|
886
886
|
function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
887
887
|
const v_error = (() => {
|
|
888
888
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -996,13 +996,15 @@ function validate$p(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
996
996
|
if (typeof obj_status !== 'string') {
|
|
997
997
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
998
998
|
}
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
999
|
+
if (obj.templateVersion !== undefined) {
|
|
1000
|
+
const obj_templateVersion = obj.templateVersion;
|
|
1001
|
+
const path_templateVersion = path + '.templateVersion';
|
|
1002
|
+
const referencepath_templateVersionValidationError = validate$q(obj_templateVersion, path_templateVersion);
|
|
1003
|
+
if (referencepath_templateVersionValidationError !== null) {
|
|
1004
|
+
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1005
|
+
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1006
|
+
return new TypeError(message);
|
|
1007
|
+
}
|
|
1006
1008
|
}
|
|
1007
1009
|
if (obj.templateVersions !== undefined) {
|
|
1008
1010
|
const obj_templateVersions = obj.templateVersions;
|
|
@@ -2581,7 +2583,7 @@ const createProviderAdapterFactory = (luvio) => {
|
|
|
2581
2583
|
};
|
|
2582
2584
|
};
|
|
2583
2585
|
|
|
2584
|
-
const VERSION$5 = "
|
|
2586
|
+
const VERSION$5 = "abe725dfb62472d5268125b8043a39fa";
|
|
2585
2587
|
function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
2586
2588
|
const v_error = (() => {
|
|
2587
2589
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2703,6 +2705,13 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2703
2705
|
return new TypeError('Expected "string" but received "' + typeof obj_reportName + '" (at "' + path_reportName + '")');
|
|
2704
2706
|
}
|
|
2705
2707
|
}
|
|
2708
|
+
if (obj.scheduleName !== undefined) {
|
|
2709
|
+
const obj_scheduleName = obj.scheduleName;
|
|
2710
|
+
const path_scheduleName = path + '.scheduleName';
|
|
2711
|
+
if (typeof obj_scheduleName !== 'string') {
|
|
2712
|
+
return new TypeError('Expected "string" but received "' + typeof obj_scheduleName + '" (at "' + path_scheduleName + '")');
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2706
2715
|
if (obj.segmentNames !== undefined) {
|
|
2707
2716
|
const obj_segmentNames = obj.segmentNames;
|
|
2708
2717
|
const path_segmentNames = path + '.segmentNames';
|
|
@@ -2736,6 +2745,13 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
2736
2745
|
return new TypeError('Expected "string" but received "' + typeof obj_triggeredDate + '" (at "' + path_triggeredDate + '")');
|
|
2737
2746
|
}
|
|
2738
2747
|
}
|
|
2748
|
+
if (obj.type !== undefined) {
|
|
2749
|
+
const obj_type = obj.type;
|
|
2750
|
+
const path_type = path + '.type';
|
|
2751
|
+
if (typeof obj_type !== 'string') {
|
|
2752
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2739
2755
|
})();
|
|
2740
2756
|
return v_error === undefined ? null : v_error;
|
|
2741
2757
|
}
|
|
@@ -4705,4 +4721,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4705
4721
|
});
|
|
4706
4722
|
|
|
4707
4723
|
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 };
|
|
4708
|
-
// version: 1.
|
|
4724
|
+
// version: 1.445.0-6d38a08808
|
package/src/raml/api.raml
CHANGED
|
@@ -668,6 +668,7 @@ types:
|
|
|
668
668
|
templateVersion:
|
|
669
669
|
description: Template Version Info for which data clean room is created
|
|
670
670
|
type: DataCleanRoomTemplateRepresentation
|
|
671
|
+
required: false
|
|
671
672
|
apiKey?:
|
|
672
673
|
description: Api key for collaboration
|
|
673
674
|
type: string
|
|
@@ -1074,6 +1075,14 @@ types:
|
|
|
1074
1075
|
description: Name of the user who executed the query job
|
|
1075
1076
|
type: string
|
|
1076
1077
|
required: false
|
|
1078
|
+
type:
|
|
1079
|
+
description: Determines the type of query run.
|
|
1080
|
+
type: string
|
|
1081
|
+
required: false
|
|
1082
|
+
scheduleName:
|
|
1083
|
+
description: Name of the schedule this run is part of, if the type is scheduled.
|
|
1084
|
+
type: string
|
|
1085
|
+
required: false
|
|
1077
1086
|
|
|
1078
1087
|
DataCleanRoomQueryJobHistoryCollectionRepresentation:
|
|
1079
1088
|
description: Represents Data Clean Room Job History Collection
|