@stashfin/grpc 1.2.52 → 1.2.58

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 (126) hide show
  1. package/package.json +2 -1
  2. package/ts/customers/addaddress.d.ts +50 -0
  3. package/ts/customers/addaddress.js +265 -0
  4. package/ts/customers/addbankaccountdetails.d.ts +37 -0
  5. package/ts/customers/addbankaccountdetails.js +147 -0
  6. package/ts/customers/createcustomerreference.d.ts +43 -0
  7. package/ts/customers/createcustomerreference.js +226 -0
  8. package/ts/customers/forgotmpin.d.ts +36 -0
  9. package/ts/{customer/sendotp.js → customers/forgotmpin.js} +46 -46
  10. package/ts/customers/forgotmpinotp.d.ts +34 -0
  11. package/ts/customers/forgotmpinotp.js +104 -0
  12. package/ts/customers/getbankaccountdetails.js +1 -1
  13. package/ts/customers/getbasicinfo.d.ts +20 -3
  14. package/ts/customers/getbasicinfo.js +171 -24
  15. package/ts/customers/getcities.d.ts +47 -0
  16. package/ts/customers/getcities.js +183 -0
  17. package/ts/customers/getcustomerbyid.d.ts +5 -0
  18. package/ts/customers/getcustomerbyid.js +76 -1
  19. package/ts/customers/getdashboard.d.ts +1 -0
  20. package/ts/customers/getdashboard.js +49 -34
  21. package/ts/customers/getdashboardmaincard.js +1 -1
  22. package/ts/customers/getkycweburl.d.ts +34 -0
  23. package/ts/customers/getkycweburl.js +104 -0
  24. package/ts/customers/getprofessionalinfo.d.ts +18 -1
  25. package/ts/customers/getprofessionalinfo.js +148 -10
  26. package/ts/customers/getprofile.d.ts +17 -2
  27. package/ts/customers/getprofile.js +146 -26
  28. package/ts/customers/getstates.d.ts +46 -0
  29. package/ts/customers/getstates.js +170 -0
  30. package/ts/customers/getstep.d.ts +19 -28
  31. package/ts/customers/getstep.js +159 -173
  32. package/ts/customers/profilebasic.js +1 -1
  33. package/ts/customers/profileupdatetnc.js +1 -1
  34. package/ts/customers/resetmpin.d.ts +36 -0
  35. package/ts/customers/resetmpin.js +133 -0
  36. package/ts/customers/savebasicdetails.d.ts +47 -0
  37. package/ts/customers/savebasicdetails.js +185 -0
  38. package/ts/customers/saveunlocklimit.d.ts +34 -0
  39. package/ts/customers/saveunlocklimit.js +104 -0
  40. package/ts/customers/sendemailtoken.js +1 -1
  41. package/ts/customers/sendotp.js +1 -1
  42. package/ts/customers/setmpin.js +1 -1
  43. package/ts/customers/step1.d.ts +2 -0
  44. package/ts/customers/step1.js +32 -4
  45. package/ts/customers/step10.js +1 -1
  46. package/ts/customers/step2.d.ts +5 -6
  47. package/ts/customers/step2.js +22 -37
  48. package/ts/customers/step7.js +1 -1
  49. package/ts/customers/step8.js +1 -1
  50. package/ts/customers/step9.js +1 -1
  51. package/ts/customers/stepstatic.js +1 -1
  52. package/ts/customers/updatedigilockertxn.d.ts +37 -0
  53. package/ts/{customer/verifympin.js → customers/updatedigilockertxn.js} +46 -48
  54. package/ts/customers/updatedob.d.ts +35 -0
  55. package/ts/{customer/profileupdatetnc.js → customers/updatedob.js} +22 -22
  56. package/ts/customers/updatehypervergetxn.d.ts +36 -0
  57. package/ts/{customer/setmpin.js → customers/updatehypervergetxn.js} +30 -30
  58. package/ts/customers/verifyemail.js +1 -1
  59. package/ts/customers/verifympin.js +1 -1
  60. package/ts/customers/verifyotp.d.ts +1 -0
  61. package/ts/customers/verifyotp.js +16 -2
  62. package/ts/customers.d.ts +222 -28
  63. package/ts/customers.js +155 -17
  64. package/ts/example.js +1 -1
  65. package/ts/google/protobuf/timestamp.js +1 -1
  66. package/ts/loans/approveloan.js +1 -1
  67. package/ts/loans/banklist.d.ts +0 -11
  68. package/ts/loans/banklist.js +6 -60
  69. package/ts/loans/calculateemi.d.ts +16 -2
  70. package/ts/loans/calculateemi.js +115 -19
  71. package/ts/loans/creditlimit.d.ts +8 -0
  72. package/ts/loans/creditlimit.js +129 -2
  73. package/ts/loans/restructureloan.d.ts +36 -0
  74. package/ts/loans/restructureloan.js +133 -0
  75. package/ts/loans/transactionlist.d.ts +50 -0
  76. package/ts/loans/transactionlist.js +229 -0
  77. package/ts/loans/updateinstallments.js +1 -1
  78. package/ts/loans/updateloan.js +1 -1
  79. package/ts/loans.d.ts +28 -0
  80. package/ts/loans.js +21 -1
  81. package/ts/stashcash/creditsc.js +1 -1
  82. package/ts/stashcash/debitsc.js +1 -1
  83. package/ts/stashcash/getscbalance.js +1 -1
  84. package/ts/stashcash/getschistory.js +1 -1
  85. package/ts/stashcash/reversesc.js +1 -1
  86. package/ts/stashcash.js +1 -1
  87. package/ts/customer/getprofile.d.ts +0 -38
  88. package/ts/customer/getprofile.js +0 -162
  89. package/ts/customer/getstep.d.ts +0 -78
  90. package/ts/customer/getstep.js +0 -420
  91. package/ts/customer/profileupdatetnc.d.ts +0 -35
  92. package/ts/customer/sendotp.d.ts +0 -36
  93. package/ts/customer/setmpin.d.ts +0 -36
  94. package/ts/customer/step1.d.ts +0 -69
  95. package/ts/customer/step1.js +0 -395
  96. package/ts/customer/step10.d.ts +0 -73
  97. package/ts/customer/step10.js +0 -459
  98. package/ts/customer/step2.d.ts +0 -68
  99. package/ts/customer/step2.js +0 -381
  100. package/ts/customer/step7.d.ts +0 -68
  101. package/ts/customer/step7.js +0 -381
  102. package/ts/customer/step8.d.ts +0 -69
  103. package/ts/customer/step8.js +0 -395
  104. package/ts/customer/step9.d.ts +0 -75
  105. package/ts/customer/step9.js +0 -489
  106. package/ts/customer/stepstatic.d.ts +0 -66
  107. package/ts/customer/stepstatic.js +0 -352
  108. package/ts/customer/verifympin.d.ts +0 -37
  109. package/ts/customer/verifyotp.d.ts +0 -39
  110. package/ts/customer/verifyotp.js +0 -177
  111. package/ts/customer.d.ts +0 -262
  112. package/ts/customer.js +0 -190
  113. package/ts/google/protobuf/any.d.ts +0 -138
  114. package/ts/google/protobuf/any.js +0 -108
  115. package/ts/payments/checkpaymentstatus.d.ts +0 -51
  116. package/ts/payments/checkpaymentstatus.js +0 -259
  117. package/ts/payments/createorder.d.ts +0 -39
  118. package/ts/payments/createorder.js +0 -191
  119. package/ts/payments/getpaymentdetails.d.ts +0 -58
  120. package/ts/payments/getpaymentdetails.js +0 -367
  121. package/ts/payments/getpaymentoptions.d.ts +0 -50
  122. package/ts/payments/getpaymentoptions.js +0 -231
  123. package/ts/payments/initiatepayment.d.ts +0 -54
  124. package/ts/payments/initiatepayment.js +0 -299
  125. package/ts/payments.d.ts +0 -70
  126. package/ts/payments.js +0 -54
package/ts/payments.js DELETED
@@ -1,54 +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 v3.20.3
6
- // source: payments.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.paymentsClient = exports.paymentsService = exports.protobufPackage = void 0;
9
- /* eslint-disable */
10
- const grpc_js_1 = require("@grpc/grpc-js");
11
- const checkpaymentstatus_1 = require("./payments/checkpaymentstatus");
12
- const getpaymentdetails_1 = require("./payments/getpaymentdetails");
13
- const getpaymentoptions_1 = require("./payments/getpaymentoptions");
14
- const initiatepayment_1 = require("./payments/initiatepayment");
15
- exports.protobufPackage = "service";
16
- exports.paymentsService = {
17
- getpaymentoptions: {
18
- path: "/service.payments/getpaymentoptions",
19
- requestStream: false,
20
- responseStream: false,
21
- requestSerialize: (value) => Buffer.from(getpaymentoptions_1.request.encode(value).finish()),
22
- requestDeserialize: (value) => getpaymentoptions_1.request.decode(value),
23
- responseSerialize: (value) => Buffer.from(getpaymentoptions_1.response.encode(value).finish()),
24
- responseDeserialize: (value) => getpaymentoptions_1.response.decode(value),
25
- },
26
- initiatepayment: {
27
- path: "/service.payments/initiatepayment",
28
- requestStream: false,
29
- responseStream: false,
30
- requestSerialize: (value) => Buffer.from(initiatepayment_1.request.encode(value).finish()),
31
- requestDeserialize: (value) => initiatepayment_1.request.decode(value),
32
- responseSerialize: (value) => Buffer.from(initiatepayment_1.response.encode(value).finish()),
33
- responseDeserialize: (value) => initiatepayment_1.response.decode(value),
34
- },
35
- checkpaymentstatus: {
36
- path: "/service.payments/checkpaymentstatus",
37
- requestStream: false,
38
- responseStream: false,
39
- requestSerialize: (value) => Buffer.from(checkpaymentstatus_1.request.encode(value).finish()),
40
- requestDeserialize: (value) => checkpaymentstatus_1.request.decode(value),
41
- responseSerialize: (value) => Buffer.from(checkpaymentstatus_1.response.encode(value).finish()),
42
- responseDeserialize: (value) => checkpaymentstatus_1.response.decode(value),
43
- },
44
- getpaymentdetails: {
45
- path: "/service.payments/getpaymentdetails",
46
- requestStream: false,
47
- responseStream: false,
48
- requestSerialize: (value) => Buffer.from(getpaymentdetails_1.request.encode(value).finish()),
49
- requestDeserialize: (value) => getpaymentdetails_1.request.decode(value),
50
- responseSerialize: (value) => Buffer.from(getpaymentdetails_1.response.encode(value).finish()),
51
- responseDeserialize: (value) => getpaymentdetails_1.response.decode(value),
52
- },
53
- };
54
- exports.paymentsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.paymentsService, "service.payments");