@lessly/sdk-app 22.2.0 → 23.0.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.
Files changed (59) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +0 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-Cfmw2W7q.d.cts → client.gen-D8-4iBy1.d.cts} +394 -178
  10. package/dist/{client.gen-Cfmw2W7q.d.ts → client.gen-D8-4iBy1.d.ts} +394 -178
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +112 -65
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +112 -65
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/playground/index.cjs +66 -0
  26. package/dist/playground/index.cjs.map +1 -0
  27. package/dist/playground/index.d.cts +52 -0
  28. package/dist/playground/index.d.ts +52 -0
  29. package/dist/playground/index.js +53 -0
  30. package/dist/playground/index.js.map +1 -0
  31. package/dist/realtime/index.cjs +0 -15
  32. package/dist/realtime/index.cjs.map +1 -1
  33. package/dist/realtime/index.d.cts +2 -14
  34. package/dist/realtime/index.d.ts +2 -14
  35. package/dist/realtime/index.js +1 -13
  36. package/dist/realtime/index.js.map +1 -1
  37. package/dist/tracking/index.cjs +5 -20
  38. package/dist/tracking/index.cjs.map +1 -1
  39. package/dist/tracking/index.d.cts +6 -18
  40. package/dist/tracking/index.d.ts +6 -18
  41. package/dist/tracking/index.js +5 -17
  42. package/dist/tracking/index.js.map +1 -1
  43. package/dist/users/index.d.cts +1 -1
  44. package/dist/users/index.d.ts +1 -1
  45. package/dist/waitlist/index.d.cts +1 -1
  46. package/dist/waitlist/index.d.ts +1 -1
  47. package/package.json +7 -2
  48. package/src/gen/bindings.gen.ts +112 -65
  49. package/src/gen/brain/index.ts +1 -1
  50. package/src/gen/brain/queryOptions.gen.ts +0 -7
  51. package/src/gen/client.gen.ts +57 -30
  52. package/src/gen/manifest.gen.ts +1 -1
  53. package/src/gen/playground/index.ts +3 -0
  54. package/src/gen/playground/queryOptions.gen.ts +86 -0
  55. package/src/gen/realtime/index.ts +1 -1
  56. package/src/gen/realtime/queryOptions.gen.ts +0 -19
  57. package/src/gen/tracking/index.ts +1 -1
  58. package/src/gen/tracking/queryOptions.gen.ts +7 -25
  59. package/src/gen/types.gen.ts +386 -171
@@ -1028,98 +1028,6 @@ snapshotId: string
1028
1028
  preRestoreSnapshotId: (string | null)
1029
1029
  } | null)
1030
1030
 
1031
- export interface BrainUsageReportInput {
1032
- /**
1033
- * How many UTC days of this product's ledger to return, ending today (default 30, max 90)
1034
- */
1035
- days?: number
1036
- }
1037
-
1038
- export interface BrainUsageReportOutput {
1039
- note: string
1040
- /**
1041
- * Brain's own ledger, for THIS product only
1042
- */
1043
- product: {
1044
- /**
1045
- * Inclusive UTC end of the window (today), YYYY-MM-DD
1046
- */
1047
- to: string
1048
- /**
1049
- * The window actually used, after clamping
1050
- */
1051
- days: number
1052
- /**
1053
- * Inclusive UTC start of the window, YYYY-MM-DD
1054
- */
1055
- from: string
1056
- rows: {
1057
- /**
1058
- * 'sync' | 'batch'; '' when the push carried none
1059
- */
1060
- mode: string
1061
- /**
1062
- * Manifest meter slug, e.g. llm-tokens
1063
- */
1064
- meter: string
1065
- /**
1066
- * Model dimension; '' when the push carried none
1067
- */
1068
- model: string
1069
- /**
1070
- * How many record() calls landed in this slice
1071
- */
1072
- events: number
1073
- /**
1074
- * Tokens we metered for this slice, delivered or not
1075
- */
1076
- tokens: number
1077
- /**
1078
- * Purpose dimension; '' when the push carried none
1079
- */
1080
- purpose: string
1081
- /**
1082
- * UTC calendar day, YYYY-MM-DD
1083
- */
1084
- usage_date: string
1085
- /**
1086
- * Of those events, how many billing did not accept
1087
- */
1088
- delivery_failed: number
1089
- }[]
1090
- /**
1091
- * The rows rolled up per meter across the whole window
1092
- */
1093
- totals: {
1094
- meter: string
1095
- events: number
1096
- tokens: number
1097
- delivery_failed: number
1098
- }[]
1099
- product_id: string
1100
- }
1101
- /**
1102
- * The platform billing aggregate for the whole ORG; null if it could not be read
1103
- */
1104
- platform: ({
1105
- plan: string
1106
- scope: "org"
1107
- meters: {
1108
- unit?: string
1109
- used?: number
1110
- limit?: (number | null)
1111
- remaining?: (number | null)
1112
- unlimited?: boolean
1113
- meter_slug: string
1114
- }[]
1115
- org_id: string
1116
- } | null)
1117
- /**
1118
- * Why the platform aggregate is null; null when it was read successfully
1119
- */
1120
- platform_error: (string | null)
1121
- }
1122
-
1123
1031
  export interface ConsentConfigCookieDomainUpsertInput {
1124
1032
  cookieDomain: ("" | null | string)
1125
1033
  }
@@ -1289,11 +1197,11 @@ type: ("http_cookie" | "local_storage" | "session_storage")
1289
1197
  /**
1290
1198
  * Human-readable description of why the cookie is set
1291
1199
  */
1292
- purpose?: string
1200
+ purpose: string
1293
1201
  /**
1294
1202
  * Duration like "2 years", "session", "30 days"
1295
1203
  */
1296
- storageDuration?: string
1204
+ storageDuration: string
1297
1205
  }[]
1298
1206
  /**
1299
1207
  * Consent category bucket — matches CHECK constraint on consent_providers.category
@@ -1404,11 +1312,11 @@ type: ("http_cookie" | "local_storage" | "session_storage")
1404
1312
  /**
1405
1313
  * Human-readable description of why the cookie is set
1406
1314
  */
1407
- purpose?: string
1315
+ purpose: string
1408
1316
  /**
1409
1317
  * Duration like "2 years", "session", "30 days"
1410
1318
  */
1411
- storageDuration?: string
1319
+ storageDuration: string
1412
1320
  }[]
1413
1321
  /**
1414
1322
  * Consent category bucket — matches CHECK constraint on consent_providers.category
@@ -2719,7 +2627,7 @@ baseEnvironmentId: (string | null)
2719
2627
  }
2720
2628
 
2721
2629
  export interface DeploymentEventsListByEnvironmentInput {
2722
- type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed")
2630
+ type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
2723
2631
  limit?: number
2724
2632
  since?: string
2725
2633
  until?: string
@@ -2728,7 +2636,7 @@ environmentId: string
2728
2636
 
2729
2637
  export type DeploymentEventsListByEnvironmentOutput = {
2730
2638
  id: string
2731
- type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed")
2639
+ type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
2732
2640
  payload: {
2733
2641
  [k: string]: unknown
2734
2642
  }
@@ -2741,7 +2649,7 @@ environmentId: (string | null)
2741
2649
  }[]
2742
2650
 
2743
2651
  export interface DeploymentEventsListByServiceInput {
2744
- type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed")
2652
+ type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
2745
2653
  limit?: number
2746
2654
  since?: string
2747
2655
  until?: string
@@ -2751,7 +2659,7 @@ deploymentId?: string
2751
2659
 
2752
2660
  export type DeploymentEventsListByServiceOutput = {
2753
2661
  id: string
2754
- type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed")
2662
+ type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
2755
2663
  payload: {
2756
2664
  [k: string]: unknown
2757
2665
  }
@@ -13566,53 +13474,226 @@ name: string
13566
13474
  activeProductId: (string | null)
13567
13475
  }
13568
13476
 
13569
- export interface RealtimeApikeyCreateInput {
13477
+ export interface PlaygroundAnalyticsOverviewInput {
13570
13478
  /**
13571
- * Human-readable label for the key, e.g. "production backend"
13479
+ * Max records per entity in recent[]; omit for the endpoint default
13572
13480
  */
13573
- name: string
13481
+ limit?: number
13574
13482
  }
13575
13483
 
13576
- export interface RealtimeApikeyCreateOutput {
13484
+ export interface PlaygroundAnalyticsOverviewOutput {
13485
+ ok: boolean
13486
+ minted: boolean
13487
+ overview?: unknown
13488
+ http_status: number
13489
+ }
13490
+
13491
+ export interface PlaygroundBillingEntitlementsInput {
13492
+
13493
+ }
13494
+
13495
+ export interface PlaygroundBillingEntitlementsOutput {
13496
+ ok: boolean
13497
+ minted: boolean
13498
+ http_status: number
13499
+ entitlements?: unknown
13500
+ }
13501
+
13502
+ export interface PlaygroundBillingRecordUsageInput {
13577
13503
  /**
13578
- * The full rtk_ secret. Shown once it cannot be retrieved again.
13504
+ * Quantity of events to record against playground-events (SUM); defaults to 1
13579
13505
  */
13580
- key: string
13581
- apiKey: {
13582
- id: string
13583
- name: string
13584
- prefix: string
13585
- createdAt: string
13586
- revokedAt: (string | null)
13506
+ value?: number
13587
13507
  }
13508
+
13509
+ export interface PlaygroundBillingRecordUsageOutput {
13510
+ minted: boolean
13511
+ accepted: (number | null)
13512
+ recorded: boolean
13513
+ duplicates: (number | null)
13514
+ http_status: number
13588
13515
  }
13589
13516
 
13590
- export interface RealtimeApikeyListInput {
13517
+ export interface PlaygroundClickupCreateTaskInput {
13518
+ /**
13519
+ * Task title; defaults to a fixture label
13520
+ */
13521
+ name?: string
13522
+ /**
13523
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13524
+ */
13525
+ listId?: string
13526
+ }
13591
13527
 
13528
+ export interface PlaygroundClickupCreateTaskOutput {
13529
+ minted: boolean
13530
+ task_id: (string | null)
13531
+ list_status: number
13532
+ vend_status: number
13533
+ clickup_status: number
13534
+ installation_count: number
13592
13535
  }
13593
13536
 
13594
- export interface RealtimeApikeyListOutput {
13595
- keys: {
13537
+ export interface PlaygroundClickupGetLastWebhookInput {
13538
+
13539
+ }
13540
+
13541
+ export type PlaygroundClickupGetLastWebhookOutput = ({
13542
+ payload: string
13543
+ event_id: string
13544
+ provider: string
13545
+ verified: boolean
13546
+ product_id: string
13547
+ occurred_at: string
13548
+ connector_id: string
13549
+ clickup_event: (string | null)
13550
+ receipt_count: number
13551
+ } | {
13552
+ found: false
13553
+ })
13554
+
13555
+ export interface PlaygroundClickupGetOverviewInput {
13556
+
13557
+ }
13558
+
13559
+ export interface PlaygroundClickupGetOverviewOutput {
13560
+ team: ({
13561
+ teamId: string
13562
+ teamName: string
13563
+ } | null)
13564
+ lists: PlaygroundClickupGetOverviewOutputItems[]
13565
+ tasks: {
13596
13566
  id: string
13597
13567
  name: string
13598
- prefix: string
13599
- createdAt: string
13600
- revokedAt: (string | null)
13568
+ status: (string | null)
13601
13569
  }[]
13570
+ minted: boolean
13571
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
13572
+ list_status: number
13573
+ vend_status: number
13574
+ lists_status: number
13575
+ tasks_status: number
13576
+ spaces_status: number
13577
+ folders_status: number
13578
+ installation_count: number
13579
+ }
13580
+ export interface PlaygroundClickupGetOverviewOutputItems {
13581
+ id: string
13582
+ name: string
13602
13583
  }
13603
13584
 
13604
- export interface RealtimeApikeyRevokeInput {
13585
+ export interface PlaygroundGdriveGetLastChangeInput {
13586
+
13587
+ }
13588
+
13589
+ export type PlaygroundGdriveGetLastChangeOutput = ({
13590
+ file_id: string
13591
+ removed: boolean
13592
+ file_name: (string | null)
13593
+ mime_type: (string | null)
13594
+ product_id: string
13595
+ occurred_at: string
13596
+ connector_id: string
13597
+ resource_state: string
13598
+ } | {
13599
+ found: false
13600
+ })
13601
+
13602
+ export interface PlaygroundGdriveReadFileInput {
13605
13603
  /**
13606
- * Api key id to revoke
13604
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13607
13605
  */
13608
- id: string
13606
+ fileId?: string
13609
13607
  }
13610
13608
 
13611
- export interface RealtimeApikeyRevokeOutput {
13612
- id: string
13613
- revokedAt: string
13609
+ export interface PlaygroundGdriveReadFileOutput {
13610
+ minted: boolean
13611
+ file_id: (string | null)
13612
+ file_name: (string | null)
13613
+ mime_type: (string | null)
13614
+ file_count: number
13615
+ get_status: number
13616
+ list_status: number
13617
+ vend_status: number
13618
+ content_bytes: (number | null)
13619
+ }
13620
+
13621
+ export interface PlaygroundGoogleadsReadCustomerInput {
13622
+
13623
+ }
13624
+
13625
+ export interface PlaygroundGoogleadsReadCustomerOutput {
13626
+ minted: boolean
13627
+ vended: boolean
13628
+ customer_id: (string | null)
13629
+ vend_status: number
13630
+ result_count: number
13631
+ search_status: number
13632
+ login_customer_id: (string | null)
13614
13633
  }
13615
13634
 
13635
+ export interface PlaygroundLifecycleGetStateInput {
13636
+
13637
+ }
13638
+
13639
+ export interface PlaygroundLifecycleGetStateOutput {
13640
+ blocked: boolean
13641
+ archived: boolean
13642
+ productId: string
13643
+ lastBlockTransition: ({
13644
+ eventId: string
13645
+ eventName: string
13646
+ productId: string
13647
+ occurredAt: string
13648
+ recordedAt: string
13649
+ receiptCount: number
13650
+ organizationId: string
13651
+ cascadedFromOrg: boolean
13652
+ } | null)
13653
+ lastArchiveTransition: ({
13654
+ eventId: string
13655
+ eventName: string
13656
+ productId: string
13657
+ occurredAt: string
13658
+ recordedAt: string
13659
+ receiptCount: number
13660
+ organizationId: string
13661
+ cascadedFromOrg: boolean
13662
+ } | null)
13663
+ }
13664
+
13665
+ export interface PlaygroundLifecycleListEventsInput {
13666
+
13667
+ }
13668
+
13669
+ export type PlaygroundLifecycleListEventsOutput = {
13670
+ eventId: string
13671
+ eventName: string
13672
+ productId: string
13673
+ occurredAt: string
13674
+ recordedAt: string
13675
+ receiptCount: number
13676
+ organizationId: string
13677
+ cascadedFromOrg: boolean
13678
+ }[]
13679
+
13680
+ export interface PlaygroundWebhookGetLastInput {
13681
+
13682
+ }
13683
+
13684
+ export type PlaygroundWebhookGetLastOutput = ({
13685
+ payload?: unknown
13686
+ event_id: string
13687
+ provider: string
13688
+ verified: boolean
13689
+ product_id: string
13690
+ occurred_at: string
13691
+ connector_id: string
13692
+ delivery_count: number
13693
+ } | {
13694
+ found: false
13695
+ })
13696
+
13616
13697
  export interface RealtimeArchiveExportInput {
13617
13698
  /**
13618
13699
  * Only entries with ts <= to_ts (epoch ms)
@@ -14523,53 +14604,6 @@ updatedAt: string
14523
14604
  description: (string | null)
14524
14605
  }
14525
14606
 
14526
- export interface TrackingApiKeysCreateInput {
14527
- name: string
14528
- }
14529
-
14530
- export interface TrackingApiKeysCreateOutput {
14531
- name: string
14532
- keyId: string
14533
- last4: string
14534
- prefix: string
14535
- createdAt: string
14536
- }
14537
-
14538
- export interface TrackingApiKeysListInput {
14539
-
14540
- }
14541
-
14542
- export type TrackingApiKeysListOutput = {
14543
- name: string
14544
- keyId: string
14545
- last4: string
14546
- prefix: string
14547
- status: ("active" | "revoked")
14548
- createdAt: string
14549
- revokedAt: (string | null)
14550
- lastUsedAt: (string | null)
14551
- }[]
14552
-
14553
- export interface TrackingApiKeysRevokeInput {
14554
- keyId: string
14555
- }
14556
-
14557
- export interface TrackingApiKeysRevokeOutput {
14558
- ok: true
14559
- }
14560
-
14561
- export interface TrackingApiKeysRotateInput {
14562
- keyId: string
14563
- }
14564
-
14565
- export interface TrackingApiKeysRotateOutput {
14566
- name: string
14567
- keyId: string
14568
- last4: string
14569
- prefix: string
14570
- createdAt: string
14571
- }
14572
-
14573
14607
  export interface TrackingDomainsCreateInput {
14574
14608
  host?: string
14575
14609
  records?: {
@@ -15012,6 +15046,9 @@ from: string
15012
15046
  installed: boolean
15013
15047
  truncated: boolean
15014
15048
  paidClicks: number
15049
+ dataQuality: {
15050
+ cookielessPaidClicks: number
15051
+ }
15015
15052
  breakageRate: number
15016
15053
  taggedClicks: number
15017
15054
  lastUntaggedAt: (string | null)
@@ -15433,6 +15470,31 @@ utmCampaign: (string | null)
15433
15470
  profileId: string
15434
15471
  }
15435
15472
 
15473
+ export interface TrackingReportsEventVolumeInput {
15474
+ to: string
15475
+ from: string
15476
+ domain?: string
15477
+ }
15478
+
15479
+ export interface TrackingReportsEventVolumeOutput {
15480
+ to: string
15481
+ from: string
15482
+ domain: (string | null)
15483
+ computedAt: string
15484
+ dataQuality: {
15485
+ noBannerShare: number
15486
+ noBannerEvents: number
15487
+ utcDaysInRange: number
15488
+ cookielessShare: number
15489
+ cookielessEvents: number
15490
+ identifiedEvents: number
15491
+ visitorsOverstated: boolean
15492
+ consentGrantedEvents: number
15493
+ }
15494
+ totalEvents: number
15495
+ visitorsDeduplicatedPerUtcDay: number
15496
+ }
15497
+
15436
15498
  export interface TrackingReportsRevenueBySourceInput {
15437
15499
  /**
15438
15500
  * Cohort window end (ISO)
@@ -15726,6 +15788,56 @@ github: UsersConfigGetOutputGoogle
15726
15788
  google: UsersConfigGetOutputGoogle
15727
15789
  }
15728
15790
  }
15791
+ hosted: {
15792
+ /**
15793
+ * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
15794
+ */
15795
+ enabled: boolean
15796
+ /**
15797
+ * Absolute https URL of a logo rendered above the form. Null renders no logo.
15798
+ */
15799
+ logoUrl: (string | null)
15800
+ /**
15801
+ * Terms link rendered in the footer. Null renders no link.
15802
+ */
15803
+ termsUrl: (string | null)
15804
+ /**
15805
+ * CSS colour of the body text.
15806
+ */
15807
+ textColor: string
15808
+ /**
15809
+ * One line under the card. Null renders no footer.
15810
+ */
15811
+ footerText: (string | null)
15812
+ /**
15813
+ * Privacy-policy link rendered in the footer. Null renders no link.
15814
+ */
15815
+ privacyUrl: (string | null)
15816
+ /**
15817
+ * CSS colour for the submit button, the links and the focus ring.
15818
+ */
15819
+ accentColor: string
15820
+ /**
15821
+ * Shown in the heading and the page title. Default "This product".
15822
+ */
15823
+ productName: string
15824
+ /**
15825
+ * CSS length for the card and its controls, e.g. "12px".
15826
+ */
15827
+ borderRadius: string
15828
+ /**
15829
+ * CSS colour of the card itself.
15830
+ */
15831
+ surfaceColor: string
15832
+ /**
15833
+ * CSS colour of secondary text and hints.
15834
+ */
15835
+ mutedTextColor: string
15836
+ /**
15837
+ * CSS colour of the page behind the card.
15838
+ */
15839
+ backgroundColor: string
15840
+ }
15729
15841
  invite: {
15730
15842
  /**
15731
15843
  * How long an invite link stays usable, in days. Default 14.
@@ -16020,6 +16132,59 @@ clientId?: (string | null)
16020
16132
  clientSecret?: (string | null)
16021
16133
  }
16022
16134
  }
16135
+ /**
16136
+ * The hosted sign-in / sign-up / recovery pages: whether they are served, and the product name, logo, colours and footer links they render with. Merged field-by-field, so setting one colour leaves the rest alone.
16137
+ */
16138
+ hosted?: {
16139
+ /**
16140
+ * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
16141
+ */
16142
+ enabled?: boolean
16143
+ /**
16144
+ * Absolute https URL of a logo rendered above the form. Null renders no logo.
16145
+ */
16146
+ logoUrl?: (string | null)
16147
+ /**
16148
+ * Terms link rendered in the footer. Null renders no link.
16149
+ */
16150
+ termsUrl?: (string | null)
16151
+ /**
16152
+ * CSS colour of the body text.
16153
+ */
16154
+ textColor?: string
16155
+ /**
16156
+ * One line under the card. Null renders no footer.
16157
+ */
16158
+ footerText?: (string | null)
16159
+ /**
16160
+ * Privacy-policy link rendered in the footer. Null renders no link.
16161
+ */
16162
+ privacyUrl?: (string | null)
16163
+ /**
16164
+ * CSS colour for the submit button, the links and the focus ring.
16165
+ */
16166
+ accentColor?: string
16167
+ /**
16168
+ * Shown in the heading and the page title. Default "This product".
16169
+ */
16170
+ productName?: string
16171
+ /**
16172
+ * CSS length for the card and its controls, e.g. "12px".
16173
+ */
16174
+ borderRadius?: string
16175
+ /**
16176
+ * CSS colour of the card itself.
16177
+ */
16178
+ surfaceColor?: string
16179
+ /**
16180
+ * CSS colour of secondary text and hints.
16181
+ */
16182
+ mutedTextColor?: string
16183
+ /**
16184
+ * CSS colour of the page behind the card.
16185
+ */
16186
+ backgroundColor?: string
16187
+ }
16023
16188
  /**
16024
16189
  * Invite lifetime and re-invite cooldown. Merged field-by-field.
16025
16190
  */
@@ -16365,6 +16530,56 @@ github: UsersConfigUpsertOutputGoogle
16365
16530
  google: UsersConfigUpsertOutputGoogle
16366
16531
  }
16367
16532
  }
16533
+ hosted: {
16534
+ /**
16535
+ * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
16536
+ */
16537
+ enabled: boolean
16538
+ /**
16539
+ * Absolute https URL of a logo rendered above the form. Null renders no logo.
16540
+ */
16541
+ logoUrl: (string | null)
16542
+ /**
16543
+ * Terms link rendered in the footer. Null renders no link.
16544
+ */
16545
+ termsUrl: (string | null)
16546
+ /**
16547
+ * CSS colour of the body text.
16548
+ */
16549
+ textColor: string
16550
+ /**
16551
+ * One line under the card. Null renders no footer.
16552
+ */
16553
+ footerText: (string | null)
16554
+ /**
16555
+ * Privacy-policy link rendered in the footer. Null renders no link.
16556
+ */
16557
+ privacyUrl: (string | null)
16558
+ /**
16559
+ * CSS colour for the submit button, the links and the focus ring.
16560
+ */
16561
+ accentColor: string
16562
+ /**
16563
+ * Shown in the heading and the page title. Default "This product".
16564
+ */
16565
+ productName: string
16566
+ /**
16567
+ * CSS length for the card and its controls, e.g. "12px".
16568
+ */
16569
+ borderRadius: string
16570
+ /**
16571
+ * CSS colour of the card itself.
16572
+ */
16573
+ surfaceColor: string
16574
+ /**
16575
+ * CSS colour of secondary text and hints.
16576
+ */
16577
+ mutedTextColor: string
16578
+ /**
16579
+ * CSS colour of the page behind the card.
16580
+ */
16581
+ backgroundColor: string
16582
+ }
16368
16583
  invite: {
16369
16584
  /**
16370
16585
  * How long an invite link stays usable, in days. Default 14.