@lessly/sdk-app 25.0.0 → 27.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-DpY3PlYJ.d.cts → client.gen-BxrBJi8X.d.cts} +399 -98
  10. package/dist/{client.gen-DpY3PlYJ.d.ts → client.gen-BxrBJi8X.d.ts} +399 -98
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.cjs +5 -0
  14. package/dist/deployment/index.cjs.map +1 -1
  15. package/dist/deployment/index.d.cts +6 -2
  16. package/dist/deployment/index.d.ts +6 -2
  17. package/dist/deployment/index.js +5 -1
  18. package/dist/deployment/index.js.map +1 -1
  19. package/dist/index.cjs +119 -13
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.js +119 -13
  24. package/dist/index.js.map +1 -1
  25. package/dist/mail/index.d.cts +2 -2
  26. package/dist/mail/index.d.ts +2 -2
  27. package/dist/organization/index.d.cts +1 -1
  28. package/dist/organization/index.d.ts +1 -1
  29. package/dist/playground/index.cjs +66 -0
  30. package/dist/playground/index.cjs.map +1 -0
  31. package/dist/playground/index.d.cts +52 -0
  32. package/dist/playground/index.d.ts +52 -0
  33. package/dist/playground/index.js +53 -0
  34. package/dist/playground/index.js.map +1 -0
  35. package/dist/realtime/index.d.cts +1 -1
  36. package/dist/realtime/index.d.ts +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 +119 -13
  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 +57 -5
  48. package/src/gen/deployment/index.ts +1 -1
  49. package/src/gen/deployment/queryOptions.gen.ts +7 -0
  50. package/src/gen/manifest.gen.ts +1 -1
  51. package/src/gen/playground/index.ts +3 -0
  52. package/src/gen/playground/queryOptions.gen.ts +86 -0
  53. package/src/gen/types.gen.ts +402 -96
@@ -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
  }
@@ -1764,6 +1672,8 @@ idleMinutes: number
1764
1672
  scaleToZero: boolean
1765
1673
  containerPort: number
1766
1674
  environmentId: string
1675
+ buildMachineType?: (string | null)
1676
+ suspendedByBilling?: boolean
1767
1677
  lastReplicasRunning: number
1768
1678
  scaleToZeroEligibility?: {
1769
1679
  reasons: string[]
@@ -2719,7 +2629,7 @@ baseEnvironmentId: (string | null)
2719
2629
  }
2720
2630
 
2721
2631
  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")
2632
+ 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.requeue-failed" | "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" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
2723
2633
  limit?: number
2724
2634
  since?: string
2725
2635
  until?: string
@@ -2728,7 +2638,7 @@ environmentId: string
2728
2638
 
2729
2639
  export type DeploymentEventsListByEnvironmentOutput = {
2730
2640
  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")
2641
+ 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.requeue-failed" | "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" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
2732
2642
  payload: {
2733
2643
  [k: string]: unknown
2734
2644
  }
@@ -2741,7 +2651,7 @@ environmentId: (string | null)
2741
2651
  }[]
2742
2652
 
2743
2653
  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")
2654
+ 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.requeue-failed" | "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" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
2745
2655
  limit?: number
2746
2656
  since?: string
2747
2657
  until?: string
@@ -2751,7 +2661,7 @@ deploymentId?: string
2751
2661
 
2752
2662
  export type DeploymentEventsListByServiceOutput = {
2753
2663
  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")
2664
+ 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.requeue-failed" | "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" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
2755
2665
  payload: {
2756
2666
  [k: string]: unknown
2757
2667
  }
@@ -3315,6 +3225,8 @@ idleMinutes: number
3315
3225
  scaleToZero: boolean
3316
3226
  containerPort: number
3317
3227
  environmentId: string
3228
+ buildMachineType?: (string | null)
3229
+ suspendedByBilling?: boolean
3318
3230
  lastReplicasRunning: number
3319
3231
  scaleToZeroEligibility?: {
3320
3232
  reasons: string[]
@@ -3418,6 +3330,8 @@ idleMinutes: number
3418
3330
  scaleToZero: boolean
3419
3331
  containerPort: number
3420
3332
  environmentId: string
3333
+ buildMachineType?: (string | null)
3334
+ suspendedByBilling?: boolean
3421
3335
  lastReplicasRunning: number
3422
3336
  scaleToZeroEligibility?: {
3423
3337
  reasons: string[]
@@ -3488,6 +3402,8 @@ idleMinutes: number
3488
3402
  scaleToZero: boolean
3489
3403
  containerPort: number
3490
3404
  environmentId: string
3405
+ buildMachineType?: (string | null)
3406
+ suspendedByBilling?: boolean
3491
3407
  lastReplicasRunning: number
3492
3408
  scaleToZeroEligibility?: {
3493
3409
  reasons: string[]
@@ -3635,6 +3551,8 @@ idleMinutes: number
3635
3551
  scaleToZero: boolean
3636
3552
  containerPort: number
3637
3553
  environmentId: string
3554
+ buildMachineType?: (string | null)
3555
+ suspendedByBilling?: boolean
3638
3556
  lastReplicasRunning: number
3639
3557
  scaleToZeroEligibility?: {
3640
3558
  reasons: string[]
@@ -3695,6 +3613,7 @@ memory?: string
3695
3613
  idleMinutes?: number
3696
3614
  scaleToZero?: boolean
3697
3615
  containerPort?: number
3616
+ buildMachineType?: (("E2_MEDIUM" | "E2_HIGHCPU_8") | null)
3698
3617
  }
3699
3618
  export interface DeploymentServiceUpdateInputReadiness {
3700
3619
  path: string
@@ -3756,6 +3675,8 @@ idleMinutes: number
3756
3675
  scaleToZero: boolean
3757
3676
  containerPort: number
3758
3677
  environmentId: string
3678
+ buildMachineType?: (string | null)
3679
+ suspendedByBilling?: boolean
3759
3680
  lastReplicasRunning: number
3760
3681
  scaleToZeroEligibility?: {
3761
3682
  reasons: string[]
@@ -3837,6 +3758,18 @@ ownerIdentityId: string
3837
3758
  fingerprintSha256: string
3838
3759
  }
3839
3760
 
3761
+ export interface DeploymentSuspensionGetInput {
3762
+
3763
+ }
3764
+
3765
+ export interface DeploymentSuspensionGetOutput {
3766
+ stage: (("warned" | "production_grace" | "stopped" | "cleared") | null)
3767
+ reason: (string | null)
3768
+ changedAt: (string | null)
3769
+ graceDeadline: (string | null)
3770
+ enforcementEnabled: boolean
3771
+ }
3772
+
3840
3773
  export interface DeploymentVariableListInput {
3841
3774
  serviceId: string
3842
3775
  }
@@ -13566,6 +13499,226 @@ name: string
13566
13499
  activeProductId: (string | null)
13567
13500
  }
13568
13501
 
13502
+ export interface PlaygroundAnalyticsOverviewInput {
13503
+ /**
13504
+ * Max records per entity in recent[]; omit for the endpoint default
13505
+ */
13506
+ limit?: number
13507
+ }
13508
+
13509
+ export interface PlaygroundAnalyticsOverviewOutput {
13510
+ ok: boolean
13511
+ minted: boolean
13512
+ overview?: unknown
13513
+ http_status: number
13514
+ }
13515
+
13516
+ export interface PlaygroundBillingEntitlementsInput {
13517
+
13518
+ }
13519
+
13520
+ export interface PlaygroundBillingEntitlementsOutput {
13521
+ ok: boolean
13522
+ minted: boolean
13523
+ http_status: number
13524
+ entitlements?: unknown
13525
+ }
13526
+
13527
+ export interface PlaygroundBillingRecordUsageInput {
13528
+ /**
13529
+ * Quantity of events to record against playground-events (SUM); defaults to 1
13530
+ */
13531
+ value?: number
13532
+ }
13533
+
13534
+ export interface PlaygroundBillingRecordUsageOutput {
13535
+ minted: boolean
13536
+ accepted: (number | null)
13537
+ recorded: boolean
13538
+ duplicates: (number | null)
13539
+ http_status: number
13540
+ }
13541
+
13542
+ export interface PlaygroundClickupCreateTaskInput {
13543
+ /**
13544
+ * Task title; defaults to a fixture label
13545
+ */
13546
+ name?: string
13547
+ /**
13548
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13549
+ */
13550
+ listId?: string
13551
+ }
13552
+
13553
+ export interface PlaygroundClickupCreateTaskOutput {
13554
+ minted: boolean
13555
+ task_id: (string | null)
13556
+ list_status: number
13557
+ vend_status: number
13558
+ clickup_status: number
13559
+ installation_count: number
13560
+ }
13561
+
13562
+ export interface PlaygroundClickupGetLastWebhookInput {
13563
+
13564
+ }
13565
+
13566
+ export type PlaygroundClickupGetLastWebhookOutput = ({
13567
+ payload: string
13568
+ event_id: string
13569
+ provider: string
13570
+ verified: boolean
13571
+ product_id: string
13572
+ occurred_at: string
13573
+ connector_id: string
13574
+ clickup_event: (string | null)
13575
+ receipt_count: number
13576
+ } | {
13577
+ found: false
13578
+ })
13579
+
13580
+ export interface PlaygroundClickupGetOverviewInput {
13581
+
13582
+ }
13583
+
13584
+ export interface PlaygroundClickupGetOverviewOutput {
13585
+ team: ({
13586
+ teamId: string
13587
+ teamName: string
13588
+ } | null)
13589
+ lists: PlaygroundClickupGetOverviewOutputItems[]
13590
+ tasks: {
13591
+ id: string
13592
+ name: string
13593
+ status: (string | null)
13594
+ }[]
13595
+ minted: boolean
13596
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
13597
+ list_status: number
13598
+ vend_status: number
13599
+ lists_status: number
13600
+ tasks_status: number
13601
+ spaces_status: number
13602
+ folders_status: number
13603
+ installation_count: number
13604
+ }
13605
+ export interface PlaygroundClickupGetOverviewOutputItems {
13606
+ id: string
13607
+ name: string
13608
+ }
13609
+
13610
+ export interface PlaygroundGdriveGetLastChangeInput {
13611
+
13612
+ }
13613
+
13614
+ export type PlaygroundGdriveGetLastChangeOutput = ({
13615
+ file_id: string
13616
+ removed: boolean
13617
+ file_name: (string | null)
13618
+ mime_type: (string | null)
13619
+ product_id: string
13620
+ occurred_at: string
13621
+ connector_id: string
13622
+ resource_state: string
13623
+ } | {
13624
+ found: false
13625
+ })
13626
+
13627
+ export interface PlaygroundGdriveReadFileInput {
13628
+ /**
13629
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13630
+ */
13631
+ fileId?: string
13632
+ }
13633
+
13634
+ export interface PlaygroundGdriveReadFileOutput {
13635
+ minted: boolean
13636
+ file_id: (string | null)
13637
+ file_name: (string | null)
13638
+ mime_type: (string | null)
13639
+ file_count: number
13640
+ get_status: number
13641
+ list_status: number
13642
+ vend_status: number
13643
+ content_bytes: (number | null)
13644
+ }
13645
+
13646
+ export interface PlaygroundGoogleadsReadCustomerInput {
13647
+
13648
+ }
13649
+
13650
+ export interface PlaygroundGoogleadsReadCustomerOutput {
13651
+ minted: boolean
13652
+ vended: boolean
13653
+ customer_id: (string | null)
13654
+ vend_status: number
13655
+ result_count: number
13656
+ search_status: number
13657
+ login_customer_id: (string | null)
13658
+ }
13659
+
13660
+ export interface PlaygroundLifecycleGetStateInput {
13661
+
13662
+ }
13663
+
13664
+ export interface PlaygroundLifecycleGetStateOutput {
13665
+ blocked: boolean
13666
+ archived: boolean
13667
+ productId: string
13668
+ lastBlockTransition: ({
13669
+ eventId: string
13670
+ eventName: string
13671
+ productId: string
13672
+ occurredAt: string
13673
+ recordedAt: string
13674
+ receiptCount: number
13675
+ organizationId: string
13676
+ cascadedFromOrg: boolean
13677
+ } | null)
13678
+ lastArchiveTransition: ({
13679
+ eventId: string
13680
+ eventName: string
13681
+ productId: string
13682
+ occurredAt: string
13683
+ recordedAt: string
13684
+ receiptCount: number
13685
+ organizationId: string
13686
+ cascadedFromOrg: boolean
13687
+ } | null)
13688
+ }
13689
+
13690
+ export interface PlaygroundLifecycleListEventsInput {
13691
+
13692
+ }
13693
+
13694
+ export type PlaygroundLifecycleListEventsOutput = {
13695
+ eventId: string
13696
+ eventName: string
13697
+ productId: string
13698
+ occurredAt: string
13699
+ recordedAt: string
13700
+ receiptCount: number
13701
+ organizationId: string
13702
+ cascadedFromOrg: boolean
13703
+ }[]
13704
+
13705
+ export interface PlaygroundWebhookGetLastInput {
13706
+
13707
+ }
13708
+
13709
+ export type PlaygroundWebhookGetLastOutput = ({
13710
+ payload?: unknown
13711
+ event_id: string
13712
+ provider: string
13713
+ verified: boolean
13714
+ product_id: string
13715
+ occurred_at: string
13716
+ connector_id: string
13717
+ delivery_count: number
13718
+ } | {
13719
+ found: false
13720
+ })
13721
+
13569
13722
  export interface RealtimeArchiveExportInput {
13570
13723
  /**
13571
13724
  * Only entries with ts <= to_ts (epoch ms)
@@ -15671,6 +15824,56 @@ github: UsersConfigGetOutputGoogle
15671
15824
  google: UsersConfigGetOutputGoogle
15672
15825
  }
15673
15826
  }
15827
+ hosted: {
15828
+ /**
15829
+ * 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.
15830
+ */
15831
+ enabled: boolean
15832
+ /**
15833
+ * Absolute https URL of a logo rendered above the form. Null renders no logo.
15834
+ */
15835
+ logoUrl: (string | null)
15836
+ /**
15837
+ * Terms link rendered in the footer. Null renders no link.
15838
+ */
15839
+ termsUrl: (string | null)
15840
+ /**
15841
+ * CSS colour of the body text.
15842
+ */
15843
+ textColor: string
15844
+ /**
15845
+ * One line under the card. Null renders no footer.
15846
+ */
15847
+ footerText: (string | null)
15848
+ /**
15849
+ * Privacy-policy link rendered in the footer. Null renders no link.
15850
+ */
15851
+ privacyUrl: (string | null)
15852
+ /**
15853
+ * CSS colour for the submit button, the links and the focus ring.
15854
+ */
15855
+ accentColor: string
15856
+ /**
15857
+ * Shown in the heading and the page title. Default "This product".
15858
+ */
15859
+ productName: string
15860
+ /**
15861
+ * CSS length for the card and its controls, e.g. "12px".
15862
+ */
15863
+ borderRadius: string
15864
+ /**
15865
+ * CSS colour of the card itself.
15866
+ */
15867
+ surfaceColor: string
15868
+ /**
15869
+ * CSS colour of secondary text and hints.
15870
+ */
15871
+ mutedTextColor: string
15872
+ /**
15873
+ * CSS colour of the page behind the card.
15874
+ */
15875
+ backgroundColor: string
15876
+ }
15674
15877
  invite: {
15675
15878
  /**
15676
15879
  * How long an invite link stays usable, in days. Default 14.
@@ -15965,6 +16168,59 @@ clientId?: (string | null)
15965
16168
  clientSecret?: (string | null)
15966
16169
  }
15967
16170
  }
16171
+ /**
16172
+ * 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.
16173
+ */
16174
+ hosted?: {
16175
+ /**
16176
+ * 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.
16177
+ */
16178
+ enabled?: boolean
16179
+ /**
16180
+ * Absolute https URL of a logo rendered above the form. Null renders no logo.
16181
+ */
16182
+ logoUrl?: (string | null)
16183
+ /**
16184
+ * Terms link rendered in the footer. Null renders no link.
16185
+ */
16186
+ termsUrl?: (string | null)
16187
+ /**
16188
+ * CSS colour of the body text.
16189
+ */
16190
+ textColor?: string
16191
+ /**
16192
+ * One line under the card. Null renders no footer.
16193
+ */
16194
+ footerText?: (string | null)
16195
+ /**
16196
+ * Privacy-policy link rendered in the footer. Null renders no link.
16197
+ */
16198
+ privacyUrl?: (string | null)
16199
+ /**
16200
+ * CSS colour for the submit button, the links and the focus ring.
16201
+ */
16202
+ accentColor?: string
16203
+ /**
16204
+ * Shown in the heading and the page title. Default "This product".
16205
+ */
16206
+ productName?: string
16207
+ /**
16208
+ * CSS length for the card and its controls, e.g. "12px".
16209
+ */
16210
+ borderRadius?: string
16211
+ /**
16212
+ * CSS colour of the card itself.
16213
+ */
16214
+ surfaceColor?: string
16215
+ /**
16216
+ * CSS colour of secondary text and hints.
16217
+ */
16218
+ mutedTextColor?: string
16219
+ /**
16220
+ * CSS colour of the page behind the card.
16221
+ */
16222
+ backgroundColor?: string
16223
+ }
15968
16224
  /**
15969
16225
  * Invite lifetime and re-invite cooldown. Merged field-by-field.
15970
16226
  */
@@ -16310,6 +16566,56 @@ github: UsersConfigUpsertOutputGoogle
16310
16566
  google: UsersConfigUpsertOutputGoogle
16311
16567
  }
16312
16568
  }
16569
+ hosted: {
16570
+ /**
16571
+ * 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.
16572
+ */
16573
+ enabled: boolean
16574
+ /**
16575
+ * Absolute https URL of a logo rendered above the form. Null renders no logo.
16576
+ */
16577
+ logoUrl: (string | null)
16578
+ /**
16579
+ * Terms link rendered in the footer. Null renders no link.
16580
+ */
16581
+ termsUrl: (string | null)
16582
+ /**
16583
+ * CSS colour of the body text.
16584
+ */
16585
+ textColor: string
16586
+ /**
16587
+ * One line under the card. Null renders no footer.
16588
+ */
16589
+ footerText: (string | null)
16590
+ /**
16591
+ * Privacy-policy link rendered in the footer. Null renders no link.
16592
+ */
16593
+ privacyUrl: (string | null)
16594
+ /**
16595
+ * CSS colour for the submit button, the links and the focus ring.
16596
+ */
16597
+ accentColor: string
16598
+ /**
16599
+ * Shown in the heading and the page title. Default "This product".
16600
+ */
16601
+ productName: string
16602
+ /**
16603
+ * CSS length for the card and its controls, e.g. "12px".
16604
+ */
16605
+ borderRadius: string
16606
+ /**
16607
+ * CSS colour of the card itself.
16608
+ */
16609
+ surfaceColor: string
16610
+ /**
16611
+ * CSS colour of secondary text and hints.
16612
+ */
16613
+ mutedTextColor: string
16614
+ /**
16615
+ * CSS colour of the page behind the card.
16616
+ */
16617
+ backgroundColor: string
16618
+ }
16313
16619
  invite: {
16314
16620
  /**
16315
16621
  * How long an invite link stays usable, in days. Default 14.