@stashfin/grpc 1.2.262 → 1.2.264
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 +2 -2
- package/ts/bureau/getdbrcolending.js +2 -2
- package/ts/bureau/getdemogs.js +2 -2
- package/ts/bureau/getobligation.js +2 -2
- package/ts/bureau/getreport.d.ts +3 -3
- package/ts/bureau/getreport.js +2 -2
- package/ts/bureau.js +2 -2
- package/ts/colender/disburseLoan.js +2 -2
- package/ts/colender/forecloseLoan.js +2 -2
- package/ts/colender/repayLoan.js +2 -2
- package/ts/colender.js +2 -2
- package/ts/customers/aa/getbanklist.js +2 -2
- package/ts/customers/aa/initiate.js +2 -2
- package/ts/customers/addaddress.js +2 -2
- package/ts/customers/addbankaccountdetails.js +2 -2
- package/ts/customers/addfathersname.js +2 -2
- package/ts/customers/addgstnumber.js +2 -2
- package/ts/customers/addmoredetails.js +2 -2
- package/ts/customers/addsuspendedcustomer.js +2 -2
- package/ts/customers/adduserapps.js +2 -2
- package/ts/customers/bulksms.js +2 -2
- package/ts/customers/cb/cbsignup.js +2 -2
- package/ts/customers/cb/getcbtxnstatus.js +2 -2
- package/ts/customers/cb/getcreditbuilder.js +2 -2
- package/ts/customers/cb/paynow.js +2 -2
- package/ts/customers/cb/savecreditbuilder.js +2 -2
- package/ts/customers/cb/updatecbtxnstatus.js +2 -2
- package/ts/customers/changempin.js +2 -2
- package/ts/customers/createcustomerreference.js +2 -2
- package/ts/customers/deleteprofile.js +2 -2
- package/ts/customers/disablempin.js +2 -2
- package/ts/customers/enach/gettxnstatus.js +2 -2
- package/ts/customers/enach/getweburl.js +2 -2
- package/ts/customers/enach/updatetxnstatus.js +2 -2
- package/ts/customers/fetchrcprofile.js +2 -2
- package/ts/customers/floatingvideos.js +2 -2
- package/ts/customers/forgotmpin.js +2 -2
- package/ts/customers/forgotmpinverify.js +2 -2
- package/ts/customers/freedom/addressconfirmation.js +2 -2
- package/ts/customers/freedom/freedompaynow.js +2 -2
- package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
- package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
- package/ts/customers/getaddresslist.js +2 -2
- package/ts/customers/getappsubmittedscreen.js +2 -2
- package/ts/customers/getbankaccountdetails.js +2 -2
- package/ts/customers/getbasicinfo.js +2 -2
- package/ts/customers/getcities.js +2 -2
- package/ts/customers/getcompanyaccdetails.js +2 -2
- package/ts/customers/getcustomerbyid.js +2 -2
- package/ts/customers/getdashboard.js +2 -2
- package/ts/customers/getdashboardmaincard.js +2 -2
- package/ts/customers/getdocuments.js +2 -2
- package/ts/customers/getlimit.js +2 -2
- package/ts/customers/getoccupationlist.js +2 -2
- package/ts/customers/getprofessionalinfo.js +2 -2
- package/ts/customers/getprofile.js +2 -2
- package/ts/customers/getselfieetxnid.js +2 -2
- package/ts/customers/getstates.js +2 -2
- package/ts/customers/getstep.js +2 -2
- package/ts/customers/logout.js +2 -2
- package/ts/customers/pd/getbanklist.js +2 -2
- package/ts/customers/pd/validatebankaccount.js +2 -2
- package/ts/customers/profilebasic.js +2 -2
- package/ts/customers/profileupdatetnc.js +2 -2
- package/ts/customers/rpd/getrpdlink.js +2 -2
- package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
- package/ts/customers/rpd/mockpayment.js +2 -2
- package/ts/customers/savebasicdetails.js +2 -2
- package/ts/customers/savelimit.js +2 -2
- package/ts/customers/saveunlocklimit.js +2 -2
- package/ts/customers/sendotp.js +2 -2
- package/ts/customers/sendotptoemail.js +2 -2
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipscreen.js +2 -2
- package/ts/customers/updatecustomerbyid.js +2 -2
- package/ts/customers/updatedlnumber.js +2 -2
- package/ts/customers/updatedob.js +2 -2
- package/ts/customers/updatelocstatus.js +2 -2
- package/ts/customers/updatemobilesendotp.js +2 -2
- package/ts/customers/updatemobileverifyotp.js +2 -2
- package/ts/customers/updateokyctxn.js +2 -2
- package/ts/customers/updateselfieetxn.js +2 -2
- package/ts/customers/updatevehiclenumber.js +2 -2
- package/ts/customers/uploaddocuments.js +2 -2
- package/ts/customers/validatepan.js +2 -2
- package/ts/customers/verifympin.js +2 -2
- package/ts/customers/verifyotp.js +2 -2
- package/ts/customers/verifyotptoemail.js +2 -2
- package/ts/customers.d.ts +0 -28
- package/ts/customers.js +2 -22
- package/ts/decisionengine/decisionengine.js +2 -2
- package/ts/decisionengine.js +2 -2
- package/ts/example.js +2 -2
- package/ts/growth/checkplanstatus.js +2 -2
- package/ts/growth/getattachplandetails.js +2 -2
- package/ts/growth/getchrplans.js +2 -2
- package/ts/growth/getcredithealthreport.js +2 -2
- package/ts/growth/initiatepayment.js +2 -2
- package/ts/growth/processchrpayment.js +2 -2
- package/ts/growth.js +2 -2
- package/ts/loans/amortization.js +2 -2
- package/ts/loans/approveloan.d.ts +0 -1
- package/ts/loans/approveloan.js +6 -21
- package/ts/loans/banklist.js +2 -2
- package/ts/loans/calculateemi.js +2 -2
- package/ts/loans/creditlimit.js +2 -2
- package/ts/loans/fcppayment.d.ts +1 -0
- package/ts/loans/fcppayment.js +19 -5
- package/ts/loans/forecloseamount.js +2 -2
- package/ts/loans/foreclosepayment.d.ts +1 -0
- package/ts/loans/foreclosepayment.js +19 -5
- package/ts/loans/futurepaymentmoredetails.js +2 -2
- package/ts/loans/getbilldetails.js +2 -2
- package/ts/loans/getcustomerloanstatus.js +2 -2
- package/ts/loans/getloanbyid.d.ts +0 -1
- package/ts/loans/getloanbyid.js +2 -17
- package/ts/loans/getnextdueamount.js +2 -2
- package/ts/loans/getpendingemiamount.js +2 -2
- package/ts/loans/getsummarystaticfields.js +2 -2
- package/ts/loans/gettransactionstatus.js +2 -2
- package/ts/loans/getvirtualbankinfo.js +2 -2
- package/ts/loans/loansummary.d.ts +0 -1
- package/ts/loans/loansummary.js +6 -21
- package/ts/loans/paymentallocation.js +2 -2
- package/ts/loans/paymenthistory.js +2 -2
- package/ts/loans/paynow.js +2 -2
- package/ts/loans/refund.d.ts +1 -0
- package/ts/loans/refund.js +19 -5
- package/ts/loans/restructureloan.js +2 -2
- package/ts/loans/rollback.d.ts +1 -0
- package/ts/loans/rollback.js +19 -5
- package/ts/loans/sendemail.js +2 -2
- package/ts/loans/sendnocemail.js +2 -2
- package/ts/loans/transactionlist.js +2 -2
- package/ts/loans/updateinstallments.d.ts +2 -0
- package/ts/loans/updateinstallments.js +45 -8
- package/ts/loans/updateloan.js +2 -2
- package/ts/loans/updatetransactionstatus.js +2 -2
- package/ts/loans.d.ts +0 -14
- package/ts/loans.js +2 -12
- package/ts/payments/checkpaymentstatus.js +2 -2
- package/ts/payments/getpaymentoptions.js +2 -2
- package/ts/payments/initiatepayment.js +2 -2
- package/ts/payments/nachpresentation.js +2 -2
- package/ts/payments/nachregistration.js +2 -2
- package/ts/payments.js +2 -2
- package/ts/stashcash/creditsc.js +2 -2
- package/ts/stashcash/debitsc.js +2 -2
- package/ts/stashcash/getscbalance.js +2 -2
- package/ts/stashcash/getschistory.js +2 -2
- package/ts/stashcash/reversesc.js +2 -2
- package/ts/stashcash.js +2 -2
- package/ts/bureau/getbureaulist.d.ts +0 -52
- package/ts/bureau/getbureaulist.js +0 -276
- package/ts/customers/getpaymentoptions.d.ts +0 -51
- package/ts/customers/getpaymentoptions.js +0 -243
- package/ts/customers/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
- package/ts/customers/updatecategory.d.ts +0 -36
- package/ts/customers/updatecategory.js +0 -147
- package/ts/loans/getusedlimit.d.ts +0 -35
- package/ts/loans/getusedlimit.js +0 -117
|
@@ -1,243 +0,0 @@
|
|
|
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.2
|
|
6
|
-
// source: customers/getpaymentoptions.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.PaymentOption = exports.paymentOptionResponse = exports.paymentOptionRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getpaymentoptions";
|
|
15
|
-
function createBasepaymentOptionRequest() {
|
|
16
|
-
return { order_id: "" };
|
|
17
|
-
}
|
|
18
|
-
exports.paymentOptionRequest = {
|
|
19
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.order_id !== "") {
|
|
21
|
-
writer.uint32(10).string(message.order_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 = createBasepaymentOptionRequest();
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
const tag = reader.uint32();
|
|
31
|
-
switch (tag >>> 3) {
|
|
32
|
-
case 1:
|
|
33
|
-
if (tag !== 10) {
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
message.order_id = reader.string();
|
|
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 { order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "" };
|
|
48
|
-
},
|
|
49
|
-
toJSON(message) {
|
|
50
|
-
const obj = {};
|
|
51
|
-
if (message.order_id !== "") {
|
|
52
|
-
obj.order_id = message.order_id;
|
|
53
|
-
}
|
|
54
|
-
return obj;
|
|
55
|
-
},
|
|
56
|
-
create(base) {
|
|
57
|
-
return exports.paymentOptionRequest.fromPartial(base ?? {});
|
|
58
|
-
},
|
|
59
|
-
fromPartial(object) {
|
|
60
|
-
const message = createBasepaymentOptionRequest();
|
|
61
|
-
message.order_id = object.order_id ?? "";
|
|
62
|
-
return message;
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
function createBasepaymentOptionResponse() {
|
|
66
|
-
return { options: [] };
|
|
67
|
-
}
|
|
68
|
-
exports.paymentOptionResponse = {
|
|
69
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
for (const v of message.options) {
|
|
71
|
-
exports.PaymentOption.encode(v, writer.uint32(10).fork()).ldelim();
|
|
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 = createBasepaymentOptionResponse();
|
|
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.options.push(exports.PaymentOption.decode(reader, reader.uint32()));
|
|
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 {
|
|
98
|
-
options: globalThis.Array.isArray(object?.options)
|
|
99
|
-
? object.options.map((e) => exports.PaymentOption.fromJSON(e))
|
|
100
|
-
: [],
|
|
101
|
-
};
|
|
102
|
-
},
|
|
103
|
-
toJSON(message) {
|
|
104
|
-
const obj = {};
|
|
105
|
-
if (message.options?.length) {
|
|
106
|
-
obj.options = message.options.map((e) => exports.PaymentOption.toJSON(e));
|
|
107
|
-
}
|
|
108
|
-
return obj;
|
|
109
|
-
},
|
|
110
|
-
create(base) {
|
|
111
|
-
return exports.paymentOptionResponse.fromPartial(base ?? {});
|
|
112
|
-
},
|
|
113
|
-
fromPartial(object) {
|
|
114
|
-
const message = createBasepaymentOptionResponse();
|
|
115
|
-
message.options = object.options?.map((e) => exports.PaymentOption.fromPartial(e)) || [];
|
|
116
|
-
return message;
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
function createBasePaymentOption() {
|
|
120
|
-
return { modes: [], gateway: "", amount: 0, service_fee: 0, other_fees: 0, total_amount: 0 };
|
|
121
|
-
}
|
|
122
|
-
exports.PaymentOption = {
|
|
123
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
124
|
-
for (const v of message.modes) {
|
|
125
|
-
writer.uint32(10).string(v);
|
|
126
|
-
}
|
|
127
|
-
if (message.gateway !== "") {
|
|
128
|
-
writer.uint32(18).string(message.gateway);
|
|
129
|
-
}
|
|
130
|
-
if (message.amount !== 0) {
|
|
131
|
-
writer.uint32(25).double(message.amount);
|
|
132
|
-
}
|
|
133
|
-
if (message.service_fee !== 0) {
|
|
134
|
-
writer.uint32(33).double(message.service_fee);
|
|
135
|
-
}
|
|
136
|
-
if (message.other_fees !== 0) {
|
|
137
|
-
writer.uint32(41).double(message.other_fees);
|
|
138
|
-
}
|
|
139
|
-
if (message.total_amount !== 0) {
|
|
140
|
-
writer.uint32(49).double(message.total_amount);
|
|
141
|
-
}
|
|
142
|
-
return writer;
|
|
143
|
-
},
|
|
144
|
-
decode(input, length) {
|
|
145
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
146
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
147
|
-
const message = createBasePaymentOption();
|
|
148
|
-
while (reader.pos < end) {
|
|
149
|
-
const tag = reader.uint32();
|
|
150
|
-
switch (tag >>> 3) {
|
|
151
|
-
case 1:
|
|
152
|
-
if (tag !== 10) {
|
|
153
|
-
break;
|
|
154
|
-
}
|
|
155
|
-
message.modes.push(reader.string());
|
|
156
|
-
continue;
|
|
157
|
-
case 2:
|
|
158
|
-
if (tag !== 18) {
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
message.gateway = reader.string();
|
|
162
|
-
continue;
|
|
163
|
-
case 3:
|
|
164
|
-
if (tag !== 25) {
|
|
165
|
-
break;
|
|
166
|
-
}
|
|
167
|
-
message.amount = reader.double();
|
|
168
|
-
continue;
|
|
169
|
-
case 4:
|
|
170
|
-
if (tag !== 33) {
|
|
171
|
-
break;
|
|
172
|
-
}
|
|
173
|
-
message.service_fee = reader.double();
|
|
174
|
-
continue;
|
|
175
|
-
case 5:
|
|
176
|
-
if (tag !== 41) {
|
|
177
|
-
break;
|
|
178
|
-
}
|
|
179
|
-
message.other_fees = reader.double();
|
|
180
|
-
continue;
|
|
181
|
-
case 6:
|
|
182
|
-
if (tag !== 49) {
|
|
183
|
-
break;
|
|
184
|
-
}
|
|
185
|
-
message.total_amount = reader.double();
|
|
186
|
-
continue;
|
|
187
|
-
}
|
|
188
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
189
|
-
break;
|
|
190
|
-
}
|
|
191
|
-
reader.skipType(tag & 7);
|
|
192
|
-
}
|
|
193
|
-
return message;
|
|
194
|
-
},
|
|
195
|
-
fromJSON(object) {
|
|
196
|
-
return {
|
|
197
|
-
modes: globalThis.Array.isArray(object?.modes) ? object.modes.map((e) => globalThis.String(e)) : [],
|
|
198
|
-
gateway: isSet(object.gateway) ? globalThis.String(object.gateway) : "",
|
|
199
|
-
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
200
|
-
service_fee: isSet(object.service_fee) ? globalThis.Number(object.service_fee) : 0,
|
|
201
|
-
other_fees: isSet(object.other_fees) ? globalThis.Number(object.other_fees) : 0,
|
|
202
|
-
total_amount: isSet(object.total_amount) ? globalThis.Number(object.total_amount) : 0,
|
|
203
|
-
};
|
|
204
|
-
},
|
|
205
|
-
toJSON(message) {
|
|
206
|
-
const obj = {};
|
|
207
|
-
if (message.modes?.length) {
|
|
208
|
-
obj.modes = message.modes;
|
|
209
|
-
}
|
|
210
|
-
if (message.gateway !== "") {
|
|
211
|
-
obj.gateway = message.gateway;
|
|
212
|
-
}
|
|
213
|
-
if (message.amount !== 0) {
|
|
214
|
-
obj.amount = message.amount;
|
|
215
|
-
}
|
|
216
|
-
if (message.service_fee !== 0) {
|
|
217
|
-
obj.service_fee = message.service_fee;
|
|
218
|
-
}
|
|
219
|
-
if (message.other_fees !== 0) {
|
|
220
|
-
obj.other_fees = message.other_fees;
|
|
221
|
-
}
|
|
222
|
-
if (message.total_amount !== 0) {
|
|
223
|
-
obj.total_amount = message.total_amount;
|
|
224
|
-
}
|
|
225
|
-
return obj;
|
|
226
|
-
},
|
|
227
|
-
create(base) {
|
|
228
|
-
return exports.PaymentOption.fromPartial(base ?? {});
|
|
229
|
-
},
|
|
230
|
-
fromPartial(object) {
|
|
231
|
-
const message = createBasePaymentOption();
|
|
232
|
-
message.modes = object.modes?.map((e) => e) || [];
|
|
233
|
-
message.gateway = object.gateway ?? "";
|
|
234
|
-
message.amount = object.amount ?? 0;
|
|
235
|
-
message.service_fee = object.service_fee ?? 0;
|
|
236
|
-
message.other_fees = object.other_fees ?? 0;
|
|
237
|
-
message.total_amount = object.total_amount ?? 0;
|
|
238
|
-
return message;
|
|
239
|
-
},
|
|
240
|
-
};
|
|
241
|
-
function isSet(value) {
|
|
242
|
-
return value !== null && value !== undefined;
|
|
243
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getrpdlink";
|
|
3
|
-
export interface createRpdLinkRequest {
|
|
4
|
-
}
|
|
5
|
-
export interface createRpdLinkResponse {
|
|
6
|
-
id: string;
|
|
7
|
-
shortUrl: string;
|
|
8
|
-
status: string;
|
|
9
|
-
traceId: string;
|
|
10
|
-
upiBillId: string;
|
|
11
|
-
upiLink: string;
|
|
12
|
-
validUpto: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const createRpdLinkRequest: {
|
|
15
|
-
encode(_: createRpdLinkRequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkRequest;
|
|
17
|
-
fromJSON(_: any): createRpdLinkRequest;
|
|
18
|
-
toJSON(_: createRpdLinkRequest): unknown;
|
|
19
|
-
create<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(base?: I): createRpdLinkRequest;
|
|
20
|
-
fromPartial<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(_: I): createRpdLinkRequest;
|
|
21
|
-
};
|
|
22
|
-
export declare const createRpdLinkResponse: {
|
|
23
|
-
encode(message: createRpdLinkResponse, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkResponse;
|
|
25
|
-
fromJSON(object: any): createRpdLinkResponse;
|
|
26
|
-
toJSON(message: createRpdLinkResponse): unknown;
|
|
27
|
-
create<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(base?: I): createRpdLinkResponse;
|
|
28
|
-
fromPartial<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(object: I): createRpdLinkResponse;
|
|
29
|
-
};
|
|
30
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
31
|
-
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 {} ? {
|
|
32
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
33
|
-
} : Partial<T>;
|
|
34
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
35
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
36
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
37
|
-
} & {
|
|
38
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
39
|
-
};
|
|
40
|
-
export {};
|
|
@@ -1,190 +0,0 @@
|
|
|
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: customers/getrpdlink.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.createRpdLinkResponse = exports.createRpdLinkRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getrpdlink";
|
|
15
|
-
function createBasecreateRpdLinkRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.createRpdLinkRequest = {
|
|
19
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
return writer;
|
|
21
|
-
},
|
|
22
|
-
decode(input, length) {
|
|
23
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
-
const message = createBasecreateRpdLinkRequest();
|
|
26
|
-
while (reader.pos < end) {
|
|
27
|
-
const tag = reader.uint32();
|
|
28
|
-
switch (tag >>> 3) {
|
|
29
|
-
}
|
|
30
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
reader.skipType(tag & 7);
|
|
34
|
-
}
|
|
35
|
-
return message;
|
|
36
|
-
},
|
|
37
|
-
fromJSON(_) {
|
|
38
|
-
return {};
|
|
39
|
-
},
|
|
40
|
-
toJSON(_) {
|
|
41
|
-
const obj = {};
|
|
42
|
-
return obj;
|
|
43
|
-
},
|
|
44
|
-
create(base) {
|
|
45
|
-
return exports.createRpdLinkRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasecreateRpdLinkRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBasecreateRpdLinkResponse() {
|
|
53
|
-
return { id: "", shortUrl: "", status: "", traceId: "", upiBillId: "", upiLink: "", validUpto: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.createRpdLinkResponse = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.id !== "") {
|
|
58
|
-
writer.uint32(10).string(message.id);
|
|
59
|
-
}
|
|
60
|
-
if (message.shortUrl !== "") {
|
|
61
|
-
writer.uint32(18).string(message.shortUrl);
|
|
62
|
-
}
|
|
63
|
-
if (message.status !== "") {
|
|
64
|
-
writer.uint32(26).string(message.status);
|
|
65
|
-
}
|
|
66
|
-
if (message.traceId !== "") {
|
|
67
|
-
writer.uint32(34).string(message.traceId);
|
|
68
|
-
}
|
|
69
|
-
if (message.upiBillId !== "") {
|
|
70
|
-
writer.uint32(42).string(message.upiBillId);
|
|
71
|
-
}
|
|
72
|
-
if (message.upiLink !== "") {
|
|
73
|
-
writer.uint32(50).string(message.upiLink);
|
|
74
|
-
}
|
|
75
|
-
if (message.validUpto !== "") {
|
|
76
|
-
writer.uint32(58).string(message.validUpto);
|
|
77
|
-
}
|
|
78
|
-
return writer;
|
|
79
|
-
},
|
|
80
|
-
decode(input, length) {
|
|
81
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
82
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
83
|
-
const message = createBasecreateRpdLinkResponse();
|
|
84
|
-
while (reader.pos < end) {
|
|
85
|
-
const tag = reader.uint32();
|
|
86
|
-
switch (tag >>> 3) {
|
|
87
|
-
case 1:
|
|
88
|
-
if (tag !== 10) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
message.id = reader.string();
|
|
92
|
-
continue;
|
|
93
|
-
case 2:
|
|
94
|
-
if (tag !== 18) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
message.shortUrl = reader.string();
|
|
98
|
-
continue;
|
|
99
|
-
case 3:
|
|
100
|
-
if (tag !== 26) {
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
|
-
message.status = reader.string();
|
|
104
|
-
continue;
|
|
105
|
-
case 4:
|
|
106
|
-
if (tag !== 34) {
|
|
107
|
-
break;
|
|
108
|
-
}
|
|
109
|
-
message.traceId = reader.string();
|
|
110
|
-
continue;
|
|
111
|
-
case 5:
|
|
112
|
-
if (tag !== 42) {
|
|
113
|
-
break;
|
|
114
|
-
}
|
|
115
|
-
message.upiBillId = reader.string();
|
|
116
|
-
continue;
|
|
117
|
-
case 6:
|
|
118
|
-
if (tag !== 50) {
|
|
119
|
-
break;
|
|
120
|
-
}
|
|
121
|
-
message.upiLink = reader.string();
|
|
122
|
-
continue;
|
|
123
|
-
case 7:
|
|
124
|
-
if (tag !== 58) {
|
|
125
|
-
break;
|
|
126
|
-
}
|
|
127
|
-
message.validUpto = reader.string();
|
|
128
|
-
continue;
|
|
129
|
-
}
|
|
130
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
131
|
-
break;
|
|
132
|
-
}
|
|
133
|
-
reader.skipType(tag & 7);
|
|
134
|
-
}
|
|
135
|
-
return message;
|
|
136
|
-
},
|
|
137
|
-
fromJSON(object) {
|
|
138
|
-
return {
|
|
139
|
-
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
140
|
-
shortUrl: isSet(object.shortUrl) ? globalThis.String(object.shortUrl) : "",
|
|
141
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
142
|
-
traceId: isSet(object.traceId) ? globalThis.String(object.traceId) : "",
|
|
143
|
-
upiBillId: isSet(object.upiBillId) ? globalThis.String(object.upiBillId) : "",
|
|
144
|
-
upiLink: isSet(object.upiLink) ? globalThis.String(object.upiLink) : "",
|
|
145
|
-
validUpto: isSet(object.validUpto) ? globalThis.String(object.validUpto) : "",
|
|
146
|
-
};
|
|
147
|
-
},
|
|
148
|
-
toJSON(message) {
|
|
149
|
-
const obj = {};
|
|
150
|
-
if (message.id !== "") {
|
|
151
|
-
obj.id = message.id;
|
|
152
|
-
}
|
|
153
|
-
if (message.shortUrl !== "") {
|
|
154
|
-
obj.shortUrl = message.shortUrl;
|
|
155
|
-
}
|
|
156
|
-
if (message.status !== "") {
|
|
157
|
-
obj.status = message.status;
|
|
158
|
-
}
|
|
159
|
-
if (message.traceId !== "") {
|
|
160
|
-
obj.traceId = message.traceId;
|
|
161
|
-
}
|
|
162
|
-
if (message.upiBillId !== "") {
|
|
163
|
-
obj.upiBillId = message.upiBillId;
|
|
164
|
-
}
|
|
165
|
-
if (message.upiLink !== "") {
|
|
166
|
-
obj.upiLink = message.upiLink;
|
|
167
|
-
}
|
|
168
|
-
if (message.validUpto !== "") {
|
|
169
|
-
obj.validUpto = message.validUpto;
|
|
170
|
-
}
|
|
171
|
-
return obj;
|
|
172
|
-
},
|
|
173
|
-
create(base) {
|
|
174
|
-
return exports.createRpdLinkResponse.fromPartial(base ?? {});
|
|
175
|
-
},
|
|
176
|
-
fromPartial(object) {
|
|
177
|
-
const message = createBasecreateRpdLinkResponse();
|
|
178
|
-
message.id = object.id ?? "";
|
|
179
|
-
message.shortUrl = object.shortUrl ?? "";
|
|
180
|
-
message.status = object.status ?? "";
|
|
181
|
-
message.traceId = object.traceId ?? "";
|
|
182
|
-
message.upiBillId = object.upiBillId ?? "";
|
|
183
|
-
message.upiLink = object.upiLink ?? "";
|
|
184
|
-
message.validUpto = object.validUpto ?? "";
|
|
185
|
-
return message;
|
|
186
|
-
},
|
|
187
|
-
};
|
|
188
|
-
function isSet(value) {
|
|
189
|
-
return value !== null && value !== undefined;
|
|
190
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.updatecategory";
|
|
3
|
-
export interface updateCategoryRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
category: string;
|
|
6
|
-
}
|
|
7
|
-
export interface updateCategoryResponse {
|
|
8
|
-
status: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const updateCategoryRequest: {
|
|
11
|
-
encode(message: updateCategoryRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): updateCategoryRequest;
|
|
13
|
-
fromJSON(object: any): updateCategoryRequest;
|
|
14
|
-
toJSON(message: updateCategoryRequest): unknown;
|
|
15
|
-
create<I extends Exact<DeepPartial<updateCategoryRequest>, I>>(base?: I): updateCategoryRequest;
|
|
16
|
-
fromPartial<I extends Exact<DeepPartial<updateCategoryRequest>, I>>(object: I): updateCategoryRequest;
|
|
17
|
-
};
|
|
18
|
-
export declare const updateCategoryResponse: {
|
|
19
|
-
encode(message: updateCategoryResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): updateCategoryResponse;
|
|
21
|
-
fromJSON(object: any): updateCategoryResponse;
|
|
22
|
-
toJSON(message: updateCategoryResponse): unknown;
|
|
23
|
-
create<I extends Exact<DeepPartial<updateCategoryResponse>, I>>(base?: I): updateCategoryResponse;
|
|
24
|
-
fromPartial<I extends Exact<DeepPartial<updateCategoryResponse>, I>>(object: I): updateCategoryResponse;
|
|
25
|
-
};
|
|
26
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
-
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 {} ? {
|
|
28
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
-
} : Partial<T>;
|
|
30
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
-
} & {
|
|
34
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
-
};
|
|
36
|
-
export {};
|
|
@@ -1,147 +0,0 @@
|
|
|
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.2
|
|
6
|
-
// source: customers/updatecategory.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.updateCategoryResponse = exports.updateCategoryRequest = 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 = "customers.updatecategory";
|
|
16
|
-
function createBaseupdateCategoryRequest() {
|
|
17
|
-
return { customer_id: 0, category: "" };
|
|
18
|
-
}
|
|
19
|
-
exports.updateCategoryRequest = {
|
|
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.category !== "") {
|
|
25
|
-
writer.uint32(18).string(message.category);
|
|
26
|
-
}
|
|
27
|
-
return writer;
|
|
28
|
-
},
|
|
29
|
-
decode(input, length) {
|
|
30
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
31
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
-
const message = createBaseupdateCategoryRequest();
|
|
33
|
-
while (reader.pos < end) {
|
|
34
|
-
const tag = reader.uint32();
|
|
35
|
-
switch (tag >>> 3) {
|
|
36
|
-
case 1:
|
|
37
|
-
if (tag !== 8) {
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
message.customer_id = longToNumber(reader.int64());
|
|
41
|
-
continue;
|
|
42
|
-
case 2:
|
|
43
|
-
if (tag !== 18) {
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
message.category = reader.string();
|
|
47
|
-
continue;
|
|
48
|
-
}
|
|
49
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
50
|
-
break;
|
|
51
|
-
}
|
|
52
|
-
reader.skipType(tag & 7);
|
|
53
|
-
}
|
|
54
|
-
return message;
|
|
55
|
-
},
|
|
56
|
-
fromJSON(object) {
|
|
57
|
-
return {
|
|
58
|
-
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
59
|
-
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
60
|
-
};
|
|
61
|
-
},
|
|
62
|
-
toJSON(message) {
|
|
63
|
-
const obj = {};
|
|
64
|
-
if (message.customer_id !== 0) {
|
|
65
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
66
|
-
}
|
|
67
|
-
if (message.category !== "") {
|
|
68
|
-
obj.category = message.category;
|
|
69
|
-
}
|
|
70
|
-
return obj;
|
|
71
|
-
},
|
|
72
|
-
create(base) {
|
|
73
|
-
return exports.updateCategoryRequest.fromPartial(base ?? {});
|
|
74
|
-
},
|
|
75
|
-
fromPartial(object) {
|
|
76
|
-
const message = createBaseupdateCategoryRequest();
|
|
77
|
-
message.customer_id = object.customer_id ?? 0;
|
|
78
|
-
message.category = object.category ?? "";
|
|
79
|
-
return message;
|
|
80
|
-
},
|
|
81
|
-
};
|
|
82
|
-
function createBaseupdateCategoryResponse() {
|
|
83
|
-
return { status: "" };
|
|
84
|
-
}
|
|
85
|
-
exports.updateCategoryResponse = {
|
|
86
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
87
|
-
if (message.status !== "") {
|
|
88
|
-
writer.uint32(10).string(message.status);
|
|
89
|
-
}
|
|
90
|
-
return writer;
|
|
91
|
-
},
|
|
92
|
-
decode(input, length) {
|
|
93
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
94
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
95
|
-
const message = createBaseupdateCategoryResponse();
|
|
96
|
-
while (reader.pos < end) {
|
|
97
|
-
const tag = reader.uint32();
|
|
98
|
-
switch (tag >>> 3) {
|
|
99
|
-
case 1:
|
|
100
|
-
if (tag !== 10) {
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
|
-
message.status = reader.string();
|
|
104
|
-
continue;
|
|
105
|
-
}
|
|
106
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
107
|
-
break;
|
|
108
|
-
}
|
|
109
|
-
reader.skipType(tag & 7);
|
|
110
|
-
}
|
|
111
|
-
return message;
|
|
112
|
-
},
|
|
113
|
-
fromJSON(object) {
|
|
114
|
-
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
115
|
-
},
|
|
116
|
-
toJSON(message) {
|
|
117
|
-
const obj = {};
|
|
118
|
-
if (message.status !== "") {
|
|
119
|
-
obj.status = message.status;
|
|
120
|
-
}
|
|
121
|
-
return obj;
|
|
122
|
-
},
|
|
123
|
-
create(base) {
|
|
124
|
-
return exports.updateCategoryResponse.fromPartial(base ?? {});
|
|
125
|
-
},
|
|
126
|
-
fromPartial(object) {
|
|
127
|
-
const message = createBaseupdateCategoryResponse();
|
|
128
|
-
message.status = object.status ?? "";
|
|
129
|
-
return message;
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
function longToNumber(long) {
|
|
133
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
134
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
135
|
-
}
|
|
136
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
137
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
138
|
-
}
|
|
139
|
-
return long.toNumber();
|
|
140
|
-
}
|
|
141
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
142
|
-
minimal_1.default.util.Long = long_1.default;
|
|
143
|
-
minimal_1.default.configure();
|
|
144
|
-
}
|
|
145
|
-
function isSet(value) {
|
|
146
|
-
return value !== null && value !== undefined;
|
|
147
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "loans.getusedlimit";
|
|
3
|
-
export interface getUsedLimitfoRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface getUsedLimitfoResponse {
|
|
7
|
-
used_limit: number;
|
|
8
|
-
}
|
|
9
|
-
export declare const getUsedLimitfoRequest: {
|
|
10
|
-
encode(message: getUsedLimitfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getUsedLimitfoRequest;
|
|
12
|
-
fromJSON(object: any): getUsedLimitfoRequest;
|
|
13
|
-
toJSON(message: getUsedLimitfoRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<getUsedLimitfoRequest>, I>>(base?: I): getUsedLimitfoRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<getUsedLimitfoRequest>, I>>(object: I): getUsedLimitfoRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const getUsedLimitfoResponse: {
|
|
18
|
-
encode(message: getUsedLimitfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getUsedLimitfoResponse;
|
|
20
|
-
fromJSON(object: any): getUsedLimitfoResponse;
|
|
21
|
-
toJSON(message: getUsedLimitfoResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<getUsedLimitfoResponse>, I>>(base?: I): getUsedLimitfoResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<getUsedLimitfoResponse>, I>>(object: I): getUsedLimitfoResponse;
|
|
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 {};
|