@salesforce/lds-adapters-analytics-unifiedanalytics 1.392.0 → 1.393.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/analytics-unifiedanalytics.js +33 -23
- package/dist/es/es2018/types/src/generated/adapters/createDataAlert.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/updateDataAlert.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAlerts.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/putTableauDataAlertsByDataAlertId.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/types/DataAlertEveryNMinutesScheduleInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertEveryNMinutesScheduleRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertInputRepresentation.d.ts +6 -5
- package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataAlertScheduleInputRepresentation.d.ts +5 -4
- package/dist/es/es2018/types/src/generated/types/DataAlertScheduleRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +34 -24
- package/src/raml/api.raml +35 -3
|
@@ -3689,16 +3689,18 @@ function validate$Y(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
3689
3689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3690
3690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3691
3691
|
}
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3692
|
+
if (obj.hoursOfDay !== undefined) {
|
|
3693
|
+
const obj_hoursOfDay = obj.hoursOfDay;
|
|
3694
|
+
const path_hoursOfDay = path + '.hoursOfDay';
|
|
3695
|
+
if (!ArrayIsArray(obj_hoursOfDay)) {
|
|
3696
|
+
return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
|
|
3697
|
+
}
|
|
3698
|
+
for (let i = 0; i < obj_hoursOfDay.length; i++) {
|
|
3699
|
+
const obj_hoursOfDay_item = obj_hoursOfDay[i];
|
|
3700
|
+
const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
|
|
3701
|
+
if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
|
|
3702
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
|
|
3703
|
+
}
|
|
3702
3704
|
}
|
|
3703
3705
|
}
|
|
3704
3706
|
const obj_type = obj.type;
|
|
@@ -3784,7 +3786,7 @@ function validate$V(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
3784
3786
|
}
|
|
3785
3787
|
|
|
3786
3788
|
const TTL$n = 500;
|
|
3787
|
-
const VERSION$y = "
|
|
3789
|
+
const VERSION$y = "04f6ab40ada1d70c527b0dd9ba6e7415";
|
|
3788
3790
|
function validate$U(obj, path = 'DataAlertRepresentation') {
|
|
3789
3791
|
const v_error = (() => {
|
|
3790
3792
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3808,6 +3810,11 @@ function validate$U(obj, path = 'DataAlertRepresentation') {
|
|
|
3808
3810
|
if (typeof obj_createdDate !== 'string') {
|
|
3809
3811
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
3810
3812
|
}
|
|
3813
|
+
const obj_dataAlertType = obj.dataAlertType;
|
|
3814
|
+
const path_dataAlertType = path + '.dataAlertType';
|
|
3815
|
+
if (typeof obj_dataAlertType !== 'string') {
|
|
3816
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataAlertType + '" (at "' + path_dataAlertType + '")');
|
|
3817
|
+
}
|
|
3811
3818
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
3812
3819
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
3813
3820
|
const referencepath_deliveryConfigurationsValidationError = validate$Z(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
@@ -4323,22 +4330,25 @@ var DiscriminatorValues;
|
|
|
4323
4330
|
(function (DiscriminatorValues) {
|
|
4324
4331
|
DiscriminatorValues["Daily"] = "Daily";
|
|
4325
4332
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
4333
|
+
DiscriminatorValues["EveryNMinutes"] = "EveryNMinutes";
|
|
4326
4334
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
4327
4335
|
function validate$L(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
4328
4336
|
const v_error = (() => {
|
|
4329
4337
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4330
4338
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4331
4339
|
}
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4340
|
+
if (obj.hoursOfDay !== undefined) {
|
|
4341
|
+
const obj_hoursOfDay = obj.hoursOfDay;
|
|
4342
|
+
const path_hoursOfDay = path + '.hoursOfDay';
|
|
4343
|
+
if (!ArrayIsArray(obj_hoursOfDay)) {
|
|
4344
|
+
return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
|
|
4345
|
+
}
|
|
4346
|
+
for (let i = 0; i < obj_hoursOfDay.length; i++) {
|
|
4347
|
+
const obj_hoursOfDay_item = obj_hoursOfDay[i];
|
|
4348
|
+
const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
|
|
4349
|
+
if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
|
|
4350
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
|
|
4351
|
+
}
|
|
4342
4352
|
}
|
|
4343
4353
|
}
|
|
4344
4354
|
const obj_type = obj.type;
|
|
@@ -4353,8 +4363,8 @@ function validate$L(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
|
4353
4363
|
const adapterName$N = 'createDataAlert';
|
|
4354
4364
|
const createDataAlert_ConfigPropertyMetadata = [
|
|
4355
4365
|
generateParamConfigMetadata('runNow', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
4356
|
-
generateParamConfigMetadata('analysisUtterance', true, 2 /* Body */, 0 /* String */),
|
|
4357
4366
|
generateParamConfigMetadata('content', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4367
|
+
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
4358
4368
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4359
4369
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4360
4370
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
@@ -4694,8 +4704,8 @@ const adapterName$K = 'updateDataAlert';
|
|
|
4694
4704
|
const updateDataAlert_ConfigPropertyMetadata = [
|
|
4695
4705
|
generateParamConfigMetadata('dataAlertId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4696
4706
|
generateParamConfigMetadata('runNow', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
4697
|
-
generateParamConfigMetadata('analysisUtterance', true, 2 /* Body */, 0 /* String */),
|
|
4698
4707
|
generateParamConfigMetadata('content', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4708
|
+
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
4699
4709
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4700
4710
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4701
4711
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
@@ -4,6 +4,7 @@ import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricConte
|
|
|
4
4
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
5
5
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
6
6
|
import { DataAlertWeeklyScheduleInputRepresentation as types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation } from '../types/DataAlertWeeklyScheduleInputRepresentation';
|
|
7
|
+
import { DataAlertEveryNMinutesScheduleInputRepresentation as types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from '../types/DataAlertEveryNMinutesScheduleInputRepresentation';
|
|
7
8
|
import { DataAlertThresholdsInputRepresentation as types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation } from '../types/DataAlertThresholdsInputRepresentation';
|
|
8
9
|
import { ResourceRequestConfig as resources_postTableauDataAlerts_ResourceRequestConfig } from '../resources/postTableauDataAlerts';
|
|
9
10
|
import { DataAlertRepresentation as types_DataAlertRepresentation_DataAlertRepresentation } from '../types/DataAlertRepresentation';
|
|
@@ -12,10 +13,10 @@ export declare const createDataAlert_ConfigPropertyMetadata: $64$luvio_engine_Ad
|
|
|
12
13
|
export declare const createDataAlert_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
13
14
|
export interface CreateDataAlertConfig {
|
|
14
15
|
runNow?: boolean;
|
|
15
|
-
analysisUtterance: string;
|
|
16
16
|
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
17
|
+
dataAlertType: string;
|
|
17
18
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
18
|
-
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation;
|
|
19
|
+
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
19
20
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
20
21
|
utterance: string;
|
|
21
22
|
}
|
|
@@ -4,6 +4,7 @@ import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricConte
|
|
|
4
4
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
5
5
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
6
6
|
import { DataAlertWeeklyScheduleInputRepresentation as types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation } from '../types/DataAlertWeeklyScheduleInputRepresentation';
|
|
7
|
+
import { DataAlertEveryNMinutesScheduleInputRepresentation as types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from '../types/DataAlertEveryNMinutesScheduleInputRepresentation';
|
|
7
8
|
import { DataAlertThresholdsInputRepresentation as types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation } from '../types/DataAlertThresholdsInputRepresentation';
|
|
8
9
|
import { ResourceRequestConfig as resources_putTableauDataAlertsByDataAlertId_ResourceRequestConfig } from '../resources/putTableauDataAlertsByDataAlertId';
|
|
9
10
|
import { DataAlertRepresentation as types_DataAlertRepresentation_DataAlertRepresentation } from '../types/DataAlertRepresentation';
|
|
@@ -13,10 +14,10 @@ export declare const updateDataAlert_ConfigPropertyNames: adapter$45$utils_Adapt
|
|
|
13
14
|
export interface UpdateDataAlertConfig {
|
|
14
15
|
dataAlertId: string;
|
|
15
16
|
runNow?: boolean;
|
|
16
|
-
analysisUtterance: string;
|
|
17
17
|
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
18
|
+
dataAlertType: string;
|
|
18
19
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
19
|
-
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation;
|
|
20
|
+
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
20
21
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
21
22
|
utterance: string;
|
|
22
23
|
}
|
|
@@ -2,6 +2,7 @@ import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricConte
|
|
|
2
2
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
3
3
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
4
4
|
import { DataAlertWeeklyScheduleInputRepresentation as types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation } from '../types/DataAlertWeeklyScheduleInputRepresentation';
|
|
5
|
+
import { DataAlertEveryNMinutesScheduleInputRepresentation as types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from '../types/DataAlertEveryNMinutesScheduleInputRepresentation';
|
|
5
6
|
import { DataAlertThresholdsInputRepresentation as types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation } from '../types/DataAlertThresholdsInputRepresentation';
|
|
6
7
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
7
8
|
import { DataAlertRepresentation as types_DataAlertRepresentation_DataAlertRepresentation } from '../types/DataAlertRepresentation';
|
|
@@ -10,10 +11,10 @@ export interface ResourceRequestConfig {
|
|
|
10
11
|
runNow?: boolean;
|
|
11
12
|
};
|
|
12
13
|
body: {
|
|
13
|
-
analysisUtterance: string;
|
|
14
14
|
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
15
|
+
dataAlertType: string;
|
|
15
16
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
16
|
-
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation;
|
|
17
|
+
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
17
18
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
18
19
|
utterance: string;
|
|
19
20
|
};
|
|
@@ -2,6 +2,7 @@ import { DataAlertMetricContentInputRepresentation as types_DataAlertMetricConte
|
|
|
2
2
|
import { DataAlertDeliveryConfigurationInputRepresentation as types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation } from '../types/DataAlertDeliveryConfigurationInputRepresentation';
|
|
3
3
|
import { DataAlertDailyScheduleInputRepresentation as types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from '../types/DataAlertDailyScheduleInputRepresentation';
|
|
4
4
|
import { DataAlertWeeklyScheduleInputRepresentation as types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation } from '../types/DataAlertWeeklyScheduleInputRepresentation';
|
|
5
|
+
import { DataAlertEveryNMinutesScheduleInputRepresentation as types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from '../types/DataAlertEveryNMinutesScheduleInputRepresentation';
|
|
5
6
|
import { DataAlertThresholdsInputRepresentation as types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation } from '../types/DataAlertThresholdsInputRepresentation';
|
|
6
7
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
7
8
|
import { DataAlertRepresentation as types_DataAlertRepresentation_DataAlertRepresentation } from '../types/DataAlertRepresentation';
|
|
@@ -13,10 +14,10 @@ export interface ResourceRequestConfig {
|
|
|
13
14
|
runNow?: boolean;
|
|
14
15
|
};
|
|
15
16
|
body: {
|
|
16
|
-
analysisUtterance: string;
|
|
17
17
|
content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
18
|
+
dataAlertType: string;
|
|
18
19
|
deliveryConfigurations: types_DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
19
|
-
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation;
|
|
20
|
+
schedule: types_DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | types_DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | types_DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
20
21
|
thresholds: types_DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
21
22
|
utterance: string;
|
|
22
23
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DataAlertScheduleInputRepresentation as DataAlertScheduleInputRepresentation_DataAlertScheduleInputRepresentation } from './DataAlertScheduleInputRepresentation';
|
|
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 = "b83cc64f6578bc13284ee1b4be9d255b";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DataAlertEveryNMinutesScheduleInputRepresentation, existing: DataAlertEveryNMinutesScheduleInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertEveryNMinutesScheduleInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: DataAlertEveryNMinutesScheduleInputRepresentationNormalized, incoming: DataAlertEveryNMinutesScheduleInputRepresentationNormalized): 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: DataAlertEveryNMinutesScheduleInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Input representation for an every N minutes alert schedule
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface DataAlertEveryNMinutesScheduleInputRepresentationNormalized extends DataAlertScheduleInputRepresentation_DataAlertScheduleInputRepresentation {
|
|
18
|
+
/** Frequency in minutes at which to run the data alert */
|
|
19
|
+
minuteLevelFrequency: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Input representation for an every N minutes alert schedule
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface DataAlertEveryNMinutesScheduleInputRepresentation extends DataAlertScheduleInputRepresentation_DataAlertScheduleInputRepresentation {
|
|
28
|
+
minuteLevelFrequency: number;
|
|
29
|
+
type: 'EveryNMinutes';
|
|
30
|
+
}
|
package/dist/es/es2018/types/src/generated/types/DataAlertEveryNMinutesScheduleRepresentation.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DataAlertScheduleRepresentation as DataAlertScheduleRepresentation_DataAlertScheduleRepresentation } from './DataAlertScheduleRepresentation';
|
|
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 = "cee2878a320d02b766fd79086975e598";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DataAlertEveryNMinutesScheduleRepresentation, existing: DataAlertEveryNMinutesScheduleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertEveryNMinutesScheduleRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: DataAlertEveryNMinutesScheduleRepresentationNormalized, incoming: DataAlertEveryNMinutesScheduleRepresentationNormalized): 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: DataAlertEveryNMinutesScheduleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents the every N minutes schedule for a data alert
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface DataAlertEveryNMinutesScheduleRepresentationNormalized extends DataAlertScheduleRepresentation_DataAlertScheduleRepresentation {
|
|
18
|
+
/** Frequency in minutes at which to run the data alert */
|
|
19
|
+
minuteLevelFrequency: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents the every N minutes schedule for a data alert
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface DataAlertEveryNMinutesScheduleRepresentation extends DataAlertScheduleRepresentation_DataAlertScheduleRepresentation {
|
|
28
|
+
minuteLevelFrequency: number;
|
|
29
|
+
}
|
|
@@ -6,7 +6,8 @@ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Lu
|
|
|
6
6
|
import { DataAlertMetricContentInputRepresentation as DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation } from './DataAlertMetricContentInputRepresentation';
|
|
7
7
|
import { DataAlertDailyScheduleInputRepresentation as DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation } from './DataAlertDailyScheduleInputRepresentation';
|
|
8
8
|
import { DataAlertWeeklyScheduleInputRepresentation as DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation } from './DataAlertWeeklyScheduleInputRepresentation';
|
|
9
|
-
|
|
9
|
+
import { DataAlertEveryNMinutesScheduleInputRepresentation as DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from './DataAlertEveryNMinutesScheduleInputRepresentation';
|
|
10
|
+
export declare const VERSION = "afe2ab03fbe9b609eb4584a6e4dd3839";
|
|
10
11
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
11
12
|
export declare const RepresentationType: string;
|
|
12
13
|
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;
|
|
@@ -21,9 +22,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
21
22
|
* (none)
|
|
22
23
|
*/
|
|
23
24
|
export interface DataAlertInputRepresentationNormalized {
|
|
24
|
-
/** user entered utterance for generating analysis. */
|
|
25
|
-
analysisUtterance: string;
|
|
26
25
|
content: DataAlertContentInputRepresentation_DataAlertContentInputRepresentation;
|
|
26
|
+
/** Type of data alert */
|
|
27
|
+
dataAlertType: string;
|
|
27
28
|
deliveryConfigurations: DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
28
29
|
schedule: DataAlertScheduleInputRepresentation_DataAlertScheduleInputRepresentation;
|
|
29
30
|
thresholds: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
@@ -37,10 +38,10 @@ export interface DataAlertInputRepresentationNormalized {
|
|
|
37
38
|
* (none)
|
|
38
39
|
*/
|
|
39
40
|
export interface DataAlertInputRepresentation {
|
|
40
|
-
analysisUtterance: string;
|
|
41
41
|
content: DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
|
|
42
|
+
dataAlertType: string;
|
|
42
43
|
deliveryConfigurations: DataAlertDeliveryConfigurationInputRepresentation_DataAlertDeliveryConfigurationInputRepresentation;
|
|
43
|
-
schedule: DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation;
|
|
44
|
+
schedule: DataAlertDailyScheduleInputRepresentation_DataAlertDailyScheduleInputRepresentation | DataAlertWeeklyScheduleInputRepresentation_DataAlertWeeklyScheduleInputRepresentation | DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation;
|
|
44
45
|
thresholds: DataAlertThresholdsInputRepresentation_DataAlertThresholdsInputRepresentation;
|
|
45
46
|
utterance: string;
|
|
46
47
|
}
|
|
@@ -4,7 +4,7 @@ import { DataAlertScheduleRepresentation as DataAlertScheduleRepresentation_Data
|
|
|
4
4
|
import { DataAlertThresholdsRepresentation as DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation } from './DataAlertThresholdsRepresentation';
|
|
5
5
|
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';
|
|
6
6
|
export declare const TTL = 500;
|
|
7
|
-
export declare const VERSION = "
|
|
7
|
+
export declare const VERSION = "04f6ab40ada1d70c527b0dd9ba6e7415";
|
|
8
8
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
9
|
export declare const RepresentationType: string;
|
|
10
10
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -34,6 +34,8 @@ export interface DataAlertRepresentationNormalized {
|
|
|
34
34
|
content: DataAlertContentRepresentation_DataAlertContentRepresentation;
|
|
35
35
|
/** Creation date of the data alert */
|
|
36
36
|
createdDate: string;
|
|
37
|
+
/** Type of data alert. */
|
|
38
|
+
dataAlertType: string;
|
|
37
39
|
/** Data alert delivery configurations. */
|
|
38
40
|
deliveryConfigurations: DataAlertDeliveryConfigurationRepresentation_DataAlertDeliveryConfigurationRepresentation;
|
|
39
41
|
/** ID of the Data Alert */
|
|
@@ -53,6 +55,7 @@ export interface DataAlertRepresentation {
|
|
|
53
55
|
alertName: string;
|
|
54
56
|
content: DataAlertContentRepresentation_DataAlertContentRepresentation;
|
|
55
57
|
createdDate: string;
|
|
58
|
+
dataAlertType: string;
|
|
56
59
|
deliveryConfigurations: DataAlertDeliveryConfigurationRepresentation_DataAlertDeliveryConfigurationRepresentation;
|
|
57
60
|
id: string;
|
|
58
61
|
lastModifiedDate: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
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
3
|
Daily = "Daily",
|
|
4
|
-
Weekly = "Weekly"
|
|
4
|
+
Weekly = "Weekly",
|
|
5
|
+
EveryNMinutes = "EveryNMinutes"
|
|
5
6
|
}
|
|
6
|
-
export declare const VERSION = "
|
|
7
|
+
export declare const VERSION = "43a5c01b72f1e7d7acde32f9e53981ec";
|
|
7
8
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
9
|
export declare const RepresentationType: string;
|
|
9
10
|
export declare function normalize(input: DataAlertScheduleInputRepresentation, existing: DataAlertScheduleInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertScheduleInputRepresentationNormalized;
|
|
@@ -21,7 +22,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
21
22
|
*/
|
|
22
23
|
export interface DataAlertScheduleInputRepresentationNormalized {
|
|
23
24
|
/** schedule time */
|
|
24
|
-
hoursOfDay
|
|
25
|
+
hoursOfDay?: Array<number>;
|
|
25
26
|
/** schedule type */
|
|
26
27
|
type: string;
|
|
27
28
|
}
|
|
@@ -32,6 +33,6 @@ export interface DataAlertScheduleInputRepresentationNormalized {
|
|
|
32
33
|
* (none)
|
|
33
34
|
*/
|
|
34
35
|
export interface DataAlertScheduleInputRepresentation {
|
|
35
|
-
hoursOfDay
|
|
36
|
+
hoursOfDay?: Array<number>;
|
|
36
37
|
type: string;
|
|
37
38
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "b26b64c6300fd19bac3ba0af2a66082e";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: DataAlertScheduleRepresentation, existing: DataAlertScheduleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertScheduleRepresentationNormalized;
|
|
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface DataAlertScheduleRepresentationNormalized {
|
|
17
17
|
/** Schedule time */
|
|
18
|
-
hoursOfDay
|
|
18
|
+
hoursOfDay?: Array<number>;
|
|
19
19
|
/** Type of schedule */
|
|
20
20
|
type: string;
|
|
21
21
|
}
|
|
@@ -26,6 +26,6 @@ export interface DataAlertScheduleRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface DataAlertScheduleRepresentation {
|
|
29
|
-
hoursOfDay
|
|
29
|
+
hoursOfDay?: Array<number>;
|
|
30
30
|
type: string;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.393.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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.393.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.393.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2429,16 +2429,18 @@ function validate$Z(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
2429
2429
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2430
2430
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2431
2431
|
}
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2432
|
+
if (obj.hoursOfDay !== undefined) {
|
|
2433
|
+
const obj_hoursOfDay = obj.hoursOfDay;
|
|
2434
|
+
const path_hoursOfDay = path + '.hoursOfDay';
|
|
2435
|
+
if (!ArrayIsArray(obj_hoursOfDay)) {
|
|
2436
|
+
return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
|
|
2437
|
+
}
|
|
2438
|
+
for (let i = 0; i < obj_hoursOfDay.length; i++) {
|
|
2439
|
+
const obj_hoursOfDay_item = obj_hoursOfDay[i];
|
|
2440
|
+
const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
|
|
2441
|
+
if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
|
|
2442
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
|
|
2443
|
+
}
|
|
2442
2444
|
}
|
|
2443
2445
|
}
|
|
2444
2446
|
const obj_type = obj.type;
|
|
@@ -2524,7 +2526,7 @@ function validate$W(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2524
2526
|
}
|
|
2525
2527
|
|
|
2526
2528
|
const TTL$q = 500;
|
|
2527
|
-
const VERSION$C = "
|
|
2529
|
+
const VERSION$C = "04f6ab40ada1d70c527b0dd9ba6e7415";
|
|
2528
2530
|
function validate$V(obj, path = 'DataAlertRepresentation') {
|
|
2529
2531
|
const v_error = (() => {
|
|
2530
2532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2548,6 +2550,11 @@ function validate$V(obj, path = 'DataAlertRepresentation') {
|
|
|
2548
2550
|
if (typeof obj_createdDate !== 'string') {
|
|
2549
2551
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
2550
2552
|
}
|
|
2553
|
+
const obj_dataAlertType = obj.dataAlertType;
|
|
2554
|
+
const path_dataAlertType = path + '.dataAlertType';
|
|
2555
|
+
if (typeof obj_dataAlertType !== 'string') {
|
|
2556
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataAlertType + '" (at "' + path_dataAlertType + '")');
|
|
2557
|
+
}
|
|
2551
2558
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
2552
2559
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
2553
2560
|
const referencepath_deliveryConfigurationsValidationError = validate$_(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
@@ -2693,22 +2700,25 @@ var DiscriminatorValues;
|
|
|
2693
2700
|
(function (DiscriminatorValues) {
|
|
2694
2701
|
DiscriminatorValues["Daily"] = "Daily";
|
|
2695
2702
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
2703
|
+
DiscriminatorValues["EveryNMinutes"] = "EveryNMinutes";
|
|
2696
2704
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
2697
2705
|
function validate$T(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
2698
2706
|
const v_error = (() => {
|
|
2699
2707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2700
2708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2701
2709
|
}
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2710
|
+
if (obj.hoursOfDay !== undefined) {
|
|
2711
|
+
const obj_hoursOfDay = obj.hoursOfDay;
|
|
2712
|
+
const path_hoursOfDay = path + '.hoursOfDay';
|
|
2713
|
+
if (!ArrayIsArray(obj_hoursOfDay)) {
|
|
2714
|
+
return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
|
|
2715
|
+
}
|
|
2716
|
+
for (let i = 0; i < obj_hoursOfDay.length; i++) {
|
|
2717
|
+
const obj_hoursOfDay_item = obj_hoursOfDay[i];
|
|
2718
|
+
const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
|
|
2719
|
+
if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
|
|
2720
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
|
|
2721
|
+
}
|
|
2712
2722
|
}
|
|
2713
2723
|
}
|
|
2714
2724
|
const obj_type = obj.type;
|
|
@@ -2723,8 +2733,8 @@ function validate$T(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
|
2723
2733
|
const adapterName$V = 'createDataAlert';
|
|
2724
2734
|
const createDataAlert_ConfigPropertyMetadata = [
|
|
2725
2735
|
generateParamConfigMetadata('runNow', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
2726
|
-
generateParamConfigMetadata('analysisUtterance', true, 2 /* Body */, 0 /* String */),
|
|
2727
2736
|
generateParamConfigMetadata('content', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2737
|
+
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
2728
2738
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2729
2739
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2730
2740
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
@@ -13889,8 +13899,8 @@ const adapterName$6 = 'updateDataAlert';
|
|
|
13889
13899
|
const updateDataAlert_ConfigPropertyMetadata = [
|
|
13890
13900
|
generateParamConfigMetadata('dataAlertId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
13891
13901
|
generateParamConfigMetadata('runNow', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
13892
|
-
generateParamConfigMetadata('analysisUtterance', true, 2 /* Body */, 0 /* String */),
|
|
13893
13902
|
generateParamConfigMetadata('content', true, 2 /* Body */, 4 /* Unsupported */),
|
|
13903
|
+
generateParamConfigMetadata('dataAlertType', true, 2 /* Body */, 0 /* String */),
|
|
13894
13904
|
generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
|
|
13895
13905
|
generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
|
|
13896
13906
|
generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
|
|
@@ -15124,4 +15134,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15124
15134
|
});
|
|
15125
15135
|
|
|
15126
15136
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getDataAlert, getDataAlertCollection, getDataAlertCollection_imperative, getDataAlertNotifyChange, getDataAlert_imperative, getDataAssetDependencies, getDataAssetDependencies_imperative, getDataAssetRequestByIdOrApiName, getDataAssetRequestByIdOrApiNameNotifyChange, getDataAssetRequestByIdOrApiName_imperative, getDataAssetRequests, getDataAssetRequestsCount, getDataAssetRequestsCount_imperative, getDataAssetRequests_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getMarketplaceListingInstallationProgress, getMarketplaceListingInstallationProgress_imperative, getOrg, getOrg_imperative, getShares, getShares_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, initiateMarketplaceListingInstallation, initiateMarketplaceListingInstallation_imperative, notifySharesUpdateAvailable, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
15127
|
-
// version: 1.
|
|
15137
|
+
// version: 1.393.0-94e6d2aef3
|
package/src/raml/api.raml
CHANGED
|
@@ -1335,6 +1335,14 @@ types:
|
|
|
1335
1335
|
type: DataAlertScheduleInputRepresentation
|
|
1336
1336
|
discriminatorValue: Daily
|
|
1337
1337
|
properties: {}
|
|
1338
|
+
DataAlertEveryNMinutesScheduleInputRepresentation:
|
|
1339
|
+
description: Input representation for an every N minutes alert schedule
|
|
1340
|
+
type: DataAlertScheduleInputRepresentation
|
|
1341
|
+
discriminatorValue: EveryNMinutes
|
|
1342
|
+
properties:
|
|
1343
|
+
minuteLevelFrequency:
|
|
1344
|
+
description: Frequency in minutes at which to run the data alert
|
|
1345
|
+
type: integer
|
|
1338
1346
|
DataAlertDeliveryConfigurationInputRepresentation:
|
|
1339
1347
|
description: Delivery configuration for data alerts.
|
|
1340
1348
|
type: object
|
|
@@ -1348,11 +1356,14 @@ types:
|
|
|
1348
1356
|
description: A top level data alert metadata representation.
|
|
1349
1357
|
type: object
|
|
1350
1358
|
properties:
|
|
1351
|
-
analysisUtterance:
|
|
1352
|
-
description: user entered utterance for generating analysis.
|
|
1353
|
-
type: string
|
|
1354
1359
|
content:
|
|
1355
1360
|
type: DataAlertContentInputRepresentation # TODO Hand-rolled @W-17927490
|
|
1361
|
+
dataAlertType:
|
|
1362
|
+
description: Type of data alert
|
|
1363
|
+
type: string
|
|
1364
|
+
enum:
|
|
1365
|
+
- AgentHealthMonitoring
|
|
1366
|
+
- AgentPowered
|
|
1356
1367
|
deliveryConfigurations:
|
|
1357
1368
|
type: DataAlertDeliveryConfigurationInputRepresentation # TODO Hand-rolled @W-17927490
|
|
1358
1369
|
schedule:
|
|
@@ -1384,7 +1395,9 @@ types:
|
|
|
1384
1395
|
description: delivery type
|
|
1385
1396
|
type: string
|
|
1386
1397
|
enum:
|
|
1398
|
+
- Email
|
|
1387
1399
|
- Notification
|
|
1400
|
+
- Slack
|
|
1388
1401
|
DataAlertScheduleInputRepresentation:
|
|
1389
1402
|
description: Input representation for data alert schedule
|
|
1390
1403
|
discriminator: type
|
|
@@ -1395,12 +1408,14 @@ types:
|
|
|
1395
1408
|
type: array
|
|
1396
1409
|
items:
|
|
1397
1410
|
type: integer
|
|
1411
|
+
required: false
|
|
1398
1412
|
type:
|
|
1399
1413
|
description: schedule type
|
|
1400
1414
|
type: string
|
|
1401
1415
|
enum:
|
|
1402
1416
|
- Cron
|
|
1403
1417
|
- Daily
|
|
1418
|
+
- EveryNMinutes
|
|
1404
1419
|
- Weekly
|
|
1405
1420
|
DataAlertThresholdsInputRepresentation:
|
|
1406
1421
|
description: Data alert thresholds input representation.
|
|
@@ -1468,6 +1483,13 @@ types:
|
|
|
1468
1483
|
description: Represents the daily schedule for a data alert
|
|
1469
1484
|
type: DataAlertScheduleRepresentation
|
|
1470
1485
|
properties: {}
|
|
1486
|
+
DataAlertEveryNMinutesScheduleRepresentation:
|
|
1487
|
+
description: Represents the every N minutes schedule for a data alert
|
|
1488
|
+
type: DataAlertScheduleRepresentation
|
|
1489
|
+
properties:
|
|
1490
|
+
minuteLevelFrequency:
|
|
1491
|
+
description: Frequency in minutes at which to run the data alert
|
|
1492
|
+
type: integer
|
|
1471
1493
|
DataAlertDeliveryConfigurationRepresentation:
|
|
1472
1494
|
description: Represents the delivery configuration for a data alert
|
|
1473
1495
|
type: object
|
|
@@ -1558,7 +1580,9 @@ types:
|
|
|
1558
1580
|
description: delivery type
|
|
1559
1581
|
type: string
|
|
1560
1582
|
enum:
|
|
1583
|
+
- Email
|
|
1561
1584
|
- Notification
|
|
1585
|
+
- Slack
|
|
1562
1586
|
DataAlertRepresentation:
|
|
1563
1587
|
description: Output representation for Data Alert
|
|
1564
1588
|
discriminatorValue: DataAlert
|
|
@@ -1574,6 +1598,12 @@ types:
|
|
|
1574
1598
|
description: Notification content configuration. Contains the config needed
|
|
1575
1599
|
to generate the notification content.
|
|
1576
1600
|
type: DataAlertContentRepresentation
|
|
1601
|
+
dataAlertType:
|
|
1602
|
+
description: Type of data alert.
|
|
1603
|
+
type: string
|
|
1604
|
+
enum:
|
|
1605
|
+
- AgentHealthMonitoring
|
|
1606
|
+
- AgentPowered
|
|
1577
1607
|
deliveryConfigurations:
|
|
1578
1608
|
description: Data alert delivery configurations.
|
|
1579
1609
|
type: DataAlertDeliveryConfigurationRepresentation
|
|
@@ -1599,12 +1629,14 @@ types:
|
|
|
1599
1629
|
type: array
|
|
1600
1630
|
items:
|
|
1601
1631
|
type: integer
|
|
1632
|
+
required: false
|
|
1602
1633
|
type:
|
|
1603
1634
|
description: Type of schedule
|
|
1604
1635
|
type: string
|
|
1605
1636
|
enum:
|
|
1606
1637
|
- Cron
|
|
1607
1638
|
- Daily
|
|
1639
|
+
- EveryNMinutes
|
|
1608
1640
|
- Weekly
|
|
1609
1641
|
DataAlertThresholdsRepresentation:
|
|
1610
1642
|
description: Represents the thresholds for a data alert
|