@lifesi/genesis 0.1.1 → 0.1.2
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/beacons.d.ts +46 -0
- package/dist/beacons.js +20 -0
- package/dist/client.d.ts +6563 -1625
- package/dist/client.js +53 -4
- package/dist/dials.d.ts +171 -1
- package/dist/dials.js +40 -0
- package/dist/fleets.d.ts +53 -1
- package/dist/fleets.js +35 -1
- package/dist/flocks.d.ts +73 -0
- package/dist/flocks.js +22 -0
- package/dist/generated/operations.d.ts +6563 -1625
- package/dist/generated/operations.js +7845 -1643
- package/dist/generated/schema.d.ts +14787 -5723
- package/dist/genesis.d.ts +689 -13
- package/dist/genesis.js +17 -0
- package/dist/genesis.openapi.json +20300 -7386
- package/dist/hives-cells.d.ts +127 -0
- package/dist/hives-cells.js +151 -0
- package/dist/hives-environment.d.ts +28 -0
- package/dist/hives-environment.js +58 -0
- package/dist/hives-node.js +2 -0
- package/dist/hives-operations.d.ts +304 -0
- package/dist/hives-operations.js +39 -0
- package/dist/hives-queues.d.ts +121 -0
- package/dist/hives-queues.js +106 -0
- package/dist/hives-resources-transport.d.ts +18 -0
- package/dist/hives-resources-transport.js +165 -0
- package/dist/hives-runtimes.d.ts +34 -0
- package/dist/hives-runtimes.js +32 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +3 -0
- package/dist/runner-grant.d.ts +10 -0
- package/dist/runner-grant.js +133 -0
- package/dist/runner.d.ts +16 -0
- package/dist/runner.js +4 -0
- package/package.json +6 -1
package/dist/genesis.d.ts
CHANGED
|
@@ -21,6 +21,136 @@ export declare class Genesis extends GenesisClient {
|
|
|
21
21
|
headers?: Record<string, string>;
|
|
22
22
|
}) => Promise<import("./types.js").OperationOutput<K>>;
|
|
23
23
|
readonly dials: {
|
|
24
|
+
routing: {
|
|
25
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
26
|
+
ok: true;
|
|
27
|
+
scope: components["schemas"]["Dials.Scope"];
|
|
28
|
+
rules: components["schemas"]["Dials.RoutingRule"][];
|
|
29
|
+
}>;
|
|
30
|
+
create: (body: In<"dials_createRoutingRule">["body"]) => Promise<{
|
|
31
|
+
ok: true;
|
|
32
|
+
rule: components["schemas"]["Dials.RoutingRule"];
|
|
33
|
+
auditId: string;
|
|
34
|
+
idempotentReplay: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
disable: (ruleId: string, body: In<"dials_disableRoutingRule">["body"]) => Promise<{
|
|
37
|
+
ok: true;
|
|
38
|
+
rule: components["schemas"]["Dials.RoutingRule"];
|
|
39
|
+
auditId: string | null;
|
|
40
|
+
idempotentReplay: boolean;
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
43
|
+
people: {
|
|
44
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
45
|
+
ok: boolean;
|
|
46
|
+
humans: components["schemas"]["Dials.HumanProfile"][];
|
|
47
|
+
}>;
|
|
48
|
+
create: (body: In<"dials_createHumanProfile">["body"]) => Promise<{
|
|
49
|
+
ok: boolean;
|
|
50
|
+
human: components["schemas"]["Dials.HumanProfile"];
|
|
51
|
+
auditId: string;
|
|
52
|
+
usageEventId: string;
|
|
53
|
+
next: string;
|
|
54
|
+
}>;
|
|
55
|
+
};
|
|
56
|
+
agents: {
|
|
57
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
58
|
+
ok: boolean;
|
|
59
|
+
agents: components["schemas"]["Dials.AgentProfile"][];
|
|
60
|
+
}>;
|
|
61
|
+
create: (body: In<"dials_createAgent">["body"]) => Promise<{
|
|
62
|
+
ok: boolean;
|
|
63
|
+
agent: components["schemas"]["Dials.AgentProfile"];
|
|
64
|
+
auditId: string;
|
|
65
|
+
usageEventId: string;
|
|
66
|
+
next: string;
|
|
67
|
+
}>;
|
|
68
|
+
};
|
|
69
|
+
voice: {
|
|
70
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
71
|
+
ok: boolean;
|
|
72
|
+
voiceProfiles: components["schemas"]["Dials.VoiceProfile"][];
|
|
73
|
+
}>;
|
|
74
|
+
create: (body: In<"dials_createVoiceProfile">["body"]) => Promise<{
|
|
75
|
+
ok: boolean;
|
|
76
|
+
voiceProfile: components["schemas"]["Dials.VoiceProfile"];
|
|
77
|
+
auditId: string;
|
|
78
|
+
usageEventId: string;
|
|
79
|
+
next: string;
|
|
80
|
+
}>;
|
|
81
|
+
};
|
|
82
|
+
messages: {
|
|
83
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
84
|
+
ok: boolean;
|
|
85
|
+
messages: components["schemas"]["Dials.MessageEvent"][];
|
|
86
|
+
}>;
|
|
87
|
+
send: (body: In<"dials_createOutboundMessage">["body"]) => Promise<{
|
|
88
|
+
ok: boolean;
|
|
89
|
+
message: components["schemas"]["Dials.MessageEvent"];
|
|
90
|
+
auditId: string;
|
|
91
|
+
usageEventId: string;
|
|
92
|
+
next: string;
|
|
93
|
+
idempotentReplay: boolean;
|
|
94
|
+
}>;
|
|
95
|
+
templates: {
|
|
96
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
97
|
+
ok: boolean;
|
|
98
|
+
templates: components["schemas"]["Dials.MessageTemplate"][];
|
|
99
|
+
}>;
|
|
100
|
+
create: (body: In<"dials_createMessageTemplate">["body"]) => Promise<{
|
|
101
|
+
ok: boolean;
|
|
102
|
+
template: components["schemas"]["Dials.MessageTemplate"];
|
|
103
|
+
auditId: string;
|
|
104
|
+
usageEventId: string;
|
|
105
|
+
next: string;
|
|
106
|
+
}>;
|
|
107
|
+
};
|
|
108
|
+
brands: {
|
|
109
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
110
|
+
ok: boolean;
|
|
111
|
+
brands: components["schemas"]["Dials.MessagingBrand"][];
|
|
112
|
+
}>;
|
|
113
|
+
create: (body: In<"dials_createMessagingBrand">["body"]) => Promise<{
|
|
114
|
+
ok: boolean;
|
|
115
|
+
brand: components["schemas"]["Dials.MessagingBrand"];
|
|
116
|
+
auditId: string;
|
|
117
|
+
next: string;
|
|
118
|
+
}>;
|
|
119
|
+
};
|
|
120
|
+
campaigns: {
|
|
121
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
122
|
+
ok: boolean;
|
|
123
|
+
campaigns: components["schemas"]["Dials.MessagingCampaign"][];
|
|
124
|
+
}>;
|
|
125
|
+
create: (body: In<"dials_createMessagingCampaign">["body"]) => Promise<{
|
|
126
|
+
ok: boolean;
|
|
127
|
+
campaign: components["schemas"]["Dials.MessagingCampaign"];
|
|
128
|
+
auditId: string;
|
|
129
|
+
next: string;
|
|
130
|
+
}>;
|
|
131
|
+
assignNumber: (campaignId: string, body: In<"dials_assignCampaignNumber">["body"]) => Promise<{
|
|
132
|
+
ok: boolean;
|
|
133
|
+
campaignId: string;
|
|
134
|
+
phoneNumberId: string;
|
|
135
|
+
auditId: string;
|
|
136
|
+
next: string;
|
|
137
|
+
}>;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
workflows: {
|
|
141
|
+
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
142
|
+
ok: boolean;
|
|
143
|
+
workflows: components["schemas"]["Dials.WorkflowDocument"][];
|
|
144
|
+
}>;
|
|
145
|
+
deploy: (body: In<"dials_deployWorkflow">["body"]) => Promise<{
|
|
146
|
+
ok: boolean;
|
|
147
|
+
workflow: components["schemas"]["Dials.WorkflowDocument"];
|
|
148
|
+
auditId: string;
|
|
149
|
+
usageEventId: string;
|
|
150
|
+
next: string;
|
|
151
|
+
route: components["schemas"]["Dials.RoutingRule"];
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
24
154
|
overview: {
|
|
25
155
|
summary: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
26
156
|
ok: boolean;
|
|
@@ -113,6 +243,13 @@ export declare class Genesis extends GenesisClient {
|
|
|
113
243
|
assign: (body: In<"dials_assignNumber">["body"]) => Promise<{
|
|
114
244
|
[key: string]: unknown;
|
|
115
245
|
}>;
|
|
246
|
+
delete: (input: In<"dials_deleteNumber">) => Promise<{
|
|
247
|
+
ok: boolean;
|
|
248
|
+
number: components["schemas"]["Dials.Number"];
|
|
249
|
+
auditId: string;
|
|
250
|
+
usageEventId: string;
|
|
251
|
+
next: string;
|
|
252
|
+
}>;
|
|
116
253
|
release: (body: In<"dials_releaseNumber">["body"]) => Promise<{
|
|
117
254
|
[key: string]: unknown;
|
|
118
255
|
}>;
|
|
@@ -127,14 +264,35 @@ export declare class Genesis extends GenesisClient {
|
|
|
127
264
|
calls: {
|
|
128
265
|
list: (scope: import("./dials.js").DialsScope) => Promise<{
|
|
129
266
|
ok: boolean;
|
|
130
|
-
calls: components["schemas"]["Dials.
|
|
267
|
+
calls: components["schemas"]["Dials.CallListItem"][];
|
|
131
268
|
}>;
|
|
132
269
|
validate: (body: import("./dials.js").DialsOutboundCall) => Promise<{
|
|
133
270
|
[key: string]: unknown;
|
|
134
271
|
}>;
|
|
135
272
|
create: (body: import("./dials.js").DialsOutboundCall) => Promise<{
|
|
273
|
+
ok: boolean;
|
|
274
|
+
call: components["schemas"]["Dials.CallSession"];
|
|
275
|
+
auditId: string;
|
|
276
|
+
dispatchJobId: string;
|
|
277
|
+
usageEventId: string;
|
|
278
|
+
next: string;
|
|
279
|
+
idempotentReplay: boolean;
|
|
280
|
+
} & {
|
|
136
281
|
[key: string]: unknown;
|
|
137
282
|
}>;
|
|
283
|
+
recover: (body: import("./dials.js").DialsOutboundCall) => Promise<{
|
|
284
|
+
ok: boolean;
|
|
285
|
+
call: components["schemas"]["Dials.CallSession"];
|
|
286
|
+
auditId: string;
|
|
287
|
+
dispatchJobId: string;
|
|
288
|
+
usageEventId: string;
|
|
289
|
+
next: string;
|
|
290
|
+
idempotentReplay: boolean;
|
|
291
|
+
} & {
|
|
292
|
+
[key: string]: unknown;
|
|
293
|
+
} & {
|
|
294
|
+
idempotentReplay: true;
|
|
295
|
+
}>;
|
|
138
296
|
};
|
|
139
297
|
};
|
|
140
298
|
readonly henry: {
|
|
@@ -290,6 +448,54 @@ export declare class Genesis extends GenesisClient {
|
|
|
290
448
|
};
|
|
291
449
|
};
|
|
292
450
|
readonly fleets: {
|
|
451
|
+
instances: {
|
|
452
|
+
list: (query?: In<"fleets_listInstances">) => Promise<{
|
|
453
|
+
instances: components["schemas"]["Fleets.Instance"][];
|
|
454
|
+
next_cursor: string | null;
|
|
455
|
+
}>;
|
|
456
|
+
get: (instance_id: string) => Promise<{
|
|
457
|
+
id: string;
|
|
458
|
+
name: string;
|
|
459
|
+
organization_id: string;
|
|
460
|
+
workspace_id: string;
|
|
461
|
+
project_id: string;
|
|
462
|
+
admission_held: boolean | null;
|
|
463
|
+
physical_state: "created" | "running" | "held" | "stopped" | "recovery_required" | "released";
|
|
464
|
+
status_evidence: "live_controller" | "confirmed_release_receipt";
|
|
465
|
+
release_acknowledged_at_ms: number | null;
|
|
466
|
+
harness_ready: boolean;
|
|
467
|
+
observed_at_ms: number | null;
|
|
468
|
+
lease_expires: {
|
|
469
|
+
wall_ms: number;
|
|
470
|
+
logical: number;
|
|
471
|
+
} | null;
|
|
472
|
+
}>;
|
|
473
|
+
stop: (instance_id: string, options?: import("./fleets.js").FleetsInstanceOptions) => Promise<{
|
|
474
|
+
id: string;
|
|
475
|
+
state: "released";
|
|
476
|
+
reaped: true;
|
|
477
|
+
data_retained: true;
|
|
478
|
+
status_evidence: "confirmed_release_receipt";
|
|
479
|
+
release_acknowledged_at_ms: number;
|
|
480
|
+
}>;
|
|
481
|
+
start: (instance_id: string, options?: import("./fleets.js").FleetsInstanceOptions) => Promise<{
|
|
482
|
+
id: string;
|
|
483
|
+
name: string;
|
|
484
|
+
organization_id: string;
|
|
485
|
+
workspace_id: string;
|
|
486
|
+
project_id: string;
|
|
487
|
+
admission_held: boolean | null;
|
|
488
|
+
physical_state: "created" | "running" | "held" | "stopped" | "recovery_required" | "released";
|
|
489
|
+
status_evidence: "live_controller" | "confirmed_release_receipt";
|
|
490
|
+
release_acknowledged_at_ms: number | null;
|
|
491
|
+
harness_ready: boolean;
|
|
492
|
+
observed_at_ms: number | null;
|
|
493
|
+
lease_expires: {
|
|
494
|
+
wall_ms: number;
|
|
495
|
+
logical: number;
|
|
496
|
+
} | null;
|
|
497
|
+
}>;
|
|
498
|
+
};
|
|
293
499
|
connection: {
|
|
294
500
|
get: () => Promise<{
|
|
295
501
|
connected: boolean;
|
|
@@ -360,6 +566,21 @@ export declare class Genesis extends GenesisClient {
|
|
|
360
566
|
};
|
|
361
567
|
};
|
|
362
568
|
readonly runner: Readonly<{
|
|
569
|
+
permission: Readonly<{
|
|
570
|
+
grant: (input: import("./runner-grant.js").RunnerSelfExecutionGrantInput, opts?: import("./runner.js").RunnerRequestOptions) => Promise<{
|
|
571
|
+
id: string;
|
|
572
|
+
principal_id: string;
|
|
573
|
+
organization_id: string;
|
|
574
|
+
project_id: string;
|
|
575
|
+
platform_id: "pf_console";
|
|
576
|
+
workspace_id: string;
|
|
577
|
+
environmentId: "sandbox";
|
|
578
|
+
role_ids: unknown[];
|
|
579
|
+
permissions: "runner.tasks.execute"[];
|
|
580
|
+
expires_at: number;
|
|
581
|
+
created_at: number;
|
|
582
|
+
}>;
|
|
583
|
+
}>;
|
|
363
584
|
catalog: (opts?: import("./runner.js").RunnerRequestOptions) => Promise<{
|
|
364
585
|
workspaces: {
|
|
365
586
|
key: components["schemas"]["Runner.SafeOpaqueRef"];
|
|
@@ -399,7 +620,52 @@ export declare class Genesis extends GenesisClient {
|
|
|
399
620
|
}>;
|
|
400
621
|
}>;
|
|
401
622
|
readonly beacons: {
|
|
623
|
+
fleets: {
|
|
624
|
+
provision: (requestId: string, body?: {
|
|
625
|
+
name?: string;
|
|
626
|
+
}) => Promise<{
|
|
627
|
+
data: {
|
|
628
|
+
fleet_id: string;
|
|
629
|
+
organization_id: string;
|
|
630
|
+
workspace_id: string;
|
|
631
|
+
project_id: string;
|
|
632
|
+
environment_id: string;
|
|
633
|
+
metadata_only: true;
|
|
634
|
+
};
|
|
635
|
+
}>;
|
|
636
|
+
};
|
|
402
637
|
devices: {
|
|
638
|
+
revocations: (id: string) => Promise<{
|
|
639
|
+
data: components["schemas"]["Beacons.DeviceRevocation"][];
|
|
640
|
+
}>;
|
|
641
|
+
acknowledge: (id: string, version: number, body: In<"beacons_acknowledgeBridgeDeviceRevocation">["body"]) => Promise<{
|
|
642
|
+
data: components["schemas"]["Beacons.DeviceRevocation"];
|
|
643
|
+
}>;
|
|
644
|
+
challenge: (body: In<"beacons_issueBridgeDeviceChallenge">["body"]) => Promise<{
|
|
645
|
+
version: 1;
|
|
646
|
+
id: string;
|
|
647
|
+
nonce: string;
|
|
648
|
+
issuer: string;
|
|
649
|
+
organization: string;
|
|
650
|
+
principal: string;
|
|
651
|
+
workspace: string;
|
|
652
|
+
project: string;
|
|
653
|
+
environment: string;
|
|
654
|
+
binding_revision: string;
|
|
655
|
+
transport: string;
|
|
656
|
+
fleet_id: string;
|
|
657
|
+
proof_key: string;
|
|
658
|
+
tunnel_key: string;
|
|
659
|
+
issued_at: number;
|
|
660
|
+
expires_at: number;
|
|
661
|
+
}>;
|
|
662
|
+
enroll: (body: In<"beacons_enrollBridgeDevice">["body"]) => Promise<{
|
|
663
|
+
device_id: string;
|
|
664
|
+
fleet_id: string;
|
|
665
|
+
mesh: {
|
|
666
|
+
[key: string]: unknown;
|
|
667
|
+
};
|
|
668
|
+
}>;
|
|
403
669
|
list: () => Promise<{
|
|
404
670
|
data?: components["schemas"]["Beacons.BridgeDevice"][];
|
|
405
671
|
}>;
|
|
@@ -414,6 +680,76 @@ export declare class Genesis extends GenesisClient {
|
|
|
414
680
|
revoke: (id: string) => Promise<import("./types.js").OperationOutput<"beacons_revokeBridgeDevice"> | undefined>;
|
|
415
681
|
};
|
|
416
682
|
};
|
|
683
|
+
readonly flocks: {
|
|
684
|
+
readiness: {
|
|
685
|
+
get: () => Promise<{
|
|
686
|
+
node_enrollment_available: boolean;
|
|
687
|
+
reason_code?: "node_credential_issuer_unavailable";
|
|
688
|
+
}>;
|
|
689
|
+
};
|
|
690
|
+
nodes: {
|
|
691
|
+
list: () => Promise<{
|
|
692
|
+
id: string;
|
|
693
|
+
name: string;
|
|
694
|
+
nickname: string;
|
|
695
|
+
platform: string;
|
|
696
|
+
cpu_count: number;
|
|
697
|
+
state: "enrolled" | "revoked";
|
|
698
|
+
last_seen_at: number;
|
|
699
|
+
enrolled_at: number;
|
|
700
|
+
}[]>;
|
|
701
|
+
rename: (id: string, nickname: string) => Promise<{
|
|
702
|
+
id: string;
|
|
703
|
+
name: string;
|
|
704
|
+
nickname: string;
|
|
705
|
+
platform: string;
|
|
706
|
+
cpu_count: number;
|
|
707
|
+
state: "enrolled" | "revoked";
|
|
708
|
+
last_seen_at: number;
|
|
709
|
+
enrolled_at: number;
|
|
710
|
+
}>;
|
|
711
|
+
revoke: (id: string) => Promise<{
|
|
712
|
+
id: string;
|
|
713
|
+
name: string;
|
|
714
|
+
nickname: string;
|
|
715
|
+
platform: string;
|
|
716
|
+
cpu_count: number;
|
|
717
|
+
state: "enrolled" | "revoked";
|
|
718
|
+
last_seen_at: number;
|
|
719
|
+
enrolled_at: number;
|
|
720
|
+
}>;
|
|
721
|
+
heartbeat: (id: string, nodeBinding: string) => Promise<{
|
|
722
|
+
accepted: boolean;
|
|
723
|
+
}>;
|
|
724
|
+
enroll: (body: In<"flocks_enrollNode">["body"]) => Promise<{
|
|
725
|
+
node: components["schemas"]["Flocks.Node"];
|
|
726
|
+
node_binding: string;
|
|
727
|
+
heartbeat_interval_seconds: number;
|
|
728
|
+
}>;
|
|
729
|
+
activate: (id: string, body: In<"flocks_activateNode">["body"]) => Promise<{
|
|
730
|
+
node: components["schemas"]["Flocks.Node"];
|
|
731
|
+
activated: boolean;
|
|
732
|
+
}>;
|
|
733
|
+
rotateCredential: (id: string, body: In<"flocks_rotateNodeCredential">["body"]) => Promise<{
|
|
734
|
+
accepted: boolean;
|
|
735
|
+
}>;
|
|
736
|
+
};
|
|
737
|
+
joinTokens: {
|
|
738
|
+
exchange: (body: In<"flocks_exchangeJoinToken">["body"]) => Promise<{
|
|
739
|
+
node_id: string;
|
|
740
|
+
organization_id: string;
|
|
741
|
+
credential_id: string;
|
|
742
|
+
credential_value: string;
|
|
743
|
+
scopes: "flocks:node"[];
|
|
744
|
+
expires_at: string;
|
|
745
|
+
node_nonce_hash?: string;
|
|
746
|
+
}>;
|
|
747
|
+
create: (ttlSeconds?: number) => Promise<{
|
|
748
|
+
token: string;
|
|
749
|
+
expires_at: number;
|
|
750
|
+
}>;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
417
753
|
readonly foundry: {
|
|
418
754
|
models: {
|
|
419
755
|
list: () => Promise<{
|
|
@@ -460,33 +796,75 @@ export declare class Genesis extends GenesisClient {
|
|
|
460
796
|
};
|
|
461
797
|
};
|
|
462
798
|
readonly hives: {
|
|
799
|
+
/** The gateway resolves the current authorized selection from an interactive LifeID session. */
|
|
800
|
+
context: {
|
|
801
|
+
get: () => Promise<{
|
|
802
|
+
binding: components["schemas"]["Hives.ProjectBindingMetadata"];
|
|
803
|
+
project: components["schemas"]["Hives.ContextProjectMetadata"];
|
|
804
|
+
selectedContext: components["schemas"]["Hives.SelectedContext"];
|
|
805
|
+
}>;
|
|
806
|
+
set: (body: In<"hives_set_context_project">["body"]) => Promise<{
|
|
807
|
+
binding: components["schemas"]["Hives.ProjectBindingMetadata"];
|
|
808
|
+
project: components["schemas"]["Hives.ContextProjectMetadata"];
|
|
809
|
+
selectedContext: components["schemas"]["Hives.SelectedContext"];
|
|
810
|
+
}>;
|
|
811
|
+
/** Detach this selection; the service project and customer resources are retained. */
|
|
812
|
+
detach: () => Promise<{
|
|
813
|
+
hivesProjectId: string;
|
|
814
|
+
removed: boolean;
|
|
815
|
+
}>;
|
|
816
|
+
};
|
|
817
|
+
environment: {
|
|
818
|
+
list: (project_id: string, q?: Omit<In<"hives_list_project_environment">, "project_id">) => Promise<{
|
|
819
|
+
data: components["schemas"]["Hives.EnvironmentVariableMetadata"][];
|
|
820
|
+
pagination: components["schemas"]["Hives.PaginationMeta"];
|
|
821
|
+
project_id: string;
|
|
822
|
+
}>;
|
|
823
|
+
upsert: (project_id: string, body: In<"hives_update_project_environment">["body"]) => Promise<{
|
|
824
|
+
project_id: string;
|
|
825
|
+
updated: components["schemas"]["Hives.EnvironmentVariableMetadata"][];
|
|
826
|
+
}>;
|
|
827
|
+
/** Explicit KMS reveal with a persisted names-only audit. Do not log the plaintext. */
|
|
828
|
+
reveal: (project_id: string, key: string) => Promise<{
|
|
829
|
+
name: string;
|
|
830
|
+
value: string;
|
|
831
|
+
}>;
|
|
832
|
+
};
|
|
463
833
|
projects: {
|
|
464
834
|
list: (q?: In<"hives_list_projects">) => Promise<{
|
|
465
835
|
data: (Record<string, never> & {
|
|
466
|
-
active_instances
|
|
836
|
+
active_instances?: number | null;
|
|
467
837
|
current_version?: number | null;
|
|
468
|
-
|
|
469
|
-
|
|
838
|
+
observation?: null | components["schemas"]["Hives.ProjectInvocationObservation"];
|
|
839
|
+
requests_24h?: number | null;
|
|
840
|
+
summary_state: components["schemas"]["Hives.ProjectSummaryState"];
|
|
841
|
+
total_deployments?: number | null;
|
|
470
842
|
})[];
|
|
471
843
|
pagination: components["schemas"]["Hives.PaginationMeta"];
|
|
472
844
|
}>;
|
|
473
845
|
get: (project_id: string) => Promise<Record<string, never> & {
|
|
474
|
-
active_instances
|
|
846
|
+
active_instances?: number | null;
|
|
475
847
|
current_version?: number | null;
|
|
476
|
-
|
|
477
|
-
|
|
848
|
+
observation?: null | components["schemas"]["Hives.ProjectInvocationObservation"];
|
|
849
|
+
requests_24h?: number | null;
|
|
850
|
+
summary_state: components["schemas"]["Hives.ProjectSummaryState"];
|
|
851
|
+
total_deployments?: number | null;
|
|
478
852
|
}>;
|
|
479
853
|
create: (body: In<"hives_create_project">["body"]) => Promise<Record<string, never> & {
|
|
480
|
-
active_instances
|
|
854
|
+
active_instances?: number | null;
|
|
481
855
|
current_version?: number | null;
|
|
482
|
-
|
|
483
|
-
|
|
856
|
+
observation?: null | components["schemas"]["Hives.ProjectInvocationObservation"];
|
|
857
|
+
requests_24h?: number | null;
|
|
858
|
+
summary_state: components["schemas"]["Hives.ProjectSummaryState"];
|
|
859
|
+
total_deployments?: number | null;
|
|
484
860
|
}>;
|
|
485
861
|
update: (project_id: string, body: In<"hives_update_project">["body"]) => Promise<Record<string, never> & {
|
|
486
|
-
active_instances
|
|
862
|
+
active_instances?: number | null;
|
|
487
863
|
current_version?: number | null;
|
|
488
|
-
|
|
489
|
-
|
|
864
|
+
observation?: null | components["schemas"]["Hives.ProjectInvocationObservation"];
|
|
865
|
+
requests_24h?: number | null;
|
|
866
|
+
summary_state: components["schemas"]["Hives.ProjectSummaryState"];
|
|
867
|
+
total_deployments?: number | null;
|
|
490
868
|
}>;
|
|
491
869
|
activity: (project_id: string, q?: Omit<In<"hives_get_project_activity">, "project_id">) => Promise<{
|
|
492
870
|
data: components["schemas"]["Hives.ActivityEntry"][];
|
|
@@ -733,6 +1111,304 @@ export declare class Genesis extends GenesisClient {
|
|
|
733
1111
|
regions: components["schemas"]["Hives.Region"][];
|
|
734
1112
|
}>;
|
|
735
1113
|
};
|
|
1114
|
+
cells: {
|
|
1115
|
+
list(project: string, query?: {
|
|
1116
|
+
page?: number;
|
|
1117
|
+
per_page?: number;
|
|
1118
|
+
}, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesBucketList>;
|
|
1119
|
+
get(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesBucket>;
|
|
1120
|
+
create(project: string, body: import("./hives-cells.js").HivesCreateBucket, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesBucket>;
|
|
1121
|
+
remove(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1122
|
+
id: string;
|
|
1123
|
+
success: boolean;
|
|
1124
|
+
message: string;
|
|
1125
|
+
}>;
|
|
1126
|
+
reconcile(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1127
|
+
bucket: import("./hives-cells.js").HivesBucket;
|
|
1128
|
+
outcome: string;
|
|
1129
|
+
}>;
|
|
1130
|
+
cors: {
|
|
1131
|
+
get: (project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<import("./hives-cells.js").HivesCorsRule[]>;
|
|
1132
|
+
set: (project: string, id: string, rules: import("./hives-cells.js").HivesCorsRule[], options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<import("./hives-cells.js").HivesCorsRule[]>;
|
|
1133
|
+
};
|
|
1134
|
+
objects: {
|
|
1135
|
+
list(project: string, id: string, query?: {
|
|
1136
|
+
prefix?: string;
|
|
1137
|
+
delimiter?: string;
|
|
1138
|
+
continuation_token?: string;
|
|
1139
|
+
max_keys?: number;
|
|
1140
|
+
}, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesObjectList>;
|
|
1141
|
+
put(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesResourceOptions & {
|
|
1142
|
+
content_type?: string;
|
|
1143
|
+
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
|
|
1144
|
+
remove: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
|
|
1145
|
+
download: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<Response>;
|
|
1146
|
+
putFlat(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesResourceOptions & {
|
|
1147
|
+
content_type?: string;
|
|
1148
|
+
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
|
|
1149
|
+
removeFlat: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
|
|
1150
|
+
};
|
|
1151
|
+
presign(project: string, id: string, body: import("./hives-cells.js").HivesPresign, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesPresignedUrl>;
|
|
1152
|
+
};
|
|
1153
|
+
queues: {
|
|
1154
|
+
list(project: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1155
|
+
data: import("./hives-queues.js").HivesQueue[];
|
|
1156
|
+
engine_available: true;
|
|
1157
|
+
}>;
|
|
1158
|
+
get(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-queues.js").HivesQueue>;
|
|
1159
|
+
create(project: string, body: import("./hives-queues.js").HivesQueueCreate, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-queues.js").HivesQueue>;
|
|
1160
|
+
configure(project: string, id: string, body: import("./hives-queues.js").HivesQueueConfig, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-queues.js").HivesQueue>;
|
|
1161
|
+
remove(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1162
|
+
deleted: true;
|
|
1163
|
+
}>;
|
|
1164
|
+
stats(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-queues.js").HivesQueue>;
|
|
1165
|
+
consumers: (project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<never>;
|
|
1166
|
+
pause(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-queues.js").HivesQueue>;
|
|
1167
|
+
resume(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-queues.js").HivesQueue>;
|
|
1168
|
+
purge(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1169
|
+
purged: number;
|
|
1170
|
+
}>;
|
|
1171
|
+
send(project: string, id: string, body: import("./hives-queues.js").HivesQueueSend, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1172
|
+
message_id: string;
|
|
1173
|
+
}>;
|
|
1174
|
+
receive(project: string, id: string, body?: {
|
|
1175
|
+
maxMessages?: number;
|
|
1176
|
+
waitSeconds?: number;
|
|
1177
|
+
}, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1178
|
+
messages: import("./hives-queues.js").HivesQueueDelivery[];
|
|
1179
|
+
}>;
|
|
1180
|
+
ack: (project: string, id: string, message: string, receipt: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<{
|
|
1181
|
+
acknowledged: boolean;
|
|
1182
|
+
released: boolean;
|
|
1183
|
+
}>;
|
|
1184
|
+
nack: (project: string, id: string, message: string, receipt: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<{
|
|
1185
|
+
acknowledged: boolean;
|
|
1186
|
+
released: boolean;
|
|
1187
|
+
}>;
|
|
1188
|
+
deadLetters: (project: string, id: string, query?: {
|
|
1189
|
+
limit?: number;
|
|
1190
|
+
offset?: number;
|
|
1191
|
+
}, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<{
|
|
1192
|
+
messages: import("./hives-queues.js").HivesDeadLetter[];
|
|
1193
|
+
}>;
|
|
1194
|
+
deadLetterStats: (project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<import("./hives-queues.js").HivesDeadLetterStats>;
|
|
1195
|
+
replay(project: string, id: string, message: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1196
|
+
message_id: string;
|
|
1197
|
+
replayed: 1;
|
|
1198
|
+
}>;
|
|
1199
|
+
deleteDeadLetter(project: string, id: string, message: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1200
|
+
deleted: true;
|
|
1201
|
+
}>;
|
|
1202
|
+
purgeDeadLetters(project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<{
|
|
1203
|
+
purged: number;
|
|
1204
|
+
}>;
|
|
1205
|
+
};
|
|
1206
|
+
runtimes: {
|
|
1207
|
+
list: (options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<{
|
|
1208
|
+
runtimes: import("./hives-runtimes.js").HivesRuntime[];
|
|
1209
|
+
}>;
|
|
1210
|
+
project: (project_id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<{
|
|
1211
|
+
runtimes: import("./hives-runtimes.js").HivesRuntime[];
|
|
1212
|
+
}>;
|
|
1213
|
+
get: (name: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<import("./hives-runtimes.js").HivesRuntime>;
|
|
1214
|
+
select: (input: {
|
|
1215
|
+
wasi: string;
|
|
1216
|
+
runner: string;
|
|
1217
|
+
artifact: string;
|
|
1218
|
+
}, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<import("./hives-runtimes.js").HivesRuntimeSelection>;
|
|
1219
|
+
};
|
|
1220
|
+
settings: {
|
|
1221
|
+
get: (project_id: string) => Promise<{
|
|
1222
|
+
autoDeployEnabled: boolean;
|
|
1223
|
+
buildCommand?: string | null;
|
|
1224
|
+
defaultRegion: string;
|
|
1225
|
+
installCommand?: string | null;
|
|
1226
|
+
outputDirectory?: string | null;
|
|
1227
|
+
previewDeploymentsEnabled: boolean;
|
|
1228
|
+
} & {
|
|
1229
|
+
capabilities: components["schemas"]["Hives.ProjectSettingsCapabilities"];
|
|
1230
|
+
effective: components["schemas"]["Hives.EffectiveProjectSettings"];
|
|
1231
|
+
}>;
|
|
1232
|
+
update: (project_id: string, body: In<"hives_update_project_settings">["body"]) => Promise<{
|
|
1233
|
+
autoDeployEnabled: boolean;
|
|
1234
|
+
buildCommand?: string | null;
|
|
1235
|
+
defaultRegion: string;
|
|
1236
|
+
installCommand?: string | null;
|
|
1237
|
+
outputDirectory?: string | null;
|
|
1238
|
+
previewDeploymentsEnabled: boolean;
|
|
1239
|
+
} & {
|
|
1240
|
+
capabilities: components["schemas"]["Hives.ProjectSettingsCapabilities"];
|
|
1241
|
+
effective: components["schemas"]["Hives.EffectiveProjectSettings"];
|
|
1242
|
+
}>;
|
|
1243
|
+
};
|
|
1244
|
+
crons: {
|
|
1245
|
+
list: (project_id: string, q?: Omit<In<"hives_list_crons">, "project_id">) => Promise<Record<string, never>>;
|
|
1246
|
+
get: (project_id: string, cron_id: string) => Promise<Record<string, never>>;
|
|
1247
|
+
create: (project_id: string, body: In<"hives_create_cron">["body"]) => Promise<Record<string, never>>;
|
|
1248
|
+
update: (project_id: string, cron_id: string, body: In<"hives_update_cron">["body"]) => Promise<Record<string, never>>;
|
|
1249
|
+
delete: (project_id: string, cron_id: string) => Promise<{
|
|
1250
|
+
id: string;
|
|
1251
|
+
message: string;
|
|
1252
|
+
success: boolean;
|
|
1253
|
+
}>;
|
|
1254
|
+
pause: (project_id: string, cron_id: string) => Promise<Record<string, never>>;
|
|
1255
|
+
resume: (project_id: string, cron_id: string) => Promise<Record<string, never>>;
|
|
1256
|
+
trigger: (project_id: string, cron_id: string) => Promise<unknown>;
|
|
1257
|
+
runs: (project_id: string, cron_id: string, q?: Omit<In<"hives_get_cron_runs">, "project_id" | "cron_id">) => Promise<{
|
|
1258
|
+
data: {
|
|
1259
|
+
duration_ms?: number | null;
|
|
1260
|
+
ended_at?: string | null;
|
|
1261
|
+
error?: string | null;
|
|
1262
|
+
id: string;
|
|
1263
|
+
logs_url?: string | null;
|
|
1264
|
+
started_at: string;
|
|
1265
|
+
status: string;
|
|
1266
|
+
}[];
|
|
1267
|
+
pagination: components["schemas"]["Hives.PaginationMeta"];
|
|
1268
|
+
}>;
|
|
1269
|
+
};
|
|
1270
|
+
metrics: {
|
|
1271
|
+
project: (project_id: string, q?: Omit<In<"hives_get_project_metrics">, "project_id">) => Promise<{
|
|
1272
|
+
active_deployments: number;
|
|
1273
|
+
avg_api_http_duration_ms?: number | null;
|
|
1274
|
+
avg_response_time_ms?: number | null;
|
|
1275
|
+
cron_executions?: number | null;
|
|
1276
|
+
data_transfer_bytes: number;
|
|
1277
|
+
error_count: number;
|
|
1278
|
+
error_rate?: number | null;
|
|
1279
|
+
function_invocations: number;
|
|
1280
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1281
|
+
observed_request_payload_bytes: number;
|
|
1282
|
+
observed_response_payload_bytes: number;
|
|
1283
|
+
p95_response_time_ms?: number | null;
|
|
1284
|
+
p99_response_time_ms?: number | null;
|
|
1285
|
+
project_id: string;
|
|
1286
|
+
storage_bytes?: number | null;
|
|
1287
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1288
|
+
total_requests: number;
|
|
1289
|
+
unique_visitors?: number | null;
|
|
1290
|
+
}>;
|
|
1291
|
+
dashboard: (project_id: string, q?: Omit<In<"hives_get_dashboard_metrics">, "project_id">) => Promise<{
|
|
1292
|
+
activeDeployments: number;
|
|
1293
|
+
avgApiHttpDurationMs?: number | null;
|
|
1294
|
+
avgLatencyMs?: number | null;
|
|
1295
|
+
deploymentsChange?: number | null;
|
|
1296
|
+
errorRate?: number | null;
|
|
1297
|
+
errorRateChange?: number | null;
|
|
1298
|
+
errorTimeSeries: components["schemas"]["Hives.MetricDataPoint"][];
|
|
1299
|
+
latencyChange?: number | null;
|
|
1300
|
+
latencyTimeSeries: components["schemas"]["Hives.MetricDataPoint"][];
|
|
1301
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1302
|
+
observedRequestPayloadBytes: number;
|
|
1303
|
+
observedResponsePayloadBytes: number;
|
|
1304
|
+
requestsChange?: number | null;
|
|
1305
|
+
requestsTimeSeries: components["schemas"]["Hives.MetricDataPoint"][];
|
|
1306
|
+
totalRequests: number;
|
|
1307
|
+
}>;
|
|
1308
|
+
requests: (project_id: string, q?: Omit<In<"hives_get_request_metrics">, "project_id">) => Promise<{
|
|
1309
|
+
aggregation: components["schemas"]["Hives.MetricAggregation"];
|
|
1310
|
+
data: components["schemas"]["Hives.MetricDataPoint"][];
|
|
1311
|
+
name: string;
|
|
1312
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1313
|
+
resolution_seconds: number;
|
|
1314
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1315
|
+
}>;
|
|
1316
|
+
latency: (project_id: string, q?: Omit<In<"hives_get_latency_metrics">, "project_id">) => Promise<{
|
|
1317
|
+
aggregation: components["schemas"]["Hives.MetricAggregation"];
|
|
1318
|
+
data: components["schemas"]["Hives.MetricDataPoint"][];
|
|
1319
|
+
name: string;
|
|
1320
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1321
|
+
resolution_seconds: number;
|
|
1322
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1323
|
+
}>;
|
|
1324
|
+
errors: (project_id: string, q?: Omit<In<"hives_get_error_metrics">, "project_id">) => Promise<{
|
|
1325
|
+
aggregation: components["schemas"]["Hives.MetricAggregation"];
|
|
1326
|
+
data: components["schemas"]["Hives.MetricDataPoint"][];
|
|
1327
|
+
name: string;
|
|
1328
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1329
|
+
resolution_seconds: number;
|
|
1330
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1331
|
+
}>;
|
|
1332
|
+
function: (project_id: string, function_id: string, q?: Omit<In<"hives_get_function_metrics">, "project_id" | "function_id">) => Promise<{
|
|
1333
|
+
avg_api_http_duration_ms?: number | null;
|
|
1334
|
+
avg_duration_ms?: number | null;
|
|
1335
|
+
billed_gb_seconds?: number | null;
|
|
1336
|
+
cold_starts?: number | null;
|
|
1337
|
+
configured_memory_limit_mb: number;
|
|
1338
|
+
failed_invocations: number;
|
|
1339
|
+
function_id: string;
|
|
1340
|
+
function_name: string;
|
|
1341
|
+
memory_mb?: number | null;
|
|
1342
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1343
|
+
observed_request_payload_bytes: number;
|
|
1344
|
+
observed_response_payload_bytes: number;
|
|
1345
|
+
p50_duration_ms?: number | null;
|
|
1346
|
+
p95_duration_ms?: number | null;
|
|
1347
|
+
p99_duration_ms?: number | null;
|
|
1348
|
+
success_rate?: number | null;
|
|
1349
|
+
successful_invocations: number;
|
|
1350
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1351
|
+
timeouts?: number | null;
|
|
1352
|
+
total_invocations: number;
|
|
1353
|
+
}>;
|
|
1354
|
+
invocations: (project_id: string, function_id: string, q?: Omit<In<"hives_get_function_invocations_series">, "project_id" | "function_id">) => Promise<{
|
|
1355
|
+
aggregation: components["schemas"]["Hives.MetricAggregation"];
|
|
1356
|
+
data: components["schemas"]["Hives.MetricDataPoint"][];
|
|
1357
|
+
name: string;
|
|
1358
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1359
|
+
resolution_seconds: number;
|
|
1360
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1361
|
+
}>;
|
|
1362
|
+
deployment: (project_id: string, deployment_id: string, q?: Omit<In<"hives_get_deployment_metrics">, "project_id" | "deployment_id">) => Promise<{
|
|
1363
|
+
active_instances?: number | null;
|
|
1364
|
+
avg_api_http_duration_ms?: number | null;
|
|
1365
|
+
avg_cpu_percent?: number | null;
|
|
1366
|
+
avg_memory_mb?: number | null;
|
|
1367
|
+
avg_response_time_ms?: number | null;
|
|
1368
|
+
deployment_id: string;
|
|
1369
|
+
error_count: number;
|
|
1370
|
+
error_rate?: number | null;
|
|
1371
|
+
max_instances?: number | null;
|
|
1372
|
+
min_instances?: number | null;
|
|
1373
|
+
network_in_bytes?: number | null;
|
|
1374
|
+
network_out_bytes?: number | null;
|
|
1375
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1376
|
+
observed_request_payload_bytes: number;
|
|
1377
|
+
observed_response_payload_bytes: number;
|
|
1378
|
+
p95_response_time_ms?: number | null;
|
|
1379
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1380
|
+
total_requests: number;
|
|
1381
|
+
}>;
|
|
1382
|
+
resources: (project_id: string, q?: Omit<In<"hives_get_resource_usage">, "project_id">) => Promise<{
|
|
1383
|
+
active_deployments: number;
|
|
1384
|
+
avg_api_http_duration_ms?: number | null;
|
|
1385
|
+
bandwidth_gb?: number | null;
|
|
1386
|
+
build_minutes?: number | null;
|
|
1387
|
+
compute_gb_seconds?: number | null;
|
|
1388
|
+
custom_domains: number;
|
|
1389
|
+
function_invocations: number;
|
|
1390
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1391
|
+
observed_request_payload_bytes: number;
|
|
1392
|
+
observed_response_payload_bytes: number;
|
|
1393
|
+
scheduled_jobs: number;
|
|
1394
|
+
ssl_certificates: number;
|
|
1395
|
+
storage_gb?: number | null;
|
|
1396
|
+
time_range: components["schemas"]["Hives.TimeRange"];
|
|
1397
|
+
}>;
|
|
1398
|
+
realtime: (project_id: string) => Promise<{
|
|
1399
|
+
active_connections?: number | null;
|
|
1400
|
+
avg_api_http_duration_ms?: number | null;
|
|
1401
|
+
avg_response_time_ms?: number | null;
|
|
1402
|
+
cpu_percent?: number | null;
|
|
1403
|
+
error_rate?: number | null;
|
|
1404
|
+
memory_percent?: number | null;
|
|
1405
|
+
observation: components["schemas"]["Hives.ObservationScope"];
|
|
1406
|
+
observed_request_payload_bytes: number;
|
|
1407
|
+
observed_response_payload_bytes: number;
|
|
1408
|
+
requests_per_second: number;
|
|
1409
|
+
updated_at: string;
|
|
1410
|
+
}>;
|
|
1411
|
+
};
|
|
736
1412
|
};
|
|
737
1413
|
readonly relays: {
|
|
738
1414
|
zones: {
|