@stashfin/grpc 1.2.171 → 1.2.173

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 (102) 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.d.ts +8 -3
  7. package/ts/colender/disburseLoan.js +105 -24
  8. package/ts/colender/forecloseLoan.d.ts +16 -0
  9. package/ts/colender/forecloseLoan.js +137 -9
  10. package/ts/colender/repayLoan.d.ts +16 -7
  11. package/ts/colender/repayLoan.js +117 -95
  12. package/ts/colender.js +1 -1
  13. package/ts/customers/aa/getbanklist.js +1 -1
  14. package/ts/customers/aa/initiate.js +1 -1
  15. package/ts/customers/addaddress.js +1 -1
  16. package/ts/customers/addbankaccountdetails.js +1 -1
  17. package/ts/customers/addfathersname.js +1 -1
  18. package/ts/customers/addgstnumber.js +1 -1
  19. package/ts/customers/addmoredetails.d.ts +17 -12
  20. package/ts/customers/addmoredetails.js +189 -70
  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/changempin.js +1 -1
  25. package/ts/customers/createcustomerreference.js +1 -1
  26. package/ts/customers/deleteprofile.js +1 -1
  27. package/ts/customers/disablempin.js +1 -1
  28. package/ts/customers/fetchrcprofile.js +1 -1
  29. package/ts/customers/forgotmpin.js +1 -1
  30. package/ts/customers/forgotmpinverify.js +1 -1
  31. package/ts/customers/getbankaccountdetails.js +1 -1
  32. package/ts/customers/getbasicinfo.js +1 -1
  33. package/ts/customers/getcities.js +1 -1
  34. package/ts/customers/getcompanyaccdetails.js +1 -1
  35. package/ts/customers/getcustomerbyid.js +1 -1
  36. package/ts/customers/getdashboard.js +1 -1
  37. package/ts/customers/getdashboardmaincard.js +1 -1
  38. package/ts/customers/getdocuments.js +1 -1
  39. package/ts/customers/getlimit.js +1 -1
  40. package/ts/customers/getoccupationlist.d.ts +34 -0
  41. package/ts/customers/getoccupationlist.js +105 -0
  42. package/ts/customers/getprofessionalinfo.js +1 -1
  43. package/ts/customers/getprofile.js +1 -1
  44. package/ts/customers/getselfieetxnid.js +1 -1
  45. package/ts/customers/getstates.js +1 -1
  46. package/ts/customers/getstep.js +1 -1
  47. package/ts/customers/logout.js +1 -1
  48. package/ts/customers/profilebasic.js +1 -1
  49. package/ts/customers/profileupdatetnc.js +1 -1
  50. package/ts/customers/savebasicdetails.js +1 -1
  51. package/ts/customers/saveunlocklimit.js +1 -1
  52. package/ts/customers/sendotp.js +1 -1
  53. package/ts/customers/sendotptoemail.js +1 -1
  54. package/ts/customers/setmpin.js +1 -1
  55. package/ts/customers/skipscreen.js +1 -1
  56. package/ts/customers/updatecustomerbyid.js +1 -1
  57. package/ts/customers/updatedlnumber.js +1 -1
  58. package/ts/customers/updatedob.js +1 -1
  59. package/ts/customers/updatelocstatus.js +1 -1
  60. package/ts/customers/updatemobilesendotp.js +1 -1
  61. package/ts/customers/updatemobileverifyotp.js +1 -1
  62. package/ts/customers/updateokyctxn.js +1 -1
  63. package/ts/customers/updateselfieetxn.js +1 -1
  64. package/ts/customers/updatevehiclenumber.js +1 -1
  65. package/ts/customers/uploaddocuments.js +1 -1
  66. package/ts/customers/validatepan.js +1 -1
  67. package/ts/customers/verifympin.js +1 -1
  68. package/ts/customers/verifyotp.js +1 -1
  69. package/ts/customers/verifyotptoemail.js +1 -1
  70. package/ts/customers.d.ts +14 -0
  71. package/ts/customers.js +11 -1
  72. package/ts/example.js +1 -1
  73. package/ts/growth/processchrpayment.js +1 -1
  74. package/ts/growth.js +1 -1
  75. package/ts/loans/approveloan.js +1 -1
  76. package/ts/loans/banklist.js +1 -1
  77. package/ts/loans/calculateemi.js +1 -1
  78. package/ts/loans/creditlimit.js +1 -1
  79. package/ts/loans/futurepaymentmoredetails.js +1 -1
  80. package/ts/loans/getbilldetails.js +1 -1
  81. package/ts/loans/getcustomerloanstatus.js +1 -1
  82. package/ts/loans/getloanbyid.js +1 -1
  83. package/ts/loans/getnextdueamount.js +1 -1
  84. package/ts/loans/getpendingemiamount.js +1 -1
  85. package/ts/loans/getsummarystaticfields.js +1 -1
  86. package/ts/loans/loansummary.js +1 -1
  87. package/ts/loans/paymentallocation.js +1 -1
  88. package/ts/loans/paymenthistory.js +1 -1
  89. package/ts/loans/restructureloan.js +1 -1
  90. package/ts/loans/sendemail.js +1 -1
  91. package/ts/loans/sendnocemail.js +1 -1
  92. package/ts/loans/transactionlist.js +1 -1
  93. package/ts/loans/updateinstallments.js +1 -1
  94. package/ts/loans/updateloan.js +1 -1
  95. package/ts/loans.js +1 -1
  96. package/ts/payments.js +1 -1
  97. package/ts/stashcash/creditsc.js +1 -1
  98. package/ts/stashcash/debitsc.js +1 -1
  99. package/ts/stashcash/getscbalance.js +1 -1
  100. package/ts/stashcash/getschistory.js +1 -1
  101. package/ts/stashcash/reversesc.js +1 -1
  102. package/ts/stashcash.js +1 -1
@@ -2,33 +2,105 @@
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.RequestBody = exports.protobufPackage = void 0;
11
+ exports.addMoreDetailsResponse = exports.addMoreDetailsRequest = exports.OccupationType = exports.protobufPackage = void 0;
12
+ exports.occupationTypeFromJSON = occupationTypeFromJSON;
13
+ exports.occupationTypeToJSON = occupationTypeToJSON;
12
14
  /* eslint-disable */
13
15
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
16
  exports.protobufPackage = "customers.addmoredetails";
15
- function createBaseRequestBody() {
16
- return { key: "", value: "" };
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
+ }
17
36
  }
18
- exports.RequestBody = {
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
+ function createBaseaddMoreDetailsRequest() {
49
+ return {
50
+ father_name: "",
51
+ occupation: 0,
52
+ cur_house: undefined,
53
+ cur_address_line1: "",
54
+ cur_address_line2: "",
55
+ cur_pincode: "",
56
+ is_same_per_address: false,
57
+ per_house: undefined,
58
+ per_address_line1: undefined,
59
+ per_address_line2: undefined,
60
+ per_pincode: undefined,
61
+ };
62
+ }
63
+ exports.addMoreDetailsRequest = {
19
64
  encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.key !== "") {
21
- writer.uint32(10).string(message.key);
65
+ if (message.father_name !== "") {
66
+ writer.uint32(10).string(message.father_name);
67
+ }
68
+ if (message.occupation !== 0) {
69
+ writer.uint32(16).int32(message.occupation);
70
+ }
71
+ if (message.cur_house !== undefined) {
72
+ writer.uint32(26).string(message.cur_house);
73
+ }
74
+ if (message.cur_address_line1 !== "") {
75
+ writer.uint32(34).string(message.cur_address_line1);
76
+ }
77
+ if (message.cur_address_line2 !== "") {
78
+ writer.uint32(42).string(message.cur_address_line2);
79
+ }
80
+ if (message.cur_pincode !== "") {
81
+ writer.uint32(50).string(message.cur_pincode);
82
+ }
83
+ if (message.is_same_per_address !== false) {
84
+ writer.uint32(56).bool(message.is_same_per_address);
85
+ }
86
+ if (message.per_house !== undefined) {
87
+ writer.uint32(66).string(message.per_house);
22
88
  }
23
- if (message.value !== "") {
24
- writer.uint32(18).string(message.value);
89
+ if (message.per_address_line1 !== undefined) {
90
+ writer.uint32(74).string(message.per_address_line1);
91
+ }
92
+ if (message.per_address_line2 !== undefined) {
93
+ writer.uint32(82).string(message.per_address_line2);
94
+ }
95
+ if (message.per_pincode !== undefined) {
96
+ writer.uint32(90).string(message.per_pincode);
25
97
  }
26
98
  return writer;
27
99
  },
28
100
  decode(input, length) {
29
101
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
30
102
  let end = length === undefined ? reader.len : reader.pos + length;
31
- const message = createBaseRequestBody();
103
+ const message = createBaseaddMoreDetailsRequest();
32
104
  while (reader.pos < end) {
33
105
  const tag = reader.uint32();
34
106
  switch (tag >>> 3) {
@@ -36,13 +108,67 @@ exports.RequestBody = {
36
108
  if (tag !== 10) {
37
109
  break;
38
110
  }
39
- message.key = reader.string();
111
+ message.father_name = reader.string();
40
112
  continue;
41
113
  case 2:
42
- if (tag !== 18) {
114
+ if (tag !== 16) {
115
+ break;
116
+ }
117
+ message.occupation = reader.int32();
118
+ continue;
119
+ case 3:
120
+ if (tag !== 26) {
43
121
  break;
44
122
  }
45
- message.value = reader.string();
123
+ message.cur_house = reader.string();
124
+ continue;
125
+ case 4:
126
+ if (tag !== 34) {
127
+ break;
128
+ }
129
+ message.cur_address_line1 = reader.string();
130
+ continue;
131
+ case 5:
132
+ if (tag !== 42) {
133
+ break;
134
+ }
135
+ message.cur_address_line2 = reader.string();
136
+ continue;
137
+ case 6:
138
+ if (tag !== 50) {
139
+ break;
140
+ }
141
+ message.cur_pincode = reader.string();
142
+ continue;
143
+ case 7:
144
+ if (tag !== 56) {
145
+ break;
146
+ }
147
+ message.is_same_per_address = reader.bool();
148
+ continue;
149
+ case 8:
150
+ if (tag !== 66) {
151
+ break;
152
+ }
153
+ message.per_house = reader.string();
154
+ continue;
155
+ case 9:
156
+ if (tag !== 74) {
157
+ break;
158
+ }
159
+ message.per_address_line1 = reader.string();
160
+ continue;
161
+ case 10:
162
+ if (tag !== 82) {
163
+ break;
164
+ }
165
+ message.per_address_line2 = reader.string();
166
+ continue;
167
+ case 11:
168
+ if (tag !== 90) {
169
+ break;
170
+ }
171
+ message.per_pincode = reader.string();
46
172
  continue;
47
173
  }
48
174
  if ((tag & 7) === 4 || tag === 0) {
@@ -54,70 +180,53 @@ exports.RequestBody = {
54
180
  },
55
181
  fromJSON(object) {
56
182
  return {
57
- key: isSet(object.key) ? globalThis.String(object.key) : "",
58
- value: isSet(object.value) ? globalThis.String(object.value) : "",
183
+ father_name: isSet(object.father_name) ? globalThis.String(object.father_name) : "",
184
+ occupation: isSet(object.occupation) ? occupationTypeFromJSON(object.occupation) : 0,
185
+ cur_house: isSet(object.cur_house) ? globalThis.String(object.cur_house) : undefined,
186
+ cur_address_line1: isSet(object.cur_address_line1) ? globalThis.String(object.cur_address_line1) : "",
187
+ cur_address_line2: isSet(object.cur_address_line2) ? globalThis.String(object.cur_address_line2) : "",
188
+ cur_pincode: isSet(object.cur_pincode) ? globalThis.String(object.cur_pincode) : "",
189
+ is_same_per_address: isSet(object.is_same_per_address) ? globalThis.Boolean(object.is_same_per_address) : false,
190
+ per_house: isSet(object.per_house) ? globalThis.String(object.per_house) : undefined,
191
+ per_address_line1: isSet(object.per_address_line1) ? globalThis.String(object.per_address_line1) : undefined,
192
+ per_address_line2: isSet(object.per_address_line2) ? globalThis.String(object.per_address_line2) : undefined,
193
+ per_pincode: isSet(object.per_pincode) ? globalThis.String(object.per_pincode) : undefined,
59
194
  };
60
195
  },
61
196
  toJSON(message) {
62
197
  const obj = {};
63
- if (message.key !== "") {
64
- obj.key = message.key;
198
+ if (message.father_name !== "") {
199
+ obj.father_name = message.father_name;
65
200
  }
66
- if (message.value !== "") {
67
- obj.value = message.value;
201
+ if (message.occupation !== 0) {
202
+ obj.occupation = occupationTypeToJSON(message.occupation);
68
203
  }
69
- return obj;
70
- },
71
- create(base) {
72
- return exports.RequestBody.fromPartial(base ?? {});
73
- },
74
- fromPartial(object) {
75
- const message = createBaseRequestBody();
76
- message.key = object.key ?? "";
77
- message.value = object.value ?? "";
78
- return message;
79
- },
80
- };
81
- function createBaseaddMoreDetailsRequest() {
82
- return { request: [] };
83
- }
84
- exports.addMoreDetailsRequest = {
85
- encode(message, writer = minimal_1.default.Writer.create()) {
86
- for (const v of message.request) {
87
- exports.RequestBody.encode(v, writer.uint32(10).fork()).ldelim();
204
+ if (message.cur_house !== undefined) {
205
+ obj.cur_house = message.cur_house;
88
206
  }
89
- return writer;
90
- },
91
- decode(input, length) {
92
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
93
- let end = length === undefined ? reader.len : reader.pos + length;
94
- const message = createBaseaddMoreDetailsRequest();
95
- while (reader.pos < end) {
96
- const tag = reader.uint32();
97
- switch (tag >>> 3) {
98
- case 1:
99
- if (tag !== 10) {
100
- break;
101
- }
102
- message.request.push(exports.RequestBody.decode(reader, reader.uint32()));
103
- continue;
104
- }
105
- if ((tag & 7) === 4 || tag === 0) {
106
- break;
107
- }
108
- reader.skipType(tag & 7);
207
+ if (message.cur_address_line1 !== "") {
208
+ obj.cur_address_line1 = message.cur_address_line1;
109
209
  }
110
- return message;
111
- },
112
- fromJSON(object) {
113
- return {
114
- request: globalThis.Array.isArray(object?.request) ? object.request.map((e) => exports.RequestBody.fromJSON(e)) : [],
115
- };
116
- },
117
- toJSON(message) {
118
- const obj = {};
119
- if (message.request?.length) {
120
- obj.request = message.request.map((e) => exports.RequestBody.toJSON(e));
210
+ if (message.cur_address_line2 !== "") {
211
+ obj.cur_address_line2 = message.cur_address_line2;
212
+ }
213
+ if (message.cur_pincode !== "") {
214
+ obj.cur_pincode = message.cur_pincode;
215
+ }
216
+ if (message.is_same_per_address !== false) {
217
+ obj.is_same_per_address = message.is_same_per_address;
218
+ }
219
+ if (message.per_house !== undefined) {
220
+ obj.per_house = message.per_house;
221
+ }
222
+ if (message.per_address_line1 !== undefined) {
223
+ obj.per_address_line1 = message.per_address_line1;
224
+ }
225
+ if (message.per_address_line2 !== undefined) {
226
+ obj.per_address_line2 = message.per_address_line2;
227
+ }
228
+ if (message.per_pincode !== undefined) {
229
+ obj.per_pincode = message.per_pincode;
121
230
  }
122
231
  return obj;
123
232
  },
@@ -126,7 +235,17 @@ exports.addMoreDetailsRequest = {
126
235
  },
127
236
  fromPartial(object) {
128
237
  const message = createBaseaddMoreDetailsRequest();
129
- message.request = object.request?.map((e) => exports.RequestBody.fromPartial(e)) || [];
238
+ message.father_name = object.father_name ?? "";
239
+ message.occupation = object.occupation ?? 0;
240
+ message.cur_house = object.cur_house ?? undefined;
241
+ message.cur_address_line1 = object.cur_address_line1 ?? "";
242
+ message.cur_address_line2 = object.cur_address_line2 ?? "";
243
+ message.cur_pincode = object.cur_pincode ?? "";
244
+ message.is_same_per_address = object.is_same_per_address ?? false;
245
+ message.per_house = object.per_house ?? undefined;
246
+ message.per_address_line1 = object.per_address_line1 ?? undefined;
247
+ message.per_address_line2 = object.per_address_line2 ?? undefined;
248
+ message.per_pincode = object.per_pincode ?? undefined;
130
249
  return message;
131
250
  },
132
251
  };
@@ -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 };