@fintekkers/ledger-models 0.1.61 → 0.1.63
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/fintekkers/requests/transaction/query_transaction_request_pb.d.ts +3 -0
- package/node/fintekkers/requests/transaction/query_transaction_request_pb.js +31 -1
- package/node/fintekkers/requests/transaction/query_transaction_response_pb.d.ts +7 -0
- package/node/fintekkers/requests/transaction/query_transaction_response_pb.js +54 -1
- 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.js +14 -9
- package/node/wrappers/models/position/position.js.map +1 -1
- package/node/wrappers/models/position/position.test.js +43 -0
- package/node/wrappers/models/position/position.test.js.map +1 -0
- package/node/wrappers/models/position/position.test.ts +70 -0
- package/node/wrappers/models/position/position.ts +17 -10
- 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 +6 -5
- 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 -6
- package/node/wrappers/models/transaction/transaction.ts +31 -31
- package/node/wrappers/models/transaction/transaction_type.js +0 -1
- package/node/wrappers/models/transaction/transaction_type.js.map +1 -1
- package/node/wrappers/models/transaction/transaction_type.ts +1 -1
- 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/requestcontext.js +55 -0
- package/node/wrappers/models/utils/requestcontext.js.map +1 -0
- package/node/wrappers/models/utils/requestcontext.ts +44 -0
- package/node/wrappers/models/utils/requestcontext_d.js +1 -0
- package/node/wrappers/models/utils/requestcontext_d.js.map +1 -0
- package/node/wrappers/models/utils/requestcontext_d.ts +7 -0
- package/node/wrappers/models/utils/serialization.js +14 -4
- package/node/wrappers/models/utils/serialization.js.map +1 -1
- package/node/wrappers/models/utils/serialization.test.js +8 -9
- package/node/wrappers/models/utils/serialization.test.js.map +1 -1
- package/node/wrappers/models/utils/serialization.test.ts +8 -10
- package/node/wrappers/models/utils/serialization.ts +46 -38
- package/node/wrappers/models/utils/serialization.util.js +108 -0
- package/node/wrappers/models/utils/serialization.util.js.map +1 -0
- package/node/wrappers/models/utils/serialization.util.test.js +36 -0
- package/node/wrappers/models/utils/serialization.util.test.js.map +1 -0
- package/node/wrappers/models/utils/serialization.util.test.ts +47 -0
- package/node/wrappers/models/utils/serialization.util.ts +121 -0
- package/node/wrappers/services/portfolio-service/PortfolioService.js +8 -16
- package/node/wrappers/services/portfolio-service/PortfolioService.js.map +1 -1
- package/node/wrappers/services/portfolio-service/PortfolioService.ts +14 -24
- 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 +9 -13
- package/node/wrappers/services/position-service/PositionService.js +4 -3
- package/node/wrappers/services/position-service/PositionService.js.map +1 -1
- package/node/wrappers/services/position-service/PositionService.ts +4 -19
- package/node/wrappers/services/position-service/position.test.js +24 -9
- package/node/wrappers/services/position-service/position.test.js.map +1 -1
- package/node/wrappers/services/position-service/position.test.ts +57 -51
- package/node/wrappers/services/security-service/SecurityService.js +16 -15
- package/node/wrappers/services/security-service/SecurityService.js.map +1 -1
- package/node/wrappers/services/security-service/SecurityService.ts +15 -18
- 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 +19 -7
- package/node/wrappers/services/security-service/security.test.js.map +1 -1
- package/node/wrappers/services/security-service/security.test.ts +11 -7
- package/node/wrappers/services/transaction-service/TransactionService.js +34 -47
- package/node/wrappers/services/transaction-service/TransactionService.js.map +1 -1
- package/node/wrappers/services/transaction-service/TransactionService.ts +16 -23
- package/node/wrappers/services/transaction-service/transaction.test.js +45 -12
- package/node/wrappers/services/transaction-service/transaction.test.js.map +1 -1
- package/node/wrappers/services/transaction-service/transaction.test.ts +48 -21
- package/package.json +2 -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/web/fintekkers/requests/transaction/query_transaction_request_pb.d.ts +4 -0
- package/web/fintekkers/requests/transaction/query_transaction_request_pb.js +31 -1
- package/web/fintekkers/requests/transaction/query_transaction_response_pb.d.ts +7 -0
- package/web/fintekkers/requests/transaction/query_transaction_response_pb.js +54 -1
- package/node/wrappers/models/utils/util.js +0 -28
- package/node/wrappers/models/utils/util.js.map +0 -1
- package/node/wrappers/models/utils/util.ts +0 -28
|
@@ -25,6 +25,8 @@ var fintekkers_models_util_uuid_pb = require('../../../fintekkers/models/util/uu
|
|
|
25
25
|
goog.object.extend(proto, fintekkers_models_util_uuid_pb);
|
|
26
26
|
var fintekkers_models_security_identifier_identifier_pb = require('../../../fintekkers/models/security/identifier/identifier_pb.js');
|
|
27
27
|
goog.object.extend(proto, fintekkers_models_security_identifier_identifier_pb);
|
|
28
|
+
var fintekkers_models_security_bond_issuance_pb = require('../../../fintekkers/models/security/bond/issuance_pb.js');
|
|
29
|
+
goog.object.extend(proto, fintekkers_models_security_bond_issuance_pb);
|
|
28
30
|
var fintekkers_models_security_security_type_pb = require('../../../fintekkers/models/security/security_type_pb.js');
|
|
29
31
|
goog.object.extend(proto, fintekkers_models_security_security_type_pb);
|
|
30
32
|
var fintekkers_models_security_security_quantity_type_pb = require('../../../fintekkers/models/security/security_quantity_type_pb.js');
|
|
@@ -45,7 +47,7 @@ goog.exportSymbol('proto.fintekkers.models.security.SecurityProto', null, global
|
|
|
45
47
|
* @constructor
|
|
46
48
|
*/
|
|
47
49
|
proto.fintekkers.models.security.SecurityProto = function(opt_data) {
|
|
48
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
50
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.models.security.SecurityProto.repeatedFields_, null);
|
|
49
51
|
};
|
|
50
52
|
goog.inherits(proto.fintekkers.models.security.SecurityProto, jspb.Message);
|
|
51
53
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -56,6 +58,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
56
58
|
proto.fintekkers.models.security.SecurityProto.displayName = 'proto.fintekkers.models.security.SecurityProto';
|
|
57
59
|
}
|
|
58
60
|
|
|
61
|
+
/**
|
|
62
|
+
* List of repeated fields within this message type.
|
|
63
|
+
* @private {!Array<number>}
|
|
64
|
+
* @const
|
|
65
|
+
*/
|
|
66
|
+
proto.fintekkers.models.security.SecurityProto.repeatedFields_ = [67];
|
|
67
|
+
|
|
59
68
|
|
|
60
69
|
|
|
61
70
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -108,7 +117,9 @@ proto.fintekkers.models.security.SecurityProto.toObject = function(includeInstan
|
|
|
108
117
|
datedDate: (f = msg.getDatedDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
109
118
|
faceValue: (f = msg.getFaceValue()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
110
119
|
issueDate: (f = msg.getIssueDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
111
|
-
maturityDate: (f = msg.getMaturityDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f)
|
|
120
|
+
maturityDate: (f = msg.getMaturityDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
121
|
+
issuanceInfoList: jspb.Message.toObjectList(msg.getIssuanceInfoList(),
|
|
122
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.toObject, includeInstance)
|
|
112
123
|
};
|
|
113
124
|
|
|
114
125
|
if (includeInstance) {
|
|
@@ -244,6 +255,11 @@ proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader = fun
|
|
|
244
255
|
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
245
256
|
msg.setMaturityDate(value);
|
|
246
257
|
break;
|
|
258
|
+
case 67:
|
|
259
|
+
var value = new fintekkers_models_security_bond_issuance_pb.IssuanceProto;
|
|
260
|
+
reader.readMessage(value,fintekkers_models_security_bond_issuance_pb.IssuanceProto.deserializeBinaryFromReader);
|
|
261
|
+
msg.addIssuanceInfo(value);
|
|
262
|
+
break;
|
|
247
263
|
default:
|
|
248
264
|
reader.skipField();
|
|
249
265
|
break;
|
|
@@ -438,6 +454,14 @@ proto.fintekkers.models.security.SecurityProto.serializeBinaryToWriter = functio
|
|
|
438
454
|
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
439
455
|
);
|
|
440
456
|
}
|
|
457
|
+
f = message.getIssuanceInfoList();
|
|
458
|
+
if (f.length > 0) {
|
|
459
|
+
writer.writeRepeatedMessage(
|
|
460
|
+
67,
|
|
461
|
+
f,
|
|
462
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.serializeBinaryToWriter
|
|
463
|
+
);
|
|
464
|
+
}
|
|
441
465
|
};
|
|
442
466
|
|
|
443
467
|
|
|
@@ -1046,4 +1070,42 @@ proto.fintekkers.models.security.SecurityProto.prototype.hasMaturityDate = funct
|
|
|
1046
1070
|
};
|
|
1047
1071
|
|
|
1048
1072
|
|
|
1073
|
+
/**
|
|
1074
|
+
* repeated bond.IssuanceProto issuance_info = 67;
|
|
1075
|
+
* @return {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>}
|
|
1076
|
+
*/
|
|
1077
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getIssuanceInfoList = function() {
|
|
1078
|
+
return /** @type{!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} */ (
|
|
1079
|
+
jspb.Message.getRepeatedWrapperField(this, fintekkers_models_security_bond_issuance_pb.IssuanceProto, 67));
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* @param {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} value
|
|
1085
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1086
|
+
*/
|
|
1087
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setIssuanceInfoList = function(value) {
|
|
1088
|
+
return jspb.Message.setRepeatedWrapperField(this, 67, value);
|
|
1089
|
+
};
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* @param {!proto.fintekkers.models.security.bond.IssuanceProto=} opt_value
|
|
1094
|
+
* @param {number=} opt_index
|
|
1095
|
+
* @return {!proto.fintekkers.models.security.bond.IssuanceProto}
|
|
1096
|
+
*/
|
|
1097
|
+
proto.fintekkers.models.security.SecurityProto.prototype.addIssuanceInfo = function(opt_value, opt_index) {
|
|
1098
|
+
return jspb.Message.addToRepeatedWrapperField(this, 67, opt_value, proto.fintekkers.models.security.bond.IssuanceProto, opt_index);
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* Clears the list making it empty but non-null.
|
|
1104
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1105
|
+
*/
|
|
1106
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearIssuanceInfoList = function() {
|
|
1107
|
+
return this.setIssuanceInfoList([]);
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
|
|
1049
1111
|
goog.object.extend(exports, proto.fintekkers.models.security);
|
|
@@ -27,6 +27,9 @@ export class QueryTransactionRequestProto extends jspb.Message {
|
|
|
27
27
|
hasAsOf(): boolean;
|
|
28
28
|
clearAsOf(): QueryTransactionRequestProto;
|
|
29
29
|
|
|
30
|
+
getLimit(): number;
|
|
31
|
+
setLimit(value: number): QueryTransactionRequestProto;
|
|
32
|
+
|
|
30
33
|
serializeBinary(): Uint8Array;
|
|
31
34
|
toObject(includeInstance?: boolean): QueryTransactionRequestProto.AsObject;
|
|
32
35
|
static toObject(includeInstance: boolean, msg: QueryTransactionRequestProto): QueryTransactionRequestProto.AsObject;
|
|
@@ -42,6 +45,7 @@ export namespace QueryTransactionRequestProto {
|
|
|
42
45
|
uuidsList: Array<fintekkers_models_util_uuid_pb.UUIDProto.AsObject>,
|
|
43
46
|
searchTransactionInput?: fintekkers_models_position_position_filter_pb.PositionFilterProto.AsObject,
|
|
44
47
|
asOf?: fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.AsObject,
|
|
48
|
+
limit: number,
|
|
45
49
|
}
|
|
46
50
|
}
|
|
47
51
|
|
|
@@ -87,7 +87,8 @@ proto.fintekkers.requests.transaction.QueryTransactionRequestProto.toObject = fu
|
|
|
87
87
|
uuidsList: jspb.Message.toObjectList(msg.getUuidsList(),
|
|
88
88
|
fintekkers_models_util_uuid_pb.UUIDProto.toObject, includeInstance),
|
|
89
89
|
searchTransactionInput: (f = msg.getSearchTransactionInput()) && fintekkers_models_position_position_filter_pb.PositionFilterProto.toObject(includeInstance, f),
|
|
90
|
-
asOf: (f = msg.getAsOf()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f)
|
|
90
|
+
asOf: (f = msg.getAsOf()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
|
|
91
|
+
limit: jspb.Message.getFieldWithDefault(msg, 24, 0)
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
if (includeInstance) {
|
|
@@ -147,6 +148,10 @@ proto.fintekkers.requests.transaction.QueryTransactionRequestProto.deserializeBi
|
|
|
147
148
|
reader.readMessage(value,fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.deserializeBinaryFromReader);
|
|
148
149
|
msg.setAsOf(value);
|
|
149
150
|
break;
|
|
151
|
+
case 24:
|
|
152
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
153
|
+
msg.setLimit(value);
|
|
154
|
+
break;
|
|
150
155
|
default:
|
|
151
156
|
reader.skipField();
|
|
152
157
|
break;
|
|
@@ -214,6 +219,13 @@ proto.fintekkers.requests.transaction.QueryTransactionRequestProto.serializeBina
|
|
|
214
219
|
fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.serializeBinaryToWriter
|
|
215
220
|
);
|
|
216
221
|
}
|
|
222
|
+
f = message.getLimit();
|
|
223
|
+
if (f !== 0) {
|
|
224
|
+
writer.writeInt32(
|
|
225
|
+
24,
|
|
226
|
+
f
|
|
227
|
+
);
|
|
228
|
+
}
|
|
217
229
|
};
|
|
218
230
|
|
|
219
231
|
|
|
@@ -365,4 +377,22 @@ proto.fintekkers.requests.transaction.QueryTransactionRequestProto.prototype.has
|
|
|
365
377
|
};
|
|
366
378
|
|
|
367
379
|
|
|
380
|
+
/**
|
|
381
|
+
* optional int32 limit = 24;
|
|
382
|
+
* @return {number}
|
|
383
|
+
*/
|
|
384
|
+
proto.fintekkers.requests.transaction.QueryTransactionRequestProto.prototype.getLimit = function() {
|
|
385
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @param {number} value
|
|
391
|
+
* @return {!proto.fintekkers.requests.transaction.QueryTransactionRequestProto} returns this
|
|
392
|
+
*/
|
|
393
|
+
proto.fintekkers.requests.transaction.QueryTransactionRequestProto.prototype.setLimit = function(value) {
|
|
394
|
+
return jspb.Message.setProto3IntField(this, 24, value);
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
|
|
368
398
|
goog.object.extend(exports, proto.fintekkers.requests.transaction);
|
|
@@ -2,6 +2,7 @@ import * as jspb from 'google-protobuf'
|
|
|
2
2
|
|
|
3
3
|
import * as fintekkers_models_transaction_transaction_pb from '../../../fintekkers/models/transaction/transaction_pb';
|
|
4
4
|
import * as fintekkers_requests_transaction_query_transaction_request_pb from '../../../fintekkers/requests/transaction/query_transaction_request_pb';
|
|
5
|
+
import * as fintekkers_requests_util_errors_summary_pb from '../../../fintekkers/requests/util/errors/summary_pb';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
export class QueryTransactionResponseProto extends jspb.Message {
|
|
@@ -21,6 +22,11 @@ export class QueryTransactionResponseProto extends jspb.Message {
|
|
|
21
22
|
clearTransactionResponseList(): QueryTransactionResponseProto;
|
|
22
23
|
addTransactionResponse(value?: fintekkers_models_transaction_transaction_pb.TransactionProto, index?: number): fintekkers_models_transaction_transaction_pb.TransactionProto;
|
|
23
24
|
|
|
25
|
+
getErrorsOrWarnings(): fintekkers_requests_util_errors_summary_pb.SummaryProto | undefined;
|
|
26
|
+
setErrorsOrWarnings(value?: fintekkers_requests_util_errors_summary_pb.SummaryProto): QueryTransactionResponseProto;
|
|
27
|
+
hasErrorsOrWarnings(): boolean;
|
|
28
|
+
clearErrorsOrWarnings(): QueryTransactionResponseProto;
|
|
29
|
+
|
|
24
30
|
serializeBinary(): Uint8Array;
|
|
25
31
|
toObject(includeInstance?: boolean): QueryTransactionResponseProto.AsObject;
|
|
26
32
|
static toObject(includeInstance: boolean, msg: QueryTransactionResponseProto): QueryTransactionResponseProto.AsObject;
|
|
@@ -35,6 +41,7 @@ export namespace QueryTransactionResponseProto {
|
|
|
35
41
|
version: string,
|
|
36
42
|
createTransactionRequest?: fintekkers_requests_transaction_query_transaction_request_pb.QueryTransactionRequestProto.AsObject,
|
|
37
43
|
transactionResponseList: Array<fintekkers_models_transaction_transaction_pb.TransactionProto.AsObject>,
|
|
44
|
+
errorsOrWarnings?: fintekkers_requests_util_errors_summary_pb.SummaryProto.AsObject,
|
|
38
45
|
}
|
|
39
46
|
}
|
|
40
47
|
|
|
@@ -19,6 +19,8 @@ var fintekkers_models_transaction_transaction_pb = require('../../../fintekkers/
|
|
|
19
19
|
goog.object.extend(proto, fintekkers_models_transaction_transaction_pb);
|
|
20
20
|
var fintekkers_requests_transaction_query_transaction_request_pb = require('../../../fintekkers/requests/transaction/query_transaction_request_pb.js');
|
|
21
21
|
goog.object.extend(proto, fintekkers_requests_transaction_query_transaction_request_pb);
|
|
22
|
+
var fintekkers_requests_util_errors_summary_pb = require('../../../fintekkers/requests/util/errors/summary_pb.js');
|
|
23
|
+
goog.object.extend(proto, fintekkers_requests_util_errors_summary_pb);
|
|
22
24
|
goog.exportSymbol('proto.fintekkers.requests.transaction.QueryTransactionResponseProto', null, global);
|
|
23
25
|
/**
|
|
24
26
|
* Generated by JsPbCodeGenerator.
|
|
@@ -84,7 +86,8 @@ proto.fintekkers.requests.transaction.QueryTransactionResponseProto.toObject = f
|
|
|
84
86
|
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85
87
|
createTransactionRequest: (f = msg.getCreateTransactionRequest()) && fintekkers_requests_transaction_query_transaction_request_pb.QueryTransactionRequestProto.toObject(includeInstance, f),
|
|
86
88
|
transactionResponseList: jspb.Message.toObjectList(msg.getTransactionResponseList(),
|
|
87
|
-
fintekkers_models_transaction_transaction_pb.TransactionProto.toObject, includeInstance)
|
|
89
|
+
fintekkers_models_transaction_transaction_pb.TransactionProto.toObject, includeInstance),
|
|
90
|
+
errorsOrWarnings: (f = msg.getErrorsOrWarnings()) && fintekkers_requests_util_errors_summary_pb.SummaryProto.toObject(includeInstance, f)
|
|
88
91
|
};
|
|
89
92
|
|
|
90
93
|
if (includeInstance) {
|
|
@@ -139,6 +142,11 @@ proto.fintekkers.requests.transaction.QueryTransactionResponseProto.deserializeB
|
|
|
139
142
|
reader.readMessage(value,fintekkers_models_transaction_transaction_pb.TransactionProto.deserializeBinaryFromReader);
|
|
140
143
|
msg.addTransactionResponse(value);
|
|
141
144
|
break;
|
|
145
|
+
case 40:
|
|
146
|
+
var value = new fintekkers_requests_util_errors_summary_pb.SummaryProto;
|
|
147
|
+
reader.readMessage(value,fintekkers_requests_util_errors_summary_pb.SummaryProto.deserializeBinaryFromReader);
|
|
148
|
+
msg.setErrorsOrWarnings(value);
|
|
149
|
+
break;
|
|
142
150
|
default:
|
|
143
151
|
reader.skipField();
|
|
144
152
|
break;
|
|
@@ -198,6 +206,14 @@ proto.fintekkers.requests.transaction.QueryTransactionResponseProto.serializeBin
|
|
|
198
206
|
fintekkers_models_transaction_transaction_pb.TransactionProto.serializeBinaryToWriter
|
|
199
207
|
);
|
|
200
208
|
}
|
|
209
|
+
f = message.getErrorsOrWarnings();
|
|
210
|
+
if (f != null) {
|
|
211
|
+
writer.writeMessage(
|
|
212
|
+
40,
|
|
213
|
+
f,
|
|
214
|
+
fintekkers_requests_util_errors_summary_pb.SummaryProto.serializeBinaryToWriter
|
|
215
|
+
);
|
|
216
|
+
}
|
|
201
217
|
};
|
|
202
218
|
|
|
203
219
|
|
|
@@ -312,4 +328,41 @@ proto.fintekkers.requests.transaction.QueryTransactionResponseProto.prototype.cl
|
|
|
312
328
|
};
|
|
313
329
|
|
|
314
330
|
|
|
331
|
+
/**
|
|
332
|
+
* optional fintekkers.requests.util.errors.SummaryProto errors_or_warnings = 40;
|
|
333
|
+
* @return {?proto.fintekkers.requests.util.errors.SummaryProto}
|
|
334
|
+
*/
|
|
335
|
+
proto.fintekkers.requests.transaction.QueryTransactionResponseProto.prototype.getErrorsOrWarnings = function() {
|
|
336
|
+
return /** @type{?proto.fintekkers.requests.util.errors.SummaryProto} */ (
|
|
337
|
+
jspb.Message.getWrapperField(this, fintekkers_requests_util_errors_summary_pb.SummaryProto, 40));
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @param {?proto.fintekkers.requests.util.errors.SummaryProto|undefined} value
|
|
343
|
+
* @return {!proto.fintekkers.requests.transaction.QueryTransactionResponseProto} returns this
|
|
344
|
+
*/
|
|
345
|
+
proto.fintekkers.requests.transaction.QueryTransactionResponseProto.prototype.setErrorsOrWarnings = function(value) {
|
|
346
|
+
return jspb.Message.setWrapperField(this, 40, value);
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Clears the message field making it undefined.
|
|
352
|
+
* @return {!proto.fintekkers.requests.transaction.QueryTransactionResponseProto} returns this
|
|
353
|
+
*/
|
|
354
|
+
proto.fintekkers.requests.transaction.QueryTransactionResponseProto.prototype.clearErrorsOrWarnings = function() {
|
|
355
|
+
return this.setErrorsOrWarnings(undefined);
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Returns whether this field is set.
|
|
361
|
+
* @return {boolean}
|
|
362
|
+
*/
|
|
363
|
+
proto.fintekkers.requests.transaction.QueryTransactionResponseProto.prototype.hasErrorsOrWarnings = function() {
|
|
364
|
+
return jspb.Message.getField(this, 40) != null;
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
|
|
315
368
|
goog.object.extend(exports, proto.fintekkers.requests.transaction);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createFieldMapEntry = exports.packStringIntoAny = void 0;
|
|
4
|
-
var position_util_pb_1 = require("../../../fintekkers/models/position/position_util_pb");
|
|
5
|
-
var any_pb_1 = require("google-protobuf/google/protobuf/any_pb");
|
|
6
|
-
var wrappers_pb_1 = require("google-protobuf/google/protobuf/wrappers_pb");
|
|
7
|
-
function packStringIntoAny(inputString) {
|
|
8
|
-
// First, create a StringValue wrapper around the string
|
|
9
|
-
var stringValue = new wrappers_pb_1.StringValue();
|
|
10
|
-
stringValue.setValue(inputString);
|
|
11
|
-
// Next, create an Any message and pack the StringValue into it
|
|
12
|
-
var anyMessage = new any_pb_1.Any();
|
|
13
|
-
anyMessage.pack(stringValue.serializeBinary(), 'type.googleapis.com/google.protobuf.StringValue');
|
|
14
|
-
return anyMessage;
|
|
15
|
-
}
|
|
16
|
-
exports.packStringIntoAny = packStringIntoAny;
|
|
17
|
-
/**
|
|
18
|
-
* @param {*} field FieldProto.ASSET_CLASS, as an example
|
|
19
|
-
* @param {*} fieldValue The appropriate value for the FieldProto, e.g. FieldProto.ASSET_CLASS would have a string fieldValue
|
|
20
|
-
*/
|
|
21
|
-
function createFieldMapEntry(field, fieldValue) {
|
|
22
|
-
var fieldMapEntry = new position_util_pb_1.FieldMapEntry();
|
|
23
|
-
fieldMapEntry.setField(field); //FieldProto.ASSET_CLASS);
|
|
24
|
-
fieldMapEntry.setFieldValuePacked(packStringIntoAny(fieldValue)); //"Cash"));
|
|
25
|
-
return fieldMapEntry;
|
|
26
|
-
}
|
|
27
|
-
exports.createFieldMapEntry = createFieldMapEntry;
|
|
28
|
-
//# sourceMappingURL=util.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";;;AAAA,yFAAqF;AACrF,iEAA6D;AAC7D,2EAA0E;AAE1E,SAAS,iBAAiB,CAAC,WAAmB;IAC5C,wDAAwD;IACxD,IAAM,WAAW,GAAG,IAAI,yBAAW,EAAE,CAAC;IACtC,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAElC,+DAA+D;IAC/D,IAAM,UAAU,GAAG,IAAI,YAAG,EAAE,CAAC;IAC7B,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,EAAE,EAAE,iDAAiD,CAAC,CAAC;IAElG,OAAO,UAAU,CAAC;AACpB,CAAC;AAaQ,8CAAiB;AAX1B;;;GAGG;AACH,SAAS,mBAAmB,CAAC,KAAa,EAAE,UAAkB;IAC5D,IAAM,aAAa,GAAG,IAAI,gCAAa,EAAE,CAAC;IAC1C,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,0BAA0B;IACzD,aAAa,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,WAAW;IAC7E,OAAO,aAAa,CAAC;AACvB,CAAC;AAE2B,kDAAmB"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FieldMapEntry } from '../../../fintekkers/models/position/position_util_pb';
|
|
2
|
-
import { Any } from 'google-protobuf/google/protobuf/any_pb';
|
|
3
|
-
import { StringValue } from 'google-protobuf/google/protobuf/wrappers_pb';
|
|
4
|
-
|
|
5
|
-
function packStringIntoAny(inputString: string): Any {
|
|
6
|
-
// First, create a StringValue wrapper around the string
|
|
7
|
-
const stringValue = new StringValue();
|
|
8
|
-
stringValue.setValue(inputString);
|
|
9
|
-
|
|
10
|
-
// Next, create an Any message and pack the StringValue into it
|
|
11
|
-
const anyMessage = new Any();
|
|
12
|
-
anyMessage.pack(stringValue.serializeBinary(), 'type.googleapis.com/google.protobuf.StringValue');
|
|
13
|
-
|
|
14
|
-
return anyMessage;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @param {*} field FieldProto.ASSET_CLASS, as an example
|
|
19
|
-
* @param {*} fieldValue The appropriate value for the FieldProto, e.g. FieldProto.ASSET_CLASS would have a string fieldValue
|
|
20
|
-
*/
|
|
21
|
-
function createFieldMapEntry(field: number, fieldValue: string): FieldMapEntry {
|
|
22
|
-
const fieldMapEntry = new FieldMapEntry();
|
|
23
|
-
fieldMapEntry.setField(field); //FieldProto.ASSET_CLASS);
|
|
24
|
-
fieldMapEntry.setFieldValuePacked(packStringIntoAny(fieldValue)); //"Cash"));
|
|
25
|
-
return fieldMapEntry;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export { packStringIntoAny, createFieldMapEntry };
|