@lessly/sdk-app 22.0.0 → 22.2.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 +5 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +6 -2
  6. package/dist/brain/index.d.ts +6 -2
  7. package/dist/brain/index.js +5 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-Bh9hLF_d.d.cts → client.gen-Cfmw2W7q.d.cts} +239 -365
  10. package/dist/{client.gen-Bh9hLF_d.d.ts → client.gen-Cfmw2W7q.d.ts} +239 -365
  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 +104 -91
  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 +104 -91
  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.cjs +25 -0
  24. package/dist/organization/index.cjs.map +1 -1
  25. package/dist/organization/index.d.cts +22 -2
  26. package/dist/organization/index.d.ts +22 -2
  27. package/dist/organization/index.js +21 -1
  28. package/dist/organization/index.js.map +1 -1
  29. package/dist/realtime/index.cjs +15 -0
  30. package/dist/realtime/index.cjs.map +1 -1
  31. package/dist/realtime/index.d.cts +14 -2
  32. package/dist/realtime/index.d.ts +14 -2
  33. package/dist/realtime/index.js +13 -1
  34. package/dist/realtime/index.js.map +1 -1
  35. package/dist/tracking/index.d.cts +1 -1
  36. package/dist/tracking/index.d.ts +1 -1
  37. package/dist/users/index.d.cts +1 -1
  38. package/dist/users/index.d.ts +1 -1
  39. package/dist/waitlist/index.d.cts +1 -1
  40. package/dist/waitlist/index.d.ts +1 -1
  41. package/package.json +2 -7
  42. package/src/gen/bindings.gen.ts +104 -91
  43. package/src/gen/brain/index.ts +1 -1
  44. package/src/gen/brain/queryOptions.gen.ts +7 -0
  45. package/src/gen/client.gen.ts +35 -52
  46. package/src/gen/manifest.gen.ts +1 -1
  47. package/src/gen/organization/index.ts +1 -1
  48. package/src/gen/organization/queryOptions.gen.ts +32 -0
  49. package/src/gen/realtime/index.ts +1 -1
  50. package/src/gen/realtime/queryOptions.gen.ts +19 -0
  51. package/src/gen/types.gen.ts +230 -358
  52. package/dist/playground/index.cjs +0 -66
  53. package/dist/playground/index.cjs.map +0 -1
  54. package/dist/playground/index.d.cts +0 -52
  55. package/dist/playground/index.d.ts +0 -52
  56. package/dist/playground/index.js +0 -53
  57. package/dist/playground/index.js.map +0 -1
  58. package/src/gen/playground/index.ts +0 -3
  59. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -1028,6 +1028,98 @@ 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
+
1031
1123
  export interface ConsentConfigCookieDomainUpsertInput {
1032
1124
  cookieDomain: ("" | null | string)
1033
1125
  }
@@ -1197,11 +1289,11 @@ type: ("http_cookie" | "local_storage" | "session_storage")
1197
1289
  /**
1198
1290
  * Human-readable description of why the cookie is set
1199
1291
  */
1200
- purpose: string
1292
+ purpose?: string
1201
1293
  /**
1202
1294
  * Duration like "2 years", "session", "30 days"
1203
1295
  */
1204
- storageDuration: string
1296
+ storageDuration?: string
1205
1297
  }[]
1206
1298
  /**
1207
1299
  * Consent category bucket — matches CHECK constraint on consent_providers.category
@@ -1312,11 +1404,11 @@ type: ("http_cookie" | "local_storage" | "session_storage")
1312
1404
  /**
1313
1405
  * Human-readable description of why the cookie is set
1314
1406
  */
1315
- purpose: string
1407
+ purpose?: string
1316
1408
  /**
1317
1409
  * Duration like "2 years", "session", "30 days"
1318
1410
  */
1319
- storageDuration: string
1411
+ storageDuration?: string
1320
1412
  }[]
1321
1413
  /**
1322
1414
  * Consent category bucket — matches CHECK constraint on consent_providers.category
@@ -2627,7 +2719,7 @@ baseEnvironmentId: (string | null)
2627
2719
  }
2628
2720
 
2629
2721
  export interface DeploymentEventsListByEnvironmentInput {
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")
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")
2631
2723
  limit?: number
2632
2724
  since?: string
2633
2725
  until?: string
@@ -2636,7 +2728,7 @@ environmentId: string
2636
2728
 
2637
2729
  export type DeploymentEventsListByEnvironmentOutput = {
2638
2730
  id: string
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")
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")
2640
2732
  payload: {
2641
2733
  [k: string]: unknown
2642
2734
  }
@@ -2649,7 +2741,7 @@ environmentId: (string | null)
2649
2741
  }[]
2650
2742
 
2651
2743
  export interface DeploymentEventsListByServiceInput {
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")
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")
2653
2745
  limit?: number
2654
2746
  since?: string
2655
2747
  until?: string
@@ -2659,7 +2751,7 @@ deploymentId?: string
2659
2751
 
2660
2752
  export type DeploymentEventsListByServiceOutput = {
2661
2753
  id: string
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")
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")
2663
2755
  payload: {
2664
2756
  [k: string]: unknown
2665
2757
  }
@@ -13268,6 +13360,112 @@ archivedAt: (string | null)
13268
13360
  organizationId: string
13269
13361
  }
13270
13362
 
13363
+ export interface OrganizationPublicKeysCreateInput {
13364
+ name: string
13365
+ scope: ("*" | {
13366
+ path?: string
13367
+ method?: string
13368
+ extension: string
13369
+ }[])
13370
+ productId: string
13371
+ }
13372
+
13373
+ export interface OrganizationPublicKeysCreateOutput {
13374
+ id: string
13375
+ key: string
13376
+ name: string
13377
+ scope: ("*" | {
13378
+ path?: string
13379
+ method?: string
13380
+ extension: string
13381
+ }[])
13382
+ imported: boolean
13383
+ createdAt: string
13384
+ createdBy: string
13385
+ keyPrefix: string
13386
+ revokedAt: (string | null)
13387
+ }
13388
+
13389
+ export interface OrganizationPublicKeysListInput {
13390
+ productId: string
13391
+ }
13392
+
13393
+ export interface OrganizationPublicKeysListOutput {
13394
+ keys: {
13395
+ id: string
13396
+ name: string
13397
+ scope: ("*" | {
13398
+ path?: string
13399
+ method?: string
13400
+ extension: string
13401
+ }[])
13402
+ imported: boolean
13403
+ createdAt: string
13404
+ createdBy: string
13405
+ keyPrefix: string
13406
+ revokedAt: (string | null)
13407
+ }[]
13408
+ }
13409
+
13410
+ export interface OrganizationPublicKeysRevokeInput {
13411
+ id: string
13412
+ productId: string
13413
+ }
13414
+
13415
+ export interface OrganizationPublicKeysRevokeOutput {
13416
+ id: string
13417
+ name: string
13418
+ scope: ("*" | {
13419
+ path?: string
13420
+ method?: string
13421
+ extension: string
13422
+ }[])
13423
+ imported: boolean
13424
+ createdAt: string
13425
+ createdBy: string
13426
+ keyPrefix: string
13427
+ revokedAt: (string | null)
13428
+ }
13429
+
13430
+ export interface OrganizationPublicKeysUpdateScopeInput {
13431
+ id: string
13432
+ scope: ("*" | {
13433
+ path?: string
13434
+ method?: string
13435
+ extension: string
13436
+ }[])
13437
+ productId: string
13438
+ }
13439
+
13440
+ export interface OrganizationPublicKeysUpdateScopeOutput {
13441
+ id: string
13442
+ name: string
13443
+ scope: ("*" | {
13444
+ path?: string
13445
+ method?: string
13446
+ extension: string
13447
+ }[])
13448
+ imported: boolean
13449
+ createdAt: string
13450
+ createdBy: string
13451
+ keyPrefix: string
13452
+ revokedAt: (string | null)
13453
+ }
13454
+
13455
+ export interface OrganizationPublicRoutesListInput {
13456
+ productId: string
13457
+ }
13458
+
13459
+ export interface OrganizationPublicRoutesListOutput {
13460
+ routes: {
13461
+ mode: ("open" | "keyed")
13462
+ path: string
13463
+ method: string
13464
+ extension: string
13465
+ publicUrl: string
13466
+ }[]
13467
+ }
13468
+
13271
13469
  export interface OrganizationRolesCreateInput {
13272
13470
  deny?: string[]
13273
13471
  name: string
@@ -13368,226 +13566,53 @@ name: string
13368
13566
  activeProductId: (string | null)
13369
13567
  }
13370
13568
 
13371
- export interface PlaygroundAnalyticsOverviewInput {
13569
+ export interface RealtimeApikeyCreateInput {
13372
13570
  /**
13373
- * Max records per entity in recent[]; omit for the endpoint default
13571
+ * Human-readable label for the key, e.g. "production backend"
13374
13572
  */
13375
- limit?: number
13376
- }
13377
-
13378
- export interface PlaygroundAnalyticsOverviewOutput {
13379
- ok: boolean
13380
- minted: boolean
13381
- overview?: unknown
13382
- http_status: number
13383
- }
13384
-
13385
- export interface PlaygroundBillingEntitlementsInput {
13386
-
13387
- }
13388
-
13389
- export interface PlaygroundBillingEntitlementsOutput {
13390
- ok: boolean
13391
- minted: boolean
13392
- http_status: number
13393
- entitlements?: unknown
13394
- }
13395
-
13396
- export interface PlaygroundBillingRecordUsageInput {
13397
- /**
13398
- * Quantity of events to record against playground-events (SUM); defaults to 1
13399
- */
13400
- value?: number
13401
- }
13402
-
13403
- export interface PlaygroundBillingRecordUsageOutput {
13404
- minted: boolean
13405
- accepted: (number | null)
13406
- recorded: boolean
13407
- duplicates: (number | null)
13408
- http_status: number
13573
+ name: string
13409
13574
  }
13410
13575
 
13411
- export interface PlaygroundClickupCreateTaskInput {
13576
+ export interface RealtimeApikeyCreateOutput {
13412
13577
  /**
13413
- * Task title; defaults to a fixture label
13578
+ * The full rtk_ secret. Shown once — it cannot be retrieved again.
13414
13579
  */
13415
- name?: string
13416
- /**
13417
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13418
- */
13419
- listId?: string
13580
+ key: string
13581
+ apiKey: {
13582
+ id: string
13583
+ name: string
13584
+ prefix: string
13585
+ createdAt: string
13586
+ revokedAt: (string | null)
13420
13587
  }
13421
-
13422
- export interface PlaygroundClickupCreateTaskOutput {
13423
- minted: boolean
13424
- task_id: (string | null)
13425
- list_status: number
13426
- vend_status: number
13427
- clickup_status: number
13428
- installation_count: number
13429
13588
  }
13430
13589
 
13431
- export interface PlaygroundClickupGetLastWebhookInput {
13590
+ export interface RealtimeApikeyListInput {
13432
13591
 
13433
13592
  }
13434
13593
 
13435
- export type PlaygroundClickupGetLastWebhookOutput = ({
13436
- payload: string
13437
- event_id: string
13438
- provider: string
13439
- verified: boolean
13440
- product_id: string
13441
- occurred_at: string
13442
- connector_id: string
13443
- clickup_event: (string | null)
13444
- receipt_count: number
13445
- } | {
13446
- found: false
13447
- })
13448
-
13449
- export interface PlaygroundClickupGetOverviewInput {
13450
-
13451
- }
13452
-
13453
- export interface PlaygroundClickupGetOverviewOutput {
13454
- team: ({
13455
- teamId: string
13456
- teamName: string
13457
- } | null)
13458
- lists: PlaygroundClickupGetOverviewOutputItems[]
13459
- tasks: {
13594
+ export interface RealtimeApikeyListOutput {
13595
+ keys: {
13460
13596
  id: string
13461
13597
  name: string
13462
- status: (string | null)
13598
+ prefix: string
13599
+ createdAt: string
13600
+ revokedAt: (string | null)
13463
13601
  }[]
13464
- minted: boolean
13465
- spaces: PlaygroundClickupGetOverviewOutputItems[]
13466
- list_status: number
13467
- vend_status: number
13468
- lists_status: number
13469
- tasks_status: number
13470
- spaces_status: number
13471
- folders_status: number
13472
- installation_count: number
13473
13602
  }
13474
- export interface PlaygroundClickupGetOverviewOutputItems {
13475
- id: string
13476
- name: string
13477
- }
13478
-
13479
- export interface PlaygroundGdriveGetLastChangeInput {
13480
-
13481
- }
13482
-
13483
- export type PlaygroundGdriveGetLastChangeOutput = ({
13484
- file_id: string
13485
- removed: boolean
13486
- file_name: (string | null)
13487
- mime_type: (string | null)
13488
- product_id: string
13489
- occurred_at: string
13490
- connector_id: string
13491
- resource_state: string
13492
- } | {
13493
- found: false
13494
- })
13495
13603
 
13496
- export interface PlaygroundGdriveReadFileInput {
13604
+ export interface RealtimeApikeyRevokeInput {
13497
13605
  /**
13498
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13606
+ * Api key id to revoke
13499
13607
  */
13500
- fileId?: string
13501
- }
13502
-
13503
- export interface PlaygroundGdriveReadFileOutput {
13504
- minted: boolean
13505
- file_id: (string | null)
13506
- file_name: (string | null)
13507
- mime_type: (string | null)
13508
- file_count: number
13509
- get_status: number
13510
- list_status: number
13511
- vend_status: number
13512
- content_bytes: (number | null)
13513
- }
13514
-
13515
- export interface PlaygroundGoogleadsReadCustomerInput {
13516
-
13517
- }
13518
-
13519
- export interface PlaygroundGoogleadsReadCustomerOutput {
13520
- minted: boolean
13521
- vended: boolean
13522
- customer_id: (string | null)
13523
- vend_status: number
13524
- result_count: number
13525
- search_status: number
13526
- login_customer_id: (string | null)
13527
- }
13528
-
13529
- export interface PlaygroundLifecycleGetStateInput {
13530
-
13531
- }
13532
-
13533
- export interface PlaygroundLifecycleGetStateOutput {
13534
- blocked: boolean
13535
- archived: boolean
13536
- productId: string
13537
- lastBlockTransition: ({
13538
- eventId: string
13539
- eventName: string
13540
- productId: string
13541
- occurredAt: string
13542
- recordedAt: string
13543
- receiptCount: number
13544
- organizationId: string
13545
- cascadedFromOrg: boolean
13546
- } | null)
13547
- lastArchiveTransition: ({
13548
- eventId: string
13549
- eventName: string
13550
- productId: string
13551
- occurredAt: string
13552
- recordedAt: string
13553
- receiptCount: number
13554
- organizationId: string
13555
- cascadedFromOrg: boolean
13556
- } | null)
13557
- }
13558
-
13559
- export interface PlaygroundLifecycleListEventsInput {
13560
-
13608
+ id: string
13561
13609
  }
13562
13610
 
13563
- export type PlaygroundLifecycleListEventsOutput = {
13564
- eventId: string
13565
- eventName: string
13566
- productId: string
13567
- occurredAt: string
13568
- recordedAt: string
13569
- receiptCount: number
13570
- organizationId: string
13571
- cascadedFromOrg: boolean
13572
- }[]
13573
-
13574
- export interface PlaygroundWebhookGetLastInput {
13575
-
13611
+ export interface RealtimeApikeyRevokeOutput {
13612
+ id: string
13613
+ revokedAt: string
13576
13614
  }
13577
13615
 
13578
- export type PlaygroundWebhookGetLastOutput = ({
13579
- payload?: unknown
13580
- event_id: string
13581
- provider: string
13582
- verified: boolean
13583
- product_id: string
13584
- occurred_at: string
13585
- connector_id: string
13586
- delivery_count: number
13587
- } | {
13588
- found: false
13589
- })
13590
-
13591
13616
  export interface RealtimeArchiveExportInput {
13592
13617
  /**
13593
13618
  * Only entries with ts <= to_ts (epoch ms)
@@ -15701,56 +15726,6 @@ github: UsersConfigGetOutputGoogle
15701
15726
  google: UsersConfigGetOutputGoogle
15702
15727
  }
15703
15728
  }
15704
- hosted: {
15705
- /**
15706
- * 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.
15707
- */
15708
- enabled: boolean
15709
- /**
15710
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
15711
- */
15712
- logoUrl: (string | null)
15713
- /**
15714
- * Terms link rendered in the footer. Null renders no link.
15715
- */
15716
- termsUrl: (string | null)
15717
- /**
15718
- * CSS colour of the body text.
15719
- */
15720
- textColor: string
15721
- /**
15722
- * One line under the card. Null renders no footer.
15723
- */
15724
- footerText: (string | null)
15725
- /**
15726
- * Privacy-policy link rendered in the footer. Null renders no link.
15727
- */
15728
- privacyUrl: (string | null)
15729
- /**
15730
- * CSS colour for the submit button, the links and the focus ring.
15731
- */
15732
- accentColor: string
15733
- /**
15734
- * Shown in the heading and the page title. Default "This product".
15735
- */
15736
- productName: string
15737
- /**
15738
- * CSS length for the card and its controls, e.g. "12px".
15739
- */
15740
- borderRadius: string
15741
- /**
15742
- * CSS colour of the card itself.
15743
- */
15744
- surfaceColor: string
15745
- /**
15746
- * CSS colour of secondary text and hints.
15747
- */
15748
- mutedTextColor: string
15749
- /**
15750
- * CSS colour of the page behind the card.
15751
- */
15752
- backgroundColor: string
15753
- }
15754
15729
  invite: {
15755
15730
  /**
15756
15731
  * How long an invite link stays usable, in days. Default 14.
@@ -16045,59 +16020,6 @@ clientId?: (string | null)
16045
16020
  clientSecret?: (string | null)
16046
16021
  }
16047
16022
  }
16048
- /**
16049
- * 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.
16050
- */
16051
- hosted?: {
16052
- /**
16053
- * 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.
16054
- */
16055
- enabled?: boolean
16056
- /**
16057
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
16058
- */
16059
- logoUrl?: (string | null)
16060
- /**
16061
- * Terms link rendered in the footer. Null renders no link.
16062
- */
16063
- termsUrl?: (string | null)
16064
- /**
16065
- * CSS colour of the body text.
16066
- */
16067
- textColor?: string
16068
- /**
16069
- * One line under the card. Null renders no footer.
16070
- */
16071
- footerText?: (string | null)
16072
- /**
16073
- * Privacy-policy link rendered in the footer. Null renders no link.
16074
- */
16075
- privacyUrl?: (string | null)
16076
- /**
16077
- * CSS colour for the submit button, the links and the focus ring.
16078
- */
16079
- accentColor?: string
16080
- /**
16081
- * Shown in the heading and the page title. Default "This product".
16082
- */
16083
- productName?: string
16084
- /**
16085
- * CSS length for the card and its controls, e.g. "12px".
16086
- */
16087
- borderRadius?: string
16088
- /**
16089
- * CSS colour of the card itself.
16090
- */
16091
- surfaceColor?: string
16092
- /**
16093
- * CSS colour of secondary text and hints.
16094
- */
16095
- mutedTextColor?: string
16096
- /**
16097
- * CSS colour of the page behind the card.
16098
- */
16099
- backgroundColor?: string
16100
- }
16101
16023
  /**
16102
16024
  * Invite lifetime and re-invite cooldown. Merged field-by-field.
16103
16025
  */
@@ -16443,56 +16365,6 @@ github: UsersConfigUpsertOutputGoogle
16443
16365
  google: UsersConfigUpsertOutputGoogle
16444
16366
  }
16445
16367
  }
16446
- hosted: {
16447
- /**
16448
- * 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.
16449
- */
16450
- enabled: boolean
16451
- /**
16452
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
16453
- */
16454
- logoUrl: (string | null)
16455
- /**
16456
- * Terms link rendered in the footer. Null renders no link.
16457
- */
16458
- termsUrl: (string | null)
16459
- /**
16460
- * CSS colour of the body text.
16461
- */
16462
- textColor: string
16463
- /**
16464
- * One line under the card. Null renders no footer.
16465
- */
16466
- footerText: (string | null)
16467
- /**
16468
- * Privacy-policy link rendered in the footer. Null renders no link.
16469
- */
16470
- privacyUrl: (string | null)
16471
- /**
16472
- * CSS colour for the submit button, the links and the focus ring.
16473
- */
16474
- accentColor: string
16475
- /**
16476
- * Shown in the heading and the page title. Default "This product".
16477
- */
16478
- productName: string
16479
- /**
16480
- * CSS length for the card and its controls, e.g. "12px".
16481
- */
16482
- borderRadius: string
16483
- /**
16484
- * CSS colour of the card itself.
16485
- */
16486
- surfaceColor: string
16487
- /**
16488
- * CSS colour of secondary text and hints.
16489
- */
16490
- mutedTextColor: string
16491
- /**
16492
- * CSS colour of the page behind the card.
16493
- */
16494
- backgroundColor: string
16495
- }
16496
16368
  invite: {
16497
16369
  /**
16498
16370
  * How long an invite link stays usable, in days. Default 14.