@revturbine/sdk 0.9.3 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +109 -0
- package/dist/headless.d.ts +772 -89
- package/dist/headless.js +2 -2
- package/dist/headless.js.map +1 -1
- package/dist/index.d.ts +773 -90
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/server-node/client.d.ts +1 -1
- package/dist/types/server-node/client.d.ts.map +1 -1
- package/dist/types/server-node/local-server.d.ts.map +1 -1
- package/dist/types/server-node/types.d.ts +8 -1
- package/dist/types/server-node/types.d.ts.map +1 -1
- package/dist/types/web-sdk/analytics.d.ts +2 -2
- package/dist/types/web-sdk/analytics.d.ts.map +1 -1
- package/dist/types/web-sdk/controllers.d.ts +3 -3
- package/dist/types/web-sdk/controllers.d.ts.map +1 -1
- package/dist/types/web-sdk/customer-side.d.ts +117 -23
- package/dist/types/web-sdk/customer-side.d.ts.map +1 -1
- package/dist/types/web-sdk/headless.d.ts +1 -1
- package/dist/types/web-sdk/index.d.ts +1 -1
- package/dist/types/web-sdk/react/EngagementArea.d.ts.map +1 -1
- package/dist/types/web-sdk/react/RevTurbineProvider.d.ts +1 -1
- package/dist/types/web-sdk/react/RevTurbineProvider.d.ts.map +1 -1
- package/dist/types/web-sdk/react/Track.d.ts.map +1 -1
- package/dist/types/web-sdk/react/TrackOnView.d.ts.map +1 -1
- package/dist/types/web-sdk/react/useGatedAction.d.ts.map +1 -1
- package/dist/types/web-sdk/react/useTrack.d.ts.map +1 -1
- package/dist/types/web-sdk/react/useTrackedAction.d.ts.map +1 -1
- package/dist/types/web-sdk/telemetry/dom-capture.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/headless.d.ts
CHANGED
|
@@ -3329,11 +3329,6 @@ declare const AnalyticsCatalogMetricSchema: z.ZodObject<{
|
|
|
3329
3329
|
numerator_metric: z.ZodOptional<z.ZodString>;
|
|
3330
3330
|
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
3331
3331
|
derivation: z.ZodOptional<z.ZodObject<{
|
|
3332
|
-
kind: z.ZodEnum<{
|
|
3333
|
-
derived: "derived";
|
|
3334
|
-
observed: "observed";
|
|
3335
|
-
unavailable: "unavailable";
|
|
3336
|
-
}>;
|
|
3337
3332
|
input_origin: z.ZodEnum<{
|
|
3338
3333
|
none: "none";
|
|
3339
3334
|
platform: "platform";
|
|
@@ -3345,6 +3340,17 @@ declare const AnalyticsCatalogMetricSchema: z.ZodObject<{
|
|
|
3345
3340
|
carried_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3346
3341
|
note: z.ZodOptional<z.ZodString>;
|
|
3347
3342
|
}, z.core.$strip>>;
|
|
3343
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
3344
|
+
derived: "derived";
|
|
3345
|
+
primitive: "primitive";
|
|
3346
|
+
}>>;
|
|
3347
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
3348
|
+
unavailable: "unavailable";
|
|
3349
|
+
declared: "declared";
|
|
3350
|
+
bound: "bound";
|
|
3351
|
+
validated: "validated";
|
|
3352
|
+
tested: "tested";
|
|
3353
|
+
}>>;
|
|
3348
3354
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3349
3355
|
deprecated: z.ZodBoolean;
|
|
3350
3356
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -3417,11 +3423,6 @@ declare const AnalyticsCatalogMetricValidatedSchema: z.ZodObject<{
|
|
|
3417
3423
|
numerator_metric: z.ZodOptional<z.ZodString>;
|
|
3418
3424
|
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
3419
3425
|
derivation: z.ZodOptional<z.ZodObject<{
|
|
3420
|
-
kind: z.ZodEnum<{
|
|
3421
|
-
derived: "derived";
|
|
3422
|
-
observed: "observed";
|
|
3423
|
-
unavailable: "unavailable";
|
|
3424
|
-
}>;
|
|
3425
3426
|
input_origin: z.ZodEnum<{
|
|
3426
3427
|
none: "none";
|
|
3427
3428
|
platform: "platform";
|
|
@@ -3433,6 +3434,17 @@ declare const AnalyticsCatalogMetricValidatedSchema: z.ZodObject<{
|
|
|
3433
3434
|
carried_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3434
3435
|
note: z.ZodOptional<z.ZodString>;
|
|
3435
3436
|
}, z.core.$strip>>;
|
|
3437
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
3438
|
+
derived: "derived";
|
|
3439
|
+
primitive: "primitive";
|
|
3440
|
+
}>>;
|
|
3441
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
3442
|
+
unavailable: "unavailable";
|
|
3443
|
+
declared: "declared";
|
|
3444
|
+
bound: "bound";
|
|
3445
|
+
validated: "validated";
|
|
3446
|
+
tested: "tested";
|
|
3447
|
+
}>>;
|
|
3436
3448
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3437
3449
|
deprecated: z.ZodBoolean;
|
|
3438
3450
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -3482,7 +3494,62 @@ declare const AnalyticsCatalogConceptSchema: z.ZodObject<{
|
|
|
3482
3494
|
}>;
|
|
3483
3495
|
source: z.ZodString;
|
|
3484
3496
|
note: z.ZodOptional<z.ZodString>;
|
|
3497
|
+
anchor: z.ZodOptional<z.ZodEnum<{
|
|
3498
|
+
fixed: "fixed";
|
|
3499
|
+
current: "current";
|
|
3500
|
+
fact_time: "fact_time";
|
|
3501
|
+
period_opening: "period_opening";
|
|
3502
|
+
touch_time: "touch_time";
|
|
3503
|
+
cohort_entry: "cohort_entry";
|
|
3504
|
+
exposure_time: "exposure_time";
|
|
3505
|
+
assignment_time: "assignment_time";
|
|
3506
|
+
carried_version: "carried_version";
|
|
3507
|
+
}>>;
|
|
3508
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
3509
|
+
product: z.ZodOptional<z.ZodString>;
|
|
3510
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
3511
|
+
}, z.core.$strip>>;
|
|
3512
|
+
partitions: z.ZodOptional<z.ZodBoolean>;
|
|
3513
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
3514
|
+
unavailable: "unavailable";
|
|
3515
|
+
declared: "declared";
|
|
3516
|
+
bound: "bound";
|
|
3517
|
+
validated: "validated";
|
|
3518
|
+
tested: "tested";
|
|
3519
|
+
}>>;
|
|
3520
|
+
blocker: z.ZodOptional<z.ZodString>;
|
|
3521
|
+
v1: z.ZodOptional<z.ZodBoolean>;
|
|
3485
3522
|
}, z.core.$strip>>>;
|
|
3523
|
+
fact_kind: z.ZodOptional<z.ZodEnum<{
|
|
3524
|
+
transaction: "transaction";
|
|
3525
|
+
periodic_snapshot: "periodic_snapshot";
|
|
3526
|
+
accumulating_snapshot: "accumulating_snapshot";
|
|
3527
|
+
}>>;
|
|
3528
|
+
family: z.ZodOptional<z.ZodEnum<{
|
|
3529
|
+
billing: "billing";
|
|
3530
|
+
behavioral: "behavioral";
|
|
3531
|
+
}>>;
|
|
3532
|
+
primary_key: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3533
|
+
producer: z.ZodOptional<z.ZodEnum<{
|
|
3534
|
+
platform: "platform";
|
|
3535
|
+
customer_authored: "customer_authored";
|
|
3536
|
+
simulation: "simulation";
|
|
3537
|
+
}>>;
|
|
3538
|
+
materialization: z.ZodOptional<z.ZodObject<{
|
|
3539
|
+
mode: z.ZodEnum<{
|
|
3540
|
+
raw: "raw";
|
|
3541
|
+
rollup: "rollup";
|
|
3542
|
+
logical: "logical";
|
|
3543
|
+
}>;
|
|
3544
|
+
rollup_grain: z.ZodOptional<z.ZodEnum<{
|
|
3545
|
+
month: "month";
|
|
3546
|
+
day: "day";
|
|
3547
|
+
week: "week";
|
|
3548
|
+
quarter: "quarter";
|
|
3549
|
+
hour: "hour";
|
|
3550
|
+
}>>;
|
|
3551
|
+
}, z.core.$strip>>;
|
|
3552
|
+
livemode_qualified: z.ZodOptional<z.ZodBoolean>;
|
|
3486
3553
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3487
3554
|
deprecated: z.ZodBoolean;
|
|
3488
3555
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -5616,7 +5683,62 @@ declare const AnalyticsCatalogSchema: z.ZodObject<{
|
|
|
5616
5683
|
}>;
|
|
5617
5684
|
source: z.ZodString;
|
|
5618
5685
|
note: z.ZodOptional<z.ZodString>;
|
|
5686
|
+
anchor: z.ZodOptional<z.ZodEnum<{
|
|
5687
|
+
fixed: "fixed";
|
|
5688
|
+
current: "current";
|
|
5689
|
+
fact_time: "fact_time";
|
|
5690
|
+
period_opening: "period_opening";
|
|
5691
|
+
touch_time: "touch_time";
|
|
5692
|
+
cohort_entry: "cohort_entry";
|
|
5693
|
+
exposure_time: "exposure_time";
|
|
5694
|
+
assignment_time: "assignment_time";
|
|
5695
|
+
carried_version: "carried_version";
|
|
5696
|
+
}>>;
|
|
5697
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
5698
|
+
product: z.ZodOptional<z.ZodString>;
|
|
5699
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
5700
|
+
}, z.core.$strip>>;
|
|
5701
|
+
partitions: z.ZodOptional<z.ZodBoolean>;
|
|
5702
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
5703
|
+
unavailable: "unavailable";
|
|
5704
|
+
declared: "declared";
|
|
5705
|
+
bound: "bound";
|
|
5706
|
+
validated: "validated";
|
|
5707
|
+
tested: "tested";
|
|
5708
|
+
}>>;
|
|
5709
|
+
blocker: z.ZodOptional<z.ZodString>;
|
|
5710
|
+
v1: z.ZodOptional<z.ZodBoolean>;
|
|
5619
5711
|
}, z.core.$strip>>>;
|
|
5712
|
+
fact_kind: z.ZodOptional<z.ZodEnum<{
|
|
5713
|
+
transaction: "transaction";
|
|
5714
|
+
periodic_snapshot: "periodic_snapshot";
|
|
5715
|
+
accumulating_snapshot: "accumulating_snapshot";
|
|
5716
|
+
}>>;
|
|
5717
|
+
family: z.ZodOptional<z.ZodEnum<{
|
|
5718
|
+
billing: "billing";
|
|
5719
|
+
behavioral: "behavioral";
|
|
5720
|
+
}>>;
|
|
5721
|
+
primary_key: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5722
|
+
producer: z.ZodOptional<z.ZodEnum<{
|
|
5723
|
+
platform: "platform";
|
|
5724
|
+
customer_authored: "customer_authored";
|
|
5725
|
+
simulation: "simulation";
|
|
5726
|
+
}>>;
|
|
5727
|
+
materialization: z.ZodOptional<z.ZodObject<{
|
|
5728
|
+
mode: z.ZodEnum<{
|
|
5729
|
+
raw: "raw";
|
|
5730
|
+
rollup: "rollup";
|
|
5731
|
+
logical: "logical";
|
|
5732
|
+
}>;
|
|
5733
|
+
rollup_grain: z.ZodOptional<z.ZodEnum<{
|
|
5734
|
+
month: "month";
|
|
5735
|
+
day: "day";
|
|
5736
|
+
week: "week";
|
|
5737
|
+
quarter: "quarter";
|
|
5738
|
+
hour: "hour";
|
|
5739
|
+
}>>;
|
|
5740
|
+
}, z.core.$strip>>;
|
|
5741
|
+
livemode_qualified: z.ZodOptional<z.ZodBoolean>;
|
|
5620
5742
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
5621
5743
|
deprecated: z.ZodBoolean;
|
|
5622
5744
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -5742,11 +5864,6 @@ declare const AnalyticsCatalogSchema: z.ZodObject<{
|
|
|
5742
5864
|
numerator_metric: z.ZodOptional<z.ZodString>;
|
|
5743
5865
|
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
5744
5866
|
derivation: z.ZodOptional<z.ZodObject<{
|
|
5745
|
-
kind: z.ZodEnum<{
|
|
5746
|
-
derived: "derived";
|
|
5747
|
-
observed: "observed";
|
|
5748
|
-
unavailable: "unavailable";
|
|
5749
|
-
}>;
|
|
5750
5867
|
input_origin: z.ZodEnum<{
|
|
5751
5868
|
none: "none";
|
|
5752
5869
|
platform: "platform";
|
|
@@ -5758,6 +5875,17 @@ declare const AnalyticsCatalogSchema: z.ZodObject<{
|
|
|
5758
5875
|
carried_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5759
5876
|
note: z.ZodOptional<z.ZodString>;
|
|
5760
5877
|
}, z.core.$strip>>;
|
|
5878
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
5879
|
+
derived: "derived";
|
|
5880
|
+
primitive: "primitive";
|
|
5881
|
+
}>>;
|
|
5882
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
5883
|
+
unavailable: "unavailable";
|
|
5884
|
+
declared: "declared";
|
|
5885
|
+
bound: "bound";
|
|
5886
|
+
validated: "validated";
|
|
5887
|
+
tested: "tested";
|
|
5888
|
+
}>>;
|
|
5761
5889
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
5762
5890
|
deprecated: z.ZodBoolean;
|
|
5763
5891
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -6139,7 +6267,7 @@ interface AnalyticsCatalogView {
|
|
|
6139
6267
|
* The metrics one Tinybird pipe carries, sorted by metric id (plan 228
|
|
6140
6268
|
* TASK-3). "Carries" is pipe-allowlist truth — the pipe accepts and serves
|
|
6141
6269
|
* the metric id — not a claim that rows exist for it (a carried metric with
|
|
6142
|
-
*
|
|
6270
|
+
* catalog_status='unavailable' is exactly the carried-but-dark state the
|
|
6143
6271
|
* register surfaces). This is the read the web execution layer derives its
|
|
6144
6272
|
* pipe allowlists from, replacing hand-maintained Record maps.
|
|
6145
6273
|
*/
|
|
@@ -7206,9 +7334,9 @@ declare const TrackEventSchema: z.ZodObject<{
|
|
|
7206
7334
|
event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7207
7335
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7208
7336
|
derived: "derived";
|
|
7337
|
+
raw: "raw";
|
|
7209
7338
|
explicit: "explicit";
|
|
7210
7339
|
automatic: "automatic";
|
|
7211
|
-
raw: "raw";
|
|
7212
7340
|
}>>>;
|
|
7213
7341
|
playbook_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7214
7342
|
decision_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7232,9 +7360,9 @@ declare const TrackIngestBatchSchema: z.ZodObject<{
|
|
|
7232
7360
|
event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7233
7361
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7234
7362
|
derived: "derived";
|
|
7363
|
+
raw: "raw";
|
|
7235
7364
|
explicit: "explicit";
|
|
7236
7365
|
automatic: "automatic";
|
|
7237
|
-
raw: "raw";
|
|
7238
7366
|
}>>>;
|
|
7239
7367
|
playbook_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7240
7368
|
decision_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7325,6 +7453,416 @@ declare const SdkMetaIngestBatchSchema: z.ZodObject<{
|
|
|
7325
7453
|
}, z.core.$strip>;
|
|
7326
7454
|
declare const eventPaths: ZodOpenApiPathsObject;
|
|
7327
7455
|
|
|
7456
|
+
/**
|
|
7457
|
+
* Subscription-aware delete protection contracts (plan 248 TASK-1).
|
|
7458
|
+
*
|
|
7459
|
+
* A destructive change to a commercial mapping (deleting a plan/add-on
|
|
7460
|
+
* variation, cascading a parent delete, applying an import removal, unlinking
|
|
7461
|
+
* or rebinding a Stripe Price) may only proceed when the platform can PROVE
|
|
7462
|
+
* that no subscription still references the Price being removed. "No rows
|
|
7463
|
+
* found" is not a proof. These contracts make the difference representable:
|
|
7464
|
+
*
|
|
7465
|
+
* - `StripeSubscriptionItemSchema` — what was OBSERVED (per provider item).
|
|
7466
|
+
* - `StripeSubscriptionEvidenceSchema` — which population was SEARCHED, how
|
|
7467
|
+
* completely, and when (per tenant/account/mode/price scope).
|
|
7468
|
+
* - `SubscriptionEvidenceResultSchema` — the typed result every consumer
|
|
7469
|
+
* reads: `known` (with a count) or `unavailable` (with a reason). The
|
|
7470
|
+
* unavailable member is `.strict()` and carries NO count field, so an
|
|
7471
|
+
* unverified scope is structurally incapable of reporting zero (REQ-2).
|
|
7472
|
+
*
|
|
7473
|
+
* Evidence is private operational runtime state: internal exposure, no CRUD
|
|
7474
|
+
* operation, absent from the Playbook export and from browser-safe client
|
|
7475
|
+
* context.
|
|
7476
|
+
*/
|
|
7477
|
+
|
|
7478
|
+
/** Every subscription status Stripe documents. Anything else is UNKNOWN. */
|
|
7479
|
+
declare const STRIPE_SUBSCRIPTION_STATUS_VALUES: readonly ["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"];
|
|
7480
|
+
declare const StripeSubscriptionStatusSchema: z.ZodEnum<{
|
|
7481
|
+
active: "active";
|
|
7482
|
+
past_due: "past_due";
|
|
7483
|
+
canceled: "canceled";
|
|
7484
|
+
trialing: "trialing";
|
|
7485
|
+
unpaid: "unpaid";
|
|
7486
|
+
incomplete: "incomplete";
|
|
7487
|
+
incomplete_expired: "incomplete_expired";
|
|
7488
|
+
paused: "paused";
|
|
7489
|
+
}>;
|
|
7490
|
+
type StripeSubscriptionStatus$1 = z.infer<typeof StripeSubscriptionStatusSchema>;
|
|
7491
|
+
/**
|
|
7492
|
+
* `protected` — the subscription still references the mapping; deletion is
|
|
7493
|
+
* refused. `released` — confirmed terminal, the mapping may be removed.
|
|
7494
|
+
* `unknown` — a status this build does not recognise; it yields UNAVAILABLE
|
|
7495
|
+
* evidence, never a release.
|
|
7496
|
+
*/
|
|
7497
|
+
declare const SubscriptionProtectionSchema: z.ZodEnum<{
|
|
7498
|
+
unknown: "unknown";
|
|
7499
|
+
protected: "protected";
|
|
7500
|
+
released: "released";
|
|
7501
|
+
}>;
|
|
7502
|
+
type SubscriptionProtection$1 = z.infer<typeof SubscriptionProtectionSchema>;
|
|
7503
|
+
/**
|
|
7504
|
+
* The only two statuses that stop blocking. Everything else — including
|
|
7505
|
+
* `past_due`, `unpaid`, `paused` and `incomplete` — keeps the commercial
|
|
7506
|
+
* mapping, because collection and trial transitions routinely pass through
|
|
7507
|
+
* them and a deleted mapping cannot be recovered from the subscriber's side.
|
|
7508
|
+
*/
|
|
7509
|
+
declare const TERMINAL_SUBSCRIPTION_STATUSES: readonly ["canceled", "incomplete_expired"];
|
|
7510
|
+
/**
|
|
7511
|
+
* The checked-in policy matrix (AC-3). `cancel_at_period_end` is deliberately
|
|
7512
|
+
* ABSENT from this table: a subscription scheduled to cancel is still live, so
|
|
7513
|
+
* it keeps protecting the mapping until its status becomes terminal.
|
|
7514
|
+
*/
|
|
7515
|
+
declare const SUBSCRIPTION_STATUS_PROTECTION: Readonly<Record<StripeSubscriptionStatus$1, SubscriptionProtection$1>>;
|
|
7516
|
+
/** Resolve any provider-reported status against the policy. Fails closed. */
|
|
7517
|
+
declare function classifySubscriptionStatus(status: unknown): SubscriptionProtection$1;
|
|
7518
|
+
/**
|
|
7519
|
+
* Evidence is never global. Isolation is by tenant AND connected account AND
|
|
7520
|
+
* live/test mode; a scan of one scope says nothing about another.
|
|
7521
|
+
*/
|
|
7522
|
+
declare const StripeBillingScopeSchema: z.ZodObject<{
|
|
7523
|
+
tenant_id: z.ZodString;
|
|
7524
|
+
account_id: z.ZodString;
|
|
7525
|
+
livemode: z.ZodBoolean;
|
|
7526
|
+
}, z.core.$strict>;
|
|
7527
|
+
/** A billing scope narrowed to the one Price whose removal is being judged. */
|
|
7528
|
+
declare const StripePriceScopeSchema: z.ZodObject<{
|
|
7529
|
+
tenant_id: z.ZodString;
|
|
7530
|
+
account_id: z.ZodString;
|
|
7531
|
+
livemode: z.ZodBoolean;
|
|
7532
|
+
price_id: z.ZodString;
|
|
7533
|
+
}, z.core.$strict>;
|
|
7534
|
+
type StripePriceScope$1 = z.infer<typeof StripePriceScopeSchema>;
|
|
7535
|
+
/**
|
|
7536
|
+
* One Stripe subscription item as last observed. `present` / `removed` is
|
|
7537
|
+
* explicit so a partial scan can never erase an item it simply did not reach
|
|
7538
|
+
* (REQ-4): absence of a row is absence of an observation, not absence of a
|
|
7539
|
+
* subscriber.
|
|
7540
|
+
*
|
|
7541
|
+
* Table names are short because PostgreSQL truncates identifiers at 63 bytes
|
|
7542
|
+
* and the generated unique-index name concatenates the whole scope key.
|
|
7543
|
+
*/
|
|
7544
|
+
declare const StripeSubscriptionItemSchema: z.ZodObject<{
|
|
7545
|
+
id: z.ZodString;
|
|
7546
|
+
tenant_id: z.ZodString;
|
|
7547
|
+
created_at: z.ZodString;
|
|
7548
|
+
updated_at: z.ZodString;
|
|
7549
|
+
item_version: z.ZodLiteral<1>;
|
|
7550
|
+
account_id: z.ZodString;
|
|
7551
|
+
livemode: z.ZodBoolean;
|
|
7552
|
+
subscription_id: z.ZodString;
|
|
7553
|
+
item_id: z.ZodString;
|
|
7554
|
+
customer_id: z.ZodString;
|
|
7555
|
+
price_id: z.ZodString;
|
|
7556
|
+
subscription_status: z.ZodEnum<{
|
|
7557
|
+
active: "active";
|
|
7558
|
+
past_due: "past_due";
|
|
7559
|
+
canceled: "canceled";
|
|
7560
|
+
trialing: "trialing";
|
|
7561
|
+
unpaid: "unpaid";
|
|
7562
|
+
incomplete: "incomplete";
|
|
7563
|
+
incomplete_expired: "incomplete_expired";
|
|
7564
|
+
paused: "paused";
|
|
7565
|
+
}>;
|
|
7566
|
+
protection: z.ZodEnum<{
|
|
7567
|
+
unknown: "unknown";
|
|
7568
|
+
protected: "protected";
|
|
7569
|
+
released: "released";
|
|
7570
|
+
}>;
|
|
7571
|
+
cancel_at_period_end: z.ZodDefault<z.ZodBoolean>;
|
|
7572
|
+
quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7573
|
+
item_state: z.ZodDefault<z.ZodEnum<{
|
|
7574
|
+
present: "present";
|
|
7575
|
+
removed: "removed";
|
|
7576
|
+
}>>;
|
|
7577
|
+
removed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7578
|
+
source_version: z.ZodNumber;
|
|
7579
|
+
source_event_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7580
|
+
provider_updated_at: z.ZodString;
|
|
7581
|
+
observed_at: z.ZodString;
|
|
7582
|
+
scan_generation: z.ZodDefault<z.ZodNumber>;
|
|
7583
|
+
}, z.core.$strict>;
|
|
7584
|
+
type StripeSubscriptionItem$1 = z.infer<typeof StripeSubscriptionItemSchema>;
|
|
7585
|
+
/**
|
|
7586
|
+
* Why a scope cannot answer. Each value is a refusal, never a zero. `stale`,
|
|
7587
|
+
* `provider_timeout` and `scan_in_progress` are retryable by waiting;
|
|
7588
|
+
* `not_connected`, `account_rebound` and `mode_mismatch` need operator action.
|
|
7589
|
+
*/
|
|
7590
|
+
declare const SUBSCRIPTION_EVIDENCE_UNAVAILABLE_REASONS: readonly ["uninitialized", "scan_in_progress", "partial_scan", "stale", "invalidated", "conflicting_webhook", "provider_error", "provider_timeout", "verification_deadline_exceeded", "not_connected", "account_rebound", "mode_mismatch", "unknown_subscription_status"];
|
|
7591
|
+
declare const SubscriptionEvidenceUnavailableReasonSchema: z.ZodEnum<{
|
|
7592
|
+
stale: "stale";
|
|
7593
|
+
uninitialized: "uninitialized";
|
|
7594
|
+
scan_in_progress: "scan_in_progress";
|
|
7595
|
+
partial_scan: "partial_scan";
|
|
7596
|
+
invalidated: "invalidated";
|
|
7597
|
+
conflicting_webhook: "conflicting_webhook";
|
|
7598
|
+
provider_error: "provider_error";
|
|
7599
|
+
provider_timeout: "provider_timeout";
|
|
7600
|
+
verification_deadline_exceeded: "verification_deadline_exceeded";
|
|
7601
|
+
not_connected: "not_connected";
|
|
7602
|
+
account_rebound: "account_rebound";
|
|
7603
|
+
mode_mismatch: "mode_mismatch";
|
|
7604
|
+
unknown_subscription_status: "unknown_subscription_status";
|
|
7605
|
+
}>;
|
|
7606
|
+
type SubscriptionEvidenceUnavailableReason$1 = z.infer<typeof SubscriptionEvidenceUnavailableReasonSchema>;
|
|
7607
|
+
/**
|
|
7608
|
+
* The stored column form. `none` exists so the persisted reason is a plain
|
|
7609
|
+
* text enum rather than a nullable one (a nullable enum degrades to a JSON
|
|
7610
|
+
* column in the generated Drizzle table); only complete coverage may hold it.
|
|
7611
|
+
*/
|
|
7612
|
+
declare const EvidenceReasonColumnSchema: z.ZodEnum<{
|
|
7613
|
+
none: "none";
|
|
7614
|
+
stale: "stale";
|
|
7615
|
+
uninitialized: "uninitialized";
|
|
7616
|
+
scan_in_progress: "scan_in_progress";
|
|
7617
|
+
partial_scan: "partial_scan";
|
|
7618
|
+
invalidated: "invalidated";
|
|
7619
|
+
conflicting_webhook: "conflicting_webhook";
|
|
7620
|
+
provider_error: "provider_error";
|
|
7621
|
+
provider_timeout: "provider_timeout";
|
|
7622
|
+
verification_deadline_exceeded: "verification_deadline_exceeded";
|
|
7623
|
+
not_connected: "not_connected";
|
|
7624
|
+
account_rebound: "account_rebound";
|
|
7625
|
+
mode_mismatch: "mode_mismatch";
|
|
7626
|
+
unknown_subscription_status: "unknown_subscription_status";
|
|
7627
|
+
}>;
|
|
7628
|
+
/** Reasons an operator cannot clear by retrying the same scan. */
|
|
7629
|
+
declare const NON_RETRYABLE_EVIDENCE_REASONS: readonly ["not_connected", "account_rebound", "mode_mismatch"];
|
|
7630
|
+
declare const EvidenceCoverageStateSchema: z.ZodEnum<{
|
|
7631
|
+
failed: "failed";
|
|
7632
|
+
uninitialized: "uninitialized";
|
|
7633
|
+
invalidated: "invalidated";
|
|
7634
|
+
scanning: "scanning";
|
|
7635
|
+
complete: "complete";
|
|
7636
|
+
}>;
|
|
7637
|
+
/**
|
|
7638
|
+
* The searched population for one price scope. Only `complete` carries a
|
|
7639
|
+
* count; every other state carries a reason and no count, so a stalled,
|
|
7640
|
+
* failed or never-run scan cannot be mistaken for a verified empty result.
|
|
7641
|
+
*/
|
|
7642
|
+
declare const StripeSubscriptionEvidenceSchema: z.ZodObject<{
|
|
7643
|
+
id: z.ZodString;
|
|
7644
|
+
tenant_id: z.ZodString;
|
|
7645
|
+
created_at: z.ZodString;
|
|
7646
|
+
updated_at: z.ZodString;
|
|
7647
|
+
evidence_version: z.ZodLiteral<1>;
|
|
7648
|
+
account_id: z.ZodString;
|
|
7649
|
+
livemode: z.ZodBoolean;
|
|
7650
|
+
price_id: z.ZodString;
|
|
7651
|
+
coverage_state: z.ZodDefault<z.ZodEnum<{
|
|
7652
|
+
failed: "failed";
|
|
7653
|
+
uninitialized: "uninitialized";
|
|
7654
|
+
invalidated: "invalidated";
|
|
7655
|
+
scanning: "scanning";
|
|
7656
|
+
complete: "complete";
|
|
7657
|
+
}>>;
|
|
7658
|
+
unavailable_reason: z.ZodDefault<z.ZodEnum<{
|
|
7659
|
+
none: "none";
|
|
7660
|
+
stale: "stale";
|
|
7661
|
+
uninitialized: "uninitialized";
|
|
7662
|
+
scan_in_progress: "scan_in_progress";
|
|
7663
|
+
partial_scan: "partial_scan";
|
|
7664
|
+
invalidated: "invalidated";
|
|
7665
|
+
conflicting_webhook: "conflicting_webhook";
|
|
7666
|
+
provider_error: "provider_error";
|
|
7667
|
+
provider_timeout: "provider_timeout";
|
|
7668
|
+
verification_deadline_exceeded: "verification_deadline_exceeded";
|
|
7669
|
+
not_connected: "not_connected";
|
|
7670
|
+
account_rebound: "account_rebound";
|
|
7671
|
+
mode_mismatch: "mode_mismatch";
|
|
7672
|
+
unknown_subscription_status: "unknown_subscription_status";
|
|
7673
|
+
}>>;
|
|
7674
|
+
protected_subscription_count: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
7675
|
+
scan_generation: z.ZodDefault<z.ZodNumber>;
|
|
7676
|
+
account_binding_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7677
|
+
scan_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7678
|
+
verified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7679
|
+
invalidated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7680
|
+
last_error_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7681
|
+
last_error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7682
|
+
}, z.core.$strict>;
|
|
7683
|
+
type StripeSubscriptionEvidence$1 = z.infer<typeof StripeSubscriptionEvidenceSchema>;
|
|
7684
|
+
/** Upper bound on the identifiers echoed to an operator in a 409 body. */
|
|
7685
|
+
declare const PROTECTED_SUBSCRIPTION_SAMPLE_LIMIT = 50;
|
|
7686
|
+
declare const SubscriptionEvidenceKnownSchema: z.ZodObject<{
|
|
7687
|
+
state: z.ZodLiteral<"known">;
|
|
7688
|
+
result_version: z.ZodLiteral<1>;
|
|
7689
|
+
scope: z.ZodObject<{
|
|
7690
|
+
tenant_id: z.ZodString;
|
|
7691
|
+
account_id: z.ZodString;
|
|
7692
|
+
livemode: z.ZodBoolean;
|
|
7693
|
+
price_id: z.ZodString;
|
|
7694
|
+
}, z.core.$strict>;
|
|
7695
|
+
protected_subscription_count: z.ZodNumber;
|
|
7696
|
+
protected_subscription_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7697
|
+
verified_at: z.ZodString;
|
|
7698
|
+
scan_generation: z.ZodNumber;
|
|
7699
|
+
account_binding_id: z.ZodString;
|
|
7700
|
+
}, z.core.$strict>;
|
|
7701
|
+
/**
|
|
7702
|
+
* No count field exists on this member, by design: a consumer cannot read a
|
|
7703
|
+
* zero off an unverified scope even by mistake (REQ-2, REQ-6).
|
|
7704
|
+
*/
|
|
7705
|
+
declare const SubscriptionEvidenceUnavailableSchema: z.ZodObject<{
|
|
7706
|
+
state: z.ZodLiteral<"unavailable">;
|
|
7707
|
+
result_version: z.ZodLiteral<1>;
|
|
7708
|
+
scope: z.ZodObject<{
|
|
7709
|
+
tenant_id: z.ZodString;
|
|
7710
|
+
account_id: z.ZodString;
|
|
7711
|
+
livemode: z.ZodBoolean;
|
|
7712
|
+
price_id: z.ZodString;
|
|
7713
|
+
}, z.core.$strict>;
|
|
7714
|
+
reason: z.ZodEnum<{
|
|
7715
|
+
stale: "stale";
|
|
7716
|
+
uninitialized: "uninitialized";
|
|
7717
|
+
scan_in_progress: "scan_in_progress";
|
|
7718
|
+
partial_scan: "partial_scan";
|
|
7719
|
+
invalidated: "invalidated";
|
|
7720
|
+
conflicting_webhook: "conflicting_webhook";
|
|
7721
|
+
provider_error: "provider_error";
|
|
7722
|
+
provider_timeout: "provider_timeout";
|
|
7723
|
+
verification_deadline_exceeded: "verification_deadline_exceeded";
|
|
7724
|
+
not_connected: "not_connected";
|
|
7725
|
+
account_rebound: "account_rebound";
|
|
7726
|
+
mode_mismatch: "mode_mismatch";
|
|
7727
|
+
unknown_subscription_status: "unknown_subscription_status";
|
|
7728
|
+
}>;
|
|
7729
|
+
retryable: z.ZodBoolean;
|
|
7730
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7731
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7732
|
+
}, z.core.$strict>;
|
|
7733
|
+
declare const SubscriptionEvidenceResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7734
|
+
state: z.ZodLiteral<"known">;
|
|
7735
|
+
result_version: z.ZodLiteral<1>;
|
|
7736
|
+
scope: z.ZodObject<{
|
|
7737
|
+
tenant_id: z.ZodString;
|
|
7738
|
+
account_id: z.ZodString;
|
|
7739
|
+
livemode: z.ZodBoolean;
|
|
7740
|
+
price_id: z.ZodString;
|
|
7741
|
+
}, z.core.$strict>;
|
|
7742
|
+
protected_subscription_count: z.ZodNumber;
|
|
7743
|
+
protected_subscription_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7744
|
+
verified_at: z.ZodString;
|
|
7745
|
+
scan_generation: z.ZodNumber;
|
|
7746
|
+
account_binding_id: z.ZodString;
|
|
7747
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7748
|
+
state: z.ZodLiteral<"unavailable">;
|
|
7749
|
+
result_version: z.ZodLiteral<1>;
|
|
7750
|
+
scope: z.ZodObject<{
|
|
7751
|
+
tenant_id: z.ZodString;
|
|
7752
|
+
account_id: z.ZodString;
|
|
7753
|
+
livemode: z.ZodBoolean;
|
|
7754
|
+
price_id: z.ZodString;
|
|
7755
|
+
}, z.core.$strict>;
|
|
7756
|
+
reason: z.ZodEnum<{
|
|
7757
|
+
stale: "stale";
|
|
7758
|
+
uninitialized: "uninitialized";
|
|
7759
|
+
scan_in_progress: "scan_in_progress";
|
|
7760
|
+
partial_scan: "partial_scan";
|
|
7761
|
+
invalidated: "invalidated";
|
|
7762
|
+
conflicting_webhook: "conflicting_webhook";
|
|
7763
|
+
provider_error: "provider_error";
|
|
7764
|
+
provider_timeout: "provider_timeout";
|
|
7765
|
+
verification_deadline_exceeded: "verification_deadline_exceeded";
|
|
7766
|
+
not_connected: "not_connected";
|
|
7767
|
+
account_rebound: "account_rebound";
|
|
7768
|
+
mode_mismatch: "mode_mismatch";
|
|
7769
|
+
unknown_subscription_status: "unknown_subscription_status";
|
|
7770
|
+
}>;
|
|
7771
|
+
retryable: z.ZodBoolean;
|
|
7772
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7773
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7774
|
+
}, z.core.$strict>], "state">;
|
|
7775
|
+
type SubscriptionEvidenceUnavailable$1 = z.infer<typeof SubscriptionEvidenceUnavailableSchema>;
|
|
7776
|
+
type SubscriptionEvidenceResult$1 = z.infer<typeof SubscriptionEvidenceResultSchema>;
|
|
7777
|
+
/** True when a reason clears by retrying the same scan later. */
|
|
7778
|
+
declare function isRetryableEvidenceReason(reason: SubscriptionEvidenceUnavailableReason$1): boolean;
|
|
7779
|
+
declare function unavailableEvidence(scope: StripePriceScope$1, reason: SubscriptionEvidenceUnavailableReason$1, extra?: {
|
|
7780
|
+
last_observed_at?: string | null;
|
|
7781
|
+
detail?: string | null;
|
|
7782
|
+
}): SubscriptionEvidenceUnavailable$1;
|
|
7783
|
+
declare const SUBSCRIPTION_EVIDENCE_UNAVAILABLE_CODE = "subscription_evidence_unavailable";
|
|
7784
|
+
declare const SUBSCRIPTION_REFERENCE_EXISTS_CODE = "subscription_reference_exists";
|
|
7785
|
+
/** Preserves the blocker entity name the existing cascade preflight emits. */
|
|
7786
|
+
declare const SUBSCRIPTION_BLOCKER_ENTITY = "subscriptions";
|
|
7787
|
+
declare const DeleteProtectionDecisionSchema: z.ZodObject<{
|
|
7788
|
+
outcome: z.ZodEnum<{
|
|
7789
|
+
permitted: "permitted";
|
|
7790
|
+
blocked: "blocked";
|
|
7791
|
+
unverified: "unverified";
|
|
7792
|
+
}>;
|
|
7793
|
+
http_status: z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<409>, z.ZodLiteral<503>]>;
|
|
7794
|
+
code: z.ZodNullable<z.ZodEnum<{
|
|
7795
|
+
subscription_evidence_unavailable: "subscription_evidence_unavailable";
|
|
7796
|
+
subscription_reference_exists: "subscription_reference_exists";
|
|
7797
|
+
}>>;
|
|
7798
|
+
scope: z.ZodObject<{
|
|
7799
|
+
tenant_id: z.ZodString;
|
|
7800
|
+
account_id: z.ZodString;
|
|
7801
|
+
livemode: z.ZodBoolean;
|
|
7802
|
+
price_id: z.ZodString;
|
|
7803
|
+
}, z.core.$strict>;
|
|
7804
|
+
protected_subscription_count: z.ZodNullable<z.ZodNumber>;
|
|
7805
|
+
protected_subscription_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7806
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
7807
|
+
stale: "stale";
|
|
7808
|
+
uninitialized: "uninitialized";
|
|
7809
|
+
scan_in_progress: "scan_in_progress";
|
|
7810
|
+
partial_scan: "partial_scan";
|
|
7811
|
+
invalidated: "invalidated";
|
|
7812
|
+
conflicting_webhook: "conflicting_webhook";
|
|
7813
|
+
provider_error: "provider_error";
|
|
7814
|
+
provider_timeout: "provider_timeout";
|
|
7815
|
+
verification_deadline_exceeded: "verification_deadline_exceeded";
|
|
7816
|
+
not_connected: "not_connected";
|
|
7817
|
+
account_rebound: "account_rebound";
|
|
7818
|
+
mode_mismatch: "mode_mismatch";
|
|
7819
|
+
unknown_subscription_status: "unknown_subscription_status";
|
|
7820
|
+
}>>;
|
|
7821
|
+
retryable: z.ZodBoolean;
|
|
7822
|
+
}, z.core.$strict>;
|
|
7823
|
+
type DeleteProtectionDecision$1 = z.infer<typeof DeleteProtectionDecisionSchema>;
|
|
7824
|
+
/**
|
|
7825
|
+
* The single mapping from evidence to destructive-boundary behaviour. Known
|
|
7826
|
+
* references → 409. Unprovable → 503 with a stable retryable code; the mapping
|
|
7827
|
+
* is preserved either way. Only a verified-empty scope permits deletion.
|
|
7828
|
+
*/
|
|
7829
|
+
declare function decideDeleteProtection(result: SubscriptionEvidenceResult$1): DeleteProtectionDecision$1;
|
|
7830
|
+
interface ProtectedSubscriptionSummary {
|
|
7831
|
+
/** Distinct protected subscription ids inside the scope. */
|
|
7832
|
+
subscription_ids: string[];
|
|
7833
|
+
/** Items whose status this build cannot classify; any hit forces unavailable. */
|
|
7834
|
+
unknown_status_item_ids: string[];
|
|
7835
|
+
}
|
|
7836
|
+
/**
|
|
7837
|
+
* Count DISTINCT protected subscriptions for one price scope. Quantity is
|
|
7838
|
+
* ignored, removed items are ignored, and items from another tenant, account
|
|
7839
|
+
* or mode can never leak in (AC-1).
|
|
7840
|
+
*/
|
|
7841
|
+
declare function summarizeProtectedSubscriptions(scope: StripePriceScope$1, items: readonly StripeSubscriptionItem$1[]): ProtectedSubscriptionSummary;
|
|
7842
|
+
interface EvidenceResolution {
|
|
7843
|
+
scope: StripePriceScope$1;
|
|
7844
|
+
/** The stored coverage row for the scope, if one exists at all. */
|
|
7845
|
+
coverage: StripeSubscriptionEvidence$1 | null;
|
|
7846
|
+
items: readonly StripeSubscriptionItem$1[];
|
|
7847
|
+
/** Evaluation clock — supplied by the caller so freshness is testable. */
|
|
7848
|
+
now: string;
|
|
7849
|
+
/** Maximum age of a completed scan that may still authorize a deletion. */
|
|
7850
|
+
max_age_ms: number;
|
|
7851
|
+
/** The tenant/account binding in force right now, or null when disconnected. */
|
|
7852
|
+
current_account_binding_id: string | null;
|
|
7853
|
+
}
|
|
7854
|
+
/**
|
|
7855
|
+
* Turn stored observations plus coverage into the typed result. The ONLY path
|
|
7856
|
+
* to `known` is a completed authoritative scan of this exact scope, still
|
|
7857
|
+
* fresh, still bound to the same account, with every observed status
|
|
7858
|
+
* classifiable. Every other input — including an empty item set with no
|
|
7859
|
+
* coverage row — resolves to `unavailable` (REQ-2, REQ-7).
|
|
7860
|
+
*
|
|
7861
|
+
* `max_age_ms` bounds freshness only: shortening or lengthening it can turn a
|
|
7862
|
+
* known result into `stale`, but can never turn `unavailable` into a zero.
|
|
7863
|
+
*/
|
|
7864
|
+
declare function resolveSubscriptionEvidence(input: EvidenceResolution): SubscriptionEvidenceResult$1;
|
|
7865
|
+
|
|
7328
7866
|
/** Captured after signature/tenant validation and thin-event normalization. */
|
|
7329
7867
|
declare const WebhookReplayEnvelopeSchema: z.ZodObject<{
|
|
7330
7868
|
version: z.ZodLiteral<1>;
|
|
@@ -7355,6 +7893,35 @@ declare const WebhookProcessingStatusSchema: z.ZodEnum<{
|
|
|
7355
7893
|
terminal: "terminal";
|
|
7356
7894
|
not_required: "not_required";
|
|
7357
7895
|
}>;
|
|
7896
|
+
/**
|
|
7897
|
+
* Outcome of handing a received event to the downstream queue.
|
|
7898
|
+
*
|
|
7899
|
+
* - `unknown` — imported evidence; the hand-off was never observed.
|
|
7900
|
+
* - `pending` — not attempted yet.
|
|
7901
|
+
* - `dispatching` — a send is in flight, owned by a live dispatch lease.
|
|
7902
|
+
* - `ambiguous` — the send left the process and its outcome was never observed
|
|
7903
|
+
* (a timeout, a 5xx, or a crash after the request went out). Neither
|
|
7904
|
+
* `accepted` nor `failed` may be recorded, because both assert a fact nobody
|
|
7905
|
+
* saw: only `failed` means non-delivery was actually observed.
|
|
7906
|
+
* - `accepted` — the queue acknowledged the event.
|
|
7907
|
+
* - `failed` — the queue refused it outright; retryable.
|
|
7908
|
+
* - `terminal` — the attempt budget is spent; operator replay only.
|
|
7909
|
+
* - `not_required` — no hand-off is owed for this event.
|
|
7910
|
+
*
|
|
7911
|
+
* **Ambiguous-row invariant.** An `ambiguous` receipt keeps its full fenced
|
|
7912
|
+
* lease identity — `lease_stage: 'dispatch'`, `lease_token`, `lease_expires_at`
|
|
7913
|
+
* and `lease_generation >= 1` — and carries `dispatch_attempts >= 1`. The
|
|
7914
|
+
* identity is retained deliberately: it names the sender whose outcome went
|
|
7915
|
+
* unobserved, and it is the fence the next claimant increments past. What is
|
|
7916
|
+
* surrendered is *ownership*, by moving `lease_expires_at` to (or before) the
|
|
7917
|
+
* moment of surrender, so recovery's no-live-lease selection reclaims the row.
|
|
7918
|
+
* A crash after the send produces the same shape without anyone writing it —
|
|
7919
|
+
* the lease simply lapses — which is why the contract must not require the
|
|
7920
|
+
* lease to be cleared. This schema deliberately does **not** assert
|
|
7921
|
+
* `lease_expires_at <= now`: liveness is a clock comparison made by the
|
|
7922
|
+
* runtime, not a property of a stored row, and a row read back later would
|
|
7923
|
+
* otherwise validate differently than when it was written.
|
|
7924
|
+
*/
|
|
7358
7925
|
declare const WebhookDispatchStatusSchema: z.ZodEnum<{
|
|
7359
7926
|
unknown: "unknown";
|
|
7360
7927
|
failed: "failed";
|
|
@@ -7363,6 +7930,7 @@ declare const WebhookDispatchStatusSchema: z.ZodEnum<{
|
|
|
7363
7930
|
terminal: "terminal";
|
|
7364
7931
|
not_required: "not_required";
|
|
7365
7932
|
dispatching: "dispatching";
|
|
7933
|
+
ambiguous: "ambiguous";
|
|
7366
7934
|
}>;
|
|
7367
7935
|
/** No CRUD operation exposes this record; webhookEventLog remains the display projection. */
|
|
7368
7936
|
declare const WebhookDeliverySchema: z.ZodObject<{
|
|
@@ -7380,8 +7948,8 @@ declare const WebhookDeliverySchema: z.ZodObject<{
|
|
|
7380
7948
|
}>;
|
|
7381
7949
|
received_at: z.ZodString;
|
|
7382
7950
|
envelope_status: z.ZodDefault<z.ZodEnum<{
|
|
7383
|
-
legacy_incomplete: "legacy_incomplete";
|
|
7384
7951
|
complete: "complete";
|
|
7952
|
+
legacy_incomplete: "legacy_incomplete";
|
|
7385
7953
|
}>>;
|
|
7386
7954
|
envelope: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7387
7955
|
version: z.ZodLiteral<1>;
|
|
@@ -7420,6 +7988,7 @@ declare const WebhookDeliverySchema: z.ZodObject<{
|
|
|
7420
7988
|
terminal: "terminal";
|
|
7421
7989
|
not_required: "not_required";
|
|
7422
7990
|
dispatching: "dispatching";
|
|
7991
|
+
ambiguous: "ambiguous";
|
|
7423
7992
|
}>>;
|
|
7424
7993
|
downstream_status: z.ZodDefault<z.ZodEnum<{
|
|
7425
7994
|
unknown: "unknown";
|
|
@@ -8566,11 +9135,11 @@ declare const trialPaths: ZodOpenApiPathsObject;
|
|
|
8566
9135
|
declare const ExperimentStatusSchema: z.ZodEnum<{
|
|
8567
9136
|
draft: "draft";
|
|
8568
9137
|
neutral: "neutral";
|
|
9138
|
+
paused: "paused";
|
|
8569
9139
|
complete: "complete";
|
|
8570
9140
|
ramping: "ramping";
|
|
8571
9141
|
winning: "winning";
|
|
8572
9142
|
needs_attention: "needs_attention";
|
|
8573
|
-
paused: "paused";
|
|
8574
9143
|
}>;
|
|
8575
9144
|
declare const ExperimentTypeSchema: z.ZodEnum<{
|
|
8576
9145
|
custom: "custom";
|
|
@@ -9957,11 +10526,11 @@ declare const ExperimentSchema: z.ZodObject<{
|
|
|
9957
10526
|
status: z.ZodDefault<z.ZodEnum<{
|
|
9958
10527
|
draft: "draft";
|
|
9959
10528
|
neutral: "neutral";
|
|
10529
|
+
paused: "paused";
|
|
9960
10530
|
complete: "complete";
|
|
9961
10531
|
ramping: "ramping";
|
|
9962
10532
|
winning: "winning";
|
|
9963
10533
|
needs_attention: "needs_attention";
|
|
9964
|
-
paused: "paused";
|
|
9965
10534
|
}>>;
|
|
9966
10535
|
target_resource_id: z.ZodOptional<z.ZodString>;
|
|
9967
10536
|
target_segments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -15968,6 +16537,7 @@ type CustomerOverrideStatus = z.infer<typeof CustomerOverrideStatusSchema>;
|
|
|
15968
16537
|
type CustomerOverrideType = z.infer<typeof CustomerOverrideTypeSchema>;
|
|
15969
16538
|
type Customer = z.infer<typeof CustomerSchema>;
|
|
15970
16539
|
type DefaultTemplateIds = z.infer<typeof DefaultTemplateIdsSchema>;
|
|
16540
|
+
type DeleteProtectionDecision = z.infer<typeof DeleteProtectionDecisionSchema>;
|
|
15971
16541
|
type DetectorRequirements = z.infer<typeof DetectorRequirementsSchema>;
|
|
15972
16542
|
type DimensionCategory = z.infer<typeof DimensionCategorySchema>;
|
|
15973
16543
|
type DimensionSourceType = z.infer<typeof DimensionSourceTypeSchema>;
|
|
@@ -16001,6 +16571,8 @@ type EventStability = z.infer<typeof EventStabilitySchema>;
|
|
|
16001
16571
|
type EventSurface = z.infer<typeof EventSurfaceSchema>;
|
|
16002
16572
|
type EventTaxonomyEntry = z.infer<typeof EventTaxonomyEntrySchema>;
|
|
16003
16573
|
type EventTaxonomy = z.infer<typeof EventTaxonomySchema>;
|
|
16574
|
+
type EvidenceCoverageState = z.infer<typeof EvidenceCoverageStateSchema>;
|
|
16575
|
+
type EvidenceReasonColumn = z.infer<typeof EvidenceReasonColumnSchema>;
|
|
16004
16576
|
type EvidenceRequirement = z.infer<typeof EvidenceRequirementSchema>;
|
|
16005
16577
|
type ExperimentAnalysisConfig = z.infer<typeof ExperimentAnalysisConfigSchema>;
|
|
16006
16578
|
type ExperimentAnalysisDefinition = z.infer<typeof ExperimentAnalysisDefinitionSchema>;
|
|
@@ -16152,12 +16724,22 @@ type ServerEvaluationPayloadTrialStatus = z.infer<typeof ServerEvaluationPayload
|
|
|
16152
16724
|
type ServerEvaluationPayloadUserContext = z.infer<typeof ServerEvaluationPayloadUserContextSchema>;
|
|
16153
16725
|
type ServerEvaluationPayloadUser = z.infer<typeof ServerEvaluationPayloadUserSchema>;
|
|
16154
16726
|
type Severity = z.infer<typeof SeveritySchema>;
|
|
16727
|
+
type StripeBillingScope = z.infer<typeof StripeBillingScopeSchema>;
|
|
16155
16728
|
type StripeIntegrationConfig = z.infer<typeof StripeIntegrationConfigSchema>;
|
|
16156
16729
|
type StripePriceBillingPeriod = z.infer<typeof StripePriceBillingPeriodSchema>;
|
|
16157
16730
|
type StripePriceMockBillingPeriod = z.infer<typeof StripePriceMockBillingPeriodSchema>;
|
|
16158
16731
|
type StripePriceMock = z.infer<typeof StripePriceMockSchema>;
|
|
16159
16732
|
type StripePrice = z.infer<typeof StripePriceSchema>;
|
|
16733
|
+
type StripePriceScope = z.infer<typeof StripePriceScopeSchema>;
|
|
16734
|
+
type StripeSubscriptionEvidence = z.infer<typeof StripeSubscriptionEvidenceSchema>;
|
|
16735
|
+
type StripeSubscriptionItem = z.infer<typeof StripeSubscriptionItemSchema>;
|
|
16736
|
+
type StripeSubscriptionStatus = z.infer<typeof StripeSubscriptionStatusSchema>;
|
|
16160
16737
|
type StudioSurfaceType = z.infer<typeof StudioSurfaceTypeSchema>;
|
|
16738
|
+
type SubscriptionEvidenceKnown = z.infer<typeof SubscriptionEvidenceKnownSchema>;
|
|
16739
|
+
type SubscriptionEvidenceResult = z.infer<typeof SubscriptionEvidenceResultSchema>;
|
|
16740
|
+
type SubscriptionEvidenceUnavailableReason = z.infer<typeof SubscriptionEvidenceUnavailableReasonSchema>;
|
|
16741
|
+
type SubscriptionEvidenceUnavailable = z.infer<typeof SubscriptionEvidenceUnavailableSchema>;
|
|
16742
|
+
type SubscriptionProtection = z.infer<typeof SubscriptionProtectionSchema>;
|
|
16161
16743
|
type SuggestionSeverity = z.infer<typeof SuggestionSeveritySchema>;
|
|
16162
16744
|
type SupersessionReason = z.infer<typeof SupersessionReasonSchema>;
|
|
16163
16745
|
type SupersessionRecord = z.infer<typeof SupersessionRecordSchema>;
|
|
@@ -18901,6 +19483,18 @@ type ExactInitOptions<T> = {
|
|
|
18901
19483
|
* - `iframe` — sandboxed iframe embed
|
|
18902
19484
|
*/
|
|
18903
19485
|
type RevTurbineSdkMode = 'snippet' | 'react' | 'iframe';
|
|
19486
|
+
/**
|
|
19487
|
+
* Hosted-mode endpoint used when `endpoint` is omitted. Every hosted
|
|
19488
|
+
* integration talks to the same control plane, so the option is a knob for
|
|
19489
|
+
* proxies and self-hosted edges, not a requirement.
|
|
19490
|
+
*/
|
|
19491
|
+
declare const DEFAULT_HOSTED_ENDPOINT = "https://revturbine.com/app";
|
|
19492
|
+
/**
|
|
19493
|
+
* Integration mode used when `mode` is omitted. `mode` labels telemetry
|
|
19494
|
+
* (`page_view.mode`, diagnostics) and changes no behavior; `<RevTurbineProvider>`
|
|
19495
|
+
* passes `'react'`, everything else is a snippet.
|
|
19496
|
+
*/
|
|
19497
|
+
declare const DEFAULT_SDK_MODE: RevTurbineSdkMode;
|
|
18904
19498
|
|
|
18905
19499
|
/**
|
|
18906
19500
|
* Convenience input type for identify / setUserContext calls.
|
|
@@ -19293,20 +19887,46 @@ interface RevTurbineTelemetryOptions {
|
|
|
19293
19887
|
interface RevTurbineInitOptions {
|
|
19294
19888
|
/** Your RevTurbine tenant identifier. */
|
|
19295
19889
|
tenantId: string;
|
|
19296
|
-
/** API key for authentication. */
|
|
19297
|
-
apiKey: string;
|
|
19298
19890
|
/**
|
|
19299
|
-
// @revturbine-graph
|
|
19300
|
-
*
|
|
19891
|
+
// @revturbine-graph configuration:revturbine-sdk-internal:web-sdk/customer-side.ts#RevTurbineInitOptions
|
|
19892
|
+
* Your **public key** — the browser credential.
|
|
19893
|
+
*
|
|
19894
|
+
* Mint one in your RevTurbine tenant under **Settings → API tokens →
|
|
19895
|
+
* Ingest keys**. It is a tenant-scoped `rtk_…` token of type `public`:
|
|
19896
|
+
* it authorizes event ingestion (`POST /api/track`) and the read-only
|
|
19897
|
+
* SDK fetches (launched Playbook, user context, branding) and carries
|
|
19898
|
+
* no role authority, so it is safe to ship in client bundles. The
|
|
19899
|
+
* name says what it is — a scanner or an agent that meets `publicKey`
|
|
19900
|
+
* in a bundle knows it is meant to be there.
|
|
19901
|
+
*
|
|
19902
|
+
* Never pass a **server key** here. The server key (type `server`) is
|
|
19903
|
+
* the backend credential for `@revturbine/sdk/server`, where it is the
|
|
19904
|
+
* `apiKey` option; the control plane refuses it on browser-like
|
|
19905
|
+
* requests.
|
|
19906
|
+
*
|
|
19907
|
+
* Required for hosted runtime modes. Optional for `local_only`, where
|
|
19908
|
+
* the SDK fills a placeholder.
|
|
19909
|
+
*/
|
|
19910
|
+
publicKey?: string;
|
|
19911
|
+
/**
|
|
19912
|
+
* Your **server key** — for the headless SDK running on your backend.
|
|
19301
19913
|
*
|
|
19302
|
-
*
|
|
19303
|
-
*
|
|
19304
|
-
*
|
|
19305
|
-
*
|
|
19306
|
-
*
|
|
19307
|
-
*
|
|
19308
|
-
*
|
|
19309
|
-
*
|
|
19914
|
+
* `apiKey` always means the secret server key (`rtk_…`, type `server`),
|
|
19915
|
+
* exactly as it does on `@revturbine/sdk/server`. Pass it here only from
|
|
19916
|
+
* server-side code such as a route handler using `@revturbine/sdk/headless`.
|
|
19917
|
+
*
|
|
19918
|
+
* In the browser, pass {@link publicKey} instead. A browser init that
|
|
19919
|
+
* supplies `apiKey` without `publicKey` is treated as the legacy alias of
|
|
19920
|
+
* the public key (precedence: `publicKey`, then `ingestPublicKey`, then
|
|
19921
|
+
* `apiKey`) and logs a one-time development warning; that alias is kept
|
|
19922
|
+
* for one minor.
|
|
19923
|
+
*/
|
|
19924
|
+
apiKey?: string;
|
|
19925
|
+
/**
|
|
19926
|
+
* @deprecated Use {@link publicKey} — the same key under its one name.
|
|
19927
|
+
* Still accepted for one minor as an alias (precedence: `publicKey`,
|
|
19928
|
+
* then `ingestPublicKey`, then `apiKey`) and logs a one-time development
|
|
19929
|
+
* warning when used without `publicKey`.
|
|
19310
19930
|
*/
|
|
19311
19931
|
ingestPublicKey?: string;
|
|
19312
19932
|
/**
|
|
@@ -19364,7 +19984,7 @@ interface RevTurbineInitOptions {
|
|
|
19364
19984
|
/**
|
|
19365
19985
|
* Keyless anonymous SDK-init telemetry opt-out (plan 95).
|
|
19366
19986
|
*
|
|
19367
|
-
* When **no** {@link
|
|
19987
|
+
* When **no** {@link publicKey} is configured, the SDK sends a single
|
|
19368
19988
|
* anonymous `sdk_init` beacon to `POST /api/sdk/meta` carrying config-shape
|
|
19369
19989
|
* **counts only** (number of plans, entitlements, placements, etc.), the SDK
|
|
19370
19990
|
* version, runtime/schema/bundle versions, and a one-way hashed config id —
|
|
@@ -19373,7 +19993,7 @@ interface RevTurbineInitOptions {
|
|
|
19373
19993
|
*
|
|
19374
19994
|
* On by default (`true`). Set to `false` to opt out entirely; the SDK then
|
|
19375
19995
|
* sends no keyless telemetry. When active, the SDK logs a one-time info
|
|
19376
|
-
* console notice naming this flag. Has no effect once
|
|
19996
|
+
* console notice naming this flag. Has no effect once a `publicKey`
|
|
19377
19997
|
* is present (that path uses the authed clickstream instead). This beacon
|
|
19378
19998
|
* fires in every runtime mode, `local_only` included — a bundled-Playbook
|
|
19379
19999
|
* install is still a real install worth counting. To silence it for a
|
|
@@ -19405,7 +20025,7 @@ interface RevTurbineInitOptions {
|
|
|
19405
20025
|
telemetry?: RevTurbineTelemetryOptions;
|
|
19406
20026
|
/**
|
|
19407
20027
|
* Client-side clickstream batching policy (plan 95). Events are buffered and
|
|
19408
|
-
// @revturbine-graph
|
|
20028
|
+
// @revturbine-graph configuration:revturbine-sdk-internal:web-sdk/customer-side.ts#RevTurbineInitOptions
|
|
19409
20029
|
* flushed to `POST /api/track` on whichever comes first: the batch reaching
|
|
19410
20030
|
* {@link RevTurbineEventBatchingOptions.maxBatchSize}, the
|
|
19411
20031
|
* {@link RevTurbineEventBatchingOptions.flushIntervalMs} timer elapsing, or a
|
|
@@ -19413,10 +20033,17 @@ interface RevTurbineInitOptions {
|
|
|
19413
20033
|
* low-volume sessions that would otherwise strand events.
|
|
19414
20034
|
*/
|
|
19415
20035
|
eventBatching?: RevTurbineEventBatchingOptions;
|
|
19416
|
-
/**
|
|
19417
|
-
|
|
19418
|
-
|
|
19419
|
-
|
|
20036
|
+
/**
|
|
20037
|
+
* Base URL of the RevTurbine control plane. Defaults to
|
|
20038
|
+
* {@link DEFAULT_HOSTED_ENDPOINT}; set it only for a proxy or a self-hosted
|
|
20039
|
+
* edge. Local mode ignores it.
|
|
20040
|
+
*/
|
|
20041
|
+
endpoint?: string;
|
|
20042
|
+
/**
|
|
20043
|
+
* SDK integration mode. Labels telemetry only. Defaults to
|
|
20044
|
+
* {@link DEFAULT_SDK_MODE} (`'snippet'`); `<RevTurbineProvider>` passes `'react'`.
|
|
20045
|
+
*/
|
|
20046
|
+
mode?: RevTurbineSdkMode;
|
|
19420
20047
|
/**
|
|
19421
20048
|
* SDK deployment/runtime mode:
|
|
19422
20049
|
* - `revturbine_server` (default): standard RevTurbine-hosted endpoints.
|
|
@@ -19494,7 +20121,7 @@ interface RevTurbineInitOptions {
|
|
|
19494
20121
|
* @example
|
|
19495
20122
|
* ```ts
|
|
19496
20123
|
* initRevTurbine({
|
|
19497
|
-
*
|
|
20124
|
+
* publicKey: 'rtk_…',
|
|
19498
20125
|
* user: { id: 'user_123', plan_handle: 'free' },
|
|
19499
20126
|
* clientSession: () =>
|
|
19500
20127
|
* fetch('/api/revturbine-session', { method: 'POST' })
|
|
@@ -20126,8 +20753,14 @@ declare const EMITTABLE_PLATFORM_EVENT_NAMES: readonly string[];
|
|
|
20126
20753
|
*/
|
|
20127
20754
|
declare class RevTurbineCustomerSdk {
|
|
20128
20755
|
private readonly tenantId;
|
|
20129
|
-
|
|
20130
|
-
private readonly
|
|
20756
|
+
/** The browser credential, resolved from `publicKey` and its deprecated aliases. */
|
|
20757
|
+
private readonly publicKey;
|
|
20758
|
+
/**
|
|
20759
|
+
* True when the integration supplied a real public key (`publicKey` or
|
|
20760
|
+
* `ingestPublicKey`), as opposed to a legacy `apiKey`-only init or the
|
|
20761
|
+
* local-only placeholder. Gates the keyless anonymous beacon (plan 95).
|
|
20762
|
+
*/
|
|
20763
|
+
private readonly ingestKeyConfigured;
|
|
20131
20764
|
private readonly environmentId;
|
|
20132
20765
|
private readonly locale?;
|
|
20133
20766
|
private readonly testTraffic;
|
|
@@ -20964,6 +21597,24 @@ declare class RevTurbineCustomerSdk {
|
|
|
20964
21597
|
* persistent failure is observable instead of merely quiet.
|
|
20965
21598
|
*/
|
|
20966
21599
|
private failInteractionFlush;
|
|
21600
|
+
/**
|
|
21601
|
+
* The account identity to stamp on a treatment interaction, or `undefined`
|
|
21602
|
+
* when the integration has identified none.
|
|
21603
|
+
*
|
|
21604
|
+
* Two rules make this a usable join key rather than a label:
|
|
21605
|
+
*
|
|
21606
|
+
* 1. **Redacted identically to `/api/track`.** Both paths run the account id
|
|
21607
|
+
* through {@link redactIdentityField}, so an email-shaped account id
|
|
21608
|
+
* becomes the SAME hash in `placement_presentations` and in
|
|
21609
|
+
* `events_clickstream`. Hashing on one path only would produce a hash on
|
|
21610
|
+
* one side and a raw email on the other, and `monetization_funnel` would
|
|
21611
|
+
* join nothing (identity keys are hashed, not sentinelled — the contract
|
|
21612
|
+
* is byte-identical across repos).
|
|
21613
|
+
* 2. **Never falls back to the user id.** An absent account is absent. The
|
|
21614
|
+
* ingest route keeps its own `account_id ?? user_id` fallback for SDKs
|
|
21615
|
+
* that do not send the field yet; this SDK no longer feeds it.
|
|
21616
|
+
*/
|
|
21617
|
+
private interactionAccountId;
|
|
20967
21618
|
trackTreatmentInteraction(input: RevTurbineTreatmentInteractionInput): Promise<void>;
|
|
20968
21619
|
getPlacementContent(placementId: string, request?: JsonObject): Promise<RevTurbinePlacementContent>;
|
|
20969
21620
|
/**
|
|
@@ -21251,7 +21902,11 @@ declare class RevTurbineCustomerSdk {
|
|
|
21251
21902
|
snooze(outputId: string, seconds?: number): Promise<void>;
|
|
21252
21903
|
convert(outputId: string): Promise<void>;
|
|
21253
21904
|
/**
|
|
21254
|
-
* Emit a canonical trigger event
|
|
21905
|
+
* Emit a canonical trigger event. There is no in-SDK consumer that matches
|
|
21906
|
+
* on trigger names — the shipped behavior is ingest to `events_clickstream`
|
|
21907
|
+
* only (plan 250's wire/consumer matrix); a decision-engine placement
|
|
21908
|
+
* trigger matches `trigger.slot_id` against registered slots, not this
|
|
21909
|
+
* event's name.
|
|
21255
21910
|
*
|
|
21256
21911
|
* Convenience wrapper over {@link emitSemantic} that constrains the event
|
|
21257
21912
|
* name to {@link RevTurbineTriggerEvent} and attaches standard context
|
|
@@ -21414,6 +22069,27 @@ declare class RevTurbineCustomerSdk {
|
|
|
21414
22069
|
* ```
|
|
21415
22070
|
*/
|
|
21416
22071
|
declare function initRevTurbine$1<T extends RevTurbineInitInputOptions>(options: T & ExactInitOptions<T>): RevTurbineCustomerSdk;
|
|
22072
|
+
/** The three names the browser credential may arrive under. */
|
|
22073
|
+
type BrowserKeyOptions = Pick<RevTurbineInitOptions, 'publicKey' | 'ingestPublicKey' | 'apiKey'>;
|
|
22074
|
+
/**
|
|
22075
|
+
* Resolve the browser credential from `publicKey` and its deprecated aliases.
|
|
22076
|
+
*
|
|
22077
|
+
* Precedence is `publicKey`, then `ingestPublicKey`, then `apiKey`. Returns
|
|
22078
|
+
* `undefined` when no key was supplied so callers can apply their own default.
|
|
22079
|
+
*
|
|
22080
|
+
* A one-time development warning names `publicKey` when a deprecated alias is
|
|
22081
|
+
* used: always for `ingestPublicKey`, and for `apiKey` only in a browser —
|
|
22082
|
+
* on a backend running the headless SDK, `apiKey` is the server key and is
|
|
22083
|
+
* the right option. Production builds stay silent.
|
|
22084
|
+
*
|
|
22085
|
+
* Every read site (the SDK class, the React provider, the controllers)
|
|
22086
|
+
* resolves through this one function so the precedence cannot drift.
|
|
22087
|
+
*
|
|
22088
|
+
* @internal
|
|
22089
|
+
*/
|
|
22090
|
+
declare function resolveBrowserPublicKey(options: BrowserKeyOptions): string | undefined;
|
|
22091
|
+
/** Test-only: forget that the alias warning fired so the next resolve warns again. @internal */
|
|
22092
|
+
declare function resetBrowserKeyAliasWarning(): void;
|
|
21417
22093
|
declare global {
|
|
21418
22094
|
interface Window {
|
|
21419
22095
|
RevTurbine?: {
|
|
@@ -21556,7 +22232,7 @@ type RevTurbineThemeInput = {
|
|
|
21556
22232
|
*
|
|
21557
22233
|
* const session = await initRevTurbine({
|
|
21558
22234
|
* tenantId: 'tenant_abc',
|
|
21559
|
-
*
|
|
22235
|
+
* publicKey: 'rtk_…',
|
|
21560
22236
|
* endpoint: 'https://edge.example.com',
|
|
21561
22237
|
* mode: 'snippet',
|
|
21562
22238
|
* user: { id: 'user_123', plan_handle: 'pro' },
|
|
@@ -21930,7 +22606,7 @@ type SdkSessionOptions = RevTurbineInitInputOptions & {
|
|
|
21930
22606
|
* ```ts
|
|
21931
22607
|
* const session = await initRevTurbine({
|
|
21932
22608
|
* tenantId: 'tenant_abc',
|
|
21933
|
-
*
|
|
22609
|
+
* publicKey: 'rtk_…',
|
|
21934
22610
|
* endpoint: 'https://edge.example.com',
|
|
21935
22611
|
* mode: 'snippet',
|
|
21936
22612
|
* user: { id: 'user_123', plan_handle: 'pro' },
|
|
@@ -22075,7 +22751,7 @@ declare class SdkSession {
|
|
|
22075
22751
|
* ```ts
|
|
22076
22752
|
* const session = await initRevTurbine({
|
|
22077
22753
|
* tenantId: 'tenant_abc',
|
|
22078
|
-
*
|
|
22754
|
+
* publicKey: 'rtk_…',
|
|
22079
22755
|
* endpoint: 'https://edge.example.com',
|
|
22080
22756
|
* mode: 'snippet',
|
|
22081
22757
|
* user: { id: 'user_123', plan_handle: 'pro' },
|
|
@@ -23918,14 +24594,14 @@ interface components {
|
|
|
23918
24594
|
Anon_f7fb9744a6e4_11: components["schemas"]["Anon_f090cb615c84_25"];
|
|
23919
24595
|
Anon_f090cb615c84_25: string | null;
|
|
23920
24596
|
/** @default true */
|
|
23921
|
-
Anon_d295959bf4db_2: components["schemas"]["
|
|
23922
|
-
Anon_7cb541e84f22_36: boolean;
|
|
23923
|
-
/** @default false */
|
|
23924
|
-
Anon_4dc549443053_1: components["schemas"]["Anon_7cb541e84f22_37"];
|
|
24597
|
+
Anon_d295959bf4db_2: components["schemas"]["Anon_7cb541e84f22_37"];
|
|
23925
24598
|
Anon_7cb541e84f22_37: boolean;
|
|
24599
|
+
/** @default false */
|
|
24600
|
+
Anon_4dc549443053_1: components["schemas"]["Anon_7cb541e84f22_38"];
|
|
24601
|
+
Anon_7cb541e84f22_38: boolean;
|
|
23926
24602
|
/** @default null */
|
|
23927
|
-
Anon_e4ee8e45dcea_1: components["schemas"]["
|
|
23928
|
-
|
|
24603
|
+
Anon_e4ee8e45dcea_1: components["schemas"]["Anon_b0c21ae8f968_14"];
|
|
24604
|
+
Anon_b0c21ae8f968_14: string | null;
|
|
23929
24605
|
/** @default 1 */
|
|
23930
24606
|
Anon_ffffc3c874cb_1: components["schemas"]["Anon_ea288f4ef558_12"];
|
|
23931
24607
|
Anon_ea288f4ef558_12: number;
|
|
@@ -23937,8 +24613,8 @@ interface components {
|
|
|
23937
24613
|
Anon_52ba84a4bbf3_2: string;
|
|
23938
24614
|
Anon_af12d548dbee_19: components["schemas"]["Anon_0eb2e3b6e08c_3"];
|
|
23939
24615
|
/** @default 0 */
|
|
23940
|
-
Anon_2aa59aec1f23_3: components["schemas"]["
|
|
23941
|
-
|
|
24616
|
+
Anon_2aa59aec1f23_3: components["schemas"]["Anon_97cc9ecfdea9_24"];
|
|
24617
|
+
Anon_97cc9ecfdea9_24: number;
|
|
23942
24618
|
/** @default 0 */
|
|
23943
24619
|
Anon_f95d5b2e4f52_5: components["schemas"]["Anon_278eaeabce08_6"];
|
|
23944
24620
|
Anon_278eaeabce08_6: number;
|
|
@@ -23998,20 +24674,20 @@ interface components {
|
|
|
23998
24674
|
Anon_57796118d046_31: string;
|
|
23999
24675
|
Anon_cf08caa6d850_1: components["schemas"]["StripePriceBillingPeriod"];
|
|
24000
24676
|
/** @default null */
|
|
24001
|
-
Anon_79391150fda1_1: components["schemas"]["
|
|
24002
|
-
|
|
24677
|
+
Anon_79391150fda1_1: components["schemas"]["Anon_c648138a0918_8"];
|
|
24678
|
+
Anon_c648138a0918_8: number | null;
|
|
24003
24679
|
Anon_1788a9a8a0b9_2: components["schemas"]["CurrencyOutput"];
|
|
24004
24680
|
Anon_1b09b93e2f83_5: components["schemas"]["PricingModel"];
|
|
24005
24681
|
/** @default null */
|
|
24006
24682
|
Anon_f7fb9744a6e4_14: components["schemas"]["Anon_f090cb615c84_28"];
|
|
24007
24683
|
Anon_f090cb615c84_28: string | null;
|
|
24008
24684
|
/** @default false */
|
|
24009
|
-
Anon_062d958a93c4_4: components["schemas"]["
|
|
24010
|
-
|
|
24685
|
+
Anon_062d958a93c4_4: components["schemas"]["Anon_7cb541e84f22_39"];
|
|
24686
|
+
Anon_7cb541e84f22_39: boolean;
|
|
24011
24687
|
Anon_711dc9708535_7: components["schemas"]["Anon_11c9ad639448_1"];
|
|
24012
|
-
|
|
24688
|
+
Anon_b0c21ae8f968_15: string | null;
|
|
24013
24689
|
/** @default null */
|
|
24014
|
-
Anon_11c9ad639448_1: components["schemas"]["
|
|
24690
|
+
Anon_11c9ad639448_1: components["schemas"]["Anon_b0c21ae8f968_15"];
|
|
24015
24691
|
Anon_fb248bf5a9f7_15: string;
|
|
24016
24692
|
Anon_4c26b3baab05_15: components["schemas"]["Anon_52ba84a4bbf3_2"];
|
|
24017
24693
|
Anon_af12d548dbee_21: components["schemas"]["Anon_0eb2e3b6e08c_3"];
|
|
@@ -24054,8 +24730,8 @@ interface components {
|
|
|
24054
24730
|
Anon_ff52ebcb2a4e_1: number;
|
|
24055
24731
|
Anon_96f9066c2fdc_36: components["schemas"]["Anon_00404e686415_40"];
|
|
24056
24732
|
Anon_00404e686415_40: string;
|
|
24057
|
-
Anon_7e1e37293611_8: components["schemas"]["
|
|
24058
|
-
|
|
24733
|
+
Anon_7e1e37293611_8: components["schemas"]["Anon_97cc9ecfdea9_25"];
|
|
24734
|
+
Anon_97cc9ecfdea9_25: number;
|
|
24059
24735
|
Anon_96f9066c2fdc_37: components["schemas"]["Anon_00404e686415_41"];
|
|
24060
24736
|
Anon_00404e686415_41: string;
|
|
24061
24737
|
Anon_9c7f41b09bde_4: components["schemas"]["Anon_cddf8275afa1_8"];
|
|
@@ -24064,8 +24740,8 @@ interface components {
|
|
|
24064
24740
|
Anon_cddf8275afa1_9: number;
|
|
24065
24741
|
Anon_811366723713_3: components["schemas"]["Anon_4c1d2cc17cf8_3"];
|
|
24066
24742
|
Anon_4c1d2cc17cf8_3: number | "unlimited";
|
|
24067
|
-
Anon_fb9ddeea992e_6: components["schemas"]["
|
|
24068
|
-
|
|
24743
|
+
Anon_fb9ddeea992e_6: components["schemas"]["Anon_7cb541e84f22_40"];
|
|
24744
|
+
Anon_7cb541e84f22_40: boolean;
|
|
24069
24745
|
/** @default null */
|
|
24070
24746
|
Anon_d84a41962ed1_1: components["schemas"]["Anon_853b74b4f5a9_2"];
|
|
24071
24747
|
Anon_853b74b4f5a9_2: (number | "unlimited") | null;
|
|
@@ -24078,8 +24754,8 @@ interface components {
|
|
|
24078
24754
|
Anon_408f15090b22_1: "hard_cap" | "auto_upgrade_at_renewal";
|
|
24079
24755
|
Anon_96f9066c2fdc_39: components["schemas"]["Anon_00404e686415_43"];
|
|
24080
24756
|
Anon_00404e686415_43: string;
|
|
24081
|
-
Anon_fb9ddeea992e_7: components["schemas"]["
|
|
24082
|
-
|
|
24757
|
+
Anon_fb9ddeea992e_7: components["schemas"]["Anon_7cb541e84f22_41"];
|
|
24758
|
+
Anon_7cb541e84f22_41: boolean;
|
|
24083
24759
|
Anon_a7c491664ac5_4: components["schemas"]["UsageAllocation"];
|
|
24084
24760
|
Anon_0dc47bdde23b_1: components["schemas"]["Anon_853b74b4f5a9_3"];
|
|
24085
24761
|
Anon_853b74b4f5a9_3: (number | "unlimited") | null;
|
|
@@ -24098,8 +24774,8 @@ interface components {
|
|
|
24098
24774
|
Anon_57796118d046_36: string;
|
|
24099
24775
|
Anon_872e58432369_1: string;
|
|
24100
24776
|
/** @default false */
|
|
24101
|
-
Anon_062d958a93c4_5: components["schemas"]["
|
|
24102
|
-
|
|
24777
|
+
Anon_062d958a93c4_5: components["schemas"]["Anon_7cb541e84f22_42"];
|
|
24778
|
+
Anon_7cb541e84f22_42: boolean;
|
|
24103
24779
|
/** @default {} */
|
|
24104
24780
|
Anon_5142f8473790_6: components["schemas"]["Anon_c65c1fbd5acf_12"];
|
|
24105
24781
|
Anon_c65c1fbd5acf_12: {
|
|
@@ -24129,8 +24805,8 @@ interface components {
|
|
|
24129
24805
|
Anon_00404e686415_48: string;
|
|
24130
24806
|
Anon_b3e59c48ae6e_2: components["schemas"]["Anon_1ef289951720_4"];
|
|
24131
24807
|
Anon_1ef289951720_4: number;
|
|
24132
|
-
Anon_7e1e37293611_9: components["schemas"]["
|
|
24133
|
-
|
|
24808
|
+
Anon_7e1e37293611_9: components["schemas"]["Anon_97cc9ecfdea9_26"];
|
|
24809
|
+
Anon_97cc9ecfdea9_26: number;
|
|
24134
24810
|
Anon_a8be2b5da5e8_1: components["schemas"]["Anon_aa6d7e4eede4_1"];
|
|
24135
24811
|
/** @enum {string} */
|
|
24136
24812
|
Anon_aa6d7e4eede4_1: "none_always_on" | "overage_vs_upgrade" | "time_bound" | "payment_failed" | "payment_at_risk";
|
|
@@ -24182,16 +24858,16 @@ interface components {
|
|
|
24182
24858
|
[key: string]: unknown;
|
|
24183
24859
|
};
|
|
24184
24860
|
/** @default null */
|
|
24185
|
-
Anon_45e0e0d4a0da_3: components["schemas"]["
|
|
24186
|
-
|
|
24861
|
+
Anon_45e0e0d4a0da_3: components["schemas"]["Anon_c648138a0918_9"];
|
|
24862
|
+
Anon_c648138a0918_9: number | null;
|
|
24187
24863
|
/** @default session */
|
|
24188
24864
|
Anon_6ab4ae68d10d_1: components["schemas"]["CapPeriod"];
|
|
24189
24865
|
/** @default 7 */
|
|
24190
|
-
Anon_3380fd32e874_1: components["schemas"]["
|
|
24191
|
-
|
|
24866
|
+
Anon_3380fd32e874_1: components["schemas"]["Anon_97cc9ecfdea9_27"];
|
|
24867
|
+
Anon_97cc9ecfdea9_27: number;
|
|
24192
24868
|
/** @default null */
|
|
24193
|
-
Anon_45e0e0d4a0da_4: components["schemas"]["
|
|
24194
|
-
|
|
24869
|
+
Anon_45e0e0d4a0da_4: components["schemas"]["Anon_c648138a0918_10"];
|
|
24870
|
+
Anon_c648138a0918_10: number | null;
|
|
24195
24871
|
/** @default next_tier_up */
|
|
24196
24872
|
Anon_beae1a1b3acf_1: components["schemas"]["Anon_761abd3347d0_1"];
|
|
24197
24873
|
/** @enum {string} */
|
|
@@ -24216,8 +24892,8 @@ interface components {
|
|
|
24216
24892
|
/** @enum {string} */
|
|
24217
24893
|
Anon_7de6a12732b9: "active" | "inactive" | "new";
|
|
24218
24894
|
/** @default 0 */
|
|
24219
|
-
Anon_b32f11b2ff5e_2: components["schemas"]["
|
|
24220
|
-
|
|
24895
|
+
Anon_b32f11b2ff5e_2: components["schemas"]["Anon_97cc9ecfdea9_28"];
|
|
24896
|
+
Anon_97cc9ecfdea9_28: number;
|
|
24221
24897
|
Anon_fb248bf5a9f7_21: string;
|
|
24222
24898
|
Anon_4c26b3baab05_19: components["schemas"]["Anon_52ba84a4bbf3_2"];
|
|
24223
24899
|
Anon_af12d548dbee_25: components["schemas"]["Anon_0eb2e3b6e08c_3"];
|
|
@@ -24229,7 +24905,7 @@ interface components {
|
|
|
24229
24905
|
/** @default false */
|
|
24230
24906
|
Anon_f56777819c8b_3: boolean;
|
|
24231
24907
|
Anon_44136fa355b3_2: unknown;
|
|
24232
|
-
|
|
24908
|
+
Anon_97cc9ecfdea9_31: number;
|
|
24233
24909
|
Anon_373775e26848_8: string;
|
|
24234
24910
|
Anon_ee9224780226_6: components["schemas"]["Anon_853cc883e392_1"];
|
|
24235
24911
|
Anon_fb248bf5a9f7_22: string;
|
|
@@ -24252,8 +24928,8 @@ interface components {
|
|
|
24252
24928
|
Anon_796ec99afe20_3: components["schemas"]["Anon_333f67ffab65_3"];
|
|
24253
24929
|
Anon_333f67ffab65_3: string;
|
|
24254
24930
|
/** @default 0 */
|
|
24255
|
-
Anon_b32f11b2ff5e_4: components["schemas"]["
|
|
24256
|
-
|
|
24931
|
+
Anon_b32f11b2ff5e_4: components["schemas"]["Anon_97cc9ecfdea9_32"];
|
|
24932
|
+
Anon_97cc9ecfdea9_32: number;
|
|
24257
24933
|
Anon_fb248bf5a9f7_23: string;
|
|
24258
24934
|
Anon_4c26b3baab05_21: components["schemas"]["Anon_52ba84a4bbf3_2"];
|
|
24259
24935
|
Anon_af12d548dbee_27: components["schemas"]["Anon_0eb2e3b6e08c_3"];
|
|
@@ -24304,7 +24980,7 @@ interface components {
|
|
|
24304
24980
|
field_type: components["schemas"]["TemplateFieldType"];
|
|
24305
24981
|
required: components["schemas"]["Anon_f56777819c8b_3"];
|
|
24306
24982
|
default_value?: components["schemas"]["Anon_44136fa355b3_2"];
|
|
24307
|
-
order?: components["schemas"]["
|
|
24983
|
+
order?: components["schemas"]["Anon_97cc9ecfdea9_31"];
|
|
24308
24984
|
help_text?: components["schemas"]["Anon_373775e26848_8"];
|
|
24309
24985
|
};
|
|
24310
24986
|
MessageBlockRecordOutput: {
|
|
@@ -26509,7 +27185,7 @@ declare function createBasicExperimentProvider(options: BasicBucketerOptions): E
|
|
|
26509
27185
|
*
|
|
26510
27186
|
* const session = await initRevTurbine({
|
|
26511
27187
|
* tenantId: 'tenant_abc',
|
|
26512
|
-
*
|
|
27188
|
+
* publicKey: 'rtk_…',
|
|
26513
27189
|
* endpoint: 'https://edge.example.com',
|
|
26514
27190
|
* mode: 'snippet',
|
|
26515
27191
|
* domainProviders: [analytics],
|
|
@@ -26659,7 +27335,7 @@ interface PostHogAnalyticsProviderOptions {
|
|
|
26659
27335
|
* const analytics = createPostHogAnalyticsProvider({ posthog });
|
|
26660
27336
|
* const session = await initRevTurbine({
|
|
26661
27337
|
* tenantId: 'tenant_abc',
|
|
26662
|
-
*
|
|
27338
|
+
* publicKey: 'rtk_…',
|
|
26663
27339
|
* endpoint: 'https://edge.example.com',
|
|
26664
27340
|
* mode: 'snippet',
|
|
26665
27341
|
* domainProviders: [analytics],
|
|
@@ -26878,7 +27554,14 @@ interface ClientSessionResult {
|
|
|
26878
27554
|
interface RevTurbineServerOptions {
|
|
26879
27555
|
/** Your RevTurbine tenant identifier. */
|
|
26880
27556
|
tenantId: string;
|
|
26881
|
-
/**
|
|
27557
|
+
/**
|
|
27558
|
+
* Your **server key** — the secret backend credential (`rtk_…`, type
|
|
27559
|
+
* `server`, minted under **Settings → API tokens → Server token**).
|
|
27560
|
+
*
|
|
27561
|
+
* Keep it in server-side configuration only. It is never the browser
|
|
27562
|
+
* SDK's `publicKey`, and the control plane refuses it on browser-like
|
|
27563
|
+
* requests.
|
|
27564
|
+
*/
|
|
26882
27565
|
apiKey: string;
|
|
26883
27566
|
/** Base URL of the RevTurbine API Edge. */
|
|
26884
27567
|
endpoint: string;
|
|
@@ -26948,7 +27631,7 @@ declare class RevTurbineServer {
|
|
|
26948
27631
|
/**
|
|
26949
27632
|
* Mint a short-lived, opaque per-user client-session token (plan 157).
|
|
26950
27633
|
*
|
|
26951
|
-
* The customer backend — which holds the
|
|
27634
|
+
* The customer backend — which holds the server key (passed as
|
|
26952
27635
|
* {@link RevTurbineServerOptions.apiKey}) — calls this to obtain a browser-safe
|
|
26953
27636
|
* `rt_client_` token scoped to one end-user subject, then returns the token to
|
|
26954
27637
|
* its frontend. The frontend authenticates `GET /api/sdk/client-context` with
|
|
@@ -26966,5 +27649,5 @@ declare class RevTurbineServer {
|
|
|
26966
27649
|
private apiGet;
|
|
26967
27650
|
}
|
|
26968
27651
|
|
|
26969
|
-
export { ANALYTICS_ANNOTATION_KINDS, ANALYTICS_DATE_RANGE_FILTER_VALUE_TYPE, ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsAnnotationKindSchema, AnalyticsAnnotationMarkerSchema, AnalyticsAnnotationRequestSchema, AnalyticsAnnotationResponseSchema, AnalyticsAnnotationSchema, AnalyticsAnnotationSourceSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogAnnotationKindSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogMetricValidatedSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareDeltaSchema, AnalyticsCompareExperimentSchema, AnalyticsCompareModeSchema, AnalyticsCompareSegmentSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsPeriodCompareModeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryOverridesSchema, AnalyticsQueryRequestSchema, AnalyticsQueryResponseSchema, AnalyticsRenderCartesianSchema, AnalyticsRenderFunnelSchema, AnalyticsRenderMetricSchema, AnalyticsRenderRecommendationsSchema, AnalyticsRenderSpecSchema, AnalyticsRenderTableSchema, AnalyticsRenderTimelineSchema, AnalyticsResultFieldSchema, AnalyticsResultMetaSchema, AnalyticsResultSchema, AnalyticsSafeChartOptionsSchema, AnalyticsSavedViewSchema, AnalyticsSemanticFilterSchema, AnalyticsSemanticIdSchema, AnalyticsSourceScopeSchema, AnalyticsSuggestedPatchOpSchema, AnalyticsTemplateSummarySchema, AnalyticsTimeGrainSchema, AnalyticsValidationIssueSchema, AnalyticsValidationResultSchema, AnalyticsViewAccessRoleSchema, AnalyticsViewAccessSchema, AnalyticsViewBlockDraftSchema, AnalyticsViewBlockSchema, AnalyticsViewDraftSchema, AnalyticsViewFilterDraftSchema, AnalyticsViewFilterSchema, AnalyticsViewHandoffDraftSchema, AnalyticsViewHandoffSchema, AnalyticsViewLayoutSchema, AnalyticsViewQuerySchema, AnalyticsViewRevisionSchema, AnalyticsViewSchema, AnalyticsViewVisibilitySchema, AnalyticsWarningSchema, AnchorFields, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BUILT_IN_TEMPLATE_COMPONENT_TYPES, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, ClientContextSchema, ClientSafe, CohortMonthSchema, ComponentTypeSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_ANALYTICS_RETENTION_DAYS, DEFAULT_BRANDING, DEFAULT_TEMPLATE_COMPONENT_TYPES, DEFAULT_THEME, DEPRECATED_EVENT_NAMES, DOGFOOD_CLIENT_EVENT_NAMES, DataClassification, DecisionEngine, DecisionOnly, DefaultTemplateIdsSchema, DescriptionField, DetectorRequirementsSchema, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, EMITTABLE_PLATFORM_EVENT_NAMES, ENTITLEMENT_STATUS_VALUES, EVENT_PAYLOAD_CONTRACTS, EVENT_PAYLOAD_EVENT_NAMES, EVENT_PREFIX_FAMILIES, EnforcementActionSchema, EnforcementModeSchema, EntitlementCheckResultSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventPrefixFamilySchema, EventSearchParamsSchema, EventSourceSchema, EventStabilitySchema, EventSurfaceSchema, EventTaxonomyEntrySchema, EventTaxonomySchema, EvidenceRequirementSchema, ExperimentAnalysisConfigSchema, ExperimentAnalysisConfigVersionError, ExperimentAnalysisDefinitionSchema, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentAssignmentFactSchema, ExperimentAssignmentSourceSchema, ExperimentDecisionFindingCodeSchema, ExperimentDecisionPolicySchema, ExperimentDecisionPolicyVersionError, ExperimentDecisionRecordSchema, ExperimentDecisionTypeSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricEvidencePlanSchema, ExperimentMetricResultSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, ExperimentVariantTargetSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FAMILY_RENDER_COMPATIBILITY, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FIXTURE_ANALYTICS_CATALOG, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, IngestedEventSchema, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MAX_TREATMENT_INTERACTIONS_PER_BATCH, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MetadataField, MeteringConfigSchema, NameField, NullableDatetimeField, ObservationMaturitySchema, OnboardingChecklistSchema, OnboardingStateSchema, OpportunityCandidateSchema, OpportunityEvidenceSchema, OpportunityInterpretationSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLATFORM_EMITTED_EVENT_NAMES, PLATFORM_EVENT_TAXONOMY, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineServer, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, SDK_SERVER_EVENT_NAMES, SEMANTIC_ID_PATTERN, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, TrackEventSchema, TrackIngestBatchSchema, TreatmentInteractionBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionRequestSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WEBHOOK_DERIVED_EVENT_NAMES, WarGameCapabilityRequirementsSchema, WarGameCategorySchema, WarGameGradeSchema, WarGameOracleSchema, WarGameQualificationLevelSchema, WarGameScenarioSchema, WebhookDeliverySchema, WebhookDispatchStatusSchema, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, WebhookProcessingStatusSchema, WebhookReplayEnvelopeSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, assertExperimentDecisionPolicyUpdateAllowed, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, changelogPaths, clearPersistedTheme, collectAssignmentFactDeclarations, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, composeEffectiveExperimentContext, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCompositeExperimentProvider, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defaultRenderForQuery, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, deriveReverseTrialGrants, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, formatCurrencyMinorUnits, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isAnalyticsDateRangeFilterValue, isBrowser, isExperimentAssignmentFactDeclaration, isLegacyDateRangeArray, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, namespacePlatformCollision, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, requireSchemaFacets, resetDefaultRegistry, resolveBranding, resolveComponentType, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validateEventPayload, validatePlacementThresholdWarnings };
|
|
26970
|
-
export type { ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsAnnotation, AnalyticsAnnotationKind, AnalyticsAnnotationMarker, AnalyticsAnnotationRequest, AnalyticsAnnotationResponse, AnalyticsAnnotationSource, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogAnnotationKind, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogMetricValidated, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareDelta, AnalyticsCompareExperiment, AnalyticsCompareMode, AnalyticsCompareSegment, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDateRangeFilterValue, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsPeriodCompareMode, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryOverrides, AnalyticsQueryRequest, AnalyticsQueryResponse, AnalyticsRenderCartesian, AnalyticsRenderFunnel, AnalyticsRenderMetric, AnalyticsRenderRecommendations, AnalyticsRenderSpec, AnalyticsRenderTable, AnalyticsRenderTimeline, AnalyticsResult, AnalyticsResultField, AnalyticsResultMeta, AnalyticsSafeChartOptions, AnalyticsSavedView, AnalyticsSemanticFilter, AnalyticsSemanticId, AnalyticsSourceScope, AnalyticsSuggestedPatchOp, AnalyticsTemplateSummary, AnalyticsTimeGrain, AnalyticsValidationCode, AnalyticsValidationIssue, AnalyticsValidationResult, AnalyticsView, AnalyticsViewAccess, AnalyticsViewAccessRole, AnalyticsViewBlock, AnalyticsViewBlockDraft, AnalyticsViewDraft, AnalyticsViewFilter, AnalyticsViewFilterDraft, AnalyticsViewHandoff, AnalyticsViewHandoffDraft, AnalyticsViewLayout, AnalyticsViewQuery, AnalyticsViewRevision, AnalyticsViewVisibility, AnalyticsWarning, AnyDomainProvider, AssignmentFactUnit, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, ClientContext, CohortMonth, CompileAnalyticsDraftOptions, ComponentType, CompositeExperimentProviderOptions, ConfigArtifact, ConfigTargetDefaults, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DefaultTemplateIds, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DomainProviderResolutionInput, DriftReport, EffectiveUserContextResolution, EligibleAddon, EligiblePlan, EligiblePrice, EmittablePlatformEventName, EnforcementAction, EnforcementMode, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventPayloadContract, EventPayloadContractMap, EventPayloadInput, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, ExactInitOptions, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisDefinition, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentFact, ExperimentAssignmentFactDeclaration, ExperimentAssignmentFactMetadataCarrier, ExperimentAssignmentProvider, ExperimentAssignmentSource, ExperimentDecisionFindingCode, ExperimentDecisionPolicy, ExperimentDecisionRecord, ExperimentDecisionType, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricEvidencePlan, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantNonAssignmentReason, ExperimentVariantSelection, ExperimentVariantTarget, ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FlagValueType, FreeTrialRule, FreeTrialSettings, FunnelStep, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, IngestWriteScope, IngestedEvent, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MeteringConfig, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, ObservationMaturity, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, Placement, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, PlatformEventName, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineAuthoredSlotRef, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineComponentType, RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineRegisteredSlot, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotInventoryDiagnosis, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerActionContext, ServerActionHandler, ServerActionMap, ServerActionResult, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, 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, TreatmentInteractionBatch, TreatmentInteractionInput, TreatmentInteractionRequest, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WarGameCapabilityRequirements, WarGameCategory, WarGameGrade, WarGameOracle, WarGameQualificationLevel, WarGameScenario, WebhookDelivery, WebhookDispatchStatus, WebhookEventLog, WebhookEventSource, WebhookEventStatus, WebhookProcessingStatus, WebhookReplayEnvelope };
|
|
27652
|
+
export { ANALYTICS_ANNOTATION_KINDS, ANALYTICS_DATE_RANGE_FILTER_VALUE_TYPE, ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsAnnotationKindSchema, AnalyticsAnnotationMarkerSchema, AnalyticsAnnotationRequestSchema, AnalyticsAnnotationResponseSchema, AnalyticsAnnotationSchema, AnalyticsAnnotationSourceSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogAnnotationKindSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogMetricValidatedSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareDeltaSchema, AnalyticsCompareExperimentSchema, AnalyticsCompareModeSchema, AnalyticsCompareSegmentSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsPeriodCompareModeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryOverridesSchema, AnalyticsQueryRequestSchema, AnalyticsQueryResponseSchema, AnalyticsRenderCartesianSchema, AnalyticsRenderFunnelSchema, AnalyticsRenderMetricSchema, AnalyticsRenderRecommendationsSchema, AnalyticsRenderSpecSchema, AnalyticsRenderTableSchema, AnalyticsRenderTimelineSchema, AnalyticsResultFieldSchema, AnalyticsResultMetaSchema, AnalyticsResultSchema, AnalyticsSafeChartOptionsSchema, AnalyticsSavedViewSchema, AnalyticsSemanticFilterSchema, AnalyticsSemanticIdSchema, AnalyticsSourceScopeSchema, AnalyticsSuggestedPatchOpSchema, AnalyticsTemplateSummarySchema, AnalyticsTimeGrainSchema, AnalyticsValidationIssueSchema, AnalyticsValidationResultSchema, AnalyticsViewAccessRoleSchema, AnalyticsViewAccessSchema, AnalyticsViewBlockDraftSchema, AnalyticsViewBlockSchema, AnalyticsViewDraftSchema, AnalyticsViewFilterDraftSchema, AnalyticsViewFilterSchema, AnalyticsViewHandoffDraftSchema, AnalyticsViewHandoffSchema, AnalyticsViewLayoutSchema, AnalyticsViewQuerySchema, AnalyticsViewRevisionSchema, AnalyticsViewSchema, AnalyticsViewVisibilitySchema, AnalyticsWarningSchema, AnchorFields, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BUILT_IN_TEMPLATE_COMPONENT_TYPES, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, ClientContextSchema, ClientSafe, CohortMonthSchema, ComponentTypeSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_ANALYTICS_RETENTION_DAYS, DEFAULT_BRANDING, DEFAULT_HOSTED_ENDPOINT, DEFAULT_SDK_MODE, DEFAULT_TEMPLATE_COMPONENT_TYPES, DEFAULT_THEME, DEPRECATED_EVENT_NAMES, DOGFOOD_CLIENT_EVENT_NAMES, DataClassification, DecisionEngine, DecisionOnly, DefaultTemplateIdsSchema, DeleteProtectionDecisionSchema, DescriptionField, DetectorRequirementsSchema, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, EMITTABLE_PLATFORM_EVENT_NAMES, ENTITLEMENT_STATUS_VALUES, EVENT_PAYLOAD_CONTRACTS, EVENT_PAYLOAD_EVENT_NAMES, EVENT_PREFIX_FAMILIES, EnforcementActionSchema, EnforcementModeSchema, EntitlementCheckResultSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventPrefixFamilySchema, EventSearchParamsSchema, EventSourceSchema, EventStabilitySchema, EventSurfaceSchema, EventTaxonomyEntrySchema, EventTaxonomySchema, EvidenceCoverageStateSchema, EvidenceReasonColumnSchema, EvidenceRequirementSchema, ExperimentAnalysisConfigSchema, ExperimentAnalysisConfigVersionError, ExperimentAnalysisDefinitionSchema, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentAssignmentFactSchema, ExperimentAssignmentSourceSchema, ExperimentDecisionFindingCodeSchema, ExperimentDecisionPolicySchema, ExperimentDecisionPolicyVersionError, ExperimentDecisionRecordSchema, ExperimentDecisionTypeSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricEvidencePlanSchema, ExperimentMetricResultSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, ExperimentVariantTargetSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FAMILY_RENDER_COMPATIBILITY, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FIXTURE_ANALYTICS_CATALOG, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, IngestedEventSchema, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MAX_TREATMENT_INTERACTIONS_PER_BATCH, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MetadataField, MeteringConfigSchema, NON_RETRYABLE_EVIDENCE_REASONS, NameField, NullableDatetimeField, ObservationMaturitySchema, OnboardingChecklistSchema, OnboardingStateSchema, OpportunityCandidateSchema, OpportunityEvidenceSchema, OpportunityInterpretationSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLATFORM_EMITTED_EVENT_NAMES, PLATFORM_EVENT_TAXONOMY, PLAYBOOK_FORMAT_VERSION, PROTECTED_SUBSCRIPTION_SAMPLE_LIMIT, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineServer, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, SDK_SERVER_EVENT_NAMES, SEMANTIC_ID_PATTERN, SERVER_TRAITS_DOMAIN, STRIPE_SUBSCRIPTION_STATUS_VALUES, SUBSCRIPTION_BLOCKER_ENTITY, SUBSCRIPTION_EVIDENCE_UNAVAILABLE_CODE, SUBSCRIPTION_EVIDENCE_UNAVAILABLE_REASONS, SUBSCRIPTION_REFERENCE_EXISTS_CODE, SUBSCRIPTION_STATUS_PROTECTION, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, StripeBillingScopeSchema, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StripePriceScopeSchema, StripeSubscriptionEvidenceSchema, StripeSubscriptionItemSchema, StripeSubscriptionStatusSchema, StudioSurfaceTypeSchema, SubscriptionEvidenceKnownSchema, SubscriptionEvidenceResultSchema, SubscriptionEvidenceUnavailableReasonSchema, SubscriptionEvidenceUnavailableSchema, SubscriptionProtectionSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TERMINAL_SUBSCRIPTION_STATUSES, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, TrackEventSchema, TrackIngestBatchSchema, TreatmentInteractionBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionRequestSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WEBHOOK_DERIVED_EVENT_NAMES, WarGameCapabilityRequirementsSchema, WarGameCategorySchema, WarGameGradeSchema, WarGameOracleSchema, WarGameQualificationLevelSchema, WarGameScenarioSchema, WebhookDeliverySchema, WebhookDispatchStatusSchema, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, WebhookProcessingStatusSchema, WebhookReplayEnvelopeSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, assertExperimentDecisionPolicyUpdateAllowed, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, changelogPaths, classifySubscriptionStatus, clearPersistedTheme, collectAssignmentFactDeclarations, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, composeEffectiveExperimentContext, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCompositeExperimentProvider, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, decideDeleteProtection, defaultRenderForQuery, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, deriveReverseTrialGrants, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, formatCurrencyMinorUnits, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isAnalyticsDateRangeFilterValue, isBrowser, isExperimentAssignmentFactDeclaration, isLegacyDateRangeArray, isRetryableEvidenceReason, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, namespacePlatformCollision, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, requireSchemaFacets, resetBrowserKeyAliasWarning, resetDefaultRegistry, resolveBranding, resolveBrowserPublicKey, resolveComponentType, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveSubscriptionEvidence, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, summarizeProtectedSubscriptions, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unavailableEvidence, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validateEventPayload, validatePlacementThresholdWarnings };
|
|
27653
|
+
export type { ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsAnnotation, AnalyticsAnnotationKind, AnalyticsAnnotationMarker, AnalyticsAnnotationRequest, AnalyticsAnnotationResponse, AnalyticsAnnotationSource, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogAnnotationKind, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogMetricValidated, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareDelta, AnalyticsCompareExperiment, AnalyticsCompareMode, AnalyticsCompareSegment, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDateRangeFilterValue, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsPeriodCompareMode, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryOverrides, AnalyticsQueryRequest, AnalyticsQueryResponse, AnalyticsRenderCartesian, AnalyticsRenderFunnel, AnalyticsRenderMetric, AnalyticsRenderRecommendations, AnalyticsRenderSpec, AnalyticsRenderTable, AnalyticsRenderTimeline, AnalyticsResult, AnalyticsResultField, AnalyticsResultMeta, AnalyticsSafeChartOptions, AnalyticsSavedView, AnalyticsSemanticFilter, AnalyticsSemanticId, AnalyticsSourceScope, AnalyticsSuggestedPatchOp, AnalyticsTemplateSummary, AnalyticsTimeGrain, AnalyticsValidationCode, AnalyticsValidationIssue, AnalyticsValidationResult, AnalyticsView, AnalyticsViewAccess, AnalyticsViewAccessRole, AnalyticsViewBlock, AnalyticsViewBlockDraft, AnalyticsViewDraft, AnalyticsViewFilter, AnalyticsViewFilterDraft, AnalyticsViewHandoff, AnalyticsViewHandoffDraft, AnalyticsViewLayout, AnalyticsViewQuery, AnalyticsViewRevision, AnalyticsViewVisibility, AnalyticsWarning, AnyDomainProvider, AssignmentFactUnit, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, ClientContext, CohortMonth, CompileAnalyticsDraftOptions, ComponentType, CompositeExperimentProviderOptions, ConfigArtifact, ConfigTargetDefaults, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DefaultTemplateIds, DeleteProtectionDecision, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DomainProviderResolutionInput, DriftReport, EffectiveUserContextResolution, EligibleAddon, EligiblePlan, EligiblePrice, EmittablePlatformEventName, EnforcementAction, EnforcementMode, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventPayloadContract, EventPayloadContractMap, EventPayloadInput, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceCoverageState, EvidenceReasonColumn, EvidenceRequirement, Exact, ExactInitOptions, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisDefinition, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentFact, ExperimentAssignmentFactDeclaration, ExperimentAssignmentFactMetadataCarrier, ExperimentAssignmentProvider, ExperimentAssignmentSource, ExperimentDecisionFindingCode, ExperimentDecisionPolicy, ExperimentDecisionRecord, ExperimentDecisionType, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricEvidencePlan, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantNonAssignmentReason, ExperimentVariantSelection, ExperimentVariantTarget, ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FlagValueType, FreeTrialRule, FreeTrialSettings, FunnelStep, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, IngestWriteScope, IngestedEvent, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MeteringConfig, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, ObservationMaturity, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, Placement, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, PlatformEventName, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineAuthoredSlotRef, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineComponentType, RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineRegisteredSlot, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotInventoryDiagnosis, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerActionContext, ServerActionHandler, ServerActionMap, ServerActionResult, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, StaticPlacementResolverOptions, StripeBillingScope, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StripePriceScope, StripeSubscriptionEvidence, StripeSubscriptionItem, StripeSubscriptionStatus, StudioSurfaceType, SubscriptionEvidenceKnown, SubscriptionEvidenceResult, SubscriptionEvidenceUnavailable, SubscriptionEvidenceUnavailableReason, SubscriptionProtection, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, TrackEvent, TrackIngestBatch, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionBatch, TreatmentInteractionInput, TreatmentInteractionRequest, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WarGameCapabilityRequirements, WarGameCategory, WarGameGrade, WarGameOracle, WarGameQualificationLevel, WarGameScenario, WebhookDelivery, WebhookDispatchStatus, WebhookEventLog, WebhookEventSource, WebhookEventStatus, WebhookProcessingStatus, WebhookReplayEnvelope };
|