@stashfin/grpc 1.2.84 → 1.2.86

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 (80) hide show
  1. package/package.json +2 -1
  2. package/ts/bureau/getbureau.d.ts +157 -0
  3. package/ts/bureau/getbureau.js +1386 -0
  4. package/ts/bureau.d.ts +28 -0
  5. package/ts/bureau.js +24 -0
  6. package/ts/customers/aa/getbanklist.js +1 -1
  7. package/ts/customers/aa/initiate.js +1 -1
  8. package/ts/customers/addaddress.js +1 -1
  9. package/ts/customers/addbankaccountdetails.js +1 -1
  10. package/ts/customers/addsuspendedcustomer.js +1 -1
  11. package/ts/customers/adduserapps.js +1 -1
  12. package/ts/customers/createcustomerreference.js +1 -1
  13. package/ts/customers/deleteprofile.d.ts +1 -0
  14. package/ts/customers/deleteprofile.js +19 -3
  15. package/ts/customers/fetchrcprofile.d.ts +43 -0
  16. package/ts/customers/fetchrcprofile.js +241 -0
  17. package/ts/customers/forgotmpin.js +1 -1
  18. package/ts/customers/forgotmpinotp.js +1 -1
  19. package/ts/customers/getbankaccountdetails.js +1 -1
  20. package/ts/customers/getbasicinfo.js +1 -1
  21. package/ts/customers/getcities.js +1 -1
  22. package/ts/customers/getcustomerbyid.js +1 -1
  23. package/ts/customers/getdashboard.js +1 -1
  24. package/ts/customers/getdashboardmaincard.js +1 -1
  25. package/ts/customers/getdocuments.js +1 -1
  26. package/ts/customers/getkycweburl.js +1 -1
  27. package/ts/customers/getprofessionalinfo.js +1 -1
  28. package/ts/customers/getprofile.js +1 -1
  29. package/ts/customers/getstates.js +1 -1
  30. package/ts/customers/getstep.js +1 -1
  31. package/ts/customers/profilebasic.js +1 -1
  32. package/ts/customers/profileupdatetnc.js +1 -1
  33. package/ts/customers/resetmpin.js +1 -1
  34. package/ts/customers/savebasicdetails.js +1 -1
  35. package/ts/customers/saveunlocklimit.js +1 -1
  36. package/ts/customers/sendemailtoken.js +1 -1
  37. package/ts/customers/sendotp.js +1 -1
  38. package/ts/customers/setmpin.js +1 -1
  39. package/ts/customers/step10.js +1 -1
  40. package/ts/customers/step7.js +1 -1
  41. package/ts/customers/step8.js +1 -1
  42. package/ts/customers/step9.js +1 -1
  43. package/ts/customers/stepstatic.js +1 -1
  44. package/ts/customers/updatedigilockertxn.js +1 -1
  45. package/ts/customers/updatedob.js +1 -1
  46. package/ts/customers/updatehypervergetxn.js +1 -1
  47. package/ts/customers/updatelocstatus.d.ts +1 -0
  48. package/ts/customers/updatelocstatus.js +19 -3
  49. package/ts/customers/validatepan.js +1 -1
  50. package/ts/customers/verifyemail.js +1 -1
  51. package/ts/customers/verifympin.js +1 -1
  52. package/ts/customers/verifyotp.js +1 -1
  53. package/ts/customers.d.ts +14 -0
  54. package/ts/customers.js +11 -1
  55. package/ts/example.js +1 -1
  56. package/ts/google/protobuf/timestamp.d.ts +1 -1
  57. package/ts/google/protobuf/timestamp.js +1 -1
  58. package/ts/loans/approveloan.js +1 -1
  59. package/ts/loans/banklist.js +1 -1
  60. package/ts/loans/calculateemi.js +1 -1
  61. package/ts/loans/creditlimit.js +1 -1
  62. package/ts/loans/getcustomerloanstatus.js +1 -1
  63. package/ts/loans/loansummary.d.ts +4 -2
  64. package/ts/loans/loansummary.js +55 -17
  65. package/ts/loans/paymentallocation.d.ts +1 -1
  66. package/ts/loans/paymentallocation.js +10 -10
  67. package/ts/loans/restructureloan.js +1 -1
  68. package/ts/loans/sendemail.js +1 -1
  69. package/ts/loans/sendnocemail.js +1 -1
  70. package/ts/loans/transactionlist.js +1 -1
  71. package/ts/loans/updateinstallments.js +1 -1
  72. package/ts/loans/updateloan.js +1 -1
  73. package/ts/loans.js +1 -1
  74. package/ts/payments.js +1 -1
  75. package/ts/stashcash/creditsc.js +1 -1
  76. package/ts/stashcash/debitsc.js +1 -1
  77. package/ts/stashcash/getscbalance.js +1 -1
  78. package/ts/stashcash/getschistory.js +1 -1
  79. package/ts/stashcash/reversesc.js +1 -1
  80. package/ts/stashcash.js +1 -1
package/ts/bureau.d.ts ADDED
@@ -0,0 +1,28 @@
1
+ import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
2
+ import { bureauRequest, bureauResponse } from "./bureau/getbureau";
3
+ export declare const protobufPackage = "service";
4
+ export type bureauService = typeof bureauService;
5
+ export declare const bureauService: {
6
+ readonly getbureau: {
7
+ readonly path: "/service.bureau/getbureau";
8
+ readonly requestStream: false;
9
+ readonly responseStream: false;
10
+ readonly requestSerialize: (value: bureauRequest) => Buffer;
11
+ readonly requestDeserialize: (value: Buffer) => bureauRequest;
12
+ readonly responseSerialize: (value: bureauResponse) => Buffer;
13
+ readonly responseDeserialize: (value: Buffer) => bureauResponse;
14
+ };
15
+ };
16
+ export interface bureauServer extends UntypedServiceImplementation {
17
+ getbureau: handleUnaryCall<bureauRequest, bureauResponse>;
18
+ }
19
+ export interface bureauClient extends Client {
20
+ getbureau(request: bureauRequest, callback: (error: ServiceError | null, response: bureauResponse) => void): ClientUnaryCall;
21
+ getbureau(request: bureauRequest, metadata: Metadata, callback: (error: ServiceError | null, response: bureauResponse) => void): ClientUnaryCall;
22
+ getbureau(request: bureauRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: bureauResponse) => void): ClientUnaryCall;
23
+ }
24
+ export declare const bureauClient: {
25
+ new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): bureauClient;
26
+ service: typeof bureauService;
27
+ serviceName: string;
28
+ };
package/ts/bureau.js ADDED
@@ -0,0 +1,24 @@
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: bureau.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.bureauClient = exports.bureauService = exports.protobufPackage = void 0;
9
+ /* eslint-disable */
10
+ const grpc_js_1 = require("@grpc/grpc-js");
11
+ const getbureau_1 = require("./bureau/getbureau");
12
+ exports.protobufPackage = "service";
13
+ exports.bureauService = {
14
+ getbureau: {
15
+ path: "/service.bureau/getbureau",
16
+ requestStream: false,
17
+ responseStream: false,
18
+ requestSerialize: (value) => Buffer.from(getbureau_1.bureauRequest.encode(value).finish()),
19
+ requestDeserialize: (value) => getbureau_1.bureauRequest.decode(value),
20
+ responseSerialize: (value) => Buffer.from(getbureau_1.bureauResponse.encode(value).finish()),
21
+ responseDeserialize: (value) => getbureau_1.bureauResponse.decode(value),
22
+ },
23
+ };
24
+ exports.bureauClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.bureauService, "service.bureau");
@@ -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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/createcustomerreference.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,6 +4,7 @@ export interface deleteProfileRequest {
4
4
  }
5
5
  export interface deleteProfileResponse {
6
6
  status: boolean;
7
+ pending_loan_amount: number;
7
8
  }
8
9
  export declare const deleteProfileRequest: {
9
10
  encode(_: deleteProfileRequest, writer?: _m0.Writer): _m0.Writer;
@@ -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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/deleteprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -50,13 +50,16 @@ exports.deleteProfileRequest = {
50
50
  },
51
51
  };
52
52
  function createBasedeleteProfileResponse() {
53
- return { status: false };
53
+ return { status: false, pending_loan_amount: 0 };
54
54
  }
55
55
  exports.deleteProfileResponse = {
56
56
  encode(message, writer = minimal_1.default.Writer.create()) {
57
57
  if (message.status !== false) {
58
58
  writer.uint32(8).bool(message.status);
59
59
  }
60
+ if (message.pending_loan_amount !== 0) {
61
+ writer.uint32(21).float(message.pending_loan_amount);
62
+ }
60
63
  return writer;
61
64
  },
62
65
  decode(input, length) {
@@ -72,6 +75,12 @@ exports.deleteProfileResponse = {
72
75
  }
73
76
  message.status = reader.bool();
74
77
  continue;
78
+ case 2:
79
+ if (tag !== 21) {
80
+ break;
81
+ }
82
+ message.pending_loan_amount = reader.float();
83
+ continue;
75
84
  }
76
85
  if ((tag & 7) === 4 || tag === 0) {
77
86
  break;
@@ -81,13 +90,19 @@ exports.deleteProfileResponse = {
81
90
  return message;
82
91
  },
83
92
  fromJSON(object) {
84
- return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
93
+ return {
94
+ status: isSet(object.status) ? globalThis.Boolean(object.status) : false,
95
+ pending_loan_amount: isSet(object.pending_loan_amount) ? globalThis.Number(object.pending_loan_amount) : 0,
96
+ };
85
97
  },
86
98
  toJSON(message) {
87
99
  const obj = {};
88
100
  if (message.status !== false) {
89
101
  obj.status = message.status;
90
102
  }
103
+ if (message.pending_loan_amount !== 0) {
104
+ obj.pending_loan_amount = message.pending_loan_amount;
105
+ }
91
106
  return obj;
92
107
  },
93
108
  create(base) {
@@ -96,6 +111,7 @@ exports.deleteProfileResponse = {
96
111
  fromPartial(object) {
97
112
  const message = createBasedeleteProfileResponse();
98
113
  message.status = object.status ?? false;
114
+ message.pending_loan_amount = object.pending_loan_amount ?? 0;
99
115
  return message;
100
116
  },
101
117
  };
@@ -0,0 +1,43 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.fetchrcprofile";
3
+ export interface fetchRCProfileRequest {
4
+ rcNumber: string;
5
+ }
6
+ export interface fetchRCProfileResponse {
7
+ customerId: number;
8
+ requestId: string;
9
+ rcNumber: string;
10
+ name: string;
11
+ presentAddress: string;
12
+ permanentAddress: string;
13
+ fatherName: string;
14
+ financed: boolean;
15
+ financier: string;
16
+ }
17
+ export declare const fetchRCProfileRequest: {
18
+ encode(message: fetchRCProfileRequest, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): fetchRCProfileRequest;
20
+ fromJSON(object: any): fetchRCProfileRequest;
21
+ toJSON(message: fetchRCProfileRequest): unknown;
22
+ create<I extends Exact<DeepPartial<fetchRCProfileRequest>, I>>(base?: I): fetchRCProfileRequest;
23
+ fromPartial<I extends Exact<DeepPartial<fetchRCProfileRequest>, I>>(object: I): fetchRCProfileRequest;
24
+ };
25
+ export declare const fetchRCProfileResponse: {
26
+ encode(message: fetchRCProfileResponse, writer?: _m0.Writer): _m0.Writer;
27
+ decode(input: _m0.Reader | Uint8Array, length?: number): fetchRCProfileResponse;
28
+ fromJSON(object: any): fetchRCProfileResponse;
29
+ toJSON(message: fetchRCProfileResponse): unknown;
30
+ create<I extends Exact<DeepPartial<fetchRCProfileResponse>, I>>(base?: I): fetchRCProfileResponse;
31
+ fromPartial<I extends Exact<DeepPartial<fetchRCProfileResponse>, I>>(object: I): fetchRCProfileResponse;
32
+ };
33
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
34
+ 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 {} ? {
35
+ [K in keyof T]?: DeepPartial<T[K]>;
36
+ } : Partial<T>;
37
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
38
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
39
+ [K in keyof P]: Exact<P[K], I[K]>;
40
+ } & {
41
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
42
+ };
43
+ export {};
@@ -0,0 +1,241 @@
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: customers/fetchrcprofile.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.fetchRCProfileResponse = exports.fetchRCProfileRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.fetchrcprofile";
15
+ function createBasefetchRCProfileRequest() {
16
+ return { rcNumber: "" };
17
+ }
18
+ exports.fetchRCProfileRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.rcNumber !== "") {
21
+ writer.uint32(10).string(message.rcNumber);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBasefetchRCProfileRequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 10) {
34
+ break;
35
+ }
36
+ message.rcNumber = reader.string();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { rcNumber: isSet(object.rcNumber) ? globalThis.String(object.rcNumber) : "" };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.rcNumber !== "") {
52
+ obj.rcNumber = message.rcNumber;
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.fetchRCProfileRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBasefetchRCProfileRequest();
61
+ message.rcNumber = object.rcNumber ?? "";
62
+ return message;
63
+ },
64
+ };
65
+ function createBasefetchRCProfileResponse() {
66
+ return {
67
+ customerId: 0,
68
+ requestId: "",
69
+ rcNumber: "",
70
+ name: "",
71
+ presentAddress: "",
72
+ permanentAddress: "",
73
+ fatherName: "",
74
+ financed: false,
75
+ financier: "",
76
+ };
77
+ }
78
+ exports.fetchRCProfileResponse = {
79
+ encode(message, writer = minimal_1.default.Writer.create()) {
80
+ if (message.customerId !== 0) {
81
+ writer.uint32(8).int32(message.customerId);
82
+ }
83
+ if (message.requestId !== "") {
84
+ writer.uint32(18).string(message.requestId);
85
+ }
86
+ if (message.rcNumber !== "") {
87
+ writer.uint32(26).string(message.rcNumber);
88
+ }
89
+ if (message.name !== "") {
90
+ writer.uint32(34).string(message.name);
91
+ }
92
+ if (message.presentAddress !== "") {
93
+ writer.uint32(42).string(message.presentAddress);
94
+ }
95
+ if (message.permanentAddress !== "") {
96
+ writer.uint32(50).string(message.permanentAddress);
97
+ }
98
+ if (message.fatherName !== "") {
99
+ writer.uint32(58).string(message.fatherName);
100
+ }
101
+ if (message.financed !== false) {
102
+ writer.uint32(64).bool(message.financed);
103
+ }
104
+ if (message.financier !== "") {
105
+ writer.uint32(74).string(message.financier);
106
+ }
107
+ return writer;
108
+ },
109
+ decode(input, length) {
110
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
111
+ let end = length === undefined ? reader.len : reader.pos + length;
112
+ const message = createBasefetchRCProfileResponse();
113
+ while (reader.pos < end) {
114
+ const tag = reader.uint32();
115
+ switch (tag >>> 3) {
116
+ case 1:
117
+ if (tag !== 8) {
118
+ break;
119
+ }
120
+ message.customerId = reader.int32();
121
+ continue;
122
+ case 2:
123
+ if (tag !== 18) {
124
+ break;
125
+ }
126
+ message.requestId = reader.string();
127
+ continue;
128
+ case 3:
129
+ if (tag !== 26) {
130
+ break;
131
+ }
132
+ message.rcNumber = reader.string();
133
+ continue;
134
+ case 4:
135
+ if (tag !== 34) {
136
+ break;
137
+ }
138
+ message.name = reader.string();
139
+ continue;
140
+ case 5:
141
+ if (tag !== 42) {
142
+ break;
143
+ }
144
+ message.presentAddress = reader.string();
145
+ continue;
146
+ case 6:
147
+ if (tag !== 50) {
148
+ break;
149
+ }
150
+ message.permanentAddress = reader.string();
151
+ continue;
152
+ case 7:
153
+ if (tag !== 58) {
154
+ break;
155
+ }
156
+ message.fatherName = reader.string();
157
+ continue;
158
+ case 8:
159
+ if (tag !== 64) {
160
+ break;
161
+ }
162
+ message.financed = reader.bool();
163
+ continue;
164
+ case 9:
165
+ if (tag !== 74) {
166
+ break;
167
+ }
168
+ message.financier = reader.string();
169
+ continue;
170
+ }
171
+ if ((tag & 7) === 4 || tag === 0) {
172
+ break;
173
+ }
174
+ reader.skipType(tag & 7);
175
+ }
176
+ return message;
177
+ },
178
+ fromJSON(object) {
179
+ return {
180
+ customerId: isSet(object.customerId) ? globalThis.Number(object.customerId) : 0,
181
+ requestId: isSet(object.requestId) ? globalThis.String(object.requestId) : "",
182
+ rcNumber: isSet(object.rcNumber) ? globalThis.String(object.rcNumber) : "",
183
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
184
+ presentAddress: isSet(object.presentAddress) ? globalThis.String(object.presentAddress) : "",
185
+ permanentAddress: isSet(object.permanentAddress) ? globalThis.String(object.permanentAddress) : "",
186
+ fatherName: isSet(object.fatherName) ? globalThis.String(object.fatherName) : "",
187
+ financed: isSet(object.financed) ? globalThis.Boolean(object.financed) : false,
188
+ financier: isSet(object.financier) ? globalThis.String(object.financier) : "",
189
+ };
190
+ },
191
+ toJSON(message) {
192
+ const obj = {};
193
+ if (message.customerId !== 0) {
194
+ obj.customerId = Math.round(message.customerId);
195
+ }
196
+ if (message.requestId !== "") {
197
+ obj.requestId = message.requestId;
198
+ }
199
+ if (message.rcNumber !== "") {
200
+ obj.rcNumber = message.rcNumber;
201
+ }
202
+ if (message.name !== "") {
203
+ obj.name = message.name;
204
+ }
205
+ if (message.presentAddress !== "") {
206
+ obj.presentAddress = message.presentAddress;
207
+ }
208
+ if (message.permanentAddress !== "") {
209
+ obj.permanentAddress = message.permanentAddress;
210
+ }
211
+ if (message.fatherName !== "") {
212
+ obj.fatherName = message.fatherName;
213
+ }
214
+ if (message.financed !== false) {
215
+ obj.financed = message.financed;
216
+ }
217
+ if (message.financier !== "") {
218
+ obj.financier = message.financier;
219
+ }
220
+ return obj;
221
+ },
222
+ create(base) {
223
+ return exports.fetchRCProfileResponse.fromPartial(base ?? {});
224
+ },
225
+ fromPartial(object) {
226
+ const message = createBasefetchRCProfileResponse();
227
+ message.customerId = object.customerId ?? 0;
228
+ message.requestId = object.requestId ?? "";
229
+ message.rcNumber = object.rcNumber ?? "";
230
+ message.name = object.name ?? "";
231
+ message.presentAddress = object.presentAddress ?? "";
232
+ message.permanentAddress = object.permanentAddress ?? "";
233
+ message.fatherName = object.fatherName ?? "";
234
+ message.financed = object.financed ?? false;
235
+ message.financier = object.financier ?? "";
236
+ return message;
237
+ },
238
+ };
239
+ function isSet(value) {
240
+ return value !== null && value !== undefined;
241
+ }
@@ -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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/forgotmpinotp.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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/getkycweburl.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 v3.20.3
5
+ // protoc v5.27.3
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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/getprofile.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/getstates.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/getstep.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/profilebasic.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/profileupdatetnc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };