@fintekkers/ledger-models 0.1.92 → 0.1.93
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/requests/security/get_fields_response_pb.d.ts +36 -0
- package/node/fintekkers/services/security-service/security_service_grpc_pb.d.ts +19 -0
- package/node/fintekkers/services/security-service/security_service_grpc_pb.js +35 -0
- package/node/fintekkers/services/security-service/security_service_pb.d.ts +2 -0
- package/node/fintekkers/services/security-service/security_service_pb.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// package: fintekkers.requests.security
|
|
2
|
+
// file: fintekkers/requests/security/get_fields_response.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as fintekkers_models_position_field_pb from "../../../fintekkers/models/position/field_pb";
|
|
9
|
+
|
|
10
|
+
export class GetFieldsResponseProto extends jspb.Message {
|
|
11
|
+
getObjectClass(): string;
|
|
12
|
+
setObjectClass(value: string): GetFieldsResponseProto;
|
|
13
|
+
getVersion(): string;
|
|
14
|
+
setVersion(value: string): GetFieldsResponseProto;
|
|
15
|
+
clearFieldsList(): void;
|
|
16
|
+
getFieldsList(): Array<fintekkers_models_position_field_pb.FieldProto>;
|
|
17
|
+
setFieldsList(value: Array<fintekkers_models_position_field_pb.FieldProto>): GetFieldsResponseProto;
|
|
18
|
+
addFields(value: fintekkers_models_position_field_pb.FieldProto, index?: number): fintekkers_models_position_field_pb.FieldProto;
|
|
19
|
+
|
|
20
|
+
serializeBinary(): Uint8Array;
|
|
21
|
+
toObject(includeInstance?: boolean): GetFieldsResponseProto.AsObject;
|
|
22
|
+
static toObject(includeInstance: boolean, msg: GetFieldsResponseProto): GetFieldsResponseProto.AsObject;
|
|
23
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
24
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
25
|
+
static serializeBinaryToWriter(message: GetFieldsResponseProto, writer: jspb.BinaryWriter): void;
|
|
26
|
+
static deserializeBinary(bytes: Uint8Array): GetFieldsResponseProto;
|
|
27
|
+
static deserializeBinaryFromReader(message: GetFieldsResponseProto, reader: jspb.BinaryReader): GetFieldsResponseProto;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export namespace GetFieldsResponseProto {
|
|
31
|
+
export type AsObject = {
|
|
32
|
+
objectClass: string,
|
|
33
|
+
version: string,
|
|
34
|
+
fieldsList: Array<fintekkers_models_position_field_pb.FieldProto>,
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -10,7 +10,9 @@ import * as fintekkers_requests_security_query_security_request_pb from "../../.
|
|
|
10
10
|
import * as fintekkers_requests_security_query_security_response_pb from "../../../fintekkers/requests/security/query_security_response_pb";
|
|
11
11
|
import * as fintekkers_requests_security_create_security_request_pb from "../../../fintekkers/requests/security/create_security_request_pb";
|
|
12
12
|
import * as fintekkers_requests_security_create_security_response_pb from "../../../fintekkers/requests/security/create_security_response_pb";
|
|
13
|
+
import * as fintekkers_requests_security_get_fields_response_pb from "../../../fintekkers/requests/security/get_fields_response_pb";
|
|
13
14
|
import * as fintekkers_requests_util_errors_summary_pb from "../../../fintekkers/requests/util/errors/summary_pb";
|
|
15
|
+
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
14
16
|
|
|
15
17
|
interface ISecurityService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
16
18
|
createOrUpdate: ISecurityService_ICreateOrUpdate;
|
|
@@ -19,6 +21,7 @@ interface ISecurityService extends grpc.ServiceDefinition<grpc.UntypedServiceImp
|
|
|
19
21
|
listIds: ISecurityService_IListIds;
|
|
20
22
|
validateCreateOrUpdate: ISecurityService_IValidateCreateOrUpdate;
|
|
21
23
|
validateQueryRequest: ISecurityService_IValidateQueryRequest;
|
|
24
|
+
getFields: ISecurityService_IGetFields;
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
interface ISecurityService_ICreateOrUpdate extends grpc.MethodDefinition<fintekkers_requests_security_create_security_request_pb.CreateSecurityRequestProto, fintekkers_requests_security_create_security_response_pb.CreateSecurityResponseProto> {
|
|
@@ -75,6 +78,15 @@ interface ISecurityService_IValidateQueryRequest extends grpc.MethodDefinition<f
|
|
|
75
78
|
responseSerialize: grpc.serialize<fintekkers_requests_util_errors_summary_pb.SummaryProto>;
|
|
76
79
|
responseDeserialize: grpc.deserialize<fintekkers_requests_util_errors_summary_pb.SummaryProto>;
|
|
77
80
|
}
|
|
81
|
+
interface ISecurityService_IGetFields extends grpc.MethodDefinition<google_protobuf_empty_pb.Empty, fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto> {
|
|
82
|
+
path: "/fintekkers.services.security_service.Security/GetFields";
|
|
83
|
+
requestStream: false;
|
|
84
|
+
responseStream: false;
|
|
85
|
+
requestSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
|
|
86
|
+
requestDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
|
|
87
|
+
responseSerialize: grpc.serialize<fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto>;
|
|
88
|
+
responseDeserialize: grpc.deserialize<fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto>;
|
|
89
|
+
}
|
|
78
90
|
|
|
79
91
|
export const SecurityService: ISecurityService;
|
|
80
92
|
|
|
@@ -85,6 +97,7 @@ export interface ISecurityServer extends grpc.UntypedServiceImplementation {
|
|
|
85
97
|
listIds: grpc.handleUnaryCall<fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, fintekkers_requests_security_query_security_response_pb.QuerySecurityResponseProto>;
|
|
86
98
|
validateCreateOrUpdate: grpc.handleUnaryCall<fintekkers_requests_security_create_security_request_pb.CreateSecurityRequestProto, fintekkers_requests_util_errors_summary_pb.SummaryProto>;
|
|
87
99
|
validateQueryRequest: grpc.handleUnaryCall<fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, fintekkers_requests_util_errors_summary_pb.SummaryProto>;
|
|
100
|
+
getFields: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto>;
|
|
88
101
|
}
|
|
89
102
|
|
|
90
103
|
export interface ISecurityClient {
|
|
@@ -105,6 +118,9 @@ export interface ISecurityClient {
|
|
|
105
118
|
validateQueryRequest(request: fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_util_errors_summary_pb.SummaryProto) => void): grpc.ClientUnaryCall;
|
|
106
119
|
validateQueryRequest(request: fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_util_errors_summary_pb.SummaryProto) => void): grpc.ClientUnaryCall;
|
|
107
120
|
validateQueryRequest(request: fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_util_errors_summary_pb.SummaryProto) => void): grpc.ClientUnaryCall;
|
|
121
|
+
getFields(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto) => void): grpc.ClientUnaryCall;
|
|
122
|
+
getFields(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto) => void): grpc.ClientUnaryCall;
|
|
123
|
+
getFields(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto) => void): grpc.ClientUnaryCall;
|
|
108
124
|
}
|
|
109
125
|
|
|
110
126
|
export class SecurityClient extends grpc.Client implements ISecurityClient {
|
|
@@ -126,4 +142,7 @@ export class SecurityClient extends grpc.Client implements ISecurityClient {
|
|
|
126
142
|
public validateQueryRequest(request: fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_util_errors_summary_pb.SummaryProto) => void): grpc.ClientUnaryCall;
|
|
127
143
|
public validateQueryRequest(request: fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_util_errors_summary_pb.SummaryProto) => void): grpc.ClientUnaryCall;
|
|
128
144
|
public validateQueryRequest(request: fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_util_errors_summary_pb.SummaryProto) => void): grpc.ClientUnaryCall;
|
|
145
|
+
public getFields(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto) => void): grpc.ClientUnaryCall;
|
|
146
|
+
public getFields(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto) => void): grpc.ClientUnaryCall;
|
|
147
|
+
public getFields(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto) => void): grpc.ClientUnaryCall;
|
|
129
148
|
}
|
|
@@ -6,7 +6,9 @@ var fintekkers_requests_security_query_security_request_pb = require('../../../f
|
|
|
6
6
|
var fintekkers_requests_security_query_security_response_pb = require('../../../fintekkers/requests/security/query_security_response_pb.js');
|
|
7
7
|
var fintekkers_requests_security_create_security_request_pb = require('../../../fintekkers/requests/security/create_security_request_pb.js');
|
|
8
8
|
var fintekkers_requests_security_create_security_response_pb = require('../../../fintekkers/requests/security/create_security_response_pb.js');
|
|
9
|
+
var fintekkers_requests_security_get_fields_response_pb = require('../../../fintekkers/requests/security/get_fields_response_pb.js');
|
|
9
10
|
var fintekkers_requests_util_errors_summary_pb = require('../../../fintekkers/requests/util/errors/summary_pb.js');
|
|
11
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
10
12
|
|
|
11
13
|
function serialize_fintekkers_requests_security_CreateSecurityRequestProto(arg) {
|
|
12
14
|
if (!(arg instanceof fintekkers_requests_security_create_security_request_pb.CreateSecurityRequestProto)) {
|
|
@@ -30,6 +32,17 @@ function deserialize_fintekkers_requests_security_CreateSecurityResponseProto(bu
|
|
|
30
32
|
return fintekkers_requests_security_create_security_response_pb.CreateSecurityResponseProto.deserializeBinary(new Uint8Array(buffer_arg));
|
|
31
33
|
}
|
|
32
34
|
|
|
35
|
+
function serialize_fintekkers_requests_security_GetFieldsResponseProto(arg) {
|
|
36
|
+
if (!(arg instanceof fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto)) {
|
|
37
|
+
throw new Error('Expected argument of type fintekkers.requests.security.GetFieldsResponseProto');
|
|
38
|
+
}
|
|
39
|
+
return Buffer.from(arg.serializeBinary());
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function deserialize_fintekkers_requests_security_GetFieldsResponseProto(buffer_arg) {
|
|
43
|
+
return fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto.deserializeBinary(new Uint8Array(buffer_arg));
|
|
44
|
+
}
|
|
45
|
+
|
|
33
46
|
function serialize_fintekkers_requests_security_QuerySecurityRequestProto(arg) {
|
|
34
47
|
if (!(arg instanceof fintekkers_requests_security_query_security_request_pb.QuerySecurityRequestProto)) {
|
|
35
48
|
throw new Error('Expected argument of type fintekkers.requests.security.QuerySecurityRequestProto');
|
|
@@ -63,6 +76,17 @@ function deserialize_fintekkers_requests_util_errors_SummaryProto(buffer_arg) {
|
|
|
63
76
|
return fintekkers_requests_util_errors_summary_pb.SummaryProto.deserializeBinary(new Uint8Array(buffer_arg));
|
|
64
77
|
}
|
|
65
78
|
|
|
79
|
+
function serialize_google_protobuf_Empty(arg) {
|
|
80
|
+
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
|
81
|
+
throw new Error('Expected argument of type google.protobuf.Empty');
|
|
82
|
+
}
|
|
83
|
+
return Buffer.from(arg.serializeBinary());
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function deserialize_google_protobuf_Empty(buffer_arg) {
|
|
87
|
+
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
|
88
|
+
}
|
|
89
|
+
|
|
66
90
|
|
|
67
91
|
var SecurityService = exports.SecurityService = {
|
|
68
92
|
createOrUpdate: {
|
|
@@ -131,6 +155,17 @@ var SecurityService = exports.SecurityService = {
|
|
|
131
155
|
responseSerialize: serialize_fintekkers_requests_util_errors_SummaryProto,
|
|
132
156
|
responseDeserialize: deserialize_fintekkers_requests_util_errors_SummaryProto,
|
|
133
157
|
},
|
|
158
|
+
getFields: {
|
|
159
|
+
path: '/fintekkers.services.security_service.Security/GetFields',
|
|
160
|
+
requestStream: false,
|
|
161
|
+
responseStream: false,
|
|
162
|
+
requestType: google_protobuf_empty_pb.Empty,
|
|
163
|
+
responseType: fintekkers_requests_security_get_fields_response_pb.GetFieldsResponseProto,
|
|
164
|
+
requestSerialize: serialize_google_protobuf_Empty,
|
|
165
|
+
requestDeserialize: deserialize_google_protobuf_Empty,
|
|
166
|
+
responseSerialize: serialize_fintekkers_requests_security_GetFieldsResponseProto,
|
|
167
|
+
responseDeserialize: deserialize_fintekkers_requests_security_GetFieldsResponseProto,
|
|
168
|
+
},
|
|
134
169
|
};
|
|
135
170
|
|
|
136
171
|
exports.SecurityClient = grpc.makeGenericClientConstructor(SecurityService);
|
|
@@ -9,4 +9,6 @@ import * as fintekkers_requests_security_query_security_request_pb from "../../.
|
|
|
9
9
|
import * as fintekkers_requests_security_query_security_response_pb from "../../../fintekkers/requests/security/query_security_response_pb";
|
|
10
10
|
import * as fintekkers_requests_security_create_security_request_pb from "../../../fintekkers/requests/security/create_security_request_pb";
|
|
11
11
|
import * as fintekkers_requests_security_create_security_response_pb from "../../../fintekkers/requests/security/create_security_response_pb";
|
|
12
|
+
import * as fintekkers_requests_security_get_fields_response_pb from "../../../fintekkers/requests/security/get_fields_response_pb";
|
|
12
13
|
import * as fintekkers_requests_util_errors_summary_pb from "../../../fintekkers/requests/util/errors/summary_pb";
|
|
14
|
+
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
@@ -29,5 +29,9 @@ var fintekkers_requests_security_create_security_request_pb = require('../../../
|
|
|
29
29
|
goog.object.extend(proto, fintekkers_requests_security_create_security_request_pb);
|
|
30
30
|
var fintekkers_requests_security_create_security_response_pb = require('../../../fintekkers/requests/security/create_security_response_pb.js');
|
|
31
31
|
goog.object.extend(proto, fintekkers_requests_security_create_security_response_pb);
|
|
32
|
+
var fintekkers_requests_security_get_fields_response_pb = require('../../../fintekkers/requests/security/get_fields_response_pb.js');
|
|
33
|
+
goog.object.extend(proto, fintekkers_requests_security_get_fields_response_pb);
|
|
32
34
|
var fintekkers_requests_util_errors_summary_pb = require('../../../fintekkers/requests/util/errors/summary_pb.js');
|
|
33
35
|
goog.object.extend(proto, fintekkers_requests_util_errors_summary_pb);
|
|
36
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
37
|
+
goog.object.extend(proto, google_protobuf_empty_pb);
|