@stashfin/grpc 1.2.172 → 1.2.174

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.d.ts +1 -8
  17. package/ts/customers/addmoredetails.js +11 -44
  18. package/ts/customers/addsuspendedcustomer.js +1 -1
  19. package/ts/customers/adduserapps.js +1 -1
  20. package/ts/customers/bulksms.js +1 -1
  21. package/ts/customers/changempin.js +1 -1
  22. package/ts/customers/createcustomerreference.js +1 -1
  23. package/ts/customers/deleteprofile.js +1 -1
  24. package/ts/customers/disablempin.js +1 -1
  25. package/ts/customers/fetchrcprofile.js +1 -1
  26. package/ts/customers/forgotmpin.js +1 -1
  27. package/ts/customers/forgotmpinverify.js +1 -1
  28. package/ts/customers/getbankaccountdetails.js +1 -1
  29. package/ts/customers/getbasicinfo.js +1 -1
  30. package/ts/customers/getcities.js +1 -1
  31. package/ts/customers/getcompanyaccdetails.js +1 -1
  32. package/ts/customers/getcustomerbyid.js +1 -1
  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/getoccupationlist.d.ts +34 -0
  38. package/ts/customers/getoccupationlist.js +105 -0
  39. package/ts/customers/getprofessionalinfo.js +1 -1
  40. package/ts/customers/getprofile.js +1 -1
  41. package/ts/customers/getselfieetxnid.js +1 -1
  42. package/ts/customers/getstates.js +1 -1
  43. package/ts/customers/getstep.js +1 -1
  44. package/ts/customers/logout.js +1 -1
  45. package/ts/customers/profilebasic.js +1 -1
  46. package/ts/customers/profileupdatetnc.js +1 -1
  47. package/ts/customers/savebasicdetails.js +1 -1
  48. package/ts/customers/saveunlocklimit.js +1 -1
  49. package/ts/customers/sendotp.js +1 -1
  50. package/ts/customers/sendotptoemail.js +1 -1
  51. package/ts/customers/setmpin.js +1 -1
  52. package/ts/customers/skipscreen.js +1 -1
  53. package/ts/customers/updatecustomerbyid.js +1 -1
  54. package/ts/customers/updatedlnumber.js +1 -1
  55. package/ts/customers/updatedob.js +1 -1
  56. package/ts/customers/updatelocstatus.js +1 -1
  57. package/ts/customers/updatemobilesendotp.js +1 -1
  58. package/ts/customers/updatemobileverifyotp.js +1 -1
  59. package/ts/customers/updateokyctxn.js +1 -1
  60. package/ts/customers/updateselfieetxn.js +1 -1
  61. package/ts/customers/updatevehiclenumber.js +1 -1
  62. package/ts/customers/uploaddocuments.js +1 -1
  63. package/ts/customers/validatepan.js +1 -1
  64. package/ts/customers/verifympin.js +1 -1
  65. package/ts/customers/verifyotp.js +1 -1
  66. package/ts/customers/verifyotptoemail.js +1 -1
  67. package/ts/customers.d.ts +14 -0
  68. package/ts/customers.js +11 -1
  69. package/ts/example.js +1 -1
  70. package/ts/growth/processchrpayment.js +1 -1
  71. package/ts/growth.js +1 -1
  72. package/ts/loans/approveloan.js +1 -1
  73. package/ts/loans/banklist.js +1 -1
  74. package/ts/loans/calculateemi.js +1 -1
  75. package/ts/loans/creditlimit.js +1 -1
  76. package/ts/loans/futurepaymentmoredetails.js +1 -1
  77. package/ts/loans/getbilldetails.js +1 -1
  78. package/ts/loans/getcustomerloanstatus.js +1 -1
  79. package/ts/loans/getloanbyid.js +1 -1
  80. package/ts/loans/getnextdueamount.js +1 -1
  81. package/ts/loans/getpendingemiamount.js +1 -1
  82. package/ts/loans/getsummarystaticfields.js +1 -1
  83. package/ts/loans/loansummary.js +1 -1
  84. package/ts/loans/paymentallocation.js +1 -1
  85. package/ts/loans/paymenthistory.js +1 -1
  86. package/ts/loans/restructureloan.js +1 -1
  87. package/ts/loans/sendemail.js +1 -1
  88. package/ts/loans/sendnocemail.js +1 -1
  89. package/ts/loans/transactionlist.js +1 -1
  90. package/ts/loans/updateinstallments.js +1 -1
  91. package/ts/loans/updateloan.js +1 -1
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.172",
3
+ "version": "1.2.174",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -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.4
5
+ // protoc v5.28.0
6
6
  // source: bureau/getbasicdetails.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.4
5
+ // protoc v5.28.0
6
6
  // source: bureau/getdemogs.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.4
5
+ // protoc v5.28.0
6
6
  // source: bureau/getreport.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/bureau.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.4
5
+ // protoc v5.28.0
6
6
  // source: bureau.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.bureauClient = exports.bureauService = exports.protobufPackage = void 0;
@@ -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.4
5
+ // protoc v5.28.0
6
6
  // source: colender/disburseLoan.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.4
5
+ // protoc v5.28.0
6
6
  // source: colender/forecloseLoan.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.4
5
+ // protoc v5.28.0
6
6
  // source: colender/repayLoan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/colender.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.4
5
+ // protoc v5.28.0
6
6
  // source: colender.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.colenderClient = exports.colenderService = exports.protobufPackage = void 0;
@@ -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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/aa/getbanklist.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/aa/initiate.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/addaddress.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/addbankaccountdetails.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/addfathersname.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/addgstnumber.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,15 +1,8 @@
1
1
  import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "customers.addmoredetails";
3
- export declare enum OccupationType {
4
- SELF_EMPLOYED = 0,
5
- SALARIED = 1,
6
- UNRECOGNIZED = -1
7
- }
8
- export declare function occupationTypeFromJSON(object: any): OccupationType;
9
- export declare function occupationTypeToJSON(object: OccupationType): string;
10
3
  export interface addMoreDetailsRequest {
11
4
  father_name: string;
12
- occupation: OccupationType;
5
+ occupation: string;
13
6
  cur_house?: string | undefined;
14
7
  cur_address_line1: string;
15
8
  cur_address_line2: string;
@@ -2,53 +2,20 @@
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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/addmoredetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.addMoreDetailsResponse = exports.addMoreDetailsRequest = exports.OccupationType = exports.protobufPackage = void 0;
12
- exports.occupationTypeFromJSON = occupationTypeFromJSON;
13
- exports.occupationTypeToJSON = occupationTypeToJSON;
11
+ exports.addMoreDetailsResponse = exports.addMoreDetailsRequest = exports.protobufPackage = void 0;
14
12
  /* eslint-disable */
15
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
16
14
  exports.protobufPackage = "customers.addmoredetails";
17
- var OccupationType;
18
- (function (OccupationType) {
19
- OccupationType[OccupationType["SELF_EMPLOYED"] = 0] = "SELF_EMPLOYED";
20
- OccupationType[OccupationType["SALARIED"] = 1] = "SALARIED";
21
- OccupationType[OccupationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
22
- })(OccupationType || (exports.OccupationType = OccupationType = {}));
23
- function occupationTypeFromJSON(object) {
24
- switch (object) {
25
- case 0:
26
- case "SELF_EMPLOYED":
27
- return OccupationType.SELF_EMPLOYED;
28
- case 1:
29
- case "SALARIED":
30
- return OccupationType.SALARIED;
31
- case -1:
32
- case "UNRECOGNIZED":
33
- default:
34
- return OccupationType.UNRECOGNIZED;
35
- }
36
- }
37
- function occupationTypeToJSON(object) {
38
- switch (object) {
39
- case OccupationType.SELF_EMPLOYED:
40
- return "SELF_EMPLOYED";
41
- case OccupationType.SALARIED:
42
- return "SALARIED";
43
- case OccupationType.UNRECOGNIZED:
44
- default:
45
- return "UNRECOGNIZED";
46
- }
47
- }
48
15
  function createBaseaddMoreDetailsRequest() {
49
16
  return {
50
17
  father_name: "",
51
- occupation: 0,
18
+ occupation: "",
52
19
  cur_house: undefined,
53
20
  cur_address_line1: "",
54
21
  cur_address_line2: "",
@@ -65,8 +32,8 @@ exports.addMoreDetailsRequest = {
65
32
  if (message.father_name !== "") {
66
33
  writer.uint32(10).string(message.father_name);
67
34
  }
68
- if (message.occupation !== 0) {
69
- writer.uint32(16).int32(message.occupation);
35
+ if (message.occupation !== "") {
36
+ writer.uint32(18).string(message.occupation);
70
37
  }
71
38
  if (message.cur_house !== undefined) {
72
39
  writer.uint32(26).string(message.cur_house);
@@ -111,10 +78,10 @@ exports.addMoreDetailsRequest = {
111
78
  message.father_name = reader.string();
112
79
  continue;
113
80
  case 2:
114
- if (tag !== 16) {
81
+ if (tag !== 18) {
115
82
  break;
116
83
  }
117
- message.occupation = reader.int32();
84
+ message.occupation = reader.string();
118
85
  continue;
119
86
  case 3:
120
87
  if (tag !== 26) {
@@ -181,7 +148,7 @@ exports.addMoreDetailsRequest = {
181
148
  fromJSON(object) {
182
149
  return {
183
150
  father_name: isSet(object.father_name) ? globalThis.String(object.father_name) : "",
184
- occupation: isSet(object.occupation) ? occupationTypeFromJSON(object.occupation) : 0,
151
+ occupation: isSet(object.occupation) ? globalThis.String(object.occupation) : "",
185
152
  cur_house: isSet(object.cur_house) ? globalThis.String(object.cur_house) : undefined,
186
153
  cur_address_line1: isSet(object.cur_address_line1) ? globalThis.String(object.cur_address_line1) : "",
187
154
  cur_address_line2: isSet(object.cur_address_line2) ? globalThis.String(object.cur_address_line2) : "",
@@ -198,8 +165,8 @@ exports.addMoreDetailsRequest = {
198
165
  if (message.father_name !== "") {
199
166
  obj.father_name = message.father_name;
200
167
  }
201
- if (message.occupation !== 0) {
202
- obj.occupation = occupationTypeToJSON(message.occupation);
168
+ if (message.occupation !== "") {
169
+ obj.occupation = message.occupation;
203
170
  }
204
171
  if (message.cur_house !== undefined) {
205
172
  obj.cur_house = message.cur_house;
@@ -236,7 +203,7 @@ exports.addMoreDetailsRequest = {
236
203
  fromPartial(object) {
237
204
  const message = createBaseaddMoreDetailsRequest();
238
205
  message.father_name = object.father_name ?? "";
239
- message.occupation = object.occupation ?? 0;
206
+ message.occupation = object.occupation ?? "";
240
207
  message.cur_house = object.cur_house ?? undefined;
241
208
  message.cur_address_line1 = object.cur_address_line1 ?? "";
242
209
  message.cur_address_line2 = object.cur_address_line2 ?? "";
@@ -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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/addsuspendedcustomer.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/adduserapps.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/bulksms.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/changempin.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/createcustomerreference.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/deleteprofile.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/disablempin.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/fetchrcprofile.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/forgotmpin.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/forgotmpinverify.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getbankaccountdetails.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getbasicinfo.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getcities.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getcompanyaccdetails.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getcustomerbyid.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getdashboard.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getdashboardmaincard.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getdocuments.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getlimit.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,34 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.getoccupationlist";
3
+ export interface getOccupationListRequest {
4
+ }
5
+ export interface getOccupationListResponse {
6
+ occupations: string[];
7
+ }
8
+ export declare const getOccupationListRequest: {
9
+ encode(_: getOccupationListRequest, writer?: _m0.Writer): _m0.Writer;
10
+ decode(input: _m0.Reader | Uint8Array, length?: number): getOccupationListRequest;
11
+ fromJSON(_: any): getOccupationListRequest;
12
+ toJSON(_: getOccupationListRequest): unknown;
13
+ create<I extends Exact<DeepPartial<getOccupationListRequest>, I>>(base?: I): getOccupationListRequest;
14
+ fromPartial<I extends Exact<DeepPartial<getOccupationListRequest>, I>>(_: I): getOccupationListRequest;
15
+ };
16
+ export declare const getOccupationListResponse: {
17
+ encode(message: getOccupationListResponse, writer?: _m0.Writer): _m0.Writer;
18
+ decode(input: _m0.Reader | Uint8Array, length?: number): getOccupationListResponse;
19
+ fromJSON(object: any): getOccupationListResponse;
20
+ toJSON(message: getOccupationListResponse): unknown;
21
+ create<I extends Exact<DeepPartial<getOccupationListResponse>, I>>(base?: I): getOccupationListResponse;
22
+ fromPartial<I extends Exact<DeepPartial<getOccupationListResponse>, I>>(object: I): getOccupationListResponse;
23
+ };
24
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
25
+ 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 {} ? {
26
+ [K in keyof T]?: DeepPartial<T[K]>;
27
+ } : Partial<T>;
28
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
29
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
30
+ [K in keyof P]: Exact<P[K], I[K]>;
31
+ } & {
32
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
33
+ };
34
+ export {};
@@ -0,0 +1,105 @@
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.28.0
6
+ // source: customers/getoccupationlist.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.getOccupationListResponse = exports.getOccupationListRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.getoccupationlist";
15
+ function createBasegetOccupationListRequest() {
16
+ return {};
17
+ }
18
+ exports.getOccupationListRequest = {
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 = createBasegetOccupationListRequest();
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.getOccupationListRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetOccupationListRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetOccupationListResponse() {
53
+ return { occupations: [] };
54
+ }
55
+ exports.getOccupationListResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ for (const v of message.occupations) {
58
+ writer.uint32(10).string(v);
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 = createBasegetOccupationListResponse();
66
+ while (reader.pos < end) {
67
+ const tag = reader.uint32();
68
+ switch (tag >>> 3) {
69
+ case 1:
70
+ if (tag !== 10) {
71
+ break;
72
+ }
73
+ message.occupations.push(reader.string());
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 {
85
+ occupations: globalThis.Array.isArray(object?.occupations)
86
+ ? object.occupations.map((e) => globalThis.String(e))
87
+ : [],
88
+ };
89
+ },
90
+ toJSON(message) {
91
+ const obj = {};
92
+ if (message.occupations?.length) {
93
+ obj.occupations = message.occupations;
94
+ }
95
+ return obj;
96
+ },
97
+ create(base) {
98
+ return exports.getOccupationListResponse.fromPartial(base ?? {});
99
+ },
100
+ fromPartial(object) {
101
+ const message = createBasegetOccupationListResponse();
102
+ message.occupations = object.occupations?.map((e) => e) || [];
103
+ return message;
104
+ },
105
+ };
@@ -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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getprofessionalinfo.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.4
5
+ // protoc v5.28.0
6
6
  // source: customers/getprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };