@lessly/sdk-app 108.2.0 → 109.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -2
- package/dist/_types/gen/client.gen.d.ts +38 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +1960 -25
- package/dist/chunk-GTBSBXG4.js +12357 -0
- package/dist/chunk-GTBSBXG4.js.map +1 -0
- package/dist/index.cjs +240 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -12170
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +229 -46
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +21 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +12540 -10685
|
@@ -3665,6 +3665,7 @@ export interface AnalyticsDashboardRunOutput {
|
|
|
3665
3665
|
currency?: {
|
|
3666
3666
|
[k: string]: string;
|
|
3667
3667
|
};
|
|
3668
|
+
step_pct?: AnalyticsDashboardRunOutputCells;
|
|
3668
3669
|
}[];
|
|
3669
3670
|
sort: {
|
|
3670
3671
|
by: string;
|
|
@@ -3675,14 +3676,17 @@ export interface AnalyticsDashboardRunOutput {
|
|
|
3675
3676
|
reasons?: {
|
|
3676
3677
|
[k: string]: string;
|
|
3677
3678
|
};
|
|
3679
|
+
step_pct?: AnalyticsDashboardRunOutputCells;
|
|
3678
3680
|
} | null);
|
|
3679
3681
|
total: AnalyticsDashboardRunOutputCells;
|
|
3682
|
+
rows_label?: string;
|
|
3680
3683
|
series_steps?: {
|
|
3681
3684
|
[k: string]: string[];
|
|
3682
3685
|
};
|
|
3683
3686
|
total_reasons?: {
|
|
3684
3687
|
[k: string]: string;
|
|
3685
3688
|
};
|
|
3689
|
+
total_step_pct?: AnalyticsDashboardRunOutputCells;
|
|
3686
3690
|
};
|
|
3687
3691
|
steps?: {
|
|
3688
3692
|
[k: string]: {
|
|
@@ -3723,6 +3727,9 @@ export interface AnalyticsDashboardRunOutput {
|
|
|
3723
3727
|
from: string;
|
|
3724
3728
|
};
|
|
3725
3729
|
formula?: (AnalyticsDashboardRunOutputItems1[] | null);
|
|
3730
|
+
formulas?: {
|
|
3731
|
+
[k: string]: AnalyticsDashboardRunOutputItems1[];
|
|
3732
|
+
};
|
|
3726
3733
|
};
|
|
3727
3734
|
formula: (AnalyticsDashboardRunOutputItems[] | null);
|
|
3728
3735
|
insight: ({
|
|
@@ -3735,7 +3742,7 @@ export interface AnalyticsDashboardRunOutput {
|
|
|
3735
3742
|
*/
|
|
3736
3743
|
sort?: {
|
|
3737
3744
|
/**
|
|
3738
|
-
* A series key of this insight, or
|
|
3745
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
3739
3746
|
*/
|
|
3740
3747
|
by: (string | "formula");
|
|
3741
3748
|
dir: ("asc" | "desc");
|
|
@@ -40746,14 +40753,182 @@ export interface AnalyticsDashboardRunOutput {
|
|
|
40746
40753
|
});
|
|
40747
40754
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
40748
40755
|
formula?: (string | null);
|
|
40756
|
+
/**
|
|
40757
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
40758
|
+
*
|
|
40759
|
+
* @minItems 1
|
|
40760
|
+
* @maxItems 4
|
|
40761
|
+
*/
|
|
40762
|
+
formulas?: [
|
|
40763
|
+
{
|
|
40764
|
+
/**
|
|
40765
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40766
|
+
*/
|
|
40767
|
+
key: string;
|
|
40768
|
+
/**
|
|
40769
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40770
|
+
*/
|
|
40771
|
+
expr: string;
|
|
40772
|
+
/**
|
|
40773
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40774
|
+
*/
|
|
40775
|
+
label: string;
|
|
40776
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40777
|
+
}
|
|
40778
|
+
] | [
|
|
40779
|
+
{
|
|
40780
|
+
/**
|
|
40781
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40782
|
+
*/
|
|
40783
|
+
key: string;
|
|
40784
|
+
/**
|
|
40785
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40786
|
+
*/
|
|
40787
|
+
expr: string;
|
|
40788
|
+
/**
|
|
40789
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40790
|
+
*/
|
|
40791
|
+
label: string;
|
|
40792
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40793
|
+
},
|
|
40794
|
+
{
|
|
40795
|
+
/**
|
|
40796
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40797
|
+
*/
|
|
40798
|
+
key: string;
|
|
40799
|
+
/**
|
|
40800
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40801
|
+
*/
|
|
40802
|
+
expr: string;
|
|
40803
|
+
/**
|
|
40804
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40805
|
+
*/
|
|
40806
|
+
label: string;
|
|
40807
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40808
|
+
}
|
|
40809
|
+
] | [
|
|
40810
|
+
{
|
|
40811
|
+
/**
|
|
40812
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40813
|
+
*/
|
|
40814
|
+
key: string;
|
|
40815
|
+
/**
|
|
40816
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40817
|
+
*/
|
|
40818
|
+
expr: string;
|
|
40819
|
+
/**
|
|
40820
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40821
|
+
*/
|
|
40822
|
+
label: string;
|
|
40823
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40824
|
+
},
|
|
40825
|
+
{
|
|
40826
|
+
/**
|
|
40827
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40828
|
+
*/
|
|
40829
|
+
key: string;
|
|
40830
|
+
/**
|
|
40831
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40832
|
+
*/
|
|
40833
|
+
expr: string;
|
|
40834
|
+
/**
|
|
40835
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40836
|
+
*/
|
|
40837
|
+
label: string;
|
|
40838
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40839
|
+
},
|
|
40840
|
+
{
|
|
40841
|
+
/**
|
|
40842
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40843
|
+
*/
|
|
40844
|
+
key: string;
|
|
40845
|
+
/**
|
|
40846
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40847
|
+
*/
|
|
40848
|
+
expr: string;
|
|
40849
|
+
/**
|
|
40850
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40851
|
+
*/
|
|
40852
|
+
label: string;
|
|
40853
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40854
|
+
}
|
|
40855
|
+
] | [
|
|
40856
|
+
{
|
|
40857
|
+
/**
|
|
40858
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40859
|
+
*/
|
|
40860
|
+
key: string;
|
|
40861
|
+
/**
|
|
40862
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40863
|
+
*/
|
|
40864
|
+
expr: string;
|
|
40865
|
+
/**
|
|
40866
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40867
|
+
*/
|
|
40868
|
+
label: string;
|
|
40869
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40870
|
+
},
|
|
40871
|
+
{
|
|
40872
|
+
/**
|
|
40873
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40874
|
+
*/
|
|
40875
|
+
key: string;
|
|
40876
|
+
/**
|
|
40877
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40878
|
+
*/
|
|
40879
|
+
expr: string;
|
|
40880
|
+
/**
|
|
40881
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40882
|
+
*/
|
|
40883
|
+
label: string;
|
|
40884
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40885
|
+
},
|
|
40886
|
+
{
|
|
40887
|
+
/**
|
|
40888
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40889
|
+
*/
|
|
40890
|
+
key: string;
|
|
40891
|
+
/**
|
|
40892
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40893
|
+
*/
|
|
40894
|
+
expr: string;
|
|
40895
|
+
/**
|
|
40896
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40897
|
+
*/
|
|
40898
|
+
label: string;
|
|
40899
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40900
|
+
},
|
|
40901
|
+
{
|
|
40902
|
+
/**
|
|
40903
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
40904
|
+
*/
|
|
40905
|
+
key: string;
|
|
40906
|
+
/**
|
|
40907
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
40908
|
+
*/
|
|
40909
|
+
expr: string;
|
|
40910
|
+
/**
|
|
40911
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
40912
|
+
*/
|
|
40913
|
+
label: string;
|
|
40914
|
+
format?: AnalyticsDashboardRunOutputFormat2;
|
|
40915
|
+
}
|
|
40916
|
+
];
|
|
40749
40917
|
created_at: string;
|
|
40750
40918
|
created_by: (string | null);
|
|
40751
40919
|
product_id: string;
|
|
40920
|
+
/**
|
|
40921
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
40922
|
+
*/
|
|
40923
|
+
rows_label?: string;
|
|
40752
40924
|
updated_at: string;
|
|
40753
40925
|
description?: string;
|
|
40754
40926
|
formula_label?: string;
|
|
40755
|
-
formula_format?:
|
|
40927
|
+
formula_format?: AnalyticsDashboardRunOutputFormat3;
|
|
40756
40928
|
} | null);
|
|
40929
|
+
formulas?: {
|
|
40930
|
+
[k: string]: AnalyticsDashboardRunOutputItems[];
|
|
40931
|
+
};
|
|
40757
40932
|
formula_label?: string;
|
|
40758
40933
|
series_format: {
|
|
40759
40934
|
[k: string]: AnalyticsDashboardRunOutputFormat1;
|
|
@@ -40762,6 +40937,9 @@ export interface AnalyticsDashboardRunOutput {
|
|
|
40762
40937
|
[k: string]: string;
|
|
40763
40938
|
};
|
|
40764
40939
|
target_status: (("met" | "missed") | null);
|
|
40940
|
+
formula_labels?: {
|
|
40941
|
+
[k: string]: string;
|
|
40942
|
+
};
|
|
40765
40943
|
filters_skipped?: {
|
|
40766
40944
|
key: string;
|
|
40767
40945
|
steps?: {
|
|
@@ -40770,6 +40948,9 @@ export interface AnalyticsDashboardRunOutput {
|
|
|
40770
40948
|
series: string[];
|
|
40771
40949
|
columns?: string[];
|
|
40772
40950
|
}[];
|
|
40951
|
+
formula_formats?: {
|
|
40952
|
+
[k: string]: AnalyticsDashboardRunOutputFormat1;
|
|
40953
|
+
};
|
|
40773
40954
|
} | {
|
|
40774
40955
|
error: {
|
|
40775
40956
|
status: number;
|
|
@@ -41711,7 +41892,7 @@ export interface AnalyticsDashboardRunOutputCohort {
|
|
|
41711
41892
|
}[];
|
|
41712
41893
|
}
|
|
41713
41894
|
/**
|
|
41714
|
-
* Display format
|
|
41895
|
+
* Display format of the result; defaults to {kind: number}
|
|
41715
41896
|
*/
|
|
41716
41897
|
export interface AnalyticsDashboardRunOutputFormat2 {
|
|
41717
41898
|
kind: ("number" | "money" | "percent");
|
|
@@ -41719,6 +41900,15 @@ export interface AnalyticsDashboardRunOutputFormat2 {
|
|
|
41719
41900
|
currency?: string;
|
|
41720
41901
|
decimals?: number;
|
|
41721
41902
|
}
|
|
41903
|
+
/**
|
|
41904
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
41905
|
+
*/
|
|
41906
|
+
export interface AnalyticsDashboardRunOutputFormat3 {
|
|
41907
|
+
kind: ("number" | "money" | "percent");
|
|
41908
|
+
scale?: ("unit" | "minor" | "micros");
|
|
41909
|
+
currency?: string;
|
|
41910
|
+
decimals?: number;
|
|
41911
|
+
}
|
|
41722
41912
|
export interface AnalyticsDashboardTileRunInput {
|
|
41723
41913
|
/**
|
|
41724
41914
|
* Inclusive window end; overrides the stored window
|
|
@@ -41816,6 +42006,7 @@ export interface AnalyticsDashboardTileRunOutput {
|
|
|
41816
42006
|
currency?: {
|
|
41817
42007
|
[k: string]: string;
|
|
41818
42008
|
};
|
|
42009
|
+
step_pct?: AnalyticsDashboardTileRunOutputCells;
|
|
41819
42010
|
}[];
|
|
41820
42011
|
sort: {
|
|
41821
42012
|
by: string;
|
|
@@ -41826,14 +42017,17 @@ export interface AnalyticsDashboardTileRunOutput {
|
|
|
41826
42017
|
reasons?: {
|
|
41827
42018
|
[k: string]: string;
|
|
41828
42019
|
};
|
|
42020
|
+
step_pct?: AnalyticsDashboardTileRunOutputCells;
|
|
41829
42021
|
} | null);
|
|
41830
42022
|
total: AnalyticsDashboardTileRunOutputCells;
|
|
42023
|
+
rows_label?: string;
|
|
41831
42024
|
series_steps?: {
|
|
41832
42025
|
[k: string]: string[];
|
|
41833
42026
|
};
|
|
41834
42027
|
total_reasons?: {
|
|
41835
42028
|
[k: string]: string;
|
|
41836
42029
|
};
|
|
42030
|
+
total_step_pct?: AnalyticsDashboardTileRunOutputCells;
|
|
41837
42031
|
};
|
|
41838
42032
|
steps?: {
|
|
41839
42033
|
[k: string]: {
|
|
@@ -41874,6 +42068,9 @@ export interface AnalyticsDashboardTileRunOutput {
|
|
|
41874
42068
|
from: string;
|
|
41875
42069
|
};
|
|
41876
42070
|
formula?: (AnalyticsDashboardTileRunOutputItems1[] | null);
|
|
42071
|
+
formulas?: {
|
|
42072
|
+
[k: string]: AnalyticsDashboardTileRunOutputItems1[];
|
|
42073
|
+
};
|
|
41877
42074
|
};
|
|
41878
42075
|
formula: (AnalyticsDashboardTileRunOutputItems[] | null);
|
|
41879
42076
|
insight: ({
|
|
@@ -41886,7 +42083,7 @@ export interface AnalyticsDashboardTileRunOutput {
|
|
|
41886
42083
|
*/
|
|
41887
42084
|
sort?: {
|
|
41888
42085
|
/**
|
|
41889
|
-
* A series key of this insight, or
|
|
42086
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
41890
42087
|
*/
|
|
41891
42088
|
by: (string | "formula");
|
|
41892
42089
|
dir: ("asc" | "desc");
|
|
@@ -78897,14 +79094,182 @@ export interface AnalyticsDashboardTileRunOutput {
|
|
|
78897
79094
|
});
|
|
78898
79095
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
78899
79096
|
formula?: (string | null);
|
|
79097
|
+
/**
|
|
79098
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
79099
|
+
*
|
|
79100
|
+
* @minItems 1
|
|
79101
|
+
* @maxItems 4
|
|
79102
|
+
*/
|
|
79103
|
+
formulas?: [
|
|
79104
|
+
{
|
|
79105
|
+
/**
|
|
79106
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79107
|
+
*/
|
|
79108
|
+
key: string;
|
|
79109
|
+
/**
|
|
79110
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79111
|
+
*/
|
|
79112
|
+
expr: string;
|
|
79113
|
+
/**
|
|
79114
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79115
|
+
*/
|
|
79116
|
+
label: string;
|
|
79117
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79118
|
+
}
|
|
79119
|
+
] | [
|
|
79120
|
+
{
|
|
79121
|
+
/**
|
|
79122
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79123
|
+
*/
|
|
79124
|
+
key: string;
|
|
79125
|
+
/**
|
|
79126
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79127
|
+
*/
|
|
79128
|
+
expr: string;
|
|
79129
|
+
/**
|
|
79130
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79131
|
+
*/
|
|
79132
|
+
label: string;
|
|
79133
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79134
|
+
},
|
|
79135
|
+
{
|
|
79136
|
+
/**
|
|
79137
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79138
|
+
*/
|
|
79139
|
+
key: string;
|
|
79140
|
+
/**
|
|
79141
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79142
|
+
*/
|
|
79143
|
+
expr: string;
|
|
79144
|
+
/**
|
|
79145
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79146
|
+
*/
|
|
79147
|
+
label: string;
|
|
79148
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79149
|
+
}
|
|
79150
|
+
] | [
|
|
79151
|
+
{
|
|
79152
|
+
/**
|
|
79153
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79154
|
+
*/
|
|
79155
|
+
key: string;
|
|
79156
|
+
/**
|
|
79157
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79158
|
+
*/
|
|
79159
|
+
expr: string;
|
|
79160
|
+
/**
|
|
79161
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79162
|
+
*/
|
|
79163
|
+
label: string;
|
|
79164
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79165
|
+
},
|
|
79166
|
+
{
|
|
79167
|
+
/**
|
|
79168
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79169
|
+
*/
|
|
79170
|
+
key: string;
|
|
79171
|
+
/**
|
|
79172
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79173
|
+
*/
|
|
79174
|
+
expr: string;
|
|
79175
|
+
/**
|
|
79176
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79177
|
+
*/
|
|
79178
|
+
label: string;
|
|
79179
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79180
|
+
},
|
|
79181
|
+
{
|
|
79182
|
+
/**
|
|
79183
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79184
|
+
*/
|
|
79185
|
+
key: string;
|
|
79186
|
+
/**
|
|
79187
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79188
|
+
*/
|
|
79189
|
+
expr: string;
|
|
79190
|
+
/**
|
|
79191
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79192
|
+
*/
|
|
79193
|
+
label: string;
|
|
79194
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79195
|
+
}
|
|
79196
|
+
] | [
|
|
79197
|
+
{
|
|
79198
|
+
/**
|
|
79199
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79200
|
+
*/
|
|
79201
|
+
key: string;
|
|
79202
|
+
/**
|
|
79203
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79204
|
+
*/
|
|
79205
|
+
expr: string;
|
|
79206
|
+
/**
|
|
79207
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79208
|
+
*/
|
|
79209
|
+
label: string;
|
|
79210
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79211
|
+
},
|
|
79212
|
+
{
|
|
79213
|
+
/**
|
|
79214
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79215
|
+
*/
|
|
79216
|
+
key: string;
|
|
79217
|
+
/**
|
|
79218
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79219
|
+
*/
|
|
79220
|
+
expr: string;
|
|
79221
|
+
/**
|
|
79222
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79223
|
+
*/
|
|
79224
|
+
label: string;
|
|
79225
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79226
|
+
},
|
|
79227
|
+
{
|
|
79228
|
+
/**
|
|
79229
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79230
|
+
*/
|
|
79231
|
+
key: string;
|
|
79232
|
+
/**
|
|
79233
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79234
|
+
*/
|
|
79235
|
+
expr: string;
|
|
79236
|
+
/**
|
|
79237
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79238
|
+
*/
|
|
79239
|
+
label: string;
|
|
79240
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79241
|
+
},
|
|
79242
|
+
{
|
|
79243
|
+
/**
|
|
79244
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
79245
|
+
*/
|
|
79246
|
+
key: string;
|
|
79247
|
+
/**
|
|
79248
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
79249
|
+
*/
|
|
79250
|
+
expr: string;
|
|
79251
|
+
/**
|
|
79252
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
79253
|
+
*/
|
|
79254
|
+
label: string;
|
|
79255
|
+
format?: AnalyticsDashboardTileRunOutputFormat2;
|
|
79256
|
+
}
|
|
79257
|
+
];
|
|
78900
79258
|
created_at: string;
|
|
78901
79259
|
created_by: (string | null);
|
|
78902
79260
|
product_id: string;
|
|
79261
|
+
/**
|
|
79262
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
79263
|
+
*/
|
|
79264
|
+
rows_label?: string;
|
|
78903
79265
|
updated_at: string;
|
|
78904
79266
|
description?: string;
|
|
78905
79267
|
formula_label?: string;
|
|
78906
|
-
formula_format?:
|
|
79268
|
+
formula_format?: AnalyticsDashboardTileRunOutputFormat3;
|
|
78907
79269
|
} | null);
|
|
79270
|
+
formulas?: {
|
|
79271
|
+
[k: string]: AnalyticsDashboardTileRunOutputItems[];
|
|
79272
|
+
};
|
|
78908
79273
|
formula_label?: string;
|
|
78909
79274
|
series_format: {
|
|
78910
79275
|
[k: string]: AnalyticsDashboardTileRunOutputFormat1;
|
|
@@ -78913,6 +79278,9 @@ export interface AnalyticsDashboardTileRunOutput {
|
|
|
78913
79278
|
[k: string]: string;
|
|
78914
79279
|
};
|
|
78915
79280
|
target_status: (("met" | "missed") | null);
|
|
79281
|
+
formula_labels?: {
|
|
79282
|
+
[k: string]: string;
|
|
79283
|
+
};
|
|
78916
79284
|
filters_skipped?: {
|
|
78917
79285
|
key: string;
|
|
78918
79286
|
steps?: {
|
|
@@ -78921,6 +79289,9 @@ export interface AnalyticsDashboardTileRunOutput {
|
|
|
78921
79289
|
series: string[];
|
|
78922
79290
|
columns?: string[];
|
|
78923
79291
|
}[];
|
|
79292
|
+
formula_formats?: {
|
|
79293
|
+
[k: string]: AnalyticsDashboardTileRunOutputFormat1;
|
|
79294
|
+
};
|
|
78924
79295
|
} | {
|
|
78925
79296
|
error: {
|
|
78926
79297
|
status: number;
|
|
@@ -78992,7 +79363,7 @@ export interface AnalyticsDashboardTileRunOutputCohort {
|
|
|
78992
79363
|
}[];
|
|
78993
79364
|
}
|
|
78994
79365
|
/**
|
|
78995
|
-
* Display format
|
|
79366
|
+
* Display format of the result; defaults to {kind: number}
|
|
78996
79367
|
*/
|
|
78997
79368
|
export interface AnalyticsDashboardTileRunOutputFormat2 {
|
|
78998
79369
|
kind: ("number" | "money" | "percent");
|
|
@@ -79000,6 +79371,15 @@ export interface AnalyticsDashboardTileRunOutputFormat2 {
|
|
|
79000
79371
|
currency?: string;
|
|
79001
79372
|
decimals?: number;
|
|
79002
79373
|
}
|
|
79374
|
+
/**
|
|
79375
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
79376
|
+
*/
|
|
79377
|
+
export interface AnalyticsDashboardTileRunOutputFormat3 {
|
|
79378
|
+
kind: ("number" | "money" | "percent");
|
|
79379
|
+
scale?: ("unit" | "minor" | "micros");
|
|
79380
|
+
currency?: string;
|
|
79381
|
+
decimals?: number;
|
|
79382
|
+
}
|
|
79003
79383
|
export interface AnalyticsDashboardUpdateInput {
|
|
79004
79384
|
/**
|
|
79005
79385
|
* The dashboard's uuid; slugs are not accepted here
|
|
@@ -81425,6 +81805,7 @@ export interface AnalyticsFunnelRunOutput {
|
|
|
81425
81805
|
window_days: number;
|
|
81426
81806
|
};
|
|
81427
81807
|
steps: {
|
|
81808
|
+
label: string;
|
|
81428
81809
|
entity: string;
|
|
81429
81810
|
persons: number;
|
|
81430
81811
|
step_index: number;
|
|
@@ -81449,7 +81830,7 @@ export interface AnalyticsInsightCreateInput {
|
|
|
81449
81830
|
*/
|
|
81450
81831
|
sort?: {
|
|
81451
81832
|
/**
|
|
81452
|
-
* A series key of this insight, or
|
|
81833
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
81453
81834
|
*/
|
|
81454
81835
|
by: (string | "formula");
|
|
81455
81836
|
dir: ("asc" | "desc");
|
|
@@ -118751,9 +119132,174 @@ export interface AnalyticsInsightCreateInput {
|
|
|
118751
119132
|
*/
|
|
118752
119133
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
118753
119134
|
formula?: (string | null);
|
|
119135
|
+
/**
|
|
119136
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
119137
|
+
*
|
|
119138
|
+
* @minItems 1
|
|
119139
|
+
* @maxItems 4
|
|
119140
|
+
*/
|
|
119141
|
+
formulas?: [
|
|
119142
|
+
{
|
|
119143
|
+
/**
|
|
119144
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119145
|
+
*/
|
|
119146
|
+
key: string;
|
|
119147
|
+
/**
|
|
119148
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119149
|
+
*/
|
|
119150
|
+
expr: string;
|
|
119151
|
+
/**
|
|
119152
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119153
|
+
*/
|
|
119154
|
+
label: string;
|
|
119155
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119156
|
+
}
|
|
119157
|
+
] | [
|
|
119158
|
+
{
|
|
119159
|
+
/**
|
|
119160
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119161
|
+
*/
|
|
119162
|
+
key: string;
|
|
119163
|
+
/**
|
|
119164
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119165
|
+
*/
|
|
119166
|
+
expr: string;
|
|
119167
|
+
/**
|
|
119168
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119169
|
+
*/
|
|
119170
|
+
label: string;
|
|
119171
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119172
|
+
},
|
|
119173
|
+
{
|
|
119174
|
+
/**
|
|
119175
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119176
|
+
*/
|
|
119177
|
+
key: string;
|
|
119178
|
+
/**
|
|
119179
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119180
|
+
*/
|
|
119181
|
+
expr: string;
|
|
119182
|
+
/**
|
|
119183
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119184
|
+
*/
|
|
119185
|
+
label: string;
|
|
119186
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119187
|
+
}
|
|
119188
|
+
] | [
|
|
119189
|
+
{
|
|
119190
|
+
/**
|
|
119191
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119192
|
+
*/
|
|
119193
|
+
key: string;
|
|
119194
|
+
/**
|
|
119195
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119196
|
+
*/
|
|
119197
|
+
expr: string;
|
|
119198
|
+
/**
|
|
119199
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119200
|
+
*/
|
|
119201
|
+
label: string;
|
|
119202
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119203
|
+
},
|
|
119204
|
+
{
|
|
119205
|
+
/**
|
|
119206
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119207
|
+
*/
|
|
119208
|
+
key: string;
|
|
119209
|
+
/**
|
|
119210
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119211
|
+
*/
|
|
119212
|
+
expr: string;
|
|
119213
|
+
/**
|
|
119214
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119215
|
+
*/
|
|
119216
|
+
label: string;
|
|
119217
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119218
|
+
},
|
|
119219
|
+
{
|
|
119220
|
+
/**
|
|
119221
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119222
|
+
*/
|
|
119223
|
+
key: string;
|
|
119224
|
+
/**
|
|
119225
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119226
|
+
*/
|
|
119227
|
+
expr: string;
|
|
119228
|
+
/**
|
|
119229
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119230
|
+
*/
|
|
119231
|
+
label: string;
|
|
119232
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119233
|
+
}
|
|
119234
|
+
] | [
|
|
119235
|
+
{
|
|
119236
|
+
/**
|
|
119237
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119238
|
+
*/
|
|
119239
|
+
key: string;
|
|
119240
|
+
/**
|
|
119241
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119242
|
+
*/
|
|
119243
|
+
expr: string;
|
|
119244
|
+
/**
|
|
119245
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119246
|
+
*/
|
|
119247
|
+
label: string;
|
|
119248
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119249
|
+
},
|
|
119250
|
+
{
|
|
119251
|
+
/**
|
|
119252
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119253
|
+
*/
|
|
119254
|
+
key: string;
|
|
119255
|
+
/**
|
|
119256
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119257
|
+
*/
|
|
119258
|
+
expr: string;
|
|
119259
|
+
/**
|
|
119260
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119261
|
+
*/
|
|
119262
|
+
label: string;
|
|
119263
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119264
|
+
},
|
|
119265
|
+
{
|
|
119266
|
+
/**
|
|
119267
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119268
|
+
*/
|
|
119269
|
+
key: string;
|
|
119270
|
+
/**
|
|
119271
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119272
|
+
*/
|
|
119273
|
+
expr: string;
|
|
119274
|
+
/**
|
|
119275
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119276
|
+
*/
|
|
119277
|
+
label: string;
|
|
119278
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119279
|
+
},
|
|
119280
|
+
{
|
|
119281
|
+
/**
|
|
119282
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
119283
|
+
*/
|
|
119284
|
+
key: string;
|
|
119285
|
+
/**
|
|
119286
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
119287
|
+
*/
|
|
119288
|
+
expr: string;
|
|
119289
|
+
/**
|
|
119290
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
119291
|
+
*/
|
|
119292
|
+
label: string;
|
|
119293
|
+
format?: AnalyticsInsightCreateInputFormat;
|
|
119294
|
+
}
|
|
119295
|
+
];
|
|
119296
|
+
/**
|
|
119297
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
119298
|
+
*/
|
|
119299
|
+
rows_label?: string;
|
|
118754
119300
|
description?: string;
|
|
118755
119301
|
formula_label?: string;
|
|
118756
|
-
formula_format?:
|
|
119302
|
+
formula_format?: AnalyticsInsightCreateInputFormat1;
|
|
118757
119303
|
}
|
|
118758
119304
|
/**
|
|
118759
119305
|
* The coming-back event; empty filters mean any row of the entity
|
|
@@ -118780,7 +119326,7 @@ export interface AnalyticsInsightCreateInputCohort {
|
|
|
118780
119326
|
}[];
|
|
118781
119327
|
}
|
|
118782
119328
|
/**
|
|
118783
|
-
* Display format
|
|
119329
|
+
* Display format of the result; defaults to {kind: number}
|
|
118784
119330
|
*/
|
|
118785
119331
|
export interface AnalyticsInsightCreateInputFormat {
|
|
118786
119332
|
kind: ("number" | "money" | "percent");
|
|
@@ -118788,6 +119334,15 @@ export interface AnalyticsInsightCreateInputFormat {
|
|
|
118788
119334
|
currency?: string;
|
|
118789
119335
|
decimals?: number;
|
|
118790
119336
|
}
|
|
119337
|
+
/**
|
|
119338
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
119339
|
+
*/
|
|
119340
|
+
export interface AnalyticsInsightCreateInputFormat1 {
|
|
119341
|
+
kind: ("number" | "money" | "percent");
|
|
119342
|
+
scale?: ("unit" | "minor" | "micros");
|
|
119343
|
+
currency?: string;
|
|
119344
|
+
decimals?: number;
|
|
119345
|
+
}
|
|
118791
119346
|
export interface AnalyticsInsightCreateOutput {
|
|
118792
119347
|
id: string;
|
|
118793
119348
|
kind: ("trend" | "funnel" | "number" | "retention");
|
|
@@ -118798,7 +119353,7 @@ export interface AnalyticsInsightCreateOutput {
|
|
|
118798
119353
|
*/
|
|
118799
119354
|
sort?: {
|
|
118800
119355
|
/**
|
|
118801
|
-
* A series key of this insight, or
|
|
119356
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
118802
119357
|
*/
|
|
118803
119358
|
by: (string | "formula");
|
|
118804
119359
|
dir: ("asc" | "desc");
|
|
@@ -156097,6 +156652,167 @@ export interface AnalyticsInsightCreateOutput {
|
|
|
156097
156652
|
});
|
|
156098
156653
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
156099
156654
|
formula?: (string | null);
|
|
156655
|
+
/**
|
|
156656
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
156657
|
+
*
|
|
156658
|
+
* @minItems 1
|
|
156659
|
+
* @maxItems 4
|
|
156660
|
+
*/
|
|
156661
|
+
formulas?: [
|
|
156662
|
+
{
|
|
156663
|
+
/**
|
|
156664
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156665
|
+
*/
|
|
156666
|
+
key: string;
|
|
156667
|
+
/**
|
|
156668
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156669
|
+
*/
|
|
156670
|
+
expr: string;
|
|
156671
|
+
/**
|
|
156672
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156673
|
+
*/
|
|
156674
|
+
label: string;
|
|
156675
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156676
|
+
}
|
|
156677
|
+
] | [
|
|
156678
|
+
{
|
|
156679
|
+
/**
|
|
156680
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156681
|
+
*/
|
|
156682
|
+
key: string;
|
|
156683
|
+
/**
|
|
156684
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156685
|
+
*/
|
|
156686
|
+
expr: string;
|
|
156687
|
+
/**
|
|
156688
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156689
|
+
*/
|
|
156690
|
+
label: string;
|
|
156691
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156692
|
+
},
|
|
156693
|
+
{
|
|
156694
|
+
/**
|
|
156695
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156696
|
+
*/
|
|
156697
|
+
key: string;
|
|
156698
|
+
/**
|
|
156699
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156700
|
+
*/
|
|
156701
|
+
expr: string;
|
|
156702
|
+
/**
|
|
156703
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156704
|
+
*/
|
|
156705
|
+
label: string;
|
|
156706
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156707
|
+
}
|
|
156708
|
+
] | [
|
|
156709
|
+
{
|
|
156710
|
+
/**
|
|
156711
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156712
|
+
*/
|
|
156713
|
+
key: string;
|
|
156714
|
+
/**
|
|
156715
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156716
|
+
*/
|
|
156717
|
+
expr: string;
|
|
156718
|
+
/**
|
|
156719
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156720
|
+
*/
|
|
156721
|
+
label: string;
|
|
156722
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156723
|
+
},
|
|
156724
|
+
{
|
|
156725
|
+
/**
|
|
156726
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156727
|
+
*/
|
|
156728
|
+
key: string;
|
|
156729
|
+
/**
|
|
156730
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156731
|
+
*/
|
|
156732
|
+
expr: string;
|
|
156733
|
+
/**
|
|
156734
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156735
|
+
*/
|
|
156736
|
+
label: string;
|
|
156737
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156738
|
+
},
|
|
156739
|
+
{
|
|
156740
|
+
/**
|
|
156741
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156742
|
+
*/
|
|
156743
|
+
key: string;
|
|
156744
|
+
/**
|
|
156745
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156746
|
+
*/
|
|
156747
|
+
expr: string;
|
|
156748
|
+
/**
|
|
156749
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156750
|
+
*/
|
|
156751
|
+
label: string;
|
|
156752
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156753
|
+
}
|
|
156754
|
+
] | [
|
|
156755
|
+
{
|
|
156756
|
+
/**
|
|
156757
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156758
|
+
*/
|
|
156759
|
+
key: string;
|
|
156760
|
+
/**
|
|
156761
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156762
|
+
*/
|
|
156763
|
+
expr: string;
|
|
156764
|
+
/**
|
|
156765
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156766
|
+
*/
|
|
156767
|
+
label: string;
|
|
156768
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156769
|
+
},
|
|
156770
|
+
{
|
|
156771
|
+
/**
|
|
156772
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156773
|
+
*/
|
|
156774
|
+
key: string;
|
|
156775
|
+
/**
|
|
156776
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156777
|
+
*/
|
|
156778
|
+
expr: string;
|
|
156779
|
+
/**
|
|
156780
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156781
|
+
*/
|
|
156782
|
+
label: string;
|
|
156783
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156784
|
+
},
|
|
156785
|
+
{
|
|
156786
|
+
/**
|
|
156787
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156788
|
+
*/
|
|
156789
|
+
key: string;
|
|
156790
|
+
/**
|
|
156791
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156792
|
+
*/
|
|
156793
|
+
expr: string;
|
|
156794
|
+
/**
|
|
156795
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156796
|
+
*/
|
|
156797
|
+
label: string;
|
|
156798
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156799
|
+
},
|
|
156800
|
+
{
|
|
156801
|
+
/**
|
|
156802
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
156803
|
+
*/
|
|
156804
|
+
key: string;
|
|
156805
|
+
/**
|
|
156806
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
156807
|
+
*/
|
|
156808
|
+
expr: string;
|
|
156809
|
+
/**
|
|
156810
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
156811
|
+
*/
|
|
156812
|
+
label: string;
|
|
156813
|
+
format?: AnalyticsInsightCreateOutputFormat;
|
|
156814
|
+
}
|
|
156815
|
+
];
|
|
156100
156816
|
warnings: {
|
|
156101
156817
|
code: string;
|
|
156102
156818
|
path: string;
|
|
@@ -156105,10 +156821,14 @@ export interface AnalyticsInsightCreateOutput {
|
|
|
156105
156821
|
created_at: string;
|
|
156106
156822
|
created_by: (string | null);
|
|
156107
156823
|
product_id: string;
|
|
156824
|
+
/**
|
|
156825
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
156826
|
+
*/
|
|
156827
|
+
rows_label?: string;
|
|
156108
156828
|
updated_at: string;
|
|
156109
156829
|
description?: string;
|
|
156110
156830
|
formula_label?: string;
|
|
156111
|
-
formula_format?:
|
|
156831
|
+
formula_format?: AnalyticsInsightCreateOutputFormat1;
|
|
156112
156832
|
}
|
|
156113
156833
|
/**
|
|
156114
156834
|
* The coming-back event; empty filters mean any row of the entity
|
|
@@ -156135,7 +156855,7 @@ export interface AnalyticsInsightCreateOutputCohort {
|
|
|
156135
156855
|
}[];
|
|
156136
156856
|
}
|
|
156137
156857
|
/**
|
|
156138
|
-
* Display format
|
|
156858
|
+
* Display format of the result; defaults to {kind: number}
|
|
156139
156859
|
*/
|
|
156140
156860
|
export interface AnalyticsInsightCreateOutputFormat {
|
|
156141
156861
|
kind: ("number" | "money" | "percent");
|
|
@@ -156143,6 +156863,15 @@ export interface AnalyticsInsightCreateOutputFormat {
|
|
|
156143
156863
|
currency?: string;
|
|
156144
156864
|
decimals?: number;
|
|
156145
156865
|
}
|
|
156866
|
+
/**
|
|
156867
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
156868
|
+
*/
|
|
156869
|
+
export interface AnalyticsInsightCreateOutputFormat1 {
|
|
156870
|
+
kind: ("number" | "money" | "percent");
|
|
156871
|
+
scale?: ("unit" | "minor" | "micros");
|
|
156872
|
+
currency?: string;
|
|
156873
|
+
decimals?: number;
|
|
156874
|
+
}
|
|
156146
156875
|
export interface AnalyticsInsightDeleteInput {
|
|
156147
156876
|
/**
|
|
156148
156877
|
* The insight's uuid; slugs are not accepted here
|
|
@@ -156169,7 +156898,7 @@ export interface AnalyticsInsightGetOutput {
|
|
|
156169
156898
|
*/
|
|
156170
156899
|
sort?: {
|
|
156171
156900
|
/**
|
|
156172
|
-
* A series key of this insight, or
|
|
156901
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
156173
156902
|
*/
|
|
156174
156903
|
by: (string | "formula");
|
|
156175
156904
|
dir: ("asc" | "desc");
|
|
@@ -193468,13 +194197,178 @@ export interface AnalyticsInsightGetOutput {
|
|
|
193468
194197
|
});
|
|
193469
194198
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
193470
194199
|
formula?: (string | null);
|
|
194200
|
+
/**
|
|
194201
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
194202
|
+
*
|
|
194203
|
+
* @minItems 1
|
|
194204
|
+
* @maxItems 4
|
|
194205
|
+
*/
|
|
194206
|
+
formulas?: [
|
|
194207
|
+
{
|
|
194208
|
+
/**
|
|
194209
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194210
|
+
*/
|
|
194211
|
+
key: string;
|
|
194212
|
+
/**
|
|
194213
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194214
|
+
*/
|
|
194215
|
+
expr: string;
|
|
194216
|
+
/**
|
|
194217
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194218
|
+
*/
|
|
194219
|
+
label: string;
|
|
194220
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194221
|
+
}
|
|
194222
|
+
] | [
|
|
194223
|
+
{
|
|
194224
|
+
/**
|
|
194225
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194226
|
+
*/
|
|
194227
|
+
key: string;
|
|
194228
|
+
/**
|
|
194229
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194230
|
+
*/
|
|
194231
|
+
expr: string;
|
|
194232
|
+
/**
|
|
194233
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194234
|
+
*/
|
|
194235
|
+
label: string;
|
|
194236
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194237
|
+
},
|
|
194238
|
+
{
|
|
194239
|
+
/**
|
|
194240
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194241
|
+
*/
|
|
194242
|
+
key: string;
|
|
194243
|
+
/**
|
|
194244
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194245
|
+
*/
|
|
194246
|
+
expr: string;
|
|
194247
|
+
/**
|
|
194248
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194249
|
+
*/
|
|
194250
|
+
label: string;
|
|
194251
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194252
|
+
}
|
|
194253
|
+
] | [
|
|
194254
|
+
{
|
|
194255
|
+
/**
|
|
194256
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194257
|
+
*/
|
|
194258
|
+
key: string;
|
|
194259
|
+
/**
|
|
194260
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194261
|
+
*/
|
|
194262
|
+
expr: string;
|
|
194263
|
+
/**
|
|
194264
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194265
|
+
*/
|
|
194266
|
+
label: string;
|
|
194267
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194268
|
+
},
|
|
194269
|
+
{
|
|
194270
|
+
/**
|
|
194271
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194272
|
+
*/
|
|
194273
|
+
key: string;
|
|
194274
|
+
/**
|
|
194275
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194276
|
+
*/
|
|
194277
|
+
expr: string;
|
|
194278
|
+
/**
|
|
194279
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194280
|
+
*/
|
|
194281
|
+
label: string;
|
|
194282
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194283
|
+
},
|
|
194284
|
+
{
|
|
194285
|
+
/**
|
|
194286
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194287
|
+
*/
|
|
194288
|
+
key: string;
|
|
194289
|
+
/**
|
|
194290
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194291
|
+
*/
|
|
194292
|
+
expr: string;
|
|
194293
|
+
/**
|
|
194294
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194295
|
+
*/
|
|
194296
|
+
label: string;
|
|
194297
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194298
|
+
}
|
|
194299
|
+
] | [
|
|
194300
|
+
{
|
|
194301
|
+
/**
|
|
194302
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194303
|
+
*/
|
|
194304
|
+
key: string;
|
|
194305
|
+
/**
|
|
194306
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194307
|
+
*/
|
|
194308
|
+
expr: string;
|
|
194309
|
+
/**
|
|
194310
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194311
|
+
*/
|
|
194312
|
+
label: string;
|
|
194313
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194314
|
+
},
|
|
194315
|
+
{
|
|
194316
|
+
/**
|
|
194317
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194318
|
+
*/
|
|
194319
|
+
key: string;
|
|
194320
|
+
/**
|
|
194321
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194322
|
+
*/
|
|
194323
|
+
expr: string;
|
|
194324
|
+
/**
|
|
194325
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194326
|
+
*/
|
|
194327
|
+
label: string;
|
|
194328
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194329
|
+
},
|
|
194330
|
+
{
|
|
194331
|
+
/**
|
|
194332
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194333
|
+
*/
|
|
194334
|
+
key: string;
|
|
194335
|
+
/**
|
|
194336
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194337
|
+
*/
|
|
194338
|
+
expr: string;
|
|
194339
|
+
/**
|
|
194340
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194341
|
+
*/
|
|
194342
|
+
label: string;
|
|
194343
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194344
|
+
},
|
|
194345
|
+
{
|
|
194346
|
+
/**
|
|
194347
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
194348
|
+
*/
|
|
194349
|
+
key: string;
|
|
194350
|
+
/**
|
|
194351
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
194352
|
+
*/
|
|
194353
|
+
expr: string;
|
|
194354
|
+
/**
|
|
194355
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
194356
|
+
*/
|
|
194357
|
+
label: string;
|
|
194358
|
+
format?: AnalyticsInsightGetOutputFormat;
|
|
194359
|
+
}
|
|
194360
|
+
];
|
|
193471
194361
|
created_at: string;
|
|
193472
194362
|
created_by: (string | null);
|
|
193473
194363
|
product_id: string;
|
|
194364
|
+
/**
|
|
194365
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
194366
|
+
*/
|
|
194367
|
+
rows_label?: string;
|
|
193474
194368
|
updated_at: string;
|
|
193475
194369
|
description?: string;
|
|
193476
194370
|
formula_label?: string;
|
|
193477
|
-
formula_format?:
|
|
194371
|
+
formula_format?: AnalyticsInsightGetOutputFormat1;
|
|
193478
194372
|
}
|
|
193479
194373
|
/**
|
|
193480
194374
|
* The coming-back event; empty filters mean any row of the entity
|
|
@@ -193501,7 +194395,7 @@ export interface AnalyticsInsightGetOutputCohort {
|
|
|
193501
194395
|
}[];
|
|
193502
194396
|
}
|
|
193503
194397
|
/**
|
|
193504
|
-
* Display format
|
|
194398
|
+
* Display format of the result; defaults to {kind: number}
|
|
193505
194399
|
*/
|
|
193506
194400
|
export interface AnalyticsInsightGetOutputFormat {
|
|
193507
194401
|
kind: ("number" | "money" | "percent");
|
|
@@ -193509,6 +194403,15 @@ export interface AnalyticsInsightGetOutputFormat {
|
|
|
193509
194403
|
currency?: string;
|
|
193510
194404
|
decimals?: number;
|
|
193511
194405
|
}
|
|
194406
|
+
/**
|
|
194407
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
194408
|
+
*/
|
|
194409
|
+
export interface AnalyticsInsightGetOutputFormat1 {
|
|
194410
|
+
kind: ("number" | "money" | "percent");
|
|
194411
|
+
scale?: ("unit" | "minor" | "micros");
|
|
194412
|
+
currency?: string;
|
|
194413
|
+
decimals?: number;
|
|
194414
|
+
}
|
|
193512
194415
|
export interface AnalyticsInsightListInput {
|
|
193513
194416
|
/**
|
|
193514
194417
|
* Case-insensitive substring of the name or slug
|
|
@@ -193530,7 +194433,7 @@ export interface AnalyticsInsightListOutput {
|
|
|
193530
194433
|
*/
|
|
193531
194434
|
sort?: {
|
|
193532
194435
|
/**
|
|
193533
|
-
* A series key of this insight, or
|
|
194436
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
193534
194437
|
*/
|
|
193535
194438
|
by: (string | "formula");
|
|
193536
194439
|
dir: ("asc" | "desc");
|
|
@@ -230829,13 +231732,178 @@ export interface AnalyticsInsightListOutput {
|
|
|
230829
231732
|
});
|
|
230830
231733
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
230831
231734
|
formula?: (string | null);
|
|
231735
|
+
/**
|
|
231736
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
231737
|
+
*
|
|
231738
|
+
* @minItems 1
|
|
231739
|
+
* @maxItems 4
|
|
231740
|
+
*/
|
|
231741
|
+
formulas?: [
|
|
231742
|
+
{
|
|
231743
|
+
/**
|
|
231744
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231745
|
+
*/
|
|
231746
|
+
key: string;
|
|
231747
|
+
/**
|
|
231748
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231749
|
+
*/
|
|
231750
|
+
expr: string;
|
|
231751
|
+
/**
|
|
231752
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231753
|
+
*/
|
|
231754
|
+
label: string;
|
|
231755
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231756
|
+
}
|
|
231757
|
+
] | [
|
|
231758
|
+
{
|
|
231759
|
+
/**
|
|
231760
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231761
|
+
*/
|
|
231762
|
+
key: string;
|
|
231763
|
+
/**
|
|
231764
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231765
|
+
*/
|
|
231766
|
+
expr: string;
|
|
231767
|
+
/**
|
|
231768
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231769
|
+
*/
|
|
231770
|
+
label: string;
|
|
231771
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231772
|
+
},
|
|
231773
|
+
{
|
|
231774
|
+
/**
|
|
231775
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231776
|
+
*/
|
|
231777
|
+
key: string;
|
|
231778
|
+
/**
|
|
231779
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231780
|
+
*/
|
|
231781
|
+
expr: string;
|
|
231782
|
+
/**
|
|
231783
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231784
|
+
*/
|
|
231785
|
+
label: string;
|
|
231786
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231787
|
+
}
|
|
231788
|
+
] | [
|
|
231789
|
+
{
|
|
231790
|
+
/**
|
|
231791
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231792
|
+
*/
|
|
231793
|
+
key: string;
|
|
231794
|
+
/**
|
|
231795
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231796
|
+
*/
|
|
231797
|
+
expr: string;
|
|
231798
|
+
/**
|
|
231799
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231800
|
+
*/
|
|
231801
|
+
label: string;
|
|
231802
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231803
|
+
},
|
|
231804
|
+
{
|
|
231805
|
+
/**
|
|
231806
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231807
|
+
*/
|
|
231808
|
+
key: string;
|
|
231809
|
+
/**
|
|
231810
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231811
|
+
*/
|
|
231812
|
+
expr: string;
|
|
231813
|
+
/**
|
|
231814
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231815
|
+
*/
|
|
231816
|
+
label: string;
|
|
231817
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231818
|
+
},
|
|
231819
|
+
{
|
|
231820
|
+
/**
|
|
231821
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231822
|
+
*/
|
|
231823
|
+
key: string;
|
|
231824
|
+
/**
|
|
231825
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231826
|
+
*/
|
|
231827
|
+
expr: string;
|
|
231828
|
+
/**
|
|
231829
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231830
|
+
*/
|
|
231831
|
+
label: string;
|
|
231832
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231833
|
+
}
|
|
231834
|
+
] | [
|
|
231835
|
+
{
|
|
231836
|
+
/**
|
|
231837
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231838
|
+
*/
|
|
231839
|
+
key: string;
|
|
231840
|
+
/**
|
|
231841
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231842
|
+
*/
|
|
231843
|
+
expr: string;
|
|
231844
|
+
/**
|
|
231845
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231846
|
+
*/
|
|
231847
|
+
label: string;
|
|
231848
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231849
|
+
},
|
|
231850
|
+
{
|
|
231851
|
+
/**
|
|
231852
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231853
|
+
*/
|
|
231854
|
+
key: string;
|
|
231855
|
+
/**
|
|
231856
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231857
|
+
*/
|
|
231858
|
+
expr: string;
|
|
231859
|
+
/**
|
|
231860
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231861
|
+
*/
|
|
231862
|
+
label: string;
|
|
231863
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231864
|
+
},
|
|
231865
|
+
{
|
|
231866
|
+
/**
|
|
231867
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231868
|
+
*/
|
|
231869
|
+
key: string;
|
|
231870
|
+
/**
|
|
231871
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231872
|
+
*/
|
|
231873
|
+
expr: string;
|
|
231874
|
+
/**
|
|
231875
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231876
|
+
*/
|
|
231877
|
+
label: string;
|
|
231878
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231879
|
+
},
|
|
231880
|
+
{
|
|
231881
|
+
/**
|
|
231882
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
231883
|
+
*/
|
|
231884
|
+
key: string;
|
|
231885
|
+
/**
|
|
231886
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
231887
|
+
*/
|
|
231888
|
+
expr: string;
|
|
231889
|
+
/**
|
|
231890
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
231891
|
+
*/
|
|
231892
|
+
label: string;
|
|
231893
|
+
format?: AnalyticsInsightListOutputFormat;
|
|
231894
|
+
}
|
|
231895
|
+
];
|
|
230832
231896
|
created_at: string;
|
|
230833
231897
|
created_by: (string | null);
|
|
230834
231898
|
product_id: string;
|
|
231899
|
+
/**
|
|
231900
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
231901
|
+
*/
|
|
231902
|
+
rows_label?: string;
|
|
230835
231903
|
updated_at: string;
|
|
230836
231904
|
description?: string;
|
|
230837
231905
|
formula_label?: string;
|
|
230838
|
-
formula_format?:
|
|
231906
|
+
formula_format?: AnalyticsInsightListOutputFormat1;
|
|
230839
231907
|
}[];
|
|
230840
231908
|
}
|
|
230841
231909
|
/**
|
|
@@ -230863,7 +231931,7 @@ export interface AnalyticsInsightListOutputCohort {
|
|
|
230863
231931
|
}[];
|
|
230864
231932
|
}
|
|
230865
231933
|
/**
|
|
230866
|
-
* Display format
|
|
231934
|
+
* Display format of the result; defaults to {kind: number}
|
|
230867
231935
|
*/
|
|
230868
231936
|
export interface AnalyticsInsightListOutputFormat {
|
|
230869
231937
|
kind: ("number" | "money" | "percent");
|
|
@@ -230871,6 +231939,15 @@ export interface AnalyticsInsightListOutputFormat {
|
|
|
230871
231939
|
currency?: string;
|
|
230872
231940
|
decimals?: number;
|
|
230873
231941
|
}
|
|
231942
|
+
/**
|
|
231943
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
231944
|
+
*/
|
|
231945
|
+
export interface AnalyticsInsightListOutputFormat1 {
|
|
231946
|
+
kind: ("number" | "money" | "percent");
|
|
231947
|
+
scale?: ("unit" | "minor" | "micros");
|
|
231948
|
+
currency?: string;
|
|
231949
|
+
decimals?: number;
|
|
231950
|
+
}
|
|
230874
231951
|
export interface AnalyticsInsightRunInput {
|
|
230875
231952
|
/**
|
|
230876
231953
|
* Inclusive window end; overrides the stored window
|
|
@@ -230914,6 +231991,7 @@ export interface AnalyticsInsightRunOutput {
|
|
|
230914
231991
|
currency?: {
|
|
230915
231992
|
[k: string]: string;
|
|
230916
231993
|
};
|
|
231994
|
+
step_pct?: AnalyticsInsightRunOutputCells;
|
|
230917
231995
|
}[];
|
|
230918
231996
|
sort: {
|
|
230919
231997
|
by: string;
|
|
@@ -230924,14 +232002,17 @@ export interface AnalyticsInsightRunOutput {
|
|
|
230924
232002
|
reasons?: {
|
|
230925
232003
|
[k: string]: string;
|
|
230926
232004
|
};
|
|
232005
|
+
step_pct?: AnalyticsInsightRunOutputCells;
|
|
230927
232006
|
} | null);
|
|
230928
232007
|
total: AnalyticsInsightRunOutputCells;
|
|
232008
|
+
rows_label?: string;
|
|
230929
232009
|
series_steps?: {
|
|
230930
232010
|
[k: string]: string[];
|
|
230931
232011
|
};
|
|
230932
232012
|
total_reasons?: {
|
|
230933
232013
|
[k: string]: string;
|
|
230934
232014
|
};
|
|
232015
|
+
total_step_pct?: AnalyticsInsightRunOutputCells;
|
|
230935
232016
|
};
|
|
230936
232017
|
steps?: {
|
|
230937
232018
|
[k: string]: {
|
|
@@ -230972,6 +232053,9 @@ export interface AnalyticsInsightRunOutput {
|
|
|
230972
232053
|
from: string;
|
|
230973
232054
|
};
|
|
230974
232055
|
formula?: (AnalyticsInsightRunOutputItems1[] | null);
|
|
232056
|
+
formulas?: {
|
|
232057
|
+
[k: string]: AnalyticsInsightRunOutputItems1[];
|
|
232058
|
+
};
|
|
230975
232059
|
};
|
|
230976
232060
|
formula: (AnalyticsInsightRunOutputItems[] | null);
|
|
230977
232061
|
insight: ({
|
|
@@ -230984,7 +232068,7 @@ export interface AnalyticsInsightRunOutput {
|
|
|
230984
232068
|
*/
|
|
230985
232069
|
sort?: {
|
|
230986
232070
|
/**
|
|
230987
|
-
* A series key of this insight, or
|
|
232071
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
230988
232072
|
*/
|
|
230989
232073
|
by: (string | "formula");
|
|
230990
232074
|
dir: ("asc" | "desc");
|
|
@@ -267995,14 +269079,182 @@ export interface AnalyticsInsightRunOutput {
|
|
|
267995
269079
|
});
|
|
267996
269080
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
267997
269081
|
formula?: (string | null);
|
|
269082
|
+
/**
|
|
269083
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
269084
|
+
*
|
|
269085
|
+
* @minItems 1
|
|
269086
|
+
* @maxItems 4
|
|
269087
|
+
*/
|
|
269088
|
+
formulas?: [
|
|
269089
|
+
{
|
|
269090
|
+
/**
|
|
269091
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269092
|
+
*/
|
|
269093
|
+
key: string;
|
|
269094
|
+
/**
|
|
269095
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269096
|
+
*/
|
|
269097
|
+
expr: string;
|
|
269098
|
+
/**
|
|
269099
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269100
|
+
*/
|
|
269101
|
+
label: string;
|
|
269102
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269103
|
+
}
|
|
269104
|
+
] | [
|
|
269105
|
+
{
|
|
269106
|
+
/**
|
|
269107
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269108
|
+
*/
|
|
269109
|
+
key: string;
|
|
269110
|
+
/**
|
|
269111
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269112
|
+
*/
|
|
269113
|
+
expr: string;
|
|
269114
|
+
/**
|
|
269115
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269116
|
+
*/
|
|
269117
|
+
label: string;
|
|
269118
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269119
|
+
},
|
|
269120
|
+
{
|
|
269121
|
+
/**
|
|
269122
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269123
|
+
*/
|
|
269124
|
+
key: string;
|
|
269125
|
+
/**
|
|
269126
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269127
|
+
*/
|
|
269128
|
+
expr: string;
|
|
269129
|
+
/**
|
|
269130
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269131
|
+
*/
|
|
269132
|
+
label: string;
|
|
269133
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269134
|
+
}
|
|
269135
|
+
] | [
|
|
269136
|
+
{
|
|
269137
|
+
/**
|
|
269138
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269139
|
+
*/
|
|
269140
|
+
key: string;
|
|
269141
|
+
/**
|
|
269142
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269143
|
+
*/
|
|
269144
|
+
expr: string;
|
|
269145
|
+
/**
|
|
269146
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269147
|
+
*/
|
|
269148
|
+
label: string;
|
|
269149
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269150
|
+
},
|
|
269151
|
+
{
|
|
269152
|
+
/**
|
|
269153
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269154
|
+
*/
|
|
269155
|
+
key: string;
|
|
269156
|
+
/**
|
|
269157
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269158
|
+
*/
|
|
269159
|
+
expr: string;
|
|
269160
|
+
/**
|
|
269161
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269162
|
+
*/
|
|
269163
|
+
label: string;
|
|
269164
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269165
|
+
},
|
|
269166
|
+
{
|
|
269167
|
+
/**
|
|
269168
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269169
|
+
*/
|
|
269170
|
+
key: string;
|
|
269171
|
+
/**
|
|
269172
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269173
|
+
*/
|
|
269174
|
+
expr: string;
|
|
269175
|
+
/**
|
|
269176
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269177
|
+
*/
|
|
269178
|
+
label: string;
|
|
269179
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269180
|
+
}
|
|
269181
|
+
] | [
|
|
269182
|
+
{
|
|
269183
|
+
/**
|
|
269184
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269185
|
+
*/
|
|
269186
|
+
key: string;
|
|
269187
|
+
/**
|
|
269188
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269189
|
+
*/
|
|
269190
|
+
expr: string;
|
|
269191
|
+
/**
|
|
269192
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269193
|
+
*/
|
|
269194
|
+
label: string;
|
|
269195
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269196
|
+
},
|
|
269197
|
+
{
|
|
269198
|
+
/**
|
|
269199
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269200
|
+
*/
|
|
269201
|
+
key: string;
|
|
269202
|
+
/**
|
|
269203
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269204
|
+
*/
|
|
269205
|
+
expr: string;
|
|
269206
|
+
/**
|
|
269207
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269208
|
+
*/
|
|
269209
|
+
label: string;
|
|
269210
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269211
|
+
},
|
|
269212
|
+
{
|
|
269213
|
+
/**
|
|
269214
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269215
|
+
*/
|
|
269216
|
+
key: string;
|
|
269217
|
+
/**
|
|
269218
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269219
|
+
*/
|
|
269220
|
+
expr: string;
|
|
269221
|
+
/**
|
|
269222
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269223
|
+
*/
|
|
269224
|
+
label: string;
|
|
269225
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269226
|
+
},
|
|
269227
|
+
{
|
|
269228
|
+
/**
|
|
269229
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
269230
|
+
*/
|
|
269231
|
+
key: string;
|
|
269232
|
+
/**
|
|
269233
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
269234
|
+
*/
|
|
269235
|
+
expr: string;
|
|
269236
|
+
/**
|
|
269237
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
269238
|
+
*/
|
|
269239
|
+
label: string;
|
|
269240
|
+
format?: AnalyticsInsightRunOutputFormat2;
|
|
269241
|
+
}
|
|
269242
|
+
];
|
|
267998
269243
|
created_at: string;
|
|
267999
269244
|
created_by: (string | null);
|
|
268000
269245
|
product_id: string;
|
|
269246
|
+
/**
|
|
269247
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
269248
|
+
*/
|
|
269249
|
+
rows_label?: string;
|
|
268001
269250
|
updated_at: string;
|
|
268002
269251
|
description?: string;
|
|
268003
269252
|
formula_label?: string;
|
|
268004
|
-
formula_format?:
|
|
269253
|
+
formula_format?: AnalyticsInsightRunOutputFormat3;
|
|
268005
269254
|
} | null);
|
|
269255
|
+
formulas?: {
|
|
269256
|
+
[k: string]: AnalyticsInsightRunOutputItems[];
|
|
269257
|
+
};
|
|
268006
269258
|
formula_label?: string;
|
|
268007
269259
|
series_format: {
|
|
268008
269260
|
[k: string]: AnalyticsInsightRunOutputFormat1;
|
|
@@ -268011,6 +269263,9 @@ export interface AnalyticsInsightRunOutput {
|
|
|
268011
269263
|
[k: string]: string;
|
|
268012
269264
|
};
|
|
268013
269265
|
target_status: (("met" | "missed") | null);
|
|
269266
|
+
formula_labels?: {
|
|
269267
|
+
[k: string]: string;
|
|
269268
|
+
};
|
|
268014
269269
|
filters_skipped?: {
|
|
268015
269270
|
key: string;
|
|
268016
269271
|
steps?: {
|
|
@@ -268019,6 +269274,9 @@ export interface AnalyticsInsightRunOutput {
|
|
|
268019
269274
|
series: string[];
|
|
268020
269275
|
columns?: string[];
|
|
268021
269276
|
}[];
|
|
269277
|
+
formula_formats?: {
|
|
269278
|
+
[k: string]: AnalyticsInsightRunOutputFormat1;
|
|
269279
|
+
};
|
|
268022
269280
|
}
|
|
268023
269281
|
export interface AnalyticsInsightRunOutputCells {
|
|
268024
269282
|
[k: string]: (number | null);
|
|
@@ -268078,7 +269336,7 @@ export interface AnalyticsInsightRunOutputCohort {
|
|
|
268078
269336
|
}[];
|
|
268079
269337
|
}
|
|
268080
269338
|
/**
|
|
268081
|
-
* Display format
|
|
269339
|
+
* Display format of the result; defaults to {kind: number}
|
|
268082
269340
|
*/
|
|
268083
269341
|
export interface AnalyticsInsightRunOutputFormat2 {
|
|
268084
269342
|
kind: ("number" | "money" | "percent");
|
|
@@ -268086,6 +269344,15 @@ export interface AnalyticsInsightRunOutputFormat2 {
|
|
|
268086
269344
|
currency?: string;
|
|
268087
269345
|
decimals?: number;
|
|
268088
269346
|
}
|
|
269347
|
+
/**
|
|
269348
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
269349
|
+
*/
|
|
269350
|
+
export interface AnalyticsInsightRunOutputFormat3 {
|
|
269351
|
+
kind: ("number" | "money" | "percent");
|
|
269352
|
+
scale?: ("unit" | "minor" | "micros");
|
|
269353
|
+
currency?: string;
|
|
269354
|
+
decimals?: number;
|
|
269355
|
+
}
|
|
268089
269356
|
export interface AnalyticsInsightUpdateInput {
|
|
268090
269357
|
/**
|
|
268091
269358
|
* The insight's uuid; slugs are not accepted here
|
|
@@ -268095,7 +269362,7 @@ export interface AnalyticsInsightUpdateInput {
|
|
|
268095
269362
|
name?: string;
|
|
268096
269363
|
sort?: ({
|
|
268097
269364
|
/**
|
|
268098
|
-
* A series key of this insight, or
|
|
269365
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
268099
269366
|
*/
|
|
268100
269367
|
by: (string | "formula");
|
|
268101
269368
|
dir: ("asc" | "desc");
|
|
@@ -305103,6 +306370,165 @@ export interface AnalyticsInsightUpdateInput {
|
|
|
305103
306370
|
});
|
|
305104
306371
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
305105
306372
|
formula?: (string | null);
|
|
306373
|
+
/**
|
|
306374
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
306375
|
+
*/
|
|
306376
|
+
formulas?: ([
|
|
306377
|
+
{
|
|
306378
|
+
/**
|
|
306379
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306380
|
+
*/
|
|
306381
|
+
key: string;
|
|
306382
|
+
/**
|
|
306383
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306384
|
+
*/
|
|
306385
|
+
expr: string;
|
|
306386
|
+
/**
|
|
306387
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306388
|
+
*/
|
|
306389
|
+
label: string;
|
|
306390
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306391
|
+
}
|
|
306392
|
+
] | [
|
|
306393
|
+
{
|
|
306394
|
+
/**
|
|
306395
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306396
|
+
*/
|
|
306397
|
+
key: string;
|
|
306398
|
+
/**
|
|
306399
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306400
|
+
*/
|
|
306401
|
+
expr: string;
|
|
306402
|
+
/**
|
|
306403
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306404
|
+
*/
|
|
306405
|
+
label: string;
|
|
306406
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306407
|
+
},
|
|
306408
|
+
{
|
|
306409
|
+
/**
|
|
306410
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306411
|
+
*/
|
|
306412
|
+
key: string;
|
|
306413
|
+
/**
|
|
306414
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306415
|
+
*/
|
|
306416
|
+
expr: string;
|
|
306417
|
+
/**
|
|
306418
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306419
|
+
*/
|
|
306420
|
+
label: string;
|
|
306421
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306422
|
+
}
|
|
306423
|
+
] | [
|
|
306424
|
+
{
|
|
306425
|
+
/**
|
|
306426
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306427
|
+
*/
|
|
306428
|
+
key: string;
|
|
306429
|
+
/**
|
|
306430
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306431
|
+
*/
|
|
306432
|
+
expr: string;
|
|
306433
|
+
/**
|
|
306434
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306435
|
+
*/
|
|
306436
|
+
label: string;
|
|
306437
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306438
|
+
},
|
|
306439
|
+
{
|
|
306440
|
+
/**
|
|
306441
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306442
|
+
*/
|
|
306443
|
+
key: string;
|
|
306444
|
+
/**
|
|
306445
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306446
|
+
*/
|
|
306447
|
+
expr: string;
|
|
306448
|
+
/**
|
|
306449
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306450
|
+
*/
|
|
306451
|
+
label: string;
|
|
306452
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306453
|
+
},
|
|
306454
|
+
{
|
|
306455
|
+
/**
|
|
306456
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306457
|
+
*/
|
|
306458
|
+
key: string;
|
|
306459
|
+
/**
|
|
306460
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306461
|
+
*/
|
|
306462
|
+
expr: string;
|
|
306463
|
+
/**
|
|
306464
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306465
|
+
*/
|
|
306466
|
+
label: string;
|
|
306467
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306468
|
+
}
|
|
306469
|
+
] | [
|
|
306470
|
+
{
|
|
306471
|
+
/**
|
|
306472
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306473
|
+
*/
|
|
306474
|
+
key: string;
|
|
306475
|
+
/**
|
|
306476
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306477
|
+
*/
|
|
306478
|
+
expr: string;
|
|
306479
|
+
/**
|
|
306480
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306481
|
+
*/
|
|
306482
|
+
label: string;
|
|
306483
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306484
|
+
},
|
|
306485
|
+
{
|
|
306486
|
+
/**
|
|
306487
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306488
|
+
*/
|
|
306489
|
+
key: string;
|
|
306490
|
+
/**
|
|
306491
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306492
|
+
*/
|
|
306493
|
+
expr: string;
|
|
306494
|
+
/**
|
|
306495
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306496
|
+
*/
|
|
306497
|
+
label: string;
|
|
306498
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306499
|
+
},
|
|
306500
|
+
{
|
|
306501
|
+
/**
|
|
306502
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306503
|
+
*/
|
|
306504
|
+
key: string;
|
|
306505
|
+
/**
|
|
306506
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306507
|
+
*/
|
|
306508
|
+
expr: string;
|
|
306509
|
+
/**
|
|
306510
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306511
|
+
*/
|
|
306512
|
+
label: string;
|
|
306513
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306514
|
+
},
|
|
306515
|
+
{
|
|
306516
|
+
/**
|
|
306517
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
306518
|
+
*/
|
|
306519
|
+
key: string;
|
|
306520
|
+
/**
|
|
306521
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
306522
|
+
*/
|
|
306523
|
+
expr: string;
|
|
306524
|
+
/**
|
|
306525
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
306526
|
+
*/
|
|
306527
|
+
label: string;
|
|
306528
|
+
format?: AnalyticsInsightUpdateInputFormat1;
|
|
306529
|
+
}
|
|
306530
|
+
] | null);
|
|
306531
|
+
rows_label?: (string | null);
|
|
305106
306532
|
description?: string;
|
|
305107
306533
|
formula_label?: (string | null);
|
|
305108
306534
|
/**
|
|
@@ -305143,6 +306569,15 @@ export interface AnalyticsInsightUpdateInputCohort {
|
|
|
305143
306569
|
dimension: string;
|
|
305144
306570
|
}[];
|
|
305145
306571
|
}
|
|
306572
|
+
/**
|
|
306573
|
+
* Display format of the result; defaults to {kind: number}
|
|
306574
|
+
*/
|
|
306575
|
+
export interface AnalyticsInsightUpdateInputFormat1 {
|
|
306576
|
+
kind: ("number" | "money" | "percent");
|
|
306577
|
+
scale?: ("unit" | "minor" | "micros");
|
|
306578
|
+
currency?: string;
|
|
306579
|
+
decimals?: number;
|
|
306580
|
+
}
|
|
305146
306581
|
export interface AnalyticsInsightUpdateOutput {
|
|
305147
306582
|
id: string;
|
|
305148
306583
|
kind: ("trend" | "funnel" | "number" | "retention");
|
|
@@ -305153,7 +306588,7 @@ export interface AnalyticsInsightUpdateOutput {
|
|
|
305153
306588
|
*/
|
|
305154
306589
|
sort?: {
|
|
305155
306590
|
/**
|
|
305156
|
-
* A series key of this insight, or
|
|
306591
|
+
* A series key of this insight, formula, or a formulas key (f1..f4)
|
|
305157
306592
|
*/
|
|
305158
306593
|
by: (string | "formula");
|
|
305159
306594
|
dir: ("asc" | "desc");
|
|
@@ -342452,6 +343887,167 @@ export interface AnalyticsInsightUpdateOutput {
|
|
|
342452
343887
|
});
|
|
342453
343888
|
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot");
|
|
342454
343889
|
formula?: (string | null);
|
|
343890
|
+
/**
|
|
343891
|
+
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
343892
|
+
*
|
|
343893
|
+
* @minItems 1
|
|
343894
|
+
* @maxItems 4
|
|
343895
|
+
*/
|
|
343896
|
+
formulas?: [
|
|
343897
|
+
{
|
|
343898
|
+
/**
|
|
343899
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
343900
|
+
*/
|
|
343901
|
+
key: string;
|
|
343902
|
+
/**
|
|
343903
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
343904
|
+
*/
|
|
343905
|
+
expr: string;
|
|
343906
|
+
/**
|
|
343907
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
343908
|
+
*/
|
|
343909
|
+
label: string;
|
|
343910
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
343911
|
+
}
|
|
343912
|
+
] | [
|
|
343913
|
+
{
|
|
343914
|
+
/**
|
|
343915
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
343916
|
+
*/
|
|
343917
|
+
key: string;
|
|
343918
|
+
/**
|
|
343919
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
343920
|
+
*/
|
|
343921
|
+
expr: string;
|
|
343922
|
+
/**
|
|
343923
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
343924
|
+
*/
|
|
343925
|
+
label: string;
|
|
343926
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
343927
|
+
},
|
|
343928
|
+
{
|
|
343929
|
+
/**
|
|
343930
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
343931
|
+
*/
|
|
343932
|
+
key: string;
|
|
343933
|
+
/**
|
|
343934
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
343935
|
+
*/
|
|
343936
|
+
expr: string;
|
|
343937
|
+
/**
|
|
343938
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
343939
|
+
*/
|
|
343940
|
+
label: string;
|
|
343941
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
343942
|
+
}
|
|
343943
|
+
] | [
|
|
343944
|
+
{
|
|
343945
|
+
/**
|
|
343946
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
343947
|
+
*/
|
|
343948
|
+
key: string;
|
|
343949
|
+
/**
|
|
343950
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
343951
|
+
*/
|
|
343952
|
+
expr: string;
|
|
343953
|
+
/**
|
|
343954
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
343955
|
+
*/
|
|
343956
|
+
label: string;
|
|
343957
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
343958
|
+
},
|
|
343959
|
+
{
|
|
343960
|
+
/**
|
|
343961
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
343962
|
+
*/
|
|
343963
|
+
key: string;
|
|
343964
|
+
/**
|
|
343965
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
343966
|
+
*/
|
|
343967
|
+
expr: string;
|
|
343968
|
+
/**
|
|
343969
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
343970
|
+
*/
|
|
343971
|
+
label: string;
|
|
343972
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
343973
|
+
},
|
|
343974
|
+
{
|
|
343975
|
+
/**
|
|
343976
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
343977
|
+
*/
|
|
343978
|
+
key: string;
|
|
343979
|
+
/**
|
|
343980
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
343981
|
+
*/
|
|
343982
|
+
expr: string;
|
|
343983
|
+
/**
|
|
343984
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
343985
|
+
*/
|
|
343986
|
+
label: string;
|
|
343987
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
343988
|
+
}
|
|
343989
|
+
] | [
|
|
343990
|
+
{
|
|
343991
|
+
/**
|
|
343992
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
343993
|
+
*/
|
|
343994
|
+
key: string;
|
|
343995
|
+
/**
|
|
343996
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
343997
|
+
*/
|
|
343998
|
+
expr: string;
|
|
343999
|
+
/**
|
|
344000
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
344001
|
+
*/
|
|
344002
|
+
label: string;
|
|
344003
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
344004
|
+
},
|
|
344005
|
+
{
|
|
344006
|
+
/**
|
|
344007
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
344008
|
+
*/
|
|
344009
|
+
key: string;
|
|
344010
|
+
/**
|
|
344011
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
344012
|
+
*/
|
|
344013
|
+
expr: string;
|
|
344014
|
+
/**
|
|
344015
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
344016
|
+
*/
|
|
344017
|
+
label: string;
|
|
344018
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
344019
|
+
},
|
|
344020
|
+
{
|
|
344021
|
+
/**
|
|
344022
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
344023
|
+
*/
|
|
344024
|
+
key: string;
|
|
344025
|
+
/**
|
|
344026
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
344027
|
+
*/
|
|
344028
|
+
expr: string;
|
|
344029
|
+
/**
|
|
344030
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
344031
|
+
*/
|
|
344032
|
+
label: string;
|
|
344033
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
344034
|
+
},
|
|
344035
|
+
{
|
|
344036
|
+
/**
|
|
344037
|
+
* Address of this formula: f1, f2, f3 or f4, unique within the insight
|
|
344038
|
+
*/
|
|
344039
|
+
key: string;
|
|
344040
|
+
/**
|
|
344041
|
+
* Expression over series keys, e.g. A / B; a funnel series is its last step
|
|
344042
|
+
*/
|
|
344043
|
+
expr: string;
|
|
344044
|
+
/**
|
|
344045
|
+
* Column or line title, 1 to 60 characters after trimming
|
|
344046
|
+
*/
|
|
344047
|
+
label: string;
|
|
344048
|
+
format?: AnalyticsInsightUpdateOutputFormat;
|
|
344049
|
+
}
|
|
344050
|
+
];
|
|
342455
344051
|
warnings: {
|
|
342456
344052
|
code: string;
|
|
342457
344053
|
path: string;
|
|
@@ -342460,10 +344056,14 @@ export interface AnalyticsInsightUpdateOutput {
|
|
|
342460
344056
|
created_at: string;
|
|
342461
344057
|
created_by: (string | null);
|
|
342462
344058
|
product_id: string;
|
|
344059
|
+
/**
|
|
344060
|
+
* Pivot only: the title of the row-header column, 1 to 40 characters (e.g. Кампания)
|
|
344061
|
+
*/
|
|
344062
|
+
rows_label?: string;
|
|
342463
344063
|
updated_at: string;
|
|
342464
344064
|
description?: string;
|
|
342465
344065
|
formula_label?: string;
|
|
342466
|
-
formula_format?:
|
|
344066
|
+
formula_format?: AnalyticsInsightUpdateOutputFormat1;
|
|
342467
344067
|
}
|
|
342468
344068
|
/**
|
|
342469
344069
|
* The coming-back event; empty filters mean any row of the entity
|
|
@@ -342490,7 +344090,7 @@ export interface AnalyticsInsightUpdateOutputCohort {
|
|
|
342490
344090
|
}[];
|
|
342491
344091
|
}
|
|
342492
344092
|
/**
|
|
342493
|
-
* Display format
|
|
344093
|
+
* Display format of the result; defaults to {kind: number}
|
|
342494
344094
|
*/
|
|
342495
344095
|
export interface AnalyticsInsightUpdateOutputFormat {
|
|
342496
344096
|
kind: ("number" | "money" | "percent");
|
|
@@ -342498,6 +344098,15 @@ export interface AnalyticsInsightUpdateOutputFormat {
|
|
|
342498
344098
|
currency?: string;
|
|
342499
344099
|
decimals?: number;
|
|
342500
344100
|
}
|
|
344101
|
+
/**
|
|
344102
|
+
* Display format for a raw value. kind percent means a fraction: 0.128 displays as 12.8%. Money stays raw at the declared scale; readers convert it for display with this format.
|
|
344103
|
+
*/
|
|
344104
|
+
export interface AnalyticsInsightUpdateOutputFormat1 {
|
|
344105
|
+
kind: ("number" | "money" | "percent");
|
|
344106
|
+
scale?: ("unit" | "minor" | "micros");
|
|
344107
|
+
currency?: string;
|
|
344108
|
+
decimals?: number;
|
|
344109
|
+
}
|
|
342501
344110
|
export interface AnalyticsMetricQueryInput {
|
|
342502
344111
|
/**
|
|
342503
344112
|
* Inclusive last day (UTC)
|
|
@@ -384639,6 +386248,332 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
384639
386248
|
export interface OrganizationYoutubeInstallOutput {
|
|
384640
386249
|
url: string;
|
|
384641
386250
|
}
|
|
386251
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
386252
|
+
/**
|
|
386253
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
386254
|
+
*/
|
|
386255
|
+
limit?: number;
|
|
386256
|
+
}
|
|
386257
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
386258
|
+
ok: boolean;
|
|
386259
|
+
minted: boolean;
|
|
386260
|
+
overview?: unknown;
|
|
386261
|
+
http_status: number;
|
|
386262
|
+
}
|
|
386263
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
386264
|
+
}
|
|
386265
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
386266
|
+
ok: boolean;
|
|
386267
|
+
minted: boolean;
|
|
386268
|
+
http_status: number;
|
|
386269
|
+
entitlements?: unknown;
|
|
386270
|
+
}
|
|
386271
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
386272
|
+
/**
|
|
386273
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
386274
|
+
*/
|
|
386275
|
+
value?: number;
|
|
386276
|
+
}
|
|
386277
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
386278
|
+
minted: boolean;
|
|
386279
|
+
accepted: (number | null);
|
|
386280
|
+
recorded: boolean;
|
|
386281
|
+
duplicates: (number | null);
|
|
386282
|
+
http_status: number;
|
|
386283
|
+
}
|
|
386284
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
386285
|
+
/**
|
|
386286
|
+
* Task title; defaults to a fixture label
|
|
386287
|
+
*/
|
|
386288
|
+
name?: string;
|
|
386289
|
+
/**
|
|
386290
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
386291
|
+
*/
|
|
386292
|
+
listId?: string;
|
|
386293
|
+
}
|
|
386294
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
386295
|
+
minted: boolean;
|
|
386296
|
+
task_id: (string | null);
|
|
386297
|
+
list_status: number;
|
|
386298
|
+
vend_status: number;
|
|
386299
|
+
clickup_status: number;
|
|
386300
|
+
installation_count: number;
|
|
386301
|
+
}
|
|
386302
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
386303
|
+
}
|
|
386304
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
386305
|
+
payload: string;
|
|
386306
|
+
event_id: string;
|
|
386307
|
+
provider: string;
|
|
386308
|
+
verified: boolean;
|
|
386309
|
+
product_id: string;
|
|
386310
|
+
occurred_at: string;
|
|
386311
|
+
connector_id: string;
|
|
386312
|
+
clickup_event: (string | null);
|
|
386313
|
+
receipt_count: number;
|
|
386314
|
+
} | {
|
|
386315
|
+
found: false;
|
|
386316
|
+
});
|
|
386317
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
386318
|
+
}
|
|
386319
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
386320
|
+
team: ({
|
|
386321
|
+
teamId: string;
|
|
386322
|
+
teamName: string;
|
|
386323
|
+
} | null);
|
|
386324
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
386325
|
+
tasks: {
|
|
386326
|
+
id: string;
|
|
386327
|
+
name: string;
|
|
386328
|
+
status: (string | null);
|
|
386329
|
+
}[];
|
|
386330
|
+
minted: boolean;
|
|
386331
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
386332
|
+
list_status: number;
|
|
386333
|
+
vend_status: number;
|
|
386334
|
+
lists_status: number;
|
|
386335
|
+
tasks_status: number;
|
|
386336
|
+
spaces_status: number;
|
|
386337
|
+
folders_status: number;
|
|
386338
|
+
installation_count: number;
|
|
386339
|
+
}
|
|
386340
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
386341
|
+
id: string;
|
|
386342
|
+
name: string;
|
|
386343
|
+
}
|
|
386344
|
+
export interface PlaygroundEchoPingInput {
|
|
386345
|
+
/**
|
|
386346
|
+
* The text to echo back, 1–1024 characters
|
|
386347
|
+
*/
|
|
386348
|
+
message: string;
|
|
386349
|
+
}
|
|
386350
|
+
export interface PlaygroundEchoPingOutput {
|
|
386351
|
+
/**
|
|
386352
|
+
* The message exactly as it was received
|
|
386353
|
+
*/
|
|
386354
|
+
message: string;
|
|
386355
|
+
/**
|
|
386356
|
+
* The product the call was resolved to
|
|
386357
|
+
*/
|
|
386358
|
+
productId: string;
|
|
386359
|
+
/**
|
|
386360
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
386361
|
+
*/
|
|
386362
|
+
receivedAt: string;
|
|
386363
|
+
}
|
|
386364
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
386365
|
+
}
|
|
386366
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
386367
|
+
file_id: string;
|
|
386368
|
+
removed: boolean;
|
|
386369
|
+
file_name: (string | null);
|
|
386370
|
+
mime_type: (string | null);
|
|
386371
|
+
product_id: string;
|
|
386372
|
+
occurred_at: string;
|
|
386373
|
+
connector_id: string;
|
|
386374
|
+
resource_state: string;
|
|
386375
|
+
} | {
|
|
386376
|
+
found: false;
|
|
386377
|
+
});
|
|
386378
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
386379
|
+
/**
|
|
386380
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
386381
|
+
*/
|
|
386382
|
+
fileId?: string;
|
|
386383
|
+
}
|
|
386384
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
386385
|
+
minted: boolean;
|
|
386386
|
+
file_id: (string | null);
|
|
386387
|
+
file_name: (string | null);
|
|
386388
|
+
mime_type: (string | null);
|
|
386389
|
+
file_count: number;
|
|
386390
|
+
get_status: number;
|
|
386391
|
+
list_status: number;
|
|
386392
|
+
vend_status: number;
|
|
386393
|
+
content_bytes: (number | null);
|
|
386394
|
+
}
|
|
386395
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
386396
|
+
}
|
|
386397
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
386398
|
+
minted: boolean;
|
|
386399
|
+
vended: boolean;
|
|
386400
|
+
customer_id: (string | null);
|
|
386401
|
+
vend_status: number;
|
|
386402
|
+
result_count: number;
|
|
386403
|
+
search_status: number;
|
|
386404
|
+
login_customer_id: (string | null);
|
|
386405
|
+
}
|
|
386406
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
386407
|
+
}
|
|
386408
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
386409
|
+
blocked: boolean;
|
|
386410
|
+
archived: boolean;
|
|
386411
|
+
productId: string;
|
|
386412
|
+
lastBlockTransition: ({
|
|
386413
|
+
eventId: string;
|
|
386414
|
+
eventName: string;
|
|
386415
|
+
productId: string;
|
|
386416
|
+
occurredAt: string;
|
|
386417
|
+
recordedAt: string;
|
|
386418
|
+
receiptCount: number;
|
|
386419
|
+
organizationId: string;
|
|
386420
|
+
cascadedFromOrg: boolean;
|
|
386421
|
+
} | null);
|
|
386422
|
+
lastArchiveTransition: ({
|
|
386423
|
+
eventId: string;
|
|
386424
|
+
eventName: string;
|
|
386425
|
+
productId: string;
|
|
386426
|
+
occurredAt: string;
|
|
386427
|
+
recordedAt: string;
|
|
386428
|
+
receiptCount: number;
|
|
386429
|
+
organizationId: string;
|
|
386430
|
+
cascadedFromOrg: boolean;
|
|
386431
|
+
} | null);
|
|
386432
|
+
}
|
|
386433
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
386434
|
+
}
|
|
386435
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
386436
|
+
eventId: string;
|
|
386437
|
+
eventName: string;
|
|
386438
|
+
productId: string;
|
|
386439
|
+
occurredAt: string;
|
|
386440
|
+
recordedAt: string;
|
|
386441
|
+
receiptCount: number;
|
|
386442
|
+
organizationId: string;
|
|
386443
|
+
cascadedFromOrg: boolean;
|
|
386444
|
+
}[];
|
|
386445
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
386446
|
+
}
|
|
386447
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
386448
|
+
payload?: unknown;
|
|
386449
|
+
event_id: string;
|
|
386450
|
+
provider: string;
|
|
386451
|
+
verified: boolean;
|
|
386452
|
+
product_id: string;
|
|
386453
|
+
occurred_at: string;
|
|
386454
|
+
connector_id: string;
|
|
386455
|
+
delivery_count: number;
|
|
386456
|
+
} | {
|
|
386457
|
+
found: false;
|
|
386458
|
+
});
|
|
386459
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
386460
|
+
/**
|
|
386461
|
+
* The text to store, 1–1024 characters
|
|
386462
|
+
*/
|
|
386463
|
+
note: string;
|
|
386464
|
+
/**
|
|
386465
|
+
* Optional labels stored alongside the note, at most 20
|
|
386466
|
+
*
|
|
386467
|
+
* @maxItems 20
|
|
386468
|
+
*/
|
|
386469
|
+
tags?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
386470
|
+
}
|
|
386471
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
386472
|
+
/**
|
|
386473
|
+
* Identifier of the stored echo
|
|
386474
|
+
*/
|
|
386475
|
+
id: string;
|
|
386476
|
+
/**
|
|
386477
|
+
* The note exactly as it was received
|
|
386478
|
+
*/
|
|
386479
|
+
note: string;
|
|
386480
|
+
/**
|
|
386481
|
+
* The tags exactly as they were received
|
|
386482
|
+
*/
|
|
386483
|
+
tags: string[];
|
|
386484
|
+
/**
|
|
386485
|
+
* Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
|
|
386486
|
+
*/
|
|
386487
|
+
echo_id: string;
|
|
386488
|
+
/**
|
|
386489
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
386490
|
+
*/
|
|
386491
|
+
received_at: string;
|
|
386492
|
+
}
|
|
386493
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
386494
|
+
}
|
|
386495
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
386496
|
+
/**
|
|
386497
|
+
* Identifier of the stored echo
|
|
386498
|
+
*/
|
|
386499
|
+
id: string;
|
|
386500
|
+
/**
|
|
386501
|
+
* The note exactly as it was received
|
|
386502
|
+
*/
|
|
386503
|
+
note: string;
|
|
386504
|
+
/**
|
|
386505
|
+
* The tags exactly as they were received
|
|
386506
|
+
*/
|
|
386507
|
+
tags: string[];
|
|
386508
|
+
/**
|
|
386509
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
386510
|
+
*/
|
|
386511
|
+
received_at: string;
|
|
386512
|
+
}[];
|
|
386513
|
+
export interface PlaygroundWorkflowPingInput {
|
|
386514
|
+
/**
|
|
386515
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
386516
|
+
*/
|
|
386517
|
+
kind?: string;
|
|
386518
|
+
}
|
|
386519
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
386520
|
+
/**
|
|
386521
|
+
* Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
|
|
386522
|
+
*/
|
|
386523
|
+
id: string;
|
|
386524
|
+
/**
|
|
386525
|
+
* The name of the event that was published
|
|
386526
|
+
*/
|
|
386527
|
+
event: string;
|
|
386528
|
+
}
|
|
386529
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
386530
|
+
/**
|
|
386531
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
386532
|
+
*/
|
|
386533
|
+
limit?: number;
|
|
386534
|
+
/**
|
|
386535
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
386536
|
+
*/
|
|
386537
|
+
cursor?: string;
|
|
386538
|
+
/**
|
|
386539
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
|
|
386540
|
+
*/
|
|
386541
|
+
last_activity_after?: string;
|
|
386542
|
+
/**
|
|
386543
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
|
|
386544
|
+
*/
|
|
386545
|
+
last_activity_before?: string;
|
|
386546
|
+
}
|
|
386547
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
386548
|
+
/**
|
|
386549
|
+
* This page of subjects, most recently active first
|
|
386550
|
+
*/
|
|
386551
|
+
items: {
|
|
386552
|
+
/**
|
|
386553
|
+
* Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
|
|
386554
|
+
*/
|
|
386555
|
+
subject_key: string;
|
|
386556
|
+
/**
|
|
386557
|
+
* Human-readable name of the subject
|
|
386558
|
+
*/
|
|
386559
|
+
display_name: string;
|
|
386560
|
+
/**
|
|
386561
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
386562
|
+
*/
|
|
386563
|
+
last_activity_at: string;
|
|
386564
|
+
}[];
|
|
386565
|
+
/**
|
|
386566
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
386567
|
+
*/
|
|
386568
|
+
has_more: boolean;
|
|
386569
|
+
/**
|
|
386570
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
386571
|
+
*/
|
|
386572
|
+
next_cursor: (string | null);
|
|
386573
|
+
}
|
|
386574
|
+
export interface PlaygroundWsEchoInput {
|
|
386575
|
+
}
|
|
386576
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
384642
386577
|
export interface RealtimeArchiveExportInput {
|
|
384643
386578
|
/**
|
|
384644
386579
|
* Only entries with ts <= to_ts (epoch ms)
|