@salesforce/lds-adapters-cdp-communication-capping 1.309.0-dev16 → 1.309.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.
|
@@ -1126,7 +1126,7 @@ function equals$3(existing, incoming) {
|
|
|
1126
1126
|
return true;
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
|
-
const VERSION$2 = "
|
|
1129
|
+
const VERSION$2 = "505be48e54ab7a0b752593e9294c3abd";
|
|
1130
1130
|
function validate$2(obj, path = 'CommunicationCappingRepresentation') {
|
|
1131
1131
|
const v_error = (() => {
|
|
1132
1132
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1248,10 +1248,12 @@ function validate$2(obj, path = 'CommunicationCappingRepresentation') {
|
|
|
1248
1248
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1251
|
+
if (obj.status !== undefined) {
|
|
1252
|
+
const obj_status = obj.status;
|
|
1253
|
+
const path_status = path + '.status';
|
|
1254
|
+
if (typeof obj_status !== 'string') {
|
|
1255
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
1256
|
+
}
|
|
1255
1257
|
}
|
|
1256
1258
|
if (obj.url !== undefined) {
|
|
1257
1259
|
const obj_url = obj.url;
|
|
@@ -1335,7 +1337,8 @@ const select$4 = function CommunicationCappingRepresentationSelect() {
|
|
|
1335
1337
|
},
|
|
1336
1338
|
{
|
|
1337
1339
|
name: 'status',
|
|
1338
|
-
kind: 'Scalar'
|
|
1340
|
+
kind: 'Scalar',
|
|
1341
|
+
required: false
|
|
1339
1342
|
},
|
|
1340
1343
|
{
|
|
1341
1344
|
name: 'url',
|
|
@@ -1410,8 +1413,16 @@ function equals$2(existing, incoming) {
|
|
|
1410
1413
|
}
|
|
1411
1414
|
const existing_status = existing.status;
|
|
1412
1415
|
const incoming_status = incoming.status;
|
|
1413
|
-
if
|
|
1414
|
-
|
|
1416
|
+
// if at least one of these optionals is defined
|
|
1417
|
+
if (existing_status !== undefined || incoming_status !== undefined) {
|
|
1418
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1419
|
+
// not equal
|
|
1420
|
+
if (existing_status === undefined || incoming_status === undefined) {
|
|
1421
|
+
return false;
|
|
1422
|
+
}
|
|
1423
|
+
if (!(existing_status === incoming_status)) {
|
|
1424
|
+
return false;
|
|
1425
|
+
}
|
|
1415
1426
|
}
|
|
1416
1427
|
const existing_url = existing.url;
|
|
1417
1428
|
const incoming_url = incoming.url;
|
|
@@ -2,7 +2,7 @@ import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation }
|
|
|
2
2
|
import { DataSpaceRepresentation as DataSpaceRepresentation_DataSpaceRepresentation } from './DataSpaceRepresentation';
|
|
3
3
|
import { DimensionRepresentation as DimensionRepresentation_DimensionRepresentation } from './DimensionRepresentation';
|
|
4
4
|
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';
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "505be48e54ab7a0b752593e9294c3abd";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export declare function normalize(input: CommunicationCappingRepresentation, existing: CommunicationCappingRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CommunicationCappingRepresentationNormalized;
|
|
@@ -40,7 +40,7 @@ export interface CommunicationCappingRepresentationNormalized {
|
|
|
40
40
|
/** Namespace of the asset */
|
|
41
41
|
namespace?: string;
|
|
42
42
|
/** Communication Capping config status */
|
|
43
|
-
status
|
|
43
|
+
status?: string;
|
|
44
44
|
/** Url */
|
|
45
45
|
url?: string;
|
|
46
46
|
}
|
|
@@ -62,6 +62,6 @@ export interface CommunicationCappingRepresentation {
|
|
|
62
62
|
lastModifiedDate?: string;
|
|
63
63
|
name: string;
|
|
64
64
|
namespace?: string;
|
|
65
|
-
status
|
|
65
|
+
status?: string;
|
|
66
66
|
url?: string;
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-communication-capping",
|
|
3
|
-
"version": "1.309.0-
|
|
3
|
+
"version": "1.309.0-dev17",
|
|
4
4
|
"description": "API's related to Communication capping Feature",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-communication-capping.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.309.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.309.0-dev17"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.309.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.309.0-dev17"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1136,7 +1136,7 @@ function equals$3(existing, incoming) {
|
|
|
1136
1136
|
return true;
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
const VERSION$2 = "
|
|
1139
|
+
const VERSION$2 = "505be48e54ab7a0b752593e9294c3abd";
|
|
1140
1140
|
function validate$2(obj, path = 'CommunicationCappingRepresentation') {
|
|
1141
1141
|
const v_error = (() => {
|
|
1142
1142
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1258,10 +1258,12 @@ function validate$2(obj, path = 'CommunicationCappingRepresentation') {
|
|
|
1258
1258
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1261
|
+
if (obj.status !== undefined) {
|
|
1262
|
+
const obj_status = obj.status;
|
|
1263
|
+
const path_status = path + '.status';
|
|
1264
|
+
if (typeof obj_status !== 'string') {
|
|
1265
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
1266
|
+
}
|
|
1265
1267
|
}
|
|
1266
1268
|
if (obj.url !== undefined) {
|
|
1267
1269
|
const obj_url = obj.url;
|
|
@@ -1345,7 +1347,8 @@ const select$4 = function CommunicationCappingRepresentationSelect() {
|
|
|
1345
1347
|
},
|
|
1346
1348
|
{
|
|
1347
1349
|
name: 'status',
|
|
1348
|
-
kind: 'Scalar'
|
|
1350
|
+
kind: 'Scalar',
|
|
1351
|
+
required: false
|
|
1349
1352
|
},
|
|
1350
1353
|
{
|
|
1351
1354
|
name: 'url',
|
|
@@ -1420,8 +1423,16 @@ function equals$2(existing, incoming) {
|
|
|
1420
1423
|
}
|
|
1421
1424
|
const existing_status = existing.status;
|
|
1422
1425
|
const incoming_status = incoming.status;
|
|
1423
|
-
if
|
|
1424
|
-
|
|
1426
|
+
// if at least one of these optionals is defined
|
|
1427
|
+
if (existing_status !== undefined || incoming_status !== undefined) {
|
|
1428
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1429
|
+
// not equal
|
|
1430
|
+
if (existing_status === undefined || incoming_status === undefined) {
|
|
1431
|
+
return false;
|
|
1432
|
+
}
|
|
1433
|
+
if (!(existing_status === incoming_status)) {
|
|
1434
|
+
return false;
|
|
1435
|
+
}
|
|
1425
1436
|
}
|
|
1426
1437
|
const existing_url = existing.url;
|
|
1427
1438
|
const incoming_url = incoming.url;
|
|
@@ -1949,4 +1960,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1949
1960
|
});
|
|
1950
1961
|
|
|
1951
1962
|
export { getCommunicationCappingRepresentation, getCommunicationCappingRepresentation_imperative, triggerDMOCICreation };
|
|
1952
|
-
// version: 1.309.0-
|
|
1963
|
+
// version: 1.309.0-dev17-63f305eea5
|