@stashfin/grpc 1.2.468 → 1.2.470
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/getcibilwebtoken.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/accidentprotectionplan.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/applyclijourney.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
- package/ts/customers/cb/cbpaynow.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/insurancedetails.js +1 -1
- package/ts/customers/cb/lesscsimprove.js +1 -1
- package/ts/customers/cb/morecsimprove.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
- package/ts/customers/cb/updatecbstandalonejourney.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/createvanumber.js +1 -1
- package/ts/customers/customerinfo.js +1 -1
- package/ts/customers/deletedocument.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/updateenachtxnstatus.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/updateadditionalverification.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/getclistatus.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getcustomerdetailsbymobile.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/getglobalpopups.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getloclimit.js +1 -1
- package/ts/customers/getmessengermode.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/getsyncstatus.js +1 -1
- package/ts/customers/getvanumber.js +1 -1
- package/ts/customers/lamf/applylamf.js +1 -1
- package/ts/customers/lamf/sendlamfotp.js +1 -1
- package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
- package/ts/customers/lamf/verifylamfotp.js +1 -1
- package/ts/customers/lamf/verifylamfpledgeotp.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/resetbanner.js +1 -1
- package/ts/customers/restoreaccount.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/saveappslist.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/submituploadeddocuments.js +1 -1
- package/ts/customers/syncdecisionengine.js +1 -1
- package/ts/customers/updatecategory.js +1 -1
- package/ts/customers/updatecongratulationstep.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/updatesanctionamount.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatesyncstatus.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/decisionenginetrigger.js +1 -1
- package/ts/decisionengine/locdisbursalapproval.js +1 -1
- package/ts/decisionengine/saveconsent.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents/getfinancialdoc.js +1 -1
- package/ts/documents.js +1 -1
- package/ts/eqxcustomer.js +1 -1
- package/ts/eqxcustomers/getcustomerbyid.js +1 -1
- package/ts/eqxcustomers/getdashboard.js +1 -1
- package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
- package/ts/eqxcustomers/sendotp.js +1 -1
- package/ts/eqxcustomers/verifyotp.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/getchrpaymentstatus.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/notifychrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/lamf/getloandetails.js +1 -1
- package/ts/lamf/submitotp.js +1 -1
- package/ts/lamf/validateuser.js +1 -1
- package/ts/lamf.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/cbloan.js +1 -1
- package/ts/loans/createlamfloan.js +1 -1
- package/ts/loans/createpenalty.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/emimoredetails.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/getaddonslist.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcbloandetails.js +1 -1
- package/ts/loans/getchrdetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getforecloseamount.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpaymentoptions.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsetubilldetails.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/manualpaymentallocation.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/updatecollectionview.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.js +1 -1
- 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.js +1 -1
- package/ts/payments.js +1 -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
- package/ts/upi/addaccount.js +1 -1
- package/ts/upi/blockvpa.d.ts +40 -0
- package/ts/upi/blockvpa.js +191 -0
- package/ts/upi/checktransactionstatus.d.ts +5 -0
- package/ts/upi/checktransactionstatus.js +82 -1
- package/ts/upi/getaccountsbyprovider.js +1 -1
- package/ts/upi/getavailablevpa.js +1 -1
- package/ts/upi/getlistedaccountproviders.js +1 -1
- package/ts/upi/getprofile.js +1 -1
- package/ts/upi/initiatetransaction.d.ts +4 -0
- package/ts/upi/initiatetransaction.js +63 -1
- package/ts/upi/listblockedvpa.d.ts +63 -0
- package/ts/upi/listblockedvpa.js +311 -0
- package/ts/upi/unblockvpa.d.ts +40 -0
- package/ts/upi/unblockvpa.js +191 -0
- package/ts/upi/updatedevicebinding.js +1 -1
- package/ts/upi/validatevpa.js +1 -1
- package/ts/upi.d.ts +42 -0
- package/ts/upi.js +31 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/checktransactionstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -117,6 +117,11 @@ function createBasecheckTransactionStatusResponse() {
|
|
|
117
117
|
payer_vpa: "",
|
|
118
118
|
amount: 0,
|
|
119
119
|
message: "",
|
|
120
|
+
payment_date: undefined,
|
|
121
|
+
masked_account_number: undefined,
|
|
122
|
+
payer_bank_account_name: undefined,
|
|
123
|
+
payee_masked_account_number: undefined,
|
|
124
|
+
payee_ifsc: undefined,
|
|
120
125
|
};
|
|
121
126
|
}
|
|
122
127
|
exports.checkTransactionStatusResponse = {
|
|
@@ -148,6 +153,21 @@ exports.checkTransactionStatusResponse = {
|
|
|
148
153
|
if (message.message !== "") {
|
|
149
154
|
writer.uint32(74).string(message.message);
|
|
150
155
|
}
|
|
156
|
+
if (message.payment_date !== undefined) {
|
|
157
|
+
writer.uint32(82).string(message.payment_date);
|
|
158
|
+
}
|
|
159
|
+
if (message.masked_account_number !== undefined) {
|
|
160
|
+
writer.uint32(90).string(message.masked_account_number);
|
|
161
|
+
}
|
|
162
|
+
if (message.payer_bank_account_name !== undefined) {
|
|
163
|
+
writer.uint32(98).string(message.payer_bank_account_name);
|
|
164
|
+
}
|
|
165
|
+
if (message.payee_masked_account_number !== undefined) {
|
|
166
|
+
writer.uint32(106).string(message.payee_masked_account_number);
|
|
167
|
+
}
|
|
168
|
+
if (message.payee_ifsc !== undefined) {
|
|
169
|
+
writer.uint32(114).string(message.payee_ifsc);
|
|
170
|
+
}
|
|
151
171
|
return writer;
|
|
152
172
|
},
|
|
153
173
|
decode(input, length) {
|
|
@@ -211,6 +231,36 @@ exports.checkTransactionStatusResponse = {
|
|
|
211
231
|
}
|
|
212
232
|
message.message = reader.string();
|
|
213
233
|
continue;
|
|
234
|
+
case 10:
|
|
235
|
+
if (tag !== 82) {
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
message.payment_date = reader.string();
|
|
239
|
+
continue;
|
|
240
|
+
case 11:
|
|
241
|
+
if (tag !== 90) {
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
message.masked_account_number = reader.string();
|
|
245
|
+
continue;
|
|
246
|
+
case 12:
|
|
247
|
+
if (tag !== 98) {
|
|
248
|
+
break;
|
|
249
|
+
}
|
|
250
|
+
message.payer_bank_account_name = reader.string();
|
|
251
|
+
continue;
|
|
252
|
+
case 13:
|
|
253
|
+
if (tag !== 106) {
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
message.payee_masked_account_number = reader.string();
|
|
257
|
+
continue;
|
|
258
|
+
case 14:
|
|
259
|
+
if (tag !== 114) {
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
message.payee_ifsc = reader.string();
|
|
263
|
+
continue;
|
|
214
264
|
}
|
|
215
265
|
if ((tag & 7) === 4 || tag === 0) {
|
|
216
266
|
break;
|
|
@@ -230,6 +280,17 @@ exports.checkTransactionStatusResponse = {
|
|
|
230
280
|
payer_vpa: isSet(object.payer_vpa) ? globalThis.String(object.payer_vpa) : "",
|
|
231
281
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
232
282
|
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
283
|
+
payment_date: isSet(object.payment_date) ? globalThis.String(object.payment_date) : undefined,
|
|
284
|
+
masked_account_number: isSet(object.masked_account_number)
|
|
285
|
+
? globalThis.String(object.masked_account_number)
|
|
286
|
+
: undefined,
|
|
287
|
+
payer_bank_account_name: isSet(object.payer_bank_account_name)
|
|
288
|
+
? globalThis.String(object.payer_bank_account_name)
|
|
289
|
+
: undefined,
|
|
290
|
+
payee_masked_account_number: isSet(object.payee_masked_account_number)
|
|
291
|
+
? globalThis.String(object.payee_masked_account_number)
|
|
292
|
+
: undefined,
|
|
293
|
+
payee_ifsc: isSet(object.payee_ifsc) ? globalThis.String(object.payee_ifsc) : undefined,
|
|
233
294
|
};
|
|
234
295
|
},
|
|
235
296
|
toJSON(message) {
|
|
@@ -261,6 +322,21 @@ exports.checkTransactionStatusResponse = {
|
|
|
261
322
|
if (message.message !== "") {
|
|
262
323
|
obj.message = message.message;
|
|
263
324
|
}
|
|
325
|
+
if (message.payment_date !== undefined) {
|
|
326
|
+
obj.payment_date = message.payment_date;
|
|
327
|
+
}
|
|
328
|
+
if (message.masked_account_number !== undefined) {
|
|
329
|
+
obj.masked_account_number = message.masked_account_number;
|
|
330
|
+
}
|
|
331
|
+
if (message.payer_bank_account_name !== undefined) {
|
|
332
|
+
obj.payer_bank_account_name = message.payer_bank_account_name;
|
|
333
|
+
}
|
|
334
|
+
if (message.payee_masked_account_number !== undefined) {
|
|
335
|
+
obj.payee_masked_account_number = message.payee_masked_account_number;
|
|
336
|
+
}
|
|
337
|
+
if (message.payee_ifsc !== undefined) {
|
|
338
|
+
obj.payee_ifsc = message.payee_ifsc;
|
|
339
|
+
}
|
|
264
340
|
return obj;
|
|
265
341
|
},
|
|
266
342
|
create(base) {
|
|
@@ -277,6 +353,11 @@ exports.checkTransactionStatusResponse = {
|
|
|
277
353
|
message.payer_vpa = object.payer_vpa ?? "";
|
|
278
354
|
message.amount = object.amount ?? 0;
|
|
279
355
|
message.message = object.message ?? "";
|
|
356
|
+
message.payment_date = object.payment_date ?? undefined;
|
|
357
|
+
message.masked_account_number = object.masked_account_number ?? undefined;
|
|
358
|
+
message.payer_bank_account_name = object.payer_bank_account_name ?? undefined;
|
|
359
|
+
message.payee_masked_account_number = object.payee_masked_account_number ?? undefined;
|
|
360
|
+
message.payee_ifsc = object.payee_ifsc ?? undefined;
|
|
280
361
|
return message;
|
|
281
362
|
},
|
|
282
363
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/getaccountsbyprovider.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/getavailablevpa.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/getlistedaccountproviders.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/upi/getprofile.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/getprofile.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14,6 +14,10 @@ export interface initiateTransactionRequest {
|
|
|
14
14
|
account_type?: string | undefined;
|
|
15
15
|
payee_name?: string | undefined;
|
|
16
16
|
payer_name?: string | undefined;
|
|
17
|
+
payee_account_number?: string | undefined;
|
|
18
|
+
payee_ifsc?: string | undefined;
|
|
19
|
+
mcc?: string | undefined;
|
|
20
|
+
merchant_type?: string | undefined;
|
|
17
21
|
}
|
|
18
22
|
export interface initiateTransactionResponse {
|
|
19
23
|
seq_no: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/initiatetransaction.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -27,6 +27,10 @@ function createBaseinitiateTransactionRequest() {
|
|
|
27
27
|
account_type: undefined,
|
|
28
28
|
payee_name: undefined,
|
|
29
29
|
payer_name: undefined,
|
|
30
|
+
payee_account_number: undefined,
|
|
31
|
+
payee_ifsc: undefined,
|
|
32
|
+
mcc: undefined,
|
|
33
|
+
merchant_type: undefined,
|
|
30
34
|
};
|
|
31
35
|
}
|
|
32
36
|
exports.initiateTransactionRequest = {
|
|
@@ -70,6 +74,18 @@ exports.initiateTransactionRequest = {
|
|
|
70
74
|
if (message.payer_name !== undefined) {
|
|
71
75
|
writer.uint32(106).string(message.payer_name);
|
|
72
76
|
}
|
|
77
|
+
if (message.payee_account_number !== undefined) {
|
|
78
|
+
writer.uint32(114).string(message.payee_account_number);
|
|
79
|
+
}
|
|
80
|
+
if (message.payee_ifsc !== undefined) {
|
|
81
|
+
writer.uint32(122).string(message.payee_ifsc);
|
|
82
|
+
}
|
|
83
|
+
if (message.mcc !== undefined) {
|
|
84
|
+
writer.uint32(130).string(message.mcc);
|
|
85
|
+
}
|
|
86
|
+
if (message.merchant_type !== undefined) {
|
|
87
|
+
writer.uint32(138).string(message.merchant_type);
|
|
88
|
+
}
|
|
73
89
|
return writer;
|
|
74
90
|
},
|
|
75
91
|
decode(input, length) {
|
|
@@ -157,6 +173,30 @@ exports.initiateTransactionRequest = {
|
|
|
157
173
|
}
|
|
158
174
|
message.payer_name = reader.string();
|
|
159
175
|
continue;
|
|
176
|
+
case 14:
|
|
177
|
+
if (tag !== 114) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
message.payee_account_number = reader.string();
|
|
181
|
+
continue;
|
|
182
|
+
case 15:
|
|
183
|
+
if (tag !== 122) {
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
message.payee_ifsc = reader.string();
|
|
187
|
+
continue;
|
|
188
|
+
case 16:
|
|
189
|
+
if (tag !== 130) {
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
message.mcc = reader.string();
|
|
193
|
+
continue;
|
|
194
|
+
case 17:
|
|
195
|
+
if (tag !== 138) {
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
message.merchant_type = reader.string();
|
|
199
|
+
continue;
|
|
160
200
|
}
|
|
161
201
|
if ((tag & 7) === 4 || tag === 0) {
|
|
162
202
|
break;
|
|
@@ -180,6 +220,12 @@ exports.initiateTransactionRequest = {
|
|
|
180
220
|
account_type: isSet(object.account_type) ? globalThis.String(object.account_type) : undefined,
|
|
181
221
|
payee_name: isSet(object.payee_name) ? globalThis.String(object.payee_name) : undefined,
|
|
182
222
|
payer_name: isSet(object.payer_name) ? globalThis.String(object.payer_name) : undefined,
|
|
223
|
+
payee_account_number: isSet(object.payee_account_number)
|
|
224
|
+
? globalThis.String(object.payee_account_number)
|
|
225
|
+
: undefined,
|
|
226
|
+
payee_ifsc: isSet(object.payee_ifsc) ? globalThis.String(object.payee_ifsc) : undefined,
|
|
227
|
+
mcc: isSet(object.mcc) ? globalThis.String(object.mcc) : undefined,
|
|
228
|
+
merchant_type: isSet(object.merchant_type) ? globalThis.String(object.merchant_type) : undefined,
|
|
183
229
|
};
|
|
184
230
|
},
|
|
185
231
|
toJSON(message) {
|
|
@@ -223,6 +269,18 @@ exports.initiateTransactionRequest = {
|
|
|
223
269
|
if (message.payer_name !== undefined) {
|
|
224
270
|
obj.payer_name = message.payer_name;
|
|
225
271
|
}
|
|
272
|
+
if (message.payee_account_number !== undefined) {
|
|
273
|
+
obj.payee_account_number = message.payee_account_number;
|
|
274
|
+
}
|
|
275
|
+
if (message.payee_ifsc !== undefined) {
|
|
276
|
+
obj.payee_ifsc = message.payee_ifsc;
|
|
277
|
+
}
|
|
278
|
+
if (message.mcc !== undefined) {
|
|
279
|
+
obj.mcc = message.mcc;
|
|
280
|
+
}
|
|
281
|
+
if (message.merchant_type !== undefined) {
|
|
282
|
+
obj.merchant_type = message.merchant_type;
|
|
283
|
+
}
|
|
226
284
|
return obj;
|
|
227
285
|
},
|
|
228
286
|
create(base) {
|
|
@@ -243,6 +301,10 @@ exports.initiateTransactionRequest = {
|
|
|
243
301
|
message.account_type = object.account_type ?? undefined;
|
|
244
302
|
message.payee_name = object.payee_name ?? undefined;
|
|
245
303
|
message.payer_name = object.payer_name ?? undefined;
|
|
304
|
+
message.payee_account_number = object.payee_account_number ?? undefined;
|
|
305
|
+
message.payee_ifsc = object.payee_ifsc ?? undefined;
|
|
306
|
+
message.mcc = object.mcc ?? undefined;
|
|
307
|
+
message.merchant_type = object.merchant_type ?? undefined;
|
|
246
308
|
return message;
|
|
247
309
|
},
|
|
248
310
|
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.listBlockedVPA";
|
|
3
|
+
export interface listBlockedVPARequest {
|
|
4
|
+
block_type?: string | undefined;
|
|
5
|
+
block_value?: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface BlockedList {
|
|
8
|
+
block_type: string;
|
|
9
|
+
block_value: string;
|
|
10
|
+
reason: string;
|
|
11
|
+
blocked_since: string;
|
|
12
|
+
}
|
|
13
|
+
export interface Data {
|
|
14
|
+
blocked_list: BlockedList[];
|
|
15
|
+
}
|
|
16
|
+
export interface listBlockedVPAResponse {
|
|
17
|
+
status: string;
|
|
18
|
+
message: string;
|
|
19
|
+
data?: Data | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare const listBlockedVPARequest: {
|
|
22
|
+
encode(message: listBlockedVPARequest, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): listBlockedVPARequest;
|
|
24
|
+
fromJSON(object: any): listBlockedVPARequest;
|
|
25
|
+
toJSON(message: listBlockedVPARequest): unknown;
|
|
26
|
+
create<I extends Exact<DeepPartial<listBlockedVPARequest>, I>>(base?: I): listBlockedVPARequest;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<listBlockedVPARequest>, I>>(object: I): listBlockedVPARequest;
|
|
28
|
+
};
|
|
29
|
+
export declare const BlockedList: {
|
|
30
|
+
encode(message: BlockedList, writer?: _m0.Writer): _m0.Writer;
|
|
31
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BlockedList;
|
|
32
|
+
fromJSON(object: any): BlockedList;
|
|
33
|
+
toJSON(message: BlockedList): unknown;
|
|
34
|
+
create<I extends Exact<DeepPartial<BlockedList>, I>>(base?: I): BlockedList;
|
|
35
|
+
fromPartial<I extends Exact<DeepPartial<BlockedList>, I>>(object: I): BlockedList;
|
|
36
|
+
};
|
|
37
|
+
export declare const Data: {
|
|
38
|
+
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
|
39
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data;
|
|
40
|
+
fromJSON(object: any): Data;
|
|
41
|
+
toJSON(message: Data): unknown;
|
|
42
|
+
create<I extends Exact<DeepPartial<Data>, I>>(base?: I): Data;
|
|
43
|
+
fromPartial<I extends Exact<DeepPartial<Data>, I>>(object: I): Data;
|
|
44
|
+
};
|
|
45
|
+
export declare const listBlockedVPAResponse: {
|
|
46
|
+
encode(message: listBlockedVPAResponse, writer?: _m0.Writer): _m0.Writer;
|
|
47
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): listBlockedVPAResponse;
|
|
48
|
+
fromJSON(object: any): listBlockedVPAResponse;
|
|
49
|
+
toJSON(message: listBlockedVPAResponse): unknown;
|
|
50
|
+
create<I extends Exact<DeepPartial<listBlockedVPAResponse>, I>>(base?: I): listBlockedVPAResponse;
|
|
51
|
+
fromPartial<I extends Exact<DeepPartial<listBlockedVPAResponse>, I>>(object: I): listBlockedVPAResponse;
|
|
52
|
+
};
|
|
53
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
54
|
+
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 {} ? {
|
|
55
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
56
|
+
} : Partial<T>;
|
|
57
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
58
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
59
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
60
|
+
} & {
|
|
61
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
62
|
+
};
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,311 @@
|
|
|
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.29.1
|
|
6
|
+
// source: upi/listblockedvpa.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.listBlockedVPAResponse = exports.Data = exports.BlockedList = exports.listBlockedVPARequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.listBlockedVPA";
|
|
15
|
+
function createBaselistBlockedVPARequest() {
|
|
16
|
+
return { block_type: undefined, block_value: undefined };
|
|
17
|
+
}
|
|
18
|
+
exports.listBlockedVPARequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.block_type !== undefined) {
|
|
21
|
+
writer.uint32(10).string(message.block_type);
|
|
22
|
+
}
|
|
23
|
+
if (message.block_value !== undefined) {
|
|
24
|
+
writer.uint32(18).string(message.block_value);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaselistBlockedVPARequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.block_type = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.block_value = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
reader.skipType(tag & 7);
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromJSON(object) {
|
|
56
|
+
return {
|
|
57
|
+
block_type: isSet(object.block_type) ? globalThis.String(object.block_type) : undefined,
|
|
58
|
+
block_value: isSet(object.block_value) ? globalThis.String(object.block_value) : undefined,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.block_type !== undefined) {
|
|
64
|
+
obj.block_type = message.block_type;
|
|
65
|
+
}
|
|
66
|
+
if (message.block_value !== undefined) {
|
|
67
|
+
obj.block_value = message.block_value;
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.listBlockedVPARequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBaselistBlockedVPARequest();
|
|
76
|
+
message.block_type = object.block_type ?? undefined;
|
|
77
|
+
message.block_value = object.block_value ?? undefined;
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBaseBlockedList() {
|
|
82
|
+
return { block_type: "", block_value: "", reason: "", blocked_since: "" };
|
|
83
|
+
}
|
|
84
|
+
exports.BlockedList = {
|
|
85
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
+
if (message.block_type !== "") {
|
|
87
|
+
writer.uint32(10).string(message.block_type);
|
|
88
|
+
}
|
|
89
|
+
if (message.block_value !== "") {
|
|
90
|
+
writer.uint32(18).string(message.block_value);
|
|
91
|
+
}
|
|
92
|
+
if (message.reason !== "") {
|
|
93
|
+
writer.uint32(26).string(message.reason);
|
|
94
|
+
}
|
|
95
|
+
if (message.blocked_since !== "") {
|
|
96
|
+
writer.uint32(34).string(message.blocked_since);
|
|
97
|
+
}
|
|
98
|
+
return writer;
|
|
99
|
+
},
|
|
100
|
+
decode(input, length) {
|
|
101
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
102
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
103
|
+
const message = createBaseBlockedList();
|
|
104
|
+
while (reader.pos < end) {
|
|
105
|
+
const tag = reader.uint32();
|
|
106
|
+
switch (tag >>> 3) {
|
|
107
|
+
case 1:
|
|
108
|
+
if (tag !== 10) {
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
message.block_type = reader.string();
|
|
112
|
+
continue;
|
|
113
|
+
case 2:
|
|
114
|
+
if (tag !== 18) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
message.block_value = reader.string();
|
|
118
|
+
continue;
|
|
119
|
+
case 3:
|
|
120
|
+
if (tag !== 26) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
message.reason = reader.string();
|
|
124
|
+
continue;
|
|
125
|
+
case 4:
|
|
126
|
+
if (tag !== 34) {
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
message.blocked_since = reader.string();
|
|
130
|
+
continue;
|
|
131
|
+
}
|
|
132
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
reader.skipType(tag & 7);
|
|
136
|
+
}
|
|
137
|
+
return message;
|
|
138
|
+
},
|
|
139
|
+
fromJSON(object) {
|
|
140
|
+
return {
|
|
141
|
+
block_type: isSet(object.block_type) ? globalThis.String(object.block_type) : "",
|
|
142
|
+
block_value: isSet(object.block_value) ? globalThis.String(object.block_value) : "",
|
|
143
|
+
reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
|
|
144
|
+
blocked_since: isSet(object.blocked_since) ? globalThis.String(object.blocked_since) : "",
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
toJSON(message) {
|
|
148
|
+
const obj = {};
|
|
149
|
+
if (message.block_type !== "") {
|
|
150
|
+
obj.block_type = message.block_type;
|
|
151
|
+
}
|
|
152
|
+
if (message.block_value !== "") {
|
|
153
|
+
obj.block_value = message.block_value;
|
|
154
|
+
}
|
|
155
|
+
if (message.reason !== "") {
|
|
156
|
+
obj.reason = message.reason;
|
|
157
|
+
}
|
|
158
|
+
if (message.blocked_since !== "") {
|
|
159
|
+
obj.blocked_since = message.blocked_since;
|
|
160
|
+
}
|
|
161
|
+
return obj;
|
|
162
|
+
},
|
|
163
|
+
create(base) {
|
|
164
|
+
return exports.BlockedList.fromPartial(base ?? {});
|
|
165
|
+
},
|
|
166
|
+
fromPartial(object) {
|
|
167
|
+
const message = createBaseBlockedList();
|
|
168
|
+
message.block_type = object.block_type ?? "";
|
|
169
|
+
message.block_value = object.block_value ?? "";
|
|
170
|
+
message.reason = object.reason ?? "";
|
|
171
|
+
message.blocked_since = object.blocked_since ?? "";
|
|
172
|
+
return message;
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
function createBaseData() {
|
|
176
|
+
return { blocked_list: [] };
|
|
177
|
+
}
|
|
178
|
+
exports.Data = {
|
|
179
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
180
|
+
for (const v of message.blocked_list) {
|
|
181
|
+
exports.BlockedList.encode(v, writer.uint32(10).fork()).ldelim();
|
|
182
|
+
}
|
|
183
|
+
return writer;
|
|
184
|
+
},
|
|
185
|
+
decode(input, length) {
|
|
186
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
187
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
188
|
+
const message = createBaseData();
|
|
189
|
+
while (reader.pos < end) {
|
|
190
|
+
const tag = reader.uint32();
|
|
191
|
+
switch (tag >>> 3) {
|
|
192
|
+
case 1:
|
|
193
|
+
if (tag !== 10) {
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
message.blocked_list.push(exports.BlockedList.decode(reader, reader.uint32()));
|
|
197
|
+
continue;
|
|
198
|
+
}
|
|
199
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
reader.skipType(tag & 7);
|
|
203
|
+
}
|
|
204
|
+
return message;
|
|
205
|
+
},
|
|
206
|
+
fromJSON(object) {
|
|
207
|
+
return {
|
|
208
|
+
blocked_list: globalThis.Array.isArray(object?.blocked_list)
|
|
209
|
+
? object.blocked_list.map((e) => exports.BlockedList.fromJSON(e))
|
|
210
|
+
: [],
|
|
211
|
+
};
|
|
212
|
+
},
|
|
213
|
+
toJSON(message) {
|
|
214
|
+
const obj = {};
|
|
215
|
+
if (message.blocked_list?.length) {
|
|
216
|
+
obj.blocked_list = message.blocked_list.map((e) => exports.BlockedList.toJSON(e));
|
|
217
|
+
}
|
|
218
|
+
return obj;
|
|
219
|
+
},
|
|
220
|
+
create(base) {
|
|
221
|
+
return exports.Data.fromPartial(base ?? {});
|
|
222
|
+
},
|
|
223
|
+
fromPartial(object) {
|
|
224
|
+
const message = createBaseData();
|
|
225
|
+
message.blocked_list = object.blocked_list?.map((e) => exports.BlockedList.fromPartial(e)) || [];
|
|
226
|
+
return message;
|
|
227
|
+
},
|
|
228
|
+
};
|
|
229
|
+
function createBaselistBlockedVPAResponse() {
|
|
230
|
+
return { status: "", message: "", data: undefined };
|
|
231
|
+
}
|
|
232
|
+
exports.listBlockedVPAResponse = {
|
|
233
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
234
|
+
if (message.status !== "") {
|
|
235
|
+
writer.uint32(10).string(message.status);
|
|
236
|
+
}
|
|
237
|
+
if (message.message !== "") {
|
|
238
|
+
writer.uint32(18).string(message.message);
|
|
239
|
+
}
|
|
240
|
+
if (message.data !== undefined) {
|
|
241
|
+
exports.Data.encode(message.data, writer.uint32(26).fork()).ldelim();
|
|
242
|
+
}
|
|
243
|
+
return writer;
|
|
244
|
+
},
|
|
245
|
+
decode(input, length) {
|
|
246
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
247
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
248
|
+
const message = createBaselistBlockedVPAResponse();
|
|
249
|
+
while (reader.pos < end) {
|
|
250
|
+
const tag = reader.uint32();
|
|
251
|
+
switch (tag >>> 3) {
|
|
252
|
+
case 1:
|
|
253
|
+
if (tag !== 10) {
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
message.status = reader.string();
|
|
257
|
+
continue;
|
|
258
|
+
case 2:
|
|
259
|
+
if (tag !== 18) {
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
message.message = reader.string();
|
|
263
|
+
continue;
|
|
264
|
+
case 3:
|
|
265
|
+
if (tag !== 26) {
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
message.data = exports.Data.decode(reader, reader.uint32());
|
|
269
|
+
continue;
|
|
270
|
+
}
|
|
271
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
272
|
+
break;
|
|
273
|
+
}
|
|
274
|
+
reader.skipType(tag & 7);
|
|
275
|
+
}
|
|
276
|
+
return message;
|
|
277
|
+
},
|
|
278
|
+
fromJSON(object) {
|
|
279
|
+
return {
|
|
280
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
281
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
282
|
+
data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
|
|
283
|
+
};
|
|
284
|
+
},
|
|
285
|
+
toJSON(message) {
|
|
286
|
+
const obj = {};
|
|
287
|
+
if (message.status !== "") {
|
|
288
|
+
obj.status = message.status;
|
|
289
|
+
}
|
|
290
|
+
if (message.message !== "") {
|
|
291
|
+
obj.message = message.message;
|
|
292
|
+
}
|
|
293
|
+
if (message.data !== undefined) {
|
|
294
|
+
obj.data = exports.Data.toJSON(message.data);
|
|
295
|
+
}
|
|
296
|
+
return obj;
|
|
297
|
+
},
|
|
298
|
+
create(base) {
|
|
299
|
+
return exports.listBlockedVPAResponse.fromPartial(base ?? {});
|
|
300
|
+
},
|
|
301
|
+
fromPartial(object) {
|
|
302
|
+
const message = createBaselistBlockedVPAResponse();
|
|
303
|
+
message.status = object.status ?? "";
|
|
304
|
+
message.message = object.message ?? "";
|
|
305
|
+
message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
|
|
306
|
+
return message;
|
|
307
|
+
},
|
|
308
|
+
};
|
|
309
|
+
function isSet(value) {
|
|
310
|
+
return value !== null && value !== undefined;
|
|
311
|
+
}
|