@fintekkers/ledger-models 0.4.41 → 0.4.43
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.
|
@@ -23,6 +23,16 @@ export class CurvePointProto extends jspb.Message {
|
|
|
23
23
|
getYield(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
24
24
|
setYield(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): CurvePointProto;
|
|
25
25
|
|
|
26
|
+
hasFromTenor(): boolean;
|
|
27
|
+
clearFromTenor(): void;
|
|
28
|
+
getFromTenor(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
29
|
+
setFromTenor(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): CurvePointProto;
|
|
30
|
+
|
|
31
|
+
hasToTenor(): boolean;
|
|
32
|
+
clearToTenor(): void;
|
|
33
|
+
getToTenor(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
34
|
+
setToTenor(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): CurvePointProto;
|
|
35
|
+
|
|
26
36
|
serializeBinary(): Uint8Array;
|
|
27
37
|
toObject(includeInstance?: boolean): CurvePointProto.AsObject;
|
|
28
38
|
static toObject(includeInstance: boolean, msg: CurvePointProto): CurvePointProto.AsObject;
|
|
@@ -37,6 +47,8 @@ export namespace CurvePointProto {
|
|
|
37
47
|
export type AsObject = {
|
|
38
48
|
tenor?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
39
49
|
yield?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
50
|
+
fromTenor?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
51
|
+
toTenor?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
40
52
|
}
|
|
41
53
|
}
|
|
42
54
|
|
|
@@ -130,7 +130,9 @@ proto.fintekkers.requests.valuation.CurvePointProto.prototype.toObject = functio
|
|
|
130
130
|
proto.fintekkers.requests.valuation.CurvePointProto.toObject = function(includeInstance, msg) {
|
|
131
131
|
var f, obj = {
|
|
132
132
|
tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
133
|
-
yield: (f = msg.getYield()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
133
|
+
yield: (f = msg.getYield()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
134
|
+
fromTenor: (f = msg.getFromTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
135
|
+
toTenor: (f = msg.getToTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
134
136
|
};
|
|
135
137
|
|
|
136
138
|
if (includeInstance) {
|
|
@@ -177,6 +179,16 @@ proto.fintekkers.requests.valuation.CurvePointProto.deserializeBinaryFromReader
|
|
|
177
179
|
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
178
180
|
msg.setYield(value);
|
|
179
181
|
break;
|
|
182
|
+
case 3:
|
|
183
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
184
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
185
|
+
msg.setFromTenor(value);
|
|
186
|
+
break;
|
|
187
|
+
case 4:
|
|
188
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
189
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
190
|
+
msg.setToTenor(value);
|
|
191
|
+
break;
|
|
180
192
|
default:
|
|
181
193
|
reader.skipField();
|
|
182
194
|
break;
|
|
@@ -222,6 +234,22 @@ proto.fintekkers.requests.valuation.CurvePointProto.serializeBinaryToWriter = fu
|
|
|
222
234
|
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
223
235
|
);
|
|
224
236
|
}
|
|
237
|
+
f = message.getFromTenor();
|
|
238
|
+
if (f != null) {
|
|
239
|
+
writer.writeMessage(
|
|
240
|
+
3,
|
|
241
|
+
f,
|
|
242
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
f = message.getToTenor();
|
|
246
|
+
if (f != null) {
|
|
247
|
+
writer.writeMessage(
|
|
248
|
+
4,
|
|
249
|
+
f,
|
|
250
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
251
|
+
);
|
|
252
|
+
}
|
|
225
253
|
};
|
|
226
254
|
|
|
227
255
|
|
|
@@ -299,6 +327,80 @@ proto.fintekkers.requests.valuation.CurvePointProto.prototype.hasYield = functio
|
|
|
299
327
|
};
|
|
300
328
|
|
|
301
329
|
|
|
330
|
+
/**
|
|
331
|
+
* optional fintekkers.models.util.DecimalValueProto from_tenor = 3;
|
|
332
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
333
|
+
*/
|
|
334
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.getFromTenor = function() {
|
|
335
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
336
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 3));
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
342
|
+
* @return {!proto.fintekkers.requests.valuation.CurvePointProto} returns this
|
|
343
|
+
*/
|
|
344
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.setFromTenor = function(value) {
|
|
345
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Clears the message field making it undefined.
|
|
351
|
+
* @return {!proto.fintekkers.requests.valuation.CurvePointProto} returns this
|
|
352
|
+
*/
|
|
353
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.clearFromTenor = function() {
|
|
354
|
+
return this.setFromTenor(undefined);
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Returns whether this field is set.
|
|
360
|
+
* @return {boolean}
|
|
361
|
+
*/
|
|
362
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.hasFromTenor = function() {
|
|
363
|
+
return jspb.Message.getField(this, 3) != null;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* optional fintekkers.models.util.DecimalValueProto to_tenor = 4;
|
|
369
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
370
|
+
*/
|
|
371
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.getToTenor = function() {
|
|
372
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
373
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 4));
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
379
|
+
* @return {!proto.fintekkers.requests.valuation.CurvePointProto} returns this
|
|
380
|
+
*/
|
|
381
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.setToTenor = function(value) {
|
|
382
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Clears the message field making it undefined.
|
|
388
|
+
* @return {!proto.fintekkers.requests.valuation.CurvePointProto} returns this
|
|
389
|
+
*/
|
|
390
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.clearToTenor = function() {
|
|
391
|
+
return this.setToTenor(undefined);
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Returns whether this field is set.
|
|
397
|
+
* @return {boolean}
|
|
398
|
+
*/
|
|
399
|
+
proto.fintekkers.requests.valuation.CurvePointProto.prototype.hasToTenor = function() {
|
|
400
|
+
return jspb.Message.getField(this, 4) != null;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
|
|
302
404
|
|
|
303
405
|
/**
|
|
304
406
|
* List of repeated fields within this message type.
|