@gooddata/api-client-tiger 11.20.0-alpha.1 → 11.20.0-alpha.2
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +685 -72
- package/esm/gd-tiger-model/AnalyticalDashboardModelV1.d.ts +5 -4
- package/esm/gd-tiger-model/AnalyticalDashboardModelV1.d.ts.map +1 -1
- package/esm/gd-tiger-model/AnalyticalDashboardModelV1.js +1 -1
- package/esm/gd-tiger-model/AnalyticalDashboardModelV1.js.map +1 -1
- package/esm/gd-tiger-model/AnalyticalDashboardModelV2.d.ts +12 -45
- package/esm/gd-tiger-model/AnalyticalDashboardModelV2.d.ts.map +1 -1
- package/esm/gd-tiger-model/AnalyticalDashboardModelV2.js.map +1 -1
- package/esm/gd-tiger-model/TigerTypes.d.ts +628 -0
- package/esm/gd-tiger-model/TigerTypes.d.ts.map +1 -0
- package/esm/gd-tiger-model/TigerTypes.js +3 -0
- package/esm/gd-tiger-model/TigerTypes.js.map +1 -0
- package/esm/gd-tiger-model/VisualizationObjectModelV1.d.ts +5 -5
- package/esm/gd-tiger-model/VisualizationObjectModelV1.d.ts.map +1 -1
- package/esm/gd-tiger-model/VisualizationObjectModelV1.js +1 -1
- package/esm/gd-tiger-model/VisualizationObjectModelV1.js.map +1 -1
- package/esm/gd-tiger-model/VisualizationObjectModelV2.d.ts +7 -7
- package/esm/gd-tiger-model/VisualizationObjectModelV2.d.ts.map +1 -1
- package/esm/gd-tiger-model/VisualizationObjectModelV2.js +1 -1
- package/esm/gd-tiger-model/index.d.ts +5 -0
- package/esm/gd-tiger-model/index.d.ts.map +1 -1
- package/esm/gd-tiger-model/index.js +0 -1
- package/esm/gd-tiger-model/index.js.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +0 -2
- package/esm/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -12,19 +12,8 @@ import { AxiosInstance } from 'axios';
|
|
|
12
12
|
import { AxiosPromise } from 'axios';
|
|
13
13
|
import { AxiosRequestConfig } from 'axios';
|
|
14
14
|
import { GenericAbortSignal } from 'axios';
|
|
15
|
-
import { IAttributeFilterConfigs } from '@gooddata/sdk-model';
|
|
16
|
-
import { IBucket } from '@gooddata/sdk-model';
|
|
17
|
-
import { IDashboardAttributeFilterConfig } from '@gooddata/sdk-model';
|
|
18
|
-
import { IDashboardDateFilterConfig } from '@gooddata/sdk-model';
|
|
19
|
-
import { IDashboardFilterGroupsConfig } from '@gooddata/sdk-model';
|
|
20
|
-
import { IDashboardLayout } from '@gooddata/sdk-model';
|
|
21
|
-
import { IFilter } from '@gooddata/sdk-model';
|
|
22
|
-
import { IFilterContext as IFilterContext_2 } from '@gooddata/sdk-model';
|
|
23
|
-
import { IInsightLayerDefinition } from '@gooddata/sdk-model';
|
|
24
|
-
import { ISortItem } from '@gooddata/sdk-model';
|
|
25
15
|
import { ObjRef } from '@gooddata/sdk-model';
|
|
26
16
|
import type { RawAxiosRequestConfig } from 'axios';
|
|
27
|
-
import { VisualizationProperties } from '@gooddata/sdk-model';
|
|
28
17
|
|
|
29
18
|
/**
|
|
30
19
|
* AAC analytics model representation compatible with Analytics-as-Code YAML format.
|
|
@@ -9021,7 +9010,7 @@ declare namespace AnalyticalDashboardModelV2 {
|
|
|
9021
9010
|
IDashboardDateFilterConfigItem,
|
|
9022
9011
|
IDashboardTab,
|
|
9023
9012
|
IAnalyticalDashboard_2 as IAnalyticalDashboard,
|
|
9024
|
-
|
|
9013
|
+
IFilterContext_2 as IFilterContext,
|
|
9025
9014
|
IFilterContextWithTab,
|
|
9026
9015
|
IDashboardPlugin,
|
|
9027
9016
|
IDashboardPluginLink
|
|
@@ -46618,9 +46607,9 @@ export declare interface IAacLogicalModel {
|
|
|
46618
46607
|
*/
|
|
46619
46608
|
declare interface IAnalyticalDashboard {
|
|
46620
46609
|
analyticalDashboard: {
|
|
46621
|
-
layout?:
|
|
46610
|
+
layout?: ITigerDashboardLayout;
|
|
46622
46611
|
filterContextRef?: ObjRef;
|
|
46623
|
-
dateFilterConfig?:
|
|
46612
|
+
dateFilterConfig?: ITigerDashboardDateFilterConfig;
|
|
46624
46613
|
};
|
|
46625
46614
|
}
|
|
46626
46615
|
|
|
@@ -46629,11 +46618,11 @@ declare interface IAnalyticalDashboard {
|
|
|
46629
46618
|
*/
|
|
46630
46619
|
declare interface IAnalyticalDashboard_2 {
|
|
46631
46620
|
version: "2";
|
|
46632
|
-
layout?:
|
|
46621
|
+
layout?: ITigerDashboardLayout;
|
|
46633
46622
|
filterContextRef?: ObjRef;
|
|
46634
|
-
dateFilterConfig?:
|
|
46623
|
+
dateFilterConfig?: ITigerDashboardDateFilterConfig;
|
|
46635
46624
|
dateFilterConfigs?: IDashboardDateFilterConfigItem[];
|
|
46636
|
-
attributeFilterConfigs?:
|
|
46625
|
+
attributeFilterConfigs?: ITigerDashboardAttributeFilterConfig[];
|
|
46637
46626
|
plugins?: IDashboardPluginLink[];
|
|
46638
46627
|
disableCrossFiltering?: boolean;
|
|
46639
46628
|
disableUserFilterReset?: boolean;
|
|
@@ -46647,7 +46636,7 @@ declare interface IAnalyticalDashboard_2 {
|
|
|
46647
46636
|
*
|
|
46648
46637
|
* @alpha
|
|
46649
46638
|
*/
|
|
46650
|
-
tabs?:
|
|
46639
|
+
tabs?: ITigerDashboardTab[];
|
|
46651
46640
|
}
|
|
46652
46641
|
|
|
46653
46642
|
/**
|
|
@@ -46667,7 +46656,7 @@ declare interface IAttribute {
|
|
|
46667
46656
|
*/
|
|
46668
46657
|
declare interface IDashboardDateFilterConfigItem {
|
|
46669
46658
|
dateDataSet: ObjRef;
|
|
46670
|
-
config:
|
|
46659
|
+
config: ITigerDashboardDateFilterConfig;
|
|
46671
46660
|
}
|
|
46672
46661
|
|
|
46673
46662
|
/**
|
|
@@ -46691,45 +46680,11 @@ declare interface IDashboardPluginLink {
|
|
|
46691
46680
|
* Dashboard tab definition.
|
|
46692
46681
|
*
|
|
46693
46682
|
* @remarks
|
|
46694
|
-
*
|
|
46695
|
-
* dashboards without tabs continue to work using the root layout and filter context.
|
|
46683
|
+
* This is an alias for ITigerDashboardTab for backward compatibility.
|
|
46696
46684
|
*
|
|
46697
|
-
* @
|
|
46685
|
+
* @public
|
|
46698
46686
|
*/
|
|
46699
|
-
declare
|
|
46700
|
-
/**
|
|
46701
|
-
* Unique identifier of the tab (stable within dashboard).
|
|
46702
|
-
*/
|
|
46703
|
-
localIdentifier: string;
|
|
46704
|
-
/**
|
|
46705
|
-
* Display title of the tab.
|
|
46706
|
-
*/
|
|
46707
|
-
title: string;
|
|
46708
|
-
/**
|
|
46709
|
-
* Complete layout definition for this tab.
|
|
46710
|
-
*/
|
|
46711
|
-
layout: IDashboardLayout;
|
|
46712
|
-
/**
|
|
46713
|
-
* Tab-specific filter context.
|
|
46714
|
-
*/
|
|
46715
|
-
filterContextRef: ObjRef;
|
|
46716
|
-
/**
|
|
46717
|
-
* Dashboard tab common date filter config
|
|
46718
|
-
*/
|
|
46719
|
-
dateFilterConfig?: IDashboardDateFilterConfig;
|
|
46720
|
-
/**
|
|
46721
|
-
* Dashboard tab date filters with date data set/dimension configs
|
|
46722
|
-
*/
|
|
46723
|
-
dateFilterConfigs?: IDashboardDateFilterConfigItem[];
|
|
46724
|
-
/**
|
|
46725
|
-
* Dashboard extended attribute filter configs
|
|
46726
|
-
*/
|
|
46727
|
-
attributeFilterConfigs?: IDashboardAttributeFilterConfig[];
|
|
46728
|
-
/**
|
|
46729
|
-
* Dashboard filter groups config.
|
|
46730
|
-
*/
|
|
46731
|
-
filterGroupsConfig?: IDashboardFilterGroupsConfig;
|
|
46732
|
-
}
|
|
46687
|
+
declare type IDashboardTab = ITigerDashboardTab;
|
|
46733
46688
|
|
|
46734
46689
|
/**
|
|
46735
46690
|
* @public
|
|
@@ -47278,22 +47233,22 @@ declare interface IDimension {
|
|
|
47278
47233
|
*/
|
|
47279
47234
|
declare interface IFilterContext {
|
|
47280
47235
|
filterContext: {
|
|
47281
|
-
filters:
|
|
47236
|
+
filters: ITigerFilterContextItem[];
|
|
47282
47237
|
};
|
|
47283
47238
|
}
|
|
47284
47239
|
|
|
47285
47240
|
/**
|
|
47286
47241
|
* @public
|
|
47287
47242
|
*/
|
|
47288
|
-
declare interface
|
|
47243
|
+
declare interface IFilterContext_2 {
|
|
47289
47244
|
version: "2";
|
|
47290
|
-
filters:
|
|
47245
|
+
filters: ITigerFilterContextItem[];
|
|
47291
47246
|
}
|
|
47292
47247
|
|
|
47293
47248
|
/**
|
|
47294
47249
|
* @alpha
|
|
47295
47250
|
*/
|
|
47296
|
-
declare interface IFilterContextWithTab extends
|
|
47251
|
+
declare interface IFilterContextWithTab extends IFilterContext_2 {
|
|
47297
47252
|
tabLocalIdentifier?: string;
|
|
47298
47253
|
}
|
|
47299
47254
|
|
|
@@ -47795,7 +47750,7 @@ export declare function isDashboardPluginsItem(dashboardPlugin: unknown): dashbo
|
|
|
47795
47750
|
/**
|
|
47796
47751
|
* @alpha
|
|
47797
47752
|
*/
|
|
47798
|
-
declare function isDashboardTab(tab: unknown): tab is
|
|
47753
|
+
declare function isDashboardTab(tab: unknown): tab is ITigerDashboardTab;
|
|
47799
47754
|
|
|
47800
47755
|
/**
|
|
47801
47756
|
* @public
|
|
@@ -47815,7 +47770,7 @@ declare function isFilterContext(filterContext: unknown): filterContext is IFilt
|
|
|
47815
47770
|
/**
|
|
47816
47771
|
* @public
|
|
47817
47772
|
*/
|
|
47818
|
-
declare function isFilterContext_2(filterContext: unknown): filterContext is
|
|
47773
|
+
declare function isFilterContext_2(filterContext: unknown): filterContext is IFilterContext_2;
|
|
47819
47774
|
|
|
47820
47775
|
/**
|
|
47821
47776
|
* @public
|
|
@@ -47884,6 +47839,149 @@ declare function isVisualizationObject_2(visualizationObject: unknown): visualiz
|
|
|
47884
47839
|
*/
|
|
47885
47840
|
export declare function isVisualizationObjectsItem(visualizationObject: unknown): visualizationObject is JsonApiVisualizationObjectOutWithLinks;
|
|
47886
47841
|
|
|
47842
|
+
/**
|
|
47843
|
+
* Tiger-specific absolute date filter
|
|
47844
|
+
* @public
|
|
47845
|
+
*/
|
|
47846
|
+
declare interface ITigerAbsoluteDateFilter {
|
|
47847
|
+
absoluteDateFilter: {
|
|
47848
|
+
dataSet: ObjRef;
|
|
47849
|
+
from: string;
|
|
47850
|
+
to: string;
|
|
47851
|
+
localIdentifier?: string;
|
|
47852
|
+
};
|
|
47853
|
+
}
|
|
47854
|
+
|
|
47855
|
+
/**
|
|
47856
|
+
* Tiger-specific arithmetic measure definition
|
|
47857
|
+
* @public
|
|
47858
|
+
*/
|
|
47859
|
+
declare interface ITigerArithmeticMeasure {
|
|
47860
|
+
localIdentifier: string;
|
|
47861
|
+
definition: ITigerArithmeticMeasureDefinition;
|
|
47862
|
+
alias?: string;
|
|
47863
|
+
format?: string;
|
|
47864
|
+
title?: string;
|
|
47865
|
+
}
|
|
47866
|
+
|
|
47867
|
+
/**
|
|
47868
|
+
* @public
|
|
47869
|
+
*/
|
|
47870
|
+
declare interface ITigerArithmeticMeasureDefinition {
|
|
47871
|
+
arithmeticMeasure: {
|
|
47872
|
+
measureIdentifiers: string[];
|
|
47873
|
+
operator: "sum" | "difference" | "multiplication" | "ratio" | "change";
|
|
47874
|
+
};
|
|
47875
|
+
}
|
|
47876
|
+
|
|
47877
|
+
/**
|
|
47878
|
+
* Tiger-specific attribute definition
|
|
47879
|
+
* @public
|
|
47880
|
+
*/
|
|
47881
|
+
export declare interface ITigerAttribute {
|
|
47882
|
+
attribute: {
|
|
47883
|
+
localIdentifier: string;
|
|
47884
|
+
displayForm: ObjRef;
|
|
47885
|
+
alias?: string;
|
|
47886
|
+
showAllValues?: boolean;
|
|
47887
|
+
};
|
|
47888
|
+
}
|
|
47889
|
+
|
|
47890
|
+
/**
|
|
47891
|
+
* @public
|
|
47892
|
+
*/
|
|
47893
|
+
declare type ITigerAttributeElements = ITigerAttributeElementsByRef | ITigerAttributeElementsByValue;
|
|
47894
|
+
|
|
47895
|
+
/**
|
|
47896
|
+
* Tiger-specific attribute elements by reference
|
|
47897
|
+
* @public
|
|
47898
|
+
*/
|
|
47899
|
+
declare interface ITigerAttributeElementsByRef {
|
|
47900
|
+
uris: Array<string | null>;
|
|
47901
|
+
}
|
|
47902
|
+
|
|
47903
|
+
/**
|
|
47904
|
+
* Tiger-specific attribute elements by value
|
|
47905
|
+
* @public
|
|
47906
|
+
*/
|
|
47907
|
+
declare interface ITigerAttributeElementsByValue {
|
|
47908
|
+
values: Array<string | null>;
|
|
47909
|
+
}
|
|
47910
|
+
|
|
47911
|
+
/**
|
|
47912
|
+
* Tiger-specific attribute filter config
|
|
47913
|
+
* @public
|
|
47914
|
+
*/
|
|
47915
|
+
export declare interface ITigerAttributeFilterConfig {
|
|
47916
|
+
mode?: "active" | "readonly" | "hidden";
|
|
47917
|
+
localIdentifier?: string;
|
|
47918
|
+
displayAsLabel?: ObjRef;
|
|
47919
|
+
filterElementsBy?: Array<{
|
|
47920
|
+
filterLocalIdentifier: string;
|
|
47921
|
+
over: {
|
|
47922
|
+
attributes: ObjRef[];
|
|
47923
|
+
};
|
|
47924
|
+
}>;
|
|
47925
|
+
}
|
|
47926
|
+
|
|
47927
|
+
/**
|
|
47928
|
+
* Tiger-specific attribute filter configs
|
|
47929
|
+
* @public
|
|
47930
|
+
*/
|
|
47931
|
+
export declare type ITigerAttributeFilterConfigs = {
|
|
47932
|
+
[filterLocalIdentifier: string]: ITigerAttributeFilterConfig;
|
|
47933
|
+
};
|
|
47934
|
+
|
|
47935
|
+
/**
|
|
47936
|
+
* Tiger-specific attribute locator
|
|
47937
|
+
* @public
|
|
47938
|
+
*/
|
|
47939
|
+
export declare interface ITigerAttributeLocatorItem {
|
|
47940
|
+
attributeLocatorItem: {
|
|
47941
|
+
attributeIdentifier: string;
|
|
47942
|
+
element: string | null;
|
|
47943
|
+
};
|
|
47944
|
+
}
|
|
47945
|
+
|
|
47946
|
+
/**
|
|
47947
|
+
* Tiger-specific attribute or measure union
|
|
47948
|
+
* @public
|
|
47949
|
+
*/
|
|
47950
|
+
export declare type ITigerAttributeOrMeasure = ITigerMeasure | ITigerAttribute;
|
|
47951
|
+
|
|
47952
|
+
/**
|
|
47953
|
+
* Tiger-specific attribute sort item
|
|
47954
|
+
* @public
|
|
47955
|
+
*/
|
|
47956
|
+
export declare interface ITigerAttributeSortItem {
|
|
47957
|
+
attributeSortItem: {
|
|
47958
|
+
attributeIdentifier: string;
|
|
47959
|
+
direction: "asc" | "desc";
|
|
47960
|
+
aggregation?: "sum";
|
|
47961
|
+
};
|
|
47962
|
+
}
|
|
47963
|
+
|
|
47964
|
+
/**
|
|
47965
|
+
* Tiger-specific base widget interface
|
|
47966
|
+
* @public
|
|
47967
|
+
*/
|
|
47968
|
+
declare interface ITigerBaseWidget {
|
|
47969
|
+
type: string;
|
|
47970
|
+
localIdentifier?: string;
|
|
47971
|
+
size?: ITigerDashboardLayoutSize;
|
|
47972
|
+
sizeByScreen?: ITigerDashboardLayoutSizeByScreenSize;
|
|
47973
|
+
}
|
|
47974
|
+
|
|
47975
|
+
/**
|
|
47976
|
+
* Tiger-specific bucket definition
|
|
47977
|
+
* @public
|
|
47978
|
+
*/
|
|
47979
|
+
export declare interface ITigerBucket {
|
|
47980
|
+
localIdentifier?: string;
|
|
47981
|
+
items: ITigerAttributeOrMeasure[];
|
|
47982
|
+
totals?: ITigerTotal[];
|
|
47983
|
+
}
|
|
47984
|
+
|
|
47887
47985
|
/**
|
|
47888
47986
|
* Tiger client interface that contains all the factories of the tiger API.
|
|
47889
47987
|
* This is not tree shakable client, use direct import of the api endpoints instead.
|
|
@@ -47939,6 +48037,521 @@ export declare interface ITigerClientBase {
|
|
|
47939
48037
|
setApiToken: (token: string | undefined) => void;
|
|
47940
48038
|
}
|
|
47941
48039
|
|
|
48040
|
+
/**
|
|
48041
|
+
* Tiger-specific comparison condition
|
|
48042
|
+
* @public
|
|
48043
|
+
*/
|
|
48044
|
+
declare interface ITigerComparisonCondition {
|
|
48045
|
+
comparison: {
|
|
48046
|
+
operator: "GREATER_THAN" | "GREATER_THAN_OR_EQUAL_TO" | "LESS_THAN" | "LESS_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO";
|
|
48047
|
+
value: number;
|
|
48048
|
+
treatNullValuesAs?: number;
|
|
48049
|
+
};
|
|
48050
|
+
}
|
|
48051
|
+
|
|
48052
|
+
/**
|
|
48053
|
+
* Tiger-specific dashboard attribute filter
|
|
48054
|
+
* @public
|
|
48055
|
+
*/
|
|
48056
|
+
declare interface ITigerDashboardAttributeFilter {
|
|
48057
|
+
attributeFilter: {
|
|
48058
|
+
displayForm: ObjRef;
|
|
48059
|
+
negativeSelection: boolean;
|
|
48060
|
+
attributeElements: ITigerAttributeElements;
|
|
48061
|
+
localIdentifier?: string;
|
|
48062
|
+
filterElementsBy?: ITigerDashboardAttributeFilterParent[];
|
|
48063
|
+
filterElementsByDate?: ITigerDashboardAttributeFilterByDate[];
|
|
48064
|
+
validateElementsBy?: ObjRef[];
|
|
48065
|
+
title?: string;
|
|
48066
|
+
selectionMode?: "single" | "multi";
|
|
48067
|
+
};
|
|
48068
|
+
}
|
|
48069
|
+
|
|
48070
|
+
/**
|
|
48071
|
+
* Tiger-specific dashboard attribute filter by date
|
|
48072
|
+
* @public
|
|
48073
|
+
*/
|
|
48074
|
+
declare interface ITigerDashboardAttributeFilterByDate {
|
|
48075
|
+
filterLocalIdentifier: string;
|
|
48076
|
+
isCommonDate: boolean;
|
|
48077
|
+
}
|
|
48078
|
+
|
|
48079
|
+
/**
|
|
48080
|
+
* Tiger-specific dashboard attribute filter config
|
|
48081
|
+
* @public
|
|
48082
|
+
*/
|
|
48083
|
+
export declare interface ITigerDashboardAttributeFilterConfig {
|
|
48084
|
+
localIdentifier: string;
|
|
48085
|
+
displayAsLabel?: ObjRef;
|
|
48086
|
+
title?: string;
|
|
48087
|
+
mode?: "active" | "readonly" | "hidden";
|
|
48088
|
+
filterElementsBy?: Array<{
|
|
48089
|
+
filterLocalIdentifier: string;
|
|
48090
|
+
over: {
|
|
48091
|
+
attributes: ObjRef[];
|
|
48092
|
+
};
|
|
48093
|
+
}>;
|
|
48094
|
+
selectionMode?: "single" | "multi";
|
|
48095
|
+
}
|
|
48096
|
+
|
|
48097
|
+
/**
|
|
48098
|
+
* Tiger-specific dashboard attribute filter parent
|
|
48099
|
+
* @public
|
|
48100
|
+
*/
|
|
48101
|
+
declare interface ITigerDashboardAttributeFilterParent {
|
|
48102
|
+
filterLocalIdentifier: string;
|
|
48103
|
+
over: {
|
|
48104
|
+
attributes: ObjRef[];
|
|
48105
|
+
};
|
|
48106
|
+
}
|
|
48107
|
+
|
|
48108
|
+
/**
|
|
48109
|
+
* Tiger-specific dashboard date filter
|
|
48110
|
+
* @public
|
|
48111
|
+
*/
|
|
48112
|
+
declare interface ITigerDashboardDateFilter {
|
|
48113
|
+
dateFilter: {
|
|
48114
|
+
type: "relative" | "absolute";
|
|
48115
|
+
granularity: string;
|
|
48116
|
+
from?: string | number;
|
|
48117
|
+
to?: string | number;
|
|
48118
|
+
dataSet?: ObjRef;
|
|
48119
|
+
attribute?: ObjRef;
|
|
48120
|
+
localIdentifier?: string;
|
|
48121
|
+
};
|
|
48122
|
+
}
|
|
48123
|
+
|
|
48124
|
+
/**
|
|
48125
|
+
* Tiger-specific dashboard date filter config
|
|
48126
|
+
* @public
|
|
48127
|
+
*/
|
|
48128
|
+
export declare interface ITigerDashboardDateFilterConfig {
|
|
48129
|
+
filterName: string;
|
|
48130
|
+
mode?: "readonly" | "hidden" | "active";
|
|
48131
|
+
hideOptions?: string[];
|
|
48132
|
+
hideGranularities?: string[];
|
|
48133
|
+
addPresets?: {
|
|
48134
|
+
absolutePresets?: Array<{
|
|
48135
|
+
from: string;
|
|
48136
|
+
to: string;
|
|
48137
|
+
name: string;
|
|
48138
|
+
localIdentifier?: string;
|
|
48139
|
+
}>;
|
|
48140
|
+
relativePresets?: Array<{
|
|
48141
|
+
from: number;
|
|
48142
|
+
to: number;
|
|
48143
|
+
granularity: string;
|
|
48144
|
+
name: string;
|
|
48145
|
+
localIdentifier?: string;
|
|
48146
|
+
}>;
|
|
48147
|
+
};
|
|
48148
|
+
}
|
|
48149
|
+
|
|
48150
|
+
/**
|
|
48151
|
+
* Tiger-specific dashboard filter group
|
|
48152
|
+
* @public
|
|
48153
|
+
*/
|
|
48154
|
+
declare interface ITigerDashboardFilterGroup {
|
|
48155
|
+
title: string;
|
|
48156
|
+
localIdentifier?: string;
|
|
48157
|
+
filters: Array<{
|
|
48158
|
+
filterLocalIdentifier: string;
|
|
48159
|
+
}>;
|
|
48160
|
+
}
|
|
48161
|
+
|
|
48162
|
+
/**
|
|
48163
|
+
* Tiger-specific dashboard filter groups config
|
|
48164
|
+
* @public
|
|
48165
|
+
*/
|
|
48166
|
+
export declare interface ITigerDashboardFilterGroupsConfig {
|
|
48167
|
+
groups: ITigerDashboardFilterGroup[];
|
|
48168
|
+
}
|
|
48169
|
+
|
|
48170
|
+
/**
|
|
48171
|
+
* Tiger-specific dashboard layout
|
|
48172
|
+
* @public
|
|
48173
|
+
*/
|
|
48174
|
+
export declare interface ITigerDashboardLayout<TWidget = ITigerWidget> {
|
|
48175
|
+
type: "IDashboardLayout";
|
|
48176
|
+
sections?: Array<ITigerDashboardLayoutSection<TWidget>>;
|
|
48177
|
+
}
|
|
48178
|
+
|
|
48179
|
+
/**
|
|
48180
|
+
* Tiger-specific dashboard layout column
|
|
48181
|
+
* @public
|
|
48182
|
+
*/
|
|
48183
|
+
declare interface ITigerDashboardLayoutColumn<TWidget = ITigerWidget> {
|
|
48184
|
+
type: "IDashboardLayoutColumn";
|
|
48185
|
+
size?: ITigerDashboardLayoutSize;
|
|
48186
|
+
sizeByScreen?: ITigerDashboardLayoutSizeByScreenSize;
|
|
48187
|
+
items?: Array<ITigerDashboardLayoutItem<TWidget>>;
|
|
48188
|
+
}
|
|
48189
|
+
|
|
48190
|
+
/**
|
|
48191
|
+
* Tiger-specific dashboard layout item
|
|
48192
|
+
* @public
|
|
48193
|
+
*/
|
|
48194
|
+
declare interface ITigerDashboardLayoutItem<TWidget = ITigerWidget> {
|
|
48195
|
+
type: "IDashboardLayoutItem";
|
|
48196
|
+
size?: ITigerDashboardLayoutSize;
|
|
48197
|
+
sizeByScreen?: ITigerDashboardLayoutSizeByScreenSize;
|
|
48198
|
+
widget?: TWidget | ITigerDashboardLayout<TWidget>;
|
|
48199
|
+
}
|
|
48200
|
+
|
|
48201
|
+
/**
|
|
48202
|
+
* Tiger-specific dashboard layout section
|
|
48203
|
+
* @public
|
|
48204
|
+
*/
|
|
48205
|
+
declare interface ITigerDashboardLayoutSection<TWidget = ITigerWidget> {
|
|
48206
|
+
type: "IDashboardLayoutSection";
|
|
48207
|
+
header?: ITigerDashboardLayoutSectionHeader;
|
|
48208
|
+
items?: Array<ITigerDashboardLayoutColumn<TWidget>>;
|
|
48209
|
+
}
|
|
48210
|
+
|
|
48211
|
+
/**
|
|
48212
|
+
* Tiger-specific dashboard layout section header
|
|
48213
|
+
* @public
|
|
48214
|
+
*/
|
|
48215
|
+
declare interface ITigerDashboardLayoutSectionHeader {
|
|
48216
|
+
title?: string;
|
|
48217
|
+
description?: string;
|
|
48218
|
+
}
|
|
48219
|
+
|
|
48220
|
+
/**
|
|
48221
|
+
* Tiger-specific dashboard layout size
|
|
48222
|
+
* @public
|
|
48223
|
+
*/
|
|
48224
|
+
declare interface ITigerDashboardLayoutSize {
|
|
48225
|
+
gridWidth: number;
|
|
48226
|
+
gridHeight?: number;
|
|
48227
|
+
heightAsRatio?: number;
|
|
48228
|
+
}
|
|
48229
|
+
|
|
48230
|
+
/**
|
|
48231
|
+
* Tiger-specific dashboard layout size by screen
|
|
48232
|
+
* @public
|
|
48233
|
+
*/
|
|
48234
|
+
declare interface ITigerDashboardLayoutSizeByScreenSize {
|
|
48235
|
+
xs?: ITigerDashboardLayoutSize;
|
|
48236
|
+
sm?: ITigerDashboardLayoutSize;
|
|
48237
|
+
md?: ITigerDashboardLayoutSize;
|
|
48238
|
+
lg?: ITigerDashboardLayoutSize;
|
|
48239
|
+
xl?: ITigerDashboardLayoutSize;
|
|
48240
|
+
}
|
|
48241
|
+
|
|
48242
|
+
/**
|
|
48243
|
+
* Tiger-specific dashboard tab
|
|
48244
|
+
* @public
|
|
48245
|
+
*/
|
|
48246
|
+
export declare interface ITigerDashboardTab {
|
|
48247
|
+
localIdentifier: string;
|
|
48248
|
+
title: string;
|
|
48249
|
+
layout: ITigerDashboardLayout;
|
|
48250
|
+
filterContextRef: ObjRef;
|
|
48251
|
+
dateFilterConfig?: ITigerDashboardDateFilterConfig;
|
|
48252
|
+
dateFilterConfigs?: Array<{
|
|
48253
|
+
dateDataSet: ObjRef;
|
|
48254
|
+
config: ITigerDashboardDateFilterConfig;
|
|
48255
|
+
}>;
|
|
48256
|
+
attributeFilterConfigs?: ITigerDashboardAttributeFilterConfig[];
|
|
48257
|
+
filterGroupsConfig?: ITigerDashboardFilterGroupsConfig;
|
|
48258
|
+
}
|
|
48259
|
+
|
|
48260
|
+
/**
|
|
48261
|
+
* Tiger-specific filter types union
|
|
48262
|
+
* @public
|
|
48263
|
+
*/
|
|
48264
|
+
export declare type ITigerFilter = ITigerAbsoluteDateFilter | ITigerRelativeDateFilter | ITigerPositiveAttributeFilter | ITigerNegativeAttributeFilter | ITigerMeasureValueFilter | ITigerRankingFilter;
|
|
48265
|
+
|
|
48266
|
+
/**
|
|
48267
|
+
* Tiger-specific filter context item
|
|
48268
|
+
* @public
|
|
48269
|
+
*/
|
|
48270
|
+
export declare type ITigerFilterContextItem = ITigerDashboardAttributeFilter | ITigerDashboardDateFilter;
|
|
48271
|
+
|
|
48272
|
+
/**
|
|
48273
|
+
* Tiger-specific insight layer definition
|
|
48274
|
+
* @public
|
|
48275
|
+
*/
|
|
48276
|
+
export declare interface ITigerInsightLayerDefinition {
|
|
48277
|
+
id: string;
|
|
48278
|
+
type: string;
|
|
48279
|
+
name?: string;
|
|
48280
|
+
buckets: ITigerBucket[];
|
|
48281
|
+
filters?: ITigerFilter[];
|
|
48282
|
+
attributeFilterConfigs?: ITigerAttributeFilterConfigs;
|
|
48283
|
+
sorts?: ITigerSortItem[];
|
|
48284
|
+
properties?: ITigerVisualizationProperties;
|
|
48285
|
+
}
|
|
48286
|
+
|
|
48287
|
+
/**
|
|
48288
|
+
* Tiger-specific insight widget
|
|
48289
|
+
* @public
|
|
48290
|
+
*/
|
|
48291
|
+
declare interface ITigerInsightWidget extends ITigerBaseWidget {
|
|
48292
|
+
type: "insight";
|
|
48293
|
+
insight: ObjRef;
|
|
48294
|
+
ignoreDashboardFilters?: Array<{
|
|
48295
|
+
type: "attributeFilterReference" | "dateFilterReference";
|
|
48296
|
+
displayForm?: ObjRef;
|
|
48297
|
+
dataSet?: ObjRef;
|
|
48298
|
+
}>;
|
|
48299
|
+
drills?: any[];
|
|
48300
|
+
title?: string;
|
|
48301
|
+
description?: string;
|
|
48302
|
+
}
|
|
48303
|
+
|
|
48304
|
+
/**
|
|
48305
|
+
* Tiger-specific KPI widget
|
|
48306
|
+
* @public
|
|
48307
|
+
*/
|
|
48308
|
+
declare interface ITigerKpiWidget extends ITigerBaseWidget {
|
|
48309
|
+
type: "kpi";
|
|
48310
|
+
kpi: ObjRef;
|
|
48311
|
+
ignoreDashboardFilters?: Array<{
|
|
48312
|
+
type: "attributeFilterReference" | "dateFilterReference";
|
|
48313
|
+
displayForm?: ObjRef;
|
|
48314
|
+
dataSet?: ObjRef;
|
|
48315
|
+
}>;
|
|
48316
|
+
title?: string;
|
|
48317
|
+
description?: string;
|
|
48318
|
+
}
|
|
48319
|
+
|
|
48320
|
+
/**
|
|
48321
|
+
* @public
|
|
48322
|
+
*/
|
|
48323
|
+
declare type ITigerLocatorItem = ITigerAttributeLocatorItem | ITigerMeasureLocatorItem | ITigerTotalLocatorItem;
|
|
48324
|
+
|
|
48325
|
+
/**
|
|
48326
|
+
* Tiger-specific measure types union
|
|
48327
|
+
* @public
|
|
48328
|
+
*/
|
|
48329
|
+
export declare type ITigerMeasure = ITigerSimpleMeasure | ITigerArithmeticMeasure | ITigerPopMeasure | ITigerPreviousPeriodMeasure;
|
|
48330
|
+
|
|
48331
|
+
/**
|
|
48332
|
+
* Tiger-specific measure locator
|
|
48333
|
+
* @public
|
|
48334
|
+
*/
|
|
48335
|
+
declare interface ITigerMeasureLocatorItem {
|
|
48336
|
+
measureLocatorItem: {
|
|
48337
|
+
measureIdentifier: string;
|
|
48338
|
+
};
|
|
48339
|
+
}
|
|
48340
|
+
|
|
48341
|
+
/**
|
|
48342
|
+
* Tiger-specific measure sort item
|
|
48343
|
+
* @public
|
|
48344
|
+
*/
|
|
48345
|
+
declare interface ITigerMeasureSortItem {
|
|
48346
|
+
measureSortItem: {
|
|
48347
|
+
direction: "asc" | "desc";
|
|
48348
|
+
locators: ITigerLocatorItem[];
|
|
48349
|
+
};
|
|
48350
|
+
}
|
|
48351
|
+
|
|
48352
|
+
/**
|
|
48353
|
+
* Tiger-specific measure value filter
|
|
48354
|
+
* @public
|
|
48355
|
+
*/
|
|
48356
|
+
declare interface ITigerMeasureValueFilter {
|
|
48357
|
+
measureValueFilter: {
|
|
48358
|
+
measure: ObjRef;
|
|
48359
|
+
condition?: ITigerMeasureValueFilterCondition;
|
|
48360
|
+
localIdentifier?: string;
|
|
48361
|
+
};
|
|
48362
|
+
}
|
|
48363
|
+
|
|
48364
|
+
/**
|
|
48365
|
+
* @public
|
|
48366
|
+
*/
|
|
48367
|
+
declare type ITigerMeasureValueFilterCondition = ITigerComparisonCondition | ITigerRangeCondition;
|
|
48368
|
+
|
|
48369
|
+
/**
|
|
48370
|
+
* Tiger-specific negative attribute filter
|
|
48371
|
+
* @public
|
|
48372
|
+
*/
|
|
48373
|
+
declare interface ITigerNegativeAttributeFilter {
|
|
48374
|
+
negativeAttributeFilter: {
|
|
48375
|
+
displayForm: ObjRef;
|
|
48376
|
+
notIn: ITigerAttributeElements;
|
|
48377
|
+
localIdentifier?: string;
|
|
48378
|
+
};
|
|
48379
|
+
}
|
|
48380
|
+
|
|
48381
|
+
/**
|
|
48382
|
+
* Tiger-specific POP measure definition
|
|
48383
|
+
* @public
|
|
48384
|
+
*/
|
|
48385
|
+
declare interface ITigerPopMeasure {
|
|
48386
|
+
localIdentifier: string;
|
|
48387
|
+
definition: ITigerPopMeasureDefinition;
|
|
48388
|
+
alias?: string;
|
|
48389
|
+
format?: string;
|
|
48390
|
+
title?: string;
|
|
48391
|
+
}
|
|
48392
|
+
|
|
48393
|
+
/**
|
|
48394
|
+
* @public
|
|
48395
|
+
*/
|
|
48396
|
+
declare interface ITigerPopMeasureDefinition {
|
|
48397
|
+
popMeasure: {
|
|
48398
|
+
measureIdentifier: string;
|
|
48399
|
+
popAttribute: ObjRef;
|
|
48400
|
+
};
|
|
48401
|
+
}
|
|
48402
|
+
|
|
48403
|
+
/**
|
|
48404
|
+
* Tiger-specific positive attribute filter
|
|
48405
|
+
* @public
|
|
48406
|
+
*/
|
|
48407
|
+
declare interface ITigerPositiveAttributeFilter {
|
|
48408
|
+
positiveAttributeFilter: {
|
|
48409
|
+
displayForm: ObjRef;
|
|
48410
|
+
in: ITigerAttributeElements;
|
|
48411
|
+
localIdentifier?: string;
|
|
48412
|
+
};
|
|
48413
|
+
}
|
|
48414
|
+
|
|
48415
|
+
/**
|
|
48416
|
+
* Tiger-specific previous period measure definition
|
|
48417
|
+
* @public
|
|
48418
|
+
*/
|
|
48419
|
+
declare interface ITigerPreviousPeriodMeasure {
|
|
48420
|
+
localIdentifier: string;
|
|
48421
|
+
definition: ITigerPreviousPeriodMeasureDefinition;
|
|
48422
|
+
alias?: string;
|
|
48423
|
+
format?: string;
|
|
48424
|
+
title?: string;
|
|
48425
|
+
}
|
|
48426
|
+
|
|
48427
|
+
/**
|
|
48428
|
+
* @public
|
|
48429
|
+
*/
|
|
48430
|
+
declare interface ITigerPreviousPeriodMeasureDefinition {
|
|
48431
|
+
previousPeriodMeasure: {
|
|
48432
|
+
measureIdentifier: string;
|
|
48433
|
+
dateDataSets: Array<{
|
|
48434
|
+
dataSet: ObjRef;
|
|
48435
|
+
periodsAgo: number;
|
|
48436
|
+
}>;
|
|
48437
|
+
};
|
|
48438
|
+
}
|
|
48439
|
+
|
|
48440
|
+
/**
|
|
48441
|
+
* Tiger-specific range condition
|
|
48442
|
+
* @public
|
|
48443
|
+
*/
|
|
48444
|
+
declare interface ITigerRangeCondition {
|
|
48445
|
+
range: {
|
|
48446
|
+
operator: "BETWEEN" | "NOT_BETWEEN";
|
|
48447
|
+
from: number;
|
|
48448
|
+
to: number;
|
|
48449
|
+
treatNullValuesAs?: number;
|
|
48450
|
+
};
|
|
48451
|
+
}
|
|
48452
|
+
|
|
48453
|
+
/**
|
|
48454
|
+
* Tiger-specific ranking filter
|
|
48455
|
+
* @public
|
|
48456
|
+
*/
|
|
48457
|
+
declare interface ITigerRankingFilter {
|
|
48458
|
+
rankingFilter: {
|
|
48459
|
+
measure: ObjRef;
|
|
48460
|
+
attributes?: ObjRef[];
|
|
48461
|
+
operator: "TOP" | "BOTTOM";
|
|
48462
|
+
value: number;
|
|
48463
|
+
localIdentifier?: string;
|
|
48464
|
+
};
|
|
48465
|
+
}
|
|
48466
|
+
|
|
48467
|
+
/**
|
|
48468
|
+
* Tiger-specific relative date filter
|
|
48469
|
+
* @public
|
|
48470
|
+
*/
|
|
48471
|
+
declare interface ITigerRelativeDateFilter {
|
|
48472
|
+
relativeDateFilter: {
|
|
48473
|
+
dataSet: ObjRef;
|
|
48474
|
+
granularity: string;
|
|
48475
|
+
from: number;
|
|
48476
|
+
to: number;
|
|
48477
|
+
localIdentifier?: string;
|
|
48478
|
+
};
|
|
48479
|
+
}
|
|
48480
|
+
|
|
48481
|
+
/**
|
|
48482
|
+
* Tiger-specific rich text widget
|
|
48483
|
+
* @public
|
|
48484
|
+
*/
|
|
48485
|
+
declare interface ITigerRichTextWidget extends ITigerBaseWidget {
|
|
48486
|
+
type: "richText";
|
|
48487
|
+
content?: string;
|
|
48488
|
+
}
|
|
48489
|
+
|
|
48490
|
+
/**
|
|
48491
|
+
* Tiger-specific simple measure definition
|
|
48492
|
+
* @public
|
|
48493
|
+
*/
|
|
48494
|
+
declare interface ITigerSimpleMeasure {
|
|
48495
|
+
localIdentifier: string;
|
|
48496
|
+
definition: ITigerSimpleMeasureDefinition;
|
|
48497
|
+
alias?: string;
|
|
48498
|
+
format?: string;
|
|
48499
|
+
title?: string;
|
|
48500
|
+
}
|
|
48501
|
+
|
|
48502
|
+
/**
|
|
48503
|
+
* @public
|
|
48504
|
+
*/
|
|
48505
|
+
declare interface ITigerSimpleMeasureDefinition {
|
|
48506
|
+
measure: {
|
|
48507
|
+
item: ObjRef;
|
|
48508
|
+
aggregation?: "sum" | "count" | "avg" | "min" | "max" | "median" | "runsum";
|
|
48509
|
+
filters?: ITigerFilter[];
|
|
48510
|
+
computeRatio?: boolean;
|
|
48511
|
+
};
|
|
48512
|
+
}
|
|
48513
|
+
|
|
48514
|
+
/**
|
|
48515
|
+
* Tiger-specific sort item union
|
|
48516
|
+
* @public
|
|
48517
|
+
*/
|
|
48518
|
+
export declare type ITigerSortItem = ITigerAttributeSortItem | ITigerMeasureSortItem;
|
|
48519
|
+
|
|
48520
|
+
/**
|
|
48521
|
+
* Tiger-specific total definition
|
|
48522
|
+
* @public
|
|
48523
|
+
*/
|
|
48524
|
+
declare interface ITigerTotal {
|
|
48525
|
+
type: "sum" | "avg" | "max" | "min" | "nat" | "med";
|
|
48526
|
+
measureIdentifier: string;
|
|
48527
|
+
attributeIdentifier: string;
|
|
48528
|
+
alias?: string;
|
|
48529
|
+
}
|
|
48530
|
+
|
|
48531
|
+
/**
|
|
48532
|
+
* Tiger-specific total locator
|
|
48533
|
+
* @public
|
|
48534
|
+
*/
|
|
48535
|
+
declare interface ITigerTotalLocatorItem {
|
|
48536
|
+
totalLocatorItem: {
|
|
48537
|
+
attributeIdentifier: string;
|
|
48538
|
+
totalFunction: string;
|
|
48539
|
+
};
|
|
48540
|
+
}
|
|
48541
|
+
|
|
48542
|
+
/**
|
|
48543
|
+
* Tiger-specific visualization properties
|
|
48544
|
+
* @public
|
|
48545
|
+
*/
|
|
48546
|
+
export declare type ITigerVisualizationProperties = {
|
|
48547
|
+
[key: string]: any;
|
|
48548
|
+
};
|
|
48549
|
+
|
|
48550
|
+
/**
|
|
48551
|
+
* @public
|
|
48552
|
+
*/
|
|
48553
|
+
declare type ITigerWidget = ITigerInsightWidget | ITigerKpiWidget | ITigerRichTextWidget;
|
|
48554
|
+
|
|
47942
48555
|
/**
|
|
47943
48556
|
* Total format used in executions
|
|
47944
48557
|
*
|
|
@@ -47979,10 +48592,10 @@ declare interface IVisualizationObject {
|
|
|
47979
48592
|
visualizationObject: {
|
|
47980
48593
|
title: string;
|
|
47981
48594
|
visualizationUrl: string;
|
|
47982
|
-
buckets:
|
|
47983
|
-
filters:
|
|
47984
|
-
sorts:
|
|
47985
|
-
properties:
|
|
48595
|
+
buckets: ITigerBucket[];
|
|
48596
|
+
filters: ITigerFilter[];
|
|
48597
|
+
sorts: ITigerSortItem[];
|
|
48598
|
+
properties: ITigerVisualizationProperties;
|
|
47986
48599
|
};
|
|
47987
48600
|
}
|
|
47988
48601
|
|
|
@@ -47993,12 +48606,12 @@ declare interface IVisualizationObject {
|
|
|
47993
48606
|
declare interface IVisualizationObject_2 {
|
|
47994
48607
|
version: "2";
|
|
47995
48608
|
visualizationUrl: string;
|
|
47996
|
-
buckets:
|
|
47997
|
-
filters:
|
|
47998
|
-
attributeFilterConfigs?:
|
|
47999
|
-
sorts:
|
|
48000
|
-
properties:
|
|
48001
|
-
layers?:
|
|
48609
|
+
buckets: ITigerBucket[];
|
|
48610
|
+
filters: ITigerFilter[];
|
|
48611
|
+
attributeFilterConfigs?: ITigerAttributeFilterConfigs;
|
|
48612
|
+
sorts: ITigerSortItem[];
|
|
48613
|
+
properties: ITigerVisualizationProperties;
|
|
48614
|
+
layers?: ITigerInsightLayerDefinition[];
|
|
48002
48615
|
}
|
|
48003
48616
|
|
|
48004
48617
|
/**
|