@lessly/sdk-app 118.0.2 → 119.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -3
- package/dist/_types/gen/client.gen.d.ts +38 -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 -16
- package/dist/chunk-LH7IJHII.js +12399 -0
- package/dist/chunk-LH7IJHII.js.map +1 -0
- package/dist/index.cjs +224 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -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 +213 -46
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +21 -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 +544 -16
|
@@ -369332,27 +369332,53 @@ export interface DeploymentCanvasGetOutput {
|
|
|
369332
369332
|
idleMinutes: number;
|
|
369333
369333
|
scaleToZero: boolean;
|
|
369334
369334
|
publicDomain?: boolean;
|
|
369335
|
-
|
|
369335
|
+
/**
|
|
369336
|
+
* Probes of the version running now: what the serving deployment rendered (the Active one, or the Crashed one while it crash-loops). null when no deployment runs, or when they could not be read (appliedProbesUnknown). A change to probes reaches it only through a deploy. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render).
|
|
369337
|
+
*/
|
|
369338
|
+
appliedProbes?: ({
|
|
369336
369339
|
startup?: DeploymentCanvasGetOutputReadiness1;
|
|
369337
369340
|
liveness?: DeploymentCanvasGetOutputReadiness1;
|
|
369338
369341
|
readiness?: DeploymentCanvasGetOutputReadiness1;
|
|
369339
|
-
};
|
|
369342
|
+
} | null);
|
|
369340
369343
|
containerPort: number;
|
|
369341
369344
|
environmentId: string;
|
|
369342
369345
|
jobTimeoutSec?: number;
|
|
369346
|
+
/**
|
|
369347
|
+
* Probes the next deploy of this service will apply, from its current settings and defaults. Absent for static and scheduled services.
|
|
369348
|
+
*/
|
|
369349
|
+
pendingProbes?: {
|
|
369350
|
+
startup?: DeploymentCanvasGetOutputReadiness1;
|
|
369351
|
+
liveness?: DeploymentCanvasGetOutputReadiness1;
|
|
369352
|
+
readiness?: DeploymentCanvasGetOutputReadiness1;
|
|
369353
|
+
};
|
|
369343
369354
|
jobConcurrency?: string;
|
|
369344
369355
|
buildMachineType?: (string | null);
|
|
369345
369356
|
sourceConnection?: {
|
|
369346
369357
|
state: ("connected" | "unavailable" | "unknown");
|
|
369347
369358
|
};
|
|
369359
|
+
/**
|
|
369360
|
+
* True when appliedProbes.startup is the automatic startup probe (added for a liveness-only service), not the service's own probes.startup.
|
|
369361
|
+
*/
|
|
369348
369362
|
startupAutomatic?: boolean;
|
|
369349
369363
|
scheduleSuspended?: boolean;
|
|
369350
369364
|
suspendedByBilling?: boolean;
|
|
369351
369365
|
lastReplicasRunning: number;
|
|
369366
|
+
/**
|
|
369367
|
+
* True when a deployment runs but its probes could not be read; appliedProbes is then null. The next deploy records them.
|
|
369368
|
+
*/
|
|
369369
|
+
appliedProbesUnknown?: boolean;
|
|
369370
|
+
/**
|
|
369371
|
+
* True when pendingProbes differ from appliedProbes: the running version does not have them yet. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render). False when no deployment runs or appliedProbes are unknown.
|
|
369372
|
+
*/
|
|
369373
|
+
probesPendingRedeploy?: boolean;
|
|
369352
369374
|
scaleToZeroEligibility?: {
|
|
369353
369375
|
reasons: string[];
|
|
369354
369376
|
eligible: boolean;
|
|
369355
369377
|
};
|
|
369378
|
+
/**
|
|
369379
|
+
* True when pendingProbes.startup is the automatic startup probe.
|
|
369380
|
+
*/
|
|
369381
|
+
pendingStartupAutomatic?: boolean;
|
|
369356
369382
|
}[];
|
|
369357
369383
|
environmentId: string;
|
|
369358
369384
|
}
|
|
@@ -370354,7 +370380,7 @@ export interface DeploymentEnvironmentUpdateOutput {
|
|
|
370354
370380
|
baseEnvironmentId: (string | null);
|
|
370355
370381
|
}
|
|
370356
370382
|
export interface DeploymentEventsListByEnvironmentInput {
|
|
370357
|
-
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" | "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");
|
|
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");
|
|
370358
370384
|
limit?: number;
|
|
370359
370385
|
since?: string;
|
|
370360
370386
|
until?: string;
|
|
@@ -370362,7 +370388,7 @@ export interface DeploymentEventsListByEnvironmentInput {
|
|
|
370362
370388
|
}
|
|
370363
370389
|
export type DeploymentEventsListByEnvironmentOutput = {
|
|
370364
370390
|
id: string;
|
|
370365
|
-
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" | "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");
|
|
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");
|
|
370366
370392
|
payload: {
|
|
370367
370393
|
[k: string]: unknown;
|
|
370368
370394
|
};
|
|
@@ -370374,7 +370400,7 @@ export type DeploymentEventsListByEnvironmentOutput = {
|
|
|
370374
370400
|
environmentId: (string | null);
|
|
370375
370401
|
}[];
|
|
370376
370402
|
export interface DeploymentEventsListByServiceInput {
|
|
370377
|
-
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" | "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");
|
|
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");
|
|
370378
370404
|
limit?: number;
|
|
370379
370405
|
since?: string;
|
|
370380
370406
|
until?: string;
|
|
@@ -370383,7 +370409,7 @@ export interface DeploymentEventsListByServiceInput {
|
|
|
370383
370409
|
}
|
|
370384
370410
|
export type DeploymentEventsListByServiceOutput = {
|
|
370385
370411
|
id: string;
|
|
370386
|
-
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" | "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" | "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");
|
|
370387
370413
|
payload: {
|
|
370388
370414
|
[k: string]: unknown;
|
|
370389
370415
|
};
|
|
@@ -371048,27 +371074,53 @@ export interface DeploymentServiceCreateOutput {
|
|
|
371048
371074
|
idleMinutes: number;
|
|
371049
371075
|
scaleToZero: boolean;
|
|
371050
371076
|
publicDomain?: boolean;
|
|
371051
|
-
|
|
371077
|
+
/**
|
|
371078
|
+
* Probes of the version running now: what the serving deployment rendered (the Active one, or the Crashed one while it crash-loops). null when no deployment runs, or when they could not be read (appliedProbesUnknown). A change to probes reaches it only through a deploy. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render).
|
|
371079
|
+
*/
|
|
371080
|
+
appliedProbes?: ({
|
|
371052
371081
|
startup?: DeploymentServiceCreateOutputReadiness1;
|
|
371053
371082
|
liveness?: DeploymentServiceCreateOutputReadiness1;
|
|
371054
371083
|
readiness?: DeploymentServiceCreateOutputReadiness1;
|
|
371055
|
-
};
|
|
371084
|
+
} | null);
|
|
371056
371085
|
containerPort: number;
|
|
371057
371086
|
environmentId: string;
|
|
371058
371087
|
jobTimeoutSec?: number;
|
|
371088
|
+
/**
|
|
371089
|
+
* Probes the next deploy of this service will apply, from its current settings and defaults. Absent for static and scheduled services.
|
|
371090
|
+
*/
|
|
371091
|
+
pendingProbes?: {
|
|
371092
|
+
startup?: DeploymentServiceCreateOutputReadiness1;
|
|
371093
|
+
liveness?: DeploymentServiceCreateOutputReadiness1;
|
|
371094
|
+
readiness?: DeploymentServiceCreateOutputReadiness1;
|
|
371095
|
+
};
|
|
371059
371096
|
jobConcurrency?: string;
|
|
371060
371097
|
buildMachineType?: (string | null);
|
|
371061
371098
|
sourceConnection?: {
|
|
371062
371099
|
state: ("connected" | "unavailable" | "unknown");
|
|
371063
371100
|
};
|
|
371101
|
+
/**
|
|
371102
|
+
* True when appliedProbes.startup is the automatic startup probe (added for a liveness-only service), not the service's own probes.startup.
|
|
371103
|
+
*/
|
|
371064
371104
|
startupAutomatic?: boolean;
|
|
371065
371105
|
scheduleSuspended?: boolean;
|
|
371066
371106
|
suspendedByBilling?: boolean;
|
|
371067
371107
|
lastReplicasRunning: number;
|
|
371108
|
+
/**
|
|
371109
|
+
* True when a deployment runs but its probes could not be read; appliedProbes is then null. The next deploy records them.
|
|
371110
|
+
*/
|
|
371111
|
+
appliedProbesUnknown?: boolean;
|
|
371112
|
+
/**
|
|
371113
|
+
* True when pendingProbes differ from appliedProbes: the running version does not have them yet. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render). False when no deployment runs or appliedProbes are unknown.
|
|
371114
|
+
*/
|
|
371115
|
+
probesPendingRedeploy?: boolean;
|
|
371068
371116
|
scaleToZeroEligibility?: {
|
|
371069
371117
|
reasons: string[];
|
|
371070
371118
|
eligible: boolean;
|
|
371071
371119
|
};
|
|
371120
|
+
/**
|
|
371121
|
+
* True when pendingProbes.startup is the automatic startup probe.
|
|
371122
|
+
*/
|
|
371123
|
+
pendingStartupAutomatic?: boolean;
|
|
371072
371124
|
}
|
|
371073
371125
|
export interface DeploymentServiceCreateOutputReadiness {
|
|
371074
371126
|
path: string;
|
|
@@ -371209,27 +371261,53 @@ export interface DeploymentServiceGetOutput {
|
|
|
371209
371261
|
idleMinutes: number;
|
|
371210
371262
|
scaleToZero: boolean;
|
|
371211
371263
|
publicDomain?: boolean;
|
|
371212
|
-
|
|
371264
|
+
/**
|
|
371265
|
+
* Probes of the version running now: what the serving deployment rendered (the Active one, or the Crashed one while it crash-loops). null when no deployment runs, or when they could not be read (appliedProbesUnknown). A change to probes reaches it only through a deploy. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render).
|
|
371266
|
+
*/
|
|
371267
|
+
appliedProbes?: ({
|
|
371213
371268
|
startup?: DeploymentServiceGetOutputReadiness1;
|
|
371214
371269
|
liveness?: DeploymentServiceGetOutputReadiness1;
|
|
371215
371270
|
readiness?: DeploymentServiceGetOutputReadiness1;
|
|
371216
|
-
};
|
|
371271
|
+
} | null);
|
|
371217
371272
|
containerPort: number;
|
|
371218
371273
|
environmentId: string;
|
|
371219
371274
|
jobTimeoutSec?: number;
|
|
371275
|
+
/**
|
|
371276
|
+
* Probes the next deploy of this service will apply, from its current settings and defaults. Absent for static and scheduled services.
|
|
371277
|
+
*/
|
|
371278
|
+
pendingProbes?: {
|
|
371279
|
+
startup?: DeploymentServiceGetOutputReadiness1;
|
|
371280
|
+
liveness?: DeploymentServiceGetOutputReadiness1;
|
|
371281
|
+
readiness?: DeploymentServiceGetOutputReadiness1;
|
|
371282
|
+
};
|
|
371220
371283
|
jobConcurrency?: string;
|
|
371221
371284
|
buildMachineType?: (string | null);
|
|
371222
371285
|
sourceConnection?: {
|
|
371223
371286
|
state: ("connected" | "unavailable" | "unknown");
|
|
371224
371287
|
};
|
|
371288
|
+
/**
|
|
371289
|
+
* True when appliedProbes.startup is the automatic startup probe (added for a liveness-only service), not the service's own probes.startup.
|
|
371290
|
+
*/
|
|
371225
371291
|
startupAutomatic?: boolean;
|
|
371226
371292
|
scheduleSuspended?: boolean;
|
|
371227
371293
|
suspendedByBilling?: boolean;
|
|
371228
371294
|
lastReplicasRunning: number;
|
|
371295
|
+
/**
|
|
371296
|
+
* True when a deployment runs but its probes could not be read; appliedProbes is then null. The next deploy records them.
|
|
371297
|
+
*/
|
|
371298
|
+
appliedProbesUnknown?: boolean;
|
|
371299
|
+
/**
|
|
371300
|
+
* True when pendingProbes differ from appliedProbes: the running version does not have them yet. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render). False when no deployment runs or appliedProbes are unknown.
|
|
371301
|
+
*/
|
|
371302
|
+
probesPendingRedeploy?: boolean;
|
|
371229
371303
|
scaleToZeroEligibility?: {
|
|
371230
371304
|
reasons: string[];
|
|
371231
371305
|
eligible: boolean;
|
|
371232
371306
|
};
|
|
371307
|
+
/**
|
|
371308
|
+
* True when pendingProbes.startup is the automatic startup probe.
|
|
371309
|
+
*/
|
|
371310
|
+
pendingStartupAutomatic?: boolean;
|
|
371233
371311
|
}
|
|
371234
371312
|
export interface DeploymentServiceGetOutputReadiness {
|
|
371235
371313
|
path: string;
|
|
@@ -371341,27 +371419,53 @@ export type DeploymentServiceListOutput = {
|
|
|
371341
371419
|
idleMinutes: number;
|
|
371342
371420
|
scaleToZero: boolean;
|
|
371343
371421
|
publicDomain?: boolean;
|
|
371344
|
-
|
|
371422
|
+
/**
|
|
371423
|
+
* Probes of the version running now: what the serving deployment rendered (the Active one, or the Crashed one while it crash-loops). null when no deployment runs, or when they could not be read (appliedProbesUnknown). A change to probes reaches it only through a deploy. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render).
|
|
371424
|
+
*/
|
|
371425
|
+
appliedProbes?: ({
|
|
371345
371426
|
startup?: DeploymentServiceListOutputReadiness1;
|
|
371346
371427
|
liveness?: DeploymentServiceListOutputReadiness1;
|
|
371347
371428
|
readiness?: DeploymentServiceListOutputReadiness1;
|
|
371348
|
-
};
|
|
371429
|
+
} | null);
|
|
371349
371430
|
containerPort: number;
|
|
371350
371431
|
environmentId: string;
|
|
371351
371432
|
jobTimeoutSec?: number;
|
|
371433
|
+
/**
|
|
371434
|
+
* Probes the next deploy of this service will apply, from its current settings and defaults. Absent for static and scheduled services.
|
|
371435
|
+
*/
|
|
371436
|
+
pendingProbes?: {
|
|
371437
|
+
startup?: DeploymentServiceListOutputReadiness1;
|
|
371438
|
+
liveness?: DeploymentServiceListOutputReadiness1;
|
|
371439
|
+
readiness?: DeploymentServiceListOutputReadiness1;
|
|
371440
|
+
};
|
|
371352
371441
|
jobConcurrency?: string;
|
|
371353
371442
|
buildMachineType?: (string | null);
|
|
371354
371443
|
sourceConnection?: {
|
|
371355
371444
|
state: ("connected" | "unavailable" | "unknown");
|
|
371356
371445
|
};
|
|
371446
|
+
/**
|
|
371447
|
+
* True when appliedProbes.startup is the automatic startup probe (added for a liveness-only service), not the service's own probes.startup.
|
|
371448
|
+
*/
|
|
371357
371449
|
startupAutomatic?: boolean;
|
|
371358
371450
|
scheduleSuspended?: boolean;
|
|
371359
371451
|
suspendedByBilling?: boolean;
|
|
371360
371452
|
lastReplicasRunning: number;
|
|
371453
|
+
/**
|
|
371454
|
+
* True when a deployment runs but its probes could not be read; appliedProbes is then null. The next deploy records them.
|
|
371455
|
+
*/
|
|
371456
|
+
appliedProbesUnknown?: boolean;
|
|
371457
|
+
/**
|
|
371458
|
+
* True when pendingProbes differ from appliedProbes: the running version does not have them yet. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render). False when no deployment runs or appliedProbes are unknown.
|
|
371459
|
+
*/
|
|
371460
|
+
probesPendingRedeploy?: boolean;
|
|
371361
371461
|
scaleToZeroEligibility?: {
|
|
371362
371462
|
reasons: string[];
|
|
371363
371463
|
eligible: boolean;
|
|
371364
371464
|
};
|
|
371465
|
+
/**
|
|
371466
|
+
* True when pendingProbes.startup is the automatic startup probe.
|
|
371467
|
+
*/
|
|
371468
|
+
pendingStartupAutomatic?: boolean;
|
|
371365
371469
|
}[];
|
|
371366
371470
|
export interface DeploymentServiceListOutputReadiness {
|
|
371367
371471
|
path: string;
|
|
@@ -371543,27 +371647,53 @@ export interface DeploymentServiceScaleOutput {
|
|
|
371543
371647
|
idleMinutes: number;
|
|
371544
371648
|
scaleToZero: boolean;
|
|
371545
371649
|
publicDomain?: boolean;
|
|
371546
|
-
|
|
371650
|
+
/**
|
|
371651
|
+
* Probes of the version running now: what the serving deployment rendered (the Active one, or the Crashed one while it crash-loops). null when no deployment runs, or when they could not be read (appliedProbesUnknown). A change to probes reaches it only through a deploy. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render).
|
|
371652
|
+
*/
|
|
371653
|
+
appliedProbes?: ({
|
|
371547
371654
|
startup?: DeploymentServiceScaleOutputReadiness1;
|
|
371548
371655
|
liveness?: DeploymentServiceScaleOutputReadiness1;
|
|
371549
371656
|
readiness?: DeploymentServiceScaleOutputReadiness1;
|
|
371550
|
-
};
|
|
371657
|
+
} | null);
|
|
371551
371658
|
containerPort: number;
|
|
371552
371659
|
environmentId: string;
|
|
371553
371660
|
jobTimeoutSec?: number;
|
|
371661
|
+
/**
|
|
371662
|
+
* Probes the next deploy of this service will apply, from its current settings and defaults. Absent for static and scheduled services.
|
|
371663
|
+
*/
|
|
371664
|
+
pendingProbes?: {
|
|
371665
|
+
startup?: DeploymentServiceScaleOutputReadiness1;
|
|
371666
|
+
liveness?: DeploymentServiceScaleOutputReadiness1;
|
|
371667
|
+
readiness?: DeploymentServiceScaleOutputReadiness1;
|
|
371668
|
+
};
|
|
371554
371669
|
jobConcurrency?: string;
|
|
371555
371670
|
buildMachineType?: (string | null);
|
|
371556
371671
|
sourceConnection?: {
|
|
371557
371672
|
state: ("connected" | "unavailable" | "unknown");
|
|
371558
371673
|
};
|
|
371674
|
+
/**
|
|
371675
|
+
* True when appliedProbes.startup is the automatic startup probe (added for a liveness-only service), not the service's own probes.startup.
|
|
371676
|
+
*/
|
|
371559
371677
|
startupAutomatic?: boolean;
|
|
371560
371678
|
scheduleSuspended?: boolean;
|
|
371561
371679
|
suspendedByBilling?: boolean;
|
|
371562
371680
|
lastReplicasRunning: number;
|
|
371681
|
+
/**
|
|
371682
|
+
* True when a deployment runs but its probes could not be read; appliedProbes is then null. The next deploy records them.
|
|
371683
|
+
*/
|
|
371684
|
+
appliedProbesUnknown?: boolean;
|
|
371685
|
+
/**
|
|
371686
|
+
* True when pendingProbes differ from appliedProbes: the running version does not have them yet. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render). False when no deployment runs or appliedProbes are unknown.
|
|
371687
|
+
*/
|
|
371688
|
+
probesPendingRedeploy?: boolean;
|
|
371563
371689
|
scaleToZeroEligibility?: {
|
|
371564
371690
|
reasons: string[];
|
|
371565
371691
|
eligible: boolean;
|
|
371566
371692
|
};
|
|
371693
|
+
/**
|
|
371694
|
+
* True when pendingProbes.startup is the automatic startup probe.
|
|
371695
|
+
*/
|
|
371696
|
+
pendingStartupAutomatic?: boolean;
|
|
371567
371697
|
}
|
|
371568
371698
|
export interface DeploymentServiceScaleOutputReadiness {
|
|
371569
371699
|
path: string;
|
|
@@ -371783,27 +371913,53 @@ export interface DeploymentServiceUpdateOutput {
|
|
|
371783
371913
|
idleMinutes: number;
|
|
371784
371914
|
scaleToZero: boolean;
|
|
371785
371915
|
publicDomain?: boolean;
|
|
371786
|
-
|
|
371916
|
+
/**
|
|
371917
|
+
* Probes of the version running now: what the serving deployment rendered (the Active one, or the Crashed one while it crash-loops). null when no deployment runs, or when they could not be read (appliedProbesUnknown). A change to probes reaches it only through a deploy. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render).
|
|
371918
|
+
*/
|
|
371919
|
+
appliedProbes?: ({
|
|
371787
371920
|
startup?: DeploymentServiceUpdateOutputReadiness1;
|
|
371788
371921
|
liveness?: DeploymentServiceUpdateOutputReadiness1;
|
|
371789
371922
|
readiness?: DeploymentServiceUpdateOutputReadiness1;
|
|
371790
|
-
};
|
|
371923
|
+
} | null);
|
|
371791
371924
|
containerPort: number;
|
|
371792
371925
|
environmentId: string;
|
|
371793
371926
|
jobTimeoutSec?: number;
|
|
371927
|
+
/**
|
|
371928
|
+
* Probes the next deploy of this service will apply, from its current settings and defaults. Absent for static and scheduled services.
|
|
371929
|
+
*/
|
|
371930
|
+
pendingProbes?: {
|
|
371931
|
+
startup?: DeploymentServiceUpdateOutputReadiness1;
|
|
371932
|
+
liveness?: DeploymentServiceUpdateOutputReadiness1;
|
|
371933
|
+
readiness?: DeploymentServiceUpdateOutputReadiness1;
|
|
371934
|
+
};
|
|
371794
371935
|
jobConcurrency?: string;
|
|
371795
371936
|
buildMachineType?: (string | null);
|
|
371796
371937
|
sourceConnection?: {
|
|
371797
371938
|
state: ("connected" | "unavailable" | "unknown");
|
|
371798
371939
|
};
|
|
371940
|
+
/**
|
|
371941
|
+
* True when appliedProbes.startup is the automatic startup probe (added for a liveness-only service), not the service's own probes.startup.
|
|
371942
|
+
*/
|
|
371799
371943
|
startupAutomatic?: boolean;
|
|
371800
371944
|
scheduleSuspended?: boolean;
|
|
371801
371945
|
suspendedByBilling?: boolean;
|
|
371802
371946
|
lastReplicasRunning: number;
|
|
371947
|
+
/**
|
|
371948
|
+
* True when a deployment runs but its probes could not be read; appliedProbes is then null. The next deploy records them.
|
|
371949
|
+
*/
|
|
371950
|
+
appliedProbesUnknown?: boolean;
|
|
371951
|
+
/**
|
|
371952
|
+
* True when pendingProbes differ from appliedProbes: the running version does not have them yet. To apply pendingProbes now, deploy the service, or roll back to its current Active deployment (same image, fresh render). False when no deployment runs or appliedProbes are unknown.
|
|
371953
|
+
*/
|
|
371954
|
+
probesPendingRedeploy?: boolean;
|
|
371803
371955
|
scaleToZeroEligibility?: {
|
|
371804
371956
|
reasons: string[];
|
|
371805
371957
|
eligible: boolean;
|
|
371806
371958
|
};
|
|
371959
|
+
/**
|
|
371960
|
+
* True when pendingProbes.startup is the automatic startup probe.
|
|
371961
|
+
*/
|
|
371962
|
+
pendingStartupAutomatic?: boolean;
|
|
371807
371963
|
}
|
|
371808
371964
|
export interface DeploymentServiceUpdateOutputReadiness {
|
|
371809
371965
|
path: string;
|
|
@@ -388625,6 +388781,332 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
388625
388781
|
export interface OrganizationYoutubeInstallOutput {
|
|
388626
388782
|
url: string;
|
|
388627
388783
|
}
|
|
388784
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
388785
|
+
/**
|
|
388786
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
388787
|
+
*/
|
|
388788
|
+
limit?: number;
|
|
388789
|
+
}
|
|
388790
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
388791
|
+
ok: boolean;
|
|
388792
|
+
minted: boolean;
|
|
388793
|
+
overview?: unknown;
|
|
388794
|
+
http_status: number;
|
|
388795
|
+
}
|
|
388796
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
388797
|
+
}
|
|
388798
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
388799
|
+
ok: boolean;
|
|
388800
|
+
minted: boolean;
|
|
388801
|
+
http_status: number;
|
|
388802
|
+
entitlements?: unknown;
|
|
388803
|
+
}
|
|
388804
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
388805
|
+
/**
|
|
388806
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
388807
|
+
*/
|
|
388808
|
+
value?: number;
|
|
388809
|
+
}
|
|
388810
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
388811
|
+
minted: boolean;
|
|
388812
|
+
accepted: (number | null);
|
|
388813
|
+
recorded: boolean;
|
|
388814
|
+
duplicates: (number | null);
|
|
388815
|
+
http_status: number;
|
|
388816
|
+
}
|
|
388817
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
388818
|
+
/**
|
|
388819
|
+
* Task title; defaults to a fixture label
|
|
388820
|
+
*/
|
|
388821
|
+
name?: string;
|
|
388822
|
+
/**
|
|
388823
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
388824
|
+
*/
|
|
388825
|
+
listId?: string;
|
|
388826
|
+
}
|
|
388827
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
388828
|
+
minted: boolean;
|
|
388829
|
+
task_id: (string | null);
|
|
388830
|
+
list_status: number;
|
|
388831
|
+
vend_status: number;
|
|
388832
|
+
clickup_status: number;
|
|
388833
|
+
installation_count: number;
|
|
388834
|
+
}
|
|
388835
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
388836
|
+
}
|
|
388837
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
388838
|
+
payload: string;
|
|
388839
|
+
event_id: string;
|
|
388840
|
+
provider: string;
|
|
388841
|
+
verified: boolean;
|
|
388842
|
+
product_id: string;
|
|
388843
|
+
occurred_at: string;
|
|
388844
|
+
connector_id: string;
|
|
388845
|
+
clickup_event: (string | null);
|
|
388846
|
+
receipt_count: number;
|
|
388847
|
+
} | {
|
|
388848
|
+
found: false;
|
|
388849
|
+
});
|
|
388850
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
388851
|
+
}
|
|
388852
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
388853
|
+
team: ({
|
|
388854
|
+
teamId: string;
|
|
388855
|
+
teamName: string;
|
|
388856
|
+
} | null);
|
|
388857
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
388858
|
+
tasks: {
|
|
388859
|
+
id: string;
|
|
388860
|
+
name: string;
|
|
388861
|
+
status: (string | null);
|
|
388862
|
+
}[];
|
|
388863
|
+
minted: boolean;
|
|
388864
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
388865
|
+
list_status: number;
|
|
388866
|
+
vend_status: number;
|
|
388867
|
+
lists_status: number;
|
|
388868
|
+
tasks_status: number;
|
|
388869
|
+
spaces_status: number;
|
|
388870
|
+
folders_status: number;
|
|
388871
|
+
installation_count: number;
|
|
388872
|
+
}
|
|
388873
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
388874
|
+
id: string;
|
|
388875
|
+
name: string;
|
|
388876
|
+
}
|
|
388877
|
+
export interface PlaygroundEchoPingInput {
|
|
388878
|
+
/**
|
|
388879
|
+
* The text to echo back, 1–1024 characters
|
|
388880
|
+
*/
|
|
388881
|
+
message: string;
|
|
388882
|
+
}
|
|
388883
|
+
export interface PlaygroundEchoPingOutput {
|
|
388884
|
+
/**
|
|
388885
|
+
* The message exactly as it was received
|
|
388886
|
+
*/
|
|
388887
|
+
message: string;
|
|
388888
|
+
/**
|
|
388889
|
+
* The product the call was resolved to
|
|
388890
|
+
*/
|
|
388891
|
+
productId: string;
|
|
388892
|
+
/**
|
|
388893
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
388894
|
+
*/
|
|
388895
|
+
receivedAt: string;
|
|
388896
|
+
}
|
|
388897
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
388898
|
+
}
|
|
388899
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
388900
|
+
file_id: string;
|
|
388901
|
+
removed: boolean;
|
|
388902
|
+
file_name: (string | null);
|
|
388903
|
+
mime_type: (string | null);
|
|
388904
|
+
product_id: string;
|
|
388905
|
+
occurred_at: string;
|
|
388906
|
+
connector_id: string;
|
|
388907
|
+
resource_state: string;
|
|
388908
|
+
} | {
|
|
388909
|
+
found: false;
|
|
388910
|
+
});
|
|
388911
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
388912
|
+
/**
|
|
388913
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
388914
|
+
*/
|
|
388915
|
+
fileId?: string;
|
|
388916
|
+
}
|
|
388917
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
388918
|
+
minted: boolean;
|
|
388919
|
+
file_id: (string | null);
|
|
388920
|
+
file_name: (string | null);
|
|
388921
|
+
mime_type: (string | null);
|
|
388922
|
+
file_count: number;
|
|
388923
|
+
get_status: number;
|
|
388924
|
+
list_status: number;
|
|
388925
|
+
vend_status: number;
|
|
388926
|
+
content_bytes: (number | null);
|
|
388927
|
+
}
|
|
388928
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
388929
|
+
}
|
|
388930
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
388931
|
+
minted: boolean;
|
|
388932
|
+
vended: boolean;
|
|
388933
|
+
customer_id: (string | null);
|
|
388934
|
+
vend_status: number;
|
|
388935
|
+
result_count: number;
|
|
388936
|
+
search_status: number;
|
|
388937
|
+
login_customer_id: (string | null);
|
|
388938
|
+
}
|
|
388939
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
388940
|
+
}
|
|
388941
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
388942
|
+
blocked: boolean;
|
|
388943
|
+
archived: boolean;
|
|
388944
|
+
productId: string;
|
|
388945
|
+
lastBlockTransition: ({
|
|
388946
|
+
eventId: string;
|
|
388947
|
+
eventName: string;
|
|
388948
|
+
productId: string;
|
|
388949
|
+
occurredAt: string;
|
|
388950
|
+
recordedAt: string;
|
|
388951
|
+
receiptCount: number;
|
|
388952
|
+
organizationId: string;
|
|
388953
|
+
cascadedFromOrg: boolean;
|
|
388954
|
+
} | null);
|
|
388955
|
+
lastArchiveTransition: ({
|
|
388956
|
+
eventId: string;
|
|
388957
|
+
eventName: string;
|
|
388958
|
+
productId: string;
|
|
388959
|
+
occurredAt: string;
|
|
388960
|
+
recordedAt: string;
|
|
388961
|
+
receiptCount: number;
|
|
388962
|
+
organizationId: string;
|
|
388963
|
+
cascadedFromOrg: boolean;
|
|
388964
|
+
} | null);
|
|
388965
|
+
}
|
|
388966
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
388967
|
+
}
|
|
388968
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
388969
|
+
eventId: string;
|
|
388970
|
+
eventName: string;
|
|
388971
|
+
productId: string;
|
|
388972
|
+
occurredAt: string;
|
|
388973
|
+
recordedAt: string;
|
|
388974
|
+
receiptCount: number;
|
|
388975
|
+
organizationId: string;
|
|
388976
|
+
cascadedFromOrg: boolean;
|
|
388977
|
+
}[];
|
|
388978
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
388979
|
+
}
|
|
388980
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
388981
|
+
payload?: unknown;
|
|
388982
|
+
event_id: string;
|
|
388983
|
+
provider: string;
|
|
388984
|
+
verified: boolean;
|
|
388985
|
+
product_id: string;
|
|
388986
|
+
occurred_at: string;
|
|
388987
|
+
connector_id: string;
|
|
388988
|
+
delivery_count: number;
|
|
388989
|
+
} | {
|
|
388990
|
+
found: false;
|
|
388991
|
+
});
|
|
388992
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
388993
|
+
/**
|
|
388994
|
+
* The text to store, 1–1024 characters
|
|
388995
|
+
*/
|
|
388996
|
+
note: string;
|
|
388997
|
+
/**
|
|
388998
|
+
* Optional labels stored alongside the note, at most 20
|
|
388999
|
+
*
|
|
389000
|
+
* @maxItems 20
|
|
389001
|
+
*/
|
|
389002
|
+
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];
|
|
389003
|
+
}
|
|
389004
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
389005
|
+
/**
|
|
389006
|
+
* Identifier of the stored echo
|
|
389007
|
+
*/
|
|
389008
|
+
id: string;
|
|
389009
|
+
/**
|
|
389010
|
+
* The note exactly as it was received
|
|
389011
|
+
*/
|
|
389012
|
+
note: string;
|
|
389013
|
+
/**
|
|
389014
|
+
* The tags exactly as they were received
|
|
389015
|
+
*/
|
|
389016
|
+
tags: string[];
|
|
389017
|
+
/**
|
|
389018
|
+
* 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.
|
|
389019
|
+
*/
|
|
389020
|
+
echo_id: string;
|
|
389021
|
+
/**
|
|
389022
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
389023
|
+
*/
|
|
389024
|
+
received_at: string;
|
|
389025
|
+
}
|
|
389026
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
389027
|
+
}
|
|
389028
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
389029
|
+
/**
|
|
389030
|
+
* Identifier of the stored echo
|
|
389031
|
+
*/
|
|
389032
|
+
id: string;
|
|
389033
|
+
/**
|
|
389034
|
+
* The note exactly as it was received
|
|
389035
|
+
*/
|
|
389036
|
+
note: string;
|
|
389037
|
+
/**
|
|
389038
|
+
* The tags exactly as they were received
|
|
389039
|
+
*/
|
|
389040
|
+
tags: string[];
|
|
389041
|
+
/**
|
|
389042
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
389043
|
+
*/
|
|
389044
|
+
received_at: string;
|
|
389045
|
+
}[];
|
|
389046
|
+
export interface PlaygroundWorkflowPingInput {
|
|
389047
|
+
/**
|
|
389048
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
389049
|
+
*/
|
|
389050
|
+
kind?: string;
|
|
389051
|
+
}
|
|
389052
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
389053
|
+
/**
|
|
389054
|
+
* 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.
|
|
389055
|
+
*/
|
|
389056
|
+
id: string;
|
|
389057
|
+
/**
|
|
389058
|
+
* The name of the event that was published
|
|
389059
|
+
*/
|
|
389060
|
+
event: string;
|
|
389061
|
+
}
|
|
389062
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
389063
|
+
/**
|
|
389064
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
389065
|
+
*/
|
|
389066
|
+
limit?: number;
|
|
389067
|
+
/**
|
|
389068
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
389069
|
+
*/
|
|
389070
|
+
cursor?: string;
|
|
389071
|
+
/**
|
|
389072
|
+
* 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.
|
|
389073
|
+
*/
|
|
389074
|
+
last_activity_after?: string;
|
|
389075
|
+
/**
|
|
389076
|
+
* 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.
|
|
389077
|
+
*/
|
|
389078
|
+
last_activity_before?: string;
|
|
389079
|
+
}
|
|
389080
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
389081
|
+
/**
|
|
389082
|
+
* This page of subjects, most recently active first
|
|
389083
|
+
*/
|
|
389084
|
+
items: {
|
|
389085
|
+
/**
|
|
389086
|
+
* 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.
|
|
389087
|
+
*/
|
|
389088
|
+
subject_key: string;
|
|
389089
|
+
/**
|
|
389090
|
+
* Human-readable name of the subject
|
|
389091
|
+
*/
|
|
389092
|
+
display_name: string;
|
|
389093
|
+
/**
|
|
389094
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
389095
|
+
*/
|
|
389096
|
+
last_activity_at: string;
|
|
389097
|
+
}[];
|
|
389098
|
+
/**
|
|
389099
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
389100
|
+
*/
|
|
389101
|
+
has_more: boolean;
|
|
389102
|
+
/**
|
|
389103
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
389104
|
+
*/
|
|
389105
|
+
next_cursor: (string | null);
|
|
389106
|
+
}
|
|
389107
|
+
export interface PlaygroundWsEchoInput {
|
|
389108
|
+
}
|
|
389109
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
388628
389110
|
export interface RealtimeArchiveExportInput {
|
|
388629
389111
|
/**
|
|
388630
389112
|
* Only entries with ts <= to_ts (epoch ms)
|