@stashfin/grpc 1.2.367 → 1.2.369

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 (43) hide show
  1. package/package.json +1 -1
  2. package/ts/customers/accidentprotectionplan.d.ts +52 -0
  3. package/ts/customers/accidentprotectionplan.js +256 -0
  4. package/ts/customers/enach/updatetxnstatus.d.ts +4 -1
  5. package/ts/customers/enach/updatetxnstatus.js +64 -8
  6. package/ts/customers/getdashboardmaincard.d.ts +1 -0
  7. package/ts/customers/getdashboardmaincard.js +15 -0
  8. package/ts/customers/restoreaccount.d.ts +36 -0
  9. package/ts/customers/{skipdlrcscreen.js → restoreaccount.js} +46 -30
  10. package/ts/customers/verifyotp.d.ts +1 -0
  11. package/ts/customers/verifyotp.js +15 -1
  12. package/ts/customers.d.ts +28 -0
  13. package/ts/customers.js +20 -0
  14. package/ts/loans/creditlimit.d.ts +1 -4
  15. package/ts/loans/creditlimit.js +18 -71
  16. package/ts/loans/getvirtualaccountnumber.d.ts +35 -0
  17. package/ts/{customers/verifyemail.js → loans/getvirtualaccountnumber.js} +32 -32
  18. package/ts/loans/updatecollectionview.d.ts +42 -0
  19. package/ts/loans/updatecollectionview.js +226 -0
  20. package/ts/loans.d.ts +14 -0
  21. package/ts/loans.js +10 -0
  22. package/ts/customers/getrpdlink.d.ts +0 -40
  23. package/ts/customers/getrpdlink.js +0 -190
  24. package/ts/customers/sendemailtoken.d.ts +0 -35
  25. package/ts/customers/sendemailtoken.js +0 -117
  26. package/ts/customers/skipdlrcscreen.d.ts +0 -35
  27. package/ts/customers/step1.d.ts +0 -69
  28. package/ts/customers/step1.js +0 -395
  29. package/ts/customers/step10.d.ts +0 -73
  30. package/ts/customers/step10.js +0 -459
  31. package/ts/customers/step2.d.ts +0 -68
  32. package/ts/customers/step2.js +0 -381
  33. package/ts/customers/step7.d.ts +0 -68
  34. package/ts/customers/step7.js +0 -381
  35. package/ts/customers/step8.d.ts +0 -69
  36. package/ts/customers/step8.js +0 -395
  37. package/ts/customers/step9.d.ts +0 -75
  38. package/ts/customers/step9.js +0 -489
  39. package/ts/customers/stepstatic.d.ts +0 -66
  40. package/ts/customers/stepstatic.js +0 -354
  41. package/ts/customers/verifyemail.d.ts +0 -35
  42. package/ts/google/protobuf/timestamp.d.ts +0 -127
  43. package/ts/google/protobuf/timestamp.js +0 -97
@@ -2,38 +2,38 @@
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
6
- // source: customers/verifyemail.proto
5
+ // protoc v5.28.2
6
+ // source: loans/getvirtualaccountnumber.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.verifyEmailResponse = exports.verifyEmailRequest = exports.protobufPackage = void 0;
11
+ exports.getVirtualAccountNumberResponse = exports.getVirtualAccountNumberRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "customers.verifyemail";
15
- function createBaseverifyEmailRequest() {
16
- return { token: "" };
14
+ exports.protobufPackage = "loans.getvirtualaccountnumber";
15
+ function createBasegetVirtualAccountNumberRequest() {
16
+ return { customer_id: 0 };
17
17
  }
18
- exports.verifyEmailRequest = {
18
+ exports.getVirtualAccountNumberRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.token !== "") {
21
- writer.uint32(10).string(message.token);
20
+ if (message.customer_id !== 0) {
21
+ writer.uint32(8).int32(message.customer_id);
22
22
  }
23
23
  return writer;
24
24
  },
25
25
  decode(input, length) {
26
26
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
27
  let end = length === undefined ? reader.len : reader.pos + length;
28
- const message = createBaseverifyEmailRequest();
28
+ const message = createBasegetVirtualAccountNumberRequest();
29
29
  while (reader.pos < end) {
30
30
  const tag = reader.uint32();
31
31
  switch (tag >>> 3) {
32
32
  case 1:
33
- if (tag !== 10) {
33
+ if (tag !== 8) {
34
34
  break;
35
35
  }
36
- message.token = reader.string();
36
+ message.customer_id = reader.int32();
37
37
  continue;
38
38
  }
39
39
  if ((tag & 7) === 4 || tag === 0) {
@@ -44,46 +44,46 @@ exports.verifyEmailRequest = {
44
44
  return message;
45
45
  },
46
46
  fromJSON(object) {
47
- return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
47
+ return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
48
48
  },
49
49
  toJSON(message) {
50
50
  const obj = {};
51
- if (message.token !== "") {
52
- obj.token = message.token;
51
+ if (message.customer_id !== 0) {
52
+ obj.customer_id = Math.round(message.customer_id);
53
53
  }
54
54
  return obj;
55
55
  },
56
56
  create(base) {
57
- return exports.verifyEmailRequest.fromPartial(base ?? {});
57
+ return exports.getVirtualAccountNumberRequest.fromPartial(base ?? {});
58
58
  },
59
59
  fromPartial(object) {
60
- const message = createBaseverifyEmailRequest();
61
- message.token = object.token ?? "";
60
+ const message = createBasegetVirtualAccountNumberRequest();
61
+ message.customer_id = object.customer_id ?? 0;
62
62
  return message;
63
63
  },
64
64
  };
65
- function createBaseverifyEmailResponse() {
66
- return { status: false };
65
+ function createBasegetVirtualAccountNumberResponse() {
66
+ return { account_number: "" };
67
67
  }
68
- exports.verifyEmailResponse = {
68
+ exports.getVirtualAccountNumberResponse = {
69
69
  encode(message, writer = minimal_1.default.Writer.create()) {
70
- if (message.status !== false) {
71
- writer.uint32(8).bool(message.status);
70
+ if (message.account_number !== "") {
71
+ writer.uint32(10).string(message.account_number);
72
72
  }
73
73
  return writer;
74
74
  },
75
75
  decode(input, length) {
76
76
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
77
  let end = length === undefined ? reader.len : reader.pos + length;
78
- const message = createBaseverifyEmailResponse();
78
+ const message = createBasegetVirtualAccountNumberResponse();
79
79
  while (reader.pos < end) {
80
80
  const tag = reader.uint32();
81
81
  switch (tag >>> 3) {
82
82
  case 1:
83
- if (tag !== 8) {
83
+ if (tag !== 10) {
84
84
  break;
85
85
  }
86
- message.status = reader.bool();
86
+ message.account_number = reader.string();
87
87
  continue;
88
88
  }
89
89
  if ((tag & 7) === 4 || tag === 0) {
@@ -94,21 +94,21 @@ exports.verifyEmailResponse = {
94
94
  return message;
95
95
  },
96
96
  fromJSON(object) {
97
- return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
97
+ return { account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : "" };
98
98
  },
99
99
  toJSON(message) {
100
100
  const obj = {};
101
- if (message.status !== false) {
102
- obj.status = message.status;
101
+ if (message.account_number !== "") {
102
+ obj.account_number = message.account_number;
103
103
  }
104
104
  return obj;
105
105
  },
106
106
  create(base) {
107
- return exports.verifyEmailResponse.fromPartial(base ?? {});
107
+ return exports.getVirtualAccountNumberResponse.fromPartial(base ?? {});
108
108
  },
109
109
  fromPartial(object) {
110
- const message = createBaseverifyEmailResponse();
111
- message.status = object.status ?? false;
110
+ const message = createBasegetVirtualAccountNumberResponse();
111
+ message.account_number = object.account_number ?? "";
112
112
  return message;
113
113
  },
114
114
  };
@@ -0,0 +1,42 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.updatecollectionview";
3
+ export interface updateCollectionViewRequest {
4
+ status: string;
5
+ bounce_reason: string;
6
+ ptp_date: string;
7
+ agent_name: string;
8
+ fos_agent: string;
9
+ cl_lead_assign_id: number;
10
+ level: number;
11
+ assigned_level: number;
12
+ }
13
+ export interface updateCollectionViewResponse {
14
+ id: number;
15
+ }
16
+ export declare const updateCollectionViewRequest: {
17
+ encode(message: updateCollectionViewRequest, writer?: _m0.Writer): _m0.Writer;
18
+ decode(input: _m0.Reader | Uint8Array, length?: number): updateCollectionViewRequest;
19
+ fromJSON(object: any): updateCollectionViewRequest;
20
+ toJSON(message: updateCollectionViewRequest): unknown;
21
+ create<I extends Exact<DeepPartial<updateCollectionViewRequest>, I>>(base?: I): updateCollectionViewRequest;
22
+ fromPartial<I extends Exact<DeepPartial<updateCollectionViewRequest>, I>>(object: I): updateCollectionViewRequest;
23
+ };
24
+ export declare const updateCollectionViewResponse: {
25
+ encode(message: updateCollectionViewResponse, writer?: _m0.Writer): _m0.Writer;
26
+ decode(input: _m0.Reader | Uint8Array, length?: number): updateCollectionViewResponse;
27
+ fromJSON(object: any): updateCollectionViewResponse;
28
+ toJSON(message: updateCollectionViewResponse): unknown;
29
+ create<I extends Exact<DeepPartial<updateCollectionViewResponse>, I>>(base?: I): updateCollectionViewResponse;
30
+ fromPartial<I extends Exact<DeepPartial<updateCollectionViewResponse>, I>>(object: I): updateCollectionViewResponse;
31
+ };
32
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
33
+ 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 {} ? {
34
+ [K in keyof T]?: DeepPartial<T[K]>;
35
+ } : Partial<T>;
36
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
37
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
38
+ [K in keyof P]: Exact<P[K], I[K]>;
39
+ } & {
40
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
41
+ };
42
+ export {};
@@ -0,0 +1,226 @@
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.3
6
+ // source: loans/updatecollectionview.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.updateCollectionViewResponse = exports.updateCollectionViewRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.updatecollectionview";
15
+ function createBaseupdateCollectionViewRequest() {
16
+ return {
17
+ status: "",
18
+ bounce_reason: "",
19
+ ptp_date: "",
20
+ agent_name: "",
21
+ fos_agent: "",
22
+ cl_lead_assign_id: 0,
23
+ level: 0,
24
+ assigned_level: 0,
25
+ };
26
+ }
27
+ exports.updateCollectionViewRequest = {
28
+ encode(message, writer = minimal_1.default.Writer.create()) {
29
+ if (message.status !== "") {
30
+ writer.uint32(10).string(message.status);
31
+ }
32
+ if (message.bounce_reason !== "") {
33
+ writer.uint32(18).string(message.bounce_reason);
34
+ }
35
+ if (message.ptp_date !== "") {
36
+ writer.uint32(26).string(message.ptp_date);
37
+ }
38
+ if (message.agent_name !== "") {
39
+ writer.uint32(34).string(message.agent_name);
40
+ }
41
+ if (message.fos_agent !== "") {
42
+ writer.uint32(42).string(message.fos_agent);
43
+ }
44
+ if (message.cl_lead_assign_id !== 0) {
45
+ writer.uint32(48).int32(message.cl_lead_assign_id);
46
+ }
47
+ if (message.level !== 0) {
48
+ writer.uint32(56).int32(message.level);
49
+ }
50
+ if (message.assigned_level !== 0) {
51
+ writer.uint32(64).int32(message.assigned_level);
52
+ }
53
+ return writer;
54
+ },
55
+ decode(input, length) {
56
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
57
+ let end = length === undefined ? reader.len : reader.pos + length;
58
+ const message = createBaseupdateCollectionViewRequest();
59
+ while (reader.pos < end) {
60
+ const tag = reader.uint32();
61
+ switch (tag >>> 3) {
62
+ case 1:
63
+ if (tag !== 10) {
64
+ break;
65
+ }
66
+ message.status = reader.string();
67
+ continue;
68
+ case 2:
69
+ if (tag !== 18) {
70
+ break;
71
+ }
72
+ message.bounce_reason = reader.string();
73
+ continue;
74
+ case 3:
75
+ if (tag !== 26) {
76
+ break;
77
+ }
78
+ message.ptp_date = reader.string();
79
+ continue;
80
+ case 4:
81
+ if (tag !== 34) {
82
+ break;
83
+ }
84
+ message.agent_name = reader.string();
85
+ continue;
86
+ case 5:
87
+ if (tag !== 42) {
88
+ break;
89
+ }
90
+ message.fos_agent = reader.string();
91
+ continue;
92
+ case 6:
93
+ if (tag !== 48) {
94
+ break;
95
+ }
96
+ message.cl_lead_assign_id = reader.int32();
97
+ continue;
98
+ case 7:
99
+ if (tag !== 56) {
100
+ break;
101
+ }
102
+ message.level = reader.int32();
103
+ continue;
104
+ case 8:
105
+ if (tag !== 64) {
106
+ break;
107
+ }
108
+ message.assigned_level = reader.int32();
109
+ continue;
110
+ }
111
+ if ((tag & 7) === 4 || tag === 0) {
112
+ break;
113
+ }
114
+ reader.skipType(tag & 7);
115
+ }
116
+ return message;
117
+ },
118
+ fromJSON(object) {
119
+ return {
120
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
121
+ bounce_reason: isSet(object.bounce_reason) ? globalThis.String(object.bounce_reason) : "",
122
+ ptp_date: isSet(object.ptp_date) ? globalThis.String(object.ptp_date) : "",
123
+ agent_name: isSet(object.agent_name) ? globalThis.String(object.agent_name) : "",
124
+ fos_agent: isSet(object.fos_agent) ? globalThis.String(object.fos_agent) : "",
125
+ cl_lead_assign_id: isSet(object.cl_lead_assign_id) ? globalThis.Number(object.cl_lead_assign_id) : 0,
126
+ level: isSet(object.level) ? globalThis.Number(object.level) : 0,
127
+ assigned_level: isSet(object.assigned_level) ? globalThis.Number(object.assigned_level) : 0,
128
+ };
129
+ },
130
+ toJSON(message) {
131
+ const obj = {};
132
+ if (message.status !== "") {
133
+ obj.status = message.status;
134
+ }
135
+ if (message.bounce_reason !== "") {
136
+ obj.bounce_reason = message.bounce_reason;
137
+ }
138
+ if (message.ptp_date !== "") {
139
+ obj.ptp_date = message.ptp_date;
140
+ }
141
+ if (message.agent_name !== "") {
142
+ obj.agent_name = message.agent_name;
143
+ }
144
+ if (message.fos_agent !== "") {
145
+ obj.fos_agent = message.fos_agent;
146
+ }
147
+ if (message.cl_lead_assign_id !== 0) {
148
+ obj.cl_lead_assign_id = Math.round(message.cl_lead_assign_id);
149
+ }
150
+ if (message.level !== 0) {
151
+ obj.level = Math.round(message.level);
152
+ }
153
+ if (message.assigned_level !== 0) {
154
+ obj.assigned_level = Math.round(message.assigned_level);
155
+ }
156
+ return obj;
157
+ },
158
+ create(base) {
159
+ return exports.updateCollectionViewRequest.fromPartial(base ?? {});
160
+ },
161
+ fromPartial(object) {
162
+ const message = createBaseupdateCollectionViewRequest();
163
+ message.status = object.status ?? "";
164
+ message.bounce_reason = object.bounce_reason ?? "";
165
+ message.ptp_date = object.ptp_date ?? "";
166
+ message.agent_name = object.agent_name ?? "";
167
+ message.fos_agent = object.fos_agent ?? "";
168
+ message.cl_lead_assign_id = object.cl_lead_assign_id ?? 0;
169
+ message.level = object.level ?? 0;
170
+ message.assigned_level = object.assigned_level ?? 0;
171
+ return message;
172
+ },
173
+ };
174
+ function createBaseupdateCollectionViewResponse() {
175
+ return { id: 0 };
176
+ }
177
+ exports.updateCollectionViewResponse = {
178
+ encode(message, writer = minimal_1.default.Writer.create()) {
179
+ if (message.id !== 0) {
180
+ writer.uint32(8).int32(message.id);
181
+ }
182
+ return writer;
183
+ },
184
+ decode(input, length) {
185
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
186
+ let end = length === undefined ? reader.len : reader.pos + length;
187
+ const message = createBaseupdateCollectionViewResponse();
188
+ while (reader.pos < end) {
189
+ const tag = reader.uint32();
190
+ switch (tag >>> 3) {
191
+ case 1:
192
+ if (tag !== 8) {
193
+ break;
194
+ }
195
+ message.id = reader.int32();
196
+ continue;
197
+ }
198
+ if ((tag & 7) === 4 || tag === 0) {
199
+ break;
200
+ }
201
+ reader.skipType(tag & 7);
202
+ }
203
+ return message;
204
+ },
205
+ fromJSON(object) {
206
+ return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
207
+ },
208
+ toJSON(message) {
209
+ const obj = {};
210
+ if (message.id !== 0) {
211
+ obj.id = Math.round(message.id);
212
+ }
213
+ return obj;
214
+ },
215
+ create(base) {
216
+ return exports.updateCollectionViewResponse.fromPartial(base ?? {});
217
+ },
218
+ fromPartial(object) {
219
+ const message = createBaseupdateCollectionViewResponse();
220
+ message.id = object.id ?? 0;
221
+ return message;
222
+ },
223
+ };
224
+ function isSet(value) {
225
+ return value !== null && value !== undefined;
226
+ }
package/ts/loans.d.ts CHANGED
@@ -32,6 +32,7 @@ import { rollbackRequest, rollbackResponse } from "./loans/rollback";
32
32
  import { sendEmailRequest, sendEmailResponse } from "./loans/sendemail";
33
33
  import { sendNocEmailRequest, sendNocEmailResponse } from "./loans/sendnocemail";
34
34
  import { transactionListRequest, transactionListResponse } from "./loans/transactionlist";
35
+ import { updateCollectionViewRequest, updateCollectionViewResponse } from "./loans/updatecollectionview";
35
36
  import { updateInstallmentsRequest, updateInstallmentsResponse } from "./loans/updateinstallments";
36
37
  import { updateLoanRequest, updateLoanResponse } from "./loans/updateloan";
37
38
  import { updateTransactionStatusRequest, updateTransactionStatusResponse } from "./loans/updatetransactionstatus";
@@ -362,6 +363,15 @@ export declare const loansService: {
362
363
  readonly responseSerialize: (value: getAddonsListResponse) => Buffer;
363
364
  readonly responseDeserialize: (value: Buffer) => getAddonsListResponse;
364
365
  };
366
+ readonly updateCollectionview: {
367
+ readonly path: "/service.loans/updateCollectionview";
368
+ readonly requestStream: false;
369
+ readonly responseStream: false;
370
+ readonly requestSerialize: (value: updateCollectionViewRequest) => Buffer;
371
+ readonly requestDeserialize: (value: Buffer) => updateCollectionViewRequest;
372
+ readonly responseSerialize: (value: updateCollectionViewResponse) => Buffer;
373
+ readonly responseDeserialize: (value: Buffer) => updateCollectionViewResponse;
374
+ };
365
375
  };
366
376
  export interface loansServer extends UntypedServiceImplementation {
367
377
  creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
@@ -400,6 +410,7 @@ export interface loansServer extends UntypedServiceImplementation {
400
410
  getpaymentoptions: handleUnaryCall<getPaymentOptionsRequest, getPaymentOptionsResponse>;
401
411
  cbLoan: handleUnaryCall<cbLoanRequest, cbLoanResponse>;
402
412
  getAddonsList: handleUnaryCall<getAddonsListRequest, getAddonsListResponse>;
413
+ updateCollectionview: handleUnaryCall<updateCollectionViewRequest, updateCollectionViewResponse>;
403
414
  }
404
415
  export interface loansClient extends Client {
405
416
  creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
@@ -510,6 +521,9 @@ export interface loansClient extends Client {
510
521
  getAddonsList(request: getAddonsListRequest, callback: (error: ServiceError | null, response: getAddonsListResponse) => void): ClientUnaryCall;
511
522
  getAddonsList(request: getAddonsListRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAddonsListResponse) => void): ClientUnaryCall;
512
523
  getAddonsList(request: getAddonsListRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAddonsListResponse) => void): ClientUnaryCall;
524
+ updateCollectionview(request: updateCollectionViewRequest, callback: (error: ServiceError | null, response: updateCollectionViewResponse) => void): ClientUnaryCall;
525
+ updateCollectionview(request: updateCollectionViewRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCollectionViewResponse) => void): ClientUnaryCall;
526
+ updateCollectionview(request: updateCollectionViewRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCollectionViewResponse) => void): ClientUnaryCall;
513
527
  }
514
528
  export declare const loansClient: {
515
529
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
package/ts/loans.js CHANGED
@@ -41,6 +41,7 @@ const rollback_1 = require("./loans/rollback");
41
41
  const sendemail_1 = require("./loans/sendemail");
42
42
  const sendnocemail_1 = require("./loans/sendnocemail");
43
43
  const transactionlist_1 = require("./loans/transactionlist");
44
+ const updatecollectionview_1 = require("./loans/updatecollectionview");
44
45
  const updateinstallments_1 = require("./loans/updateinstallments");
45
46
  const updateloan_1 = require("./loans/updateloan");
46
47
  const updatetransactionstatus_1 = require("./loans/updatetransactionstatus");
@@ -370,5 +371,14 @@ exports.loansService = {
370
371
  responseSerialize: (value) => Buffer.from(getaddonslist_1.getAddonsListResponse.encode(value).finish()),
371
372
  responseDeserialize: (value) => getaddonslist_1.getAddonsListResponse.decode(value),
372
373
  },
374
+ updateCollectionview: {
375
+ path: "/service.loans/updateCollectionview",
376
+ requestStream: false,
377
+ responseStream: false,
378
+ requestSerialize: (value) => Buffer.from(updatecollectionview_1.updateCollectionViewRequest.encode(value).finish()),
379
+ requestDeserialize: (value) => updatecollectionview_1.updateCollectionViewRequest.decode(value),
380
+ responseSerialize: (value) => Buffer.from(updatecollectionview_1.updateCollectionViewResponse.encode(value).finish()),
381
+ responseDeserialize: (value) => updatecollectionview_1.updateCollectionViewResponse.decode(value),
382
+ },
373
383
  };
374
384
  exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");
@@ -1,40 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "customers.getrpdlink";
3
- export interface createRpdLinkRequest {
4
- }
5
- export interface createRpdLinkResponse {
6
- id: string;
7
- shortUrl: string;
8
- status: string;
9
- traceId: string;
10
- upiBillId: string;
11
- upiLink: string;
12
- validUpto: string;
13
- }
14
- export declare const createRpdLinkRequest: {
15
- encode(_: createRpdLinkRequest, writer?: _m0.Writer): _m0.Writer;
16
- decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkRequest;
17
- fromJSON(_: any): createRpdLinkRequest;
18
- toJSON(_: createRpdLinkRequest): unknown;
19
- create<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(base?: I): createRpdLinkRequest;
20
- fromPartial<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(_: I): createRpdLinkRequest;
21
- };
22
- export declare const createRpdLinkResponse: {
23
- encode(message: createRpdLinkResponse, writer?: _m0.Writer): _m0.Writer;
24
- decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkResponse;
25
- fromJSON(object: any): createRpdLinkResponse;
26
- toJSON(message: createRpdLinkResponse): unknown;
27
- create<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(base?: I): createRpdLinkResponse;
28
- fromPartial<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(object: I): createRpdLinkResponse;
29
- };
30
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
31
- 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 {} ? {
32
- [K in keyof T]?: DeepPartial<T[K]>;
33
- } : Partial<T>;
34
- type KeysOfUnion<T> = T extends T ? keyof T : never;
35
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
36
- [K in keyof P]: Exact<P[K], I[K]>;
37
- } & {
38
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
39
- };
40
- export {};