@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
|
@@ -183,22 +183,84 @@ export class LoreClient {
|
|
|
183
183
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
|
-
* TransferResourceGroup
|
|
187
|
-
*
|
|
188
|
-
*
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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,16 @@ export class LoreClient {
|
|
|
315
377
|
* @generated from protobuf rpc: SetOrgHomeCell
|
|
316
378
|
*/
|
|
317
379
|
setOrgHomeCell(input, options) {
|
|
318
|
-
const method = this.methods[
|
|
380
|
+
const method = this.methods[35], opt = this._transport.mergeOptions(options);
|
|
381
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* PatchOrgHomeCell updates properties without changing the cell's identity.
|
|
385
|
+
*
|
|
386
|
+
* @generated from protobuf rpc: PatchOrgHomeCell
|
|
387
|
+
*/
|
|
388
|
+
patchOrgHomeCell(input, options) {
|
|
389
|
+
const method = this.methods[36], opt = this._transport.mergeOptions(options);
|
|
319
390
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
320
391
|
}
|
|
321
392
|
/**
|
|
@@ -324,7 +395,7 @@ export class LoreClient {
|
|
|
324
395
|
* @generated from protobuf rpc: DeleteOrgHomeCell
|
|
325
396
|
*/
|
|
326
397
|
deleteOrgHomeCell(input, options) {
|
|
327
|
-
const method = this.methods[
|
|
398
|
+
const method = this.methods[37], opt = this._transport.mergeOptions(options);
|
|
328
399
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
329
400
|
}
|
|
330
401
|
/**
|
|
@@ -333,7 +404,7 @@ export class LoreClient {
|
|
|
333
404
|
* @generated from protobuf rpc: TransferOrgHomeCell
|
|
334
405
|
*/
|
|
335
406
|
transferOrgHomeCell(input, options) {
|
|
336
|
-
const method = this.methods[
|
|
407
|
+
const method = this.methods[38], opt = this._transport.mergeOptions(options);
|
|
337
408
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
338
409
|
}
|
|
339
410
|
/**
|
|
@@ -347,7 +418,7 @@ export class LoreClient {
|
|
|
347
418
|
* @generated from protobuf rpc: TransferReplFromOfflineCluster
|
|
348
419
|
*/
|
|
349
420
|
transferReplFromOfflineCluster(input, options) {
|
|
350
|
-
const method = this.methods[
|
|
421
|
+
const method = this.methods[39], opt = this._transport.mergeOptions(options);
|
|
351
422
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
352
423
|
}
|
|
353
424
|
/**
|
|
@@ -363,7 +434,7 @@ export class LoreClient {
|
|
|
363
434
|
* @generated from protobuf rpc: ExportRepl
|
|
364
435
|
*/
|
|
365
436
|
exportRepl(input, options) {
|
|
366
|
-
const method = this.methods[
|
|
437
|
+
const method = this.methods[40], opt = this._transport.mergeOptions(options);
|
|
367
438
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
368
439
|
}
|
|
369
440
|
/**
|
|
@@ -376,7 +447,7 @@ export class LoreClient {
|
|
|
376
447
|
* @generated from protobuf rpc: ImportRepl
|
|
377
448
|
*/
|
|
378
449
|
importRepl(input, options) {
|
|
379
|
-
const method = this.methods[
|
|
450
|
+
const method = this.methods[41], opt = this._transport.mergeOptions(options);
|
|
380
451
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
381
452
|
}
|
|
382
453
|
}
|