@salesforce/lds-adapters-analytics-unifiedanalytics 1.428.0-dev15 → 1.428.0-dev17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/analytics-unifiedanalytics.js +72 -11
- package/dist/es/es2018/types/src/generated/adapters/createDataAlert.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/postDataAlertQuery.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updateDataAlert.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAlerts.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsQuery.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putTableauDataAlertsByDataAlertId.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertContentInputRepresentation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertDeliveryConfigurationInputRepresentation.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/types/DataAlertInputRepresentation.d.ts +5 -4
- package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientsInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientsRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertQueryInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataAlertReceiversInputRepresentation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/DataAssetRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PromotionContentAssetRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +73 -12
- package/src/raml/api.raml +98 -0
|
@@ -3904,7 +3904,7 @@ function validate$14(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
3904
3904
|
}
|
|
3905
3905
|
|
|
3906
3906
|
const TTL$p = 500;
|
|
3907
|
-
const VERSION$B = "
|
|
3907
|
+
const VERSION$B = "fd9b49328cf3e15dbe1ba0d295452337";
|
|
3908
3908
|
function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
3909
3909
|
const v_error = (() => {
|
|
3910
3910
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3997,13 +3997,15 @@ function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
|
3997
3997
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3998
3998
|
return new TypeError(message);
|
|
3999
3999
|
}
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4000
|
+
if (obj.thresholds !== undefined) {
|
|
4001
|
+
const obj_thresholds = obj.thresholds;
|
|
4002
|
+
const path_thresholds = path + '.thresholds';
|
|
4003
|
+
const referencepath_thresholdsValidationError = validate$14(obj_thresholds, path_thresholds);
|
|
4004
|
+
if (referencepath_thresholdsValidationError !== null) {
|
|
4005
|
+
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
4006
|
+
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4007
|
+
return new TypeError(message);
|
|
4008
|
+
}
|
|
4007
4009
|
}
|
|
4008
4010
|
})();
|
|
4009
4011
|
return v_error === undefined ? null : v_error;
|
|
@@ -4295,6 +4297,7 @@ const getDataAlertCollectionAdapterFactory = (luvio) => function UnifiedAnalytic
|
|
|
4295
4297
|
|
|
4296
4298
|
var DiscriminatorValues$3;
|
|
4297
4299
|
(function (DiscriminatorValues) {
|
|
4300
|
+
DiscriminatorValues["MsTeams"] = "MsTeams";
|
|
4298
4301
|
DiscriminatorValues["Notification"] = "Notification";
|
|
4299
4302
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
4300
4303
|
function validate$11(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
@@ -4503,6 +4506,7 @@ function createResourceRequest$Q(config) {
|
|
|
4503
4506
|
|
|
4504
4507
|
var DiscriminatorValues$1;
|
|
4505
4508
|
(function (DiscriminatorValues) {
|
|
4509
|
+
DiscriminatorValues["Brief"] = "Brief";
|
|
4506
4510
|
DiscriminatorValues["Metric"] = "Metric";
|
|
4507
4511
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
4508
4512
|
function validate$W(obj, path = 'DataAlertContentInputRepresentation') {
|
|
@@ -4560,7 +4564,7 @@ const createDataAlert_ConfigPropertyMetadata = [
|
|
|
4560
4564
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
4561
4565
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4562
4566
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4563
|
-
generateParamConfigMetadata('thresholds',
|
|
4567
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4564
4568
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
4565
4569
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4566
4570
|
];
|
|
@@ -4736,7 +4740,7 @@ function select$1f(luvio, params) {
|
|
|
4736
4740
|
}
|
|
4737
4741
|
function keyBuilder$1a(luvio, params) {
|
|
4738
4742
|
var _a, _b, _c, _d, _e, _f;
|
|
4739
|
-
return keyPrefix + '::DataAlertQueryCollectionRepresentation:(' + 'ownerId:' + params.body.ownerId + '::' + (params.body.assetId === undefined ? 'assetId' : 'assetId:' + params.body.assetId) + '::' + (((_a = params.body.timeRange) === null || _a === void 0 ? void 0 : _a.fieldName) === undefined ? 'timeRange.fieldName' : 'timeRange.fieldName:' + ((_b = params.body.timeRange) === null || _b === void 0 ? void 0 : _b.fieldName)) + '::' + (((_c = params.body.timeRange) === null || _c === void 0 ? void 0 : _c.operator) === undefined ? 'timeRange.operator' : 'timeRange.operator:' + ((_d = params.body.timeRange) === null || _d === void 0 ? void 0 : _d.operator)) + '::' + (((_e = params.body.timeRange) === null || _e === void 0 ? void 0 : _e.values) === undefined ? 'timeRange.values' : 'timeRange.values:' + ((_f = params.body.timeRange) === null || _f === void 0 ? void 0 : _f.values)) + '::' + (params.body.includeProperties === undefined ? 'includeProperties' : 'includeProperties:' + params.body.includeProperties) + '::' + (params.body.propertyFilters === undefined ? undefined : ('[' + params.body.propertyFilters.map(element => 'propertyFilters.property:' + element.property + '::' + 'propertyFilters.values:' + element.values).join(',') + ']')) + ')';
|
|
4743
|
+
return keyPrefix + '::DataAlertQueryCollectionRepresentation:(' + 'ownerId:' + params.body.ownerId + '::' + (params.body.assetId === undefined ? 'assetId' : 'assetId:' + params.body.assetId) + '::' + (params.body.dataAlertTypes === undefined ? 'dataAlertTypes' : 'dataAlertTypes:' + params.body.dataAlertTypes) + '::' + (((_a = params.body.timeRange) === null || _a === void 0 ? void 0 : _a.fieldName) === undefined ? 'timeRange.fieldName' : 'timeRange.fieldName:' + ((_b = params.body.timeRange) === null || _b === void 0 ? void 0 : _b.fieldName)) + '::' + (((_c = params.body.timeRange) === null || _c === void 0 ? void 0 : _c.operator) === undefined ? 'timeRange.operator' : 'timeRange.operator:' + ((_d = params.body.timeRange) === null || _d === void 0 ? void 0 : _d.operator)) + '::' + (((_e = params.body.timeRange) === null || _e === void 0 ? void 0 : _e.values) === undefined ? 'timeRange.values' : 'timeRange.values:' + ((_f = params.body.timeRange) === null || _f === void 0 ? void 0 : _f.values)) + '::' + (params.body.includeProperties === undefined ? 'includeProperties' : 'includeProperties:' + params.body.includeProperties) + '::' + (params.body.propertyFilters === undefined ? undefined : ('[' + params.body.propertyFilters.map(element => 'propertyFilters.property:' + element.property + '::' + 'propertyFilters.values:' + element.values).join(',') + ']')) + ')';
|
|
4740
4744
|
}
|
|
4741
4745
|
function getResponseCacheKeys$P(storeKeyMap, luvio, resourceParams, response) {
|
|
4742
4746
|
getTypeCacheKeys$z(storeKeyMap, luvio, response, () => keyBuilder$1a(luvio, resourceParams));
|
|
@@ -4788,6 +4792,7 @@ const adapterName$P = 'postDataAlertQuery';
|
|
|
4788
4792
|
const postDataAlertQuery_ConfigPropertyMetadata = [
|
|
4789
4793
|
generateParamConfigMetadata('ownerId', true, 2 /* Body */, 0 /* String */),
|
|
4790
4794
|
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
4795
|
+
generateParamConfigMetadata('dataAlertTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
4791
4796
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4792
4797
|
generateParamConfigMetadata('includeProperties', false, 2 /* Body */, 0 /* String */, true),
|
|
4793
4798
|
generateParamConfigMetadata('propertyFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -5160,7 +5165,7 @@ const updateDataAlert_ConfigPropertyMetadata = [
|
|
|
5160
5165
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
5161
5166
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
5162
5167
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
5163
|
-
generateParamConfigMetadata('thresholds',
|
|
5168
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5164
5169
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
5165
5170
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5166
5171
|
];
|
|
@@ -5706,6 +5711,34 @@ function validate$M(obj, path = 'PromotionContentAssetRepresentation') {
|
|
|
5706
5711
|
if (typeof obj_isReused !== 'boolean') {
|
|
5707
5712
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isReused + '" (at "' + path_isReused + '")');
|
|
5708
5713
|
}
|
|
5714
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
5715
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
5716
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
5717
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
5718
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
5719
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
5720
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
5721
|
+
}
|
|
5722
|
+
})();
|
|
5723
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
5724
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
5725
|
+
}
|
|
5726
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
5727
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
5728
|
+
if (obj_reusedAssetStatus !== null) {
|
|
5729
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
5730
|
+
}
|
|
5731
|
+
})();
|
|
5732
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
5733
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
5734
|
+
}
|
|
5735
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
5736
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
5737
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5738
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5739
|
+
return new TypeError(message);
|
|
5740
|
+
}
|
|
5741
|
+
}
|
|
5709
5742
|
const obj_sourceDevName = obj.sourceDevName;
|
|
5710
5743
|
const path_sourceDevName = path + '.sourceDevName';
|
|
5711
5744
|
if (typeof obj_sourceDevName !== 'string') {
|
|
@@ -7496,6 +7529,34 @@ function validate$H(obj, path = 'DataAssetRepresentation') {
|
|
|
7496
7529
|
if (typeof obj_name !== 'string') {
|
|
7497
7530
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
7498
7531
|
}
|
|
7532
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
7533
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
7534
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
7535
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
7536
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
7537
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
7538
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
7539
|
+
}
|
|
7540
|
+
})();
|
|
7541
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
7542
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
7543
|
+
}
|
|
7544
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
7545
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
7546
|
+
if (obj_reusedAssetStatus !== null) {
|
|
7547
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
7548
|
+
}
|
|
7549
|
+
})();
|
|
7550
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
7551
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
7552
|
+
}
|
|
7553
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
7554
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
7555
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
7556
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
7557
|
+
return new TypeError(message);
|
|
7558
|
+
}
|
|
7559
|
+
}
|
|
7499
7560
|
if (obj.synchronizationStatus !== undefined) {
|
|
7500
7561
|
const obj_synchronizationStatus = obj.synchronizationStatus;
|
|
7501
7562
|
const path_synchronizationStatus = path + '.synchronizationStatus';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { DataAlertBriefContentInputRepresentation as types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation } from '../types/DataAlertBriefContentInputRepresentation';
|
|
3
4
|
import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation } from '../types/DataAlertMetricContentInputRepresentation';
|
|
4
5
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
5
6
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
@@ -13,11 +14,11 @@ export declare const createDataAlert_ConfigPropertyMetadata: $64$luvio_engine_Ad
|
|
|
13
14
|
export declare const createDataAlert_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
14
15
|
export interface CreateDataAlertConfig {
|
|
15
16
|
runNow?: boolean;
|
|
16
|
-
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
17
|
+
content: types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation | types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
17
18
|
dataAlertType: string;
|
|
18
19
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
19
20
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
20
|
-
thresholds
|
|
21
|
+
thresholds?: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
21
22
|
utterance: string;
|
|
22
23
|
agent?: string | null;
|
|
23
24
|
}
|
|
@@ -10,6 +10,7 @@ export declare const postDataAlertQuery_ConfigPropertyNames: adapter$45$utils_Ad
|
|
|
10
10
|
export interface PostDataAlertQueryConfig {
|
|
11
11
|
ownerId: string;
|
|
12
12
|
assetId?: string;
|
|
13
|
+
dataAlertTypes?: Array<string>;
|
|
13
14
|
timeRange?: types_UnifiedFilterInputRepresentation_UnifiedFilterInputRepresentation;
|
|
14
15
|
includeProperties?: Array<string>;
|
|
15
16
|
propertyFilters?: Array<types_DataAlertPropertyFilterInputRepresentation_DataAlertPropertyFilterInputRepresentation>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { DataAlertBriefContentInputRepresentation as types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation } from '../types/DataAlertBriefContentInputRepresentation';
|
|
3
4
|
import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation } from '../types/DataAlertMetricContentInputRepresentation';
|
|
4
5
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
5
6
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
@@ -14,11 +15,11 @@ export declare const updateDataAlert_ConfigPropertyNames: adapter$45$utils_Adapt
|
|
|
14
15
|
export interface UpdateDataAlertConfig {
|
|
15
16
|
dataAlertId: string;
|
|
16
17
|
runNow?: boolean;
|
|
17
|
-
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
18
|
+
content: types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation | types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
18
19
|
dataAlertType: string;
|
|
19
20
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
20
21
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
21
|
-
thresholds
|
|
22
|
+
thresholds?: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
22
23
|
utterance: string;
|
|
23
24
|
agent?: string | null;
|
|
24
25
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DataAlertBriefContentInputRepresentation as types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation } from '../types/DataAlertBriefContentInputRepresentation';
|
|
1
2
|
import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation } from '../types/DataAlertMetricContentInputRepresentation';
|
|
2
3
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
3
4
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
@@ -11,11 +12,11 @@ export interface ResourceRequestConfig {
|
|
|
11
12
|
runNow?: boolean;
|
|
12
13
|
};
|
|
13
14
|
body: {
|
|
14
|
-
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
15
|
+
content: types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation | types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
15
16
|
dataAlertType: string;
|
|
16
17
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
17
18
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
18
|
-
thresholds
|
|
19
|
+
thresholds?: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
19
20
|
utterance: string;
|
|
20
21
|
agent?: string | null;
|
|
21
22
|
};
|
|
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
body: {
|
|
7
7
|
ownerId: string;
|
|
8
8
|
assetId?: string;
|
|
9
|
+
dataAlertTypes?: Array<string>;
|
|
9
10
|
timeRange?: types_UnifiedFilterInputRepresentation_UnifiedFilterInputRepresentation;
|
|
10
11
|
includeProperties?: Array<string>;
|
|
11
12
|
propertyFilters?: Array<types_DataAlertPropertyFilterInputRepresentation_DataAlertPropertyFilterInputRepresentation>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DataAlertBriefContentInputRepresentation as types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation } from '../types/DataAlertBriefContentInputRepresentation';
|
|
1
2
|
import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation } from '../types/DataAlertMetricContentInputRepresentation';
|
|
2
3
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
3
4
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
@@ -14,11 +15,11 @@ export interface ResourceRequestConfig {
|
|
|
14
15
|
runNow?: boolean;
|
|
15
16
|
};
|
|
16
17
|
body: {
|
|
17
|
-
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
18
|
+
content: types_DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation | types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
18
19
|
dataAlertType: string;
|
|
19
20
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
20
21
|
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
21
|
-
thresholds
|
|
22
|
+
thresholds?: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
22
23
|
utterance: string;
|
|
23
24
|
agent?: string | null;
|
|
24
25
|
};
|
package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DataAlertContentInputRepresentation as DataAlertContentInputRepresentation_DataAlertContentInputRepresentation } from './DataAlertContentInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "abfe1c7969bd63fdfc12876ac4e8a8e4";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DataAlertBriefContentInputRepresentation, existing: DataAlertBriefContentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertBriefContentInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: DataAlertBriefContentInputRepresentationNormalized, incoming: DataAlertBriefContentInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DataAlertBriefContentInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Input representation for content based on brief
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface DataAlertBriefContentInputRepresentationNormalized extends DataAlertContentInputRepresentation_DataAlertContentInputRepresentation {
|
|
18
|
+
/** Skill instruction for the brief content */
|
|
19
|
+
skillInstruction: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Input representation for content based on brief
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface DataAlertBriefContentInputRepresentation extends DataAlertContentInputRepresentation_DataAlertContentInputRepresentation {
|
|
28
|
+
skillInstruction: string;
|
|
29
|
+
type: 'Brief';
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DataAlertContentRepresentation as DataAlertContentRepresentation_DataAlertContentRepresentation } from './DataAlertContentRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "760e7ed9ffcdd364861d28707262bebd";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DataAlertBriefContentRepresentation, existing: DataAlertBriefContentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertBriefContentRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: DataAlertBriefContentRepresentationNormalized, incoming: DataAlertBriefContentRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DataAlertBriefContentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents the brief content for a data alert
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface DataAlertBriefContentRepresentationNormalized extends DataAlertContentRepresentation_DataAlertContentRepresentation {
|
|
18
|
+
/** Skill instruction for the brief content */
|
|
19
|
+
skillInstruction: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents the brief content for a data alert
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface DataAlertBriefContentRepresentation extends DataAlertContentRepresentation_DataAlertContentRepresentation {
|
|
28
|
+
skillInstruction: string;
|
|
29
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare enum DiscriminatorValues {
|
|
3
|
+
Brief = "Brief",
|
|
3
4
|
Metric = "Metric"
|
|
4
5
|
}
|
|
5
6
|
export declare const VERSION = "b2d6bbf857930f270768de4df3aa1741";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DataAlertReceiversInputRepresentation as DataAlertReceiversInputRepresentation_DataAlertReceiversInputRepresentation } from './DataAlertReceiversInputRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
import { DataAlertMsTeamsRecipientsInputRepresentation as DataAlertMsTeamsRecipientsInputRepresentation_DataAlertMsTeamsRecipientsInputRepresentation } from './DataAlertMsTeamsRecipientsInputRepresentation';
|
|
3
4
|
import { DataAlertNotificationRecipientsInputRepresentation as DataAlertNotificationRecipientsInputRepresentation_DataAlertNotificationRecipientsInputRepresentation } from './DataAlertNotificationRecipientsInputRepresentation';
|
|
4
5
|
export declare const VERSION = "e65b9ee95f4d79713e04a15c7f735a75";
|
|
5
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
@@ -26,5 +27,5 @@ export interface DataAlertDeliveryConfigurationInputRepresentationNormalized {
|
|
|
26
27
|
* (none)
|
|
27
28
|
*/
|
|
28
29
|
export interface DataAlertDeliveryConfigurationInputRepresentation {
|
|
29
|
-
receivers: Array<DataAlertNotificationRecipientsInputRepresentation_DataAlertNotificationRecipientsInputRepresentation>;
|
|
30
|
+
receivers: Array<DataAlertMsTeamsRecipientsInputRepresentation_DataAlertMsTeamsRecipientsInputRepresentation | DataAlertNotificationRecipientsInputRepresentation_DataAlertNotificationRecipientsInputRepresentation>;
|
|
30
31
|
}
|
|
@@ -3,11 +3,12 @@ import { DataAlertDeliveryConfigurationInputRepresentation as DataAlertDeliveryC
|
|
|
3
3
|
import { DataAlertScheduleInputRepresentation as DataAlertScheduleInputRepresentation_DataAlertScheduleInputRepresentation } from './DataAlertScheduleInputRepresentation';
|
|
4
4
|
import { DataAlertThresholdsInputRepresentation as DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation } from './DataAlertThresholdsInputRepresentation';
|
|
5
5
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
6
|
+
import { DataAlertBriefContentInputRepresentation as DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation } from './DataAlertBriefContentInputRepresentation';
|
|
6
7
|
import { DataAlertMetricContentInputRepresentation as DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation } from './DataAlertMetricContentInputRepresentation';
|
|
7
8
|
import { DataAlertDailyScheduleInputRepresentation as DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from './DataAlertDailyScheduleInputRepresentation';
|
|
8
9
|
import { DataAlertWeeklyScheduleInputRepresentation as DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation } from './DataAlertWeeklyScheduleInputRepresentation';
|
|
9
10
|
import { DataAlertEveryNMinutesScheduleInputRepresentation as DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from './DataAlertEveryNMinutesScheduleInputRepresentation';
|
|
10
|
-
export declare const VERSION = "
|
|
11
|
+
export declare const VERSION = "33e3629b5f13032689a915a046f6a5c0";
|
|
11
12
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
12
13
|
export declare const RepresentationType: string;
|
|
13
14
|
export declare function normalize(input: DataAlertInputRepresentation, existing: DataAlertInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertInputRepresentationNormalized;
|
|
@@ -29,7 +30,7 @@ export interface DataAlertInputRepresentationNormalized {
|
|
|
29
30
|
dataAlertType: string;
|
|
30
31
|
deliveryConfigurations: DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
31
32
|
schedule: DataAlertScheduleInputRepresentation_DataAlertScheduleInputRepresentation;
|
|
32
|
-
thresholds
|
|
33
|
+
thresholds?: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
33
34
|
/** user entered utterance */
|
|
34
35
|
utterance: string;
|
|
35
36
|
}
|
|
@@ -41,10 +42,10 @@ export interface DataAlertInputRepresentationNormalized {
|
|
|
41
42
|
*/
|
|
42
43
|
export interface DataAlertInputRepresentation {
|
|
43
44
|
agent?: string | null;
|
|
44
|
-
content: DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
45
|
+
content: DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation | DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
45
46
|
dataAlertType: string;
|
|
46
47
|
deliveryConfigurations: DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
47
48
|
schedule: DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
48
|
-
thresholds
|
|
49
|
+
thresholds?: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
49
50
|
utterance: string;
|
|
50
51
|
}
|
package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "1c6f4c10408f399fbe640e89d4dac294";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataAlertMsTeamsRecipientInputRepresentation, existing: DataAlertMsTeamsRecipientInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertMsTeamsRecipientInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataAlertMsTeamsRecipientInputRepresentationNormalized, incoming: DataAlertMsTeamsRecipientInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DataAlertMsTeamsRecipientInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* A single Microsoft Teams recipient
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataAlertMsTeamsRecipientInputRepresentationNormalized {
|
|
17
|
+
/** Recipient identifier */
|
|
18
|
+
recipient: string;
|
|
19
|
+
/** Type of recipient */
|
|
20
|
+
recipientType: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A single Microsoft Teams recipient
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface DataAlertMsTeamsRecipientInputRepresentation {
|
|
29
|
+
recipient: string;
|
|
30
|
+
recipientType: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b31219d3035f8eebd4fd62f348e06a36";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataAlertMsTeamsRecipientRepresentation, existing: DataAlertMsTeamsRecipientRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertMsTeamsRecipientRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataAlertMsTeamsRecipientRepresentationNormalized, incoming: DataAlertMsTeamsRecipientRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DataAlertMsTeamsRecipientRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents a single Microsoft Teams recipient
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataAlertMsTeamsRecipientRepresentationNormalized {
|
|
17
|
+
/** Recipient identifier */
|
|
18
|
+
recipient: string;
|
|
19
|
+
/** Type of recipient */
|
|
20
|
+
recipientType: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents a single Microsoft Teams recipient
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface DataAlertMsTeamsRecipientRepresentation {
|
|
29
|
+
recipient: string;
|
|
30
|
+
recipientType: string;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientsInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DataAlertReceiversInputRepresentation as DataAlertReceiversInputRepresentation_DataAlertReceiversInputRepresentation } from './DataAlertReceiversInputRepresentation';
|
|
2
|
+
import { DataAlertMsTeamsRecipientInputRepresentation as DataAlertMsTeamsRecipientInputRepresentation_DataAlertMsTeamsRecipientInputRepresentation } from './DataAlertMsTeamsRecipientInputRepresentation';
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "2c3e88e6bc24e649f940cc6366511e12";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: DataAlertMsTeamsRecipientsInputRepresentation, existing: DataAlertMsTeamsRecipientsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertMsTeamsRecipientsInputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: DataAlertMsTeamsRecipientsInputRepresentationNormalized, incoming: DataAlertMsTeamsRecipientsInputRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DataAlertMsTeamsRecipientsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* List of Microsoft Teams recipients for Data alerts.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface DataAlertMsTeamsRecipientsInputRepresentationNormalized extends DataAlertReceiversInputRepresentation_DataAlertReceiversInputRepresentation {
|
|
19
|
+
/** Microsoft Teams recipients */
|
|
20
|
+
recipients: Array<DataAlertMsTeamsRecipientInputRepresentation_DataAlertMsTeamsRecipientInputRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List of Microsoft Teams recipients for Data alerts.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface DataAlertMsTeamsRecipientsInputRepresentation extends DataAlertReceiversInputRepresentation_DataAlertReceiversInputRepresentation {
|
|
29
|
+
recipients: Array<DataAlertMsTeamsRecipientInputRepresentation_DataAlertMsTeamsRecipientInputRepresentation>;
|
|
30
|
+
type: 'MsTeams';
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientsRepresentation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DataAlertReceiversRepresentation as DataAlertReceiversRepresentation_DataAlertReceiversRepresentation } from './DataAlertReceiversRepresentation';
|
|
2
|
+
import { DataAlertMsTeamsRecipientRepresentation as DataAlertMsTeamsRecipientRepresentation_DataAlertMsTeamsRecipientRepresentation } from './DataAlertMsTeamsRecipientRepresentation';
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "034770790de13044223412fe76b70bb2";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: DataAlertMsTeamsRecipientsRepresentation, existing: DataAlertMsTeamsRecipientsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertMsTeamsRecipientsRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: DataAlertMsTeamsRecipientsRepresentationNormalized, incoming: DataAlertMsTeamsRecipientsRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DataAlertMsTeamsRecipientsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Represents Microsoft Teams recipients for a data alert
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface DataAlertMsTeamsRecipientsRepresentationNormalized extends DataAlertReceiversRepresentation_DataAlertReceiversRepresentation {
|
|
19
|
+
/** list of Microsoft Teams recipients */
|
|
20
|
+
recipients: Array<DataAlertMsTeamsRecipientRepresentation_DataAlertMsTeamsRecipientRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents Microsoft Teams recipients for a data alert
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface DataAlertMsTeamsRecipientsRepresentation extends DataAlertReceiversRepresentation_DataAlertReceiversRepresentation {
|
|
29
|
+
recipients: Array<DataAlertMsTeamsRecipientRepresentation_DataAlertMsTeamsRecipientRepresentation>;
|
|
30
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DataAlertPropertyFilterInputRepresentation as DataAlertPropertyFilterInputRepresentation_DataAlertPropertyFilterInputRepresentation } from './DataAlertPropertyFilterInputRepresentation';
|
|
2
2
|
import { UnifiedFilterInputRepresentation as UnifiedFilterInputRepresentation_UnifiedFilterInputRepresentation } from './UnifiedFilterInputRepresentation';
|
|
3
3
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "55131173ab3f4bcbab10b0aef1bf053a";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: DataAlertQueryInputRepresentation, existing: DataAlertQueryInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertQueryInputRepresentationNormalized;
|
|
@@ -18,6 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
18
18
|
export interface DataAlertQueryInputRepresentationNormalized {
|
|
19
19
|
/** Filter by metric/asset ID */
|
|
20
20
|
assetId?: string;
|
|
21
|
+
/** Filter alerts by one or more data alert types */
|
|
22
|
+
dataAlertTypes?: Array<string>;
|
|
21
23
|
includeProperties?: Array<string>;
|
|
22
24
|
/** User ID to filter alerts */
|
|
23
25
|
ownerId: string;
|
|
@@ -33,6 +35,7 @@ export interface DataAlertQueryInputRepresentationNormalized {
|
|
|
33
35
|
*/
|
|
34
36
|
export interface DataAlertQueryInputRepresentation {
|
|
35
37
|
assetId?: string;
|
|
38
|
+
dataAlertTypes?: Array<string>;
|
|
36
39
|
includeProperties?: Array<string>;
|
|
37
40
|
ownerId: string;
|
|
38
41
|
propertyFilters?: Array<DataAlertPropertyFilterInputRepresentation_DataAlertPropertyFilterInputRepresentation>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare enum DiscriminatorValues {
|
|
3
|
+
MsTeams = "MsTeams",
|
|
3
4
|
Notification = "Notification"
|
|
4
5
|
}
|
|
5
6
|
export declare const VERSION = "89d38c1901682638f542d12da09938e9";
|
|
@@ -5,7 +5,7 @@ import { DataAlertScheduleRepresentation as DataAlertScheduleRepresentation_Data
|
|
|
5
5
|
import { DataAlertThresholdsRepresentation as DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation } from './DataAlertThresholdsRepresentation';
|
|
6
6
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
7
7
|
export declare const TTL = 500;
|
|
8
|
-
export declare const VERSION = "
|
|
8
|
+
export declare const VERSION = "fd9b49328cf3e15dbe1ba0d295452337";
|
|
9
9
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
10
10
|
export declare const RepresentationType: string;
|
|
11
11
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -48,7 +48,7 @@ export interface DataAlertRepresentationNormalized {
|
|
|
48
48
|
/** Additional properties for the data alert used when sending the query response. */
|
|
49
49
|
properties?: DataAlertPropertyFilterOutputRepresentation_DataAlertPropertyFilterOutputRepresentation;
|
|
50
50
|
schedule: DataAlertScheduleRepresentation_DataAlertScheduleRepresentation;
|
|
51
|
-
thresholds
|
|
51
|
+
thresholds?: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* Output representation for Data Alert
|
|
@@ -67,5 +67,5 @@ export interface DataAlertRepresentation {
|
|
|
67
67
|
lastModifiedDate: string;
|
|
68
68
|
properties?: DataAlertPropertyFilterOutputRepresentation_DataAlertPropertyFilterOutputRepresentation;
|
|
69
69
|
schedule: DataAlertScheduleRepresentation_DataAlertScheduleRepresentation;
|
|
70
|
-
thresholds
|
|
70
|
+
thresholds?: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
|
|
71
71
|
}
|
|
@@ -2,7 +2,7 @@ import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUse
|
|
|
2
2
|
import { DataSpaceInfoRepresentation as DataSpaceInfoRepresentation_DataSpaceInfoRepresentation } from './DataSpaceInfoRepresentation';
|
|
3
3
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 500;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "ed746ca27cee1761bdf04a4d54800ef1";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -54,6 +54,8 @@ export interface DataAssetRepresentationNormalized {
|
|
|
54
54
|
lastModifiedDate: string;
|
|
55
55
|
/** Name of the DataAsset. */
|
|
56
56
|
name: string;
|
|
57
|
+
/** The reused asset status of the DataAsset */
|
|
58
|
+
reusedAssetStatus?: string | null;
|
|
57
59
|
/** Synchronization status of the DataAsset */
|
|
58
60
|
synchronizationStatus?: string;
|
|
59
61
|
/** Id of the workspace which the DataAsset is part of */
|
|
@@ -80,6 +82,7 @@ export interface DataAssetRepresentation {
|
|
|
80
82
|
lastModifiedBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
|
|
81
83
|
lastModifiedDate: string;
|
|
82
84
|
name: string;
|
|
85
|
+
reusedAssetStatus?: string | null;
|
|
83
86
|
synchronizationStatus?: string;
|
|
84
87
|
workspaceId?: string;
|
|
85
88
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "7a4e5782bd067a916af97fe2848492a9";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: PromotionContentAssetRepresentation, existing: PromotionContentAssetRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromotionContentAssetRepresentationNormalized;
|
|
@@ -20,6 +20,8 @@ export interface PromotionContentAssetRepresentationNormalized {
|
|
|
20
20
|
isFirstLevelReuse: boolean;
|
|
21
21
|
/** Indicates whether the asset is reused from another promotion */
|
|
22
22
|
isReused: boolean;
|
|
23
|
+
/** The reused asset status of the asset */
|
|
24
|
+
reusedAssetStatus?: string | null;
|
|
23
25
|
/** The source developer name of the asset */
|
|
24
26
|
sourceDevName: string;
|
|
25
27
|
/** The source ID of the asset */
|
|
@@ -39,6 +41,7 @@ export interface PromotionContentAssetRepresentation {
|
|
|
39
41
|
assetType: string;
|
|
40
42
|
isFirstLevelReuse: boolean;
|
|
41
43
|
isReused: boolean;
|
|
44
|
+
reusedAssetStatus?: string | null;
|
|
42
45
|
sourceDevName: string;
|
|
43
46
|
sourceId: string;
|
|
44
47
|
targetDevName?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
|
|
3
|
-
"version": "1.428.0-
|
|
3
|
+
"version": "1.428.0-dev17",
|
|
4
4
|
"description": "Tableau Unified Analytics Platform",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/analytics-unifiedanalytics.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.428.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.428.0-dev17"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.428.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.428.0-dev17"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2308,6 +2308,7 @@ const createDashboardAdapterFactory = (luvio) => {
|
|
|
2308
2308
|
|
|
2309
2309
|
var DiscriminatorValues$3;
|
|
2310
2310
|
(function (DiscriminatorValues) {
|
|
2311
|
+
DiscriminatorValues["MsTeams"] = "MsTeams";
|
|
2311
2312
|
DiscriminatorValues["Notification"] = "Notification";
|
|
2312
2313
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
2313
2314
|
function validate$1i(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
@@ -2645,7 +2646,7 @@ function validate$14(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2645
2646
|
}
|
|
2646
2647
|
|
|
2647
2648
|
const TTL$s = 500;
|
|
2648
|
-
const VERSION$F = "
|
|
2649
|
+
const VERSION$F = "fd9b49328cf3e15dbe1ba0d295452337";
|
|
2649
2650
|
function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
2650
2651
|
const v_error = (() => {
|
|
2651
2652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2738,13 +2739,15 @@ function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
|
2738
2739
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2739
2740
|
return new TypeError(message);
|
|
2740
2741
|
}
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2742
|
+
if (obj.thresholds !== undefined) {
|
|
2743
|
+
const obj_thresholds = obj.thresholds;
|
|
2744
|
+
const path_thresholds = path + '.thresholds';
|
|
2745
|
+
const referencepath_thresholdsValidationError = validate$14(obj_thresholds, path_thresholds);
|
|
2746
|
+
if (referencepath_thresholdsValidationError !== null) {
|
|
2747
|
+
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
2748
|
+
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2749
|
+
return new TypeError(message);
|
|
2750
|
+
}
|
|
2748
2751
|
}
|
|
2749
2752
|
})();
|
|
2750
2753
|
return v_error === undefined ? null : v_error;
|
|
@@ -2837,6 +2840,7 @@ function createResourceRequest$Y(config) {
|
|
|
2837
2840
|
|
|
2838
2841
|
var DiscriminatorValues$1;
|
|
2839
2842
|
(function (DiscriminatorValues) {
|
|
2843
|
+
DiscriminatorValues["Brief"] = "Brief";
|
|
2840
2844
|
DiscriminatorValues["Metric"] = "Metric";
|
|
2841
2845
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
2842
2846
|
function validate$12(obj, path = 'DataAlertContentInputRepresentation') {
|
|
@@ -2894,7 +2898,7 @@ const createDataAlert_ConfigPropertyMetadata = [
|
|
|
2894
2898
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
2895
2899
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2896
2900
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2897
|
-
generateParamConfigMetadata('thresholds',
|
|
2901
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2898
2902
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
2899
2903
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2900
2904
|
];
|
|
@@ -3286,6 +3290,34 @@ function validate$W(obj, path = 'PromotionContentAssetRepresentation') {
|
|
|
3286
3290
|
if (typeof obj_isReused !== 'boolean') {
|
|
3287
3291
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isReused + '" (at "' + path_isReused + '")');
|
|
3288
3292
|
}
|
|
3293
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
3294
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
3295
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
3296
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
3297
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
3298
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
3299
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
3300
|
+
}
|
|
3301
|
+
})();
|
|
3302
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
3303
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
3304
|
+
}
|
|
3305
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
3306
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
3307
|
+
if (obj_reusedAssetStatus !== null) {
|
|
3308
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
3309
|
+
}
|
|
3310
|
+
})();
|
|
3311
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
3312
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
3313
|
+
}
|
|
3314
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
3315
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
3316
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3317
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3318
|
+
return new TypeError(message);
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3289
3321
|
const obj_sourceDevName = obj.sourceDevName;
|
|
3290
3322
|
const path_sourceDevName = path + '.sourceDevName';
|
|
3291
3323
|
if (typeof obj_sourceDevName !== 'string') {
|
|
@@ -8631,6 +8663,34 @@ function validate$z(obj, path = 'DataAssetRepresentation') {
|
|
|
8631
8663
|
if (typeof obj_name !== 'string') {
|
|
8632
8664
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
8633
8665
|
}
|
|
8666
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
8667
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
8668
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
8669
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
8670
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
8671
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
8672
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
8673
|
+
}
|
|
8674
|
+
})();
|
|
8675
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
8676
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
8677
|
+
}
|
|
8678
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
8679
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
8680
|
+
if (obj_reusedAssetStatus !== null) {
|
|
8681
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
8682
|
+
}
|
|
8683
|
+
})();
|
|
8684
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
8685
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
8686
|
+
}
|
|
8687
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
8688
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
8689
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8690
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8691
|
+
return new TypeError(message);
|
|
8692
|
+
}
|
|
8693
|
+
}
|
|
8634
8694
|
if (obj.synchronizationStatus !== undefined) {
|
|
8635
8695
|
const obj_synchronizationStatus = obj.synchronizationStatus;
|
|
8636
8696
|
const path_synchronizationStatus = path + '.synchronizationStatus';
|
|
@@ -13905,7 +13965,7 @@ function select$j(luvio, params) {
|
|
|
13905
13965
|
return select$k();
|
|
13906
13966
|
}
|
|
13907
13967
|
function keyBuilder$8(luvio, params) {
|
|
13908
|
-
return keyPrefix + '::DataAlertQueryCollectionRepresentation:(' + 'ownerId:' + params.body.ownerId + '::' + (params.body.assetId === undefined ? 'assetId' : 'assetId:' + params.body.assetId) + '::' + (params.body.timeRange?.fieldName === undefined ? 'timeRange.fieldName' : 'timeRange.fieldName:' + params.body.timeRange?.fieldName) + '::' + (params.body.timeRange?.operator === undefined ? 'timeRange.operator' : 'timeRange.operator:' + params.body.timeRange?.operator) + '::' + (params.body.timeRange?.values === undefined ? 'timeRange.values' : 'timeRange.values:' + params.body.timeRange?.values) + '::' + (params.body.includeProperties === undefined ? 'includeProperties' : 'includeProperties:' + params.body.includeProperties) + '::' + (params.body.propertyFilters === undefined ? undefined : ('[' + params.body.propertyFilters.map(element => 'propertyFilters.property:' + element.property + '::' + 'propertyFilters.values:' + element.values).join(',') + ']')) + ')';
|
|
13968
|
+
return keyPrefix + '::DataAlertQueryCollectionRepresentation:(' + 'ownerId:' + params.body.ownerId + '::' + (params.body.assetId === undefined ? 'assetId' : 'assetId:' + params.body.assetId) + '::' + (params.body.dataAlertTypes === undefined ? 'dataAlertTypes' : 'dataAlertTypes:' + params.body.dataAlertTypes) + '::' + (params.body.timeRange?.fieldName === undefined ? 'timeRange.fieldName' : 'timeRange.fieldName:' + params.body.timeRange?.fieldName) + '::' + (params.body.timeRange?.operator === undefined ? 'timeRange.operator' : 'timeRange.operator:' + params.body.timeRange?.operator) + '::' + (params.body.timeRange?.values === undefined ? 'timeRange.values' : 'timeRange.values:' + params.body.timeRange?.values) + '::' + (params.body.includeProperties === undefined ? 'includeProperties' : 'includeProperties:' + params.body.includeProperties) + '::' + (params.body.propertyFilters === undefined ? undefined : ('[' + params.body.propertyFilters.map(element => 'propertyFilters.property:' + element.property + '::' + 'propertyFilters.values:' + element.values).join(',') + ']')) + ')';
|
|
13909
13969
|
}
|
|
13910
13970
|
function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
|
|
13911
13971
|
getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
|
|
@@ -13957,6 +14017,7 @@ const adapterName$e = 'postDataAlertQuery';
|
|
|
13957
14017
|
const postDataAlertQuery_ConfigPropertyMetadata = [
|
|
13958
14018
|
generateParamConfigMetadata('ownerId', true, 2 /* Body */, 0 /* String */),
|
|
13959
14019
|
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
14020
|
+
generateParamConfigMetadata('dataAlertTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
13960
14021
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
13961
14022
|
generateParamConfigMetadata('includeProperties', false, 2 /* Body */, 0 /* String */, true),
|
|
13962
14023
|
generateParamConfigMetadata('propertyFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -15376,7 +15437,7 @@ const updateDataAlert_ConfigPropertyMetadata = [
|
|
|
15376
15437
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
15377
15438
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
15378
15439
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
15379
|
-
generateParamConfigMetadata('thresholds',
|
|
15440
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
15380
15441
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
15381
15442
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
15382
15443
|
];
|
|
@@ -16642,4 +16703,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16642
16703
|
});
|
|
16643
16704
|
|
|
16644
16705
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, generateSFDrivePresignedCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getDataAlert, getDataAlertCollection, getDataAlertCollection_imperative, getDataAlertNotifyChange, getDataAlert_imperative, getDataAssetDependencies, getDataAssetDependencies_imperative, getDataAssetLineageByIdOrApiName, getDataAssetLineageByIdOrApiName_imperative, getDataAssetRequestByIdOrApiName, getDataAssetRequestByIdOrApiNameNotifyChange, getDataAssetRequestByIdOrApiName_imperative, getDataAssetRequests, getDataAssetRequestsCount, getDataAssetRequestsCount_imperative, getDataAssetRequests_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getMarketplaceListingInstallationProgress, getMarketplaceListingInstallationProgress_imperative, getOrg, getOrg_imperative, getShares, getShares_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, initiateMarketplaceListingInstallation, initiateMarketplaceListingInstallation_imperative, notifySharesUpdateAvailable, postDataAlertQuery, postDataAlertQuery_imperative, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
16645
|
-
// version: 1.428.0-
|
|
16706
|
+
// version: 1.428.0-dev17-fcfa02fa29
|
package/src/raml/api.raml
CHANGED
|
@@ -1150,6 +1150,17 @@ types:
|
|
|
1150
1150
|
description: Whether the DataAsset is the primary asset in a list of data asset dependencies
|
|
1151
1151
|
type: boolean
|
|
1152
1152
|
required: false
|
|
1153
|
+
reusedAssetStatus:
|
|
1154
|
+
description: The reused asset status of the DataAsset
|
|
1155
|
+
type: string | nil
|
|
1156
|
+
enum:
|
|
1157
|
+
- Conflict
|
|
1158
|
+
- Editable
|
|
1159
|
+
- Locked
|
|
1160
|
+
- Modified
|
|
1161
|
+
- OutOfSyncLocked
|
|
1162
|
+
- UpdateAvailable
|
|
1163
|
+
required: false
|
|
1153
1164
|
assetTypeFingerprint:
|
|
1154
1165
|
description: Schema fingerprint of the asset type of the DataAsset
|
|
1155
1166
|
type: string
|
|
@@ -1208,6 +1219,16 @@ types:
|
|
|
1208
1219
|
description: Filter by metric/asset ID
|
|
1209
1220
|
type: string
|
|
1210
1221
|
required: false
|
|
1222
|
+
dataAlertTypes:
|
|
1223
|
+
description: Filter alerts by one or more data alert types
|
|
1224
|
+
type: array
|
|
1225
|
+
required: false
|
|
1226
|
+
items:
|
|
1227
|
+
type: string
|
|
1228
|
+
enum:
|
|
1229
|
+
- AgentHealthMonitoring
|
|
1230
|
+
- AgentPowered
|
|
1231
|
+
- Brief
|
|
1211
1232
|
timeRange:
|
|
1212
1233
|
required: false
|
|
1213
1234
|
description: Filter alerts by time range context
|
|
@@ -1462,6 +1483,7 @@ types:
|
|
|
1462
1483
|
description: content type
|
|
1463
1484
|
type: string
|
|
1464
1485
|
enum:
|
|
1486
|
+
- Brief
|
|
1465
1487
|
- Metric
|
|
1466
1488
|
DataAlertMetricContentInputRepresentation:
|
|
1467
1489
|
description: Input representation for content based on metric value
|
|
@@ -1476,6 +1498,14 @@ types:
|
|
|
1476
1498
|
type: array
|
|
1477
1499
|
items:
|
|
1478
1500
|
type: string
|
|
1501
|
+
DataAlertBriefContentInputRepresentation:
|
|
1502
|
+
description: Input representation for content based on brief
|
|
1503
|
+
type: DataAlertContentInputRepresentation
|
|
1504
|
+
discriminatorValue: Brief
|
|
1505
|
+
properties:
|
|
1506
|
+
skillInstruction:
|
|
1507
|
+
description: Skill instruction for the brief content
|
|
1508
|
+
type: string
|
|
1479
1509
|
DataAlertDailyScheduleInputRepresentation:
|
|
1480
1510
|
description: Input representation for daily alert schedule
|
|
1481
1511
|
type: DataAlertScheduleInputRepresentation
|
|
@@ -1510,6 +1540,7 @@ types:
|
|
|
1510
1540
|
enum:
|
|
1511
1541
|
- AgentHealthMonitoring
|
|
1512
1542
|
- AgentPowered
|
|
1543
|
+
- Brief
|
|
1513
1544
|
deliveryConfigurations:
|
|
1514
1545
|
type: DataAlertDeliveryConfigurationInputRepresentation # TODO Hand-rolled @W-17927490
|
|
1515
1546
|
schedule:
|
|
@@ -1518,6 +1549,7 @@ types:
|
|
|
1518
1549
|
thresholds:
|
|
1519
1550
|
description: thresholds to be evaluated
|
|
1520
1551
|
type: DataAlertThresholdsInputRepresentation # TODO Hand-rolled @W-17927490
|
|
1552
|
+
required: false
|
|
1521
1553
|
utterance:
|
|
1522
1554
|
description: user entered utterance
|
|
1523
1555
|
type: string
|
|
@@ -1536,6 +1568,28 @@ types:
|
|
|
1536
1568
|
type: array
|
|
1537
1569
|
items:
|
|
1538
1570
|
type: string
|
|
1571
|
+
DataAlertMsTeamsRecipientsInputRepresentation:
|
|
1572
|
+
description: List of Microsoft Teams recipients for Data alerts.
|
|
1573
|
+
type: DataAlertReceiversInputRepresentation
|
|
1574
|
+
discriminatorValue: MsTeams
|
|
1575
|
+
properties:
|
|
1576
|
+
recipients:
|
|
1577
|
+
description: Microsoft Teams recipients
|
|
1578
|
+
type: array
|
|
1579
|
+
items:
|
|
1580
|
+
type: DataAlertMsTeamsRecipientInputRepresentation
|
|
1581
|
+
DataAlertMsTeamsRecipientInputRepresentation:
|
|
1582
|
+
description: A single Microsoft Teams recipient
|
|
1583
|
+
type: object
|
|
1584
|
+
properties:
|
|
1585
|
+
recipient:
|
|
1586
|
+
description: Recipient identifier
|
|
1587
|
+
type: string
|
|
1588
|
+
recipientType:
|
|
1589
|
+
description: Type of recipient
|
|
1590
|
+
type: string
|
|
1591
|
+
enum:
|
|
1592
|
+
- SalesforceUser
|
|
1539
1593
|
DataAlertReceiversInputRepresentation:
|
|
1540
1594
|
description: Input representation for data alert recipients
|
|
1541
1595
|
type: object
|
|
@@ -1546,6 +1600,7 @@ types:
|
|
|
1546
1600
|
type: string
|
|
1547
1601
|
enum:
|
|
1548
1602
|
- Email
|
|
1603
|
+
- MsTeams
|
|
1549
1604
|
- Notification
|
|
1550
1605
|
- Slack
|
|
1551
1606
|
DataAlertScheduleInputRepresentation:
|
|
@@ -1621,7 +1676,15 @@ types:
|
|
|
1621
1676
|
description: Type of content
|
|
1622
1677
|
type: string
|
|
1623
1678
|
enum:
|
|
1679
|
+
- Brief
|
|
1624
1680
|
- Metric
|
|
1681
|
+
DataAlertBriefContentRepresentation:
|
|
1682
|
+
description: Represents the brief content for a data alert
|
|
1683
|
+
type: DataAlertContentRepresentation
|
|
1684
|
+
properties:
|
|
1685
|
+
skillInstruction:
|
|
1686
|
+
description: Skill instruction for the brief content
|
|
1687
|
+
type: string
|
|
1625
1688
|
DataAlertCronScheduleRepresentation:
|
|
1626
1689
|
description: Represents the cron schedule for a data alert
|
|
1627
1690
|
type: DataAlertScheduleRepresentation
|
|
@@ -1731,8 +1794,30 @@ types:
|
|
|
1731
1794
|
type: string
|
|
1732
1795
|
enum:
|
|
1733
1796
|
- Email
|
|
1797
|
+
- MsTeams
|
|
1734
1798
|
- Notification
|
|
1735
1799
|
- Slack
|
|
1800
|
+
DataAlertMsTeamsRecipientsRepresentation:
|
|
1801
|
+
description: Represents Microsoft Teams recipients for a data alert
|
|
1802
|
+
type: DataAlertReceiversRepresentation
|
|
1803
|
+
properties:
|
|
1804
|
+
recipients:
|
|
1805
|
+
description: list of Microsoft Teams recipients
|
|
1806
|
+
type: array
|
|
1807
|
+
items:
|
|
1808
|
+
type: DataAlertMsTeamsRecipientRepresentation
|
|
1809
|
+
DataAlertMsTeamsRecipientRepresentation:
|
|
1810
|
+
description: Represents a single Microsoft Teams recipient
|
|
1811
|
+
type: object
|
|
1812
|
+
properties:
|
|
1813
|
+
recipient:
|
|
1814
|
+
description: Recipient identifier
|
|
1815
|
+
type: string
|
|
1816
|
+
recipientType:
|
|
1817
|
+
description: Type of recipient
|
|
1818
|
+
type: string
|
|
1819
|
+
enum:
|
|
1820
|
+
- SalesforceUser
|
|
1736
1821
|
|
|
1737
1822
|
DataAlertRepresentation:
|
|
1738
1823
|
description: Output representation for Data Alert
|
|
@@ -1755,6 +1840,7 @@ types:
|
|
|
1755
1840
|
enum:
|
|
1756
1841
|
- AgentHealthMonitoring
|
|
1757
1842
|
- AgentPowered
|
|
1843
|
+
- Brief
|
|
1758
1844
|
deliveryConfigurations:
|
|
1759
1845
|
description: Data alert delivery configurations.
|
|
1760
1846
|
type: DataAlertDeliveryConfigurationRepresentation
|
|
@@ -1770,6 +1856,7 @@ types:
|
|
|
1770
1856
|
thresholds:
|
|
1771
1857
|
description: Thresholds to be evaluated.
|
|
1772
1858
|
type: DataAlertThresholdsRepresentation
|
|
1859
|
+
required: false
|
|
1773
1860
|
agent:
|
|
1774
1861
|
description: ID of the associated BotDefinition agent.
|
|
1775
1862
|
type: string | nil
|
|
@@ -2189,6 +2276,17 @@ types:
|
|
|
2189
2276
|
isReused:
|
|
2190
2277
|
description: Indicates whether the asset is reused from another promotion
|
|
2191
2278
|
type: boolean
|
|
2279
|
+
reusedAssetStatus:
|
|
2280
|
+
description: The reused asset status of the asset
|
|
2281
|
+
type: string | nil
|
|
2282
|
+
enum:
|
|
2283
|
+
- Conflict
|
|
2284
|
+
- Editable
|
|
2285
|
+
- Locked
|
|
2286
|
+
- Modified
|
|
2287
|
+
- OutOfSyncLocked
|
|
2288
|
+
- UpdateAvailable
|
|
2289
|
+
required: false
|
|
2192
2290
|
sourceDevName:
|
|
2193
2291
|
description: The source developer name of the asset
|
|
2194
2292
|
type: string
|