@fintekkers/ledger-models 0.4.0 → 0.4.2
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/hierarchy.json +2 -2
- package/node/fintekkers/models/security/bond/agency_grpc_pb.js +1 -0
- package/node/fintekkers/models/security/bond/agency_pb.d.ts +14 -0
- package/node/fintekkers/models/security/bond/agency_pb.js +35 -0
- package/node/fintekkers/models/security/product_type_pb.d.ts +1 -0
- package/node/fintekkers/models/security/product_type_pb.js +1 -0
- package/node/fintekkers/models/security/security_pb.d.ts +69 -0
- package/node/fintekkers/models/security/security_pb.js +572 -1
- package/node/wrappers/models/security/BondSecurity.d.ts +41 -3
- package/node/wrappers/models/security/BondSecurity.fromPricerInputs.test.d.ts +1 -0
- package/node/wrappers/models/security/BondSecurity.fromPricerInputs.test.js +75 -0
- package/node/wrappers/models/security/BondSecurity.fromPricerInputs.test.js.map +1 -0
- package/node/wrappers/models/security/BondSecurity.fromPricerInputs.test.ts +95 -0
- package/node/wrappers/models/security/BondSecurity.js +50 -2
- package/node/wrappers/models/security/BondSecurity.js.map +1 -1
- package/node/wrappers/models/security/BondSecurity.ts +65 -3
- package/node/wrappers/models/security/FloatingRateNote.d.ts +30 -0
- package/node/wrappers/models/security/FloatingRateNote.js +80 -0
- package/node/wrappers/models/security/FloatingRateNote.js.map +1 -0
- package/node/wrappers/models/security/FloatingRateNote.ts +67 -0
- package/node/wrappers/models/security/IndexSecurity.d.ts +16 -0
- package/node/wrappers/models/security/IndexSecurity.js +26 -0
- package/node/wrappers/models/security/IndexSecurity.js.map +1 -0
- package/node/wrappers/models/security/IndexSecurity.test.d.ts +1 -0
- package/node/wrappers/models/security/IndexSecurity.test.js +60 -0
- package/node/wrappers/models/security/IndexSecurity.test.js.map +1 -0
- package/node/wrappers/models/security/IndexSecurity.test.ts +60 -0
- package/node/wrappers/models/security/IndexSecurity.ts +24 -0
- package/node/wrappers/models/security/Issuance.d.ts +35 -0
- package/node/wrappers/models/security/Issuance.js +64 -0
- package/node/wrappers/models/security/Issuance.js.map +1 -0
- package/node/wrappers/models/security/Issuance.test.d.ts +1 -0
- package/node/wrappers/models/security/Issuance.test.js +55 -0
- package/node/wrappers/models/security/Issuance.test.js.map +1 -0
- package/node/wrappers/models/security/Issuance.test.ts +52 -0
- package/node/wrappers/models/security/Issuance.ts +74 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.d.ts +48 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.fromPricerInputs.test.d.ts +1 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.fromPricerInputs.test.js +93 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.fromPricerInputs.test.js.map +1 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.fromPricerInputs.test.ts +107 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.js +131 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.js.map +1 -0
- package/node/wrappers/models/security/MortgageBackedSecurity.ts +125 -0
- package/node/wrappers/models/security/TIPSBond.d.ts +30 -0
- package/node/wrappers/models/security/TIPSBond.js +83 -0
- package/node/wrappers/models/security/TIPSBond.js.map +1 -0
- package/node/wrappers/models/security/TIPSBond.ts +70 -0
- package/node/wrappers/models/security/security.d.ts +20 -3
- package/node/wrappers/models/security/security.identifiers.test.d.ts +1 -0
- package/node/wrappers/models/security/security.identifiers.test.js +67 -0
- package/node/wrappers/models/security/security.identifiers.test.js.map +1 -0
- package/node/wrappers/models/security/security.identifiers.test.ts +67 -0
- package/node/wrappers/models/security/security.js +72 -22
- package/node/wrappers/models/security/security.js.map +1 -1
- package/node/wrappers/models/security/security.ts +75 -22
- package/node/wrappers/models/transaction/transaction.js +4 -2
- package/node/wrappers/models/transaction/transaction.js.map +1 -1
- package/node/wrappers/models/transaction/transaction.ts +4 -2
- package/node/wrappers/services/security-service/security.maturityLadder.test.js +3 -2
- package/node/wrappers/services/security-service/security.maturityLadder.test.js.map +1 -1
- package/node/wrappers/services/security-service/security.maturityLadder.test.ts +3 -2
- package/package.json +1 -1
package/hierarchy.json
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"CONVERTIBLE_BOND": { "parent": "CREDIT_BOND", "asset_class": "CREDIT", "instrument_type": "CASH", "label": "Convertible Bond", "status": "planned" },
|
|
21
21
|
"COCO": { "parent": "CREDIT_BOND", "asset_class": "CREDIT", "instrument_type": "CASH", "label": "Contingent Convertible Bond (CoCo)", "status": "planned" },
|
|
22
22
|
|
|
23
|
-
"STRUCTURED_BOND": { "parent": "BOND", "abstract": true, "
|
|
24
|
-
"
|
|
23
|
+
"STRUCTURED_BOND": { "parent": "BOND", "abstract": true, "label": "Structured Bond" },
|
|
24
|
+
"MORTGAGE_BACKED": { "parent": "STRUCTURED_BOND", "asset_class": "CREDIT", "instrument_type": "CASH", "label": "Agency MBS Pass-Through", "status": "active" },
|
|
25
25
|
"CMBS": { "parent": "STRUCTURED_BOND", "asset_class": "CREDIT", "instrument_type": "CASH", "label": "Commercial MBS", "status": "planned" },
|
|
26
26
|
"ABS": { "parent": "STRUCTURED_BOND", "asset_class": "CREDIT", "instrument_type": "CASH", "label": "Asset-Backed Security", "status": "planned" },
|
|
27
27
|
"CLO": { "parent": "STRUCTURED_BOND", "asset_class": "CREDIT", "instrument_type": "CASH", "label": "Collateralized Loan Obligation", "status": "planned" },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// package: fintekkers.models.security.bond
|
|
2
|
+
// file: fintekkers/models/security/bond/agency.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
|
|
9
|
+
export enum AgencyProto {
|
|
10
|
+
AGENCY_UNKNOWN = 0,
|
|
11
|
+
FNMA = 1,
|
|
12
|
+
FHLMC = 2,
|
|
13
|
+
GNMA = 3,
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// source: fintekkers/models/security/bond/agency.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.bond.AgencyProto', null, global);
|
|
25
|
+
/**
|
|
26
|
+
* @enum {number}
|
|
27
|
+
*/
|
|
28
|
+
proto.fintekkers.models.security.bond.AgencyProto = {
|
|
29
|
+
AGENCY_UNKNOWN: 0,
|
|
30
|
+
FNMA: 1,
|
|
31
|
+
FHLMC: 2,
|
|
32
|
+
GNMA: 3
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
goog.object.extend(exports, proto.fintekkers.models.security.bond);
|
|
@@ -10,6 +10,7 @@ import * as fintekkers_models_util_local_date_pb from "../../../fintekkers/model
|
|
|
10
10
|
import * as fintekkers_models_util_local_timestamp_pb from "../../../fintekkers/models/util/local_timestamp_pb";
|
|
11
11
|
import * as fintekkers_models_util_uuid_pb from "../../../fintekkers/models/util/uuid_pb";
|
|
12
12
|
import * as fintekkers_models_security_identifier_identifier_pb from "../../../fintekkers/models/security/identifier/identifier_pb";
|
|
13
|
+
import * as fintekkers_models_security_bond_agency_pb from "../../../fintekkers/models/security/bond/agency_pb";
|
|
13
14
|
import * as fintekkers_models_security_bond_issuance_pb from "../../../fintekkers/models/security/bond/issuance_pb";
|
|
14
15
|
import * as fintekkers_models_security_product_type_pb from "../../../fintekkers/models/security/product_type_pb";
|
|
15
16
|
import * as fintekkers_models_security_instrument_type_pb from "../../../fintekkers/models/security/instrument_type_pb";
|
|
@@ -111,6 +112,11 @@ export class SecurityProto extends jspb.Message {
|
|
|
111
112
|
getFxSpotDetails(): FxSpotDetailsProto | undefined;
|
|
112
113
|
setFxSpotDetails(value?: FxSpotDetailsProto): SecurityProto;
|
|
113
114
|
|
|
115
|
+
hasMbsExtension(): boolean;
|
|
116
|
+
clearMbsExtension(): void;
|
|
117
|
+
getMbsExtension(): MbsExtensionProto | undefined;
|
|
118
|
+
setMbsExtension(value?: MbsExtensionProto): SecurityProto;
|
|
119
|
+
|
|
114
120
|
getNonBondDetailsCase(): SecurityProto.NonBondDetailsCase;
|
|
115
121
|
|
|
116
122
|
serializeBinary(): Uint8Array;
|
|
@@ -149,6 +155,7 @@ export namespace SecurityProto {
|
|
|
149
155
|
equityDetails?: EquityDetailsProto.AsObject,
|
|
150
156
|
cashDetails?: CashDetailsProto.AsObject,
|
|
151
157
|
fxSpotDetails?: FxSpotDetailsProto.AsObject,
|
|
158
|
+
mbsExtension?: MbsExtensionProto.AsObject,
|
|
152
159
|
}
|
|
153
160
|
|
|
154
161
|
export enum NonBondDetailsCase {
|
|
@@ -280,6 +287,68 @@ export namespace FrnExtensionProto {
|
|
|
280
287
|
}
|
|
281
288
|
}
|
|
282
289
|
|
|
290
|
+
export class MbsExtensionProto extends jspb.Message {
|
|
291
|
+
getPoolNumber(): string;
|
|
292
|
+
setPoolNumber(value: string): MbsExtensionProto;
|
|
293
|
+
getAgency(): fintekkers_models_security_bond_agency_pb.AgencyProto;
|
|
294
|
+
setAgency(value: fintekkers_models_security_bond_agency_pb.AgencyProto): MbsExtensionProto;
|
|
295
|
+
|
|
296
|
+
hasWac(): boolean;
|
|
297
|
+
clearWac(): void;
|
|
298
|
+
getWac(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
299
|
+
setWac(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): MbsExtensionProto;
|
|
300
|
+
getWam(): number;
|
|
301
|
+
setWam(value: number): MbsExtensionProto;
|
|
302
|
+
|
|
303
|
+
hasPassThroughRate(): boolean;
|
|
304
|
+
clearPassThroughRate(): void;
|
|
305
|
+
getPassThroughRate(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
306
|
+
setPassThroughRate(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): MbsExtensionProto;
|
|
307
|
+
|
|
308
|
+
hasCurrentFactor(): boolean;
|
|
309
|
+
clearCurrentFactor(): void;
|
|
310
|
+
getCurrentFactor(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
311
|
+
setCurrentFactor(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): MbsExtensionProto;
|
|
312
|
+
|
|
313
|
+
hasOriginalFaceValue(): boolean;
|
|
314
|
+
clearOriginalFaceValue(): void;
|
|
315
|
+
getOriginalFaceValue(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
316
|
+
setOriginalFaceValue(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): MbsExtensionProto;
|
|
317
|
+
|
|
318
|
+
hasCurrentUpb(): boolean;
|
|
319
|
+
clearCurrentUpb(): void;
|
|
320
|
+
getCurrentUpb(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
321
|
+
setCurrentUpb(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): MbsExtensionProto;
|
|
322
|
+
|
|
323
|
+
hasPsaSpeed(): boolean;
|
|
324
|
+
clearPsaSpeed(): void;
|
|
325
|
+
getPsaSpeed(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
326
|
+
setPsaSpeed(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): MbsExtensionProto;
|
|
327
|
+
|
|
328
|
+
serializeBinary(): Uint8Array;
|
|
329
|
+
toObject(includeInstance?: boolean): MbsExtensionProto.AsObject;
|
|
330
|
+
static toObject(includeInstance: boolean, msg: MbsExtensionProto): MbsExtensionProto.AsObject;
|
|
331
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
332
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
333
|
+
static serializeBinaryToWriter(message: MbsExtensionProto, writer: jspb.BinaryWriter): void;
|
|
334
|
+
static deserializeBinary(bytes: Uint8Array): MbsExtensionProto;
|
|
335
|
+
static deserializeBinaryFromReader(message: MbsExtensionProto, reader: jspb.BinaryReader): MbsExtensionProto;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export namespace MbsExtensionProto {
|
|
339
|
+
export type AsObject = {
|
|
340
|
+
poolNumber: string,
|
|
341
|
+
agency: fintekkers_models_security_bond_agency_pb.AgencyProto,
|
|
342
|
+
wac?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
343
|
+
wam: number,
|
|
344
|
+
passThroughRate?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
345
|
+
currentFactor?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
346
|
+
originalFaceValue?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
347
|
+
currentUpb?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
348
|
+
psaSpeed?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
283
352
|
export class IndexDetailsProto extends jspb.Message {
|
|
284
353
|
getIndexType(): fintekkers_models_security_index_index_type_pb.IndexTypeProto;
|
|
285
354
|
setIndexType(value: fintekkers_models_security_index_index_type_pb.IndexTypeProto): IndexDetailsProto;
|