@salesforce/lds-adapters-analytics-unifiedanalytics 1.445.0 → 1.447.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +16 -11
  2. package/dist/es/es2018/types/src/generated/adapters/createDataAlert.d.ts +3 -2
  3. package/dist/es/es2018/types/src/generated/adapters/postDataAlertQuery.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/updateDataAlert.d.ts +3 -2
  5. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlerts.d.ts +3 -2
  6. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsQuery.d.ts +1 -0
  7. package/dist/es/es2018/types/src/generated/resources/putTableauDataAlertsByDataAlertId.d.ts +3 -2
  8. package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentInputRepresentation.d.ts +30 -0
  9. package/dist/es/es2018/types/src/generated/types/DataAlertBriefContentRepresentation.d.ts +29 -0
  10. package/dist/es/es2018/types/src/generated/types/DataAlertContentInputRepresentation.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/types/DataAlertDeliveryConfigurationInputRepresentation.d.ts +2 -1
  12. package/dist/es/es2018/types/src/generated/types/DataAlertInputRepresentation.d.ts +5 -4
  13. package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientInputRepresentation.d.ts +31 -0
  14. package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientRepresentation.d.ts +31 -0
  15. package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientsInputRepresentation.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/DataAlertMsTeamsRecipientsRepresentation.d.ts +30 -0
  17. package/dist/es/es2018/types/src/generated/types/DataAlertQueryInputRepresentation.d.ts +4 -1
  18. package/dist/es/es2018/types/src/generated/types/DataAlertReceiversInputRepresentation.d.ts +1 -0
  19. package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +3 -3
  20. package/package.json +3 -3
  21. package/sfdc/index.js +17 -12
  22. package/src/raml/api.raml +76 -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 = "c2b3a7269126a29557fb07e4baa3abf9";
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
- const obj_thresholds = obj.thresholds;
4001
- const path_thresholds = path + '.thresholds';
4002
- const referencepath_thresholdsValidationError = validate$14(obj_thresholds, path_thresholds);
4003
- if (referencepath_thresholdsValidationError !== null) {
4004
- let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
4005
- message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4006
- return new TypeError(message);
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', true, 2 /* Body */, 4 /* Unsupported */),
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', true, 2 /* Body */, 4 /* Unsupported */),
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
  ];
@@ -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: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
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: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
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: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
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: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
22
+ thresholds?: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
22
23
  utterance: string;
23
24
  agent?: string | null;
24
25
  };
@@ -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 = "5bbf01be227a6e0c9aa6f938027ceab1";
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: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
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: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
49
+ thresholds?: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
49
50
  utterance: string;
50
51
  }
@@ -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
+ }
@@ -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
+ }
@@ -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 = "4e4946f75d645c7cae9bf03c43a56fbf";
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 = "c2b3a7269126a29557fb07e4baa3abf9";
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: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
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: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
70
+ thresholds?: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
71
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.445.0",
3
+ "version": "1.447.0",
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.445.0"
43
+ "@salesforce/lds-bindings": "^1.447.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.445.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.447.0"
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 = "c2b3a7269126a29557fb07e4baa3abf9";
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
- const obj_thresholds = obj.thresholds;
2742
- const path_thresholds = path + '.thresholds';
2743
- const referencepath_thresholdsValidationError = validate$14(obj_thresholds, path_thresholds);
2744
- if (referencepath_thresholdsValidationError !== null) {
2745
- let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
2746
- message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2747
- return new TypeError(message);
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', true, 2 /* Body */, 4 /* Unsupported */),
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
  ];
@@ -13960,7 +13964,7 @@ function select$j(luvio, params) {
13960
13964
  return select$k();
13961
13965
  }
13962
13966
  function keyBuilder$8(luvio, params) {
13963
- 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(',') + ']')) + ')';
13967
+ 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(',') + ']')) + ')';
13964
13968
  }
13965
13969
  function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
13966
13970
  getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
@@ -14012,6 +14016,7 @@ const adapterName$e = 'postDataAlertQuery';
14012
14016
  const postDataAlertQuery_ConfigPropertyMetadata = [
14013
14017
  generateParamConfigMetadata('ownerId', true, 2 /* Body */, 0 /* String */),
14014
14018
  generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
14019
+ generateParamConfigMetadata('dataAlertTypes', false, 2 /* Body */, 0 /* String */, true),
14015
14020
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
14016
14021
  generateParamConfigMetadata('includeProperties', false, 2 /* Body */, 0 /* String */, true),
14017
14022
  generateParamConfigMetadata('propertyFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
@@ -15431,7 +15436,7 @@ const updateDataAlert_ConfigPropertyMetadata = [
15431
15436
  generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
15432
15437
  generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
15433
15438
  generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
15434
- generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
15439
+ generateParamConfigMetadata('thresholds', false, 2 /* Body */, 4 /* Unsupported */),
15435
15440
  generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
15436
15441
  generateParamConfigMetadata('agent', false, 2 /* Body */, 4 /* Unsupported */),
15437
15442
  ];
@@ -16697,4 +16702,4 @@ withDefaultLuvio((luvio) => {
16697
16702
  });
16698
16703
 
16699
16704
  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 };
16700
- // version: 1.445.0-6d38a08808
16705
+ // version: 1.447.0-b75721e8dd
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,14 @@ 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
1490
1509
  DataAlertDailyScheduleInputRepresentation:
1491
1510
  description: Input representation for daily alert schedule
1492
1511
  type: DataAlertScheduleInputRepresentation
@@ -1521,6 +1540,7 @@ types:
1521
1540
  enum:
1522
1541
  - AgentHealthMonitoring
1523
1542
  - AgentPowered
1543
+ - Brief
1524
1544
  deliveryConfigurations:
1525
1545
  type: DataAlertDeliveryConfigurationInputRepresentation # TODO Hand-rolled @W-17927490
1526
1546
  schedule:
@@ -1529,6 +1549,7 @@ types:
1529
1549
  thresholds:
1530
1550
  description: thresholds to be evaluated
1531
1551
  type: DataAlertThresholdsInputRepresentation # TODO Hand-rolled @W-17927490
1552
+ required: false
1532
1553
  utterance:
1533
1554
  description: user entered utterance
1534
1555
  type: string
@@ -1547,6 +1568,28 @@ types:
1547
1568
  type: array
1548
1569
  items:
1549
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
1550
1593
  DataAlertReceiversInputRepresentation:
1551
1594
  description: Input representation for data alert recipients
1552
1595
  type: object
@@ -1557,6 +1600,7 @@ types:
1557
1600
  type: string
1558
1601
  enum:
1559
1602
  - Email
1603
+ - MsTeams
1560
1604
  - Notification
1561
1605
  - Slack
1562
1606
  DataAlertScheduleInputRepresentation:
@@ -1632,7 +1676,15 @@ types:
1632
1676
  description: Type of content
1633
1677
  type: string
1634
1678
  enum:
1679
+ - Brief
1635
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
1636
1688
  DataAlertCronScheduleRepresentation:
1637
1689
  description: Represents the cron schedule for a data alert
1638
1690
  type: DataAlertScheduleRepresentation
@@ -1742,8 +1794,30 @@ types:
1742
1794
  type: string
1743
1795
  enum:
1744
1796
  - Email
1797
+ - MsTeams
1745
1798
  - Notification
1746
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
1747
1821
 
1748
1822
  DataAlertRepresentation:
1749
1823
  description: Output representation for Data Alert
@@ -1766,6 +1840,7 @@ types:
1766
1840
  enum:
1767
1841
  - AgentHealthMonitoring
1768
1842
  - AgentPowered
1843
+ - Brief
1769
1844
  deliveryConfigurations:
1770
1845
  description: Data alert delivery configurations.
1771
1846
  type: DataAlertDeliveryConfigurationRepresentation
@@ -1781,6 +1856,7 @@ types:
1781
1856
  thresholds:
1782
1857
  description: Thresholds to be evaluated.
1783
1858
  type: DataAlertThresholdsRepresentation
1859
+ required: false
1784
1860
  agent:
1785
1861
  description: ID of the associated BotDefinition agent.
1786
1862
  type: string | nil