@stashfin/grpc 1.2.112 → 1.2.114

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.112",
3
+ "version": "1.2.114",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -0,0 +1,35 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.addgstnumber";
3
+ export interface addGstNumberRequest {
4
+ gst_number: string;
5
+ }
6
+ export interface addGstNumberResponse {
7
+ status: string;
8
+ }
9
+ export declare const addGstNumberRequest: {
10
+ encode(message: addGstNumberRequest, writer?: _m0.Writer): _m0.Writer;
11
+ decode(input: _m0.Reader | Uint8Array, length?: number): addGstNumberRequest;
12
+ fromJSON(object: any): addGstNumberRequest;
13
+ toJSON(message: addGstNumberRequest): unknown;
14
+ create<I extends Exact<DeepPartial<addGstNumberRequest>, I>>(base?: I): addGstNumberRequest;
15
+ fromPartial<I extends Exact<DeepPartial<addGstNumberRequest>, I>>(object: I): addGstNumberRequest;
16
+ };
17
+ export declare const addGstNumberResponse: {
18
+ encode(message: addGstNumberResponse, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): addGstNumberResponse;
20
+ fromJSON(object: any): addGstNumberResponse;
21
+ toJSON(message: addGstNumberResponse): unknown;
22
+ create<I extends Exact<DeepPartial<addGstNumberResponse>, I>>(base?: I): addGstNumberResponse;
23
+ fromPartial<I extends Exact<DeepPartial<addGstNumberResponse>, I>>(object: I): addGstNumberResponse;
24
+ };
25
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
26
+ 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 {} ? {
27
+ [K in keyof T]?: DeepPartial<T[K]>;
28
+ } : Partial<T>;
29
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
30
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
31
+ [K in keyof P]: Exact<P[K], I[K]>;
32
+ } & {
33
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
34
+ };
35
+ export {};
@@ -0,0 +1,117 @@
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/addgstnumber.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.addGstNumberResponse = exports.addGstNumberRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.addgstnumber";
15
+ function createBaseaddGstNumberRequest() {
16
+ return { gst_number: "" };
17
+ }
18
+ exports.addGstNumberRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.gst_number !== "") {
21
+ writer.uint32(10).string(message.gst_number);
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 = createBaseaddGstNumberRequest();
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.gst_number = 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 { gst_number: isSet(object.gst_number) ? globalThis.String(object.gst_number) : "" };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.gst_number !== "") {
52
+ obj.gst_number = message.gst_number;
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.addGstNumberRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBaseaddGstNumberRequest();
61
+ message.gst_number = object.gst_number ?? "";
62
+ return message;
63
+ },
64
+ };
65
+ function createBaseaddGstNumberResponse() {
66
+ return { status: "" };
67
+ }
68
+ exports.addGstNumberResponse = {
69
+ encode(message, writer = minimal_1.default.Writer.create()) {
70
+ if (message.status !== "") {
71
+ writer.uint32(10).string(message.status);
72
+ }
73
+ return writer;
74
+ },
75
+ decode(input, length) {
76
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
+ let end = length === undefined ? reader.len : reader.pos + length;
78
+ const message = createBaseaddGstNumberResponse();
79
+ while (reader.pos < end) {
80
+ const tag = reader.uint32();
81
+ switch (tag >>> 3) {
82
+ case 1:
83
+ if (tag !== 10) {
84
+ break;
85
+ }
86
+ message.status = reader.string();
87
+ continue;
88
+ }
89
+ if ((tag & 7) === 4 || tag === 0) {
90
+ break;
91
+ }
92
+ reader.skipType(tag & 7);
93
+ }
94
+ return message;
95
+ },
96
+ fromJSON(object) {
97
+ return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
98
+ },
99
+ toJSON(message) {
100
+ const obj = {};
101
+ if (message.status !== "") {
102
+ obj.status = message.status;
103
+ }
104
+ return obj;
105
+ },
106
+ create(base) {
107
+ return exports.addGstNumberResponse.fromPartial(base ?? {});
108
+ },
109
+ fromPartial(object) {
110
+ const message = createBaseaddGstNumberResponse();
111
+ message.status = object.status ?? "";
112
+ return message;
113
+ },
114
+ };
115
+ function isSet(value) {
116
+ return value !== null && value !== undefined;
117
+ }
@@ -6,7 +6,6 @@ export interface updateMobileVerifyOtpRequest {
6
6
  }
7
7
  export interface updateMobileVerifyOtpResponse {
8
8
  status: string;
9
- jwtToken: string;
10
9
  }
11
10
  export declare const updateMobileVerifyOtpRequest: {
12
11
  encode(message: updateMobileVerifyOtpRequest, writer?: _m0.Writer): _m0.Writer;
@@ -79,16 +79,13 @@ exports.updateMobileVerifyOtpRequest = {
79
79
  },
80
80
  };
81
81
  function createBaseupdateMobileVerifyOtpResponse() {
82
- return { status: "", jwtToken: "" };
82
+ return { status: "" };
83
83
  }
84
84
  exports.updateMobileVerifyOtpResponse = {
85
85
  encode(message, writer = minimal_1.default.Writer.create()) {
86
86
  if (message.status !== "") {
87
87
  writer.uint32(10).string(message.status);
88
88
  }
89
- if (message.jwtToken !== "") {
90
- writer.uint32(18).string(message.jwtToken);
91
- }
92
89
  return writer;
93
90
  },
94
91
  decode(input, length) {
@@ -104,12 +101,6 @@ exports.updateMobileVerifyOtpResponse = {
104
101
  }
105
102
  message.status = reader.string();
106
103
  continue;
107
- case 2:
108
- if (tag !== 18) {
109
- break;
110
- }
111
- message.jwtToken = reader.string();
112
- continue;
113
104
  }
114
105
  if ((tag & 7) === 4 || tag === 0) {
115
106
  break;
@@ -119,19 +110,13 @@ exports.updateMobileVerifyOtpResponse = {
119
110
  return message;
120
111
  },
121
112
  fromJSON(object) {
122
- return {
123
- status: isSet(object.status) ? globalThis.String(object.status) : "",
124
- jwtToken: isSet(object.jwtToken) ? globalThis.String(object.jwtToken) : "",
125
- };
113
+ return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
126
114
  },
127
115
  toJSON(message) {
128
116
  const obj = {};
129
117
  if (message.status !== "") {
130
118
  obj.status = message.status;
131
119
  }
132
- if (message.jwtToken !== "") {
133
- obj.jwtToken = message.jwtToken;
134
- }
135
120
  return obj;
136
121
  },
137
122
  create(base) {
@@ -140,7 +125,6 @@ exports.updateMobileVerifyOtpResponse = {
140
125
  fromPartial(object) {
141
126
  const message = createBaseupdateMobileVerifyOtpResponse();
142
127
  message.status = object.status ?? "";
143
- message.jwtToken = object.jwtToken ?? "";
144
128
  return message;
145
129
  },
146
130
  };
@@ -0,0 +1,37 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.updateokyctxn";
3
+ export interface updateOkycTxnRequest {
4
+ transactionId?: string | undefined;
5
+ status?: string | undefined;
6
+ type: string;
7
+ }
8
+ export interface updateOkycTxnResponse {
9
+ status: boolean;
10
+ }
11
+ export declare const updateOkycTxnRequest: {
12
+ encode(message: updateOkycTxnRequest, writer?: _m0.Writer): _m0.Writer;
13
+ decode(input: _m0.Reader | Uint8Array, length?: number): updateOkycTxnRequest;
14
+ fromJSON(object: any): updateOkycTxnRequest;
15
+ toJSON(message: updateOkycTxnRequest): unknown;
16
+ create<I extends Exact<DeepPartial<updateOkycTxnRequest>, I>>(base?: I): updateOkycTxnRequest;
17
+ fromPartial<I extends Exact<DeepPartial<updateOkycTxnRequest>, I>>(object: I): updateOkycTxnRequest;
18
+ };
19
+ export declare const updateOkycTxnResponse: {
20
+ encode(message: updateOkycTxnResponse, writer?: _m0.Writer): _m0.Writer;
21
+ decode(input: _m0.Reader | Uint8Array, length?: number): updateOkycTxnResponse;
22
+ fromJSON(object: any): updateOkycTxnResponse;
23
+ toJSON(message: updateOkycTxnResponse): unknown;
24
+ create<I extends Exact<DeepPartial<updateOkycTxnResponse>, I>>(base?: I): updateOkycTxnResponse;
25
+ fromPartial<I extends Exact<DeepPartial<updateOkycTxnResponse>, I>>(object: I): updateOkycTxnResponse;
26
+ };
27
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
28
+ 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 {} ? {
29
+ [K in keyof T]?: DeepPartial<T[K]>;
30
+ } : Partial<T>;
31
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
32
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
33
+ [K in keyof P]: Exact<P[K], I[K]>;
34
+ } & {
35
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
36
+ };
37
+ export {};
@@ -0,0 +1,147 @@
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/updateokyctxn.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.updateOkycTxnResponse = exports.updateOkycTxnRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.updateokyctxn";
15
+ function createBaseupdateOkycTxnRequest() {
16
+ return { transactionId: undefined, status: undefined, type: "" };
17
+ }
18
+ exports.updateOkycTxnRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.transactionId !== undefined) {
21
+ writer.uint32(10).string(message.transactionId);
22
+ }
23
+ if (message.status !== undefined) {
24
+ writer.uint32(18).string(message.status);
25
+ }
26
+ if (message.type !== "") {
27
+ writer.uint32(26).string(message.type);
28
+ }
29
+ return writer;
30
+ },
31
+ decode(input, length) {
32
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
33
+ let end = length === undefined ? reader.len : reader.pos + length;
34
+ const message = createBaseupdateOkycTxnRequest();
35
+ while (reader.pos < end) {
36
+ const tag = reader.uint32();
37
+ switch (tag >>> 3) {
38
+ case 1:
39
+ if (tag !== 10) {
40
+ break;
41
+ }
42
+ message.transactionId = reader.string();
43
+ continue;
44
+ case 2:
45
+ if (tag !== 18) {
46
+ break;
47
+ }
48
+ message.status = reader.string();
49
+ continue;
50
+ case 3:
51
+ if (tag !== 26) {
52
+ break;
53
+ }
54
+ message.type = reader.string();
55
+ continue;
56
+ }
57
+ if ((tag & 7) === 4 || tag === 0) {
58
+ break;
59
+ }
60
+ reader.skipType(tag & 7);
61
+ }
62
+ return message;
63
+ },
64
+ fromJSON(object) {
65
+ return {
66
+ transactionId: isSet(object.transactionId) ? globalThis.String(object.transactionId) : undefined,
67
+ status: isSet(object.status) ? globalThis.String(object.status) : undefined,
68
+ type: isSet(object.type) ? globalThis.String(object.type) : "",
69
+ };
70
+ },
71
+ toJSON(message) {
72
+ const obj = {};
73
+ if (message.transactionId !== undefined) {
74
+ obj.transactionId = message.transactionId;
75
+ }
76
+ if (message.status !== undefined) {
77
+ obj.status = message.status;
78
+ }
79
+ if (message.type !== "") {
80
+ obj.type = message.type;
81
+ }
82
+ return obj;
83
+ },
84
+ create(base) {
85
+ return exports.updateOkycTxnRequest.fromPartial(base ?? {});
86
+ },
87
+ fromPartial(object) {
88
+ const message = createBaseupdateOkycTxnRequest();
89
+ message.transactionId = object.transactionId ?? undefined;
90
+ message.status = object.status ?? undefined;
91
+ message.type = object.type ?? "";
92
+ return message;
93
+ },
94
+ };
95
+ function createBaseupdateOkycTxnResponse() {
96
+ return { status: false };
97
+ }
98
+ exports.updateOkycTxnResponse = {
99
+ encode(message, writer = minimal_1.default.Writer.create()) {
100
+ if (message.status !== false) {
101
+ writer.uint32(8).bool(message.status);
102
+ }
103
+ return writer;
104
+ },
105
+ decode(input, length) {
106
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
107
+ let end = length === undefined ? reader.len : reader.pos + length;
108
+ const message = createBaseupdateOkycTxnResponse();
109
+ while (reader.pos < end) {
110
+ const tag = reader.uint32();
111
+ switch (tag >>> 3) {
112
+ case 1:
113
+ if (tag !== 8) {
114
+ break;
115
+ }
116
+ message.status = reader.bool();
117
+ continue;
118
+ }
119
+ if ((tag & 7) === 4 || tag === 0) {
120
+ break;
121
+ }
122
+ reader.skipType(tag & 7);
123
+ }
124
+ return message;
125
+ },
126
+ fromJSON(object) {
127
+ return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
128
+ },
129
+ toJSON(message) {
130
+ const obj = {};
131
+ if (message.status !== false) {
132
+ obj.status = message.status;
133
+ }
134
+ return obj;
135
+ },
136
+ create(base) {
137
+ return exports.updateOkycTxnResponse.fromPartial(base ?? {});
138
+ },
139
+ fromPartial(object) {
140
+ const message = createBaseupdateOkycTxnResponse();
141
+ message.status = object.status ?? false;
142
+ return message;
143
+ },
144
+ };
145
+ function isSet(value) {
146
+ return value !== null && value !== undefined;
147
+ }
package/ts/customers.d.ts CHANGED
@@ -3,6 +3,7 @@ import { getBankListRequest, getBankListResponse } from "./customers/aa/getbankl
3
3
  import { initiateRequest, initiateResponse } from "./customers/aa/initiate";
4
4
  import { addAddressRequest, addAddressResponse } from "./customers/addaddress";
5
5
  import { addBankAccountDetailsRequest, addBankAccountDetailsResponse } from "./customers/addbankaccountdetails";
6
+ import { addGstNumberRequest, addGstNumberResponse } from "./customers/addgstnumber";
6
7
  import { addSuspendedCustomerRequest, addSuspendedCustomerResponse } from "./customers/addsuspendedcustomer";
7
8
  import { AddUserAppsRequest, AddUserAppsResponse } from "./customers/adduserapps";
8
9
  import { changeMpinRequest, changeMpinResponse } from "./customers/changempin";
@@ -38,10 +39,10 @@ import { step9Request, step9Response } from "./customers/step9";
38
39
  import { stepstaticRequest, stepstaticResponse } from "./customers/stepstatic";
39
40
  import { updateDigiLockerTxnRequest, updateDigiLockerTxnResponse } from "./customers/updatedigilockertxn";
40
41
  import { updateDOBRequest, updateDOBResponse } from "./customers/updatedob";
41
- import { updateHypervergeTxnRequest, updateHypervergeTxnResponse } from "./customers/updatehypervergetxn";
42
42
  import { locStatusRequest, locStatusResponse } from "./customers/updatelocstatus";
43
43
  import { updateMobileSendOtpRequest, updateMobileSendOtpResponse } from "./customers/updatemobilesendotp";
44
44
  import { updateMobileVerifyOtpRequest, updateMobileVerifyOtpResponse } from "./customers/updatemobileverifyotp";
45
+ import { updateOkycTxnRequest, updateOkycTxnResponse } from "./customers/updateokyctxn";
45
46
  import { validatePanRequest, validatePanResponse } from "./customers/validatepan";
46
47
  import { verifyMpinRequest, verifyMpinResponse } from "./customers/verifympin";
47
48
  import { verifyOtpReqeust, verifyOtpResponse } from "./customers/verifyotp";
@@ -391,14 +392,14 @@ export declare const customersService: {
391
392
  readonly responseSerialize: (value: updateDigiLockerTxnResponse) => Buffer;
392
393
  readonly responseDeserialize: (value: Buffer) => updateDigiLockerTxnResponse;
393
394
  };
394
- readonly updateHypervergeTxn: {
395
- readonly path: "/service.customers/updateHypervergeTxn";
395
+ readonly updateOkycTxn: {
396
+ readonly path: "/service.customers/updateOkycTxn";
396
397
  readonly requestStream: false;
397
398
  readonly responseStream: false;
398
- readonly requestSerialize: (value: updateHypervergeTxnRequest) => Buffer;
399
- readonly requestDeserialize: (value: Buffer) => updateHypervergeTxnRequest;
400
- readonly responseSerialize: (value: updateHypervergeTxnResponse) => Buffer;
401
- readonly responseDeserialize: (value: Buffer) => updateHypervergeTxnResponse;
399
+ readonly requestSerialize: (value: updateOkycTxnRequest) => Buffer;
400
+ readonly requestDeserialize: (value: Buffer) => updateOkycTxnRequest;
401
+ readonly responseSerialize: (value: updateOkycTxnResponse) => Buffer;
402
+ readonly responseDeserialize: (value: Buffer) => updateOkycTxnResponse;
402
403
  };
403
404
  readonly addAddress: {
404
405
  readonly path: "/service.customers/addAddress";
@@ -526,6 +527,15 @@ export declare const customersService: {
526
527
  readonly responseSerialize: (value: updateMobileVerifyOtpResponse) => Buffer;
527
528
  readonly responseDeserialize: (value: Buffer) => updateMobileVerifyOtpResponse;
528
529
  };
530
+ readonly addGstNumber: {
531
+ readonly path: "/service.customers/addGstNumber";
532
+ readonly requestStream: false;
533
+ readonly responseStream: false;
534
+ readonly requestSerialize: (value: addGstNumberRequest) => Buffer;
535
+ readonly requestDeserialize: (value: Buffer) => addGstNumberRequest;
536
+ readonly responseSerialize: (value: addGstNumberResponse) => Buffer;
537
+ readonly responseDeserialize: (value: Buffer) => addGstNumberResponse;
538
+ };
529
539
  };
530
540
  export interface customersServer extends UntypedServiceImplementation {
531
541
  sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
@@ -566,7 +576,7 @@ export interface customersServer extends UntypedServiceImplementation {
566
576
  getCitiesByStateId: handleUnaryCall<getCitiesRequest, getCitiesResponse>;
567
577
  getDocumentList: handleUnaryCall<getDocumentsRequest, getDocumentsResponse>;
568
578
  updateDigiLockerTxn: handleUnaryCall<updateDigiLockerTxnRequest, updateDigiLockerTxnResponse>;
569
- updateHypervergeTxn: handleUnaryCall<updateHypervergeTxnRequest, updateHypervergeTxnResponse>;
579
+ updateOkycTxn: handleUnaryCall<updateOkycTxnRequest, updateOkycTxnResponse>;
570
580
  addAddress: handleUnaryCall<addAddressRequest, addAddressResponse>;
571
581
  getKycWebUrl: handleUnaryCall<getKycWebUrlRequest, getKycWebUrlResponse>;
572
582
  updateDob: handleUnaryCall<updateDOBRequest, updateDOBResponse>;
@@ -581,6 +591,7 @@ export interface customersServer extends UntypedServiceImplementation {
581
591
  disablempin: handleUnaryCall<disableMpinRequest, disableMpinResponse>;
582
592
  updateMobileSendOtp: handleUnaryCall<updateMobileSendOtpRequest, updateMobileSendOtpResponse>;
583
593
  updatemobileverifyotp: handleUnaryCall<updateMobileVerifyOtpRequest, updateMobileVerifyOtpResponse>;
594
+ addGstNumber: handleUnaryCall<addGstNumberRequest, addGstNumberResponse>;
584
595
  }
585
596
  export interface customersClient extends Client {
586
597
  sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
@@ -697,9 +708,9 @@ export interface customersClient extends Client {
697
708
  updateDigiLockerTxn(request: updateDigiLockerTxnRequest, callback: (error: ServiceError | null, response: updateDigiLockerTxnResponse) => void): ClientUnaryCall;
698
709
  updateDigiLockerTxn(request: updateDigiLockerTxnRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateDigiLockerTxnResponse) => void): ClientUnaryCall;
699
710
  updateDigiLockerTxn(request: updateDigiLockerTxnRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateDigiLockerTxnResponse) => void): ClientUnaryCall;
700
- updateHypervergeTxn(request: updateHypervergeTxnRequest, callback: (error: ServiceError | null, response: updateHypervergeTxnResponse) => void): ClientUnaryCall;
701
- updateHypervergeTxn(request: updateHypervergeTxnRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateHypervergeTxnResponse) => void): ClientUnaryCall;
702
- updateHypervergeTxn(request: updateHypervergeTxnRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateHypervergeTxnResponse) => void): ClientUnaryCall;
711
+ updateOkycTxn(request: updateOkycTxnRequest, callback: (error: ServiceError | null, response: updateOkycTxnResponse) => void): ClientUnaryCall;
712
+ updateOkycTxn(request: updateOkycTxnRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateOkycTxnResponse) => void): ClientUnaryCall;
713
+ updateOkycTxn(request: updateOkycTxnRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateOkycTxnResponse) => void): ClientUnaryCall;
703
714
  addAddress(request: addAddressRequest, callback: (error: ServiceError | null, response: addAddressResponse) => void): ClientUnaryCall;
704
715
  addAddress(request: addAddressRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addAddressResponse) => void): ClientUnaryCall;
705
716
  addAddress(request: addAddressRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addAddressResponse) => void): ClientUnaryCall;
@@ -742,6 +753,9 @@ export interface customersClient extends Client {
742
753
  updatemobileverifyotp(request: updateMobileVerifyOtpRequest, callback: (error: ServiceError | null, response: updateMobileVerifyOtpResponse) => void): ClientUnaryCall;
743
754
  updatemobileverifyotp(request: updateMobileVerifyOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateMobileVerifyOtpResponse) => void): ClientUnaryCall;
744
755
  updatemobileverifyotp(request: updateMobileVerifyOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateMobileVerifyOtpResponse) => void): ClientUnaryCall;
756
+ addGstNumber(request: addGstNumberRequest, callback: (error: ServiceError | null, response: addGstNumberResponse) => void): ClientUnaryCall;
757
+ addGstNumber(request: addGstNumberRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addGstNumberResponse) => void): ClientUnaryCall;
758
+ addGstNumber(request: addGstNumberRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addGstNumberResponse) => void): ClientUnaryCall;
745
759
  }
746
760
  export declare const customersClient: {
747
761
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
package/ts/customers.js CHANGED
@@ -12,6 +12,7 @@ const getbanklist_1 = require("./customers/aa/getbanklist");
12
12
  const initiate_1 = require("./customers/aa/initiate");
13
13
  const addaddress_1 = require("./customers/addaddress");
14
14
  const addbankaccountdetails_1 = require("./customers/addbankaccountdetails");
15
+ const addgstnumber_1 = require("./customers/addgstnumber");
15
16
  const addsuspendedcustomer_1 = require("./customers/addsuspendedcustomer");
16
17
  const adduserapps_1 = require("./customers/adduserapps");
17
18
  const changempin_1 = require("./customers/changempin");
@@ -47,10 +48,10 @@ const step9_1 = require("./customers/step9");
47
48
  const stepstatic_1 = require("./customers/stepstatic");
48
49
  const updatedigilockertxn_1 = require("./customers/updatedigilockertxn");
49
50
  const updatedob_1 = require("./customers/updatedob");
50
- const updatehypervergetxn_1 = require("./customers/updatehypervergetxn");
51
51
  const updatelocstatus_1 = require("./customers/updatelocstatus");
52
52
  const updatemobilesendotp_1 = require("./customers/updatemobilesendotp");
53
53
  const updatemobileverifyotp_1 = require("./customers/updatemobileverifyotp");
54
+ const updateokyctxn_1 = require("./customers/updateokyctxn");
54
55
  const validatepan_1 = require("./customers/validatepan");
55
56
  const verifympin_1 = require("./customers/verifympin");
56
57
  const verifyotp_1 = require("./customers/verifyotp");
@@ -399,14 +400,14 @@ exports.customersService = {
399
400
  responseSerialize: (value) => Buffer.from(updatedigilockertxn_1.updateDigiLockerTxnResponse.encode(value).finish()),
400
401
  responseDeserialize: (value) => updatedigilockertxn_1.updateDigiLockerTxnResponse.decode(value),
401
402
  },
402
- updateHypervergeTxn: {
403
- path: "/service.customers/updateHypervergeTxn",
403
+ updateOkycTxn: {
404
+ path: "/service.customers/updateOkycTxn",
404
405
  requestStream: false,
405
406
  responseStream: false,
406
- requestSerialize: (value) => Buffer.from(updatehypervergetxn_1.updateHypervergeTxnRequest.encode(value).finish()),
407
- requestDeserialize: (value) => updatehypervergetxn_1.updateHypervergeTxnRequest.decode(value),
408
- responseSerialize: (value) => Buffer.from(updatehypervergetxn_1.updateHypervergeTxnResponse.encode(value).finish()),
409
- responseDeserialize: (value) => updatehypervergetxn_1.updateHypervergeTxnResponse.decode(value),
407
+ requestSerialize: (value) => Buffer.from(updateokyctxn_1.updateOkycTxnRequest.encode(value).finish()),
408
+ requestDeserialize: (value) => updateokyctxn_1.updateOkycTxnRequest.decode(value),
409
+ responseSerialize: (value) => Buffer.from(updateokyctxn_1.updateOkycTxnResponse.encode(value).finish()),
410
+ responseDeserialize: (value) => updateokyctxn_1.updateOkycTxnResponse.decode(value),
410
411
  },
411
412
  addAddress: {
412
413
  path: "/service.customers/addAddress",
@@ -534,5 +535,14 @@ exports.customersService = {
534
535
  responseSerialize: (value) => Buffer.from(updatemobileverifyotp_1.updateMobileVerifyOtpResponse.encode(value).finish()),
535
536
  responseDeserialize: (value) => updatemobileverifyotp_1.updateMobileVerifyOtpResponse.decode(value),
536
537
  },
538
+ addGstNumber: {
539
+ path: "/service.customers/addGstNumber",
540
+ requestStream: false,
541
+ responseStream: false,
542
+ requestSerialize: (value) => Buffer.from(addgstnumber_1.addGstNumberRequest.encode(value).finish()),
543
+ requestDeserialize: (value) => addgstnumber_1.addGstNumberRequest.decode(value),
544
+ responseSerialize: (value) => Buffer.from(addgstnumber_1.addGstNumberResponse.encode(value).finish()),
545
+ responseDeserialize: (value) => addgstnumber_1.addGstNumberResponse.decode(value),
546
+ },
537
547
  };
538
548
  exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
@@ -36,8 +36,6 @@ export interface loanSummaryResponse {
36
36
  credit_report_fees: number;
37
37
  credit_report_actual_fees: number;
38
38
  plan_id: number;
39
- lender_name: string;
40
- landers_credit_facility_form: string;
41
39
  }
42
40
  export declare const loanSummaryRequest: {
43
41
  encode(message: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
@@ -137,8 +137,6 @@ function createBaseloanSummaryResponse() {
137
137
  credit_report_fees: 0,
138
138
  credit_report_actual_fees: 0,
139
139
  plan_id: 0,
140
- lender_name: "",
141
- landers_credit_facility_form: "",
142
140
  };
143
141
  }
144
142
  exports.loanSummaryResponse = {
@@ -162,7 +160,7 @@ exports.loanSummaryResponse = {
162
160
  writer.uint32(48).int32(message.emi_amount);
163
161
  }
164
162
  if (message.net_amount_payable !== 0) {
165
- writer.uint32(56).int32(message.net_amount_payable);
163
+ writer.uint32(61).float(message.net_amount_payable);
166
164
  }
167
165
  if (message.first_emi_date !== "") {
168
166
  writer.uint32(66).string(message.first_emi_date);
@@ -180,7 +178,7 @@ exports.loanSummaryResponse = {
180
178
  writer.uint32(96).int32(message.bill_amount);
181
179
  }
182
180
  if (message.total_interest_pay !== 0) {
183
- writer.uint32(104).int32(message.total_interest_pay);
181
+ writer.uint32(109).float(message.total_interest_pay);
184
182
  }
185
183
  if (message.effective_annual_rate !== 0) {
186
184
  writer.uint32(112).int32(message.effective_annual_rate);
@@ -204,7 +202,7 @@ exports.loanSummaryResponse = {
204
202
  writer.uint32(160).int32(message.effective_roi);
205
203
  }
206
204
  if (message.effective_annual_roi !== 0) {
207
- writer.uint32(168).int32(message.effective_annual_roi);
205
+ writer.uint32(173).float(message.effective_annual_roi);
208
206
  }
209
207
  if (message.emi_card_description !== "") {
210
208
  writer.uint32(178).string(message.emi_card_description);
@@ -230,12 +228,6 @@ exports.loanSummaryResponse = {
230
228
  if (message.plan_id !== 0) {
231
229
  writer.uint32(232).int32(message.plan_id);
232
230
  }
233
- if (message.lender_name !== "") {
234
- writer.uint32(242).string(message.lender_name);
235
- }
236
- if (message.landers_credit_facility_form !== "") {
237
- writer.uint32(250).string(message.landers_credit_facility_form);
238
- }
239
231
  return writer;
240
232
  },
241
233
  decode(input, length) {
@@ -282,10 +274,10 @@ exports.loanSummaryResponse = {
282
274
  message.emi_amount = reader.int32();
283
275
  continue;
284
276
  case 7:
285
- if (tag !== 56) {
277
+ if (tag !== 61) {
286
278
  break;
287
279
  }
288
- message.net_amount_payable = reader.int32();
280
+ message.net_amount_payable = reader.float();
289
281
  continue;
290
282
  case 8:
291
283
  if (tag !== 66) {
@@ -318,10 +310,10 @@ exports.loanSummaryResponse = {
318
310
  message.bill_amount = reader.int32();
319
311
  continue;
320
312
  case 13:
321
- if (tag !== 104) {
313
+ if (tag !== 109) {
322
314
  break;
323
315
  }
324
- message.total_interest_pay = reader.int32();
316
+ message.total_interest_pay = reader.float();
325
317
  continue;
326
318
  case 14:
327
319
  if (tag !== 112) {
@@ -366,10 +358,10 @@ exports.loanSummaryResponse = {
366
358
  message.effective_roi = reader.int32();
367
359
  continue;
368
360
  case 21:
369
- if (tag !== 168) {
361
+ if (tag !== 173) {
370
362
  break;
371
363
  }
372
- message.effective_annual_roi = reader.int32();
364
+ message.effective_annual_roi = reader.float();
373
365
  continue;
374
366
  case 22:
375
367
  if (tag !== 178) {
@@ -419,18 +411,6 @@ exports.loanSummaryResponse = {
419
411
  }
420
412
  message.plan_id = reader.int32();
421
413
  continue;
422
- case 30:
423
- if (tag !== 242) {
424
- break;
425
- }
426
- message.lender_name = reader.string();
427
- continue;
428
- case 31:
429
- if (tag !== 250) {
430
- break;
431
- }
432
- message.landers_credit_facility_form = reader.string();
433
- continue;
434
414
  }
435
415
  if ((tag & 7) === 4 || tag === 0) {
436
416
  break;
@@ -478,10 +458,6 @@ exports.loanSummaryResponse = {
478
458
  ? globalThis.Number(object.credit_report_actual_fees)
479
459
  : 0,
480
460
  plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
481
- lender_name: isSet(object.lender_name) ? globalThis.String(object.lender_name) : "",
482
- landers_credit_facility_form: isSet(object.landers_credit_facility_form)
483
- ? globalThis.String(object.landers_credit_facility_form)
484
- : "",
485
461
  };
486
462
  },
487
463
  toJSON(message) {
@@ -505,7 +481,7 @@ exports.loanSummaryResponse = {
505
481
  obj.emi_amount = Math.round(message.emi_amount);
506
482
  }
507
483
  if (message.net_amount_payable !== 0) {
508
- obj.net_amount_payable = Math.round(message.net_amount_payable);
484
+ obj.net_amount_payable = message.net_amount_payable;
509
485
  }
510
486
  if (message.first_emi_date !== "") {
511
487
  obj.first_emi_date = message.first_emi_date;
@@ -523,7 +499,7 @@ exports.loanSummaryResponse = {
523
499
  obj.bill_amount = Math.round(message.bill_amount);
524
500
  }
525
501
  if (message.total_interest_pay !== 0) {
526
- obj.total_interest_pay = Math.round(message.total_interest_pay);
502
+ obj.total_interest_pay = message.total_interest_pay;
527
503
  }
528
504
  if (message.effective_annual_rate !== 0) {
529
505
  obj.effective_annual_rate = Math.round(message.effective_annual_rate);
@@ -547,7 +523,7 @@ exports.loanSummaryResponse = {
547
523
  obj.effective_roi = Math.round(message.effective_roi);
548
524
  }
549
525
  if (message.effective_annual_roi !== 0) {
550
- obj.effective_annual_roi = Math.round(message.effective_annual_roi);
526
+ obj.effective_annual_roi = message.effective_annual_roi;
551
527
  }
552
528
  if (message.emi_card_description !== "") {
553
529
  obj.emi_card_description = message.emi_card_description;
@@ -573,12 +549,6 @@ exports.loanSummaryResponse = {
573
549
  if (message.plan_id !== 0) {
574
550
  obj.plan_id = Math.round(message.plan_id);
575
551
  }
576
- if (message.lender_name !== "") {
577
- obj.lender_name = message.lender_name;
578
- }
579
- if (message.landers_credit_facility_form !== "") {
580
- obj.landers_credit_facility_form = message.landers_credit_facility_form;
581
- }
582
552
  return obj;
583
553
  },
584
554
  create(base) {
@@ -615,8 +585,6 @@ exports.loanSummaryResponse = {
615
585
  message.credit_report_fees = object.credit_report_fees ?? 0;
616
586
  message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
617
587
  message.plan_id = object.plan_id ?? 0;
618
- message.lender_name = object.lender_name ?? "";
619
- message.landers_credit_facility_form = object.landers_credit_facility_form ?? "";
620
588
  return message;
621
589
  },
622
590
  };