@stashfin/grpc 1.2.445 → 1.2.447

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 (258) 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.d.ts +1 -0
  10. package/ts/colender/disburseLoan.js +17 -2
  11. package/ts/colender/forecloseLoan.js +2 -2
  12. package/ts/colender/repayLoan.js +2 -2
  13. package/ts/colender.js +2 -2
  14. package/ts/customers/aa/getaatxnstatus.js +2 -2
  15. package/ts/customers/aa/getbanklist.js +2 -2
  16. package/ts/customers/aa/initiate.js +2 -2
  17. package/ts/customers/accidentprotectionplan.js +2 -2
  18. package/ts/customers/addaddress.js +2 -2
  19. package/ts/customers/addbankaccountdetails.js +2 -2
  20. package/ts/customers/addfathersname.js +2 -2
  21. package/ts/customers/addgstnumber.js +2 -2
  22. package/ts/customers/addmoredetails.js +2 -2
  23. package/ts/customers/addsuspendedcustomer.js +2 -2
  24. package/ts/customers/adduserapps.js +2 -2
  25. package/ts/customers/applyclijourney.js +2 -2
  26. package/ts/customers/bulksms.js +2 -2
  27. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  28. package/ts/customers/cb/cbpaynow.js +2 -2
  29. package/ts/customers/cb/cbsignup.js +2 -2
  30. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  31. package/ts/customers/cb/getcreditbuilder.js +2 -2
  32. package/ts/customers/cb/getpaymentsummary.js +2 -2
  33. package/ts/customers/cb/insurancedetails.js +2 -2
  34. package/ts/customers/cb/lesscsimprove.js +2 -2
  35. package/ts/customers/cb/morecsimprove.js +2 -2
  36. package/ts/customers/cb/paynow.js +2 -2
  37. package/ts/customers/cb/savecreditbuilder.js +2 -2
  38. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  39. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  40. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  41. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  42. package/ts/customers/changempin.js +2 -2
  43. package/ts/customers/createcustomerreference.js +2 -2
  44. package/ts/customers/createvanumber.js +2 -2
  45. package/ts/customers/customerinfo.js +2 -2
  46. package/ts/customers/deletedocument.js +2 -2
  47. package/ts/customers/deleteprofile.js +2 -2
  48. package/ts/customers/disablempin.js +2 -2
  49. package/ts/customers/enach/gettxnstatus.js +2 -2
  50. package/ts/customers/enach/getweburl.js +2 -2
  51. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  52. package/ts/customers/enach/updatetxnstatus.js +2 -2
  53. package/ts/customers/fetchrcprofile.js +2 -2
  54. package/ts/customers/floatingvideos.js +2 -2
  55. package/ts/customers/forceupdate.js +2 -2
  56. package/ts/customers/forgotmpin.js +2 -2
  57. package/ts/customers/forgotmpinverify.js +2 -2
  58. package/ts/customers/freedom/addressconfirmation.js +2 -2
  59. package/ts/customers/freedom/freedompaynow.js +2 -2
  60. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  61. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  62. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  63. package/ts/customers/getaddresslist.js +2 -2
  64. package/ts/customers/getappsubmittedscreen.js +2 -2
  65. package/ts/customers/getbankaccountdetails.js +2 -2
  66. package/ts/customers/getbasicinfo.js +2 -2
  67. package/ts/customers/getcities.js +2 -2
  68. package/ts/customers/getclistatus.js +2 -2
  69. package/ts/customers/getcompanyaccdetails.js +2 -2
  70. package/ts/customers/getcustomerbyid.js +2 -2
  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/getlistedaccountproviders.d.ts +1 -0
  222. package/ts/upi/getlistedaccountproviders.js +17 -3
  223. package/ts/upi.js +2 -2
  224. package/ts/customers/getrecommendedtag.d.ts +0 -35
  225. package/ts/customers/getrecommendedtag.js +0 -134
  226. package/ts/customers/getrpdlink.d.ts +0 -40
  227. package/ts/customers/getrpdlink.js +0 -190
  228. package/ts/customers/sendemailtoken.d.ts +0 -35
  229. package/ts/customers/sendemailtoken.js +0 -117
  230. package/ts/customers/skipdlrcscreen.d.ts +0 -35
  231. package/ts/customers/skipdlrcscreen.js +0 -117
  232. package/ts/customers/step1.d.ts +0 -69
  233. package/ts/customers/step1.js +0 -395
  234. package/ts/customers/step10.d.ts +0 -73
  235. package/ts/customers/step10.js +0 -459
  236. package/ts/customers/step2.d.ts +0 -68
  237. package/ts/customers/step2.js +0 -381
  238. package/ts/customers/step7.d.ts +0 -68
  239. package/ts/customers/step7.js +0 -381
  240. package/ts/customers/step8.d.ts +0 -69
  241. package/ts/customers/step8.js +0 -395
  242. package/ts/customers/step9.d.ts +0 -75
  243. package/ts/customers/step9.js +0 -489
  244. package/ts/customers/stepstatic.d.ts +0 -66
  245. package/ts/customers/stepstatic.js +0 -354
  246. package/ts/customers/verifyemail.d.ts +0 -35
  247. package/ts/google/protobuf/timestamp.d.ts +0 -127
  248. package/ts/google/protobuf/timestamp.js +0 -97
  249. package/ts/upi/addupinumber.d.ts +0 -39
  250. package/ts/upi/addupinumber.js +0 -177
  251. package/ts/upi/addvpa.d.ts +0 -36
  252. package/ts/upi/addvpa.js +0 -133
  253. package/ts/upi/suggestvpa.d.ts +0 -35
  254. package/ts/upi/suggestvpa.js +0 -122
  255. package/ts/upi/updatedevicebinding.d.ts +0 -38
  256. package/ts/upi/updatedevicebinding.js +0 -161
  257. package/ts/upi/updatedevicelinking.d.ts +0 -35
  258. package/ts/upi/updatedevicelinking.js +0 -117
@@ -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,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 {};
@@ -1,122 +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/suggestvpa.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.suggestVPAResponse = exports.suggestVPARequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.suggestvpa";
15
- function createBasesuggestVPARequest() {
16
- return {};
17
- }
18
- exports.suggestVPARequest = {
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 = createBasesuggestVPARequest();
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.suggestVPARequest.fromPartial(base ?? {});
46
- },
47
- fromPartial(_) {
48
- const message = createBasesuggestVPARequest();
49
- return message;
50
- },
51
- };
52
- function createBasesuggestVPAResponse() {
53
- return { suggested_vpa_ids: [], message: "" };
54
- }
55
- exports.suggestVPAResponse = {
56
- encode(message, writer = minimal_1.default.Writer.create()) {
57
- for (const v of message.suggested_vpa_ids) {
58
- writer.uint32(10).string(v);
59
- }
60
- if (message.message !== "") {
61
- writer.uint32(18).string(message.message);
62
- }
63
- return writer;
64
- },
65
- decode(input, length) {
66
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
67
- let end = length === undefined ? reader.len : reader.pos + length;
68
- const message = createBasesuggestVPAResponse();
69
- while (reader.pos < end) {
70
- const tag = reader.uint32();
71
- switch (tag >>> 3) {
72
- case 1:
73
- if (tag !== 10) {
74
- break;
75
- }
76
- message.suggested_vpa_ids.push(reader.string());
77
- continue;
78
- case 2:
79
- if (tag !== 18) {
80
- break;
81
- }
82
- message.message = reader.string();
83
- continue;
84
- }
85
- if ((tag & 7) === 4 || tag === 0) {
86
- break;
87
- }
88
- reader.skipType(tag & 7);
89
- }
90
- return message;
91
- },
92
- fromJSON(object) {
93
- return {
94
- suggested_vpa_ids: globalThis.Array.isArray(object?.suggested_vpa_ids)
95
- ? object.suggested_vpa_ids.map((e) => globalThis.String(e))
96
- : [],
97
- message: isSet(object.message) ? globalThis.String(object.message) : "",
98
- };
99
- },
100
- toJSON(message) {
101
- const obj = {};
102
- if (message.suggested_vpa_ids?.length) {
103
- obj.suggested_vpa_ids = message.suggested_vpa_ids;
104
- }
105
- if (message.message !== "") {
106
- obj.message = message.message;
107
- }
108
- return obj;
109
- },
110
- create(base) {
111
- return exports.suggestVPAResponse.fromPartial(base ?? {});
112
- },
113
- fromPartial(object) {
114
- const message = createBasesuggestVPAResponse();
115
- message.suggested_vpa_ids = object.suggested_vpa_ids?.map((e) => e) || [];
116
- message.message = object.message ?? "";
117
- return message;
118
- },
119
- };
120
- function isSet(value) {
121
- return value !== null && value !== undefined;
122
- }
@@ -1,38 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "upi.updateDeviceBinding";
3
- export interface updateDeviceBindingRequest {
4
- device_id: string;
5
- sim_id: string;
6
- sim_name: string;
7
- status: string;
8
- }
9
- export interface updateDeviceBindingResponse {
10
- message: string;
11
- }
12
- export declare const updateDeviceBindingRequest: {
13
- encode(message: updateDeviceBindingRequest, writer?: _m0.Writer): _m0.Writer;
14
- decode(input: _m0.Reader | Uint8Array, length?: number): updateDeviceBindingRequest;
15
- fromJSON(object: any): updateDeviceBindingRequest;
16
- toJSON(message: updateDeviceBindingRequest): unknown;
17
- create<I extends Exact<DeepPartial<updateDeviceBindingRequest>, I>>(base?: I): updateDeviceBindingRequest;
18
- fromPartial<I extends Exact<DeepPartial<updateDeviceBindingRequest>, I>>(object: I): updateDeviceBindingRequest;
19
- };
20
- export declare const updateDeviceBindingResponse: {
21
- encode(message: updateDeviceBindingResponse, writer?: _m0.Writer): _m0.Writer;
22
- decode(input: _m0.Reader | Uint8Array, length?: number): updateDeviceBindingResponse;
23
- fromJSON(object: any): updateDeviceBindingResponse;
24
- toJSON(message: updateDeviceBindingResponse): unknown;
25
- create<I extends Exact<DeepPartial<updateDeviceBindingResponse>, I>>(base?: I): updateDeviceBindingResponse;
26
- fromPartial<I extends Exact<DeepPartial<updateDeviceBindingResponse>, I>>(object: I): updateDeviceBindingResponse;
27
- };
28
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
29
- 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 {} ? {
30
- [K in keyof T]?: DeepPartial<T[K]>;
31
- } : Partial<T>;
32
- type KeysOfUnion<T> = T extends T ? keyof T : never;
33
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
34
- [K in keyof P]: Exact<P[K], I[K]>;
35
- } & {
36
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
37
- };
38
- export {};