@replit/protocol 0.4.32 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/jetplane/repl/repl.client.d.ts +122 -0
- package/dist/api/jetplane/repl/repl.client.js +83 -10
- package/dist/api/jetplane/repl/repl.d.ts +393 -0
- package/dist/api/jetplane/repl/repl.js +927 -54
- package/dist/api/lore/service.client.d.ts +38 -0
- package/dist/api/lore/service.client.js +54 -31
- package/dist/api/lore/service.d.ts +173 -31
- package/dist/api/lore/service.js +325 -42
- package/dist/api/lore/transfer/org_transfer.client.d.ts +111 -0
- package/dist/api/lore/transfer/org_transfer.client.js +87 -11
- package/dist/api/lore/transfer/org_transfer.d.ts +207 -1
- package/dist/api/lore/transfer/org_transfer.js +417 -0
- package/dist/api/lore/transfer/transfer.client.d.ts +475 -0
- package/dist/api/lore/transfer/transfer.client.js +291 -0
- package/dist/api/lore/transfer/transfer.d.ts +1016 -0
- package/dist/api/lore/transfer/transfer.js +1952 -0
- package/dist/api/repl/repl.d.ts +23 -0
- package/dist/api/repl/repl.js +26 -3
- package/dist/api/token/token.d.ts +6 -6
- package/dist/api/token/token.js +2 -2
- package/dist/google/protobuf/any.d.ts +108 -52
- package/dist/google/protobuf/field_mask.d.ts +18 -16
- package/dist/google/protobuf/struct.d.ts +22 -33
- package/dist/google/protobuf/struct.js +3 -8
- package/dist/google/protobuf/timestamp.d.ts +8 -9
- package/iotester/index.d.ts +10654 -3475
- package/iotester/index.js +26361 -9120
- package/main/index.d.ts +10654 -3475
- package/main/index.js +26361 -9120
- package/package.json +1 -1
|
@@ -42,6 +42,8 @@ import type { GetReplConnectionInfoResponse } from "./service.js";
|
|
|
42
42
|
import type { GetReplConnectionInfoRequest } from "./service.js";
|
|
43
43
|
import type { BatchGetCellByResourceGroupResponse } from "./service.js";
|
|
44
44
|
import type { BatchGetCellByResourceGroupRequest } from "./service.js";
|
|
45
|
+
import type { RestoreResourceGroupPlacementResponse } from "./service.js";
|
|
46
|
+
import type { RestoreResourceGroupPlacementRequest } from "./service.js";
|
|
45
47
|
import type { GetClusterByResourceGroupResponse } from "./service.js";
|
|
46
48
|
import type { GetClusterByResourceGroupRequest } from "./service.js";
|
|
47
49
|
import type { GetCheckpointPreviewCapabilityResponse } from "./service.js";
|
|
@@ -62,6 +64,8 @@ import type { CreateResourceGroupResponse } from "./service.js";
|
|
|
62
64
|
import type { CreateResourceGroupRequest } from "./service.js";
|
|
63
65
|
import type { GetSandboxConnectionInfoResponse } from "./service.js";
|
|
64
66
|
import type { GetSandboxConnectionInfoRequest } from "./service.js";
|
|
67
|
+
import type { PatchSandboxResponse } from "./service.js";
|
|
68
|
+
import type { PatchSandboxRequest } from "./service.js";
|
|
65
69
|
import type { UpdateSandboxResponse } from "./service.js";
|
|
66
70
|
import type { UpdateSandboxRequest } from "./service.js";
|
|
67
71
|
import type { CreateSandboxResponse } from "./service.js";
|
|
@@ -90,6 +94,16 @@ export interface ILoreClient {
|
|
|
90
94
|
* @generated from protobuf rpc: UpdateSandbox
|
|
91
95
|
*/
|
|
92
96
|
updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* PatchSandbox routes a masked partial update (currently just
|
|
99
|
+
* use_repl_shield) to the Jetplane cell placed for the sandbox's
|
|
100
|
+
* resource group, falling back to repl placement for workspace repls.
|
|
101
|
+
* The patch updates the running repl in place and never restarts or
|
|
102
|
+
* re-places it.
|
|
103
|
+
*
|
|
104
|
+
* @generated from protobuf rpc: PatchSandbox
|
|
105
|
+
*/
|
|
106
|
+
patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
|
|
93
107
|
/**
|
|
94
108
|
* GetSandboxConnectionInfo resolves the cell from resource-group placement
|
|
95
109
|
* and reads the Jetplane-authoritative sandbox metadata.
|
|
@@ -154,6 +168,13 @@ export interface ILoreClient {
|
|
|
154
168
|
* @generated from protobuf rpc: GetClusterByResourceGroup
|
|
155
169
|
*/
|
|
156
170
|
getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
|
|
171
|
+
/**
|
|
172
|
+
* RestoreResourceGroupPlacement repairs Lore after a resource group has
|
|
173
|
+
* already been restored in a different Jetplane cell.
|
|
174
|
+
*
|
|
175
|
+
* @generated from protobuf rpc: RestoreResourceGroupPlacement
|
|
176
|
+
*/
|
|
177
|
+
restoreResourceGroupPlacement(input: RestoreResourceGroupPlacementRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupPlacementRequest, RestoreResourceGroupPlacementResponse>;
|
|
157
178
|
/**
|
|
158
179
|
* BatchGetCellByResourceGroup resolves resource groups independently.
|
|
159
180
|
*
|
|
@@ -349,6 +370,16 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
349
370
|
* @generated from protobuf rpc: UpdateSandbox
|
|
350
371
|
*/
|
|
351
372
|
updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
|
|
373
|
+
/**
|
|
374
|
+
* PatchSandbox routes a masked partial update (currently just
|
|
375
|
+
* use_repl_shield) to the Jetplane cell placed for the sandbox's
|
|
376
|
+
* resource group, falling back to repl placement for workspace repls.
|
|
377
|
+
* The patch updates the running repl in place and never restarts or
|
|
378
|
+
* re-places it.
|
|
379
|
+
*
|
|
380
|
+
* @generated from protobuf rpc: PatchSandbox
|
|
381
|
+
*/
|
|
382
|
+
patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
|
|
352
383
|
/**
|
|
353
384
|
* GetSandboxConnectionInfo resolves the cell from resource-group placement
|
|
354
385
|
* and reads the Jetplane-authoritative sandbox metadata.
|
|
@@ -413,6 +444,13 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
413
444
|
* @generated from protobuf rpc: GetClusterByResourceGroup
|
|
414
445
|
*/
|
|
415
446
|
getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
|
|
447
|
+
/**
|
|
448
|
+
* RestoreResourceGroupPlacement repairs Lore after a resource group has
|
|
449
|
+
* already been restored in a different Jetplane cell.
|
|
450
|
+
*
|
|
451
|
+
* @generated from protobuf rpc: RestoreResourceGroupPlacement
|
|
452
|
+
*/
|
|
453
|
+
restoreResourceGroupPlacement(input: RestoreResourceGroupPlacementRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupPlacementRequest, RestoreResourceGroupPlacementResponse>;
|
|
416
454
|
/**
|
|
417
455
|
* BatchGetCellByResourceGroup resolves resource groups independently.
|
|
418
456
|
*
|
|
@@ -34,6 +34,19 @@ export class LoreClient {
|
|
|
34
34
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
35
35
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* PatchSandbox routes a masked partial update (currently just
|
|
39
|
+
* use_repl_shield) to the Jetplane cell placed for the sandbox's
|
|
40
|
+
* resource group, falling back to repl placement for workspace repls.
|
|
41
|
+
* The patch updates the running repl in place and never restarts or
|
|
42
|
+
* re-places it.
|
|
43
|
+
*
|
|
44
|
+
* @generated from protobuf rpc: PatchSandbox
|
|
45
|
+
*/
|
|
46
|
+
patchSandbox(input, options) {
|
|
47
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
48
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
49
|
+
}
|
|
37
50
|
/**
|
|
38
51
|
* GetSandboxConnectionInfo resolves the cell from resource-group placement
|
|
39
52
|
* and reads the Jetplane-authoritative sandbox metadata.
|
|
@@ -41,7 +54,7 @@ export class LoreClient {
|
|
|
41
54
|
* @generated from protobuf rpc: GetSandboxConnectionInfo
|
|
42
55
|
*/
|
|
43
56
|
getSandboxConnectionInfo(input, options) {
|
|
44
|
-
const method = this.methods[
|
|
57
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
45
58
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
46
59
|
}
|
|
47
60
|
/**
|
|
@@ -50,7 +63,7 @@ export class LoreClient {
|
|
|
50
63
|
* @generated from protobuf rpc: CreateResourceGroup
|
|
51
64
|
*/
|
|
52
65
|
createResourceGroup(input, options) {
|
|
53
|
-
const method = this.methods[
|
|
66
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
54
67
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
55
68
|
}
|
|
56
69
|
/**
|
|
@@ -59,7 +72,7 @@ export class LoreClient {
|
|
|
59
72
|
* @generated from protobuf rpc: DeleteResourceGroup
|
|
60
73
|
*/
|
|
61
74
|
deleteResourceGroup(input, options) {
|
|
62
|
-
const method = this.methods[
|
|
75
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
63
76
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
64
77
|
}
|
|
65
78
|
/**
|
|
@@ -68,7 +81,7 @@ export class LoreClient {
|
|
|
68
81
|
* @generated from protobuf rpc: CreateAgent
|
|
69
82
|
*/
|
|
70
83
|
createAgent(input, options) {
|
|
71
|
-
const method = this.methods[
|
|
84
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
72
85
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
73
86
|
}
|
|
74
87
|
/**
|
|
@@ -78,7 +91,7 @@ export class LoreClient {
|
|
|
78
91
|
* @generated from protobuf rpc: CreateRepl
|
|
79
92
|
*/
|
|
80
93
|
createRepl(input, options) {
|
|
81
|
-
const method = this.methods[
|
|
94
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
82
95
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
83
96
|
}
|
|
84
97
|
/**
|
|
@@ -87,7 +100,7 @@ export class LoreClient {
|
|
|
87
100
|
* @generated from protobuf rpc: GetRepl
|
|
88
101
|
*/
|
|
89
102
|
getRepl(input, options) {
|
|
90
|
-
const method = this.methods[
|
|
103
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
91
104
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
92
105
|
}
|
|
93
106
|
/**
|
|
@@ -96,7 +109,7 @@ export class LoreClient {
|
|
|
96
109
|
* @generated from protobuf rpc: GetCellByRepl
|
|
97
110
|
*/
|
|
98
111
|
getCellByRepl(input, options) {
|
|
99
|
-
const method = this.methods[
|
|
112
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
100
113
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
101
114
|
}
|
|
102
115
|
/**
|
|
@@ -105,7 +118,7 @@ export class LoreClient {
|
|
|
105
118
|
* @generated from protobuf rpc: BatchGetCellByRepl
|
|
106
119
|
*/
|
|
107
120
|
batchGetCellByRepl(input, options) {
|
|
108
|
-
const method = this.methods[
|
|
121
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
109
122
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
110
123
|
}
|
|
111
124
|
/**
|
|
@@ -115,7 +128,7 @@ export class LoreClient {
|
|
|
115
128
|
* @generated from protobuf rpc: GetCheckpointPreviewCapability
|
|
116
129
|
*/
|
|
117
130
|
getCheckpointPreviewCapability(input, options) {
|
|
118
|
-
const method = this.methods[
|
|
131
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
119
132
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
120
133
|
}
|
|
121
134
|
/**
|
|
@@ -125,7 +138,17 @@ export class LoreClient {
|
|
|
125
138
|
* @generated from protobuf rpc: GetClusterByResourceGroup
|
|
126
139
|
*/
|
|
127
140
|
getClusterByResourceGroup(input, options) {
|
|
128
|
-
const method = this.methods[
|
|
141
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
142
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* RestoreResourceGroupPlacement repairs Lore after a resource group has
|
|
146
|
+
* already been restored in a different Jetplane cell.
|
|
147
|
+
*
|
|
148
|
+
* @generated from protobuf rpc: RestoreResourceGroupPlacement
|
|
149
|
+
*/
|
|
150
|
+
restoreResourceGroupPlacement(input, options) {
|
|
151
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
129
152
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
130
153
|
}
|
|
131
154
|
/**
|
|
@@ -134,7 +157,7 @@ export class LoreClient {
|
|
|
134
157
|
* @generated from protobuf rpc: BatchGetCellByResourceGroup
|
|
135
158
|
*/
|
|
136
159
|
batchGetCellByResourceGroup(input, options) {
|
|
137
|
-
const method = this.methods[
|
|
160
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
138
161
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
139
162
|
}
|
|
140
163
|
/**
|
|
@@ -147,7 +170,7 @@ export class LoreClient {
|
|
|
147
170
|
* @generated from protobuf rpc: GetReplConnectionInfo
|
|
148
171
|
*/
|
|
149
172
|
getReplConnectionInfo(input, options) {
|
|
150
|
-
const method = this.methods[
|
|
173
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
151
174
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
152
175
|
}
|
|
153
176
|
/**
|
|
@@ -156,7 +179,7 @@ export class LoreClient {
|
|
|
156
179
|
* @generated from protobuf rpc: GetTransferStatus
|
|
157
180
|
*/
|
|
158
181
|
getTransferStatus(input, options) {
|
|
159
|
-
const method = this.methods[
|
|
182
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
160
183
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
161
184
|
}
|
|
162
185
|
/**
|
|
@@ -173,7 +196,7 @@ export class LoreClient {
|
|
|
173
196
|
* @generated from protobuf rpc: TransferResourceGroup
|
|
174
197
|
*/
|
|
175
198
|
transferResourceGroup(input, options) {
|
|
176
|
-
const method = this.methods[
|
|
199
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
177
200
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
178
201
|
}
|
|
179
202
|
/**
|
|
@@ -183,7 +206,7 @@ export class LoreClient {
|
|
|
183
206
|
* @generated from protobuf rpc: TransferRepls
|
|
184
207
|
*/
|
|
185
208
|
transferRepls(input, options) {
|
|
186
|
-
const method = this.methods[
|
|
209
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
187
210
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
188
211
|
}
|
|
189
212
|
/**
|
|
@@ -194,7 +217,7 @@ export class LoreClient {
|
|
|
194
217
|
* @generated from protobuf rpc: TransferUser
|
|
195
218
|
*/
|
|
196
219
|
transferUser(input, options) {
|
|
197
|
-
const method = this.methods[
|
|
220
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
198
221
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
199
222
|
}
|
|
200
223
|
/**
|
|
@@ -206,7 +229,7 @@ export class LoreClient {
|
|
|
206
229
|
* @generated from protobuf rpc: TakedownRepl
|
|
207
230
|
*/
|
|
208
231
|
takedownRepl(input, options) {
|
|
209
|
-
const method = this.methods[
|
|
232
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
210
233
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
211
234
|
}
|
|
212
235
|
/**
|
|
@@ -216,7 +239,7 @@ export class LoreClient {
|
|
|
216
239
|
* @generated from protobuf rpc: SoftTakedownRepl
|
|
217
240
|
*/
|
|
218
241
|
softTakedownRepl(input, options) {
|
|
219
|
-
const method = this.methods[
|
|
242
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
220
243
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
221
244
|
}
|
|
222
245
|
/**
|
|
@@ -225,7 +248,7 @@ export class LoreClient {
|
|
|
225
248
|
* @generated from protobuf rpc: RestoreRepl
|
|
226
249
|
*/
|
|
227
250
|
restoreRepl(input, options) {
|
|
228
|
-
const method = this.methods[
|
|
251
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
229
252
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
230
253
|
}
|
|
231
254
|
/**
|
|
@@ -234,7 +257,7 @@ export class LoreClient {
|
|
|
234
257
|
* @generated from protobuf rpc: AddTombstone
|
|
235
258
|
*/
|
|
236
259
|
addTombstone(input, options) {
|
|
237
|
-
const method = this.methods[
|
|
260
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
238
261
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
239
262
|
}
|
|
240
263
|
/**
|
|
@@ -243,7 +266,7 @@ export class LoreClient {
|
|
|
243
266
|
* @generated from protobuf rpc: RemoveTombstone
|
|
244
267
|
*/
|
|
245
268
|
removeTombstone(input, options) {
|
|
246
|
-
const method = this.methods[
|
|
269
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
247
270
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
248
271
|
}
|
|
249
272
|
/**
|
|
@@ -252,7 +275,7 @@ export class LoreClient {
|
|
|
252
275
|
* @generated from protobuf rpc: BulkRemove
|
|
253
276
|
*/
|
|
254
277
|
bulkRemove(input, options) {
|
|
255
|
-
const method = this.methods[
|
|
278
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
256
279
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
257
280
|
}
|
|
258
281
|
/**
|
|
@@ -265,7 +288,7 @@ export class LoreClient {
|
|
|
265
288
|
* @generated from protobuf rpc: DeleteRepl
|
|
266
289
|
*/
|
|
267
290
|
deleteRepl(input, options) {
|
|
268
|
-
const method = this.methods[
|
|
291
|
+
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
269
292
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
270
293
|
}
|
|
271
294
|
/**
|
|
@@ -274,7 +297,7 @@ export class LoreClient {
|
|
|
274
297
|
* @generated from protobuf rpc: GetClusters
|
|
275
298
|
*/
|
|
276
299
|
getClusters(input, options) {
|
|
277
|
-
const method = this.methods[
|
|
300
|
+
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
278
301
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
279
302
|
}
|
|
280
303
|
/**
|
|
@@ -283,7 +306,7 @@ export class LoreClient {
|
|
|
283
306
|
* @generated from protobuf rpc: GetOrgHomeCell
|
|
284
307
|
*/
|
|
285
308
|
getOrgHomeCell(input, options) {
|
|
286
|
-
const method = this.methods[
|
|
309
|
+
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
287
310
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
288
311
|
}
|
|
289
312
|
/**
|
|
@@ -292,7 +315,7 @@ export class LoreClient {
|
|
|
292
315
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
293
316
|
*/
|
|
294
317
|
setOrgHomeCell(input, options) {
|
|
295
|
-
const method = this.methods[
|
|
318
|
+
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
296
319
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
297
320
|
}
|
|
298
321
|
/**
|
|
@@ -301,7 +324,7 @@ export class LoreClient {
|
|
|
301
324
|
* @generated from protobuf rpc: DeleteOrgHomeCell
|
|
302
325
|
*/
|
|
303
326
|
deleteOrgHomeCell(input, options) {
|
|
304
|
-
const method = this.methods[
|
|
327
|
+
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
305
328
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
306
329
|
}
|
|
307
330
|
/**
|
|
@@ -310,7 +333,7 @@ export class LoreClient {
|
|
|
310
333
|
* @generated from protobuf rpc: TransferOrgHomeCell
|
|
311
334
|
*/
|
|
312
335
|
transferOrgHomeCell(input, options) {
|
|
313
|
-
const method = this.methods[
|
|
336
|
+
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
314
337
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
315
338
|
}
|
|
316
339
|
/**
|
|
@@ -324,7 +347,7 @@ export class LoreClient {
|
|
|
324
347
|
* @generated from protobuf rpc: TransferReplFromOfflineCluster
|
|
325
348
|
*/
|
|
326
349
|
transferReplFromOfflineCluster(input, options) {
|
|
327
|
-
const method = this.methods[
|
|
350
|
+
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
328
351
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
329
352
|
}
|
|
330
353
|
/**
|
|
@@ -340,7 +363,7 @@ export class LoreClient {
|
|
|
340
363
|
* @generated from protobuf rpc: ExportRepl
|
|
341
364
|
*/
|
|
342
365
|
exportRepl(input, options) {
|
|
343
|
-
const method = this.methods[
|
|
366
|
+
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
|
344
367
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
345
368
|
}
|
|
346
369
|
/**
|
|
@@ -353,7 +376,7 @@ export class LoreClient {
|
|
|
353
376
|
* @generated from protobuf rpc: ImportRepl
|
|
354
377
|
*/
|
|
355
378
|
importRepl(input, options) {
|
|
356
|
-
const method = this.methods[
|
|
379
|
+
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
|
357
380
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
358
381
|
}
|
|
359
382
|
}
|
|
@@ -10,6 +10,8 @@ import { Duration } from "../../google/protobuf/duration.js";
|
|
|
10
10
|
import { Status } from "../../google/rpc/status.js";
|
|
11
11
|
import { Agent } from "../chateau/resources.js";
|
|
12
12
|
import { CreateAgentRequest as CreateAgentRequest$ } from "../chateau/resources.js";
|
|
13
|
+
import { Timestamp } from "../../google/protobuf/timestamp.js";
|
|
14
|
+
import { FieldMask } from "../../google/protobuf/field_mask.js";
|
|
13
15
|
import { Repl as Repl$ } from "../jetplane/repl/repl.js";
|
|
14
16
|
import { ReplMode } from "../jetplane/repl/repl.js";
|
|
15
17
|
import { SandboxSpec } from "../jetplane/repl/repl.js";
|
|
@@ -189,6 +191,28 @@ export interface Cluster {
|
|
|
189
191
|
* @generated from protobuf field: string openint_server_url = 20
|
|
190
192
|
*/
|
|
191
193
|
openintServerUrl: string;
|
|
194
|
+
/**
|
|
195
|
+
* BffUrl is the URL of the BFF service for this cluster. May be empty for
|
|
196
|
+
* clusters whose BFF deployment is not yet provisioned.
|
|
197
|
+
*
|
|
198
|
+
* @generated from protobuf field: string bff_url = 21
|
|
199
|
+
*/
|
|
200
|
+
bffUrl: string;
|
|
201
|
+
/**
|
|
202
|
+
* TemplRpcTarget is the host:port of templ's in-cluster gRPC service. May
|
|
203
|
+
* be empty for clusters whose templ deployment is not yet provisioned.
|
|
204
|
+
*
|
|
205
|
+
* @generated from protobuf field: string templ_rpc_target = 22
|
|
206
|
+
*/
|
|
207
|
+
templRpcTarget: string;
|
|
208
|
+
/**
|
|
209
|
+
* SlackAdapterRpcTarget is the host:port of Slack Adapter's mTLS gRPC
|
|
210
|
+
* ingress. Empty disables routing; advertise only after the cell's ingress is
|
|
211
|
+
* ready.
|
|
212
|
+
*
|
|
213
|
+
* @generated from protobuf field: string slack_adapter_rpc_target = 23
|
|
214
|
+
*/
|
|
215
|
+
slackAdapterRpcTarget: string;
|
|
192
216
|
}
|
|
193
217
|
/**
|
|
194
218
|
* @generated from protobuf message replit.goval.api.lore.CreateReplRequest
|
|
@@ -581,6 +605,64 @@ export interface UpdateSandboxResponse {
|
|
|
581
605
|
*/
|
|
582
606
|
sandbox?: Repl$;
|
|
583
607
|
}
|
|
608
|
+
/**
|
|
609
|
+
* PatchSandboxRequest applies only the fields selected by update_mask and
|
|
610
|
+
* leaves everything else untouched, unlike UpdateSandbox's absolute
|
|
611
|
+
* remove-on-unset contract.
|
|
612
|
+
*
|
|
613
|
+
* @generated from protobuf message replit.goval.api.lore.PatchSandboxRequest
|
|
614
|
+
*/
|
|
615
|
+
export interface PatchSandboxRequest {
|
|
616
|
+
/**
|
|
617
|
+
* @generated from protobuf field: replit.goval.api.lore.PatchSandboxRequest.Sandbox sandbox = 1
|
|
618
|
+
*/
|
|
619
|
+
sandbox?: PatchSandboxRequest_Sandbox;
|
|
620
|
+
/**
|
|
621
|
+
* Whether ReplShield (private dev URL) enforcement is enabled. Applied to
|
|
622
|
+
* the live Repl CR so dotdevproxy picks up toggles without waiting for the
|
|
623
|
+
* repl to be recreated; a no-op when the repl is not currently placed.
|
|
624
|
+
*
|
|
625
|
+
* @generated from protobuf field: bool use_repl_shield = 2
|
|
626
|
+
*/
|
|
627
|
+
useReplShield: boolean;
|
|
628
|
+
/**
|
|
629
|
+
* Selects which fields to apply. Must be non-empty; the only path
|
|
630
|
+
* currently supported is "use_repl_shield".
|
|
631
|
+
*
|
|
632
|
+
* @generated from protobuf field: google.protobuf.FieldMask update_mask = 3
|
|
633
|
+
*/
|
|
634
|
+
updateMask?: FieldMask;
|
|
635
|
+
/**
|
|
636
|
+
* Orders concurrent use_repl_shield patches: the cell drops a patch whose
|
|
637
|
+
* toggled_at is not newer than the last one it applied, so a delayed retry
|
|
638
|
+
* can never overwrite a later toggle. Unset applies unconditionally.
|
|
639
|
+
*
|
|
640
|
+
* @generated from protobuf field: google.protobuf.Timestamp toggled_at = 4
|
|
641
|
+
*/
|
|
642
|
+
toggledAt?: Timestamp;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* @generated from protobuf message replit.goval.api.lore.PatchSandboxRequest.Sandbox
|
|
646
|
+
*/
|
|
647
|
+
export interface PatchSandboxRequest_Sandbox {
|
|
648
|
+
/**
|
|
649
|
+
* @generated from protobuf field: string id = 1
|
|
650
|
+
*/
|
|
651
|
+
id: string;
|
|
652
|
+
/**
|
|
653
|
+
* @generated from protobuf field: string resource_group_id = 2
|
|
654
|
+
*/
|
|
655
|
+
resourceGroupId: string;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* @generated from protobuf message replit.goval.api.lore.PatchSandboxResponse
|
|
659
|
+
*/
|
|
660
|
+
export interface PatchSandboxResponse {
|
|
661
|
+
/**
|
|
662
|
+
* @generated from protobuf field: replit.goval.api.jetplane.repl.Repl sandbox = 1
|
|
663
|
+
*/
|
|
664
|
+
sandbox?: Repl$;
|
|
665
|
+
}
|
|
584
666
|
/**
|
|
585
667
|
* @generated from protobuf message replit.goval.api.lore.GetSandboxConnectionInfoRequest
|
|
586
668
|
*/
|
|
@@ -614,6 +696,10 @@ export interface GetSandboxConnectionInfoResponse {
|
|
|
614
696
|
* @generated from protobuf field: replit.goval.api.jetplane.repl.ReplMode mode = 3
|
|
615
697
|
*/
|
|
616
698
|
mode: ReplMode;
|
|
699
|
+
/**
|
|
700
|
+
* @generated from protobuf field: optional string suggested_size = 4
|
|
701
|
+
*/
|
|
702
|
+
suggestedSize?: string;
|
|
617
703
|
}
|
|
618
704
|
/**
|
|
619
705
|
* @generated from protobuf message replit.goval.api.lore.CreateResourceGroupRequest
|
|
@@ -900,6 +986,36 @@ export interface GetClusterByResourceGroupResponse {
|
|
|
900
986
|
*/
|
|
901
987
|
cluster?: Cluster;
|
|
902
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
* @generated from protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementRequest
|
|
991
|
+
*/
|
|
992
|
+
export interface RestoreResourceGroupPlacementRequest {
|
|
993
|
+
/**
|
|
994
|
+
* The existing resource group whose Lore placement is being repaired.
|
|
995
|
+
*
|
|
996
|
+
* @generated from protobuf field: string resource_group_id = 1
|
|
997
|
+
*/
|
|
998
|
+
resourceGroupId: string;
|
|
999
|
+
/**
|
|
1000
|
+
* The cell where Jetplane already holds the resource group.
|
|
1001
|
+
*
|
|
1002
|
+
* @generated from protobuf field: string target_cell_name = 2
|
|
1003
|
+
*/
|
|
1004
|
+
targetCellName: string;
|
|
1005
|
+
}
|
|
1006
|
+
/**
|
|
1007
|
+
* @generated from protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementResponse
|
|
1008
|
+
*/
|
|
1009
|
+
export interface RestoreResourceGroupPlacementResponse {
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from protobuf field: replit.goval.api.lore.Cluster cluster = 1
|
|
1012
|
+
*/
|
|
1013
|
+
cluster?: Cluster;
|
|
1014
|
+
/**
|
|
1015
|
+
* @generated from protobuf field: repeated string repl_ids = 2
|
|
1016
|
+
*/
|
|
1017
|
+
replIds: string[];
|
|
1018
|
+
}
|
|
903
1019
|
/**
|
|
904
1020
|
* @generated from protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupRequest
|
|
905
1021
|
*/
|
|
@@ -1467,12 +1583,6 @@ export interface TransferOrgHomeCellRequest {
|
|
|
1467
1583
|
* @generated from protobuf field: string target_cell_name = 2
|
|
1468
1584
|
*/
|
|
1469
1585
|
targetCellName: string;
|
|
1470
|
-
/**
|
|
1471
|
-
* ForceRetry starts a new transfer after a previous transfer failed.
|
|
1472
|
-
*
|
|
1473
|
-
* @generated from protobuf field: bool force_retry = 3
|
|
1474
|
-
*/
|
|
1475
|
-
forceRetry: boolean;
|
|
1476
1586
|
/**
|
|
1477
1587
|
* Principal the transfer runs on behalf of. Lore forwards it unchanged to
|
|
1478
1588
|
* each per-cell phase so the cell service can authorize the operation.
|
|
@@ -1489,31 +1599,6 @@ export interface TransferOrgHomeCellResponse {
|
|
|
1489
1599
|
* @generated from protobuf field: string transfer_id = 1
|
|
1490
1600
|
*/
|
|
1491
1601
|
transferId: string;
|
|
1492
|
-
/**
|
|
1493
|
-
* @generated from protobuf field: replit.goval.api.lore.TransferOrgHomeCellResponse.Status status = 2
|
|
1494
|
-
*/
|
|
1495
|
-
status: TransferOrgHomeCellResponse_Status;
|
|
1496
|
-
}
|
|
1497
|
-
/**
|
|
1498
|
-
* @generated from protobuf enum replit.goval.api.lore.TransferOrgHomeCellResponse.Status
|
|
1499
|
-
*/
|
|
1500
|
-
export declare enum TransferOrgHomeCellResponse_Status {
|
|
1501
|
-
/**
|
|
1502
|
-
* @generated from protobuf enum value: STATUS_UNSPECIFIED = 0;
|
|
1503
|
-
*/
|
|
1504
|
-
UNSPECIFIED = 0,
|
|
1505
|
-
/**
|
|
1506
|
-
* @generated from protobuf enum value: STATUS_PENDING = 1;
|
|
1507
|
-
*/
|
|
1508
|
-
PENDING = 1,
|
|
1509
|
-
/**
|
|
1510
|
-
* @generated from protobuf enum value: STATUS_COMPLETED = 2;
|
|
1511
|
-
*/
|
|
1512
|
-
COMPLETED = 2,
|
|
1513
|
-
/**
|
|
1514
|
-
* @generated from protobuf enum value: STATUS_FAILED = 3;
|
|
1515
|
-
*/
|
|
1516
|
-
FAILED = 3
|
|
1517
1602
|
}
|
|
1518
1603
|
/**
|
|
1519
1604
|
* @generated from protobuf message replit.goval.api.lore.ExportReplRequest
|
|
@@ -1549,6 +1634,13 @@ export interface MargarineExport {
|
|
|
1549
1634
|
* @generated from protobuf field: repeated replit.goval.api.lore.MargarineBlock blocks = 2
|
|
1550
1635
|
*/
|
|
1551
1636
|
blocks: MargarineBlock[];
|
|
1637
|
+
/**
|
|
1638
|
+
* The logical device size in bytes. A zero value represents a legacy
|
|
1639
|
+
* 256 GiB device.
|
|
1640
|
+
*
|
|
1641
|
+
* @generated from protobuf field: uint64 device_size = 3
|
|
1642
|
+
*/
|
|
1643
|
+
deviceSize: bigint;
|
|
1552
1644
|
}
|
|
1553
1645
|
/**
|
|
1554
1646
|
* @generated from protobuf message replit.goval.api.lore.ReplFile
|
|
@@ -1866,6 +1958,36 @@ declare class UpdateSandboxResponse$Type extends MessageType<UpdateSandboxRespon
|
|
|
1866
1958
|
* @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxResponse
|
|
1867
1959
|
*/
|
|
1868
1960
|
export declare const UpdateSandboxResponse: UpdateSandboxResponse$Type;
|
|
1961
|
+
declare class PatchSandboxRequest$Type extends MessageType<PatchSandboxRequest> {
|
|
1962
|
+
constructor();
|
|
1963
|
+
create(value?: PartialMessage<PatchSandboxRequest>): PatchSandboxRequest;
|
|
1964
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchSandboxRequest): PatchSandboxRequest;
|
|
1965
|
+
internalBinaryWrite(message: PatchSandboxRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.PatchSandboxRequest
|
|
1969
|
+
*/
|
|
1970
|
+
export declare const PatchSandboxRequest: PatchSandboxRequest$Type;
|
|
1971
|
+
declare class PatchSandboxRequest_Sandbox$Type extends MessageType<PatchSandboxRequest_Sandbox> {
|
|
1972
|
+
constructor();
|
|
1973
|
+
create(value?: PartialMessage<PatchSandboxRequest_Sandbox>): PatchSandboxRequest_Sandbox;
|
|
1974
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchSandboxRequest_Sandbox): PatchSandboxRequest_Sandbox;
|
|
1975
|
+
internalBinaryWrite(message: PatchSandboxRequest_Sandbox, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1976
|
+
}
|
|
1977
|
+
/**
|
|
1978
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.PatchSandboxRequest.Sandbox
|
|
1979
|
+
*/
|
|
1980
|
+
export declare const PatchSandboxRequest_Sandbox: PatchSandboxRequest_Sandbox$Type;
|
|
1981
|
+
declare class PatchSandboxResponse$Type extends MessageType<PatchSandboxResponse> {
|
|
1982
|
+
constructor();
|
|
1983
|
+
create(value?: PartialMessage<PatchSandboxResponse>): PatchSandboxResponse;
|
|
1984
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchSandboxResponse): PatchSandboxResponse;
|
|
1985
|
+
internalBinaryWrite(message: PatchSandboxResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.PatchSandboxResponse
|
|
1989
|
+
*/
|
|
1990
|
+
export declare const PatchSandboxResponse: PatchSandboxResponse$Type;
|
|
1869
1991
|
declare class GetSandboxConnectionInfoRequest$Type extends MessageType<GetSandboxConnectionInfoRequest> {
|
|
1870
1992
|
constructor();
|
|
1871
1993
|
create(value?: PartialMessage<GetSandboxConnectionInfoRequest>): GetSandboxConnectionInfoRequest;
|
|
@@ -2036,6 +2158,26 @@ declare class GetClusterByResourceGroupResponse$Type extends MessageType<GetClus
|
|
|
2036
2158
|
* @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
|
|
2037
2159
|
*/
|
|
2038
2160
|
export declare const GetClusterByResourceGroupResponse: GetClusterByResourceGroupResponse$Type;
|
|
2161
|
+
declare class RestoreResourceGroupPlacementRequest$Type extends MessageType<RestoreResourceGroupPlacementRequest> {
|
|
2162
|
+
constructor();
|
|
2163
|
+
create(value?: PartialMessage<RestoreResourceGroupPlacementRequest>): RestoreResourceGroupPlacementRequest;
|
|
2164
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RestoreResourceGroupPlacementRequest): RestoreResourceGroupPlacementRequest;
|
|
2165
|
+
internalBinaryWrite(message: RestoreResourceGroupPlacementRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementRequest
|
|
2169
|
+
*/
|
|
2170
|
+
export declare const RestoreResourceGroupPlacementRequest: RestoreResourceGroupPlacementRequest$Type;
|
|
2171
|
+
declare class RestoreResourceGroupPlacementResponse$Type extends MessageType<RestoreResourceGroupPlacementResponse> {
|
|
2172
|
+
constructor();
|
|
2173
|
+
create(value?: PartialMessage<RestoreResourceGroupPlacementResponse>): RestoreResourceGroupPlacementResponse;
|
|
2174
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RestoreResourceGroupPlacementResponse): RestoreResourceGroupPlacementResponse;
|
|
2175
|
+
internalBinaryWrite(message: RestoreResourceGroupPlacementResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
2176
|
+
}
|
|
2177
|
+
/**
|
|
2178
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementResponse
|
|
2179
|
+
*/
|
|
2180
|
+
export declare const RestoreResourceGroupPlacementResponse: RestoreResourceGroupPlacementResponse$Type;
|
|
2039
2181
|
declare class BatchGetCellByResourceGroupRequest$Type extends MessageType<BatchGetCellByResourceGroupRequest> {
|
|
2040
2182
|
constructor();
|
|
2041
2183
|
create(value?: PartialMessage<BatchGetCellByResourceGroupRequest>): BatchGetCellByResourceGroupRequest;
|