@salesforce/lds-adapters-analytics-unifiedanalytics 1.380.0-dev14 → 1.380.0-dev16

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.
@@ -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
- const obj_hoursOfDay = obj.hoursOfDay;
3693
- const path_hoursOfDay = path + '.hoursOfDay';
3694
- if (!ArrayIsArray(obj_hoursOfDay)) {
3695
- return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
3696
- }
3697
- for (let i = 0; i < obj_hoursOfDay.length; i++) {
3698
- const obj_hoursOfDay_item = obj_hoursOfDay[i];
3699
- const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
3700
- if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
3701
- return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
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;
@@ -4328,22 +4330,25 @@ var DiscriminatorValues;
4328
4330
  (function (DiscriminatorValues) {
4329
4331
  DiscriminatorValues["Daily"] = "Daily";
4330
4332
  DiscriminatorValues["Weekly"] = "Weekly";
4333
+ DiscriminatorValues["EveryNMinutes"] = "EveryNMinutes";
4331
4334
  })(DiscriminatorValues || (DiscriminatorValues = {}));
4332
4335
  function validate$L(obj, path = 'DataAlertScheduleInputRepresentation') {
4333
4336
  const v_error = (() => {
4334
4337
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4335
4338
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4336
4339
  }
4337
- const obj_hoursOfDay = obj.hoursOfDay;
4338
- const path_hoursOfDay = path + '.hoursOfDay';
4339
- if (!ArrayIsArray(obj_hoursOfDay)) {
4340
- return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
4341
- }
4342
- for (let i = 0; i < obj_hoursOfDay.length; i++) {
4343
- const obj_hoursOfDay_item = obj_hoursOfDay[i];
4344
- const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
4345
- if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
4346
- return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
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
+ }
4347
4352
  }
4348
4353
  }
4349
4354
  const obj_type = obj.type;
@@ -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';
@@ -15,7 +16,7 @@ export interface CreateDataAlertConfig {
15
16
  content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
16
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';
@@ -16,7 +17,7 @@ export interface UpdateDataAlertConfig {
16
17
  content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
17
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';
@@ -13,7 +14,7 @@ export interface ResourceRequestConfig {
13
14
  content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
14
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';
@@ -16,7 +17,7 @@ export interface ResourceRequestConfig {
16
17
  content: types_DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
17
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
+ }
@@ -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,6 +6,7 @@ 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
+ import { DataAlertEveryNMinutesScheduleInputRepresentation as DataAlertEveryNMinutesScheduleInputRepresentation_DataAlertEveryNMinutesScheduleInputRepresentation } from './DataAlertEveryNMinutesScheduleInputRepresentation';
9
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;
@@ -40,7 +41,7 @@ export interface DataAlertInputRepresentation {
40
41
  content: DataAlertMetricContentInputRepresentation_DataAlertMetricContentInputRepresentation;
41
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
  }
@@ -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 = "8d402553906feb8f614591983a82c64f";
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: Array<number>;
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: Array<number>;
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 = "e82a2b85fc4e75cfe3cb197e0affba1c";
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: Array<number>;
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: Array<number>;
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.380.0-dev14",
3
+ "version": "1.380.0-dev16",
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.380.0-dev14"
43
+ "@salesforce/lds-bindings": "^1.380.0-dev16"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev14"
46
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev16"
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
- const obj_hoursOfDay = obj.hoursOfDay;
2433
- const path_hoursOfDay = path + '.hoursOfDay';
2434
- if (!ArrayIsArray(obj_hoursOfDay)) {
2435
- return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
2436
- }
2437
- for (let i = 0; i < obj_hoursOfDay.length; i++) {
2438
- const obj_hoursOfDay_item = obj_hoursOfDay[i];
2439
- const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
2440
- if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
2441
- return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
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;
@@ -2698,22 +2700,25 @@ var DiscriminatorValues;
2698
2700
  (function (DiscriminatorValues) {
2699
2701
  DiscriminatorValues["Daily"] = "Daily";
2700
2702
  DiscriminatorValues["Weekly"] = "Weekly";
2703
+ DiscriminatorValues["EveryNMinutes"] = "EveryNMinutes";
2701
2704
  })(DiscriminatorValues || (DiscriminatorValues = {}));
2702
2705
  function validate$T(obj, path = 'DataAlertScheduleInputRepresentation') {
2703
2706
  const v_error = (() => {
2704
2707
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2705
2708
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2706
2709
  }
2707
- const obj_hoursOfDay = obj.hoursOfDay;
2708
- const path_hoursOfDay = path + '.hoursOfDay';
2709
- if (!ArrayIsArray(obj_hoursOfDay)) {
2710
- return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
2711
- }
2712
- for (let i = 0; i < obj_hoursOfDay.length; i++) {
2713
- const obj_hoursOfDay_item = obj_hoursOfDay[i];
2714
- const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
2715
- if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
2716
- return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
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
+ }
2717
2722
  }
2718
2723
  }
2719
2724
  const obj_type = obj.type;
@@ -15130,4 +15135,4 @@ withDefaultLuvio((luvio) => {
15130
15135
  });
15131
15136
 
15132
15137
  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 };
15133
- // version: 1.380.0-dev14-cdac38acdf
15138
+ // version: 1.380.0-dev16-2e8ca81939
package/src/raml/api.raml CHANGED
@@ -1400,6 +1400,7 @@ types:
1400
1400
  type: array
1401
1401
  items:
1402
1402
  type: integer
1403
+ required: false
1403
1404
  type:
1404
1405
  description: schedule type
1405
1406
  type: string
@@ -1407,6 +1408,15 @@ types:
1407
1408
  - Cron
1408
1409
  - Daily
1409
1410
  - Weekly
1411
+ - EveryNMinutes
1412
+ DataAlertEveryNMinutesScheduleInputRepresentation:
1413
+ description: Input representation for an every N minutes alert schedule
1414
+ type: DataAlertScheduleInputRepresentation
1415
+ discriminatorValue: EveryNMinutes
1416
+ properties:
1417
+ minuteLevelFrequency:
1418
+ description: Frequency in minutes at which to run the data alert
1419
+ type: integer
1410
1420
  DataAlertThresholdsInputRepresentation:
1411
1421
  description: Data alert thresholds input representation.
1412
1422
  type: object
@@ -1473,6 +1483,13 @@ types:
1473
1483
  description: Represents the daily schedule for a data alert
1474
1484
  type: DataAlertScheduleRepresentation
1475
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
1476
1493
  DataAlertDeliveryConfigurationRepresentation:
1477
1494
  description: Represents the delivery configuration for a data alert
1478
1495
  type: object
@@ -1612,6 +1629,7 @@ types:
1612
1629
  type: array
1613
1630
  items:
1614
1631
  type: integer
1632
+ required: false
1615
1633
  type:
1616
1634
  description: Type of schedule
1617
1635
  type: string
@@ -1619,6 +1637,7 @@ types:
1619
1637
  - Cron
1620
1638
  - Daily
1621
1639
  - Weekly
1640
+ - EveryNMinutes
1622
1641
  DataAlertThresholdsRepresentation:
1623
1642
  description: Represents the thresholds for a data alert
1624
1643
  type: object