@fintekkers/ledger-models 0.1.131 → 0.1.133
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.d.ts +6 -0
- package/node/fintekkers/models/security/security_pb.js +147 -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.d.ts +3 -0
- package/node/fintekkers/requests/price/query_price_request_pb.js +48 -12
- package/node/fintekkers/requests/price/query_price_response_pb.d.ts +7 -0
- package/node/fintekkers/requests/price/query_price_response_pb.js +68 -9
- 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/BondSecurity.d.ts +8 -0
- package/node/wrappers/models/security/BondSecurity.js +13 -0
- package/node/wrappers/models/security/BondSecurity.js.map +1 -1
- package/node/wrappers/models/security/BondSecurity.ts +13 -0
- package/node/wrappers/models/security/identifier.d.ts +26 -0
- package/node/wrappers/models/security/identifier.js +39 -0
- package/node/wrappers/models/security/identifier.js.map +1 -1
- package/node/wrappers/models/security/identifier.test.js +62 -0
- package/node/wrappers/models/security/identifier.test.js.map +1 -1
- package/node/wrappers/models/security/identifier.test.ts +70 -0
- package/node/wrappers/models/security/identifier.ts +44 -0
- package/node/wrappers/models/security/security.d.ts +42 -1
- package/node/wrappers/models/security/security.js +53 -2
- package/node/wrappers/models/security/security.js.map +1 -1
- package/node/wrappers/models/security/security.test.js +72 -0
- package/node/wrappers/models/security/security.test.js.map +1 -1
- package/node/wrappers/models/security/security.test.ts +80 -0
- package/node/wrappers/models/security/security.ts +56 -3
- 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
|
@@ -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,EAAG,QAAQ,CAAC;QAClB,CAAC,K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C;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;
|