@replit/protocol 0.5.0 → 0.6.1
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/jetplane/repl/repl.d.ts +40 -8
- package/dist/api/jetplane/repl/repl.js +68 -16
- package/dist/api/lore/service.client.d.ts +126 -12
- package/dist/api/lore/service.client.js +94 -23
- package/dist/api/lore/service.d.ts +595 -3
- package/dist/api/lore/service.js +1354 -174
- 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 -327
- package/dist/api/lore/transfer/transfer.client.js +3 -194
- package/dist/api/lore/transfer/transfer.d.ts +1 -700
- package/dist/api/lore/transfer/transfer.js +1 -1347
- package/dist/api/repl/repl.d.ts +8 -0
- package/dist/api/repl/repl.js +8 -0
- package/dist/api/signing.d.ts +15 -1
- package/dist/api/signing.js +17 -1
- package/dist/api/types.d.ts +12 -74
- package/dist/api/types.js +9 -146
- package/iotester/index.d.ts +4911 -8252
- package/iotester/index.js +12430 -20151
- package/main/index.d.ts +4911 -8252
- package/main/index.js +12430 -20151
- 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
|
*/
|
|
@@ -73,14 +73,6 @@ export interface SandboxSpec {
|
|
|
73
73
|
* @generated from protobuf field: replit.goval.api.oci.OciRuntimeProfile oci_runtime_profile = 1
|
|
74
74
|
*/
|
|
75
75
|
ociRuntimeProfile?: OciRuntimeProfile;
|
|
76
|
-
/**
|
|
77
|
-
* @generated from protobuf field: repeated replit.goval.api.jetplane.repl.SandboxEndpoint endpoints = 2
|
|
78
|
-
*/
|
|
79
|
-
endpoints: SandboxEndpoint[];
|
|
80
|
-
/**
|
|
81
|
-
* @generated from protobuf field: optional string portable_spec_yaml = 3
|
|
82
|
-
*/
|
|
83
|
-
portableSpecYaml?: string;
|
|
84
76
|
/**
|
|
85
77
|
* @generated from protobuf field: optional string suggested_size = 4
|
|
86
78
|
*/
|
|
@@ -383,6 +375,14 @@ export interface CreateReplRequest {
|
|
|
383
375
|
* @generated from protobuf field: replit.goval.api.jetplane.repl.ImageSource image = 9
|
|
384
376
|
*/
|
|
385
377
|
image: ImageSource;
|
|
378
|
+
} | {
|
|
379
|
+
oneofKind: "template";
|
|
380
|
+
/**
|
|
381
|
+
* Fork from the active revision of a cell-local template.
|
|
382
|
+
*
|
|
383
|
+
* @generated from protobuf field: replit.goval.api.jetplane.repl.TemplateSource template = 12
|
|
384
|
+
*/
|
|
385
|
+
template: TemplateSource;
|
|
386
386
|
} | {
|
|
387
387
|
oneofKind: undefined;
|
|
388
388
|
};
|
|
@@ -543,6 +543,22 @@ export interface ImageSource {
|
|
|
543
543
|
*/
|
|
544
544
|
imageId: string;
|
|
545
545
|
}
|
|
546
|
+
/**
|
|
547
|
+
* TemplateSource creates a repl from the active revision of a template
|
|
548
|
+
* published to this cell.
|
|
549
|
+
*
|
|
550
|
+
* @generated from protobuf message replit.goval.api.jetplane.repl.TemplateSource
|
|
551
|
+
*/
|
|
552
|
+
export interface TemplateSource {
|
|
553
|
+
/**
|
|
554
|
+
* Publisher-chosen stable name for the template, such as "base_repl".
|
|
555
|
+
* Must match [a-z0-9][a-z0-9_-]{0,62}. The cell resolves the active
|
|
556
|
+
* revision; callers never name one.
|
|
557
|
+
*
|
|
558
|
+
* @generated from protobuf field: string template_id = 1
|
|
559
|
+
*/
|
|
560
|
+
templateId: string;
|
|
561
|
+
}
|
|
546
562
|
/**
|
|
547
563
|
* TransferSource registers a repl that has been transferred from another
|
|
548
564
|
* cluster. Lore is responsible for copying all manifests from the source
|
|
@@ -764,6 +780,12 @@ export interface CreateSandboxRequest_Source {
|
|
|
764
780
|
* @generated from protobuf field: replit.goval.api.jetplane.repl.CreateSandboxRequest.Source.SourceTransfer transfer = 3
|
|
765
781
|
*/
|
|
766
782
|
transfer: CreateSandboxRequest_Source_SourceTransfer;
|
|
783
|
+
} | {
|
|
784
|
+
oneofKind: "template";
|
|
785
|
+
/**
|
|
786
|
+
* @generated from protobuf field: replit.goval.api.jetplane.repl.TemplateSource template = 4
|
|
787
|
+
*/
|
|
788
|
+
template: TemplateSource;
|
|
767
789
|
} | {
|
|
768
790
|
oneofKind: undefined;
|
|
769
791
|
};
|
|
@@ -1540,6 +1562,16 @@ declare class ImageSource$Type extends MessageType<ImageSource> {
|
|
|
1540
1562
|
* @generated MessageType for protobuf message replit.goval.api.jetplane.repl.ImageSource
|
|
1541
1563
|
*/
|
|
1542
1564
|
export declare const ImageSource: ImageSource$Type;
|
|
1565
|
+
declare class TemplateSource$Type extends MessageType<TemplateSource> {
|
|
1566
|
+
constructor();
|
|
1567
|
+
create(value?: PartialMessage<TemplateSource>): TemplateSource;
|
|
1568
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TemplateSource): TemplateSource;
|
|
1569
|
+
internalBinaryWrite(message: TemplateSource, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1570
|
+
}
|
|
1571
|
+
/**
|
|
1572
|
+
* @generated MessageType for protobuf message replit.goval.api.jetplane.repl.TemplateSource
|
|
1573
|
+
*/
|
|
1574
|
+
export declare const TemplateSource: TemplateSource$Type;
|
|
1543
1575
|
declare class TransferSource$Type extends MessageType<TransferSource> {
|
|
1544
1576
|
constructor();
|
|
1545
1577
|
create(value?: PartialMessage<TransferSource>): TransferSource;
|
|
@@ -287,8 +287,6 @@ class SandboxSpec$Type extends MessageType {
|
|
|
287
287
|
constructor() {
|
|
288
288
|
super("replit.goval.api.jetplane.repl.SandboxSpec", [
|
|
289
289
|
{ no: 1, name: "oci_runtime_profile", kind: "message", T: () => OciRuntimeProfile },
|
|
290
|
-
{ no: 2, name: "endpoints", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SandboxEndpoint },
|
|
291
|
-
{ no: 3, name: "portable_spec_yaml", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
292
290
|
{ no: 4, name: "suggested_size", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
293
291
|
{ no: 5, name: "environment_build", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
294
292
|
{ no: 6, name: "network_policy", kind: "message", T: () => NetworkPolicy }
|
|
@@ -296,7 +294,6 @@ class SandboxSpec$Type extends MessageType {
|
|
|
296
294
|
}
|
|
297
295
|
create(value) {
|
|
298
296
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
299
|
-
message.endpoints = [];
|
|
300
297
|
message.environmentBuild = false;
|
|
301
298
|
if (value !== undefined)
|
|
302
299
|
reflectionMergePartial(this, message, value);
|
|
@@ -310,12 +307,6 @@ class SandboxSpec$Type extends MessageType {
|
|
|
310
307
|
case /* replit.goval.api.oci.OciRuntimeProfile oci_runtime_profile */ 1:
|
|
311
308
|
message.ociRuntimeProfile = OciRuntimeProfile.internalBinaryRead(reader, reader.uint32(), options, message.ociRuntimeProfile);
|
|
312
309
|
break;
|
|
313
|
-
case /* repeated replit.goval.api.jetplane.repl.SandboxEndpoint endpoints */ 2:
|
|
314
|
-
message.endpoints.push(SandboxEndpoint.internalBinaryRead(reader, reader.uint32(), options));
|
|
315
|
-
break;
|
|
316
|
-
case /* optional string portable_spec_yaml */ 3:
|
|
317
|
-
message.portableSpecYaml = reader.string();
|
|
318
|
-
break;
|
|
319
310
|
case /* optional string suggested_size */ 4:
|
|
320
311
|
message.suggestedSize = reader.string();
|
|
321
312
|
break;
|
|
@@ -340,12 +331,6 @@ class SandboxSpec$Type extends MessageType {
|
|
|
340
331
|
/* replit.goval.api.oci.OciRuntimeProfile oci_runtime_profile = 1; */
|
|
341
332
|
if (message.ociRuntimeProfile)
|
|
342
333
|
OciRuntimeProfile.internalBinaryWrite(message.ociRuntimeProfile, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
343
|
-
/* repeated replit.goval.api.jetplane.repl.SandboxEndpoint endpoints = 2; */
|
|
344
|
-
for (let i = 0; i < message.endpoints.length; i++)
|
|
345
|
-
SandboxEndpoint.internalBinaryWrite(message.endpoints[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
346
|
-
/* optional string portable_spec_yaml = 3; */
|
|
347
|
-
if (message.portableSpecYaml !== undefined)
|
|
348
|
-
writer.tag(3, WireType.LengthDelimited).string(message.portableSpecYaml);
|
|
349
334
|
/* optional string suggested_size = 4; */
|
|
350
335
|
if (message.suggestedSize !== undefined)
|
|
351
336
|
writer.tag(4, WireType.LengthDelimited).string(message.suggestedSize);
|
|
@@ -811,6 +796,7 @@ class CreateReplRequest$Type extends MessageType {
|
|
|
811
796
|
{ no: 5, name: "transfer", kind: "message", oneof: "source", T: () => TransferSource },
|
|
812
797
|
{ no: 8, name: "checkpoint", kind: "message", oneof: "source", T: () => CheckpointSource },
|
|
813
798
|
{ no: 9, name: "image", kind: "message", oneof: "source", T: () => ImageSource },
|
|
799
|
+
{ no: 12, name: "template", kind: "message", oneof: "source", T: () => TemplateSource },
|
|
814
800
|
{ no: 6, name: "resource_options", kind: "message", T: () => ResourceOptions },
|
|
815
801
|
{ no: 7, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
816
802
|
{ no: 10, name: "mode", kind: "enum", T: () => ["replit.goval.api.jetplane.repl.ReplMode", ReplMode, "REPL_MODE_"] },
|
|
@@ -871,6 +857,12 @@ class CreateReplRequest$Type extends MessageType {
|
|
|
871
857
|
image: ImageSource.internalBinaryRead(reader, reader.uint32(), options, message.source.image)
|
|
872
858
|
};
|
|
873
859
|
break;
|
|
860
|
+
case /* replit.goval.api.jetplane.repl.TemplateSource template */ 12:
|
|
861
|
+
message.source = {
|
|
862
|
+
oneofKind: "template",
|
|
863
|
+
template: TemplateSource.internalBinaryRead(reader, reader.uint32(), options, message.source.template)
|
|
864
|
+
};
|
|
865
|
+
break;
|
|
874
866
|
case /* replit.goval.api.jetplane.repl.ResourceOptions resource_options */ 6:
|
|
875
867
|
message.resourceOptions = ResourceOptions.internalBinaryRead(reader, reader.uint32(), options, message.resourceOptions);
|
|
876
868
|
break;
|
|
@@ -928,6 +920,9 @@ class CreateReplRequest$Type extends MessageType {
|
|
|
928
920
|
/* replit.goval.api.jetplane.repl.ExtraMount extra_mount = 11; */
|
|
929
921
|
if (message.extraMount)
|
|
930
922
|
ExtraMount.internalBinaryWrite(message.extraMount, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
923
|
+
/* replit.goval.api.jetplane.repl.TemplateSource template = 12; */
|
|
924
|
+
if (message.source.oneofKind === "template")
|
|
925
|
+
TemplateSource.internalBinaryWrite(message.source.template, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
931
926
|
let u = options.writeUnknownFields;
|
|
932
927
|
if (u !== false)
|
|
933
928
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1252,6 +1247,53 @@ class ImageSource$Type extends MessageType {
|
|
|
1252
1247
|
*/
|
|
1253
1248
|
export const ImageSource = new ImageSource$Type();
|
|
1254
1249
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1250
|
+
class TemplateSource$Type extends MessageType {
|
|
1251
|
+
constructor() {
|
|
1252
|
+
super("replit.goval.api.jetplane.repl.TemplateSource", [
|
|
1253
|
+
{ no: 1, name: "template_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1254
|
+
]);
|
|
1255
|
+
}
|
|
1256
|
+
create(value) {
|
|
1257
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1258
|
+
message.templateId = "";
|
|
1259
|
+
if (value !== undefined)
|
|
1260
|
+
reflectionMergePartial(this, message, value);
|
|
1261
|
+
return message;
|
|
1262
|
+
}
|
|
1263
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1264
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1265
|
+
while (reader.pos < end) {
|
|
1266
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1267
|
+
switch (fieldNo) {
|
|
1268
|
+
case /* string template_id */ 1:
|
|
1269
|
+
message.templateId = reader.string();
|
|
1270
|
+
break;
|
|
1271
|
+
default:
|
|
1272
|
+
let u = options.readUnknownField;
|
|
1273
|
+
if (u === "throw")
|
|
1274
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1275
|
+
let d = reader.skip(wireType);
|
|
1276
|
+
if (u !== false)
|
|
1277
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
return message;
|
|
1281
|
+
}
|
|
1282
|
+
internalBinaryWrite(message, writer, options) {
|
|
1283
|
+
/* string template_id = 1; */
|
|
1284
|
+
if (message.templateId !== "")
|
|
1285
|
+
writer.tag(1, WireType.LengthDelimited).string(message.templateId);
|
|
1286
|
+
let u = options.writeUnknownFields;
|
|
1287
|
+
if (u !== false)
|
|
1288
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1289
|
+
return writer;
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* @generated MessageType for protobuf message replit.goval.api.jetplane.repl.TemplateSource
|
|
1294
|
+
*/
|
|
1295
|
+
export const TemplateSource = new TemplateSource$Type();
|
|
1296
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1255
1297
|
class TransferSource$Type extends MessageType {
|
|
1256
1298
|
constructor() {
|
|
1257
1299
|
super("replit.goval.api.jetplane.repl.TransferSource", [
|
|
@@ -1723,7 +1765,8 @@ class CreateSandboxRequest_Source$Type extends MessageType {
|
|
|
1723
1765
|
super("replit.goval.api.jetplane.repl.CreateSandboxRequest.Source", [
|
|
1724
1766
|
{ no: 1, name: "empty", kind: "message", oneof: "source", T: () => CreateSandboxRequest_Source_Empty },
|
|
1725
1767
|
{ no: 2, name: "image", kind: "message", oneof: "source", T: () => CreateSandboxRequest_Source_SourceImage },
|
|
1726
|
-
{ no: 3, name: "transfer", kind: "message", oneof: "source", T: () => CreateSandboxRequest_Source_SourceTransfer }
|
|
1768
|
+
{ no: 3, name: "transfer", kind: "message", oneof: "source", T: () => CreateSandboxRequest_Source_SourceTransfer },
|
|
1769
|
+
{ no: 4, name: "template", kind: "message", oneof: "source", T: () => TemplateSource }
|
|
1727
1770
|
]);
|
|
1728
1771
|
}
|
|
1729
1772
|
create(value) {
|
|
@@ -1756,6 +1799,12 @@ class CreateSandboxRequest_Source$Type extends MessageType {
|
|
|
1756
1799
|
transfer: CreateSandboxRequest_Source_SourceTransfer.internalBinaryRead(reader, reader.uint32(), options, message.source.transfer)
|
|
1757
1800
|
};
|
|
1758
1801
|
break;
|
|
1802
|
+
case /* replit.goval.api.jetplane.repl.TemplateSource template */ 4:
|
|
1803
|
+
message.source = {
|
|
1804
|
+
oneofKind: "template",
|
|
1805
|
+
template: TemplateSource.internalBinaryRead(reader, reader.uint32(), options, message.source.template)
|
|
1806
|
+
};
|
|
1807
|
+
break;
|
|
1759
1808
|
default:
|
|
1760
1809
|
let u = options.readUnknownField;
|
|
1761
1810
|
if (u === "throw")
|
|
@@ -1777,6 +1826,9 @@ class CreateSandboxRequest_Source$Type extends MessageType {
|
|
|
1777
1826
|
/* replit.goval.api.jetplane.repl.CreateSandboxRequest.Source.SourceTransfer transfer = 3; */
|
|
1778
1827
|
if (message.source.oneofKind === "transfer")
|
|
1779
1828
|
CreateSandboxRequest_Source_SourceTransfer.internalBinaryWrite(message.source.transfer, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1829
|
+
/* replit.goval.api.jetplane.repl.TemplateSource template = 4; */
|
|
1830
|
+
if (message.source.oneofKind === "template")
|
|
1831
|
+
TemplateSource.internalBinaryWrite(message.source.template, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1780
1832
|
let u = options.writeUnknownFields;
|
|
1781
1833
|
if (u !== false)
|
|
1782
1834
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -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";
|
|
@@ -34,6 +36,18 @@ import type { TransferUserResponse } from "./service.js";
|
|
|
34
36
|
import type { TransferUserRequest } from "./service.js";
|
|
35
37
|
import type { TransferReplsResponse } from "./service.js";
|
|
36
38
|
import type { TransferReplsRequest } from "./service.js";
|
|
39
|
+
import type { ReleaseTransferLockResponse } from "./service.js";
|
|
40
|
+
import type { ReleaseTransferLockRequest } from "./service.js";
|
|
41
|
+
import type { GetTransferLockResponse } from "./service.js";
|
|
42
|
+
import type { GetTransferLockRequest } from "./service.js";
|
|
43
|
+
import type { CancelQueuedTransferResponse } from "./service.js";
|
|
44
|
+
import type { CancelQueuedTransferRequest } from "./service.js";
|
|
45
|
+
import type { GetTransferQueueEntryResponse } from "./service.js";
|
|
46
|
+
import type { GetTransferQueueEntryRequest } from "./service.js";
|
|
47
|
+
import type { ListTransferQueueResponse } from "./service.js";
|
|
48
|
+
import type { ListTransferQueueRequest } from "./service.js";
|
|
49
|
+
import type { GetTransferQueueStatusResponse } from "./service.js";
|
|
50
|
+
import type { GetTransferQueueStatusRequest } from "./service.js";
|
|
37
51
|
import type { TransferResourceGroupResponse } from "./service.js";
|
|
38
52
|
import type { TransferResourceGroupRequest } from "./service.js";
|
|
39
53
|
import type { GetTransferStatusResponse } from "./service.js";
|
|
@@ -198,19 +212,63 @@ export interface ILoreClient {
|
|
|
198
212
|
*/
|
|
199
213
|
getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall<GetTransferStatusRequest, GetTransferStatusResponse>;
|
|
200
214
|
/**
|
|
201
|
-
* TransferResourceGroup
|
|
202
|
-
*
|
|
203
|
-
*
|
|
215
|
+
* TransferResourceGroup queues a resource-group transfer by default,
|
|
216
|
+
* returning queued=true and queue_status as a submission-time snapshot.
|
|
217
|
+
* transfer_id is empty until scheduler admission, or the existing queue row's
|
|
218
|
+
* assigned ID. With run_without_queue=true, it starts the coordinator
|
|
219
|
+
* workflow immediately and returns its workflow ID as transfer_id. Transfers
|
|
220
|
+
* run asynchronously.
|
|
204
221
|
*
|
|
205
222
|
* The destination is not a parameter: a group is only ever transferred into
|
|
206
223
|
* the home cell of the org that owns it.
|
|
207
224
|
*
|
|
208
|
-
* The coordinator is currently a skeleton that runs no transfer phases, so
|
|
209
|
-
* this starts a workflow that completes without moving anything.
|
|
210
|
-
*
|
|
211
225
|
* @generated from protobuf rpc: TransferResourceGroup
|
|
212
226
|
*/
|
|
213
227
|
transferResourceGroup(input: TransferResourceGroupRequest, options?: RpcOptions): UnaryCall<TransferResourceGroupRequest, TransferResourceGroupResponse>;
|
|
228
|
+
/**
|
|
229
|
+
* GetTransferQueueStatus summarizes the resource-group transfer queue,
|
|
230
|
+
* its admission lease, and the admission flag.
|
|
231
|
+
*
|
|
232
|
+
* @generated from protobuf rpc: GetTransferQueueStatus
|
|
233
|
+
*/
|
|
234
|
+
getTransferQueueStatus(input: GetTransferQueueStatusRequest, options?: RpcOptions): UnaryCall<GetTransferQueueStatusRequest, GetTransferQueueStatusResponse>;
|
|
235
|
+
/**
|
|
236
|
+
* ListTransferQueue lists resource-group transfer requests in admission
|
|
237
|
+
* order.
|
|
238
|
+
*
|
|
239
|
+
* @generated from protobuf rpc: ListTransferQueue
|
|
240
|
+
*/
|
|
241
|
+
listTransferQueue(input: ListTransferQueueRequest, options?: RpcOptions): UnaryCall<ListTransferQueueRequest, ListTransferQueueResponse>;
|
|
242
|
+
/**
|
|
243
|
+
* GetTransferQueueEntry returns a resource group's queue entry and its
|
|
244
|
+
* placement lock.
|
|
245
|
+
*
|
|
246
|
+
* @generated from protobuf rpc: GetTransferQueueEntry
|
|
247
|
+
*/
|
|
248
|
+
getTransferQueueEntry(input: GetTransferQueueEntryRequest, options?: RpcOptions): UnaryCall<GetTransferQueueEntryRequest, GetTransferQueueEntryResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* CancelQueuedTransfer withdraws a pending or deferred request. Admitted
|
|
251
|
+
* transfers are refused with FAILED_PRECONDITION.
|
|
252
|
+
*
|
|
253
|
+
* @generated from protobuf rpc: CancelQueuedTransfer
|
|
254
|
+
*/
|
|
255
|
+
cancelQueuedTransfer(input: CancelQueuedTransferRequest, options?: RpcOptions): UnaryCall<CancelQueuedTransferRequest, CancelQueuedTransferResponse>;
|
|
256
|
+
/**
|
|
257
|
+
* GetTransferLock describes the transfer holding a resource group or org
|
|
258
|
+
* placement.
|
|
259
|
+
*
|
|
260
|
+
* @generated from protobuf rpc: GetTransferLock
|
|
261
|
+
*/
|
|
262
|
+
getTransferLock(input: GetTransferLockRequest, options?: RpcOptions): UnaryCall<GetTransferLockRequest, GetTransferLockResponse>;
|
|
263
|
+
/**
|
|
264
|
+
* ReleaseTransferLock clears a lock left by a failed transfer. Unless force
|
|
265
|
+
* is set, it refuses while the workflow is running, unknown to Temporal, or
|
|
266
|
+
* its queue entry is still active. Releasing does not undo participant
|
|
267
|
+
* fences or tombstones.
|
|
268
|
+
*
|
|
269
|
+
* @generated from protobuf rpc: ReleaseTransferLock
|
|
270
|
+
*/
|
|
271
|
+
releaseTransferLock(input: ReleaseTransferLockRequest, options?: RpcOptions): UnaryCall<ReleaseTransferLockRequest, ReleaseTransferLockResponse>;
|
|
214
272
|
/**
|
|
215
273
|
* TransferRepls will initiate a bulk transfer of repls to a new cluster and
|
|
216
274
|
* return the transfer id.
|
|
@@ -294,6 +352,12 @@ export interface ILoreClient {
|
|
|
294
352
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
295
353
|
*/
|
|
296
354
|
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
355
|
+
/**
|
|
356
|
+
* PatchOrgHomeCell updates properties without changing the cell's identity.
|
|
357
|
+
*
|
|
358
|
+
* @generated from protobuf rpc: PatchOrgHomeCell
|
|
359
|
+
*/
|
|
360
|
+
patchOrgHomeCell(input: PatchOrgHomeCellRequest, options?: RpcOptions): UnaryCall<PatchOrgHomeCellRequest, PatchOrgHomeCellResponse>;
|
|
297
361
|
/**
|
|
298
362
|
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
299
363
|
*
|
|
@@ -474,19 +538,63 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
474
538
|
*/
|
|
475
539
|
getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall<GetTransferStatusRequest, GetTransferStatusResponse>;
|
|
476
540
|
/**
|
|
477
|
-
* TransferResourceGroup
|
|
478
|
-
*
|
|
479
|
-
*
|
|
541
|
+
* TransferResourceGroup queues a resource-group transfer by default,
|
|
542
|
+
* returning queued=true and queue_status as a submission-time snapshot.
|
|
543
|
+
* transfer_id is empty until scheduler admission, or the existing queue row's
|
|
544
|
+
* assigned ID. With run_without_queue=true, it starts the coordinator
|
|
545
|
+
* workflow immediately and returns its workflow ID as transfer_id. Transfers
|
|
546
|
+
* run asynchronously.
|
|
480
547
|
*
|
|
481
548
|
* The destination is not a parameter: a group is only ever transferred into
|
|
482
549
|
* the home cell of the org that owns it.
|
|
483
550
|
*
|
|
484
|
-
* The coordinator is currently a skeleton that runs no transfer phases, so
|
|
485
|
-
* this starts a workflow that completes without moving anything.
|
|
486
|
-
*
|
|
487
551
|
* @generated from protobuf rpc: TransferResourceGroup
|
|
488
552
|
*/
|
|
489
553
|
transferResourceGroup(input: TransferResourceGroupRequest, options?: RpcOptions): UnaryCall<TransferResourceGroupRequest, TransferResourceGroupResponse>;
|
|
554
|
+
/**
|
|
555
|
+
* GetTransferQueueStatus summarizes the resource-group transfer queue,
|
|
556
|
+
* its admission lease, and the admission flag.
|
|
557
|
+
*
|
|
558
|
+
* @generated from protobuf rpc: GetTransferQueueStatus
|
|
559
|
+
*/
|
|
560
|
+
getTransferQueueStatus(input: GetTransferQueueStatusRequest, options?: RpcOptions): UnaryCall<GetTransferQueueStatusRequest, GetTransferQueueStatusResponse>;
|
|
561
|
+
/**
|
|
562
|
+
* ListTransferQueue lists resource-group transfer requests in admission
|
|
563
|
+
* order.
|
|
564
|
+
*
|
|
565
|
+
* @generated from protobuf rpc: ListTransferQueue
|
|
566
|
+
*/
|
|
567
|
+
listTransferQueue(input: ListTransferQueueRequest, options?: RpcOptions): UnaryCall<ListTransferQueueRequest, ListTransferQueueResponse>;
|
|
568
|
+
/**
|
|
569
|
+
* GetTransferQueueEntry returns a resource group's queue entry and its
|
|
570
|
+
* placement lock.
|
|
571
|
+
*
|
|
572
|
+
* @generated from protobuf rpc: GetTransferQueueEntry
|
|
573
|
+
*/
|
|
574
|
+
getTransferQueueEntry(input: GetTransferQueueEntryRequest, options?: RpcOptions): UnaryCall<GetTransferQueueEntryRequest, GetTransferQueueEntryResponse>;
|
|
575
|
+
/**
|
|
576
|
+
* CancelQueuedTransfer withdraws a pending or deferred request. Admitted
|
|
577
|
+
* transfers are refused with FAILED_PRECONDITION.
|
|
578
|
+
*
|
|
579
|
+
* @generated from protobuf rpc: CancelQueuedTransfer
|
|
580
|
+
*/
|
|
581
|
+
cancelQueuedTransfer(input: CancelQueuedTransferRequest, options?: RpcOptions): UnaryCall<CancelQueuedTransferRequest, CancelQueuedTransferResponse>;
|
|
582
|
+
/**
|
|
583
|
+
* GetTransferLock describes the transfer holding a resource group or org
|
|
584
|
+
* placement.
|
|
585
|
+
*
|
|
586
|
+
* @generated from protobuf rpc: GetTransferLock
|
|
587
|
+
*/
|
|
588
|
+
getTransferLock(input: GetTransferLockRequest, options?: RpcOptions): UnaryCall<GetTransferLockRequest, GetTransferLockResponse>;
|
|
589
|
+
/**
|
|
590
|
+
* ReleaseTransferLock clears a lock left by a failed transfer. Unless force
|
|
591
|
+
* is set, it refuses while the workflow is running, unknown to Temporal, or
|
|
592
|
+
* its queue entry is still active. Releasing does not undo participant
|
|
593
|
+
* fences or tombstones.
|
|
594
|
+
*
|
|
595
|
+
* @generated from protobuf rpc: ReleaseTransferLock
|
|
596
|
+
*/
|
|
597
|
+
releaseTransferLock(input: ReleaseTransferLockRequest, options?: RpcOptions): UnaryCall<ReleaseTransferLockRequest, ReleaseTransferLockResponse>;
|
|
490
598
|
/**
|
|
491
599
|
* TransferRepls will initiate a bulk transfer of repls to a new cluster and
|
|
492
600
|
* return the transfer id.
|
|
@@ -570,6 +678,12 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
570
678
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
571
679
|
*/
|
|
572
680
|
setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
|
|
681
|
+
/**
|
|
682
|
+
* PatchOrgHomeCell updates properties without changing the cell's identity.
|
|
683
|
+
*
|
|
684
|
+
* @generated from protobuf rpc: PatchOrgHomeCell
|
|
685
|
+
*/
|
|
686
|
+
patchOrgHomeCell(input: PatchOrgHomeCellRequest, options?: RpcOptions): UnaryCall<PatchOrgHomeCellRequest, PatchOrgHomeCellResponse>;
|
|
573
687
|
/**
|
|
574
688
|
* DeleteOrgHomeCell removes the persisted home cell for an org.
|
|
575
689
|
*
|