@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,8 +1,8 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
4
- import * as google_api_field_behavior_pb from '../google/api/field_behavior_pb'; // proto import: "google/api/field_behavior.proto"
5
- import * as tinvest_common_pb from '../tinvest/common_pb'; // proto import: "tinvest/common.proto"
4
+ import * as google_api_field_behavior_pb from '../../google/api/field_behavior_pb'; // proto import: "google/api/field_behavior.proto"
5
+ import * as api_tinvest_common_pb from '../../api/tinvest/common_pb'; // proto import: "api/tinvest/common.proto"
6
6
 
7
7
 
8
8
  export class PostStopOrderRequest extends jspb.Message {
@@ -14,13 +14,13 @@ export class PostStopOrderRequest extends jspb.Message {
14
14
  getQuantity(): number;
15
15
  setQuantity(value: number): PostStopOrderRequest;
16
16
 
17
- getPrice(): tinvest_common_pb.Quotation | undefined;
18
- setPrice(value?: tinvest_common_pb.Quotation): PostStopOrderRequest;
17
+ getPrice(): api_tinvest_common_pb.Quotation | undefined;
18
+ setPrice(value?: api_tinvest_common_pb.Quotation): PostStopOrderRequest;
19
19
  hasPrice(): boolean;
20
20
  clearPrice(): PostStopOrderRequest;
21
21
 
22
- getStopPrice(): tinvest_common_pb.Quotation | undefined;
23
- setStopPrice(value?: tinvest_common_pb.Quotation): PostStopOrderRequest;
22
+ getStopPrice(): api_tinvest_common_pb.Quotation | undefined;
23
+ setStopPrice(value?: api_tinvest_common_pb.Quotation): PostStopOrderRequest;
24
24
  hasStopPrice(): boolean;
25
25
  clearStopPrice(): PostStopOrderRequest;
26
26
 
@@ -55,8 +55,8 @@ export class PostStopOrderRequest extends jspb.Message {
55
55
  hasTrailingData(): boolean;
56
56
  clearTrailingData(): PostStopOrderRequest;
57
57
 
58
- getPriceType(): tinvest_common_pb.PriceType;
59
- setPriceType(value: tinvest_common_pb.PriceType): PostStopOrderRequest;
58
+ getPriceType(): api_tinvest_common_pb.PriceType;
59
+ setPriceType(value: api_tinvest_common_pb.PriceType): PostStopOrderRequest;
60
60
 
61
61
  getOrderId(): string;
62
62
  setOrderId(value: string): PostStopOrderRequest;
@@ -81,8 +81,8 @@ export namespace PostStopOrderRequest {
81
81
  export type AsObject = {
82
82
  figi?: string,
83
83
  quantity: number,
84
- price?: tinvest_common_pb.Quotation.AsObject,
85
- stopPrice?: tinvest_common_pb.Quotation.AsObject,
84
+ price?: api_tinvest_common_pb.Quotation.AsObject,
85
+ stopPrice?: api_tinvest_common_pb.Quotation.AsObject,
86
86
  direction: StopOrderDirection,
87
87
  accountId: string,
88
88
  expirationType: StopOrderExpirationType,
@@ -92,23 +92,23 @@ export namespace PostStopOrderRequest {
92
92
  exchangeOrderType: ExchangeOrderType,
93
93
  takeProfitType: TakeProfitType,
94
94
  trailingData?: PostStopOrderRequest.TrailingData.AsObject,
95
- priceType: tinvest_common_pb.PriceType,
95
+ priceType: api_tinvest_common_pb.PriceType,
96
96
  orderId: string,
97
97
  confirmMarginTrade: boolean,
98
98
  instantExecution?: boolean,
99
99
  }
100
100
 
101
101
  export class TrailingData extends jspb.Message {
102
- getIndent(): tinvest_common_pb.Quotation | undefined;
103
- setIndent(value?: tinvest_common_pb.Quotation): TrailingData;
102
+ getIndent(): api_tinvest_common_pb.Quotation | undefined;
103
+ setIndent(value?: api_tinvest_common_pb.Quotation): TrailingData;
104
104
  hasIndent(): boolean;
105
105
  clearIndent(): TrailingData;
106
106
 
107
107
  getIndentType(): TrailingValueType;
108
108
  setIndentType(value: TrailingValueType): TrailingData;
109
109
 
110
- getSpread(): tinvest_common_pb.Quotation | undefined;
111
- setSpread(value?: tinvest_common_pb.Quotation): TrailingData;
110
+ getSpread(): api_tinvest_common_pb.Quotation | undefined;
111
+ setSpread(value?: api_tinvest_common_pb.Quotation): TrailingData;
112
112
  hasSpread(): boolean;
113
113
  clearSpread(): TrailingData;
114
114
 
@@ -125,9 +125,9 @@ export namespace PostStopOrderRequest {
125
125
 
126
126
  export namespace TrailingData {
127
127
  export type AsObject = {
128
- indent?: tinvest_common_pb.Quotation.AsObject,
128
+ indent?: api_tinvest_common_pb.Quotation.AsObject,
129
129
  indentType: TrailingValueType,
130
- spread?: tinvest_common_pb.Quotation.AsObject,
130
+ spread?: api_tinvest_common_pb.Quotation.AsObject,
131
131
  spreadType: TrailingValueType,
132
132
  }
133
133
  }
@@ -166,8 +166,8 @@ export class PostStopOrderResponse extends jspb.Message {
166
166
  getOrderRequestId(): string;
167
167
  setOrderRequestId(value: string): PostStopOrderResponse;
168
168
 
169
- getResponseMetadata(): tinvest_common_pb.ResponseMetadata | undefined;
170
- setResponseMetadata(value?: tinvest_common_pb.ResponseMetadata): PostStopOrderResponse;
169
+ getResponseMetadata(): api_tinvest_common_pb.ResponseMetadata | undefined;
170
+ setResponseMetadata(value?: api_tinvest_common_pb.ResponseMetadata): PostStopOrderResponse;
171
171
  hasResponseMetadata(): boolean;
172
172
  clearResponseMetadata(): PostStopOrderResponse;
173
173
 
@@ -183,7 +183,7 @@ export namespace PostStopOrderResponse {
183
183
  export type AsObject = {
184
184
  stopOrderId: string,
185
185
  orderRequestId: string,
186
- responseMetadata?: tinvest_common_pb.ResponseMetadata.AsObject,
186
+ responseMetadata?: api_tinvest_common_pb.ResponseMetadata.AsObject,
187
187
  }
188
188
  }
189
189
 
@@ -317,13 +317,13 @@ export class StopOrder extends jspb.Message {
317
317
  hasExpirationTime(): boolean;
318
318
  clearExpirationTime(): StopOrder;
319
319
 
320
- getPrice(): tinvest_common_pb.MoneyValue | undefined;
321
- setPrice(value?: tinvest_common_pb.MoneyValue): StopOrder;
320
+ getPrice(): api_tinvest_common_pb.MoneyValue | undefined;
321
+ setPrice(value?: api_tinvest_common_pb.MoneyValue): StopOrder;
322
322
  hasPrice(): boolean;
323
323
  clearPrice(): StopOrder;
324
324
 
325
- getStopPrice(): tinvest_common_pb.MoneyValue | undefined;
326
- setStopPrice(value?: tinvest_common_pb.MoneyValue): StopOrder;
325
+ getStopPrice(): api_tinvest_common_pb.MoneyValue | undefined;
326
+ setStopPrice(value?: api_tinvest_common_pb.MoneyValue): StopOrder;
327
327
  hasStopPrice(): boolean;
328
328
  clearStopPrice(): StopOrder;
329
329
 
@@ -377,8 +377,8 @@ export namespace StopOrder {
377
377
  createDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
378
378
  activationDateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
379
379
  expirationTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
380
- price?: tinvest_common_pb.MoneyValue.AsObject,
381
- stopPrice?: tinvest_common_pb.MoneyValue.AsObject,
380
+ price?: api_tinvest_common_pb.MoneyValue.AsObject,
381
+ stopPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
382
382
  instrumentUid: string,
383
383
  takeProfitType: TakeProfitType,
384
384
  trailingData?: StopOrder.TrailingData.AsObject,
@@ -391,16 +391,16 @@ export namespace StopOrder {
391
391
  }
392
392
 
393
393
  export class TrailingData extends jspb.Message {
394
- getIndent(): tinvest_common_pb.Quotation | undefined;
395
- setIndent(value?: tinvest_common_pb.Quotation): TrailingData;
394
+ getIndent(): api_tinvest_common_pb.Quotation | undefined;
395
+ setIndent(value?: api_tinvest_common_pb.Quotation): TrailingData;
396
396
  hasIndent(): boolean;
397
397
  clearIndent(): TrailingData;
398
398
 
399
399
  getIndentType(): TrailingValueType;
400
400
  setIndentType(value: TrailingValueType): TrailingData;
401
401
 
402
- getSpread(): tinvest_common_pb.Quotation | undefined;
403
- setSpread(value?: tinvest_common_pb.Quotation): TrailingData;
402
+ getSpread(): api_tinvest_common_pb.Quotation | undefined;
403
+ setSpread(value?: api_tinvest_common_pb.Quotation): TrailingData;
404
404
  hasSpread(): boolean;
405
405
  clearSpread(): TrailingData;
406
406
 
@@ -410,13 +410,13 @@ export namespace StopOrder {
410
410
  getStatus(): TrailingStopStatus;
411
411
  setStatus(value: TrailingStopStatus): TrailingData;
412
412
 
413
- getPrice(): tinvest_common_pb.Quotation | undefined;
414
- setPrice(value?: tinvest_common_pb.Quotation): TrailingData;
413
+ getPrice(): api_tinvest_common_pb.Quotation | undefined;
414
+ setPrice(value?: api_tinvest_common_pb.Quotation): TrailingData;
415
415
  hasPrice(): boolean;
416
416
  clearPrice(): TrailingData;
417
417
 
418
- getExtr(): tinvest_common_pb.Quotation | undefined;
419
- setExtr(value?: tinvest_common_pb.Quotation): TrailingData;
418
+ getExtr(): api_tinvest_common_pb.Quotation | undefined;
419
+ setExtr(value?: api_tinvest_common_pb.Quotation): TrailingData;
420
420
  hasExtr(): boolean;
421
421
  clearExtr(): TrailingData;
422
422
 
@@ -430,13 +430,13 @@ export namespace StopOrder {
430
430
 
431
431
  export namespace TrailingData {
432
432
  export type AsObject = {
433
- indent?: tinvest_common_pb.Quotation.AsObject,
433
+ indent?: api_tinvest_common_pb.Quotation.AsObject,
434
434
  indentType: TrailingValueType,
435
- spread?: tinvest_common_pb.Quotation.AsObject,
435
+ spread?: api_tinvest_common_pb.Quotation.AsObject,
436
436
  spreadType: TrailingValueType,
437
437
  status: TrailingStopStatus,
438
- price?: tinvest_common_pb.Quotation.AsObject,
439
- extr?: tinvest_common_pb.Quotation.AsObject,
438
+ price?: api_tinvest_common_pb.Quotation.AsObject,
439
+ extr?: api_tinvest_common_pb.Quotation.AsObject,
440
440
  }
441
441
  }
442
442
 
@@ -1,4 +1,4 @@
1
- // source: tinvest/stoporders.proto
1
+ // source: api/tinvest/stoporders.proto
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
@@ -23,10 +23,10 @@ var global =
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
26
- var google_api_field_behavior_pb = require('../google/api/field_behavior_pb.js');
26
+ var google_api_field_behavior_pb = require('../../google/api/field_behavior_pb.js');
27
27
  goog.object.extend(proto, google_api_field_behavior_pb);
28
- var tinvest_common_pb = require('../tinvest/common_pb.js');
29
- goog.object.extend(proto, tinvest_common_pb);
28
+ var api_tinvest_common_pb = require('../../api/tinvest/common_pb.js');
29
+ goog.object.extend(proto, api_tinvest_common_pb);
30
30
  goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.CancelStopOrderRequest', null, global);
31
31
  goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.CancelStopOrderResponse', null, global);
32
32
  goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.ExchangeOrderType', null, global);
@@ -267,8 +267,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.toObject = func
267
267
  var f, obj = {
268
268
  figi: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
269
269
  quantity: jspb.Message.getFieldWithDefault(msg, 2, 0),
270
- price: (f = msg.getPrice()) && tinvest_common_pb.Quotation.toObject(includeInstance, f),
271
- stopPrice: (f = msg.getStopPrice()) && tinvest_common_pb.Quotation.toObject(includeInstance, f),
270
+ price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
271
+ stopPrice: (f = msg.getStopPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
272
272
  direction: jspb.Message.getFieldWithDefault(msg, 5, 0),
273
273
  accountId: jspb.Message.getFieldWithDefault(msg, 6, ""),
274
274
  expirationType: jspb.Message.getFieldWithDefault(msg, 7, 0),
@@ -327,13 +327,13 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.deserializeBina
327
327
  msg.setQuantity(value);
328
328
  break;
329
329
  case 3:
330
- var value = new tinvest_common_pb.Quotation;
331
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
330
+ var value = new api_tinvest_common_pb.Quotation;
331
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
332
332
  msg.setPrice(value);
333
333
  break;
334
334
  case 4:
335
- var value = new tinvest_common_pb.Quotation;
336
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
335
+ var value = new api_tinvest_common_pb.Quotation;
336
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
337
337
  msg.setStopPrice(value);
338
338
  break;
339
339
  case 5:
@@ -438,7 +438,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.serializeBinary
438
438
  writer.writeMessage(
439
439
  3,
440
440
  f,
441
- tinvest_common_pb.Quotation.serializeBinaryToWriter
441
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
442
442
  );
443
443
  }
444
444
  f = message.getStopPrice();
@@ -446,7 +446,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.serializeBinary
446
446
  writer.writeMessage(
447
447
  4,
448
448
  f,
449
- tinvest_common_pb.Quotation.serializeBinaryToWriter
449
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
450
450
  );
451
451
  }
452
452
  f = message.getDirection();
@@ -577,9 +577,9 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.pr
577
577
  */
578
578
  proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.toObject = function(includeInstance, msg) {
579
579
  var f, obj = {
580
- indent: (f = msg.getIndent()) && tinvest_common_pb.Quotation.toObject(includeInstance, f),
580
+ indent: (f = msg.getIndent()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
581
581
  indentType: jspb.Message.getFieldWithDefault(msg, 2, 0),
582
- spread: (f = msg.getSpread()) && tinvest_common_pb.Quotation.toObject(includeInstance, f),
582
+ spread: (f = msg.getSpread()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
583
583
  spreadType: jspb.Message.getFieldWithDefault(msg, 4, 0)
584
584
  };
585
585
 
@@ -618,8 +618,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.de
618
618
  var field = reader.getFieldNumber();
619
619
  switch (field) {
620
620
  case 1:
621
- var value = new tinvest_common_pb.Quotation;
622
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
621
+ var value = new api_tinvest_common_pb.Quotation;
622
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
623
623
  msg.setIndent(value);
624
624
  break;
625
625
  case 2:
@@ -627,8 +627,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.de
627
627
  msg.setIndentType(value);
628
628
  break;
629
629
  case 3:
630
- var value = new tinvest_common_pb.Quotation;
631
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
630
+ var value = new api_tinvest_common_pb.Quotation;
631
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
632
632
  msg.setSpread(value);
633
633
  break;
634
634
  case 4:
@@ -669,7 +669,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.se
669
669
  writer.writeMessage(
670
670
  1,
671
671
  f,
672
- tinvest_common_pb.Quotation.serializeBinaryToWriter
672
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
673
673
  );
674
674
  }
675
675
  f = message.getIndentType();
@@ -684,7 +684,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.se
684
684
  writer.writeMessage(
685
685
  3,
686
686
  f,
687
- tinvest_common_pb.Quotation.serializeBinaryToWriter
687
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
688
688
  );
689
689
  }
690
690
  f = message.getSpreadType();
@@ -703,7 +703,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.se
703
703
  */
704
704
  proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.prototype.getIndent = function() {
705
705
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
706
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 1));
706
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 1));
707
707
  };
708
708
 
709
709
 
@@ -758,7 +758,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.pr
758
758
  */
759
759
  proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.TrailingData.prototype.getSpread = function() {
760
760
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
761
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 3));
761
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
762
762
  };
763
763
 
764
764
 
@@ -867,7 +867,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.prototype.setQu
867
867
  */
868
868
  proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.prototype.getPrice = function() {
869
869
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
870
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 3));
870
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
871
871
  };
872
872
 
873
873
 
@@ -904,7 +904,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.prototype.hasPr
904
904
  */
905
905
  proto.tinkoff.public.invest.api.contract.v1.PostStopOrderRequest.prototype.getStopPrice = function() {
906
906
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
907
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 4));
907
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 4));
908
908
  };
909
909
 
910
910
 
@@ -1259,7 +1259,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderResponse.toObject = fun
1259
1259
  var f, obj = {
1260
1260
  stopOrderId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1261
1261
  orderRequestId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1262
- responseMetadata: (f = msg.getResponseMetadata()) && tinvest_common_pb.ResponseMetadata.toObject(includeInstance, f)
1262
+ responseMetadata: (f = msg.getResponseMetadata()) && api_tinvest_common_pb.ResponseMetadata.toObject(includeInstance, f)
1263
1263
  };
1264
1264
 
1265
1265
  if (includeInstance) {
@@ -1305,8 +1305,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderResponse.deserializeBin
1305
1305
  msg.setOrderRequestId(value);
1306
1306
  break;
1307
1307
  case 254:
1308
- var value = new tinvest_common_pb.ResponseMetadata;
1309
- reader.readMessage(value,tinvest_common_pb.ResponseMetadata.deserializeBinaryFromReader);
1308
+ var value = new api_tinvest_common_pb.ResponseMetadata;
1309
+ reader.readMessage(value,api_tinvest_common_pb.ResponseMetadata.deserializeBinaryFromReader);
1310
1310
  msg.setResponseMetadata(value);
1311
1311
  break;
1312
1312
  default:
@@ -1357,7 +1357,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderResponse.serializeBinar
1357
1357
  writer.writeMessage(
1358
1358
  254,
1359
1359
  f,
1360
- tinvest_common_pb.ResponseMetadata.serializeBinaryToWriter
1360
+ api_tinvest_common_pb.ResponseMetadata.serializeBinaryToWriter
1361
1361
  );
1362
1362
  }
1363
1363
  };
@@ -1405,7 +1405,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostStopOrderResponse.prototype.setO
1405
1405
  */
1406
1406
  proto.tinkoff.public.invest.api.contract.v1.PostStopOrderResponse.prototype.getResponseMetadata = function() {
1407
1407
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.ResponseMetadata} */ (
1408
- jspb.Message.getWrapperField(this, tinvest_common_pb.ResponseMetadata, 254));
1408
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.ResponseMetadata, 254));
1409
1409
  };
1410
1410
 
1411
1411
 
@@ -2210,8 +2210,8 @@ orderType: jspb.Message.getFieldWithDefault(msg, 6, 0),
2210
2210
  createDate: (f = msg.getCreateDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2211
2211
  activationDateTime: (f = msg.getActivationDateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2212
2212
  expirationTime: (f = msg.getExpirationTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2213
- price: (f = msg.getPrice()) && tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
2214
- stopPrice: (f = msg.getStopPrice()) && tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
2213
+ price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
2214
+ stopPrice: (f = msg.getStopPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
2215
2215
  instrumentUid: jspb.Message.getFieldWithDefault(msg, 12, ""),
2216
2216
  takeProfitType: jspb.Message.getFieldWithDefault(msg, 13, 0),
2217
2217
  trailingData: (f = msg.getTrailingData()) && proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.toObject(includeInstance, f),
@@ -2297,13 +2297,13 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.deserializeBinaryFromReade
2297
2297
  msg.setExpirationTime(value);
2298
2298
  break;
2299
2299
  case 10:
2300
- var value = new tinvest_common_pb.MoneyValue;
2301
- reader.readMessage(value,tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
2300
+ var value = new api_tinvest_common_pb.MoneyValue;
2301
+ reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
2302
2302
  msg.setPrice(value);
2303
2303
  break;
2304
2304
  case 11:
2305
- var value = new tinvest_common_pb.MoneyValue;
2306
- reader.readMessage(value,tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
2305
+ var value = new api_tinvest_common_pb.MoneyValue;
2306
+ reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
2307
2307
  msg.setStopPrice(value);
2308
2308
  break;
2309
2309
  case 12:
@@ -2443,7 +2443,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.serializeBinaryToWriter =
2443
2443
  writer.writeMessage(
2444
2444
  10,
2445
2445
  f,
2446
- tinvest_common_pb.MoneyValue.serializeBinaryToWriter
2446
+ api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
2447
2447
  );
2448
2448
  }
2449
2449
  f = message.getStopPrice();
@@ -2451,7 +2451,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.serializeBinaryToWriter =
2451
2451
  writer.writeMessage(
2452
2452
  11,
2453
2453
  f,
2454
- tinvest_common_pb.MoneyValue.serializeBinaryToWriter
2454
+ api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
2455
2455
  );
2456
2456
  }
2457
2457
  f = message.getInstrumentUid();
@@ -2553,13 +2553,13 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.toO
2553
2553
  */
2554
2554
  proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.toObject = function(includeInstance, msg) {
2555
2555
  var f, obj = {
2556
- indent: (f = msg.getIndent()) && tinvest_common_pb.Quotation.toObject(includeInstance, f),
2556
+ indent: (f = msg.getIndent()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
2557
2557
  indentType: jspb.Message.getFieldWithDefault(msg, 2, 0),
2558
- spread: (f = msg.getSpread()) && tinvest_common_pb.Quotation.toObject(includeInstance, f),
2558
+ spread: (f = msg.getSpread()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
2559
2559
  spreadType: jspb.Message.getFieldWithDefault(msg, 4, 0),
2560
2560
  status: jspb.Message.getFieldWithDefault(msg, 5, 0),
2561
- price: (f = msg.getPrice()) && tinvest_common_pb.Quotation.toObject(includeInstance, f),
2562
- extr: (f = msg.getExtr()) && tinvest_common_pb.Quotation.toObject(includeInstance, f)
2561
+ price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
2562
+ extr: (f = msg.getExtr()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f)
2563
2563
  };
2564
2564
 
2565
2565
  if (includeInstance) {
@@ -2597,8 +2597,8 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.deserializeBi
2597
2597
  var field = reader.getFieldNumber();
2598
2598
  switch (field) {
2599
2599
  case 1:
2600
- var value = new tinvest_common_pb.Quotation;
2601
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2600
+ var value = new api_tinvest_common_pb.Quotation;
2601
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2602
2602
  msg.setIndent(value);
2603
2603
  break;
2604
2604
  case 2:
@@ -2606,8 +2606,8 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.deserializeBi
2606
2606
  msg.setIndentType(value);
2607
2607
  break;
2608
2608
  case 3:
2609
- var value = new tinvest_common_pb.Quotation;
2610
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2609
+ var value = new api_tinvest_common_pb.Quotation;
2610
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2611
2611
  msg.setSpread(value);
2612
2612
  break;
2613
2613
  case 4:
@@ -2619,13 +2619,13 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.deserializeBi
2619
2619
  msg.setStatus(value);
2620
2620
  break;
2621
2621
  case 7:
2622
- var value = new tinvest_common_pb.Quotation;
2623
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2622
+ var value = new api_tinvest_common_pb.Quotation;
2623
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2624
2624
  msg.setPrice(value);
2625
2625
  break;
2626
2626
  case 8:
2627
- var value = new tinvest_common_pb.Quotation;
2628
- reader.readMessage(value,tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2627
+ var value = new api_tinvest_common_pb.Quotation;
2628
+ reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
2629
2629
  msg.setExtr(value);
2630
2630
  break;
2631
2631
  default:
@@ -2662,7 +2662,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.serializeBina
2662
2662
  writer.writeMessage(
2663
2663
  1,
2664
2664
  f,
2665
- tinvest_common_pb.Quotation.serializeBinaryToWriter
2665
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
2666
2666
  );
2667
2667
  }
2668
2668
  f = message.getIndentType();
@@ -2677,7 +2677,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.serializeBina
2677
2677
  writer.writeMessage(
2678
2678
  3,
2679
2679
  f,
2680
- tinvest_common_pb.Quotation.serializeBinaryToWriter
2680
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
2681
2681
  );
2682
2682
  }
2683
2683
  f = message.getSpreadType();
@@ -2699,7 +2699,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.serializeBina
2699
2699
  writer.writeMessage(
2700
2700
  7,
2701
2701
  f,
2702
- tinvest_common_pb.Quotation.serializeBinaryToWriter
2702
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
2703
2703
  );
2704
2704
  }
2705
2705
  f = message.getExtr();
@@ -2707,7 +2707,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.serializeBina
2707
2707
  writer.writeMessage(
2708
2708
  8,
2709
2709
  f,
2710
- tinvest_common_pb.Quotation.serializeBinaryToWriter
2710
+ api_tinvest_common_pb.Quotation.serializeBinaryToWriter
2711
2711
  );
2712
2712
  }
2713
2713
  };
@@ -2719,7 +2719,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.serializeBina
2719
2719
  */
2720
2720
  proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.getIndent = function() {
2721
2721
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
2722
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 1));
2722
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 1));
2723
2723
  };
2724
2724
 
2725
2725
 
@@ -2774,7 +2774,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.set
2774
2774
  */
2775
2775
  proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.getSpread = function() {
2776
2776
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
2777
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 3));
2777
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
2778
2778
  };
2779
2779
 
2780
2780
 
@@ -2847,7 +2847,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.set
2847
2847
  */
2848
2848
  proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.getPrice = function() {
2849
2849
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
2850
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 7));
2850
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 7));
2851
2851
  };
2852
2852
 
2853
2853
 
@@ -2884,7 +2884,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.has
2884
2884
  */
2885
2885
  proto.tinkoff.public.invest.api.contract.v1.StopOrder.TrailingData.prototype.getExtr = function() {
2886
2886
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
2887
- jspb.Message.getWrapperField(this, tinvest_common_pb.Quotation, 8));
2887
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 8));
2888
2888
  };
2889
2889
 
2890
2890
 
@@ -3140,7 +3140,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.prototype.hasExpirationTim
3140
3140
  */
3141
3141
  proto.tinkoff.public.invest.api.contract.v1.StopOrder.prototype.getPrice = function() {
3142
3142
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
3143
- jspb.Message.getWrapperField(this, tinvest_common_pb.MoneyValue, 10));
3143
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 10));
3144
3144
  };
3145
3145
 
3146
3146
 
@@ -3177,7 +3177,7 @@ proto.tinkoff.public.invest.api.contract.v1.StopOrder.prototype.hasPrice = funct
3177
3177
  */
3178
3178
  proto.tinkoff.public.invest.api.contract.v1.StopOrder.prototype.getStopPrice = function() {
3179
3179
  return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
3180
- jspb.Message.getWrapperField(this, tinvest_common_pb.MoneyValue, 11));
3180
+ jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 11));
3181
3181
  };
3182
3182
 
3183
3183