@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
@@ -369248,6 +369248,27 @@ export interface DeploymentCanvasGetOutput {
369248
369248
  mode?: string;
369249
369249
  name: string;
369250
369250
  slug: string;
369251
+ /**
369252
+ * Memory of the running version. Absent for static sites and when it could not be read.
369253
+ */
369254
+ memory?: {
369255
+ /**
369256
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
369257
+ */
369258
+ reason: (string | null);
369259
+ /**
369260
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
369261
+ */
369262
+ peakWindow: string;
369263
+ /**
369264
+ * 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.
369265
+ */
369266
+ peak7dBytes: (number | null);
369267
+ /**
369268
+ * 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.
369269
+ */
369270
+ reservedBytes: (number | null);
369271
+ };
369251
369272
  probes: {
369252
369273
  startup?: {
369253
369274
  path: string;
@@ -370380,7 +370401,7 @@ export interface DeploymentEnvironmentUpdateOutput {
370380
370401
  baseEnvironmentId: (string | null);
370381
370402
  }
370382
370403
  export interface DeploymentEventsListByEnvironmentInput {
370383
- 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");
370404
+ 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");
370384
370405
  limit?: number;
370385
370406
  since?: string;
370386
370407
  until?: string;
@@ -370388,7 +370409,7 @@ export interface DeploymentEventsListByEnvironmentInput {
370388
370409
  }
370389
370410
  export type DeploymentEventsListByEnvironmentOutput = {
370390
370411
  id: string;
370391
- 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");
370412
+ 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");
370392
370413
  payload: {
370393
370414
  [k: string]: unknown;
370394
370415
  };
@@ -370400,7 +370421,7 @@ export type DeploymentEventsListByEnvironmentOutput = {
370400
370421
  environmentId: (string | null);
370401
370422
  }[];
370402
370423
  export interface DeploymentEventsListByServiceInput {
370403
- 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");
370424
+ 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");
370404
370425
  limit?: number;
370405
370426
  since?: string;
370406
370427
  until?: string;
@@ -370409,7 +370430,7 @@ export interface DeploymentEventsListByServiceInput {
370409
370430
  }
370410
370431
  export type DeploymentEventsListByServiceOutput = {
370411
370432
  id: string;
370412
- 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");
370433
+ 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");
370413
370434
  payload: {
370414
370435
  [k: string]: unknown;
370415
370436
  };
@@ -370877,6 +370898,22 @@ export interface DeploymentPreviewPolicySetOutput {
370877
370898
  maxPreviews: number;
370878
370899
  baseEnvironmentId: string;
370879
370900
  }
370901
+ export interface DeploymentResourcePresetsListInput {
370902
+ }
370903
+ export type DeploymentResourcePresetsListOutput = {
370904
+ /**
370905
+ * CPU limit as a Kubernetes quantity, e.g. 500m or 2.
370906
+ */
370907
+ cpu: string;
370908
+ /**
370909
+ * Preset name: XS, S, M, L, XL or 2XL.
370910
+ */
370911
+ key: string;
370912
+ /**
370913
+ * Memory limit as a Kubernetes quantity, e.g. 1Gi.
370914
+ */
370915
+ memory: string;
370916
+ }[];
370880
370917
  export interface DeploymentServiceCreateInput {
370881
370918
  /**
370882
370919
  * 'persistent' (a long-running Deployment behind a Service — the default) or 'scheduled' (a k8s CronJob: no port, no replicas, no route). Immutable after create.
@@ -370990,6 +371027,27 @@ export interface DeploymentServiceCreateOutput {
370990
371027
  mode?: string;
370991
371028
  name: string;
370992
371029
  slug: string;
371030
+ /**
371031
+ * Memory of the running version. Absent for static sites and when it could not be read.
371032
+ */
371033
+ memory?: {
371034
+ /**
371035
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
371036
+ */
371037
+ reason: (string | null);
371038
+ /**
371039
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
371040
+ */
371041
+ peakWindow: string;
371042
+ /**
371043
+ * 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.
371044
+ */
371045
+ peak7dBytes: (number | null);
371046
+ /**
371047
+ * 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.
371048
+ */
371049
+ reservedBytes: (number | null);
371050
+ };
370993
371051
  probes: {
370994
371052
  startup?: {
370995
371053
  path: string;
@@ -371177,6 +371235,27 @@ export interface DeploymentServiceGetOutput {
371177
371235
  mode?: string;
371178
371236
  name: string;
371179
371237
  slug: string;
371238
+ /**
371239
+ * Memory of the running version. Absent for static sites and when it could not be read.
371240
+ */
371241
+ memory?: {
371242
+ /**
371243
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
371244
+ */
371245
+ reason: (string | null);
371246
+ /**
371247
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
371248
+ */
371249
+ peakWindow: string;
371250
+ /**
371251
+ * 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.
371252
+ */
371253
+ peak7dBytes: (number | null);
371254
+ /**
371255
+ * 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.
371256
+ */
371257
+ reservedBytes: (number | null);
371258
+ };
371180
371259
  probes: {
371181
371260
  startup?: {
371182
371261
  path: string;
@@ -371335,6 +371414,27 @@ export type DeploymentServiceListOutput = {
371335
371414
  mode?: string;
371336
371415
  name: string;
371337
371416
  slug: string;
371417
+ /**
371418
+ * Memory of the running version. Absent for static sites and when it could not be read.
371419
+ */
371420
+ memory?: {
371421
+ /**
371422
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
371423
+ */
371424
+ reason: (string | null);
371425
+ /**
371426
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
371427
+ */
371428
+ peakWindow: string;
371429
+ /**
371430
+ * 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.
371431
+ */
371432
+ peak7dBytes: (number | null);
371433
+ /**
371434
+ * 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.
371435
+ */
371436
+ reservedBytes: (number | null);
371437
+ };
371338
371438
  probes: {
371339
371439
  startup?: {
371340
371440
  path: string;
@@ -371563,6 +371663,27 @@ export interface DeploymentServiceScaleOutput {
371563
371663
  mode?: string;
371564
371664
  name: string;
371565
371665
  slug: string;
371666
+ /**
371667
+ * Memory of the running version. Absent for static sites and when it could not be read.
371668
+ */
371669
+ memory?: {
371670
+ /**
371671
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
371672
+ */
371673
+ reason: (string | null);
371674
+ /**
371675
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
371676
+ */
371677
+ peakWindow: string;
371678
+ /**
371679
+ * 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.
371680
+ */
371681
+ peak7dBytes: (number | null);
371682
+ /**
371683
+ * 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.
371684
+ */
371685
+ reservedBytes: (number | null);
371686
+ };
371566
371687
  probes: {
371567
371688
  startup?: {
371568
371689
  path: string;
@@ -371829,6 +371950,27 @@ export interface DeploymentServiceUpdateOutput {
371829
371950
  mode?: string;
371830
371951
  name: string;
371831
371952
  slug: string;
371953
+ /**
371954
+ * Memory of the running version. Absent for static sites and when it could not be read.
371955
+ */
371956
+ memory?: {
371957
+ /**
371958
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
371959
+ */
371960
+ reason: (string | null);
371961
+ /**
371962
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
371963
+ */
371964
+ peakWindow: string;
371965
+ /**
371966
+ * 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.
371967
+ */
371968
+ peak7dBytes: (number | null);
371969
+ /**
371970
+ * 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.
371971
+ */
371972
+ reservedBytes: (number | null);
371973
+ };
371832
371974
  probes: {
371833
371975
  startup?: {
371834
371976
  path: string;
@@ -388781,6 +388923,332 @@ export interface OrganizationYoutubeInstallInput {
388781
388923
  export interface OrganizationYoutubeInstallOutput {
388782
388924
  url: string;
388783
388925
  }
388926
+ export interface PlaygroundAnalyticsOverviewInput {
388927
+ /**
388928
+ * Max records per entity in recent[]; omit for the endpoint default
388929
+ */
388930
+ limit?: number;
388931
+ }
388932
+ export interface PlaygroundAnalyticsOverviewOutput {
388933
+ ok: boolean;
388934
+ minted: boolean;
388935
+ overview?: unknown;
388936
+ http_status: number;
388937
+ }
388938
+ export interface PlaygroundBillingEntitlementsInput {
388939
+ }
388940
+ export interface PlaygroundBillingEntitlementsOutput {
388941
+ ok: boolean;
388942
+ minted: boolean;
388943
+ http_status: number;
388944
+ entitlements?: unknown;
388945
+ }
388946
+ export interface PlaygroundBillingRecordUsageInput {
388947
+ /**
388948
+ * Quantity of events to record against playground-events (SUM); defaults to 1
388949
+ */
388950
+ value?: number;
388951
+ }
388952
+ export interface PlaygroundBillingRecordUsageOutput {
388953
+ minted: boolean;
388954
+ accepted: (number | null);
388955
+ recorded: boolean;
388956
+ duplicates: (number | null);
388957
+ http_status: number;
388958
+ }
388959
+ export interface PlaygroundClickupCreateTaskInput {
388960
+ /**
388961
+ * Task title; defaults to a fixture label
388962
+ */
388963
+ name?: string;
388964
+ /**
388965
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
388966
+ */
388967
+ listId?: string;
388968
+ }
388969
+ export interface PlaygroundClickupCreateTaskOutput {
388970
+ minted: boolean;
388971
+ task_id: (string | null);
388972
+ list_status: number;
388973
+ vend_status: number;
388974
+ clickup_status: number;
388975
+ installation_count: number;
388976
+ }
388977
+ export interface PlaygroundClickupGetLastWebhookInput {
388978
+ }
388979
+ export type PlaygroundClickupGetLastWebhookOutput = ({
388980
+ payload: string;
388981
+ event_id: string;
388982
+ provider: string;
388983
+ verified: boolean;
388984
+ product_id: string;
388985
+ occurred_at: string;
388986
+ connector_id: string;
388987
+ clickup_event: (string | null);
388988
+ receipt_count: number;
388989
+ } | {
388990
+ found: false;
388991
+ });
388992
+ export interface PlaygroundClickupGetOverviewInput {
388993
+ }
388994
+ export interface PlaygroundClickupGetOverviewOutput {
388995
+ team: ({
388996
+ teamId: string;
388997
+ teamName: string;
388998
+ } | null);
388999
+ lists: PlaygroundClickupGetOverviewOutputItems[];
389000
+ tasks: {
389001
+ id: string;
389002
+ name: string;
389003
+ status: (string | null);
389004
+ }[];
389005
+ minted: boolean;
389006
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
389007
+ list_status: number;
389008
+ vend_status: number;
389009
+ lists_status: number;
389010
+ tasks_status: number;
389011
+ spaces_status: number;
389012
+ folders_status: number;
389013
+ installation_count: number;
389014
+ }
389015
+ export interface PlaygroundClickupGetOverviewOutputItems {
389016
+ id: string;
389017
+ name: string;
389018
+ }
389019
+ export interface PlaygroundEchoPingInput {
389020
+ /**
389021
+ * The text to echo back, 1–1024 characters
389022
+ */
389023
+ message: string;
389024
+ }
389025
+ export interface PlaygroundEchoPingOutput {
389026
+ /**
389027
+ * The message exactly as it was received
389028
+ */
389029
+ message: string;
389030
+ /**
389031
+ * The product the call was resolved to
389032
+ */
389033
+ productId: string;
389034
+ /**
389035
+ * ISO-8601 instant (UTC) at which the call reached the service
389036
+ */
389037
+ receivedAt: string;
389038
+ }
389039
+ export interface PlaygroundGdriveGetLastChangeInput {
389040
+ }
389041
+ export type PlaygroundGdriveGetLastChangeOutput = ({
389042
+ file_id: string;
389043
+ removed: boolean;
389044
+ file_name: (string | null);
389045
+ mime_type: (string | null);
389046
+ product_id: string;
389047
+ occurred_at: string;
389048
+ connector_id: string;
389049
+ resource_state: string;
389050
+ } | {
389051
+ found: false;
389052
+ });
389053
+ export interface PlaygroundGdriveReadFileInput {
389054
+ /**
389055
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
389056
+ */
389057
+ fileId?: string;
389058
+ }
389059
+ export interface PlaygroundGdriveReadFileOutput {
389060
+ minted: boolean;
389061
+ file_id: (string | null);
389062
+ file_name: (string | null);
389063
+ mime_type: (string | null);
389064
+ file_count: number;
389065
+ get_status: number;
389066
+ list_status: number;
389067
+ vend_status: number;
389068
+ content_bytes: (number | null);
389069
+ }
389070
+ export interface PlaygroundGoogleadsReadCustomerInput {
389071
+ }
389072
+ export interface PlaygroundGoogleadsReadCustomerOutput {
389073
+ minted: boolean;
389074
+ vended: boolean;
389075
+ customer_id: (string | null);
389076
+ vend_status: number;
389077
+ result_count: number;
389078
+ search_status: number;
389079
+ login_customer_id: (string | null);
389080
+ }
389081
+ export interface PlaygroundLifecycleGetStateInput {
389082
+ }
389083
+ export interface PlaygroundLifecycleGetStateOutput {
389084
+ blocked: boolean;
389085
+ archived: boolean;
389086
+ productId: string;
389087
+ lastBlockTransition: ({
389088
+ eventId: string;
389089
+ eventName: string;
389090
+ productId: string;
389091
+ occurredAt: string;
389092
+ recordedAt: string;
389093
+ receiptCount: number;
389094
+ organizationId: string;
389095
+ cascadedFromOrg: boolean;
389096
+ } | null);
389097
+ lastArchiveTransition: ({
389098
+ eventId: string;
389099
+ eventName: string;
389100
+ productId: string;
389101
+ occurredAt: string;
389102
+ recordedAt: string;
389103
+ receiptCount: number;
389104
+ organizationId: string;
389105
+ cascadedFromOrg: boolean;
389106
+ } | null);
389107
+ }
389108
+ export interface PlaygroundLifecycleListEventsInput {
389109
+ }
389110
+ export type PlaygroundLifecycleListEventsOutput = {
389111
+ eventId: string;
389112
+ eventName: string;
389113
+ productId: string;
389114
+ occurredAt: string;
389115
+ recordedAt: string;
389116
+ receiptCount: number;
389117
+ organizationId: string;
389118
+ cascadedFromOrg: boolean;
389119
+ }[];
389120
+ export interface PlaygroundWebhookGetLastInput {
389121
+ }
389122
+ export type PlaygroundWebhookGetLastOutput = ({
389123
+ payload?: unknown;
389124
+ event_id: string;
389125
+ provider: string;
389126
+ verified: boolean;
389127
+ product_id: string;
389128
+ occurred_at: string;
389129
+ connector_id: string;
389130
+ delivery_count: number;
389131
+ } | {
389132
+ found: false;
389133
+ });
389134
+ export interface PlaygroundWorkflowEchoInput {
389135
+ /**
389136
+ * The text to store, 1–1024 characters
389137
+ */
389138
+ note: string;
389139
+ /**
389140
+ * Optional labels stored alongside the note, at most 20
389141
+ *
389142
+ * @maxItems 20
389143
+ */
389144
+ 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];
389145
+ }
389146
+ export interface PlaygroundWorkflowEchoOutput {
389147
+ /**
389148
+ * Identifier of the stored echo
389149
+ */
389150
+ id: string;
389151
+ /**
389152
+ * The note exactly as it was received
389153
+ */
389154
+ note: string;
389155
+ /**
389156
+ * The tags exactly as they were received
389157
+ */
389158
+ tags: string[];
389159
+ /**
389160
+ * 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.
389161
+ */
389162
+ echo_id: string;
389163
+ /**
389164
+ * ISO-8601 instant (UTC) at which the echo was stored
389165
+ */
389166
+ received_at: string;
389167
+ }
389168
+ export interface PlaygroundWorkflowEchoListInput {
389169
+ }
389170
+ export type PlaygroundWorkflowEchoListOutput = {
389171
+ /**
389172
+ * Identifier of the stored echo
389173
+ */
389174
+ id: string;
389175
+ /**
389176
+ * The note exactly as it was received
389177
+ */
389178
+ note: string;
389179
+ /**
389180
+ * The tags exactly as they were received
389181
+ */
389182
+ tags: string[];
389183
+ /**
389184
+ * ISO-8601 instant (UTC) at which the echo was stored
389185
+ */
389186
+ received_at: string;
389187
+ }[];
389188
+ export interface PlaygroundWorkflowPingInput {
389189
+ /**
389190
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
389191
+ */
389192
+ kind?: string;
389193
+ }
389194
+ export interface PlaygroundWorkflowPingOutput {
389195
+ /**
389196
+ * 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.
389197
+ */
389198
+ id: string;
389199
+ /**
389200
+ * The name of the event that was published
389201
+ */
389202
+ event: string;
389203
+ }
389204
+ export interface PlaygroundWorkflowSubjectsListInput {
389205
+ /**
389206
+ * How many subjects to return, 1–100. Defaults to 25.
389207
+ */
389208
+ limit?: number;
389209
+ /**
389210
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
389211
+ */
389212
+ cursor?: string;
389213
+ /**
389214
+ * 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.
389215
+ */
389216
+ last_activity_after?: string;
389217
+ /**
389218
+ * 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.
389219
+ */
389220
+ last_activity_before?: string;
389221
+ }
389222
+ export interface PlaygroundWorkflowSubjectsListOutput {
389223
+ /**
389224
+ * This page of subjects, most recently active first
389225
+ */
389226
+ items: {
389227
+ /**
389228
+ * 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.
389229
+ */
389230
+ subject_key: string;
389231
+ /**
389232
+ * Human-readable name of the subject
389233
+ */
389234
+ display_name: string;
389235
+ /**
389236
+ * ISO-8601 instant (UTC) of the subject last activity
389237
+ */
389238
+ last_activity_at: string;
389239
+ }[];
389240
+ /**
389241
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
389242
+ */
389243
+ has_more: boolean;
389244
+ /**
389245
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
389246
+ */
389247
+ next_cursor: (string | null);
389248
+ }
389249
+ export interface PlaygroundWsEchoInput {
389250
+ }
389251
+ export type PlaygroundWsEchoOutput = unknown;
388784
389252
  export interface RealtimeArchiveExportInput {
388785
389253
  /**
388786
389254
  * Only entries with ts <= to_ts (epoch ms)