@fintekkers/ledger-models 1.1.0 → 1.1.1

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.
@@ -21,6 +21,10 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ var fintekkers_models_portfolio_amortisation_elections_pb = require('../../../fintekkers/models/portfolio/amortisation_elections_pb.js');
25
+ goog.object.extend(proto, fintekkers_models_portfolio_amortisation_elections_pb);
26
+ var fintekkers_models_position_tax_lot_pb = require('../../../fintekkers/models/position/tax_lot_pb.js');
27
+ goog.object.extend(proto, fintekkers_models_position_tax_lot_pb);
24
28
  var fintekkers_models_security_security_pb = require('../../../fintekkers/models/security/security_pb.js');
25
29
  goog.object.extend(proto, fintekkers_models_security_security_pb);
26
30
  var fintekkers_models_security_index_index_type_pb = require('../../../fintekkers/models/security/index/index_type_pb.js');
@@ -30,6 +34,7 @@ goog.object.extend(proto, fintekkers_models_util_decimal_value_pb);
30
34
  var fintekkers_models_util_local_date_pb = require('../../../fintekkers/models/util/local_date_pb.js');
31
35
  goog.object.extend(proto, fintekkers_models_util_local_date_pb);
32
36
  goog.exportSymbol('proto.fintekkers.requests.valuation.BondInput', null, global);
37
+ goog.exportSymbol('proto.fintekkers.requests.valuation.CostBasisInput', null, global);
33
38
  goog.exportSymbol('proto.fintekkers.requests.valuation.CurvePoint', null, global);
34
39
  goog.exportSymbol('proto.fintekkers.requests.valuation.FrnInput', null, global);
35
40
  goog.exportSymbol('proto.fintekkers.requests.valuation.InflationIndexInput', null, global);
@@ -106,6 +111,27 @@ if (goog.DEBUG && !COMPILED) {
106
111
  */
107
112
  proto.fintekkers.requests.valuation.TipsInput.displayName = 'proto.fintekkers.requests.valuation.TipsInput';
108
113
  }
114
+ /**
115
+ * Generated by JsPbCodeGenerator.
116
+ * @param {Array=} opt_data Optional initial data array, typically from a
117
+ * server response, or constructed directly in Javascript. The array is used
118
+ * in place and becomes part of the constructed object. It is not cloned.
119
+ * If no data is provided, the constructed object will be empty, but still
120
+ * valid.
121
+ * @extends {jspb.Message}
122
+ * @constructor
123
+ */
124
+ proto.fintekkers.requests.valuation.CostBasisInput = function(opt_data) {
125
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.requests.valuation.CostBasisInput.repeatedFields_, null);
126
+ };
127
+ goog.inherits(proto.fintekkers.requests.valuation.CostBasisInput, jspb.Message);
128
+ if (goog.DEBUG && !COMPILED) {
129
+ /**
130
+ * @public
131
+ * @override
132
+ */
133
+ proto.fintekkers.requests.valuation.CostBasisInput.displayName = 'proto.fintekkers.requests.valuation.CostBasisInput';
134
+ }
109
135
  /**
110
136
  * Generated by JsPbCodeGenerator.
111
137
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -609,7 +635,8 @@ proto.fintekkers.requests.valuation.BondInput.toObject = function(includeInstanc
609
635
  var f, obj = {
610
636
  security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
611
637
  cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
612
- benchmarkCurve: (f = msg.getBenchmarkCurve()) && proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject(includeInstance, f)
638
+ benchmarkCurve: (f = msg.getBenchmarkCurve()) && proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject(includeInstance, f),
639
+ costBasis: (f = msg.getCostBasis()) && proto.fintekkers.requests.valuation.CostBasisInput.toObject(includeInstance, f)
613
640
  };
614
641
 
615
642
  if (includeInstance) {
@@ -661,6 +688,11 @@ proto.fintekkers.requests.valuation.BondInput.deserializeBinaryFromReader = func
661
688
  reader.readMessage(value,proto.fintekkers.requests.valuation.SecurityBasedCurveInput.deserializeBinaryFromReader);
662
689
  msg.setBenchmarkCurve(value);
663
690
  break;
691
+ case 20:
692
+ var value = new proto.fintekkers.requests.valuation.CostBasisInput;
693
+ reader.readMessage(value,proto.fintekkers.requests.valuation.CostBasisInput.deserializeBinaryFromReader);
694
+ msg.setCostBasis(value);
695
+ break;
664
696
  default:
665
697
  reader.skipField();
666
698
  break;
@@ -714,6 +746,14 @@ proto.fintekkers.requests.valuation.BondInput.serializeBinaryToWriter = function
714
746
  proto.fintekkers.requests.valuation.SecurityBasedCurveInput.serializeBinaryToWriter
715
747
  );
716
748
  }
749
+ f = message.getCostBasis();
750
+ if (f != null) {
751
+ writer.writeMessage(
752
+ 20,
753
+ f,
754
+ proto.fintekkers.requests.valuation.CostBasisInput.serializeBinaryToWriter
755
+ );
756
+ }
717
757
  };
718
758
 
719
759
 
@@ -828,6 +868,43 @@ proto.fintekkers.requests.valuation.BondInput.prototype.hasBenchmarkCurve = func
828
868
  };
829
869
 
830
870
 
871
+ /**
872
+ * optional CostBasisInput cost_basis = 20;
873
+ * @return {?proto.fintekkers.requests.valuation.CostBasisInput}
874
+ */
875
+ proto.fintekkers.requests.valuation.BondInput.prototype.getCostBasis = function() {
876
+ return /** @type{?proto.fintekkers.requests.valuation.CostBasisInput} */ (
877
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.CostBasisInput, 20));
878
+ };
879
+
880
+
881
+ /**
882
+ * @param {?proto.fintekkers.requests.valuation.CostBasisInput|undefined} value
883
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
884
+ */
885
+ proto.fintekkers.requests.valuation.BondInput.prototype.setCostBasis = function(value) {
886
+ return jspb.Message.setWrapperField(this, 20, value);
887
+ };
888
+
889
+
890
+ /**
891
+ * Clears the message field making it undefined.
892
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
893
+ */
894
+ proto.fintekkers.requests.valuation.BondInput.prototype.clearCostBasis = function() {
895
+ return this.setCostBasis(undefined);
896
+ };
897
+
898
+
899
+ /**
900
+ * Returns whether this field is set.
901
+ * @return {boolean}
902
+ */
903
+ proto.fintekkers.requests.valuation.BondInput.prototype.hasCostBasis = function() {
904
+ return jspb.Message.getField(this, 20) != null;
905
+ };
906
+
907
+
831
908
 
832
909
 
833
910
 
@@ -862,7 +939,8 @@ proto.fintekkers.requests.valuation.TipsInput.toObject = function(includeInstanc
862
939
  var f, obj = {
863
940
  security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
864
941
  cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
865
- cpi: (f = msg.getCpi()) && proto.fintekkers.requests.valuation.InflationIndexInput.toObject(includeInstance, f)
942
+ cpi: (f = msg.getCpi()) && proto.fintekkers.requests.valuation.InflationIndexInput.toObject(includeInstance, f),
943
+ costBasis: (f = msg.getCostBasis()) && proto.fintekkers.requests.valuation.CostBasisInput.toObject(includeInstance, f)
866
944
  };
867
945
 
868
946
  if (includeInstance) {
@@ -914,6 +992,11 @@ proto.fintekkers.requests.valuation.TipsInput.deserializeBinaryFromReader = func
914
992
  reader.readMessage(value,proto.fintekkers.requests.valuation.InflationIndexInput.deserializeBinaryFromReader);
915
993
  msg.setCpi(value);
916
994
  break;
995
+ case 20:
996
+ var value = new proto.fintekkers.requests.valuation.CostBasisInput;
997
+ reader.readMessage(value,proto.fintekkers.requests.valuation.CostBasisInput.deserializeBinaryFromReader);
998
+ msg.setCostBasis(value);
999
+ break;
917
1000
  default:
918
1001
  reader.skipField();
919
1002
  break;
@@ -967,6 +1050,14 @@ proto.fintekkers.requests.valuation.TipsInput.serializeBinaryToWriter = function
967
1050
  proto.fintekkers.requests.valuation.InflationIndexInput.serializeBinaryToWriter
968
1051
  );
969
1052
  }
1053
+ f = message.getCostBasis();
1054
+ if (f != null) {
1055
+ writer.writeMessage(
1056
+ 20,
1057
+ f,
1058
+ proto.fintekkers.requests.valuation.CostBasisInput.serializeBinaryToWriter
1059
+ );
1060
+ }
970
1061
  };
971
1062
 
972
1063
 
@@ -1081,6 +1172,254 @@ proto.fintekkers.requests.valuation.TipsInput.prototype.hasCpi = function() {
1081
1172
  };
1082
1173
 
1083
1174
 
1175
+ /**
1176
+ * optional CostBasisInput cost_basis = 20;
1177
+ * @return {?proto.fintekkers.requests.valuation.CostBasisInput}
1178
+ */
1179
+ proto.fintekkers.requests.valuation.TipsInput.prototype.getCostBasis = function() {
1180
+ return /** @type{?proto.fintekkers.requests.valuation.CostBasisInput} */ (
1181
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.CostBasisInput, 20));
1182
+ };
1183
+
1184
+
1185
+ /**
1186
+ * @param {?proto.fintekkers.requests.valuation.CostBasisInput|undefined} value
1187
+ * @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
1188
+ */
1189
+ proto.fintekkers.requests.valuation.TipsInput.prototype.setCostBasis = function(value) {
1190
+ return jspb.Message.setWrapperField(this, 20, value);
1191
+ };
1192
+
1193
+
1194
+ /**
1195
+ * Clears the message field making it undefined.
1196
+ * @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
1197
+ */
1198
+ proto.fintekkers.requests.valuation.TipsInput.prototype.clearCostBasis = function() {
1199
+ return this.setCostBasis(undefined);
1200
+ };
1201
+
1202
+
1203
+ /**
1204
+ * Returns whether this field is set.
1205
+ * @return {boolean}
1206
+ */
1207
+ proto.fintekkers.requests.valuation.TipsInput.prototype.hasCostBasis = function() {
1208
+ return jspb.Message.getField(this, 20) != null;
1209
+ };
1210
+
1211
+
1212
+
1213
+ /**
1214
+ * List of repeated fields within this message type.
1215
+ * @private {!Array<number>}
1216
+ * @const
1217
+ */
1218
+ proto.fintekkers.requests.valuation.CostBasisInput.repeatedFields_ = [2];
1219
+
1220
+
1221
+
1222
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1223
+ /**
1224
+ * Creates an object representation of this proto.
1225
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1226
+ * Optional fields that are not set will be set to undefined.
1227
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1228
+ * For the list of reserved names please see:
1229
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1230
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1231
+ * JSPB instance for transitional soy proto support:
1232
+ * http://goto/soy-param-migration
1233
+ * @return {!Object}
1234
+ */
1235
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.toObject = function(opt_includeInstance) {
1236
+ return proto.fintekkers.requests.valuation.CostBasisInput.toObject(opt_includeInstance, this);
1237
+ };
1238
+
1239
+
1240
+ /**
1241
+ * Static version of the {@see toObject} method.
1242
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1243
+ * the JSPB instance for transitional soy proto support:
1244
+ * http://goto/soy-param-migration
1245
+ * @param {!proto.fintekkers.requests.valuation.CostBasisInput} msg The msg instance to transform.
1246
+ * @return {!Object}
1247
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1248
+ */
1249
+ proto.fintekkers.requests.valuation.CostBasisInput.toObject = function(includeInstance, msg) {
1250
+ var f, obj = {
1251
+ elections: (f = msg.getElections()) && fintekkers_models_portfolio_amortisation_elections_pb.AmortisationElectionsProto.toObject(includeInstance, f),
1252
+ lotsList: jspb.Message.toObjectList(msg.getLotsList(),
1253
+ fintekkers_models_position_tax_lot_pb.TaxLotProto.toObject, includeInstance)
1254
+ };
1255
+
1256
+ if (includeInstance) {
1257
+ obj.$jspbMessageInstance = msg;
1258
+ }
1259
+ return obj;
1260
+ };
1261
+ }
1262
+
1263
+
1264
+ /**
1265
+ * Deserializes binary data (in protobuf wire format).
1266
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1267
+ * @return {!proto.fintekkers.requests.valuation.CostBasisInput}
1268
+ */
1269
+ proto.fintekkers.requests.valuation.CostBasisInput.deserializeBinary = function(bytes) {
1270
+ var reader = new jspb.BinaryReader(bytes);
1271
+ var msg = new proto.fintekkers.requests.valuation.CostBasisInput;
1272
+ return proto.fintekkers.requests.valuation.CostBasisInput.deserializeBinaryFromReader(msg, reader);
1273
+ };
1274
+
1275
+
1276
+ /**
1277
+ * Deserializes binary data (in protobuf wire format) from the
1278
+ * given reader into the given message object.
1279
+ * @param {!proto.fintekkers.requests.valuation.CostBasisInput} msg The message object to deserialize into.
1280
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1281
+ * @return {!proto.fintekkers.requests.valuation.CostBasisInput}
1282
+ */
1283
+ proto.fintekkers.requests.valuation.CostBasisInput.deserializeBinaryFromReader = function(msg, reader) {
1284
+ while (reader.nextField()) {
1285
+ if (reader.isEndGroup()) {
1286
+ break;
1287
+ }
1288
+ var field = reader.getFieldNumber();
1289
+ switch (field) {
1290
+ case 1:
1291
+ var value = new fintekkers_models_portfolio_amortisation_elections_pb.AmortisationElectionsProto;
1292
+ reader.readMessage(value,fintekkers_models_portfolio_amortisation_elections_pb.AmortisationElectionsProto.deserializeBinaryFromReader);
1293
+ msg.setElections(value);
1294
+ break;
1295
+ case 2:
1296
+ var value = new fintekkers_models_position_tax_lot_pb.TaxLotProto;
1297
+ reader.readMessage(value,fintekkers_models_position_tax_lot_pb.TaxLotProto.deserializeBinaryFromReader);
1298
+ msg.addLots(value);
1299
+ break;
1300
+ default:
1301
+ reader.skipField();
1302
+ break;
1303
+ }
1304
+ }
1305
+ return msg;
1306
+ };
1307
+
1308
+
1309
+ /**
1310
+ * Serializes the message to binary data (in protobuf wire format).
1311
+ * @return {!Uint8Array}
1312
+ */
1313
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.serializeBinary = function() {
1314
+ var writer = new jspb.BinaryWriter();
1315
+ proto.fintekkers.requests.valuation.CostBasisInput.serializeBinaryToWriter(this, writer);
1316
+ return writer.getResultBuffer();
1317
+ };
1318
+
1319
+
1320
+ /**
1321
+ * Serializes the given message to binary data (in protobuf wire
1322
+ * format), writing to the given BinaryWriter.
1323
+ * @param {!proto.fintekkers.requests.valuation.CostBasisInput} message
1324
+ * @param {!jspb.BinaryWriter} writer
1325
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1326
+ */
1327
+ proto.fintekkers.requests.valuation.CostBasisInput.serializeBinaryToWriter = function(message, writer) {
1328
+ var f = undefined;
1329
+ f = message.getElections();
1330
+ if (f != null) {
1331
+ writer.writeMessage(
1332
+ 1,
1333
+ f,
1334
+ fintekkers_models_portfolio_amortisation_elections_pb.AmortisationElectionsProto.serializeBinaryToWriter
1335
+ );
1336
+ }
1337
+ f = message.getLotsList();
1338
+ if (f.length > 0) {
1339
+ writer.writeRepeatedMessage(
1340
+ 2,
1341
+ f,
1342
+ fintekkers_models_position_tax_lot_pb.TaxLotProto.serializeBinaryToWriter
1343
+ );
1344
+ }
1345
+ };
1346
+
1347
+
1348
+ /**
1349
+ * optional fintekkers.models.portfolio.AmortisationElectionsProto elections = 1;
1350
+ * @return {?proto.fintekkers.models.portfolio.AmortisationElectionsProto}
1351
+ */
1352
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.getElections = function() {
1353
+ return /** @type{?proto.fintekkers.models.portfolio.AmortisationElectionsProto} */ (
1354
+ jspb.Message.getWrapperField(this, fintekkers_models_portfolio_amortisation_elections_pb.AmortisationElectionsProto, 1));
1355
+ };
1356
+
1357
+
1358
+ /**
1359
+ * @param {?proto.fintekkers.models.portfolio.AmortisationElectionsProto|undefined} value
1360
+ * @return {!proto.fintekkers.requests.valuation.CostBasisInput} returns this
1361
+ */
1362
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.setElections = function(value) {
1363
+ return jspb.Message.setWrapperField(this, 1, value);
1364
+ };
1365
+
1366
+
1367
+ /**
1368
+ * Clears the message field making it undefined.
1369
+ * @return {!proto.fintekkers.requests.valuation.CostBasisInput} returns this
1370
+ */
1371
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.clearElections = function() {
1372
+ return this.setElections(undefined);
1373
+ };
1374
+
1375
+
1376
+ /**
1377
+ * Returns whether this field is set.
1378
+ * @return {boolean}
1379
+ */
1380
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.hasElections = function() {
1381
+ return jspb.Message.getField(this, 1) != null;
1382
+ };
1383
+
1384
+
1385
+ /**
1386
+ * repeated fintekkers.models.position.TaxLotProto lots = 2;
1387
+ * @return {!Array<!proto.fintekkers.models.position.TaxLotProto>}
1388
+ */
1389
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.getLotsList = function() {
1390
+ return /** @type{!Array<!proto.fintekkers.models.position.TaxLotProto>} */ (
1391
+ jspb.Message.getRepeatedWrapperField(this, fintekkers_models_position_tax_lot_pb.TaxLotProto, 2));
1392
+ };
1393
+
1394
+
1395
+ /**
1396
+ * @param {!Array<!proto.fintekkers.models.position.TaxLotProto>} value
1397
+ * @return {!proto.fintekkers.requests.valuation.CostBasisInput} returns this
1398
+ */
1399
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.setLotsList = function(value) {
1400
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
1401
+ };
1402
+
1403
+
1404
+ /**
1405
+ * @param {!proto.fintekkers.models.position.TaxLotProto=} opt_value
1406
+ * @param {number=} opt_index
1407
+ * @return {!proto.fintekkers.models.position.TaxLotProto}
1408
+ */
1409
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.addLots = function(opt_value, opt_index) {
1410
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.fintekkers.models.position.TaxLotProto, opt_index);
1411
+ };
1412
+
1413
+
1414
+ /**
1415
+ * Clears the list making it empty but non-null.
1416
+ * @return {!proto.fintekkers.requests.valuation.CostBasisInput} returns this
1417
+ */
1418
+ proto.fintekkers.requests.valuation.CostBasisInput.prototype.clearLotsList = function() {
1419
+ return this.setLotsList([]);
1420
+ };
1421
+
1422
+
1084
1423
 
1085
1424
  /**
1086
1425
  * Oneof group definitions for this message. Each group defines the field
@@ -1774,7 +2113,8 @@ proto.fintekkers.requests.valuation.FrnInput.toObject = function(includeInstance
1774
2113
  cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
1775
2114
  curve: (f = msg.getCurve()) && proto.fintekkers.requests.valuation.YieldCurveInput.toObject(includeInstance, f),
1776
2115
  fixingsList: jspb.Message.toObjectList(msg.getFixingsList(),
1777
- proto.fintekkers.requests.valuation.ReferenceRateFixingProto.toObject, includeInstance)
2116
+ proto.fintekkers.requests.valuation.ReferenceRateFixingProto.toObject, includeInstance),
2117
+ costBasis: (f = msg.getCostBasis()) && proto.fintekkers.requests.valuation.CostBasisInput.toObject(includeInstance, f)
1778
2118
  };
1779
2119
 
1780
2120
  if (includeInstance) {
@@ -1831,6 +2171,11 @@ proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader = funct
1831
2171
  reader.readMessage(value,proto.fintekkers.requests.valuation.ReferenceRateFixingProto.deserializeBinaryFromReader);
1832
2172
  msg.addFixings(value);
1833
2173
  break;
2174
+ case 20:
2175
+ var value = new proto.fintekkers.requests.valuation.CostBasisInput;
2176
+ reader.readMessage(value,proto.fintekkers.requests.valuation.CostBasisInput.deserializeBinaryFromReader);
2177
+ msg.setCostBasis(value);
2178
+ break;
1834
2179
  default:
1835
2180
  reader.skipField();
1836
2181
  break;
@@ -1892,6 +2237,14 @@ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter = function(
1892
2237
  proto.fintekkers.requests.valuation.ReferenceRateFixingProto.serializeBinaryToWriter
1893
2238
  );
1894
2239
  }
2240
+ f = message.getCostBasis();
2241
+ if (f != null) {
2242
+ writer.writeMessage(
2243
+ 20,
2244
+ f,
2245
+ proto.fintekkers.requests.valuation.CostBasisInput.serializeBinaryToWriter
2246
+ );
2247
+ }
1895
2248
  };
1896
2249
 
1897
2250
 
@@ -2044,6 +2397,43 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.clearFixingsList = functi
2044
2397
  };
2045
2398
 
2046
2399
 
2400
+ /**
2401
+ * optional CostBasisInput cost_basis = 20;
2402
+ * @return {?proto.fintekkers.requests.valuation.CostBasisInput}
2403
+ */
2404
+ proto.fintekkers.requests.valuation.FrnInput.prototype.getCostBasis = function() {
2405
+ return /** @type{?proto.fintekkers.requests.valuation.CostBasisInput} */ (
2406
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.CostBasisInput, 20));
2407
+ };
2408
+
2409
+
2410
+ /**
2411
+ * @param {?proto.fintekkers.requests.valuation.CostBasisInput|undefined} value
2412
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
2413
+ */
2414
+ proto.fintekkers.requests.valuation.FrnInput.prototype.setCostBasis = function(value) {
2415
+ return jspb.Message.setWrapperField(this, 20, value);
2416
+ };
2417
+
2418
+
2419
+ /**
2420
+ * Clears the message field making it undefined.
2421
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
2422
+ */
2423
+ proto.fintekkers.requests.valuation.FrnInput.prototype.clearCostBasis = function() {
2424
+ return this.setCostBasis(undefined);
2425
+ };
2426
+
2427
+
2428
+ /**
2429
+ * Returns whether this field is set.
2430
+ * @return {boolean}
2431
+ */
2432
+ proto.fintekkers.requests.valuation.FrnInput.prototype.hasCostBasis = function() {
2433
+ return jspb.Message.getField(this, 20) != null;
2434
+ };
2435
+
2436
+
2047
2437
 
2048
2438
 
2049
2439
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fintekkers/ledger-models",
3
3
  "todo": "Replace the version with build script version number",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "description": "ledger model protos ",
6
6
  "authors": [
7
7
  "David Doherty",