@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,161 +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/updatedevicebinding.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.updateDeviceBindingResponse = exports.updateDeviceBindingRequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.updateDeviceBinding";
15
- function createBaseupdateDeviceBindingRequest() {
16
- return { device_id: "", sim_id: "", sim_name: "", status: "" };
17
- }
18
- exports.updateDeviceBindingRequest = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.device_id !== "") {
21
- writer.uint32(10).string(message.device_id);
22
- }
23
- if (message.sim_id !== "") {
24
- writer.uint32(18).string(message.sim_id);
25
- }
26
- if (message.sim_name !== "") {
27
- writer.uint32(26).string(message.sim_name);
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 = createBaseupdateDeviceBindingRequest();
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.device_id = reader.string();
46
- continue;
47
- case 2:
48
- if (tag !== 18) {
49
- break;
50
- }
51
- message.sim_id = reader.string();
52
- continue;
53
- case 3:
54
- if (tag !== 26) {
55
- break;
56
- }
57
- message.sim_name = 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
- device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
76
- sim_id: isSet(object.sim_id) ? globalThis.String(object.sim_id) : "",
77
- sim_name: isSet(object.sim_name) ? globalThis.String(object.sim_name) : "",
78
- status: isSet(object.status) ? globalThis.String(object.status) : "",
79
- };
80
- },
81
- toJSON(message) {
82
- const obj = {};
83
- if (message.device_id !== "") {
84
- obj.device_id = message.device_id;
85
- }
86
- if (message.sim_id !== "") {
87
- obj.sim_id = message.sim_id;
88
- }
89
- if (message.sim_name !== "") {
90
- obj.sim_name = message.sim_name;
91
- }
92
- if (message.status !== "") {
93
- obj.status = message.status;
94
- }
95
- return obj;
96
- },
97
- create(base) {
98
- return exports.updateDeviceBindingRequest.fromPartial(base ?? {});
99
- },
100
- fromPartial(object) {
101
- const message = createBaseupdateDeviceBindingRequest();
102
- message.device_id = object.device_id ?? "";
103
- message.sim_id = object.sim_id ?? "";
104
- message.sim_name = object.sim_name ?? "";
105
- message.status = object.status ?? "";
106
- return message;
107
- },
108
- };
109
- function createBaseupdateDeviceBindingResponse() {
110
- return { message: "" };
111
- }
112
- exports.updateDeviceBindingResponse = {
113
- encode(message, writer = minimal_1.default.Writer.create()) {
114
- if (message.message !== "") {
115
- writer.uint32(10).string(message.message);
116
- }
117
- return writer;
118
- },
119
- decode(input, length) {
120
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
121
- let end = length === undefined ? reader.len : reader.pos + length;
122
- const message = createBaseupdateDeviceBindingResponse();
123
- while (reader.pos < end) {
124
- const tag = reader.uint32();
125
- switch (tag >>> 3) {
126
- case 1:
127
- if (tag !== 10) {
128
- break;
129
- }
130
- message.message = reader.string();
131
- continue;
132
- }
133
- if ((tag & 7) === 4 || tag === 0) {
134
- break;
135
- }
136
- reader.skipType(tag & 7);
137
- }
138
- return message;
139
- },
140
- fromJSON(object) {
141
- return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
142
- },
143
- toJSON(message) {
144
- const obj = {};
145
- if (message.message !== "") {
146
- obj.message = message.message;
147
- }
148
- return obj;
149
- },
150
- create(base) {
151
- return exports.updateDeviceBindingResponse.fromPartial(base ?? {});
152
- },
153
- fromPartial(object) {
154
- const message = createBaseupdateDeviceBindingResponse();
155
- message.message = object.message ?? "";
156
- return message;
157
- },
158
- };
159
- function isSet(value) {
160
- return value !== null && value !== undefined;
161
- }
@@ -1,35 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "upi.updateDeviceLinking";
3
- export interface updateDeviceLinkingRequest {
4
- status: string;
5
- }
6
- export interface updateDeviceLinkingResponse {
7
- message: string;
8
- }
9
- export declare const updateDeviceLinkingRequest: {
10
- encode(message: updateDeviceLinkingRequest, writer?: _m0.Writer): _m0.Writer;
11
- decode(input: _m0.Reader | Uint8Array, length?: number): updateDeviceLinkingRequest;
12
- fromJSON(object: any): updateDeviceLinkingRequest;
13
- toJSON(message: updateDeviceLinkingRequest): unknown;
14
- create<I extends Exact<DeepPartial<updateDeviceLinkingRequest>, I>>(base?: I): updateDeviceLinkingRequest;
15
- fromPartial<I extends Exact<DeepPartial<updateDeviceLinkingRequest>, I>>(object: I): updateDeviceLinkingRequest;
16
- };
17
- export declare const updateDeviceLinkingResponse: {
18
- encode(message: updateDeviceLinkingResponse, writer?: _m0.Writer): _m0.Writer;
19
- decode(input: _m0.Reader | Uint8Array, length?: number): updateDeviceLinkingResponse;
20
- fromJSON(object: any): updateDeviceLinkingResponse;
21
- toJSON(message: updateDeviceLinkingResponse): unknown;
22
- create<I extends Exact<DeepPartial<updateDeviceLinkingResponse>, I>>(base?: I): updateDeviceLinkingResponse;
23
- fromPartial<I extends Exact<DeepPartial<updateDeviceLinkingResponse>, I>>(object: I): updateDeviceLinkingResponse;
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,117 +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/updatedevicelinking.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.updateDeviceLinkingResponse = exports.updateDeviceLinkingRequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.updateDeviceLinking";
15
- function createBaseupdateDeviceLinkingRequest() {
16
- return { status: "" };
17
- }
18
- exports.updateDeviceLinkingRequest = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.status !== "") {
21
- writer.uint32(10).string(message.status);
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 = createBaseupdateDeviceLinkingRequest();
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.status = 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 { status: isSet(object.status) ? globalThis.String(object.status) : "" };
48
- },
49
- toJSON(message) {
50
- const obj = {};
51
- if (message.status !== "") {
52
- obj.status = message.status;
53
- }
54
- return obj;
55
- },
56
- create(base) {
57
- return exports.updateDeviceLinkingRequest.fromPartial(base ?? {});
58
- },
59
- fromPartial(object) {
60
- const message = createBaseupdateDeviceLinkingRequest();
61
- message.status = object.status ?? "";
62
- return message;
63
- },
64
- };
65
- function createBaseupdateDeviceLinkingResponse() {
66
- return { message: "" };
67
- }
68
- exports.updateDeviceLinkingResponse = {
69
- encode(message, writer = minimal_1.default.Writer.create()) {
70
- if (message.message !== "") {
71
- writer.uint32(10).string(message.message);
72
- }
73
- return writer;
74
- },
75
- decode(input, length) {
76
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
- let end = length === undefined ? reader.len : reader.pos + length;
78
- const message = createBaseupdateDeviceLinkingResponse();
79
- while (reader.pos < end) {
80
- const tag = reader.uint32();
81
- switch (tag >>> 3) {
82
- case 1:
83
- if (tag !== 10) {
84
- break;
85
- }
86
- message.message = reader.string();
87
- continue;
88
- }
89
- if ((tag & 7) === 4 || tag === 0) {
90
- break;
91
- }
92
- reader.skipType(tag & 7);
93
- }
94
- return message;
95
- },
96
- fromJSON(object) {
97
- return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
98
- },
99
- toJSON(message) {
100
- const obj = {};
101
- if (message.message !== "") {
102
- obj.message = message.message;
103
- }
104
- return obj;
105
- },
106
- create(base) {
107
- return exports.updateDeviceLinkingResponse.fromPartial(base ?? {});
108
- },
109
- fromPartial(object) {
110
- const message = createBaseupdateDeviceLinkingResponse();
111
- message.message = object.message ?? "";
112
- return message;
113
- },
114
- };
115
- function isSet(value) {
116
- return value !== null && value !== undefined;
117
- }