@revturbine/sdk 0.7.12 → 0.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/headless.d.ts +1183 -61
- package/dist/headless.js +2 -2
- package/dist/headless.js.map +1 -1
- package/dist/index.d.ts +1183 -61
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/web-sdk/control-plane-events.d.ts +6 -5
- package/dist/types/web-sdk/control-plane-events.d.ts.map +1 -1
- package/dist/types/web-sdk/controllers.d.ts.map +1 -1
- package/dist/types/web-sdk/customer-side.d.ts +131 -3
- package/dist/types/web-sdk/customer-side.d.ts.map +1 -1
- package/dist/types/web-sdk/pii-redact.d.ts +19 -0
- package/dist/types/web-sdk/pii-redact.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/headless.d.ts
CHANGED
|
@@ -3328,6 +3328,23 @@ declare const AnalyticsCatalogMetricSchema: z.ZodObject<{
|
|
|
3328
3328
|
}>>;
|
|
3329
3329
|
numerator_metric: z.ZodOptional<z.ZodString>;
|
|
3330
3330
|
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
3331
|
+
derivation: z.ZodOptional<z.ZodObject<{
|
|
3332
|
+
kind: z.ZodEnum<{
|
|
3333
|
+
derived: "derived";
|
|
3334
|
+
observed: "observed";
|
|
3335
|
+
unavailable: "unavailable";
|
|
3336
|
+
}>;
|
|
3337
|
+
input_origin: z.ZodEnum<{
|
|
3338
|
+
none: "none";
|
|
3339
|
+
platform: "platform";
|
|
3340
|
+
customer_authored: "customer_authored";
|
|
3341
|
+
mixed: "mixed";
|
|
3342
|
+
}>;
|
|
3343
|
+
ingested_events: z.ZodArray<z.ZodString>;
|
|
3344
|
+
ingested_datasources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3345
|
+
carried_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3346
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3347
|
+
}, z.core.$strip>>;
|
|
3331
3348
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3332
3349
|
deprecated: z.ZodBoolean;
|
|
3333
3350
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -3399,6 +3416,23 @@ declare const AnalyticsCatalogMetricValidatedSchema: z.ZodObject<{
|
|
|
3399
3416
|
}>>;
|
|
3400
3417
|
numerator_metric: z.ZodOptional<z.ZodString>;
|
|
3401
3418
|
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
3419
|
+
derivation: z.ZodOptional<z.ZodObject<{
|
|
3420
|
+
kind: z.ZodEnum<{
|
|
3421
|
+
derived: "derived";
|
|
3422
|
+
observed: "observed";
|
|
3423
|
+
unavailable: "unavailable";
|
|
3424
|
+
}>;
|
|
3425
|
+
input_origin: z.ZodEnum<{
|
|
3426
|
+
none: "none";
|
|
3427
|
+
platform: "platform";
|
|
3428
|
+
customer_authored: "customer_authored";
|
|
3429
|
+
mixed: "mixed";
|
|
3430
|
+
}>;
|
|
3431
|
+
ingested_events: z.ZodArray<z.ZodString>;
|
|
3432
|
+
ingested_datasources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3433
|
+
carried_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3434
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3435
|
+
}, z.core.$strip>>;
|
|
3402
3436
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3403
3437
|
deprecated: z.ZodBoolean;
|
|
3404
3438
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -3439,6 +3473,16 @@ declare const AnalyticsCatalogConceptSchema: z.ZodObject<{
|
|
|
3439
3473
|
revturbine_influenced: "revturbine_influenced";
|
|
3440
3474
|
}>;
|
|
3441
3475
|
coverage_metric: z.ZodOptional<z.ZodString>;
|
|
3476
|
+
dimension_groundings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3477
|
+
kind: z.ZodEnum<{
|
|
3478
|
+
derived: "derived";
|
|
3479
|
+
stamped: "stamped";
|
|
3480
|
+
membership_join: "membership_join";
|
|
3481
|
+
config_join: "config_join";
|
|
3482
|
+
}>;
|
|
3483
|
+
source: z.ZodString;
|
|
3484
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3485
|
+
}, z.core.$strip>>>;
|
|
3442
3486
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
3443
3487
|
deprecated: z.ZodBoolean;
|
|
3444
3488
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -5563,6 +5607,16 @@ declare const AnalyticsCatalogSchema: z.ZodObject<{
|
|
|
5563
5607
|
revturbine_influenced: "revturbine_influenced";
|
|
5564
5608
|
}>;
|
|
5565
5609
|
coverage_metric: z.ZodOptional<z.ZodString>;
|
|
5610
|
+
dimension_groundings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5611
|
+
kind: z.ZodEnum<{
|
|
5612
|
+
derived: "derived";
|
|
5613
|
+
stamped: "stamped";
|
|
5614
|
+
membership_join: "membership_join";
|
|
5615
|
+
config_join: "config_join";
|
|
5616
|
+
}>;
|
|
5617
|
+
source: z.ZodString;
|
|
5618
|
+
note: z.ZodOptional<z.ZodString>;
|
|
5619
|
+
}, z.core.$strip>>>;
|
|
5566
5620
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
5567
5621
|
deprecated: z.ZodBoolean;
|
|
5568
5622
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -5687,6 +5741,23 @@ declare const AnalyticsCatalogSchema: z.ZodObject<{
|
|
|
5687
5741
|
}>>;
|
|
5688
5742
|
numerator_metric: z.ZodOptional<z.ZodString>;
|
|
5689
5743
|
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
5744
|
+
derivation: z.ZodOptional<z.ZodObject<{
|
|
5745
|
+
kind: z.ZodEnum<{
|
|
5746
|
+
derived: "derived";
|
|
5747
|
+
observed: "observed";
|
|
5748
|
+
unavailable: "unavailable";
|
|
5749
|
+
}>;
|
|
5750
|
+
input_origin: z.ZodEnum<{
|
|
5751
|
+
none: "none";
|
|
5752
|
+
platform: "platform";
|
|
5753
|
+
customer_authored: "customer_authored";
|
|
5754
|
+
mixed: "mixed";
|
|
5755
|
+
}>;
|
|
5756
|
+
ingested_events: z.ZodArray<z.ZodString>;
|
|
5757
|
+
ingested_datasources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5758
|
+
carried_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5759
|
+
note: z.ZodOptional<z.ZodString>;
|
|
5760
|
+
}, z.core.$strip>>;
|
|
5690
5761
|
deprecation: z.ZodOptional<z.ZodObject<{
|
|
5691
5762
|
deprecated: z.ZodBoolean;
|
|
5692
5763
|
replaced_by: z.ZodOptional<z.ZodString>;
|
|
@@ -6048,6 +6119,33 @@ interface AnalyticsCatalogView {
|
|
|
6048
6119
|
metricsFor(conceptId: string): AnalyticsCatalogMetric$1[];
|
|
6049
6120
|
/** The annotation-kind vocabulary this catalog carries, sorted by kind. */
|
|
6050
6121
|
listAnnotationKinds(): AnalyticsCatalogAnnotationKind$1[];
|
|
6122
|
+
/**
|
|
6123
|
+
* The derived data products one INGESTED EVENT feeds, sorted by metric id.
|
|
6124
|
+
*
|
|
6125
|
+
* The question this answers is the one nobody could answer before: "a tenant
|
|
6126
|
+
* emits `gate_evaluated` — what lights up?" and, read backwards, "this chart
|
|
6127
|
+
* is empty, which event is missing?" Pass a platform event name from the
|
|
6128
|
+
* taxonomy or a datasource name; both sides of a metric's declared inputs
|
|
6129
|
+
* are indexed.
|
|
6130
|
+
*/
|
|
6131
|
+
metricsFromIngestedSource(sourceName: string): AnalyticsCatalogMetric$1[];
|
|
6132
|
+
/**
|
|
6133
|
+
* Every ingested event and datasource the catalog reads, sorted. The set of
|
|
6134
|
+
* inputs the product depends on — useful for asking what a new tenant must
|
|
6135
|
+
* emit before its analytics are populated.
|
|
6136
|
+
*/
|
|
6137
|
+
listIngestedSources(): string[];
|
|
6138
|
+
/**
|
|
6139
|
+
* The metrics one Tinybird pipe carries, sorted by metric id (plan 228
|
|
6140
|
+
* TASK-3). "Carries" is pipe-allowlist truth — the pipe accepts and serves
|
|
6141
|
+
* the metric id — not a claim that rows exist for it (a carried metric with
|
|
6142
|
+
* derivation.kind='unavailable' is exactly the carried-but-dark state the
|
|
6143
|
+
* register surfaces). This is the read the web execution layer derives its
|
|
6144
|
+
* pipe allowlists from, replacing hand-maintained Record maps.
|
|
6145
|
+
*/
|
|
6146
|
+
metricsForPipe(pipeName: string): AnalyticsCatalogMetric$1[];
|
|
6147
|
+
/** Every pipe name any metric declares carriage on, sorted. */
|
|
6148
|
+
listCarryingPipes(): string[];
|
|
6051
6149
|
}
|
|
6052
6150
|
declare function createInMemoryAnalyticsCatalog(data: unknown): AnalyticsCatalogView;
|
|
6053
6151
|
/**
|
|
@@ -6604,9 +6702,9 @@ declare const GrowthSignalSeriesSchema: z.ZodObject<{
|
|
|
6604
6702
|
/** Normalized output of a GrowthSignalProvider. */
|
|
6605
6703
|
declare const GrowthSignalBundleSchema: z.ZodObject<{
|
|
6606
6704
|
availability: z.ZodEnum<{
|
|
6705
|
+
unavailable: "unavailable";
|
|
6607
6706
|
available: "available";
|
|
6608
6707
|
stale: "stale";
|
|
6609
|
-
unavailable: "unavailable";
|
|
6610
6708
|
unsupported: "unsupported";
|
|
6611
6709
|
partial: "partial";
|
|
6612
6710
|
}>;
|
|
@@ -6764,20 +6862,20 @@ declare const OpportunityCandidateSchema: z.ZodObject<{
|
|
|
6764
6862
|
|
|
6765
6863
|
declare const EventSourceSchema: z.ZodEnum<{
|
|
6766
6864
|
system: "system";
|
|
6865
|
+
workflow: "workflow";
|
|
6767
6866
|
clickstream: "clickstream";
|
|
6768
6867
|
telemetry: "telemetry";
|
|
6769
6868
|
sdk: "sdk";
|
|
6770
|
-
workflow: "workflow";
|
|
6771
6869
|
}>;
|
|
6772
6870
|
declare const EventEnvelopeSchema: z.ZodObject<{
|
|
6773
6871
|
id: z.ZodString;
|
|
6774
6872
|
event_type: z.ZodString;
|
|
6775
6873
|
source: z.ZodDefault<z.ZodEnum<{
|
|
6776
6874
|
system: "system";
|
|
6875
|
+
workflow: "workflow";
|
|
6777
6876
|
clickstream: "clickstream";
|
|
6778
6877
|
telemetry: "telemetry";
|
|
6779
6878
|
sdk: "sdk";
|
|
6780
|
-
workflow: "workflow";
|
|
6781
6879
|
}>>;
|
|
6782
6880
|
tenant_id: z.ZodOptional<z.ZodString>;
|
|
6783
6881
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6792,10 +6890,10 @@ declare const IngestedEventSchema: z.ZodObject<{
|
|
|
6792
6890
|
event_type: z.ZodString;
|
|
6793
6891
|
source: z.ZodDefault<z.ZodEnum<{
|
|
6794
6892
|
system: "system";
|
|
6893
|
+
workflow: "workflow";
|
|
6795
6894
|
clickstream: "clickstream";
|
|
6796
6895
|
telemetry: "telemetry";
|
|
6797
6896
|
sdk: "sdk";
|
|
6798
|
-
workflow: "workflow";
|
|
6799
6897
|
}>>;
|
|
6800
6898
|
tenant_id: z.ZodOptional<z.ZodString>;
|
|
6801
6899
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6850,12 +6948,102 @@ declare const TreatmentInteractionInputSchema: z.ZodObject<{
|
|
|
6850
6948
|
test: z.ZodOptional<z.ZodBoolean>;
|
|
6851
6949
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6852
6950
|
}, z.core.$strip>;
|
|
6951
|
+
/**
|
|
6952
|
+
* Batch ceiling for `/api/events/interactions`, mirroring the clickstream
|
|
6953
|
+
* batch bound so both ingest surfaces refuse at the same size.
|
|
6954
|
+
*/
|
|
6955
|
+
declare const MAX_TREATMENT_INTERACTIONS_PER_BATCH = 500;
|
|
6956
|
+
/**
|
|
6957
|
+
* The array wire shape for treatment interactions.
|
|
6958
|
+
*
|
|
6959
|
+
* The SDK's `flushInteractionQueue` sends a bare {@link TreatmentInteractionInputSchema}
|
|
6960
|
+
* when one interaction is queued and this array when two or more are. Only the
|
|
6961
|
+
* bare shape was ever declared, so the route parsed only that — every
|
|
6962
|
+
* multi-item flush 422'd and its interactions were lost (plan 232). Declaring
|
|
6963
|
+
* the array here makes the batch bound and the item shape one definition that
|
|
6964
|
+
* the route and the SDK both consume, so the two cannot drift apart silently
|
|
6965
|
+
* again; a wire-contract test asserts the exact bodies the SDK builds parse
|
|
6966
|
+
* against {@link TreatmentInteractionRequestSchema}.
|
|
6967
|
+
*/
|
|
6968
|
+
declare const TreatmentInteractionBatchSchema: z.ZodArray<z.ZodObject<{
|
|
6969
|
+
user_id: z.ZodString;
|
|
6970
|
+
placement_id: z.ZodString;
|
|
6971
|
+
treatment_id: z.ZodOptional<z.ZodString>;
|
|
6972
|
+
surface_slot_id: z.ZodOptional<z.ZodString>;
|
|
6973
|
+
surface_template_id: z.ZodOptional<z.ZodString>;
|
|
6974
|
+
payload_id: z.ZodOptional<z.ZodString>;
|
|
6975
|
+
interaction_type: z.ZodEnum<{
|
|
6976
|
+
dismiss: "dismiss";
|
|
6977
|
+
impression: "impression";
|
|
6978
|
+
remind_me_later: "remind_me_later";
|
|
6979
|
+
cta_clicked: "cta_clicked";
|
|
6980
|
+
cta_completed: "cta_completed";
|
|
6981
|
+
suppress: "suppress";
|
|
6982
|
+
}>;
|
|
6983
|
+
interaction_at: z.ZodOptional<z.ZodString>;
|
|
6984
|
+
message_block_handle: z.ZodOptional<z.ZodString>;
|
|
6985
|
+
message_block_id: z.ZodOptional<z.ZodString>;
|
|
6986
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
6987
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
6988
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
6989
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6990
|
+
}, z.core.$strip>>;
|
|
6991
|
+
/**
|
|
6992
|
+
* Either wire shape, as the route accepts them. This is what the OpenAPI
|
|
6993
|
+
* request body declares, so a generated client can send either without
|
|
6994
|
+
* reaching past the contract.
|
|
6995
|
+
*/
|
|
6996
|
+
declare const TreatmentInteractionRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6997
|
+
user_id: z.ZodString;
|
|
6998
|
+
placement_id: z.ZodString;
|
|
6999
|
+
treatment_id: z.ZodOptional<z.ZodString>;
|
|
7000
|
+
surface_slot_id: z.ZodOptional<z.ZodString>;
|
|
7001
|
+
surface_template_id: z.ZodOptional<z.ZodString>;
|
|
7002
|
+
payload_id: z.ZodOptional<z.ZodString>;
|
|
7003
|
+
interaction_type: z.ZodEnum<{
|
|
7004
|
+
dismiss: "dismiss";
|
|
7005
|
+
impression: "impression";
|
|
7006
|
+
remind_me_later: "remind_me_later";
|
|
7007
|
+
cta_clicked: "cta_clicked";
|
|
7008
|
+
cta_completed: "cta_completed";
|
|
7009
|
+
suppress: "suppress";
|
|
7010
|
+
}>;
|
|
7011
|
+
interaction_at: z.ZodOptional<z.ZodString>;
|
|
7012
|
+
message_block_handle: z.ZodOptional<z.ZodString>;
|
|
7013
|
+
message_block_id: z.ZodOptional<z.ZodString>;
|
|
7014
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
7015
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
7016
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
7017
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7018
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
7019
|
+
user_id: z.ZodString;
|
|
7020
|
+
placement_id: z.ZodString;
|
|
7021
|
+
treatment_id: z.ZodOptional<z.ZodString>;
|
|
7022
|
+
surface_slot_id: z.ZodOptional<z.ZodString>;
|
|
7023
|
+
surface_template_id: z.ZodOptional<z.ZodString>;
|
|
7024
|
+
payload_id: z.ZodOptional<z.ZodString>;
|
|
7025
|
+
interaction_type: z.ZodEnum<{
|
|
7026
|
+
dismiss: "dismiss";
|
|
7027
|
+
impression: "impression";
|
|
7028
|
+
remind_me_later: "remind_me_later";
|
|
7029
|
+
cta_clicked: "cta_clicked";
|
|
7030
|
+
cta_completed: "cta_completed";
|
|
7031
|
+
suppress: "suppress";
|
|
7032
|
+
}>;
|
|
7033
|
+
interaction_at: z.ZodOptional<z.ZodString>;
|
|
7034
|
+
message_block_handle: z.ZodOptional<z.ZodString>;
|
|
7035
|
+
message_block_id: z.ZodOptional<z.ZodString>;
|
|
7036
|
+
experiment_id: z.ZodOptional<z.ZodString>;
|
|
7037
|
+
variant_key: z.ZodOptional<z.ZodString>;
|
|
7038
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
7039
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7040
|
+
}, z.core.$strip>>]>;
|
|
6853
7041
|
declare const TriggerEventTypeSchema: z.ZodEnum<{
|
|
6854
7042
|
payment_failed: "payment_failed";
|
|
6855
7043
|
feature_gated: "feature_gated";
|
|
7044
|
+
trial_expired: "trial_expired";
|
|
6856
7045
|
trial_midpoint: "trial_midpoint";
|
|
6857
7046
|
trial_expiring: "trial_expiring";
|
|
6858
|
-
trial_expired: "trial_expired";
|
|
6859
7047
|
usage_limit_approaching: "usage_limit_approaching";
|
|
6860
7048
|
usage_limit_reached: "usage_limit_reached";
|
|
6861
7049
|
credit_balance_low: "credit_balance_low";
|
|
@@ -6902,17 +7090,17 @@ declare const ControlPlaneEventTypeSchema: z.ZodEnum<{
|
|
|
6902
7090
|
cli_signed_up: "cli_signed_up";
|
|
6903
7091
|
cli_signed_in: "cli_signed_in";
|
|
6904
7092
|
cli_command_executed: "cli_command_executed";
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
7093
|
+
playbook_version_submitted: "playbook_version_submitted";
|
|
7094
|
+
playbook_version_approved: "playbook_version_approved";
|
|
7095
|
+
playbook_version_rejected: "playbook_version_rejected";
|
|
7096
|
+
playbook_version_deployed: "playbook_version_deployed";
|
|
7097
|
+
playbook_version_launched: "playbook_version_launched";
|
|
7098
|
+
playbook_version_parked: "playbook_version_parked";
|
|
7099
|
+
playbook_version_resumed: "playbook_version_resumed";
|
|
7100
|
+
playbook_version_discarded: "playbook_version_discarded";
|
|
7101
|
+
playbook_version_archived: "playbook_version_archived";
|
|
7102
|
+
playbook_imported: "playbook_imported";
|
|
7103
|
+
playbook_exported: "playbook_exported";
|
|
6916
7104
|
entity_created: "entity_created";
|
|
6917
7105
|
entity_updated: "entity_updated";
|
|
6918
7106
|
entity_deleted: "entity_deleted";
|
|
@@ -6925,17 +7113,17 @@ declare const ControlPlaneSemanticEventSchema: z.ZodObject<{
|
|
|
6925
7113
|
cli_signed_up: "cli_signed_up";
|
|
6926
7114
|
cli_signed_in: "cli_signed_in";
|
|
6927
7115
|
cli_command_executed: "cli_command_executed";
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
7116
|
+
playbook_version_submitted: "playbook_version_submitted";
|
|
7117
|
+
playbook_version_approved: "playbook_version_approved";
|
|
7118
|
+
playbook_version_rejected: "playbook_version_rejected";
|
|
7119
|
+
playbook_version_deployed: "playbook_version_deployed";
|
|
7120
|
+
playbook_version_launched: "playbook_version_launched";
|
|
7121
|
+
playbook_version_parked: "playbook_version_parked";
|
|
7122
|
+
playbook_version_resumed: "playbook_version_resumed";
|
|
7123
|
+
playbook_version_discarded: "playbook_version_discarded";
|
|
7124
|
+
playbook_version_archived: "playbook_version_archived";
|
|
7125
|
+
playbook_imported: "playbook_imported";
|
|
7126
|
+
playbook_exported: "playbook_exported";
|
|
6939
7127
|
entity_created: "entity_created";
|
|
6940
7128
|
entity_updated: "entity_updated";
|
|
6941
7129
|
entity_deleted: "entity_deleted";
|
|
@@ -6951,10 +7139,10 @@ declare const EventSearchParamsSchema: z.ZodObject<{
|
|
|
6951
7139
|
q: z.ZodOptional<z.ZodString>;
|
|
6952
7140
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6953
7141
|
system: "system";
|
|
7142
|
+
workflow: "workflow";
|
|
6954
7143
|
clickstream: "clickstream";
|
|
6955
7144
|
telemetry: "telemetry";
|
|
6956
7145
|
sdk: "sdk";
|
|
6957
|
-
workflow: "workflow";
|
|
6958
7146
|
}>>;
|
|
6959
7147
|
event_type: z.ZodOptional<z.ZodString>;
|
|
6960
7148
|
from: z.ZodOptional<z.ZodString>;
|
|
@@ -7009,9 +7197,9 @@ declare const TrackEventSchema: z.ZodObject<{
|
|
|
7009
7197
|
tenant_id: z.ZodOptional<z.ZodString>;
|
|
7010
7198
|
event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7011
7199
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7200
|
+
derived: "derived";
|
|
7012
7201
|
explicit: "explicit";
|
|
7013
7202
|
automatic: "automatic";
|
|
7014
|
-
derived: "derived";
|
|
7015
7203
|
raw: "raw";
|
|
7016
7204
|
}>>>;
|
|
7017
7205
|
playbook_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7035,9 +7223,9 @@ declare const TrackIngestBatchSchema: z.ZodObject<{
|
|
|
7035
7223
|
tenant_id: z.ZodOptional<z.ZodString>;
|
|
7036
7224
|
event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7037
7225
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7226
|
+
derived: "derived";
|
|
7038
7227
|
explicit: "explicit";
|
|
7039
7228
|
automatic: "automatic";
|
|
7040
|
-
derived: "derived";
|
|
7041
7229
|
raw: "raw";
|
|
7042
7230
|
}>>>;
|
|
7043
7231
|
playbook_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7238,16 +7426,24 @@ declare const EventTaxonomySchema: z.ZodObject<{
|
|
|
7238
7426
|
* Control-plane events, emitted by revturbine-web itself (plan 112).
|
|
7239
7427
|
* `source` (system vs workflow) is a separate axis carried on the event.
|
|
7240
7428
|
*/
|
|
7241
|
-
declare const CONTROL_PLANE_EVENT_NAMES: readonly ["web_signed_up", "web_signed_in", "cli_signed_up", "cli_signed_in", "cli_command_executed", "
|
|
7429
|
+
declare const CONTROL_PLANE_EVENT_NAMES: readonly ["web_signed_up", "web_signed_in", "cli_signed_up", "cli_signed_in", "cli_command_executed", "playbook_version_submitted", "playbook_version_approved", "playbook_version_rejected", "playbook_version_deployed", "playbook_version_launched", "playbook_version_parked", "playbook_version_resumed", "playbook_version_discarded", "playbook_version_archived", "playbook_imported", "playbook_exported", "entity_created", "entity_updated", "entity_deleted", "web_api_error"];
|
|
7242
7430
|
/**
|
|
7243
7431
|
* SDK-automatic client events with fixed names. Prefix-family members
|
|
7244
7432
|
* (`engagement_*`) are NOT listed here — see {@link EVENT_PREFIX_FAMILIES}.
|
|
7245
7433
|
*/
|
|
7246
|
-
declare const SDK_CLIENT_EVENT_NAMES: readonly ["placement_resolved", "placement_rendered", "placement_exposed", "placement_outcome", "placement_interaction", "gate_evaluated", "gate_attempted", "gate_allowed", "gate_denied", "slot_evaluated", "slot_filled", "slot_empty", "slot_suppressed", "slot_error", "segment_enrolled", "segment_unenrolled", "experiment_assigned", "user_context_observed", "
|
|
7434
|
+
declare const SDK_CLIENT_EVENT_NAMES: readonly ["placement_resolved", "placement_rendered", "placement_exposed", "placement_outcome", "placement_interaction", "gate_evaluated", "gate_attempted", "gate_allowed", "gate_denied", "slot_evaluated", "slot_filled", "slot_empty", "slot_suppressed", "slot_error", "segment_enrolled", "segment_unenrolled", "experiment_assigned", "user_context_observed", "clickstream_page_view", "account_created", "user_signed_up", "onboarding_completed", "account_activated", "product_used", "value_realized", "usage_recorded", "plan_viewed", "promotion_applied", "promotion_converted"];
|
|
7247
7435
|
/**
|
|
7248
7436
|
* Anonymous SDK telemetry on the keyless meta lane (plan 95/144). These carry
|
|
7249
7437
|
* no tenant and no user context, so they are `internal` by construction.
|
|
7250
7438
|
*/
|
|
7439
|
+
/**
|
|
7440
|
+
* Server-produced derived observations (plan 228 TASK-2 audit). Not emitted by
|
|
7441
|
+
* the client SDK — written by producers that aggregate facts into windowed
|
|
7442
|
+
* metric observations (today: the Growth Lab loader; tomorrow: any in-engine
|
|
7443
|
+
* aggregator). Declared so the parity scan and every reader can SEE the name;
|
|
7444
|
+
* excluded from the sdk_client emit-parity direction by surface.
|
|
7445
|
+
*/
|
|
7446
|
+
declare const SDK_SERVER_EVENT_NAMES: readonly ["growth_signal_observed"];
|
|
7251
7447
|
declare const SDK_META_EVENT_NAMES: readonly ["sdk_init", "sdk_error", "sdk_validation_warning", "resolution_failure"];
|
|
7252
7448
|
/**
|
|
7253
7449
|
* Product signals revturbine-web emits about ITSELF, through the customer
|
|
@@ -7263,14 +7459,32 @@ declare const SDK_META_EVENT_NAMES: readonly ["sdk_init", "sdk_error", "sdk_vali
|
|
|
7263
7459
|
* from `ControlPlaneEventType`; a name on both lanes double-counts one
|
|
7264
7460
|
* operator action.
|
|
7265
7461
|
*
|
|
7266
|
-
*
|
|
7267
|
-
*
|
|
7268
|
-
*
|
|
7269
|
-
*
|
|
7270
|
-
*
|
|
7462
|
+
* SURFACE (plan 228 TASK-5 dogfood ruling): `sdk_client`, reclassified from
|
|
7463
|
+
* `control_plane`. These are generic product-usage telemetry any tenant's
|
|
7464
|
+
* app could legitimately report about itself through the SDK's typed emit
|
|
7465
|
+
* surface — "RevTurbine's own vocabulary" was never load-bearing for them,
|
|
7466
|
+
* unlike the CP proper (auth, playbook-version lifecycle, entity CRUD),
|
|
7467
|
+
* which stays structurally unforgeable. revturbine-web swaps its `track()`
|
|
7468
|
+
* call sites to `emitPlatformEvent` at its next SDK pin bump; until then
|
|
7469
|
+
* its emissions ride the generic lane of a pre-namespacing SDK and land
|
|
7470
|
+
* raw, exactly as before.
|
|
7271
7471
|
*/
|
|
7272
7472
|
declare const DOGFOOD_CLIENT_EVENT_NAMES: readonly ["area_viewed", "feature_gated"];
|
|
7273
|
-
|
|
7473
|
+
/**
|
|
7474
|
+
* Billing lifecycle events (plan 228 R-2). Dual-source BY CONTRACT: the Stripe
|
|
7475
|
+
* webhook processor translates `stripe_event_type` onto these names, AND the
|
|
7476
|
+
* SDK exposes a typed emit path for each under the same payload schema — so a
|
|
7477
|
+
* tenant on a different biller (or none) produces identical facts. The surface
|
|
7478
|
+
* is `webhook_derived` because that is the historically-primary producer; it
|
|
7479
|
+
* does NOT mean webhook-only, and the emit↔taxonomy parity scan includes these
|
|
7480
|
+
* on the SDK side.
|
|
7481
|
+
*
|
|
7482
|
+
* Every payload carries `billing_ref` — the producer-minted idempotency key
|
|
7483
|
+
* that makes a Stripe delivery and an SDK emission of the same commercial fact
|
|
7484
|
+
* collapse to one row (the identity key, consumed by datasource derivation).
|
|
7485
|
+
*/
|
|
7486
|
+
declare const WEBHOOK_DERIVED_EVENT_NAMES: readonly ["subscription_started", "subscription_renewed", "subscription_expanded", "subscription_canceled", "trial_started", "trial_converted", "trial_expired", "payment_succeeded", "payment_failed"];
|
|
7487
|
+
type EventName = (typeof CONTROL_PLANE_EVENT_NAMES)[number] | (typeof DOGFOOD_CLIENT_EVENT_NAMES)[number] | (typeof SDK_CLIENT_EVENT_NAMES)[number] | (typeof SDK_SERVER_EVENT_NAMES)[number] | (typeof SDK_META_EVENT_NAMES)[number] | (typeof WEBHOOK_DERIVED_EVENT_NAMES)[number];
|
|
7274
7488
|
/**
|
|
7275
7489
|
* Names the SDK classifies as platform-automatic for ORIGIN tagging without
|
|
7276
7490
|
* emitting them itself. `impression` is the clearest case: it is an
|
|
@@ -7312,9 +7526,744 @@ declare const PLATFORM_EVENT_TAXONOMY: {
|
|
|
7312
7526
|
};
|
|
7313
7527
|
/** Every platform-emitted event name, for the cross-repo parity assertion. */
|
|
7314
7528
|
declare const PLATFORM_EMITTED_EVENT_NAMES: readonly string[];
|
|
7529
|
+
/**
|
|
7530
|
+
* Namespace a customer-supplied event name that collides with platform
|
|
7531
|
+
* vocabulary (plan 228 TASK-4). The generic `track()` lane — SDK and
|
|
7532
|
+
* `/api/track` ingest alike — runs every ALREADY-NORMALIZED name through
|
|
7533
|
+
* this, so platform events are unforgeable from the untyped path: a
|
|
7534
|
+
* customer's `track('gate_attempted')` lands as `clickstream_gate_attempted`
|
|
7535
|
+
* while the typed emit surface sends `gate_attempted` raw.
|
|
7536
|
+
*
|
|
7537
|
+
* Derived from the taxonomy, not a hardcoded switch, so a name added to the
|
|
7538
|
+
* taxonomy is protected the moment it exists. Names already carrying the
|
|
7539
|
+
* `clickstream_` namespace pass through — `clickstream_page_view` IS the
|
|
7540
|
+
* platform name for the generic page-view alias (wire truth), and the guard
|
|
7541
|
+
* also makes the function idempotent.
|
|
7542
|
+
*/
|
|
7543
|
+
declare function namespacePlatformCollision(normalizedName: string): string;
|
|
7315
7544
|
/** Names exempt from the declared-but-never-emitted parity direction. */
|
|
7316
7545
|
declare const DEPRECATED_EVENT_NAMES: readonly string[];
|
|
7317
7546
|
|
|
7547
|
+
/**
|
|
7548
|
+
* Per-event payload contracts (plan 228 REQ-1) — one Zod schema for EVERY
|
|
7549
|
+
* taxonomy event, plus the identity key that makes two emissions the same
|
|
7550
|
+
* fact.
|
|
7551
|
+
*
|
|
7552
|
+
* Before this file, event NAMES were declared (plan 181) but payloads were
|
|
7553
|
+
* untyped bags: `EventEnvelopeSchema.payload` is `z.record(z.string(),
|
|
7554
|
+
* z.unknown())`, and each contract lived only in the body of its emit site.
|
|
7555
|
+
* That is how R-10 shipped — `emitGateEvaluated`'s property set existed
|
|
7556
|
+
* nowhere a validator, a reader, or a simulator could check against, so a
|
|
7557
|
+
* double-wrapped payload validated fine and read as empty everywhere.
|
|
7558
|
+
*
|
|
7559
|
+
* Every schema below is transcribed from a VERIFIED producer, not designed at
|
|
7560
|
+
* a desk: the control-plane shapes from revturbine-web's `emitControlPlaneEvent`
|
|
7561
|
+
* call sites, the SDK client shapes from `web-sdk/customer-side.ts` +
|
|
7562
|
+
* `controllers.ts` emit sites, the meta-lane shapes from the
|
|
7563
|
+
* `events_sdk_meta` / `events_sdk_diagnostics` datasource columns they land
|
|
7564
|
+
* in. The billing band (plan 228 R-2) is the one designed-first set — it is
|
|
7565
|
+
* NEW vocabulary, dual-source by contract (Stripe webhook processor and typed
|
|
7566
|
+
* SDK emit share these schemas), and its fields exist to ground the catalog
|
|
7567
|
+
* dimensions REQ-11 names (`commercial.plan`, `commercial.billing_period`,
|
|
7568
|
+
* `trial.rule`).
|
|
7569
|
+
*
|
|
7570
|
+
* Three deliberate contract decisions:
|
|
7571
|
+
*
|
|
7572
|
+
* - **Loose objects.** REQ-9's evolution policy is additive-only, and its
|
|
7573
|
+
* reader half is that a validator built against schema rev N accepts a
|
|
7574
|
+
* payload from rev N+1. `z.looseObject` preserves unknown keys instead of
|
|
7575
|
+
* stripping or rejecting them — an old ingest never mangles a newer
|
|
7576
|
+
* producer's additive field.
|
|
7577
|
+
* - **Identity keys are part of the contract.** `identity` names the payload
|
|
7578
|
+
* fields that make two emissions the same fact; `'event_id'` means the
|
|
7579
|
+
* envelope-level id is the only identity (the common case for telemetry).
|
|
7580
|
+
* Datasource sorting keys and dedup discriminators DERIVE from this
|
|
7581
|
+
* (REQ-4) — the `experiment_assignments` partition-key near-miss is why
|
|
7582
|
+
* keys are declared here rather than chosen per datasource.
|
|
7583
|
+
* - **Classification rides every field** (house `DataClassification` meta),
|
|
7584
|
+
* so PII handling derives from the contract; `pii-redact` remains
|
|
7585
|
+
* defense-in-depth, not the source of truth.
|
|
7586
|
+
*/
|
|
7587
|
+
|
|
7588
|
+
type PlatformEventName = (typeof CONTROL_PLANE_EVENT_NAMES)[number] | (typeof DOGFOOD_CLIENT_EVENT_NAMES)[number] | (typeof SDK_CLIENT_EVENT_NAMES)[number] | (typeof SDK_SERVER_EVENT_NAMES)[number] | (typeof SDK_META_EVENT_NAMES)[number] | (typeof WEBHOOK_DERIVED_EVENT_NAMES)[number];
|
|
7589
|
+
interface EventPayloadContract {
|
|
7590
|
+
/** The payload's Zod schema — loose, additive-tolerant (REQ-9). */
|
|
7591
|
+
schema: z.ZodType;
|
|
7592
|
+
/**
|
|
7593
|
+
* Payload fields that make two emissions the same fact. `['event_id']`
|
|
7594
|
+
* means the envelope id is the only identity (plain telemetry). Datasource
|
|
7595
|
+
* sorting keys and dedup discriminators derive from this (REQ-4).
|
|
7596
|
+
*/
|
|
7597
|
+
identity: readonly string[];
|
|
7598
|
+
}
|
|
7599
|
+
/**
|
|
7600
|
+
* Total over every taxonomy name — adding an event in `taxonomy.ts` without a
|
|
7601
|
+
* payload contract here is a COMPILE error, and the parity test holds the
|
|
7602
|
+
* reverse direction.
|
|
7603
|
+
*
|
|
7604
|
+
* Declared with `satisfies` rather than an annotation so each entry keeps its
|
|
7605
|
+
* SPECIFIC schema type: `EventPayloadInput<'gate_evaluated'>` resolves to the
|
|
7606
|
+
* gate payload's input shape, which is what the SDK's typed emit surface
|
|
7607
|
+
* infers its per-event parameter types from (plan 228 TASK-4).
|
|
7608
|
+
*/
|
|
7609
|
+
declare const EVENT_PAYLOAD_CONTRACTS: {
|
|
7610
|
+
readonly web_signed_up: {
|
|
7611
|
+
readonly schema: z.ZodObject<{
|
|
7612
|
+
control_plane_source: z.ZodEnum<{
|
|
7613
|
+
system: "system";
|
|
7614
|
+
workflow: "workflow";
|
|
7615
|
+
}>;
|
|
7616
|
+
}, z.core.$loose>;
|
|
7617
|
+
readonly identity: readonly ["event_id"];
|
|
7618
|
+
};
|
|
7619
|
+
readonly web_signed_in: {
|
|
7620
|
+
readonly schema: z.ZodObject<{
|
|
7621
|
+
control_plane_source: z.ZodEnum<{
|
|
7622
|
+
system: "system";
|
|
7623
|
+
workflow: "workflow";
|
|
7624
|
+
}>;
|
|
7625
|
+
}, z.core.$loose>;
|
|
7626
|
+
readonly identity: readonly ["event_id"];
|
|
7627
|
+
};
|
|
7628
|
+
readonly cli_signed_up: {
|
|
7629
|
+
readonly schema: z.ZodObject<{
|
|
7630
|
+
control_plane_source: z.ZodEnum<{
|
|
7631
|
+
system: "system";
|
|
7632
|
+
workflow: "workflow";
|
|
7633
|
+
}>;
|
|
7634
|
+
}, z.core.$loose>;
|
|
7635
|
+
readonly identity: readonly ["event_id"];
|
|
7636
|
+
};
|
|
7637
|
+
readonly cli_signed_in: {
|
|
7638
|
+
readonly schema: z.ZodObject<{
|
|
7639
|
+
control_plane_source: z.ZodEnum<{
|
|
7640
|
+
system: "system";
|
|
7641
|
+
workflow: "workflow";
|
|
7642
|
+
}>;
|
|
7643
|
+
}, z.core.$loose>;
|
|
7644
|
+
readonly identity: readonly ["event_id"];
|
|
7645
|
+
};
|
|
7646
|
+
readonly cli_command_executed: {
|
|
7647
|
+
readonly schema: z.ZodObject<{
|
|
7648
|
+
command: z.ZodString;
|
|
7649
|
+
control_plane_source: z.ZodEnum<{
|
|
7650
|
+
system: "system";
|
|
7651
|
+
workflow: "workflow";
|
|
7652
|
+
}>;
|
|
7653
|
+
}, z.core.$loose>;
|
|
7654
|
+
readonly identity: readonly ["event_id"];
|
|
7655
|
+
};
|
|
7656
|
+
readonly playbook_version_submitted: {
|
|
7657
|
+
readonly schema: z.ZodObject<{
|
|
7658
|
+
playbook_version_id: z.ZodString;
|
|
7659
|
+
control_plane_source: z.ZodEnum<{
|
|
7660
|
+
system: "system";
|
|
7661
|
+
workflow: "workflow";
|
|
7662
|
+
}>;
|
|
7663
|
+
}, z.core.$loose>;
|
|
7664
|
+
readonly identity: readonly ["event_id"];
|
|
7665
|
+
};
|
|
7666
|
+
readonly playbook_version_approved: {
|
|
7667
|
+
readonly schema: z.ZodObject<{
|
|
7668
|
+
playbook_version_id: z.ZodString;
|
|
7669
|
+
control_plane_source: z.ZodEnum<{
|
|
7670
|
+
system: "system";
|
|
7671
|
+
workflow: "workflow";
|
|
7672
|
+
}>;
|
|
7673
|
+
}, z.core.$loose>;
|
|
7674
|
+
readonly identity: readonly ["event_id"];
|
|
7675
|
+
};
|
|
7676
|
+
readonly playbook_version_rejected: {
|
|
7677
|
+
readonly schema: z.ZodObject<{
|
|
7678
|
+
playbook_version_id: z.ZodString;
|
|
7679
|
+
control_plane_source: z.ZodEnum<{
|
|
7680
|
+
system: "system";
|
|
7681
|
+
workflow: "workflow";
|
|
7682
|
+
}>;
|
|
7683
|
+
}, z.core.$loose>;
|
|
7684
|
+
readonly identity: readonly ["event_id"];
|
|
7685
|
+
};
|
|
7686
|
+
readonly playbook_version_deployed: {
|
|
7687
|
+
readonly schema: z.ZodObject<{
|
|
7688
|
+
playbook_version_id: z.ZodString;
|
|
7689
|
+
control_plane_source: z.ZodEnum<{
|
|
7690
|
+
system: "system";
|
|
7691
|
+
workflow: "workflow";
|
|
7692
|
+
}>;
|
|
7693
|
+
}, z.core.$loose>;
|
|
7694
|
+
readonly identity: readonly ["event_id"];
|
|
7695
|
+
};
|
|
7696
|
+
readonly playbook_version_launched: {
|
|
7697
|
+
readonly schema: z.ZodObject<{
|
|
7698
|
+
playbook_version_id: z.ZodString;
|
|
7699
|
+
control_plane_source: z.ZodEnum<{
|
|
7700
|
+
system: "system";
|
|
7701
|
+
workflow: "workflow";
|
|
7702
|
+
}>;
|
|
7703
|
+
}, z.core.$loose>;
|
|
7704
|
+
readonly identity: readonly ["event_id"];
|
|
7705
|
+
};
|
|
7706
|
+
readonly playbook_version_parked: {
|
|
7707
|
+
readonly schema: z.ZodObject<{
|
|
7708
|
+
playbook_version_id: z.ZodString;
|
|
7709
|
+
control_plane_source: z.ZodEnum<{
|
|
7710
|
+
system: "system";
|
|
7711
|
+
workflow: "workflow";
|
|
7712
|
+
}>;
|
|
7713
|
+
}, z.core.$loose>;
|
|
7714
|
+
readonly identity: readonly ["event_id"];
|
|
7715
|
+
};
|
|
7716
|
+
readonly playbook_version_resumed: {
|
|
7717
|
+
readonly schema: z.ZodObject<{
|
|
7718
|
+
playbook_version_id: z.ZodString;
|
|
7719
|
+
control_plane_source: z.ZodEnum<{
|
|
7720
|
+
system: "system";
|
|
7721
|
+
workflow: "workflow";
|
|
7722
|
+
}>;
|
|
7723
|
+
}, z.core.$loose>;
|
|
7724
|
+
readonly identity: readonly ["event_id"];
|
|
7725
|
+
};
|
|
7726
|
+
readonly playbook_version_discarded: {
|
|
7727
|
+
readonly schema: z.ZodObject<{
|
|
7728
|
+
playbook_version_id: z.ZodString;
|
|
7729
|
+
control_plane_source: z.ZodEnum<{
|
|
7730
|
+
system: "system";
|
|
7731
|
+
workflow: "workflow";
|
|
7732
|
+
}>;
|
|
7733
|
+
}, z.core.$loose>;
|
|
7734
|
+
readonly identity: readonly ["event_id"];
|
|
7735
|
+
};
|
|
7736
|
+
readonly playbook_version_archived: {
|
|
7737
|
+
readonly schema: z.ZodObject<{
|
|
7738
|
+
playbook_version_id: z.ZodString;
|
|
7739
|
+
control_plane_source: z.ZodEnum<{
|
|
7740
|
+
system: "system";
|
|
7741
|
+
workflow: "workflow";
|
|
7742
|
+
}>;
|
|
7743
|
+
}, z.core.$loose>;
|
|
7744
|
+
readonly identity: readonly ["event_id"];
|
|
7745
|
+
};
|
|
7746
|
+
readonly playbook_imported: {
|
|
7747
|
+
readonly schema: z.ZodObject<{
|
|
7748
|
+
playbook_version_id: z.ZodString;
|
|
7749
|
+
control_plane_source: z.ZodEnum<{
|
|
7750
|
+
system: "system";
|
|
7751
|
+
workflow: "workflow";
|
|
7752
|
+
}>;
|
|
7753
|
+
}, z.core.$loose>;
|
|
7754
|
+
readonly identity: readonly ["event_id"];
|
|
7755
|
+
};
|
|
7756
|
+
readonly playbook_exported: {
|
|
7757
|
+
readonly schema: z.ZodObject<{
|
|
7758
|
+
control_plane_source: z.ZodEnum<{
|
|
7759
|
+
system: "system";
|
|
7760
|
+
workflow: "workflow";
|
|
7761
|
+
}>;
|
|
7762
|
+
}, z.core.$loose>;
|
|
7763
|
+
readonly identity: readonly ["event_id"];
|
|
7764
|
+
};
|
|
7765
|
+
readonly entity_created: {
|
|
7766
|
+
readonly schema: z.ZodObject<{
|
|
7767
|
+
resource: z.ZodString;
|
|
7768
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
7769
|
+
control_plane_source: z.ZodEnum<{
|
|
7770
|
+
system: "system";
|
|
7771
|
+
workflow: "workflow";
|
|
7772
|
+
}>;
|
|
7773
|
+
}, z.core.$loose>;
|
|
7774
|
+
readonly identity: readonly ["event_id"];
|
|
7775
|
+
};
|
|
7776
|
+
readonly entity_updated: {
|
|
7777
|
+
readonly schema: z.ZodObject<{
|
|
7778
|
+
resource: z.ZodString;
|
|
7779
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
7780
|
+
control_plane_source: z.ZodEnum<{
|
|
7781
|
+
system: "system";
|
|
7782
|
+
workflow: "workflow";
|
|
7783
|
+
}>;
|
|
7784
|
+
}, z.core.$loose>;
|
|
7785
|
+
readonly identity: readonly ["event_id"];
|
|
7786
|
+
};
|
|
7787
|
+
readonly entity_deleted: {
|
|
7788
|
+
readonly schema: z.ZodObject<{
|
|
7789
|
+
resource: z.ZodString;
|
|
7790
|
+
resource_id: z.ZodOptional<z.ZodString>;
|
|
7791
|
+
control_plane_source: z.ZodEnum<{
|
|
7792
|
+
system: "system";
|
|
7793
|
+
workflow: "workflow";
|
|
7794
|
+
}>;
|
|
7795
|
+
}, z.core.$loose>;
|
|
7796
|
+
readonly identity: readonly ["event_id"];
|
|
7797
|
+
};
|
|
7798
|
+
readonly web_api_error: {
|
|
7799
|
+
readonly schema: z.ZodObject<{
|
|
7800
|
+
request_id: z.ZodString;
|
|
7801
|
+
status: z.ZodNumber;
|
|
7802
|
+
route: z.ZodOptional<z.ZodString>;
|
|
7803
|
+
method: z.ZodOptional<z.ZodString>;
|
|
7804
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
7805
|
+
control_plane_source: z.ZodEnum<{
|
|
7806
|
+
system: "system";
|
|
7807
|
+
workflow: "workflow";
|
|
7808
|
+
}>;
|
|
7809
|
+
}, z.core.$loose>;
|
|
7810
|
+
readonly identity: readonly ["event_id"];
|
|
7811
|
+
};
|
|
7812
|
+
readonly area_viewed: {
|
|
7813
|
+
readonly schema: z.ZodObject<{
|
|
7814
|
+
area: z.ZodString;
|
|
7815
|
+
}, z.core.$loose>;
|
|
7816
|
+
readonly identity: readonly ["event_id"];
|
|
7817
|
+
};
|
|
7818
|
+
readonly feature_gated: {
|
|
7819
|
+
readonly schema: z.ZodObject<{
|
|
7820
|
+
pathname: z.ZodNullable<z.ZodString>;
|
|
7821
|
+
reason: z.ZodString;
|
|
7822
|
+
}, z.core.$loose>;
|
|
7823
|
+
readonly identity: readonly ["event_id"];
|
|
7824
|
+
};
|
|
7825
|
+
readonly placement_resolved: {
|
|
7826
|
+
readonly schema: z.ZodObject<{
|
|
7827
|
+
placement_id: z.ZodString;
|
|
7828
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7829
|
+
payload_id: z.ZodNullable<z.ZodString>;
|
|
7830
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7831
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7832
|
+
}, z.core.$loose>;
|
|
7833
|
+
readonly identity: readonly ["event_id"];
|
|
7834
|
+
};
|
|
7835
|
+
readonly placement_rendered: {
|
|
7836
|
+
readonly schema: z.ZodObject<{
|
|
7837
|
+
placement_id: z.ZodString;
|
|
7838
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7839
|
+
payload_id: z.ZodNullable<z.ZodString>;
|
|
7840
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7841
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7842
|
+
}, z.core.$loose>;
|
|
7843
|
+
readonly identity: readonly ["event_id"];
|
|
7844
|
+
};
|
|
7845
|
+
readonly placement_exposed: {
|
|
7846
|
+
readonly schema: z.ZodObject<{
|
|
7847
|
+
exposure_basis: z.ZodOptional<z.ZodString>;
|
|
7848
|
+
placement_id: z.ZodString;
|
|
7849
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7850
|
+
payload_id: z.ZodNullable<z.ZodString>;
|
|
7851
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7852
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7853
|
+
}, z.core.$loose>;
|
|
7854
|
+
readonly identity: readonly ["event_id"];
|
|
7855
|
+
};
|
|
7856
|
+
readonly placement_outcome: {
|
|
7857
|
+
readonly schema: z.ZodObject<{
|
|
7858
|
+
outcome: z.ZodString;
|
|
7859
|
+
cta_target: z.ZodNullable<z.ZodString>;
|
|
7860
|
+
placement_id: z.ZodString;
|
|
7861
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7862
|
+
payload_id: z.ZodNullable<z.ZodString>;
|
|
7863
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7864
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7865
|
+
}, z.core.$loose>;
|
|
7866
|
+
readonly identity: readonly ["event_id"];
|
|
7867
|
+
};
|
|
7868
|
+
readonly placement_interaction: {
|
|
7869
|
+
readonly schema: z.ZodObject<{
|
|
7870
|
+
interaction_type: z.ZodString;
|
|
7871
|
+
placement_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7872
|
+
payload_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7873
|
+
decision_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7874
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7875
|
+
action_type: z.ZodOptional<z.ZodString>;
|
|
7876
|
+
action_success: z.ZodOptional<z.ZodBoolean>;
|
|
7877
|
+
interaction_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7878
|
+
remind_after_seconds: z.ZodOptional<z.ZodNumber>;
|
|
7879
|
+
}, z.core.$loose>;
|
|
7880
|
+
readonly identity: readonly ["event_id"];
|
|
7881
|
+
};
|
|
7882
|
+
readonly gate_evaluated: {
|
|
7883
|
+
readonly schema: z.ZodObject<{
|
|
7884
|
+
entitlement_handle: z.ZodString;
|
|
7885
|
+
outcome: z.ZodEnum<{
|
|
7886
|
+
allowed: "allowed";
|
|
7887
|
+
limited: "limited";
|
|
7888
|
+
denied: "denied";
|
|
7889
|
+
}>;
|
|
7890
|
+
gated: z.ZodBoolean;
|
|
7891
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
7892
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
7893
|
+
used: z.ZodNullable<z.ZodNumber>;
|
|
7894
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
7895
|
+
}, z.core.$loose>;
|
|
7896
|
+
readonly identity: readonly ["event_id"];
|
|
7897
|
+
};
|
|
7898
|
+
readonly gate_attempted: {
|
|
7899
|
+
readonly schema: z.ZodObject<{
|
|
7900
|
+
entitlement_handle: z.ZodString;
|
|
7901
|
+
}, z.core.$loose>;
|
|
7902
|
+
readonly identity: readonly ["event_id"];
|
|
7903
|
+
};
|
|
7904
|
+
readonly gate_allowed: {
|
|
7905
|
+
readonly schema: z.ZodObject<{
|
|
7906
|
+
entitlement_handle: z.ZodString;
|
|
7907
|
+
}, z.core.$loose>;
|
|
7908
|
+
readonly identity: readonly ["event_id"];
|
|
7909
|
+
};
|
|
7910
|
+
readonly gate_denied: {
|
|
7911
|
+
readonly schema: z.ZodObject<{
|
|
7912
|
+
entitlement_handle: z.ZodString;
|
|
7913
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7914
|
+
}, z.core.$loose>;
|
|
7915
|
+
readonly identity: readonly ["event_id"];
|
|
7916
|
+
};
|
|
7917
|
+
readonly slot_evaluated: {
|
|
7918
|
+
readonly schema: z.ZodObject<{
|
|
7919
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7920
|
+
slot_name: z.ZodNullable<z.ZodString>;
|
|
7921
|
+
template_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7922
|
+
template_id: z.ZodNullable<z.ZodString>;
|
|
7923
|
+
surface_type: z.ZodNullable<z.ZodString>;
|
|
7924
|
+
category: z.ZodNullable<z.ZodString>;
|
|
7925
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7926
|
+
reason_codes: z.ZodArray<z.ZodString>;
|
|
7927
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7928
|
+
}, z.core.$loose>;
|
|
7929
|
+
readonly identity: readonly ["event_id"];
|
|
7930
|
+
};
|
|
7931
|
+
readonly slot_filled: {
|
|
7932
|
+
readonly schema: z.ZodObject<{
|
|
7933
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7934
|
+
slot_name: z.ZodNullable<z.ZodString>;
|
|
7935
|
+
template_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7936
|
+
template_id: z.ZodNullable<z.ZodString>;
|
|
7937
|
+
surface_type: z.ZodNullable<z.ZodString>;
|
|
7938
|
+
category: z.ZodNullable<z.ZodString>;
|
|
7939
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7940
|
+
reason_codes: z.ZodArray<z.ZodString>;
|
|
7941
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7942
|
+
}, z.core.$loose>;
|
|
7943
|
+
readonly identity: readonly ["event_id"];
|
|
7944
|
+
};
|
|
7945
|
+
readonly slot_empty: {
|
|
7946
|
+
readonly schema: z.ZodObject<{
|
|
7947
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7948
|
+
slot_name: z.ZodNullable<z.ZodString>;
|
|
7949
|
+
template_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7950
|
+
template_id: z.ZodNullable<z.ZodString>;
|
|
7951
|
+
surface_type: z.ZodNullable<z.ZodString>;
|
|
7952
|
+
category: z.ZodNullable<z.ZodString>;
|
|
7953
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7954
|
+
reason_codes: z.ZodArray<z.ZodString>;
|
|
7955
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7956
|
+
}, z.core.$loose>;
|
|
7957
|
+
readonly identity: readonly ["event_id"];
|
|
7958
|
+
};
|
|
7959
|
+
readonly slot_suppressed: {
|
|
7960
|
+
readonly schema: z.ZodObject<{
|
|
7961
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7962
|
+
slot_name: z.ZodNullable<z.ZodString>;
|
|
7963
|
+
template_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7964
|
+
template_id: z.ZodNullable<z.ZodString>;
|
|
7965
|
+
surface_type: z.ZodNullable<z.ZodString>;
|
|
7966
|
+
category: z.ZodNullable<z.ZodString>;
|
|
7967
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7968
|
+
reason_codes: z.ZodArray<z.ZodString>;
|
|
7969
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7970
|
+
}, z.core.$loose>;
|
|
7971
|
+
readonly identity: readonly ["event_id"];
|
|
7972
|
+
};
|
|
7973
|
+
readonly slot_error: {
|
|
7974
|
+
readonly schema: z.ZodObject<{
|
|
7975
|
+
message: z.ZodOptional<z.ZodString>;
|
|
7976
|
+
surface_slot_id: z.ZodNullable<z.ZodString>;
|
|
7977
|
+
slot_name: z.ZodNullable<z.ZodString>;
|
|
7978
|
+
template_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7979
|
+
template_id: z.ZodNullable<z.ZodString>;
|
|
7980
|
+
surface_type: z.ZodNullable<z.ZodString>;
|
|
7981
|
+
category: z.ZodNullable<z.ZodString>;
|
|
7982
|
+
decision_source: z.ZodNullable<z.ZodString>;
|
|
7983
|
+
reason_codes: z.ZodArray<z.ZodString>;
|
|
7984
|
+
decision_id: z.ZodNullable<z.ZodString>;
|
|
7985
|
+
}, z.core.$loose>;
|
|
7986
|
+
readonly identity: readonly ["event_id"];
|
|
7987
|
+
};
|
|
7988
|
+
readonly segment_enrolled: {
|
|
7989
|
+
readonly schema: z.ZodObject<{
|
|
7990
|
+
segment_id: z.ZodString;
|
|
7991
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
7992
|
+
}, z.core.$loose>;
|
|
7993
|
+
readonly identity: readonly ["event_id"];
|
|
7994
|
+
};
|
|
7995
|
+
readonly segment_unenrolled: {
|
|
7996
|
+
readonly schema: z.ZodObject<{
|
|
7997
|
+
segment_id: z.ZodString;
|
|
7998
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
7999
|
+
}, z.core.$loose>;
|
|
8000
|
+
readonly identity: readonly ["event_id"];
|
|
8001
|
+
};
|
|
8002
|
+
readonly experiment_assigned: {
|
|
8003
|
+
readonly schema: z.ZodObject<{
|
|
8004
|
+
schema_version: z.ZodNumber;
|
|
8005
|
+
assignment_id: z.ZodString;
|
|
8006
|
+
experiment_id: z.ZodString;
|
|
8007
|
+
experiment_version: z.ZodNumber;
|
|
8008
|
+
variant_key: z.ZodString;
|
|
8009
|
+
assignment_unit: z.ZodEnum<{
|
|
8010
|
+
account: "account";
|
|
8011
|
+
user: "user";
|
|
8012
|
+
billing_unit: "billing_unit";
|
|
8013
|
+
organization: "organization";
|
|
8014
|
+
}>;
|
|
8015
|
+
subject_id: z.ZodString;
|
|
8016
|
+
assigned_at: z.ZodString;
|
|
8017
|
+
provider_handle: z.ZodOptional<z.ZodString>;
|
|
8018
|
+
provider_revision: z.ZodOptional<z.ZodString>;
|
|
8019
|
+
}, z.core.$loose>;
|
|
8020
|
+
readonly identity: readonly ["assignment_id"];
|
|
8021
|
+
};
|
|
8022
|
+
readonly user_context_observed: {
|
|
8023
|
+
readonly schema: z.ZodObject<{
|
|
8024
|
+
context_fields: z.ZodArray<z.ZodString>;
|
|
8025
|
+
}, z.core.$loose>;
|
|
8026
|
+
readonly identity: readonly ["event_id"];
|
|
8027
|
+
};
|
|
8028
|
+
readonly clickstream_page_view: {
|
|
8029
|
+
readonly schema: z.ZodObject<{
|
|
8030
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
8031
|
+
runtime_mode: z.ZodOptional<z.ZodString>;
|
|
8032
|
+
source: z.ZodOptional<z.ZodString>;
|
|
8033
|
+
}, z.core.$loose>;
|
|
8034
|
+
readonly identity: readonly ["event_id"];
|
|
8035
|
+
};
|
|
8036
|
+
readonly account_created: {
|
|
8037
|
+
readonly schema: z.ZodObject<{
|
|
8038
|
+
acquisition_source: z.ZodOptional<z.ZodString>;
|
|
8039
|
+
}, z.core.$loose>;
|
|
8040
|
+
readonly identity: readonly ["event_id"];
|
|
8041
|
+
};
|
|
8042
|
+
readonly user_signed_up: {
|
|
8043
|
+
readonly schema: z.ZodObject<{
|
|
8044
|
+
acquisition_source: z.ZodOptional<z.ZodString>;
|
|
8045
|
+
}, z.core.$loose>;
|
|
8046
|
+
readonly identity: readonly ["event_id"];
|
|
8047
|
+
};
|
|
8048
|
+
readonly onboarding_completed: {
|
|
8049
|
+
readonly schema: z.ZodObject<{}, z.core.$loose>;
|
|
8050
|
+
readonly identity: readonly ["event_id"];
|
|
8051
|
+
};
|
|
8052
|
+
readonly account_activated: {
|
|
8053
|
+
readonly schema: z.ZodObject<{}, z.core.$loose>;
|
|
8054
|
+
readonly identity: readonly ["event_id"];
|
|
8055
|
+
};
|
|
8056
|
+
readonly product_used: {
|
|
8057
|
+
readonly schema: z.ZodObject<{}, z.core.$loose>;
|
|
8058
|
+
readonly identity: readonly ["event_id"];
|
|
8059
|
+
};
|
|
8060
|
+
readonly value_realized: {
|
|
8061
|
+
readonly schema: z.ZodObject<{}, z.core.$loose>;
|
|
8062
|
+
readonly identity: readonly ["event_id"];
|
|
8063
|
+
};
|
|
8064
|
+
readonly usage_recorded: {
|
|
8065
|
+
readonly schema: z.ZodObject<{
|
|
8066
|
+
metered_units: z.ZodNumber;
|
|
8067
|
+
included_allowance: z.ZodNumber;
|
|
8068
|
+
utilization: z.ZodNumber;
|
|
8069
|
+
}, z.core.$loose>;
|
|
8070
|
+
readonly identity: readonly ["event_id"];
|
|
8071
|
+
};
|
|
8072
|
+
readonly plan_viewed: {
|
|
8073
|
+
readonly schema: z.ZodObject<{
|
|
8074
|
+
plan_handle: z.ZodString;
|
|
8075
|
+
entry_tier: z.ZodOptional<z.ZodBoolean>;
|
|
8076
|
+
}, z.core.$loose>;
|
|
8077
|
+
readonly identity: readonly ["event_id"];
|
|
8078
|
+
};
|
|
8079
|
+
readonly promotion_applied: {
|
|
8080
|
+
readonly schema: z.ZodObject<{
|
|
8081
|
+
promotion_handle: z.ZodString;
|
|
8082
|
+
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8083
|
+
}, z.core.$loose>;
|
|
8084
|
+
readonly identity: readonly ["event_id"];
|
|
8085
|
+
};
|
|
8086
|
+
readonly promotion_converted: {
|
|
8087
|
+
readonly schema: z.ZodObject<{
|
|
8088
|
+
promotion_handle: z.ZodString;
|
|
8089
|
+
full_price: z.ZodOptional<z.ZodBoolean>;
|
|
8090
|
+
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8091
|
+
}, z.core.$loose>;
|
|
8092
|
+
readonly identity: readonly ["event_id"];
|
|
8093
|
+
};
|
|
8094
|
+
readonly growth_signal_observed: {
|
|
8095
|
+
readonly schema: z.ZodObject<{
|
|
8096
|
+
metric: z.ZodString;
|
|
8097
|
+
dimension_key: z.ZodString;
|
|
8098
|
+
dimension_value: z.ZodString;
|
|
8099
|
+
window_start: z.ZodString;
|
|
8100
|
+
window_end: z.ZodString;
|
|
8101
|
+
value: z.ZodNumber;
|
|
8102
|
+
numerator: z.ZodOptional<z.ZodNumber>;
|
|
8103
|
+
denominator: z.ZodOptional<z.ZodNumber>;
|
|
8104
|
+
sample_size: z.ZodOptional<z.ZodNumber>;
|
|
8105
|
+
}, z.core.$loose>;
|
|
8106
|
+
readonly identity: readonly ["event_id"];
|
|
8107
|
+
};
|
|
8108
|
+
readonly sdk_init: {
|
|
8109
|
+
readonly schema: z.ZodObject<{
|
|
8110
|
+
config_hash_id: z.ZodOptional<z.ZodString>;
|
|
8111
|
+
sdk_version: z.ZodOptional<z.ZodString>;
|
|
8112
|
+
runtime_mode: z.ZodOptional<z.ZodString>;
|
|
8113
|
+
schema_version: z.ZodOptional<z.ZodString>;
|
|
8114
|
+
bundle_version: z.ZodOptional<z.ZodString>;
|
|
8115
|
+
config_shape: z.ZodOptional<z.ZodString>;
|
|
8116
|
+
}, z.core.$loose>;
|
|
8117
|
+
readonly identity: readonly ["event_id"];
|
|
8118
|
+
};
|
|
8119
|
+
readonly sdk_error: {
|
|
8120
|
+
readonly schema: z.ZodObject<{
|
|
8121
|
+
message: z.ZodString;
|
|
8122
|
+
config_hash_id: z.ZodOptional<z.ZodString>;
|
|
8123
|
+
sdk_version: z.ZodOptional<z.ZodString>;
|
|
8124
|
+
}, z.core.$loose>;
|
|
8125
|
+
readonly identity: readonly ["event_id"];
|
|
8126
|
+
};
|
|
8127
|
+
readonly sdk_validation_warning: {
|
|
8128
|
+
readonly schema: z.ZodObject<{
|
|
8129
|
+
message: z.ZodString;
|
|
8130
|
+
config_hash_id: z.ZodOptional<z.ZodString>;
|
|
8131
|
+
sdk_version: z.ZodOptional<z.ZodString>;
|
|
8132
|
+
}, z.core.$loose>;
|
|
8133
|
+
readonly identity: readonly ["event_id"];
|
|
8134
|
+
};
|
|
8135
|
+
readonly resolution_failure: {
|
|
8136
|
+
readonly schema: z.ZodObject<{
|
|
8137
|
+
reason: z.ZodString;
|
|
8138
|
+
placement_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8139
|
+
slot_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8140
|
+
surface: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8141
|
+
plan_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8142
|
+
entitlement_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8143
|
+
message: z.ZodOptional<z.ZodString>;
|
|
8144
|
+
config_hash_id: z.ZodOptional<z.ZodString>;
|
|
8145
|
+
}, z.core.$loose>;
|
|
8146
|
+
readonly identity: readonly ["event_id"];
|
|
8147
|
+
};
|
|
8148
|
+
readonly subscription_started: {
|
|
8149
|
+
readonly schema: z.ZodObject<{
|
|
8150
|
+
billing_period: z.ZodString;
|
|
8151
|
+
amount_cents: z.ZodNumber;
|
|
8152
|
+
currency: z.ZodString;
|
|
8153
|
+
billing_ref: z.ZodString;
|
|
8154
|
+
plan_handle: z.ZodString;
|
|
8155
|
+
}, z.core.$loose>;
|
|
8156
|
+
readonly identity: readonly ["billing_ref"];
|
|
8157
|
+
};
|
|
8158
|
+
readonly subscription_renewed: {
|
|
8159
|
+
readonly schema: z.ZodObject<{
|
|
8160
|
+
billing_period: z.ZodString;
|
|
8161
|
+
amount_cents: z.ZodNumber;
|
|
8162
|
+
currency: z.ZodString;
|
|
8163
|
+
billing_ref: z.ZodString;
|
|
8164
|
+
plan_handle: z.ZodString;
|
|
8165
|
+
}, z.core.$loose>;
|
|
8166
|
+
readonly identity: readonly ["billing_ref"];
|
|
8167
|
+
};
|
|
8168
|
+
readonly subscription_expanded: {
|
|
8169
|
+
readonly schema: z.ZodObject<{
|
|
8170
|
+
previous_plan_handle: z.ZodOptional<z.ZodString>;
|
|
8171
|
+
delta_cents: z.ZodOptional<z.ZodNumber>;
|
|
8172
|
+
self_serve: z.ZodOptional<z.ZodBoolean>;
|
|
8173
|
+
billing_period: z.ZodString;
|
|
8174
|
+
amount_cents: z.ZodNumber;
|
|
8175
|
+
currency: z.ZodString;
|
|
8176
|
+
billing_ref: z.ZodString;
|
|
8177
|
+
plan_handle: z.ZodString;
|
|
8178
|
+
}, z.core.$loose>;
|
|
8179
|
+
readonly identity: readonly ["billing_ref"];
|
|
8180
|
+
};
|
|
8181
|
+
readonly subscription_canceled: {
|
|
8182
|
+
readonly schema: z.ZodObject<{
|
|
8183
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
8184
|
+
billing_ref: z.ZodString;
|
|
8185
|
+
plan_handle: z.ZodString;
|
|
8186
|
+
}, z.core.$loose>;
|
|
8187
|
+
readonly identity: readonly ["billing_ref"];
|
|
8188
|
+
};
|
|
8189
|
+
readonly trial_started: {
|
|
8190
|
+
readonly schema: z.ZodObject<{
|
|
8191
|
+
trial_rule_handle: z.ZodString;
|
|
8192
|
+
ends_at: z.ZodString;
|
|
8193
|
+
billing_ref: z.ZodString;
|
|
8194
|
+
plan_handle: z.ZodString;
|
|
8195
|
+
}, z.core.$loose>;
|
|
8196
|
+
readonly identity: readonly ["billing_ref"];
|
|
8197
|
+
};
|
|
8198
|
+
readonly trial_converted: {
|
|
8199
|
+
readonly schema: z.ZodObject<{
|
|
8200
|
+
trial_rule_handle: z.ZodString;
|
|
8201
|
+
billing_period: z.ZodString;
|
|
8202
|
+
amount_cents: z.ZodNumber;
|
|
8203
|
+
currency: z.ZodString;
|
|
8204
|
+
billing_ref: z.ZodString;
|
|
8205
|
+
plan_handle: z.ZodString;
|
|
8206
|
+
}, z.core.$loose>;
|
|
8207
|
+
readonly identity: readonly ["billing_ref"];
|
|
8208
|
+
};
|
|
8209
|
+
readonly trial_expired: {
|
|
8210
|
+
readonly schema: z.ZodObject<{
|
|
8211
|
+
trial_rule_handle: z.ZodString;
|
|
8212
|
+
billing_ref: z.ZodString;
|
|
8213
|
+
plan_handle: z.ZodString;
|
|
8214
|
+
}, z.core.$loose>;
|
|
8215
|
+
readonly identity: readonly ["billing_ref"];
|
|
8216
|
+
};
|
|
8217
|
+
readonly payment_succeeded: {
|
|
8218
|
+
readonly schema: z.ZodObject<{
|
|
8219
|
+
billing_ref: z.ZodString;
|
|
8220
|
+
amount_cents: z.ZodNumber;
|
|
8221
|
+
currency: z.ZodString;
|
|
8222
|
+
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8223
|
+
}, z.core.$loose>;
|
|
8224
|
+
readonly identity: readonly ["billing_ref"];
|
|
8225
|
+
};
|
|
8226
|
+
readonly payment_failed: {
|
|
8227
|
+
readonly schema: z.ZodObject<{
|
|
8228
|
+
billing_ref: z.ZodString;
|
|
8229
|
+
reason: z.ZodString;
|
|
8230
|
+
amount_cents: z.ZodOptional<z.ZodNumber>;
|
|
8231
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
8232
|
+
plan_handle: z.ZodOptional<z.ZodString>;
|
|
8233
|
+
}, z.core.$loose>;
|
|
8234
|
+
readonly identity: readonly ["billing_ref"];
|
|
8235
|
+
};
|
|
8236
|
+
};
|
|
8237
|
+
/** The contracts map with per-event schema types preserved (plan 228 TASK-4). */
|
|
8238
|
+
type EventPayloadContractMap = typeof EVENT_PAYLOAD_CONTRACTS;
|
|
8239
|
+
/**
|
|
8240
|
+
* The input (pre-parse) payload shape for one platform event, inferred from
|
|
8241
|
+
* its contract schema. The SDK's typed emit surface takes exactly this per
|
|
8242
|
+
* event name, so the emit API cannot drift from the contract it validates
|
|
8243
|
+
* against.
|
|
8244
|
+
*/
|
|
8245
|
+
type EventPayloadInput<K extends PlatformEventName> = z.input<EventPayloadContractMap[K]['schema']>;
|
|
8246
|
+
/**
|
|
8247
|
+
* Every contracted event name, sorted in UTF-16 code-unit order (the default
|
|
8248
|
+
* string sort — deliberately NOT localeCompare, per the single-canonicalizer
|
|
8249
|
+
* rule; names are lowercase snake_case ASCII, where the two orders coincide,
|
|
8250
|
+
* but the manifest must never depend on a locale).
|
|
8251
|
+
*/
|
|
8252
|
+
declare const EVENT_PAYLOAD_EVENT_NAMES: readonly string[];
|
|
8253
|
+
/**
|
|
8254
|
+
* Validate a payload against its event's contract. Unknown events are a
|
|
8255
|
+
* structured failure, not an exception — `/api/track` routes those (and
|
|
8256
|
+
* schema violations) to the REQ-10 quarantine lane rather than dropping.
|
|
8257
|
+
*/
|
|
8258
|
+
declare function validateEventPayload(eventName: string, payload: unknown): {
|
|
8259
|
+
ok: true;
|
|
8260
|
+
payload: Record<string, unknown>;
|
|
8261
|
+
} | {
|
|
8262
|
+
ok: false;
|
|
8263
|
+
reason: 'unknown_event' | 'schema_violation';
|
|
8264
|
+
detail?: string;
|
|
8265
|
+
};
|
|
8266
|
+
|
|
7318
8267
|
/**
|
|
7319
8268
|
* Trial schemas — free trial rules, reverse trial rules, and trial instances.
|
|
7320
8269
|
*/
|
|
@@ -8923,8 +9872,8 @@ declare const ExperimentSchema: z.ZodObject<{
|
|
|
8923
9872
|
provider_handle: z.ZodString;
|
|
8924
9873
|
capability: z.ZodLiteral<"experiment_assignment">;
|
|
8925
9874
|
allocation_mode: z.ZodEnum<{
|
|
8926
|
-
managed: "managed";
|
|
8927
9875
|
observed: "observed";
|
|
9876
|
+
managed: "managed";
|
|
8928
9877
|
}>;
|
|
8929
9878
|
}, z.core.$strip>>;
|
|
8930
9879
|
evidence_provider_binding: z.ZodOptional<z.ZodObject<{
|
|
@@ -14139,9 +15088,9 @@ declare const ProviderConnectionSchema: z.ZodObject<{
|
|
|
14139
15088
|
credential_reference: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
14140
15089
|
environment_id: z.ZodDefault<z.ZodString>;
|
|
14141
15090
|
health_state: z.ZodDefault<z.ZodEnum<{
|
|
15091
|
+
unavailable: "unavailable";
|
|
14142
15092
|
available: "available";
|
|
14143
15093
|
stale: "stale";
|
|
14144
|
-
unavailable: "unavailable";
|
|
14145
15094
|
unsupported: "unsupported";
|
|
14146
15095
|
partial: "partial";
|
|
14147
15096
|
}>>;
|
|
@@ -14696,9 +15645,9 @@ declare const ProviderCapabilitySchema: z.ZodEnum<{
|
|
|
14696
15645
|
* configuration error rather than an outage.
|
|
14697
15646
|
*/
|
|
14698
15647
|
declare const ProviderAvailabilitySchema: z.ZodEnum<{
|
|
15648
|
+
unavailable: "unavailable";
|
|
14699
15649
|
available: "available";
|
|
14700
15650
|
stale: "stale";
|
|
14701
|
-
unavailable: "unavailable";
|
|
14702
15651
|
unsupported: "unsupported";
|
|
14703
15652
|
partial: "partial";
|
|
14704
15653
|
}>;
|
|
@@ -15087,7 +16036,9 @@ type TenantStatus = z.infer<typeof TenantStatusSchema>;
|
|
|
15087
16036
|
type Theme = z.infer<typeof ThemeSchema>;
|
|
15088
16037
|
type TrackEvent = z.infer<typeof TrackEventSchema>;
|
|
15089
16038
|
type TrackIngestBatch = z.infer<typeof TrackIngestBatchSchema>;
|
|
16039
|
+
type TreatmentInteractionBatch = z.infer<typeof TreatmentInteractionBatchSchema>;
|
|
15090
16040
|
type TreatmentInteractionInput = z.infer<typeof TreatmentInteractionInputSchema>;
|
|
16041
|
+
type TreatmentInteractionRequest = z.infer<typeof TreatmentInteractionRequestSchema>;
|
|
15091
16042
|
type TreatmentInteractionType = z.infer<typeof TreatmentInteractionTypeSchema>;
|
|
15092
16043
|
type TrendFeatures = z.infer<typeof TrendFeaturesSchema>;
|
|
15093
16044
|
type TrialEligibilityScope = z.infer<typeof TrialEligibilityScopeSchema>;
|
|
@@ -17153,10 +18104,10 @@ declare function resolveBranding(input?: BrandingResolutionInput): ResolvedBrand
|
|
|
17153
18104
|
/**
|
|
17154
18105
|
* Control-plane semantic events (plan 112).
|
|
17155
18106
|
*
|
|
17156
|
-
* A typed layer over the SDK's
|
|
17157
|
-
* control-plane activity — web/CLI auth,
|
|
17158
|
-
* product-entity actions. This is the "dogfood" surface:
|
|
17159
|
-
* product usage through the same SDK a customer uses.
|
|
18107
|
+
* A typed layer over the SDK's raw event emit path for RevTurbine's OWN
|
|
18108
|
+
* control-plane activity — web/CLI auth, playbook-version lifecycle, playbook
|
|
18109
|
+
* transfer, and product-entity actions. This is the "dogfood" surface:
|
|
18110
|
+
* RevTurbine emits its product usage through the same SDK a customer uses.
|
|
17160
18111
|
*
|
|
17161
18112
|
* The taxonomy itself is the canonical `ControlPlaneEventType` /
|
|
17162
18113
|
* `ControlPlaneEventSource` enums from `@revt-eng/schema`; this module adds the
|
|
@@ -17174,7 +18125,8 @@ declare function resolveBranding(input?: BrandingResolutionInput): ResolvedBrand
|
|
|
17174
18125
|
/**
|
|
17175
18126
|
* Canonical source classification for every control-plane event type — mirrors
|
|
17176
18127
|
* the scaffold taxonomy. `system` covers identity/auth + CLI command telemetry;
|
|
17177
|
-
* `workflow` covers
|
|
18128
|
+
* `workflow` covers playbook-version lifecycle, playbook transfer, and
|
|
18129
|
+
* product-entity actions.
|
|
17178
18130
|
*
|
|
17179
18131
|
* Typed as a total `Record`, so adding a new `ControlPlaneEventType` in scaffold
|
|
17180
18132
|
* without classifying it here is a compile error.
|
|
@@ -18433,7 +19385,14 @@ interface RevTurbineEndpointOverrides {
|
|
|
18433
19385
|
/** Keyless anonymous SDK telemetry endpoint (`POST /api/sdk/meta`). */
|
|
18434
19386
|
ingestSdkMeta: string;
|
|
18435
19387
|
touchpointTransition: string;
|
|
18436
|
-
|
|
19388
|
+
/**
|
|
19389
|
+
* @deprecated Ignored since plan 232. This pointed at a fallback the SDK
|
|
19390
|
+
* retried when the interactions POST failed — against a route the app does
|
|
19391
|
+
* not serve, with the internal queue shape rather than the wire shape, so it
|
|
19392
|
+
* could only ever 404. Setting it has no effect; the key remains so an
|
|
19393
|
+
* existing integration that passes it still compiles.
|
|
19394
|
+
*/
|
|
19395
|
+
legacyInteractions?: string;
|
|
18437
19396
|
placementTypes: string;
|
|
18438
19397
|
surfaceSlots: string;
|
|
18439
19398
|
}
|
|
@@ -18835,6 +19794,31 @@ type RevTurbineTriggerPayload = TrialTriggerPayload | UsageTriggerPayload | Feat
|
|
|
18835
19794
|
*/
|
|
18836
19795
|
declare function createSemanticEvent(eventType: string, payload: SdkEventProperties, options?: RevTurbineEventOptions): RevTurbineSemanticEvent;
|
|
18837
19796
|
|
|
19797
|
+
/**
|
|
19798
|
+
* Every event name on the taxonomy's `control_plane` surface — emitted via
|
|
19799
|
+
* {@link RevTurbineCustomerSdk.trackControlPlaneEvent}, never the platform
|
|
19800
|
+
* surface. The TYPE is the CP ingest enum; the runtime set below derives
|
|
19801
|
+
* from the taxonomy's surface field, so a scaffold surface reclassification
|
|
19802
|
+
* (plan 228's dogfood ruling moved `area_viewed`/`feature_gated` OUT of
|
|
19803
|
+
* this surface) flows through on a pin bump with no SDK edit.
|
|
19804
|
+
*/
|
|
19805
|
+
type ControlPlaneEventName = (typeof CONTROL_PLANE_EVENT_NAMES)[number];
|
|
19806
|
+
/**
|
|
19807
|
+
* Every platform event the typed emit surface accepts: the full taxonomy
|
|
19808
|
+
* MINUS the control-plane surface (structural exclusion — the CP has its own
|
|
19809
|
+
* typed path with source classification, and a customer emitting
|
|
19810
|
+
* `playbook_version_deployed` would be forging RevTurbine's own product
|
|
19811
|
+
* telemetry). Includes the R-2 billing vocabulary: billing facts consumed
|
|
19812
|
+
* from Stripe must be equally emittable first-party (plan 228 R-1).
|
|
19813
|
+
*/
|
|
19814
|
+
type EmittablePlatformEventName = Exclude<PlatformEventName, ControlPlaneEventName>;
|
|
19815
|
+
/**
|
|
19816
|
+
* Runtime mirror of {@link EmittablePlatformEventName}, derived from the
|
|
19817
|
+
* payload-contract map so the emit surface and the taxonomy cannot drift —
|
|
19818
|
+
* the parity test asserts this set plus the control-plane surface IS the
|
|
19819
|
+
* taxonomy.
|
|
19820
|
+
*/
|
|
19821
|
+
declare const EMITTABLE_PLATFORM_EVENT_NAMES: readonly string[];
|
|
18838
19822
|
/**
|
|
18839
19823
|
* The core RevTurbine customer-facing SDK.
|
|
18840
19824
|
*
|
|
@@ -18843,7 +19827,9 @@ declare function createSemanticEvent(eventType: string, payload: SdkEventPropert
|
|
|
18843
19827
|
* - **Placements** — `registerPlacement()`, `getPlacementDecision()`, `getPlacement()`
|
|
18844
19828
|
* - **Entitlements** — `checkEntitlement()`, `updateUsage()`
|
|
18845
19829
|
* - **Trials** — `getTrialStatus()`
|
|
18846
|
-
* - **Events** — `
|
|
19830
|
+
* - **Events** — `track()` / `capture()` (generic lane; platform-name
|
|
19831
|
+
* collisions are namespaced), `emitPlatformEvent()` (typed platform lane,
|
|
19832
|
+
* contract-validated payloads)
|
|
18847
19833
|
* - **Interactions** — `trackTreatmentInteraction()`, `dismiss()`, `convert()`
|
|
18848
19834
|
* - **Context** — `setUserContext()`, `setPageContext()`, `refreshPageContext()`
|
|
18849
19835
|
*
|
|
@@ -18923,6 +19909,14 @@ declare class RevTurbineCustomerSdk {
|
|
|
18923
19909
|
private emittedAssignmentFactRevision?;
|
|
18924
19910
|
private providerResolutionController;
|
|
18925
19911
|
private lastEffectiveContext?;
|
|
19912
|
+
/**
|
|
19913
|
+
* The effective segment memberships from the most recent provider
|
|
19914
|
+
* resolution — resolved provider segments ∪ locally evaluated segments.
|
|
19915
|
+
* Stamped onto every event envelope as `segment_ids`, exactly as
|
|
19916
|
+
* `experiment_assignments` is stamped (plan 228 TASK-4 / REQ-11a), so
|
|
19917
|
+
* segment cuts read as-of-event truth instead of requiring a config join.
|
|
19918
|
+
*/
|
|
19919
|
+
private lastEffectiveSegmentIds;
|
|
18926
19920
|
private pageContext;
|
|
18927
19921
|
/**
|
|
18928
19922
|
* Secure per-user client token (`rt_client_`, plan 157). Minted by the
|
|
@@ -19374,6 +20368,34 @@ declare class RevTurbineCustomerSdk {
|
|
|
19374
20368
|
*/
|
|
19375
20369
|
getTelemetryCounters(): TelemetryCounters;
|
|
19376
20370
|
capture(eventName: string, properties: SdkEventProperties, options?: RevTurbineEventOptions): Promise<void>;
|
|
20371
|
+
/**
|
|
20372
|
+
* Emit a typed platform event (plan 228 TASK-4).
|
|
20373
|
+
*
|
|
20374
|
+
* The sanctioned first-party path for every platform event OUTSIDE the
|
|
20375
|
+
* control plane — SDK lifecycle, gates, placements, milestones, growth
|
|
20376
|
+
* signals, and the R-2 billing vocabulary (a billing fact consumed from
|
|
20377
|
+
* Stripe is equally emittable here; the ingest path dedupes on the
|
|
20378
|
+
* contract's identity keys, e.g. `billing_ref`). The payload parameter type
|
|
20379
|
+
* is inferred from the event's payload contract, so the API cannot drift
|
|
20380
|
+
* from the schema the payload is validated against.
|
|
20381
|
+
*
|
|
20382
|
+
* The name is sent RAW — no `clickstream_*` namespacing — which is exactly
|
|
20383
|
+
* what distinguishes this from {@link track}: the generic lane namespaces
|
|
20384
|
+
* platform collisions, the typed lane IS the platform.
|
|
20385
|
+
*
|
|
20386
|
+
* In development/test builds the payload is validated against its contract
|
|
20387
|
+
* at emit time; a violation emits an `sdk_validation_warning` alongside
|
|
20388
|
+
* (never a throw — telemetry must not break the host app). Production
|
|
20389
|
+
* builds skip validation; the ingest boundary re-validates authoritatively.
|
|
20390
|
+
*/
|
|
20391
|
+
emitPlatformEvent<K extends EmittablePlatformEventName>(eventName: K, payload: EventPayloadInput<K>, options?: RevTurbineEventOptions): Promise<void>;
|
|
20392
|
+
/**
|
|
20393
|
+
* Emit an `sdk_validation_warning` conforming to its own payload contract
|
|
20394
|
+
* (`message` is the contract's required field; `reason` rides along for
|
|
20395
|
+
* pre-228 consumers). Fire-and-forget — never throws into the host app.
|
|
20396
|
+
*/
|
|
20397
|
+
private emitSdkWarning;
|
|
20398
|
+
private captureRaw;
|
|
19377
20399
|
/**
|
|
19378
20400
|
* Emit a typed control-plane semantic event (plan 112).
|
|
19379
20401
|
*
|
|
@@ -19397,7 +20419,7 @@ declare class RevTurbineCustomerSdk {
|
|
|
19397
20419
|
* @example
|
|
19398
20420
|
* ```ts
|
|
19399
20421
|
* sdk.identify('operator_42', { account_id: 'tn_acme' });
|
|
19400
|
-
* await sdk.trackControlPlaneEvent('
|
|
20422
|
+
* await sdk.trackControlPlaneEvent('playbook_version_deployed', { change_set_id: 'cs_9' });
|
|
19401
20423
|
* ```
|
|
19402
20424
|
*/
|
|
19403
20425
|
trackControlPlaneEvent(eventType: ControlPlaneEventType, payload?: SdkEventProperties, options?: RevTurbineEventOptions): Promise<void>;
|
|
@@ -19423,6 +20445,36 @@ declare class RevTurbineCustomerSdk {
|
|
|
19423
20445
|
* instance (e.g. SPA unmount) to avoid a dangling interval/listeners.
|
|
19424
20446
|
*/
|
|
19425
20447
|
dispose(): void;
|
|
20448
|
+
/**
|
|
20449
|
+
* Emit a semantic event through the GENERIC string lane.
|
|
20450
|
+
*
|
|
20451
|
+
* Since plan 228 TASK-4 this is a customer-lane API, not a platform one: it
|
|
20452
|
+
* rides {@link capture}, so a name colliding with platform vocabulary is
|
|
20453
|
+
* namespaced `clickstream_*` — platform events cannot be forged from here.
|
|
20454
|
+
* The SDK's own platform emissions use {@link emitPlatformEvent}, whose
|
|
20455
|
+
* payloads are typed and contract-validated.
|
|
20456
|
+
*
|
|
20457
|
+
* The fields are passed to {@link capture} DIRECTLY, exactly as a customer's
|
|
20458
|
+
* own `capture(name, {...})` call would. Anything else double-wraps them.
|
|
20459
|
+
*
|
|
20460
|
+
* This used to send `{semantic: true, payload: fields}`. The wire mapping
|
|
20461
|
+
* already stores an envelope's properties under the key `payload`, so that
|
|
20462
|
+
* inner wrapper landed the fields at `properties.payload.payload.<field>` in
|
|
20463
|
+
* `events_clickstream` — one level deeper than every `capture()` event and
|
|
20464
|
+
* than the canonical carrier this SDK documents. Readers that followed the
|
|
20465
|
+
* documented shape (`user_context_fields`, any analytics pipe) found nothing
|
|
20466
|
+
* on a semantic event, which is why gate telemetry was invisible to the
|
|
20467
|
+
* entitlement metrics despite being emitted correctly.
|
|
20468
|
+
*
|
|
20469
|
+
* The `semantic: true` marker went with it: it was written here and read
|
|
20470
|
+
* nowhere in the SDK, the web app, or any pipe. It marked nothing and cost a
|
|
20471
|
+
* whole nesting level.
|
|
20472
|
+
*
|
|
20473
|
+
* `liftClickstreamFields` / `pickClickstreamField` are unaffected — they
|
|
20474
|
+
* resolve top-level first and fall back to the nested bag, so they read the
|
|
20475
|
+
* fields either way. Only the STORED JSON changes shape, and it changes to
|
|
20476
|
+
* the shape everything else already expects.
|
|
20477
|
+
*/
|
|
19426
20478
|
emitSemantic(eventType: string, payload: SdkEventProperties, options?: RevTurbineEventOptions): Promise<void>;
|
|
19427
20479
|
/**
|
|
19428
20480
|
* Optimized routine to evaluate segment membership and usage thresholds.
|
|
@@ -19535,6 +20587,20 @@ declare class RevTurbineCustomerSdk {
|
|
|
19535
20587
|
bootstrapPlacementDecisions(inputs: RevTurbinePlacementDecisionInput[]): Promise<void>;
|
|
19536
20588
|
private updateInteractionState;
|
|
19537
20589
|
private flushInteractionQueue;
|
|
20590
|
+
/**
|
|
20591
|
+
* Re-queue a failed interaction flush and make the failure VISIBLE.
|
|
20592
|
+
*
|
|
20593
|
+
* This used to retry against a legacy path that does not exist in the app,
|
|
20594
|
+
* with the internal queue shape rather than the wire shape — so a failure
|
|
20595
|
+
* produced a silent 404, the batch went back on the queue, and it was
|
|
20596
|
+
* discarded at page unload with nothing recorded anywhere. That is how a
|
|
20597
|
+
* whole class of dropped presentations stayed invisible (plan 232).
|
|
20598
|
+
*
|
|
20599
|
+
* Re-queuing is still right — a transient failure should retry on the next
|
|
20600
|
+
* flush — but it is now paired with a counter and a diagnostic, so a
|
|
20601
|
+
* persistent failure is observable instead of merely quiet.
|
|
20602
|
+
*/
|
|
20603
|
+
private failInteractionFlush;
|
|
19538
20604
|
trackTreatmentInteraction(input: RevTurbineTreatmentInteractionInput): Promise<void>;
|
|
19539
20605
|
getPlacementContent(placementId: string, request?: JsonObject): Promise<RevTurbinePlacementContent>;
|
|
19540
20606
|
/**
|
|
@@ -19826,10 +20892,22 @@ declare class RevTurbineCustomerSdk {
|
|
|
19826
20892
|
* name to {@link RevTurbineTriggerEvent} and attaches standard context
|
|
19827
20893
|
* (user_id, plan, timestamp) automatically.
|
|
19828
20894
|
*
|
|
20895
|
+
* **Three trigger names land namespaced on the wire.** This rides the
|
|
20896
|
+
* generic emit lane, which prefixes `clickstream_` to any name the platform
|
|
20897
|
+
* taxonomy already declares — the rule that stops a client forging a
|
|
20898
|
+
* first-party fact by naming an event after one. `trial_expired`,
|
|
20899
|
+
* `payment_failed` and `feature_gated` collide, so they are stored as
|
|
20900
|
+
* `clickstream_trial_expired`, `clickstream_payment_failed` and
|
|
20901
|
+
* `clickstream_feature_gated`. Query those names, not the raw ones. The
|
|
20902
|
+
* remaining triggers are unaffected, and the platform's own versions of the
|
|
20903
|
+
* three are emitted first-party through the typed surface. Pinned by
|
|
20904
|
+
* `trigger-namespacing-parity.test.ts` (plan 231 REQ-4).
|
|
20905
|
+
*
|
|
19829
20906
|
* @example
|
|
19830
20907
|
* ```ts
|
|
19831
20908
|
* await sdk.emitTrigger('usage_limit_approaching', { usage_percent: 85, threshold: 80 });
|
|
19832
20909
|
* await sdk.emitTrigger('trial_expiring', { days_remaining: 2 });
|
|
20910
|
+
* // stored as `clickstream_feature_gated` — see the collision note above
|
|
19833
20911
|
* await sdk.emitTrigger('feature_gated', { feature: 'advanced_automation' });
|
|
19834
20912
|
* ```
|
|
19835
20913
|
*/
|
|
@@ -21444,7 +22522,7 @@ interface paths {
|
|
|
21444
22522
|
};
|
|
21445
22523
|
get?: never;
|
|
21446
22524
|
put?: never;
|
|
21447
|
-
/** Record
|
|
22525
|
+
/** Record one placement treatment interaction, or a batch of them */
|
|
21448
22526
|
post: operations["recordTreatmentInteraction"];
|
|
21449
22527
|
delete?: never;
|
|
21450
22528
|
options?: never;
|
|
@@ -21951,6 +23029,7 @@ interface components {
|
|
|
21951
23029
|
content_ui_paths: components["schemas"]["Anon_274ba4ca49d5_6"];
|
|
21952
23030
|
surface_templates: components["schemas"]["Anon_274ba4ca49d5_7"];
|
|
21953
23031
|
};
|
|
23032
|
+
TreatmentInteractionRequest: components["schemas"]["TreatmentInteractionInput"] | components["schemas"]["TreatmentInteractionBatch"];
|
|
21954
23033
|
TreatmentInteractionInput: {
|
|
21955
23034
|
user_id: components["schemas"]["Anon_761f976a1da1_2"];
|
|
21956
23035
|
placement_id: components["schemas"]["Anon_57796118d046_18"];
|
|
@@ -21969,6 +23048,7 @@ interface components {
|
|
|
21969
23048
|
};
|
|
21970
23049
|
/** @enum {string} */
|
|
21971
23050
|
TreatmentInteractionType: "impression" | "dismiss" | "remind_me_later" | "cta_clicked" | "cta_completed" | "suppress";
|
|
23051
|
+
TreatmentInteractionBatch: components["schemas"]["TreatmentInteractionInput"][];
|
|
21972
23052
|
WebhookEventLog: {
|
|
21973
23053
|
id: components["schemas"]["Anon_fb248bf5a9f7"];
|
|
21974
23054
|
created_at: components["schemas"]["Anon_be3e2585472d"];
|
|
@@ -24411,8 +25491,16 @@ interface components {
|
|
|
24411
25491
|
query_families: components["schemas"]["Anon_54e2154d1e2d"];
|
|
24412
25492
|
source_scope: components["schemas"]["Anon_a3ffad10d15c_5"];
|
|
24413
25493
|
coverage_metric?: components["schemas"]["Anon_473e554f0735_16"];
|
|
25494
|
+
dimension_groundings?: components["schemas"]["Anon_7cdcf9f62dcd"];
|
|
24414
25495
|
deprecation?: components["schemas"]["Anon_8f09b448c37f"];
|
|
24415
25496
|
};
|
|
25497
|
+
AnalyticsDimensionGrounding: {
|
|
25498
|
+
kind: components["schemas"]["Anon_02276af6fec4"];
|
|
25499
|
+
source: components["schemas"]["Anon_872e58432369_4"];
|
|
25500
|
+
note?: components["schemas"]["Anon_ac655a3e6b9f"];
|
|
25501
|
+
};
|
|
25502
|
+
/** @enum {string} */
|
|
25503
|
+
AnalyticsDimensionGroundingKind: "stamped" | "membership_join" | "config_join" | "derived";
|
|
24416
25504
|
AnalyticsCatalogDeprecation: {
|
|
24417
25505
|
deprecated: components["schemas"]["Anon_a2b04841bdf1_1"];
|
|
24418
25506
|
replaced_by?: components["schemas"]["Anon_473e554f0735_17"];
|
|
@@ -24457,6 +25545,7 @@ interface components {
|
|
|
24457
25545
|
preferred_analysis_unit?: components["schemas"]["Anon_612059bf001c_6"];
|
|
24458
25546
|
numerator_metric?: components["schemas"]["Anon_473e554f0735_20"];
|
|
24459
25547
|
denominator_metric?: components["schemas"]["Anon_473e554f0735_21"];
|
|
25548
|
+
derivation?: components["schemas"]["Anon_22c006ff8d66"];
|
|
24460
25549
|
deprecation?: components["schemas"]["Anon_8f09b448c37f_2"];
|
|
24461
25550
|
};
|
|
24462
25551
|
/** @enum {string} */
|
|
@@ -24467,6 +25556,18 @@ interface components {
|
|
|
24467
25556
|
AnalyticsMetricStatisticalType: "binary" | "count" | "continuous" | "ratio" | "revenue";
|
|
24468
25557
|
/** @enum {string} */
|
|
24469
25558
|
AnalyticsMetricAggregationSemantics: "additive" | "semi_additive" | "non_additive";
|
|
25559
|
+
AnalyticsMetricDerivation: {
|
|
25560
|
+
kind: components["schemas"]["Anon_a1d7a3ac66b8"];
|
|
25561
|
+
input_origin: components["schemas"]["Anon_8a96081932e9"];
|
|
25562
|
+
ingested_events: components["schemas"]["Anon_304a69e72d83"];
|
|
25563
|
+
ingested_datasources?: components["schemas"]["Anon_6411eaf2b1b5"];
|
|
25564
|
+
carried_by?: components["schemas"]["Anon_04b033dd40a9"];
|
|
25565
|
+
note?: components["schemas"]["Anon_1e68bee50f0f"];
|
|
25566
|
+
};
|
|
25567
|
+
/** @enum {string} */
|
|
25568
|
+
AnalyticsMetricDerivationKind: "derived" | "observed" | "unavailable";
|
|
25569
|
+
/** @enum {string} */
|
|
25570
|
+
AnalyticsIngestedInputOrigin: "platform" | "customer_authored" | "mixed" | "none";
|
|
24470
25571
|
AnalyticsCatalogAnnotationKind: {
|
|
24471
25572
|
kind: components["schemas"]["Anon_7ed6fcd5ece3"];
|
|
24472
25573
|
label: components["schemas"]["Anon_cd76cef95ac8_4"];
|
|
@@ -24480,7 +25581,7 @@ interface components {
|
|
|
24480
25581
|
AnalyticsAnnotationMarker: "point" | "region";
|
|
24481
25582
|
AnalyticsCatalogSearchResult: {
|
|
24482
25583
|
catalog_version: components["schemas"]["Anon_0c649f0987df_4"];
|
|
24483
|
-
query: components["schemas"]["
|
|
25584
|
+
query: components["schemas"]["Anon_872e58432369_5"];
|
|
24484
25585
|
entries: components["schemas"]["Anon_57df4039d087"];
|
|
24485
25586
|
};
|
|
24486
25587
|
AnalyticsAgentCatalogEntry: {
|
|
@@ -24655,7 +25756,7 @@ interface components {
|
|
|
24655
25756
|
created_at: components["schemas"]["Anon_be3e2585472d_2"];
|
|
24656
25757
|
updated_at: components["schemas"]["Anon_be3e2585472d_3"];
|
|
24657
25758
|
tenant_id: components["schemas"]["Anon_fb248bf5a9f7_10"];
|
|
24658
|
-
workspace_name: components["schemas"]["
|
|
25759
|
+
workspace_name: components["schemas"]["Anon_872e58432369_6"];
|
|
24659
25760
|
support_email: components["schemas"]["Anon_7dbd1de5e9ee"];
|
|
24660
25761
|
timezone: components["schemas"]["Anon_c44ee03a9c5e"];
|
|
24661
25762
|
default_currency: components["schemas"]["Anon_64586219ef83_1"];
|
|
@@ -24683,7 +25784,7 @@ interface components {
|
|
|
24683
25784
|
updated_at: components["schemas"]["Anon_be3e2585472d_3"];
|
|
24684
25785
|
tenant_id: components["schemas"]["Anon_fb248bf5a9f7_10"];
|
|
24685
25786
|
step_key: components["schemas"]["Anon_3b8fc1cd9e8b_26"];
|
|
24686
|
-
label: components["schemas"]["
|
|
25787
|
+
label: components["schemas"]["Anon_872e58432369_7"];
|
|
24687
25788
|
done: components["schemas"]["Anon_062d958a93c4_25"];
|
|
24688
25789
|
completed_at: components["schemas"]["Anon_24a0ac3f017b_4"];
|
|
24689
25790
|
};
|
|
@@ -24714,7 +25815,7 @@ interface components {
|
|
|
24714
25815
|
sequence: components["schemas"]["Anon_ffffc3c874cb_1"];
|
|
24715
25816
|
base_sequence: components["schemas"]["Anon_71a2fb329804_1"];
|
|
24716
25817
|
handle: components["schemas"]["Anon_2457cccd64aa_12"];
|
|
24717
|
-
identifier: components["schemas"]["
|
|
25818
|
+
identifier: components["schemas"]["Anon_872e58432369_8"];
|
|
24718
25819
|
identifier_type: components["schemas"]["Anon_b07a1e0dbc7b"];
|
|
24719
25820
|
note: components["schemas"]["Anon_519dcb817ac7"];
|
|
24720
25821
|
added_by: components["schemas"]["Anon_127eb78cd9c0_12"];
|
|
@@ -26329,6 +27430,14 @@ interface components {
|
|
|
26329
27430
|
Anon_54e2154d1e2d: components["schemas"]["AnalyticsQueryFamily"][];
|
|
26330
27431
|
Anon_a3ffad10d15c_5: components["schemas"]["AnalyticsSourceScope"];
|
|
26331
27432
|
Anon_473e554f0735_16: components["schemas"]["Anon_c8d24748191b_1"];
|
|
27433
|
+
Anon_7cdcf9f62dcd: components["schemas"]["Anon_ebc742463bcd"];
|
|
27434
|
+
Anon_ebc742463bcd: {
|
|
27435
|
+
[key: string]: components["schemas"]["AnalyticsDimensionGrounding"];
|
|
27436
|
+
};
|
|
27437
|
+
Anon_02276af6fec4: components["schemas"]["AnalyticsDimensionGroundingKind"];
|
|
27438
|
+
Anon_872e58432369_4: string;
|
|
27439
|
+
Anon_ac655a3e6b9f: components["schemas"]["Anon_800d95542a20"];
|
|
27440
|
+
Anon_800d95542a20: string;
|
|
26332
27441
|
Anon_8f09b448c37f: components["schemas"]["AnalyticsCatalogDeprecation"];
|
|
26333
27442
|
Anon_a2b04841bdf1_1: boolean;
|
|
26334
27443
|
Anon_473e554f0735_17: components["schemas"]["Anon_c8d24748191b_1"];
|
|
@@ -26373,6 +27482,19 @@ interface components {
|
|
|
26373
27482
|
Anon_612059bf001c_6: components["schemas"]["AnalyticsAnalyticalUnit"];
|
|
26374
27483
|
Anon_473e554f0735_20: components["schemas"]["Anon_c8d24748191b_1"];
|
|
26375
27484
|
Anon_473e554f0735_21: components["schemas"]["Anon_c8d24748191b_1"];
|
|
27485
|
+
Anon_22c006ff8d66: components["schemas"]["AnalyticsMetricDerivation"];
|
|
27486
|
+
Anon_a1d7a3ac66b8: components["schemas"]["AnalyticsMetricDerivationKind"];
|
|
27487
|
+
Anon_8a96081932e9: components["schemas"]["AnalyticsIngestedInputOrigin"];
|
|
27488
|
+
Anon_304a69e72d83: components["schemas"]["Anon_64fcdc575ad5"][];
|
|
27489
|
+
Anon_64fcdc575ad5: string;
|
|
27490
|
+
Anon_6411eaf2b1b5: components["schemas"]["Anon_d36735de5e00"];
|
|
27491
|
+
Anon_d36735de5e00: components["schemas"]["Anon_64fcdc575ad5_1"][];
|
|
27492
|
+
Anon_64fcdc575ad5_1: string;
|
|
27493
|
+
Anon_04b033dd40a9: components["schemas"]["Anon_c6d8e2b09e6d"];
|
|
27494
|
+
Anon_c6d8e2b09e6d: components["schemas"]["Anon_64fcdc575ad5_2"][];
|
|
27495
|
+
Anon_64fcdc575ad5_2: string;
|
|
27496
|
+
Anon_1e68bee50f0f: components["schemas"]["Anon_45ca91dbcd70"];
|
|
27497
|
+
Anon_45ca91dbcd70: string;
|
|
26376
27498
|
Anon_8f09b448c37f_2: components["schemas"]["AnalyticsCatalogDeprecation"];
|
|
26377
27499
|
Anon_203017ce4604: components["schemas"]["Anon_d9dbfa5954cd"];
|
|
26378
27500
|
Anon_d9dbfa5954cd: components["schemas"]["AnalyticsCatalogAnnotationKind"][];
|
|
@@ -26382,7 +27504,7 @@ interface components {
|
|
|
26382
27504
|
Anon_8783ccc02cda: components["schemas"]["AnalyticsAnnotationSource"];
|
|
26383
27505
|
Anon_85e861e36da5: components["schemas"]["AnalyticsAnnotationMarker"];
|
|
26384
27506
|
Anon_0c649f0987df_4: string;
|
|
26385
|
-
|
|
27507
|
+
Anon_872e58432369_5: string;
|
|
26386
27508
|
Anon_57df4039d087: components["schemas"]["AnalyticsAgentCatalogEntry"][];
|
|
26387
27509
|
Anon_53c09eaf03ab_7: components["schemas"]["AnalyticsSemanticIdOutput"];
|
|
26388
27510
|
Anon_33085dabcc5b: components["schemas"]["AnalyticsAgentCatalogEntryKind"];
|
|
@@ -26579,7 +27701,7 @@ interface components {
|
|
|
26579
27701
|
/** @default true */
|
|
26580
27702
|
Anon_493deecc809a_15: components["schemas"]["Anon_7cb541e84f22_77"];
|
|
26581
27703
|
Anon_7cb541e84f22_77: boolean;
|
|
26582
|
-
|
|
27704
|
+
Anon_872e58432369_6: string;
|
|
26583
27705
|
/** @default null */
|
|
26584
27706
|
Anon_7dbd1de5e9ee: components["schemas"]["Anon_39a43881005e_2"];
|
|
26585
27707
|
Anon_39a43881005e_2: string | null;
|
|
@@ -26622,7 +27744,7 @@ interface components {
|
|
|
26622
27744
|
Anon_062d958a93c4_24: components["schemas"]["Anon_7cb541e84f22_79"];
|
|
26623
27745
|
Anon_7cb541e84f22_79: boolean;
|
|
26624
27746
|
Anon_3b8fc1cd9e8b_26: string;
|
|
26625
|
-
|
|
27747
|
+
Anon_872e58432369_7: string;
|
|
26626
27748
|
/** @default false */
|
|
26627
27749
|
Anon_062d958a93c4_25: components["schemas"]["Anon_7cb541e84f22_80"];
|
|
26628
27750
|
Anon_7cb541e84f22_80: boolean;
|
|
@@ -26649,7 +27771,7 @@ interface components {
|
|
|
26649
27771
|
/** Format: date-time */
|
|
26650
27772
|
Anon_be3e2585472d_10: string;
|
|
26651
27773
|
Anon_2457cccd64aa_12: components["schemas"]["Anon_0eb2e3b6e08c_3"];
|
|
26652
|
-
|
|
27774
|
+
Anon_872e58432369_8: string;
|
|
26653
27775
|
/** @default user_id */
|
|
26654
27776
|
Anon_b07a1e0dbc7b: components["schemas"]["PlacementTestUserIdentifierType"];
|
|
26655
27777
|
/** @default null */
|
|
@@ -29062,7 +30184,7 @@ interface operations {
|
|
|
29062
30184
|
};
|
|
29063
30185
|
requestBody: {
|
|
29064
30186
|
content: {
|
|
29065
|
-
"application/json": components["schemas"]["
|
|
30187
|
+
"application/json": components["schemas"]["TreatmentInteractionRequest"];
|
|
29066
30188
|
};
|
|
29067
30189
|
};
|
|
29068
30190
|
responses: {
|
|
@@ -29865,5 +30987,5 @@ declare class RevTurbineServer {
|
|
|
29865
30987
|
private apiGet;
|
|
29866
30988
|
}
|
|
29867
30989
|
|
|
29868
|
-
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, ENTITLEMENT_STATUS_VALUES, EVENT_PREFIX_FAMILIES, EnforcementActionSchema, EnforcementModeSchema, EntitlementCheckResultSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventPrefixFamilySchema, EventSearchParamsSchema, EventSourceSchema, EventStabilitySchema, EventSurfaceSchema, EventTaxonomyEntrySchema, EventTaxonomySchema, EvidenceRequirementSchema, ExperimentAnalysisConfigSchema, ExperimentAnalysisConfigVersionError, 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, 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, SEMANTIC_ID_PATTERN, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, TrackEventSchema, TrackIngestBatchSchema, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WarGameCapabilityRequirementsSchema, WarGameCategorySchema, WarGameGradeSchema, WarGameOracleSchema, WarGameQualificationLevelSchema, WarGameScenarioSchema, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, 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, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, requireSchemaFacets, resetDefaultRegistry, resolveBranding, resolveComponentType, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validatePlacementThresholdWarnings };
|
|
29869
|
-
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, 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, EnforcementAction, EnforcementMode, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, Experiment, ExperimentAnalysisConfig, 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, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineComponentType, RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerActionContext, ServerActionHandler, ServerActionMap, ServerActionResult, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, TrackEvent, TrackIngestBatch, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WarGameCapabilityRequirements, WarGameCategory, WarGameGrade, WarGameOracle, WarGameQualificationLevel, WarGameScenario, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|
|
30990
|
+
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, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, 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 };
|
|
30991
|
+
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, 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, 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, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineComponentType, RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerActionContext, ServerActionHandler, ServerActionMap, ServerActionResult, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, TrackEvent, TrackIngestBatch, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, 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, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
|