@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.
Files changed (134) hide show
  1. package/node/fintekkers/models/portfolio/portfolio_pb.js +19 -13
  2. package/node/fintekkers/models/position/field_pb.js +7 -1
  3. package/node/fintekkers/models/position/measure_pb.js +7 -1
  4. package/node/fintekkers/models/position/position_filter_pb.js +13 -7
  5. package/node/fintekkers/models/position/position_pb.js +17 -11
  6. package/node/fintekkers/models/position/position_status_pb.js +7 -1
  7. package/node/fintekkers/models/position/position_util_pb.js +17 -11
  8. package/node/fintekkers/models/price/price_pb.js +20 -14
  9. package/node/fintekkers/models/price/price_type_pb.js +7 -1
  10. package/node/fintekkers/models/security/bond/auction_type_pb.js +7 -1
  11. package/node/fintekkers/models/security/bond/issuance_pb.js +23 -17
  12. package/node/fintekkers/models/security/coupon_frequency_pb.js +7 -1
  13. package/node/fintekkers/models/security/coupon_type_pb.js +7 -1
  14. package/node/fintekkers/models/security/identifier/identifier_pb.js +15 -9
  15. package/node/fintekkers/models/security/identifier/identifier_type_pb.js +7 -1
  16. package/node/fintekkers/models/security/index/index_type_pb.js +7 -1
  17. package/node/fintekkers/models/security/index_composition_grpc_pb.js +1 -0
  18. package/node/fintekkers/models/security/index_composition_pb.js +29 -23
  19. package/node/fintekkers/models/security/security_pb.js +96 -90
  20. package/node/fintekkers/models/security/security_quantity_type_pb.js +7 -1
  21. package/node/fintekkers/models/security/security_type_pb.js +7 -1
  22. package/node/fintekkers/models/security/tenor_pb.js +15 -9
  23. package/node/fintekkers/models/security/tenor_type_pb.js +7 -1
  24. package/node/fintekkers/models/strategy/strategy_allocation_pb.js +19 -13
  25. package/node/fintekkers/models/strategy/strategy_pb.js +20 -14
  26. package/node/fintekkers/models/transaction/transaction_pb.js +30 -24
  27. package/node/fintekkers/models/transaction/transaction_type_pb.js +7 -1
  28. package/node/fintekkers/models/util/api/api_key_pb.js +16 -10
  29. package/node/fintekkers/models/util/currency_grpc_pb.js +1 -0
  30. package/node/fintekkers/models/util/currency_pb.js +10 -4
  31. package/node/fintekkers/models/util/date_range_pb.js +14 -8
  32. package/node/fintekkers/models/util/decimal_value_pb.js +10 -4
  33. package/node/fintekkers/models/util/endpoint_pb.js +13 -7
  34. package/node/fintekkers/models/util/local_date_pb.js +11 -5
  35. package/node/fintekkers/models/util/local_timestamp_pb.js +11 -5
  36. package/node/fintekkers/models/util/lock/node_partition_pb.js +15 -9
  37. package/node/fintekkers/models/util/lock/node_state_pb.js +16 -10
  38. package/node/fintekkers/models/util/uuid_pb.js +9 -3
  39. package/node/fintekkers/models/valuation/cashflow_grpc_pb.js +1 -0
  40. package/node/fintekkers/models/valuation/cashflow_pb.js +13 -7
  41. package/node/fintekkers/requests/index_composition/create_index_composition_request_grpc_pb.js +1 -0
  42. package/node/fintekkers/requests/index_composition/create_index_composition_request_pb.js +22 -16
  43. package/node/fintekkers/requests/index_composition/get_index_composition_request_grpc_pb.js +1 -0
  44. package/node/fintekkers/requests/index_composition/get_index_composition_request_pb.js +22 -16
  45. package/node/fintekkers/requests/portfolio/create_portfolio_request_pb.js +13 -7
  46. package/node/fintekkers/requests/portfolio/create_portfolio_response_pb.js +14 -8
  47. package/node/fintekkers/requests/portfolio/query_portfolio_request_pb.js +17 -11
  48. package/node/fintekkers/requests/portfolio/query_portfolio_response_pb.js +14 -8
  49. package/node/fintekkers/requests/position/query_position_request_pb.js +27 -15
  50. package/node/fintekkers/requests/position/query_position_response_pb.js +16 -10
  51. package/node/fintekkers/requests/price/create_price_request_pb.js +13 -7
  52. package/node/fintekkers/requests/price/create_price_response_pb.js +14 -8
  53. package/node/fintekkers/requests/price/query_price_request_pb.js +18 -12
  54. package/node/fintekkers/requests/price/query_price_response_pb.js +14 -8
  55. package/node/fintekkers/requests/security/create_security_request_pb.js +13 -7
  56. package/node/fintekkers/requests/security/create_security_response_pb.js +15 -9
  57. package/node/fintekkers/requests/security/get_field_values_request_pb.js +13 -7
  58. package/node/fintekkers/requests/security/get_field_values_response_pb.js +13 -7
  59. package/node/fintekkers/requests/security/get_fields_response_pb.js +17 -8
  60. package/node/fintekkers/requests/security/query_security_request_pb.js +17 -11
  61. package/node/fintekkers/requests/security/query_security_response_pb.js +15 -9
  62. package/node/fintekkers/requests/transaction/create_transaction_request_pb.js +13 -7
  63. package/node/fintekkers/requests/transaction/create_transaction_response_pb.js +14 -8
  64. package/node/fintekkers/requests/transaction/query_transaction_request_pb.js +16 -10
  65. package/node/fintekkers/requests/transaction/query_transaction_response_pb.js +15 -9
  66. package/node/fintekkers/requests/util/delete_request_grpc_pb.js +1 -0
  67. package/node/fintekkers/requests/util/delete_request_pb.js +34 -28
  68. package/node/fintekkers/requests/util/errors/error_pb.js +13 -7
  69. package/node/fintekkers/requests/util/errors/message_pb.js +12 -6
  70. package/node/fintekkers/requests/util/errors/summary_pb.js +10 -4
  71. package/node/fintekkers/requests/util/lock/lock_request_pb.js +14 -8
  72. package/node/fintekkers/requests/util/lock/lock_response_pb.js +15 -9
  73. package/node/fintekkers/requests/util/operation_pb.js +7 -1
  74. package/node/fintekkers/requests/valuation/curve_request_grpc_pb.js +1 -0
  75. package/node/fintekkers/requests/valuation/curve_request_pb.d.ts +12 -0
  76. package/node/fintekkers/requests/valuation/curve_request_pb.js +125 -14
  77. package/node/fintekkers/requests/valuation/curve_response_grpc_pb.js +1 -0
  78. package/node/fintekkers/requests/valuation/curve_response_pb.js +21 -15
  79. package/node/fintekkers/requests/valuation/product_inputs.test.d.ts +6 -0
  80. package/node/fintekkers/requests/valuation/product_inputs.test.js +146 -0
  81. package/node/fintekkers/requests/valuation/product_inputs.test.js.map +1 -0
  82. package/node/fintekkers/requests/valuation/product_inputs_grpc_pb.js +1 -0
  83. package/node/fintekkers/requests/valuation/product_inputs_pb.d.ts +42 -0
  84. package/node/fintekkers/requests/valuation/product_inputs_pb.js +360 -27
  85. package/node/fintekkers/requests/valuation/valuation_request_pb.js +25 -16
  86. package/node/fintekkers/requests/valuation/valuation_response_pb.js +16 -10
  87. package/node/fintekkers/services/index-composition-service/index_composition_service_grpc_pb.js +14 -14
  88. package/node/fintekkers/services/index-composition-service/index_composition_service_pb.js +7 -1
  89. package/node/fintekkers/services/lock-service/lock_service_grpc_pb.js +23 -23
  90. package/node/fintekkers/services/lock-service/lock_service_pb.js +21 -15
  91. package/node/fintekkers/services/portfolio-service/portfolio_service_grpc_pb.js +8 -8
  92. package/node/fintekkers/services/portfolio-service/portfolio_service_pb.js +7 -1
  93. package/node/fintekkers/services/position-service/position_service_grpc_pb.js +10 -10
  94. package/node/fintekkers/services/position-service/position_service_pb.js +7 -1
  95. package/node/fintekkers/services/price-service/price_service_grpc_pb.js +6 -6
  96. package/node/fintekkers/services/price-service/price_service_pb.js +7 -1
  97. package/node/fintekkers/services/security-service/security_service_grpc_pb.js +12 -12
  98. package/node/fintekkers/services/security-service/security_service_pb.js +7 -1
  99. package/node/fintekkers/services/transaction-service/transaction_service_grpc_pb.js +11 -11
  100. package/node/fintekkers/services/transaction-service/transaction_service_pb.js +7 -1
  101. package/node/fintekkers/services/valuation-service/valuation_service_grpc_pb.js +5 -5
  102. package/node/fintekkers/services/valuation-service/valuation_service_pb.js +7 -1
  103. package/node/wrappers/models/price/Price.d.ts +5 -0
  104. package/node/wrappers/models/price/Price.js +7 -0
  105. package/node/wrappers/models/price/Price.js.map +1 -1
  106. package/node/wrappers/models/price/Price.ts +8 -0
  107. package/node/wrappers/models/security/security.d.ts +6 -0
  108. package/node/wrappers/models/security/security.js +8 -0
  109. package/node/wrappers/models/security/security.js.map +1 -1
  110. package/node/wrappers/models/security/security.ts +9 -0
  111. package/node/wrappers/services/price-service/PriceService.d.ts +19 -0
  112. package/node/wrappers/services/price-service/PriceService.js +26 -0
  113. package/node/wrappers/services/price-service/PriceService.js.map +1 -1
  114. package/node/wrappers/services/price-service/PriceService.ts +29 -0
  115. package/node/wrappers/services/searchWithSecurities.test.js +125 -0
  116. package/node/wrappers/services/searchWithSecurities.test.js.map +1 -0
  117. package/node/wrappers/services/searchWithSecurities.test.ts +103 -0
  118. package/node/wrappers/services/transaction-service/TransactionService.d.ts +14 -0
  119. package/node/wrappers/services/transaction-service/TransactionService.js +25 -0
  120. package/node/wrappers/services/transaction-service/TransactionService.js.map +1 -1
  121. package/node/wrappers/services/transaction-service/TransactionService.ts +29 -0
  122. package/node/wrappers/util/link-resolver.d.ts +127 -0
  123. package/node/wrappers/util/link-resolver.js +378 -0
  124. package/node/wrappers/util/link-resolver.js.map +1 -0
  125. package/node/wrappers/util/link-resolver.test.d.ts +1 -0
  126. package/node/wrappers/util/link-resolver.test.js +349 -0
  127. package/node/wrappers/util/link-resolver.test.js.map +1 -0
  128. package/node/wrappers/util/link-resolver.test.ts +402 -0
  129. package/node/wrappers/util/link-resolver.ts +448 -0
  130. package/package.json +1 -1
  131. package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js +0 -38
  132. package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js.map +0 -1
  133. package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.ts +0 -32
  134. /package/node/wrappers/services/{security-service/SecurityService.searchByUuid.test.d.ts → searchWithSecurities.test.d.ts} +0 -0
@@ -23,6 +23,16 @@ export class CurveInputProto extends jspb.Message {
23
23
  getPrice(): fintekkers_models_price_price_pb.PriceProto | undefined;
24
24
  setPrice(value?: fintekkers_models_price_price_pb.PriceProto): CurveInputProto;
25
25
 
26
+ hasTenor(): boolean;
27
+ clearTenor(): void;
28
+ getTenor(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
29
+ setTenor(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): CurveInputProto;
30
+
31
+ hasCleanPrice(): boolean;
32
+ clearCleanPrice(): void;
33
+ getCleanPrice(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
34
+ setCleanPrice(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): CurveInputProto;
35
+
26
36
  serializeBinary(): Uint8Array;
27
37
  toObject(includeInstance?: boolean): CurveInputProto.AsObject;
28
38
  static toObject(includeInstance: boolean, msg: CurveInputProto): CurveInputProto.AsObject;
@@ -37,6 +47,8 @@ export namespace CurveInputProto {
37
47
  export type AsObject = {
38
48
  security?: fintekkers_models_security_security_pb.SecurityProto.AsObject,
39
49
  price?: fintekkers_models_price_price_pb.PriceProto.AsObject,
50
+ tenor?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
51
+ cleanPrice?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
40
52
  }
41
53
  }
42
54
 
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = globalThis;
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);
@@ -101,8 +107,10 @@ proto.fintekkers.requests.valuation.CurveInputProto.prototype.toObject = functio
101
107
  */
102
108
  proto.fintekkers.requests.valuation.CurveInputProto.toObject = function(includeInstance, msg) {
103
109
  var f, obj = {
104
- security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
105
- price: (f = msg.getPrice()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f)
110
+ security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
111
+ price: (f = msg.getPrice()) && fintekkers_models_price_price_pb.PriceProto.toObject(includeInstance, f),
112
+ tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
113
+ cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
106
114
  };
107
115
 
108
116
  if (includeInstance) {
@@ -115,7 +123,7 @@ price: (f = msg.getPrice()) && fintekkers_models_price_price_pb.PriceProto.toObj
115
123
 
116
124
  /**
117
125
  * Deserializes binary data (in protobuf wire format).
118
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
126
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
119
127
  * @return {!proto.fintekkers.requests.valuation.CurveInputProto}
120
128
  */
121
129
  proto.fintekkers.requests.valuation.CurveInputProto.deserializeBinary = function(bytes) {
@@ -149,6 +157,16 @@ proto.fintekkers.requests.valuation.CurveInputProto.deserializeBinaryFromReader
149
157
  reader.readMessage(value,fintekkers_models_price_price_pb.PriceProto.deserializeBinaryFromReader);
150
158
  msg.setPrice(value);
151
159
  break;
160
+ case 4:
161
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
162
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
163
+ msg.setTenor(value);
164
+ break;
165
+ case 5:
166
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
167
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
168
+ msg.setCleanPrice(value);
169
+ break;
152
170
  default:
153
171
  reader.skipField();
154
172
  break;
@@ -194,6 +212,22 @@ proto.fintekkers.requests.valuation.CurveInputProto.serializeBinaryToWriter = fu
194
212
  fintekkers_models_price_price_pb.PriceProto.serializeBinaryToWriter
195
213
  );
196
214
  }
215
+ f = message.getTenor();
216
+ if (f != null) {
217
+ writer.writeMessage(
218
+ 4,
219
+ f,
220
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
221
+ );
222
+ }
223
+ f = message.getCleanPrice();
224
+ if (f != null) {
225
+ writer.writeMessage(
226
+ 5,
227
+ f,
228
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
229
+ );
230
+ }
197
231
  };
198
232
 
199
233
 
@@ -271,6 +305,80 @@ proto.fintekkers.requests.valuation.CurveInputProto.prototype.hasPrice = functio
271
305
  };
272
306
 
273
307
 
308
+ /**
309
+ * optional fintekkers.models.util.DecimalValueProto tenor = 4;
310
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
311
+ */
312
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.getTenor = function() {
313
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
314
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 4));
315
+ };
316
+
317
+
318
+ /**
319
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
320
+ * @return {!proto.fintekkers.requests.valuation.CurveInputProto} returns this
321
+ */
322
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.setTenor = function(value) {
323
+ return jspb.Message.setWrapperField(this, 4, value);
324
+ };
325
+
326
+
327
+ /**
328
+ * Clears the message field making it undefined.
329
+ * @return {!proto.fintekkers.requests.valuation.CurveInputProto} returns this
330
+ */
331
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.clearTenor = function() {
332
+ return this.setTenor(undefined);
333
+ };
334
+
335
+
336
+ /**
337
+ * Returns whether this field is set.
338
+ * @return {boolean}
339
+ */
340
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.hasTenor = function() {
341
+ return jspb.Message.getField(this, 4) != null;
342
+ };
343
+
344
+
345
+ /**
346
+ * optional fintekkers.models.util.DecimalValueProto clean_price = 5;
347
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
348
+ */
349
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.getCleanPrice = function() {
350
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
351
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 5));
352
+ };
353
+
354
+
355
+ /**
356
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
357
+ * @return {!proto.fintekkers.requests.valuation.CurveInputProto} returns this
358
+ */
359
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.setCleanPrice = function(value) {
360
+ return jspb.Message.setWrapperField(this, 5, value);
361
+ };
362
+
363
+
364
+ /**
365
+ * Clears the message field making it undefined.
366
+ * @return {!proto.fintekkers.requests.valuation.CurveInputProto} returns this
367
+ */
368
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.clearCleanPrice = function() {
369
+ return this.setCleanPrice(undefined);
370
+ };
371
+
372
+
373
+ /**
374
+ * Returns whether this field is set.
375
+ * @return {boolean}
376
+ */
377
+ proto.fintekkers.requests.valuation.CurveInputProto.prototype.hasCleanPrice = function() {
378
+ return jspb.Message.getField(this, 5) != null;
379
+ };
380
+
381
+
274
382
 
275
383
  /**
276
384
  * List of repeated fields within this message type.
@@ -310,13 +418,13 @@ proto.fintekkers.requests.valuation.CurveRequestProto.prototype.toObject = funct
310
418
  */
311
419
  proto.fintekkers.requests.valuation.CurveRequestProto.toObject = function(includeInstance, msg) {
312
420
  var f, obj = {
313
- objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
314
- version: jspb.Message.getFieldWithDefault(msg, 2, ""),
315
- asofDatetime: (f = msg.getAsofDatetime()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
316
- curveTypesList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f,
317
- curveInputsList: jspb.Message.toObjectList(msg.getCurveInputsList(),
421
+ objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
422
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
423
+ asofDatetime: (f = msg.getAsofDatetime()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
424
+ curveTypesList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f,
425
+ curveInputsList: jspb.Message.toObjectList(msg.getCurveInputsList(),
318
426
  proto.fintekkers.requests.valuation.CurveInputProto.toObject, includeInstance),
319
- tenorPointsList: jspb.Message.toObjectList(msg.getTenorPointsList(),
427
+ tenorPointsList: jspb.Message.toObjectList(msg.getTenorPointsList(),
320
428
  fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject, includeInstance)
321
429
  };
322
430
 
@@ -330,7 +438,7 @@ tenorPointsList: jspb.Message.toObjectList(msg.getTenorPointsList(),
330
438
 
331
439
  /**
332
440
  * Deserializes binary data (in protobuf wire format).
333
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
441
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
334
442
  * @return {!proto.fintekkers.requests.valuation.CurveRequestProto}
335
443
  */
336
444
  proto.fintekkers.requests.valuation.CurveRequestProto.deserializeBinary = function(bytes) {
@@ -355,11 +463,11 @@ proto.fintekkers.requests.valuation.CurveRequestProto.deserializeBinaryFromReade
355
463
  var field = reader.getFieldNumber();
356
464
  switch (field) {
357
465
  case 1:
358
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
466
+ var value = /** @type {string} */ (reader.readString());
359
467
  msg.setObjectClass(value);
360
468
  break;
361
469
  case 2:
362
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
470
+ var value = /** @type {string} */ (reader.readString());
363
471
  msg.setVersion(value);
364
472
  break;
365
473
  case 10:
@@ -368,7 +476,10 @@ proto.fintekkers.requests.valuation.CurveRequestProto.deserializeBinaryFromReade
368
476
  msg.setAsofDatetime(value);
369
477
  break;
370
478
  case 20:
371
- reader.readPackableEnumInto(msg.getCurveTypesList());
479
+ var values = /** @type {!Array<!proto.fintekkers.models.position.MeasureProto>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
480
+ for (var i = 0; i < values.length; i++) {
481
+ msg.addCurveTypes(values[i]);
482
+ }
372
483
  break;
373
484
  case 30:
374
485
  var value = new proto.fintekkers.requests.valuation.CurveInputProto;
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = globalThis;
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_util_decimal_value_pb = require('../../../fintekkers/models/util/decimal_value_pb.js');
19
25
  goog.object.extend(proto, fintekkers_models_util_decimal_value_pb);
@@ -121,8 +127,8 @@ proto.fintekkers.requests.valuation.CurvePointProto.prototype.toObject = functio
121
127
  */
122
128
  proto.fintekkers.requests.valuation.CurvePointProto.toObject = function(includeInstance, msg) {
123
129
  var f, obj = {
124
- tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
125
- yield: (f = msg.getYield()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
130
+ tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
131
+ yield: (f = msg.getYield()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
126
132
  };
127
133
 
128
134
  if (includeInstance) {
@@ -135,7 +141,7 @@ yield: (f = msg.getYield()) && fintekkers_models_util_decimal_value_pb.DecimalVa
135
141
 
136
142
  /**
137
143
  * Deserializes binary data (in protobuf wire format).
138
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
144
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
139
145
  * @return {!proto.fintekkers.requests.valuation.CurvePointProto}
140
146
  */
141
147
  proto.fintekkers.requests.valuation.CurvePointProto.deserializeBinary = function(bytes) {
@@ -330,8 +336,8 @@ proto.fintekkers.requests.valuation.CurveResultProto.prototype.toObject = functi
330
336
  */
331
337
  proto.fintekkers.requests.valuation.CurveResultProto.toObject = function(includeInstance, msg) {
332
338
  var f, obj = {
333
- curveType: jspb.Message.getFieldWithDefault(msg, 1, 0),
334
- pointsList: jspb.Message.toObjectList(msg.getPointsList(),
339
+ curveType: jspb.Message.getFieldWithDefault(msg, 1, 0),
340
+ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
335
341
  proto.fintekkers.requests.valuation.CurvePointProto.toObject, includeInstance)
336
342
  };
337
343
 
@@ -345,7 +351,7 @@ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
345
351
 
346
352
  /**
347
353
  * Deserializes binary data (in protobuf wire format).
348
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
354
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
349
355
  * @return {!proto.fintekkers.requests.valuation.CurveResultProto}
350
356
  */
351
357
  proto.fintekkers.requests.valuation.CurveResultProto.deserializeBinary = function(bytes) {
@@ -520,12 +526,12 @@ proto.fintekkers.requests.valuation.CurveResponseProto.prototype.toObject = func
520
526
  */
521
527
  proto.fintekkers.requests.valuation.CurveResponseProto.toObject = function(includeInstance, msg) {
522
528
  var f, obj = {
523
- objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
524
- version: jspb.Message.getFieldWithDefault(msg, 2, ""),
525
- curveRequest: (f = msg.getCurveRequest()) && fintekkers_requests_valuation_curve_request_pb.CurveRequestProto.toObject(includeInstance, f),
526
- curveResultsList: jspb.Message.toObjectList(msg.getCurveResultsList(),
529
+ objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
530
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
531
+ curveRequest: (f = msg.getCurveRequest()) && fintekkers_requests_valuation_curve_request_pb.CurveRequestProto.toObject(includeInstance, f),
532
+ curveResultsList: jspb.Message.toObjectList(msg.getCurveResultsList(),
527
533
  proto.fintekkers.requests.valuation.CurveResultProto.toObject, includeInstance),
528
- summary: (f = msg.getSummary()) && fintekkers_requests_util_errors_summary_pb.SummaryProto.toObject(includeInstance, f)
534
+ summary: (f = msg.getSummary()) && fintekkers_requests_util_errors_summary_pb.SummaryProto.toObject(includeInstance, f)
529
535
  };
530
536
 
531
537
  if (includeInstance) {
@@ -538,7 +544,7 @@ summary: (f = msg.getSummary()) && fintekkers_requests_util_errors_summary_pb.Su
538
544
 
539
545
  /**
540
546
  * Deserializes binary data (in protobuf wire format).
541
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
547
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
542
548
  * @return {!proto.fintekkers.requests.valuation.CurveResponseProto}
543
549
  */
544
550
  proto.fintekkers.requests.valuation.CurveResponseProto.deserializeBinary = function(bytes) {
@@ -563,11 +569,11 @@ proto.fintekkers.requests.valuation.CurveResponseProto.deserializeBinaryFromRead
563
569
  var field = reader.getFieldNumber();
564
570
  switch (field) {
565
571
  case 1:
566
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
572
+ var value = /** @type {string} */ (reader.readString());
567
573
  msg.setObjectClass(value);
568
574
  break;
569
575
  case 2:
570
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
576
+ var value = /** @type {string} */ (reader.readString());
571
577
  msg.setVersion(value);
572
578
  break;
573
579
  case 10:
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Step 3 tests — FrnInput / ProductInput proto round-trips.
3
+ *
4
+ * For each new message type: construct → serializeBinary() → deserializeBinary() → verify all fields match.
5
+ */
6
+ export {};
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ /**
3
+ * Step 3 tests — FrnInput / ProductInput proto round-trips.
4
+ *
5
+ * For each new message type: construct → serializeBinary() → deserializeBinary() → verify all fields match.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const product_inputs_pb_1 = require("./product_inputs_pb");
9
+ const valuation_request_pb_1 = require("./valuation_request_pb");
10
+ const index_type_pb_1 = require("../../../fintekkers/models/security/index/index_type_pb");
11
+ const decimal_value_pb_1 = require("../../../fintekkers/models/util/decimal_value_pb");
12
+ const local_date_pb_1 = require("../../../fintekkers/models/util/local_date_pb");
13
+ function decimal(value) {
14
+ const d = new decimal_value_pb_1.DecimalValueProto();
15
+ d.setArbitraryPrecisionValue(value);
16
+ return d;
17
+ }
18
+ function date(year, month, day) {
19
+ const d = new local_date_pb_1.LocalDateProto();
20
+ d.setYear(year);
21
+ d.setMonth(month);
22
+ d.setDay(day);
23
+ return d;
24
+ }
25
+ function sofrCurve() {
26
+ const curve = new product_inputs_pb_1.YieldCurveInput();
27
+ curve.setIndex(index_type_pb_1.IndexTypeProto.SOFR);
28
+ curve.setReferenceDate(date(2025, 1, 31));
29
+ const points = [
30
+ ['0.25', '0.0530'],
31
+ ['0.5', '0.0520'],
32
+ ['1.0', '0.0500'],
33
+ ['2.0', '0.0470'],
34
+ ['5.0', '0.0430'],
35
+ ];
36
+ for (const [tenor, rate] of points) {
37
+ const p = new product_inputs_pb_1.CurvePoint();
38
+ p.setTenor(decimal(tenor));
39
+ p.setRate(decimal(rate));
40
+ curve.addPoints(p);
41
+ }
42
+ return curve;
43
+ }
44
+ describe('CurvePoint round-trip', () => {
45
+ test('all fields survive serialize/deserialize', () => {
46
+ const original = new product_inputs_pb_1.CurvePoint();
47
+ original.setTenor(decimal('2.0'));
48
+ original.setRate(decimal('0.0470'));
49
+ const parsed = product_inputs_pb_1.CurvePoint.deserializeBinary(original.serializeBinary());
50
+ expect(parsed.getTenor().getArbitraryPrecisionValue()).toBe('2.0');
51
+ expect(parsed.getRate().getArbitraryPrecisionValue()).toBe('0.0470');
52
+ });
53
+ });
54
+ describe('YieldCurveInput round-trip', () => {
55
+ test('index and reference date survive', () => {
56
+ const parsed = product_inputs_pb_1.YieldCurveInput.deserializeBinary(sofrCurve().serializeBinary());
57
+ expect(parsed.getIndex()).toBe(index_type_pb_1.IndexTypeProto.SOFR);
58
+ expect(parsed.getReferenceDate().getYear()).toBe(2025);
59
+ expect(parsed.getReferenceDate().getMonth()).toBe(1);
60
+ expect(parsed.getReferenceDate().getDay()).toBe(31);
61
+ });
62
+ test('all five points survive', () => {
63
+ const parsed = product_inputs_pb_1.YieldCurveInput.deserializeBinary(sofrCurve().serializeBinary());
64
+ expect(parsed.getPointsList()).toHaveLength(5);
65
+ });
66
+ test('point order is preserved', () => {
67
+ const expectedTenors = ['0.25', '0.5', '1.0', '2.0', '5.0'];
68
+ const parsed = product_inputs_pb_1.YieldCurveInput.deserializeBinary(sofrCurve().serializeBinary());
69
+ parsed.getPointsList().forEach((pt, i) => {
70
+ expect(pt.getTenor().getArbitraryPrecisionValue()).toBe(expectedTenors[i]);
71
+ });
72
+ });
73
+ test('first and last point rates survive', () => {
74
+ const parsed = product_inputs_pb_1.YieldCurveInput.deserializeBinary(sofrCurve().serializeBinary());
75
+ expect(parsed.getPointsList()[0].getRate().getArbitraryPrecisionValue()).toBe('0.0530');
76
+ expect(parsed.getPointsList()[4].getRate().getArbitraryPrecisionValue()).toBe('0.0430');
77
+ });
78
+ });
79
+ describe('FrnInput round-trip', () => {
80
+ test('clean price and curve survive', () => {
81
+ const original = new product_inputs_pb_1.FrnInput();
82
+ original.setCleanPrice(decimal('99.75'));
83
+ original.setCurve(sofrCurve());
84
+ const parsed = product_inputs_pb_1.FrnInput.deserializeBinary(original.serializeBinary());
85
+ expect(parsed.getCleanPrice().getArbitraryPrecisionValue()).toBe('99.75');
86
+ expect(parsed.getCurve().getIndex()).toBe(index_type_pb_1.IndexTypeProto.SOFR);
87
+ expect(parsed.getCurve().getPointsList()).toHaveLength(5);
88
+ });
89
+ });
90
+ describe('ProductInput round-trip', () => {
91
+ test('frn variant survives', () => {
92
+ const frn = new product_inputs_pb_1.FrnInput();
93
+ frn.setCleanPrice(decimal('99.875'));
94
+ frn.setCurve(sofrCurve());
95
+ const original = new product_inputs_pb_1.ProductInput();
96
+ original.setFrn(frn);
97
+ const parsed = product_inputs_pb_1.ProductInput.deserializeBinary(original.serializeBinary());
98
+ expect(parsed.getInputCase()).toBe(product_inputs_pb_1.ProductInput.InputCase.FRN);
99
+ expect(parsed.getFrn().getCleanPrice().getArbitraryPrecisionValue()).toBe('99.875');
100
+ expect(parsed.getFrn().getCurve().getIndex()).toBe(index_type_pb_1.IndexTypeProto.SOFR);
101
+ });
102
+ });
103
+ describe('ValuationRequestProto backward compatibility', () => {
104
+ test('product_input field survives on existing request message', () => {
105
+ const frn = new product_inputs_pb_1.FrnInput();
106
+ frn.setCleanPrice(decimal('100.25'));
107
+ frn.setCurve(sofrCurve());
108
+ const pi = new product_inputs_pb_1.ProductInput();
109
+ pi.setFrn(frn);
110
+ const original = new valuation_request_pb_1.ValuationRequestProto();
111
+ original.setObjectClass('ValuationRequest');
112
+ original.setVersion('0.0.1');
113
+ original.setProductInput(pi);
114
+ const parsed = valuation_request_pb_1.ValuationRequestProto.deserializeBinary(original.serializeBinary());
115
+ expect(parsed.getObjectClass()).toBe('ValuationRequest');
116
+ expect(parsed.hasProductInput()).toBe(true);
117
+ expect(parsed.getProductInput().getInputCase()).toBe(product_inputs_pb_1.ProductInput.InputCase.FRN);
118
+ expect(parsed.getProductInput().getFrn().getCleanPrice().getArbitraryPrecisionValue()).toBe('100.25');
119
+ });
120
+ test('request without product_input is unaffected', () => {
121
+ const original = new valuation_request_pb_1.ValuationRequestProto();
122
+ original.setObjectClass('ValuationRequest');
123
+ original.setVersion('0.0.1');
124
+ const parsed = valuation_request_pb_1.ValuationRequestProto.deserializeBinary(original.serializeBinary());
125
+ expect(parsed.getObjectClass()).toBe('ValuationRequest');
126
+ expect(parsed.hasProductInput()).toBe(false);
127
+ });
128
+ });
129
+ describe('New RFR index types round-trip', () => {
130
+ test.each([
131
+ [index_type_pb_1.IndexTypeProto.SONIA, 'SONIA'],
132
+ [index_type_pb_1.IndexTypeProto.ESTR, 'ESTR'],
133
+ [index_type_pb_1.IndexTypeProto.TONA, 'TONA'],
134
+ ])('%s survives round-trip', (index, label) => {
135
+ const curve = new product_inputs_pb_1.YieldCurveInput();
136
+ curve.setIndex(index);
137
+ curve.setReferenceDate(date(2025, 1, 31));
138
+ const p = new product_inputs_pb_1.CurvePoint();
139
+ p.setTenor(decimal('1.0'));
140
+ p.setRate(decimal('0.04'));
141
+ curve.addPoints(p);
142
+ const parsed = product_inputs_pb_1.YieldCurveInput.deserializeBinary(curve.serializeBinary());
143
+ expect(parsed.getIndex()).toBe(index);
144
+ });
145
+ });
146
+ //# sourceMappingURL=product_inputs.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product_inputs.test.js","sourceRoot":"","sources":["product_inputs.test.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAEH,2DAA0F;AAC1F,iEAA+D;AAC/D,2FAAyF;AACzF,uFAAqF;AACrF,iFAA+E;AAE/E,SAAS,OAAO,CAAC,KAAa;IAC1B,MAAM,CAAC,GAAG,IAAI,oCAAiB,EAAE,CAAC;IAClC,CAAC,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACpC,OAAO,CAAC,CAAC;AACb,CAAC;AAED,SAAS,IAAI,CAAC,IAAY,EAAE,KAAa,EAAE,GAAW;IAClD,MAAM,CAAC,GAAG,IAAI,8BAAc,EAAE,CAAC;IAC/B,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACd,OAAO,CAAC,CAAC;AACb,CAAC;AAED,SAAS,SAAS;IACd,MAAM,KAAK,GAAG,IAAI,mCAAe,EAAE,CAAC;IACpC,KAAK,CAAC,QAAQ,CAAC,8BAAc,CAAC,IAAI,CAAC,CAAC;IACpC,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IAE1C,MAAM,MAAM,GAAuB;QAC/B,CAAC,MAAM,EAAE,QAAQ,CAAC;QAClB,CAAC,KAAK,EAAG,QAAQ,CAAC;QAClB,CAAC,KAAK,EAAG,QAAQ,CAAC;QAClB,CAAC,KAAK,E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E;IAC5C,IAAI,CAAC,IAAI,CAAC;QACN,CAAC,8BAAc,CAAC,KAAK,EAAE,OAAO,CAAC;QAC/B,CAAC,8BAAc,CAAC,IAAI,EAAG,MAAM,CAAC;QAC9B,CAAC,8BAAc,CAAC,IAAI,EAAG,MAAM,CAAC;KACjC,CAAC,CAAC,wBAAwB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QAC1C,MAAM,KAAK,GAAG,IAAI,mCAAe,EAAE,CAAC;QACpC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtB,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QAC1C,MAAM,CAAC,GAAG,IAAI,8BAAU,EAAE,CAAC;QAC3B,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QAC3B,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3B,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QAEnB,MAAM,MAAM,GAAG,mCAAe,CAAC,iBAAiB,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC;QAC1E,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -17,6 +17,11 @@ export class ProductInput extends jspb.Message {
17
17
  getBond(): BondInput | undefined;
18
18
  setBond(value?: BondInput): ProductInput;
19
19
 
20
+ hasTips(): boolean;
21
+ clearTips(): void;
22
+ getTips(): TipsInput | undefined;
23
+ setTips(value?: TipsInput): ProductInput;
24
+
20
25
  hasFrn(): boolean;
21
26
  clearFrn(): void;
22
27
  getFrn(): FrnInput | undefined;
@@ -37,12 +42,14 @@ export class ProductInput extends jspb.Message {
37
42
  export namespace ProductInput {
38
43
  export type AsObject = {
39
44
  bond?: BondInput.AsObject,
45
+ tips?: TipsInput.AsObject,
40
46
  frn?: FrnInput.AsObject,
41
47
  }
42
48
 
43
49
  export enum InputCase {
44
50
  INPUT_NOT_SET = 0,
45
51
  BOND = 1,
52
+ TIPS = 2,
46
53
  FRN = 8,
47
54
  }
48
55
 
@@ -83,6 +90,41 @@ export namespace BondInput {
83
90
  }
84
91
  }
85
92
 
93
+ export class TipsInput extends jspb.Message {
94
+
95
+ hasSecurity(): boolean;
96
+ clearSecurity(): void;
97
+ getSecurity(): fintekkers_models_security_security_pb.SecurityProto | undefined;
98
+ setSecurity(value?: fintekkers_models_security_security_pb.SecurityProto): TipsInput;
99
+
100
+ hasCleanPrice(): boolean;
101
+ clearCleanPrice(): void;
102
+ getCleanPrice(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
103
+ setCleanPrice(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): TipsInput;
104
+
105
+ hasCurrentCpi(): boolean;
106
+ clearCurrentCpi(): void;
107
+ getCurrentCpi(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
108
+ setCurrentCpi(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): TipsInput;
109
+
110
+ serializeBinary(): Uint8Array;
111
+ toObject(includeInstance?: boolean): TipsInput.AsObject;
112
+ static toObject(includeInstance: boolean, msg: TipsInput): TipsInput.AsObject;
113
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
114
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
115
+ static serializeBinaryToWriter(message: TipsInput, writer: jspb.BinaryWriter): void;
116
+ static deserializeBinary(bytes: Uint8Array): TipsInput;
117
+ static deserializeBinaryFromReader(message: TipsInput, reader: jspb.BinaryReader): TipsInput;
118
+ }
119
+
120
+ export namespace TipsInput {
121
+ export type AsObject = {
122
+ security?: fintekkers_models_security_security_pb.SecurityProto.AsObject,
123
+ cleanPrice?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
124
+ currentCpi?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
125
+ }
126
+ }
127
+
86
128
  export class FrnInput extends jspb.Message {
87
129
 
88
130
  hasSecurity(): boolean;