@stashfin/grpc 1.2.54 → 1.2.58

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 (214) hide show
  1. package/package.json +3 -3
  2. package/ts/customers/addaddress.d.ts +50 -0
  3. package/ts/customers/addaddress.js +265 -0
  4. package/ts/customers/addbankaccountdetails.d.ts +37 -0
  5. package/ts/customers/addbankaccountdetails.js +147 -0
  6. package/ts/customers/createcustomerreference.d.ts +43 -0
  7. package/ts/customers/createcustomerreference.js +226 -0
  8. package/ts/customers/forgotmpin.d.ts +36 -0
  9. package/ts/customers/forgotmpin.js +133 -0
  10. package/ts/customers/forgotmpinotp.d.ts +34 -0
  11. package/ts/customers/forgotmpinotp.js +104 -0
  12. package/ts/customers/getbankaccountdetails.d.ts +36 -0
  13. package/ts/customers/getbankaccountdetails.js +134 -0
  14. package/ts/customers/getbasicinfo.d.ts +56 -0
  15. package/ts/customers/getbasicinfo.js +323 -0
  16. package/ts/customers/getcities.d.ts +47 -0
  17. package/ts/customers/getcities.js +183 -0
  18. package/ts/customers/getcustomerbyid.d.ts +55 -0
  19. package/ts/customers/getcustomerbyid.js +421 -0
  20. package/ts/customers/getdashboard.d.ts +91 -0
  21. package/ts/customers/getdashboard.js +618 -0
  22. package/ts/customers/getdashboardmaincard.d.ts +69 -0
  23. package/ts/customers/getdashboardmaincard.js +520 -0
  24. package/ts/customers/getkycweburl.d.ts +34 -0
  25. package/ts/customers/getkycweburl.js +104 -0
  26. package/ts/customers/getprofessionalinfo.d.ts +54 -0
  27. package/ts/customers/getprofessionalinfo.js +286 -0
  28. package/ts/customers/getprofile.d.ts +53 -0
  29. package/ts/customers/getprofile.js +282 -0
  30. package/ts/customers/getstates.d.ts +46 -0
  31. package/ts/customers/getstates.js +170 -0
  32. package/ts/customers/getstep.d.ts +69 -0
  33. package/ts/customers/getstep.js +406 -0
  34. package/ts/customers/profilebasic.d.ts +38 -0
  35. package/ts/customers/profilebasic.js +161 -0
  36. package/ts/customers/profileupdatetnc.d.ts +35 -0
  37. package/ts/customers/profileupdatetnc.js +117 -0
  38. package/ts/customers/resetmpin.d.ts +36 -0
  39. package/ts/customers/resetmpin.js +133 -0
  40. package/ts/customers/savebasicdetails.d.ts +47 -0
  41. package/ts/customers/savebasicdetails.js +185 -0
  42. package/ts/customers/saveunlocklimit.d.ts +34 -0
  43. package/ts/customers/saveunlocklimit.js +104 -0
  44. package/ts/customers/sendemailtoken.d.ts +35 -0
  45. package/ts/customers/sendemailtoken.js +117 -0
  46. package/ts/customers/sendotp.d.ts +38 -0
  47. package/ts/customers/sendotp.js +165 -0
  48. package/ts/customers/setmpin.d.ts +36 -0
  49. package/ts/customers/setmpin.js +133 -0
  50. package/ts/customers/step1.d.ts +71 -0
  51. package/ts/customers/step1.js +423 -0
  52. package/ts/customers/step10.d.ts +73 -0
  53. package/ts/customers/step10.js +459 -0
  54. package/ts/customers/step2.d.ts +67 -0
  55. package/ts/customers/step2.js +366 -0
  56. package/ts/customers/step7.d.ts +68 -0
  57. package/ts/customers/step7.js +381 -0
  58. package/ts/customers/step8.d.ts +69 -0
  59. package/ts/customers/step8.js +395 -0
  60. package/ts/customers/step9.d.ts +75 -0
  61. package/ts/customers/step9.js +489 -0
  62. package/ts/customers/stepstatic.d.ts +66 -0
  63. package/ts/customers/stepstatic.js +354 -0
  64. package/ts/customers/updatedigilockertxn.d.ts +37 -0
  65. package/ts/customers/updatedigilockertxn.js +147 -0
  66. package/ts/customers/updatedob.d.ts +35 -0
  67. package/ts/customers/updatedob.js +117 -0
  68. package/ts/customers/updatehypervergetxn.d.ts +36 -0
  69. package/ts/customers/updatehypervergetxn.js +133 -0
  70. package/ts/customers/verifyemail.d.ts +35 -0
  71. package/ts/customers/verifyemail.js +117 -0
  72. package/ts/customers/verifympin.d.ts +37 -0
  73. package/ts/customers/verifympin.js +149 -0
  74. package/ts/customers/verifyotp.d.ts +41 -0
  75. package/ts/customers/verifyotp.js +205 -0
  76. package/ts/customers.d.ts +582 -0
  77. package/ts/customers.js +418 -0
  78. package/ts/example.d.ts +78 -0
  79. package/ts/example.js +199 -0
  80. package/{src/ts/google/protobuf/timestamp.ts → ts/google/protobuf/timestamp.d.ts} +30 -126
  81. package/ts/google/protobuf/timestamp.js +97 -0
  82. package/ts/loans/approveloan.d.ts +39 -0
  83. package/ts/loans/approveloan.js +175 -0
  84. package/ts/loans/banklist.d.ts +37 -0
  85. package/ts/loans/banklist.js +148 -0
  86. package/ts/loans/calculateemi.d.ts +51 -0
  87. package/ts/loans/calculateemi.js +243 -0
  88. package/ts/loans/creditlimit.d.ts +43 -0
  89. package/ts/loans/creditlimit.js +247 -0
  90. package/ts/loans/restructureloan.d.ts +36 -0
  91. package/ts/loans/restructureloan.js +133 -0
  92. package/ts/loans/transactionlist.d.ts +50 -0
  93. package/ts/loans/transactionlist.js +229 -0
  94. package/ts/loans/updateinstallments.d.ts +42 -0
  95. package/ts/loans/updateinstallments.js +226 -0
  96. package/ts/loans/updateloan.d.ts +39 -0
  97. package/ts/loans/updateloan.js +175 -0
  98. package/ts/loans.d.ts +126 -0
  99. package/ts/loans.js +94 -0
  100. package/ts/stashcash/creditsc.d.ts +54 -0
  101. package/ts/stashcash/creditsc.js +301 -0
  102. package/ts/stashcash/debitsc.d.ts +59 -0
  103. package/ts/stashcash/debitsc.js +380 -0
  104. package/ts/stashcash/getscbalance.d.ts +53 -0
  105. package/ts/stashcash/getscbalance.js +293 -0
  106. package/ts/stashcash/getschistory.d.ts +73 -0
  107. package/ts/stashcash/getschistory.js +479 -0
  108. package/ts/stashcash/reversesc.d.ts +52 -0
  109. package/ts/stashcash/reversesc.js +273 -0
  110. package/ts/stashcash.d.ts +84 -0
  111. package/ts/stashcash.js +64 -0
  112. package/README.md +0 -74
  113. package/src/proto/customers/addaddress.proto +0 -25
  114. package/src/proto/customers/addbankaccountdetails.proto +0 -13
  115. package/src/proto/customers/createcustomerreference.proto +0 -21
  116. package/src/proto/customers/forgotmpin.proto +0 -12
  117. package/src/proto/customers/forgotmpinotp.proto +0 -10
  118. package/src/proto/customers/getbankaccountdetails.proto +0 -11
  119. package/src/proto/customers/getbasicinfo.proto +0 -24
  120. package/src/proto/customers/getcities.proto +0 -16
  121. package/src/proto/customers/getcustomerbyid.proto +0 -31
  122. package/src/proto/customers/getdashboard.proto +0 -47
  123. package/src/proto/customers/getdashboardmaincard.proto +0 -37
  124. package/src/proto/customers/getkycweburl.proto +0 -10
  125. package/src/proto/customers/getprofessionalinfo.proto +0 -22
  126. package/src/proto/customers/getprofile.proto +0 -22
  127. package/src/proto/customers/getstates.proto +0 -15
  128. package/src/proto/customers/getstep.proto +0 -30
  129. package/src/proto/customers/profilebasic.proto +0 -14
  130. package/src/proto/customers/profileupdatetnc.proto +0 -11
  131. package/src/proto/customers/resetmpin.proto +0 -13
  132. package/src/proto/customers/savebasicdetails.proto +0 -16
  133. package/src/proto/customers/saveunlocklimit.proto +0 -10
  134. package/src/proto/customers/sendemailtoken.proto +0 -11
  135. package/src/proto/customers/sendotp.proto +0 -14
  136. package/src/proto/customers/setmpin.proto +0 -12
  137. package/src/proto/customers/step10.proto +0 -34
  138. package/src/proto/customers/step7.proto +0 -29
  139. package/src/proto/customers/step8.proto +0 -30
  140. package/src/proto/customers/step9.proto +0 -36
  141. package/src/proto/customers/stepstatic.proto +0 -27
  142. package/src/proto/customers/updatedigilockertxn.proto +0 -13
  143. package/src/proto/customers/updatedob.proto +0 -13
  144. package/src/proto/customers/updatehypervergetxn.proto +0 -12
  145. package/src/proto/customers/verifyemail.proto +0 -11
  146. package/src/proto/customers/verifympin.proto +0 -13
  147. package/src/proto/customers/verifyotp.proto +0 -17
  148. package/src/proto/customers.proto +0 -83
  149. package/src/proto/example.proto +0 -20
  150. package/src/proto/loans/approveloan.proto +0 -15
  151. package/src/proto/loans/banklist.proto +0 -12
  152. package/src/proto/loans/calculateemi.proto +0 -20
  153. package/src/proto/loans/creditlimit.proto +0 -18
  154. package/src/proto/loans/restructureloan.proto +0 -12
  155. package/src/proto/loans/transactionlist.proto +0 -18
  156. package/src/proto/loans/updateinstallments.proto +0 -19
  157. package/src/proto/loans/updateloan.proto +0 -15
  158. package/src/proto/loans.proto +0 -23
  159. package/src/proto/stashcash/creditsc.proto +0 -22
  160. package/src/proto/stashcash/debitsc.proto +0 -27
  161. package/src/proto/stashcash/getscbalance.proto +0 -21
  162. package/src/proto/stashcash/getschistory.proto +0 -35
  163. package/src/proto/stashcash/reversesc.proto +0 -20
  164. package/src/proto/stashcash.proto +0 -17
  165. package/src/ts/customers/addaddress.ts +0 -310
  166. package/src/ts/customers/addbankaccountdetails.ts +0 -184
  167. package/src/ts/customers/createcustomerreference.ts +0 -276
  168. package/src/ts/customers/getbankaccountdetails.ts +0 -169
  169. package/src/ts/customers/getbasicinfo.ts +0 -385
  170. package/src/ts/customers/getcities.ts +0 -227
  171. package/src/ts/customers/getcustomerbyid.ts +0 -492
  172. package/src/ts/customers/getdashboard.ts +0 -728
  173. package/src/ts/customers/getdashboardmaincard.ts +0 -608
  174. package/src/ts/customers/getkycweburl.ts +0 -133
  175. package/src/ts/customers/getprofessionalinfo.ts +0 -344
  176. package/src/ts/customers/getprofile.ts +0 -338
  177. package/src/ts/customers/getstates.ts +0 -212
  178. package/src/ts/customers/getstep.ts +0 -483
  179. package/src/ts/customers/profilebasic.ts +0 -198
  180. package/src/ts/customers/profileupdatetnc.ts +0 -148
  181. package/src/ts/customers/resetmpin.ts +0 -166
  182. package/src/ts/customers/savebasicdetails.ts +0 -229
  183. package/src/ts/customers/saveunlocklimit.ts +0 -133
  184. package/src/ts/customers/sendemailtoken.ts +0 -148
  185. package/src/ts/customers/sendotp.ts +0 -202
  186. package/src/ts/customers/setmpin.ts +0 -166
  187. package/src/ts/customers/step10.ts +0 -544
  188. package/src/ts/customers/step7.ts +0 -456
  189. package/src/ts/customers/step8.ts +0 -472
  190. package/src/ts/customers/step9.ts +0 -578
  191. package/src/ts/customers/stepstatic.ts +0 -425
  192. package/src/ts/customers/updatedigilockertxn.ts +0 -182
  193. package/src/ts/customers/updatehypervergetxn.ts +0 -166
  194. package/src/ts/customers/verifyemail.ts +0 -148
  195. package/src/ts/customers/verifympin.ts +0 -184
  196. package/src/ts/customers/verifyotp.ts +0 -232
  197. package/src/ts/customers.ts +0 -1038
  198. package/src/ts/example.ts +0 -294
  199. package/src/ts/loans/approveloan.ts +0 -214
  200. package/src/ts/loans/banklist.ts +0 -183
  201. package/src/ts/loans/calculateemi.ts +0 -295
  202. package/src/ts/loans/creditlimit.ts +0 -294
  203. package/src/ts/loans/restructureloan.ts +0 -166
  204. package/src/ts/loans/transactionlist.ts +0 -281
  205. package/src/ts/loans/updateinstallments.ts +0 -271
  206. package/src/ts/loans/updateloan.ts +0 -214
  207. package/src/ts/loans.ts +0 -221
  208. package/src/ts/stashcash/creditsc.ts +0 -361
  209. package/src/ts/stashcash/debitsc.ts +0 -450
  210. package/src/ts/stashcash/getscbalance.ts +0 -351
  211. package/src/ts/stashcash/getschistory.ts +0 -566
  212. package/src/ts/stashcash/reversesc.ts +0 -329
  213. package/src/ts/stashcash.ts +0 -152
  214. package/tsconfig.json +0 -18
@@ -1,232 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v1.181.0
4
- // protoc v3.20.3
5
- // source: customers/verifyotp.proto
6
-
7
- /* eslint-disable */
8
- import _m0 from "protobufjs/minimal";
9
-
10
- export const protobufPackage = "customers.verifyotp";
11
-
12
- export interface verifyOtpReqeust {
13
- mobile: string;
14
- device_id: string;
15
- otp: string;
16
- token: string;
17
- tnc: boolean;
18
- }
19
-
20
- export interface verifyOtpResponse {
21
- ismpin: boolean;
22
- jwttoken: string;
23
- }
24
-
25
- function createBaseverifyOtpReqeust(): verifyOtpReqeust {
26
- return { mobile: "", device_id: "", otp: "", token: "", tnc: false };
27
- }
28
-
29
- export const verifyOtpReqeust = {
30
- encode(message: verifyOtpReqeust, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
31
- if (message.mobile !== "") {
32
- writer.uint32(10).string(message.mobile);
33
- }
34
- if (message.device_id !== "") {
35
- writer.uint32(18).string(message.device_id);
36
- }
37
- if (message.otp !== "") {
38
- writer.uint32(26).string(message.otp);
39
- }
40
- if (message.token !== "") {
41
- writer.uint32(34).string(message.token);
42
- }
43
- if (message.tnc !== false) {
44
- writer.uint32(40).bool(message.tnc);
45
- }
46
- return writer;
47
- },
48
-
49
- decode(input: _m0.Reader | Uint8Array, length?: number): verifyOtpReqeust {
50
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
51
- let end = length === undefined ? reader.len : reader.pos + length;
52
- const message = createBaseverifyOtpReqeust();
53
- while (reader.pos < end) {
54
- const tag = reader.uint32();
55
- switch (tag >>> 3) {
56
- case 1:
57
- if (tag !== 10) {
58
- break;
59
- }
60
-
61
- message.mobile = reader.string();
62
- continue;
63
- case 2:
64
- if (tag !== 18) {
65
- break;
66
- }
67
-
68
- message.device_id = reader.string();
69
- continue;
70
- case 3:
71
- if (tag !== 26) {
72
- break;
73
- }
74
-
75
- message.otp = reader.string();
76
- continue;
77
- case 4:
78
- if (tag !== 34) {
79
- break;
80
- }
81
-
82
- message.token = reader.string();
83
- continue;
84
- case 5:
85
- if (tag !== 40) {
86
- break;
87
- }
88
-
89
- message.tnc = reader.bool();
90
- continue;
91
- }
92
- if ((tag & 7) === 4 || tag === 0) {
93
- break;
94
- }
95
- reader.skipType(tag & 7);
96
- }
97
- return message;
98
- },
99
-
100
- fromJSON(object: any): verifyOtpReqeust {
101
- return {
102
- mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
103
- device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
104
- otp: isSet(object.otp) ? globalThis.String(object.otp) : "",
105
- token: isSet(object.token) ? globalThis.String(object.token) : "",
106
- tnc: isSet(object.tnc) ? globalThis.Boolean(object.tnc) : false,
107
- };
108
- },
109
-
110
- toJSON(message: verifyOtpReqeust): unknown {
111
- const obj: any = {};
112
- if (message.mobile !== "") {
113
- obj.mobile = message.mobile;
114
- }
115
- if (message.device_id !== "") {
116
- obj.device_id = message.device_id;
117
- }
118
- if (message.otp !== "") {
119
- obj.otp = message.otp;
120
- }
121
- if (message.token !== "") {
122
- obj.token = message.token;
123
- }
124
- if (message.tnc !== false) {
125
- obj.tnc = message.tnc;
126
- }
127
- return obj;
128
- },
129
-
130
- create<I extends Exact<DeepPartial<verifyOtpReqeust>, I>>(base?: I): verifyOtpReqeust {
131
- return verifyOtpReqeust.fromPartial(base ?? ({} as any));
132
- },
133
- fromPartial<I extends Exact<DeepPartial<verifyOtpReqeust>, I>>(object: I): verifyOtpReqeust {
134
- const message = createBaseverifyOtpReqeust();
135
- message.mobile = object.mobile ?? "";
136
- message.device_id = object.device_id ?? "";
137
- message.otp = object.otp ?? "";
138
- message.token = object.token ?? "";
139
- message.tnc = object.tnc ?? false;
140
- return message;
141
- },
142
- };
143
-
144
- function createBaseverifyOtpResponse(): verifyOtpResponse {
145
- return { ismpin: false, jwttoken: "" };
146
- }
147
-
148
- export const verifyOtpResponse = {
149
- encode(message: verifyOtpResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
150
- if (message.ismpin !== false) {
151
- writer.uint32(8).bool(message.ismpin);
152
- }
153
- if (message.jwttoken !== "") {
154
- writer.uint32(18).string(message.jwttoken);
155
- }
156
- return writer;
157
- },
158
-
159
- decode(input: _m0.Reader | Uint8Array, length?: number): verifyOtpResponse {
160
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
161
- let end = length === undefined ? reader.len : reader.pos + length;
162
- const message = createBaseverifyOtpResponse();
163
- while (reader.pos < end) {
164
- const tag = reader.uint32();
165
- switch (tag >>> 3) {
166
- case 1:
167
- if (tag !== 8) {
168
- break;
169
- }
170
-
171
- message.ismpin = reader.bool();
172
- continue;
173
- case 2:
174
- if (tag !== 18) {
175
- break;
176
- }
177
-
178
- message.jwttoken = reader.string();
179
- continue;
180
- }
181
- if ((tag & 7) === 4 || tag === 0) {
182
- break;
183
- }
184
- reader.skipType(tag & 7);
185
- }
186
- return message;
187
- },
188
-
189
- fromJSON(object: any): verifyOtpResponse {
190
- return {
191
- ismpin: isSet(object.ismpin) ? globalThis.Boolean(object.ismpin) : false,
192
- jwttoken: isSet(object.jwttoken) ? globalThis.String(object.jwttoken) : "",
193
- };
194
- },
195
-
196
- toJSON(message: verifyOtpResponse): unknown {
197
- const obj: any = {};
198
- if (message.ismpin !== false) {
199
- obj.ismpin = message.ismpin;
200
- }
201
- if (message.jwttoken !== "") {
202
- obj.jwttoken = message.jwttoken;
203
- }
204
- return obj;
205
- },
206
-
207
- create<I extends Exact<DeepPartial<verifyOtpResponse>, I>>(base?: I): verifyOtpResponse {
208
- return verifyOtpResponse.fromPartial(base ?? ({} as any));
209
- },
210
- fromPartial<I extends Exact<DeepPartial<verifyOtpResponse>, I>>(object: I): verifyOtpResponse {
211
- const message = createBaseverifyOtpResponse();
212
- message.ismpin = object.ismpin ?? false;
213
- message.jwttoken = object.jwttoken ?? "";
214
- return message;
215
- },
216
- };
217
-
218
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
219
-
220
- export type DeepPartial<T> = T extends Builtin ? T
221
- : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
222
- : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
223
- : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
224
- : Partial<T>;
225
-
226
- type KeysOfUnion<T> = T extends T ? keyof T : never;
227
- export type Exact<P, I extends P> = P extends Builtin ? P
228
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
229
-
230
- function isSet(value: any): boolean {
231
- return value !== null && value !== undefined;
232
- }