@salesforce/lds-adapters-analytics-unifiedanalytics 1.401.0 → 1.403.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/analytics-unifiedanalytics.js +240 -116
- package/dist/es/es2018/types/src/generated/adapters/createDataAssetRequest.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updateDataAssetRequest.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/patchTableauDataAssetsRequestsByRequestIdOrApiName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAssetsRequests.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/DataAssetRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/DataSpaceInfoRepresentation.d.ts +34 -0
- package/package.json +3 -3
- package/sfdc/index.js +265 -141
- package/src/raml/api.raml +46 -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$1l(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$1k(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$1k(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$1j(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
136
136
|
return v_error === undefined ? null : v_error;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
function validate$
|
|
139
|
+
function validate$1j(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$1i(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
155
155
|
return v_error === undefined ? null : v_error;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1i(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$1h(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$1j(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$1h(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
239
239
|
return v_error === undefined ? null : v_error;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
function validate$
|
|
242
|
+
function validate$1h(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$1j(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$1g(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$1i(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$1g(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$1g(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$1f(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$1h(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$1f(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
388
388
|
return v_error === undefined ? null : v_error;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
function validate$
|
|
391
|
+
function validate$1f(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$1e(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
512
512
|
return v_error === undefined ? null : v_error;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
function validate$
|
|
515
|
+
function validate$1e(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$1d(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$1f(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$1d(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
902
902
|
return v_error === undefined ? null : v_error;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
function validate$
|
|
905
|
+
function validate$1d(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$1c(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$1e(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$1c(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1071
1071
|
return v_error === undefined ? null : v_error;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
function validate$
|
|
1074
|
+
function validate$1c(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$1b(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$1g(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$1b(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$1d(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$1b(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$1e(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$1b(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$1e(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$1b(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1465
1465
|
return v_error === undefined ? null : v_error;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
function validate$
|
|
1468
|
+
function validate$1b(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$1a(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$1c(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$1a(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1527
1527
|
|
|
1528
1528
|
const TTL$s = 1000;
|
|
1529
1529
|
const VERSION$F = "bacc25da56cffff8126d9bdafc471a37";
|
|
1530
|
-
function validate$
|
|
1530
|
+
function validate$1a(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$19(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$1l(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$19(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$1k(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$19(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$1b(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$1a(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$19(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$19(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$18(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$18(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$17(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$16(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
2256
2256
|
return v_error === undefined ? null : v_error;
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
|
-
function validate$
|
|
2259
|
+
function validate$16(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$15(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$17(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$15(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$14(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
2299
2299
|
return v_error === undefined ? null : v_error;
|
|
2300
2300
|
}
|
|
2301
2301
|
|
|
2302
|
-
function validate$
|
|
2302
|
+
function validate$14(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$13(obj, path = 'DataAlertValueRightOperandInputRepresentation'
|
|
|
2313
2313
|
return v_error === undefined ? null : v_error;
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
|
-
function validate$
|
|
2316
|
+
function validate$13(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$15(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$12(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$14(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$12(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2343
2343
|
return v_error === undefined ? null : v_error;
|
|
2344
2344
|
}
|
|
2345
2345
|
|
|
2346
|
-
function validate$
|
|
2346
|
+
function validate$12(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$11(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$13(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$11(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2372
2372
|
return v_error === undefined ? null : v_error;
|
|
2373
2373
|
}
|
|
2374
2374
|
|
|
2375
|
-
function validate$
|
|
2375
|
+
function validate$11(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$10(obj, path = 'DataAlertContentRepresentation') {
|
|
|
2386
2386
|
return v_error === undefined ? null : v_error;
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
|
-
function validate
|
|
2389
|
+
function validate$10(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$$(obj, path = 'DataAlertReceiversRepresentation') {
|
|
|
2400
2400
|
return v_error === undefined ? null : v_error;
|
|
2401
2401
|
}
|
|
2402
2402
|
|
|
2403
|
-
function validate
|
|
2403
|
+
function validate$$(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$10(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$_(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$Z(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
2452
2452
|
return v_error === undefined ? null : v_error;
|
|
2453
2453
|
}
|
|
2454
2454
|
|
|
2455
|
-
function validate$
|
|
2455
|
+
function validate$Z(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$Y(obj, path = 'DataAlertValueRepresentation') {
|
|
|
2466
2466
|
return v_error === undefined ? null : v_error;
|
|
2467
2467
|
}
|
|
2468
2468
|
|
|
2469
|
-
function validate$
|
|
2469
|
+
function validate$Y(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$Z(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$X(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$Z(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$X(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2496
2496
|
return v_error === undefined ? null : v_error;
|
|
2497
2497
|
}
|
|
2498
2498
|
|
|
2499
|
-
function validate$
|
|
2499
|
+
function validate$X(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$W(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$Y(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$W(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2527
2527
|
|
|
2528
2528
|
const TTL$q = 500;
|
|
2529
2529
|
const VERSION$C = "04f6ab40ada1d70c527b0dd9ba6e7415";
|
|
2530
|
-
function validate$
|
|
2530
|
+
function validate$W(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$V(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$11(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$V(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$$(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$V(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$_(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$V(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$X(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$W(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$V(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$U(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$V(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$16(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$U(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$12(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$T(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$S(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$S(obj, path = 'AnalyticsUserRepresentation') {
|
|
2848
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$T(obj, path);
|
|
2849
2849
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2850
2850
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2851
2851
|
}
|
|
@@ -2886,8 +2886,8 @@ function validate$R(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
2886
2886
|
}
|
|
2887
2887
|
|
|
2888
2888
|
const TTL$p = 500;
|
|
2889
|
-
const VERSION$B = "
|
|
2890
|
-
function validate$
|
|
2889
|
+
const VERSION$B = "c3146faa002b9dc423c9bb45dc4db3f2";
|
|
2890
|
+
function validate$R(obj, path = 'DataAssetRequestRepresentation') {
|
|
2891
2891
|
const v_error = (() => {
|
|
2892
2892
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2893
2893
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2896,7 +2896,7 @@ function validate$Q(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2896
2896
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
2897
2897
|
let obj_acknowledgedBy_union0 = null;
|
|
2898
2898
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
2899
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
2899
|
+
const referencepath_acknowledgedByValidationError = validate$S(obj_acknowledgedBy, path_acknowledgedBy);
|
|
2900
2900
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
2901
2901
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
2902
2902
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2982,7 +2982,7 @@ function validate$Q(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2982
2982
|
const path_cancelledBy = path + '.cancelledBy';
|
|
2983
2983
|
let obj_cancelledBy_union0 = null;
|
|
2984
2984
|
const obj_cancelledBy_union0_error = (() => {
|
|
2985
|
-
const referencepath_cancelledByValidationError = validate$
|
|
2985
|
+
const referencepath_cancelledByValidationError = validate$S(obj_cancelledBy, path_cancelledBy);
|
|
2986
2986
|
if (referencepath_cancelledByValidationError !== null) {
|
|
2987
2987
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
2988
2988
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3037,7 +3037,7 @@ function validate$Q(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3037
3037
|
const path_completedBy = path + '.completedBy';
|
|
3038
3038
|
let obj_completedBy_union0 = null;
|
|
3039
3039
|
const obj_completedBy_union0_error = (() => {
|
|
3040
|
-
const referencepath_completedByValidationError = validate$
|
|
3040
|
+
const referencepath_completedByValidationError = validate$S(obj_completedBy, path_completedBy);
|
|
3041
3041
|
if (referencepath_completedByValidationError !== null) {
|
|
3042
3042
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
3043
3043
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3152,7 +3152,7 @@ function validate$Q(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3152
3152
|
}
|
|
3153
3153
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3154
3154
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3155
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3155
|
+
const referencepath_lastModifiedByValidationError = validate$S(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3156
3156
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3157
3157
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3158
3158
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3215,6 +3215,87 @@ function validate$Q(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3215
3215
|
message += '\n' + obj_numberOfDependencies_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3216
3216
|
return new TypeError(message);
|
|
3217
3217
|
}
|
|
3218
|
+
const obj_packageExportStatus = obj.packageExportStatus;
|
|
3219
|
+
const path_packageExportStatus = path + '.packageExportStatus';
|
|
3220
|
+
let obj_packageExportStatus_union0 = null;
|
|
3221
|
+
const obj_packageExportStatus_union0_error = (() => {
|
|
3222
|
+
if (typeof obj_packageExportStatus !== 'string') {
|
|
3223
|
+
return new TypeError('Expected "string" but received "' + typeof obj_packageExportStatus + '" (at "' + path_packageExportStatus + '")');
|
|
3224
|
+
}
|
|
3225
|
+
})();
|
|
3226
|
+
if (obj_packageExportStatus_union0_error != null) {
|
|
3227
|
+
obj_packageExportStatus_union0 = obj_packageExportStatus_union0_error.message;
|
|
3228
|
+
}
|
|
3229
|
+
let obj_packageExportStatus_union1 = null;
|
|
3230
|
+
const obj_packageExportStatus_union1_error = (() => {
|
|
3231
|
+
if (obj_packageExportStatus !== null) {
|
|
3232
|
+
return new TypeError('Expected "null" but received "' + typeof obj_packageExportStatus + '" (at "' + path_packageExportStatus + '")');
|
|
3233
|
+
}
|
|
3234
|
+
})();
|
|
3235
|
+
if (obj_packageExportStatus_union1_error != null) {
|
|
3236
|
+
obj_packageExportStatus_union1 = obj_packageExportStatus_union1_error.message;
|
|
3237
|
+
}
|
|
3238
|
+
if (obj_packageExportStatus_union0 && obj_packageExportStatus_union1) {
|
|
3239
|
+
let message = 'Object doesn\'t match union (at "' + path_packageExportStatus + '")';
|
|
3240
|
+
message += '\n' + obj_packageExportStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3241
|
+
message += '\n' + obj_packageExportStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3242
|
+
return new TypeError(message);
|
|
3243
|
+
}
|
|
3244
|
+
const obj_packageExportedBy = obj.packageExportedBy;
|
|
3245
|
+
const path_packageExportedBy = path + '.packageExportedBy';
|
|
3246
|
+
let obj_packageExportedBy_union0 = null;
|
|
3247
|
+
const obj_packageExportedBy_union0_error = (() => {
|
|
3248
|
+
const referencepath_packageExportedByValidationError = validate$S(obj_packageExportedBy, path_packageExportedBy);
|
|
3249
|
+
if (referencepath_packageExportedByValidationError !== null) {
|
|
3250
|
+
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_packageExportedBy + '")\n';
|
|
3251
|
+
message += referencepath_packageExportedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3252
|
+
return new TypeError(message);
|
|
3253
|
+
}
|
|
3254
|
+
})();
|
|
3255
|
+
if (obj_packageExportedBy_union0_error != null) {
|
|
3256
|
+
obj_packageExportedBy_union0 = obj_packageExportedBy_union0_error.message;
|
|
3257
|
+
}
|
|
3258
|
+
let obj_packageExportedBy_union1 = null;
|
|
3259
|
+
const obj_packageExportedBy_union1_error = (() => {
|
|
3260
|
+
if (obj_packageExportedBy !== null) {
|
|
3261
|
+
return new TypeError('Expected "null" but received "' + typeof obj_packageExportedBy + '" (at "' + path_packageExportedBy + '")');
|
|
3262
|
+
}
|
|
3263
|
+
})();
|
|
3264
|
+
if (obj_packageExportedBy_union1_error != null) {
|
|
3265
|
+
obj_packageExportedBy_union1 = obj_packageExportedBy_union1_error.message;
|
|
3266
|
+
}
|
|
3267
|
+
if (obj_packageExportedBy_union0 && obj_packageExportedBy_union1) {
|
|
3268
|
+
let message = 'Object doesn\'t match union (at "' + path_packageExportedBy + '")';
|
|
3269
|
+
message += '\n' + obj_packageExportedBy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3270
|
+
message += '\n' + obj_packageExportedBy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3271
|
+
return new TypeError(message);
|
|
3272
|
+
}
|
|
3273
|
+
const obj_packageExportedDate = obj.packageExportedDate;
|
|
3274
|
+
const path_packageExportedDate = path + '.packageExportedDate';
|
|
3275
|
+
let obj_packageExportedDate_union0 = null;
|
|
3276
|
+
const obj_packageExportedDate_union0_error = (() => {
|
|
3277
|
+
if (typeof obj_packageExportedDate !== 'string') {
|
|
3278
|
+
return new TypeError('Expected "string" but received "' + typeof obj_packageExportedDate + '" (at "' + path_packageExportedDate + '")');
|
|
3279
|
+
}
|
|
3280
|
+
})();
|
|
3281
|
+
if (obj_packageExportedDate_union0_error != null) {
|
|
3282
|
+
obj_packageExportedDate_union0 = obj_packageExportedDate_union0_error.message;
|
|
3283
|
+
}
|
|
3284
|
+
let obj_packageExportedDate_union1 = null;
|
|
3285
|
+
const obj_packageExportedDate_union1_error = (() => {
|
|
3286
|
+
if (obj_packageExportedDate !== null) {
|
|
3287
|
+
return new TypeError('Expected "null" but received "' + typeof obj_packageExportedDate + '" (at "' + path_packageExportedDate + '")');
|
|
3288
|
+
}
|
|
3289
|
+
})();
|
|
3290
|
+
if (obj_packageExportedDate_union1_error != null) {
|
|
3291
|
+
obj_packageExportedDate_union1 = obj_packageExportedDate_union1_error.message;
|
|
3292
|
+
}
|
|
3293
|
+
if (obj_packageExportedDate_union0 && obj_packageExportedDate_union1) {
|
|
3294
|
+
let message = 'Object doesn\'t match union (at "' + path_packageExportedDate + '")';
|
|
3295
|
+
message += '\n' + obj_packageExportedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3296
|
+
message += '\n' + obj_packageExportedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3297
|
+
return new TypeError(message);
|
|
3298
|
+
}
|
|
3218
3299
|
const obj_personalOrgId = obj.personalOrgId;
|
|
3219
3300
|
const path_personalOrgId = path + '.personalOrgId';
|
|
3220
3301
|
let obj_personalOrgId_union0 = null;
|
|
@@ -3352,7 +3433,7 @@ function validate$Q(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3352
3433
|
}
|
|
3353
3434
|
const obj_requestedBy = obj.requestedBy;
|
|
3354
3435
|
const path_requestedBy = path + '.requestedBy';
|
|
3355
|
-
const referencepath_requestedByValidationError = validate$
|
|
3436
|
+
const referencepath_requestedByValidationError = validate$S(obj_requestedBy, path_requestedBy);
|
|
3356
3437
|
if (referencepath_requestedByValidationError !== null) {
|
|
3357
3438
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
3358
3439
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3462,7 +3543,7 @@ function equals$B(existing, incoming) {
|
|
|
3462
3543
|
}
|
|
3463
3544
|
const ingest$B = function DataAssetRequestRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3464
3545
|
if (process.env.NODE_ENV !== 'production') {
|
|
3465
|
-
const validateError = validate$
|
|
3546
|
+
const validateError = validate$R(input);
|
|
3466
3547
|
if (validateError !== null) {
|
|
3467
3548
|
throw validateError;
|
|
3468
3549
|
}
|
|
@@ -3531,6 +3612,7 @@ const createDataAssetRequest_ConfigPropertyMetadata = [
|
|
|
3531
3612
|
generateParamConfigMetadata('sourceRequestId', false, 2 /* Body */, 0 /* String */),
|
|
3532
3613
|
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
3533
3614
|
generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
|
|
3615
|
+
generateParamConfigMetadata('packageExportStatus', false, 2 /* Body */, 0 /* String */),
|
|
3534
3616
|
];
|
|
3535
3617
|
const createDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$U, createDataAssetRequest_ConfigPropertyMetadata);
|
|
3536
3618
|
const createResourceParams$U = /*#__PURE__*/ createResourceParams$Z(createDataAssetRequest_ConfigPropertyMetadata);
|
|
@@ -3583,7 +3665,7 @@ const createDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
3583
3665
|
|
|
3584
3666
|
const TTL$o = 1000;
|
|
3585
3667
|
const VERSION$A = "f2e0254a8e6b03f2289f318634389df3";
|
|
3586
|
-
function validate$
|
|
3668
|
+
function validate$Q(obj, path = 'UnifiedAnalyticsLogLinesRepresentation') {
|
|
3587
3669
|
const v_error = (() => {
|
|
3588
3670
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3589
3671
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3635,7 +3717,7 @@ function equals$A(existing, incoming) {
|
|
|
3635
3717
|
}
|
|
3636
3718
|
const ingest$A = function UnifiedAnalyticsLogLinesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3637
3719
|
if (process.env.NODE_ENV !== 'production') {
|
|
3638
|
-
const validateError = validate$
|
|
3720
|
+
const validateError = validate$Q(input);
|
|
3639
3721
|
if (validateError !== null) {
|
|
3640
3722
|
throw validateError;
|
|
3641
3723
|
}
|
|
@@ -3753,7 +3835,7 @@ const createLoglinesAdapterFactory = (luvio) => {
|
|
|
3753
3835
|
};
|
|
3754
3836
|
};
|
|
3755
3837
|
|
|
3756
|
-
function validate$
|
|
3838
|
+
function validate$P(obj, path = 'SetupRecordShareErrorRepresentation') {
|
|
3757
3839
|
const v_error = (() => {
|
|
3758
3840
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3759
3841
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3777,7 +3859,7 @@ function validate$O(obj, path = 'SetupRecordShareErrorRepresentation') {
|
|
|
3777
3859
|
return v_error === undefined ? null : v_error;
|
|
3778
3860
|
}
|
|
3779
3861
|
|
|
3780
|
-
function validate$
|
|
3862
|
+
function validate$O(obj, path = 'SetupRecordShareRepresentation') {
|
|
3781
3863
|
const v_error = (() => {
|
|
3782
3864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3783
3865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3794,7 +3876,7 @@ function validate$N(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3794
3876
|
}
|
|
3795
3877
|
const obj_createdBy = obj.createdBy;
|
|
3796
3878
|
const path_createdBy = path + '.createdBy';
|
|
3797
|
-
const referencepath_createdByValidationError = validate$
|
|
3879
|
+
const referencepath_createdByValidationError = validate$S(obj_createdBy, path_createdBy);
|
|
3798
3880
|
if (referencepath_createdByValidationError !== null) {
|
|
3799
3881
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3800
3882
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3807,7 +3889,7 @@ function validate$N(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3807
3889
|
}
|
|
3808
3890
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3809
3891
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3810
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3892
|
+
const referencepath_lastModifiedByValidationError = validate$S(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3811
3893
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3812
3894
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3813
3895
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3829,7 +3911,7 @@ function validate$N(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3829
3911
|
|
|
3830
3912
|
const TTL$n = 1000;
|
|
3831
3913
|
const VERSION$z = "eee8bc73146f75fcb8e2f168c3144e65";
|
|
3832
|
-
function validate$
|
|
3914
|
+
function validate$N(obj, path = 'SetupRecordShareCollectionRepresentation') {
|
|
3833
3915
|
const v_error = (() => {
|
|
3834
3916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3835
3917
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3842,7 +3924,7 @@ function validate$M(obj, path = 'SetupRecordShareCollectionRepresentation') {
|
|
|
3842
3924
|
for (let i = 0; i < obj_failedRecordShares.length; i++) {
|
|
3843
3925
|
const obj_failedRecordShares_item = obj_failedRecordShares[i];
|
|
3844
3926
|
const path_failedRecordShares_item = path_failedRecordShares + '[' + i + ']';
|
|
3845
|
-
const referencepath_failedRecordShares_itemValidationError = validate$
|
|
3927
|
+
const referencepath_failedRecordShares_itemValidationError = validate$P(obj_failedRecordShares_item, path_failedRecordShares_item);
|
|
3846
3928
|
if (referencepath_failedRecordShares_itemValidationError !== null) {
|
|
3847
3929
|
let message = 'Object doesn\'t match SetupRecordShareErrorRepresentation (at "' + path_failedRecordShares_item + '")\n';
|
|
3848
3930
|
message += referencepath_failedRecordShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3867,7 +3949,7 @@ function validate$M(obj, path = 'SetupRecordShareCollectionRepresentation') {
|
|
|
3867
3949
|
for (let i = 0; i < obj_successfulRecordShares.length; i++) {
|
|
3868
3950
|
const obj_successfulRecordShares_item = obj_successfulRecordShares[i];
|
|
3869
3951
|
const path_successfulRecordShares_item = path_successfulRecordShares + '[' + i + ']';
|
|
3870
|
-
const referencepath_successfulRecordShares_itemValidationError = validate$
|
|
3952
|
+
const referencepath_successfulRecordShares_itemValidationError = validate$O(obj_successfulRecordShares_item, path_successfulRecordShares_item);
|
|
3871
3953
|
if (referencepath_successfulRecordShares_itemValidationError !== null) {
|
|
3872
3954
|
let message = 'Object doesn\'t match SetupRecordShareRepresentation (at "' + path_successfulRecordShares_item + '")\n';
|
|
3873
3955
|
message += referencepath_successfulRecordShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3906,7 +3988,7 @@ function equals$z(existing, incoming) {
|
|
|
3906
3988
|
}
|
|
3907
3989
|
const ingest$z = function SetupRecordShareCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3908
3990
|
if (process.env.NODE_ENV !== 'production') {
|
|
3909
|
-
const validateError = validate$
|
|
3991
|
+
const validateError = validate$N(input);
|
|
3910
3992
|
if (validateError !== null) {
|
|
3911
3993
|
throw validateError;
|
|
3912
3994
|
}
|
|
@@ -4029,7 +4111,7 @@ const createRecordSharesAdapterFactory = (luvio) => {
|
|
|
4029
4111
|
|
|
4030
4112
|
const TTL$m = 1000;
|
|
4031
4113
|
const VERSION$y = "0e4b2078e98548886e74d01b47ea103b";
|
|
4032
|
-
function validate$
|
|
4114
|
+
function validate$M(obj, path = 'MarketplaceTemplateOutputRepresentation') {
|
|
4033
4115
|
const v_error = (() => {
|
|
4034
4116
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4035
4117
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4071,7 +4153,7 @@ function equals$y(existing, incoming) {
|
|
|
4071
4153
|
}
|
|
4072
4154
|
const ingest$y = function MarketplaceTemplateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4073
4155
|
if (process.env.NODE_ENV !== 'production') {
|
|
4074
|
-
const validateError = validate$
|
|
4156
|
+
const validateError = validate$M(input);
|
|
4075
4157
|
if (validateError !== null) {
|
|
4076
4158
|
throw validateError;
|
|
4077
4159
|
}
|
|
@@ -4210,7 +4292,7 @@ const createTemplateAdapterFactory = (luvio) => {
|
|
|
4210
4292
|
};
|
|
4211
4293
|
};
|
|
4212
4294
|
|
|
4213
|
-
function validate$
|
|
4295
|
+
function validate$L(obj, path = 'AnalyticsVersionRepresentation') {
|
|
4214
4296
|
const v_error = (() => {
|
|
4215
4297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4216
4298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4230,14 +4312,14 @@ function validate$K(obj, path = 'AnalyticsVersionRepresentation') {
|
|
|
4230
4312
|
}
|
|
4231
4313
|
|
|
4232
4314
|
const VERSION$x = "26516899843aa6fea56b3261cf3d1d39";
|
|
4233
|
-
function validate$
|
|
4315
|
+
function validate$K(obj, path = 'VisualizationRepresentation') {
|
|
4234
4316
|
const v_error = (() => {
|
|
4235
4317
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4236
4318
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4237
4319
|
}
|
|
4238
4320
|
const obj_createdBy = obj.createdBy;
|
|
4239
4321
|
const path_createdBy = path + '.createdBy';
|
|
4240
|
-
const referencepath_createdByValidationError = validate$
|
|
4322
|
+
const referencepath_createdByValidationError = validate$S(obj_createdBy, path_createdBy);
|
|
4241
4323
|
if (referencepath_createdByValidationError !== null) {
|
|
4242
4324
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4243
4325
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4312,7 +4394,7 @@ function validate$J(obj, path = 'VisualizationRepresentation') {
|
|
|
4312
4394
|
if (obj.lastModifiedBy !== undefined) {
|
|
4313
4395
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4314
4396
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4315
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4397
|
+
const referencepath_lastModifiedByValidationError = validate$S(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4316
4398
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4317
4399
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4318
4400
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4333,7 +4415,7 @@ function validate$J(obj, path = 'VisualizationRepresentation') {
|
|
|
4333
4415
|
}
|
|
4334
4416
|
const obj_sourceVersion = obj.sourceVersion;
|
|
4335
4417
|
const path_sourceVersion = path + '.sourceVersion';
|
|
4336
|
-
const referencepath_sourceVersionValidationError = validate$
|
|
4418
|
+
const referencepath_sourceVersionValidationError = validate$L(obj_sourceVersion, path_sourceVersion);
|
|
4337
4419
|
if (referencepath_sourceVersionValidationError !== null) {
|
|
4338
4420
|
let message = 'Object doesn\'t match AnalyticsVersionRepresentation (at "' + path_sourceVersion + '")\n';
|
|
4339
4421
|
message += referencepath_sourceVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4415,7 +4497,7 @@ function equals$x(existing, incoming) {
|
|
|
4415
4497
|
}
|
|
4416
4498
|
const ingest$x = function VisualizationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4417
4499
|
if (process.env.NODE_ENV !== 'production') {
|
|
4418
|
-
const validateError = validate$
|
|
4500
|
+
const validateError = validate$K(input);
|
|
4419
4501
|
if (validateError !== null) {
|
|
4420
4502
|
throw validateError;
|
|
4421
4503
|
}
|
|
@@ -4620,7 +4702,7 @@ const createVisualizationAdapterFactory = (luvio) => {
|
|
|
4620
4702
|
};
|
|
4621
4703
|
|
|
4622
4704
|
const VERSION$w = "d30aa567784494839ce9c37e69190918";
|
|
4623
|
-
function validate$
|
|
4705
|
+
function validate$J(obj, path = 'WorkspaceRepresentation') {
|
|
4624
4706
|
const v_error = (() => {
|
|
4625
4707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4626
4708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4632,7 +4714,7 @@ function validate$I(obj, path = 'WorkspaceRepresentation') {
|
|
|
4632
4714
|
}
|
|
4633
4715
|
const obj_createdBy = obj.createdBy;
|
|
4634
4716
|
const path_createdBy = path + '.createdBy';
|
|
4635
|
-
const referencepath_createdByValidationError = validate$
|
|
4717
|
+
const referencepath_createdByValidationError = validate$S(obj_createdBy, path_createdBy);
|
|
4636
4718
|
if (referencepath_createdByValidationError !== null) {
|
|
4637
4719
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4638
4720
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4716,7 +4798,7 @@ function equals$w(existing, incoming) {
|
|
|
4716
4798
|
}
|
|
4717
4799
|
const ingest$w = function WorkspaceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4718
4800
|
if (process.env.NODE_ENV !== 'production') {
|
|
4719
|
-
const validateError = validate$
|
|
4801
|
+
const validateError = validate$J(input);
|
|
4720
4802
|
if (validateError !== null) {
|
|
4721
4803
|
throw validateError;
|
|
4722
4804
|
}
|
|
@@ -4830,7 +4912,7 @@ const createWorkspaceAdapterFactory = (luvio) => {
|
|
|
4830
4912
|
};
|
|
4831
4913
|
|
|
4832
4914
|
const VERSION$v = "4abc4f793ed7181313c3ae7365a6fb8b";
|
|
4833
|
-
function validate$
|
|
4915
|
+
function validate$I(obj, path = 'WorkspaceAssetRepresentation') {
|
|
4834
4916
|
const v_error = (() => {
|
|
4835
4917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4836
4918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4852,7 +4934,7 @@ function validate$H(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
4852
4934
|
}
|
|
4853
4935
|
const obj_createdBy = obj.createdBy;
|
|
4854
4936
|
const path_createdBy = path + '.createdBy';
|
|
4855
|
-
const referencepath_createdByValidationError = validate$
|
|
4937
|
+
const referencepath_createdByValidationError = validate$S(obj_createdBy, path_createdBy);
|
|
4856
4938
|
if (referencepath_createdByValidationError !== null) {
|
|
4857
4939
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4858
4940
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4900,7 +4982,7 @@ function equals$v(existing, incoming) {
|
|
|
4900
4982
|
}
|
|
4901
4983
|
const ingest$v = function WorkspaceAssetRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4902
4984
|
if (process.env.NODE_ENV !== 'production') {
|
|
4903
|
-
const validateError = validate$
|
|
4985
|
+
const validateError = validate$I(input);
|
|
4904
4986
|
if (validateError !== null) {
|
|
4905
4987
|
throw validateError;
|
|
4906
4988
|
}
|
|
@@ -5013,7 +5095,7 @@ const createWorkspaceAssetAdapterFactory = (luvio) => {
|
|
|
5013
5095
|
};
|
|
5014
5096
|
};
|
|
5015
5097
|
|
|
5016
|
-
function validate$
|
|
5098
|
+
function validate$H(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
|
|
5017
5099
|
const v_error = (() => {
|
|
5018
5100
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5019
5101
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5064,7 +5146,7 @@ function validate$G(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
|
|
|
5064
5146
|
return v_error === undefined ? null : v_error;
|
|
5065
5147
|
}
|
|
5066
5148
|
|
|
5067
|
-
function validate$
|
|
5149
|
+
function validate$G(obj, path = 'SetupRecordAccessRepresentation') {
|
|
5068
5150
|
const v_error = (() => {
|
|
5069
5151
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5070
5152
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5086,7 +5168,7 @@ function validate$F(obj, path = 'SetupRecordAccessRepresentation') {
|
|
|
5086
5168
|
}
|
|
5087
5169
|
const obj_userOrGroup = obj.userOrGroup;
|
|
5088
5170
|
const path_userOrGroup = path + '.userOrGroup';
|
|
5089
|
-
const referencepath_userOrGroupValidationError = validate$
|
|
5171
|
+
const referencepath_userOrGroupValidationError = validate$H(obj_userOrGroup, path_userOrGroup);
|
|
5090
5172
|
if (referencepath_userOrGroupValidationError !== null) {
|
|
5091
5173
|
let message = 'Object doesn\'t match SetupRecordShareUserOrGroupRepresentation (at "' + path_userOrGroup + '")\n';
|
|
5092
5174
|
message += referencepath_userOrGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5107,7 +5189,7 @@ function keyBuilder$1a(luvio, config) {
|
|
|
5107
5189
|
|
|
5108
5190
|
const TTL$l = 1000;
|
|
5109
5191
|
const VERSION$u = "29800a9767c855e655dd3548834bae10";
|
|
5110
|
-
function validate$
|
|
5192
|
+
function validate$F(obj, path = 'SetupRecordAccessCollectionRepresentation') {
|
|
5111
5193
|
const v_error = (() => {
|
|
5112
5194
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5113
5195
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5173,7 +5255,7 @@ function validate$E(obj, path = 'SetupRecordAccessCollectionRepresentation') {
|
|
|
5173
5255
|
for (let i = 0; i < obj_recordAccessMappings.length; i++) {
|
|
5174
5256
|
const obj_recordAccessMappings_item = obj_recordAccessMappings[i];
|
|
5175
5257
|
const path_recordAccessMappings_item = path_recordAccessMappings + '[' + i + ']';
|
|
5176
|
-
const referencepath_recordAccessMappings_itemValidationError = validate$
|
|
5258
|
+
const referencepath_recordAccessMappings_itemValidationError = validate$G(obj_recordAccessMappings_item, path_recordAccessMappings_item);
|
|
5177
5259
|
if (referencepath_recordAccessMappings_itemValidationError !== null) {
|
|
5178
5260
|
let message = 'Object doesn\'t match SetupRecordAccessRepresentation (at "' + path_recordAccessMappings_item + '")\n';
|
|
5179
5261
|
message += referencepath_recordAccessMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5226,7 +5308,7 @@ function equals$u(existing, incoming) {
|
|
|
5226
5308
|
}
|
|
5227
5309
|
const ingest$u = function SetupRecordAccessCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5228
5310
|
if (process.env.NODE_ENV !== 'production') {
|
|
5229
|
-
const validateError = validate$
|
|
5311
|
+
const validateError = validate$F(input);
|
|
5230
5312
|
if (validateError !== null) {
|
|
5231
5313
|
throw validateError;
|
|
5232
5314
|
}
|
|
@@ -5866,7 +5948,7 @@ const deleteWorkspaceAssetAdapterFactory = (luvio) => {
|
|
|
5866
5948
|
};
|
|
5867
5949
|
};
|
|
5868
5950
|
|
|
5869
|
-
function validate$
|
|
5951
|
+
function validate$E(obj, path = 'FollowedTimeRangeRepresentation') {
|
|
5870
5952
|
const v_error = (() => {
|
|
5871
5953
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5872
5954
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5920,14 +6002,14 @@ function validate$D(obj, path = 'FollowedTimeRangeRepresentation') {
|
|
|
5920
6002
|
|
|
5921
6003
|
const TTL$k = 500;
|
|
5922
6004
|
const VERSION$t = "c3bc904365300b26d1f104c9bc055527";
|
|
5923
|
-
function validate$
|
|
6005
|
+
function validate$D(obj, path = 'FollowerAssetRepresentation') {
|
|
5924
6006
|
const v_error = (() => {
|
|
5925
6007
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5926
6008
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5927
6009
|
}
|
|
5928
6010
|
const obj_createdBy = obj.createdBy;
|
|
5929
6011
|
const path_createdBy = path + '.createdBy';
|
|
5930
|
-
const referencepath_createdByValidationError = validate$
|
|
6012
|
+
const referencepath_createdByValidationError = validate$S(obj_createdBy, path_createdBy);
|
|
5931
6013
|
if (referencepath_createdByValidationError !== null) {
|
|
5932
6014
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5933
6015
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5953,7 +6035,7 @@ function validate$C(obj, path = 'FollowerAssetRepresentation') {
|
|
|
5953
6035
|
const path_followedTimeRange = path + '.followedTimeRange';
|
|
5954
6036
|
let obj_followedTimeRange_union0 = null;
|
|
5955
6037
|
const obj_followedTimeRange_union0_error = (() => {
|
|
5956
|
-
const referencepath_followedTimeRangeValidationError = validate$
|
|
6038
|
+
const referencepath_followedTimeRangeValidationError = validate$E(obj_followedTimeRange, path_followedTimeRange);
|
|
5957
6039
|
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
5958
6040
|
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
5959
6041
|
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6021,7 +6103,7 @@ function equals$t(existing, incoming) {
|
|
|
6021
6103
|
}
|
|
6022
6104
|
const ingest$t = function FollowerAssetRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6023
6105
|
if (process.env.NODE_ENV !== 'production') {
|
|
6024
|
-
const validateError = validate$
|
|
6106
|
+
const validateError = validate$D(input);
|
|
6025
6107
|
if (validateError !== null) {
|
|
6026
6108
|
throw validateError;
|
|
6027
6109
|
}
|
|
@@ -6092,7 +6174,7 @@ function typeCheckConfig$G(untrustedConfig) {
|
|
|
6092
6174
|
const config = {};
|
|
6093
6175
|
typeCheckConfig$Z(untrustedConfig, config, follow_ConfigPropertyMetadata);
|
|
6094
6176
|
const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
|
|
6095
|
-
const referenceFollowedTimeRangeRepresentationValidationError = validate$
|
|
6177
|
+
const referenceFollowedTimeRangeRepresentationValidationError = validate$E(untrustedConfig_followedTimeRange);
|
|
6096
6178
|
if (referenceFollowedTimeRangeRepresentationValidationError === null) {
|
|
6097
6179
|
config.followedTimeRange = untrustedConfig_followedTimeRange;
|
|
6098
6180
|
}
|
|
@@ -6142,7 +6224,7 @@ const followAdapterFactory = (luvio) => {
|
|
|
6142
6224
|
|
|
6143
6225
|
const TTL$j = 1000;
|
|
6144
6226
|
const VERSION$s = "b74220848da66f28aac811c5ea8a8c23";
|
|
6145
|
-
function validate$
|
|
6227
|
+
function validate$C(obj, path = 'SFDriveCredentialRepresentation') {
|
|
6146
6228
|
const v_error = (() => {
|
|
6147
6229
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6148
6230
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6203,7 +6285,7 @@ function equals$s(existing, incoming) {
|
|
|
6203
6285
|
}
|
|
6204
6286
|
const ingest$s = function SFDriveCredentialRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6205
6287
|
if (process.env.NODE_ENV !== 'production') {
|
|
6206
|
-
const validateError = validate$
|
|
6288
|
+
const validateError = validate$C(input);
|
|
6207
6289
|
if (validateError !== null) {
|
|
6208
6290
|
throw validateError;
|
|
6209
6291
|
}
|
|
@@ -6315,7 +6397,7 @@ const generateSFDriveCredentialsAdapterFactory = (luvio) => {
|
|
|
6315
6397
|
|
|
6316
6398
|
const TTL$i = 1000;
|
|
6317
6399
|
const VERSION$r = "a80c8e970184cc7789e13f69392d6203";
|
|
6318
|
-
function validate$
|
|
6400
|
+
function validate$B(obj, path = 'AnnotationCollectionRepresentation') {
|
|
6319
6401
|
const v_error = (() => {
|
|
6320
6402
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6321
6403
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6399,7 +6481,7 @@ function equals$r(existing, incoming) {
|
|
|
6399
6481
|
}
|
|
6400
6482
|
const ingest$r = function AnnotationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6401
6483
|
if (process.env.NODE_ENV !== 'production') {
|
|
6402
|
-
const validateError = validate$
|
|
6484
|
+
const validateError = validate$B(input);
|
|
6403
6485
|
if (validateError !== null) {
|
|
6404
6486
|
throw validateError;
|
|
6405
6487
|
}
|
|
@@ -6567,7 +6649,7 @@ const getAnnotationsAdapterFactory = (luvio) => function UnifiedAnalytics__getAn
|
|
|
6567
6649
|
|
|
6568
6650
|
const TTL$h = 1000;
|
|
6569
6651
|
const VERSION$q = "6feb7b300efb96968d0cd3ad28b1552d";
|
|
6570
|
-
function validate$
|
|
6652
|
+
function validate$A(obj, path = 'AssetSlackChannelCollectionRepresentation') {
|
|
6571
6653
|
const v_error = (() => {
|
|
6572
6654
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6573
6655
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6637,7 +6719,7 @@ function equals$q(existing, incoming) {
|
|
|
6637
6719
|
}
|
|
6638
6720
|
const ingest$q = function AssetSlackChannelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6639
6721
|
if (process.env.NODE_ENV !== 'production') {
|
|
6640
|
-
const validateError = validate$
|
|
6722
|
+
const validateError = validate$A(input);
|
|
6641
6723
|
if (validateError !== null) {
|
|
6642
6724
|
throw validateError;
|
|
6643
6725
|
}
|
|
@@ -6972,7 +7054,7 @@ const notifyChangeFactory$6 = (luvio, options) => {
|
|
|
6972
7054
|
};
|
|
6973
7055
|
|
|
6974
7056
|
const VERSION$p = "962823130e6a9315240ef0e0f0c5f757";
|
|
6975
|
-
function validate$
|
|
7057
|
+
function validate$z(obj, path = 'DashboardCollectionRepresentation') {
|
|
6976
7058
|
const v_error = (() => {
|
|
6977
7059
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6978
7060
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7042,7 +7124,7 @@ function equals$p(existing, incoming) {
|
|
|
7042
7124
|
}
|
|
7043
7125
|
const ingest$p = function DashboardCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7044
7126
|
if (process.env.NODE_ENV !== 'production') {
|
|
7045
|
-
const validateError = validate$
|
|
7127
|
+
const validateError = validate$z(input);
|
|
7046
7128
|
if (validateError !== null) {
|
|
7047
7129
|
throw validateError;
|
|
7048
7130
|
}
|
|
@@ -7383,7 +7465,7 @@ const notifyChangeFactory$5 = (luvio, options) => {
|
|
|
7383
7465
|
|
|
7384
7466
|
const TTL$g = 500;
|
|
7385
7467
|
const VERSION$o = "d3e9e0efe02f7fa88865b7e72fe25f25";
|
|
7386
|
-
function validate$
|
|
7468
|
+
function validate$y(obj, path = 'DataAlertCollectionRepresentation') {
|
|
7387
7469
|
const v_error = (() => {
|
|
7388
7470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7389
7471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7396,7 +7478,7 @@ function validate$x(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
7396
7478
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
7397
7479
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
7398
7480
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
7399
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
7481
|
+
const referencepath_dataAlerts_itemValidationError = validate$W(obj_dataAlerts_item, path_dataAlerts_item);
|
|
7400
7482
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
7401
7483
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
7402
7484
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7457,7 +7539,7 @@ function equals$o(existing, incoming) {
|
|
|
7457
7539
|
}
|
|
7458
7540
|
const ingest$o = function DataAlertCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7459
7541
|
if (process.env.NODE_ENV !== 'production') {
|
|
7460
|
-
const validateError = validate$
|
|
7542
|
+
const validateError = validate$y(input);
|
|
7461
7543
|
if (validateError !== null) {
|
|
7462
7544
|
throw validateError;
|
|
7463
7545
|
}
|
|
@@ -7617,6 +7699,30 @@ const getDataAlertCollectionAdapterFactory = (luvio) => function UnifiedAnalytic
|
|
|
7617
7699
|
buildCachedSnapshotCachePolicy$k, buildNetworkSnapshotCachePolicy$k);
|
|
7618
7700
|
};
|
|
7619
7701
|
|
|
7702
|
+
function validate$x(obj, path = 'DataSpaceInfoRepresentation') {
|
|
7703
|
+
const v_error = (() => {
|
|
7704
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7705
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7706
|
+
}
|
|
7707
|
+
const obj_dataSpaceDeveloperName = obj.dataSpaceDeveloperName;
|
|
7708
|
+
const path_dataSpaceDeveloperName = path + '.dataSpaceDeveloperName';
|
|
7709
|
+
if (typeof obj_dataSpaceDeveloperName !== 'string') {
|
|
7710
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSpaceDeveloperName + '" (at "' + path_dataSpaceDeveloperName + '")');
|
|
7711
|
+
}
|
|
7712
|
+
const obj_dataSpaceLabel = obj.dataSpaceLabel;
|
|
7713
|
+
const path_dataSpaceLabel = path + '.dataSpaceLabel';
|
|
7714
|
+
if (typeof obj_dataSpaceLabel !== 'string') {
|
|
7715
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSpaceLabel + '" (at "' + path_dataSpaceLabel + '")');
|
|
7716
|
+
}
|
|
7717
|
+
const obj_dataSpacePrefix = obj.dataSpacePrefix;
|
|
7718
|
+
const path_dataSpacePrefix = path + '.dataSpacePrefix';
|
|
7719
|
+
if (typeof obj_dataSpacePrefix !== 'string') {
|
|
7720
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSpacePrefix + '" (at "' + path_dataSpacePrefix + '")');
|
|
7721
|
+
}
|
|
7722
|
+
})();
|
|
7723
|
+
return v_error === undefined ? null : v_error;
|
|
7724
|
+
}
|
|
7725
|
+
|
|
7620
7726
|
function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
7621
7727
|
const v_error = (() => {
|
|
7622
7728
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7634,7 +7740,7 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
|
7634
7740
|
}
|
|
7635
7741
|
const obj_createdBy = obj.createdBy;
|
|
7636
7742
|
const path_createdBy = path + '.createdBy';
|
|
7637
|
-
const referencepath_createdByValidationError = validate$
|
|
7743
|
+
const referencepath_createdByValidationError = validate$S(obj_createdBy, path_createdBy);
|
|
7638
7744
|
if (referencepath_createdByValidationError !== null) {
|
|
7639
7745
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
7640
7746
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7654,6 +7760,23 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
|
7654
7760
|
return new TypeError('Expected "string" but received "' + typeof obj_createdWorkspace + '" (at "' + path_createdWorkspace + '")');
|
|
7655
7761
|
}
|
|
7656
7762
|
}
|
|
7763
|
+
if (obj.dataSpaceInfo !== undefined) {
|
|
7764
|
+
const obj_dataSpaceInfo = obj.dataSpaceInfo;
|
|
7765
|
+
const path_dataSpaceInfo = path + '.dataSpaceInfo';
|
|
7766
|
+
if (!ArrayIsArray(obj_dataSpaceInfo)) {
|
|
7767
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataSpaceInfo + '" (at "' + path_dataSpaceInfo + '")');
|
|
7768
|
+
}
|
|
7769
|
+
for (let i = 0; i < obj_dataSpaceInfo.length; i++) {
|
|
7770
|
+
const obj_dataSpaceInfo_item = obj_dataSpaceInfo[i];
|
|
7771
|
+
const path_dataSpaceInfo_item = path_dataSpaceInfo + '[' + i + ']';
|
|
7772
|
+
const referencepath_dataSpaceInfo_itemValidationError = validate$x(obj_dataSpaceInfo_item, path_dataSpaceInfo_item);
|
|
7773
|
+
if (referencepath_dataSpaceInfo_itemValidationError !== null) {
|
|
7774
|
+
let message = 'Object doesn\'t match DataSpaceInfoRepresentation (at "' + path_dataSpaceInfo_item + '")\n';
|
|
7775
|
+
message += referencepath_dataSpaceInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7776
|
+
return new TypeError(message);
|
|
7777
|
+
}
|
|
7778
|
+
}
|
|
7779
|
+
}
|
|
7657
7780
|
if (obj.description !== undefined) {
|
|
7658
7781
|
const obj_description = obj.description;
|
|
7659
7782
|
const path_description = path + '.description';
|
|
@@ -7675,7 +7798,7 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
|
7675
7798
|
}
|
|
7676
7799
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
7677
7800
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
7678
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
7801
|
+
const referencepath_lastModifiedByValidationError = validate$S(obj_lastModifiedBy, path_lastModifiedBy);
|
|
7679
7802
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
7680
7803
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
7681
7804
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8126,7 +8249,7 @@ function validate$t(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
|
8126
8249
|
for (let i = 0; i < obj_dataAssetRequests.length; i++) {
|
|
8127
8250
|
const obj_dataAssetRequests_item = obj_dataAssetRequests[i];
|
|
8128
8251
|
const path_dataAssetRequests_item = path_dataAssetRequests + '[' + i + ']';
|
|
8129
|
-
const referencepath_dataAssetRequests_itemValidationError = validate$
|
|
8252
|
+
const referencepath_dataAssetRequests_itemValidationError = validate$R(obj_dataAssetRequests_item, path_dataAssetRequests_item);
|
|
8130
8253
|
if (referencepath_dataAssetRequests_itemValidationError !== null) {
|
|
8131
8254
|
let message = 'Object doesn\'t match DataAssetRequestRepresentation (at "' + path_dataAssetRequests_item + '")\n';
|
|
8132
8255
|
message += referencepath_dataAssetRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9107,7 +9230,7 @@ function validate$n(obj, path = 'FollowedAssetRepresentation') {
|
|
|
9107
9230
|
const path_followedTimeRange = path + '.followedTimeRange';
|
|
9108
9231
|
let obj_followedTimeRange_union0 = null;
|
|
9109
9232
|
const obj_followedTimeRange_union0_error = (() => {
|
|
9110
|
-
const referencepath_followedTimeRangeValidationError = validate$
|
|
9233
|
+
const referencepath_followedTimeRangeValidationError = validate$E(obj_followedTimeRange, path_followedTimeRange);
|
|
9111
9234
|
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
9112
9235
|
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
9113
9236
|
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9391,7 +9514,7 @@ function validate$l(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
9391
9514
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
9392
9515
|
const obj_followers_item = obj_followers[i];
|
|
9393
9516
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
9394
|
-
const referencepath_followers_itemValidationError = validate$
|
|
9517
|
+
const referencepath_followers_itemValidationError = validate$S(obj_followers_item, path_followers_item);
|
|
9395
9518
|
if (referencepath_followers_itemValidationError !== null) {
|
|
9396
9519
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
9397
9520
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11413,7 +11536,7 @@ function validate$c(obj, path = 'VisualizationBundleRepresentation') {
|
|
|
11413
11536
|
}
|
|
11414
11537
|
const obj_visualization = obj.visualization;
|
|
11415
11538
|
const path_visualization = path + '.visualization';
|
|
11416
|
-
const referencepath_visualizationValidationError = validate$
|
|
11539
|
+
const referencepath_visualizationValidationError = validate$K(obj_visualization, path_visualization);
|
|
11417
11540
|
if (referencepath_visualizationValidationError !== null) {
|
|
11418
11541
|
let message = 'Object doesn\'t match VisualizationRepresentation (at "' + path_visualization + '")\n';
|
|
11419
11542
|
message += referencepath_visualizationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11651,7 +11774,7 @@ function validate$b(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
11651
11774
|
}
|
|
11652
11775
|
const obj_createdBy = obj.createdBy;
|
|
11653
11776
|
const path_createdBy = path + '.createdBy';
|
|
11654
|
-
const referencepath_createdByValidationError = validate$
|
|
11777
|
+
const referencepath_createdByValidationError = validate$S(obj_createdBy, path_createdBy);
|
|
11655
11778
|
if (referencepath_createdByValidationError !== null) {
|
|
11656
11779
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
11657
11780
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11696,7 +11819,7 @@ function validate$b(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
11696
11819
|
if (obj.lastModifiedBy !== undefined) {
|
|
11697
11820
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
11698
11821
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
11699
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
11822
|
+
const referencepath_lastModifiedByValidationError = validate$S(obj_lastModifiedBy, path_lastModifiedBy);
|
|
11700
11823
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
11701
11824
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
11702
11825
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11717,7 +11840,7 @@ function validate$b(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
11717
11840
|
}
|
|
11718
11841
|
const obj_sourceVersion = obj.sourceVersion;
|
|
11719
11842
|
const path_sourceVersion = path + '.sourceVersion';
|
|
11720
|
-
const referencepath_sourceVersionValidationError = validate$
|
|
11843
|
+
const referencepath_sourceVersionValidationError = validate$L(obj_sourceVersion, path_sourceVersion);
|
|
11721
11844
|
if (referencepath_sourceVersionValidationError !== null) {
|
|
11722
11845
|
let message = 'Object doesn\'t match AnalyticsVersionRepresentation (at "' + path_sourceVersion + '")\n';
|
|
11723
11846
|
message += referencepath_sourceVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13141,7 +13264,7 @@ const publishToMarketplaceAdapterFactory = (luvio) => {
|
|
|
13141
13264
|
};
|
|
13142
13265
|
|
|
13143
13266
|
function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
|
|
13144
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
13267
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$T(obj, path);
|
|
13145
13268
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
13146
13269
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
13147
13270
|
}
|
|
@@ -13154,7 +13277,7 @@ function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
|
|
|
13154
13277
|
}
|
|
13155
13278
|
|
|
13156
13279
|
function validate$3(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
|
|
13157
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
13280
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$T(obj, path);
|
|
13158
13281
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
13159
13282
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
13160
13283
|
}
|
|
@@ -13467,7 +13590,7 @@ function validate$1(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
13467
13590
|
for (let i = 0; i < obj_items.length; i++) {
|
|
13468
13591
|
const obj_items_item = obj_items[i];
|
|
13469
13592
|
const path_items_item = path_items + '[' + i + ']';
|
|
13470
|
-
const referencepath_items_itemValidationError = validate$
|
|
13593
|
+
const referencepath_items_itemValidationError = validate$S(obj_items_item, path_items_item);
|
|
13471
13594
|
if (referencepath_items_itemValidationError !== null) {
|
|
13472
13595
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
13473
13596
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13912,22 +14035,22 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
13912
14035
|
const config = {};
|
|
13913
14036
|
typeCheckConfig$Z(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
|
|
13914
14037
|
const untrustedConfig_content = untrustedConfig.content;
|
|
13915
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
14038
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$V(untrustedConfig_content);
|
|
13916
14039
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
13917
14040
|
config.content = untrustedConfig_content;
|
|
13918
14041
|
}
|
|
13919
14042
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
13920
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
14043
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$16(untrustedConfig_deliveryConfigurations);
|
|
13921
14044
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
13922
14045
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
13923
14046
|
}
|
|
13924
14047
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
13925
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
14048
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$U(untrustedConfig_schedule);
|
|
13926
14049
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
13927
14050
|
config.schedule = untrustedConfig_schedule;
|
|
13928
14051
|
}
|
|
13929
14052
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
13930
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
14053
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$12(untrustedConfig_thresholds);
|
|
13931
14054
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
13932
14055
|
config.thresholds = untrustedConfig_thresholds;
|
|
13933
14056
|
}
|
|
@@ -14025,6 +14148,7 @@ const updateDataAssetRequest_ConfigPropertyMetadata = [
|
|
|
14025
14148
|
generateParamConfigMetadata('sourceRequestId', false, 2 /* Body */, 0 /* String */),
|
|
14026
14149
|
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
14027
14150
|
generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
|
|
14151
|
+
generateParamConfigMetadata('packageExportStatus', false, 2 /* Body */, 0 /* String */),
|
|
14028
14152
|
];
|
|
14029
14153
|
const updateDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, updateDataAssetRequest_ConfigPropertyMetadata);
|
|
14030
14154
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$Z(updateDataAssetRequest_ConfigPropertyMetadata);
|
|
@@ -14090,7 +14214,7 @@ function validate(obj, path = 'FollowerAssetCollectionRepresentation') {
|
|
|
14090
14214
|
for (let i = 0; i < obj_followerAssets.length; i++) {
|
|
14091
14215
|
const obj_followerAssets_item = obj_followerAssets[i];
|
|
14092
14216
|
const path_followerAssets_item = path_followerAssets + '[' + i + ']';
|
|
14093
|
-
const referencepath_followerAssets_itemValidationError = validate$
|
|
14217
|
+
const referencepath_followerAssets_itemValidationError = validate$D(obj_followerAssets_item, path_followerAssets_item);
|
|
14094
14218
|
if (referencepath_followerAssets_itemValidationError !== null) {
|
|
14095
14219
|
let message = 'Object doesn\'t match FollowerAssetRepresentation (at "' + path_followerAssets_item + '")\n';
|
|
14096
14220
|
message += referencepath_followerAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14204,7 +14328,7 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
14204
14328
|
const config = {};
|
|
14205
14329
|
typeCheckConfig$Z(untrustedConfig, config, updateFollowedAsset_ConfigPropertyMetadata);
|
|
14206
14330
|
const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
|
|
14207
|
-
const referenceFollowedTimeRangeRepresentationValidationError = validate$
|
|
14331
|
+
const referenceFollowedTimeRangeRepresentationValidationError = validate$E(untrustedConfig_followedTimeRange);
|
|
14208
14332
|
if (referenceFollowedTimeRangeRepresentationValidationError === null) {
|
|
14209
14333
|
config.followedTimeRange = untrustedConfig_followedTimeRange;
|
|
14210
14334
|
}
|
|
@@ -15134,4 +15258,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15134
15258
|
});
|
|
15135
15259
|
|
|
15136
15260
|
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 };
|
|
15137
|
-
// version: 1.
|
|
15261
|
+
// version: 1.403.0-5476a05446
|