@fintekkers/ledger-models 1.1.49 → 1.1.51
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/catalog/measures.json +5 -3
- package/node/fintekkers/models/security/security_metric_grpc_pb.js +1 -0
- package/node/fintekkers/models/security/security_metric_pb.d.ts +89 -0
- package/node/fintekkers/models/security/security_metric_pb.js +657 -0
- package/node/fintekkers/models/security/security_metric_type_grpc_pb.js +1 -0
- package/node/fintekkers/models/security/security_metric_type_pb.d.ts +14 -0
- package/node/fintekkers/models/security/security_metric_type_pb.js +35 -0
- package/node/fintekkers/models/util/object_type_pb.d.ts +7 -0
- package/node/fintekkers/models/util/object_type_pb.js +8 -1
- package/node/fintekkers/models/valuation/cashflow_pb.d.ts +6 -0
- package/node/fintekkers/models/valuation/cashflow_pb.js +52 -1
- package/node/fintekkers/requests/security_metric/create_security_metric_request_grpc_pb.js +1 -0
- package/node/fintekkers/requests/security_metric/create_security_metric_request_pb.d.ts +81 -0
- package/node/fintekkers/requests/security_metric/create_security_metric_request_pb.js +600 -0
- package/node/fintekkers/requests/security_metric/get_latest_security_metric_request_grpc_pb.js +1 -0
- package/node/fintekkers/requests/security_metric/get_latest_security_metric_request_pb.d.ts +93 -0
- package/node/fintekkers/requests/security_metric/get_latest_security_metric_request_pb.js +717 -0
- package/node/fintekkers/requests/security_metric/search_security_metric_request_grpc_pb.js +1 -0
- package/node/fintekkers/requests/security_metric/search_security_metric_request_pb.d.ts +101 -0
- package/node/fintekkers/requests/security_metric/search_security_metric_request_pb.js +757 -0
- package/node/fintekkers/requests/valuation/product_inputs.test.js +50 -0
- package/node/fintekkers/requests/valuation/product_inputs.test.js.map +1 -1
- package/node/fintekkers/requests/valuation/product_inputs.test.ts +61 -0
- package/node/fintekkers/requests/valuation/product_inputs_pb.d.ts +6 -0
- package/node/fintekkers/requests/valuation/product_inputs_pb.js +51 -0
- package/node/fintekkers/services/security-metric-service/security_metric_service_grpc_pb.d.ts +76 -0
- package/node/fintekkers/services/security-metric-service/security_metric_service_grpc_pb.js +173 -0
- package/node/fintekkers/services/security-metric-service/security_metric_service_pb.d.ts +10 -0
- package/node/fintekkers/services/security-metric-service/security_metric_service_pb.js +29 -0
- package/node/wrappers/models/security/security-metric-roundtrip.test.d.ts +1 -0
- package/node/wrappers/models/security/security-metric-roundtrip.test.js +137 -0
- package/node/wrappers/models/security/security-metric-roundtrip.test.js.map +1 -0
- package/node/wrappers/models/security/security-metric-roundtrip.test.ts +162 -0
- package/node/wrappers/util/object-types.js +12 -0
- package/node/wrappers/util/object-types.js.map +1 -1
- package/node/wrappers/util/object-types.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// source: fintekkers/models/security/security_metric_type.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
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));
|
|
23
|
+
|
|
24
|
+
goog.exportSymbol('proto.fintekkers.models.security.SecurityMetricTypeProto', null, global);
|
|
25
|
+
/**
|
|
26
|
+
* @enum {number}
|
|
27
|
+
*/
|
|
28
|
+
proto.fintekkers.models.security.SecurityMetricTypeProto = {
|
|
29
|
+
UNKNOWN_SECURITY_METRIC: 0,
|
|
30
|
+
SHARES_OUTSTANDING: 1,
|
|
31
|
+
NAV_PER_SHARE: 2,
|
|
32
|
+
TOTAL_NET_ASSETS: 3
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
goog.object.extend(exports, proto.fintekkers.models.security);
|
|
@@ -24,6 +24,7 @@ export enum ObjectTypeProto {
|
|
|
24
24
|
OBJECT_TYPE_STRATEGY_ALLOCATION = 14,
|
|
25
25
|
OBJECT_TYPE_TENOR = 15,
|
|
26
26
|
OBJECT_TYPE_TRANSACTION = 16,
|
|
27
|
+
OBJECT_TYPE_SECURITY_METRIC_SERIES = 17,
|
|
27
28
|
OBJECT_TYPE_CREATE_INDEX_COMPOSITION_REQUEST = 101,
|
|
28
29
|
OBJECT_TYPE_CREATE_INDEX_COMPOSITION_RESPONSE = 102,
|
|
29
30
|
OBJECT_TYPE_CREATE_PORTFOLIO_REQUEST = 103,
|
|
@@ -57,4 +58,10 @@ export enum ObjectTypeProto {
|
|
|
57
58
|
OBJECT_TYPE_QUERY_TRANSACTION_RESPONSE = 131,
|
|
58
59
|
OBJECT_TYPE_VALUATION_REQUEST = 132,
|
|
59
60
|
OBJECT_TYPE_VALUATION_RESPONSE = 133,
|
|
61
|
+
OBJECT_TYPE_CREATE_SECURITY_METRIC_REQUEST = 134,
|
|
62
|
+
OBJECT_TYPE_CREATE_SECURITY_METRIC_RESPONSE = 135,
|
|
63
|
+
OBJECT_TYPE_GET_LATEST_SECURITY_METRIC_REQUEST = 136,
|
|
64
|
+
OBJECT_TYPE_GET_LATEST_SECURITY_METRIC_RESPONSE = 137,
|
|
65
|
+
OBJECT_TYPE_SEARCH_SECURITY_METRIC_REQUEST = 138,
|
|
66
|
+
OBJECT_TYPE_SEARCH_SECURITY_METRIC_RESPONSE = 139,
|
|
60
67
|
}
|
|
@@ -43,6 +43,7 @@ proto.fintekkers.models.util.ObjectTypeProto = {
|
|
|
43
43
|
OBJECT_TYPE_STRATEGY_ALLOCATION: 14,
|
|
44
44
|
OBJECT_TYPE_TENOR: 15,
|
|
45
45
|
OBJECT_TYPE_TRANSACTION: 16,
|
|
46
|
+
OBJECT_TYPE_SECURITY_METRIC_SERIES: 17,
|
|
46
47
|
OBJECT_TYPE_CREATE_INDEX_COMPOSITION_REQUEST: 101,
|
|
47
48
|
OBJECT_TYPE_CREATE_INDEX_COMPOSITION_RESPONSE: 102,
|
|
48
49
|
OBJECT_TYPE_CREATE_PORTFOLIO_REQUEST: 103,
|
|
@@ -75,7 +76,13 @@ proto.fintekkers.models.util.ObjectTypeProto = {
|
|
|
75
76
|
OBJECT_TYPE_QUERY_TRANSACTION_REQUEST: 130,
|
|
76
77
|
OBJECT_TYPE_QUERY_TRANSACTION_RESPONSE: 131,
|
|
77
78
|
OBJECT_TYPE_VALUATION_REQUEST: 132,
|
|
78
|
-
OBJECT_TYPE_VALUATION_RESPONSE: 133
|
|
79
|
+
OBJECT_TYPE_VALUATION_RESPONSE: 133,
|
|
80
|
+
OBJECT_TYPE_CREATE_SECURITY_METRIC_REQUEST: 134,
|
|
81
|
+
OBJECT_TYPE_CREATE_SECURITY_METRIC_RESPONSE: 135,
|
|
82
|
+
OBJECT_TYPE_GET_LATEST_SECURITY_METRIC_REQUEST: 136,
|
|
83
|
+
OBJECT_TYPE_GET_LATEST_SECURITY_METRIC_RESPONSE: 137,
|
|
84
|
+
OBJECT_TYPE_SEARCH_SECURITY_METRIC_REQUEST: 138,
|
|
85
|
+
OBJECT_TYPE_SEARCH_SECURITY_METRIC_RESPONSE: 139
|
|
79
86
|
};
|
|
80
87
|
|
|
81
88
|
goog.object.extend(exports, proto.fintekkers.models.util);
|
|
@@ -36,6 +36,11 @@ export class CashflowProto extends jspb.Message {
|
|
|
36
36
|
getCurrency(): fintekkers_models_util_currency_pb.CurrencyProto | undefined;
|
|
37
37
|
setCurrency(value?: fintekkers_models_util_currency_pb.CurrencyProto): CashflowProto;
|
|
38
38
|
|
|
39
|
+
hasIndexRatio(): boolean;
|
|
40
|
+
clearIndexRatio(): void;
|
|
41
|
+
getIndexRatio(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
42
|
+
setIndexRatio(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): CashflowProto;
|
|
43
|
+
|
|
39
44
|
serializeBinary(): Uint8Array;
|
|
40
45
|
toObject(includeInstance?: boolean): CashflowProto.AsObject;
|
|
41
46
|
static toObject(includeInstance: boolean, msg: CashflowProto): CashflowProto.AsObject;
|
|
@@ -53,5 +58,6 @@ export namespace CashflowProto {
|
|
|
53
58
|
fvAmount?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
54
59
|
couponRate?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
55
60
|
currency?: fintekkers_models_util_currency_pb.CurrencyProto.AsObject,
|
|
61
|
+
indexRatio?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
56
62
|
}
|
|
57
63
|
}
|
|
@@ -85,7 +85,8 @@ proto.fintekkers.models.valuation.CashflowProto.toObject = function(includeInsta
|
|
|
85
85
|
pvAmount: (f = msg.getPvAmount()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
86
86
|
fvAmount: (f = msg.getFvAmount()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
87
87
|
couponRate: (f = msg.getCouponRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
88
|
-
currency: (f = msg.getCurrency()) && fintekkers_models_util_currency_pb.CurrencyProto.toObject(includeInstance, f)
|
|
88
|
+
currency: (f = msg.getCurrency()) && fintekkers_models_util_currency_pb.CurrencyProto.toObject(includeInstance, f),
|
|
89
|
+
indexRatio: (f = msg.getIndexRatio()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
|
|
89
90
|
};
|
|
90
91
|
|
|
91
92
|
if (includeInstance) {
|
|
@@ -147,6 +148,11 @@ proto.fintekkers.models.valuation.CashflowProto.deserializeBinaryFromReader = fu
|
|
|
147
148
|
reader.readMessage(value,fintekkers_models_util_currency_pb.CurrencyProto.deserializeBinaryFromReader);
|
|
148
149
|
msg.setCurrency(value);
|
|
149
150
|
break;
|
|
151
|
+
case 6:
|
|
152
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
153
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
154
|
+
msg.setIndexRatio(value);
|
|
155
|
+
break;
|
|
150
156
|
default:
|
|
151
157
|
reader.skipField();
|
|
152
158
|
break;
|
|
@@ -216,6 +222,14 @@ proto.fintekkers.models.valuation.CashflowProto.serializeBinaryToWriter = functi
|
|
|
216
222
|
fintekkers_models_util_currency_pb.CurrencyProto.serializeBinaryToWriter
|
|
217
223
|
);
|
|
218
224
|
}
|
|
225
|
+
f = message.getIndexRatio();
|
|
226
|
+
if (f != null) {
|
|
227
|
+
writer.writeMessage(
|
|
228
|
+
6,
|
|
229
|
+
f,
|
|
230
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
231
|
+
);
|
|
232
|
+
}
|
|
219
233
|
};
|
|
220
234
|
|
|
221
235
|
|
|
@@ -404,4 +418,41 @@ proto.fintekkers.models.valuation.CashflowProto.prototype.hasCurrency = function
|
|
|
404
418
|
};
|
|
405
419
|
|
|
406
420
|
|
|
421
|
+
/**
|
|
422
|
+
* optional fintekkers.models.util.DecimalValueProto index_ratio = 6;
|
|
423
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
424
|
+
*/
|
|
425
|
+
proto.fintekkers.models.valuation.CashflowProto.prototype.getIndexRatio = function() {
|
|
426
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
427
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 6));
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
433
|
+
* @return {!proto.fintekkers.models.valuation.CashflowProto} returns this
|
|
434
|
+
*/
|
|
435
|
+
proto.fintekkers.models.valuation.CashflowProto.prototype.setIndexRatio = function(value) {
|
|
436
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Clears the message field making it undefined.
|
|
442
|
+
* @return {!proto.fintekkers.models.valuation.CashflowProto} returns this
|
|
443
|
+
*/
|
|
444
|
+
proto.fintekkers.models.valuation.CashflowProto.prototype.clearIndexRatio = function() {
|
|
445
|
+
return this.setIndexRatio(undefined);
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Returns whether this field is set.
|
|
451
|
+
* @return {boolean}
|
|
452
|
+
*/
|
|
453
|
+
proto.fintekkers.models.valuation.CashflowProto.prototype.hasIndexRatio = function() {
|
|
454
|
+
return jspb.Message.getField(this, 6) != null;
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
|
|
407
458
|
goog.object.extend(exports, proto.fintekkers.models.valuation);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// package: fintekkers.requests.security_metric
|
|
2
|
+
// file: fintekkers/requests/security_metric/create_security_metric_request.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as fintekkers_models_security_security_metric_pb from "../../../fintekkers/models/security/security_metric_pb";
|
|
9
|
+
import * as fintekkers_requests_util_operation_pb from "../../../fintekkers/requests/util/operation_pb";
|
|
10
|
+
import * as fintekkers_models_util_object_type_pb from "../../../fintekkers/models/util/object_type_pb";
|
|
11
|
+
import * as fintekkers_models_util_version_pb from "../../../fintekkers/models/util/version_pb";
|
|
12
|
+
|
|
13
|
+
export class CreateSecurityMetricRequestProto extends jspb.Message {
|
|
14
|
+
getObjectType(): fintekkers_models_util_object_type_pb.ObjectTypeProto;
|
|
15
|
+
setObjectType(value: fintekkers_models_util_object_type_pb.ObjectTypeProto): CreateSecurityMetricRequestProto;
|
|
16
|
+
|
|
17
|
+
hasVersion(): boolean;
|
|
18
|
+
clearVersion(): void;
|
|
19
|
+
getVersion(): fintekkers_models_util_version_pb.VersionProto | undefined;
|
|
20
|
+
setVersion(value?: fintekkers_models_util_version_pb.VersionProto): CreateSecurityMetricRequestProto;
|
|
21
|
+
getOperationType(): fintekkers_requests_util_operation_pb.RequestOperationTypeProto;
|
|
22
|
+
setOperationType(value: fintekkers_requests_util_operation_pb.RequestOperationTypeProto): CreateSecurityMetricRequestProto;
|
|
23
|
+
|
|
24
|
+
hasSeries(): boolean;
|
|
25
|
+
clearSeries(): void;
|
|
26
|
+
getSeries(): fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto | undefined;
|
|
27
|
+
setSeries(value?: fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto): CreateSecurityMetricRequestProto;
|
|
28
|
+
|
|
29
|
+
serializeBinary(): Uint8Array;
|
|
30
|
+
toObject(includeInstance?: boolean): CreateSecurityMetricRequestProto.AsObject;
|
|
31
|
+
static toObject(includeInstance: boolean, msg: CreateSecurityMetricRequestProto): CreateSecurityMetricRequestProto.AsObject;
|
|
32
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
33
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
34
|
+
static serializeBinaryToWriter(message: CreateSecurityMetricRequestProto, writer: jspb.BinaryWriter): void;
|
|
35
|
+
static deserializeBinary(bytes: Uint8Array): CreateSecurityMetricRequestProto;
|
|
36
|
+
static deserializeBinaryFromReader(message: CreateSecurityMetricRequestProto, reader: jspb.BinaryReader): CreateSecurityMetricRequestProto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export namespace CreateSecurityMetricRequestProto {
|
|
40
|
+
export type AsObject = {
|
|
41
|
+
objectType: fintekkers_models_util_object_type_pb.ObjectTypeProto,
|
|
42
|
+
version?: fintekkers_models_util_version_pb.VersionProto.AsObject,
|
|
43
|
+
operationType: fintekkers_requests_util_operation_pb.RequestOperationTypeProto,
|
|
44
|
+
series?: fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto.AsObject,
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class CreateSecurityMetricResponseProto extends jspb.Message {
|
|
49
|
+
getObjectType(): fintekkers_models_util_object_type_pb.ObjectTypeProto;
|
|
50
|
+
setObjectType(value: fintekkers_models_util_object_type_pb.ObjectTypeProto): CreateSecurityMetricResponseProto;
|
|
51
|
+
|
|
52
|
+
hasVersion(): boolean;
|
|
53
|
+
clearVersion(): void;
|
|
54
|
+
getVersion(): fintekkers_models_util_version_pb.VersionProto | undefined;
|
|
55
|
+
setVersion(value?: fintekkers_models_util_version_pb.VersionProto): CreateSecurityMetricResponseProto;
|
|
56
|
+
getOperationType(): fintekkers_requests_util_operation_pb.RequestOperationTypeProto;
|
|
57
|
+
setOperationType(value: fintekkers_requests_util_operation_pb.RequestOperationTypeProto): CreateSecurityMetricResponseProto;
|
|
58
|
+
|
|
59
|
+
hasSeries(): boolean;
|
|
60
|
+
clearSeries(): void;
|
|
61
|
+
getSeries(): fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto | undefined;
|
|
62
|
+
setSeries(value?: fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto): CreateSecurityMetricResponseProto;
|
|
63
|
+
|
|
64
|
+
serializeBinary(): Uint8Array;
|
|
65
|
+
toObject(includeInstance?: boolean): CreateSecurityMetricResponseProto.AsObject;
|
|
66
|
+
static toObject(includeInstance: boolean, msg: CreateSecurityMetricResponseProto): CreateSecurityMetricResponseProto.AsObject;
|
|
67
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
68
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
69
|
+
static serializeBinaryToWriter(message: CreateSecurityMetricResponseProto, writer: jspb.BinaryWriter): void;
|
|
70
|
+
static deserializeBinary(bytes: Uint8Array): CreateSecurityMetricResponseProto;
|
|
71
|
+
static deserializeBinaryFromReader(message: CreateSecurityMetricResponseProto, reader: jspb.BinaryReader): CreateSecurityMetricResponseProto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export namespace CreateSecurityMetricResponseProto {
|
|
75
|
+
export type AsObject = {
|
|
76
|
+
objectType: fintekkers_models_util_object_type_pb.ObjectTypeProto,
|
|
77
|
+
version?: fintekkers_models_util_version_pb.VersionProto.AsObject,
|
|
78
|
+
operationType: fintekkers_requests_util_operation_pb.RequestOperationTypeProto,
|
|
79
|
+
series?: fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto.AsObject,
|
|
80
|
+
}
|
|
81
|
+
}
|