@lessly/sdk-app 14.3.0 → 15.0.1
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/README.md +12 -8
- 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/{client.gen-DJUaKWF_.d.cts → client.gen-ClvT4E7P.d.cts} +286 -103
- package/dist/{client.gen-DJUaKWF_.d.ts → client.gen-ClvT4E7P.d.ts} +286 -103
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.cjs +5 -0
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.d.cts +6 -2
- package/dist/deployment/index.d.ts +6 -2
- package/dist/deployment/index.js +5 -1
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +123 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +123 -13
- 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/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.cjs +66 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +52 -0
- package/dist/playground/index.d.ts +52 -0
- package/dist/playground/index.js +53 -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/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/docs/recipes/sdk-usage.md +1 -1
- package/package.json +8 -2
- package/src/gen/bindings.gen.ts +123 -13
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +55 -5
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +6 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +290 -101
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
|
}
|
|
@@ -1747,6 +1655,7 @@ build?: {
|
|
|
1747
1655
|
command?: string
|
|
1748
1656
|
outputDir?: string
|
|
1749
1657
|
}
|
|
1658
|
+
markdown?: boolean
|
|
1750
1659
|
})
|
|
1751
1660
|
replicas: number
|
|
1752
1661
|
createdAt: string
|
|
@@ -1758,9 +1667,16 @@ memory?: string
|
|
|
1758
1667
|
}
|
|
1759
1668
|
}
|
|
1760
1669
|
updatedAt: string
|
|
1670
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
1671
|
+
idleMinutes: number
|
|
1672
|
+
scaleToZero: boolean
|
|
1761
1673
|
containerPort: number
|
|
1762
1674
|
environmentId: string
|
|
1763
1675
|
lastReplicasRunning: number
|
|
1676
|
+
scaleToZeroEligibility?: {
|
|
1677
|
+
reasons: string[]
|
|
1678
|
+
eligible: boolean
|
|
1679
|
+
}
|
|
1764
1680
|
}[]
|
|
1765
1681
|
environmentId: string
|
|
1766
1682
|
}
|
|
@@ -2076,7 +1992,7 @@ deploymentId: string
|
|
|
2076
1992
|
|
|
2077
1993
|
export interface DeploymentDeploymentCancelOutput {
|
|
2078
1994
|
id: string
|
|
2079
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1995
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
2080
1996
|
builtAt: (string | null)
|
|
2081
1997
|
imageRef: (string | null)
|
|
2082
1998
|
commitSha: (string | null)
|
|
@@ -2104,7 +2020,7 @@ id: string
|
|
|
2104
2020
|
|
|
2105
2021
|
export interface DeploymentDeploymentGetOutput {
|
|
2106
2022
|
id: string
|
|
2107
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
2023
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
2108
2024
|
builtAt: (string | null)
|
|
2109
2025
|
imageRef: (string | null)
|
|
2110
2026
|
commitSha: (string | null)
|
|
@@ -2132,7 +2048,7 @@ serviceId: string
|
|
|
2132
2048
|
|
|
2133
2049
|
export type DeploymentDeploymentListOutput = {
|
|
2134
2050
|
id: string
|
|
2135
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
2051
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
2136
2052
|
builtAt: (string | null)
|
|
2137
2053
|
imageRef: (string | null)
|
|
2138
2054
|
commitSha: (string | null)
|
|
@@ -2711,7 +2627,7 @@ baseEnvironmentId: (string | null)
|
|
|
2711
2627
|
}
|
|
2712
2628
|
|
|
2713
2629
|
export interface DeploymentEventsListByEnvironmentInput {
|
|
2714
|
-
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.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.removed" | "domain.governance.mirror-failed")
|
|
2630
|
+
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.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.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
|
|
2715
2631
|
limit?: number
|
|
2716
2632
|
since?: string
|
|
2717
2633
|
until?: string
|
|
@@ -2720,7 +2636,7 @@ environmentId: string
|
|
|
2720
2636
|
|
|
2721
2637
|
export type DeploymentEventsListByEnvironmentOutput = {
|
|
2722
2638
|
id: string
|
|
2723
|
-
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.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.removed" | "domain.governance.mirror-failed")
|
|
2639
|
+
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.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.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
|
|
2724
2640
|
payload: {
|
|
2725
2641
|
[k: string]: unknown
|
|
2726
2642
|
}
|
|
@@ -2733,7 +2649,7 @@ environmentId: (string | null)
|
|
|
2733
2649
|
}[]
|
|
2734
2650
|
|
|
2735
2651
|
export interface DeploymentEventsListByServiceInput {
|
|
2736
|
-
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.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.removed" | "domain.governance.mirror-failed")
|
|
2652
|
+
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.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.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
|
|
2737
2653
|
limit?: number
|
|
2738
2654
|
since?: string
|
|
2739
2655
|
until?: string
|
|
@@ -2743,7 +2659,7 @@ deploymentId?: string
|
|
|
2743
2659
|
|
|
2744
2660
|
export type DeploymentEventsListByServiceOutput = {
|
|
2745
2661
|
id: string
|
|
2746
|
-
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.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.removed" | "domain.governance.mirror-failed")
|
|
2662
|
+
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.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.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled")
|
|
2747
2663
|
payload: {
|
|
2748
2664
|
[k: string]: unknown
|
|
2749
2665
|
}
|
|
@@ -3235,6 +3151,7 @@ build?: {
|
|
|
3235
3151
|
command?: string
|
|
3236
3152
|
outputDir?: string
|
|
3237
3153
|
}
|
|
3154
|
+
markdown?: boolean
|
|
3238
3155
|
})
|
|
3239
3156
|
replicas?: number
|
|
3240
3157
|
resources?: {
|
|
@@ -3289,6 +3206,7 @@ build?: {
|
|
|
3289
3206
|
command?: string
|
|
3290
3207
|
outputDir?: string
|
|
3291
3208
|
}
|
|
3209
|
+
markdown?: boolean
|
|
3292
3210
|
})
|
|
3293
3211
|
replicas: number
|
|
3294
3212
|
createdAt: string
|
|
@@ -3300,9 +3218,16 @@ memory?: string
|
|
|
3300
3218
|
}
|
|
3301
3219
|
}
|
|
3302
3220
|
updatedAt: string
|
|
3221
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3222
|
+
idleMinutes: number
|
|
3223
|
+
scaleToZero: boolean
|
|
3303
3224
|
containerPort: number
|
|
3304
3225
|
environmentId: string
|
|
3305
3226
|
lastReplicasRunning: number
|
|
3227
|
+
scaleToZeroEligibility?: {
|
|
3228
|
+
reasons: string[]
|
|
3229
|
+
eligible: boolean
|
|
3230
|
+
}
|
|
3306
3231
|
}
|
|
3307
3232
|
export interface DeploymentServiceCreateOutputReadiness {
|
|
3308
3233
|
path: string
|
|
@@ -3384,6 +3309,7 @@ build?: {
|
|
|
3384
3309
|
command?: string
|
|
3385
3310
|
outputDir?: string
|
|
3386
3311
|
}
|
|
3312
|
+
markdown?: boolean
|
|
3387
3313
|
})
|
|
3388
3314
|
replicas: number
|
|
3389
3315
|
createdAt: string
|
|
@@ -3395,9 +3321,16 @@ memory?: string
|
|
|
3395
3321
|
}
|
|
3396
3322
|
}
|
|
3397
3323
|
updatedAt: string
|
|
3324
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3325
|
+
idleMinutes: number
|
|
3326
|
+
scaleToZero: boolean
|
|
3398
3327
|
containerPort: number
|
|
3399
3328
|
environmentId: string
|
|
3400
3329
|
lastReplicasRunning: number
|
|
3330
|
+
scaleToZeroEligibility?: {
|
|
3331
|
+
reasons: string[]
|
|
3332
|
+
eligible: boolean
|
|
3333
|
+
}
|
|
3401
3334
|
}
|
|
3402
3335
|
export interface DeploymentServiceGetOutputReadiness {
|
|
3403
3336
|
path: string
|
|
@@ -3446,6 +3379,7 @@ build?: {
|
|
|
3446
3379
|
command?: string
|
|
3447
3380
|
outputDir?: string
|
|
3448
3381
|
}
|
|
3382
|
+
markdown?: boolean
|
|
3449
3383
|
})
|
|
3450
3384
|
replicas: number
|
|
3451
3385
|
createdAt: string
|
|
@@ -3457,9 +3391,16 @@ memory?: string
|
|
|
3457
3391
|
}
|
|
3458
3392
|
}
|
|
3459
3393
|
updatedAt: string
|
|
3394
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3395
|
+
idleMinutes: number
|
|
3396
|
+
scaleToZero: boolean
|
|
3460
3397
|
containerPort: number
|
|
3461
3398
|
environmentId: string
|
|
3462
3399
|
lastReplicasRunning: number
|
|
3400
|
+
scaleToZeroEligibility?: {
|
|
3401
|
+
reasons: string[]
|
|
3402
|
+
eligible: boolean
|
|
3403
|
+
}
|
|
3463
3404
|
}[]
|
|
3464
3405
|
|
|
3465
3406
|
export interface DeploymentServiceListOutputReadiness {
|
|
@@ -3479,6 +3420,7 @@ serviceId: string
|
|
|
3479
3420
|
|
|
3480
3421
|
export interface DeploymentServiceLogsOutput {
|
|
3481
3422
|
lines: string[]
|
|
3423
|
+
sleepState?: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3482
3424
|
}
|
|
3483
3425
|
|
|
3484
3426
|
export interface DeploymentServiceRedeployInput {
|
|
@@ -3487,7 +3429,7 @@ serviceId: string
|
|
|
3487
3429
|
|
|
3488
3430
|
export interface DeploymentServiceRedeployOutput {
|
|
3489
3431
|
id: string
|
|
3490
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3432
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
3491
3433
|
builtAt: (string | null)
|
|
3492
3434
|
imageRef: (string | null)
|
|
3493
3435
|
commitSha: (string | null)
|
|
@@ -3524,7 +3466,7 @@ deploymentId: string
|
|
|
3524
3466
|
|
|
3525
3467
|
export interface DeploymentServiceRollbackOutput {
|
|
3526
3468
|
id: string
|
|
3527
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3469
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
3528
3470
|
builtAt: (string | null)
|
|
3529
3471
|
imageRef: (string | null)
|
|
3530
3472
|
commitSha: (string | null)
|
|
@@ -3584,6 +3526,7 @@ build?: {
|
|
|
3584
3526
|
command?: string
|
|
3585
3527
|
outputDir?: string
|
|
3586
3528
|
}
|
|
3529
|
+
markdown?: boolean
|
|
3587
3530
|
})
|
|
3588
3531
|
replicas: number
|
|
3589
3532
|
createdAt: string
|
|
@@ -3595,9 +3538,16 @@ memory?: string
|
|
|
3595
3538
|
}
|
|
3596
3539
|
}
|
|
3597
3540
|
updatedAt: string
|
|
3541
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3542
|
+
idleMinutes: number
|
|
3543
|
+
scaleToZero: boolean
|
|
3598
3544
|
containerPort: number
|
|
3599
3545
|
environmentId: string
|
|
3600
3546
|
lastReplicasRunning: number
|
|
3547
|
+
scaleToZeroEligibility?: {
|
|
3548
|
+
reasons: string[]
|
|
3549
|
+
eligible: boolean
|
|
3550
|
+
}
|
|
3601
3551
|
}
|
|
3602
3552
|
export interface DeploymentServiceScaleOutputReadiness {
|
|
3603
3553
|
path: string
|
|
@@ -3641,6 +3591,7 @@ build?: {
|
|
|
3641
3591
|
command?: string
|
|
3642
3592
|
outputDir?: string
|
|
3643
3593
|
}
|
|
3594
|
+
markdown?: boolean
|
|
3644
3595
|
})
|
|
3645
3596
|
replicas?: number
|
|
3646
3597
|
resources?: {
|
|
@@ -3649,6 +3600,8 @@ cpu?: string
|
|
|
3649
3600
|
memory?: string
|
|
3650
3601
|
}
|
|
3651
3602
|
}
|
|
3603
|
+
idleMinutes?: number
|
|
3604
|
+
scaleToZero?: boolean
|
|
3652
3605
|
containerPort?: number
|
|
3653
3606
|
}
|
|
3654
3607
|
export interface DeploymentServiceUpdateInputReadiness {
|
|
@@ -3694,6 +3647,7 @@ build?: {
|
|
|
3694
3647
|
command?: string
|
|
3695
3648
|
outputDir?: string
|
|
3696
3649
|
}
|
|
3650
|
+
markdown?: boolean
|
|
3697
3651
|
})
|
|
3698
3652
|
replicas: number
|
|
3699
3653
|
createdAt: string
|
|
@@ -3705,9 +3659,16 @@ memory?: string
|
|
|
3705
3659
|
}
|
|
3706
3660
|
}
|
|
3707
3661
|
updatedAt: string
|
|
3662
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3663
|
+
idleMinutes: number
|
|
3664
|
+
scaleToZero: boolean
|
|
3708
3665
|
containerPort: number
|
|
3709
3666
|
environmentId: string
|
|
3710
3667
|
lastReplicasRunning: number
|
|
3668
|
+
scaleToZeroEligibility?: {
|
|
3669
|
+
reasons: string[]
|
|
3670
|
+
eligible: boolean
|
|
3671
|
+
}
|
|
3711
3672
|
}
|
|
3712
3673
|
export interface DeploymentServiceUpdateOutputReadiness {
|
|
3713
3674
|
path: string
|
|
@@ -3719,6 +3680,14 @@ successThreshold?: number
|
|
|
3719
3680
|
initialDelaySeconds?: number
|
|
3720
3681
|
}
|
|
3721
3682
|
|
|
3683
|
+
export interface DeploymentServiceWakeInput {
|
|
3684
|
+
id: string
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
export interface DeploymentServiceWakeOutput {
|
|
3688
|
+
[k: string]: unknown
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3722
3691
|
export interface DeploymentSshCommandInput {
|
|
3723
3692
|
serviceId: string
|
|
3724
3693
|
}
|
|
@@ -13366,6 +13335,226 @@ name: string
|
|
|
13366
13335
|
activeProductId: (string | null)
|
|
13367
13336
|
}
|
|
13368
13337
|
|
|
13338
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
13339
|
+
/**
|
|
13340
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
13341
|
+
*/
|
|
13342
|
+
limit?: number
|
|
13343
|
+
}
|
|
13344
|
+
|
|
13345
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
13346
|
+
ok: boolean
|
|
13347
|
+
minted: boolean
|
|
13348
|
+
overview?: unknown
|
|
13349
|
+
http_status: number
|
|
13350
|
+
}
|
|
13351
|
+
|
|
13352
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
13353
|
+
|
|
13354
|
+
}
|
|
13355
|
+
|
|
13356
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
13357
|
+
ok: boolean
|
|
13358
|
+
minted: boolean
|
|
13359
|
+
http_status: number
|
|
13360
|
+
entitlements?: unknown
|
|
13361
|
+
}
|
|
13362
|
+
|
|
13363
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
13364
|
+
/**
|
|
13365
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
13366
|
+
*/
|
|
13367
|
+
value?: number
|
|
13368
|
+
}
|
|
13369
|
+
|
|
13370
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
13371
|
+
minted: boolean
|
|
13372
|
+
accepted: (number | null)
|
|
13373
|
+
recorded: boolean
|
|
13374
|
+
duplicates: (number | null)
|
|
13375
|
+
http_status: number
|
|
13376
|
+
}
|
|
13377
|
+
|
|
13378
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
13379
|
+
/**
|
|
13380
|
+
* Task title; defaults to a fixture label
|
|
13381
|
+
*/
|
|
13382
|
+
name?: string
|
|
13383
|
+
/**
|
|
13384
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
13385
|
+
*/
|
|
13386
|
+
listId?: string
|
|
13387
|
+
}
|
|
13388
|
+
|
|
13389
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
13390
|
+
minted: boolean
|
|
13391
|
+
task_id: (string | null)
|
|
13392
|
+
list_status: number
|
|
13393
|
+
vend_status: number
|
|
13394
|
+
clickup_status: number
|
|
13395
|
+
installation_count: number
|
|
13396
|
+
}
|
|
13397
|
+
|
|
13398
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
13399
|
+
|
|
13400
|
+
}
|
|
13401
|
+
|
|
13402
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
13403
|
+
payload: string
|
|
13404
|
+
event_id: string
|
|
13405
|
+
provider: string
|
|
13406
|
+
verified: boolean
|
|
13407
|
+
product_id: string
|
|
13408
|
+
occurred_at: string
|
|
13409
|
+
connector_id: string
|
|
13410
|
+
clickup_event: (string | null)
|
|
13411
|
+
receipt_count: number
|
|
13412
|
+
} | {
|
|
13413
|
+
found: false
|
|
13414
|
+
})
|
|
13415
|
+
|
|
13416
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
13417
|
+
|
|
13418
|
+
}
|
|
13419
|
+
|
|
13420
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
13421
|
+
team: ({
|
|
13422
|
+
teamId: string
|
|
13423
|
+
teamName: string
|
|
13424
|
+
} | null)
|
|
13425
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
13426
|
+
tasks: {
|
|
13427
|
+
id: string
|
|
13428
|
+
name: string
|
|
13429
|
+
status: (string | null)
|
|
13430
|
+
}[]
|
|
13431
|
+
minted: boolean
|
|
13432
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
13433
|
+
list_status: number
|
|
13434
|
+
vend_status: number
|
|
13435
|
+
lists_status: number
|
|
13436
|
+
tasks_status: number
|
|
13437
|
+
spaces_status: number
|
|
13438
|
+
folders_status: number
|
|
13439
|
+
installation_count: number
|
|
13440
|
+
}
|
|
13441
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
13442
|
+
id: string
|
|
13443
|
+
name: string
|
|
13444
|
+
}
|
|
13445
|
+
|
|
13446
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
13447
|
+
|
|
13448
|
+
}
|
|
13449
|
+
|
|
13450
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
13451
|
+
file_id: string
|
|
13452
|
+
removed: boolean
|
|
13453
|
+
file_name: (string | null)
|
|
13454
|
+
mime_type: (string | null)
|
|
13455
|
+
product_id: string
|
|
13456
|
+
occurred_at: string
|
|
13457
|
+
connector_id: string
|
|
13458
|
+
resource_state: string
|
|
13459
|
+
} | {
|
|
13460
|
+
found: false
|
|
13461
|
+
})
|
|
13462
|
+
|
|
13463
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
13464
|
+
/**
|
|
13465
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
13466
|
+
*/
|
|
13467
|
+
fileId?: string
|
|
13468
|
+
}
|
|
13469
|
+
|
|
13470
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
13471
|
+
minted: boolean
|
|
13472
|
+
file_id: (string | null)
|
|
13473
|
+
file_name: (string | null)
|
|
13474
|
+
mime_type: (string | null)
|
|
13475
|
+
file_count: number
|
|
13476
|
+
get_status: number
|
|
13477
|
+
list_status: number
|
|
13478
|
+
vend_status: number
|
|
13479
|
+
content_bytes: (number | null)
|
|
13480
|
+
}
|
|
13481
|
+
|
|
13482
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
13483
|
+
|
|
13484
|
+
}
|
|
13485
|
+
|
|
13486
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
13487
|
+
minted: boolean
|
|
13488
|
+
vended: boolean
|
|
13489
|
+
customer_id: (string | null)
|
|
13490
|
+
vend_status: number
|
|
13491
|
+
result_count: number
|
|
13492
|
+
search_status: number
|
|
13493
|
+
login_customer_id: (string | null)
|
|
13494
|
+
}
|
|
13495
|
+
|
|
13496
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
13497
|
+
|
|
13498
|
+
}
|
|
13499
|
+
|
|
13500
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
13501
|
+
blocked: boolean
|
|
13502
|
+
archived: boolean
|
|
13503
|
+
productId: string
|
|
13504
|
+
lastBlockTransition: ({
|
|
13505
|
+
eventId: string
|
|
13506
|
+
eventName: string
|
|
13507
|
+
productId: string
|
|
13508
|
+
occurredAt: string
|
|
13509
|
+
recordedAt: string
|
|
13510
|
+
receiptCount: number
|
|
13511
|
+
organizationId: string
|
|
13512
|
+
cascadedFromOrg: boolean
|
|
13513
|
+
} | null)
|
|
13514
|
+
lastArchiveTransition: ({
|
|
13515
|
+
eventId: string
|
|
13516
|
+
eventName: string
|
|
13517
|
+
productId: string
|
|
13518
|
+
occurredAt: string
|
|
13519
|
+
recordedAt: string
|
|
13520
|
+
receiptCount: number
|
|
13521
|
+
organizationId: string
|
|
13522
|
+
cascadedFromOrg: boolean
|
|
13523
|
+
} | null)
|
|
13524
|
+
}
|
|
13525
|
+
|
|
13526
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
13527
|
+
|
|
13528
|
+
}
|
|
13529
|
+
|
|
13530
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
13531
|
+
eventId: string
|
|
13532
|
+
eventName: string
|
|
13533
|
+
productId: string
|
|
13534
|
+
occurredAt: string
|
|
13535
|
+
recordedAt: string
|
|
13536
|
+
receiptCount: number
|
|
13537
|
+
organizationId: string
|
|
13538
|
+
cascadedFromOrg: boolean
|
|
13539
|
+
}[]
|
|
13540
|
+
|
|
13541
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
13542
|
+
|
|
13543
|
+
}
|
|
13544
|
+
|
|
13545
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
13546
|
+
payload?: unknown
|
|
13547
|
+
event_id: string
|
|
13548
|
+
provider: string
|
|
13549
|
+
verified: boolean
|
|
13550
|
+
product_id: string
|
|
13551
|
+
occurred_at: string
|
|
13552
|
+
connector_id: string
|
|
13553
|
+
delivery_count: number
|
|
13554
|
+
} | {
|
|
13555
|
+
found: false
|
|
13556
|
+
})
|
|
13557
|
+
|
|
13369
13558
|
export interface RealtimeApikeyCreateInput {
|
|
13370
13559
|
/**
|
|
13371
13560
|
* Human-readable label for the key, e.g. "production backend"
|