@stashfin/grpc 1.2.54 → 1.2.59

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 (216) 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/validatepan.d.ts +45 -0
  71. package/ts/customers/validatepan.js +274 -0
  72. package/ts/customers/verifyemail.d.ts +35 -0
  73. package/ts/customers/verifyemail.js +117 -0
  74. package/ts/customers/verifympin.d.ts +37 -0
  75. package/ts/customers/verifympin.js +149 -0
  76. package/ts/customers/verifyotp.d.ts +41 -0
  77. package/ts/customers/verifyotp.js +205 -0
  78. package/ts/customers.d.ts +596 -0
  79. package/ts/customers.js +428 -0
  80. package/ts/example.d.ts +78 -0
  81. package/ts/example.js +199 -0
  82. package/{src/ts/google/protobuf/timestamp.ts → ts/google/protobuf/timestamp.d.ts} +30 -126
  83. package/ts/google/protobuf/timestamp.js +97 -0
  84. package/ts/loans/approveloan.d.ts +39 -0
  85. package/ts/loans/approveloan.js +175 -0
  86. package/ts/loans/banklist.d.ts +37 -0
  87. package/ts/loans/banklist.js +148 -0
  88. package/ts/loans/calculateemi.d.ts +51 -0
  89. package/ts/loans/calculateemi.js +243 -0
  90. package/ts/loans/creditlimit.d.ts +43 -0
  91. package/ts/loans/creditlimit.js +247 -0
  92. package/ts/loans/restructureloan.d.ts +36 -0
  93. package/ts/loans/restructureloan.js +133 -0
  94. package/ts/loans/transactionlist.d.ts +50 -0
  95. package/ts/loans/transactionlist.js +229 -0
  96. package/ts/loans/updateinstallments.d.ts +42 -0
  97. package/ts/loans/updateinstallments.js +226 -0
  98. package/ts/loans/updateloan.d.ts +39 -0
  99. package/ts/loans/updateloan.js +175 -0
  100. package/ts/loans.d.ts +126 -0
  101. package/ts/loans.js +94 -0
  102. package/ts/stashcash/creditsc.d.ts +54 -0
  103. package/ts/stashcash/creditsc.js +301 -0
  104. package/ts/stashcash/debitsc.d.ts +59 -0
  105. package/ts/stashcash/debitsc.js +380 -0
  106. package/ts/stashcash/getscbalance.d.ts +53 -0
  107. package/ts/stashcash/getscbalance.js +293 -0
  108. package/ts/stashcash/getschistory.d.ts +73 -0
  109. package/ts/stashcash/getschistory.js +479 -0
  110. package/ts/stashcash/reversesc.d.ts +52 -0
  111. package/ts/stashcash/reversesc.js +273 -0
  112. package/ts/stashcash.d.ts +84 -0
  113. package/ts/stashcash.js +64 -0
  114. package/README.md +0 -74
  115. package/src/proto/customers/addaddress.proto +0 -25
  116. package/src/proto/customers/addbankaccountdetails.proto +0 -13
  117. package/src/proto/customers/createcustomerreference.proto +0 -21
  118. package/src/proto/customers/forgotmpin.proto +0 -12
  119. package/src/proto/customers/forgotmpinotp.proto +0 -10
  120. package/src/proto/customers/getbankaccountdetails.proto +0 -11
  121. package/src/proto/customers/getbasicinfo.proto +0 -24
  122. package/src/proto/customers/getcities.proto +0 -16
  123. package/src/proto/customers/getcustomerbyid.proto +0 -31
  124. package/src/proto/customers/getdashboard.proto +0 -47
  125. package/src/proto/customers/getdashboardmaincard.proto +0 -37
  126. package/src/proto/customers/getkycweburl.proto +0 -10
  127. package/src/proto/customers/getprofessionalinfo.proto +0 -22
  128. package/src/proto/customers/getprofile.proto +0 -22
  129. package/src/proto/customers/getstates.proto +0 -15
  130. package/src/proto/customers/getstep.proto +0 -30
  131. package/src/proto/customers/profilebasic.proto +0 -14
  132. package/src/proto/customers/profileupdatetnc.proto +0 -11
  133. package/src/proto/customers/resetmpin.proto +0 -13
  134. package/src/proto/customers/savebasicdetails.proto +0 -16
  135. package/src/proto/customers/saveunlocklimit.proto +0 -10
  136. package/src/proto/customers/sendemailtoken.proto +0 -11
  137. package/src/proto/customers/sendotp.proto +0 -14
  138. package/src/proto/customers/setmpin.proto +0 -12
  139. package/src/proto/customers/step10.proto +0 -34
  140. package/src/proto/customers/step7.proto +0 -29
  141. package/src/proto/customers/step8.proto +0 -30
  142. package/src/proto/customers/step9.proto +0 -36
  143. package/src/proto/customers/stepstatic.proto +0 -27
  144. package/src/proto/customers/updatedigilockertxn.proto +0 -13
  145. package/src/proto/customers/updatedob.proto +0 -13
  146. package/src/proto/customers/updatehypervergetxn.proto +0 -12
  147. package/src/proto/customers/verifyemail.proto +0 -11
  148. package/src/proto/customers/verifympin.proto +0 -13
  149. package/src/proto/customers/verifyotp.proto +0 -17
  150. package/src/proto/customers.proto +0 -83
  151. package/src/proto/example.proto +0 -20
  152. package/src/proto/loans/approveloan.proto +0 -15
  153. package/src/proto/loans/banklist.proto +0 -12
  154. package/src/proto/loans/calculateemi.proto +0 -20
  155. package/src/proto/loans/creditlimit.proto +0 -18
  156. package/src/proto/loans/restructureloan.proto +0 -12
  157. package/src/proto/loans/transactionlist.proto +0 -18
  158. package/src/proto/loans/updateinstallments.proto +0 -19
  159. package/src/proto/loans/updateloan.proto +0 -15
  160. package/src/proto/loans.proto +0 -23
  161. package/src/proto/stashcash/creditsc.proto +0 -22
  162. package/src/proto/stashcash/debitsc.proto +0 -27
  163. package/src/proto/stashcash/getscbalance.proto +0 -21
  164. package/src/proto/stashcash/getschistory.proto +0 -35
  165. package/src/proto/stashcash/reversesc.proto +0 -20
  166. package/src/proto/stashcash.proto +0 -17
  167. package/src/ts/customers/addaddress.ts +0 -310
  168. package/src/ts/customers/addbankaccountdetails.ts +0 -184
  169. package/src/ts/customers/createcustomerreference.ts +0 -276
  170. package/src/ts/customers/getbankaccountdetails.ts +0 -169
  171. package/src/ts/customers/getbasicinfo.ts +0 -385
  172. package/src/ts/customers/getcities.ts +0 -227
  173. package/src/ts/customers/getcustomerbyid.ts +0 -492
  174. package/src/ts/customers/getdashboard.ts +0 -728
  175. package/src/ts/customers/getdashboardmaincard.ts +0 -608
  176. package/src/ts/customers/getkycweburl.ts +0 -133
  177. package/src/ts/customers/getprofessionalinfo.ts +0 -344
  178. package/src/ts/customers/getprofile.ts +0 -338
  179. package/src/ts/customers/getstates.ts +0 -212
  180. package/src/ts/customers/getstep.ts +0 -483
  181. package/src/ts/customers/profilebasic.ts +0 -198
  182. package/src/ts/customers/profileupdatetnc.ts +0 -148
  183. package/src/ts/customers/resetmpin.ts +0 -166
  184. package/src/ts/customers/savebasicdetails.ts +0 -229
  185. package/src/ts/customers/saveunlocklimit.ts +0 -133
  186. package/src/ts/customers/sendemailtoken.ts +0 -148
  187. package/src/ts/customers/sendotp.ts +0 -202
  188. package/src/ts/customers/setmpin.ts +0 -166
  189. package/src/ts/customers/step10.ts +0 -544
  190. package/src/ts/customers/step7.ts +0 -456
  191. package/src/ts/customers/step8.ts +0 -472
  192. package/src/ts/customers/step9.ts +0 -578
  193. package/src/ts/customers/stepstatic.ts +0 -425
  194. package/src/ts/customers/updatedigilockertxn.ts +0 -182
  195. package/src/ts/customers/updatehypervergetxn.ts +0 -166
  196. package/src/ts/customers/verifyemail.ts +0 -148
  197. package/src/ts/customers/verifympin.ts +0 -184
  198. package/src/ts/customers/verifyotp.ts +0 -232
  199. package/src/ts/customers.ts +0 -1038
  200. package/src/ts/example.ts +0 -294
  201. package/src/ts/loans/approveloan.ts +0 -214
  202. package/src/ts/loans/banklist.ts +0 -183
  203. package/src/ts/loans/calculateemi.ts +0 -295
  204. package/src/ts/loans/creditlimit.ts +0 -294
  205. package/src/ts/loans/restructureloan.ts +0 -166
  206. package/src/ts/loans/transactionlist.ts +0 -281
  207. package/src/ts/loans/updateinstallments.ts +0 -271
  208. package/src/ts/loans/updateloan.ts +0 -214
  209. package/src/ts/loans.ts +0 -221
  210. package/src/ts/stashcash/creditsc.ts +0 -361
  211. package/src/ts/stashcash/debitsc.ts +0 -450
  212. package/src/ts/stashcash/getscbalance.ts +0 -351
  213. package/src/ts/stashcash/getschistory.ts +0 -566
  214. package/src/ts/stashcash/reversesc.ts +0 -329
  215. package/src/ts/stashcash.ts +0 -152
  216. package/tsconfig.json +0 -18
@@ -1,47 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package customers.getdashboard;
4
-
5
- message getDashboardRequest {
6
- }
7
-
8
- message getDashboardResponse {
9
- string user_state = 1;
10
- bool father_name_dialog = 2;
11
- string current_step = 3;
12
- repeated Block blocks = 4;
13
- }
14
-
15
- message Block {
16
- string block_name = 1;
17
- string block_title = 2 ;
18
- string block_code = 3 ;
19
- repeated BlockData block_data = 4;
20
- }
21
-
22
-
23
- message BlockData {
24
- string text = 1;
25
- string sub_text = 2;
26
- string image_url = 3;
27
- string video_url = 4;
28
- int32 video_length = 5;
29
- string action_url = 6;
30
- string landing_page = 7;
31
- string api_mode = 8;
32
- string app_version = 9;
33
- bool old_customers = 10;
34
- bool is_new = 11;
35
- string action_type = 12;
36
- string color1 = 13;
37
- string color2 = 14;
38
- string image_trailing = 15;
39
- Tag tag = 16;
40
- string overlay_image = 17;
41
- }
42
-
43
- message Tag {
44
- string text = 1;
45
- string bg_color = 2;
46
- string text_color = 3;
47
- }
@@ -1,37 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package customers.getdashboardmaincard;
4
-
5
- message getDashboardMainCardRequest {}
6
-
7
- message getDashboardMainCardResponse {
8
- string block_name = 1;
9
- string block_code = 2;
10
- MainCardData block_data = 3;
11
- }
12
-
13
- message MainCardData {
14
- string text = 1;
15
- string amount_text = 2;
16
- string sub_text = 3;
17
- string action_button_text = 4;
18
- string action = 5;
19
- string action_type = 6;
20
- int32 total_loc = 7;
21
- int32 used_loc = 8;
22
- int32 available_sp_loc = 9;
23
- bool can_reload_card = 10;
24
- string disbursed_amount = 11;
25
- string remaining_emi = 12;
26
- int32 balance_emi_amount = 13;
27
- string comment = 14;
28
- string landing_page = 15;
29
- string timer = 16;
30
- string image = 17;
31
- string loc_error = 18;
32
- bool show_button = 19;
33
- string total_stash_cash = 20;
34
- string supp_title = 21;
35
- int32 supp_loc_status = 22;
36
- string supp_sub_title = 23;
37
- }
@@ -1,10 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.getkycweburl;
4
-
5
- message getKycWebUrlRequest {
6
- }
7
-
8
- message getKycWebUrlResponse {
9
- string web_url = 1;
10
- }
@@ -1,22 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.getprofessionalinfo;
4
-
5
- message getProfessionalInfoRequest {}
6
-
7
- message getProfessionalInfoResponse {
8
- string company_name = 1;
9
- string designation = 2;
10
- string official_email = 3;
11
- Address office_addr = 4 ;
12
- }
13
-
14
- message Address {
15
- string house_flat_no = 1;
16
- string address_line_1 = 2;
17
- string address_line_2 = 3;
18
- string landmark = 4;
19
- string city = 5;
20
- string state = 6;
21
- string pin_code = 7;
22
- }
@@ -1,22 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.getprofile;
4
-
5
- message getCustomerProfileRequest { }
6
-
7
- message getCustomerProfileResponse {
8
- string first_name = 1;
9
- string middle_name = 2;
10
- string last_name = 3;
11
- string profile_image = 4;
12
- string email = 5;
13
- int32 profile_completion_status = 6;
14
- repeated ProfileDetail details = 7;
15
- }
16
-
17
-
18
- message ProfileDetail {
19
- string title = 1;
20
- bool status = 2;
21
- string redirect_url = 3;
22
- }
@@ -1,15 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package customers.getstates;
4
-
5
- message getAllStatesRequest {}
6
-
7
- message getAllStatesResponse {
8
- repeated State states = 1;
9
- }
10
-
11
- message State {
12
- int32 id = 1;
13
- string name = 2;
14
- }
15
-
@@ -1,30 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.getstep;
4
-
5
- message getstepRequest {
6
- }
7
-
8
- message getstepResponse {
9
- string route = 1;
10
- string type = 2;
11
- string button_text = 3;
12
- repeated Field data = 4;
13
- message Field {
14
- string label = 1;
15
- string key = 2;
16
- string input_type = 3;
17
- string data_type = 4;
18
- string icon = 5;
19
- bool is_popup = 6;
20
- string keyboard_type = 7;
21
- string text_capitalization = 8;
22
- repeated Validation validations = 9;
23
- }
24
- }
25
-
26
- message Validation {
27
- string key = 1;
28
- string value = 2;
29
- string message = 3;
30
- }
@@ -1,14 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.profilebasic;
4
-
5
- message updateProfileBasicRequest {
6
- string language = 1;
7
- string app_version = 2;
8
- string device_id = 3;
9
- string os_version = 4;
10
- }
11
-
12
- message updateProfileBasicResponse {
13
- bool status = 1 ;
14
- }
@@ -1,11 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.profileupdatetnc;
4
-
5
- message updateTncRequest {
6
- string tnc_version = 1 ;
7
- }
8
-
9
- message updateTncResponse {
10
- bool status = 1;
11
- }
@@ -1,13 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package customers.resetmpin;
4
-
5
- message resetMpinRequest {
6
- int32 old_mpin = 1;
7
- int32 new_mpin = 2;
8
- }
9
-
10
- message resetMpinResponse {
11
- int32 id = 1;
12
- }
13
-
@@ -1,16 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.savebasicdetails;
4
-
5
- message RequestBody {
6
- string key = 1;
7
- string value = 2;
8
- }
9
-
10
- message saveBasicDetailsRequest {
11
- repeated RequestBody request = 1;
12
- }
13
-
14
- message saveBasicDetailsResponse {
15
- bool status = 1;
16
- }
@@ -1,10 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.saveunlocklimit;
4
-
5
- message saveUnlockLimitRequest {
6
- }
7
-
8
- message saveUnlockLimitResponse {
9
- bool status = 1;
10
- }
@@ -1,11 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.sendemailtoken;
4
-
5
- message sendEmailTokenRequest {
6
- string email = 1;
7
- }
8
-
9
- message sendEmailTokenResponse {
10
- string token = 1 ;
11
- }
@@ -1,14 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.sendotp;
4
-
5
- message sendOtpRequest {
6
- string mobile = 1;
7
- string device_id = 2;
8
- }
9
-
10
- message sendOtpRespone {
11
- bool ismpin = 1 ;
12
- string token = 2 ;
13
- bool is_device_registered = 3;
14
- }
@@ -1,12 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.setmpin;
4
-
5
- message setMpinRequest {
6
- string mobile = 1 ;
7
- int32 mpin = 2;
8
- }
9
-
10
- message setMpinResponse {
11
- bool status = 1 ;
12
- }
@@ -1,34 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.step10;
4
-
5
- message step10Request {
6
- string email = 1;
7
- string father_name = 2;
8
- float monthly_income = 3;
9
- string company_name = 4;
10
- string salary_date = 5;
11
- string occupation = 6;
12
- string gender = 7;
13
- }
14
-
15
- message Validation {
16
- string key = 1;
17
- string value = 2;
18
- string message = 3;
19
- }
20
-
21
- message step10Response {
22
- string page = 1;
23
- string type = 2;
24
- string button_text = 3;
25
- repeated Field data = 4;
26
- message Field {
27
- string label = 1;
28
- string key = 2;
29
- string input_type = 3;
30
- string data_type = 4;
31
- string icon = 5;
32
- repeated Validation validations = 7;
33
- }
34
- }
@@ -1,29 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.step7;
4
-
5
- message step7Request {
6
- string bank_account_number = 1;
7
- string ifsc_code = 2;
8
- }
9
-
10
- message Validation {
11
- string key = 1;
12
- string value = 2;
13
- string message = 3;
14
- }
15
-
16
- message step7Response {
17
- string page = 1;
18
- string type = 2;
19
- string button_text = 3;
20
- repeated Field data = 4;
21
- message Field {
22
- string label = 1;
23
- string key = 2;
24
- string input_type = 3;
25
- string data_type = 4;
26
- string icon = 5;
27
- repeated Validation validations = 7;
28
- }
29
- }
@@ -1,30 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.step8;
4
-
5
- message step8Request {
6
- string selfie_url = 1;
7
- string pan_url = 2;
8
- string aadhaar_number = 3;
9
- }
10
-
11
- message Validation {
12
- string key = 1;
13
- string value = 2;
14
- string message = 3;
15
- }
16
-
17
- message step8Response {
18
- string page = 1;
19
- string type = 2;
20
- string button_text = 3;
21
- repeated Field data = 4;
22
- message Field {
23
- string label = 1;
24
- string key = 2;
25
- string input_type = 3;
26
- string data_type = 4;
27
- string icon = 5;
28
- repeated Validation validations = 7;
29
- }
30
- }
@@ -1,36 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.step9;
4
-
5
- message step9Request {
6
- string cur_house_number = 1;
7
- string cur_address_line1 = 2;
8
- string cur_address_line2 = 3;
9
- string cur_pincode = 4;
10
- bool is_permanent_same = 5;
11
- string per_house_number = 6;
12
- string per_address_line1 = 7;
13
- string per_address_line2 = 8;
14
- string per_pincode = 9;
15
- }
16
-
17
- message Validation {
18
- string key = 1;
19
- string value = 2;
20
- string message = 3;
21
- }
22
-
23
- message step9Response {
24
- string page = 1;
25
- string type = 2;
26
- string button_text = 3;
27
- repeated Field data = 4;
28
- message Field {
29
- string label = 1;
30
- string key = 2;
31
- string input_type = 3;
32
- string data_type = 4;
33
- string icon = 5;
34
- repeated Validation validations = 7;
35
- }
36
- }
@@ -1,27 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.stepstatic;
4
-
5
- message stepstaticRequest {
6
- }
7
-
8
- message Validation {
9
- string key = 1;
10
- string value = 2;
11
- string message = 3;
12
- }
13
-
14
- message stepstaticResponse {
15
- string page = 1;
16
- string type = 2;
17
- string button_text = 3;
18
- repeated Field data = 4;
19
- message Field {
20
- string label = 1;
21
- string key = 2;
22
- string input_type = 3;
23
- string data_type = 4;
24
- string icon = 5;
25
- repeated Validation validations = 7;
26
- }
27
- }
@@ -1,13 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.updatedigilockertxn;
4
-
5
- message updateDigiLockerTxnRequest {
6
- string payload = 1;
7
- string transactionId = 2;
8
- string status = 3;
9
- }
10
-
11
- message updateDigiLockerTxnResponse {
12
- bool status = 1 ;
13
- }
@@ -1,13 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.updatedob;
4
-
5
-
6
- message updateDOBRequest {
7
- string dob = 1 ;
8
- }
9
-
10
-
11
- message updateDOBResponse {
12
- bool status = 1;
13
- }
@@ -1,12 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.updatehypervergetxn;
4
-
5
- message updateHypervergeTxnRequest {
6
- string transactionId = 1;
7
- string status = 2;
8
- }
9
-
10
- message updateHypervergeTxnResponse {
11
- bool status = 1 ;
12
- }
@@ -1,11 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.verifyemail;
4
-
5
- message verifyEmailRequest {
6
- string token = 1;
7
- }
8
-
9
- message verifyEmailResponse {
10
- bool status = 1 ;
11
- }
@@ -1,13 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.verifympin;
4
-
5
- message verifyMpinRequest {
6
- string mobile = 1 ;
7
- int32 mpin = 2;
8
- }
9
-
10
- message verifyMpinResponse {
11
- bool status = 1 ;
12
- string jwttoken = 2;
13
- }
@@ -1,17 +0,0 @@
1
- syntax="proto3";
2
-
3
- package customers.verifyotp;
4
-
5
- message verifyOtpReqeust {
6
- string mobile = 1;
7
- string device_id = 2;
8
- string otp = 3 ;
9
- string token = 4;
10
- bool tnc = 5 ;
11
- bool is_rooted = 6;
12
- }
13
-
14
- message verifyOtpResponse {
15
- bool ismpin = 1 ;
16
- string jwttoken = 2 ;
17
- }
@@ -1,83 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package service;
4
-
5
- import "customers/sendotp.proto";
6
- import "customers/verifyotp.proto";
7
- import "customers/setmpin.proto";
8
- import "customers/verifympin.proto";
9
- import "customers/resetmpin.proto";
10
- import "customers/forgotmpinotp.proto";
11
- import "customers/forgotmpin.proto";
12
- import "customers/getstep.proto";
13
- import "customers/savebasicdetails.proto";
14
- import "customers/saveunlocklimit.proto";
15
- import "customers/step7.proto";
16
- import "customers/step8.proto";
17
- import "customers/step9.proto";
18
- import "customers/step10.proto";
19
- import "customers/stepstatic.proto";
20
- import "customers/profileupdatetnc.proto";
21
- import "customers/getprofile.proto" ;
22
- import "customers/profilebasic.proto" ;
23
- import "customers/sendemailtoken.proto" ;
24
- import "customers/verifyemail.proto" ;
25
- import "customers/getcustomerbyid.proto";
26
- import "customers/getdashboard.proto" ;
27
- import "customers/getdashboardmaincard.proto";
28
- import "customers/getbankaccountdetails.proto";
29
- import "customers/addbankaccountdetails.proto";
30
- import "customers/getbasicinfo.proto";
31
- import "customers/getprofessionalinfo.proto";
32
- import "customers/createcustomerreference.proto";
33
- import "customers/getcities.proto";
34
- import "customers/getstates.proto";
35
- import "customers/updatedigilockertxn.proto";
36
- import "customers/updatehypervergetxn.proto";
37
- import "customers/addaddress.proto";
38
- import "customers/getkycweburl.proto";
39
- import "customers/updatedob.proto";
40
-
41
- service customers {
42
- rpc sendOtp(.customers.sendotp.sendOtpRequest) returns (.customers.sendotp.sendOtpRespone) {}
43
- rpc verifyOtp(.customers.verifyotp.verifyOtpReqeust) returns (.customers.verifyotp.verifyOtpResponse) {}
44
- rpc setmpin(.customers.setmpin.setMpinRequest) returns (.customers.setmpin.setMpinResponse) {}
45
- rpc verifyMpin(.customers.verifympin.verifyMpinRequest) returns (.customers.verifympin.verifyMpinResponse) {}
46
- rpc resetMpin(.customers.resetmpin.resetMpinRequest) returns (.customers.resetmpin.resetMpinResponse) {}
47
- rpc forgotMpinOtp(.customers.forgotmpinotp.forgotMpinOTPRequest) returns (.customers.forgotmpinotp.forgotMpinOTPResponse) {}
48
- rpc forgotMpin(.customers.forgotmpin.forgotMpinRequest) returns (.customers.forgotmpin.forgotMpinResponse) {}
49
- rpc profileUpdatetnc(.customers.profileupdatetnc.updateTncRequest ) returns (.customers.profileupdatetnc.updateTncResponse) {}
50
- rpc updateProfileBasic(.customers.profilebasic.updateProfileBasicRequest ) returns (.customers.profilebasic.updateProfileBasicResponse) {}
51
- rpc getProfile(.customers.getprofile.getCustomerProfileRequest) returns (.customers.getprofile.getCustomerProfileResponse) {}
52
- rpc getStep(.customers.getstep.getstepRequest) returns (.customers.getstep.getstepResponse) {}
53
- rpc saveBasicDetails(.customers.savebasicdetails.saveBasicDetailsRequest) returns (.customers.savebasicdetails.saveBasicDetailsResponse) {}
54
- rpc saveUnlockLimit(.customers.saveunlocklimit.saveUnlockLimitRequest) returns (.customers.saveunlocklimit.saveUnlockLimitResponse) {}
55
- rpc step3(.customers.stepstatic.stepstaticRequest) returns (.customers.stepstatic.stepstaticResponse) {}
56
- rpc step4(.customers.stepstatic.stepstaticRequest) returns (.customers.stepstatic.stepstaticResponse) {}
57
- rpc step5(.customers.stepstatic.stepstaticRequest) returns (.customers.stepstatic.stepstaticResponse) {}
58
- rpc step6(.customers.stepstatic.stepstaticRequest) returns (.customers.stepstatic.stepstaticResponse) {}
59
- rpc step7(.customers.step7.step7Request) returns (.customers.step7.step7Response) {}
60
- rpc step8(.customers.step8.step8Request) returns (.customers.step8.step8Response) {}
61
- rpc step9(.customers.step9.step9Request) returns (.customers.step9.step9Response) {}
62
- rpc step10(.customers.step10.step10Request) returns (.customers.step10.step10Response) {}
63
- rpc step11(.customers.stepstatic.stepstaticRequest) returns (.customers.stepstatic.stepstaticRequest) {}
64
- rpc sendEmailToken(.customers.sendemailtoken.sendEmailTokenRequest) returns (.customers.sendemailtoken.sendEmailTokenResponse) {}
65
- rpc verifyEmail(.customers.verifyemail.verifyEmailRequest) returns (.customers.verifyemail.verifyEmailResponse) {}
66
- rpc getCustomerById(.customers.getcustomerbyid.getCustomerByIdRequest) returns (.customers.getcustomerbyid.getCustomerByIdResponse) {}
67
- rpc getDashboard(.customers.getdashboard.getDashboardRequest) returns (.customers.getdashboard.getDashboardResponse) {}
68
- rpc getDashboardMainCard(.customers.getdashboardmaincard.getDashboardMainCardRequest) returns (.customers.getdashboardmaincard.getDashboardMainCardResponse){}
69
- rpc addBankAccountDetails(.customers.addbankaccountdetails.addBankAccountDetailsRequest) returns (.customers.addbankaccountdetails.addBankAccountDetailsResponse) {}
70
- rpc getBankAccountDetails(.customers.getbankaccountdetails.getBankAccountDetailsRequest) returns (.customers.getbankaccountdetails.getBankAccountDetailsResponse) {}
71
- rpc getBasicInfo(.customers.getbasicinfo.getBasicInfoRequest) returns (.customers.getbasicinfo.getBasicInfoResponse) {}
72
- rpc getProfessionalInfo(.customers.getprofessionalinfo.getProfessionalInfoRequest) returns (.customers.getprofessionalinfo.getProfessionalInfoResponse) {}
73
- rpc createCustomerReference(.customers.createcustomerreference.createCustomerReferenceRequest) returns (.customers.createcustomerreference.createCustomerReferenceResponse) {}
74
- rpc sendEmailTokenToProfessionalEmail(.customers.sendemailtoken.sendEmailTokenRequest) returns (.customers.sendemailtoken.sendEmailTokenResponse) {}
75
- rpc verifyProfessionalEmail(.customers.verifyemail.verifyEmailRequest) returns (.customers.verifyemail.verifyEmailResponse) {}
76
- rpc getAllStates(.customers.getstates.getAllStatesRequest) returns (.customers.getstates.getAllStatesResponse) {}
77
- rpc getCitiesByStateId(.customers.getcities.getCitiesRequest) returns (.customers.getcities.getCitiesResponse) {}
78
- rpc updateDigiLockerTxn(.customers.updatedigilockertxn.updateDigiLockerTxnRequest) returns (.customers.updatedigilockertxn.updateDigiLockerTxnResponse) {}
79
- rpc updateHypervergeTxn(.customers.updatehypervergetxn.updateHypervergeTxnRequest) returns (.customers.updatehypervergetxn.updateHypervergeTxnResponse) {}
80
- rpc addAddress(.customers.addaddress.addAddressRequest) returns (.customers.addaddress.addAddressResponse) {}
81
- rpc getKycWebUrl(.customers.getkycweburl.getKycWebUrlRequest) returns (.customers.getkycweburl.getKycWebUrlResponse) {}
82
- rpc updateDob(.customers.updatedob.updateDOBRequest) returns (.customers.updatedob.updateDOBResponse) {}
83
- }
@@ -1,20 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package service;
4
-
5
- service Example {
6
- rpc GetExample (ExampleRequest) returns (ExampleResponse);
7
- rpc SetExample (ExampleRequest) returns (ExampleResponse);
8
- }
9
-
10
- message ExampleRequest {
11
- string name = 1;
12
- int32 id = 2;
13
- }
14
-
15
- message ExampleResponse {
16
- string message = 1;
17
- int32 id = 2 ;
18
- string name = 3;
19
- string status = 4;
20
- }
@@ -1,15 +0,0 @@
1
- syntax="proto3";
2
-
3
- package loans.approveloan;
4
-
5
- message approveLoanRequest {
6
- int32 bank_id =1;
7
- int32 amount = 2;
8
- int32 tenure = 3;
9
- int32 customer_id = 4;
10
- string ip = 5;
11
- }
12
-
13
- message approveLoanResponse {
14
- int32 id = 1;
15
- }