@lessly/sdk-app 20.0.0 → 22.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 (53) 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-BXg4Te77.d.cts → client.gen-Bh9hLF_d.d.cts} +365 -134
  10. package/dist/{client.gen-BXg4Te77.d.ts → client.gen-Bh9hLF_d.d.ts} +365 -134
  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 +91 -25
  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 +91 -25
  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.d.cts +1 -1
  38. package/dist/tracking/index.d.ts +1 -1
  39. package/dist/users/index.d.cts +1 -1
  40. package/dist/users/index.d.ts +1 -1
  41. package/dist/waitlist/index.d.cts +1 -1
  42. package/dist/waitlist/index.d.ts +1 -1
  43. package/package.json +7 -2
  44. package/src/gen/bindings.gen.ts +91 -25
  45. package/src/gen/brain/index.ts +1 -1
  46. package/src/gen/brain/queryOptions.gen.ts +0 -7
  47. package/src/gen/client.gen.ts +52 -16
  48. package/src/gen/manifest.gen.ts +1 -1
  49. package/src/gen/playground/index.ts +3 -0
  50. package/src/gen/playground/queryOptions.gen.ts +86 -0
  51. package/src/gen/realtime/index.ts +1 -1
  52. package/src/gen/realtime/queryOptions.gen.ts +0 -19
  53. package/src/gen/types.gen.ts +358 -124
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { RealtimeApikeyCreateInput, RealtimeApikeyCreateOutput, RealtimeApikeyListInput, RealtimeApikeyListOutput, RealtimeApikeyRevokeInput, RealtimeApikeyRevokeOutput, RealtimeArchiveExportInput, RealtimeArchiveExportOutput, RealtimeArchiveExportStatusInput, RealtimeArchiveExportStatusOutput, RealtimeArchiveGetInput, RealtimeArchiveGetOutput, RealtimeGrantCreateInput, RealtimeGrantCreateOutput, RealtimeGrantListInput, RealtimeGrantListOutput, RealtimeGrantRevokeInput, RealtimeGrantRevokeOutput, RealtimeHistoryGetInput, RealtimeHistoryGetOutput, RealtimeMessagesPublishInput, RealtimeMessagesPublishOutput, RealtimeNamespaceCreateInput, RealtimeNamespaceCreateOutput, RealtimeNamespaceDeleteInput, RealtimeNamespaceDeleteOutput, RealtimeNamespaceGetInput, RealtimeNamespaceGetOutput, RealtimeNamespaceListInput, RealtimeNamespaceListOutput, RealtimeNamespaceUpdateInput, RealtimeNamespaceUpdateOutput, RealtimePresenceEnterInput, RealtimePresenceEnterOutput, RealtimePresenceGetInput, RealtimePresenceGetOutput, RealtimePresenceLeaveInput, RealtimePresenceLeaveOutput, RealtimePresenceStatsInput, RealtimePresenceStatsOutput, RealtimePresenceUpdateInput, RealtimePresenceUpdateOutput, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
3
+ export type { RealtimeArchiveExportInput, RealtimeArchiveExportOutput, RealtimeArchiveExportStatusInput, RealtimeArchiveExportStatusOutput, RealtimeArchiveGetInput, RealtimeArchiveGetOutput, RealtimeGrantCreateInput, RealtimeGrantCreateOutput, RealtimeGrantListInput, RealtimeGrantListOutput, RealtimeGrantRevokeInput, RealtimeGrantRevokeOutput, RealtimeHistoryGetInput, RealtimeHistoryGetOutput, RealtimeMessagesPublishInput, RealtimeMessagesPublishOutput, RealtimeNamespaceCreateInput, RealtimeNamespaceCreateOutput, RealtimeNamespaceDeleteInput, RealtimeNamespaceDeleteOutput, RealtimeNamespaceGetInput, RealtimeNamespaceGetOutput, RealtimeNamespaceListInput, RealtimeNamespaceListOutput, RealtimeNamespaceUpdateInput, RealtimeNamespaceUpdateOutput, RealtimePresenceEnterInput, RealtimePresenceEnterOutput, RealtimePresenceGetInput, RealtimePresenceGetOutput, RealtimePresenceLeaveInput, RealtimePresenceLeaveOutput, RealtimePresenceStatsInput, RealtimePresenceStatsOutput, RealtimePresenceUpdateInput, RealtimePresenceUpdateOutput, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
@@ -1,10 +1,6 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  import type { GeneratedClient } from '../client.gen';
3
3
  import type {
4
- RealtimeApikeyCreateInput,
5
- RealtimeApikeyListInput,
6
- RealtimeApikeyListOutput,
7
- RealtimeApikeyRevokeInput,
8
4
  RealtimeArchiveExportInput,
9
5
  RealtimeArchiveExportStatusInput,
10
6
  RealtimeArchiveExportStatusOutput,
@@ -46,21 +42,6 @@ import type {
46
42
  RealtimeWebhookUpdateInput,
47
43
  } from '../types.gen';
48
44
 
49
- export const realtimeApikeyCreateMutationOptions = (sdk: GeneratedClient) => ({
50
- mutationKey: ['realtime', 'apikey', 'create'],
51
- mutationFn: (input: RealtimeApikeyCreateInput) => sdk['realtime']['apikey']['create'](input),
52
- });
53
-
54
- export const realtimeApikeyListQueryOptions = (sdk: GeneratedClient, input: RealtimeApikeyListInput) => ({
55
- queryKey: ['realtime', 'apikey', 'list', input] as const,
56
- queryFn: () => sdk['realtime']['apikey']['list'](input),
57
- });
58
-
59
- export const realtimeApikeyRevokeMutationOptions = (sdk: GeneratedClient) => ({
60
- mutationKey: ['realtime', 'apikey', 'revoke'],
61
- mutationFn: (input: RealtimeApikeyRevokeInput) => sdk['realtime']['apikey']['revoke'](input),
62
- });
63
-
64
45
  export const realtimeArchiveExportMutationOptions = (sdk: GeneratedClient) => ({
65
46
  mutationKey: ['realtime', 'archive', 'export'],
66
47
  mutationFn: (input: RealtimeArchiveExportInput) => sdk['realtime']['archive']['export'](input),
@@ -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
  }
@@ -13460,53 +13368,226 @@ name: string
13460
13368
  activeProductId: (string | null)
13461
13369
  }
13462
13370
 
13463
- export interface RealtimeApikeyCreateInput {
13371
+ export interface PlaygroundAnalyticsOverviewInput {
13464
13372
  /**
13465
- * Human-readable label for the key, e.g. "production backend"
13373
+ * Max records per entity in recent[]; omit for the endpoint default
13466
13374
  */
13467
- name: string
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
+
13468
13387
  }
13469
13388
 
13470
- export interface RealtimeApikeyCreateOutput {
13389
+ export interface PlaygroundBillingEntitlementsOutput {
13390
+ ok: boolean
13391
+ minted: boolean
13392
+ http_status: number
13393
+ entitlements?: unknown
13394
+ }
13395
+
13396
+ export interface PlaygroundBillingRecordUsageInput {
13471
13397
  /**
13472
- * The full rtk_ secret. Shown once it cannot be retrieved again.
13398
+ * Quantity of events to record against playground-events (SUM); defaults to 1
13473
13399
  */
13474
- key: string
13475
- apiKey: {
13476
- id: string
13477
- name: string
13478
- prefix: string
13479
- createdAt: string
13480
- revokedAt: (string | null)
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
13409
+ }
13410
+
13411
+ export interface PlaygroundClickupCreateTaskInput {
13412
+ /**
13413
+ * Task title; defaults to a fixture label
13414
+ */
13415
+ name?: string
13416
+ /**
13417
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13418
+ */
13419
+ listId?: string
13481
13420
  }
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
13482
13429
  }
13483
13430
 
13484
- export interface RealtimeApikeyListInput {
13431
+ export interface PlaygroundClickupGetLastWebhookInput {
13485
13432
 
13486
13433
  }
13487
13434
 
13488
- export interface RealtimeApikeyListOutput {
13489
- keys: {
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: {
13490
13460
  id: string
13491
13461
  name: string
13492
- prefix: string
13493
- createdAt: string
13494
- revokedAt: (string | null)
13462
+ status: (string | null)
13495
13463
  }[]
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
13496
13473
  }
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
+ })
13497
13495
 
13498
- export interface RealtimeApikeyRevokeInput {
13496
+ export interface PlaygroundGdriveReadFileInput {
13499
13497
  /**
13500
- * Api key id to revoke
13498
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13501
13499
  */
13502
- id: string
13500
+ fileId?: string
13503
13501
  }
13504
13502
 
13505
- export interface RealtimeApikeyRevokeOutput {
13506
- id: string
13507
- revokedAt: string
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)
13508
13513
  }
13509
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
+
13561
+ }
13562
+
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
+
13576
+ }
13577
+
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
+
13510
13591
  export interface RealtimeArchiveExportInput {
13511
13592
  /**
13512
13593
  * Only entries with ts <= to_ts (epoch ms)
@@ -15620,6 +15701,56 @@ github: UsersConfigGetOutputGoogle
15620
15701
  google: UsersConfigGetOutputGoogle
15621
15702
  }
15622
15703
  }
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
+ }
15623
15754
  invite: {
15624
15755
  /**
15625
15756
  * How long an invite link stays usable, in days. Default 14.
@@ -15914,6 +16045,59 @@ clientId?: (string | null)
15914
16045
  clientSecret?: (string | null)
15915
16046
  }
15916
16047
  }
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
+ }
15917
16101
  /**
15918
16102
  * Invite lifetime and re-invite cooldown. Merged field-by-field.
15919
16103
  */
@@ -16259,6 +16443,56 @@ github: UsersConfigUpsertOutputGoogle
16259
16443
  google: UsersConfigUpsertOutputGoogle
16260
16444
  }
16261
16445
  }
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
+ }
16262
16496
  invite: {
16263
16497
  /**
16264
16498
  * How long an invite link stays usable, in days. Default 14.