@stashfin/grpc 1.2.164 → 1.2.166

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 (99) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getdemogs.js +1 -1
  4. package/ts/bureau/getreport.js +1 -1
  5. package/ts/bureau.js +1 -1
  6. package/ts/colender/disburseLoan.js +1 -1
  7. package/ts/colender/forecloseLoan.js +1 -1
  8. package/ts/colender/repayLoan.js +1 -1
  9. package/ts/colender.js +1 -1
  10. package/ts/customers/aa/getbanklist.js +1 -1
  11. package/ts/customers/aa/initiate.js +1 -1
  12. package/ts/customers/addaddress.js +1 -1
  13. package/ts/customers/addbankaccountdetails.js +1 -1
  14. package/ts/customers/addfathersname.js +1 -1
  15. package/ts/customers/addgstnumber.js +1 -1
  16. package/ts/customers/addmoredetails.js +1 -1
  17. package/ts/customers/addsuspendedcustomer.js +1 -1
  18. package/ts/customers/adduserapps.js +1 -1
  19. package/ts/customers/bulksms.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/forgotmpinverify.js +1 -1
  27. package/ts/customers/getbankaccountdetails.js +1 -1
  28. package/ts/customers/getbasicinfo.js +1 -1
  29. package/ts/customers/getcities.js +1 -1
  30. package/ts/customers/getcompanyaccdetails.js +1 -1
  31. package/ts/customers/getcustomerbyid.d.ts +1 -0
  32. package/ts/customers/getcustomerbyid.js +22 -8
  33. package/ts/customers/getdashboard.js +1 -1
  34. package/ts/customers/getdashboardmaincard.js +1 -1
  35. package/ts/customers/getdocuments.js +1 -1
  36. package/ts/customers/getlimit.js +1 -1
  37. package/ts/customers/getprofessionalinfo.js +1 -1
  38. package/ts/customers/getprofile.js +1 -1
  39. package/ts/customers/getselfieetxnid.js +1 -1
  40. package/ts/customers/getstates.js +1 -1
  41. package/ts/customers/getstep.js +1 -1
  42. package/ts/customers/logout.js +1 -1
  43. package/ts/customers/profilebasic.js +1 -1
  44. package/ts/customers/profileupdatetnc.js +1 -1
  45. package/ts/customers/savebasicdetails.js +1 -1
  46. package/ts/customers/saveunlocklimit.js +1 -1
  47. package/ts/customers/sendotp.js +1 -1
  48. package/ts/customers/sendotptoemail.js +1 -1
  49. package/ts/customers/setmpin.js +1 -1
  50. package/ts/customers/skipdlrcscreen.js +1 -1
  51. package/ts/customers/updatecustomerbyid.js +1 -1
  52. package/ts/customers/updatedlnumber.js +1 -1
  53. package/ts/customers/updatedob.js +1 -1
  54. package/ts/customers/updatelocstatus.js +1 -1
  55. package/ts/customers/updatemobilesendotp.js +1 -1
  56. package/ts/customers/updatemobileverifyotp.js +1 -1
  57. package/ts/customers/updateokyctxn.js +1 -1
  58. package/ts/customers/updateselfieetxn.js +1 -1
  59. package/ts/customers/updatevehiclenumber.js +1 -1
  60. package/ts/customers/uploaddocuments.js +1 -1
  61. package/ts/customers/validatepan.js +1 -1
  62. package/ts/customers/verifympin.js +1 -1
  63. package/ts/customers/verifyotp.js +1 -1
  64. package/ts/customers/verifyotptoemail.js +1 -1
  65. package/ts/customers.js +1 -1
  66. package/ts/example.js +1 -1
  67. package/ts/growth/processchrpayment.d.ts +2 -13
  68. package/ts/growth/processchrpayment.js +37 -87
  69. package/ts/growth.js +1 -1
  70. package/ts/loans/approveloan.js +1 -1
  71. package/ts/loans/banklist.js +1 -1
  72. package/ts/loans/calculateemi.js +1 -1
  73. package/ts/loans/creditlimit.js +1 -1
  74. package/ts/loans/futurepaymentmoredetails.js +1 -1
  75. package/ts/loans/getbilldetails.js +1 -1
  76. package/ts/loans/getcustomerloanstatus.js +1 -1
  77. package/ts/loans/getloanbyid.js +1 -1
  78. package/ts/loans/getnextdueamount.js +1 -1
  79. package/ts/loans/getpendingemiamount.js +1 -1
  80. package/ts/loans/getsummarystaticfields.js +1 -1
  81. package/ts/loans/loansummary.js +1 -1
  82. package/ts/loans/paymentallocation.js +1 -1
  83. package/ts/loans/paymenthistory.js +1 -1
  84. package/ts/loans/restructureloan.js +1 -1
  85. package/ts/loans/sendemail.js +1 -1
  86. package/ts/loans/sendnocemail.js +1 -1
  87. package/ts/loans/transactionlist.js +1 -1
  88. package/ts/loans/updateinstallments.d.ts +3 -3
  89. package/ts/loans/updateinstallments.js +25 -25
  90. package/ts/loans/updateloan.d.ts +0 -2
  91. package/ts/loans/updateloan.js +3 -31
  92. package/ts/loans.js +1 -1
  93. package/ts/payments.js +1 -1
  94. package/ts/stashcash/creditsc.js +1 -1
  95. package/ts/stashcash/debitsc.js +1 -1
  96. package/ts/stashcash/getscbalance.js +1 -1
  97. package/ts/stashcash/getschistory.js +1 -1
  98. package/ts/stashcash/reversesc.js +1 -1
  99. package/ts/stashcash.js +1 -1
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: loans/updateinstallments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -15,9 +15,9 @@ exports.protobufPackage = "loans.updateinstallments";
15
15
  function createBaseupdateInstallmentsRequest() {
16
16
  return {
17
17
  installment_id: 0,
18
- principal: 0,
19
- interest: 0,
20
- penalty: 0,
18
+ r_principal: 0,
19
+ r_interest: 0,
20
+ r_penalty: 0,
21
21
  r_pif_principal: 0,
22
22
  r_pif_interest: 0,
23
23
  r_pif_penalty: 0,
@@ -29,14 +29,14 @@ exports.updateInstallmentsRequest = {
29
29
  if (message.installment_id !== 0) {
30
30
  writer.uint32(8).int32(message.installment_id);
31
31
  }
32
- if (message.principal !== 0) {
33
- writer.uint32(16).int32(message.principal);
32
+ if (message.r_principal !== 0) {
33
+ writer.uint32(16).int32(message.r_principal);
34
34
  }
35
- if (message.interest !== 0) {
36
- writer.uint32(24).int32(message.interest);
35
+ if (message.r_interest !== 0) {
36
+ writer.uint32(24).int32(message.r_interest);
37
37
  }
38
- if (message.penalty !== 0) {
39
- writer.uint32(32).int32(message.penalty);
38
+ if (message.r_penalty !== 0) {
39
+ writer.uint32(32).int32(message.r_penalty);
40
40
  }
41
41
  if (message.r_pif_principal !== 0) {
42
42
  writer.uint32(40).int32(message.r_pif_principal);
@@ -69,19 +69,19 @@ exports.updateInstallmentsRequest = {
69
69
  if (tag !== 16) {
70
70
  break;
71
71
  }
72
- message.principal = reader.int32();
72
+ message.r_principal = reader.int32();
73
73
  continue;
74
74
  case 3:
75
75
  if (tag !== 24) {
76
76
  break;
77
77
  }
78
- message.interest = reader.int32();
78
+ message.r_interest = reader.int32();
79
79
  continue;
80
80
  case 4:
81
81
  if (tag !== 32) {
82
82
  break;
83
83
  }
84
- message.penalty = reader.int32();
84
+ message.r_penalty = reader.int32();
85
85
  continue;
86
86
  case 5:
87
87
  if (tag !== 40) {
@@ -118,9 +118,9 @@ exports.updateInstallmentsRequest = {
118
118
  fromJSON(object) {
119
119
  return {
120
120
  installment_id: isSet(object.installment_id) ? globalThis.Number(object.installment_id) : 0,
121
- principal: isSet(object.principal) ? globalThis.Number(object.principal) : 0,
122
- interest: isSet(object.interest) ? globalThis.Number(object.interest) : 0,
123
- penalty: isSet(object.penalty) ? globalThis.Number(object.penalty) : 0,
121
+ r_principal: isSet(object.r_principal) ? globalThis.Number(object.r_principal) : 0,
122
+ r_interest: isSet(object.r_interest) ? globalThis.Number(object.r_interest) : 0,
123
+ r_penalty: isSet(object.r_penalty) ? globalThis.Number(object.r_penalty) : 0,
124
124
  r_pif_principal: isSet(object.r_pif_principal) ? globalThis.Number(object.r_pif_principal) : 0,
125
125
  r_pif_interest: isSet(object.r_pif_interest) ? globalThis.Number(object.r_pif_interest) : 0,
126
126
  r_pif_penalty: isSet(object.r_pif_penalty) ? globalThis.Number(object.r_pif_penalty) : 0,
@@ -132,14 +132,14 @@ exports.updateInstallmentsRequest = {
132
132
  if (message.installment_id !== 0) {
133
133
  obj.installment_id = Math.round(message.installment_id);
134
134
  }
135
- if (message.principal !== 0) {
136
- obj.principal = Math.round(message.principal);
135
+ if (message.r_principal !== 0) {
136
+ obj.r_principal = Math.round(message.r_principal);
137
137
  }
138
- if (message.interest !== 0) {
139
- obj.interest = Math.round(message.interest);
138
+ if (message.r_interest !== 0) {
139
+ obj.r_interest = Math.round(message.r_interest);
140
140
  }
141
- if (message.penalty !== 0) {
142
- obj.penalty = Math.round(message.penalty);
141
+ if (message.r_penalty !== 0) {
142
+ obj.r_penalty = Math.round(message.r_penalty);
143
143
  }
144
144
  if (message.r_pif_principal !== 0) {
145
145
  obj.r_pif_principal = Math.round(message.r_pif_principal);
@@ -161,9 +161,9 @@ exports.updateInstallmentsRequest = {
161
161
  fromPartial(object) {
162
162
  const message = createBaseupdateInstallmentsRequest();
163
163
  message.installment_id = object.installment_id ?? 0;
164
- message.principal = object.principal ?? 0;
165
- message.interest = object.interest ?? 0;
166
- message.penalty = object.penalty ?? 0;
164
+ message.r_principal = object.r_principal ?? 0;
165
+ message.r_interest = object.r_interest ?? 0;
166
+ message.r_penalty = object.r_penalty ?? 0;
167
167
  message.r_pif_principal = object.r_pif_principal ?? 0;
168
168
  message.r_pif_interest = object.r_pif_interest ?? 0;
169
169
  message.r_pif_penalty = object.r_pif_penalty ?? 0;
@@ -3,8 +3,6 @@ export declare const protobufPackage = "loans.updateloan";
3
3
  export interface updateLoanRequest {
4
4
  loan_id: number;
5
5
  status: string;
6
- disbursal_amount: number;
7
- disbursal_mode: string;
8
6
  is_auto_processing: number;
9
7
  }
10
8
  export interface updateLoanResponse {
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: loans/updateloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.updateLoanResponse = exports.updateLoanRequest = exports.protobufPackage
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.updateloan";
15
15
  function createBaseupdateLoanRequest() {
16
- return { loan_id: 0, status: "", disbursal_amount: 0, disbursal_mode: "", is_auto_processing: 0 };
16
+ return { loan_id: 0, status: "", is_auto_processing: 0 };
17
17
  }
18
18
  exports.updateLoanRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -23,14 +23,8 @@ exports.updateLoanRequest = {
23
23
  if (message.status !== "") {
24
24
  writer.uint32(18).string(message.status);
25
25
  }
26
- if (message.disbursal_amount !== 0) {
27
- writer.uint32(24).int32(message.disbursal_amount);
28
- }
29
- if (message.disbursal_mode !== "") {
30
- writer.uint32(34).string(message.disbursal_mode);
31
- }
32
26
  if (message.is_auto_processing !== 0) {
33
- writer.uint32(40).int32(message.is_auto_processing);
27
+ writer.uint32(24).int32(message.is_auto_processing);
34
28
  }
35
29
  return writer;
36
30
  },
@@ -57,18 +51,6 @@ exports.updateLoanRequest = {
57
51
  if (tag !== 24) {
58
52
  break;
59
53
  }
60
- message.disbursal_amount = reader.int32();
61
- continue;
62
- case 4:
63
- if (tag !== 34) {
64
- break;
65
- }
66
- message.disbursal_mode = reader.string();
67
- continue;
68
- case 5:
69
- if (tag !== 40) {
70
- break;
71
- }
72
54
  message.is_auto_processing = reader.int32();
73
55
  continue;
74
56
  }
@@ -83,8 +65,6 @@ exports.updateLoanRequest = {
83
65
  return {
84
66
  loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
85
67
  status: isSet(object.status) ? globalThis.String(object.status) : "",
86
- disbursal_amount: isSet(object.disbursal_amount) ? globalThis.Number(object.disbursal_amount) : 0,
87
- disbursal_mode: isSet(object.disbursal_mode) ? globalThis.String(object.disbursal_mode) : "",
88
68
  is_auto_processing: isSet(object.is_auto_processing) ? globalThis.Number(object.is_auto_processing) : 0,
89
69
  };
90
70
  },
@@ -96,12 +76,6 @@ exports.updateLoanRequest = {
96
76
  if (message.status !== "") {
97
77
  obj.status = message.status;
98
78
  }
99
- if (message.disbursal_amount !== 0) {
100
- obj.disbursal_amount = Math.round(message.disbursal_amount);
101
- }
102
- if (message.disbursal_mode !== "") {
103
- obj.disbursal_mode = message.disbursal_mode;
104
- }
105
79
  if (message.is_auto_processing !== 0) {
106
80
  obj.is_auto_processing = Math.round(message.is_auto_processing);
107
81
  }
@@ -114,8 +88,6 @@ exports.updateLoanRequest = {
114
88
  const message = createBaseupdateLoanRequest();
115
89
  message.loan_id = object.loan_id ?? 0;
116
90
  message.status = object.status ?? "";
117
- message.disbursal_amount = object.disbursal_amount ?? 0;
118
- message.disbursal_mode = object.disbursal_mode ?? "";
119
91
  message.is_auto_processing = object.is_auto_processing ?? 0;
120
92
  return message;
121
93
  },
package/ts/loans.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
package/ts/payments.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: payments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: stashcash/creditsc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: stashcash/debitsc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: stashcash/getscbalance.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: stashcash/getschistory.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: stashcash/reversesc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/stashcash.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.27.3
5
+ // protoc v5.27.4
6
6
  // source: stashcash.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.stashcashClient = exports.stashcashService = exports.protobufPackage = void 0;