@lessly/sdk-app 120.0.0 → 120.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 (35) hide show
  1. package/CHANGELOG.md +7 -49
  2. package/dist/_types/gen/client.gen.d.ts +42 -1
  3. package/dist/_types/gen/deployment/index.d.ts +1 -1
  4. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +9 -1
  5. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  6. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  7. package/dist/_types/gen/playground/index.d.ts +3 -0
  8. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  9. package/dist/_types/gen/types.gen.d.ts +498 -7
  10. package/dist/chunk-3QRFL3AM.js +12425 -0
  11. package/dist/chunk-3QRFL3AM.js.map +1 -0
  12. package/dist/deployment/index.cjs +10 -0
  13. package/dist/deployment/index.cjs.map +1 -1
  14. package/dist/deployment/index.js +9 -1
  15. package/dist/deployment/index.js.map +1 -1
  16. package/dist/index.cjs +252 -45
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +24 -12228
  19. package/dist/index.js.map +1 -1
  20. package/dist/playground/index.cjs +106 -0
  21. package/dist/playground/index.cjs.map +1 -0
  22. package/dist/playground/index.d.cts +1 -0
  23. package/dist/playground/index.d.ts +1 -0
  24. package/dist/playground/index.js +78 -0
  25. package/dist/playground/index.js.map +1 -0
  26. package/package.json +12 -2
  27. package/src/gen/bindings.gen.ts +239 -46
  28. package/src/gen/client.gen.ts +79 -0
  29. package/src/gen/deployment/index.ts +1 -1
  30. package/src/gen/deployment/queryOptions.gen.ts +13 -0
  31. package/src/gen/manifest.gen.ts +23 -1
  32. package/src/gen/playground/connect.gen.ts +9 -0
  33. package/src/gen/playground/index.ts +4 -0
  34. package/src/gen/playground/queryOptions.gen.ts +119 -0
  35. package/src/gen/types.gen.ts +549 -7
@@ -362151,6 +362151,27 @@ id: string
362151
362151
  mode?: string
362152
362152
  name: string
362153
362153
  slug: string
362154
+ /**
362155
+ * Memory of the running version. Absent for static sites and when it could not be read.
362156
+ */
362157
+ memory?: {
362158
+ /**
362159
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
362160
+ */
362161
+ reason: (string | null)
362162
+ /**
362163
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
362164
+ */
362165
+ peakWindow: string
362166
+ /**
362167
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
362168
+ */
362169
+ peak7dBytes: (number | null)
362170
+ /**
362171
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
362172
+ */
362173
+ reservedBytes: (number | null)
362174
+ }
362154
362175
  probes: {
362155
362176
  startup?: {
362156
362177
  path: string
@@ -363368,7 +363389,7 @@ baseEnvironmentId: (string | null)
363368
363389
  }
363369
363390
 
363370
363391
  export interface DeploymentEventsListByEnvironmentInput {
363371
- 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363392
+ 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363372
363393
  limit?: number
363373
363394
  since?: string
363374
363395
  until?: string
@@ -363377,7 +363398,7 @@ environmentId: string
363377
363398
 
363378
363399
  export type DeploymentEventsListByEnvironmentOutput = {
363379
363400
  id: string
363380
- 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363401
+ 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363381
363402
  payload: {
363382
363403
  [k: string]: unknown
363383
363404
  }
@@ -363390,7 +363411,7 @@ environmentId: (string | null)
363390
363411
  }[]
363391
363412
 
363392
363413
  export interface DeploymentEventsListByServiceInput {
363393
- 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363414
+ 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363394
363415
  limit?: number
363395
363416
  since?: string
363396
363417
  until?: string
@@ -363400,7 +363421,7 @@ deploymentId?: string
363400
363421
 
363401
363422
  export type DeploymentEventsListByServiceOutput = {
363402
363423
  id: string
363403
- 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363424
+ 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.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363404
363425
  payload: {
363405
363426
  [k: string]: unknown
363406
363427
  }
@@ -363418,7 +363439,30 @@ serviceId: string
363418
363439
 
363419
363440
  export interface DeploymentJobRunOutput {
363420
363441
  id: string
363421
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
363442
+ status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
363443
+ trigger: ("schedule" | "manual")
363444
+ exitCode: (number | null)
363445
+ createdAt: string
363446
+ serviceId: string
363447
+ startedAt: (string | null)
363448
+ finishedAt: (string | null)
363449
+ k8sJobName: string
363450
+ cancelledBy: (string | null)
363451
+ imageDigest: (string | null)
363452
+ triggeredBy: (string | null)
363453
+ deploymentId: (string | null)
363454
+ environmentId: string
363455
+ failureReason: (string | null)
363456
+ }
363457
+
363458
+ export interface DeploymentJobRunCancelInput {
363459
+ runId: string
363460
+ serviceId: string
363461
+ }
363462
+
363463
+ export interface DeploymentJobRunCancelOutput {
363464
+ id: string
363465
+ status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
363422
363466
  trigger: ("schedule" | "manual")
363423
363467
  exitCode: (number | null)
363424
363468
  createdAt: string
@@ -363426,6 +363470,7 @@ serviceId: string
363426
363470
  startedAt: (string | null)
363427
363471
  finishedAt: (string | null)
363428
363472
  k8sJobName: string
363473
+ cancelledBy: (string | null)
363429
363474
  imageDigest: (string | null)
363430
363475
  triggeredBy: (string | null)
363431
363476
  deploymentId: (string | null)
@@ -363441,7 +363486,7 @@ serviceId: string
363441
363486
  export interface DeploymentJobRunLogsOutput {
363442
363487
  live: boolean
363443
363488
  logs: string
363444
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
363489
+ status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
363445
363490
  }
363446
363491
 
363447
363492
  export interface DeploymentJobRunsListInput {
@@ -363453,7 +363498,7 @@ serviceId: string
363453
363498
  export interface DeploymentJobRunsListOutput {
363454
363499
  items: {
363455
363500
  id: string
363456
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
363501
+ status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
363457
363502
  trigger: ("schedule" | "manual")
363458
363503
  exitCode: (number | null)
363459
363504
  createdAt: string
@@ -363461,6 +363506,7 @@ serviceId: string
363461
363506
  startedAt: (string | null)
363462
363507
  finishedAt: (string | null)
363463
363508
  k8sJobName: string
363509
+ cancelledBy: (string | null)
363464
363510
  imageDigest: (string | null)
363465
363511
  triggeredBy: (string | null)
363466
363512
  deploymentId: (string | null)
@@ -363917,6 +363963,25 @@ maxPreviews: number
363917
363963
  baseEnvironmentId: string
363918
363964
  }
363919
363965
 
363966
+ export interface DeploymentResourcePresetsListInput {
363967
+
363968
+ }
363969
+
363970
+ export type DeploymentResourcePresetsListOutput = {
363971
+ /**
363972
+ * CPU limit as a Kubernetes quantity, e.g. 500m or 2.
363973
+ */
363974
+ cpu: string
363975
+ /**
363976
+ * Preset name: XS, S, M, L, XL or 2XL.
363977
+ */
363978
+ key: string
363979
+ /**
363980
+ * Memory limit as a Kubernetes quantity, e.g. 1Gi.
363981
+ */
363982
+ memory: string
363983
+ }[]
363984
+
363920
363985
  export interface DeploymentServiceCreateInput {
363921
363986
  /**
363922
363987
  * 'persistent' (a long-running Deployment behind a Service — the default) or 'scheduled' (a k8s CronJob: no port, no replicas, no route). Immutable after create.
@@ -364031,6 +364096,27 @@ id: string
364031
364096
  mode?: string
364032
364097
  name: string
364033
364098
  slug: string
364099
+ /**
364100
+ * Memory of the running version. Absent for static sites and when it could not be read.
364101
+ */
364102
+ memory?: {
364103
+ /**
364104
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364105
+ */
364106
+ reason: (string | null)
364107
+ /**
364108
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364109
+ */
364110
+ peakWindow: string
364111
+ /**
364112
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364113
+ */
364114
+ peak7dBytes: (number | null)
364115
+ /**
364116
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364117
+ */
364118
+ reservedBytes: (number | null)
364119
+ }
364034
364120
  probes: {
364035
364121
  startup?: {
364036
364122
  path: string
@@ -364224,6 +364310,27 @@ id: string
364224
364310
  mode?: string
364225
364311
  name: string
364226
364312
  slug: string
364313
+ /**
364314
+ * Memory of the running version. Absent for static sites and when it could not be read.
364315
+ */
364316
+ memory?: {
364317
+ /**
364318
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364319
+ */
364320
+ reason: (string | null)
364321
+ /**
364322
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364323
+ */
364324
+ peakWindow: string
364325
+ /**
364326
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364327
+ */
364328
+ peak7dBytes: (number | null)
364329
+ /**
364330
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364331
+ */
364332
+ reservedBytes: (number | null)
364333
+ }
364227
364334
  probes: {
364228
364335
  startup?: {
364229
364336
  path: string
@@ -364384,6 +364491,27 @@ id: string
364384
364491
  mode?: string
364385
364492
  name: string
364386
364493
  slug: string
364494
+ /**
364495
+ * Memory of the running version. Absent for static sites and when it could not be read.
364496
+ */
364497
+ memory?: {
364498
+ /**
364499
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364500
+ */
364501
+ reason: (string | null)
364502
+ /**
364503
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364504
+ */
364505
+ peakWindow: string
364506
+ /**
364507
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364508
+ */
364509
+ peak7dBytes: (number | null)
364510
+ /**
364511
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364512
+ */
364513
+ reservedBytes: (number | null)
364514
+ }
364387
364515
  probes: {
364388
364516
  startup?: {
364389
364517
  path: string
@@ -364623,6 +364751,27 @@ id: string
364623
364751
  mode?: string
364624
364752
  name: string
364625
364753
  slug: string
364754
+ /**
364755
+ * Memory of the running version. Absent for static sites and when it could not be read.
364756
+ */
364757
+ memory?: {
364758
+ /**
364759
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364760
+ */
364761
+ reason: (string | null)
364762
+ /**
364763
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364764
+ */
364765
+ peakWindow: string
364766
+ /**
364767
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364768
+ */
364769
+ peak7dBytes: (number | null)
364770
+ /**
364771
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364772
+ */
364773
+ reservedBytes: (number | null)
364774
+ }
364626
364775
  probes: {
364627
364776
  startup?: {
364628
364777
  path: string
@@ -364891,6 +365040,27 @@ id: string
364891
365040
  mode?: string
364892
365041
  name: string
364893
365042
  slug: string
365043
+ /**
365044
+ * Memory of the running version. Absent for static sites and when it could not be read.
365045
+ */
365046
+ memory?: {
365047
+ /**
365048
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
365049
+ */
365050
+ reason: (string | null)
365051
+ /**
365052
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
365053
+ */
365054
+ peakWindow: string
365055
+ /**
365056
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
365057
+ */
365058
+ peak7dBytes: (number | null)
365059
+ /**
365060
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
365061
+ */
365062
+ reservedBytes: (number | null)
365063
+ }
364894
365064
  probes: {
364895
365065
  startup?: {
364896
365066
  path: string
@@ -381707,6 +381877,378 @@ export interface OrganizationYoutubeInstallOutput {
381707
381877
  url: string
381708
381878
  }
381709
381879
 
381880
+ export interface PlaygroundAnalyticsOverviewInput {
381881
+ /**
381882
+ * Max records per entity in recent[]; omit for the endpoint default
381883
+ */
381884
+ limit?: number
381885
+ }
381886
+
381887
+ export interface PlaygroundAnalyticsOverviewOutput {
381888
+ ok: boolean
381889
+ minted: boolean
381890
+ overview?: unknown
381891
+ http_status: number
381892
+ }
381893
+
381894
+ export interface PlaygroundBillingEntitlementsInput {
381895
+
381896
+ }
381897
+
381898
+ export interface PlaygroundBillingEntitlementsOutput {
381899
+ ok: boolean
381900
+ minted: boolean
381901
+ http_status: number
381902
+ entitlements?: unknown
381903
+ }
381904
+
381905
+ export interface PlaygroundBillingRecordUsageInput {
381906
+ /**
381907
+ * Quantity of events to record against playground-events (SUM); defaults to 1
381908
+ */
381909
+ value?: number
381910
+ }
381911
+
381912
+ export interface PlaygroundBillingRecordUsageOutput {
381913
+ minted: boolean
381914
+ accepted: (number | null)
381915
+ recorded: boolean
381916
+ duplicates: (number | null)
381917
+ http_status: number
381918
+ }
381919
+
381920
+ export interface PlaygroundClickupCreateTaskInput {
381921
+ /**
381922
+ * Task title; defaults to a fixture label
381923
+ */
381924
+ name?: string
381925
+ /**
381926
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381927
+ */
381928
+ listId?: string
381929
+ }
381930
+
381931
+ export interface PlaygroundClickupCreateTaskOutput {
381932
+ minted: boolean
381933
+ task_id: (string | null)
381934
+ list_status: number
381935
+ vend_status: number
381936
+ clickup_status: number
381937
+ installation_count: number
381938
+ }
381939
+
381940
+ export interface PlaygroundClickupGetLastWebhookInput {
381941
+
381942
+ }
381943
+
381944
+ export type PlaygroundClickupGetLastWebhookOutput = ({
381945
+ payload: string
381946
+ event_id: string
381947
+ provider: string
381948
+ verified: boolean
381949
+ product_id: string
381950
+ occurred_at: string
381951
+ connector_id: string
381952
+ clickup_event: (string | null)
381953
+ receipt_count: number
381954
+ } | {
381955
+ found: false
381956
+ })
381957
+
381958
+ export interface PlaygroundClickupGetOverviewInput {
381959
+
381960
+ }
381961
+
381962
+ export interface PlaygroundClickupGetOverviewOutput {
381963
+ team: ({
381964
+ teamId: string
381965
+ teamName: string
381966
+ } | null)
381967
+ lists: PlaygroundClickupGetOverviewOutputItems[]
381968
+ tasks: {
381969
+ id: string
381970
+ name: string
381971
+ status: (string | null)
381972
+ }[]
381973
+ minted: boolean
381974
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
381975
+ list_status: number
381976
+ vend_status: number
381977
+ lists_status: number
381978
+ tasks_status: number
381979
+ spaces_status: number
381980
+ folders_status: number
381981
+ installation_count: number
381982
+ }
381983
+ export interface PlaygroundClickupGetOverviewOutputItems {
381984
+ id: string
381985
+ name: string
381986
+ }
381987
+
381988
+ export interface PlaygroundEchoPingInput {
381989
+ /**
381990
+ * The text to echo back, 1–1024 characters
381991
+ */
381992
+ message: string
381993
+ }
381994
+
381995
+ export interface PlaygroundEchoPingOutput {
381996
+ /**
381997
+ * The message exactly as it was received
381998
+ */
381999
+ message: string
382000
+ /**
382001
+ * The product the call was resolved to
382002
+ */
382003
+ productId: string
382004
+ /**
382005
+ * ISO-8601 instant (UTC) at which the call reached the service
382006
+ */
382007
+ receivedAt: string
382008
+ }
382009
+
382010
+ export interface PlaygroundGdriveGetLastChangeInput {
382011
+
382012
+ }
382013
+
382014
+ export type PlaygroundGdriveGetLastChangeOutput = ({
382015
+ file_id: string
382016
+ removed: boolean
382017
+ file_name: (string | null)
382018
+ mime_type: (string | null)
382019
+ product_id: string
382020
+ occurred_at: string
382021
+ connector_id: string
382022
+ resource_state: string
382023
+ } | {
382024
+ found: false
382025
+ })
382026
+
382027
+ export interface PlaygroundGdriveReadFileInput {
382028
+ /**
382029
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
382030
+ */
382031
+ fileId?: string
382032
+ }
382033
+
382034
+ export interface PlaygroundGdriveReadFileOutput {
382035
+ minted: boolean
382036
+ file_id: (string | null)
382037
+ file_name: (string | null)
382038
+ mime_type: (string | null)
382039
+ file_count: number
382040
+ get_status: number
382041
+ list_status: number
382042
+ vend_status: number
382043
+ content_bytes: (number | null)
382044
+ }
382045
+
382046
+ export interface PlaygroundGoogleadsReadCustomerInput {
382047
+
382048
+ }
382049
+
382050
+ export interface PlaygroundGoogleadsReadCustomerOutput {
382051
+ minted: boolean
382052
+ vended: boolean
382053
+ customer_id: (string | null)
382054
+ vend_status: number
382055
+ result_count: number
382056
+ search_status: number
382057
+ login_customer_id: (string | null)
382058
+ }
382059
+
382060
+ export interface PlaygroundLifecycleGetStateInput {
382061
+
382062
+ }
382063
+
382064
+ export interface PlaygroundLifecycleGetStateOutput {
382065
+ blocked: boolean
382066
+ archived: boolean
382067
+ productId: string
382068
+ lastBlockTransition: ({
382069
+ eventId: string
382070
+ eventName: string
382071
+ productId: string
382072
+ occurredAt: string
382073
+ recordedAt: string
382074
+ receiptCount: number
382075
+ organizationId: string
382076
+ cascadedFromOrg: boolean
382077
+ } | null)
382078
+ lastArchiveTransition: ({
382079
+ eventId: string
382080
+ eventName: string
382081
+ productId: string
382082
+ occurredAt: string
382083
+ recordedAt: string
382084
+ receiptCount: number
382085
+ organizationId: string
382086
+ cascadedFromOrg: boolean
382087
+ } | null)
382088
+ }
382089
+
382090
+ export interface PlaygroundLifecycleListEventsInput {
382091
+
382092
+ }
382093
+
382094
+ export type PlaygroundLifecycleListEventsOutput = {
382095
+ eventId: string
382096
+ eventName: string
382097
+ productId: string
382098
+ occurredAt: string
382099
+ recordedAt: string
382100
+ receiptCount: number
382101
+ organizationId: string
382102
+ cascadedFromOrg: boolean
382103
+ }[]
382104
+
382105
+ export interface PlaygroundWebhookGetLastInput {
382106
+
382107
+ }
382108
+
382109
+ export type PlaygroundWebhookGetLastOutput = ({
382110
+ payload?: unknown
382111
+ event_id: string
382112
+ provider: string
382113
+ verified: boolean
382114
+ product_id: string
382115
+ occurred_at: string
382116
+ connector_id: string
382117
+ delivery_count: number
382118
+ } | {
382119
+ found: false
382120
+ })
382121
+
382122
+ export interface PlaygroundWorkflowEchoInput {
382123
+ /**
382124
+ * The text to store, 1–1024 characters
382125
+ */
382126
+ note: string
382127
+ /**
382128
+ * Optional labels stored alongside the note, at most 20
382129
+ *
382130
+ * @maxItems 20
382131
+ */
382132
+ tags?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
382133
+ }
382134
+
382135
+ export interface PlaygroundWorkflowEchoOutput {
382136
+ /**
382137
+ * Identifier of the stored echo
382138
+ */
382139
+ id: string
382140
+ /**
382141
+ * The note exactly as it was received
382142
+ */
382143
+ note: string
382144
+ /**
382145
+ * The tags exactly as they were received
382146
+ */
382147
+ tags: string[]
382148
+ /**
382149
+ * Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
382150
+ */
382151
+ echo_id: string
382152
+ /**
382153
+ * ISO-8601 instant (UTC) at which the echo was stored
382154
+ */
382155
+ received_at: string
382156
+ }
382157
+
382158
+ export interface PlaygroundWorkflowEchoListInput {
382159
+
382160
+ }
382161
+
382162
+ export type PlaygroundWorkflowEchoListOutput = {
382163
+ /**
382164
+ * Identifier of the stored echo
382165
+ */
382166
+ id: string
382167
+ /**
382168
+ * The note exactly as it was received
382169
+ */
382170
+ note: string
382171
+ /**
382172
+ * The tags exactly as they were received
382173
+ */
382174
+ tags: string[]
382175
+ /**
382176
+ * ISO-8601 instant (UTC) at which the echo was stored
382177
+ */
382178
+ received_at: string
382179
+ }[]
382180
+
382181
+ export interface PlaygroundWorkflowPingInput {
382182
+ /**
382183
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382184
+ */
382185
+ kind?: string
382186
+ }
382187
+
382188
+ export interface PlaygroundWorkflowPingOutput {
382189
+ /**
382190
+ * Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
382191
+ */
382192
+ id: string
382193
+ /**
382194
+ * The name of the event that was published
382195
+ */
382196
+ event: string
382197
+ }
382198
+
382199
+ export interface PlaygroundWorkflowSubjectsListInput {
382200
+ /**
382201
+ * How many subjects to return, 1–100. Defaults to 25.
382202
+ */
382203
+ limit?: number
382204
+ /**
382205
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382206
+ */
382207
+ cursor?: string
382208
+ /**
382209
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
382210
+ */
382211
+ last_activity_after?: string
382212
+ /**
382213
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
382214
+ */
382215
+ last_activity_before?: string
382216
+ }
382217
+
382218
+ export interface PlaygroundWorkflowSubjectsListOutput {
382219
+ /**
382220
+ * This page of subjects, most recently active first
382221
+ */
382222
+ items: {
382223
+ /**
382224
+ * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
382225
+ */
382226
+ subject_key: string
382227
+ /**
382228
+ * Human-readable name of the subject
382229
+ */
382230
+ display_name: string
382231
+ /**
382232
+ * ISO-8601 instant (UTC) of the subject last activity
382233
+ */
382234
+ last_activity_at: string
382235
+ }[]
382236
+ /**
382237
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382238
+ */
382239
+ has_more: boolean
382240
+ /**
382241
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382242
+ */
382243
+ next_cursor: (string | null)
382244
+ }
382245
+
382246
+ export interface PlaygroundWsEchoInput {
382247
+
382248
+ }
382249
+
382250
+ export type PlaygroundWsEchoOutput = unknown;
382251
+
381710
382252
  export interface RealtimeArchiveExportInput {
381711
382253
  /**
381712
382254
  * Only entries with ts <= to_ts (epoch ms)