@zocomputer/system-api 0.1.2 → 0.1.3
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/generate/types.js +12 -2
- package/dist/generated/catalog.js +89 -29
- package/dist/generated/manifest.json +81 -31
- package/dist/generated/operations.d.ts +1337 -35
- package/dist/generated/schema.json +7261 -1540
- package/openapi.json +7261 -1540
- package/package.json +1 -1
|
@@ -103,6 +103,12 @@ export interface ZoAgentCancelOutputV1 {
|
|
|
103
103
|
state: ("idle" | "cancelling");
|
|
104
104
|
}
|
|
105
105
|
export interface ZoAgentCreateInputV1 {
|
|
106
|
+
/**
|
|
107
|
+
* @maxItems 100
|
|
108
|
+
*
|
|
109
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
110
|
+
*/
|
|
111
|
+
tags?: string[];
|
|
106
112
|
workspace_id: string;
|
|
107
113
|
display_name: string;
|
|
108
114
|
/**
|
|
@@ -118,9 +124,13 @@ export interface ZoAgentCreateInputV1 {
|
|
|
118
124
|
*/
|
|
119
125
|
export interface ZoAgentCreateInputV1NativeConfiguration {
|
|
120
126
|
/**
|
|
121
|
-
*
|
|
127
|
+
* The model a new session starts with. Each session keeps its own choice after that.
|
|
122
128
|
*/
|
|
123
129
|
model: string;
|
|
130
|
+
/**
|
|
131
|
+
* The reasoning level a new session starts with, one the model's catalog offers; null for the model's default.
|
|
132
|
+
*/
|
|
133
|
+
reasoning?: (string | null);
|
|
124
134
|
/**
|
|
125
135
|
* The Agent's instructions.
|
|
126
136
|
*/
|
|
@@ -164,9 +174,13 @@ export interface ZoAgentCreateOutputV1 {
|
|
|
164
174
|
*/
|
|
165
175
|
export interface ZoAgentCreateOutputV1NativeConfiguration {
|
|
166
176
|
/**
|
|
167
|
-
*
|
|
177
|
+
* The model a new session starts with. Each session keeps its own choice after that.
|
|
168
178
|
*/
|
|
169
179
|
model: string;
|
|
180
|
+
/**
|
|
181
|
+
* The reasoning level a new session starts with, one the model's catalog offers; null for the model's default.
|
|
182
|
+
*/
|
|
183
|
+
reasoning?: (string | null);
|
|
170
184
|
/**
|
|
171
185
|
* The Agent's instructions.
|
|
172
186
|
*/
|
|
@@ -248,9 +262,13 @@ export interface ZoAgentGetOutputV1 {
|
|
|
248
262
|
*/
|
|
249
263
|
export interface ZoAgentGetOutputV1NativeConfiguration {
|
|
250
264
|
/**
|
|
251
|
-
*
|
|
265
|
+
* The model a new session starts with. Each session keeps its own choice after that.
|
|
252
266
|
*/
|
|
253
267
|
model: string;
|
|
268
|
+
/**
|
|
269
|
+
* The reasoning level a new session starts with, one the model's catalog offers; null for the model's default.
|
|
270
|
+
*/
|
|
271
|
+
reasoning?: (string | null);
|
|
254
272
|
/**
|
|
255
273
|
* The Agent's instructions.
|
|
256
274
|
*/
|
|
@@ -328,9 +346,13 @@ export interface ZoAgentListOutputV1Agent {
|
|
|
328
346
|
*/
|
|
329
347
|
export interface ZoAgentListOutputV1NativeConfiguration {
|
|
330
348
|
/**
|
|
331
|
-
*
|
|
349
|
+
* The model a new session starts with. Each session keeps its own choice after that.
|
|
332
350
|
*/
|
|
333
351
|
model: string;
|
|
352
|
+
/**
|
|
353
|
+
* The reasoning level a new session starts with, one the model's catalog offers; null for the model's default.
|
|
354
|
+
*/
|
|
355
|
+
reasoning?: (string | null);
|
|
334
356
|
/**
|
|
335
357
|
* The Agent's instructions.
|
|
336
358
|
*/
|
|
@@ -458,6 +480,14 @@ export interface ZoAgentListMessagesOutputV1MessageDelivery {
|
|
|
458
480
|
*/
|
|
459
481
|
outcome: (("completed" | "cancelled" | "interrupted" | "failed") | null);
|
|
460
482
|
outcome_reason: (string | null);
|
|
483
|
+
/**
|
|
484
|
+
* The model the message was admitted with: the one it named, else the session's.
|
|
485
|
+
*/
|
|
486
|
+
model: (string | null);
|
|
487
|
+
/**
|
|
488
|
+
* The reasoning level the message was admitted with; null for the model's default.
|
|
489
|
+
*/
|
|
490
|
+
reasoning: (string | null);
|
|
461
491
|
}
|
|
462
492
|
export interface ZoAgentListMessagesQueryV1 {
|
|
463
493
|
/**
|
|
@@ -484,6 +514,14 @@ export interface ZoAgentSendInputV1 {
|
|
|
484
514
|
* How the message affects work already running in the session: wait behind it, join it, or stop it.
|
|
485
515
|
*/
|
|
486
516
|
priority?: ("queue" | "steer" | "interrupt");
|
|
517
|
+
/**
|
|
518
|
+
* Make this the session's model, from the turn this message starts; a steer that joins a running turn changes the next one. Omit to keep the session's choice.
|
|
519
|
+
*/
|
|
520
|
+
model?: (string | null);
|
|
521
|
+
/**
|
|
522
|
+
* The model's reasoning level; null for the model's default. Requires model.
|
|
523
|
+
*/
|
|
524
|
+
reasoning?: (string | null);
|
|
487
525
|
}
|
|
488
526
|
export interface ZoAgentSendInputV1TextBlock {
|
|
489
527
|
type: "text";
|
|
@@ -544,9 +582,13 @@ export interface ZoAgentUpdateInputV1 {
|
|
|
544
582
|
*/
|
|
545
583
|
export interface ZoAgentUpdateInputV1NativeConfiguration {
|
|
546
584
|
/**
|
|
547
|
-
*
|
|
585
|
+
* The model a new session starts with. Each session keeps its own choice after that.
|
|
548
586
|
*/
|
|
549
587
|
model: string;
|
|
588
|
+
/**
|
|
589
|
+
* The reasoning level a new session starts with, one the model's catalog offers; null for the model's default.
|
|
590
|
+
*/
|
|
591
|
+
reasoning?: (string | null);
|
|
550
592
|
/**
|
|
551
593
|
* The Agent's instructions.
|
|
552
594
|
*/
|
|
@@ -590,9 +632,13 @@ export interface ZoAgentUpdateOutputV1 {
|
|
|
590
632
|
*/
|
|
591
633
|
export interface ZoAgentUpdateOutputV1NativeConfiguration {
|
|
592
634
|
/**
|
|
593
|
-
*
|
|
635
|
+
* The model a new session starts with. Each session keeps its own choice after that.
|
|
594
636
|
*/
|
|
595
637
|
model: string;
|
|
638
|
+
/**
|
|
639
|
+
* The reasoning level a new session starts with, one the model's catalog offers; null for the model's default.
|
|
640
|
+
*/
|
|
641
|
+
reasoning?: (string | null);
|
|
596
642
|
/**
|
|
597
643
|
* The Agent's instructions.
|
|
598
644
|
*/
|
|
@@ -651,6 +697,14 @@ export interface ZoAgentSessionGetOutputV1 {
|
|
|
651
697
|
* When the session's newest message or event was delivered to it; created_at when it has none.
|
|
652
698
|
*/
|
|
653
699
|
last_activity_at: string;
|
|
700
|
+
/**
|
|
701
|
+
* The model the session's next inputs run with.
|
|
702
|
+
*/
|
|
703
|
+
model: string;
|
|
704
|
+
/**
|
|
705
|
+
* The reasoning level the session's next inputs run with; null for the model's default.
|
|
706
|
+
*/
|
|
707
|
+
reasoning: (string | null);
|
|
654
708
|
/**
|
|
655
709
|
* Server-sent events of the session's history, then its live output, read with the same Bearer credential. Authorized as zo.agent_session.history.
|
|
656
710
|
*/
|
|
@@ -709,6 +763,14 @@ export interface ZoAgentSessionListOutputV1AgentSession {
|
|
|
709
763
|
* When the session's newest message or event was delivered to it; created_at when it has none.
|
|
710
764
|
*/
|
|
711
765
|
last_activity_at: string;
|
|
766
|
+
/**
|
|
767
|
+
* The model the session's next inputs run with.
|
|
768
|
+
*/
|
|
769
|
+
model: string;
|
|
770
|
+
/**
|
|
771
|
+
* The reasoning level the session's next inputs run with; null for the model's default.
|
|
772
|
+
*/
|
|
773
|
+
reasoning: (string | null);
|
|
712
774
|
}
|
|
713
775
|
export interface ZoAgentSessionListQueryV1 {
|
|
714
776
|
/**
|
|
@@ -741,6 +803,14 @@ export interface ZoAgentSessionListWorkspaceOutputV1AgentSession {
|
|
|
741
803
|
* When the session's newest message or event was delivered to it; created_at when it has none.
|
|
742
804
|
*/
|
|
743
805
|
last_activity_at: string;
|
|
806
|
+
/**
|
|
807
|
+
* The model the session's next inputs run with.
|
|
808
|
+
*/
|
|
809
|
+
model: string;
|
|
810
|
+
/**
|
|
811
|
+
* The reasoning level the session's next inputs run with; null for the model's default.
|
|
812
|
+
*/
|
|
813
|
+
reasoning: (string | null);
|
|
744
814
|
}
|
|
745
815
|
export interface ZoAgentSessionListWorkspaceQueryV1 {
|
|
746
816
|
/**
|
|
@@ -759,6 +829,298 @@ export interface ZoAgentSessionListWorkspaceQueryV1 {
|
|
|
759
829
|
agent_id?: (string | null);
|
|
760
830
|
};
|
|
761
831
|
}
|
|
832
|
+
export interface ZoBillingListRatesInputV1 {
|
|
833
|
+
workspace_id: string;
|
|
834
|
+
}
|
|
835
|
+
export interface ZoBillingListRatesOutputV1 {
|
|
836
|
+
workspace_id: string;
|
|
837
|
+
observed_at: string;
|
|
838
|
+
rates: ZoBillingListRatesOutputV1BillingRate[];
|
|
839
|
+
next_cursor: (string | null);
|
|
840
|
+
}
|
|
841
|
+
export interface ZoBillingListRatesOutputV1BillingRate {
|
|
842
|
+
/**
|
|
843
|
+
* Current catalog key; not an immutable historical price identifier.
|
|
844
|
+
*/
|
|
845
|
+
rate_key: string;
|
|
846
|
+
product: string;
|
|
847
|
+
meter: string;
|
|
848
|
+
price: ZoBillingListRatesOutputV1AppliedPrice;
|
|
849
|
+
model_id?: (string | null);
|
|
850
|
+
tool_name?: (string | null);
|
|
851
|
+
provider?: (string | null);
|
|
852
|
+
sku?: (string | null);
|
|
853
|
+
resource_kind?: (string | null);
|
|
854
|
+
conditions?: ZoBillingListRatesOutputV1RateConditions;
|
|
855
|
+
promotional_end?: (string | null);
|
|
856
|
+
applicability?: ("active" | "no_usage_feed");
|
|
857
|
+
}
|
|
858
|
+
export interface ZoBillingListRatesOutputV1AppliedPrice {
|
|
859
|
+
amount: string;
|
|
860
|
+
currency?: "USD";
|
|
861
|
+
per: ZoBillingListRatesOutputV1BillingQuantity;
|
|
862
|
+
tariff_version?: (string | null);
|
|
863
|
+
usage_price_multiplier?: (string | null);
|
|
864
|
+
}
|
|
865
|
+
export interface ZoBillingListRatesOutputV1BillingQuantity {
|
|
866
|
+
amount: string;
|
|
867
|
+
unit: string;
|
|
868
|
+
}
|
|
869
|
+
export interface ZoBillingListRatesOutputV1RateConditions {
|
|
870
|
+
/**
|
|
871
|
+
* Inclusive request-size lower bound.
|
|
872
|
+
*/
|
|
873
|
+
request_input_tokens_min?: (number | null);
|
|
874
|
+
/**
|
|
875
|
+
* Exclusive request-size upper bound.
|
|
876
|
+
*/
|
|
877
|
+
request_input_tokens_max?: (number | null);
|
|
878
|
+
/**
|
|
879
|
+
* The matching tier prices the whole request.
|
|
880
|
+
*/
|
|
881
|
+
whole_request?: boolean;
|
|
882
|
+
operation?: (string | null);
|
|
883
|
+
resolution?: (string | null);
|
|
884
|
+
quality?: (string | null);
|
|
885
|
+
duration_seconds?: (string | null);
|
|
886
|
+
quantity_min?: (string | null);
|
|
887
|
+
quantity_max?: (string | null);
|
|
888
|
+
included_quantity?: (string | null);
|
|
889
|
+
default_quantity?: (string | null);
|
|
890
|
+
quantity_argument?: (string | null);
|
|
891
|
+
selector?: {
|
|
892
|
+
[k: string]: JsonValue;
|
|
893
|
+
};
|
|
894
|
+
rounding?: ("none" | "ceil_step");
|
|
895
|
+
}
|
|
896
|
+
export interface ZoBillingListRatesQueryV1 {
|
|
897
|
+
/**
|
|
898
|
+
* Rows per page, at most 200; a larger value is reduced to it.
|
|
899
|
+
*/
|
|
900
|
+
limit?: number;
|
|
901
|
+
/**
|
|
902
|
+
* The previous page's next_cursor, sent with the same sort, filter and search.
|
|
903
|
+
*/
|
|
904
|
+
cursor?: string;
|
|
905
|
+
sort?: "rate_key.asc";
|
|
906
|
+
filter?: {
|
|
907
|
+
product?: (string | null);
|
|
908
|
+
meter?: (string | null);
|
|
909
|
+
model_id?: (string | null);
|
|
910
|
+
tool_name?: (string | null);
|
|
911
|
+
provider?: (string | null);
|
|
912
|
+
sku?: (string | null);
|
|
913
|
+
};
|
|
914
|
+
}
|
|
915
|
+
export interface ZoBillingListUsageEntriesInputV1 {
|
|
916
|
+
workspace_id: string;
|
|
917
|
+
period: ZoBillingListUsageEntriesInputV1BillingPeriod;
|
|
918
|
+
}
|
|
919
|
+
export interface ZoBillingListUsageEntriesInputV1BillingPeriod {
|
|
920
|
+
/**
|
|
921
|
+
* An ISO 8601 timestamp with a time zone.
|
|
922
|
+
*/
|
|
923
|
+
start: string;
|
|
924
|
+
/**
|
|
925
|
+
* An ISO 8601 timestamp with a time zone.
|
|
926
|
+
*/
|
|
927
|
+
end: string;
|
|
928
|
+
}
|
|
929
|
+
export interface ZoBillingListUsageEntriesOutputV1 {
|
|
930
|
+
workspace_id: string;
|
|
931
|
+
period: ZoBillingListUsageEntriesOutputV1BillingPeriod;
|
|
932
|
+
history_mode?: "forward_only";
|
|
933
|
+
observed_at: string;
|
|
934
|
+
entries: ZoBillingListUsageEntriesOutputV1UsageEntry[];
|
|
935
|
+
next_cursor: (string | null);
|
|
936
|
+
}
|
|
937
|
+
export interface ZoBillingListUsageEntriesOutputV1BillingPeriod {
|
|
938
|
+
/**
|
|
939
|
+
* An ISO 8601 timestamp with a time zone.
|
|
940
|
+
*/
|
|
941
|
+
start: string;
|
|
942
|
+
/**
|
|
943
|
+
* An ISO 8601 timestamp with a time zone.
|
|
944
|
+
*/
|
|
945
|
+
end: string;
|
|
946
|
+
}
|
|
947
|
+
export interface ZoBillingListUsageEntriesOutputV1UsageEntry {
|
|
948
|
+
id: string;
|
|
949
|
+
usage_id: string;
|
|
950
|
+
product: string;
|
|
951
|
+
meter: string;
|
|
952
|
+
quantity: ZoBillingListUsageEntriesOutputV1BillingQuantity;
|
|
953
|
+
cost: ZoBillingListUsageEntriesOutputV1BillingMoney;
|
|
954
|
+
/**
|
|
955
|
+
* Null for an explicit occurrence rounding adjustment.
|
|
956
|
+
*/
|
|
957
|
+
applied_price: (ZoBillingListUsageEntriesOutputV1AppliedPrice | null);
|
|
958
|
+
occurred_at: string;
|
|
959
|
+
recorded_at: string;
|
|
960
|
+
interval_start: (string | null);
|
|
961
|
+
interval_end: (string | null);
|
|
962
|
+
attribution: ZoBillingListUsageEntriesOutputV1UsageAttribution;
|
|
963
|
+
correction_of_entry_id: (string | null);
|
|
964
|
+
correction_of_usage_id: (string | null);
|
|
965
|
+
}
|
|
966
|
+
export interface ZoBillingListUsageEntriesOutputV1BillingQuantity {
|
|
967
|
+
amount: string;
|
|
968
|
+
unit: string;
|
|
969
|
+
}
|
|
970
|
+
export interface ZoBillingListUsageEntriesOutputV1BillingMoney {
|
|
971
|
+
amount: string;
|
|
972
|
+
currency?: "USD";
|
|
973
|
+
}
|
|
974
|
+
export interface ZoBillingListUsageEntriesOutputV1AppliedPrice {
|
|
975
|
+
amount: string;
|
|
976
|
+
currency?: "USD";
|
|
977
|
+
per: ZoBillingListUsageEntriesOutputV1BillingQuantity;
|
|
978
|
+
tariff_version?: (string | null);
|
|
979
|
+
usage_price_multiplier?: (string | null);
|
|
980
|
+
}
|
|
981
|
+
export interface ZoBillingListUsageEntriesOutputV1UsageAttribution {
|
|
982
|
+
model_id?: (string | null);
|
|
983
|
+
resource_id?: (string | null);
|
|
984
|
+
/**
|
|
985
|
+
* Current name, including protected resources; null if unavailable.
|
|
986
|
+
*/
|
|
987
|
+
resource_name?: (string | null);
|
|
988
|
+
agent_id?: (string | null);
|
|
989
|
+
agent_session_id?: (string | null);
|
|
990
|
+
agent_session_name?: (string | null);
|
|
991
|
+
turn_id?: (string | null);
|
|
992
|
+
host_id?: (string | null);
|
|
993
|
+
conversation_id?: (string | null);
|
|
994
|
+
run_id?: (string | null);
|
|
995
|
+
tool_call_id?: (string | null);
|
|
996
|
+
tool_name?: (string | null);
|
|
997
|
+
provider?: (string | null);
|
|
998
|
+
sku?: (string | null);
|
|
999
|
+
bucket?: (string | null);
|
|
1000
|
+
operation?: (string | null);
|
|
1001
|
+
attribution_kind?: (string | null);
|
|
1002
|
+
provider_request_id?: (string | null);
|
|
1003
|
+
catalog_revision?: (string | null);
|
|
1004
|
+
gpu_type?: (string | null);
|
|
1005
|
+
storage_component?: (string | null);
|
|
1006
|
+
billing_model_slug?: (string | null);
|
|
1007
|
+
output_count?: (number | null);
|
|
1008
|
+
}
|
|
1009
|
+
export interface ZoBillingListUsageEntriesQueryV1 {
|
|
1010
|
+
/**
|
|
1011
|
+
* Rows per page, at most 200; a larger value is reduced to it.
|
|
1012
|
+
*/
|
|
1013
|
+
limit?: number;
|
|
1014
|
+
/**
|
|
1015
|
+
* The previous page's next_cursor, sent with the same sort, filter and search.
|
|
1016
|
+
*/
|
|
1017
|
+
cursor?: string;
|
|
1018
|
+
sort?: ("occurred_at.desc" | "occurred_at.asc");
|
|
1019
|
+
filter?: {
|
|
1020
|
+
product?: (string | null);
|
|
1021
|
+
meter?: (string | null);
|
|
1022
|
+
model_id?: (string | null);
|
|
1023
|
+
resource_id?: (string | null);
|
|
1024
|
+
agent_id?: (string | null);
|
|
1025
|
+
agent_session_id?: (string | null);
|
|
1026
|
+
turn_id?: (string | null);
|
|
1027
|
+
usage_id?: (string | null);
|
|
1028
|
+
};
|
|
1029
|
+
}
|
|
1030
|
+
export interface ZoBillingSummarizeUsageInputV1 {
|
|
1031
|
+
workspace_id: string;
|
|
1032
|
+
period: ZoBillingSummarizeUsageInputV1BillingPeriod;
|
|
1033
|
+
/**
|
|
1034
|
+
* @maxItems 4
|
|
1035
|
+
*/
|
|
1036
|
+
group_by?: [] | [("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id")] | [("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id"), ("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id")] | [("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id"), ("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id"), ("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id")] | [("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id"), ("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id"), ("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id"), ("product" | "meter" | "model_id" | "resource_id" | "agent_id" | "agent_session_id" | "turn_id" | "usage_id")];
|
|
1037
|
+
/**
|
|
1038
|
+
* Add UTC calendar-day buckets to each group.
|
|
1039
|
+
*/
|
|
1040
|
+
daily?: boolean;
|
|
1041
|
+
}
|
|
1042
|
+
export interface ZoBillingSummarizeUsageInputV1BillingPeriod {
|
|
1043
|
+
/**
|
|
1044
|
+
* An ISO 8601 timestamp with a time zone.
|
|
1045
|
+
*/
|
|
1046
|
+
start: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* An ISO 8601 timestamp with a time zone.
|
|
1049
|
+
*/
|
|
1050
|
+
end: string;
|
|
1051
|
+
}
|
|
1052
|
+
export interface ZoBillingSummarizeUsageOutputV1 {
|
|
1053
|
+
workspace_id: string;
|
|
1054
|
+
period: ZoBillingSummarizeUsageOutputV1BillingPeriod;
|
|
1055
|
+
history_mode?: "forward_only";
|
|
1056
|
+
observed_at: string;
|
|
1057
|
+
recorded_cost: ZoBillingSummarizeUsageOutputV1BillingMoney;
|
|
1058
|
+
entry_count: number;
|
|
1059
|
+
groups: ZoBillingSummarizeUsageOutputV1UsageGroup[];
|
|
1060
|
+
next_cursor: (string | null);
|
|
1061
|
+
}
|
|
1062
|
+
export interface ZoBillingSummarizeUsageOutputV1BillingPeriod {
|
|
1063
|
+
/**
|
|
1064
|
+
* An ISO 8601 timestamp with a time zone.
|
|
1065
|
+
*/
|
|
1066
|
+
start: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* An ISO 8601 timestamp with a time zone.
|
|
1069
|
+
*/
|
|
1070
|
+
end: string;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Signed cost over every matching recorded entry, across all pages.
|
|
1074
|
+
*/
|
|
1075
|
+
export interface ZoBillingSummarizeUsageOutputV1BillingMoney {
|
|
1076
|
+
amount: string;
|
|
1077
|
+
currency?: "USD";
|
|
1078
|
+
}
|
|
1079
|
+
export interface ZoBillingSummarizeUsageOutputV1UsageGroup {
|
|
1080
|
+
/**
|
|
1081
|
+
* Stable opaque ordering key for this combination of dimensions and UTC day.
|
|
1082
|
+
*/
|
|
1083
|
+
key: string;
|
|
1084
|
+
dimensions: ZoBillingSummarizeUsageOutputV1UsageFilter;
|
|
1085
|
+
day: (string | null);
|
|
1086
|
+
recorded_cost: ZoBillingSummarizeUsageOutputV1BillingMoney1;
|
|
1087
|
+
entry_count: number;
|
|
1088
|
+
}
|
|
1089
|
+
export interface ZoBillingSummarizeUsageOutputV1UsageFilter {
|
|
1090
|
+
product?: (string | null);
|
|
1091
|
+
meter?: (string | null);
|
|
1092
|
+
model_id?: (string | null);
|
|
1093
|
+
resource_id?: (string | null);
|
|
1094
|
+
agent_id?: (string | null);
|
|
1095
|
+
agent_session_id?: (string | null);
|
|
1096
|
+
turn_id?: (string | null);
|
|
1097
|
+
usage_id?: (string | null);
|
|
1098
|
+
}
|
|
1099
|
+
export interface ZoBillingSummarizeUsageOutputV1BillingMoney1 {
|
|
1100
|
+
amount: string;
|
|
1101
|
+
currency?: "USD";
|
|
1102
|
+
}
|
|
1103
|
+
export interface ZoBillingSummarizeUsageQueryV1 {
|
|
1104
|
+
/**
|
|
1105
|
+
* Rows per page, at most 200; a larger value is reduced to it.
|
|
1106
|
+
*/
|
|
1107
|
+
limit?: number;
|
|
1108
|
+
/**
|
|
1109
|
+
* The previous page's next_cursor, sent with the same sort, filter and search.
|
|
1110
|
+
*/
|
|
1111
|
+
cursor?: string;
|
|
1112
|
+
sort?: "key.asc";
|
|
1113
|
+
filter?: {
|
|
1114
|
+
product?: (string | null);
|
|
1115
|
+
meter?: (string | null);
|
|
1116
|
+
model_id?: (string | null);
|
|
1117
|
+
resource_id?: (string | null);
|
|
1118
|
+
agent_id?: (string | null);
|
|
1119
|
+
agent_session_id?: (string | null);
|
|
1120
|
+
turn_id?: (string | null);
|
|
1121
|
+
usage_id?: (string | null);
|
|
1122
|
+
};
|
|
1123
|
+
}
|
|
762
1124
|
export interface ZoConnectionAuthorizeInputV1 {
|
|
763
1125
|
connection_id: string;
|
|
764
1126
|
expected_revision: number;
|
|
@@ -800,6 +1162,12 @@ export interface ZoConnectionAuthorizeOutputV1KeyAttached {
|
|
|
800
1162
|
revision: number;
|
|
801
1163
|
}
|
|
802
1164
|
export interface ZoConnectionCreateInputV1 {
|
|
1165
|
+
/**
|
|
1166
|
+
* @maxItems 100
|
|
1167
|
+
*
|
|
1168
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
1169
|
+
*/
|
|
1170
|
+
tags?: string[];
|
|
803
1171
|
workspace_id: string;
|
|
804
1172
|
/**
|
|
805
1173
|
* The published definition to connect to. Give it, or `values`, not both.
|
|
@@ -1101,6 +1469,12 @@ export interface ZoConnectionDefinitionPublishOutputV1 {
|
|
|
1101
1469
|
visibility: string;
|
|
1102
1470
|
}
|
|
1103
1471
|
export interface ZoDatabaseCreateInputV1 {
|
|
1472
|
+
/**
|
|
1473
|
+
* @maxItems 100
|
|
1474
|
+
*
|
|
1475
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
1476
|
+
*/
|
|
1477
|
+
tags?: string[];
|
|
1104
1478
|
workspace_id: string;
|
|
1105
1479
|
/**
|
|
1106
1480
|
* Required but ignored: a retried create can make a second database.
|
|
@@ -1813,6 +2187,12 @@ export interface ZoDatabaseUpdateOutputV1DatabaseStorage {
|
|
|
1813
2187
|
* ``subject_type`` is the resource type an occurrence's ``subject`` names.
|
|
1814
2188
|
*/
|
|
1815
2189
|
export interface ZoEventCreateInputV1 {
|
|
2190
|
+
/**
|
|
2191
|
+
* @maxItems 100
|
|
2192
|
+
*
|
|
2193
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
2194
|
+
*/
|
|
2195
|
+
tags?: string[];
|
|
1816
2196
|
workspace_id: string;
|
|
1817
2197
|
publisher: string;
|
|
1818
2198
|
name: string;
|
|
@@ -1865,6 +2245,12 @@ export interface ZoEventCreateOutputV1EventProperties {
|
|
|
1865
2245
|
* to, which ``per_conversation`` Agent subscriptions key sessions by.
|
|
1866
2246
|
*/
|
|
1867
2247
|
export interface ZoEventCreateInputV2 {
|
|
2248
|
+
/**
|
|
2249
|
+
* @maxItems 100
|
|
2250
|
+
*
|
|
2251
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
2252
|
+
*/
|
|
2253
|
+
tags?: string[];
|
|
1868
2254
|
workspace_id: string;
|
|
1869
2255
|
publisher: string;
|
|
1870
2256
|
name: string;
|
|
@@ -2467,6 +2853,34 @@ export interface ZoFunctionPublishContractOutputV1 {
|
|
|
2467
2853
|
contract_version: number;
|
|
2468
2854
|
digest: string;
|
|
2469
2855
|
}
|
|
2856
|
+
/**
|
|
2857
|
+
* Omitted fields keep their value.
|
|
2858
|
+
*/
|
|
2859
|
+
export interface ZoFunctionUpdateInputV1 {
|
|
2860
|
+
function_id: string;
|
|
2861
|
+
expected_revision: number;
|
|
2862
|
+
display_name?: (string | null);
|
|
2863
|
+
/**
|
|
2864
|
+
* "" clears the description.
|
|
2865
|
+
*/
|
|
2866
|
+
description?: (string | null);
|
|
2867
|
+
}
|
|
2868
|
+
export interface ZoFunctionUpdateOutputV1 {
|
|
2869
|
+
id: string;
|
|
2870
|
+
workspace_id: string;
|
|
2871
|
+
type: "function";
|
|
2872
|
+
type_version: number;
|
|
2873
|
+
display_name: string;
|
|
2874
|
+
description: string;
|
|
2875
|
+
revision: number;
|
|
2876
|
+
properties: ZoFunctionUpdateOutputV1FunctionProperties;
|
|
2877
|
+
active_deployment_id: (string | null);
|
|
2878
|
+
visibility: ("workspace" | "protected");
|
|
2879
|
+
owner_user_id: (string | null);
|
|
2880
|
+
}
|
|
2881
|
+
export interface ZoFunctionUpdateOutputV1FunctionProperties {
|
|
2882
|
+
code_owner: ("zo" | "workspace");
|
|
2883
|
+
}
|
|
2470
2884
|
export interface ZoMachineApplyPatchInputV1 {
|
|
2471
2885
|
machine_id: string;
|
|
2472
2886
|
path: string;
|
|
@@ -2490,6 +2904,12 @@ export interface ZoMachineApplyPatchOutputV1 {
|
|
|
2490
2904
|
}
|
|
2491
2905
|
export type ZoMachineCreateInputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
|
|
2492
2906
|
export interface ZoMachineCreateInputV1 {
|
|
2907
|
+
/**
|
|
2908
|
+
* @maxItems 100
|
|
2909
|
+
*
|
|
2910
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
2911
|
+
*/
|
|
2912
|
+
tags?: string[];
|
|
2493
2913
|
workspace_id: string;
|
|
2494
2914
|
idempotency_key: string;
|
|
2495
2915
|
display_name: string;
|
|
@@ -2521,6 +2941,12 @@ export interface ZoMachineCreateInputV1 {
|
|
|
2521
2941
|
* @maxItems 100
|
|
2522
2942
|
*/
|
|
2523
2943
|
credentials?: string[];
|
|
2944
|
+
/**
|
|
2945
|
+
* Header rules: on HTTPS requests from the machine to a rule's hosts, Zo sets a header built from a connection's credential, and the credential never enters the machine. A rule names the connection (`credential`) and one of its definition's slots (`slot`). With only those two, it uses the hosts, header and format the slot declares in its `injections`. It may give its own `hosts`, `location` and `format`, all three together, only for a slot that declares an `environment_variable`. Formats: `bearer` (`Bearer <value>`), `basic` with a `username` (`Basic` with base64 of `<username>:<value>`) and `raw` (the value as stored). A rule sets its header only while the machine holds a use grant on the connection. Two rules can't set the same header on the same host, and all rules together set at most 25 header values. Requests to a host with a rule use HTTP/1.1.
|
|
2946
|
+
*
|
|
2947
|
+
* @maxItems 25
|
|
2948
|
+
*/
|
|
2949
|
+
outbound_network_policies?: ZoMachineCreateInputV1OutboundNetworkPolicy[];
|
|
2524
2950
|
/**
|
|
2525
2951
|
* `workspace` (default): every member can see and use it. `protected`: only you, and whoever you share it with; workspace-wide grants don't reach it. Fixed at creation.
|
|
2526
2952
|
*/
|
|
@@ -2551,6 +2977,48 @@ export interface ZoMachineCreateInputV1MachineLifecycleInput {
|
|
|
2551
2977
|
idle_timeout_seconds?: (number | null);
|
|
2552
2978
|
max_run_seconds: number;
|
|
2553
2979
|
}
|
|
2980
|
+
/**
|
|
2981
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
2982
|
+
*/
|
|
2983
|
+
export interface ZoMachineCreateInputV1OutboundNetworkPolicy {
|
|
2984
|
+
/**
|
|
2985
|
+
* The connection ID.
|
|
2986
|
+
*/
|
|
2987
|
+
credential: string;
|
|
2988
|
+
/**
|
|
2989
|
+
* The connection definition's slot, by name.
|
|
2990
|
+
*/
|
|
2991
|
+
slot: string;
|
|
2992
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
2993
|
+
location?: (ZoMachineCreateInputV1HeaderLocation | null);
|
|
2994
|
+
format?: ((ZoMachineCreateInputV1BearerFormat | ZoMachineCreateInputV1BasicFormat | ZoMachineCreateInputV1RawFormat) | null);
|
|
2995
|
+
}
|
|
2996
|
+
export interface ZoMachineCreateInputV1HeaderLocation {
|
|
2997
|
+
type: "header";
|
|
2998
|
+
/**
|
|
2999
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
3000
|
+
*/
|
|
3001
|
+
name: string;
|
|
3002
|
+
}
|
|
3003
|
+
export interface ZoMachineCreateInputV1BearerFormat {
|
|
3004
|
+
/**
|
|
3005
|
+
* `Bearer <value>`.
|
|
3006
|
+
*/
|
|
3007
|
+
type: "bearer";
|
|
3008
|
+
}
|
|
3009
|
+
export interface ZoMachineCreateInputV1BasicFormat {
|
|
3010
|
+
/**
|
|
3011
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
3012
|
+
*/
|
|
3013
|
+
type: "basic";
|
|
3014
|
+
username: string;
|
|
3015
|
+
}
|
|
3016
|
+
export interface ZoMachineCreateInputV1RawFormat {
|
|
3017
|
+
/**
|
|
3018
|
+
* The value as it is.
|
|
3019
|
+
*/
|
|
3020
|
+
type: "raw";
|
|
3021
|
+
}
|
|
2554
3022
|
export type ZoMachineCreateOutputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
|
|
2555
3023
|
export type ZoMachineCreateOutputV1ObservedState = ("creating" | "running" | "stopping" | "stopped" | "resuming" | "destroying" | "destroyed" | "failed");
|
|
2556
3024
|
/**
|
|
@@ -2604,11 +3072,54 @@ export interface ZoMachineCreateOutputV1MachineProperties {
|
|
|
2604
3072
|
[k: string]: string;
|
|
2605
3073
|
} | null);
|
|
2606
3074
|
credentials?: (string[] | null);
|
|
3075
|
+
outbound_network_policies?: (ZoMachineCreateOutputV1OutboundNetworkPolicy[] | null);
|
|
2607
3076
|
}
|
|
2608
3077
|
export interface ZoMachineCreateOutputV1MachineGpu {
|
|
2609
3078
|
type: ZoMachineCreateOutputV1GpuType;
|
|
2610
3079
|
count: number;
|
|
2611
3080
|
}
|
|
3081
|
+
/**
|
|
3082
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
3083
|
+
*/
|
|
3084
|
+
export interface ZoMachineCreateOutputV1OutboundNetworkPolicy {
|
|
3085
|
+
/**
|
|
3086
|
+
* The connection ID.
|
|
3087
|
+
*/
|
|
3088
|
+
credential: string;
|
|
3089
|
+
/**
|
|
3090
|
+
* The connection definition's slot, by name.
|
|
3091
|
+
*/
|
|
3092
|
+
slot: string;
|
|
3093
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
3094
|
+
location?: (ZoMachineCreateOutputV1HeaderLocation | null);
|
|
3095
|
+
format?: ((ZoMachineCreateOutputV1BearerFormat | ZoMachineCreateOutputV1BasicFormat | ZoMachineCreateOutputV1RawFormat) | null);
|
|
3096
|
+
}
|
|
3097
|
+
export interface ZoMachineCreateOutputV1HeaderLocation {
|
|
3098
|
+
type: "header";
|
|
3099
|
+
/**
|
|
3100
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
3101
|
+
*/
|
|
3102
|
+
name: string;
|
|
3103
|
+
}
|
|
3104
|
+
export interface ZoMachineCreateOutputV1BearerFormat {
|
|
3105
|
+
/**
|
|
3106
|
+
* `Bearer <value>`.
|
|
3107
|
+
*/
|
|
3108
|
+
type: "bearer";
|
|
3109
|
+
}
|
|
3110
|
+
export interface ZoMachineCreateOutputV1BasicFormat {
|
|
3111
|
+
/**
|
|
3112
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
3113
|
+
*/
|
|
3114
|
+
type: "basic";
|
|
3115
|
+
username: string;
|
|
3116
|
+
}
|
|
3117
|
+
export interface ZoMachineCreateOutputV1RawFormat {
|
|
3118
|
+
/**
|
|
3119
|
+
* The value as it is.
|
|
3120
|
+
*/
|
|
3121
|
+
type: "raw";
|
|
3122
|
+
}
|
|
2612
3123
|
export interface ZoMachineCreateOutputV1MachineBootedView {
|
|
2613
3124
|
init: ("none" | "image");
|
|
2614
3125
|
command: (string[] | null);
|
|
@@ -2671,11 +3182,54 @@ export interface ZoMachineDestroyOutputV1MachineProperties {
|
|
|
2671
3182
|
[k: string]: string;
|
|
2672
3183
|
} | null);
|
|
2673
3184
|
credentials?: (string[] | null);
|
|
3185
|
+
outbound_network_policies?: (ZoMachineDestroyOutputV1OutboundNetworkPolicy[] | null);
|
|
2674
3186
|
}
|
|
2675
3187
|
export interface ZoMachineDestroyOutputV1MachineGpu {
|
|
2676
3188
|
type: ZoMachineDestroyOutputV1GpuType;
|
|
2677
3189
|
count: number;
|
|
2678
3190
|
}
|
|
3191
|
+
/**
|
|
3192
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
3193
|
+
*/
|
|
3194
|
+
export interface ZoMachineDestroyOutputV1OutboundNetworkPolicy {
|
|
3195
|
+
/**
|
|
3196
|
+
* The connection ID.
|
|
3197
|
+
*/
|
|
3198
|
+
credential: string;
|
|
3199
|
+
/**
|
|
3200
|
+
* The connection definition's slot, by name.
|
|
3201
|
+
*/
|
|
3202
|
+
slot: string;
|
|
3203
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
3204
|
+
location?: (ZoMachineDestroyOutputV1HeaderLocation | null);
|
|
3205
|
+
format?: ((ZoMachineDestroyOutputV1BearerFormat | ZoMachineDestroyOutputV1BasicFormat | ZoMachineDestroyOutputV1RawFormat) | null);
|
|
3206
|
+
}
|
|
3207
|
+
export interface ZoMachineDestroyOutputV1HeaderLocation {
|
|
3208
|
+
type: "header";
|
|
3209
|
+
/**
|
|
3210
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
3211
|
+
*/
|
|
3212
|
+
name: string;
|
|
3213
|
+
}
|
|
3214
|
+
export interface ZoMachineDestroyOutputV1BearerFormat {
|
|
3215
|
+
/**
|
|
3216
|
+
* `Bearer <value>`.
|
|
3217
|
+
*/
|
|
3218
|
+
type: "bearer";
|
|
3219
|
+
}
|
|
3220
|
+
export interface ZoMachineDestroyOutputV1BasicFormat {
|
|
3221
|
+
/**
|
|
3222
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
3223
|
+
*/
|
|
3224
|
+
type: "basic";
|
|
3225
|
+
username: string;
|
|
3226
|
+
}
|
|
3227
|
+
export interface ZoMachineDestroyOutputV1RawFormat {
|
|
3228
|
+
/**
|
|
3229
|
+
* The value as it is.
|
|
3230
|
+
*/
|
|
3231
|
+
type: "raw";
|
|
3232
|
+
}
|
|
2679
3233
|
export interface ZoMachineDestroyOutputV1MachineBootedView {
|
|
2680
3234
|
init: ("none" | "image");
|
|
2681
3235
|
command: (string[] | null);
|
|
@@ -2751,11 +3305,54 @@ export interface ZoMachineGetOutputV1MachineProperties {
|
|
|
2751
3305
|
[k: string]: string;
|
|
2752
3306
|
} | null);
|
|
2753
3307
|
credentials?: (string[] | null);
|
|
3308
|
+
outbound_network_policies?: (ZoMachineGetOutputV1OutboundNetworkPolicy[] | null);
|
|
2754
3309
|
}
|
|
2755
3310
|
export interface ZoMachineGetOutputV1MachineGpu {
|
|
2756
3311
|
type: ZoMachineGetOutputV1GpuType;
|
|
2757
3312
|
count: number;
|
|
2758
3313
|
}
|
|
3314
|
+
/**
|
|
3315
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
3316
|
+
*/
|
|
3317
|
+
export interface ZoMachineGetOutputV1OutboundNetworkPolicy {
|
|
3318
|
+
/**
|
|
3319
|
+
* The connection ID.
|
|
3320
|
+
*/
|
|
3321
|
+
credential: string;
|
|
3322
|
+
/**
|
|
3323
|
+
* The connection definition's slot, by name.
|
|
3324
|
+
*/
|
|
3325
|
+
slot: string;
|
|
3326
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
3327
|
+
location?: (ZoMachineGetOutputV1HeaderLocation | null);
|
|
3328
|
+
format?: ((ZoMachineGetOutputV1BearerFormat | ZoMachineGetOutputV1BasicFormat | ZoMachineGetOutputV1RawFormat) | null);
|
|
3329
|
+
}
|
|
3330
|
+
export interface ZoMachineGetOutputV1HeaderLocation {
|
|
3331
|
+
type: "header";
|
|
3332
|
+
/**
|
|
3333
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
3334
|
+
*/
|
|
3335
|
+
name: string;
|
|
3336
|
+
}
|
|
3337
|
+
export interface ZoMachineGetOutputV1BearerFormat {
|
|
3338
|
+
/**
|
|
3339
|
+
* `Bearer <value>`.
|
|
3340
|
+
*/
|
|
3341
|
+
type: "bearer";
|
|
3342
|
+
}
|
|
3343
|
+
export interface ZoMachineGetOutputV1BasicFormat {
|
|
3344
|
+
/**
|
|
3345
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
3346
|
+
*/
|
|
3347
|
+
type: "basic";
|
|
3348
|
+
username: string;
|
|
3349
|
+
}
|
|
3350
|
+
export interface ZoMachineGetOutputV1RawFormat {
|
|
3351
|
+
/**
|
|
3352
|
+
* The value as it is.
|
|
3353
|
+
*/
|
|
3354
|
+
type: "raw";
|
|
3355
|
+
}
|
|
2759
3356
|
export interface ZoMachineGetOutputV1MachineBootedView {
|
|
2760
3357
|
init: ("none" | "image");
|
|
2761
3358
|
command: (string[] | null);
|
|
@@ -2820,11 +3417,54 @@ export interface ZoMachineListOutputV1MachineProperties {
|
|
|
2820
3417
|
[k: string]: string;
|
|
2821
3418
|
} | null);
|
|
2822
3419
|
credentials?: (string[] | null);
|
|
3420
|
+
outbound_network_policies?: (ZoMachineListOutputV1OutboundNetworkPolicy[] | null);
|
|
2823
3421
|
}
|
|
2824
3422
|
export interface ZoMachineListOutputV1MachineGpu {
|
|
2825
3423
|
type: ZoMachineListOutputV1GpuType;
|
|
2826
3424
|
count: number;
|
|
2827
3425
|
}
|
|
3426
|
+
/**
|
|
3427
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
3428
|
+
*/
|
|
3429
|
+
export interface ZoMachineListOutputV1OutboundNetworkPolicy {
|
|
3430
|
+
/**
|
|
3431
|
+
* The connection ID.
|
|
3432
|
+
*/
|
|
3433
|
+
credential: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* The connection definition's slot, by name.
|
|
3436
|
+
*/
|
|
3437
|
+
slot: string;
|
|
3438
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
3439
|
+
location?: (ZoMachineListOutputV1HeaderLocation | null);
|
|
3440
|
+
format?: ((ZoMachineListOutputV1BearerFormat | ZoMachineListOutputV1BasicFormat | ZoMachineListOutputV1RawFormat) | null);
|
|
3441
|
+
}
|
|
3442
|
+
export interface ZoMachineListOutputV1HeaderLocation {
|
|
3443
|
+
type: "header";
|
|
3444
|
+
/**
|
|
3445
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
3446
|
+
*/
|
|
3447
|
+
name: string;
|
|
3448
|
+
}
|
|
3449
|
+
export interface ZoMachineListOutputV1BearerFormat {
|
|
3450
|
+
/**
|
|
3451
|
+
* `Bearer <value>`.
|
|
3452
|
+
*/
|
|
3453
|
+
type: "bearer";
|
|
3454
|
+
}
|
|
3455
|
+
export interface ZoMachineListOutputV1BasicFormat {
|
|
3456
|
+
/**
|
|
3457
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
3458
|
+
*/
|
|
3459
|
+
type: "basic";
|
|
3460
|
+
username: string;
|
|
3461
|
+
}
|
|
3462
|
+
export interface ZoMachineListOutputV1RawFormat {
|
|
3463
|
+
/**
|
|
3464
|
+
* The value as it is.
|
|
3465
|
+
*/
|
|
3466
|
+
type: "raw";
|
|
3467
|
+
}
|
|
2828
3468
|
export interface ZoMachineListOutputV1MachineBootedView {
|
|
2829
3469
|
init: ("none" | "image");
|
|
2830
3470
|
command: (string[] | null);
|
|
@@ -2988,11 +3628,54 @@ export interface ZoMachineResumeOutputV1MachineProperties {
|
|
|
2988
3628
|
[k: string]: string;
|
|
2989
3629
|
} | null);
|
|
2990
3630
|
credentials?: (string[] | null);
|
|
3631
|
+
outbound_network_policies?: (ZoMachineResumeOutputV1OutboundNetworkPolicy[] | null);
|
|
2991
3632
|
}
|
|
2992
3633
|
export interface ZoMachineResumeOutputV1MachineGpu {
|
|
2993
3634
|
type: ZoMachineResumeOutputV1GpuType;
|
|
2994
3635
|
count: number;
|
|
2995
3636
|
}
|
|
3637
|
+
/**
|
|
3638
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
3639
|
+
*/
|
|
3640
|
+
export interface ZoMachineResumeOutputV1OutboundNetworkPolicy {
|
|
3641
|
+
/**
|
|
3642
|
+
* The connection ID.
|
|
3643
|
+
*/
|
|
3644
|
+
credential: string;
|
|
3645
|
+
/**
|
|
3646
|
+
* The connection definition's slot, by name.
|
|
3647
|
+
*/
|
|
3648
|
+
slot: string;
|
|
3649
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
3650
|
+
location?: (ZoMachineResumeOutputV1HeaderLocation | null);
|
|
3651
|
+
format?: ((ZoMachineResumeOutputV1BearerFormat | ZoMachineResumeOutputV1BasicFormat | ZoMachineResumeOutputV1RawFormat) | null);
|
|
3652
|
+
}
|
|
3653
|
+
export interface ZoMachineResumeOutputV1HeaderLocation {
|
|
3654
|
+
type: "header";
|
|
3655
|
+
/**
|
|
3656
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
3657
|
+
*/
|
|
3658
|
+
name: string;
|
|
3659
|
+
}
|
|
3660
|
+
export interface ZoMachineResumeOutputV1BearerFormat {
|
|
3661
|
+
/**
|
|
3662
|
+
* `Bearer <value>`.
|
|
3663
|
+
*/
|
|
3664
|
+
type: "bearer";
|
|
3665
|
+
}
|
|
3666
|
+
export interface ZoMachineResumeOutputV1BasicFormat {
|
|
3667
|
+
/**
|
|
3668
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
3669
|
+
*/
|
|
3670
|
+
type: "basic";
|
|
3671
|
+
username: string;
|
|
3672
|
+
}
|
|
3673
|
+
export interface ZoMachineResumeOutputV1RawFormat {
|
|
3674
|
+
/**
|
|
3675
|
+
* The value as it is.
|
|
3676
|
+
*/
|
|
3677
|
+
type: "raw";
|
|
3678
|
+
}
|
|
2996
3679
|
export interface ZoMachineResumeOutputV1MachineBootedView {
|
|
2997
3680
|
init: ("none" | "image");
|
|
2998
3681
|
command: (string[] | null);
|
|
@@ -3110,11 +3793,54 @@ export interface ZoMachineStopOutputV1MachineProperties {
|
|
|
3110
3793
|
[k: string]: string;
|
|
3111
3794
|
} | null);
|
|
3112
3795
|
credentials?: (string[] | null);
|
|
3796
|
+
outbound_network_policies?: (ZoMachineStopOutputV1OutboundNetworkPolicy[] | null);
|
|
3113
3797
|
}
|
|
3114
3798
|
export interface ZoMachineStopOutputV1MachineGpu {
|
|
3115
3799
|
type: ZoMachineStopOutputV1GpuType;
|
|
3116
3800
|
count: number;
|
|
3117
3801
|
}
|
|
3802
|
+
/**
|
|
3803
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
3804
|
+
*/
|
|
3805
|
+
export interface ZoMachineStopOutputV1OutboundNetworkPolicy {
|
|
3806
|
+
/**
|
|
3807
|
+
* The connection ID.
|
|
3808
|
+
*/
|
|
3809
|
+
credential: string;
|
|
3810
|
+
/**
|
|
3811
|
+
* The connection definition's slot, by name.
|
|
3812
|
+
*/
|
|
3813
|
+
slot: string;
|
|
3814
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
3815
|
+
location?: (ZoMachineStopOutputV1HeaderLocation | null);
|
|
3816
|
+
format?: ((ZoMachineStopOutputV1BearerFormat | ZoMachineStopOutputV1BasicFormat | ZoMachineStopOutputV1RawFormat) | null);
|
|
3817
|
+
}
|
|
3818
|
+
export interface ZoMachineStopOutputV1HeaderLocation {
|
|
3819
|
+
type: "header";
|
|
3820
|
+
/**
|
|
3821
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
3822
|
+
*/
|
|
3823
|
+
name: string;
|
|
3824
|
+
}
|
|
3825
|
+
export interface ZoMachineStopOutputV1BearerFormat {
|
|
3826
|
+
/**
|
|
3827
|
+
* `Bearer <value>`.
|
|
3828
|
+
*/
|
|
3829
|
+
type: "bearer";
|
|
3830
|
+
}
|
|
3831
|
+
export interface ZoMachineStopOutputV1BasicFormat {
|
|
3832
|
+
/**
|
|
3833
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
3834
|
+
*/
|
|
3835
|
+
type: "basic";
|
|
3836
|
+
username: string;
|
|
3837
|
+
}
|
|
3838
|
+
export interface ZoMachineStopOutputV1RawFormat {
|
|
3839
|
+
/**
|
|
3840
|
+
* The value as it is.
|
|
3841
|
+
*/
|
|
3842
|
+
type: "raw";
|
|
3843
|
+
}
|
|
3118
3844
|
export interface ZoMachineStopOutputV1MachineBootedView {
|
|
3119
3845
|
init: ("none" | "image");
|
|
3120
3846
|
command: (string[] | null);
|
|
@@ -3239,6 +3965,10 @@ export interface ZoMachineUpdateInputV1 {
|
|
|
3239
3965
|
* The list that replaces the stored one; omit it to keep it. Connection IDs whose credentials the machine receives as environment variables, in the boot process and every command. Each slot of a listed connection sets the variable its definition names, with the variables the slot and the connection declare. The machine also needs a use grant on each connection (`zo.grant.create` with the machine as assignee); a listed connection without one delivers nothing. When two listed connections set the same variable, the later one in the list wins. At most 100 connections, each listed once.
|
|
3240
3966
|
*/
|
|
3241
3967
|
credentials?: (string[] | null);
|
|
3968
|
+
/**
|
|
3969
|
+
* The rules that replace the stored ones; omit them to keep them. A running machine's requests use the new rules once the update returns. Header rules: on HTTPS requests from the machine to a rule's hosts, Zo sets a header built from a connection's credential, and the credential never enters the machine. A rule names the connection (`credential`) and one of its definition's slots (`slot`). With only those two, it uses the hosts, header and format the slot declares in its `injections`. It may give its own `hosts`, `location` and `format`, all three together, only for a slot that declares an `environment_variable`. Formats: `bearer` (`Bearer <value>`), `basic` with a `username` (`Basic` with base64 of `<username>:<value>`) and `raw` (the value as stored). A rule sets its header only while the machine holds a use grant on the connection. Two rules can't set the same header on the same host, and all rules together set at most 25 header values. Requests to a host with a rule use HTTP/1.1.
|
|
3970
|
+
*/
|
|
3971
|
+
outbound_network_policies?: (ZoMachineUpdateInputV1OutboundNetworkPolicy[] | null);
|
|
3242
3972
|
}
|
|
3243
3973
|
/**
|
|
3244
3974
|
* The timers a caller may change after create. Modal fixes them at
|
|
@@ -3248,6 +3978,48 @@ export interface ZoMachineUpdateInputV1MachineLifecycleUpdate {
|
|
|
3248
3978
|
idle_timeout_seconds?: (number | null);
|
|
3249
3979
|
max_run_seconds?: (number | null);
|
|
3250
3980
|
}
|
|
3981
|
+
/**
|
|
3982
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
3983
|
+
*/
|
|
3984
|
+
export interface ZoMachineUpdateInputV1OutboundNetworkPolicy {
|
|
3985
|
+
/**
|
|
3986
|
+
* The connection ID.
|
|
3987
|
+
*/
|
|
3988
|
+
credential: string;
|
|
3989
|
+
/**
|
|
3990
|
+
* The connection definition's slot, by name.
|
|
3991
|
+
*/
|
|
3992
|
+
slot: string;
|
|
3993
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
3994
|
+
location?: (ZoMachineUpdateInputV1HeaderLocation | null);
|
|
3995
|
+
format?: ((ZoMachineUpdateInputV1BearerFormat | ZoMachineUpdateInputV1BasicFormat | ZoMachineUpdateInputV1RawFormat) | null);
|
|
3996
|
+
}
|
|
3997
|
+
export interface ZoMachineUpdateInputV1HeaderLocation {
|
|
3998
|
+
type: "header";
|
|
3999
|
+
/**
|
|
4000
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
4001
|
+
*/
|
|
4002
|
+
name: string;
|
|
4003
|
+
}
|
|
4004
|
+
export interface ZoMachineUpdateInputV1BearerFormat {
|
|
4005
|
+
/**
|
|
4006
|
+
* `Bearer <value>`.
|
|
4007
|
+
*/
|
|
4008
|
+
type: "bearer";
|
|
4009
|
+
}
|
|
4010
|
+
export interface ZoMachineUpdateInputV1BasicFormat {
|
|
4011
|
+
/**
|
|
4012
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
4013
|
+
*/
|
|
4014
|
+
type: "basic";
|
|
4015
|
+
username: string;
|
|
4016
|
+
}
|
|
4017
|
+
export interface ZoMachineUpdateInputV1RawFormat {
|
|
4018
|
+
/**
|
|
4019
|
+
* The value as it is.
|
|
4020
|
+
*/
|
|
4021
|
+
type: "raw";
|
|
4022
|
+
}
|
|
3251
4023
|
export interface ZoMachineUpdateOutputV1 {
|
|
3252
4024
|
machine_id: string;
|
|
3253
4025
|
revision: number;
|
|
@@ -3453,6 +4225,50 @@ export interface ZoMachineImageListQueryV1 {
|
|
|
3453
4225
|
cursor?: string;
|
|
3454
4226
|
sort?: ("id.asc" | "created_at.desc" | "created_at.asc" | "display_name.asc");
|
|
3455
4227
|
}
|
|
4228
|
+
export interface ZoMachineImageUpdateInputV1 {
|
|
4229
|
+
machine_image_id: string;
|
|
4230
|
+
expected_revision: number;
|
|
4231
|
+
display_name?: (string | null);
|
|
4232
|
+
/**
|
|
4233
|
+
* "" clears the description.
|
|
4234
|
+
*/
|
|
4235
|
+
description?: (string | null);
|
|
4236
|
+
}
|
|
4237
|
+
export type ZoMachineImageUpdateOutputV1ImageOrigin = ("registry" | "build" | "machine_snapshot");
|
|
4238
|
+
export type ZoMachineImageUpdateOutputV1ImageStatus = ("pending" | "preparing" | "ready" | "failed" | "deleting" | "deleted");
|
|
4239
|
+
/**
|
|
4240
|
+
* A `machine_image` resource with its preparation status. ``source_digest``
|
|
4241
|
+
* is the pinned manifest digest once resolved; ``error_code`` is set only for
|
|
4242
|
+
* an image that failed.
|
|
4243
|
+
*/
|
|
4244
|
+
export interface ZoMachineImageUpdateOutputV1 {
|
|
4245
|
+
id: string;
|
|
4246
|
+
workspace_id: string;
|
|
4247
|
+
type: "machine_image";
|
|
4248
|
+
type_version: number;
|
|
4249
|
+
display_name: string;
|
|
4250
|
+
description: string;
|
|
4251
|
+
visibility: ("workspace" | "protected");
|
|
4252
|
+
revision: number;
|
|
4253
|
+
properties: ZoMachineImageUpdateOutputV1MachineImageProperties;
|
|
4254
|
+
status: ZoMachineImageUpdateOutputV1ImageStatus;
|
|
4255
|
+
source_digest: (string | null);
|
|
4256
|
+
error_code: (string | null);
|
|
4257
|
+
created_at: string;
|
|
4258
|
+
ready_at: (string | null);
|
|
4259
|
+
deleted_at: (string | null);
|
|
4260
|
+
}
|
|
4261
|
+
/**
|
|
4262
|
+
* Public properties of a `machine_image` resource, type version 1: what
|
|
4263
|
+
* the image is, fixed when it was admitted. Status and the resolved digest
|
|
4264
|
+
* live on the ``machine_images`` row, not in the registry.
|
|
4265
|
+
*/
|
|
4266
|
+
export interface ZoMachineImageUpdateOutputV1MachineImageProperties {
|
|
4267
|
+
origin: ZoMachineImageUpdateOutputV1ImageOrigin;
|
|
4268
|
+
artifact_format: ("oci" | "provider_filesystem_snapshot");
|
|
4269
|
+
architecture: ("amd64" | "arm64");
|
|
4270
|
+
source_ref: (string | null);
|
|
4271
|
+
}
|
|
3456
4272
|
export interface ZoMessageGetInputV1 {
|
|
3457
4273
|
/**
|
|
3458
4274
|
* The Agent that sent or received the message.
|
|
@@ -3520,6 +4336,14 @@ export interface ZoMessageGetOutputV1MessageDelivery {
|
|
|
3520
4336
|
*/
|
|
3521
4337
|
outcome: (("completed" | "cancelled" | "interrupted" | "failed") | null);
|
|
3522
4338
|
outcome_reason: (string | null);
|
|
4339
|
+
/**
|
|
4340
|
+
* The model the message was admitted with: the one it named, else the session's.
|
|
4341
|
+
*/
|
|
4342
|
+
model: (string | null);
|
|
4343
|
+
/**
|
|
4344
|
+
* The reasoning level the message was admitted with; null for the model's default.
|
|
4345
|
+
*/
|
|
4346
|
+
reasoning: (string | null);
|
|
3523
4347
|
}
|
|
3524
4348
|
export interface ZoOauthAppCreateInputV1 {
|
|
3525
4349
|
workspace_id: string;
|
|
@@ -3658,7 +4482,174 @@ export interface ZoOauthAppUpdateOutputV1 {
|
|
|
3658
4482
|
connection_id: (string | null);
|
|
3659
4483
|
state: string;
|
|
3660
4484
|
}
|
|
4485
|
+
export interface ZoQuotaGetInputV1 {
|
|
4486
|
+
workspace_id: string;
|
|
4487
|
+
/**
|
|
4488
|
+
* Public quota definitions:
|
|
4489
|
+
* database.count: Databases not yet deleted, including creation and deletion in progress. Kind: capacity; scope: workspace; unit: database; measurement: databases_not_deleted.
|
|
4490
|
+
* database.storage_per_database: Desired storage ceiling for each database; a provider update may still be pending. Kind: per_resource_bound; scope: resource (database); unit: byte; measurement: not_applicable.
|
|
4491
|
+
* knowledge.storage: Stored and reserved Knowledge bytes. Kind: capacity; scope: workspace; unit: byte; measurement: stored_bytes_plus_reserved_bytes.
|
|
4492
|
+
* machine.allocated_gpus: GPU count in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: gpu; measurement: unreleased_allocations_including_pending_starts.
|
|
4493
|
+
* machine.allocated_machines: Unreleased machine compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: machine; measurement: unreleased_allocations_including_pending_starts.
|
|
4494
|
+
* machine.allocated_memory: Memory in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: MiB; measurement: unreleased_allocations_including_pending_starts.
|
|
4495
|
+
* machine.allocated_vcpus: vCPUs in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: vcpu; measurement: unreleased_allocations_including_pending_starts.
|
|
4496
|
+
* machine.concurrent_image_builds: Image builds in pending or preparing states. Kind: capacity; scope: workspace; unit: build; measurement: pending_and_preparing_images.
|
|
4497
|
+
* machine.image_builds_24h: Registry and build-origin images created in the trailing 86400 seconds. Kind: windowed; scope: workspace; unit: build; measurement: registry_and_build_images_created_in_trailing_86400_seconds.
|
|
4498
|
+
* machine.image_lineage_depth: Maximum lineage depth of one machine image. Kind: per_resource_bound; scope: resource (machine_image); unit: level; measurement: not_applicable.
|
|
4499
|
+
* machine.memory_per_machine: Maximum memory allocated to one machine. Kind: per_resource_bound; scope: resource (machine); unit: MiB; measurement: not_applicable.
|
|
4500
|
+
* machine.period_spend: Billed and proven unbilled machine compute in the workspace billing period; this allowance is not available credit. Kind: windowed; scope: workspace; unit: USD; measurement: billed_and_proven_unbilled_compute_in_billing_period.
|
|
4501
|
+
* machine.retained_images: Images not yet deleted, including unfinished images. Kind: capacity; scope: workspace; unit: image; measurement: images_not_deleted.
|
|
4502
|
+
* machine.retained_storage: Latest retained root and volume storage measurements under admission retention rules. Kind: capacity; scope: workspace; unit: byte; measurement: latest_retained_root_and_volume_measurements.
|
|
4503
|
+
* machine.vcpus_per_machine: Maximum vCPUs allocated to one machine. Kind: per_resource_bound; scope: resource (machine); unit: vcpu; measurement: not_applicable.
|
|
4504
|
+
* workspace.members: Memberships and live invitations occupying admission slots. Kind: capacity; scope: workspace; unit: member; measurement: memberships_and_live_invitations.
|
|
4505
|
+
*/
|
|
4506
|
+
quota_key: ("database.count" | "database.storage_per_database" | "knowledge.storage" | "machine.allocated_gpus" | "machine.allocated_machines" | "machine.allocated_memory" | "machine.allocated_vcpus" | "machine.concurrent_image_builds" | "machine.image_builds_24h" | "machine.image_lineage_depth" | "machine.memory_per_machine" | "machine.period_spend" | "machine.retained_images" | "machine.retained_storage" | "machine.vcpus_per_machine" | "workspace.members");
|
|
4507
|
+
}
|
|
4508
|
+
export interface ZoQuotaGetOutputV1 {
|
|
4509
|
+
workspace_id: string;
|
|
4510
|
+
/**
|
|
4511
|
+
* Public quota definitions:
|
|
4512
|
+
* database.count: Databases not yet deleted, including creation and deletion in progress. Kind: capacity; scope: workspace; unit: database; measurement: databases_not_deleted.
|
|
4513
|
+
* database.storage_per_database: Desired storage ceiling for each database; a provider update may still be pending. Kind: per_resource_bound; scope: resource (database); unit: byte; measurement: not_applicable.
|
|
4514
|
+
* knowledge.storage: Stored and reserved Knowledge bytes. Kind: capacity; scope: workspace; unit: byte; measurement: stored_bytes_plus_reserved_bytes.
|
|
4515
|
+
* machine.allocated_gpus: GPU count in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: gpu; measurement: unreleased_allocations_including_pending_starts.
|
|
4516
|
+
* machine.allocated_machines: Unreleased machine compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: machine; measurement: unreleased_allocations_including_pending_starts.
|
|
4517
|
+
* machine.allocated_memory: Memory in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: MiB; measurement: unreleased_allocations_including_pending_starts.
|
|
4518
|
+
* machine.allocated_vcpus: vCPUs in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: vcpu; measurement: unreleased_allocations_including_pending_starts.
|
|
4519
|
+
* machine.concurrent_image_builds: Image builds in pending or preparing states. Kind: capacity; scope: workspace; unit: build; measurement: pending_and_preparing_images.
|
|
4520
|
+
* machine.image_builds_24h: Registry and build-origin images created in the trailing 86400 seconds. Kind: windowed; scope: workspace; unit: build; measurement: registry_and_build_images_created_in_trailing_86400_seconds.
|
|
4521
|
+
* machine.image_lineage_depth: Maximum lineage depth of one machine image. Kind: per_resource_bound; scope: resource (machine_image); unit: level; measurement: not_applicable.
|
|
4522
|
+
* machine.memory_per_machine: Maximum memory allocated to one machine. Kind: per_resource_bound; scope: resource (machine); unit: MiB; measurement: not_applicable.
|
|
4523
|
+
* machine.period_spend: Billed and proven unbilled machine compute in the workspace billing period; this allowance is not available credit. Kind: windowed; scope: workspace; unit: USD; measurement: billed_and_proven_unbilled_compute_in_billing_period.
|
|
4524
|
+
* machine.retained_images: Images not yet deleted, including unfinished images. Kind: capacity; scope: workspace; unit: image; measurement: images_not_deleted.
|
|
4525
|
+
* machine.retained_storage: Latest retained root and volume storage measurements under admission retention rules. Kind: capacity; scope: workspace; unit: byte; measurement: latest_retained_root_and_volume_measurements.
|
|
4526
|
+
* machine.vcpus_per_machine: Maximum vCPUs allocated to one machine. Kind: per_resource_bound; scope: resource (machine); unit: vcpu; measurement: not_applicable.
|
|
4527
|
+
* workspace.members: Memberships and live invitations occupying admission slots. Kind: capacity; scope: workspace; unit: member; measurement: memberships_and_live_invitations.
|
|
4528
|
+
*/
|
|
4529
|
+
quota_key: ("database.count" | "database.storage_per_database" | "knowledge.storage" | "machine.allocated_gpus" | "machine.allocated_machines" | "machine.allocated_memory" | "machine.allocated_vcpus" | "machine.concurrent_image_builds" | "machine.image_builds_24h" | "machine.image_lineage_depth" | "machine.memory_per_machine" | "machine.period_spend" | "machine.retained_images" | "machine.retained_storage" | "machine.vcpus_per_machine" | "workspace.members");
|
|
4530
|
+
description: string;
|
|
4531
|
+
kind: ("capacity" | "windowed" | "per_resource_bound");
|
|
4532
|
+
scope: ZoQuotaGetOutputV1QuotaScope;
|
|
4533
|
+
unit: string;
|
|
4534
|
+
limit: ZoQuotaGetOutputV1QuotaLimit;
|
|
4535
|
+
measurement: ZoQuotaGetOutputV1QuotaMeasurement;
|
|
4536
|
+
headroom: ZoQuotaGetOutputV1QuotaRemainder;
|
|
4537
|
+
overage: ZoQuotaGetOutputV1QuotaRemainder;
|
|
4538
|
+
}
|
|
4539
|
+
export interface ZoQuotaGetOutputV1QuotaScope {
|
|
4540
|
+
kind: ("workspace" | "resource");
|
|
4541
|
+
resource_type?: (string | null);
|
|
4542
|
+
}
|
|
4543
|
+
export interface ZoQuotaGetOutputV1QuotaLimit {
|
|
4544
|
+
kind: ("finite" | "unlimited" | "not_configured" | "unavailable");
|
|
4545
|
+
amount?: (string | null);
|
|
4546
|
+
}
|
|
4547
|
+
export interface ZoQuotaGetOutputV1QuotaMeasurement {
|
|
4548
|
+
status: ("available" | "unavailable" | "not_configured" | "not_applicable");
|
|
4549
|
+
amount?: (string | null);
|
|
4550
|
+
observed_at?: (string | null);
|
|
4551
|
+
basis?: (string | null);
|
|
4552
|
+
used?: (string | null);
|
|
4553
|
+
reserved?: (string | null);
|
|
4554
|
+
window?: (ZoQuotaGetOutputV1QuotaWindow | null);
|
|
4555
|
+
}
|
|
4556
|
+
export interface ZoQuotaGetOutputV1QuotaWindow {
|
|
4557
|
+
start: string;
|
|
4558
|
+
end: string;
|
|
4559
|
+
rule: ("trailing_86400_seconds" | "billing_period");
|
|
4560
|
+
}
|
|
4561
|
+
export interface ZoQuotaGetOutputV1QuotaRemainder {
|
|
4562
|
+
status: ("available" | "unknown" | "unlimited" | "not_configured" | "not_applicable");
|
|
4563
|
+
amount?: (string | null);
|
|
4564
|
+
}
|
|
4565
|
+
export interface ZoQuotaListInputV1 {
|
|
4566
|
+
workspace_id: string;
|
|
4567
|
+
}
|
|
4568
|
+
export interface ZoQuotaListOutputV1 {
|
|
4569
|
+
quotas: ZoQuotaListOutputV1QuotaReading[];
|
|
4570
|
+
next_cursor?: (string | null);
|
|
4571
|
+
observed_at: string;
|
|
4572
|
+
}
|
|
4573
|
+
export interface ZoQuotaListOutputV1QuotaReading {
|
|
4574
|
+
workspace_id: string;
|
|
4575
|
+
/**
|
|
4576
|
+
* Public quota definitions:
|
|
4577
|
+
* database.count: Databases not yet deleted, including creation and deletion in progress. Kind: capacity; scope: workspace; unit: database; measurement: databases_not_deleted.
|
|
4578
|
+
* database.storage_per_database: Desired storage ceiling for each database; a provider update may still be pending. Kind: per_resource_bound; scope: resource (database); unit: byte; measurement: not_applicable.
|
|
4579
|
+
* knowledge.storage: Stored and reserved Knowledge bytes. Kind: capacity; scope: workspace; unit: byte; measurement: stored_bytes_plus_reserved_bytes.
|
|
4580
|
+
* machine.allocated_gpus: GPU count in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: gpu; measurement: unreleased_allocations_including_pending_starts.
|
|
4581
|
+
* machine.allocated_machines: Unreleased machine compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: machine; measurement: unreleased_allocations_including_pending_starts.
|
|
4582
|
+
* machine.allocated_memory: Memory in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: MiB; measurement: unreleased_allocations_including_pending_starts.
|
|
4583
|
+
* machine.allocated_vcpus: vCPUs in unreleased compute allocations, including pending starts. Kind: capacity; scope: workspace; unit: vcpu; measurement: unreleased_allocations_including_pending_starts.
|
|
4584
|
+
* machine.concurrent_image_builds: Image builds in pending or preparing states. Kind: capacity; scope: workspace; unit: build; measurement: pending_and_preparing_images.
|
|
4585
|
+
* machine.image_builds_24h: Registry and build-origin images created in the trailing 86400 seconds. Kind: windowed; scope: workspace; unit: build; measurement: registry_and_build_images_created_in_trailing_86400_seconds.
|
|
4586
|
+
* machine.image_lineage_depth: Maximum lineage depth of one machine image. Kind: per_resource_bound; scope: resource (machine_image); unit: level; measurement: not_applicable.
|
|
4587
|
+
* machine.memory_per_machine: Maximum memory allocated to one machine. Kind: per_resource_bound; scope: resource (machine); unit: MiB; measurement: not_applicable.
|
|
4588
|
+
* machine.period_spend: Billed and proven unbilled machine compute in the workspace billing period; this allowance is not available credit. Kind: windowed; scope: workspace; unit: USD; measurement: billed_and_proven_unbilled_compute_in_billing_period.
|
|
4589
|
+
* machine.retained_images: Images not yet deleted, including unfinished images. Kind: capacity; scope: workspace; unit: image; measurement: images_not_deleted.
|
|
4590
|
+
* machine.retained_storage: Latest retained root and volume storage measurements under admission retention rules. Kind: capacity; scope: workspace; unit: byte; measurement: latest_retained_root_and_volume_measurements.
|
|
4591
|
+
* machine.vcpus_per_machine: Maximum vCPUs allocated to one machine. Kind: per_resource_bound; scope: resource (machine); unit: vcpu; measurement: not_applicable.
|
|
4592
|
+
* workspace.members: Memberships and live invitations occupying admission slots. Kind: capacity; scope: workspace; unit: member; measurement: memberships_and_live_invitations.
|
|
4593
|
+
*/
|
|
4594
|
+
quota_key: ("database.count" | "database.storage_per_database" | "knowledge.storage" | "machine.allocated_gpus" | "machine.allocated_machines" | "machine.allocated_memory" | "machine.allocated_vcpus" | "machine.concurrent_image_builds" | "machine.image_builds_24h" | "machine.image_lineage_depth" | "machine.memory_per_machine" | "machine.period_spend" | "machine.retained_images" | "machine.retained_storage" | "machine.vcpus_per_machine" | "workspace.members");
|
|
4595
|
+
description: string;
|
|
4596
|
+
kind: ("capacity" | "windowed" | "per_resource_bound");
|
|
4597
|
+
scope: ZoQuotaListOutputV1QuotaScope;
|
|
4598
|
+
unit: string;
|
|
4599
|
+
limit: ZoQuotaListOutputV1QuotaLimit;
|
|
4600
|
+
measurement: ZoQuotaListOutputV1QuotaMeasurement;
|
|
4601
|
+
headroom: ZoQuotaListOutputV1QuotaRemainder;
|
|
4602
|
+
overage: ZoQuotaListOutputV1QuotaRemainder;
|
|
4603
|
+
}
|
|
4604
|
+
export interface ZoQuotaListOutputV1QuotaScope {
|
|
4605
|
+
kind: ("workspace" | "resource");
|
|
4606
|
+
resource_type?: (string | null);
|
|
4607
|
+
}
|
|
4608
|
+
export interface ZoQuotaListOutputV1QuotaLimit {
|
|
4609
|
+
kind: ("finite" | "unlimited" | "not_configured" | "unavailable");
|
|
4610
|
+
amount?: (string | null);
|
|
4611
|
+
}
|
|
4612
|
+
export interface ZoQuotaListOutputV1QuotaMeasurement {
|
|
4613
|
+
status: ("available" | "unavailable" | "not_configured" | "not_applicable");
|
|
4614
|
+
amount?: (string | null);
|
|
4615
|
+
observed_at?: (string | null);
|
|
4616
|
+
basis?: (string | null);
|
|
4617
|
+
used?: (string | null);
|
|
4618
|
+
reserved?: (string | null);
|
|
4619
|
+
window?: (ZoQuotaListOutputV1QuotaWindow | null);
|
|
4620
|
+
}
|
|
4621
|
+
export interface ZoQuotaListOutputV1QuotaWindow {
|
|
4622
|
+
start: string;
|
|
4623
|
+
end: string;
|
|
4624
|
+
rule: ("trailing_86400_seconds" | "billing_period");
|
|
4625
|
+
}
|
|
4626
|
+
export interface ZoQuotaListOutputV1QuotaRemainder {
|
|
4627
|
+
status: ("available" | "unknown" | "unlimited" | "not_configured" | "not_applicable");
|
|
4628
|
+
amount?: (string | null);
|
|
4629
|
+
}
|
|
4630
|
+
export interface ZoQuotaListQueryV1 {
|
|
4631
|
+
/**
|
|
4632
|
+
* Rows per page, at most 100; a larger value is reduced to it.
|
|
4633
|
+
*/
|
|
4634
|
+
limit?: number;
|
|
4635
|
+
/**
|
|
4636
|
+
* The previous page's next_cursor, sent with the same sort, filter and search.
|
|
4637
|
+
*/
|
|
4638
|
+
cursor?: string;
|
|
4639
|
+
sort?: ("quota_key.asc" | "quota_key.desc");
|
|
4640
|
+
filter?: {
|
|
4641
|
+
kind?: (("capacity" | "windowed" | "per_resource_bound") | null);
|
|
4642
|
+
scope?: (("workspace" | "resource") | null);
|
|
4643
|
+
resource_type?: (("machine" | "machine_image" | "database") | null);
|
|
4644
|
+
};
|
|
4645
|
+
}
|
|
3661
4646
|
export interface ZoScheduleCreateInputV1 {
|
|
4647
|
+
/**
|
|
4648
|
+
* @maxItems 100
|
|
4649
|
+
*
|
|
4650
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
4651
|
+
*/
|
|
4652
|
+
tags?: string[];
|
|
3662
4653
|
workspace_id: string;
|
|
3663
4654
|
display_name: string;
|
|
3664
4655
|
/**
|
|
@@ -3871,6 +4862,12 @@ export type ZoSubscriptionCreateInputV1InputContractKind = ("exact_event" | "gen
|
|
|
3871
4862
|
* account the handler runs as. Omit ``filter`` to receive every occurrence.
|
|
3872
4863
|
*/
|
|
3873
4864
|
export interface ZoSubscriptionCreateInputV1 {
|
|
4865
|
+
/**
|
|
4866
|
+
* @maxItems 100
|
|
4867
|
+
*
|
|
4868
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
4869
|
+
*/
|
|
4870
|
+
tags?: string[];
|
|
3874
4871
|
workspace_id: string;
|
|
3875
4872
|
event_id: string;
|
|
3876
4873
|
display_name: string;
|
|
@@ -4074,6 +5071,12 @@ export type ZoSubscriptionCreateInputV2InputContractKind = ("exact_event" | "gen
|
|
|
4074
5071
|
* occurrence.
|
|
4075
5072
|
*/
|
|
4076
5073
|
export interface ZoSubscriptionCreateInputV2 {
|
|
5074
|
+
/**
|
|
5075
|
+
* @maxItems 100
|
|
5076
|
+
*
|
|
5077
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
5078
|
+
*/
|
|
5079
|
+
tags?: string[];
|
|
4077
5080
|
workspace_id: string;
|
|
4078
5081
|
event_id: string;
|
|
4079
5082
|
display_name: string;
|
|
@@ -5309,7 +6312,12 @@ export interface ZoSubscriptionUpdateOutputV2PrincipalRef {
|
|
|
5309
6312
|
}
|
|
5310
6313
|
export interface ZoTagAssignInputV1 {
|
|
5311
6314
|
workspace_id: string;
|
|
5312
|
-
target
|
|
6315
|
+
target?: ZoTagAssignInputV1TargetRef;
|
|
6316
|
+
/**
|
|
6317
|
+
* @minItems 1
|
|
6318
|
+
* @maxItems 200
|
|
6319
|
+
*/
|
|
6320
|
+
targets?: [ZoTagAssignInputV1TargetRef, ...(ZoTagAssignInputV1TargetRef)[]];
|
|
5313
6321
|
/**
|
|
5314
6322
|
* Tags by ID or name.
|
|
5315
6323
|
*
|
|
@@ -5322,7 +6330,7 @@ export interface ZoTagAssignInputV1 {
|
|
|
5322
6330
|
}
|
|
5323
6331
|
export interface ZoTagAssignInputV1TargetRef {
|
|
5324
6332
|
/**
|
|
5325
|
-
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database or file.
|
|
6333
|
+
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database, function, workflow, machine_image, vault or file.
|
|
5326
6334
|
*/
|
|
5327
6335
|
kind: string;
|
|
5328
6336
|
/**
|
|
@@ -5331,15 +6339,19 @@ export interface ZoTagAssignInputV1TargetRef {
|
|
|
5331
6339
|
id: string;
|
|
5332
6340
|
}
|
|
5333
6341
|
export interface ZoTagAssignOutputV1 {
|
|
5334
|
-
target: ZoTagAssignOutputV1TargetRef;
|
|
5335
6342
|
/**
|
|
5336
|
-
*
|
|
6343
|
+
* @minItems 1
|
|
6344
|
+
* @maxItems 200
|
|
5337
6345
|
*/
|
|
5338
|
-
|
|
6346
|
+
objects: [ZoTagAssignOutputV1ObjectChanges, ...(ZoTagAssignOutputV1ObjectChanges)[]];
|
|
6347
|
+
}
|
|
6348
|
+
export interface ZoTagAssignOutputV1ObjectChanges {
|
|
6349
|
+
target: ZoTagAssignOutputV1TargetRef;
|
|
6350
|
+
changed: number;
|
|
5339
6351
|
}
|
|
5340
6352
|
export interface ZoTagAssignOutputV1TargetRef {
|
|
5341
6353
|
/**
|
|
5342
|
-
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database or file.
|
|
6354
|
+
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database, function, workflow, machine_image, vault or file.
|
|
5343
6355
|
*/
|
|
5344
6356
|
kind: string;
|
|
5345
6357
|
/**
|
|
@@ -5347,13 +6359,6 @@ export interface ZoTagAssignOutputV1TargetRef {
|
|
|
5347
6359
|
*/
|
|
5348
6360
|
id: string;
|
|
5349
6361
|
}
|
|
5350
|
-
export interface ZoTagAssignOutputV1TagView {
|
|
5351
|
-
id: string;
|
|
5352
|
-
/**
|
|
5353
|
-
* The tag's name, spelled as first written.
|
|
5354
|
-
*/
|
|
5355
|
-
name: string;
|
|
5356
|
-
}
|
|
5357
6362
|
export interface ZoTagDeleteInputV1 {
|
|
5358
6363
|
workspace_id: string;
|
|
5359
6364
|
/**
|
|
@@ -5406,7 +6411,7 @@ export interface ZoTagItemsQueryV1 {
|
|
|
5406
6411
|
cursor?: string;
|
|
5407
6412
|
filter?: {
|
|
5408
6413
|
/**
|
|
5409
|
-
* Only objects of these kinds (task, agent, schedule, website, connection, event, event_subscription, machine, database or file).
|
|
6414
|
+
* Only objects of these kinds (task, agent, schedule, website, connection, event, event_subscription, machine, database, function, workflow, machine_image, vault or file).
|
|
5410
6415
|
*/
|
|
5411
6416
|
kinds?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
5412
6417
|
};
|
|
@@ -5454,7 +6459,7 @@ export interface ZoTagOfInputV1 {
|
|
|
5454
6459
|
}
|
|
5455
6460
|
export interface ZoTagOfInputV1TargetRef {
|
|
5456
6461
|
/**
|
|
5457
|
-
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database or file.
|
|
6462
|
+
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database, function, workflow, machine_image, vault or file.
|
|
5458
6463
|
*/
|
|
5459
6464
|
kind: string;
|
|
5460
6465
|
/**
|
|
@@ -5477,7 +6482,7 @@ export interface ZoTagOfOutputV1ObjectTags {
|
|
|
5477
6482
|
}
|
|
5478
6483
|
export interface ZoTagOfOutputV1TargetRef {
|
|
5479
6484
|
/**
|
|
5480
|
-
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database or file.
|
|
6485
|
+
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database, function, workflow, machine_image, vault or file.
|
|
5481
6486
|
*/
|
|
5482
6487
|
kind: string;
|
|
5483
6488
|
/**
|
|
@@ -5512,7 +6517,12 @@ export interface ZoTagRenameOutputV1 {
|
|
|
5512
6517
|
}
|
|
5513
6518
|
export interface ZoTagUnassignInputV1 {
|
|
5514
6519
|
workspace_id: string;
|
|
5515
|
-
target
|
|
6520
|
+
target?: ZoTagUnassignInputV1TargetRef;
|
|
6521
|
+
/**
|
|
6522
|
+
* @minItems 1
|
|
6523
|
+
* @maxItems 200
|
|
6524
|
+
*/
|
|
6525
|
+
targets?: [ZoTagUnassignInputV1TargetRef, ...(ZoTagUnassignInputV1TargetRef)[]];
|
|
5516
6526
|
/**
|
|
5517
6527
|
* Tags by ID or name.
|
|
5518
6528
|
*
|
|
@@ -5525,7 +6535,7 @@ export interface ZoTagUnassignInputV1 {
|
|
|
5525
6535
|
}
|
|
5526
6536
|
export interface ZoTagUnassignInputV1TargetRef {
|
|
5527
6537
|
/**
|
|
5528
|
-
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database or file.
|
|
6538
|
+
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database, function, workflow, machine_image, vault or file.
|
|
5529
6539
|
*/
|
|
5530
6540
|
kind: string;
|
|
5531
6541
|
/**
|
|
@@ -5534,15 +6544,19 @@ export interface ZoTagUnassignInputV1TargetRef {
|
|
|
5534
6544
|
id: string;
|
|
5535
6545
|
}
|
|
5536
6546
|
export interface ZoTagUnassignOutputV1 {
|
|
5537
|
-
target: ZoTagUnassignOutputV1TargetRef;
|
|
5538
6547
|
/**
|
|
5539
|
-
*
|
|
6548
|
+
* @minItems 1
|
|
6549
|
+
* @maxItems 200
|
|
5540
6550
|
*/
|
|
5541
|
-
|
|
6551
|
+
objects: [ZoTagUnassignOutputV1ObjectChanges, ...(ZoTagUnassignOutputV1ObjectChanges)[]];
|
|
6552
|
+
}
|
|
6553
|
+
export interface ZoTagUnassignOutputV1ObjectChanges {
|
|
6554
|
+
target: ZoTagUnassignOutputV1TargetRef;
|
|
6555
|
+
changed: number;
|
|
5542
6556
|
}
|
|
5543
6557
|
export interface ZoTagUnassignOutputV1TargetRef {
|
|
5544
6558
|
/**
|
|
5545
|
-
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database or file.
|
|
6559
|
+
* The object's kind: task, agent, schedule, website, connection, event, event_subscription, machine, database, function, workflow, machine_image, vault or file.
|
|
5546
6560
|
*/
|
|
5547
6561
|
kind: string;
|
|
5548
6562
|
/**
|
|
@@ -5550,13 +6564,6 @@ export interface ZoTagUnassignOutputV1TargetRef {
|
|
|
5550
6564
|
*/
|
|
5551
6565
|
id: string;
|
|
5552
6566
|
}
|
|
5553
|
-
export interface ZoTagUnassignOutputV1TagView {
|
|
5554
|
-
id: string;
|
|
5555
|
-
/**
|
|
5556
|
-
* The tag's name, spelled as first written.
|
|
5557
|
-
*/
|
|
5558
|
-
name: string;
|
|
5559
|
-
}
|
|
5560
6567
|
export interface ZoTaskBlockerAddInputV1 {
|
|
5561
6568
|
workspace_id: string;
|
|
5562
6569
|
/**
|
|
@@ -5572,6 +6579,7 @@ export interface ZoTaskBlockerAddOutputV1 {
|
|
|
5572
6579
|
id: string;
|
|
5573
6580
|
workspace_id: string;
|
|
5574
6581
|
number: number;
|
|
6582
|
+
title: string;
|
|
5575
6583
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
5576
6584
|
assignee: (ZoTaskBlockerAddOutputV1PrincipalView | null);
|
|
5577
6585
|
/**
|
|
@@ -5640,6 +6648,7 @@ export interface ZoTaskBlockerAddOutputV1PrincipalView {
|
|
|
5640
6648
|
export interface ZoTaskBlockerAddOutputV1TaskLink {
|
|
5641
6649
|
id: string;
|
|
5642
6650
|
number: number;
|
|
6651
|
+
title: string;
|
|
5643
6652
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
5644
6653
|
}
|
|
5645
6654
|
export interface ZoTaskBlockerAddOutputV1TaskComment {
|
|
@@ -5678,6 +6687,7 @@ export interface ZoTaskBlockerRemoveOutputV1 {
|
|
|
5678
6687
|
id: string;
|
|
5679
6688
|
workspace_id: string;
|
|
5680
6689
|
number: number;
|
|
6690
|
+
title: string;
|
|
5681
6691
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
5682
6692
|
assignee: (ZoTaskBlockerRemoveOutputV1PrincipalView | null);
|
|
5683
6693
|
/**
|
|
@@ -5746,6 +6756,7 @@ export interface ZoTaskBlockerRemoveOutputV1PrincipalView {
|
|
|
5746
6756
|
export interface ZoTaskBlockerRemoveOutputV1TaskLink {
|
|
5747
6757
|
id: string;
|
|
5748
6758
|
number: number;
|
|
6759
|
+
title: string;
|
|
5749
6760
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
5750
6761
|
}
|
|
5751
6762
|
export interface ZoTaskBlockerRemoveOutputV1TaskComment {
|
|
@@ -5936,7 +6947,14 @@ export interface ZoTaskCommentUpdateOutputV1PrincipalView {
|
|
|
5936
6947
|
active: boolean;
|
|
5937
6948
|
}
|
|
5938
6949
|
export interface ZoTaskCreateInputV1 {
|
|
6950
|
+
/**
|
|
6951
|
+
* @maxItems 100
|
|
6952
|
+
*
|
|
6953
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
6954
|
+
*/
|
|
6955
|
+
tags?: string[];
|
|
5939
6956
|
workspace_id: string;
|
|
6957
|
+
title: string;
|
|
5940
6958
|
body?: string;
|
|
5941
6959
|
status?: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
5942
6960
|
assignee?: (ZoTaskCreateInputV1PrincipalInput | null);
|
|
@@ -5953,6 +6971,7 @@ export interface ZoTaskCreateOutputV1 {
|
|
|
5953
6971
|
id: string;
|
|
5954
6972
|
workspace_id: string;
|
|
5955
6973
|
number: number;
|
|
6974
|
+
title: string;
|
|
5956
6975
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
5957
6976
|
assignee: (ZoTaskCreateOutputV1PrincipalView | null);
|
|
5958
6977
|
/**
|
|
@@ -6021,6 +7040,7 @@ export interface ZoTaskCreateOutputV1PrincipalView {
|
|
|
6021
7040
|
export interface ZoTaskCreateOutputV1TaskLink {
|
|
6022
7041
|
id: string;
|
|
6023
7042
|
number: number;
|
|
7043
|
+
title: string;
|
|
6024
7044
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
6025
7045
|
}
|
|
6026
7046
|
export interface ZoTaskCreateOutputV1TaskComment {
|
|
@@ -6066,6 +7086,7 @@ export interface ZoTaskGetOutputV1 {
|
|
|
6066
7086
|
id: string;
|
|
6067
7087
|
workspace_id: string;
|
|
6068
7088
|
number: number;
|
|
7089
|
+
title: string;
|
|
6069
7090
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
6070
7091
|
assignee: (ZoTaskGetOutputV1PrincipalView | null);
|
|
6071
7092
|
/**
|
|
@@ -6134,6 +7155,7 @@ export interface ZoTaskGetOutputV1PrincipalView {
|
|
|
6134
7155
|
export interface ZoTaskGetOutputV1TaskLink {
|
|
6135
7156
|
id: string;
|
|
6136
7157
|
number: number;
|
|
7158
|
+
title: string;
|
|
6137
7159
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
6138
7160
|
}
|
|
6139
7161
|
export interface ZoTaskGetOutputV1TaskComment {
|
|
@@ -6172,6 +7194,7 @@ export interface ZoTaskListOutputV1TaskSummary {
|
|
|
6172
7194
|
id: string;
|
|
6173
7195
|
workspace_id: string;
|
|
6174
7196
|
number: number;
|
|
7197
|
+
title: string;
|
|
6175
7198
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
6176
7199
|
assignee: (ZoTaskListOutputV1PrincipalView | null);
|
|
6177
7200
|
/**
|
|
@@ -6240,6 +7263,7 @@ export interface ZoTaskUpdateInputV1 {
|
|
|
6240
7263
|
* The task's number ("42" or "#42") or its tsk_ ID.
|
|
6241
7264
|
*/
|
|
6242
7265
|
task: string;
|
|
7266
|
+
title?: (string | null);
|
|
6243
7267
|
body?: (string | null);
|
|
6244
7268
|
status?: (("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled") | null);
|
|
6245
7269
|
/**
|
|
@@ -6263,6 +7287,7 @@ export interface ZoTaskUpdateOutputV1 {
|
|
|
6263
7287
|
id: string;
|
|
6264
7288
|
workspace_id: string;
|
|
6265
7289
|
number: number;
|
|
7290
|
+
title: string;
|
|
6266
7291
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
6267
7292
|
assignee: (ZoTaskUpdateOutputV1PrincipalView | null);
|
|
6268
7293
|
/**
|
|
@@ -6331,6 +7356,7 @@ export interface ZoTaskUpdateOutputV1PrincipalView {
|
|
|
6331
7356
|
export interface ZoTaskUpdateOutputV1TaskLink {
|
|
6332
7357
|
id: string;
|
|
6333
7358
|
number: number;
|
|
7359
|
+
title: string;
|
|
6334
7360
|
status: ("backlog" | "ready" | "in_progress" | "failed" | "done" | "cancelled");
|
|
6335
7361
|
}
|
|
6336
7362
|
export interface ZoTaskUpdateOutputV1TaskComment {
|
|
@@ -6841,7 +7867,143 @@ export interface ZoVaultUpdateOutputV1RawFormat {
|
|
|
6841
7867
|
*/
|
|
6842
7868
|
type: "raw";
|
|
6843
7869
|
}
|
|
7870
|
+
export interface ZoWebFetchInputV1 {
|
|
7871
|
+
workspace_id: string;
|
|
7872
|
+
/**
|
|
7873
|
+
* The pages to read. A URL listed twice is read and charged once and returned at each position.
|
|
7874
|
+
*
|
|
7875
|
+
* @minItems 1
|
|
7876
|
+
* @maxItems 100
|
|
7877
|
+
*
|
|
7878
|
+
* Items: An http or https URL.
|
|
7879
|
+
*/
|
|
7880
|
+
urls: [string, ...(string)[]];
|
|
7881
|
+
/**
|
|
7882
|
+
* The most text to return per page. The response size limit can shorten pages further; a shortened page is marked truncated.
|
|
7883
|
+
*/
|
|
7884
|
+
max_characters?: number;
|
|
7885
|
+
/**
|
|
7886
|
+
* Fetch each page now instead of using a cached copy. Use it for prices, status pages and anything else that changes by the hour.
|
|
7887
|
+
*/
|
|
7888
|
+
live?: boolean;
|
|
7889
|
+
}
|
|
7890
|
+
export interface ZoWebFetchOutputV1 {
|
|
7891
|
+
/**
|
|
7892
|
+
* One entry per requested URL, in the order requested. A page that couldn't be read has status failed; the call still succeeds.
|
|
7893
|
+
*/
|
|
7894
|
+
pages: (ZoWebFetchOutputV1WebPage | ZoWebFetchOutputV1WebPageFailure)[];
|
|
7895
|
+
}
|
|
7896
|
+
export interface ZoWebFetchOutputV1WebPage {
|
|
7897
|
+
/**
|
|
7898
|
+
* The URL as requested.
|
|
7899
|
+
*/
|
|
7900
|
+
url: string;
|
|
7901
|
+
status: "ok";
|
|
7902
|
+
title: (string | null);
|
|
7903
|
+
/**
|
|
7904
|
+
* The page's estimated publication date, YYYY-MM-DD.
|
|
7905
|
+
*/
|
|
7906
|
+
published_date: (string | null);
|
|
7907
|
+
author: (string | null);
|
|
7908
|
+
/**
|
|
7909
|
+
* The page's main content as Markdown.
|
|
7910
|
+
*/
|
|
7911
|
+
text: string;
|
|
7912
|
+
/**
|
|
7913
|
+
* Whether the page had more text than was returned.
|
|
7914
|
+
*/
|
|
7915
|
+
truncated: boolean;
|
|
7916
|
+
}
|
|
7917
|
+
export interface ZoWebFetchOutputV1WebPageFailure {
|
|
7918
|
+
/**
|
|
7919
|
+
* The URL as requested.
|
|
7920
|
+
*/
|
|
7921
|
+
url: string;
|
|
7922
|
+
status: "failed";
|
|
7923
|
+
/**
|
|
7924
|
+
* not_found: the page doesn't exist. blocked: the site refused access. timeout: the page took too long to load. unsupported: the URL can't be read. unavailable: anything else; trying again later may work.
|
|
7925
|
+
*/
|
|
7926
|
+
error: ("not_found" | "blocked" | "timeout" | "unsupported" | "unavailable");
|
|
7927
|
+
}
|
|
7928
|
+
export interface ZoWebSearchInputV1 {
|
|
7929
|
+
workspace_id: string;
|
|
7930
|
+
/**
|
|
7931
|
+
* Describe the pages you want, as a sentence, rather than keywords. Restrict sites with include_domains, not site: in the query.
|
|
7932
|
+
*/
|
|
7933
|
+
query: string;
|
|
7934
|
+
/**
|
|
7935
|
+
* Goal for this search turn; say which documents should rank first, which should be excluded, and what specific facts or figures to pull from them.
|
|
7936
|
+
*/
|
|
7937
|
+
objective?: (string | null);
|
|
7938
|
+
/**
|
|
7939
|
+
* Focus on one kind of page. Omit for the general web. company and people can't take published dates; people can't take exclude_domains.
|
|
7940
|
+
*/
|
|
7941
|
+
category?: (("news" | "company" | "people" | "financial_report" | "publication" | "personal_site") | null);
|
|
7942
|
+
/**
|
|
7943
|
+
* How many results to return.
|
|
7944
|
+
*/
|
|
7945
|
+
num_results?: number;
|
|
7946
|
+
/**
|
|
7947
|
+
* Only return pages from these domains.
|
|
7948
|
+
*/
|
|
7949
|
+
include_domains?: (string[] | null);
|
|
7950
|
+
/**
|
|
7951
|
+
* Never return pages from these domains.
|
|
7952
|
+
*/
|
|
7953
|
+
exclude_domains?: (string[] | null);
|
|
7954
|
+
/**
|
|
7955
|
+
* Only pages published on or after the start of this day, UTC.
|
|
7956
|
+
*/
|
|
7957
|
+
published_after?: (string | null);
|
|
7958
|
+
/**
|
|
7959
|
+
* Only pages published before the start of this day, UTC.
|
|
7960
|
+
*/
|
|
7961
|
+
published_before?: (string | null);
|
|
7962
|
+
}
|
|
7963
|
+
export interface ZoWebSearchOutputV1 {
|
|
7964
|
+
/**
|
|
7965
|
+
* Ranked pages, best first.
|
|
7966
|
+
*/
|
|
7967
|
+
results: ZoWebSearchOutputV1WebSearchHit[];
|
|
7968
|
+
/**
|
|
7969
|
+
* Notes on how the results were produced, such as a restriction in the query that was relaxed because it matched nothing. Omitted when there are none.
|
|
7970
|
+
*/
|
|
7971
|
+
notices?: (ZoWebSearchOutputV1WebNotice[] | null);
|
|
7972
|
+
}
|
|
7973
|
+
export interface ZoWebSearchOutputV1WebSearchHit {
|
|
7974
|
+
url: string;
|
|
7975
|
+
title: (string | null);
|
|
7976
|
+
/**
|
|
7977
|
+
* The page's estimated publication date, YYYY-MM-DD.
|
|
7978
|
+
*/
|
|
7979
|
+
published_date: (string | null);
|
|
7980
|
+
author: (string | null);
|
|
7981
|
+
/**
|
|
7982
|
+
* The passages most relevant to the query.
|
|
7983
|
+
*/
|
|
7984
|
+
highlights: string[];
|
|
7985
|
+
}
|
|
7986
|
+
export interface ZoWebSearchOutputV1WebNotice {
|
|
7987
|
+
/**
|
|
7988
|
+
* An open set of codes, such as RESTRICTIONS_RELAXED.
|
|
7989
|
+
*/
|
|
7990
|
+
code: string;
|
|
7991
|
+
/**
|
|
7992
|
+
* What the notice means, written for a model reading the results.
|
|
7993
|
+
*/
|
|
7994
|
+
message: string;
|
|
7995
|
+
/**
|
|
7996
|
+
* The input field the notice is about, as a JSON Pointer.
|
|
7997
|
+
*/
|
|
7998
|
+
path?: (string | null);
|
|
7999
|
+
}
|
|
6844
8000
|
export interface ZoWebsiteCreateInputV1 {
|
|
8001
|
+
/**
|
|
8002
|
+
* @maxItems 100
|
|
8003
|
+
*
|
|
8004
|
+
* Items: A tag ID or name; unknown names are created, unknown IDs are refused.
|
|
8005
|
+
*/
|
|
8006
|
+
tags?: string[];
|
|
6845
8007
|
workspace_id: string;
|
|
6846
8008
|
slug: string;
|
|
6847
8009
|
display_name: string;
|
|
@@ -7519,6 +8681,29 @@ export interface ZoWorkflowRevisionGetOutputV1 {
|
|
|
7519
8681
|
status: ZoWorkflowRevisionGetOutputV1RevisionStatus;
|
|
7520
8682
|
error_code: (string | null);
|
|
7521
8683
|
}
|
|
8684
|
+
export interface ZoWorkflowUpdateInputV1 {
|
|
8685
|
+
workflow_id: string;
|
|
8686
|
+
expected_revision: number;
|
|
8687
|
+
display_name?: (string | null);
|
|
8688
|
+
/**
|
|
8689
|
+
* Omitted or null keeps the description; "" clears it.
|
|
8690
|
+
*/
|
|
8691
|
+
description?: (string | null);
|
|
8692
|
+
}
|
|
8693
|
+
export interface ZoWorkflowUpdateOutputV1 {
|
|
8694
|
+
id: string;
|
|
8695
|
+
workspace_id: string;
|
|
8696
|
+
type: "workflow";
|
|
8697
|
+
type_version: number;
|
|
8698
|
+
display_name: string;
|
|
8699
|
+
description: string;
|
|
8700
|
+
revision: number;
|
|
8701
|
+
active_revision_id: (string | null);
|
|
8702
|
+
latest_revision_id: (string | null);
|
|
8703
|
+
created_at: string;
|
|
8704
|
+
visibility: ("workspace" | "protected");
|
|
8705
|
+
owner_user_id: (string | null);
|
|
8706
|
+
}
|
|
7522
8707
|
export interface ZoWorkspaceGetInputV1 {
|
|
7523
8708
|
workspace_id: string;
|
|
7524
8709
|
}
|
|
@@ -7644,11 +8829,54 @@ export interface MachineV1 {
|
|
|
7644
8829
|
[k: string]: string;
|
|
7645
8830
|
} | null);
|
|
7646
8831
|
credentials?: (string[] | null);
|
|
8832
|
+
outbound_network_policies?: (MachineV1OutboundNetworkPolicy[] | null);
|
|
7647
8833
|
}
|
|
7648
8834
|
export interface MachineV1MachineGpu {
|
|
7649
8835
|
type: MachineV1GpuType;
|
|
7650
8836
|
count: number;
|
|
7651
8837
|
}
|
|
8838
|
+
/**
|
|
8839
|
+
* Send one slot's credential as a header on HTTPS requests to some hosts.
|
|
8840
|
+
*/
|
|
8841
|
+
export interface MachineV1OutboundNetworkPolicy {
|
|
8842
|
+
/**
|
|
8843
|
+
* The connection ID.
|
|
8844
|
+
*/
|
|
8845
|
+
credential: string;
|
|
8846
|
+
/**
|
|
8847
|
+
* The connection definition's slot, by name.
|
|
8848
|
+
*/
|
|
8849
|
+
slot: string;
|
|
8850
|
+
hosts?: ([string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | null);
|
|
8851
|
+
location?: (MachineV1HeaderLocation | null);
|
|
8852
|
+
format?: ((MachineV1BearerFormat | MachineV1BasicFormat | MachineV1RawFormat) | null);
|
|
8853
|
+
}
|
|
8854
|
+
export interface MachineV1HeaderLocation {
|
|
8855
|
+
type: "header";
|
|
8856
|
+
/**
|
|
8857
|
+
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
8858
|
+
*/
|
|
8859
|
+
name: string;
|
|
8860
|
+
}
|
|
8861
|
+
export interface MachineV1BearerFormat {
|
|
8862
|
+
/**
|
|
8863
|
+
* `Bearer <value>`.
|
|
8864
|
+
*/
|
|
8865
|
+
type: "bearer";
|
|
8866
|
+
}
|
|
8867
|
+
export interface MachineV1BasicFormat {
|
|
8868
|
+
/**
|
|
8869
|
+
* `Basic` with base64 of `<username>:<value>`.
|
|
8870
|
+
*/
|
|
8871
|
+
type: "basic";
|
|
8872
|
+
username: string;
|
|
8873
|
+
}
|
|
8874
|
+
export interface MachineV1RawFormat {
|
|
8875
|
+
/**
|
|
8876
|
+
* The value as it is.
|
|
8877
|
+
*/
|
|
8878
|
+
type: "raw";
|
|
8879
|
+
}
|
|
7652
8880
|
export type MachineImageV1ImageOrigin = ("registry" | "build" | "machine_snapshot");
|
|
7653
8881
|
/**
|
|
7654
8882
|
* Public properties of a `machine_image` resource, type version 1: what
|
|
@@ -7781,6 +9009,27 @@ export type Operations = {
|
|
|
7781
9009
|
query: ZoAgentSessionListWorkspaceQueryV1;
|
|
7782
9010
|
};
|
|
7783
9011
|
};
|
|
9012
|
+
"zo.billing.list_rates": {
|
|
9013
|
+
1: {
|
|
9014
|
+
input: ZoBillingListRatesInputV1;
|
|
9015
|
+
output: ZoBillingListRatesOutputV1;
|
|
9016
|
+
query: ZoBillingListRatesQueryV1;
|
|
9017
|
+
};
|
|
9018
|
+
};
|
|
9019
|
+
"zo.billing.list_usage_entries": {
|
|
9020
|
+
1: {
|
|
9021
|
+
input: ZoBillingListUsageEntriesInputV1;
|
|
9022
|
+
output: ZoBillingListUsageEntriesOutputV1;
|
|
9023
|
+
query: ZoBillingListUsageEntriesQueryV1;
|
|
9024
|
+
};
|
|
9025
|
+
};
|
|
9026
|
+
"zo.billing.summarize_usage": {
|
|
9027
|
+
1: {
|
|
9028
|
+
input: ZoBillingSummarizeUsageInputV1;
|
|
9029
|
+
output: ZoBillingSummarizeUsageOutputV1;
|
|
9030
|
+
query: ZoBillingSummarizeUsageQueryV1;
|
|
9031
|
+
};
|
|
9032
|
+
};
|
|
7784
9033
|
"zo.connection.authorize": {
|
|
7785
9034
|
1: {
|
|
7786
9035
|
input: ZoConnectionAuthorizeInputV1;
|
|
@@ -8035,6 +9284,12 @@ export type Operations = {
|
|
|
8035
9284
|
output: ZoFunctionPublishContractOutputV1;
|
|
8036
9285
|
};
|
|
8037
9286
|
};
|
|
9287
|
+
"zo.function.update": {
|
|
9288
|
+
1: {
|
|
9289
|
+
input: ZoFunctionUpdateInputV1;
|
|
9290
|
+
output: ZoFunctionUpdateOutputV1;
|
|
9291
|
+
};
|
|
9292
|
+
};
|
|
8038
9293
|
"zo.machine.apply_patch": {
|
|
8039
9294
|
1: {
|
|
8040
9295
|
input: ZoMachineApplyPatchInputV1;
|
|
@@ -8152,6 +9407,12 @@ export type Operations = {
|
|
|
8152
9407
|
query: ZoMachineImageListQueryV1;
|
|
8153
9408
|
};
|
|
8154
9409
|
};
|
|
9410
|
+
"zo.machine_image.update": {
|
|
9411
|
+
1: {
|
|
9412
|
+
input: ZoMachineImageUpdateInputV1;
|
|
9413
|
+
output: ZoMachineImageUpdateOutputV1;
|
|
9414
|
+
};
|
|
9415
|
+
};
|
|
8155
9416
|
"zo.message.get": {
|
|
8156
9417
|
1: {
|
|
8157
9418
|
input: ZoMessageGetInputV1;
|
|
@@ -8189,6 +9450,19 @@ export type Operations = {
|
|
|
8189
9450
|
output: ZoOauthAppUpdateOutputV1;
|
|
8190
9451
|
};
|
|
8191
9452
|
};
|
|
9453
|
+
"zo.quota.get": {
|
|
9454
|
+
1: {
|
|
9455
|
+
input: ZoQuotaGetInputV1;
|
|
9456
|
+
output: ZoQuotaGetOutputV1;
|
|
9457
|
+
};
|
|
9458
|
+
};
|
|
9459
|
+
"zo.quota.list": {
|
|
9460
|
+
1: {
|
|
9461
|
+
input: ZoQuotaListInputV1;
|
|
9462
|
+
output: ZoQuotaListOutputV1;
|
|
9463
|
+
query: ZoQuotaListQueryV1;
|
|
9464
|
+
};
|
|
9465
|
+
};
|
|
8192
9466
|
"zo.schedule.create": {
|
|
8193
9467
|
1: {
|
|
8194
9468
|
input: ZoScheduleCreateInputV1;
|
|
@@ -8435,6 +9709,18 @@ export type Operations = {
|
|
|
8435
9709
|
output: ZoVaultUpdateOutputV1;
|
|
8436
9710
|
};
|
|
8437
9711
|
};
|
|
9712
|
+
"zo.web.fetch": {
|
|
9713
|
+
1: {
|
|
9714
|
+
input: ZoWebFetchInputV1;
|
|
9715
|
+
output: ZoWebFetchOutputV1;
|
|
9716
|
+
};
|
|
9717
|
+
};
|
|
9718
|
+
"zo.web.search": {
|
|
9719
|
+
1: {
|
|
9720
|
+
input: ZoWebSearchInputV1;
|
|
9721
|
+
output: ZoWebSearchOutputV1;
|
|
9722
|
+
};
|
|
9723
|
+
};
|
|
8438
9724
|
"zo.website.create": {
|
|
8439
9725
|
1: {
|
|
8440
9726
|
input: ZoWebsiteCreateInputV1;
|
|
@@ -8577,6 +9863,12 @@ export type Operations = {
|
|
|
8577
9863
|
output: ZoWorkflowRevisionGetOutputV1;
|
|
8578
9864
|
};
|
|
8579
9865
|
};
|
|
9866
|
+
"zo.workflow.update": {
|
|
9867
|
+
1: {
|
|
9868
|
+
input: ZoWorkflowUpdateInputV1;
|
|
9869
|
+
output: ZoWorkflowUpdateOutputV1;
|
|
9870
|
+
};
|
|
9871
|
+
};
|
|
8580
9872
|
"zo.workspace.get": {
|
|
8581
9873
|
1: {
|
|
8582
9874
|
input: ZoWorkspaceGetInputV1;
|
|
@@ -8605,6 +9897,9 @@ export type DefaultVersions = {
|
|
|
8605
9897
|
"zo.agent_session.history": 1;
|
|
8606
9898
|
"zo.agent_session.list": 1;
|
|
8607
9899
|
"zo.agent_session.list_workspace": 1;
|
|
9900
|
+
"zo.billing.list_rates": 1;
|
|
9901
|
+
"zo.billing.list_usage_entries": 1;
|
|
9902
|
+
"zo.billing.summarize_usage": 1;
|
|
8608
9903
|
"zo.connection.authorize": 1;
|
|
8609
9904
|
"zo.connection.create": 1;
|
|
8610
9905
|
"zo.connection.delete": 1;
|
|
@@ -8645,6 +9940,7 @@ export type DefaultVersions = {
|
|
|
8645
9940
|
"zo.function.list": 1;
|
|
8646
9941
|
"zo.function.list_runs": 1;
|
|
8647
9942
|
"zo.function.publish_contract": 1;
|
|
9943
|
+
"zo.function.update": 1;
|
|
8648
9944
|
"zo.machine.apply_patch": 1;
|
|
8649
9945
|
"zo.machine.create": 1;
|
|
8650
9946
|
"zo.machine.destroy": 1;
|
|
@@ -8664,12 +9960,15 @@ export type DefaultVersions = {
|
|
|
8664
9960
|
"zo.machine_image.get": 1;
|
|
8665
9961
|
"zo.machine_image.import": 1;
|
|
8666
9962
|
"zo.machine_image.list": 1;
|
|
9963
|
+
"zo.machine_image.update": 1;
|
|
8667
9964
|
"zo.message.get": 1;
|
|
8668
9965
|
"zo.oauth_app.create": 1;
|
|
8669
9966
|
"zo.oauth_app.delete": 1;
|
|
8670
9967
|
"zo.oauth_app.get": 1;
|
|
8671
9968
|
"zo.oauth_app.list": 1;
|
|
8672
9969
|
"zo.oauth_app.update": 1;
|
|
9970
|
+
"zo.quota.get": 1;
|
|
9971
|
+
"zo.quota.list": 1;
|
|
8673
9972
|
"zo.schedule.create": 1;
|
|
8674
9973
|
"zo.schedule.delete": 1;
|
|
8675
9974
|
"zo.schedule.get": 1;
|
|
@@ -8707,6 +10006,8 @@ export type DefaultVersions = {
|
|
|
8707
10006
|
"zo.vault.list": 1;
|
|
8708
10007
|
"zo.vault.rotate": 1;
|
|
8709
10008
|
"zo.vault.update": 1;
|
|
10009
|
+
"zo.web.fetch": 1;
|
|
10010
|
+
"zo.web.search": 1;
|
|
8710
10011
|
"zo.website.create": 1;
|
|
8711
10012
|
"zo.website.delete": 1;
|
|
8712
10013
|
"zo.website.get": 1;
|
|
@@ -8730,6 +10031,7 @@ export type DefaultVersions = {
|
|
|
8730
10031
|
"zo.workflow.list_runs": 1;
|
|
8731
10032
|
"zo.workflow.publish": 1;
|
|
8732
10033
|
"zo.workflow.revision.get": 1;
|
|
10034
|
+
"zo.workflow.update": 1;
|
|
8733
10035
|
"zo.workspace.get": 1;
|
|
8734
10036
|
"zo.workspace.list_resources": 1;
|
|
8735
10037
|
};
|