@replit/protocol 0.5.0 → 0.6.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 +8 -8
- package/dist/api/jetplane/repl/repl.client.js +4 -4
- package/dist/api/lore/service.client.d.ts +14 -0
- package/dist/api/lore/service.client.js +14 -5
- package/dist/api/lore/service.d.ts +60 -2
- package/dist/api/lore/service.js +119 -3
- package/dist/api/lore/transfer/org_transfer.client.d.ts +0 -114
- package/dist/api/lore/transfer/org_transfer.client.js +0 -79
- package/dist/api/lore/transfer/org_transfer.d.ts +1 -589
- package/dist/api/lore/transfer/org_transfer.js +1 -1333
- package/dist/api/lore/transfer/transfer.client.d.ts +6 -4
- package/dist/api/lore/transfer/transfer.client.js +3 -2
- package/dist/api/signing.d.ts +15 -1
- package/dist/api/signing.js +17 -1
- 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 +245 -2651
- package/iotester/index.js +801 -6634
- package/main/index.d.ts +245 -2651
- package/main/index.js +801 -6634
- package/package.json +1 -1
|
@@ -110,8 +110,8 @@ export interface IReplServiceClient {
|
|
|
110
110
|
* RestoreResourceGroup clears only the group's deletion marker. Members
|
|
111
111
|
* deleted individually remain deleted. Tombstones are unchanged.
|
|
112
112
|
* Idempotent; returns NOT_FOUND when the group metadata is absent.
|
|
113
|
-
*
|
|
114
|
-
*
|
|
113
|
+
* Returns FAILED_PRECONDITION if the group was deleted more than 30 days ago.
|
|
114
|
+
* Metadata only: transfer-purged groups must never be restored.
|
|
115
115
|
*
|
|
116
116
|
* @generated from protobuf rpc: RestoreResourceGroup
|
|
117
117
|
*/
|
|
@@ -161,8 +161,8 @@ export interface IReplServiceClient {
|
|
|
161
161
|
* Tombstones are unchanged and workloads are not started.
|
|
162
162
|
* Idempotent; returns NOT_FOUND when repl metadata is absent, or
|
|
163
163
|
* ALREADY_EXISTS if another live main repl occupies the group.
|
|
164
|
-
*
|
|
165
|
-
*
|
|
164
|
+
* Returns FAILED_PRECONDITION if the repl or its group was deleted more
|
|
165
|
+
* than 30 days ago. Transfer-purged resources must never be restored.
|
|
166
166
|
*
|
|
167
167
|
* @generated from protobuf rpc: RestoreRepl
|
|
168
168
|
*/
|
|
@@ -277,8 +277,8 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
277
277
|
* RestoreResourceGroup clears only the group's deletion marker. Members
|
|
278
278
|
* deleted individually remain deleted. Tombstones are unchanged.
|
|
279
279
|
* Idempotent; returns NOT_FOUND when the group metadata is absent.
|
|
280
|
-
*
|
|
281
|
-
*
|
|
280
|
+
* Returns FAILED_PRECONDITION if the group was deleted more than 30 days ago.
|
|
281
|
+
* Metadata only: transfer-purged groups must never be restored.
|
|
282
282
|
*
|
|
283
283
|
* @generated from protobuf rpc: RestoreResourceGroup
|
|
284
284
|
*/
|
|
@@ -328,8 +328,8 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
328
328
|
* Tombstones are unchanged and workloads are not started.
|
|
329
329
|
* Idempotent; returns NOT_FOUND when repl metadata is absent, or
|
|
330
330
|
* ALREADY_EXISTS if another live main repl occupies the group.
|
|
331
|
-
*
|
|
332
|
-
*
|
|
331
|
+
* Returns FAILED_PRECONDITION if the repl or its group was deleted more
|
|
332
|
+
* than 30 days ago. Transfer-purged resources must never be restored.
|
|
333
333
|
*
|
|
334
334
|
* @generated from protobuf rpc: RestoreRepl
|
|
335
335
|
*/
|
|
@@ -105,8 +105,8 @@ export class ReplServiceClient {
|
|
|
105
105
|
* RestoreResourceGroup clears only the group's deletion marker. Members
|
|
106
106
|
* deleted individually remain deleted. Tombstones are unchanged.
|
|
107
107
|
* Idempotent; returns NOT_FOUND when the group metadata is absent.
|
|
108
|
-
*
|
|
109
|
-
*
|
|
108
|
+
* Returns FAILED_PRECONDITION if the group was deleted more than 30 days ago.
|
|
109
|
+
* Metadata only: transfer-purged groups must never be restored.
|
|
110
110
|
*
|
|
111
111
|
* @generated from protobuf rpc: RestoreResourceGroup
|
|
112
112
|
*/
|
|
@@ -171,8 +171,8 @@ export class ReplServiceClient {
|
|
|
171
171
|
* Tombstones are unchanged and workloads are not started.
|
|
172
172
|
* Idempotent; returns NOT_FOUND when repl metadata is absent, or
|
|
173
173
|
* ALREADY_EXISTS if another live main repl occupies the group.
|
|
174
|
-
*
|
|
175
|
-
*
|
|
174
|
+
* Returns FAILED_PRECONDITION if the repl or its group was deleted more
|
|
175
|
+
* than 30 days ago. Transfer-purged resources must never be restored.
|
|
176
176
|
*
|
|
177
177
|
* @generated from protobuf rpc: RestoreRepl
|
|
178
178
|
*/
|
|
@@ -10,6 +10,8 @@ import type { TransferOrgHomeCellResponse } from "./service.js";
|
|
|
10
10
|
import type { TransferOrgHomeCellRequest } from "./service.js";
|
|
11
11
|
import type { DeleteOrgHomeCellResponse } from "./service.js";
|
|
12
12
|
import type { DeleteOrgHomeCellRequest } from "./service.js";
|
|
13
|
+
import type { PatchOrgHomeCellResponse } from "./service.js";
|
|
14
|
+
import type { PatchOrgHomeCellRequest } from "./service.js";
|
|
13
15
|
import type { SetOrgHomeCellResponse } from "./service.js";
|
|
14
16
|
import type { SetOrgHomeCellRequest } from "./service.js";
|
|
15
17
|
import type { GetOrgHomeCellResponse } from "./service.js";
|
|
@@ -294,6 +296,12 @@ export interface ILoreClient {
|
|
|
294
296
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
295
297
|
*/
|
|
296
298
|
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
299
|
+
/**
|
|
300
|
+
* PatchOrgHomeCell updates properties without changing the cell's identity.
|
|
301
|
+
*
|
|
302
|
+
* @generated from protobuf rpc: PatchOrgHomeCell
|
|
303
|
+
*/
|
|
304
|
+
patchOrgHomeCell(input: PatchOrgHomeCellRequest, options?: RpcOptions): UnaryCall<PatchOrgHomeCellRequest, PatchOrgHomeCellResponse>;
|
|
297
305
|
/**
|
|
298
306
|
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
299
307
|
*
|
|
@@ -570,6 +578,12 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
570
578
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
571
579
|
*/
|
|
572
580
|
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
581
|
+
/**
|
|
582
|
+
* PatchOrgHomeCell updates properties without changing the cell's identity.
|
|
583
|
+
*
|
|
584
|
+
* @generated from protobuf rpc: PatchOrgHomeCell
|
|
585
|
+
*/
|
|
586
|
+
patchOrgHomeCell(input: PatchOrgHomeCellRequest, options?: RpcOptions): UnaryCall<PatchOrgHomeCellRequest, PatchOrgHomeCellResponse>;
|
|
573
587
|
/**
|
|
574
588
|
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
575
589
|
*
|
|
@@ -318,13 +318,22 @@ export class LoreClient {
|
|
|
318
318
|
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
319
319
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
320
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* PatchOrgHomeCell updates properties without changing the cell's identity.
|
|
323
|
+
*
|
|
324
|
+
* @generated from protobuf rpc: PatchOrgHomeCell
|
|
325
|
+
*/
|
|
326
|
+
patchOrgHomeCell(input, options) {
|
|
327
|
+
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
328
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
329
|
+
}
|
|
321
330
|
/**
|
|
322
331
|
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
323
332
|
*
|
|
324
333
|
* @generated from protobuf rpc: DeleteOrgHomeCell
|
|
325
334
|
*/
|
|
326
335
|
deleteOrgHomeCell(input, options) {
|
|
327
|
-
const method = this.methods[
|
|
336
|
+
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
328
337
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
329
338
|
}
|
|
330
339
|
/**
|
|
@@ -333,7 +342,7 @@ export class LoreClient {
|
|
|
333
342
|
* @generated from protobuf rpc: TransferOrgHomeCell
|
|
334
343
|
*/
|
|
335
344
|
transferOrgHomeCell(input, options) {
|
|
336
|
-
const method = this.methods[
|
|
345
|
+
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
337
346
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
338
347
|
}
|
|
339
348
|
/**
|
|
@@ -347,7 +356,7 @@ export class LoreClient {
|
|
|
347
356
|
* @generated from protobuf rpc: TransferReplFromOfflineCluster
|
|
348
357
|
*/
|
|
349
358
|
transferReplFromOfflineCluster(input, options) {
|
|
350
|
-
const method = this.methods[
|
|
359
|
+
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
|
351
360
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
352
361
|
}
|
|
353
362
|
/**
|
|
@@ -363,7 +372,7 @@ export class LoreClient {
|
|
|
363
372
|
* @generated from protobuf rpc: ExportRepl
|
|
364
373
|
*/
|
|
365
374
|
exportRepl(input, options) {
|
|
366
|
-
const method = this.methods[
|
|
375
|
+
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
|
367
376
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
368
377
|
}
|
|
369
378
|
/**
|
|
@@ -376,7 +385,7 @@ export class LoreClient {
|
|
|
376
385
|
* @generated from protobuf rpc: ImportRepl
|
|
377
386
|
*/
|
|
378
387
|
importRepl(input, options) {
|
|
379
|
-
const method = this.methods[
|
|
388
|
+
const method = this.methods[35], opt = this._transport.mergeOptions(options);
|
|
380
389
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
381
390
|
}
|
|
382
391
|
}
|
|
@@ -976,6 +976,12 @@ export interface GetClusterByResourceGroupRequest {
|
|
|
976
976
|
* @generated from protobuf field: string resource_group_id = 1
|
|
977
977
|
*/
|
|
978
978
|
resourceGroupId: string;
|
|
979
|
+
/**
|
|
980
|
+
* Return the recorded cell even when Jetplane creation has not completed.
|
|
981
|
+
*
|
|
982
|
+
* @generated from protobuf field: bool allow_pending_placement = 2
|
|
983
|
+
*/
|
|
984
|
+
allowPendingPlacement: boolean;
|
|
979
985
|
}
|
|
980
986
|
/**
|
|
981
987
|
* @generated from protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
|
|
@@ -1410,8 +1416,8 @@ export interface RestoreReplRequest {
|
|
|
1410
1416
|
*/
|
|
1411
1417
|
replId: string;
|
|
1412
1418
|
/**
|
|
1413
|
-
*
|
|
1414
|
-
*
|
|
1419
|
+
* Ignored by resource-group restore; protection is managed by tombstone
|
|
1420
|
+
* operations.
|
|
1415
1421
|
*
|
|
1416
1422
|
* @generated from protobuf field: optional bool protect = 2
|
|
1417
1423
|
*/
|
|
@@ -1520,6 +1526,10 @@ export interface GetOrgHomeCellRequest {
|
|
|
1520
1526
|
* @generated from protobuf field: string org_id = 1
|
|
1521
1527
|
*/
|
|
1522
1528
|
orgId: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* @generated from protobuf field: bool include_openint_migrated = 2
|
|
1531
|
+
*/
|
|
1532
|
+
includeOpenintMigrated: boolean;
|
|
1523
1533
|
}
|
|
1524
1534
|
/**
|
|
1525
1535
|
* @generated from protobuf message replit.goval.api.lore.GetOrgHomeCellResponse
|
|
@@ -1529,6 +1539,13 @@ export interface GetOrgHomeCellResponse {
|
|
|
1529
1539
|
* @generated from protobuf field: replit.goval.api.lore.Cluster cluster = 1
|
|
1530
1540
|
*/
|
|
1531
1541
|
cluster?: Cluster;
|
|
1542
|
+
/**
|
|
1543
|
+
* Present only when include_openint_migrated is true, including a false
|
|
1544
|
+
* value.
|
|
1545
|
+
*
|
|
1546
|
+
* @generated from protobuf field: optional bool openint_migrated = 2
|
|
1547
|
+
*/
|
|
1548
|
+
openintMigrated?: boolean;
|
|
1532
1549
|
}
|
|
1533
1550
|
/**
|
|
1534
1551
|
* @generated from protobuf message replit.goval.api.lore.SetOrgHomeCellRequest
|
|
@@ -1555,6 +1572,27 @@ export interface SetOrgHomeCellResponse {
|
|
|
1555
1572
|
*/
|
|
1556
1573
|
cluster?: Cluster;
|
|
1557
1574
|
}
|
|
1575
|
+
/**
|
|
1576
|
+
* Only mutable home-cell properties belong here. Null or omitted properties
|
|
1577
|
+
* are left unchanged; explicit false values are applied.
|
|
1578
|
+
*
|
|
1579
|
+
* @generated from protobuf message replit.goval.api.lore.PatchOrgHomeCellRequest
|
|
1580
|
+
*/
|
|
1581
|
+
export interface PatchOrgHomeCellRequest {
|
|
1582
|
+
/**
|
|
1583
|
+
* @generated from protobuf field: string org_id = 1
|
|
1584
|
+
*/
|
|
1585
|
+
orgId: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* @generated from protobuf field: optional bool openint_migrated = 2
|
|
1588
|
+
*/
|
|
1589
|
+
openintMigrated?: boolean;
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
* @generated from protobuf message replit.goval.api.lore.PatchOrgHomeCellResponse
|
|
1593
|
+
*/
|
|
1594
|
+
export interface PatchOrgHomeCellResponse {
|
|
1595
|
+
}
|
|
1558
1596
|
/**
|
|
1559
1597
|
* @generated from protobuf message replit.goval.api.lore.DeleteOrgHomeCellRequest
|
|
1560
1598
|
*/
|
|
@@ -2548,6 +2586,26 @@ declare class SetOrgHomeCellResponse$Type extends MessageType<SetOrgHomeCellResp
|
|
|
2548
2586
|
* @generated MessageType for protobuf message replit.goval.api.lore.SetOrgHomeCellResponse
|
|
2549
2587
|
*/
|
|
2550
2588
|
export declare const SetOrgHomeCellResponse: SetOrgHomeCellResponse$Type;
|
|
2589
|
+
declare class PatchOrgHomeCellRequest$Type extends MessageType<PatchOrgHomeCellRequest> {
|
|
2590
|
+
constructor();
|
|
2591
|
+
create(value?: PartialMessage<PatchOrgHomeCellRequest>): PatchOrgHomeCellRequest;
|
|
2592
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchOrgHomeCellRequest): PatchOrgHomeCellRequest;
|
|
2593
|
+
internalBinaryWrite(message: PatchOrgHomeCellRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
2594
|
+
}
|
|
2595
|
+
/**
|
|
2596
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.PatchOrgHomeCellRequest
|
|
2597
|
+
*/
|
|
2598
|
+
export declare const PatchOrgHomeCellRequest: PatchOrgHomeCellRequest$Type;
|
|
2599
|
+
declare class PatchOrgHomeCellResponse$Type extends MessageType<PatchOrgHomeCellResponse> {
|
|
2600
|
+
constructor();
|
|
2601
|
+
create(value?: PartialMessage<PatchOrgHomeCellResponse>): PatchOrgHomeCellResponse;
|
|
2602
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchOrgHomeCellResponse): PatchOrgHomeCellResponse;
|
|
2603
|
+
internalBinaryWrite(message: PatchOrgHomeCellResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
2604
|
+
}
|
|
2605
|
+
/**
|
|
2606
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.PatchOrgHomeCellResponse
|
|
2607
|
+
*/
|
|
2608
|
+
export declare const PatchOrgHomeCellResponse: PatchOrgHomeCellResponse$Type;
|
|
2551
2609
|
declare class DeleteOrgHomeCellRequest$Type extends MessageType<DeleteOrgHomeCellRequest> {
|
|
2552
2610
|
constructor();
|
|
2553
2611
|
create(value?: PartialMessage<DeleteOrgHomeCellRequest>): DeleteOrgHomeCellRequest;
|
package/dist/api/lore/service.js
CHANGED
|
@@ -2471,12 +2471,14 @@ export const BatchGetCellByReplResponse_Result = new BatchGetCellByReplResponse_
|
|
|
2471
2471
|
class GetClusterByResourceGroupRequest$Type extends MessageType {
|
|
2472
2472
|
constructor() {
|
|
2473
2473
|
super("replit.goval.api.lore.GetClusterByResourceGroupRequest", [
|
|
2474
|
-
{ no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2474
|
+
{ no: 1, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2475
|
+
{ no: 2, name: "allow_pending_placement", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2475
2476
|
]);
|
|
2476
2477
|
}
|
|
2477
2478
|
create(value) {
|
|
2478
2479
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2479
2480
|
message.resourceGroupId = "";
|
|
2481
|
+
message.allowPendingPlacement = false;
|
|
2480
2482
|
if (value !== undefined)
|
|
2481
2483
|
reflectionMergePartial(this, message, value);
|
|
2482
2484
|
return message;
|
|
@@ -2489,6 +2491,9 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
|
|
|
2489
2491
|
case /* string resource_group_id */ 1:
|
|
2490
2492
|
message.resourceGroupId = reader.string();
|
|
2491
2493
|
break;
|
|
2494
|
+
case /* bool allow_pending_placement */ 2:
|
|
2495
|
+
message.allowPendingPlacement = reader.bool();
|
|
2496
|
+
break;
|
|
2492
2497
|
default:
|
|
2493
2498
|
let u = options.readUnknownField;
|
|
2494
2499
|
if (u === "throw")
|
|
@@ -2504,6 +2509,9 @@ class GetClusterByResourceGroupRequest$Type extends MessageType {
|
|
|
2504
2509
|
/* string resource_group_id = 1; */
|
|
2505
2510
|
if (message.resourceGroupId !== "")
|
|
2506
2511
|
writer.tag(1, WireType.LengthDelimited).string(message.resourceGroupId);
|
|
2512
|
+
/* bool allow_pending_placement = 2; */
|
|
2513
|
+
if (message.allowPendingPlacement !== false)
|
|
2514
|
+
writer.tag(2, WireType.Varint).bool(message.allowPendingPlacement);
|
|
2507
2515
|
let u = options.writeUnknownFields;
|
|
2508
2516
|
if (u !== false)
|
|
2509
2517
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4398,12 +4406,14 @@ export const GetClustersResponse = new GetClustersResponse$Type();
|
|
|
4398
4406
|
class GetOrgHomeCellRequest$Type extends MessageType {
|
|
4399
4407
|
constructor() {
|
|
4400
4408
|
super("replit.goval.api.lore.GetOrgHomeCellRequest", [
|
|
4401
|
-
{ no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4409
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4410
|
+
{ no: 2, name: "include_openint_migrated", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
4402
4411
|
]);
|
|
4403
4412
|
}
|
|
4404
4413
|
create(value) {
|
|
4405
4414
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
4406
4415
|
message.orgId = "";
|
|
4416
|
+
message.includeOpenintMigrated = false;
|
|
4407
4417
|
if (value !== undefined)
|
|
4408
4418
|
reflectionMergePartial(this, message, value);
|
|
4409
4419
|
return message;
|
|
@@ -4416,6 +4426,9 @@ class GetOrgHomeCellRequest$Type extends MessageType {
|
|
|
4416
4426
|
case /* string org_id */ 1:
|
|
4417
4427
|
message.orgId = reader.string();
|
|
4418
4428
|
break;
|
|
4429
|
+
case /* bool include_openint_migrated */ 2:
|
|
4430
|
+
message.includeOpenintMigrated = reader.bool();
|
|
4431
|
+
break;
|
|
4419
4432
|
default:
|
|
4420
4433
|
let u = options.readUnknownField;
|
|
4421
4434
|
if (u === "throw")
|
|
@@ -4431,6 +4444,9 @@ class GetOrgHomeCellRequest$Type extends MessageType {
|
|
|
4431
4444
|
/* string org_id = 1; */
|
|
4432
4445
|
if (message.orgId !== "")
|
|
4433
4446
|
writer.tag(1, WireType.LengthDelimited).string(message.orgId);
|
|
4447
|
+
/* bool include_openint_migrated = 2; */
|
|
4448
|
+
if (message.includeOpenintMigrated !== false)
|
|
4449
|
+
writer.tag(2, WireType.Varint).bool(message.includeOpenintMigrated);
|
|
4434
4450
|
let u = options.writeUnknownFields;
|
|
4435
4451
|
if (u !== false)
|
|
4436
4452
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4445,7 +4461,8 @@ export const GetOrgHomeCellRequest = new GetOrgHomeCellRequest$Type();
|
|
|
4445
4461
|
class GetOrgHomeCellResponse$Type extends MessageType {
|
|
4446
4462
|
constructor() {
|
|
4447
4463
|
super("replit.goval.api.lore.GetOrgHomeCellResponse", [
|
|
4448
|
-
{ no: 1, name: "cluster", kind: "message", T: () => Cluster }
|
|
4464
|
+
{ no: 1, name: "cluster", kind: "message", T: () => Cluster },
|
|
4465
|
+
{ no: 2, name: "openint_migrated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
4449
4466
|
]);
|
|
4450
4467
|
}
|
|
4451
4468
|
create(value) {
|
|
@@ -4462,6 +4479,9 @@ class GetOrgHomeCellResponse$Type extends MessageType {
|
|
|
4462
4479
|
case /* replit.goval.api.lore.Cluster cluster */ 1:
|
|
4463
4480
|
message.cluster = Cluster.internalBinaryRead(reader, reader.uint32(), options, message.cluster);
|
|
4464
4481
|
break;
|
|
4482
|
+
case /* optional bool openint_migrated */ 2:
|
|
4483
|
+
message.openintMigrated = reader.bool();
|
|
4484
|
+
break;
|
|
4465
4485
|
default:
|
|
4466
4486
|
let u = options.readUnknownField;
|
|
4467
4487
|
if (u === "throw")
|
|
@@ -4477,6 +4497,9 @@ class GetOrgHomeCellResponse$Type extends MessageType {
|
|
|
4477
4497
|
/* replit.goval.api.lore.Cluster cluster = 1; */
|
|
4478
4498
|
if (message.cluster)
|
|
4479
4499
|
Cluster.internalBinaryWrite(message.cluster, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4500
|
+
/* optional bool openint_migrated = 2; */
|
|
4501
|
+
if (message.openintMigrated !== undefined)
|
|
4502
|
+
writer.tag(2, WireType.Varint).bool(message.openintMigrated);
|
|
4480
4503
|
let u = options.writeUnknownFields;
|
|
4481
4504
|
if (u !== false)
|
|
4482
4505
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4588,6 +4611,98 @@ class SetOrgHomeCellResponse$Type extends MessageType {
|
|
|
4588
4611
|
*/
|
|
4589
4612
|
export const SetOrgHomeCellResponse = new SetOrgHomeCellResponse$Type();
|
|
4590
4613
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4614
|
+
class PatchOrgHomeCellRequest$Type extends MessageType {
|
|
4615
|
+
constructor() {
|
|
4616
|
+
super("replit.goval.api.lore.PatchOrgHomeCellRequest", [
|
|
4617
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4618
|
+
{ no: 2, name: "openint_migrated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
4619
|
+
]);
|
|
4620
|
+
}
|
|
4621
|
+
create(value) {
|
|
4622
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4623
|
+
message.orgId = "";
|
|
4624
|
+
if (value !== undefined)
|
|
4625
|
+
reflectionMergePartial(this, message, value);
|
|
4626
|
+
return message;
|
|
4627
|
+
}
|
|
4628
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4629
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4630
|
+
while (reader.pos < end) {
|
|
4631
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4632
|
+
switch (fieldNo) {
|
|
4633
|
+
case /* string org_id */ 1:
|
|
4634
|
+
message.orgId = reader.string();
|
|
4635
|
+
break;
|
|
4636
|
+
case /* optional bool openint_migrated */ 2:
|
|
4637
|
+
message.openintMigrated = reader.bool();
|
|
4638
|
+
break;
|
|
4639
|
+
default:
|
|
4640
|
+
let u = options.readUnknownField;
|
|
4641
|
+
if (u === "throw")
|
|
4642
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4643
|
+
let d = reader.skip(wireType);
|
|
4644
|
+
if (u !== false)
|
|
4645
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4646
|
+
}
|
|
4647
|
+
}
|
|
4648
|
+
return message;
|
|
4649
|
+
}
|
|
4650
|
+
internalBinaryWrite(message, writer, options) {
|
|
4651
|
+
/* string org_id = 1; */
|
|
4652
|
+
if (message.orgId !== "")
|
|
4653
|
+
writer.tag(1, WireType.LengthDelimited).string(message.orgId);
|
|
4654
|
+
/* optional bool openint_migrated = 2; */
|
|
4655
|
+
if (message.openintMigrated !== undefined)
|
|
4656
|
+
writer.tag(2, WireType.Varint).bool(message.openintMigrated);
|
|
4657
|
+
let u = options.writeUnknownFields;
|
|
4658
|
+
if (u !== false)
|
|
4659
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4660
|
+
return writer;
|
|
4661
|
+
}
|
|
4662
|
+
}
|
|
4663
|
+
/**
|
|
4664
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.PatchOrgHomeCellRequest
|
|
4665
|
+
*/
|
|
4666
|
+
export const PatchOrgHomeCellRequest = new PatchOrgHomeCellRequest$Type();
|
|
4667
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4668
|
+
class PatchOrgHomeCellResponse$Type extends MessageType {
|
|
4669
|
+
constructor() {
|
|
4670
|
+
super("replit.goval.api.lore.PatchOrgHomeCellResponse", []);
|
|
4671
|
+
}
|
|
4672
|
+
create(value) {
|
|
4673
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4674
|
+
if (value !== undefined)
|
|
4675
|
+
reflectionMergePartial(this, message, value);
|
|
4676
|
+
return message;
|
|
4677
|
+
}
|
|
4678
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4679
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4680
|
+
while (reader.pos < end) {
|
|
4681
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4682
|
+
switch (fieldNo) {
|
|
4683
|
+
default:
|
|
4684
|
+
let u = options.readUnknownField;
|
|
4685
|
+
if (u === "throw")
|
|
4686
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4687
|
+
let d = reader.skip(wireType);
|
|
4688
|
+
if (u !== false)
|
|
4689
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4690
|
+
}
|
|
4691
|
+
}
|
|
4692
|
+
return message;
|
|
4693
|
+
}
|
|
4694
|
+
internalBinaryWrite(message, writer, options) {
|
|
4695
|
+
let u = options.writeUnknownFields;
|
|
4696
|
+
if (u !== false)
|
|
4697
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4698
|
+
return writer;
|
|
4699
|
+
}
|
|
4700
|
+
}
|
|
4701
|
+
/**
|
|
4702
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.PatchOrgHomeCellResponse
|
|
4703
|
+
*/
|
|
4704
|
+
export const PatchOrgHomeCellResponse = new PatchOrgHomeCellResponse$Type();
|
|
4705
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4591
4706
|
class DeleteOrgHomeCellRequest$Type extends MessageType {
|
|
4592
4707
|
constructor() {
|
|
4593
4708
|
super("replit.goval.api.lore.DeleteOrgHomeCellRequest", [
|
|
@@ -5374,6 +5489,7 @@ export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
|
|
|
5374
5489
|
{ name: "GetClusters", options: {}, I: GetClustersRequest, O: GetClustersResponse },
|
|
5375
5490
|
{ name: "GetOrgHomeCell", options: {}, I: GetOrgHomeCellRequest, O: GetOrgHomeCellResponse },
|
|
5376
5491
|
{ name: "SetOrgHomeCell", options: {}, I: SetOrgHomeCellRequest, O: SetOrgHomeCellResponse },
|
|
5492
|
+
{ name: "PatchOrgHomeCell", options: {}, I: PatchOrgHomeCellRequest, O: PatchOrgHomeCellResponse },
|
|
5377
5493
|
{ name: "DeleteOrgHomeCell", options: {}, I: DeleteOrgHomeCellRequest, O: DeleteOrgHomeCellResponse },
|
|
5378
5494
|
{ name: "TransferOrgHomeCell", options: {}, I: TransferOrgHomeCellRequest, O: TransferOrgHomeCellResponse },
|
|
5379
5495
|
{ name: "TransferReplFromOfflineCluster", options: {}, I: TransferReplFromOfflineClusterRequest, O: TransferReplFromOfflineClusterResponse },
|
|
@@ -1,27 +1,5 @@
|
|
|
1
1
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
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
3
|
import type { OrgDstAbortDiscardImportRequest } from "./org_transfer.js";
|
|
26
4
|
import type { OrgTransferRequest } from "./org_transfer.js";
|
|
27
5
|
import type { OrgDstTransferInRequest } from "./org_transfer.js";
|
|
@@ -87,52 +65,6 @@ export interface ITransferOrgHomeCellClient {
|
|
|
87
65
|
* @generated from protobuf rpc: SrcDelete
|
|
88
66
|
*/
|
|
89
67
|
srcDelete(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
|
|
90
|
-
/**
|
|
91
|
-
* Legacy methods remain unchanged until all participants migrate.
|
|
92
|
-
*
|
|
93
|
-
* @generated from protobuf rpc: SourceStopAndDrain
|
|
94
|
-
*/
|
|
95
|
-
sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
|
|
96
|
-
/**
|
|
97
|
-
* @generated from protobuf rpc: IsSourceFullyDrained
|
|
98
|
-
*/
|
|
99
|
-
isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
|
|
100
|
-
/**
|
|
101
|
-
* @generated from protobuf rpc: SourceRemoveTombstone
|
|
102
|
-
*/
|
|
103
|
-
sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
|
|
104
|
-
/**
|
|
105
|
-
* @generated from protobuf rpc: SourceTransferOut
|
|
106
|
-
*/
|
|
107
|
-
sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
|
|
108
|
-
/**
|
|
109
|
-
* @generated from protobuf rpc: DestinationTransferIn
|
|
110
|
-
*/
|
|
111
|
-
destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
|
|
112
|
-
/**
|
|
113
|
-
* @generated from protobuf rpc: DestinationAddTombstone
|
|
114
|
-
*/
|
|
115
|
-
destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
|
|
116
|
-
/**
|
|
117
|
-
* @generated from protobuf rpc: DestinationRemoveTombstone
|
|
118
|
-
*/
|
|
119
|
-
destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
|
|
120
|
-
/**
|
|
121
|
-
* @generated from protobuf rpc: SourceAbort
|
|
122
|
-
*/
|
|
123
|
-
sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
|
|
124
|
-
/**
|
|
125
|
-
* @generated from protobuf rpc: DestinationAbort
|
|
126
|
-
*/
|
|
127
|
-
destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
|
|
128
|
-
/**
|
|
129
|
-
* @generated from protobuf rpc: SourceCleanUpTransferData
|
|
130
|
-
*/
|
|
131
|
-
sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
|
|
132
|
-
/**
|
|
133
|
-
* @generated from protobuf rpc: SourceDelete
|
|
134
|
-
*/
|
|
135
|
-
sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
|
|
136
68
|
}
|
|
137
69
|
/**
|
|
138
70
|
* TransferOrgHomeCell defines the phased cell transfer for an org home cell.
|
|
@@ -197,50 +129,4 @@ export declare class TransferOrgHomeCellClient implements ITransferOrgHomeCellCl
|
|
|
197
129
|
* @generated from protobuf rpc: SrcDelete
|
|
198
130
|
*/
|
|
199
131
|
srcDelete(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
|
|
200
|
-
/**
|
|
201
|
-
* Legacy methods remain unchanged until all participants migrate.
|
|
202
|
-
*
|
|
203
|
-
* @generated from protobuf rpc: SourceStopAndDrain
|
|
204
|
-
*/
|
|
205
|
-
sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
|
|
206
|
-
/**
|
|
207
|
-
* @generated from protobuf rpc: IsSourceFullyDrained
|
|
208
|
-
*/
|
|
209
|
-
isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
|
|
210
|
-
/**
|
|
211
|
-
* @generated from protobuf rpc: SourceRemoveTombstone
|
|
212
|
-
*/
|
|
213
|
-
sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
|
|
214
|
-
/**
|
|
215
|
-
* @generated from protobuf rpc: SourceTransferOut
|
|
216
|
-
*/
|
|
217
|
-
sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
|
|
218
|
-
/**
|
|
219
|
-
* @generated from protobuf rpc: DestinationTransferIn
|
|
220
|
-
*/
|
|
221
|
-
destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
|
|
222
|
-
/**
|
|
223
|
-
* @generated from protobuf rpc: DestinationAddTombstone
|
|
224
|
-
*/
|
|
225
|
-
destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
|
|
226
|
-
/**
|
|
227
|
-
* @generated from protobuf rpc: DestinationRemoveTombstone
|
|
228
|
-
*/
|
|
229
|
-
destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
|
|
230
|
-
/**
|
|
231
|
-
* @generated from protobuf rpc: SourceAbort
|
|
232
|
-
*/
|
|
233
|
-
sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
|
|
234
|
-
/**
|
|
235
|
-
* @generated from protobuf rpc: DestinationAbort
|
|
236
|
-
*/
|
|
237
|
-
destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
|
|
238
|
-
/**
|
|
239
|
-
* @generated from protobuf rpc: SourceCleanUpTransferData
|
|
240
|
-
*/
|
|
241
|
-
sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
|
|
242
|
-
/**
|
|
243
|
-
* @generated from protobuf rpc: SourceDelete
|
|
244
|
-
*/
|
|
245
|
-
sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
|
|
246
132
|
}
|