@revturbine/sdk 0.2.87 → 0.2.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/headless.d.ts +3649 -394
- package/dist/headless.js +2 -2
- package/dist/headless.js.map +1 -1
- package/dist/index.d.ts +3613 -358
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/web-sdk/controllers.d.ts +4 -4
- package/dist/types/web-sdk/customer-side.d.ts +25 -25
- package/dist/types/web-sdk/customer-side.d.ts.map +1 -1
- package/package.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -1888,9 +1888,14 @@ declare const ActivityLevelSchema: z.ZodEnum<{
|
|
|
1888
1888
|
medium: "medium";
|
|
1889
1889
|
low: "low";
|
|
1890
1890
|
}>;
|
|
1891
|
-
/**
|
|
1891
|
+
/**
|
|
1892
|
+
* Plan context for the identified user (plan 191 Q-1 amendment): `handle` is
|
|
1893
|
+
* the plan's `unique_handle` — the same matching identity as the flat
|
|
1894
|
+
* top-level `plan_handle` — renamed from `id`, which in practice was always
|
|
1895
|
+
* populated with the handle anyway. There is no `id` in plan context.
|
|
1896
|
+
*/
|
|
1892
1897
|
declare const UserPlanContextSchema: z.ZodObject<{
|
|
1893
|
-
|
|
1898
|
+
handle: z.ZodString;
|
|
1894
1899
|
name: z.ZodString;
|
|
1895
1900
|
price: z.ZodOptional<z.ZodString>;
|
|
1896
1901
|
billing_period: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1909,7 +1914,7 @@ declare const UserInstanceContextSchema: z.ZodObject<{
|
|
|
1909
1914
|
product_instance_id: z.ZodString;
|
|
1910
1915
|
user_id: z.ZodString;
|
|
1911
1916
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1912
|
-
|
|
1917
|
+
handle: z.ZodString;
|
|
1913
1918
|
name: z.ZodString;
|
|
1914
1919
|
price: z.ZodOptional<z.ZodString>;
|
|
1915
1920
|
billing_period: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1997,8 +2002,9 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
1997
2002
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1998
2003
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1999
2004
|
email_type: z.ZodOptional<z.ZodString>;
|
|
2005
|
+
plan_handle: z.ZodOptional<z.ZodString>;
|
|
2000
2006
|
plan: z.ZodOptional<z.ZodObject<{
|
|
2001
|
-
|
|
2007
|
+
handle: z.ZodString;
|
|
2002
2008
|
name: z.ZodString;
|
|
2003
2009
|
price: z.ZodOptional<z.ZodString>;
|
|
2004
2010
|
billing_period: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2076,7 +2082,7 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
2076
2082
|
product_instance_id: z.ZodString;
|
|
2077
2083
|
user_id: z.ZodString;
|
|
2078
2084
|
plan: z.ZodOptional<z.ZodObject<{
|
|
2079
|
-
|
|
2085
|
+
handle: z.ZodString;
|
|
2080
2086
|
name: z.ZodString;
|
|
2081
2087
|
price: z.ZodOptional<z.ZodString>;
|
|
2082
2088
|
billing_period: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2721,34 +2727,2565 @@ declare const DriftReportSchema: z.ZodObject<{
|
|
|
2721
2727
|
resolved_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2722
2728
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2723
2729
|
}, z.core.$strip>;
|
|
2724
|
-
declare const AlertSchema: z.ZodObject<{
|
|
2730
|
+
declare const AlertSchema: z.ZodObject<{
|
|
2731
|
+
id: z.ZodString;
|
|
2732
|
+
created_at: z.ZodString;
|
|
2733
|
+
updated_at: z.ZodString;
|
|
2734
|
+
tenant_id: z.ZodString;
|
|
2735
|
+
alert_type: z.ZodEnum<{
|
|
2736
|
+
custom: "custom";
|
|
2737
|
+
usage_threshold: "usage_threshold";
|
|
2738
|
+
revenue_drop: "revenue_drop";
|
|
2739
|
+
conversion_drop: "conversion_drop";
|
|
2740
|
+
experiment_significance: "experiment_significance";
|
|
2741
|
+
drift_detected: "drift_detected";
|
|
2742
|
+
}>;
|
|
2743
|
+
severity: z.ZodEnum<{
|
|
2744
|
+
info: "info";
|
|
2745
|
+
warning: "warning";
|
|
2746
|
+
critical: "critical";
|
|
2747
|
+
}>;
|
|
2748
|
+
title: z.ZodString;
|
|
2749
|
+
description: z.ZodString;
|
|
2750
|
+
resource_type: z.ZodOptional<z.ZodString>;
|
|
2751
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
2752
|
+
is_acknowledged: z.ZodDefault<z.ZodBoolean>;
|
|
2753
|
+
acknowledged_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2754
|
+
acknowledged_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2755
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2756
|
+
}, z.core.$strip>;
|
|
2757
|
+
declare const analyticsPaths: ZodOpenApiPathsObject;
|
|
2758
|
+
|
|
2759
|
+
/**
|
|
2760
|
+
* Analytics View Framework schema family (plan 190 TASK-1).
|
|
2761
|
+
*
|
|
2762
|
+
* The contract for catalog-governed, agent-authorable analytics views:
|
|
2763
|
+
* Semantic Catalog entries, the AnalyticsViewDraft / AnalyticsView document
|
|
2764
|
+
* pair, the machine-actionable validation contract, and the query-result
|
|
2765
|
+
* envelope. Design of record: revturbine-devkit
|
|
2766
|
+
* docs/research/revturbine-analytics-view-framework.md (§3–§5, §7.4, §9).
|
|
2767
|
+
*
|
|
2768
|
+
* These are control-plane documents with Internal exposure. They never enter
|
|
2769
|
+
* the Playbook payload, so nothing here touches the payload contract.
|
|
2770
|
+
*
|
|
2771
|
+
* The authored document family (draft, canonical view, and every shape nested
|
|
2772
|
+
* in them) uses `z.strictObject`: a saved view may only select approved
|
|
2773
|
+
* semantics — SQL, credentials, and raw renderer configuration must be
|
|
2774
|
+
* REJECTED with a structured error an agent can repair, never silently
|
|
2775
|
+
* stripped and half-persisted. Server-produced envelopes (catalog entries,
|
|
2776
|
+
* results) stay plain objects.
|
|
2777
|
+
*/
|
|
2778
|
+
|
|
2779
|
+
/**
|
|
2780
|
+
* Canonical semantic identifier — dotted, at least two snake_case segments
|
|
2781
|
+
* (`commercial.plan`, `conversion.rate`). Labels and translated text never
|
|
2782
|
+
* become query identifiers; only IDs matching this pattern do.
|
|
2783
|
+
*/
|
|
2784
|
+
declare const SEMANTIC_ID_PATTERN: RegExp;
|
|
2785
|
+
/** Local element id (view / block / filter / handoff), URL- and pointer-safe. */
|
|
2786
|
+
declare const VIEW_ELEMENT_ID_PATTERN: RegExp;
|
|
2787
|
+
declare const AnalyticsSemanticIdSchema: z.ZodString;
|
|
2788
|
+
declare const AnalyticsAnalyticalUnitSchema: z.ZodEnum<{
|
|
2789
|
+
account: "account";
|
|
2790
|
+
user: "user";
|
|
2791
|
+
billing_unit: "billing_unit";
|
|
2792
|
+
organization: "organization";
|
|
2793
|
+
}>;
|
|
2794
|
+
declare const AnalyticsQueryFamilySchema: z.ZodEnum<{
|
|
2795
|
+
scalar: "scalar";
|
|
2796
|
+
timeseries: "timeseries";
|
|
2797
|
+
breakdown: "breakdown";
|
|
2798
|
+
funnel: "funnel";
|
|
2799
|
+
table: "table";
|
|
2800
|
+
timeline: "timeline";
|
|
2801
|
+
}>;
|
|
2802
|
+
declare const AnalyticsSourceScopeSchema: z.ZodEnum<{
|
|
2803
|
+
total: "total";
|
|
2804
|
+
revturbine_tracked: "revturbine_tracked";
|
|
2805
|
+
revturbine_influenced: "revturbine_influenced";
|
|
2806
|
+
}>;
|
|
2807
|
+
declare const AnalyticsHistoricalModeSchema: z.ZodEnum<{
|
|
2808
|
+
as_of_event: "as_of_event";
|
|
2809
|
+
current: "current";
|
|
2810
|
+
}>;
|
|
2811
|
+
declare const AnalyticsTimeGrainSchema: z.ZodEnum<{
|
|
2812
|
+
month: "month";
|
|
2813
|
+
day: "day";
|
|
2814
|
+
week: "week";
|
|
2815
|
+
quarter: "quarter";
|
|
2816
|
+
hour: "hour";
|
|
2817
|
+
}>;
|
|
2818
|
+
declare const AnalyticsCompareModeSchema: z.ZodEnum<{
|
|
2819
|
+
none: "none";
|
|
2820
|
+
previous_period: "previous_period";
|
|
2821
|
+
previous_year: "previous_year";
|
|
2822
|
+
}>;
|
|
2823
|
+
declare const AnalyticsFilterOperatorSchema: z.ZodEnum<{
|
|
2824
|
+
in: "in";
|
|
2825
|
+
eq: "eq";
|
|
2826
|
+
neq: "neq";
|
|
2827
|
+
not_in: "not_in";
|
|
2828
|
+
between: "between";
|
|
2829
|
+
gte: "gte";
|
|
2830
|
+
lte: "lte";
|
|
2831
|
+
is_null: "is_null";
|
|
2832
|
+
is_not_null: "is_not_null";
|
|
2833
|
+
contains: "contains";
|
|
2834
|
+
}>;
|
|
2835
|
+
declare const AnalyticsFilterControlSchema: z.ZodEnum<{
|
|
2836
|
+
date_range: "date_range";
|
|
2837
|
+
single_select: "single_select";
|
|
2838
|
+
multi_select: "multi_select";
|
|
2839
|
+
search_select: "search_select";
|
|
2840
|
+
number_range: "number_range";
|
|
2841
|
+
}>;
|
|
2842
|
+
declare const AnalyticsCardinalityClassSchema: z.ZodEnum<{
|
|
2843
|
+
high: "high";
|
|
2844
|
+
medium: "medium";
|
|
2845
|
+
low: "low";
|
|
2846
|
+
}>;
|
|
2847
|
+
/** Result-column data type (§7.4 `fields[].type`). */
|
|
2848
|
+
declare const AnalyticsFieldTypeSchema: z.ZodEnum<{
|
|
2849
|
+
string: "string";
|
|
2850
|
+
number: "number";
|
|
2851
|
+
boolean: "boolean";
|
|
2852
|
+
date: "date";
|
|
2853
|
+
currency: "currency";
|
|
2854
|
+
datetime: "datetime";
|
|
2855
|
+
percent: "percent";
|
|
2856
|
+
}>;
|
|
2857
|
+
/** Catalog dimension data type (§3.3) — `id` marks anchor-identity dimensions. */
|
|
2858
|
+
declare const AnalyticsDimensionTypeSchema: z.ZodEnum<{
|
|
2859
|
+
string: "string";
|
|
2860
|
+
number: "number";
|
|
2861
|
+
boolean: "boolean";
|
|
2862
|
+
id: "id";
|
|
2863
|
+
date: "date";
|
|
2864
|
+
enum: "enum";
|
|
2865
|
+
datetime: "datetime";
|
|
2866
|
+
}>;
|
|
2867
|
+
declare const AnalyticsDimensionCapabilitySchema: z.ZodEnum<{
|
|
2868
|
+
sort: "sort";
|
|
2869
|
+
filter: "filter";
|
|
2870
|
+
split: "split";
|
|
2871
|
+
group: "group";
|
|
2872
|
+
}>;
|
|
2873
|
+
declare const AnalyticsViewVisibilitySchema: z.ZodEnum<{
|
|
2874
|
+
private: "private";
|
|
2875
|
+
team: "team";
|
|
2876
|
+
tenant: "tenant";
|
|
2877
|
+
}>;
|
|
2878
|
+
/**
|
|
2879
|
+
* Customization-policy vocabulary (§12). One enum carries both allow- and
|
|
2880
|
+
* deny-side capabilities so a policy cannot reference a capability the
|
|
2881
|
+
* contract does not know.
|
|
2882
|
+
*/
|
|
2883
|
+
declare const AnalyticsCustomizationCapabilitySchema: z.ZodEnum<{
|
|
2884
|
+
title: "title";
|
|
2885
|
+
sort: "sort";
|
|
2886
|
+
limit: "limit";
|
|
2887
|
+
filter_defaults: "filter_defaults";
|
|
2888
|
+
metric_selection: "metric_selection";
|
|
2889
|
+
grouping: "grouping";
|
|
2890
|
+
compatible_renderer: "compatible_renderer";
|
|
2891
|
+
block_visibility: "block_visibility";
|
|
2892
|
+
layout: "layout";
|
|
2893
|
+
source_scope: "source_scope";
|
|
2894
|
+
handoff_target: "handoff_target";
|
|
2895
|
+
hidden_scope: "hidden_scope";
|
|
2896
|
+
raw_expression: "raw_expression";
|
|
2897
|
+
}>;
|
|
2898
|
+
/**
|
|
2899
|
+
* Sensitivity axis for catalog entries — reuses the `DataClassification`
|
|
2900
|
+
* values rather than inventing a new axis (§3.3); a unit test pins the two
|
|
2901
|
+
* value sets together.
|
|
2902
|
+
*/
|
|
2903
|
+
declare const AnalyticsClassificationSchema: z.ZodEnum<{
|
|
2904
|
+
pii: "pii";
|
|
2905
|
+
financial: "financial";
|
|
2906
|
+
unrestricted: "unrestricted";
|
|
2907
|
+
operational: "operational";
|
|
2908
|
+
}>;
|
|
2909
|
+
/**
|
|
2910
|
+
* Plain display text. `key` is reserved for future localization and never
|
|
2911
|
+
* becomes a query identifier (§2.3). HTML is not accepted anywhere titles
|
|
2912
|
+
* appear (§9.3) — enforced semantically, structurally this is bounded text.
|
|
2913
|
+
*/
|
|
2914
|
+
declare const LocalizedTextSchema: z.ZodObject<{
|
|
2915
|
+
value: z.ZodString;
|
|
2916
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2917
|
+
}, z.core.$strict>;
|
|
2918
|
+
/**
|
|
2919
|
+
* The bounded value space for filter defaults and fixed filters: scalars,
|
|
2920
|
+
* scalar lists, a date-range preset, or a numeric range. Deliberately not
|
|
2921
|
+
* `unknown` — every persisted value must be JSON-plain and enumerable.
|
|
2922
|
+
*/
|
|
2923
|
+
declare const AnalyticsFilterValueSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
2924
|
+
preset: z.ZodString;
|
|
2925
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
2926
|
+
none: "none";
|
|
2927
|
+
previous_period: "previous_period";
|
|
2928
|
+
previous_year: "previous_year";
|
|
2929
|
+
}>>;
|
|
2930
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2931
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2932
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2933
|
+
}, z.core.$strict>]>;
|
|
2934
|
+
declare const AnalyticsSemanticFilterSchema: z.ZodObject<{
|
|
2935
|
+
dimension: z.ZodString;
|
|
2936
|
+
operator: z.ZodEnum<{
|
|
2937
|
+
in: "in";
|
|
2938
|
+
eq: "eq";
|
|
2939
|
+
neq: "neq";
|
|
2940
|
+
not_in: "not_in";
|
|
2941
|
+
between: "between";
|
|
2942
|
+
gte: "gte";
|
|
2943
|
+
lte: "lte";
|
|
2944
|
+
is_null: "is_null";
|
|
2945
|
+
is_not_null: "is_not_null";
|
|
2946
|
+
contains: "contains";
|
|
2947
|
+
}>;
|
|
2948
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
2949
|
+
preset: z.ZodString;
|
|
2950
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
2951
|
+
none: "none";
|
|
2952
|
+
previous_period: "previous_period";
|
|
2953
|
+
previous_year: "previous_year";
|
|
2954
|
+
}>>;
|
|
2955
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2956
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2957
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2958
|
+
}, z.core.$strict>]>>;
|
|
2959
|
+
}, z.core.$strict>;
|
|
2960
|
+
declare const AnalyticsFormatSpecSchema: z.ZodObject<{
|
|
2961
|
+
type: z.ZodEnum<{
|
|
2962
|
+
number: "number";
|
|
2963
|
+
currency: "currency";
|
|
2964
|
+
duration: "duration";
|
|
2965
|
+
percent: "percent";
|
|
2966
|
+
}>;
|
|
2967
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2968
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
2969
|
+
}, z.core.$strict>;
|
|
2970
|
+
/**
|
|
2971
|
+
* The full set of portable chart options (§4.4). Raw renderer props (Visx
|
|
2972
|
+
* component props, D3 scales) stay internal to the renderer registry and are
|
|
2973
|
+
* structurally unrepresentable here.
|
|
2974
|
+
*/
|
|
2975
|
+
declare const AnalyticsSafeChartOptionsSchema: z.ZodObject<{
|
|
2976
|
+
legend: z.ZodOptional<z.ZodEnum<{
|
|
2977
|
+
none: "none";
|
|
2978
|
+
top: "top";
|
|
2979
|
+
right: "right";
|
|
2980
|
+
bottom: "bottom";
|
|
2981
|
+
left: "left";
|
|
2982
|
+
}>>;
|
|
2983
|
+
value_labels: z.ZodOptional<z.ZodBoolean>;
|
|
2984
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2985
|
+
value: z.ZodNumber;
|
|
2986
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
2987
|
+
value: z.ZodString;
|
|
2988
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2989
|
+
}, z.core.$strict>>;
|
|
2990
|
+
}, z.core.$strict>>>;
|
|
2991
|
+
x_axis_format: z.ZodOptional<z.ZodObject<{
|
|
2992
|
+
type: z.ZodEnum<{
|
|
2993
|
+
number: "number";
|
|
2994
|
+
currency: "currency";
|
|
2995
|
+
duration: "duration";
|
|
2996
|
+
percent: "percent";
|
|
2997
|
+
}>;
|
|
2998
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2999
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3000
|
+
}, z.core.$strict>>;
|
|
3001
|
+
y_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3002
|
+
type: z.ZodEnum<{
|
|
3003
|
+
number: "number";
|
|
3004
|
+
currency: "currency";
|
|
3005
|
+
duration: "duration";
|
|
3006
|
+
percent: "percent";
|
|
3007
|
+
}>;
|
|
3008
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3009
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3010
|
+
}, z.core.$strict>>;
|
|
3011
|
+
empty_state: z.ZodOptional<z.ZodEnum<{
|
|
3012
|
+
message: "message";
|
|
3013
|
+
blank: "blank";
|
|
3014
|
+
}>>;
|
|
3015
|
+
}, z.core.$strict>;
|
|
3016
|
+
declare const AnalyticsCatalogDeprecationSchema: z.ZodObject<{
|
|
3017
|
+
deprecated: z.ZodBoolean;
|
|
3018
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
3019
|
+
}, z.core.$strip>;
|
|
3020
|
+
declare const AnalyticsCatalogDimensionSchema: z.ZodObject<{
|
|
3021
|
+
id: z.ZodString;
|
|
3022
|
+
label: z.ZodString;
|
|
3023
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3024
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
3025
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
type: z.ZodEnum<{
|
|
3027
|
+
string: "string";
|
|
3028
|
+
number: "number";
|
|
3029
|
+
boolean: "boolean";
|
|
3030
|
+
id: "id";
|
|
3031
|
+
date: "date";
|
|
3032
|
+
enum: "enum";
|
|
3033
|
+
datetime: "datetime";
|
|
3034
|
+
}>;
|
|
3035
|
+
operators: z.ZodArray<z.ZodEnum<{
|
|
3036
|
+
in: "in";
|
|
3037
|
+
eq: "eq";
|
|
3038
|
+
neq: "neq";
|
|
3039
|
+
not_in: "not_in";
|
|
3040
|
+
between: "between";
|
|
3041
|
+
gte: "gte";
|
|
3042
|
+
lte: "lte";
|
|
3043
|
+
is_null: "is_null";
|
|
3044
|
+
is_not_null: "is_not_null";
|
|
3045
|
+
contains: "contains";
|
|
3046
|
+
}>>;
|
|
3047
|
+
control: z.ZodEnum<{
|
|
3048
|
+
date_range: "date_range";
|
|
3049
|
+
single_select: "single_select";
|
|
3050
|
+
multi_select: "multi_select";
|
|
3051
|
+
search_select: "search_select";
|
|
3052
|
+
number_range: "number_range";
|
|
3053
|
+
}>;
|
|
3054
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
3055
|
+
sort: "sort";
|
|
3056
|
+
filter: "filter";
|
|
3057
|
+
split: "split";
|
|
3058
|
+
group: "group";
|
|
3059
|
+
}>>;
|
|
3060
|
+
cardinality: z.ZodEnum<{
|
|
3061
|
+
high: "high";
|
|
3062
|
+
medium: "medium";
|
|
3063
|
+
low: "low";
|
|
3064
|
+
}>;
|
|
3065
|
+
classification: z.ZodDefault<z.ZodEnum<{
|
|
3066
|
+
pii: "pii";
|
|
3067
|
+
financial: "financial";
|
|
3068
|
+
unrestricted: "unrestricted";
|
|
3069
|
+
operational: "operational";
|
|
3070
|
+
}>>;
|
|
3071
|
+
historical_mode: z.ZodOptional<z.ZodEnum<{
|
|
3072
|
+
as_of_event: "as_of_event";
|
|
3073
|
+
current: "current";
|
|
3074
|
+
}>>;
|
|
3075
|
+
allowed_concepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3076
|
+
exclude_from_segment_picker: z.ZodDefault<z.ZodBoolean>;
|
|
3077
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3078
|
+
deprecated: z.ZodBoolean;
|
|
3079
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
}, z.core.$strip>>;
|
|
3081
|
+
}, z.core.$strip>;
|
|
3082
|
+
declare const AnalyticsCatalogMetricSchema: z.ZodObject<{
|
|
3083
|
+
id: z.ZodString;
|
|
3084
|
+
label: z.ZodString;
|
|
3085
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3086
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
3087
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
value_type: z.ZodEnum<{
|
|
3089
|
+
string: "string";
|
|
3090
|
+
number: "number";
|
|
3091
|
+
boolean: "boolean";
|
|
3092
|
+
date: "date";
|
|
3093
|
+
currency: "currency";
|
|
3094
|
+
datetime: "datetime";
|
|
3095
|
+
percent: "percent";
|
|
3096
|
+
}>;
|
|
3097
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
3098
|
+
type: z.ZodEnum<{
|
|
3099
|
+
number: "number";
|
|
3100
|
+
currency: "currency";
|
|
3101
|
+
duration: "duration";
|
|
3102
|
+
percent: "percent";
|
|
3103
|
+
}>;
|
|
3104
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3105
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3106
|
+
}, z.core.$strict>>;
|
|
3107
|
+
source_scope: z.ZodOptional<z.ZodEnum<{
|
|
3108
|
+
total: "total";
|
|
3109
|
+
revturbine_tracked: "revturbine_tracked";
|
|
3110
|
+
revturbine_influenced: "revturbine_influenced";
|
|
3111
|
+
}>>;
|
|
3112
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3113
|
+
deprecated: z.ZodBoolean;
|
|
3114
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
3115
|
+
}, z.core.$strip>>;
|
|
3116
|
+
}, z.core.$strip>;
|
|
3117
|
+
declare const AnalyticsCatalogConceptSchema: z.ZodObject<{
|
|
3118
|
+
id: z.ZodString;
|
|
3119
|
+
version: z.ZodNumber;
|
|
3120
|
+
label: z.ZodString;
|
|
3121
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3122
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
3123
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
grain: z.ZodArray<z.ZodString>;
|
|
3125
|
+
analytical_units: z.ZodArray<z.ZodEnum<{
|
|
3126
|
+
account: "account";
|
|
3127
|
+
user: "user";
|
|
3128
|
+
billing_unit: "billing_unit";
|
|
3129
|
+
organization: "organization";
|
|
3130
|
+
}>>;
|
|
3131
|
+
primary_time_dimension: z.ZodString;
|
|
3132
|
+
historical_mode: z.ZodEnum<{
|
|
3133
|
+
as_of_event: "as_of_event";
|
|
3134
|
+
current: "current";
|
|
3135
|
+
}>;
|
|
3136
|
+
dimensions: z.ZodArray<z.ZodString>;
|
|
3137
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
3138
|
+
query_families: z.ZodArray<z.ZodEnum<{
|
|
3139
|
+
scalar: "scalar";
|
|
3140
|
+
timeseries: "timeseries";
|
|
3141
|
+
breakdown: "breakdown";
|
|
3142
|
+
funnel: "funnel";
|
|
3143
|
+
table: "table";
|
|
3144
|
+
timeline: "timeline";
|
|
3145
|
+
}>>;
|
|
3146
|
+
source_scope: z.ZodEnum<{
|
|
3147
|
+
total: "total";
|
|
3148
|
+
revturbine_tracked: "revturbine_tracked";
|
|
3149
|
+
revturbine_influenced: "revturbine_influenced";
|
|
3150
|
+
}>;
|
|
3151
|
+
coverage_metric: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3153
|
+
deprecated: z.ZodBoolean;
|
|
3154
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
3155
|
+
}, z.core.$strip>>;
|
|
3156
|
+
}, z.core.$strip>;
|
|
3157
|
+
declare const AnalyticsViewQuerySchema: z.ZodObject<{
|
|
3158
|
+
concept: z.ZodString;
|
|
3159
|
+
family: z.ZodEnum<{
|
|
3160
|
+
scalar: "scalar";
|
|
3161
|
+
timeseries: "timeseries";
|
|
3162
|
+
breakdown: "breakdown";
|
|
3163
|
+
funnel: "funnel";
|
|
3164
|
+
table: "table";
|
|
3165
|
+
timeline: "timeline";
|
|
3166
|
+
}>;
|
|
3167
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
3168
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3169
|
+
time: z.ZodOptional<z.ZodObject<{
|
|
3170
|
+
dimension: z.ZodString;
|
|
3171
|
+
grain: z.ZodEnum<{
|
|
3172
|
+
month: "month";
|
|
3173
|
+
day: "day";
|
|
3174
|
+
week: "week";
|
|
3175
|
+
quarter: "quarter";
|
|
3176
|
+
hour: "hour";
|
|
3177
|
+
}>;
|
|
3178
|
+
}, z.core.$strict>>;
|
|
3179
|
+
filters_from: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3180
|
+
fixed_filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3181
|
+
dimension: z.ZodString;
|
|
3182
|
+
operator: z.ZodEnum<{
|
|
3183
|
+
in: "in";
|
|
3184
|
+
eq: "eq";
|
|
3185
|
+
neq: "neq";
|
|
3186
|
+
not_in: "not_in";
|
|
3187
|
+
between: "between";
|
|
3188
|
+
gte: "gte";
|
|
3189
|
+
lte: "lte";
|
|
3190
|
+
is_null: "is_null";
|
|
3191
|
+
is_not_null: "is_not_null";
|
|
3192
|
+
contains: "contains";
|
|
3193
|
+
}>;
|
|
3194
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
3195
|
+
preset: z.ZodString;
|
|
3196
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3197
|
+
none: "none";
|
|
3198
|
+
previous_period: "previous_period";
|
|
3199
|
+
previous_year: "previous_year";
|
|
3200
|
+
}>>;
|
|
3201
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3202
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3203
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3204
|
+
}, z.core.$strict>]>>;
|
|
3205
|
+
}, z.core.$strict>>>;
|
|
3206
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3207
|
+
none: "none";
|
|
3208
|
+
previous_period: "previous_period";
|
|
3209
|
+
previous_year: "previous_year";
|
|
3210
|
+
}>>;
|
|
3211
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3212
|
+
field: z.ZodString;
|
|
3213
|
+
direction: z.ZodEnum<{
|
|
3214
|
+
asc: "asc";
|
|
3215
|
+
desc: "desc";
|
|
3216
|
+
}>;
|
|
3217
|
+
}, z.core.$strict>>>;
|
|
3218
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3219
|
+
}, z.core.$strict>;
|
|
3220
|
+
declare const AnalyticsRenderMetricSchema: z.ZodObject<{
|
|
3221
|
+
type: z.ZodLiteral<"metric">;
|
|
3222
|
+
value: z.ZodString;
|
|
3223
|
+
comparison: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
3225
|
+
type: z.ZodEnum<{
|
|
3226
|
+
number: "number";
|
|
3227
|
+
currency: "currency";
|
|
3228
|
+
duration: "duration";
|
|
3229
|
+
percent: "percent";
|
|
3230
|
+
}>;
|
|
3231
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3232
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3233
|
+
}, z.core.$strict>>;
|
|
3234
|
+
}, z.core.$strict>;
|
|
3235
|
+
declare const AnalyticsRenderCartesianSchema: z.ZodObject<{
|
|
3236
|
+
type: z.ZodLiteral<"cartesian">;
|
|
3237
|
+
mark: z.ZodEnum<{
|
|
3238
|
+
line: "line";
|
|
3239
|
+
area: "area";
|
|
3240
|
+
bar: "bar";
|
|
3241
|
+
stacked_bar: "stacked_bar";
|
|
3242
|
+
scatter: "scatter";
|
|
3243
|
+
}>;
|
|
3244
|
+
encoding: z.ZodObject<{
|
|
3245
|
+
x: z.ZodString;
|
|
3246
|
+
y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3247
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3248
|
+
facet: z.ZodOptional<z.ZodString>;
|
|
3249
|
+
}, z.core.$strict>;
|
|
3250
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3251
|
+
legend: z.ZodOptional<z.ZodEnum<{
|
|
3252
|
+
none: "none";
|
|
3253
|
+
top: "top";
|
|
3254
|
+
right: "right";
|
|
3255
|
+
bottom: "bottom";
|
|
3256
|
+
left: "left";
|
|
3257
|
+
}>>;
|
|
3258
|
+
value_labels: z.ZodOptional<z.ZodBoolean>;
|
|
3259
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3260
|
+
value: z.ZodNumber;
|
|
3261
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3262
|
+
value: z.ZodString;
|
|
3263
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3264
|
+
}, z.core.$strict>>;
|
|
3265
|
+
}, z.core.$strict>>>;
|
|
3266
|
+
x_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3267
|
+
type: z.ZodEnum<{
|
|
3268
|
+
number: "number";
|
|
3269
|
+
currency: "currency";
|
|
3270
|
+
duration: "duration";
|
|
3271
|
+
percent: "percent";
|
|
3272
|
+
}>;
|
|
3273
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3274
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3275
|
+
}, z.core.$strict>>;
|
|
3276
|
+
y_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3277
|
+
type: z.ZodEnum<{
|
|
3278
|
+
number: "number";
|
|
3279
|
+
currency: "currency";
|
|
3280
|
+
duration: "duration";
|
|
3281
|
+
percent: "percent";
|
|
3282
|
+
}>;
|
|
3283
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3284
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3285
|
+
}, z.core.$strict>>;
|
|
3286
|
+
empty_state: z.ZodOptional<z.ZodEnum<{
|
|
3287
|
+
message: "message";
|
|
3288
|
+
blank: "blank";
|
|
3289
|
+
}>>;
|
|
3290
|
+
}, z.core.$strict>>;
|
|
3291
|
+
}, z.core.$strict>;
|
|
3292
|
+
declare const AnalyticsRenderFunnelSchema: z.ZodObject<{
|
|
3293
|
+
type: z.ZodLiteral<"funnel">;
|
|
3294
|
+
stages: z.ZodArray<z.ZodString>;
|
|
3295
|
+
split_by: z.ZodOptional<z.ZodString>;
|
|
3296
|
+
}, z.core.$strict>;
|
|
3297
|
+
declare const AnalyticsRenderTableSchema: z.ZodObject<{
|
|
3298
|
+
type: z.ZodLiteral<"table">;
|
|
3299
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3300
|
+
}, z.core.$strict>;
|
|
3301
|
+
declare const AnalyticsRenderTimelineSchema: z.ZodObject<{
|
|
3302
|
+
type: z.ZodLiteral<"timeline">;
|
|
3303
|
+
timestamp: z.ZodString;
|
|
3304
|
+
event_type: z.ZodString;
|
|
3305
|
+
}, z.core.$strict>;
|
|
3306
|
+
declare const AnalyticsRenderRecommendationsSchema: z.ZodObject<{
|
|
3307
|
+
type: z.ZodLiteral<"recommendations">;
|
|
3308
|
+
presentation: z.ZodEnum<{
|
|
3309
|
+
list: "list";
|
|
3310
|
+
ranked_cards: "ranked_cards";
|
|
3311
|
+
}>;
|
|
3312
|
+
}, z.core.$strict>;
|
|
3313
|
+
declare const AnalyticsRenderSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3314
|
+
type: z.ZodLiteral<"metric">;
|
|
3315
|
+
value: z.ZodString;
|
|
3316
|
+
comparison: z.ZodOptional<z.ZodString>;
|
|
3317
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
3318
|
+
type: z.ZodEnum<{
|
|
3319
|
+
number: "number";
|
|
3320
|
+
currency: "currency";
|
|
3321
|
+
duration: "duration";
|
|
3322
|
+
percent: "percent";
|
|
3323
|
+
}>;
|
|
3324
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3325
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3326
|
+
}, z.core.$strict>>;
|
|
3327
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3328
|
+
type: z.ZodLiteral<"cartesian">;
|
|
3329
|
+
mark: z.ZodEnum<{
|
|
3330
|
+
line: "line";
|
|
3331
|
+
area: "area";
|
|
3332
|
+
bar: "bar";
|
|
3333
|
+
stacked_bar: "stacked_bar";
|
|
3334
|
+
scatter: "scatter";
|
|
3335
|
+
}>;
|
|
3336
|
+
encoding: z.ZodObject<{
|
|
3337
|
+
x: z.ZodString;
|
|
3338
|
+
y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3339
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3340
|
+
facet: z.ZodOptional<z.ZodString>;
|
|
3341
|
+
}, z.core.$strict>;
|
|
3342
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3343
|
+
legend: z.ZodOptional<z.ZodEnum<{
|
|
3344
|
+
none: "none";
|
|
3345
|
+
top: "top";
|
|
3346
|
+
right: "right";
|
|
3347
|
+
bottom: "bottom";
|
|
3348
|
+
left: "left";
|
|
3349
|
+
}>>;
|
|
3350
|
+
value_labels: z.ZodOptional<z.ZodBoolean>;
|
|
3351
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3352
|
+
value: z.ZodNumber;
|
|
3353
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3354
|
+
value: z.ZodString;
|
|
3355
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3356
|
+
}, z.core.$strict>>;
|
|
3357
|
+
}, z.core.$strict>>>;
|
|
3358
|
+
x_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3359
|
+
type: z.ZodEnum<{
|
|
3360
|
+
number: "number";
|
|
3361
|
+
currency: "currency";
|
|
3362
|
+
duration: "duration";
|
|
3363
|
+
percent: "percent";
|
|
3364
|
+
}>;
|
|
3365
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3366
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3367
|
+
}, z.core.$strict>>;
|
|
3368
|
+
y_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3369
|
+
type: z.ZodEnum<{
|
|
3370
|
+
number: "number";
|
|
3371
|
+
currency: "currency";
|
|
3372
|
+
duration: "duration";
|
|
3373
|
+
percent: "percent";
|
|
3374
|
+
}>;
|
|
3375
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3376
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3377
|
+
}, z.core.$strict>>;
|
|
3378
|
+
empty_state: z.ZodOptional<z.ZodEnum<{
|
|
3379
|
+
message: "message";
|
|
3380
|
+
blank: "blank";
|
|
3381
|
+
}>>;
|
|
3382
|
+
}, z.core.$strict>>;
|
|
3383
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3384
|
+
type: z.ZodLiteral<"funnel">;
|
|
3385
|
+
stages: z.ZodArray<z.ZodString>;
|
|
3386
|
+
split_by: z.ZodOptional<z.ZodString>;
|
|
3387
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3388
|
+
type: z.ZodLiteral<"table">;
|
|
3389
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3390
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3391
|
+
type: z.ZodLiteral<"timeline">;
|
|
3392
|
+
timestamp: z.ZodString;
|
|
3393
|
+
event_type: z.ZodString;
|
|
3394
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3395
|
+
type: z.ZodLiteral<"recommendations">;
|
|
3396
|
+
presentation: z.ZodEnum<{
|
|
3397
|
+
list: "list";
|
|
3398
|
+
ranked_cards: "ranked_cards";
|
|
3399
|
+
}>;
|
|
3400
|
+
}, z.core.$strict>], "type">;
|
|
3401
|
+
declare const AnalyticsViewFilterSchema: z.ZodObject<{
|
|
3402
|
+
id: z.ZodString;
|
|
3403
|
+
dimension: z.ZodString;
|
|
3404
|
+
control: z.ZodEnum<{
|
|
3405
|
+
date_range: "date_range";
|
|
3406
|
+
single_select: "single_select";
|
|
3407
|
+
multi_select: "multi_select";
|
|
3408
|
+
search_select: "search_select";
|
|
3409
|
+
number_range: "number_range";
|
|
3410
|
+
}>;
|
|
3411
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3412
|
+
value: z.ZodString;
|
|
3413
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3414
|
+
}, z.core.$strict>>;
|
|
3415
|
+
operators: z.ZodArray<z.ZodEnum<{
|
|
3416
|
+
in: "in";
|
|
3417
|
+
eq: "eq";
|
|
3418
|
+
neq: "neq";
|
|
3419
|
+
not_in: "not_in";
|
|
3420
|
+
between: "between";
|
|
3421
|
+
gte: "gte";
|
|
3422
|
+
lte: "lte";
|
|
3423
|
+
is_null: "is_null";
|
|
3424
|
+
is_not_null: "is_not_null";
|
|
3425
|
+
contains: "contains";
|
|
3426
|
+
}>>;
|
|
3427
|
+
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
3428
|
+
preset: z.ZodString;
|
|
3429
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3430
|
+
none: "none";
|
|
3431
|
+
previous_period: "previous_period";
|
|
3432
|
+
previous_year: "previous_year";
|
|
3433
|
+
}>>;
|
|
3434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3435
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3436
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3437
|
+
}, z.core.$strict>]>>;
|
|
3438
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3439
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
3440
|
+
applies_to: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
3441
|
+
}, z.core.$strict>;
|
|
3442
|
+
declare const AnalyticsViewLayoutSchema: z.ZodObject<{
|
|
3443
|
+
type: z.ZodLiteral<"grid">;
|
|
3444
|
+
columns: z.ZodDefault<z.ZodNumber>;
|
|
3445
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3446
|
+
block_id: z.ZodString;
|
|
3447
|
+
x: z.ZodNumber;
|
|
3448
|
+
y: z.ZodNumber;
|
|
3449
|
+
w: z.ZodNumber;
|
|
3450
|
+
h: z.ZodNumber;
|
|
3451
|
+
}, z.core.$strict>>;
|
|
3452
|
+
}, z.core.$strict>;
|
|
3453
|
+
declare const AnalyticsViewBlockSchema: z.ZodObject<{
|
|
3454
|
+
id: z.ZodString;
|
|
3455
|
+
title: z.ZodOptional<z.ZodObject<{
|
|
3456
|
+
value: z.ZodString;
|
|
3457
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3458
|
+
}, z.core.$strict>>;
|
|
3459
|
+
description: z.ZodOptional<z.ZodObject<{
|
|
3460
|
+
value: z.ZodString;
|
|
3461
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3462
|
+
}, z.core.$strict>>;
|
|
3463
|
+
query: z.ZodObject<{
|
|
3464
|
+
concept: z.ZodString;
|
|
3465
|
+
family: z.ZodEnum<{
|
|
3466
|
+
scalar: "scalar";
|
|
3467
|
+
timeseries: "timeseries";
|
|
3468
|
+
breakdown: "breakdown";
|
|
3469
|
+
funnel: "funnel";
|
|
3470
|
+
table: "table";
|
|
3471
|
+
timeline: "timeline";
|
|
3472
|
+
}>;
|
|
3473
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
3474
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3475
|
+
time: z.ZodOptional<z.ZodObject<{
|
|
3476
|
+
dimension: z.ZodString;
|
|
3477
|
+
grain: z.ZodEnum<{
|
|
3478
|
+
month: "month";
|
|
3479
|
+
day: "day";
|
|
3480
|
+
week: "week";
|
|
3481
|
+
quarter: "quarter";
|
|
3482
|
+
hour: "hour";
|
|
3483
|
+
}>;
|
|
3484
|
+
}, z.core.$strict>>;
|
|
3485
|
+
filters_from: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3486
|
+
fixed_filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3487
|
+
dimension: z.ZodString;
|
|
3488
|
+
operator: z.ZodEnum<{
|
|
3489
|
+
in: "in";
|
|
3490
|
+
eq: "eq";
|
|
3491
|
+
neq: "neq";
|
|
3492
|
+
not_in: "not_in";
|
|
3493
|
+
between: "between";
|
|
3494
|
+
gte: "gte";
|
|
3495
|
+
lte: "lte";
|
|
3496
|
+
is_null: "is_null";
|
|
3497
|
+
is_not_null: "is_not_null";
|
|
3498
|
+
contains: "contains";
|
|
3499
|
+
}>;
|
|
3500
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
3501
|
+
preset: z.ZodString;
|
|
3502
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3503
|
+
none: "none";
|
|
3504
|
+
previous_period: "previous_period";
|
|
3505
|
+
previous_year: "previous_year";
|
|
3506
|
+
}>>;
|
|
3507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3508
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3509
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3510
|
+
}, z.core.$strict>]>>;
|
|
3511
|
+
}, z.core.$strict>>>;
|
|
3512
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3513
|
+
none: "none";
|
|
3514
|
+
previous_period: "previous_period";
|
|
3515
|
+
previous_year: "previous_year";
|
|
3516
|
+
}>>;
|
|
3517
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3518
|
+
field: z.ZodString;
|
|
3519
|
+
direction: z.ZodEnum<{
|
|
3520
|
+
asc: "asc";
|
|
3521
|
+
desc: "desc";
|
|
3522
|
+
}>;
|
|
3523
|
+
}, z.core.$strict>>>;
|
|
3524
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3525
|
+
}, z.core.$strict>;
|
|
3526
|
+
render: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3527
|
+
type: z.ZodLiteral<"metric">;
|
|
3528
|
+
value: z.ZodString;
|
|
3529
|
+
comparison: z.ZodOptional<z.ZodString>;
|
|
3530
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
3531
|
+
type: z.ZodEnum<{
|
|
3532
|
+
number: "number";
|
|
3533
|
+
currency: "currency";
|
|
3534
|
+
duration: "duration";
|
|
3535
|
+
percent: "percent";
|
|
3536
|
+
}>;
|
|
3537
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3538
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3539
|
+
}, z.core.$strict>>;
|
|
3540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3541
|
+
type: z.ZodLiteral<"cartesian">;
|
|
3542
|
+
mark: z.ZodEnum<{
|
|
3543
|
+
line: "line";
|
|
3544
|
+
area: "area";
|
|
3545
|
+
bar: "bar";
|
|
3546
|
+
stacked_bar: "stacked_bar";
|
|
3547
|
+
scatter: "scatter";
|
|
3548
|
+
}>;
|
|
3549
|
+
encoding: z.ZodObject<{
|
|
3550
|
+
x: z.ZodString;
|
|
3551
|
+
y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3552
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3553
|
+
facet: z.ZodOptional<z.ZodString>;
|
|
3554
|
+
}, z.core.$strict>;
|
|
3555
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3556
|
+
legend: z.ZodOptional<z.ZodEnum<{
|
|
3557
|
+
none: "none";
|
|
3558
|
+
top: "top";
|
|
3559
|
+
right: "right";
|
|
3560
|
+
bottom: "bottom";
|
|
3561
|
+
left: "left";
|
|
3562
|
+
}>>;
|
|
3563
|
+
value_labels: z.ZodOptional<z.ZodBoolean>;
|
|
3564
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3565
|
+
value: z.ZodNumber;
|
|
3566
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3567
|
+
value: z.ZodString;
|
|
3568
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3569
|
+
}, z.core.$strict>>;
|
|
3570
|
+
}, z.core.$strict>>>;
|
|
3571
|
+
x_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3572
|
+
type: z.ZodEnum<{
|
|
3573
|
+
number: "number";
|
|
3574
|
+
currency: "currency";
|
|
3575
|
+
duration: "duration";
|
|
3576
|
+
percent: "percent";
|
|
3577
|
+
}>;
|
|
3578
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3579
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3580
|
+
}, z.core.$strict>>;
|
|
3581
|
+
y_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3582
|
+
type: z.ZodEnum<{
|
|
3583
|
+
number: "number";
|
|
3584
|
+
currency: "currency";
|
|
3585
|
+
duration: "duration";
|
|
3586
|
+
percent: "percent";
|
|
3587
|
+
}>;
|
|
3588
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3589
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3590
|
+
}, z.core.$strict>>;
|
|
3591
|
+
empty_state: z.ZodOptional<z.ZodEnum<{
|
|
3592
|
+
message: "message";
|
|
3593
|
+
blank: "blank";
|
|
3594
|
+
}>>;
|
|
3595
|
+
}, z.core.$strict>>;
|
|
3596
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3597
|
+
type: z.ZodLiteral<"funnel">;
|
|
3598
|
+
stages: z.ZodArray<z.ZodString>;
|
|
3599
|
+
split_by: z.ZodOptional<z.ZodString>;
|
|
3600
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3601
|
+
type: z.ZodLiteral<"table">;
|
|
3602
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3603
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3604
|
+
type: z.ZodLiteral<"timeline">;
|
|
3605
|
+
timestamp: z.ZodString;
|
|
3606
|
+
event_type: z.ZodString;
|
|
3607
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3608
|
+
type: z.ZodLiteral<"recommendations">;
|
|
3609
|
+
presentation: z.ZodEnum<{
|
|
3610
|
+
list: "list";
|
|
3611
|
+
ranked_cards: "ranked_cards";
|
|
3612
|
+
}>;
|
|
3613
|
+
}, z.core.$strict>], "type">;
|
|
3614
|
+
}, z.core.$strict>;
|
|
3615
|
+
declare const AnalyticsViewHandoffSchema: z.ZodObject<{
|
|
3616
|
+
id: z.ZodString;
|
|
3617
|
+
label: z.ZodObject<{
|
|
3618
|
+
value: z.ZodString;
|
|
3619
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3620
|
+
}, z.core.$strict>;
|
|
3621
|
+
target: z.ZodString;
|
|
3622
|
+
bindings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3623
|
+
}, z.core.$strict>;
|
|
3624
|
+
declare const AnalyticsCustomizationPolicySchema: z.ZodObject<{
|
|
3625
|
+
allow: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3626
|
+
title: "title";
|
|
3627
|
+
sort: "sort";
|
|
3628
|
+
limit: "limit";
|
|
3629
|
+
filter_defaults: "filter_defaults";
|
|
3630
|
+
metric_selection: "metric_selection";
|
|
3631
|
+
grouping: "grouping";
|
|
3632
|
+
compatible_renderer: "compatible_renderer";
|
|
3633
|
+
block_visibility: "block_visibility";
|
|
3634
|
+
layout: "layout";
|
|
3635
|
+
source_scope: "source_scope";
|
|
3636
|
+
handoff_target: "handoff_target";
|
|
3637
|
+
hidden_scope: "hidden_scope";
|
|
3638
|
+
raw_expression: "raw_expression";
|
|
3639
|
+
}>>>;
|
|
3640
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3641
|
+
title: "title";
|
|
3642
|
+
sort: "sort";
|
|
3643
|
+
limit: "limit";
|
|
3644
|
+
filter_defaults: "filter_defaults";
|
|
3645
|
+
metric_selection: "metric_selection";
|
|
3646
|
+
grouping: "grouping";
|
|
3647
|
+
compatible_renderer: "compatible_renderer";
|
|
3648
|
+
block_visibility: "block_visibility";
|
|
3649
|
+
layout: "layout";
|
|
3650
|
+
source_scope: "source_scope";
|
|
3651
|
+
handoff_target: "handoff_target";
|
|
3652
|
+
hidden_scope: "hidden_scope";
|
|
3653
|
+
raw_expression: "raw_expression";
|
|
3654
|
+
}>>>;
|
|
3655
|
+
}, z.core.$strict>;
|
|
3656
|
+
/** Version of the analytics-view document contract itself. */
|
|
3657
|
+
declare const ANALYTICS_VIEW_SCHEMA_VERSION = "1.0";
|
|
3658
|
+
declare const AnalyticsViewSchema: z.ZodObject<{
|
|
3659
|
+
kind: z.ZodLiteral<"revturbine.analytics-view">;
|
|
3660
|
+
schema_version: z.ZodString;
|
|
3661
|
+
id: z.ZodString;
|
|
3662
|
+
revision: z.ZodNumber;
|
|
3663
|
+
title: z.ZodObject<{
|
|
3664
|
+
value: z.ZodString;
|
|
3665
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3666
|
+
}, z.core.$strict>;
|
|
3667
|
+
description: z.ZodOptional<z.ZodObject<{
|
|
3668
|
+
value: z.ZodString;
|
|
3669
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3670
|
+
}, z.core.$strict>>;
|
|
3671
|
+
analytical_unit: z.ZodEnum<{
|
|
3672
|
+
account: "account";
|
|
3673
|
+
user: "user";
|
|
3674
|
+
billing_unit: "billing_unit";
|
|
3675
|
+
organization: "organization";
|
|
3676
|
+
}>;
|
|
3677
|
+
base_template: z.ZodOptional<z.ZodObject<{
|
|
3678
|
+
id: z.ZodString;
|
|
3679
|
+
version: z.ZodNumber;
|
|
3680
|
+
}, z.core.$strict>>;
|
|
3681
|
+
catalog_version: z.ZodString;
|
|
3682
|
+
filters: z.ZodArray<z.ZodObject<{
|
|
3683
|
+
id: z.ZodString;
|
|
3684
|
+
dimension: z.ZodString;
|
|
3685
|
+
control: z.ZodEnum<{
|
|
3686
|
+
date_range: "date_range";
|
|
3687
|
+
single_select: "single_select";
|
|
3688
|
+
multi_select: "multi_select";
|
|
3689
|
+
search_select: "search_select";
|
|
3690
|
+
number_range: "number_range";
|
|
3691
|
+
}>;
|
|
3692
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3693
|
+
value: z.ZodString;
|
|
3694
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3695
|
+
}, z.core.$strict>>;
|
|
3696
|
+
operators: z.ZodArray<z.ZodEnum<{
|
|
3697
|
+
in: "in";
|
|
3698
|
+
eq: "eq";
|
|
3699
|
+
neq: "neq";
|
|
3700
|
+
not_in: "not_in";
|
|
3701
|
+
between: "between";
|
|
3702
|
+
gte: "gte";
|
|
3703
|
+
lte: "lte";
|
|
3704
|
+
is_null: "is_null";
|
|
3705
|
+
is_not_null: "is_not_null";
|
|
3706
|
+
contains: "contains";
|
|
3707
|
+
}>>;
|
|
3708
|
+
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
3709
|
+
preset: z.ZodString;
|
|
3710
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3711
|
+
none: "none";
|
|
3712
|
+
previous_period: "previous_period";
|
|
3713
|
+
previous_year: "previous_year";
|
|
3714
|
+
}>>;
|
|
3715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3716
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3717
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3718
|
+
}, z.core.$strict>]>>;
|
|
3719
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3720
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
3721
|
+
applies_to: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
3722
|
+
}, z.core.$strict>>;
|
|
3723
|
+
layout: z.ZodObject<{
|
|
3724
|
+
type: z.ZodLiteral<"grid">;
|
|
3725
|
+
columns: z.ZodDefault<z.ZodNumber>;
|
|
3726
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3727
|
+
block_id: z.ZodString;
|
|
3728
|
+
x: z.ZodNumber;
|
|
3729
|
+
y: z.ZodNumber;
|
|
3730
|
+
w: z.ZodNumber;
|
|
3731
|
+
h: z.ZodNumber;
|
|
3732
|
+
}, z.core.$strict>>;
|
|
3733
|
+
}, z.core.$strict>;
|
|
3734
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
3735
|
+
id: z.ZodString;
|
|
3736
|
+
title: z.ZodOptional<z.ZodObject<{
|
|
3737
|
+
value: z.ZodString;
|
|
3738
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3739
|
+
}, z.core.$strict>>;
|
|
3740
|
+
description: z.ZodOptional<z.ZodObject<{
|
|
3741
|
+
value: z.ZodString;
|
|
3742
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3743
|
+
}, z.core.$strict>>;
|
|
3744
|
+
query: z.ZodObject<{
|
|
3745
|
+
concept: z.ZodString;
|
|
3746
|
+
family: z.ZodEnum<{
|
|
3747
|
+
scalar: "scalar";
|
|
3748
|
+
timeseries: "timeseries";
|
|
3749
|
+
breakdown: "breakdown";
|
|
3750
|
+
funnel: "funnel";
|
|
3751
|
+
table: "table";
|
|
3752
|
+
timeline: "timeline";
|
|
3753
|
+
}>;
|
|
3754
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
3755
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3756
|
+
time: z.ZodOptional<z.ZodObject<{
|
|
3757
|
+
dimension: z.ZodString;
|
|
3758
|
+
grain: z.ZodEnum<{
|
|
3759
|
+
month: "month";
|
|
3760
|
+
day: "day";
|
|
3761
|
+
week: "week";
|
|
3762
|
+
quarter: "quarter";
|
|
3763
|
+
hour: "hour";
|
|
3764
|
+
}>;
|
|
3765
|
+
}, z.core.$strict>>;
|
|
3766
|
+
filters_from: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3767
|
+
fixed_filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3768
|
+
dimension: z.ZodString;
|
|
3769
|
+
operator: z.ZodEnum<{
|
|
3770
|
+
in: "in";
|
|
3771
|
+
eq: "eq";
|
|
3772
|
+
neq: "neq";
|
|
3773
|
+
not_in: "not_in";
|
|
3774
|
+
between: "between";
|
|
3775
|
+
gte: "gte";
|
|
3776
|
+
lte: "lte";
|
|
3777
|
+
is_null: "is_null";
|
|
3778
|
+
is_not_null: "is_not_null";
|
|
3779
|
+
contains: "contains";
|
|
3780
|
+
}>;
|
|
3781
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
3782
|
+
preset: z.ZodString;
|
|
3783
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3784
|
+
none: "none";
|
|
3785
|
+
previous_period: "previous_period";
|
|
3786
|
+
previous_year: "previous_year";
|
|
3787
|
+
}>>;
|
|
3788
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3789
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3790
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3791
|
+
}, z.core.$strict>]>>;
|
|
3792
|
+
}, z.core.$strict>>>;
|
|
3793
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3794
|
+
none: "none";
|
|
3795
|
+
previous_period: "previous_period";
|
|
3796
|
+
previous_year: "previous_year";
|
|
3797
|
+
}>>;
|
|
3798
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3799
|
+
field: z.ZodString;
|
|
3800
|
+
direction: z.ZodEnum<{
|
|
3801
|
+
asc: "asc";
|
|
3802
|
+
desc: "desc";
|
|
3803
|
+
}>;
|
|
3804
|
+
}, z.core.$strict>>>;
|
|
3805
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3806
|
+
}, z.core.$strict>;
|
|
3807
|
+
render: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3808
|
+
type: z.ZodLiteral<"metric">;
|
|
3809
|
+
value: z.ZodString;
|
|
3810
|
+
comparison: z.ZodOptional<z.ZodString>;
|
|
3811
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
3812
|
+
type: z.ZodEnum<{
|
|
3813
|
+
number: "number";
|
|
3814
|
+
currency: "currency";
|
|
3815
|
+
duration: "duration";
|
|
3816
|
+
percent: "percent";
|
|
3817
|
+
}>;
|
|
3818
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3819
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3820
|
+
}, z.core.$strict>>;
|
|
3821
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3822
|
+
type: z.ZodLiteral<"cartesian">;
|
|
3823
|
+
mark: z.ZodEnum<{
|
|
3824
|
+
line: "line";
|
|
3825
|
+
area: "area";
|
|
3826
|
+
bar: "bar";
|
|
3827
|
+
stacked_bar: "stacked_bar";
|
|
3828
|
+
scatter: "scatter";
|
|
3829
|
+
}>;
|
|
3830
|
+
encoding: z.ZodObject<{
|
|
3831
|
+
x: z.ZodString;
|
|
3832
|
+
y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3833
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3834
|
+
facet: z.ZodOptional<z.ZodString>;
|
|
3835
|
+
}, z.core.$strict>;
|
|
3836
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3837
|
+
legend: z.ZodOptional<z.ZodEnum<{
|
|
3838
|
+
none: "none";
|
|
3839
|
+
top: "top";
|
|
3840
|
+
right: "right";
|
|
3841
|
+
bottom: "bottom";
|
|
3842
|
+
left: "left";
|
|
3843
|
+
}>>;
|
|
3844
|
+
value_labels: z.ZodOptional<z.ZodBoolean>;
|
|
3845
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3846
|
+
value: z.ZodNumber;
|
|
3847
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3848
|
+
value: z.ZodString;
|
|
3849
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3850
|
+
}, z.core.$strict>>;
|
|
3851
|
+
}, z.core.$strict>>>;
|
|
3852
|
+
x_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3853
|
+
type: z.ZodEnum<{
|
|
3854
|
+
number: "number";
|
|
3855
|
+
currency: "currency";
|
|
3856
|
+
duration: "duration";
|
|
3857
|
+
percent: "percent";
|
|
3858
|
+
}>;
|
|
3859
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3860
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3861
|
+
}, z.core.$strict>>;
|
|
3862
|
+
y_axis_format: z.ZodOptional<z.ZodObject<{
|
|
3863
|
+
type: z.ZodEnum<{
|
|
3864
|
+
number: "number";
|
|
3865
|
+
currency: "currency";
|
|
3866
|
+
duration: "duration";
|
|
3867
|
+
percent: "percent";
|
|
3868
|
+
}>;
|
|
3869
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3870
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3871
|
+
}, z.core.$strict>>;
|
|
3872
|
+
empty_state: z.ZodOptional<z.ZodEnum<{
|
|
3873
|
+
message: "message";
|
|
3874
|
+
blank: "blank";
|
|
3875
|
+
}>>;
|
|
3876
|
+
}, z.core.$strict>>;
|
|
3877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3878
|
+
type: z.ZodLiteral<"funnel">;
|
|
3879
|
+
stages: z.ZodArray<z.ZodString>;
|
|
3880
|
+
split_by: z.ZodOptional<z.ZodString>;
|
|
3881
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3882
|
+
type: z.ZodLiteral<"table">;
|
|
3883
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3884
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3885
|
+
type: z.ZodLiteral<"timeline">;
|
|
3886
|
+
timestamp: z.ZodString;
|
|
3887
|
+
event_type: z.ZodString;
|
|
3888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3889
|
+
type: z.ZodLiteral<"recommendations">;
|
|
3890
|
+
presentation: z.ZodEnum<{
|
|
3891
|
+
list: "list";
|
|
3892
|
+
ranked_cards: "ranked_cards";
|
|
3893
|
+
}>;
|
|
3894
|
+
}, z.core.$strict>], "type">;
|
|
3895
|
+
}, z.core.$strict>>;
|
|
3896
|
+
handoffs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3897
|
+
id: z.ZodString;
|
|
3898
|
+
label: z.ZodObject<{
|
|
3899
|
+
value: z.ZodString;
|
|
3900
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3901
|
+
}, z.core.$strict>;
|
|
3902
|
+
target: z.ZodString;
|
|
3903
|
+
bindings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3904
|
+
}, z.core.$strict>>>;
|
|
3905
|
+
customization_policy: z.ZodObject<{
|
|
3906
|
+
allow: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3907
|
+
title: "title";
|
|
3908
|
+
sort: "sort";
|
|
3909
|
+
limit: "limit";
|
|
3910
|
+
filter_defaults: "filter_defaults";
|
|
3911
|
+
metric_selection: "metric_selection";
|
|
3912
|
+
grouping: "grouping";
|
|
3913
|
+
compatible_renderer: "compatible_renderer";
|
|
3914
|
+
block_visibility: "block_visibility";
|
|
3915
|
+
layout: "layout";
|
|
3916
|
+
source_scope: "source_scope";
|
|
3917
|
+
handoff_target: "handoff_target";
|
|
3918
|
+
hidden_scope: "hidden_scope";
|
|
3919
|
+
raw_expression: "raw_expression";
|
|
3920
|
+
}>>>;
|
|
3921
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3922
|
+
title: "title";
|
|
3923
|
+
sort: "sort";
|
|
3924
|
+
limit: "limit";
|
|
3925
|
+
filter_defaults: "filter_defaults";
|
|
3926
|
+
metric_selection: "metric_selection";
|
|
3927
|
+
grouping: "grouping";
|
|
3928
|
+
compatible_renderer: "compatible_renderer";
|
|
3929
|
+
block_visibility: "block_visibility";
|
|
3930
|
+
layout: "layout";
|
|
3931
|
+
source_scope: "source_scope";
|
|
3932
|
+
handoff_target: "handoff_target";
|
|
3933
|
+
hidden_scope: "hidden_scope";
|
|
3934
|
+
raw_expression: "raw_expression";
|
|
3935
|
+
}>>>;
|
|
3936
|
+
}, z.core.$strict>;
|
|
3937
|
+
}, z.core.$strict>;
|
|
3938
|
+
declare const AnalyticsViewFilterDraftSchema: z.ZodObject<{
|
|
3939
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3940
|
+
dimension: z.ZodString;
|
|
3941
|
+
control: z.ZodOptional<z.ZodEnum<{
|
|
3942
|
+
date_range: "date_range";
|
|
3943
|
+
single_select: "single_select";
|
|
3944
|
+
multi_select: "multi_select";
|
|
3945
|
+
search_select: "search_select";
|
|
3946
|
+
number_range: "number_range";
|
|
3947
|
+
}>>;
|
|
3948
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3949
|
+
value: z.ZodString;
|
|
3950
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3951
|
+
}, z.core.$strict>>;
|
|
3952
|
+
operators: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3953
|
+
in: "in";
|
|
3954
|
+
eq: "eq";
|
|
3955
|
+
neq: "neq";
|
|
3956
|
+
not_in: "not_in";
|
|
3957
|
+
between: "between";
|
|
3958
|
+
gte: "gte";
|
|
3959
|
+
lte: "lte";
|
|
3960
|
+
is_null: "is_null";
|
|
3961
|
+
is_not_null: "is_not_null";
|
|
3962
|
+
contains: "contains";
|
|
3963
|
+
}>>>;
|
|
3964
|
+
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
3965
|
+
preset: z.ZodString;
|
|
3966
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
3967
|
+
none: "none";
|
|
3968
|
+
previous_period: "previous_period";
|
|
3969
|
+
previous_year: "previous_year";
|
|
3970
|
+
}>>;
|
|
3971
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3972
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3973
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3974
|
+
}, z.core.$strict>]>>;
|
|
3975
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3976
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
3977
|
+
applies_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
3978
|
+
}, z.core.$strict>;
|
|
3979
|
+
/**
|
|
3980
|
+
* Draft block — the compact convenience shape: query fields sit flat on the
|
|
3981
|
+
* block (§4.1's example) and `render` may be `auto`. The compiler nests them
|
|
3982
|
+
* into a canonical `AnalyticsViewBlock`; the two forms never differ
|
|
3983
|
+
* semantically (§17.9).
|
|
3984
|
+
*/
|
|
3985
|
+
declare const AnalyticsViewBlockDraftSchema: z.ZodObject<{
|
|
3986
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
title: z.ZodOptional<z.ZodObject<{
|
|
3988
|
+
value: z.ZodString;
|
|
3989
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
}, z.core.$strict>>;
|
|
3991
|
+
concept: z.ZodString;
|
|
3992
|
+
family: z.ZodEnum<{
|
|
3993
|
+
scalar: "scalar";
|
|
3994
|
+
timeseries: "timeseries";
|
|
3995
|
+
breakdown: "breakdown";
|
|
3996
|
+
funnel: "funnel";
|
|
3997
|
+
table: "table";
|
|
3998
|
+
timeline: "timeline";
|
|
3999
|
+
}>;
|
|
4000
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
4001
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4002
|
+
time: z.ZodOptional<z.ZodObject<{
|
|
4003
|
+
dimension: z.ZodString;
|
|
4004
|
+
grain: z.ZodEnum<{
|
|
4005
|
+
month: "month";
|
|
4006
|
+
day: "day";
|
|
4007
|
+
week: "week";
|
|
4008
|
+
quarter: "quarter";
|
|
4009
|
+
hour: "hour";
|
|
4010
|
+
}>;
|
|
4011
|
+
}, z.core.$strict>>;
|
|
4012
|
+
filters_from: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4013
|
+
fixed_filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4014
|
+
dimension: z.ZodString;
|
|
4015
|
+
operator: z.ZodEnum<{
|
|
4016
|
+
in: "in";
|
|
4017
|
+
eq: "eq";
|
|
4018
|
+
neq: "neq";
|
|
4019
|
+
not_in: "not_in";
|
|
4020
|
+
between: "between";
|
|
4021
|
+
gte: "gte";
|
|
4022
|
+
lte: "lte";
|
|
4023
|
+
is_null: "is_null";
|
|
4024
|
+
is_not_null: "is_not_null";
|
|
4025
|
+
contains: "contains";
|
|
4026
|
+
}>;
|
|
4027
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
4028
|
+
preset: z.ZodString;
|
|
4029
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
4030
|
+
none: "none";
|
|
4031
|
+
previous_period: "previous_period";
|
|
4032
|
+
previous_year: "previous_year";
|
|
4033
|
+
}>>;
|
|
4034
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4035
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4036
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4037
|
+
}, z.core.$strict>]>>;
|
|
4038
|
+
}, z.core.$strict>>>;
|
|
4039
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
4040
|
+
none: "none";
|
|
4041
|
+
previous_period: "previous_period";
|
|
4042
|
+
previous_year: "previous_year";
|
|
4043
|
+
}>>;
|
|
4044
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4045
|
+
field: z.ZodString;
|
|
4046
|
+
direction: z.ZodEnum<{
|
|
4047
|
+
asc: "asc";
|
|
4048
|
+
desc: "desc";
|
|
4049
|
+
}>;
|
|
4050
|
+
}, z.core.$strict>>>;
|
|
4051
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4052
|
+
render: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4053
|
+
type: z.ZodLiteral<"metric">;
|
|
4054
|
+
value: z.ZodString;
|
|
4055
|
+
comparison: z.ZodOptional<z.ZodString>;
|
|
4056
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
4057
|
+
type: z.ZodEnum<{
|
|
4058
|
+
number: "number";
|
|
4059
|
+
currency: "currency";
|
|
4060
|
+
duration: "duration";
|
|
4061
|
+
percent: "percent";
|
|
4062
|
+
}>;
|
|
4063
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4064
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4065
|
+
}, z.core.$strict>>;
|
|
4066
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4067
|
+
type: z.ZodLiteral<"cartesian">;
|
|
4068
|
+
mark: z.ZodEnum<{
|
|
4069
|
+
line: "line";
|
|
4070
|
+
area: "area";
|
|
4071
|
+
bar: "bar";
|
|
4072
|
+
stacked_bar: "stacked_bar";
|
|
4073
|
+
scatter: "scatter";
|
|
4074
|
+
}>;
|
|
4075
|
+
encoding: z.ZodObject<{
|
|
4076
|
+
x: z.ZodString;
|
|
4077
|
+
y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
4078
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4079
|
+
facet: z.ZodOptional<z.ZodString>;
|
|
4080
|
+
}, z.core.$strict>;
|
|
4081
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
4082
|
+
legend: z.ZodOptional<z.ZodEnum<{
|
|
4083
|
+
none: "none";
|
|
4084
|
+
top: "top";
|
|
4085
|
+
right: "right";
|
|
4086
|
+
bottom: "bottom";
|
|
4087
|
+
left: "left";
|
|
4088
|
+
}>>;
|
|
4089
|
+
value_labels: z.ZodOptional<z.ZodBoolean>;
|
|
4090
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4091
|
+
value: z.ZodNumber;
|
|
4092
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4093
|
+
value: z.ZodString;
|
|
4094
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4095
|
+
}, z.core.$strict>>;
|
|
4096
|
+
}, z.core.$strict>>>;
|
|
4097
|
+
x_axis_format: z.ZodOptional<z.ZodObject<{
|
|
4098
|
+
type: z.ZodEnum<{
|
|
4099
|
+
number: "number";
|
|
4100
|
+
currency: "currency";
|
|
4101
|
+
duration: "duration";
|
|
4102
|
+
percent: "percent";
|
|
4103
|
+
}>;
|
|
4104
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4105
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4106
|
+
}, z.core.$strict>>;
|
|
4107
|
+
y_axis_format: z.ZodOptional<z.ZodObject<{
|
|
4108
|
+
type: z.ZodEnum<{
|
|
4109
|
+
number: "number";
|
|
4110
|
+
currency: "currency";
|
|
4111
|
+
duration: "duration";
|
|
4112
|
+
percent: "percent";
|
|
4113
|
+
}>;
|
|
4114
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4115
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4116
|
+
}, z.core.$strict>>;
|
|
4117
|
+
empty_state: z.ZodOptional<z.ZodEnum<{
|
|
4118
|
+
message: "message";
|
|
4119
|
+
blank: "blank";
|
|
4120
|
+
}>>;
|
|
4121
|
+
}, z.core.$strict>>;
|
|
4122
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4123
|
+
type: z.ZodLiteral<"funnel">;
|
|
4124
|
+
stages: z.ZodArray<z.ZodString>;
|
|
4125
|
+
split_by: z.ZodOptional<z.ZodString>;
|
|
4126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4127
|
+
type: z.ZodLiteral<"table">;
|
|
4128
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4130
|
+
type: z.ZodLiteral<"timeline">;
|
|
4131
|
+
timestamp: z.ZodString;
|
|
4132
|
+
event_type: z.ZodString;
|
|
4133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4134
|
+
type: z.ZodLiteral<"recommendations">;
|
|
4135
|
+
presentation: z.ZodEnum<{
|
|
4136
|
+
list: "list";
|
|
4137
|
+
ranked_cards: "ranked_cards";
|
|
4138
|
+
}>;
|
|
4139
|
+
}, z.core.$strict>], "type">]>>;
|
|
4140
|
+
}, z.core.$strict>;
|
|
4141
|
+
declare const AnalyticsViewHandoffDraftSchema: z.ZodObject<{
|
|
4142
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4143
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4144
|
+
value: z.ZodString;
|
|
4145
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4146
|
+
}, z.core.$strict>>;
|
|
4147
|
+
target: z.ZodString;
|
|
4148
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4149
|
+
}, z.core.$strict>;
|
|
4150
|
+
declare const AnalyticsViewDraftSchema: z.ZodObject<{
|
|
4151
|
+
kind: z.ZodLiteral<"revturbine.analytics-view-draft">;
|
|
4152
|
+
schema_version: z.ZodString;
|
|
4153
|
+
title: z.ZodObject<{
|
|
4154
|
+
value: z.ZodString;
|
|
4155
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4156
|
+
}, z.core.$strict>;
|
|
4157
|
+
analytical_unit: z.ZodOptional<z.ZodEnum<{
|
|
4158
|
+
account: "account";
|
|
4159
|
+
user: "user";
|
|
4160
|
+
billing_unit: "billing_unit";
|
|
4161
|
+
organization: "organization";
|
|
4162
|
+
}>>;
|
|
4163
|
+
filters: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"recommended">, z.ZodArray<z.ZodObject<{
|
|
4164
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4165
|
+
dimension: z.ZodString;
|
|
4166
|
+
control: z.ZodOptional<z.ZodEnum<{
|
|
4167
|
+
date_range: "date_range";
|
|
4168
|
+
single_select: "single_select";
|
|
4169
|
+
multi_select: "multi_select";
|
|
4170
|
+
search_select: "search_select";
|
|
4171
|
+
number_range: "number_range";
|
|
4172
|
+
}>>;
|
|
4173
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4174
|
+
value: z.ZodString;
|
|
4175
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
}, z.core.$strict>>;
|
|
4177
|
+
operators: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4178
|
+
in: "in";
|
|
4179
|
+
eq: "eq";
|
|
4180
|
+
neq: "neq";
|
|
4181
|
+
not_in: "not_in";
|
|
4182
|
+
between: "between";
|
|
4183
|
+
gte: "gte";
|
|
4184
|
+
lte: "lte";
|
|
4185
|
+
is_null: "is_null";
|
|
4186
|
+
is_not_null: "is_not_null";
|
|
4187
|
+
contains: "contains";
|
|
4188
|
+
}>>>;
|
|
4189
|
+
default_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
4190
|
+
preset: z.ZodString;
|
|
4191
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
4192
|
+
none: "none";
|
|
4193
|
+
previous_period: "previous_period";
|
|
4194
|
+
previous_year: "previous_year";
|
|
4195
|
+
}>>;
|
|
4196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4197
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4198
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4199
|
+
}, z.core.$strict>]>>;
|
|
4200
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
4201
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4202
|
+
applies_to: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4203
|
+
}, z.core.$strict>>]>>;
|
|
4204
|
+
layout: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodObject<{
|
|
4205
|
+
type: z.ZodLiteral<"grid">;
|
|
4206
|
+
columns: z.ZodDefault<z.ZodNumber>;
|
|
4207
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4208
|
+
block_id: z.ZodString;
|
|
4209
|
+
x: z.ZodNumber;
|
|
4210
|
+
y: z.ZodNumber;
|
|
4211
|
+
w: z.ZodNumber;
|
|
4212
|
+
h: z.ZodNumber;
|
|
4213
|
+
}, z.core.$strict>>;
|
|
4214
|
+
}, z.core.$strict>]>>;
|
|
4215
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
4216
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4217
|
+
title: z.ZodOptional<z.ZodObject<{
|
|
4218
|
+
value: z.ZodString;
|
|
4219
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4220
|
+
}, z.core.$strict>>;
|
|
4221
|
+
concept: z.ZodString;
|
|
4222
|
+
family: z.ZodEnum<{
|
|
4223
|
+
scalar: "scalar";
|
|
4224
|
+
timeseries: "timeseries";
|
|
4225
|
+
breakdown: "breakdown";
|
|
4226
|
+
funnel: "funnel";
|
|
4227
|
+
table: "table";
|
|
4228
|
+
timeline: "timeline";
|
|
4229
|
+
}>;
|
|
4230
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
4231
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4232
|
+
time: z.ZodOptional<z.ZodObject<{
|
|
4233
|
+
dimension: z.ZodString;
|
|
4234
|
+
grain: z.ZodEnum<{
|
|
4235
|
+
month: "month";
|
|
4236
|
+
day: "day";
|
|
4237
|
+
week: "week";
|
|
4238
|
+
quarter: "quarter";
|
|
4239
|
+
hour: "hour";
|
|
4240
|
+
}>;
|
|
4241
|
+
}, z.core.$strict>>;
|
|
4242
|
+
filters_from: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4243
|
+
fixed_filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4244
|
+
dimension: z.ZodString;
|
|
4245
|
+
operator: z.ZodEnum<{
|
|
4246
|
+
in: "in";
|
|
4247
|
+
eq: "eq";
|
|
4248
|
+
neq: "neq";
|
|
4249
|
+
not_in: "not_in";
|
|
4250
|
+
between: "between";
|
|
4251
|
+
gte: "gte";
|
|
4252
|
+
lte: "lte";
|
|
4253
|
+
is_null: "is_null";
|
|
4254
|
+
is_not_null: "is_not_null";
|
|
4255
|
+
contains: "contains";
|
|
4256
|
+
}>;
|
|
4257
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
4258
|
+
preset: z.ZodString;
|
|
4259
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
4260
|
+
none: "none";
|
|
4261
|
+
previous_period: "previous_period";
|
|
4262
|
+
previous_year: "previous_year";
|
|
4263
|
+
}>>;
|
|
4264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4265
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4266
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4267
|
+
}, z.core.$strict>]>>;
|
|
4268
|
+
}, z.core.$strict>>>;
|
|
4269
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
4270
|
+
none: "none";
|
|
4271
|
+
previous_period: "previous_period";
|
|
4272
|
+
previous_year: "previous_year";
|
|
4273
|
+
}>>;
|
|
4274
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4275
|
+
field: z.ZodString;
|
|
4276
|
+
direction: z.ZodEnum<{
|
|
4277
|
+
asc: "asc";
|
|
4278
|
+
desc: "desc";
|
|
4279
|
+
}>;
|
|
4280
|
+
}, z.core.$strict>>>;
|
|
4281
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4282
|
+
render: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4283
|
+
type: z.ZodLiteral<"metric">;
|
|
4284
|
+
value: z.ZodString;
|
|
4285
|
+
comparison: z.ZodOptional<z.ZodString>;
|
|
4286
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
4287
|
+
type: z.ZodEnum<{
|
|
4288
|
+
number: "number";
|
|
4289
|
+
currency: "currency";
|
|
4290
|
+
duration: "duration";
|
|
4291
|
+
percent: "percent";
|
|
4292
|
+
}>;
|
|
4293
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4294
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4295
|
+
}, z.core.$strict>>;
|
|
4296
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4297
|
+
type: z.ZodLiteral<"cartesian">;
|
|
4298
|
+
mark: z.ZodEnum<{
|
|
4299
|
+
line: "line";
|
|
4300
|
+
area: "area";
|
|
4301
|
+
bar: "bar";
|
|
4302
|
+
stacked_bar: "stacked_bar";
|
|
4303
|
+
scatter: "scatter";
|
|
4304
|
+
}>;
|
|
4305
|
+
encoding: z.ZodObject<{
|
|
4306
|
+
x: z.ZodString;
|
|
4307
|
+
y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
4308
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4309
|
+
facet: z.ZodOptional<z.ZodString>;
|
|
4310
|
+
}, z.core.$strict>;
|
|
4311
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
4312
|
+
legend: z.ZodOptional<z.ZodEnum<{
|
|
4313
|
+
none: "none";
|
|
4314
|
+
top: "top";
|
|
4315
|
+
right: "right";
|
|
4316
|
+
bottom: "bottom";
|
|
4317
|
+
left: "left";
|
|
4318
|
+
}>>;
|
|
4319
|
+
value_labels: z.ZodOptional<z.ZodBoolean>;
|
|
4320
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4321
|
+
value: z.ZodNumber;
|
|
4322
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4323
|
+
value: z.ZodString;
|
|
4324
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4325
|
+
}, z.core.$strict>>;
|
|
4326
|
+
}, z.core.$strict>>>;
|
|
4327
|
+
x_axis_format: z.ZodOptional<z.ZodObject<{
|
|
4328
|
+
type: z.ZodEnum<{
|
|
4329
|
+
number: "number";
|
|
4330
|
+
currency: "currency";
|
|
4331
|
+
duration: "duration";
|
|
4332
|
+
percent: "percent";
|
|
4333
|
+
}>;
|
|
4334
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4335
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4336
|
+
}, z.core.$strict>>;
|
|
4337
|
+
y_axis_format: z.ZodOptional<z.ZodObject<{
|
|
4338
|
+
type: z.ZodEnum<{
|
|
4339
|
+
number: "number";
|
|
4340
|
+
currency: "currency";
|
|
4341
|
+
duration: "duration";
|
|
4342
|
+
percent: "percent";
|
|
4343
|
+
}>;
|
|
4344
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4345
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4346
|
+
}, z.core.$strict>>;
|
|
4347
|
+
empty_state: z.ZodOptional<z.ZodEnum<{
|
|
4348
|
+
message: "message";
|
|
4349
|
+
blank: "blank";
|
|
4350
|
+
}>>;
|
|
4351
|
+
}, z.core.$strict>>;
|
|
4352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4353
|
+
type: z.ZodLiteral<"funnel">;
|
|
4354
|
+
stages: z.ZodArray<z.ZodString>;
|
|
4355
|
+
split_by: z.ZodOptional<z.ZodString>;
|
|
4356
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4357
|
+
type: z.ZodLiteral<"table">;
|
|
4358
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4360
|
+
type: z.ZodLiteral<"timeline">;
|
|
4361
|
+
timestamp: z.ZodString;
|
|
4362
|
+
event_type: z.ZodString;
|
|
4363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4364
|
+
type: z.ZodLiteral<"recommendations">;
|
|
4365
|
+
presentation: z.ZodEnum<{
|
|
4366
|
+
list: "list";
|
|
4367
|
+
ranked_cards: "ranked_cards";
|
|
4368
|
+
}>;
|
|
4369
|
+
}, z.core.$strict>], "type">]>>;
|
|
4370
|
+
}, z.core.$strict>>;
|
|
4371
|
+
handoffs: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"recommended">, z.ZodArray<z.ZodObject<{
|
|
4372
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4374
|
+
value: z.ZodString;
|
|
4375
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4376
|
+
}, z.core.$strict>>;
|
|
4377
|
+
target: z.ZodString;
|
|
4378
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4379
|
+
}, z.core.$strict>>]>>;
|
|
4380
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
4381
|
+
private: "private";
|
|
4382
|
+
team: "team";
|
|
4383
|
+
tenant: "tenant";
|
|
4384
|
+
}>>;
|
|
4385
|
+
}, z.core.$strict>;
|
|
4386
|
+
declare const AnalyticsSuggestedPatchOpSchema: z.ZodObject<{
|
|
4387
|
+
op: z.ZodEnum<{
|
|
4388
|
+
replace: "replace";
|
|
4389
|
+
add: "add";
|
|
4390
|
+
remove: "remove";
|
|
4391
|
+
}>;
|
|
4392
|
+
path: z.ZodString;
|
|
4393
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4394
|
+
}, z.core.$strict>;
|
|
4395
|
+
declare const AnalyticsWarningSchema: z.ZodObject<{
|
|
4396
|
+
code: z.ZodString;
|
|
4397
|
+
message: z.ZodString;
|
|
4398
|
+
}, z.core.$strip>;
|
|
4399
|
+
declare const AnalyticsValidationIssueSchema: z.ZodObject<{
|
|
4400
|
+
code: z.ZodString;
|
|
4401
|
+
path: z.ZodString;
|
|
4402
|
+
message: z.ZodString;
|
|
4403
|
+
actual: z.ZodOptional<z.ZodUnknown>;
|
|
4404
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
4405
|
+
suggested_patch: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4406
|
+
op: z.ZodEnum<{
|
|
4407
|
+
replace: "replace";
|
|
4408
|
+
add: "add";
|
|
4409
|
+
remove: "remove";
|
|
4410
|
+
}>;
|
|
4411
|
+
path: z.ZodString;
|
|
4412
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4413
|
+
}, z.core.$strict>>>;
|
|
4414
|
+
}, z.core.$strip>;
|
|
4415
|
+
/** One deterministic default the compiler applied to a draft (§9.2). */
|
|
4416
|
+
declare const AnalyticsCompileResolutionSchema: z.ZodObject<{
|
|
4417
|
+
path: z.ZodString;
|
|
4418
|
+
rule: z.ZodString;
|
|
4419
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4420
|
+
}, z.core.$strip>;
|
|
4421
|
+
declare const AnalyticsValidationResultSchema: z.ZodObject<{
|
|
4422
|
+
valid: z.ZodBoolean;
|
|
4423
|
+
errors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4424
|
+
code: z.ZodString;
|
|
4425
|
+
path: z.ZodString;
|
|
4426
|
+
message: z.ZodString;
|
|
4427
|
+
actual: z.ZodOptional<z.ZodUnknown>;
|
|
4428
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
4429
|
+
suggested_patch: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4430
|
+
op: z.ZodEnum<{
|
|
4431
|
+
replace: "replace";
|
|
4432
|
+
add: "add";
|
|
4433
|
+
remove: "remove";
|
|
4434
|
+
}>;
|
|
4435
|
+
path: z.ZodString;
|
|
4436
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4437
|
+
}, z.core.$strict>>>;
|
|
4438
|
+
}, z.core.$strip>>>;
|
|
4439
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4440
|
+
code: z.ZodString;
|
|
4441
|
+
message: z.ZodString;
|
|
4442
|
+
}, z.core.$strip>>>;
|
|
4443
|
+
catalog_version: z.ZodString;
|
|
4444
|
+
}, z.core.$strip>;
|
|
4445
|
+
declare const AnalyticsResultFieldSchema: z.ZodObject<{
|
|
4446
|
+
id: z.ZodString;
|
|
4447
|
+
type: z.ZodEnum<{
|
|
4448
|
+
string: "string";
|
|
4449
|
+
number: "number";
|
|
4450
|
+
boolean: "boolean";
|
|
4451
|
+
date: "date";
|
|
4452
|
+
currency: "currency";
|
|
4453
|
+
datetime: "datetime";
|
|
4454
|
+
percent: "percent";
|
|
4455
|
+
}>;
|
|
4456
|
+
nullable: z.ZodBoolean;
|
|
4457
|
+
}, z.core.$strip>;
|
|
4458
|
+
declare const AnalyticsCoverageSchema: z.ZodObject<{
|
|
4459
|
+
numerator: z.ZodNumber;
|
|
4460
|
+
denominator: z.ZodNumber;
|
|
4461
|
+
rate: z.ZodNumber;
|
|
4462
|
+
}, z.core.$strip>;
|
|
4463
|
+
declare const AnalyticsResultMetaSchema: z.ZodObject<{
|
|
4464
|
+
query_hash: z.ZodString;
|
|
4465
|
+
concept: z.ZodString;
|
|
4466
|
+
analytical_unit: z.ZodEnum<{
|
|
4467
|
+
account: "account";
|
|
4468
|
+
user: "user";
|
|
4469
|
+
billing_unit: "billing_unit";
|
|
4470
|
+
organization: "organization";
|
|
4471
|
+
}>;
|
|
4472
|
+
source_scope: z.ZodEnum<{
|
|
4473
|
+
total: "total";
|
|
4474
|
+
revturbine_tracked: "revturbine_tracked";
|
|
4475
|
+
revturbine_influenced: "revturbine_influenced";
|
|
4476
|
+
}>;
|
|
4477
|
+
coverage: z.ZodOptional<z.ZodObject<{
|
|
4478
|
+
numerator: z.ZodNumber;
|
|
4479
|
+
denominator: z.ZodNumber;
|
|
4480
|
+
rate: z.ZodNumber;
|
|
4481
|
+
}, z.core.$strip>>;
|
|
4482
|
+
as_of: z.ZodString;
|
|
4483
|
+
freshness_seconds: z.ZodNumber;
|
|
4484
|
+
applied_filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4485
|
+
dimension: z.ZodString;
|
|
4486
|
+
operator: z.ZodEnum<{
|
|
4487
|
+
in: "in";
|
|
4488
|
+
eq: "eq";
|
|
4489
|
+
neq: "neq";
|
|
4490
|
+
not_in: "not_in";
|
|
4491
|
+
between: "between";
|
|
4492
|
+
gte: "gte";
|
|
4493
|
+
lte: "lte";
|
|
4494
|
+
is_null: "is_null";
|
|
4495
|
+
is_not_null: "is_not_null";
|
|
4496
|
+
contains: "contains";
|
|
4497
|
+
}>;
|
|
4498
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
4499
|
+
preset: z.ZodString;
|
|
4500
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
4501
|
+
none: "none";
|
|
4502
|
+
previous_period: "previous_period";
|
|
4503
|
+
previous_year: "previous_year";
|
|
4504
|
+
}>>;
|
|
4505
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4506
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4507
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4508
|
+
}, z.core.$strict>]>>;
|
|
4509
|
+
}, z.core.$strict>>>;
|
|
4510
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
4511
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4512
|
+
code: z.ZodString;
|
|
4513
|
+
message: z.ZodString;
|
|
4514
|
+
}, z.core.$strip>>>;
|
|
4515
|
+
}, z.core.$strip>;
|
|
4516
|
+
declare const AnalyticsResultSchema: z.ZodObject<{
|
|
4517
|
+
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4518
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
4519
|
+
id: z.ZodString;
|
|
4520
|
+
type: z.ZodEnum<{
|
|
4521
|
+
string: "string";
|
|
4522
|
+
number: "number";
|
|
4523
|
+
boolean: "boolean";
|
|
4524
|
+
date: "date";
|
|
4525
|
+
currency: "currency";
|
|
4526
|
+
datetime: "datetime";
|
|
4527
|
+
percent: "percent";
|
|
4528
|
+
}>;
|
|
4529
|
+
nullable: z.ZodBoolean;
|
|
4530
|
+
}, z.core.$strip>>;
|
|
4531
|
+
meta: z.ZodObject<{
|
|
4532
|
+
query_hash: z.ZodString;
|
|
4533
|
+
concept: z.ZodString;
|
|
4534
|
+
analytical_unit: z.ZodEnum<{
|
|
4535
|
+
account: "account";
|
|
4536
|
+
user: "user";
|
|
4537
|
+
billing_unit: "billing_unit";
|
|
4538
|
+
organization: "organization";
|
|
4539
|
+
}>;
|
|
4540
|
+
source_scope: z.ZodEnum<{
|
|
4541
|
+
total: "total";
|
|
4542
|
+
revturbine_tracked: "revturbine_tracked";
|
|
4543
|
+
revturbine_influenced: "revturbine_influenced";
|
|
4544
|
+
}>;
|
|
4545
|
+
coverage: z.ZodOptional<z.ZodObject<{
|
|
4546
|
+
numerator: z.ZodNumber;
|
|
4547
|
+
denominator: z.ZodNumber;
|
|
4548
|
+
rate: z.ZodNumber;
|
|
4549
|
+
}, z.core.$strip>>;
|
|
4550
|
+
as_of: z.ZodString;
|
|
4551
|
+
freshness_seconds: z.ZodNumber;
|
|
4552
|
+
applied_filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4553
|
+
dimension: z.ZodString;
|
|
4554
|
+
operator: z.ZodEnum<{
|
|
4555
|
+
in: "in";
|
|
4556
|
+
eq: "eq";
|
|
4557
|
+
neq: "neq";
|
|
4558
|
+
not_in: "not_in";
|
|
4559
|
+
between: "between";
|
|
4560
|
+
gte: "gte";
|
|
4561
|
+
lte: "lte";
|
|
4562
|
+
is_null: "is_null";
|
|
4563
|
+
is_not_null: "is_not_null";
|
|
4564
|
+
contains: "contains";
|
|
4565
|
+
}>;
|
|
4566
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
4567
|
+
preset: z.ZodString;
|
|
4568
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
4569
|
+
none: "none";
|
|
4570
|
+
previous_period: "previous_period";
|
|
4571
|
+
previous_year: "previous_year";
|
|
4572
|
+
}>>;
|
|
4573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4574
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4575
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4576
|
+
}, z.core.$strict>]>>;
|
|
4577
|
+
}, z.core.$strict>>>;
|
|
4578
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
4579
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4580
|
+
code: z.ZodString;
|
|
4581
|
+
message: z.ZodString;
|
|
4582
|
+
}, z.core.$strip>>>;
|
|
4583
|
+
}, z.core.$strip>;
|
|
4584
|
+
}, z.core.$strip>;
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* Semantic Catalog container + agent catalog projection (plan 190 TASK-4).
|
|
4588
|
+
*
|
|
4589
|
+
* The catalog document validated here is the full application catalog an
|
|
4590
|
+
* in-memory adapter serves (fixture-sourced until plan 181's generated
|
|
4591
|
+
* metadata lands — the Q-1 ruling). `source` is load-bearing provenance:
|
|
4592
|
+
* a fixture catalog must never masquerade as generated truth, and the AC-4
|
|
4593
|
+
* drift gate keys off `generated`.
|
|
4594
|
+
*
|
|
4595
|
+
* The agent projection (§9.1) is the compact, guidance-carrying shape agents
|
|
4596
|
+
* search instead of loading the full catalog. Query-family entries use
|
|
4597
|
+
* `family.<name>` ids so one semantic-id grammar covers every entry.
|
|
4598
|
+
*/
|
|
4599
|
+
|
|
4600
|
+
declare const AnalyticsCatalogSourceSchema: z.ZodEnum<{
|
|
4601
|
+
fixture: "fixture";
|
|
4602
|
+
generated: "generated";
|
|
4603
|
+
}>;
|
|
4604
|
+
declare const AnalyticsCatalogSchema: z.ZodObject<{
|
|
4605
|
+
catalog_version: z.ZodString;
|
|
4606
|
+
source: z.ZodEnum<{
|
|
4607
|
+
fixture: "fixture";
|
|
4608
|
+
generated: "generated";
|
|
4609
|
+
}>;
|
|
4610
|
+
generated_at: z.ZodOptional<z.ZodString>;
|
|
4611
|
+
concepts: z.ZodArray<z.ZodObject<{
|
|
4612
|
+
id: z.ZodString;
|
|
4613
|
+
version: z.ZodNumber;
|
|
4614
|
+
label: z.ZodString;
|
|
4615
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4616
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
4617
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
4618
|
+
grain: z.ZodArray<z.ZodString>;
|
|
4619
|
+
analytical_units: z.ZodArray<z.ZodEnum<{
|
|
4620
|
+
account: "account";
|
|
4621
|
+
user: "user";
|
|
4622
|
+
billing_unit: "billing_unit";
|
|
4623
|
+
organization: "organization";
|
|
4624
|
+
}>>;
|
|
4625
|
+
primary_time_dimension: z.ZodString;
|
|
4626
|
+
historical_mode: z.ZodEnum<{
|
|
4627
|
+
as_of_event: "as_of_event";
|
|
4628
|
+
current: "current";
|
|
4629
|
+
}>;
|
|
4630
|
+
dimensions: z.ZodArray<z.ZodString>;
|
|
4631
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
4632
|
+
query_families: z.ZodArray<z.ZodEnum<{
|
|
4633
|
+
scalar: "scalar";
|
|
4634
|
+
timeseries: "timeseries";
|
|
4635
|
+
breakdown: "breakdown";
|
|
4636
|
+
funnel: "funnel";
|
|
4637
|
+
table: "table";
|
|
4638
|
+
timeline: "timeline";
|
|
4639
|
+
}>>;
|
|
4640
|
+
source_scope: z.ZodEnum<{
|
|
4641
|
+
total: "total";
|
|
4642
|
+
revturbine_tracked: "revturbine_tracked";
|
|
4643
|
+
revturbine_influenced: "revturbine_influenced";
|
|
4644
|
+
}>;
|
|
4645
|
+
coverage_metric: z.ZodOptional<z.ZodString>;
|
|
4646
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
4647
|
+
deprecated: z.ZodBoolean;
|
|
4648
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
4649
|
+
}, z.core.$strip>>;
|
|
4650
|
+
}, z.core.$strip>>;
|
|
4651
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
4652
|
+
id: z.ZodString;
|
|
4653
|
+
label: z.ZodString;
|
|
4654
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4655
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
4656
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
4657
|
+
type: z.ZodEnum<{
|
|
4658
|
+
string: "string";
|
|
4659
|
+
number: "number";
|
|
4660
|
+
boolean: "boolean";
|
|
4661
|
+
id: "id";
|
|
4662
|
+
date: "date";
|
|
4663
|
+
enum: "enum";
|
|
4664
|
+
datetime: "datetime";
|
|
4665
|
+
}>;
|
|
4666
|
+
operators: z.ZodArray<z.ZodEnum<{
|
|
4667
|
+
in: "in";
|
|
4668
|
+
eq: "eq";
|
|
4669
|
+
neq: "neq";
|
|
4670
|
+
not_in: "not_in";
|
|
4671
|
+
between: "between";
|
|
4672
|
+
gte: "gte";
|
|
4673
|
+
lte: "lte";
|
|
4674
|
+
is_null: "is_null";
|
|
4675
|
+
is_not_null: "is_not_null";
|
|
4676
|
+
contains: "contains";
|
|
4677
|
+
}>>;
|
|
4678
|
+
control: z.ZodEnum<{
|
|
4679
|
+
date_range: "date_range";
|
|
4680
|
+
single_select: "single_select";
|
|
4681
|
+
multi_select: "multi_select";
|
|
4682
|
+
search_select: "search_select";
|
|
4683
|
+
number_range: "number_range";
|
|
4684
|
+
}>;
|
|
4685
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
4686
|
+
sort: "sort";
|
|
4687
|
+
filter: "filter";
|
|
4688
|
+
split: "split";
|
|
4689
|
+
group: "group";
|
|
4690
|
+
}>>;
|
|
4691
|
+
cardinality: z.ZodEnum<{
|
|
4692
|
+
high: "high";
|
|
4693
|
+
medium: "medium";
|
|
4694
|
+
low: "low";
|
|
4695
|
+
}>;
|
|
4696
|
+
classification: z.ZodDefault<z.ZodEnum<{
|
|
4697
|
+
pii: "pii";
|
|
4698
|
+
financial: "financial";
|
|
4699
|
+
unrestricted: "unrestricted";
|
|
4700
|
+
operational: "operational";
|
|
4701
|
+
}>>;
|
|
4702
|
+
historical_mode: z.ZodOptional<z.ZodEnum<{
|
|
4703
|
+
as_of_event: "as_of_event";
|
|
4704
|
+
current: "current";
|
|
4705
|
+
}>>;
|
|
4706
|
+
allowed_concepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4707
|
+
exclude_from_segment_picker: z.ZodDefault<z.ZodBoolean>;
|
|
4708
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
4709
|
+
deprecated: z.ZodBoolean;
|
|
4710
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
4711
|
+
}, z.core.$strip>>;
|
|
4712
|
+
}, z.core.$strip>>;
|
|
4713
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
4714
|
+
id: z.ZodString;
|
|
4715
|
+
label: z.ZodString;
|
|
4716
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4717
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
4718
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
4719
|
+
value_type: z.ZodEnum<{
|
|
4720
|
+
string: "string";
|
|
4721
|
+
number: "number";
|
|
4722
|
+
boolean: "boolean";
|
|
4723
|
+
date: "date";
|
|
4724
|
+
currency: "currency";
|
|
4725
|
+
datetime: "datetime";
|
|
4726
|
+
percent: "percent";
|
|
4727
|
+
}>;
|
|
4728
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
4729
|
+
type: z.ZodEnum<{
|
|
4730
|
+
number: "number";
|
|
4731
|
+
currency: "currency";
|
|
4732
|
+
duration: "duration";
|
|
4733
|
+
percent: "percent";
|
|
4734
|
+
}>;
|
|
4735
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4736
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4737
|
+
}, z.core.$strict>>;
|
|
4738
|
+
source_scope: z.ZodOptional<z.ZodEnum<{
|
|
4739
|
+
total: "total";
|
|
4740
|
+
revturbine_tracked: "revturbine_tracked";
|
|
4741
|
+
revturbine_influenced: "revturbine_influenced";
|
|
4742
|
+
}>>;
|
|
4743
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
4744
|
+
deprecated: z.ZodBoolean;
|
|
4745
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
4746
|
+
}, z.core.$strip>>;
|
|
4747
|
+
}, z.core.$strip>>;
|
|
4748
|
+
}, z.core.$strip>;
|
|
4749
|
+
declare const AnalyticsAgentCatalogEntryKindSchema: z.ZodEnum<{
|
|
4750
|
+
dimension: "dimension";
|
|
4751
|
+
concept: "concept";
|
|
4752
|
+
metric: "metric";
|
|
4753
|
+
query_family: "query_family";
|
|
4754
|
+
}>;
|
|
4755
|
+
declare const AnalyticsAgentCatalogEntrySchema: z.ZodObject<{
|
|
4756
|
+
id: z.ZodString;
|
|
4757
|
+
kind: z.ZodEnum<{
|
|
4758
|
+
dimension: "dimension";
|
|
4759
|
+
concept: "concept";
|
|
4760
|
+
metric: "metric";
|
|
4761
|
+
query_family: "query_family";
|
|
4762
|
+
}>;
|
|
4763
|
+
label: z.ZodString;
|
|
4764
|
+
description: z.ZodString;
|
|
4765
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
4766
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
4767
|
+
value_type: z.ZodOptional<z.ZodEnum<{
|
|
4768
|
+
string: "string";
|
|
4769
|
+
number: "number";
|
|
4770
|
+
boolean: "boolean";
|
|
4771
|
+
date: "date";
|
|
4772
|
+
currency: "currency";
|
|
4773
|
+
datetime: "datetime";
|
|
4774
|
+
percent: "percent";
|
|
4775
|
+
}>>;
|
|
4776
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
4777
|
+
type: z.ZodEnum<{
|
|
4778
|
+
number: "number";
|
|
4779
|
+
currency: "currency";
|
|
4780
|
+
duration: "duration";
|
|
4781
|
+
percent: "percent";
|
|
4782
|
+
}>;
|
|
4783
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4784
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4785
|
+
}, z.core.$strict>>;
|
|
4786
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4787
|
+
sort: "sort";
|
|
4788
|
+
filter: "filter";
|
|
4789
|
+
split: "split";
|
|
4790
|
+
group: "group";
|
|
4791
|
+
}>>>;
|
|
4792
|
+
compatible_concepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4793
|
+
compatible_families: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4794
|
+
scalar: "scalar";
|
|
4795
|
+
timeseries: "timeseries";
|
|
4796
|
+
breakdown: "breakdown";
|
|
4797
|
+
funnel: "funnel";
|
|
4798
|
+
table: "table";
|
|
4799
|
+
timeline: "timeline";
|
|
4800
|
+
}>>>;
|
|
4801
|
+
analytical_units: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4802
|
+
account: "account";
|
|
4803
|
+
user: "user";
|
|
4804
|
+
billing_unit: "billing_unit";
|
|
4805
|
+
organization: "organization";
|
|
4806
|
+
}>>>;
|
|
4807
|
+
source_scope: z.ZodOptional<z.ZodEnum<{
|
|
4808
|
+
total: "total";
|
|
4809
|
+
revturbine_tracked: "revturbine_tracked";
|
|
4810
|
+
revturbine_influenced: "revturbine_influenced";
|
|
4811
|
+
}>>;
|
|
4812
|
+
example: z.ZodOptional<z.ZodString>;
|
|
4813
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
4814
|
+
deprecated: z.ZodBoolean;
|
|
4815
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
4816
|
+
}, z.core.$strip>>;
|
|
4817
|
+
}, z.core.$strip>;
|
|
4818
|
+
declare const AnalyticsCatalogSearchResultSchema: z.ZodObject<{
|
|
4819
|
+
catalog_version: z.ZodString;
|
|
4820
|
+
query: z.ZodString;
|
|
4821
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
4822
|
+
id: z.ZodString;
|
|
4823
|
+
kind: z.ZodEnum<{
|
|
4824
|
+
dimension: "dimension";
|
|
4825
|
+
concept: "concept";
|
|
4826
|
+
metric: "metric";
|
|
4827
|
+
query_family: "query_family";
|
|
4828
|
+
}>;
|
|
4829
|
+
label: z.ZodString;
|
|
4830
|
+
description: z.ZodString;
|
|
4831
|
+
when_to_use: z.ZodOptional<z.ZodString>;
|
|
4832
|
+
do_not_use_for: z.ZodOptional<z.ZodString>;
|
|
4833
|
+
value_type: z.ZodOptional<z.ZodEnum<{
|
|
4834
|
+
string: "string";
|
|
4835
|
+
number: "number";
|
|
4836
|
+
boolean: "boolean";
|
|
4837
|
+
date: "date";
|
|
4838
|
+
currency: "currency";
|
|
4839
|
+
datetime: "datetime";
|
|
4840
|
+
percent: "percent";
|
|
4841
|
+
}>>;
|
|
4842
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
4843
|
+
type: z.ZodEnum<{
|
|
4844
|
+
number: "number";
|
|
4845
|
+
currency: "currency";
|
|
4846
|
+
duration: "duration";
|
|
4847
|
+
percent: "percent";
|
|
4848
|
+
}>;
|
|
4849
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4850
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
4851
|
+
}, z.core.$strict>>;
|
|
4852
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4853
|
+
sort: "sort";
|
|
4854
|
+
filter: "filter";
|
|
4855
|
+
split: "split";
|
|
4856
|
+
group: "group";
|
|
4857
|
+
}>>>;
|
|
4858
|
+
compatible_concepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4859
|
+
compatible_families: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4860
|
+
scalar: "scalar";
|
|
4861
|
+
timeseries: "timeseries";
|
|
4862
|
+
breakdown: "breakdown";
|
|
4863
|
+
funnel: "funnel";
|
|
4864
|
+
table: "table";
|
|
4865
|
+
timeline: "timeline";
|
|
4866
|
+
}>>>;
|
|
4867
|
+
analytical_units: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4868
|
+
account: "account";
|
|
4869
|
+
user: "user";
|
|
4870
|
+
billing_unit: "billing_unit";
|
|
4871
|
+
organization: "organization";
|
|
4872
|
+
}>>>;
|
|
4873
|
+
source_scope: z.ZodOptional<z.ZodEnum<{
|
|
4874
|
+
total: "total";
|
|
4875
|
+
revturbine_tracked: "revturbine_tracked";
|
|
4876
|
+
revturbine_influenced: "revturbine_influenced";
|
|
4877
|
+
}>>;
|
|
4878
|
+
example: z.ZodOptional<z.ZodString>;
|
|
4879
|
+
deprecation: z.ZodOptional<z.ZodObject<{
|
|
4880
|
+
deprecated: z.ZodBoolean;
|
|
4881
|
+
replaced_by: z.ZodOptional<z.ZodString>;
|
|
4882
|
+
}, z.core.$strip>>;
|
|
4883
|
+
}, z.core.$strip>>;
|
|
4884
|
+
}, z.core.$strip>;
|
|
4885
|
+
|
|
4886
|
+
/**
|
|
4887
|
+
* In-memory Semantic Catalog adapter (plan 190 TASK-4).
|
|
4888
|
+
*
|
|
4889
|
+
* Wraps a validated AnalyticsCatalog document in an indexed, read-only view
|
|
4890
|
+
* the semantic validator (TASK-2), compiler (TASK-3), and web catalog route
|
|
4891
|
+
* (TASK-7) consume. Construction enforces referential integrity: a catalog
|
|
4892
|
+
* whose concepts reference undeclared dimensions or metrics is rejected with
|
|
4893
|
+
* every dangling reference named — the same gate the plan-181-generated
|
|
4894
|
+
* catalog (TASK-5) must pass.
|
|
4895
|
+
*
|
|
4896
|
+
* Every derived listing is deterministic: global lists sort by id;
|
|
4897
|
+
* concept-scoped lists keep the concept's declared order (it is authored
|
|
4898
|
+
* ordering, meaningful to editors and agents alike).
|
|
4899
|
+
*/
|
|
4900
|
+
|
|
4901
|
+
type AnalyticsCatalogData = z.infer<typeof AnalyticsCatalogSchema>;
|
|
4902
|
+
type AnalyticsCatalogConcept$1 = z.infer<typeof AnalyticsCatalogConceptSchema>;
|
|
4903
|
+
type AnalyticsCatalogDimension$1 = z.infer<typeof AnalyticsCatalogDimensionSchema>;
|
|
4904
|
+
type AnalyticsCatalogMetric$1 = z.infer<typeof AnalyticsCatalogMetricSchema>;
|
|
4905
|
+
type AnalyticsAgentCatalogEntry$1 = z.infer<typeof AnalyticsAgentCatalogEntrySchema>;
|
|
4906
|
+
type AnalyticsCatalogSearchResult$1 = z.infer<typeof AnalyticsCatalogSearchResultSchema>;
|
|
4907
|
+
interface AnalyticsCatalogView {
|
|
4908
|
+
readonly version: string;
|
|
4909
|
+
readonly source: AnalyticsCatalogData['source'];
|
|
4910
|
+
listConcepts(): AnalyticsCatalogConcept$1[];
|
|
4911
|
+
listDimensions(): AnalyticsCatalogDimension$1[];
|
|
4912
|
+
listMetrics(): AnalyticsCatalogMetric$1[];
|
|
4913
|
+
getConcept(id: string): AnalyticsCatalogConcept$1 | undefined;
|
|
4914
|
+
getDimension(id: string): AnalyticsCatalogDimension$1 | undefined;
|
|
4915
|
+
getMetric(id: string): AnalyticsCatalogMetric$1 | undefined;
|
|
4916
|
+
/** Dimensions of one concept, in the concept's declared order. */
|
|
4917
|
+
dimensionsFor(conceptId: string): AnalyticsCatalogDimension$1[];
|
|
4918
|
+
/** Metrics of one concept, in the concept's declared order. */
|
|
4919
|
+
metricsFor(conceptId: string): AnalyticsCatalogMetric$1[];
|
|
4920
|
+
}
|
|
4921
|
+
declare function createInMemoryAnalyticsCatalog(data: unknown): AnalyticsCatalogView;
|
|
4922
|
+
/**
|
|
4923
|
+
* The compact, deterministic projection agents search instead of loading the
|
|
4924
|
+
* full catalog: concepts, dimensions, metrics, and the query families in use
|
|
4925
|
+
* — each with enough compatibility information to compose a valid draft
|
|
4926
|
+
* without guessing ids from labels.
|
|
4927
|
+
*/
|
|
4928
|
+
declare function buildAgentCatalogProjection(catalog: AnalyticsCatalogView): AnalyticsAgentCatalogEntry$1[];
|
|
4929
|
+
/**
|
|
4930
|
+
* Deterministic catalog search: token overlap scored id > label > prose,
|
|
4931
|
+
* ties broken by id. No randomness, no model — the same query against the
|
|
4932
|
+
* same catalog always returns the same ranking.
|
|
4933
|
+
*/
|
|
4934
|
+
declare function searchAgentCatalog(catalog: AnalyticsCatalogView, query: string, limit?: number): AnalyticsCatalogSearchResult$1;
|
|
4935
|
+
|
|
4936
|
+
/**
|
|
4937
|
+
* FIXTURE Semantic Catalog (plan 190 TASK-4).
|
|
4938
|
+
*
|
|
4939
|
+
* The hand-shaped catalog Phase 0/1 runs on until plan 181's data-dictionary
|
|
4940
|
+
* artifacts exist to generate the real one (TASK-5 — the Q-1 ruling). It is
|
|
4941
|
+
* deliberately stamped `source: 'fixture'`: nothing downstream may treat it
|
|
4942
|
+
* as generated truth, and the AC-4 provenance gate retires it.
|
|
4943
|
+
*
|
|
4944
|
+
* Shape follows the design of record: the entitlement-decision concept is
|
|
4945
|
+
* §3.1's worked example; the other concepts back the Phase 1 templates and
|
|
4946
|
+
* the six ported analytics surfaces. Config-entity dimensions carry the
|
|
4947
|
+
* anchor identity model — the values are anchor handles/ids, never labels.
|
|
4948
|
+
*/
|
|
4949
|
+
|
|
4950
|
+
declare const FIXTURE_ANALYTICS_CATALOG: AnalyticsCatalogData;
|
|
4951
|
+
/** The fixture catalog wrapped in the indexed view (integrity-checked). */
|
|
4952
|
+
declare function createFixtureAnalyticsCatalog(): AnalyticsCatalogView;
|
|
4953
|
+
|
|
4954
|
+
/**
|
|
4955
|
+
* Deterministic render defaulting (§9.2) — the documented rules `auto`
|
|
4956
|
+
* resolves through. Shared by the semantic validator (suggested patches,
|
|
4957
|
+
* plan 190 TASK-2) and the draft compiler (TASK-3). No heuristics beyond
|
|
4958
|
+
* what is written here: same query + same catalog → same render, always.
|
|
4959
|
+
*/
|
|
4960
|
+
|
|
4961
|
+
type AnalyticsViewQuery$1 = z.infer<typeof AnalyticsViewQuerySchema>;
|
|
4962
|
+
type AnalyticsRenderSpec$1 = z.infer<typeof AnalyticsRenderSpecSchema>;
|
|
4963
|
+
/**
|
|
4964
|
+
* The render types each query family may use. First entry is the default
|
|
4965
|
+
* `auto` resolves to (breakdown consults cardinality — see below).
|
|
4966
|
+
* `recommendations` is reserved for the Phase 3 Recommendations views and
|
|
4967
|
+
* rides the `table` family until those land.
|
|
4968
|
+
*/
|
|
4969
|
+
declare const FAMILY_RENDER_COMPATIBILITY: Record<AnalyticsViewQuery$1['family'], Array<AnalyticsRenderSpec$1['type']>>;
|
|
4970
|
+
declare function defaultRenderForQuery(query: AnalyticsViewQuery$1, catalog: AnalyticsCatalogView): AnalyticsRenderSpec$1;
|
|
4971
|
+
|
|
4972
|
+
/**
|
|
4973
|
+
* Semantic validation for analytics view documents (plan 190 TASK-2, §5.2).
|
|
4974
|
+
*
|
|
4975
|
+
* Structural validation is the Zod schema family's job; this layer checks a
|
|
4976
|
+
* structurally-valid canonical view against an authorized Semantic Catalog:
|
|
4977
|
+
* every reference exists and is available on its concept, the query family
|
|
4978
|
+
* is supported, the render type fits the query shape, filters use supported
|
|
4979
|
+
* operators, and template-locked properties were not changed.
|
|
4980
|
+
*
|
|
4981
|
+
* Errors follow the §5.4 repair contract: stable UPPER_SNAKE codes, JSON
|
|
4982
|
+
* Pointer paths, `allowed` values where enumerable, and advisory
|
|
4983
|
+
* `suggested_patch` entries that themselves pass validation when applied.
|
|
4984
|
+
* Codes are API surface — never renumber or reuse one.
|
|
4985
|
+
*/
|
|
4986
|
+
|
|
4987
|
+
type AnalyticsView$1 = z.infer<typeof AnalyticsViewSchema>;
|
|
4988
|
+
type AnalyticsCustomizationPolicy$1 = z.infer<typeof AnalyticsCustomizationPolicySchema>;
|
|
4989
|
+
type AnalyticsValidationIssue$1 = z.infer<typeof AnalyticsValidationIssueSchema>;
|
|
4990
|
+
type AnalyticsValidationResult$1 = z.infer<typeof AnalyticsValidationResultSchema>;
|
|
4991
|
+
declare const ANALYTICS_VALIDATION_CODES: readonly ["UNKNOWN_CONCEPT", "UNKNOWN_DIMENSION", "UNKNOWN_METRIC", "METRIC_NOT_IN_CONCEPT", "DIMENSION_NOT_IN_CONCEPT", "FAMILY_NOT_SUPPORTED", "FUNNEL_REQUIRES_STAGES", "RENDERER_INCOMPATIBLE_WITH_QUERY", "RENDER_FIELD_NOT_IN_QUERY", "OPERATOR_NOT_SUPPORTED", "DIMENSION_NOT_GROUPABLE", "ANALYTICAL_UNIT_NOT_SUPPORTED", "TIME_DIMENSION_INVALID", "ORDER_FIELD_NOT_IN_QUERY", "FILTER_REF_UNKNOWN", "APPLIES_TO_UNKNOWN_BLOCK", "DUPLICATE_ELEMENT_ID", "LAYOUT_UNKNOWN_BLOCK", "LAYOUT_MISSING_BLOCK", "TEMPLATE_LOCKED_PROPERTY_CHANGED"];
|
|
4992
|
+
type AnalyticsValidationCode = (typeof ANALYTICS_VALIDATION_CODES)[number];
|
|
4993
|
+
/**
|
|
4994
|
+
* Validate one query against the catalog. Exported for the draft compiler
|
|
4995
|
+
* (TASK-3), which validates block queries before resolving renders.
|
|
4996
|
+
*/
|
|
4997
|
+
declare function validateAnalyticsQuery(query: AnalyticsViewQuery$1, catalog: AnalyticsCatalogView, basePath: string): AnalyticsValidationIssue$1[];
|
|
4998
|
+
interface ValidateAnalyticsViewOptions {
|
|
4999
|
+
/**
|
|
5000
|
+
* When validating a customized view against its base template, the base
|
|
5001
|
+
* document and the policy whose `deny` list locks properties (§5.2's
|
|
5002
|
+
* "locked template properties were not changed").
|
|
5003
|
+
*/
|
|
5004
|
+
baseTemplate?: {
|
|
5005
|
+
view: AnalyticsView$1;
|
|
5006
|
+
policy: AnalyticsCustomizationPolicy$1;
|
|
5007
|
+
};
|
|
5008
|
+
}
|
|
5009
|
+
/**
|
|
5010
|
+
* Validate a canonical view document against an authorized catalog.
|
|
5011
|
+
* Deprecated catalog entries in use surface as warnings, not errors.
|
|
5012
|
+
*/
|
|
5013
|
+
declare function validateAnalyticsView(view: AnalyticsView$1, catalog: AnalyticsCatalogView, options?: ValidateAnalyticsViewOptions): AnalyticsValidationResult$1;
|
|
5014
|
+
|
|
5015
|
+
/**
|
|
5016
|
+
* Draft → canonical compiler (plan 190 TASK-3, §4.1 / §9.2).
|
|
5017
|
+
*
|
|
5018
|
+
* Resolves an AnalyticsViewDraft into a canonical AnalyticsView through the
|
|
5019
|
+
* documented deterministic rules — `auto` is never an opaque choice: every
|
|
5020
|
+
* default the compiler applies is reported as a `resolutions` entry with the
|
|
5021
|
+
* JSON Pointer it landed on and the named rule that produced it. Same draft +
|
|
5022
|
+
* same catalog → same canonical document, always.
|
|
5023
|
+
*
|
|
5024
|
+
* The two forms never differ semantically (§17.9): a draft block's flattened
|
|
5025
|
+
* query fields nest into the canonical block query unchanged; the compiler
|
|
5026
|
+
* only fills what the draft legitimately omitted.
|
|
5027
|
+
*
|
|
5028
|
+
* Validation errors use DRAFT-shaped JSON Pointer paths (e.g.
|
|
5029
|
+
* `/blocks/0/metrics/1`) so an agent can repair the document it actually
|
|
5030
|
+
* submitted (§5.4).
|
|
5031
|
+
*/
|
|
5032
|
+
|
|
5033
|
+
type AnalyticsViewDraft$1 = z.infer<typeof AnalyticsViewDraftSchema>;
|
|
5034
|
+
type AnalyticsCompileResolution$1 = z.infer<typeof AnalyticsCompileResolutionSchema>;
|
|
5035
|
+
type AnalyticsViewVisibility$1 = z.infer<typeof AnalyticsViewVisibilitySchema>;
|
|
5036
|
+
interface CompileAnalyticsDraftOptions {
|
|
5037
|
+
/** Persisted view identity; a new view gets a deterministic id from the title. */
|
|
5038
|
+
view_id?: string;
|
|
5039
|
+
revision?: number;
|
|
5040
|
+
}
|
|
5041
|
+
interface AnalyticsCompileOutput {
|
|
5042
|
+
/** Present only when the draft compiled and validated clean. */
|
|
5043
|
+
view?: AnalyticsView$1;
|
|
5044
|
+
/** Persistence-level visibility (not part of the document, §11). */
|
|
5045
|
+
visibility: AnalyticsViewVisibility$1;
|
|
5046
|
+
resolutions: AnalyticsCompileResolution$1[];
|
|
5047
|
+
validation: AnalyticsValidationResult$1;
|
|
5048
|
+
}
|
|
5049
|
+
declare function compileAnalyticsDraft(draft: AnalyticsViewDraft$1, catalog: AnalyticsCatalogView, options?: CompileAnalyticsDraftOptions): AnalyticsCompileOutput;
|
|
5050
|
+
|
|
5051
|
+
/**
|
|
5052
|
+
* Analytics View Framework route contract (plan 190 — TASK-7's contract
|
|
5053
|
+
* knot, §8 of the design of record).
|
|
5054
|
+
*
|
|
5055
|
+
* The Phase 1 read-only surface: catalog read + search, template listing,
|
|
5056
|
+
* view read, and the batch query endpoint. Request/response envelopes live
|
|
5057
|
+
* here — contract types never originate in revturbine-web — and the
|
|
5058
|
+
* operations join the generated OpenAPI artifacts so the typed client stays
|
|
5059
|
+
* in sync. Phase 2 adds the compile/validate/preview/persist operations.
|
|
5060
|
+
*
|
|
5061
|
+
* Request documents are strict objects for the same reason the view family
|
|
5062
|
+
* is: a stray `sql` or endpoint name in a query request must fail with a
|
|
5063
|
+
* repairable error, never strip silently. Tenant and environment scope come
|
|
5064
|
+
* from the verified session or API token — they are deliberately absent
|
|
5065
|
+
* from every params/body shape below.
|
|
5066
|
+
*/
|
|
5067
|
+
|
|
5068
|
+
/**
|
|
5069
|
+
* Transient per-request filter values — the URL-held filter state a viewer
|
|
5070
|
+
* changed (§4.5). `value: null` clears the view's default for that filter.
|
|
5071
|
+
*/
|
|
5072
|
+
declare const AnalyticsFilterStateSchema: z.ZodObject<{
|
|
5073
|
+
filter_id: z.ZodString;
|
|
5074
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
5075
|
+
preset: z.ZodString;
|
|
5076
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
5077
|
+
none: "none";
|
|
5078
|
+
previous_period: "previous_period";
|
|
5079
|
+
previous_year: "previous_year";
|
|
5080
|
+
}>>;
|
|
5081
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5082
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5083
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5084
|
+
}, z.core.$strict>]>>;
|
|
5085
|
+
}, z.core.$strict>;
|
|
5086
|
+
/**
|
|
5087
|
+
* Phase 1 executes stored/system view blocks only: the request identifies a
|
|
5088
|
+
* view (optionally pinned to a revision), the blocks to run, and transient
|
|
5089
|
+
* filter state. The server loads the authoritative document — a request can
|
|
5090
|
+
* never smuggle query structure past the saved view. Draft preview
|
|
5091
|
+
* (`POST /api/analytics/preview`) is Phase 2.
|
|
5092
|
+
*/
|
|
5093
|
+
declare const AnalyticsQueryRequestSchema: z.ZodObject<{
|
|
5094
|
+
view_id: z.ZodString;
|
|
5095
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
5096
|
+
block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5097
|
+
filter_state: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5098
|
+
filter_id: z.ZodString;
|
|
5099
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
5100
|
+
preset: z.ZodString;
|
|
5101
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
5102
|
+
none: "none";
|
|
5103
|
+
previous_period: "previous_period";
|
|
5104
|
+
previous_year: "previous_year";
|
|
5105
|
+
}>>;
|
|
5106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5107
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5108
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5109
|
+
}, z.core.$strict>]>>;
|
|
5110
|
+
}, z.core.$strict>>>;
|
|
5111
|
+
}, z.core.$strict>;
|
|
5112
|
+
/** Per-block failure — partial success is the contract (§8): one failing
|
|
5113
|
+
* block must not blank the view. Codes follow the validation-code grammar. */
|
|
5114
|
+
declare const AnalyticsBlockErrorSchema: z.ZodObject<{
|
|
5115
|
+
block_id: z.ZodString;
|
|
5116
|
+
code: z.ZodString;
|
|
5117
|
+
message: z.ZodString;
|
|
5118
|
+
}, z.core.$strip>;
|
|
5119
|
+
declare const AnalyticsBlockResultSchema: z.ZodObject<{
|
|
5120
|
+
block_id: z.ZodString;
|
|
5121
|
+
result: z.ZodObject<{
|
|
5122
|
+
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5123
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5124
|
+
id: z.ZodString;
|
|
5125
|
+
type: z.ZodEnum<{
|
|
5126
|
+
string: "string";
|
|
5127
|
+
number: "number";
|
|
5128
|
+
boolean: "boolean";
|
|
5129
|
+
date: "date";
|
|
5130
|
+
currency: "currency";
|
|
5131
|
+
datetime: "datetime";
|
|
5132
|
+
percent: "percent";
|
|
5133
|
+
}>;
|
|
5134
|
+
nullable: z.ZodBoolean;
|
|
5135
|
+
}, z.core.$strip>>;
|
|
5136
|
+
meta: z.ZodObject<{
|
|
5137
|
+
query_hash: z.ZodString;
|
|
5138
|
+
concept: z.ZodString;
|
|
5139
|
+
analytical_unit: z.ZodEnum<{
|
|
5140
|
+
account: "account";
|
|
5141
|
+
user: "user";
|
|
5142
|
+
billing_unit: "billing_unit";
|
|
5143
|
+
organization: "organization";
|
|
5144
|
+
}>;
|
|
5145
|
+
source_scope: z.ZodEnum<{
|
|
5146
|
+
total: "total";
|
|
5147
|
+
revturbine_tracked: "revturbine_tracked";
|
|
5148
|
+
revturbine_influenced: "revturbine_influenced";
|
|
5149
|
+
}>;
|
|
5150
|
+
coverage: z.ZodOptional<z.ZodObject<{
|
|
5151
|
+
numerator: z.ZodNumber;
|
|
5152
|
+
denominator: z.ZodNumber;
|
|
5153
|
+
rate: z.ZodNumber;
|
|
5154
|
+
}, z.core.$strip>>;
|
|
5155
|
+
as_of: z.ZodString;
|
|
5156
|
+
freshness_seconds: z.ZodNumber;
|
|
5157
|
+
applied_filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5158
|
+
dimension: z.ZodString;
|
|
5159
|
+
operator: z.ZodEnum<{
|
|
5160
|
+
in: "in";
|
|
5161
|
+
eq: "eq";
|
|
5162
|
+
neq: "neq";
|
|
5163
|
+
not_in: "not_in";
|
|
5164
|
+
between: "between";
|
|
5165
|
+
gte: "gte";
|
|
5166
|
+
lte: "lte";
|
|
5167
|
+
is_null: "is_null";
|
|
5168
|
+
is_not_null: "is_not_null";
|
|
5169
|
+
contains: "contains";
|
|
5170
|
+
}>;
|
|
5171
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
5172
|
+
preset: z.ZodString;
|
|
5173
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
5174
|
+
none: "none";
|
|
5175
|
+
previous_period: "previous_period";
|
|
5176
|
+
previous_year: "previous_year";
|
|
5177
|
+
}>>;
|
|
5178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5179
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5180
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5181
|
+
}, z.core.$strict>]>>;
|
|
5182
|
+
}, z.core.$strict>>>;
|
|
5183
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
5184
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5185
|
+
code: z.ZodString;
|
|
5186
|
+
message: z.ZodString;
|
|
5187
|
+
}, z.core.$strip>>>;
|
|
5188
|
+
}, z.core.$strip>;
|
|
5189
|
+
}, z.core.$strip>;
|
|
5190
|
+
}, z.core.$strip>;
|
|
5191
|
+
declare const AnalyticsQueryResponseSchema: z.ZodObject<{
|
|
5192
|
+
view_id: z.ZodString;
|
|
5193
|
+
revision: z.ZodNumber;
|
|
5194
|
+
catalog_version: z.ZodString;
|
|
5195
|
+
results: z.ZodArray<z.ZodObject<{
|
|
5196
|
+
block_id: z.ZodString;
|
|
5197
|
+
result: z.ZodObject<{
|
|
5198
|
+
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5199
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5200
|
+
id: z.ZodString;
|
|
5201
|
+
type: z.ZodEnum<{
|
|
5202
|
+
string: "string";
|
|
5203
|
+
number: "number";
|
|
5204
|
+
boolean: "boolean";
|
|
5205
|
+
date: "date";
|
|
5206
|
+
currency: "currency";
|
|
5207
|
+
datetime: "datetime";
|
|
5208
|
+
percent: "percent";
|
|
5209
|
+
}>;
|
|
5210
|
+
nullable: z.ZodBoolean;
|
|
5211
|
+
}, z.core.$strip>>;
|
|
5212
|
+
meta: z.ZodObject<{
|
|
5213
|
+
query_hash: z.ZodString;
|
|
5214
|
+
concept: z.ZodString;
|
|
5215
|
+
analytical_unit: z.ZodEnum<{
|
|
5216
|
+
account: "account";
|
|
5217
|
+
user: "user";
|
|
5218
|
+
billing_unit: "billing_unit";
|
|
5219
|
+
organization: "organization";
|
|
5220
|
+
}>;
|
|
5221
|
+
source_scope: z.ZodEnum<{
|
|
5222
|
+
total: "total";
|
|
5223
|
+
revturbine_tracked: "revturbine_tracked";
|
|
5224
|
+
revturbine_influenced: "revturbine_influenced";
|
|
5225
|
+
}>;
|
|
5226
|
+
coverage: z.ZodOptional<z.ZodObject<{
|
|
5227
|
+
numerator: z.ZodNumber;
|
|
5228
|
+
denominator: z.ZodNumber;
|
|
5229
|
+
rate: z.ZodNumber;
|
|
5230
|
+
}, z.core.$strip>>;
|
|
5231
|
+
as_of: z.ZodString;
|
|
5232
|
+
freshness_seconds: z.ZodNumber;
|
|
5233
|
+
applied_filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5234
|
+
dimension: z.ZodString;
|
|
5235
|
+
operator: z.ZodEnum<{
|
|
5236
|
+
in: "in";
|
|
5237
|
+
eq: "eq";
|
|
5238
|
+
neq: "neq";
|
|
5239
|
+
not_in: "not_in";
|
|
5240
|
+
between: "between";
|
|
5241
|
+
gte: "gte";
|
|
5242
|
+
lte: "lte";
|
|
5243
|
+
is_null: "is_null";
|
|
5244
|
+
is_not_null: "is_not_null";
|
|
5245
|
+
contains: "contains";
|
|
5246
|
+
}>;
|
|
5247
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodObject<{
|
|
5248
|
+
preset: z.ZodString;
|
|
5249
|
+
compare: z.ZodOptional<z.ZodEnum<{
|
|
5250
|
+
none: "none";
|
|
5251
|
+
previous_period: "previous_period";
|
|
5252
|
+
previous_year: "previous_year";
|
|
5253
|
+
}>>;
|
|
5254
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5255
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5256
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5257
|
+
}, z.core.$strict>]>>;
|
|
5258
|
+
}, z.core.$strict>>>;
|
|
5259
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
5260
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5261
|
+
code: z.ZodString;
|
|
5262
|
+
message: z.ZodString;
|
|
5263
|
+
}, z.core.$strip>>>;
|
|
5264
|
+
}, z.core.$strip>;
|
|
5265
|
+
}, z.core.$strip>;
|
|
5266
|
+
}, z.core.$strip>>;
|
|
5267
|
+
errors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5268
|
+
block_id: z.ZodString;
|
|
5269
|
+
code: z.ZodString;
|
|
5270
|
+
message: z.ZodString;
|
|
5271
|
+
}, z.core.$strip>>>;
|
|
5272
|
+
}, z.core.$strip>;
|
|
5273
|
+
/** Listing row for system templates; the full document is served by
|
|
5274
|
+
* `GET /api/analytics/views/{viewId}`. */
|
|
5275
|
+
declare const AnalyticsTemplateSummarySchema: z.ZodObject<{
|
|
2725
5276
|
id: z.ZodString;
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
}>;
|
|
2737
|
-
severity: z.ZodEnum<{
|
|
2738
|
-
info: "info";
|
|
2739
|
-
warning: "warning";
|
|
2740
|
-
critical: "critical";
|
|
2741
|
-
}>;
|
|
2742
|
-
title: z.ZodString;
|
|
2743
|
-
description: z.ZodString;
|
|
2744
|
-
resource_type: z.ZodOptional<z.ZodString>;
|
|
2745
|
-
resource_id: z.ZodOptional<z.ZodString>;
|
|
2746
|
-
is_acknowledged: z.ZodDefault<z.ZodBoolean>;
|
|
2747
|
-
acknowledged_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2748
|
-
acknowledged_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2749
|
-
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5277
|
+
version: z.ZodNumber;
|
|
5278
|
+
title: z.ZodObject<{
|
|
5279
|
+
value: z.ZodString;
|
|
5280
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5281
|
+
}, z.core.$strict>;
|
|
5282
|
+
description: z.ZodOptional<z.ZodObject<{
|
|
5283
|
+
value: z.ZodString;
|
|
5284
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5285
|
+
}, z.core.$strict>>;
|
|
5286
|
+
block_count: z.ZodNumber;
|
|
2750
5287
|
}, z.core.$strip>;
|
|
2751
|
-
declare const
|
|
5288
|
+
declare const analyticsViewPaths: ZodOpenApiPathsObject;
|
|
2752
5289
|
|
|
2753
5290
|
declare const EventSourceSchema: z.ZodEnum<{
|
|
2754
5291
|
system: "system";
|
|
@@ -3655,8 +6192,8 @@ declare const MeteringConfigSchema: z.ZodObject<{
|
|
|
3655
6192
|
meter_key: z.ZodString;
|
|
3656
6193
|
aggregation_type: z.ZodDefault<z.ZodEnum<{
|
|
3657
6194
|
count: "count";
|
|
3658
|
-
sum: "sum";
|
|
3659
6195
|
max: "max";
|
|
6196
|
+
sum: "sum";
|
|
3660
6197
|
last_value: "last_value";
|
|
3661
6198
|
}>>;
|
|
3662
6199
|
reset_period: z.ZodDefault<z.ZodEnum<{
|
|
@@ -3846,11 +6383,11 @@ declare const RevTurbineConfigSegmentsItemPredicatesItemSchema: z.ZodObject<{
|
|
|
3846
6383
|
in: "in";
|
|
3847
6384
|
eq: "eq";
|
|
3848
6385
|
neq: "neq";
|
|
3849
|
-
gt: "gt";
|
|
3850
|
-
lt: "lt";
|
|
3851
6386
|
gte: "gte";
|
|
3852
6387
|
lte: "lte";
|
|
3853
6388
|
contains: "contains";
|
|
6389
|
+
gt: "gt";
|
|
6390
|
+
lt: "lt";
|
|
3854
6391
|
}>;
|
|
3855
6392
|
value: z.ZodString;
|
|
3856
6393
|
}, z.core.$strip>;
|
|
@@ -3863,11 +6400,11 @@ declare const RevTurbineConfigSegmentsItemSchema: z.ZodObject<{
|
|
|
3863
6400
|
in: "in";
|
|
3864
6401
|
eq: "eq";
|
|
3865
6402
|
neq: "neq";
|
|
3866
|
-
gt: "gt";
|
|
3867
|
-
lt: "lt";
|
|
3868
6403
|
gte: "gte";
|
|
3869
6404
|
lte: "lte";
|
|
3870
6405
|
contains: "contains";
|
|
6406
|
+
gt: "gt";
|
|
6407
|
+
lt: "lt";
|
|
3871
6408
|
}>;
|
|
3872
6409
|
value: z.ZodString;
|
|
3873
6410
|
}, z.core.$strip>>>;
|
|
@@ -4764,11 +7301,11 @@ declare const PlaybookBodySchema: z.ZodObject<{
|
|
|
4764
7301
|
in: "in";
|
|
4765
7302
|
eq: "eq";
|
|
4766
7303
|
neq: "neq";
|
|
4767
|
-
gt: "gt";
|
|
4768
|
-
lt: "lt";
|
|
4769
7304
|
gte: "gte";
|
|
4770
7305
|
lte: "lte";
|
|
4771
7306
|
contains: "contains";
|
|
7307
|
+
gt: "gt";
|
|
7308
|
+
lt: "lt";
|
|
4772
7309
|
}>;
|
|
4773
7310
|
value: z.ZodString;
|
|
4774
7311
|
}, z.core.$strip>>>;
|
|
@@ -5414,11 +7951,11 @@ declare const PlaybookObjectSchema: z.ZodObject<{
|
|
|
5414
7951
|
in: "in";
|
|
5415
7952
|
eq: "eq";
|
|
5416
7953
|
neq: "neq";
|
|
5417
|
-
gt: "gt";
|
|
5418
|
-
lt: "lt";
|
|
5419
7954
|
gte: "gte";
|
|
5420
7955
|
lte: "lte";
|
|
5421
7956
|
contains: "contains";
|
|
7957
|
+
gt: "gt";
|
|
7958
|
+
lt: "lt";
|
|
5422
7959
|
}>;
|
|
5423
7960
|
value: z.ZodString;
|
|
5424
7961
|
}, z.core.$strip>>>;
|
|
@@ -6050,11 +8587,11 @@ declare const PlaybookSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
6050
8587
|
in: "in";
|
|
6051
8588
|
eq: "eq";
|
|
6052
8589
|
neq: "neq";
|
|
6053
|
-
gt: "gt";
|
|
6054
|
-
lt: "lt";
|
|
6055
8590
|
gte: "gte";
|
|
6056
8591
|
lte: "lte";
|
|
6057
8592
|
contains: "contains";
|
|
8593
|
+
gt: "gt";
|
|
8594
|
+
lt: "lt";
|
|
6058
8595
|
}>;
|
|
6059
8596
|
value: z.ZodString;
|
|
6060
8597
|
}, z.core.$strip>>>;
|
|
@@ -6704,11 +9241,11 @@ declare const PlaybookStrictSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
6704
9241
|
in: "in";
|
|
6705
9242
|
eq: "eq";
|
|
6706
9243
|
neq: "neq";
|
|
6707
|
-
gt: "gt";
|
|
6708
|
-
lt: "lt";
|
|
6709
9244
|
gte: "gte";
|
|
6710
9245
|
lte: "lte";
|
|
6711
9246
|
contains: "contains";
|
|
9247
|
+
gt: "gt";
|
|
9248
|
+
lt: "lt";
|
|
6712
9249
|
}>;
|
|
6713
9250
|
value: z.ZodString;
|
|
6714
9251
|
}, z.core.$strip>>>;
|
|
@@ -7337,11 +9874,11 @@ declare const RevTurbineConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
7337
9874
|
in: "in";
|
|
7338
9875
|
eq: "eq";
|
|
7339
9876
|
neq: "neq";
|
|
7340
|
-
gt: "gt";
|
|
7341
|
-
lt: "lt";
|
|
7342
9877
|
gte: "gte";
|
|
7343
9878
|
lte: "lte";
|
|
7344
9879
|
contains: "contains";
|
|
9880
|
+
gt: "gt";
|
|
9881
|
+
lt: "lt";
|
|
7345
9882
|
}>;
|
|
7346
9883
|
value: z.ZodString;
|
|
7347
9884
|
}, z.core.$strip>>>;
|
|
@@ -8708,8 +11245,8 @@ declare const PermissionResourceSchema: z.ZodEnum<{
|
|
|
8708
11245
|
placements: "placements";
|
|
8709
11246
|
experiments: "experiments";
|
|
8710
11247
|
users: "users";
|
|
8711
|
-
settings: "settings";
|
|
8712
11248
|
tenant: "tenant";
|
|
11249
|
+
settings: "settings";
|
|
8713
11250
|
targeting: "targeting";
|
|
8714
11251
|
audit: "audit";
|
|
8715
11252
|
mcp: "mcp";
|
|
@@ -8734,8 +11271,8 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
8734
11271
|
placements: "placements";
|
|
8735
11272
|
experiments: "experiments";
|
|
8736
11273
|
users: "users";
|
|
8737
|
-
settings: "settings";
|
|
8738
11274
|
tenant: "tenant";
|
|
11275
|
+
settings: "settings";
|
|
8739
11276
|
targeting: "targeting";
|
|
8740
11277
|
audit: "audit";
|
|
8741
11278
|
mcp: "mcp";
|
|
@@ -8758,19 +11295,19 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
8758
11295
|
*/
|
|
8759
11296
|
declare const ROLE_PERMISSIONS: {
|
|
8760
11297
|
readonly viewer: {
|
|
8761
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "
|
|
11298
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "tenant" | "settings" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8762
11299
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8763
11300
|
}[];
|
|
8764
11301
|
readonly collaborator: {
|
|
8765
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "
|
|
11302
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "tenant" | "settings" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8766
11303
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8767
11304
|
}[];
|
|
8768
11305
|
readonly approver: {
|
|
8769
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "
|
|
11306
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "tenant" | "settings" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8770
11307
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8771
11308
|
}[];
|
|
8772
11309
|
readonly admin: {
|
|
8773
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "
|
|
11310
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "tenant" | "settings" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8774
11311
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8775
11312
|
}[];
|
|
8776
11313
|
};
|
|
@@ -8831,14 +11368,6 @@ declare const McpTokenScopeSchema: z.ZodEnum<{
|
|
|
8831
11368
|
"users:approve": "users:approve";
|
|
8832
11369
|
"users:invite": "users:invite";
|
|
8833
11370
|
"users:manage_roles": "users:manage_roles";
|
|
8834
|
-
"settings:delete": "settings:delete";
|
|
8835
|
-
"settings:create": "settings:create";
|
|
8836
|
-
"settings:update": "settings:update";
|
|
8837
|
-
"settings:publish": "settings:publish";
|
|
8838
|
-
"settings:read": "settings:read";
|
|
8839
|
-
"settings:approve": "settings:approve";
|
|
8840
|
-
"settings:invite": "settings:invite";
|
|
8841
|
-
"settings:manage_roles": "settings:manage_roles";
|
|
8842
11371
|
"tenant:delete": "tenant:delete";
|
|
8843
11372
|
"tenant:create": "tenant:create";
|
|
8844
11373
|
"tenant:update": "tenant:update";
|
|
@@ -8847,6 +11376,14 @@ declare const McpTokenScopeSchema: z.ZodEnum<{
|
|
|
8847
11376
|
"tenant:approve": "tenant:approve";
|
|
8848
11377
|
"tenant:invite": "tenant:invite";
|
|
8849
11378
|
"tenant:manage_roles": "tenant:manage_roles";
|
|
11379
|
+
"settings:delete": "settings:delete";
|
|
11380
|
+
"settings:create": "settings:create";
|
|
11381
|
+
"settings:update": "settings:update";
|
|
11382
|
+
"settings:publish": "settings:publish";
|
|
11383
|
+
"settings:read": "settings:read";
|
|
11384
|
+
"settings:approve": "settings:approve";
|
|
11385
|
+
"settings:invite": "settings:invite";
|
|
11386
|
+
"settings:manage_roles": "settings:manage_roles";
|
|
8850
11387
|
"targeting:delete": "targeting:delete";
|
|
8851
11388
|
"targeting:create": "targeting:create";
|
|
8852
11389
|
"targeting:update": "targeting:update";
|
|
@@ -8991,6 +11528,68 @@ type ActivityLevel = z.infer<typeof ActivityLevelSchema>;
|
|
|
8991
11528
|
type AddOn = z.infer<typeof AddOnSchema>;
|
|
8992
11529
|
type AddOnVariation = z.infer<typeof AddOnVariationSchema>;
|
|
8993
11530
|
type Alert = z.infer<typeof AlertSchema>;
|
|
11531
|
+
type AnalyticsAgentCatalogEntryKind = z.infer<typeof AnalyticsAgentCatalogEntryKindSchema>;
|
|
11532
|
+
type AnalyticsAgentCatalogEntry = z.infer<typeof AnalyticsAgentCatalogEntrySchema>;
|
|
11533
|
+
type AnalyticsAnalyticalUnit = z.infer<typeof AnalyticsAnalyticalUnitSchema>;
|
|
11534
|
+
type AnalyticsBlockError = z.infer<typeof AnalyticsBlockErrorSchema>;
|
|
11535
|
+
type AnalyticsBlockResult = z.infer<typeof AnalyticsBlockResultSchema>;
|
|
11536
|
+
type AnalyticsCardinalityClass = z.infer<typeof AnalyticsCardinalityClassSchema>;
|
|
11537
|
+
type AnalyticsCatalogConcept = z.infer<typeof AnalyticsCatalogConceptSchema>;
|
|
11538
|
+
type AnalyticsCatalogDeprecation = z.infer<typeof AnalyticsCatalogDeprecationSchema>;
|
|
11539
|
+
type AnalyticsCatalogDimension = z.infer<typeof AnalyticsCatalogDimensionSchema>;
|
|
11540
|
+
type AnalyticsCatalogMetric = z.infer<typeof AnalyticsCatalogMetricSchema>;
|
|
11541
|
+
type AnalyticsCatalog = z.infer<typeof AnalyticsCatalogSchema>;
|
|
11542
|
+
type AnalyticsCatalogSearchResult = z.infer<typeof AnalyticsCatalogSearchResultSchema>;
|
|
11543
|
+
type AnalyticsCatalogSource = z.infer<typeof AnalyticsCatalogSourceSchema>;
|
|
11544
|
+
type AnalyticsClassification = z.infer<typeof AnalyticsClassificationSchema>;
|
|
11545
|
+
type AnalyticsCompareMode = z.infer<typeof AnalyticsCompareModeSchema>;
|
|
11546
|
+
type AnalyticsCompileResolution = z.infer<typeof AnalyticsCompileResolutionSchema>;
|
|
11547
|
+
type AnalyticsCoverage = z.infer<typeof AnalyticsCoverageSchema>;
|
|
11548
|
+
type AnalyticsCustomizationCapability = z.infer<typeof AnalyticsCustomizationCapabilitySchema>;
|
|
11549
|
+
type AnalyticsCustomizationPolicy = z.infer<typeof AnalyticsCustomizationPolicySchema>;
|
|
11550
|
+
type AnalyticsDimensionCapability = z.infer<typeof AnalyticsDimensionCapabilitySchema>;
|
|
11551
|
+
type AnalyticsDimensionType = z.infer<typeof AnalyticsDimensionTypeSchema>;
|
|
11552
|
+
type AnalyticsFieldType = z.infer<typeof AnalyticsFieldTypeSchema>;
|
|
11553
|
+
type AnalyticsFilterControl = z.infer<typeof AnalyticsFilterControlSchema>;
|
|
11554
|
+
type AnalyticsFilterOperator = z.infer<typeof AnalyticsFilterOperatorSchema>;
|
|
11555
|
+
type AnalyticsFilterState = z.infer<typeof AnalyticsFilterStateSchema>;
|
|
11556
|
+
type AnalyticsFilterValue = z.infer<typeof AnalyticsFilterValueSchema>;
|
|
11557
|
+
type AnalyticsFormatSpec = z.infer<typeof AnalyticsFormatSpecSchema>;
|
|
11558
|
+
type AnalyticsHistoricalMode = z.infer<typeof AnalyticsHistoricalModeSchema>;
|
|
11559
|
+
type AnalyticsQueryFamily = z.infer<typeof AnalyticsQueryFamilySchema>;
|
|
11560
|
+
type AnalyticsQueryRequest = z.infer<typeof AnalyticsQueryRequestSchema>;
|
|
11561
|
+
type AnalyticsQueryResponse = z.infer<typeof AnalyticsQueryResponseSchema>;
|
|
11562
|
+
type AnalyticsRenderCartesian = z.infer<typeof AnalyticsRenderCartesianSchema>;
|
|
11563
|
+
type AnalyticsRenderFunnel = z.infer<typeof AnalyticsRenderFunnelSchema>;
|
|
11564
|
+
type AnalyticsRenderMetric = z.infer<typeof AnalyticsRenderMetricSchema>;
|
|
11565
|
+
type AnalyticsRenderRecommendations = z.infer<typeof AnalyticsRenderRecommendationsSchema>;
|
|
11566
|
+
type AnalyticsRenderSpec = z.infer<typeof AnalyticsRenderSpecSchema>;
|
|
11567
|
+
type AnalyticsRenderTable = z.infer<typeof AnalyticsRenderTableSchema>;
|
|
11568
|
+
type AnalyticsRenderTimeline = z.infer<typeof AnalyticsRenderTimelineSchema>;
|
|
11569
|
+
type AnalyticsResultField = z.infer<typeof AnalyticsResultFieldSchema>;
|
|
11570
|
+
type AnalyticsResultMeta = z.infer<typeof AnalyticsResultMetaSchema>;
|
|
11571
|
+
type AnalyticsResult = z.infer<typeof AnalyticsResultSchema>;
|
|
11572
|
+
type AnalyticsSafeChartOptions = z.infer<typeof AnalyticsSafeChartOptionsSchema>;
|
|
11573
|
+
type AnalyticsSemanticFilter = z.infer<typeof AnalyticsSemanticFilterSchema>;
|
|
11574
|
+
type AnalyticsSemanticId = z.infer<typeof AnalyticsSemanticIdSchema>;
|
|
11575
|
+
type AnalyticsSourceScope = z.infer<typeof AnalyticsSourceScopeSchema>;
|
|
11576
|
+
type AnalyticsSuggestedPatchOp = z.infer<typeof AnalyticsSuggestedPatchOpSchema>;
|
|
11577
|
+
type AnalyticsTemplateSummary = z.infer<typeof AnalyticsTemplateSummarySchema>;
|
|
11578
|
+
type AnalyticsTimeGrain = z.infer<typeof AnalyticsTimeGrainSchema>;
|
|
11579
|
+
type AnalyticsValidationIssue = z.infer<typeof AnalyticsValidationIssueSchema>;
|
|
11580
|
+
type AnalyticsValidationResult = z.infer<typeof AnalyticsValidationResultSchema>;
|
|
11581
|
+
type AnalyticsViewBlockDraft = z.infer<typeof AnalyticsViewBlockDraftSchema>;
|
|
11582
|
+
type AnalyticsViewBlock = z.infer<typeof AnalyticsViewBlockSchema>;
|
|
11583
|
+
type AnalyticsViewDraft = z.infer<typeof AnalyticsViewDraftSchema>;
|
|
11584
|
+
type AnalyticsViewFilterDraft = z.infer<typeof AnalyticsViewFilterDraftSchema>;
|
|
11585
|
+
type AnalyticsViewFilter = z.infer<typeof AnalyticsViewFilterSchema>;
|
|
11586
|
+
type AnalyticsViewHandoffDraft = z.infer<typeof AnalyticsViewHandoffDraftSchema>;
|
|
11587
|
+
type AnalyticsViewHandoff = z.infer<typeof AnalyticsViewHandoffSchema>;
|
|
11588
|
+
type AnalyticsViewLayout = z.infer<typeof AnalyticsViewLayoutSchema>;
|
|
11589
|
+
type AnalyticsViewQuery = z.infer<typeof AnalyticsViewQuerySchema>;
|
|
11590
|
+
type AnalyticsView = z.infer<typeof AnalyticsViewSchema>;
|
|
11591
|
+
type AnalyticsViewVisibility = z.infer<typeof AnalyticsViewVisibilitySchema>;
|
|
11592
|
+
type AnalyticsWarning = z.infer<typeof AnalyticsWarningSchema>;
|
|
8994
11593
|
type ApiKey = z.infer<typeof ApiKeySchema>;
|
|
8995
11594
|
type ApiKeyStatus = z.infer<typeof ApiKeyStatusSchema>;
|
|
8996
11595
|
type AuditActorType = z.infer<typeof AuditActorTypeSchema>;
|
|
@@ -9078,6 +11677,7 @@ type Identity = z.infer<typeof IdentitySchema>;
|
|
|
9078
11677
|
type IngestedEvent = z.infer<typeof IngestedEventSchema>;
|
|
9079
11678
|
type InvitationStatus = z.infer<typeof InvitationStatusSchema>;
|
|
9080
11679
|
type KpiAggregate = z.infer<typeof KpiAggregateSchema>;
|
|
11680
|
+
type LocalizedText = z.infer<typeof LocalizedTextSchema>;
|
|
9081
11681
|
type McpConfig = z.infer<typeof McpConfigSchema>;
|
|
9082
11682
|
type McpTokenScope = z.infer<typeof McpTokenScopeSchema>;
|
|
9083
11683
|
type MessageBlockContent = z.infer<typeof MessageBlockContentSchema>;
|
|
@@ -10411,26 +13011,18 @@ declare class ImpressionHistory {
|
|
|
10411
13011
|
|
|
10412
13012
|
/**
|
|
10413
13013
|
* Local placement resolver — unified factory that runs ENTIRELY
|
|
10414
|
-
* client-side / in-process (no remote server in the loop)
|
|
10415
|
-
*
|
|
13014
|
+
* client-side / in-process (no remote server in the loop) against a
|
|
13015
|
+
* JSON RevTurbineConfig (static SDK init, /api/config/import payload,
|
|
13016
|
+
* the delivered canonical-JSON payload artifact, demo fixtures).
|
|
10416
13017
|
*
|
|
10417
|
-
*
|
|
10418
|
-
* /api/config/import payload, demo fixtures).
|
|
10419
|
-
* - **FlatBuffer BundleHandle** — compiled bundle (production SDK
|
|
10420
|
-
* hot path, deployed snapshots).
|
|
10421
|
-
*
|
|
10422
|
-
* The two formats differ ONLY in how candidates are read off the
|
|
10423
|
-
* source. Everything past candidate-build — slot-metadata narrowing,
|
|
13018
|
+
* Candidate-build feeds a shared pipeline — slot-metadata narrowing,
|
|
10424
13019
|
* impression-history filtering, trial-trigger gating, milestone
|
|
10425
13020
|
* supersession, plan eligibility, usage enrichment, token
|
|
10426
|
-
* interpolation, output assembly
|
|
10427
|
-
*
|
|
10428
|
-
* both inputs.
|
|
13021
|
+
* interpolation, output assembly. (The FlatBuffer bundle arm was
|
|
13022
|
+
* retired by plan 177; the Playbook JSON is the only wire format.)
|
|
10429
13023
|
*
|
|
10430
|
-
* Backward-compat: `createStaticPlacementResolver`
|
|
10431
|
-
*
|
|
10432
|
-
* point, re-exported from src/core/bundle/placement-resolver.ts)
|
|
10433
|
-
* remain available as thin wrappers around `createLocalPlacementResolver`.
|
|
13024
|
+
* Backward-compat: `createStaticPlacementResolver` remains available
|
|
13025
|
+
* as a thin wrapper around `createLocalPlacementResolver`.
|
|
10434
13026
|
*/
|
|
10435
13027
|
|
|
10436
13028
|
interface LocalPlacementDataset {
|
|
@@ -10453,73 +13045,6 @@ interface StaticPlacementResolverOptions {
|
|
|
10453
13045
|
*/
|
|
10454
13046
|
declare function createStaticPlacementResolver(options: StaticPlacementResolverOptions): PlacementResolver;
|
|
10455
13047
|
|
|
10456
|
-
/**
|
|
10457
|
-
* User context lifecycle — pure functions for building, merging,
|
|
10458
|
-
* and deriving targeting state from user context + RevTurbineConfig.
|
|
10459
|
-
*/
|
|
10460
|
-
|
|
10461
|
-
/** SDK-facing user context (widened for customer convenience). */
|
|
10462
|
-
interface UserContextSnapshot {
|
|
10463
|
-
id?: string;
|
|
10464
|
-
plan?: string | UserPlanContext;
|
|
10465
|
-
custom?: Record<string, JsonValue>;
|
|
10466
|
-
entitlements?: Record<string, boolean>;
|
|
10467
|
-
usage?: Record<string, UserUsageEntry>;
|
|
10468
|
-
personalization?: Record<string, JsonValue>;
|
|
10469
|
-
}
|
|
10470
|
-
/** Computed targeting state for segment evaluation and placement resolution. */
|
|
10471
|
-
interface TargetingState {
|
|
10472
|
-
effectivePlan: string | undefined;
|
|
10473
|
-
traits: Record<string, JsonValue>;
|
|
10474
|
-
usage: Record<string, number>;
|
|
10475
|
-
segmentTraits: Record<string, string | number | boolean>;
|
|
10476
|
-
}
|
|
10477
|
-
|
|
10478
|
-
/**
|
|
10479
|
-
* Segment evaluation — predicate-based segment membership resolution.
|
|
10480
|
-
*
|
|
10481
|
-
* Segments are composed of predicates that target traits on a user
|
|
10482
|
-
* context/profile. A segment matches when ALL of its predicates are
|
|
10483
|
-
* satisfied (AND logic).
|
|
10484
|
-
*
|
|
10485
|
-
* Supported predicate operators:
|
|
10486
|
-
* - `eq` — string equality
|
|
10487
|
-
* - `neq` — string inequality
|
|
10488
|
-
* - `gt/lt/gte/lte` — numeric comparison
|
|
10489
|
-
* - `contains` — substring / list-item match
|
|
10490
|
-
* - `in` — trait value appears in comma-separated accepted list
|
|
10491
|
-
*/
|
|
10492
|
-
|
|
10493
|
-
/**
|
|
10494
|
-
* Flat key-value traits record used for segment predicate evaluation.
|
|
10495
|
-
*/
|
|
10496
|
-
type Trait = Record<string, string | number | boolean>;
|
|
10497
|
-
/**
|
|
10498
|
-
* A user's experiment assignments as resolved by an `ExperimentProvider`
|
|
10499
|
-
* (plan 183): `{ [experimentHandle]: variantHandle }`.
|
|
10500
|
-
*
|
|
10501
|
-
* Handles on both sides — canonical and version-stable, so an experiment edit
|
|
10502
|
-
* mints a new version without breaking a segment's reference.
|
|
10503
|
-
*/
|
|
10504
|
-
type ExperimentAssignments = Record<string, string>;
|
|
10505
|
-
/**
|
|
10506
|
-
* Evaluate segment definitions against a user's traits.
|
|
10507
|
-
*
|
|
10508
|
-
* Returns the IDs of every segment whose predicates ALL match (AND logic).
|
|
10509
|
-
* Segments with no predicates are skipped.
|
|
10510
|
-
*/
|
|
10511
|
-
declare function evaluateSegments(segments: RevTurbineConfigSegmentsItem[], traits: Trait, assignments?: ExperimentAssignments): string[];
|
|
10512
|
-
/**
|
|
10513
|
-
* Result of evaluating a single segment predicate with diagnostic detail.
|
|
10514
|
-
*/
|
|
10515
|
-
interface PredicateEvaluationResult {
|
|
10516
|
-
field: string;
|
|
10517
|
-
operator: string;
|
|
10518
|
-
expected: string;
|
|
10519
|
-
actual: string | number | boolean | null;
|
|
10520
|
-
matched: boolean;
|
|
10521
|
-
}
|
|
10522
|
-
|
|
10523
13048
|
/**
|
|
10524
13049
|
* Token derivation — derives personalization tokens from provider state.
|
|
10525
13050
|
*
|
|
@@ -10563,49 +13088,128 @@ type DeriveTokenOptions = {
|
|
|
10563
13088
|
* Derive a placement personalization token map from user context and resolved
|
|
10564
13089
|
* provider state (plan, traits, entitlement usage, and entitlement rules).
|
|
10565
13090
|
*/
|
|
10566
|
-
declare function derivePlacementPersonalizationTokens(options: DeriveTokenOptions): Record<string, TokenValue>;
|
|
13091
|
+
declare function derivePlacementPersonalizationTokens(options: DeriveTokenOptions): Record<string, TokenValue>;
|
|
13092
|
+
|
|
13093
|
+
/**
|
|
13094
|
+
* Payload resolution — content lookup and personalization token application.
|
|
13095
|
+
*
|
|
13096
|
+
* Moved from web-sdk/placements/payload-resolution.ts for isomorphic use.
|
|
13097
|
+
*/
|
|
13098
|
+
|
|
13099
|
+
interface ResolvedPayload {
|
|
13100
|
+
payload: ContentPlacementPayload;
|
|
13101
|
+
messageBlock: MessageBlock;
|
|
13102
|
+
resolvedContent: ResolvedContent$1;
|
|
13103
|
+
matchedSegmentId?: string;
|
|
13104
|
+
uiPathId?: string;
|
|
13105
|
+
promotionId?: string;
|
|
13106
|
+
uiPath?: ContentUiPath;
|
|
13107
|
+
promotion?: ContentPromotion;
|
|
13108
|
+
}
|
|
13109
|
+
interface PlacementContentLookupProvider {
|
|
13110
|
+
listPayloads(surfaceTemplateId: string): ContentPlacementPayload[] | Promise<ContentPlacementPayload[]>;
|
|
13111
|
+
getMessageBlockById(blockId: string): MessageBlock | null | undefined | Promise<MessageBlock | null | undefined>;
|
|
13112
|
+
getUiPathById?(uiPathId: string): ContentUiPath | null | undefined | Promise<ContentUiPath | null | undefined>;
|
|
13113
|
+
getPromotionById?(promotionId: string): ContentPromotion | null | undefined | Promise<ContentPromotion | null | undefined>;
|
|
13114
|
+
listPersonalizationTokens?(): RevTurbineConfigPersonalizationTokensItem[] | Promise<RevTurbineConfigPersonalizationTokensItem[]>;
|
|
13115
|
+
}
|
|
13116
|
+
declare function createStaticPlacementContentLookupProvider(input: {
|
|
13117
|
+
payloads?: ContentPlacementPayload[];
|
|
13118
|
+
messageBlocks?: MessageBlock[];
|
|
13119
|
+
uiPaths?: ContentUiPath[];
|
|
13120
|
+
promotions?: ContentPromotion[];
|
|
13121
|
+
tokens?: RevTurbineConfigPersonalizationTokensItem[];
|
|
13122
|
+
}): PlacementContentLookupProvider;
|
|
13123
|
+
declare function applyValueMaps(context: PersonalizationContext$1, tokens: RevTurbineConfigPersonalizationTokensItem[]): PersonalizationContext$1;
|
|
13124
|
+
interface PayloadResolutionOptions {
|
|
13125
|
+
/**
|
|
13126
|
+
* When provided, enables cross-dimension AND logic for segment matching.
|
|
13127
|
+
* Map of dimension name → segment IDs belonging to that dimension.
|
|
13128
|
+
* Intra-dimension: OR (any segment matches). Cross-dimension: AND (all dimensions must match).
|
|
13129
|
+
*/
|
|
13130
|
+
segmentDimensions?: Record<string, string[]>;
|
|
13131
|
+
}
|
|
13132
|
+
declare function resolvePayloadForUser(surfaceTemplateId: string, userContext: UserTargetingContext, payloads: ContentPlacementPayload[], blocks: MessageBlock[], tokens: RevTurbineConfigPersonalizationTokensItem[], personalization: PersonalizationContext$1, options?: PayloadResolutionOptions): ResolvedPayload | null;
|
|
13133
|
+
declare function resolvePayloadForUserWithProvider(surfaceTemplateId: string, userContext: UserTargetingContext, provider: PlacementContentLookupProvider, personalization: PersonalizationContext$1, explicitTokens?: RevTurbineConfigPersonalizationTokensItem[]): Promise<ResolvedPayload | null>;
|
|
13134
|
+
|
|
13135
|
+
/**
|
|
13136
|
+
* User context lifecycle — pure functions for building, merging,
|
|
13137
|
+
* and deriving targeting state from user context + RevTurbineConfig.
|
|
13138
|
+
*/
|
|
13139
|
+
|
|
13140
|
+
/** SDK-facing user context (widened for customer convenience). */
|
|
13141
|
+
interface UserContextSnapshot {
|
|
13142
|
+
id?: string;
|
|
13143
|
+
/**
|
|
13144
|
+
* THE plan matching identity — the plan's `unique_handle` (plan 191 Q-1).
|
|
13145
|
+
* Rule targets, segment plan predicates, and plan resolution match on this
|
|
13146
|
+
* value alone.
|
|
13147
|
+
*/
|
|
13148
|
+
plan_handle?: string;
|
|
13149
|
+
/**
|
|
13150
|
+
* The plan as a bare handle string, or as `{ handle, name, … }` (plan 191
|
|
13151
|
+
* Q-1 amendment — the object's identity symbol is `handle`; there is no
|
|
13152
|
+
* `id` in plan context). Both shapes carry the same matching identity as
|
|
13153
|
+
* the flat `plan_handle` above, which wins when both are set.
|
|
13154
|
+
*/
|
|
13155
|
+
plan?: string | UserPlanContext;
|
|
13156
|
+
custom?: Record<string, JsonValue>;
|
|
13157
|
+
entitlements?: Record<string, boolean>;
|
|
13158
|
+
usage?: Record<string, UserUsageEntry>;
|
|
13159
|
+
personalization?: Record<string, JsonValue>;
|
|
13160
|
+
}
|
|
13161
|
+
/** Computed targeting state for segment evaluation and placement resolution. */
|
|
13162
|
+
interface TargetingState {
|
|
13163
|
+
effectivePlan: string | undefined;
|
|
13164
|
+
traits: Record<string, JsonValue>;
|
|
13165
|
+
usage: Record<string, number>;
|
|
13166
|
+
segmentTraits: Record<string, string | number | boolean>;
|
|
13167
|
+
}
|
|
13168
|
+
|
|
13169
|
+
/**
|
|
13170
|
+
* Segment evaluation — predicate-based segment membership resolution.
|
|
13171
|
+
*
|
|
13172
|
+
* Segments are composed of predicates that target traits on a user
|
|
13173
|
+
* context/profile. A segment matches when ALL of its predicates are
|
|
13174
|
+
* satisfied (AND logic).
|
|
13175
|
+
*
|
|
13176
|
+
* Supported predicate operators:
|
|
13177
|
+
* - `eq` — string equality
|
|
13178
|
+
* - `neq` — string inequality
|
|
13179
|
+
* - `gt/lt/gte/lte` — numeric comparison
|
|
13180
|
+
* - `contains` — substring / list-item match
|
|
13181
|
+
* - `in` — trait value appears in comma-separated accepted list
|
|
13182
|
+
*/
|
|
10567
13183
|
|
|
10568
13184
|
/**
|
|
10569
|
-
*
|
|
13185
|
+
* Flat key-value traits record used for segment predicate evaluation.
|
|
13186
|
+
*/
|
|
13187
|
+
type Trait = Record<string, string | number | boolean>;
|
|
13188
|
+
/**
|
|
13189
|
+
* A user's experiment assignments as resolved by an `ExperimentProvider`
|
|
13190
|
+
* (plan 183): `{ [experimentHandle]: variantHandle }`.
|
|
10570
13191
|
*
|
|
10571
|
-
*
|
|
13192
|
+
* Handles on both sides — canonical and version-stable, so an experiment edit
|
|
13193
|
+
* mints a new version without breaking a segment's reference.
|
|
10572
13194
|
*/
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
|
|
10582
|
-
|
|
10583
|
-
|
|
10584
|
-
interface
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
}
|
|
10591
|
-
declare function createStaticPlacementContentLookupProvider(input: {
|
|
10592
|
-
payloads?: ContentPlacementPayload[];
|
|
10593
|
-
messageBlocks?: MessageBlock[];
|
|
10594
|
-
uiPaths?: ContentUiPath[];
|
|
10595
|
-
promotions?: ContentPromotion[];
|
|
10596
|
-
tokens?: RevTurbineConfigPersonalizationTokensItem[];
|
|
10597
|
-
}): PlacementContentLookupProvider;
|
|
10598
|
-
declare function applyValueMaps(context: PersonalizationContext$1, tokens: RevTurbineConfigPersonalizationTokensItem[]): PersonalizationContext$1;
|
|
10599
|
-
interface PayloadResolutionOptions {
|
|
10600
|
-
/**
|
|
10601
|
-
* When provided, enables cross-dimension AND logic for segment matching.
|
|
10602
|
-
* Map of dimension name → segment IDs belonging to that dimension.
|
|
10603
|
-
* Intra-dimension: OR (any segment matches). Cross-dimension: AND (all dimensions must match).
|
|
10604
|
-
*/
|
|
10605
|
-
segmentDimensions?: Record<string, string[]>;
|
|
13195
|
+
type ExperimentAssignments = Record<string, string>;
|
|
13196
|
+
/**
|
|
13197
|
+
* Evaluate segment definitions against a user's traits.
|
|
13198
|
+
*
|
|
13199
|
+
* Returns the IDs of every segment whose predicates ALL match (AND logic).
|
|
13200
|
+
* Segments with no predicates are skipped.
|
|
13201
|
+
*/
|
|
13202
|
+
declare function evaluateSegments(segments: RevTurbineConfigSegmentsItem[], traits: Trait, assignments?: ExperimentAssignments): string[];
|
|
13203
|
+
/**
|
|
13204
|
+
* Result of evaluating a single segment predicate with diagnostic detail.
|
|
13205
|
+
*/
|
|
13206
|
+
interface PredicateEvaluationResult {
|
|
13207
|
+
field: string;
|
|
13208
|
+
operator: string;
|
|
13209
|
+
expected: string;
|
|
13210
|
+
actual: string | number | boolean | null;
|
|
13211
|
+
matched: boolean;
|
|
10606
13212
|
}
|
|
10607
|
-
declare function resolvePayloadForUser(surfaceTemplateId: string, userContext: UserTargetingContext, payloads: ContentPlacementPayload[], blocks: MessageBlock[], tokens: RevTurbineConfigPersonalizationTokensItem[], personalization: PersonalizationContext$1, options?: PayloadResolutionOptions): ResolvedPayload | null;
|
|
10608
|
-
declare function resolvePayloadForUserWithProvider(surfaceTemplateId: string, userContext: UserTargetingContext, provider: PlacementContentLookupProvider, personalization: PersonalizationContext$1, explicitTokens?: RevTurbineConfigPersonalizationTokensItem[]): Promise<ResolvedPayload | null>;
|
|
10609
13213
|
|
|
10610
13214
|
/**
|
|
10611
13215
|
* Trial-status derivation — pure helpers that translate the persisted
|
|
@@ -11741,7 +14345,7 @@ type RevTurbineSdkMode = 'snippet' | 'react' | 'iframe';
|
|
|
11741
14345
|
* sdk.identify('user_123', {
|
|
11742
14346
|
* account_id: 'acct_456',
|
|
11743
14347
|
* email: 'jane@acme.com',
|
|
11744
|
-
*
|
|
14348
|
+
* plan_handle: 'pro',
|
|
11745
14349
|
* entitlements: { data_export: true },
|
|
11746
14350
|
* custom: { role: 'editor' },
|
|
11747
14351
|
* });
|
|
@@ -11750,13 +14354,12 @@ type RevTurbineSdkMode = 'snippet' | 'react' | 'iframe';
|
|
|
11750
14354
|
type UserContextInput = Omit<UserContext, 'id' | 'tenant_id' | 'user_id' | 'created_at' | 'updated_at'>;
|
|
11751
14355
|
/**
|
|
11752
14356
|
* Input accepted by {@link RevTurbineCustomerSdk.identify} for the canonical
|
|
11753
|
-
* user-context shape.
|
|
11754
|
-
*
|
|
11755
|
-
*
|
|
11756
|
-
* alias when both are supplied.
|
|
14357
|
+
* user-context shape (plan 191). `plan_handle` is THE plan matching
|
|
14358
|
+
* identity — the plan's `unique_handle`; the `plan` object is display
|
|
14359
|
+
* metadata (name/price/period) and never participates in matching.
|
|
11757
14360
|
*/
|
|
11758
14361
|
type IdentifyContextInput = UserContextInput & {
|
|
11759
|
-
/**
|
|
14362
|
+
/** THE plan matching identity — the plan's `unique_handle` (e.g. `'pro'`). */
|
|
11760
14363
|
plan_handle?: string;
|
|
11761
14364
|
};
|
|
11762
14365
|
|
|
@@ -11865,7 +14468,7 @@ type RevTurbineUpdateInput = Omit<RevTurbineUserContext, 'id' | 'usage'> & {
|
|
|
11865
14468
|
* JS callers' keys outside this set are dropped with a dev warning rather
|
|
11866
14469
|
* than merged into the context.
|
|
11867
14470
|
*/
|
|
11868
|
-
declare const RECOGNIZED_UPDATE_KEYS: readonly ["usage", "account_id", "email", "email_type", "plan", "trial", "payment_failed", "payment_at_risk", "tiers", "entitlements", "instances", "custom", "personalization", "derived_config_version", "context_hash", "derived_computed_at"];
|
|
14471
|
+
declare const RECOGNIZED_UPDATE_KEYS: readonly ["usage", "account_id", "email", "email_type", "plan_handle", "plan", "trial", "payment_failed", "payment_at_risk", "tiers", "entitlements", "instances", "custom", "personalization", "derived_config_version", "context_hash", "derived_computed_at"];
|
|
11869
14472
|
/** Usage snapshot entry for a usage unit. */
|
|
11870
14473
|
interface RevTurbineUsageSnapshotEntry {
|
|
11871
14474
|
/** Current consumed amount for the usage unit. */
|
|
@@ -12902,19 +15505,20 @@ declare class RevTurbineCustomerSdk {
|
|
|
12902
15505
|
private hydratePresentationCaps;
|
|
12903
15506
|
private persistPresentationCaps;
|
|
12904
15507
|
/**
|
|
12905
|
-
* The single resolver for the user's current plan
|
|
12906
|
-
*
|
|
12907
|
-
* `
|
|
12908
|
-
*
|
|
12909
|
-
*
|
|
12910
|
-
* lowercase as
|
|
15508
|
+
* The single resolver for the user's current plan identity (plan 168 REQ-4,
|
|
15509
|
+
* reshaped by plan 191 REQ-1/REQ-2 + the Q-1 amendment): the plan's
|
|
15510
|
+
* `unique_handle`, read from the first-class fields alone — flat
|
|
15511
|
+
* `plan_handle`, else the plan object's `handle` (there is no plan `id`).
|
|
15512
|
+
* `custom` is the customer's namespace — never a source of the SDK's own
|
|
15513
|
+
* plan semantics. Returns `''` when no plan is set; callers lowercase as
|
|
15514
|
+
* needed.
|
|
12911
15515
|
*/
|
|
12912
15516
|
private resolveContextPlanRaw;
|
|
12913
15517
|
/**
|
|
12914
|
-
* The set of identifiers (lowercased
|
|
12915
|
-
*
|
|
12916
|
-
*
|
|
12917
|
-
*
|
|
15518
|
+
* The set of identifiers (lowercased `unique_handle`) naming the user's
|
|
15519
|
+
* CURRENT plan for `entitlement_rule` plan-target matching. Identity is
|
|
15520
|
+
* handle-based everywhere (plan 191): rule targets carry handles, and the
|
|
15521
|
+
* context supplies the handle via `plan_handle` or `plan.handle`.
|
|
12918
15522
|
*/
|
|
12919
15523
|
private activePlanIdentifiers;
|
|
12920
15524
|
/** Whether a rule's plan targets include the active plan (no plan target = applies to all plans). */
|
|
@@ -13500,10 +16104,10 @@ declare class RevTurbineCustomerSdk {
|
|
|
13500
16104
|
* Accepts the canonical {@link IdentifyContextInput} — recognized by the
|
|
13501
16105
|
* presence of `account_id` / `email` / `plan` / `plan_handle` / `usage` /
|
|
13502
16106
|
* `entitlements` / `custom` — or a legacy plain-traits object, which is
|
|
13503
|
-
* stored under `custom` unchanged. `plan_handle` is
|
|
13504
|
-
*
|
|
13505
|
-
*
|
|
13506
|
-
*
|
|
16107
|
+
* stored under `custom` unchanged. `plan_handle` is THE plan matching
|
|
16108
|
+
* identity (the plan's `unique_handle`, plan 191 REQ-1); the `plan` object
|
|
16109
|
+
* is display metadata and never participates in matching, and nothing in
|
|
16110
|
+
* `custom` ever drives plan resolution (REQ-2).
|
|
13507
16111
|
*
|
|
13508
16112
|
* Guardrails: an empty id rejects the call; an email-shaped id warns in dev
|
|
13509
16113
|
* (ids stay opaque — pass emails as `{ email }`); unrecognized top-level
|
|
@@ -13512,8 +16116,8 @@ declare class RevTurbineCustomerSdk {
|
|
|
13512
16116
|
*
|
|
13513
16117
|
* @example
|
|
13514
16118
|
* ```ts
|
|
13515
|
-
* rt.identify('user_123', {
|
|
13516
|
-
* rt.identify('user_123', { plan_handle: 'pro'
|
|
16119
|
+
* rt.identify('user_123', { plan_handle: 'pro' }); // THE matching identity
|
|
16120
|
+
* rt.identify('user_123', { plan_handle: 'pro', plan: { handle: 'pro', name: 'Professional' } });
|
|
13517
16121
|
* ```
|
|
13518
16122
|
*/
|
|
13519
16123
|
identify(userId: string, contextOrTraits?: IdentifyContextInput | SdkTraits): void;
|
|
@@ -13532,7 +16136,7 @@ declare class RevTurbineCustomerSdk {
|
|
|
13532
16136
|
* @example
|
|
13533
16137
|
* // Between demo personas:
|
|
13534
16138
|
* rt.resetUserContext();
|
|
13535
|
-
* rt.identify('demo_pro', {
|
|
16139
|
+
* rt.identify('demo_pro', { plan_handle: 'pro' });
|
|
13536
16140
|
*/
|
|
13537
16141
|
resetUserContext(): void;
|
|
13538
16142
|
/**
|
|
@@ -13595,7 +16199,7 @@ declare class RevTurbineCustomerSdk {
|
|
|
13595
16199
|
*
|
|
13596
16200
|
* @example
|
|
13597
16201
|
* // Reflect a plan change and new traits in one call (identity unchanged):
|
|
13598
|
-
* rt.update({
|
|
16202
|
+
* rt.update({ plan_handle: 'pro', custom: { role: 'admin' } });
|
|
13599
16203
|
*/
|
|
13600
16204
|
update(patch: RevTurbineUpdateInput): void;
|
|
13601
16205
|
/**
|
|
@@ -13775,7 +16379,7 @@ type RevTurbineThemeInput = {
|
|
|
13775
16379
|
* tenantId: 'tenant_abc',
|
|
13776
16380
|
* apiKey: 'rt_live_xxx',
|
|
13777
16381
|
* endpoint: 'https://edge.example.com',
|
|
13778
|
-
* user: { id: 'user_123',
|
|
16382
|
+
* user: { id: 'user_123', plan_handle: 'pro' },
|
|
13779
16383
|
* });
|
|
13780
16384
|
*
|
|
13781
16385
|
* const banner = session.placement({ surfaceSlot: { id: 'upsell_banner' } });
|
|
@@ -14114,7 +16718,7 @@ type SdkSessionOptions = RevTurbineInitInputOptions & {
|
|
|
14114
16718
|
* tenantId: 'tenant_abc',
|
|
14115
16719
|
* apiKey: 'rt_live_xxx',
|
|
14116
16720
|
* endpoint: 'https://edge.example.com',
|
|
14117
|
-
* user: { id: 'user_123',
|
|
16721
|
+
* user: { id: 'user_123', plan_handle: 'pro' },
|
|
14118
16722
|
* });
|
|
14119
16723
|
*
|
|
14120
16724
|
* // Get a placement by slot ID
|
|
@@ -14126,7 +16730,7 @@ type SdkSessionOptions = RevTurbineInitInputOptions & {
|
|
|
14126
16730
|
* await gate.check();
|
|
14127
16731
|
*
|
|
14128
16732
|
* // Update user context (works in any runtime mode)
|
|
14129
|
-
* session.identify('user_456', {
|
|
16733
|
+
* session.identify('user_456', { plan_handle: 'enterprise' });
|
|
14130
16734
|
* session.setUserContext({ personalization: { company: 'Acme' } });
|
|
14131
16735
|
* ```
|
|
14132
16736
|
*/
|
|
@@ -14256,7 +16860,7 @@ declare class SdkSession {
|
|
|
14256
16860
|
* tenantId: 'tenant_abc',
|
|
14257
16861
|
* apiKey: 'rt_live_xxx',
|
|
14258
16862
|
* endpoint: 'https://edge.example.com',
|
|
14259
|
-
* user: { id: 'user_123',
|
|
16863
|
+
* user: { id: 'user_123', plan_handle: 'pro' },
|
|
14260
16864
|
* bootstrapPlacements: [
|
|
14261
16865
|
* { placement: { name: 'pricing_banner' } },
|
|
14262
16866
|
* ],
|
|
@@ -15419,6 +18023,19 @@ interface components {
|
|
|
15419
18023
|
};
|
|
15420
18024
|
/** @enum {string} */
|
|
15421
18025
|
PlacementTestMode: "off" | "test_users" | "all_traffic";
|
|
18026
|
+
AnalyticsQueryRequest: {
|
|
18027
|
+
view_id: components["schemas"]["Anon_a42d262cd3ca"];
|
|
18028
|
+
revision?: components["schemas"]["Anon_9717c0445e52_2"];
|
|
18029
|
+
block_ids?: components["schemas"]["Anon_b91fb2f48601"];
|
|
18030
|
+
filter_state?: components["schemas"]["Anon_be72a4804019"];
|
|
18031
|
+
};
|
|
18032
|
+
AnalyticsFilterState: {
|
|
18033
|
+
filter_id: components["schemas"]["Anon_a42d262cd3ca_1"];
|
|
18034
|
+
value: components["schemas"]["Anon_caed89591949"];
|
|
18035
|
+
};
|
|
18036
|
+
AnalyticsFilterValue: components["schemas"]["Anon_db3039b96a51"] | components["schemas"]["Anon_32ef433f4ee4"] | components["schemas"]["Anon_be2e8aabfc2e"] | components["schemas"]["Anon_6dcff20eb273"];
|
|
18037
|
+
/** @enum {string} */
|
|
18038
|
+
AnalyticsCompareMode: "none" | "previous_period" | "previous_year";
|
|
15422
18039
|
Tenant: {
|
|
15423
18040
|
id: components["schemas"]["Anon_fb248bf5a9f7"];
|
|
15424
18041
|
created_at: components["schemas"]["Anon_be3e2585472d"];
|
|
@@ -15546,6 +18163,7 @@ interface components {
|
|
|
15546
18163
|
account_id?: components["schemas"]["Anon_6c3968aac2bb"];
|
|
15547
18164
|
email?: components["schemas"]["Anon_f9502b6f3e14"];
|
|
15548
18165
|
email_type?: components["schemas"]["Anon_96f9066c2fdc_24"];
|
|
18166
|
+
plan_handle?: components["schemas"]["Anon_4e04ec5cc4e6_12"];
|
|
15549
18167
|
plan?: components["schemas"]["Anon_2fef49d17888"];
|
|
15550
18168
|
usage?: components["schemas"]["Anon_9bd52b3f8779"];
|
|
15551
18169
|
trial?: components["schemas"]["Anon_5e9fae8a4f1b"];
|
|
@@ -15564,7 +18182,7 @@ interface components {
|
|
|
15564
18182
|
experiments?: components["schemas"]["Anon_f86c1754c55e_1"];
|
|
15565
18183
|
};
|
|
15566
18184
|
UserPlanContext: {
|
|
15567
|
-
|
|
18185
|
+
handle: components["schemas"]["Anon_57796118d046_22"];
|
|
15568
18186
|
name: components["schemas"]["Anon_57796118d046_23"];
|
|
15569
18187
|
price?: components["schemas"]["Anon_96f9066c2fdc_25"];
|
|
15570
18188
|
billing_period?: components["schemas"]["Anon_420b7fe77e22"];
|
|
@@ -16229,6 +18847,28 @@ interface components {
|
|
|
16229
18847
|
Anon_7cb541e84f22_21: boolean;
|
|
16230
18848
|
/** @enum {string} */
|
|
16231
18849
|
Anon_be07849383a6: "highest_priority" | "most_recent" | "random";
|
|
18850
|
+
Anon_a42d262cd3ca: components["schemas"]["Anon_2b5910d5b25b"];
|
|
18851
|
+
Anon_2b5910d5b25b: string;
|
|
18852
|
+
Anon_9717c0445e52_2: components["schemas"]["Anon_ea288f4ef558_4"];
|
|
18853
|
+
Anon_ea288f4ef558_4: number;
|
|
18854
|
+
Anon_b91fb2f48601: components["schemas"]["Anon_a93e7ada2cb1"];
|
|
18855
|
+
Anon_a93e7ada2cb1: components["schemas"]["Anon_2b5910d5b25b"][];
|
|
18856
|
+
Anon_be72a4804019: components["schemas"]["Anon_b9e9d27cdf2a"];
|
|
18857
|
+
Anon_b9e9d27cdf2a: components["schemas"]["AnalyticsFilterState"][];
|
|
18858
|
+
Anon_a42d262cd3ca_1: components["schemas"]["Anon_2b5910d5b25b"];
|
|
18859
|
+
Anon_caed89591949: components["schemas"]["AnalyticsFilterValue"] | null;
|
|
18860
|
+
Anon_db3039b96a51: string | number | boolean | null;
|
|
18861
|
+
Anon_32ef433f4ee4: components["schemas"]["Anon_db3039b96a51"][];
|
|
18862
|
+
Anon_be2e8aabfc2e: {
|
|
18863
|
+
preset: string;
|
|
18864
|
+
compare?: components["schemas"]["AnalyticsCompareMode"];
|
|
18865
|
+
};
|
|
18866
|
+
Anon_6dcff20eb273: {
|
|
18867
|
+
min?: components["schemas"]["Anon_cddf8275afa1_3"];
|
|
18868
|
+
max?: components["schemas"]["Anon_cddf8275afa1_4"];
|
|
18869
|
+
};
|
|
18870
|
+
Anon_cddf8275afa1_3: number;
|
|
18871
|
+
Anon_cddf8275afa1_4: number;
|
|
16232
18872
|
Anon_4c26b3baab05_12: components["schemas"]["Anon_52ba84a4bbf3"];
|
|
16233
18873
|
Anon_af12d548dbee_13: components["schemas"]["Anon_0eb2e3b6e08c"];
|
|
16234
18874
|
/** @default active */
|
|
@@ -16263,10 +18903,10 @@ interface components {
|
|
|
16263
18903
|
Anon_6e27a15ab40e: string;
|
|
16264
18904
|
Anon_9b3712d35cb1_2: string;
|
|
16265
18905
|
Anon_0401cc56cccf: string | null;
|
|
16266
|
-
Anon_ea288f4ef558_4: number;
|
|
16267
18906
|
Anon_ea288f4ef558_5: number;
|
|
16268
18907
|
Anon_ea288f4ef558_6: number;
|
|
16269
18908
|
Anon_ea288f4ef558_7: number;
|
|
18909
|
+
Anon_ea288f4ef558_8: number;
|
|
16270
18910
|
Anon_f5f914e20719: string | null;
|
|
16271
18911
|
Anon_7cb541e84f22_26: boolean;
|
|
16272
18912
|
Anon_7618621a871f: string[];
|
|
@@ -16395,6 +19035,8 @@ interface components {
|
|
|
16395
19035
|
Anon_39a43881005e_1: string | null;
|
|
16396
19036
|
Anon_96f9066c2fdc_24: components["schemas"]["Anon_00404e686415_27"];
|
|
16397
19037
|
Anon_00404e686415_27: string;
|
|
19038
|
+
Anon_4e04ec5cc4e6_12: components["schemas"]["Anon_9ac136edb99a_17"];
|
|
19039
|
+
Anon_9ac136edb99a_17: string;
|
|
16398
19040
|
Anon_2fef49d17888: components["schemas"]["UserPlanContext"];
|
|
16399
19041
|
Anon_57796118d046_22: string;
|
|
16400
19042
|
Anon_57796118d046_23: string;
|
|
@@ -16457,10 +19099,10 @@ interface components {
|
|
|
16457
19099
|
Anon_57796118d046_26: string;
|
|
16458
19100
|
Anon_57796118d046_27: string;
|
|
16459
19101
|
Anon_75edd6fbcecc: components["schemas"]["EntitlementGrantStatus"];
|
|
16460
|
-
Anon_9c7f41b09bde_2: components["schemas"]["
|
|
16461
|
-
|
|
16462
|
-
Anon_9c7f41b09bde_3: components["schemas"]["
|
|
16463
|
-
|
|
19102
|
+
Anon_9c7f41b09bde_2: components["schemas"]["Anon_cddf8275afa1_5"];
|
|
19103
|
+
Anon_cddf8275afa1_5: number;
|
|
19104
|
+
Anon_9c7f41b09bde_3: components["schemas"]["Anon_cddf8275afa1_6"];
|
|
19105
|
+
Anon_cddf8275afa1_6: number;
|
|
16464
19106
|
Anon_a7c491664ac5_2: components["schemas"]["UsageAllocation"];
|
|
16465
19107
|
Anon_25c82cf56487_1: components["schemas"]["EnforcementMode"];
|
|
16466
19108
|
Anon_589b52ae1ab1: components["schemas"]["EntitlementGrantSource"];
|
|
@@ -16968,8 +19610,8 @@ interface components {
|
|
|
16968
19610
|
started_at: components["schemas"]["Anon_be3e2585472d_6"];
|
|
16969
19611
|
expires_at?: components["schemas"]["Anon_8b48719136dc_1"];
|
|
16970
19612
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_4"];
|
|
16971
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
16972
|
-
usage_limit_value?: components["schemas"]["
|
|
19613
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_15"];
|
|
19614
|
+
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_5"];
|
|
16973
19615
|
converted_at: components["schemas"]["Anon_711dc9708535_9"];
|
|
16974
19616
|
cancelled_at: components["schemas"]["Anon_711dc9708535_10"];
|
|
16975
19617
|
metadata: components["schemas"]["Anon_f27cb44c32f6_21"];
|
|
@@ -17279,6 +19921,309 @@ interface components {
|
|
|
17279
19921
|
acknowledged_by: components["schemas"]["Anon_f7fb9744a6e4_27"];
|
|
17280
19922
|
metadata: components["schemas"]["Anon_f27cb44c32f6_32"];
|
|
17281
19923
|
};
|
|
19924
|
+
AnalyticsCatalog: {
|
|
19925
|
+
catalog_version: components["schemas"]["Anon_0c649f0987df"];
|
|
19926
|
+
source: components["schemas"]["Anon_58595c887e8e"];
|
|
19927
|
+
generated_at?: components["schemas"]["Anon_e077e17ea982_6"];
|
|
19928
|
+
concepts: components["schemas"]["Anon_7af4e0f62fe5"];
|
|
19929
|
+
dimensions: components["schemas"]["Anon_02464e23ff2d"];
|
|
19930
|
+
metrics: components["schemas"]["Anon_3f6610e7064e"];
|
|
19931
|
+
};
|
|
19932
|
+
/** @enum {string} */
|
|
19933
|
+
AnalyticsCatalogSource: "fixture" | "generated";
|
|
19934
|
+
AnalyticsCatalogConcept: {
|
|
19935
|
+
id: components["schemas"]["Anon_473e554f0735"];
|
|
19936
|
+
version: components["schemas"]["Anon_492895348dbd_2"];
|
|
19937
|
+
label: components["schemas"]["Anon_cd76cef95ac8_1"];
|
|
19938
|
+
description?: components["schemas"]["Anon_7e1c99abdd77_5"];
|
|
19939
|
+
when_to_use?: components["schemas"]["Anon_7e1c99abdd77_6"];
|
|
19940
|
+
do_not_use_for?: components["schemas"]["Anon_7e1c99abdd77_7"];
|
|
19941
|
+
grain: components["schemas"]["Anon_33727e5081dd"];
|
|
19942
|
+
analytical_units: components["schemas"]["Anon_d62061afe78d"];
|
|
19943
|
+
primary_time_dimension: components["schemas"]["Anon_473e554f0735_1"];
|
|
19944
|
+
historical_mode: components["schemas"]["Anon_2d080ce873f8"];
|
|
19945
|
+
dimensions: components["schemas"]["Anon_9d858dae66d4"];
|
|
19946
|
+
metrics: components["schemas"]["Anon_9d858dae66d4_1"];
|
|
19947
|
+
query_families: components["schemas"]["Anon_54e2154d1e2d"];
|
|
19948
|
+
source_scope: components["schemas"]["Anon_a3ffad10d15c"];
|
|
19949
|
+
coverage_metric?: components["schemas"]["Anon_473e554f0735_2"];
|
|
19950
|
+
deprecation?: components["schemas"]["Anon_8f09b448c37f"];
|
|
19951
|
+
};
|
|
19952
|
+
/** @enum {string} */
|
|
19953
|
+
AnalyticsAnalyticalUnit: "account" | "user" | "billing_unit" | "organization";
|
|
19954
|
+
/** @enum {string} */
|
|
19955
|
+
AnalyticsHistoricalMode: "as_of_event" | "current";
|
|
19956
|
+
/** @enum {string} */
|
|
19957
|
+
AnalyticsQueryFamily: "scalar" | "timeseries" | "breakdown" | "funnel" | "table" | "timeline";
|
|
19958
|
+
/** @enum {string} */
|
|
19959
|
+
AnalyticsSourceScope: "total" | "revturbine_tracked" | "revturbine_influenced";
|
|
19960
|
+
AnalyticsCatalogDeprecation: {
|
|
19961
|
+
deprecated: components["schemas"]["Anon_a2b04841bdf1_1"];
|
|
19962
|
+
replaced_by?: components["schemas"]["Anon_473e554f0735_3"];
|
|
19963
|
+
};
|
|
19964
|
+
AnalyticsCatalogDimension: {
|
|
19965
|
+
id: components["schemas"]["Anon_473e554f0735_4"];
|
|
19966
|
+
label: components["schemas"]["Anon_cd76cef95ac8_2"];
|
|
19967
|
+
description?: components["schemas"]["Anon_7e1c99abdd77_8"];
|
|
19968
|
+
when_to_use?: components["schemas"]["Anon_7e1c99abdd77_9"];
|
|
19969
|
+
do_not_use_for?: components["schemas"]["Anon_7e1c99abdd77_10"];
|
|
19970
|
+
type: components["schemas"]["Anon_8cca1c007123"];
|
|
19971
|
+
operators: components["schemas"]["Anon_ee64da9ff212"];
|
|
19972
|
+
control: components["schemas"]["Anon_1461c1108c5a"];
|
|
19973
|
+
capabilities: components["schemas"]["Anon_9608bbcc8c3c"];
|
|
19974
|
+
cardinality: components["schemas"]["Anon_60ea4f2fb8ec"];
|
|
19975
|
+
classification: components["schemas"]["Anon_d2d465584350"];
|
|
19976
|
+
historical_mode?: components["schemas"]["Anon_2d080ce873f8_1"];
|
|
19977
|
+
allowed_concepts?: components["schemas"]["Anon_7587b25862b7"];
|
|
19978
|
+
exclude_from_segment_picker: components["schemas"]["Anon_062d958a93c4_18"];
|
|
19979
|
+
deprecation?: components["schemas"]["Anon_8f09b448c37f_1"];
|
|
19980
|
+
};
|
|
19981
|
+
/** @enum {string} */
|
|
19982
|
+
AnalyticsDimensionType: "string" | "number" | "boolean" | "date" | "datetime" | "id" | "enum";
|
|
19983
|
+
/** @enum {string} */
|
|
19984
|
+
AnalyticsFilterOperator: "eq" | "neq" | "in" | "not_in" | "between" | "gte" | "lte" | "is_null" | "is_not_null" | "contains";
|
|
19985
|
+
/** @enum {string} */
|
|
19986
|
+
AnalyticsFilterControl: "date_range" | "single_select" | "multi_select" | "search_select" | "number_range";
|
|
19987
|
+
/** @enum {string} */
|
|
19988
|
+
AnalyticsDimensionCapability: "filter" | "group" | "split" | "sort";
|
|
19989
|
+
/** @enum {string} */
|
|
19990
|
+
AnalyticsCardinalityClass: "low" | "medium" | "high";
|
|
19991
|
+
/** @enum {string} */
|
|
19992
|
+
AnalyticsClassification: "unrestricted" | "pii" | "financial" | "operational";
|
|
19993
|
+
AnalyticsCatalogMetric: {
|
|
19994
|
+
id: components["schemas"]["Anon_473e554f0735_5"];
|
|
19995
|
+
label: components["schemas"]["Anon_cd76cef95ac8_3"];
|
|
19996
|
+
description?: components["schemas"]["Anon_7e1c99abdd77_11"];
|
|
19997
|
+
when_to_use?: components["schemas"]["Anon_7e1c99abdd77_12"];
|
|
19998
|
+
do_not_use_for?: components["schemas"]["Anon_7e1c99abdd77_13"];
|
|
19999
|
+
value_type: components["schemas"]["Anon_65ce7e0d8aee"];
|
|
20000
|
+
format?: components["schemas"]["Anon_7a61cd1caede"];
|
|
20001
|
+
source_scope?: components["schemas"]["Anon_a3ffad10d15c_1"];
|
|
20002
|
+
deprecation?: components["schemas"]["Anon_8f09b448c37f_2"];
|
|
20003
|
+
};
|
|
20004
|
+
/** @enum {string} */
|
|
20005
|
+
AnalyticsFieldType: "string" | "number" | "currency" | "percent" | "date" | "datetime" | "boolean";
|
|
20006
|
+
AnalyticsFormatSpec: {
|
|
20007
|
+
type: components["schemas"]["Anon_94839c0509bd"];
|
|
20008
|
+
decimals?: components["schemas"]["Anon_c896ad2c01f0"];
|
|
20009
|
+
compact?: components["schemas"]["Anon_fb9ddeea992e_8"];
|
|
20010
|
+
};
|
|
20011
|
+
AnalyticsCatalogSearchResult: {
|
|
20012
|
+
catalog_version: components["schemas"]["Anon_0c649f0987df_1"];
|
|
20013
|
+
query: components["schemas"]["Anon_872e58432369_4"];
|
|
20014
|
+
entries: components["schemas"]["Anon_57df4039d087"];
|
|
20015
|
+
};
|
|
20016
|
+
AnalyticsAgentCatalogEntry: {
|
|
20017
|
+
id: components["schemas"]["Anon_939d50f1543a"];
|
|
20018
|
+
kind: components["schemas"]["Anon_33085dabcc5b"];
|
|
20019
|
+
label: components["schemas"]["Anon_cd76cef95ac8_4"];
|
|
20020
|
+
description: components["schemas"]["Anon_439566ae782f"];
|
|
20021
|
+
when_to_use?: components["schemas"]["Anon_7e1c99abdd77_14"];
|
|
20022
|
+
do_not_use_for?: components["schemas"]["Anon_7e1c99abdd77_15"];
|
|
20023
|
+
value_type?: components["schemas"]["Anon_65ce7e0d8aee_1"];
|
|
20024
|
+
format?: components["schemas"]["Anon_7a61cd1caede_1"];
|
|
20025
|
+
capabilities?: components["schemas"]["Anon_7706669f91c3"];
|
|
20026
|
+
compatible_concepts?: components["schemas"]["Anon_1617b0c336e0"];
|
|
20027
|
+
compatible_families?: components["schemas"]["Anon_0333fee54353"];
|
|
20028
|
+
analytical_units?: components["schemas"]["Anon_f4eb50803f77"];
|
|
20029
|
+
source_scope?: components["schemas"]["Anon_a3ffad10d15c_2"];
|
|
20030
|
+
example?: components["schemas"]["Anon_e648d024ff54"];
|
|
20031
|
+
deprecation?: components["schemas"]["Anon_8f09b448c37f_3"];
|
|
20032
|
+
};
|
|
20033
|
+
AnalyticsSemanticId: components["schemas"]["Anon_c8d24748191b"];
|
|
20034
|
+
/** @enum {string} */
|
|
20035
|
+
AnalyticsAgentCatalogEntryKind: "concept" | "dimension" | "metric" | "query_family";
|
|
20036
|
+
AnalyticsTemplateSummary: {
|
|
20037
|
+
id: components["schemas"]["Anon_a42d262cd3ca_2"];
|
|
20038
|
+
version: components["schemas"]["Anon_492895348dbd_3"];
|
|
20039
|
+
title: components["schemas"]["Anon_08bc067910e8"];
|
|
20040
|
+
description?: components["schemas"]["Anon_08bc067910e8_1"];
|
|
20041
|
+
block_count: components["schemas"]["Anon_492895348dbd_4"];
|
|
20042
|
+
};
|
|
20043
|
+
LocalizedText: {
|
|
20044
|
+
value: components["schemas"]["Anon_f7f3658e6095_2"];
|
|
20045
|
+
key?: components["schemas"]["Anon_1a96b72f6169"];
|
|
20046
|
+
};
|
|
20047
|
+
AnalyticsView: {
|
|
20048
|
+
kind: components["schemas"]["Anon_983865dbfb22"];
|
|
20049
|
+
schema_version: components["schemas"]["Anon_539fcc6d91b0"];
|
|
20050
|
+
id: components["schemas"]["Anon_a42d262cd3ca_3"];
|
|
20051
|
+
revision: components["schemas"]["Anon_492895348dbd_5"];
|
|
20052
|
+
title: components["schemas"]["Anon_08bc067910e8_2"];
|
|
20053
|
+
description?: components["schemas"]["Anon_08bc067910e8_3"];
|
|
20054
|
+
analytical_unit: components["schemas"]["Anon_612059bf001c"];
|
|
20055
|
+
base_template?: components["schemas"]["Anon_42ca9dcfc804"];
|
|
20056
|
+
catalog_version: components["schemas"]["Anon_0c649f0987df_2"];
|
|
20057
|
+
filters: components["schemas"]["Anon_f5bc4b9c7cf3"];
|
|
20058
|
+
layout: components["schemas"]["Anon_a99ad7aecf25"];
|
|
20059
|
+
blocks: components["schemas"]["Anon_1045ab243378"];
|
|
20060
|
+
handoffs?: components["schemas"]["Anon_085d58b82580"];
|
|
20061
|
+
customization_policy: components["schemas"]["Anon_69cb1378719c"];
|
|
20062
|
+
};
|
|
20063
|
+
AnalyticsViewFilter: {
|
|
20064
|
+
id: components["schemas"]["Anon_a42d262cd3ca_4"];
|
|
20065
|
+
dimension: components["schemas"]["Anon_473e554f0735_6"];
|
|
20066
|
+
control: components["schemas"]["Anon_1461c1108c5a_1"];
|
|
20067
|
+
label?: components["schemas"]["Anon_08bc067910e8_4"];
|
|
20068
|
+
operators: components["schemas"]["Anon_ee64da9ff212_1"];
|
|
20069
|
+
default_value?: components["schemas"]["Anon_972936582d54"];
|
|
20070
|
+
required: components["schemas"]["Anon_062d958a93c4_19"];
|
|
20071
|
+
pinned: components["schemas"]["Anon_062d958a93c4_20"];
|
|
20072
|
+
applies_to: components["schemas"]["Anon_e4e72df2ab85"];
|
|
20073
|
+
};
|
|
20074
|
+
AnalyticsViewLayout: {
|
|
20075
|
+
type: components["schemas"]["Anon_322aa249f2e5"];
|
|
20076
|
+
columns: components["schemas"]["Anon_724e5097e193"];
|
|
20077
|
+
items: components["schemas"]["Anon_1413a3a717f4"];
|
|
20078
|
+
};
|
|
20079
|
+
AnalyticsViewBlock: {
|
|
20080
|
+
id: components["schemas"]["Anon_a42d262cd3ca_5"];
|
|
20081
|
+
title?: components["schemas"]["Anon_08bc067910e8_5"];
|
|
20082
|
+
description?: components["schemas"]["Anon_08bc067910e8_6"];
|
|
20083
|
+
query: components["schemas"]["Anon_e9ffed65fc4f"];
|
|
20084
|
+
render: components["schemas"]["Anon_93132f30dbdc"];
|
|
20085
|
+
};
|
|
20086
|
+
/** @enum {string} */
|
|
20087
|
+
AnalyticsTimeGrain: "hour" | "day" | "week" | "month" | "quarter";
|
|
20088
|
+
AnalyticsSemanticFilter: {
|
|
20089
|
+
dimension: components["schemas"]["Anon_473e554f0735_8"];
|
|
20090
|
+
operator: components["schemas"]["Anon_307923732876"];
|
|
20091
|
+
value?: components["schemas"]["Anon_972936582d54_1"];
|
|
20092
|
+
};
|
|
20093
|
+
AnalyticsViewQuery: {
|
|
20094
|
+
concept: components["schemas"]["Anon_473e554f0735_7"];
|
|
20095
|
+
family: components["schemas"]["Anon_a9324c0abdd2"];
|
|
20096
|
+
metrics: components["schemas"]["Anon_515e808fd802"];
|
|
20097
|
+
group_by?: components["schemas"]["Anon_36fc42275aaf"];
|
|
20098
|
+
time?: components["schemas"]["Anon_ad21ab4a74dd"];
|
|
20099
|
+
filters_from?: components["schemas"]["Anon_f02dd988a13b"];
|
|
20100
|
+
fixed_filters?: components["schemas"]["Anon_6529c678041a"];
|
|
20101
|
+
compare?: components["schemas"]["Anon_7e61734f9a3b"];
|
|
20102
|
+
order_by?: components["schemas"]["Anon_c5fac1b8ce6b"];
|
|
20103
|
+
limit?: components["schemas"]["Anon_82d63766c7f3"];
|
|
20104
|
+
};
|
|
20105
|
+
AnalyticsRenderMetric: {
|
|
20106
|
+
/**
|
|
20107
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20108
|
+
* @enum {string}
|
|
20109
|
+
*/
|
|
20110
|
+
type: "metric";
|
|
20111
|
+
value: components["schemas"]["Anon_473e554f0735_9"];
|
|
20112
|
+
comparison?: components["schemas"]["Anon_473e554f0735_10"];
|
|
20113
|
+
format?: components["schemas"]["Anon_7a61cd1caede_2"];
|
|
20114
|
+
};
|
|
20115
|
+
AnalyticsRenderCartesian: {
|
|
20116
|
+
/**
|
|
20117
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20118
|
+
* @enum {string}
|
|
20119
|
+
*/
|
|
20120
|
+
type: "cartesian";
|
|
20121
|
+
mark: components["schemas"]["Anon_4596ecf7ed9b"];
|
|
20122
|
+
encoding: components["schemas"]["Anon_23f8fbab2ab7"];
|
|
20123
|
+
options?: components["schemas"]["Anon_bb36a31f18a0"];
|
|
20124
|
+
};
|
|
20125
|
+
AnalyticsSafeChartOptions: {
|
|
20126
|
+
legend?: components["schemas"]["Anon_62bb63262a64"];
|
|
20127
|
+
value_labels?: components["schemas"]["Anon_fb9ddeea992e_9"];
|
|
20128
|
+
reference_lines?: components["schemas"]["Anon_a80e45915805"];
|
|
20129
|
+
x_axis_format?: components["schemas"]["Anon_7a61cd1caede_3"];
|
|
20130
|
+
y_axis_format?: components["schemas"]["Anon_7a61cd1caede_4"];
|
|
20131
|
+
empty_state?: components["schemas"]["Anon_454ddba6bb69"];
|
|
20132
|
+
};
|
|
20133
|
+
AnalyticsRenderFunnel: {
|
|
20134
|
+
/**
|
|
20135
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20136
|
+
* @enum {string}
|
|
20137
|
+
*/
|
|
20138
|
+
type: "funnel";
|
|
20139
|
+
stages: components["schemas"]["Anon_5142ac15e995"];
|
|
20140
|
+
split_by?: components["schemas"]["Anon_473e554f0735_14"];
|
|
20141
|
+
};
|
|
20142
|
+
AnalyticsRenderTable: {
|
|
20143
|
+
/**
|
|
20144
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20145
|
+
* @enum {string}
|
|
20146
|
+
*/
|
|
20147
|
+
type: "table";
|
|
20148
|
+
columns: components["schemas"]["Anon_57f1cc33beca"];
|
|
20149
|
+
};
|
|
20150
|
+
AnalyticsRenderTimeline: {
|
|
20151
|
+
/**
|
|
20152
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20153
|
+
* @enum {string}
|
|
20154
|
+
*/
|
|
20155
|
+
type: "timeline";
|
|
20156
|
+
timestamp: components["schemas"]["Anon_473e554f0735_15"];
|
|
20157
|
+
event_type: components["schemas"]["Anon_473e554f0735_16"];
|
|
20158
|
+
};
|
|
20159
|
+
AnalyticsRenderRecommendations: {
|
|
20160
|
+
/**
|
|
20161
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20162
|
+
* @enum {string}
|
|
20163
|
+
*/
|
|
20164
|
+
type: "recommendations";
|
|
20165
|
+
presentation: components["schemas"]["Anon_1a1a436f6c9f"];
|
|
20166
|
+
};
|
|
20167
|
+
AnalyticsRenderSpec: components["schemas"]["AnalyticsRenderMetric"] | components["schemas"]["AnalyticsRenderCartesian"] | components["schemas"]["AnalyticsRenderFunnel"] | components["schemas"]["AnalyticsRenderTable"] | components["schemas"]["AnalyticsRenderTimeline"] | components["schemas"]["AnalyticsRenderRecommendations"];
|
|
20168
|
+
AnalyticsViewHandoff: {
|
|
20169
|
+
id: components["schemas"]["Anon_a42d262cd3ca_6"];
|
|
20170
|
+
label: components["schemas"]["Anon_08bc067910e8_7"];
|
|
20171
|
+
target: components["schemas"]["Anon_473e554f0735_17"];
|
|
20172
|
+
bindings: components["schemas"]["Anon_14b6bcad70d8"];
|
|
20173
|
+
};
|
|
20174
|
+
/** @enum {string} */
|
|
20175
|
+
AnalyticsCustomizationCapability: "title" | "filter_defaults" | "metric_selection" | "grouping" | "compatible_renderer" | "sort" | "limit" | "block_visibility" | "layout" | "source_scope" | "handoff_target" | "hidden_scope" | "raw_expression";
|
|
20176
|
+
AnalyticsCustomizationPolicy: {
|
|
20177
|
+
allow: components["schemas"]["Anon_0c549228e81e"];
|
|
20178
|
+
deny: components["schemas"]["Anon_0c549228e81e_1"];
|
|
20179
|
+
};
|
|
20180
|
+
AnalyticsQueryResponse: {
|
|
20181
|
+
view_id: components["schemas"]["Anon_a42d262cd3ca_7"];
|
|
20182
|
+
revision: components["schemas"]["Anon_492895348dbd_6"];
|
|
20183
|
+
catalog_version: components["schemas"]["Anon_0c649f0987df_3"];
|
|
20184
|
+
results: components["schemas"]["Anon_d1ee5d662ae8"];
|
|
20185
|
+
errors: components["schemas"]["Anon_d9d8133c6dc1"];
|
|
20186
|
+
};
|
|
20187
|
+
AnalyticsBlockResult: {
|
|
20188
|
+
block_id: components["schemas"]["Anon_a42d262cd3ca_8"];
|
|
20189
|
+
result: components["schemas"]["Anon_56fff7881fad"];
|
|
20190
|
+
};
|
|
20191
|
+
AnalyticsResultField: {
|
|
20192
|
+
id: components["schemas"]["Anon_473e554f0735_18"];
|
|
20193
|
+
type: components["schemas"]["Anon_65ce7e0d8aee_2"];
|
|
20194
|
+
nullable: components["schemas"]["Anon_a2b04841bdf1_2"];
|
|
20195
|
+
};
|
|
20196
|
+
AnalyticsCoverage: {
|
|
20197
|
+
numerator: components["schemas"]["Anon_274ba4ca49d5_14"];
|
|
20198
|
+
denominator: components["schemas"]["Anon_274ba4ca49d5_15"];
|
|
20199
|
+
rate: components["schemas"]["Anon_2b7ce0f730b2_3"];
|
|
20200
|
+
};
|
|
20201
|
+
AnalyticsWarning: {
|
|
20202
|
+
code: components["schemas"]["Anon_52d01828671f"];
|
|
20203
|
+
message: components["schemas"]["Anon_439566ae782f_1"];
|
|
20204
|
+
};
|
|
20205
|
+
AnalyticsResultMeta: {
|
|
20206
|
+
query_hash: components["schemas"]["Anon_4e975b8486b2"];
|
|
20207
|
+
concept: components["schemas"]["Anon_473e554f0735_19"];
|
|
20208
|
+
analytical_unit: components["schemas"]["Anon_612059bf001c_1"];
|
|
20209
|
+
source_scope: components["schemas"]["Anon_a3ffad10d15c_3"];
|
|
20210
|
+
coverage?: components["schemas"]["Anon_46875cb51ec3"];
|
|
20211
|
+
as_of: components["schemas"]["Anon_3c179513a5d9_2"];
|
|
20212
|
+
freshness_seconds: components["schemas"]["Anon_274ba4ca49d5_16"];
|
|
20213
|
+
applied_filters: components["schemas"]["Anon_0d4ef59d2c98"];
|
|
20214
|
+
next_cursor?: components["schemas"]["Anon_7e1c99abdd77_16"];
|
|
20215
|
+
warnings: components["schemas"]["Anon_3e88c47d5b52"];
|
|
20216
|
+
};
|
|
20217
|
+
AnalyticsResult: {
|
|
20218
|
+
data: components["schemas"]["Anon_9835348a971c"];
|
|
20219
|
+
fields: components["schemas"]["Anon_0bd5ae84ded2"];
|
|
20220
|
+
meta: components["schemas"]["Anon_de5c7379be05"];
|
|
20221
|
+
};
|
|
20222
|
+
AnalyticsBlockError: {
|
|
20223
|
+
block_id: components["schemas"]["Anon_a42d262cd3ca_9"];
|
|
20224
|
+
code: components["schemas"]["Anon_52d01828671f_1"];
|
|
20225
|
+
message: components["schemas"]["Anon_439566ae782f_2"];
|
|
20226
|
+
};
|
|
17282
20227
|
Environment: {
|
|
17283
20228
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
17284
20229
|
created_at: components["schemas"]["Anon_be3e2585472d_2"];
|
|
@@ -17292,8 +20237,8 @@ interface components {
|
|
|
17292
20237
|
cloned_from_environment_id: components["schemas"]["Anon_7f83d3357e9c"];
|
|
17293
20238
|
cloned_at: components["schemas"]["Anon_24a0ac3f017b"];
|
|
17294
20239
|
cloned_at_sequence: components["schemas"]["Anon_f11abbefcf83"];
|
|
17295
|
-
requires_approval: components["schemas"]["
|
|
17296
|
-
auto_deploy_on_approval: components["schemas"]["
|
|
20240
|
+
requires_approval: components["schemas"]["Anon_062d958a93c4_21"];
|
|
20241
|
+
auto_deploy_on_approval: components["schemas"]["Anon_062d958a93c4_22"];
|
|
17297
20242
|
created_by?: components["schemas"]["Anon_96f9066c2fdc_61"];
|
|
17298
20243
|
metadata: components["schemas"]["Anon_f27cb44c32f6_34"];
|
|
17299
20244
|
};
|
|
@@ -17304,7 +20249,7 @@ interface components {
|
|
|
17304
20249
|
tenant_id: components["schemas"]["Anon_fb248bf5a9f7_10"];
|
|
17305
20250
|
environment_id: components["schemas"]["Anon_57796118d046_67"];
|
|
17306
20251
|
name: components["schemas"]["Anon_4c26b3baab05_29"];
|
|
17307
|
-
description?: components["schemas"]["
|
|
20252
|
+
description?: components["schemas"]["Anon_e648d024ff54_1"];
|
|
17308
20253
|
status: components["schemas"]["Anon_d7211f687316"];
|
|
17309
20254
|
labels: components["schemas"]["Anon_f8dbfffc0ce2_25"];
|
|
17310
20255
|
created_by: components["schemas"]["Anon_57796118d046_68"];
|
|
@@ -17319,8 +20264,8 @@ interface components {
|
|
|
17319
20264
|
conflict_count: components["schemas"]["Anon_b32f11b2ff5e_8"];
|
|
17320
20265
|
rollback_of_playbook_version_id: components["schemas"]["Anon_f7fb9744a6e4_28"];
|
|
17321
20266
|
cherry_picked_from_playbook_version_id: components["schemas"]["Anon_f7fb9744a6e4_29"];
|
|
17322
|
-
review_notes?: components["schemas"]["
|
|
17323
|
-
rejection_reason?: components["schemas"]["
|
|
20267
|
+
review_notes?: components["schemas"]["Anon_e648d024ff54_2"];
|
|
20268
|
+
rejection_reason?: components["schemas"]["Anon_e648d024ff54_3"];
|
|
17324
20269
|
snapshot: components["schemas"]["Anon_24c687f9b9af"];
|
|
17325
20270
|
bundle: components["schemas"]["Anon_7f83d3357e9c_4"];
|
|
17326
20271
|
metadata: components["schemas"]["Anon_f27cb44c32f6_35"];
|
|
@@ -17329,24 +20274,24 @@ interface components {
|
|
|
17329
20274
|
PlaybookVersionStatus: "draft" | "awaiting_approval" | "approved" | "deploying" | "deployed" | "rejected" | "archived";
|
|
17330
20275
|
PlaybookVersionDeployResult: {
|
|
17331
20276
|
playbook_version_id: components["schemas"]["Anon_127eb78cd9c0_10"];
|
|
17332
|
-
deployed_count: components["schemas"]["
|
|
17333
|
-
superseded_count: components["schemas"]["
|
|
17334
|
-
skipped_conflicts: components["schemas"]["
|
|
17335
|
-
deployed_at: components["schemas"]["
|
|
20277
|
+
deployed_count: components["schemas"]["Anon_274ba4ca49d5_17"];
|
|
20278
|
+
superseded_count: components["schemas"]["Anon_274ba4ca49d5_18"];
|
|
20279
|
+
skipped_conflicts: components["schemas"]["Anon_274ba4ca49d5_19"];
|
|
20280
|
+
deployed_at: components["schemas"]["Anon_3c179513a5d9_3"];
|
|
17336
20281
|
};
|
|
17337
20282
|
PlaybookVersionDiff: {
|
|
17338
20283
|
playbook_version_id: components["schemas"]["Anon_127eb78cd9c0_11"];
|
|
17339
20284
|
entries: components["schemas"]["Anon_9d85ce48d708"];
|
|
17340
|
-
total_entries: components["schemas"]["
|
|
17341
|
-
total_conflicts: components["schemas"]["
|
|
17342
|
-
deployable: components["schemas"]["
|
|
20285
|
+
total_entries: components["schemas"]["Anon_274ba4ca49d5_20"];
|
|
20286
|
+
total_conflicts: components["schemas"]["Anon_274ba4ca49d5_21"];
|
|
20287
|
+
deployable: components["schemas"]["Anon_a2b04841bdf1_4"];
|
|
17343
20288
|
};
|
|
17344
20289
|
PlaybookVersionEntrySummary: {
|
|
17345
20290
|
handle: components["schemas"]["Anon_127eb78cd9c0_12"];
|
|
17346
20291
|
resource_type: components["schemas"]["Anon_127eb78cd9c0_13"];
|
|
17347
20292
|
resource_name?: components["schemas"]["Anon_96f9066c2fdc_62"];
|
|
17348
20293
|
action: components["schemas"]["Anon_2dd4ddc8b727"];
|
|
17349
|
-
has_conflict: components["schemas"]["
|
|
20294
|
+
has_conflict: components["schemas"]["Anon_a2b04841bdf1_3"];
|
|
17350
20295
|
};
|
|
17351
20296
|
ApiKey: {
|
|
17352
20297
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
@@ -17377,7 +20322,7 @@ interface components {
|
|
|
17377
20322
|
created_at: components["schemas"]["Anon_be3e2585472d_2"];
|
|
17378
20323
|
updated_at: components["schemas"]["Anon_be3e2585472d_3"];
|
|
17379
20324
|
tenant_id: components["schemas"]["Anon_fb248bf5a9f7_10"];
|
|
17380
|
-
workspace_name: components["schemas"]["
|
|
20325
|
+
workspace_name: components["schemas"]["Anon_872e58432369_5"];
|
|
17381
20326
|
support_email: components["schemas"]["Anon_7dbd1de5e9ee"];
|
|
17382
20327
|
timezone: components["schemas"]["Anon_c44ee03a9c5e"];
|
|
17383
20328
|
default_currency: components["schemas"]["Anon_64586219ef83_1"];
|
|
@@ -17394,9 +20339,9 @@ interface components {
|
|
|
17394
20339
|
tenant_id: components["schemas"]["Anon_fb248bf5a9f7_10"];
|
|
17395
20340
|
server_url: components["schemas"]["Anon_e263ce55cb2f"];
|
|
17396
20341
|
api_token_hint: components["schemas"]["Anon_26f9ae47e188"];
|
|
17397
|
-
allow_write_actions: components["schemas"]["
|
|
20342
|
+
allow_write_actions: components["schemas"]["Anon_062d958a93c4_23"];
|
|
17398
20343
|
enabled_tools: components["schemas"]["Anon_39888a32a8f7"];
|
|
17399
|
-
enabled: components["schemas"]["
|
|
20344
|
+
enabled: components["schemas"]["Anon_062d958a93c4_24"];
|
|
17400
20345
|
};
|
|
17401
20346
|
OnboardingChecklist: {
|
|
17402
20347
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
@@ -17404,8 +20349,8 @@ interface components {
|
|
|
17404
20349
|
updated_at: components["schemas"]["Anon_be3e2585472d_3"];
|
|
17405
20350
|
tenant_id: components["schemas"]["Anon_fb248bf5a9f7_10"];
|
|
17406
20351
|
step_key: components["schemas"]["Anon_3b8fc1cd9e8b_5"];
|
|
17407
|
-
label: components["schemas"]["
|
|
17408
|
-
done: components["schemas"]["
|
|
20352
|
+
label: components["schemas"]["Anon_872e58432369_6"];
|
|
20353
|
+
done: components["schemas"]["Anon_062d958a93c4_25"];
|
|
17409
20354
|
completed_at: components["schemas"]["Anon_24a0ac3f017b_5"];
|
|
17410
20355
|
};
|
|
17411
20356
|
AuditEvent: {
|
|
@@ -17414,7 +20359,7 @@ interface components {
|
|
|
17414
20359
|
environment_id: components["schemas"]["Anon_a2f8ac1ffbf6"];
|
|
17415
20360
|
actor_type: components["schemas"]["Anon_a607427cce0b"];
|
|
17416
20361
|
actor_id: components["schemas"]["Anon_f7fb9744a6e4_30"];
|
|
17417
|
-
action: components["schemas"]["
|
|
20362
|
+
action: components["schemas"]["Anon_cd76cef95ac8_5"];
|
|
17418
20363
|
object_type: components["schemas"]["Anon_c8b3e7377e39"];
|
|
17419
20364
|
object_id: components["schemas"]["Anon_4d8c172ed637"];
|
|
17420
20365
|
payload: components["schemas"]["Anon_9d87a4763d87"];
|
|
@@ -17435,33 +20380,33 @@ interface components {
|
|
|
17435
20380
|
sequence: components["schemas"]["Anon_ffffc3c874cb_1"];
|
|
17436
20381
|
base_sequence: components["schemas"]["Anon_71a2fb329804_1"];
|
|
17437
20382
|
handle: components["schemas"]["Anon_2457cccd64aa_12"];
|
|
17438
|
-
identifier: components["schemas"]["
|
|
20383
|
+
identifier: components["schemas"]["Anon_872e58432369_7"];
|
|
17439
20384
|
identifier_type: components["schemas"]["Anon_b07a1e0dbc7b"];
|
|
17440
20385
|
note: components["schemas"]["Anon_519dcb817ac7"];
|
|
17441
20386
|
added_by: components["schemas"]["Anon_127eb78cd9c0_14"];
|
|
17442
20387
|
};
|
|
17443
20388
|
null: {
|
|
17444
|
-
accepted: components["schemas"]["
|
|
20389
|
+
accepted: components["schemas"]["Anon_274ba4ca49d5_22"];
|
|
17445
20390
|
};
|
|
17446
20391
|
PaginatedResponse: {
|
|
17447
20392
|
items: components["schemas"]["Anon_0b2583b9b222"];
|
|
17448
|
-
total: components["schemas"]["
|
|
17449
|
-
page: components["schemas"]["
|
|
17450
|
-
per_page: components["schemas"]["
|
|
17451
|
-
has_more: components["schemas"]["
|
|
20393
|
+
total: components["schemas"]["Anon_274ba4ca49d5_23"];
|
|
20394
|
+
page: components["schemas"]["Anon_492895348dbd_7"];
|
|
20395
|
+
per_page: components["schemas"]["Anon_492895348dbd_8"];
|
|
20396
|
+
has_more: components["schemas"]["Anon_a2b04841bdf1_5"];
|
|
17452
20397
|
};
|
|
17453
20398
|
IngestedEvent: {
|
|
17454
20399
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
17455
20400
|
event_type: components["schemas"]["Anon_57796118d046_69"];
|
|
17456
20401
|
source: components["schemas"]["Anon_eabbbb727ad3"];
|
|
17457
|
-
tenant_id?: components["schemas"]["
|
|
20402
|
+
tenant_id?: components["schemas"]["Anon_4e04ec5cc4e6_17"];
|
|
17458
20403
|
user_id?: components["schemas"]["Anon_0a729b73253d"];
|
|
17459
20404
|
session_id?: components["schemas"]["Anon_0a729b73253d_1"];
|
|
17460
|
-
occurred_at: components["schemas"]["
|
|
20405
|
+
occurred_at: components["schemas"]["Anon_3c179513a5d9_4"];
|
|
17461
20406
|
request_id: components["schemas"]["Anon_57796118d046_70"];
|
|
17462
20407
|
attributes: components["schemas"]["Anon_5142f8473790_13"];
|
|
17463
20408
|
payload: components["schemas"]["Anon_5142f8473790_14"];
|
|
17464
|
-
ingested_at: components["schemas"]["
|
|
20409
|
+
ingested_at: components["schemas"]["Anon_3c179513a5d9_5"];
|
|
17465
20410
|
};
|
|
17466
20411
|
/** @enum {string} */
|
|
17467
20412
|
EventSource: "clickstream" | "telemetry" | "sdk" | "workflow" | "system";
|
|
@@ -17472,8 +20417,8 @@ interface components {
|
|
|
17472
20417
|
Anon_be3e2585472d_3: string;
|
|
17473
20418
|
Anon_fb248bf5a9f7_10: string;
|
|
17474
20419
|
/** @default production */
|
|
17475
|
-
Anon_51cbbf69cb41_1: components["schemas"]["
|
|
17476
|
-
|
|
20420
|
+
Anon_51cbbf69cb41_1: components["schemas"]["Anon_9ac136edb99a_18"];
|
|
20421
|
+
Anon_9ac136edb99a_18: string;
|
|
17477
20422
|
Anon_2457cccd64aa_1: components["schemas"]["Anon_0eb2e3b6e08c_1"];
|
|
17478
20423
|
Anon_0eb2e3b6e08c_1: string;
|
|
17479
20424
|
/** @default true */
|
|
@@ -17506,8 +20451,8 @@ interface components {
|
|
|
17506
20451
|
Anon_e4ee8e45dcea_1: components["schemas"]["Anon_b0c21ae8f968_3"];
|
|
17507
20452
|
Anon_b0c21ae8f968_3: string | null;
|
|
17508
20453
|
/** @default 1 */
|
|
17509
|
-
Anon_ffffc3c874cb_1: components["schemas"]["
|
|
17510
|
-
|
|
20454
|
+
Anon_ffffc3c874cb_1: components["schemas"]["Anon_ea288f4ef558_9"];
|
|
20455
|
+
Anon_ea288f4ef558_9: number;
|
|
17511
20456
|
/** @default null */
|
|
17512
20457
|
Anon_71a2fb329804_1: components["schemas"]["Anon_86192233f412_1"];
|
|
17513
20458
|
Anon_86192233f412_1: number | null;
|
|
@@ -17636,10 +20581,10 @@ interface components {
|
|
|
17636
20581
|
Anon_97cc9ecfdea9_18: number;
|
|
17637
20582
|
Anon_96f9066c2fdc_37: components["schemas"]["Anon_00404e686415_40"];
|
|
17638
20583
|
Anon_00404e686415_40: string;
|
|
17639
|
-
Anon_9c7f41b09bde_4: components["schemas"]["
|
|
17640
|
-
|
|
17641
|
-
Anon_9c7f41b09bde_5: components["schemas"]["
|
|
17642
|
-
|
|
20584
|
+
Anon_9c7f41b09bde_4: components["schemas"]["Anon_cddf8275afa1_7"];
|
|
20585
|
+
Anon_cddf8275afa1_7: number;
|
|
20586
|
+
Anon_9c7f41b09bde_5: components["schemas"]["Anon_cddf8275afa1_8"];
|
|
20587
|
+
Anon_cddf8275afa1_8: number;
|
|
17643
20588
|
Anon_811366723713_3: components["schemas"]["Anon_4c1d2cc17cf8_3"];
|
|
17644
20589
|
Anon_4c1d2cc17cf8_3: number | "unlimited";
|
|
17645
20590
|
Anon_fb9ddeea992e_6: components["schemas"]["Anon_7cb541e84f22_37"];
|
|
@@ -17882,7 +20827,7 @@ interface components {
|
|
|
17882
20827
|
/** @default [] */
|
|
17883
20828
|
Anon_3b6346b139c2: components["schemas"]["Anon_f836473839d1"];
|
|
17884
20829
|
Anon_f836473839d1: components["schemas"]["FieldDefinitionOutput"][];
|
|
17885
|
-
|
|
20830
|
+
Anon_9ac136edb99a_19: string;
|
|
17886
20831
|
/** @default false */
|
|
17887
20832
|
Anon_f56777819c8b_3: boolean;
|
|
17888
20833
|
Anon_44136fa355b3_1: unknown;
|
|
@@ -17939,10 +20884,10 @@ interface components {
|
|
|
17939
20884
|
/** @default 0 */
|
|
17940
20885
|
Anon_2aa59aec1f23_4: components["schemas"]["Anon_97cc9ecfdea9_26"];
|
|
17941
20886
|
Anon_97cc9ecfdea9_26: number;
|
|
17942
|
-
|
|
17943
|
-
|
|
17944
|
-
|
|
17945
|
-
|
|
20887
|
+
Anon_4e04ec5cc4e6_13: components["schemas"]["Anon_9ac136edb99a_20"];
|
|
20888
|
+
Anon_9ac136edb99a_20: string;
|
|
20889
|
+
Anon_9717c0445e52_3: components["schemas"]["Anon_ea288f4ef558_10"];
|
|
20890
|
+
Anon_ea288f4ef558_10: number;
|
|
17946
20891
|
/** @default false */
|
|
17947
20892
|
Anon_062d958a93c4_6: components["schemas"]["Anon_7cb541e84f22_41"];
|
|
17948
20893
|
Anon_7cb541e84f22_41: boolean;
|
|
@@ -17954,8 +20899,8 @@ interface components {
|
|
|
17954
20899
|
Anon_96f9066c2fdc_55: components["schemas"]["Anon_00404e686415_58"];
|
|
17955
20900
|
Anon_00404e686415_58: string;
|
|
17956
20901
|
/** @default 1 */
|
|
17957
|
-
Anon_d7461958625e_1: components["schemas"]["
|
|
17958
|
-
|
|
20902
|
+
Anon_d7461958625e_1: components["schemas"]["Anon_ea288f4ef558_11"];
|
|
20903
|
+
Anon_ea288f4ef558_11: number;
|
|
17959
20904
|
/** @default true */
|
|
17960
20905
|
Anon_493deecc809a_8: components["schemas"]["Anon_7cb541e84f22_43"];
|
|
17961
20906
|
Anon_7cb541e84f22_43: boolean;
|
|
@@ -17971,10 +20916,10 @@ interface components {
|
|
|
17971
20916
|
Anon_e7cb93d064a8_3: components["schemas"]["TrialLimitType"];
|
|
17972
20917
|
Anon_62c32913f8d0_3: components["schemas"]["Anon_3b260614cba4_3"];
|
|
17973
20918
|
Anon_3b260614cba4_3: number | null;
|
|
17974
|
-
|
|
17975
|
-
|
|
17976
|
-
|
|
17977
|
-
|
|
20919
|
+
Anon_4e04ec5cc4e6_14: components["schemas"]["Anon_9ac136edb99a_21"];
|
|
20920
|
+
Anon_9ac136edb99a_21: string;
|
|
20921
|
+
Anon_9717c0445e52_4: components["schemas"]["Anon_ea288f4ef558_12"];
|
|
20922
|
+
Anon_ea288f4ef558_12: number;
|
|
17978
20923
|
/** @default signup */
|
|
17979
20924
|
Anon_df3d212fc186_1: components["schemas"]["ReverseTrialStartPolicy"];
|
|
17980
20925
|
Anon_7e1e37293611_11: components["schemas"]["Anon_97cc9ecfdea9_27"];
|
|
@@ -18007,10 +20952,10 @@ interface components {
|
|
|
18007
20952
|
Anon_b0c21ae8f968_5: string | null;
|
|
18008
20953
|
/** @default time */
|
|
18009
20954
|
Anon_e7cb93d064a8_4: components["schemas"]["TrialLimitType"];
|
|
18010
|
-
|
|
18011
|
-
|
|
18012
|
-
|
|
18013
|
-
|
|
20955
|
+
Anon_4e04ec5cc4e6_15: components["schemas"]["Anon_9ac136edb99a_22"];
|
|
20956
|
+
Anon_9ac136edb99a_22: string;
|
|
20957
|
+
Anon_9717c0445e52_5: components["schemas"]["Anon_ea288f4ef558_13"];
|
|
20958
|
+
Anon_ea288f4ef558_13: number;
|
|
18014
20959
|
Anon_711dc9708535_9: components["schemas"]["Anon_11c9ad639448_1"];
|
|
18015
20960
|
Anon_711dc9708535_10: components["schemas"]["Anon_11c9ad639448_1"];
|
|
18016
20961
|
Anon_f27cb44c32f6_21: components["schemas"]["Anon_f2d1b3e449b4_1"];
|
|
@@ -18028,7 +20973,7 @@ interface components {
|
|
|
18028
20973
|
Anon_f8dbfffc0ce2_19: components["schemas"]["Anon_681004346c78_22"];
|
|
18029
20974
|
Anon_681004346c78_22: string[];
|
|
18030
20975
|
Anon_544a3bc583b1: components["schemas"]["ExperimentVariantOutput"][];
|
|
18031
|
-
|
|
20976
|
+
Anon_9ac136edb99a_23: string;
|
|
18032
20977
|
/** @default 0.5 */
|
|
18033
20978
|
Anon_7e4345d1e208_1: number;
|
|
18034
20979
|
/** @default false */
|
|
@@ -18039,8 +20984,8 @@ interface components {
|
|
|
18039
20984
|
};
|
|
18040
20985
|
Anon_57796118d046_49: string;
|
|
18041
20986
|
/** @default 0.05 */
|
|
18042
|
-
Anon_f46a509a677a_1: components["schemas"]["
|
|
18043
|
-
|
|
20987
|
+
Anon_f46a509a677a_1: components["schemas"]["Anon_cddf8275afa1_9"];
|
|
20988
|
+
Anon_cddf8275afa1_9: number;
|
|
18044
20989
|
/** @default [] */
|
|
18045
20990
|
Anon_f8dbfffc0ce2_20: components["schemas"]["Anon_681004346c78_23"];
|
|
18046
20991
|
Anon_681004346c78_23: string[];
|
|
@@ -18066,8 +21011,8 @@ interface components {
|
|
|
18066
21011
|
Anon_529174cd85fc: string;
|
|
18067
21012
|
Anon_796ec99afe20_5: components["schemas"]["Anon_333f67ffab65_5"];
|
|
18068
21013
|
Anon_333f67ffab65_5: string;
|
|
18069
|
-
Anon_9c7f41b09bde_6: components["schemas"]["
|
|
18070
|
-
|
|
21014
|
+
Anon_9c7f41b09bde_6: components["schemas"]["Anon_cddf8275afa1_10"];
|
|
21015
|
+
Anon_cddf8275afa1_10: number;
|
|
18071
21016
|
/** @default false */
|
|
18072
21017
|
Anon_062d958a93c4_7: components["schemas"]["Anon_7cb541e84f22_45"];
|
|
18073
21018
|
Anon_7cb541e84f22_45: boolean;
|
|
@@ -18306,8 +21251,8 @@ interface components {
|
|
|
18306
21251
|
/** @enum {string} */
|
|
18307
21252
|
Anon_fc6def941f46_1: "template" | "slot";
|
|
18308
21253
|
Anon_57796118d046_61: string;
|
|
18309
|
-
|
|
18310
|
-
|
|
21254
|
+
Anon_4e04ec5cc4e6_16: components["schemas"]["Anon_9ac136edb99a_24"];
|
|
21255
|
+
Anon_9ac136edb99a_24: string;
|
|
18311
21256
|
Anon_c65e883b4e4a: {
|
|
18312
21257
|
count: components["schemas"]["Anon_492895348dbd_1"];
|
|
18313
21258
|
period: components["schemas"]["Anon_e78ca35ebc33_1"];
|
|
@@ -18434,6 +21379,312 @@ interface components {
|
|
|
18434
21379
|
Anon_f7fb9744a6e4_27: components["schemas"]["Anon_f090cb615c84_44"];
|
|
18435
21380
|
Anon_f090cb615c84_44: string | null;
|
|
18436
21381
|
Anon_f27cb44c32f6_32: components["schemas"]["Anon_f2d1b3e449b4_1"];
|
|
21382
|
+
Anon_0c649f0987df: string;
|
|
21383
|
+
Anon_58595c887e8e: components["schemas"]["AnalyticsCatalogSource"];
|
|
21384
|
+
Anon_e077e17ea982_6: components["schemas"]["Anon_02ecf48bed22_6"];
|
|
21385
|
+
/** Format: date-time */
|
|
21386
|
+
Anon_02ecf48bed22_6: string;
|
|
21387
|
+
Anon_7af4e0f62fe5: components["schemas"]["AnalyticsCatalogConcept"][];
|
|
21388
|
+
Anon_473e554f0735: components["schemas"]["Anon_c8d24748191b"];
|
|
21389
|
+
Anon_c8d24748191b: string;
|
|
21390
|
+
Anon_492895348dbd_2: number;
|
|
21391
|
+
Anon_cd76cef95ac8_1: string;
|
|
21392
|
+
Anon_7e1c99abdd77_5: components["schemas"]["Anon_373775e26848_9"];
|
|
21393
|
+
Anon_373775e26848_9: string;
|
|
21394
|
+
Anon_7e1c99abdd77_6: components["schemas"]["Anon_373775e26848_10"];
|
|
21395
|
+
Anon_373775e26848_10: string;
|
|
21396
|
+
Anon_7e1c99abdd77_7: components["schemas"]["Anon_373775e26848_11"];
|
|
21397
|
+
Anon_373775e26848_11: string;
|
|
21398
|
+
Anon_33727e5081dd: components["schemas"]["Anon_88ba2f37575a"][];
|
|
21399
|
+
Anon_88ba2f37575a: string;
|
|
21400
|
+
Anon_d62061afe78d: components["schemas"]["AnalyticsAnalyticalUnit"][];
|
|
21401
|
+
Anon_473e554f0735_1: components["schemas"]["Anon_c8d24748191b"];
|
|
21402
|
+
Anon_2d080ce873f8: components["schemas"]["AnalyticsHistoricalMode"];
|
|
21403
|
+
Anon_9d858dae66d4: components["schemas"]["Anon_c8d24748191b"][];
|
|
21404
|
+
Anon_9d858dae66d4_1: components["schemas"]["Anon_c8d24748191b"][];
|
|
21405
|
+
Anon_54e2154d1e2d: components["schemas"]["AnalyticsQueryFamily"][];
|
|
21406
|
+
Anon_a3ffad10d15c: components["schemas"]["AnalyticsSourceScope"];
|
|
21407
|
+
Anon_473e554f0735_2: components["schemas"]["Anon_c8d24748191b"];
|
|
21408
|
+
Anon_8f09b448c37f: components["schemas"]["AnalyticsCatalogDeprecation"];
|
|
21409
|
+
Anon_a2b04841bdf1_1: boolean;
|
|
21410
|
+
Anon_473e554f0735_3: components["schemas"]["Anon_c8d24748191b"];
|
|
21411
|
+
Anon_02464e23ff2d: components["schemas"]["AnalyticsCatalogDimension"][];
|
|
21412
|
+
Anon_473e554f0735_4: components["schemas"]["Anon_c8d24748191b"];
|
|
21413
|
+
Anon_cd76cef95ac8_2: string;
|
|
21414
|
+
Anon_7e1c99abdd77_8: components["schemas"]["Anon_373775e26848_12"];
|
|
21415
|
+
Anon_373775e26848_12: string;
|
|
21416
|
+
Anon_7e1c99abdd77_9: components["schemas"]["Anon_373775e26848_13"];
|
|
21417
|
+
Anon_373775e26848_13: string;
|
|
21418
|
+
Anon_7e1c99abdd77_10: components["schemas"]["Anon_373775e26848_14"];
|
|
21419
|
+
Anon_373775e26848_14: string;
|
|
21420
|
+
Anon_8cca1c007123: components["schemas"]["AnalyticsDimensionType"];
|
|
21421
|
+
Anon_ee64da9ff212: components["schemas"]["AnalyticsFilterOperator"][];
|
|
21422
|
+
Anon_1461c1108c5a: components["schemas"]["AnalyticsFilterControl"];
|
|
21423
|
+
Anon_9608bbcc8c3c: components["schemas"]["AnalyticsDimensionCapability"][];
|
|
21424
|
+
Anon_60ea4f2fb8ec: components["schemas"]["AnalyticsCardinalityClass"];
|
|
21425
|
+
/** @default unrestricted */
|
|
21426
|
+
Anon_d2d465584350: components["schemas"]["AnalyticsClassification"];
|
|
21427
|
+
Anon_2d080ce873f8_1: components["schemas"]["AnalyticsHistoricalMode"];
|
|
21428
|
+
Anon_7587b25862b7: components["schemas"]["Anon_9ae2c7f4489d"];
|
|
21429
|
+
Anon_9ae2c7f4489d: components["schemas"]["Anon_c8d24748191b"][];
|
|
21430
|
+
/** @default false */
|
|
21431
|
+
Anon_062d958a93c4_18: components["schemas"]["Anon_7cb541e84f22_66"];
|
|
21432
|
+
Anon_7cb541e84f22_66: boolean;
|
|
21433
|
+
Anon_8f09b448c37f_1: components["schemas"]["AnalyticsCatalogDeprecation"];
|
|
21434
|
+
Anon_3f6610e7064e: components["schemas"]["AnalyticsCatalogMetric"][];
|
|
21435
|
+
Anon_473e554f0735_5: components["schemas"]["Anon_c8d24748191b"];
|
|
21436
|
+
Anon_cd76cef95ac8_3: string;
|
|
21437
|
+
Anon_7e1c99abdd77_11: components["schemas"]["Anon_373775e26848_15"];
|
|
21438
|
+
Anon_373775e26848_15: string;
|
|
21439
|
+
Anon_7e1c99abdd77_12: components["schemas"]["Anon_373775e26848_16"];
|
|
21440
|
+
Anon_373775e26848_16: string;
|
|
21441
|
+
Anon_7e1c99abdd77_13: components["schemas"]["Anon_373775e26848_17"];
|
|
21442
|
+
Anon_373775e26848_17: string;
|
|
21443
|
+
Anon_65ce7e0d8aee: components["schemas"]["AnalyticsFieldType"];
|
|
21444
|
+
Anon_7a61cd1caede: components["schemas"]["AnalyticsFormatSpec"];
|
|
21445
|
+
/** @enum {string} */
|
|
21446
|
+
Anon_94839c0509bd: "number" | "currency" | "percent" | "duration";
|
|
21447
|
+
Anon_c896ad2c01f0: components["schemas"]["Anon_9137e04166d3"];
|
|
21448
|
+
Anon_9137e04166d3: number;
|
|
21449
|
+
Anon_fb9ddeea992e_8: components["schemas"]["Anon_7cb541e84f22_67"];
|
|
21450
|
+
Anon_7cb541e84f22_67: boolean;
|
|
21451
|
+
Anon_a3ffad10d15c_1: components["schemas"]["AnalyticsSourceScope"];
|
|
21452
|
+
Anon_8f09b448c37f_2: components["schemas"]["AnalyticsCatalogDeprecation"];
|
|
21453
|
+
Anon_0c649f0987df_1: string;
|
|
21454
|
+
Anon_872e58432369_4: string;
|
|
21455
|
+
Anon_57df4039d087: components["schemas"]["AnalyticsAgentCatalogEntry"][];
|
|
21456
|
+
Anon_939d50f1543a: components["schemas"]["AnalyticsSemanticId"];
|
|
21457
|
+
Anon_33085dabcc5b: components["schemas"]["AnalyticsAgentCatalogEntryKind"];
|
|
21458
|
+
Anon_cd76cef95ac8_4: string;
|
|
21459
|
+
Anon_439566ae782f: string;
|
|
21460
|
+
Anon_7e1c99abdd77_14: components["schemas"]["Anon_373775e26848_18"];
|
|
21461
|
+
Anon_373775e26848_18: string;
|
|
21462
|
+
Anon_7e1c99abdd77_15: components["schemas"]["Anon_373775e26848_19"];
|
|
21463
|
+
Anon_373775e26848_19: string;
|
|
21464
|
+
Anon_65ce7e0d8aee_1: components["schemas"]["AnalyticsFieldType"];
|
|
21465
|
+
Anon_7a61cd1caede_1: components["schemas"]["AnalyticsFormatSpec"];
|
|
21466
|
+
Anon_7706669f91c3: components["schemas"]["Anon_65220c6dfe96"];
|
|
21467
|
+
Anon_65220c6dfe96: components["schemas"]["AnalyticsDimensionCapability"][];
|
|
21468
|
+
Anon_1617b0c336e0: components["schemas"]["Anon_9cffa22a7102"];
|
|
21469
|
+
Anon_9cffa22a7102: components["schemas"]["AnalyticsSemanticId"][];
|
|
21470
|
+
Anon_0333fee54353: components["schemas"]["Anon_18f2c37a1cce"];
|
|
21471
|
+
Anon_18f2c37a1cce: components["schemas"]["AnalyticsQueryFamily"][];
|
|
21472
|
+
Anon_f4eb50803f77: components["schemas"]["Anon_34924af8d452"];
|
|
21473
|
+
Anon_34924af8d452: components["schemas"]["AnalyticsAnalyticalUnit"][];
|
|
21474
|
+
Anon_a3ffad10d15c_2: components["schemas"]["AnalyticsSourceScope"];
|
|
21475
|
+
Anon_e648d024ff54: components["schemas"]["Anon_60f70effff39"];
|
|
21476
|
+
Anon_60f70effff39: string;
|
|
21477
|
+
Anon_8f09b448c37f_3: components["schemas"]["AnalyticsCatalogDeprecation"];
|
|
21478
|
+
Anon_a42d262cd3ca_2: components["schemas"]["Anon_2b5910d5b25b_1"];
|
|
21479
|
+
Anon_2b5910d5b25b_1: string;
|
|
21480
|
+
Anon_492895348dbd_3: number;
|
|
21481
|
+
Anon_08bc067910e8: components["schemas"]["LocalizedText"];
|
|
21482
|
+
Anon_f7f3658e6095_2: string;
|
|
21483
|
+
Anon_1a96b72f6169: components["schemas"]["Anon_d6e25d5c4e0e"];
|
|
21484
|
+
Anon_d6e25d5c4e0e: string;
|
|
21485
|
+
Anon_08bc067910e8_1: components["schemas"]["LocalizedText"];
|
|
21486
|
+
Anon_492895348dbd_4: number;
|
|
21487
|
+
/** @constant */
|
|
21488
|
+
Anon_983865dbfb22: "revturbine.analytics-view";
|
|
21489
|
+
Anon_539fcc6d91b0: string;
|
|
21490
|
+
Anon_a42d262cd3ca_3: components["schemas"]["Anon_2b5910d5b25b_2"];
|
|
21491
|
+
Anon_2b5910d5b25b_2: string;
|
|
21492
|
+
Anon_492895348dbd_5: number;
|
|
21493
|
+
Anon_08bc067910e8_2: components["schemas"]["LocalizedText"];
|
|
21494
|
+
Anon_08bc067910e8_3: components["schemas"]["LocalizedText"];
|
|
21495
|
+
Anon_612059bf001c: components["schemas"]["AnalyticsAnalyticalUnit"];
|
|
21496
|
+
Anon_42ca9dcfc804: components["schemas"]["Anon_05b3b35d7734"];
|
|
21497
|
+
Anon_05b3b35d7734: {
|
|
21498
|
+
id: components["schemas"]["Anon_2b5910d5b25b_2"];
|
|
21499
|
+
version: number;
|
|
21500
|
+
};
|
|
21501
|
+
Anon_0c649f0987df_2: string;
|
|
21502
|
+
Anon_f5bc4b9c7cf3: components["schemas"]["AnalyticsViewFilter"][];
|
|
21503
|
+
Anon_a42d262cd3ca_4: components["schemas"]["Anon_2b5910d5b25b_2"];
|
|
21504
|
+
Anon_473e554f0735_6: components["schemas"]["Anon_c8d24748191b"];
|
|
21505
|
+
Anon_1461c1108c5a_1: components["schemas"]["AnalyticsFilterControl"];
|
|
21506
|
+
Anon_08bc067910e8_4: components["schemas"]["LocalizedText"];
|
|
21507
|
+
Anon_ee64da9ff212_1: components["schemas"]["AnalyticsFilterOperator"][];
|
|
21508
|
+
Anon_972936582d54: components["schemas"]["AnalyticsFilterValueOutput"];
|
|
21509
|
+
Anon_db3039b96a51_1: string | number | boolean | null;
|
|
21510
|
+
Anon_32ef433f4ee4_1: components["schemas"]["Anon_db3039b96a51_1"][];
|
|
21511
|
+
Anon_be2e8aabfc2e_1: {
|
|
21512
|
+
preset: string;
|
|
21513
|
+
compare?: components["schemas"]["AnalyticsCompareMode"];
|
|
21514
|
+
};
|
|
21515
|
+
Anon_6dcff20eb273_1: {
|
|
21516
|
+
min?: components["schemas"]["Anon_cddf8275afa1_11"];
|
|
21517
|
+
max?: components["schemas"]["Anon_cddf8275afa1_12"];
|
|
21518
|
+
};
|
|
21519
|
+
Anon_cddf8275afa1_11: number;
|
|
21520
|
+
Anon_cddf8275afa1_12: number;
|
|
21521
|
+
/** @default false */
|
|
21522
|
+
Anon_062d958a93c4_19: components["schemas"]["Anon_7cb541e84f22_68"];
|
|
21523
|
+
Anon_7cb541e84f22_68: boolean;
|
|
21524
|
+
/** @default false */
|
|
21525
|
+
Anon_062d958a93c4_20: components["schemas"]["Anon_7cb541e84f22_69"];
|
|
21526
|
+
Anon_7cb541e84f22_69: boolean;
|
|
21527
|
+
/** @default all */
|
|
21528
|
+
Anon_e4e72df2ab85: components["schemas"]["Anon_058312df93ef"];
|
|
21529
|
+
Anon_058312df93ef: "all" | components["schemas"]["Anon_2b5910d5b25b_2"][];
|
|
21530
|
+
Anon_a99ad7aecf25: components["schemas"]["AnalyticsViewLayout"];
|
|
21531
|
+
/** @constant */
|
|
21532
|
+
Anon_322aa249f2e5: "grid";
|
|
21533
|
+
/** @default 12 */
|
|
21534
|
+
Anon_724e5097e193: components["schemas"]["Anon_a774bc6df013"];
|
|
21535
|
+
Anon_a774bc6df013: number;
|
|
21536
|
+
Anon_1413a3a717f4: components["schemas"]["Anon_d2fe6b60c505"][];
|
|
21537
|
+
Anon_d2fe6b60c505: {
|
|
21538
|
+
block_id: components["schemas"]["Anon_2b5910d5b25b_2"];
|
|
21539
|
+
x: number;
|
|
21540
|
+
y: number;
|
|
21541
|
+
w: number;
|
|
21542
|
+
h: number;
|
|
21543
|
+
};
|
|
21544
|
+
Anon_1045ab243378: components["schemas"]["AnalyticsViewBlock"][];
|
|
21545
|
+
Anon_a42d262cd3ca_5: components["schemas"]["Anon_2b5910d5b25b_2"];
|
|
21546
|
+
Anon_08bc067910e8_5: components["schemas"]["LocalizedText"];
|
|
21547
|
+
Anon_08bc067910e8_6: components["schemas"]["LocalizedText"];
|
|
21548
|
+
Anon_e9ffed65fc4f: components["schemas"]["AnalyticsViewQuery"];
|
|
21549
|
+
Anon_473e554f0735_7: components["schemas"]["Anon_c8d24748191b"];
|
|
21550
|
+
Anon_a9324c0abdd2: components["schemas"]["AnalyticsQueryFamily"];
|
|
21551
|
+
Anon_515e808fd802: components["schemas"]["Anon_c8d24748191b"][];
|
|
21552
|
+
Anon_36fc42275aaf: components["schemas"]["Anon_586f6421b33a"];
|
|
21553
|
+
Anon_586f6421b33a: components["schemas"]["Anon_c8d24748191b"][];
|
|
21554
|
+
Anon_ad21ab4a74dd: components["schemas"]["Anon_8a21984bbb3e"];
|
|
21555
|
+
Anon_8a21984bbb3e: {
|
|
21556
|
+
dimension: components["schemas"]["Anon_c8d24748191b"];
|
|
21557
|
+
grain: components["schemas"]["AnalyticsTimeGrain"];
|
|
21558
|
+
};
|
|
21559
|
+
Anon_f02dd988a13b: components["schemas"]["Anon_4bef69eb6f78"];
|
|
21560
|
+
Anon_4bef69eb6f78: components["schemas"]["Anon_2b5910d5b25b_2"][];
|
|
21561
|
+
Anon_6529c678041a: components["schemas"]["Anon_8833dcf1530e"];
|
|
21562
|
+
Anon_8833dcf1530e: components["schemas"]["AnalyticsSemanticFilter"][];
|
|
21563
|
+
Anon_473e554f0735_8: components["schemas"]["Anon_c8d24748191b"];
|
|
21564
|
+
Anon_307923732876: components["schemas"]["AnalyticsFilterOperator"];
|
|
21565
|
+
Anon_972936582d54_1: components["schemas"]["AnalyticsFilterValueOutput"];
|
|
21566
|
+
Anon_7e61734f9a3b: components["schemas"]["AnalyticsCompareMode"];
|
|
21567
|
+
Anon_c5fac1b8ce6b: components["schemas"]["Anon_66c6cd6633e7"];
|
|
21568
|
+
Anon_66c6cd6633e7: components["schemas"]["Anon_cbba085bfa40"][];
|
|
21569
|
+
Anon_cbba085bfa40: {
|
|
21570
|
+
field: components["schemas"]["Anon_c8d24748191b"];
|
|
21571
|
+
/** @enum {string} */
|
|
21572
|
+
direction: "asc" | "desc";
|
|
21573
|
+
};
|
|
21574
|
+
Anon_82d63766c7f3: components["schemas"]["Anon_90f9bb36165b"];
|
|
21575
|
+
Anon_90f9bb36165b: number;
|
|
21576
|
+
Anon_93132f30dbdc: components["schemas"]["AnalyticsRenderSpec"];
|
|
21577
|
+
/** @constant */
|
|
21578
|
+
Anon_8fb827c920bd: "metric";
|
|
21579
|
+
Anon_473e554f0735_9: components["schemas"]["Anon_c8d24748191b"];
|
|
21580
|
+
Anon_473e554f0735_10: components["schemas"]["Anon_c8d24748191b"];
|
|
21581
|
+
Anon_7a61cd1caede_2: components["schemas"]["AnalyticsFormatSpec"];
|
|
21582
|
+
/** @constant */
|
|
21583
|
+
Anon_6a0a611546eb: "cartesian";
|
|
21584
|
+
/** @enum {string} */
|
|
21585
|
+
Anon_4596ecf7ed9b: "line" | "area" | "bar" | "stacked_bar" | "scatter";
|
|
21586
|
+
Anon_23f8fbab2ab7: {
|
|
21587
|
+
x: components["schemas"]["Anon_473e554f0735_11"];
|
|
21588
|
+
y: components["schemas"]["Anon_d1dc6392d0ad"];
|
|
21589
|
+
color?: components["schemas"]["Anon_473e554f0735_12"];
|
|
21590
|
+
facet?: components["schemas"]["Anon_473e554f0735_13"];
|
|
21591
|
+
};
|
|
21592
|
+
Anon_473e554f0735_11: components["schemas"]["Anon_c8d24748191b"];
|
|
21593
|
+
Anon_d1dc6392d0ad: components["schemas"]["Anon_c8d24748191b"] | components["schemas"]["Anon_df2d03245c9c"];
|
|
21594
|
+
Anon_df2d03245c9c: components["schemas"]["Anon_c8d24748191b"][];
|
|
21595
|
+
Anon_473e554f0735_12: components["schemas"]["Anon_c8d24748191b"];
|
|
21596
|
+
Anon_473e554f0735_13: components["schemas"]["Anon_c8d24748191b"];
|
|
21597
|
+
Anon_bb36a31f18a0: components["schemas"]["AnalyticsSafeChartOptions"];
|
|
21598
|
+
Anon_62bb63262a64: components["schemas"]["Anon_c38ae879d781"];
|
|
21599
|
+
/** @enum {string} */
|
|
21600
|
+
Anon_c38ae879d781: "none" | "top" | "right" | "bottom" | "left";
|
|
21601
|
+
Anon_fb9ddeea992e_9: components["schemas"]["Anon_7cb541e84f22_70"];
|
|
21602
|
+
Anon_7cb541e84f22_70: boolean;
|
|
21603
|
+
Anon_a80e45915805: components["schemas"]["Anon_b1a8074d3e23"];
|
|
21604
|
+
Anon_b1a8074d3e23: components["schemas"]["Anon_ce3b9de28720"][];
|
|
21605
|
+
Anon_ce3b9de28720: {
|
|
21606
|
+
value: number;
|
|
21607
|
+
label?: components["schemas"]["LocalizedText"];
|
|
21608
|
+
};
|
|
21609
|
+
Anon_7a61cd1caede_3: components["schemas"]["AnalyticsFormatSpec"];
|
|
21610
|
+
Anon_7a61cd1caede_4: components["schemas"]["AnalyticsFormatSpec"];
|
|
21611
|
+
Anon_454ddba6bb69: components["schemas"]["Anon_2bb3e16615e3"];
|
|
21612
|
+
/** @enum {string} */
|
|
21613
|
+
Anon_2bb3e16615e3: "blank" | "message";
|
|
21614
|
+
/** @constant */
|
|
21615
|
+
Anon_4ad47adc46d9: "funnel";
|
|
21616
|
+
Anon_5142ac15e995: components["schemas"]["Anon_c8d24748191b"][];
|
|
21617
|
+
Anon_473e554f0735_14: components["schemas"]["Anon_c8d24748191b"];
|
|
21618
|
+
/** @constant */
|
|
21619
|
+
Anon_51f96765fc39: "table";
|
|
21620
|
+
Anon_57f1cc33beca: components["schemas"]["Anon_c8d24748191b"][];
|
|
21621
|
+
/** @constant */
|
|
21622
|
+
Anon_e86dab68695b: "timeline";
|
|
21623
|
+
Anon_473e554f0735_15: components["schemas"]["Anon_c8d24748191b"];
|
|
21624
|
+
Anon_473e554f0735_16: components["schemas"]["Anon_c8d24748191b"];
|
|
21625
|
+
/** @constant */
|
|
21626
|
+
Anon_7a9a47851ff5: "recommendations";
|
|
21627
|
+
/** @enum {string} */
|
|
21628
|
+
Anon_1a1a436f6c9f: "list" | "ranked_cards";
|
|
21629
|
+
Anon_085d58b82580: components["schemas"]["Anon_04c4cd8be94e"];
|
|
21630
|
+
Anon_04c4cd8be94e: components["schemas"]["AnalyticsViewHandoff"][];
|
|
21631
|
+
Anon_a42d262cd3ca_6: components["schemas"]["Anon_2b5910d5b25b_2"];
|
|
21632
|
+
Anon_08bc067910e8_7: components["schemas"]["LocalizedText"];
|
|
21633
|
+
Anon_473e554f0735_17: components["schemas"]["Anon_c8d24748191b"];
|
|
21634
|
+
/** @default {} */
|
|
21635
|
+
Anon_14b6bcad70d8: components["schemas"]["Anon_b44800f4a886"];
|
|
21636
|
+
Anon_b44800f4a886: {
|
|
21637
|
+
[key: string]: string;
|
|
21638
|
+
};
|
|
21639
|
+
Anon_69cb1378719c: components["schemas"]["AnalyticsCustomizationPolicy"];
|
|
21640
|
+
/** @default [] */
|
|
21641
|
+
Anon_0c549228e81e: components["schemas"]["Anon_e53090f139b7"];
|
|
21642
|
+
Anon_e53090f139b7: components["schemas"]["AnalyticsCustomizationCapability"][];
|
|
21643
|
+
/** @default [] */
|
|
21644
|
+
Anon_0c549228e81e_1: components["schemas"]["Anon_e53090f139b7_1"];
|
|
21645
|
+
Anon_e53090f139b7_1: components["schemas"]["AnalyticsCustomizationCapability"][];
|
|
21646
|
+
Anon_a42d262cd3ca_7: components["schemas"]["Anon_2b5910d5b25b_1"];
|
|
21647
|
+
Anon_492895348dbd_6: number;
|
|
21648
|
+
Anon_0c649f0987df_3: string;
|
|
21649
|
+
Anon_d1ee5d662ae8: components["schemas"]["AnalyticsBlockResult"][];
|
|
21650
|
+
Anon_a42d262cd3ca_8: components["schemas"]["Anon_2b5910d5b25b_1"];
|
|
21651
|
+
Anon_56fff7881fad: components["schemas"]["AnalyticsResult"];
|
|
21652
|
+
Anon_9835348a971c: components["schemas"]["Anon_c65c1fbd5acf_20"][];
|
|
21653
|
+
Anon_c65c1fbd5acf_20: {
|
|
21654
|
+
[key: string]: unknown;
|
|
21655
|
+
};
|
|
21656
|
+
Anon_0bd5ae84ded2: components["schemas"]["AnalyticsResultField"][];
|
|
21657
|
+
Anon_473e554f0735_18: components["schemas"]["Anon_c8d24748191b"];
|
|
21658
|
+
Anon_65ce7e0d8aee_2: components["schemas"]["AnalyticsFieldType"];
|
|
21659
|
+
Anon_a2b04841bdf1_2: boolean;
|
|
21660
|
+
Anon_de5c7379be05: components["schemas"]["AnalyticsResultMeta"];
|
|
21661
|
+
Anon_4e975b8486b2: string;
|
|
21662
|
+
Anon_473e554f0735_19: components["schemas"]["Anon_c8d24748191b"];
|
|
21663
|
+
Anon_612059bf001c_1: components["schemas"]["AnalyticsAnalyticalUnit"];
|
|
21664
|
+
Anon_a3ffad10d15c_3: components["schemas"]["AnalyticsSourceScope"];
|
|
21665
|
+
Anon_46875cb51ec3: components["schemas"]["AnalyticsCoverage"];
|
|
21666
|
+
Anon_274ba4ca49d5_14: number;
|
|
21667
|
+
Anon_274ba4ca49d5_15: number;
|
|
21668
|
+
Anon_2b7ce0f730b2_3: number;
|
|
21669
|
+
/** Format: date-time */
|
|
21670
|
+
Anon_3c179513a5d9_2: string;
|
|
21671
|
+
Anon_274ba4ca49d5_16: number;
|
|
21672
|
+
/** @default [] */
|
|
21673
|
+
Anon_0d4ef59d2c98: components["schemas"]["Anon_6ea935a5b555"];
|
|
21674
|
+
Anon_6ea935a5b555: components["schemas"]["AnalyticsSemanticFilter"][];
|
|
21675
|
+
Anon_7e1c99abdd77_16: components["schemas"]["Anon_373775e26848_20"];
|
|
21676
|
+
Anon_373775e26848_20: string;
|
|
21677
|
+
/** @default [] */
|
|
21678
|
+
Anon_3e88c47d5b52: components["schemas"]["Anon_59f19a592cf7"];
|
|
21679
|
+
Anon_59f19a592cf7: components["schemas"]["AnalyticsWarning"][];
|
|
21680
|
+
Anon_52d01828671f: string;
|
|
21681
|
+
Anon_439566ae782f_1: string;
|
|
21682
|
+
/** @default [] */
|
|
21683
|
+
Anon_d9d8133c6dc1: components["schemas"]["Anon_a04fa2038c3e"];
|
|
21684
|
+
Anon_a04fa2038c3e: components["schemas"]["AnalyticsBlockError"][];
|
|
21685
|
+
Anon_a42d262cd3ca_9: components["schemas"]["Anon_2b5910d5b25b_1"];
|
|
21686
|
+
Anon_52d01828671f_1: string;
|
|
21687
|
+
Anon_439566ae782f_2: string;
|
|
18437
21688
|
Anon_4c26b3baab05_27: components["schemas"]["Anon_52ba84a4bbf3_1"];
|
|
18438
21689
|
Anon_af12d548dbee_29: components["schemas"]["Anon_0eb2e3b6e08c_1"];
|
|
18439
21690
|
/** @default active */
|
|
@@ -18443,8 +21694,8 @@ interface components {
|
|
|
18443
21694
|
Anon_af12d548dbee_30: components["schemas"]["Anon_0eb2e3b6e08c_1"];
|
|
18444
21695
|
Anon_ee9224780226_8: components["schemas"]["Anon_853cc883e392_1"];
|
|
18445
21696
|
/** @default false */
|
|
18446
|
-
Anon_4dc549443053_7: components["schemas"]["
|
|
18447
|
-
|
|
21697
|
+
Anon_4dc549443053_7: components["schemas"]["Anon_7cb541e84f22_71"];
|
|
21698
|
+
Anon_7cb541e84f22_71: boolean;
|
|
18448
21699
|
/** @default active */
|
|
18449
21700
|
Anon_0dd6689843fe: components["schemas"]["EnvironmentStatus"];
|
|
18450
21701
|
/** @default null */
|
|
@@ -18455,18 +21706,18 @@ interface components {
|
|
|
18455
21706
|
Anon_f11abbefcf83: components["schemas"]["Anon_c648138a0918_10"];
|
|
18456
21707
|
Anon_c648138a0918_10: number | null;
|
|
18457
21708
|
/** @default false */
|
|
18458
|
-
|
|
18459
|
-
|
|
21709
|
+
Anon_062d958a93c4_21: components["schemas"]["Anon_7cb541e84f22_72"];
|
|
21710
|
+
Anon_7cb541e84f22_72: boolean;
|
|
18460
21711
|
/** @default false */
|
|
18461
|
-
|
|
18462
|
-
|
|
21712
|
+
Anon_062d958a93c4_22: components["schemas"]["Anon_7cb541e84f22_73"];
|
|
21713
|
+
Anon_7cb541e84f22_73: boolean;
|
|
18463
21714
|
Anon_96f9066c2fdc_61: components["schemas"]["Anon_00404e686415_65"];
|
|
18464
21715
|
Anon_00404e686415_65: string;
|
|
18465
21716
|
Anon_f27cb44c32f6_34: components["schemas"]["Anon_f2d1b3e449b4_1"];
|
|
18466
21717
|
Anon_57796118d046_67: string;
|
|
18467
21718
|
Anon_4c26b3baab05_29: components["schemas"]["Anon_52ba84a4bbf3_1"];
|
|
18468
|
-
|
|
18469
|
-
|
|
21719
|
+
Anon_e648d024ff54_1: components["schemas"]["Anon_60f70effff39_1"];
|
|
21720
|
+
Anon_60f70effff39_1: string;
|
|
18470
21721
|
/** @default draft */
|
|
18471
21722
|
Anon_d7211f687316: components["schemas"]["PlaybookVersionStatus"];
|
|
18472
21723
|
/** @default [] */
|
|
@@ -18500,10 +21751,10 @@ interface components {
|
|
|
18500
21751
|
/** @default null */
|
|
18501
21752
|
Anon_f7fb9744a6e4_29: components["schemas"]["Anon_f090cb615c84_50"];
|
|
18502
21753
|
Anon_f090cb615c84_50: string | null;
|
|
18503
|
-
Anon_e648d024ff54_1: components["schemas"]["Anon_60f70effff39_1"];
|
|
18504
|
-
Anon_60f70effff39_1: string;
|
|
18505
21754
|
Anon_e648d024ff54_2: components["schemas"]["Anon_60f70effff39_2"];
|
|
18506
21755
|
Anon_60f70effff39_2: string;
|
|
21756
|
+
Anon_e648d024ff54_3: components["schemas"]["Anon_60f70effff39_3"];
|
|
21757
|
+
Anon_60f70effff39_3: string;
|
|
18507
21758
|
/** @default null */
|
|
18508
21759
|
Anon_24c687f9b9af: components["schemas"]["Anon_d813d660e2eb"];
|
|
18509
21760
|
Anon_d813d660e2eb: {
|
|
@@ -18514,11 +21765,11 @@ interface components {
|
|
|
18514
21765
|
Anon_f090cb615c84_51: string | null;
|
|
18515
21766
|
Anon_f27cb44c32f6_35: components["schemas"]["Anon_f2d1b3e449b4_1"];
|
|
18516
21767
|
Anon_127eb78cd9c0_10: string;
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
|
|
21768
|
+
Anon_274ba4ca49d5_17: number;
|
|
21769
|
+
Anon_274ba4ca49d5_18: number;
|
|
21770
|
+
Anon_274ba4ca49d5_19: number;
|
|
18520
21771
|
/** Format: date-time */
|
|
18521
|
-
|
|
21772
|
+
Anon_3c179513a5d9_3: string;
|
|
18522
21773
|
Anon_127eb78cd9c0_11: string;
|
|
18523
21774
|
Anon_9d85ce48d708: components["schemas"]["PlaybookVersionEntrySummary"][];
|
|
18524
21775
|
Anon_127eb78cd9c0_12: string;
|
|
@@ -18527,10 +21778,10 @@ interface components {
|
|
|
18527
21778
|
Anon_00404e686415_66: string;
|
|
18528
21779
|
/** @enum {string} */
|
|
18529
21780
|
Anon_2dd4ddc8b727: "create" | "update" | "delete";
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
|
|
18533
|
-
|
|
21781
|
+
Anon_a2b04841bdf1_3: boolean;
|
|
21782
|
+
Anon_274ba4ca49d5_20: number;
|
|
21783
|
+
Anon_274ba4ca49d5_21: number;
|
|
21784
|
+
Anon_a2b04841bdf1_4: boolean;
|
|
18534
21785
|
Anon_4c26b3baab05_30: components["schemas"]["Anon_52ba84a4bbf3_1"];
|
|
18535
21786
|
Anon_9f5eba431f05: string;
|
|
18536
21787
|
Anon_1e785866125e: string;
|
|
@@ -18547,9 +21798,9 @@ interface components {
|
|
|
18547
21798
|
Anon_1c33d69dbfa9_1: string;
|
|
18548
21799
|
Anon_ee9224780226_9: components["schemas"]["Anon_853cc883e392_1"];
|
|
18549
21800
|
/** @default true */
|
|
18550
|
-
Anon_493deecc809a_15: components["schemas"]["
|
|
18551
|
-
|
|
18552
|
-
|
|
21801
|
+
Anon_493deecc809a_15: components["schemas"]["Anon_7cb541e84f22_74"];
|
|
21802
|
+
Anon_7cb541e84f22_74: boolean;
|
|
21803
|
+
Anon_872e58432369_5: string;
|
|
18553
21804
|
/** @default null */
|
|
18554
21805
|
Anon_7dbd1de5e9ee: components["schemas"]["Anon_39a43881005e_2"];
|
|
18555
21806
|
Anon_39a43881005e_2: string | null;
|
|
@@ -18563,45 +21814,45 @@ interface components {
|
|
|
18563
21814
|
Anon_4ea2be32d6f6: components["schemas"]["Anon_0401cc56cccf_1"];
|
|
18564
21815
|
Anon_0401cc56cccf_1: string | null;
|
|
18565
21816
|
/** @default 30 */
|
|
18566
|
-
Anon_cc13e27bffac: components["schemas"]["
|
|
18567
|
-
Anon_ea288f4ef558_13: number;
|
|
18568
|
-
/** @default 10 */
|
|
18569
|
-
Anon_22f56f3bbe54: components["schemas"]["Anon_ea288f4ef558_14"];
|
|
21817
|
+
Anon_cc13e27bffac: components["schemas"]["Anon_ea288f4ef558_14"];
|
|
18570
21818
|
Anon_ea288f4ef558_14: number;
|
|
18571
|
-
/** @default
|
|
18572
|
-
|
|
21819
|
+
/** @default 10 */
|
|
21820
|
+
Anon_22f56f3bbe54: components["schemas"]["Anon_ea288f4ef558_15"];
|
|
18573
21821
|
Anon_ea288f4ef558_15: number;
|
|
18574
|
-
/** @default
|
|
18575
|
-
|
|
21822
|
+
/** @default 3 */
|
|
21823
|
+
Anon_e569072f1780: components["schemas"]["Anon_ea288f4ef558_16"];
|
|
18576
21824
|
Anon_ea288f4ef558_16: number;
|
|
21825
|
+
/** @default 1 */
|
|
21826
|
+
Anon_d7461958625e_2: components["schemas"]["Anon_ea288f4ef558_17"];
|
|
21827
|
+
Anon_ea288f4ef558_17: number;
|
|
18577
21828
|
/** Format: uri */
|
|
18578
21829
|
Anon_e263ce55cb2f: string;
|
|
18579
21830
|
/** @default null */
|
|
18580
21831
|
Anon_26f9ae47e188: components["schemas"]["Anon_f5f914e20719_1"];
|
|
18581
21832
|
Anon_f5f914e20719_1: string | null;
|
|
18582
21833
|
/** @default false */
|
|
18583
|
-
|
|
18584
|
-
|
|
21834
|
+
Anon_062d958a93c4_23: components["schemas"]["Anon_7cb541e84f22_75"];
|
|
21835
|
+
Anon_7cb541e84f22_75: boolean;
|
|
18585
21836
|
/** @default [] */
|
|
18586
21837
|
Anon_39888a32a8f7: components["schemas"]["Anon_7618621a871f_1"];
|
|
18587
21838
|
Anon_7618621a871f_1: string[];
|
|
18588
21839
|
/** @default false */
|
|
18589
|
-
|
|
18590
|
-
|
|
21840
|
+
Anon_062d958a93c4_24: components["schemas"]["Anon_7cb541e84f22_76"];
|
|
21841
|
+
Anon_7cb541e84f22_76: boolean;
|
|
18591
21842
|
Anon_3b8fc1cd9e8b_5: string;
|
|
18592
|
-
|
|
21843
|
+
Anon_872e58432369_6: string;
|
|
18593
21844
|
/** @default false */
|
|
18594
|
-
|
|
18595
|
-
|
|
21845
|
+
Anon_062d958a93c4_25: components["schemas"]["Anon_7cb541e84f22_77"];
|
|
21846
|
+
Anon_7cb541e84f22_77: boolean;
|
|
18596
21847
|
Anon_24a0ac3f017b_5: components["schemas"]["Anon_11c9ad639448_1"];
|
|
18597
21848
|
/** @default production */
|
|
18598
|
-
Anon_a2f8ac1ffbf6: components["schemas"]["
|
|
18599
|
-
|
|
21849
|
+
Anon_a2f8ac1ffbf6: components["schemas"]["Anon_9ac136edb99a_25"];
|
|
21850
|
+
Anon_9ac136edb99a_25: string;
|
|
18600
21851
|
Anon_a607427cce0b: components["schemas"]["AuditActorType"];
|
|
18601
21852
|
/** @default null */
|
|
18602
21853
|
Anon_f7fb9744a6e4_30: components["schemas"]["Anon_f090cb615c84_52"];
|
|
18603
21854
|
Anon_f090cb615c84_52: string | null;
|
|
18604
|
-
|
|
21855
|
+
Anon_cd76cef95ac8_5: string;
|
|
18605
21856
|
/** @default null */
|
|
18606
21857
|
Anon_c8b3e7377e39: components["schemas"]["Anon_287e7044ce74"];
|
|
18607
21858
|
Anon_287e7044ce74: string | null;
|
|
@@ -18616,56 +21867,56 @@ interface components {
|
|
|
18616
21867
|
/** Format: date-time */
|
|
18617
21868
|
Anon_be3e2585472d_8: string;
|
|
18618
21869
|
Anon_2457cccd64aa_12: components["schemas"]["Anon_0eb2e3b6e08c_1"];
|
|
18619
|
-
|
|
21870
|
+
Anon_872e58432369_7: string;
|
|
18620
21871
|
/** @default user_id */
|
|
18621
21872
|
Anon_b07a1e0dbc7b: components["schemas"]["PlacementTestUserIdentifierType"];
|
|
18622
21873
|
/** @default null */
|
|
18623
21874
|
Anon_519dcb817ac7: components["schemas"]["Anon_4dc643733e70_1"];
|
|
18624
21875
|
Anon_4dc643733e70_1: string | null;
|
|
18625
21876
|
Anon_127eb78cd9c0_14: string;
|
|
18626
|
-
|
|
21877
|
+
Anon_274ba4ca49d5_22: number;
|
|
18627
21878
|
Anon_0b2583b9b222: components["schemas"]["IngestedEvent"][];
|
|
18628
21879
|
Anon_57796118d046_69: string;
|
|
18629
21880
|
/** @default sdk */
|
|
18630
21881
|
Anon_eabbbb727ad3: components["schemas"]["EventSource"];
|
|
18631
|
-
|
|
18632
|
-
Anon_9ac136edb99a_25: string;
|
|
18633
|
-
Anon_0a729b73253d: components["schemas"]["Anon_9ac136edb99a_26"];
|
|
21882
|
+
Anon_4e04ec5cc4e6_17: components["schemas"]["Anon_9ac136edb99a_26"];
|
|
18634
21883
|
Anon_9ac136edb99a_26: string;
|
|
18635
|
-
|
|
21884
|
+
Anon_0a729b73253d: components["schemas"]["Anon_9ac136edb99a_27"];
|
|
18636
21885
|
Anon_9ac136edb99a_27: string;
|
|
21886
|
+
Anon_0a729b73253d_1: components["schemas"]["Anon_9ac136edb99a_28"];
|
|
21887
|
+
Anon_9ac136edb99a_28: string;
|
|
18637
21888
|
/** Format: date-time */
|
|
18638
|
-
|
|
21889
|
+
Anon_3c179513a5d9_4: string;
|
|
18639
21890
|
Anon_57796118d046_70: string;
|
|
18640
21891
|
/** @default {} */
|
|
18641
|
-
Anon_5142f8473790_13: components["schemas"]["
|
|
18642
|
-
|
|
21892
|
+
Anon_5142f8473790_13: components["schemas"]["Anon_c65c1fbd5acf_21"];
|
|
21893
|
+
Anon_c65c1fbd5acf_21: {
|
|
18643
21894
|
[key: string]: unknown;
|
|
18644
21895
|
};
|
|
18645
21896
|
/** @default {} */
|
|
18646
|
-
Anon_5142f8473790_14: components["schemas"]["
|
|
18647
|
-
|
|
21897
|
+
Anon_5142f8473790_14: components["schemas"]["Anon_c65c1fbd5acf_22"];
|
|
21898
|
+
Anon_c65c1fbd5acf_22: {
|
|
18648
21899
|
[key: string]: unknown;
|
|
18649
21900
|
};
|
|
18650
21901
|
/** Format: date-time */
|
|
18651
|
-
|
|
18652
|
-
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
21902
|
+
Anon_3c179513a5d9_5: string;
|
|
21903
|
+
Anon_274ba4ca49d5_23: number;
|
|
21904
|
+
Anon_492895348dbd_7: number;
|
|
21905
|
+
Anon_492895348dbd_8: number;
|
|
21906
|
+
Anon_a2b04841bdf1_5: boolean;
|
|
18656
21907
|
Anon_57796118d046_71: string;
|
|
18657
21908
|
Anon_57796118d046_72: string;
|
|
18658
21909
|
Anon_cb4b0a4af297_1: components["schemas"]["WebhookEventSource"];
|
|
18659
21910
|
/** @default {} */
|
|
18660
|
-
Anon_5142f8473790_15: components["schemas"]["
|
|
18661
|
-
|
|
21911
|
+
Anon_5142f8473790_15: components["schemas"]["Anon_c65c1fbd5acf_23"];
|
|
21912
|
+
Anon_c65c1fbd5acf_23: {
|
|
18662
21913
|
[key: string]: unknown;
|
|
18663
21914
|
};
|
|
18664
21915
|
/** @default processed */
|
|
18665
21916
|
Anon_c1288a1f2dc9_1: components["schemas"]["WebhookEventStatus"];
|
|
18666
|
-
|
|
21917
|
+
Anon_e077e17ea982_7: components["schemas"]["Anon_02ecf48bed22_7"];
|
|
18667
21918
|
/** Format: date-time */
|
|
18668
|
-
|
|
21919
|
+
Anon_02ecf48bed22_7: string;
|
|
18669
21920
|
Anon_96f9066c2fdc_63: components["schemas"]["Anon_00404e686415_67"];
|
|
18670
21921
|
Anon_00404e686415_67: string;
|
|
18671
21922
|
Anon_761f976a1da1_12: string;
|
|
@@ -18675,6 +21926,8 @@ interface components {
|
|
|
18675
21926
|
Anon_39a43881005e_3: string | null;
|
|
18676
21927
|
Anon_96f9066c2fdc_64: components["schemas"]["Anon_00404e686415_68"];
|
|
18677
21928
|
Anon_00404e686415_68: string;
|
|
21929
|
+
Anon_4e04ec5cc4e6_18: components["schemas"]["Anon_9ac136edb99a_29"];
|
|
21930
|
+
Anon_9ac136edb99a_29: string;
|
|
18678
21931
|
Anon_f104771c9d3e: components["schemas"]["UserPlanContextOutput"];
|
|
18679
21932
|
Anon_57796118d046_73: string;
|
|
18680
21933
|
Anon_57796118d046_74: string;
|
|
@@ -18696,7 +21949,7 @@ interface components {
|
|
|
18696
21949
|
Anon_96f9066c2fdc_66: components["schemas"]["Anon_00404e686415_70"];
|
|
18697
21950
|
Anon_00404e686415_70: string;
|
|
18698
21951
|
Anon_62987609f086: components["schemas"]["UserTrialStatusOutput"];
|
|
18699
|
-
|
|
21952
|
+
Anon_a2b04841bdf1_6: boolean;
|
|
18700
21953
|
Anon_96f9066c2fdc_67: components["schemas"]["Anon_00404e686415_71"];
|
|
18701
21954
|
Anon_00404e686415_71: string;
|
|
18702
21955
|
Anon_96f9066c2fdc_68: components["schemas"]["Anon_00404e686415_72"];
|
|
@@ -18721,10 +21974,10 @@ interface components {
|
|
|
18721
21974
|
Anon_97cc9ecfdea9_39: number;
|
|
18722
21975
|
Anon_7e1e37293611_16: components["schemas"]["Anon_97cc9ecfdea9_40"];
|
|
18723
21976
|
Anon_97cc9ecfdea9_40: number;
|
|
18724
|
-
|
|
18725
|
-
|
|
18726
|
-
|
|
18727
|
-
|
|
21977
|
+
Anon_fb9ddeea992e_10: components["schemas"]["Anon_7cb541e84f22_78"];
|
|
21978
|
+
Anon_7cb541e84f22_78: boolean;
|
|
21979
|
+
Anon_fb9ddeea992e_11: components["schemas"]["Anon_7cb541e84f22_79"];
|
|
21980
|
+
Anon_7cb541e84f22_79: boolean;
|
|
18728
21981
|
Anon_f86c1754c55e_2: components["schemas"]["Anon_86408dfcaaac_4"];
|
|
18729
21982
|
Anon_86408dfcaaac_4: {
|
|
18730
21983
|
[key: string]: string;
|
|
@@ -18737,10 +21990,10 @@ interface components {
|
|
|
18737
21990
|
Anon_57796118d046_77: string;
|
|
18738
21991
|
Anon_57796118d046_78: string;
|
|
18739
21992
|
Anon_75edd6fbcecc_1: components["schemas"]["EntitlementGrantStatus"];
|
|
18740
|
-
Anon_9c7f41b09bde_7: components["schemas"]["
|
|
18741
|
-
|
|
18742
|
-
Anon_9c7f41b09bde_8: components["schemas"]["
|
|
18743
|
-
|
|
21993
|
+
Anon_9c7f41b09bde_7: components["schemas"]["Anon_cddf8275afa1_13"];
|
|
21994
|
+
Anon_cddf8275afa1_13: number;
|
|
21995
|
+
Anon_9c7f41b09bde_8: components["schemas"]["Anon_cddf8275afa1_14"];
|
|
21996
|
+
Anon_cddf8275afa1_14: number;
|
|
18744
21997
|
Anon_a7c491664ac5_5: components["schemas"]["UsageAllocation"];
|
|
18745
21998
|
Anon_25c82cf56487_3: components["schemas"]["EnforcementMode"];
|
|
18746
21999
|
Anon_589b52ae1ab1_1: components["schemas"]["EntitlementGrantSource"];
|
|
@@ -18847,7 +22100,7 @@ interface components {
|
|
|
18847
22100
|
description?: components["schemas"]["Anon_ee9224780226_6"];
|
|
18848
22101
|
};
|
|
18849
22102
|
FieldDefinitionOutput: {
|
|
18850
|
-
name: components["schemas"]["
|
|
22103
|
+
name: components["schemas"]["Anon_9ac136edb99a_19"];
|
|
18851
22104
|
field_type: components["schemas"]["TemplateFieldType"];
|
|
18852
22105
|
required: components["schemas"]["Anon_f56777819c8b_3"];
|
|
18853
22106
|
default_value?: components["schemas"]["Anon_44136fa355b3_1"];
|
|
@@ -18916,8 +22169,8 @@ interface components {
|
|
|
18916
22169
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_2"];
|
|
18917
22170
|
duration_days?: components["schemas"]["Anon_62c32913f8d0_2"];
|
|
18918
22171
|
grace_period_days: components["schemas"]["Anon_2aa59aec1f23_4"];
|
|
18919
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
18920
|
-
usage_limit_value?: components["schemas"]["
|
|
22172
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_13"];
|
|
22173
|
+
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_3"];
|
|
18921
22174
|
require_payment_method: components["schemas"]["Anon_062d958a93c4_6"];
|
|
18922
22175
|
auto_convert: components["schemas"]["Anon_493deecc809a_7"];
|
|
18923
22176
|
convert_to_plan_id?: components["schemas"]["Anon_96f9066c2fdc_54"];
|
|
@@ -18946,8 +22199,8 @@ interface components {
|
|
|
18946
22199
|
segment_id?: components["schemas"]["Anon_4fc4bfa2adad_15"];
|
|
18947
22200
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_3"];
|
|
18948
22201
|
duration_days?: components["schemas"]["Anon_62c32913f8d0_3"];
|
|
18949
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
18950
|
-
usage_limit_value?: components["schemas"]["
|
|
22202
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_14"];
|
|
22203
|
+
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_4"];
|
|
18951
22204
|
start_policy: components["schemas"]["Anon_df3d212fc186_1"];
|
|
18952
22205
|
show_upgrade_prompt_at_day?: components["schemas"]["Anon_7e1e37293611_11"];
|
|
18953
22206
|
entitlements_during_trial: components["schemas"]["Anon_f8dbfffc0ce2_18"];
|
|
@@ -19002,7 +22255,7 @@ interface components {
|
|
|
19002
22255
|
metadata: components["schemas"]["Anon_f27cb44c32f6_22"];
|
|
19003
22256
|
};
|
|
19004
22257
|
ExperimentVariantOutput: {
|
|
19005
|
-
variant_id: components["schemas"]["
|
|
22258
|
+
variant_id: components["schemas"]["Anon_9ac136edb99a_23"];
|
|
19006
22259
|
name: components["schemas"]["Anon_52ba84a4bbf3_1"];
|
|
19007
22260
|
weight: components["schemas"]["Anon_7e4345d1e208_1"];
|
|
19008
22261
|
is_control: components["schemas"]["Anon_f56777819c8b_4"];
|
|
@@ -19055,8 +22308,9 @@ interface components {
|
|
|
19055
22308
|
PlacementSettingsCapRuleGroupItemOutput: {
|
|
19056
22309
|
kind: components["schemas"]["Anon_fc6def941f46_1"];
|
|
19057
22310
|
id: components["schemas"]["Anon_57796118d046_61"];
|
|
19058
|
-
label?: components["schemas"]["
|
|
22311
|
+
label?: components["schemas"]["Anon_4e04ec5cc4e6_16"];
|
|
19059
22312
|
};
|
|
22313
|
+
AnalyticsFilterValueOutput: components["schemas"]["Anon_db3039b96a51_1"] | components["schemas"]["Anon_32ef433f4ee4_1"] | components["schemas"]["Anon_be2e8aabfc2e_1"] | components["schemas"]["Anon_6dcff20eb273_1"];
|
|
19060
22314
|
TenantOutput: {
|
|
19061
22315
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
19062
22316
|
created_at: components["schemas"]["Anon_be3e2585472d_2"];
|
|
@@ -19076,7 +22330,7 @@ interface components {
|
|
|
19076
22330
|
source: components["schemas"]["Anon_cb4b0a4af297_1"];
|
|
19077
22331
|
payload: components["schemas"]["Anon_5142f8473790_15"];
|
|
19078
22332
|
status: components["schemas"]["Anon_c1288a1f2dc9_1"];
|
|
19079
|
-
processed_at?: components["schemas"]["
|
|
22333
|
+
processed_at?: components["schemas"]["Anon_e077e17ea982_7"];
|
|
19080
22334
|
error_message?: components["schemas"]["Anon_96f9066c2fdc_63"];
|
|
19081
22335
|
};
|
|
19082
22336
|
UserContextOutput: {
|
|
@@ -19088,11 +22342,12 @@ interface components {
|
|
|
19088
22342
|
account_id?: components["schemas"]["Anon_6c3968aac2bb_1"];
|
|
19089
22343
|
email?: components["schemas"]["Anon_f9502b6f3e14_1"];
|
|
19090
22344
|
email_type?: components["schemas"]["Anon_96f9066c2fdc_64"];
|
|
22345
|
+
plan_handle?: components["schemas"]["Anon_4e04ec5cc4e6_18"];
|
|
19091
22346
|
plan?: components["schemas"]["Anon_f104771c9d3e"];
|
|
19092
22347
|
usage: components["schemas"]["Anon_6e82965b87e8"];
|
|
19093
22348
|
trial?: components["schemas"]["Anon_62987609f086"];
|
|
19094
|
-
payment_failed?: components["schemas"]["
|
|
19095
|
-
payment_at_risk?: components["schemas"]["
|
|
22349
|
+
payment_failed?: components["schemas"]["Anon_fb9ddeea992e_10"];
|
|
22350
|
+
payment_at_risk?: components["schemas"]["Anon_fb9ddeea992e_11"];
|
|
19096
22351
|
tiers?: components["schemas"]["Anon_f86c1754c55e_2"];
|
|
19097
22352
|
entitlements: components["schemas"]["Anon_a71fa5274014"];
|
|
19098
22353
|
instances?: components["schemas"]["Anon_ef1dd07b9cb1"];
|
|
@@ -19106,7 +22361,7 @@ interface components {
|
|
|
19106
22361
|
experiments?: components["schemas"]["Anon_f86c1754c55e_3"];
|
|
19107
22362
|
};
|
|
19108
22363
|
UserPlanContextOutput: {
|
|
19109
|
-
|
|
22364
|
+
handle: components["schemas"]["Anon_57796118d046_73"];
|
|
19110
22365
|
name: components["schemas"]["Anon_57796118d046_74"];
|
|
19111
22366
|
price?: components["schemas"]["Anon_96f9066c2fdc_65"];
|
|
19112
22367
|
billing_period?: components["schemas"]["Anon_420b7fe77e22_1"];
|
|
@@ -19119,7 +22374,7 @@ interface components {
|
|
|
19119
22374
|
reset_date?: components["schemas"]["Anon_96f9066c2fdc_66"];
|
|
19120
22375
|
};
|
|
19121
22376
|
UserTrialStatusOutput: {
|
|
19122
|
-
in_trial: components["schemas"]["
|
|
22377
|
+
in_trial: components["schemas"]["Anon_a2b04841bdf1_6"];
|
|
19123
22378
|
trial_type?: components["schemas"]["Anon_96f9066c2fdc_67"];
|
|
19124
22379
|
plan_handle?: components["schemas"]["Anon_96f9066c2fdc_68"];
|
|
19125
22380
|
state?: components["schemas"]["Anon_16928ec813e2_1"];
|
|
@@ -23348,5 +26603,5 @@ declare function RevTurbineThemeProvider({ theme, children }: RevTurbineThemePro
|
|
|
23348
26603
|
*/
|
|
23349
26604
|
declare function useRevTurbineTheme(): RevTurbineTheme;
|
|
23350
26605
|
|
|
23351
|
-
export { AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot, AlertSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_BRANDING, DEFAULT_THEME, DataClassification, DecisionEngine, DecisionLogSchema, DecisionOnly, DescriptionField, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, EntitlementCheckResultSchema, EntitlementEvalLogSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventSearchParamsSchema, EventSourceSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot, InPageSurface, IngestedEventSchema, InlineCardPlacement, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, Placement, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionInspector, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementRenderer, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PresentationRecordSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, QuotaMeterFrame, QuotaMeterSlot, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, SurfaceSlotComponent as RTSlot, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineProvider, RevTurbineServer, RevTurbineThemeProvider, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, SurfaceSlotComponent as Slot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot, ToastSurface, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, analyticsPaths, applyValueMaps, bridgeUiPathResolversIntoRegistry, bucketSubject, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createHydrationProviders, createLocalRuntimeConfig, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, derivePlacementPersonalizationTokens, deriveReverseTrialGrants, dispatchCtaClick, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, runtimePaths, schemaDeprecation, schemaFacets, scopesSubsetOfRole, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, useRevTurbine, useRevTurbineTheme, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validatePlacementThresholdWarnings };
|
|
23352
|
-
export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps, Alert, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsProviderOptions, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps, ButtonSurfaceProps, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DecisionLog, DeriveTrialStatusInput, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, EngagementAreaProps, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementEvalLog, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventSearchParams, EventSource, Experiment, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InlineCardPlacementProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, OnboardingChecklist, OnboardingState, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionInspectorProps, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementProps, PlacementRendererProps, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PresentationRecord, PriceSource, PricingModel, Promotion, PromotionStatus, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, Playbook as RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineProviderProps, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, SurfaceSlotComponentProps as SlotProps, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceSlotCategory, SurfaceSlotComponentProps, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TelemetryScopeProps, TelemetryScopeValue, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|
|
26606
|
+
export { ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot, AlertSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareModeSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryRequestSchema, AnalyticsQueryResponseSchema, AnalyticsRenderCartesianSchema, AnalyticsRenderFunnelSchema, AnalyticsRenderMetricSchema, AnalyticsRenderRecommendationsSchema, AnalyticsRenderSpecSchema, AnalyticsRenderTableSchema, AnalyticsRenderTimelineSchema, AnalyticsResultFieldSchema, AnalyticsResultMetaSchema, AnalyticsResultSchema, AnalyticsSafeChartOptionsSchema, AnalyticsSemanticFilterSchema, AnalyticsSemanticIdSchema, AnalyticsSourceScopeSchema, AnalyticsSuggestedPatchOpSchema, AnalyticsTemplateSummarySchema, AnalyticsTimeGrainSchema, AnalyticsValidationIssueSchema, AnalyticsValidationResultSchema, AnalyticsViewBlockDraftSchema, AnalyticsViewBlockSchema, AnalyticsViewDraftSchema, AnalyticsViewFilterDraftSchema, AnalyticsViewFilterSchema, AnalyticsViewHandoffDraftSchema, AnalyticsViewHandoffSchema, AnalyticsViewLayoutSchema, AnalyticsViewQuerySchema, AnalyticsViewSchema, AnalyticsViewVisibilitySchema, AnalyticsWarningSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_BRANDING, DEFAULT_THEME, DataClassification, DecisionEngine, DecisionLogSchema, DecisionOnly, DescriptionField, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, EntitlementCheckResultSchema, EntitlementEvalLogSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventSearchParamsSchema, EventSourceSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FAMILY_RENDER_COMPATIBILITY, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FIXTURE_ANALYTICS_CATALOG, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot, InPageSurface, IngestedEventSchema, InlineCardPlacement, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, Placement, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionInspector, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementRenderer, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PresentationRecordSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, QuotaMeterFrame, QuotaMeterSlot, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, SurfaceSlotComponent as RTSlot, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineProvider, RevTurbineServer, RevTurbineThemeProvider, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SEMANTIC_ID_PATTERN, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, SurfaceSlotComponent as Slot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot, ToastSurface, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, analyticsPaths, analyticsViewPaths, applyValueMaps, bridgeUiPathResolversIntoRegistry, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defaultRenderForQuery, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, derivePlacementPersonalizationTokens, deriveReverseTrialGrants, dispatchCtaClick, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, runtimePaths, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, useRevTurbine, useRevTurbineTheme, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validatePlacementThresholdWarnings };
|
|
26607
|
+
export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps, Alert, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareMode, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryRequest, AnalyticsQueryResponse, AnalyticsRenderCartesian, AnalyticsRenderFunnel, AnalyticsRenderMetric, AnalyticsRenderRecommendations, AnalyticsRenderSpec, AnalyticsRenderTable, AnalyticsRenderTimeline, AnalyticsResult, AnalyticsResultField, AnalyticsResultMeta, AnalyticsSafeChartOptions, AnalyticsSemanticFilter, AnalyticsSemanticId, AnalyticsSourceScope, AnalyticsSuggestedPatchOp, AnalyticsTemplateSummary, AnalyticsTimeGrain, AnalyticsValidationCode, AnalyticsValidationIssue, AnalyticsValidationResult, AnalyticsView, AnalyticsViewBlock, AnalyticsViewBlockDraft, AnalyticsViewDraft, AnalyticsViewFilter, AnalyticsViewFilterDraft, AnalyticsViewHandoff, AnalyticsViewHandoffDraft, AnalyticsViewLayout, AnalyticsViewQuery, AnalyticsViewVisibility, AnalyticsWarning, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps, ButtonSurfaceProps, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, CompileAnalyticsDraftOptions, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DecisionLog, DeriveTrialStatusInput, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, EngagementAreaProps, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementEvalLog, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventSearchParams, EventSource, Experiment, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InlineCardPlacementProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, OnboardingChecklist, OnboardingState, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionInspectorProps, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementProps, PlacementRendererProps, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PresentationRecord, PriceSource, PricingModel, Promotion, PromotionStatus, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, Playbook as RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineProviderProps, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, SurfaceSlotComponentProps as SlotProps, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceSlotCategory, SurfaceSlotComponentProps, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TelemetryScopeProps, TelemetryScopeValue, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|