@replit/protocol 0.4.27 → 0.4.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/chateau/resources.client.d.ts +51 -0
- package/dist/api/chateau/resources.client.js +34 -0
- package/dist/api/chateau/resources.d.ts +333 -0
- package/dist/api/chateau/resources.js +727 -0
- package/dist/api/lore/service.client.d.ts +56 -0
- package/dist/api/lore/service.client.js +51 -15
- package/dist/api/lore/service.d.ts +328 -0
- package/dist/api/lore/service.js +563 -8
- package/dist/api/repl/repl.d.ts +9 -0
- package/dist/api/repl/repl.js +9 -1
- package/dist/api/token/token.d.ts +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/iotester/index.d.ts +4075 -1701
- package/iotester/index.js +24565 -11179
- package/main/index.d.ts +4075 -1701
- package/main/index.js +24565 -11179
- package/package.json +1 -1
|
@@ -6,6 +6,10 @@ import type { ExportReplResponse } from "./service.js";
|
|
|
6
6
|
import type { ExportReplRequest } from "./service.js";
|
|
7
7
|
import type { TransferReplFromOfflineClusterResponse } from "./service.js";
|
|
8
8
|
import type { TransferReplFromOfflineClusterRequest } from "./service.js";
|
|
9
|
+
import type { SetOrgHomeCellResponse } from "./service.js";
|
|
10
|
+
import type { SetOrgHomeCellRequest } from "./service.js";
|
|
11
|
+
import type { GetOrgHomeCellResponse } from "./service.js";
|
|
12
|
+
import type { GetOrgHomeCellRequest } from "./service.js";
|
|
9
13
|
import type { GetClustersResponse } from "./service.js";
|
|
10
14
|
import type { GetClustersRequest } from "./service.js";
|
|
11
15
|
import type { DeleteReplResponse } from "./service.js";
|
|
@@ -30,6 +34,10 @@ import type { GetReplResponse } from "./service.js";
|
|
|
30
34
|
import type { GetReplRequest } from "./service.js";
|
|
31
35
|
import type { CreateReplResponse } from "./service.js";
|
|
32
36
|
import type { CreateReplRequest } from "./service.js";
|
|
37
|
+
import type { CreateAgentResponse } from "./service.js";
|
|
38
|
+
import type { CreateAgentRequest } from "./service.js";
|
|
39
|
+
import type { CreateResourceGroupResponse } from "./service.js";
|
|
40
|
+
import type { CreateResourceGroupRequest } from "./service.js";
|
|
33
41
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
34
42
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
35
43
|
/**
|
|
@@ -39,6 +47,18 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
|
39
47
|
* @generated from protobuf service replit.goval.api.lore.Lore
|
|
40
48
|
*/
|
|
41
49
|
export interface ILoreClient {
|
|
50
|
+
/**
|
|
51
|
+
* CreateResourceGroup registers an empty resource group in Jetplane.
|
|
52
|
+
*
|
|
53
|
+
* @generated from protobuf rpc: CreateResourceGroup
|
|
54
|
+
*/
|
|
55
|
+
createResourceGroup(input: CreateResourceGroupRequest, options?: RpcOptions): UnaryCall<CreateResourceGroupRequest, CreateResourceGroupResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* CreateAgent creates an agent through the selected cluster's Chateau.
|
|
58
|
+
*
|
|
59
|
+
* @generated from protobuf rpc: CreateAgent
|
|
60
|
+
*/
|
|
61
|
+
createAgent(input: CreateAgentRequest, options?: RpcOptions): UnaryCall<CreateAgentRequest, CreateAgentResponse>;
|
|
42
62
|
/**
|
|
43
63
|
* CreateRepl will create a new repl in Lore. Its contents may be copied from
|
|
44
64
|
* a source repl or a specified list of files.
|
|
@@ -131,6 +151,18 @@ export interface ILoreClient {
|
|
|
131
151
|
* @generated from protobuf rpc: GetClusters
|
|
132
152
|
*/
|
|
133
153
|
getClusters(input: GetClustersRequest, options?: RpcOptions): UnaryCall<GetClustersRequest, GetClustersResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* GetOrgHomeCell returns the persisted home cell for an org.
|
|
156
|
+
*
|
|
157
|
+
* @generated from protobuf rpc: GetOrgHomeCell
|
|
158
|
+
*/
|
|
159
|
+
getOrgHomeCell(input: GetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<GetOrgHomeCellRequest, GetOrgHomeCellResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* SetOrgHomeCell sets the persisted home cell for an org.
|
|
162
|
+
*
|
|
163
|
+
* @generated from protobuf rpc: SetOrgHomeCell
|
|
164
|
+
*/
|
|
165
|
+
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
134
166
|
/**
|
|
135
167
|
* TransferReplFromOfflineCluster transfers a repl from an offline cluster to
|
|
136
168
|
* a new cluster.
|
|
@@ -180,6 +212,18 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
180
212
|
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
181
213
|
};
|
|
182
214
|
constructor(_transport: RpcTransport);
|
|
215
|
+
/**
|
|
216
|
+
* CreateResourceGroup registers an empty resource group in Jetplane.
|
|
217
|
+
*
|
|
218
|
+
* @generated from protobuf rpc: CreateResourceGroup
|
|
219
|
+
*/
|
|
220
|
+
createResourceGroup(input: CreateResourceGroupRequest, options?: RpcOptions): UnaryCall<CreateResourceGroupRequest, CreateResourceGroupResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* CreateAgent creates an agent through the selected cluster's Chateau.
|
|
223
|
+
*
|
|
224
|
+
* @generated from protobuf rpc: CreateAgent
|
|
225
|
+
*/
|
|
226
|
+
createAgent(input: CreateAgentRequest, options?: RpcOptions): UnaryCall<CreateAgentRequest, CreateAgentResponse>;
|
|
183
227
|
/**
|
|
184
228
|
* CreateRepl will create a new repl in Lore. Its contents may be copied from
|
|
185
229
|
* a source repl or a specified list of files.
|
|
@@ -272,6 +316,18 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
272
316
|
* @generated from protobuf rpc: GetClusters
|
|
273
317
|
*/
|
|
274
318
|
getClusters(input: GetClustersRequest, options?: RpcOptions): UnaryCall<GetClustersRequest, GetClustersResponse>;
|
|
319
|
+
/**
|
|
320
|
+
* GetOrgHomeCell returns the persisted home cell for an org.
|
|
321
|
+
*
|
|
322
|
+
* @generated from protobuf rpc: GetOrgHomeCell
|
|
323
|
+
*/
|
|
324
|
+
getOrgHomeCell(input: GetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<GetOrgHomeCellRequest, GetOrgHomeCellResponse>;
|
|
325
|
+
/**
|
|
326
|
+
* SetOrgHomeCell sets the persisted home cell for an org.
|
|
327
|
+
*
|
|
328
|
+
* @generated from protobuf rpc: SetOrgHomeCell
|
|
329
|
+
*/
|
|
330
|
+
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
275
331
|
/**
|
|
276
332
|
* TransferReplFromOfflineCluster transfers a repl from an offline cluster to
|
|
277
333
|
* a new cluster.
|
|
@@ -13,6 +13,24 @@ export class LoreClient {
|
|
|
13
13
|
this.methods = Lore.methods;
|
|
14
14
|
this.options = Lore.options;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* CreateResourceGroup registers an empty resource group in Jetplane.
|
|
18
|
+
*
|
|
19
|
+
* @generated from protobuf rpc: CreateResourceGroup
|
|
20
|
+
*/
|
|
21
|
+
createResourceGroup(input, options) {
|
|
22
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
23
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* CreateAgent creates an agent through the selected cluster's Chateau.
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf rpc: CreateAgent
|
|
29
|
+
*/
|
|
30
|
+
createAgent(input, options) {
|
|
31
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
32
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
33
|
+
}
|
|
16
34
|
/**
|
|
17
35
|
* CreateRepl will create a new repl in Lore. Its contents may be copied from
|
|
18
36
|
* a source repl or a specified list of files.
|
|
@@ -20,7 +38,7 @@ export class LoreClient {
|
|
|
20
38
|
* @generated from protobuf rpc: CreateRepl
|
|
21
39
|
*/
|
|
22
40
|
createRepl(input, options) {
|
|
23
|
-
const method = this.methods[
|
|
41
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
24
42
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
25
43
|
}
|
|
26
44
|
/**
|
|
@@ -29,7 +47,7 @@ export class LoreClient {
|
|
|
29
47
|
* @generated from protobuf rpc: GetRepl
|
|
30
48
|
*/
|
|
31
49
|
getRepl(input, options) {
|
|
32
|
-
const method = this.methods[
|
|
50
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
33
51
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
34
52
|
}
|
|
35
53
|
/**
|
|
@@ -42,7 +60,7 @@ export class LoreClient {
|
|
|
42
60
|
* @generated from protobuf rpc: GetReplConnectionInfo
|
|
43
61
|
*/
|
|
44
62
|
getReplConnectionInfo(input, options) {
|
|
45
|
-
const method = this.methods[
|
|
63
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
46
64
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
47
65
|
}
|
|
48
66
|
/**
|
|
@@ -51,7 +69,7 @@ export class LoreClient {
|
|
|
51
69
|
* @generated from protobuf rpc: GetTransferStatus
|
|
52
70
|
*/
|
|
53
71
|
getTransferStatus(input, options) {
|
|
54
|
-
const method = this.methods[
|
|
72
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
55
73
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
56
74
|
}
|
|
57
75
|
/**
|
|
@@ -61,7 +79,7 @@ export class LoreClient {
|
|
|
61
79
|
* @generated from protobuf rpc: TransferRepls
|
|
62
80
|
*/
|
|
63
81
|
transferRepls(input, options) {
|
|
64
|
-
const method = this.methods[
|
|
82
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
65
83
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
66
84
|
}
|
|
67
85
|
/**
|
|
@@ -72,7 +90,7 @@ export class LoreClient {
|
|
|
72
90
|
* @generated from protobuf rpc: TransferUser
|
|
73
91
|
*/
|
|
74
92
|
transferUser(input, options) {
|
|
75
|
-
const method = this.methods[
|
|
93
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
76
94
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
77
95
|
}
|
|
78
96
|
/**
|
|
@@ -84,7 +102,7 @@ export class LoreClient {
|
|
|
84
102
|
* @generated from protobuf rpc: TakedownRepl
|
|
85
103
|
*/
|
|
86
104
|
takedownRepl(input, options) {
|
|
87
|
-
const method = this.methods[
|
|
105
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
88
106
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
89
107
|
}
|
|
90
108
|
/**
|
|
@@ -96,7 +114,7 @@ export class LoreClient {
|
|
|
96
114
|
* @generated from protobuf rpc: SoftTakedownRepl
|
|
97
115
|
*/
|
|
98
116
|
softTakedownRepl(input, options) {
|
|
99
|
-
const method = this.methods[
|
|
117
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
100
118
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
101
119
|
}
|
|
102
120
|
/**
|
|
@@ -105,7 +123,7 @@ export class LoreClient {
|
|
|
105
123
|
* @generated from protobuf rpc: RestoreRepl
|
|
106
124
|
*/
|
|
107
125
|
restoreRepl(input, options) {
|
|
108
|
-
const method = this.methods[
|
|
126
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
109
127
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
110
128
|
}
|
|
111
129
|
/**
|
|
@@ -114,7 +132,7 @@ export class LoreClient {
|
|
|
114
132
|
* @generated from protobuf rpc: BulkRemove
|
|
115
133
|
*/
|
|
116
134
|
bulkRemove(input, options) {
|
|
117
|
-
const method = this.methods[
|
|
135
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
118
136
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
119
137
|
}
|
|
120
138
|
/**
|
|
@@ -129,7 +147,7 @@ export class LoreClient {
|
|
|
129
147
|
* @generated from protobuf rpc: DeleteRepl
|
|
130
148
|
*/
|
|
131
149
|
deleteRepl(input, options) {
|
|
132
|
-
const method = this.methods[
|
|
150
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
133
151
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
134
152
|
}
|
|
135
153
|
/**
|
|
@@ -138,7 +156,25 @@ export class LoreClient {
|
|
|
138
156
|
* @generated from protobuf rpc: GetClusters
|
|
139
157
|
*/
|
|
140
158
|
getClusters(input, options) {
|
|
141
|
-
const method = this.methods[
|
|
159
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
160
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* GetOrgHomeCell returns the persisted home cell for an org.
|
|
164
|
+
*
|
|
165
|
+
* @generated from protobuf rpc: GetOrgHomeCell
|
|
166
|
+
*/
|
|
167
|
+
getOrgHomeCell(input, options) {
|
|
168
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
169
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* SetOrgHomeCell sets the persisted home cell for an org.
|
|
173
|
+
*
|
|
174
|
+
* @generated from protobuf rpc: SetOrgHomeCell
|
|
175
|
+
*/
|
|
176
|
+
setOrgHomeCell(input, options) {
|
|
177
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
142
178
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
143
179
|
}
|
|
144
180
|
/**
|
|
@@ -152,7 +188,7 @@ export class LoreClient {
|
|
|
152
188
|
* @generated from protobuf rpc: TransferReplFromOfflineCluster
|
|
153
189
|
*/
|
|
154
190
|
transferReplFromOfflineCluster(input, options) {
|
|
155
|
-
const method = this.methods[
|
|
191
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
156
192
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
157
193
|
}
|
|
158
194
|
/**
|
|
@@ -168,7 +204,7 @@ export class LoreClient {
|
|
|
168
204
|
* @generated from protobuf rpc: ExportRepl
|
|
169
205
|
*/
|
|
170
206
|
exportRepl(input, options) {
|
|
171
|
-
const method = this.methods[
|
|
207
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
172
208
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
173
209
|
}
|
|
174
210
|
/**
|
|
@@ -181,7 +217,7 @@ export class LoreClient {
|
|
|
181
217
|
* @generated from protobuf rpc: ImportRepl
|
|
182
218
|
*/
|
|
183
219
|
importRepl(input, options) {
|
|
184
|
-
const method = this.methods[
|
|
220
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
185
221
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
186
222
|
}
|
|
187
223
|
}
|
|
@@ -5,6 +5,8 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
|
5
5
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
6
6
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
+
import { Agent } from "../chateau/resources.js";
|
|
9
|
+
import { CreateAgentRequest as CreateAgentRequest$ } from "../chateau/resources.js";
|
|
8
10
|
/**
|
|
9
11
|
* @generated from protobuf message replit.goval.api.lore.Buckets
|
|
10
12
|
*/
|
|
@@ -91,6 +93,32 @@ export interface Cluster {
|
|
|
91
93
|
* @generated from protobuf field: string chateau_url = 6
|
|
92
94
|
*/
|
|
93
95
|
chateauUrl: string;
|
|
96
|
+
/**
|
|
97
|
+
* TaskmanUrl is the url of the taskman service for this cluster. May be
|
|
98
|
+
* empty for clusters whose taskman deployment is not yet provisioned.
|
|
99
|
+
*
|
|
100
|
+
* @generated from protobuf field: string taskman_url = 7
|
|
101
|
+
*/
|
|
102
|
+
taskmanUrl: string;
|
|
103
|
+
/**
|
|
104
|
+
* SentinelUrl is the url of the sentinel service for this cluster. May be
|
|
105
|
+
* empty for clusters whose sentinel deployment is not yet provisioned.
|
|
106
|
+
*
|
|
107
|
+
* @generated from protobuf field: string sentinel_url = 8
|
|
108
|
+
*/
|
|
109
|
+
sentinelUrl: string;
|
|
110
|
+
/**
|
|
111
|
+
* ChateauRpcTarget is the host:port of chateau's in-cluster gRPC service.
|
|
112
|
+
*
|
|
113
|
+
* @generated from protobuf field: string chateau_rpc_target = 9
|
|
114
|
+
*/
|
|
115
|
+
chateauRpcTarget: string;
|
|
116
|
+
/**
|
|
117
|
+
* TaskmanRpcTarget is the host:port of taskman's in-cluster gRPC service.
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf field: string taskman_rpc_target = 10
|
|
120
|
+
*/
|
|
121
|
+
taskmanRpcTarget: string;
|
|
94
122
|
}
|
|
95
123
|
/**
|
|
96
124
|
* @generated from protobuf message replit.goval.api.lore.CreateReplRequest
|
|
@@ -159,6 +187,15 @@ export interface CreateReplRequest {
|
|
|
159
187
|
* @generated from protobuf field: bool copy_gitsafe = 9
|
|
160
188
|
*/
|
|
161
189
|
copyGitsafe: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* OrgId, when non-empty, makes lore place this repl on the org's persisted
|
|
192
|
+
* home cluster. If the org has no home cluster yet, lore assigns one from
|
|
193
|
+
* the selected/default location and reuses it for future org placements.
|
|
194
|
+
* When empty, lore falls back to per-repl hashing on repl_id.
|
|
195
|
+
*
|
|
196
|
+
* @generated from protobuf field: string org_id = 10
|
|
197
|
+
*/
|
|
198
|
+
orgId: string;
|
|
162
199
|
}
|
|
163
200
|
/**
|
|
164
201
|
* @generated from protobuf message replit.goval.api.lore.CreateReplRequest.Repl
|
|
@@ -232,12 +269,68 @@ export interface CreateReplRequest_SourceRepl {
|
|
|
232
269
|
* @generated from protobuf field: replit.goval.api.lore.CreateReplRequest.Buckets buckets = 3
|
|
233
270
|
*/
|
|
234
271
|
buckets?: CreateReplRequest_Buckets;
|
|
272
|
+
/**
|
|
273
|
+
* When set, create from a live source checkpoint instead of source HEAD.
|
|
274
|
+
* Lore stages workspace + helium; gitsafe starts empty. Empty preserves the
|
|
275
|
+
* existing HEAD fork behavior.
|
|
276
|
+
*
|
|
277
|
+
* @generated from protobuf field: string checkpoint_id = 4
|
|
278
|
+
*/
|
|
279
|
+
checkpointId: string;
|
|
235
280
|
}
|
|
236
281
|
/**
|
|
237
282
|
* @generated from protobuf message replit.goval.api.lore.CreateReplResponse
|
|
238
283
|
*/
|
|
239
284
|
export interface CreateReplResponse {
|
|
240
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* @generated from protobuf message replit.goval.api.lore.CreateResourceGroupRequest
|
|
288
|
+
*/
|
|
289
|
+
export interface CreateResourceGroupRequest {
|
|
290
|
+
/**
|
|
291
|
+
* The resource group ID to register.
|
|
292
|
+
*
|
|
293
|
+
* @generated from protobuf field: string resource_group_id = 1
|
|
294
|
+
*/
|
|
295
|
+
resourceGroupId: string;
|
|
296
|
+
/**
|
|
297
|
+
* Placement input used to choose the destination cluster.
|
|
298
|
+
*
|
|
299
|
+
* @generated from protobuf field: replit.goval.api.lore.ReplLocation repl_location = 2
|
|
300
|
+
*/
|
|
301
|
+
replLocation?: ReplLocation;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* @generated from protobuf message replit.goval.api.lore.CreateResourceGroupResponse
|
|
305
|
+
*/
|
|
306
|
+
export interface CreateResourceGroupResponse {
|
|
307
|
+
/**
|
|
308
|
+
* The cluster whose Jetplane created the resource group.
|
|
309
|
+
*
|
|
310
|
+
* @generated from protobuf field: replit.goval.api.lore.Cluster cluster = 1
|
|
311
|
+
*/
|
|
312
|
+
cluster?: Cluster;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @generated from protobuf message replit.goval.api.lore.CreateAgentRequest
|
|
316
|
+
*/
|
|
317
|
+
export interface CreateAgentRequest {
|
|
318
|
+
/**
|
|
319
|
+
* Request forwarded to Chateau. resource_group_id is used to find the cell.
|
|
320
|
+
*
|
|
321
|
+
* @generated from protobuf field: chateau.resources.v1.CreateAgentRequest request = 1
|
|
322
|
+
*/
|
|
323
|
+
request?: CreateAgentRequest$;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* @generated from protobuf message replit.goval.api.lore.CreateAgentResponse
|
|
327
|
+
*/
|
|
328
|
+
export interface CreateAgentResponse {
|
|
329
|
+
/**
|
|
330
|
+
* @generated from protobuf field: chateau.resources.v1.Agent agent = 1
|
|
331
|
+
*/
|
|
332
|
+
agent?: Agent;
|
|
333
|
+
}
|
|
241
334
|
/**
|
|
242
335
|
* @generated from protobuf message replit.goval.api.lore.GetReplRequest
|
|
243
336
|
*/
|
|
@@ -246,6 +339,31 @@ export interface GetReplRequest {
|
|
|
246
339
|
* @generated from protobuf field: string repl_id = 1
|
|
247
340
|
*/
|
|
248
341
|
replId: string;
|
|
342
|
+
/**
|
|
343
|
+
* Whether to ask Jetplane for the repl's current running status.
|
|
344
|
+
* When false, GetRepl returns RUNNING_STATUS_UNKNOWN. If no
|
|
345
|
+
* Jetplane-backed fields are requested, GetRepl skips the Jetplane call.
|
|
346
|
+
*
|
|
347
|
+
* @generated from protobuf field: bool include_running_status = 2
|
|
348
|
+
*/
|
|
349
|
+
includeRunningStatus: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Whether to ask Jetplane for the repl's current tombstone status.
|
|
352
|
+
* When false, GetRepl returns TOMBSTONE_STATUS_UNKNOWN. If no
|
|
353
|
+
* Jetplane-backed fields are requested, GetRepl skips the Jetplane call.
|
|
354
|
+
*
|
|
355
|
+
* @generated from protobuf field: bool include_tombstone_status = 3
|
|
356
|
+
*/
|
|
357
|
+
includeTombstoneStatus: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* Whether to also return soft-deleted (taken-down) repls. When false, a
|
|
360
|
+
* soft-deleted repl reports NOT_FOUND. When true, GetRepl returns the repl
|
|
361
|
+
* with deleted=true so callers can distinguish "exists but taken down" from
|
|
362
|
+
* "never existed".
|
|
363
|
+
*
|
|
364
|
+
* @generated from protobuf field: bool include_deleted = 4
|
|
365
|
+
*/
|
|
366
|
+
includeDeleted: boolean;
|
|
249
367
|
}
|
|
250
368
|
/**
|
|
251
369
|
* @generated from protobuf message replit.goval.api.lore.GetReplResponse
|
|
@@ -268,6 +386,70 @@ export interface GetReplResponse {
|
|
|
268
386
|
* @generated from protobuf field: string dotdev_hostname = 4 [deprecated = true]
|
|
269
387
|
*/
|
|
270
388
|
dotdevHostname: string;
|
|
389
|
+
/**
|
|
390
|
+
* The repl's current running status from Jetplane. This is only populated
|
|
391
|
+
* when GetReplRequest.include_running_status is true; otherwise it is
|
|
392
|
+
* RUNNING_STATUS_UNKNOWN.
|
|
393
|
+
*
|
|
394
|
+
* @generated from protobuf field: replit.goval.api.lore.GetReplResponse.RunningStatus running_status = 5
|
|
395
|
+
*/
|
|
396
|
+
runningStatus: GetReplResponse_RunningStatus;
|
|
397
|
+
/**
|
|
398
|
+
* The repl's current tombstone status from Jetplane. This is only populated
|
|
399
|
+
* when GetReplRequest.include_tombstone_status is true; otherwise it is
|
|
400
|
+
* TOMBSTONE_STATUS_UNKNOWN.
|
|
401
|
+
*
|
|
402
|
+
* @generated from protobuf field: replit.goval.api.lore.GetReplResponse.TombstoneStatus tombstone_status = 6
|
|
403
|
+
*/
|
|
404
|
+
tombstoneStatus: GetReplResponse_TombstoneStatus;
|
|
405
|
+
/**
|
|
406
|
+
* Human-readable tombstone reason when tombstone_status is TOMBSTONED.
|
|
407
|
+
*
|
|
408
|
+
* @generated from protobuf field: string tombstone_reason = 7
|
|
409
|
+
*/
|
|
410
|
+
tombstoneReason: string;
|
|
411
|
+
/**
|
|
412
|
+
* Whether the repl is soft-deleted (taken down) in lore's database. Only ever
|
|
413
|
+
* true when GetReplRequest.include_deleted is set; otherwise a soft-deleted
|
|
414
|
+
* repl reports NOT_FOUND and this is false.
|
|
415
|
+
*
|
|
416
|
+
* @generated from protobuf field: bool deleted = 8
|
|
417
|
+
*/
|
|
418
|
+
deleted: boolean;
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* @generated from protobuf enum replit.goval.api.lore.GetReplResponse.RunningStatus
|
|
422
|
+
*/
|
|
423
|
+
export declare enum GetReplResponse_RunningStatus {
|
|
424
|
+
/**
|
|
425
|
+
* @generated from protobuf enum value: RUNNING_STATUS_UNKNOWN = 0;
|
|
426
|
+
*/
|
|
427
|
+
UNKNOWN = 0,
|
|
428
|
+
/**
|
|
429
|
+
* @generated from protobuf enum value: RUNNING_STATUS_RUNNING = 1;
|
|
430
|
+
*/
|
|
431
|
+
RUNNING = 1,
|
|
432
|
+
/**
|
|
433
|
+
* @generated from protobuf enum value: RUNNING_STATUS_NOT_RUNNING = 2;
|
|
434
|
+
*/
|
|
435
|
+
NOT_RUNNING = 2
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* @generated from protobuf enum replit.goval.api.lore.GetReplResponse.TombstoneStatus
|
|
439
|
+
*/
|
|
440
|
+
export declare enum GetReplResponse_TombstoneStatus {
|
|
441
|
+
/**
|
|
442
|
+
* @generated from protobuf enum value: TOMBSTONE_STATUS_UNKNOWN = 0;
|
|
443
|
+
*/
|
|
444
|
+
UNKNOWN = 0,
|
|
445
|
+
/**
|
|
446
|
+
* @generated from protobuf enum value: TOMBSTONE_STATUS_TOMBSTONED = 1;
|
|
447
|
+
*/
|
|
448
|
+
TOMBSTONED = 1,
|
|
449
|
+
/**
|
|
450
|
+
* @generated from protobuf enum value: TOMBSTONE_STATUS_NOT_TOMBSTONED = 2;
|
|
451
|
+
*/
|
|
452
|
+
NOT_TOMBSTONED = 2
|
|
271
453
|
}
|
|
272
454
|
/**
|
|
273
455
|
* ReplLocation is either a cluster or a continent
|
|
@@ -305,6 +487,12 @@ export interface ReplLocation {
|
|
|
305
487
|
* @generated from protobuf field: bool regional_goval = 3 [deprecated = true]
|
|
306
488
|
*/
|
|
307
489
|
regionalGoval: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* OrgId is currently honored by CreateResourceGroup placement.
|
|
492
|
+
*
|
|
493
|
+
* @generated from protobuf field: string org_id = 4
|
|
494
|
+
*/
|
|
495
|
+
orgId: string;
|
|
308
496
|
}
|
|
309
497
|
/**
|
|
310
498
|
* @generated from protobuf message replit.goval.api.lore.GetReplConnectionInfoRequest
|
|
@@ -383,6 +571,15 @@ export interface GetReplConnectionInfoRequest {
|
|
|
383
571
|
* @generated from protobuf field: string org_slug = 11
|
|
384
572
|
*/
|
|
385
573
|
orgSlug: string;
|
|
574
|
+
/**
|
|
575
|
+
* OrgId, when non-empty, makes cold-create use the org's persisted home
|
|
576
|
+
* cluster. If the org has no home cluster yet, lore assigns one from the
|
|
577
|
+
* selected/default location. Ignored for existing repls (those are pinned by
|
|
578
|
+
* repls.cluster_id).
|
|
579
|
+
*
|
|
580
|
+
* @generated from protobuf field: string org_id = 12
|
|
581
|
+
*/
|
|
582
|
+
orgId: string;
|
|
386
583
|
}
|
|
387
584
|
/**
|
|
388
585
|
* @generated from protobuf message replit.goval.api.lore.GetReplConnectionInfoResponse
|
|
@@ -596,6 +793,49 @@ export interface GetClustersResponse {
|
|
|
596
793
|
*/
|
|
597
794
|
clusters: Cluster[];
|
|
598
795
|
}
|
|
796
|
+
/**
|
|
797
|
+
* @generated from protobuf message replit.goval.api.lore.GetOrgHomeCellRequest
|
|
798
|
+
*/
|
|
799
|
+
export interface GetOrgHomeCellRequest {
|
|
800
|
+
/**
|
|
801
|
+
* @generated from protobuf field: string org_id = 1
|
|
802
|
+
*/
|
|
803
|
+
orgId: string;
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* @generated from protobuf message replit.goval.api.lore.GetOrgHomeCellResponse
|
|
807
|
+
*/
|
|
808
|
+
export interface GetOrgHomeCellResponse {
|
|
809
|
+
/**
|
|
810
|
+
* @generated from protobuf field: replit.goval.api.lore.Cluster cluster = 1
|
|
811
|
+
*/
|
|
812
|
+
cluster?: Cluster;
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* @generated from protobuf message replit.goval.api.lore.SetOrgHomeCellRequest
|
|
816
|
+
*/
|
|
817
|
+
export interface SetOrgHomeCellRequest {
|
|
818
|
+
/**
|
|
819
|
+
* @generated from protobuf field: string org_id = 1
|
|
820
|
+
*/
|
|
821
|
+
orgId: string;
|
|
822
|
+
/**
|
|
823
|
+
* ReplLocation picks the cluster directly or via consistent-hash within
|
|
824
|
+
* a continent. Same shape as CreateRepl / GetReplConnectionInfo.
|
|
825
|
+
*
|
|
826
|
+
* @generated from protobuf field: replit.goval.api.lore.ReplLocation repl_location = 2
|
|
827
|
+
*/
|
|
828
|
+
replLocation?: ReplLocation;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* @generated from protobuf message replit.goval.api.lore.SetOrgHomeCellResponse
|
|
832
|
+
*/
|
|
833
|
+
export interface SetOrgHomeCellResponse {
|
|
834
|
+
/**
|
|
835
|
+
* @generated from protobuf field: replit.goval.api.lore.Cluster cluster = 1
|
|
836
|
+
*/
|
|
837
|
+
cluster?: Cluster;
|
|
838
|
+
}
|
|
599
839
|
/**
|
|
600
840
|
* @generated from protobuf message replit.goval.api.lore.ExportReplRequest
|
|
601
841
|
*/
|
|
@@ -686,6 +926,14 @@ export interface ImportReplRequest {
|
|
|
686
926
|
* @generated from protobuf field: replit.goval.api.lore.ReplExport export = 5
|
|
687
927
|
*/
|
|
688
928
|
export?: ReplExport;
|
|
929
|
+
/**
|
|
930
|
+
* OrgId, when non-empty, imports this repl into the org's persisted home
|
|
931
|
+
* cluster. If the org has no home cluster yet, lore assigns one from the
|
|
932
|
+
* selected/default location. See CreateReplRequest.
|
|
933
|
+
*
|
|
934
|
+
* @generated from protobuf field: string org_id = 6
|
|
935
|
+
*/
|
|
936
|
+
orgId: string;
|
|
689
937
|
}
|
|
690
938
|
/**
|
|
691
939
|
* @generated from protobuf message replit.goval.api.lore.ImportReplResponse
|
|
@@ -794,6 +1042,46 @@ declare class CreateReplResponse$Type extends MessageType<CreateReplResponse> {
|
|
|
794
1042
|
* @generated MessageType for protobuf message replit.goval.api.lore.CreateReplResponse
|
|
795
1043
|
*/
|
|
796
1044
|
export declare const CreateReplResponse: CreateReplResponse$Type;
|
|
1045
|
+
declare class CreateResourceGroupRequest$Type extends MessageType<CreateResourceGroupRequest> {
|
|
1046
|
+
constructor();
|
|
1047
|
+
create(value?: PartialMessage<CreateResourceGroupRequest>): CreateResourceGroupRequest;
|
|
1048
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateResourceGroupRequest): CreateResourceGroupRequest;
|
|
1049
|
+
internalBinaryWrite(message: CreateResourceGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateResourceGroupRequest
|
|
1053
|
+
*/
|
|
1054
|
+
export declare const CreateResourceGroupRequest: CreateResourceGroupRequest$Type;
|
|
1055
|
+
declare class CreateResourceGroupResponse$Type extends MessageType<CreateResourceGroupResponse> {
|
|
1056
|
+
constructor();
|
|
1057
|
+
create(value?: PartialMessage<CreateResourceGroupResponse>): CreateResourceGroupResponse;
|
|
1058
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateResourceGroupResponse): CreateResourceGroupResponse;
|
|
1059
|
+
internalBinaryWrite(message: CreateResourceGroupResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateResourceGroupResponse
|
|
1063
|
+
*/
|
|
1064
|
+
export declare const CreateResourceGroupResponse: CreateResourceGroupResponse$Type;
|
|
1065
|
+
declare class CreateAgentRequest$Type extends MessageType<CreateAgentRequest> {
|
|
1066
|
+
constructor();
|
|
1067
|
+
create(value?: PartialMessage<CreateAgentRequest>): CreateAgentRequest;
|
|
1068
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateAgentRequest): CreateAgentRequest;
|
|
1069
|
+
internalBinaryWrite(message: CreateAgentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateAgentRequest
|
|
1073
|
+
*/
|
|
1074
|
+
export declare const CreateAgentRequest: CreateAgentRequest$Type;
|
|
1075
|
+
declare class CreateAgentResponse$Type extends MessageType<CreateAgentResponse> {
|
|
1076
|
+
constructor();
|
|
1077
|
+
create(value?: PartialMessage<CreateAgentResponse>): CreateAgentResponse;
|
|
1078
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateAgentResponse): CreateAgentResponse;
|
|
1079
|
+
internalBinaryWrite(message: CreateAgentResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.CreateAgentResponse
|
|
1083
|
+
*/
|
|
1084
|
+
export declare const CreateAgentResponse: CreateAgentResponse$Type;
|
|
797
1085
|
declare class GetReplRequest$Type extends MessageType<GetReplRequest> {
|
|
798
1086
|
constructor();
|
|
799
1087
|
create(value?: PartialMessage<GetReplRequest>): GetReplRequest;
|
|
@@ -1054,6 +1342,46 @@ declare class GetClustersResponse$Type extends MessageType<GetClustersResponse>
|
|
|
1054
1342
|
* @generated MessageType for protobuf message replit.goval.api.lore.GetClustersResponse
|
|
1055
1343
|
*/
|
|
1056
1344
|
export declare const GetClustersResponse: GetClustersResponse$Type;
|
|
1345
|
+
declare class GetOrgHomeCellRequest$Type extends MessageType<GetOrgHomeCellRequest> {
|
|
1346
|
+
constructor();
|
|
1347
|
+
create(value?: PartialMessage<GetOrgHomeCellRequest>): GetOrgHomeCellRequest;
|
|
1348
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOrgHomeCellRequest): GetOrgHomeCellRequest;
|
|
1349
|
+
internalBinaryWrite(message: GetOrgHomeCellRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1350
|
+
}
|
|
1351
|
+
/**
|
|
1352
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetOrgHomeCellRequest
|
|
1353
|
+
*/
|
|
1354
|
+
export declare const GetOrgHomeCellRequest: GetOrgHomeCellRequest$Type;
|
|
1355
|
+
declare class GetOrgHomeCellResponse$Type extends MessageType<GetOrgHomeCellResponse> {
|
|
1356
|
+
constructor();
|
|
1357
|
+
create(value?: PartialMessage<GetOrgHomeCellResponse>): GetOrgHomeCellResponse;
|
|
1358
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOrgHomeCellResponse): GetOrgHomeCellResponse;
|
|
1359
|
+
internalBinaryWrite(message: GetOrgHomeCellResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.GetOrgHomeCellResponse
|
|
1363
|
+
*/
|
|
1364
|
+
export declare const GetOrgHomeCellResponse: GetOrgHomeCellResponse$Type;
|
|
1365
|
+
declare class SetOrgHomeCellRequest$Type extends MessageType<SetOrgHomeCellRequest> {
|
|
1366
|
+
constructor();
|
|
1367
|
+
create(value?: PartialMessage<SetOrgHomeCellRequest>): SetOrgHomeCellRequest;
|
|
1368
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetOrgHomeCellRequest): SetOrgHomeCellRequest;
|
|
1369
|
+
internalBinaryWrite(message: SetOrgHomeCellRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1370
|
+
}
|
|
1371
|
+
/**
|
|
1372
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.SetOrgHomeCellRequest
|
|
1373
|
+
*/
|
|
1374
|
+
export declare const SetOrgHomeCellRequest: SetOrgHomeCellRequest$Type;
|
|
1375
|
+
declare class SetOrgHomeCellResponse$Type extends MessageType<SetOrgHomeCellResponse> {
|
|
1376
|
+
constructor();
|
|
1377
|
+
create(value?: PartialMessage<SetOrgHomeCellResponse>): SetOrgHomeCellResponse;
|
|
1378
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetOrgHomeCellResponse): SetOrgHomeCellResponse;
|
|
1379
|
+
internalBinaryWrite(message: SetOrgHomeCellResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.SetOrgHomeCellResponse
|
|
1383
|
+
*/
|
|
1384
|
+
export declare const SetOrgHomeCellResponse: SetOrgHomeCellResponse$Type;
|
|
1057
1385
|
declare class ExportReplRequest$Type extends MessageType<ExportReplRequest> {
|
|
1058
1386
|
constructor();
|
|
1059
1387
|
create(value?: PartialMessage<ExportReplRequest>): ExportReplRequest;
|