@lessly/sdk-app 50.1.0 → 52.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/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -6
- package/dist/brain/index.d.ts +2 -6
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/chunk-5IRH5DIK.js +8710 -0
- package/dist/chunk-5IRH5DIK.js.map +1 -0
- package/dist/{client.gen-xvJrhIVe.d.cts → client.gen-DlSflqUn.d.cts} +400 -120
- package/dist/{client.gen-xvJrhIVe.d.ts → client.gen-DlSflqUn.d.ts} +400 -120
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.d.cts +1 -1
- package/dist/content/index.d.ts +1 -1
- package/dist/deployment/index.cjs +15 -5
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.d.cts +14 -6
- package/dist/deployment/index.d.ts +14 -6
- package/dist/deployment/index.js +13 -5
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +199 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -83
- package/dist/index.d.ts +4 -83
- package/dist/index.js +2 -8545
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.cjs +81 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +55 -0
- package/dist/playground/index.d.ts +55 -0
- package/dist/playground/index.js +58 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/types-gTIUAUsP.d.cts +82 -0
- package/dist/types-gTIUAUsP.d.ts +82 -0
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +208 -47
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +67 -10
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +20 -7
- package/src/gen/manifest.gen.ts +1 -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 +86 -0
- package/src/gen/types.gen.ts +404 -117
package/src/gen/types.gen.ts
CHANGED
|
@@ -1028,98 +1028,6 @@ snapshotId: string
|
|
|
1028
1028
|
preRestoreSnapshotId: (string | null)
|
|
1029
1029
|
} | null)
|
|
1030
1030
|
|
|
1031
|
-
export interface BrainUsageReportInput {
|
|
1032
|
-
/**
|
|
1033
|
-
* How many UTC days of this product's ledger to return, ending today (default 30, max 90)
|
|
1034
|
-
*/
|
|
1035
|
-
days?: number
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export interface BrainUsageReportOutput {
|
|
1039
|
-
note: string
|
|
1040
|
-
/**
|
|
1041
|
-
* Brain's own ledger, for THIS product only
|
|
1042
|
-
*/
|
|
1043
|
-
product: {
|
|
1044
|
-
/**
|
|
1045
|
-
* Inclusive UTC end of the window (today), YYYY-MM-DD
|
|
1046
|
-
*/
|
|
1047
|
-
to: string
|
|
1048
|
-
/**
|
|
1049
|
-
* The window actually used, after clamping
|
|
1050
|
-
*/
|
|
1051
|
-
days: number
|
|
1052
|
-
/**
|
|
1053
|
-
* Inclusive UTC start of the window, YYYY-MM-DD
|
|
1054
|
-
*/
|
|
1055
|
-
from: string
|
|
1056
|
-
rows: {
|
|
1057
|
-
/**
|
|
1058
|
-
* 'sync' | 'batch'; '' when the push carried none
|
|
1059
|
-
*/
|
|
1060
|
-
mode: string
|
|
1061
|
-
/**
|
|
1062
|
-
* Manifest meter slug, e.g. llm-tokens
|
|
1063
|
-
*/
|
|
1064
|
-
meter: string
|
|
1065
|
-
/**
|
|
1066
|
-
* Model dimension; '' when the push carried none
|
|
1067
|
-
*/
|
|
1068
|
-
model: string
|
|
1069
|
-
/**
|
|
1070
|
-
* How many record() calls landed in this slice
|
|
1071
|
-
*/
|
|
1072
|
-
events: number
|
|
1073
|
-
/**
|
|
1074
|
-
* Tokens we metered for this slice, delivered or not
|
|
1075
|
-
*/
|
|
1076
|
-
tokens: number
|
|
1077
|
-
/**
|
|
1078
|
-
* Purpose dimension; '' when the push carried none
|
|
1079
|
-
*/
|
|
1080
|
-
purpose: string
|
|
1081
|
-
/**
|
|
1082
|
-
* UTC calendar day, YYYY-MM-DD
|
|
1083
|
-
*/
|
|
1084
|
-
usage_date: string
|
|
1085
|
-
/**
|
|
1086
|
-
* Of those events, how many billing did not accept
|
|
1087
|
-
*/
|
|
1088
|
-
delivery_failed: number
|
|
1089
|
-
}[]
|
|
1090
|
-
/**
|
|
1091
|
-
* The rows rolled up per meter across the whole window
|
|
1092
|
-
*/
|
|
1093
|
-
totals: {
|
|
1094
|
-
meter: string
|
|
1095
|
-
events: number
|
|
1096
|
-
tokens: number
|
|
1097
|
-
delivery_failed: number
|
|
1098
|
-
}[]
|
|
1099
|
-
product_id: string
|
|
1100
|
-
}
|
|
1101
|
-
/**
|
|
1102
|
-
* The platform billing aggregate for the whole ORG; null if it could not be read
|
|
1103
|
-
*/
|
|
1104
|
-
platform: ({
|
|
1105
|
-
plan: string
|
|
1106
|
-
scope: "org"
|
|
1107
|
-
meters: {
|
|
1108
|
-
unit?: string
|
|
1109
|
-
used?: number
|
|
1110
|
-
limit?: (number | null)
|
|
1111
|
-
remaining?: (number | null)
|
|
1112
|
-
unlimited?: boolean
|
|
1113
|
-
meter_slug: string
|
|
1114
|
-
}[]
|
|
1115
|
-
org_id: string
|
|
1116
|
-
} | null)
|
|
1117
|
-
/**
|
|
1118
|
-
* Why the platform aggregate is null; null when it was read successfully
|
|
1119
|
-
*/
|
|
1120
|
-
platform_error: (string | null)
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
1031
|
export interface ConsentConfigCookieDomainUpsertInput {
|
|
1124
1032
|
cookieDomain: ("" | null | string)
|
|
1125
1033
|
}
|
|
@@ -5574,31 +5482,6 @@ truncated: boolean
|
|
|
5574
5482
|
explanation: string
|
|
5575
5483
|
}
|
|
5576
5484
|
|
|
5577
|
-
export interface DeploymentAuditListInput {
|
|
5578
|
-
limit?: number
|
|
5579
|
-
action?: string
|
|
5580
|
-
actorId?: string
|
|
5581
|
-
serviceId?: string
|
|
5582
|
-
entityType?: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
5583
|
-
environmentId: string
|
|
5584
|
-
}
|
|
5585
|
-
|
|
5586
|
-
export type DeploymentAuditListOutput = {
|
|
5587
|
-
id: string
|
|
5588
|
-
action: string
|
|
5589
|
-
actorId: string
|
|
5590
|
-
entityId: (string | null)
|
|
5591
|
-
metadata: {
|
|
5592
|
-
[k: string]: unknown
|
|
5593
|
-
}
|
|
5594
|
-
createdAt: string
|
|
5595
|
-
productId: string
|
|
5596
|
-
serviceId: (string | null)
|
|
5597
|
-
actorEmail: string
|
|
5598
|
-
entityType: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
5599
|
-
environmentId: (string | null)
|
|
5600
|
-
}[]
|
|
5601
|
-
|
|
5602
5485
|
export interface DeploymentBuildGetInput {
|
|
5603
5486
|
id: string
|
|
5604
5487
|
}
|
|
@@ -5678,6 +5561,7 @@ updatedAt: string
|
|
|
5678
5561
|
}[]
|
|
5679
5562
|
services: {
|
|
5680
5563
|
id: string
|
|
5564
|
+
mode?: string
|
|
5681
5565
|
name: string
|
|
5682
5566
|
slug: string
|
|
5683
5567
|
probes: {
|
|
@@ -5711,10 +5595,19 @@ outputDir?: string
|
|
|
5711
5595
|
}
|
|
5712
5596
|
markdown?: boolean
|
|
5713
5597
|
})
|
|
5598
|
+
command?: (string | null)
|
|
5599
|
+
lastRun?: ({
|
|
5600
|
+
id: string
|
|
5601
|
+
status: string
|
|
5602
|
+
startedAt: (string | null)
|
|
5603
|
+
finishedAt: (string | null)
|
|
5604
|
+
} | null)
|
|
5714
5605
|
tracing?: string
|
|
5715
5606
|
replicas: number
|
|
5607
|
+
schedule?: (string | null)
|
|
5716
5608
|
createdAt: string
|
|
5717
5609
|
dependsOn: string[]
|
|
5610
|
+
nextRunAt?: (string | null)
|
|
5718
5611
|
resources?: {
|
|
5719
5612
|
limits?: {
|
|
5720
5613
|
cpu?: string
|
|
@@ -5728,7 +5621,10 @@ idleMinutes: number
|
|
|
5728
5621
|
scaleToZero: boolean
|
|
5729
5622
|
containerPort: number
|
|
5730
5623
|
environmentId: string
|
|
5624
|
+
jobTimeoutSec?: number
|
|
5625
|
+
jobConcurrency?: string
|
|
5731
5626
|
buildMachineType?: (string | null)
|
|
5627
|
+
scheduleSuspended?: boolean
|
|
5732
5628
|
suspendedByBilling?: boolean
|
|
5733
5629
|
lastReplicasRunning: number
|
|
5734
5630
|
scaleToZeroEligibility?: {
|
|
@@ -6729,6 +6625,64 @@ deploymentId: (string | null)
|
|
|
6729
6625
|
environmentId: (string | null)
|
|
6730
6626
|
}[]
|
|
6731
6627
|
|
|
6628
|
+
export interface DeploymentJobRunInput {
|
|
6629
|
+
serviceId: string
|
|
6630
|
+
}
|
|
6631
|
+
|
|
6632
|
+
export interface DeploymentJobRunOutput {
|
|
6633
|
+
id: string
|
|
6634
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
6635
|
+
trigger: ("schedule" | "manual")
|
|
6636
|
+
exitCode: (number | null)
|
|
6637
|
+
createdAt: string
|
|
6638
|
+
serviceId: string
|
|
6639
|
+
startedAt: (string | null)
|
|
6640
|
+
finishedAt: (string | null)
|
|
6641
|
+
k8sJobName: string
|
|
6642
|
+
imageDigest: (string | null)
|
|
6643
|
+
triggeredBy: (string | null)
|
|
6644
|
+
deploymentId: (string | null)
|
|
6645
|
+
environmentId: string
|
|
6646
|
+
failureReason: (string | null)
|
|
6647
|
+
}
|
|
6648
|
+
|
|
6649
|
+
export interface DeploymentJobRunLogsInput {
|
|
6650
|
+
runId: string
|
|
6651
|
+
serviceId: string
|
|
6652
|
+
}
|
|
6653
|
+
|
|
6654
|
+
export interface DeploymentJobRunLogsOutput {
|
|
6655
|
+
live: boolean
|
|
6656
|
+
logs: string
|
|
6657
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
6658
|
+
}
|
|
6659
|
+
|
|
6660
|
+
export interface DeploymentJobRunsListInput {
|
|
6661
|
+
limit?: number
|
|
6662
|
+
cursor?: string
|
|
6663
|
+
serviceId: string
|
|
6664
|
+
}
|
|
6665
|
+
|
|
6666
|
+
export interface DeploymentJobRunsListOutput {
|
|
6667
|
+
items: {
|
|
6668
|
+
id: string
|
|
6669
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
6670
|
+
trigger: ("schedule" | "manual")
|
|
6671
|
+
exitCode: (number | null)
|
|
6672
|
+
createdAt: string
|
|
6673
|
+
serviceId: string
|
|
6674
|
+
startedAt: (string | null)
|
|
6675
|
+
finishedAt: (string | null)
|
|
6676
|
+
k8sJobName: string
|
|
6677
|
+
imageDigest: (string | null)
|
|
6678
|
+
triggeredBy: (string | null)
|
|
6679
|
+
deploymentId: (string | null)
|
|
6680
|
+
environmentId: string
|
|
6681
|
+
failureReason: (string | null)
|
|
6682
|
+
}[]
|
|
6683
|
+
nextCursor: (string | null)
|
|
6684
|
+
}
|
|
6685
|
+
|
|
6732
6686
|
export interface DeploymentManagedServiceBackupInput {
|
|
6733
6687
|
id: string
|
|
6734
6688
|
}
|
|
@@ -7174,6 +7128,10 @@ baseEnvironmentId: string
|
|
|
7174
7128
|
}
|
|
7175
7129
|
|
|
7176
7130
|
export interface DeploymentServiceCreateInput {
|
|
7131
|
+
/**
|
|
7132
|
+
* 'persistent' (a long-running Deployment behind a Service — the default) or 'scheduled' (a k8s CronJob: no port, no replicas, no route). Immutable after create.
|
|
7133
|
+
*/
|
|
7134
|
+
mode?: ("persistent" | "scheduled")
|
|
7177
7135
|
name: string
|
|
7178
7136
|
slug?: string
|
|
7179
7137
|
canvas?: {
|
|
@@ -7211,11 +7169,19 @@ outputDir?: string
|
|
|
7211
7169
|
}
|
|
7212
7170
|
markdown?: boolean
|
|
7213
7171
|
})
|
|
7172
|
+
/**
|
|
7173
|
+
* Shell command a scheduled run executes (`/bin/sh -c <command>`). Scheduled services only; omit it to run the image entrypoint. `null` clears a command that was set and returns the run to the image entrypoint.
|
|
7174
|
+
*/
|
|
7175
|
+
command?: (string | null)
|
|
7214
7176
|
/**
|
|
7215
7177
|
* OTel SDK to inject into this service's pods: 'off' (none), 'node' or 'python'. Read when a deploy builds the workload — takes effect on the next deploy, running pods are untouched.
|
|
7216
7178
|
*/
|
|
7217
7179
|
tracing?: ("off" | "node" | "python")
|
|
7218
7180
|
replicas?: number
|
|
7181
|
+
/**
|
|
7182
|
+
* Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
|
|
7183
|
+
*/
|
|
7184
|
+
schedule?: (string | null)
|
|
7219
7185
|
resources?: {
|
|
7220
7186
|
limits?: {
|
|
7221
7187
|
cpu?: string
|
|
@@ -7224,6 +7190,14 @@ memory?: string
|
|
|
7224
7190
|
}
|
|
7225
7191
|
containerPort?: number
|
|
7226
7192
|
environmentId: string
|
|
7193
|
+
/**
|
|
7194
|
+
* Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
|
|
7195
|
+
*/
|
|
7196
|
+
jobTimeoutSec?: number
|
|
7197
|
+
/**
|
|
7198
|
+
* What happens when a run is still going at the next tick: 'forbid' (skip the tick), 'allow' (run in parallel) or 'replace' (kill the running one).
|
|
7199
|
+
*/
|
|
7200
|
+
jobConcurrency?: ("forbid" | "allow" | "replace")
|
|
7227
7201
|
}
|
|
7228
7202
|
export interface DeploymentServiceCreateInputReadiness {
|
|
7229
7203
|
path: string
|
|
@@ -7237,6 +7211,7 @@ initialDelaySeconds?: number
|
|
|
7237
7211
|
|
|
7238
7212
|
export interface DeploymentServiceCreateOutput {
|
|
7239
7213
|
id: string
|
|
7214
|
+
mode?: string
|
|
7240
7215
|
name: string
|
|
7241
7216
|
slug: string
|
|
7242
7217
|
probes: {
|
|
@@ -7270,10 +7245,19 @@ outputDir?: string
|
|
|
7270
7245
|
}
|
|
7271
7246
|
markdown?: boolean
|
|
7272
7247
|
})
|
|
7248
|
+
command?: (string | null)
|
|
7249
|
+
lastRun?: ({
|
|
7250
|
+
id: string
|
|
7251
|
+
status: string
|
|
7252
|
+
startedAt: (string | null)
|
|
7253
|
+
finishedAt: (string | null)
|
|
7254
|
+
} | null)
|
|
7273
7255
|
tracing?: string
|
|
7274
7256
|
replicas: number
|
|
7257
|
+
schedule?: (string | null)
|
|
7275
7258
|
createdAt: string
|
|
7276
7259
|
dependsOn: string[]
|
|
7260
|
+
nextRunAt?: (string | null)
|
|
7277
7261
|
resources?: {
|
|
7278
7262
|
limits?: {
|
|
7279
7263
|
cpu?: string
|
|
@@ -7287,7 +7271,10 @@ idleMinutes: number
|
|
|
7287
7271
|
scaleToZero: boolean
|
|
7288
7272
|
containerPort: number
|
|
7289
7273
|
environmentId: string
|
|
7274
|
+
jobTimeoutSec?: number
|
|
7275
|
+
jobConcurrency?: string
|
|
7290
7276
|
buildMachineType?: (string | null)
|
|
7277
|
+
scheduleSuspended?: boolean
|
|
7291
7278
|
suspendedByBilling?: boolean
|
|
7292
7279
|
lastReplicasRunning: number
|
|
7293
7280
|
scaleToZeroEligibility?: {
|
|
@@ -7344,6 +7331,7 @@ id: string
|
|
|
7344
7331
|
|
|
7345
7332
|
export interface DeploymentServiceGetOutput {
|
|
7346
7333
|
id: string
|
|
7334
|
+
mode?: string
|
|
7347
7335
|
name: string
|
|
7348
7336
|
slug: string
|
|
7349
7337
|
probes: {
|
|
@@ -7377,10 +7365,19 @@ outputDir?: string
|
|
|
7377
7365
|
}
|
|
7378
7366
|
markdown?: boolean
|
|
7379
7367
|
})
|
|
7368
|
+
command?: (string | null)
|
|
7369
|
+
lastRun?: ({
|
|
7370
|
+
id: string
|
|
7371
|
+
status: string
|
|
7372
|
+
startedAt: (string | null)
|
|
7373
|
+
finishedAt: (string | null)
|
|
7374
|
+
} | null)
|
|
7380
7375
|
tracing?: string
|
|
7381
7376
|
replicas: number
|
|
7377
|
+
schedule?: (string | null)
|
|
7382
7378
|
createdAt: string
|
|
7383
7379
|
dependsOn: string[]
|
|
7380
|
+
nextRunAt?: (string | null)
|
|
7384
7381
|
resources?: {
|
|
7385
7382
|
limits?: {
|
|
7386
7383
|
cpu?: string
|
|
@@ -7394,7 +7391,10 @@ idleMinutes: number
|
|
|
7394
7391
|
scaleToZero: boolean
|
|
7395
7392
|
containerPort: number
|
|
7396
7393
|
environmentId: string
|
|
7394
|
+
jobTimeoutSec?: number
|
|
7395
|
+
jobConcurrency?: string
|
|
7397
7396
|
buildMachineType?: (string | null)
|
|
7397
|
+
scheduleSuspended?: boolean
|
|
7398
7398
|
suspendedByBilling?: boolean
|
|
7399
7399
|
lastReplicasRunning: number
|
|
7400
7400
|
scaleToZeroEligibility?: {
|
|
@@ -7418,6 +7418,7 @@ environmentId: string
|
|
|
7418
7418
|
|
|
7419
7419
|
export type DeploymentServiceListOutput = {
|
|
7420
7420
|
id: string
|
|
7421
|
+
mode?: string
|
|
7421
7422
|
name: string
|
|
7422
7423
|
slug: string
|
|
7423
7424
|
probes: {
|
|
@@ -7451,10 +7452,19 @@ outputDir?: string
|
|
|
7451
7452
|
}
|
|
7452
7453
|
markdown?: boolean
|
|
7453
7454
|
})
|
|
7455
|
+
command?: (string | null)
|
|
7456
|
+
lastRun?: ({
|
|
7457
|
+
id: string
|
|
7458
|
+
status: string
|
|
7459
|
+
startedAt: (string | null)
|
|
7460
|
+
finishedAt: (string | null)
|
|
7461
|
+
} | null)
|
|
7454
7462
|
tracing?: string
|
|
7455
7463
|
replicas: number
|
|
7464
|
+
schedule?: (string | null)
|
|
7456
7465
|
createdAt: string
|
|
7457
7466
|
dependsOn: string[]
|
|
7467
|
+
nextRunAt?: (string | null)
|
|
7458
7468
|
resources?: {
|
|
7459
7469
|
limits?: {
|
|
7460
7470
|
cpu?: string
|
|
@@ -7468,7 +7478,10 @@ idleMinutes: number
|
|
|
7468
7478
|
scaleToZero: boolean
|
|
7469
7479
|
containerPort: number
|
|
7470
7480
|
environmentId: string
|
|
7481
|
+
jobTimeoutSec?: number
|
|
7482
|
+
jobConcurrency?: string
|
|
7471
7483
|
buildMachineType?: (string | null)
|
|
7484
|
+
scheduleSuspended?: boolean
|
|
7472
7485
|
suspendedByBilling?: boolean
|
|
7473
7486
|
lastReplicasRunning: number
|
|
7474
7487
|
scaleToZeroEligibility?: {
|
|
@@ -7569,6 +7582,7 @@ replicas: number
|
|
|
7569
7582
|
|
|
7570
7583
|
export interface DeploymentServiceScaleOutput {
|
|
7571
7584
|
id: string
|
|
7585
|
+
mode?: string
|
|
7572
7586
|
name: string
|
|
7573
7587
|
slug: string
|
|
7574
7588
|
probes: {
|
|
@@ -7602,10 +7616,19 @@ outputDir?: string
|
|
|
7602
7616
|
}
|
|
7603
7617
|
markdown?: boolean
|
|
7604
7618
|
})
|
|
7619
|
+
command?: (string | null)
|
|
7620
|
+
lastRun?: ({
|
|
7621
|
+
id: string
|
|
7622
|
+
status: string
|
|
7623
|
+
startedAt: (string | null)
|
|
7624
|
+
finishedAt: (string | null)
|
|
7625
|
+
} | null)
|
|
7605
7626
|
tracing?: string
|
|
7606
7627
|
replicas: number
|
|
7628
|
+
schedule?: (string | null)
|
|
7607
7629
|
createdAt: string
|
|
7608
7630
|
dependsOn: string[]
|
|
7631
|
+
nextRunAt?: (string | null)
|
|
7609
7632
|
resources?: {
|
|
7610
7633
|
limits?: {
|
|
7611
7634
|
cpu?: string
|
|
@@ -7619,7 +7642,10 @@ idleMinutes: number
|
|
|
7619
7642
|
scaleToZero: boolean
|
|
7620
7643
|
containerPort: number
|
|
7621
7644
|
environmentId: string
|
|
7645
|
+
jobTimeoutSec?: number
|
|
7646
|
+
jobConcurrency?: string
|
|
7622
7647
|
buildMachineType?: (string | null)
|
|
7648
|
+
scheduleSuspended?: boolean
|
|
7623
7649
|
suspendedByBilling?: boolean
|
|
7624
7650
|
lastReplicasRunning: number
|
|
7625
7651
|
scaleToZeroEligibility?: {
|
|
@@ -7639,6 +7665,7 @@ initialDelaySeconds?: number
|
|
|
7639
7665
|
|
|
7640
7666
|
export interface DeploymentServiceUpdateInput {
|
|
7641
7667
|
id: string
|
|
7668
|
+
mode?: unknown
|
|
7642
7669
|
name?: string
|
|
7643
7670
|
probes?: {
|
|
7644
7671
|
liveness?: DeploymentServiceUpdateInputReadiness
|
|
@@ -7671,11 +7698,19 @@ outputDir?: string
|
|
|
7671
7698
|
}
|
|
7672
7699
|
markdown?: boolean
|
|
7673
7700
|
})
|
|
7701
|
+
/**
|
|
7702
|
+
* Shell command a scheduled run executes (`/bin/sh -c <command>`). Scheduled services only; omit it to run the image entrypoint. `null` clears a command that was set and returns the run to the image entrypoint.
|
|
7703
|
+
*/
|
|
7704
|
+
command?: (string | null)
|
|
7674
7705
|
/**
|
|
7675
7706
|
* OTel SDK to inject into this service's pods: 'off' (none), 'node' or 'python'. Read when a deploy builds the workload — takes effect on the next deploy, running pods are untouched.
|
|
7676
7707
|
*/
|
|
7677
7708
|
tracing?: ("off" | "node" | "python")
|
|
7678
7709
|
replicas?: number
|
|
7710
|
+
/**
|
|
7711
|
+
* Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
|
|
7712
|
+
*/
|
|
7713
|
+
schedule?: (string | null)
|
|
7679
7714
|
resources?: {
|
|
7680
7715
|
limits?: {
|
|
7681
7716
|
cpu?: string
|
|
@@ -7689,7 +7724,19 @@ autoDeploy?: boolean
|
|
|
7689
7724
|
idleMinutes?: number
|
|
7690
7725
|
scaleToZero?: boolean
|
|
7691
7726
|
containerPort?: number
|
|
7727
|
+
/**
|
|
7728
|
+
* Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
|
|
7729
|
+
*/
|
|
7730
|
+
jobTimeoutSec?: number
|
|
7731
|
+
/**
|
|
7732
|
+
* What happens when a run is still going at the next tick: 'forbid' (skip the tick), 'allow' (run in parallel) or 'replace' (kill the running one).
|
|
7733
|
+
*/
|
|
7734
|
+
jobConcurrency?: ("forbid" | "allow" | "replace")
|
|
7692
7735
|
buildMachineType?: (("E2_MEDIUM" | "E2_HIGHCPU_8") | null)
|
|
7736
|
+
/**
|
|
7737
|
+
* Pause or resume a scheduled service without losing its schedule.
|
|
7738
|
+
*/
|
|
7739
|
+
scheduleSuspended?: boolean
|
|
7693
7740
|
}
|
|
7694
7741
|
export interface DeploymentServiceUpdateInputReadiness {
|
|
7695
7742
|
path: string
|
|
@@ -7703,6 +7750,7 @@ initialDelaySeconds?: number
|
|
|
7703
7750
|
|
|
7704
7751
|
export interface DeploymentServiceUpdateOutput {
|
|
7705
7752
|
id: string
|
|
7753
|
+
mode?: string
|
|
7706
7754
|
name: string
|
|
7707
7755
|
slug: string
|
|
7708
7756
|
probes: {
|
|
@@ -7736,10 +7784,19 @@ outputDir?: string
|
|
|
7736
7784
|
}
|
|
7737
7785
|
markdown?: boolean
|
|
7738
7786
|
})
|
|
7787
|
+
command?: (string | null)
|
|
7788
|
+
lastRun?: ({
|
|
7789
|
+
id: string
|
|
7790
|
+
status: string
|
|
7791
|
+
startedAt: (string | null)
|
|
7792
|
+
finishedAt: (string | null)
|
|
7793
|
+
} | null)
|
|
7739
7794
|
tracing?: string
|
|
7740
7795
|
replicas: number
|
|
7796
|
+
schedule?: (string | null)
|
|
7741
7797
|
createdAt: string
|
|
7742
7798
|
dependsOn: string[]
|
|
7799
|
+
nextRunAt?: (string | null)
|
|
7743
7800
|
resources?: {
|
|
7744
7801
|
limits?: {
|
|
7745
7802
|
cpu?: string
|
|
@@ -7753,7 +7810,10 @@ idleMinutes: number
|
|
|
7753
7810
|
scaleToZero: boolean
|
|
7754
7811
|
containerPort: number
|
|
7755
7812
|
environmentId: string
|
|
7813
|
+
jobTimeoutSec?: number
|
|
7814
|
+
jobConcurrency?: string
|
|
7756
7815
|
buildMachineType?: (string | null)
|
|
7816
|
+
scheduleSuspended?: boolean
|
|
7757
7817
|
suspendedByBilling?: boolean
|
|
7758
7818
|
lastReplicasRunning: number
|
|
7759
7819
|
scaleToZeroEligibility?: {
|
|
@@ -19459,6 +19519,7 @@ displayName: (string | null)
|
|
|
19459
19519
|
orgRoles: {
|
|
19460
19520
|
id: string
|
|
19461
19521
|
name: string
|
|
19522
|
+
description: (string | null)
|
|
19462
19523
|
}[]
|
|
19463
19524
|
canManage: boolean
|
|
19464
19525
|
inherited: {
|
|
@@ -19855,6 +19916,232 @@ lastMessagePreview: (string | null)
|
|
|
19855
19916
|
}[]
|
|
19856
19917
|
}
|
|
19857
19918
|
|
|
19919
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
19920
|
+
/**
|
|
19921
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
19922
|
+
*/
|
|
19923
|
+
limit?: number
|
|
19924
|
+
}
|
|
19925
|
+
|
|
19926
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
19927
|
+
ok: boolean
|
|
19928
|
+
minted: boolean
|
|
19929
|
+
overview?: unknown
|
|
19930
|
+
http_status: number
|
|
19931
|
+
}
|
|
19932
|
+
|
|
19933
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
19934
|
+
|
|
19935
|
+
}
|
|
19936
|
+
|
|
19937
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
19938
|
+
ok: boolean
|
|
19939
|
+
minted: boolean
|
|
19940
|
+
http_status: number
|
|
19941
|
+
entitlements?: unknown
|
|
19942
|
+
}
|
|
19943
|
+
|
|
19944
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
19945
|
+
/**
|
|
19946
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
19947
|
+
*/
|
|
19948
|
+
value?: number
|
|
19949
|
+
}
|
|
19950
|
+
|
|
19951
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
19952
|
+
minted: boolean
|
|
19953
|
+
accepted: (number | null)
|
|
19954
|
+
recorded: boolean
|
|
19955
|
+
duplicates: (number | null)
|
|
19956
|
+
http_status: number
|
|
19957
|
+
}
|
|
19958
|
+
|
|
19959
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
19960
|
+
/**
|
|
19961
|
+
* Task title; defaults to a fixture label
|
|
19962
|
+
*/
|
|
19963
|
+
name?: string
|
|
19964
|
+
/**
|
|
19965
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
19966
|
+
*/
|
|
19967
|
+
listId?: string
|
|
19968
|
+
}
|
|
19969
|
+
|
|
19970
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
19971
|
+
minted: boolean
|
|
19972
|
+
task_id: (string | null)
|
|
19973
|
+
list_status: number
|
|
19974
|
+
vend_status: number
|
|
19975
|
+
clickup_status: number
|
|
19976
|
+
installation_count: number
|
|
19977
|
+
}
|
|
19978
|
+
|
|
19979
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
19980
|
+
|
|
19981
|
+
}
|
|
19982
|
+
|
|
19983
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
19984
|
+
payload: string
|
|
19985
|
+
event_id: string
|
|
19986
|
+
provider: string
|
|
19987
|
+
verified: boolean
|
|
19988
|
+
product_id: string
|
|
19989
|
+
occurred_at: string
|
|
19990
|
+
connector_id: string
|
|
19991
|
+
clickup_event: (string | null)
|
|
19992
|
+
receipt_count: number
|
|
19993
|
+
} | {
|
|
19994
|
+
found: false
|
|
19995
|
+
})
|
|
19996
|
+
|
|
19997
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
19998
|
+
|
|
19999
|
+
}
|
|
20000
|
+
|
|
20001
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
20002
|
+
team: ({
|
|
20003
|
+
teamId: string
|
|
20004
|
+
teamName: string
|
|
20005
|
+
} | null)
|
|
20006
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
20007
|
+
tasks: {
|
|
20008
|
+
id: string
|
|
20009
|
+
name: string
|
|
20010
|
+
status: (string | null)
|
|
20011
|
+
}[]
|
|
20012
|
+
minted: boolean
|
|
20013
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
20014
|
+
list_status: number
|
|
20015
|
+
vend_status: number
|
|
20016
|
+
lists_status: number
|
|
20017
|
+
tasks_status: number
|
|
20018
|
+
spaces_status: number
|
|
20019
|
+
folders_status: number
|
|
20020
|
+
installation_count: number
|
|
20021
|
+
}
|
|
20022
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
20023
|
+
id: string
|
|
20024
|
+
name: string
|
|
20025
|
+
}
|
|
20026
|
+
|
|
20027
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
20028
|
+
|
|
20029
|
+
}
|
|
20030
|
+
|
|
20031
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
20032
|
+
file_id: string
|
|
20033
|
+
removed: boolean
|
|
20034
|
+
file_name: (string | null)
|
|
20035
|
+
mime_type: (string | null)
|
|
20036
|
+
product_id: string
|
|
20037
|
+
occurred_at: string
|
|
20038
|
+
connector_id: string
|
|
20039
|
+
resource_state: string
|
|
20040
|
+
} | {
|
|
20041
|
+
found: false
|
|
20042
|
+
})
|
|
20043
|
+
|
|
20044
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
20045
|
+
/**
|
|
20046
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
20047
|
+
*/
|
|
20048
|
+
fileId?: string
|
|
20049
|
+
}
|
|
20050
|
+
|
|
20051
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
20052
|
+
minted: boolean
|
|
20053
|
+
file_id: (string | null)
|
|
20054
|
+
file_name: (string | null)
|
|
20055
|
+
mime_type: (string | null)
|
|
20056
|
+
file_count: number
|
|
20057
|
+
get_status: number
|
|
20058
|
+
list_status: number
|
|
20059
|
+
vend_status: number
|
|
20060
|
+
content_bytes: (number | null)
|
|
20061
|
+
}
|
|
20062
|
+
|
|
20063
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
20064
|
+
|
|
20065
|
+
}
|
|
20066
|
+
|
|
20067
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
20068
|
+
minted: boolean
|
|
20069
|
+
vended: boolean
|
|
20070
|
+
customer_id: (string | null)
|
|
20071
|
+
vend_status: number
|
|
20072
|
+
result_count: number
|
|
20073
|
+
search_status: number
|
|
20074
|
+
login_customer_id: (string | null)
|
|
20075
|
+
}
|
|
20076
|
+
|
|
20077
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
20078
|
+
|
|
20079
|
+
}
|
|
20080
|
+
|
|
20081
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
20082
|
+
blocked: boolean
|
|
20083
|
+
archived: boolean
|
|
20084
|
+
productId: string
|
|
20085
|
+
lastBlockTransition: ({
|
|
20086
|
+
eventId: string
|
|
20087
|
+
eventName: string
|
|
20088
|
+
productId: string
|
|
20089
|
+
occurredAt: string
|
|
20090
|
+
recordedAt: string
|
|
20091
|
+
receiptCount: number
|
|
20092
|
+
organizationId: string
|
|
20093
|
+
cascadedFromOrg: boolean
|
|
20094
|
+
} | null)
|
|
20095
|
+
lastArchiveTransition: ({
|
|
20096
|
+
eventId: string
|
|
20097
|
+
eventName: string
|
|
20098
|
+
productId: string
|
|
20099
|
+
occurredAt: string
|
|
20100
|
+
recordedAt: string
|
|
20101
|
+
receiptCount: number
|
|
20102
|
+
organizationId: string
|
|
20103
|
+
cascadedFromOrg: boolean
|
|
20104
|
+
} | null)
|
|
20105
|
+
}
|
|
20106
|
+
|
|
20107
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
20108
|
+
|
|
20109
|
+
}
|
|
20110
|
+
|
|
20111
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
20112
|
+
eventId: string
|
|
20113
|
+
eventName: string
|
|
20114
|
+
productId: string
|
|
20115
|
+
occurredAt: string
|
|
20116
|
+
recordedAt: string
|
|
20117
|
+
receiptCount: number
|
|
20118
|
+
organizationId: string
|
|
20119
|
+
cascadedFromOrg: boolean
|
|
20120
|
+
}[]
|
|
20121
|
+
|
|
20122
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
20123
|
+
|
|
20124
|
+
}
|
|
20125
|
+
|
|
20126
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
20127
|
+
payload?: unknown
|
|
20128
|
+
event_id: string
|
|
20129
|
+
provider: string
|
|
20130
|
+
verified: boolean
|
|
20131
|
+
product_id: string
|
|
20132
|
+
occurred_at: string
|
|
20133
|
+
connector_id: string
|
|
20134
|
+
delivery_count: number
|
|
20135
|
+
} | {
|
|
20136
|
+
found: false
|
|
20137
|
+
})
|
|
20138
|
+
|
|
20139
|
+
export interface PlaygroundWsEchoInput {
|
|
20140
|
+
|
|
20141
|
+
}
|
|
20142
|
+
|
|
20143
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
20144
|
+
|
|
19858
20145
|
export interface RealtimeArchiveExportInput {
|
|
19859
20146
|
/**
|
|
19860
20147
|
* Only entries with ts <= to_ts (epoch ms)
|