@stashfin/grpc 1.2.67 → 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/customers/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinotp.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbanklist.d.ts +48 -0
- package/ts/customers/getbanklist.js +198 -0
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getcustomerbyid.d.ts +1 -0
- package/ts/customers/getcustomerbyid.js +16 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getkycweburl.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.d.ts +1 -0
- package/ts/customers/getprofile.js +17 -2
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendemailtoken.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step1.d.ts +71 -0
- package/ts/customers/step1.js +423 -0
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step2.d.ts +67 -0
- package/ts/customers/step2.js +366 -0
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/updatedigilockertxn.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatehypervergetxn.js +1 -1
- package/ts/customers/updatelocdisabled.d.ts +35 -0
- package/ts/customers/updatelocdisabled.js +117 -0
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifyemail.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers.d.ts +42 -0
- package/ts/customers.js +31 -1
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/restructureloan.js +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/transactionlist.d.ts +2 -0
- package/ts/loans/transactionlist.js +30 -2
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.d.ts +42 -0
- package/ts/loans.js +31 -1
- package/ts/payments.d.ts +214 -31
- package/ts/payments.js +1095 -22
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/payments/checkpaymentstatus.d.ts +0 -51
- package/ts/payments/checkpaymentstatus.js +0 -259
- package/ts/payments/getpaymentoptions.d.ts +0 -50
- package/ts/payments/getpaymentoptions.js +0 -233
- package/ts/payments/initiatepayment.d.ts +0 -52
- package/ts/payments/initiatepayment.js +0 -271
|
@@ -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
|
+
}
|
|
@@ -12,6 +12,8 @@ export interface transactionListResponse_Field {
|
|
|
12
12
|
emi_amount: number;
|
|
13
13
|
start_date: string;
|
|
14
14
|
close_date: string;
|
|
15
|
+
loan_agreement: string;
|
|
16
|
+
noc: string;
|
|
15
17
|
}
|
|
16
18
|
export declare const transactionListRequest: {
|
|
17
19
|
encode(message: transactionListRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/transactionlist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -117,7 +117,7 @@ exports.transactionListResponse = {
|
|
|
117
117
|
},
|
|
118
118
|
};
|
|
119
119
|
function createBasetransactionListResponse_Field() {
|
|
120
|
-
return { id: 0, loan_amount: 0, emi_amount: 0, start_date: "", close_date: "" };
|
|
120
|
+
return { id: 0, loan_amount: 0, emi_amount: 0, start_date: "", close_date: "", loan_agreement: "", noc: "" };
|
|
121
121
|
}
|
|
122
122
|
exports.transactionListResponse_Field = {
|
|
123
123
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -136,6 +136,12 @@ exports.transactionListResponse_Field = {
|
|
|
136
136
|
if (message.close_date !== "") {
|
|
137
137
|
writer.uint32(42).string(message.close_date);
|
|
138
138
|
}
|
|
139
|
+
if (message.loan_agreement !== "") {
|
|
140
|
+
writer.uint32(50).string(message.loan_agreement);
|
|
141
|
+
}
|
|
142
|
+
if (message.noc !== "") {
|
|
143
|
+
writer.uint32(58).string(message.noc);
|
|
144
|
+
}
|
|
139
145
|
return writer;
|
|
140
146
|
},
|
|
141
147
|
decode(input, length) {
|
|
@@ -175,6 +181,18 @@ exports.transactionListResponse_Field = {
|
|
|
175
181
|
}
|
|
176
182
|
message.close_date = reader.string();
|
|
177
183
|
continue;
|
|
184
|
+
case 6:
|
|
185
|
+
if (tag !== 50) {
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
message.loan_agreement = reader.string();
|
|
189
|
+
continue;
|
|
190
|
+
case 7:
|
|
191
|
+
if (tag !== 58) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
message.noc = reader.string();
|
|
195
|
+
continue;
|
|
178
196
|
}
|
|
179
197
|
if ((tag & 7) === 4 || tag === 0) {
|
|
180
198
|
break;
|
|
@@ -190,6 +208,8 @@ exports.transactionListResponse_Field = {
|
|
|
190
208
|
emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
|
|
191
209
|
start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : "",
|
|
192
210
|
close_date: isSet(object.close_date) ? globalThis.String(object.close_date) : "",
|
|
211
|
+
loan_agreement: isSet(object.loan_agreement) ? globalThis.String(object.loan_agreement) : "",
|
|
212
|
+
noc: isSet(object.noc) ? globalThis.String(object.noc) : "",
|
|
193
213
|
};
|
|
194
214
|
},
|
|
195
215
|
toJSON(message) {
|
|
@@ -209,6 +229,12 @@ exports.transactionListResponse_Field = {
|
|
|
209
229
|
if (message.close_date !== "") {
|
|
210
230
|
obj.close_date = message.close_date;
|
|
211
231
|
}
|
|
232
|
+
if (message.loan_agreement !== "") {
|
|
233
|
+
obj.loan_agreement = message.loan_agreement;
|
|
234
|
+
}
|
|
235
|
+
if (message.noc !== "") {
|
|
236
|
+
obj.noc = message.noc;
|
|
237
|
+
}
|
|
212
238
|
return obj;
|
|
213
239
|
},
|
|
214
240
|
create(base) {
|
|
@@ -221,6 +247,8 @@ exports.transactionListResponse_Field = {
|
|
|
221
247
|
message.emi_amount = object.emi_amount ?? 0;
|
|
222
248
|
message.start_date = object.start_date ?? "";
|
|
223
249
|
message.close_date = object.close_date ?? "";
|
|
250
|
+
message.loan_agreement = object.loan_agreement ?? "";
|
|
251
|
+
message.noc = object.noc ?? "";
|
|
224
252
|
return message;
|
|
225
253
|
},
|
|
226
254
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/updateinstallments.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/updateloan.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/updateloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans.d.ts
CHANGED
|
@@ -3,9 +3,12 @@ import { approveLoanRequest, approveLoanResponse } from "./loans/approveloan";
|
|
|
3
3
|
import { bankListRequest, bankListResponse } from "./loans/banklist";
|
|
4
4
|
import { calculateEmiRequest, calculateEmiResponse } from "./loans/calculateemi";
|
|
5
5
|
import { creditLimitRequest, creditLimitResponse } from "./loans/creditlimit";
|
|
6
|
+
import { getCustomerLoanStatusRequest, getCustomerLoanStatusResponse } from "./loans/getcustomerloanstatus";
|
|
6
7
|
import { loanSummaryRequest, loanSummaryResponse } from "./loans/loansummary";
|
|
7
8
|
import { paymentAllocationRequest, paymentAllocationResponse } from "./loans/paymentallocation";
|
|
8
9
|
import { restructureLoanRequest, restructureLoanResponse } from "./loans/restructureloan";
|
|
10
|
+
import { sendEmailRequest, sendEmailResponse } from "./loans/sendemail";
|
|
11
|
+
import { sendNocEmailRequest, sendNocEmailResponse } from "./loans/sendnocemail";
|
|
9
12
|
import { transactionListRequest, transactionListResponse } from "./loans/transactionlist";
|
|
10
13
|
import { updateInstallmentsRequest, updateInstallmentsResponse } from "./loans/updateinstallments";
|
|
11
14
|
import { updateLoanRequest, updateLoanResponse } from "./loans/updateloan";
|
|
@@ -102,6 +105,33 @@ export declare const loansService: {
|
|
|
102
105
|
readonly responseSerialize: (value: loanSummaryResponse) => Buffer;
|
|
103
106
|
readonly responseDeserialize: (value: Buffer) => loanSummaryResponse;
|
|
104
107
|
};
|
|
108
|
+
readonly getCustomerLoanStatus: {
|
|
109
|
+
readonly path: "/service.loans/getCustomerLoanStatus";
|
|
110
|
+
readonly requestStream: false;
|
|
111
|
+
readonly responseStream: false;
|
|
112
|
+
readonly requestSerialize: (value: getCustomerLoanStatusRequest) => Buffer;
|
|
113
|
+
readonly requestDeserialize: (value: Buffer) => getCustomerLoanStatusRequest;
|
|
114
|
+
readonly responseSerialize: (value: getCustomerLoanStatusResponse) => Buffer;
|
|
115
|
+
readonly responseDeserialize: (value: Buffer) => getCustomerLoanStatusResponse;
|
|
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
|
+
};
|
|
105
135
|
};
|
|
106
136
|
export interface loansServer extends UntypedServiceImplementation {
|
|
107
137
|
creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
|
|
@@ -114,6 +144,9 @@ export interface loansServer extends UntypedServiceImplementation {
|
|
|
114
144
|
transactionList: handleUnaryCall<transactionListRequest, transactionListResponse>;
|
|
115
145
|
paymentAllocation: handleUnaryCall<paymentAllocationRequest, paymentAllocationResponse>;
|
|
116
146
|
loanSummary: handleUnaryCall<loanSummaryRequest, loanSummaryResponse>;
|
|
147
|
+
getCustomerLoanStatus: handleUnaryCall<getCustomerLoanStatusRequest, getCustomerLoanStatusResponse>;
|
|
148
|
+
sendEmail: handleUnaryCall<sendEmailRequest, sendEmailResponse>;
|
|
149
|
+
sendNocEmail: handleUnaryCall<sendNocEmailRequest, sendNocEmailResponse>;
|
|
117
150
|
}
|
|
118
151
|
export interface loansClient extends Client {
|
|
119
152
|
creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
|
|
@@ -146,6 +179,15 @@ export interface loansClient extends Client {
|
|
|
146
179
|
loanSummary(request: loanSummaryRequest, callback: (error: ServiceError | null, response: loanSummaryResponse) => void): ClientUnaryCall;
|
|
147
180
|
loanSummary(request: loanSummaryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: loanSummaryResponse) => void): ClientUnaryCall;
|
|
148
181
|
loanSummary(request: loanSummaryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: loanSummaryResponse) => void): ClientUnaryCall;
|
|
182
|
+
getCustomerLoanStatus(request: getCustomerLoanStatusRequest, callback: (error: ServiceError | null, response: getCustomerLoanStatusResponse) => void): ClientUnaryCall;
|
|
183
|
+
getCustomerLoanStatus(request: getCustomerLoanStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerLoanStatusResponse) => void): ClientUnaryCall;
|
|
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;
|
|
149
191
|
}
|
|
150
192
|
export declare const loansClient: {
|
|
151
193
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
|
package/ts/loans.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -12,9 +12,12 @@ const approveloan_1 = require("./loans/approveloan");
|
|
|
12
12
|
const banklist_1 = require("./loans/banklist");
|
|
13
13
|
const calculateemi_1 = require("./loans/calculateemi");
|
|
14
14
|
const creditlimit_1 = require("./loans/creditlimit");
|
|
15
|
+
const getcustomerloanstatus_1 = require("./loans/getcustomerloanstatus");
|
|
15
16
|
const loansummary_1 = require("./loans/loansummary");
|
|
16
17
|
const paymentallocation_1 = require("./loans/paymentallocation");
|
|
17
18
|
const restructureloan_1 = require("./loans/restructureloan");
|
|
19
|
+
const sendemail_1 = require("./loans/sendemail");
|
|
20
|
+
const sendnocemail_1 = require("./loans/sendnocemail");
|
|
18
21
|
const transactionlist_1 = require("./loans/transactionlist");
|
|
19
22
|
const updateinstallments_1 = require("./loans/updateinstallments");
|
|
20
23
|
const updateloan_1 = require("./loans/updateloan");
|
|
@@ -110,5 +113,32 @@ exports.loansService = {
|
|
|
110
113
|
responseSerialize: (value) => Buffer.from(loansummary_1.loanSummaryResponse.encode(value).finish()),
|
|
111
114
|
responseDeserialize: (value) => loansummary_1.loanSummaryResponse.decode(value),
|
|
112
115
|
},
|
|
116
|
+
getCustomerLoanStatus: {
|
|
117
|
+
path: "/service.loans/getCustomerLoanStatus",
|
|
118
|
+
requestStream: false,
|
|
119
|
+
responseStream: false,
|
|
120
|
+
requestSerialize: (value) => Buffer.from(getcustomerloanstatus_1.getCustomerLoanStatusRequest.encode(value).finish()),
|
|
121
|
+
requestDeserialize: (value) => getcustomerloanstatus_1.getCustomerLoanStatusRequest.decode(value),
|
|
122
|
+
responseSerialize: (value) => Buffer.from(getcustomerloanstatus_1.getCustomerLoanStatusResponse.encode(value).finish()),
|
|
123
|
+
responseDeserialize: (value) => getcustomerloanstatus_1.getCustomerLoanStatusResponse.decode(value),
|
|
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
|
+
},
|
|
113
143
|
};
|
|
114
144
|
exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");
|
package/ts/payments.d.ts
CHANGED
|
@@ -1,56 +1,239 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
export declare const protobufPackage = "payments.service";
|
|
4
|
+
export interface checkpaymentstatusrequest {
|
|
5
|
+
customer_id: number;
|
|
6
|
+
client: string;
|
|
7
|
+
external_order_id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface checkpaymentstatusresponse {
|
|
10
|
+
status: string;
|
|
11
|
+
statusCode: number;
|
|
12
|
+
data: checkpaymentstatusresponse_Data | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface checkpaymentstatusresponse_Data {
|
|
15
|
+
payment_status: string;
|
|
16
|
+
external_order_id: string;
|
|
17
|
+
}
|
|
18
|
+
export interface getpaymentdetailsrequest {
|
|
19
|
+
checksum: string;
|
|
20
|
+
customer_id: string;
|
|
21
|
+
client: string;
|
|
22
|
+
}
|
|
23
|
+
export interface getpaymentdetailsresponse {
|
|
24
|
+
status: string;
|
|
25
|
+
statusCode: number;
|
|
26
|
+
data: getpaymentdetailsresponse_Data | undefined;
|
|
27
|
+
}
|
|
28
|
+
export interface getpaymentdetailsresponse_Data {
|
|
29
|
+
gateway_id: string;
|
|
30
|
+
gateway_name: string;
|
|
31
|
+
customer_name: string;
|
|
32
|
+
customer_mobile: string;
|
|
33
|
+
customer_email: string;
|
|
34
|
+
gateway_access_key_id: string;
|
|
35
|
+
gateway_checkout_url: string;
|
|
36
|
+
amount: number;
|
|
37
|
+
modes: string[];
|
|
38
|
+
}
|
|
39
|
+
export interface getpaymentoptionsrequest {
|
|
40
|
+
customer_id: string;
|
|
41
|
+
client: string;
|
|
42
|
+
}
|
|
43
|
+
export interface getpaymentoptionsresponse {
|
|
44
|
+
status: string;
|
|
45
|
+
statusCode: number;
|
|
46
|
+
data: getpaymentoptionsresponse_Data | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface getpaymentoptionsresponse_Data {
|
|
49
|
+
client: string;
|
|
50
|
+
modes: string[];
|
|
51
|
+
}
|
|
52
|
+
export interface initiatepaymentrequest {
|
|
53
|
+
customer_id: number;
|
|
54
|
+
auth_token: string;
|
|
55
|
+
device_id: string;
|
|
56
|
+
client: string;
|
|
57
|
+
mode: string;
|
|
58
|
+
amount: number;
|
|
59
|
+
external_order_id: string;
|
|
60
|
+
}
|
|
61
|
+
export interface initiatepaymentresponse {
|
|
62
|
+
status: string;
|
|
63
|
+
statusCode: number;
|
|
64
|
+
data: initiatepaymentresponse_Data | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface initiatepaymentresponse_Data {
|
|
67
|
+
redirect_url: string;
|
|
68
|
+
}
|
|
69
|
+
export declare const checkpaymentstatusrequest: {
|
|
70
|
+
encode(message: checkpaymentstatusrequest, writer?: _m0.Writer): _m0.Writer;
|
|
71
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): checkpaymentstatusrequest;
|
|
72
|
+
fromJSON(object: any): checkpaymentstatusrequest;
|
|
73
|
+
toJSON(message: checkpaymentstatusrequest): unknown;
|
|
74
|
+
create<I extends Exact<DeepPartial<checkpaymentstatusrequest>, I>>(base?: I): checkpaymentstatusrequest;
|
|
75
|
+
fromPartial<I extends Exact<DeepPartial<checkpaymentstatusrequest>, I>>(object: I): checkpaymentstatusrequest;
|
|
76
|
+
};
|
|
77
|
+
export declare const checkpaymentstatusresponse: {
|
|
78
|
+
encode(message: checkpaymentstatusresponse, writer?: _m0.Writer): _m0.Writer;
|
|
79
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): checkpaymentstatusresponse;
|
|
80
|
+
fromJSON(object: any): checkpaymentstatusresponse;
|
|
81
|
+
toJSON(message: checkpaymentstatusresponse): unknown;
|
|
82
|
+
create<I extends Exact<DeepPartial<checkpaymentstatusresponse>, I>>(base?: I): checkpaymentstatusresponse;
|
|
83
|
+
fromPartial<I extends Exact<DeepPartial<checkpaymentstatusresponse>, I>>(object: I): checkpaymentstatusresponse;
|
|
84
|
+
};
|
|
85
|
+
export declare const checkpaymentstatusresponse_Data: {
|
|
86
|
+
encode(message: checkpaymentstatusresponse_Data, writer?: _m0.Writer): _m0.Writer;
|
|
87
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): checkpaymentstatusresponse_Data;
|
|
88
|
+
fromJSON(object: any): checkpaymentstatusresponse_Data;
|
|
89
|
+
toJSON(message: checkpaymentstatusresponse_Data): unknown;
|
|
90
|
+
create<I extends Exact<DeepPartial<checkpaymentstatusresponse_Data>, I>>(base?: I): checkpaymentstatusresponse_Data;
|
|
91
|
+
fromPartial<I extends Exact<DeepPartial<checkpaymentstatusresponse_Data>, I>>(object: I): checkpaymentstatusresponse_Data;
|
|
92
|
+
};
|
|
93
|
+
export declare const getpaymentdetailsrequest: {
|
|
94
|
+
encode(message: getpaymentdetailsrequest, writer?: _m0.Writer): _m0.Writer;
|
|
95
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getpaymentdetailsrequest;
|
|
96
|
+
fromJSON(object: any): getpaymentdetailsrequest;
|
|
97
|
+
toJSON(message: getpaymentdetailsrequest): unknown;
|
|
98
|
+
create<I extends Exact<DeepPartial<getpaymentdetailsrequest>, I>>(base?: I): getpaymentdetailsrequest;
|
|
99
|
+
fromPartial<I extends Exact<DeepPartial<getpaymentdetailsrequest>, I>>(object: I): getpaymentdetailsrequest;
|
|
100
|
+
};
|
|
101
|
+
export declare const getpaymentdetailsresponse: {
|
|
102
|
+
encode(message: getpaymentdetailsresponse, writer?: _m0.Writer): _m0.Writer;
|
|
103
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getpaymentdetailsresponse;
|
|
104
|
+
fromJSON(object: any): getpaymentdetailsresponse;
|
|
105
|
+
toJSON(message: getpaymentdetailsresponse): unknown;
|
|
106
|
+
create<I extends Exact<DeepPartial<getpaymentdetailsresponse>, I>>(base?: I): getpaymentdetailsresponse;
|
|
107
|
+
fromPartial<I extends Exact<DeepPartial<getpaymentdetailsresponse>, I>>(object: I): getpaymentdetailsresponse;
|
|
108
|
+
};
|
|
109
|
+
export declare const getpaymentdetailsresponse_Data: {
|
|
110
|
+
encode(message: getpaymentdetailsresponse_Data, writer?: _m0.Writer): _m0.Writer;
|
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getpaymentdetailsresponse_Data;
|
|
112
|
+
fromJSON(object: any): getpaymentdetailsresponse_Data;
|
|
113
|
+
toJSON(message: getpaymentdetailsresponse_Data): unknown;
|
|
114
|
+
create<I extends Exact<DeepPartial<getpaymentdetailsresponse_Data>, I>>(base?: I): getpaymentdetailsresponse_Data;
|
|
115
|
+
fromPartial<I extends Exact<DeepPartial<getpaymentdetailsresponse_Data>, I>>(object: I): getpaymentdetailsresponse_Data;
|
|
116
|
+
};
|
|
117
|
+
export declare const getpaymentoptionsrequest: {
|
|
118
|
+
encode(message: getpaymentoptionsrequest, writer?: _m0.Writer): _m0.Writer;
|
|
119
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getpaymentoptionsrequest;
|
|
120
|
+
fromJSON(object: any): getpaymentoptionsrequest;
|
|
121
|
+
toJSON(message: getpaymentoptionsrequest): unknown;
|
|
122
|
+
create<I extends Exact<DeepPartial<getpaymentoptionsrequest>, I>>(base?: I): getpaymentoptionsrequest;
|
|
123
|
+
fromPartial<I extends Exact<DeepPartial<getpaymentoptionsrequest>, I>>(object: I): getpaymentoptionsrequest;
|
|
124
|
+
};
|
|
125
|
+
export declare const getpaymentoptionsresponse: {
|
|
126
|
+
encode(message: getpaymentoptionsresponse, writer?: _m0.Writer): _m0.Writer;
|
|
127
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getpaymentoptionsresponse;
|
|
128
|
+
fromJSON(object: any): getpaymentoptionsresponse;
|
|
129
|
+
toJSON(message: getpaymentoptionsresponse): unknown;
|
|
130
|
+
create<I extends Exact<DeepPartial<getpaymentoptionsresponse>, I>>(base?: I): getpaymentoptionsresponse;
|
|
131
|
+
fromPartial<I extends Exact<DeepPartial<getpaymentoptionsresponse>, I>>(object: I): getpaymentoptionsresponse;
|
|
132
|
+
};
|
|
133
|
+
export declare const getpaymentoptionsresponse_Data: {
|
|
134
|
+
encode(message: getpaymentoptionsresponse_Data, writer?: _m0.Writer): _m0.Writer;
|
|
135
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getpaymentoptionsresponse_Data;
|
|
136
|
+
fromJSON(object: any): getpaymentoptionsresponse_Data;
|
|
137
|
+
toJSON(message: getpaymentoptionsresponse_Data): unknown;
|
|
138
|
+
create<I extends Exact<DeepPartial<getpaymentoptionsresponse_Data>, I>>(base?: I): getpaymentoptionsresponse_Data;
|
|
139
|
+
fromPartial<I extends Exact<DeepPartial<getpaymentoptionsresponse_Data>, I>>(object: I): getpaymentoptionsresponse_Data;
|
|
140
|
+
};
|
|
141
|
+
export declare const initiatepaymentrequest: {
|
|
142
|
+
encode(message: initiatepaymentrequest, writer?: _m0.Writer): _m0.Writer;
|
|
143
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): initiatepaymentrequest;
|
|
144
|
+
fromJSON(object: any): initiatepaymentrequest;
|
|
145
|
+
toJSON(message: initiatepaymentrequest): unknown;
|
|
146
|
+
create<I extends Exact<DeepPartial<initiatepaymentrequest>, I>>(base?: I): initiatepaymentrequest;
|
|
147
|
+
fromPartial<I extends Exact<DeepPartial<initiatepaymentrequest>, I>>(object: I): initiatepaymentrequest;
|
|
148
|
+
};
|
|
149
|
+
export declare const initiatepaymentresponse: {
|
|
150
|
+
encode(message: initiatepaymentresponse, writer?: _m0.Writer): _m0.Writer;
|
|
151
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): initiatepaymentresponse;
|
|
152
|
+
fromJSON(object: any): initiatepaymentresponse;
|
|
153
|
+
toJSON(message: initiatepaymentresponse): unknown;
|
|
154
|
+
create<I extends Exact<DeepPartial<initiatepaymentresponse>, I>>(base?: I): initiatepaymentresponse;
|
|
155
|
+
fromPartial<I extends Exact<DeepPartial<initiatepaymentresponse>, I>>(object: I): initiatepaymentresponse;
|
|
156
|
+
};
|
|
157
|
+
export declare const initiatepaymentresponse_Data: {
|
|
158
|
+
encode(message: initiatepaymentresponse_Data, writer?: _m0.Writer): _m0.Writer;
|
|
159
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): initiatepaymentresponse_Data;
|
|
160
|
+
fromJSON(object: any): initiatepaymentresponse_Data;
|
|
161
|
+
toJSON(message: initiatepaymentresponse_Data): unknown;
|
|
162
|
+
create<I extends Exact<DeepPartial<initiatepaymentresponse_Data>, I>>(base?: I): initiatepaymentresponse_Data;
|
|
163
|
+
fromPartial<I extends Exact<DeepPartial<initiatepaymentresponse_Data>, I>>(object: I): initiatepaymentresponse_Data;
|
|
164
|
+
};
|
|
6
165
|
export type paymentsService = typeof paymentsService;
|
|
7
166
|
export declare const paymentsService: {
|
|
8
167
|
readonly getpaymentoptions: {
|
|
9
|
-
readonly path: "/service.payments/getpaymentoptions";
|
|
168
|
+
readonly path: "/payments.service.payments/getpaymentoptions";
|
|
10
169
|
readonly requestStream: false;
|
|
11
170
|
readonly responseStream: false;
|
|
12
|
-
readonly requestSerialize: (value:
|
|
13
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
14
|
-
readonly responseSerialize: (value:
|
|
15
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
171
|
+
readonly requestSerialize: (value: getpaymentoptionsrequest) => Buffer;
|
|
172
|
+
readonly requestDeserialize: (value: Buffer) => getpaymentoptionsrequest;
|
|
173
|
+
readonly responseSerialize: (value: getpaymentoptionsresponse) => Buffer;
|
|
174
|
+
readonly responseDeserialize: (value: Buffer) => getpaymentoptionsresponse;
|
|
16
175
|
};
|
|
17
176
|
readonly initiatepayment: {
|
|
18
|
-
readonly path: "/service.payments/initiatepayment";
|
|
177
|
+
readonly path: "/payments.service.payments/initiatepayment";
|
|
19
178
|
readonly requestStream: false;
|
|
20
179
|
readonly responseStream: false;
|
|
21
|
-
readonly requestSerialize: (value:
|
|
22
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
23
|
-
readonly responseSerialize: (value:
|
|
24
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
180
|
+
readonly requestSerialize: (value: initiatepaymentrequest) => Buffer;
|
|
181
|
+
readonly requestDeserialize: (value: Buffer) => initiatepaymentrequest;
|
|
182
|
+
readonly responseSerialize: (value: initiatepaymentresponse) => Buffer;
|
|
183
|
+
readonly responseDeserialize: (value: Buffer) => initiatepaymentresponse;
|
|
25
184
|
};
|
|
26
185
|
readonly checkpaymentstatus: {
|
|
27
|
-
readonly path: "/service.payments/checkpaymentstatus";
|
|
186
|
+
readonly path: "/payments.service.payments/checkpaymentstatus";
|
|
28
187
|
readonly requestStream: false;
|
|
29
188
|
readonly responseStream: false;
|
|
30
|
-
readonly requestSerialize: (value:
|
|
31
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
32
|
-
readonly responseSerialize: (value:
|
|
33
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
189
|
+
readonly requestSerialize: (value: checkpaymentstatusrequest) => Buffer;
|
|
190
|
+
readonly requestDeserialize: (value: Buffer) => checkpaymentstatusrequest;
|
|
191
|
+
readonly responseSerialize: (value: checkpaymentstatusresponse) => Buffer;
|
|
192
|
+
readonly responseDeserialize: (value: Buffer) => checkpaymentstatusresponse;
|
|
193
|
+
};
|
|
194
|
+
readonly getpaymentdetails: {
|
|
195
|
+
readonly path: "/payments.service.payments/getpaymentdetails";
|
|
196
|
+
readonly requestStream: false;
|
|
197
|
+
readonly responseStream: false;
|
|
198
|
+
readonly requestSerialize: (value: getpaymentdetailsrequest) => Buffer;
|
|
199
|
+
readonly requestDeserialize: (value: Buffer) => getpaymentdetailsrequest;
|
|
200
|
+
readonly responseSerialize: (value: getpaymentdetailsresponse) => Buffer;
|
|
201
|
+
readonly responseDeserialize: (value: Buffer) => getpaymentdetailsresponse;
|
|
34
202
|
};
|
|
35
203
|
};
|
|
36
204
|
export interface paymentsServer extends UntypedServiceImplementation {
|
|
37
|
-
getpaymentoptions: handleUnaryCall<
|
|
38
|
-
initiatepayment: handleUnaryCall<
|
|
39
|
-
checkpaymentstatus: handleUnaryCall<
|
|
205
|
+
getpaymentoptions: handleUnaryCall<getpaymentoptionsrequest, getpaymentoptionsresponse>;
|
|
206
|
+
initiatepayment: handleUnaryCall<initiatepaymentrequest, initiatepaymentresponse>;
|
|
207
|
+
checkpaymentstatus: handleUnaryCall<checkpaymentstatusrequest, checkpaymentstatusresponse>;
|
|
208
|
+
getpaymentdetails: handleUnaryCall<getpaymentdetailsrequest, getpaymentdetailsresponse>;
|
|
40
209
|
}
|
|
41
210
|
export interface paymentsClient extends Client {
|
|
42
|
-
getpaymentoptions(request:
|
|
43
|
-
getpaymentoptions(request:
|
|
44
|
-
getpaymentoptions(request:
|
|
45
|
-
initiatepayment(request:
|
|
46
|
-
initiatepayment(request:
|
|
47
|
-
initiatepayment(request:
|
|
48
|
-
checkpaymentstatus(request:
|
|
49
|
-
checkpaymentstatus(request:
|
|
50
|
-
checkpaymentstatus(request:
|
|
211
|
+
getpaymentoptions(request: getpaymentoptionsrequest, callback: (error: ServiceError | null, response: getpaymentoptionsresponse) => void): ClientUnaryCall;
|
|
212
|
+
getpaymentoptions(request: getpaymentoptionsrequest, metadata: Metadata, callback: (error: ServiceError | null, response: getpaymentoptionsresponse) => void): ClientUnaryCall;
|
|
213
|
+
getpaymentoptions(request: getpaymentoptionsrequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getpaymentoptionsresponse) => void): ClientUnaryCall;
|
|
214
|
+
initiatepayment(request: initiatepaymentrequest, callback: (error: ServiceError | null, response: initiatepaymentresponse) => void): ClientUnaryCall;
|
|
215
|
+
initiatepayment(request: initiatepaymentrequest, metadata: Metadata, callback: (error: ServiceError | null, response: initiatepaymentresponse) => void): ClientUnaryCall;
|
|
216
|
+
initiatepayment(request: initiatepaymentrequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: initiatepaymentresponse) => void): ClientUnaryCall;
|
|
217
|
+
checkpaymentstatus(request: checkpaymentstatusrequest, callback: (error: ServiceError | null, response: checkpaymentstatusresponse) => void): ClientUnaryCall;
|
|
218
|
+
checkpaymentstatus(request: checkpaymentstatusrequest, metadata: Metadata, callback: (error: ServiceError | null, response: checkpaymentstatusresponse) => void): ClientUnaryCall;
|
|
219
|
+
checkpaymentstatus(request: checkpaymentstatusrequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: checkpaymentstatusresponse) => void): ClientUnaryCall;
|
|
220
|
+
getpaymentdetails(request: getpaymentdetailsrequest, callback: (error: ServiceError | null, response: getpaymentdetailsresponse) => void): ClientUnaryCall;
|
|
221
|
+
getpaymentdetails(request: getpaymentdetailsrequest, metadata: Metadata, callback: (error: ServiceError | null, response: getpaymentdetailsresponse) => void): ClientUnaryCall;
|
|
222
|
+
getpaymentdetails(request: getpaymentdetailsrequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getpaymentdetailsresponse) => void): ClientUnaryCall;
|
|
51
223
|
}
|
|
52
224
|
export declare const paymentsClient: {
|
|
53
225
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): paymentsClient;
|
|
54
226
|
service: typeof paymentsService;
|
|
55
227
|
serviceName: string;
|
|
56
228
|
};
|
|
229
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
230
|
+
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 {} ? {
|
|
231
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
232
|
+
} : Partial<T>;
|
|
233
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
234
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
235
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
236
|
+
} & {
|
|
237
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
238
|
+
};
|
|
239
|
+
export {};
|