@revturbine/sdk 0.7.3 → 0.7.5

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.
Files changed (27) hide show
  1. package/dist/headless.d.ts +205 -48
  2. package/dist/headless.js +2 -2
  3. package/dist/headless.js.map +1 -1
  4. package/dist/index.d.ts +342 -145
  5. package/dist/index.js +2 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/types/web-sdk/customer-side.d.ts +27 -7
  8. package/dist/types/web-sdk/customer-side.d.ts.map +1 -1
  9. package/dist/types/web-sdk/placements/PlacementRenderer.d.ts +4 -2
  10. package/dist/types/web-sdk/placements/PlacementRenderer.d.ts.map +1 -1
  11. package/dist/types/web-sdk/placements/SurfaceSlotComponent.d.ts +3 -1
  12. package/dist/types/web-sdk/placements/SurfaceSlotComponent.d.ts.map +1 -1
  13. package/dist/types/web-sdk/placements/builtin.d.ts +18 -0
  14. package/dist/types/web-sdk/placements/builtin.d.ts.map +1 -1
  15. package/dist/types/web-sdk/placements/cta-resolvers.d.ts +33 -1
  16. package/dist/types/web-sdk/placements/cta-resolvers.d.ts.map +1 -1
  17. package/dist/types/web-sdk/placements/index.d.ts +7 -2
  18. package/dist/types/web-sdk/placements/index.d.ts.map +1 -1
  19. package/dist/types/web-sdk/placements/registry.d.ts +5 -3
  20. package/dist/types/web-sdk/placements/registry.d.ts.map +1 -1
  21. package/dist/types/web-sdk/placements/slots/index.d.ts +27 -1
  22. package/dist/types/web-sdk/placements/slots/index.d.ts.map +1 -1
  23. package/dist/types/web-sdk/placements/types.d.ts +16 -5
  24. package/dist/types/web-sdk/placements/types.d.ts.map +1 -1
  25. package/dist/types/web-sdk/placements/useSurfaceSlot.d.ts +3 -1
  26. package/dist/types/web-sdk/placements/useSurfaceSlot.d.ts.map +1 -1
  27. package/package.json +4 -4
@@ -50,6 +50,28 @@ declare const BillingCadenceSchema: z.ZodEnum<{
50
50
  one_time: "one_time";
51
51
  usage_based: "usage_based";
52
52
  }>;
53
+ declare const COMPONENT_TYPE_VALUES: readonly ["banner", "modal", "tooltip", "sidebar", "inline", "toast", "fullscreen", "email", "sms", "push", "in_page", "button", "full_page", "agent", "cli", "custom"];
54
+ /** What rendering component a template uses. Wire values are unchanged from SurfaceType. */
55
+ declare const ComponentTypeSchema: z.ZodEnum<{
56
+ custom: "custom";
57
+ push: "push";
58
+ banner: "banner";
59
+ modal: "modal";
60
+ tooltip: "tooltip";
61
+ sidebar: "sidebar";
62
+ inline: "inline";
63
+ toast: "toast";
64
+ fullscreen: "fullscreen";
65
+ email: "email";
66
+ sms: "sms";
67
+ in_page: "in_page";
68
+ button: "button";
69
+ full_page: "full_page";
70
+ agent: "agent";
71
+ cli: "cli";
72
+ }>;
73
+ type ComponentType$1 = (typeof COMPONENT_TYPE_VALUES)[number];
74
+ /** @deprecated Use {@link ComponentTypeSchema}. */
53
75
  declare const SurfaceTypeSchema: z.ZodEnum<{
54
76
  custom: "custom";
55
77
  push: "push";
@@ -68,6 +90,80 @@ declare const SurfaceTypeSchema: z.ZodEnum<{
68
90
  agent: "agent";
69
91
  cli: "cli";
70
92
  }>;
93
+ /** Built-in template catalog. Customer-defined template ids remain free strings. */
94
+ declare const DefaultTemplateIdsSchema: z.ZodEnum<{
95
+ push: "push";
96
+ banner: "banner";
97
+ tooltip: "tooltip";
98
+ toast: "toast";
99
+ email: "email";
100
+ sms: "sms";
101
+ button: "button";
102
+ cli: "cli";
103
+ plans_page_ctas: "plans_page_ctas";
104
+ plans_page_full: "plans_page_full";
105
+ inline_gate_message: "inline_gate_message";
106
+ in_page_card: "in_page_card";
107
+ usage_counter: "usage_counter";
108
+ credit_counter: "credit_counter";
109
+ trial_counter: "trial_counter";
110
+ modal_optional: "modal_optional";
111
+ modal_blocking: "modal_blocking";
112
+ agent_connector: "agent_connector";
113
+ custom_in_app: "custom_in_app";
114
+ }>;
115
+ /** @deprecated These values identify default templates, not rendering types. */
116
+ declare const StudioSurfaceTypeSchema: z.ZodEnum<{
117
+ push: "push";
118
+ banner: "banner";
119
+ tooltip: "tooltip";
120
+ toast: "toast";
121
+ email: "email";
122
+ sms: "sms";
123
+ button: "button";
124
+ cli: "cli";
125
+ plans_page_ctas: "plans_page_ctas";
126
+ plans_page_full: "plans_page_full";
127
+ inline_gate_message: "inline_gate_message";
128
+ in_page_card: "in_page_card";
129
+ usage_counter: "usage_counter";
130
+ credit_counter: "credit_counter";
131
+ trial_counter: "trial_counter";
132
+ modal_optional: "modal_optional";
133
+ modal_blocking: "modal_blocking";
134
+ agent_connector: "agent_connector";
135
+ custom_in_app: "custom_in_app";
136
+ }>;
137
+ /** Canonical Appendix A template → rendering-component mapping. */
138
+ declare const DEFAULT_TEMPLATE_COMPONENT_TYPES: {
139
+ readonly button: "button";
140
+ readonly plans_page_ctas: "in_page";
141
+ readonly plans_page_full: "full_page";
142
+ readonly inline_gate_message: "inline";
143
+ readonly tooltip: "tooltip";
144
+ readonly in_page_card: "in_page";
145
+ readonly usage_counter: "in_page";
146
+ readonly credit_counter: "in_page";
147
+ readonly trial_counter: "in_page";
148
+ readonly banner: "banner";
149
+ readonly modal_optional: "modal";
150
+ readonly modal_blocking: "modal";
151
+ readonly toast: "toast";
152
+ readonly email: "email";
153
+ readonly sms: "sms";
154
+ readonly push: "push";
155
+ readonly cli: "cli";
156
+ readonly agent_connector: "agent";
157
+ readonly custom_in_app: "custom";
158
+ };
159
+ /**
160
+ * Built-in payload template ids, including the legacy seed handles still read by
161
+ * local Playbooks. Resolver code consumes this schema-owned table rather than
162
+ * carrying a private patch map.
163
+ */
164
+ declare const BUILT_IN_TEMPLATE_COMPONENT_TYPES: Readonly<Record<string, ComponentType$1>>;
165
+ /** Resolve a canonical ComponentType or a legacy default-template classification. */
166
+ declare function resolveComponentType(value: string): ComponentType$1 | undefined;
71
167
  /**
72
168
  * The entitlement verdict vocabulary, declared once (plan 182 REQ-8).
73
169
  *
@@ -164,28 +260,6 @@ declare const SeveritySchema: z.ZodEnum<{
164
260
  warning: "warning";
165
261
  critical: "critical";
166
262
  }>;
167
- /** Studio surface type — the full set used by SurfaceTemplate and the Playbook. */
168
- declare const StudioSurfaceTypeSchema: z.ZodEnum<{
169
- push: "push";
170
- banner: "banner";
171
- tooltip: "tooltip";
172
- toast: "toast";
173
- email: "email";
174
- sms: "sms";
175
- button: "button";
176
- cli: "cli";
177
- plans_page_ctas: "plans_page_ctas";
178
- plans_page_full: "plans_page_full";
179
- inline_gate_message: "inline_gate_message";
180
- in_page_card: "in_page_card";
181
- usage_counter: "usage_counter";
182
- credit_counter: "credit_counter";
183
- trial_counter: "trial_counter";
184
- modal_optional: "modal_optional";
185
- modal_blocking: "modal_blocking";
186
- agent_connector: "agent_connector";
187
- custom_in_app: "custom_in_app";
188
- }>;
189
263
  /** CTA action type — canonical set of user journey actions. */
190
264
  declare const CtaActionTypeSchema: z.ZodEnum<{
191
265
  custom: "custom";
@@ -2515,7 +2589,24 @@ declare const SurfaceTemplateSchema: z.ZodObject<{
2515
2589
  anchor_id: z.ZodString;
2516
2590
  name: z.ZodString;
2517
2591
  handle: z.ZodString;
2518
- surface_type: z.ZodEnum<{
2592
+ surface_type: z.ZodUnion<readonly [z.ZodEnum<{
2593
+ custom: "custom";
2594
+ push: "push";
2595
+ banner: "banner";
2596
+ modal: "modal";
2597
+ tooltip: "tooltip";
2598
+ sidebar: "sidebar";
2599
+ inline: "inline";
2600
+ toast: "toast";
2601
+ fullscreen: "fullscreen";
2602
+ email: "email";
2603
+ sms: "sms";
2604
+ in_page: "in_page";
2605
+ button: "button";
2606
+ full_page: "full_page";
2607
+ agent: "agent";
2608
+ cli: "cli";
2609
+ }>, z.ZodEnum<{
2519
2610
  push: "push";
2520
2611
  banner: "banner";
2521
2612
  tooltip: "tooltip";
@@ -2535,7 +2626,7 @@ declare const SurfaceTemplateSchema: z.ZodObject<{
2535
2626
  modal_blocking: "modal_blocking";
2536
2627
  agent_connector: "agent_connector";
2537
2628
  custom_in_app: "custom_in_app";
2538
- }>;
2629
+ }>]>;
2539
2630
  field_definitions: z.ZodDefault<z.ZodArray<z.ZodObject<{
2540
2631
  name: z.ZodString;
2541
2632
  field_type: z.ZodEnum<{
@@ -13486,6 +13577,7 @@ type ChangeLogAction = z.infer<typeof ChangeLogActionSchema>;
13486
13577
  type ChangeLogEntry = z.infer<typeof ChangeLogEntrySchema>;
13487
13578
  type ClientContext = z.infer<typeof ClientContextSchema>;
13488
13579
  type CohortMonth = z.infer<typeof CohortMonthSchema>;
13580
+ type ComponentType = z.infer<typeof ComponentTypeSchema>;
13489
13581
  type ContentPayloadSegmentEntry = z.infer<typeof ContentPayloadSegmentEntrySchema>;
13490
13582
  type ContentPlacementPayload = z.infer<typeof ContentPlacementPayloadSchema>;
13491
13583
  type ContentPromotion = z.infer<typeof ContentPromotionSchema>;
@@ -13503,6 +13595,7 @@ type CustomerOverride = z.infer<typeof CustomerOverrideSchema>;
13503
13595
  type CustomerOverrideStatus = z.infer<typeof CustomerOverrideStatusSchema>;
13504
13596
  type CustomerOverrideType = z.infer<typeof CustomerOverrideTypeSchema>;
13505
13597
  type Customer = z.infer<typeof CustomerSchema>;
13598
+ type DefaultTemplateIds = z.infer<typeof DefaultTemplateIdsSchema>;
13506
13599
  type DetectorRequirements = z.infer<typeof DetectorRequirementsSchema>;
13507
13600
  type DimensionCategory = z.infer<typeof DimensionCategorySchema>;
13508
13601
  type DimensionSourceType = z.infer<typeof DimensionSourceTypeSchema>;
@@ -13757,7 +13850,9 @@ source: string, legacyTargetDefaults?: LegacyConfigTargetDefaults): Playbook | u
13757
13850
  * The web-sdk re-exports them for backward compatibility.
13758
13851
  */
13759
13852
 
13760
- type RevTurbineSurfaceType = SurfaceType;
13853
+ type RevTurbineComponentType = ComponentType;
13854
+ /** @deprecated Use {@link RevTurbineComponentType}. */
13855
+ type RevTurbineSurfaceType = RevTurbineComponentType;
13761
13856
  /**
13762
13857
  * Full placement output for rich rendering.
13763
13858
  * Re-exported from the schema's `PlacementDecisionOutput`.
@@ -13813,14 +13908,16 @@ interface RevTurbinePlacementDecisionInput {
13813
13908
  *
13814
13909
  * Mirrors the six-stage runtime model in placement-prioritization.md §1
13815
13910
  * (Qualification includes the slot match) and the `--slot` CLI contract in
13816
- * cli.md (`getPlacement({ slotId, surfaceType?, planHandle? })`). Kept in core so
13911
+ * cli.md (`getPlacement({ slotId, componentType?, planHandle? })`). Kept in core so
13817
13912
  * the SDK, CLI, and server share one shape (Appendix C: the same shared scaffold
13818
13913
  * logic runs both sides).
13819
13914
  */
13820
13915
  interface RevTurbinePlacementRequestConfig$1 {
13821
13916
  /** Surface slot id to resolve (matches `placement_slots[].id`). */
13822
13917
  slotId?: string;
13823
- /** Surface type; disambiguates a slot that can render more than one surface. */
13918
+ /** Component type; disambiguates a slot that can render more than one component. */
13919
+ componentType?: RevTurbineComponentType;
13920
+ /** @deprecated Use {@link componentType}. */
13824
13921
  surfaceType?: RevTurbineSurfaceType;
13825
13922
  /** Entitlement handle for entitlement-gated (Access Gate) resolution. */
13826
13923
  entitlementHandle?: string;
@@ -15772,6 +15869,15 @@ interface PlacementUiPath {
15772
15869
  */
15773
15870
  params?: Record<string, unknown>;
15774
15871
  }
15872
+ /**
15873
+ * Context handed to a {@link CtaResolver} when a placement CTA is activated.
15874
+ */
15875
+ interface CtaResolverContext {
15876
+ /** The full placement output whose CTA was activated. */
15877
+ placement: PlacementOutput;
15878
+ /** Which CTA fired — the primary button or a secondary action. */
15879
+ kind: 'primary' | 'secondary';
15880
+ }
15775
15881
  /**
15776
15882
  * Promotion attached to a placement payload.
15777
15883
  *
@@ -15853,15 +15959,20 @@ interface PlacementSlotType<P extends PlacementSlotProps = PlacementSlotProps> {
15853
15959
  label: string;
15854
15960
  /** Description of this placement type. */
15855
15961
  description: string;
15856
- /** The surface type this slot type handles, or 'custom' for custom types. */
15857
- surfaceType: RevTurbineSurfaceType;
15962
+ /** The canonical component type this renderer handles. */
15963
+ componentType: RevTurbineComponentType;
15964
+ /**
15965
+ * Canonical content fields this component renders. Validation and Studio
15966
+ * previews use this contract to identify authored fields the component ignores.
15967
+ */
15968
+ renderedFields: readonly string[];
15858
15969
  /** The React component that renders this placement type. */
15859
15970
  component: React.ComponentType<P>;
15860
15971
  /** Default props merged with resolved props before rendering. */
15861
15972
  defaultProps?: Partial<P>;
15862
15973
  /**
15863
15974
  * Predicate to determine if this slot type can handle a given output.
15864
- * Defaults to matching on `surfaceType`. Custom implementations can
15975
+ * Defaults to matching on `componentType`. Custom implementations can
15865
15976
  * match on template name, content shape, etc.
15866
15977
  */
15867
15978
  accepts?: (output: PlacementOutput) => boolean;
@@ -15877,9 +15988,15 @@ interface PlacementSlotType<P extends PlacementSlotProps = PlacementSlotProps> {
15877
15988
  * Options for registering a custom placement type.
15878
15989
  * Identical to PlacementSlotType but all fields are required except defaultProps, accepts, and priority.
15879
15990
  */
15880
- type RegisterPlacementSlotTypeOptions<P extends PlacementSlotProps = PlacementSlotProps> = Omit<PlacementSlotType<P>, 'accepts' | 'defaultProps' | 'priority'> & {
15991
+ type RegisterPlacementSlotTypeOptions<P extends PlacementSlotProps = PlacementSlotProps> = Omit<PlacementSlotType<P>, 'componentType' | 'accepts' | 'defaultProps' | 'priority' | 'renderedFields'> & {
15992
+ /** Canonical component type handled by this renderer. */
15993
+ componentType?: RevTurbineComponentType;
15994
+ /** @deprecated Use `componentType`. */
15995
+ surfaceType?: RevTurbineComponentType;
15881
15996
  defaultProps?: Partial<P>;
15882
15997
  accepts?: (output: PlacementOutput) => boolean;
15998
+ /** Machine-readable fields rendered by this component. */
15999
+ renderedFields?: readonly string[];
15883
16000
  /** Resolution priority (default `0`). Higher values are evaluated first. */
15884
16001
  priority?: number;
15885
16002
  };
@@ -15956,7 +16073,7 @@ interface PlacementCustomCode {
15956
16073
  */
15957
16074
  declare class PlacementTypeRegistry {
15958
16075
  private readonly types;
15959
- private readonly surfaceIndex;
16076
+ private readonly componentIndex;
15960
16077
  /**
15961
16078
  * Register a placement slot type. If a type with the same id already exists,
15962
16079
  * it is replaced (allows customer overrides of built-in types).
@@ -15989,7 +16106,9 @@ declare class PlacementTypeRegistry {
15989
16106
  /**
15990
16107
  * List slot types for a specific surface type.
15991
16108
  */
15992
- listBySurfaceType(surfaceType: RevTurbineSurfaceType): PlacementSlotType[];
16109
+ listByComponentType(componentType: RevTurbineComponentType): PlacementSlotType[];
16110
+ /** @deprecated Use {@link listByComponentType}. */
16111
+ listBySurfaceType(componentType: RevTurbineComponentType): PlacementSlotType[];
15993
16112
  /**
15994
16113
  * Check if a slot type id is registered.
15995
16114
  */
@@ -16033,6 +16152,26 @@ declare function getDefaultRegistry(): PlacementTypeRegistry;
16033
16152
  */
16034
16153
  declare function resetDefaultRegistry(): void;
16035
16154
 
16155
+ /** Context supplied to an app-owned server mutation handler. */
16156
+ interface ServerActionContext {
16157
+ /** The placement whose CTA initiated the action. */
16158
+ placement: CtaResolverContext['placement'];
16159
+ /** The authored CTA action type (v1 documents `extend_trial`). */
16160
+ actionType: string;
16161
+ /** Tenant-authored custom CTA parameters, when present. */
16162
+ params: Record<string, unknown>;
16163
+ }
16164
+ /** Result returned after the app's backend accepts or refuses the mutation. */
16165
+ interface ServerActionResult {
16166
+ success: boolean;
16167
+ /** Fresh server-authoritative context to merge after a successful mutation. */
16168
+ userContext?: UserContextInput;
16169
+ }
16170
+ /** App handler that calls its own backend for a server-owned mutation. */
16171
+ type ServerActionHandler = (context: ServerActionContext) => Promise<ServerActionResult>;
16172
+ /** Map of authored CTA action type to app-owned server mutation handler. */
16173
+ type ServerActionMap = Record<string, ServerActionHandler>;
16174
+
16036
16175
  /** The spec-defined per-placement recommendation strategy. */
16037
16176
  type RecommendationStrategy = 'next_tier_up' | 'best_value' | 'custom';
16038
16177
 
@@ -16216,7 +16355,9 @@ type EntitlementStatus = EntitlementStatus$1;
16216
16355
  interface RevTurbinePlacementRequestConfig {
16217
16356
  /** Slot identifier used for slot-based decisions. */
16218
16357
  slotId?: string;
16219
- /** Surface type declared by the slot integration point. */
16358
+ /** Component type declared by the slot integration point. */
16359
+ componentType?: RevTurbineComponentType;
16360
+ /** @deprecated Use `componentType`. */
16220
16361
  surfaceType?: RevTurbineSurfaceType;
16221
16362
  /** Entitlement handle used for entitlement-based decisions. */
16222
16363
  entitlementHandle?: string;
@@ -16665,6 +16806,16 @@ interface RevTurbineInitOptions {
16665
16806
  domainProviders?: AnyDomainProvider[];
16666
16807
  /** Optional UI path resolver map used by `validateUiPathResolvers()`. */
16667
16808
  uiPathResolvers?: RevTurbineUiPathResolverMap;
16809
+ /**
16810
+ * App-owned handlers for CTA-triggered server mutations.
16811
+ *
16812
+ * A handler calls your backend and returns fresh server-authoritative user
16813
+ * context. On success the SDK merges that context and re-evaluates mounted
16814
+ * decisions. `extend_trial` is the documented v1 action. A matching
16815
+ * `uiPathResolvers` or explicit `registerCtaResolver()` entry takes
16816
+ * precedence.
16817
+ */
16818
+ serverActions?: ServerActionMap;
16668
16819
  user?: RevTurbineUserContext;
16669
16820
  /**
16670
16821
  * Mint a short-lived client-session token (`rt_client_`, plan 157) for the
@@ -16950,7 +17101,7 @@ declare function createLocalRuntimeConfig(options: RevTurbineInitBaseOptions & {
16950
17101
  *
16951
17102
  * Unlike {@link createLocalRuntimeConfig}, this helper always requires
16952
17103
  * `exportedConfig.content_ui_paths` and complete `uiPathResolvers` coverage at
16953
- * compile time for action types present in that exported config.
17104
+ * compile time for action types present in that Playbook.
16954
17105
  */
16955
17106
  declare function createStrictLocalRuntimeConfig<const TUiPaths extends readonly unknown[]>(options: RevTurbineInitBaseOptions & {
16956
17107
  localRuntime: RevTurbineLocalRuntimeOptions & ({
@@ -16977,6 +17128,8 @@ interface RevTurbineSlotPlacementRequestOptions {
16977
17128
  /** Optional context for entitlement-based placement requests. */
16978
17129
  interface RevTurbineEntitlementPlacementRequestOptions {
16979
17130
  slotId?: string;
17131
+ componentType?: RevTurbineComponentType;
17132
+ /** @deprecated Use `componentType`. */
16980
17133
  surfaceType?: RevTurbineSurfaceType;
16981
17134
  planHandle?: string;
16982
17135
  placementHandle?: string;
@@ -16984,6 +17137,8 @@ interface RevTurbineEntitlementPlacementRequestOptions {
16984
17137
  /** Optional context for chained placement requests. */
16985
17138
  interface RevTurbineChainedPlacementRequestOptions {
16986
17139
  slotId?: string;
17140
+ componentType?: RevTurbineComponentType;
17141
+ /** @deprecated Use `componentType`. */
16987
17142
  surfaceType?: RevTurbineSurfaceType;
16988
17143
  entitlementHandle?: string;
16989
17144
  planHandle?: string;
@@ -16991,7 +17146,7 @@ interface RevTurbineChainedPlacementRequestOptions {
16991
17146
  /**
16992
17147
  * Create a typed placement request for slot + surface lookups.
16993
17148
  */
16994
- declare function createSlotPlacementRequest(slotId: string, surfaceType: RevTurbineSurfaceType, options?: RevTurbineSlotPlacementRequestOptions): RevTurbinePlacementRequestConfig;
17149
+ declare function createSlotPlacementRequest(slotId: string, componentType: RevTurbineComponentType, options?: RevTurbineSlotPlacementRequestOptions): RevTurbinePlacementRequestConfig;
16995
17150
  /**
16996
17151
  * Create a typed placement request for entitlement-gated lookups.
16997
17152
  */
@@ -17248,8 +17403,10 @@ declare class RevTurbineCustomerSdk {
17248
17403
  private derivedPlacementBehaviorMemo;
17249
17404
  private readonly providerFailureSlotBehavior;
17250
17405
  private readonly uiPathResolvers;
17406
+ private readonly serverActions;
17251
17407
  private unbridgeUiPathCtaResolvers;
17252
17408
  private unregisterBuiltinSnoozeResolver;
17409
+ private unregisterServerActionResolvers;
17253
17410
  private readonly persistentStore;
17254
17411
  private readonly sessionStore;
17255
17412
  private readonly anonymousId;
@@ -18094,7 +18251,7 @@ declare class RevTurbineCustomerSdk {
18094
18251
  * `trial_converted` placements. The same evaluator runs in the Python server
18095
18252
  * SDK, so both decide identically.
18096
18253
  *
18097
- * Requires an initialized exported config (static mode, or any mode with a
18254
+ * Requires an initialized Playbook (static mode, or any mode with a
18098
18255
  * config provider). Returns the derived status, or `{ in_trial: false }`
18099
18256
  * when no active trial instance applies.
18100
18257
  *
@@ -19856,12 +20013,14 @@ interface components {
19856
20013
  anchor_id: components["schemas"]["Anon_fb248bf5a9f7_2"];
19857
20014
  name: components["schemas"]["Anon_4c26b3baab05_4"];
19858
20015
  handle: components["schemas"]["Anon_af12d548dbee_4"];
19859
- surface_type: components["schemas"]["Anon_5bda92aa4322"];
20016
+ surface_type: components["schemas"]["Anon_b5b008cadebe"];
19860
20017
  field_definitions?: components["schemas"]["Anon_4a3cd2d08b03"];
19861
20018
  description?: components["schemas"]["Anon_ee9224780226_1"];
19862
20019
  };
19863
20020
  /** @enum {string} */
19864
- StudioSurfaceType: "button" | "plans_page_ctas" | "plans_page_full" | "inline_gate_message" | "tooltip" | "in_page_card" | "usage_counter" | "credit_counter" | "trial_counter" | "banner" | "modal_optional" | "modal_blocking" | "toast" | "email" | "sms" | "push" | "cli" | "agent_connector" | "custom_in_app";
20021
+ ComponentType: "banner" | "modal" | "tooltip" | "sidebar" | "inline" | "toast" | "fullscreen" | "email" | "sms" | "push" | "in_page" | "button" | "full_page" | "agent" | "cli" | "custom";
20022
+ /** @enum {string} */
20023
+ DefaultTemplateIds: "button" | "plans_page_ctas" | "plans_page_full" | "inline_gate_message" | "tooltip" | "in_page_card" | "usage_counter" | "credit_counter" | "trial_counter" | "banner" | "modal_optional" | "modal_blocking" | "toast" | "email" | "sms" | "push" | "cli" | "agent_connector" | "custom_in_app";
19865
20024
  FieldDefinition: {
19866
20025
  name: components["schemas"]["Anon_9ac136edb99a_1"];
19867
20026
  field_type: components["schemas"]["TemplateFieldType"];
@@ -20631,7 +20790,7 @@ interface components {
20631
20790
  Anon_fb248bf5a9f7_2: string;
20632
20791
  Anon_4c26b3baab05_4: components["schemas"]["Anon_52ba84a4bbf3"];
20633
20792
  Anon_af12d548dbee_4: components["schemas"]["Anon_0eb2e3b6e08c"];
20634
- Anon_5bda92aa4322: components["schemas"]["StudioSurfaceType"];
20793
+ Anon_b5b008cadebe: components["schemas"]["ComponentType"] | components["schemas"]["DefaultTemplateIds"];
20635
20794
  /** @default [] */
20636
20795
  Anon_4a3cd2d08b03: components["schemas"]["Anon_614b5f6483c2"];
20637
20796
  Anon_614b5f6483c2: components["schemas"]["FieldDefinition"][];
@@ -21734,7 +21893,7 @@ interface components {
21734
21893
  sequence: components["schemas"]["Anon_ffffc3c874cb_1"];
21735
21894
  base_sequence: components["schemas"]["Anon_71a2fb329804_1"];
21736
21895
  surface_slot_handle: components["schemas"]["Anon_872e58432369_3"];
21737
- surface_type: components["schemas"]["Anon_d8a06421c676"];
21896
+ surface_type: components["schemas"]["Anon_67e8169f51c4"];
21738
21897
  surface_template_ids: components["schemas"]["Anon_f8dbfffc0ce2_16"];
21739
21898
  surface_slot_category: components["schemas"]["Anon_28f393a0fbc4"];
21740
21899
  first_seen: components["schemas"]["Anon_be3e2585472d_4"];
@@ -21742,8 +21901,6 @@ interface components {
21742
21901
  status: components["schemas"]["Anon_4bdd7a28c3fc"];
21743
21902
  placement_count: components["schemas"]["Anon_b32f11b2ff5e_2"];
21744
21903
  };
21745
- /** @enum {string} */
21746
- SurfaceType: "banner" | "modal" | "tooltip" | "sidebar" | "inline" | "toast" | "fullscreen" | "email" | "sms" | "push" | "in_page" | "button" | "full_page" | "agent" | "cli" | "custom";
21747
21904
  Customer: {
21748
21905
  id: components["schemas"]["Anon_fb248bf5a9f7_9"];
21749
21906
  created_at: components["schemas"]["Anon_be3e2585472d_2"];
@@ -23215,7 +23372,7 @@ interface components {
23215
23372
  Anon_96f9066c2fdc_45: components["schemas"]["Anon_00404e686415_48"];
23216
23373
  Anon_00404e686415_48: string;
23217
23374
  Anon_872e58432369_3: string;
23218
- Anon_d8a06421c676: components["schemas"]["SurfaceType"];
23375
+ Anon_67e8169f51c4: components["schemas"]["ComponentType"];
23219
23376
  /** @default [] */
23220
23377
  Anon_f8dbfffc0ce2_16: components["schemas"]["Anon_681004346c78_19"];
23221
23378
  Anon_681004346c78_19: string[];
@@ -23316,7 +23473,7 @@ interface components {
23316
23473
  Anon_fb248bf5a9f7_21: string;
23317
23474
  Anon_4c26b3baab05_19: components["schemas"]["Anon_52ba84a4bbf3_2"];
23318
23475
  Anon_af12d548dbee_23: components["schemas"]["Anon_0eb2e3b6e08c_1"];
23319
- Anon_5bda92aa4322_1: components["schemas"]["StudioSurfaceType"];
23476
+ Anon_b5b008cadebe_1: components["schemas"]["ComponentType"] | components["schemas"]["DefaultTemplateIds"];
23320
23477
  /** @default [] */
23321
23478
  Anon_3b6346b139c2: components["schemas"]["Anon_f836473839d1"];
23322
23479
  Anon_f836473839d1: components["schemas"]["FieldDefinitionOutput"][];
@@ -24929,7 +25086,7 @@ interface components {
24929
25086
  anchor_id: components["schemas"]["Anon_fb248bf5a9f7_21"];
24930
25087
  name: components["schemas"]["Anon_4c26b3baab05_19"];
24931
25088
  handle: components["schemas"]["Anon_af12d548dbee_23"];
24932
- surface_type: components["schemas"]["Anon_5bda92aa4322_1"];
25089
+ surface_type: components["schemas"]["Anon_b5b008cadebe_1"];
24933
25090
  field_definitions: components["schemas"]["Anon_3b6346b139c2"];
24934
25091
  description?: components["schemas"]["Anon_ee9224780226_6"];
24935
25092
  };
@@ -27828,5 +27985,5 @@ declare class RevTurbineServer {
27828
27985
  private apiGet;
27829
27986
  }
27830
27987
 
27831
- export { ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareModeSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryRequestSchema, AnalyticsQueryResponseSchema, AnalyticsRenderCartesianSchema, AnalyticsRenderFunnelSchema, AnalyticsRenderMetricSchema, AnalyticsRenderRecommendationsSchema, AnalyticsRenderSpecSchema, AnalyticsRenderTableSchema, AnalyticsRenderTimelineSchema, AnalyticsResultFieldSchema, AnalyticsResultMetaSchema, AnalyticsResultSchema, AnalyticsSafeChartOptionsSchema, AnalyticsSavedViewSchema, AnalyticsSemanticFilterSchema, AnalyticsSemanticIdSchema, AnalyticsSourceScopeSchema, AnalyticsSuggestedPatchOpSchema, AnalyticsTemplateSummarySchema, AnalyticsTimeGrainSchema, AnalyticsValidationIssueSchema, AnalyticsValidationResultSchema, AnalyticsViewAccessRoleSchema, AnalyticsViewAccessSchema, AnalyticsViewBlockDraftSchema, AnalyticsViewBlockSchema, AnalyticsViewDraftSchema, AnalyticsViewFilterDraftSchema, AnalyticsViewFilterSchema, AnalyticsViewHandoffDraftSchema, AnalyticsViewHandoffSchema, AnalyticsViewLayoutSchema, AnalyticsViewQuerySchema, AnalyticsViewRevisionSchema, AnalyticsViewSchema, AnalyticsViewVisibilitySchema, AnalyticsWarningSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, ClientContextSchema, ClientSafe, CohortMonthSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_ANALYTICS_RETENTION_DAYS, DEFAULT_BRANDING, DEFAULT_THEME, DEPRECATED_EVENT_NAMES, DOGFOOD_CLIENT_EVENT_NAMES, DataClassification, DecisionEngine, DecisionOnly, DescriptionField, DetectorRequirementsSchema, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EVENT_PREFIX_FAMILIES, EnforcementActionSchema, EnforcementModeSchema, EntitlementCheckResultSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventPrefixFamilySchema, EventSearchParamsSchema, EventSourceSchema, EventStabilitySchema, EventSurfaceSchema, EventTaxonomyEntrySchema, EventTaxonomySchema, EvidenceRequirementSchema, ExperimentAnalysisConfigSchema, ExperimentAnalysisConfigVersionError, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricResultSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, ExperimentVariantTargetSchema, 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, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, IngestedEventSchema, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MetadataField, MeteringConfigSchema, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OpportunityCandidateSchema, OpportunityEvidenceSchema, OpportunityInterpretationSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLATFORM_EMITTED_EVENT_NAMES, PLATFORM_EVENT_TAXONOMY, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, 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, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, 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, RevTurbineServer, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, 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, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, TrackEventSchema, TrackIngestBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defaultRenderForQuery, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, deriveReverseTrialGrants, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, 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, requireSchemaFacets, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validatePlacementThresholdWarnings };
27832
- export type { ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareMode, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryRequest, AnalyticsQueryResponse, AnalyticsRenderCartesian, AnalyticsRenderFunnel, AnalyticsRenderMetric, AnalyticsRenderRecommendations, AnalyticsRenderSpec, AnalyticsRenderTable, AnalyticsRenderTimeline, AnalyticsResult, AnalyticsResultField, AnalyticsResultMeta, AnalyticsSafeChartOptions, AnalyticsSavedView, AnalyticsSemanticFilter, AnalyticsSemanticId, AnalyticsSourceScope, AnalyticsSuggestedPatchOp, AnalyticsTemplateSummary, AnalyticsTimeGrain, AnalyticsValidationCode, AnalyticsValidationIssue, AnalyticsValidationResult, AnalyticsView, AnalyticsViewAccess, AnalyticsViewAccessRole, AnalyticsViewBlock, AnalyticsViewBlockDraft, AnalyticsViewDraft, AnalyticsViewFilter, AnalyticsViewFilterDraft, AnalyticsViewHandoff, AnalyticsViewHandoffDraft, AnalyticsViewLayout, AnalyticsViewQuery, AnalyticsViewRevision, AnalyticsViewVisibility, AnalyticsWarning, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, ClientContext, CohortMonth, CompileAnalyticsDraftOptions, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, 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, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentProvider, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantTarget, ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FlagValueType, FreeTrialRule, FreeTrialSettings, FunnelStep, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, IngestWriteScope, IngestedEvent, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MeteringConfig, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, Placement, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, 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, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, 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, 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, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, TrackEvent, TrackIngestBatch, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
27988
+ export { ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareModeSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryRequestSchema, AnalyticsQueryResponseSchema, AnalyticsRenderCartesianSchema, AnalyticsRenderFunnelSchema, AnalyticsRenderMetricSchema, AnalyticsRenderRecommendationsSchema, AnalyticsRenderSpecSchema, AnalyticsRenderTableSchema, AnalyticsRenderTimelineSchema, AnalyticsResultFieldSchema, AnalyticsResultMetaSchema, AnalyticsResultSchema, AnalyticsSafeChartOptionsSchema, AnalyticsSavedViewSchema, AnalyticsSemanticFilterSchema, AnalyticsSemanticIdSchema, AnalyticsSourceScopeSchema, AnalyticsSuggestedPatchOpSchema, AnalyticsTemplateSummarySchema, AnalyticsTimeGrainSchema, AnalyticsValidationIssueSchema, AnalyticsValidationResultSchema, AnalyticsViewAccessRoleSchema, AnalyticsViewAccessSchema, AnalyticsViewBlockDraftSchema, AnalyticsViewBlockSchema, AnalyticsViewDraftSchema, AnalyticsViewFilterDraftSchema, AnalyticsViewFilterSchema, AnalyticsViewHandoffDraftSchema, AnalyticsViewHandoffSchema, AnalyticsViewLayoutSchema, AnalyticsViewQuerySchema, AnalyticsViewRevisionSchema, AnalyticsViewSchema, AnalyticsViewVisibilitySchema, AnalyticsWarningSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BUILT_IN_TEMPLATE_COMPONENT_TYPES, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, ClientContextSchema, ClientSafe, CohortMonthSchema, ComponentTypeSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_ANALYTICS_RETENTION_DAYS, DEFAULT_BRANDING, DEFAULT_TEMPLATE_COMPONENT_TYPES, DEFAULT_THEME, DEPRECATED_EVENT_NAMES, DOGFOOD_CLIENT_EVENT_NAMES, DataClassification, DecisionEngine, DecisionOnly, DefaultTemplateIdsSchema, DescriptionField, DetectorRequirementsSchema, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EVENT_PREFIX_FAMILIES, EnforcementActionSchema, EnforcementModeSchema, EntitlementCheckResultSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventPrefixFamilySchema, EventSearchParamsSchema, EventSourceSchema, EventStabilitySchema, EventSurfaceSchema, EventTaxonomyEntrySchema, EventTaxonomySchema, EvidenceRequirementSchema, ExperimentAnalysisConfigSchema, ExperimentAnalysisConfigVersionError, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricResultSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, ExperimentVariantTargetSchema, 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, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, IngestedEventSchema, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MetadataField, MeteringConfigSchema, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OpportunityCandidateSchema, OpportunityEvidenceSchema, OpportunityInterpretationSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLATFORM_EMITTED_EVENT_NAMES, PLATFORM_EVENT_TAXONOMY, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, 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, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, 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, RevTurbineServer, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, 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, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, TrackEventSchema, TrackIngestBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defaultRenderForQuery, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, deriveReverseTrialGrants, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, 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, requireSchemaFacets, resetDefaultRegistry, resolveBranding, resolveComponentType, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validatePlacementThresholdWarnings };
27989
+ export type { ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareMode, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryRequest, AnalyticsQueryResponse, AnalyticsRenderCartesian, AnalyticsRenderFunnel, AnalyticsRenderMetric, AnalyticsRenderRecommendations, AnalyticsRenderSpec, AnalyticsRenderTable, AnalyticsRenderTimeline, AnalyticsResult, AnalyticsResultField, AnalyticsResultMeta, AnalyticsSafeChartOptions, AnalyticsSavedView, AnalyticsSemanticFilter, AnalyticsSemanticId, AnalyticsSourceScope, AnalyticsSuggestedPatchOp, AnalyticsTemplateSummary, AnalyticsTimeGrain, AnalyticsValidationCode, AnalyticsValidationIssue, AnalyticsValidationResult, AnalyticsView, AnalyticsViewAccess, AnalyticsViewAccessRole, AnalyticsViewBlock, AnalyticsViewBlockDraft, AnalyticsViewDraft, AnalyticsViewFilter, AnalyticsViewFilterDraft, AnalyticsViewHandoff, AnalyticsViewHandoffDraft, AnalyticsViewLayout, AnalyticsViewQuery, AnalyticsViewRevision, AnalyticsViewVisibility, AnalyticsWarning, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, ClientContext, CohortMonth, CompileAnalyticsDraftOptions, ComponentType, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DefaultTemplateIds, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, 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, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentProvider, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantTarget, ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FlagValueType, FreeTrialRule, FreeTrialSettings, FunnelStep, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, IngestWriteScope, IngestedEvent, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MeteringConfig, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, Placement, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, 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, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineComponentType, 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, 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, ServerActionContext, ServerActionHandler, ServerActionMap, ServerActionResult, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, TrackEvent, TrackIngestBatch, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WebhookEventLog, WebhookEventSource, WebhookEventStatus };