@lessly/sdk-app 56.0.0 → 58.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/_types/gen/brain/index.d.ts +1 -1
- package/dist/_types/gen/brain/queryOptions.gen.d.ts +1 -5
- package/dist/_types/gen/client.gen.d.ts +38 -7
- package/dist/_types/gen/deployment/index.d.ts +1 -1
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +13 -5
- 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 +50 -0
- package/dist/_types/gen/types.gen.d.ts +364 -113
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/chunk-4RJR4UQ3.js +9121 -0
- package/dist/chunk-4RJR4UQ3.js.map +1 -0
- package/dist/deployment/index.cjs +15 -5
- package/dist/deployment/index.cjs.map +1 -1
- 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.js +2 -8956
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +81 -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 +58 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -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 +405 -117
package/src/gen/types.gen.ts
CHANGED
|
@@ -66539,98 +66539,6 @@ snapshotId: string
|
|
|
66539
66539
|
preRestoreSnapshotId: (string | null)
|
|
66540
66540
|
} | null)
|
|
66541
66541
|
|
|
66542
|
-
export interface BrainUsageReportInput {
|
|
66543
|
-
/**
|
|
66544
|
-
* How many UTC days of this product's ledger to return, ending today (default 30, max 90)
|
|
66545
|
-
*/
|
|
66546
|
-
days?: number
|
|
66547
|
-
}
|
|
66548
|
-
|
|
66549
|
-
export interface BrainUsageReportOutput {
|
|
66550
|
-
note: string
|
|
66551
|
-
/**
|
|
66552
|
-
* Brain's own ledger, for THIS product only
|
|
66553
|
-
*/
|
|
66554
|
-
product: {
|
|
66555
|
-
/**
|
|
66556
|
-
* Inclusive UTC end of the window (today), YYYY-MM-DD
|
|
66557
|
-
*/
|
|
66558
|
-
to: string
|
|
66559
|
-
/**
|
|
66560
|
-
* The window actually used, after clamping
|
|
66561
|
-
*/
|
|
66562
|
-
days: number
|
|
66563
|
-
/**
|
|
66564
|
-
* Inclusive UTC start of the window, YYYY-MM-DD
|
|
66565
|
-
*/
|
|
66566
|
-
from: string
|
|
66567
|
-
rows: {
|
|
66568
|
-
/**
|
|
66569
|
-
* 'sync' | 'batch'; '' when the push carried none
|
|
66570
|
-
*/
|
|
66571
|
-
mode: string
|
|
66572
|
-
/**
|
|
66573
|
-
* Manifest meter slug, e.g. llm-tokens
|
|
66574
|
-
*/
|
|
66575
|
-
meter: string
|
|
66576
|
-
/**
|
|
66577
|
-
* Model dimension; '' when the push carried none
|
|
66578
|
-
*/
|
|
66579
|
-
model: string
|
|
66580
|
-
/**
|
|
66581
|
-
* How many record() calls landed in this slice
|
|
66582
|
-
*/
|
|
66583
|
-
events: number
|
|
66584
|
-
/**
|
|
66585
|
-
* Tokens we metered for this slice, delivered or not
|
|
66586
|
-
*/
|
|
66587
|
-
tokens: number
|
|
66588
|
-
/**
|
|
66589
|
-
* Purpose dimension; '' when the push carried none
|
|
66590
|
-
*/
|
|
66591
|
-
purpose: string
|
|
66592
|
-
/**
|
|
66593
|
-
* UTC calendar day, YYYY-MM-DD
|
|
66594
|
-
*/
|
|
66595
|
-
usage_date: string
|
|
66596
|
-
/**
|
|
66597
|
-
* Of those events, how many billing did not accept
|
|
66598
|
-
*/
|
|
66599
|
-
delivery_failed: number
|
|
66600
|
-
}[]
|
|
66601
|
-
/**
|
|
66602
|
-
* The rows rolled up per meter across the whole window
|
|
66603
|
-
*/
|
|
66604
|
-
totals: {
|
|
66605
|
-
meter: string
|
|
66606
|
-
events: number
|
|
66607
|
-
tokens: number
|
|
66608
|
-
delivery_failed: number
|
|
66609
|
-
}[]
|
|
66610
|
-
product_id: string
|
|
66611
|
-
}
|
|
66612
|
-
/**
|
|
66613
|
-
* The platform billing aggregate for the whole ORG; null if it could not be read
|
|
66614
|
-
*/
|
|
66615
|
-
platform: ({
|
|
66616
|
-
plan: string
|
|
66617
|
-
scope: "org"
|
|
66618
|
-
meters: {
|
|
66619
|
-
unit?: string
|
|
66620
|
-
used?: number
|
|
66621
|
-
limit?: (number | null)
|
|
66622
|
-
remaining?: (number | null)
|
|
66623
|
-
unlimited?: boolean
|
|
66624
|
-
meter_slug: string
|
|
66625
|
-
}[]
|
|
66626
|
-
org_id: string
|
|
66627
|
-
} | null)
|
|
66628
|
-
/**
|
|
66629
|
-
* Why the platform aggregate is null; null when it was read successfully
|
|
66630
|
-
*/
|
|
66631
|
-
platform_error: (string | null)
|
|
66632
|
-
}
|
|
66633
|
-
|
|
66634
66542
|
export interface ConsentConfigCookieDomainUpsertInput {
|
|
66635
66543
|
cookieDomain: ("" | null | string)
|
|
66636
66544
|
}
|
|
@@ -66684,6 +66592,7 @@ dangerColor?: string
|
|
|
66684
66592
|
successColor?: string
|
|
66685
66593
|
warningColor?: string
|
|
66686
66594
|
backgroundColor?: string
|
|
66595
|
+
primaryTextColor?: string
|
|
66687
66596
|
}
|
|
66688
66597
|
brandColor?: string
|
|
66689
66598
|
}
|
|
@@ -71085,31 +70994,6 @@ truncated: boolean
|
|
|
71085
70994
|
explanation: string
|
|
71086
70995
|
}
|
|
71087
70996
|
|
|
71088
|
-
export interface DeploymentAuditListInput {
|
|
71089
|
-
limit?: number
|
|
71090
|
-
action?: string
|
|
71091
|
-
actorId?: string
|
|
71092
|
-
serviceId?: string
|
|
71093
|
-
entityType?: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
71094
|
-
environmentId: string
|
|
71095
|
-
}
|
|
71096
|
-
|
|
71097
|
-
export type DeploymentAuditListOutput = {
|
|
71098
|
-
id: string
|
|
71099
|
-
action: string
|
|
71100
|
-
actorId: string
|
|
71101
|
-
entityId: (string | null)
|
|
71102
|
-
metadata: {
|
|
71103
|
-
[k: string]: unknown
|
|
71104
|
-
}
|
|
71105
|
-
createdAt: string
|
|
71106
|
-
productId: string
|
|
71107
|
-
serviceId: (string | null)
|
|
71108
|
-
actorEmail: string
|
|
71109
|
-
entityType: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
71110
|
-
environmentId: (string | null)
|
|
71111
|
-
}[]
|
|
71112
|
-
|
|
71113
70997
|
export interface DeploymentBuildGetInput {
|
|
71114
70998
|
id: string
|
|
71115
70999
|
}
|
|
@@ -71189,6 +71073,7 @@ updatedAt: string
|
|
|
71189
71073
|
}[]
|
|
71190
71074
|
services: {
|
|
71191
71075
|
id: string
|
|
71076
|
+
mode?: string
|
|
71192
71077
|
name: string
|
|
71193
71078
|
slug: string
|
|
71194
71079
|
probes: {
|
|
@@ -71222,10 +71107,19 @@ outputDir?: string
|
|
|
71222
71107
|
}
|
|
71223
71108
|
markdown?: boolean
|
|
71224
71109
|
})
|
|
71110
|
+
command?: (string | null)
|
|
71111
|
+
lastRun?: ({
|
|
71112
|
+
id: string
|
|
71113
|
+
status: string
|
|
71114
|
+
startedAt: (string | null)
|
|
71115
|
+
finishedAt: (string | null)
|
|
71116
|
+
} | null)
|
|
71225
71117
|
tracing?: string
|
|
71226
71118
|
replicas: number
|
|
71119
|
+
schedule?: (string | null)
|
|
71227
71120
|
createdAt: string
|
|
71228
71121
|
dependsOn: string[]
|
|
71122
|
+
nextRunAt?: (string | null)
|
|
71229
71123
|
resources?: {
|
|
71230
71124
|
limits?: {
|
|
71231
71125
|
cpu?: string
|
|
@@ -71239,7 +71133,10 @@ idleMinutes: number
|
|
|
71239
71133
|
scaleToZero: boolean
|
|
71240
71134
|
containerPort: number
|
|
71241
71135
|
environmentId: string
|
|
71136
|
+
jobTimeoutSec?: number
|
|
71137
|
+
jobConcurrency?: string
|
|
71242
71138
|
buildMachineType?: (string | null)
|
|
71139
|
+
scheduleSuspended?: boolean
|
|
71243
71140
|
suspendedByBilling?: boolean
|
|
71244
71141
|
lastReplicasRunning: number
|
|
71245
71142
|
scaleToZeroEligibility?: {
|
|
@@ -72240,6 +72137,64 @@ deploymentId: (string | null)
|
|
|
72240
72137
|
environmentId: (string | null)
|
|
72241
72138
|
}[]
|
|
72242
72139
|
|
|
72140
|
+
export interface DeploymentJobRunInput {
|
|
72141
|
+
serviceId: string
|
|
72142
|
+
}
|
|
72143
|
+
|
|
72144
|
+
export interface DeploymentJobRunOutput {
|
|
72145
|
+
id: string
|
|
72146
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
72147
|
+
trigger: ("schedule" | "manual")
|
|
72148
|
+
exitCode: (number | null)
|
|
72149
|
+
createdAt: string
|
|
72150
|
+
serviceId: string
|
|
72151
|
+
startedAt: (string | null)
|
|
72152
|
+
finishedAt: (string | null)
|
|
72153
|
+
k8sJobName: string
|
|
72154
|
+
imageDigest: (string | null)
|
|
72155
|
+
triggeredBy: (string | null)
|
|
72156
|
+
deploymentId: (string | null)
|
|
72157
|
+
environmentId: string
|
|
72158
|
+
failureReason: (string | null)
|
|
72159
|
+
}
|
|
72160
|
+
|
|
72161
|
+
export interface DeploymentJobRunLogsInput {
|
|
72162
|
+
runId: string
|
|
72163
|
+
serviceId: string
|
|
72164
|
+
}
|
|
72165
|
+
|
|
72166
|
+
export interface DeploymentJobRunLogsOutput {
|
|
72167
|
+
live: boolean
|
|
72168
|
+
logs: string
|
|
72169
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
72170
|
+
}
|
|
72171
|
+
|
|
72172
|
+
export interface DeploymentJobRunsListInput {
|
|
72173
|
+
limit?: number
|
|
72174
|
+
cursor?: string
|
|
72175
|
+
serviceId: string
|
|
72176
|
+
}
|
|
72177
|
+
|
|
72178
|
+
export interface DeploymentJobRunsListOutput {
|
|
72179
|
+
items: {
|
|
72180
|
+
id: string
|
|
72181
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
72182
|
+
trigger: ("schedule" | "manual")
|
|
72183
|
+
exitCode: (number | null)
|
|
72184
|
+
createdAt: string
|
|
72185
|
+
serviceId: string
|
|
72186
|
+
startedAt: (string | null)
|
|
72187
|
+
finishedAt: (string | null)
|
|
72188
|
+
k8sJobName: string
|
|
72189
|
+
imageDigest: (string | null)
|
|
72190
|
+
triggeredBy: (string | null)
|
|
72191
|
+
deploymentId: (string | null)
|
|
72192
|
+
environmentId: string
|
|
72193
|
+
failureReason: (string | null)
|
|
72194
|
+
}[]
|
|
72195
|
+
nextCursor: (string | null)
|
|
72196
|
+
}
|
|
72197
|
+
|
|
72243
72198
|
export interface DeploymentManagedServiceBackupInput {
|
|
72244
72199
|
id: string
|
|
72245
72200
|
}
|
|
@@ -72685,6 +72640,10 @@ baseEnvironmentId: string
|
|
|
72685
72640
|
}
|
|
72686
72641
|
|
|
72687
72642
|
export interface DeploymentServiceCreateInput {
|
|
72643
|
+
/**
|
|
72644
|
+
* 'persistent' (a long-running Deployment behind a Service — the default) or 'scheduled' (a k8s CronJob: no port, no replicas, no route). Immutable after create.
|
|
72645
|
+
*/
|
|
72646
|
+
mode?: ("persistent" | "scheduled")
|
|
72688
72647
|
name: string
|
|
72689
72648
|
slug?: string
|
|
72690
72649
|
canvas?: {
|
|
@@ -72722,11 +72681,19 @@ outputDir?: string
|
|
|
72722
72681
|
}
|
|
72723
72682
|
markdown?: boolean
|
|
72724
72683
|
})
|
|
72684
|
+
/**
|
|
72685
|
+
* 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.
|
|
72686
|
+
*/
|
|
72687
|
+
command?: (string | null)
|
|
72725
72688
|
/**
|
|
72726
72689
|
* 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.
|
|
72727
72690
|
*/
|
|
72728
72691
|
tracing?: ("off" | "node" | "python")
|
|
72729
72692
|
replicas?: number
|
|
72693
|
+
/**
|
|
72694
|
+
* Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
|
|
72695
|
+
*/
|
|
72696
|
+
schedule?: (string | null)
|
|
72730
72697
|
resources?: {
|
|
72731
72698
|
limits?: {
|
|
72732
72699
|
cpu?: string
|
|
@@ -72735,6 +72702,14 @@ memory?: string
|
|
|
72735
72702
|
}
|
|
72736
72703
|
containerPort?: number
|
|
72737
72704
|
environmentId: string
|
|
72705
|
+
/**
|
|
72706
|
+
* Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
|
|
72707
|
+
*/
|
|
72708
|
+
jobTimeoutSec?: number
|
|
72709
|
+
/**
|
|
72710
|
+
* 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).
|
|
72711
|
+
*/
|
|
72712
|
+
jobConcurrency?: ("forbid" | "allow" | "replace")
|
|
72738
72713
|
}
|
|
72739
72714
|
export interface DeploymentServiceCreateInputReadiness {
|
|
72740
72715
|
path: string
|
|
@@ -72748,6 +72723,7 @@ initialDelaySeconds?: number
|
|
|
72748
72723
|
|
|
72749
72724
|
export interface DeploymentServiceCreateOutput {
|
|
72750
72725
|
id: string
|
|
72726
|
+
mode?: string
|
|
72751
72727
|
name: string
|
|
72752
72728
|
slug: string
|
|
72753
72729
|
probes: {
|
|
@@ -72781,10 +72757,19 @@ outputDir?: string
|
|
|
72781
72757
|
}
|
|
72782
72758
|
markdown?: boolean
|
|
72783
72759
|
})
|
|
72760
|
+
command?: (string | null)
|
|
72761
|
+
lastRun?: ({
|
|
72762
|
+
id: string
|
|
72763
|
+
status: string
|
|
72764
|
+
startedAt: (string | null)
|
|
72765
|
+
finishedAt: (string | null)
|
|
72766
|
+
} | null)
|
|
72784
72767
|
tracing?: string
|
|
72785
72768
|
replicas: number
|
|
72769
|
+
schedule?: (string | null)
|
|
72786
72770
|
createdAt: string
|
|
72787
72771
|
dependsOn: string[]
|
|
72772
|
+
nextRunAt?: (string | null)
|
|
72788
72773
|
resources?: {
|
|
72789
72774
|
limits?: {
|
|
72790
72775
|
cpu?: string
|
|
@@ -72798,7 +72783,10 @@ idleMinutes: number
|
|
|
72798
72783
|
scaleToZero: boolean
|
|
72799
72784
|
containerPort: number
|
|
72800
72785
|
environmentId: string
|
|
72786
|
+
jobTimeoutSec?: number
|
|
72787
|
+
jobConcurrency?: string
|
|
72801
72788
|
buildMachineType?: (string | null)
|
|
72789
|
+
scheduleSuspended?: boolean
|
|
72802
72790
|
suspendedByBilling?: boolean
|
|
72803
72791
|
lastReplicasRunning: number
|
|
72804
72792
|
scaleToZeroEligibility?: {
|
|
@@ -72855,6 +72843,7 @@ id: string
|
|
|
72855
72843
|
|
|
72856
72844
|
export interface DeploymentServiceGetOutput {
|
|
72857
72845
|
id: string
|
|
72846
|
+
mode?: string
|
|
72858
72847
|
name: string
|
|
72859
72848
|
slug: string
|
|
72860
72849
|
probes: {
|
|
@@ -72888,10 +72877,19 @@ outputDir?: string
|
|
|
72888
72877
|
}
|
|
72889
72878
|
markdown?: boolean
|
|
72890
72879
|
})
|
|
72880
|
+
command?: (string | null)
|
|
72881
|
+
lastRun?: ({
|
|
72882
|
+
id: string
|
|
72883
|
+
status: string
|
|
72884
|
+
startedAt: (string | null)
|
|
72885
|
+
finishedAt: (string | null)
|
|
72886
|
+
} | null)
|
|
72891
72887
|
tracing?: string
|
|
72892
72888
|
replicas: number
|
|
72889
|
+
schedule?: (string | null)
|
|
72893
72890
|
createdAt: string
|
|
72894
72891
|
dependsOn: string[]
|
|
72892
|
+
nextRunAt?: (string | null)
|
|
72895
72893
|
resources?: {
|
|
72896
72894
|
limits?: {
|
|
72897
72895
|
cpu?: string
|
|
@@ -72905,7 +72903,10 @@ idleMinutes: number
|
|
|
72905
72903
|
scaleToZero: boolean
|
|
72906
72904
|
containerPort: number
|
|
72907
72905
|
environmentId: string
|
|
72906
|
+
jobTimeoutSec?: number
|
|
72907
|
+
jobConcurrency?: string
|
|
72908
72908
|
buildMachineType?: (string | null)
|
|
72909
|
+
scheduleSuspended?: boolean
|
|
72909
72910
|
suspendedByBilling?: boolean
|
|
72910
72911
|
lastReplicasRunning: number
|
|
72911
72912
|
scaleToZeroEligibility?: {
|
|
@@ -72929,6 +72930,7 @@ environmentId: string
|
|
|
72929
72930
|
|
|
72930
72931
|
export type DeploymentServiceListOutput = {
|
|
72931
72932
|
id: string
|
|
72933
|
+
mode?: string
|
|
72932
72934
|
name: string
|
|
72933
72935
|
slug: string
|
|
72934
72936
|
probes: {
|
|
@@ -72962,10 +72964,19 @@ outputDir?: string
|
|
|
72962
72964
|
}
|
|
72963
72965
|
markdown?: boolean
|
|
72964
72966
|
})
|
|
72967
|
+
command?: (string | null)
|
|
72968
|
+
lastRun?: ({
|
|
72969
|
+
id: string
|
|
72970
|
+
status: string
|
|
72971
|
+
startedAt: (string | null)
|
|
72972
|
+
finishedAt: (string | null)
|
|
72973
|
+
} | null)
|
|
72965
72974
|
tracing?: string
|
|
72966
72975
|
replicas: number
|
|
72976
|
+
schedule?: (string | null)
|
|
72967
72977
|
createdAt: string
|
|
72968
72978
|
dependsOn: string[]
|
|
72979
|
+
nextRunAt?: (string | null)
|
|
72969
72980
|
resources?: {
|
|
72970
72981
|
limits?: {
|
|
72971
72982
|
cpu?: string
|
|
@@ -72979,7 +72990,10 @@ idleMinutes: number
|
|
|
72979
72990
|
scaleToZero: boolean
|
|
72980
72991
|
containerPort: number
|
|
72981
72992
|
environmentId: string
|
|
72993
|
+
jobTimeoutSec?: number
|
|
72994
|
+
jobConcurrency?: string
|
|
72982
72995
|
buildMachineType?: (string | null)
|
|
72996
|
+
scheduleSuspended?: boolean
|
|
72983
72997
|
suspendedByBilling?: boolean
|
|
72984
72998
|
lastReplicasRunning: number
|
|
72985
72999
|
scaleToZeroEligibility?: {
|
|
@@ -73080,6 +73094,7 @@ replicas: number
|
|
|
73080
73094
|
|
|
73081
73095
|
export interface DeploymentServiceScaleOutput {
|
|
73082
73096
|
id: string
|
|
73097
|
+
mode?: string
|
|
73083
73098
|
name: string
|
|
73084
73099
|
slug: string
|
|
73085
73100
|
probes: {
|
|
@@ -73113,10 +73128,19 @@ outputDir?: string
|
|
|
73113
73128
|
}
|
|
73114
73129
|
markdown?: boolean
|
|
73115
73130
|
})
|
|
73131
|
+
command?: (string | null)
|
|
73132
|
+
lastRun?: ({
|
|
73133
|
+
id: string
|
|
73134
|
+
status: string
|
|
73135
|
+
startedAt: (string | null)
|
|
73136
|
+
finishedAt: (string | null)
|
|
73137
|
+
} | null)
|
|
73116
73138
|
tracing?: string
|
|
73117
73139
|
replicas: number
|
|
73140
|
+
schedule?: (string | null)
|
|
73118
73141
|
createdAt: string
|
|
73119
73142
|
dependsOn: string[]
|
|
73143
|
+
nextRunAt?: (string | null)
|
|
73120
73144
|
resources?: {
|
|
73121
73145
|
limits?: {
|
|
73122
73146
|
cpu?: string
|
|
@@ -73130,7 +73154,10 @@ idleMinutes: number
|
|
|
73130
73154
|
scaleToZero: boolean
|
|
73131
73155
|
containerPort: number
|
|
73132
73156
|
environmentId: string
|
|
73157
|
+
jobTimeoutSec?: number
|
|
73158
|
+
jobConcurrency?: string
|
|
73133
73159
|
buildMachineType?: (string | null)
|
|
73160
|
+
scheduleSuspended?: boolean
|
|
73134
73161
|
suspendedByBilling?: boolean
|
|
73135
73162
|
lastReplicasRunning: number
|
|
73136
73163
|
scaleToZeroEligibility?: {
|
|
@@ -73150,6 +73177,7 @@ initialDelaySeconds?: number
|
|
|
73150
73177
|
|
|
73151
73178
|
export interface DeploymentServiceUpdateInput {
|
|
73152
73179
|
id: string
|
|
73180
|
+
mode?: unknown
|
|
73153
73181
|
name?: string
|
|
73154
73182
|
probes?: {
|
|
73155
73183
|
liveness?: DeploymentServiceUpdateInputReadiness
|
|
@@ -73182,11 +73210,19 @@ outputDir?: string
|
|
|
73182
73210
|
}
|
|
73183
73211
|
markdown?: boolean
|
|
73184
73212
|
})
|
|
73213
|
+
/**
|
|
73214
|
+
* 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.
|
|
73215
|
+
*/
|
|
73216
|
+
command?: (string | null)
|
|
73185
73217
|
/**
|
|
73186
73218
|
* 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.
|
|
73187
73219
|
*/
|
|
73188
73220
|
tracing?: ("off" | "node" | "python")
|
|
73189
73221
|
replicas?: number
|
|
73222
|
+
/**
|
|
73223
|
+
* Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
|
|
73224
|
+
*/
|
|
73225
|
+
schedule?: (string | null)
|
|
73190
73226
|
resources?: {
|
|
73191
73227
|
limits?: {
|
|
73192
73228
|
cpu?: string
|
|
@@ -73200,7 +73236,19 @@ autoDeploy?: boolean
|
|
|
73200
73236
|
idleMinutes?: number
|
|
73201
73237
|
scaleToZero?: boolean
|
|
73202
73238
|
containerPort?: number
|
|
73239
|
+
/**
|
|
73240
|
+
* Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
|
|
73241
|
+
*/
|
|
73242
|
+
jobTimeoutSec?: number
|
|
73243
|
+
/**
|
|
73244
|
+
* 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).
|
|
73245
|
+
*/
|
|
73246
|
+
jobConcurrency?: ("forbid" | "allow" | "replace")
|
|
73203
73247
|
buildMachineType?: (("E2_MEDIUM" | "E2_HIGHCPU_8") | null)
|
|
73248
|
+
/**
|
|
73249
|
+
* Pause or resume a scheduled service without losing its schedule.
|
|
73250
|
+
*/
|
|
73251
|
+
scheduleSuspended?: boolean
|
|
73204
73252
|
}
|
|
73205
73253
|
export interface DeploymentServiceUpdateInputReadiness {
|
|
73206
73254
|
path: string
|
|
@@ -73214,6 +73262,7 @@ initialDelaySeconds?: number
|
|
|
73214
73262
|
|
|
73215
73263
|
export interface DeploymentServiceUpdateOutput {
|
|
73216
73264
|
id: string
|
|
73265
|
+
mode?: string
|
|
73217
73266
|
name: string
|
|
73218
73267
|
slug: string
|
|
73219
73268
|
probes: {
|
|
@@ -73247,10 +73296,19 @@ outputDir?: string
|
|
|
73247
73296
|
}
|
|
73248
73297
|
markdown?: boolean
|
|
73249
73298
|
})
|
|
73299
|
+
command?: (string | null)
|
|
73300
|
+
lastRun?: ({
|
|
73301
|
+
id: string
|
|
73302
|
+
status: string
|
|
73303
|
+
startedAt: (string | null)
|
|
73304
|
+
finishedAt: (string | null)
|
|
73305
|
+
} | null)
|
|
73250
73306
|
tracing?: string
|
|
73251
73307
|
replicas: number
|
|
73308
|
+
schedule?: (string | null)
|
|
73252
73309
|
createdAt: string
|
|
73253
73310
|
dependsOn: string[]
|
|
73311
|
+
nextRunAt?: (string | null)
|
|
73254
73312
|
resources?: {
|
|
73255
73313
|
limits?: {
|
|
73256
73314
|
cpu?: string
|
|
@@ -73264,7 +73322,10 @@ idleMinutes: number
|
|
|
73264
73322
|
scaleToZero: boolean
|
|
73265
73323
|
containerPort: number
|
|
73266
73324
|
environmentId: string
|
|
73325
|
+
jobTimeoutSec?: number
|
|
73326
|
+
jobConcurrency?: string
|
|
73267
73327
|
buildMachineType?: (string | null)
|
|
73328
|
+
scheduleSuspended?: boolean
|
|
73268
73329
|
suspendedByBilling?: boolean
|
|
73269
73330
|
lastReplicasRunning: number
|
|
73270
73331
|
scaleToZeroEligibility?: {
|
|
@@ -84970,6 +85031,7 @@ displayName: (string | null)
|
|
|
84970
85031
|
orgRoles: {
|
|
84971
85032
|
id: string
|
|
84972
85033
|
name: string
|
|
85034
|
+
description: (string | null)
|
|
84973
85035
|
}[]
|
|
84974
85036
|
canManage: boolean
|
|
84975
85037
|
inherited: {
|
|
@@ -85366,6 +85428,232 @@ lastMessagePreview: (string | null)
|
|
|
85366
85428
|
}[]
|
|
85367
85429
|
}
|
|
85368
85430
|
|
|
85431
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
85432
|
+
/**
|
|
85433
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
85434
|
+
*/
|
|
85435
|
+
limit?: number
|
|
85436
|
+
}
|
|
85437
|
+
|
|
85438
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
85439
|
+
ok: boolean
|
|
85440
|
+
minted: boolean
|
|
85441
|
+
overview?: unknown
|
|
85442
|
+
http_status: number
|
|
85443
|
+
}
|
|
85444
|
+
|
|
85445
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
85446
|
+
|
|
85447
|
+
}
|
|
85448
|
+
|
|
85449
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
85450
|
+
ok: boolean
|
|
85451
|
+
minted: boolean
|
|
85452
|
+
http_status: number
|
|
85453
|
+
entitlements?: unknown
|
|
85454
|
+
}
|
|
85455
|
+
|
|
85456
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
85457
|
+
/**
|
|
85458
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
85459
|
+
*/
|
|
85460
|
+
value?: number
|
|
85461
|
+
}
|
|
85462
|
+
|
|
85463
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
85464
|
+
minted: boolean
|
|
85465
|
+
accepted: (number | null)
|
|
85466
|
+
recorded: boolean
|
|
85467
|
+
duplicates: (number | null)
|
|
85468
|
+
http_status: number
|
|
85469
|
+
}
|
|
85470
|
+
|
|
85471
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
85472
|
+
/**
|
|
85473
|
+
* Task title; defaults to a fixture label
|
|
85474
|
+
*/
|
|
85475
|
+
name?: string
|
|
85476
|
+
/**
|
|
85477
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
85478
|
+
*/
|
|
85479
|
+
listId?: string
|
|
85480
|
+
}
|
|
85481
|
+
|
|
85482
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
85483
|
+
minted: boolean
|
|
85484
|
+
task_id: (string | null)
|
|
85485
|
+
list_status: number
|
|
85486
|
+
vend_status: number
|
|
85487
|
+
clickup_status: number
|
|
85488
|
+
installation_count: number
|
|
85489
|
+
}
|
|
85490
|
+
|
|
85491
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
85492
|
+
|
|
85493
|
+
}
|
|
85494
|
+
|
|
85495
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
85496
|
+
payload: string
|
|
85497
|
+
event_id: string
|
|
85498
|
+
provider: string
|
|
85499
|
+
verified: boolean
|
|
85500
|
+
product_id: string
|
|
85501
|
+
occurred_at: string
|
|
85502
|
+
connector_id: string
|
|
85503
|
+
clickup_event: (string | null)
|
|
85504
|
+
receipt_count: number
|
|
85505
|
+
} | {
|
|
85506
|
+
found: false
|
|
85507
|
+
})
|
|
85508
|
+
|
|
85509
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
85510
|
+
|
|
85511
|
+
}
|
|
85512
|
+
|
|
85513
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
85514
|
+
team: ({
|
|
85515
|
+
teamId: string
|
|
85516
|
+
teamName: string
|
|
85517
|
+
} | null)
|
|
85518
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
85519
|
+
tasks: {
|
|
85520
|
+
id: string
|
|
85521
|
+
name: string
|
|
85522
|
+
status: (string | null)
|
|
85523
|
+
}[]
|
|
85524
|
+
minted: boolean
|
|
85525
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
85526
|
+
list_status: number
|
|
85527
|
+
vend_status: number
|
|
85528
|
+
lists_status: number
|
|
85529
|
+
tasks_status: number
|
|
85530
|
+
spaces_status: number
|
|
85531
|
+
folders_status: number
|
|
85532
|
+
installation_count: number
|
|
85533
|
+
}
|
|
85534
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
85535
|
+
id: string
|
|
85536
|
+
name: string
|
|
85537
|
+
}
|
|
85538
|
+
|
|
85539
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
85540
|
+
|
|
85541
|
+
}
|
|
85542
|
+
|
|
85543
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
85544
|
+
file_id: string
|
|
85545
|
+
removed: boolean
|
|
85546
|
+
file_name: (string | null)
|
|
85547
|
+
mime_type: (string | null)
|
|
85548
|
+
product_id: string
|
|
85549
|
+
occurred_at: string
|
|
85550
|
+
connector_id: string
|
|
85551
|
+
resource_state: string
|
|
85552
|
+
} | {
|
|
85553
|
+
found: false
|
|
85554
|
+
})
|
|
85555
|
+
|
|
85556
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
85557
|
+
/**
|
|
85558
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
85559
|
+
*/
|
|
85560
|
+
fileId?: string
|
|
85561
|
+
}
|
|
85562
|
+
|
|
85563
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
85564
|
+
minted: boolean
|
|
85565
|
+
file_id: (string | null)
|
|
85566
|
+
file_name: (string | null)
|
|
85567
|
+
mime_type: (string | null)
|
|
85568
|
+
file_count: number
|
|
85569
|
+
get_status: number
|
|
85570
|
+
list_status: number
|
|
85571
|
+
vend_status: number
|
|
85572
|
+
content_bytes: (number | null)
|
|
85573
|
+
}
|
|
85574
|
+
|
|
85575
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
85576
|
+
|
|
85577
|
+
}
|
|
85578
|
+
|
|
85579
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
85580
|
+
minted: boolean
|
|
85581
|
+
vended: boolean
|
|
85582
|
+
customer_id: (string | null)
|
|
85583
|
+
vend_status: number
|
|
85584
|
+
result_count: number
|
|
85585
|
+
search_status: number
|
|
85586
|
+
login_customer_id: (string | null)
|
|
85587
|
+
}
|
|
85588
|
+
|
|
85589
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
85590
|
+
|
|
85591
|
+
}
|
|
85592
|
+
|
|
85593
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
85594
|
+
blocked: boolean
|
|
85595
|
+
archived: boolean
|
|
85596
|
+
productId: string
|
|
85597
|
+
lastBlockTransition: ({
|
|
85598
|
+
eventId: string
|
|
85599
|
+
eventName: string
|
|
85600
|
+
productId: string
|
|
85601
|
+
occurredAt: string
|
|
85602
|
+
recordedAt: string
|
|
85603
|
+
receiptCount: number
|
|
85604
|
+
organizationId: string
|
|
85605
|
+
cascadedFromOrg: boolean
|
|
85606
|
+
} | null)
|
|
85607
|
+
lastArchiveTransition: ({
|
|
85608
|
+
eventId: string
|
|
85609
|
+
eventName: string
|
|
85610
|
+
productId: string
|
|
85611
|
+
occurredAt: string
|
|
85612
|
+
recordedAt: string
|
|
85613
|
+
receiptCount: number
|
|
85614
|
+
organizationId: string
|
|
85615
|
+
cascadedFromOrg: boolean
|
|
85616
|
+
} | null)
|
|
85617
|
+
}
|
|
85618
|
+
|
|
85619
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
85620
|
+
|
|
85621
|
+
}
|
|
85622
|
+
|
|
85623
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
85624
|
+
eventId: string
|
|
85625
|
+
eventName: string
|
|
85626
|
+
productId: string
|
|
85627
|
+
occurredAt: string
|
|
85628
|
+
recordedAt: string
|
|
85629
|
+
receiptCount: number
|
|
85630
|
+
organizationId: string
|
|
85631
|
+
cascadedFromOrg: boolean
|
|
85632
|
+
}[]
|
|
85633
|
+
|
|
85634
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
85635
|
+
|
|
85636
|
+
}
|
|
85637
|
+
|
|
85638
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
85639
|
+
payload?: unknown
|
|
85640
|
+
event_id: string
|
|
85641
|
+
provider: string
|
|
85642
|
+
verified: boolean
|
|
85643
|
+
product_id: string
|
|
85644
|
+
occurred_at: string
|
|
85645
|
+
connector_id: string
|
|
85646
|
+
delivery_count: number
|
|
85647
|
+
} | {
|
|
85648
|
+
found: false
|
|
85649
|
+
})
|
|
85650
|
+
|
|
85651
|
+
export interface PlaygroundWsEchoInput {
|
|
85652
|
+
|
|
85653
|
+
}
|
|
85654
|
+
|
|
85655
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
85656
|
+
|
|
85369
85657
|
export interface RealtimeArchiveExportInput {
|
|
85370
85658
|
/**
|
|
85371
85659
|
* Only entries with ts <= to_ts (epoch ms)
|