@replit/protocol 0.4.31 → 0.4.32
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 +4 -8
- package/dist/api/jetplane/repl/repl.client.js +2 -4
- package/dist/api/jetplane/repl/repl.d.ts +7 -1
- package/dist/api/jetplane/repl/repl.js +8 -1
- package/dist/api/lore/service.client.d.ts +14 -0
- package/dist/api/lore/service.client.js +13 -4
- package/dist/api/lore/service.d.ts +56 -0
- package/dist/api/lore/service.js +112 -2
- package/dist/api/lore/transfer/org_transfer.client.d.ts +135 -0
- package/dist/api/lore/transfer/org_transfer.client.js +92 -0
- package/dist/api/lore/transfer/org_transfer.d.ts +636 -0
- package/dist/api/lore/transfer/org_transfer.js +1398 -0
- package/dist/api/repl/repl.d.ts +7 -0
- package/dist/api/repl/repl.js +9 -1
- package/dist/api/signing.d.ts +21 -1
- package/dist/api/signing.js +25 -2
- package/dist/google/protobuf/any.d.ts +52 -108
- package/dist/google/protobuf/field_mask.d.ts +16 -18
- package/dist/google/protobuf/struct.d.ts +33 -22
- package/dist/google/protobuf/struct.js +8 -3
- package/dist/google/protobuf/timestamp.d.ts +9 -8
- package/iotester/index.d.ts +3108 -77
- package/iotester/index.js +7636 -229
- package/main/index.d.ts +3108 -77
- package/main/index.js +7636 -229
- package/package.json +1 -1
|
@@ -94,10 +94,8 @@ export interface IReplServiceClient {
|
|
|
94
94
|
* removes them after its configured retention period. After this RPC returns
|
|
95
95
|
* the repl is no longer visible to GetRepl or other queries.
|
|
96
96
|
*
|
|
97
|
-
* Idempotency: returns OK when the repl is live
|
|
98
|
-
*
|
|
99
|
-
* including repls that were never registered or were permanently removed
|
|
100
|
-
* after the retention period.
|
|
97
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
98
|
+
* no metadata row.
|
|
101
99
|
*
|
|
102
100
|
* @generated from protobuf rpc: DeleteRepl
|
|
103
101
|
*/
|
|
@@ -208,10 +206,8 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
208
206
|
* removes them after its configured retention period. After this RPC returns
|
|
209
207
|
* the repl is no longer visible to GetRepl or other queries.
|
|
210
208
|
*
|
|
211
|
-
* Idempotency: returns OK when the repl is live
|
|
212
|
-
*
|
|
213
|
-
* including repls that were never registered or were permanently removed
|
|
214
|
-
* after the retention period.
|
|
209
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
210
|
+
* no metadata row.
|
|
215
211
|
*
|
|
216
212
|
* @generated from protobuf rpc: DeleteRepl
|
|
217
213
|
*/
|
|
@@ -98,10 +98,8 @@ export class ReplServiceClient {
|
|
|
98
98
|
* removes them after its configured retention period. After this RPC returns
|
|
99
99
|
* the repl is no longer visible to GetRepl or other queries.
|
|
100
100
|
*
|
|
101
|
-
* Idempotency: returns OK when the repl is live
|
|
102
|
-
*
|
|
103
|
-
* including repls that were never registered or were permanently removed
|
|
104
|
-
* after the retention period.
|
|
101
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
102
|
+
* no metadata row.
|
|
105
103
|
*
|
|
106
104
|
* @generated from protobuf rpc: DeleteRepl
|
|
107
105
|
*/
|
|
@@ -37,6 +37,10 @@ export interface SandboxSpec {
|
|
|
37
37
|
* @generated from protobuf field: repeated replit.goval.api.jetplane.repl.SandboxEndpoint endpoints = 2
|
|
38
38
|
*/
|
|
39
39
|
endpoints: SandboxEndpoint[];
|
|
40
|
+
/**
|
|
41
|
+
* @generated from protobuf field: optional string portable_spec_yaml = 3
|
|
42
|
+
*/
|
|
43
|
+
portableSpecYaml?: string;
|
|
40
44
|
}
|
|
41
45
|
/**
|
|
42
46
|
* Repl represents a registered repl and its associated resources within a
|
|
@@ -947,7 +951,9 @@ export interface DeleteReplRequest {
|
|
|
947
951
|
*/
|
|
948
952
|
replId: string;
|
|
949
953
|
/**
|
|
950
|
-
* Optional resource group
|
|
954
|
+
* Optional resource group for the initial lookup. If no repl exists in this
|
|
955
|
+
* group, Jetplane retries the lookup by repl_id and logs a group mismatch.
|
|
956
|
+
* Empty uses the legacy repl-ID lookup.
|
|
951
957
|
*
|
|
952
958
|
* @generated from protobuf field: string resource_group_id = 2
|
|
953
959
|
*/
|
|
@@ -123,7 +123,8 @@ class SandboxSpec$Type extends MessageType {
|
|
|
123
123
|
constructor() {
|
|
124
124
|
super("replit.goval.api.jetplane.repl.SandboxSpec", [
|
|
125
125
|
{ no: 1, name: "oci_runtime_profile", kind: "message", T: () => OciRuntimeProfile },
|
|
126
|
-
{ no: 2, name: "endpoints", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SandboxEndpoint }
|
|
126
|
+
{ no: 2, name: "endpoints", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SandboxEndpoint },
|
|
127
|
+
{ no: 3, name: "portable_spec_yaml", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
127
128
|
]);
|
|
128
129
|
}
|
|
129
130
|
create(value) {
|
|
@@ -144,6 +145,9 @@ class SandboxSpec$Type extends MessageType {
|
|
|
144
145
|
case /* repeated replit.goval.api.jetplane.repl.SandboxEndpoint endpoints */ 2:
|
|
145
146
|
message.endpoints.push(SandboxEndpoint.internalBinaryRead(reader, reader.uint32(), options));
|
|
146
147
|
break;
|
|
148
|
+
case /* optional string portable_spec_yaml */ 3:
|
|
149
|
+
message.portableSpecYaml = reader.string();
|
|
150
|
+
break;
|
|
147
151
|
default:
|
|
148
152
|
let u = options.readUnknownField;
|
|
149
153
|
if (u === "throw")
|
|
@@ -162,6 +166,9 @@ class SandboxSpec$Type extends MessageType {
|
|
|
162
166
|
/* repeated replit.goval.api.jetplane.repl.SandboxEndpoint endpoints = 2; */
|
|
163
167
|
for (let i = 0; i < message.endpoints.length; i++)
|
|
164
168
|
SandboxEndpoint.internalBinaryWrite(message.endpoints[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
169
|
+
/* optional string portable_spec_yaml = 3; */
|
|
170
|
+
if (message.portableSpecYaml !== undefined)
|
|
171
|
+
writer.tag(3, WireType.LengthDelimited).string(message.portableSpecYaml);
|
|
165
172
|
let u = options.writeUnknownFields;
|
|
166
173
|
if (u !== false)
|
|
167
174
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -8,6 +8,8 @@ import type { TransferReplFromOfflineClusterResponse } from "./service.js";
|
|
|
8
8
|
import type { TransferReplFromOfflineClusterRequest } from "./service.js";
|
|
9
9
|
import type { TransferOrgHomeCellResponse } from "./service.js";
|
|
10
10
|
import type { TransferOrgHomeCellRequest } from "./service.js";
|
|
11
|
+
import type { DeleteOrgHomeCellResponse } from "./service.js";
|
|
12
|
+
import type { DeleteOrgHomeCellRequest } from "./service.js";
|
|
11
13
|
import type { SetOrgHomeCellResponse } from "./service.js";
|
|
12
14
|
import type { SetOrgHomeCellRequest } from "./service.js";
|
|
13
15
|
import type { GetOrgHomeCellResponse } from "./service.js";
|
|
@@ -271,6 +273,12 @@ export interface ILoreClient {
|
|
|
271
273
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
272
274
|
*/
|
|
273
275
|
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
276
|
+
/**
|
|
277
|
+
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
278
|
+
*
|
|
279
|
+
* @generated from protobuf rpc: DeleteOrgHomeCell
|
|
280
|
+
*/
|
|
281
|
+
deleteOrgHomeCell(input: DeleteOrgHomeCellRequest, options?: RpcOptions): UnaryCall<DeleteOrgHomeCellRequest, DeleteOrgHomeCellResponse>;
|
|
274
282
|
/**
|
|
275
283
|
* TransferOrgHomeCell starts an asynchronous transfer to a new home cell.
|
|
276
284
|
*
|
|
@@ -524,6 +532,12 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
524
532
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
525
533
|
*/
|
|
526
534
|
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
535
|
+
/**
|
|
536
|
+
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
537
|
+
*
|
|
538
|
+
* @generated from protobuf rpc: DeleteOrgHomeCell
|
|
539
|
+
*/
|
|
540
|
+
deleteOrgHomeCell(input: DeleteOrgHomeCellRequest, options?: RpcOptions): UnaryCall<DeleteOrgHomeCellRequest, DeleteOrgHomeCellResponse>;
|
|
527
541
|
/**
|
|
528
542
|
* TransferOrgHomeCell starts an asynchronous transfer to a new home cell.
|
|
529
543
|
*
|
|
@@ -295,13 +295,22 @@ export class LoreClient {
|
|
|
295
295
|
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
296
296
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
297
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
300
|
+
*
|
|
301
|
+
* @generated from protobuf rpc: DeleteOrgHomeCell
|
|
302
|
+
*/
|
|
303
|
+
deleteOrgHomeCell(input, options) {
|
|
304
|
+
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
305
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
306
|
+
}
|
|
298
307
|
/**
|
|
299
308
|
* TransferOrgHomeCell starts an asynchronous transfer to a new home cell.
|
|
300
309
|
*
|
|
301
310
|
* @generated from protobuf rpc: TransferOrgHomeCell
|
|
302
311
|
*/
|
|
303
312
|
transferOrgHomeCell(input, options) {
|
|
304
|
-
const method = this.methods[
|
|
313
|
+
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
305
314
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
306
315
|
}
|
|
307
316
|
/**
|
|
@@ -315,7 +324,7 @@ export class LoreClient {
|
|
|
315
324
|
* @generated from protobuf rpc: TransferReplFromOfflineCluster
|
|
316
325
|
*/
|
|
317
326
|
transferReplFromOfflineCluster(input, options) {
|
|
318
|
-
const method = this.methods[
|
|
327
|
+
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
319
328
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
320
329
|
}
|
|
321
330
|
/**
|
|
@@ -331,7 +340,7 @@ export class LoreClient {
|
|
|
331
340
|
* @generated from protobuf rpc: ExportRepl
|
|
332
341
|
*/
|
|
333
342
|
exportRepl(input, options) {
|
|
334
|
-
const method = this.methods[
|
|
343
|
+
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
335
344
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
336
345
|
}
|
|
337
346
|
/**
|
|
@@ -344,7 +353,7 @@ export class LoreClient {
|
|
|
344
353
|
* @generated from protobuf rpc: ImportRepl
|
|
345
354
|
*/
|
|
346
355
|
importRepl(input, options) {
|
|
347
|
-
const method = this.methods[
|
|
356
|
+
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
348
357
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
349
358
|
}
|
|
350
359
|
}
|
|
@@ -5,6 +5,7 @@ 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 { OrgTransferPrincipal } from "./transfer/org_transfer.js";
|
|
8
9
|
import { Duration } from "../../google/protobuf/duration.js";
|
|
9
10
|
import { Status } from "../../google/rpc/status.js";
|
|
10
11
|
import { Agent } from "../chateau/resources.js";
|
|
@@ -174,6 +175,20 @@ export interface Cluster {
|
|
|
174
175
|
* @generated from protobuf field: string continent = 18
|
|
175
176
|
*/
|
|
176
177
|
continent: string;
|
|
178
|
+
/**
|
|
179
|
+
* OpenintPublicUrl is the OpenInt origin reachable by browsers and user
|
|
180
|
+
* workloads. May be empty for clusters without an OpenInt deployment.
|
|
181
|
+
*
|
|
182
|
+
* @generated from protobuf field: string openint_public_url = 19
|
|
183
|
+
*/
|
|
184
|
+
openintPublicUrl: string;
|
|
185
|
+
/**
|
|
186
|
+
* OpenintServerUrl is the OpenInt origin for privileged server-to-server
|
|
187
|
+
* calls. May be empty for clusters without an OpenInt deployment.
|
|
188
|
+
*
|
|
189
|
+
* @generated from protobuf field: string openint_server_url = 20
|
|
190
|
+
*/
|
|
191
|
+
openintServerUrl: string;
|
|
177
192
|
}
|
|
178
193
|
/**
|
|
179
194
|
* @generated from protobuf message replit.goval.api.lore.CreateReplRequest
|
|
@@ -1424,6 +1439,20 @@ export interface SetOrgHomeCellResponse {
|
|
|
1424
1439
|
*/
|
|
1425
1440
|
cluster?: Cluster;
|
|
1426
1441
|
}
|
|
1442
|
+
/**
|
|
1443
|
+
* @generated from protobuf message replit.goval.api.lore.DeleteOrgHomeCellRequest
|
|
1444
|
+
*/
|
|
1445
|
+
export interface DeleteOrgHomeCellRequest {
|
|
1446
|
+
/**
|
|
1447
|
+
* @generated from protobuf field: string org_id = 1
|
|
1448
|
+
*/
|
|
1449
|
+
orgId: string;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
* @generated from protobuf message replit.goval.api.lore.DeleteOrgHomeCellResponse
|
|
1453
|
+
*/
|
|
1454
|
+
export interface DeleteOrgHomeCellResponse {
|
|
1455
|
+
}
|
|
1427
1456
|
/**
|
|
1428
1457
|
* @generated from protobuf message replit.goval.api.lore.TransferOrgHomeCellRequest
|
|
1429
1458
|
*/
|
|
@@ -1444,6 +1473,13 @@ export interface TransferOrgHomeCellRequest {
|
|
|
1444
1473
|
* @generated from protobuf field: bool force_retry = 3
|
|
1445
1474
|
*/
|
|
1446
1475
|
forceRetry: boolean;
|
|
1476
|
+
/**
|
|
1477
|
+
* Principal the transfer runs on behalf of. Lore forwards it unchanged to
|
|
1478
|
+
* each per-cell phase so the cell service can authorize the operation.
|
|
1479
|
+
*
|
|
1480
|
+
* @generated from protobuf field: replit.goval.api.lore.transfer.OrgTransferPrincipal principal = 4
|
|
1481
|
+
*/
|
|
1482
|
+
principal?: OrgTransferPrincipal;
|
|
1447
1483
|
}
|
|
1448
1484
|
/**
|
|
1449
1485
|
* @generated from protobuf message replit.goval.api.lore.TransferOrgHomeCellResponse
|
|
@@ -2370,6 +2406,26 @@ declare class SetOrgHomeCellResponse$Type extends MessageType<SetOrgHomeCellResp
|
|
|
2370
2406
|
* @generated MessageType for protobuf message replit.goval.api.lore.SetOrgHomeCellResponse
|
|
2371
2407
|
*/
|
|
2372
2408
|
export declare const SetOrgHomeCellResponse: SetOrgHomeCellResponse$Type;
|
|
2409
|
+
declare class DeleteOrgHomeCellRequest$Type extends MessageType<DeleteOrgHomeCellRequest> {
|
|
2410
|
+
constructor();
|
|
2411
|
+
create(value?: PartialMessage<DeleteOrgHomeCellRequest>): DeleteOrgHomeCellRequest;
|
|
2412
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteOrgHomeCellRequest): DeleteOrgHomeCellRequest;
|
|
2413
|
+
internalBinaryWrite(message: DeleteOrgHomeCellRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
2414
|
+
}
|
|
2415
|
+
/**
|
|
2416
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteOrgHomeCellRequest
|
|
2417
|
+
*/
|
|
2418
|
+
export declare const DeleteOrgHomeCellRequest: DeleteOrgHomeCellRequest$Type;
|
|
2419
|
+
declare class DeleteOrgHomeCellResponse$Type extends MessageType<DeleteOrgHomeCellResponse> {
|
|
2420
|
+
constructor();
|
|
2421
|
+
create(value?: PartialMessage<DeleteOrgHomeCellResponse>): DeleteOrgHomeCellResponse;
|
|
2422
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteOrgHomeCellResponse): DeleteOrgHomeCellResponse;
|
|
2423
|
+
internalBinaryWrite(message: DeleteOrgHomeCellResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
2424
|
+
}
|
|
2425
|
+
/**
|
|
2426
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteOrgHomeCellResponse
|
|
2427
|
+
*/
|
|
2428
|
+
export declare const DeleteOrgHomeCellResponse: DeleteOrgHomeCellResponse$Type;
|
|
2373
2429
|
declare class TransferOrgHomeCellRequest$Type extends MessageType<TransferOrgHomeCellRequest> {
|
|
2374
2430
|
constructor();
|
|
2375
2431
|
create(value?: PartialMessage<TransferOrgHomeCellRequest>): TransferOrgHomeCellRequest;
|
package/dist/api/lore/service.js
CHANGED
|
@@ -6,6 +6,7 @@ import { WireType } from "@protobuf-ts/runtime";
|
|
|
6
6
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
7
7
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
8
8
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
9
|
+
import { OrgTransferPrincipal } from "./transfer/org_transfer.js";
|
|
9
10
|
import { Duration } from "../../google/protobuf/duration.js";
|
|
10
11
|
import { Status } from "../../google/rpc/status.js";
|
|
11
12
|
import { Agent } from "../chateau/resources.js";
|
|
@@ -217,7 +218,9 @@ class Cluster$Type extends MessageType {
|
|
|
217
218
|
{ no: 15, name: "rams_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
218
219
|
{ no: 16, name: "muse_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
219
220
|
{ no: 17, name: "chronicle_rpc_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
220
|
-
{ no: 18, name: "continent", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
221
|
+
{ no: 18, name: "continent", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
222
|
+
{ no: 19, name: "openint_public_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
223
|
+
{ no: 20, name: "openint_server_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
221
224
|
]);
|
|
222
225
|
}
|
|
223
226
|
create(value) {
|
|
@@ -239,6 +242,8 @@ class Cluster$Type extends MessageType {
|
|
|
239
242
|
message.museRpcTarget = "";
|
|
240
243
|
message.chronicleRpcTarget = "";
|
|
241
244
|
message.continent = "";
|
|
245
|
+
message.openintPublicUrl = "";
|
|
246
|
+
message.openintServerUrl = "";
|
|
242
247
|
if (value !== undefined)
|
|
243
248
|
reflectionMergePartial(this, message, value);
|
|
244
249
|
return message;
|
|
@@ -299,6 +304,12 @@ class Cluster$Type extends MessageType {
|
|
|
299
304
|
case /* string continent */ 18:
|
|
300
305
|
message.continent = reader.string();
|
|
301
306
|
break;
|
|
307
|
+
case /* string openint_public_url */ 19:
|
|
308
|
+
message.openintPublicUrl = reader.string();
|
|
309
|
+
break;
|
|
310
|
+
case /* string openint_server_url */ 20:
|
|
311
|
+
message.openintServerUrl = reader.string();
|
|
312
|
+
break;
|
|
302
313
|
default:
|
|
303
314
|
let u = options.readUnknownField;
|
|
304
315
|
if (u === "throw")
|
|
@@ -362,6 +373,12 @@ class Cluster$Type extends MessageType {
|
|
|
362
373
|
/* string continent = 18; */
|
|
363
374
|
if (message.continent !== "")
|
|
364
375
|
writer.tag(18, WireType.LengthDelimited).string(message.continent);
|
|
376
|
+
/* string openint_public_url = 19; */
|
|
377
|
+
if (message.openintPublicUrl !== "")
|
|
378
|
+
writer.tag(19, WireType.LengthDelimited).string(message.openintPublicUrl);
|
|
379
|
+
/* string openint_server_url = 20; */
|
|
380
|
+
if (message.openintServerUrl !== "")
|
|
381
|
+
writer.tag(20, WireType.LengthDelimited).string(message.openintServerUrl);
|
|
365
382
|
let u = options.writeUnknownFields;
|
|
366
383
|
if (u !== false)
|
|
367
384
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4282,12 +4299,98 @@ class SetOrgHomeCellResponse$Type extends MessageType {
|
|
|
4282
4299
|
*/
|
|
4283
4300
|
export const SetOrgHomeCellResponse = new SetOrgHomeCellResponse$Type();
|
|
4284
4301
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4302
|
+
class DeleteOrgHomeCellRequest$Type extends MessageType {
|
|
4303
|
+
constructor() {
|
|
4304
|
+
super("replit.goval.api.lore.DeleteOrgHomeCellRequest", [
|
|
4305
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4306
|
+
]);
|
|
4307
|
+
}
|
|
4308
|
+
create(value) {
|
|
4309
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4310
|
+
message.orgId = "";
|
|
4311
|
+
if (value !== undefined)
|
|
4312
|
+
reflectionMergePartial(this, message, value);
|
|
4313
|
+
return message;
|
|
4314
|
+
}
|
|
4315
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4316
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4317
|
+
while (reader.pos < end) {
|
|
4318
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4319
|
+
switch (fieldNo) {
|
|
4320
|
+
case /* string org_id */ 1:
|
|
4321
|
+
message.orgId = reader.string();
|
|
4322
|
+
break;
|
|
4323
|
+
default:
|
|
4324
|
+
let u = options.readUnknownField;
|
|
4325
|
+
if (u === "throw")
|
|
4326
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4327
|
+
let d = reader.skip(wireType);
|
|
4328
|
+
if (u !== false)
|
|
4329
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
return message;
|
|
4333
|
+
}
|
|
4334
|
+
internalBinaryWrite(message, writer, options) {
|
|
4335
|
+
/* string org_id = 1; */
|
|
4336
|
+
if (message.orgId !== "")
|
|
4337
|
+
writer.tag(1, WireType.LengthDelimited).string(message.orgId);
|
|
4338
|
+
let u = options.writeUnknownFields;
|
|
4339
|
+
if (u !== false)
|
|
4340
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4341
|
+
return writer;
|
|
4342
|
+
}
|
|
4343
|
+
}
|
|
4344
|
+
/**
|
|
4345
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteOrgHomeCellRequest
|
|
4346
|
+
*/
|
|
4347
|
+
export const DeleteOrgHomeCellRequest = new DeleteOrgHomeCellRequest$Type();
|
|
4348
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4349
|
+
class DeleteOrgHomeCellResponse$Type extends MessageType {
|
|
4350
|
+
constructor() {
|
|
4351
|
+
super("replit.goval.api.lore.DeleteOrgHomeCellResponse", []);
|
|
4352
|
+
}
|
|
4353
|
+
create(value) {
|
|
4354
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4355
|
+
if (value !== undefined)
|
|
4356
|
+
reflectionMergePartial(this, message, value);
|
|
4357
|
+
return message;
|
|
4358
|
+
}
|
|
4359
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4360
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4361
|
+
while (reader.pos < end) {
|
|
4362
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4363
|
+
switch (fieldNo) {
|
|
4364
|
+
default:
|
|
4365
|
+
let u = options.readUnknownField;
|
|
4366
|
+
if (u === "throw")
|
|
4367
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4368
|
+
let d = reader.skip(wireType);
|
|
4369
|
+
if (u !== false)
|
|
4370
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4371
|
+
}
|
|
4372
|
+
}
|
|
4373
|
+
return message;
|
|
4374
|
+
}
|
|
4375
|
+
internalBinaryWrite(message, writer, options) {
|
|
4376
|
+
let u = options.writeUnknownFields;
|
|
4377
|
+
if (u !== false)
|
|
4378
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4379
|
+
return writer;
|
|
4380
|
+
}
|
|
4381
|
+
}
|
|
4382
|
+
/**
|
|
4383
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteOrgHomeCellResponse
|
|
4384
|
+
*/
|
|
4385
|
+
export const DeleteOrgHomeCellResponse = new DeleteOrgHomeCellResponse$Type();
|
|
4386
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4285
4387
|
class TransferOrgHomeCellRequest$Type extends MessageType {
|
|
4286
4388
|
constructor() {
|
|
4287
4389
|
super("replit.goval.api.lore.TransferOrgHomeCellRequest", [
|
|
4288
4390
|
{ no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4289
4391
|
{ no: 2, name: "target_cell_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4290
|
-
{ no: 3, name: "force_retry", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
4392
|
+
{ no: 3, name: "force_retry", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4393
|
+
{ no: 4, name: "principal", kind: "message", T: () => OrgTransferPrincipal }
|
|
4291
4394
|
]);
|
|
4292
4395
|
}
|
|
4293
4396
|
create(value) {
|
|
@@ -4313,6 +4416,9 @@ class TransferOrgHomeCellRequest$Type extends MessageType {
|
|
|
4313
4416
|
case /* bool force_retry */ 3:
|
|
4314
4417
|
message.forceRetry = reader.bool();
|
|
4315
4418
|
break;
|
|
4419
|
+
case /* replit.goval.api.lore.transfer.OrgTransferPrincipal principal */ 4:
|
|
4420
|
+
message.principal = OrgTransferPrincipal.internalBinaryRead(reader, reader.uint32(), options, message.principal);
|
|
4421
|
+
break;
|
|
4316
4422
|
default:
|
|
4317
4423
|
let u = options.readUnknownField;
|
|
4318
4424
|
if (u === "throw")
|
|
@@ -4334,6 +4440,9 @@ class TransferOrgHomeCellRequest$Type extends MessageType {
|
|
|
4334
4440
|
/* bool force_retry = 3; */
|
|
4335
4441
|
if (message.forceRetry !== false)
|
|
4336
4442
|
writer.tag(3, WireType.Varint).bool(message.forceRetry);
|
|
4443
|
+
/* replit.goval.api.lore.transfer.OrgTransferPrincipal principal = 4; */
|
|
4444
|
+
if (message.principal)
|
|
4445
|
+
OrgTransferPrincipal.internalBinaryWrite(message.principal, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4337
4446
|
let u = options.writeUnknownFields;
|
|
4338
4447
|
if (u !== false)
|
|
4339
4448
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4982,6 +5091,7 @@ export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
|
|
|
4982
5091
|
{ name: "GetClusters", options: {}, I: GetClustersRequest, O: GetClustersResponse },
|
|
4983
5092
|
{ name: "GetOrgHomeCell", options: {}, I: GetOrgHomeCellRequest, O: GetOrgHomeCellResponse },
|
|
4984
5093
|
{ name: "SetOrgHomeCell", options: {}, I: SetOrgHomeCellRequest, O: SetOrgHomeCellResponse },
|
|
5094
|
+
{ name: "DeleteOrgHomeCell", options: {}, I: DeleteOrgHomeCellRequest, O: DeleteOrgHomeCellResponse },
|
|
4985
5095
|
{ name: "TransferOrgHomeCell", options: {}, I: TransferOrgHomeCellRequest, O: TransferOrgHomeCellResponse },
|
|
4986
5096
|
{ name: "TransferReplFromOfflineCluster", options: {}, I: TransferReplFromOfflineClusterRequest, O: TransferReplFromOfflineClusterResponse },
|
|
4987
5097
|
{ name: "ExportRepl", options: {}, I: ExportReplRequest, O: ExportReplResponse },
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import type { OrgSourceDeleteResponse } from "./org_transfer.js";
|
|
4
|
+
import type { OrgSourceDeleteRequest } from "./org_transfer.js";
|
|
5
|
+
import type { OrgSourceCleanUpTransferDataResponse } from "./org_transfer.js";
|
|
6
|
+
import type { OrgSourceCleanUpTransferDataRequest } from "./org_transfer.js";
|
|
7
|
+
import type { OrgDestinationAbortResponse } from "./org_transfer.js";
|
|
8
|
+
import type { OrgDestinationAbortRequest } from "./org_transfer.js";
|
|
9
|
+
import type { OrgSourceAbortResponse } from "./org_transfer.js";
|
|
10
|
+
import type { OrgSourceAbortRequest } from "./org_transfer.js";
|
|
11
|
+
import type { OrgDestinationRemoveTombstoneResponse } from "./org_transfer.js";
|
|
12
|
+
import type { OrgDestinationRemoveTombstoneRequest } from "./org_transfer.js";
|
|
13
|
+
import type { OrgDestinationAddTombstoneResponse } from "./org_transfer.js";
|
|
14
|
+
import type { OrgDestinationAddTombstoneRequest } from "./org_transfer.js";
|
|
15
|
+
import type { OrgDestinationTransferInResponse } from "./org_transfer.js";
|
|
16
|
+
import type { OrgDestinationTransferInRequest } from "./org_transfer.js";
|
|
17
|
+
import type { OrgSourceTransferOutResponse } from "./org_transfer.js";
|
|
18
|
+
import type { OrgSourceTransferOutRequest } from "./org_transfer.js";
|
|
19
|
+
import type { OrgSourceRemoveTombstoneResponse } from "./org_transfer.js";
|
|
20
|
+
import type { OrgSourceRemoveTombstoneRequest } from "./org_transfer.js";
|
|
21
|
+
import type { OrgIsSourceFullyDrainedResponse } from "./org_transfer.js";
|
|
22
|
+
import type { OrgIsSourceFullyDrainedRequest } from "./org_transfer.js";
|
|
23
|
+
import type { OrgSourceStopAndDrainResponse } from "./org_transfer.js";
|
|
24
|
+
import type { OrgSourceStopAndDrainRequest } from "./org_transfer.js";
|
|
25
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
26
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
27
|
+
/**
|
|
28
|
+
* TransferOrgHomeCell defines the phased cell transfer for an org home cell.
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
|
|
31
|
+
*/
|
|
32
|
+
export interface ITransferOrgHomeCellClient {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from protobuf rpc: SourceStopAndDrain
|
|
35
|
+
*/
|
|
36
|
+
sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from protobuf rpc: IsSourceFullyDrained
|
|
39
|
+
*/
|
|
40
|
+
isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from protobuf rpc: SourceRemoveTombstone
|
|
43
|
+
*/
|
|
44
|
+
sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from protobuf rpc: SourceTransferOut
|
|
47
|
+
*/
|
|
48
|
+
sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from protobuf rpc: DestinationTransferIn
|
|
51
|
+
*/
|
|
52
|
+
destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from protobuf rpc: DestinationAddTombstone
|
|
55
|
+
*/
|
|
56
|
+
destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from protobuf rpc: DestinationRemoveTombstone
|
|
59
|
+
*/
|
|
60
|
+
destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from protobuf rpc: SourceAbort
|
|
63
|
+
*/
|
|
64
|
+
sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from protobuf rpc: DestinationAbort
|
|
67
|
+
*/
|
|
68
|
+
destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from protobuf rpc: SourceCleanUpTransferData
|
|
71
|
+
*/
|
|
72
|
+
sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from protobuf rpc: SourceDelete
|
|
75
|
+
*/
|
|
76
|
+
sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* TransferOrgHomeCell defines the phased cell transfer for an org home cell.
|
|
80
|
+
*
|
|
81
|
+
* @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
|
|
82
|
+
*/
|
|
83
|
+
export declare class TransferOrgHomeCellClient implements ITransferOrgHomeCellClient, ServiceInfo {
|
|
84
|
+
private readonly _transport;
|
|
85
|
+
typeName: string;
|
|
86
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
87
|
+
options: {
|
|
88
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
89
|
+
};
|
|
90
|
+
constructor(_transport: RpcTransport);
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf rpc: SourceStopAndDrain
|
|
93
|
+
*/
|
|
94
|
+
sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf rpc: IsSourceFullyDrained
|
|
97
|
+
*/
|
|
98
|
+
isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf rpc: SourceRemoveTombstone
|
|
101
|
+
*/
|
|
102
|
+
sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf rpc: SourceTransferOut
|
|
105
|
+
*/
|
|
106
|
+
sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* @generated from protobuf rpc: DestinationTransferIn
|
|
109
|
+
*/
|
|
110
|
+
destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* @generated from protobuf rpc: DestinationAddTombstone
|
|
113
|
+
*/
|
|
114
|
+
destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* @generated from protobuf rpc: DestinationRemoveTombstone
|
|
117
|
+
*/
|
|
118
|
+
destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* @generated from protobuf rpc: SourceAbort
|
|
121
|
+
*/
|
|
122
|
+
sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* @generated from protobuf rpc: DestinationAbort
|
|
125
|
+
*/
|
|
126
|
+
destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from protobuf rpc: SourceCleanUpTransferData
|
|
129
|
+
*/
|
|
130
|
+
sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* @generated from protobuf rpc: SourceDelete
|
|
133
|
+
*/
|
|
134
|
+
sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
|
|
135
|
+
}
|