@replit/protocol 0.4.32 → 0.6.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.
@@ -1,27 +1,12 @@
1
1
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
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";
3
+ import type { OrgDstAbortDiscardImportRequest } from "./org_transfer.js";
4
+ import type { OrgTransferRequest } from "./org_transfer.js";
5
+ import type { OrgDstTransferInRequest } from "./org_transfer.js";
6
+ import type { OrgSrcTransferOutResponse } from "./org_transfer.js";
7
+ import type { OrgSrcTransferOutRequest } from "./org_transfer.js";
8
+ import type { PhaseResponse } from "./transfer.js";
9
+ import type { OrgSrcStopAndDrainRequest } from "./org_transfer.js";
25
10
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
26
11
  import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
27
12
  /**
@@ -31,49 +16,55 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
31
16
  */
32
17
  export interface ITransferOrgHomeCellClient {
33
18
  /**
34
- * @generated from protobuf rpc: SourceStopAndDrain
19
+ * Either success guarantees a fenced, fully drained source, even if absent.
20
+ *
21
+ * @generated from protobuf rpc: SrcStopAndDrain
35
22
  */
36
- sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
23
+ srcStopAndDrain(input: OrgSrcStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSrcStopAndDrainRequest, PhaseResponse>;
37
24
  /**
38
- * @generated from protobuf rpc: IsSourceFullyDrained
25
+ * Upload the existing opaque payload; return its receipt or explicit absence.
26
+ *
27
+ * @generated from protobuf rpc: SrcTransferOut
39
28
  */
40
- isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
29
+ srcTransferOut(input: OrgSrcTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSrcTransferOutRequest, OrgSrcTransferOutResponse>;
41
30
  /**
42
- * @generated from protobuf rpc: SourceRemoveTombstone
31
+ * SUCCESS means import completed behind the arrival fence.
32
+ *
33
+ * @generated from protobuf rpc: DstTransferIn
43
34
  */
44
- sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
35
+ dstTransferIn(input: OrgDstTransferInRequest, options?: RpcOptions): UnaryCall<OrgDstTransferInRequest, PhaseResponse>;
45
36
  /**
46
- * @generated from protobuf rpc: SourceTransferOut
37
+ * Stop export work while preserving source data and the fence.
38
+ *
39
+ * @generated from protobuf rpc: SrcCancelExport
47
40
  */
48
- sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
41
+ srcCancelExport(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
49
42
  /**
50
- * @generated from protobuf rpc: DestinationTransferIn
43
+ * Pre-activation only, after all destination discards and source
44
+ * cancellations.
45
+ *
46
+ * @generated from protobuf rpc: SrcResume
51
47
  */
52
- destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
48
+ srcResume(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
53
49
  /**
54
- * @generated from protobuf rpc: DestinationAddTombstone
50
+ * Pre-activation only, after import has stopped; preserve unrelated data.
51
+ *
52
+ * @generated from protobuf rpc: DstAbortDiscardImport
55
53
  */
56
- destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
54
+ dstAbortDiscardImport(input: OrgDstAbortDiscardImportRequest, options?: RpcOptions): UnaryCall<OrgDstAbortDiscardImportRequest, PhaseResponse>;
57
55
  /**
58
- * @generated from protobuf rpc: DestinationRemoveTombstone
56
+ * One-way activation; after the first attempt Lore recovers forward only.
57
+ *
58
+ * @generated from protobuf rpc: DstActivate
59
59
  */
60
- destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
60
+ dstActivate(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
61
61
  /**
62
- * @generated from protobuf rpc: SourceAbort
62
+ * After verified cutover, retire the source without deleting shared backing
63
+ * data.
64
+ *
65
+ * @generated from protobuf rpc: SrcDelete
63
66
  */
64
- sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
65
- /**
66
- * @generated from protobuf rpc: DestinationAbort
67
- */
68
- destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
69
- /**
70
- * @generated from protobuf rpc: SourceCleanUpTransferData
71
- */
72
- sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
73
- /**
74
- * @generated from protobuf rpc: SourceDelete
75
- */
76
- sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
67
+ srcDelete(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
77
68
  }
78
69
  /**
79
70
  * TransferOrgHomeCell defines the phased cell transfer for an org home cell.
@@ -89,47 +80,53 @@ export declare class TransferOrgHomeCellClient implements ITransferOrgHomeCellCl
89
80
  };
90
81
  constructor(_transport: RpcTransport);
91
82
  /**
92
- * @generated from protobuf rpc: SourceStopAndDrain
93
- */
94
- sourceStopAndDrain(input: OrgSourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSourceStopAndDrainRequest, OrgSourceStopAndDrainResponse>;
95
- /**
96
- * @generated from protobuf rpc: IsSourceFullyDrained
97
- */
98
- isSourceFullyDrained(input: OrgIsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<OrgIsSourceFullyDrainedRequest, OrgIsSourceFullyDrainedResponse>;
99
- /**
100
- * @generated from protobuf rpc: SourceRemoveTombstone
101
- */
102
- sourceRemoveTombstone(input: OrgSourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgSourceRemoveTombstoneRequest, OrgSourceRemoveTombstoneResponse>;
103
- /**
104
- * @generated from protobuf rpc: SourceTransferOut
83
+ * Either success guarantees a fenced, fully drained source, even if absent.
84
+ *
85
+ * @generated from protobuf rpc: SrcStopAndDrain
105
86
  */
106
- sourceTransferOut(input: OrgSourceTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSourceTransferOutRequest, OrgSourceTransferOutResponse>;
87
+ srcStopAndDrain(input: OrgSrcStopAndDrainRequest, options?: RpcOptions): UnaryCall<OrgSrcStopAndDrainRequest, PhaseResponse>;
107
88
  /**
108
- * @generated from protobuf rpc: DestinationTransferIn
89
+ * Upload the existing opaque payload; return its receipt or explicit absence.
90
+ *
91
+ * @generated from protobuf rpc: SrcTransferOut
109
92
  */
110
- destinationTransferIn(input: OrgDestinationTransferInRequest, options?: RpcOptions): UnaryCall<OrgDestinationTransferInRequest, OrgDestinationTransferInResponse>;
93
+ srcTransferOut(input: OrgSrcTransferOutRequest, options?: RpcOptions): UnaryCall<OrgSrcTransferOutRequest, OrgSrcTransferOutResponse>;
111
94
  /**
112
- * @generated from protobuf rpc: DestinationAddTombstone
95
+ * SUCCESS means import completed behind the arrival fence.
96
+ *
97
+ * @generated from protobuf rpc: DstTransferIn
113
98
  */
114
- destinationAddTombstone(input: OrgDestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationAddTombstoneRequest, OrgDestinationAddTombstoneResponse>;
99
+ dstTransferIn(input: OrgDstTransferInRequest, options?: RpcOptions): UnaryCall<OrgDstTransferInRequest, PhaseResponse>;
115
100
  /**
116
- * @generated from protobuf rpc: DestinationRemoveTombstone
101
+ * Stop export work while preserving source data and the fence.
102
+ *
103
+ * @generated from protobuf rpc: SrcCancelExport
117
104
  */
118
- destinationRemoveTombstone(input: OrgDestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<OrgDestinationRemoveTombstoneRequest, OrgDestinationRemoveTombstoneResponse>;
105
+ srcCancelExport(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
119
106
  /**
120
- * @generated from protobuf rpc: SourceAbort
107
+ * Pre-activation only, after all destination discards and source
108
+ * cancellations.
109
+ *
110
+ * @generated from protobuf rpc: SrcResume
121
111
  */
122
- sourceAbort(input: OrgSourceAbortRequest, options?: RpcOptions): UnaryCall<OrgSourceAbortRequest, OrgSourceAbortResponse>;
112
+ srcResume(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
123
113
  /**
124
- * @generated from protobuf rpc: DestinationAbort
114
+ * Pre-activation only, after import has stopped; preserve unrelated data.
115
+ *
116
+ * @generated from protobuf rpc: DstAbortDiscardImport
125
117
  */
126
- destinationAbort(input: OrgDestinationAbortRequest, options?: RpcOptions): UnaryCall<OrgDestinationAbortRequest, OrgDestinationAbortResponse>;
118
+ dstAbortDiscardImport(input: OrgDstAbortDiscardImportRequest, options?: RpcOptions): UnaryCall<OrgDstAbortDiscardImportRequest, PhaseResponse>;
127
119
  /**
128
- * @generated from protobuf rpc: SourceCleanUpTransferData
120
+ * One-way activation; after the first attempt Lore recovers forward only.
121
+ *
122
+ * @generated from protobuf rpc: DstActivate
129
123
  */
130
- sourceCleanUpTransferData(input: OrgSourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<OrgSourceCleanUpTransferDataRequest, OrgSourceCleanUpTransferDataResponse>;
124
+ dstActivate(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
131
125
  /**
132
- * @generated from protobuf rpc: SourceDelete
126
+ * After verified cutover, retire the source without deleting shared backing
127
+ * data.
128
+ *
129
+ * @generated from protobuf rpc: SrcDelete
133
130
  */
134
- sourceDelete(input: OrgSourceDeleteRequest, options?: RpcOptions): UnaryCall<OrgSourceDeleteRequest, OrgSourceDeleteResponse>;
131
+ srcDelete(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
135
132
  }
@@ -13,80 +13,77 @@ export class TransferOrgHomeCellClient {
13
13
  this.options = TransferOrgHomeCell.options;
14
14
  }
15
15
  /**
16
- * @generated from protobuf rpc: SourceStopAndDrain
16
+ * Either success guarantees a fenced, fully drained source, even if absent.
17
+ *
18
+ * @generated from protobuf rpc: SrcStopAndDrain
17
19
  */
18
- sourceStopAndDrain(input, options) {
20
+ srcStopAndDrain(input, options) {
19
21
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
20
22
  return stackIntercept("unary", this._transport, method, opt, input);
21
23
  }
22
24
  /**
23
- * @generated from protobuf rpc: IsSourceFullyDrained
25
+ * Upload the existing opaque payload; return its receipt or explicit absence.
26
+ *
27
+ * @generated from protobuf rpc: SrcTransferOut
24
28
  */
25
- isSourceFullyDrained(input, options) {
29
+ srcTransferOut(input, options) {
26
30
  const method = this.methods[1], opt = this._transport.mergeOptions(options);
27
31
  return stackIntercept("unary", this._transport, method, opt, input);
28
32
  }
29
33
  /**
30
- * @generated from protobuf rpc: SourceRemoveTombstone
34
+ * SUCCESS means import completed behind the arrival fence.
35
+ *
36
+ * @generated from protobuf rpc: DstTransferIn
31
37
  */
32
- sourceRemoveTombstone(input, options) {
38
+ dstTransferIn(input, options) {
33
39
  const method = this.methods[2], opt = this._transport.mergeOptions(options);
34
40
  return stackIntercept("unary", this._transport, method, opt, input);
35
41
  }
36
42
  /**
37
- * @generated from protobuf rpc: SourceTransferOut
43
+ * Stop export work while preserving source data and the fence.
44
+ *
45
+ * @generated from protobuf rpc: SrcCancelExport
38
46
  */
39
- sourceTransferOut(input, options) {
47
+ srcCancelExport(input, options) {
40
48
  const method = this.methods[3], opt = this._transport.mergeOptions(options);
41
49
  return stackIntercept("unary", this._transport, method, opt, input);
42
50
  }
43
51
  /**
44
- * @generated from protobuf rpc: DestinationTransferIn
52
+ * Pre-activation only, after all destination discards and source
53
+ * cancellations.
54
+ *
55
+ * @generated from protobuf rpc: SrcResume
45
56
  */
46
- destinationTransferIn(input, options) {
57
+ srcResume(input, options) {
47
58
  const method = this.methods[4], opt = this._transport.mergeOptions(options);
48
59
  return stackIntercept("unary", this._transport, method, opt, input);
49
60
  }
50
61
  /**
51
- * @generated from protobuf rpc: DestinationAddTombstone
62
+ * Pre-activation only, after import has stopped; preserve unrelated data.
63
+ *
64
+ * @generated from protobuf rpc: DstAbortDiscardImport
52
65
  */
53
- destinationAddTombstone(input, options) {
66
+ dstAbortDiscardImport(input, options) {
54
67
  const method = this.methods[5], opt = this._transport.mergeOptions(options);
55
68
  return stackIntercept("unary", this._transport, method, opt, input);
56
69
  }
57
70
  /**
58
- * @generated from protobuf rpc: DestinationRemoveTombstone
71
+ * One-way activation; after the first attempt Lore recovers forward only.
72
+ *
73
+ * @generated from protobuf rpc: DstActivate
59
74
  */
60
- destinationRemoveTombstone(input, options) {
75
+ dstActivate(input, options) {
61
76
  const method = this.methods[6], opt = this._transport.mergeOptions(options);
62
77
  return stackIntercept("unary", this._transport, method, opt, input);
63
78
  }
64
79
  /**
65
- * @generated from protobuf rpc: SourceAbort
80
+ * After verified cutover, retire the source without deleting shared backing
81
+ * data.
82
+ *
83
+ * @generated from protobuf rpc: SrcDelete
66
84
  */
67
- sourceAbort(input, options) {
85
+ srcDelete(input, options) {
68
86
  const method = this.methods[7], opt = this._transport.mergeOptions(options);
69
87
  return stackIntercept("unary", this._transport, method, opt, input);
70
88
  }
71
- /**
72
- * @generated from protobuf rpc: DestinationAbort
73
- */
74
- destinationAbort(input, options) {
75
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
76
- return stackIntercept("unary", this._transport, method, opt, input);
77
- }
78
- /**
79
- * @generated from protobuf rpc: SourceCleanUpTransferData
80
- */
81
- sourceCleanUpTransferData(input, options) {
82
- const method = this.methods[9], opt = this._transport.mergeOptions(options);
83
- return stackIntercept("unary", this._transport, method, opt, input);
84
- }
85
- /**
86
- * @generated from protobuf rpc: SourceDelete
87
- */
88
- sourceDelete(input, options) {
89
- const method = this.methods[10], opt = this._transport.mergeOptions(options);
90
- return stackIntercept("unary", this._transport, method, opt, input);
91
- }
92
89
  }