@revturbine/sdk 0.2.82 → 0.2.83
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 +242 -65
- package/dist/headless.js +2 -2
- package/dist/headless.js.map +1 -1
- package/dist/index.d.ts +242 -65
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/web-sdk/branding.d.ts +6 -3
- package/dist/types/web-sdk/branding.d.ts.map +1 -1
- package/dist/types/web-sdk/customer-side.d.ts +16 -1
- package/dist/types/web-sdk/customer-side.d.ts.map +1 -1
- package/dist/types/web-sdk/react/RevTurbineProvider.d.ts.map +1 -1
- package/dist/types/web-sdk/theme/theme-loader.d.ts +10 -0
- package/dist/types/web-sdk/theme/theme-loader.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -70,6 +70,33 @@ declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
|
70
70
|
agent: "agent";
|
|
71
71
|
cli: "cli";
|
|
72
72
|
}>;
|
|
73
|
+
/**
|
|
74
|
+
* The entitlement verdict vocabulary, declared once (plan 182 REQ-8).
|
|
75
|
+
*
|
|
76
|
+
* Two published schema components carry this same value list — `EntitlementStatus`
|
|
77
|
+
* (the decision-side check result) and `EntitlementGrantStatus` (the grant-side
|
|
78
|
+
* projection). Both ids stay, because each is a real component in the published
|
|
79
|
+
* JSON Schema / OpenAPI surface and removing either would break consumers; they
|
|
80
|
+
* now share this array so the values cannot drift apart.
|
|
81
|
+
*/
|
|
82
|
+
declare const ENTITLEMENT_STATUS_VALUES: readonly ["allowed", "limited", "denied"];
|
|
83
|
+
/**
|
|
84
|
+
* Outcome vocabulary for a placement presentation — the `outcome` column on the
|
|
85
|
+
* `placement_presentations` analytics datasource (plan 182 REQ-4).
|
|
86
|
+
*
|
|
87
|
+
* Declared here because it is the contract between the interaction writer and the
|
|
88
|
+
* analytics pipes that count it: `clicked` and `converted` drive click/conversion
|
|
89
|
+
* rates, so a writer emitting an undeclared value silently produces rows no pipe
|
|
90
|
+
* counts. Values mirror the shipped `TreatmentInteractionType` mapping.
|
|
91
|
+
*/
|
|
92
|
+
declare const PresentationOutcomeSchema: z.ZodEnum<{
|
|
93
|
+
presented: "presented";
|
|
94
|
+
clicked: "clicked";
|
|
95
|
+
converted: "converted";
|
|
96
|
+
dismissed: "dismissed";
|
|
97
|
+
reminded: "reminded";
|
|
98
|
+
suppressed: "suppressed";
|
|
99
|
+
}>;
|
|
73
100
|
declare const EntitlementTypeSchema: z.ZodEnum<{
|
|
74
101
|
feature: "feature";
|
|
75
102
|
capability_tier: "capability_tier";
|
|
@@ -202,6 +229,17 @@ declare const DataClassification: {
|
|
|
202
229
|
readonly Unrestricted: {
|
|
203
230
|
readonly 'x-revturbine-data-classification': "unrestricted";
|
|
204
231
|
};
|
|
232
|
+
/**
|
|
233
|
+
* Machine-generated evaluation exhaust — supersession records, entitlement
|
|
234
|
+
* grants, placement decision traces. Carries no personal or financial data
|
|
235
|
+
* itself, but describes what the engine decided about a user, so it is not
|
|
236
|
+
* `Unrestricted` either. Applied at the MODEL level (plan 182 REQ-7); it was
|
|
237
|
+
* already in use as a raw string literal on four schemas before being
|
|
238
|
+
* declared here, which left `DataClassificationValue` unable to represent it.
|
|
239
|
+
*/
|
|
240
|
+
readonly Operational: {
|
|
241
|
+
readonly 'x-revturbine-data-classification': "operational";
|
|
242
|
+
};
|
|
205
243
|
};
|
|
206
244
|
type DataClassification = (typeof DataClassification)[keyof typeof DataClassification];
|
|
207
245
|
type DataClassificationValue = DataClassification['x-revturbine-data-classification'];
|
|
@@ -1834,11 +1872,11 @@ declare const UserTrialStatusSchema: z.ZodObject<{
|
|
|
1834
1872
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
1835
1873
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
1836
1874
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1875
|
+
converted: "converted";
|
|
1837
1876
|
active: "active";
|
|
1838
1877
|
none: "none";
|
|
1839
1878
|
expired: "expired";
|
|
1840
1879
|
running_out: "running_out";
|
|
1841
|
-
converted: "converted";
|
|
1842
1880
|
}>>;
|
|
1843
1881
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
1844
1882
|
time: "time";
|
|
@@ -1917,11 +1955,11 @@ declare const UserInstanceContextSchema: z.ZodObject<{
|
|
|
1917
1955
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
1918
1956
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
1919
1957
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1958
|
+
converted: "converted";
|
|
1920
1959
|
active: "active";
|
|
1921
1960
|
none: "none";
|
|
1922
1961
|
expired: "expired";
|
|
1923
1962
|
running_out: "running_out";
|
|
1924
|
-
converted: "converted";
|
|
1925
1963
|
}>>;
|
|
1926
1964
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
1927
1965
|
time: "time";
|
|
@@ -2006,11 +2044,11 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
2006
2044
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
2007
2045
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
2008
2046
|
state: z.ZodOptional<z.ZodEnum<{
|
|
2047
|
+
converted: "converted";
|
|
2009
2048
|
active: "active";
|
|
2010
2049
|
none: "none";
|
|
2011
2050
|
expired: "expired";
|
|
2012
2051
|
running_out: "running_out";
|
|
2013
|
-
converted: "converted";
|
|
2014
2052
|
}>>;
|
|
2015
2053
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
2016
2054
|
time: "time";
|
|
@@ -2084,11 +2122,11 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
2084
2122
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
2085
2123
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
2086
2124
|
state: z.ZodOptional<z.ZodEnum<{
|
|
2125
|
+
converted: "converted";
|
|
2087
2126
|
active: "active";
|
|
2088
2127
|
none: "none";
|
|
2089
2128
|
expired: "expired";
|
|
2090
2129
|
running_out: "running_out";
|
|
2091
|
-
converted: "converted";
|
|
2092
2130
|
}>>;
|
|
2093
2131
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
2094
2132
|
time: "time";
|
|
@@ -2142,17 +2180,18 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
2142
2180
|
derived_computed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2143
2181
|
activity_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2144
2182
|
activity_score_computed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2183
|
+
experiments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2145
2184
|
}, z.core.$strip>;
|
|
2146
2185
|
declare const ClientContextSchema: z.ZodObject<{
|
|
2147
2186
|
subject: z.ZodString;
|
|
2148
2187
|
context_version: z.ZodOptional<z.ZodString>;
|
|
2149
2188
|
trial: z.ZodOptional<z.ZodObject<{
|
|
2150
2189
|
status: z.ZodEnum<{
|
|
2190
|
+
converted: "converted";
|
|
2151
2191
|
active: "active";
|
|
2152
2192
|
none: "none";
|
|
2153
2193
|
expired: "expired";
|
|
2154
2194
|
running_out: "running_out";
|
|
2155
|
-
converted: "converted";
|
|
2156
2195
|
}>;
|
|
2157
2196
|
days_remaining: z.ZodOptional<z.ZodNumber>;
|
|
2158
2197
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
@@ -2367,6 +2406,7 @@ declare const SegmentSchema: z.ZodObject<{
|
|
|
2367
2406
|
handle: z.ZodString;
|
|
2368
2407
|
description: z.ZodOptional<z.ZodString>;
|
|
2369
2408
|
rules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2409
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
2370
2410
|
is_active: z.ZodDefault<z.ZodBoolean>;
|
|
2371
2411
|
estimated_size: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2372
2412
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2816,6 +2856,10 @@ declare const TreatmentInteractionInputSchema: z.ZodObject<{
|
|
|
2816
2856
|
suppress: "suppress";
|
|
2817
2857
|
}>;
|
|
2818
2858
|
interaction_at: z.ZodOptional<z.ZodString>;
|
|
2859
|
+
message_block_handle: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
message_block_id: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
2819
2863
|
test: z.ZodOptional<z.ZodBoolean>;
|
|
2820
2864
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2821
2865
|
}, z.core.$strip>;
|
|
@@ -3103,9 +3147,9 @@ declare const eventPaths: ZodOpenApiPathsObject;
|
|
|
3103
3147
|
*/
|
|
3104
3148
|
|
|
3105
3149
|
declare const TrialStatusSchema: z.ZodEnum<{
|
|
3150
|
+
converted: "converted";
|
|
3106
3151
|
active: "active";
|
|
3107
3152
|
expired: "expired";
|
|
3108
|
-
converted: "converted";
|
|
3109
3153
|
not_started: "not_started";
|
|
3110
3154
|
cancelled: "cancelled";
|
|
3111
3155
|
}>;
|
|
@@ -3237,9 +3281,9 @@ declare const TrialInstanceSchema: z.ZodObject<{
|
|
|
3237
3281
|
}>;
|
|
3238
3282
|
plan_id: z.ZodString;
|
|
3239
3283
|
status: z.ZodDefault<z.ZodEnum<{
|
|
3284
|
+
converted: "converted";
|
|
3240
3285
|
active: "active";
|
|
3241
3286
|
expired: "expired";
|
|
3242
|
-
converted: "converted";
|
|
3243
3287
|
not_started: "not_started";
|
|
3244
3288
|
cancelled: "cancelled";
|
|
3245
3289
|
}>>;
|
|
@@ -3476,9 +3520,9 @@ declare const EntitlementEvalLogSchema: z.ZodObject<{
|
|
|
3476
3520
|
entitlement_handle: z.ZodString;
|
|
3477
3521
|
entitlement_type: z.ZodString;
|
|
3478
3522
|
result: z.ZodEnum<{
|
|
3479
|
-
metered: "metered";
|
|
3480
3523
|
limited: "limited";
|
|
3481
3524
|
denied: "denied";
|
|
3525
|
+
metered: "metered";
|
|
3482
3526
|
granted: "granted";
|
|
3483
3527
|
}>;
|
|
3484
3528
|
current_usage: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3853,6 +3897,7 @@ declare const RevTurbineConfigSegmentsItemSchema: z.ZodObject<{
|
|
|
3853
3897
|
value: z.ZodString;
|
|
3854
3898
|
}, z.core.$strip>>>;
|
|
3855
3899
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
3900
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
3856
3901
|
}, z.core.$strip>;
|
|
3857
3902
|
declare const RevTurbineConfigPlansItemSchema: z.ZodObject<{
|
|
3858
3903
|
unique_handle: z.ZodString;
|
|
@@ -4753,6 +4798,7 @@ declare const PlaybookBodySchema: z.ZodObject<{
|
|
|
4753
4798
|
value: z.ZodString;
|
|
4754
4799
|
}, z.core.$strip>>>;
|
|
4755
4800
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
4801
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
4756
4802
|
}, z.core.$strip>>;
|
|
4757
4803
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
4758
4804
|
name: z.ZodString;
|
|
@@ -5400,6 +5446,7 @@ declare const PlaybookObjectSchema: z.ZodObject<{
|
|
|
5400
5446
|
value: z.ZodString;
|
|
5401
5447
|
}, z.core.$strip>>>;
|
|
5402
5448
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
5449
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
5403
5450
|
}, z.core.$strip>>;
|
|
5404
5451
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
5405
5452
|
name: z.ZodString;
|
|
@@ -6034,6 +6081,7 @@ declare const PlaybookSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
6034
6081
|
value: z.ZodString;
|
|
6035
6082
|
}, z.core.$strip>>>;
|
|
6036
6083
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
6084
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
6037
6085
|
}, z.core.$strip>>;
|
|
6038
6086
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
6039
6087
|
name: z.ZodString;
|
|
@@ -6686,6 +6734,7 @@ declare const PlaybookStrictSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
6686
6734
|
value: z.ZodString;
|
|
6687
6735
|
}, z.core.$strip>>>;
|
|
6688
6736
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
6737
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
6689
6738
|
}, z.core.$strip>>;
|
|
6690
6739
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
6691
6740
|
name: z.ZodString;
|
|
@@ -7317,6 +7366,7 @@ declare const RevTurbineConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
7317
7366
|
value: z.ZodString;
|
|
7318
7367
|
}, z.core.$strip>>>;
|
|
7319
7368
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
7369
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
7320
7370
|
}, z.core.$strip>>;
|
|
7321
7371
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
7322
7372
|
name: z.ZodString;
|
|
@@ -7989,6 +8039,9 @@ declare const PlacementDecisionOutputSchema: z.ZodObject<{
|
|
|
7989
8039
|
decision_id: z.ZodString;
|
|
7990
8040
|
config_version: z.ZodString;
|
|
7991
8041
|
present_upsell: z.ZodBoolean;
|
|
8042
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8043
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8044
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
7992
8045
|
}, z.core.$strip>;
|
|
7993
8046
|
declare const EntitlementCheckResultSchema: z.ZodObject<{
|
|
7994
8047
|
status: z.ZodEnum<{
|
|
@@ -8035,6 +8088,9 @@ declare const EntitlementCheckResultSchema: z.ZodObject<{
|
|
|
8035
8088
|
decision_id: z.ZodString;
|
|
8036
8089
|
config_version: z.ZodString;
|
|
8037
8090
|
present_upsell: z.ZodBoolean;
|
|
8091
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8092
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8093
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8038
8094
|
}, z.core.$strip>>;
|
|
8039
8095
|
}, z.core.$strip>;
|
|
8040
8096
|
declare const RuntimePromotionSnapshotSchema: z.ZodObject<{
|
|
@@ -8088,6 +8144,9 @@ declare const ServerEvaluationPayloadDecisionsItemSchema: z.ZodObject<{
|
|
|
8088
8144
|
decision_id: z.ZodString;
|
|
8089
8145
|
config_version: z.ZodString;
|
|
8090
8146
|
present_upsell: z.ZodBoolean;
|
|
8147
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8148
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8149
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8091
8150
|
}, z.core.$strip>>;
|
|
8092
8151
|
reason_codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8093
8152
|
}, z.core.$strip>;
|
|
@@ -8137,6 +8196,9 @@ declare const ServerEvaluationPayloadEntitlementsValueSchema: z.ZodObject<{
|
|
|
8137
8196
|
decision_id: z.ZodString;
|
|
8138
8197
|
config_version: z.ZodString;
|
|
8139
8198
|
present_upsell: z.ZodBoolean;
|
|
8199
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8200
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8201
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8140
8202
|
}, z.core.$strip>>;
|
|
8141
8203
|
}, z.core.$strip>;
|
|
8142
8204
|
/**
|
|
@@ -8155,11 +8217,11 @@ declare const ServerEvaluationPayloadTrialStatusSchema: z.ZodObject<{
|
|
|
8155
8217
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
8156
8218
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8157
8219
|
state: z.ZodOptional<z.ZodEnum<{
|
|
8220
|
+
converted: "converted";
|
|
8158
8221
|
active: "active";
|
|
8159
8222
|
none: "none";
|
|
8160
8223
|
expired: "expired";
|
|
8161
8224
|
running_out: "running_out";
|
|
8162
|
-
converted: "converted";
|
|
8163
8225
|
}>>;
|
|
8164
8226
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
8165
8227
|
time: "time";
|
|
@@ -8228,6 +8290,9 @@ declare const ServerEvaluationPayloadSchema: z.ZodObject<{
|
|
|
8228
8290
|
decision_id: z.ZodString;
|
|
8229
8291
|
config_version: z.ZodString;
|
|
8230
8292
|
present_upsell: z.ZodBoolean;
|
|
8293
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8294
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8295
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8231
8296
|
}, z.core.$strip>>;
|
|
8232
8297
|
reason_codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8233
8298
|
}, z.core.$strip>>;
|
|
@@ -8276,6 +8341,9 @@ declare const ServerEvaluationPayloadSchema: z.ZodObject<{
|
|
|
8276
8341
|
decision_id: z.ZodString;
|
|
8277
8342
|
config_version: z.ZodString;
|
|
8278
8343
|
present_upsell: z.ZodBoolean;
|
|
8344
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8345
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8346
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8279
8347
|
}, z.core.$strip>>;
|
|
8280
8348
|
}, z.core.$strip>>>;
|
|
8281
8349
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -8284,11 +8352,11 @@ declare const ServerEvaluationPayloadSchema: z.ZodObject<{
|
|
|
8284
8352
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
8285
8353
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8286
8354
|
state: z.ZodOptional<z.ZodEnum<{
|
|
8355
|
+
converted: "converted";
|
|
8287
8356
|
active: "active";
|
|
8288
8357
|
none: "none";
|
|
8289
8358
|
expired: "expired";
|
|
8290
8359
|
running_out: "running_out";
|
|
8291
|
-
converted: "converted";
|
|
8292
8360
|
}>>;
|
|
8293
8361
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
8294
8362
|
time: "time";
|
|
@@ -8658,8 +8726,8 @@ declare const PermissionResourceSchema: z.ZodEnum<{
|
|
|
8658
8726
|
content: "content";
|
|
8659
8727
|
entitlements: "entitlements";
|
|
8660
8728
|
placements: "placements";
|
|
8661
|
-
users: "users";
|
|
8662
8729
|
experiments: "experiments";
|
|
8730
|
+
users: "users";
|
|
8663
8731
|
settings: "settings";
|
|
8664
8732
|
tenant: "tenant";
|
|
8665
8733
|
targeting: "targeting";
|
|
@@ -8684,8 +8752,8 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
8684
8752
|
content: "content";
|
|
8685
8753
|
entitlements: "entitlements";
|
|
8686
8754
|
placements: "placements";
|
|
8687
|
-
users: "users";
|
|
8688
8755
|
experiments: "experiments";
|
|
8756
|
+
users: "users";
|
|
8689
8757
|
settings: "settings";
|
|
8690
8758
|
tenant: "tenant";
|
|
8691
8759
|
targeting: "targeting";
|
|
@@ -8710,19 +8778,19 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
8710
8778
|
*/
|
|
8711
8779
|
declare const ROLE_PERMISSIONS: {
|
|
8712
8780
|
readonly viewer: {
|
|
8713
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8781
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8714
8782
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8715
8783
|
}[];
|
|
8716
8784
|
readonly collaborator: {
|
|
8717
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8785
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8718
8786
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8719
8787
|
}[];
|
|
8720
8788
|
readonly approver: {
|
|
8721
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8789
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8722
8790
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8723
8791
|
}[];
|
|
8724
8792
|
readonly admin: {
|
|
8725
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8793
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8726
8794
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8727
8795
|
}[];
|
|
8728
8796
|
};
|
|
@@ -8767,14 +8835,6 @@ declare const McpTokenScopeSchema: z.ZodEnum<{
|
|
|
8767
8835
|
"placements:approve": "placements:approve";
|
|
8768
8836
|
"placements:invite": "placements:invite";
|
|
8769
8837
|
"placements:manage_roles": "placements:manage_roles";
|
|
8770
|
-
"users:delete": "users:delete";
|
|
8771
|
-
"users:create": "users:create";
|
|
8772
|
-
"users:update": "users:update";
|
|
8773
|
-
"users:publish": "users:publish";
|
|
8774
|
-
"users:read": "users:read";
|
|
8775
|
-
"users:approve": "users:approve";
|
|
8776
|
-
"users:invite": "users:invite";
|
|
8777
|
-
"users:manage_roles": "users:manage_roles";
|
|
8778
8838
|
"experiments:delete": "experiments:delete";
|
|
8779
8839
|
"experiments:create": "experiments:create";
|
|
8780
8840
|
"experiments:update": "experiments:update";
|
|
@@ -8783,6 +8843,14 @@ declare const McpTokenScopeSchema: z.ZodEnum<{
|
|
|
8783
8843
|
"experiments:approve": "experiments:approve";
|
|
8784
8844
|
"experiments:invite": "experiments:invite";
|
|
8785
8845
|
"experiments:manage_roles": "experiments:manage_roles";
|
|
8846
|
+
"users:delete": "users:delete";
|
|
8847
|
+
"users:create": "users:create";
|
|
8848
|
+
"users:update": "users:update";
|
|
8849
|
+
"users:publish": "users:publish";
|
|
8850
|
+
"users:read": "users:read";
|
|
8851
|
+
"users:approve": "users:approve";
|
|
8852
|
+
"users:invite": "users:invite";
|
|
8853
|
+
"users:manage_roles": "users:manage_roles";
|
|
8786
8854
|
"settings:delete": "settings:delete";
|
|
8787
8855
|
"settings:create": "settings:create";
|
|
8788
8856
|
"settings:update": "settings:update";
|
|
@@ -9073,6 +9141,7 @@ type PlaybookVersionDiff = z.infer<typeof PlaybookVersionDiffSchema>;
|
|
|
9073
9141
|
type PlaybookVersionEntrySummary = z.infer<typeof PlaybookVersionEntrySummarySchema>;
|
|
9074
9142
|
type PlaybookVersion = z.infer<typeof PlaybookVersionSchema>;
|
|
9075
9143
|
type PlaybookVersionStatus = z.infer<typeof PlaybookVersionStatusSchema>;
|
|
9144
|
+
type PresentationOutcome = z.infer<typeof PresentationOutcomeSchema>;
|
|
9076
9145
|
type PresentationRecord = z.infer<typeof PresentationRecordSchema>;
|
|
9077
9146
|
type PriceSource = z.infer<typeof PriceSourceSchema>;
|
|
9078
9147
|
type PricingModel = z.infer<typeof PricingModelSchema>;
|
|
@@ -9429,6 +9498,28 @@ interface RevTurbineTreatmentInteractionInput {
|
|
|
9429
9498
|
* `payload_perf` / "last payload shown").
|
|
9430
9499
|
*/
|
|
9431
9500
|
payloadId?: string;
|
|
9501
|
+
/**
|
|
9502
|
+
* Message block rendered, by its **canonical handle** → wire
|
|
9503
|
+
* `message_block_handle`. This is what `message_impact` groups by, so it
|
|
9504
|
+
* answers "how does this message perform?" across content edits. Without it
|
|
9505
|
+
* that pipe returns nothing at all — it filters on an equality a null can
|
|
9506
|
+
* never satisfy (plan 182).
|
|
9507
|
+
*/
|
|
9508
|
+
messageBlockHandle?: string;
|
|
9509
|
+
/**
|
|
9510
|
+
* The specific message-block **version** rendered → wire `message_block_id`.
|
|
9511
|
+
* Handles are canonical; ids address one version in the anchor+ledger model,
|
|
9512
|
+
* so grouping by this answers "how did THIS version perform?" — what makes a
|
|
9513
|
+
* content edit measurable. Send both when known.
|
|
9514
|
+
*/
|
|
9515
|
+
messageBlockId?: string;
|
|
9516
|
+
/**
|
|
9517
|
+
* Experiment the presenting decision belonged to → wire `experiment_id`.
|
|
9518
|
+
* `experiment_perf` and `message_impact_by_variant` key on this.
|
|
9519
|
+
*/
|
|
9520
|
+
experimentId?: string;
|
|
9521
|
+
/** Variant assigned by that experiment → wire `variant_key`. */
|
|
9522
|
+
variantKey?: string;
|
|
9432
9523
|
metadata?: Record<string, unknown>;
|
|
9433
9524
|
}
|
|
9434
9525
|
interface InteractionState {
|
|
@@ -9505,7 +9596,7 @@ type TraitsNamespace = `traits:${string}`;
|
|
|
9505
9596
|
* The `traits` domain and any `traits:<namespace>` domain are merged
|
|
9506
9597
|
* into a single `traits` slot in `ResolvedProviderContext`.
|
|
9507
9598
|
*/
|
|
9508
|
-
type DomainProviderName = 'plan' | 'entitlements' | 'segments' | 'content' | 'rules' | 'traits' | 'theme' | 'events' | 'cta' | TraitsNamespace;
|
|
9599
|
+
type DomainProviderName = 'plan' | 'entitlements' | 'segments' | 'experiments' | 'content' | 'rules' | 'traits' | 'theme' | 'events' | 'cta' | TraitsNamespace;
|
|
9509
9600
|
/**
|
|
9510
9601
|
* Base interface all domain providers implement.
|
|
9511
9602
|
*
|
|
@@ -9666,6 +9757,33 @@ interface SegmentProviderState {
|
|
|
9666
9757
|
interface SegmentProvider extends DomainProvider<'segments', SegmentProviderState> {
|
|
9667
9758
|
readonly domain: 'segments';
|
|
9668
9759
|
}
|
|
9760
|
+
/**
|
|
9761
|
+
* The user's experiment assignments, keyed by **experiment handle** with the
|
|
9762
|
+
* assigned **variant handle** as the value (plan 183).
|
|
9763
|
+
*
|
|
9764
|
+
* Handles on both sides, deliberately: a handle is the canonical, version-stable
|
|
9765
|
+
* identifier, which is what a `Segment.experiment_id` match and an analytics
|
|
9766
|
+
* grouping must key on. The version id — which *definition* of the experiment
|
|
9767
|
+
* was live — travels separately in telemetry, never as the match key.
|
|
9768
|
+
*
|
|
9769
|
+
* A map because a user can be enrolled in several experiments at once. Absent or
|
|
9770
|
+
* empty means enrolled in nothing, which is distinct from "assigned to control".
|
|
9771
|
+
*/
|
|
9772
|
+
interface ExperimentProviderState {
|
|
9773
|
+
/** `{ [experimentHandle]: variantHandle }`. */
|
|
9774
|
+
assignments: Record<string, string>;
|
|
9775
|
+
}
|
|
9776
|
+
/**
|
|
9777
|
+
* Supplies experiment enrollment and variant assignment.
|
|
9778
|
+
*
|
|
9779
|
+
* RevTurbine does not own the split. The primary implementation is a customer
|
|
9780
|
+
* adapter over their own experimentation tool; RevTurbine additionally ships an
|
|
9781
|
+
* optional, opt-in basic bucketer. Both satisfy this one interface, so segment
|
|
9782
|
+
* matching, decisions and telemetry never need to know which produced a value.
|
|
9783
|
+
*/
|
|
9784
|
+
interface ExperimentProvider extends DomainProvider<'experiments', ExperimentProviderState> {
|
|
9785
|
+
readonly domain: 'experiments';
|
|
9786
|
+
}
|
|
9669
9787
|
interface MessageBlockSnapshot {
|
|
9670
9788
|
blockId: string;
|
|
9671
9789
|
name: string;
|
|
@@ -9840,6 +9958,7 @@ interface ResolvedProviderContext {
|
|
|
9840
9958
|
plan?: PlanProviderState;
|
|
9841
9959
|
entitlements?: EntitlementProviderState;
|
|
9842
9960
|
segments?: SegmentProviderState;
|
|
9961
|
+
experiments?: ExperimentProviderState;
|
|
9843
9962
|
content?: ContentProviderState;
|
|
9844
9963
|
rules?: RuleProviderState;
|
|
9845
9964
|
traits?: TraitsProviderState;
|
|
@@ -9847,7 +9966,7 @@ interface ResolvedProviderContext {
|
|
|
9847
9966
|
events?: EventConsumerProviderState;
|
|
9848
9967
|
cta?: CtaHandlerProviderState;
|
|
9849
9968
|
}
|
|
9850
|
-
type AnyDomainProvider = PlanProvider | EntitlementProvider | SegmentProvider | ContentProvider | RuleProvider | TraitsProvider | ThemeProvider | EventConsumerProvider | CtaHandlerProvider;
|
|
9969
|
+
type AnyDomainProvider = PlanProvider | EntitlementProvider | SegmentProvider | ExperimentProvider | ContentProvider | RuleProvider | TraitsProvider | ThemeProvider | EventConsumerProvider | CtaHandlerProvider;
|
|
9851
9970
|
/**
|
|
9852
9971
|
* Map a `DomainProviderName` to its resolved state type.
|
|
9853
9972
|
*/
|
|
@@ -10396,13 +10515,21 @@ interface TargetingState {
|
|
|
10396
10515
|
* Flat key-value traits record used for segment predicate evaluation.
|
|
10397
10516
|
*/
|
|
10398
10517
|
type Trait = Record<string, string | number | boolean>;
|
|
10518
|
+
/**
|
|
10519
|
+
* A user's experiment assignments as resolved by an `ExperimentProvider`
|
|
10520
|
+
* (plan 183): `{ [experimentHandle]: variantHandle }`.
|
|
10521
|
+
*
|
|
10522
|
+
* Handles on both sides — canonical and version-stable, so an experiment edit
|
|
10523
|
+
* mints a new version without breaking a segment's reference.
|
|
10524
|
+
*/
|
|
10525
|
+
type ExperimentAssignments = Record<string, string>;
|
|
10399
10526
|
/**
|
|
10400
10527
|
* Evaluate segment definitions against a user's traits.
|
|
10401
10528
|
*
|
|
10402
10529
|
* Returns the IDs of every segment whose predicates ALL match (AND logic).
|
|
10403
10530
|
* Segments with no predicates are skipped.
|
|
10404
10531
|
*/
|
|
10405
|
-
declare function evaluateSegments(segments: RevTurbineConfigSegmentsItem[], traits: Trait): string[];
|
|
10532
|
+
declare function evaluateSegments(segments: RevTurbineConfigSegmentsItem[], traits: Trait, assignments?: ExperimentAssignments): string[];
|
|
10406
10533
|
/**
|
|
10407
10534
|
* Result of evaluating a single segment predicate with diagnostic detail.
|
|
10408
10535
|
*/
|
|
@@ -10989,10 +11116,13 @@ declare class LocalRuntime {
|
|
|
10989
11116
|
* a customer can render fully with no branding passed at all:
|
|
10990
11117
|
*
|
|
10991
11118
|
* 1. **Explicit `branding` argument** — passed to the SDK at init.
|
|
10992
|
-
* 2. **
|
|
11119
|
+
* 2. **Branding API** — branding from `GET /api/sdk/theme`, either fetched by
|
|
11120
|
+
* the SDK (`fetchThemeOverride`) or supplied by the host (`apiBranding`).
|
|
11121
|
+
* This **overrides** config-embedded branding: it is the live value, and
|
|
11122
|
+
* managing branding in the control plane is pointless if a stale `theme`
|
|
11123
|
+
* baked into a shipped Playbook outranks it (plan 184).
|
|
11124
|
+
* 3. **Legacy config-embedded** — the deprecated `theme` field carried inside
|
|
10993
11125
|
* an older `RevTurbineConfig`/`Playbook`. Works, but warns in development.
|
|
10994
|
-
* 3. **Branding API** — branding fetched from the RevTurbine Branding API or a
|
|
10995
|
-
* workspace-settings source and supplied by the host (`apiBranding`).
|
|
10996
11126
|
* 4. **`DEFAULT_BRANDING`** — structural fallback so the SDK always renders.
|
|
10997
11127
|
*
|
|
10998
11128
|
* Each rung's (possibly partial) branding is merged over `DEFAULT_BRANDING`, so
|
|
@@ -12721,7 +12851,7 @@ declare class RevTurbineCustomerSdk {
|
|
|
12721
12851
|
private lastTrialTriggerStage;
|
|
12722
12852
|
private readonly configProvider?;
|
|
12723
12853
|
private readonly branding?;
|
|
12724
|
-
private
|
|
12854
|
+
private apiBranding?;
|
|
12725
12855
|
private cachedPlacementResolver?;
|
|
12726
12856
|
private cachedPlacementResolverConfig?;
|
|
12727
12857
|
private sdkDisabledByProviderFailure;
|
|
@@ -12880,6 +13010,21 @@ declare class RevTurbineCustomerSdk {
|
|
|
12880
13010
|
* @public
|
|
12881
13011
|
*/
|
|
12882
13012
|
getBranding(): ResolvedBranding;
|
|
13013
|
+
/**
|
|
13014
|
+
* Supply the branding-API rung after init.
|
|
13015
|
+
*
|
|
13016
|
+
* `apiBranding` can be passed at construction when the host fetches branding
|
|
13017
|
+
* itself, but with `fetchThemeOverride` the SDK fetches
|
|
13018
|
+
* `GET /api/sdk/theme` *after* the instance exists. Without this setter that
|
|
13019
|
+
* fetched value reached only the React theme context, so `getBranding()` and
|
|
13020
|
+
* `useRevTurbineTheme()` could report different branding for the same tenant
|
|
13021
|
+
* (plan 184).
|
|
13022
|
+
*
|
|
13023
|
+
* @param branding - Branding from the Branding API. Overrides config-embedded
|
|
13024
|
+
* branding but never the explicit `branding` init option.
|
|
13025
|
+
* @public
|
|
13026
|
+
*/
|
|
13027
|
+
setApiBranding(branding: BrandingConfig | undefined): void;
|
|
12883
13028
|
private deriveLocalEntitlementFromConfiguredRules;
|
|
12884
13029
|
/**
|
|
12885
13030
|
* Inline adapter — given a UserTrialStatus + the tenant's
|
|
@@ -15387,6 +15532,10 @@ interface components {
|
|
|
15387
15532
|
payload_id?: components["schemas"]["Anon_4e04ec5cc4e6_7"];
|
|
15388
15533
|
interaction_type: components["schemas"]["Anon_b540c131c269"];
|
|
15389
15534
|
interaction_at?: components["schemas"]["Anon_e077e17ea982_2"];
|
|
15535
|
+
message_block_handle?: components["schemas"]["Anon_4e04ec5cc4e6_8"];
|
|
15536
|
+
message_block_id?: components["schemas"]["Anon_4e04ec5cc4e6_9"];
|
|
15537
|
+
experiment_id?: components["schemas"]["Anon_4e04ec5cc4e6_10"];
|
|
15538
|
+
variant_key?: components["schemas"]["Anon_4e04ec5cc4e6_11"];
|
|
15390
15539
|
test?: components["schemas"]["Anon_fb9ddeea992e_3"];
|
|
15391
15540
|
metadata?: components["schemas"]["Anon_a249e58b3222"];
|
|
15392
15541
|
};
|
|
@@ -15433,6 +15582,7 @@ interface components {
|
|
|
15433
15582
|
derived_computed_at?: components["schemas"]["Anon_711dc9708535_6"];
|
|
15434
15583
|
activity_score?: components["schemas"]["Anon_9f0494e90be4"];
|
|
15435
15584
|
activity_score_computed_at?: components["schemas"]["Anon_8b48719136dc"];
|
|
15585
|
+
experiments?: components["schemas"]["Anon_f86c1754c55e_1"];
|
|
15436
15586
|
};
|
|
15437
15587
|
UserPlanContext: {
|
|
15438
15588
|
id: components["schemas"]["Anon_57796118d046_22"];
|
|
@@ -16230,6 +16380,14 @@ interface components {
|
|
|
16230
16380
|
Anon_e077e17ea982_2: components["schemas"]["Anon_02ecf48bed22_2"];
|
|
16231
16381
|
/** Format: date-time */
|
|
16232
16382
|
Anon_02ecf48bed22_2: string;
|
|
16383
|
+
Anon_4e04ec5cc4e6_8: components["schemas"]["Anon_9ac136edb99a_13"];
|
|
16384
|
+
Anon_9ac136edb99a_13: string;
|
|
16385
|
+
Anon_4e04ec5cc4e6_9: components["schemas"]["Anon_9ac136edb99a_14"];
|
|
16386
|
+
Anon_9ac136edb99a_14: string;
|
|
16387
|
+
Anon_4e04ec5cc4e6_10: components["schemas"]["Anon_9ac136edb99a_15"];
|
|
16388
|
+
Anon_9ac136edb99a_15: string;
|
|
16389
|
+
Anon_4e04ec5cc4e6_11: components["schemas"]["Anon_9ac136edb99a_16"];
|
|
16390
|
+
Anon_9ac136edb99a_16: string;
|
|
16233
16391
|
Anon_fb9ddeea992e_3: components["schemas"]["Anon_7cb541e84f22_30"];
|
|
16234
16392
|
Anon_7cb541e84f22_30: boolean;
|
|
16235
16393
|
Anon_a249e58b3222: components["schemas"]["Anon_c65c1fbd5acf_8"];
|
|
@@ -16370,6 +16528,10 @@ interface components {
|
|
|
16370
16528
|
Anon_c648138a0918_5: number | null;
|
|
16371
16529
|
Anon_8b48719136dc: components["schemas"]["Anon_b0c21ae8f968_2"];
|
|
16372
16530
|
Anon_b0c21ae8f968_2: string | null;
|
|
16531
|
+
Anon_f86c1754c55e_1: components["schemas"]["Anon_86408dfcaaac_2"];
|
|
16532
|
+
Anon_86408dfcaaac_2: {
|
|
16533
|
+
[key: string]: string;
|
|
16534
|
+
};
|
|
16373
16535
|
PlanAnchor: components["schemas"]["Anon_f38b4727dc66"];
|
|
16374
16536
|
Plan: {
|
|
16375
16537
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
@@ -16827,7 +16989,7 @@ interface components {
|
|
|
16827
16989
|
started_at: components["schemas"]["Anon_be3e2585472d_6"];
|
|
16828
16990
|
expires_at?: components["schemas"]["Anon_8b48719136dc_1"];
|
|
16829
16991
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_4"];
|
|
16830
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
16992
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_14"];
|
|
16831
16993
|
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_4"];
|
|
16832
16994
|
converted_at: components["schemas"]["Anon_711dc9708535_9"];
|
|
16833
16995
|
cancelled_at: components["schemas"]["Anon_711dc9708535_10"];
|
|
@@ -17313,7 +17475,7 @@ interface components {
|
|
|
17313
17475
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
17314
17476
|
event_type: components["schemas"]["Anon_57796118d046_69"];
|
|
17315
17477
|
source: components["schemas"]["Anon_eabbbb727ad3"];
|
|
17316
|
-
tenant_id?: components["schemas"]["
|
|
17478
|
+
tenant_id?: components["schemas"]["Anon_4e04ec5cc4e6_16"];
|
|
17317
17479
|
user_id?: components["schemas"]["Anon_0a729b73253d"];
|
|
17318
17480
|
session_id?: components["schemas"]["Anon_0a729b73253d_1"];
|
|
17319
17481
|
occurred_at: components["schemas"]["Anon_3c179513a5d9_3"];
|
|
@@ -17331,8 +17493,8 @@ interface components {
|
|
|
17331
17493
|
Anon_be3e2585472d_3: string;
|
|
17332
17494
|
Anon_fb248bf5a9f7_10: string;
|
|
17333
17495
|
/** @default production */
|
|
17334
|
-
Anon_51cbbf69cb41_1: components["schemas"]["
|
|
17335
|
-
|
|
17496
|
+
Anon_51cbbf69cb41_1: components["schemas"]["Anon_9ac136edb99a_17"];
|
|
17497
|
+
Anon_9ac136edb99a_17: string;
|
|
17336
17498
|
Anon_2457cccd64aa_1: components["schemas"]["Anon_0eb2e3b6e08c_1"];
|
|
17337
17499
|
Anon_0eb2e3b6e08c_1: string;
|
|
17338
17500
|
/** @default true */
|
|
@@ -17741,7 +17903,7 @@ interface components {
|
|
|
17741
17903
|
/** @default [] */
|
|
17742
17904
|
Anon_3b6346b139c2: components["schemas"]["Anon_f836473839d1"];
|
|
17743
17905
|
Anon_f836473839d1: components["schemas"]["FieldDefinitionOutput"][];
|
|
17744
|
-
|
|
17906
|
+
Anon_9ac136edb99a_18: string;
|
|
17745
17907
|
/** @default false */
|
|
17746
17908
|
Anon_f56777819c8b_3: boolean;
|
|
17747
17909
|
Anon_44136fa355b3_1: unknown;
|
|
@@ -17798,8 +17960,8 @@ interface components {
|
|
|
17798
17960
|
/** @default 0 */
|
|
17799
17961
|
Anon_2aa59aec1f23_4: components["schemas"]["Anon_97cc9ecfdea9_26"];
|
|
17800
17962
|
Anon_97cc9ecfdea9_26: number;
|
|
17801
|
-
|
|
17802
|
-
|
|
17963
|
+
Anon_4e04ec5cc4e6_12: components["schemas"]["Anon_9ac136edb99a_19"];
|
|
17964
|
+
Anon_9ac136edb99a_19: string;
|
|
17803
17965
|
Anon_9717c0445e52_2: components["schemas"]["Anon_ea288f4ef558_9"];
|
|
17804
17966
|
Anon_ea288f4ef558_9: number;
|
|
17805
17967
|
/** @default false */
|
|
@@ -17830,8 +17992,8 @@ interface components {
|
|
|
17830
17992
|
Anon_e7cb93d064a8_3: components["schemas"]["TrialLimitType"];
|
|
17831
17993
|
Anon_62c32913f8d0_3: components["schemas"]["Anon_3b260614cba4_3"];
|
|
17832
17994
|
Anon_3b260614cba4_3: number | null;
|
|
17833
|
-
|
|
17834
|
-
|
|
17995
|
+
Anon_4e04ec5cc4e6_13: components["schemas"]["Anon_9ac136edb99a_20"];
|
|
17996
|
+
Anon_9ac136edb99a_20: string;
|
|
17835
17997
|
Anon_9717c0445e52_3: components["schemas"]["Anon_ea288f4ef558_11"];
|
|
17836
17998
|
Anon_ea288f4ef558_11: number;
|
|
17837
17999
|
/** @default signup */
|
|
@@ -17866,8 +18028,8 @@ interface components {
|
|
|
17866
18028
|
Anon_b0c21ae8f968_5: string | null;
|
|
17867
18029
|
/** @default time */
|
|
17868
18030
|
Anon_e7cb93d064a8_4: components["schemas"]["TrialLimitType"];
|
|
17869
|
-
|
|
17870
|
-
|
|
18031
|
+
Anon_4e04ec5cc4e6_14: components["schemas"]["Anon_9ac136edb99a_21"];
|
|
18032
|
+
Anon_9ac136edb99a_21: string;
|
|
17871
18033
|
Anon_9717c0445e52_4: components["schemas"]["Anon_ea288f4ef558_12"];
|
|
17872
18034
|
Anon_ea288f4ef558_12: number;
|
|
17873
18035
|
Anon_711dc9708535_9: components["schemas"]["Anon_11c9ad639448_1"];
|
|
@@ -17887,7 +18049,7 @@ interface components {
|
|
|
17887
18049
|
Anon_f8dbfffc0ce2_19: components["schemas"]["Anon_681004346c78_22"];
|
|
17888
18050
|
Anon_681004346c78_22: string[];
|
|
17889
18051
|
Anon_544a3bc583b1: components["schemas"]["ExperimentVariantOutput"][];
|
|
17890
|
-
|
|
18052
|
+
Anon_9ac136edb99a_22: string;
|
|
17891
18053
|
/** @default 0.5 */
|
|
17892
18054
|
Anon_7e4345d1e208_1: number;
|
|
17893
18055
|
/** @default false */
|
|
@@ -18056,8 +18218,8 @@ interface components {
|
|
|
18056
18218
|
Anon_f7fb9744a6e4_25: components["schemas"]["Anon_f090cb615c84_42"];
|
|
18057
18219
|
Anon_f090cb615c84_42: string | null;
|
|
18058
18220
|
/** @default {} */
|
|
18059
|
-
Anon_72084ba72159_1: components["schemas"]["
|
|
18060
|
-
|
|
18221
|
+
Anon_72084ba72159_1: components["schemas"]["Anon_86408dfcaaac_3"];
|
|
18222
|
+
Anon_86408dfcaaac_3: {
|
|
18061
18223
|
[key: string]: string;
|
|
18062
18224
|
};
|
|
18063
18225
|
/** @default null */
|
|
@@ -18165,8 +18327,8 @@ interface components {
|
|
|
18165
18327
|
/** @enum {string} */
|
|
18166
18328
|
Anon_fc6def941f46_1: "template" | "slot";
|
|
18167
18329
|
Anon_57796118d046_61: string;
|
|
18168
|
-
|
|
18169
|
-
|
|
18330
|
+
Anon_4e04ec5cc4e6_15: components["schemas"]["Anon_9ac136edb99a_23"];
|
|
18331
|
+
Anon_9ac136edb99a_23: string;
|
|
18170
18332
|
Anon_c65e883b4e4a: {
|
|
18171
18333
|
count: components["schemas"]["Anon_492895348dbd_1"];
|
|
18172
18334
|
period: components["schemas"]["Anon_e78ca35ebc33_1"];
|
|
@@ -18454,8 +18616,8 @@ interface components {
|
|
|
18454
18616
|
Anon_7cb541e84f22_72: boolean;
|
|
18455
18617
|
Anon_24a0ac3f017b_5: components["schemas"]["Anon_11c9ad639448_1"];
|
|
18456
18618
|
/** @default production */
|
|
18457
|
-
Anon_a2f8ac1ffbf6: components["schemas"]["
|
|
18458
|
-
|
|
18619
|
+
Anon_a2f8ac1ffbf6: components["schemas"]["Anon_9ac136edb99a_24"];
|
|
18620
|
+
Anon_9ac136edb99a_24: string;
|
|
18459
18621
|
Anon_a607427cce0b: components["schemas"]["AuditActorType"];
|
|
18460
18622
|
/** @default null */
|
|
18461
18623
|
Anon_f7fb9744a6e4_30: components["schemas"]["Anon_f090cb615c84_52"];
|
|
@@ -18487,12 +18649,12 @@ interface components {
|
|
|
18487
18649
|
Anon_57796118d046_69: string;
|
|
18488
18650
|
/** @default sdk */
|
|
18489
18651
|
Anon_eabbbb727ad3: components["schemas"]["EventSource"];
|
|
18490
|
-
|
|
18491
|
-
|
|
18492
|
-
Anon_0a729b73253d: components["schemas"]["
|
|
18493
|
-
|
|
18494
|
-
Anon_0a729b73253d_1: components["schemas"]["
|
|
18495
|
-
|
|
18652
|
+
Anon_4e04ec5cc4e6_16: components["schemas"]["Anon_9ac136edb99a_25"];
|
|
18653
|
+
Anon_9ac136edb99a_25: string;
|
|
18654
|
+
Anon_0a729b73253d: components["schemas"]["Anon_9ac136edb99a_26"];
|
|
18655
|
+
Anon_9ac136edb99a_26: string;
|
|
18656
|
+
Anon_0a729b73253d_1: components["schemas"]["Anon_9ac136edb99a_27"];
|
|
18657
|
+
Anon_9ac136edb99a_27: string;
|
|
18496
18658
|
/** Format: date-time */
|
|
18497
18659
|
Anon_3c179513a5d9_3: string;
|
|
18498
18660
|
Anon_57796118d046_70: string;
|
|
@@ -18584,8 +18746,8 @@ interface components {
|
|
|
18584
18746
|
Anon_7cb541e84f22_73: boolean;
|
|
18585
18747
|
Anon_fb9ddeea992e_9: components["schemas"]["Anon_7cb541e84f22_74"];
|
|
18586
18748
|
Anon_7cb541e84f22_74: boolean;
|
|
18587
|
-
|
|
18588
|
-
|
|
18749
|
+
Anon_f86c1754c55e_2: components["schemas"]["Anon_86408dfcaaac_4"];
|
|
18750
|
+
Anon_86408dfcaaac_4: {
|
|
18589
18751
|
[key: string]: string;
|
|
18590
18752
|
};
|
|
18591
18753
|
/** @default {} */
|
|
@@ -18646,6 +18808,10 @@ interface components {
|
|
|
18646
18808
|
Anon_c648138a0918_11: number | null;
|
|
18647
18809
|
Anon_8b48719136dc_2: components["schemas"]["Anon_b0c21ae8f968_6"];
|
|
18648
18810
|
Anon_b0c21ae8f968_6: string | null;
|
|
18811
|
+
Anon_f86c1754c55e_3: components["schemas"]["Anon_86408dfcaaac_5"];
|
|
18812
|
+
Anon_86408dfcaaac_5: {
|
|
18813
|
+
[key: string]: string;
|
|
18814
|
+
};
|
|
18649
18815
|
/** @default usd */
|
|
18650
18816
|
CurrencyOutput: components["schemas"]["Anon_93bacb23d436_1"];
|
|
18651
18817
|
EntitlementRuleTargetOutput: {
|
|
@@ -18702,7 +18868,7 @@ interface components {
|
|
|
18702
18868
|
description?: components["schemas"]["Anon_ee9224780226_6"];
|
|
18703
18869
|
};
|
|
18704
18870
|
FieldDefinitionOutput: {
|
|
18705
|
-
name: components["schemas"]["
|
|
18871
|
+
name: components["schemas"]["Anon_9ac136edb99a_18"];
|
|
18706
18872
|
field_type: components["schemas"]["TemplateFieldType"];
|
|
18707
18873
|
required: components["schemas"]["Anon_f56777819c8b_3"];
|
|
18708
18874
|
default_value?: components["schemas"]["Anon_44136fa355b3_1"];
|
|
@@ -18771,7 +18937,7 @@ interface components {
|
|
|
18771
18937
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_2"];
|
|
18772
18938
|
duration_days?: components["schemas"]["Anon_62c32913f8d0_2"];
|
|
18773
18939
|
grace_period_days: components["schemas"]["Anon_2aa59aec1f23_4"];
|
|
18774
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
18940
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_12"];
|
|
18775
18941
|
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_2"];
|
|
18776
18942
|
require_payment_method: components["schemas"]["Anon_062d958a93c4_6"];
|
|
18777
18943
|
auto_convert: components["schemas"]["Anon_493deecc809a_7"];
|
|
@@ -18801,7 +18967,7 @@ interface components {
|
|
|
18801
18967
|
segment_id?: components["schemas"]["Anon_4fc4bfa2adad_15"];
|
|
18802
18968
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_3"];
|
|
18803
18969
|
duration_days?: components["schemas"]["Anon_62c32913f8d0_3"];
|
|
18804
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
18970
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_13"];
|
|
18805
18971
|
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_3"];
|
|
18806
18972
|
start_policy: components["schemas"]["Anon_df3d212fc186_1"];
|
|
18807
18973
|
show_upgrade_prompt_at_day?: components["schemas"]["Anon_7e1e37293611_11"];
|
|
@@ -18857,7 +19023,7 @@ interface components {
|
|
|
18857
19023
|
metadata: components["schemas"]["Anon_f27cb44c32f6_22"];
|
|
18858
19024
|
};
|
|
18859
19025
|
ExperimentVariantOutput: {
|
|
18860
|
-
variant_id: components["schemas"]["
|
|
19026
|
+
variant_id: components["schemas"]["Anon_9ac136edb99a_22"];
|
|
18861
19027
|
name: components["schemas"]["Anon_52ba84a4bbf3_1"];
|
|
18862
19028
|
weight: components["schemas"]["Anon_7e4345d1e208_1"];
|
|
18863
19029
|
is_control: components["schemas"]["Anon_f56777819c8b_4"];
|
|
@@ -18910,7 +19076,7 @@ interface components {
|
|
|
18910
19076
|
PlacementSettingsCapRuleGroupItemOutput: {
|
|
18911
19077
|
kind: components["schemas"]["Anon_fc6def941f46_1"];
|
|
18912
19078
|
id: components["schemas"]["Anon_57796118d046_61"];
|
|
18913
|
-
label?: components["schemas"]["
|
|
19079
|
+
label?: components["schemas"]["Anon_4e04ec5cc4e6_15"];
|
|
18914
19080
|
};
|
|
18915
19081
|
TenantOutput: {
|
|
18916
19082
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
@@ -18948,7 +19114,7 @@ interface components {
|
|
|
18948
19114
|
trial?: components["schemas"]["Anon_62987609f086"];
|
|
18949
19115
|
payment_failed?: components["schemas"]["Anon_fb9ddeea992e_8"];
|
|
18950
19116
|
payment_at_risk?: components["schemas"]["Anon_fb9ddeea992e_9"];
|
|
18951
|
-
tiers?: components["schemas"]["
|
|
19117
|
+
tiers?: components["schemas"]["Anon_f86c1754c55e_2"];
|
|
18952
19118
|
entitlements: components["schemas"]["Anon_a71fa5274014"];
|
|
18953
19119
|
instances?: components["schemas"]["Anon_ef1dd07b9cb1"];
|
|
18954
19120
|
custom: components["schemas"]["Anon_890507589b5c_1"];
|
|
@@ -18958,6 +19124,7 @@ interface components {
|
|
|
18958
19124
|
derived_computed_at: components["schemas"]["Anon_711dc9708535_20"];
|
|
18959
19125
|
activity_score?: components["schemas"]["Anon_9f0494e90be4_1"];
|
|
18960
19126
|
activity_score_computed_at?: components["schemas"]["Anon_8b48719136dc_2"];
|
|
19127
|
+
experiments?: components["schemas"]["Anon_f86c1754c55e_3"];
|
|
18961
19128
|
};
|
|
18962
19129
|
UserPlanContextOutput: {
|
|
18963
19130
|
id: components["schemas"]["Anon_57796118d046_73"];
|
|
@@ -21254,6 +21421,16 @@ interface ThemeLoaderOptions {
|
|
|
21254
21421
|
* control plane refines the Playbook's theme instead of replacing it.
|
|
21255
21422
|
*/
|
|
21256
21423
|
base?: RevTurbineThemeInput;
|
|
21424
|
+
/**
|
|
21425
|
+
* Called with the RAW override — the persisted copy on the fast path, then
|
|
21426
|
+
* the freshly-fetched one — or `null` when there is no override.
|
|
21427
|
+
*
|
|
21428
|
+
* The resolved {@link RevTurbineTheme} is already merged with defaults, so it
|
|
21429
|
+
* can't tell "the API supplied branding" from "nothing was fetched". Callers
|
|
21430
|
+
* that must distinguish those — `getBranding()`, which reports which ladder
|
|
21431
|
+
* rung won — need this unmerged value (plan 184).
|
|
21432
|
+
*/
|
|
21433
|
+
onOverride?: (override: RevTurbineThemeInput | null) => void;
|
|
21257
21434
|
}
|
|
21258
21435
|
/**
|
|
21259
21436
|
* Load the tenant's theme:
|
|
@@ -23149,5 +23326,5 @@ declare function RevTurbineThemeProvider({ theme, children }: RevTurbineThemePro
|
|
|
23149
23326
|
*/
|
|
23150
23327
|
declare function useRevTurbineTheme(): RevTurbineTheme;
|
|
23151
23328
|
|
|
23152
|
-
export { AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot, AlertSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_BRANDING, DEFAULT_THEME, DataClassification, DecisionEngine, DecisionLogSchema, DecisionOnly, DescriptionField, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, EntitlementCheckResultSchema, EntitlementEvalLogSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventSearchParamsSchema, EventSourceSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot, InPageSurface, IngestedEventSchema, InlineCardPlacement, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, Placement, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionInspector, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementRenderer, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementVariantSchema, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationRecordSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, QuotaMeterFrame, QuotaMeterSlot, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, SurfaceSlotComponent as RTSlot, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineProvider, RevTurbineServer, RevTurbineThemeProvider, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, SurfaceSlotComponent as Slot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot, ToastSurface, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, analyticsPaths, applyValueMaps, bridgeUiPathResolversIntoRegistry, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, configPaths, contentPaths, createAnalyticsProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createHydrationProviders, createLocalRuntimeConfig, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, derivePlacementPersonalizationTokens, deriveReverseTrialGrants, dispatchCtaClick, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, runtimePaths, schemaDeprecation, schemaFacets, scopesSubsetOfRole, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, useRevTurbine, useRevTurbineTheme, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validatePlacementThresholdWarnings };
|
|
23153
|
-
export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps, Alert, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsProviderOptions, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps, ButtonSurfaceProps, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DecisionLog, DeriveTrialStatusInput, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, EngagementAreaProps, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementEvalLog, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventSearchParams, EventSource, Experiment, ExperimentStatus, ExperimentType, ExperimentVariant, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InlineCardPlacementProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, OnboardingChecklist, OnboardingState, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionInspectorProps, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementProps, PlacementRendererProps, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementVariant, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationRecord, PriceSource, PricingModel, Promotion, PromotionStatus, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, Playbook as RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineProviderProps, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, SurfaceSlotComponentProps as SlotProps, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceSlotCategory, SurfaceSlotComponentProps, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TelemetryScopeProps, TelemetryScopeValue, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|
|
23329
|
+
export { AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot, AlertSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_BRANDING, DEFAULT_THEME, DataClassification, DecisionEngine, DecisionLogSchema, DecisionOnly, DescriptionField, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, EntitlementCheckResultSchema, EntitlementEvalLogSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventSearchParamsSchema, EventSourceSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot, InPageSurface, IngestedEventSchema, InlineCardPlacement, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, Placement, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionInspector, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementRenderer, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementVariantSchema, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PresentationRecordSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, QuotaMeterFrame, QuotaMeterSlot, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, SurfaceSlotComponent as RTSlot, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineProvider, RevTurbineServer, RevTurbineThemeProvider, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, SurfaceSlotComponent as Slot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot, ToastSurface, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, analyticsPaths, applyValueMaps, bridgeUiPathResolversIntoRegistry, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, configPaths, contentPaths, createAnalyticsProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createHydrationProviders, createLocalRuntimeConfig, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, derivePlacementPersonalizationTokens, deriveReverseTrialGrants, dispatchCtaClick, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, runtimePaths, schemaDeprecation, schemaFacets, scopesSubsetOfRole, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, useRevTurbine, useRevTurbineTheme, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validatePlacementThresholdWarnings };
|
|
23330
|
+
export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps, Alert, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsProviderOptions, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps, ButtonSurfaceProps, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DecisionLog, DeriveTrialStatusInput, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, EngagementAreaProps, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementEvalLog, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventSearchParams, EventSource, Experiment, ExperimentStatus, ExperimentType, ExperimentVariant, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InlineCardPlacementProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, OnboardingChecklist, OnboardingState, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionInspectorProps, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementProps, PlacementRendererProps, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementVariant, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PresentationRecord, PriceSource, PricingModel, Promotion, PromotionStatus, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, Playbook as RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineProviderProps, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, SurfaceSlotComponentProps as SlotProps, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceSlotCategory, SurfaceSlotComponentProps, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TelemetryScopeProps, TelemetryScopeValue, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|