@lessly/sdk-app 12.1.0 → 13.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 -10
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -10
- package/dist/brain/index.d.ts +2 -10
- package/dist/brain/index.js +1 -9
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-CUGiXN_3.d.cts → client.gen-BnXpkn0p.d.cts} +306 -116
- package/dist/{client.gen-CUGiXN_3.d.ts → client.gen-BnXpkn0p.d.ts} +306 -116
- 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 -40
- 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 -40
- 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/package.json +7 -2
- package/src/gen/bindings.gen.ts +123 -40
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -14
- package/src/gen/client.gen.ts +55 -8
- 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 +310 -115
package/src/gen/types.gen.ts
CHANGED
|
@@ -56,9 +56,15 @@ snapshotId?: string
|
|
|
56
56
|
export type BrainBackupStatusOutput = ({
|
|
57
57
|
id: string
|
|
58
58
|
error: (string | null)
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* 'running' | 'completed' | 'failed'
|
|
61
|
+
*/
|
|
62
|
+
status: string
|
|
60
63
|
gcsPath: string
|
|
61
|
-
|
|
64
|
+
/**
|
|
65
|
+
* 'scheduled' | 'manual' | 'pre-restore'
|
|
66
|
+
*/
|
|
67
|
+
trigger: string
|
|
62
68
|
createdAt: string
|
|
63
69
|
edgeCount: (number | null)
|
|
64
70
|
nodeCount: (number | null)
|
|
@@ -77,9 +83,15 @@ export interface BrainBackupsListInput {
|
|
|
77
83
|
export type BrainBackupsListOutput = {
|
|
78
84
|
id: string
|
|
79
85
|
error: (string | null)
|
|
80
|
-
|
|
86
|
+
/**
|
|
87
|
+
* 'running' | 'completed' | 'failed'
|
|
88
|
+
*/
|
|
89
|
+
status: string
|
|
81
90
|
gcsPath: string
|
|
82
|
-
|
|
91
|
+
/**
|
|
92
|
+
* 'scheduled' | 'manual' | 'pre-restore'
|
|
93
|
+
*/
|
|
94
|
+
trigger: string
|
|
83
95
|
createdAt: string
|
|
84
96
|
edgeCount: (number | null)
|
|
85
97
|
nodeCount: (number | null)
|
|
@@ -536,107 +548,6 @@ mimeType: string
|
|
|
536
548
|
}[]
|
|
537
549
|
}[]
|
|
538
550
|
|
|
539
|
-
export interface BrainKnowledgeEntityMemoriesInput {
|
|
540
|
-
/**
|
|
541
|
-
* Max memories (default 50)
|
|
542
|
-
*/
|
|
543
|
-
limit?: number
|
|
544
|
-
/**
|
|
545
|
-
* Read scope; 'both' (default) unions shared + your private
|
|
546
|
-
*/
|
|
547
|
-
scope?: ("shared" | "private" | "both")
|
|
548
|
-
/**
|
|
549
|
-
* Pagination offset
|
|
550
|
-
*/
|
|
551
|
-
offset?: number
|
|
552
|
-
/**
|
|
553
|
-
* Entity id, name, or alias to fetch backing memories for
|
|
554
|
-
*/
|
|
555
|
-
entity_ref: string
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
export interface BrainKnowledgeEntityMemoriesOutput {
|
|
559
|
-
total: number
|
|
560
|
-
entity: ({
|
|
561
|
-
score?: number
|
|
562
|
-
aliases: string[]
|
|
563
|
-
entity_id: string
|
|
564
|
-
description: (string | null)
|
|
565
|
-
entity_type: string
|
|
566
|
-
display_name: string
|
|
567
|
-
canonical_name: string
|
|
568
|
-
evidence_count: number
|
|
569
|
-
} | null)
|
|
570
|
-
memories: {
|
|
571
|
-
/**
|
|
572
|
-
* Consumer-facing label derived from the layer; 'unknown' for an unrecognised layer
|
|
573
|
-
*/
|
|
574
|
-
kind: ("schema" | "intention" | "identity" | "basic" | "fact" | "summary" | "knowledge" | "raw" | "unknown")
|
|
575
|
-
tags: string[]
|
|
576
|
-
/**
|
|
577
|
-
* Engine memory layer (l0_basic_info…l7_intention)
|
|
578
|
-
*/
|
|
579
|
-
layer: ("l6_schema" | "l7_intention" | "l4_identity" | "l0_basic_info" | "l2_fact" | "l3_summary" | "l5_knowledge" | "l1_raw")
|
|
580
|
-
custom: {
|
|
581
|
-
[k: string]: unknown
|
|
582
|
-
}
|
|
583
|
-
status: string
|
|
584
|
-
content: string
|
|
585
|
-
user_id: string
|
|
586
|
-
agent_id: string
|
|
587
|
-
memory_at: (number | null)
|
|
588
|
-
memory_id: string
|
|
589
|
-
speculate: (string | null)
|
|
590
|
-
session_id: string
|
|
591
|
-
gmt_created: number
|
|
592
|
-
/**
|
|
593
|
-
* Source authority (highest→lowest): policy > official > team > informal
|
|
594
|
-
*/
|
|
595
|
-
source_authority: ("policy" | "official" | "team" | "informal")
|
|
596
|
-
source_raw_memory_id: (string | null)
|
|
597
|
-
}[]
|
|
598
|
-
elapsed_ms: number
|
|
599
|
-
request_id: string
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
export interface BrainKnowledgeGraphInput {
|
|
603
|
-
/**
|
|
604
|
-
* Max nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want
|
|
605
|
-
*/
|
|
606
|
-
limit?: number
|
|
607
|
-
/**
|
|
608
|
-
* Read scope; 'both' (default) unions shared + your private
|
|
609
|
-
*/
|
|
610
|
-
scope?: ("shared" | "private" | "both")
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
export interface BrainKnowledgeGraphOutput {
|
|
614
|
-
edges: {
|
|
615
|
-
reason: (string | null)
|
|
616
|
-
source: string
|
|
617
|
-
target: string
|
|
618
|
-
symmetric: boolean
|
|
619
|
-
relation_type: string
|
|
620
|
-
}[]
|
|
621
|
-
nodes: {
|
|
622
|
-
id: string
|
|
623
|
-
degree: number
|
|
624
|
-
aliases: string[]
|
|
625
|
-
description: (string | null)
|
|
626
|
-
entity_type: string
|
|
627
|
-
display_name: string
|
|
628
|
-
canonical_name: string
|
|
629
|
-
evidence_count: number
|
|
630
|
-
}[]
|
|
631
|
-
totals: {
|
|
632
|
-
edgeCount: number
|
|
633
|
-
nodeCount: number
|
|
634
|
-
}
|
|
635
|
-
truncated: boolean
|
|
636
|
-
elapsed_ms: number
|
|
637
|
-
request_id: string
|
|
638
|
-
}
|
|
639
|
-
|
|
640
551
|
export interface BrainKnowledgeNeighborhoodInput {
|
|
641
552
|
/**
|
|
642
553
|
* Hops to expand (engine clamps to 3)
|
|
@@ -1017,7 +928,10 @@ restoreId: string
|
|
|
1017
928
|
|
|
1018
929
|
export type BrainRestoreStatusOutput = ({
|
|
1019
930
|
error: (string | null)
|
|
1020
|
-
|
|
931
|
+
/**
|
|
932
|
+
* 'pending' | 'wiped' | 'importing' | 'completed' | 'failed'
|
|
933
|
+
*/
|
|
934
|
+
status: string
|
|
1021
935
|
edgeCount: (number | null)
|
|
1022
936
|
nodeCount: (number | null)
|
|
1023
937
|
productId: string
|
|
@@ -1655,6 +1569,7 @@ build?: {
|
|
|
1655
1569
|
command?: string
|
|
1656
1570
|
outputDir?: string
|
|
1657
1571
|
}
|
|
1572
|
+
markdown?: boolean
|
|
1658
1573
|
})
|
|
1659
1574
|
replicas: number
|
|
1660
1575
|
createdAt: string
|
|
@@ -1666,9 +1581,16 @@ memory?: string
|
|
|
1666
1581
|
}
|
|
1667
1582
|
}
|
|
1668
1583
|
updatedAt: string
|
|
1584
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
1585
|
+
idleMinutes: number
|
|
1586
|
+
scaleToZero: boolean
|
|
1669
1587
|
containerPort: number
|
|
1670
1588
|
environmentId: string
|
|
1671
1589
|
lastReplicasRunning: number
|
|
1590
|
+
scaleToZeroEligibility?: {
|
|
1591
|
+
reasons: string[]
|
|
1592
|
+
eligible: boolean
|
|
1593
|
+
}
|
|
1672
1594
|
}[]
|
|
1673
1595
|
environmentId: string
|
|
1674
1596
|
}
|
|
@@ -1984,7 +1906,7 @@ deploymentId: string
|
|
|
1984
1906
|
|
|
1985
1907
|
export interface DeploymentDeploymentCancelOutput {
|
|
1986
1908
|
id: string
|
|
1987
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1909
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
1988
1910
|
builtAt: (string | null)
|
|
1989
1911
|
imageRef: (string | null)
|
|
1990
1912
|
commitSha: (string | null)
|
|
@@ -2012,7 +1934,7 @@ id: string
|
|
|
2012
1934
|
|
|
2013
1935
|
export interface DeploymentDeploymentGetOutput {
|
|
2014
1936
|
id: string
|
|
2015
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1937
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
2016
1938
|
builtAt: (string | null)
|
|
2017
1939
|
imageRef: (string | null)
|
|
2018
1940
|
commitSha: (string | null)
|
|
@@ -2040,7 +1962,7 @@ serviceId: string
|
|
|
2040
1962
|
|
|
2041
1963
|
export type DeploymentDeploymentListOutput = {
|
|
2042
1964
|
id: string
|
|
2043
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1965
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
2044
1966
|
builtAt: (string | null)
|
|
2045
1967
|
imageRef: (string | null)
|
|
2046
1968
|
commitSha: (string | null)
|
|
@@ -2619,7 +2541,7 @@ baseEnvironmentId: (string | null)
|
|
|
2619
2541
|
}
|
|
2620
2542
|
|
|
2621
2543
|
export interface DeploymentEventsListByEnvironmentInput {
|
|
2622
|
-
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")
|
|
2544
|
+
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")
|
|
2623
2545
|
limit?: number
|
|
2624
2546
|
since?: string
|
|
2625
2547
|
until?: string
|
|
@@ -2628,7 +2550,7 @@ environmentId: string
|
|
|
2628
2550
|
|
|
2629
2551
|
export type DeploymentEventsListByEnvironmentOutput = {
|
|
2630
2552
|
id: string
|
|
2631
|
-
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")
|
|
2553
|
+
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")
|
|
2632
2554
|
payload: {
|
|
2633
2555
|
[k: string]: unknown
|
|
2634
2556
|
}
|
|
@@ -2641,7 +2563,7 @@ environmentId: (string | null)
|
|
|
2641
2563
|
}[]
|
|
2642
2564
|
|
|
2643
2565
|
export interface DeploymentEventsListByServiceInput {
|
|
2644
|
-
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")
|
|
2566
|
+
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")
|
|
2645
2567
|
limit?: number
|
|
2646
2568
|
since?: string
|
|
2647
2569
|
until?: string
|
|
@@ -2651,7 +2573,7 @@ deploymentId?: string
|
|
|
2651
2573
|
|
|
2652
2574
|
export type DeploymentEventsListByServiceOutput = {
|
|
2653
2575
|
id: string
|
|
2654
|
-
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")
|
|
2576
|
+
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")
|
|
2655
2577
|
payload: {
|
|
2656
2578
|
[k: string]: unknown
|
|
2657
2579
|
}
|
|
@@ -3143,6 +3065,7 @@ build?: {
|
|
|
3143
3065
|
command?: string
|
|
3144
3066
|
outputDir?: string
|
|
3145
3067
|
}
|
|
3068
|
+
markdown?: boolean
|
|
3146
3069
|
})
|
|
3147
3070
|
replicas?: number
|
|
3148
3071
|
resources?: {
|
|
@@ -3197,6 +3120,7 @@ build?: {
|
|
|
3197
3120
|
command?: string
|
|
3198
3121
|
outputDir?: string
|
|
3199
3122
|
}
|
|
3123
|
+
markdown?: boolean
|
|
3200
3124
|
})
|
|
3201
3125
|
replicas: number
|
|
3202
3126
|
createdAt: string
|
|
@@ -3208,9 +3132,16 @@ memory?: string
|
|
|
3208
3132
|
}
|
|
3209
3133
|
}
|
|
3210
3134
|
updatedAt: string
|
|
3135
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3136
|
+
idleMinutes: number
|
|
3137
|
+
scaleToZero: boolean
|
|
3211
3138
|
containerPort: number
|
|
3212
3139
|
environmentId: string
|
|
3213
3140
|
lastReplicasRunning: number
|
|
3141
|
+
scaleToZeroEligibility?: {
|
|
3142
|
+
reasons: string[]
|
|
3143
|
+
eligible: boolean
|
|
3144
|
+
}
|
|
3214
3145
|
}
|
|
3215
3146
|
export interface DeploymentServiceCreateOutputReadiness {
|
|
3216
3147
|
path: string
|
|
@@ -3292,6 +3223,7 @@ build?: {
|
|
|
3292
3223
|
command?: string
|
|
3293
3224
|
outputDir?: string
|
|
3294
3225
|
}
|
|
3226
|
+
markdown?: boolean
|
|
3295
3227
|
})
|
|
3296
3228
|
replicas: number
|
|
3297
3229
|
createdAt: string
|
|
@@ -3303,9 +3235,16 @@ memory?: string
|
|
|
3303
3235
|
}
|
|
3304
3236
|
}
|
|
3305
3237
|
updatedAt: string
|
|
3238
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3239
|
+
idleMinutes: number
|
|
3240
|
+
scaleToZero: boolean
|
|
3306
3241
|
containerPort: number
|
|
3307
3242
|
environmentId: string
|
|
3308
3243
|
lastReplicasRunning: number
|
|
3244
|
+
scaleToZeroEligibility?: {
|
|
3245
|
+
reasons: string[]
|
|
3246
|
+
eligible: boolean
|
|
3247
|
+
}
|
|
3309
3248
|
}
|
|
3310
3249
|
export interface DeploymentServiceGetOutputReadiness {
|
|
3311
3250
|
path: string
|
|
@@ -3354,6 +3293,7 @@ build?: {
|
|
|
3354
3293
|
command?: string
|
|
3355
3294
|
outputDir?: string
|
|
3356
3295
|
}
|
|
3296
|
+
markdown?: boolean
|
|
3357
3297
|
})
|
|
3358
3298
|
replicas: number
|
|
3359
3299
|
createdAt: string
|
|
@@ -3365,9 +3305,16 @@ memory?: string
|
|
|
3365
3305
|
}
|
|
3366
3306
|
}
|
|
3367
3307
|
updatedAt: string
|
|
3308
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3309
|
+
idleMinutes: number
|
|
3310
|
+
scaleToZero: boolean
|
|
3368
3311
|
containerPort: number
|
|
3369
3312
|
environmentId: string
|
|
3370
3313
|
lastReplicasRunning: number
|
|
3314
|
+
scaleToZeroEligibility?: {
|
|
3315
|
+
reasons: string[]
|
|
3316
|
+
eligible: boolean
|
|
3317
|
+
}
|
|
3371
3318
|
}[]
|
|
3372
3319
|
|
|
3373
3320
|
export interface DeploymentServiceListOutputReadiness {
|
|
@@ -3387,6 +3334,7 @@ serviceId: string
|
|
|
3387
3334
|
|
|
3388
3335
|
export interface DeploymentServiceLogsOutput {
|
|
3389
3336
|
lines: string[]
|
|
3337
|
+
sleepState?: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3390
3338
|
}
|
|
3391
3339
|
|
|
3392
3340
|
export interface DeploymentServiceRedeployInput {
|
|
@@ -3395,7 +3343,7 @@ serviceId: string
|
|
|
3395
3343
|
|
|
3396
3344
|
export interface DeploymentServiceRedeployOutput {
|
|
3397
3345
|
id: string
|
|
3398
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3346
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
3399
3347
|
builtAt: (string | null)
|
|
3400
3348
|
imageRef: (string | null)
|
|
3401
3349
|
commitSha: (string | null)
|
|
@@ -3432,7 +3380,7 @@ deploymentId: string
|
|
|
3432
3380
|
|
|
3433
3381
|
export interface DeploymentServiceRollbackOutput {
|
|
3434
3382
|
id: string
|
|
3435
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3383
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
3436
3384
|
builtAt: (string | null)
|
|
3437
3385
|
imageRef: (string | null)
|
|
3438
3386
|
commitSha: (string | null)
|
|
@@ -3492,6 +3440,7 @@ build?: {
|
|
|
3492
3440
|
command?: string
|
|
3493
3441
|
outputDir?: string
|
|
3494
3442
|
}
|
|
3443
|
+
markdown?: boolean
|
|
3495
3444
|
})
|
|
3496
3445
|
replicas: number
|
|
3497
3446
|
createdAt: string
|
|
@@ -3503,9 +3452,16 @@ memory?: string
|
|
|
3503
3452
|
}
|
|
3504
3453
|
}
|
|
3505
3454
|
updatedAt: string
|
|
3455
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3456
|
+
idleMinutes: number
|
|
3457
|
+
scaleToZero: boolean
|
|
3506
3458
|
containerPort: number
|
|
3507
3459
|
environmentId: string
|
|
3508
3460
|
lastReplicasRunning: number
|
|
3461
|
+
scaleToZeroEligibility?: {
|
|
3462
|
+
reasons: string[]
|
|
3463
|
+
eligible: boolean
|
|
3464
|
+
}
|
|
3509
3465
|
}
|
|
3510
3466
|
export interface DeploymentServiceScaleOutputReadiness {
|
|
3511
3467
|
path: string
|
|
@@ -3549,6 +3505,7 @@ build?: {
|
|
|
3549
3505
|
command?: string
|
|
3550
3506
|
outputDir?: string
|
|
3551
3507
|
}
|
|
3508
|
+
markdown?: boolean
|
|
3552
3509
|
})
|
|
3553
3510
|
replicas?: number
|
|
3554
3511
|
resources?: {
|
|
@@ -3557,6 +3514,8 @@ cpu?: string
|
|
|
3557
3514
|
memory?: string
|
|
3558
3515
|
}
|
|
3559
3516
|
}
|
|
3517
|
+
idleMinutes?: number
|
|
3518
|
+
scaleToZero?: boolean
|
|
3560
3519
|
containerPort?: number
|
|
3561
3520
|
}
|
|
3562
3521
|
export interface DeploymentServiceUpdateInputReadiness {
|
|
@@ -3602,6 +3561,7 @@ build?: {
|
|
|
3602
3561
|
command?: string
|
|
3603
3562
|
outputDir?: string
|
|
3604
3563
|
}
|
|
3564
|
+
markdown?: boolean
|
|
3605
3565
|
})
|
|
3606
3566
|
replicas: number
|
|
3607
3567
|
createdAt: string
|
|
@@ -3613,9 +3573,16 @@ memory?: string
|
|
|
3613
3573
|
}
|
|
3614
3574
|
}
|
|
3615
3575
|
updatedAt: string
|
|
3576
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3577
|
+
idleMinutes: number
|
|
3578
|
+
scaleToZero: boolean
|
|
3616
3579
|
containerPort: number
|
|
3617
3580
|
environmentId: string
|
|
3618
3581
|
lastReplicasRunning: number
|
|
3582
|
+
scaleToZeroEligibility?: {
|
|
3583
|
+
reasons: string[]
|
|
3584
|
+
eligible: boolean
|
|
3585
|
+
}
|
|
3619
3586
|
}
|
|
3620
3587
|
export interface DeploymentServiceUpdateOutputReadiness {
|
|
3621
3588
|
path: string
|
|
@@ -3627,6 +3594,14 @@ successThreshold?: number
|
|
|
3627
3594
|
initialDelaySeconds?: number
|
|
3628
3595
|
}
|
|
3629
3596
|
|
|
3597
|
+
export interface DeploymentServiceWakeInput {
|
|
3598
|
+
id: string
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
export interface DeploymentServiceWakeOutput {
|
|
3602
|
+
[k: string]: unknown
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3630
3605
|
export interface DeploymentSshCommandInput {
|
|
3631
3606
|
serviceId: string
|
|
3632
3607
|
}
|
|
@@ -13274,6 +13249,226 @@ name: string
|
|
|
13274
13249
|
activeProductId: (string | null)
|
|
13275
13250
|
}
|
|
13276
13251
|
|
|
13252
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
13253
|
+
/**
|
|
13254
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
13255
|
+
*/
|
|
13256
|
+
limit?: number
|
|
13257
|
+
}
|
|
13258
|
+
|
|
13259
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
13260
|
+
ok: boolean
|
|
13261
|
+
minted: boolean
|
|
13262
|
+
overview?: unknown
|
|
13263
|
+
http_status: number
|
|
13264
|
+
}
|
|
13265
|
+
|
|
13266
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
13267
|
+
|
|
13268
|
+
}
|
|
13269
|
+
|
|
13270
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
13271
|
+
ok: boolean
|
|
13272
|
+
minted: boolean
|
|
13273
|
+
http_status: number
|
|
13274
|
+
entitlements?: unknown
|
|
13275
|
+
}
|
|
13276
|
+
|
|
13277
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
13278
|
+
/**
|
|
13279
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
13280
|
+
*/
|
|
13281
|
+
value?: number
|
|
13282
|
+
}
|
|
13283
|
+
|
|
13284
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
13285
|
+
minted: boolean
|
|
13286
|
+
accepted: (number | null)
|
|
13287
|
+
recorded: boolean
|
|
13288
|
+
duplicates: (number | null)
|
|
13289
|
+
http_status: number
|
|
13290
|
+
}
|
|
13291
|
+
|
|
13292
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
13293
|
+
/**
|
|
13294
|
+
* Task title; defaults to a fixture label
|
|
13295
|
+
*/
|
|
13296
|
+
name?: string
|
|
13297
|
+
/**
|
|
13298
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
13299
|
+
*/
|
|
13300
|
+
listId?: string
|
|
13301
|
+
}
|
|
13302
|
+
|
|
13303
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
13304
|
+
minted: boolean
|
|
13305
|
+
task_id: (string | null)
|
|
13306
|
+
list_status: number
|
|
13307
|
+
vend_status: number
|
|
13308
|
+
clickup_status: number
|
|
13309
|
+
installation_count: number
|
|
13310
|
+
}
|
|
13311
|
+
|
|
13312
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
13313
|
+
|
|
13314
|
+
}
|
|
13315
|
+
|
|
13316
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
13317
|
+
payload: string
|
|
13318
|
+
event_id: string
|
|
13319
|
+
provider: string
|
|
13320
|
+
verified: boolean
|
|
13321
|
+
product_id: string
|
|
13322
|
+
occurred_at: string
|
|
13323
|
+
connector_id: string
|
|
13324
|
+
clickup_event: (string | null)
|
|
13325
|
+
receipt_count: number
|
|
13326
|
+
} | {
|
|
13327
|
+
found: false
|
|
13328
|
+
})
|
|
13329
|
+
|
|
13330
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
13331
|
+
|
|
13332
|
+
}
|
|
13333
|
+
|
|
13334
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
13335
|
+
team: ({
|
|
13336
|
+
teamId: string
|
|
13337
|
+
teamName: string
|
|
13338
|
+
} | null)
|
|
13339
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
13340
|
+
tasks: {
|
|
13341
|
+
id: string
|
|
13342
|
+
name: string
|
|
13343
|
+
status: (string | null)
|
|
13344
|
+
}[]
|
|
13345
|
+
minted: boolean
|
|
13346
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
13347
|
+
list_status: number
|
|
13348
|
+
vend_status: number
|
|
13349
|
+
lists_status: number
|
|
13350
|
+
tasks_status: number
|
|
13351
|
+
spaces_status: number
|
|
13352
|
+
folders_status: number
|
|
13353
|
+
installation_count: number
|
|
13354
|
+
}
|
|
13355
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
13356
|
+
id: string
|
|
13357
|
+
name: string
|
|
13358
|
+
}
|
|
13359
|
+
|
|
13360
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
13361
|
+
|
|
13362
|
+
}
|
|
13363
|
+
|
|
13364
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
13365
|
+
file_id: string
|
|
13366
|
+
removed: boolean
|
|
13367
|
+
file_name: (string | null)
|
|
13368
|
+
mime_type: (string | null)
|
|
13369
|
+
product_id: string
|
|
13370
|
+
occurred_at: string
|
|
13371
|
+
connector_id: string
|
|
13372
|
+
resource_state: string
|
|
13373
|
+
} | {
|
|
13374
|
+
found: false
|
|
13375
|
+
})
|
|
13376
|
+
|
|
13377
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
13378
|
+
/**
|
|
13379
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
13380
|
+
*/
|
|
13381
|
+
fileId?: string
|
|
13382
|
+
}
|
|
13383
|
+
|
|
13384
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
13385
|
+
minted: boolean
|
|
13386
|
+
file_id: (string | null)
|
|
13387
|
+
file_name: (string | null)
|
|
13388
|
+
mime_type: (string | null)
|
|
13389
|
+
file_count: number
|
|
13390
|
+
get_status: number
|
|
13391
|
+
list_status: number
|
|
13392
|
+
vend_status: number
|
|
13393
|
+
content_bytes: (number | null)
|
|
13394
|
+
}
|
|
13395
|
+
|
|
13396
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
13397
|
+
|
|
13398
|
+
}
|
|
13399
|
+
|
|
13400
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
13401
|
+
minted: boolean
|
|
13402
|
+
vended: boolean
|
|
13403
|
+
customer_id: (string | null)
|
|
13404
|
+
vend_status: number
|
|
13405
|
+
result_count: number
|
|
13406
|
+
search_status: number
|
|
13407
|
+
login_customer_id: (string | null)
|
|
13408
|
+
}
|
|
13409
|
+
|
|
13410
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
13411
|
+
|
|
13412
|
+
}
|
|
13413
|
+
|
|
13414
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
13415
|
+
blocked: boolean
|
|
13416
|
+
archived: boolean
|
|
13417
|
+
productId: string
|
|
13418
|
+
lastBlockTransition: ({
|
|
13419
|
+
eventId: string
|
|
13420
|
+
eventName: string
|
|
13421
|
+
productId: string
|
|
13422
|
+
occurredAt: string
|
|
13423
|
+
recordedAt: string
|
|
13424
|
+
receiptCount: number
|
|
13425
|
+
organizationId: string
|
|
13426
|
+
cascadedFromOrg: boolean
|
|
13427
|
+
} | null)
|
|
13428
|
+
lastArchiveTransition: ({
|
|
13429
|
+
eventId: string
|
|
13430
|
+
eventName: string
|
|
13431
|
+
productId: string
|
|
13432
|
+
occurredAt: string
|
|
13433
|
+
recordedAt: string
|
|
13434
|
+
receiptCount: number
|
|
13435
|
+
organizationId: string
|
|
13436
|
+
cascadedFromOrg: boolean
|
|
13437
|
+
} | null)
|
|
13438
|
+
}
|
|
13439
|
+
|
|
13440
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
13441
|
+
|
|
13442
|
+
}
|
|
13443
|
+
|
|
13444
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
13445
|
+
eventId: string
|
|
13446
|
+
eventName: string
|
|
13447
|
+
productId: string
|
|
13448
|
+
occurredAt: string
|
|
13449
|
+
recordedAt: string
|
|
13450
|
+
receiptCount: number
|
|
13451
|
+
organizationId: string
|
|
13452
|
+
cascadedFromOrg: boolean
|
|
13453
|
+
}[]
|
|
13454
|
+
|
|
13455
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
13456
|
+
|
|
13457
|
+
}
|
|
13458
|
+
|
|
13459
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
13460
|
+
payload?: unknown
|
|
13461
|
+
event_id: string
|
|
13462
|
+
provider: string
|
|
13463
|
+
verified: boolean
|
|
13464
|
+
product_id: string
|
|
13465
|
+
occurred_at: string
|
|
13466
|
+
connector_id: string
|
|
13467
|
+
delivery_count: number
|
|
13468
|
+
} | {
|
|
13469
|
+
found: false
|
|
13470
|
+
})
|
|
13471
|
+
|
|
13277
13472
|
export interface RealtimeArchiveExportInput {
|
|
13278
13473
|
/**
|
|
13279
13474
|
* Only entries with ts <= to_ts (epoch ms)
|