@veroxm/sdk 1.9.0 → 1.11.0

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.
@@ -829,6 +829,26 @@ export interface paths {
829
829
  patch?: never;
830
830
  trace?: never;
831
831
  };
832
+ "/projects/{uuid}/files/{token}": {
833
+ parameters: {
834
+ query?: never;
835
+ header?: never;
836
+ path?: never;
837
+ cookie?: never;
838
+ };
839
+ /**
840
+ * A file kept in a connected database, by the signed link an entry carries
841
+ * @description A database model field marked as a file comes back as `{ url, expiresAt }` (or null): this is that `url`. No token: the link is the credential, for one file, one caller's view of one row, for an hour, so it works in `<img src>`. The type comes from the bytes (images and PDF are shown, anything else downloaded); never larger than 10 MB. Each use is checked again, metered and logged like any read.
842
+ */
843
+ get: operations["getDatabaseFile"];
844
+ put?: never;
845
+ post?: never;
846
+ delete?: never;
847
+ options?: never;
848
+ head?: never;
849
+ patch?: never;
850
+ trace?: never;
851
+ };
832
852
  "/projects/{uuid}/setup": {
833
853
  parameters: {
834
854
  query?: never;
@@ -900,6 +920,117 @@ export interface paths {
900
920
  patch?: never;
901
921
  trace?: never;
902
922
  };
923
+ "/projects/{uuid}/setup/types": {
924
+ parameters: {
925
+ query?: never;
926
+ header?: never;
927
+ path?: never;
928
+ cookie?: never;
929
+ };
930
+ /**
931
+ * The project's collections and database models with their types, for `veroxm types` (setup keys)
932
+ * @description Names and types only: no entries, secret values or database hosts. Each model field says how its values come back, which filter operators fit it, and whether it can be written.
933
+ */
934
+ get: operations["getProjectTypes"];
935
+ put?: never;
936
+ post?: never;
937
+ delete?: never;
938
+ options?: never;
939
+ head?: never;
940
+ patch?: never;
941
+ trace?: never;
942
+ };
943
+ "/projects/{uuid}/setup/environment": {
944
+ parameters: {
945
+ query?: never;
946
+ header?: never;
947
+ path?: never;
948
+ cookie?: never;
949
+ };
950
+ /** The project's environment, and whether it counts as production (any project key) */
951
+ get: operations["getProjectEnvironment"];
952
+ put?: never;
953
+ post?: never;
954
+ delete?: never;
955
+ options?: never;
956
+ head?: never;
957
+ patch?: never;
958
+ trace?: never;
959
+ };
960
+ "/projects/{uuid}/setup/functions/{name}/calls": {
961
+ parameters: {
962
+ query?: never;
963
+ header?: never;
964
+ path?: never;
965
+ cookie?: never;
966
+ };
967
+ /**
968
+ * A function's call log, oldest first (setup keys)
969
+ * @description Without `after`: the latest `limit` calls. With it: the calls after that id, to follow new ones. The latest 200 calls of each function are kept.
970
+ */
971
+ get: operations["listFunctionCallLog"];
972
+ put?: never;
973
+ post?: never;
974
+ delete?: never;
975
+ options?: never;
976
+ head?: never;
977
+ patch?: never;
978
+ trace?: never;
979
+ };
980
+ "/projects/{uuid}/setup/functions/{name}/versions": {
981
+ parameters: {
982
+ query?: never;
983
+ header?: never;
984
+ path?: never;
985
+ cookie?: never;
986
+ };
987
+ /** A function's kept versions, newest first, without their code (setup keys) */
988
+ get: operations["listFunctionVersions"];
989
+ put?: never;
990
+ post?: never;
991
+ delete?: never;
992
+ options?: never;
993
+ head?: never;
994
+ patch?: never;
995
+ trace?: never;
996
+ };
997
+ "/projects/{uuid}/setup/functions/{name}/versions/{version}": {
998
+ parameters: {
999
+ query?: never;
1000
+ header?: never;
1001
+ path?: never;
1002
+ cookie?: never;
1003
+ };
1004
+ /** One version of a function, with its code (setup keys) */
1005
+ get: operations["getFunctionVersion"];
1006
+ put?: never;
1007
+ post?: never;
1008
+ delete?: never;
1009
+ options?: never;
1010
+ head?: never;
1011
+ patch?: never;
1012
+ trace?: never;
1013
+ };
1014
+ "/projects/{uuid}/setup/functions/{name}/rollback": {
1015
+ parameters: {
1016
+ query?: never;
1017
+ header?: never;
1018
+ path?: never;
1019
+ cookie?: never;
1020
+ };
1021
+ get?: never;
1022
+ put?: never;
1023
+ /**
1024
+ * Make an earlier version of a function current again, as a new version (setup keys)
1025
+ * @description Restores its code and settings (not whether it's on). A function managed in Git answers 409 (`code: "managed_in_git"`) unless `force` is true.
1026
+ */
1027
+ post: operations["rollbackFunction"];
1028
+ delete?: never;
1029
+ options?: never;
1030
+ head?: never;
1031
+ patch?: never;
1032
+ trace?: never;
1033
+ };
903
1034
  "/projects/{uuid}/setup/apply": {
904
1035
  parameters: {
905
1036
  query?: never;
@@ -1174,6 +1305,8 @@ export interface components {
1174
1305
  errors?: unknown;
1175
1306
  statusCode?: number;
1176
1307
  retryAfterSeconds?: number;
1308
+ /** @description With code `invalid_query`: where in the query text (`q`) the problem is, counting from 0. */
1309
+ at?: number;
1177
1310
  /** @description With code `two_step_required` or `two_step_setup_required`: send it to /auth/two-step (or /auth/two-step/setup/...) to finish signing in. Good for 10 minutes. */
1178
1311
  ticket?: string;
1179
1312
  /** @description With a ticket: the ways the person can take the second step (or set one up). */
@@ -1460,6 +1593,8 @@ export interface components {
1460
1593
  };
1461
1594
  /** @description For example "created_at:desc" or "title:asc,created_at:desc". */
1462
1595
  sort?: string;
1596
+ /** @description Query text instead of `where` and `sort` (not both): `city = "Riyadh" AND area >= 500 AND deleted_at IS EMPTY ORDER BY area DESC`. Operators `= != > >= < <= ~` (contains), `IN (…)`, `NOT IN (…)`, `BETWEEN a AND b`, `IS [NOT] EMPTY`; `OR` between values of one field; dates `-30d`, `-6h`, `now()`, `today()`, `startOfMonth()`, `startOfYear()` (UTC). A query that doesn't parse is 400 `invalid_query` with `at`, its position. */
1597
+ q?: string;
1463
1598
  /** @description "only_draft" for unpublished entries. */
1464
1599
  state?: string;
1465
1600
  offset?: number;
@@ -1686,15 +1821,48 @@ export interface components {
1686
1821
  */
1687
1822
  eventId?: string;
1688
1823
  visitorId: string;
1689
- /** @enum {string} */
1690
- type: "page" | "track";
1824
+ /** @description The tracker's session id (Insights). */
1825
+ sessionId?: string;
1826
+ /**
1827
+ * @description page or track; the others are Insights interactions, sent by the tracker with `interaction`.
1828
+ * @enum {string}
1829
+ */
1830
+ type: "page" | "track" | "page_end" | "click" | "rage" | "submit" | "scroll" | "vitals";
1831
+ /** @description Required for track. Standard events have checked properties: `$slot_impression` ({ slot, experienceId?, variantId?, path? }) and `$form_submitted` ({ form, responseId?, endingId? }). */
1691
1832
  name?: string;
1692
1833
  properties?: {
1693
1834
  [key: string]: unknown;
1694
1835
  };
1836
+ interaction?: components["schemas"]["InteractionInput"];
1695
1837
  /** Format: date-time */
1696
1838
  occurredAt?: string;
1697
1839
  };
1840
+ InteractionInput: {
1841
+ /** @description The page path, no query string. */
1842
+ path: string;
1843
+ selector?: string;
1844
+ /** @description Link or button text; empty when masked. */
1845
+ label?: string;
1846
+ href?: string;
1847
+ /** @description Click position as a fraction of the element (0-1). */
1848
+ x?: number;
1849
+ y?: number;
1850
+ /** @description Click position as a fraction of the page height (0-1). */
1851
+ pageY?: number;
1852
+ /** @description Scroll: the deepest 25/50/75/100 % bucket seen. */
1853
+ depth?: number;
1854
+ viewportW?: number;
1855
+ experienceId?: number;
1856
+ variantId?: number;
1857
+ /** @description Page end: visible time on the page. */
1858
+ engagedMs?: number;
1859
+ metrics?: {
1860
+ lcp?: number;
1861
+ inp?: number;
1862
+ cls?: number;
1863
+ ttfb?: number;
1864
+ };
1865
+ };
1698
1866
  EventBatch: {
1699
1867
  events: components["schemas"]["EventInput"][];
1700
1868
  };
@@ -1750,6 +1918,13 @@ export interface components {
1750
1918
  content: unknown;
1751
1919
  /** @description The variant's config (copy, flags); null when it has none. */
1752
1920
  config: unknown;
1921
+ /** @description When the project sends test exposures to PostHog (Insights): what the page sends to its own PostHog as `$feature_flag_called`. Only on a test's answer. */
1922
+ posthog?: {
1923
+ /** @description `$feature_flag`: veroxm-<experience id>. */
1924
+ flag: string;
1925
+ /** @description `$feature_flag_response`: "control", or the variant's label as a key. */
1926
+ variant: string;
1927
+ };
1753
1928
  };
1754
1929
  Recommendations: {
1755
1930
  /** @enum {string} */
@@ -1786,6 +1961,8 @@ export interface components {
1786
1961
  config: components["schemas"]["SetupFile"];
1787
1962
  /** @description Also list (and, for webhooks, functions and sign-in providers, remove) what the project has and the file doesn't. */
1788
1963
  prune?: boolean;
1964
+ /** @description The file's functions are deployed from a repository (veroxm push): they become managed in Git, read-only in the dashboard until taken over there. */
1965
+ codeManaged?: boolean;
1789
1966
  };
1790
1967
  SetupApplyRequest: {
1791
1968
  config: components["schemas"]["SetupFile"];
@@ -1793,6 +1970,174 @@ export interface components {
1793
1970
  baseHash: string;
1794
1971
  /** @description As in the preview. */
1795
1972
  prune?: boolean;
1973
+ /** @description As in the preview. */
1974
+ codeManaged?: boolean;
1975
+ };
1976
+ TypedModelField: {
1977
+ name: string;
1978
+ /**
1979
+ * @description How values come back: string, number, number|string (a number when it fits exactly, otherwise text), boolean, json or unknown.
1980
+ * @enum {string}
1981
+ */
1982
+ kind: "string" | "number" | "number|string" | "boolean" | "json" | "unknown";
1983
+ nullable: boolean;
1984
+ /**
1985
+ * @description What the column holds, for the filter operators that make sense on it.
1986
+ * @enum {string}
1987
+ */
1988
+ family: "text" | "number" | "date" | "boolean" | "other";
1989
+ /** @description Callers may filter on it. */
1990
+ filter: boolean;
1991
+ sort: boolean;
1992
+ /** @description Callers may set it on create or update. */
1993
+ write: boolean;
1994
+ /** @description Returned as ••••<last 4> unless asked for in full. */
1995
+ masked: boolean;
1996
+ /** @description Accepted on writes, never returned. */
1997
+ writeOnly: boolean;
1998
+ /** @description Binary data, as base64 text. */
1999
+ binary?: boolean;
2000
+ /** @description A file: returned as a signed link `{ url, expiresAt }` (GET /projects/{uuid}/files/{token}) or null, never its bytes. */
2001
+ file?: boolean;
2002
+ /** @description The values an ENUM column lists. */
2003
+ values?: string[];
2004
+ };
2005
+ ProjectTypes: {
2006
+ /** @enum {string} */
2007
+ format: "veroxm.types";
2008
+ /** @enum {integer} */
2009
+ version: 1;
2010
+ project: {
2011
+ name: string;
2012
+ uuid: string;
2013
+ };
2014
+ collections: {
2015
+ slug: string;
2016
+ name: string;
2017
+ fields: {
2018
+ name: string;
2019
+ /** @description The field type: text, number, boolean, relation, media, enumeration... */
2020
+ type: string;
2021
+ /** @description relation and media: a list (true) or one (false). */
2022
+ many?: boolean;
2023
+ /** @description relation: the related collection's slug. */
2024
+ target?: string | null;
2025
+ /** @description enumeration and multi_enumeration: the listed values. */
2026
+ values?: string[];
2027
+ }[];
2028
+ }[];
2029
+ models: {
2030
+ slug: string;
2031
+ name: string;
2032
+ /** @description The connected database's slug. */
2033
+ database: string;
2034
+ key: {
2035
+ kind: string;
2036
+ family: string;
2037
+ };
2038
+ fields: components["schemas"]["TypedModelField"][];
2039
+ relations: {
2040
+ name: string;
2041
+ /** @enum {string} */
2042
+ kind: "one" | "many";
2043
+ fields: components["schemas"]["TypedModelField"][];
2044
+ }[];
2045
+ writes: {
2046
+ create: boolean;
2047
+ update: boolean;
2048
+ delete: boolean;
2049
+ };
2050
+ }[];
2051
+ databases: string[];
2052
+ processes: string[];
2053
+ /** @description Secret names, never values. */
2054
+ secrets: string[];
2055
+ allowedHosts: string[];
2056
+ /** @description The end-user roles the project lists (sign-in settings). */
2057
+ roles: string[];
2058
+ };
2059
+ ProjectEnvironment: {
2060
+ /** @description The project's name. */
2061
+ project: string;
2062
+ uuid: string;
2063
+ environment: {
2064
+ name: string;
2065
+ /** @description Its place among the linked environments (production is usually 60). */
2066
+ position: number;
2067
+ /** @description Whether no environment comes after it. */
2068
+ last: boolean;
2069
+ } | null;
2070
+ /** @description True unless it is a linked environment that isn't production: tools that must stay away from production (the CLI's --remote) refuse it. */
2071
+ production: boolean;
2072
+ };
2073
+ FunctionCallRecord: {
2074
+ /** @description Increasing: send the last one seen as `after` to get newer calls. */
2075
+ id: number;
2076
+ /** @description The function version that ran. */
2077
+ version: number;
2078
+ /** @description http, test, before_save, event, process or schedule. */
2079
+ trigger: string;
2080
+ /** @enum {string} */
2081
+ status: "ok" | "error" | "timeout" | "limited";
2082
+ durationMs: number;
2083
+ /** @description The error, secret values blanked out. */
2084
+ error: string | null;
2085
+ /** @description Its log lines, secret values blanked out. */
2086
+ logs: string | null;
2087
+ caller: string | null;
2088
+ /** Format: date-time */
2089
+ createdAt: string;
2090
+ };
2091
+ FunctionCalls: {
2092
+ function: string;
2093
+ /** @description The current version. */
2094
+ version: number;
2095
+ /** @enum {string} */
2096
+ managedBy: "dashboard" | "code";
2097
+ /** @description Oldest first. */
2098
+ calls: components["schemas"]["FunctionCallRecord"][];
2099
+ };
2100
+ FunctionVersionSettings: {
2101
+ access: string;
2102
+ timeLimitMs: number;
2103
+ triggers: Record<string, never>[];
2104
+ description: string | null;
2105
+ enabled: boolean;
2106
+ };
2107
+ FunctionVersionInfo: {
2108
+ version: number;
2109
+ /** @enum {string} */
2110
+ source: "dashboard" | "code" | "rollback";
2111
+ createdBy: number | null;
2112
+ /** Format: date-time */
2113
+ createdAt: string;
2114
+ settings: components["schemas"]["FunctionVersionSettings"] | null;
2115
+ /** @description Size of its code (in the list). */
2116
+ bytes?: number;
2117
+ /** @description Its code (one version only). */
2118
+ code?: string;
2119
+ };
2120
+ FunctionVersions: {
2121
+ function: string;
2122
+ /** @description The current version. */
2123
+ version: number;
2124
+ /** @enum {string} */
2125
+ managedBy: "dashboard" | "code";
2126
+ /** @description Newest first (the newest 20 are kept). */
2127
+ versions: components["schemas"]["FunctionVersionInfo"][];
2128
+ };
2129
+ FunctionRollbackRequest: {
2130
+ /** @description The version to make current again. */
2131
+ version: number;
2132
+ /** @description Needed for a function managed in Git: the repository is behind afterwards. */
2133
+ force?: boolean;
2134
+ };
2135
+ FunctionRolledBack: {
2136
+ function: string;
2137
+ /** @description The new current version. */
2138
+ version: number;
2139
+ managedBy: string;
2140
+ rolledBackTo: number;
1796
2141
  };
1797
2142
  SetupApplied: {
1798
2143
  /** @description How many changes were made. */
@@ -3201,6 +3546,8 @@ export interface operations {
3201
3546
  listEntries: {
3202
3547
  parameters: {
3203
3548
  query?: {
3549
+ /** @description Query text instead of `where` and `sort` (not both): `city = "Riyadh" AND area >= 500 AND deleted_at IS EMPTY ORDER BY area DESC`. Operators `= != > >= < <= ~` (contains), `IN (…)`, `NOT IN (…)`, `BETWEEN a AND b`, `IS [NOT] EMPTY`; `OR` between values of one field; dates `-30d`, `-6h`, `now()`, `today()`, `startOfMonth()`, `startOfYear()` (UTC). A query that doesn't parse is 400 `invalid_query` with `at`, its position. */
3550
+ q?: string;
3204
3551
  sort?: string;
3205
3552
  state?: string;
3206
3553
  offset?: number;
@@ -3965,6 +4312,64 @@ export interface operations {
3965
4312
  504: components["responses"]["E504"];
3966
4313
  };
3967
4314
  };
4315
+ getDatabaseFile: {
4316
+ parameters: {
4317
+ query?: never;
4318
+ header?: never;
4319
+ path: {
4320
+ /** @description The project's UUID. */
4321
+ uuid: string;
4322
+ /** @description The last part of the link, as the entry gave it. */
4323
+ token: string;
4324
+ };
4325
+ cookie?: never;
4326
+ };
4327
+ requestBody?: never;
4328
+ responses: {
4329
+ /** @description The file */
4330
+ 200: {
4331
+ headers: {
4332
+ [name: string]: unknown;
4333
+ };
4334
+ content: {
4335
+ "image/png": string;
4336
+ "image/jpeg": string;
4337
+ "image/gif": string;
4338
+ "image/webp": string;
4339
+ "image/bmp": string;
4340
+ "image/avif": string;
4341
+ "application/pdf": string;
4342
+ "image/svg+xml": string;
4343
+ "application/zip": string;
4344
+ "application/octet-stream": string;
4345
+ };
4346
+ };
4347
+ 403: components["responses"]["E403"];
4348
+ 404: components["responses"]["E404"];
4349
+ /** @description The file is over 10 MB */
4350
+ 413: {
4351
+ headers: {
4352
+ [name: string]: unknown;
4353
+ };
4354
+ content: {
4355
+ "application/json": components["schemas"]["Error"];
4356
+ };
4357
+ };
4358
+ /** @description The column's value isn't a file (binary data, a data URL or base64) */
4359
+ 422: {
4360
+ headers: {
4361
+ [name: string]: unknown;
4362
+ };
4363
+ content: {
4364
+ "application/json": components["schemas"]["Error"];
4365
+ };
4366
+ };
4367
+ 429: components["responses"]["E429"];
4368
+ 502: components["responses"]["E502"];
4369
+ 503: components["responses"]["E503"];
4370
+ 504: components["responses"]["E504"];
4371
+ };
4372
+ };
3968
4373
  exportSetup: {
3969
4374
  parameters: {
3970
4375
  query?: never;
@@ -4093,6 +4498,187 @@ export interface operations {
4093
4498
  429: components["responses"]["E429"];
4094
4499
  };
4095
4500
  };
4501
+ getProjectTypes: {
4502
+ parameters: {
4503
+ query?: never;
4504
+ header?: never;
4505
+ path: {
4506
+ /** @description The project's UUID. */
4507
+ uuid: string;
4508
+ };
4509
+ cookie?: never;
4510
+ };
4511
+ requestBody?: never;
4512
+ responses: {
4513
+ /** @description OK */
4514
+ 200: {
4515
+ headers: {
4516
+ [name: string]: unknown;
4517
+ };
4518
+ content: {
4519
+ "application/json": components["schemas"]["ProjectTypes"];
4520
+ };
4521
+ };
4522
+ 401: components["responses"]["E401"];
4523
+ 403: components["responses"]["E403"];
4524
+ 404: components["responses"]["E404"];
4525
+ 429: components["responses"]["E429"];
4526
+ };
4527
+ };
4528
+ getProjectEnvironment: {
4529
+ parameters: {
4530
+ query?: never;
4531
+ header?: never;
4532
+ path: {
4533
+ /** @description The project's UUID. */
4534
+ uuid: string;
4535
+ };
4536
+ cookie?: never;
4537
+ };
4538
+ requestBody?: never;
4539
+ responses: {
4540
+ /** @description OK */
4541
+ 200: {
4542
+ headers: {
4543
+ [name: string]: unknown;
4544
+ };
4545
+ content: {
4546
+ "application/json": components["schemas"]["ProjectEnvironment"];
4547
+ };
4548
+ };
4549
+ 401: components["responses"]["E401"];
4550
+ 403: components["responses"]["E403"];
4551
+ 404: components["responses"]["E404"];
4552
+ 429: components["responses"]["E429"];
4553
+ };
4554
+ };
4555
+ listFunctionCallLog: {
4556
+ parameters: {
4557
+ query?: {
4558
+ /** @description The last call id seen. */
4559
+ after?: number;
4560
+ /** @description Only calls from this time. */
4561
+ since?: string;
4562
+ /** @description At most this many (100 by default). */
4563
+ limit?: number;
4564
+ };
4565
+ header?: never;
4566
+ path: {
4567
+ /** @description The project's UUID. */
4568
+ uuid: string;
4569
+ name: string;
4570
+ };
4571
+ cookie?: never;
4572
+ };
4573
+ requestBody?: never;
4574
+ responses: {
4575
+ /** @description OK */
4576
+ 200: {
4577
+ headers: {
4578
+ [name: string]: unknown;
4579
+ };
4580
+ content: {
4581
+ "application/json": components["schemas"]["FunctionCalls"];
4582
+ };
4583
+ };
4584
+ 400: components["responses"]["E400"];
4585
+ 401: components["responses"]["E401"];
4586
+ 403: components["responses"]["E403"];
4587
+ 404: components["responses"]["E404"];
4588
+ 429: components["responses"]["E429"];
4589
+ };
4590
+ };
4591
+ listFunctionVersions: {
4592
+ parameters: {
4593
+ query?: never;
4594
+ header?: never;
4595
+ path: {
4596
+ /** @description The project's UUID. */
4597
+ uuid: string;
4598
+ name: string;
4599
+ };
4600
+ cookie?: never;
4601
+ };
4602
+ requestBody?: never;
4603
+ responses: {
4604
+ /** @description OK */
4605
+ 200: {
4606
+ headers: {
4607
+ [name: string]: unknown;
4608
+ };
4609
+ content: {
4610
+ "application/json": components["schemas"]["FunctionVersions"];
4611
+ };
4612
+ };
4613
+ 401: components["responses"]["E401"];
4614
+ 403: components["responses"]["E403"];
4615
+ 404: components["responses"]["E404"];
4616
+ 429: components["responses"]["E429"];
4617
+ };
4618
+ };
4619
+ getFunctionVersion: {
4620
+ parameters: {
4621
+ query?: never;
4622
+ header?: never;
4623
+ path: {
4624
+ /** @description The project's UUID. */
4625
+ uuid: string;
4626
+ name: string;
4627
+ version: number;
4628
+ };
4629
+ cookie?: never;
4630
+ };
4631
+ requestBody?: never;
4632
+ responses: {
4633
+ /** @description OK */
4634
+ 200: {
4635
+ headers: {
4636
+ [name: string]: unknown;
4637
+ };
4638
+ content: {
4639
+ "application/json": components["schemas"]["FunctionVersionInfo"];
4640
+ };
4641
+ };
4642
+ 401: components["responses"]["E401"];
4643
+ 403: components["responses"]["E403"];
4644
+ 404: components["responses"]["E404"];
4645
+ 429: components["responses"]["E429"];
4646
+ };
4647
+ };
4648
+ rollbackFunction: {
4649
+ parameters: {
4650
+ query?: never;
4651
+ header?: never;
4652
+ path: {
4653
+ /** @description The project's UUID. */
4654
+ uuid: string;
4655
+ name: string;
4656
+ };
4657
+ cookie?: never;
4658
+ };
4659
+ requestBody: {
4660
+ content: {
4661
+ "application/json": components["schemas"]["FunctionRollbackRequest"];
4662
+ };
4663
+ };
4664
+ responses: {
4665
+ /** @description OK */
4666
+ 200: {
4667
+ headers: {
4668
+ [name: string]: unknown;
4669
+ };
4670
+ content: {
4671
+ "application/json": components["schemas"]["FunctionRolledBack"];
4672
+ };
4673
+ };
4674
+ 400: components["responses"]["E400"];
4675
+ 401: components["responses"]["E401"];
4676
+ 403: components["responses"]["E403"];
4677
+ 404: components["responses"]["E404"];
4678
+ 409: components["responses"]["E409"];
4679
+ 429: components["responses"]["E429"];
4680
+ };
4681
+ };
4096
4682
  applySetup: {
4097
4683
  parameters: {
4098
4684
  query?: never;
@@ -4233,6 +4819,8 @@ export interface operations {
4233
4819
  url?: string;
4234
4820
  /** @description The page that linked to it. */
4235
4821
  referrer?: string;
4822
+ /** @description The page sends test exposures to PostHog itself (the SDK sends it when the page has PostHog), so VeroXM's server doesn't. */
4823
+ posthog?: "browser";
4236
4824
  };
4237
4825
  header?: never;
4238
4826
  path: {