@marleena/trb-proto 1.0.28 → 1.0.30

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.
Files changed (50) hide show
  1. package/README.md +15 -3
  2. package/gen/js-ts/{tinvest → api/tinvest}/InstrumentsServiceClientPb.ts +432 -432
  3. package/gen/js-ts/{tinvest → api/tinvest}/MarketdataServiceClientPb.ts +98 -98
  4. package/gen/js-ts/{tinvest → api/tinvest}/OperationsServiceClientPb.ts +90 -90
  5. package/gen/js-ts/{tinvest → api/tinvest}/OrdersServiceClientPb.ts +94 -94
  6. package/gen/js-ts/{tinvest → api/tinvest}/SandboxServiceClientPb.ts +206 -206
  7. package/gen/js-ts/{tinvest → api/tinvest}/SignalsServiceClientPb.ts +22 -22
  8. package/gen/js-ts/{tinvest → api/tinvest}/StopordersServiceClientPb.ts +32 -32
  9. package/gen/js-ts/{tinvest → api/tinvest}/UsersServiceClientPb.ts +82 -82
  10. package/gen/js-ts/{tinvest → api/tinvest}/common_pb.js +1 -1
  11. package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.d.ts +560 -560
  12. package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.js +804 -804
  13. package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.d.ts +104 -104
  14. package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.js +154 -154
  15. package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.d.ts +229 -229
  16. package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.js +364 -364
  17. package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.d.ts +153 -153
  18. package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.js +226 -226
  19. package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.d.ts +12 -12
  20. package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.js +22 -22
  21. package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.d.ts +32 -32
  22. package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.js +54 -54
  23. package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.d.ts +38 -38
  24. package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.js +59 -59
  25. package/gen/js-ts/{tinvest → api/tinvest}/users_pb.d.ts +36 -36
  26. package/gen/js-ts/{tinvest → api/tinvest}/users_pb.js +59 -59
  27. package/gen/js-ts/clickhouse/AdminServiceClientPb.ts +1161 -0
  28. package/gen/js-ts/clickhouse/ClickhouseServiceClientPb.ts +216 -0
  29. package/gen/js-ts/{api/clickhouse/manager_pb.d.ts → clickhouse/admin_pb.d.ts} +2 -2
  30. package/gen/js-ts/{api/clickhouse/manager_pb.js → clickhouse/admin_pb.js} +1551 -1551
  31. package/gen/js-ts/{api/db_api/db_api_pb.d.ts → clickhouse/clickhouse_pb.d.ts} +8 -158
  32. package/gen/js-ts/clickhouse/clickhouse_pb.js +2440 -0
  33. package/gen/js-ts/nats/NatsServiceClientPb.ts +1032 -0
  34. package/gen/js-ts/{api/nats/manager_pb.d.ts → nats/nats_pb.d.ts} +1 -1
  35. package/gen/js-ts/{api/nats/manager_pb.js → nats/nats_pb.js} +1784 -1784
  36. package/gen/js-ts/postgresql/AdminServiceClientPb.ts +1591 -0
  37. package/gen/js-ts/postgresql/PostgresqlServiceClientPb.ts +129 -0
  38. package/gen/js-ts/postgresql/admin_pb.d.ts +1895 -0
  39. package/gen/js-ts/postgresql/admin_pb.js +15465 -0
  40. package/gen/js-ts/postgresql/postgresql_pb.d.ts +156 -0
  41. package/gen/js-ts/postgresql/postgresql_pb.js +1311 -0
  42. package/gen/js-ts/{api/test → test}/TestServiceClientPb.ts +16 -16
  43. package/gen/js-ts/{api/test → test}/test_pb.d.ts +5 -5
  44. package/gen/js-ts/{api/test → test}/test_pb.js +58 -58
  45. package/package.json +1 -1
  46. package/gen/js-ts/api/clickhouse/ManagerServiceClientPb.ts +0 -1161
  47. package/gen/js-ts/api/db_api/Db_apiServiceClientPb.ts +0 -302
  48. package/gen/js-ts/api/db_api/db_api_pb.js +0 -3723
  49. package/gen/js-ts/api/nats/ManagerServiceClientPb.ts +0 -1032
  50. /package/gen/js-ts/{tinvest → api/tinvest}/common_pb.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @fileoverview gRPC-Web generated client stub for trb.test.public.contract.v1
2
+ * @fileoverview gRPC-Web generated client stub for trb.test.v1
3
3
  * @enhanceable
4
4
  * @public
5
5
  */
@@ -8,7 +8,7 @@
8
8
  // versions:
9
9
  // protoc-gen-grpc-web v1.5.0
10
10
  // protoc v7.34.1
11
- // source: api/test/test.proto
11
+ // source: test/test.proto
12
12
 
13
13
 
14
14
  /* eslint-disable */
@@ -17,7 +17,7 @@
17
17
 
18
18
  import * as grpcWeb from 'grpc-web';
19
19
 
20
- import * as api_test_test_pb from '../../api/test/test_pb'; // proto import: "api/test/test.proto"
20
+ import * as test_test_pb from '../test/test_pb'; // proto import: "test/test.proto"
21
21
 
22
22
 
23
23
  export class TestClient {
@@ -40,35 +40,35 @@ export class TestClient {
40
40
  }
41
41
 
42
42
  methodDescriptorSyncInstruments = new grpcWeb.MethodDescriptor(
43
- '/trb.test.public.contract.v1.Test/SyncInstruments',
43
+ '/trb.test.v1.Test/SyncInstruments',
44
44
  grpcWeb.MethodType.UNARY,
45
- api_test_test_pb.SyncInstrumentsRequest,
46
- api_test_test_pb.SyncInstrumentsResponse,
47
- (request: api_test_test_pb.SyncInstrumentsRequest) => {
45
+ test_test_pb.SyncInstrumentsRequest,
46
+ test_test_pb.SyncInstrumentsResponse,
47
+ (request: test_test_pb.SyncInstrumentsRequest) => {
48
48
  return request.serializeBinary();
49
49
  },
50
- api_test_test_pb.SyncInstrumentsResponse.deserializeBinary
50
+ test_test_pb.SyncInstrumentsResponse.deserializeBinary
51
51
  );
52
52
 
53
53
  syncInstruments(
54
- request: api_test_test_pb.SyncInstrumentsRequest,
55
- metadata?: grpcWeb.Metadata | null): Promise<api_test_test_pb.SyncInstrumentsResponse>;
54
+ request: test_test_pb.SyncInstrumentsRequest,
55
+ metadata?: grpcWeb.Metadata | null): Promise<test_test_pb.SyncInstrumentsResponse>;
56
56
 
57
57
  syncInstruments(
58
- request: api_test_test_pb.SyncInstrumentsRequest,
58
+ request: test_test_pb.SyncInstrumentsRequest,
59
59
  metadata: grpcWeb.Metadata | null,
60
60
  callback: (err: grpcWeb.RpcError,
61
- response: api_test_test_pb.SyncInstrumentsResponse) => void): grpcWeb.ClientReadableStream<api_test_test_pb.SyncInstrumentsResponse>;
61
+ response: test_test_pb.SyncInstrumentsResponse) => void): grpcWeb.ClientReadableStream<test_test_pb.SyncInstrumentsResponse>;
62
62
 
63
63
  syncInstruments(
64
- request: api_test_test_pb.SyncInstrumentsRequest,
64
+ request: test_test_pb.SyncInstrumentsRequest,
65
65
  metadata?: grpcWeb.Metadata | null,
66
66
  callback?: (err: grpcWeb.RpcError,
67
- response: api_test_test_pb.SyncInstrumentsResponse) => void) {
67
+ response: test_test_pb.SyncInstrumentsResponse) => void) {
68
68
  if (callback !== undefined) {
69
69
  return this.client_.rpcCall(
70
70
  this.hostname_ +
71
- '/trb.test.public.contract.v1.Test/SyncInstruments',
71
+ '/trb.test.v1.Test/SyncInstruments',
72
72
  request,
73
73
  metadata || {},
74
74
  this.methodDescriptorSyncInstruments,
@@ -76,7 +76,7 @@ export class TestClient {
76
76
  }
77
77
  return this.client_.unaryCall(
78
78
  this.hostname_ +
79
- '/trb.test.public.contract.v1.Test/SyncInstruments',
79
+ '/trb.test.v1.Test/SyncInstruments',
80
80
  request,
81
81
  metadata || {},
82
82
  this.methodDescriptorSyncInstruments);
@@ -1,7 +1,7 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
- import * as api_db_api_db_api_pb from '../../api/db_api/db_api_pb'; // proto import: "api/db_api/db_api.proto"
3
+ import * as google_api_annotations_pb from '../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
4
+ import * as clickhouse_clickhouse_pb from '../clickhouse/clickhouse_pb'; // proto import: "clickhouse/clickhouse.proto"
5
5
 
6
6
 
7
7
  export class SyncInstrumentsRequest extends jspb.Message {
@@ -19,8 +19,8 @@ export namespace SyncInstrumentsRequest {
19
19
  }
20
20
 
21
21
  export class SyncInstrumentsResponse extends jspb.Message {
22
- getUpsert(): api_db_api_db_api_pb.UpsertInstrumentsResponse | undefined;
23
- setUpsert(value?: api_db_api_db_api_pb.UpsertInstrumentsResponse): SyncInstrumentsResponse;
22
+ getUpsert(): clickhouse_clickhouse_pb.UpsertInstrumentsResponse | undefined;
23
+ setUpsert(value?: clickhouse_clickhouse_pb.UpsertInstrumentsResponse): SyncInstrumentsResponse;
24
24
  hasUpsert(): boolean;
25
25
  clearUpsert(): SyncInstrumentsResponse;
26
26
 
@@ -34,7 +34,7 @@ export class SyncInstrumentsResponse extends jspb.Message {
34
34
 
35
35
  export namespace SyncInstrumentsResponse {
36
36
  export type AsObject = {
37
- upsert?: api_db_api_db_api_pb.UpsertInstrumentsResponse.AsObject,
37
+ upsert?: clickhouse_clickhouse_pb.UpsertInstrumentsResponse.AsObject,
38
38
  }
39
39
  }
40
40
 
@@ -1,4 +1,4 @@
1
- // source: api/test/test.proto
1
+ // source: test/test.proto
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
@@ -21,12 +21,12 @@ var global =
21
21
  (function () { return this; }).call(null) ||
22
22
  Function('return this')();
23
23
 
24
- var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
24
+ var google_api_annotations_pb = require('../google/api/annotations_pb.js');
25
25
  goog.object.extend(proto, google_api_annotations_pb);
26
- var api_db_api_db_api_pb = require('../../api/db_api/db_api_pb.js');
27
- goog.object.extend(proto, api_db_api_db_api_pb);
28
- goog.exportSymbol('proto.trb.test.public.contract.v1.SyncInstrumentsRequest', null, global);
29
- goog.exportSymbol('proto.trb.test.public.contract.v1.SyncInstrumentsResponse', null, global);
26
+ var clickhouse_clickhouse_pb = require('../clickhouse/clickhouse_pb.js');
27
+ goog.object.extend(proto, clickhouse_clickhouse_pb);
28
+ goog.exportSymbol('proto.trb.test.v1.SyncInstrumentsRequest', null, global);
29
+ goog.exportSymbol('proto.trb.test.v1.SyncInstrumentsResponse', null, global);
30
30
  /**
31
31
  * Generated by JsPbCodeGenerator.
32
32
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -37,16 +37,16 @@ goog.exportSymbol('proto.trb.test.public.contract.v1.SyncInstrumentsResponse', n
37
37
  * @extends {jspb.Message}
38
38
  * @constructor
39
39
  */
40
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest = function(opt_data) {
40
+ proto.trb.test.v1.SyncInstrumentsRequest = function(opt_data) {
41
41
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
42
42
  };
43
- goog.inherits(proto.trb.test.public.contract.v1.SyncInstrumentsRequest, jspb.Message);
43
+ goog.inherits(proto.trb.test.v1.SyncInstrumentsRequest, jspb.Message);
44
44
  if (goog.DEBUG && !COMPILED) {
45
45
  /**
46
46
  * @public
47
47
  * @override
48
48
  */
49
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.displayName = 'proto.trb.test.public.contract.v1.SyncInstrumentsRequest';
49
+ proto.trb.test.v1.SyncInstrumentsRequest.displayName = 'proto.trb.test.v1.SyncInstrumentsRequest';
50
50
  }
51
51
  /**
52
52
  * Generated by JsPbCodeGenerator.
@@ -58,16 +58,16 @@ if (goog.DEBUG && !COMPILED) {
58
58
  * @extends {jspb.Message}
59
59
  * @constructor
60
60
  */
61
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse = function(opt_data) {
61
+ proto.trb.test.v1.SyncInstrumentsResponse = function(opt_data) {
62
62
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
63
  };
64
- goog.inherits(proto.trb.test.public.contract.v1.SyncInstrumentsResponse, jspb.Message);
64
+ goog.inherits(proto.trb.test.v1.SyncInstrumentsResponse, jspb.Message);
65
65
  if (goog.DEBUG && !COMPILED) {
66
66
  /**
67
67
  * @public
68
68
  * @override
69
69
  */
70
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.displayName = 'proto.trb.test.public.contract.v1.SyncInstrumentsResponse';
70
+ proto.trb.test.v1.SyncInstrumentsResponse.displayName = 'proto.trb.test.v1.SyncInstrumentsResponse';
71
71
  }
72
72
 
73
73
 
@@ -85,8 +85,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
85
85
  * http://goto/soy-param-migration
86
86
  * @return {!Object}
87
87
  */
88
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.prototype.toObject = function(opt_includeInstance) {
89
- return proto.trb.test.public.contract.v1.SyncInstrumentsRequest.toObject(opt_includeInstance, this);
88
+ proto.trb.test.v1.SyncInstrumentsRequest.prototype.toObject = function(opt_includeInstance) {
89
+ return proto.trb.test.v1.SyncInstrumentsRequest.toObject(opt_includeInstance, this);
90
90
  };
91
91
 
92
92
 
@@ -95,11 +95,11 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.prototype.toObject = fu
95
95
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96
96
  * the JSPB instance for transitional soy proto support:
97
97
  * http://goto/soy-param-migration
98
- * @param {!proto.trb.test.public.contract.v1.SyncInstrumentsRequest} msg The msg instance to transform.
98
+ * @param {!proto.trb.test.v1.SyncInstrumentsRequest} msg The msg instance to transform.
99
99
  * @return {!Object}
100
100
  * @suppress {unusedLocalVariables} f is only used for nested messages
101
101
  */
102
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.toObject = function(includeInstance, msg) {
102
+ proto.trb.test.v1.SyncInstrumentsRequest.toObject = function(includeInstance, msg) {
103
103
  var f, obj = {
104
104
 
105
105
  };
@@ -115,23 +115,23 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.toObject = function(inc
115
115
  /**
116
116
  * Deserializes binary data (in protobuf wire format).
117
117
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
118
- * @return {!proto.trb.test.public.contract.v1.SyncInstrumentsRequest}
118
+ * @return {!proto.trb.test.v1.SyncInstrumentsRequest}
119
119
  */
120
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.deserializeBinary = function(bytes) {
120
+ proto.trb.test.v1.SyncInstrumentsRequest.deserializeBinary = function(bytes) {
121
121
  var reader = new jspb.BinaryReader(bytes);
122
- var msg = new proto.trb.test.public.contract.v1.SyncInstrumentsRequest;
123
- return proto.trb.test.public.contract.v1.SyncInstrumentsRequest.deserializeBinaryFromReader(msg, reader);
122
+ var msg = new proto.trb.test.v1.SyncInstrumentsRequest;
123
+ return proto.trb.test.v1.SyncInstrumentsRequest.deserializeBinaryFromReader(msg, reader);
124
124
  };
125
125
 
126
126
 
127
127
  /**
128
128
  * Deserializes binary data (in protobuf wire format) from the
129
129
  * given reader into the given message object.
130
- * @param {!proto.trb.test.public.contract.v1.SyncInstrumentsRequest} msg The message object to deserialize into.
130
+ * @param {!proto.trb.test.v1.SyncInstrumentsRequest} msg The message object to deserialize into.
131
131
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
132
- * @return {!proto.trb.test.public.contract.v1.SyncInstrumentsRequest}
132
+ * @return {!proto.trb.test.v1.SyncInstrumentsRequest}
133
133
  */
134
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.deserializeBinaryFromReader = function(msg, reader) {
134
+ proto.trb.test.v1.SyncInstrumentsRequest.deserializeBinaryFromReader = function(msg, reader) {
135
135
  while (reader.nextField()) {
136
136
  if (reader.isEndGroup()) {
137
137
  break;
@@ -151,9 +151,9 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.deserializeBinaryFromRe
151
151
  * Serializes the message to binary data (in protobuf wire format).
152
152
  * @return {!Uint8Array}
153
153
  */
154
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.prototype.serializeBinary = function() {
154
+ proto.trb.test.v1.SyncInstrumentsRequest.prototype.serializeBinary = function() {
155
155
  var writer = new jspb.BinaryWriter();
156
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.serializeBinaryToWriter(this, writer);
156
+ proto.trb.test.v1.SyncInstrumentsRequest.serializeBinaryToWriter(this, writer);
157
157
  return writer.getResultBuffer();
158
158
  };
159
159
 
@@ -161,11 +161,11 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.prototype.serializeBina
161
161
  /**
162
162
  * Serializes the given message to binary data (in protobuf wire
163
163
  * format), writing to the given BinaryWriter.
164
- * @param {!proto.trb.test.public.contract.v1.SyncInstrumentsRequest} message
164
+ * @param {!proto.trb.test.v1.SyncInstrumentsRequest} message
165
165
  * @param {!jspb.BinaryWriter} writer
166
166
  * @suppress {unusedLocalVariables} f is only used for nested messages
167
167
  */
168
- proto.trb.test.public.contract.v1.SyncInstrumentsRequest.serializeBinaryToWriter = function(message, writer) {
168
+ proto.trb.test.v1.SyncInstrumentsRequest.serializeBinaryToWriter = function(message, writer) {
169
169
  var f = undefined;
170
170
  };
171
171
 
@@ -186,8 +186,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
186
186
  * http://goto/soy-param-migration
187
187
  * @return {!Object}
188
188
  */
189
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.toObject = function(opt_includeInstance) {
190
- return proto.trb.test.public.contract.v1.SyncInstrumentsResponse.toObject(opt_includeInstance, this);
189
+ proto.trb.test.v1.SyncInstrumentsResponse.prototype.toObject = function(opt_includeInstance) {
190
+ return proto.trb.test.v1.SyncInstrumentsResponse.toObject(opt_includeInstance, this);
191
191
  };
192
192
 
193
193
 
@@ -196,13 +196,13 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.toObject = f
196
196
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
197
197
  * the JSPB instance for transitional soy proto support:
198
198
  * http://goto/soy-param-migration
199
- * @param {!proto.trb.test.public.contract.v1.SyncInstrumentsResponse} msg The msg instance to transform.
199
+ * @param {!proto.trb.test.v1.SyncInstrumentsResponse} msg The msg instance to transform.
200
200
  * @return {!Object}
201
201
  * @suppress {unusedLocalVariables} f is only used for nested messages
202
202
  */
203
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.toObject = function(includeInstance, msg) {
203
+ proto.trb.test.v1.SyncInstrumentsResponse.toObject = function(includeInstance, msg) {
204
204
  var f, obj = {
205
- upsert: (f = msg.getUpsert()) && api_db_api_db_api_pb.UpsertInstrumentsResponse.toObject(includeInstance, f)
205
+ upsert: (f = msg.getUpsert()) && clickhouse_clickhouse_pb.UpsertInstrumentsResponse.toObject(includeInstance, f)
206
206
  };
207
207
 
208
208
  if (includeInstance) {
@@ -216,23 +216,23 @@ upsert: (f = msg.getUpsert()) && api_db_api_db_api_pb.UpsertInstrumentsResponse.
216
216
  /**
217
217
  * Deserializes binary data (in protobuf wire format).
218
218
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
219
- * @return {!proto.trb.test.public.contract.v1.SyncInstrumentsResponse}
219
+ * @return {!proto.trb.test.v1.SyncInstrumentsResponse}
220
220
  */
221
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.deserializeBinary = function(bytes) {
221
+ proto.trb.test.v1.SyncInstrumentsResponse.deserializeBinary = function(bytes) {
222
222
  var reader = new jspb.BinaryReader(bytes);
223
- var msg = new proto.trb.test.public.contract.v1.SyncInstrumentsResponse;
224
- return proto.trb.test.public.contract.v1.SyncInstrumentsResponse.deserializeBinaryFromReader(msg, reader);
223
+ var msg = new proto.trb.test.v1.SyncInstrumentsResponse;
224
+ return proto.trb.test.v1.SyncInstrumentsResponse.deserializeBinaryFromReader(msg, reader);
225
225
  };
226
226
 
227
227
 
228
228
  /**
229
229
  * Deserializes binary data (in protobuf wire format) from the
230
230
  * given reader into the given message object.
231
- * @param {!proto.trb.test.public.contract.v1.SyncInstrumentsResponse} msg The message object to deserialize into.
231
+ * @param {!proto.trb.test.v1.SyncInstrumentsResponse} msg The message object to deserialize into.
232
232
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
233
- * @return {!proto.trb.test.public.contract.v1.SyncInstrumentsResponse}
233
+ * @return {!proto.trb.test.v1.SyncInstrumentsResponse}
234
234
  */
235
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
235
+ proto.trb.test.v1.SyncInstrumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
236
236
  while (reader.nextField()) {
237
237
  if (reader.isEndGroup()) {
238
238
  break;
@@ -240,8 +240,8 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.deserializeBinaryFromR
240
240
  var field = reader.getFieldNumber();
241
241
  switch (field) {
242
242
  case 1:
243
- var value = new api_db_api_db_api_pb.UpsertInstrumentsResponse;
244
- reader.readMessage(value,api_db_api_db_api_pb.UpsertInstrumentsResponse.deserializeBinaryFromReader);
243
+ var value = new clickhouse_clickhouse_pb.UpsertInstrumentsResponse;
244
+ reader.readMessage(value,clickhouse_clickhouse_pb.UpsertInstrumentsResponse.deserializeBinaryFromReader);
245
245
  msg.setUpsert(value);
246
246
  break;
247
247
  default:
@@ -257,9 +257,9 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.deserializeBinaryFromR
257
257
  * Serializes the message to binary data (in protobuf wire format).
258
258
  * @return {!Uint8Array}
259
259
  */
260
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.serializeBinary = function() {
260
+ proto.trb.test.v1.SyncInstrumentsResponse.prototype.serializeBinary = function() {
261
261
  var writer = new jspb.BinaryWriter();
262
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.serializeBinaryToWriter(this, writer);
262
+ proto.trb.test.v1.SyncInstrumentsResponse.serializeBinaryToWriter(this, writer);
263
263
  return writer.getResultBuffer();
264
264
  };
265
265
 
@@ -267,47 +267,47 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.serializeBin
267
267
  /**
268
268
  * Serializes the given message to binary data (in protobuf wire
269
269
  * format), writing to the given BinaryWriter.
270
- * @param {!proto.trb.test.public.contract.v1.SyncInstrumentsResponse} message
270
+ * @param {!proto.trb.test.v1.SyncInstrumentsResponse} message
271
271
  * @param {!jspb.BinaryWriter} writer
272
272
  * @suppress {unusedLocalVariables} f is only used for nested messages
273
273
  */
274
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.serializeBinaryToWriter = function(message, writer) {
274
+ proto.trb.test.v1.SyncInstrumentsResponse.serializeBinaryToWriter = function(message, writer) {
275
275
  var f = undefined;
276
276
  f = message.getUpsert();
277
277
  if (f != null) {
278
278
  writer.writeMessage(
279
279
  1,
280
280
  f,
281
- api_db_api_db_api_pb.UpsertInstrumentsResponse.serializeBinaryToWriter
281
+ clickhouse_clickhouse_pb.UpsertInstrumentsResponse.serializeBinaryToWriter
282
282
  );
283
283
  }
284
284
  };
285
285
 
286
286
 
287
287
  /**
288
- * optional trb.db.api.public.contract.v1.UpsertInstrumentsResponse upsert = 1;
289
- * @return {?proto.trb.db.api.public.contract.v1.UpsertInstrumentsResponse}
288
+ * optional trb.clickhouse.v1.UpsertInstrumentsResponse upsert = 1;
289
+ * @return {?proto.trb.clickhouse.v1.UpsertInstrumentsResponse}
290
290
  */
291
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.getUpsert = function() {
292
- return /** @type{?proto.trb.db.api.public.contract.v1.UpsertInstrumentsResponse} */ (
293
- jspb.Message.getWrapperField(this, api_db_api_db_api_pb.UpsertInstrumentsResponse, 1));
291
+ proto.trb.test.v1.SyncInstrumentsResponse.prototype.getUpsert = function() {
292
+ return /** @type{?proto.trb.clickhouse.v1.UpsertInstrumentsResponse} */ (
293
+ jspb.Message.getWrapperField(this, clickhouse_clickhouse_pb.UpsertInstrumentsResponse, 1));
294
294
  };
295
295
 
296
296
 
297
297
  /**
298
- * @param {?proto.trb.db.api.public.contract.v1.UpsertInstrumentsResponse|undefined} value
299
- * @return {!proto.trb.test.public.contract.v1.SyncInstrumentsResponse} returns this
298
+ * @param {?proto.trb.clickhouse.v1.UpsertInstrumentsResponse|undefined} value
299
+ * @return {!proto.trb.test.v1.SyncInstrumentsResponse} returns this
300
300
  */
301
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.setUpsert = function(value) {
301
+ proto.trb.test.v1.SyncInstrumentsResponse.prototype.setUpsert = function(value) {
302
302
  return jspb.Message.setWrapperField(this, 1, value);
303
303
  };
304
304
 
305
305
 
306
306
  /**
307
307
  * Clears the message field making it undefined.
308
- * @return {!proto.trb.test.public.contract.v1.SyncInstrumentsResponse} returns this
308
+ * @return {!proto.trb.test.v1.SyncInstrumentsResponse} returns this
309
309
  */
310
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.clearUpsert = function() {
310
+ proto.trb.test.v1.SyncInstrumentsResponse.prototype.clearUpsert = function() {
311
311
  return this.setUpsert(undefined);
312
312
  };
313
313
 
@@ -316,9 +316,9 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.clearUpsert
316
316
  * Returns whether this field is set.
317
317
  * @return {boolean}
318
318
  */
319
- proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.hasUpsert = function() {
319
+ proto.trb.test.v1.SyncInstrumentsResponse.prototype.hasUpsert = function() {
320
320
  return jspb.Message.getField(this, 1) != null;
321
321
  };
322
322
 
323
323
 
324
- goog.object.extend(exports, proto.trb.test.public.contract.v1);
324
+ goog.object.extend(exports, proto.trb.test.v1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marleena/trb-proto",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Generated protobuf messages and gRPC-Web clients for TrB services",
5
5
  "license": "MIT",
6
6
  "repository": {