@stashfin/grpc 1.2.130 → 1.2.132
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 +1 -1
- package/ts/customers/fetchrcprofile.d.ts +2 -0
- package/ts/customers/fetchrcprofile.js +32 -2
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers.d.ts +28 -0
- package/ts/customers.js +20 -0
package/package.json
CHANGED
|
@@ -2,6 +2,8 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "customers.fetchrcprofile";
|
|
3
3
|
export interface fetchRCProfileRequest {
|
|
4
4
|
rcNumber: string;
|
|
5
|
+
drivingLicenseNumber: string;
|
|
6
|
+
dateOfBirth: string;
|
|
5
7
|
}
|
|
6
8
|
export interface fetchRCProfileResponse {
|
|
7
9
|
customerId: number;
|
|
@@ -13,13 +13,19 @@ exports.fetchRCProfileResponse = exports.fetchRCProfileRequest = exports.protobu
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "customers.fetchrcprofile";
|
|
15
15
|
function createBasefetchRCProfileRequest() {
|
|
16
|
-
return { rcNumber: "" };
|
|
16
|
+
return { rcNumber: "", drivingLicenseNumber: "", dateOfBirth: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.fetchRCProfileRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.rcNumber !== "") {
|
|
21
21
|
writer.uint32(10).string(message.rcNumber);
|
|
22
22
|
}
|
|
23
|
+
if (message.drivingLicenseNumber !== "") {
|
|
24
|
+
writer.uint32(18).string(message.drivingLicenseNumber);
|
|
25
|
+
}
|
|
26
|
+
if (message.dateOfBirth !== "") {
|
|
27
|
+
writer.uint32(26).string(message.dateOfBirth);
|
|
28
|
+
}
|
|
23
29
|
return writer;
|
|
24
30
|
},
|
|
25
31
|
decode(input, length) {
|
|
@@ -35,6 +41,18 @@ exports.fetchRCProfileRequest = {
|
|
|
35
41
|
}
|
|
36
42
|
message.rcNumber = reader.string();
|
|
37
43
|
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.drivingLicenseNumber = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.dateOfBirth = reader.string();
|
|
55
|
+
continue;
|
|
38
56
|
}
|
|
39
57
|
if ((tag & 7) === 4 || tag === 0) {
|
|
40
58
|
break;
|
|
@@ -44,13 +62,23 @@ exports.fetchRCProfileRequest = {
|
|
|
44
62
|
return message;
|
|
45
63
|
},
|
|
46
64
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
65
|
+
return {
|
|
66
|
+
rcNumber: isSet(object.rcNumber) ? globalThis.String(object.rcNumber) : "",
|
|
67
|
+
drivingLicenseNumber: isSet(object.drivingLicenseNumber) ? globalThis.String(object.drivingLicenseNumber) : "",
|
|
68
|
+
dateOfBirth: isSet(object.dateOfBirth) ? globalThis.String(object.dateOfBirth) : "",
|
|
69
|
+
};
|
|
48
70
|
},
|
|
49
71
|
toJSON(message) {
|
|
50
72
|
const obj = {};
|
|
51
73
|
if (message.rcNumber !== "") {
|
|
52
74
|
obj.rcNumber = message.rcNumber;
|
|
53
75
|
}
|
|
76
|
+
if (message.drivingLicenseNumber !== "") {
|
|
77
|
+
obj.drivingLicenseNumber = message.drivingLicenseNumber;
|
|
78
|
+
}
|
|
79
|
+
if (message.dateOfBirth !== "") {
|
|
80
|
+
obj.dateOfBirth = message.dateOfBirth;
|
|
81
|
+
}
|
|
54
82
|
return obj;
|
|
55
83
|
},
|
|
56
84
|
create(base) {
|
|
@@ -59,6 +87,8 @@ exports.fetchRCProfileRequest = {
|
|
|
59
87
|
fromPartial(object) {
|
|
60
88
|
const message = createBasefetchRCProfileRequest();
|
|
61
89
|
message.rcNumber = object.rcNumber ?? "";
|
|
90
|
+
message.drivingLicenseNumber = object.drivingLicenseNumber ?? "";
|
|
91
|
+
message.dateOfBirth = object.dateOfBirth ?? "";
|
|
62
92
|
return message;
|
|
63
93
|
},
|
|
64
94
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getselfieetxnid";
|
|
3
|
+
export interface getSelfieeTxnIdRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getSelfieeTxnIdResponse {
|
|
6
|
+
transaction_id: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const getSelfieeTxnIdRequest: {
|
|
9
|
+
encode(_: getSelfieeTxnIdRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getSelfieeTxnIdRequest;
|
|
11
|
+
fromJSON(_: any): getSelfieeTxnIdRequest;
|
|
12
|
+
toJSON(_: getSelfieeTxnIdRequest): unknown;
|
|
13
|
+
create<I extends Exact<DeepPartial<getSelfieeTxnIdRequest>, I>>(base?: I): getSelfieeTxnIdRequest;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<getSelfieeTxnIdRequest>, I>>(_: I): getSelfieeTxnIdRequest;
|
|
15
|
+
};
|
|
16
|
+
export declare const getSelfieeTxnIdResponse: {
|
|
17
|
+
encode(message: getSelfieeTxnIdResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getSelfieeTxnIdResponse;
|
|
19
|
+
fromJSON(object: any): getSelfieeTxnIdResponse;
|
|
20
|
+
toJSON(message: getSelfieeTxnIdResponse): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<getSelfieeTxnIdResponse>, I>>(base?: I): getSelfieeTxnIdResponse;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<getSelfieeTxnIdResponse>, I>>(object: I): getSelfieeTxnIdResponse;
|
|
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,104 @@
|
|
|
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/getselfieetxnid.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.getSelfieeTxnIdResponse = exports.getSelfieeTxnIdRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.getselfieetxnid";
|
|
15
|
+
function createBasegetSelfieeTxnIdRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getSelfieeTxnIdRequest = {
|
|
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 = createBasegetSelfieeTxnIdRequest();
|
|
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.getSelfieeTxnIdRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetSelfieeTxnIdRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetSelfieeTxnIdResponse() {
|
|
53
|
+
return { transaction_id: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.getSelfieeTxnIdResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.transaction_id !== "") {
|
|
58
|
+
writer.uint32(10).string(message.transaction_id);
|
|
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 = createBasegetSelfieeTxnIdResponse();
|
|
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.transaction_id = 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 { transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "" };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.transaction_id !== "") {
|
|
89
|
+
obj.transaction_id = message.transaction_id;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.getSelfieeTxnIdResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBasegetSelfieeTxnIdResponse();
|
|
98
|
+
message.transaction_id = object.transaction_id ?? "";
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updateselfieetxn";
|
|
3
|
+
export interface updateSelfieeTxnRequest {
|
|
4
|
+
transactionId?: string | undefined;
|
|
5
|
+
status?: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface updateSelfieeTxnResponse {
|
|
8
|
+
status: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const updateSelfieeTxnRequest: {
|
|
11
|
+
encode(message: updateSelfieeTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateSelfieeTxnRequest;
|
|
13
|
+
fromJSON(object: any): updateSelfieeTxnRequest;
|
|
14
|
+
toJSON(message: updateSelfieeTxnRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<updateSelfieeTxnRequest>, I>>(base?: I): updateSelfieeTxnRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<updateSelfieeTxnRequest>, I>>(object: I): updateSelfieeTxnRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const updateSelfieeTxnResponse: {
|
|
19
|
+
encode(message: updateSelfieeTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateSelfieeTxnResponse;
|
|
21
|
+
fromJSON(object: any): updateSelfieeTxnResponse;
|
|
22
|
+
toJSON(message: updateSelfieeTxnResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<updateSelfieeTxnResponse>, I>>(base?: I): updateSelfieeTxnResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<updateSelfieeTxnResponse>, I>>(object: I): updateSelfieeTxnResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,133 @@
|
|
|
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/updateselfieetxn.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.updateSelfieeTxnResponse = exports.updateSelfieeTxnRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updateselfieetxn";
|
|
15
|
+
function createBaseupdateSelfieeTxnRequest() {
|
|
16
|
+
return { transactionId: undefined, status: undefined };
|
|
17
|
+
}
|
|
18
|
+
exports.updateSelfieeTxnRequest = {
|
|
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
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseupdateSelfieeTxnRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.transactionId = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.status = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
reader.skipType(tag & 7);
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromJSON(object) {
|
|
56
|
+
return {
|
|
57
|
+
transactionId: isSet(object.transactionId) ? globalThis.String(object.transactionId) : undefined,
|
|
58
|
+
status: isSet(object.status) ? globalThis.String(object.status) : undefined,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.transactionId !== undefined) {
|
|
64
|
+
obj.transactionId = message.transactionId;
|
|
65
|
+
}
|
|
66
|
+
if (message.status !== undefined) {
|
|
67
|
+
obj.status = message.status;
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.updateSelfieeTxnRequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBaseupdateSelfieeTxnRequest();
|
|
76
|
+
message.transactionId = object.transactionId ?? undefined;
|
|
77
|
+
message.status = object.status ?? undefined;
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBaseupdateSelfieeTxnResponse() {
|
|
82
|
+
return { status: false };
|
|
83
|
+
}
|
|
84
|
+
exports.updateSelfieeTxnResponse = {
|
|
85
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
+
if (message.status !== false) {
|
|
87
|
+
writer.uint32(8).bool(message.status);
|
|
88
|
+
}
|
|
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 = createBaseupdateSelfieeTxnResponse();
|
|
95
|
+
while (reader.pos < end) {
|
|
96
|
+
const tag = reader.uint32();
|
|
97
|
+
switch (tag >>> 3) {
|
|
98
|
+
case 1:
|
|
99
|
+
if (tag !== 8) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.status = reader.bool();
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
reader.skipType(tag & 7);
|
|
109
|
+
}
|
|
110
|
+
return message;
|
|
111
|
+
},
|
|
112
|
+
fromJSON(object) {
|
|
113
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
114
|
+
},
|
|
115
|
+
toJSON(message) {
|
|
116
|
+
const obj = {};
|
|
117
|
+
if (message.status !== false) {
|
|
118
|
+
obj.status = message.status;
|
|
119
|
+
}
|
|
120
|
+
return obj;
|
|
121
|
+
},
|
|
122
|
+
create(base) {
|
|
123
|
+
return exports.updateSelfieeTxnResponse.fromPartial(base ?? {});
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBaseupdateSelfieeTxnResponse();
|
|
127
|
+
message.status = object.status ?? false;
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function isSet(value) {
|
|
132
|
+
return value !== null && value !== undefined;
|
|
133
|
+
}
|
package/ts/customers.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { getDashboardMainCardRequest, getDashboardMainCardResponse } from "./cus
|
|
|
22
22
|
import { getDocumentsRequest, getDocumentsResponse } from "./customers/getdocuments";
|
|
23
23
|
import { getProfessionalInfoRequest, getProfessionalInfoResponse } from "./customers/getprofessionalinfo";
|
|
24
24
|
import { getCustomerProfileRequest, getCustomerProfileResponse } from "./customers/getprofile";
|
|
25
|
+
import { getSelfieeTxnIdRequest, getSelfieeTxnIdResponse } from "./customers/getselfieetxnid";
|
|
25
26
|
import { getAllStatesRequest, getAllStatesResponse } from "./customers/getstates";
|
|
26
27
|
import { getstepRequest, getstepResponse } from "./customers/getstep";
|
|
27
28
|
import { updateProfileBasicRequest, updateProfileBasicResponse } from "./customers/profilebasic";
|
|
@@ -41,6 +42,7 @@ import { locStatusRequest, locStatusResponse } from "./customers/updatelocstatus
|
|
|
41
42
|
import { updateMobileSendOtpRequest, updateMobileSendOtpResponse } from "./customers/updatemobilesendotp";
|
|
42
43
|
import { updateMobileVerifyOtpRequest, updateMobileVerifyOtpResponse } from "./customers/updatemobileverifyotp";
|
|
43
44
|
import { updateOkycTxnRequest, updateOkycTxnResponse } from "./customers/updateokyctxn";
|
|
45
|
+
import { updateSelfieeTxnRequest, updateSelfieeTxnResponse } from "./customers/updateselfieetxn";
|
|
44
46
|
import { validatePanRequest, validatePanResponse } from "./customers/validatepan";
|
|
45
47
|
import { verifyMpinRequest, verifyMpinResponse } from "./customers/verifympin";
|
|
46
48
|
import { verifyOtpReqeust, verifyOtpResponse } from "./customers/verifyotp";
|
|
@@ -516,6 +518,24 @@ export declare const customersService: {
|
|
|
516
518
|
readonly responseSerialize: (value: addGstNumberResponse) => Buffer;
|
|
517
519
|
readonly responseDeserialize: (value: Buffer) => addGstNumberResponse;
|
|
518
520
|
};
|
|
521
|
+
readonly getSelfieeTxnId: {
|
|
522
|
+
readonly path: "/service.customers/getSelfieeTxnId";
|
|
523
|
+
readonly requestStream: false;
|
|
524
|
+
readonly responseStream: false;
|
|
525
|
+
readonly requestSerialize: (value: getSelfieeTxnIdRequest) => Buffer;
|
|
526
|
+
readonly requestDeserialize: (value: Buffer) => getSelfieeTxnIdRequest;
|
|
527
|
+
readonly responseSerialize: (value: getSelfieeTxnIdResponse) => Buffer;
|
|
528
|
+
readonly responseDeserialize: (value: Buffer) => getSelfieeTxnIdResponse;
|
|
529
|
+
};
|
|
530
|
+
readonly updateSelfieeTxn: {
|
|
531
|
+
readonly path: "/service.customers/updateSelfieeTxn";
|
|
532
|
+
readonly requestStream: false;
|
|
533
|
+
readonly responseStream: false;
|
|
534
|
+
readonly requestSerialize: (value: updateSelfieeTxnRequest) => Buffer;
|
|
535
|
+
readonly requestDeserialize: (value: Buffer) => updateSelfieeTxnRequest;
|
|
536
|
+
readonly responseSerialize: (value: updateSelfieeTxnResponse) => Buffer;
|
|
537
|
+
readonly responseDeserialize: (value: Buffer) => updateSelfieeTxnResponse;
|
|
538
|
+
};
|
|
519
539
|
};
|
|
520
540
|
export interface customersServer extends UntypedServiceImplementation {
|
|
521
541
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -570,6 +590,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
570
590
|
updateMobileSendOtp: handleUnaryCall<updateMobileSendOtpRequest, updateMobileSendOtpResponse>;
|
|
571
591
|
updatemobileverifyotp: handleUnaryCall<updateMobileVerifyOtpRequest, updateMobileVerifyOtpResponse>;
|
|
572
592
|
addGstNumber: handleUnaryCall<addGstNumberRequest, addGstNumberResponse>;
|
|
593
|
+
getSelfieeTxnId: handleUnaryCall<getSelfieeTxnIdRequest, getSelfieeTxnIdResponse>;
|
|
594
|
+
updateSelfieeTxn: handleUnaryCall<updateSelfieeTxnRequest, updateSelfieeTxnResponse>;
|
|
573
595
|
}
|
|
574
596
|
export interface customersClient extends Client {
|
|
575
597
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -728,6 +750,12 @@ export interface customersClient extends Client {
|
|
|
728
750
|
addGstNumber(request: addGstNumberRequest, callback: (error: ServiceError | null, response: addGstNumberResponse) => void): ClientUnaryCall;
|
|
729
751
|
addGstNumber(request: addGstNumberRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addGstNumberResponse) => void): ClientUnaryCall;
|
|
730
752
|
addGstNumber(request: addGstNumberRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addGstNumberResponse) => void): ClientUnaryCall;
|
|
753
|
+
getSelfieeTxnId(request: getSelfieeTxnIdRequest, callback: (error: ServiceError | null, response: getSelfieeTxnIdResponse) => void): ClientUnaryCall;
|
|
754
|
+
getSelfieeTxnId(request: getSelfieeTxnIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getSelfieeTxnIdResponse) => void): ClientUnaryCall;
|
|
755
|
+
getSelfieeTxnId(request: getSelfieeTxnIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getSelfieeTxnIdResponse) => void): ClientUnaryCall;
|
|
756
|
+
updateSelfieeTxn(request: updateSelfieeTxnRequest, callback: (error: ServiceError | null, response: updateSelfieeTxnResponse) => void): ClientUnaryCall;
|
|
757
|
+
updateSelfieeTxn(request: updateSelfieeTxnRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateSelfieeTxnResponse) => void): ClientUnaryCall;
|
|
758
|
+
updateSelfieeTxn(request: updateSelfieeTxnRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateSelfieeTxnResponse) => void): ClientUnaryCall;
|
|
731
759
|
}
|
|
732
760
|
export declare const customersClient: {
|
|
733
761
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -31,6 +31,7 @@ const getdashboardmaincard_1 = require("./customers/getdashboardmaincard");
|
|
|
31
31
|
const getdocuments_1 = require("./customers/getdocuments");
|
|
32
32
|
const getprofessionalinfo_1 = require("./customers/getprofessionalinfo");
|
|
33
33
|
const getprofile_1 = require("./customers/getprofile");
|
|
34
|
+
const getselfieetxnid_1 = require("./customers/getselfieetxnid");
|
|
34
35
|
const getstates_1 = require("./customers/getstates");
|
|
35
36
|
const getstep_1 = require("./customers/getstep");
|
|
36
37
|
const profilebasic_1 = require("./customers/profilebasic");
|
|
@@ -50,6 +51,7 @@ const updatelocstatus_1 = require("./customers/updatelocstatus");
|
|
|
50
51
|
const updatemobilesendotp_1 = require("./customers/updatemobilesendotp");
|
|
51
52
|
const updatemobileverifyotp_1 = require("./customers/updatemobileverifyotp");
|
|
52
53
|
const updateokyctxn_1 = require("./customers/updateokyctxn");
|
|
54
|
+
const updateselfieetxn_1 = require("./customers/updateselfieetxn");
|
|
53
55
|
const validatepan_1 = require("./customers/validatepan");
|
|
54
56
|
const verifympin_1 = require("./customers/verifympin");
|
|
55
57
|
const verifyotp_1 = require("./customers/verifyotp");
|
|
@@ -524,5 +526,23 @@ exports.customersService = {
|
|
|
524
526
|
responseSerialize: (value) => Buffer.from(addgstnumber_1.addGstNumberResponse.encode(value).finish()),
|
|
525
527
|
responseDeserialize: (value) => addgstnumber_1.addGstNumberResponse.decode(value),
|
|
526
528
|
},
|
|
529
|
+
getSelfieeTxnId: {
|
|
530
|
+
path: "/service.customers/getSelfieeTxnId",
|
|
531
|
+
requestStream: false,
|
|
532
|
+
responseStream: false,
|
|
533
|
+
requestSerialize: (value) => Buffer.from(getselfieetxnid_1.getSelfieeTxnIdRequest.encode(value).finish()),
|
|
534
|
+
requestDeserialize: (value) => getselfieetxnid_1.getSelfieeTxnIdRequest.decode(value),
|
|
535
|
+
responseSerialize: (value) => Buffer.from(getselfieetxnid_1.getSelfieeTxnIdResponse.encode(value).finish()),
|
|
536
|
+
responseDeserialize: (value) => getselfieetxnid_1.getSelfieeTxnIdResponse.decode(value),
|
|
537
|
+
},
|
|
538
|
+
updateSelfieeTxn: {
|
|
539
|
+
path: "/service.customers/updateSelfieeTxn",
|
|
540
|
+
requestStream: false,
|
|
541
|
+
responseStream: false,
|
|
542
|
+
requestSerialize: (value) => Buffer.from(updateselfieetxn_1.updateSelfieeTxnRequest.encode(value).finish()),
|
|
543
|
+
requestDeserialize: (value) => updateselfieetxn_1.updateSelfieeTxnRequest.decode(value),
|
|
544
|
+
responseSerialize: (value) => Buffer.from(updateselfieetxn_1.updateSelfieeTxnResponse.encode(value).finish()),
|
|
545
|
+
responseDeserialize: (value) => updateselfieetxn_1.updateSelfieeTxnResponse.decode(value),
|
|
546
|
+
},
|
|
527
547
|
};
|
|
528
548
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|