@lessly/sdk-app 13.0.0 → 14.1.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 +15 -0
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +14 -2
- package/dist/brain/index.d.ts +14 -2
- package/dist/brain/index.js +13 -1
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-BnXpkn0p.d.cts → client.gen-BNghb8IL.d.cts} +209 -306
- package/dist/{client.gen-BnXpkn0p.d.ts → client.gen-BNghb8IL.d.ts} +209 -306
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.cjs +0 -5
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.d.cts +2 -6
- package/dist/deployment/index.d.ts +2 -6
- package/dist/deployment/index.js +1 -5
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +53 -123
- 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 +53 -123
- 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/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 +2 -7
- package/src/gen/bindings.gen.ts +53 -123
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +21 -0
- package/src/gen/client.gen.ts +13 -55
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +0 -6
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +207 -310
- package/dist/playground/index.cjs +0 -66
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -52
- package/dist/playground/index.d.ts +0 -52
- package/dist/playground/index.js +0 -53
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/index.ts +0 -3
- package/src/gen/playground/queryOptions.gen.ts +0 -86
package/src/gen/types.gen.ts
CHANGED
|
@@ -56,15 +56,9 @@ snapshotId?: string
|
|
|
56
56
|
export type BrainBackupStatusOutput = ({
|
|
57
57
|
id: string
|
|
58
58
|
error: (string | null)
|
|
59
|
-
|
|
60
|
-
* 'running' | 'completed' | 'failed'
|
|
61
|
-
*/
|
|
62
|
-
status: string
|
|
59
|
+
status: ("running" | "completed" | "failed")
|
|
63
60
|
gcsPath: string
|
|
64
|
-
|
|
65
|
-
* 'scheduled' | 'manual' | 'pre-restore'
|
|
66
|
-
*/
|
|
67
|
-
trigger: string
|
|
61
|
+
trigger: ("scheduled" | "manual" | "pre-restore")
|
|
68
62
|
createdAt: string
|
|
69
63
|
edgeCount: (number | null)
|
|
70
64
|
nodeCount: (number | null)
|
|
@@ -83,15 +77,9 @@ export interface BrainBackupsListInput {
|
|
|
83
77
|
export type BrainBackupsListOutput = {
|
|
84
78
|
id: string
|
|
85
79
|
error: (string | null)
|
|
86
|
-
|
|
87
|
-
* 'running' | 'completed' | 'failed'
|
|
88
|
-
*/
|
|
89
|
-
status: string
|
|
80
|
+
status: ("running" | "completed" | "failed")
|
|
90
81
|
gcsPath: string
|
|
91
|
-
|
|
92
|
-
* 'scheduled' | 'manual' | 'pre-restore'
|
|
93
|
-
*/
|
|
94
|
-
trigger: string
|
|
82
|
+
trigger: ("scheduled" | "manual" | "pre-restore")
|
|
95
83
|
createdAt: string
|
|
96
84
|
edgeCount: (number | null)
|
|
97
85
|
nodeCount: (number | null)
|
|
@@ -548,6 +536,107 @@ mimeType: string
|
|
|
548
536
|
}[]
|
|
549
537
|
}[]
|
|
550
538
|
|
|
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
|
+
|
|
551
640
|
export interface BrainKnowledgeNeighborhoodInput {
|
|
552
641
|
/**
|
|
553
642
|
* Hops to expand (engine clamps to 3)
|
|
@@ -928,10 +1017,7 @@ restoreId: string
|
|
|
928
1017
|
|
|
929
1018
|
export type BrainRestoreStatusOutput = ({
|
|
930
1019
|
error: (string | null)
|
|
931
|
-
|
|
932
|
-
* 'pending' | 'wiped' | 'importing' | 'completed' | 'failed'
|
|
933
|
-
*/
|
|
934
|
-
status: string
|
|
1020
|
+
status: ("pending" | "wiped" | "importing" | "completed" | "failed")
|
|
935
1021
|
edgeCount: (number | null)
|
|
936
1022
|
nodeCount: (number | null)
|
|
937
1023
|
productId: string
|
|
@@ -942,6 +1028,98 @@ snapshotId: string
|
|
|
942
1028
|
preRestoreSnapshotId: (string | null)
|
|
943
1029
|
} | null)
|
|
944
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
|
+
|
|
945
1123
|
export interface ConsentConfigCookieDomainUpsertInput {
|
|
946
1124
|
cookieDomain: ("" | null | string)
|
|
947
1125
|
}
|
|
@@ -1569,7 +1747,6 @@ build?: {
|
|
|
1569
1747
|
command?: string
|
|
1570
1748
|
outputDir?: string
|
|
1571
1749
|
}
|
|
1572
|
-
markdown?: boolean
|
|
1573
1750
|
})
|
|
1574
1751
|
replicas: number
|
|
1575
1752
|
createdAt: string
|
|
@@ -1581,16 +1758,9 @@ memory?: string
|
|
|
1581
1758
|
}
|
|
1582
1759
|
}
|
|
1583
1760
|
updatedAt: string
|
|
1584
|
-
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
1585
|
-
idleMinutes: number
|
|
1586
|
-
scaleToZero: boolean
|
|
1587
1761
|
containerPort: number
|
|
1588
1762
|
environmentId: string
|
|
1589
1763
|
lastReplicasRunning: number
|
|
1590
|
-
scaleToZeroEligibility?: {
|
|
1591
|
-
reasons: string[]
|
|
1592
|
-
eligible: boolean
|
|
1593
|
-
}
|
|
1594
1764
|
}[]
|
|
1595
1765
|
environmentId: string
|
|
1596
1766
|
}
|
|
@@ -1906,7 +2076,7 @@ deploymentId: string
|
|
|
1906
2076
|
|
|
1907
2077
|
export interface DeploymentDeploymentCancelOutput {
|
|
1908
2078
|
id: string
|
|
1909
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed"
|
|
2079
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1910
2080
|
builtAt: (string | null)
|
|
1911
2081
|
imageRef: (string | null)
|
|
1912
2082
|
commitSha: (string | null)
|
|
@@ -1934,7 +2104,7 @@ id: string
|
|
|
1934
2104
|
|
|
1935
2105
|
export interface DeploymentDeploymentGetOutput {
|
|
1936
2106
|
id: string
|
|
1937
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed"
|
|
2107
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1938
2108
|
builtAt: (string | null)
|
|
1939
2109
|
imageRef: (string | null)
|
|
1940
2110
|
commitSha: (string | null)
|
|
@@ -1962,7 +2132,7 @@ serviceId: string
|
|
|
1962
2132
|
|
|
1963
2133
|
export type DeploymentDeploymentListOutput = {
|
|
1964
2134
|
id: string
|
|
1965
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed"
|
|
2135
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1966
2136
|
builtAt: (string | null)
|
|
1967
2137
|
imageRef: (string | null)
|
|
1968
2138
|
commitSha: (string | null)
|
|
@@ -2541,7 +2711,7 @@ baseEnvironmentId: (string | null)
|
|
|
2541
2711
|
}
|
|
2542
2712
|
|
|
2543
2713
|
export interface DeploymentEventsListByEnvironmentInput {
|
|
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"
|
|
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")
|
|
2545
2715
|
limit?: number
|
|
2546
2716
|
since?: string
|
|
2547
2717
|
until?: string
|
|
@@ -2550,7 +2720,7 @@ environmentId: string
|
|
|
2550
2720
|
|
|
2551
2721
|
export type DeploymentEventsListByEnvironmentOutput = {
|
|
2552
2722
|
id: string
|
|
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"
|
|
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")
|
|
2554
2724
|
payload: {
|
|
2555
2725
|
[k: string]: unknown
|
|
2556
2726
|
}
|
|
@@ -2563,7 +2733,7 @@ environmentId: (string | null)
|
|
|
2563
2733
|
}[]
|
|
2564
2734
|
|
|
2565
2735
|
export interface DeploymentEventsListByServiceInput {
|
|
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"
|
|
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")
|
|
2567
2737
|
limit?: number
|
|
2568
2738
|
since?: string
|
|
2569
2739
|
until?: string
|
|
@@ -2573,7 +2743,7 @@ deploymentId?: string
|
|
|
2573
2743
|
|
|
2574
2744
|
export type DeploymentEventsListByServiceOutput = {
|
|
2575
2745
|
id: string
|
|
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"
|
|
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")
|
|
2577
2747
|
payload: {
|
|
2578
2748
|
[k: string]: unknown
|
|
2579
2749
|
}
|
|
@@ -3065,7 +3235,6 @@ build?: {
|
|
|
3065
3235
|
command?: string
|
|
3066
3236
|
outputDir?: string
|
|
3067
3237
|
}
|
|
3068
|
-
markdown?: boolean
|
|
3069
3238
|
})
|
|
3070
3239
|
replicas?: number
|
|
3071
3240
|
resources?: {
|
|
@@ -3120,7 +3289,6 @@ build?: {
|
|
|
3120
3289
|
command?: string
|
|
3121
3290
|
outputDir?: string
|
|
3122
3291
|
}
|
|
3123
|
-
markdown?: boolean
|
|
3124
3292
|
})
|
|
3125
3293
|
replicas: number
|
|
3126
3294
|
createdAt: string
|
|
@@ -3132,16 +3300,9 @@ memory?: string
|
|
|
3132
3300
|
}
|
|
3133
3301
|
}
|
|
3134
3302
|
updatedAt: string
|
|
3135
|
-
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3136
|
-
idleMinutes: number
|
|
3137
|
-
scaleToZero: boolean
|
|
3138
3303
|
containerPort: number
|
|
3139
3304
|
environmentId: string
|
|
3140
3305
|
lastReplicasRunning: number
|
|
3141
|
-
scaleToZeroEligibility?: {
|
|
3142
|
-
reasons: string[]
|
|
3143
|
-
eligible: boolean
|
|
3144
|
-
}
|
|
3145
3306
|
}
|
|
3146
3307
|
export interface DeploymentServiceCreateOutputReadiness {
|
|
3147
3308
|
path: string
|
|
@@ -3223,7 +3384,6 @@ build?: {
|
|
|
3223
3384
|
command?: string
|
|
3224
3385
|
outputDir?: string
|
|
3225
3386
|
}
|
|
3226
|
-
markdown?: boolean
|
|
3227
3387
|
})
|
|
3228
3388
|
replicas: number
|
|
3229
3389
|
createdAt: string
|
|
@@ -3235,16 +3395,9 @@ memory?: string
|
|
|
3235
3395
|
}
|
|
3236
3396
|
}
|
|
3237
3397
|
updatedAt: string
|
|
3238
|
-
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3239
|
-
idleMinutes: number
|
|
3240
|
-
scaleToZero: boolean
|
|
3241
3398
|
containerPort: number
|
|
3242
3399
|
environmentId: string
|
|
3243
3400
|
lastReplicasRunning: number
|
|
3244
|
-
scaleToZeroEligibility?: {
|
|
3245
|
-
reasons: string[]
|
|
3246
|
-
eligible: boolean
|
|
3247
|
-
}
|
|
3248
3401
|
}
|
|
3249
3402
|
export interface DeploymentServiceGetOutputReadiness {
|
|
3250
3403
|
path: string
|
|
@@ -3293,7 +3446,6 @@ build?: {
|
|
|
3293
3446
|
command?: string
|
|
3294
3447
|
outputDir?: string
|
|
3295
3448
|
}
|
|
3296
|
-
markdown?: boolean
|
|
3297
3449
|
})
|
|
3298
3450
|
replicas: number
|
|
3299
3451
|
createdAt: string
|
|
@@ -3305,16 +3457,9 @@ memory?: string
|
|
|
3305
3457
|
}
|
|
3306
3458
|
}
|
|
3307
3459
|
updatedAt: string
|
|
3308
|
-
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3309
|
-
idleMinutes: number
|
|
3310
|
-
scaleToZero: boolean
|
|
3311
3460
|
containerPort: number
|
|
3312
3461
|
environmentId: string
|
|
3313
3462
|
lastReplicasRunning: number
|
|
3314
|
-
scaleToZeroEligibility?: {
|
|
3315
|
-
reasons: string[]
|
|
3316
|
-
eligible: boolean
|
|
3317
|
-
}
|
|
3318
3463
|
}[]
|
|
3319
3464
|
|
|
3320
3465
|
export interface DeploymentServiceListOutputReadiness {
|
|
@@ -3334,7 +3479,6 @@ serviceId: string
|
|
|
3334
3479
|
|
|
3335
3480
|
export interface DeploymentServiceLogsOutput {
|
|
3336
3481
|
lines: string[]
|
|
3337
|
-
sleepState?: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3338
3482
|
}
|
|
3339
3483
|
|
|
3340
3484
|
export interface DeploymentServiceRedeployInput {
|
|
@@ -3343,7 +3487,7 @@ serviceId: string
|
|
|
3343
3487
|
|
|
3344
3488
|
export interface DeploymentServiceRedeployOutput {
|
|
3345
3489
|
id: string
|
|
3346
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed"
|
|
3490
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3347
3491
|
builtAt: (string | null)
|
|
3348
3492
|
imageRef: (string | null)
|
|
3349
3493
|
commitSha: (string | null)
|
|
@@ -3380,7 +3524,7 @@ deploymentId: string
|
|
|
3380
3524
|
|
|
3381
3525
|
export interface DeploymentServiceRollbackOutput {
|
|
3382
3526
|
id: string
|
|
3383
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed"
|
|
3527
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3384
3528
|
builtAt: (string | null)
|
|
3385
3529
|
imageRef: (string | null)
|
|
3386
3530
|
commitSha: (string | null)
|
|
@@ -3440,7 +3584,6 @@ build?: {
|
|
|
3440
3584
|
command?: string
|
|
3441
3585
|
outputDir?: string
|
|
3442
3586
|
}
|
|
3443
|
-
markdown?: boolean
|
|
3444
3587
|
})
|
|
3445
3588
|
replicas: number
|
|
3446
3589
|
createdAt: string
|
|
@@ -3452,16 +3595,9 @@ memory?: string
|
|
|
3452
3595
|
}
|
|
3453
3596
|
}
|
|
3454
3597
|
updatedAt: string
|
|
3455
|
-
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3456
|
-
idleMinutes: number
|
|
3457
|
-
scaleToZero: boolean
|
|
3458
3598
|
containerPort: number
|
|
3459
3599
|
environmentId: string
|
|
3460
3600
|
lastReplicasRunning: number
|
|
3461
|
-
scaleToZeroEligibility?: {
|
|
3462
|
-
reasons: string[]
|
|
3463
|
-
eligible: boolean
|
|
3464
|
-
}
|
|
3465
3601
|
}
|
|
3466
3602
|
export interface DeploymentServiceScaleOutputReadiness {
|
|
3467
3603
|
path: string
|
|
@@ -3505,7 +3641,6 @@ build?: {
|
|
|
3505
3641
|
command?: string
|
|
3506
3642
|
outputDir?: string
|
|
3507
3643
|
}
|
|
3508
|
-
markdown?: boolean
|
|
3509
3644
|
})
|
|
3510
3645
|
replicas?: number
|
|
3511
3646
|
resources?: {
|
|
@@ -3514,8 +3649,6 @@ cpu?: string
|
|
|
3514
3649
|
memory?: string
|
|
3515
3650
|
}
|
|
3516
3651
|
}
|
|
3517
|
-
idleMinutes?: number
|
|
3518
|
-
scaleToZero?: boolean
|
|
3519
3652
|
containerPort?: number
|
|
3520
3653
|
}
|
|
3521
3654
|
export interface DeploymentServiceUpdateInputReadiness {
|
|
@@ -3561,7 +3694,6 @@ build?: {
|
|
|
3561
3694
|
command?: string
|
|
3562
3695
|
outputDir?: string
|
|
3563
3696
|
}
|
|
3564
|
-
markdown?: boolean
|
|
3565
3697
|
})
|
|
3566
3698
|
replicas: number
|
|
3567
3699
|
createdAt: string
|
|
@@ -3573,16 +3705,9 @@ memory?: string
|
|
|
3573
3705
|
}
|
|
3574
3706
|
}
|
|
3575
3707
|
updatedAt: string
|
|
3576
|
-
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3577
|
-
idleMinutes: number
|
|
3578
|
-
scaleToZero: boolean
|
|
3579
3708
|
containerPort: number
|
|
3580
3709
|
environmentId: string
|
|
3581
3710
|
lastReplicasRunning: number
|
|
3582
|
-
scaleToZeroEligibility?: {
|
|
3583
|
-
reasons: string[]
|
|
3584
|
-
eligible: boolean
|
|
3585
|
-
}
|
|
3586
3711
|
}
|
|
3587
3712
|
export interface DeploymentServiceUpdateOutputReadiness {
|
|
3588
3713
|
path: string
|
|
@@ -3594,14 +3719,6 @@ successThreshold?: number
|
|
|
3594
3719
|
initialDelaySeconds?: number
|
|
3595
3720
|
}
|
|
3596
3721
|
|
|
3597
|
-
export interface DeploymentServiceWakeInput {
|
|
3598
|
-
id: string
|
|
3599
|
-
}
|
|
3600
|
-
|
|
3601
|
-
export interface DeploymentServiceWakeOutput {
|
|
3602
|
-
[k: string]: unknown
|
|
3603
|
-
}
|
|
3604
|
-
|
|
3605
3722
|
export interface DeploymentSshCommandInput {
|
|
3606
3723
|
serviceId: string
|
|
3607
3724
|
}
|
|
@@ -13249,226 +13366,6 @@ name: string
|
|
|
13249
13366
|
activeProductId: (string | null)
|
|
13250
13367
|
}
|
|
13251
13368
|
|
|
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
|
-
|
|
13472
13369
|
export interface RealtimeArchiveExportInput {
|
|
13473
13370
|
/**
|
|
13474
13371
|
* Only entries with ts <= to_ts (epoch ms)
|