@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev10 → 1.354.0-dev11
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 +42 -60
- package/dist/es/es2018/types/src/generated/types/DataAlertCollectionRepresentation.d.ts +5 -14
- package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +43 -61
- package/src/raml/api.raml +7 -1
- package/src/raml/luvio.raml +1 -0
|
@@ -3784,7 +3784,7 @@ function validate$R(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
3784
3784
|
}
|
|
3785
3785
|
|
|
3786
3786
|
const TTL$m = 500;
|
|
3787
|
-
const VERSION$w = "
|
|
3787
|
+
const VERSION$w = "219373b56f198f8a68fe8ca6afd30b60";
|
|
3788
3788
|
function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
3789
3789
|
const v_error = (() => {
|
|
3790
3790
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3803,6 +3803,11 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3803
3803
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3804
3804
|
return new TypeError(message);
|
|
3805
3805
|
}
|
|
3806
|
+
const obj_createdDate = obj.createdDate;
|
|
3807
|
+
const path_createdDate = path + '.createdDate';
|
|
3808
|
+
if (typeof obj_createdDate !== 'string') {
|
|
3809
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
3810
|
+
}
|
|
3806
3811
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
3807
3812
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
3808
3813
|
const referencepath_deliveryConfigurationsValidationError = validate$V(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
@@ -3816,6 +3821,11 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3816
3821
|
if (typeof obj_id !== 'string') {
|
|
3817
3822
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3818
3823
|
}
|
|
3824
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
3825
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
3826
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
3827
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
3828
|
+
}
|
|
3819
3829
|
const obj_schedule = obj.schedule;
|
|
3820
3830
|
const path_schedule = path + '.schedule';
|
|
3821
3831
|
const referencepath_scheduleValidationError = validate$U(obj_schedule, path_schedule);
|
|
@@ -3885,7 +3895,7 @@ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3885
3895
|
}
|
|
3886
3896
|
|
|
3887
3897
|
const TTL$l = 500;
|
|
3888
|
-
const VERSION$v = "
|
|
3898
|
+
const VERSION$v = "d3e9e0efe02f7fa88865b7e72fe25f25";
|
|
3889
3899
|
function validate$P(obj, path = 'DataAlertCollectionRepresentation') {
|
|
3890
3900
|
const v_error = (() => {
|
|
3891
3901
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3899,14 +3909,38 @@ function validate$P(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
3899
3909
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
3900
3910
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
3901
3911
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
3902
|
-
|
|
3903
|
-
|
|
3912
|
+
const referencepath_dataAlerts_itemValidationError = validate$Q(obj_dataAlerts_item, path_dataAlerts_item);
|
|
3913
|
+
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
3914
|
+
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
3915
|
+
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3916
|
+
return new TypeError(message);
|
|
3904
3917
|
}
|
|
3905
3918
|
}
|
|
3906
3919
|
const obj_nextPageUrl = obj.nextPageUrl;
|
|
3907
3920
|
const path_nextPageUrl = path + '.nextPageUrl';
|
|
3908
|
-
|
|
3909
|
-
|
|
3921
|
+
let obj_nextPageUrl_union0 = null;
|
|
3922
|
+
const obj_nextPageUrl_union0_error = (() => {
|
|
3923
|
+
if (typeof obj_nextPageUrl !== 'string') {
|
|
3924
|
+
return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
|
|
3925
|
+
}
|
|
3926
|
+
})();
|
|
3927
|
+
if (obj_nextPageUrl_union0_error != null) {
|
|
3928
|
+
obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
|
|
3929
|
+
}
|
|
3930
|
+
let obj_nextPageUrl_union1 = null;
|
|
3931
|
+
const obj_nextPageUrl_union1_error = (() => {
|
|
3932
|
+
if (obj_nextPageUrl !== null) {
|
|
3933
|
+
return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
|
|
3934
|
+
}
|
|
3935
|
+
})();
|
|
3936
|
+
if (obj_nextPageUrl_union1_error != null) {
|
|
3937
|
+
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
3938
|
+
}
|
|
3939
|
+
if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
|
|
3940
|
+
let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
|
|
3941
|
+
message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3942
|
+
message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3943
|
+
return new TypeError(message);
|
|
3910
3944
|
}
|
|
3911
3945
|
const obj_totalSize = obj.totalSize;
|
|
3912
3946
|
const path_totalSize = path + '.totalSize';
|
|
@@ -3918,22 +3952,6 @@ function validate$P(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
3918
3952
|
}
|
|
3919
3953
|
const RepresentationType$x = 'DataAlertCollectionRepresentation';
|
|
3920
3954
|
function normalize$v(input, existing, path, luvio, store, timestamp) {
|
|
3921
|
-
const input_dataAlerts = input.dataAlerts;
|
|
3922
|
-
const input_dataAlerts_id = path.fullPath + '__dataAlerts';
|
|
3923
|
-
for (let i = 0; i < input_dataAlerts.length; i++) {
|
|
3924
|
-
const input_dataAlerts_item = input_dataAlerts[i];
|
|
3925
|
-
let input_dataAlerts_item_id = input_dataAlerts_id + '__' + i;
|
|
3926
|
-
input_dataAlerts[i] = ingest$w(input_dataAlerts_item, {
|
|
3927
|
-
fullPath: input_dataAlerts_item_id,
|
|
3928
|
-
propertyName: i,
|
|
3929
|
-
parent: {
|
|
3930
|
-
data: input,
|
|
3931
|
-
key: path.fullPath,
|
|
3932
|
-
existing: existing,
|
|
3933
|
-
},
|
|
3934
|
-
ttl: path.ttl
|
|
3935
|
-
}, luvio, store, timestamp);
|
|
3936
|
-
}
|
|
3937
3955
|
return input;
|
|
3938
3956
|
}
|
|
3939
3957
|
const select$1a = function DataAlertCollectionRepresentationSelect() {
|
|
@@ -3941,43 +3959,11 @@ const select$1a = function DataAlertCollectionRepresentationSelect() {
|
|
|
3941
3959
|
kind: 'Fragment',
|
|
3942
3960
|
version: VERSION$v,
|
|
3943
3961
|
private: [],
|
|
3944
|
-
|
|
3945
|
-
{
|
|
3946
|
-
name: 'dataAlerts',
|
|
3947
|
-
kind: 'Link',
|
|
3948
|
-
plural: true,
|
|
3949
|
-
fragment: select$1b()
|
|
3950
|
-
},
|
|
3951
|
-
{
|
|
3952
|
-
name: 'nextPageUrl',
|
|
3953
|
-
kind: 'Scalar'
|
|
3954
|
-
},
|
|
3955
|
-
{
|
|
3956
|
-
name: 'totalSize',
|
|
3957
|
-
kind: 'Scalar'
|
|
3958
|
-
}
|
|
3959
|
-
]
|
|
3962
|
+
opaque: true
|
|
3960
3963
|
};
|
|
3961
3964
|
};
|
|
3962
3965
|
function equals$v(existing, incoming) {
|
|
3963
|
-
|
|
3964
|
-
const incoming_totalSize = incoming.totalSize;
|
|
3965
|
-
if (!(existing_totalSize === incoming_totalSize)) {
|
|
3966
|
-
return false;
|
|
3967
|
-
}
|
|
3968
|
-
const existing_nextPageUrl = existing.nextPageUrl;
|
|
3969
|
-
const incoming_nextPageUrl = incoming.nextPageUrl;
|
|
3970
|
-
if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
|
|
3971
|
-
return false;
|
|
3972
|
-
}
|
|
3973
|
-
const existing_dataAlerts = existing.dataAlerts;
|
|
3974
|
-
const incoming_dataAlerts = incoming.dataAlerts;
|
|
3975
|
-
const equals_dataAlerts_items = equalsArray(existing_dataAlerts, incoming_dataAlerts, (existing_dataAlerts_item, incoming_dataAlerts_item) => {
|
|
3976
|
-
if (!(existing_dataAlerts_item.__ref === incoming_dataAlerts_item.__ref)) {
|
|
3977
|
-
return false;
|
|
3978
|
-
}
|
|
3979
|
-
});
|
|
3980
|
-
if (equals_dataAlerts_items === false) {
|
|
3966
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
3981
3967
|
return false;
|
|
3982
3968
|
}
|
|
3983
3969
|
return true;
|
|
@@ -4002,10 +3988,6 @@ function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4002
3988
|
representationName: RepresentationType$x,
|
|
4003
3989
|
mergeable: false
|
|
4004
3990
|
});
|
|
4005
|
-
const input_dataAlerts_length = input.dataAlerts.length;
|
|
4006
|
-
for (let i = 0; i < input_dataAlerts_length; i++) {
|
|
4007
|
-
getTypeCacheKeys$w(rootKeySet, luvio, input.dataAlerts[i]);
|
|
4008
|
-
}
|
|
4009
3991
|
}
|
|
4010
3992
|
|
|
4011
3993
|
function select$19(luvio, params) {
|
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
1
|
import { DataAlertRepresentation as DataAlertRepresentation_DataAlertRepresentation } from './DataAlertRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const TTL = 500;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "d3e9e0efe02f7fa88865b7e72fe25f25";
|
|
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: DataAlertCollectionRepresentation, existing: DataAlertCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAlertCollectionRepresentationNormalized;
|
|
8
|
-
export
|
|
9
|
-
dataAlerts: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
}
|
|
11
|
-
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: DataAlertCollectionRepresentation, existing: DataAlertCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => DataAlertCollectionRepresentationNormalized;
|
|
12
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
13
|
-
export interface DynamicSelectParams {
|
|
14
|
-
dataAlerts?: $64$luvio_engine_LinkSelection;
|
|
15
|
-
}
|
|
16
|
-
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
17
9
|
export declare function equals(existing: DataAlertCollectionRepresentationNormalized, incoming: DataAlertCollectionRepresentationNormalized): boolean;
|
|
18
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
11
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DataAlertCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
-
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
21
12
|
/**
|
|
22
13
|
* A collection of unified analytics data alerts.
|
|
23
14
|
*
|
|
@@ -28,7 +19,7 @@ export interface DataAlertCollectionRepresentationNormalized {
|
|
|
28
19
|
/** List of data alerts being returned. */
|
|
29
20
|
dataAlerts: Array<$64$luvio_engine_StoreLink>;
|
|
30
21
|
/** Next page url for pagination. */
|
|
31
|
-
nextPageUrl: string;
|
|
22
|
+
nextPageUrl: string | null;
|
|
32
23
|
/** Total size of data alert array returned. */
|
|
33
24
|
totalSize: number;
|
|
34
25
|
}
|
|
@@ -40,6 +31,6 @@ export interface DataAlertCollectionRepresentationNormalized {
|
|
|
40
31
|
*/
|
|
41
32
|
export interface DataAlertCollectionRepresentation {
|
|
42
33
|
dataAlerts: Array<DataAlertRepresentation_DataAlertRepresentation>;
|
|
43
|
-
nextPageUrl: string;
|
|
34
|
+
nextPageUrl: string | null;
|
|
44
35
|
totalSize: number;
|
|
45
36
|
}
|
|
@@ -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 = "219373b56f198f8a68fe8ca6afd30b60";
|
|
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 {
|
|
@@ -32,10 +32,14 @@ export interface DataAlertRepresentationNormalized {
|
|
|
32
32
|
alertName: string;
|
|
33
33
|
/** Notification content configuration. Contains the config needed to generate the notification content. */
|
|
34
34
|
content: DataAlertContentRepresentation_DataAlertContentRepresentation;
|
|
35
|
+
/** Creation date of the data alert */
|
|
36
|
+
createdDate: string;
|
|
35
37
|
/** Data alert delivery configurations. */
|
|
36
38
|
deliveryConfigurations: DataAlertDeliveryConfigurationRepresentation_DataAlertDeliveryConfigurationRepresentation;
|
|
37
39
|
/** ID of the Data Alert */
|
|
38
40
|
id: string;
|
|
41
|
+
/** Last modified date of the data alert */
|
|
42
|
+
lastModifiedDate: string;
|
|
39
43
|
schedule: DataAlertScheduleRepresentation_DataAlertScheduleRepresentation;
|
|
40
44
|
thresholds: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
|
|
41
45
|
}
|
|
@@ -48,8 +52,10 @@ export interface DataAlertRepresentationNormalized {
|
|
|
48
52
|
export interface DataAlertRepresentation {
|
|
49
53
|
alertName: string;
|
|
50
54
|
content: DataAlertContentRepresentation_DataAlertContentRepresentation;
|
|
55
|
+
createdDate: string;
|
|
51
56
|
deliveryConfigurations: DataAlertDeliveryConfigurationRepresentation_DataAlertDeliveryConfigurationRepresentation;
|
|
52
57
|
id: string;
|
|
58
|
+
lastModifiedDate: string;
|
|
53
59
|
schedule: DataAlertScheduleRepresentation_DataAlertScheduleRepresentation;
|
|
54
60
|
thresholds: DataAlertThresholdsRepresentation_DataAlertThresholdsRepresentation;
|
|
55
61
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev11",
|
|
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.354.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.354.0-dev11"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.354.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.354.0-dev11"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2524,7 +2524,7 @@ function validate$S(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2524
2524
|
}
|
|
2525
2525
|
|
|
2526
2526
|
const TTL$p = 500;
|
|
2527
|
-
const VERSION$A = "
|
|
2527
|
+
const VERSION$A = "219373b56f198f8a68fe8ca6afd30b60";
|
|
2528
2528
|
function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
2529
2529
|
const v_error = (() => {
|
|
2530
2530
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2543,6 +2543,11 @@ function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
|
2543
2543
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2544
2544
|
return new TypeError(message);
|
|
2545
2545
|
}
|
|
2546
|
+
const obj_createdDate = obj.createdDate;
|
|
2547
|
+
const path_createdDate = path + '.createdDate';
|
|
2548
|
+
if (typeof obj_createdDate !== 'string') {
|
|
2549
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
2550
|
+
}
|
|
2546
2551
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
2547
2552
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
2548
2553
|
const referencepath_deliveryConfigurationsValidationError = validate$W(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
@@ -2556,6 +2561,11 @@ function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
|
2556
2561
|
if (typeof obj_id !== 'string') {
|
|
2557
2562
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2558
2563
|
}
|
|
2564
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
2565
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
2566
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
2567
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2568
|
+
}
|
|
2559
2569
|
const obj_schedule = obj.schedule;
|
|
2560
2570
|
const path_schedule = path + '.schedule';
|
|
2561
2571
|
const referencepath_scheduleValidationError = validate$V(obj_schedule, path_schedule);
|
|
@@ -7180,7 +7190,7 @@ const notifyChangeFactory$6 = (luvio, options) => {
|
|
|
7180
7190
|
};
|
|
7181
7191
|
|
|
7182
7192
|
const TTL$f = 500;
|
|
7183
|
-
const VERSION$m = "
|
|
7193
|
+
const VERSION$m = "d3e9e0efe02f7fa88865b7e72fe25f25";
|
|
7184
7194
|
function validate$v(obj, path = 'DataAlertCollectionRepresentation') {
|
|
7185
7195
|
const v_error = (() => {
|
|
7186
7196
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7194,14 +7204,38 @@ function validate$v(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
7194
7204
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
7195
7205
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
7196
7206
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
7197
|
-
|
|
7198
|
-
|
|
7207
|
+
const referencepath_dataAlerts_itemValidationError = validate$R(obj_dataAlerts_item, path_dataAlerts_item);
|
|
7208
|
+
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
7209
|
+
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
7210
|
+
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7211
|
+
return new TypeError(message);
|
|
7199
7212
|
}
|
|
7200
7213
|
}
|
|
7201
7214
|
const obj_nextPageUrl = obj.nextPageUrl;
|
|
7202
7215
|
const path_nextPageUrl = path + '.nextPageUrl';
|
|
7203
|
-
|
|
7204
|
-
|
|
7216
|
+
let obj_nextPageUrl_union0 = null;
|
|
7217
|
+
const obj_nextPageUrl_union0_error = (() => {
|
|
7218
|
+
if (typeof obj_nextPageUrl !== 'string') {
|
|
7219
|
+
return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
|
|
7220
|
+
}
|
|
7221
|
+
})();
|
|
7222
|
+
if (obj_nextPageUrl_union0_error != null) {
|
|
7223
|
+
obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
|
|
7224
|
+
}
|
|
7225
|
+
let obj_nextPageUrl_union1 = null;
|
|
7226
|
+
const obj_nextPageUrl_union1_error = (() => {
|
|
7227
|
+
if (obj_nextPageUrl !== null) {
|
|
7228
|
+
return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
|
|
7229
|
+
}
|
|
7230
|
+
})();
|
|
7231
|
+
if (obj_nextPageUrl_union1_error != null) {
|
|
7232
|
+
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
7233
|
+
}
|
|
7234
|
+
if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
|
|
7235
|
+
let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
|
|
7236
|
+
message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
7237
|
+
message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
7238
|
+
return new TypeError(message);
|
|
7205
7239
|
}
|
|
7206
7240
|
const obj_totalSize = obj.totalSize;
|
|
7207
7241
|
const path_totalSize = path + '.totalSize';
|
|
@@ -7213,22 +7247,6 @@ function validate$v(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
7213
7247
|
}
|
|
7214
7248
|
const RepresentationType$n = 'DataAlertCollectionRepresentation';
|
|
7215
7249
|
function normalize$m(input, existing, path, luvio, store, timestamp) {
|
|
7216
|
-
const input_dataAlerts = input.dataAlerts;
|
|
7217
|
-
const input_dataAlerts_id = path.fullPath + '__dataAlerts';
|
|
7218
|
-
for (let i = 0; i < input_dataAlerts.length; i++) {
|
|
7219
|
-
const input_dataAlerts_item = input_dataAlerts[i];
|
|
7220
|
-
let input_dataAlerts_item_id = input_dataAlerts_id + '__' + i;
|
|
7221
|
-
input_dataAlerts[i] = ingest$A(input_dataAlerts_item, {
|
|
7222
|
-
fullPath: input_dataAlerts_item_id,
|
|
7223
|
-
propertyName: i,
|
|
7224
|
-
parent: {
|
|
7225
|
-
data: input,
|
|
7226
|
-
key: path.fullPath,
|
|
7227
|
-
existing: existing,
|
|
7228
|
-
},
|
|
7229
|
-
ttl: path.ttl
|
|
7230
|
-
}, luvio, store, timestamp);
|
|
7231
|
-
}
|
|
7232
7250
|
return input;
|
|
7233
7251
|
}
|
|
7234
7252
|
const select$U = function DataAlertCollectionRepresentationSelect() {
|
|
@@ -7236,43 +7254,11 @@ const select$U = function DataAlertCollectionRepresentationSelect() {
|
|
|
7236
7254
|
kind: 'Fragment',
|
|
7237
7255
|
version: VERSION$m,
|
|
7238
7256
|
private: [],
|
|
7239
|
-
|
|
7240
|
-
{
|
|
7241
|
-
name: 'dataAlerts',
|
|
7242
|
-
kind: 'Link',
|
|
7243
|
-
plural: true,
|
|
7244
|
-
fragment: select$1l()
|
|
7245
|
-
},
|
|
7246
|
-
{
|
|
7247
|
-
name: 'nextPageUrl',
|
|
7248
|
-
kind: 'Scalar'
|
|
7249
|
-
},
|
|
7250
|
-
{
|
|
7251
|
-
name: 'totalSize',
|
|
7252
|
-
kind: 'Scalar'
|
|
7253
|
-
}
|
|
7254
|
-
]
|
|
7257
|
+
opaque: true
|
|
7255
7258
|
};
|
|
7256
7259
|
};
|
|
7257
7260
|
function equals$m(existing, incoming) {
|
|
7258
|
-
|
|
7259
|
-
const incoming_totalSize = incoming.totalSize;
|
|
7260
|
-
if (!(existing_totalSize === incoming_totalSize)) {
|
|
7261
|
-
return false;
|
|
7262
|
-
}
|
|
7263
|
-
const existing_nextPageUrl = existing.nextPageUrl;
|
|
7264
|
-
const incoming_nextPageUrl = incoming.nextPageUrl;
|
|
7265
|
-
if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
|
|
7266
|
-
return false;
|
|
7267
|
-
}
|
|
7268
|
-
const existing_dataAlerts = existing.dataAlerts;
|
|
7269
|
-
const incoming_dataAlerts = incoming.dataAlerts;
|
|
7270
|
-
const equals_dataAlerts_items = equalsArray(existing_dataAlerts, incoming_dataAlerts, (existing_dataAlerts_item, incoming_dataAlerts_item) => {
|
|
7271
|
-
if (!(existing_dataAlerts_item.__ref === incoming_dataAlerts_item.__ref)) {
|
|
7272
|
-
return false;
|
|
7273
|
-
}
|
|
7274
|
-
});
|
|
7275
|
-
if (equals_dataAlerts_items === false) {
|
|
7261
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
7276
7262
|
return false;
|
|
7277
7263
|
}
|
|
7278
7264
|
return true;
|
|
@@ -7297,10 +7283,6 @@ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7297
7283
|
representationName: RepresentationType$n,
|
|
7298
7284
|
mergeable: false
|
|
7299
7285
|
});
|
|
7300
|
-
const input_dataAlerts_length = input.dataAlerts.length;
|
|
7301
|
-
for (let i = 0; i < input_dataAlerts_length; i++) {
|
|
7302
|
-
getTypeCacheKeys$A(rootKeySet, luvio, input.dataAlerts[i]);
|
|
7303
|
-
}
|
|
7304
7286
|
}
|
|
7305
7287
|
|
|
7306
7288
|
function select$T(luvio, params) {
|
|
@@ -14674,4 +14656,4 @@ withDefaultLuvio((luvio) => {
|
|
|
14674
14656
|
});
|
|
14675
14657
|
|
|
14676
14658
|
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, getSharesNotifyChange, 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, postDataAlertRun, publish, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
14677
|
-
// version: 1.354.0-
|
|
14659
|
+
// version: 1.354.0-dev11-634f7f7752
|
package/src/raml/api.raml
CHANGED
|
@@ -1039,7 +1039,7 @@ types:
|
|
|
1039
1039
|
type: integer
|
|
1040
1040
|
nextPageUrl:
|
|
1041
1041
|
description: Next page url for pagination.
|
|
1042
|
-
type: string
|
|
1042
|
+
type: string | nil
|
|
1043
1043
|
DataAlertValueInputRepresentation:
|
|
1044
1044
|
description: Abstract input representation for operands
|
|
1045
1045
|
type: object
|
|
@@ -1513,6 +1513,12 @@ types:
|
|
|
1513
1513
|
deliveryConfigurations:
|
|
1514
1514
|
description: Data alert delivery configurations.
|
|
1515
1515
|
type: DataAlertDeliveryConfigurationRepresentation
|
|
1516
|
+
createdDate:
|
|
1517
|
+
description: Creation date of the data alert
|
|
1518
|
+
type: string
|
|
1519
|
+
lastModifiedDate:
|
|
1520
|
+
description: Last modified date of the data alert
|
|
1521
|
+
type: string
|
|
1516
1522
|
schedule:
|
|
1517
1523
|
description: Data alert schedule.
|
|
1518
1524
|
type: DataAlertScheduleRepresentation
|