@fintekkers/ledger-models 0.1.62 → 0.1.64
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/.env +3 -0
- package/node/fintekkers/models/position/field_pb.d.ts +1 -0
- package/node/fintekkers/models/position/field_pb.js +1 -0
- package/node/fintekkers/models/security/bond/auction_type_grpc_pb.js +1 -0
- package/node/fintekkers/models/security/bond/auction_type_pb.d.ts +12 -0
- package/node/fintekkers/models/security/bond/auction_type_pb.js +33 -0
- package/node/fintekkers/models/security/bond/issuance_grpc_pb.js +1 -0
- package/node/fintekkers/models/security/bond/issuance_pb.d.ts +85 -0
- package/node/fintekkers/models/security/bond/issuance_pb.js +652 -0
- package/node/fintekkers/models/security/security_pb.d.ts +6 -0
- package/node/fintekkers/models/security/security_pb.js +64 -2
- package/node/wrappers/models/portfolio/portfolio.js +41 -0
- package/node/wrappers/models/portfolio/portfolio.js.map +1 -0
- package/node/wrappers/models/portfolio/portfolio.ts +49 -0
- package/node/wrappers/models/position/position.test.ts +1 -1
- package/node/wrappers/models/position/positionfilter.js +35 -0
- package/node/wrappers/models/position/positionfilter.js.map +1 -0
- package/node/wrappers/models/position/positionfilter.ts +38 -0
- package/node/wrappers/models/security/security.test.js +33 -0
- package/node/wrappers/models/security/security.test.js.map +1 -0
- package/node/wrappers/models/security/security.test.ts +41 -0
- package/node/wrappers/models/transaction/transaction.js +4 -3
- package/node/wrappers/models/transaction/transaction.js.map +1 -1
- package/node/wrappers/models/transaction/transaction.test.js.map +1 -1
- package/node/wrappers/models/transaction/transaction.test.ts +1 -5
- package/node/wrappers/models/transaction/transaction.ts +29 -29
- package/node/wrappers/models/utils/datetime.js +9 -0
- package/node/wrappers/models/utils/datetime.js.map +1 -1
- package/node/wrappers/models/utils/datetime.ts +16 -4
- package/node/wrappers/models/utils/serialization.js +8 -0
- package/node/wrappers/models/utils/serialization.js.map +1 -1
- package/node/wrappers/models/utils/serialization.ts +48 -40
- package/node/wrappers/models/utils/serialization.util.js +49 -17
- package/node/wrappers/models/utils/serialization.util.js.map +1 -1
- package/node/wrappers/models/utils/serialization.util.test.js +12 -0
- package/node/wrappers/models/utils/serialization.util.test.js.map +1 -1
- package/node/wrappers/models/utils/serialization.util.test.ts +18 -0
- package/node/wrappers/models/utils/serialization.util.ts +62 -26
- package/node/wrappers/services/portfolio-service/PortfolioService.js +5 -13
- package/node/wrappers/services/portfolio-service/PortfolioService.js.map +1 -1
- package/node/wrappers/services/portfolio-service/PortfolioService.ts +11 -23
- package/node/wrappers/services/portfolio-service/portfolio.test.js +30 -34
- package/node/wrappers/services/portfolio-service/portfolio.test.js.map +1 -1
- package/node/wrappers/services/portfolio-service/portfolio.test.ts +8 -12
- package/node/wrappers/services/position-service/position.test.js +9 -3
- package/node/wrappers/services/position-service/position.test.js.map +1 -1
- package/node/wrappers/services/position-service/position.test.ts +52 -49
- package/node/wrappers/services/security-service/SecurityService.js +14 -12
- package/node/wrappers/services/security-service/SecurityService.js.map +1 -1
- package/node/wrappers/services/security-service/SecurityService.ts +13 -16
- package/node/wrappers/services/security-service/security.maturityLadder.test.js +59 -0
- package/node/wrappers/services/security-service/security.maturityLadder.test.js.map +1 -0
- package/node/wrappers/services/security-service/security.maturityLadder.test.ts +39 -0
- package/node/wrappers/services/security-service/security.test.js +6 -2
- package/node/wrappers/services/security-service/security.test.js.map +1 -1
- package/node/wrappers/services/security-service/security.test.ts +7 -3
- package/node/wrappers/services/transaction-service/TransactionService.js +2 -9
- package/node/wrappers/services/transaction-service/TransactionService.js.map +1 -1
- package/node/wrappers/services/transaction-service/TransactionService.ts +8 -18
- package/node/wrappers/services/transaction-service/transaction.test.js +21 -5
- package/node/wrappers/services/transaction-service/transaction.test.js.map +1 -1
- package/node/wrappers/services/transaction-service/transaction.test.ts +32 -15
- package/package.json +1 -1
- package/web/fintekkers/models/position/field_pb.d.ts +1 -0
- package/web/fintekkers/models/position/field_pb.js +1 -0
- package/web/fintekkers/models/security/bond/auction_type_pb.d.ts +8 -0
- package/web/fintekkers/models/security/bond/auction_type_pb.js +27 -0
- package/web/fintekkers/models/security/bond/issuance_pb.d.ts +82 -0
- package/web/fintekkers/models/security/bond/issuance_pb.js +646 -0
- package/web/fintekkers/models/security/security_pb.d.ts +7 -0
- package/web/fintekkers/models/security/security_pb.js +64 -2
package/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// package: fintekkers.models.security.bond
|
|
2
|
+
// file: fintekkers/models/security/bond/auction_type.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
|
|
9
|
+
export enum AuctionTypeProto {
|
|
10
|
+
UNKNOWN_AUCTION_TYPE = 0,
|
|
11
|
+
SINGLE_PRICE = 1,
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// source: fintekkers/models/security/bond/auction_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.bond.AuctionTypeProto', null, global);
|
|
25
|
+
/**
|
|
26
|
+
* @enum {number}
|
|
27
|
+
*/
|
|
28
|
+
proto.fintekkers.models.security.bond.AuctionTypeProto = {
|
|
29
|
+
UNKNOWN_AUCTION_TYPE: 0,
|
|
30
|
+
SINGLE_PRICE: 1
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
goog.object.extend(exports, proto.fintekkers.models.security.bond);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// package: fintekkers.models.security.bond
|
|
2
|
+
// file: fintekkers/models/security/bond/issuance.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as fintekkers_models_security_bond_auction_type_pb from "../../../../fintekkers/models/security/bond/auction_type_pb";
|
|
9
|
+
import * as fintekkers_models_util_decimal_value_pb from "../../../../fintekkers/models/util/decimal_value_pb";
|
|
10
|
+
import * as fintekkers_models_util_local_date_pb from "../../../../fintekkers/models/util/local_date_pb";
|
|
11
|
+
import * as fintekkers_models_util_local_timestamp_pb from "../../../../fintekkers/models/util/local_timestamp_pb";
|
|
12
|
+
|
|
13
|
+
export class IssuanceProto extends jspb.Message {
|
|
14
|
+
getObjectClass(): string;
|
|
15
|
+
setObjectClass(value: string): IssuanceProto;
|
|
16
|
+
getVersion(): string;
|
|
17
|
+
setVersion(value: string): IssuanceProto;
|
|
18
|
+
|
|
19
|
+
hasAsOf(): boolean;
|
|
20
|
+
clearAsOf(): void;
|
|
21
|
+
getAsOf(): fintekkers_models_util_local_timestamp_pb.LocalTimestampProto | undefined;
|
|
22
|
+
setAsOf(value?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto): IssuanceProto;
|
|
23
|
+
|
|
24
|
+
hasValidFrom(): boolean;
|
|
25
|
+
clearValidFrom(): void;
|
|
26
|
+
getValidFrom(): fintekkers_models_util_local_timestamp_pb.LocalTimestampProto | undefined;
|
|
27
|
+
setValidFrom(value?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto): IssuanceProto;
|
|
28
|
+
|
|
29
|
+
hasValidTo(): boolean;
|
|
30
|
+
clearValidTo(): void;
|
|
31
|
+
getValidTo(): fintekkers_models_util_local_timestamp_pb.LocalTimestampProto | undefined;
|
|
32
|
+
setValidTo(value?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto): IssuanceProto;
|
|
33
|
+
|
|
34
|
+
hasAuctionAnnouncementDate(): boolean;
|
|
35
|
+
clearAuctionAnnouncementDate(): void;
|
|
36
|
+
getAuctionAnnouncementDate(): fintekkers_models_util_local_date_pb.LocalDateProto | undefined;
|
|
37
|
+
setAuctionAnnouncementDate(value?: fintekkers_models_util_local_date_pb.LocalDateProto): IssuanceProto;
|
|
38
|
+
|
|
39
|
+
hasAuctionIssueDate(): boolean;
|
|
40
|
+
clearAuctionIssueDate(): void;
|
|
41
|
+
getAuctionIssueDate(): fintekkers_models_util_local_date_pb.LocalDateProto | undefined;
|
|
42
|
+
setAuctionIssueDate(value?: fintekkers_models_util_local_date_pb.LocalDateProto): IssuanceProto;
|
|
43
|
+
|
|
44
|
+
hasPreauctionOutstandingQuantity(): boolean;
|
|
45
|
+
clearPreauctionOutstandingQuantity(): void;
|
|
46
|
+
getPreauctionOutstandingQuantity(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
47
|
+
setPreauctionOutstandingQuantity(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): IssuanceProto;
|
|
48
|
+
|
|
49
|
+
hasAuctionOfferingAmount(): boolean;
|
|
50
|
+
clearAuctionOfferingAmount(): void;
|
|
51
|
+
getAuctionOfferingAmount(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
52
|
+
setAuctionOfferingAmount(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): IssuanceProto;
|
|
53
|
+
getAuctionType(): fintekkers_models_security_bond_auction_type_pb.AuctionTypeProto;
|
|
54
|
+
setAuctionType(value: fintekkers_models_security_bond_auction_type_pb.AuctionTypeProto): IssuanceProto;
|
|
55
|
+
|
|
56
|
+
hasPriceForSinglePriceAuction(): boolean;
|
|
57
|
+
clearPriceForSinglePriceAuction(): void;
|
|
58
|
+
getPriceForSinglePriceAuction(): fintekkers_models_util_decimal_value_pb.DecimalValueProto | undefined;
|
|
59
|
+
setPriceForSinglePriceAuction(value?: fintekkers_models_util_decimal_value_pb.DecimalValueProto): IssuanceProto;
|
|
60
|
+
|
|
61
|
+
serializeBinary(): Uint8Array;
|
|
62
|
+
toObject(includeInstance?: boolean): IssuanceProto.AsObject;
|
|
63
|
+
static toObject(includeInstance: boolean, msg: IssuanceProto): IssuanceProto.AsObject;
|
|
64
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
65
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
66
|
+
static serializeBinaryToWriter(message: IssuanceProto, writer: jspb.BinaryWriter): void;
|
|
67
|
+
static deserializeBinary(bytes: Uint8Array): IssuanceProto;
|
|
68
|
+
static deserializeBinaryFromReader(message: IssuanceProto, reader: jspb.BinaryReader): IssuanceProto;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export namespace IssuanceProto {
|
|
72
|
+
export type AsObject = {
|
|
73
|
+
objectClass: string,
|
|
74
|
+
version: string,
|
|
75
|
+
asOf?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.AsObject,
|
|
76
|
+
validFrom?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.AsObject,
|
|
77
|
+
validTo?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.AsObject,
|
|
78
|
+
auctionAnnouncementDate?: fintekkers_models_util_local_date_pb.LocalDateProto.AsObject,
|
|
79
|
+
auctionIssueDate?: fintekkers_models_util_local_date_pb.LocalDateProto.AsObject,
|
|
80
|
+
preauctionOutstandingQuantity?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
81
|
+
auctionOfferingAmount?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
82
|
+
auctionType: fintekkers_models_security_bond_auction_type_pb.AuctionTypeProto,
|
|
83
|
+
priceForSinglePriceAuction?: fintekkers_models_util_decimal_value_pb.DecimalValueProto.AsObject,
|
|
84
|
+
}
|
|
85
|
+
}
|