@stashfin/grpc 1.2.139 → 1.2.140

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 (169) hide show
  1. package/package.json +4 -1
  2. package/ts/bureau/getbasicdetails.d.ts +57 -0
  3. package/ts/bureau/getbasicdetails.js +341 -0
  4. package/ts/bureau/getdemogs.d.ts +113 -0
  5. package/ts/bureau/getdemogs.js +611 -0
  6. package/ts/bureau/getreport.d.ts +184 -0
  7. package/ts/bureau/getreport.js +1581 -0
  8. package/ts/bureau.d.ts +56 -0
  9. package/ts/bureau.js +44 -0
  10. package/ts/colender/disburseLoan.d.ts +44 -0
  11. package/ts/colender/disburseLoan.js +256 -0
  12. package/ts/colender/forecloseLoan.d.ts +41 -0
  13. package/ts/colender/forecloseLoan.js +205 -0
  14. package/ts/colender/repayLoan.d.ts +48 -0
  15. package/ts/colender/repayLoan.js +313 -0
  16. package/ts/colender.d.ts +56 -0
  17. package/ts/colender.js +44 -0
  18. package/ts/customers/aa/getbanklist.d.ts +48 -0
  19. package/ts/customers/aa/getbanklist.js +198 -0
  20. package/ts/customers/aa/initiate.d.ts +40 -0
  21. package/ts/customers/aa/initiate.js +209 -0
  22. package/ts/customers/addaddress.d.ts +50 -0
  23. package/ts/customers/addaddress.js +265 -0
  24. package/ts/customers/addbankaccountdetails.d.ts +37 -0
  25. package/ts/customers/addbankaccountdetails.js +147 -0
  26. package/ts/customers/addgstnumber.d.ts +35 -0
  27. package/ts/customers/addgstnumber.js +117 -0
  28. package/ts/customers/addsuspendedcustomer.d.ts +36 -0
  29. package/ts/customers/addsuspendedcustomer.js +133 -0
  30. package/ts/customers/adduserapps.d.ts +74 -0
  31. package/ts/customers/adduserapps.js +210 -0
  32. package/ts/customers/changempin.d.ts +36 -0
  33. package/ts/customers/changempin.js +133 -0
  34. package/ts/customers/createcustomerreference.d.ts +43 -0
  35. package/ts/customers/createcustomerreference.js +226 -0
  36. package/ts/customers/deleteprofile.d.ts +35 -0
  37. package/ts/customers/deleteprofile.js +120 -0
  38. package/ts/customers/disablempin.d.ts +34 -0
  39. package/ts/customers/disablempin.js +104 -0
  40. package/ts/customers/fetchrcprofile.d.ts +45 -0
  41. package/ts/customers/fetchrcprofile.js +271 -0
  42. package/ts/customers/forgotmpin.d.ts +35 -0
  43. package/ts/customers/forgotmpin.js +117 -0
  44. package/ts/customers/forgotmpinverify.d.ts +36 -0
  45. package/ts/customers/forgotmpinverify.js +133 -0
  46. package/ts/customers/getbankaccountdetails.d.ts +36 -0
  47. package/ts/customers/getbankaccountdetails.js +134 -0
  48. package/ts/customers/getbasicinfo.d.ts +56 -0
  49. package/ts/customers/getbasicinfo.js +323 -0
  50. package/ts/customers/getcities.d.ts +47 -0
  51. package/ts/customers/getcities.js +183 -0
  52. package/ts/customers/getcustomerbyid.d.ts +128 -0
  53. package/ts/customers/getcustomerbyid.js +1411 -0
  54. package/ts/customers/getdashboard.d.ts +91 -0
  55. package/ts/customers/getdashboard.js +618 -0
  56. package/ts/customers/getdashboardmaincard.d.ts +69 -0
  57. package/ts/customers/getdashboardmaincard.js +520 -0
  58. package/ts/customers/getdocuments.d.ts +36 -0
  59. package/ts/customers/getdocuments.js +134 -0
  60. package/ts/customers/getprofessionalinfo.d.ts +54 -0
  61. package/ts/customers/getprofessionalinfo.js +286 -0
  62. package/ts/customers/getprofile.d.ts +54 -0
  63. package/ts/customers/getprofile.js +296 -0
  64. package/ts/customers/getselfieetxnid.d.ts +34 -0
  65. package/ts/customers/getselfieetxnid.js +104 -0
  66. package/ts/customers/getstates.d.ts +46 -0
  67. package/ts/customers/getstates.js +170 -0
  68. package/ts/customers/getstep.d.ts +69 -0
  69. package/ts/customers/getstep.js +406 -0
  70. package/ts/customers/profilebasic.d.ts +38 -0
  71. package/ts/customers/profilebasic.js +161 -0
  72. package/ts/customers/profileupdatetnc.d.ts +35 -0
  73. package/ts/customers/profileupdatetnc.js +117 -0
  74. package/ts/customers/savebasicdetails.d.ts +47 -0
  75. package/ts/customers/savebasicdetails.js +185 -0
  76. package/ts/customers/saveunlocklimit.d.ts +34 -0
  77. package/ts/customers/saveunlocklimit.js +104 -0
  78. package/ts/customers/sendotp.d.ts +38 -0
  79. package/ts/customers/sendotp.js +165 -0
  80. package/ts/customers/sendotptoemail.d.ts +35 -0
  81. package/ts/customers/sendotptoemail.js +117 -0
  82. package/ts/customers/setmpin.d.ts +36 -0
  83. package/ts/customers/setmpin.js +133 -0
  84. package/ts/customers/step10.d.ts +73 -0
  85. package/ts/customers/step10.js +459 -0
  86. package/ts/customers/step7.d.ts +68 -0
  87. package/ts/customers/step7.js +381 -0
  88. package/ts/customers/step8.d.ts +69 -0
  89. package/ts/customers/step8.js +395 -0
  90. package/ts/customers/step9.d.ts +75 -0
  91. package/ts/customers/step9.js +489 -0
  92. package/ts/customers/stepstatic.d.ts +66 -0
  93. package/ts/customers/stepstatic.js +354 -0
  94. package/ts/customers/updatedob.d.ts +35 -0
  95. package/ts/customers/updatedob.js +117 -0
  96. package/ts/customers/updatelocstatus.d.ts +36 -0
  97. package/ts/customers/updatelocstatus.js +133 -0
  98. package/ts/customers/updatemobilesendotp.d.ts +35 -0
  99. package/ts/customers/updatemobilesendotp.js +117 -0
  100. package/ts/customers/updatemobileverifyotp.d.ts +36 -0
  101. package/ts/customers/updatemobileverifyotp.js +133 -0
  102. package/ts/customers/updateokyctxn.d.ts +37 -0
  103. package/ts/customers/updateokyctxn.js +147 -0
  104. package/ts/customers/updateselfieetxn.d.ts +36 -0
  105. package/ts/customers/updateselfieetxn.js +133 -0
  106. package/ts/customers/validatepan.d.ts +45 -0
  107. package/ts/customers/validatepan.js +274 -0
  108. package/ts/customers/verifympin.d.ts +37 -0
  109. package/ts/customers/verifympin.js +149 -0
  110. package/ts/customers/verifyotp.d.ts +41 -0
  111. package/ts/customers/verifyotp.js +205 -0
  112. package/ts/customers/verifyotptoemail.d.ts +35 -0
  113. package/ts/customers/verifyotptoemail.js +117 -0
  114. package/ts/customers.d.ts +764 -0
  115. package/ts/customers.js +548 -0
  116. package/ts/example.d.ts +78 -0
  117. package/ts/example.js +199 -0
  118. package/ts/loans/approveloan.d.ts +40 -0
  119. package/ts/loans/approveloan.js +189 -0
  120. package/ts/loans/banklist.d.ts +37 -0
  121. package/ts/loans/banklist.js +148 -0
  122. package/ts/loans/calculateemi.d.ts +57 -0
  123. package/ts/loans/calculateemi.js +340 -0
  124. package/ts/loans/creditlimit.d.ts +51 -0
  125. package/ts/loans/creditlimit.js +381 -0
  126. package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
  127. package/ts/loans/futurepaymentmoredetails.js +230 -0
  128. package/ts/loans/getcustomerloanstatus.d.ts +34 -0
  129. package/ts/loans/getcustomerloanstatus.js +104 -0
  130. package/ts/loans/getloanbyid.d.ts +53 -0
  131. package/ts/loans/getloanbyid.js +393 -0
  132. package/ts/loans/getpendingemiamount.d.ts +34 -0
  133. package/ts/loans/getpendingemiamount.js +104 -0
  134. package/ts/loans/getsummarystaticfields.d.ts +80 -0
  135. package/ts/loans/getsummarystaticfields.js +700 -0
  136. package/ts/loans/loansummary.d.ts +66 -0
  137. package/ts/loans/loansummary.js +593 -0
  138. package/ts/loans/paymentallocation.d.ts +37 -0
  139. package/ts/loans/paymentallocation.js +147 -0
  140. package/ts/loans/paymenthistory.d.ts +47 -0
  141. package/ts/loans/paymenthistory.js +188 -0
  142. package/ts/loans/restructureloan.d.ts +36 -0
  143. package/ts/loans/restructureloan.js +133 -0
  144. package/ts/loans/sendemail.d.ts +35 -0
  145. package/ts/loans/sendemail.js +117 -0
  146. package/ts/loans/sendnocemail.d.ts +35 -0
  147. package/ts/loans/sendnocemail.js +117 -0
  148. package/ts/loans/transactionlist.d.ts +52 -0
  149. package/ts/loans/transactionlist.js +257 -0
  150. package/ts/loans/updateinstallments.d.ts +42 -0
  151. package/ts/loans/updateinstallments.js +226 -0
  152. package/ts/loans/updateloan.d.ts +39 -0
  153. package/ts/loans/updateloan.js +175 -0
  154. package/ts/loans.d.ts +266 -0
  155. package/ts/loans.js +194 -0
  156. package/ts/payments.d.ts +239 -0
  157. package/ts/payments.js +1117 -0
  158. package/ts/stashcash/creditsc.d.ts +54 -0
  159. package/ts/stashcash/creditsc.js +301 -0
  160. package/ts/stashcash/debitsc.d.ts +59 -0
  161. package/ts/stashcash/debitsc.js +380 -0
  162. package/ts/stashcash/getscbalance.d.ts +53 -0
  163. package/ts/stashcash/getscbalance.js +293 -0
  164. package/ts/stashcash/getschistory.d.ts +73 -0
  165. package/ts/stashcash/getschistory.js +479 -0
  166. package/ts/stashcash/reversesc.d.ts +52 -0
  167. package/ts/stashcash/reversesc.js +273 -0
  168. package/ts/stashcash.d.ts +84 -0
  169. package/ts/stashcash.js +64 -0
@@ -0,0 +1,104 @@
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: loans/getpendingemiamount.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.getPendingEmiAmountResponse = exports.getPendingEmiAmountRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getpendingemiamount";
15
+ function createBasegetPendingEmiAmountRequest() {
16
+ return {};
17
+ }
18
+ exports.getPendingEmiAmountRequest = {
19
+ encode(_, writer = minimal_1.default.Writer.create()) {
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
24
+ let end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBasegetPendingEmiAmountRequest();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ }
30
+ if ((tag & 7) === 4 || tag === 0) {
31
+ break;
32
+ }
33
+ reader.skipType(tag & 7);
34
+ }
35
+ return message;
36
+ },
37
+ fromJSON(_) {
38
+ return {};
39
+ },
40
+ toJSON(_) {
41
+ const obj = {};
42
+ return obj;
43
+ },
44
+ create(base) {
45
+ return exports.getPendingEmiAmountRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetPendingEmiAmountRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetPendingEmiAmountResponse() {
53
+ return { pending_amount: 0 };
54
+ }
55
+ exports.getPendingEmiAmountResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ if (message.pending_amount !== 0) {
58
+ writer.uint32(8).int32(message.pending_amount);
59
+ }
60
+ return writer;
61
+ },
62
+ decode(input, length) {
63
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
64
+ let end = length === undefined ? reader.len : reader.pos + length;
65
+ const message = createBasegetPendingEmiAmountResponse();
66
+ while (reader.pos < end) {
67
+ const tag = reader.uint32();
68
+ switch (tag >>> 3) {
69
+ case 1:
70
+ if (tag !== 8) {
71
+ break;
72
+ }
73
+ message.pending_amount = reader.int32();
74
+ continue;
75
+ }
76
+ if ((tag & 7) === 4 || tag === 0) {
77
+ break;
78
+ }
79
+ reader.skipType(tag & 7);
80
+ }
81
+ return message;
82
+ },
83
+ fromJSON(object) {
84
+ return { pending_amount: isSet(object.pending_amount) ? globalThis.Number(object.pending_amount) : 0 };
85
+ },
86
+ toJSON(message) {
87
+ const obj = {};
88
+ if (message.pending_amount !== 0) {
89
+ obj.pending_amount = Math.round(message.pending_amount);
90
+ }
91
+ return obj;
92
+ },
93
+ create(base) {
94
+ return exports.getPendingEmiAmountResponse.fromPartial(base ?? {});
95
+ },
96
+ fromPartial(object) {
97
+ const message = createBasegetPendingEmiAmountResponse();
98
+ message.pending_amount = object.pending_amount ?? 0;
99
+ return message;
100
+ },
101
+ };
102
+ function isSet(value) {
103
+ return value !== null && value !== undefined;
104
+ }
@@ -0,0 +1,80 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getsummarystaticfields";
3
+ export interface getSummaryStaticFieldsRequest {
4
+ }
5
+ export interface getSummaryStaticFieldsResponse {
6
+ emi_date_l: string;
7
+ emi_amount_l: string;
8
+ first_emi_date_l: string;
9
+ final_disbursal_amount_l: string;
10
+ upfront_interest_l: string;
11
+ processing_fees_l: string;
12
+ gst_l: string;
13
+ rate_of_interest_l: string;
14
+ early_foreclosure_fees_l: string;
15
+ convenience_fees_l: string;
16
+ total_interest_pay_l: string;
17
+ effective_annual_rate_l: string;
18
+ trans_fee_plus_gst_l: string;
19
+ processing_fee_plus_gst_l: string;
20
+ max_amount_l: string;
21
+ credit_report_fees_l: string;
22
+ fee_and_charges_l: string;
23
+ add_on_l: string;
24
+ total_loan_amount_l: string;
25
+ loan_amount_l: string;
26
+ disbursed_amount_l: string;
27
+ total_payable_amount_l: string;
28
+ disbursal_amount_l: string;
29
+ number_of_emi_l: string;
30
+ first_emi_amt_l: string;
31
+ subsequent_emi_l: string;
32
+ effective_roi_l: string;
33
+ effective_annual_roi_l: string;
34
+ insurance_l: string;
35
+ apr_title: string;
36
+ insurance_desc: getSummaryStaticFieldsResponse_Field[];
37
+ insurance_title: string;
38
+ upfront_interest_description: string;
39
+ bill_amount_l: string;
40
+ }
41
+ export interface getSummaryStaticFieldsResponse_Field {
42
+ title: string;
43
+ desc: string;
44
+ icon: string;
45
+ }
46
+ export declare const getSummaryStaticFieldsRequest: {
47
+ encode(_: getSummaryStaticFieldsRequest, writer?: _m0.Writer): _m0.Writer;
48
+ decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsRequest;
49
+ fromJSON(_: any): getSummaryStaticFieldsRequest;
50
+ toJSON(_: getSummaryStaticFieldsRequest): unknown;
51
+ create<I extends Exact<DeepPartial<getSummaryStaticFieldsRequest>, I>>(base?: I): getSummaryStaticFieldsRequest;
52
+ fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsRequest>, I>>(_: I): getSummaryStaticFieldsRequest;
53
+ };
54
+ export declare const getSummaryStaticFieldsResponse: {
55
+ encode(message: getSummaryStaticFieldsResponse, writer?: _m0.Writer): _m0.Writer;
56
+ decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsResponse;
57
+ fromJSON(object: any): getSummaryStaticFieldsResponse;
58
+ toJSON(message: getSummaryStaticFieldsResponse): unknown;
59
+ create<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse>, I>>(base?: I): getSummaryStaticFieldsResponse;
60
+ fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse>, I>>(object: I): getSummaryStaticFieldsResponse;
61
+ };
62
+ export declare const getSummaryStaticFieldsResponse_Field: {
63
+ encode(message: getSummaryStaticFieldsResponse_Field, writer?: _m0.Writer): _m0.Writer;
64
+ decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsResponse_Field;
65
+ fromJSON(object: any): getSummaryStaticFieldsResponse_Field;
66
+ toJSON(message: getSummaryStaticFieldsResponse_Field): unknown;
67
+ create<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_Field>, I>>(base?: I): getSummaryStaticFieldsResponse_Field;
68
+ fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_Field>, I>>(object: I): getSummaryStaticFieldsResponse_Field;
69
+ };
70
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
71
+ 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 {} ? {
72
+ [K in keyof T]?: DeepPartial<T[K]>;
73
+ } : Partial<T>;
74
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
75
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
76
+ [K in keyof P]: Exact<P[K], I[K]>;
77
+ } & {
78
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
79
+ };
80
+ export {};