@stashfin/grpc 1.2.70 → 1.2.71
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 +1 -1
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans.d.ts +28 -0
- package/ts/loans.js +20 -0
package/package.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.sendemail";
|
|
3
|
+
export interface sendEmailRequest {
|
|
4
|
+
loan_id: number;
|
|
5
|
+
}
|
|
6
|
+
export interface sendEmailResponse {
|
|
7
|
+
agreement_email: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const sendEmailRequest: {
|
|
10
|
+
encode(message: sendEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendEmailRequest;
|
|
12
|
+
fromJSON(object: any): sendEmailRequest;
|
|
13
|
+
toJSON(message: sendEmailRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<sendEmailRequest>, I>>(base?: I): sendEmailRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<sendEmailRequest>, I>>(object: I): sendEmailRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const sendEmailResponse: {
|
|
18
|
+
encode(message: sendEmailResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendEmailResponse;
|
|
20
|
+
fromJSON(object: any): sendEmailResponse;
|
|
21
|
+
toJSON(message: sendEmailResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<sendEmailResponse>, I>>(base?: I): sendEmailResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<sendEmailResponse>, I>>(object: I): sendEmailResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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 v3.20.3
|
|
6
|
+
// source: loans/sendemail.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.sendEmailResponse = exports.sendEmailRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.sendemail";
|
|
15
|
+
function createBasesendEmailRequest() {
|
|
16
|
+
return { loan_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.sendEmailRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.loan_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.loan_id);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasesendEmailRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.loan_id = reader.int32();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.loan_id !== 0) {
|
|
52
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.sendEmailRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasesendEmailRequest();
|
|
61
|
+
message.loan_id = object.loan_id ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasesendEmailResponse() {
|
|
66
|
+
return { agreement_email: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.sendEmailResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.agreement_email !== "") {
|
|
71
|
+
writer.uint32(10).string(message.agreement_email);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBasesendEmailResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.agreement_email = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { agreement_email: isSet(object.agreement_email) ? globalThis.String(object.agreement_email) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.agreement_email !== "") {
|
|
102
|
+
obj.agreement_email = message.agreement_email;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.sendEmailResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasesendEmailResponse();
|
|
111
|
+
message.agreement_email = object.agreement_email ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.sendnocemail";
|
|
3
|
+
export interface sendNocEmailRequest {
|
|
4
|
+
loan_id: number;
|
|
5
|
+
}
|
|
6
|
+
export interface sendNocEmailResponse {
|
|
7
|
+
noc_email: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const sendNocEmailRequest: {
|
|
10
|
+
encode(message: sendNocEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendNocEmailRequest;
|
|
12
|
+
fromJSON(object: any): sendNocEmailRequest;
|
|
13
|
+
toJSON(message: sendNocEmailRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<sendNocEmailRequest>, I>>(base?: I): sendNocEmailRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<sendNocEmailRequest>, I>>(object: I): sendNocEmailRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const sendNocEmailResponse: {
|
|
18
|
+
encode(message: sendNocEmailResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendNocEmailResponse;
|
|
20
|
+
fromJSON(object: any): sendNocEmailResponse;
|
|
21
|
+
toJSON(message: sendNocEmailResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<sendNocEmailResponse>, I>>(base?: I): sendNocEmailResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<sendNocEmailResponse>, I>>(object: I): sendNocEmailResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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 v3.20.3
|
|
6
|
+
// source: loans/sendnocemail.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.sendNocEmailResponse = exports.sendNocEmailRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.sendnocemail";
|
|
15
|
+
function createBasesendNocEmailRequest() {
|
|
16
|
+
return { loan_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.sendNocEmailRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.loan_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.loan_id);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasesendNocEmailRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.loan_id = reader.int32();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.loan_id !== 0) {
|
|
52
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.sendNocEmailRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasesendNocEmailRequest();
|
|
61
|
+
message.loan_id = object.loan_id ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasesendNocEmailResponse() {
|
|
66
|
+
return { noc_email: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.sendNocEmailResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.noc_email !== "") {
|
|
71
|
+
writer.uint32(10).string(message.noc_email);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBasesendNocEmailResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.noc_email = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { noc_email: isSet(object.noc_email) ? globalThis.String(object.noc_email) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.noc_email !== "") {
|
|
102
|
+
obj.noc_email = message.noc_email;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.sendNocEmailResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasesendNocEmailResponse();
|
|
111
|
+
message.noc_email = object.noc_email ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
package/ts/loans.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { getCustomerLoanStatusRequest, getCustomerLoanStatusResponse } from "./l
|
|
|
7
7
|
import { loanSummaryRequest, loanSummaryResponse } from "./loans/loansummary";
|
|
8
8
|
import { paymentAllocationRequest, paymentAllocationResponse } from "./loans/paymentallocation";
|
|
9
9
|
import { restructureLoanRequest, restructureLoanResponse } from "./loans/restructureloan";
|
|
10
|
+
import { sendEmailRequest, sendEmailResponse } from "./loans/sendemail";
|
|
11
|
+
import { sendNocEmailRequest, sendNocEmailResponse } from "./loans/sendnocemail";
|
|
10
12
|
import { transactionListRequest, transactionListResponse } from "./loans/transactionlist";
|
|
11
13
|
import { updateInstallmentsRequest, updateInstallmentsResponse } from "./loans/updateinstallments";
|
|
12
14
|
import { updateLoanRequest, updateLoanResponse } from "./loans/updateloan";
|
|
@@ -112,6 +114,24 @@ export declare const loansService: {
|
|
|
112
114
|
readonly responseSerialize: (value: getCustomerLoanStatusResponse) => Buffer;
|
|
113
115
|
readonly responseDeserialize: (value: Buffer) => getCustomerLoanStatusResponse;
|
|
114
116
|
};
|
|
117
|
+
readonly sendEmail: {
|
|
118
|
+
readonly path: "/service.loans/sendEmail";
|
|
119
|
+
readonly requestStream: false;
|
|
120
|
+
readonly responseStream: false;
|
|
121
|
+
readonly requestSerialize: (value: sendEmailRequest) => Buffer;
|
|
122
|
+
readonly requestDeserialize: (value: Buffer) => sendEmailRequest;
|
|
123
|
+
readonly responseSerialize: (value: sendEmailResponse) => Buffer;
|
|
124
|
+
readonly responseDeserialize: (value: Buffer) => sendEmailResponse;
|
|
125
|
+
};
|
|
126
|
+
readonly sendNocEmail: {
|
|
127
|
+
readonly path: "/service.loans/sendNocEmail";
|
|
128
|
+
readonly requestStream: false;
|
|
129
|
+
readonly responseStream: false;
|
|
130
|
+
readonly requestSerialize: (value: sendNocEmailRequest) => Buffer;
|
|
131
|
+
readonly requestDeserialize: (value: Buffer) => sendNocEmailRequest;
|
|
132
|
+
readonly responseSerialize: (value: sendNocEmailResponse) => Buffer;
|
|
133
|
+
readonly responseDeserialize: (value: Buffer) => sendNocEmailResponse;
|
|
134
|
+
};
|
|
115
135
|
};
|
|
116
136
|
export interface loansServer extends UntypedServiceImplementation {
|
|
117
137
|
creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
|
|
@@ -125,6 +145,8 @@ export interface loansServer extends UntypedServiceImplementation {
|
|
|
125
145
|
paymentAllocation: handleUnaryCall<paymentAllocationRequest, paymentAllocationResponse>;
|
|
126
146
|
loanSummary: handleUnaryCall<loanSummaryRequest, loanSummaryResponse>;
|
|
127
147
|
getCustomerLoanStatus: handleUnaryCall<getCustomerLoanStatusRequest, getCustomerLoanStatusResponse>;
|
|
148
|
+
sendEmail: handleUnaryCall<sendEmailRequest, sendEmailResponse>;
|
|
149
|
+
sendNocEmail: handleUnaryCall<sendNocEmailRequest, sendNocEmailResponse>;
|
|
128
150
|
}
|
|
129
151
|
export interface loansClient extends Client {
|
|
130
152
|
creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
|
|
@@ -160,6 +182,12 @@ export interface loansClient extends Client {
|
|
|
160
182
|
getCustomerLoanStatus(request: getCustomerLoanStatusRequest, callback: (error: ServiceError | null, response: getCustomerLoanStatusResponse) => void): ClientUnaryCall;
|
|
161
183
|
getCustomerLoanStatus(request: getCustomerLoanStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerLoanStatusResponse) => void): ClientUnaryCall;
|
|
162
184
|
getCustomerLoanStatus(request: getCustomerLoanStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCustomerLoanStatusResponse) => void): ClientUnaryCall;
|
|
185
|
+
sendEmail(request: sendEmailRequest, callback: (error: ServiceError | null, response: sendEmailResponse) => void): ClientUnaryCall;
|
|
186
|
+
sendEmail(request: sendEmailRequest, metadata: Metadata, callback: (error: ServiceError | null, response: sendEmailResponse) => void): ClientUnaryCall;
|
|
187
|
+
sendEmail(request: sendEmailRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: sendEmailResponse) => void): ClientUnaryCall;
|
|
188
|
+
sendNocEmail(request: sendNocEmailRequest, callback: (error: ServiceError | null, response: sendNocEmailResponse) => void): ClientUnaryCall;
|
|
189
|
+
sendNocEmail(request: sendNocEmailRequest, metadata: Metadata, callback: (error: ServiceError | null, response: sendNocEmailResponse) => void): ClientUnaryCall;
|
|
190
|
+
sendNocEmail(request: sendNocEmailRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: sendNocEmailResponse) => void): ClientUnaryCall;
|
|
163
191
|
}
|
|
164
192
|
export declare const loansClient: {
|
|
165
193
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
|
package/ts/loans.js
CHANGED
|
@@ -16,6 +16,8 @@ const getcustomerloanstatus_1 = require("./loans/getcustomerloanstatus");
|
|
|
16
16
|
const loansummary_1 = require("./loans/loansummary");
|
|
17
17
|
const paymentallocation_1 = require("./loans/paymentallocation");
|
|
18
18
|
const restructureloan_1 = require("./loans/restructureloan");
|
|
19
|
+
const sendemail_1 = require("./loans/sendemail");
|
|
20
|
+
const sendnocemail_1 = require("./loans/sendnocemail");
|
|
19
21
|
const transactionlist_1 = require("./loans/transactionlist");
|
|
20
22
|
const updateinstallments_1 = require("./loans/updateinstallments");
|
|
21
23
|
const updateloan_1 = require("./loans/updateloan");
|
|
@@ -120,5 +122,23 @@ exports.loansService = {
|
|
|
120
122
|
responseSerialize: (value) => Buffer.from(getcustomerloanstatus_1.getCustomerLoanStatusResponse.encode(value).finish()),
|
|
121
123
|
responseDeserialize: (value) => getcustomerloanstatus_1.getCustomerLoanStatusResponse.decode(value),
|
|
122
124
|
},
|
|
125
|
+
sendEmail: {
|
|
126
|
+
path: "/service.loans/sendEmail",
|
|
127
|
+
requestStream: false,
|
|
128
|
+
responseStream: false,
|
|
129
|
+
requestSerialize: (value) => Buffer.from(sendemail_1.sendEmailRequest.encode(value).finish()),
|
|
130
|
+
requestDeserialize: (value) => sendemail_1.sendEmailRequest.decode(value),
|
|
131
|
+
responseSerialize: (value) => Buffer.from(sendemail_1.sendEmailResponse.encode(value).finish()),
|
|
132
|
+
responseDeserialize: (value) => sendemail_1.sendEmailResponse.decode(value),
|
|
133
|
+
},
|
|
134
|
+
sendNocEmail: {
|
|
135
|
+
path: "/service.loans/sendNocEmail",
|
|
136
|
+
requestStream: false,
|
|
137
|
+
responseStream: false,
|
|
138
|
+
requestSerialize: (value) => Buffer.from(sendnocemail_1.sendNocEmailRequest.encode(value).finish()),
|
|
139
|
+
requestDeserialize: (value) => sendnocemail_1.sendNocEmailRequest.decode(value),
|
|
140
|
+
responseSerialize: (value) => Buffer.from(sendnocemail_1.sendNocEmailResponse.encode(value).finish()),
|
|
141
|
+
responseDeserialize: (value) => sendnocemail_1.sendNocEmailResponse.decode(value),
|
|
142
|
+
},
|
|
123
143
|
};
|
|
124
144
|
exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");
|