@fintekkers/ledger-models 0.1.131 → 0.1.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node/fintekkers/models/portfolio/portfolio_pb.js +19 -13
- package/node/fintekkers/models/position/field_pb.js +7 -1
- package/node/fintekkers/models/position/measure_pb.js +7 -1
- package/node/fintekkers/models/position/position_filter_pb.js +13 -7
- package/node/fintekkers/models/position/position_pb.js +17 -11
- package/node/fintekkers/models/position/position_status_pb.js +7 -1
- package/node/fintekkers/models/position/position_util_pb.js +17 -11
- package/node/fintekkers/models/price/price_pb.js +20 -14
- package/node/fintekkers/models/price/price_type_pb.js +7 -1
- package/node/fintekkers/models/security/bond/auction_type_pb.js +7 -1
- package/node/fintekkers/models/security/bond/issuance_pb.js +23 -17
- package/node/fintekkers/models/security/coupon_frequency_pb.js +7 -1
- package/node/fintekkers/models/security/coupon_type_pb.js +7 -1
- package/node/fintekkers/models/security/identifier/identifier_pb.js +15 -9
- package/node/fintekkers/models/security/identifier/identifier_type_pb.js +7 -1
- package/node/fintekkers/models/security/index/index_type_pb.js +7 -1
- package/node/fintekkers/models/security/index_composition_grpc_pb.js +1 -0
- package/node/fintekkers/models/security/index_composition_pb.js +29 -23
- package/node/fintekkers/models/security/security_pb.js +96 -90
- package/node/fintekkers/models/security/security_quantity_type_pb.js +7 -1
- package/node/fintekkers/models/security/security_type_pb.js +7 -1
- package/node/fintekkers/models/security/tenor_pb.js +15 -9
- package/node/fintekkers/models/security/tenor_type_pb.js +7 -1
- package/node/fintekkers/models/strategy/strategy_allocation_pb.js +19 -13
- package/node/fintekkers/models/strategy/strategy_pb.js +20 -14
- package/node/fintekkers/models/transaction/transaction_pb.js +30 -24
- package/node/fintekkers/models/transaction/transaction_type_pb.js +7 -1
- package/node/fintekkers/models/util/api/api_key_pb.js +16 -10
- package/node/fintekkers/models/util/currency_grpc_pb.js +1 -0
- package/node/fintekkers/models/util/currency_pb.js +10 -4
- package/node/fintekkers/models/util/date_range_pb.js +14 -8
- package/node/fintekkers/models/util/decimal_value_pb.js +10 -4
- package/node/fintekkers/models/util/endpoint_pb.js +13 -7
- package/node/fintekkers/models/util/local_date_pb.js +11 -5
- package/node/fintekkers/models/util/local_timestamp_pb.js +11 -5
- package/node/fintekkers/models/util/lock/node_partition_pb.js +15 -9
- package/node/fintekkers/models/util/lock/node_state_pb.js +16 -10
- package/node/fintekkers/models/util/uuid_pb.js +9 -3
- package/node/fintekkers/models/valuation/cashflow_grpc_pb.js +1 -0
- package/node/fintekkers/models/valuation/cashflow_pb.js +13 -7
- package/node/fintekkers/requests/index_composition/create_index_composition_request_grpc_pb.js +1 -0
- package/node/fintekkers/requests/index_composition/create_index_composition_request_pb.js +22 -16
- package/node/fintekkers/requests/index_composition/get_index_composition_request_grpc_pb.js +1 -0
- package/node/fintekkers/requests/index_composition/get_index_composition_request_pb.js +22 -16
- package/node/fintekkers/requests/portfolio/create_portfolio_request_pb.js +13 -7
- package/node/fintekkers/requests/portfolio/create_portfolio_response_pb.js +14 -8
- package/node/fintekkers/requests/portfolio/query_portfolio_request_pb.js +17 -11
- package/node/fintekkers/requests/portfolio/query_portfolio_response_pb.js +14 -8
- package/node/fintekkers/requests/position/query_position_request_pb.js +27 -15
- package/node/fintekkers/requests/position/query_position_response_pb.js +16 -10
- package/node/fintekkers/requests/price/create_price_request_pb.js +13 -7
- package/node/fintekkers/requests/price/create_price_response_pb.js +14 -8
- package/node/fintekkers/requests/price/query_price_request_pb.js +18 -12
- package/node/fintekkers/requests/price/query_price_response_pb.js +14 -8
- package/node/fintekkers/requests/security/create_security_request_pb.js +13 -7
- package/node/fintekkers/requests/security/create_security_response_pb.js +15 -9
- package/node/fintekkers/requests/security/get_field_values_request_pb.js +13 -7
- package/node/fintekkers/requests/security/get_field_values_response_pb.js +13 -7
- package/node/fintekkers/requests/security/get_fields_response_pb.js +17 -8
- package/node/fintekkers/requests/security/query_security_request_pb.js +17 -11
- package/node/fintekkers/requests/security/query_security_response_pb.js +15 -9
- package/node/fintekkers/requests/transaction/create_transaction_request_pb.js +13 -7
- package/node/fintekkers/requests/transaction/create_transaction_response_pb.js +14 -8
- package/node/fintekkers/requests/transaction/query_transaction_request_pb.js +16 -10
- package/node/fintekkers/requests/transaction/query_transaction_response_pb.js +15 -9
- package/node/fintekkers/requests/util/delete_request_grpc_pb.js +1 -0
- package/node/fintekkers/requests/util/delete_request_pb.js +34 -28
- package/node/fintekkers/requests/util/errors/error_pb.js +13 -7
- package/node/fintekkers/requests/util/errors/message_pb.js +12 -6
- package/node/fintekkers/requests/util/errors/summary_pb.js +10 -4
- package/node/fintekkers/requests/util/lock/lock_request_pb.js +14 -8
- package/node/fintekkers/requests/util/lock/lock_response_pb.js +15 -9
- package/node/fintekkers/requests/util/operation_pb.js +7 -1
- package/node/fintekkers/requests/valuation/curve_request_grpc_pb.js +1 -0
- package/node/fintekkers/requests/valuation/curve_request_pb.d.ts +12 -0
- package/node/fintekkers/requests/valuation/curve_request_pb.js +125 -14
- package/node/fintekkers/requests/valuation/curve_response_grpc_pb.js +1 -0
- package/node/fintekkers/requests/valuation/curve_response_pb.js +21 -15
- package/node/fintekkers/requests/valuation/product_inputs.test.d.ts +6 -0
- package/node/fintekkers/requests/valuation/product_inputs.test.js +146 -0
- package/node/fintekkers/requests/valuation/product_inputs.test.js.map +1 -0
- package/node/fintekkers/requests/valuation/product_inputs_grpc_pb.js +1 -0
- package/node/fintekkers/requests/valuation/product_inputs_pb.d.ts +42 -0
- package/node/fintekkers/requests/valuation/product_inputs_pb.js +360 -27
- package/node/fintekkers/requests/valuation/valuation_request_pb.js +25 -16
- package/node/fintekkers/requests/valuation/valuation_response_pb.js +16 -10
- package/node/fintekkers/services/index-composition-service/index_composition_service_grpc_pb.js +14 -14
- package/node/fintekkers/services/index-composition-service/index_composition_service_pb.js +7 -1
- package/node/fintekkers/services/lock-service/lock_service_grpc_pb.js +23 -23
- package/node/fintekkers/services/lock-service/lock_service_pb.js +21 -15
- package/node/fintekkers/services/portfolio-service/portfolio_service_grpc_pb.js +8 -8
- package/node/fintekkers/services/portfolio-service/portfolio_service_pb.js +7 -1
- package/node/fintekkers/services/position-service/position_service_grpc_pb.js +10 -10
- package/node/fintekkers/services/position-service/position_service_pb.js +7 -1
- package/node/fintekkers/services/price-service/price_service_grpc_pb.js +6 -6
- package/node/fintekkers/services/price-service/price_service_pb.js +7 -1
- package/node/fintekkers/services/security-service/security_service_grpc_pb.js +12 -12
- package/node/fintekkers/services/security-service/security_service_pb.js +7 -1
- package/node/fintekkers/services/transaction-service/transaction_service_grpc_pb.js +11 -11
- package/node/fintekkers/services/transaction-service/transaction_service_pb.js +7 -1
- package/node/fintekkers/services/valuation-service/valuation_service_grpc_pb.js +5 -5
- package/node/fintekkers/services/valuation-service/valuation_service_pb.js +7 -1
- package/node/wrappers/models/price/Price.d.ts +5 -0
- package/node/wrappers/models/price/Price.js +7 -0
- package/node/wrappers/models/price/Price.js.map +1 -1
- package/node/wrappers/models/price/Price.ts +8 -0
- package/node/wrappers/models/security/security.d.ts +6 -0
- package/node/wrappers/models/security/security.js +8 -0
- package/node/wrappers/models/security/security.js.map +1 -1
- package/node/wrappers/models/security/security.ts +9 -0
- package/node/wrappers/services/price-service/PriceService.d.ts +19 -0
- package/node/wrappers/services/price-service/PriceService.js +26 -0
- package/node/wrappers/services/price-service/PriceService.js.map +1 -1
- package/node/wrappers/services/price-service/PriceService.ts +29 -0
- package/node/wrappers/services/searchWithSecurities.test.js +125 -0
- package/node/wrappers/services/searchWithSecurities.test.js.map +1 -0
- package/node/wrappers/services/searchWithSecurities.test.ts +103 -0
- package/node/wrappers/services/transaction-service/TransactionService.d.ts +14 -0
- package/node/wrappers/services/transaction-service/TransactionService.js +25 -0
- package/node/wrappers/services/transaction-service/TransactionService.js.map +1 -1
- package/node/wrappers/services/transaction-service/TransactionService.ts +29 -0
- package/node/wrappers/util/link-resolver.d.ts +127 -0
- package/node/wrappers/util/link-resolver.js +378 -0
- package/node/wrappers/util/link-resolver.js.map +1 -0
- package/node/wrappers/util/link-resolver.test.d.ts +1 -0
- package/node/wrappers/util/link-resolver.test.js +349 -0
- package/node/wrappers/util/link-resolver.test.js.map +1 -0
- package/node/wrappers/util/link-resolver.test.ts +402 -0
- package/node/wrappers/util/link-resolver.ts +448 -0
- package/package.json +1 -1
- package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js +0 -38
- package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js.map +0 -1
- package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.ts +0 -32
- /package/node/wrappers/services/{security-service/SecurityService.searchByUuid.test.d.ts → searchWithSecurities.test.d.ts} +0 -0
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
var fintekkers_models_security_security_pb = require('../../../fintekkers/models/security/security_pb.js');
|
|
19
25
|
goog.object.extend(proto, fintekkers_models_security_security_pb);
|
|
@@ -30,6 +36,7 @@ goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput', null, glob
|
|
|
30
36
|
goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput.InputCase', null, global);
|
|
31
37
|
goog.exportSymbol('proto.fintekkers.requests.valuation.SecurityBasedCurveInput', null, global);
|
|
32
38
|
goog.exportSymbol('proto.fintekkers.requests.valuation.SecurityCurvePoint', null, global);
|
|
39
|
+
goog.exportSymbol('proto.fintekkers.requests.valuation.TipsInput', null, global);
|
|
33
40
|
goog.exportSymbol('proto.fintekkers.requests.valuation.YieldCurveInput', null, global);
|
|
34
41
|
/**
|
|
35
42
|
* Generated by JsPbCodeGenerator.
|
|
@@ -73,6 +80,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
73
80
|
*/
|
|
74
81
|
proto.fintekkers.requests.valuation.BondInput.displayName = 'proto.fintekkers.requests.valuation.BondInput';
|
|
75
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Generated by JsPbCodeGenerator.
|
|
85
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
86
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
87
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
88
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
89
|
+
* valid.
|
|
90
|
+
* @extends {jspb.Message}
|
|
91
|
+
* @constructor
|
|
92
|
+
*/
|
|
93
|
+
proto.fintekkers.requests.valuation.TipsInput = function(opt_data) {
|
|
94
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
95
|
+
};
|
|
96
|
+
goog.inherits(proto.fintekkers.requests.valuation.TipsInput, jspb.Message);
|
|
97
|
+
if (goog.DEBUG && !COMPILED) {
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @override
|
|
101
|
+
*/
|
|
102
|
+
proto.fintekkers.requests.valuation.TipsInput.displayName = 'proto.fintekkers.requests.valuation.TipsInput';
|
|
103
|
+
}
|
|
76
104
|
/**
|
|
77
105
|
* Generated by JsPbCodeGenerator.
|
|
78
106
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -187,7 +215,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
187
215
|
* @private {!Array<!Array<number>>}
|
|
188
216
|
* @const
|
|
189
217
|
*/
|
|
190
|
-
proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[1,8]];
|
|
218
|
+
proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[1,2,8]];
|
|
191
219
|
|
|
192
220
|
/**
|
|
193
221
|
* @enum {number}
|
|
@@ -195,6 +223,7 @@ proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[1,8]];
|
|
|
195
223
|
proto.fintekkers.requests.valuation.ProductInput.InputCase = {
|
|
196
224
|
INPUT_NOT_SET: 0,
|
|
197
225
|
BOND: 1,
|
|
226
|
+
TIPS: 2,
|
|
198
227
|
FRN: 8
|
|
199
228
|
};
|
|
200
229
|
|
|
@@ -236,8 +265,9 @@ proto.fintekkers.requests.valuation.ProductInput.prototype.toObject = function(o
|
|
|
236
265
|
*/
|
|
237
266
|
proto.fintekkers.requests.valuation.ProductInput.toObject = function(includeInstance, msg) {
|
|
238
267
|
var f, obj = {
|
|
239
|
-
bond: (f = msg.getBond()) && proto.fintekkers.requests.valuation.BondInput.toObject(includeInstance, f),
|
|
240
|
-
|
|
268
|
+
bond: (f = msg.getBond()) && proto.fintekkers.requests.valuation.BondInput.toObject(includeInstance, f),
|
|
269
|
+
tips: (f = msg.getTips()) && proto.fintekkers.requests.valuation.TipsInput.toObject(includeInstance, f),
|
|
270
|
+
frn: (f = msg.getFrn()) && proto.fintekkers.requests.valuation.FrnInput.toObject(includeInstance, f)
|
|
241
271
|
};
|
|
242
272
|
|
|
243
273
|
if (includeInstance) {
|
|
@@ -250,7 +280,7 @@ frn: (f = msg.getFrn()) && proto.fintekkers.requests.valuation.FrnInput.toObject
|
|
|
250
280
|
|
|
251
281
|
/**
|
|
252
282
|
* Deserializes binary data (in protobuf wire format).
|
|
253
|
-
* @param {jspb.
|
|
283
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
254
284
|
* @return {!proto.fintekkers.requests.valuation.ProductInput}
|
|
255
285
|
*/
|
|
256
286
|
proto.fintekkers.requests.valuation.ProductInput.deserializeBinary = function(bytes) {
|
|
@@ -279,6 +309,11 @@ proto.fintekkers.requests.valuation.ProductInput.deserializeBinaryFromReader = f
|
|
|
279
309
|
reader.readMessage(value,proto.fintekkers.requests.valuation.BondInput.deserializeBinaryFromReader);
|
|
280
310
|
msg.setBond(value);
|
|
281
311
|
break;
|
|
312
|
+
case 2:
|
|
313
|
+
var value = new proto.fintekkers.requests.valuation.TipsInput;
|
|
314
|
+
reader.readMessage(value,proto.fintekkers.requests.valuation.TipsInput.deserializeBinaryFromReader);
|
|
315
|
+
msg.setTips(value);
|
|
316
|
+
break;
|
|
282
317
|
case 8:
|
|
283
318
|
var value = new proto.fintekkers.requests.valuation.FrnInput;
|
|
284
319
|
reader.readMessage(value,proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader);
|
|
@@ -321,6 +356,14 @@ proto.fintekkers.requests.valuation.ProductInput.serializeBinaryToWriter = funct
|
|
|
321
356
|
proto.fintekkers.requests.valuation.BondInput.serializeBinaryToWriter
|
|
322
357
|
);
|
|
323
358
|
}
|
|
359
|
+
f = message.getTips();
|
|
360
|
+
if (f != null) {
|
|
361
|
+
writer.writeMessage(
|
|
362
|
+
2,
|
|
363
|
+
f,
|
|
364
|
+
proto.fintekkers.requests.valuation.TipsInput.serializeBinaryToWriter
|
|
365
|
+
);
|
|
366
|
+
}
|
|
324
367
|
f = message.getFrn();
|
|
325
368
|
if (f != null) {
|
|
326
369
|
writer.writeMessage(
|
|
@@ -369,6 +412,43 @@ proto.fintekkers.requests.valuation.ProductInput.prototype.hasBond = function()
|
|
|
369
412
|
};
|
|
370
413
|
|
|
371
414
|
|
|
415
|
+
/**
|
|
416
|
+
* optional TipsInput tips = 2;
|
|
417
|
+
* @return {?proto.fintekkers.requests.valuation.TipsInput}
|
|
418
|
+
*/
|
|
419
|
+
proto.fintekkers.requests.valuation.ProductInput.prototype.getTips = function() {
|
|
420
|
+
return /** @type{?proto.fintekkers.requests.valuation.TipsInput} */ (
|
|
421
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.TipsInput, 2));
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @param {?proto.fintekkers.requests.valuation.TipsInput|undefined} value
|
|
427
|
+
* @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
|
|
428
|
+
*/
|
|
429
|
+
proto.fintekkers.requests.valuation.ProductInput.prototype.setTips = function(value) {
|
|
430
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_[0], value);
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Clears the message field making it undefined.
|
|
436
|
+
* @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
|
|
437
|
+
*/
|
|
438
|
+
proto.fintekkers.requests.valuation.ProductInput.prototype.clearTips = function() {
|
|
439
|
+
return this.setTips(undefined);
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Returns whether this field is set.
|
|
445
|
+
* @return {boolean}
|
|
446
|
+
*/
|
|
447
|
+
proto.fintekkers.requests.valuation.ProductInput.prototype.hasTips = function() {
|
|
448
|
+
return jspb.Message.getField(this, 2) != null;
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
|
|
372
452
|
/**
|
|
373
453
|
* optional FrnInput frn = 8;
|
|
374
454
|
* @return {?proto.fintekkers.requests.valuation.FrnInput}
|
|
@@ -438,9 +518,9 @@ proto.fintekkers.requests.valuation.BondInput.prototype.toObject = function(opt_
|
|
|
438
518
|
*/
|
|
439
519
|
proto.fintekkers.requests.valuation.BondInput.toObject = function(includeInstance, msg) {
|
|
440
520
|
var f, obj = {
|
|
441
|
-
security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
442
|
-
cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
443
|
-
benchmarkCurve: (f = msg.getBenchmarkCurve()) && proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject(includeInstance, f)
|
|
521
|
+
security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
522
|
+
cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
523
|
+
benchmarkCurve: (f = msg.getBenchmarkCurve()) && proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject(includeInstance, f)
|
|
444
524
|
};
|
|
445
525
|
|
|
446
526
|
if (includeInstance) {
|
|
@@ -453,7 +533,7 @@ benchmarkCurve: (f = msg.getBenchmarkCurve()) && proto.fintekkers.requests.valua
|
|
|
453
533
|
|
|
454
534
|
/**
|
|
455
535
|
* Deserializes binary data (in protobuf wire format).
|
|
456
|
-
* @param {jspb.
|
|
536
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
457
537
|
* @return {!proto.fintekkers.requests.valuation.BondInput}
|
|
458
538
|
*/
|
|
459
539
|
proto.fintekkers.requests.valuation.BondInput.deserializeBinary = function(bytes) {
|
|
@@ -662,6 +742,259 @@ proto.fintekkers.requests.valuation.BondInput.prototype.hasBenchmarkCurve = func
|
|
|
662
742
|
|
|
663
743
|
|
|
664
744
|
|
|
745
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
746
|
+
/**
|
|
747
|
+
* Creates an object representation of this proto.
|
|
748
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
749
|
+
* Optional fields that are not set will be set to undefined.
|
|
750
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
751
|
+
* For the list of reserved names please see:
|
|
752
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
753
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
754
|
+
* JSPB instance for transitional soy proto support:
|
|
755
|
+
* http://goto/soy-param-migration
|
|
756
|
+
* @return {!Object}
|
|
757
|
+
*/
|
|
758
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.toObject = function(opt_includeInstance) {
|
|
759
|
+
return proto.fintekkers.requests.valuation.TipsInput.toObject(opt_includeInstance, this);
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Static version of the {@see toObject} method.
|
|
765
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
766
|
+
* the JSPB instance for transitional soy proto support:
|
|
767
|
+
* http://goto/soy-param-migration
|
|
768
|
+
* @param {!proto.fintekkers.requests.valuation.TipsInput} msg The msg instance to transform.
|
|
769
|
+
* @return {!Object}
|
|
770
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
771
|
+
*/
|
|
772
|
+
proto.fintekkers.requests.valuation.TipsInput.toObject = function(includeInstance, msg) {
|
|
773
|
+
var f, obj = {
|
|
774
|
+
security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
775
|
+
cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
776
|
+
currentCpi: (f = msg.getCurrentCpi()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
if (includeInstance) {
|
|
780
|
+
obj.$jspbMessageInstance = msg;
|
|
781
|
+
}
|
|
782
|
+
return obj;
|
|
783
|
+
};
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Deserializes binary data (in protobuf wire format).
|
|
789
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
790
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput}
|
|
791
|
+
*/
|
|
792
|
+
proto.fintekkers.requests.valuation.TipsInput.deserializeBinary = function(bytes) {
|
|
793
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
794
|
+
var msg = new proto.fintekkers.requests.valuation.TipsInput;
|
|
795
|
+
return proto.fintekkers.requests.valuation.TipsInput.deserializeBinaryFromReader(msg, reader);
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
801
|
+
* given reader into the given message object.
|
|
802
|
+
* @param {!proto.fintekkers.requests.valuation.TipsInput} msg The message object to deserialize into.
|
|
803
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
804
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput}
|
|
805
|
+
*/
|
|
806
|
+
proto.fintekkers.requests.valuation.TipsInput.deserializeBinaryFromReader = function(msg, reader) {
|
|
807
|
+
while (reader.nextField()) {
|
|
808
|
+
if (reader.isEndGroup()) {
|
|
809
|
+
break;
|
|
810
|
+
}
|
|
811
|
+
var field = reader.getFieldNumber();
|
|
812
|
+
switch (field) {
|
|
813
|
+
case 1:
|
|
814
|
+
var value = new fintekkers_models_security_security_pb.SecurityProto;
|
|
815
|
+
reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
|
|
816
|
+
msg.setSecurity(value);
|
|
817
|
+
break;
|
|
818
|
+
case 2:
|
|
819
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
820
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
821
|
+
msg.setCleanPrice(value);
|
|
822
|
+
break;
|
|
823
|
+
case 3:
|
|
824
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
825
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
826
|
+
msg.setCurrentCpi(value);
|
|
827
|
+
break;
|
|
828
|
+
default:
|
|
829
|
+
reader.skipField();
|
|
830
|
+
break;
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
return msg;
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
839
|
+
* @return {!Uint8Array}
|
|
840
|
+
*/
|
|
841
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.serializeBinary = function() {
|
|
842
|
+
var writer = new jspb.BinaryWriter();
|
|
843
|
+
proto.fintekkers.requests.valuation.TipsInput.serializeBinaryToWriter(this, writer);
|
|
844
|
+
return writer.getResultBuffer();
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
850
|
+
* format), writing to the given BinaryWriter.
|
|
851
|
+
* @param {!proto.fintekkers.requests.valuation.TipsInput} message
|
|
852
|
+
* @param {!jspb.BinaryWriter} writer
|
|
853
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
854
|
+
*/
|
|
855
|
+
proto.fintekkers.requests.valuation.TipsInput.serializeBinaryToWriter = function(message, writer) {
|
|
856
|
+
var f = undefined;
|
|
857
|
+
f = message.getSecurity();
|
|
858
|
+
if (f != null) {
|
|
859
|
+
writer.writeMessage(
|
|
860
|
+
1,
|
|
861
|
+
f,
|
|
862
|
+
fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
|
|
863
|
+
);
|
|
864
|
+
}
|
|
865
|
+
f = message.getCleanPrice();
|
|
866
|
+
if (f != null) {
|
|
867
|
+
writer.writeMessage(
|
|
868
|
+
2,
|
|
869
|
+
f,
|
|
870
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
f = message.getCurrentCpi();
|
|
874
|
+
if (f != null) {
|
|
875
|
+
writer.writeMessage(
|
|
876
|
+
3,
|
|
877
|
+
f,
|
|
878
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
879
|
+
);
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* optional fintekkers.models.security.SecurityProto security = 1;
|
|
886
|
+
* @return {?proto.fintekkers.models.security.SecurityProto}
|
|
887
|
+
*/
|
|
888
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.getSecurity = function() {
|
|
889
|
+
return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
|
|
890
|
+
jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
|
|
896
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
|
|
897
|
+
*/
|
|
898
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.setSecurity = function(value) {
|
|
899
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
900
|
+
};
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Clears the message field making it undefined.
|
|
905
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
|
|
906
|
+
*/
|
|
907
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.clearSecurity = function() {
|
|
908
|
+
return this.setSecurity(undefined);
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Returns whether this field is set.
|
|
914
|
+
* @return {boolean}
|
|
915
|
+
*/
|
|
916
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.hasSecurity = function() {
|
|
917
|
+
return jspb.Message.getField(this, 1) != null;
|
|
918
|
+
};
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* optional fintekkers.models.util.DecimalValueProto clean_price = 2;
|
|
923
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
924
|
+
*/
|
|
925
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.getCleanPrice = function() {
|
|
926
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
927
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
933
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
|
|
934
|
+
*/
|
|
935
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.setCleanPrice = function(value) {
|
|
936
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Clears the message field making it undefined.
|
|
942
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
|
|
943
|
+
*/
|
|
944
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.clearCleanPrice = function() {
|
|
945
|
+
return this.setCleanPrice(undefined);
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Returns whether this field is set.
|
|
951
|
+
* @return {boolean}
|
|
952
|
+
*/
|
|
953
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.hasCleanPrice = function() {
|
|
954
|
+
return jspb.Message.getField(this, 2) != null;
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* optional fintekkers.models.util.DecimalValueProto current_cpi = 3;
|
|
960
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
961
|
+
*/
|
|
962
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.getCurrentCpi = function() {
|
|
963
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
964
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 3));
|
|
965
|
+
};
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
970
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
|
|
971
|
+
*/
|
|
972
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.setCurrentCpi = function(value) {
|
|
973
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Clears the message field making it undefined.
|
|
979
|
+
* @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
|
|
980
|
+
*/
|
|
981
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.clearCurrentCpi = function() {
|
|
982
|
+
return this.setCurrentCpi(undefined);
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Returns whether this field is set.
|
|
988
|
+
* @return {boolean}
|
|
989
|
+
*/
|
|
990
|
+
proto.fintekkers.requests.valuation.TipsInput.prototype.hasCurrentCpi = function() {
|
|
991
|
+
return jspb.Message.getField(this, 3) != null;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
665
998
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
666
999
|
/**
|
|
667
1000
|
* Creates an object representation of this proto.
|
|
@@ -691,9 +1024,9 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.toObject = function(opt_i
|
|
|
691
1024
|
*/
|
|
692
1025
|
proto.fintekkers.requests.valuation.FrnInput.toObject = function(includeInstance, msg) {
|
|
693
1026
|
var f, obj = {
|
|
694
|
-
security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
695
|
-
cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
696
|
-
curve: (f = msg.getCurve()) && proto.fintekkers.requests.valuation.YieldCurveInput.toObject(includeInstance, f)
|
|
1027
|
+
security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
1028
|
+
cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
1029
|
+
curve: (f = msg.getCurve()) && proto.fintekkers.requests.valuation.YieldCurveInput.toObject(includeInstance, f)
|
|
697
1030
|
};
|
|
698
1031
|
|
|
699
1032
|
if (includeInstance) {
|
|
@@ -706,7 +1039,7 @@ curve: (f = msg.getCurve()) && proto.fintekkers.requests.valuation.YieldCurveInp
|
|
|
706
1039
|
|
|
707
1040
|
/**
|
|
708
1041
|
* Deserializes binary data (in protobuf wire format).
|
|
709
|
-
* @param {jspb.
|
|
1042
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
710
1043
|
* @return {!proto.fintekkers.requests.valuation.FrnInput}
|
|
711
1044
|
*/
|
|
712
1045
|
proto.fintekkers.requests.valuation.FrnInput.deserializeBinary = function(bytes) {
|
|
@@ -951,9 +1284,9 @@ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.toObject = functio
|
|
|
951
1284
|
*/
|
|
952
1285
|
proto.fintekkers.requests.valuation.YieldCurveInput.toObject = function(includeInstance, msg) {
|
|
953
1286
|
var f, obj = {
|
|
954
|
-
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
955
|
-
referenceDate: (f = msg.getReferenceDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
956
|
-
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
1287
|
+
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1288
|
+
referenceDate: (f = msg.getReferenceDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
1289
|
+
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
957
1290
|
proto.fintekkers.requests.valuation.CurvePoint.toObject, includeInstance)
|
|
958
1291
|
};
|
|
959
1292
|
|
|
@@ -967,7 +1300,7 @@ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
|
967
1300
|
|
|
968
1301
|
/**
|
|
969
1302
|
* Deserializes binary data (in protobuf wire format).
|
|
970
|
-
* @param {jspb.
|
|
1303
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
971
1304
|
* @return {!proto.fintekkers.requests.valuation.YieldCurveInput}
|
|
972
1305
|
*/
|
|
973
1306
|
proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinary = function(bytes) {
|
|
@@ -1185,8 +1518,8 @@ proto.fintekkers.requests.valuation.CurvePoint.prototype.toObject = function(opt
|
|
|
1185
1518
|
*/
|
|
1186
1519
|
proto.fintekkers.requests.valuation.CurvePoint.toObject = function(includeInstance, msg) {
|
|
1187
1520
|
var f, obj = {
|
|
1188
|
-
tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
1189
|
-
rate: (f = msg.getRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
1521
|
+
tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
1522
|
+
rate: (f = msg.getRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
1190
1523
|
};
|
|
1191
1524
|
|
|
1192
1525
|
if (includeInstance) {
|
|
@@ -1199,7 +1532,7 @@ rate: (f = msg.getRate()) && fintekkers_models_util_decimal_value_pb.DecimalValu
|
|
|
1199
1532
|
|
|
1200
1533
|
/**
|
|
1201
1534
|
* Deserializes binary data (in protobuf wire format).
|
|
1202
|
-
* @param {jspb.
|
|
1535
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1203
1536
|
* @return {!proto.fintekkers.requests.valuation.CurvePoint}
|
|
1204
1537
|
*/
|
|
1205
1538
|
proto.fintekkers.requests.valuation.CurvePoint.deserializeBinary = function(bytes) {
|
|
@@ -1394,9 +1727,9 @@ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.toObject =
|
|
|
1394
1727
|
*/
|
|
1395
1728
|
proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject = function(includeInstance, msg) {
|
|
1396
1729
|
var f, obj = {
|
|
1397
|
-
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1398
|
-
referenceDate: (f = msg.getReferenceDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
1399
|
-
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
1730
|
+
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1731
|
+
referenceDate: (f = msg.getReferenceDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
1732
|
+
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
1400
1733
|
proto.fintekkers.requests.valuation.SecurityCurvePoint.toObject, includeInstance)
|
|
1401
1734
|
};
|
|
1402
1735
|
|
|
@@ -1410,7 +1743,7 @@ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
|
1410
1743
|
|
|
1411
1744
|
/**
|
|
1412
1745
|
* Deserializes binary data (in protobuf wire format).
|
|
1413
|
-
* @param {jspb.
|
|
1746
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1414
1747
|
* @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput}
|
|
1415
1748
|
*/
|
|
1416
1749
|
proto.fintekkers.requests.valuation.SecurityBasedCurveInput.deserializeBinary = function(bytes) {
|
|
@@ -1628,8 +1961,8 @@ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.toObject = func
|
|
|
1628
1961
|
*/
|
|
1629
1962
|
proto.fintekkers.requests.valuation.SecurityCurvePoint.toObject = function(includeInstance, msg) {
|
|
1630
1963
|
var f, obj = {
|
|
1631
|
-
security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
1632
|
-
cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
1964
|
+
security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
1965
|
+
cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
1633
1966
|
};
|
|
1634
1967
|
|
|
1635
1968
|
if (includeInstance) {
|
|
@@ -1642,7 +1975,7 @@ cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb
|
|
|
1642
1975
|
|
|
1643
1976
|
/**
|
|
1644
1977
|
* Deserializes binary data (in protobuf wire format).
|
|
1645
|
-
* @param {jspb.
|
|
1978
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1646
1979
|
* @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint}
|
|
1647
1980
|
*/
|
|
1648
1981
|
proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinary = function(bytes) {
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
var fintekkers_models_security_security_pb = require('../../../fintekkers/models/security/security_pb.js');
|
|
19
25
|
goog.object.extend(proto, fintekkers_models_security_security_pb);
|
|
@@ -90,17 +96,17 @@ proto.fintekkers.requests.valuation.ValuationRequestProto.prototype.toObject = f
|
|
|
90
96
|
*/
|
|
91
97
|
proto.fintekkers.requests.valuation.ValuationRequestProto.toObject = function(includeInstance, msg) {
|
|
92
98
|
var f, obj = {
|
|
93
|
-
objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
94
|
-
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
95
|
-
operationType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
96
|
-
measuresList: (f = jspb.Message.getRepeatedField(msg, 30)) == null ? undefined : f,
|
|
97
|
-
securityInput: (f = msg.getSecurityInput()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
98
|
-
positionInput: (f = msg.getPositionInput()) && fintekkers_models_position_position_pb.PositionProto.toObject(includeInstance, f),
|
|
99
|
-
priceInput: (f = msg.getPriceInput()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f),
|
|
100
|
-
asofDatetime: (f = msg.getAsofDatetime()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
|
|
101
|
-
cpiPriceInput: (f = msg.getCpiPriceInput()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f),
|
|
102
|
-
referenceRateInput: (f = msg.getReferenceRateInput()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f),
|
|
103
|
-
productInput: (f = msg.getProductInput()) && fintekkers_requests_valuation_product_inputs_pb.ProductInput.toObject(includeInstance, f)
|
|
99
|
+
objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
100
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
101
|
+
operationType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
102
|
+
measuresList: (f = jspb.Message.getRepeatedField(msg, 30)) == null ? undefined : f,
|
|
103
|
+
securityInput: (f = msg.getSecurityInput()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
|
|
104
|
+
positionInput: (f = msg.getPositionInput()) && fintekkers_models_position_position_pb.PositionProto.toObject(includeInstance, f),
|
|
105
|
+
priceInput: (f = msg.getPriceInput()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f),
|
|
106
|
+
asofDatetime: (f = msg.getAsofDatetime()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
|
|
107
|
+
cpiPriceInput: (f = msg.getCpiPriceInput()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f),
|
|
108
|
+
referenceRateInput: (f = msg.getReferenceRateInput()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f),
|
|
109
|
+
productInput: (f = msg.getProductInput()) && fintekkers_requests_valuation_product_inputs_pb.ProductInput.toObject(includeInstance, f)
|
|
104
110
|
};
|
|
105
111
|
|
|
106
112
|
if (includeInstance) {
|
|
@@ -113,7 +119,7 @@ productInput: (f = msg.getProductInput()) && fintekkers_requests_valuation_produ
|
|
|
113
119
|
|
|
114
120
|
/**
|
|
115
121
|
* Deserializes binary data (in protobuf wire format).
|
|
116
|
-
* @param {jspb.
|
|
122
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
117
123
|
* @return {!proto.fintekkers.requests.valuation.ValuationRequestProto}
|
|
118
124
|
*/
|
|
119
125
|
proto.fintekkers.requests.valuation.ValuationRequestProto.deserializeBinary = function(bytes) {
|
|
@@ -138,11 +144,11 @@ proto.fintekkers.requests.valuation.ValuationRequestProto.deserializeBinaryFromR
|
|
|
138
144
|
var field = reader.getFieldNumber();
|
|
139
145
|
switch (field) {
|
|
140
146
|
case 1:
|
|
141
|
-
var value = /** @type {string} */ (reader.
|
|
147
|
+
var value = /** @type {string} */ (reader.readString());
|
|
142
148
|
msg.setObjectClass(value);
|
|
143
149
|
break;
|
|
144
150
|
case 2:
|
|
145
|
-
var value = /** @type {string} */ (reader.
|
|
151
|
+
var value = /** @type {string} */ (reader.readString());
|
|
146
152
|
msg.setVersion(value);
|
|
147
153
|
break;
|
|
148
154
|
case 10:
|
|
@@ -150,7 +156,10 @@ proto.fintekkers.requests.valuation.ValuationRequestProto.deserializeBinaryFromR
|
|
|
150
156
|
msg.setOperationType(value);
|
|
151
157
|
break;
|
|
152
158
|
case 30:
|
|
153
|
-
reader.
|
|
159
|
+
var values = /** @type {!Array<!proto.fintekkers.models.position.MeasureProto>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
160
|
+
for (var i = 0; i < values.length; i++) {
|
|
161
|
+
msg.addMeasures(values[i]);
|
|
162
|
+
}
|
|
154
163
|
break;
|
|
155
164
|
case 20:
|
|
156
165
|
var value = new fintekkers_models_security_security_pb.SecurityProto;
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
var fintekkers_models_position_position_util_pb = require('../../../fintekkers/models/position/position_util_pb.js');
|
|
19
25
|
goog.object.extend(proto, fintekkers_models_position_position_util_pb);
|
|
@@ -84,13 +90,13 @@ proto.fintekkers.requests.valuation.ValuationResponseProto.prototype.toObject =
|
|
|
84
90
|
*/
|
|
85
91
|
proto.fintekkers.requests.valuation.ValuationResponseProto.toObject = function(includeInstance, msg) {
|
|
86
92
|
var f, obj = {
|
|
87
|
-
objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
88
|
-
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89
|
-
valuationRequest: (f = msg.getValuationRequest()) && fintekkers_requests_valuation_valuation_request_pb.ValuationRequestProto.toObject(includeInstance, f),
|
|
90
|
-
measureResultsList: jspb.Message.toObjectList(msg.getMeasureResultsList(),
|
|
93
|
+
objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
94
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
95
|
+
valuationRequest: (f = msg.getValuationRequest()) && fintekkers_requests_valuation_valuation_request_pb.ValuationRequestProto.toObject(includeInstance, f),
|
|
96
|
+
measureResultsList: jspb.Message.toObjectList(msg.getMeasureResultsList(),
|
|
91
97
|
fintekkers_models_position_position_util_pb.MeasureMapEntry.toObject, includeInstance),
|
|
92
|
-
summary: (f = msg.getSummary()) && fintekkers_requests_util_errors_summary_pb.SummaryProto.toObject(includeInstance, f),
|
|
93
|
-
cashflowsList: jspb.Message.toObjectList(msg.getCashflowsList(),
|
|
98
|
+
summary: (f = msg.getSummary()) && fintekkers_requests_util_errors_summary_pb.SummaryProto.toObject(includeInstance, f),
|
|
99
|
+
cashflowsList: jspb.Message.toObjectList(msg.getCashflowsList(),
|
|
94
100
|
fintekkers_models_valuation_cashflow_pb.CashflowProto.toObject, includeInstance)
|
|
95
101
|
};
|
|
96
102
|
|
|
@@ -104,7 +110,7 @@ cashflowsList: jspb.Message.toObjectList(msg.getCashflowsList(),
|
|
|
104
110
|
|
|
105
111
|
/**
|
|
106
112
|
* Deserializes binary data (in protobuf wire format).
|
|
107
|
-
* @param {jspb.
|
|
113
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
108
114
|
* @return {!proto.fintekkers.requests.valuation.ValuationResponseProto}
|
|
109
115
|
*/
|
|
110
116
|
proto.fintekkers.requests.valuation.ValuationResponseProto.deserializeBinary = function(bytes) {
|
|
@@ -129,11 +135,11 @@ proto.fintekkers.requests.valuation.ValuationResponseProto.deserializeBinaryFrom
|
|
|
129
135
|
var field = reader.getFieldNumber();
|
|
130
136
|
switch (field) {
|
|
131
137
|
case 1:
|
|
132
|
-
var value = /** @type {string} */ (reader.
|
|
138
|
+
var value = /** @type {string} */ (reader.readString());
|
|
133
139
|
msg.setObjectClass(value);
|
|
134
140
|
break;
|
|
135
141
|
case 2:
|
|
136
|
-
var value = /** @type {string} */ (reader.
|
|
142
|
+
var value = /** @type {string} */ (reader.readString());
|
|
137
143
|
msg.setVersion(value);
|
|
138
144
|
break;
|
|
139
145
|
case 20:
|