@stashfin/grpc 1.2.187 → 1.2.188
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/package.json
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "payments.nachpresentation";
|
|
3
|
+
export interface request {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
amount: number;
|
|
6
|
+
client_id: string;
|
|
7
|
+
external_order_id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface response {
|
|
10
|
+
status: string;
|
|
11
|
+
status_code: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const request: {
|
|
14
|
+
encode(message: request, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): request;
|
|
16
|
+
fromJSON(object: any): request;
|
|
17
|
+
toJSON(message: request): unknown;
|
|
18
|
+
create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
|
|
19
|
+
fromPartial<I extends Exact<DeepPartial<request>, I>>(object: I): request;
|
|
20
|
+
};
|
|
21
|
+
export declare const response: {
|
|
22
|
+
encode(message: response, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): response;
|
|
24
|
+
fromJSON(object: any): response;
|
|
25
|
+
toJSON(message: response): unknown;
|
|
26
|
+
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
28
|
+
};
|
|
29
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
30
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
31
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
32
|
+
} : Partial<T>;
|
|
33
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
34
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
35
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
36
|
+
} & {
|
|
37
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
38
|
+
};
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.0
|
|
6
|
+
// source: payments/nachpresentation.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.response = exports.request = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const long_1 = __importDefault(require("long"));
|
|
14
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
+
exports.protobufPackage = "payments.nachpresentation";
|
|
16
|
+
function createBaserequest() {
|
|
17
|
+
return { customer_id: 0, amount: 0, client_id: "", external_order_id: "" };
|
|
18
|
+
}
|
|
19
|
+
exports.request = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.customer_id !== 0) {
|
|
22
|
+
writer.uint32(8).int64(message.customer_id);
|
|
23
|
+
}
|
|
24
|
+
if (message.amount !== 0) {
|
|
25
|
+
writer.uint32(21).float(message.amount);
|
|
26
|
+
}
|
|
27
|
+
if (message.client_id !== "") {
|
|
28
|
+
writer.uint32(26).string(message.client_id);
|
|
29
|
+
}
|
|
30
|
+
if (message.external_order_id !== "") {
|
|
31
|
+
writer.uint32(34).string(message.external_order_id);
|
|
32
|
+
}
|
|
33
|
+
return writer;
|
|
34
|
+
},
|
|
35
|
+
decode(input, length) {
|
|
36
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
37
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
38
|
+
const message = createBaserequest();
|
|
39
|
+
while (reader.pos < end) {
|
|
40
|
+
const tag = reader.uint32();
|
|
41
|
+
switch (tag >>> 3) {
|
|
42
|
+
case 1:
|
|
43
|
+
if (tag !== 8) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
message.customer_id = longToNumber(reader.int64());
|
|
47
|
+
continue;
|
|
48
|
+
case 2:
|
|
49
|
+
if (tag !== 21) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
message.amount = reader.float();
|
|
53
|
+
continue;
|
|
54
|
+
case 3:
|
|
55
|
+
if (tag !== 26) {
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
message.client_id = reader.string();
|
|
59
|
+
continue;
|
|
60
|
+
case 4:
|
|
61
|
+
if (tag !== 34) {
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
message.external_order_id = reader.string();
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
reader.skipType(tag & 7);
|
|
71
|
+
}
|
|
72
|
+
return message;
|
|
73
|
+
},
|
|
74
|
+
fromJSON(object) {
|
|
75
|
+
return {
|
|
76
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
77
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
78
|
+
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
79
|
+
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
toJSON(message) {
|
|
83
|
+
const obj = {};
|
|
84
|
+
if (message.customer_id !== 0) {
|
|
85
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
86
|
+
}
|
|
87
|
+
if (message.amount !== 0) {
|
|
88
|
+
obj.amount = message.amount;
|
|
89
|
+
}
|
|
90
|
+
if (message.client_id !== "") {
|
|
91
|
+
obj.client_id = message.client_id;
|
|
92
|
+
}
|
|
93
|
+
if (message.external_order_id !== "") {
|
|
94
|
+
obj.external_order_id = message.external_order_id;
|
|
95
|
+
}
|
|
96
|
+
return obj;
|
|
97
|
+
},
|
|
98
|
+
create(base) {
|
|
99
|
+
return exports.request.fromPartial(base ?? {});
|
|
100
|
+
},
|
|
101
|
+
fromPartial(object) {
|
|
102
|
+
const message = createBaserequest();
|
|
103
|
+
message.customer_id = object.customer_id ?? 0;
|
|
104
|
+
message.amount = object.amount ?? 0;
|
|
105
|
+
message.client_id = object.client_id ?? "";
|
|
106
|
+
message.external_order_id = object.external_order_id ?? "";
|
|
107
|
+
return message;
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
function createBaseresponse() {
|
|
111
|
+
return { status: "", status_code: 0 };
|
|
112
|
+
}
|
|
113
|
+
exports.response = {
|
|
114
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
115
|
+
if (message.status !== "") {
|
|
116
|
+
writer.uint32(10).string(message.status);
|
|
117
|
+
}
|
|
118
|
+
if (message.status_code !== 0) {
|
|
119
|
+
writer.uint32(16).int32(message.status_code);
|
|
120
|
+
}
|
|
121
|
+
return writer;
|
|
122
|
+
},
|
|
123
|
+
decode(input, length) {
|
|
124
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
125
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
126
|
+
const message = createBaseresponse();
|
|
127
|
+
while (reader.pos < end) {
|
|
128
|
+
const tag = reader.uint32();
|
|
129
|
+
switch (tag >>> 3) {
|
|
130
|
+
case 1:
|
|
131
|
+
if (tag !== 10) {
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
message.status = reader.string();
|
|
135
|
+
continue;
|
|
136
|
+
case 2:
|
|
137
|
+
if (tag !== 16) {
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
message.status_code = reader.int32();
|
|
141
|
+
continue;
|
|
142
|
+
}
|
|
143
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
reader.skipType(tag & 7);
|
|
147
|
+
}
|
|
148
|
+
return message;
|
|
149
|
+
},
|
|
150
|
+
fromJSON(object) {
|
|
151
|
+
return {
|
|
152
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
153
|
+
status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
toJSON(message) {
|
|
157
|
+
const obj = {};
|
|
158
|
+
if (message.status !== "") {
|
|
159
|
+
obj.status = message.status;
|
|
160
|
+
}
|
|
161
|
+
if (message.status_code !== 0) {
|
|
162
|
+
obj.status_code = Math.round(message.status_code);
|
|
163
|
+
}
|
|
164
|
+
return obj;
|
|
165
|
+
},
|
|
166
|
+
create(base) {
|
|
167
|
+
return exports.response.fromPartial(base ?? {});
|
|
168
|
+
},
|
|
169
|
+
fromPartial(object) {
|
|
170
|
+
const message = createBaseresponse();
|
|
171
|
+
message.status = object.status ?? "";
|
|
172
|
+
message.status_code = object.status_code ?? 0;
|
|
173
|
+
return message;
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
function longToNumber(long) {
|
|
177
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
178
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
179
|
+
}
|
|
180
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
181
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
182
|
+
}
|
|
183
|
+
return long.toNumber();
|
|
184
|
+
}
|
|
185
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
186
|
+
minimal_1.default.util.Long = long_1.default;
|
|
187
|
+
minimal_1.default.configure();
|
|
188
|
+
}
|
|
189
|
+
function isSet(value) {
|
|
190
|
+
return value !== null && value !== undefined;
|
|
191
|
+
}
|
|
@@ -2,9 +2,13 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "payments.nachregistration";
|
|
3
3
|
export interface request {
|
|
4
4
|
customer_id: number;
|
|
5
|
-
loan_id: number;
|
|
6
5
|
client_id: string;
|
|
7
6
|
mandate_type: string;
|
|
7
|
+
bank_name?: string | undefined;
|
|
8
|
+
bank_account_number?: string | undefined;
|
|
9
|
+
bank_ifsc?: string | undefined;
|
|
10
|
+
maximum_amount: number;
|
|
11
|
+
external_order_id: string;
|
|
8
12
|
}
|
|
9
13
|
export interface response {
|
|
10
14
|
status: string;
|
|
@@ -14,21 +14,42 @@ const long_1 = __importDefault(require("long"));
|
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
15
|
exports.protobufPackage = "payments.nachregistration";
|
|
16
16
|
function createBaserequest() {
|
|
17
|
-
return {
|
|
17
|
+
return {
|
|
18
|
+
customer_id: 0,
|
|
19
|
+
client_id: "",
|
|
20
|
+
mandate_type: "",
|
|
21
|
+
bank_name: undefined,
|
|
22
|
+
bank_account_number: undefined,
|
|
23
|
+
bank_ifsc: undefined,
|
|
24
|
+
maximum_amount: 0,
|
|
25
|
+
external_order_id: "",
|
|
26
|
+
};
|
|
18
27
|
}
|
|
19
28
|
exports.request = {
|
|
20
29
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
30
|
if (message.customer_id !== 0) {
|
|
22
31
|
writer.uint32(8).int64(message.customer_id);
|
|
23
32
|
}
|
|
24
|
-
if (message.loan_id !== 0) {
|
|
25
|
-
writer.uint32(16).int64(message.loan_id);
|
|
26
|
-
}
|
|
27
33
|
if (message.client_id !== "") {
|
|
28
|
-
writer.uint32(
|
|
34
|
+
writer.uint32(18).string(message.client_id);
|
|
29
35
|
}
|
|
30
36
|
if (message.mandate_type !== "") {
|
|
31
|
-
writer.uint32(
|
|
37
|
+
writer.uint32(26).string(message.mandate_type);
|
|
38
|
+
}
|
|
39
|
+
if (message.bank_name !== undefined) {
|
|
40
|
+
writer.uint32(34).string(message.bank_name);
|
|
41
|
+
}
|
|
42
|
+
if (message.bank_account_number !== undefined) {
|
|
43
|
+
writer.uint32(42).string(message.bank_account_number);
|
|
44
|
+
}
|
|
45
|
+
if (message.bank_ifsc !== undefined) {
|
|
46
|
+
writer.uint32(50).string(message.bank_ifsc);
|
|
47
|
+
}
|
|
48
|
+
if (message.maximum_amount !== 0) {
|
|
49
|
+
writer.uint32(61).float(message.maximum_amount);
|
|
50
|
+
}
|
|
51
|
+
if (message.external_order_id !== "") {
|
|
52
|
+
writer.uint32(66).string(message.external_order_id);
|
|
32
53
|
}
|
|
33
54
|
return writer;
|
|
34
55
|
},
|
|
@@ -46,22 +67,46 @@ exports.request = {
|
|
|
46
67
|
message.customer_id = longToNumber(reader.int64());
|
|
47
68
|
continue;
|
|
48
69
|
case 2:
|
|
49
|
-
if (tag !==
|
|
70
|
+
if (tag !== 18) {
|
|
50
71
|
break;
|
|
51
72
|
}
|
|
52
|
-
message.
|
|
73
|
+
message.client_id = reader.string();
|
|
53
74
|
continue;
|
|
54
75
|
case 3:
|
|
55
76
|
if (tag !== 26) {
|
|
56
77
|
break;
|
|
57
78
|
}
|
|
58
|
-
message.
|
|
79
|
+
message.mandate_type = reader.string();
|
|
59
80
|
continue;
|
|
60
81
|
case 4:
|
|
61
82
|
if (tag !== 34) {
|
|
62
83
|
break;
|
|
63
84
|
}
|
|
64
|
-
message.
|
|
85
|
+
message.bank_name = reader.string();
|
|
86
|
+
continue;
|
|
87
|
+
case 5:
|
|
88
|
+
if (tag !== 42) {
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
message.bank_account_number = reader.string();
|
|
92
|
+
continue;
|
|
93
|
+
case 6:
|
|
94
|
+
if (tag !== 50) {
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
message.bank_ifsc = reader.string();
|
|
98
|
+
continue;
|
|
99
|
+
case 7:
|
|
100
|
+
if (tag !== 61) {
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
message.maximum_amount = reader.float();
|
|
104
|
+
continue;
|
|
105
|
+
case 8:
|
|
106
|
+
if (tag !== 66) {
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
message.external_order_id = reader.string();
|
|
65
110
|
continue;
|
|
66
111
|
}
|
|
67
112
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -74,9 +119,15 @@ exports.request = {
|
|
|
74
119
|
fromJSON(object) {
|
|
75
120
|
return {
|
|
76
121
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
77
|
-
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
78
122
|
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
79
123
|
mandate_type: isSet(object.mandate_type) ? globalThis.String(object.mandate_type) : "",
|
|
124
|
+
bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : undefined,
|
|
125
|
+
bank_account_number: isSet(object.bank_account_number)
|
|
126
|
+
? globalThis.String(object.bank_account_number)
|
|
127
|
+
: undefined,
|
|
128
|
+
bank_ifsc: isSet(object.bank_ifsc) ? globalThis.String(object.bank_ifsc) : undefined,
|
|
129
|
+
maximum_amount: isSet(object.maximum_amount) ? globalThis.Number(object.maximum_amount) : 0,
|
|
130
|
+
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
80
131
|
};
|
|
81
132
|
},
|
|
82
133
|
toJSON(message) {
|
|
@@ -84,15 +135,27 @@ exports.request = {
|
|
|
84
135
|
if (message.customer_id !== 0) {
|
|
85
136
|
obj.customer_id = Math.round(message.customer_id);
|
|
86
137
|
}
|
|
87
|
-
if (message.loan_id !== 0) {
|
|
88
|
-
obj.loan_id = Math.round(message.loan_id);
|
|
89
|
-
}
|
|
90
138
|
if (message.client_id !== "") {
|
|
91
139
|
obj.client_id = message.client_id;
|
|
92
140
|
}
|
|
93
141
|
if (message.mandate_type !== "") {
|
|
94
142
|
obj.mandate_type = message.mandate_type;
|
|
95
143
|
}
|
|
144
|
+
if (message.bank_name !== undefined) {
|
|
145
|
+
obj.bank_name = message.bank_name;
|
|
146
|
+
}
|
|
147
|
+
if (message.bank_account_number !== undefined) {
|
|
148
|
+
obj.bank_account_number = message.bank_account_number;
|
|
149
|
+
}
|
|
150
|
+
if (message.bank_ifsc !== undefined) {
|
|
151
|
+
obj.bank_ifsc = message.bank_ifsc;
|
|
152
|
+
}
|
|
153
|
+
if (message.maximum_amount !== 0) {
|
|
154
|
+
obj.maximum_amount = message.maximum_amount;
|
|
155
|
+
}
|
|
156
|
+
if (message.external_order_id !== "") {
|
|
157
|
+
obj.external_order_id = message.external_order_id;
|
|
158
|
+
}
|
|
96
159
|
return obj;
|
|
97
160
|
},
|
|
98
161
|
create(base) {
|
|
@@ -101,9 +164,13 @@ exports.request = {
|
|
|
101
164
|
fromPartial(object) {
|
|
102
165
|
const message = createBaserequest();
|
|
103
166
|
message.customer_id = object.customer_id ?? 0;
|
|
104
|
-
message.loan_id = object.loan_id ?? 0;
|
|
105
167
|
message.client_id = object.client_id ?? "";
|
|
106
168
|
message.mandate_type = object.mandate_type ?? "";
|
|
169
|
+
message.bank_name = object.bank_name ?? undefined;
|
|
170
|
+
message.bank_account_number = object.bank_account_number ?? undefined;
|
|
171
|
+
message.bank_ifsc = object.bank_ifsc ?? undefined;
|
|
172
|
+
message.maximum_amount = object.maximum_amount ?? 0;
|
|
173
|
+
message.external_order_id = object.external_order_id ?? "";
|
|
107
174
|
return message;
|
|
108
175
|
},
|
|
109
176
|
};
|
package/ts/payments.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type
|
|
|
2
2
|
import { request as request3, response as response4 } from "./payments/checkpaymentstatus";
|
|
3
3
|
import { request, response } from "./payments/getpaymentoptions";
|
|
4
4
|
import { request as request1, response as response2 } from "./payments/initiatepayment";
|
|
5
|
+
import { request as request7, response as response8 } from "./payments/nachpresentation";
|
|
5
6
|
import { request as request5, response as response6 } from "./payments/nachregistration";
|
|
6
7
|
export declare const protobufPackage = "service";
|
|
7
8
|
export type paymentsService = typeof paymentsService;
|
|
@@ -42,12 +43,22 @@ export declare const paymentsService: {
|
|
|
42
43
|
readonly responseSerialize: (value: response6) => Buffer;
|
|
43
44
|
readonly responseDeserialize: (value: Buffer) => response6;
|
|
44
45
|
};
|
|
46
|
+
readonly nachpresentation: {
|
|
47
|
+
readonly path: "/service.payments/nachpresentation";
|
|
48
|
+
readonly requestStream: false;
|
|
49
|
+
readonly responseStream: false;
|
|
50
|
+
readonly requestSerialize: (value: request7) => Buffer;
|
|
51
|
+
readonly requestDeserialize: (value: Buffer) => request7;
|
|
52
|
+
readonly responseSerialize: (value: response8) => Buffer;
|
|
53
|
+
readonly responseDeserialize: (value: Buffer) => response8;
|
|
54
|
+
};
|
|
45
55
|
};
|
|
46
56
|
export interface paymentsServer extends UntypedServiceImplementation {
|
|
47
57
|
getpaymentoptions: handleUnaryCall<request, response>;
|
|
48
58
|
initiatepayment: handleUnaryCall<request1, response2>;
|
|
49
59
|
checkpaymentstatus: handleUnaryCall<request3, response4>;
|
|
50
60
|
nachregistration: handleUnaryCall<request5, response6>;
|
|
61
|
+
nachpresentation: handleUnaryCall<request7, response8>;
|
|
51
62
|
}
|
|
52
63
|
export interface paymentsClient extends Client {
|
|
53
64
|
getpaymentoptions(request: request, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
@@ -62,6 +73,9 @@ export interface paymentsClient extends Client {
|
|
|
62
73
|
nachregistration(request: request5, callback: (error: ServiceError | null, response: response6) => void): ClientUnaryCall;
|
|
63
74
|
nachregistration(request: request5, metadata: Metadata, callback: (error: ServiceError | null, response: response6) => void): ClientUnaryCall;
|
|
64
75
|
nachregistration(request: request5, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response6) => void): ClientUnaryCall;
|
|
76
|
+
nachpresentation(request: request7, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
77
|
+
nachpresentation(request: request7, metadata: Metadata, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
78
|
+
nachpresentation(request: request7, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
65
79
|
}
|
|
66
80
|
export declare const paymentsClient: {
|
|
67
81
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): paymentsClient;
|
package/ts/payments.js
CHANGED
|
@@ -11,6 +11,7 @@ const grpc_js_1 = require("@grpc/grpc-js");
|
|
|
11
11
|
const checkpaymentstatus_1 = require("./payments/checkpaymentstatus");
|
|
12
12
|
const getpaymentoptions_1 = require("./payments/getpaymentoptions");
|
|
13
13
|
const initiatepayment_1 = require("./payments/initiatepayment");
|
|
14
|
+
const nachpresentation_1 = require("./payments/nachpresentation");
|
|
14
15
|
const nachregistration_1 = require("./payments/nachregistration");
|
|
15
16
|
exports.protobufPackage = "service";
|
|
16
17
|
exports.paymentsService = {
|
|
@@ -50,5 +51,14 @@ exports.paymentsService = {
|
|
|
50
51
|
responseSerialize: (value) => Buffer.from(nachregistration_1.response.encode(value).finish()),
|
|
51
52
|
responseDeserialize: (value) => nachregistration_1.response.decode(value),
|
|
52
53
|
},
|
|
54
|
+
nachpresentation: {
|
|
55
|
+
path: "/service.payments/nachpresentation",
|
|
56
|
+
requestStream: false,
|
|
57
|
+
responseStream: false,
|
|
58
|
+
requestSerialize: (value) => Buffer.from(nachpresentation_1.request.encode(value).finish()),
|
|
59
|
+
requestDeserialize: (value) => nachpresentation_1.request.decode(value),
|
|
60
|
+
responseSerialize: (value) => Buffer.from(nachpresentation_1.response.encode(value).finish()),
|
|
61
|
+
responseDeserialize: (value) => nachpresentation_1.response.decode(value),
|
|
62
|
+
},
|
|
53
63
|
};
|
|
54
64
|
exports.paymentsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.paymentsService, "service.payments");
|