@salesforce/lds-adapters-analytics-unifiedanalytics 1.404.0-dev2 → 1.404.0-dev4
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 +425 -117
- package/dist/es/es2018/types/src/generated/adapters/getDataAssetRequests.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataAssetRequestsCount.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getFlows.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsRequests.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsRequestsCount.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauFlows.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/AdditionalInfoAssetRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/AdditionalInfoAssetWarningsRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/AdditionalInfoDataspacesRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestAdditionalInfoRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +11 -1
- package/dist/es/es2018/types/src/generated/types/DataSpaceInfoRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +410 -102
- package/src/raml/api.raml +117 -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$1p(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$1l(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$1o(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$1k(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
136
136
|
return v_error === undefined ? null : v_error;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
function validate$
|
|
139
|
+
function validate$1n(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$1j(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
155
155
|
return v_error === undefined ? null : v_error;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1m(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$1i(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$1n(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$1i(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
239
239
|
return v_error === undefined ? null : v_error;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
function validate$
|
|
242
|
+
function validate$1l(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$1n(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$1h(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$1m(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$1h(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$1k(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$1g(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$1l(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$1g(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
388
388
|
return v_error === undefined ? null : v_error;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
function validate$
|
|
391
|
+
function validate$1j(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$1f(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
512
512
|
return v_error === undefined ? null : v_error;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
function validate$
|
|
515
|
+
function validate$1i(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$1e(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$1j(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$1e(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
902
902
|
return v_error === undefined ? null : v_error;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
function validate$
|
|
905
|
+
function validate$1h(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$1d(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$1i(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$1d(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1071
1071
|
return v_error === undefined ? null : v_error;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
function validate$
|
|
1074
|
+
function validate$1g(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$1c(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$1k(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$1c(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$1h(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$1c(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$1i(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$1c(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$1i(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$1c(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1465
1465
|
return v_error === undefined ? null : v_error;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
function validate$
|
|
1468
|
+
function validate$1f(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$1b(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$1g(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$1b(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1527
1527
|
|
|
1528
1528
|
const TTL$s = 1000;
|
|
1529
1529
|
const VERSION$F = "bacc25da56cffff8126d9bdafc471a37";
|
|
1530
|
-
function validate$
|
|
1530
|
+
function validate$1e(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$1a(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$1p(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$1a(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$1o(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$1a(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$1f(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$F(existing, incoming) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
const ingest$F = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1607
1607
|
if (process.env.NODE_ENV !== 'production') {
|
|
1608
|
-
const validateError = validate$
|
|
1608
|
+
const validateError = validate$1e(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$r = 1000;
|
|
1728
1728
|
const VERSION$E = "06ddf1f43b6dbb759e6c6ec14f9d783f";
|
|
1729
|
-
function validate$
|
|
1729
|
+
function validate$1d(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$E(existing, incoming) {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
const ingest$E = function AssetSlackChannelRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1833
1833
|
if (process.env.NODE_ENV !== 'production') {
|
|
1834
|
-
const validateError = validate$
|
|
1834
|
+
const validateError = validate$1d(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$D = "948ac50067b64bee8680b553b1e19a09";
|
|
1947
|
-
function validate$
|
|
1947
|
+
function validate$1c(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 + '")');
|
|
@@ -2081,7 +2081,7 @@ function equals$D(existing, incoming) {
|
|
|
2081
2081
|
}
|
|
2082
2082
|
const ingest$D = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2083
2083
|
if (process.env.NODE_ENV !== 'production') {
|
|
2084
|
-
const validateError = validate$
|
|
2084
|
+
const validateError = validate$1c(input);
|
|
2085
2085
|
if (validateError !== null) {
|
|
2086
2086
|
throw validateError;
|
|
2087
2087
|
}
|
|
@@ -2242,7 +2242,7 @@ var DiscriminatorValues$3;
|
|
|
2242
2242
|
(function (DiscriminatorValues) {
|
|
2243
2243
|
DiscriminatorValues["Notification"] = "Notification";
|
|
2244
2244
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
2245
|
-
function validate$
|
|
2245
|
+
function validate$1b(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
2246
2246
|
const v_error = (() => {
|
|
2247
2247
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2248
2248
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2256,7 +2256,7 @@ function validate$17(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
2256
2256
|
return v_error === undefined ? null : v_error;
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
|
-
function validate$
|
|
2259
|
+
function validate$1a(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
|
|
2260
2260
|
const v_error = (() => {
|
|
2261
2261
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2262
2262
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2269,7 +2269,7 @@ function validate$16(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2269
2269
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2270
2270
|
const obj_receivers_item = obj_receivers[i];
|
|
2271
2271
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2272
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2272
|
+
const referencepath_receivers_itemValidationError = validate$1b(obj_receivers_item, path_receivers_item);
|
|
2273
2273
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2274
2274
|
let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
|
|
2275
2275
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2285,7 +2285,7 @@ var DiscriminatorValues$2;
|
|
|
2285
2285
|
DiscriminatorValues["RawValue"] = "RawValue";
|
|
2286
2286
|
DiscriminatorValues["Insights"] = "Insights";
|
|
2287
2287
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
2288
|
-
function validate$
|
|
2288
|
+
function validate$19(obj, path = 'DataAlertValueInputRepresentation') {
|
|
2289
2289
|
const v_error = (() => {
|
|
2290
2290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2291
2291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2299,7 +2299,7 @@ function validate$15(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
2299
2299
|
return v_error === undefined ? null : v_error;
|
|
2300
2300
|
}
|
|
2301
2301
|
|
|
2302
|
-
function validate$
|
|
2302
|
+
function validate$18(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
|
|
2303
2303
|
const v_error = (() => {
|
|
2304
2304
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2305
2305
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2313,14 +2313,14 @@ function validate$14(obj, path = 'DataAlertValueRightOperandInputRepresentation'
|
|
|
2313
2313
|
return v_error === undefined ? null : v_error;
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
|
-
function validate$
|
|
2316
|
+
function validate$17(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
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 + '")');
|
|
2320
2320
|
}
|
|
2321
2321
|
const obj_leftOperand = obj.leftOperand;
|
|
2322
2322
|
const path_leftOperand = path + '.leftOperand';
|
|
2323
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2323
|
+
const referencepath_leftOperandValidationError = validate$19(obj_leftOperand, path_leftOperand);
|
|
2324
2324
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2325
2325
|
let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
|
|
2326
2326
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2333,7 +2333,7 @@ function validate$13(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2333
2333
|
}
|
|
2334
2334
|
const obj_rightOperand = obj.rightOperand;
|
|
2335
2335
|
const path_rightOperand = path + '.rightOperand';
|
|
2336
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2336
|
+
const referencepath_rightOperandValidationError = validate$18(obj_rightOperand, path_rightOperand);
|
|
2337
2337
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2338
2338
|
let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
|
|
2339
2339
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2343,7 +2343,7 @@ function validate$13(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2343
2343
|
return v_error === undefined ? null : v_error;
|
|
2344
2344
|
}
|
|
2345
2345
|
|
|
2346
|
-
function validate$
|
|
2346
|
+
function validate$16(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
2347
2347
|
const v_error = (() => {
|
|
2348
2348
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2349
2349
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2356,7 +2356,7 @@ function validate$12(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2356
2356
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2357
2357
|
const obj_conditions_item = obj_conditions[i];
|
|
2358
2358
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2359
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2359
|
+
const referencepath_conditions_itemValidationError = validate$17(obj_conditions_item, path_conditions_item);
|
|
2360
2360
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2361
2361
|
let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
|
|
2362
2362
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2372,7 +2372,7 @@ function validate$12(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2372
2372
|
return v_error === undefined ? null : v_error;
|
|
2373
2373
|
}
|
|
2374
2374
|
|
|
2375
|
-
function validate$
|
|
2375
|
+
function validate$15(obj, path = 'DataAlertContentRepresentation') {
|
|
2376
2376
|
const v_error = (() => {
|
|
2377
2377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2378
2378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2386,7 +2386,7 @@ function validate$11(obj, path = 'DataAlertContentRepresentation') {
|
|
|
2386
2386
|
return v_error === undefined ? null : v_error;
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
|
-
function validate$
|
|
2389
|
+
function validate$14(obj, path = 'DataAlertReceiversRepresentation') {
|
|
2390
2390
|
const v_error = (() => {
|
|
2391
2391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2392
2392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2400,7 +2400,7 @@ function validate$10(obj, path = 'DataAlertReceiversRepresentation') {
|
|
|
2400
2400
|
return v_error === undefined ? null : v_error;
|
|
2401
2401
|
}
|
|
2402
2402
|
|
|
2403
|
-
function validate
|
|
2403
|
+
function validate$13(obj, path = 'DataAlertDeliveryConfigurationRepresentation') {
|
|
2404
2404
|
const v_error = (() => {
|
|
2405
2405
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2406
2406
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2413,7 +2413,7 @@ function validate$$(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2413
2413
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2414
2414
|
const obj_receivers_item = obj_receivers[i];
|
|
2415
2415
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2416
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2416
|
+
const referencepath_receivers_itemValidationError = validate$14(obj_receivers_item, path_receivers_item);
|
|
2417
2417
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2418
2418
|
let message = 'Object doesn\'t match DataAlertReceiversRepresentation (at "' + path_receivers_item + '")\n';
|
|
2419
2419
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2424,7 +2424,7 @@ function validate$$(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2424
2424
|
return v_error === undefined ? null : v_error;
|
|
2425
2425
|
}
|
|
2426
2426
|
|
|
2427
|
-
function validate$
|
|
2427
|
+
function validate$12(obj, path = 'DataAlertScheduleRepresentation') {
|
|
2428
2428
|
const v_error = (() => {
|
|
2429
2429
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2430
2430
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2452,7 +2452,7 @@ function validate$_(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
2452
2452
|
return v_error === undefined ? null : v_error;
|
|
2453
2453
|
}
|
|
2454
2454
|
|
|
2455
|
-
function validate$
|
|
2455
|
+
function validate$11(obj, path = 'DataAlertValueRepresentation') {
|
|
2456
2456
|
const v_error = (() => {
|
|
2457
2457
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2458
2458
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2466,14 +2466,14 @@ function validate$Z(obj, path = 'DataAlertValueRepresentation') {
|
|
|
2466
2466
|
return v_error === undefined ? null : v_error;
|
|
2467
2467
|
}
|
|
2468
2468
|
|
|
2469
|
-
function validate$
|
|
2469
|
+
function validate$10(obj, path = 'DataAlertConditionRepresentation') {
|
|
2470
2470
|
const v_error = (() => {
|
|
2471
2471
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2472
2472
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2473
2473
|
}
|
|
2474
2474
|
const obj_leftOperand = obj.leftOperand;
|
|
2475
2475
|
const path_leftOperand = path + '.leftOperand';
|
|
2476
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2476
|
+
const referencepath_leftOperandValidationError = validate$11(obj_leftOperand, path_leftOperand);
|
|
2477
2477
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2478
2478
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_leftOperand + '")\n';
|
|
2479
2479
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2486,7 +2486,7 @@ function validate$Y(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2486
2486
|
}
|
|
2487
2487
|
const obj_rightOperand = obj.rightOperand;
|
|
2488
2488
|
const path_rightOperand = path + '.rightOperand';
|
|
2489
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2489
|
+
const referencepath_rightOperandValidationError = validate$11(obj_rightOperand, path_rightOperand);
|
|
2490
2490
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2491
2491
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_rightOperand + '")\n';
|
|
2492
2492
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2496,7 +2496,7 @@ function validate$Y(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2496
2496
|
return v_error === undefined ? null : v_error;
|
|
2497
2497
|
}
|
|
2498
2498
|
|
|
2499
|
-
function validate
|
|
2499
|
+
function validate$$(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
2500
2500
|
const v_error = (() => {
|
|
2501
2501
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2502
2502
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2509,7 +2509,7 @@ function validate$X(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2509
2509
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2510
2510
|
const obj_conditions_item = obj_conditions[i];
|
|
2511
2511
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2512
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2512
|
+
const referencepath_conditions_itemValidationError = validate$10(obj_conditions_item, path_conditions_item);
|
|
2513
2513
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2514
2514
|
let message = 'Object doesn\'t match DataAlertConditionRepresentation (at "' + path_conditions_item + '")\n';
|
|
2515
2515
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2527,7 +2527,7 @@ function validate$X(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2527
2527
|
|
|
2528
2528
|
const TTL$q = 500;
|
|
2529
2529
|
const VERSION$C = "04f6ab40ada1d70c527b0dd9ba6e7415";
|
|
2530
|
-
function validate$
|
|
2530
|
+
function validate$_(obj, path = 'DataAlertRepresentation') {
|
|
2531
2531
|
const v_error = (() => {
|
|
2532
2532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2533
2533
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2539,7 +2539,7 @@ function validate$W(obj, path = 'DataAlertRepresentation') {
|
|
|
2539
2539
|
}
|
|
2540
2540
|
const obj_content = obj.content;
|
|
2541
2541
|
const path_content = path + '.content';
|
|
2542
|
-
const referencepath_contentValidationError = validate$
|
|
2542
|
+
const referencepath_contentValidationError = validate$15(obj_content, path_content);
|
|
2543
2543
|
if (referencepath_contentValidationError !== null) {
|
|
2544
2544
|
let message = 'Object doesn\'t match DataAlertContentRepresentation (at "' + path_content + '")\n';
|
|
2545
2545
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2557,7 +2557,7 @@ function validate$W(obj, path = 'DataAlertRepresentation') {
|
|
|
2557
2557
|
}
|
|
2558
2558
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
2559
2559
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
2560
|
-
const referencepath_deliveryConfigurationsValidationError = validate
|
|
2560
|
+
const referencepath_deliveryConfigurationsValidationError = validate$13(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
2561
2561
|
if (referencepath_deliveryConfigurationsValidationError !== null) {
|
|
2562
2562
|
let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
|
|
2563
2563
|
message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2575,7 +2575,7 @@ function validate$W(obj, path = 'DataAlertRepresentation') {
|
|
|
2575
2575
|
}
|
|
2576
2576
|
const obj_schedule = obj.schedule;
|
|
2577
2577
|
const path_schedule = path + '.schedule';
|
|
2578
|
-
const referencepath_scheduleValidationError = validate$
|
|
2578
|
+
const referencepath_scheduleValidationError = validate$12(obj_schedule, path_schedule);
|
|
2579
2579
|
if (referencepath_scheduleValidationError !== null) {
|
|
2580
2580
|
let message = 'Object doesn\'t match DataAlertScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
2581
2581
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2583,7 +2583,7 @@ function validate$W(obj, path = 'DataAlertRepresentation') {
|
|
|
2583
2583
|
}
|
|
2584
2584
|
const obj_thresholds = obj.thresholds;
|
|
2585
2585
|
const path_thresholds = path + '.thresholds';
|
|
2586
|
-
const referencepath_thresholdsValidationError = validate
|
|
2586
|
+
const referencepath_thresholdsValidationError = validate$$(obj_thresholds, path_thresholds);
|
|
2587
2587
|
if (referencepath_thresholdsValidationError !== null) {
|
|
2588
2588
|
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
2589
2589
|
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2621,7 +2621,7 @@ function equals$C(existing, incoming) {
|
|
|
2621
2621
|
}
|
|
2622
2622
|
const ingest$C = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2623
2623
|
if (process.env.NODE_ENV !== 'production') {
|
|
2624
|
-
const validateError = validate$
|
|
2624
|
+
const validateError = validate$_(input);
|
|
2625
2625
|
if (validateError !== null) {
|
|
2626
2626
|
throw validateError;
|
|
2627
2627
|
}
|
|
@@ -2682,7 +2682,7 @@ var DiscriminatorValues$1;
|
|
|
2682
2682
|
(function (DiscriminatorValues) {
|
|
2683
2683
|
DiscriminatorValues["Metric"] = "Metric";
|
|
2684
2684
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
2685
|
-
function validate$
|
|
2685
|
+
function validate$Z(obj, path = 'DataAlertContentInputRepresentation') {
|
|
2686
2686
|
const v_error = (() => {
|
|
2687
2687
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2688
2688
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2702,7 +2702,7 @@ var DiscriminatorValues;
|
|
|
2702
2702
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
2703
2703
|
DiscriminatorValues["EveryNMinutes"] = "EveryNMinutes";
|
|
2704
2704
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
2705
|
-
function validate$
|
|
2705
|
+
function validate$Y(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
2706
2706
|
const v_error = (() => {
|
|
2707
2707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2708
2708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2746,22 +2746,22 @@ function typeCheckConfig$V(untrustedConfig) {
|
|
|
2746
2746
|
const config = {};
|
|
2747
2747
|
typeCheckConfig$Z(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
|
|
2748
2748
|
const untrustedConfig_content = untrustedConfig.content;
|
|
2749
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
2749
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$Z(untrustedConfig_content);
|
|
2750
2750
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
2751
2751
|
config.content = untrustedConfig_content;
|
|
2752
2752
|
}
|
|
2753
2753
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
2754
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
2754
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1a(untrustedConfig_deliveryConfigurations);
|
|
2755
2755
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
2756
2756
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
2757
2757
|
}
|
|
2758
2758
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
2759
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
2759
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$Y(untrustedConfig_schedule);
|
|
2760
2760
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
2761
2761
|
config.schedule = untrustedConfig_schedule;
|
|
2762
2762
|
}
|
|
2763
2763
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
2764
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
2764
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$16(untrustedConfig_thresholds);
|
|
2765
2765
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
2766
2766
|
config.thresholds = untrustedConfig_thresholds;
|
|
2767
2767
|
}
|
|
@@ -2809,7 +2809,7 @@ const createDataAlertAdapterFactory = (luvio) => {
|
|
|
2809
2809
|
};
|
|
2810
2810
|
};
|
|
2811
2811
|
|
|
2812
|
-
function validate$
|
|
2812
|
+
function validate$X(obj, path = 'BaseAnalyticsRepresentation') {
|
|
2813
2813
|
const v_error = (() => {
|
|
2814
2814
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2815
2815
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2844,8 +2844,8 @@ function validate$T(obj, path = 'BaseAnalyticsRepresentation') {
|
|
|
2844
2844
|
return v_error === undefined ? null : v_error;
|
|
2845
2845
|
}
|
|
2846
2846
|
|
|
2847
|
-
function validate$
|
|
2848
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
2847
|
+
function validate$W(obj, path = 'AnalyticsUserRepresentation') {
|
|
2848
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$X(obj, path);
|
|
2849
2849
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2850
2850
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2851
2851
|
}
|
|
@@ -2885,8 +2885,224 @@ function validate$S(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
2885
2885
|
return v_error === undefined ? null : v_error;
|
|
2886
2886
|
}
|
|
2887
2887
|
|
|
2888
|
+
function validate$V(obj, path = 'AdditionalInfoDataspacesRepresentation') {
|
|
2889
|
+
const v_error = (() => {
|
|
2890
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2891
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2892
|
+
}
|
|
2893
|
+
if (obj.created !== undefined) {
|
|
2894
|
+
const obj_created = obj.created;
|
|
2895
|
+
const path_created = path + '.created';
|
|
2896
|
+
if (!ArrayIsArray(obj_created)) {
|
|
2897
|
+
return new TypeError('Expected "array" but received "' + typeof obj_created + '" (at "' + path_created + '")');
|
|
2898
|
+
}
|
|
2899
|
+
for (let i = 0; i < obj_created.length; i++) {
|
|
2900
|
+
const obj_created_item = obj_created[i];
|
|
2901
|
+
const path_created_item = path_created + '[' + i + ']';
|
|
2902
|
+
if (typeof obj_created_item !== 'string') {
|
|
2903
|
+
return new TypeError('Expected "string" but received "' + typeof obj_created_item + '" (at "' + path_created_item + '")');
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
if (obj.toBeCreated !== undefined) {
|
|
2908
|
+
const obj_toBeCreated = obj.toBeCreated;
|
|
2909
|
+
const path_toBeCreated = path + '.toBeCreated';
|
|
2910
|
+
if (!ArrayIsArray(obj_toBeCreated)) {
|
|
2911
|
+
return new TypeError('Expected "array" but received "' + typeof obj_toBeCreated + '" (at "' + path_toBeCreated + '")');
|
|
2912
|
+
}
|
|
2913
|
+
for (let i = 0; i < obj_toBeCreated.length; i++) {
|
|
2914
|
+
const obj_toBeCreated_item = obj_toBeCreated[i];
|
|
2915
|
+
const path_toBeCreated_item = path_toBeCreated + '[' + i + ']';
|
|
2916
|
+
if (typeof obj_toBeCreated_item !== 'string') {
|
|
2917
|
+
return new TypeError('Expected "string" but received "' + typeof obj_toBeCreated_item + '" (at "' + path_toBeCreated_item + '")');
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
})();
|
|
2922
|
+
return v_error === undefined ? null : v_error;
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
function validate$U(obj, path = 'AdditionalInfoAssetWarningsRepresentation') {
|
|
2926
|
+
const v_error = (() => {
|
|
2927
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2928
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2929
|
+
}
|
|
2930
|
+
if (obj.unmappedFields !== undefined) {
|
|
2931
|
+
const obj_unmappedFields = obj.unmappedFields;
|
|
2932
|
+
const path_unmappedFields = path + '.unmappedFields';
|
|
2933
|
+
if (!ArrayIsArray(obj_unmappedFields)) {
|
|
2934
|
+
return new TypeError('Expected "array" but received "' + typeof obj_unmappedFields + '" (at "' + path_unmappedFields + '")');
|
|
2935
|
+
}
|
|
2936
|
+
for (let i = 0; i < obj_unmappedFields.length; i++) {
|
|
2937
|
+
const obj_unmappedFields_item = obj_unmappedFields[i];
|
|
2938
|
+
const path_unmappedFields_item = path_unmappedFields + '[' + i + ']';
|
|
2939
|
+
if (typeof obj_unmappedFields_item !== 'string') {
|
|
2940
|
+
return new TypeError('Expected "string" but received "' + typeof obj_unmappedFields_item + '" (at "' + path_unmappedFields_item + '")');
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
})();
|
|
2945
|
+
return v_error === undefined ? null : v_error;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
function validate$T(obj, path = 'AdditionalInfoAssetRepresentation') {
|
|
2949
|
+
const v_error = (() => {
|
|
2950
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2951
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2952
|
+
}
|
|
2953
|
+
const obj_isPrimary = obj.isPrimary;
|
|
2954
|
+
const path_isPrimary = path + '.isPrimary';
|
|
2955
|
+
if (typeof obj_isPrimary !== 'boolean') {
|
|
2956
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimary + '" (at "' + path_isPrimary + '")');
|
|
2957
|
+
}
|
|
2958
|
+
const obj_label = obj.label;
|
|
2959
|
+
const path_label = path + '.label';
|
|
2960
|
+
if (typeof obj_label !== 'string') {
|
|
2961
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2962
|
+
}
|
|
2963
|
+
if (obj.srcName !== undefined) {
|
|
2964
|
+
const obj_srcName = obj.srcName;
|
|
2965
|
+
const path_srcName = path + '.srcName';
|
|
2966
|
+
if (typeof obj_srcName !== 'string') {
|
|
2967
|
+
return new TypeError('Expected "string" but received "' + typeof obj_srcName + '" (at "' + path_srcName + '")');
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
if (obj.tgtName !== undefined) {
|
|
2971
|
+
const obj_tgtName = obj.tgtName;
|
|
2972
|
+
const path_tgtName = path + '.tgtName';
|
|
2973
|
+
if (typeof obj_tgtName !== 'string') {
|
|
2974
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tgtName + '" (at "' + path_tgtName + '")');
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
const obj_type = obj.type;
|
|
2978
|
+
const path_type = path + '.type';
|
|
2979
|
+
if (typeof obj_type !== 'string') {
|
|
2980
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2981
|
+
}
|
|
2982
|
+
if (obj.warnings !== undefined) {
|
|
2983
|
+
const obj_warnings = obj.warnings;
|
|
2984
|
+
const path_warnings = path + '.warnings';
|
|
2985
|
+
let obj_warnings_union0 = null;
|
|
2986
|
+
const obj_warnings_union0_error = (() => {
|
|
2987
|
+
const referencepath_warningsValidationError = validate$U(obj_warnings, path_warnings);
|
|
2988
|
+
if (referencepath_warningsValidationError !== null) {
|
|
2989
|
+
let message = 'Object doesn\'t match AdditionalInfoAssetWarningsRepresentation (at "' + path_warnings + '")\n';
|
|
2990
|
+
message += referencepath_warningsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2991
|
+
return new TypeError(message);
|
|
2992
|
+
}
|
|
2993
|
+
})();
|
|
2994
|
+
if (obj_warnings_union0_error != null) {
|
|
2995
|
+
obj_warnings_union0 = obj_warnings_union0_error.message;
|
|
2996
|
+
}
|
|
2997
|
+
let obj_warnings_union1 = null;
|
|
2998
|
+
const obj_warnings_union1_error = (() => {
|
|
2999
|
+
if (obj_warnings !== null) {
|
|
3000
|
+
return new TypeError('Expected "null" but received "' + typeof obj_warnings + '" (at "' + path_warnings + '")');
|
|
3001
|
+
}
|
|
3002
|
+
})();
|
|
3003
|
+
if (obj_warnings_union1_error != null) {
|
|
3004
|
+
obj_warnings_union1 = obj_warnings_union1_error.message;
|
|
3005
|
+
}
|
|
3006
|
+
if (obj_warnings_union0 && obj_warnings_union1) {
|
|
3007
|
+
let message = 'Object doesn\'t match union (at "' + path_warnings + '")';
|
|
3008
|
+
message += '\n' + obj_warnings_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3009
|
+
message += '\n' + obj_warnings_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3010
|
+
return new TypeError(message);
|
|
3011
|
+
}
|
|
3012
|
+
}
|
|
3013
|
+
})();
|
|
3014
|
+
return v_error === undefined ? null : v_error;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
function validate$S(obj, path = 'DataAssetRequestAdditionalInfoRepresentation') {
|
|
3018
|
+
const v_error = (() => {
|
|
3019
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3020
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3021
|
+
}
|
|
3022
|
+
if (obj.dataspaces !== undefined) {
|
|
3023
|
+
const obj_dataspaces = obj.dataspaces;
|
|
3024
|
+
const path_dataspaces = path + '.dataspaces';
|
|
3025
|
+
const referencepath_dataspacesValidationError = validate$V(obj_dataspaces, path_dataspaces);
|
|
3026
|
+
if (referencepath_dataspacesValidationError !== null) {
|
|
3027
|
+
let message = 'Object doesn\'t match AdditionalInfoDataspacesRepresentation (at "' + path_dataspaces + '")\n';
|
|
3028
|
+
message += referencepath_dataspacesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3029
|
+
return new TypeError(message);
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
if (obj.deployedAssets !== undefined) {
|
|
3033
|
+
const obj_deployedAssets = obj.deployedAssets;
|
|
3034
|
+
const path_deployedAssets = path + '.deployedAssets';
|
|
3035
|
+
if (!ArrayIsArray(obj_deployedAssets)) {
|
|
3036
|
+
return new TypeError('Expected "array" but received "' + typeof obj_deployedAssets + '" (at "' + path_deployedAssets + '")');
|
|
3037
|
+
}
|
|
3038
|
+
for (let i = 0; i < obj_deployedAssets.length; i++) {
|
|
3039
|
+
const obj_deployedAssets_item = obj_deployedAssets[i];
|
|
3040
|
+
const path_deployedAssets_item = path_deployedAssets + '[' + i + ']';
|
|
3041
|
+
const referencepath_deployedAssets_itemValidationError = validate$T(obj_deployedAssets_item, path_deployedAssets_item);
|
|
3042
|
+
if (referencepath_deployedAssets_itemValidationError !== null) {
|
|
3043
|
+
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_deployedAssets_item + '")\n';
|
|
3044
|
+
message += referencepath_deployedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3045
|
+
return new TypeError(message);
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
}
|
|
3049
|
+
if (obj.failedAssets !== undefined) {
|
|
3050
|
+
const obj_failedAssets = obj.failedAssets;
|
|
3051
|
+
const path_failedAssets = path + '.failedAssets';
|
|
3052
|
+
if (!ArrayIsArray(obj_failedAssets)) {
|
|
3053
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failedAssets + '" (at "' + path_failedAssets + '")');
|
|
3054
|
+
}
|
|
3055
|
+
for (let i = 0; i < obj_failedAssets.length; i++) {
|
|
3056
|
+
const obj_failedAssets_item = obj_failedAssets[i];
|
|
3057
|
+
const path_failedAssets_item = path_failedAssets + '[' + i + ']';
|
|
3058
|
+
const referencepath_failedAssets_itemValidationError = validate$T(obj_failedAssets_item, path_failedAssets_item);
|
|
3059
|
+
if (referencepath_failedAssets_itemValidationError !== null) {
|
|
3060
|
+
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_failedAssets_item + '")\n';
|
|
3061
|
+
message += referencepath_failedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3062
|
+
return new TypeError(message);
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
if (obj.inProgressAssets !== undefined) {
|
|
3067
|
+
const obj_inProgressAssets = obj.inProgressAssets;
|
|
3068
|
+
const path_inProgressAssets = path + '.inProgressAssets';
|
|
3069
|
+
if (!ArrayIsArray(obj_inProgressAssets)) {
|
|
3070
|
+
return new TypeError('Expected "array" but received "' + typeof obj_inProgressAssets + '" (at "' + path_inProgressAssets + '")');
|
|
3071
|
+
}
|
|
3072
|
+
for (let i = 0; i < obj_inProgressAssets.length; i++) {
|
|
3073
|
+
const obj_inProgressAssets_item = obj_inProgressAssets[i];
|
|
3074
|
+
const path_inProgressAssets_item = path_inProgressAssets + '[' + i + ']';
|
|
3075
|
+
const referencepath_inProgressAssets_itemValidationError = validate$T(obj_inProgressAssets_item, path_inProgressAssets_item);
|
|
3076
|
+
if (referencepath_inProgressAssets_itemValidationError !== null) {
|
|
3077
|
+
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_inProgressAssets_item + '")\n';
|
|
3078
|
+
message += referencepath_inProgressAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3079
|
+
return new TypeError(message);
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
}
|
|
3083
|
+
if (obj.notStartedAssets !== undefined) {
|
|
3084
|
+
const obj_notStartedAssets = obj.notStartedAssets;
|
|
3085
|
+
const path_notStartedAssets = path + '.notStartedAssets';
|
|
3086
|
+
if (!ArrayIsArray(obj_notStartedAssets)) {
|
|
3087
|
+
return new TypeError('Expected "array" but received "' + typeof obj_notStartedAssets + '" (at "' + path_notStartedAssets + '")');
|
|
3088
|
+
}
|
|
3089
|
+
for (let i = 0; i < obj_notStartedAssets.length; i++) {
|
|
3090
|
+
const obj_notStartedAssets_item = obj_notStartedAssets[i];
|
|
3091
|
+
const path_notStartedAssets_item = path_notStartedAssets + '[' + i + ']';
|
|
3092
|
+
const referencepath_notStartedAssets_itemValidationError = validate$T(obj_notStartedAssets_item, path_notStartedAssets_item);
|
|
3093
|
+
if (referencepath_notStartedAssets_itemValidationError !== null) {
|
|
3094
|
+
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_notStartedAssets_item + '")\n';
|
|
3095
|
+
message += referencepath_notStartedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3096
|
+
return new TypeError(message);
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
})();
|
|
3101
|
+
return v_error === undefined ? null : v_error;
|
|
3102
|
+
}
|
|
3103
|
+
|
|
2888
3104
|
const TTL$p = 500;
|
|
2889
|
-
const VERSION$B = "
|
|
3105
|
+
const VERSION$B = "33098ff1e82d01bbb10d8595b4c0d4cb";
|
|
2890
3106
|
function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
2891
3107
|
const v_error = (() => {
|
|
2892
3108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2896,7 +3112,7 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2896
3112
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
2897
3113
|
let obj_acknowledgedBy_union0 = null;
|
|
2898
3114
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
2899
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
3115
|
+
const referencepath_acknowledgedByValidationError = validate$W(obj_acknowledgedBy, path_acknowledgedBy);
|
|
2900
3116
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
2901
3117
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
2902
3118
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2947,6 +3163,37 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2947
3163
|
message += '\n' + obj_acknowledgedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2948
3164
|
return new TypeError(message);
|
|
2949
3165
|
}
|
|
3166
|
+
if (obj.additionalInfo !== undefined) {
|
|
3167
|
+
const obj_additionalInfo = obj.additionalInfo;
|
|
3168
|
+
const path_additionalInfo = path + '.additionalInfo';
|
|
3169
|
+
let obj_additionalInfo_union0 = null;
|
|
3170
|
+
const obj_additionalInfo_union0_error = (() => {
|
|
3171
|
+
const referencepath_additionalInfoValidationError = validate$S(obj_additionalInfo, path_additionalInfo);
|
|
3172
|
+
if (referencepath_additionalInfoValidationError !== null) {
|
|
3173
|
+
let message = 'Object doesn\'t match DataAssetRequestAdditionalInfoRepresentation (at "' + path_additionalInfo + '")\n';
|
|
3174
|
+
message += referencepath_additionalInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3175
|
+
return new TypeError(message);
|
|
3176
|
+
}
|
|
3177
|
+
})();
|
|
3178
|
+
if (obj_additionalInfo_union0_error != null) {
|
|
3179
|
+
obj_additionalInfo_union0 = obj_additionalInfo_union0_error.message;
|
|
3180
|
+
}
|
|
3181
|
+
let obj_additionalInfo_union1 = null;
|
|
3182
|
+
const obj_additionalInfo_union1_error = (() => {
|
|
3183
|
+
if (obj_additionalInfo !== null) {
|
|
3184
|
+
return new TypeError('Expected "null" but received "' + typeof obj_additionalInfo + '" (at "' + path_additionalInfo + '")');
|
|
3185
|
+
}
|
|
3186
|
+
})();
|
|
3187
|
+
if (obj_additionalInfo_union1_error != null) {
|
|
3188
|
+
obj_additionalInfo_union1 = obj_additionalInfo_union1_error.message;
|
|
3189
|
+
}
|
|
3190
|
+
if (obj_additionalInfo_union0 && obj_additionalInfo_union1) {
|
|
3191
|
+
let message = 'Object doesn\'t match union (at "' + path_additionalInfo + '")';
|
|
3192
|
+
message += '\n' + obj_additionalInfo_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3193
|
+
message += '\n' + obj_additionalInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3194
|
+
return new TypeError(message);
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
2950
3197
|
const obj_assetId = obj.assetId;
|
|
2951
3198
|
const path_assetId = path + '.assetId';
|
|
2952
3199
|
if (typeof obj_assetId !== 'string') {
|
|
@@ -2982,7 +3229,7 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2982
3229
|
const path_cancelledBy = path + '.cancelledBy';
|
|
2983
3230
|
let obj_cancelledBy_union0 = null;
|
|
2984
3231
|
const obj_cancelledBy_union0_error = (() => {
|
|
2985
|
-
const referencepath_cancelledByValidationError = validate$
|
|
3232
|
+
const referencepath_cancelledByValidationError = validate$W(obj_cancelledBy, path_cancelledBy);
|
|
2986
3233
|
if (referencepath_cancelledByValidationError !== null) {
|
|
2987
3234
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
2988
3235
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3037,7 +3284,7 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3037
3284
|
const path_completedBy = path + '.completedBy';
|
|
3038
3285
|
let obj_completedBy_union0 = null;
|
|
3039
3286
|
const obj_completedBy_union0_error = (() => {
|
|
3040
|
-
const referencepath_completedByValidationError = validate$
|
|
3287
|
+
const referencepath_completedByValidationError = validate$W(obj_completedBy, path_completedBy);
|
|
3041
3288
|
if (referencepath_completedByValidationError !== null) {
|
|
3042
3289
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
3043
3290
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3088,6 +3335,34 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3088
3335
|
message += '\n' + obj_completedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3089
3336
|
return new TypeError(message);
|
|
3090
3337
|
}
|
|
3338
|
+
if (obj.errorCode !== undefined) {
|
|
3339
|
+
const obj_errorCode = obj.errorCode;
|
|
3340
|
+
const path_errorCode = path + '.errorCode';
|
|
3341
|
+
let obj_errorCode_union0 = null;
|
|
3342
|
+
const obj_errorCode_union0_error = (() => {
|
|
3343
|
+
if (typeof obj_errorCode !== 'string') {
|
|
3344
|
+
return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
|
|
3345
|
+
}
|
|
3346
|
+
})();
|
|
3347
|
+
if (obj_errorCode_union0_error != null) {
|
|
3348
|
+
obj_errorCode_union0 = obj_errorCode_union0_error.message;
|
|
3349
|
+
}
|
|
3350
|
+
let obj_errorCode_union1 = null;
|
|
3351
|
+
const obj_errorCode_union1_error = (() => {
|
|
3352
|
+
if (obj_errorCode !== null) {
|
|
3353
|
+
return new TypeError('Expected "null" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
|
|
3354
|
+
}
|
|
3355
|
+
})();
|
|
3356
|
+
if (obj_errorCode_union1_error != null) {
|
|
3357
|
+
obj_errorCode_union1 = obj_errorCode_union1_error.message;
|
|
3358
|
+
}
|
|
3359
|
+
if (obj_errorCode_union0 && obj_errorCode_union1) {
|
|
3360
|
+
let message = 'Object doesn\'t match union (at "' + path_errorCode + '")';
|
|
3361
|
+
message += '\n' + obj_errorCode_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3362
|
+
message += '\n' + obj_errorCode_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3363
|
+
return new TypeError(message);
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3091
3366
|
const obj_failedDate = obj.failedDate;
|
|
3092
3367
|
const path_failedDate = path + '.failedDate';
|
|
3093
3368
|
let obj_failedDate_union0 = null;
|
|
@@ -3152,7 +3427,7 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3152
3427
|
}
|
|
3153
3428
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3154
3429
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3155
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3430
|
+
const referencepath_lastModifiedByValidationError = validate$W(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3156
3431
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3157
3432
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3158
3433
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3245,7 +3520,7 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3245
3520
|
const path_packageExportedBy = path + '.packageExportedBy';
|
|
3246
3521
|
let obj_packageExportedBy_union0 = null;
|
|
3247
3522
|
const obj_packageExportedBy_union0_error = (() => {
|
|
3248
|
-
const referencepath_packageExportedByValidationError = validate$
|
|
3523
|
+
const referencepath_packageExportedByValidationError = validate$W(obj_packageExportedBy, path_packageExportedBy);
|
|
3249
3524
|
if (referencepath_packageExportedByValidationError !== null) {
|
|
3250
3525
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_packageExportedBy + '")\n';
|
|
3251
3526
|
message += referencepath_packageExportedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3433,7 +3708,7 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3433
3708
|
}
|
|
3434
3709
|
const obj_requestedBy = obj.requestedBy;
|
|
3435
3710
|
const path_requestedBy = path + '.requestedBy';
|
|
3436
|
-
const referencepath_requestedByValidationError = validate$
|
|
3711
|
+
const referencepath_requestedByValidationError = validate$W(obj_requestedBy, path_requestedBy);
|
|
3437
3712
|
if (referencepath_requestedByValidationError !== null) {
|
|
3438
3713
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
3439
3714
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3506,6 +3781,34 @@ function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3506
3781
|
message += '\n' + obj_targetRequestId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3507
3782
|
return new TypeError(message);
|
|
3508
3783
|
}
|
|
3784
|
+
if (obj.taskProgressStatus !== undefined) {
|
|
3785
|
+
const obj_taskProgressStatus = obj.taskProgressStatus;
|
|
3786
|
+
const path_taskProgressStatus = path + '.taskProgressStatus';
|
|
3787
|
+
let obj_taskProgressStatus_union0 = null;
|
|
3788
|
+
const obj_taskProgressStatus_union0_error = (() => {
|
|
3789
|
+
if (typeof obj_taskProgressStatus !== 'string') {
|
|
3790
|
+
return new TypeError('Expected "string" but received "' + typeof obj_taskProgressStatus + '" (at "' + path_taskProgressStatus + '")');
|
|
3791
|
+
}
|
|
3792
|
+
})();
|
|
3793
|
+
if (obj_taskProgressStatus_union0_error != null) {
|
|
3794
|
+
obj_taskProgressStatus_union0 = obj_taskProgressStatus_union0_error.message;
|
|
3795
|
+
}
|
|
3796
|
+
let obj_taskProgressStatus_union1 = null;
|
|
3797
|
+
const obj_taskProgressStatus_union1_error = (() => {
|
|
3798
|
+
if (obj_taskProgressStatus !== null) {
|
|
3799
|
+
return new TypeError('Expected "null" but received "' + typeof obj_taskProgressStatus + '" (at "' + path_taskProgressStatus + '")');
|
|
3800
|
+
}
|
|
3801
|
+
})();
|
|
3802
|
+
if (obj_taskProgressStatus_union1_error != null) {
|
|
3803
|
+
obj_taskProgressStatus_union1 = obj_taskProgressStatus_union1_error.message;
|
|
3804
|
+
}
|
|
3805
|
+
if (obj_taskProgressStatus_union0 && obj_taskProgressStatus_union1) {
|
|
3806
|
+
let message = 'Object doesn\'t match union (at "' + path_taskProgressStatus + '")';
|
|
3807
|
+
message += '\n' + obj_taskProgressStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3808
|
+
message += '\n' + obj_taskProgressStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3809
|
+
return new TypeError(message);
|
|
3810
|
+
}
|
|
3811
|
+
}
|
|
3509
3812
|
const obj_workspaceAssetId = obj.workspaceAssetId;
|
|
3510
3813
|
const path_workspaceAssetId = path + '.workspaceAssetId';
|
|
3511
3814
|
if (typeof obj_workspaceAssetId !== 'string') {
|
|
@@ -3876,7 +4179,7 @@ function validate$O(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3876
4179
|
}
|
|
3877
4180
|
const obj_createdBy = obj.createdBy;
|
|
3878
4181
|
const path_createdBy = path + '.createdBy';
|
|
3879
|
-
const referencepath_createdByValidationError = validate$
|
|
4182
|
+
const referencepath_createdByValidationError = validate$W(obj_createdBy, path_createdBy);
|
|
3880
4183
|
if (referencepath_createdByValidationError !== null) {
|
|
3881
4184
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3882
4185
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3889,7 +4192,7 @@ function validate$O(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3889
4192
|
}
|
|
3890
4193
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3891
4194
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3892
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4195
|
+
const referencepath_lastModifiedByValidationError = validate$W(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3893
4196
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3894
4197
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3895
4198
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4319,7 +4622,7 @@ function validate$K(obj, path = 'VisualizationRepresentation') {
|
|
|
4319
4622
|
}
|
|
4320
4623
|
const obj_createdBy = obj.createdBy;
|
|
4321
4624
|
const path_createdBy = path + '.createdBy';
|
|
4322
|
-
const referencepath_createdByValidationError = validate$
|
|
4625
|
+
const referencepath_createdByValidationError = validate$W(obj_createdBy, path_createdBy);
|
|
4323
4626
|
if (referencepath_createdByValidationError !== null) {
|
|
4324
4627
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4325
4628
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4394,7 +4697,7 @@ function validate$K(obj, path = 'VisualizationRepresentation') {
|
|
|
4394
4697
|
if (obj.lastModifiedBy !== undefined) {
|
|
4395
4698
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4396
4699
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4397
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4700
|
+
const referencepath_lastModifiedByValidationError = validate$W(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4398
4701
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4399
4702
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4400
4703
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4714,7 +5017,7 @@ function validate$J(obj, path = 'WorkspaceRepresentation') {
|
|
|
4714
5017
|
}
|
|
4715
5018
|
const obj_createdBy = obj.createdBy;
|
|
4716
5019
|
const path_createdBy = path + '.createdBy';
|
|
4717
|
-
const referencepath_createdByValidationError = validate$
|
|
5020
|
+
const referencepath_createdByValidationError = validate$W(obj_createdBy, path_createdBy);
|
|
4718
5021
|
if (referencepath_createdByValidationError !== null) {
|
|
4719
5022
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4720
5023
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4934,7 +5237,7 @@ function validate$I(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
4934
5237
|
}
|
|
4935
5238
|
const obj_createdBy = obj.createdBy;
|
|
4936
5239
|
const path_createdBy = path + '.createdBy';
|
|
4937
|
-
const referencepath_createdByValidationError = validate$
|
|
5240
|
+
const referencepath_createdByValidationError = validate$W(obj_createdBy, path_createdBy);
|
|
4938
5241
|
if (referencepath_createdByValidationError !== null) {
|
|
4939
5242
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4940
5243
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6009,7 +6312,7 @@ function validate$D(obj, path = 'FollowerAssetRepresentation') {
|
|
|
6009
6312
|
}
|
|
6010
6313
|
const obj_createdBy = obj.createdBy;
|
|
6011
6314
|
const path_createdBy = path + '.createdBy';
|
|
6012
|
-
const referencepath_createdByValidationError = validate$
|
|
6315
|
+
const referencepath_createdByValidationError = validate$W(obj_createdBy, path_createdBy);
|
|
6013
6316
|
if (referencepath_createdByValidationError !== null) {
|
|
6014
6317
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
6015
6318
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7478,7 +7781,7 @@ function validate$y(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
7478
7781
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
7479
7782
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
7480
7783
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
7481
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
7784
|
+
const referencepath_dataAlerts_itemValidationError = validate$_(obj_dataAlerts_item, path_dataAlerts_item);
|
|
7482
7785
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
7483
7786
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
7484
7787
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7714,10 +8017,12 @@ function validate$x(obj, path = 'DataSpaceInfoRepresentation') {
|
|
|
7714
8017
|
if (typeof obj_dataSpaceLabel !== 'string') {
|
|
7715
8018
|
return new TypeError('Expected "string" but received "' + typeof obj_dataSpaceLabel + '" (at "' + path_dataSpaceLabel + '")');
|
|
7716
8019
|
}
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
8020
|
+
if (obj.dataSpacePrefix !== undefined) {
|
|
8021
|
+
const obj_dataSpacePrefix = obj.dataSpacePrefix;
|
|
8022
|
+
const path_dataSpacePrefix = path + '.dataSpacePrefix';
|
|
8023
|
+
if (typeof obj_dataSpacePrefix !== 'string') {
|
|
8024
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSpacePrefix + '" (at "' + path_dataSpacePrefix + '")');
|
|
8025
|
+
}
|
|
7721
8026
|
}
|
|
7722
8027
|
})();
|
|
7723
8028
|
return v_error === undefined ? null : v_error;
|
|
@@ -7740,7 +8045,7 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
|
7740
8045
|
}
|
|
7741
8046
|
const obj_createdBy = obj.createdBy;
|
|
7742
8047
|
const path_createdBy = path + '.createdBy';
|
|
7743
|
-
const referencepath_createdByValidationError = validate$
|
|
8048
|
+
const referencepath_createdByValidationError = validate$W(obj_createdBy, path_createdBy);
|
|
7744
8049
|
if (referencepath_createdByValidationError !== null) {
|
|
7745
8050
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
7746
8051
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7798,7 +8103,7 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
|
7798
8103
|
}
|
|
7799
8104
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
7800
8105
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
7801
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8106
|
+
const referencepath_lastModifiedByValidationError = validate$W(obj_lastModifiedBy, path_lastModifiedBy);
|
|
7802
8107
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
7803
8108
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
7804
8109
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8303,7 +8608,7 @@ function select$R(luvio, params) {
|
|
|
8303
8608
|
return select$S();
|
|
8304
8609
|
}
|
|
8305
8610
|
function keyBuilder$L(luvio, params) {
|
|
8306
|
-
return keyPrefix + '::DataAssetRequestCollectionRepresentation:(' + 'assetId:' + params.queryParams.assetId + ',' + 'assetType:' + params.queryParams.assetType + ',' + 'createdBy:' + params.queryParams.createdBy + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'requestType:' + params.queryParams.requestType + ',' + 'searchQueryTerm:' + params.queryParams.searchQueryTerm + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'status:' + params.queryParams.status + ',' + 'workspaceIdOrApiName:' + params.queryParams.workspaceIdOrApiName + ')';
|
|
8611
|
+
return keyPrefix + '::DataAssetRequestCollectionRepresentation:(' + 'assetId:' + params.queryParams.assetId + ',' + 'assetType:' + params.queryParams.assetType + ',' + 'createdBy:' + params.queryParams.createdBy + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'requestType:' + params.queryParams.requestType + ',' + 'searchQueryTerm:' + params.queryParams.searchQueryTerm + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'status:' + params.queryParams.status + ',' + 'taskProgressStatus:' + params.queryParams.taskProgressStatus + ',' + 'workspaceIdOrApiName:' + params.queryParams.workspaceIdOrApiName + ')';
|
|
8307
8612
|
}
|
|
8308
8613
|
function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
|
|
8309
8614
|
getTypeCacheKeys$m(storeKeyMap, luvio, response, () => keyBuilder$L(luvio, resourceParams));
|
|
@@ -8363,6 +8668,7 @@ const getDataAssetRequests_ConfigPropertyMetadata = [
|
|
|
8363
8668
|
generateParamConfigMetadata('searchQueryTerm', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8364
8669
|
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8365
8670
|
generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8671
|
+
generateParamConfigMetadata('taskProgressStatus', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8366
8672
|
generateParamConfigMetadata('workspaceIdOrApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8367
8673
|
];
|
|
8368
8674
|
const getDataAssetRequests_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, getDataAssetRequests_ConfigPropertyMetadata);
|
|
@@ -8506,7 +8812,7 @@ function select$P(luvio, params) {
|
|
|
8506
8812
|
return select$Q();
|
|
8507
8813
|
}
|
|
8508
8814
|
function keyBuilder$J(luvio, params) {
|
|
8509
|
-
return keyPrefix + '::DataAssetRequestCountRepresentation:(' + 'assetId:' + params.queryParams.assetId + ',' + 'assetType:' + params.queryParams.assetType + ',' + 'createdBy:' + params.queryParams.createdBy + ',' + 'searchQueryTerm:' + params.queryParams.searchQueryTerm + ',' + 'status:' + params.queryParams.status + ',' + 'taskType:' + params.queryParams.taskType + ',' + 'workspaceIdOrApiName:' + params.queryParams.workspaceIdOrApiName + ')';
|
|
8815
|
+
return keyPrefix + '::DataAssetRequestCountRepresentation:(' + 'assetId:' + params.queryParams.assetId + ',' + 'assetType:' + params.queryParams.assetType + ',' + 'createdBy:' + params.queryParams.createdBy + ',' + 'searchQueryTerm:' + params.queryParams.searchQueryTerm + ',' + 'status:' + params.queryParams.status + ',' + 'taskProgressStatus:' + params.queryParams.taskProgressStatus + ',' + 'taskType:' + params.queryParams.taskType + ',' + 'workspaceIdOrApiName:' + params.queryParams.workspaceIdOrApiName + ')';
|
|
8510
8816
|
}
|
|
8511
8817
|
function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
|
|
8512
8818
|
getTypeCacheKeys$l(storeKeyMap, luvio, response, () => keyBuilder$J(luvio, resourceParams));
|
|
@@ -8561,6 +8867,7 @@ const getDataAssetRequestsCount_ConfigPropertyMetadata = [
|
|
|
8561
8867
|
generateParamConfigMetadata('createdBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8562
8868
|
generateParamConfigMetadata('searchQueryTerm', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8563
8869
|
generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8870
|
+
generateParamConfigMetadata('taskProgressStatus', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8564
8871
|
generateParamConfigMetadata('taskType', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8565
8872
|
generateParamConfigMetadata('workspaceIdOrApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8566
8873
|
];
|
|
@@ -9069,7 +9376,7 @@ function select$L(luvio, params) {
|
|
|
9069
9376
|
return select$M();
|
|
9070
9377
|
}
|
|
9071
9378
|
function keyBuilder$F(luvio, params) {
|
|
9072
|
-
return keyPrefix + '::FlowCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ')';
|
|
9379
|
+
return keyPrefix + '::FlowCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'searchTerm:' + params.queryParams.searchTerm + ')';
|
|
9073
9380
|
}
|
|
9074
9381
|
function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
|
|
9075
9382
|
getTypeCacheKeys$j(storeKeyMap, luvio, response, () => keyBuilder$F(luvio, resourceParams));
|
|
@@ -9115,6 +9422,7 @@ const adapterName$t = 'getFlows';
|
|
|
9115
9422
|
const getFlows_ConfigPropertyMetadata = [
|
|
9116
9423
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
9117
9424
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
9425
|
+
generateParamConfigMetadata('searchTerm', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9118
9426
|
];
|
|
9119
9427
|
const getFlows_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getFlows_ConfigPropertyMetadata);
|
|
9120
9428
|
const createResourceParams$t = /*#__PURE__*/ createResourceParams$Z(getFlows_ConfigPropertyMetadata);
|
|
@@ -9514,7 +9822,7 @@ function validate$l(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
9514
9822
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
9515
9823
|
const obj_followers_item = obj_followers[i];
|
|
9516
9824
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
9517
|
-
const referencepath_followers_itemValidationError = validate$
|
|
9825
|
+
const referencepath_followers_itemValidationError = validate$W(obj_followers_item, path_followers_item);
|
|
9518
9826
|
if (referencepath_followers_itemValidationError !== null) {
|
|
9519
9827
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
9520
9828
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11774,7 +12082,7 @@ function validate$b(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
11774
12082
|
}
|
|
11775
12083
|
const obj_createdBy = obj.createdBy;
|
|
11776
12084
|
const path_createdBy = path + '.createdBy';
|
|
11777
|
-
const referencepath_createdByValidationError = validate$
|
|
12085
|
+
const referencepath_createdByValidationError = validate$W(obj_createdBy, path_createdBy);
|
|
11778
12086
|
if (referencepath_createdByValidationError !== null) {
|
|
11779
12087
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
11780
12088
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11819,7 +12127,7 @@ function validate$b(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
11819
12127
|
if (obj.lastModifiedBy !== undefined) {
|
|
11820
12128
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
11821
12129
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
11822
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
12130
|
+
const referencepath_lastModifiedByValidationError = validate$W(obj_lastModifiedBy, path_lastModifiedBy);
|
|
11823
12131
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
11824
12132
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
11825
12133
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13264,7 +13572,7 @@ const publishToMarketplaceAdapterFactory = (luvio) => {
|
|
|
13264
13572
|
};
|
|
13265
13573
|
|
|
13266
13574
|
function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
|
|
13267
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
13575
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$X(obj, path);
|
|
13268
13576
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
13269
13577
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
13270
13578
|
}
|
|
@@ -13277,7 +13585,7 @@ function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
|
|
|
13277
13585
|
}
|
|
13278
13586
|
|
|
13279
13587
|
function validate$3(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
|
|
13280
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
13588
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$X(obj, path);
|
|
13281
13589
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
13282
13590
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
13283
13591
|
}
|
|
@@ -13590,7 +13898,7 @@ function validate$1(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
13590
13898
|
for (let i = 0; i < obj_items.length; i++) {
|
|
13591
13899
|
const obj_items_item = obj_items[i];
|
|
13592
13900
|
const path_items_item = path_items + '[' + i + ']';
|
|
13593
|
-
const referencepath_items_itemValidationError = validate$
|
|
13901
|
+
const referencepath_items_itemValidationError = validate$W(obj_items_item, path_items_item);
|
|
13594
13902
|
if (referencepath_items_itemValidationError !== null) {
|
|
13595
13903
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
13596
13904
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14035,22 +14343,22 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
14035
14343
|
const config = {};
|
|
14036
14344
|
typeCheckConfig$Z(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
|
|
14037
14345
|
const untrustedConfig_content = untrustedConfig.content;
|
|
14038
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
14346
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$Z(untrustedConfig_content);
|
|
14039
14347
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
14040
14348
|
config.content = untrustedConfig_content;
|
|
14041
14349
|
}
|
|
14042
14350
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
14043
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
14351
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1a(untrustedConfig_deliveryConfigurations);
|
|
14044
14352
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
14045
14353
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
14046
14354
|
}
|
|
14047
14355
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
14048
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
14356
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$Y(untrustedConfig_schedule);
|
|
14049
14357
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
14050
14358
|
config.schedule = untrustedConfig_schedule;
|
|
14051
14359
|
}
|
|
14052
14360
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
14053
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
14361
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$16(untrustedConfig_thresholds);
|
|
14054
14362
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
14055
14363
|
config.thresholds = untrustedConfig_thresholds;
|
|
14056
14364
|
}
|
|
@@ -15258,4 +15566,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15258
15566
|
});
|
|
15259
15567
|
|
|
15260
15568
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, 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, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
15261
|
-
// version: 1.404.0-
|
|
15569
|
+
// version: 1.404.0-dev4-42147f9daa
|