@revturbine/sdk 0.7.13 → 0.8.1
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 +324 -54
- package/dist/headless.js +2 -2
- package/dist/headless.js.map +1 -1
- package/dist/index.d.ts +568 -62
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/web-sdk/config-artifact.d.ts +54 -12
- package/dist/types/web-sdk/config-artifact.d.ts.map +1 -1
- package/dist/types/web-sdk/controllers.d.ts +17 -0
- package/dist/types/web-sdk/controllers.d.ts.map +1 -1
- package/dist/types/web-sdk/customer-side.d.ts +201 -1
- package/dist/types/web-sdk/customer-side.d.ts.map +1 -1
- package/dist/types/web-sdk/headless.d.ts +1 -1
- package/dist/types/web-sdk/headless.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/FixedSurfaceSlot.d.ts +14 -3
- package/dist/types/web-sdk/placements/FixedSurfaceSlot.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/MessageSurfaceSlot.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/useSurfaceSlot.d.ts +24 -0
- package/dist/types/web-sdk/placements/useSurfaceSlot.d.ts.map +1 -1
- package/dist/types/web-sdk/react/InitFailureDiagnostic.d.ts +35 -0
- package/dist/types/web-sdk/react/InitFailureDiagnostic.d.ts.map +1 -0
- package/dist/types/web-sdk/react/RevTurbineProvider.d.ts +18 -4
- package/dist/types/web-sdk/react/RevTurbineProvider.d.ts.map +1 -1
- package/dist/types/web-sdk/react/index.d.ts +2 -0
- package/dist/types/web-sdk/react/index.d.ts.map +1 -1
- package/dist/types/web-sdk/react/init-status.d.ts +63 -0
- package/dist/types/web-sdk/react/init-status.d.ts.map +1 -0
- package/dist/types/web-sdk/react/useRevTurbine.d.ts +18 -0
- package/dist/types/web-sdk/react/useRevTurbine.d.ts.map +1 -1
- package/dist/types/web-sdk/theme/ThemeContext.d.ts +28 -2
- package/dist/types/web-sdk/theme/ThemeContext.d.ts.map +1 -1
- package/dist/types/web-sdk/theme/defaults.d.ts +44 -3
- package/dist/types/web-sdk/theme/defaults.d.ts.map +1 -1
- package/dist/types/web-sdk/theme/index.d.ts +4 -2
- package/dist/types/web-sdk/theme/index.d.ts.map +1 -1
- package/dist/types/web-sdk/theme/useColorScheme.d.ts +14 -0
- package/dist/types/web-sdk/theme/useColorScheme.d.ts.map +1 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -6929,6 +6929,7 @@ declare const TreatmentInteractionTypeSchema: z.ZodEnum<{
|
|
|
6929
6929
|
}>;
|
|
6930
6930
|
declare const TreatmentInteractionInputSchema: z.ZodObject<{
|
|
6931
6931
|
user_id: z.ZodString;
|
|
6932
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
6932
6933
|
placement_id: z.ZodString;
|
|
6933
6934
|
treatment_id: z.ZodOptional<z.ZodString>;
|
|
6934
6935
|
surface_slot_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6969,6 +6970,7 @@ declare const MAX_TREATMENT_INTERACTIONS_PER_BATCH = 500;
|
|
|
6969
6970
|
*/
|
|
6970
6971
|
declare const TreatmentInteractionBatchSchema: z.ZodArray<z.ZodObject<{
|
|
6971
6972
|
user_id: z.ZodString;
|
|
6973
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
6972
6974
|
placement_id: z.ZodString;
|
|
6973
6975
|
treatment_id: z.ZodOptional<z.ZodString>;
|
|
6974
6976
|
surface_slot_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6997,6 +6999,7 @@ declare const TreatmentInteractionBatchSchema: z.ZodArray<z.ZodObject<{
|
|
|
6997
6999
|
*/
|
|
6998
7000
|
declare const TreatmentInteractionRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6999
7001
|
user_id: z.ZodString;
|
|
7002
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
7000
7003
|
placement_id: z.ZodString;
|
|
7001
7004
|
treatment_id: z.ZodOptional<z.ZodString>;
|
|
7002
7005
|
surface_slot_id: z.ZodOptional<z.ZodString>;
|
|
@@ -7019,6 +7022,7 @@ declare const TreatmentInteractionRequestSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
7019
7022
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7020
7023
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
7021
7024
|
user_id: z.ZodString;
|
|
7025
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
7022
7026
|
placement_id: z.ZodString;
|
|
7023
7027
|
treatment_id: z.ZodOptional<z.ZodString>;
|
|
7024
7028
|
surface_slot_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16067,26 +16071,67 @@ type WebhookEventLog = z.infer<typeof WebhookEventLogSchema>;
|
|
|
16067
16071
|
type WebhookEventSource = z.infer<typeof WebhookEventSourceSchema>;
|
|
16068
16072
|
type WebhookEventStatus = z.infer<typeof WebhookEventStatusSchema>;
|
|
16069
16073
|
|
|
16074
|
+
declare const REQUIRED_BODY_ARRAY_FIELDS: readonly ["plans", "entitlements", "entitlement_rules", "segments", "content_ui_paths"];
|
|
16070
16075
|
/** A canonical Playbook or the deprecated RevTurbineConfig wire shape. */
|
|
16071
16076
|
type ConfigArtifact = Playbook | RevTurbineConfig;
|
|
16072
16077
|
/**
|
|
16073
16078
|
* A config artifact as raw parsed JSON — what
|
|
16074
16079
|
* `import playbook from './revturbine.playbook.json'` produces.
|
|
16075
16080
|
*
|
|
16076
|
-
* TypeScript widens JSON modules to plain `string`/`number`
|
|
16077
|
-
* which can never satisfy the literal-typed
|
|
16078
|
-
* (`artifact_type: "playbook"` etc.), so a strict-mode
|
|
16079
|
-
* the imported JSON without a cast.
|
|
16080
|
-
*
|
|
16081
|
-
*
|
|
16082
|
-
*
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
|
|
16081
|
+
* This exists because TypeScript widens JSON modules to plain `string`/`number`
|
|
16082
|
+
* property types, which can never satisfy the literal-typed
|
|
16083
|
+
* {@link ConfigArtifact} (`artifact_type: "playbook"` etc.), so a strict-mode
|
|
16084
|
+
* project could not pass the imported JSON without a cast.
|
|
16085
|
+
*
|
|
16086
|
+
* Widening affects only *literal* types, so it is no reason to give up on the
|
|
16087
|
+
* rest of the shape. The body arrays are structurally required here, which
|
|
16088
|
+
* makes a truncated artifact a **compile** error at the `localRuntime`
|
|
16089
|
+
* boundary rather than a runtime one — the whole point of plan 233. The header
|
|
16090
|
+
* fields stay unconstrained because those are exactly the widened ones.
|
|
16091
|
+
*
|
|
16092
|
+
* The required-field list is *derived* from {@link REQUIRED_BODY_ARRAY_FIELDS},
|
|
16093
|
+
* the same constant {@link normalizeConfigArtifactOrThrow} validates against at
|
|
16094
|
+
* runtime, so the compile-time and runtime contracts cannot drift apart.
|
|
16095
|
+
*
|
|
16096
|
+
* The index signature keeps every other field open: a Playbook carries many
|
|
16097
|
+
* optional header fields, and a *fetched* artifact (`await res.json()`, typed
|
|
16098
|
+
* `any`) still satisfies this, so the served path is not made harder to write —
|
|
16099
|
+
* only harder to get silently wrong. Values are still validated at runtime by
|
|
16100
|
+
* {@link normalizeConfigArtifactOrThrow}, which fails fast with a descriptive
|
|
16101
|
+
* error; this type constrains the *shape*, never the values.
|
|
16102
|
+
*/
|
|
16103
|
+
type UnvalidatedConfigArtifact = {
|
|
16104
|
+
[K in (typeof REQUIRED_BODY_ARRAY_FIELDS)[number]]: unknown[];
|
|
16105
|
+
} & {
|
|
16106
|
+
[key: string]: unknown;
|
|
16107
|
+
};
|
|
16108
|
+
/**
|
|
16109
|
+
* The target (tenant + environment) the SDK was initialized against.
|
|
16110
|
+
*
|
|
16111
|
+
* These are the **authority** on which tenant a runtime decides for. An
|
|
16112
|
+
* artifact's own `tenant_id` / `environment_id` are a *guard*: they exist so the
|
|
16113
|
+
* CLI can refuse to upload a config to the wrong tenant while setting up demo
|
|
16114
|
+
* environments, and they are not a runtime input (plan 233 REQ-2, Kent 2026-09-10).
|
|
16115
|
+
*
|
|
16116
|
+
* A disagreement between the two warns and proceeds on these values — it never
|
|
16117
|
+
* fails init. See {@link normalizeConfigArtifactOrThrow}.
|
|
16118
|
+
*
|
|
16119
|
+
* @public
|
|
16120
|
+
*/
|
|
16121
|
+
interface ConfigTargetDefaults {
|
|
16122
|
+
/** Tenant the SDK was initialized with. Wins over the artifact's `tenant_id`. */
|
|
16087
16123
|
tenantId: string;
|
|
16124
|
+
/** Environment the SDK was initialized with. Wins over the artifact's `environment_id`. */
|
|
16088
16125
|
environmentId: string;
|
|
16089
16126
|
}
|
|
16127
|
+
/**
|
|
16128
|
+
* @deprecated Renamed to {@link ConfigTargetDefaults} in plan 233 — these values
|
|
16129
|
+
* are no longer "legacy defaults" applied only to pre-stamping artifacts; they
|
|
16130
|
+
* are the authoritative target for every artifact shape. Kept as an alias so the
|
|
16131
|
+
* already-shipped export keeps resolving.
|
|
16132
|
+
* @public
|
|
16133
|
+
*/
|
|
16134
|
+
type LegacyConfigTargetDefaults = ConfigTargetDefaults;
|
|
16090
16135
|
/**
|
|
16091
16136
|
* Parse either supported wire shape into the canonical Playbook shape.
|
|
16092
16137
|
*
|
|
@@ -16094,7 +16139,7 @@ interface LegacyConfigTargetDefaults {
|
|
|
16094
16139
|
* an unsupported future `format_version` can never fall back to legacy.
|
|
16095
16140
|
*/
|
|
16096
16141
|
declare function normalizeConfigArtifactOrThrow(raw: unknown, // sdk-ok: boundary-parse
|
|
16097
|
-
source: string,
|
|
16142
|
+
source: string, targetDefaults?: ConfigTargetDefaults): Playbook | undefined;
|
|
16098
16143
|
|
|
16099
16144
|
/**
|
|
16100
16145
|
* Core type definitions shared across the isomorphic SDK.
|
|
@@ -18873,6 +18918,43 @@ type RevTurbineLocalOnlyMinimalInitOptions = Omit<RevTurbineInitOptions, 'tenant
|
|
|
18873
18918
|
* alias) is provided.
|
|
18874
18919
|
*/
|
|
18875
18920
|
type RevTurbineInitInputOptions = RevTurbineInitWithProviderOptions | (RevTurbineLocalOnlyMinimalInitOptions & RevTurbineProviderOptionAugmentations);
|
|
18921
|
+
/**
|
|
18922
|
+
* Every key any init-options branch accepts.
|
|
18923
|
+
*
|
|
18924
|
+
* Built from the branches rather than written as `keyof RevTurbineInitInputOptions`:
|
|
18925
|
+
* `keyof` over a union yields the INTERSECTION of its members' keys, so that
|
|
18926
|
+
* form would reject `localRuntime` (local-only branch) and `provider`
|
|
18927
|
+
* (augmentation branch) — every key that makes the union worth having.
|
|
18928
|
+
*/
|
|
18929
|
+
type RevTurbineInitOptionKey = keyof RevTurbineInitOptions | keyof RevTurbineProviderOptionAugmentations;
|
|
18930
|
+
/**
|
|
18931
|
+
* Exact-check for init options (plan 233 REQ-2b).
|
|
18932
|
+
*
|
|
18933
|
+
* A key the options do not declare becomes `never`, which turns a typo or a
|
|
18934
|
+
* stale option into a compile error instead of a value the SDK silently ignores.
|
|
18935
|
+
*
|
|
18936
|
+
* The motivating shape is the same one `Exact` was introduced for in plan 191:
|
|
18937
|
+
* TypeScript's excess-property check applies only to fresh object literals, so
|
|
18938
|
+
* options assembled in a variable — or in an un-annotated `useMemo`, which is
|
|
18939
|
+
* exactly how React integrations build them — carried unknown keys with no
|
|
18940
|
+
* diagnostic at all.
|
|
18941
|
+
*
|
|
18942
|
+
* Scope limit worth stating: this cannot catch a wrong VALUE. The escalated
|
|
18943
|
+
* `tenant_id` defect was never reachable from here — that one is caught by
|
|
18944
|
+
* init-time validation (REQ-1/REQ-2) and the reachable init status (REQ-3).
|
|
18945
|
+
*
|
|
18946
|
+
* It is *not* true that a Playbook is beyond compile-time reach. An earlier
|
|
18947
|
+
* version of this note claimed a served artifact is `Record<string, unknown>`
|
|
18948
|
+
* “by necessity”; that was wrong. {@link UnvalidatedConfigArtifact} structurally
|
|
18949
|
+
* requires the body arrays, so a truncated Playbook fails to compile at the
|
|
18950
|
+
* `localRuntime` boundary. What genuinely cannot be checked is the artifact's
|
|
18951
|
+
* *contents* — whether a plan handle exists, whether a rule is satisfiable.
|
|
18952
|
+
*
|
|
18953
|
+
* @public
|
|
18954
|
+
*/
|
|
18955
|
+
type ExactInitOptions<T> = {
|
|
18956
|
+
[K in keyof T]: K extends RevTurbineInitOptionKey ? T[K] : never;
|
|
18957
|
+
};
|
|
18876
18958
|
/**
|
|
18877
18959
|
* SDK integration mode.
|
|
18878
18960
|
* - `snippet` — lightweight script tag embed
|
|
@@ -19934,6 +20016,67 @@ declare function createTreatmentInteraction(userId: string, placementId: string,
|
|
|
19934
20016
|
interface RevTurbineEventOptions {
|
|
19935
20017
|
immediate?: boolean;
|
|
19936
20018
|
}
|
|
20019
|
+
/**
|
|
20020
|
+
* One surface slot this app currently has mounted.
|
|
20021
|
+
*
|
|
20022
|
+
* @public
|
|
20023
|
+
*/
|
|
20024
|
+
interface RevTurbineRegisteredSlot {
|
|
20025
|
+
/**
|
|
20026
|
+
* The author-facing slot id — what a Playbook placement's `trigger.slot_id`
|
|
20027
|
+
* must equal. NOT the internal hashed registry key.
|
|
20028
|
+
*/
|
|
20029
|
+
slotId: string;
|
|
20030
|
+
/** Display name supplied at registration. */
|
|
20031
|
+
name: string;
|
|
20032
|
+
/** Normalized route the slot was mounted on. */
|
|
20033
|
+
route: string;
|
|
20034
|
+
/** The SDK's internal registry id (hashed). Useful when correlating logs. */
|
|
20035
|
+
internalId: string;
|
|
20036
|
+
/** Surface template ids the slot declared it can render, if any. */
|
|
20037
|
+
surfaceTemplateIds: string[];
|
|
20038
|
+
}
|
|
20039
|
+
/**
|
|
20040
|
+
* A Playbook placement that targets a surface slot.
|
|
20041
|
+
*
|
|
20042
|
+
* @public
|
|
20043
|
+
*/
|
|
20044
|
+
interface RevTurbineAuthoredSlotRef {
|
|
20045
|
+
/** The slot id the placement targets (`trigger.slot_id`). */
|
|
20046
|
+
slotId: string;
|
|
20047
|
+
/** The authored placement's id. */
|
|
20048
|
+
placementId: string;
|
|
20049
|
+
/** The placement's category, when the Playbook declares one. */
|
|
20050
|
+
category?: string;
|
|
20051
|
+
}
|
|
20052
|
+
/**
|
|
20053
|
+
* Result of {@link RevTurbineCustomerSdk.diagnoseSlotInventory}.
|
|
20054
|
+
*
|
|
20055
|
+
* @public
|
|
20056
|
+
*/
|
|
20057
|
+
interface RevTurbineSlotInventoryDiagnosis {
|
|
20058
|
+
/** Every slot mounted by this app right now. */
|
|
20059
|
+
mounted: RevTurbineRegisteredSlot[];
|
|
20060
|
+
/** Every slot-targeted placement in the Playbook. */
|
|
20061
|
+
authored: RevTurbineAuthoredSlotRef[];
|
|
20062
|
+
/**
|
|
20063
|
+
* Placements targeting a slot no code renders. **These can never show**, and
|
|
20064
|
+
* nothing else reports them — the decision path is never asked about a slot
|
|
20065
|
+
* that was never mounted, so there is no error and no reason code.
|
|
20066
|
+
*/
|
|
20067
|
+
authoredButUnmounted: RevTurbineAuthoredSlotRef[];
|
|
20068
|
+
/**
|
|
20069
|
+
* Slots mounted that no placement targets. They render their fallback
|
|
20070
|
+
* forever; usually a typo in the slot id, or config that was never deployed.
|
|
20071
|
+
*/
|
|
20072
|
+
mountedButUnauthored: RevTurbineRegisteredSlot[];
|
|
20073
|
+
/**
|
|
20074
|
+
* Whether a Playbook was available to diff against. When `false`, `authored`
|
|
20075
|
+
* is empty because nothing could be read — which is NOT the same as "nothing
|
|
20076
|
+
* is authored", and a caller must not treat the two alike.
|
|
20077
|
+
*/
|
|
20078
|
+
configAvailable: boolean;
|
|
20079
|
+
}
|
|
19937
20080
|
|
|
19938
20081
|
/** A named semantic event with structured payload. */
|
|
19939
20082
|
interface RevTurbineSemanticEvent {
|
|
@@ -20077,6 +20220,22 @@ declare class RevTurbineCustomerSdk {
|
|
|
20077
20220
|
private readonly anonymousId;
|
|
20078
20221
|
private readonly sessionId;
|
|
20079
20222
|
private readonly decisionCache;
|
|
20223
|
+
/**
|
|
20224
|
+
* `output_id` → the placement it was decided for, plus the attribution fields
|
|
20225
|
+
* the interaction path needs.
|
|
20226
|
+
*
|
|
20227
|
+
* The public `dismiss()` / `snooze()` / `convert()` take an **output** id,
|
|
20228
|
+
* while every terminal-state write is keyed by the **placement** id. Without
|
|
20229
|
+
* this index those three methods cannot reach the interaction path at all,
|
|
20230
|
+
* which is why `convert()` only ever emitted an event (plan 233 TASK-14).
|
|
20231
|
+
*
|
|
20232
|
+
* It outlives the decision cache deliberately. A conversion is confirmed after
|
|
20233
|
+
* the user comes back from a checkout redirect, long after a 60-second
|
|
20234
|
+
* decision TTL has expired and often in a fresh page load — so this persists,
|
|
20235
|
+
* and is bounded so a long session cannot grow it without limit.
|
|
20236
|
+
*/
|
|
20237
|
+
private readonly outputPlacementIndex;
|
|
20238
|
+
private readonly outputPlacementIndexLimit;
|
|
20080
20239
|
private readonly interactionState;
|
|
20081
20240
|
private readonly interactionQueue;
|
|
20082
20241
|
private readonly defaultDecisionTtlMs;
|
|
@@ -20257,6 +20416,16 @@ declare class RevTurbineCustomerSdk {
|
|
|
20257
20416
|
private decisionCacheStorageKey;
|
|
20258
20417
|
private interactionStateStorageKey;
|
|
20259
20418
|
private presentationCapsStorageKey;
|
|
20419
|
+
private outputPlacementIndexStorageKey;
|
|
20420
|
+
/**
|
|
20421
|
+
* Remember which placement an output belonged to.
|
|
20422
|
+
*
|
|
20423
|
+
* Called from every path that hands a decision to a caller, because any
|
|
20424
|
+
* output a caller can see is an output they can later pass to `convert()`.
|
|
20425
|
+
*/
|
|
20426
|
+
private indexDecisionOutput;
|
|
20427
|
+
private hydrateOutputPlacementIndex;
|
|
20428
|
+
private persistOutputPlacementIndex;
|
|
20260
20429
|
private hydrateDecisionCache;
|
|
20261
20430
|
private persistDecisionCache;
|
|
20262
20431
|
private hydrateInteractionState;
|
|
@@ -20730,6 +20899,50 @@ declare class RevTurbineCustomerSdk {
|
|
|
20730
20899
|
placementScopeKey?: string;
|
|
20731
20900
|
normalizedPageRoute?: string;
|
|
20732
20901
|
}): Promise<string>;
|
|
20902
|
+
/**
|
|
20903
|
+
* Every surface slot this SDK instance currently has mounted.
|
|
20904
|
+
*
|
|
20905
|
+
* Plan 233 TASK-10. `verify-integration` names the gap this closes in its own
|
|
20906
|
+
* text: *"A placement targeting a slot no code renders can never show, and
|
|
20907
|
+
* nothing reports this; there is no probe, so walk the Playbook's placement
|
|
20908
|
+
* triggers against your inventory of rendered slots."* There was no way to
|
|
20909
|
+
* obtain that inventory at runtime — the registry is private and keyed by a
|
|
20910
|
+
* hashed id, not by the slot id the author wrote.
|
|
20911
|
+
*
|
|
20912
|
+
* `slotId` is the author-facing identity (what a Playbook's
|
|
20913
|
+
* `trigger.slot_id` must match), not the internal hash. That distinction is
|
|
20914
|
+
* the whole point: a diff against authored config is meaningless in hash
|
|
20915
|
+
* space.
|
|
20916
|
+
*
|
|
20917
|
+
* @public
|
|
20918
|
+
*/
|
|
20919
|
+
getRegisteredSlots(): RevTurbineRegisteredSlot[];
|
|
20920
|
+
/**
|
|
20921
|
+
* Diff the authored Playbook against what this app actually mounted, in both
|
|
20922
|
+
* directions.
|
|
20923
|
+
*
|
|
20924
|
+
* Plan 233 TASK-10 / AC-12. Both directions matter and they fail differently:
|
|
20925
|
+
*
|
|
20926
|
+
* - **authoredButUnmounted** — a placement targets a slot no code renders. It
|
|
20927
|
+
* can never show. Nothing reports this today; the decision path is never
|
|
20928
|
+
* even asked about a slot that was never mounted, so there is no error, no
|
|
20929
|
+
* warning, and no reason code. This is the silent one.
|
|
20930
|
+
* - **mountedButUnauthored** — a slot is mounted that no placement targets. It
|
|
20931
|
+
* renders its fallback forever, which usually means a typo in the slot id
|
|
20932
|
+
* or config that was never deployed.
|
|
20933
|
+
*
|
|
20934
|
+
* This is a diagnostic and deliberately reports rather than throws: it is run
|
|
20935
|
+
* against a live app, and an integration with a stale slot should keep
|
|
20936
|
+
* working while someone reads the output.
|
|
20937
|
+
*
|
|
20938
|
+
* A config-side audit **cannot** produce this. That is the lesson from the
|
|
20939
|
+
* August diagnosis of the escalated integration, which concluded the fixed
|
|
20940
|
+
* slots were unmounted: they were mounted, and the call sites passed slot ids
|
|
20941
|
+
* that no placement targeted. Only the running app knows what it mounted.
|
|
20942
|
+
*
|
|
20943
|
+
* @public
|
|
20944
|
+
*/
|
|
20945
|
+
diagnoseSlotInventory(): RevTurbineSlotInventoryDiagnosis;
|
|
20733
20946
|
/**
|
|
20734
20947
|
* @deprecated Use `registerSurfaceSlot`.
|
|
20735
20948
|
*/
|
|
@@ -20777,6 +20990,21 @@ declare class RevTurbineCustomerSdk {
|
|
|
20777
20990
|
getPlacementDecision(input: RevTurbinePlacementDecisionInput): Promise<RevTurbinePlacementDecision>;
|
|
20778
20991
|
preloadPlacementDecisions(inputs: RevTurbinePlacementDecisionInput[]): Promise<void>;
|
|
20779
20992
|
bootstrapPlacementDecisions(inputs: RevTurbinePlacementDecisionInput[]): Promise<void>;
|
|
20993
|
+
/**
|
|
20994
|
+
* The authored suppression windows for a payload, in milliseconds.
|
|
20995
|
+
*
|
|
20996
|
+
* Plan 233 TASK-8b/8c. `caps.cooldown_days` and `remind_later_minutes` are
|
|
20997
|
+
* authored per payload and round-trip through export/import (plan 167 AC-8,
|
|
20998
|
+
* AC-11), but nothing ever read them back: the only consumer was the
|
|
20999
|
+
* `hasAuthoredCaps` feature-flag derivation, which uses their PRESENCE to
|
|
21000
|
+
* switch caps enforcement on and discards their values. So a Playbook saying
|
|
21001
|
+
* `cooldown_days: 7` flipped a boolean and otherwise did nothing.
|
|
21002
|
+
*
|
|
21003
|
+
* The decision's `output_id` is the payload id (the resolver sets
|
|
21004
|
+
* `output_id: payload.id`), so the authored values are recoverable from the
|
|
21005
|
+
* loaded config at interaction time.
|
|
21006
|
+
*/
|
|
21007
|
+
private authoredSuppressionWindows;
|
|
20780
21008
|
private updateInteractionState;
|
|
20781
21009
|
private flushInteractionQueue;
|
|
20782
21010
|
/**
|
|
@@ -21074,6 +21302,23 @@ declare class RevTurbineCustomerSdk {
|
|
|
21074
21302
|
* throwOnMissing: true })` remains the strict opt-in.
|
|
21075
21303
|
*/
|
|
21076
21304
|
private warnOnUiPathResolverCoverageGaps;
|
|
21305
|
+
/**
|
|
21306
|
+
* Route an output-addressed interaction through the one interaction path.
|
|
21307
|
+
*
|
|
21308
|
+
* Plan 233 TASK-14. These three methods each emitted a `placement_interaction`
|
|
21309
|
+
* event and stopped, so none of them wrote any terminal state:
|
|
21310
|
+
* `sdk.dismiss()` did not suppress, and `sdk.convert()` did not retire. Only
|
|
21311
|
+
* the controller path (`trackTreatmentInteraction`) ever did, which is why the
|
|
21312
|
+
* defect was invisible to every React integration test.
|
|
21313
|
+
*
|
|
21314
|
+
* The public API takes an **output** id while every terminal-state write is
|
|
21315
|
+
* keyed by the **placement** id, so the output is resolved through
|
|
21316
|
+
* `outputPlacementIndex`. When it cannot be resolved — an output this SDK
|
|
21317
|
+
* instance never decided, or one evicted from a very long session — we emit
|
|
21318
|
+
* the bare event as before and say so. Silently doing nothing is what shipped;
|
|
21319
|
+
* being loud about the one case we cannot serve is the point.
|
|
21320
|
+
*/
|
|
21321
|
+
private trackOutputInteraction;
|
|
21077
21322
|
dismiss(outputId: string): Promise<void>;
|
|
21078
21323
|
snooze(outputId: string, seconds?: number): Promise<void>;
|
|
21079
21324
|
convert(outputId: string): Promise<void>;
|
|
@@ -21241,7 +21486,7 @@ declare class RevTurbineCustomerSdk {
|
|
|
21241
21486
|
* });
|
|
21242
21487
|
* ```
|
|
21243
21488
|
*/
|
|
21244
|
-
declare function initRevTurbine$1(options:
|
|
21489
|
+
declare function initRevTurbine$1<T extends RevTurbineInitInputOptions>(options: T & ExactInitOptions<T>): RevTurbineCustomerSdk;
|
|
21245
21490
|
declare global {
|
|
21246
21491
|
interface Window {
|
|
21247
21492
|
RevTurbine?: {
|
|
@@ -21571,8 +21816,25 @@ declare class PlacementController {
|
|
|
21571
21816
|
/** Re-fetch the placement decision (clears impression + render + exposure tracking). */
|
|
21572
21817
|
refresh(): Promise<RevTurbinePlacementDecision | null>;
|
|
21573
21818
|
/** Record a dismiss interaction and hide the placement. */
|
|
21819
|
+
/**
|
|
21820
|
+
* Record a dismissal.
|
|
21821
|
+
*
|
|
21822
|
+
* @param cooldownMs - Optional explicit window. Omit it — which is the normal
|
|
21823
|
+
* case — and the SDK resolves the payload's authored `caps.cooldown_days`,
|
|
21824
|
+
* falling back to the 7-day default. This used to default to 24h here and
|
|
21825
|
+
* pass it ALWAYS, so the authored value and the 7-day default were both
|
|
21826
|
+
* unreachable from React (plan 233 TASK-8b).
|
|
21827
|
+
*/
|
|
21574
21828
|
dismiss(cooldownMs?: number): Promise<void>;
|
|
21575
21829
|
/** Record a snooze/remind-me-later interaction and hide the placement. */
|
|
21830
|
+
/**
|
|
21831
|
+
* Record a snooze / remind-me-later.
|
|
21832
|
+
*
|
|
21833
|
+
* @param seconds - Optional explicit window. Omit it and the SDK resolves the
|
|
21834
|
+
* payload's authored `remind_later_minutes`, falling back to the tenant
|
|
21835
|
+
* default (plan 233 TASK-8c). Remind-later is a DIFFERENT window from
|
|
21836
|
+
* dismiss and resolves independently.
|
|
21837
|
+
*/
|
|
21576
21838
|
snooze(seconds?: number): Promise<void>;
|
|
21577
21839
|
/** Alias for {@link snooze}. */
|
|
21578
21840
|
remindMeLater(seconds?: number): Promise<void>;
|
|
@@ -23224,6 +23486,7 @@ interface components {
|
|
|
23224
23486
|
TreatmentInteractionRequest: components["schemas"]["TreatmentInteractionInput"] | components["schemas"]["TreatmentInteractionBatch"];
|
|
23225
23487
|
TreatmentInteractionInput: {
|
|
23226
23488
|
user_id: components["schemas"]["Anon_761f976a1da1_2"];
|
|
23489
|
+
account_id?: components["schemas"]["Anon_0a729b73253d"];
|
|
23227
23490
|
placement_id: components["schemas"]["Anon_57796118d046_18"];
|
|
23228
23491
|
treatment_id?: components["schemas"]["Anon_4e04ec5cc4e6_4"];
|
|
23229
23492
|
surface_slot_id?: components["schemas"]["Anon_4e04ec5cc4e6_5"];
|
|
@@ -24303,27 +24566,29 @@ interface components {
|
|
|
24303
24566
|
Anon_e17de468dbc9_10: components["schemas"]["Anon_520c691f88f7_10"];
|
|
24304
24567
|
Anon_520c691f88f7_10: string;
|
|
24305
24568
|
Anon_761f976a1da1_2: string;
|
|
24306
|
-
|
|
24307
|
-
Anon_4e04ec5cc4e6_4: components["schemas"]["Anon_9ac136edb99a_9"];
|
|
24569
|
+
Anon_0a729b73253d: components["schemas"]["Anon_9ac136edb99a_9"];
|
|
24308
24570
|
Anon_9ac136edb99a_9: string;
|
|
24309
|
-
|
|
24571
|
+
Anon_57796118d046_18: string;
|
|
24572
|
+
Anon_4e04ec5cc4e6_4: components["schemas"]["Anon_9ac136edb99a_10"];
|
|
24310
24573
|
Anon_9ac136edb99a_10: string;
|
|
24311
|
-
|
|
24574
|
+
Anon_4e04ec5cc4e6_5: components["schemas"]["Anon_9ac136edb99a_11"];
|
|
24312
24575
|
Anon_9ac136edb99a_11: string;
|
|
24313
|
-
|
|
24576
|
+
Anon_4e04ec5cc4e6_6: components["schemas"]["Anon_9ac136edb99a_12"];
|
|
24314
24577
|
Anon_9ac136edb99a_12: string;
|
|
24578
|
+
Anon_4e04ec5cc4e6_7: components["schemas"]["Anon_9ac136edb99a_13"];
|
|
24579
|
+
Anon_9ac136edb99a_13: string;
|
|
24315
24580
|
Anon_b540c131c269: components["schemas"]["TreatmentInteractionType"];
|
|
24316
24581
|
Anon_e077e17ea982_3: components["schemas"]["Anon_02ecf48bed22_3"];
|
|
24317
24582
|
/** Format: date-time */
|
|
24318
24583
|
Anon_02ecf48bed22_3: string;
|
|
24319
|
-
Anon_4e04ec5cc4e6_8: components["schemas"]["
|
|
24320
|
-
Anon_9ac136edb99a_13: string;
|
|
24321
|
-
Anon_4e04ec5cc4e6_9: components["schemas"]["Anon_9ac136edb99a_14"];
|
|
24584
|
+
Anon_4e04ec5cc4e6_8: components["schemas"]["Anon_9ac136edb99a_14"];
|
|
24322
24585
|
Anon_9ac136edb99a_14: string;
|
|
24323
|
-
|
|
24586
|
+
Anon_4e04ec5cc4e6_9: components["schemas"]["Anon_9ac136edb99a_15"];
|
|
24324
24587
|
Anon_9ac136edb99a_15: string;
|
|
24325
|
-
|
|
24588
|
+
Anon_4e04ec5cc4e6_10: components["schemas"]["Anon_9ac136edb99a_16"];
|
|
24326
24589
|
Anon_9ac136edb99a_16: string;
|
|
24590
|
+
Anon_4e04ec5cc4e6_11: components["schemas"]["Anon_9ac136edb99a_17"];
|
|
24591
|
+
Anon_9ac136edb99a_17: string;
|
|
24327
24592
|
Anon_fb9ddeea992e_3: components["schemas"]["Anon_7cb541e84f22_31"];
|
|
24328
24593
|
Anon_7cb541e84f22_31: boolean;
|
|
24329
24594
|
Anon_a249e58b3222: components["schemas"]["Anon_c65c1fbd5acf_8"];
|
|
@@ -24352,8 +24617,8 @@ interface components {
|
|
|
24352
24617
|
Anon_39a43881005e_1: string | null;
|
|
24353
24618
|
Anon_96f9066c2fdc_24: components["schemas"]["Anon_00404e686415_27"];
|
|
24354
24619
|
Anon_00404e686415_27: string;
|
|
24355
|
-
Anon_4e04ec5cc4e6_12: components["schemas"]["
|
|
24356
|
-
|
|
24620
|
+
Anon_4e04ec5cc4e6_12: components["schemas"]["Anon_9ac136edb99a_18"];
|
|
24621
|
+
Anon_9ac136edb99a_18: string;
|
|
24357
24622
|
Anon_2fef49d17888: components["schemas"]["UserPlanContext"];
|
|
24358
24623
|
Anon_57796118d046_21: string;
|
|
24359
24624
|
Anon_57796118d046_22: string;
|
|
@@ -26048,8 +26313,8 @@ interface components {
|
|
|
26048
26313
|
event_type: components["schemas"]["Anon_57796118d046_72"];
|
|
26049
26314
|
source: components["schemas"]["Anon_eabbbb727ad3"];
|
|
26050
26315
|
tenant_id?: components["schemas"]["Anon_4e04ec5cc4e6_17"];
|
|
26051
|
-
user_id?: components["schemas"]["
|
|
26052
|
-
session_id?: components["schemas"]["
|
|
26316
|
+
user_id?: components["schemas"]["Anon_0a729b73253d_1"];
|
|
26317
|
+
session_id?: components["schemas"]["Anon_0a729b73253d_2"];
|
|
26053
26318
|
occurred_at: components["schemas"]["Anon_3c179513a5d9_19"];
|
|
26054
26319
|
request_id: components["schemas"]["Anon_57796118d046_73"];
|
|
26055
26320
|
attributes: components["schemas"]["Anon_5142f8473790_13"];
|
|
@@ -26065,8 +26330,8 @@ interface components {
|
|
|
26065
26330
|
Anon_be3e2585472d_3: string;
|
|
26066
26331
|
Anon_fb248bf5a9f7_10: string;
|
|
26067
26332
|
/** @default production */
|
|
26068
|
-
Anon_51cbbf69cb41_1: components["schemas"]["
|
|
26069
|
-
|
|
26333
|
+
Anon_51cbbf69cb41_1: components["schemas"]["Anon_9ac136edb99a_19"];
|
|
26334
|
+
Anon_9ac136edb99a_19: string;
|
|
26070
26335
|
Anon_2457cccd64aa_1: components["schemas"]["Anon_0eb2e3b6e08c_3"];
|
|
26071
26336
|
Anon_0eb2e3b6e08c_3: string;
|
|
26072
26337
|
/** @default true */
|
|
@@ -26476,7 +26741,7 @@ interface components {
|
|
|
26476
26741
|
/** @default [] */
|
|
26477
26742
|
Anon_3b6346b139c2: components["schemas"]["Anon_f836473839d1"];
|
|
26478
26743
|
Anon_f836473839d1: components["schemas"]["FieldDefinitionOutput"][];
|
|
26479
|
-
|
|
26744
|
+
Anon_9ac136edb99a_20: string;
|
|
26480
26745
|
/** @default false */
|
|
26481
26746
|
Anon_f56777819c8b_3: boolean;
|
|
26482
26747
|
Anon_44136fa355b3_1: unknown;
|
|
@@ -26533,8 +26798,8 @@ interface components {
|
|
|
26533
26798
|
/** @default 0 */
|
|
26534
26799
|
Anon_2aa59aec1f23_4: components["schemas"]["Anon_97cc9ecfdea9_26"];
|
|
26535
26800
|
Anon_97cc9ecfdea9_26: number;
|
|
26536
|
-
Anon_4e04ec5cc4e6_13: components["schemas"]["
|
|
26537
|
-
|
|
26801
|
+
Anon_4e04ec5cc4e6_13: components["schemas"]["Anon_9ac136edb99a_21"];
|
|
26802
|
+
Anon_9ac136edb99a_21: string;
|
|
26538
26803
|
Anon_9717c0445e52_3: components["schemas"]["Anon_ea288f4ef558_13"];
|
|
26539
26804
|
Anon_ea288f4ef558_13: number;
|
|
26540
26805
|
/** @default false */
|
|
@@ -26565,8 +26830,8 @@ interface components {
|
|
|
26565
26830
|
Anon_e7cb93d064a8_3: components["schemas"]["TrialLimitType"];
|
|
26566
26831
|
Anon_62c32913f8d0_3: components["schemas"]["Anon_3b260614cba4_3"];
|
|
26567
26832
|
Anon_3b260614cba4_3: number | null;
|
|
26568
|
-
Anon_4e04ec5cc4e6_14: components["schemas"]["
|
|
26569
|
-
|
|
26833
|
+
Anon_4e04ec5cc4e6_14: components["schemas"]["Anon_9ac136edb99a_22"];
|
|
26834
|
+
Anon_9ac136edb99a_22: string;
|
|
26570
26835
|
Anon_9717c0445e52_4: components["schemas"]["Anon_ea288f4ef558_15"];
|
|
26571
26836
|
Anon_ea288f4ef558_15: number;
|
|
26572
26837
|
/** @default signup */
|
|
@@ -26601,8 +26866,8 @@ interface components {
|
|
|
26601
26866
|
Anon_b0c21ae8f968_5: string | null;
|
|
26602
26867
|
/** @default time */
|
|
26603
26868
|
Anon_e7cb93d064a8_4: components["schemas"]["TrialLimitType"];
|
|
26604
|
-
Anon_4e04ec5cc4e6_15: components["schemas"]["
|
|
26605
|
-
|
|
26869
|
+
Anon_4e04ec5cc4e6_15: components["schemas"]["Anon_9ac136edb99a_23"];
|
|
26870
|
+
Anon_9ac136edb99a_23: string;
|
|
26606
26871
|
Anon_9717c0445e52_5: components["schemas"]["Anon_ea288f4ef558_16"];
|
|
26607
26872
|
Anon_ea288f4ef558_16: number;
|
|
26608
26873
|
Anon_711dc9708535_9: components["schemas"]["Anon_11c9ad639448_1"];
|
|
@@ -26835,8 +27100,8 @@ interface components {
|
|
|
26835
27100
|
Anon_c72f37d06352: string[];
|
|
26836
27101
|
Anon_7734a34f21b6: components["schemas"]["Anon_d573fc9779f1"];
|
|
26837
27102
|
Anon_d573fc9779f1: components["schemas"]["Anon_0eb2e3b6e08c_3"][];
|
|
26838
|
-
Anon_60e62c272481: components["schemas"]["
|
|
26839
|
-
|
|
27103
|
+
Anon_60e62c272481: components["schemas"]["Anon_9ac136edb99a_24"][];
|
|
27104
|
+
Anon_9ac136edb99a_24: string;
|
|
26840
27105
|
Anon_492895348dbd_12: number;
|
|
26841
27106
|
Anon_3b8fc1cd9e8b_19: string;
|
|
26842
27107
|
Anon_829616683b56: components["schemas"]["ExperimentDecisionFinding"][];
|
|
@@ -26866,7 +27131,7 @@ interface components {
|
|
|
26866
27131
|
Anon_052253c90fb3_1: components["schemas"]["Anon_681004346c78_21"];
|
|
26867
27132
|
Anon_681004346c78_21: string[];
|
|
26868
27133
|
Anon_544a3bc583b1: components["schemas"]["ExperimentVariantOutput"][];
|
|
26869
|
-
|
|
27134
|
+
Anon_9ac136edb99a_25: string;
|
|
26870
27135
|
/** @default 0.5 */
|
|
26871
27136
|
Anon_7e4345d1e208_1: number;
|
|
26872
27137
|
/** @default false */
|
|
@@ -27231,8 +27496,8 @@ interface components {
|
|
|
27231
27496
|
/** @enum {string} */
|
|
27232
27497
|
Anon_fc6def941f46_1: "template" | "slot";
|
|
27233
27498
|
Anon_57796118d046_59: string;
|
|
27234
|
-
Anon_4e04ec5cc4e6_16: components["schemas"]["
|
|
27235
|
-
|
|
27499
|
+
Anon_4e04ec5cc4e6_16: components["schemas"]["Anon_9ac136edb99a_26"];
|
|
27500
|
+
Anon_9ac136edb99a_26: string;
|
|
27236
27501
|
Anon_c65e883b4e4a: {
|
|
27237
27502
|
count: components["schemas"]["Anon_492895348dbd_13"];
|
|
27238
27503
|
period: components["schemas"]["Anon_e78ca35ebc33_1"];
|
|
@@ -27942,8 +28207,8 @@ interface components {
|
|
|
27942
28207
|
Anon_7cb541e84f22_80: boolean;
|
|
27943
28208
|
Anon_24a0ac3f017b_4: components["schemas"]["Anon_11c9ad639448_1"];
|
|
27944
28209
|
/** @default production */
|
|
27945
|
-
Anon_a2f8ac1ffbf6: components["schemas"]["
|
|
27946
|
-
|
|
28210
|
+
Anon_a2f8ac1ffbf6: components["schemas"]["Anon_9ac136edb99a_27"];
|
|
28211
|
+
Anon_9ac136edb99a_27: string;
|
|
27947
28212
|
Anon_a607427cce0b: components["schemas"]["AuditActorType"];
|
|
27948
28213
|
/** @default null */
|
|
27949
28214
|
Anon_f7fb9744a6e4_25: components["schemas"]["Anon_f090cb615c84_47"];
|
|
@@ -28010,12 +28275,12 @@ interface components {
|
|
|
28010
28275
|
Anon_57796118d046_72: string;
|
|
28011
28276
|
/** @default sdk */
|
|
28012
28277
|
Anon_eabbbb727ad3: components["schemas"]["EventSource"];
|
|
28013
|
-
Anon_4e04ec5cc4e6_17: components["schemas"]["
|
|
28014
|
-
Anon_9ac136edb99a_27: string;
|
|
28015
|
-
Anon_0a729b73253d: components["schemas"]["Anon_9ac136edb99a_28"];
|
|
28278
|
+
Anon_4e04ec5cc4e6_17: components["schemas"]["Anon_9ac136edb99a_28"];
|
|
28016
28279
|
Anon_9ac136edb99a_28: string;
|
|
28017
28280
|
Anon_0a729b73253d_1: components["schemas"]["Anon_9ac136edb99a_29"];
|
|
28018
28281
|
Anon_9ac136edb99a_29: string;
|
|
28282
|
+
Anon_0a729b73253d_2: components["schemas"]["Anon_9ac136edb99a_30"];
|
|
28283
|
+
Anon_9ac136edb99a_30: string;
|
|
28019
28284
|
/** Format: date-time */
|
|
28020
28285
|
Anon_3c179513a5d9_19: string;
|
|
28021
28286
|
Anon_57796118d046_73: string;
|
|
@@ -28057,8 +28322,8 @@ interface components {
|
|
|
28057
28322
|
Anon_39a43881005e_3: string | null;
|
|
28058
28323
|
Anon_96f9066c2fdc_63: components["schemas"]["Anon_00404e686415_67"];
|
|
28059
28324
|
Anon_00404e686415_67: string;
|
|
28060
|
-
Anon_4e04ec5cc4e6_18: components["schemas"]["
|
|
28061
|
-
|
|
28325
|
+
Anon_4e04ec5cc4e6_18: components["schemas"]["Anon_9ac136edb99a_31"];
|
|
28326
|
+
Anon_9ac136edb99a_31: string;
|
|
28062
28327
|
Anon_f104771c9d3e: components["schemas"]["UserPlanContextOutput"];
|
|
28063
28328
|
Anon_57796118d046_76: string;
|
|
28064
28329
|
Anon_57796118d046_77: string;
|
|
@@ -28231,7 +28496,7 @@ interface components {
|
|
|
28231
28496
|
description?: components["schemas"]["Anon_ee9224780226_6"];
|
|
28232
28497
|
};
|
|
28233
28498
|
FieldDefinitionOutput: {
|
|
28234
|
-
name: components["schemas"]["
|
|
28499
|
+
name: components["schemas"]["Anon_9ac136edb99a_20"];
|
|
28235
28500
|
field_type: components["schemas"]["TemplateFieldType"];
|
|
28236
28501
|
required: components["schemas"]["Anon_f56777819c8b_3"];
|
|
28237
28502
|
default_value?: components["schemas"]["Anon_44136fa355b3_1"];
|
|
@@ -28404,7 +28669,7 @@ interface components {
|
|
|
28404
28669
|
metadata: components["schemas"]["Anon_f27cb44c32f6_22"];
|
|
28405
28670
|
};
|
|
28406
28671
|
ExperimentVariantOutput: {
|
|
28407
|
-
variant_id: components["schemas"]["
|
|
28672
|
+
variant_id: components["schemas"]["Anon_9ac136edb99a_25"];
|
|
28408
28673
|
name: components["schemas"]["Anon_52ba84a4bbf3_2"];
|
|
28409
28674
|
weight: components["schemas"]["Anon_7e4345d1e208_1"];
|
|
28410
28675
|
is_control: components["schemas"]["Anon_f56777819c8b_4"];
|
|
@@ -30958,10 +31223,51 @@ declare const MESSAGE_SURFACE_TEMPLATE_IDS: readonly string[];
|
|
|
30958
31223
|
*/
|
|
30959
31224
|
declare const DEFAULT_THEME: Readonly<RevTurbineTheme>;
|
|
30960
31225
|
/**
|
|
30961
|
-
*
|
|
30962
|
-
*
|
|
31226
|
+
* Dark counterpart to {@link DEFAULT_THEME}.
|
|
31227
|
+
*
|
|
31228
|
+
* Plan 233 TASK-6. The SDK had no sanctioned dark story at all, so a customer
|
|
31229
|
+
* running a dark app either lived with white modals or — as the escalated one
|
|
31230
|
+
* did — injected a palette into the Playbook object and re-initialized the SDK
|
|
31231
|
+
* on every toggle. Shipping the palette is what makes `colorScheme` a swap
|
|
31232
|
+
* rather than a rebuild.
|
|
31233
|
+
*
|
|
31234
|
+
* Only the colors differ. Typography, shape and shadows are scheme-independent,
|
|
31235
|
+
* so they are inherited from {@link DEFAULT_THEME} rather than duplicated —
|
|
31236
|
+
* a second copy would drift the moment either is edited.
|
|
31237
|
+
*
|
|
31238
|
+
* Contrast: every text-on-surface pair here clears WCAG AA at body size against
|
|
31239
|
+
* its intended background.
|
|
31240
|
+
*
|
|
31241
|
+
* @public
|
|
30963
31242
|
*/
|
|
30964
|
-
declare
|
|
31243
|
+
declare const DARK_THEME: Readonly<RevTurbineTheme>;
|
|
31244
|
+
/**
|
|
31245
|
+
* The colour scheme a theme resolves against.
|
|
31246
|
+
*
|
|
31247
|
+
* `'system'` follows the OS/browser `prefers-color-scheme` and keeps following
|
|
31248
|
+
* it as the user changes it.
|
|
31249
|
+
*
|
|
31250
|
+
* @public
|
|
31251
|
+
*/
|
|
31252
|
+
type RevTurbineColorScheme = 'light' | 'dark' | 'system';
|
|
31253
|
+
/**
|
|
31254
|
+
* The base palette for a resolved scheme.
|
|
31255
|
+
*
|
|
31256
|
+
* @param scheme - `'light'` or `'dark'`. Resolve `'system'` before calling.
|
|
31257
|
+
* @returns The matching base theme.
|
|
31258
|
+
* @public
|
|
31259
|
+
*/
|
|
31260
|
+
declare function baseThemeForScheme(scheme: 'light' | 'dark'): Readonly<RevTurbineTheme>;
|
|
31261
|
+
/**
|
|
31262
|
+
* Deep-merge a partial theme input with a base theme, producing a complete
|
|
31263
|
+
* {@link RevTurbineTheme}.
|
|
31264
|
+
*
|
|
31265
|
+
* @param input - Partial tokens. Every omitted token falls back to `base`.
|
|
31266
|
+
* @param base - The palette to merge over. Defaults to {@link DEFAULT_THEME};
|
|
31267
|
+
* pass {@link DARK_THEME} (or use {@link baseThemeForScheme}) to resolve a
|
|
31268
|
+
* partial brand theme against the dark palette instead.
|
|
31269
|
+
*/
|
|
31270
|
+
declare function mergeTheme(input?: RevTurbineThemeInput | null, base?: Readonly<RevTurbineTheme>): RevTurbineTheme;
|
|
30965
31271
|
|
|
30966
31272
|
/** Clear persisted theme (useful on identity reset). */
|
|
30967
31273
|
declare function clearPersistedTheme(tenantId: string, storage?: RevTurbineStorage): void;
|
|
@@ -31182,7 +31488,7 @@ declare class RevTurbineServer {
|
|
|
31182
31488
|
type BootstrapPlacementInput = Omit<RevTurbinePlacementDecisionInput, 'placementId'> & {
|
|
31183
31489
|
placement: RevTurbinePlacementConfig;
|
|
31184
31490
|
};
|
|
31185
|
-
type RevTurbineProviderProps<TUser extends RevTurbineUserContext = RevTurbineUserContext> = {
|
|
31491
|
+
type RevTurbineProviderProps<TUser extends RevTurbineUserContext = RevTurbineUserContext, TOptions extends RevTurbineInitInputOptions = RevTurbineInitInputOptions> = {
|
|
31186
31492
|
/**
|
|
31187
31493
|
* SDK initialization options. Accepts optional provider or factory.
|
|
31188
31494
|
*
|
|
@@ -31192,7 +31498,7 @@ type RevTurbineProviderProps<TUser extends RevTurbineUserContext = RevTurbineUse
|
|
|
31192
31498
|
* in an un-annotated `useMemo`, which is precisely where TypeScript's own
|
|
31193
31499
|
* excess-property check stops applying.
|
|
31194
31500
|
*/
|
|
31195
|
-
options:
|
|
31501
|
+
options: TOptions & ExactInitOptions<TOptions> & {
|
|
31196
31502
|
user?: Exact<RevTurbineUserContext, TUser>;
|
|
31197
31503
|
};
|
|
31198
31504
|
/** Placements to bootstrap (preload decisions) on mount. */
|
|
@@ -31207,6 +31513,19 @@ type RevTurbineProviderProps<TUser extends RevTurbineUserContext = RevTurbineUse
|
|
|
31207
31513
|
* Omit to disable. Memoize an object value to avoid re-installing.
|
|
31208
31514
|
*/
|
|
31209
31515
|
domCapture?: boolean | AnnotatedCaptureOptions;
|
|
31516
|
+
/**
|
|
31517
|
+
* Light/dark palette for rendered placements (plan 233 TASK-6).
|
|
31518
|
+
*
|
|
31519
|
+
* Deliberately a provider prop rather than an SDK init option: `options`
|
|
31520
|
+
* identity drives re-initialization, so a scheme toggle placed there would
|
|
31521
|
+
* rebuild the SDK on every switch. That was the customer workaround this
|
|
31522
|
+
* replaces. Defaults to `'system'`, which follows `prefers-color-scheme` and
|
|
31523
|
+
* keeps following it.
|
|
31524
|
+
*
|
|
31525
|
+
* A branding theme still applies on top — the scheme only selects which base
|
|
31526
|
+
* palette its tokens merge over.
|
|
31527
|
+
*/
|
|
31528
|
+
colorScheme?: RevTurbineColorScheme;
|
|
31210
31529
|
/** React children. */
|
|
31211
31530
|
children: React__default.ReactNode;
|
|
31212
31531
|
};
|
|
@@ -31225,12 +31544,92 @@ type RevTurbineProviderProps<TUser extends RevTurbineUserContext = RevTurbineUse
|
|
|
31225
31544
|
* </RevTurbineProvider>
|
|
31226
31545
|
* ```
|
|
31227
31546
|
*/
|
|
31228
|
-
declare function RevTurbineProvider<TUser extends RevTurbineUserContext = RevTurbineUserContext>({ options, bootstrapPlacements, domCapture, children, }: RevTurbineProviderProps<TUser>): React__default.JSX.Element;
|
|
31547
|
+
declare function RevTurbineProvider<TUser extends RevTurbineUserContext = RevTurbineUserContext, TOptions extends RevTurbineInitInputOptions = RevTurbineInitInputOptions>({ options, bootstrapPlacements, domCapture, colorScheme, children, }: RevTurbineProviderProps<TUser, TOptions>): React__default.JSX.Element;
|
|
31548
|
+
|
|
31549
|
+
/**
|
|
31550
|
+
* Init status — the one surface that is reachable when the SDK is not.
|
|
31551
|
+
*
|
|
31552
|
+
* Plan 233 TASK-2. Every diagnostic the SDK ships (`getPolicy()`,
|
|
31553
|
+
* `getExportedConfig()`, `getTargeting()`, `getTelemetryCounters()`,
|
|
31554
|
+
* `validateUiPathResolvers()`, `explainPlacementDecision()`) is an instance
|
|
31555
|
+
* method, so all of them are unreachable in precisely the failure mode that
|
|
31556
|
+
* matters most: the one where the instance was never created. When init throws,
|
|
31557
|
+
* `useRevTurbine().sdk` is `null` and there is nothing left to ask.
|
|
31558
|
+
*
|
|
31559
|
+
* The provider already caught the error and logged it, but a `console.error` in
|
|
31560
|
+
* an app that renders correctly without us is indistinguishable from silence —
|
|
31561
|
+
* a customer ran dead for 36 hours and found it only by pasting a raw browser
|
|
31562
|
+
* console log. So the status lives on the context value, beside `sdk`, and is
|
|
31563
|
+
* populated exactly when `sdk` is not.
|
|
31564
|
+
*/
|
|
31565
|
+
/**
|
|
31566
|
+
* Where initialization was when it failed. Useful because the phases fail for
|
|
31567
|
+
* different reasons: `construct` is almost always malformed options, `theme`
|
|
31568
|
+
* a branding/network problem, `bootstrap` a placement that does not resolve.
|
|
31569
|
+
*
|
|
31570
|
+
* @public
|
|
31571
|
+
*/
|
|
31572
|
+
type RevTurbineInitPhase = 'construct' | 'identify' | 'theme' | 'placements' | 'bootstrap';
|
|
31573
|
+
/**
|
|
31574
|
+
* The provider's initialization outcome, readable with no SDK instance.
|
|
31575
|
+
*
|
|
31576
|
+
* `ok: true` with no other fields is the healthy state. On failure every field
|
|
31577
|
+
* is populated — `remediation` is never empty, because a diagnostic that only
|
|
31578
|
+
* restates the error leaves the reader exactly where they started.
|
|
31579
|
+
*
|
|
31580
|
+
* @public
|
|
31581
|
+
*/
|
|
31582
|
+
interface RevTurbineInitStatus {
|
|
31583
|
+
/** `false` once initialization has thrown; `true` while healthy. */
|
|
31584
|
+
readonly ok: boolean;
|
|
31585
|
+
/** Which phase threw. Absent while healthy. */
|
|
31586
|
+
readonly phase?: RevTurbineInitPhase;
|
|
31587
|
+
/** The underlying error message, unmodified. Absent while healthy. */
|
|
31588
|
+
readonly message?: string;
|
|
31589
|
+
/** What to actually change, in the caller's own code. Absent while healthy. */
|
|
31590
|
+
readonly remediation?: string;
|
|
31591
|
+
}
|
|
31592
|
+
/** The healthy status. Frozen so a consumer cannot mutate the shared default. */
|
|
31593
|
+
declare const INIT_STATUS_OK: RevTurbineInitStatus;
|
|
31594
|
+
/**
|
|
31595
|
+
* Resolve the remediation for a thrown init error.
|
|
31596
|
+
*
|
|
31597
|
+
* @param message - The error message as thrown.
|
|
31598
|
+
* @returns Actionable guidance. Never empty.
|
|
31599
|
+
* @public
|
|
31600
|
+
*/
|
|
31601
|
+
declare function remediationFor(message: string): string;
|
|
31602
|
+
/**
|
|
31603
|
+
* Build the failure status for a thrown init error.
|
|
31604
|
+
*
|
|
31605
|
+
* @param phase - The phase that was running when the error was thrown.
|
|
31606
|
+
* @param error - The thrown value; non-Errors are stringified.
|
|
31607
|
+
* @returns A fully-populated failure status.
|
|
31608
|
+
* @public
|
|
31609
|
+
*/
|
|
31610
|
+
declare function initStatusForError(phase: RevTurbineInitPhase, error: unknown): RevTurbineInitStatus;
|
|
31229
31611
|
|
|
31230
31612
|
type RevTurbineContextValue = {
|
|
31231
31613
|
sdk: RevTurbineCustomerSdk | null;
|
|
31232
31614
|
isReady: boolean;
|
|
31233
31615
|
error: string;
|
|
31616
|
+
/**
|
|
31617
|
+
* Initialization outcome, readable even when {@link sdk} is `null`.
|
|
31618
|
+
*
|
|
31619
|
+
* Every other diagnostic the SDK exposes is an instance method, so all of
|
|
31620
|
+
* them are unreachable when init failed — which is the failure that matters
|
|
31621
|
+
* most (plan 233 TASK-2). On failure this carries the phase, the underlying
|
|
31622
|
+
* message, and a non-empty `remediation` naming what to change.
|
|
31623
|
+
*/
|
|
31624
|
+
initStatus: RevTurbineInitStatus;
|
|
31625
|
+
/**
|
|
31626
|
+
* The colour scheme currently painting placements — `'light'` or `'dark'`,
|
|
31627
|
+
* with `'system'` already resolved against `prefers-color-scheme`.
|
|
31628
|
+
*
|
|
31629
|
+
* Read-only: set it with the provider's `colorScheme` prop. Changing it
|
|
31630
|
+
* re-renders placements without re-initializing the SDK (plan 233 TASK-6).
|
|
31631
|
+
*/
|
|
31632
|
+
colorScheme: 'light' | 'dark';
|
|
31234
31633
|
/**
|
|
31235
31634
|
* Update the SDK's user context. Merges the provided fields into the
|
|
31236
31635
|
* existing context and triggers segment re-evaluation.
|
|
@@ -31241,6 +31640,39 @@ type RevTurbineContextValue = {
|
|
|
31241
31640
|
};
|
|
31242
31641
|
declare function useRevTurbine(): RevTurbineContextValue;
|
|
31243
31642
|
|
|
31643
|
+
/**
|
|
31644
|
+
* Development-only visual surface for a failed SDK initialization.
|
|
31645
|
+
*
|
|
31646
|
+
* Plan 233 TASK-2. The provider renders this beside `children` when init threw
|
|
31647
|
+
* and the build is not production. It exists because the app renders correctly
|
|
31648
|
+
* without RevTurbine **by design** — a failed init changes nothing a developer
|
|
31649
|
+
* can see, so the only prior signal was one `console.error` line competing with
|
|
31650
|
+
* everything else in the log. That cost a customer 36 hours.
|
|
31651
|
+
*
|
|
31652
|
+
* Deliberately self-contained: inline styles, no theme tokens, no portal. The
|
|
31653
|
+
* theme itself resolves during init, so a diagnostic that depended on it would
|
|
31654
|
+
* be least reliable exactly when it is needed. It must never throw — a crashing
|
|
31655
|
+
* error reporter is worse than none.
|
|
31656
|
+
*
|
|
31657
|
+
* @public
|
|
31658
|
+
*/
|
|
31659
|
+
interface InitFailureDiagnosticProps {
|
|
31660
|
+
/** The failed status. Rendering is the caller's decision; this only draws. */
|
|
31661
|
+
status: RevTurbineInitStatus;
|
|
31662
|
+
}
|
|
31663
|
+
/**
|
|
31664
|
+
* Render a development-only banner describing a failed SDK initialization.
|
|
31665
|
+
*
|
|
31666
|
+
* Returns `null` for a healthy status, so the caller can render it
|
|
31667
|
+
* unconditionally in development without branching.
|
|
31668
|
+
*
|
|
31669
|
+
* @public
|
|
31670
|
+
*/
|
|
31671
|
+
declare function InitFailureDiagnostic({ status }: InitFailureDiagnosticProps): React__default.JSX.Element | null;
|
|
31672
|
+
declare namespace InitFailureDiagnostic {
|
|
31673
|
+
var displayName: string;
|
|
31674
|
+
}
|
|
31675
|
+
|
|
31244
31676
|
/**
|
|
31245
31677
|
* Options for the {@link usePlacement} hook.
|
|
31246
31678
|
*/
|
|
@@ -31721,14 +32153,38 @@ type UseSurfaceSlotOptions = {
|
|
|
31721
32153
|
acceptedComponentTypes?: readonly RevTurbineComponentType[];
|
|
31722
32154
|
/** Callback when CTA is clicked. Receives the parsed ui_path. */
|
|
31723
32155
|
onCtaClick?: (uiPath: PlacementUiPath) => void;
|
|
32156
|
+
/**
|
|
32157
|
+
* Called after the user dismisses the placement (plan 233 TASK-9).
|
|
32158
|
+
*
|
|
32159
|
+
* Fires once per dismissal, after the interaction is recorded.
|
|
32160
|
+
*/
|
|
32161
|
+
onDismissed?: () => void;
|
|
31724
32162
|
/** Custom CSS class for the rendered placement. */
|
|
31725
32163
|
className?: string;
|
|
31726
32164
|
/** Custom inline styles for the rendered placement. */
|
|
31727
32165
|
style?: React__default.CSSProperties;
|
|
31728
32166
|
};
|
|
32167
|
+
/**
|
|
32168
|
+
* Why a slot is rendering nothing.
|
|
32169
|
+
*
|
|
32170
|
+
* `null` while visible. The distinction matters because a slot that always
|
|
32171
|
+
* renders `fallback` when `!visible` shows its fallback content the instant the
|
|
32172
|
+
* user dismisses — a "ghost" that reappears in place of the thing just closed.
|
|
32173
|
+
* The escalated integration needed three attempts and a MutationObserver to
|
|
32174
|
+
* work around it (plan 233 TASK-9).
|
|
32175
|
+
*
|
|
32176
|
+
* @public
|
|
32177
|
+
*/
|
|
32178
|
+
type SurfaceSlotHiddenReason = 'dismissed' | 'no_match' | null;
|
|
31729
32179
|
type UseSurfaceSlotResult = UsePlacementResult & {
|
|
31730
32180
|
/** Pre-built React element that renders the placement using the correct slot type. */
|
|
31731
32181
|
element: React__default.ReactNode;
|
|
32182
|
+
/**
|
|
32183
|
+
* Why nothing is rendering — `'dismissed'`, `'no_match'`, or `null` when
|
|
32184
|
+
* visible. Lets a slot distinguish "the user closed this" from "nothing
|
|
32185
|
+
* matched", which are the same `visible: false` but want opposite UI.
|
|
32186
|
+
*/
|
|
32187
|
+
hiddenReason: SurfaceSlotHiddenReason;
|
|
31732
32188
|
};
|
|
31733
32189
|
/**
|
|
31734
32190
|
* Hook that combines `usePlacement` decision loading with automatic
|
|
@@ -31864,11 +32320,22 @@ type FixedSurfaceSlotProps = {
|
|
|
31864
32320
|
personalization?: PersonalizationContext;
|
|
31865
32321
|
registry?: PlacementTypeRegistry;
|
|
31866
32322
|
onCtaClick?: (uiPath: PlacementUiPath) => void;
|
|
32323
|
+
/**
|
|
32324
|
+
* Called after the user dismisses the placement (plan 233 TASK-9).
|
|
32325
|
+
*
|
|
32326
|
+
* `MessageSurfaceSlot` advertised this prop but never fired it — the handler
|
|
32327
|
+
* was built and then discarded. It is wired for both slots now.
|
|
32328
|
+
*/
|
|
32329
|
+
onDismissed?: () => void;
|
|
31867
32330
|
className?: string;
|
|
31868
32331
|
style?: React__default.CSSProperties;
|
|
31869
32332
|
/**
|
|
31870
|
-
* Content to display when no placement
|
|
31871
|
-
*
|
|
32333
|
+
* Content to display when **no placement matches**.
|
|
32334
|
+
*
|
|
32335
|
+
* NOT shown after the user dismisses. Rendering the fallback on dismissal
|
|
32336
|
+
* puts something back in the space the user just closed — the escalated
|
|
32337
|
+
* integration called it a ghost popup and needed a MutationObserver to
|
|
32338
|
+
* suppress it (plan 233 TASK-9).
|
|
31872
32339
|
*/
|
|
31873
32340
|
fallback?: React__default.ReactNode;
|
|
31874
32341
|
};
|
|
@@ -31890,7 +32357,7 @@ type FixedSurfaceSlotProps = {
|
|
|
31890
32357
|
* />
|
|
31891
32358
|
* ```
|
|
31892
32359
|
*/
|
|
31893
|
-
declare function FixedSurfaceSlot({ id, name, surfaceTemplateIds, metadata, fallback, ...options }: FixedSurfaceSlotProps): React__default.JSX.Element;
|
|
32360
|
+
declare function FixedSurfaceSlot({ id, name, surfaceTemplateIds, metadata, fallback, ...options }: FixedSurfaceSlotProps): React__default.JSX.Element | null;
|
|
31894
32361
|
declare namespace FixedSurfaceSlot {
|
|
31895
32362
|
var displayName: string;
|
|
31896
32363
|
}
|
|
@@ -32770,14 +33237,40 @@ interface UseAddonsResult {
|
|
|
32770
33237
|
/** React access to the active user's public, segment-eligible add-on catalog. */
|
|
32771
33238
|
declare function useAddons(): UseAddonsResult;
|
|
32772
33239
|
|
|
33240
|
+
/**
|
|
33241
|
+
* Whether a {@link RevTurbineThemeProvider} is already mounted above the caller.
|
|
33242
|
+
*
|
|
33243
|
+
* Used by {@link RevTurbineProvider} to decide whether to mount its own. Exposed
|
|
33244
|
+
* so an app can make the same check — e.g. a design-system wrapper that only
|
|
33245
|
+
* supplies a theme when nothing upstream has.
|
|
33246
|
+
*
|
|
33247
|
+
* @returns `true` when an ancestor mounted a theme provider.
|
|
33248
|
+
* @public
|
|
33249
|
+
*/
|
|
33250
|
+
declare function useRevTurbineThemeProviderPresent(): boolean;
|
|
32773
33251
|
interface RevTurbineThemeProviderProps {
|
|
32774
|
-
|
|
33252
|
+
/**
|
|
33253
|
+
* Theme tokens. A **partial** theme is fine — every token you omit falls back
|
|
33254
|
+
* to {@link DEFAULT_THEME}, so `{ colors: { primary: '#f00' } }` is a complete,
|
|
33255
|
+
* valid value (plan 233 TASK-4).
|
|
33256
|
+
*/
|
|
33257
|
+
theme: RevTurbineThemeInput;
|
|
32775
33258
|
children: React__default.ReactNode;
|
|
32776
33259
|
}
|
|
32777
33260
|
/**
|
|
32778
33261
|
* Provides the active {@link RevTurbineTheme} to all child SDK components.
|
|
32779
33262
|
* Typically rendered internally by {@link RevTurbineProvider} — consumers
|
|
32780
33263
|
* don't need to add this manually.
|
|
33264
|
+
*
|
|
33265
|
+
* The theme is merged over {@link DEFAULT_THEME} here, so
|
|
33266
|
+
* {@link useRevTurbineTheme} always returns a complete theme.
|
|
33267
|
+
*
|
|
33268
|
+
* That merge used to be the caller's job while the prop was typed as a complete
|
|
33269
|
+
* `RevTurbineTheme`, which made a partial theme a runtime crash rather than a
|
|
33270
|
+
* type error: components read `theme.typography.fontSize` and got `undefined`
|
|
33271
|
+
* on a theme that only set colors. `RevTurbineThemeInput` has always documented
|
|
33272
|
+
* itself as "all values are optional — the SDK deep-merges with defaults"; this
|
|
33273
|
+
* is the component honouring that.
|
|
32781
33274
|
*/
|
|
32782
33275
|
declare function RevTurbineThemeProvider({ theme, children }: RevTurbineThemeProviderProps): React__default.JSX.Element;
|
|
32783
33276
|
/**
|
|
@@ -32786,5 +33279,18 @@ declare function RevTurbineThemeProvider({ theme, children }: RevTurbineThemePro
|
|
|
32786
33279
|
*/
|
|
32787
33280
|
declare function useRevTurbineTheme(): RevTurbineTheme;
|
|
32788
33281
|
|
|
32789
|
-
export { ANALYTICS_ANNOTATION_KINDS, ANALYTICS_DATE_RANGE_FILTER_VALUE_TYPE, ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot as AgentConnectorComponent, AgentConnectorSlot, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsAnnotationKindSchema, AnalyticsAnnotationMarkerSchema, AnalyticsAnnotationRequestSchema, AnalyticsAnnotationResponseSchema, AnalyticsAnnotationSchema, AnalyticsAnnotationSourceSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogAnnotationKindSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogMetricValidatedSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareDeltaSchema, AnalyticsCompareExperimentSchema, AnalyticsCompareModeSchema, AnalyticsCompareSegmentSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsPeriodCompareModeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryOverridesSchema, 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, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BUILT_IN_TEMPLATE_COMPONENT_TYPES, BannerSlot as BannerComponent, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot as ButtonComponent, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot as CliComponent, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ComponentTypeSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot as CreditBalanceComponent, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, 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, EMITTABLE_PLATFORM_EVENT_NAMES, ENTITLEMENT_STATUS_VALUES, EVENT_PAYLOAD_CONTRACTS, EVENT_PAYLOAD_EVENT_NAMES, EVENT_PREFIX_FAMILIES, EmailPreviewSlot as EmailPreviewComponent, EmailPreviewSlot, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, 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, ExperimentAnalysisDefinitionSchema, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentAssignmentFactSchema, ExperimentAssignmentSourceSchema, ExperimentDecisionFindingCodeSchema, ExperimentDecisionPolicySchema, ExperimentDecisionPolicyVersionError, ExperimentDecisionRecordSchema, ExperimentDecisionTypeSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricEvidencePlanSchema, 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, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot as FullPageComponent, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot as InPageComponent, InPageSlot, InPageSurface, IngestedEventSchema, InlineCardPlacement, InlineEmbedSlot as InlineEmbedComponent, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MAX_TREATMENT_INTERACTIONS_PER_BATCH, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalSlot as ModalComponent, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, ObservationMaturitySchema, 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, 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, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, PushPreviewSlot as PushPreviewComponent, PushPreviewSlot, QuotaMeterSlot as QuotaMeterComponent, 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, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, SDK_SERVER_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, SurfaceSlotComponent as Slot, SmsPreviewSlot as SmsPreviewComponent, SmsPreviewSlot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot as ToastComponent, ToastSlot, ToastSurface, TooltipSlot as TooltipComponent, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionRequestSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WEBHOOK_DERIVED_EVENT_NAMES, WarGameCapabilityRequirementsSchema, WarGameCategorySchema, WarGameGradeSchema, WarGameOracleSchema, WarGameQualificationLevelSchema, WarGameScenarioSchema, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, assertExperimentDecisionPolicyUpdateAllowed, bridgeUiPathResolversIntoRegistry, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectAssignmentFactDeclarations, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, composeEffectiveExperimentContext, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCompositeExperimentProvider, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, 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, formatCurrencyMinorUnits, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isAnalyticsDateRangeFilterValue, isBrowser, isExperimentAssignmentFactDeclaration, isLegacyDateRangeArray, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, namespacePlatformCollision, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, registerServerActionResolvers, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveComponentType, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useAddons, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, usePlans, useRevTurbine, useRevTurbineTheme, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validateEventPayload, validatePlacementThresholdWarnings };
|
|
32790
|
-
export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps as AgentConnectorComponentProps, AgentConnectorSlotProps, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsAnnotation, AnalyticsAnnotationKind, AnalyticsAnnotationMarker, AnalyticsAnnotationRequest, AnalyticsAnnotationResponse, AnalyticsAnnotationSource, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogAnnotationKind, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogMetricValidated, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareDelta, AnalyticsCompareExperiment, AnalyticsCompareMode, AnalyticsCompareSegment, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDateRangeFilterValue, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsPeriodCompareMode, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryOverrides, 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, AssignmentFactUnit, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerSlotProps as BannerComponentProps, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps as ButtonComponentProps, ButtonSlotProps, ButtonSurfaceProps, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps as CliComponentProps, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, CompileAnalyticsDraftOptions, ComponentType, CompositeExperimentProviderOptions, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps as CreditBalanceComponentProps, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DefaultTemplateIds, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DomainProviderResolutionInput, DriftReport, EffectiveUserContextResolution, EligibleAddon, EligiblePlan, EligiblePrice, EmittablePlatformEventName, EnforcementAction, EnforcementMode, EngagementAreaProps, 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, EventPayloadContract, EventPayloadContractMap, EventPayloadInput, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisDefinition, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentFact, ExperimentAssignmentFactDeclaration, ExperimentAssignmentFactMetadataCarrier, ExperimentAssignmentProvider, ExperimentAssignmentSource, ExperimentDecisionFindingCode, ExperimentDecisionPolicy, ExperimentDecisionRecord, ExperimentDecisionType, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricEvidencePlan, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantNonAssignmentReason, ExperimentVariantSelection, ExperimentVariantTarget, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps as FullPageComponentProps, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps as InPageComponentProps, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InlineCardPlacementProps, InlineEmbedSlotProps as InlineEmbedComponentProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalSlotProps as ModalComponentProps, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, ObservationMaturity, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, 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, PlatformEventName, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, QuotaMeterSlotProps as QuotaMeterComponentProps, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineComponentType, 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, ServerActionContext, ServerActionHandler, ServerActionMap, ServerActionResult, 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 as ToastComponentProps, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps as TooltipComponentProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionBatch, TreatmentInteractionInput, TreatmentInteractionRequest, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseAddonsResult, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UsePlansResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WarGameCapabilityRequirements, WarGameCategory, WarGameGrade, WarGameOracle, WarGameQualificationLevel, WarGameScenario, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|
|
33282
|
+
/**
|
|
33283
|
+
* Resolve a {@link RevTurbineColorScheme} to the concrete scheme to paint.
|
|
33284
|
+
*
|
|
33285
|
+
* `'system'` tracks `prefers-color-scheme` and keeps tracking it: a user
|
|
33286
|
+
* flipping their OS theme updates the resolved value without a remount, which
|
|
33287
|
+
* is the difference between following the system and sampling it once at init.
|
|
33288
|
+
*
|
|
33289
|
+
* @param preference - The requested scheme. `'system'` follows the OS.
|
|
33290
|
+
* @returns `'light'` or `'dark'`.
|
|
33291
|
+
* @public
|
|
33292
|
+
*/
|
|
33293
|
+
declare function useResolvedColorScheme(preference: RevTurbineColorScheme): 'light' | 'dark';
|
|
33294
|
+
|
|
33295
|
+
export { ANALYTICS_ANNOTATION_KINDS, ANALYTICS_DATE_RANGE_FILTER_VALUE_TYPE, ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot as AgentConnectorComponent, AgentConnectorSlot, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsAnnotationKindSchema, AnalyticsAnnotationMarkerSchema, AnalyticsAnnotationRequestSchema, AnalyticsAnnotationResponseSchema, AnalyticsAnnotationSchema, AnalyticsAnnotationSourceSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogAnnotationKindSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogMetricValidatedSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareDeltaSchema, AnalyticsCompareExperimentSchema, AnalyticsCompareModeSchema, AnalyticsCompareSegmentSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsPeriodCompareModeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryOverridesSchema, 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, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BUILT_IN_TEMPLATE_COMPONENT_TYPES, BannerSlot as BannerComponent, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot as ButtonComponent, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot as CliComponent, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ComponentTypeSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot as CreditBalanceComponent, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DARK_THEME, 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, EMITTABLE_PLATFORM_EVENT_NAMES, ENTITLEMENT_STATUS_VALUES, EVENT_PAYLOAD_CONTRACTS, EVENT_PAYLOAD_EVENT_NAMES, EVENT_PREFIX_FAMILIES, EmailPreviewSlot as EmailPreviewComponent, EmailPreviewSlot, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, 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, ExperimentAnalysisDefinitionSchema, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentAssignmentFactSchema, ExperimentAssignmentSourceSchema, ExperimentDecisionFindingCodeSchema, ExperimentDecisionPolicySchema, ExperimentDecisionPolicyVersionError, ExperimentDecisionRecordSchema, ExperimentDecisionTypeSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricEvidencePlanSchema, 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, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot as FullPageComponent, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, INIT_STATUS_OK, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot as InPageComponent, InPageSlot, InPageSurface, IngestedEventSchema, InitFailureDiagnostic, InlineCardPlacement, InlineEmbedSlot as InlineEmbedComponent, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MAX_TREATMENT_INTERACTIONS_PER_BATCH, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalSlot as ModalComponent, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, ObservationMaturitySchema, 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, 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, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, PushPreviewSlot as PushPreviewComponent, PushPreviewSlot, QuotaMeterSlot as QuotaMeterComponent, 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, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, SDK_SERVER_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, SurfaceSlotComponent as Slot, SmsPreviewSlot as SmsPreviewComponent, SmsPreviewSlot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot as ToastComponent, ToastSlot, ToastSurface, TooltipSlot as TooltipComponent, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionRequestSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WEBHOOK_DERIVED_EVENT_NAMES, WarGameCapabilityRequirementsSchema, WarGameCategorySchema, WarGameGradeSchema, WarGameOracleSchema, WarGameQualificationLevelSchema, WarGameScenarioSchema, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, assertExperimentDecisionPolicyUpdateAllowed, baseThemeForScheme, bridgeUiPathResolversIntoRegistry, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectAssignmentFactDeclarations, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, composeEffectiveExperimentContext, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCompositeExperimentProvider, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, 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, formatCurrencyMinorUnits, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, initStatusForError, isAnalyticsDateRangeFilterValue, isBrowser, isExperimentAssignmentFactDeclaration, isLegacyDateRangeArray, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, namespacePlatformCollision, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, registerServerActionResolvers, remediationFor, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveComponentType, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useAddons, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, usePlans, useResolvedColorScheme, useRevTurbine, useRevTurbineTheme, useRevTurbineThemeProviderPresent, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validateEventPayload, validatePlacementThresholdWarnings };
|
|
33296
|
+
export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps as AgentConnectorComponentProps, AgentConnectorSlotProps, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsAnnotation, AnalyticsAnnotationKind, AnalyticsAnnotationMarker, AnalyticsAnnotationRequest, AnalyticsAnnotationResponse, AnalyticsAnnotationSource, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogAnnotationKind, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogMetricValidated, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareDelta, AnalyticsCompareExperiment, AnalyticsCompareMode, AnalyticsCompareSegment, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDateRangeFilterValue, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsPeriodCompareMode, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryOverrides, 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, AssignmentFactUnit, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerSlotProps as BannerComponentProps, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps as ButtonComponentProps, ButtonSlotProps, ButtonSurfaceProps, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps as CliComponentProps, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, CompileAnalyticsDraftOptions, ComponentType, CompositeExperimentProviderOptions, ConfigArtifact, ConfigTargetDefaults, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps as CreditBalanceComponentProps, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DefaultTemplateIds, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DomainProviderResolutionInput, DriftReport, EffectiveUserContextResolution, EligibleAddon, EligiblePlan, EligiblePrice, EmittablePlatformEventName, EnforcementAction, EnforcementMode, EngagementAreaProps, 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, EventPayloadContract, EventPayloadContractMap, EventPayloadInput, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, ExactInitOptions, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisDefinition, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentFact, ExperimentAssignmentFactDeclaration, ExperimentAssignmentFactMetadataCarrier, ExperimentAssignmentProvider, ExperimentAssignmentSource, ExperimentDecisionFindingCode, ExperimentDecisionPolicy, ExperimentDecisionRecord, ExperimentDecisionType, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricEvidencePlan, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantNonAssignmentReason, ExperimentVariantSelection, ExperimentVariantTarget, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps as FullPageComponentProps, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps as InPageComponentProps, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InitFailureDiagnosticProps, InlineCardPlacementProps, InlineEmbedSlotProps as InlineEmbedComponentProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalSlotProps as ModalComponentProps, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, ObservationMaturity, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, 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, PlatformEventName, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, QuotaMeterSlotProps as QuotaMeterComponentProps, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineAuthoredSlotRef, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineColorScheme, RevTurbineComponentType, 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, RevTurbineInitPhase, RevTurbineInitStatus, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineProviderProps, RevTurbineRegisteredSlot, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotInventoryDiagnosis, 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, 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 as ToastComponentProps, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps as TooltipComponentProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionBatch, TreatmentInteractionInput, TreatmentInteractionRequest, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseAddonsResult, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UsePlansResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WarGameCapabilityRequirements, WarGameCategory, WarGameGrade, WarGameOracle, WarGameQualificationLevel, WarGameScenario, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|