@stashfin/grpc 1.2.147 → 1.2.149

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 (175) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.d.ts +0 -57
  3. package/ts/bureau/getbasicdetails.js +0 -341
  4. package/ts/bureau/getdemogs.d.ts +0 -113
  5. package/ts/bureau/getdemogs.js +0 -611
  6. package/ts/bureau/getreport.d.ts +0 -188
  7. package/ts/bureau/getreport.js +0 -1640
  8. package/ts/bureau.d.ts +0 -56
  9. package/ts/bureau.js +0 -44
  10. package/ts/colender/disburseLoan.d.ts +0 -44
  11. package/ts/colender/disburseLoan.js +0 -256
  12. package/ts/colender/forecloseLoan.d.ts +0 -41
  13. package/ts/colender/forecloseLoan.js +0 -205
  14. package/ts/colender/repayLoan.d.ts +0 -48
  15. package/ts/colender/repayLoan.js +0 -313
  16. package/ts/colender.d.ts +0 -56
  17. package/ts/colender.js +0 -44
  18. package/ts/customers/aa/getbanklist.d.ts +0 -48
  19. package/ts/customers/aa/getbanklist.js +0 -198
  20. package/ts/customers/aa/initiate.d.ts +0 -40
  21. package/ts/customers/aa/initiate.js +0 -209
  22. package/ts/customers/addaddress.d.ts +0 -50
  23. package/ts/customers/addaddress.js +0 -265
  24. package/ts/customers/addbankaccountdetails.d.ts +0 -37
  25. package/ts/customers/addbankaccountdetails.js +0 -147
  26. package/ts/customers/addgstnumber.d.ts +0 -35
  27. package/ts/customers/addgstnumber.js +0 -117
  28. package/ts/customers/addmoredetails.d.ts +0 -60
  29. package/ts/customers/addmoredetails.js +0 -314
  30. package/ts/customers/addsuspendedcustomer.d.ts +0 -36
  31. package/ts/customers/addsuspendedcustomer.js +0 -133
  32. package/ts/customers/adduserapps.d.ts +0 -74
  33. package/ts/customers/adduserapps.js +0 -210
  34. package/ts/customers/changempin.d.ts +0 -36
  35. package/ts/customers/changempin.js +0 -133
  36. package/ts/customers/createcustomerreference.d.ts +0 -43
  37. package/ts/customers/createcustomerreference.js +0 -226
  38. package/ts/customers/deleteprofile.d.ts +0 -35
  39. package/ts/customers/deleteprofile.js +0 -120
  40. package/ts/customers/disablempin.d.ts +0 -34
  41. package/ts/customers/disablempin.js +0 -104
  42. package/ts/customers/fetchrcprofile.d.ts +0 -45
  43. package/ts/customers/fetchrcprofile.js +0 -271
  44. package/ts/customers/forgotmpin.d.ts +0 -35
  45. package/ts/customers/forgotmpin.js +0 -117
  46. package/ts/customers/forgotmpinverify.d.ts +0 -36
  47. package/ts/customers/forgotmpinverify.js +0 -133
  48. package/ts/customers/getbankaccountdetails.d.ts +0 -36
  49. package/ts/customers/getbankaccountdetails.js +0 -134
  50. package/ts/customers/getbasicinfo.d.ts +0 -56
  51. package/ts/customers/getbasicinfo.js +0 -323
  52. package/ts/customers/getcities.d.ts +0 -47
  53. package/ts/customers/getcities.js +0 -183
  54. package/ts/customers/getcustomerbyid.d.ts +0 -140
  55. package/ts/customers/getcustomerbyid.js +0 -1478
  56. package/ts/customers/getdashboard.d.ts +0 -88
  57. package/ts/customers/getdashboard.js +0 -574
  58. package/ts/customers/getdashboardmaincard.d.ts +0 -70
  59. package/ts/customers/getdashboardmaincard.js +0 -534
  60. package/ts/customers/getdocuments.d.ts +0 -36
  61. package/ts/customers/getdocuments.js +0 -134
  62. package/ts/customers/getlimit.d.ts +0 -37
  63. package/ts/customers/getlimit.js +0 -148
  64. package/ts/customers/getprofessionalinfo.d.ts +0 -54
  65. package/ts/customers/getprofessionalinfo.js +0 -286
  66. package/ts/customers/getprofile.d.ts +0 -54
  67. package/ts/customers/getprofile.js +0 -296
  68. package/ts/customers/getselfieetxnid.d.ts +0 -34
  69. package/ts/customers/getselfieetxnid.js +0 -104
  70. package/ts/customers/getstates.d.ts +0 -46
  71. package/ts/customers/getstates.js +0 -170
  72. package/ts/customers/getstep.d.ts +0 -69
  73. package/ts/customers/getstep.js +0 -406
  74. package/ts/customers/profilebasic.d.ts +0 -38
  75. package/ts/customers/profilebasic.js +0 -161
  76. package/ts/customers/profileupdatetnc.d.ts +0 -35
  77. package/ts/customers/profileupdatetnc.js +0 -117
  78. package/ts/customers/savebasicdetails.d.ts +0 -47
  79. package/ts/customers/savebasicdetails.js +0 -185
  80. package/ts/customers/saveunlocklimit.d.ts +0 -34
  81. package/ts/customers/saveunlocklimit.js +0 -104
  82. package/ts/customers/sendotp.d.ts +0 -38
  83. package/ts/customers/sendotp.js +0 -165
  84. package/ts/customers/sendotptoemail.d.ts +0 -35
  85. package/ts/customers/sendotptoemail.js +0 -117
  86. package/ts/customers/setmpin.d.ts +0 -36
  87. package/ts/customers/setmpin.js +0 -133
  88. package/ts/customers/step10.d.ts +0 -73
  89. package/ts/customers/step10.js +0 -459
  90. package/ts/customers/step7.d.ts +0 -68
  91. package/ts/customers/step7.js +0 -381
  92. package/ts/customers/step8.d.ts +0 -69
  93. package/ts/customers/step8.js +0 -395
  94. package/ts/customers/step9.d.ts +0 -75
  95. package/ts/customers/step9.js +0 -489
  96. package/ts/customers/stepstatic.d.ts +0 -66
  97. package/ts/customers/stepstatic.js +0 -354
  98. package/ts/customers/updatedob.d.ts +0 -35
  99. package/ts/customers/updatedob.js +0 -117
  100. package/ts/customers/updatelocstatus.d.ts +0 -36
  101. package/ts/customers/updatelocstatus.js +0 -133
  102. package/ts/customers/updatemobilesendotp.d.ts +0 -35
  103. package/ts/customers/updatemobilesendotp.js +0 -117
  104. package/ts/customers/updatemobileverifyotp.d.ts +0 -36
  105. package/ts/customers/updatemobileverifyotp.js +0 -133
  106. package/ts/customers/updateokyctxn.d.ts +0 -37
  107. package/ts/customers/updateokyctxn.js +0 -147
  108. package/ts/customers/updateselfieetxn.d.ts +0 -36
  109. package/ts/customers/updateselfieetxn.js +0 -133
  110. package/ts/customers/validatepan.d.ts +0 -45
  111. package/ts/customers/validatepan.js +0 -274
  112. package/ts/customers/verifympin.d.ts +0 -37
  113. package/ts/customers/verifympin.js +0 -149
  114. package/ts/customers/verifyotp.d.ts +0 -41
  115. package/ts/customers/verifyotp.js +0 -205
  116. package/ts/customers/verifyotptoemail.d.ts +0 -35
  117. package/ts/customers/verifyotptoemail.js +0 -117
  118. package/ts/customers.d.ts +0 -792
  119. package/ts/customers.js +0 -568
  120. package/ts/example.d.ts +0 -78
  121. package/ts/example.js +0 -199
  122. package/ts/loans/approveloan.d.ts +0 -68
  123. package/ts/loans/approveloan.js +0 -621
  124. package/ts/loans/banklist.d.ts +0 -37
  125. package/ts/loans/banklist.js +0 -148
  126. package/ts/loans/calculateemi.d.ts +0 -57
  127. package/ts/loans/calculateemi.js +0 -340
  128. package/ts/loans/creditlimit.d.ts +0 -51
  129. package/ts/loans/creditlimit.js +0 -381
  130. package/ts/loans/futurepaymentmoredetails.d.ts +0 -50
  131. package/ts/loans/futurepaymentmoredetails.js +0 -230
  132. package/ts/loans/getbilldetails.d.ts +0 -38
  133. package/ts/loans/getbilldetails.js +0 -161
  134. package/ts/loans/getcustomerloanstatus.d.ts +0 -34
  135. package/ts/loans/getcustomerloanstatus.js +0 -104
  136. package/ts/loans/getloanbyid.d.ts +0 -48
  137. package/ts/loans/getloanbyid.js +0 -318
  138. package/ts/loans/getpendingemiamount.d.ts +0 -34
  139. package/ts/loans/getpendingemiamount.js +0 -104
  140. package/ts/loans/getsummarystaticfields.d.ts +0 -80
  141. package/ts/loans/getsummarystaticfields.js +0 -700
  142. package/ts/loans/loansummary.d.ts +0 -66
  143. package/ts/loans/loansummary.js +0 -593
  144. package/ts/loans/paymentallocation.d.ts +0 -37
  145. package/ts/loans/paymentallocation.js +0 -147
  146. package/ts/loans/paymenthistory.d.ts +0 -47
  147. package/ts/loans/paymenthistory.js +0 -188
  148. package/ts/loans/restructureloan.d.ts +0 -36
  149. package/ts/loans/restructureloan.js +0 -133
  150. package/ts/loans/sendemail.d.ts +0 -35
  151. package/ts/loans/sendemail.js +0 -117
  152. package/ts/loans/sendnocemail.d.ts +0 -35
  153. package/ts/loans/sendnocemail.js +0 -117
  154. package/ts/loans/transactionlist.d.ts +0 -52
  155. package/ts/loans/transactionlist.js +0 -257
  156. package/ts/loans/updateinstallments.d.ts +0 -42
  157. package/ts/loans/updateinstallments.js +0 -226
  158. package/ts/loans/updateloan.d.ts +0 -39
  159. package/ts/loans/updateloan.js +0 -175
  160. package/ts/loans.d.ts +0 -280
  161. package/ts/loans.js +0 -204
  162. package/ts/payments.d.ts +0 -239
  163. package/ts/payments.js +0 -1117
  164. package/ts/stashcash/creditsc.d.ts +0 -54
  165. package/ts/stashcash/creditsc.js +0 -301
  166. package/ts/stashcash/debitsc.d.ts +0 -59
  167. package/ts/stashcash/debitsc.js +0 -380
  168. package/ts/stashcash/getscbalance.d.ts +0 -53
  169. package/ts/stashcash/getscbalance.js +0 -293
  170. package/ts/stashcash/getschistory.d.ts +0 -73
  171. package/ts/stashcash/getschistory.js +0 -479
  172. package/ts/stashcash/reversesc.d.ts +0 -52
  173. package/ts/stashcash/reversesc.js +0 -273
  174. package/ts/stashcash.d.ts +0 -84
  175. package/ts/stashcash.js +0 -64
package/ts/customers.js DELETED
@@ -1,568 +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.27.3
6
- // source: customers.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.customersClient = exports.customersService = exports.protobufPackage = void 0;
9
- /* eslint-disable */
10
- const grpc_js_1 = require("@grpc/grpc-js");
11
- const getbanklist_1 = require("./customers/aa/getbanklist");
12
- const initiate_1 = require("./customers/aa/initiate");
13
- const addaddress_1 = require("./customers/addaddress");
14
- const addbankaccountdetails_1 = require("./customers/addbankaccountdetails");
15
- const addgstnumber_1 = require("./customers/addgstnumber");
16
- const addmoredetails_1 = require("./customers/addmoredetails");
17
- const addsuspendedcustomer_1 = require("./customers/addsuspendedcustomer");
18
- const adduserapps_1 = require("./customers/adduserapps");
19
- const changempin_1 = require("./customers/changempin");
20
- const createcustomerreference_1 = require("./customers/createcustomerreference");
21
- const deleteprofile_1 = require("./customers/deleteprofile");
22
- const disablempin_1 = require("./customers/disablempin");
23
- const fetchrcprofile_1 = require("./customers/fetchrcprofile");
24
- const forgotmpin_1 = require("./customers/forgotmpin");
25
- const forgotmpinverify_1 = require("./customers/forgotmpinverify");
26
- const getbankaccountdetails_1 = require("./customers/getbankaccountdetails");
27
- const getbasicinfo_1 = require("./customers/getbasicinfo");
28
- const getcities_1 = require("./customers/getcities");
29
- const getcustomerbyid_1 = require("./customers/getcustomerbyid");
30
- const getdashboard_1 = require("./customers/getdashboard");
31
- const getdashboardmaincard_1 = require("./customers/getdashboardmaincard");
32
- const getdocuments_1 = require("./customers/getdocuments");
33
- const getlimit_1 = require("./customers/getlimit");
34
- const getprofessionalinfo_1 = require("./customers/getprofessionalinfo");
35
- const getprofile_1 = require("./customers/getprofile");
36
- const getselfieetxnid_1 = require("./customers/getselfieetxnid");
37
- const getstates_1 = require("./customers/getstates");
38
- const getstep_1 = require("./customers/getstep");
39
- const profilebasic_1 = require("./customers/profilebasic");
40
- const profileupdatetnc_1 = require("./customers/profileupdatetnc");
41
- const savebasicdetails_1 = require("./customers/savebasicdetails");
42
- const saveunlocklimit_1 = require("./customers/saveunlocklimit");
43
- const sendotp_1 = require("./customers/sendotp");
44
- const sendotptoemail_1 = require("./customers/sendotptoemail");
45
- const setmpin_1 = require("./customers/setmpin");
46
- const step10_1 = require("./customers/step10");
47
- const step7_1 = require("./customers/step7");
48
- const step8_1 = require("./customers/step8");
49
- const step9_1 = require("./customers/step9");
50
- const stepstatic_1 = require("./customers/stepstatic");
51
- const updatedob_1 = require("./customers/updatedob");
52
- const updatelocstatus_1 = require("./customers/updatelocstatus");
53
- const updatemobilesendotp_1 = require("./customers/updatemobilesendotp");
54
- const updatemobileverifyotp_1 = require("./customers/updatemobileverifyotp");
55
- const updateokyctxn_1 = require("./customers/updateokyctxn");
56
- const updateselfieetxn_1 = require("./customers/updateselfieetxn");
57
- const validatepan_1 = require("./customers/validatepan");
58
- const verifympin_1 = require("./customers/verifympin");
59
- const verifyotp_1 = require("./customers/verifyotp");
60
- const verifyotptoemail_1 = require("./customers/verifyotptoemail");
61
- exports.protobufPackage = "service";
62
- exports.customersService = {
63
- sendOtp: {
64
- path: "/service.customers/sendOtp",
65
- requestStream: false,
66
- responseStream: false,
67
- requestSerialize: (value) => Buffer.from(sendotp_1.sendOtpRequest.encode(value).finish()),
68
- requestDeserialize: (value) => sendotp_1.sendOtpRequest.decode(value),
69
- responseSerialize: (value) => Buffer.from(sendotp_1.sendOtpRespone.encode(value).finish()),
70
- responseDeserialize: (value) => sendotp_1.sendOtpRespone.decode(value),
71
- },
72
- verifyOtp: {
73
- path: "/service.customers/verifyOtp",
74
- requestStream: false,
75
- responseStream: false,
76
- requestSerialize: (value) => Buffer.from(verifyotp_1.verifyOtpReqeust.encode(value).finish()),
77
- requestDeserialize: (value) => verifyotp_1.verifyOtpReqeust.decode(value),
78
- responseSerialize: (value) => Buffer.from(verifyotp_1.verifyOtpResponse.encode(value).finish()),
79
- responseDeserialize: (value) => verifyotp_1.verifyOtpResponse.decode(value),
80
- },
81
- setmpin: {
82
- path: "/service.customers/setmpin",
83
- requestStream: false,
84
- responseStream: false,
85
- requestSerialize: (value) => Buffer.from(setmpin_1.setMpinRequest.encode(value).finish()),
86
- requestDeserialize: (value) => setmpin_1.setMpinRequest.decode(value),
87
- responseSerialize: (value) => Buffer.from(setmpin_1.setMpinResponse.encode(value).finish()),
88
- responseDeserialize: (value) => setmpin_1.setMpinResponse.decode(value),
89
- },
90
- verifyMpin: {
91
- path: "/service.customers/verifyMpin",
92
- requestStream: false,
93
- responseStream: false,
94
- requestSerialize: (value) => Buffer.from(verifympin_1.verifyMpinRequest.encode(value).finish()),
95
- requestDeserialize: (value) => verifympin_1.verifyMpinRequest.decode(value),
96
- responseSerialize: (value) => Buffer.from(verifympin_1.verifyMpinResponse.encode(value).finish()),
97
- responseDeserialize: (value) => verifympin_1.verifyMpinResponse.decode(value),
98
- },
99
- changeMpin: {
100
- path: "/service.customers/changeMpin",
101
- requestStream: false,
102
- responseStream: false,
103
- requestSerialize: (value) => Buffer.from(changempin_1.changeMpinRequest.encode(value).finish()),
104
- requestDeserialize: (value) => changempin_1.changeMpinRequest.decode(value),
105
- responseSerialize: (value) => Buffer.from(changempin_1.changeMpinResponse.encode(value).finish()),
106
- responseDeserialize: (value) => changempin_1.changeMpinResponse.decode(value),
107
- },
108
- forgotMpin: {
109
- path: "/service.customers/forgotMpin",
110
- requestStream: false,
111
- responseStream: false,
112
- requestSerialize: (value) => Buffer.from(forgotmpin_1.forgotMpinRequest.encode(value).finish()),
113
- requestDeserialize: (value) => forgotmpin_1.forgotMpinRequest.decode(value),
114
- responseSerialize: (value) => Buffer.from(forgotmpin_1.forgotMpinResponse.encode(value).finish()),
115
- responseDeserialize: (value) => forgotmpin_1.forgotMpinResponse.decode(value),
116
- },
117
- forgotMpinVerify: {
118
- path: "/service.customers/forgotMpinVerify",
119
- requestStream: false,
120
- responseStream: false,
121
- requestSerialize: (value) => Buffer.from(forgotmpinverify_1.forgotMpinVerifyRequest.encode(value).finish()),
122
- requestDeserialize: (value) => forgotmpinverify_1.forgotMpinVerifyRequest.decode(value),
123
- responseSerialize: (value) => Buffer.from(forgotmpinverify_1.forgotMpinVerifyResponse.encode(value).finish()),
124
- responseDeserialize: (value) => forgotmpinverify_1.forgotMpinVerifyResponse.decode(value),
125
- },
126
- profileUpdatetnc: {
127
- path: "/service.customers/profileUpdatetnc",
128
- requestStream: false,
129
- responseStream: false,
130
- requestSerialize: (value) => Buffer.from(profileupdatetnc_1.updateTncRequest.encode(value).finish()),
131
- requestDeserialize: (value) => profileupdatetnc_1.updateTncRequest.decode(value),
132
- responseSerialize: (value) => Buffer.from(profileupdatetnc_1.updateTncResponse.encode(value).finish()),
133
- responseDeserialize: (value) => profileupdatetnc_1.updateTncResponse.decode(value),
134
- },
135
- updateProfileBasic: {
136
- path: "/service.customers/updateProfileBasic",
137
- requestStream: false,
138
- responseStream: false,
139
- requestSerialize: (value) => Buffer.from(profilebasic_1.updateProfileBasicRequest.encode(value).finish()),
140
- requestDeserialize: (value) => profilebasic_1.updateProfileBasicRequest.decode(value),
141
- responseSerialize: (value) => Buffer.from(profilebasic_1.updateProfileBasicResponse.encode(value).finish()),
142
- responseDeserialize: (value) => profilebasic_1.updateProfileBasicResponse.decode(value),
143
- },
144
- getProfile: {
145
- path: "/service.customers/getProfile",
146
- requestStream: false,
147
- responseStream: false,
148
- requestSerialize: (value) => Buffer.from(getprofile_1.getCustomerProfileRequest.encode(value).finish()),
149
- requestDeserialize: (value) => getprofile_1.getCustomerProfileRequest.decode(value),
150
- responseSerialize: (value) => Buffer.from(getprofile_1.getCustomerProfileResponse.encode(value).finish()),
151
- responseDeserialize: (value) => getprofile_1.getCustomerProfileResponse.decode(value),
152
- },
153
- getStep: {
154
- path: "/service.customers/getStep",
155
- requestStream: false,
156
- responseStream: false,
157
- requestSerialize: (value) => Buffer.from(getstep_1.getstepRequest.encode(value).finish()),
158
- requestDeserialize: (value) => getstep_1.getstepRequest.decode(value),
159
- responseSerialize: (value) => Buffer.from(getstep_1.getstepResponse.encode(value).finish()),
160
- responseDeserialize: (value) => getstep_1.getstepResponse.decode(value),
161
- },
162
- saveBasicDetails: {
163
- path: "/service.customers/saveBasicDetails",
164
- requestStream: false,
165
- responseStream: false,
166
- requestSerialize: (value) => Buffer.from(savebasicdetails_1.saveBasicDetailsRequest.encode(value).finish()),
167
- requestDeserialize: (value) => savebasicdetails_1.saveBasicDetailsRequest.decode(value),
168
- responseSerialize: (value) => Buffer.from(savebasicdetails_1.saveBasicDetailsResponse.encode(value).finish()),
169
- responseDeserialize: (value) => savebasicdetails_1.saveBasicDetailsResponse.decode(value),
170
- },
171
- saveUnlockLimit: {
172
- path: "/service.customers/saveUnlockLimit",
173
- requestStream: false,
174
- responseStream: false,
175
- requestSerialize: (value) => Buffer.from(saveunlocklimit_1.saveUnlockLimitRequest.encode(value).finish()),
176
- requestDeserialize: (value) => saveunlocklimit_1.saveUnlockLimitRequest.decode(value),
177
- responseSerialize: (value) => Buffer.from(saveunlocklimit_1.saveUnlockLimitResponse.encode(value).finish()),
178
- responseDeserialize: (value) => saveunlocklimit_1.saveUnlockLimitResponse.decode(value),
179
- },
180
- step3: {
181
- path: "/service.customers/step3",
182
- requestStream: false,
183
- responseStream: false,
184
- requestSerialize: (value) => Buffer.from(stepstatic_1.stepstaticRequest.encode(value).finish()),
185
- requestDeserialize: (value) => stepstatic_1.stepstaticRequest.decode(value),
186
- responseSerialize: (value) => Buffer.from(stepstatic_1.stepstaticResponse.encode(value).finish()),
187
- responseDeserialize: (value) => stepstatic_1.stepstaticResponse.decode(value),
188
- },
189
- step4: {
190
- path: "/service.customers/step4",
191
- requestStream: false,
192
- responseStream: false,
193
- requestSerialize: (value) => Buffer.from(stepstatic_1.stepstaticRequest.encode(value).finish()),
194
- requestDeserialize: (value) => stepstatic_1.stepstaticRequest.decode(value),
195
- responseSerialize: (value) => Buffer.from(stepstatic_1.stepstaticResponse.encode(value).finish()),
196
- responseDeserialize: (value) => stepstatic_1.stepstaticResponse.decode(value),
197
- },
198
- step5: {
199
- path: "/service.customers/step5",
200
- requestStream: false,
201
- responseStream: false,
202
- requestSerialize: (value) => Buffer.from(stepstatic_1.stepstaticRequest.encode(value).finish()),
203
- requestDeserialize: (value) => stepstatic_1.stepstaticRequest.decode(value),
204
- responseSerialize: (value) => Buffer.from(stepstatic_1.stepstaticResponse.encode(value).finish()),
205
- responseDeserialize: (value) => stepstatic_1.stepstaticResponse.decode(value),
206
- },
207
- step6: {
208
- path: "/service.customers/step6",
209
- requestStream: false,
210
- responseStream: false,
211
- requestSerialize: (value) => Buffer.from(stepstatic_1.stepstaticRequest.encode(value).finish()),
212
- requestDeserialize: (value) => stepstatic_1.stepstaticRequest.decode(value),
213
- responseSerialize: (value) => Buffer.from(stepstatic_1.stepstaticResponse.encode(value).finish()),
214
- responseDeserialize: (value) => stepstatic_1.stepstaticResponse.decode(value),
215
- },
216
- step7: {
217
- path: "/service.customers/step7",
218
- requestStream: false,
219
- responseStream: false,
220
- requestSerialize: (value) => Buffer.from(step7_1.step7Request.encode(value).finish()),
221
- requestDeserialize: (value) => step7_1.step7Request.decode(value),
222
- responseSerialize: (value) => Buffer.from(step7_1.step7Response.encode(value).finish()),
223
- responseDeserialize: (value) => step7_1.step7Response.decode(value),
224
- },
225
- step8: {
226
- path: "/service.customers/step8",
227
- requestStream: false,
228
- responseStream: false,
229
- requestSerialize: (value) => Buffer.from(step8_1.step8Request.encode(value).finish()),
230
- requestDeserialize: (value) => step8_1.step8Request.decode(value),
231
- responseSerialize: (value) => Buffer.from(step8_1.step8Response.encode(value).finish()),
232
- responseDeserialize: (value) => step8_1.step8Response.decode(value),
233
- },
234
- step9: {
235
- path: "/service.customers/step9",
236
- requestStream: false,
237
- responseStream: false,
238
- requestSerialize: (value) => Buffer.from(step9_1.step9Request.encode(value).finish()),
239
- requestDeserialize: (value) => step9_1.step9Request.decode(value),
240
- responseSerialize: (value) => Buffer.from(step9_1.step9Response.encode(value).finish()),
241
- responseDeserialize: (value) => step9_1.step9Response.decode(value),
242
- },
243
- step10: {
244
- path: "/service.customers/step10",
245
- requestStream: false,
246
- responseStream: false,
247
- requestSerialize: (value) => Buffer.from(step10_1.step10Request.encode(value).finish()),
248
- requestDeserialize: (value) => step10_1.step10Request.decode(value),
249
- responseSerialize: (value) => Buffer.from(step10_1.step10Response.encode(value).finish()),
250
- responseDeserialize: (value) => step10_1.step10Response.decode(value),
251
- },
252
- step11: {
253
- path: "/service.customers/step11",
254
- requestStream: false,
255
- responseStream: false,
256
- requestSerialize: (value) => Buffer.from(stepstatic_1.stepstaticRequest.encode(value).finish()),
257
- requestDeserialize: (value) => stepstatic_1.stepstaticRequest.decode(value),
258
- responseSerialize: (value) => Buffer.from(stepstatic_1.stepstaticRequest.encode(value).finish()),
259
- responseDeserialize: (value) => stepstatic_1.stepstaticRequest.decode(value),
260
- },
261
- sendOtptoPersonalEmail: {
262
- path: "/service.customers/sendOtptoPersonalEmail",
263
- requestStream: false,
264
- responseStream: false,
265
- requestSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpRequest.encode(value).finish()),
266
- requestDeserialize: (value) => sendotptoemail_1.sendEmailOtpRequest.decode(value),
267
- responseSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpResponse.encode(value).finish()),
268
- responseDeserialize: (value) => sendotptoemail_1.sendEmailOtpResponse.decode(value),
269
- },
270
- verifyOtptoPersonalEmail: {
271
- path: "/service.customers/verifyOtptoPersonalEmail",
272
- requestStream: false,
273
- responseStream: false,
274
- requestSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpRequest.encode(value).finish()),
275
- requestDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpRequest.decode(value),
276
- responseSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpResponse.encode(value).finish()),
277
- responseDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpResponse.decode(value),
278
- },
279
- getCustomerById: {
280
- path: "/service.customers/getCustomerById",
281
- requestStream: false,
282
- responseStream: false,
283
- requestSerialize: (value) => Buffer.from(getcustomerbyid_1.getCustomerByIdRequest.encode(value).finish()),
284
- requestDeserialize: (value) => getcustomerbyid_1.getCustomerByIdRequest.decode(value),
285
- responseSerialize: (value) => Buffer.from(getcustomerbyid_1.getCustomerByIdResponse.encode(value).finish()),
286
- responseDeserialize: (value) => getcustomerbyid_1.getCustomerByIdResponse.decode(value),
287
- },
288
- getDashboard: {
289
- path: "/service.customers/getDashboard",
290
- requestStream: false,
291
- responseStream: false,
292
- requestSerialize: (value) => Buffer.from(getdashboard_1.getDashboardRequest.encode(value).finish()),
293
- requestDeserialize: (value) => getdashboard_1.getDashboardRequest.decode(value),
294
- responseSerialize: (value) => Buffer.from(getdashboard_1.getDashboardResponse.encode(value).finish()),
295
- responseDeserialize: (value) => getdashboard_1.getDashboardResponse.decode(value),
296
- },
297
- getDashboardMainCard: {
298
- path: "/service.customers/getDashboardMainCard",
299
- requestStream: false,
300
- responseStream: false,
301
- requestSerialize: (value) => Buffer.from(getdashboardmaincard_1.getDashboardMainCardRequest.encode(value).finish()),
302
- requestDeserialize: (value) => getdashboardmaincard_1.getDashboardMainCardRequest.decode(value),
303
- responseSerialize: (value) => Buffer.from(getdashboardmaincard_1.getDashboardMainCardResponse.encode(value).finish()),
304
- responseDeserialize: (value) => getdashboardmaincard_1.getDashboardMainCardResponse.decode(value),
305
- },
306
- addBankAccountDetails: {
307
- path: "/service.customers/addBankAccountDetails",
308
- requestStream: false,
309
- responseStream: false,
310
- requestSerialize: (value) => Buffer.from(addbankaccountdetails_1.addBankAccountDetailsRequest.encode(value).finish()),
311
- requestDeserialize: (value) => addbankaccountdetails_1.addBankAccountDetailsRequest.decode(value),
312
- responseSerialize: (value) => Buffer.from(addbankaccountdetails_1.addBankAccountDetailsResponse.encode(value).finish()),
313
- responseDeserialize: (value) => addbankaccountdetails_1.addBankAccountDetailsResponse.decode(value),
314
- },
315
- getBankAccountDetails: {
316
- path: "/service.customers/getBankAccountDetails",
317
- requestStream: false,
318
- responseStream: false,
319
- requestSerialize: (value) => Buffer.from(getbankaccountdetails_1.getBankAccountDetailsRequest.encode(value).finish()),
320
- requestDeserialize: (value) => getbankaccountdetails_1.getBankAccountDetailsRequest.decode(value),
321
- responseSerialize: (value) => Buffer.from(getbankaccountdetails_1.getBankAccountDetailsResponse.encode(value).finish()),
322
- responseDeserialize: (value) => getbankaccountdetails_1.getBankAccountDetailsResponse.decode(value),
323
- },
324
- getBasicInfo: {
325
- path: "/service.customers/getBasicInfo",
326
- requestStream: false,
327
- responseStream: false,
328
- requestSerialize: (value) => Buffer.from(getbasicinfo_1.getBasicInfoRequest.encode(value).finish()),
329
- requestDeserialize: (value) => getbasicinfo_1.getBasicInfoRequest.decode(value),
330
- responseSerialize: (value) => Buffer.from(getbasicinfo_1.getBasicInfoResponse.encode(value).finish()),
331
- responseDeserialize: (value) => getbasicinfo_1.getBasicInfoResponse.decode(value),
332
- },
333
- getProfessionalInfo: {
334
- path: "/service.customers/getProfessionalInfo",
335
- requestStream: false,
336
- responseStream: false,
337
- requestSerialize: (value) => Buffer.from(getprofessionalinfo_1.getProfessionalInfoRequest.encode(value).finish()),
338
- requestDeserialize: (value) => getprofessionalinfo_1.getProfessionalInfoRequest.decode(value),
339
- responseSerialize: (value) => Buffer.from(getprofessionalinfo_1.getProfessionalInfoResponse.encode(value).finish()),
340
- responseDeserialize: (value) => getprofessionalinfo_1.getProfessionalInfoResponse.decode(value),
341
- },
342
- createCustomerReference: {
343
- path: "/service.customers/createCustomerReference",
344
- requestStream: false,
345
- responseStream: false,
346
- requestSerialize: (value) => Buffer.from(createcustomerreference_1.createCustomerReferenceRequest.encode(value).finish()),
347
- requestDeserialize: (value) => createcustomerreference_1.createCustomerReferenceRequest.decode(value),
348
- responseSerialize: (value) => Buffer.from(createcustomerreference_1.createCustomerReferenceResponse.encode(value).finish()),
349
- responseDeserialize: (value) => createcustomerreference_1.createCustomerReferenceResponse.decode(value),
350
- },
351
- sendOtptoProfessionalEmail: {
352
- path: "/service.customers/sendOtptoProfessionalEmail",
353
- requestStream: false,
354
- responseStream: false,
355
- requestSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpRequest.encode(value).finish()),
356
- requestDeserialize: (value) => sendotptoemail_1.sendEmailOtpRequest.decode(value),
357
- responseSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpResponse.encode(value).finish()),
358
- responseDeserialize: (value) => sendotptoemail_1.sendEmailOtpResponse.decode(value),
359
- },
360
- verifyOtptoProfessionalEmail: {
361
- path: "/service.customers/verifyOtptoProfessionalEmail",
362
- requestStream: false,
363
- responseStream: false,
364
- requestSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpRequest.encode(value).finish()),
365
- requestDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpRequest.decode(value),
366
- responseSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpResponse.encode(value).finish()),
367
- responseDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpResponse.decode(value),
368
- },
369
- getAllStates: {
370
- path: "/service.customers/getAllStates",
371
- requestStream: false,
372
- responseStream: false,
373
- requestSerialize: (value) => Buffer.from(getstates_1.getAllStatesRequest.encode(value).finish()),
374
- requestDeserialize: (value) => getstates_1.getAllStatesRequest.decode(value),
375
- responseSerialize: (value) => Buffer.from(getstates_1.getAllStatesResponse.encode(value).finish()),
376
- responseDeserialize: (value) => getstates_1.getAllStatesResponse.decode(value),
377
- },
378
- getCitiesByStateId: {
379
- path: "/service.customers/getCitiesByStateId",
380
- requestStream: false,
381
- responseStream: false,
382
- requestSerialize: (value) => Buffer.from(getcities_1.getCitiesRequest.encode(value).finish()),
383
- requestDeserialize: (value) => getcities_1.getCitiesRequest.decode(value),
384
- responseSerialize: (value) => Buffer.from(getcities_1.getCitiesResponse.encode(value).finish()),
385
- responseDeserialize: (value) => getcities_1.getCitiesResponse.decode(value),
386
- },
387
- getDocumentList: {
388
- path: "/service.customers/getDocumentList",
389
- requestStream: false,
390
- responseStream: false,
391
- requestSerialize: (value) => Buffer.from(getdocuments_1.getDocumentsRequest.encode(value).finish()),
392
- requestDeserialize: (value) => getdocuments_1.getDocumentsRequest.decode(value),
393
- responseSerialize: (value) => Buffer.from(getdocuments_1.getDocumentsResponse.encode(value).finish()),
394
- responseDeserialize: (value) => getdocuments_1.getDocumentsResponse.decode(value),
395
- },
396
- updateOkycTxn: {
397
- path: "/service.customers/updateOkycTxn",
398
- requestStream: false,
399
- responseStream: false,
400
- requestSerialize: (value) => Buffer.from(updateokyctxn_1.updateOkycTxnRequest.encode(value).finish()),
401
- requestDeserialize: (value) => updateokyctxn_1.updateOkycTxnRequest.decode(value),
402
- responseSerialize: (value) => Buffer.from(updateokyctxn_1.updateOkycTxnResponse.encode(value).finish()),
403
- responseDeserialize: (value) => updateokyctxn_1.updateOkycTxnResponse.decode(value),
404
- },
405
- addAddress: {
406
- path: "/service.customers/addAddress",
407
- requestStream: false,
408
- responseStream: false,
409
- requestSerialize: (value) => Buffer.from(addaddress_1.addAddressRequest.encode(value).finish()),
410
- requestDeserialize: (value) => addaddress_1.addAddressRequest.decode(value),
411
- responseSerialize: (value) => Buffer.from(addaddress_1.addAddressResponse.encode(value).finish()),
412
- responseDeserialize: (value) => addaddress_1.addAddressResponse.decode(value),
413
- },
414
- updateDob: {
415
- path: "/service.customers/updateDob",
416
- requestStream: false,
417
- responseStream: false,
418
- requestSerialize: (value) => Buffer.from(updatedob_1.updateDOBRequest.encode(value).finish()),
419
- requestDeserialize: (value) => updatedob_1.updateDOBRequest.decode(value),
420
- responseSerialize: (value) => Buffer.from(updatedob_1.updateDOBResponse.encode(value).finish()),
421
- responseDeserialize: (value) => updatedob_1.updateDOBResponse.decode(value),
422
- },
423
- validatePan: {
424
- path: "/service.customers/validatePan",
425
- requestStream: false,
426
- responseStream: false,
427
- requestSerialize: (value) => Buffer.from(validatepan_1.validatePanRequest.encode(value).finish()),
428
- requestDeserialize: (value) => validatepan_1.validatePanRequest.decode(value),
429
- responseSerialize: (value) => Buffer.from(validatepan_1.validatePanResponse.encode(value).finish()),
430
- responseDeserialize: (value) => validatepan_1.validatePanResponse.decode(value),
431
- },
432
- deleteProfile: {
433
- path: "/service.customers/deleteProfile",
434
- requestStream: false,
435
- responseStream: false,
436
- requestSerialize: (value) => Buffer.from(deleteprofile_1.deleteProfileRequest.encode(value).finish()),
437
- requestDeserialize: (value) => deleteprofile_1.deleteProfileRequest.decode(value),
438
- responseSerialize: (value) => Buffer.from(deleteprofile_1.deleteProfileResponse.encode(value).finish()),
439
- responseDeserialize: (value) => deleteprofile_1.deleteProfileResponse.decode(value),
440
- },
441
- getBankList: {
442
- path: "/service.customers/getBankList",
443
- requestStream: false,
444
- responseStream: false,
445
- requestSerialize: (value) => Buffer.from(getbanklist_1.getBankListRequest.encode(value).finish()),
446
- requestDeserialize: (value) => getbanklist_1.getBankListRequest.decode(value),
447
- responseSerialize: (value) => Buffer.from(getbanklist_1.getBankListResponse.encode(value).finish()),
448
- responseDeserialize: (value) => getbanklist_1.getBankListResponse.decode(value),
449
- },
450
- addSuspendedCustomer: {
451
- path: "/service.customers/addSuspendedCustomer",
452
- requestStream: false,
453
- responseStream: false,
454
- requestSerialize: (value) => Buffer.from(addsuspendedcustomer_1.addSuspendedCustomerRequest.encode(value).finish()),
455
- requestDeserialize: (value) => addsuspendedcustomer_1.addSuspendedCustomerRequest.decode(value),
456
- responseSerialize: (value) => Buffer.from(addsuspendedcustomer_1.addSuspendedCustomerResponse.encode(value).finish()),
457
- responseDeserialize: (value) => addsuspendedcustomer_1.addSuspendedCustomerResponse.decode(value),
458
- },
459
- updatelocStatus: {
460
- path: "/service.customers/updatelocStatus",
461
- requestStream: false,
462
- responseStream: false,
463
- requestSerialize: (value) => Buffer.from(updatelocstatus_1.locStatusRequest.encode(value).finish()),
464
- requestDeserialize: (value) => updatelocstatus_1.locStatusRequest.decode(value),
465
- responseSerialize: (value) => Buffer.from(updatelocstatus_1.locStatusResponse.encode(value).finish()),
466
- responseDeserialize: (value) => updatelocstatus_1.locStatusResponse.decode(value),
467
- },
468
- initiateRequest: {
469
- path: "/service.customers/initiateRequest",
470
- requestStream: false,
471
- responseStream: false,
472
- requestSerialize: (value) => Buffer.from(initiate_1.initiateRequest.encode(value).finish()),
473
- requestDeserialize: (value) => initiate_1.initiateRequest.decode(value),
474
- responseSerialize: (value) => Buffer.from(initiate_1.initiateResponse.encode(value).finish()),
475
- responseDeserialize: (value) => initiate_1.initiateResponse.decode(value),
476
- },
477
- addUserApps: {
478
- path: "/service.customers/addUserApps",
479
- requestStream: false,
480
- responseStream: false,
481
- requestSerialize: (value) => Buffer.from(adduserapps_1.AddUserAppsRequest.encode(value).finish()),
482
- requestDeserialize: (value) => adduserapps_1.AddUserAppsRequest.decode(value),
483
- responseSerialize: (value) => Buffer.from(adduserapps_1.AddUserAppsResponse.encode(value).finish()),
484
- responseDeserialize: (value) => adduserapps_1.AddUserAppsResponse.decode(value),
485
- },
486
- fetchRcProfile: {
487
- path: "/service.customers/fetchRCProfile",
488
- requestStream: false,
489
- responseStream: false,
490
- requestSerialize: (value) => Buffer.from(fetchrcprofile_1.fetchRCProfileRequest.encode(value).finish()),
491
- requestDeserialize: (value) => fetchrcprofile_1.fetchRCProfileRequest.decode(value),
492
- responseSerialize: (value) => Buffer.from(fetchrcprofile_1.fetchRCProfileResponse.encode(value).finish()),
493
- responseDeserialize: (value) => fetchrcprofile_1.fetchRCProfileResponse.decode(value),
494
- },
495
- disablempin: {
496
- path: "/service.customers/disablempin",
497
- requestStream: false,
498
- responseStream: false,
499
- requestSerialize: (value) => Buffer.from(disablempin_1.disableMpinRequest.encode(value).finish()),
500
- requestDeserialize: (value) => disablempin_1.disableMpinRequest.decode(value),
501
- responseSerialize: (value) => Buffer.from(disablempin_1.disableMpinResponse.encode(value).finish()),
502
- responseDeserialize: (value) => disablempin_1.disableMpinResponse.decode(value),
503
- },
504
- updateMobileSendOtp: {
505
- path: "/service.customers/updateMobileSendOtp",
506
- requestStream: false,
507
- responseStream: false,
508
- requestSerialize: (value) => Buffer.from(updatemobilesendotp_1.updateMobileSendOtpRequest.encode(value).finish()),
509
- requestDeserialize: (value) => updatemobilesendotp_1.updateMobileSendOtpRequest.decode(value),
510
- responseSerialize: (value) => Buffer.from(updatemobilesendotp_1.updateMobileSendOtpResponse.encode(value).finish()),
511
- responseDeserialize: (value) => updatemobilesendotp_1.updateMobileSendOtpResponse.decode(value),
512
- },
513
- updatemobileverifyotp: {
514
- path: "/service.customers/updatemobileverifyotp",
515
- requestStream: false,
516
- responseStream: false,
517
- requestSerialize: (value) => Buffer.from(updatemobileverifyotp_1.updateMobileVerifyOtpRequest.encode(value).finish()),
518
- requestDeserialize: (value) => updatemobileverifyotp_1.updateMobileVerifyOtpRequest.decode(value),
519
- responseSerialize: (value) => Buffer.from(updatemobileverifyotp_1.updateMobileVerifyOtpResponse.encode(value).finish()),
520
- responseDeserialize: (value) => updatemobileverifyotp_1.updateMobileVerifyOtpResponse.decode(value),
521
- },
522
- addGstNumber: {
523
- path: "/service.customers/addGstNumber",
524
- requestStream: false,
525
- responseStream: false,
526
- requestSerialize: (value) => Buffer.from(addgstnumber_1.addGstNumberRequest.encode(value).finish()),
527
- requestDeserialize: (value) => addgstnumber_1.addGstNumberRequest.decode(value),
528
- responseSerialize: (value) => Buffer.from(addgstnumber_1.addGstNumberResponse.encode(value).finish()),
529
- responseDeserialize: (value) => addgstnumber_1.addGstNumberResponse.decode(value),
530
- },
531
- getSelfieeTxnId: {
532
- path: "/service.customers/getSelfieeTxnId",
533
- requestStream: false,
534
- responseStream: false,
535
- requestSerialize: (value) => Buffer.from(getselfieetxnid_1.getSelfieeTxnIdRequest.encode(value).finish()),
536
- requestDeserialize: (value) => getselfieetxnid_1.getSelfieeTxnIdRequest.decode(value),
537
- responseSerialize: (value) => Buffer.from(getselfieetxnid_1.getSelfieeTxnIdResponse.encode(value).finish()),
538
- responseDeserialize: (value) => getselfieetxnid_1.getSelfieeTxnIdResponse.decode(value),
539
- },
540
- updateSelfieeTxn: {
541
- path: "/service.customers/updateSelfieeTxn",
542
- requestStream: false,
543
- responseStream: false,
544
- requestSerialize: (value) => Buffer.from(updateselfieetxn_1.updateSelfieeTxnRequest.encode(value).finish()),
545
- requestDeserialize: (value) => updateselfieetxn_1.updateSelfieeTxnRequest.decode(value),
546
- responseSerialize: (value) => Buffer.from(updateselfieetxn_1.updateSelfieeTxnResponse.encode(value).finish()),
547
- responseDeserialize: (value) => updateselfieetxn_1.updateSelfieeTxnResponse.decode(value),
548
- },
549
- getLimit: {
550
- path: "/service.customers/getLimit",
551
- requestStream: false,
552
- responseStream: false,
553
- requestSerialize: (value) => Buffer.from(getlimit_1.getLimitRequest.encode(value).finish()),
554
- requestDeserialize: (value) => getlimit_1.getLimitRequest.decode(value),
555
- responseSerialize: (value) => Buffer.from(getlimit_1.getLimitResponse.encode(value).finish()),
556
- responseDeserialize: (value) => getlimit_1.getLimitResponse.decode(value),
557
- },
558
- addMoreDetails: {
559
- path: "/service.customers/addMoreDetails",
560
- requestStream: false,
561
- responseStream: false,
562
- requestSerialize: (value) => Buffer.from(addmoredetails_1.addMoreDetailsRequest.encode(value).finish()),
563
- requestDeserialize: (value) => addmoredetails_1.addMoreDetailsRequest.decode(value),
564
- responseSerialize: (value) => Buffer.from(addmoredetails_1.addMoreDetailsResponse.encode(value).finish()),
565
- responseDeserialize: (value) => addmoredetails_1.addMoreDetailsResponse.decode(value),
566
- },
567
- };
568
- exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
package/ts/example.d.ts DELETED
@@ -1,78 +0,0 @@
1
- import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
2
- import _m0 from "protobufjs/minimal";
3
- export declare const protobufPackage = "service";
4
- export interface ExampleRequest {
5
- name: string;
6
- id: number;
7
- }
8
- export interface ExampleResponse {
9
- message: string;
10
- id: number;
11
- name: string;
12
- status: string;
13
- }
14
- export declare const ExampleRequest: {
15
- encode(message: ExampleRequest, writer?: _m0.Writer): _m0.Writer;
16
- decode(input: _m0.Reader | Uint8Array, length?: number): ExampleRequest;
17
- fromJSON(object: any): ExampleRequest;
18
- toJSON(message: ExampleRequest): unknown;
19
- create<I extends Exact<DeepPartial<ExampleRequest>, I>>(base?: I): ExampleRequest;
20
- fromPartial<I extends Exact<DeepPartial<ExampleRequest>, I>>(object: I): ExampleRequest;
21
- };
22
- export declare const ExampleResponse: {
23
- encode(message: ExampleResponse, writer?: _m0.Writer): _m0.Writer;
24
- decode(input: _m0.Reader | Uint8Array, length?: number): ExampleResponse;
25
- fromJSON(object: any): ExampleResponse;
26
- toJSON(message: ExampleResponse): unknown;
27
- create<I extends Exact<DeepPartial<ExampleResponse>, I>>(base?: I): ExampleResponse;
28
- fromPartial<I extends Exact<DeepPartial<ExampleResponse>, I>>(object: I): ExampleResponse;
29
- };
30
- export type ExampleService = typeof ExampleService;
31
- export declare const ExampleService: {
32
- readonly getExample: {
33
- readonly path: "/service.Example/GetExample";
34
- readonly requestStream: false;
35
- readonly responseStream: false;
36
- readonly requestSerialize: (value: ExampleRequest) => Buffer;
37
- readonly requestDeserialize: (value: Buffer) => ExampleRequest;
38
- readonly responseSerialize: (value: ExampleResponse) => Buffer;
39
- readonly responseDeserialize: (value: Buffer) => ExampleResponse;
40
- };
41
- readonly setExample: {
42
- readonly path: "/service.Example/SetExample";
43
- readonly requestStream: false;
44
- readonly responseStream: false;
45
- readonly requestSerialize: (value: ExampleRequest) => Buffer;
46
- readonly requestDeserialize: (value: Buffer) => ExampleRequest;
47
- readonly responseSerialize: (value: ExampleResponse) => Buffer;
48
- readonly responseDeserialize: (value: Buffer) => ExampleResponse;
49
- };
50
- };
51
- export interface ExampleServer extends UntypedServiceImplementation {
52
- getExample: handleUnaryCall<ExampleRequest, ExampleResponse>;
53
- setExample: handleUnaryCall<ExampleRequest, ExampleResponse>;
54
- }
55
- export interface ExampleClient extends Client {
56
- getExample(request: ExampleRequest, callback: (error: ServiceError | null, response: ExampleResponse) => void): ClientUnaryCall;
57
- getExample(request: ExampleRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ExampleResponse) => void): ClientUnaryCall;
58
- getExample(request: ExampleRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ExampleResponse) => void): ClientUnaryCall;
59
- setExample(request: ExampleRequest, callback: (error: ServiceError | null, response: ExampleResponse) => void): ClientUnaryCall;
60
- setExample(request: ExampleRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ExampleResponse) => void): ClientUnaryCall;
61
- setExample(request: ExampleRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ExampleResponse) => void): ClientUnaryCall;
62
- }
63
- export declare const ExampleClient: {
64
- new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): ExampleClient;
65
- service: typeof ExampleService;
66
- serviceName: string;
67
- };
68
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
69
- 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 {} ? {
70
- [K in keyof T]?: DeepPartial<T[K]>;
71
- } : Partial<T>;
72
- type KeysOfUnion<T> = T extends T ? keyof T : never;
73
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
74
- [K in keyof P]: Exact<P[K], I[K]>;
75
- } & {
76
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
77
- };
78
- export {};