@stashfin/grpc 1.2.242 → 1.2.246

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 (145) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getbureaulist.d.ts +52 -0
  4. package/ts/bureau/getbureaulist.js +276 -0
  5. package/ts/bureau/getdbrcolending.js +1 -1
  6. package/ts/bureau/getdemogs.js +1 -1
  7. package/ts/bureau/getobligation.js +1 -1
  8. package/ts/bureau/getreport.js +1 -1
  9. package/ts/bureau.js +1 -1
  10. package/ts/colender/disburseLoan.js +1 -1
  11. package/ts/colender/forecloseLoan.js +1 -1
  12. package/ts/colender/repayLoan.js +1 -1
  13. package/ts/colender.js +1 -1
  14. package/ts/customers/aa/getbanklist.js +1 -1
  15. package/ts/customers/aa/initiate.js +1 -1
  16. package/ts/customers/addaddress.js +1 -1
  17. package/ts/customers/addbankaccountdetails.js +1 -1
  18. package/ts/customers/addfathersname.js +1 -1
  19. package/ts/customers/addgstnumber.js +1 -1
  20. package/ts/customers/addmoredetails.js +1 -1
  21. package/ts/customers/addsuspendedcustomer.js +1 -1
  22. package/ts/customers/adduserapps.js +1 -1
  23. package/ts/customers/bulksms.js +1 -1
  24. package/ts/customers/cb/cbsignup.js +1 -1
  25. package/ts/customers/cb/getcbtxnstatus.js +1 -1
  26. package/ts/customers/cb/getcreditbuilder.js +1 -1
  27. package/ts/customers/cb/paynow.js +1 -1
  28. package/ts/customers/cb/savecreditbuilder.js +1 -1
  29. package/ts/customers/cb/updatecbtxnstatus.js +1 -1
  30. package/ts/customers/changempin.js +1 -1
  31. package/ts/customers/createcustomerreference.js +1 -1
  32. package/ts/customers/deleteprofile.js +1 -1
  33. package/ts/customers/disablempin.js +1 -1
  34. package/ts/customers/enach/gettxnstatus.js +1 -1
  35. package/ts/customers/enach/getweburl.js +1 -1
  36. package/ts/customers/enach/updatetxnstatus.js +1 -1
  37. package/ts/customers/fetchrcprofile.js +1 -1
  38. package/ts/customers/floatingvideos.js +1 -1
  39. package/ts/customers/forgotmpin.js +1 -1
  40. package/ts/customers/forgotmpinverify.js +1 -1
  41. package/ts/customers/freedom/addressconfirmation.js +1 -1
  42. package/ts/customers/freedom/freedompaynow.js +1 -1
  43. package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
  44. package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
  45. package/ts/customers/getaddresslist.js +1 -1
  46. package/ts/customers/getappsubmittedscreen.js +1 -1
  47. package/ts/customers/getbankaccountdetails.js +1 -1
  48. package/ts/customers/getbasicinfo.js +1 -1
  49. package/ts/customers/getcities.js +1 -1
  50. package/ts/customers/getcompanyaccdetails.js +1 -1
  51. package/ts/customers/getcustomerbyid.js +1 -1
  52. package/ts/customers/getdashboard.js +1 -1
  53. package/ts/customers/getdashboardmaincard.js +1 -1
  54. package/ts/customers/getdocuments.js +1 -1
  55. package/ts/customers/getlimit.js +1 -1
  56. package/ts/customers/getoccupationlist.js +1 -1
  57. package/ts/customers/getprofessionalinfo.js +1 -1
  58. package/ts/customers/getprofile.js +1 -1
  59. package/ts/customers/getrpdlink.d.ts +40 -0
  60. package/ts/customers/getrpdlink.js +190 -0
  61. package/ts/customers/getselfieetxnid.js +1 -1
  62. package/ts/customers/getstates.js +1 -1
  63. package/ts/customers/getstep.js +1 -1
  64. package/ts/customers/logout.js +1 -1
  65. package/ts/customers/pd/getbanklist.js +1 -1
  66. package/ts/customers/pd/validatebankaccount.js +1 -1
  67. package/ts/customers/profilebasic.js +1 -1
  68. package/ts/customers/profileupdatetnc.js +1 -1
  69. package/ts/customers/rpd/getrpdlink.js +1 -1
  70. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  71. package/ts/customers/rpd/mockpayment.js +1 -1
  72. package/ts/customers/savebasicdetails.js +1 -1
  73. package/ts/customers/savelimit.js +1 -1
  74. package/ts/customers/saveunlocklimit.js +1 -1
  75. package/ts/customers/sendotp.js +1 -1
  76. package/ts/customers/sendotptoemail.js +1 -1
  77. package/ts/customers/setmpin.js +1 -1
  78. package/ts/customers/skipscreen.js +1 -1
  79. package/ts/customers/updatecustomerbyid.js +1 -1
  80. package/ts/customers/updatedlnumber.js +1 -1
  81. package/ts/customers/updatedob.js +1 -1
  82. package/ts/customers/updatelocstatus.js +1 -1
  83. package/ts/customers/updatemobilesendotp.js +1 -1
  84. package/ts/customers/updatemobileverifyotp.js +1 -1
  85. package/ts/customers/updateokyctxn.js +1 -1
  86. package/ts/customers/updateselfieetxn.js +1 -1
  87. package/ts/customers/updatevehiclenumber.js +1 -1
  88. package/ts/customers/uploaddocuments.js +1 -1
  89. package/ts/customers/validatepan.js +1 -1
  90. package/ts/customers/verifympin.js +1 -1
  91. package/ts/customers/verifyotp.js +1 -1
  92. package/ts/customers/verifyotptoemail.js +1 -1
  93. package/ts/customers.js +1 -1
  94. package/ts/example.js +1 -1
  95. package/ts/growth/checkplanstatus.js +1 -1
  96. package/ts/growth/getattachplandetails.js +1 -1
  97. package/ts/growth/getchrplans.js +1 -1
  98. package/ts/growth/getcredithealthreport.js +1 -1
  99. package/ts/growth/initiatepayment.js +1 -1
  100. package/ts/growth/processchrpayment.js +1 -1
  101. package/ts/growth.js +1 -1
  102. package/ts/loans/amortization.js +1 -1
  103. package/ts/loans/approveloan.js +1 -1
  104. package/ts/loans/banklist.js +1 -1
  105. package/ts/loans/calculateemi.js +1 -1
  106. package/ts/loans/creditlimit.js +1 -1
  107. package/ts/loans/fcppayment.js +1 -1
  108. package/ts/loans/forecloseamount.js +1 -1
  109. package/ts/loans/foreclosepayment.js +1 -1
  110. package/ts/loans/futurepaymentmoredetails.js +1 -1
  111. package/ts/loans/getbilldetails.js +1 -1
  112. package/ts/loans/getcustomerloanstatus.js +1 -1
  113. package/ts/loans/getloanbyid.js +1 -1
  114. package/ts/loans/getnextdueamount.js +1 -1
  115. package/ts/loans/getpendingemiamount.js +1 -1
  116. package/ts/loans/getsummarystaticfields.js +1 -1
  117. package/ts/loans/gettransactionstatus.js +1 -1
  118. package/ts/loans/getvirtualbankinfo.js +1 -1
  119. package/ts/loans/loansummary.js +1 -1
  120. package/ts/loans/paymentallocation.js +1 -1
  121. package/ts/loans/paymenthistory.js +1 -1
  122. package/ts/loans/paynow.js +1 -1
  123. package/ts/loans/refund.js +1 -1
  124. package/ts/loans/restructureloan.js +1 -1
  125. package/ts/loans/rollback.js +1 -1
  126. package/ts/loans/sendemail.js +1 -1
  127. package/ts/loans/sendnocemail.js +1 -1
  128. package/ts/loans/transactionlist.js +1 -1
  129. package/ts/loans/updateinstallments.js +1 -1
  130. package/ts/loans/updateloan.js +1 -1
  131. package/ts/loans/updatetransactionstatus.js +1 -1
  132. package/ts/loans.js +1 -1
  133. package/ts/payments/checkpaymentstatus.js +1 -1
  134. package/ts/payments/getpaymentoptions.d.ts +2 -2
  135. package/ts/payments/getpaymentoptions.js +19 -19
  136. package/ts/payments/initiatepayment.js +1 -1
  137. package/ts/payments/nachpresentation.js +1 -1
  138. package/ts/payments/nachregistration.js +1 -1
  139. package/ts/payments.js +1 -1
  140. package/ts/stashcash/creditsc.js +1 -1
  141. package/ts/stashcash/debitsc.js +1 -1
  142. package/ts/stashcash/getscbalance.js +1 -1
  143. package/ts/stashcash/getschistory.js +1 -1
  144. package/ts/stashcash/reversesc.js +1 -1
  145. package/ts/stashcash.js +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: payments/getpaymentoptions.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -13,12 +13,12 @@ exports.response_Data = exports.response_Fee_data = exports.response_Fees = expo
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "payments.getpaymentoptions";
15
15
  function createBaserequest() {
16
- return { customer_id: "", client_id: "", amount: undefined };
16
+ return { customer_id: 0, client_id: "", amount: undefined };
17
17
  }
18
18
  exports.request = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.customer_id !== "") {
21
- writer.uint32(10).string(message.customer_id);
20
+ if (message.customer_id !== 0) {
21
+ writer.uint32(8).int32(message.customer_id);
22
22
  }
23
23
  if (message.client_id !== "") {
24
24
  writer.uint32(18).string(message.client_id);
@@ -36,10 +36,10 @@ exports.request = {
36
36
  const tag = reader.uint32();
37
37
  switch (tag >>> 3) {
38
38
  case 1:
39
- if (tag !== 10) {
39
+ if (tag !== 8) {
40
40
  break;
41
41
  }
42
- message.customer_id = reader.string();
42
+ message.customer_id = reader.int32();
43
43
  continue;
44
44
  case 2:
45
45
  if (tag !== 18) {
@@ -63,15 +63,15 @@ exports.request = {
63
63
  },
64
64
  fromJSON(object) {
65
65
  return {
66
- customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : "",
66
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
67
67
  client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
68
68
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : undefined,
69
69
  };
70
70
  },
71
71
  toJSON(message) {
72
72
  const obj = {};
73
- if (message.customer_id !== "") {
74
- obj.customer_id = message.customer_id;
73
+ if (message.customer_id !== 0) {
74
+ obj.customer_id = Math.round(message.customer_id);
75
75
  }
76
76
  if (message.client_id !== "") {
77
77
  obj.client_id = message.client_id;
@@ -86,14 +86,14 @@ exports.request = {
86
86
  },
87
87
  fromPartial(object) {
88
88
  const message = createBaserequest();
89
- message.customer_id = object.customer_id ?? "";
89
+ message.customer_id = object.customer_id ?? 0;
90
90
  message.client_id = object.client_id ?? "";
91
91
  message.amount = object.amount ?? undefined;
92
92
  return message;
93
93
  },
94
94
  };
95
95
  function createBaseresponse() {
96
- return { status: "", status_code: 0, client_id: "", customer_id: "", data: undefined, message: undefined };
96
+ return { status: "", status_code: 0, client_id: "", customer_id: 0, data: undefined, message: undefined };
97
97
  }
98
98
  exports.response = {
99
99
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -106,8 +106,8 @@ exports.response = {
106
106
  if (message.client_id !== "") {
107
107
  writer.uint32(26).string(message.client_id);
108
108
  }
109
- if (message.customer_id !== "") {
110
- writer.uint32(34).string(message.customer_id);
109
+ if (message.customer_id !== 0) {
110
+ writer.uint32(32).int32(message.customer_id);
111
111
  }
112
112
  if (message.data !== undefined) {
113
113
  exports.response_Data.encode(message.data, writer.uint32(42).fork()).ldelim();
@@ -143,10 +143,10 @@ exports.response = {
143
143
  message.client_id = reader.string();
144
144
  continue;
145
145
  case 4:
146
- if (tag !== 34) {
146
+ if (tag !== 32) {
147
147
  break;
148
148
  }
149
- message.customer_id = reader.string();
149
+ message.customer_id = reader.int32();
150
150
  continue;
151
151
  case 5:
152
152
  if (tag !== 42) {
@@ -173,7 +173,7 @@ exports.response = {
173
173
  status: isSet(object.status) ? globalThis.String(object.status) : "",
174
174
  status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
175
175
  client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
176
- customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : "",
176
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
177
177
  data: isSet(object.data) ? exports.response_Data.fromJSON(object.data) : undefined,
178
178
  message: isSet(object.message) ? globalThis.String(object.message) : undefined,
179
179
  };
@@ -189,8 +189,8 @@ exports.response = {
189
189
  if (message.client_id !== "") {
190
190
  obj.client_id = message.client_id;
191
191
  }
192
- if (message.customer_id !== "") {
193
- obj.customer_id = message.customer_id;
192
+ if (message.customer_id !== 0) {
193
+ obj.customer_id = Math.round(message.customer_id);
194
194
  }
195
195
  if (message.data !== undefined) {
196
196
  obj.data = exports.response_Data.toJSON(message.data);
@@ -208,7 +208,7 @@ exports.response = {
208
208
  message.status = object.status ?? "";
209
209
  message.status_code = object.status_code ?? 0;
210
210
  message.client_id = object.client_id ?? "";
211
- message.customer_id = object.customer_id ?? "";
211
+ message.customer_id = object.customer_id ?? 0;
212
212
  message.data = (object.data !== undefined && object.data !== null)
213
213
  ? exports.response_Data.fromPartial(object.data)
214
214
  : undefined;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: payments/initiatepayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: payments/nachpresentation.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: payments/nachregistration.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
package/ts/payments.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: payments.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: stashcash/creditsc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: stashcash/debitsc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: stashcash/getscbalance.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: stashcash/getschistory.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: stashcash/reversesc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
package/ts/stashcash.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.28.1
6
6
  // source: stashcash.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });