@stashfin/grpc 1.2.554 → 1.2.555
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.d.ts +12 -12
- 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.d.ts +6 -6
- 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.d.ts +2 -2
- 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/paynow.d.ts +36 -0
- package/ts/customers/cb/paynow.js +133 -0
- 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/enach/updatetxnstatus.d.ts +36 -0
- package/ts/customers/enach/updatetxnstatus.js +133 -0
- 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/getcustomer.d.ts +14 -0
- package/ts/customers/getcustomer.js +100 -6
- 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/getrecommendedtag.d.ts +35 -0
- package/ts/customers/getrecommendedtag.js +134 -0
- package/ts/customers/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- 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/kyc/epfo.d.ts +35 -0
- package/ts/customers/kyc/epfo.js +119 -0
- 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/updatelamfjourney.d.ts +34 -0
- package/ts/customers/lamf/updatelamfjourney.js +104 -0
- 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/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/step1.d.ts +69 -0
- package/ts/customers/step1.js +395 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +68 -0
- package/ts/customers/step2.js +381 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- 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/verifyemail.d.ts +35 -0
- package/ts/customers/verifyemail.js +117 -0
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.d.ts +238 -238
- package/ts/customers.js +1 -1
- package/ts/decisionengine/decisionengine.d.ts +40 -0
- package/ts/decisionengine/decisionengine.js +191 -0
- package/ts/decisionengine/decisionenginetrigger.js +1 -1
- package/ts/decisionengine/locdisbursalapproval.js +1 -1
- package/ts/decisionengine/saveconsent.js +1 -1
- package/ts/decisionengine.d.ts +6 -6
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents/getfinancialdoc.js +1 -1
- package/ts/documents.d.ts +4 -4
- package/ts/documents.js +1 -1
- package/ts/eqxcustomer.d.ts +16 -16
- 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/getnotifications.js +1 -1
- package/ts/eqxcustomers/sendotp.js +1 -1
- package/ts/eqxcustomers/updatenotification.js +1 -1
- package/ts/eqxcustomers/updatepushid.js +1 -1
- package/ts/eqxcustomers/verifyotp.js +1 -1
- package/ts/example.d.ts +4 -4
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- 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/processchrpayment.d.ts +39 -0
- package/ts/growth/processchrpayment.js +177 -0
- package/ts/growth.d.ts +14 -14
- package/ts/growth.js +1 -1
- package/ts/kyc/epfo/fetchUANList.js +1 -1
- package/ts/kyc.d.ts +2 -2
- package/ts/kyc.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.d.ts +6 -6
- 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/forecloseamount.d.ts +36 -0
- package/ts/loans/forecloseamount.js +133 -0
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
- package/ts/loans/futurepaymentmoredetails.js +243 -0
- 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/rollbackextrapayment.d.ts +37 -0
- package/ts/loans/rollbackextrapayment.js +149 -0
- 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.d.ts +82 -82
- 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.d.ts +12 -12
- 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.d.ts +10 -10
- package/ts/stashcash.js +1 -1
- package/ts/upi/addaccount.js +1 -1
- package/ts/upi/addupinumber.d.ts +39 -0
- package/ts/upi/addupinumber.js +177 -0
- package/ts/upi/addvpa.d.ts +36 -0
- package/ts/upi/addvpa.js +133 -0
- package/ts/upi/blockvpa.js +1 -1
- package/ts/upi/checktransactionstatus.js +1 -1
- package/ts/upi/declinemandate.js +1 -1
- package/ts/upi/deregisterprofile.js +1 -1
- package/ts/upi/getaccountsbyprovider.js +1 -1
- package/ts/upi/getallmandates.js +1 -1
- package/ts/upi/getavailablevpa.js +1 -1
- package/ts/upi/getlistedaccountproviders.js +1 -1
- package/ts/upi/getmandatedetails.js +1 -1
- package/ts/upi/getmandatehistory.js +1 -1
- package/ts/upi/getpendingcollectrequest.js +1 -1
- package/ts/upi/getprofile.js +1 -1
- package/ts/upi/getrecentcontacts.js +1 -1
- package/ts/upi/gettransactions.js +1 -1
- package/ts/upi/getupinumbers.js +1 -1
- package/ts/upi/initiatemandateaction.js +1 -1
- package/ts/upi/initiatetransaction.js +1 -1
- package/ts/upi/listblockedvpa.js +1 -1
- package/ts/upi/suggestvpa.d.ts +35 -0
- package/ts/upi/suggestvpa.js +122 -0
- package/ts/upi/unblockvpa.js +1 -1
- package/ts/upi/updatedevicebinding.js +1 -1
- package/ts/upi/updatedevicelinking.d.ts +49 -0
- package/ts/upi/updatedevicelinking.js +332 -0
- package/ts/upi/upinumberoperations.js +1 -1
- package/ts/upi/validateifsc.js +1 -1
- package/ts/upi/validatevpa.js +1 -1
- package/ts/upi.d.ts +50 -50
- package/ts/upi.js +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getcustomer.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.getCustomerResponse = exports.getCustomerRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.Data = exports.getCustomerResponse = exports.getCustomerRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const long_1 = __importDefault(require("long"));
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -64,6 +64,100 @@ exports.getCustomerRequest = {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
function createBasegetCustomerResponse() {
|
|
67
|
+
return { success: false, data: undefined, error_code: undefined, error_message: undefined };
|
|
68
|
+
}
|
|
69
|
+
exports.getCustomerResponse = {
|
|
70
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
71
|
+
if (message.success !== false) {
|
|
72
|
+
writer.uint32(8).bool(message.success);
|
|
73
|
+
}
|
|
74
|
+
if (message.data !== undefined) {
|
|
75
|
+
exports.Data.encode(message.data, writer.uint32(18).fork()).ldelim();
|
|
76
|
+
}
|
|
77
|
+
if (message.error_code !== undefined) {
|
|
78
|
+
writer.uint32(24).int32(message.error_code);
|
|
79
|
+
}
|
|
80
|
+
if (message.error_message !== undefined) {
|
|
81
|
+
writer.uint32(34).string(message.error_message);
|
|
82
|
+
}
|
|
83
|
+
return writer;
|
|
84
|
+
},
|
|
85
|
+
decode(input, length) {
|
|
86
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
87
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
88
|
+
const message = createBasegetCustomerResponse();
|
|
89
|
+
while (reader.pos < end) {
|
|
90
|
+
const tag = reader.uint32();
|
|
91
|
+
switch (tag >>> 3) {
|
|
92
|
+
case 1:
|
|
93
|
+
if (tag !== 8) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.success = reader.bool();
|
|
97
|
+
continue;
|
|
98
|
+
case 2:
|
|
99
|
+
if (tag !== 18) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.data = exports.Data.decode(reader, reader.uint32());
|
|
103
|
+
continue;
|
|
104
|
+
case 3:
|
|
105
|
+
if (tag !== 24) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.error_code = reader.int32();
|
|
109
|
+
continue;
|
|
110
|
+
case 4:
|
|
111
|
+
if (tag !== 34) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
message.error_message = reader.string();
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
reader.skipType(tag & 7);
|
|
121
|
+
}
|
|
122
|
+
return message;
|
|
123
|
+
},
|
|
124
|
+
fromJSON(object) {
|
|
125
|
+
return {
|
|
126
|
+
success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
|
|
127
|
+
data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
|
|
128
|
+
error_code: isSet(object.error_code) ? globalThis.Number(object.error_code) : undefined,
|
|
129
|
+
error_message: isSet(object.error_message) ? globalThis.String(object.error_message) : undefined,
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
toJSON(message) {
|
|
133
|
+
const obj = {};
|
|
134
|
+
if (message.success !== false) {
|
|
135
|
+
obj.success = message.success;
|
|
136
|
+
}
|
|
137
|
+
if (message.data !== undefined) {
|
|
138
|
+
obj.data = exports.Data.toJSON(message.data);
|
|
139
|
+
}
|
|
140
|
+
if (message.error_code !== undefined) {
|
|
141
|
+
obj.error_code = Math.round(message.error_code);
|
|
142
|
+
}
|
|
143
|
+
if (message.error_message !== undefined) {
|
|
144
|
+
obj.error_message = message.error_message;
|
|
145
|
+
}
|
|
146
|
+
return obj;
|
|
147
|
+
},
|
|
148
|
+
create(base) {
|
|
149
|
+
return exports.getCustomerResponse.fromPartial(base ?? {});
|
|
150
|
+
},
|
|
151
|
+
fromPartial(object) {
|
|
152
|
+
const message = createBasegetCustomerResponse();
|
|
153
|
+
message.success = object.success ?? false;
|
|
154
|
+
message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
|
|
155
|
+
message.error_code = object.error_code ?? undefined;
|
|
156
|
+
message.error_message = object.error_message ?? undefined;
|
|
157
|
+
return message;
|
|
158
|
+
},
|
|
159
|
+
};
|
|
160
|
+
function createBaseData() {
|
|
67
161
|
return {
|
|
68
162
|
first_name: "",
|
|
69
163
|
middle_name: undefined,
|
|
@@ -76,7 +170,7 @@ function createBasegetCustomerResponse() {
|
|
|
76
170
|
is_email_verify_done: undefined,
|
|
77
171
|
};
|
|
78
172
|
}
|
|
79
|
-
exports.
|
|
173
|
+
exports.Data = {
|
|
80
174
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
81
175
|
if (message.first_name !== "") {
|
|
82
176
|
writer.uint32(10).string(message.first_name);
|
|
@@ -110,7 +204,7 @@ exports.getCustomerResponse = {
|
|
|
110
204
|
decode(input, length) {
|
|
111
205
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
112
206
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
113
|
-
const message =
|
|
207
|
+
const message = createBaseData();
|
|
114
208
|
while (reader.pos < end) {
|
|
115
209
|
const tag = reader.uint32();
|
|
116
210
|
switch (tag >>> 3) {
|
|
@@ -223,10 +317,10 @@ exports.getCustomerResponse = {
|
|
|
223
317
|
return obj;
|
|
224
318
|
},
|
|
225
319
|
create(base) {
|
|
226
|
-
return exports.
|
|
320
|
+
return exports.Data.fromPartial(base ?? {});
|
|
227
321
|
},
|
|
228
322
|
fromPartial(object) {
|
|
229
|
-
const message =
|
|
323
|
+
const message = createBaseData();
|
|
230
324
|
message.first_name = object.first_name ?? "";
|
|
231
325
|
message.middle_name = object.middle_name ?? undefined;
|
|
232
326
|
message.last_name = object.last_name ?? undefined;
|
|
@@ -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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getcustomerbyid.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getcustomerdetailsbymobile.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getdashboard.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getdashboardmaincard.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getdocuments.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getglobalpopups.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/customers/getlimit.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getlimit.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getloclimit.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getmessengermode.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getoccupationlist.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getprofessionalinfo.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/getprofile.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getrecommendedtag";
|
|
3
|
+
export interface getRecommendedTagRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getRecommendedTagResponse {
|
|
6
|
+
click_to_call: number;
|
|
7
|
+
ym_chat: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const getRecommendedTagRequest: {
|
|
10
|
+
encode(_: getRecommendedTagRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getRecommendedTagRequest;
|
|
12
|
+
fromJSON(_: any): getRecommendedTagRequest;
|
|
13
|
+
toJSON(_: getRecommendedTagRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<getRecommendedTagRequest>, I>>(base?: I): getRecommendedTagRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<getRecommendedTagRequest>, I>>(_: I): getRecommendedTagRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const getRecommendedTagResponse: {
|
|
18
|
+
encode(message: getRecommendedTagResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getRecommendedTagResponse;
|
|
20
|
+
fromJSON(object: any): getRecommendedTagResponse;
|
|
21
|
+
toJSON(message: getRecommendedTagResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<getRecommendedTagResponse>, I>>(base?: I): getRecommendedTagResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<getRecommendedTagResponse>, I>>(object: I): getRecommendedTagResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,134 @@
|
|
|
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.3
|
|
6
|
+
// source: customers/getrecommendedtag.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.getRecommendedTagResponse = exports.getRecommendedTagRequest = 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.getrecommendedtag";
|
|
16
|
+
function createBasegetRecommendedTagRequest() {
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
exports.getRecommendedTagRequest = {
|
|
20
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
return writer;
|
|
22
|
+
},
|
|
23
|
+
decode(input, length) {
|
|
24
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
25
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
+
const message = createBasegetRecommendedTagRequest();
|
|
27
|
+
while (reader.pos < end) {
|
|
28
|
+
const tag = reader.uint32();
|
|
29
|
+
switch (tag >>> 3) {
|
|
30
|
+
}
|
|
31
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
reader.skipType(tag & 7);
|
|
35
|
+
}
|
|
36
|
+
return message;
|
|
37
|
+
},
|
|
38
|
+
fromJSON(_) {
|
|
39
|
+
return {};
|
|
40
|
+
},
|
|
41
|
+
toJSON(_) {
|
|
42
|
+
const obj = {};
|
|
43
|
+
return obj;
|
|
44
|
+
},
|
|
45
|
+
create(base) {
|
|
46
|
+
return exports.getRecommendedTagRequest.fromPartial(base ?? {});
|
|
47
|
+
},
|
|
48
|
+
fromPartial(_) {
|
|
49
|
+
const message = createBasegetRecommendedTagRequest();
|
|
50
|
+
return message;
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
function createBasegetRecommendedTagResponse() {
|
|
54
|
+
return { click_to_call: 0, ym_chat: 0 };
|
|
55
|
+
}
|
|
56
|
+
exports.getRecommendedTagResponse = {
|
|
57
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
58
|
+
if (message.click_to_call !== 0) {
|
|
59
|
+
writer.uint32(8).int64(message.click_to_call);
|
|
60
|
+
}
|
|
61
|
+
if (message.ym_chat !== 0) {
|
|
62
|
+
writer.uint32(16).int64(message.ym_chat);
|
|
63
|
+
}
|
|
64
|
+
return writer;
|
|
65
|
+
},
|
|
66
|
+
decode(input, length) {
|
|
67
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
68
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
69
|
+
const message = createBasegetRecommendedTagResponse();
|
|
70
|
+
while (reader.pos < end) {
|
|
71
|
+
const tag = reader.uint32();
|
|
72
|
+
switch (tag >>> 3) {
|
|
73
|
+
case 1:
|
|
74
|
+
if (tag !== 8) {
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
message.click_to_call = longToNumber(reader.int64());
|
|
78
|
+
continue;
|
|
79
|
+
case 2:
|
|
80
|
+
if (tag !== 16) {
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
message.ym_chat = longToNumber(reader.int64());
|
|
84
|
+
continue;
|
|
85
|
+
}
|
|
86
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
reader.skipType(tag & 7);
|
|
90
|
+
}
|
|
91
|
+
return message;
|
|
92
|
+
},
|
|
93
|
+
fromJSON(object) {
|
|
94
|
+
return {
|
|
95
|
+
click_to_call: isSet(object.click_to_call) ? globalThis.Number(object.click_to_call) : 0,
|
|
96
|
+
ym_chat: isSet(object.ym_chat) ? globalThis.Number(object.ym_chat) : 0,
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.click_to_call !== 0) {
|
|
102
|
+
obj.click_to_call = Math.round(message.click_to_call);
|
|
103
|
+
}
|
|
104
|
+
if (message.ym_chat !== 0) {
|
|
105
|
+
obj.ym_chat = Math.round(message.ym_chat);
|
|
106
|
+
}
|
|
107
|
+
return obj;
|
|
108
|
+
},
|
|
109
|
+
create(base) {
|
|
110
|
+
return exports.getRecommendedTagResponse.fromPartial(base ?? {});
|
|
111
|
+
},
|
|
112
|
+
fromPartial(object) {
|
|
113
|
+
const message = createBasegetRecommendedTagResponse();
|
|
114
|
+
message.click_to_call = object.click_to_call ?? 0;
|
|
115
|
+
message.ym_chat = object.ym_chat ?? 0;
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
function longToNumber(long) {
|
|
120
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
121
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
122
|
+
}
|
|
123
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
124
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
125
|
+
}
|
|
126
|
+
return long.toNumber();
|
|
127
|
+
}
|
|
128
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
129
|
+
minimal_1.default.util.Long = long_1.default;
|
|
130
|
+
minimal_1.default.configure();
|
|
131
|
+
}
|
|
132
|
+
function isSet(value) {
|
|
133
|
+
return value !== null && value !== undefined;
|
|
134
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,190 @@
|
|
|
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
|
+
}
|