@lessly/sdk-app 120.0.0 → 120.1.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 +8 -45
  2. package/dist/_types/gen/client.gen.d.ts +41 -1
  3. package/dist/_types/gen/deployment/index.d.ts +1 -1
  4. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +5 -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 +472 -4
  10. package/dist/chunk-5PHFW35P.js +12408 -0
  11. package/dist/chunk-5PHFW35P.js.map +1 -0
  12. package/dist/deployment/index.cjs +5 -0
  13. package/dist/deployment/index.cjs.map +1 -1
  14. package/dist/deployment/index.js +5 -1
  15. package/dist/deployment/index.js.map +1 -1
  16. package/dist/index.cjs +234 -45
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +23 -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 +222 -46
  28. package/src/gen/client.gen.ts +76 -0
  29. package/src/gen/deployment/index.ts +1 -1
  30. package/src/gen/deployment/queryOptions.gen.ts +7 -0
  31. package/src/gen/manifest.gen.ts +22 -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 +521 -4
@@ -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
  }
@@ -363917,6 +363938,25 @@ maxPreviews: number
363917
363938
  baseEnvironmentId: string
363918
363939
  }
363919
363940
 
363941
+ export interface DeploymentResourcePresetsListInput {
363942
+
363943
+ }
363944
+
363945
+ export type DeploymentResourcePresetsListOutput = {
363946
+ /**
363947
+ * CPU limit as a Kubernetes quantity, e.g. 500m or 2.
363948
+ */
363949
+ cpu: string
363950
+ /**
363951
+ * Preset name: XS, S, M, L, XL or 2XL.
363952
+ */
363953
+ key: string
363954
+ /**
363955
+ * Memory limit as a Kubernetes quantity, e.g. 1Gi.
363956
+ */
363957
+ memory: string
363958
+ }[]
363959
+
363920
363960
  export interface DeploymentServiceCreateInput {
363921
363961
  /**
363922
363962
  * '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 +364071,27 @@ id: string
364031
364071
  mode?: string
364032
364072
  name: string
364033
364073
  slug: string
364074
+ /**
364075
+ * Memory of the running version. Absent for static sites and when it could not be read.
364076
+ */
364077
+ memory?: {
364078
+ /**
364079
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364080
+ */
364081
+ reason: (string | null)
364082
+ /**
364083
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364084
+ */
364085
+ peakWindow: string
364086
+ /**
364087
+ * 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.
364088
+ */
364089
+ peak7dBytes: (number | null)
364090
+ /**
364091
+ * 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.
364092
+ */
364093
+ reservedBytes: (number | null)
364094
+ }
364034
364095
  probes: {
364035
364096
  startup?: {
364036
364097
  path: string
@@ -364224,6 +364285,27 @@ id: string
364224
364285
  mode?: string
364225
364286
  name: string
364226
364287
  slug: string
364288
+ /**
364289
+ * Memory of the running version. Absent for static sites and when it could not be read.
364290
+ */
364291
+ memory?: {
364292
+ /**
364293
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364294
+ */
364295
+ reason: (string | null)
364296
+ /**
364297
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364298
+ */
364299
+ peakWindow: string
364300
+ /**
364301
+ * 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.
364302
+ */
364303
+ peak7dBytes: (number | null)
364304
+ /**
364305
+ * 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.
364306
+ */
364307
+ reservedBytes: (number | null)
364308
+ }
364227
364309
  probes: {
364228
364310
  startup?: {
364229
364311
  path: string
@@ -364384,6 +364466,27 @@ id: string
364384
364466
  mode?: string
364385
364467
  name: string
364386
364468
  slug: string
364469
+ /**
364470
+ * Memory of the running version. Absent for static sites and when it could not be read.
364471
+ */
364472
+ memory?: {
364473
+ /**
364474
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364475
+ */
364476
+ reason: (string | null)
364477
+ /**
364478
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364479
+ */
364480
+ peakWindow: string
364481
+ /**
364482
+ * 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.
364483
+ */
364484
+ peak7dBytes: (number | null)
364485
+ /**
364486
+ * 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.
364487
+ */
364488
+ reservedBytes: (number | null)
364489
+ }
364387
364490
  probes: {
364388
364491
  startup?: {
364389
364492
  path: string
@@ -364623,6 +364726,27 @@ id: string
364623
364726
  mode?: string
364624
364727
  name: string
364625
364728
  slug: string
364729
+ /**
364730
+ * Memory of the running version. Absent for static sites and when it could not be read.
364731
+ */
364732
+ memory?: {
364733
+ /**
364734
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364735
+ */
364736
+ reason: (string | null)
364737
+ /**
364738
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364739
+ */
364740
+ peakWindow: string
364741
+ /**
364742
+ * 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.
364743
+ */
364744
+ peak7dBytes: (number | null)
364745
+ /**
364746
+ * 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.
364747
+ */
364748
+ reservedBytes: (number | null)
364749
+ }
364626
364750
  probes: {
364627
364751
  startup?: {
364628
364752
  path: string
@@ -364891,6 +365015,27 @@ id: string
364891
365015
  mode?: string
364892
365016
  name: string
364893
365017
  slug: string
365018
+ /**
365019
+ * Memory of the running version. Absent for static sites and when it could not be read.
365020
+ */
365021
+ memory?: {
365022
+ /**
365023
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
365024
+ */
365025
+ reason: (string | null)
365026
+ /**
365027
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
365028
+ */
365029
+ peakWindow: string
365030
+ /**
365031
+ * 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.
365032
+ */
365033
+ peak7dBytes: (number | null)
365034
+ /**
365035
+ * 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.
365036
+ */
365037
+ reservedBytes: (number | null)
365038
+ }
364894
365039
  probes: {
364895
365040
  startup?: {
364896
365041
  path: string
@@ -381707,6 +381852,378 @@ export interface OrganizationYoutubeInstallOutput {
381707
381852
  url: string
381708
381853
  }
381709
381854
 
381855
+ export interface PlaygroundAnalyticsOverviewInput {
381856
+ /**
381857
+ * Max records per entity in recent[]; omit for the endpoint default
381858
+ */
381859
+ limit?: number
381860
+ }
381861
+
381862
+ export interface PlaygroundAnalyticsOverviewOutput {
381863
+ ok: boolean
381864
+ minted: boolean
381865
+ overview?: unknown
381866
+ http_status: number
381867
+ }
381868
+
381869
+ export interface PlaygroundBillingEntitlementsInput {
381870
+
381871
+ }
381872
+
381873
+ export interface PlaygroundBillingEntitlementsOutput {
381874
+ ok: boolean
381875
+ minted: boolean
381876
+ http_status: number
381877
+ entitlements?: unknown
381878
+ }
381879
+
381880
+ export interface PlaygroundBillingRecordUsageInput {
381881
+ /**
381882
+ * Quantity of events to record against playground-events (SUM); defaults to 1
381883
+ */
381884
+ value?: number
381885
+ }
381886
+
381887
+ export interface PlaygroundBillingRecordUsageOutput {
381888
+ minted: boolean
381889
+ accepted: (number | null)
381890
+ recorded: boolean
381891
+ duplicates: (number | null)
381892
+ http_status: number
381893
+ }
381894
+
381895
+ export interface PlaygroundClickupCreateTaskInput {
381896
+ /**
381897
+ * Task title; defaults to a fixture label
381898
+ */
381899
+ name?: string
381900
+ /**
381901
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381902
+ */
381903
+ listId?: string
381904
+ }
381905
+
381906
+ export interface PlaygroundClickupCreateTaskOutput {
381907
+ minted: boolean
381908
+ task_id: (string | null)
381909
+ list_status: number
381910
+ vend_status: number
381911
+ clickup_status: number
381912
+ installation_count: number
381913
+ }
381914
+
381915
+ export interface PlaygroundClickupGetLastWebhookInput {
381916
+
381917
+ }
381918
+
381919
+ export type PlaygroundClickupGetLastWebhookOutput = ({
381920
+ payload: string
381921
+ event_id: string
381922
+ provider: string
381923
+ verified: boolean
381924
+ product_id: string
381925
+ occurred_at: string
381926
+ connector_id: string
381927
+ clickup_event: (string | null)
381928
+ receipt_count: number
381929
+ } | {
381930
+ found: false
381931
+ })
381932
+
381933
+ export interface PlaygroundClickupGetOverviewInput {
381934
+
381935
+ }
381936
+
381937
+ export interface PlaygroundClickupGetOverviewOutput {
381938
+ team: ({
381939
+ teamId: string
381940
+ teamName: string
381941
+ } | null)
381942
+ lists: PlaygroundClickupGetOverviewOutputItems[]
381943
+ tasks: {
381944
+ id: string
381945
+ name: string
381946
+ status: (string | null)
381947
+ }[]
381948
+ minted: boolean
381949
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
381950
+ list_status: number
381951
+ vend_status: number
381952
+ lists_status: number
381953
+ tasks_status: number
381954
+ spaces_status: number
381955
+ folders_status: number
381956
+ installation_count: number
381957
+ }
381958
+ export interface PlaygroundClickupGetOverviewOutputItems {
381959
+ id: string
381960
+ name: string
381961
+ }
381962
+
381963
+ export interface PlaygroundEchoPingInput {
381964
+ /**
381965
+ * The text to echo back, 1–1024 characters
381966
+ */
381967
+ message: string
381968
+ }
381969
+
381970
+ export interface PlaygroundEchoPingOutput {
381971
+ /**
381972
+ * The message exactly as it was received
381973
+ */
381974
+ message: string
381975
+ /**
381976
+ * The product the call was resolved to
381977
+ */
381978
+ productId: string
381979
+ /**
381980
+ * ISO-8601 instant (UTC) at which the call reached the service
381981
+ */
381982
+ receivedAt: string
381983
+ }
381984
+
381985
+ export interface PlaygroundGdriveGetLastChangeInput {
381986
+
381987
+ }
381988
+
381989
+ export type PlaygroundGdriveGetLastChangeOutput = ({
381990
+ file_id: string
381991
+ removed: boolean
381992
+ file_name: (string | null)
381993
+ mime_type: (string | null)
381994
+ product_id: string
381995
+ occurred_at: string
381996
+ connector_id: string
381997
+ resource_state: string
381998
+ } | {
381999
+ found: false
382000
+ })
382001
+
382002
+ export interface PlaygroundGdriveReadFileInput {
382003
+ /**
382004
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
382005
+ */
382006
+ fileId?: string
382007
+ }
382008
+
382009
+ export interface PlaygroundGdriveReadFileOutput {
382010
+ minted: boolean
382011
+ file_id: (string | null)
382012
+ file_name: (string | null)
382013
+ mime_type: (string | null)
382014
+ file_count: number
382015
+ get_status: number
382016
+ list_status: number
382017
+ vend_status: number
382018
+ content_bytes: (number | null)
382019
+ }
382020
+
382021
+ export interface PlaygroundGoogleadsReadCustomerInput {
382022
+
382023
+ }
382024
+
382025
+ export interface PlaygroundGoogleadsReadCustomerOutput {
382026
+ minted: boolean
382027
+ vended: boolean
382028
+ customer_id: (string | null)
382029
+ vend_status: number
382030
+ result_count: number
382031
+ search_status: number
382032
+ login_customer_id: (string | null)
382033
+ }
382034
+
382035
+ export interface PlaygroundLifecycleGetStateInput {
382036
+
382037
+ }
382038
+
382039
+ export interface PlaygroundLifecycleGetStateOutput {
382040
+ blocked: boolean
382041
+ archived: boolean
382042
+ productId: string
382043
+ lastBlockTransition: ({
382044
+ eventId: string
382045
+ eventName: string
382046
+ productId: string
382047
+ occurredAt: string
382048
+ recordedAt: string
382049
+ receiptCount: number
382050
+ organizationId: string
382051
+ cascadedFromOrg: boolean
382052
+ } | null)
382053
+ lastArchiveTransition: ({
382054
+ eventId: string
382055
+ eventName: string
382056
+ productId: string
382057
+ occurredAt: string
382058
+ recordedAt: string
382059
+ receiptCount: number
382060
+ organizationId: string
382061
+ cascadedFromOrg: boolean
382062
+ } | null)
382063
+ }
382064
+
382065
+ export interface PlaygroundLifecycleListEventsInput {
382066
+
382067
+ }
382068
+
382069
+ export type PlaygroundLifecycleListEventsOutput = {
382070
+ eventId: string
382071
+ eventName: string
382072
+ productId: string
382073
+ occurredAt: string
382074
+ recordedAt: string
382075
+ receiptCount: number
382076
+ organizationId: string
382077
+ cascadedFromOrg: boolean
382078
+ }[]
382079
+
382080
+ export interface PlaygroundWebhookGetLastInput {
382081
+
382082
+ }
382083
+
382084
+ export type PlaygroundWebhookGetLastOutput = ({
382085
+ payload?: unknown
382086
+ event_id: string
382087
+ provider: string
382088
+ verified: boolean
382089
+ product_id: string
382090
+ occurred_at: string
382091
+ connector_id: string
382092
+ delivery_count: number
382093
+ } | {
382094
+ found: false
382095
+ })
382096
+
382097
+ export interface PlaygroundWorkflowEchoInput {
382098
+ /**
382099
+ * The text to store, 1–1024 characters
382100
+ */
382101
+ note: string
382102
+ /**
382103
+ * Optional labels stored alongside the note, at most 20
382104
+ *
382105
+ * @maxItems 20
382106
+ */
382107
+ 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]
382108
+ }
382109
+
382110
+ export interface PlaygroundWorkflowEchoOutput {
382111
+ /**
382112
+ * Identifier of the stored echo
382113
+ */
382114
+ id: string
382115
+ /**
382116
+ * The note exactly as it was received
382117
+ */
382118
+ note: string
382119
+ /**
382120
+ * The tags exactly as they were received
382121
+ */
382122
+ tags: string[]
382123
+ /**
382124
+ * 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.
382125
+ */
382126
+ echo_id: string
382127
+ /**
382128
+ * ISO-8601 instant (UTC) at which the echo was stored
382129
+ */
382130
+ received_at: string
382131
+ }
382132
+
382133
+ export interface PlaygroundWorkflowEchoListInput {
382134
+
382135
+ }
382136
+
382137
+ export type PlaygroundWorkflowEchoListOutput = {
382138
+ /**
382139
+ * Identifier of the stored echo
382140
+ */
382141
+ id: string
382142
+ /**
382143
+ * The note exactly as it was received
382144
+ */
382145
+ note: string
382146
+ /**
382147
+ * The tags exactly as they were received
382148
+ */
382149
+ tags: string[]
382150
+ /**
382151
+ * ISO-8601 instant (UTC) at which the echo was stored
382152
+ */
382153
+ received_at: string
382154
+ }[]
382155
+
382156
+ export interface PlaygroundWorkflowPingInput {
382157
+ /**
382158
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382159
+ */
382160
+ kind?: string
382161
+ }
382162
+
382163
+ export interface PlaygroundWorkflowPingOutput {
382164
+ /**
382165
+ * 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.
382166
+ */
382167
+ id: string
382168
+ /**
382169
+ * The name of the event that was published
382170
+ */
382171
+ event: string
382172
+ }
382173
+
382174
+ export interface PlaygroundWorkflowSubjectsListInput {
382175
+ /**
382176
+ * How many subjects to return, 1–100. Defaults to 25.
382177
+ */
382178
+ limit?: number
382179
+ /**
382180
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382181
+ */
382182
+ cursor?: string
382183
+ /**
382184
+ * 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.
382185
+ */
382186
+ last_activity_after?: string
382187
+ /**
382188
+ * 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.
382189
+ */
382190
+ last_activity_before?: string
382191
+ }
382192
+
382193
+ export interface PlaygroundWorkflowSubjectsListOutput {
382194
+ /**
382195
+ * This page of subjects, most recently active first
382196
+ */
382197
+ items: {
382198
+ /**
382199
+ * 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.
382200
+ */
382201
+ subject_key: string
382202
+ /**
382203
+ * Human-readable name of the subject
382204
+ */
382205
+ display_name: string
382206
+ /**
382207
+ * ISO-8601 instant (UTC) of the subject last activity
382208
+ */
382209
+ last_activity_at: string
382210
+ }[]
382211
+ /**
382212
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382213
+ */
382214
+ has_more: boolean
382215
+ /**
382216
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382217
+ */
382218
+ next_cursor: (string | null)
382219
+ }
382220
+
382221
+ export interface PlaygroundWsEchoInput {
382222
+
382223
+ }
382224
+
382225
+ export type PlaygroundWsEchoOutput = unknown;
382226
+
381710
382227
  export interface RealtimeArchiveExportInput {
381711
382228
  /**
381712
382229
  * Only entries with ts <= to_ts (epoch ms)