@stashfin/grpc 1.2.457 → 1.2.458

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.
Files changed (260) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +2 -2
  3. package/ts/bureau/getcibilwebtoken.js +2 -2
  4. package/ts/bureau/getdbrcolending.js +2 -2
  5. package/ts/bureau/getdemogs.js +2 -2
  6. package/ts/bureau/getobligation.js +2 -2
  7. package/ts/bureau/getreport.js +2 -2
  8. package/ts/bureau.js +2 -2
  9. package/ts/colender/disburseLoan.js +2 -2
  10. package/ts/colender/forecloseLoan.js +2 -2
  11. package/ts/colender/repayLoan.js +2 -2
  12. package/ts/colender.js +2 -2
  13. package/ts/customers/aa/getaatxnstatus.js +2 -2
  14. package/ts/customers/aa/getbanklist.js +2 -2
  15. package/ts/customers/aa/initiate.js +2 -2
  16. package/ts/customers/accidentprotectionplan.js +2 -2
  17. package/ts/customers/addaddress.js +2 -2
  18. package/ts/customers/addbankaccountdetails.js +2 -2
  19. package/ts/customers/addfathersname.js +2 -2
  20. package/ts/customers/addgstnumber.js +2 -2
  21. package/ts/customers/addmoredetails.js +2 -2
  22. package/ts/customers/addsuspendedcustomer.js +2 -2
  23. package/ts/customers/adduserapps.js +2 -2
  24. package/ts/customers/applyclijourney.js +2 -2
  25. package/ts/customers/bulksms.js +2 -2
  26. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  27. package/ts/customers/cb/cbpaynow.js +2 -2
  28. package/ts/customers/cb/cbsignup.js +2 -2
  29. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  30. package/ts/customers/cb/getcreditbuilder.js +2 -2
  31. package/ts/customers/cb/getpaymentsummary.js +2 -2
  32. package/ts/customers/cb/insurancedetails.js +2 -2
  33. package/ts/customers/cb/lesscsimprove.js +2 -2
  34. package/ts/customers/cb/morecsimprove.js +2 -2
  35. package/ts/customers/cb/paynow.js +2 -2
  36. package/ts/customers/cb/savecreditbuilder.js +2 -2
  37. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  38. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  39. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  40. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  41. package/ts/customers/changempin.js +2 -2
  42. package/ts/customers/createcustomerreference.js +2 -2
  43. package/ts/customers/createvanumber.js +2 -2
  44. package/ts/customers/customerinfo.js +2 -2
  45. package/ts/customers/deletedocument.js +2 -2
  46. package/ts/customers/deleteprofile.js +2 -2
  47. package/ts/customers/disablempin.js +2 -2
  48. package/ts/customers/enach/gettxnstatus.js +2 -2
  49. package/ts/customers/enach/getweburl.js +2 -2
  50. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  51. package/ts/customers/enach/updatetxnstatus.js +2 -2
  52. package/ts/customers/fetchrcprofile.js +2 -2
  53. package/ts/customers/floatingvideos.js +2 -2
  54. package/ts/customers/forceupdate.js +2 -2
  55. package/ts/customers/forgotmpin.js +2 -2
  56. package/ts/customers/forgotmpinverify.js +2 -2
  57. package/ts/customers/freedom/addressconfirmation.js +2 -2
  58. package/ts/customers/freedom/freedompaynow.js +2 -2
  59. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  60. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  61. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  62. package/ts/customers/getaddresslist.js +2 -2
  63. package/ts/customers/getappsubmittedscreen.js +2 -2
  64. package/ts/customers/getbankaccountdetails.js +2 -2
  65. package/ts/customers/getbasicinfo.js +2 -2
  66. package/ts/customers/getcities.js +2 -2
  67. package/ts/customers/getclistatus.js +2 -2
  68. package/ts/customers/getcompanyaccdetails.js +2 -2
  69. package/ts/customers/getcustomerbyid.d.ts +15 -1
  70. package/ts/customers/getcustomerbyid.js +101 -17
  71. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  72. package/ts/customers/getdashboard.js +2 -2
  73. package/ts/customers/getdashboardmaincard.js +2 -2
  74. package/ts/customers/getdocuments.js +2 -2
  75. package/ts/customers/getglobalpopups.js +2 -2
  76. package/ts/customers/getlimit.js +2 -2
  77. package/ts/customers/getloclimit.js +2 -2
  78. package/ts/customers/getmessengermode.js +2 -2
  79. package/ts/customers/getoccupationlist.js +2 -2
  80. package/ts/customers/getpaymentoptions.js +2 -2
  81. package/ts/customers/getprofessionalinfo.js +2 -2
  82. package/ts/customers/getprofile.js +2 -2
  83. package/ts/customers/getselfieetxnid.js +2 -2
  84. package/ts/customers/getstates.js +2 -2
  85. package/ts/customers/getstep.js +2 -2
  86. package/ts/customers/getsyncstatus.js +2 -2
  87. package/ts/customers/getvanumber.js +2 -2
  88. package/ts/customers/lamf/applylamf.js +2 -2
  89. package/ts/customers/lamf/sendlamfotp.js +2 -2
  90. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  91. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  92. package/ts/customers/lamf/verifylamfotp.js +2 -2
  93. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  94. package/ts/customers/logout.js +2 -2
  95. package/ts/customers/pd/getbanklist.js +2 -2
  96. package/ts/customers/pd/validatebankaccount.js +2 -2
  97. package/ts/customers/profilebasic.js +2 -2
  98. package/ts/customers/profileupdatetnc.js +2 -2
  99. package/ts/customers/resetbanner.js +2 -2
  100. package/ts/customers/restoreaccount.js +2 -2
  101. package/ts/customers/rpd/getrpdlink.js +2 -2
  102. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  103. package/ts/customers/rpd/mockpayment.js +2 -2
  104. package/ts/customers/saveappslist.js +2 -2
  105. package/ts/customers/savebasicdetails.js +2 -2
  106. package/ts/customers/savelimit.js +2 -2
  107. package/ts/customers/saveunlocklimit.js +2 -2
  108. package/ts/customers/sendotp.js +2 -2
  109. package/ts/customers/sendotptoemail.js +2 -2
  110. package/ts/customers/setmpin.js +2 -2
  111. package/ts/customers/skipscreen.js +2 -2
  112. package/ts/customers/submituploadeddocuments.js +2 -2
  113. package/ts/customers/syncdecisionengine.js +2 -2
  114. package/ts/customers/updatecategory.js +2 -2
  115. package/ts/customers/updatecongratulationstep.js +2 -2
  116. package/ts/customers/updatecustomerbyid.js +2 -2
  117. package/ts/customers/updatedlnumber.js +2 -2
  118. package/ts/customers/updatedob.js +2 -2
  119. package/ts/customers/updatelocstatus.js +2 -2
  120. package/ts/customers/updatemobilesendotp.js +2 -2
  121. package/ts/customers/updatemobileverifyotp.js +2 -2
  122. package/ts/customers/updateokyctxn.js +2 -2
  123. package/ts/customers/updatesanctionamount.js +2 -2
  124. package/ts/customers/updateselfieetxn.js +2 -2
  125. package/ts/customers/updatesyncstatus.js +2 -2
  126. package/ts/customers/updatevehiclenumber.js +2 -2
  127. package/ts/customers/uploaddocuments.js +2 -2
  128. package/ts/customers/validatepan.js +2 -2
  129. package/ts/customers/verifympin.js +2 -2
  130. package/ts/customers/verifyotp.js +2 -2
  131. package/ts/customers/verifyotptoemail.js +2 -2
  132. package/ts/customers.js +2 -2
  133. package/ts/decisionengine/decisionengine.js +2 -2
  134. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  135. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  136. package/ts/decisionengine/saveconsent.js +2 -2
  137. package/ts/decisionengine.js +2 -2
  138. package/ts/documents/getagreement.js +2 -2
  139. package/ts/documents/getfinancialdoc.js +2 -2
  140. package/ts/documents.js +2 -2
  141. package/ts/eqxcustomer.js +2 -2
  142. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  143. package/ts/eqxcustomers/getdashboard.js +2 -2
  144. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  145. package/ts/eqxcustomers/sendotp.js +2 -2
  146. package/ts/eqxcustomers/verifyotp.js +2 -2
  147. package/ts/example.js +2 -2
  148. package/ts/growth/checkplanstatus.js +2 -2
  149. package/ts/growth/getattachplandetails.js +2 -2
  150. package/ts/growth/getchrpaymentstatus.js +2 -2
  151. package/ts/growth/getchrplans.js +2 -2
  152. package/ts/growth/getcredithealthreport.js +2 -2
  153. package/ts/growth/initiatepayment.js +2 -2
  154. package/ts/growth/notifychrpayment.js +2 -2
  155. package/ts/growth/processchrpayment.js +2 -2
  156. package/ts/growth.js +2 -2
  157. package/ts/lamf/getloandetails.js +2 -2
  158. package/ts/lamf/submitotp.js +2 -2
  159. package/ts/lamf/validateuser.js +2 -2
  160. package/ts/lamf.js +2 -2
  161. package/ts/loans/amortization.js +2 -2
  162. package/ts/loans/approveloan.js +2 -2
  163. package/ts/loans/banklist.js +2 -2
  164. package/ts/loans/calculateemi.js +2 -2
  165. package/ts/loans/cbloan.js +2 -2
  166. package/ts/loans/createlamfloan.js +2 -2
  167. package/ts/loans/createpenalty.js +2 -2
  168. package/ts/loans/creditlimit.js +2 -2
  169. package/ts/loans/emimoredetails.js +2 -2
  170. package/ts/loans/fcppayment.js +2 -2
  171. package/ts/loans/forecloseamount.js +2 -2
  172. package/ts/loans/foreclosepayment.js +2 -2
  173. package/ts/loans/futurepaymentmoredetails.js +2 -2
  174. package/ts/loans/getaddonslist.js +2 -2
  175. package/ts/loans/getbilldetails.js +2 -2
  176. package/ts/loans/getcbloandetails.js +2 -2
  177. package/ts/loans/getchrdetails.js +2 -2
  178. package/ts/loans/getcustomerloanstatus.js +2 -2
  179. package/ts/loans/getforecloseamount.js +2 -2
  180. package/ts/loans/getloanbyid.js +2 -2
  181. package/ts/loans/getnextdueamount.js +2 -2
  182. package/ts/loans/getpaymentoptions.js +2 -2
  183. package/ts/loans/getpendingemiamount.js +2 -2
  184. package/ts/loans/getsetubilldetails.js +2 -2
  185. package/ts/loans/getsummarystaticfields.js +2 -2
  186. package/ts/loans/gettransactionstatus.js +2 -2
  187. package/ts/loans/getusedlimit.js +2 -2
  188. package/ts/loans/getvirtualaccountnumber.d.ts +35 -0
  189. package/ts/{customers/verifyemail.js → loans/getvirtualaccountnumber.js} +32 -32
  190. package/ts/loans/getvirtualbankinfo.js +2 -2
  191. package/ts/loans/loansummary.js +2 -2
  192. package/ts/loans/manualpaymentallocation.js +2 -2
  193. package/ts/loans/paymentallocation.js +2 -2
  194. package/ts/loans/paymenthistory.js +2 -2
  195. package/ts/loans/paynow.js +2 -2
  196. package/ts/loans/refund.js +2 -2
  197. package/ts/loans/restructureloan.js +2 -2
  198. package/ts/loans/rollback.js +2 -2
  199. package/ts/loans/rollbackextrapayment.js +2 -2
  200. package/ts/loans/sendemail.js +2 -2
  201. package/ts/loans/sendnocemail.js +2 -2
  202. package/ts/loans/transactionlist.js +2 -2
  203. package/ts/loans/updatecollectionview.js +2 -2
  204. package/ts/loans/updateinstallments.js +2 -2
  205. package/ts/loans/updateloan.js +2 -2
  206. package/ts/loans/updatetransactionstatus.js +2 -2
  207. package/ts/loans.js +2 -2
  208. package/ts/payments/checkpaymentstatus.js +2 -2
  209. package/ts/payments/fundtransfer.js +2 -2
  210. package/ts/payments/getpaymentoptions.js +2 -2
  211. package/ts/payments/initiatepayment.js +2 -2
  212. package/ts/payments/nachpresentation.js +2 -2
  213. package/ts/payments/nachregistration.js +2 -2
  214. package/ts/payments.js +2 -2
  215. package/ts/stashcash/creditsc.js +2 -2
  216. package/ts/stashcash/debitsc.js +2 -2
  217. package/ts/stashcash/getscbalance.js +2 -2
  218. package/ts/stashcash/getschistory.js +2 -2
  219. package/ts/stashcash/reversesc.js +2 -2
  220. package/ts/stashcash.js +2 -2
  221. package/ts/upi/getavailablevpa.js +2 -2
  222. package/ts/upi/getlistedaccountproviders.js +2 -2
  223. package/ts/upi/updatedevicebinding.js +2 -2
  224. package/ts/upi.d.ts +0 -28
  225. package/ts/upi.js +2 -22
  226. package/ts/customers/getrecommendedtag.d.ts +0 -35
  227. package/ts/customers/getrecommendedtag.js +0 -134
  228. package/ts/customers/getrpdlink.d.ts +0 -40
  229. package/ts/customers/getrpdlink.js +0 -190
  230. package/ts/customers/sendemailtoken.d.ts +0 -35
  231. package/ts/customers/sendemailtoken.js +0 -117
  232. package/ts/customers/skipdlrcscreen.d.ts +0 -35
  233. package/ts/customers/skipdlrcscreen.js +0 -117
  234. package/ts/customers/step1.d.ts +0 -69
  235. package/ts/customers/step1.js +0 -395
  236. package/ts/customers/step10.d.ts +0 -73
  237. package/ts/customers/step10.js +0 -459
  238. package/ts/customers/step2.d.ts +0 -68
  239. package/ts/customers/step2.js +0 -381
  240. package/ts/customers/step7.d.ts +0 -68
  241. package/ts/customers/step7.js +0 -381
  242. package/ts/customers/step8.d.ts +0 -69
  243. package/ts/customers/step8.js +0 -395
  244. package/ts/customers/step9.d.ts +0 -75
  245. package/ts/customers/step9.js +0 -489
  246. package/ts/customers/stepstatic.d.ts +0 -66
  247. package/ts/customers/stepstatic.js +0 -354
  248. package/ts/customers/verifyemail.d.ts +0 -35
  249. package/ts/google/protobuf/timestamp.d.ts +0 -127
  250. package/ts/google/protobuf/timestamp.js +0 -97
  251. package/ts/upi/addupinumber.d.ts +0 -39
  252. package/ts/upi/addupinumber.js +0 -177
  253. package/ts/upi/addvpa.d.ts +0 -36
  254. package/ts/upi/addvpa.js +0 -133
  255. package/ts/upi/initiatetransaction.d.ts +0 -44
  256. package/ts/upi/initiatetransaction.js +0 -255
  257. package/ts/upi/suggestvpa.d.ts +0 -35
  258. package/ts/upi/suggestvpa.js +0 -122
  259. package/ts/upi/updatedevicelinking.d.ts +0 -49
  260. package/ts/upi/updatedevicelinking.js +0 -332
@@ -1,177 +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.3
6
- // source: upi/addupinumber.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.addUPINumberResponse = exports.addUPINumberRequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.addUpiNumber";
15
- function createBaseaddUPINumberRequest() {
16
- return { vpa: "", upi_number: "", operation: "", status: "" };
17
- }
18
- exports.addUPINumberRequest = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.vpa !== "") {
21
- writer.uint32(10).string(message.vpa);
22
- }
23
- if (message.upi_number !== "") {
24
- writer.uint32(18).string(message.upi_number);
25
- }
26
- if (message.operation !== "") {
27
- writer.uint32(26).string(message.operation);
28
- }
29
- if (message.status !== "") {
30
- writer.uint32(34).string(message.status);
31
- }
32
- return writer;
33
- },
34
- decode(input, length) {
35
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
36
- let end = length === undefined ? reader.len : reader.pos + length;
37
- const message = createBaseaddUPINumberRequest();
38
- while (reader.pos < end) {
39
- const tag = reader.uint32();
40
- switch (tag >>> 3) {
41
- case 1:
42
- if (tag !== 10) {
43
- break;
44
- }
45
- message.vpa = reader.string();
46
- continue;
47
- case 2:
48
- if (tag !== 18) {
49
- break;
50
- }
51
- message.upi_number = reader.string();
52
- continue;
53
- case 3:
54
- if (tag !== 26) {
55
- break;
56
- }
57
- message.operation = reader.string();
58
- continue;
59
- case 4:
60
- if (tag !== 34) {
61
- break;
62
- }
63
- message.status = reader.string();
64
- continue;
65
- }
66
- if ((tag & 7) === 4 || tag === 0) {
67
- break;
68
- }
69
- reader.skipType(tag & 7);
70
- }
71
- return message;
72
- },
73
- fromJSON(object) {
74
- return {
75
- vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "",
76
- upi_number: isSet(object.upi_number) ? globalThis.String(object.upi_number) : "",
77
- operation: isSet(object.operation) ? globalThis.String(object.operation) : "",
78
- status: isSet(object.status) ? globalThis.String(object.status) : "",
79
- };
80
- },
81
- toJSON(message) {
82
- const obj = {};
83
- if (message.vpa !== "") {
84
- obj.vpa = message.vpa;
85
- }
86
- if (message.upi_number !== "") {
87
- obj.upi_number = message.upi_number;
88
- }
89
- if (message.operation !== "") {
90
- obj.operation = message.operation;
91
- }
92
- if (message.status !== "") {
93
- obj.status = message.status;
94
- }
95
- return obj;
96
- },
97
- create(base) {
98
- return exports.addUPINumberRequest.fromPartial(base ?? {});
99
- },
100
- fromPartial(object) {
101
- const message = createBaseaddUPINumberRequest();
102
- message.vpa = object.vpa ?? "";
103
- message.upi_number = object.upi_number ?? "";
104
- message.operation = object.operation ?? "";
105
- message.status = object.status ?? "";
106
- return message;
107
- },
108
- };
109
- function createBaseaddUPINumberResponse() {
110
- return { status: "", message: "" };
111
- }
112
- exports.addUPINumberResponse = {
113
- encode(message, writer = minimal_1.default.Writer.create()) {
114
- if (message.status !== "") {
115
- writer.uint32(10).string(message.status);
116
- }
117
- if (message.message !== "") {
118
- writer.uint32(18).string(message.message);
119
- }
120
- return writer;
121
- },
122
- decode(input, length) {
123
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
124
- let end = length === undefined ? reader.len : reader.pos + length;
125
- const message = createBaseaddUPINumberResponse();
126
- while (reader.pos < end) {
127
- const tag = reader.uint32();
128
- switch (tag >>> 3) {
129
- case 1:
130
- if (tag !== 10) {
131
- break;
132
- }
133
- message.status = reader.string();
134
- continue;
135
- case 2:
136
- if (tag !== 18) {
137
- break;
138
- }
139
- message.message = reader.string();
140
- continue;
141
- }
142
- if ((tag & 7) === 4 || tag === 0) {
143
- break;
144
- }
145
- reader.skipType(tag & 7);
146
- }
147
- return message;
148
- },
149
- fromJSON(object) {
150
- return {
151
- status: isSet(object.status) ? globalThis.String(object.status) : "",
152
- message: isSet(object.message) ? globalThis.String(object.message) : "",
153
- };
154
- },
155
- toJSON(message) {
156
- const obj = {};
157
- if (message.status !== "") {
158
- obj.status = message.status;
159
- }
160
- if (message.message !== "") {
161
- obj.message = message.message;
162
- }
163
- return obj;
164
- },
165
- create(base) {
166
- return exports.addUPINumberResponse.fromPartial(base ?? {});
167
- },
168
- fromPartial(object) {
169
- const message = createBaseaddUPINumberResponse();
170
- message.status = object.status ?? "";
171
- message.message = object.message ?? "";
172
- return message;
173
- },
174
- };
175
- function isSet(value) {
176
- return value !== null && value !== undefined;
177
- }
@@ -1,36 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "upi.addvpa";
3
- export interface addVPARequest {
4
- vpa: string;
5
- }
6
- export interface addVPAResponse {
7
- status: string;
8
- message: string;
9
- }
10
- export declare const addVPARequest: {
11
- encode(message: addVPARequest, writer?: _m0.Writer): _m0.Writer;
12
- decode(input: _m0.Reader | Uint8Array, length?: number): addVPARequest;
13
- fromJSON(object: any): addVPARequest;
14
- toJSON(message: addVPARequest): unknown;
15
- create<I extends Exact<DeepPartial<addVPARequest>, I>>(base?: I): addVPARequest;
16
- fromPartial<I extends Exact<DeepPartial<addVPARequest>, I>>(object: I): addVPARequest;
17
- };
18
- export declare const addVPAResponse: {
19
- encode(message: addVPAResponse, writer?: _m0.Writer): _m0.Writer;
20
- decode(input: _m0.Reader | Uint8Array, length?: number): addVPAResponse;
21
- fromJSON(object: any): addVPAResponse;
22
- toJSON(message: addVPAResponse): unknown;
23
- create<I extends Exact<DeepPartial<addVPAResponse>, I>>(base?: I): addVPAResponse;
24
- fromPartial<I extends Exact<DeepPartial<addVPAResponse>, I>>(object: I): addVPAResponse;
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 {};
package/ts/upi/addvpa.js DELETED
@@ -1,133 +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.3
6
- // source: upi/addvpa.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.addVPAResponse = exports.addVPARequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.addvpa";
15
- function createBaseaddVPARequest() {
16
- return { vpa: "" };
17
- }
18
- exports.addVPARequest = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.vpa !== "") {
21
- writer.uint32(10).string(message.vpa);
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 = createBaseaddVPARequest();
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.vpa = 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 { vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "" };
48
- },
49
- toJSON(message) {
50
- const obj = {};
51
- if (message.vpa !== "") {
52
- obj.vpa = message.vpa;
53
- }
54
- return obj;
55
- },
56
- create(base) {
57
- return exports.addVPARequest.fromPartial(base ?? {});
58
- },
59
- fromPartial(object) {
60
- const message = createBaseaddVPARequest();
61
- message.vpa = object.vpa ?? "";
62
- return message;
63
- },
64
- };
65
- function createBaseaddVPAResponse() {
66
- return { status: "", message: "" };
67
- }
68
- exports.addVPAResponse = {
69
- encode(message, writer = minimal_1.default.Writer.create()) {
70
- if (message.status !== "") {
71
- writer.uint32(10).string(message.status);
72
- }
73
- if (message.message !== "") {
74
- writer.uint32(18).string(message.message);
75
- }
76
- return writer;
77
- },
78
- decode(input, length) {
79
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
80
- let end = length === undefined ? reader.len : reader.pos + length;
81
- const message = createBaseaddVPAResponse();
82
- while (reader.pos < end) {
83
- const tag = reader.uint32();
84
- switch (tag >>> 3) {
85
- case 1:
86
- if (tag !== 10) {
87
- break;
88
- }
89
- message.status = reader.string();
90
- continue;
91
- case 2:
92
- if (tag !== 18) {
93
- break;
94
- }
95
- message.message = reader.string();
96
- continue;
97
- }
98
- if ((tag & 7) === 4 || tag === 0) {
99
- break;
100
- }
101
- reader.skipType(tag & 7);
102
- }
103
- return message;
104
- },
105
- fromJSON(object) {
106
- return {
107
- status: isSet(object.status) ? globalThis.String(object.status) : "",
108
- message: isSet(object.message) ? globalThis.String(object.message) : "",
109
- };
110
- },
111
- toJSON(message) {
112
- const obj = {};
113
- if (message.status !== "") {
114
- obj.status = message.status;
115
- }
116
- if (message.message !== "") {
117
- obj.message = message.message;
118
- }
119
- return obj;
120
- },
121
- create(base) {
122
- return exports.addVPAResponse.fromPartial(base ?? {});
123
- },
124
- fromPartial(object) {
125
- const message = createBaseaddVPAResponse();
126
- message.status = object.status ?? "";
127
- message.message = object.message ?? "";
128
- return message;
129
- },
130
- };
131
- function isSet(value) {
132
- return value !== null && value !== undefined;
133
- }
@@ -1,44 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "upi.initiateTransaction";
3
- export interface initiateTransactionRequest {
4
- mobile: string;
5
- amount: number;
6
- note?: string | undefined;
7
- txn_type: string;
8
- txn_status: string;
9
- payee_vpa?: string | undefined;
10
- payer_vpa?: string | undefined;
11
- }
12
- export interface initiateTransactionResponse {
13
- seq_no: string;
14
- txn_hash: string;
15
- status: string;
16
- message: string;
17
- }
18
- export declare const initiateTransactionRequest: {
19
- encode(message: initiateTransactionRequest, writer?: _m0.Writer): _m0.Writer;
20
- decode(input: _m0.Reader | Uint8Array, length?: number): initiateTransactionRequest;
21
- fromJSON(object: any): initiateTransactionRequest;
22
- toJSON(message: initiateTransactionRequest): unknown;
23
- create<I extends Exact<DeepPartial<initiateTransactionRequest>, I>>(base?: I): initiateTransactionRequest;
24
- fromPartial<I extends Exact<DeepPartial<initiateTransactionRequest>, I>>(object: I): initiateTransactionRequest;
25
- };
26
- export declare const initiateTransactionResponse: {
27
- encode(message: initiateTransactionResponse, writer?: _m0.Writer): _m0.Writer;
28
- decode(input: _m0.Reader | Uint8Array, length?: number): initiateTransactionResponse;
29
- fromJSON(object: any): initiateTransactionResponse;
30
- toJSON(message: initiateTransactionResponse): unknown;
31
- create<I extends Exact<DeepPartial<initiateTransactionResponse>, I>>(base?: I): initiateTransactionResponse;
32
- fromPartial<I extends Exact<DeepPartial<initiateTransactionResponse>, I>>(object: I): initiateTransactionResponse;
33
- };
34
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
35
- 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 {} ? {
36
- [K in keyof T]?: DeepPartial<T[K]>;
37
- } : Partial<T>;
38
- type KeysOfUnion<T> = T extends T ? keyof T : never;
39
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
40
- [K in keyof P]: Exact<P[K], I[K]>;
41
- } & {
42
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
43
- };
44
- export {};
@@ -1,255 +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.29.0
6
- // source: upi/initiatetransaction.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.initiateTransactionResponse = exports.initiateTransactionRequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.initiateTransaction";
15
- function createBaseinitiateTransactionRequest() {
16
- return {
17
- mobile: "",
18
- amount: 0,
19
- note: undefined,
20
- txn_type: "",
21
- txn_status: "",
22
- payee_vpa: undefined,
23
- payer_vpa: undefined,
24
- };
25
- }
26
- exports.initiateTransactionRequest = {
27
- encode(message, writer = minimal_1.default.Writer.create()) {
28
- if (message.mobile !== "") {
29
- writer.uint32(10).string(message.mobile);
30
- }
31
- if (message.amount !== 0) {
32
- writer.uint32(21).float(message.amount);
33
- }
34
- if (message.note !== undefined) {
35
- writer.uint32(26).string(message.note);
36
- }
37
- if (message.txn_type !== "") {
38
- writer.uint32(34).string(message.txn_type);
39
- }
40
- if (message.txn_status !== "") {
41
- writer.uint32(42).string(message.txn_status);
42
- }
43
- if (message.payee_vpa !== undefined) {
44
- writer.uint32(50).string(message.payee_vpa);
45
- }
46
- if (message.payer_vpa !== undefined) {
47
- writer.uint32(58).string(message.payer_vpa);
48
- }
49
- return writer;
50
- },
51
- decode(input, length) {
52
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
53
- let end = length === undefined ? reader.len : reader.pos + length;
54
- const message = createBaseinitiateTransactionRequest();
55
- while (reader.pos < end) {
56
- const tag = reader.uint32();
57
- switch (tag >>> 3) {
58
- case 1:
59
- if (tag !== 10) {
60
- break;
61
- }
62
- message.mobile = reader.string();
63
- continue;
64
- case 2:
65
- if (tag !== 21) {
66
- break;
67
- }
68
- message.amount = reader.float();
69
- continue;
70
- case 3:
71
- if (tag !== 26) {
72
- break;
73
- }
74
- message.note = reader.string();
75
- continue;
76
- case 4:
77
- if (tag !== 34) {
78
- break;
79
- }
80
- message.txn_type = reader.string();
81
- continue;
82
- case 5:
83
- if (tag !== 42) {
84
- break;
85
- }
86
- message.txn_status = reader.string();
87
- continue;
88
- case 6:
89
- if (tag !== 50) {
90
- break;
91
- }
92
- message.payee_vpa = reader.string();
93
- continue;
94
- case 7:
95
- if (tag !== 58) {
96
- break;
97
- }
98
- message.payer_vpa = reader.string();
99
- continue;
100
- }
101
- if ((tag & 7) === 4 || tag === 0) {
102
- break;
103
- }
104
- reader.skipType(tag & 7);
105
- }
106
- return message;
107
- },
108
- fromJSON(object) {
109
- return {
110
- mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
111
- amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
112
- note: isSet(object.note) ? globalThis.String(object.note) : undefined,
113
- txn_type: isSet(object.txn_type) ? globalThis.String(object.txn_type) : "",
114
- txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
115
- payee_vpa: isSet(object.payee_vpa) ? globalThis.String(object.payee_vpa) : undefined,
116
- payer_vpa: isSet(object.payer_vpa) ? globalThis.String(object.payer_vpa) : undefined,
117
- };
118
- },
119
- toJSON(message) {
120
- const obj = {};
121
- if (message.mobile !== "") {
122
- obj.mobile = message.mobile;
123
- }
124
- if (message.amount !== 0) {
125
- obj.amount = message.amount;
126
- }
127
- if (message.note !== undefined) {
128
- obj.note = message.note;
129
- }
130
- if (message.txn_type !== "") {
131
- obj.txn_type = message.txn_type;
132
- }
133
- if (message.txn_status !== "") {
134
- obj.txn_status = message.txn_status;
135
- }
136
- if (message.payee_vpa !== undefined) {
137
- obj.payee_vpa = message.payee_vpa;
138
- }
139
- if (message.payer_vpa !== undefined) {
140
- obj.payer_vpa = message.payer_vpa;
141
- }
142
- return obj;
143
- },
144
- create(base) {
145
- return exports.initiateTransactionRequest.fromPartial(base ?? {});
146
- },
147
- fromPartial(object) {
148
- const message = createBaseinitiateTransactionRequest();
149
- message.mobile = object.mobile ?? "";
150
- message.amount = object.amount ?? 0;
151
- message.note = object.note ?? undefined;
152
- message.txn_type = object.txn_type ?? "";
153
- message.txn_status = object.txn_status ?? "";
154
- message.payee_vpa = object.payee_vpa ?? undefined;
155
- message.payer_vpa = object.payer_vpa ?? undefined;
156
- return message;
157
- },
158
- };
159
- function createBaseinitiateTransactionResponse() {
160
- return { seq_no: "", txn_hash: "", status: "", message: "" };
161
- }
162
- exports.initiateTransactionResponse = {
163
- encode(message, writer = minimal_1.default.Writer.create()) {
164
- if (message.seq_no !== "") {
165
- writer.uint32(10).string(message.seq_no);
166
- }
167
- if (message.txn_hash !== "") {
168
- writer.uint32(18).string(message.txn_hash);
169
- }
170
- if (message.status !== "") {
171
- writer.uint32(26).string(message.status);
172
- }
173
- if (message.message !== "") {
174
- writer.uint32(34).string(message.message);
175
- }
176
- return writer;
177
- },
178
- decode(input, length) {
179
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
180
- let end = length === undefined ? reader.len : reader.pos + length;
181
- const message = createBaseinitiateTransactionResponse();
182
- while (reader.pos < end) {
183
- const tag = reader.uint32();
184
- switch (tag >>> 3) {
185
- case 1:
186
- if (tag !== 10) {
187
- break;
188
- }
189
- message.seq_no = reader.string();
190
- continue;
191
- case 2:
192
- if (tag !== 18) {
193
- break;
194
- }
195
- message.txn_hash = reader.string();
196
- continue;
197
- case 3:
198
- if (tag !== 26) {
199
- break;
200
- }
201
- message.status = reader.string();
202
- continue;
203
- case 4:
204
- if (tag !== 34) {
205
- break;
206
- }
207
- message.message = reader.string();
208
- continue;
209
- }
210
- if ((tag & 7) === 4 || tag === 0) {
211
- break;
212
- }
213
- reader.skipType(tag & 7);
214
- }
215
- return message;
216
- },
217
- fromJSON(object) {
218
- return {
219
- seq_no: isSet(object.seq_no) ? globalThis.String(object.seq_no) : "",
220
- txn_hash: isSet(object.txn_hash) ? globalThis.String(object.txn_hash) : "",
221
- status: isSet(object.status) ? globalThis.String(object.status) : "",
222
- message: isSet(object.message) ? globalThis.String(object.message) : "",
223
- };
224
- },
225
- toJSON(message) {
226
- const obj = {};
227
- if (message.seq_no !== "") {
228
- obj.seq_no = message.seq_no;
229
- }
230
- if (message.txn_hash !== "") {
231
- obj.txn_hash = message.txn_hash;
232
- }
233
- if (message.status !== "") {
234
- obj.status = message.status;
235
- }
236
- if (message.message !== "") {
237
- obj.message = message.message;
238
- }
239
- return obj;
240
- },
241
- create(base) {
242
- return exports.initiateTransactionResponse.fromPartial(base ?? {});
243
- },
244
- fromPartial(object) {
245
- const message = createBaseinitiateTransactionResponse();
246
- message.seq_no = object.seq_no ?? "";
247
- message.txn_hash = object.txn_hash ?? "";
248
- message.status = object.status ?? "";
249
- message.message = object.message ?? "";
250
- return message;
251
- },
252
- };
253
- function isSet(value) {
254
- return value !== null && value !== undefined;
255
- }
@@ -1,35 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "upi.suggestvpa";
3
- export interface suggestVPARequest {
4
- }
5
- export interface suggestVPAResponse {
6
- suggested_vpa_ids: string[];
7
- message: string;
8
- }
9
- export declare const suggestVPARequest: {
10
- encode(_: suggestVPARequest, writer?: _m0.Writer): _m0.Writer;
11
- decode(input: _m0.Reader | Uint8Array, length?: number): suggestVPARequest;
12
- fromJSON(_: any): suggestVPARequest;
13
- toJSON(_: suggestVPARequest): unknown;
14
- create<I extends Exact<DeepPartial<suggestVPARequest>, I>>(base?: I): suggestVPARequest;
15
- fromPartial<I extends Exact<DeepPartial<suggestVPARequest>, I>>(_: I): suggestVPARequest;
16
- };
17
- export declare const suggestVPAResponse: {
18
- encode(message: suggestVPAResponse, writer?: _m0.Writer): _m0.Writer;
19
- decode(input: _m0.Reader | Uint8Array, length?: number): suggestVPAResponse;
20
- fromJSON(object: any): suggestVPAResponse;
21
- toJSON(message: suggestVPAResponse): unknown;
22
- create<I extends Exact<DeepPartial<suggestVPAResponse>, I>>(base?: I): suggestVPAResponse;
23
- fromPartial<I extends Exact<DeepPartial<suggestVPAResponse>, I>>(object: I): suggestVPAResponse;
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 {};