@replit/protocol 0.4.29 → 0.4.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/jetplane/repl/repl.client.d.ts +54 -8
- package/dist/api/jetplane/repl/repl.client.js +41 -12
- package/dist/api/jetplane/repl/repl.d.ts +345 -14
- package/dist/api/jetplane/repl/repl.js +663 -13
- package/dist/api/lore/lore.d.ts +6 -0
- package/dist/api/lore/lore.js +9 -1
- package/dist/api/lore/service.client.d.ts +134 -0
- package/dist/api/lore/service.client.js +107 -24
- package/dist/api/lore/service.d.ts +517 -0
- package/dist/api/lore/service.js +1155 -107
- package/dist/api/lore/transfer/org_transfer.client.d.ts +135 -0
- package/dist/api/lore/transfer/org_transfer.client.js +92 -0
- package/dist/api/lore/transfer/org_transfer.d.ts +636 -0
- package/dist/api/lore/transfer/org_transfer.js +1398 -0
- package/dist/api/oci/runtime_profile.d.ts +59 -0
- package/dist/api/oci/runtime_profile.js +105 -0
- package/dist/api/repl/repl.d.ts +7 -0
- package/dist/api/repl/repl.js +9 -1
- package/dist/api/signing.d.ts +21 -1
- package/dist/api/signing.js +25 -2
- package/dist/api/token/token.d.ts +13 -0
- package/dist/api/token/token.js +16 -1
- package/dist/api/types.d.ts +5 -0
- package/dist/api/types.js +9 -1
- package/dist/google/protobuf/any.d.ts +124 -0
- package/dist/google/protobuf/any.js +151 -0
- package/dist/google/protobuf/struct.d.ts +3 -3
- package/dist/google/protobuf/struct.js +3 -3
- package/dist/google/rpc/status.d.ts +35 -0
- package/dist/google/rpc/status.js +68 -0
- package/iotester/index.d.ts +8600 -2059
- package/iotester/index.js +22193 -5953
- package/main/index.d.ts +8600 -2059
- package/main/index.js +22193 -5953
- package/package.json +1 -1
|
@@ -8,6 +8,8 @@ import type { EvictReplResponse } from "./repl.js";
|
|
|
8
8
|
import type { EvictReplRequest } from "./repl.js";
|
|
9
9
|
import type { DeleteReplResponse } from "./repl.js";
|
|
10
10
|
import type { DeleteReplRequest } from "./repl.js";
|
|
11
|
+
import type { GetResourceGroupResponse } from "./repl.js";
|
|
12
|
+
import type { GetResourceGroupRequest } from "./repl.js";
|
|
11
13
|
import type { GetReplResponse } from "./repl.js";
|
|
12
14
|
import type { GetReplRequest } from "./repl.js";
|
|
13
15
|
import type { DeleteResourceGroupResponse } from "./repl.js";
|
|
@@ -16,6 +18,10 @@ import type { CreateResourceGroupResponse } from "./repl.js";
|
|
|
16
18
|
import type { CreateResourceGroupRequest } from "./repl.js";
|
|
17
19
|
import type { CreateReplResponse } from "./repl.js";
|
|
18
20
|
import type { CreateReplRequest } from "./repl.js";
|
|
21
|
+
import type { DeleteSandboxResponse } from "./repl.js";
|
|
22
|
+
import type { DeleteSandboxRequest } from "./repl.js";
|
|
23
|
+
import type { UpdateSandboxResponse } from "./repl.js";
|
|
24
|
+
import type { UpdateSandboxRequest } from "./repl.js";
|
|
19
25
|
import type { CreateSandboxResponse } from "./repl.js";
|
|
20
26
|
import type { CreateSandboxRequest } from "./repl.js";
|
|
21
27
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
@@ -34,6 +40,19 @@ export interface IReplServiceClient {
|
|
|
34
40
|
* @generated from protobuf rpc: CreateSandbox
|
|
35
41
|
*/
|
|
36
42
|
createSandbox(input: CreateSandboxRequest, options?: RpcOptions): UnaryCall<CreateSandboxRequest, CreateSandboxResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* UpdateSandbox replaces or removes a sandbox's extra mount. A running
|
|
45
|
+
* sandbox keeps its current mount until it is next placed.
|
|
46
|
+
*
|
|
47
|
+
* @generated from protobuf rpc: UpdateSandbox
|
|
48
|
+
*/
|
|
49
|
+
updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* DeleteSandbox soft-deletes a sandbox and evicts its running workload.
|
|
52
|
+
*
|
|
53
|
+
* @generated from protobuf rpc: DeleteSandbox
|
|
54
|
+
*/
|
|
55
|
+
deleteSandbox(input: DeleteSandboxRequest, options?: RpcOptions): UnaryCall<DeleteSandboxRequest, DeleteSandboxResponse>;
|
|
37
56
|
/**
|
|
38
57
|
* CreateRepl registers a new repl and creates its margarine manifests.
|
|
39
58
|
* The source field determines how disks are initialized (empty, forked
|
|
@@ -60,16 +79,23 @@ export interface IReplServiceClient {
|
|
|
60
79
|
* @generated from protobuf rpc: GetRepl
|
|
61
80
|
*/
|
|
62
81
|
getRepl(input: GetReplRequest, options?: RpcOptions): UnaryCall<GetReplRequest, GetReplResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* GetResourceGroup names every repl in a resource group. Jetplane holds
|
|
84
|
+
* the only authoritative membership: a repl's ID only hints at its group,
|
|
85
|
+
* because CreateRepl accepts a resource_group_id that need not match it.
|
|
86
|
+
* Returns NOT_FOUND when the group is not registered.
|
|
87
|
+
*
|
|
88
|
+
* @generated from protobuf rpc: GetResourceGroup
|
|
89
|
+
*/
|
|
90
|
+
getResourceGroup(input: GetResourceGroupRequest, options?: RpcOptions): UnaryCall<GetResourceGroupRequest, GetResourceGroupResponse>;
|
|
63
91
|
/**
|
|
64
92
|
* DeleteRepl synchronously soft-deletes a repl and its resources. GCS data
|
|
65
93
|
* and database metadata remain available until a separate cleanup run
|
|
66
94
|
* removes them after its configured retention period. After this RPC returns
|
|
67
95
|
* the repl is no longer visible to GetRepl or other queries.
|
|
68
96
|
*
|
|
69
|
-
* Idempotency: returns OK when the repl is live
|
|
70
|
-
*
|
|
71
|
-
* including repls that were never registered or were permanently removed
|
|
72
|
-
* after the retention period.
|
|
97
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
98
|
+
* no metadata row.
|
|
73
99
|
*
|
|
74
100
|
* @generated from protobuf rpc: DeleteRepl
|
|
75
101
|
*/
|
|
@@ -126,6 +152,19 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
126
152
|
* @generated from protobuf rpc: CreateSandbox
|
|
127
153
|
*/
|
|
128
154
|
createSandbox(input: CreateSandboxRequest, options?: RpcOptions): UnaryCall<CreateSandboxRequest, CreateSandboxResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* UpdateSandbox replaces or removes a sandbox's extra mount. A running
|
|
157
|
+
* sandbox keeps its current mount until it is next placed.
|
|
158
|
+
*
|
|
159
|
+
* @generated from protobuf rpc: UpdateSandbox
|
|
160
|
+
*/
|
|
161
|
+
updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* DeleteSandbox soft-deletes a sandbox and evicts its running workload.
|
|
164
|
+
*
|
|
165
|
+
* @generated from protobuf rpc: DeleteSandbox
|
|
166
|
+
*/
|
|
167
|
+
deleteSandbox(input: DeleteSandboxRequest, options?: RpcOptions): UnaryCall<DeleteSandboxRequest, DeleteSandboxResponse>;
|
|
129
168
|
/**
|
|
130
169
|
* CreateRepl registers a new repl and creates its margarine manifests.
|
|
131
170
|
* The source field determines how disks are initialized (empty, forked
|
|
@@ -152,16 +191,23 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
152
191
|
* @generated from protobuf rpc: GetRepl
|
|
153
192
|
*/
|
|
154
193
|
getRepl(input: GetReplRequest, options?: RpcOptions): UnaryCall<GetReplRequest, GetReplResponse>;
|
|
194
|
+
/**
|
|
195
|
+
* GetResourceGroup names every repl in a resource group. Jetplane holds
|
|
196
|
+
* the only authoritative membership: a repl's ID only hints at its group,
|
|
197
|
+
* because CreateRepl accepts a resource_group_id that need not match it.
|
|
198
|
+
* Returns NOT_FOUND when the group is not registered.
|
|
199
|
+
*
|
|
200
|
+
* @generated from protobuf rpc: GetResourceGroup
|
|
201
|
+
*/
|
|
202
|
+
getResourceGroup(input: GetResourceGroupRequest, options?: RpcOptions): UnaryCall<GetResourceGroupRequest, GetResourceGroupResponse>;
|
|
155
203
|
/**
|
|
156
204
|
* DeleteRepl synchronously soft-deletes a repl and its resources. GCS data
|
|
157
205
|
* and database metadata remain available until a separate cleanup run
|
|
158
206
|
* removes them after its configured retention period. After this RPC returns
|
|
159
207
|
* the repl is no longer visible to GetRepl or other queries.
|
|
160
208
|
*
|
|
161
|
-
* Idempotency: returns OK when the repl is live
|
|
162
|
-
*
|
|
163
|
-
* including repls that were never registered or were permanently removed
|
|
164
|
-
* after the retention period.
|
|
209
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
210
|
+
* no metadata row.
|
|
165
211
|
*
|
|
166
212
|
* @generated from protobuf rpc: DeleteRepl
|
|
167
213
|
*/
|
|
@@ -23,6 +23,25 @@ export class ReplServiceClient {
|
|
|
23
23
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
24
24
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* UpdateSandbox replaces or removes a sandbox's extra mount. A running
|
|
28
|
+
* sandbox keeps its current mount until it is next placed.
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf rpc: UpdateSandbox
|
|
31
|
+
*/
|
|
32
|
+
updateSandbox(input, options) {
|
|
33
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
34
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* DeleteSandbox soft-deletes a sandbox and evicts its running workload.
|
|
38
|
+
*
|
|
39
|
+
* @generated from protobuf rpc: DeleteSandbox
|
|
40
|
+
*/
|
|
41
|
+
deleteSandbox(input, options) {
|
|
42
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
43
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
44
|
+
}
|
|
26
45
|
/**
|
|
27
46
|
* CreateRepl registers a new repl and creates its margarine manifests.
|
|
28
47
|
* The source field determines how disks are initialized (empty, forked
|
|
@@ -31,7 +50,7 @@ export class ReplServiceClient {
|
|
|
31
50
|
* @generated from protobuf rpc: CreateRepl
|
|
32
51
|
*/
|
|
33
52
|
createRepl(input, options) {
|
|
34
|
-
const method = this.methods[
|
|
53
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
35
54
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
36
55
|
}
|
|
37
56
|
/**
|
|
@@ -40,7 +59,7 @@ export class ReplServiceClient {
|
|
|
40
59
|
* @generated from protobuf rpc: CreateResourceGroup
|
|
41
60
|
*/
|
|
42
61
|
createResourceGroup(input, options) {
|
|
43
|
-
const method = this.methods[
|
|
62
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
44
63
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
45
64
|
}
|
|
46
65
|
/**
|
|
@@ -49,7 +68,7 @@ export class ReplServiceClient {
|
|
|
49
68
|
* @generated from protobuf rpc: DeleteResourceGroup
|
|
50
69
|
*/
|
|
51
70
|
deleteResourceGroup(input, options) {
|
|
52
|
-
const method = this.methods[
|
|
71
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
53
72
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
54
73
|
}
|
|
55
74
|
/**
|
|
@@ -58,7 +77,19 @@ export class ReplServiceClient {
|
|
|
58
77
|
* @generated from protobuf rpc: GetRepl
|
|
59
78
|
*/
|
|
60
79
|
getRepl(input, options) {
|
|
61
|
-
const method = this.methods[
|
|
80
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
81
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* GetResourceGroup names every repl in a resource group. Jetplane holds
|
|
85
|
+
* the only authoritative membership: a repl's ID only hints at its group,
|
|
86
|
+
* because CreateRepl accepts a resource_group_id that need not match it.
|
|
87
|
+
* Returns NOT_FOUND when the group is not registered.
|
|
88
|
+
*
|
|
89
|
+
* @generated from protobuf rpc: GetResourceGroup
|
|
90
|
+
*/
|
|
91
|
+
getResourceGroup(input, options) {
|
|
92
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
62
93
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
63
94
|
}
|
|
64
95
|
/**
|
|
@@ -67,15 +98,13 @@ export class ReplServiceClient {
|
|
|
67
98
|
* removes them after its configured retention period. After this RPC returns
|
|
68
99
|
* the repl is no longer visible to GetRepl or other queries.
|
|
69
100
|
*
|
|
70
|
-
* Idempotency: returns OK when the repl is live
|
|
71
|
-
*
|
|
72
|
-
* including repls that were never registered or were permanently removed
|
|
73
|
-
* after the retention period.
|
|
101
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
102
|
+
* no metadata row.
|
|
74
103
|
*
|
|
75
104
|
* @generated from protobuf rpc: DeleteRepl
|
|
76
105
|
*/
|
|
77
106
|
deleteRepl(input, options) {
|
|
78
|
-
const method = this.methods[
|
|
107
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
79
108
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
80
109
|
}
|
|
81
110
|
/**
|
|
@@ -86,7 +115,7 @@ export class ReplServiceClient {
|
|
|
86
115
|
* @generated from protobuf rpc: EvictRepl
|
|
87
116
|
*/
|
|
88
117
|
evictRepl(input, options) {
|
|
89
|
-
const method = this.methods[
|
|
118
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
90
119
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
91
120
|
}
|
|
92
121
|
/**
|
|
@@ -101,7 +130,7 @@ export class ReplServiceClient {
|
|
|
101
130
|
* @generated from protobuf rpc: AddTombstone
|
|
102
131
|
*/
|
|
103
132
|
addTombstone(input, options) {
|
|
104
|
-
const method = this.methods[
|
|
133
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
105
134
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
106
135
|
}
|
|
107
136
|
/**
|
|
@@ -114,7 +143,7 @@ export class ReplServiceClient {
|
|
|
114
143
|
* @generated from protobuf rpc: RemoveTombstone
|
|
115
144
|
*/
|
|
116
145
|
removeTombstone(input, options) {
|
|
117
|
-
const method = this.methods[
|
|
146
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
118
147
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
119
148
|
}
|
|
120
149
|
}
|