@stashfin/grpc 1.2.127 → 1.2.130

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 (118) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getbureau.d.ts +157 -0
  4. package/ts/bureau/getbureau.js +1376 -0
  5. package/ts/bureau/getdemogs.js +1 -1
  6. package/ts/bureau/getreport.d.ts +1 -1
  7. package/ts/bureau/getreport.js +9 -9
  8. package/ts/bureau.js +1 -1
  9. package/ts/colender/disburseLoan.js +1 -1
  10. package/ts/colender/forecloseLoan.js +1 -1
  11. package/ts/colender/repayLoan.js +1 -1
  12. package/ts/colender.js +1 -1
  13. package/ts/customers/aa/getbanklist.js +1 -1
  14. package/ts/customers/aa/initiate.js +1 -1
  15. package/ts/customers/addaddress.js +1 -1
  16. package/ts/customers/addbankaccountdetails.js +1 -1
  17. package/ts/customers/addgstnumber.js +1 -1
  18. package/ts/customers/addsuspendedcustomer.js +1 -1
  19. package/ts/customers/adduserapps.js +1 -1
  20. package/ts/customers/changempin.js +1 -1
  21. package/ts/customers/createcustomerreference.js +1 -1
  22. package/ts/customers/deleteprofile.js +1 -1
  23. package/ts/customers/disablempin.js +1 -1
  24. package/ts/customers/fetchrcprofile.js +1 -1
  25. package/ts/customers/forgotmpin.js +1 -1
  26. package/ts/customers/forgotmpinotp.js +2 -2
  27. package/ts/customers/forgotmpinverify.js +1 -1
  28. package/ts/customers/getbankaccountdetails.js +1 -1
  29. package/ts/customers/getbanklist.d.ts +48 -0
  30. package/ts/customers/getbanklist.js +198 -0
  31. package/ts/customers/getbasicinfo.js +1 -1
  32. package/ts/customers/getcities.js +1 -1
  33. package/ts/customers/getcustomerbyid.js +1 -1
  34. package/ts/customers/getdashboard.js +1 -1
  35. package/ts/customers/getdashboardmaincard.js +1 -1
  36. package/ts/customers/getdocuments.js +1 -1
  37. package/ts/customers/getkycweburl.js +2 -2
  38. package/ts/customers/getprofessionalinfo.js +1 -1
  39. package/ts/customers/getprofile.js +1 -1
  40. package/ts/customers/getstates.js +1 -1
  41. package/ts/customers/getstep.js +1 -1
  42. package/ts/customers/profilebasic.js +1 -1
  43. package/ts/customers/profileupdatetnc.js +1 -1
  44. package/ts/customers/resetmpin.js +2 -2
  45. package/ts/customers/savebasicdetails.js +1 -1
  46. package/ts/customers/saveunlocklimit.js +1 -1
  47. package/ts/customers/sendemailtoken.js +2 -2
  48. package/ts/customers/sendotp.js +1 -1
  49. package/ts/customers/sendotptoemail.js +1 -1
  50. package/ts/customers/setmpin.js +1 -1
  51. package/ts/customers/step1.d.ts +71 -0
  52. package/ts/customers/step1.js +423 -0
  53. package/ts/customers/step10.js +1 -1
  54. package/ts/customers/step2.d.ts +67 -0
  55. package/ts/customers/step2.js +366 -0
  56. package/ts/customers/step7.js +1 -1
  57. package/ts/customers/step8.js +1 -1
  58. package/ts/customers/step9.js +1 -1
  59. package/ts/customers/stepstatic.js +1 -1
  60. package/ts/customers/updatedigilockertxn.js +2 -2
  61. package/ts/customers/updatedob.js +1 -1
  62. package/ts/customers/updatehypervergetxn.js +2 -2
  63. package/ts/customers/updatelocdisabled.d.ts +35 -0
  64. package/ts/customers/updatelocdisabled.js +117 -0
  65. package/ts/customers/updatelocstatus.js +1 -1
  66. package/ts/customers/updatemobile.d.ts +35 -0
  67. package/ts/customers/updatemobile.js +117 -0
  68. package/ts/customers/updatemobilesendotp.js +1 -1
  69. package/ts/customers/updatemobileverifyotp.js +1 -1
  70. package/ts/customers/updateokyctxn.js +1 -1
  71. package/ts/customers/validatepan.js +1 -1
  72. package/ts/customers/verifyemail.js +2 -2
  73. package/ts/customers/verifympin.js +1 -1
  74. package/ts/customers/verifyotp.js +1 -1
  75. package/ts/customers/verifyotptoemail.js +1 -1
  76. package/ts/customers.js +1 -1
  77. package/ts/example.js +1 -1
  78. package/ts/google/protobuf/timestamp.js +1 -1
  79. package/ts/loans/approveloan.js +1 -1
  80. package/ts/loans/banklist.js +1 -1
  81. package/ts/loans/calculateemi.d.ts +5 -0
  82. package/ts/loans/calculateemi.js +83 -2
  83. package/ts/loans/creditlimit.js +1 -1
  84. package/ts/loans/futurepaymentmoredetails.js +1 -1
  85. package/ts/loans/getcustomerloanstatus.js +1 -1
  86. package/ts/loans/getloanbyid.d.ts +53 -0
  87. package/ts/loans/getloanbyid.js +393 -0
  88. package/ts/loans/getpendingemiamount.js +1 -1
  89. package/ts/loans/getstaticfields.d.ts +86 -0
  90. package/ts/loans/getstaticfields.js +801 -0
  91. package/ts/loans/getsummarystaticfields.js +1 -1
  92. package/ts/loans/loansummary.js +1 -1
  93. package/ts/loans/paymentallocation.js +1 -1
  94. package/ts/loans/paymenthistory.js +1 -1
  95. package/ts/loans/restructureloan.js +1 -1
  96. package/ts/loans/sendemail.js +1 -1
  97. package/ts/loans/sendnocemail.js +1 -1
  98. package/ts/loans/transactionlist.js +1 -1
  99. package/ts/loans/updateinstallments.js +1 -1
  100. package/ts/loans/updateloan.js +1 -1
  101. package/ts/loans.d.ts +14 -0
  102. package/ts/loans.js +11 -1
  103. package/ts/payments.d.ts +211 -42
  104. package/ts/payments.js +1092 -29
  105. package/ts/stashcash/creditsc.js +1 -1
  106. package/ts/stashcash/debitsc.js +1 -1
  107. package/ts/stashcash/getscbalance.js +1 -1
  108. package/ts/stashcash/getschistory.js +1 -1
  109. package/ts/stashcash/reversesc.js +1 -1
  110. package/ts/stashcash.js +1 -1
  111. package/ts/payments/checkpaymentstatus.d.ts +0 -51
  112. package/ts/payments/checkpaymentstatus.js +0 -259
  113. package/ts/payments/getpaymentoptions.d.ts +0 -50
  114. package/ts/payments/getpaymentoptions.js +0 -233
  115. package/ts/payments/initiatepayment.d.ts +0 -67
  116. package/ts/payments/initiatepayment.js +0 -381
  117. package/ts/payments/nachregistration.d.ts +0 -51
  118. package/ts/payments/nachregistration.js +0 -257
@@ -1,257 +0,0 @@
1
- "use strict";
2
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
- // versions:
4
- // protoc-gen-ts_proto v1.180.0
5
- // protoc v5.27.3
6
- // source: payments/nachregistration.proto
7
- var __importDefault = (this && this.__importDefault) || function (mod) {
8
- return (mod && mod.__esModule) ? mod : { "default": mod };
9
- };
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.response_Data = exports.response = exports.request = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const long_1 = __importDefault(require("long"));
14
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
- exports.protobufPackage = "payments.nachregistration";
16
- function createBaserequest() {
17
- return { customer_id: 0, loan_id: 0, client_id: "", mandate_type: "" };
18
- }
19
- exports.request = {
20
- encode(message, writer = minimal_1.default.Writer.create()) {
21
- if (message.customer_id !== 0) {
22
- writer.uint32(8).int64(message.customer_id);
23
- }
24
- if (message.loan_id !== 0) {
25
- writer.uint32(16).int64(message.loan_id);
26
- }
27
- if (message.client_id !== "") {
28
- writer.uint32(26).string(message.client_id);
29
- }
30
- if (message.mandate_type !== "") {
31
- writer.uint32(34).string(message.mandate_type);
32
- }
33
- return writer;
34
- },
35
- decode(input, length) {
36
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
37
- let end = length === undefined ? reader.len : reader.pos + length;
38
- const message = createBaserequest();
39
- while (reader.pos < end) {
40
- const tag = reader.uint32();
41
- switch (tag >>> 3) {
42
- case 1:
43
- if (tag !== 8) {
44
- break;
45
- }
46
- message.customer_id = longToNumber(reader.int64());
47
- continue;
48
- case 2:
49
- if (tag !== 16) {
50
- break;
51
- }
52
- message.loan_id = longToNumber(reader.int64());
53
- continue;
54
- case 3:
55
- if (tag !== 26) {
56
- break;
57
- }
58
- message.client_id = reader.string();
59
- continue;
60
- case 4:
61
- if (tag !== 34) {
62
- break;
63
- }
64
- message.mandate_type = reader.string();
65
- continue;
66
- }
67
- if ((tag & 7) === 4 || tag === 0) {
68
- break;
69
- }
70
- reader.skipType(tag & 7);
71
- }
72
- return message;
73
- },
74
- fromJSON(object) {
75
- return {
76
- customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
77
- loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
78
- client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
79
- mandate_type: isSet(object.mandate_type) ? globalThis.String(object.mandate_type) : "",
80
- };
81
- },
82
- toJSON(message) {
83
- const obj = {};
84
- if (message.customer_id !== 0) {
85
- obj.customer_id = Math.round(message.customer_id);
86
- }
87
- if (message.loan_id !== 0) {
88
- obj.loan_id = Math.round(message.loan_id);
89
- }
90
- if (message.client_id !== "") {
91
- obj.client_id = message.client_id;
92
- }
93
- if (message.mandate_type !== "") {
94
- obj.mandate_type = message.mandate_type;
95
- }
96
- return obj;
97
- },
98
- create(base) {
99
- return exports.request.fromPartial(base ?? {});
100
- },
101
- fromPartial(object) {
102
- const message = createBaserequest();
103
- message.customer_id = object.customer_id ?? 0;
104
- message.loan_id = object.loan_id ?? 0;
105
- message.client_id = object.client_id ?? "";
106
- message.mandate_type = object.mandate_type ?? "";
107
- return message;
108
- },
109
- };
110
- function createBaseresponse() {
111
- return { status: "", status_code: 0, data: undefined };
112
- }
113
- exports.response = {
114
- encode(message, writer = minimal_1.default.Writer.create()) {
115
- if (message.status !== "") {
116
- writer.uint32(10).string(message.status);
117
- }
118
- if (message.status_code !== 0) {
119
- writer.uint32(16).int32(message.status_code);
120
- }
121
- if (message.data !== undefined) {
122
- exports.response_Data.encode(message.data, writer.uint32(26).fork()).ldelim();
123
- }
124
- return writer;
125
- },
126
- decode(input, length) {
127
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
128
- let end = length === undefined ? reader.len : reader.pos + length;
129
- const message = createBaseresponse();
130
- while (reader.pos < end) {
131
- const tag = reader.uint32();
132
- switch (tag >>> 3) {
133
- case 1:
134
- if (tag !== 10) {
135
- break;
136
- }
137
- message.status = reader.string();
138
- continue;
139
- case 2:
140
- if (tag !== 16) {
141
- break;
142
- }
143
- message.status_code = reader.int32();
144
- continue;
145
- case 3:
146
- if (tag !== 26) {
147
- break;
148
- }
149
- message.data = exports.response_Data.decode(reader, reader.uint32());
150
- continue;
151
- }
152
- if ((tag & 7) === 4 || tag === 0) {
153
- break;
154
- }
155
- reader.skipType(tag & 7);
156
- }
157
- return message;
158
- },
159
- fromJSON(object) {
160
- return {
161
- status: isSet(object.status) ? globalThis.String(object.status) : "",
162
- status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
163
- data: isSet(object.data) ? exports.response_Data.fromJSON(object.data) : undefined,
164
- };
165
- },
166
- toJSON(message) {
167
- const obj = {};
168
- if (message.status !== "") {
169
- obj.status = message.status;
170
- }
171
- if (message.status_code !== 0) {
172
- obj.status_code = Math.round(message.status_code);
173
- }
174
- if (message.data !== undefined) {
175
- obj.data = exports.response_Data.toJSON(message.data);
176
- }
177
- return obj;
178
- },
179
- create(base) {
180
- return exports.response.fromPartial(base ?? {});
181
- },
182
- fromPartial(object) {
183
- const message = createBaseresponse();
184
- message.status = object.status ?? "";
185
- message.status_code = object.status_code ?? 0;
186
- message.data = (object.data !== undefined && object.data !== null)
187
- ? exports.response_Data.fromPartial(object.data)
188
- : undefined;
189
- return message;
190
- },
191
- };
192
- function createBaseresponse_Data() {
193
- return { redirect_url: "" };
194
- }
195
- exports.response_Data = {
196
- encode(message, writer = minimal_1.default.Writer.create()) {
197
- if (message.redirect_url !== "") {
198
- writer.uint32(10).string(message.redirect_url);
199
- }
200
- return writer;
201
- },
202
- decode(input, length) {
203
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
204
- let end = length === undefined ? reader.len : reader.pos + length;
205
- const message = createBaseresponse_Data();
206
- while (reader.pos < end) {
207
- const tag = reader.uint32();
208
- switch (tag >>> 3) {
209
- case 1:
210
- if (tag !== 10) {
211
- break;
212
- }
213
- message.redirect_url = reader.string();
214
- continue;
215
- }
216
- if ((tag & 7) === 4 || tag === 0) {
217
- break;
218
- }
219
- reader.skipType(tag & 7);
220
- }
221
- return message;
222
- },
223
- fromJSON(object) {
224
- return { redirect_url: isSet(object.redirect_url) ? globalThis.String(object.redirect_url) : "" };
225
- },
226
- toJSON(message) {
227
- const obj = {};
228
- if (message.redirect_url !== "") {
229
- obj.redirect_url = message.redirect_url;
230
- }
231
- return obj;
232
- },
233
- create(base) {
234
- return exports.response_Data.fromPartial(base ?? {});
235
- },
236
- fromPartial(object) {
237
- const message = createBaseresponse_Data();
238
- message.redirect_url = object.redirect_url ?? "";
239
- return message;
240
- },
241
- };
242
- function longToNumber(long) {
243
- if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
244
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
245
- }
246
- if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
247
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
248
- }
249
- return long.toNumber();
250
- }
251
- if (minimal_1.default.util.Long !== long_1.default) {
252
- minimal_1.default.util.Long = long_1.default;
253
- minimal_1.default.configure();
254
- }
255
- function isSet(value) {
256
- return value !== null && value !== undefined;
257
- }