@salesforce/lds-adapters-analytics-unifiedanalytics 1.451.0-dev12 → 1.451.0-dev13
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 +89 -56
- package/dist/es/es2018/types/src/generated/adapters/getDataAlertCollection.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/postDataAlertQuery.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauDataAlerts.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsQuery.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertOwnerRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertQueryInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +92 -59
- package/src/raml/api.raml +32 -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$1z(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$1y(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$1y(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$1x(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
136
136
|
return v_error === undefined ? null : v_error;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
function validate$
|
|
139
|
+
function validate$1x(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$1w(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
155
155
|
return v_error === undefined ? null : v_error;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1w(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$1v(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$1x(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$1v(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
239
239
|
return v_error === undefined ? null : v_error;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
function validate$
|
|
242
|
+
function validate$1v(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$1x(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$1u(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$1w(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$1u(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$1u(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$1t(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$1v(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$1t(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
388
388
|
return v_error === undefined ? null : v_error;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
function validate$
|
|
391
|
+
function validate$1t(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$1s(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
512
512
|
return v_error === undefined ? null : v_error;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
function validate$
|
|
515
|
+
function validate$1s(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$1r(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$1t(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$1r(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
902
902
|
return v_error === undefined ? null : v_error;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
function validate$
|
|
905
|
+
function validate$1r(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$1q(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$1s(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$1q(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1071
1071
|
return v_error === undefined ? null : v_error;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
function validate$
|
|
1074
|
+
function validate$1q(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$1p(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$1u(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$1p(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$1r(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$1p(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$1s(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$1p(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$1s(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$1p(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1465
1465
|
return v_error === undefined ? null : v_error;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
function validate$
|
|
1468
|
+
function validate$1p(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$1o(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$1q(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$1o(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1527
1527
|
|
|
1528
1528
|
const TTL$v = 1000;
|
|
1529
1529
|
const VERSION$J = "bacc25da56cffff8126d9bdafc471a37";
|
|
1530
|
-
function validate$
|
|
1530
|
+
function validate$1o(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$1n(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$1z(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$1n(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$1y(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$1n(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$1p(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$J(existing, incoming) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
const ingest$J = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1607
1607
|
if (process.env.NODE_ENV !== 'production') {
|
|
1608
|
-
const validateError = validate$
|
|
1608
|
+
const validateError = validate$1o(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$u = 1000;
|
|
1728
1728
|
const VERSION$I = "06ddf1f43b6dbb759e6c6ec14f9d783f";
|
|
1729
|
-
function validate$
|
|
1729
|
+
function validate$1n(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$I(existing, incoming) {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
const ingest$I = function AssetSlackChannelRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1833
1833
|
if (process.env.NODE_ENV !== 'production') {
|
|
1834
|
-
const validateError = validate$
|
|
1834
|
+
const validateError = validate$1n(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$H = "581903d233184a85957cb2aa527b0d33";
|
|
1947
|
-
function validate$
|
|
1947
|
+
function validate$1m(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 + '")');
|
|
@@ -2113,7 +2113,7 @@ function equals$H(existing, incoming) {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
const ingest$H = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2115
2115
|
if (process.env.NODE_ENV !== 'production') {
|
|
2116
|
-
const validateError = validate$
|
|
2116
|
+
const validateError = validate$1m(input);
|
|
2117
2117
|
if (validateError !== null) {
|
|
2118
2118
|
throw validateError;
|
|
2119
2119
|
}
|
|
@@ -2313,7 +2313,7 @@ var DiscriminatorValues$3;
|
|
|
2313
2313
|
DiscriminatorValues["NoOp"] = "NoOp";
|
|
2314
2314
|
DiscriminatorValues["Notification"] = "Notification";
|
|
2315
2315
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
2316
|
-
function validate$
|
|
2316
|
+
function validate$1l(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
2317
2317
|
const v_error = (() => {
|
|
2318
2318
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2319
2319
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2327,7 +2327,7 @@ function validate$1k(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
2327
2327
|
return v_error === undefined ? null : v_error;
|
|
2328
2328
|
}
|
|
2329
2329
|
|
|
2330
|
-
function validate$
|
|
2330
|
+
function validate$1k(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
|
|
2331
2331
|
const v_error = (() => {
|
|
2332
2332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2333
2333
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2340,7 +2340,7 @@ function validate$1j(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2340
2340
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2341
2341
|
const obj_receivers_item = obj_receivers[i];
|
|
2342
2342
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2343
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2343
|
+
const referencepath_receivers_itemValidationError = validate$1l(obj_receivers_item, path_receivers_item);
|
|
2344
2344
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2345
2345
|
let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
|
|
2346
2346
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2351,7 +2351,7 @@ function validate$1j(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2351
2351
|
return v_error === undefined ? null : v_error;
|
|
2352
2352
|
}
|
|
2353
2353
|
|
|
2354
|
-
function validate$
|
|
2354
|
+
function validate$1j(obj, path = 'UnifiedFilterInputRepresentation') {
|
|
2355
2355
|
const v_error = (() => {
|
|
2356
2356
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2357
2357
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2393,7 +2393,7 @@ var DiscriminatorValues$2;
|
|
|
2393
2393
|
DiscriminatorValues["RawValue"] = "RawValue";
|
|
2394
2394
|
DiscriminatorValues["Insights"] = "Insights";
|
|
2395
2395
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
2396
|
-
function validate$
|
|
2396
|
+
function validate$1i(obj, path = 'DataAlertValueInputRepresentation') {
|
|
2397
2397
|
const v_error = (() => {
|
|
2398
2398
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2399
2399
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2407,7 +2407,7 @@ function validate$1h(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
2407
2407
|
return v_error === undefined ? null : v_error;
|
|
2408
2408
|
}
|
|
2409
2409
|
|
|
2410
|
-
function validate$
|
|
2410
|
+
function validate$1h(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
|
|
2411
2411
|
const v_error = (() => {
|
|
2412
2412
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2413
2413
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2421,14 +2421,14 @@ function validate$1g(obj, path = 'DataAlertValueRightOperandInputRepresentation'
|
|
|
2421
2421
|
return v_error === undefined ? null : v_error;
|
|
2422
2422
|
}
|
|
2423
2423
|
|
|
2424
|
-
function validate$
|
|
2424
|
+
function validate$1g(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
2425
2425
|
const v_error = (() => {
|
|
2426
2426
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2427
2427
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2428
2428
|
}
|
|
2429
2429
|
const obj_leftOperand = obj.leftOperand;
|
|
2430
2430
|
const path_leftOperand = path + '.leftOperand';
|
|
2431
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2431
|
+
const referencepath_leftOperandValidationError = validate$1i(obj_leftOperand, path_leftOperand);
|
|
2432
2432
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2433
2433
|
let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
|
|
2434
2434
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2441,7 +2441,7 @@ function validate$1f(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2441
2441
|
}
|
|
2442
2442
|
const obj_rightOperand = obj.rightOperand;
|
|
2443
2443
|
const path_rightOperand = path + '.rightOperand';
|
|
2444
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2444
|
+
const referencepath_rightOperandValidationError = validate$1h(obj_rightOperand, path_rightOperand);
|
|
2445
2445
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2446
2446
|
let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
|
|
2447
2447
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2451,7 +2451,7 @@ function validate$1f(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2451
2451
|
return v_error === undefined ? null : v_error;
|
|
2452
2452
|
}
|
|
2453
2453
|
|
|
2454
|
-
function validate$
|
|
2454
|
+
function validate$1f(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
2455
2455
|
const v_error = (() => {
|
|
2456
2456
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2457
2457
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2464,7 +2464,7 @@ function validate$1e(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2464
2464
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2465
2465
|
const obj_conditions_item = obj_conditions[i];
|
|
2466
2466
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2467
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2467
|
+
const referencepath_conditions_itemValidationError = validate$1g(obj_conditions_item, path_conditions_item);
|
|
2468
2468
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2469
2469
|
let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
|
|
2470
2470
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2480,7 +2480,7 @@ function validate$1e(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2480
2480
|
return v_error === undefined ? null : v_error;
|
|
2481
2481
|
}
|
|
2482
2482
|
|
|
2483
|
-
function validate$
|
|
2483
|
+
function validate$1e(obj, path = 'DataAlertContentRepresentation') {
|
|
2484
2484
|
const v_error = (() => {
|
|
2485
2485
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2486
2486
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2494,7 +2494,7 @@ function validate$1d(obj, path = 'DataAlertContentRepresentation') {
|
|
|
2494
2494
|
return v_error === undefined ? null : v_error;
|
|
2495
2495
|
}
|
|
2496
2496
|
|
|
2497
|
-
function validate$
|
|
2497
|
+
function validate$1d(obj, path = 'DataAlertReceiversRepresentation') {
|
|
2498
2498
|
const v_error = (() => {
|
|
2499
2499
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2500
2500
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2508,7 +2508,7 @@ function validate$1c(obj, path = 'DataAlertReceiversRepresentation') {
|
|
|
2508
2508
|
return v_error === undefined ? null : v_error;
|
|
2509
2509
|
}
|
|
2510
2510
|
|
|
2511
|
-
function validate$
|
|
2511
|
+
function validate$1c(obj, path = 'DataAlertDeliveryConfigurationRepresentation') {
|
|
2512
2512
|
const v_error = (() => {
|
|
2513
2513
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2514
2514
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2521,7 +2521,7 @@ function validate$1b(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2521
2521
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2522
2522
|
const obj_receivers_item = obj_receivers[i];
|
|
2523
2523
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2524
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2524
|
+
const referencepath_receivers_itemValidationError = validate$1d(obj_receivers_item, path_receivers_item);
|
|
2525
2525
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2526
2526
|
let message = 'Object doesn\'t match DataAlertReceiversRepresentation (at "' + path_receivers_item + '")\n';
|
|
2527
2527
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2532,6 +2532,27 @@ function validate$1b(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2532
2532
|
return v_error === undefined ? null : v_error;
|
|
2533
2533
|
}
|
|
2534
2534
|
|
|
2535
|
+
function validate$1b(obj, path = 'DataAlertOwnerRepresentation') {
|
|
2536
|
+
const v_error = (() => {
|
|
2537
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2538
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2539
|
+
}
|
|
2540
|
+
const obj_id = obj.id;
|
|
2541
|
+
const path_id = path + '.id';
|
|
2542
|
+
if (typeof obj_id !== 'string') {
|
|
2543
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2544
|
+
}
|
|
2545
|
+
if (obj.name !== undefined) {
|
|
2546
|
+
const obj_name = obj.name;
|
|
2547
|
+
const path_name = path + '.name';
|
|
2548
|
+
if (typeof obj_name !== 'string') {
|
|
2549
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
})();
|
|
2553
|
+
return v_error === undefined ? null : v_error;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2535
2556
|
function validate$1a(obj, path = 'DataAlertPropertyFilterOutputRepresentation') {
|
|
2536
2557
|
const v_error = (() => {
|
|
2537
2558
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2648,7 +2669,7 @@ function validate$16(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2648
2669
|
}
|
|
2649
2670
|
|
|
2650
2671
|
const TTL$t = 500;
|
|
2651
|
-
const VERSION$G = "
|
|
2672
|
+
const VERSION$G = "3e148eed3496e132fe02ce947b0fd98a";
|
|
2652
2673
|
function validate$15(obj, path = 'DataAlertRepresentation') {
|
|
2653
2674
|
const v_error = (() => {
|
|
2654
2675
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2689,7 +2710,7 @@ function validate$15(obj, path = 'DataAlertRepresentation') {
|
|
|
2689
2710
|
}
|
|
2690
2711
|
const obj_content = obj.content;
|
|
2691
2712
|
const path_content = path + '.content';
|
|
2692
|
-
const referencepath_contentValidationError = validate$
|
|
2713
|
+
const referencepath_contentValidationError = validate$1e(obj_content, path_content);
|
|
2693
2714
|
if (referencepath_contentValidationError !== null) {
|
|
2694
2715
|
let message = 'Object doesn\'t match DataAlertContentRepresentation (at "' + path_content + '")\n';
|
|
2695
2716
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2707,7 +2728,7 @@ function validate$15(obj, path = 'DataAlertRepresentation') {
|
|
|
2707
2728
|
}
|
|
2708
2729
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
2709
2730
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
2710
|
-
const referencepath_deliveryConfigurationsValidationError = validate$
|
|
2731
|
+
const referencepath_deliveryConfigurationsValidationError = validate$1c(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
2711
2732
|
if (referencepath_deliveryConfigurationsValidationError !== null) {
|
|
2712
2733
|
let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
|
|
2713
2734
|
message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2730,6 +2751,16 @@ function validate$15(obj, path = 'DataAlertRepresentation') {
|
|
|
2730
2751
|
if (typeof obj_lastModifiedDate !== 'string') {
|
|
2731
2752
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2732
2753
|
}
|
|
2754
|
+
if (obj.owner !== undefined) {
|
|
2755
|
+
const obj_owner = obj.owner;
|
|
2756
|
+
const path_owner = path + '.owner';
|
|
2757
|
+
const referencepath_ownerValidationError = validate$1b(obj_owner, path_owner);
|
|
2758
|
+
if (referencepath_ownerValidationError !== null) {
|
|
2759
|
+
let message = 'Object doesn\'t match DataAlertOwnerRepresentation (at "' + path_owner + '")\n';
|
|
2760
|
+
message += referencepath_ownerValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2761
|
+
return new TypeError(message);
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2733
2764
|
if (obj.properties !== undefined) {
|
|
2734
2765
|
const obj_properties = obj.properties;
|
|
2735
2766
|
const path_properties = path + '.properties';
|
|
@@ -2923,7 +2954,7 @@ function typeCheckConfig$Z(untrustedConfig) {
|
|
|
2923
2954
|
config.content = untrustedConfig_content;
|
|
2924
2955
|
}
|
|
2925
2956
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
2926
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
2957
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1k(untrustedConfig_deliveryConfigurations);
|
|
2927
2958
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
2928
2959
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
2929
2960
|
}
|
|
@@ -2933,7 +2964,7 @@ function typeCheckConfig$Z(untrustedConfig) {
|
|
|
2933
2964
|
config.schedule = untrustedConfig_schedule;
|
|
2934
2965
|
}
|
|
2935
2966
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
2936
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
2967
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$1f(untrustedConfig_thresholds);
|
|
2937
2968
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
2938
2969
|
config.thresholds = untrustedConfig_thresholds;
|
|
2939
2970
|
}
|
|
@@ -8460,7 +8491,7 @@ function select$10(luvio, params) {
|
|
|
8460
8491
|
return select$11();
|
|
8461
8492
|
}
|
|
8462
8493
|
function keyBuilder$X(luvio, params) {
|
|
8463
|
-
return keyPrefix + '::DataAlertCollectionRepresentation:(' + 'ownerId:' + params.queryParams.ownerId + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'contentType:' + params.queryParams.contentType + ')';
|
|
8494
|
+
return keyPrefix + '::DataAlertCollectionRepresentation:(' + 'ownerId:' + params.queryParams.ownerId + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'contentType:' + params.queryParams.contentType + ',' + 'scope:' + params.queryParams.scope + ')';
|
|
8464
8495
|
}
|
|
8465
8496
|
function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
|
|
8466
8497
|
getTypeCacheKeys$r(storeKeyMap, luvio, response, () => keyBuilder$X(luvio, resourceParams));
|
|
@@ -8514,6 +8545,7 @@ const getDataAlertCollection_ConfigPropertyMetadata = [
|
|
|
8514
8545
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
8515
8546
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
8516
8547
|
generateParamConfigMetadata('contentType', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8548
|
+
generateParamConfigMetadata('scope', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8517
8549
|
];
|
|
8518
8550
|
const getDataAlertCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, getDataAlertCollection_ConfigPropertyMetadata);
|
|
8519
8551
|
const createResourceParams$C = /*#__PURE__*/ createResourceParams$11(getDataAlertCollection_ConfigPropertyMetadata);
|
|
@@ -14030,7 +14062,7 @@ function select$l(luvio, params) {
|
|
|
14030
14062
|
return select$m();
|
|
14031
14063
|
}
|
|
14032
14064
|
function keyBuilder$a(luvio, params) {
|
|
14033
|
-
return keyPrefix + '::DataAlertQueryCollectionRepresentation:(' + 'ownerId:' + params.body.ownerId + '::' + (params.body.assetId === undefined ? 'assetId' : 'assetId:' + params.body.assetId) + '::' + (params.body.dataAlertTypes === undefined ? 'dataAlertTypes' : 'dataAlertTypes:' + params.body.dataAlertTypes) + '::' + (params.body.timeRange?.fieldName === undefined ? 'timeRange.fieldName' : 'timeRange.fieldName:' + params.body.timeRange?.fieldName) + '::' + (params.body.timeRange?.operator === undefined ? 'timeRange.operator' : 'timeRange.operator:' + params.body.timeRange?.operator) + '::' + (params.body.timeRange?.values === undefined ? 'timeRange.values' : 'timeRange.values:' + params.body.timeRange?.values) + '::' + (params.body.includeProperties === undefined ? 'includeProperties' : 'includeProperties:' + params.body.includeProperties) + '::' + (params.body.propertyFilters === undefined ? undefined : ('[' + params.body.propertyFilters.map(element => 'propertyFilters.property:' + element.property + '::' + 'propertyFilters.values:' + element.values).join(',') + ']')) + ')';
|
|
14065
|
+
return keyPrefix + '::DataAlertQueryCollectionRepresentation:(' + 'ownerId:' + params.body.ownerId + '::' + (params.body.assetId === undefined ? 'assetId' : 'assetId:' + params.body.assetId) + '::' + (params.body.dataAlertTypes === undefined ? 'dataAlertTypes' : 'dataAlertTypes:' + params.body.dataAlertTypes) + '::' + (params.body.timeRange?.fieldName === undefined ? 'timeRange.fieldName' : 'timeRange.fieldName:' + params.body.timeRange?.fieldName) + '::' + (params.body.timeRange?.operator === undefined ? 'timeRange.operator' : 'timeRange.operator:' + params.body.timeRange?.operator) + '::' + (params.body.timeRange?.values === undefined ? 'timeRange.values' : 'timeRange.values:' + params.body.timeRange?.values) + '::' + (params.body.includeProperties === undefined ? 'includeProperties' : 'includeProperties:' + params.body.includeProperties) + '::' + (params.body.propertyFilters === undefined ? undefined : ('[' + params.body.propertyFilters.map(element => 'propertyFilters.property:' + element.property + '::' + 'propertyFilters.values:' + element.values).join(',') + ']')) + '::' + (params.body.scope === undefined ? 'scope' : 'scope:' + params.body.scope) + ')';
|
|
14034
14066
|
}
|
|
14035
14067
|
function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
14036
14068
|
getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$a(luvio, resourceParams));
|
|
@@ -14086,6 +14118,7 @@ const postDataAlertQuery_ConfigPropertyMetadata = [
|
|
|
14086
14118
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
14087
14119
|
generateParamConfigMetadata('includeProperties', false, 2 /* Body */, 0 /* String */, true),
|
|
14088
14120
|
generateParamConfigMetadata('propertyFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14121
|
+
generateParamConfigMetadata('scope', false, 2 /* Body */, 0 /* String */),
|
|
14089
14122
|
];
|
|
14090
14123
|
const postDataAlertQuery_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postDataAlertQuery_ConfigPropertyMetadata);
|
|
14091
14124
|
const createResourceParams$f = /*#__PURE__*/ createResourceParams$11(postDataAlertQuery_ConfigPropertyMetadata);
|
|
@@ -14097,7 +14130,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
14097
14130
|
const config = {};
|
|
14098
14131
|
typeCheckConfig$11(untrustedConfig, config, postDataAlertQuery_ConfigPropertyMetadata);
|
|
14099
14132
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
14100
|
-
const referenceUnifiedFilterInputRepresentationValidationError = validate$
|
|
14133
|
+
const referenceUnifiedFilterInputRepresentationValidationError = validate$1j(untrustedConfig_timeRange);
|
|
14101
14134
|
if (referenceUnifiedFilterInputRepresentationValidationError === null) {
|
|
14102
14135
|
config.timeRange = untrustedConfig_timeRange;
|
|
14103
14136
|
}
|
|
@@ -14541,7 +14574,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
14541
14574
|
config.content = untrustedConfig_content;
|
|
14542
14575
|
}
|
|
14543
14576
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
14544
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
14577
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1k(untrustedConfig_deliveryConfigurations);
|
|
14545
14578
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
14546
14579
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
14547
14580
|
}
|
|
@@ -14551,7 +14584,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
14551
14584
|
config.schedule = untrustedConfig_schedule;
|
|
14552
14585
|
}
|
|
14553
14586
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
14554
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
14587
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$1f(untrustedConfig_thresholds);
|
|
14555
14588
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
14556
14589
|
config.thresholds = untrustedConfig_thresholds;
|
|
14557
14590
|
}
|
|
@@ -15778,7 +15811,7 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
15778
15811
|
config.content = untrustedConfig_content;
|
|
15779
15812
|
}
|
|
15780
15813
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
15781
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
15814
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1k(untrustedConfig_deliveryConfigurations);
|
|
15782
15815
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
15783
15816
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
15784
15817
|
}
|
|
@@ -15788,7 +15821,7 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
15788
15821
|
config.schedule = untrustedConfig_schedule;
|
|
15789
15822
|
}
|
|
15790
15823
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
15791
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
15824
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$1f(untrustedConfig_thresholds);
|
|
15792
15825
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
15793
15826
|
config.thresholds = untrustedConfig_thresholds;
|
|
15794
15827
|
}
|
|
@@ -17041,4 +17074,4 @@ withDefaultLuvio((luvio) => {
|
|
|
17041
17074
|
});
|
|
17042
17075
|
|
|
17043
17076
|
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, getDataAssetLineageByIdOrApiName, getDataAssetLineageByIdOrApiName_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, postDataAlertTransientRun, postDataAlertTransientRun_imperative, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
17044
|
-
// version: 1.451.0-
|
|
17077
|
+
// version: 1.451.0-dev13-175bc5540e
|
package/src/raml/api.raml
CHANGED
|
@@ -1246,6 +1246,14 @@ types:
|
|
|
1246
1246
|
description: Structured filter for computed properties
|
|
1247
1247
|
items:
|
|
1248
1248
|
type: DataAlertPropertyFilterInputRepresentation # TODO Hand-rolled @W-21386585
|
|
1249
|
+
scope:
|
|
1250
|
+
required: false
|
|
1251
|
+
description: Which alerts to return relative to the caller. owned (default), received, or all.
|
|
1252
|
+
type: string
|
|
1253
|
+
enum:
|
|
1254
|
+
- owned
|
|
1255
|
+
- received
|
|
1256
|
+
- all
|
|
1249
1257
|
DataAlertPropertyFilterInputRepresentation:
|
|
1250
1258
|
description: Filter by computed property values. Automatically computes filtered properties (no need to specify in includeProperties)
|
|
1251
1259
|
type: object
|
|
@@ -1954,6 +1962,21 @@ types:
|
|
|
1954
1962
|
description: Whether this data alert is enabled. False indicates the alert is paused.
|
|
1955
1963
|
type: boolean
|
|
1956
1964
|
required: false
|
|
1965
|
+
owner:
|
|
1966
|
+
description: Owner of the data alert.
|
|
1967
|
+
type: DataAlertOwnerRepresentation
|
|
1968
|
+
required: false
|
|
1969
|
+
DataAlertOwnerRepresentation:
|
|
1970
|
+
description: Owner of a data alert
|
|
1971
|
+
type: object
|
|
1972
|
+
properties:
|
|
1973
|
+
id:
|
|
1974
|
+
description: Owner user ID
|
|
1975
|
+
type: string
|
|
1976
|
+
name:
|
|
1977
|
+
description: Owner display name
|
|
1978
|
+
type: string
|
|
1979
|
+
required: false
|
|
1957
1980
|
DataAlertScheduleRepresentation:
|
|
1958
1981
|
description: Represents the schedule for a data alert
|
|
1959
1982
|
type: object
|
|
@@ -3650,6 +3673,15 @@ types:
|
|
|
3650
3673
|
enum:
|
|
3651
3674
|
- Brief
|
|
3652
3675
|
- Metric
|
|
3676
|
+
scope:
|
|
3677
|
+
description: Optional. owned (default) returns alerts the caller owns, received returns
|
|
3678
|
+
alerts other users own that the caller is a recipient of, all returns both.
|
|
3679
|
+
type: string
|
|
3680
|
+
required: false
|
|
3681
|
+
enum:
|
|
3682
|
+
- owned
|
|
3683
|
+
- received
|
|
3684
|
+
- all
|
|
3653
3685
|
post:
|
|
3654
3686
|
displayName: postDataAlertCollection
|
|
3655
3687
|
description: Create a new data alert.
|