@stashfin/grpc 1.2.468 → 1.2.469

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 (226) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getcibilwebtoken.js +1 -1
  4. package/ts/bureau/getdbrcolending.js +1 -1
  5. package/ts/bureau/getdemogs.js +1 -1
  6. package/ts/bureau/getobligation.js +1 -1
  7. package/ts/bureau/getreport.js +1 -1
  8. package/ts/bureau.js +1 -1
  9. package/ts/colender/disburseLoan.js +1 -1
  10. package/ts/colender/forecloseLoan.js +1 -1
  11. package/ts/colender/repayLoan.js +1 -1
  12. package/ts/colender.js +1 -1
  13. package/ts/customers/aa/getaatxnstatus.js +1 -1
  14. package/ts/customers/aa/getbanklist.js +1 -1
  15. package/ts/customers/aa/initiate.js +1 -1
  16. package/ts/customers/accidentprotectionplan.js +1 -1
  17. package/ts/customers/addaddress.js +1 -1
  18. package/ts/customers/addbankaccountdetails.js +1 -1
  19. package/ts/customers/addfathersname.js +1 -1
  20. package/ts/customers/addgstnumber.js +1 -1
  21. package/ts/customers/addmoredetails.js +1 -1
  22. package/ts/customers/addsuspendedcustomer.js +1 -1
  23. package/ts/customers/adduserapps.js +1 -1
  24. package/ts/customers/applyclijourney.js +1 -1
  25. package/ts/customers/bulksms.js +1 -1
  26. package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
  27. package/ts/customers/cb/cbpaynow.js +1 -1
  28. package/ts/customers/cb/cbsignup.js +1 -1
  29. package/ts/customers/cb/getcbtxnstatus.js +1 -1
  30. package/ts/customers/cb/getcreditbuilder.js +1 -1
  31. package/ts/customers/cb/getpaymentsummary.js +1 -1
  32. package/ts/customers/cb/insurancedetails.js +1 -1
  33. package/ts/customers/cb/lesscsimprove.js +1 -1
  34. package/ts/customers/cb/morecsimprove.js +1 -1
  35. package/ts/customers/cb/savecreditbuilder.js +1 -1
  36. package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
  37. package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
  38. package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
  39. package/ts/customers/cb/updatecbtxnstatus.js +1 -1
  40. package/ts/customers/changempin.js +1 -1
  41. package/ts/customers/createcustomerreference.js +1 -1
  42. package/ts/customers/createvanumber.js +1 -1
  43. package/ts/customers/customerinfo.js +1 -1
  44. package/ts/customers/deletedocument.js +1 -1
  45. package/ts/customers/deleteprofile.js +1 -1
  46. package/ts/customers/disablempin.js +1 -1
  47. package/ts/customers/enach/gettxnstatus.js +1 -1
  48. package/ts/customers/enach/getweburl.js +1 -1
  49. package/ts/customers/enach/updateenachtxnstatus.js +1 -1
  50. package/ts/customers/fetchrcprofile.js +1 -1
  51. package/ts/customers/floatingvideos.js +1 -1
  52. package/ts/customers/forceupdate.js +1 -1
  53. package/ts/customers/forgotmpin.js +1 -1
  54. package/ts/customers/forgotmpinverify.js +1 -1
  55. package/ts/customers/freedom/addressconfirmation.js +1 -1
  56. package/ts/customers/freedom/freedompaynow.js +1 -1
  57. package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
  58. package/ts/customers/freedom/updateadditionalverification.js +1 -1
  59. package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
  60. package/ts/customers/getaddresslist.js +1 -1
  61. package/ts/customers/getappsubmittedscreen.js +1 -1
  62. package/ts/customers/getbankaccountdetails.js +1 -1
  63. package/ts/customers/getbasicinfo.js +1 -1
  64. package/ts/customers/getcities.js +1 -1
  65. package/ts/customers/getclistatus.js +1 -1
  66. package/ts/customers/getcompanyaccdetails.js +1 -1
  67. package/ts/customers/getcustomerbyid.js +1 -1
  68. package/ts/customers/getcustomerdetailsbymobile.js +1 -1
  69. package/ts/customers/getdashboard.js +1 -1
  70. package/ts/customers/getdashboardmaincard.js +1 -1
  71. package/ts/customers/getdocuments.js +1 -1
  72. package/ts/customers/getglobalpopups.js +1 -1
  73. package/ts/customers/getlimit.js +1 -1
  74. package/ts/customers/getloclimit.js +1 -1
  75. package/ts/customers/getmessengermode.js +1 -1
  76. package/ts/customers/getoccupationlist.js +1 -1
  77. package/ts/customers/getpaymentoptions.js +1 -1
  78. package/ts/customers/getprofessionalinfo.js +1 -1
  79. package/ts/customers/getprofile.js +1 -1
  80. package/ts/customers/getselfieetxnid.js +1 -1
  81. package/ts/customers/getstates.js +1 -1
  82. package/ts/customers/getstep.js +1 -1
  83. package/ts/customers/getsyncstatus.js +1 -1
  84. package/ts/customers/getvanumber.js +1 -1
  85. package/ts/customers/lamf/applylamf.js +1 -1
  86. package/ts/customers/lamf/sendlamfotp.js +1 -1
  87. package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
  88. package/ts/customers/lamf/verifylamfotp.js +1 -1
  89. package/ts/customers/lamf/verifylamfpledgeotp.js +1 -1
  90. package/ts/customers/logout.js +1 -1
  91. package/ts/customers/pd/getbanklist.js +1 -1
  92. package/ts/customers/pd/validatebankaccount.js +1 -1
  93. package/ts/customers/profilebasic.js +1 -1
  94. package/ts/customers/profileupdatetnc.js +1 -1
  95. package/ts/customers/resetbanner.js +1 -1
  96. package/ts/customers/restoreaccount.js +1 -1
  97. package/ts/customers/rpd/getrpdlink.js +1 -1
  98. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  99. package/ts/customers/rpd/mockpayment.js +1 -1
  100. package/ts/customers/saveappslist.js +1 -1
  101. package/ts/customers/savebasicdetails.js +1 -1
  102. package/ts/customers/savelimit.js +1 -1
  103. package/ts/customers/saveunlocklimit.js +1 -1
  104. package/ts/customers/sendotp.js +1 -1
  105. package/ts/customers/sendotptoemail.js +1 -1
  106. package/ts/customers/setmpin.js +1 -1
  107. package/ts/customers/skipscreen.js +1 -1
  108. package/ts/customers/submituploadeddocuments.js +1 -1
  109. package/ts/customers/syncdecisionengine.js +1 -1
  110. package/ts/customers/updatecategory.js +1 -1
  111. package/ts/customers/updatecongratulationstep.js +1 -1
  112. package/ts/customers/updatecustomerbyid.js +1 -1
  113. package/ts/customers/updatedlnumber.js +1 -1
  114. package/ts/customers/updatedob.js +1 -1
  115. package/ts/customers/updatelocstatus.js +1 -1
  116. package/ts/customers/updatemobilesendotp.js +1 -1
  117. package/ts/customers/updatemobileverifyotp.js +1 -1
  118. package/ts/customers/updateokyctxn.js +1 -1
  119. package/ts/customers/updatesanctionamount.js +1 -1
  120. package/ts/customers/updateselfieetxn.js +1 -1
  121. package/ts/customers/updatesyncstatus.js +1 -1
  122. package/ts/customers/updatevehiclenumber.js +1 -1
  123. package/ts/customers/uploaddocuments.js +1 -1
  124. package/ts/customers/validatepan.js +1 -1
  125. package/ts/customers/verifympin.js +1 -1
  126. package/ts/customers/verifyotp.js +1 -1
  127. package/ts/customers/verifyotptoemail.js +1 -1
  128. package/ts/customers.js +1 -1
  129. package/ts/decisionengine/decisionenginetrigger.js +1 -1
  130. package/ts/decisionengine/locdisbursalapproval.js +1 -1
  131. package/ts/decisionengine/saveconsent.js +1 -1
  132. package/ts/decisionengine.js +1 -1
  133. package/ts/documents/getagreement.js +1 -1
  134. package/ts/documents/getfinancialdoc.js +1 -1
  135. package/ts/documents.js +1 -1
  136. package/ts/eqxcustomer.js +1 -1
  137. package/ts/eqxcustomers/getcustomerbyid.js +1 -1
  138. package/ts/eqxcustomers/getdashboard.js +1 -1
  139. package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
  140. package/ts/eqxcustomers/sendotp.js +1 -1
  141. package/ts/eqxcustomers/verifyotp.js +1 -1
  142. package/ts/example.js +1 -1
  143. package/ts/growth/checkplanstatus.js +1 -1
  144. package/ts/growth/getattachplandetails.js +1 -1
  145. package/ts/growth/getchrpaymentstatus.js +1 -1
  146. package/ts/growth/getchrplans.js +1 -1
  147. package/ts/growth/getcredithealthreport.js +1 -1
  148. package/ts/growth/initiatepayment.js +1 -1
  149. package/ts/growth/notifychrpayment.js +1 -1
  150. package/ts/growth.js +1 -1
  151. package/ts/lamf/getloandetails.js +1 -1
  152. package/ts/lamf/submitotp.js +1 -1
  153. package/ts/lamf/validateuser.js +1 -1
  154. package/ts/lamf.js +1 -1
  155. package/ts/loans/amortization.js +1 -1
  156. package/ts/loans/approveloan.js +1 -1
  157. package/ts/loans/banklist.js +1 -1
  158. package/ts/loans/calculateemi.js +1 -1
  159. package/ts/loans/cbloan.js +1 -1
  160. package/ts/loans/createlamfloan.js +1 -1
  161. package/ts/loans/createpenalty.js +1 -1
  162. package/ts/loans/creditlimit.js +1 -1
  163. package/ts/loans/emimoredetails.js +1 -1
  164. package/ts/loans/fcppayment.js +1 -1
  165. package/ts/loans/foreclosepayment.js +1 -1
  166. package/ts/loans/getaddonslist.js +1 -1
  167. package/ts/loans/getbilldetails.js +1 -1
  168. package/ts/loans/getcbloandetails.js +1 -1
  169. package/ts/loans/getchrdetails.js +1 -1
  170. package/ts/loans/getcustomerloanstatus.js +1 -1
  171. package/ts/loans/getforecloseamount.js +1 -1
  172. package/ts/loans/getloanbyid.js +1 -1
  173. package/ts/loans/getnextdueamount.js +1 -1
  174. package/ts/loans/getpaymentoptions.js +1 -1
  175. package/ts/loans/getpendingemiamount.js +1 -1
  176. package/ts/loans/getsetubilldetails.js +1 -1
  177. package/ts/loans/getsummarystaticfields.js +1 -1
  178. package/ts/loans/gettransactionstatus.js +1 -1
  179. package/ts/loans/getusedlimit.js +1 -1
  180. package/ts/loans/getvirtualbankinfo.js +1 -1
  181. package/ts/loans/loansummary.js +1 -1
  182. package/ts/loans/manualpaymentallocation.js +1 -1
  183. package/ts/loans/paymentallocation.js +1 -1
  184. package/ts/loans/paymenthistory.js +1 -1
  185. package/ts/loans/paynow.js +1 -1
  186. package/ts/loans/refund.js +1 -1
  187. package/ts/loans/restructureloan.js +1 -1
  188. package/ts/loans/rollback.js +1 -1
  189. package/ts/loans/sendemail.js +1 -1
  190. package/ts/loans/sendnocemail.js +1 -1
  191. package/ts/loans/transactionlist.js +1 -1
  192. package/ts/loans/updatecollectionview.js +1 -1
  193. package/ts/loans/updateinstallments.js +1 -1
  194. package/ts/loans/updateloan.js +1 -1
  195. package/ts/loans/updatetransactionstatus.js +1 -1
  196. package/ts/loans.js +1 -1
  197. package/ts/payments/checkpaymentstatus.js +1 -1
  198. package/ts/payments/fundtransfer.js +1 -1
  199. package/ts/payments/getpaymentoptions.js +1 -1
  200. package/ts/payments/initiatepayment.js +1 -1
  201. package/ts/payments/nachpresentation.js +1 -1
  202. package/ts/payments/nachregistration.js +1 -1
  203. package/ts/payments.js +1 -1
  204. package/ts/stashcash/creditsc.js +1 -1
  205. package/ts/stashcash/debitsc.js +1 -1
  206. package/ts/stashcash/getscbalance.js +1 -1
  207. package/ts/stashcash/getschistory.js +1 -1
  208. package/ts/stashcash/reversesc.js +1 -1
  209. package/ts/stashcash.js +1 -1
  210. package/ts/upi/addaccount.js +1 -1
  211. package/ts/upi/blockvpa.d.ts +40 -0
  212. package/ts/upi/blockvpa.js +191 -0
  213. package/ts/upi/checktransactionstatus.js +1 -1
  214. package/ts/upi/getaccountsbyprovider.js +1 -1
  215. package/ts/upi/getavailablevpa.js +1 -1
  216. package/ts/upi/getlistedaccountproviders.js +1 -1
  217. package/ts/upi/getprofile.js +1 -1
  218. package/ts/upi/initiatetransaction.js +1 -1
  219. package/ts/upi/listblockedvpa.d.ts +63 -0
  220. package/ts/upi/listblockedvpa.js +311 -0
  221. package/ts/upi/unblockvpa.d.ts +40 -0
  222. package/ts/upi/unblockvpa.js +191 -0
  223. package/ts/upi/updatedevicebinding.js +1 -1
  224. package/ts/upi/validatevpa.js +1 -1
  225. package/ts/upi.d.ts +42 -0
  226. package/ts/upi.js +31 -1
@@ -0,0 +1,63 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.listBlockedVPA";
3
+ export interface listBlockedVPARequest {
4
+ block_type?: string | undefined;
5
+ block_value?: string | undefined;
6
+ }
7
+ export interface BlockedList {
8
+ block_type: string;
9
+ block_value: string;
10
+ reason: string;
11
+ blocked_since: string;
12
+ }
13
+ export interface Data {
14
+ blocked_list: BlockedList[];
15
+ }
16
+ export interface listBlockedVPAResponse {
17
+ status: string;
18
+ message: string;
19
+ data?: Data | undefined;
20
+ }
21
+ export declare const listBlockedVPARequest: {
22
+ encode(message: listBlockedVPARequest, writer?: _m0.Writer): _m0.Writer;
23
+ decode(input: _m0.Reader | Uint8Array, length?: number): listBlockedVPARequest;
24
+ fromJSON(object: any): listBlockedVPARequest;
25
+ toJSON(message: listBlockedVPARequest): unknown;
26
+ create<I extends Exact<DeepPartial<listBlockedVPARequest>, I>>(base?: I): listBlockedVPARequest;
27
+ fromPartial<I extends Exact<DeepPartial<listBlockedVPARequest>, I>>(object: I): listBlockedVPARequest;
28
+ };
29
+ export declare const BlockedList: {
30
+ encode(message: BlockedList, writer?: _m0.Writer): _m0.Writer;
31
+ decode(input: _m0.Reader | Uint8Array, length?: number): BlockedList;
32
+ fromJSON(object: any): BlockedList;
33
+ toJSON(message: BlockedList): unknown;
34
+ create<I extends Exact<DeepPartial<BlockedList>, I>>(base?: I): BlockedList;
35
+ fromPartial<I extends Exact<DeepPartial<BlockedList>, I>>(object: I): BlockedList;
36
+ };
37
+ export declare const Data: {
38
+ encode(message: Data, writer?: _m0.Writer): _m0.Writer;
39
+ decode(input: _m0.Reader | Uint8Array, length?: number): Data;
40
+ fromJSON(object: any): Data;
41
+ toJSON(message: Data): unknown;
42
+ create<I extends Exact<DeepPartial<Data>, I>>(base?: I): Data;
43
+ fromPartial<I extends Exact<DeepPartial<Data>, I>>(object: I): Data;
44
+ };
45
+ export declare const listBlockedVPAResponse: {
46
+ encode(message: listBlockedVPAResponse, writer?: _m0.Writer): _m0.Writer;
47
+ decode(input: _m0.Reader | Uint8Array, length?: number): listBlockedVPAResponse;
48
+ fromJSON(object: any): listBlockedVPAResponse;
49
+ toJSON(message: listBlockedVPAResponse): unknown;
50
+ create<I extends Exact<DeepPartial<listBlockedVPAResponse>, I>>(base?: I): listBlockedVPAResponse;
51
+ fromPartial<I extends Exact<DeepPartial<listBlockedVPAResponse>, I>>(object: I): listBlockedVPAResponse;
52
+ };
53
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
54
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
55
+ [K in keyof T]?: DeepPartial<T[K]>;
56
+ } : Partial<T>;
57
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
58
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
59
+ [K in keyof P]: Exact<P[K], I[K]>;
60
+ } & {
61
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
62
+ };
63
+ export {};
@@ -0,0 +1,311 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.29.1
6
+ // source: upi/listblockedvpa.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.listBlockedVPAResponse = exports.Data = exports.BlockedList = exports.listBlockedVPARequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "upi.listBlockedVPA";
15
+ function createBaselistBlockedVPARequest() {
16
+ return { block_type: undefined, block_value: undefined };
17
+ }
18
+ exports.listBlockedVPARequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.block_type !== undefined) {
21
+ writer.uint32(10).string(message.block_type);
22
+ }
23
+ if (message.block_value !== undefined) {
24
+ writer.uint32(18).string(message.block_value);
25
+ }
26
+ return writer;
27
+ },
28
+ decode(input, length) {
29
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
30
+ let end = length === undefined ? reader.len : reader.pos + length;
31
+ const message = createBaselistBlockedVPARequest();
32
+ while (reader.pos < end) {
33
+ const tag = reader.uint32();
34
+ switch (tag >>> 3) {
35
+ case 1:
36
+ if (tag !== 10) {
37
+ break;
38
+ }
39
+ message.block_type = reader.string();
40
+ continue;
41
+ case 2:
42
+ if (tag !== 18) {
43
+ break;
44
+ }
45
+ message.block_value = reader.string();
46
+ continue;
47
+ }
48
+ if ((tag & 7) === 4 || tag === 0) {
49
+ break;
50
+ }
51
+ reader.skipType(tag & 7);
52
+ }
53
+ return message;
54
+ },
55
+ fromJSON(object) {
56
+ return {
57
+ block_type: isSet(object.block_type) ? globalThis.String(object.block_type) : undefined,
58
+ block_value: isSet(object.block_value) ? globalThis.String(object.block_value) : undefined,
59
+ };
60
+ },
61
+ toJSON(message) {
62
+ const obj = {};
63
+ if (message.block_type !== undefined) {
64
+ obj.block_type = message.block_type;
65
+ }
66
+ if (message.block_value !== undefined) {
67
+ obj.block_value = message.block_value;
68
+ }
69
+ return obj;
70
+ },
71
+ create(base) {
72
+ return exports.listBlockedVPARequest.fromPartial(base ?? {});
73
+ },
74
+ fromPartial(object) {
75
+ const message = createBaselistBlockedVPARequest();
76
+ message.block_type = object.block_type ?? undefined;
77
+ message.block_value = object.block_value ?? undefined;
78
+ return message;
79
+ },
80
+ };
81
+ function createBaseBlockedList() {
82
+ return { block_type: "", block_value: "", reason: "", blocked_since: "" };
83
+ }
84
+ exports.BlockedList = {
85
+ encode(message, writer = minimal_1.default.Writer.create()) {
86
+ if (message.block_type !== "") {
87
+ writer.uint32(10).string(message.block_type);
88
+ }
89
+ if (message.block_value !== "") {
90
+ writer.uint32(18).string(message.block_value);
91
+ }
92
+ if (message.reason !== "") {
93
+ writer.uint32(26).string(message.reason);
94
+ }
95
+ if (message.blocked_since !== "") {
96
+ writer.uint32(34).string(message.blocked_since);
97
+ }
98
+ return writer;
99
+ },
100
+ decode(input, length) {
101
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
102
+ let end = length === undefined ? reader.len : reader.pos + length;
103
+ const message = createBaseBlockedList();
104
+ while (reader.pos < end) {
105
+ const tag = reader.uint32();
106
+ switch (tag >>> 3) {
107
+ case 1:
108
+ if (tag !== 10) {
109
+ break;
110
+ }
111
+ message.block_type = reader.string();
112
+ continue;
113
+ case 2:
114
+ if (tag !== 18) {
115
+ break;
116
+ }
117
+ message.block_value = reader.string();
118
+ continue;
119
+ case 3:
120
+ if (tag !== 26) {
121
+ break;
122
+ }
123
+ message.reason = reader.string();
124
+ continue;
125
+ case 4:
126
+ if (tag !== 34) {
127
+ break;
128
+ }
129
+ message.blocked_since = reader.string();
130
+ continue;
131
+ }
132
+ if ((tag & 7) === 4 || tag === 0) {
133
+ break;
134
+ }
135
+ reader.skipType(tag & 7);
136
+ }
137
+ return message;
138
+ },
139
+ fromJSON(object) {
140
+ return {
141
+ block_type: isSet(object.block_type) ? globalThis.String(object.block_type) : "",
142
+ block_value: isSet(object.block_value) ? globalThis.String(object.block_value) : "",
143
+ reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
144
+ blocked_since: isSet(object.blocked_since) ? globalThis.String(object.blocked_since) : "",
145
+ };
146
+ },
147
+ toJSON(message) {
148
+ const obj = {};
149
+ if (message.block_type !== "") {
150
+ obj.block_type = message.block_type;
151
+ }
152
+ if (message.block_value !== "") {
153
+ obj.block_value = message.block_value;
154
+ }
155
+ if (message.reason !== "") {
156
+ obj.reason = message.reason;
157
+ }
158
+ if (message.blocked_since !== "") {
159
+ obj.blocked_since = message.blocked_since;
160
+ }
161
+ return obj;
162
+ },
163
+ create(base) {
164
+ return exports.BlockedList.fromPartial(base ?? {});
165
+ },
166
+ fromPartial(object) {
167
+ const message = createBaseBlockedList();
168
+ message.block_type = object.block_type ?? "";
169
+ message.block_value = object.block_value ?? "";
170
+ message.reason = object.reason ?? "";
171
+ message.blocked_since = object.blocked_since ?? "";
172
+ return message;
173
+ },
174
+ };
175
+ function createBaseData() {
176
+ return { blocked_list: [] };
177
+ }
178
+ exports.Data = {
179
+ encode(message, writer = minimal_1.default.Writer.create()) {
180
+ for (const v of message.blocked_list) {
181
+ exports.BlockedList.encode(v, writer.uint32(10).fork()).ldelim();
182
+ }
183
+ return writer;
184
+ },
185
+ decode(input, length) {
186
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
187
+ let end = length === undefined ? reader.len : reader.pos + length;
188
+ const message = createBaseData();
189
+ while (reader.pos < end) {
190
+ const tag = reader.uint32();
191
+ switch (tag >>> 3) {
192
+ case 1:
193
+ if (tag !== 10) {
194
+ break;
195
+ }
196
+ message.blocked_list.push(exports.BlockedList.decode(reader, reader.uint32()));
197
+ continue;
198
+ }
199
+ if ((tag & 7) === 4 || tag === 0) {
200
+ break;
201
+ }
202
+ reader.skipType(tag & 7);
203
+ }
204
+ return message;
205
+ },
206
+ fromJSON(object) {
207
+ return {
208
+ blocked_list: globalThis.Array.isArray(object?.blocked_list)
209
+ ? object.blocked_list.map((e) => exports.BlockedList.fromJSON(e))
210
+ : [],
211
+ };
212
+ },
213
+ toJSON(message) {
214
+ const obj = {};
215
+ if (message.blocked_list?.length) {
216
+ obj.blocked_list = message.blocked_list.map((e) => exports.BlockedList.toJSON(e));
217
+ }
218
+ return obj;
219
+ },
220
+ create(base) {
221
+ return exports.Data.fromPartial(base ?? {});
222
+ },
223
+ fromPartial(object) {
224
+ const message = createBaseData();
225
+ message.blocked_list = object.blocked_list?.map((e) => exports.BlockedList.fromPartial(e)) || [];
226
+ return message;
227
+ },
228
+ };
229
+ function createBaselistBlockedVPAResponse() {
230
+ return { status: "", message: "", data: undefined };
231
+ }
232
+ exports.listBlockedVPAResponse = {
233
+ encode(message, writer = minimal_1.default.Writer.create()) {
234
+ if (message.status !== "") {
235
+ writer.uint32(10).string(message.status);
236
+ }
237
+ if (message.message !== "") {
238
+ writer.uint32(18).string(message.message);
239
+ }
240
+ if (message.data !== undefined) {
241
+ exports.Data.encode(message.data, writer.uint32(26).fork()).ldelim();
242
+ }
243
+ return writer;
244
+ },
245
+ decode(input, length) {
246
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
247
+ let end = length === undefined ? reader.len : reader.pos + length;
248
+ const message = createBaselistBlockedVPAResponse();
249
+ while (reader.pos < end) {
250
+ const tag = reader.uint32();
251
+ switch (tag >>> 3) {
252
+ case 1:
253
+ if (tag !== 10) {
254
+ break;
255
+ }
256
+ message.status = reader.string();
257
+ continue;
258
+ case 2:
259
+ if (tag !== 18) {
260
+ break;
261
+ }
262
+ message.message = reader.string();
263
+ continue;
264
+ case 3:
265
+ if (tag !== 26) {
266
+ break;
267
+ }
268
+ message.data = exports.Data.decode(reader, reader.uint32());
269
+ continue;
270
+ }
271
+ if ((tag & 7) === 4 || tag === 0) {
272
+ break;
273
+ }
274
+ reader.skipType(tag & 7);
275
+ }
276
+ return message;
277
+ },
278
+ fromJSON(object) {
279
+ return {
280
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
281
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
282
+ data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
283
+ };
284
+ },
285
+ toJSON(message) {
286
+ const obj = {};
287
+ if (message.status !== "") {
288
+ obj.status = message.status;
289
+ }
290
+ if (message.message !== "") {
291
+ obj.message = message.message;
292
+ }
293
+ if (message.data !== undefined) {
294
+ obj.data = exports.Data.toJSON(message.data);
295
+ }
296
+ return obj;
297
+ },
298
+ create(base) {
299
+ return exports.listBlockedVPAResponse.fromPartial(base ?? {});
300
+ },
301
+ fromPartial(object) {
302
+ const message = createBaselistBlockedVPAResponse();
303
+ message.status = object.status ?? "";
304
+ message.message = object.message ?? "";
305
+ message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
306
+ return message;
307
+ },
308
+ };
309
+ function isSet(value) {
310
+ return value !== null && value !== undefined;
311
+ }
@@ -0,0 +1,40 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.unblockVPA";
3
+ export interface unblockVPARequest {
4
+ reason: string;
5
+ block_type: string;
6
+ block_value: string;
7
+ profile_id: string;
8
+ device_id: string;
9
+ }
10
+ export interface unblockVPAResponse {
11
+ status: string;
12
+ message: string;
13
+ }
14
+ export declare const unblockVPARequest: {
15
+ encode(message: unblockVPARequest, writer?: _m0.Writer): _m0.Writer;
16
+ decode(input: _m0.Reader | Uint8Array, length?: number): unblockVPARequest;
17
+ fromJSON(object: any): unblockVPARequest;
18
+ toJSON(message: unblockVPARequest): unknown;
19
+ create<I extends Exact<DeepPartial<unblockVPARequest>, I>>(base?: I): unblockVPARequest;
20
+ fromPartial<I extends Exact<DeepPartial<unblockVPARequest>, I>>(object: I): unblockVPARequest;
21
+ };
22
+ export declare const unblockVPAResponse: {
23
+ encode(message: unblockVPAResponse, writer?: _m0.Writer): _m0.Writer;
24
+ decode(input: _m0.Reader | Uint8Array, length?: number): unblockVPAResponse;
25
+ fromJSON(object: any): unblockVPAResponse;
26
+ toJSON(message: unblockVPAResponse): unknown;
27
+ create<I extends Exact<DeepPartial<unblockVPAResponse>, I>>(base?: I): unblockVPAResponse;
28
+ fromPartial<I extends Exact<DeepPartial<unblockVPAResponse>, I>>(object: I): unblockVPAResponse;
29
+ };
30
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
31
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
32
+ [K in keyof T]?: DeepPartial<T[K]>;
33
+ } : Partial<T>;
34
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
35
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
36
+ [K in keyof P]: Exact<P[K], I[K]>;
37
+ } & {
38
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
39
+ };
40
+ export {};
@@ -0,0 +1,191 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.29.1
6
+ // source: upi/unblockvpa.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.unblockVPAResponse = exports.unblockVPARequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "upi.unblockVPA";
15
+ function createBaseunblockVPARequest() {
16
+ return { reason: "", block_type: "", block_value: "", profile_id: "", device_id: "" };
17
+ }
18
+ exports.unblockVPARequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.reason !== "") {
21
+ writer.uint32(10).string(message.reason);
22
+ }
23
+ if (message.block_type !== "") {
24
+ writer.uint32(18).string(message.block_type);
25
+ }
26
+ if (message.block_value !== "") {
27
+ writer.uint32(26).string(message.block_value);
28
+ }
29
+ if (message.profile_id !== "") {
30
+ writer.uint32(34).string(message.profile_id);
31
+ }
32
+ if (message.device_id !== "") {
33
+ writer.uint32(42).string(message.device_id);
34
+ }
35
+ return writer;
36
+ },
37
+ decode(input, length) {
38
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
39
+ let end = length === undefined ? reader.len : reader.pos + length;
40
+ const message = createBaseunblockVPARequest();
41
+ while (reader.pos < end) {
42
+ const tag = reader.uint32();
43
+ switch (tag >>> 3) {
44
+ case 1:
45
+ if (tag !== 10) {
46
+ break;
47
+ }
48
+ message.reason = reader.string();
49
+ continue;
50
+ case 2:
51
+ if (tag !== 18) {
52
+ break;
53
+ }
54
+ message.block_type = reader.string();
55
+ continue;
56
+ case 3:
57
+ if (tag !== 26) {
58
+ break;
59
+ }
60
+ message.block_value = reader.string();
61
+ continue;
62
+ case 4:
63
+ if (tag !== 34) {
64
+ break;
65
+ }
66
+ message.profile_id = reader.string();
67
+ continue;
68
+ case 5:
69
+ if (tag !== 42) {
70
+ break;
71
+ }
72
+ message.device_id = reader.string();
73
+ continue;
74
+ }
75
+ if ((tag & 7) === 4 || tag === 0) {
76
+ break;
77
+ }
78
+ reader.skipType(tag & 7);
79
+ }
80
+ return message;
81
+ },
82
+ fromJSON(object) {
83
+ return {
84
+ reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
85
+ block_type: isSet(object.block_type) ? globalThis.String(object.block_type) : "",
86
+ block_value: isSet(object.block_value) ? globalThis.String(object.block_value) : "",
87
+ profile_id: isSet(object.profile_id) ? globalThis.String(object.profile_id) : "",
88
+ device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
89
+ };
90
+ },
91
+ toJSON(message) {
92
+ const obj = {};
93
+ if (message.reason !== "") {
94
+ obj.reason = message.reason;
95
+ }
96
+ if (message.block_type !== "") {
97
+ obj.block_type = message.block_type;
98
+ }
99
+ if (message.block_value !== "") {
100
+ obj.block_value = message.block_value;
101
+ }
102
+ if (message.profile_id !== "") {
103
+ obj.profile_id = message.profile_id;
104
+ }
105
+ if (message.device_id !== "") {
106
+ obj.device_id = message.device_id;
107
+ }
108
+ return obj;
109
+ },
110
+ create(base) {
111
+ return exports.unblockVPARequest.fromPartial(base ?? {});
112
+ },
113
+ fromPartial(object) {
114
+ const message = createBaseunblockVPARequest();
115
+ message.reason = object.reason ?? "";
116
+ message.block_type = object.block_type ?? "";
117
+ message.block_value = object.block_value ?? "";
118
+ message.profile_id = object.profile_id ?? "";
119
+ message.device_id = object.device_id ?? "";
120
+ return message;
121
+ },
122
+ };
123
+ function createBaseunblockVPAResponse() {
124
+ return { status: "", message: "" };
125
+ }
126
+ exports.unblockVPAResponse = {
127
+ encode(message, writer = minimal_1.default.Writer.create()) {
128
+ if (message.status !== "") {
129
+ writer.uint32(10).string(message.status);
130
+ }
131
+ if (message.message !== "") {
132
+ writer.uint32(18).string(message.message);
133
+ }
134
+ return writer;
135
+ },
136
+ decode(input, length) {
137
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
138
+ let end = length === undefined ? reader.len : reader.pos + length;
139
+ const message = createBaseunblockVPAResponse();
140
+ while (reader.pos < end) {
141
+ const tag = reader.uint32();
142
+ switch (tag >>> 3) {
143
+ case 1:
144
+ if (tag !== 10) {
145
+ break;
146
+ }
147
+ message.status = reader.string();
148
+ continue;
149
+ case 2:
150
+ if (tag !== 18) {
151
+ break;
152
+ }
153
+ message.message = reader.string();
154
+ continue;
155
+ }
156
+ if ((tag & 7) === 4 || tag === 0) {
157
+ break;
158
+ }
159
+ reader.skipType(tag & 7);
160
+ }
161
+ return message;
162
+ },
163
+ fromJSON(object) {
164
+ return {
165
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
166
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
167
+ };
168
+ },
169
+ toJSON(message) {
170
+ const obj = {};
171
+ if (message.status !== "") {
172
+ obj.status = message.status;
173
+ }
174
+ if (message.message !== "") {
175
+ obj.message = message.message;
176
+ }
177
+ return obj;
178
+ },
179
+ create(base) {
180
+ return exports.unblockVPAResponse.fromPartial(base ?? {});
181
+ },
182
+ fromPartial(object) {
183
+ const message = createBaseunblockVPAResponse();
184
+ message.status = object.status ?? "";
185
+ message.message = object.message ?? "";
186
+ return message;
187
+ },
188
+ };
189
+ function isSet(value) {
190
+ return value !== null && value !== undefined;
191
+ }
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.29.0
5
+ // protoc v5.29.1
6
6
  // source: upi/updatedevicebinding.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.29.0
5
+ // protoc v5.29.1
6
6
  // source: upi/validatevpa.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };