supertag-ai 0.3.0 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -11
- package/dist/{artifact_pb-LXdVhblQ.d.ts → artifact_pb-Vz26fEqo.d.ts} +2618 -354
- package/dist/chunk-KKEKTIDZ.js +96 -0
- package/dist/chunk-KKEKTIDZ.js.map +1 -0
- package/dist/gateway-client.d.ts +1345 -0
- package/dist/gateway-client.js +683 -0
- package/dist/gateway-client.js.map +1 -0
- package/dist/harness.d.ts +107 -80
- package/dist/harness.js +15 -9
- package/dist/harness.js.map +1 -1
- package/package.json +7 -7
- package/dist/chunk-NZ3QQNB3.js +0 -74
- package/dist/chunk-NZ3QQNB3.js.map +0 -1
- package/dist/control-plane-client.d.ts +0 -890
- package/dist/control-plane-client.js +0 -162
- package/dist/control-plane-client.js.map +0 -1
|
@@ -0,0 +1,1345 @@
|
|
|
1
|
+
import { P as PrincipalRole, W as WorkspaceDeliveryReference, C as CreateAuthKeyRequestSchema, A as AuthKeySchema, L as ListHostsRequestSchema, a as ListHostsResponseSchema, G as GetHostRequestSchema, b as WorkerHostStatusSchema, S as SetHostDrainingRequestSchema, c as PutTagRequestSchema, T as TagSchema, d as ListTagsRequestSchema, e as ListTagsResponseSchema, f as SubmitTaskRequestSchema, g as TaskSchema, h as GetTaskRequestSchema, i as ListTasksRequestSchema, j as ListTasksResponseSchema, k as GetSessionDeliveryRequestSchema, l as SessionDeliverySchema, m as ListNativeUsageRequestSchema, n as ListNativeUsageResponseSchema, o as ListEventsRequestSchema, p as ListEventsResponseSchema, q as CancelTaskRequestSchema, R as ResolveAttemptRequestSchema, r as AttemptResolutionSchema, s as GetTagRequestSchema, t as RetireTagRequestSchema, u as RetireTagResponseSchema, v as GetReplyDeliveryRequestSchema, w as ReplyDeliverySchema, x as ListReplyDeliveriesRequestSchema, y as ListReplyDeliveriesResponseSchema, z as ResolveReplyRequestSchema, B as ListConversationsRequestSchema, D as ListConversationsResponseSchema, E as ListMessagesRequestSchema, F as ListMessagesResponseSchema, H as SendMessageRequestSchema, I as ConversationMessageSchema, J as GetMessageRequestSchema, M as MarkConversationReadRequestSchema, K as ConversationSchema, N as FollowConversationRequestSchema, O as FollowConversationResponseSchema, Q as WatchRequestSchema, U as WatchEventSchema, V as CreateObjectiveRequestSchema, X as ObjectiveSchema, Y as GetObjectiveRequestSchema, Z as ListObjectivesRequestSchema, _ as ListObjectivesResponseSchema, $ as ListObjectiveCommitReviewsRequestSchema, a0 as ListObjectiveCommitReviewsResponseSchema, a1 as SetObjectiveLimitsRequestSchema, a2 as SetObjectiveRuntimeActionsRequestSchema, a3 as ObjectiveActionRequestSchema, a4 as ReviewObjectiveRequestSchema, a5 as CompleteObjectiveRequestSchema, a6 as ListInboxItemsRequestSchema, a7 as ListInboxItemsResponseSchema, a8 as GetQuestionRequestSchema, a9 as ObjectiveQuestionSchema, aa as AnswerQuestionRequestSchema, ab as GetApprovalRequestSchema, ac as ApprovalSchema, ad as ListApprovalsRequestSchema, ae as ListApprovalsResponseSchema, af as DecideApprovalRequestSchema, ag as GetWorkSessionRequestSchema, ah as WorkSessionSchema, ai as ListWorkSessionsRequestSchema, aj as ListWorkSessionsResponseSchema, ak as CloseWorkSessionRequestSchema, al as CreateTeamRequestSchema, am as TeamSchema, an as GetTeamRequestSchema, ao as ListTeamsRequestSchema, ap as ListTeamsResponseSchema, aq as UpdateTeamRequestSchema, ar as DeleteTeamRequestSchema, as as ListWorkstreamPostsRequestSchema, at as ListWorkstreamPostsResponseSchema, au as ListMailboxMessagesRequestSchema, av as ListMailboxMessagesResponseSchema, aw as ChangeMailboxGrantRequestSchema, ax as ChangeMailboxGrantResponseSchema, ay as ListMailboxGrantsRequestSchema, az as ListMailboxGrantsResponseSchema, aA as QueueInputRequestSchema, aB as LiveInputSchema, aC as GetInputRequestSchema, aD as ResolveInputRequestSchema, aE as PutPermissionSetRequestSchema, aF as PermissionSetSchema, aG as GetPolicyResourceRequestSchema, aH as ListPolicyResourcesRequestSchema, aI as ListPermissionSetsResponseSchema, aJ as DeletePolicyResourceRequestSchema, aK as DeletePolicyResourceResponseSchema, aL as PutContextSetRequestSchema, aM as ContextSetSchema, aN as ListContextSetsResponseSchema, aO as PutRoleRequestSchema, aP as RoleSchema, aQ as ListRolesResponseSchema, aR as AssignRoleRequestSchema, aS as RoleAssignmentSchema, aT as ListRoleAssignmentsRequestSchema, aU as ListRoleAssignmentsResponseSchema, aV as DeactivateRoleAssignmentRequestSchema, aW as ReconcileTagRelationshipsRequestSchema, aX as ReconcileTagRelationshipsResponseSchema, aY as ProvisionTagsRequestSchema, aZ as ProvisionTagsResponseSchema, a_ as ReconcileApplySetRequestSchema, a$ as ReconcileApplySetResponseSchema, b0 as ReconcileManifestFieldsRequestSchema, b1 as ReconcileManifestFieldsResponseSchema, b2 as PutSurfaceAccountRequestSchema, b3 as SurfaceAccountSchema, b4 as GetSurfaceAccountRequestSchema, b5 as ListSurfaceAccountsRequestSchema, b6 as ListSurfaceAccountsResponseSchema, b7 as PutSurfaceLocationRequestSchema, b8 as SurfaceLocationSchema, b9 as GetSurfaceLocationRequestSchema, ba as ListSurfaceLocationsRequestSchema, bb as ListSurfaceLocationsResponseSchema, bc as DeleteSurfaceLocationRequestSchema, bd as PutWorkspaceRequestSchema, be as WorkspaceSchema, bf as GetWorkspaceRequestSchema, bg as ListWorkspacesRequestSchema, bh as ListWorkspacesResponseSchema, bi as DeleteWorkspaceRequestSchema, bj as DeleteWorkspaceResponseSchema, bk as CheckWorkspaceRequestSchema, bl as WorkspaceCheckSchema, bm as PutWorkspaceCredentialRequestSchema, bn as WorkspaceCredentialSchema, bo as GetWorkspaceCredentialRequestSchema, bp as ListWorkspaceCredentialsRequestSchema, bq as ListWorkspaceCredentialsResponseSchema, br as DeleteWorkspaceCredentialRequestSchema, bs as DeleteWorkspaceCredentialResponseSchema, bt as GetCapturedArtifactRequestSchema, bu as CapturedArtifactSchema, bv as ListCapturedArtifactsRequestSchema, bw as ListCapturedArtifactsResponseSchema, bx as PublishArtifactRequestSchema, by as ArtifactPublicationSchema, bz as ConsumeArtifactPublicationRequestSchema, bA as ArtifactConsumptionApprovalSchema, bB as WithdrawArtifactApprovalRequestSchema, bC as GetArtifactApprovalRequestSchema, bD as ListObjectiveArtifactApprovalsRequestSchema, bE as ListArtifactPublicationsResponseSchema, bF as ListArtifactConsumptionsResponseSchema, bG as ListArtifactApprovalAuditRequestSchema, bH as ListArtifactApprovalAuditResponseSchema, bI as PutArtifactVolumeRequestSchema, bJ as ArtifactVolumeSchema, bK as GetArtifactVolumeRequestSchema, bL as ListArtifactVolumesRequestSchema, bM as ListArtifactVolumesResponseSchema, bN as DeleteArtifactVolumeRequestSchema, bO as DeleteArtifactVolumeResponseSchema, bP as GetArtifactVolumeCopyRequestSchema, bQ as ArtifactVolumeCopySchema, bR as ListArtifactVolumeCopiesRequestSchema, bS as ListArtifactVolumeCopiesResponseSchema, bT as ListMemoriesRequestSchema, bU as ListMemoriesResponseSchema, bV as GetMemoryRequestSchema, bW as MemorySchema, bX as ResetNativeMemoryRequestSchema, bY as ResetNativeMemoryResponseSchema, bZ as ListNetworkLogsRequestSchema, b_ as ListNetworkLogsResponseSchema, b$ as CreateScheduleRequestSchema, c0 as ScheduleSchema, c1 as GetScheduleRequestSchema, c2 as ListSchedulesRequestSchema, c3 as ListSchedulesResponseSchema, c4 as PutScheduleRequestSchema, c5 as BackfillScheduleRequestSchema, c6 as BackfillScheduleResponseSchema, c7 as LocateTaskFilesRequestSchema, c8 as TaskFileLocationsSchema } from './artifact_pb-Vz26fEqo.js';
|
|
2
|
+
import * as _bufbuild_protobuf_codegenv2 from '@bufbuild/protobuf/codegenv2';
|
|
3
|
+
import { GenMessage } from '@bufbuild/protobuf/codegenv2';
|
|
4
|
+
import { Message } from '@bufbuild/protobuf';
|
|
5
|
+
import * as _connectrpc_connect from '@connectrpc/connect';
|
|
6
|
+
import { ConnectError } from '@connectrpc/connect';
|
|
7
|
+
export { Code, ConnectError } from '@connectrpc/connect';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message supertag.runtime.v2.EnrollRequest
|
|
11
|
+
*/
|
|
12
|
+
type EnrollRequest = Message<"supertag.runtime.v2.EnrollRequest"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: supertag.runtime.v2.PrincipalRole role = 1;
|
|
15
|
+
*/
|
|
16
|
+
role: PrincipalRole;
|
|
17
|
+
/**
|
|
18
|
+
* 1 to 250 ASCII letters, digits, hyphens, underscores or dots. The
|
|
19
|
+
* enrollee chooses it; the Auth Key does not fix it.
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: string name = 2;
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string operation_id = 3;
|
|
26
|
+
*/
|
|
27
|
+
operationId: string;
|
|
28
|
+
/**
|
|
29
|
+
* SHA-256 of the new `stcr_` credential.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: bytes token_digest = 4;
|
|
32
|
+
*/
|
|
33
|
+
tokenDigest: Uint8Array;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message supertag.runtime.v2.EnrollRequest.
|
|
37
|
+
* Use `create(EnrollRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
declare const EnrollRequestSchema: GenMessage<EnrollRequest>;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message supertag.runtime.v2.Enrollment
|
|
42
|
+
*/
|
|
43
|
+
type Enrollment = Message<"supertag.runtime.v2.Enrollment"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: supertag.runtime.v2.PrincipalRole role = 1;
|
|
46
|
+
*/
|
|
47
|
+
role: PrincipalRole;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string name = 2;
|
|
50
|
+
*/
|
|
51
|
+
name: string;
|
|
52
|
+
/**
|
|
53
|
+
* `host:NAME`, `gateway:NAME` or `client:NAME`.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string principal = 3;
|
|
56
|
+
*/
|
|
57
|
+
principal: string;
|
|
58
|
+
/**
|
|
59
|
+
* The Auth Key it enrolled with. Empty for a credential set in the Control
|
|
60
|
+
* Plane's startup configuration.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string auth_key_name = 4;
|
|
63
|
+
*/
|
|
64
|
+
authKeyName: string;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: int64 enrolled_at_ms = 5;
|
|
67
|
+
*/
|
|
68
|
+
enrolledAtMs: bigint;
|
|
69
|
+
/**
|
|
70
|
+
* Refreshed at most once a minute.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: optional int64 last_used_at_ms = 6;
|
|
73
|
+
*/
|
|
74
|
+
lastUsedAtMs?: bigint | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: optional int64 revoked_at_ms = 7;
|
|
77
|
+
*/
|
|
78
|
+
revokedAtMs?: bigint | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* 1 for the first credential; increases with each rotation.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: uint64 credential_revision = 8;
|
|
83
|
+
*/
|
|
84
|
+
credentialRevision: bigint;
|
|
85
|
+
/**
|
|
86
|
+
* Clients: the Tags it may talk to. Hosts: the Tags it may run.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated string allowed_tag_ids = 9;
|
|
89
|
+
*/
|
|
90
|
+
allowedTagIds: string[];
|
|
91
|
+
/**
|
|
92
|
+
* Every Tag. A Gateway with it serves connector accounts no Surface Account
|
|
93
|
+
* names and delivers the admin operator's notifications.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: bool all_tags = 10;
|
|
96
|
+
*/
|
|
97
|
+
allTags: boolean;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message supertag.runtime.v2.Enrollment.
|
|
101
|
+
* Use `create(EnrollmentSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
declare const EnrollmentSchema: GenMessage<Enrollment>;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from message supertag.runtime.v2.WhoAmIRequest
|
|
106
|
+
*/
|
|
107
|
+
type WhoAmIRequest = Message<"supertag.runtime.v2.WhoAmIRequest"> & {};
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message supertag.runtime.v2.WhoAmIRequest.
|
|
110
|
+
* Use `create(WhoAmIRequestSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
declare const WhoAmIRequestSchema: GenMessage<WhoAmIRequest>;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message supertag.runtime.v2.WhoAmIResponse
|
|
115
|
+
*/
|
|
116
|
+
type WhoAmIResponse = Message<"supertag.runtime.v2.WhoAmIResponse"> & {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: supertag.runtime.v2.PrincipalRole role = 1;
|
|
119
|
+
*/
|
|
120
|
+
role: PrincipalRole;
|
|
121
|
+
/**
|
|
122
|
+
* Such as `operator:local`, `operator:token:laptop` or `client:alice-laptop`.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: string principal = 2;
|
|
125
|
+
*/
|
|
126
|
+
principal: string;
|
|
127
|
+
/**
|
|
128
|
+
* The admin operator, the only one that manages Operator Tokens.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: bool admin = 3;
|
|
131
|
+
*/
|
|
132
|
+
admin: boolean;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Describes the message supertag.runtime.v2.WhoAmIResponse.
|
|
136
|
+
* Use `create(WhoAmIResponseSchema)` to create a new message.
|
|
137
|
+
*/
|
|
138
|
+
declare const WhoAmIResponseSchema: GenMessage<WhoAmIResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* @generated from message supertag.runtime.v2.RotateCredentialRequest
|
|
141
|
+
*/
|
|
142
|
+
type RotateCredentialRequest = Message<"supertag.runtime.v2.RotateCredentialRequest"> & {
|
|
143
|
+
/**
|
|
144
|
+
* With an empty name, the caller's own credential; the role must then be the
|
|
145
|
+
* caller's. Only operators name another enrollee.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: supertag.runtime.v2.PrincipalRole role = 1;
|
|
148
|
+
*/
|
|
149
|
+
role: PrincipalRole;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: string name = 2;
|
|
152
|
+
*/
|
|
153
|
+
name: string;
|
|
154
|
+
/**
|
|
155
|
+
* The current credential_revision. A repeat of a rotation that already
|
|
156
|
+
* applied, with the same digest, returns the same result.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: uint64 expected_credential_revision = 3;
|
|
159
|
+
*/
|
|
160
|
+
expectedCredentialRevision: bigint;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: bytes token_digest = 4;
|
|
163
|
+
*/
|
|
164
|
+
tokenDigest: Uint8Array;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message supertag.runtime.v2.RotateCredentialRequest.
|
|
168
|
+
* Use `create(RotateCredentialRequestSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
declare const RotateCredentialRequestSchema: GenMessage<RotateCredentialRequest>;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from message supertag.runtime.v2.CredentialRotation
|
|
173
|
+
*/
|
|
174
|
+
type CredentialRotation = Message<"supertag.runtime.v2.CredentialRotation"> & {
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: string principal = 1;
|
|
177
|
+
*/
|
|
178
|
+
principal: string;
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: uint64 credential_revision = 2;
|
|
181
|
+
*/
|
|
182
|
+
credentialRevision: bigint;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Describes the message supertag.runtime.v2.CredentialRotation.
|
|
186
|
+
* Use `create(CredentialRotationSchema)` to create a new message.
|
|
187
|
+
*/
|
|
188
|
+
declare const CredentialRotationSchema: GenMessage<CredentialRotation>;
|
|
189
|
+
/**
|
|
190
|
+
* @generated from message supertag.runtime.v2.GetEnrollmentRequest
|
|
191
|
+
*/
|
|
192
|
+
type GetEnrollmentRequest = Message<"supertag.runtime.v2.GetEnrollmentRequest"> & {
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: supertag.runtime.v2.PrincipalRole role = 1;
|
|
195
|
+
*/
|
|
196
|
+
role: PrincipalRole;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: string name = 2;
|
|
199
|
+
*/
|
|
200
|
+
name: string;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message supertag.runtime.v2.GetEnrollmentRequest.
|
|
204
|
+
* Use `create(GetEnrollmentRequestSchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
declare const GetEnrollmentRequestSchema: GenMessage<GetEnrollmentRequest>;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from message supertag.runtime.v2.ListEnrollmentsRequest
|
|
209
|
+
*/
|
|
210
|
+
type ListEnrollmentsRequest = Message<"supertag.runtime.v2.ListEnrollmentsRequest"> & {
|
|
211
|
+
/**
|
|
212
|
+
* UNSPECIFIED lists every role.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: supertag.runtime.v2.PrincipalRole role = 1;
|
|
215
|
+
*/
|
|
216
|
+
role: PrincipalRole;
|
|
217
|
+
/**
|
|
218
|
+
* 0 means 100; at most 500.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: uint32 limit = 2;
|
|
221
|
+
*/
|
|
222
|
+
limit: number;
|
|
223
|
+
/**
|
|
224
|
+
* The `next_cursor` of the previous page.
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: string cursor = 3;
|
|
227
|
+
*/
|
|
228
|
+
cursor: string;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Describes the message supertag.runtime.v2.ListEnrollmentsRequest.
|
|
232
|
+
* Use `create(ListEnrollmentsRequestSchema)` to create a new message.
|
|
233
|
+
*/
|
|
234
|
+
declare const ListEnrollmentsRequestSchema: GenMessage<ListEnrollmentsRequest>;
|
|
235
|
+
/**
|
|
236
|
+
* @generated from message supertag.runtime.v2.ListEnrollmentsResponse
|
|
237
|
+
*/
|
|
238
|
+
type ListEnrollmentsResponse = Message<"supertag.runtime.v2.ListEnrollmentsResponse"> & {
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: repeated supertag.runtime.v2.Enrollment enrollments = 1;
|
|
241
|
+
*/
|
|
242
|
+
enrollments: Enrollment[];
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: string next_cursor = 2;
|
|
245
|
+
*/
|
|
246
|
+
nextCursor: string;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Describes the message supertag.runtime.v2.ListEnrollmentsResponse.
|
|
250
|
+
* Use `create(ListEnrollmentsResponseSchema)` to create a new message.
|
|
251
|
+
*/
|
|
252
|
+
declare const ListEnrollmentsResponseSchema: GenMessage<ListEnrollmentsResponse>;
|
|
253
|
+
/**
|
|
254
|
+
* @generated from message supertag.runtime.v2.RevokeEnrollmentRequest
|
|
255
|
+
*/
|
|
256
|
+
type RevokeEnrollmentRequest = Message<"supertag.runtime.v2.RevokeEnrollmentRequest"> & {
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: supertag.runtime.v2.PrincipalRole role = 1;
|
|
259
|
+
*/
|
|
260
|
+
role: PrincipalRole;
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: string name = 2;
|
|
263
|
+
*/
|
|
264
|
+
name: string;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* Describes the message supertag.runtime.v2.RevokeEnrollmentRequest.
|
|
268
|
+
* Use `create(RevokeEnrollmentRequestSchema)` to create a new message.
|
|
269
|
+
*/
|
|
270
|
+
declare const RevokeEnrollmentRequestSchema: GenMessage<RevokeEnrollmentRequest>;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from message supertag.runtime.v2.WorkspaceLanding
|
|
274
|
+
*/
|
|
275
|
+
type WorkspaceLanding = Message<"supertag.runtime.v2.WorkspaceLanding"> & {
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: string landing_id = 1;
|
|
278
|
+
*/
|
|
279
|
+
landingId: string;
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: string task_id = 2;
|
|
282
|
+
*/
|
|
283
|
+
taskId: string;
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: string tag_id = 3;
|
|
286
|
+
*/
|
|
287
|
+
tagId: string;
|
|
288
|
+
/**
|
|
289
|
+
* @generated from field: string session_id = 4;
|
|
290
|
+
*/
|
|
291
|
+
sessionId: string;
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: string workspace_id = 5;
|
|
294
|
+
*/
|
|
295
|
+
workspaceId: string;
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: string remote = 6;
|
|
298
|
+
*/
|
|
299
|
+
remote: string;
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: supertag.runtime.v2.WorkspaceLandingMode mode = 7;
|
|
302
|
+
*/
|
|
303
|
+
mode: WorkspaceLandingMode;
|
|
304
|
+
/**
|
|
305
|
+
* The Session's branch, `supertag/session/ID`.
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: string branch = 8;
|
|
308
|
+
*/
|
|
309
|
+
branch: string;
|
|
310
|
+
/**
|
|
311
|
+
* The merge target, or the pull request's base in review mode; empty for branch mode.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: string target = 9;
|
|
314
|
+
*/
|
|
315
|
+
target: string;
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: supertag.runtime.v2.WorkspaceDeliveryReference delivery = 10;
|
|
318
|
+
*/
|
|
319
|
+
delivery?: WorkspaceDeliveryReference | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* @generated from field: supertag.runtime.v2.WorkspaceLandingState state = 11;
|
|
322
|
+
*/
|
|
323
|
+
state: WorkspaceLandingState;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: string reason = 12;
|
|
326
|
+
*/
|
|
327
|
+
reason: string;
|
|
328
|
+
/**
|
|
329
|
+
* Landed: the commit the Session's branch (branch mode) or the target (merge mode) names.
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: string landed_commit = 13;
|
|
332
|
+
*/
|
|
333
|
+
landedCommit: string;
|
|
334
|
+
/**
|
|
335
|
+
* Conflict: the target commit the Session must merge, and the conflicting paths.
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: string target_commit = 14;
|
|
338
|
+
*/
|
|
339
|
+
targetCommit: string;
|
|
340
|
+
/**
|
|
341
|
+
* @generated from field: repeated string conflicts = 15;
|
|
342
|
+
*/
|
|
343
|
+
conflicts: string[];
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: optional string follow_up_task_id = 16;
|
|
346
|
+
*/
|
|
347
|
+
followUpTaskId?: string | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: int64 created_order = 17;
|
|
350
|
+
*/
|
|
351
|
+
createdOrder: bigint;
|
|
352
|
+
/**
|
|
353
|
+
* A merge commit's author: the Tag's name and a SuperTag no-reply address.
|
|
354
|
+
*
|
|
355
|
+
* @generated from field: string author_name = 18;
|
|
356
|
+
*/
|
|
357
|
+
authorName: string;
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: string author_email = 19;
|
|
360
|
+
*/
|
|
361
|
+
authorEmail: string;
|
|
362
|
+
/**
|
|
363
|
+
* The requester, as a `Co-authored-by` trailer value. Empty when there is none.
|
|
364
|
+
*
|
|
365
|
+
* @generated from field: string co_author = 20;
|
|
366
|
+
*/
|
|
367
|
+
coAuthor: string;
|
|
368
|
+
/**
|
|
369
|
+
* Review mode: the pull request's title and description for this delivery.
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: string title = 21;
|
|
372
|
+
*/
|
|
373
|
+
title: string;
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: string body = 22;
|
|
376
|
+
*/
|
|
377
|
+
body: string;
|
|
378
|
+
/**
|
|
379
|
+
* Review mode, once landed: the pull request the Session's branch is reviewed in.
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: supertag.runtime.v2.WorkspacePullRequest pull_request = 23;
|
|
382
|
+
*/
|
|
383
|
+
pullRequest?: WorkspacePullRequest | undefined;
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* Describes the message supertag.runtime.v2.WorkspaceLanding.
|
|
387
|
+
* Use `create(WorkspaceLandingSchema)` to create a new message.
|
|
388
|
+
*/
|
|
389
|
+
declare const WorkspaceLandingSchema: GenMessage<WorkspaceLanding>;
|
|
390
|
+
/**
|
|
391
|
+
* A pull request a review landing opened or updated.
|
|
392
|
+
*
|
|
393
|
+
* @generated from message supertag.runtime.v2.WorkspacePullRequest
|
|
394
|
+
*/
|
|
395
|
+
type WorkspacePullRequest = Message<"supertag.runtime.v2.WorkspacePullRequest"> & {
|
|
396
|
+
/**
|
|
397
|
+
* The forge's repository, as `OWNER/NAME`, and its numeric ID.
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: string repository = 1;
|
|
400
|
+
*/
|
|
401
|
+
repository: string;
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: uint64 repository_id = 2;
|
|
404
|
+
*/
|
|
405
|
+
repositoryId: bigint;
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: uint64 number = 3;
|
|
408
|
+
*/
|
|
409
|
+
number: bigint;
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: string url = 4;
|
|
412
|
+
*/
|
|
413
|
+
url: string;
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* @generated from message supertag.runtime.v2.GetWorkspaceLandingRequest
|
|
417
|
+
*/
|
|
418
|
+
type GetWorkspaceLandingRequest = Message<"supertag.runtime.v2.GetWorkspaceLandingRequest"> & {
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: string landing_id = 1;
|
|
421
|
+
*/
|
|
422
|
+
landingId: string;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* Describes the message supertag.runtime.v2.GetWorkspaceLandingRequest.
|
|
426
|
+
* Use `create(GetWorkspaceLandingRequestSchema)` to create a new message.
|
|
427
|
+
*/
|
|
428
|
+
declare const GetWorkspaceLandingRequestSchema: GenMessage<GetWorkspaceLandingRequest>;
|
|
429
|
+
/**
|
|
430
|
+
* @generated from message supertag.runtime.v2.ReturnLandingConflictRequest
|
|
431
|
+
*/
|
|
432
|
+
type ReturnLandingConflictRequest = Message<"supertag.runtime.v2.ReturnLandingConflictRequest"> & {
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: string operation_id = 1;
|
|
435
|
+
*/
|
|
436
|
+
operationId: string;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: string tag_id = 2;
|
|
439
|
+
*/
|
|
440
|
+
tagId: string;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: string session_id = 3;
|
|
443
|
+
*/
|
|
444
|
+
sessionId: string;
|
|
445
|
+
/**
|
|
446
|
+
* The merge target, the commit it named, and the conflicting paths.
|
|
447
|
+
*
|
|
448
|
+
* @generated from field: string target = 4;
|
|
449
|
+
*/
|
|
450
|
+
target: string;
|
|
451
|
+
/**
|
|
452
|
+
* @generated from field: string target_commit = 5;
|
|
453
|
+
*/
|
|
454
|
+
targetCommit: string;
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: repeated string conflicts = 6;
|
|
457
|
+
*/
|
|
458
|
+
conflicts: string[];
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* Describes the message supertag.runtime.v2.ReturnLandingConflictRequest.
|
|
462
|
+
* Use `create(ReturnLandingConflictRequestSchema)` to create a new message.
|
|
463
|
+
*/
|
|
464
|
+
declare const ReturnLandingConflictRequestSchema: GenMessage<ReturnLandingConflictRequest>;
|
|
465
|
+
/**
|
|
466
|
+
* @generated from message supertag.runtime.v2.ListWorkspaceLandingsRequest
|
|
467
|
+
*/
|
|
468
|
+
type ListWorkspaceLandingsRequest = Message<"supertag.runtime.v2.ListWorkspaceLandingsRequest"> & {
|
|
469
|
+
/**
|
|
470
|
+
* @generated from field: string task_id = 1;
|
|
471
|
+
*/
|
|
472
|
+
taskId: string;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: uint32 limit = 2;
|
|
475
|
+
*/
|
|
476
|
+
limit: number;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: int64 before_order = 3;
|
|
479
|
+
*/
|
|
480
|
+
beforeOrder: bigint;
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: string session_id = 4;
|
|
483
|
+
*/
|
|
484
|
+
sessionId: string;
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* Describes the message supertag.runtime.v2.ListWorkspaceLandingsRequest.
|
|
488
|
+
* Use `create(ListWorkspaceLandingsRequestSchema)` to create a new message.
|
|
489
|
+
*/
|
|
490
|
+
declare const ListWorkspaceLandingsRequestSchema: GenMessage<ListWorkspaceLandingsRequest>;
|
|
491
|
+
/**
|
|
492
|
+
* @generated from message supertag.runtime.v2.ListWorkspaceLandingsResponse
|
|
493
|
+
*/
|
|
494
|
+
type ListWorkspaceLandingsResponse = Message<"supertag.runtime.v2.ListWorkspaceLandingsResponse"> & {
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: repeated supertag.runtime.v2.WorkspaceLanding landings = 1;
|
|
497
|
+
*/
|
|
498
|
+
landings: WorkspaceLanding[];
|
|
499
|
+
/**
|
|
500
|
+
* @generated from field: int64 next_before_order = 2;
|
|
501
|
+
*/
|
|
502
|
+
nextBeforeOrder: bigint;
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* Describes the message supertag.runtime.v2.ListWorkspaceLandingsResponse.
|
|
506
|
+
* Use `create(ListWorkspaceLandingsResponseSchema)` to create a new message.
|
|
507
|
+
*/
|
|
508
|
+
declare const ListWorkspaceLandingsResponseSchema: GenMessage<ListWorkspaceLandingsResponse>;
|
|
509
|
+
/**
|
|
510
|
+
* @generated from enum supertag.runtime.v2.WorkspaceLandingMode
|
|
511
|
+
*/
|
|
512
|
+
declare enum WorkspaceLandingMode {
|
|
513
|
+
/**
|
|
514
|
+
* @generated from enum value: WORKSPACE_LANDING_MODE_UNSPECIFIED = 0;
|
|
515
|
+
*/
|
|
516
|
+
UNSPECIFIED = 0,
|
|
517
|
+
/**
|
|
518
|
+
* @generated from enum value: WORKSPACE_LANDING_MODE_BRANCH = 1;
|
|
519
|
+
*/
|
|
520
|
+
BRANCH = 1,
|
|
521
|
+
/**
|
|
522
|
+
* @generated from enum value: WORKSPACE_LANDING_MODE_MERGE = 2;
|
|
523
|
+
*/
|
|
524
|
+
MERGE = 2,
|
|
525
|
+
/**
|
|
526
|
+
* @generated from enum value: WORKSPACE_LANDING_MODE_REVIEW = 3;
|
|
527
|
+
*/
|
|
528
|
+
REVIEW = 3
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* @generated from enum supertag.runtime.v2.WorkspaceLandingState
|
|
532
|
+
*/
|
|
533
|
+
declare enum WorkspaceLandingState {
|
|
534
|
+
/**
|
|
535
|
+
* @generated from enum value: WORKSPACE_LANDING_STATE_UNSPECIFIED = 0;
|
|
536
|
+
*/
|
|
537
|
+
UNSPECIFIED = 0,
|
|
538
|
+
/**
|
|
539
|
+
* Waiting for git delivery, or for the Worker Host holding the delivery to reconnect.
|
|
540
|
+
*
|
|
541
|
+
* @generated from enum value: WORKSPACE_LANDING_STATE_QUEUED = 1;
|
|
542
|
+
*/
|
|
543
|
+
QUEUED = 1,
|
|
544
|
+
/**
|
|
545
|
+
* @generated from enum value: WORKSPACE_LANDING_STATE_CLAIMED = 2;
|
|
546
|
+
*/
|
|
547
|
+
CLAIMED = 2,
|
|
548
|
+
/**
|
|
549
|
+
* @generated from enum value: WORKSPACE_LANDING_STATE_LANDED = 3;
|
|
550
|
+
*/
|
|
551
|
+
LANDED = 3,
|
|
552
|
+
/**
|
|
553
|
+
* The Session's changes conflict with the target. Nothing was pushed to the target, and the
|
|
554
|
+
* Session received a follow-up Task to merge the target and resolve the conflicts.
|
|
555
|
+
*
|
|
556
|
+
* @generated from enum value: WORKSPACE_LANDING_STATE_CONFLICT = 4;
|
|
557
|
+
*/
|
|
558
|
+
CONFLICT = 4,
|
|
559
|
+
/**
|
|
560
|
+
* Refused until someone acts, such as a branch moved outside SuperTag or a missing credential.
|
|
561
|
+
*
|
|
562
|
+
* @generated from enum value: WORKSPACE_LANDING_STATE_HELD = 5;
|
|
563
|
+
*/
|
|
564
|
+
HELD = 5,
|
|
565
|
+
/**
|
|
566
|
+
* A newer delivery of the same Session replaced it before it landed.
|
|
567
|
+
*
|
|
568
|
+
* @generated from enum value: WORKSPACE_LANDING_STATE_SUPERSEDED = 6;
|
|
569
|
+
*/
|
|
570
|
+
SUPERSEDED = 6
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
interface GatewayClientOptions {
|
|
574
|
+
/**
|
|
575
|
+
* An `https://` origin, a loopback `http://` origin, or a `wss://` or loopback `ws://` tunnel
|
|
576
|
+
* URL, which may have a path. A tunnel carries the same gRPC connection inside a WebSocket,
|
|
577
|
+
* with the Gateway's own TLS running end to end inside a `wss://` tunnel.
|
|
578
|
+
*/
|
|
579
|
+
readonly url: string;
|
|
580
|
+
/** An operator token, Operator Token, enrolled credential, or Auth Key: ASCII, no spaces. */
|
|
581
|
+
readonly token: string;
|
|
582
|
+
/**
|
|
583
|
+
* PEM certificate authority for a Gateway with a private TLS certificate. It replaces the
|
|
584
|
+
* trusted roots for the Gateway's own TLS; a `wss://` tunnel's outer TLS trusts it beside them.
|
|
585
|
+
*/
|
|
586
|
+
readonly ca?: string | Buffer;
|
|
587
|
+
/** PEM client identity for a Gateway that requires mutual TLS. */
|
|
588
|
+
readonly identity?: {
|
|
589
|
+
readonly cert: string | Buffer;
|
|
590
|
+
readonly key: string | Buffer;
|
|
591
|
+
};
|
|
592
|
+
/** The release this client names while negotiating, up to 64 ASCII characters. */
|
|
593
|
+
readonly buildVersion?: string;
|
|
594
|
+
/**
|
|
595
|
+
* How long opening a connection may take: TCP, TLS and, for a tunnel, the WebSocket upgrade.
|
|
596
|
+
* Defaults to 5 seconds, or 30 for a tunnel, whose platform proxy may hold the upgrade while
|
|
597
|
+
* it starts a Gateway that scaled to zero.
|
|
598
|
+
*/
|
|
599
|
+
readonly connectTimeoutMs?: number;
|
|
600
|
+
}
|
|
601
|
+
declare const protocolVersions: readonly number[];
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* The Gateway is a SuperTag release that speaks none of this client's protocol versions.
|
|
605
|
+
* Retrying cannot help: one side must be upgraded. The message names both releases, where the
|
|
606
|
+
* Gateway runs, and which side to upgrade.
|
|
607
|
+
*/
|
|
608
|
+
declare class ProtocolMismatchError extends ConnectError {
|
|
609
|
+
/** The protocol versions this client speaks. */
|
|
610
|
+
readonly ourVersions: readonly number[];
|
|
611
|
+
/** The protocol versions the Gateway speaks, when it named them. */
|
|
612
|
+
readonly peerVersions: readonly number[] | undefined;
|
|
613
|
+
/** The Gateway's release, when it named it. */
|
|
614
|
+
readonly peerBuild: string | undefined;
|
|
615
|
+
/** The Gateway URL this client was configured with. */
|
|
616
|
+
readonly endpoint: string;
|
|
617
|
+
/** ConnectError's own check accepts any ConnectError; this one follows the prototype chain. */
|
|
618
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
619
|
+
constructor(endpoint: string, peer: {
|
|
620
|
+
build: string;
|
|
621
|
+
versions: readonly number[];
|
|
622
|
+
} | undefined, refusal?: string);
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Connect operator applications to the SuperTag Gateway over gRPC. The first call negotiates the
|
|
626
|
+
* SuperTag protocol version, which every call then names; the Gateway refuses calls without it.
|
|
627
|
+
*/
|
|
628
|
+
declare function createGatewayClient(options: GatewayClientOptions): {
|
|
629
|
+
operator: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
630
|
+
createAuthKey: {
|
|
631
|
+
methodKind: "unary";
|
|
632
|
+
input: typeof CreateAuthKeyRequestSchema;
|
|
633
|
+
output: typeof AuthKeySchema;
|
|
634
|
+
};
|
|
635
|
+
listHosts: {
|
|
636
|
+
methodKind: "unary";
|
|
637
|
+
input: typeof ListHostsRequestSchema;
|
|
638
|
+
output: typeof ListHostsResponseSchema;
|
|
639
|
+
};
|
|
640
|
+
getHost: {
|
|
641
|
+
methodKind: "unary";
|
|
642
|
+
input: typeof GetHostRequestSchema;
|
|
643
|
+
output: typeof WorkerHostStatusSchema;
|
|
644
|
+
};
|
|
645
|
+
setHostDraining: {
|
|
646
|
+
methodKind: "unary";
|
|
647
|
+
input: typeof SetHostDrainingRequestSchema;
|
|
648
|
+
output: typeof WorkerHostStatusSchema;
|
|
649
|
+
};
|
|
650
|
+
putTag: {
|
|
651
|
+
methodKind: "unary";
|
|
652
|
+
input: typeof PutTagRequestSchema;
|
|
653
|
+
output: typeof TagSchema;
|
|
654
|
+
};
|
|
655
|
+
listTags: {
|
|
656
|
+
methodKind: "unary";
|
|
657
|
+
input: typeof ListTagsRequestSchema;
|
|
658
|
+
output: typeof ListTagsResponseSchema;
|
|
659
|
+
};
|
|
660
|
+
submitTask: {
|
|
661
|
+
methodKind: "unary";
|
|
662
|
+
input: typeof SubmitTaskRequestSchema;
|
|
663
|
+
output: typeof TaskSchema;
|
|
664
|
+
};
|
|
665
|
+
getTask: {
|
|
666
|
+
methodKind: "unary";
|
|
667
|
+
input: typeof GetTaskRequestSchema;
|
|
668
|
+
output: typeof TaskSchema;
|
|
669
|
+
};
|
|
670
|
+
listTasks: {
|
|
671
|
+
methodKind: "unary";
|
|
672
|
+
input: typeof ListTasksRequestSchema;
|
|
673
|
+
output: typeof ListTasksResponseSchema;
|
|
674
|
+
};
|
|
675
|
+
getSessionDelivery: {
|
|
676
|
+
methodKind: "unary";
|
|
677
|
+
input: typeof GetSessionDeliveryRequestSchema;
|
|
678
|
+
output: typeof SessionDeliverySchema;
|
|
679
|
+
};
|
|
680
|
+
listNativeUsage: {
|
|
681
|
+
methodKind: "unary";
|
|
682
|
+
input: typeof ListNativeUsageRequestSchema;
|
|
683
|
+
output: typeof ListNativeUsageResponseSchema;
|
|
684
|
+
};
|
|
685
|
+
listEvents: {
|
|
686
|
+
methodKind: "unary";
|
|
687
|
+
input: typeof ListEventsRequestSchema;
|
|
688
|
+
output: typeof ListEventsResponseSchema;
|
|
689
|
+
};
|
|
690
|
+
cancelTask: {
|
|
691
|
+
methodKind: "unary";
|
|
692
|
+
input: typeof CancelTaskRequestSchema;
|
|
693
|
+
output: typeof TaskSchema;
|
|
694
|
+
};
|
|
695
|
+
resolveAttempt: {
|
|
696
|
+
methodKind: "unary";
|
|
697
|
+
input: typeof ResolveAttemptRequestSchema;
|
|
698
|
+
output: typeof AttemptResolutionSchema;
|
|
699
|
+
};
|
|
700
|
+
getTag: {
|
|
701
|
+
methodKind: "unary";
|
|
702
|
+
input: typeof GetTagRequestSchema;
|
|
703
|
+
output: typeof TagSchema;
|
|
704
|
+
};
|
|
705
|
+
retireTag: {
|
|
706
|
+
methodKind: "unary";
|
|
707
|
+
input: typeof RetireTagRequestSchema;
|
|
708
|
+
output: typeof RetireTagResponseSchema;
|
|
709
|
+
};
|
|
710
|
+
getReplyDelivery: {
|
|
711
|
+
methodKind: "unary";
|
|
712
|
+
input: typeof GetReplyDeliveryRequestSchema;
|
|
713
|
+
output: typeof ReplyDeliverySchema;
|
|
714
|
+
};
|
|
715
|
+
listReplyDeliveries: {
|
|
716
|
+
methodKind: "unary";
|
|
717
|
+
input: typeof ListReplyDeliveriesRequestSchema;
|
|
718
|
+
output: typeof ListReplyDeliveriesResponseSchema;
|
|
719
|
+
};
|
|
720
|
+
resolveReply: {
|
|
721
|
+
methodKind: "unary";
|
|
722
|
+
input: typeof ResolveReplyRequestSchema;
|
|
723
|
+
output: typeof ReplyDeliverySchema;
|
|
724
|
+
};
|
|
725
|
+
}>>;
|
|
726
|
+
conversations: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
727
|
+
listConversations: {
|
|
728
|
+
methodKind: "unary";
|
|
729
|
+
input: typeof ListConversationsRequestSchema;
|
|
730
|
+
output: typeof ListConversationsResponseSchema;
|
|
731
|
+
};
|
|
732
|
+
listMessages: {
|
|
733
|
+
methodKind: "unary";
|
|
734
|
+
input: typeof ListMessagesRequestSchema;
|
|
735
|
+
output: typeof ListMessagesResponseSchema;
|
|
736
|
+
};
|
|
737
|
+
sendMessage: {
|
|
738
|
+
methodKind: "unary";
|
|
739
|
+
input: typeof SendMessageRequestSchema;
|
|
740
|
+
output: typeof ConversationMessageSchema;
|
|
741
|
+
};
|
|
742
|
+
getMessage: {
|
|
743
|
+
methodKind: "unary";
|
|
744
|
+
input: typeof GetMessageRequestSchema;
|
|
745
|
+
output: typeof ConversationMessageSchema;
|
|
746
|
+
};
|
|
747
|
+
markConversationRead: {
|
|
748
|
+
methodKind: "unary";
|
|
749
|
+
input: typeof MarkConversationReadRequestSchema;
|
|
750
|
+
output: typeof ConversationSchema;
|
|
751
|
+
};
|
|
752
|
+
followConversation: {
|
|
753
|
+
methodKind: "server_streaming";
|
|
754
|
+
input: typeof FollowConversationRequestSchema;
|
|
755
|
+
output: typeof FollowConversationResponseSchema;
|
|
756
|
+
};
|
|
757
|
+
}>>;
|
|
758
|
+
events: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
759
|
+
watch: {
|
|
760
|
+
methodKind: "server_streaming";
|
|
761
|
+
input: typeof WatchRequestSchema;
|
|
762
|
+
output: typeof WatchEventSchema;
|
|
763
|
+
};
|
|
764
|
+
}>>;
|
|
765
|
+
objectives: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
766
|
+
createObjective: {
|
|
767
|
+
methodKind: "unary";
|
|
768
|
+
input: typeof CreateObjectiveRequestSchema;
|
|
769
|
+
output: typeof ObjectiveSchema;
|
|
770
|
+
};
|
|
771
|
+
getObjective: {
|
|
772
|
+
methodKind: "unary";
|
|
773
|
+
input: typeof GetObjectiveRequestSchema;
|
|
774
|
+
output: typeof ObjectiveSchema;
|
|
775
|
+
};
|
|
776
|
+
listObjectives: {
|
|
777
|
+
methodKind: "unary";
|
|
778
|
+
input: typeof ListObjectivesRequestSchema;
|
|
779
|
+
output: typeof ListObjectivesResponseSchema;
|
|
780
|
+
};
|
|
781
|
+
listCommitReviews: {
|
|
782
|
+
methodKind: "unary";
|
|
783
|
+
input: typeof ListObjectiveCommitReviewsRequestSchema;
|
|
784
|
+
output: typeof ListObjectiveCommitReviewsResponseSchema;
|
|
785
|
+
};
|
|
786
|
+
setLimits: {
|
|
787
|
+
methodKind: "unary";
|
|
788
|
+
input: typeof SetObjectiveLimitsRequestSchema;
|
|
789
|
+
output: typeof ObjectiveSchema;
|
|
790
|
+
};
|
|
791
|
+
setRuntimeActions: {
|
|
792
|
+
methodKind: "unary";
|
|
793
|
+
input: typeof SetObjectiveRuntimeActionsRequestSchema;
|
|
794
|
+
output: typeof ObjectiveSchema;
|
|
795
|
+
};
|
|
796
|
+
pauseObjective: {
|
|
797
|
+
methodKind: "unary";
|
|
798
|
+
input: typeof ObjectiveActionRequestSchema;
|
|
799
|
+
output: typeof ObjectiveSchema;
|
|
800
|
+
};
|
|
801
|
+
resumeObjective: {
|
|
802
|
+
methodKind: "unary";
|
|
803
|
+
input: typeof ObjectiveActionRequestSchema;
|
|
804
|
+
output: typeof ObjectiveSchema;
|
|
805
|
+
};
|
|
806
|
+
cancelObjective: {
|
|
807
|
+
methodKind: "unary";
|
|
808
|
+
input: typeof ObjectiveActionRequestSchema;
|
|
809
|
+
output: typeof ObjectiveSchema;
|
|
810
|
+
};
|
|
811
|
+
reviewObjective: {
|
|
812
|
+
methodKind: "unary";
|
|
813
|
+
input: typeof ReviewObjectiveRequestSchema;
|
|
814
|
+
output: typeof ObjectiveSchema;
|
|
815
|
+
};
|
|
816
|
+
completeObjective: {
|
|
817
|
+
methodKind: "unary";
|
|
818
|
+
input: typeof CompleteObjectiveRequestSchema;
|
|
819
|
+
output: typeof ObjectiveSchema;
|
|
820
|
+
};
|
|
821
|
+
}>>;
|
|
822
|
+
inbox: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
823
|
+
listItems: {
|
|
824
|
+
methodKind: "unary";
|
|
825
|
+
input: typeof ListInboxItemsRequestSchema;
|
|
826
|
+
output: typeof ListInboxItemsResponseSchema;
|
|
827
|
+
};
|
|
828
|
+
getQuestion: {
|
|
829
|
+
methodKind: "unary";
|
|
830
|
+
input: typeof GetQuestionRequestSchema;
|
|
831
|
+
output: typeof ObjectiveQuestionSchema;
|
|
832
|
+
};
|
|
833
|
+
answerQuestion: {
|
|
834
|
+
methodKind: "unary";
|
|
835
|
+
input: typeof AnswerQuestionRequestSchema;
|
|
836
|
+
output: typeof TaskSchema;
|
|
837
|
+
};
|
|
838
|
+
getApproval: {
|
|
839
|
+
methodKind: "unary";
|
|
840
|
+
input: typeof GetApprovalRequestSchema;
|
|
841
|
+
output: typeof ApprovalSchema;
|
|
842
|
+
};
|
|
843
|
+
listApprovals: {
|
|
844
|
+
methodKind: "unary";
|
|
845
|
+
input: typeof ListApprovalsRequestSchema;
|
|
846
|
+
output: typeof ListApprovalsResponseSchema;
|
|
847
|
+
};
|
|
848
|
+
decideApproval: {
|
|
849
|
+
methodKind: "unary";
|
|
850
|
+
input: typeof DecideApprovalRequestSchema;
|
|
851
|
+
output: typeof ApprovalSchema;
|
|
852
|
+
};
|
|
853
|
+
}>>;
|
|
854
|
+
workSessions: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
855
|
+
get: {
|
|
856
|
+
methodKind: "unary";
|
|
857
|
+
input: typeof GetWorkSessionRequestSchema;
|
|
858
|
+
output: typeof WorkSessionSchema;
|
|
859
|
+
};
|
|
860
|
+
list: {
|
|
861
|
+
methodKind: "unary";
|
|
862
|
+
input: typeof ListWorkSessionsRequestSchema;
|
|
863
|
+
output: typeof ListWorkSessionsResponseSchema;
|
|
864
|
+
};
|
|
865
|
+
close: {
|
|
866
|
+
methodKind: "unary";
|
|
867
|
+
input: typeof CloseWorkSessionRequestSchema;
|
|
868
|
+
output: typeof WorkSessionSchema;
|
|
869
|
+
};
|
|
870
|
+
}>>;
|
|
871
|
+
teams: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
872
|
+
createTeam: {
|
|
873
|
+
methodKind: "unary";
|
|
874
|
+
input: typeof CreateTeamRequestSchema;
|
|
875
|
+
output: typeof TeamSchema;
|
|
876
|
+
};
|
|
877
|
+
getTeam: {
|
|
878
|
+
methodKind: "unary";
|
|
879
|
+
input: typeof GetTeamRequestSchema;
|
|
880
|
+
output: typeof TeamSchema;
|
|
881
|
+
};
|
|
882
|
+
listTeams: {
|
|
883
|
+
methodKind: "unary";
|
|
884
|
+
input: typeof ListTeamsRequestSchema;
|
|
885
|
+
output: typeof ListTeamsResponseSchema;
|
|
886
|
+
};
|
|
887
|
+
updateTeam: {
|
|
888
|
+
methodKind: "unary";
|
|
889
|
+
input: typeof UpdateTeamRequestSchema;
|
|
890
|
+
output: typeof TeamSchema;
|
|
891
|
+
};
|
|
892
|
+
deleteTeam: {
|
|
893
|
+
methodKind: "unary";
|
|
894
|
+
input: typeof DeleteTeamRequestSchema;
|
|
895
|
+
output: typeof TeamSchema;
|
|
896
|
+
};
|
|
897
|
+
listWorkstreamPosts: {
|
|
898
|
+
methodKind: "unary";
|
|
899
|
+
input: typeof ListWorkstreamPostsRequestSchema;
|
|
900
|
+
output: typeof ListWorkstreamPostsResponseSchema;
|
|
901
|
+
};
|
|
902
|
+
}>>;
|
|
903
|
+
mailbox: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
904
|
+
listMessages: {
|
|
905
|
+
methodKind: "unary";
|
|
906
|
+
input: typeof ListMailboxMessagesRequestSchema;
|
|
907
|
+
output: typeof ListMailboxMessagesResponseSchema;
|
|
908
|
+
};
|
|
909
|
+
changeGrant: {
|
|
910
|
+
methodKind: "unary";
|
|
911
|
+
input: typeof ChangeMailboxGrantRequestSchema;
|
|
912
|
+
output: typeof ChangeMailboxGrantResponseSchema;
|
|
913
|
+
};
|
|
914
|
+
listGrants: {
|
|
915
|
+
methodKind: "unary";
|
|
916
|
+
input: typeof ListMailboxGrantsRequestSchema;
|
|
917
|
+
output: typeof ListMailboxGrantsResponseSchema;
|
|
918
|
+
};
|
|
919
|
+
}>>;
|
|
920
|
+
liveInputs: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
921
|
+
queueInput: {
|
|
922
|
+
methodKind: "unary";
|
|
923
|
+
input: typeof QueueInputRequestSchema;
|
|
924
|
+
output: typeof LiveInputSchema;
|
|
925
|
+
};
|
|
926
|
+
getInput: {
|
|
927
|
+
methodKind: "unary";
|
|
928
|
+
input: typeof GetInputRequestSchema;
|
|
929
|
+
output: typeof LiveInputSchema;
|
|
930
|
+
};
|
|
931
|
+
resolveInput: {
|
|
932
|
+
methodKind: "unary";
|
|
933
|
+
input: typeof ResolveInputRequestSchema;
|
|
934
|
+
output: typeof LiveInputSchema;
|
|
935
|
+
};
|
|
936
|
+
}>>;
|
|
937
|
+
policy: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
938
|
+
putPermissionSet: {
|
|
939
|
+
methodKind: "unary";
|
|
940
|
+
input: typeof PutPermissionSetRequestSchema;
|
|
941
|
+
output: typeof PermissionSetSchema;
|
|
942
|
+
};
|
|
943
|
+
getPermissionSet: {
|
|
944
|
+
methodKind: "unary";
|
|
945
|
+
input: typeof GetPolicyResourceRequestSchema;
|
|
946
|
+
output: typeof PermissionSetSchema;
|
|
947
|
+
};
|
|
948
|
+
listPermissionSets: {
|
|
949
|
+
methodKind: "unary";
|
|
950
|
+
input: typeof ListPolicyResourcesRequestSchema;
|
|
951
|
+
output: typeof ListPermissionSetsResponseSchema;
|
|
952
|
+
};
|
|
953
|
+
deletePermissionSet: {
|
|
954
|
+
methodKind: "unary";
|
|
955
|
+
input: typeof DeletePolicyResourceRequestSchema;
|
|
956
|
+
output: typeof DeletePolicyResourceResponseSchema;
|
|
957
|
+
};
|
|
958
|
+
putContextSet: {
|
|
959
|
+
methodKind: "unary";
|
|
960
|
+
input: typeof PutContextSetRequestSchema;
|
|
961
|
+
output: typeof ContextSetSchema;
|
|
962
|
+
};
|
|
963
|
+
getContextSet: {
|
|
964
|
+
methodKind: "unary";
|
|
965
|
+
input: typeof GetPolicyResourceRequestSchema;
|
|
966
|
+
output: typeof ContextSetSchema;
|
|
967
|
+
};
|
|
968
|
+
listContextSets: {
|
|
969
|
+
methodKind: "unary";
|
|
970
|
+
input: typeof ListPolicyResourcesRequestSchema;
|
|
971
|
+
output: typeof ListContextSetsResponseSchema;
|
|
972
|
+
};
|
|
973
|
+
deleteContextSet: {
|
|
974
|
+
methodKind: "unary";
|
|
975
|
+
input: typeof DeletePolicyResourceRequestSchema;
|
|
976
|
+
output: typeof DeletePolicyResourceResponseSchema;
|
|
977
|
+
};
|
|
978
|
+
putRole: {
|
|
979
|
+
methodKind: "unary";
|
|
980
|
+
input: typeof PutRoleRequestSchema;
|
|
981
|
+
output: typeof RoleSchema;
|
|
982
|
+
};
|
|
983
|
+
getRole: {
|
|
984
|
+
methodKind: "unary";
|
|
985
|
+
input: typeof GetPolicyResourceRequestSchema;
|
|
986
|
+
output: typeof RoleSchema;
|
|
987
|
+
};
|
|
988
|
+
listRoles: {
|
|
989
|
+
methodKind: "unary";
|
|
990
|
+
input: typeof ListPolicyResourcesRequestSchema;
|
|
991
|
+
output: typeof ListRolesResponseSchema;
|
|
992
|
+
};
|
|
993
|
+
assignRole: {
|
|
994
|
+
methodKind: "unary";
|
|
995
|
+
input: typeof AssignRoleRequestSchema;
|
|
996
|
+
output: typeof RoleAssignmentSchema;
|
|
997
|
+
};
|
|
998
|
+
listRoleAssignments: {
|
|
999
|
+
methodKind: "unary";
|
|
1000
|
+
input: typeof ListRoleAssignmentsRequestSchema;
|
|
1001
|
+
output: typeof ListRoleAssignmentsResponseSchema;
|
|
1002
|
+
};
|
|
1003
|
+
deactivateRoleAssignment: {
|
|
1004
|
+
methodKind: "unary";
|
|
1005
|
+
input: typeof DeactivateRoleAssignmentRequestSchema;
|
|
1006
|
+
output: typeof RoleAssignmentSchema;
|
|
1007
|
+
};
|
|
1008
|
+
}>>;
|
|
1009
|
+
manifestRelationships: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1010
|
+
reconcileTag: {
|
|
1011
|
+
methodKind: "unary";
|
|
1012
|
+
input: typeof ReconcileTagRelationshipsRequestSchema;
|
|
1013
|
+
output: typeof ReconcileTagRelationshipsResponseSchema;
|
|
1014
|
+
};
|
|
1015
|
+
provisionTags: {
|
|
1016
|
+
methodKind: "unary";
|
|
1017
|
+
input: typeof ProvisionTagsRequestSchema;
|
|
1018
|
+
output: typeof ProvisionTagsResponseSchema;
|
|
1019
|
+
};
|
|
1020
|
+
reconcileApplySet: {
|
|
1021
|
+
methodKind: "unary";
|
|
1022
|
+
input: typeof ReconcileApplySetRequestSchema;
|
|
1023
|
+
output: typeof ReconcileApplySetResponseSchema;
|
|
1024
|
+
};
|
|
1025
|
+
reconcileManifestFields: {
|
|
1026
|
+
methodKind: "unary";
|
|
1027
|
+
input: typeof ReconcileManifestFieldsRequestSchema;
|
|
1028
|
+
output: typeof ReconcileManifestFieldsResponseSchema;
|
|
1029
|
+
};
|
|
1030
|
+
}>>;
|
|
1031
|
+
surfaces: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1032
|
+
putSurfaceAccount: {
|
|
1033
|
+
methodKind: "unary";
|
|
1034
|
+
input: typeof PutSurfaceAccountRequestSchema;
|
|
1035
|
+
output: typeof SurfaceAccountSchema;
|
|
1036
|
+
};
|
|
1037
|
+
getSurfaceAccount: {
|
|
1038
|
+
methodKind: "unary";
|
|
1039
|
+
input: typeof GetSurfaceAccountRequestSchema;
|
|
1040
|
+
output: typeof SurfaceAccountSchema;
|
|
1041
|
+
};
|
|
1042
|
+
listSurfaceAccounts: {
|
|
1043
|
+
methodKind: "unary";
|
|
1044
|
+
input: typeof ListSurfaceAccountsRequestSchema;
|
|
1045
|
+
output: typeof ListSurfaceAccountsResponseSchema;
|
|
1046
|
+
};
|
|
1047
|
+
putSurfaceLocation: {
|
|
1048
|
+
methodKind: "unary";
|
|
1049
|
+
input: typeof PutSurfaceLocationRequestSchema;
|
|
1050
|
+
output: typeof SurfaceLocationSchema;
|
|
1051
|
+
};
|
|
1052
|
+
getSurfaceLocation: {
|
|
1053
|
+
methodKind: "unary";
|
|
1054
|
+
input: typeof GetSurfaceLocationRequestSchema;
|
|
1055
|
+
output: typeof SurfaceLocationSchema;
|
|
1056
|
+
};
|
|
1057
|
+
listSurfaceLocations: {
|
|
1058
|
+
methodKind: "unary";
|
|
1059
|
+
input: typeof ListSurfaceLocationsRequestSchema;
|
|
1060
|
+
output: typeof ListSurfaceLocationsResponseSchema;
|
|
1061
|
+
};
|
|
1062
|
+
deleteSurfaceLocation: {
|
|
1063
|
+
methodKind: "unary";
|
|
1064
|
+
input: typeof DeleteSurfaceLocationRequestSchema;
|
|
1065
|
+
output: typeof DeletePolicyResourceResponseSchema;
|
|
1066
|
+
};
|
|
1067
|
+
}>>;
|
|
1068
|
+
workspaces: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1069
|
+
put: {
|
|
1070
|
+
methodKind: "unary";
|
|
1071
|
+
input: typeof PutWorkspaceRequestSchema;
|
|
1072
|
+
output: typeof WorkspaceSchema;
|
|
1073
|
+
};
|
|
1074
|
+
get: {
|
|
1075
|
+
methodKind: "unary";
|
|
1076
|
+
input: typeof GetWorkspaceRequestSchema;
|
|
1077
|
+
output: typeof WorkspaceSchema;
|
|
1078
|
+
};
|
|
1079
|
+
list: {
|
|
1080
|
+
methodKind: "unary";
|
|
1081
|
+
input: typeof ListWorkspacesRequestSchema;
|
|
1082
|
+
output: typeof ListWorkspacesResponseSchema;
|
|
1083
|
+
};
|
|
1084
|
+
delete: {
|
|
1085
|
+
methodKind: "unary";
|
|
1086
|
+
input: typeof DeleteWorkspaceRequestSchema;
|
|
1087
|
+
output: typeof DeleteWorkspaceResponseSchema;
|
|
1088
|
+
};
|
|
1089
|
+
check: {
|
|
1090
|
+
methodKind: "unary";
|
|
1091
|
+
input: typeof CheckWorkspaceRequestSchema;
|
|
1092
|
+
output: typeof WorkspaceCheckSchema;
|
|
1093
|
+
};
|
|
1094
|
+
}>>;
|
|
1095
|
+
workspaceCredentials: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1096
|
+
put: {
|
|
1097
|
+
methodKind: "unary";
|
|
1098
|
+
input: typeof PutWorkspaceCredentialRequestSchema;
|
|
1099
|
+
output: typeof WorkspaceCredentialSchema;
|
|
1100
|
+
};
|
|
1101
|
+
get: {
|
|
1102
|
+
methodKind: "unary";
|
|
1103
|
+
input: typeof GetWorkspaceCredentialRequestSchema;
|
|
1104
|
+
output: typeof WorkspaceCredentialSchema;
|
|
1105
|
+
};
|
|
1106
|
+
list: {
|
|
1107
|
+
methodKind: "unary";
|
|
1108
|
+
input: typeof ListWorkspaceCredentialsRequestSchema;
|
|
1109
|
+
output: typeof ListWorkspaceCredentialsResponseSchema;
|
|
1110
|
+
};
|
|
1111
|
+
delete: {
|
|
1112
|
+
methodKind: "unary";
|
|
1113
|
+
input: typeof DeleteWorkspaceCredentialRequestSchema;
|
|
1114
|
+
output: typeof DeleteWorkspaceCredentialResponseSchema;
|
|
1115
|
+
};
|
|
1116
|
+
}>>;
|
|
1117
|
+
workspaceLandings: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1118
|
+
get: {
|
|
1119
|
+
methodKind: "unary";
|
|
1120
|
+
input: typeof GetWorkspaceLandingRequestSchema;
|
|
1121
|
+
output: typeof WorkspaceLandingSchema;
|
|
1122
|
+
};
|
|
1123
|
+
list: {
|
|
1124
|
+
methodKind: "unary";
|
|
1125
|
+
input: typeof ListWorkspaceLandingsRequestSchema;
|
|
1126
|
+
output: typeof ListWorkspaceLandingsResponseSchema;
|
|
1127
|
+
};
|
|
1128
|
+
returnConflict: {
|
|
1129
|
+
methodKind: "unary";
|
|
1130
|
+
input: typeof ReturnLandingConflictRequestSchema;
|
|
1131
|
+
output: typeof TaskSchema;
|
|
1132
|
+
};
|
|
1133
|
+
}>>;
|
|
1134
|
+
artifacts: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1135
|
+
get: {
|
|
1136
|
+
methodKind: "unary";
|
|
1137
|
+
input: typeof GetCapturedArtifactRequestSchema;
|
|
1138
|
+
output: typeof CapturedArtifactSchema;
|
|
1139
|
+
};
|
|
1140
|
+
list: {
|
|
1141
|
+
methodKind: "unary";
|
|
1142
|
+
input: typeof ListCapturedArtifactsRequestSchema;
|
|
1143
|
+
output: typeof ListCapturedArtifactsResponseSchema;
|
|
1144
|
+
};
|
|
1145
|
+
}>>;
|
|
1146
|
+
artifactPublications: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1147
|
+
publish: {
|
|
1148
|
+
methodKind: "unary";
|
|
1149
|
+
input: typeof PublishArtifactRequestSchema;
|
|
1150
|
+
output: typeof ArtifactPublicationSchema;
|
|
1151
|
+
};
|
|
1152
|
+
consume: {
|
|
1153
|
+
methodKind: "unary";
|
|
1154
|
+
input: typeof ConsumeArtifactPublicationRequestSchema;
|
|
1155
|
+
output: typeof ArtifactConsumptionApprovalSchema;
|
|
1156
|
+
};
|
|
1157
|
+
withdrawPublication: {
|
|
1158
|
+
methodKind: "unary";
|
|
1159
|
+
input: typeof WithdrawArtifactApprovalRequestSchema;
|
|
1160
|
+
output: typeof ArtifactPublicationSchema;
|
|
1161
|
+
};
|
|
1162
|
+
withdrawConsumption: {
|
|
1163
|
+
methodKind: "unary";
|
|
1164
|
+
input: typeof WithdrawArtifactApprovalRequestSchema;
|
|
1165
|
+
output: typeof ArtifactConsumptionApprovalSchema;
|
|
1166
|
+
};
|
|
1167
|
+
getPublication: {
|
|
1168
|
+
methodKind: "unary";
|
|
1169
|
+
input: typeof GetArtifactApprovalRequestSchema;
|
|
1170
|
+
output: typeof ArtifactPublicationSchema;
|
|
1171
|
+
};
|
|
1172
|
+
getConsumption: {
|
|
1173
|
+
methodKind: "unary";
|
|
1174
|
+
input: typeof GetArtifactApprovalRequestSchema;
|
|
1175
|
+
output: typeof ArtifactConsumptionApprovalSchema;
|
|
1176
|
+
};
|
|
1177
|
+
listPublications: {
|
|
1178
|
+
methodKind: "unary";
|
|
1179
|
+
input: typeof ListObjectiveArtifactApprovalsRequestSchema;
|
|
1180
|
+
output: typeof ListArtifactPublicationsResponseSchema;
|
|
1181
|
+
};
|
|
1182
|
+
listConsumptions: {
|
|
1183
|
+
methodKind: "unary";
|
|
1184
|
+
input: typeof ListObjectiveArtifactApprovalsRequestSchema;
|
|
1185
|
+
output: typeof ListArtifactConsumptionsResponseSchema;
|
|
1186
|
+
};
|
|
1187
|
+
listAudit: {
|
|
1188
|
+
methodKind: "unary";
|
|
1189
|
+
input: typeof ListArtifactApprovalAuditRequestSchema;
|
|
1190
|
+
output: typeof ListArtifactApprovalAuditResponseSchema;
|
|
1191
|
+
};
|
|
1192
|
+
}>>;
|
|
1193
|
+
volumes: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1194
|
+
put: {
|
|
1195
|
+
methodKind: "unary";
|
|
1196
|
+
input: typeof PutArtifactVolumeRequestSchema;
|
|
1197
|
+
output: typeof ArtifactVolumeSchema;
|
|
1198
|
+
};
|
|
1199
|
+
get: {
|
|
1200
|
+
methodKind: "unary";
|
|
1201
|
+
input: typeof GetArtifactVolumeRequestSchema;
|
|
1202
|
+
output: typeof ArtifactVolumeSchema;
|
|
1203
|
+
};
|
|
1204
|
+
list: {
|
|
1205
|
+
methodKind: "unary";
|
|
1206
|
+
input: typeof ListArtifactVolumesRequestSchema;
|
|
1207
|
+
output: typeof ListArtifactVolumesResponseSchema;
|
|
1208
|
+
};
|
|
1209
|
+
delete: {
|
|
1210
|
+
methodKind: "unary";
|
|
1211
|
+
input: typeof DeleteArtifactVolumeRequestSchema;
|
|
1212
|
+
output: typeof DeleteArtifactVolumeResponseSchema;
|
|
1213
|
+
};
|
|
1214
|
+
getCopy: {
|
|
1215
|
+
methodKind: "unary";
|
|
1216
|
+
input: typeof GetArtifactVolumeCopyRequestSchema;
|
|
1217
|
+
output: typeof ArtifactVolumeCopySchema;
|
|
1218
|
+
};
|
|
1219
|
+
listCopies: {
|
|
1220
|
+
methodKind: "unary";
|
|
1221
|
+
input: typeof ListArtifactVolumeCopiesRequestSchema;
|
|
1222
|
+
output: typeof ListArtifactVolumeCopiesResponseSchema;
|
|
1223
|
+
};
|
|
1224
|
+
}>>;
|
|
1225
|
+
enrollments: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1226
|
+
enroll: {
|
|
1227
|
+
methodKind: "unary";
|
|
1228
|
+
input: typeof EnrollRequestSchema;
|
|
1229
|
+
output: typeof EnrollmentSchema;
|
|
1230
|
+
};
|
|
1231
|
+
whoAmI: {
|
|
1232
|
+
methodKind: "unary";
|
|
1233
|
+
input: typeof WhoAmIRequestSchema;
|
|
1234
|
+
output: typeof WhoAmIResponseSchema;
|
|
1235
|
+
};
|
|
1236
|
+
rotateCredential: {
|
|
1237
|
+
methodKind: "unary";
|
|
1238
|
+
input: typeof RotateCredentialRequestSchema;
|
|
1239
|
+
output: typeof CredentialRotationSchema;
|
|
1240
|
+
};
|
|
1241
|
+
getEnrollment: {
|
|
1242
|
+
methodKind: "unary";
|
|
1243
|
+
input: typeof GetEnrollmentRequestSchema;
|
|
1244
|
+
output: typeof EnrollmentSchema;
|
|
1245
|
+
};
|
|
1246
|
+
listEnrollments: {
|
|
1247
|
+
methodKind: "unary";
|
|
1248
|
+
input: typeof ListEnrollmentsRequestSchema;
|
|
1249
|
+
output: typeof ListEnrollmentsResponseSchema;
|
|
1250
|
+
};
|
|
1251
|
+
revokeEnrollment: {
|
|
1252
|
+
methodKind: "unary";
|
|
1253
|
+
input: typeof RevokeEnrollmentRequestSchema;
|
|
1254
|
+
output: typeof EnrollmentSchema;
|
|
1255
|
+
};
|
|
1256
|
+
}>>;
|
|
1257
|
+
memories: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1258
|
+
list: {
|
|
1259
|
+
methodKind: "unary";
|
|
1260
|
+
input: typeof ListMemoriesRequestSchema;
|
|
1261
|
+
output: typeof ListMemoriesResponseSchema;
|
|
1262
|
+
};
|
|
1263
|
+
get: {
|
|
1264
|
+
methodKind: "unary";
|
|
1265
|
+
input: typeof GetMemoryRequestSchema;
|
|
1266
|
+
output: typeof MemorySchema;
|
|
1267
|
+
};
|
|
1268
|
+
delete: {
|
|
1269
|
+
methodKind: "unary";
|
|
1270
|
+
input: typeof GetMemoryRequestSchema;
|
|
1271
|
+
output: typeof MemorySchema;
|
|
1272
|
+
};
|
|
1273
|
+
resetNative: {
|
|
1274
|
+
methodKind: "unary";
|
|
1275
|
+
input: typeof ResetNativeMemoryRequestSchema;
|
|
1276
|
+
output: typeof ResetNativeMemoryResponseSchema;
|
|
1277
|
+
};
|
|
1278
|
+
}>>;
|
|
1279
|
+
networkLogs: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1280
|
+
list: {
|
|
1281
|
+
methodKind: "unary";
|
|
1282
|
+
input: typeof ListNetworkLogsRequestSchema;
|
|
1283
|
+
output: typeof ListNetworkLogsResponseSchema;
|
|
1284
|
+
};
|
|
1285
|
+
}>>;
|
|
1286
|
+
schedules: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1287
|
+
create: {
|
|
1288
|
+
methodKind: "unary";
|
|
1289
|
+
input: typeof CreateScheduleRequestSchema;
|
|
1290
|
+
output: typeof ScheduleSchema;
|
|
1291
|
+
};
|
|
1292
|
+
get: {
|
|
1293
|
+
methodKind: "unary";
|
|
1294
|
+
input: typeof GetScheduleRequestSchema;
|
|
1295
|
+
output: typeof ScheduleSchema;
|
|
1296
|
+
};
|
|
1297
|
+
list: {
|
|
1298
|
+
methodKind: "unary";
|
|
1299
|
+
input: typeof ListSchedulesRequestSchema;
|
|
1300
|
+
output: typeof ListSchedulesResponseSchema;
|
|
1301
|
+
};
|
|
1302
|
+
pause: {
|
|
1303
|
+
methodKind: "unary";
|
|
1304
|
+
input: typeof GetScheduleRequestSchema;
|
|
1305
|
+
output: typeof ScheduleSchema;
|
|
1306
|
+
};
|
|
1307
|
+
resume: {
|
|
1308
|
+
methodKind: "unary";
|
|
1309
|
+
input: typeof GetScheduleRequestSchema;
|
|
1310
|
+
output: typeof ScheduleSchema;
|
|
1311
|
+
};
|
|
1312
|
+
delete: {
|
|
1313
|
+
methodKind: "unary";
|
|
1314
|
+
input: typeof GetScheduleRequestSchema;
|
|
1315
|
+
output: typeof ScheduleSchema;
|
|
1316
|
+
};
|
|
1317
|
+
put: {
|
|
1318
|
+
methodKind: "unary";
|
|
1319
|
+
input: typeof PutScheduleRequestSchema;
|
|
1320
|
+
output: typeof ScheduleSchema;
|
|
1321
|
+
};
|
|
1322
|
+
backfill: {
|
|
1323
|
+
methodKind: "unary";
|
|
1324
|
+
input: typeof BackfillScheduleRequestSchema;
|
|
1325
|
+
output: typeof BackfillScheduleResponseSchema;
|
|
1326
|
+
};
|
|
1327
|
+
}>>;
|
|
1328
|
+
taskFiles: _connectrpc_connect.Client<_bufbuild_protobuf_codegenv2.GenService<{
|
|
1329
|
+
locate: {
|
|
1330
|
+
methodKind: "unary";
|
|
1331
|
+
input: typeof LocateTaskFilesRequestSchema;
|
|
1332
|
+
output: typeof TaskFileLocationsSchema;
|
|
1333
|
+
};
|
|
1334
|
+
}>>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Negotiates the protocol version now, without credentials, and returns it. Calls negotiate
|
|
1337
|
+
* on their own; this tells whether the Gateway is reachable and compatible before any is
|
|
1338
|
+
* made. A Gateway from another release rejects it with {@link ProtocolMismatchError}.
|
|
1339
|
+
*/
|
|
1340
|
+
negotiate(): Promise<number>;
|
|
1341
|
+
close(): void;
|
|
1342
|
+
};
|
|
1343
|
+
type GatewayClient = ReturnType<typeof createGatewayClient>;
|
|
1344
|
+
|
|
1345
|
+
export { type GatewayClient, type GatewayClientOptions, protocolVersions as PROTOCOL_VERSIONS, PrincipalRole, ProtocolMismatchError, createGatewayClient };
|