@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.
- package/CHANGELOG.md +7 -49
- package/dist/_types/gen/client.gen.d.ts +42 -1
- package/dist/_types/gen/deployment/index.d.ts +1 -1
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +9 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +498 -7
- package/dist/chunk-3QRFL3AM.js +12425 -0
- package/dist/chunk-3QRFL3AM.js.map +1 -0
- package/dist/deployment/index.cjs +10 -0
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.js +9 -1
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +252 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -12228
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +239 -46
- package/src/gen/client.gen.ts +79 -0
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +13 -0
- package/src/gen/manifest.gen.ts +23 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +549 -7
|
@@ -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
|
};
|
|
@@ -370425,7 +370446,7 @@ export interface DeploymentJobRunInput {
|
|
|
370425
370446
|
}
|
|
370426
370447
|
export interface DeploymentJobRunOutput {
|
|
370427
370448
|
id: string;
|
|
370428
|
-
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped");
|
|
370449
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled");
|
|
370429
370450
|
trigger: ("schedule" | "manual");
|
|
370430
370451
|
exitCode: (number | null);
|
|
370431
370452
|
createdAt: string;
|
|
@@ -370433,6 +370454,28 @@ export interface DeploymentJobRunOutput {
|
|
|
370433
370454
|
startedAt: (string | null);
|
|
370434
370455
|
finishedAt: (string | null);
|
|
370435
370456
|
k8sJobName: string;
|
|
370457
|
+
cancelledBy: (string | null);
|
|
370458
|
+
imageDigest: (string | null);
|
|
370459
|
+
triggeredBy: (string | null);
|
|
370460
|
+
deploymentId: (string | null);
|
|
370461
|
+
environmentId: string;
|
|
370462
|
+
failureReason: (string | null);
|
|
370463
|
+
}
|
|
370464
|
+
export interface DeploymentJobRunCancelInput {
|
|
370465
|
+
runId: string;
|
|
370466
|
+
serviceId: string;
|
|
370467
|
+
}
|
|
370468
|
+
export interface DeploymentJobRunCancelOutput {
|
|
370469
|
+
id: string;
|
|
370470
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled");
|
|
370471
|
+
trigger: ("schedule" | "manual");
|
|
370472
|
+
exitCode: (number | null);
|
|
370473
|
+
createdAt: string;
|
|
370474
|
+
serviceId: string;
|
|
370475
|
+
startedAt: (string | null);
|
|
370476
|
+
finishedAt: (string | null);
|
|
370477
|
+
k8sJobName: string;
|
|
370478
|
+
cancelledBy: (string | null);
|
|
370436
370479
|
imageDigest: (string | null);
|
|
370437
370480
|
triggeredBy: (string | null);
|
|
370438
370481
|
deploymentId: (string | null);
|
|
@@ -370446,7 +370489,7 @@ export interface DeploymentJobRunLogsInput {
|
|
|
370446
370489
|
export interface DeploymentJobRunLogsOutput {
|
|
370447
370490
|
live: boolean;
|
|
370448
370491
|
logs: string;
|
|
370449
|
-
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped");
|
|
370492
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled");
|
|
370450
370493
|
}
|
|
370451
370494
|
export interface DeploymentJobRunsListInput {
|
|
370452
370495
|
limit?: number;
|
|
@@ -370456,7 +370499,7 @@ export interface DeploymentJobRunsListInput {
|
|
|
370456
370499
|
export interface DeploymentJobRunsListOutput {
|
|
370457
370500
|
items: {
|
|
370458
370501
|
id: string;
|
|
370459
|
-
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped");
|
|
370502
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled");
|
|
370460
370503
|
trigger: ("schedule" | "manual");
|
|
370461
370504
|
exitCode: (number | null);
|
|
370462
370505
|
createdAt: string;
|
|
@@ -370464,6 +370507,7 @@ export interface DeploymentJobRunsListOutput {
|
|
|
370464
370507
|
startedAt: (string | null);
|
|
370465
370508
|
finishedAt: (string | null);
|
|
370466
370509
|
k8sJobName: string;
|
|
370510
|
+
cancelledBy: (string | null);
|
|
370467
370511
|
imageDigest: (string | null);
|
|
370468
370512
|
triggeredBy: (string | null);
|
|
370469
370513
|
deploymentId: (string | null);
|
|
@@ -370877,6 +370921,22 @@ export interface DeploymentPreviewPolicySetOutput {
|
|
|
370877
370921
|
maxPreviews: number;
|
|
370878
370922
|
baseEnvironmentId: string;
|
|
370879
370923
|
}
|
|
370924
|
+
export interface DeploymentResourcePresetsListInput {
|
|
370925
|
+
}
|
|
370926
|
+
export type DeploymentResourcePresetsListOutput = {
|
|
370927
|
+
/**
|
|
370928
|
+
* CPU limit as a Kubernetes quantity, e.g. 500m or 2.
|
|
370929
|
+
*/
|
|
370930
|
+
cpu: string;
|
|
370931
|
+
/**
|
|
370932
|
+
* Preset name: XS, S, M, L, XL or 2XL.
|
|
370933
|
+
*/
|
|
370934
|
+
key: string;
|
|
370935
|
+
/**
|
|
370936
|
+
* Memory limit as a Kubernetes quantity, e.g. 1Gi.
|
|
370937
|
+
*/
|
|
370938
|
+
memory: string;
|
|
370939
|
+
}[];
|
|
370880
370940
|
export interface DeploymentServiceCreateInput {
|
|
370881
370941
|
/**
|
|
370882
370942
|
* '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 +371050,27 @@ export interface DeploymentServiceCreateOutput {
|
|
|
370990
371050
|
mode?: string;
|
|
370991
371051
|
name: string;
|
|
370992
371052
|
slug: string;
|
|
371053
|
+
/**
|
|
371054
|
+
* Memory of the running version. Absent for static sites and when it could not be read.
|
|
371055
|
+
*/
|
|
371056
|
+
memory?: {
|
|
371057
|
+
/**
|
|
371058
|
+
* How reservedBytes was computed: peak, no-history, job-first-run or legacy.
|
|
371059
|
+
*/
|
|
371060
|
+
reason: (string | null);
|
|
371061
|
+
/**
|
|
371062
|
+
* Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
|
|
371063
|
+
*/
|
|
371064
|
+
peakWindow: string;
|
|
371065
|
+
/**
|
|
371066
|
+
* 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.
|
|
371067
|
+
*/
|
|
371068
|
+
peak7dBytes: (number | null);
|
|
371069
|
+
/**
|
|
371070
|
+
* 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.
|
|
371071
|
+
*/
|
|
371072
|
+
reservedBytes: (number | null);
|
|
371073
|
+
};
|
|
370993
371074
|
probes: {
|
|
370994
371075
|
startup?: {
|
|
370995
371076
|
path: string;
|
|
@@ -371177,6 +371258,27 @@ export interface DeploymentServiceGetOutput {
|
|
|
371177
371258
|
mode?: string;
|
|
371178
371259
|
name: string;
|
|
371179
371260
|
slug: string;
|
|
371261
|
+
/**
|
|
371262
|
+
* Memory of the running version. Absent for static sites and when it could not be read.
|
|
371263
|
+
*/
|
|
371264
|
+
memory?: {
|
|
371265
|
+
/**
|
|
371266
|
+
* How reservedBytes was computed: peak, no-history, job-first-run or legacy.
|
|
371267
|
+
*/
|
|
371268
|
+
reason: (string | null);
|
|
371269
|
+
/**
|
|
371270
|
+
* Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
|
|
371271
|
+
*/
|
|
371272
|
+
peakWindow: string;
|
|
371273
|
+
/**
|
|
371274
|
+
* 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.
|
|
371275
|
+
*/
|
|
371276
|
+
peak7dBytes: (number | null);
|
|
371277
|
+
/**
|
|
371278
|
+
* 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.
|
|
371279
|
+
*/
|
|
371280
|
+
reservedBytes: (number | null);
|
|
371281
|
+
};
|
|
371180
371282
|
probes: {
|
|
371181
371283
|
startup?: {
|
|
371182
371284
|
path: string;
|
|
@@ -371335,6 +371437,27 @@ export type DeploymentServiceListOutput = {
|
|
|
371335
371437
|
mode?: string;
|
|
371336
371438
|
name: string;
|
|
371337
371439
|
slug: string;
|
|
371440
|
+
/**
|
|
371441
|
+
* Memory of the running version. Absent for static sites and when it could not be read.
|
|
371442
|
+
*/
|
|
371443
|
+
memory?: {
|
|
371444
|
+
/**
|
|
371445
|
+
* How reservedBytes was computed: peak, no-history, job-first-run or legacy.
|
|
371446
|
+
*/
|
|
371447
|
+
reason: (string | null);
|
|
371448
|
+
/**
|
|
371449
|
+
* Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
|
|
371450
|
+
*/
|
|
371451
|
+
peakWindow: string;
|
|
371452
|
+
/**
|
|
371453
|
+
* 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.
|
|
371454
|
+
*/
|
|
371455
|
+
peak7dBytes: (number | null);
|
|
371456
|
+
/**
|
|
371457
|
+
* 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.
|
|
371458
|
+
*/
|
|
371459
|
+
reservedBytes: (number | null);
|
|
371460
|
+
};
|
|
371338
371461
|
probes: {
|
|
371339
371462
|
startup?: {
|
|
371340
371463
|
path: string;
|
|
@@ -371563,6 +371686,27 @@ export interface DeploymentServiceScaleOutput {
|
|
|
371563
371686
|
mode?: string;
|
|
371564
371687
|
name: string;
|
|
371565
371688
|
slug: string;
|
|
371689
|
+
/**
|
|
371690
|
+
* Memory of the running version. Absent for static sites and when it could not be read.
|
|
371691
|
+
*/
|
|
371692
|
+
memory?: {
|
|
371693
|
+
/**
|
|
371694
|
+
* How reservedBytes was computed: peak, no-history, job-first-run or legacy.
|
|
371695
|
+
*/
|
|
371696
|
+
reason: (string | null);
|
|
371697
|
+
/**
|
|
371698
|
+
* Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
|
|
371699
|
+
*/
|
|
371700
|
+
peakWindow: string;
|
|
371701
|
+
/**
|
|
371702
|
+
* 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.
|
|
371703
|
+
*/
|
|
371704
|
+
peak7dBytes: (number | null);
|
|
371705
|
+
/**
|
|
371706
|
+
* 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.
|
|
371707
|
+
*/
|
|
371708
|
+
reservedBytes: (number | null);
|
|
371709
|
+
};
|
|
371566
371710
|
probes: {
|
|
371567
371711
|
startup?: {
|
|
371568
371712
|
path: string;
|
|
@@ -371829,6 +371973,27 @@ export interface DeploymentServiceUpdateOutput {
|
|
|
371829
371973
|
mode?: string;
|
|
371830
371974
|
name: string;
|
|
371831
371975
|
slug: string;
|
|
371976
|
+
/**
|
|
371977
|
+
* Memory of the running version. Absent for static sites and when it could not be read.
|
|
371978
|
+
*/
|
|
371979
|
+
memory?: {
|
|
371980
|
+
/**
|
|
371981
|
+
* How reservedBytes was computed: peak, no-history, job-first-run or legacy.
|
|
371982
|
+
*/
|
|
371983
|
+
reason: (string | null);
|
|
371984
|
+
/**
|
|
371985
|
+
* Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
|
|
371986
|
+
*/
|
|
371987
|
+
peakWindow: string;
|
|
371988
|
+
/**
|
|
371989
|
+
* 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.
|
|
371990
|
+
*/
|
|
371991
|
+
peak7dBytes: (number | null);
|
|
371992
|
+
/**
|
|
371993
|
+
* 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.
|
|
371994
|
+
*/
|
|
371995
|
+
reservedBytes: (number | null);
|
|
371996
|
+
};
|
|
371832
371997
|
probes: {
|
|
371833
371998
|
startup?: {
|
|
371834
371999
|
path: string;
|
|
@@ -388781,6 +388946,332 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
388781
388946
|
export interface OrganizationYoutubeInstallOutput {
|
|
388782
388947
|
url: string;
|
|
388783
388948
|
}
|
|
388949
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
388950
|
+
/**
|
|
388951
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
388952
|
+
*/
|
|
388953
|
+
limit?: number;
|
|
388954
|
+
}
|
|
388955
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
388956
|
+
ok: boolean;
|
|
388957
|
+
minted: boolean;
|
|
388958
|
+
overview?: unknown;
|
|
388959
|
+
http_status: number;
|
|
388960
|
+
}
|
|
388961
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
388962
|
+
}
|
|
388963
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
388964
|
+
ok: boolean;
|
|
388965
|
+
minted: boolean;
|
|
388966
|
+
http_status: number;
|
|
388967
|
+
entitlements?: unknown;
|
|
388968
|
+
}
|
|
388969
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
388970
|
+
/**
|
|
388971
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
388972
|
+
*/
|
|
388973
|
+
value?: number;
|
|
388974
|
+
}
|
|
388975
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
388976
|
+
minted: boolean;
|
|
388977
|
+
accepted: (number | null);
|
|
388978
|
+
recorded: boolean;
|
|
388979
|
+
duplicates: (number | null);
|
|
388980
|
+
http_status: number;
|
|
388981
|
+
}
|
|
388982
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
388983
|
+
/**
|
|
388984
|
+
* Task title; defaults to a fixture label
|
|
388985
|
+
*/
|
|
388986
|
+
name?: string;
|
|
388987
|
+
/**
|
|
388988
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
388989
|
+
*/
|
|
388990
|
+
listId?: string;
|
|
388991
|
+
}
|
|
388992
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
388993
|
+
minted: boolean;
|
|
388994
|
+
task_id: (string | null);
|
|
388995
|
+
list_status: number;
|
|
388996
|
+
vend_status: number;
|
|
388997
|
+
clickup_status: number;
|
|
388998
|
+
installation_count: number;
|
|
388999
|
+
}
|
|
389000
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
389001
|
+
}
|
|
389002
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
389003
|
+
payload: string;
|
|
389004
|
+
event_id: string;
|
|
389005
|
+
provider: string;
|
|
389006
|
+
verified: boolean;
|
|
389007
|
+
product_id: string;
|
|
389008
|
+
occurred_at: string;
|
|
389009
|
+
connector_id: string;
|
|
389010
|
+
clickup_event: (string | null);
|
|
389011
|
+
receipt_count: number;
|
|
389012
|
+
} | {
|
|
389013
|
+
found: false;
|
|
389014
|
+
});
|
|
389015
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
389016
|
+
}
|
|
389017
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
389018
|
+
team: ({
|
|
389019
|
+
teamId: string;
|
|
389020
|
+
teamName: string;
|
|
389021
|
+
} | null);
|
|
389022
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
389023
|
+
tasks: {
|
|
389024
|
+
id: string;
|
|
389025
|
+
name: string;
|
|
389026
|
+
status: (string | null);
|
|
389027
|
+
}[];
|
|
389028
|
+
minted: boolean;
|
|
389029
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
389030
|
+
list_status: number;
|
|
389031
|
+
vend_status: number;
|
|
389032
|
+
lists_status: number;
|
|
389033
|
+
tasks_status: number;
|
|
389034
|
+
spaces_status: number;
|
|
389035
|
+
folders_status: number;
|
|
389036
|
+
installation_count: number;
|
|
389037
|
+
}
|
|
389038
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
389039
|
+
id: string;
|
|
389040
|
+
name: string;
|
|
389041
|
+
}
|
|
389042
|
+
export interface PlaygroundEchoPingInput {
|
|
389043
|
+
/**
|
|
389044
|
+
* The text to echo back, 1–1024 characters
|
|
389045
|
+
*/
|
|
389046
|
+
message: string;
|
|
389047
|
+
}
|
|
389048
|
+
export interface PlaygroundEchoPingOutput {
|
|
389049
|
+
/**
|
|
389050
|
+
* The message exactly as it was received
|
|
389051
|
+
*/
|
|
389052
|
+
message: string;
|
|
389053
|
+
/**
|
|
389054
|
+
* The product the call was resolved to
|
|
389055
|
+
*/
|
|
389056
|
+
productId: string;
|
|
389057
|
+
/**
|
|
389058
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
389059
|
+
*/
|
|
389060
|
+
receivedAt: string;
|
|
389061
|
+
}
|
|
389062
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
389063
|
+
}
|
|
389064
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
389065
|
+
file_id: string;
|
|
389066
|
+
removed: boolean;
|
|
389067
|
+
file_name: (string | null);
|
|
389068
|
+
mime_type: (string | null);
|
|
389069
|
+
product_id: string;
|
|
389070
|
+
occurred_at: string;
|
|
389071
|
+
connector_id: string;
|
|
389072
|
+
resource_state: string;
|
|
389073
|
+
} | {
|
|
389074
|
+
found: false;
|
|
389075
|
+
});
|
|
389076
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
389077
|
+
/**
|
|
389078
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
389079
|
+
*/
|
|
389080
|
+
fileId?: string;
|
|
389081
|
+
}
|
|
389082
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
389083
|
+
minted: boolean;
|
|
389084
|
+
file_id: (string | null);
|
|
389085
|
+
file_name: (string | null);
|
|
389086
|
+
mime_type: (string | null);
|
|
389087
|
+
file_count: number;
|
|
389088
|
+
get_status: number;
|
|
389089
|
+
list_status: number;
|
|
389090
|
+
vend_status: number;
|
|
389091
|
+
content_bytes: (number | null);
|
|
389092
|
+
}
|
|
389093
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
389094
|
+
}
|
|
389095
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
389096
|
+
minted: boolean;
|
|
389097
|
+
vended: boolean;
|
|
389098
|
+
customer_id: (string | null);
|
|
389099
|
+
vend_status: number;
|
|
389100
|
+
result_count: number;
|
|
389101
|
+
search_status: number;
|
|
389102
|
+
login_customer_id: (string | null);
|
|
389103
|
+
}
|
|
389104
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
389105
|
+
}
|
|
389106
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
389107
|
+
blocked: boolean;
|
|
389108
|
+
archived: boolean;
|
|
389109
|
+
productId: string;
|
|
389110
|
+
lastBlockTransition: ({
|
|
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
|
+
} | null);
|
|
389120
|
+
lastArchiveTransition: ({
|
|
389121
|
+
eventId: string;
|
|
389122
|
+
eventName: string;
|
|
389123
|
+
productId: string;
|
|
389124
|
+
occurredAt: string;
|
|
389125
|
+
recordedAt: string;
|
|
389126
|
+
receiptCount: number;
|
|
389127
|
+
organizationId: string;
|
|
389128
|
+
cascadedFromOrg: boolean;
|
|
389129
|
+
} | null);
|
|
389130
|
+
}
|
|
389131
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
389132
|
+
}
|
|
389133
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
389134
|
+
eventId: string;
|
|
389135
|
+
eventName: string;
|
|
389136
|
+
productId: string;
|
|
389137
|
+
occurredAt: string;
|
|
389138
|
+
recordedAt: string;
|
|
389139
|
+
receiptCount: number;
|
|
389140
|
+
organizationId: string;
|
|
389141
|
+
cascadedFromOrg: boolean;
|
|
389142
|
+
}[];
|
|
389143
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
389144
|
+
}
|
|
389145
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
389146
|
+
payload?: unknown;
|
|
389147
|
+
event_id: string;
|
|
389148
|
+
provider: string;
|
|
389149
|
+
verified: boolean;
|
|
389150
|
+
product_id: string;
|
|
389151
|
+
occurred_at: string;
|
|
389152
|
+
connector_id: string;
|
|
389153
|
+
delivery_count: number;
|
|
389154
|
+
} | {
|
|
389155
|
+
found: false;
|
|
389156
|
+
});
|
|
389157
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
389158
|
+
/**
|
|
389159
|
+
* The text to store, 1–1024 characters
|
|
389160
|
+
*/
|
|
389161
|
+
note: string;
|
|
389162
|
+
/**
|
|
389163
|
+
* Optional labels stored alongside the note, at most 20
|
|
389164
|
+
*
|
|
389165
|
+
* @maxItems 20
|
|
389166
|
+
*/
|
|
389167
|
+
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];
|
|
389168
|
+
}
|
|
389169
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
389170
|
+
/**
|
|
389171
|
+
* Identifier of the stored echo
|
|
389172
|
+
*/
|
|
389173
|
+
id: string;
|
|
389174
|
+
/**
|
|
389175
|
+
* The note exactly as it was received
|
|
389176
|
+
*/
|
|
389177
|
+
note: string;
|
|
389178
|
+
/**
|
|
389179
|
+
* The tags exactly as they were received
|
|
389180
|
+
*/
|
|
389181
|
+
tags: string[];
|
|
389182
|
+
/**
|
|
389183
|
+
* 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.
|
|
389184
|
+
*/
|
|
389185
|
+
echo_id: string;
|
|
389186
|
+
/**
|
|
389187
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
389188
|
+
*/
|
|
389189
|
+
received_at: string;
|
|
389190
|
+
}
|
|
389191
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
389192
|
+
}
|
|
389193
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
389194
|
+
/**
|
|
389195
|
+
* Identifier of the stored echo
|
|
389196
|
+
*/
|
|
389197
|
+
id: string;
|
|
389198
|
+
/**
|
|
389199
|
+
* The note exactly as it was received
|
|
389200
|
+
*/
|
|
389201
|
+
note: string;
|
|
389202
|
+
/**
|
|
389203
|
+
* The tags exactly as they were received
|
|
389204
|
+
*/
|
|
389205
|
+
tags: string[];
|
|
389206
|
+
/**
|
|
389207
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
389208
|
+
*/
|
|
389209
|
+
received_at: string;
|
|
389210
|
+
}[];
|
|
389211
|
+
export interface PlaygroundWorkflowPingInput {
|
|
389212
|
+
/**
|
|
389213
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
389214
|
+
*/
|
|
389215
|
+
kind?: string;
|
|
389216
|
+
}
|
|
389217
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
389218
|
+
/**
|
|
389219
|
+
* 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.
|
|
389220
|
+
*/
|
|
389221
|
+
id: string;
|
|
389222
|
+
/**
|
|
389223
|
+
* The name of the event that was published
|
|
389224
|
+
*/
|
|
389225
|
+
event: string;
|
|
389226
|
+
}
|
|
389227
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
389228
|
+
/**
|
|
389229
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
389230
|
+
*/
|
|
389231
|
+
limit?: number;
|
|
389232
|
+
/**
|
|
389233
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
389234
|
+
*/
|
|
389235
|
+
cursor?: string;
|
|
389236
|
+
/**
|
|
389237
|
+
* 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.
|
|
389238
|
+
*/
|
|
389239
|
+
last_activity_after?: string;
|
|
389240
|
+
/**
|
|
389241
|
+
* 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.
|
|
389242
|
+
*/
|
|
389243
|
+
last_activity_before?: string;
|
|
389244
|
+
}
|
|
389245
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
389246
|
+
/**
|
|
389247
|
+
* This page of subjects, most recently active first
|
|
389248
|
+
*/
|
|
389249
|
+
items: {
|
|
389250
|
+
/**
|
|
389251
|
+
* 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.
|
|
389252
|
+
*/
|
|
389253
|
+
subject_key: string;
|
|
389254
|
+
/**
|
|
389255
|
+
* Human-readable name of the subject
|
|
389256
|
+
*/
|
|
389257
|
+
display_name: string;
|
|
389258
|
+
/**
|
|
389259
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
389260
|
+
*/
|
|
389261
|
+
last_activity_at: string;
|
|
389262
|
+
}[];
|
|
389263
|
+
/**
|
|
389264
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
389265
|
+
*/
|
|
389266
|
+
has_more: boolean;
|
|
389267
|
+
/**
|
|
389268
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
389269
|
+
*/
|
|
389270
|
+
next_cursor: (string | null);
|
|
389271
|
+
}
|
|
389272
|
+
export interface PlaygroundWsEchoInput {
|
|
389273
|
+
}
|
|
389274
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
388784
389275
|
export interface RealtimeArchiveExportInput {
|
|
388785
389276
|
/**
|
|
388786
389277
|
* Only entries with ts <= to_ts (epoch ms)
|