@tarkahq/sdk 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +69 -0
- package/README.md +700 -2
- package/api-source.json +38 -0
- package/dist/cjs/client.d.ts +114 -0
- package/dist/cjs/client.js +174 -0
- package/dist/cjs/errors.d.ts +27 -0
- package/dist/cjs/errors.js +78 -0
- package/dist/cjs/generated/google/api/annotations.d.ts +1 -0
- package/dist/cjs/generated/google/api/annotations.js +10 -0
- package/dist/cjs/generated/google/api/http.d.ts +395 -0
- package/dist/cjs/generated/google/api/http.js +421 -0
- package/dist/cjs/generated/google/protobuf/descriptor.d.ts +873 -0
- package/dist/cjs/generated/google/protobuf/descriptor.js +3992 -0
- package/dist/cjs/generated/google/protobuf/empty.d.ts +35 -0
- package/dist/cjs/generated/google/protobuf/empty.js +58 -0
- package/dist/cjs/generated/google/protobuf/struct.d.ts +127 -0
- package/dist/cjs/generated/google/protobuf/struct.js +529 -0
- package/dist/cjs/generated/google/protobuf/timestamp.d.ts +128 -0
- package/dist/cjs/generated/google/protobuf/timestamp.js +95 -0
- package/dist/cjs/generated/protoc-gen-openapiv2/options/annotations.d.ts +1 -0
- package/dist/cjs/generated/protoc-gen-openapiv2/options/annotations.js +10 -0
- package/dist/cjs/generated/protoc-gen-openapiv2/options/openapiv2.d.ts +983 -0
- package/dist/cjs/generated/protoc-gen-openapiv2/options/openapiv2.js +4874 -0
- package/dist/cjs/generated/tarka/access/v1/access.d.ts +322 -0
- package/dist/cjs/generated/tarka/access/v1/access.js +2979 -0
- package/dist/cjs/generated/tarka/channels/v1/channels.d.ts +370 -0
- package/dist/cjs/generated/tarka/channels/v1/channels.js +3603 -0
- package/dist/cjs/generated/tarka/gateway/v1/gateway.d.ts +804 -0
- package/dist/cjs/generated/tarka/gateway/v1/gateway.js +8081 -0
- package/dist/cjs/generated/tarka/iam/v1/iam.d.ts +1291 -0
- package/dist/cjs/generated/tarka/iam/v1/iam.js +13207 -0
- package/dist/cjs/generated/tarka/inference/v1/inference.d.ts +699 -0
- package/dist/cjs/generated/tarka/inference/v1/inference.js +7058 -0
- package/dist/cjs/generated/tarka/provisioning/v1/agent_secrets.d.ts +70 -0
- package/dist/cjs/generated/tarka/provisioning/v1/agent_secrets.js +603 -0
- package/dist/cjs/generated/tarka/provisioning/v1/billing_quote.d.ts +171 -0
- package/dist/cjs/generated/tarka/provisioning/v1/billing_quote.js +1588 -0
- package/dist/cjs/generated/tarka/provisioning/v1/job.d.ts +168 -0
- package/dist/cjs/generated/tarka/provisioning/v1/job.js +1505 -0
- package/dist/cjs/generated/tarka/provisioning/v1/provisioning.d.ts +2644 -0
- package/dist/cjs/generated/tarka/provisioning/v1/provisioning.js +19501 -0
- package/dist/cjs/generated/tarka/provisioning/v1/registry_credentials.d.ts +89 -0
- package/dist/cjs/generated/tarka/provisioning/v1/registry_credentials.js +856 -0
- package/dist/cjs/generated/tarka/provisioning/v1/sandbox.d.ts +431 -0
- package/dist/cjs/generated/tarka/provisioning/v1/sandbox.js +3203 -0
- package/dist/cjs/generated/tarka/provisioning/v1/source_builds.d.ts +291 -0
- package/dist/cjs/generated/tarka/provisioning/v1/source_builds.js +3920 -0
- package/dist/cjs/grpc.d.ts +12 -0
- package/dist/cjs/grpc.js +55 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.js +21 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/resources/inference.d.ts +293 -0
- package/dist/cjs/resources/inference.js +451 -0
- package/dist/cjs/resources/provisioning.d.ts +389 -0
- package/dist/cjs/resources/provisioning.js +552 -0
- package/dist/cjs/resources/sandboxes.d.ts +360 -0
- package/dist/cjs/resources/sandboxes.js +732 -0
- package/dist/cjs/rpc-types.d.ts +36 -0
- package/dist/cjs/rpc-types.js +29 -0
- package/dist/cjs/runtime.d.ts +99 -0
- package/dist/cjs/runtime.js +473 -0
- package/dist/cjs/transport.d.ts +60 -0
- package/dist/cjs/transport.js +114 -0
- package/dist/cjs/types.d.ts +309 -0
- package/dist/cjs/types.js +2 -0
- package/dist/esm/client.d.ts +114 -0
- package/dist/esm/client.js +169 -0
- package/dist/esm/errors.d.ts +27 -0
- package/dist/esm/errors.js +71 -0
- package/dist/esm/generated/google/api/annotations.d.ts +1 -0
- package/dist/esm/generated/google/api/annotations.js +7 -0
- package/dist/esm/generated/google/api/http.d.ts +395 -0
- package/dist/esm/generated/google/api/http.js +418 -0
- package/dist/esm/generated/google/protobuf/descriptor.d.ts +873 -0
- package/dist/esm/generated/google/protobuf/descriptor.js +3977 -0
- package/dist/esm/generated/google/protobuf/empty.d.ts +35 -0
- package/dist/esm/generated/google/protobuf/empty.js +55 -0
- package/dist/esm/generated/google/protobuf/struct.d.ts +127 -0
- package/dist/esm/generated/google/protobuf/struct.js +524 -0
- package/dist/esm/generated/google/protobuf/timestamp.d.ts +128 -0
- package/dist/esm/generated/google/protobuf/timestamp.js +92 -0
- package/dist/esm/generated/protoc-gen-openapiv2/options/annotations.d.ts +1 -0
- package/dist/esm/generated/protoc-gen-openapiv2/options/annotations.js +7 -0
- package/dist/esm/generated/protoc-gen-openapiv2/options/openapiv2.d.ts +983 -0
- package/dist/esm/generated/protoc-gen-openapiv2/options/openapiv2.js +4859 -0
- package/dist/esm/generated/tarka/access/v1/access.d.ts +322 -0
- package/dist/esm/generated/tarka/access/v1/access.js +2976 -0
- package/dist/esm/generated/tarka/channels/v1/channels.d.ts +370 -0
- package/dist/esm/generated/tarka/channels/v1/channels.js +3600 -0
- package/dist/esm/generated/tarka/gateway/v1/gateway.d.ts +804 -0
- package/dist/esm/generated/tarka/gateway/v1/gateway.js +8077 -0
- package/dist/esm/generated/tarka/iam/v1/iam.d.ts +1291 -0
- package/dist/esm/generated/tarka/iam/v1/iam.js +13203 -0
- package/dist/esm/generated/tarka/inference/v1/inference.d.ts +699 -0
- package/dist/esm/generated/tarka/inference/v1/inference.js +7055 -0
- package/dist/esm/generated/tarka/provisioning/v1/agent_secrets.d.ts +70 -0
- package/dist/esm/generated/tarka/provisioning/v1/agent_secrets.js +600 -0
- package/dist/esm/generated/tarka/provisioning/v1/billing_quote.d.ts +171 -0
- package/dist/esm/generated/tarka/provisioning/v1/billing_quote.js +1585 -0
- package/dist/esm/generated/tarka/provisioning/v1/job.d.ts +168 -0
- package/dist/esm/generated/tarka/provisioning/v1/job.js +1500 -0
- package/dist/esm/generated/tarka/provisioning/v1/provisioning.d.ts +2644 -0
- package/dist/esm/generated/tarka/provisioning/v1/provisioning.js +19496 -0
- package/dist/esm/generated/tarka/provisioning/v1/registry_credentials.d.ts +89 -0
- package/dist/esm/generated/tarka/provisioning/v1/registry_credentials.js +853 -0
- package/dist/esm/generated/tarka/provisioning/v1/sandbox.d.ts +431 -0
- package/dist/esm/generated/tarka/provisioning/v1/sandbox.js +3192 -0
- package/dist/esm/generated/tarka/provisioning/v1/source_builds.d.ts +291 -0
- package/dist/esm/generated/tarka/provisioning/v1/source_builds.js +3917 -0
- package/dist/esm/grpc.d.ts +12 -0
- package/dist/esm/grpc.js +11 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/resources/inference.d.ts +293 -0
- package/dist/esm/resources/inference.js +437 -0
- package/dist/esm/resources/provisioning.d.ts +389 -0
- package/dist/esm/resources/provisioning.js +531 -0
- package/dist/esm/resources/sandboxes.d.ts +360 -0
- package/dist/esm/resources/sandboxes.js +718 -0
- package/dist/esm/rpc-types.d.ts +36 -0
- package/dist/esm/rpc-types.js +26 -0
- package/dist/esm/runtime.d.ts +99 -0
- package/dist/esm/runtime.js +466 -0
- package/dist/esm/transport.d.ts +60 -0
- package/dist/esm/transport.js +110 -0
- package/dist/esm/types.d.ts +309 -0
- package/dist/esm/types.js +1 -0
- package/package.json +155 -4
|
@@ -0,0 +1,2644 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { AgentHostSecretBundle, GetAgentHostSecretsRequest, PrepareAgentHostSecretsRequest, UploadAgentHostSecretsRequest } from "./agent_secrets.js";
|
|
3
|
+
import { AcceptUsagePolicyRequest, AdmissionAssessment, ComputeQuote, CreateComputeQuoteRequest, GetUsagePolicyRequest, UsagePolicy } from "./billing_quote.js";
|
|
4
|
+
import { CancelJobRunRequest, GetJobRequest, GetJobRunRequest, GetJobRunResultRequest, JobResources, JobRetryPolicy, JobRun, JobRunResult, ListJobRunsRequest, ListJobRunsResponse } from "./job.js";
|
|
5
|
+
import { AgentHostRegistryCredential, AgentHostRegistryTest, CancelAgentHostRegistryTestRequest, GetAgentHostRegistryTestRequest, StartAgentHostRegistryTestRequest } from "./registry_credentials.js";
|
|
6
|
+
import { CancelSourceBuildRequest, ConnectGitHubSourceRequest, ConnectHostedGitSourceRequest, DisconnectSourceConnectionRequest, GetSourceBuildLogsRequest, GetSourceBuildLogsResponse, GetSourceBuildRequest, GetSourceCapabilitiesRequest, GetSourceCapabilitiesResponse, GitHubSourceAuthorization, ListGitHubSourceInstallationsRequest, ListGitHubSourceInstallationsResponse, ListGitHubSourceRepositoriesRequest, ListGitHubSourceRepositoriesResponse, ListSourceBuildsRequest, ListSourceBuildsResponse, ListSourceConnectionsRequest, ListSourceConnectionsResponse, ListSourceTargetsRequest, ListSourceTargetsResponse, PrepareSourceDeploymentRequest, PrepareSourceDeploymentResponse, PreviewSourceRequest, PreviewSourceResponse, PutSourceTargetRequest, SourceBuild, SourceConnection, SourceTarget, StartGitHubSourceAuthorizationRequest, StartSourceBuildRequest } from "./source_builds.js";
|
|
7
|
+
export declare const protobufPackage = "tarka.provisioning.v1";
|
|
8
|
+
/**
|
|
9
|
+
* GetInferenceCaptureRequest identifies the organization, not a bucket supplied
|
|
10
|
+
* by the caller. Existing organization membership checks apply.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetInferenceCaptureRequest {
|
|
13
|
+
orgId: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* UpdateInferenceCaptureRequest replaces the organization-wide capture setting.
|
|
17
|
+
* Disabling stops new capture and does not delete existing objects.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateInferenceCaptureRequest {
|
|
20
|
+
orgId: string;
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
/** Zero retains objects until deletion; other supported values are 7, 30, 90. */
|
|
23
|
+
retentionDays: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* InferenceCapture describes customer-controlled S3 delivery, independent of
|
|
27
|
+
* Responses store:true and free Himalaya's Tarka-owned evaluation archive.
|
|
28
|
+
*/
|
|
29
|
+
export interface InferenceCapture {
|
|
30
|
+
orgId: string;
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
retentionDays: number;
|
|
33
|
+
bucketId: string;
|
|
34
|
+
bucketName: string;
|
|
35
|
+
deliveredLast24h: bigint;
|
|
36
|
+
failedLast24h: bigint;
|
|
37
|
+
pending: bigint;
|
|
38
|
+
lastDeliveredAt: Date | undefined;
|
|
39
|
+
/** A fixed diagnostic code; never includes payload content or storage secrets. */
|
|
40
|
+
lastErrorCode: string;
|
|
41
|
+
}
|
|
42
|
+
/** GetCurrentUserRequest has no parameters; identity comes from authentication. */
|
|
43
|
+
export interface GetCurrentUserRequest {
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* BootstrapCurrentUserRequest customizes the first organization created for an
|
|
47
|
+
* identity. An empty org_name lets the server derive a display name.
|
|
48
|
+
*/
|
|
49
|
+
export interface BootstrapCurrentUserRequest {
|
|
50
|
+
/** org_name is the initial organization's human-readable name. */
|
|
51
|
+
orgName: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* CreateOrgRequest creates an additional organization for the authenticated
|
|
55
|
+
* identity. The caller becomes its owner.
|
|
56
|
+
*/
|
|
57
|
+
export interface CreateOrgRequest {
|
|
58
|
+
/** name is a non-empty human-readable name of at most 120 characters. */
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* slug is an optional immutable URL-safe identifier. When empty, the server
|
|
62
|
+
* allocates one from the name. Explicit slugs must be globally unique.
|
|
63
|
+
*/
|
|
64
|
+
slug: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* RequestProductAccessRequest submits interest in a product that requires an
|
|
68
|
+
* entitlement decision. The authenticated caller must be an active member of
|
|
69
|
+
* org_id. contact_email defaults to the authenticated account email.
|
|
70
|
+
*/
|
|
71
|
+
export interface RequestProductAccessRequest {
|
|
72
|
+
orgId: string;
|
|
73
|
+
/**
|
|
74
|
+
* product is one of inference, utilities, agents, jobs, sandboxes, storage,
|
|
75
|
+
* or git.
|
|
76
|
+
*/
|
|
77
|
+
product: string;
|
|
78
|
+
/**
|
|
79
|
+
* product_detail identifies the requested tier or product variant when one
|
|
80
|
+
* exists, for example agent_hosts or job_runners.
|
|
81
|
+
*/
|
|
82
|
+
productDetail: string;
|
|
83
|
+
contactEmail: string;
|
|
84
|
+
company: string;
|
|
85
|
+
useCase: string;
|
|
86
|
+
}
|
|
87
|
+
/** ListProductAccessRequestsRequest selects recent organization requests. */
|
|
88
|
+
export interface ListProductAccessRequestsRequest {
|
|
89
|
+
orgId: string;
|
|
90
|
+
/** product optionally filters by the canonical product identifier. */
|
|
91
|
+
product: string;
|
|
92
|
+
/** limit defaults to 25 and is capped at 100. */
|
|
93
|
+
limit: number;
|
|
94
|
+
}
|
|
95
|
+
/** ListProductAccessRequestsResponse contains newest requests first. */
|
|
96
|
+
export interface ListProductAccessRequestsResponse {
|
|
97
|
+
requests: ProductAccessRequest[];
|
|
98
|
+
}
|
|
99
|
+
/** ProductAccessRequest is the durable status of one product-access request. */
|
|
100
|
+
export interface ProductAccessRequest {
|
|
101
|
+
id: string;
|
|
102
|
+
orgId: string;
|
|
103
|
+
userId: string;
|
|
104
|
+
product: string;
|
|
105
|
+
productDetail: string;
|
|
106
|
+
contactEmail: string;
|
|
107
|
+
company: string;
|
|
108
|
+
useCase: string;
|
|
109
|
+
/** status is draft, submitted, approved, live, or declined. */
|
|
110
|
+
status: string;
|
|
111
|
+
createdAt: Date | undefined;
|
|
112
|
+
updatedAt: Date | undefined;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* EnsureHostedGitAccessRequest has no parameters; identity comes from
|
|
116
|
+
* authentication.
|
|
117
|
+
*/
|
|
118
|
+
export interface EnsureHostedGitAccessRequest {
|
|
119
|
+
}
|
|
120
|
+
/** HostedGitAccess describes the caller's hosted Git identity. */
|
|
121
|
+
export interface HostedGitAccess {
|
|
122
|
+
/** status is the reconciliation state of hosted Git access. */
|
|
123
|
+
status: string;
|
|
124
|
+
/** forgejo_username is the stable username on Tarka's hosted Git service. */
|
|
125
|
+
forgejoUsername: string;
|
|
126
|
+
/** web_url opens the hosted Git user interface. */
|
|
127
|
+
webUrl: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* CurrentUser is the authenticated platform identity and its active
|
|
131
|
+
* organization memberships.
|
|
132
|
+
*/
|
|
133
|
+
export interface CurrentUser {
|
|
134
|
+
/** user_id is the stable platform identity identifier. */
|
|
135
|
+
userId: string;
|
|
136
|
+
/** email is the identity's current email address, when available. */
|
|
137
|
+
email: string;
|
|
138
|
+
/** orgs contains active organizations in membership creation order. */
|
|
139
|
+
orgs: Org[];
|
|
140
|
+
/** default_org_id is the first active organization, or empty when none exists. */
|
|
141
|
+
defaultOrgId: string;
|
|
142
|
+
/**
|
|
143
|
+
* entitlements contains the caller's current server-authoritative product
|
|
144
|
+
* access decisions. API keys never grant access beyond these decisions.
|
|
145
|
+
*/
|
|
146
|
+
entitlements: ProductEntitlement[];
|
|
147
|
+
}
|
|
148
|
+
/** ProductEntitlement describes one user-level product access decision. */
|
|
149
|
+
export interface ProductEntitlement {
|
|
150
|
+
/**
|
|
151
|
+
* product is a canonical identifier such as "himalaya", "inference",
|
|
152
|
+
* "utilities", "agents", "jobs", "sandboxes", "storage", or "git".
|
|
153
|
+
*/
|
|
154
|
+
product: string;
|
|
155
|
+
/**
|
|
156
|
+
* status is pending, approved, expired, suspended, or revoked. Expired is
|
|
157
|
+
* an effective status returned when an otherwise-approved grant is past its
|
|
158
|
+
* optional expires_at timestamp.
|
|
159
|
+
*/
|
|
160
|
+
status: string;
|
|
161
|
+
/** approved_at is populated when status is approved. */
|
|
162
|
+
approvedAt: Date | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* expires_at is the optional instant after which this grant stops
|
|
165
|
+
* authorizing requests. The server enforces it on every request.
|
|
166
|
+
*/
|
|
167
|
+
expiresAt: Date | undefined;
|
|
168
|
+
}
|
|
169
|
+
/** Org is an organization as visible to the authenticated caller. */
|
|
170
|
+
export interface Org {
|
|
171
|
+
/** id is the immutable organization identifier. */
|
|
172
|
+
id: string;
|
|
173
|
+
/** slug is the immutable URL-safe organization name. */
|
|
174
|
+
slug: string;
|
|
175
|
+
/** name is the mutable human-readable organization name. */
|
|
176
|
+
name: string;
|
|
177
|
+
/** status is the organization's lifecycle state. */
|
|
178
|
+
status: string;
|
|
179
|
+
/** role is the caller's role in this organization. */
|
|
180
|
+
role: string;
|
|
181
|
+
/** created_at is the organization creation time. */
|
|
182
|
+
createdAt: Date | undefined;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* OrgMember describes one identity's access to an organization. Email is
|
|
186
|
+
* included so organization members can identify collaborators in the console.
|
|
187
|
+
*/
|
|
188
|
+
export interface OrgMember {
|
|
189
|
+
userId: string;
|
|
190
|
+
email: string;
|
|
191
|
+
role: string;
|
|
192
|
+
status: string;
|
|
193
|
+
createdAt: Date | undefined;
|
|
194
|
+
}
|
|
195
|
+
/** ListOrgMembersRequest selects one organization visible to the caller. */
|
|
196
|
+
export interface ListOrgMembersRequest {
|
|
197
|
+
orgId: string;
|
|
198
|
+
}
|
|
199
|
+
/** ListOrgMembersResponse contains memberships in creation order. */
|
|
200
|
+
export interface ListOrgMembersResponse {
|
|
201
|
+
members: OrgMember[];
|
|
202
|
+
}
|
|
203
|
+
/** ListModelsRequest selects active models by modality. */
|
|
204
|
+
export interface ListModelsRequest {
|
|
205
|
+
/** modality is an exact modality filter; empty returns every active model. */
|
|
206
|
+
modality: string;
|
|
207
|
+
}
|
|
208
|
+
/** ListModelsResponse contains the active model catalog. */
|
|
209
|
+
export interface ListModelsResponse {
|
|
210
|
+
models: Model[];
|
|
211
|
+
}
|
|
212
|
+
/** Model describes a stable Tarka model alias and its metering metadata. */
|
|
213
|
+
export interface Model {
|
|
214
|
+
/** id is the immutable model-registry identifier. */
|
|
215
|
+
id: string;
|
|
216
|
+
/** model_alias is the stable customer-facing identifier used in requests. */
|
|
217
|
+
modelAlias: string;
|
|
218
|
+
/** display_name is a human-readable model name. */
|
|
219
|
+
displayName: string;
|
|
220
|
+
/** backend identifies the serving implementation. */
|
|
221
|
+
backend: string;
|
|
222
|
+
/** modality classifies the model's input/output family. */
|
|
223
|
+
modality: string;
|
|
224
|
+
/** status is the catalog lifecycle state. */
|
|
225
|
+
status: string;
|
|
226
|
+
/** provider_slug identifies the upstream provider, when applicable. */
|
|
227
|
+
providerSlug: string;
|
|
228
|
+
/** upstream_model is the provider's model identifier, when applicable. */
|
|
229
|
+
upstreamModel: string;
|
|
230
|
+
/** context_window is the maximum supported token context, when known. */
|
|
231
|
+
contextWindow: bigint;
|
|
232
|
+
/**
|
|
233
|
+
* price_input_microcents_per_million is the input-token price. One
|
|
234
|
+
* microcent is USD 0.00000001.
|
|
235
|
+
*/
|
|
236
|
+
priceInputMicrocentsPerMillion: bigint;
|
|
237
|
+
/**
|
|
238
|
+
* price_output_microcents_per_million is the output-token price. One
|
|
239
|
+
* microcent is USD 0.00000001.
|
|
240
|
+
*/
|
|
241
|
+
priceOutputMicrocentsPerMillion: bigint;
|
|
242
|
+
/** capabilities contains model-specific, non-secret feature metadata. */
|
|
243
|
+
capabilities: {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
} | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* access_product is the server-authoritative API-key scope and user
|
|
248
|
+
* entitlement required to use this model: himalaya, inference, or utilities.
|
|
249
|
+
*/
|
|
250
|
+
accessProduct: string;
|
|
251
|
+
priceCachedInputMicrocentsPerMillion: bigint;
|
|
252
|
+
priceAudioMicrocentsPerSecond: bigint;
|
|
253
|
+
pricePageMicrocents: bigint;
|
|
254
|
+
pricingVersion: string;
|
|
255
|
+
}
|
|
256
|
+
/** GetPricingCatalogRequest reads the currently published retail prices. */
|
|
257
|
+
export interface GetPricingCatalogRequest {
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* PricingCatalog is versioned. All monetary integers are USD microcents,
|
|
261
|
+
* with explicit denominators for tokens, seconds and compute periods.
|
|
262
|
+
*/
|
|
263
|
+
export interface PricingCatalog {
|
|
264
|
+
version: string;
|
|
265
|
+
active: boolean;
|
|
266
|
+
catalog: {
|
|
267
|
+
[key: string]: any;
|
|
268
|
+
} | undefined;
|
|
269
|
+
}
|
|
270
|
+
/** CreateInferenceServiceRequest defines desired state for an inference service. */
|
|
271
|
+
export interface CreateInferenceServiceRequest {
|
|
272
|
+
orgId: string;
|
|
273
|
+
/** name must be a DNS label and is unique per organization/resource type. */
|
|
274
|
+
name: string;
|
|
275
|
+
/** model_alias must refer to an active entry returned by ListModels. */
|
|
276
|
+
modelAlias: string;
|
|
277
|
+
/** min_replicas is the non-negative lower autoscaling bound. */
|
|
278
|
+
minReplicas: number;
|
|
279
|
+
/**
|
|
280
|
+
* max_replicas is the non-negative upper autoscaling bound; zero means the
|
|
281
|
+
* platform default.
|
|
282
|
+
*/
|
|
283
|
+
maxReplicas: number;
|
|
284
|
+
/** spec carries non-secret extension fields. Typed fields take precedence. */
|
|
285
|
+
spec: {
|
|
286
|
+
[key: string]: any;
|
|
287
|
+
} | undefined;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* CreateAgentHostRequest applies desired state for a complete Agent Host
|
|
291
|
+
* Compose stack. Existing single-image callers remain supported and are
|
|
292
|
+
* normalized into a one-service stack.
|
|
293
|
+
*/
|
|
294
|
+
export interface CreateAgentHostRequest {
|
|
295
|
+
orgId: string;
|
|
296
|
+
/** name must be a DNS label and is unique per organization/resource type. */
|
|
297
|
+
name: string;
|
|
298
|
+
/** image is a container image reference; embedded credentials are forbidden. */
|
|
299
|
+
image: string;
|
|
300
|
+
/** container_port is the service port; zero selects the platform default. */
|
|
301
|
+
containerPort: number;
|
|
302
|
+
minReplicas: number;
|
|
303
|
+
/** max_replicas is the upper bound; zero selects the platform default. */
|
|
304
|
+
maxReplicas: number;
|
|
305
|
+
/** spec carries non-secret extension fields. Typed fields take precedence. */
|
|
306
|
+
spec: {
|
|
307
|
+
[key: string]: any;
|
|
308
|
+
} | undefined;
|
|
309
|
+
/**
|
|
310
|
+
* template_id selects a versioned Tarka template such as openclaw, hermes,
|
|
311
|
+
* or onyx. It is mutually exclusive with compose_yaml and image.
|
|
312
|
+
*/
|
|
313
|
+
templateId: string;
|
|
314
|
+
/**
|
|
315
|
+
* compose_yaml contains an inline Compose Specification document. Runtime
|
|
316
|
+
* secret values must be supplied through variables and must not be embedded
|
|
317
|
+
* in this document.
|
|
318
|
+
*/
|
|
319
|
+
composeYaml: string;
|
|
320
|
+
/**
|
|
321
|
+
* variables supplies Compose interpolation values. Secret values are
|
|
322
|
+
* encrypted separately and never returned in ProvisionedResource.spec.
|
|
323
|
+
*/
|
|
324
|
+
variables: AgentHostVariable[];
|
|
325
|
+
/**
|
|
326
|
+
* public_service optionally overrides the service exposed at the stack's
|
|
327
|
+
* generated HTTPS hostname. An x-tarka.routes extension can expose multiple
|
|
328
|
+
* service paths without this override.
|
|
329
|
+
*/
|
|
330
|
+
publicService: string;
|
|
331
|
+
/**
|
|
332
|
+
* public_port is required when public_service is set unless the service has
|
|
333
|
+
* exactly one declared port.
|
|
334
|
+
*/
|
|
335
|
+
publicPort: number;
|
|
336
|
+
/** tier is the platform capacity profile. Empty selects the beta default. */
|
|
337
|
+
tier: string;
|
|
338
|
+
/**
|
|
339
|
+
* runtime configures Tarka-managed model access, runtime-specific gateway
|
|
340
|
+
* files, and the Compose services that receive the managed environment.
|
|
341
|
+
* It is optional for backward compatibility.
|
|
342
|
+
*/
|
|
343
|
+
runtime: AgentHostRuntimeConfiguration | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* github_registry_credentials controls private ghcr.io pulls for custom Compose
|
|
346
|
+
* only. Omission preserves the saved credentials; replacement requires both
|
|
347
|
+
* username and token. Plaintext tokens are write-only and never echoed.
|
|
348
|
+
*/
|
|
349
|
+
githubRegistryCredentials: AgentHostGitHubRegistryCredentials | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* Validate and return spec.billing_quote without creating or changing a host.
|
|
352
|
+
* The quote uses the organization billing currency; admission reserves credit at apply time.
|
|
353
|
+
*/
|
|
354
|
+
dryRun: boolean;
|
|
355
|
+
/** Optional for legacy EU clients; binds the normalized allocation at creation. */
|
|
356
|
+
acceptedQuoteId: string;
|
|
357
|
+
/**
|
|
358
|
+
* US East Agent Hosts: combined forwarded bytes per renewable five-minute
|
|
359
|
+
* allowance. Omitted uses 1 GiB for a new host and preserves an existing
|
|
360
|
+
* host's allowance. Zero disables public ingress and outbound networking.
|
|
361
|
+
* EU hosts must omit this field; their existing network policy is unchanged.
|
|
362
|
+
*/
|
|
363
|
+
maxNetworkBytes?: bigint | undefined;
|
|
364
|
+
/**
|
|
365
|
+
* An uploaded, unexpired bundle bound to this organization, name and revision.
|
|
366
|
+
* Consumed atomically on apply; dry runs may reuse it without consuming it.
|
|
367
|
+
*/
|
|
368
|
+
secretsBundleId: string;
|
|
369
|
+
/**
|
|
370
|
+
* Applies a successful, unexpired pull test's complete named-credential set.
|
|
371
|
+
* Bound to organization, host name, current credential versions and images.
|
|
372
|
+
* Mutually exclusive with github_registry_credentials. Omission preserves
|
|
373
|
+
* named credentials. Dry runs do not consume the test; apply consumes it once.
|
|
374
|
+
*/
|
|
375
|
+
registryTestId: string;
|
|
376
|
+
/**
|
|
377
|
+
* location selects where the host runs, such as "eu-1" or "us-1" (see
|
|
378
|
+
* ListLocations). Empty selects the default location for a new host and
|
|
379
|
+
* keeps the current location for an existing one. A host cannot move:
|
|
380
|
+
* changing the location of an existing host is rejected.
|
|
381
|
+
*/
|
|
382
|
+
location: string;
|
|
383
|
+
}
|
|
384
|
+
export interface SetAgentHostRunningRequest {
|
|
385
|
+
orgId: string;
|
|
386
|
+
agentHostId: string;
|
|
387
|
+
running: boolean;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* AgentHostGitHubRegistryCredentials changes this host's ghcr.io credentials.
|
|
391
|
+
* A classic GitHub PAT needs read:packages and access to every referenced image.
|
|
392
|
+
*/
|
|
393
|
+
export interface AgentHostGitHubRegistryCredentials {
|
|
394
|
+
/** username is the token owner's GitHub login, not the package organization. */
|
|
395
|
+
username: string;
|
|
396
|
+
/** token is a write-only classic PAT. It is encrypted before persistence. */
|
|
397
|
+
token: string;
|
|
398
|
+
/**
|
|
399
|
+
* remove clears saved credentials and is mutually exclusive with username/token.
|
|
400
|
+
* The resulting Compose images must be accessible anonymously.
|
|
401
|
+
*/
|
|
402
|
+
remove: boolean;
|
|
403
|
+
}
|
|
404
|
+
/** AgentHostGitHubRegistryAccess contains only non-secret saved credential metadata. */
|
|
405
|
+
export interface AgentHostGitHubRegistryAccess {
|
|
406
|
+
username: string;
|
|
407
|
+
configured: boolean;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* AgentHostVariable is one Compose interpolation value. Values marked secret
|
|
411
|
+
* are accepted once over TLS, encrypted at rest, mounted from Kubernetes
|
|
412
|
+
* Secrets, and redacted from all read responses.
|
|
413
|
+
*/
|
|
414
|
+
export interface AgentHostVariable {
|
|
415
|
+
name: string;
|
|
416
|
+
value: string;
|
|
417
|
+
secret: boolean;
|
|
418
|
+
/**
|
|
419
|
+
* preserve_existing reuses the encrypted value from the active revision.
|
|
420
|
+
* It is valid only for secret variables during an update and is returned by
|
|
421
|
+
* GetAgentHostConfiguration when an encrypted value already exists.
|
|
422
|
+
*/
|
|
423
|
+
preserveExisting: boolean;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* AgentHostRuntimeConfiguration describes Tarka-managed configuration layered
|
|
427
|
+
* onto a Compose stack without exposing the host-bound platform credential.
|
|
428
|
+
*/
|
|
429
|
+
export interface AgentHostRuntimeConfiguration {
|
|
430
|
+
/**
|
|
431
|
+
* primary_model_alias is an active chat model selected from ListModels.
|
|
432
|
+
* When empty, a new host starts on its template's default model, or the
|
|
433
|
+
* platform default for a stack without a template. An update keeps the
|
|
434
|
+
* model saved in the host's latest revision, and fails if that model is no
|
|
435
|
+
* longer available. It is mutually exclusive with model_endpoint: naming a
|
|
436
|
+
* Tarka model moves a host off its own endpoint and discards the stored key.
|
|
437
|
+
*/
|
|
438
|
+
primaryModelAlias: string;
|
|
439
|
+
/** gateways contains the messaging integrations enabled for this revision. */
|
|
440
|
+
gateways: AgentHostGatewayConfiguration[];
|
|
441
|
+
/**
|
|
442
|
+
* platform_services names Compose services that receive managed runtime
|
|
443
|
+
* configuration and non-secret TARKA_* discovery environment variables.
|
|
444
|
+
*/
|
|
445
|
+
platformServices: string[];
|
|
446
|
+
/**
|
|
447
|
+
* model_endpoint runs the host's chat model on an OpenAI-compatible
|
|
448
|
+
* endpoint with a key the customer brings, instead of a Tarka model. The
|
|
449
|
+
* host's platform gateway at http://tarka/v1 forwards requests for
|
|
450
|
+
* model_endpoint.model to that endpoint with that key; utility models
|
|
451
|
+
* (speech, OCR, embeddings, rerank) stay on Tarka. The provider bills the
|
|
452
|
+
* model's usage; Tarka bills the host. Mutually exclusive with
|
|
453
|
+
* primary_model_alias. When both are omitted, an update keeps the host's
|
|
454
|
+
* current choice, including its stored key; an empty model_endpoint message
|
|
455
|
+
* counts as omitted. The variable name TARKA_MODEL_API_KEY is reserved for
|
|
456
|
+
* the key: no stack variable may use it and no Compose file may mention it.
|
|
457
|
+
*/
|
|
458
|
+
modelEndpoint: AgentHostModelEndpoint | undefined;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* AgentHostModelEndpoint is a customer-supplied, OpenAI-compatible chat model
|
|
462
|
+
* endpoint. The key is write-only: it is encrypted at rest, mounted only into
|
|
463
|
+
* the host's platform gateway (never into the stack's own containers), and
|
|
464
|
+
* never returned. GetAgentHostConfiguration returns base_url and model with
|
|
465
|
+
* api_key empty and preserve_existing_api_key true while a key is stored.
|
|
466
|
+
*/
|
|
467
|
+
export interface AgentHostModelEndpoint {
|
|
468
|
+
/**
|
|
469
|
+
* base_url is the provider's OpenAI-compatible API base, such as
|
|
470
|
+
* https://openrouter.ai/api/v1. The gateway appends the part of the request
|
|
471
|
+
* path after /v1, so /v1/chat/completions is sent to
|
|
472
|
+
* https://openrouter.ai/api/v1/chat/completions. It must use HTTPS on port
|
|
473
|
+
* 443 and a public DNS name, not an IP address, and carry no credentials,
|
|
474
|
+
* query or fragment. It is stored normalized: lower-case host, no default
|
|
475
|
+
* port and no trailing slash.
|
|
476
|
+
*/
|
|
477
|
+
baseUrl: string;
|
|
478
|
+
/**
|
|
479
|
+
* model is the provider's model ID, sent unchanged, such as
|
|
480
|
+
* "anthropic/claude-sonnet-5.5" on OpenRouter. Workloads in the host select
|
|
481
|
+
* it by this ID; the host's managed runtimes are configured with it.
|
|
482
|
+
* Surrounding whitespace is removed. It must not equal one of the host's
|
|
483
|
+
* Tarka utility model aliases, since the gateway routes by model ID.
|
|
484
|
+
*/
|
|
485
|
+
model: string;
|
|
486
|
+
/**
|
|
487
|
+
* api_key is the provider key, sent as a Bearer token. Write-only.
|
|
488
|
+
* Surrounding whitespace is removed. A secret bundle (secrets_bundle_id) may
|
|
489
|
+
* supply it instead, under the name TARKA_MODEL_API_KEY, when this field is
|
|
490
|
+
* empty and preserve_existing_api_key is false; the request must then name
|
|
491
|
+
* base_url and model.
|
|
492
|
+
*/
|
|
493
|
+
apiKey: string;
|
|
494
|
+
/**
|
|
495
|
+
* preserve_existing_api_key keeps the key stored on the host's latest
|
|
496
|
+
* revision. It is valid only on an update of a host that has one, and only
|
|
497
|
+
* while base_url keeps the host name the key was given for: a stored key is
|
|
498
|
+
* never sent to another host. It is mutually exclusive with api_key.
|
|
499
|
+
*/
|
|
500
|
+
preserveExistingApiKey: boolean;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* AgentHostGatewayConfiguration contains one runtime-specific messaging
|
|
504
|
+
* integration. config_yaml contains non-secret advanced settings. Credentials
|
|
505
|
+
* are supplied separately through variables and encrypted at rest.
|
|
506
|
+
*/
|
|
507
|
+
export interface AgentHostGatewayConfiguration {
|
|
508
|
+
gatewayId: string;
|
|
509
|
+
configYaml: string;
|
|
510
|
+
variables: AgentHostVariable[];
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* ListAgentHostTemplatesRequest has no parameters. Template visibility is
|
|
514
|
+
* controlled by the caller's platform and Agent Hosts entitlements.
|
|
515
|
+
*/
|
|
516
|
+
export interface ListAgentHostTemplatesRequest {
|
|
517
|
+
}
|
|
518
|
+
/** ListAgentHostTemplatesResponse contains stable template metadata. */
|
|
519
|
+
export interface ListAgentHostTemplatesResponse {
|
|
520
|
+
templates: AgentHostTemplate[];
|
|
521
|
+
}
|
|
522
|
+
/** AgentHostTemplate describes a versioned, platform-tested Compose stack. */
|
|
523
|
+
export interface AgentHostTemplate {
|
|
524
|
+
id: string;
|
|
525
|
+
title: string;
|
|
526
|
+
description: string;
|
|
527
|
+
version: string;
|
|
528
|
+
serviceCount: number;
|
|
529
|
+
variables: AgentHostTemplateVariable[];
|
|
530
|
+
/** tier is the default capacity profile for this template. */
|
|
531
|
+
tier: string;
|
|
532
|
+
/**
|
|
533
|
+
* runtime_profile contains platform-owned defaults for model routing,
|
|
534
|
+
* context management, utilities, and managed Compose services.
|
|
535
|
+
*/
|
|
536
|
+
runtimeProfile: AgentHostRuntimeProfile | undefined;
|
|
537
|
+
/** gateways lists integrations understood by this template's runtime adapter. */
|
|
538
|
+
gateways: AgentHostGatewayDefinition[];
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* AgentHostTemplateVariable documents one configurable template value without
|
|
542
|
+
* exposing a runtime secret.
|
|
543
|
+
*/
|
|
544
|
+
export interface AgentHostTemplateVariable {
|
|
545
|
+
name: string;
|
|
546
|
+
label: string;
|
|
547
|
+
description: string;
|
|
548
|
+
secret: boolean;
|
|
549
|
+
required: boolean;
|
|
550
|
+
defaultValue: string;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* AgentHostRuntimeProfile advertises immutable managed defaults for a template.
|
|
554
|
+
* context and compaction values are enforced by the runtime adapter rather than
|
|
555
|
+
* accepted from untrusted Compose or browser input.
|
|
556
|
+
*/
|
|
557
|
+
export interface AgentHostRuntimeProfile {
|
|
558
|
+
managedModel: boolean;
|
|
559
|
+
defaultModelAlias: string;
|
|
560
|
+
contextTokenLimit: bigint;
|
|
561
|
+
compactionThresholdTokens: bigint;
|
|
562
|
+
utilityModalities: string[];
|
|
563
|
+
platformServices: string[];
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* AgentHostGatewayDefinition describes one gateway option rendered by the
|
|
567
|
+
* Console. setup_mode is predeploy or postdeploy_pairing.
|
|
568
|
+
*/
|
|
569
|
+
export interface AgentHostGatewayDefinition {
|
|
570
|
+
id: string;
|
|
571
|
+
title: string;
|
|
572
|
+
description: string;
|
|
573
|
+
setupMode: string;
|
|
574
|
+
defaultConfigYaml: string;
|
|
575
|
+
variables: AgentHostTemplateVariable[];
|
|
576
|
+
}
|
|
577
|
+
/** GetAgentHostConfigurationRequest selects one editable Agent Host revision. */
|
|
578
|
+
export interface GetAgentHostConfigurationRequest {
|
|
579
|
+
orgId: string;
|
|
580
|
+
agentHostId: string;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* AgentHostConfiguration is a redacted editable snapshot of the active
|
|
584
|
+
* revision. Secret variables have empty values and preserve_existing=true.
|
|
585
|
+
*/
|
|
586
|
+
export interface AgentHostConfiguration {
|
|
587
|
+
agentHostId: string;
|
|
588
|
+
revision: number;
|
|
589
|
+
name: string;
|
|
590
|
+
templateId: string;
|
|
591
|
+
templateVersion: string;
|
|
592
|
+
composeYaml: string;
|
|
593
|
+
variables: AgentHostVariable[];
|
|
594
|
+
publicService: string;
|
|
595
|
+
publicPort: number;
|
|
596
|
+
tier: string;
|
|
597
|
+
runtime: AgentHostRuntimeConfiguration | undefined;
|
|
598
|
+
/** github_registry_access never contains the saved token. */
|
|
599
|
+
githubRegistryAccess: AgentHostGitHubRegistryAccess | undefined;
|
|
600
|
+
registryCredentials: AgentHostRegistryCredential[];
|
|
601
|
+
}
|
|
602
|
+
/** GetAgentHostGatewayPairingRequest selects a configured post-deploy gateway. */
|
|
603
|
+
export interface GetAgentHostGatewayPairingRequest {
|
|
604
|
+
orgId: string;
|
|
605
|
+
agentHostId: string;
|
|
606
|
+
gatewayId: string;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* AgentHostGatewayPairing contains a short-lived artifact generated by the
|
|
610
|
+
* private gateway runtime. data is base64-encoded by the REST gateway.
|
|
611
|
+
*/
|
|
612
|
+
export interface AgentHostGatewayPairing {
|
|
613
|
+
gatewayId: string;
|
|
614
|
+
contentType: string;
|
|
615
|
+
data: Buffer;
|
|
616
|
+
instructions: string;
|
|
617
|
+
}
|
|
618
|
+
/** DeleteAgentHostRequest selects an Agent Host visible to the caller. */
|
|
619
|
+
export interface DeleteAgentHostRequest {
|
|
620
|
+
orgId: string;
|
|
621
|
+
agentHostId: string;
|
|
622
|
+
}
|
|
623
|
+
/** CreateJobRequest defines desired state for a finite-duration container job. */
|
|
624
|
+
export interface CreateJobRequest {
|
|
625
|
+
orgId: string;
|
|
626
|
+
/** name must be a DNS label and is unique per organization/resource type. */
|
|
627
|
+
name: string;
|
|
628
|
+
/** image is a container image reference; embedded credentials are forbidden. */
|
|
629
|
+
image: string;
|
|
630
|
+
/** command is the argv executed in the container without shell expansion. */
|
|
631
|
+
command: string[];
|
|
632
|
+
/** timeout_seconds is the execution limit; zero selects the platform default. */
|
|
633
|
+
timeoutSeconds: number;
|
|
634
|
+
/** spec carries non-secret extension fields. Typed fields take precedence. */
|
|
635
|
+
spec: {
|
|
636
|
+
[key: string]: any;
|
|
637
|
+
} | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* location is a hard constraint. Omission selects eu-1. US East requires explicit
|
|
640
|
+
* us-1 and accepted_quote_id; there is no automatic US East fallback. The selected
|
|
641
|
+
* location is immutable and returned on the resource and run.
|
|
642
|
+
*/
|
|
643
|
+
location: string;
|
|
644
|
+
/** resources has platform defaults when omitted; zero fields select defaults. */
|
|
645
|
+
resources: JobResources | undefined;
|
|
646
|
+
/** retry_policy defaults to one On-Demand attempt with no automatic retries. */
|
|
647
|
+
retryPolicy: JobRetryPolicy | undefined;
|
|
648
|
+
/**
|
|
649
|
+
* idempotency_key safely retries creation for 24 hours. Reusing a key with
|
|
650
|
+
* changed content is rejected. A new key creates a new immutable revision
|
|
651
|
+
* only after the previous run is terminal.
|
|
652
|
+
*/
|
|
653
|
+
idempotencyKey: string;
|
|
654
|
+
/**
|
|
655
|
+
* queue_timeout_seconds bounds capacity wait, independently of execution.
|
|
656
|
+
* Zero selects 600 seconds; explicit values must be between 30 and 3600.
|
|
657
|
+
*/
|
|
658
|
+
queueTimeoutSeconds: number;
|
|
659
|
+
/** Required for us-1; must match the request and be unexpired. */
|
|
660
|
+
acceptedQuoteId: string;
|
|
661
|
+
/** Omission defaults to 1 GiB for US East; zero disables networking. */
|
|
662
|
+
maxNetworkBytes?: bigint | undefined;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* ProvisionedResource is the recorded desired and observed state for a managed
|
|
666
|
+
* resource.
|
|
667
|
+
*/
|
|
668
|
+
export interface ProvisionedResource {
|
|
669
|
+
id: string;
|
|
670
|
+
orgId: string;
|
|
671
|
+
/**
|
|
672
|
+
* resource_type is a stable machine-readable type such as
|
|
673
|
+
* "inference_service", "agent", or "job".
|
|
674
|
+
*/
|
|
675
|
+
resourceType: string;
|
|
676
|
+
name: string;
|
|
677
|
+
/** status is the lifecycle state reported by the platform. */
|
|
678
|
+
status: string;
|
|
679
|
+
/** namespace is the backing workload namespace, once assigned. */
|
|
680
|
+
namespace: string;
|
|
681
|
+
/** external_url is the public workload URL, once assigned. */
|
|
682
|
+
externalUrl: string;
|
|
683
|
+
/** spec is the normalized desired state and contains no credentials. */
|
|
684
|
+
spec: {
|
|
685
|
+
[key: string]: any;
|
|
686
|
+
} | undefined;
|
|
687
|
+
/** status_detail contains non-secret provider/controller status metadata. */
|
|
688
|
+
statusDetail: {
|
|
689
|
+
[key: string]: any;
|
|
690
|
+
} | undefined;
|
|
691
|
+
createdAt: Date | undefined;
|
|
692
|
+
updatedAt: Date | undefined;
|
|
693
|
+
/** location is where the resource runs, such as "eu-1" or "us-1". */
|
|
694
|
+
location: string;
|
|
695
|
+
/** latest_run_id is populated for jobs; use GetJobRun for execution state. */
|
|
696
|
+
latestRunId: string;
|
|
697
|
+
/** Present on validation previews; this is not a capacity reservation. */
|
|
698
|
+
admission: AdmissionAssessment | undefined;
|
|
699
|
+
}
|
|
700
|
+
/** CreateApiKeyRequest creates an organization-scoped customer credential. */
|
|
701
|
+
export interface CreateApiKeyRequest {
|
|
702
|
+
orgId: string;
|
|
703
|
+
/** label is an optional human-readable purpose for the credential. */
|
|
704
|
+
label: string;
|
|
705
|
+
/**
|
|
706
|
+
* allowed_model_aliases narrows model access. Empty uses the organization
|
|
707
|
+
* policy rather than overriding it. At most 128 aliases may be submitted;
|
|
708
|
+
* duplicate entries still count toward that request limit.
|
|
709
|
+
*/
|
|
710
|
+
allowedModelAliases: string[];
|
|
711
|
+
/**
|
|
712
|
+
* scopes grants product capabilities. Model scopes are "himalaya",
|
|
713
|
+
* "inference", and "utilities"; "sandboxes" grants code-sandbox access.
|
|
714
|
+
* Empty preserves the historical "inference" default.
|
|
715
|
+
*/
|
|
716
|
+
scopes: string[];
|
|
717
|
+
}
|
|
718
|
+
/** CreateApiKeyResponse contains metadata plus the one-time plaintext secret. */
|
|
719
|
+
export interface CreateApiKeyResponse {
|
|
720
|
+
apiKey: ApiKey | undefined;
|
|
721
|
+
/** plaintext_key is returned only at creation and cannot be recovered later. */
|
|
722
|
+
plaintextKey: string;
|
|
723
|
+
}
|
|
724
|
+
/** ListApiKeysRequest selects one organization. */
|
|
725
|
+
export interface ListApiKeysRequest {
|
|
726
|
+
orgId: string;
|
|
727
|
+
}
|
|
728
|
+
/** ListApiKeysResponse contains redacted credential metadata. */
|
|
729
|
+
export interface ListApiKeysResponse {
|
|
730
|
+
apiKeys: ApiKey[];
|
|
731
|
+
}
|
|
732
|
+
/** RevokeApiKeyRequest permanently revokes one organization credential. */
|
|
733
|
+
export interface RevokeApiKeyRequest {
|
|
734
|
+
orgId: string;
|
|
735
|
+
apiKeyId: string;
|
|
736
|
+
/** revoked_reason is optional operator-visible context and contains no secret. */
|
|
737
|
+
revokedReason: string;
|
|
738
|
+
}
|
|
739
|
+
/** RevokeApiKeyResponse contains the credential's final metadata. */
|
|
740
|
+
export interface RevokeApiKeyResponse {
|
|
741
|
+
apiKey: ApiKey | undefined;
|
|
742
|
+
}
|
|
743
|
+
/** ApiKey is redacted metadata for a customer credential. */
|
|
744
|
+
export interface ApiKey {
|
|
745
|
+
id: string;
|
|
746
|
+
orgId: string;
|
|
747
|
+
/** user_id identifies the identity that created the credential. */
|
|
748
|
+
userId: string;
|
|
749
|
+
label: string;
|
|
750
|
+
/** kind distinguishes customer and future managed credential classes. */
|
|
751
|
+
kind: string;
|
|
752
|
+
/** key_prefix is safe to display and cannot authenticate a request. */
|
|
753
|
+
keyPrefix: string;
|
|
754
|
+
status: string;
|
|
755
|
+
allowedModelAliases: string[];
|
|
756
|
+
createdAt: Date | undefined;
|
|
757
|
+
revokedAt: Date | undefined;
|
|
758
|
+
revokedReason: string;
|
|
759
|
+
lastUsedAt: Date | undefined;
|
|
760
|
+
scopes: string[];
|
|
761
|
+
}
|
|
762
|
+
/** GetOrgRequest selects an organization visible to the caller. */
|
|
763
|
+
export interface GetOrgRequest {
|
|
764
|
+
orgId: string;
|
|
765
|
+
}
|
|
766
|
+
/** UpdateOrgRequest replaces mutable organization metadata. */
|
|
767
|
+
export interface UpdateOrgRequest {
|
|
768
|
+
orgId: string;
|
|
769
|
+
/** name is a non-empty human-readable name of at most 120 characters. */
|
|
770
|
+
name: string;
|
|
771
|
+
}
|
|
772
|
+
/** GetQuotaPolicyRequest selects an organization visible to the caller. */
|
|
773
|
+
export interface GetQuotaPolicyRequest {
|
|
774
|
+
orgId: string;
|
|
775
|
+
}
|
|
776
|
+
/** UpdateQuotaPolicyRequest replaces the organization's inference policy. */
|
|
777
|
+
export interface UpdateQuotaPolicyRequest {
|
|
778
|
+
orgId: string;
|
|
779
|
+
/** max_concurrent_requests is unlimited when absent. */
|
|
780
|
+
maxConcurrentRequests?: number | undefined;
|
|
781
|
+
/**
|
|
782
|
+
* allowed_model_aliases is required when allow_all_models is false. At most
|
|
783
|
+
* 128 aliases may be submitted; duplicate entries still count toward that
|
|
784
|
+
* request limit.
|
|
785
|
+
*/
|
|
786
|
+
allowedModelAliases: string[];
|
|
787
|
+
allowAllModels: boolean;
|
|
788
|
+
/** monthly_request_budget is unlimited when absent. */
|
|
789
|
+
monthlyRequestBudget?: bigint | undefined;
|
|
790
|
+
/** monthly_token_budget is unlimited when absent. */
|
|
791
|
+
monthlyTokenBudget?: bigint | undefined;
|
|
792
|
+
}
|
|
793
|
+
/** QuotaPolicy is the effective inference policy for an organization. */
|
|
794
|
+
export interface QuotaPolicy {
|
|
795
|
+
orgId: string;
|
|
796
|
+
/** max_concurrent_requests is unlimited when absent. */
|
|
797
|
+
maxConcurrentRequests?: number | undefined;
|
|
798
|
+
allowedModelAliases: string[];
|
|
799
|
+
allowAllModels: boolean;
|
|
800
|
+
/** monthly_request_budget is unlimited when absent. */
|
|
801
|
+
monthlyRequestBudget?: bigint | undefined;
|
|
802
|
+
/** monthly_token_budget is unlimited when absent. */
|
|
803
|
+
monthlyTokenBudget?: bigint | undefined;
|
|
804
|
+
updatedAt: Date | undefined;
|
|
805
|
+
}
|
|
806
|
+
/** GetSpendLimitsRequest selects an organization visible to the caller. */
|
|
807
|
+
export interface GetSpendLimitsRequest {
|
|
808
|
+
orgId: string;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* UpdateSpendLimitsRequest replaces every spend limit of an organization.
|
|
812
|
+
* Amounts are microcents of currency: one unit is 0.00000001 of it. A limit
|
|
813
|
+
* may be zero, which stops all priced usage it applies to, and at most
|
|
814
|
+
* 1,000,000,000,000,000 (10 million in the currency).
|
|
815
|
+
*/
|
|
816
|
+
export interface UpdateSpendLimitsRequest {
|
|
817
|
+
orgId: string;
|
|
818
|
+
/**
|
|
819
|
+
* currency must equal SpendLimits.currency, the organization's billing
|
|
820
|
+
* currency, so an amount is never applied in a currency the caller did not
|
|
821
|
+
* read. A mismatch fails with spend_limit_currency_mismatch.
|
|
822
|
+
*/
|
|
823
|
+
currency: string;
|
|
824
|
+
/**
|
|
825
|
+
* monthly_limit_microcents caps everything the organization is charged in a
|
|
826
|
+
* UTC calendar month. Absent means no overall limit.
|
|
827
|
+
*/
|
|
828
|
+
monthlyLimitMicrocents?: bigint | undefined;
|
|
829
|
+
/**
|
|
830
|
+
* product_limits caps single products, each also bounded by the overall
|
|
831
|
+
* limit. A product without an entry draws on the overall limit only. Each
|
|
832
|
+
* product may appear once and must be metered (ProductSpend.metered).
|
|
833
|
+
*/
|
|
834
|
+
productLimits: ProductSpendLimit[];
|
|
835
|
+
}
|
|
836
|
+
/** ProductSpendLimit caps one product's charges in a UTC calendar month. */
|
|
837
|
+
export interface ProductSpendLimit {
|
|
838
|
+
/**
|
|
839
|
+
* product is a product identifier from the product-access catalog, such as
|
|
840
|
+
* "inference" or "utilities".
|
|
841
|
+
*/
|
|
842
|
+
product: string;
|
|
843
|
+
/**
|
|
844
|
+
* monthly_limit_microcents is required. A product limit sent without one
|
|
845
|
+
* fails with spend_limit_amount_required rather than reading as zero.
|
|
846
|
+
*/
|
|
847
|
+
monthlyLimitMicrocents?: bigint | undefined;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* SpendLimits is an organization's monthly spend limits and what it has been
|
|
851
|
+
* charged in the current UTC calendar month. Every amount is in microcents of
|
|
852
|
+
* currency: one unit is 0.00000001 of it.
|
|
853
|
+
*/
|
|
854
|
+
export interface SpendLimits {
|
|
855
|
+
orgId: string;
|
|
856
|
+
/**
|
|
857
|
+
* currency is the organization's billing currency, "usd" or "eur": that of
|
|
858
|
+
* its live billing account, otherwise "usd".
|
|
859
|
+
*/
|
|
860
|
+
currency: string;
|
|
861
|
+
/** monthly_limit_microcents is absent when there is no overall limit. */
|
|
862
|
+
monthlyLimitMicrocents?: bigint | undefined;
|
|
863
|
+
/**
|
|
864
|
+
* spent_microcents is what priced usage has been charged since
|
|
865
|
+
* period_start, across every product.
|
|
866
|
+
*/
|
|
867
|
+
spentMicrocents: bigint;
|
|
868
|
+
/**
|
|
869
|
+
* products lists every product whose usage is charged or can be, each
|
|
870
|
+
* with its own limit and spend.
|
|
871
|
+
*/
|
|
872
|
+
products: ProductSpend[];
|
|
873
|
+
/** period_start is inclusive. */
|
|
874
|
+
periodStart: Date | undefined;
|
|
875
|
+
/** period_end is exclusive. Spend counts from zero again from then. */
|
|
876
|
+
periodEnd: Date | undefined;
|
|
877
|
+
/** updated_at is when the limits last changed. Absent if never set. */
|
|
878
|
+
updatedAt: Date | undefined;
|
|
879
|
+
/** as_of is when the spend in this message was measured. */
|
|
880
|
+
asOf: Date | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* held_microcents is what priced calls in flight have reserved: the most
|
|
883
|
+
* each can cost. It counts against the limits, on top of spent_microcents,
|
|
884
|
+
* until those calls finish and are charged what they really cost.
|
|
885
|
+
*/
|
|
886
|
+
heldMicrocents: bigint;
|
|
887
|
+
}
|
|
888
|
+
/** ProductSpend is one product's spend limit and what it has been charged. */
|
|
889
|
+
export interface ProductSpend {
|
|
890
|
+
/** product is a product identifier from the product-access catalog. */
|
|
891
|
+
product: string;
|
|
892
|
+
/**
|
|
893
|
+
* metered is true when the product's usage is charged and its limits are
|
|
894
|
+
* enforced. A product that is not metered cannot take a limit yet.
|
|
895
|
+
*/
|
|
896
|
+
metered: boolean;
|
|
897
|
+
/**
|
|
898
|
+
* monthly_limit_microcents is absent when the product has no limit of its
|
|
899
|
+
* own and draws on the overall limit only.
|
|
900
|
+
*/
|
|
901
|
+
monthlyLimitMicrocents?: bigint | undefined;
|
|
902
|
+
/**
|
|
903
|
+
* spent_microcents is what the product has been charged since
|
|
904
|
+
* period_start.
|
|
905
|
+
*/
|
|
906
|
+
spentMicrocents: bigint;
|
|
907
|
+
}
|
|
908
|
+
/** ListUsageEventsRequest selects recent metering records. */
|
|
909
|
+
export interface ListUsageEventsRequest {
|
|
910
|
+
orgId: string;
|
|
911
|
+
/** limit defaults to 25 and is capped at 100. */
|
|
912
|
+
limit: number;
|
|
913
|
+
}
|
|
914
|
+
/** ListUsageEventsResponse contains records in newest-first order. */
|
|
915
|
+
export interface ListUsageEventsResponse {
|
|
916
|
+
usageEvents: UsageEvent[];
|
|
917
|
+
}
|
|
918
|
+
/** UsageEvent is one metered inference request. */
|
|
919
|
+
export interface UsageEvent {
|
|
920
|
+
id: bigint;
|
|
921
|
+
/** request_id correlates the event with the originating request. */
|
|
922
|
+
requestId: string;
|
|
923
|
+
/** model is the customer-facing Tarka alias. */
|
|
924
|
+
model: string;
|
|
925
|
+
providerSlug: string;
|
|
926
|
+
providerModel: string;
|
|
927
|
+
promptTokens: bigint;
|
|
928
|
+
completionTokens: bigint;
|
|
929
|
+
totalTokens: bigint;
|
|
930
|
+
statusCode: number;
|
|
931
|
+
latencyMs: number;
|
|
932
|
+
requestType: string;
|
|
933
|
+
/** error_code is empty for a successful request. */
|
|
934
|
+
errorCode: string;
|
|
935
|
+
/** cost_microcents uses true microcents: one unit is USD 0.00000001. */
|
|
936
|
+
costMicrocents: bigint;
|
|
937
|
+
createdAt: Date | undefined;
|
|
938
|
+
audioSeconds: number;
|
|
939
|
+
inputPages: bigint;
|
|
940
|
+
accessProduct: string;
|
|
941
|
+
resourceId: string;
|
|
942
|
+
pricingVersion: string;
|
|
943
|
+
/** Actual ledger amount, in billed_currency microcents, fixed at admission. */
|
|
944
|
+
billedCurrency: string;
|
|
945
|
+
billedMicrocents: bigint;
|
|
946
|
+
runtimeMs: bigint;
|
|
947
|
+
}
|
|
948
|
+
/** GetUsageSummaryRequest selects an organization visible to the caller. */
|
|
949
|
+
export interface GetUsageSummaryRequest {
|
|
950
|
+
orgId: string;
|
|
951
|
+
}
|
|
952
|
+
/** UsageSummary aggregates metering over a half-open UTC time interval. */
|
|
953
|
+
export interface UsageSummary {
|
|
954
|
+
orgId: string;
|
|
955
|
+
/** period_start is inclusive. */
|
|
956
|
+
periodStart: Date | undefined;
|
|
957
|
+
/** period_end is exclusive. */
|
|
958
|
+
periodEnd: Date | undefined;
|
|
959
|
+
requestCount: bigint;
|
|
960
|
+
promptTokens: bigint;
|
|
961
|
+
completionTokens: bigint;
|
|
962
|
+
totalTokens: bigint;
|
|
963
|
+
/** cost_microcents uses true microcents: one unit is USD 0.00000001. */
|
|
964
|
+
costMicrocents: bigint;
|
|
965
|
+
errorCount: bigint;
|
|
966
|
+
averageLatencyMs: bigint;
|
|
967
|
+
}
|
|
968
|
+
/** ListProvisionedResourcesRequest selects organization desired-state records. */
|
|
969
|
+
export interface ListProvisionedResourcesRequest {
|
|
970
|
+
orgId: string;
|
|
971
|
+
/** resource_type is an exact filter; empty returns every supported type. */
|
|
972
|
+
resourceType: string;
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* ListProvisionedResourcesResponse contains desired-state resources in
|
|
976
|
+
* newest-first order.
|
|
977
|
+
*/
|
|
978
|
+
export interface ListProvisionedResourcesResponse {
|
|
979
|
+
resources: ProvisionedResource[];
|
|
980
|
+
}
|
|
981
|
+
/** GetProvisionedResourceRequest selects one organization resource. */
|
|
982
|
+
export interface GetProvisionedResourceRequest {
|
|
983
|
+
orgId: string;
|
|
984
|
+
resourceId: string;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* ListLocationsRequest optionally selects an organization so that preview
|
|
988
|
+
* locations it may use are included.
|
|
989
|
+
*/
|
|
990
|
+
export interface ListLocationsRequest {
|
|
991
|
+
orgId: string;
|
|
992
|
+
}
|
|
993
|
+
/** ListLocationsResponse lists placement locations, default first. */
|
|
994
|
+
export interface ListLocationsResponse {
|
|
995
|
+
locations: Location[];
|
|
996
|
+
}
|
|
997
|
+
/**
|
|
998
|
+
* Location is a place where Tarka runs customer workloads and stores data.
|
|
999
|
+
* Identifiers are stable and provider-neutral: a location keeps its id if the
|
|
1000
|
+
* hardware or provider behind it changes.
|
|
1001
|
+
*/
|
|
1002
|
+
export interface Location {
|
|
1003
|
+
/** id is the stable identifier, such as "eu-1" or "us-1". */
|
|
1004
|
+
id: string;
|
|
1005
|
+
/** display_name is a human-readable name, such as "Europe (Germany)". */
|
|
1006
|
+
displayName: string;
|
|
1007
|
+
/** country_code is the ISO 3166-1 alpha-2 country where workloads run. */
|
|
1008
|
+
countryCode: string;
|
|
1009
|
+
/** is_default is true for the location used when a request omits location. */
|
|
1010
|
+
isDefault: boolean;
|
|
1011
|
+
/**
|
|
1012
|
+
* products lists enabled placement products: "sandboxes", "agent_hosts",
|
|
1013
|
+
* "jobs" and "object_storage". A listed location does not by itself grant
|
|
1014
|
+
* product access or promise immediately available capacity.
|
|
1015
|
+
*/
|
|
1016
|
+
products: string[];
|
|
1017
|
+
/**
|
|
1018
|
+
* status is "available", or "preview" when only admitted organizations may
|
|
1019
|
+
* place resources here.
|
|
1020
|
+
*/
|
|
1021
|
+
status: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Product-specific placement policy. Legacy resources may remain operable
|
|
1024
|
+
* even when accepting_new_resources is false. No field grants entitlement.
|
|
1025
|
+
*/
|
|
1026
|
+
capabilities: LocationProduct[];
|
|
1027
|
+
/** False means the country has not yet been verified against provider inventory. */
|
|
1028
|
+
countryVerified: boolean;
|
|
1029
|
+
}
|
|
1030
|
+
export interface LocationProduct {
|
|
1031
|
+
product: string;
|
|
1032
|
+
isDefault: boolean;
|
|
1033
|
+
acceptingNewResources: boolean;
|
|
1034
|
+
existingResourcesSupported: boolean;
|
|
1035
|
+
/** Stable, non-secret explanation when new placement is unavailable. */
|
|
1036
|
+
reason: string;
|
|
1037
|
+
}
|
|
1038
|
+
/** CreateStorageBucketRequest defines a private S3-compatible bucket. */
|
|
1039
|
+
export interface CreateStorageBucketRequest {
|
|
1040
|
+
orgId: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* name is the customer-visible, URL-safe bucket name within the
|
|
1043
|
+
* organization. Tarka maps it to a globally unique physical bucket.
|
|
1044
|
+
*/
|
|
1045
|
+
name: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* location selects where the bucket's data is stored, such as "eu-1" or
|
|
1048
|
+
* "us-1" (see ListLocations). Empty selects the default location for a new
|
|
1049
|
+
* bucket and keeps the current location for an existing one. A bucket
|
|
1050
|
+
* cannot move: a different location for an existing name is rejected.
|
|
1051
|
+
*/
|
|
1052
|
+
location: string;
|
|
1053
|
+
}
|
|
1054
|
+
/** ListStorageBucketsRequest selects one organization. */
|
|
1055
|
+
export interface ListStorageBucketsRequest {
|
|
1056
|
+
orgId: string;
|
|
1057
|
+
}
|
|
1058
|
+
/** ListStorageBucketsResponse contains object-storage bucket metadata. */
|
|
1059
|
+
export interface ListStorageBucketsResponse {
|
|
1060
|
+
buckets: StorageBucket[];
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
* DeleteStorageBucketRequest selects one organization bucket. The bucket must
|
|
1064
|
+
* be empty before it can be deleted.
|
|
1065
|
+
*/
|
|
1066
|
+
export interface DeleteStorageBucketRequest {
|
|
1067
|
+
orgId: string;
|
|
1068
|
+
bucketId: string;
|
|
1069
|
+
}
|
|
1070
|
+
/** StorageBucket describes a private Tarka-managed S3-compatible bucket. */
|
|
1071
|
+
export interface StorageBucket {
|
|
1072
|
+
id: string;
|
|
1073
|
+
orgId: string;
|
|
1074
|
+
/** name is the customer-visible name, unique within the organization. */
|
|
1075
|
+
name: string;
|
|
1076
|
+
/** status is the bucket lifecycle/reconciliation state. */
|
|
1077
|
+
status: string;
|
|
1078
|
+
/** endpoint is the public S3-compatible API endpoint. */
|
|
1079
|
+
endpoint: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* region is the S3 signing region to configure in S3 clients. It is not
|
|
1082
|
+
* the Tarka location; see location.
|
|
1083
|
+
*/
|
|
1084
|
+
region: string;
|
|
1085
|
+
versioningEnabled: boolean;
|
|
1086
|
+
createdAt: Date | undefined;
|
|
1087
|
+
updatedAt: Date | undefined;
|
|
1088
|
+
/**
|
|
1089
|
+
* s3_bucket_name is the globally unique bucket identifier to send to S3
|
|
1090
|
+
* data-plane clients. name remains the organization-local display name.
|
|
1091
|
+
*/
|
|
1092
|
+
s3BucketName: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* location is the Tarka location that stores the bucket, such as "eu-1"
|
|
1095
|
+
* or "us-1".
|
|
1096
|
+
*/
|
|
1097
|
+
location: string;
|
|
1098
|
+
}
|
|
1099
|
+
/** CreateStorageCredentialRequest creates one access key scoped to a bucket. */
|
|
1100
|
+
export interface CreateStorageCredentialRequest {
|
|
1101
|
+
orgId: string;
|
|
1102
|
+
bucketId: string;
|
|
1103
|
+
/** label helps operators distinguish credentials without exposing secrets. */
|
|
1104
|
+
label: string;
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* CreateStorageCredentialResponse includes the plaintext credential once.
|
|
1108
|
+
* Tarka does not persist secret_access_key and cannot return it again.
|
|
1109
|
+
*/
|
|
1110
|
+
export interface CreateStorageCredentialResponse {
|
|
1111
|
+
credential: StorageCredential | undefined;
|
|
1112
|
+
accessKeyId: string;
|
|
1113
|
+
secretAccessKey: string;
|
|
1114
|
+
endpoint: string;
|
|
1115
|
+
region: string;
|
|
1116
|
+
}
|
|
1117
|
+
/** ListStorageCredentialsRequest selects one organization bucket. */
|
|
1118
|
+
export interface ListStorageCredentialsRequest {
|
|
1119
|
+
orgId: string;
|
|
1120
|
+
bucketId: string;
|
|
1121
|
+
}
|
|
1122
|
+
/** ListStorageCredentialsResponse contains redacted storage credentials. */
|
|
1123
|
+
export interface ListStorageCredentialsResponse {
|
|
1124
|
+
credentials: StorageCredential[];
|
|
1125
|
+
}
|
|
1126
|
+
/** RevokeStorageCredentialRequest selects one bucket credential. */
|
|
1127
|
+
export interface RevokeStorageCredentialRequest {
|
|
1128
|
+
orgId: string;
|
|
1129
|
+
bucketId: string;
|
|
1130
|
+
credentialId: string;
|
|
1131
|
+
}
|
|
1132
|
+
/** StorageCredential is redacted metadata for a bucket-scoped S3 access key. */
|
|
1133
|
+
export interface StorageCredential {
|
|
1134
|
+
id: string;
|
|
1135
|
+
orgId: string;
|
|
1136
|
+
bucketId: string;
|
|
1137
|
+
label: string;
|
|
1138
|
+
/** access_key_prefix is safe to display and identify in the console. */
|
|
1139
|
+
accessKeyPrefix: string;
|
|
1140
|
+
/** status is active or revoked. */
|
|
1141
|
+
status: string;
|
|
1142
|
+
createdAt: Date | undefined;
|
|
1143
|
+
revokedAt: Date | undefined;
|
|
1144
|
+
}
|
|
1145
|
+
/** CreateGitRepositoryRequest defines a private hosted Git repository. */
|
|
1146
|
+
export interface CreateGitRepositoryRequest {
|
|
1147
|
+
orgId: string;
|
|
1148
|
+
/** name is the URL-safe repository name within the organization. */
|
|
1149
|
+
name: string;
|
|
1150
|
+
description: string;
|
|
1151
|
+
/** initialize creates the first commit when true. */
|
|
1152
|
+
initialize: boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* default_branch is used when initialize is true; empty selects the platform
|
|
1155
|
+
* default.
|
|
1156
|
+
*/
|
|
1157
|
+
defaultBranch: string;
|
|
1158
|
+
}
|
|
1159
|
+
/** ListGitRepositoriesRequest selects one organization. */
|
|
1160
|
+
export interface ListGitRepositoriesRequest {
|
|
1161
|
+
orgId: string;
|
|
1162
|
+
}
|
|
1163
|
+
/** ListGitRepositoriesResponse contains hosted Git repository metadata. */
|
|
1164
|
+
export interface ListGitRepositoriesResponse {
|
|
1165
|
+
repositories: GitRepository[];
|
|
1166
|
+
}
|
|
1167
|
+
/** DeleteGitRepositoryRequest selects one organization repository. */
|
|
1168
|
+
export interface DeleteGitRepositoryRequest {
|
|
1169
|
+
orgId: string;
|
|
1170
|
+
repositoryId: string;
|
|
1171
|
+
}
|
|
1172
|
+
/** GitRepository describes a private Tarka-hosted Git repository. */
|
|
1173
|
+
export interface GitRepository {
|
|
1174
|
+
id: string;
|
|
1175
|
+
orgId: string;
|
|
1176
|
+
name: string;
|
|
1177
|
+
/** status is the repository lifecycle/reconciliation state. */
|
|
1178
|
+
status: string;
|
|
1179
|
+
webUrl: string;
|
|
1180
|
+
sshCloneUrl: string;
|
|
1181
|
+
httpsCloneUrl: string;
|
|
1182
|
+
/** lfs_enabled is true when Git LFS support is enforced. */
|
|
1183
|
+
lfsEnabled: boolean;
|
|
1184
|
+
createdAt: Date | undefined;
|
|
1185
|
+
updatedAt: Date | undefined;
|
|
1186
|
+
}
|
|
1187
|
+
/** ListAgentHostTerminalTargetsRequest selects a host visible to the caller. */
|
|
1188
|
+
export interface ListAgentHostTerminalTargetsRequest {
|
|
1189
|
+
orgId: string;
|
|
1190
|
+
agentHostId: string;
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
* AgentHostTerminalTarget identifies one currently running application container.
|
|
1194
|
+
* Names are informational, not authority to access arbitrary Kubernetes pods.
|
|
1195
|
+
*/
|
|
1196
|
+
export interface AgentHostTerminalTarget {
|
|
1197
|
+
service: string;
|
|
1198
|
+
podName: string;
|
|
1199
|
+
containerName: string;
|
|
1200
|
+
}
|
|
1201
|
+
export interface ListAgentHostTerminalTargetsResponse {
|
|
1202
|
+
targets: AgentHostTerminalTarget[];
|
|
1203
|
+
}
|
|
1204
|
+
export interface CreateAgentHostTerminalRequest {
|
|
1205
|
+
orgId: string;
|
|
1206
|
+
agentHostId: string;
|
|
1207
|
+
podName: string;
|
|
1208
|
+
containerName: string;
|
|
1209
|
+
/** auto selects bash when available and otherwise sh. Also accepts sh or bash. */
|
|
1210
|
+
shell: string;
|
|
1211
|
+
/** Terminal dimensions: 20..400 columns and 5..200 rows; zero uses 100x30. */
|
|
1212
|
+
cols: number;
|
|
1213
|
+
rows: number;
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* AgentHostTerminal contains no reusable infrastructure credential. The opaque
|
|
1217
|
+
* ID is usable only with the same authenticated user, organization, and host.
|
|
1218
|
+
* Sessions expire after 15 minutes without input or one hour in total; the
|
|
1219
|
+
* broker can also terminate a session during restart or after 64 MiB of output.
|
|
1220
|
+
*/
|
|
1221
|
+
export interface AgentHostTerminal {
|
|
1222
|
+
terminalId: string;
|
|
1223
|
+
target: AgentHostTerminalTarget | undefined;
|
|
1224
|
+
expiresAt: Date | undefined;
|
|
1225
|
+
}
|
|
1226
|
+
export interface ReadAgentHostTerminalRequest {
|
|
1227
|
+
orgId: string;
|
|
1228
|
+
agentHostId: string;
|
|
1229
|
+
terminalId: string;
|
|
1230
|
+
offset: bigint;
|
|
1231
|
+
/** Zero returns immediately; maximum 20 seconds. */
|
|
1232
|
+
waitSeconds: number;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* AgentHostTerminalOutput contains at most 64 KiB of raw PTY output. REST bytes
|
|
1236
|
+
* are base64 encoded; clients must not interpret output as HTML or log it.
|
|
1237
|
+
*/
|
|
1238
|
+
export interface AgentHostTerminalOutput {
|
|
1239
|
+
data: Buffer;
|
|
1240
|
+
nextOffset: bigint;
|
|
1241
|
+
outputLost: boolean;
|
|
1242
|
+
closed: boolean;
|
|
1243
|
+
exitCode: number;
|
|
1244
|
+
/**
|
|
1245
|
+
* Stable, non-secret reason such as shell_unavailable, session_expired,
|
|
1246
|
+
* output_limit, or connection_closed. An empty value indicates normal exit.
|
|
1247
|
+
*/
|
|
1248
|
+
errorCode: string;
|
|
1249
|
+
}
|
|
1250
|
+
export interface WriteAgentHostTerminalRequest {
|
|
1251
|
+
orgId: string;
|
|
1252
|
+
agentHostId: string;
|
|
1253
|
+
terminalId: string;
|
|
1254
|
+
data: Buffer;
|
|
1255
|
+
inputSequence: bigint;
|
|
1256
|
+
/** Both zero preserves the current size; otherwise the create bounds apply. */
|
|
1257
|
+
cols: number;
|
|
1258
|
+
rows: number;
|
|
1259
|
+
}
|
|
1260
|
+
export interface WriteAgentHostTerminalResponse {
|
|
1261
|
+
acknowledgedSequence: bigint;
|
|
1262
|
+
}
|
|
1263
|
+
export interface CloseAgentHostTerminalRequest {
|
|
1264
|
+
orgId: string;
|
|
1265
|
+
agentHostId: string;
|
|
1266
|
+
terminalId: string;
|
|
1267
|
+
}
|
|
1268
|
+
export interface CloseAgentHostTerminalResponse {
|
|
1269
|
+
}
|
|
1270
|
+
/** OrgInvitation excludes the secret token and reports expiry as a status. */
|
|
1271
|
+
export interface OrgInvitation {
|
|
1272
|
+
id: string;
|
|
1273
|
+
orgId: string;
|
|
1274
|
+
orgName: string;
|
|
1275
|
+
email: string;
|
|
1276
|
+
role: string;
|
|
1277
|
+
status: string;
|
|
1278
|
+
createdAt: Date | undefined;
|
|
1279
|
+
expiresAt: Date | undefined;
|
|
1280
|
+
}
|
|
1281
|
+
export interface CreateOrgInvitationRequest {
|
|
1282
|
+
orgId: string;
|
|
1283
|
+
email: string;
|
|
1284
|
+
/** admin, operator, member, or viewer. Defaults to member. */
|
|
1285
|
+
role: string;
|
|
1286
|
+
}
|
|
1287
|
+
export interface CreateOrgInvitationResponse {
|
|
1288
|
+
invitation: OrgInvitation | undefined;
|
|
1289
|
+
/** One-time delivery secret. Only its SHA-256 hash is stored. */
|
|
1290
|
+
token: string;
|
|
1291
|
+
}
|
|
1292
|
+
export interface ListOrgInvitationsRequest {
|
|
1293
|
+
orgId: string;
|
|
1294
|
+
}
|
|
1295
|
+
export interface ListOrgInvitationsResponse {
|
|
1296
|
+
invitations: OrgInvitation[];
|
|
1297
|
+
}
|
|
1298
|
+
export interface RevokeOrgInvitationRequest {
|
|
1299
|
+
orgId: string;
|
|
1300
|
+
invitationId: string;
|
|
1301
|
+
}
|
|
1302
|
+
export interface PreviewOrgInvitationRequest {
|
|
1303
|
+
token: string;
|
|
1304
|
+
}
|
|
1305
|
+
export interface AcceptOrgInvitationRequest {
|
|
1306
|
+
token: string;
|
|
1307
|
+
}
|
|
1308
|
+
export declare const GetInferenceCaptureRequest: MessageFns<GetInferenceCaptureRequest>;
|
|
1309
|
+
export declare const UpdateInferenceCaptureRequest: MessageFns<UpdateInferenceCaptureRequest>;
|
|
1310
|
+
export declare const InferenceCapture: MessageFns<InferenceCapture>;
|
|
1311
|
+
export declare const GetCurrentUserRequest: MessageFns<GetCurrentUserRequest>;
|
|
1312
|
+
export declare const BootstrapCurrentUserRequest: MessageFns<BootstrapCurrentUserRequest>;
|
|
1313
|
+
export declare const CreateOrgRequest: MessageFns<CreateOrgRequest>;
|
|
1314
|
+
export declare const RequestProductAccessRequest: MessageFns<RequestProductAccessRequest>;
|
|
1315
|
+
export declare const ListProductAccessRequestsRequest: MessageFns<ListProductAccessRequestsRequest>;
|
|
1316
|
+
export declare const ListProductAccessRequestsResponse: MessageFns<ListProductAccessRequestsResponse>;
|
|
1317
|
+
export declare const ProductAccessRequest: MessageFns<ProductAccessRequest>;
|
|
1318
|
+
export declare const EnsureHostedGitAccessRequest: MessageFns<EnsureHostedGitAccessRequest>;
|
|
1319
|
+
export declare const HostedGitAccess: MessageFns<HostedGitAccess>;
|
|
1320
|
+
export declare const CurrentUser: MessageFns<CurrentUser>;
|
|
1321
|
+
export declare const ProductEntitlement: MessageFns<ProductEntitlement>;
|
|
1322
|
+
export declare const Org: MessageFns<Org>;
|
|
1323
|
+
export declare const OrgMember: MessageFns<OrgMember>;
|
|
1324
|
+
export declare const ListOrgMembersRequest: MessageFns<ListOrgMembersRequest>;
|
|
1325
|
+
export declare const ListOrgMembersResponse: MessageFns<ListOrgMembersResponse>;
|
|
1326
|
+
export declare const ListModelsRequest: MessageFns<ListModelsRequest>;
|
|
1327
|
+
export declare const ListModelsResponse: MessageFns<ListModelsResponse>;
|
|
1328
|
+
export declare const Model: MessageFns<Model>;
|
|
1329
|
+
export declare const GetPricingCatalogRequest: MessageFns<GetPricingCatalogRequest>;
|
|
1330
|
+
export declare const PricingCatalog: MessageFns<PricingCatalog>;
|
|
1331
|
+
export declare const CreateInferenceServiceRequest: MessageFns<CreateInferenceServiceRequest>;
|
|
1332
|
+
export declare const CreateAgentHostRequest: MessageFns<CreateAgentHostRequest>;
|
|
1333
|
+
export declare const SetAgentHostRunningRequest: MessageFns<SetAgentHostRunningRequest>;
|
|
1334
|
+
export declare const AgentHostGitHubRegistryCredentials: MessageFns<AgentHostGitHubRegistryCredentials>;
|
|
1335
|
+
export declare const AgentHostGitHubRegistryAccess: MessageFns<AgentHostGitHubRegistryAccess>;
|
|
1336
|
+
export declare const AgentHostVariable: MessageFns<AgentHostVariable>;
|
|
1337
|
+
export declare const AgentHostRuntimeConfiguration: MessageFns<AgentHostRuntimeConfiguration>;
|
|
1338
|
+
export declare const AgentHostModelEndpoint: MessageFns<AgentHostModelEndpoint>;
|
|
1339
|
+
export declare const AgentHostGatewayConfiguration: MessageFns<AgentHostGatewayConfiguration>;
|
|
1340
|
+
export declare const ListAgentHostTemplatesRequest: MessageFns<ListAgentHostTemplatesRequest>;
|
|
1341
|
+
export declare const ListAgentHostTemplatesResponse: MessageFns<ListAgentHostTemplatesResponse>;
|
|
1342
|
+
export declare const AgentHostTemplate: MessageFns<AgentHostTemplate>;
|
|
1343
|
+
export declare const AgentHostTemplateVariable: MessageFns<AgentHostTemplateVariable>;
|
|
1344
|
+
export declare const AgentHostRuntimeProfile: MessageFns<AgentHostRuntimeProfile>;
|
|
1345
|
+
export declare const AgentHostGatewayDefinition: MessageFns<AgentHostGatewayDefinition>;
|
|
1346
|
+
export declare const GetAgentHostConfigurationRequest: MessageFns<GetAgentHostConfigurationRequest>;
|
|
1347
|
+
export declare const AgentHostConfiguration: MessageFns<AgentHostConfiguration>;
|
|
1348
|
+
export declare const GetAgentHostGatewayPairingRequest: MessageFns<GetAgentHostGatewayPairingRequest>;
|
|
1349
|
+
export declare const AgentHostGatewayPairing: MessageFns<AgentHostGatewayPairing>;
|
|
1350
|
+
export declare const DeleteAgentHostRequest: MessageFns<DeleteAgentHostRequest>;
|
|
1351
|
+
export declare const CreateJobRequest: MessageFns<CreateJobRequest>;
|
|
1352
|
+
export declare const ProvisionedResource: MessageFns<ProvisionedResource>;
|
|
1353
|
+
export declare const CreateApiKeyRequest: MessageFns<CreateApiKeyRequest>;
|
|
1354
|
+
export declare const CreateApiKeyResponse: MessageFns<CreateApiKeyResponse>;
|
|
1355
|
+
export declare const ListApiKeysRequest: MessageFns<ListApiKeysRequest>;
|
|
1356
|
+
export declare const ListApiKeysResponse: MessageFns<ListApiKeysResponse>;
|
|
1357
|
+
export declare const RevokeApiKeyRequest: MessageFns<RevokeApiKeyRequest>;
|
|
1358
|
+
export declare const RevokeApiKeyResponse: MessageFns<RevokeApiKeyResponse>;
|
|
1359
|
+
export declare const ApiKey: MessageFns<ApiKey>;
|
|
1360
|
+
export declare const GetOrgRequest: MessageFns<GetOrgRequest>;
|
|
1361
|
+
export declare const UpdateOrgRequest: MessageFns<UpdateOrgRequest>;
|
|
1362
|
+
export declare const GetQuotaPolicyRequest: MessageFns<GetQuotaPolicyRequest>;
|
|
1363
|
+
export declare const UpdateQuotaPolicyRequest: MessageFns<UpdateQuotaPolicyRequest>;
|
|
1364
|
+
export declare const QuotaPolicy: MessageFns<QuotaPolicy>;
|
|
1365
|
+
export declare const GetSpendLimitsRequest: MessageFns<GetSpendLimitsRequest>;
|
|
1366
|
+
export declare const UpdateSpendLimitsRequest: MessageFns<UpdateSpendLimitsRequest>;
|
|
1367
|
+
export declare const ProductSpendLimit: MessageFns<ProductSpendLimit>;
|
|
1368
|
+
export declare const SpendLimits: MessageFns<SpendLimits>;
|
|
1369
|
+
export declare const ProductSpend: MessageFns<ProductSpend>;
|
|
1370
|
+
export declare const ListUsageEventsRequest: MessageFns<ListUsageEventsRequest>;
|
|
1371
|
+
export declare const ListUsageEventsResponse: MessageFns<ListUsageEventsResponse>;
|
|
1372
|
+
export declare const UsageEvent: MessageFns<UsageEvent>;
|
|
1373
|
+
export declare const GetUsageSummaryRequest: MessageFns<GetUsageSummaryRequest>;
|
|
1374
|
+
export declare const UsageSummary: MessageFns<UsageSummary>;
|
|
1375
|
+
export declare const ListProvisionedResourcesRequest: MessageFns<ListProvisionedResourcesRequest>;
|
|
1376
|
+
export declare const ListProvisionedResourcesResponse: MessageFns<ListProvisionedResourcesResponse>;
|
|
1377
|
+
export declare const GetProvisionedResourceRequest: MessageFns<GetProvisionedResourceRequest>;
|
|
1378
|
+
export declare const ListLocationsRequest: MessageFns<ListLocationsRequest>;
|
|
1379
|
+
export declare const ListLocationsResponse: MessageFns<ListLocationsResponse>;
|
|
1380
|
+
export declare const Location: MessageFns<Location>;
|
|
1381
|
+
export declare const LocationProduct: MessageFns<LocationProduct>;
|
|
1382
|
+
export declare const CreateStorageBucketRequest: MessageFns<CreateStorageBucketRequest>;
|
|
1383
|
+
export declare const ListStorageBucketsRequest: MessageFns<ListStorageBucketsRequest>;
|
|
1384
|
+
export declare const ListStorageBucketsResponse: MessageFns<ListStorageBucketsResponse>;
|
|
1385
|
+
export declare const DeleteStorageBucketRequest: MessageFns<DeleteStorageBucketRequest>;
|
|
1386
|
+
export declare const StorageBucket: MessageFns<StorageBucket>;
|
|
1387
|
+
export declare const CreateStorageCredentialRequest: MessageFns<CreateStorageCredentialRequest>;
|
|
1388
|
+
export declare const CreateStorageCredentialResponse: MessageFns<CreateStorageCredentialResponse>;
|
|
1389
|
+
export declare const ListStorageCredentialsRequest: MessageFns<ListStorageCredentialsRequest>;
|
|
1390
|
+
export declare const ListStorageCredentialsResponse: MessageFns<ListStorageCredentialsResponse>;
|
|
1391
|
+
export declare const RevokeStorageCredentialRequest: MessageFns<RevokeStorageCredentialRequest>;
|
|
1392
|
+
export declare const StorageCredential: MessageFns<StorageCredential>;
|
|
1393
|
+
export declare const CreateGitRepositoryRequest: MessageFns<CreateGitRepositoryRequest>;
|
|
1394
|
+
export declare const ListGitRepositoriesRequest: MessageFns<ListGitRepositoriesRequest>;
|
|
1395
|
+
export declare const ListGitRepositoriesResponse: MessageFns<ListGitRepositoriesResponse>;
|
|
1396
|
+
export declare const DeleteGitRepositoryRequest: MessageFns<DeleteGitRepositoryRequest>;
|
|
1397
|
+
export declare const GitRepository: MessageFns<GitRepository>;
|
|
1398
|
+
export declare const ListAgentHostTerminalTargetsRequest: MessageFns<ListAgentHostTerminalTargetsRequest>;
|
|
1399
|
+
export declare const AgentHostTerminalTarget: MessageFns<AgentHostTerminalTarget>;
|
|
1400
|
+
export declare const ListAgentHostTerminalTargetsResponse: MessageFns<ListAgentHostTerminalTargetsResponse>;
|
|
1401
|
+
export declare const CreateAgentHostTerminalRequest: MessageFns<CreateAgentHostTerminalRequest>;
|
|
1402
|
+
export declare const AgentHostTerminal: MessageFns<AgentHostTerminal>;
|
|
1403
|
+
export declare const ReadAgentHostTerminalRequest: MessageFns<ReadAgentHostTerminalRequest>;
|
|
1404
|
+
export declare const AgentHostTerminalOutput: MessageFns<AgentHostTerminalOutput>;
|
|
1405
|
+
export declare const WriteAgentHostTerminalRequest: MessageFns<WriteAgentHostTerminalRequest>;
|
|
1406
|
+
export declare const WriteAgentHostTerminalResponse: MessageFns<WriteAgentHostTerminalResponse>;
|
|
1407
|
+
export declare const CloseAgentHostTerminalRequest: MessageFns<CloseAgentHostTerminalRequest>;
|
|
1408
|
+
export declare const CloseAgentHostTerminalResponse: MessageFns<CloseAgentHostTerminalResponse>;
|
|
1409
|
+
export declare const OrgInvitation: MessageFns<OrgInvitation>;
|
|
1410
|
+
export declare const CreateOrgInvitationRequest: MessageFns<CreateOrgInvitationRequest>;
|
|
1411
|
+
export declare const CreateOrgInvitationResponse: MessageFns<CreateOrgInvitationResponse>;
|
|
1412
|
+
export declare const ListOrgInvitationsRequest: MessageFns<ListOrgInvitationsRequest>;
|
|
1413
|
+
export declare const ListOrgInvitationsResponse: MessageFns<ListOrgInvitationsResponse>;
|
|
1414
|
+
export declare const RevokeOrgInvitationRequest: MessageFns<RevokeOrgInvitationRequest>;
|
|
1415
|
+
export declare const PreviewOrgInvitationRequest: MessageFns<PreviewOrgInvitationRequest>;
|
|
1416
|
+
export declare const AcceptOrgInvitationRequest: MessageFns<AcceptOrgInvitationRequest>;
|
|
1417
|
+
/**
|
|
1418
|
+
* ProvisioningService manages Tarka identities, organizations, API keys,
|
|
1419
|
+
* quotas, metering, object storage, hosted Git, and desired-state compute
|
|
1420
|
+
* resources.
|
|
1421
|
+
*/
|
|
1422
|
+
export type ProvisioningServiceDefinition = typeof ProvisioningServiceDefinition;
|
|
1423
|
+
export declare const ProvisioningServiceDefinition: {
|
|
1424
|
+
readonly name: "ProvisioningService";
|
|
1425
|
+
readonly fullName: "tarka.provisioning.v1.ProvisioningService";
|
|
1426
|
+
readonly methods: {
|
|
1427
|
+
/**
|
|
1428
|
+
* GetPricingCatalog exposes the active USD retail catalog and currency factors.
|
|
1429
|
+
* Public, read-only; never includes credentials or upstream acquisition prices.
|
|
1430
|
+
*/
|
|
1431
|
+
readonly getPricingCatalog: {
|
|
1432
|
+
readonly name: "GetPricingCatalog";
|
|
1433
|
+
readonly requestType: typeof GetPricingCatalogRequest;
|
|
1434
|
+
readonly requestStream: false;
|
|
1435
|
+
readonly responseType: typeof PricingCatalog;
|
|
1436
|
+
readonly responseStream: false;
|
|
1437
|
+
readonly options: {
|
|
1438
|
+
readonly _unknownFields: {
|
|
1439
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1440
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
};
|
|
1443
|
+
/** CreateComputeQuote returns a five-minute quote without reserving funds. */
|
|
1444
|
+
readonly createComputeQuote: {
|
|
1445
|
+
readonly name: "CreateComputeQuote";
|
|
1446
|
+
readonly requestType: typeof CreateComputeQuoteRequest;
|
|
1447
|
+
readonly requestStream: false;
|
|
1448
|
+
readonly responseType: typeof ComputeQuote;
|
|
1449
|
+
readonly responseStream: false;
|
|
1450
|
+
readonly options: {
|
|
1451
|
+
readonly _unknownFields: {
|
|
1452
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
/** GetUsagePolicy returns current allowances and an owner acceptance estimate. */
|
|
1457
|
+
readonly getUsagePolicy: {
|
|
1458
|
+
readonly name: "GetUsagePolicy";
|
|
1459
|
+
readonly requestType: typeof GetUsagePolicyRequest;
|
|
1460
|
+
readonly requestStream: false;
|
|
1461
|
+
readonly responseType: typeof UsagePolicy;
|
|
1462
|
+
readonly responseStream: false;
|
|
1463
|
+
readonly options: {
|
|
1464
|
+
readonly _unknownFields: {
|
|
1465
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
};
|
|
1469
|
+
/** AcceptUsagePolicy enables prospective charging only after qualification. */
|
|
1470
|
+
readonly acceptUsagePolicy: {
|
|
1471
|
+
readonly name: "AcceptUsagePolicy";
|
|
1472
|
+
readonly requestType: typeof AcceptUsagePolicyRequest;
|
|
1473
|
+
readonly requestStream: false;
|
|
1474
|
+
readonly responseType: typeof UsagePolicy;
|
|
1475
|
+
readonly responseStream: false;
|
|
1476
|
+
readonly options: {
|
|
1477
|
+
readonly _unknownFields: {
|
|
1478
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
/**
|
|
1483
|
+
* GetInferenceCapture returns this organization's optional bucket-capture
|
|
1484
|
+
* configuration and recent delivery health. It never exposes internal archives.
|
|
1485
|
+
*/
|
|
1486
|
+
readonly getInferenceCapture: {
|
|
1487
|
+
readonly name: "GetInferenceCapture";
|
|
1488
|
+
readonly requestType: typeof GetInferenceCaptureRequest;
|
|
1489
|
+
readonly requestStream: false;
|
|
1490
|
+
readonly responseType: typeof InferenceCapture;
|
|
1491
|
+
readonly responseStream: false;
|
|
1492
|
+
readonly options: {
|
|
1493
|
+
readonly _unknownFields: {
|
|
1494
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1495
|
+
};
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
/**
|
|
1499
|
+
* UpdateInferenceCapture enables or disables customer-owned capture for all
|
|
1500
|
+
* model calls. Requires an organization owner/admin and storage access.
|
|
1501
|
+
* Enabling idempotently provisions the organization's inference-history bucket.
|
|
1502
|
+
*/
|
|
1503
|
+
readonly updateInferenceCapture: {
|
|
1504
|
+
readonly name: "UpdateInferenceCapture";
|
|
1505
|
+
readonly requestType: typeof UpdateInferenceCaptureRequest;
|
|
1506
|
+
readonly requestStream: false;
|
|
1507
|
+
readonly responseType: typeof InferenceCapture;
|
|
1508
|
+
readonly responseStream: false;
|
|
1509
|
+
readonly options: {
|
|
1510
|
+
readonly _unknownFields: {
|
|
1511
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
};
|
|
1515
|
+
/**
|
|
1516
|
+
* GetCurrentUser returns the authenticated identity and its active
|
|
1517
|
+
* organization memberships.
|
|
1518
|
+
*/
|
|
1519
|
+
readonly getCurrentUser: {
|
|
1520
|
+
readonly name: "GetCurrentUser";
|
|
1521
|
+
readonly requestType: typeof GetCurrentUserRequest;
|
|
1522
|
+
readonly requestStream: false;
|
|
1523
|
+
readonly responseType: typeof CurrentUser;
|
|
1524
|
+
readonly responseStream: false;
|
|
1525
|
+
readonly options: {
|
|
1526
|
+
readonly _unknownFields: {
|
|
1527
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
/**
|
|
1532
|
+
* BootstrapCurrentUser idempotently creates an initial organization when the
|
|
1533
|
+
* authenticated identity does not yet belong to one.
|
|
1534
|
+
*/
|
|
1535
|
+
readonly bootstrapCurrentUser: {
|
|
1536
|
+
readonly name: "BootstrapCurrentUser";
|
|
1537
|
+
readonly requestType: typeof BootstrapCurrentUserRequest;
|
|
1538
|
+
readonly requestStream: false;
|
|
1539
|
+
readonly responseType: typeof CurrentUser;
|
|
1540
|
+
readonly responseStream: false;
|
|
1541
|
+
readonly options: {
|
|
1542
|
+
readonly _unknownFields: {
|
|
1543
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1544
|
+
};
|
|
1545
|
+
};
|
|
1546
|
+
};
|
|
1547
|
+
/**
|
|
1548
|
+
* CreateOrg creates an additional organization and makes the authenticated
|
|
1549
|
+
* identity its owner.
|
|
1550
|
+
*/
|
|
1551
|
+
readonly createOrg: {
|
|
1552
|
+
readonly name: "CreateOrg";
|
|
1553
|
+
readonly requestType: typeof CreateOrgRequest;
|
|
1554
|
+
readonly requestStream: false;
|
|
1555
|
+
readonly responseType: typeof Org;
|
|
1556
|
+
readonly responseStream: false;
|
|
1557
|
+
readonly options: {
|
|
1558
|
+
readonly _unknownFields: {
|
|
1559
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
/**
|
|
1564
|
+
* RequestProductAccess submits an organization-scoped request for a product
|
|
1565
|
+
* that is not yet generally self-service.
|
|
1566
|
+
*/
|
|
1567
|
+
readonly requestProductAccess: {
|
|
1568
|
+
readonly name: "RequestProductAccess";
|
|
1569
|
+
readonly requestType: typeof RequestProductAccessRequest;
|
|
1570
|
+
readonly requestStream: false;
|
|
1571
|
+
readonly responseType: typeof ProductAccessRequest;
|
|
1572
|
+
readonly responseStream: false;
|
|
1573
|
+
readonly options: {
|
|
1574
|
+
readonly _unknownFields: {
|
|
1575
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1576
|
+
};
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
/**
|
|
1580
|
+
* ListProductAccessRequests returns recent requests submitted for an
|
|
1581
|
+
* organization, optionally filtered by product.
|
|
1582
|
+
*/
|
|
1583
|
+
readonly listProductAccessRequests: {
|
|
1584
|
+
readonly name: "ListProductAccessRequests";
|
|
1585
|
+
readonly requestType: typeof ListProductAccessRequestsRequest;
|
|
1586
|
+
readonly requestStream: false;
|
|
1587
|
+
readonly responseType: typeof ListProductAccessRequestsResponse;
|
|
1588
|
+
readonly responseStream: false;
|
|
1589
|
+
readonly options: {
|
|
1590
|
+
readonly _unknownFields: {
|
|
1591
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
/**
|
|
1596
|
+
* EnsureHostedGitAccess provisions or reconciles the authenticated user's
|
|
1597
|
+
* hosted Git identity.
|
|
1598
|
+
*/
|
|
1599
|
+
readonly ensureHostedGitAccess: {
|
|
1600
|
+
readonly name: "EnsureHostedGitAccess";
|
|
1601
|
+
readonly requestType: typeof EnsureHostedGitAccessRequest;
|
|
1602
|
+
readonly requestStream: false;
|
|
1603
|
+
readonly responseType: typeof HostedGitAccess;
|
|
1604
|
+
readonly responseStream: false;
|
|
1605
|
+
readonly options: {
|
|
1606
|
+
readonly _unknownFields: {
|
|
1607
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
/** ListModels returns active model aliases, optionally filtered by modality. */
|
|
1612
|
+
readonly listModels: {
|
|
1613
|
+
readonly name: "ListModels";
|
|
1614
|
+
readonly requestType: typeof ListModelsRequest;
|
|
1615
|
+
readonly requestStream: false;
|
|
1616
|
+
readonly responseType: typeof ListModelsResponse;
|
|
1617
|
+
readonly responseStream: false;
|
|
1618
|
+
readonly options: {
|
|
1619
|
+
readonly _unknownFields: {
|
|
1620
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
/**
|
|
1625
|
+
* CreateInferenceService records desired state for a managed inference
|
|
1626
|
+
* service. Reusing an organization, resource type, and name updates it.
|
|
1627
|
+
*/
|
|
1628
|
+
readonly createInferenceService: {
|
|
1629
|
+
readonly name: "CreateInferenceService";
|
|
1630
|
+
readonly requestType: typeof CreateInferenceServiceRequest;
|
|
1631
|
+
readonly requestStream: false;
|
|
1632
|
+
readonly responseType: typeof ProvisionedResource;
|
|
1633
|
+
readonly responseStream: false;
|
|
1634
|
+
readonly options: {
|
|
1635
|
+
readonly _unknownFields: {
|
|
1636
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
/**
|
|
1641
|
+
* CreateAgentHost applies desired state for a managed multi-service Compose
|
|
1642
|
+
* stack or a backward-compatible single-image Agent Host.
|
|
1643
|
+
*/
|
|
1644
|
+
readonly createAgentHost: {
|
|
1645
|
+
readonly name: "CreateAgentHost";
|
|
1646
|
+
readonly requestType: typeof CreateAgentHostRequest;
|
|
1647
|
+
readonly requestStream: false;
|
|
1648
|
+
readonly responseType: typeof ProvisionedResource;
|
|
1649
|
+
readonly responseStream: false;
|
|
1650
|
+
readonly options: {
|
|
1651
|
+
readonly _unknownFields: {
|
|
1652
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
/**
|
|
1657
|
+
* ListAgentHostTemplates returns the versioned Compose templates published
|
|
1658
|
+
* by Tarka. Template definitions never contain runtime secret values.
|
|
1659
|
+
*/
|
|
1660
|
+
readonly listAgentHostTemplates: {
|
|
1661
|
+
readonly name: "ListAgentHostTemplates";
|
|
1662
|
+
readonly requestType: typeof ListAgentHostTemplatesRequest;
|
|
1663
|
+
readonly requestStream: false;
|
|
1664
|
+
readonly responseType: typeof ListAgentHostTemplatesResponse;
|
|
1665
|
+
readonly responseStream: false;
|
|
1666
|
+
readonly options: {
|
|
1667
|
+
readonly _unknownFields: {
|
|
1668
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
/**
|
|
1673
|
+
* GetAgentHostConfiguration returns the editable, redacted configuration for
|
|
1674
|
+
* one Agent Host. Secret values are never returned; preserve_existing marks
|
|
1675
|
+
* secret references that may be carried into a later revision.
|
|
1676
|
+
*/
|
|
1677
|
+
readonly getAgentHostConfiguration: {
|
|
1678
|
+
readonly name: "GetAgentHostConfiguration";
|
|
1679
|
+
readonly requestType: typeof GetAgentHostConfigurationRequest;
|
|
1680
|
+
readonly requestStream: false;
|
|
1681
|
+
readonly responseType: typeof AgentHostConfiguration;
|
|
1682
|
+
readonly responseStream: false;
|
|
1683
|
+
readonly options: {
|
|
1684
|
+
readonly _unknownFields: {
|
|
1685
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1686
|
+
};
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1689
|
+
/**
|
|
1690
|
+
* StartAgentHostRegistryTest validates a complete credential assignment in a
|
|
1691
|
+
* disposable worker. It does not allocate a host or change saved credentials.
|
|
1692
|
+
*/
|
|
1693
|
+
readonly startAgentHostRegistryTest: {
|
|
1694
|
+
readonly name: "StartAgentHostRegistryTest";
|
|
1695
|
+
readonly requestType: typeof StartAgentHostRegistryTestRequest;
|
|
1696
|
+
readonly requestStream: false;
|
|
1697
|
+
readonly responseType: typeof AgentHostRegistryTest;
|
|
1698
|
+
readonly responseStream: false;
|
|
1699
|
+
readonly options: {
|
|
1700
|
+
readonly _unknownFields: {
|
|
1701
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1702
|
+
};
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
readonly getAgentHostRegistryTest: {
|
|
1706
|
+
readonly name: "GetAgentHostRegistryTest";
|
|
1707
|
+
readonly requestType: typeof GetAgentHostRegistryTestRequest;
|
|
1708
|
+
readonly requestStream: false;
|
|
1709
|
+
readonly responseType: typeof AgentHostRegistryTest;
|
|
1710
|
+
readonly responseStream: false;
|
|
1711
|
+
readonly options: {
|
|
1712
|
+
readonly _unknownFields: {
|
|
1713
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
};
|
|
1717
|
+
readonly cancelAgentHostRegistryTest: {
|
|
1718
|
+
readonly name: "CancelAgentHostRegistryTest";
|
|
1719
|
+
readonly requestType: typeof CancelAgentHostRegistryTestRequest;
|
|
1720
|
+
readonly requestStream: false;
|
|
1721
|
+
readonly responseType: typeof AgentHostRegistryTest;
|
|
1722
|
+
readonly responseStream: false;
|
|
1723
|
+
readonly options: {
|
|
1724
|
+
readonly _unknownFields: {
|
|
1725
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
/**
|
|
1730
|
+
* Source integration and isolated builds are capability-gated. Contract
|
|
1731
|
+
* publication alone does not enable them or alter existing image-only hosts.
|
|
1732
|
+
*/
|
|
1733
|
+
readonly getSourceCapabilities: {
|
|
1734
|
+
readonly name: "GetSourceCapabilities";
|
|
1735
|
+
readonly requestType: typeof GetSourceCapabilitiesRequest;
|
|
1736
|
+
readonly requestStream: false;
|
|
1737
|
+
readonly responseType: typeof GetSourceCapabilitiesResponse;
|
|
1738
|
+
readonly responseStream: false;
|
|
1739
|
+
readonly options: {
|
|
1740
|
+
readonly _unknownFields: {
|
|
1741
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1742
|
+
};
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
readonly previewSource: {
|
|
1746
|
+
readonly name: "PreviewSource";
|
|
1747
|
+
readonly requestType: typeof PreviewSourceRequest;
|
|
1748
|
+
readonly requestStream: false;
|
|
1749
|
+
readonly responseType: typeof PreviewSourceResponse;
|
|
1750
|
+
readonly responseStream: false;
|
|
1751
|
+
readonly options: {
|
|
1752
|
+
readonly _unknownFields: {
|
|
1753
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
readonly prepareSourceDeployment: {
|
|
1758
|
+
readonly name: "PrepareSourceDeployment";
|
|
1759
|
+
readonly requestType: typeof PrepareSourceDeploymentRequest;
|
|
1760
|
+
readonly requestStream: false;
|
|
1761
|
+
readonly responseType: typeof PrepareSourceDeploymentResponse;
|
|
1762
|
+
readonly responseStream: false;
|
|
1763
|
+
readonly options: {
|
|
1764
|
+
readonly _unknownFields: {
|
|
1765
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1766
|
+
};
|
|
1767
|
+
};
|
|
1768
|
+
};
|
|
1769
|
+
readonly startGitHubSourceAuthorization: {
|
|
1770
|
+
readonly name: "StartGitHubSourceAuthorization";
|
|
1771
|
+
readonly requestType: typeof StartGitHubSourceAuthorizationRequest;
|
|
1772
|
+
readonly requestStream: false;
|
|
1773
|
+
readonly responseType: typeof GitHubSourceAuthorization;
|
|
1774
|
+
readonly responseStream: false;
|
|
1775
|
+
readonly options: {
|
|
1776
|
+
readonly _unknownFields: {
|
|
1777
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
readonly listGitHubSourceInstallations: {
|
|
1782
|
+
readonly name: "ListGitHubSourceInstallations";
|
|
1783
|
+
readonly requestType: typeof ListGitHubSourceInstallationsRequest;
|
|
1784
|
+
readonly requestStream: false;
|
|
1785
|
+
readonly responseType: typeof ListGitHubSourceInstallationsResponse;
|
|
1786
|
+
readonly responseStream: false;
|
|
1787
|
+
readonly options: {
|
|
1788
|
+
readonly _unknownFields: {
|
|
1789
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
readonly listGitHubSourceRepositories: {
|
|
1794
|
+
readonly name: "ListGitHubSourceRepositories";
|
|
1795
|
+
readonly requestType: typeof ListGitHubSourceRepositoriesRequest;
|
|
1796
|
+
readonly requestStream: false;
|
|
1797
|
+
readonly responseType: typeof ListGitHubSourceRepositoriesResponse;
|
|
1798
|
+
readonly responseStream: false;
|
|
1799
|
+
readonly options: {
|
|
1800
|
+
readonly _unknownFields: {
|
|
1801
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1802
|
+
};
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
readonly connectGitHubSource: {
|
|
1806
|
+
readonly name: "ConnectGitHubSource";
|
|
1807
|
+
readonly requestType: typeof ConnectGitHubSourceRequest;
|
|
1808
|
+
readonly requestStream: false;
|
|
1809
|
+
readonly responseType: typeof SourceConnection;
|
|
1810
|
+
readonly responseStream: false;
|
|
1811
|
+
readonly options: {
|
|
1812
|
+
readonly _unknownFields: {
|
|
1813
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1814
|
+
};
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
readonly connectHostedGitSource: {
|
|
1818
|
+
readonly name: "ConnectHostedGitSource";
|
|
1819
|
+
readonly requestType: typeof ConnectHostedGitSourceRequest;
|
|
1820
|
+
readonly requestStream: false;
|
|
1821
|
+
readonly responseType: typeof SourceConnection;
|
|
1822
|
+
readonly responseStream: false;
|
|
1823
|
+
readonly options: {
|
|
1824
|
+
readonly _unknownFields: {
|
|
1825
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1826
|
+
};
|
|
1827
|
+
};
|
|
1828
|
+
};
|
|
1829
|
+
readonly listSourceConnections: {
|
|
1830
|
+
readonly name: "ListSourceConnections";
|
|
1831
|
+
readonly requestType: typeof ListSourceConnectionsRequest;
|
|
1832
|
+
readonly requestStream: false;
|
|
1833
|
+
readonly responseType: typeof ListSourceConnectionsResponse;
|
|
1834
|
+
readonly responseStream: false;
|
|
1835
|
+
readonly options: {
|
|
1836
|
+
readonly _unknownFields: {
|
|
1837
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
readonly disconnectSourceConnection: {
|
|
1842
|
+
readonly name: "DisconnectSourceConnection";
|
|
1843
|
+
readonly requestType: typeof DisconnectSourceConnectionRequest;
|
|
1844
|
+
readonly requestStream: false;
|
|
1845
|
+
readonly responseType: typeof SourceConnection;
|
|
1846
|
+
readonly responseStream: false;
|
|
1847
|
+
readonly options: {
|
|
1848
|
+
readonly _unknownFields: {
|
|
1849
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1850
|
+
};
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
readonly putSourceTarget: {
|
|
1854
|
+
readonly name: "PutSourceTarget";
|
|
1855
|
+
readonly requestType: typeof PutSourceTargetRequest;
|
|
1856
|
+
readonly requestStream: false;
|
|
1857
|
+
readonly responseType: typeof SourceTarget;
|
|
1858
|
+
readonly responseStream: false;
|
|
1859
|
+
readonly options: {
|
|
1860
|
+
readonly _unknownFields: {
|
|
1861
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
readonly listSourceTargets: {
|
|
1866
|
+
readonly name: "ListSourceTargets";
|
|
1867
|
+
readonly requestType: typeof ListSourceTargetsRequest;
|
|
1868
|
+
readonly requestStream: false;
|
|
1869
|
+
readonly responseType: typeof ListSourceTargetsResponse;
|
|
1870
|
+
readonly responseStream: false;
|
|
1871
|
+
readonly options: {
|
|
1872
|
+
readonly _unknownFields: {
|
|
1873
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
readonly startSourceBuild: {
|
|
1878
|
+
readonly name: "StartSourceBuild";
|
|
1879
|
+
readonly requestType: typeof StartSourceBuildRequest;
|
|
1880
|
+
readonly requestStream: false;
|
|
1881
|
+
readonly responseType: typeof SourceBuild;
|
|
1882
|
+
readonly responseStream: false;
|
|
1883
|
+
readonly options: {
|
|
1884
|
+
readonly _unknownFields: {
|
|
1885
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
readonly listSourceBuilds: {
|
|
1890
|
+
readonly name: "ListSourceBuilds";
|
|
1891
|
+
readonly requestType: typeof ListSourceBuildsRequest;
|
|
1892
|
+
readonly requestStream: false;
|
|
1893
|
+
readonly responseType: typeof ListSourceBuildsResponse;
|
|
1894
|
+
readonly responseStream: false;
|
|
1895
|
+
readonly options: {
|
|
1896
|
+
readonly _unknownFields: {
|
|
1897
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
readonly getSourceBuild: {
|
|
1902
|
+
readonly name: "GetSourceBuild";
|
|
1903
|
+
readonly requestType: typeof GetSourceBuildRequest;
|
|
1904
|
+
readonly requestStream: false;
|
|
1905
|
+
readonly responseType: typeof SourceBuild;
|
|
1906
|
+
readonly responseStream: false;
|
|
1907
|
+
readonly options: {
|
|
1908
|
+
readonly _unknownFields: {
|
|
1909
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
};
|
|
1913
|
+
readonly cancelSourceBuild: {
|
|
1914
|
+
readonly name: "CancelSourceBuild";
|
|
1915
|
+
readonly requestType: typeof CancelSourceBuildRequest;
|
|
1916
|
+
readonly requestStream: false;
|
|
1917
|
+
readonly responseType: typeof SourceBuild;
|
|
1918
|
+
readonly responseStream: false;
|
|
1919
|
+
readonly options: {
|
|
1920
|
+
readonly _unknownFields: {
|
|
1921
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
readonly getSourceBuildLogs: {
|
|
1926
|
+
readonly name: "GetSourceBuildLogs";
|
|
1927
|
+
readonly requestType: typeof GetSourceBuildLogsRequest;
|
|
1928
|
+
readonly requestStream: false;
|
|
1929
|
+
readonly responseType: typeof GetSourceBuildLogsResponse;
|
|
1930
|
+
readonly responseStream: false;
|
|
1931
|
+
readonly options: {
|
|
1932
|
+
readonly _unknownFields: {
|
|
1933
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1934
|
+
};
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1937
|
+
/**
|
|
1938
|
+
* GetAgentHostGatewayPairing returns a short-lived pairing artifact for a
|
|
1939
|
+
* post-deploy messaging gateway. The runtime service remains private to the
|
|
1940
|
+
* Agent Host namespace and is never exposed directly to the Internet.
|
|
1941
|
+
*/
|
|
1942
|
+
readonly getAgentHostGatewayPairing: {
|
|
1943
|
+
readonly name: "GetAgentHostGatewayPairing";
|
|
1944
|
+
readonly requestType: typeof GetAgentHostGatewayPairingRequest;
|
|
1945
|
+
readonly requestStream: false;
|
|
1946
|
+
readonly responseType: typeof AgentHostGatewayPairing;
|
|
1947
|
+
readonly responseStream: false;
|
|
1948
|
+
readonly options: {
|
|
1949
|
+
readonly _unknownFields: {
|
|
1950
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1951
|
+
};
|
|
1952
|
+
};
|
|
1953
|
+
};
|
|
1954
|
+
/**
|
|
1955
|
+
* ListAgentHostTerminalTargets lists running application containers in this
|
|
1956
|
+
* host. Platform gateways and initialization containers are excluded.
|
|
1957
|
+
*/
|
|
1958
|
+
readonly listAgentHostTerminalTargets: {
|
|
1959
|
+
readonly name: "ListAgentHostTerminalTargets";
|
|
1960
|
+
readonly requestType: typeof ListAgentHostTerminalTargetsRequest;
|
|
1961
|
+
readonly requestStream: false;
|
|
1962
|
+
readonly responseType: typeof ListAgentHostTerminalTargetsResponse;
|
|
1963
|
+
readonly responseStream: false;
|
|
1964
|
+
readonly options: {
|
|
1965
|
+
readonly _unknownFields: {
|
|
1966
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1967
|
+
};
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1970
|
+
/**
|
|
1971
|
+
* CreateAgentHostTerminal opens a real interactive PTY in a selected running
|
|
1972
|
+
* container. Sessions belong to the authenticated user and this host; opening
|
|
1973
|
+
* another session never resumes a different user's shell. Requires a resource
|
|
1974
|
+
* manager role and active agents access. No command or output is audit logged.
|
|
1975
|
+
*/
|
|
1976
|
+
readonly createAgentHostTerminal: {
|
|
1977
|
+
readonly name: "CreateAgentHostTerminal";
|
|
1978
|
+
readonly requestType: typeof CreateAgentHostTerminalRequest;
|
|
1979
|
+
readonly requestStream: false;
|
|
1980
|
+
readonly responseType: typeof AgentHostTerminal;
|
|
1981
|
+
readonly responseStream: false;
|
|
1982
|
+
readonly options: {
|
|
1983
|
+
readonly _unknownFields: {
|
|
1984
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1988
|
+
/**
|
|
1989
|
+
* ReadAgentHostTerminal reads bounded raw terminal bytes after a byte offset.
|
|
1990
|
+
* It may wait up to 20 seconds for output. Old bytes can be evicted; callers
|
|
1991
|
+
* must advance to next_offset and indicate output_lost to the user.
|
|
1992
|
+
*/
|
|
1993
|
+
readonly readAgentHostTerminal: {
|
|
1994
|
+
readonly name: "ReadAgentHostTerminal";
|
|
1995
|
+
readonly requestType: typeof ReadAgentHostTerminalRequest;
|
|
1996
|
+
readonly requestStream: false;
|
|
1997
|
+
readonly responseType: typeof AgentHostTerminalOutput;
|
|
1998
|
+
readonly responseStream: false;
|
|
1999
|
+
readonly options: {
|
|
2000
|
+
readonly _unknownFields: {
|
|
2001
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
2005
|
+
/**
|
|
2006
|
+
* WriteAgentHostTerminal sends up to 16 KiB of raw input and/or a PTY resize.
|
|
2007
|
+
* Each write uses a strictly increasing input_sequence starting at 1. An exact
|
|
2008
|
+
* retry of the last write is acknowledged without replaying its input; a
|
|
2009
|
+
* reused sequence with different content or a sequence gap is rejected.
|
|
2010
|
+
*/
|
|
2011
|
+
readonly writeAgentHostTerminal: {
|
|
2012
|
+
readonly name: "WriteAgentHostTerminal";
|
|
2013
|
+
readonly requestType: typeof WriteAgentHostTerminalRequest;
|
|
2014
|
+
readonly requestStream: false;
|
|
2015
|
+
readonly responseType: typeof WriteAgentHostTerminalResponse;
|
|
2016
|
+
readonly responseStream: false;
|
|
2017
|
+
readonly options: {
|
|
2018
|
+
readonly _unknownFields: {
|
|
2019
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
};
|
|
2023
|
+
/**
|
|
2024
|
+
* CloseAgentHostTerminal closes only the caller's session and its exec
|
|
2025
|
+
* connection. Expired or already closed sessions are safe to close again.
|
|
2026
|
+
* Closing a terminal does not delete the host or its persistent files.
|
|
2027
|
+
*/
|
|
2028
|
+
readonly closeAgentHostTerminal: {
|
|
2029
|
+
readonly name: "CloseAgentHostTerminal";
|
|
2030
|
+
readonly requestType: typeof CloseAgentHostTerminalRequest;
|
|
2031
|
+
readonly requestStream: false;
|
|
2032
|
+
readonly responseType: typeof CloseAgentHostTerminalResponse;
|
|
2033
|
+
readonly responseStream: false;
|
|
2034
|
+
readonly options: {
|
|
2035
|
+
readonly _unknownFields: {
|
|
2036
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
2040
|
+
/**
|
|
2041
|
+
* DeleteAgentHost requests deletion of an Agent Host and every namespaced
|
|
2042
|
+
* workload owned by it. Retained volume data follows the platform policy.
|
|
2043
|
+
*/
|
|
2044
|
+
readonly deleteAgentHost: {
|
|
2045
|
+
readonly name: "DeleteAgentHost";
|
|
2046
|
+
readonly requestType: typeof DeleteAgentHostRequest;
|
|
2047
|
+
readonly requestStream: false;
|
|
2048
|
+
readonly responseType: typeof ProvisionedResource;
|
|
2049
|
+
readonly responseStream: false;
|
|
2050
|
+
readonly options: {
|
|
2051
|
+
readonly _unknownFields: {
|
|
2052
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2053
|
+
};
|
|
2054
|
+
};
|
|
2055
|
+
};
|
|
2056
|
+
/**
|
|
2057
|
+
* Pausing retains persistent data. Resuming explicitly reserves prepaid credit;
|
|
2058
|
+
* topping up alone never resumes a paused host.
|
|
2059
|
+
*/
|
|
2060
|
+
readonly setAgentHostRunning: {
|
|
2061
|
+
readonly name: "SetAgentHostRunning";
|
|
2062
|
+
readonly requestType: typeof SetAgentHostRunningRequest;
|
|
2063
|
+
readonly requestStream: false;
|
|
2064
|
+
readonly responseType: typeof ProvisionedResource;
|
|
2065
|
+
readonly responseStream: false;
|
|
2066
|
+
readonly options: {
|
|
2067
|
+
readonly _unknownFields: {
|
|
2068
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2069
|
+
};
|
|
2070
|
+
};
|
|
2071
|
+
};
|
|
2072
|
+
/** PrepareAgentHostSecrets returns a console handoff without any secret values. */
|
|
2073
|
+
readonly prepareAgentHostSecrets: {
|
|
2074
|
+
readonly name: "PrepareAgentHostSecrets";
|
|
2075
|
+
readonly requestType: typeof PrepareAgentHostSecretsRequest;
|
|
2076
|
+
readonly requestStream: false;
|
|
2077
|
+
readonly responseType: typeof AgentHostSecretBundle;
|
|
2078
|
+
readonly responseStream: false;
|
|
2079
|
+
readonly options: {
|
|
2080
|
+
readonly _unknownFields: {
|
|
2081
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2082
|
+
};
|
|
2083
|
+
};
|
|
2084
|
+
};
|
|
2085
|
+
/** GetAgentHostSecrets returns only the handoff status and key names. */
|
|
2086
|
+
readonly getAgentHostSecrets: {
|
|
2087
|
+
readonly name: "GetAgentHostSecrets";
|
|
2088
|
+
readonly requestType: typeof GetAgentHostSecretsRequest;
|
|
2089
|
+
readonly requestStream: false;
|
|
2090
|
+
readonly responseType: typeof AgentHostSecretBundle;
|
|
2091
|
+
readonly responseStream: false;
|
|
2092
|
+
readonly options: {
|
|
2093
|
+
readonly _unknownFields: {
|
|
2094
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
};
|
|
2098
|
+
/**
|
|
2099
|
+
* UploadAgentHostSecrets accepts direct authenticated file/console uploads.
|
|
2100
|
+
* This write-only method is not offered through MCP.
|
|
2101
|
+
*/
|
|
2102
|
+
readonly uploadAgentHostSecrets: {
|
|
2103
|
+
readonly name: "UploadAgentHostSecrets";
|
|
2104
|
+
readonly requestType: typeof UploadAgentHostSecretsRequest;
|
|
2105
|
+
readonly requestStream: false;
|
|
2106
|
+
readonly responseType: typeof AgentHostSecretBundle;
|
|
2107
|
+
readonly responseStream: false;
|
|
2108
|
+
readonly options: {
|
|
2109
|
+
readonly _unknownFields: {
|
|
2110
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
/**
|
|
2115
|
+
* CreateJob records a finite job revision and queues its first run atomically.
|
|
2116
|
+
* Exact idempotent retries return the original result. A changed revision of
|
|
2117
|
+
* an active job is rejected. An accepted response is not execution readiness.
|
|
2118
|
+
* The runtime remains feature-gated; unavailable products fail closed.
|
|
2119
|
+
*/
|
|
2120
|
+
readonly createJob: {
|
|
2121
|
+
readonly name: "CreateJob";
|
|
2122
|
+
readonly requestType: typeof CreateJobRequest;
|
|
2123
|
+
readonly requestStream: false;
|
|
2124
|
+
readonly responseType: typeof ProvisionedResource;
|
|
2125
|
+
readonly responseStream: false;
|
|
2126
|
+
readonly options: {
|
|
2127
|
+
readonly _unknownFields: {
|
|
2128
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2129
|
+
};
|
|
2130
|
+
};
|
|
2131
|
+
};
|
|
2132
|
+
/**
|
|
2133
|
+
* GetJob reads an organization-owned job's current desired state. Listing
|
|
2134
|
+
* jobs uses ListProvisionedResources with resource_type="job".
|
|
2135
|
+
*/
|
|
2136
|
+
readonly getJob: {
|
|
2137
|
+
readonly name: "GetJob";
|
|
2138
|
+
readonly requestType: typeof GetJobRequest;
|
|
2139
|
+
readonly requestStream: false;
|
|
2140
|
+
readonly responseType: typeof ProvisionedResource;
|
|
2141
|
+
readonly responseStream: false;
|
|
2142
|
+
readonly options: {
|
|
2143
|
+
readonly _unknownFields: {
|
|
2144
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
/**
|
|
2149
|
+
* ListJobRuns returns immutable revisions, newest first. A revision may have
|
|
2150
|
+
* bounded infrastructure retries, but never overlapping execution attempts.
|
|
2151
|
+
*/
|
|
2152
|
+
readonly listJobRuns: {
|
|
2153
|
+
readonly name: "ListJobRuns";
|
|
2154
|
+
readonly requestType: typeof ListJobRunsRequest;
|
|
2155
|
+
readonly requestStream: false;
|
|
2156
|
+
readonly responseType: typeof ListJobRunsResponse;
|
|
2157
|
+
readonly responseStream: false;
|
|
2158
|
+
readonly options: {
|
|
2159
|
+
readonly _unknownFields: {
|
|
2160
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2161
|
+
};
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2164
|
+
/** GetJobRun reads execution state without returning customer output. */
|
|
2165
|
+
readonly getJobRun: {
|
|
2166
|
+
readonly name: "GetJobRun";
|
|
2167
|
+
readonly requestType: typeof GetJobRunRequest;
|
|
2168
|
+
readonly requestStream: false;
|
|
2169
|
+
readonly responseType: typeof JobRun;
|
|
2170
|
+
readonly responseStream: false;
|
|
2171
|
+
readonly options: {
|
|
2172
|
+
readonly _unknownFields: {
|
|
2173
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2174
|
+
};
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
/**
|
|
2178
|
+
* CancelJobRun is idempotent. STOPPING retains its budget reservation until
|
|
2179
|
+
* execution is confirmed stopped. A terminal run is returned unchanged.
|
|
2180
|
+
*/
|
|
2181
|
+
readonly cancelJobRun: {
|
|
2182
|
+
readonly name: "CancelJobRun";
|
|
2183
|
+
readonly requestType: typeof CancelJobRunRequest;
|
|
2184
|
+
readonly requestStream: false;
|
|
2185
|
+
readonly responseType: typeof JobRun;
|
|
2186
|
+
readonly responseStream: false;
|
|
2187
|
+
readonly options: {
|
|
2188
|
+
readonly _unknownFields: {
|
|
2189
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2190
|
+
};
|
|
2191
|
+
};
|
|
2192
|
+
};
|
|
2193
|
+
/**
|
|
2194
|
+
* GetJobRunResult returns terminal result metadata and an optional signed log
|
|
2195
|
+
* download. It rechecks organization and product access on every request.
|
|
2196
|
+
*/
|
|
2197
|
+
readonly getJobRunResult: {
|
|
2198
|
+
readonly name: "GetJobRunResult";
|
|
2199
|
+
readonly requestType: typeof GetJobRunResultRequest;
|
|
2200
|
+
readonly requestStream: false;
|
|
2201
|
+
readonly responseType: typeof JobRunResult;
|
|
2202
|
+
readonly responseStream: false;
|
|
2203
|
+
readonly options: {
|
|
2204
|
+
readonly _unknownFields: {
|
|
2205
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2206
|
+
};
|
|
2207
|
+
};
|
|
2208
|
+
};
|
|
2209
|
+
/**
|
|
2210
|
+
* CreateApiKey creates a customer API key. Its plaintext secret is returned
|
|
2211
|
+
* exactly once in the response.
|
|
2212
|
+
*/
|
|
2213
|
+
readonly createApiKey: {
|
|
2214
|
+
readonly name: "CreateApiKey";
|
|
2215
|
+
readonly requestType: typeof CreateApiKeyRequest;
|
|
2216
|
+
readonly requestStream: false;
|
|
2217
|
+
readonly responseType: typeof CreateApiKeyResponse;
|
|
2218
|
+
readonly responseStream: false;
|
|
2219
|
+
readonly options: {
|
|
2220
|
+
readonly _unknownFields: {
|
|
2221
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
/** ListApiKeys returns redacted API-key metadata for an organization. */
|
|
2226
|
+
readonly listApiKeys: {
|
|
2227
|
+
readonly name: "ListApiKeys";
|
|
2228
|
+
readonly requestType: typeof ListApiKeysRequest;
|
|
2229
|
+
readonly requestStream: false;
|
|
2230
|
+
readonly responseType: typeof ListApiKeysResponse;
|
|
2231
|
+
readonly responseStream: false;
|
|
2232
|
+
readonly options: {
|
|
2233
|
+
readonly _unknownFields: {
|
|
2234
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2235
|
+
};
|
|
2236
|
+
};
|
|
2237
|
+
};
|
|
2238
|
+
/** RevokeApiKey permanently disables an API key. */
|
|
2239
|
+
readonly revokeApiKey: {
|
|
2240
|
+
readonly name: "RevokeApiKey";
|
|
2241
|
+
readonly requestType: typeof RevokeApiKeyRequest;
|
|
2242
|
+
readonly requestStream: false;
|
|
2243
|
+
readonly responseType: typeof RevokeApiKeyResponse;
|
|
2244
|
+
readonly responseStream: false;
|
|
2245
|
+
readonly options: {
|
|
2246
|
+
readonly _unknownFields: {
|
|
2247
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2248
|
+
};
|
|
2249
|
+
};
|
|
2250
|
+
};
|
|
2251
|
+
/** GetOrg returns an active organization visible to the caller. */
|
|
2252
|
+
readonly getOrg: {
|
|
2253
|
+
readonly name: "GetOrg";
|
|
2254
|
+
readonly requestType: typeof GetOrgRequest;
|
|
2255
|
+
readonly requestStream: false;
|
|
2256
|
+
readonly responseType: typeof Org;
|
|
2257
|
+
readonly responseStream: false;
|
|
2258
|
+
readonly options: {
|
|
2259
|
+
readonly _unknownFields: {
|
|
2260
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2261
|
+
};
|
|
2262
|
+
};
|
|
2263
|
+
};
|
|
2264
|
+
/** UpdateOrg changes mutable organization metadata. */
|
|
2265
|
+
readonly updateOrg: {
|
|
2266
|
+
readonly name: "UpdateOrg";
|
|
2267
|
+
readonly requestType: typeof UpdateOrgRequest;
|
|
2268
|
+
readonly requestStream: false;
|
|
2269
|
+
readonly responseType: typeof Org;
|
|
2270
|
+
readonly responseStream: false;
|
|
2271
|
+
readonly options: {
|
|
2272
|
+
readonly _unknownFields: {
|
|
2273
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
2277
|
+
/**
|
|
2278
|
+
* CreateOrgInvitation issues a seven-day invitation or replaces a previous link.
|
|
2279
|
+
* Owners may invite admins; owners and admins may invite other non-owner roles.
|
|
2280
|
+
* The token is returned once for delivery by a trusted email client. Never log it.
|
|
2281
|
+
*/
|
|
2282
|
+
readonly createOrgInvitation: {
|
|
2283
|
+
readonly name: "CreateOrgInvitation";
|
|
2284
|
+
readonly requestType: typeof CreateOrgInvitationRequest;
|
|
2285
|
+
readonly requestStream: false;
|
|
2286
|
+
readonly responseType: typeof CreateOrgInvitationResponse;
|
|
2287
|
+
readonly responseStream: false;
|
|
2288
|
+
readonly options: {
|
|
2289
|
+
readonly _unknownFields: {
|
|
2290
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2291
|
+
};
|
|
2292
|
+
};
|
|
2293
|
+
};
|
|
2294
|
+
/** ListOrgInvitations returns invitation history to organization administrators. */
|
|
2295
|
+
readonly listOrgInvitations: {
|
|
2296
|
+
readonly name: "ListOrgInvitations";
|
|
2297
|
+
readonly requestType: typeof ListOrgInvitationsRequest;
|
|
2298
|
+
readonly requestStream: false;
|
|
2299
|
+
readonly responseType: typeof ListOrgInvitationsResponse;
|
|
2300
|
+
readonly responseStream: false;
|
|
2301
|
+
readonly options: {
|
|
2302
|
+
readonly _unknownFields: {
|
|
2303
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2304
|
+
};
|
|
2305
|
+
};
|
|
2306
|
+
};
|
|
2307
|
+
/** RevokeOrgInvitation invalidates an outstanding link. */
|
|
2308
|
+
readonly revokeOrgInvitation: {
|
|
2309
|
+
readonly name: "RevokeOrgInvitation";
|
|
2310
|
+
readonly requestType: typeof RevokeOrgInvitationRequest;
|
|
2311
|
+
readonly requestStream: false;
|
|
2312
|
+
readonly responseType: typeof OrgInvitation;
|
|
2313
|
+
readonly responseStream: false;
|
|
2314
|
+
readonly options: {
|
|
2315
|
+
readonly _unknownFields: {
|
|
2316
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2317
|
+
};
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
/**
|
|
2321
|
+
* PreviewOrgInvitation requires the verified recipient identity. Pending platform
|
|
2322
|
+
* accounts may preview and accept; invitations never grant product entitlements.
|
|
2323
|
+
*/
|
|
2324
|
+
readonly previewOrgInvitation: {
|
|
2325
|
+
readonly name: "PreviewOrgInvitation";
|
|
2326
|
+
readonly requestType: typeof PreviewOrgInvitationRequest;
|
|
2327
|
+
readonly requestStream: false;
|
|
2328
|
+
readonly responseType: typeof OrgInvitation;
|
|
2329
|
+
readonly responseStream: false;
|
|
2330
|
+
readonly options: {
|
|
2331
|
+
readonly _unknownFields: {
|
|
2332
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2333
|
+
};
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
/**
|
|
2337
|
+
* AcceptOrgInvitation atomically consumes a link and creates the membership.
|
|
2338
|
+
* Retrying with the same recipient is safe and never changes an existing role.
|
|
2339
|
+
*/
|
|
2340
|
+
readonly acceptOrgInvitation: {
|
|
2341
|
+
readonly name: "AcceptOrgInvitation";
|
|
2342
|
+
readonly requestType: typeof AcceptOrgInvitationRequest;
|
|
2343
|
+
readonly requestStream: false;
|
|
2344
|
+
readonly responseType: typeof Org;
|
|
2345
|
+
readonly responseStream: false;
|
|
2346
|
+
readonly options: {
|
|
2347
|
+
readonly _unknownFields: {
|
|
2348
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
};
|
|
2352
|
+
/**
|
|
2353
|
+
* ListOrgMembers returns active and inactive memberships visible to an
|
|
2354
|
+
* organization member.
|
|
2355
|
+
*/
|
|
2356
|
+
readonly listOrgMembers: {
|
|
2357
|
+
readonly name: "ListOrgMembers";
|
|
2358
|
+
readonly requestType: typeof ListOrgMembersRequest;
|
|
2359
|
+
readonly requestStream: false;
|
|
2360
|
+
readonly responseType: typeof ListOrgMembersResponse;
|
|
2361
|
+
readonly responseStream: false;
|
|
2362
|
+
readonly options: {
|
|
2363
|
+
readonly _unknownFields: {
|
|
2364
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
};
|
|
2368
|
+
/** GetQuotaPolicy returns an organization's effective inference quota policy. */
|
|
2369
|
+
readonly getQuotaPolicy: {
|
|
2370
|
+
readonly name: "GetQuotaPolicy";
|
|
2371
|
+
readonly requestType: typeof GetQuotaPolicyRequest;
|
|
2372
|
+
readonly requestStream: false;
|
|
2373
|
+
readonly responseType: typeof QuotaPolicy;
|
|
2374
|
+
readonly responseStream: false;
|
|
2375
|
+
readonly options: {
|
|
2376
|
+
readonly _unknownFields: {
|
|
2377
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2378
|
+
};
|
|
2379
|
+
};
|
|
2380
|
+
};
|
|
2381
|
+
/** UpdateQuotaPolicy replaces an organization's inference quota policy. */
|
|
2382
|
+
readonly updateQuotaPolicy: {
|
|
2383
|
+
readonly name: "UpdateQuotaPolicy";
|
|
2384
|
+
readonly requestType: typeof UpdateQuotaPolicyRequest;
|
|
2385
|
+
readonly requestStream: false;
|
|
2386
|
+
readonly responseType: typeof QuotaPolicy;
|
|
2387
|
+
readonly responseStream: false;
|
|
2388
|
+
readonly options: {
|
|
2389
|
+
readonly _unknownFields: {
|
|
2390
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2391
|
+
};
|
|
2392
|
+
};
|
|
2393
|
+
};
|
|
2394
|
+
/**
|
|
2395
|
+
* GetSpendLimits returns an organization's monthly spend limits and what it
|
|
2396
|
+
* has been charged against each in the current UTC calendar month.
|
|
2397
|
+
*/
|
|
2398
|
+
readonly getSpendLimits: {
|
|
2399
|
+
readonly name: "GetSpendLimits";
|
|
2400
|
+
readonly requestType: typeof GetSpendLimitsRequest;
|
|
2401
|
+
readonly requestStream: false;
|
|
2402
|
+
readonly responseType: typeof SpendLimits;
|
|
2403
|
+
readonly responseStream: false;
|
|
2404
|
+
readonly options: {
|
|
2405
|
+
readonly _unknownFields: {
|
|
2406
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2407
|
+
};
|
|
2408
|
+
};
|
|
2409
|
+
};
|
|
2410
|
+
/**
|
|
2411
|
+
* UpdateSpendLimits replaces an organization's monthly spend limits. Once a
|
|
2412
|
+
* priced request could take spend past a limit that applies to it, the
|
|
2413
|
+
* Inference API refuses the request with HTTP 402 and the error code
|
|
2414
|
+
* spend_limit_reached.
|
|
2415
|
+
*/
|
|
2416
|
+
readonly updateSpendLimits: {
|
|
2417
|
+
readonly name: "UpdateSpendLimits";
|
|
2418
|
+
readonly requestType: typeof UpdateSpendLimitsRequest;
|
|
2419
|
+
readonly requestStream: false;
|
|
2420
|
+
readonly responseType: typeof SpendLimits;
|
|
2421
|
+
readonly responseStream: false;
|
|
2422
|
+
readonly options: {
|
|
2423
|
+
readonly _unknownFields: {
|
|
2424
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2428
|
+
/** ListUsageEvents returns the organization's newest metered requests. */
|
|
2429
|
+
readonly listUsageEvents: {
|
|
2430
|
+
readonly name: "ListUsageEvents";
|
|
2431
|
+
readonly requestType: typeof ListUsageEventsRequest;
|
|
2432
|
+
readonly requestStream: false;
|
|
2433
|
+
readonly responseType: typeof ListUsageEventsResponse;
|
|
2434
|
+
readonly responseStream: false;
|
|
2435
|
+
readonly options: {
|
|
2436
|
+
readonly _unknownFields: {
|
|
2437
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2438
|
+
};
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
/** GetUsageSummary aggregates the organization's current UTC calendar month. */
|
|
2442
|
+
readonly getUsageSummary: {
|
|
2443
|
+
readonly name: "GetUsageSummary";
|
|
2444
|
+
readonly requestType: typeof GetUsageSummaryRequest;
|
|
2445
|
+
readonly requestStream: false;
|
|
2446
|
+
readonly responseType: typeof UsageSummary;
|
|
2447
|
+
readonly responseStream: false;
|
|
2448
|
+
readonly options: {
|
|
2449
|
+
readonly _unknownFields: {
|
|
2450
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2451
|
+
};
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
/**
|
|
2455
|
+
* ListProvisionedResources returns desired-state resources, optionally
|
|
2456
|
+
* filtered by resource type.
|
|
2457
|
+
*/
|
|
2458
|
+
readonly listProvisionedResources: {
|
|
2459
|
+
readonly name: "ListProvisionedResources";
|
|
2460
|
+
readonly requestType: typeof ListProvisionedResourcesRequest;
|
|
2461
|
+
readonly requestStream: false;
|
|
2462
|
+
readonly responseType: typeof ListProvisionedResourcesResponse;
|
|
2463
|
+
readonly responseStream: false;
|
|
2464
|
+
readonly options: {
|
|
2465
|
+
readonly _unknownFields: {
|
|
2466
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2467
|
+
};
|
|
2468
|
+
};
|
|
2469
|
+
};
|
|
2470
|
+
/** GetProvisionedResource returns one desired-state resource by identifier. */
|
|
2471
|
+
readonly getProvisionedResource: {
|
|
2472
|
+
readonly name: "GetProvisionedResource";
|
|
2473
|
+
readonly requestType: typeof GetProvisionedResourceRequest;
|
|
2474
|
+
readonly requestStream: false;
|
|
2475
|
+
readonly responseType: typeof ProvisionedResource;
|
|
2476
|
+
readonly responseStream: false;
|
|
2477
|
+
readonly options: {
|
|
2478
|
+
readonly _unknownFields: {
|
|
2479
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2480
|
+
};
|
|
2481
|
+
};
|
|
2482
|
+
};
|
|
2483
|
+
/**
|
|
2484
|
+
* ListLocations returns the locations where Tarka can place sandboxes,
|
|
2485
|
+
* Agent Hosts and storage buckets, with the products each one offers. With
|
|
2486
|
+
* an organization, preview locations that organization may use are
|
|
2487
|
+
* included.
|
|
2488
|
+
*/
|
|
2489
|
+
readonly listLocations: {
|
|
2490
|
+
readonly name: "ListLocations";
|
|
2491
|
+
readonly requestType: typeof ListLocationsRequest;
|
|
2492
|
+
readonly requestStream: false;
|
|
2493
|
+
readonly responseType: typeof ListLocationsResponse;
|
|
2494
|
+
readonly responseStream: false;
|
|
2495
|
+
readonly options: {
|
|
2496
|
+
readonly _unknownFields: {
|
|
2497
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
2501
|
+
/** CreateStorageBucket provisions a private, versioned S3-compatible bucket. */
|
|
2502
|
+
readonly createStorageBucket: {
|
|
2503
|
+
readonly name: "CreateStorageBucket";
|
|
2504
|
+
readonly requestType: typeof CreateStorageBucketRequest;
|
|
2505
|
+
readonly requestStream: false;
|
|
2506
|
+
readonly responseType: typeof StorageBucket;
|
|
2507
|
+
readonly responseStream: false;
|
|
2508
|
+
readonly options: {
|
|
2509
|
+
readonly _unknownFields: {
|
|
2510
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2511
|
+
};
|
|
2512
|
+
};
|
|
2513
|
+
};
|
|
2514
|
+
/** ListStorageBuckets returns object-storage buckets in an organization. */
|
|
2515
|
+
readonly listStorageBuckets: {
|
|
2516
|
+
readonly name: "ListStorageBuckets";
|
|
2517
|
+
readonly requestType: typeof ListStorageBucketsRequest;
|
|
2518
|
+
readonly requestStream: false;
|
|
2519
|
+
readonly responseType: typeof ListStorageBucketsResponse;
|
|
2520
|
+
readonly responseStream: false;
|
|
2521
|
+
readonly options: {
|
|
2522
|
+
readonly _unknownFields: {
|
|
2523
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2527
|
+
/** DeleteStorageBucket permanently deletes an empty object-storage bucket. */
|
|
2528
|
+
readonly deleteStorageBucket: {
|
|
2529
|
+
readonly name: "DeleteStorageBucket";
|
|
2530
|
+
readonly requestType: typeof DeleteStorageBucketRequest;
|
|
2531
|
+
readonly requestStream: false;
|
|
2532
|
+
readonly responseType: typeof StorageBucket;
|
|
2533
|
+
readonly responseStream: false;
|
|
2534
|
+
readonly options: {
|
|
2535
|
+
readonly _unknownFields: {
|
|
2536
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2537
|
+
};
|
|
2538
|
+
};
|
|
2539
|
+
};
|
|
2540
|
+
/**
|
|
2541
|
+
* CreateStorageCredential creates credentials scoped to one bucket. The
|
|
2542
|
+
* secret_access_key is returned exactly once in the response.
|
|
2543
|
+
*/
|
|
2544
|
+
readonly createStorageCredential: {
|
|
2545
|
+
readonly name: "CreateStorageCredential";
|
|
2546
|
+
readonly requestType: typeof CreateStorageCredentialRequest;
|
|
2547
|
+
readonly requestStream: false;
|
|
2548
|
+
readonly responseType: typeof CreateStorageCredentialResponse;
|
|
2549
|
+
readonly responseStream: false;
|
|
2550
|
+
readonly options: {
|
|
2551
|
+
readonly _unknownFields: {
|
|
2552
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2553
|
+
};
|
|
2554
|
+
};
|
|
2555
|
+
};
|
|
2556
|
+
/** ListStorageCredentials returns redacted credential metadata for a bucket. */
|
|
2557
|
+
readonly listStorageCredentials: {
|
|
2558
|
+
readonly name: "ListStorageCredentials";
|
|
2559
|
+
readonly requestType: typeof ListStorageCredentialsRequest;
|
|
2560
|
+
readonly requestStream: false;
|
|
2561
|
+
readonly responseType: typeof ListStorageCredentialsResponse;
|
|
2562
|
+
readonly responseStream: false;
|
|
2563
|
+
readonly options: {
|
|
2564
|
+
readonly _unknownFields: {
|
|
2565
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2566
|
+
};
|
|
2567
|
+
};
|
|
2568
|
+
};
|
|
2569
|
+
/** RevokeStorageCredential permanently disables a storage credential. */
|
|
2570
|
+
readonly revokeStorageCredential: {
|
|
2571
|
+
readonly name: "RevokeStorageCredential";
|
|
2572
|
+
readonly requestType: typeof RevokeStorageCredentialRequest;
|
|
2573
|
+
readonly requestStream: false;
|
|
2574
|
+
readonly responseType: typeof StorageCredential;
|
|
2575
|
+
readonly responseStream: false;
|
|
2576
|
+
readonly options: {
|
|
2577
|
+
readonly _unknownFields: {
|
|
2578
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2579
|
+
};
|
|
2580
|
+
};
|
|
2581
|
+
};
|
|
2582
|
+
/** CreateGitRepository creates a private, LFS-enabled hosted Git repository. */
|
|
2583
|
+
readonly createGitRepository: {
|
|
2584
|
+
readonly name: "CreateGitRepository";
|
|
2585
|
+
readonly requestType: typeof CreateGitRepositoryRequest;
|
|
2586
|
+
readonly requestStream: false;
|
|
2587
|
+
readonly responseType: typeof GitRepository;
|
|
2588
|
+
readonly responseStream: false;
|
|
2589
|
+
readonly options: {
|
|
2590
|
+
readonly _unknownFields: {
|
|
2591
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
};
|
|
2595
|
+
/** ListGitRepositories returns hosted Git repositories in an organization. */
|
|
2596
|
+
readonly listGitRepositories: {
|
|
2597
|
+
readonly name: "ListGitRepositories";
|
|
2598
|
+
readonly requestType: typeof ListGitRepositoriesRequest;
|
|
2599
|
+
readonly requestStream: false;
|
|
2600
|
+
readonly responseType: typeof ListGitRepositoriesResponse;
|
|
2601
|
+
readonly responseStream: false;
|
|
2602
|
+
readonly options: {
|
|
2603
|
+
readonly _unknownFields: {
|
|
2604
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2605
|
+
};
|
|
2606
|
+
};
|
|
2607
|
+
};
|
|
2608
|
+
/**
|
|
2609
|
+
* DeleteGitRepository deletes a hosted Git repository and records its final
|
|
2610
|
+
* state.
|
|
2611
|
+
*/
|
|
2612
|
+
readonly deleteGitRepository: {
|
|
2613
|
+
readonly name: "DeleteGitRepository";
|
|
2614
|
+
readonly requestType: typeof DeleteGitRepositoryRequest;
|
|
2615
|
+
readonly requestStream: false;
|
|
2616
|
+
readonly responseType: typeof GitRepository;
|
|
2617
|
+
readonly responseStream: false;
|
|
2618
|
+
readonly options: {
|
|
2619
|
+
readonly _unknownFields: {
|
|
2620
|
+
readonly 578365826: readonly [Buffer<ArrayBufferLike>];
|
|
2621
|
+
};
|
|
2622
|
+
};
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
2627
|
+
export type DeepPartial<T> = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
2628
|
+
$case: string;
|
|
2629
|
+
value: unknown;
|
|
2630
|
+
} ? {
|
|
2631
|
+
$case: T["$case"];
|
|
2632
|
+
value?: DeepPartial<T["value"]>;
|
|
2633
|
+
} : T extends {} ? {
|
|
2634
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
2635
|
+
} : Partial<T>;
|
|
2636
|
+
export interface MessageFns<T> {
|
|
2637
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
2638
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
2639
|
+
fromJSON(object: any): T;
|
|
2640
|
+
toJSON(message: T): unknown;
|
|
2641
|
+
create(base?: DeepPartial<T>): T;
|
|
2642
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
2643
|
+
}
|
|
2644
|
+
export {};
|