@salesforce/lds-adapters-analytics-unifiedanalytics 1.428.0-dev16 → 1.428.0-dev18
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 +25 -11
- package/dist/es/es2018/types/src/generated/adapters/createDataAlert.d.ts +4 -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 +4 -2
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAlerts.d.ts +4 -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 +4 -2
- package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentInputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentRepresentation.d.ts +32 -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 +8 -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 +6 -3
- package/package.json +3 -3
- package/sfdc/index.js +26 -12
- package/src/raml/api.raml +96 -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 = "eca891667fbed2132d5c2a32709976c2";
|
|
3908
3908
|
function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
3909
3909
|
const v_error = (() => {
|
|
3910
3910
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3974,6 +3974,13 @@ function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
|
3974
3974
|
if (typeof obj_id !== 'string') {
|
|
3975
3975
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3976
3976
|
}
|
|
3977
|
+
if (obj.isEnabled !== undefined) {
|
|
3978
|
+
const obj_isEnabled = obj.isEnabled;
|
|
3979
|
+
const path_isEnabled = path + '.isEnabled';
|
|
3980
|
+
if (typeof obj_isEnabled !== 'boolean') {
|
|
3981
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
3977
3984
|
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
3978
3985
|
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
3979
3986
|
if (typeof obj_lastModifiedDate !== 'string') {
|
|
@@ -3997,13 +4004,15 @@ function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
|
3997
4004
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3998
4005
|
return new TypeError(message);
|
|
3999
4006
|
}
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
+
if (obj.thresholds !== undefined) {
|
|
4008
|
+
const obj_thresholds = obj.thresholds;
|
|
4009
|
+
const path_thresholds = path + '.thresholds';
|
|
4010
|
+
const referencepath_thresholdsValidationError = validate$14(obj_thresholds, path_thresholds);
|
|
4011
|
+
if (referencepath_thresholdsValidationError !== null) {
|
|
4012
|
+
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
4013
|
+
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4014
|
+
return new TypeError(message);
|
|
4015
|
+
}
|
|
4007
4016
|
}
|
|
4008
4017
|
})();
|
|
4009
4018
|
return v_error === undefined ? null : v_error;
|
|
@@ -4295,6 +4304,7 @@ const getDataAlertCollectionAdapterFactory = (luvio) => function UnifiedAnalytic
|
|
|
4295
4304
|
|
|
4296
4305
|
var DiscriminatorValues$3;
|
|
4297
4306
|
(function (DiscriminatorValues) {
|
|
4307
|
+
DiscriminatorValues["MsTeams"] = "MsTeams";
|
|
4298
4308
|
DiscriminatorValues["Notification"] = "Notification";
|
|
4299
4309
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
4300
4310
|
function validate$11(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
@@ -4503,6 +4513,7 @@ function createResourceRequest$Q(config) {
|
|
|
4503
4513
|
|
|
4504
4514
|
var DiscriminatorValues$1;
|
|
4505
4515
|
(function (DiscriminatorValues) {
|
|
4516
|
+
DiscriminatorValues["Brief"] = "Brief";
|
|
4506
4517
|
DiscriminatorValues["Metric"] = "Metric";
|
|
4507
4518
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
4508
4519
|
function validate$W(obj, path = 'DataAlertContentInputRepresentation') {
|
|
@@ -4560,9 +4571,10 @@ const createDataAlert_ConfigPropertyMetadata = [
|
|
|
4560
4571
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
4561
4572
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4562
4573
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4563
|
-
generateParamConfigMetadata('thresholds',
|
|
4574
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4564
4575
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
4565
4576
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4577
|
+
generateParamConfigMetadata('isEnabled', false, 2 /* Body */, 1 /* Boolean */),
|
|
4566
4578
|
];
|
|
4567
4579
|
const createDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, createDataAlert_ConfigPropertyMetadata);
|
|
4568
4580
|
const createResourceParams$Q = /*#__PURE__*/ createResourceParams$10(createDataAlert_ConfigPropertyMetadata);
|
|
@@ -4736,7 +4748,7 @@ function select$1f(luvio, params) {
|
|
|
4736
4748
|
}
|
|
4737
4749
|
function keyBuilder$1a(luvio, params) {
|
|
4738
4750
|
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(',') + ']')) + ')';
|
|
4751
|
+
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
4752
|
}
|
|
4741
4753
|
function getResponseCacheKeys$P(storeKeyMap, luvio, resourceParams, response) {
|
|
4742
4754
|
getTypeCacheKeys$z(storeKeyMap, luvio, response, () => keyBuilder$1a(luvio, resourceParams));
|
|
@@ -4788,6 +4800,7 @@ const adapterName$P = 'postDataAlertQuery';
|
|
|
4788
4800
|
const postDataAlertQuery_ConfigPropertyMetadata = [
|
|
4789
4801
|
generateParamConfigMetadata('ownerId', true, 2 /* Body */, 0 /* String */),
|
|
4790
4802
|
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
4803
|
+
generateParamConfigMetadata('dataAlertTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
4791
4804
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4792
4805
|
generateParamConfigMetadata('includeProperties', false, 2 /* Body */, 0 /* String */, true),
|
|
4793
4806
|
generateParamConfigMetadata('propertyFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -5160,9 +5173,10 @@ const updateDataAlert_ConfigPropertyMetadata = [
|
|
|
5160
5173
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
5161
5174
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
5162
5175
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
5163
|
-
generateParamConfigMetadata('thresholds',
|
|
5176
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5164
5177
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
5165
5178
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5179
|
+
generateParamConfigMetadata('isEnabled', false, 2 /* Body */, 1 /* Boolean */),
|
|
5166
5180
|
];
|
|
5167
5181
|
const updateDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, updateDataAlert_ConfigPropertyMetadata);
|
|
5168
5182
|
const createResourceParams$M = /*#__PURE__*/ createResourceParams$10(updateDataAlert_ConfigPropertyMetadata);
|
|
@@ -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,13 +14,14 @@ 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;
|
|
24
|
+
isEnabled?: boolean;
|
|
23
25
|
}
|
|
24
26
|
export declare const createResourceParams: (config: CreateDataAlertConfig) => resources_postTableauDataAlerts_ResourceRequestConfig;
|
|
25
27
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDataAlertConfig>): adapter$45$utils_Untrusted<CreateDataAlertConfig>;
|
|
@@ -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,13 +15,14 @@ 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;
|
|
25
|
+
isEnabled?: boolean;
|
|
24
26
|
}
|
|
25
27
|
export declare const createResourceParams: (config: UpdateDataAlertConfig) => resources_putTableauDataAlertsByDataAlertId_ResourceRequestConfig;
|
|
26
28
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateDataAlertConfig>): adapter$45$utils_Untrusted<UpdateDataAlertConfig>;
|
|
@@ -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,13 +12,14 @@ 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;
|
|
22
|
+
isEnabled?: boolean;
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -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,13 +15,14 @@ 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;
|
|
25
|
+
isEnabled?: boolean;
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
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 = "b821566b07418176dbc333e09bdca052";
|
|
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
|
+
/** Ids or API names of the semantic data models used to generate the brief */
|
|
19
|
+
modelApiNameOrIdList?: Array<string>;
|
|
20
|
+
/** Skill instruction for the brief content */
|
|
21
|
+
skillInstruction: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Input representation for content based on brief
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface DataAlertBriefContentInputRepresentation extends DataAlertContentInputRepresentation_DataAlertContentInputRepresentation {
|
|
30
|
+
modelApiNameOrIdList?: Array<string>;
|
|
31
|
+
skillInstruction: string;
|
|
32
|
+
type: 'Brief';
|
|
33
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 = "76e4755a7e9893e795ae6a76025894cc";
|
|
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
|
+
/** Ids or API names of the semantic data models used to generate the brief */
|
|
19
|
+
modelApiNameOrIdList?: Array<string>;
|
|
20
|
+
/** Skill instruction for the brief content */
|
|
21
|
+
skillInstruction: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the brief content for a data alert
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface DataAlertBriefContentRepresentation extends DataAlertContentRepresentation_DataAlertContentRepresentation {
|
|
30
|
+
modelApiNameOrIdList?: Array<string>;
|
|
31
|
+
skillInstruction: string;
|
|
32
|
+
}
|
|
@@ -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 = "8f196c5299c01756d3dca9c7f46d5e18";
|
|
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;
|
|
@@ -28,8 +29,10 @@ export interface DataAlertInputRepresentationNormalized {
|
|
|
28
29
|
/** Type of data alert */
|
|
29
30
|
dataAlertType: string;
|
|
30
31
|
deliveryConfigurations: DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
32
|
+
/** Whether this data alert is enabled. Set to false to pause alert execution. */
|
|
33
|
+
isEnabled?: boolean;
|
|
31
34
|
schedule: DataAlertScheduleInputRepresentation_DataAlertScheduleInputRepresentation;
|
|
32
|
-
thresholds
|
|
35
|
+
thresholds?: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
33
36
|
/** user entered utterance */
|
|
34
37
|
utterance: string;
|
|
35
38
|
}
|
|
@@ -41,10 +44,11 @@ export interface DataAlertInputRepresentationNormalized {
|
|
|
41
44
|
*/
|
|
42
45
|
export interface DataAlertInputRepresentation {
|
|
43
46
|
agent?: string | null;
|
|
44
|
-
content: DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
47
|
+
content: DataAlertBriefContentInputRepresentation_DataAlertBriefContentInputRepresentation | DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
45
48
|
dataAlertType: string;
|
|
46
49
|
deliveryConfigurations: DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
50
|
+
isEnabled?: boolean;
|
|
47
51
|
schedule: DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
48
|
-
thresholds
|
|
52
|
+
thresholds?: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
49
53
|
utterance: string;
|
|
50
54
|
}
|
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 = "eca891667fbed2132d5c2a32709976c2";
|
|
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 {
|
|
@@ -43,12 +43,14 @@ export interface DataAlertRepresentationNormalized {
|
|
|
43
43
|
deliveryConfigurations: DataAlertDeliveryConfigurationRepresentation_DataAlertDeliveryConfigurationRepresentation;
|
|
44
44
|
/** ID of the Data Alert */
|
|
45
45
|
id: string;
|
|
46
|
+
/** Whether this data alert is enabled. False indicates the alert is paused. */
|
|
47
|
+
isEnabled?: boolean;
|
|
46
48
|
/** Last modified date of the data alert */
|
|
47
49
|
lastModifiedDate: string;
|
|
48
50
|
/** Additional properties for the data alert used when sending the query response. */
|
|
49
51
|
properties?: DataAlertPropertyFilterOutputRepresentation_DataAlertPropertyFilterOutputRepresentation;
|
|
50
52
|
schedule: DataAlertScheduleRepresentation_DataAlertScheduleRepresentation;
|
|
51
|
-
thresholds
|
|
53
|
+
thresholds?: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
56
|
* Output representation for Data Alert
|
|
@@ -64,8 +66,9 @@ export interface DataAlertRepresentation {
|
|
|
64
66
|
dataAlertType: string;
|
|
65
67
|
deliveryConfigurations: DataAlertDeliveryConfigurationRepresentation_DataAlertDeliveryConfigurationRepresentation;
|
|
66
68
|
id: string;
|
|
69
|
+
isEnabled?: boolean;
|
|
67
70
|
lastModifiedDate: string;
|
|
68
71
|
properties?: DataAlertPropertyFilterOutputRepresentation_DataAlertPropertyFilterOutputRepresentation;
|
|
69
72
|
schedule: DataAlertScheduleRepresentation_DataAlertScheduleRepresentation;
|
|
70
|
-
thresholds
|
|
73
|
+
thresholds?: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
|
|
71
74
|
}
|
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-dev18",
|
|
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-dev18"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.428.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.428.0-dev18"
|
|
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 = "eca891667fbed2132d5c2a32709976c2";
|
|
2649
2650
|
function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
2650
2651
|
const v_error = (() => {
|
|
2651
2652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2715,6 +2716,13 @@ function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
|
2715
2716
|
if (typeof obj_id !== 'string') {
|
|
2716
2717
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2717
2718
|
}
|
|
2719
|
+
if (obj.isEnabled !== undefined) {
|
|
2720
|
+
const obj_isEnabled = obj.isEnabled;
|
|
2721
|
+
const path_isEnabled = path + '.isEnabled';
|
|
2722
|
+
if (typeof obj_isEnabled !== 'boolean') {
|
|
2723
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2718
2726
|
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
2719
2727
|
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
2720
2728
|
if (typeof obj_lastModifiedDate !== 'string') {
|
|
@@ -2738,13 +2746,15 @@ function validate$13(obj, path = 'DataAlertRepresentation') {
|
|
|
2738
2746
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2739
2747
|
return new TypeError(message);
|
|
2740
2748
|
}
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2749
|
+
if (obj.thresholds !== undefined) {
|
|
2750
|
+
const obj_thresholds = obj.thresholds;
|
|
2751
|
+
const path_thresholds = path + '.thresholds';
|
|
2752
|
+
const referencepath_thresholdsValidationError = validate$14(obj_thresholds, path_thresholds);
|
|
2753
|
+
if (referencepath_thresholdsValidationError !== null) {
|
|
2754
|
+
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
2755
|
+
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2756
|
+
return new TypeError(message);
|
|
2757
|
+
}
|
|
2748
2758
|
}
|
|
2749
2759
|
})();
|
|
2750
2760
|
return v_error === undefined ? null : v_error;
|
|
@@ -2837,6 +2847,7 @@ function createResourceRequest$Y(config) {
|
|
|
2837
2847
|
|
|
2838
2848
|
var DiscriminatorValues$1;
|
|
2839
2849
|
(function (DiscriminatorValues) {
|
|
2850
|
+
DiscriminatorValues["Brief"] = "Brief";
|
|
2840
2851
|
DiscriminatorValues["Metric"] = "Metric";
|
|
2841
2852
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
2842
2853
|
function validate$12(obj, path = 'DataAlertContentInputRepresentation') {
|
|
@@ -2894,9 +2905,10 @@ const createDataAlert_ConfigPropertyMetadata = [
|
|
|
2894
2905
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
2895
2906
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2896
2907
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2897
|
-
generateParamConfigMetadata('thresholds',
|
|
2908
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2898
2909
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
2899
2910
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2911
|
+
generateParamConfigMetadata('isEnabled', false, 2 /* Body */, 1 /* Boolean */),
|
|
2900
2912
|
];
|
|
2901
2913
|
const createDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Y, createDataAlert_ConfigPropertyMetadata);
|
|
2902
2914
|
const createResourceParams$Y = /*#__PURE__*/ createResourceParams$10(createDataAlert_ConfigPropertyMetadata);
|
|
@@ -13961,7 +13973,7 @@ function select$j(luvio, params) {
|
|
|
13961
13973
|
return select$k();
|
|
13962
13974
|
}
|
|
13963
13975
|
function keyBuilder$8(luvio, params) {
|
|
13964
|
-
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(',') + ']')) + ')';
|
|
13976
|
+
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(',') + ']')) + ')';
|
|
13965
13977
|
}
|
|
13966
13978
|
function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
|
|
13967
13979
|
getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
|
|
@@ -14013,6 +14025,7 @@ const adapterName$e = 'postDataAlertQuery';
|
|
|
14013
14025
|
const postDataAlertQuery_ConfigPropertyMetadata = [
|
|
14014
14026
|
generateParamConfigMetadata('ownerId', true, 2 /* Body */, 0 /* String */),
|
|
14015
14027
|
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
14028
|
+
generateParamConfigMetadata('dataAlertTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
14016
14029
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
14017
14030
|
generateParamConfigMetadata('includeProperties', false, 2 /* Body */, 0 /* String */, true),
|
|
14018
14031
|
generateParamConfigMetadata('propertyFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -15432,9 +15445,10 @@ const updateDataAlert_ConfigPropertyMetadata = [
|
|
|
15432
15445
|
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
15433
15446
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
15434
15447
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
15435
|
-
generateParamConfigMetadata('thresholds',
|
|
15448
|
+
generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
|
|
15436
15449
|
generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
|
|
15437
15450
|
generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
|
|
15451
|
+
generateParamConfigMetadata('isEnabled', false, 2 /* Body */, 1 /* Boolean */),
|
|
15438
15452
|
];
|
|
15439
15453
|
const updateDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, updateDataAlert_ConfigPropertyMetadata);
|
|
15440
15454
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$10(updateDataAlert_ConfigPropertyMetadata);
|
|
@@ -16698,4 +16712,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16698
16712
|
});
|
|
16699
16713
|
|
|
16700
16714
|
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 };
|
|
16701
|
-
// version: 1.428.0-
|
|
16715
|
+
// version: 1.428.0-dev18-75b1336dc2
|
package/src/raml/api.raml
CHANGED
|
@@ -1219,6 +1219,16 @@ types:
|
|
|
1219
1219
|
description: Filter by metric/asset ID
|
|
1220
1220
|
type: string
|
|
1221
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
|
|
1222
1232
|
timeRange:
|
|
1223
1233
|
required: false
|
|
1224
1234
|
description: Filter alerts by time range context
|
|
@@ -1473,6 +1483,7 @@ types:
|
|
|
1473
1483
|
description: content type
|
|
1474
1484
|
type: string
|
|
1475
1485
|
enum:
|
|
1486
|
+
- Brief
|
|
1476
1487
|
- Metric
|
|
1477
1488
|
DataAlertMetricContentInputRepresentation:
|
|
1478
1489
|
description: Input representation for content based on metric value
|
|
@@ -1487,6 +1498,20 @@ types:
|
|
|
1487
1498
|
type: array
|
|
1488
1499
|
items:
|
|
1489
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
|
|
1509
|
+
modelApiNameOrIdList:
|
|
1510
|
+
description: Ids or API names of the semantic data models used to generate the brief
|
|
1511
|
+
type: array
|
|
1512
|
+
items:
|
|
1513
|
+
type: string
|
|
1514
|
+
required: false
|
|
1490
1515
|
DataAlertDailyScheduleInputRepresentation:
|
|
1491
1516
|
description: Input representation for daily alert schedule
|
|
1492
1517
|
type: DataAlertScheduleInputRepresentation
|
|
@@ -1521,6 +1546,7 @@ types:
|
|
|
1521
1546
|
enum:
|
|
1522
1547
|
- AgentHealthMonitoring
|
|
1523
1548
|
- AgentPowered
|
|
1549
|
+
- Brief
|
|
1524
1550
|
deliveryConfigurations:
|
|
1525
1551
|
type: DataAlertDeliveryConfigurationInputRepresentation # TODO Hand-rolled @W-17927490
|
|
1526
1552
|
schedule:
|
|
@@ -1529,6 +1555,7 @@ types:
|
|
|
1529
1555
|
thresholds:
|
|
1530
1556
|
description: thresholds to be evaluated
|
|
1531
1557
|
type: DataAlertThresholdsInputRepresentation # TODO Hand-rolled @W-17927490
|
|
1558
|
+
required: false
|
|
1532
1559
|
utterance:
|
|
1533
1560
|
description: user entered utterance
|
|
1534
1561
|
type: string
|
|
@@ -1536,6 +1563,10 @@ types:
|
|
|
1536
1563
|
description: ID of the associated BotDefinition agent.
|
|
1537
1564
|
type: string | nil
|
|
1538
1565
|
required: false
|
|
1566
|
+
isEnabled:
|
|
1567
|
+
description: Whether this data alert is enabled. Set to false to pause alert execution.
|
|
1568
|
+
type: boolean
|
|
1569
|
+
required: false
|
|
1539
1570
|
DataAlertNotificationRecipientsInputRepresentation:
|
|
1540
1571
|
description: 'List of UNS recipients for Data alerts. May contain user or group
|
|
1541
1572
|
Ids. '
|
|
@@ -1547,6 +1578,28 @@ types:
|
|
|
1547
1578
|
type: array
|
|
1548
1579
|
items:
|
|
1549
1580
|
type: string
|
|
1581
|
+
DataAlertMsTeamsRecipientsInputRepresentation:
|
|
1582
|
+
description: List of Microsoft Teams recipients for Data alerts.
|
|
1583
|
+
type: DataAlertReceiversInputRepresentation
|
|
1584
|
+
discriminatorValue: MsTeams
|
|
1585
|
+
properties:
|
|
1586
|
+
recipients:
|
|
1587
|
+
description: Microsoft Teams recipients
|
|
1588
|
+
type: array
|
|
1589
|
+
items:
|
|
1590
|
+
type: DataAlertMsTeamsRecipientInputRepresentation
|
|
1591
|
+
DataAlertMsTeamsRecipientInputRepresentation:
|
|
1592
|
+
description: A single Microsoft Teams recipient
|
|
1593
|
+
type: object
|
|
1594
|
+
properties:
|
|
1595
|
+
recipient:
|
|
1596
|
+
description: Recipient identifier
|
|
1597
|
+
type: string
|
|
1598
|
+
recipientType:
|
|
1599
|
+
description: Type of recipient
|
|
1600
|
+
type: string
|
|
1601
|
+
enum:
|
|
1602
|
+
- SalesforceUser
|
|
1550
1603
|
DataAlertReceiversInputRepresentation:
|
|
1551
1604
|
description: Input representation for data alert recipients
|
|
1552
1605
|
type: object
|
|
@@ -1557,6 +1610,7 @@ types:
|
|
|
1557
1610
|
type: string
|
|
1558
1611
|
enum:
|
|
1559
1612
|
- Email
|
|
1613
|
+
- MsTeams
|
|
1560
1614
|
- Notification
|
|
1561
1615
|
- Slack
|
|
1562
1616
|
DataAlertScheduleInputRepresentation:
|
|
@@ -1632,7 +1686,21 @@ types:
|
|
|
1632
1686
|
description: Type of content
|
|
1633
1687
|
type: string
|
|
1634
1688
|
enum:
|
|
1689
|
+
- Brief
|
|
1635
1690
|
- Metric
|
|
1691
|
+
DataAlertBriefContentRepresentation:
|
|
1692
|
+
description: Represents the brief content for a data alert
|
|
1693
|
+
type: DataAlertContentRepresentation
|
|
1694
|
+
properties:
|
|
1695
|
+
skillInstruction:
|
|
1696
|
+
description: Skill instruction for the brief content
|
|
1697
|
+
type: string
|
|
1698
|
+
modelApiNameOrIdList:
|
|
1699
|
+
description: Ids or API names of the semantic data models used to generate the brief
|
|
1700
|
+
type: array
|
|
1701
|
+
items:
|
|
1702
|
+
type: string
|
|
1703
|
+
required: false
|
|
1636
1704
|
DataAlertCronScheduleRepresentation:
|
|
1637
1705
|
description: Represents the cron schedule for a data alert
|
|
1638
1706
|
type: DataAlertScheduleRepresentation
|
|
@@ -1742,8 +1810,30 @@ types:
|
|
|
1742
1810
|
type: string
|
|
1743
1811
|
enum:
|
|
1744
1812
|
- Email
|
|
1813
|
+
- MsTeams
|
|
1745
1814
|
- Notification
|
|
1746
1815
|
- Slack
|
|
1816
|
+
DataAlertMsTeamsRecipientsRepresentation:
|
|
1817
|
+
description: Represents Microsoft Teams recipients for a data alert
|
|
1818
|
+
type: DataAlertReceiversRepresentation
|
|
1819
|
+
properties:
|
|
1820
|
+
recipients:
|
|
1821
|
+
description: list of Microsoft Teams recipients
|
|
1822
|
+
type: array
|
|
1823
|
+
items:
|
|
1824
|
+
type: DataAlertMsTeamsRecipientRepresentation
|
|
1825
|
+
DataAlertMsTeamsRecipientRepresentation:
|
|
1826
|
+
description: Represents a single Microsoft Teams recipient
|
|
1827
|
+
type: object
|
|
1828
|
+
properties:
|
|
1829
|
+
recipient:
|
|
1830
|
+
description: Recipient identifier
|
|
1831
|
+
type: string
|
|
1832
|
+
recipientType:
|
|
1833
|
+
description: Type of recipient
|
|
1834
|
+
type: string
|
|
1835
|
+
enum:
|
|
1836
|
+
- SalesforceUser
|
|
1747
1837
|
|
|
1748
1838
|
DataAlertRepresentation:
|
|
1749
1839
|
description: Output representation for Data Alert
|
|
@@ -1766,6 +1856,7 @@ types:
|
|
|
1766
1856
|
enum:
|
|
1767
1857
|
- AgentHealthMonitoring
|
|
1768
1858
|
- AgentPowered
|
|
1859
|
+
- Brief
|
|
1769
1860
|
deliveryConfigurations:
|
|
1770
1861
|
description: Data alert delivery configurations.
|
|
1771
1862
|
type: DataAlertDeliveryConfigurationRepresentation
|
|
@@ -1781,6 +1872,7 @@ types:
|
|
|
1781
1872
|
thresholds:
|
|
1782
1873
|
description: Thresholds to be evaluated.
|
|
1783
1874
|
type: DataAlertThresholdsRepresentation
|
|
1875
|
+
required: false
|
|
1784
1876
|
agent:
|
|
1785
1877
|
description: ID of the associated BotDefinition agent.
|
|
1786
1878
|
type: string | nil
|
|
@@ -1788,6 +1880,10 @@ types:
|
|
|
1788
1880
|
properties?: #Field may be absent
|
|
1789
1881
|
description: Additional properties for the data alert used when sending the query response.
|
|
1790
1882
|
type: DataAlertPropertyFilterOutputRepresentation
|
|
1883
|
+
isEnabled:
|
|
1884
|
+
description: Whether this data alert is enabled. False indicates the alert is paused.
|
|
1885
|
+
type: boolean
|
|
1886
|
+
required: false
|
|
1791
1887
|
DataAlertScheduleRepresentation:
|
|
1792
1888
|
description: Represents the schedule for a data alert
|
|
1793
1889
|
type: object
|