@revturbine/sdk 0.2.81 → 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 +271 -66
- 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 +30 -2
- 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/headless.d.ts
CHANGED
|
@@ -68,6 +68,33 @@ declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
|
68
68
|
agent: "agent";
|
|
69
69
|
cli: "cli";
|
|
70
70
|
}>;
|
|
71
|
+
/**
|
|
72
|
+
* The entitlement verdict vocabulary, declared once (plan 182 REQ-8).
|
|
73
|
+
*
|
|
74
|
+
* Two published schema components carry this same value list — `EntitlementStatus`
|
|
75
|
+
* (the decision-side check result) and `EntitlementGrantStatus` (the grant-side
|
|
76
|
+
* projection). Both ids stay, because each is a real component in the published
|
|
77
|
+
* JSON Schema / OpenAPI surface and removing either would break consumers; they
|
|
78
|
+
* now share this array so the values cannot drift apart.
|
|
79
|
+
*/
|
|
80
|
+
declare const ENTITLEMENT_STATUS_VALUES: readonly ["allowed", "limited", "denied"];
|
|
81
|
+
/**
|
|
82
|
+
* Outcome vocabulary for a placement presentation — the `outcome` column on the
|
|
83
|
+
* `placement_presentations` analytics datasource (plan 182 REQ-4).
|
|
84
|
+
*
|
|
85
|
+
* Declared here because it is the contract between the interaction writer and the
|
|
86
|
+
* analytics pipes that count it: `clicked` and `converted` drive click/conversion
|
|
87
|
+
* rates, so a writer emitting an undeclared value silently produces rows no pipe
|
|
88
|
+
* counts. Values mirror the shipped `TreatmentInteractionType` mapping.
|
|
89
|
+
*/
|
|
90
|
+
declare const PresentationOutcomeSchema: z.ZodEnum<{
|
|
91
|
+
presented: "presented";
|
|
92
|
+
clicked: "clicked";
|
|
93
|
+
converted: "converted";
|
|
94
|
+
dismissed: "dismissed";
|
|
95
|
+
reminded: "reminded";
|
|
96
|
+
suppressed: "suppressed";
|
|
97
|
+
}>;
|
|
71
98
|
declare const EntitlementTypeSchema: z.ZodEnum<{
|
|
72
99
|
feature: "feature";
|
|
73
100
|
capability_tier: "capability_tier";
|
|
@@ -200,6 +227,17 @@ declare const DataClassification: {
|
|
|
200
227
|
readonly Unrestricted: {
|
|
201
228
|
readonly 'x-revturbine-data-classification': "unrestricted";
|
|
202
229
|
};
|
|
230
|
+
/**
|
|
231
|
+
* Machine-generated evaluation exhaust — supersession records, entitlement
|
|
232
|
+
* grants, placement decision traces. Carries no personal or financial data
|
|
233
|
+
* itself, but describes what the engine decided about a user, so it is not
|
|
234
|
+
* `Unrestricted` either. Applied at the MODEL level (plan 182 REQ-7); it was
|
|
235
|
+
* already in use as a raw string literal on four schemas before being
|
|
236
|
+
* declared here, which left `DataClassificationValue` unable to represent it.
|
|
237
|
+
*/
|
|
238
|
+
readonly Operational: {
|
|
239
|
+
readonly 'x-revturbine-data-classification': "operational";
|
|
240
|
+
};
|
|
203
241
|
};
|
|
204
242
|
type DataClassification = (typeof DataClassification)[keyof typeof DataClassification];
|
|
205
243
|
type DataClassificationValue = DataClassification['x-revturbine-data-classification'];
|
|
@@ -1832,11 +1870,11 @@ declare const UserTrialStatusSchema: z.ZodObject<{
|
|
|
1832
1870
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
1833
1871
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
1834
1872
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1873
|
+
converted: "converted";
|
|
1835
1874
|
active: "active";
|
|
1836
1875
|
none: "none";
|
|
1837
1876
|
expired: "expired";
|
|
1838
1877
|
running_out: "running_out";
|
|
1839
|
-
converted: "converted";
|
|
1840
1878
|
}>>;
|
|
1841
1879
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
1842
1880
|
time: "time";
|
|
@@ -1915,11 +1953,11 @@ declare const UserInstanceContextSchema: z.ZodObject<{
|
|
|
1915
1953
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
1916
1954
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
1917
1955
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1956
|
+
converted: "converted";
|
|
1918
1957
|
active: "active";
|
|
1919
1958
|
none: "none";
|
|
1920
1959
|
expired: "expired";
|
|
1921
1960
|
running_out: "running_out";
|
|
1922
|
-
converted: "converted";
|
|
1923
1961
|
}>>;
|
|
1924
1962
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
1925
1963
|
time: "time";
|
|
@@ -2004,11 +2042,11 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
2004
2042
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
2005
2043
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
2006
2044
|
state: z.ZodOptional<z.ZodEnum<{
|
|
2045
|
+
converted: "converted";
|
|
2007
2046
|
active: "active";
|
|
2008
2047
|
none: "none";
|
|
2009
2048
|
expired: "expired";
|
|
2010
2049
|
running_out: "running_out";
|
|
2011
|
-
converted: "converted";
|
|
2012
2050
|
}>>;
|
|
2013
2051
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
2014
2052
|
time: "time";
|
|
@@ -2082,11 +2120,11 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
2082
2120
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
2083
2121
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
2084
2122
|
state: z.ZodOptional<z.ZodEnum<{
|
|
2123
|
+
converted: "converted";
|
|
2085
2124
|
active: "active";
|
|
2086
2125
|
none: "none";
|
|
2087
2126
|
expired: "expired";
|
|
2088
2127
|
running_out: "running_out";
|
|
2089
|
-
converted: "converted";
|
|
2090
2128
|
}>>;
|
|
2091
2129
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
2092
2130
|
time: "time";
|
|
@@ -2140,17 +2178,18 @@ declare const UserContextSchema: z.ZodObject<{
|
|
|
2140
2178
|
derived_computed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2141
2179
|
activity_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2142
2180
|
activity_score_computed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2181
|
+
experiments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2143
2182
|
}, z.core.$strip>;
|
|
2144
2183
|
declare const ClientContextSchema: z.ZodObject<{
|
|
2145
2184
|
subject: z.ZodString;
|
|
2146
2185
|
context_version: z.ZodOptional<z.ZodString>;
|
|
2147
2186
|
trial: z.ZodOptional<z.ZodObject<{
|
|
2148
2187
|
status: z.ZodEnum<{
|
|
2188
|
+
converted: "converted";
|
|
2149
2189
|
active: "active";
|
|
2150
2190
|
none: "none";
|
|
2151
2191
|
expired: "expired";
|
|
2152
2192
|
running_out: "running_out";
|
|
2153
|
-
converted: "converted";
|
|
2154
2193
|
}>;
|
|
2155
2194
|
days_remaining: z.ZodOptional<z.ZodNumber>;
|
|
2156
2195
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
@@ -2365,6 +2404,7 @@ declare const SegmentSchema: z.ZodObject<{
|
|
|
2365
2404
|
handle: z.ZodString;
|
|
2366
2405
|
description: z.ZodOptional<z.ZodString>;
|
|
2367
2406
|
rules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2407
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
2368
2408
|
is_active: z.ZodDefault<z.ZodBoolean>;
|
|
2369
2409
|
estimated_size: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2370
2410
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2814,6 +2854,10 @@ declare const TreatmentInteractionInputSchema: z.ZodObject<{
|
|
|
2814
2854
|
suppress: "suppress";
|
|
2815
2855
|
}>;
|
|
2816
2856
|
interaction_at: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
message_block_handle: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
message_block_id: z.ZodOptional<z.ZodString>;
|
|
2859
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
2817
2861
|
test: z.ZodOptional<z.ZodBoolean>;
|
|
2818
2862
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2819
2863
|
}, z.core.$strip>;
|
|
@@ -3101,9 +3145,9 @@ declare const eventPaths: ZodOpenApiPathsObject;
|
|
|
3101
3145
|
*/
|
|
3102
3146
|
|
|
3103
3147
|
declare const TrialStatusSchema: z.ZodEnum<{
|
|
3148
|
+
converted: "converted";
|
|
3104
3149
|
active: "active";
|
|
3105
3150
|
expired: "expired";
|
|
3106
|
-
converted: "converted";
|
|
3107
3151
|
not_started: "not_started";
|
|
3108
3152
|
cancelled: "cancelled";
|
|
3109
3153
|
}>;
|
|
@@ -3235,9 +3279,9 @@ declare const TrialInstanceSchema: z.ZodObject<{
|
|
|
3235
3279
|
}>;
|
|
3236
3280
|
plan_id: z.ZodString;
|
|
3237
3281
|
status: z.ZodDefault<z.ZodEnum<{
|
|
3282
|
+
converted: "converted";
|
|
3238
3283
|
active: "active";
|
|
3239
3284
|
expired: "expired";
|
|
3240
|
-
converted: "converted";
|
|
3241
3285
|
not_started: "not_started";
|
|
3242
3286
|
cancelled: "cancelled";
|
|
3243
3287
|
}>>;
|
|
@@ -3474,9 +3518,9 @@ declare const EntitlementEvalLogSchema: z.ZodObject<{
|
|
|
3474
3518
|
entitlement_handle: z.ZodString;
|
|
3475
3519
|
entitlement_type: z.ZodString;
|
|
3476
3520
|
result: z.ZodEnum<{
|
|
3477
|
-
metered: "metered";
|
|
3478
3521
|
limited: "limited";
|
|
3479
3522
|
denied: "denied";
|
|
3523
|
+
metered: "metered";
|
|
3480
3524
|
granted: "granted";
|
|
3481
3525
|
}>;
|
|
3482
3526
|
current_usage: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3851,6 +3895,7 @@ declare const RevTurbineConfigSegmentsItemSchema: z.ZodObject<{
|
|
|
3851
3895
|
value: z.ZodString;
|
|
3852
3896
|
}, z.core.$strip>>>;
|
|
3853
3897
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
3898
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
3854
3899
|
}, z.core.$strip>;
|
|
3855
3900
|
declare const RevTurbineConfigPlansItemSchema: z.ZodObject<{
|
|
3856
3901
|
unique_handle: z.ZodString;
|
|
@@ -4751,6 +4796,7 @@ declare const PlaybookBodySchema: z.ZodObject<{
|
|
|
4751
4796
|
value: z.ZodString;
|
|
4752
4797
|
}, z.core.$strip>>>;
|
|
4753
4798
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
4799
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
4754
4800
|
}, z.core.$strip>>;
|
|
4755
4801
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
4756
4802
|
name: z.ZodString;
|
|
@@ -5398,6 +5444,7 @@ declare const PlaybookObjectSchema: z.ZodObject<{
|
|
|
5398
5444
|
value: z.ZodString;
|
|
5399
5445
|
}, z.core.$strip>>>;
|
|
5400
5446
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
5447
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
5401
5448
|
}, z.core.$strip>>;
|
|
5402
5449
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
5403
5450
|
name: z.ZodString;
|
|
@@ -6032,6 +6079,7 @@ declare const PlaybookSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
6032
6079
|
value: z.ZodString;
|
|
6033
6080
|
}, z.core.$strip>>>;
|
|
6034
6081
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
6082
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
6035
6083
|
}, z.core.$strip>>;
|
|
6036
6084
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
6037
6085
|
name: z.ZodString;
|
|
@@ -6684,6 +6732,7 @@ declare const PlaybookStrictSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
6684
6732
|
value: z.ZodString;
|
|
6685
6733
|
}, z.core.$strip>>>;
|
|
6686
6734
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
6735
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
6687
6736
|
}, z.core.$strip>>;
|
|
6688
6737
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
6689
6738
|
name: z.ZodString;
|
|
@@ -7315,6 +7364,7 @@ declare const RevTurbineConfigSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
7315
7364
|
value: z.ZodString;
|
|
7316
7365
|
}, z.core.$strip>>>;
|
|
7317
7366
|
dimension_id: z.ZodOptional<z.ZodString>;
|
|
7367
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
7318
7368
|
}, z.core.$strip>>;
|
|
7319
7369
|
content_ui_paths: z.ZodArray<z.ZodObject<{
|
|
7320
7370
|
name: z.ZodString;
|
|
@@ -7987,6 +8037,9 @@ declare const PlacementDecisionOutputSchema: z.ZodObject<{
|
|
|
7987
8037
|
decision_id: z.ZodString;
|
|
7988
8038
|
config_version: z.ZodString;
|
|
7989
8039
|
present_upsell: z.ZodBoolean;
|
|
8040
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8041
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8042
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
7990
8043
|
}, z.core.$strip>;
|
|
7991
8044
|
declare const EntitlementCheckResultSchema: z.ZodObject<{
|
|
7992
8045
|
status: z.ZodEnum<{
|
|
@@ -8033,6 +8086,9 @@ declare const EntitlementCheckResultSchema: z.ZodObject<{
|
|
|
8033
8086
|
decision_id: z.ZodString;
|
|
8034
8087
|
config_version: z.ZodString;
|
|
8035
8088
|
present_upsell: z.ZodBoolean;
|
|
8089
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8090
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8091
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8036
8092
|
}, z.core.$strip>>;
|
|
8037
8093
|
}, z.core.$strip>;
|
|
8038
8094
|
declare const RuntimePromotionSnapshotSchema: z.ZodObject<{
|
|
@@ -8086,6 +8142,9 @@ declare const ServerEvaluationPayloadDecisionsItemSchema: z.ZodObject<{
|
|
|
8086
8142
|
decision_id: z.ZodString;
|
|
8087
8143
|
config_version: z.ZodString;
|
|
8088
8144
|
present_upsell: z.ZodBoolean;
|
|
8145
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8146
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8147
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8089
8148
|
}, z.core.$strip>>;
|
|
8090
8149
|
reason_codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8091
8150
|
}, z.core.$strip>;
|
|
@@ -8135,6 +8194,9 @@ declare const ServerEvaluationPayloadEntitlementsValueSchema: z.ZodObject<{
|
|
|
8135
8194
|
decision_id: z.ZodString;
|
|
8136
8195
|
config_version: z.ZodString;
|
|
8137
8196
|
present_upsell: z.ZodBoolean;
|
|
8197
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8198
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8199
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8138
8200
|
}, z.core.$strip>>;
|
|
8139
8201
|
}, z.core.$strip>;
|
|
8140
8202
|
/**
|
|
@@ -8153,11 +8215,11 @@ declare const ServerEvaluationPayloadTrialStatusSchema: z.ZodObject<{
|
|
|
8153
8215
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
8154
8216
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8155
8217
|
state: z.ZodOptional<z.ZodEnum<{
|
|
8218
|
+
converted: "converted";
|
|
8156
8219
|
active: "active";
|
|
8157
8220
|
none: "none";
|
|
8158
8221
|
expired: "expired";
|
|
8159
8222
|
running_out: "running_out";
|
|
8160
|
-
converted: "converted";
|
|
8161
8223
|
}>>;
|
|
8162
8224
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
8163
8225
|
time: "time";
|
|
@@ -8226,6 +8288,9 @@ declare const ServerEvaluationPayloadSchema: z.ZodObject<{
|
|
|
8226
8288
|
decision_id: z.ZodString;
|
|
8227
8289
|
config_version: z.ZodString;
|
|
8228
8290
|
present_upsell: z.ZodBoolean;
|
|
8291
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8292
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8293
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8229
8294
|
}, z.core.$strip>>;
|
|
8230
8295
|
reason_codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8231
8296
|
}, z.core.$strip>>;
|
|
@@ -8274,6 +8339,9 @@ declare const ServerEvaluationPayloadSchema: z.ZodObject<{
|
|
|
8274
8339
|
decision_id: z.ZodString;
|
|
8275
8340
|
config_version: z.ZodString;
|
|
8276
8341
|
present_upsell: z.ZodBoolean;
|
|
8342
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
8343
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
8344
|
+
experiment_version_id: z.ZodOptional<z.ZodString>;
|
|
8277
8345
|
}, z.core.$strip>>;
|
|
8278
8346
|
}, z.core.$strip>>>;
|
|
8279
8347
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -8282,11 +8350,11 @@ declare const ServerEvaluationPayloadSchema: z.ZodObject<{
|
|
|
8282
8350
|
trial_type: z.ZodOptional<z.ZodString>;
|
|
8283
8351
|
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8284
8352
|
state: z.ZodOptional<z.ZodEnum<{
|
|
8353
|
+
converted: "converted";
|
|
8285
8354
|
active: "active";
|
|
8286
8355
|
none: "none";
|
|
8287
8356
|
expired: "expired";
|
|
8288
8357
|
running_out: "running_out";
|
|
8289
|
-
converted: "converted";
|
|
8290
8358
|
}>>;
|
|
8291
8359
|
trial_limit_type: z.ZodOptional<z.ZodEnum<{
|
|
8292
8360
|
time: "time";
|
|
@@ -8656,8 +8724,8 @@ declare const PermissionResourceSchema: z.ZodEnum<{
|
|
|
8656
8724
|
content: "content";
|
|
8657
8725
|
entitlements: "entitlements";
|
|
8658
8726
|
placements: "placements";
|
|
8659
|
-
users: "users";
|
|
8660
8727
|
experiments: "experiments";
|
|
8728
|
+
users: "users";
|
|
8661
8729
|
settings: "settings";
|
|
8662
8730
|
tenant: "tenant";
|
|
8663
8731
|
targeting: "targeting";
|
|
@@ -8682,8 +8750,8 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
8682
8750
|
content: "content";
|
|
8683
8751
|
entitlements: "entitlements";
|
|
8684
8752
|
placements: "placements";
|
|
8685
|
-
users: "users";
|
|
8686
8753
|
experiments: "experiments";
|
|
8754
|
+
users: "users";
|
|
8687
8755
|
settings: "settings";
|
|
8688
8756
|
tenant: "tenant";
|
|
8689
8757
|
targeting: "targeting";
|
|
@@ -8708,19 +8776,19 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
8708
8776
|
*/
|
|
8709
8777
|
declare const ROLE_PERMISSIONS: {
|
|
8710
8778
|
readonly viewer: {
|
|
8711
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8779
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8712
8780
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8713
8781
|
}[];
|
|
8714
8782
|
readonly collaborator: {
|
|
8715
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8783
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8716
8784
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8717
8785
|
}[];
|
|
8718
8786
|
readonly approver: {
|
|
8719
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8787
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8720
8788
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8721
8789
|
}[];
|
|
8722
8790
|
readonly admin: {
|
|
8723
|
-
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "
|
|
8791
|
+
resource: "billing" | "plans" | "content" | "entitlements" | "placements" | "experiments" | "users" | "settings" | "tenant" | "targeting" | "audit" | "mcp" | "api_tokens";
|
|
8724
8792
|
action: "delete" | "create" | "update" | "publish" | "read" | "approve" | "invite" | "manage_roles";
|
|
8725
8793
|
}[];
|
|
8726
8794
|
};
|
|
@@ -8765,14 +8833,6 @@ declare const McpTokenScopeSchema: z.ZodEnum<{
|
|
|
8765
8833
|
"placements:approve": "placements:approve";
|
|
8766
8834
|
"placements:invite": "placements:invite";
|
|
8767
8835
|
"placements:manage_roles": "placements:manage_roles";
|
|
8768
|
-
"users:delete": "users:delete";
|
|
8769
|
-
"users:create": "users:create";
|
|
8770
|
-
"users:update": "users:update";
|
|
8771
|
-
"users:publish": "users:publish";
|
|
8772
|
-
"users:read": "users:read";
|
|
8773
|
-
"users:approve": "users:approve";
|
|
8774
|
-
"users:invite": "users:invite";
|
|
8775
|
-
"users:manage_roles": "users:manage_roles";
|
|
8776
8836
|
"experiments:delete": "experiments:delete";
|
|
8777
8837
|
"experiments:create": "experiments:create";
|
|
8778
8838
|
"experiments:update": "experiments:update";
|
|
@@ -8781,6 +8841,14 @@ declare const McpTokenScopeSchema: z.ZodEnum<{
|
|
|
8781
8841
|
"experiments:approve": "experiments:approve";
|
|
8782
8842
|
"experiments:invite": "experiments:invite";
|
|
8783
8843
|
"experiments:manage_roles": "experiments:manage_roles";
|
|
8844
|
+
"users:delete": "users:delete";
|
|
8845
|
+
"users:create": "users:create";
|
|
8846
|
+
"users:update": "users:update";
|
|
8847
|
+
"users:publish": "users:publish";
|
|
8848
|
+
"users:read": "users:read";
|
|
8849
|
+
"users:approve": "users:approve";
|
|
8850
|
+
"users:invite": "users:invite";
|
|
8851
|
+
"users:manage_roles": "users:manage_roles";
|
|
8784
8852
|
"settings:delete": "settings:delete";
|
|
8785
8853
|
"settings:create": "settings:create";
|
|
8786
8854
|
"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
|
*/
|
|
@@ -10944,10 +11071,13 @@ declare class LocalRuntime {
|
|
|
10944
11071
|
* a customer can render fully with no branding passed at all:
|
|
10945
11072
|
*
|
|
10946
11073
|
* 1. **Explicit `branding` argument** — passed to the SDK at init.
|
|
10947
|
-
* 2. **
|
|
11074
|
+
* 2. **Branding API** — branding from `GET /api/sdk/theme`, either fetched by
|
|
11075
|
+
* the SDK (`fetchThemeOverride`) or supplied by the host (`apiBranding`).
|
|
11076
|
+
* This **overrides** config-embedded branding: it is the live value, and
|
|
11077
|
+
* managing branding in the control plane is pointless if a stale `theme`
|
|
11078
|
+
* baked into a shipped Playbook outranks it (plan 184).
|
|
11079
|
+
* 3. **Legacy config-embedded** — the deprecated `theme` field carried inside
|
|
10948
11080
|
* an older `RevTurbineConfig`/`Playbook`. Works, but warns in development.
|
|
10949
|
-
* 3. **Branding API** — branding fetched from the RevTurbine Branding API or a
|
|
10950
|
-
* workspace-settings source and supplied by the host (`apiBranding`).
|
|
10951
11081
|
* 4. **`DEFAULT_BRANDING`** — structural fallback so the SDK always renders.
|
|
10952
11082
|
*
|
|
10953
11083
|
* Each rung's (possibly partial) branding is merged over `DEFAULT_BRANDING`, so
|
|
@@ -12628,7 +12758,7 @@ declare class RevTurbineCustomerSdk {
|
|
|
12628
12758
|
private lastTrialTriggerStage;
|
|
12629
12759
|
private readonly configProvider?;
|
|
12630
12760
|
private readonly branding?;
|
|
12631
|
-
private
|
|
12761
|
+
private apiBranding?;
|
|
12632
12762
|
private cachedPlacementResolver?;
|
|
12633
12763
|
private cachedPlacementResolverConfig?;
|
|
12634
12764
|
private sdkDisabledByProviderFailure;
|
|
@@ -12787,6 +12917,21 @@ declare class RevTurbineCustomerSdk {
|
|
|
12787
12917
|
* @public
|
|
12788
12918
|
*/
|
|
12789
12919
|
getBranding(): ResolvedBranding;
|
|
12920
|
+
/**
|
|
12921
|
+
* Supply the branding-API rung after init.
|
|
12922
|
+
*
|
|
12923
|
+
* `apiBranding` can be passed at construction when the host fetches branding
|
|
12924
|
+
* itself, but with `fetchThemeOverride` the SDK fetches
|
|
12925
|
+
* `GET /api/sdk/theme` *after* the instance exists. Without this setter that
|
|
12926
|
+
* fetched value reached only the React theme context, so `getBranding()` and
|
|
12927
|
+
* `useRevTurbineTheme()` could report different branding for the same tenant
|
|
12928
|
+
* (plan 184).
|
|
12929
|
+
*
|
|
12930
|
+
* @param branding - Branding from the Branding API. Overrides config-embedded
|
|
12931
|
+
* branding but never the explicit `branding` init option.
|
|
12932
|
+
* @public
|
|
12933
|
+
*/
|
|
12934
|
+
setApiBranding(branding: BrandingConfig | undefined): void;
|
|
12790
12935
|
private deriveLocalEntitlementFromConfiguredRules;
|
|
12791
12936
|
/**
|
|
12792
12937
|
* Inline adapter — given a UserTrialStatus + the tenant's
|
|
@@ -15294,6 +15439,10 @@ interface components {
|
|
|
15294
15439
|
payload_id?: components["schemas"]["Anon_4e04ec5cc4e6_7"];
|
|
15295
15440
|
interaction_type: components["schemas"]["Anon_b540c131c269"];
|
|
15296
15441
|
interaction_at?: components["schemas"]["Anon_e077e17ea982_2"];
|
|
15442
|
+
message_block_handle?: components["schemas"]["Anon_4e04ec5cc4e6_8"];
|
|
15443
|
+
message_block_id?: components["schemas"]["Anon_4e04ec5cc4e6_9"];
|
|
15444
|
+
experiment_id?: components["schemas"]["Anon_4e04ec5cc4e6_10"];
|
|
15445
|
+
variant_key?: components["schemas"]["Anon_4e04ec5cc4e6_11"];
|
|
15297
15446
|
test?: components["schemas"]["Anon_fb9ddeea992e_3"];
|
|
15298
15447
|
metadata?: components["schemas"]["Anon_a249e58b3222"];
|
|
15299
15448
|
};
|
|
@@ -15340,6 +15489,7 @@ interface components {
|
|
|
15340
15489
|
derived_computed_at?: components["schemas"]["Anon_711dc9708535_6"];
|
|
15341
15490
|
activity_score?: components["schemas"]["Anon_9f0494e90be4"];
|
|
15342
15491
|
activity_score_computed_at?: components["schemas"]["Anon_8b48719136dc"];
|
|
15492
|
+
experiments?: components["schemas"]["Anon_f86c1754c55e_1"];
|
|
15343
15493
|
};
|
|
15344
15494
|
UserPlanContext: {
|
|
15345
15495
|
id: components["schemas"]["Anon_57796118d046_22"];
|
|
@@ -16137,6 +16287,14 @@ interface components {
|
|
|
16137
16287
|
Anon_e077e17ea982_2: components["schemas"]["Anon_02ecf48bed22_2"];
|
|
16138
16288
|
/** Format: date-time */
|
|
16139
16289
|
Anon_02ecf48bed22_2: string;
|
|
16290
|
+
Anon_4e04ec5cc4e6_8: components["schemas"]["Anon_9ac136edb99a_13"];
|
|
16291
|
+
Anon_9ac136edb99a_13: string;
|
|
16292
|
+
Anon_4e04ec5cc4e6_9: components["schemas"]["Anon_9ac136edb99a_14"];
|
|
16293
|
+
Anon_9ac136edb99a_14: string;
|
|
16294
|
+
Anon_4e04ec5cc4e6_10: components["schemas"]["Anon_9ac136edb99a_15"];
|
|
16295
|
+
Anon_9ac136edb99a_15: string;
|
|
16296
|
+
Anon_4e04ec5cc4e6_11: components["schemas"]["Anon_9ac136edb99a_16"];
|
|
16297
|
+
Anon_9ac136edb99a_16: string;
|
|
16140
16298
|
Anon_fb9ddeea992e_3: components["schemas"]["Anon_7cb541e84f22_30"];
|
|
16141
16299
|
Anon_7cb541e84f22_30: boolean;
|
|
16142
16300
|
Anon_a249e58b3222: components["schemas"]["Anon_c65c1fbd5acf_8"];
|
|
@@ -16277,6 +16435,10 @@ interface components {
|
|
|
16277
16435
|
Anon_c648138a0918_5: number | null;
|
|
16278
16436
|
Anon_8b48719136dc: components["schemas"]["Anon_b0c21ae8f968_2"];
|
|
16279
16437
|
Anon_b0c21ae8f968_2: string | null;
|
|
16438
|
+
Anon_f86c1754c55e_1: components["schemas"]["Anon_86408dfcaaac_2"];
|
|
16439
|
+
Anon_86408dfcaaac_2: {
|
|
16440
|
+
[key: string]: string;
|
|
16441
|
+
};
|
|
16280
16442
|
PlanAnchor: components["schemas"]["Anon_f38b4727dc66"];
|
|
16281
16443
|
Plan: {
|
|
16282
16444
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
@@ -16734,7 +16896,7 @@ interface components {
|
|
|
16734
16896
|
started_at: components["schemas"]["Anon_be3e2585472d_6"];
|
|
16735
16897
|
expires_at?: components["schemas"]["Anon_8b48719136dc_1"];
|
|
16736
16898
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_4"];
|
|
16737
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
16899
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_14"];
|
|
16738
16900
|
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_4"];
|
|
16739
16901
|
converted_at: components["schemas"]["Anon_711dc9708535_9"];
|
|
16740
16902
|
cancelled_at: components["schemas"]["Anon_711dc9708535_10"];
|
|
@@ -17220,7 +17382,7 @@ interface components {
|
|
|
17220
17382
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
17221
17383
|
event_type: components["schemas"]["Anon_57796118d046_69"];
|
|
17222
17384
|
source: components["schemas"]["Anon_eabbbb727ad3"];
|
|
17223
|
-
tenant_id?: components["schemas"]["
|
|
17385
|
+
tenant_id?: components["schemas"]["Anon_4e04ec5cc4e6_16"];
|
|
17224
17386
|
user_id?: components["schemas"]["Anon_0a729b73253d"];
|
|
17225
17387
|
session_id?: components["schemas"]["Anon_0a729b73253d_1"];
|
|
17226
17388
|
occurred_at: components["schemas"]["Anon_3c179513a5d9_3"];
|
|
@@ -17238,8 +17400,8 @@ interface components {
|
|
|
17238
17400
|
Anon_be3e2585472d_3: string;
|
|
17239
17401
|
Anon_fb248bf5a9f7_10: string;
|
|
17240
17402
|
/** @default production */
|
|
17241
|
-
Anon_51cbbf69cb41_1: components["schemas"]["
|
|
17242
|
-
|
|
17403
|
+
Anon_51cbbf69cb41_1: components["schemas"]["Anon_9ac136edb99a_17"];
|
|
17404
|
+
Anon_9ac136edb99a_17: string;
|
|
17243
17405
|
Anon_2457cccd64aa_1: components["schemas"]["Anon_0eb2e3b6e08c_1"];
|
|
17244
17406
|
Anon_0eb2e3b6e08c_1: string;
|
|
17245
17407
|
/** @default true */
|
|
@@ -17648,7 +17810,7 @@ interface components {
|
|
|
17648
17810
|
/** @default [] */
|
|
17649
17811
|
Anon_3b6346b139c2: components["schemas"]["Anon_f836473839d1"];
|
|
17650
17812
|
Anon_f836473839d1: components["schemas"]["FieldDefinitionOutput"][];
|
|
17651
|
-
|
|
17813
|
+
Anon_9ac136edb99a_18: string;
|
|
17652
17814
|
/** @default false */
|
|
17653
17815
|
Anon_f56777819c8b_3: boolean;
|
|
17654
17816
|
Anon_44136fa355b3_1: unknown;
|
|
@@ -17705,8 +17867,8 @@ interface components {
|
|
|
17705
17867
|
/** @default 0 */
|
|
17706
17868
|
Anon_2aa59aec1f23_4: components["schemas"]["Anon_97cc9ecfdea9_26"];
|
|
17707
17869
|
Anon_97cc9ecfdea9_26: number;
|
|
17708
|
-
|
|
17709
|
-
|
|
17870
|
+
Anon_4e04ec5cc4e6_12: components["schemas"]["Anon_9ac136edb99a_19"];
|
|
17871
|
+
Anon_9ac136edb99a_19: string;
|
|
17710
17872
|
Anon_9717c0445e52_2: components["schemas"]["Anon_ea288f4ef558_9"];
|
|
17711
17873
|
Anon_ea288f4ef558_9: number;
|
|
17712
17874
|
/** @default false */
|
|
@@ -17737,8 +17899,8 @@ interface components {
|
|
|
17737
17899
|
Anon_e7cb93d064a8_3: components["schemas"]["TrialLimitType"];
|
|
17738
17900
|
Anon_62c32913f8d0_3: components["schemas"]["Anon_3b260614cba4_3"];
|
|
17739
17901
|
Anon_3b260614cba4_3: number | null;
|
|
17740
|
-
|
|
17741
|
-
|
|
17902
|
+
Anon_4e04ec5cc4e6_13: components["schemas"]["Anon_9ac136edb99a_20"];
|
|
17903
|
+
Anon_9ac136edb99a_20: string;
|
|
17742
17904
|
Anon_9717c0445e52_3: components["schemas"]["Anon_ea288f4ef558_11"];
|
|
17743
17905
|
Anon_ea288f4ef558_11: number;
|
|
17744
17906
|
/** @default signup */
|
|
@@ -17773,8 +17935,8 @@ interface components {
|
|
|
17773
17935
|
Anon_b0c21ae8f968_5: string | null;
|
|
17774
17936
|
/** @default time */
|
|
17775
17937
|
Anon_e7cb93d064a8_4: components["schemas"]["TrialLimitType"];
|
|
17776
|
-
|
|
17777
|
-
|
|
17938
|
+
Anon_4e04ec5cc4e6_14: components["schemas"]["Anon_9ac136edb99a_21"];
|
|
17939
|
+
Anon_9ac136edb99a_21: string;
|
|
17778
17940
|
Anon_9717c0445e52_4: components["schemas"]["Anon_ea288f4ef558_12"];
|
|
17779
17941
|
Anon_ea288f4ef558_12: number;
|
|
17780
17942
|
Anon_711dc9708535_9: components["schemas"]["Anon_11c9ad639448_1"];
|
|
@@ -17794,7 +17956,7 @@ interface components {
|
|
|
17794
17956
|
Anon_f8dbfffc0ce2_19: components["schemas"]["Anon_681004346c78_22"];
|
|
17795
17957
|
Anon_681004346c78_22: string[];
|
|
17796
17958
|
Anon_544a3bc583b1: components["schemas"]["ExperimentVariantOutput"][];
|
|
17797
|
-
|
|
17959
|
+
Anon_9ac136edb99a_22: string;
|
|
17798
17960
|
/** @default 0.5 */
|
|
17799
17961
|
Anon_7e4345d1e208_1: number;
|
|
17800
17962
|
/** @default false */
|
|
@@ -17963,8 +18125,8 @@ interface components {
|
|
|
17963
18125
|
Anon_f7fb9744a6e4_25: components["schemas"]["Anon_f090cb615c84_42"];
|
|
17964
18126
|
Anon_f090cb615c84_42: string | null;
|
|
17965
18127
|
/** @default {} */
|
|
17966
|
-
Anon_72084ba72159_1: components["schemas"]["
|
|
17967
|
-
|
|
18128
|
+
Anon_72084ba72159_1: components["schemas"]["Anon_86408dfcaaac_3"];
|
|
18129
|
+
Anon_86408dfcaaac_3: {
|
|
17968
18130
|
[key: string]: string;
|
|
17969
18131
|
};
|
|
17970
18132
|
/** @default null */
|
|
@@ -18072,8 +18234,8 @@ interface components {
|
|
|
18072
18234
|
/** @enum {string} */
|
|
18073
18235
|
Anon_fc6def941f46_1: "template" | "slot";
|
|
18074
18236
|
Anon_57796118d046_61: string;
|
|
18075
|
-
|
|
18076
|
-
|
|
18237
|
+
Anon_4e04ec5cc4e6_15: components["schemas"]["Anon_9ac136edb99a_23"];
|
|
18238
|
+
Anon_9ac136edb99a_23: string;
|
|
18077
18239
|
Anon_c65e883b4e4a: {
|
|
18078
18240
|
count: components["schemas"]["Anon_492895348dbd_1"];
|
|
18079
18241
|
period: components["schemas"]["Anon_e78ca35ebc33_1"];
|
|
@@ -18361,8 +18523,8 @@ interface components {
|
|
|
18361
18523
|
Anon_7cb541e84f22_72: boolean;
|
|
18362
18524
|
Anon_24a0ac3f017b_5: components["schemas"]["Anon_11c9ad639448_1"];
|
|
18363
18525
|
/** @default production */
|
|
18364
|
-
Anon_a2f8ac1ffbf6: components["schemas"]["
|
|
18365
|
-
|
|
18526
|
+
Anon_a2f8ac1ffbf6: components["schemas"]["Anon_9ac136edb99a_24"];
|
|
18527
|
+
Anon_9ac136edb99a_24: string;
|
|
18366
18528
|
Anon_a607427cce0b: components["schemas"]["AuditActorType"];
|
|
18367
18529
|
/** @default null */
|
|
18368
18530
|
Anon_f7fb9744a6e4_30: components["schemas"]["Anon_f090cb615c84_52"];
|
|
@@ -18394,12 +18556,12 @@ interface components {
|
|
|
18394
18556
|
Anon_57796118d046_69: string;
|
|
18395
18557
|
/** @default sdk */
|
|
18396
18558
|
Anon_eabbbb727ad3: components["schemas"]["EventSource"];
|
|
18397
|
-
|
|
18398
|
-
|
|
18399
|
-
Anon_0a729b73253d: components["schemas"]["
|
|
18400
|
-
|
|
18401
|
-
Anon_0a729b73253d_1: components["schemas"]["
|
|
18402
|
-
|
|
18559
|
+
Anon_4e04ec5cc4e6_16: components["schemas"]["Anon_9ac136edb99a_25"];
|
|
18560
|
+
Anon_9ac136edb99a_25: string;
|
|
18561
|
+
Anon_0a729b73253d: components["schemas"]["Anon_9ac136edb99a_26"];
|
|
18562
|
+
Anon_9ac136edb99a_26: string;
|
|
18563
|
+
Anon_0a729b73253d_1: components["schemas"]["Anon_9ac136edb99a_27"];
|
|
18564
|
+
Anon_9ac136edb99a_27: string;
|
|
18403
18565
|
/** Format: date-time */
|
|
18404
18566
|
Anon_3c179513a5d9_3: string;
|
|
18405
18567
|
Anon_57796118d046_70: string;
|
|
@@ -18491,8 +18653,8 @@ interface components {
|
|
|
18491
18653
|
Anon_7cb541e84f22_73: boolean;
|
|
18492
18654
|
Anon_fb9ddeea992e_9: components["schemas"]["Anon_7cb541e84f22_74"];
|
|
18493
18655
|
Anon_7cb541e84f22_74: boolean;
|
|
18494
|
-
|
|
18495
|
-
|
|
18656
|
+
Anon_f86c1754c55e_2: components["schemas"]["Anon_86408dfcaaac_4"];
|
|
18657
|
+
Anon_86408dfcaaac_4: {
|
|
18496
18658
|
[key: string]: string;
|
|
18497
18659
|
};
|
|
18498
18660
|
/** @default {} */
|
|
@@ -18553,6 +18715,10 @@ interface components {
|
|
|
18553
18715
|
Anon_c648138a0918_11: number | null;
|
|
18554
18716
|
Anon_8b48719136dc_2: components["schemas"]["Anon_b0c21ae8f968_6"];
|
|
18555
18717
|
Anon_b0c21ae8f968_6: string | null;
|
|
18718
|
+
Anon_f86c1754c55e_3: components["schemas"]["Anon_86408dfcaaac_5"];
|
|
18719
|
+
Anon_86408dfcaaac_5: {
|
|
18720
|
+
[key: string]: string;
|
|
18721
|
+
};
|
|
18556
18722
|
/** @default usd */
|
|
18557
18723
|
CurrencyOutput: components["schemas"]["Anon_93bacb23d436_1"];
|
|
18558
18724
|
EntitlementRuleTargetOutput: {
|
|
@@ -18609,7 +18775,7 @@ interface components {
|
|
|
18609
18775
|
description?: components["schemas"]["Anon_ee9224780226_6"];
|
|
18610
18776
|
};
|
|
18611
18777
|
FieldDefinitionOutput: {
|
|
18612
|
-
name: components["schemas"]["
|
|
18778
|
+
name: components["schemas"]["Anon_9ac136edb99a_18"];
|
|
18613
18779
|
field_type: components["schemas"]["TemplateFieldType"];
|
|
18614
18780
|
required: components["schemas"]["Anon_f56777819c8b_3"];
|
|
18615
18781
|
default_value?: components["schemas"]["Anon_44136fa355b3_1"];
|
|
@@ -18678,7 +18844,7 @@ interface components {
|
|
|
18678
18844
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_2"];
|
|
18679
18845
|
duration_days?: components["schemas"]["Anon_62c32913f8d0_2"];
|
|
18680
18846
|
grace_period_days: components["schemas"]["Anon_2aa59aec1f23_4"];
|
|
18681
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
18847
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_12"];
|
|
18682
18848
|
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_2"];
|
|
18683
18849
|
require_payment_method: components["schemas"]["Anon_062d958a93c4_6"];
|
|
18684
18850
|
auto_convert: components["schemas"]["Anon_493deecc809a_7"];
|
|
@@ -18708,7 +18874,7 @@ interface components {
|
|
|
18708
18874
|
segment_id?: components["schemas"]["Anon_4fc4bfa2adad_15"];
|
|
18709
18875
|
trial_limit_type: components["schemas"]["Anon_e7cb93d064a8_3"];
|
|
18710
18876
|
duration_days?: components["schemas"]["Anon_62c32913f8d0_3"];
|
|
18711
|
-
usage_entitlement_handle?: components["schemas"]["
|
|
18877
|
+
usage_entitlement_handle?: components["schemas"]["Anon_4e04ec5cc4e6_13"];
|
|
18712
18878
|
usage_limit_value?: components["schemas"]["Anon_9717c0445e52_3"];
|
|
18713
18879
|
start_policy: components["schemas"]["Anon_df3d212fc186_1"];
|
|
18714
18880
|
show_upgrade_prompt_at_day?: components["schemas"]["Anon_7e1e37293611_11"];
|
|
@@ -18764,7 +18930,7 @@ interface components {
|
|
|
18764
18930
|
metadata: components["schemas"]["Anon_f27cb44c32f6_22"];
|
|
18765
18931
|
};
|
|
18766
18932
|
ExperimentVariantOutput: {
|
|
18767
|
-
variant_id: components["schemas"]["
|
|
18933
|
+
variant_id: components["schemas"]["Anon_9ac136edb99a_22"];
|
|
18768
18934
|
name: components["schemas"]["Anon_52ba84a4bbf3_1"];
|
|
18769
18935
|
weight: components["schemas"]["Anon_7e4345d1e208_1"];
|
|
18770
18936
|
is_control: components["schemas"]["Anon_f56777819c8b_4"];
|
|
@@ -18817,7 +18983,7 @@ interface components {
|
|
|
18817
18983
|
PlacementSettingsCapRuleGroupItemOutput: {
|
|
18818
18984
|
kind: components["schemas"]["Anon_fc6def941f46_1"];
|
|
18819
18985
|
id: components["schemas"]["Anon_57796118d046_61"];
|
|
18820
|
-
label?: components["schemas"]["
|
|
18986
|
+
label?: components["schemas"]["Anon_4e04ec5cc4e6_15"];
|
|
18821
18987
|
};
|
|
18822
18988
|
TenantOutput: {
|
|
18823
18989
|
id: components["schemas"]["Anon_fb248bf5a9f7_9"];
|
|
@@ -18855,7 +19021,7 @@ interface components {
|
|
|
18855
19021
|
trial?: components["schemas"]["Anon_62987609f086"];
|
|
18856
19022
|
payment_failed?: components["schemas"]["Anon_fb9ddeea992e_8"];
|
|
18857
19023
|
payment_at_risk?: components["schemas"]["Anon_fb9ddeea992e_9"];
|
|
18858
|
-
tiers?: components["schemas"]["
|
|
19024
|
+
tiers?: components["schemas"]["Anon_f86c1754c55e_2"];
|
|
18859
19025
|
entitlements: components["schemas"]["Anon_a71fa5274014"];
|
|
18860
19026
|
instances?: components["schemas"]["Anon_ef1dd07b9cb1"];
|
|
18861
19027
|
custom: components["schemas"]["Anon_890507589b5c_1"];
|
|
@@ -18865,6 +19031,7 @@ interface components {
|
|
|
18865
19031
|
derived_computed_at: components["schemas"]["Anon_711dc9708535_20"];
|
|
18866
19032
|
activity_score?: components["schemas"]["Anon_9f0494e90be4_1"];
|
|
18867
19033
|
activity_score_computed_at?: components["schemas"]["Anon_8b48719136dc_2"];
|
|
19034
|
+
experiments?: components["schemas"]["Anon_f86c1754c55e_3"];
|
|
18868
19035
|
};
|
|
18869
19036
|
UserPlanContextOutput: {
|
|
18870
19037
|
id: components["schemas"]["Anon_57796118d046_73"];
|
|
@@ -21161,6 +21328,16 @@ interface ThemeLoaderOptions {
|
|
|
21161
21328
|
* control plane refines the Playbook's theme instead of replacing it.
|
|
21162
21329
|
*/
|
|
21163
21330
|
base?: RevTurbineThemeInput;
|
|
21331
|
+
/**
|
|
21332
|
+
* Called with the RAW override — the persisted copy on the fast path, then
|
|
21333
|
+
* the freshly-fetched one — or `null` when there is no override.
|
|
21334
|
+
*
|
|
21335
|
+
* The resolved {@link RevTurbineTheme} is already merged with defaults, so it
|
|
21336
|
+
* can't tell "the API supplied branding" from "nothing was fetched". Callers
|
|
21337
|
+
* that must distinguish those — `getBranding()`, which reports which ladder
|
|
21338
|
+
* rung won — need this unmerged value (plan 184).
|
|
21339
|
+
*/
|
|
21340
|
+
onOverride?: (override: RevTurbineThemeInput | null) => void;
|
|
21164
21341
|
}
|
|
21165
21342
|
/**
|
|
21166
21343
|
* Load the tenant's theme:
|
|
@@ -21390,5 +21567,5 @@ declare class RevTurbineServer {
|
|
|
21390
21567
|
private fetchTheme;
|
|
21391
21568
|
}
|
|
21392
21569
|
|
|
21393
|
-
export { ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AlertSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, ClientContextSchema, ClientSafe, CohortMonthSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_BRANDING, DEFAULT_THEME, DataClassification, DecisionEngine, DecisionLogSchema, DecisionOnly, DescriptionField, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, EnforcementActionSchema, EnforcementModeSchema, 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, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, IngestedEventSchema, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MetadataField, MeteringConfigSchema, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementVariantSchema, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationRecordSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineServer, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, TrackEventSchema, TrackIngestBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, analyticsPaths, applyValueMaps, buildControlPlaneEvent, 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, deriveReverseTrialGrants, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, requireSchemaFacets, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, runtimePaths, schemaDeprecation, schemaFacets, scopesSubsetOfRole, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, userContextPaths, validatePlacementThresholdWarnings };
|
|
21394
|
-
export type { ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, Alert, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsProviderOptions, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, ClientContext, CohortMonth, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DecisionLog, DeriveTrialStatusInput, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, 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, ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FlagValueType, FreeTrialRule, FreeTrialSettings, FunnelStep, IdentifyContextInput, Identity, IdentityDeclaration, IngestWriteScope, IngestedEvent, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MeteringConfig, OnboardingChecklist, OnboardingState, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, Placement, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, 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, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, TrackEvent, TrackIngestBatch, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|
|
21570
|
+
export { ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AlertSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, ClientContextSchema, ClientSafe, CohortMonthSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_BRANDING, DEFAULT_THEME, DataClassification, DecisionEngine, DecisionLogSchema, DecisionOnly, DescriptionField, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EnforcementActionSchema, EnforcementModeSchema, 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, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, IngestedEventSchema, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MetadataField, MeteringConfigSchema, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementVariantSchema, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PresentationRecordSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineServer, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, TrackEventSchema, TrackIngestBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, analyticsPaths, applyValueMaps, buildControlPlaneEvent, 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, deriveReverseTrialGrants, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, requireSchemaFacets, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, runtimePaths, schemaDeprecation, schemaFacets, scopesSubsetOfRole, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, userContextPaths, validatePlacementThresholdWarnings };
|
|
21571
|
+
export type { ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, Alert, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsProviderOptions, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, ClientContext, CohortMonth, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DecisionLog, DeriveTrialStatusInput, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, 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, ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FlagValueType, FreeTrialRule, FreeTrialSettings, FunnelStep, IdentifyContextInput, Identity, IdentityDeclaration, IngestWriteScope, IngestedEvent, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MeteringConfig, OnboardingChecklist, OnboardingState, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, Placement, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, 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, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, TrackEvent, TrackIngestBatch, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|