@salesforce/lds-adapters-analytics-unifiedanalytics 1.434.0 → 1.435.1
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/analytics-unifiedanalytics.js +191 -130
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/PromotionContentAssetRepresentation.d.ts +46 -0
- package/package.json +3 -3
- package/sfdc/index.js +172 -111
- package/src/raml/api.raml +31 -0
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$1v(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
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 + '")');
|
|
@@ -117,7 +117,7 @@ function validate$1u(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$1u(obj, path = 'AnnotationAssetRepresentation') {
|
|
121
121
|
const v_error = (() => {
|
|
122
122
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
123
123
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -136,7 +136,7 @@ function validate$1t(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
136
136
|
return v_error === undefined ? null : v_error;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
function validate$
|
|
139
|
+
function validate$1t(obj, path = 'FileTypeOutputRepresentation') {
|
|
140
140
|
const v_error = (() => {
|
|
141
141
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
142
142
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -155,7 +155,7 @@ function validate$1s(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
155
155
|
return v_error === undefined ? null : v_error;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1s(obj, path = 'ContentVersionOutputRepresentation') {
|
|
159
159
|
const v_error = (() => {
|
|
160
160
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
161
161
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -169,7 +169,7 @@ function validate$1r(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
169
169
|
const path_filetype = path + '.filetype';
|
|
170
170
|
let obj_filetype_union0 = null;
|
|
171
171
|
const obj_filetype_union0_error = (() => {
|
|
172
|
-
const referencepath_filetypeValidationError = validate$
|
|
172
|
+
const referencepath_filetypeValidationError = validate$1t(obj_filetype, path_filetype);
|
|
173
173
|
if (referencepath_filetypeValidationError !== null) {
|
|
174
174
|
let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
175
175
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -239,14 +239,14 @@ function validate$1r(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
239
239
|
return v_error === undefined ? null : v_error;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
function validate$
|
|
242
|
+
function validate$1r(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
243
243
|
const v_error = (() => {
|
|
244
244
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
245
245
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
246
246
|
}
|
|
247
247
|
const obj_filetype = obj.filetype;
|
|
248
248
|
const path_filetype = path + '.filetype';
|
|
249
|
-
const referencepath_filetypeValidationError = validate$
|
|
249
|
+
const referencepath_filetypeValidationError = validate$1t(obj_filetype, path_filetype);
|
|
250
250
|
if (referencepath_filetypeValidationError !== null) {
|
|
251
251
|
let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
252
252
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -259,7 +259,7 @@ function validate$1q(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
259
259
|
}
|
|
260
260
|
const obj_latestPublishedVersion = obj.latestPublishedVersion;
|
|
261
261
|
const path_latestPublishedVersion = path + '.latestPublishedVersion';
|
|
262
|
-
const referencepath_latestPublishedVersionValidationError = validate$
|
|
262
|
+
const referencepath_latestPublishedVersionValidationError = validate$1s(obj_latestPublishedVersion, path_latestPublishedVersion);
|
|
263
263
|
if (referencepath_latestPublishedVersionValidationError !== null) {
|
|
264
264
|
let message = 'Object doesn\'t match ContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
|
|
265
265
|
message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -279,7 +279,7 @@ function validate$1q(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$1q(obj, path = 'SlackFileOutputRepresentation') {
|
|
283
283
|
const v_error = (() => {
|
|
284
284
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
285
285
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -288,7 +288,7 @@ function validate$1p(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
288
288
|
const path_contentDocument = path + '.contentDocument';
|
|
289
289
|
let obj_contentDocument_union0 = null;
|
|
290
290
|
const obj_contentDocument_union0_error = (() => {
|
|
291
|
-
const referencepath_contentDocumentValidationError = validate$
|
|
291
|
+
const referencepath_contentDocumentValidationError = validate$1r(obj_contentDocument, path_contentDocument);
|
|
292
292
|
if (referencepath_contentDocumentValidationError !== null) {
|
|
293
293
|
let message = 'Object doesn\'t match ContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
|
|
294
294
|
message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -388,7 +388,7 @@ function validate$1p(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
388
388
|
return v_error === undefined ? null : v_error;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
function validate$
|
|
391
|
+
function validate$1p(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
392
392
|
const v_error = (() => {
|
|
393
393
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
394
394
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -512,7 +512,7 @@ function validate$1o(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
512
512
|
return v_error === undefined ? null : v_error;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
function validate$
|
|
515
|
+
function validate$1o(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
516
516
|
const v_error = (() => {
|
|
517
517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
518
518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -839,7 +839,7 @@ function validate$1n(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
839
839
|
const path_statusEmoji = path + '.statusEmoji';
|
|
840
840
|
let obj_statusEmoji_union0 = null;
|
|
841
841
|
const obj_statusEmoji_union0_error = (() => {
|
|
842
|
-
const referencepath_statusEmojiValidationError = validate$
|
|
842
|
+
const referencepath_statusEmojiValidationError = validate$1p(obj_statusEmoji, path_statusEmoji);
|
|
843
843
|
if (referencepath_statusEmojiValidationError !== null) {
|
|
844
844
|
let message = 'Object doesn\'t match SlackEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
|
|
845
845
|
message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -902,7 +902,7 @@ function validate$1n(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
902
902
|
return v_error === undefined ? null : v_error;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
function validate$
|
|
905
|
+
function validate$1n(obj, path = 'SlackReactionOutputRepresentation') {
|
|
906
906
|
const v_error = (() => {
|
|
907
907
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
908
908
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -982,7 +982,7 @@ function validate$1m(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
982
982
|
for (let i = 0; i < obj_reactedUsers.length; i++) {
|
|
983
983
|
const obj_reactedUsers_item = obj_reactedUsers[i];
|
|
984
984
|
const path_reactedUsers_item = path_reactedUsers + '[' + i + ']';
|
|
985
|
-
const referencepath_reactedUsers_itemValidationError = validate$
|
|
985
|
+
const referencepath_reactedUsers_itemValidationError = validate$1o(obj_reactedUsers_item, path_reactedUsers_item);
|
|
986
986
|
if (referencepath_reactedUsers_itemValidationError !== null) {
|
|
987
987
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_reactedUsers_item + '")\n';
|
|
988
988
|
message += referencepath_reactedUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1071,7 +1071,7 @@ function validate$1m(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1071
1071
|
return v_error === undefined ? null : v_error;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
function validate$
|
|
1074
|
+
function validate$1m(obj, path = 'SlackMessageOutputRepresentation') {
|
|
1075
1075
|
const v_error = (() => {
|
|
1076
1076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1077
1077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1120,7 +1120,7 @@ function validate$1l(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1120
1120
|
for (let i = 0; i < obj_files.length; i++) {
|
|
1121
1121
|
const obj_files_item = obj_files[i];
|
|
1122
1122
|
const path_files_item = path_files + '[' + i + ']';
|
|
1123
|
-
const referencepath_files_itemValidationError = validate$
|
|
1123
|
+
const referencepath_files_itemValidationError = validate$1q(obj_files_item, path_files_item);
|
|
1124
1124
|
if (referencepath_files_itemValidationError !== null) {
|
|
1125
1125
|
let message = 'Object doesn\'t match SlackFileOutputRepresentation (at "' + path_files_item + '")\n';
|
|
1126
1126
|
message += referencepath_files_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1281,7 +1281,7 @@ function validate$1l(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1281
1281
|
for (let i = 0; i < obj_reactions.length; i++) {
|
|
1282
1282
|
const obj_reactions_item = obj_reactions[i];
|
|
1283
1283
|
const path_reactions_item = path_reactions + '[' + i + ']';
|
|
1284
|
-
const referencepath_reactions_itemValidationError = validate$
|
|
1284
|
+
const referencepath_reactions_itemValidationError = validate$1n(obj_reactions_item, path_reactions_item);
|
|
1285
1285
|
if (referencepath_reactions_itemValidationError !== null) {
|
|
1286
1286
|
let message = 'Object doesn\'t match SlackReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
|
|
1287
1287
|
message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1322,7 +1322,7 @@ function validate$1l(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1322
1322
|
for (let i = 0; i < obj_replyUsers.length; i++) {
|
|
1323
1323
|
const obj_replyUsers_item = obj_replyUsers[i];
|
|
1324
1324
|
const path_replyUsers_item = path_replyUsers + '[' + i + ']';
|
|
1325
|
-
const referencepath_replyUsers_itemValidationError = validate$
|
|
1325
|
+
const referencepath_replyUsers_itemValidationError = validate$1o(obj_replyUsers_item, path_replyUsers_item);
|
|
1326
1326
|
if (referencepath_replyUsers_itemValidationError !== null) {
|
|
1327
1327
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_replyUsers_item + '")\n';
|
|
1328
1328
|
message += referencepath_replyUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1455,7 +1455,7 @@ function validate$1l(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
const obj_userInfo = obj.userInfo;
|
|
1457
1457
|
const path_userInfo = path + '.userInfo';
|
|
1458
|
-
const referencepath_userInfoValidationError = validate$
|
|
1458
|
+
const referencepath_userInfoValidationError = validate$1o(obj_userInfo, path_userInfo);
|
|
1459
1459
|
if (referencepath_userInfoValidationError !== null) {
|
|
1460
1460
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_userInfo + '")\n';
|
|
1461
1461
|
message += referencepath_userInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1465,7 +1465,7 @@ function validate$1l(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1465
1465
|
return v_error === undefined ? null : v_error;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
function validate$
|
|
1468
|
+
function validate$1l(obj, path = 'AnnotationConversationRepresentation') {
|
|
1469
1469
|
const v_error = (() => {
|
|
1470
1470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1471
1471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1490,7 +1490,7 @@ function validate$1k(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1490
1490
|
const path_message = path + '.message';
|
|
1491
1491
|
let obj_message_union0 = null;
|
|
1492
1492
|
const obj_message_union0_error = (() => {
|
|
1493
|
-
const referencepath_messageValidationError = validate$
|
|
1493
|
+
const referencepath_messageValidationError = validate$1m(obj_message, path_message);
|
|
1494
1494
|
if (referencepath_messageValidationError !== null) {
|
|
1495
1495
|
let message = 'Object doesn\'t match SlackMessageOutputRepresentation (at "' + path_message + '")\n';
|
|
1496
1496
|
message += referencepath_messageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1527,7 +1527,7 @@ function validate$1k(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1527
1527
|
|
|
1528
1528
|
const TTL$u = 1000;
|
|
1529
1529
|
const VERSION$H = "bacc25da56cffff8126d9bdafc471a37";
|
|
1530
|
-
function validate$
|
|
1530
|
+
function validate$1k(obj, path = 'AnnotationRepresentation') {
|
|
1531
1531
|
const v_error = (() => {
|
|
1532
1532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1533
1533
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1535,7 +1535,7 @@ function validate$1j(obj, path = 'AnnotationRepresentation') {
|
|
|
1535
1535
|
if (obj.anchor !== undefined) {
|
|
1536
1536
|
const obj_anchor = obj.anchor;
|
|
1537
1537
|
const path_anchor = path + '.anchor';
|
|
1538
|
-
const referencepath_anchorValidationError = validate$
|
|
1538
|
+
const referencepath_anchorValidationError = validate$1v(obj_anchor, path_anchor);
|
|
1539
1539
|
if (referencepath_anchorValidationError !== null) {
|
|
1540
1540
|
let message = 'Object doesn\'t match DashboardAnnotationAnchorRepresentation (at "' + path_anchor + '")\n';
|
|
1541
1541
|
message += referencepath_anchorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1549,7 +1549,7 @@ function validate$1j(obj, path = 'AnnotationRepresentation') {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
const obj_asset = obj.asset;
|
|
1551
1551
|
const path_asset = path + '.asset';
|
|
1552
|
-
const referencepath_assetValidationError = validate$
|
|
1552
|
+
const referencepath_assetValidationError = validate$1u(obj_asset, path_asset);
|
|
1553
1553
|
if (referencepath_assetValidationError !== null) {
|
|
1554
1554
|
let message = 'Object doesn\'t match AnnotationAssetRepresentation (at "' + path_asset + '")\n';
|
|
1555
1555
|
message += referencepath_assetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1557,7 +1557,7 @@ function validate$1j(obj, path = 'AnnotationRepresentation') {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
const obj_collaborationObject = obj.collaborationObject;
|
|
1559
1559
|
const path_collaborationObject = path + '.collaborationObject';
|
|
1560
|
-
const referencepath_collaborationObjectValidationError = validate$
|
|
1560
|
+
const referencepath_collaborationObjectValidationError = validate$1l(obj_collaborationObject, path_collaborationObject);
|
|
1561
1561
|
if (referencepath_collaborationObjectValidationError !== null) {
|
|
1562
1562
|
let message = 'Object doesn\'t match AnnotationConversationRepresentation (at "' + path_collaborationObject + '")\n';
|
|
1563
1563
|
message += referencepath_collaborationObjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1605,7 +1605,7 @@ function equals$H(existing, incoming) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
const ingest$H = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1607
1607
|
if (process.env.NODE_ENV !== 'production') {
|
|
1608
|
-
const validateError = validate$
|
|
1608
|
+
const validateError = validate$1k(input);
|
|
1609
1609
|
if (validateError !== null) {
|
|
1610
1610
|
throw validateError;
|
|
1611
1611
|
}
|
|
@@ -1726,7 +1726,7 @@ const createAnnotationAdapterFactory = (luvio) => {
|
|
|
1726
1726
|
|
|
1727
1727
|
const TTL$t = 1000;
|
|
1728
1728
|
const VERSION$G = "06ddf1f43b6dbb759e6c6ec14f9d783f";
|
|
1729
|
-
function validate$
|
|
1729
|
+
function validate$1j(obj, path = 'AssetSlackChannelRepresentation') {
|
|
1730
1730
|
const v_error = (() => {
|
|
1731
1731
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1732
1732
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1831,7 +1831,7 @@ function equals$G(existing, incoming) {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
const ingest$G = function AssetSlackChannelRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1833
1833
|
if (process.env.NODE_ENV !== 'production') {
|
|
1834
|
-
const validateError = validate$
|
|
1834
|
+
const validateError = validate$1j(input);
|
|
1835
1835
|
if (validateError !== null) {
|
|
1836
1836
|
throw validateError;
|
|
1837
1837
|
}
|
|
@@ -1944,7 +1944,7 @@ const createAssetSlackChannelAdapterFactory = (luvio) => {
|
|
|
1944
1944
|
};
|
|
1945
1945
|
|
|
1946
1946
|
const VERSION$F = "48241522a2d9c05d07397ef0fdfbce4e";
|
|
1947
|
-
function validate$
|
|
1947
|
+
function validate$1i(obj, path = 'DashboardRepresentation') {
|
|
1948
1948
|
const v_error = (() => {
|
|
1949
1949
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1950
1950
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2097,7 +2097,7 @@ function equals$F(existing, incoming) {
|
|
|
2097
2097
|
}
|
|
2098
2098
|
const ingest$F = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2099
2099
|
if (process.env.NODE_ENV !== 'production') {
|
|
2100
|
-
const validateError = validate$
|
|
2100
|
+
const validateError = validate$1i(input);
|
|
2101
2101
|
if (validateError !== null) {
|
|
2102
2102
|
throw validateError;
|
|
2103
2103
|
}
|
|
@@ -2274,7 +2274,7 @@ var DiscriminatorValues$3;
|
|
|
2274
2274
|
(function (DiscriminatorValues) {
|
|
2275
2275
|
DiscriminatorValues["Notification"] = "Notification";
|
|
2276
2276
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
2277
|
-
function validate$
|
|
2277
|
+
function validate$1h(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
2278
2278
|
const v_error = (() => {
|
|
2279
2279
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2280
2280
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2288,7 +2288,7 @@ function validate$1g(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
2288
2288
|
return v_error === undefined ? null : v_error;
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
|
-
function validate$
|
|
2291
|
+
function validate$1g(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
|
|
2292
2292
|
const v_error = (() => {
|
|
2293
2293
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2294
2294
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2301,7 +2301,7 @@ function validate$1f(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2301
2301
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2302
2302
|
const obj_receivers_item = obj_receivers[i];
|
|
2303
2303
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2304
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2304
|
+
const referencepath_receivers_itemValidationError = validate$1h(obj_receivers_item, path_receivers_item);
|
|
2305
2305
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2306
2306
|
let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
|
|
2307
2307
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2312,7 +2312,7 @@ function validate$1f(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2312
2312
|
return v_error === undefined ? null : v_error;
|
|
2313
2313
|
}
|
|
2314
2314
|
|
|
2315
|
-
function validate$
|
|
2315
|
+
function validate$1f(obj, path = 'UnifiedFilterInputRepresentation') {
|
|
2316
2316
|
const v_error = (() => {
|
|
2317
2317
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2318
2318
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2354,7 +2354,7 @@ var DiscriminatorValues$2;
|
|
|
2354
2354
|
DiscriminatorValues["RawValue"] = "RawValue";
|
|
2355
2355
|
DiscriminatorValues["Insights"] = "Insights";
|
|
2356
2356
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
2357
|
-
function validate$
|
|
2357
|
+
function validate$1e(obj, path = 'DataAlertValueInputRepresentation') {
|
|
2358
2358
|
const v_error = (() => {
|
|
2359
2359
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2360
2360
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2368,7 +2368,7 @@ function validate$1d(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
2368
2368
|
return v_error === undefined ? null : v_error;
|
|
2369
2369
|
}
|
|
2370
2370
|
|
|
2371
|
-
function validate$
|
|
2371
|
+
function validate$1d(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
|
|
2372
2372
|
const v_error = (() => {
|
|
2373
2373
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2374
2374
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2382,14 +2382,14 @@ function validate$1c(obj, path = 'DataAlertValueRightOperandInputRepresentation'
|
|
|
2382
2382
|
return v_error === undefined ? null : v_error;
|
|
2383
2383
|
}
|
|
2384
2384
|
|
|
2385
|
-
function validate$
|
|
2385
|
+
function validate$1c(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
2386
2386
|
const v_error = (() => {
|
|
2387
2387
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2388
2388
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2389
2389
|
}
|
|
2390
2390
|
const obj_leftOperand = obj.leftOperand;
|
|
2391
2391
|
const path_leftOperand = path + '.leftOperand';
|
|
2392
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2392
|
+
const referencepath_leftOperandValidationError = validate$1e(obj_leftOperand, path_leftOperand);
|
|
2393
2393
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2394
2394
|
let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
|
|
2395
2395
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2402,7 +2402,7 @@ function validate$1b(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2402
2402
|
}
|
|
2403
2403
|
const obj_rightOperand = obj.rightOperand;
|
|
2404
2404
|
const path_rightOperand = path + '.rightOperand';
|
|
2405
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2405
|
+
const referencepath_rightOperandValidationError = validate$1d(obj_rightOperand, path_rightOperand);
|
|
2406
2406
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2407
2407
|
let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
|
|
2408
2408
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2412,7 +2412,7 @@ function validate$1b(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2412
2412
|
return v_error === undefined ? null : v_error;
|
|
2413
2413
|
}
|
|
2414
2414
|
|
|
2415
|
-
function validate$
|
|
2415
|
+
function validate$1b(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
2416
2416
|
const v_error = (() => {
|
|
2417
2417
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2418
2418
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2425,7 +2425,7 @@ function validate$1a(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2425
2425
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2426
2426
|
const obj_conditions_item = obj_conditions[i];
|
|
2427
2427
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2428
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2428
|
+
const referencepath_conditions_itemValidationError = validate$1c(obj_conditions_item, path_conditions_item);
|
|
2429
2429
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2430
2430
|
let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
|
|
2431
2431
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2441,7 +2441,7 @@ function validate$1a(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2441
2441
|
return v_error === undefined ? null : v_error;
|
|
2442
2442
|
}
|
|
2443
2443
|
|
|
2444
|
-
function validate$
|
|
2444
|
+
function validate$1a(obj, path = 'DataAlertContentRepresentation') {
|
|
2445
2445
|
const v_error = (() => {
|
|
2446
2446
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2447
2447
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2455,7 +2455,7 @@ function validate$19(obj, path = 'DataAlertContentRepresentation') {
|
|
|
2455
2455
|
return v_error === undefined ? null : v_error;
|
|
2456
2456
|
}
|
|
2457
2457
|
|
|
2458
|
-
function validate$
|
|
2458
|
+
function validate$19(obj, path = 'DataAlertReceiversRepresentation') {
|
|
2459
2459
|
const v_error = (() => {
|
|
2460
2460
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2461
2461
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2469,7 +2469,7 @@ function validate$18(obj, path = 'DataAlertReceiversRepresentation') {
|
|
|
2469
2469
|
return v_error === undefined ? null : v_error;
|
|
2470
2470
|
}
|
|
2471
2471
|
|
|
2472
|
-
function validate$
|
|
2472
|
+
function validate$18(obj, path = 'DataAlertDeliveryConfigurationRepresentation') {
|
|
2473
2473
|
const v_error = (() => {
|
|
2474
2474
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2475
2475
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2482,7 +2482,7 @@ function validate$17(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2482
2482
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2483
2483
|
const obj_receivers_item = obj_receivers[i];
|
|
2484
2484
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2485
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2485
|
+
const referencepath_receivers_itemValidationError = validate$19(obj_receivers_item, path_receivers_item);
|
|
2486
2486
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2487
2487
|
let message = 'Object doesn\'t match DataAlertReceiversRepresentation (at "' + path_receivers_item + '")\n';
|
|
2488
2488
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2493,7 +2493,7 @@ function validate$17(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2493
2493
|
return v_error === undefined ? null : v_error;
|
|
2494
2494
|
}
|
|
2495
2495
|
|
|
2496
|
-
function validate$
|
|
2496
|
+
function validate$17(obj, path = 'DataAlertPropertyFilterOutputRepresentation') {
|
|
2497
2497
|
const v_error = (() => {
|
|
2498
2498
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2499
2499
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2507,7 +2507,7 @@ function validate$16(obj, path = 'DataAlertPropertyFilterOutputRepresentation')
|
|
|
2507
2507
|
return v_error === undefined ? null : v_error;
|
|
2508
2508
|
}
|
|
2509
2509
|
|
|
2510
|
-
function validate$
|
|
2510
|
+
function validate$16(obj, path = 'DataAlertScheduleRepresentation') {
|
|
2511
2511
|
const v_error = (() => {
|
|
2512
2512
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2513
2513
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2535,7 +2535,7 @@ function validate$15(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
2535
2535
|
return v_error === undefined ? null : v_error;
|
|
2536
2536
|
}
|
|
2537
2537
|
|
|
2538
|
-
function validate$
|
|
2538
|
+
function validate$15(obj, path = 'DataAlertValueRepresentation') {
|
|
2539
2539
|
const v_error = (() => {
|
|
2540
2540
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2541
2541
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2549,14 +2549,14 @@ function validate$14(obj, path = 'DataAlertValueRepresentation') {
|
|
|
2549
2549
|
return v_error === undefined ? null : v_error;
|
|
2550
2550
|
}
|
|
2551
2551
|
|
|
2552
|
-
function validate$
|
|
2552
|
+
function validate$14(obj, path = 'DataAlertConditionRepresentation') {
|
|
2553
2553
|
const v_error = (() => {
|
|
2554
2554
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2555
2555
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2556
2556
|
}
|
|
2557
2557
|
const obj_leftOperand = obj.leftOperand;
|
|
2558
2558
|
const path_leftOperand = path + '.leftOperand';
|
|
2559
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2559
|
+
const referencepath_leftOperandValidationError = validate$15(obj_leftOperand, path_leftOperand);
|
|
2560
2560
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2561
2561
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_leftOperand + '")\n';
|
|
2562
2562
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2569,7 +2569,7 @@ function validate$13(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2569
2569
|
}
|
|
2570
2570
|
const obj_rightOperand = obj.rightOperand;
|
|
2571
2571
|
const path_rightOperand = path + '.rightOperand';
|
|
2572
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2572
|
+
const referencepath_rightOperandValidationError = validate$15(obj_rightOperand, path_rightOperand);
|
|
2573
2573
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2574
2574
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_rightOperand + '")\n';
|
|
2575
2575
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2579,7 +2579,7 @@ function validate$13(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2579
2579
|
return v_error === undefined ? null : v_error;
|
|
2580
2580
|
}
|
|
2581
2581
|
|
|
2582
|
-
function validate$
|
|
2582
|
+
function validate$13(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
2583
2583
|
const v_error = (() => {
|
|
2584
2584
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2585
2585
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2592,7 +2592,7 @@ function validate$12(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2592
2592
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2593
2593
|
const obj_conditions_item = obj_conditions[i];
|
|
2594
2594
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2595
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2595
|
+
const referencepath_conditions_itemValidationError = validate$14(obj_conditions_item, path_conditions_item);
|
|
2596
2596
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2597
2597
|
let message = 'Object doesn\'t match DataAlertConditionRepresentation (at "' + path_conditions_item + '")\n';
|
|
2598
2598
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2610,7 +2610,7 @@ function validate$12(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2610
2610
|
|
|
2611
2611
|
const TTL$s = 500;
|
|
2612
2612
|
const VERSION$E = "c2b3a7269126a29557fb07e4baa3abf9";
|
|
2613
|
-
function validate$
|
|
2613
|
+
function validate$12(obj, path = 'DataAlertRepresentation') {
|
|
2614
2614
|
const v_error = (() => {
|
|
2615
2615
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2616
2616
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2650,7 +2650,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2650
2650
|
}
|
|
2651
2651
|
const obj_content = obj.content;
|
|
2652
2652
|
const path_content = path + '.content';
|
|
2653
|
-
const referencepath_contentValidationError = validate$
|
|
2653
|
+
const referencepath_contentValidationError = validate$1a(obj_content, path_content);
|
|
2654
2654
|
if (referencepath_contentValidationError !== null) {
|
|
2655
2655
|
let message = 'Object doesn\'t match DataAlertContentRepresentation (at "' + path_content + '")\n';
|
|
2656
2656
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2668,7 +2668,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2668
2668
|
}
|
|
2669
2669
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
2670
2670
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
2671
|
-
const referencepath_deliveryConfigurationsValidationError = validate$
|
|
2671
|
+
const referencepath_deliveryConfigurationsValidationError = validate$18(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
2672
2672
|
if (referencepath_deliveryConfigurationsValidationError !== null) {
|
|
2673
2673
|
let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
|
|
2674
2674
|
message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2687,7 +2687,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2687
2687
|
if (obj.properties !== undefined) {
|
|
2688
2688
|
const obj_properties = obj.properties;
|
|
2689
2689
|
const path_properties = path + '.properties';
|
|
2690
|
-
const referencepath_propertiesValidationError = validate$
|
|
2690
|
+
const referencepath_propertiesValidationError = validate$17(obj_properties, path_properties);
|
|
2691
2691
|
if (referencepath_propertiesValidationError !== null) {
|
|
2692
2692
|
let message = 'Object doesn\'t match DataAlertPropertyFilterOutputRepresentation (at "' + path_properties + '")\n';
|
|
2693
2693
|
message += referencepath_propertiesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2696,7 +2696,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
const obj_schedule = obj.schedule;
|
|
2698
2698
|
const path_schedule = path + '.schedule';
|
|
2699
|
-
const referencepath_scheduleValidationError = validate$
|
|
2699
|
+
const referencepath_scheduleValidationError = validate$16(obj_schedule, path_schedule);
|
|
2700
2700
|
if (referencepath_scheduleValidationError !== null) {
|
|
2701
2701
|
let message = 'Object doesn\'t match DataAlertScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
2702
2702
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2704,7 +2704,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
const obj_thresholds = obj.thresholds;
|
|
2706
2706
|
const path_thresholds = path + '.thresholds';
|
|
2707
|
-
const referencepath_thresholdsValidationError = validate$
|
|
2707
|
+
const referencepath_thresholdsValidationError = validate$13(obj_thresholds, path_thresholds);
|
|
2708
2708
|
if (referencepath_thresholdsValidationError !== null) {
|
|
2709
2709
|
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
2710
2710
|
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2742,7 +2742,7 @@ function equals$E(existing, incoming) {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
const ingest$E = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2744
2744
|
if (process.env.NODE_ENV !== 'production') {
|
|
2745
|
-
const validateError = validate$
|
|
2745
|
+
const validateError = validate$12(input);
|
|
2746
2746
|
if (validateError !== null) {
|
|
2747
2747
|
throw validateError;
|
|
2748
2748
|
}
|
|
@@ -2803,7 +2803,7 @@ var DiscriminatorValues$1;
|
|
|
2803
2803
|
(function (DiscriminatorValues) {
|
|
2804
2804
|
DiscriminatorValues["Metric"] = "Metric";
|
|
2805
2805
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
2806
|
-
function validate$
|
|
2806
|
+
function validate$11(obj, path = 'DataAlertContentInputRepresentation') {
|
|
2807
2807
|
const v_error = (() => {
|
|
2808
2808
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2809
2809
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2823,7 +2823,7 @@ var DiscriminatorValues;
|
|
|
2823
2823
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
2824
2824
|
DiscriminatorValues["EveryNMinutes"] = "EveryNMinutes";
|
|
2825
2825
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
2826
|
-
function validate
|
|
2826
|
+
function validate$10(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
2827
2827
|
const v_error = (() => {
|
|
2828
2828
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2829
2829
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2868,22 +2868,22 @@ function typeCheckConfig$X(untrustedConfig) {
|
|
|
2868
2868
|
const config = {};
|
|
2869
2869
|
typeCheckConfig$$(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
|
|
2870
2870
|
const untrustedConfig_content = untrustedConfig.content;
|
|
2871
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
2871
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$11(untrustedConfig_content);
|
|
2872
2872
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
2873
2873
|
config.content = untrustedConfig_content;
|
|
2874
2874
|
}
|
|
2875
2875
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
2876
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
2876
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1g(untrustedConfig_deliveryConfigurations);
|
|
2877
2877
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
2878
2878
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
2879
2879
|
}
|
|
2880
2880
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
2881
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate
|
|
2881
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$10(untrustedConfig_schedule);
|
|
2882
2882
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
2883
2883
|
config.schedule = untrustedConfig_schedule;
|
|
2884
2884
|
}
|
|
2885
2885
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
2886
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
2886
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$1b(untrustedConfig_thresholds);
|
|
2887
2887
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
2888
2888
|
config.thresholds = untrustedConfig_thresholds;
|
|
2889
2889
|
}
|
|
@@ -2938,7 +2938,7 @@ const createDataAlertAdapterFactory = (luvio) => {
|
|
|
2938
2938
|
};
|
|
2939
2939
|
};
|
|
2940
2940
|
|
|
2941
|
-
function validate
|
|
2941
|
+
function validate$$(obj, path = 'BaseAnalyticsRepresentation') {
|
|
2942
2942
|
const v_error = (() => {
|
|
2943
2943
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2944
2944
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2973,8 +2973,8 @@ function validate$_(obj, path = 'BaseAnalyticsRepresentation') {
|
|
|
2973
2973
|
return v_error === undefined ? null : v_error;
|
|
2974
2974
|
}
|
|
2975
2975
|
|
|
2976
|
-
function validate$
|
|
2977
|
-
const validateBaseAnalyticsRepresentation_validateError = validate
|
|
2976
|
+
function validate$_(obj, path = 'AnalyticsUserRepresentation') {
|
|
2977
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$$(obj, path);
|
|
2978
2978
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2979
2979
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2980
2980
|
}
|
|
@@ -3014,7 +3014,7 @@ function validate$Z(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
3014
3014
|
return v_error === undefined ? null : v_error;
|
|
3015
3015
|
}
|
|
3016
3016
|
|
|
3017
|
-
function validate$
|
|
3017
|
+
function validate$Z(obj, path = 'AdditionalInfoDataspacesRepresentation') {
|
|
3018
3018
|
const v_error = (() => {
|
|
3019
3019
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3020
3020
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3051,7 +3051,7 @@ function validate$Y(obj, path = 'AdditionalInfoDataspacesRepresentation') {
|
|
|
3051
3051
|
return v_error === undefined ? null : v_error;
|
|
3052
3052
|
}
|
|
3053
3053
|
|
|
3054
|
-
function validate$
|
|
3054
|
+
function validate$Y(obj, path = 'AdditionalInfoAssetWarningsRepresentation') {
|
|
3055
3055
|
const v_error = (() => {
|
|
3056
3056
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3057
3057
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3074,7 +3074,7 @@ function validate$X(obj, path = 'AdditionalInfoAssetWarningsRepresentation') {
|
|
|
3074
3074
|
return v_error === undefined ? null : v_error;
|
|
3075
3075
|
}
|
|
3076
3076
|
|
|
3077
|
-
function validate$
|
|
3077
|
+
function validate$X(obj, path = 'AdditionalInfoAssetRepresentation') {
|
|
3078
3078
|
const v_error = (() => {
|
|
3079
3079
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3080
3080
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3113,7 +3113,7 @@ function validate$W(obj, path = 'AdditionalInfoAssetRepresentation') {
|
|
|
3113
3113
|
const path_warnings = path + '.warnings';
|
|
3114
3114
|
let obj_warnings_union0 = null;
|
|
3115
3115
|
const obj_warnings_union0_error = (() => {
|
|
3116
|
-
const referencepath_warningsValidationError = validate$
|
|
3116
|
+
const referencepath_warningsValidationError = validate$Y(obj_warnings, path_warnings);
|
|
3117
3117
|
if (referencepath_warningsValidationError !== null) {
|
|
3118
3118
|
let message = 'Object doesn\'t match AdditionalInfoAssetWarningsRepresentation (at "' + path_warnings + '")\n';
|
|
3119
3119
|
message += referencepath_warningsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3143,7 +3143,7 @@ function validate$W(obj, path = 'AdditionalInfoAssetRepresentation') {
|
|
|
3143
3143
|
return v_error === undefined ? null : v_error;
|
|
3144
3144
|
}
|
|
3145
3145
|
|
|
3146
|
-
function validate$
|
|
3146
|
+
function validate$W(obj, path = 'DataAssetRequestAdditionalInfoRepresentation') {
|
|
3147
3147
|
const v_error = (() => {
|
|
3148
3148
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3149
3149
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3151,7 +3151,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3151
3151
|
if (obj.dataspaces !== undefined) {
|
|
3152
3152
|
const obj_dataspaces = obj.dataspaces;
|
|
3153
3153
|
const path_dataspaces = path + '.dataspaces';
|
|
3154
|
-
const referencepath_dataspacesValidationError = validate$
|
|
3154
|
+
const referencepath_dataspacesValidationError = validate$Z(obj_dataspaces, path_dataspaces);
|
|
3155
3155
|
if (referencepath_dataspacesValidationError !== null) {
|
|
3156
3156
|
let message = 'Object doesn\'t match AdditionalInfoDataspacesRepresentation (at "' + path_dataspaces + '")\n';
|
|
3157
3157
|
message += referencepath_dataspacesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3167,7 +3167,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3167
3167
|
for (let i = 0; i < obj_deployedAssets.length; i++) {
|
|
3168
3168
|
const obj_deployedAssets_item = obj_deployedAssets[i];
|
|
3169
3169
|
const path_deployedAssets_item = path_deployedAssets + '[' + i + ']';
|
|
3170
|
-
const referencepath_deployedAssets_itemValidationError = validate$
|
|
3170
|
+
const referencepath_deployedAssets_itemValidationError = validate$X(obj_deployedAssets_item, path_deployedAssets_item);
|
|
3171
3171
|
if (referencepath_deployedAssets_itemValidationError !== null) {
|
|
3172
3172
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_deployedAssets_item + '")\n';
|
|
3173
3173
|
message += referencepath_deployedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3184,7 +3184,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3184
3184
|
for (let i = 0; i < obj_failedAssets.length; i++) {
|
|
3185
3185
|
const obj_failedAssets_item = obj_failedAssets[i];
|
|
3186
3186
|
const path_failedAssets_item = path_failedAssets + '[' + i + ']';
|
|
3187
|
-
const referencepath_failedAssets_itemValidationError = validate$
|
|
3187
|
+
const referencepath_failedAssets_itemValidationError = validate$X(obj_failedAssets_item, path_failedAssets_item);
|
|
3188
3188
|
if (referencepath_failedAssets_itemValidationError !== null) {
|
|
3189
3189
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_failedAssets_item + '")\n';
|
|
3190
3190
|
message += referencepath_failedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3201,7 +3201,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3201
3201
|
for (let i = 0; i < obj_inProgressAssets.length; i++) {
|
|
3202
3202
|
const obj_inProgressAssets_item = obj_inProgressAssets[i];
|
|
3203
3203
|
const path_inProgressAssets_item = path_inProgressAssets + '[' + i + ']';
|
|
3204
|
-
const referencepath_inProgressAssets_itemValidationError = validate$
|
|
3204
|
+
const referencepath_inProgressAssets_itemValidationError = validate$X(obj_inProgressAssets_item, path_inProgressAssets_item);
|
|
3205
3205
|
if (referencepath_inProgressAssets_itemValidationError !== null) {
|
|
3206
3206
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_inProgressAssets_item + '")\n';
|
|
3207
3207
|
message += referencepath_inProgressAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3218,7 +3218,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3218
3218
|
for (let i = 0; i < obj_notStartedAssets.length; i++) {
|
|
3219
3219
|
const obj_notStartedAssets_item = obj_notStartedAssets[i];
|
|
3220
3220
|
const path_notStartedAssets_item = path_notStartedAssets + '[' + i + ']';
|
|
3221
|
-
const referencepath_notStartedAssets_itemValidationError = validate$
|
|
3221
|
+
const referencepath_notStartedAssets_itemValidationError = validate$X(obj_notStartedAssets_item, path_notStartedAssets_item);
|
|
3222
3222
|
if (referencepath_notStartedAssets_itemValidationError !== null) {
|
|
3223
3223
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_notStartedAssets_item + '")\n';
|
|
3224
3224
|
message += referencepath_notStartedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3230,8 +3230,52 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3230
3230
|
return v_error === undefined ? null : v_error;
|
|
3231
3231
|
}
|
|
3232
3232
|
|
|
3233
|
+
function validate$V(obj, path = 'PromotionContentAssetRepresentation') {
|
|
3234
|
+
const v_error = (() => {
|
|
3235
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3236
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3237
|
+
}
|
|
3238
|
+
const obj_assetType = obj.assetType;
|
|
3239
|
+
const path_assetType = path + '.assetType';
|
|
3240
|
+
if (typeof obj_assetType !== 'string') {
|
|
3241
|
+
return new TypeError('Expected "string" but received "' + typeof obj_assetType + '" (at "' + path_assetType + '")');
|
|
3242
|
+
}
|
|
3243
|
+
const obj_isFirstLevelReuse = obj.isFirstLevelReuse;
|
|
3244
|
+
const path_isFirstLevelReuse = path + '.isFirstLevelReuse';
|
|
3245
|
+
if (typeof obj_isFirstLevelReuse !== 'boolean') {
|
|
3246
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFirstLevelReuse + '" (at "' + path_isFirstLevelReuse + '")');
|
|
3247
|
+
}
|
|
3248
|
+
const obj_isReused = obj.isReused;
|
|
3249
|
+
const path_isReused = path + '.isReused';
|
|
3250
|
+
if (typeof obj_isReused !== 'boolean') {
|
|
3251
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isReused + '" (at "' + path_isReused + '")');
|
|
3252
|
+
}
|
|
3253
|
+
const obj_sourceDevName = obj.sourceDevName;
|
|
3254
|
+
const path_sourceDevName = path + '.sourceDevName';
|
|
3255
|
+
if (typeof obj_sourceDevName !== 'string') {
|
|
3256
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceDevName + '" (at "' + path_sourceDevName + '")');
|
|
3257
|
+
}
|
|
3258
|
+
const obj_sourceId = obj.sourceId;
|
|
3259
|
+
const path_sourceId = path + '.sourceId';
|
|
3260
|
+
if (typeof obj_sourceId !== 'string') {
|
|
3261
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceId + '" (at "' + path_sourceId + '")');
|
|
3262
|
+
}
|
|
3263
|
+
const obj_targetDevName = obj.targetDevName;
|
|
3264
|
+
const path_targetDevName = path + '.targetDevName';
|
|
3265
|
+
if (typeof obj_targetDevName !== 'string') {
|
|
3266
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetDevName + '" (at "' + path_targetDevName + '")');
|
|
3267
|
+
}
|
|
3268
|
+
const obj_targetId = obj.targetId;
|
|
3269
|
+
const path_targetId = path + '.targetId';
|
|
3270
|
+
if (typeof obj_targetId !== 'string') {
|
|
3271
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetId + '" (at "' + path_targetId + '")');
|
|
3272
|
+
}
|
|
3273
|
+
})();
|
|
3274
|
+
return v_error === undefined ? null : v_error;
|
|
3275
|
+
}
|
|
3276
|
+
|
|
3233
3277
|
const TTL$r = 500;
|
|
3234
|
-
const VERSION$D = "
|
|
3278
|
+
const VERSION$D = "14c3cbce26bc641b86f45457db9a2331";
|
|
3235
3279
|
function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
3236
3280
|
const v_error = (() => {
|
|
3237
3281
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3241,7 +3285,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3241
3285
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
3242
3286
|
let obj_acknowledgedBy_union0 = null;
|
|
3243
3287
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
3244
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
3288
|
+
const referencepath_acknowledgedByValidationError = validate$_(obj_acknowledgedBy, path_acknowledgedBy);
|
|
3245
3289
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
3246
3290
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
3247
3291
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3297,7 +3341,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3297
3341
|
const path_additionalInfo = path + '.additionalInfo';
|
|
3298
3342
|
let obj_additionalInfo_union0 = null;
|
|
3299
3343
|
const obj_additionalInfo_union0_error = (() => {
|
|
3300
|
-
const referencepath_additionalInfoValidationError = validate$
|
|
3344
|
+
const referencepath_additionalInfoValidationError = validate$W(obj_additionalInfo, path_additionalInfo);
|
|
3301
3345
|
if (referencepath_additionalInfoValidationError !== null) {
|
|
3302
3346
|
let message = 'Object doesn\'t match DataAssetRequestAdditionalInfoRepresentation (at "' + path_additionalInfo + '")\n';
|
|
3303
3347
|
message += referencepath_additionalInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3358,7 +3402,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3358
3402
|
const path_cancelledBy = path + '.cancelledBy';
|
|
3359
3403
|
let obj_cancelledBy_union0 = null;
|
|
3360
3404
|
const obj_cancelledBy_union0_error = (() => {
|
|
3361
|
-
const referencepath_cancelledByValidationError = validate$
|
|
3405
|
+
const referencepath_cancelledByValidationError = validate$_(obj_cancelledBy, path_cancelledBy);
|
|
3362
3406
|
if (referencepath_cancelledByValidationError !== null) {
|
|
3363
3407
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
3364
3408
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3413,7 +3457,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3413
3457
|
const path_completedBy = path + '.completedBy';
|
|
3414
3458
|
let obj_completedBy_union0 = null;
|
|
3415
3459
|
const obj_completedBy_union0_error = (() => {
|
|
3416
|
-
const referencepath_completedByValidationError = validate$
|
|
3460
|
+
const referencepath_completedByValidationError = validate$_(obj_completedBy, path_completedBy);
|
|
3417
3461
|
if (referencepath_completedByValidationError !== null) {
|
|
3418
3462
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
3419
3463
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3584,7 +3628,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3584
3628
|
}
|
|
3585
3629
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3586
3630
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3587
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3631
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3588
3632
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3589
3633
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3590
3634
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3677,7 +3721,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3677
3721
|
const path_packageExportedBy = path + '.packageExportedBy';
|
|
3678
3722
|
let obj_packageExportedBy_union0 = null;
|
|
3679
3723
|
const obj_packageExportedBy_union0_error = (() => {
|
|
3680
|
-
const referencepath_packageExportedByValidationError = validate$
|
|
3724
|
+
const referencepath_packageExportedByValidationError = validate$_(obj_packageExportedBy, path_packageExportedBy);
|
|
3681
3725
|
if (referencepath_packageExportedByValidationError !== null) {
|
|
3682
3726
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_packageExportedBy + '")\n';
|
|
3683
3727
|
message += referencepath_packageExportedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3858,6 +3902,23 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3858
3902
|
message += '\n' + obj_promotionApprovalFlow_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3859
3903
|
return new TypeError(message);
|
|
3860
3904
|
}
|
|
3905
|
+
if (obj.promotionContentAssets !== undefined) {
|
|
3906
|
+
const obj_promotionContentAssets = obj.promotionContentAssets;
|
|
3907
|
+
const path_promotionContentAssets = path + '.promotionContentAssets';
|
|
3908
|
+
if (!ArrayIsArray(obj_promotionContentAssets)) {
|
|
3909
|
+
return new TypeError('Expected "array" but received "' + typeof obj_promotionContentAssets + '" (at "' + path_promotionContentAssets + '")');
|
|
3910
|
+
}
|
|
3911
|
+
for (let i = 0; i < obj_promotionContentAssets.length; i++) {
|
|
3912
|
+
const obj_promotionContentAssets_item = obj_promotionContentAssets[i];
|
|
3913
|
+
const path_promotionContentAssets_item = path_promotionContentAssets + '[' + i + ']';
|
|
3914
|
+
const referencepath_promotionContentAssets_itemValidationError = validate$V(obj_promotionContentAssets_item, path_promotionContentAssets_item);
|
|
3915
|
+
if (referencepath_promotionContentAssets_itemValidationError !== null) {
|
|
3916
|
+
let message = 'Object doesn\'t match PromotionContentAssetRepresentation (at "' + path_promotionContentAssets_item + '")\n';
|
|
3917
|
+
message += referencepath_promotionContentAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3918
|
+
return new TypeError(message);
|
|
3919
|
+
}
|
|
3920
|
+
}
|
|
3921
|
+
}
|
|
3861
3922
|
const obj_rejectionComment = obj.rejectionComment;
|
|
3862
3923
|
const path_rejectionComment = path + '.rejectionComment';
|
|
3863
3924
|
let obj_rejectionComment_union0 = null;
|
|
@@ -3891,7 +3952,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3891
3952
|
}
|
|
3892
3953
|
const obj_requestedBy = obj.requestedBy;
|
|
3893
3954
|
const path_requestedBy = path + '.requestedBy';
|
|
3894
|
-
const referencepath_requestedByValidationError = validate$
|
|
3955
|
+
const referencepath_requestedByValidationError = validate$_(obj_requestedBy, path_requestedBy);
|
|
3895
3956
|
if (referencepath_requestedByValidationError !== null) {
|
|
3896
3957
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
3897
3958
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4360,7 +4421,7 @@ function validate$R(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
4360
4421
|
}
|
|
4361
4422
|
const obj_createdBy = obj.createdBy;
|
|
4362
4423
|
const path_createdBy = path + '.createdBy';
|
|
4363
|
-
const referencepath_createdByValidationError = validate$
|
|
4424
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
4364
4425
|
if (referencepath_createdByValidationError !== null) {
|
|
4365
4426
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4366
4427
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4373,7 +4434,7 @@ function validate$R(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
4373
4434
|
}
|
|
4374
4435
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4375
4436
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4376
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4437
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4377
4438
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4378
4439
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4379
4440
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4803,7 +4864,7 @@ function validate$N(obj, path = 'VisualizationRepresentation') {
|
|
|
4803
4864
|
}
|
|
4804
4865
|
const obj_createdBy = obj.createdBy;
|
|
4805
4866
|
const path_createdBy = path + '.createdBy';
|
|
4806
|
-
const referencepath_createdByValidationError = validate$
|
|
4867
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
4807
4868
|
if (referencepath_createdByValidationError !== null) {
|
|
4808
4869
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4809
4870
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4878,7 +4939,7 @@ function validate$N(obj, path = 'VisualizationRepresentation') {
|
|
|
4878
4939
|
if (obj.lastModifiedBy !== undefined) {
|
|
4879
4940
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4880
4941
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4881
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4942
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4882
4943
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4883
4944
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4884
4945
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5198,7 +5259,7 @@ function validate$M(obj, path = 'WorkspaceRepresentation') {
|
|
|
5198
5259
|
}
|
|
5199
5260
|
const obj_createdBy = obj.createdBy;
|
|
5200
5261
|
const path_createdBy = path + '.createdBy';
|
|
5201
|
-
const referencepath_createdByValidationError = validate$
|
|
5262
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
5202
5263
|
if (referencepath_createdByValidationError !== null) {
|
|
5203
5264
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5204
5265
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5418,7 +5479,7 @@ function validate$L(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
5418
5479
|
}
|
|
5419
5480
|
const obj_createdBy = obj.createdBy;
|
|
5420
5481
|
const path_createdBy = path + '.createdBy';
|
|
5421
|
-
const referencepath_createdByValidationError = validate$
|
|
5482
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
5422
5483
|
if (referencepath_createdByValidationError !== null) {
|
|
5423
5484
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5424
5485
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6493,7 +6554,7 @@ function validate$G(obj, path = 'FollowerAssetRepresentation') {
|
|
|
6493
6554
|
}
|
|
6494
6555
|
const obj_createdBy = obj.createdBy;
|
|
6495
6556
|
const path_createdBy = path + '.createdBy';
|
|
6496
|
-
const referencepath_createdByValidationError = validate$
|
|
6557
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
6497
6558
|
if (referencepath_createdByValidationError !== null) {
|
|
6498
6559
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
6499
6560
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8136,7 +8197,7 @@ function validate$A(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
8136
8197
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
8137
8198
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
8138
8199
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
8139
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
8200
|
+
const referencepath_dataAlerts_itemValidationError = validate$12(obj_dataAlerts_item, path_dataAlerts_item);
|
|
8140
8201
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
8141
8202
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
8142
8203
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8407,7 +8468,7 @@ function validate$y(obj, path = 'DataAssetRepresentation') {
|
|
|
8407
8468
|
}
|
|
8408
8469
|
const obj_createdBy = obj.createdBy;
|
|
8409
8470
|
const path_createdBy = path + '.createdBy';
|
|
8410
|
-
const referencepath_createdByValidationError = validate$
|
|
8471
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
8411
8472
|
if (referencepath_createdByValidationError !== null) {
|
|
8412
8473
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
8413
8474
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8472,7 +8533,7 @@ function validate$y(obj, path = 'DataAssetRepresentation') {
|
|
|
8472
8533
|
}
|
|
8473
8534
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8474
8535
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8475
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8536
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8476
8537
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8477
8538
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8478
8539
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10199,7 +10260,7 @@ function validate$n(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
10199
10260
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
10200
10261
|
const obj_followers_item = obj_followers[i];
|
|
10201
10262
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
10202
|
-
const referencepath_followers_itemValidationError = validate$
|
|
10263
|
+
const referencepath_followers_itemValidationError = validate$_(obj_followers_item, path_followers_item);
|
|
10203
10264
|
if (referencepath_followers_itemValidationError !== null) {
|
|
10204
10265
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
10205
10266
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12459,7 +12520,7 @@ function validate$d(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
12459
12520
|
}
|
|
12460
12521
|
const obj_createdBy = obj.createdBy;
|
|
12461
12522
|
const path_createdBy = path + '.createdBy';
|
|
12462
|
-
const referencepath_createdByValidationError = validate$
|
|
12523
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
12463
12524
|
if (referencepath_createdByValidationError !== null) {
|
|
12464
12525
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
12465
12526
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12504,7 +12565,7 @@ function validate$d(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
12504
12565
|
if (obj.lastModifiedBy !== undefined) {
|
|
12505
12566
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
12506
12567
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
12507
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
12568
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
12508
12569
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
12509
12570
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
12510
12571
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13472,7 +13533,7 @@ function validate$8(obj, path = 'DataAlertQueryCollectionRepresentation') {
|
|
|
13472
13533
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
13473
13534
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
13474
13535
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
13475
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
13536
|
+
const referencepath_dataAlerts_itemValidationError = validate$12(obj_dataAlerts_item, path_dataAlerts_item);
|
|
13476
13537
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
13477
13538
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
13478
13539
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13592,7 +13653,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
13592
13653
|
const config = {};
|
|
13593
13654
|
typeCheckConfig$$(untrustedConfig, config, postDataAlertQuery_ConfigPropertyMetadata);
|
|
13594
13655
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
13595
|
-
const referenceUnifiedFilterInputRepresentationValidationError = validate$
|
|
13656
|
+
const referenceUnifiedFilterInputRepresentationValidationError = validate$1f(untrustedConfig_timeRange);
|
|
13596
13657
|
if (referenceUnifiedFilterInputRepresentationValidationError === null) {
|
|
13597
13658
|
config.timeRange = untrustedConfig_timeRange;
|
|
13598
13659
|
}
|
|
@@ -14199,7 +14260,7 @@ const publishToMarketplaceAdapterFactory = (luvio) => {
|
|
|
14199
14260
|
};
|
|
14200
14261
|
|
|
14201
14262
|
function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
|
|
14202
|
-
const validateBaseAnalyticsRepresentation_validateError = validate
|
|
14263
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$$(obj, path);
|
|
14203
14264
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
14204
14265
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
14205
14266
|
}
|
|
@@ -14212,7 +14273,7 @@ function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
|
|
|
14212
14273
|
}
|
|
14213
14274
|
|
|
14214
14275
|
function validate$3(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
|
|
14215
|
-
const validateBaseAnalyticsRepresentation_validateError = validate
|
|
14276
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$$(obj, path);
|
|
14216
14277
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
14217
14278
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
14218
14279
|
}
|
|
@@ -14525,7 +14586,7 @@ function validate$1(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
14525
14586
|
for (let i = 0; i < obj_items.length; i++) {
|
|
14526
14587
|
const obj_items_item = obj_items[i];
|
|
14527
14588
|
const path_items_item = path_items + '[' + i + ']';
|
|
14528
|
-
const referencepath_items_itemValidationError = validate$
|
|
14589
|
+
const referencepath_items_itemValidationError = validate$_(obj_items_item, path_items_item);
|
|
14529
14590
|
if (referencepath_items_itemValidationError !== null) {
|
|
14530
14591
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
14531
14592
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14987,22 +15048,22 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
14987
15048
|
const config = {};
|
|
14988
15049
|
typeCheckConfig$$(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
|
|
14989
15050
|
const untrustedConfig_content = untrustedConfig.content;
|
|
14990
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
15051
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$11(untrustedConfig_content);
|
|
14991
15052
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
14992
15053
|
config.content = untrustedConfig_content;
|
|
14993
15054
|
}
|
|
14994
15055
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
14995
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
15056
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1g(untrustedConfig_deliveryConfigurations);
|
|
14996
15057
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
14997
15058
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
14998
15059
|
}
|
|
14999
15060
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
15000
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate
|
|
15061
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$10(untrustedConfig_schedule);
|
|
15001
15062
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
15002
15063
|
config.schedule = untrustedConfig_schedule;
|
|
15003
15064
|
}
|
|
15004
15065
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
15005
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
15066
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$1b(untrustedConfig_thresholds);
|
|
15006
15067
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
15007
15068
|
config.thresholds = untrustedConfig_thresholds;
|
|
15008
15069
|
}
|
|
@@ -16232,4 +16293,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16232
16293
|
});
|
|
16233
16294
|
|
|
16234
16295
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, generateSFDrivePresignedCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getDataAlert, getDataAlertCollection, getDataAlertCollection_imperative, getDataAlertNotifyChange, getDataAlert_imperative, getDataAssetDependencies, getDataAssetDependencies_imperative, getDataAssetRequestByIdOrApiName, getDataAssetRequestByIdOrApiNameNotifyChange, getDataAssetRequestByIdOrApiName_imperative, getDataAssetRequests, getDataAssetRequestsCount, getDataAssetRequestsCount_imperative, getDataAssetRequests_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getMarketplaceListingInstallationProgress, getMarketplaceListingInstallationProgress_imperative, getOrg, getOrg_imperative, getShares, getShares_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, initiateMarketplaceListingInstallation, initiateMarketplaceListingInstallation_imperative, notifySharesUpdateAvailable, postDataAlertQuery, postDataAlertQuery_imperative, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
16235
|
-
// version: 1.
|
|
16296
|
+
// version: 1.435.1-a9f05717b8
|