@stashfin/grpc 1.2.283 → 1.2.285
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/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getdbrcolending.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getobligation.js +1 -1
- package/ts/bureau/getreport.js +1 -1
- package/ts/bureau.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.js +1 -1
- package/ts/colender/repayLoan.js +1 -1
- package/ts/colender.js +1 -1
- package/ts/customers/aa/getaatxnstatus.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addfathersname.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addmoredetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
- package/ts/customers/cb/cbsignup.js +1 -1
- package/ts/customers/cb/getcbtxnstatus.js +1 -1
- package/ts/customers/cb/getcreditbuilder.js +1 -1
- package/ts/customers/cb/getpaymentsummary.js +1 -1
- package/ts/customers/cb/lesscsimprove.js +1 -1
- package/ts/customers/cb/morecsimprove.js +1 -1
- package/ts/customers/cb/paynow.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/cb/updatecbtxnstatus.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/enach/gettxnstatus.js +1 -1
- package/ts/customers/enach/getweburl.js +1 -1
- package/ts/customers/enach/updatetxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.js +1 -1
- package/ts/customers/forceupdate.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/freedom/addressconfirmation.js +1 -1
- package/ts/customers/freedom/freedompaynow.js +1 -1
- package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
- package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
- package/ts/customers/getaddresslist.js +1 -1
- package/ts/customers/getappsubmittedscreen.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getoccupationlist.js +1 -1
- package/ts/customers/getpaymentoptions.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/logout.js +1 -1
- package/ts/customers/pd/getbanklist.js +1 -1
- package/ts/customers/pd/validatebankaccount.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/savelimit.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/updatecategory.js +1 -1
- package/ts/customers/updatecustomerbyid.js +1 -1
- package/ts/customers/updatedlnumber.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatevehiclenumber.js +1 -1
- package/ts/customers/uploaddocuments.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.js +1 -1
- package/ts/decisionengine/decisionengine.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents.js +1 -1
- package/ts/example.js +1 -1
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.js +1 -1
- package/ts/growth/getchrplans.js +1 -1
- package/ts/growth/getcredithealthreport.js +1 -1
- package/ts/growth/initiatepayment.js +1 -1
- package/ts/growth/processchrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/loans/amortization.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/fcppayment.js +1 -1
- package/ts/loans/forecloseamount.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/futurepaymentmoredetails.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.js +1 -1
- package/ts/loans/getusedlimit.js +1 -1
- package/ts/loans/getvirtualbankinfo.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/paynow.js +1 -1
- package/ts/loans/refund.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/rollback.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans/updatetransactionstatus.js +1 -1
- package/ts/loans.js +1 -1
- package/ts/payments/checkpaymentstatus.js +1 -1
- package/ts/payments/fundtransfer.d.ts +62 -0
- package/ts/payments/fundtransfer.js +410 -0
- package/ts/payments/getpaymentoptions.js +1 -1
- package/ts/payments/initiatepayment.js +1 -1
- package/ts/payments/nachpresentation.js +1 -1
- package/ts/payments/nachregistration.d.ts +1 -0
- package/ts/payments/nachregistration.js +16 -1
- package/ts/payments.d.ts +14 -0
- package/ts/payments.js +11 -1
- 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
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: payments/getpaymentoptions.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: payments/initiatepayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: payments/nachpresentation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: payments/nachregistration.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -23,6 +23,7 @@ function createBaserequest() {
|
|
|
23
23
|
bank_ifsc: undefined,
|
|
24
24
|
maximum_amount: 0,
|
|
25
25
|
external_order_id: "",
|
|
26
|
+
vpa_id: undefined,
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
exports.request = {
|
|
@@ -51,6 +52,9 @@ exports.request = {
|
|
|
51
52
|
if (message.external_order_id !== "") {
|
|
52
53
|
writer.uint32(66).string(message.external_order_id);
|
|
53
54
|
}
|
|
55
|
+
if (message.vpa_id !== undefined) {
|
|
56
|
+
writer.uint32(74).string(message.vpa_id);
|
|
57
|
+
}
|
|
54
58
|
return writer;
|
|
55
59
|
},
|
|
56
60
|
decode(input, length) {
|
|
@@ -108,6 +112,12 @@ exports.request = {
|
|
|
108
112
|
}
|
|
109
113
|
message.external_order_id = reader.string();
|
|
110
114
|
continue;
|
|
115
|
+
case 9:
|
|
116
|
+
if (tag !== 74) {
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
message.vpa_id = reader.string();
|
|
120
|
+
continue;
|
|
111
121
|
}
|
|
112
122
|
if ((tag & 7) === 4 || tag === 0) {
|
|
113
123
|
break;
|
|
@@ -128,6 +138,7 @@ exports.request = {
|
|
|
128
138
|
bank_ifsc: isSet(object.bank_ifsc) ? globalThis.String(object.bank_ifsc) : undefined,
|
|
129
139
|
maximum_amount: isSet(object.maximum_amount) ? globalThis.Number(object.maximum_amount) : 0,
|
|
130
140
|
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
141
|
+
vpa_id: isSet(object.vpa_id) ? globalThis.String(object.vpa_id) : undefined,
|
|
131
142
|
};
|
|
132
143
|
},
|
|
133
144
|
toJSON(message) {
|
|
@@ -156,6 +167,9 @@ exports.request = {
|
|
|
156
167
|
if (message.external_order_id !== "") {
|
|
157
168
|
obj.external_order_id = message.external_order_id;
|
|
158
169
|
}
|
|
170
|
+
if (message.vpa_id !== undefined) {
|
|
171
|
+
obj.vpa_id = message.vpa_id;
|
|
172
|
+
}
|
|
159
173
|
return obj;
|
|
160
174
|
},
|
|
161
175
|
create(base) {
|
|
@@ -171,6 +185,7 @@ exports.request = {
|
|
|
171
185
|
message.bank_ifsc = object.bank_ifsc ?? undefined;
|
|
172
186
|
message.maximum_amount = object.maximum_amount ?? 0;
|
|
173
187
|
message.external_order_id = object.external_order_id ?? "";
|
|
188
|
+
message.vpa_id = object.vpa_id ?? undefined;
|
|
174
189
|
return message;
|
|
175
190
|
},
|
|
176
191
|
};
|
package/ts/payments.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
2
|
import { request as request3, response as response4 } from "./payments/checkpaymentstatus";
|
|
3
|
+
import { request as request9, response as response10 } from "./payments/fundtransfer";
|
|
3
4
|
import { request, response } from "./payments/getpaymentoptions";
|
|
4
5
|
import { request as request1, response as response2 } from "./payments/initiatepayment";
|
|
5
6
|
import { request as request7, response as response8 } from "./payments/nachpresentation";
|
|
@@ -52,6 +53,15 @@ export declare const paymentsService: {
|
|
|
52
53
|
readonly responseSerialize: (value: response8) => Buffer;
|
|
53
54
|
readonly responseDeserialize: (value: Buffer) => response8;
|
|
54
55
|
};
|
|
56
|
+
readonly fundtransfer: {
|
|
57
|
+
readonly path: "/service.payments/fundtransfer";
|
|
58
|
+
readonly requestStream: false;
|
|
59
|
+
readonly responseStream: false;
|
|
60
|
+
readonly requestSerialize: (value: request9) => Buffer;
|
|
61
|
+
readonly requestDeserialize: (value: Buffer) => request9;
|
|
62
|
+
readonly responseSerialize: (value: response10) => Buffer;
|
|
63
|
+
readonly responseDeserialize: (value: Buffer) => response10;
|
|
64
|
+
};
|
|
55
65
|
};
|
|
56
66
|
export interface paymentsServer extends UntypedServiceImplementation {
|
|
57
67
|
getpaymentoptions: handleUnaryCall<request, response>;
|
|
@@ -59,6 +69,7 @@ export interface paymentsServer extends UntypedServiceImplementation {
|
|
|
59
69
|
checkpaymentstatus: handleUnaryCall<request3, response4>;
|
|
60
70
|
nachregistration: handleUnaryCall<request5, response6>;
|
|
61
71
|
nachpresentation: handleUnaryCall<request7, response8>;
|
|
72
|
+
fundtransfer: handleUnaryCall<request9, response10>;
|
|
62
73
|
}
|
|
63
74
|
export interface paymentsClient extends Client {
|
|
64
75
|
getpaymentoptions(request: request, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
@@ -76,6 +87,9 @@ export interface paymentsClient extends Client {
|
|
|
76
87
|
nachpresentation(request: request7, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
77
88
|
nachpresentation(request: request7, metadata: Metadata, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
78
89
|
nachpresentation(request: request7, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
90
|
+
fundtransfer(request: request9, callback: (error: ServiceError | null, response: response10) => void): ClientUnaryCall;
|
|
91
|
+
fundtransfer(request: request9, metadata: Metadata, callback: (error: ServiceError | null, response: response10) => void): ClientUnaryCall;
|
|
92
|
+
fundtransfer(request: request9, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response10) => void): ClientUnaryCall;
|
|
79
93
|
}
|
|
80
94
|
export declare const paymentsClient: {
|
|
81
95
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): paymentsClient;
|
package/ts/payments.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: payments.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,6 +9,7 @@ exports.paymentsClient = exports.paymentsService = exports.protobufPackage = voi
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
11
|
const checkpaymentstatus_1 = require("./payments/checkpaymentstatus");
|
|
12
|
+
const fundtransfer_1 = require("./payments/fundtransfer");
|
|
12
13
|
const getpaymentoptions_1 = require("./payments/getpaymentoptions");
|
|
13
14
|
const initiatepayment_1 = require("./payments/initiatepayment");
|
|
14
15
|
const nachpresentation_1 = require("./payments/nachpresentation");
|
|
@@ -60,5 +61,14 @@ exports.paymentsService = {
|
|
|
60
61
|
responseSerialize: (value) => Buffer.from(nachpresentation_1.response.encode(value).finish()),
|
|
61
62
|
responseDeserialize: (value) => nachpresentation_1.response.decode(value),
|
|
62
63
|
},
|
|
64
|
+
fundtransfer: {
|
|
65
|
+
path: "/service.payments/fundtransfer",
|
|
66
|
+
requestStream: false,
|
|
67
|
+
responseStream: false,
|
|
68
|
+
requestSerialize: (value) => Buffer.from(fundtransfer_1.request.encode(value).finish()),
|
|
69
|
+
requestDeserialize: (value) => fundtransfer_1.request.decode(value),
|
|
70
|
+
responseSerialize: (value) => Buffer.from(fundtransfer_1.response.encode(value).finish()),
|
|
71
|
+
responseDeserialize: (value) => fundtransfer_1.response.decode(value),
|
|
72
|
+
},
|
|
63
73
|
};
|
|
64
74
|
exports.paymentsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.paymentsService, "service.payments");
|
package/ts/stashcash/creditsc.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: stashcash/creditsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/stashcash/debitsc.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: stashcash/debitsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: stashcash/getscbalance.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: stashcash/getschistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: stashcash/reversesc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/stashcash.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: stashcash.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|