@replit/protocol 0.4.31 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,246 @@
1
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
3
+ import type { OrgSourceDeleteResponse } from "./org_transfer.js";
4
+ import type { OrgSourceDeleteRequest } from "./org_transfer.js";
5
+ import type { OrgSourceCleanUpTransferDataResponse } from "./org_transfer.js";
6
+ import type { OrgSourceCleanUpTransferDataRequest } from "./org_transfer.js";
7
+ import type { OrgDestinationAbortResponse } from "./org_transfer.js";
8
+ import type { OrgDestinationAbortRequest } from "./org_transfer.js";
9
+ import type { OrgSourceAbortResponse } from "./org_transfer.js";
10
+ import type { OrgSourceAbortRequest } from "./org_transfer.js";
11
+ import type { OrgDestinationRemoveTombstoneResponse } from "./org_transfer.js";
12
+ import type { OrgDestinationRemoveTombstoneRequest } from "./org_transfer.js";
13
+ import type { OrgDestinationAddTombstoneResponse } from "./org_transfer.js";
14
+ import type { OrgDestinationAddTombstoneRequest } from "./org_transfer.js";
15
+ import type { OrgDestinationTransferInResponse } from "./org_transfer.js";
16
+ import type { OrgDestinationTransferInRequest } from "./org_transfer.js";
17
+ import type { OrgSourceTransferOutResponse } from "./org_transfer.js";
18
+ import type { OrgSourceTransferOutRequest } from "./org_transfer.js";
19
+ import type { OrgSourceRemoveTombstoneResponse } from "./org_transfer.js";
20
+ import type { OrgSourceRemoveTombstoneRequest } from "./org_transfer.js";
21
+ import type { OrgIsSourceFullyDrainedResponse } from "./org_transfer.js";
22
+ import type { OrgIsSourceFullyDrainedRequest } from "./org_transfer.js";
23
+ import type { OrgSourceStopAndDrainResponse } from "./org_transfer.js";
24
+ import type { OrgSourceStopAndDrainRequest } from "./org_transfer.js";
25
+ import type { OrgDstAbortDiscardImportRequest } from "./org_transfer.js";
26
+ import type { OrgTransferRequest } from "./org_transfer.js";
27
+ import type { OrgDstTransferInRequest } from "./org_transfer.js";
28
+ import type { OrgSrcTransferOutResponse } from "./org_transfer.js";
29
+ import type { OrgSrcTransferOutRequest } from "./org_transfer.js";
30
+ import type { PhaseResponse } from "./transfer.js";
31
+ import type { OrgSrcStopAndDrainRequest } from "./org_transfer.js";
32
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
33
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
34
+ /**
35
+ * TransferOrgHomeCell defines the phased cell transfer for an org home cell.
36
+ *
37
+ * @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
38
+ */
39
+ export interface ITransferOrgHomeCellClient {
40
+ /**
41
+ * Either success guarantees a fenced, fully drained source, even if absent.
42
+ *
43
+ * @generated from protobuf rpc: SrcStopAndDrain
44
+ */
45
+ srcStopAndDrain(input: OrgSrcStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSrcStopAndDrainRequest, PhaseResponse>;
46
+ /**
47
+ * Upload the existing opaque payload; return its receipt or explicit absence.
48
+ *
49
+ * @generated from protobuf rpc: SrcTransferOut
50
+ */
51
+ srcTransferOut(input: OrgSrcTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSrcTransferOutRequest, OrgSrcTransferOutResponse>;
52
+ /**
53
+ * SUCCESS means import completed behind the arrival fence.
54
+ *
55
+ * @generated from protobuf rpc: DstTransferIn
56
+ */
57
+ dstTransferIn(input: OrgDstTransferInRequest, options?: RpcOptions): UnaryCall<OrgDstTransferInRequest, PhaseResponse>;
58
+ /**
59
+ * Stop export work while preserving source data and the fence.
60
+ *
61
+ * @generated from protobuf rpc: SrcCancelExport
62
+ */
63
+ srcCancelExport(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
64
+ /**
65
+ * Pre-activation only, after all destination discards and source
66
+ * cancellations.
67
+ *
68
+ * @generated from protobuf rpc: SrcResume
69
+ */
70
+ srcResume(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
71
+ /**
72
+ * Pre-activation only, after import has stopped; preserve unrelated data.
73
+ *
74
+ * @generated from protobuf rpc: DstAbortDiscardImport
75
+ */
76
+ dstAbortDiscardImport(input: OrgDstAbortDiscardImportRequest, options?: RpcOptions): UnaryCall<OrgDstAbortDiscardImportRequest, PhaseResponse>;
77
+ /**
78
+ * One-way activation; after the first attempt Lore recovers forward only.
79
+ *
80
+ * @generated from protobuf rpc: DstActivate
81
+ */
82
+ dstActivate(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
83
+ /**
84
+ * After verified cutover, retire the source without deleting shared backing
85
+ * data.
86
+ *
87
+ * @generated from protobuf rpc: SrcDelete
88
+ */
89
+ srcDelete(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
90
+ /**
91
+ * Legacy methods remain unchanged until all participants migrate.
92
+ *
93
+ * @generated from protobuf rpc: SourceStopAndDrain
94
+ */
95
+ sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
96
+ /**
97
+ * @generated from protobuf rpc: IsSourceFullyDrained
98
+ */
99
+ isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
100
+ /**
101
+ * @generated from protobuf rpc: SourceRemoveTombstone
102
+ */
103
+ sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
104
+ /**
105
+ * @generated from protobuf rpc: SourceTransferOut
106
+ */
107
+ sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
108
+ /**
109
+ * @generated from protobuf rpc: DestinationTransferIn
110
+ */
111
+ destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
112
+ /**
113
+ * @generated from protobuf rpc: DestinationAddTombstone
114
+ */
115
+ destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
116
+ /**
117
+ * @generated from protobuf rpc: DestinationRemoveTombstone
118
+ */
119
+ destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
120
+ /**
121
+ * @generated from protobuf rpc: SourceAbort
122
+ */
123
+ sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
124
+ /**
125
+ * @generated from protobuf rpc: DestinationAbort
126
+ */
127
+ destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
128
+ /**
129
+ * @generated from protobuf rpc: SourceCleanUpTransferData
130
+ */
131
+ sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
132
+ /**
133
+ * @generated from protobuf rpc: SourceDelete
134
+ */
135
+ sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
136
+ }
137
+ /**
138
+ * TransferOrgHomeCell defines the phased cell transfer for an org home cell.
139
+ *
140
+ * @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
141
+ */
142
+ export declare class TransferOrgHomeCellClient implements ITransferOrgHomeCellClient, ServiceInfo {
143
+ private readonly _transport;
144
+ typeName: string;
145
+ methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
146
+ options: {
147
+ [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
148
+ };
149
+ constructor(_transport: RpcTransport);
150
+ /**
151
+ * Either success guarantees a fenced, fully drained source, even if absent.
152
+ *
153
+ * @generated from protobuf rpc: SrcStopAndDrain
154
+ */
155
+ srcStopAndDrain(input: OrgSrcStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSrcStopAndDrainRequest, PhaseResponse>;
156
+ /**
157
+ * Upload the existing opaque payload; return its receipt or explicit absence.
158
+ *
159
+ * @generated from protobuf rpc: SrcTransferOut
160
+ */
161
+ srcTransferOut(input: OrgSrcTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSrcTransferOutRequest, OrgSrcTransferOutResponse>;
162
+ /**
163
+ * SUCCESS means import completed behind the arrival fence.
164
+ *
165
+ * @generated from protobuf rpc: DstTransferIn
166
+ */
167
+ dstTransferIn(input: OrgDstTransferInRequest, options?: RpcOptions): UnaryCall<OrgDstTransferInRequest, PhaseResponse>;
168
+ /**
169
+ * Stop export work while preserving source data and the fence.
170
+ *
171
+ * @generated from protobuf rpc: SrcCancelExport
172
+ */
173
+ srcCancelExport(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
174
+ /**
175
+ * Pre-activation only, after all destination discards and source
176
+ * cancellations.
177
+ *
178
+ * @generated from protobuf rpc: SrcResume
179
+ */
180
+ srcResume(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
181
+ /**
182
+ * Pre-activation only, after import has stopped; preserve unrelated data.
183
+ *
184
+ * @generated from protobuf rpc: DstAbortDiscardImport
185
+ */
186
+ dstAbortDiscardImport(input: OrgDstAbortDiscardImportRequest, options?: RpcOptions): UnaryCall<OrgDstAbortDiscardImportRequest, PhaseResponse>;
187
+ /**
188
+ * One-way activation; after the first attempt Lore recovers forward only.
189
+ *
190
+ * @generated from protobuf rpc: DstActivate
191
+ */
192
+ dstActivate(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
193
+ /**
194
+ * After verified cutover, retire the source without deleting shared backing
195
+ * data.
196
+ *
197
+ * @generated from protobuf rpc: SrcDelete
198
+ */
199
+ srcDelete(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
200
+ /**
201
+ * Legacy methods remain unchanged until all participants migrate.
202
+ *
203
+ * @generated from protobuf rpc: SourceStopAndDrain
204
+ */
205
+ sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
206
+ /**
207
+ * @generated from protobuf rpc: IsSourceFullyDrained
208
+ */
209
+ isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
210
+ /**
211
+ * @generated from protobuf rpc: SourceRemoveTombstone
212
+ */
213
+ sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
214
+ /**
215
+ * @generated from protobuf rpc: SourceTransferOut
216
+ */
217
+ sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
218
+ /**
219
+ * @generated from protobuf rpc: DestinationTransferIn
220
+ */
221
+ destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
222
+ /**
223
+ * @generated from protobuf rpc: DestinationAddTombstone
224
+ */
225
+ destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
226
+ /**
227
+ * @generated from protobuf rpc: DestinationRemoveTombstone
228
+ */
229
+ destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
230
+ /**
231
+ * @generated from protobuf rpc: SourceAbort
232
+ */
233
+ sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
234
+ /**
235
+ * @generated from protobuf rpc: DestinationAbort
236
+ */
237
+ destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
238
+ /**
239
+ * @generated from protobuf rpc: SourceCleanUpTransferData
240
+ */
241
+ sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
242
+ /**
243
+ * @generated from protobuf rpc: SourceDelete
244
+ */
245
+ sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
246
+ }
@@ -0,0 +1,168 @@
1
+ import { TransferOrgHomeCell } from "./org_transfer.js";
2
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
+ /**
4
+ * TransferOrgHomeCell defines the phased cell transfer for an org home cell.
5
+ *
6
+ * @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
7
+ */
8
+ export class TransferOrgHomeCellClient {
9
+ constructor(_transport) {
10
+ this._transport = _transport;
11
+ this.typeName = TransferOrgHomeCell.typeName;
12
+ this.methods = TransferOrgHomeCell.methods;
13
+ this.options = TransferOrgHomeCell.options;
14
+ }
15
+ /**
16
+ * Either success guarantees a fenced, fully drained source, even if absent.
17
+ *
18
+ * @generated from protobuf rpc: SrcStopAndDrain
19
+ */
20
+ srcStopAndDrain(input, options) {
21
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
22
+ return stackIntercept("unary", this._transport, method, opt, input);
23
+ }
24
+ /**
25
+ * Upload the existing opaque payload; return its receipt or explicit absence.
26
+ *
27
+ * @generated from protobuf rpc: SrcTransferOut
28
+ */
29
+ srcTransferOut(input, options) {
30
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
31
+ return stackIntercept("unary", this._transport, method, opt, input);
32
+ }
33
+ /**
34
+ * SUCCESS means import completed behind the arrival fence.
35
+ *
36
+ * @generated from protobuf rpc: DstTransferIn
37
+ */
38
+ dstTransferIn(input, options) {
39
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
40
+ return stackIntercept("unary", this._transport, method, opt, input);
41
+ }
42
+ /**
43
+ * Stop export work while preserving source data and the fence.
44
+ *
45
+ * @generated from protobuf rpc: SrcCancelExport
46
+ */
47
+ srcCancelExport(input, options) {
48
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
49
+ return stackIntercept("unary", this._transport, method, opt, input);
50
+ }
51
+ /**
52
+ * Pre-activation only, after all destination discards and source
53
+ * cancellations.
54
+ *
55
+ * @generated from protobuf rpc: SrcResume
56
+ */
57
+ srcResume(input, options) {
58
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
59
+ return stackIntercept("unary", this._transport, method, opt, input);
60
+ }
61
+ /**
62
+ * Pre-activation only, after import has stopped; preserve unrelated data.
63
+ *
64
+ * @generated from protobuf rpc: DstAbortDiscardImport
65
+ */
66
+ dstAbortDiscardImport(input, options) {
67
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
68
+ return stackIntercept("unary", this._transport, method, opt, input);
69
+ }
70
+ /**
71
+ * One-way activation; after the first attempt Lore recovers forward only.
72
+ *
73
+ * @generated from protobuf rpc: DstActivate
74
+ */
75
+ dstActivate(input, options) {
76
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
77
+ return stackIntercept("unary", this._transport, method, opt, input);
78
+ }
79
+ /**
80
+ * After verified cutover, retire the source without deleting shared backing
81
+ * data.
82
+ *
83
+ * @generated from protobuf rpc: SrcDelete
84
+ */
85
+ srcDelete(input, options) {
86
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
87
+ return stackIntercept("unary", this._transport, method, opt, input);
88
+ }
89
+ /**
90
+ * Legacy methods remain unchanged until all participants migrate.
91
+ *
92
+ * @generated from protobuf rpc: SourceStopAndDrain
93
+ */
94
+ sourceStopAndDrain(input, options) {
95
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
96
+ return stackIntercept("unary", this._transport, method, opt, input);
97
+ }
98
+ /**
99
+ * @generated from protobuf rpc: IsSourceFullyDrained
100
+ */
101
+ isSourceFullyDrained(input, options) {
102
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
103
+ return stackIntercept("unary", this._transport, method, opt, input);
104
+ }
105
+ /**
106
+ * @generated from protobuf rpc: SourceRemoveTombstone
107
+ */
108
+ sourceRemoveTombstone(input, options) {
109
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
110
+ return stackIntercept("unary", this._transport, method, opt, input);
111
+ }
112
+ /**
113
+ * @generated from protobuf rpc: SourceTransferOut
114
+ */
115
+ sourceTransferOut(input, options) {
116
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
117
+ return stackIntercept("unary", this._transport, method, opt, input);
118
+ }
119
+ /**
120
+ * @generated from protobuf rpc: DestinationTransferIn
121
+ */
122
+ destinationTransferIn(input, options) {
123
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
124
+ return stackIntercept("unary", this._transport, method, opt, input);
125
+ }
126
+ /**
127
+ * @generated from protobuf rpc: DestinationAddTombstone
128
+ */
129
+ destinationAddTombstone(input, options) {
130
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
131
+ return stackIntercept("unary", this._transport, method, opt, input);
132
+ }
133
+ /**
134
+ * @generated from protobuf rpc: DestinationRemoveTombstone
135
+ */
136
+ destinationRemoveTombstone(input, options) {
137
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
138
+ return stackIntercept("unary", this._transport, method, opt, input);
139
+ }
140
+ /**
141
+ * @generated from protobuf rpc: SourceAbort
142
+ */
143
+ sourceAbort(input, options) {
144
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
145
+ return stackIntercept("unary", this._transport, method, opt, input);
146
+ }
147
+ /**
148
+ * @generated from protobuf rpc: DestinationAbort
149
+ */
150
+ destinationAbort(input, options) {
151
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
152
+ return stackIntercept("unary", this._transport, method, opt, input);
153
+ }
154
+ /**
155
+ * @generated from protobuf rpc: SourceCleanUpTransferData
156
+ */
157
+ sourceCleanUpTransferData(input, options) {
158
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
159
+ return stackIntercept("unary", this._transport, method, opt, input);
160
+ }
161
+ /**
162
+ * @generated from protobuf rpc: SourceDelete
163
+ */
164
+ sourceDelete(input, options) {
165
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
166
+ return stackIntercept("unary", this._transport, method, opt, input);
167
+ }
168
+ }