@replit/protocol 0.6.0 → 0.6.2

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.
@@ -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);
@@ -36,6 +36,18 @@ import type { TransferUserResponse } from "./service.js";
36
36
  import type { TransferUserRequest } from "./service.js";
37
37
  import type { TransferReplsResponse } from "./service.js";
38
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";
39
51
  import type { TransferResourceGroupResponse } from "./service.js";
40
52
  import type { TransferResourceGroupRequest } from "./service.js";
41
53
  import type { GetTransferStatusResponse } from "./service.js";
@@ -200,19 +212,63 @@ export interface ILoreClient {
200
212
  */
201
213
  getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall<GetTransferStatusRequest, GetTransferStatusResponse>;
202
214
  /**
203
- * TransferResourceGroup starts the cell-transfer coordinator workflow for a
204
- * resource group and returns immediately with its transfer id; the transfer
205
- * runs asynchronously.
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.
206
221
  *
207
222
  * The destination is not a parameter: a group is only ever transferred into
208
223
  * the home cell of the org that owns it.
209
224
  *
210
- * The coordinator is currently a skeleton that runs no transfer phases, so
211
- * this starts a workflow that completes without moving anything.
212
- *
213
225
  * @generated from protobuf rpc: TransferResourceGroup
214
226
  */
215
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>;
216
272
  /**
217
273
  * TransferRepls will initiate a bulk transfer of repls to a new cluster and
218
274
  * return the transfer id.
@@ -482,19 +538,63 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
482
538
  */
483
539
  getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall<GetTransferStatusRequest, GetTransferStatusResponse>;
484
540
  /**
485
- * TransferResourceGroup starts the cell-transfer coordinator workflow for a
486
- * resource group and returns immediately with its transfer id; the transfer
487
- * runs asynchronously.
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.
488
547
  *
489
548
  * The destination is not a parameter: a group is only ever transferred into
490
549
  * the home cell of the org that owns it.
491
550
  *
492
- * The coordinator is currently a skeleton that runs no transfer phases, so
493
- * this starts a workflow that completes without moving anything.
494
- *
495
551
  * @generated from protobuf rpc: TransferResourceGroup
496
552
  */
497
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>;
498
598
  /**
499
599
  * TransferRepls will initiate a bulk transfer of repls to a new cluster and
500
600
  * return the transfer id.
@@ -183,22 +183,84 @@ export class LoreClient {
183
183
  return stackIntercept("unary", this._transport, method, opt, input);
184
184
  }
185
185
  /**
186
- * TransferResourceGroup starts the cell-transfer coordinator workflow for a
187
- * resource group and returns immediately with its transfer id; the transfer
188
- * runs asynchronously.
186
+ * TransferResourceGroup queues a resource-group transfer by default,
187
+ * returning queued=true and queue_status as a submission-time snapshot.
188
+ * transfer_id is empty until scheduler admission, or the existing queue row's
189
+ * assigned ID. With run_without_queue=true, it starts the coordinator
190
+ * workflow immediately and returns its workflow ID as transfer_id. Transfers
191
+ * run asynchronously.
189
192
  *
190
193
  * The destination is not a parameter: a group is only ever transferred into
191
194
  * the home cell of the org that owns it.
192
195
  *
193
- * The coordinator is currently a skeleton that runs no transfer phases, so
194
- * this starts a workflow that completes without moving anything.
195
- *
196
196
  * @generated from protobuf rpc: TransferResourceGroup
197
197
  */
198
198
  transferResourceGroup(input, options) {
199
199
  const method = this.methods[17], opt = this._transport.mergeOptions(options);
200
200
  return stackIntercept("unary", this._transport, method, opt, input);
201
201
  }
202
+ /**
203
+ * GetTransferQueueStatus summarizes the resource-group transfer queue,
204
+ * its admission lease, and the admission flag.
205
+ *
206
+ * @generated from protobuf rpc: GetTransferQueueStatus
207
+ */
208
+ getTransferQueueStatus(input, options) {
209
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
210
+ return stackIntercept("unary", this._transport, method, opt, input);
211
+ }
212
+ /**
213
+ * ListTransferQueue lists resource-group transfer requests in admission
214
+ * order.
215
+ *
216
+ * @generated from protobuf rpc: ListTransferQueue
217
+ */
218
+ listTransferQueue(input, options) {
219
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
220
+ return stackIntercept("unary", this._transport, method, opt, input);
221
+ }
222
+ /**
223
+ * GetTransferQueueEntry returns a resource group's queue entry and its
224
+ * placement lock.
225
+ *
226
+ * @generated from protobuf rpc: GetTransferQueueEntry
227
+ */
228
+ getTransferQueueEntry(input, options) {
229
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
230
+ return stackIntercept("unary", this._transport, method, opt, input);
231
+ }
232
+ /**
233
+ * CancelQueuedTransfer withdraws a pending or deferred request. Admitted
234
+ * transfers are refused with FAILED_PRECONDITION.
235
+ *
236
+ * @generated from protobuf rpc: CancelQueuedTransfer
237
+ */
238
+ cancelQueuedTransfer(input, options) {
239
+ const method = this.methods[21], opt = this._transport.mergeOptions(options);
240
+ return stackIntercept("unary", this._transport, method, opt, input);
241
+ }
242
+ /**
243
+ * GetTransferLock describes the transfer holding a resource group or org
244
+ * placement.
245
+ *
246
+ * @generated from protobuf rpc: GetTransferLock
247
+ */
248
+ getTransferLock(input, options) {
249
+ const method = this.methods[22], opt = this._transport.mergeOptions(options);
250
+ return stackIntercept("unary", this._transport, method, opt, input);
251
+ }
252
+ /**
253
+ * ReleaseTransferLock clears a lock left by a failed transfer. Unless force
254
+ * is set, it refuses while the workflow is running, unknown to Temporal, or
255
+ * its queue entry is still active. Releasing does not undo participant
256
+ * fences or tombstones.
257
+ *
258
+ * @generated from protobuf rpc: ReleaseTransferLock
259
+ */
260
+ releaseTransferLock(input, options) {
261
+ const method = this.methods[23], opt = this._transport.mergeOptions(options);
262
+ return stackIntercept("unary", this._transport, method, opt, input);
263
+ }
202
264
  /**
203
265
  * TransferRepls will initiate a bulk transfer of repls to a new cluster and
204
266
  * return the transfer id.
@@ -206,7 +268,7 @@ export class LoreClient {
206
268
  * @generated from protobuf rpc: TransferRepls
207
269
  */
208
270
  transferRepls(input, options) {
209
- const method = this.methods[18], opt = this._transport.mergeOptions(options);
271
+ const method = this.methods[24], opt = this._transport.mergeOptions(options);
210
272
  return stackIntercept("unary", this._transport, method, opt, input);
211
273
  }
212
274
  /**
@@ -217,7 +279,7 @@ export class LoreClient {
217
279
  * @generated from protobuf rpc: TransferUser
218
280
  */
219
281
  transferUser(input, options) {
220
- const method = this.methods[19], opt = this._transport.mergeOptions(options);
282
+ const method = this.methods[25], opt = this._transport.mergeOptions(options);
221
283
  return stackIntercept("unary", this._transport, method, opt, input);
222
284
  }
223
285
  /**
@@ -229,7 +291,7 @@ export class LoreClient {
229
291
  * @generated from protobuf rpc: TakedownRepl
230
292
  */
231
293
  takedownRepl(input, options) {
232
- const method = this.methods[20], opt = this._transport.mergeOptions(options);
294
+ const method = this.methods[26], opt = this._transport.mergeOptions(options);
233
295
  return stackIntercept("unary", this._transport, method, opt, input);
234
296
  }
235
297
  /**
@@ -239,7 +301,7 @@ export class LoreClient {
239
301
  * @generated from protobuf rpc: SoftTakedownRepl
240
302
  */
241
303
  softTakedownRepl(input, options) {
242
- const method = this.methods[21], opt = this._transport.mergeOptions(options);
304
+ const method = this.methods[27], opt = this._transport.mergeOptions(options);
243
305
  return stackIntercept("unary", this._transport, method, opt, input);
244
306
  }
245
307
  /**
@@ -248,7 +310,7 @@ export class LoreClient {
248
310
  * @generated from protobuf rpc: RestoreRepl
249
311
  */
250
312
  restoreRepl(input, options) {
251
- const method = this.methods[22], opt = this._transport.mergeOptions(options);
313
+ const method = this.methods[28], opt = this._transport.mergeOptions(options);
252
314
  return stackIntercept("unary", this._transport, method, opt, input);
253
315
  }
254
316
  /**
@@ -257,7 +319,7 @@ export class LoreClient {
257
319
  * @generated from protobuf rpc: AddTombstone
258
320
  */
259
321
  addTombstone(input, options) {
260
- const method = this.methods[23], opt = this._transport.mergeOptions(options);
322
+ const method = this.methods[29], opt = this._transport.mergeOptions(options);
261
323
  return stackIntercept("unary", this._transport, method, opt, input);
262
324
  }
263
325
  /**
@@ -266,7 +328,7 @@ export class LoreClient {
266
328
  * @generated from protobuf rpc: RemoveTombstone
267
329
  */
268
330
  removeTombstone(input, options) {
269
- const method = this.methods[24], opt = this._transport.mergeOptions(options);
331
+ const method = this.methods[30], opt = this._transport.mergeOptions(options);
270
332
  return stackIntercept("unary", this._transport, method, opt, input);
271
333
  }
272
334
  /**
@@ -275,7 +337,7 @@ export class LoreClient {
275
337
  * @generated from protobuf rpc: BulkRemove
276
338
  */
277
339
  bulkRemove(input, options) {
278
- const method = this.methods[25], opt = this._transport.mergeOptions(options);
340
+ const method = this.methods[31], opt = this._transport.mergeOptions(options);
279
341
  return stackIntercept("unary", this._transport, method, opt, input);
280
342
  }
281
343
  /**
@@ -288,7 +350,7 @@ export class LoreClient {
288
350
  * @generated from protobuf rpc: DeleteRepl
289
351
  */
290
352
  deleteRepl(input, options) {
291
- const method = this.methods[26], opt = this._transport.mergeOptions(options);
353
+ const method = this.methods[32], opt = this._transport.mergeOptions(options);
292
354
  return stackIntercept("unary", this._transport, method, opt, input);
293
355
  }
294
356
  /**
@@ -297,7 +359,7 @@ export class LoreClient {
297
359
  * @generated from protobuf rpc: GetClusters
298
360
  */
299
361
  getClusters(input, options) {
300
- const method = this.methods[27], opt = this._transport.mergeOptions(options);
362
+ const method = this.methods[33], opt = this._transport.mergeOptions(options);
301
363
  return stackIntercept("unary", this._transport, method, opt, input);
302
364
  }
303
365
  /**
@@ -306,7 +368,7 @@ export class LoreClient {
306
368
  * @generated from protobuf rpc: GetOrgHomeCell
307
369
  */
308
370
  getOrgHomeCell(input, options) {
309
- const method = this.methods[28], opt = this._transport.mergeOptions(options);
371
+ const method = this.methods[34], opt = this._transport.mergeOptions(options);
310
372
  return stackIntercept("unary", this._transport, method, opt, input);
311
373
  }
312
374
  /**
@@ -315,7 +377,7 @@ export class LoreClient {
315
377
  * @generated from protobuf rpc: SetOrgHomeCell
316
378
  */
317
379
  setOrgHomeCell(input, options) {
318
- const method = this.methods[29], opt = this._transport.mergeOptions(options);
380
+ const method = this.methods[35], opt = this._transport.mergeOptions(options);
319
381
  return stackIntercept("unary", this._transport, method, opt, input);
320
382
  }
321
383
  /**
@@ -324,7 +386,7 @@ export class LoreClient {
324
386
  * @generated from protobuf rpc: PatchOrgHomeCell
325
387
  */
326
388
  patchOrgHomeCell(input, options) {
327
- const method = this.methods[30], opt = this._transport.mergeOptions(options);
389
+ const method = this.methods[36], opt = this._transport.mergeOptions(options);
328
390
  return stackIntercept("unary", this._transport, method, opt, input);
329
391
  }
330
392
  /**
@@ -333,7 +395,7 @@ export class LoreClient {
333
395
  * @generated from protobuf rpc: DeleteOrgHomeCell
334
396
  */
335
397
  deleteOrgHomeCell(input, options) {
336
- const method = this.methods[31], opt = this._transport.mergeOptions(options);
398
+ const method = this.methods[37], opt = this._transport.mergeOptions(options);
337
399
  return stackIntercept("unary", this._transport, method, opt, input);
338
400
  }
339
401
  /**
@@ -342,7 +404,7 @@ export class LoreClient {
342
404
  * @generated from protobuf rpc: TransferOrgHomeCell
343
405
  */
344
406
  transferOrgHomeCell(input, options) {
345
- const method = this.methods[32], opt = this._transport.mergeOptions(options);
407
+ const method = this.methods[38], opt = this._transport.mergeOptions(options);
346
408
  return stackIntercept("unary", this._transport, method, opt, input);
347
409
  }
348
410
  /**
@@ -356,7 +418,7 @@ export class LoreClient {
356
418
  * @generated from protobuf rpc: TransferReplFromOfflineCluster
357
419
  */
358
420
  transferReplFromOfflineCluster(input, options) {
359
- const method = this.methods[33], opt = this._transport.mergeOptions(options);
421
+ const method = this.methods[39], opt = this._transport.mergeOptions(options);
360
422
  return stackIntercept("unary", this._transport, method, opt, input);
361
423
  }
362
424
  /**
@@ -372,7 +434,7 @@ export class LoreClient {
372
434
  * @generated from protobuf rpc: ExportRepl
373
435
  */
374
436
  exportRepl(input, options) {
375
- const method = this.methods[34], opt = this._transport.mergeOptions(options);
437
+ const method = this.methods[40], opt = this._transport.mergeOptions(options);
376
438
  return stackIntercept("unary", this._transport, method, opt, input);
377
439
  }
378
440
  /**
@@ -385,7 +447,7 @@ export class LoreClient {
385
447
  * @generated from protobuf rpc: ImportRepl
386
448
  */
387
449
  importRepl(input, options) {
388
- const method = this.methods[35], opt = this._transport.mergeOptions(options);
450
+ const method = this.methods[41], opt = this._transport.mergeOptions(options);
389
451
  return stackIntercept("unary", this._transport, method, opt, input);
390
452
  }
391
453
  }