@stashfin/grpc 1.2.52 → 1.2.54
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/README.md +74 -0
- package/package.json +3 -2
- package/src/proto/customers/addaddress.proto +25 -0
- package/src/proto/customers/addbankaccountdetails.proto +13 -0
- package/src/proto/customers/createcustomerreference.proto +21 -0
- package/src/proto/customers/forgotmpin.proto +12 -0
- package/src/proto/customers/forgotmpinotp.proto +10 -0
- package/src/proto/customers/getbankaccountdetails.proto +11 -0
- package/src/proto/customers/getbasicinfo.proto +24 -0
- package/src/proto/customers/getcities.proto +16 -0
- package/src/proto/customers/getcustomerbyid.proto +31 -0
- package/src/proto/customers/getdashboard.proto +47 -0
- package/src/proto/customers/getdashboardmaincard.proto +37 -0
- package/src/proto/customers/getkycweburl.proto +10 -0
- package/src/proto/customers/getprofessionalinfo.proto +22 -0
- package/src/proto/customers/getprofile.proto +22 -0
- package/src/proto/customers/getstates.proto +15 -0
- package/src/proto/customers/getstep.proto +30 -0
- package/src/proto/customers/profilebasic.proto +14 -0
- package/src/proto/customers/profileupdatetnc.proto +11 -0
- package/src/proto/customers/resetmpin.proto +13 -0
- package/src/proto/customers/savebasicdetails.proto +16 -0
- package/src/proto/customers/saveunlocklimit.proto +10 -0
- package/src/proto/customers/sendemailtoken.proto +11 -0
- package/src/proto/customers/sendotp.proto +14 -0
- package/src/proto/customers/setmpin.proto +12 -0
- package/src/proto/customers/step10.proto +34 -0
- package/src/proto/customers/step7.proto +29 -0
- package/src/proto/customers/step8.proto +30 -0
- package/src/proto/customers/step9.proto +36 -0
- package/src/proto/customers/stepstatic.proto +27 -0
- package/src/proto/customers/updatedigilockertxn.proto +13 -0
- package/src/proto/customers/updatedob.proto +13 -0
- package/src/proto/customers/updatehypervergetxn.proto +12 -0
- package/src/proto/customers/verifyemail.proto +11 -0
- package/src/proto/customers/verifympin.proto +13 -0
- package/src/proto/customers/verifyotp.proto +17 -0
- package/src/proto/customers.proto +83 -0
- package/src/proto/example.proto +20 -0
- package/src/proto/loans/approveloan.proto +15 -0
- package/src/proto/loans/banklist.proto +12 -0
- package/src/proto/loans/calculateemi.proto +20 -0
- package/src/proto/loans/creditlimit.proto +18 -0
- package/src/proto/loans/restructureloan.proto +12 -0
- package/src/proto/loans/transactionlist.proto +18 -0
- package/src/proto/loans/updateinstallments.proto +19 -0
- package/src/proto/loans/updateloan.proto +15 -0
- package/src/proto/loans.proto +23 -0
- package/src/proto/stashcash/creditsc.proto +22 -0
- package/src/proto/stashcash/debitsc.proto +27 -0
- package/src/proto/stashcash/getscbalance.proto +21 -0
- package/src/proto/stashcash/getschistory.proto +35 -0
- package/src/proto/stashcash/reversesc.proto +20 -0
- package/src/proto/stashcash.proto +17 -0
- package/src/ts/customers/addaddress.ts +310 -0
- package/src/ts/customers/addbankaccountdetails.ts +184 -0
- package/src/ts/customers/createcustomerreference.ts +276 -0
- package/src/ts/customers/getbankaccountdetails.ts +169 -0
- package/src/ts/customers/getbasicinfo.ts +385 -0
- package/src/ts/customers/getcities.ts +227 -0
- package/src/ts/customers/getcustomerbyid.ts +492 -0
- package/src/ts/customers/getdashboard.ts +728 -0
- package/src/ts/customers/getdashboardmaincard.ts +608 -0
- package/src/ts/customers/getkycweburl.ts +133 -0
- package/src/ts/customers/getprofessionalinfo.ts +344 -0
- package/src/ts/customers/getprofile.ts +338 -0
- package/src/ts/customers/getstates.ts +212 -0
- package/src/ts/customers/getstep.ts +483 -0
- package/src/ts/customers/profilebasic.ts +198 -0
- package/src/ts/customers/profileupdatetnc.ts +148 -0
- package/src/ts/customers/resetmpin.ts +166 -0
- package/src/ts/customers/savebasicdetails.ts +229 -0
- package/src/ts/customers/saveunlocklimit.ts +133 -0
- package/src/ts/customers/sendemailtoken.ts +148 -0
- package/src/ts/customers/sendotp.ts +202 -0
- package/src/ts/customers/setmpin.ts +166 -0
- package/src/ts/customers/step10.ts +544 -0
- package/src/ts/customers/step7.ts +456 -0
- package/src/ts/customers/step8.ts +472 -0
- package/src/ts/customers/step9.ts +578 -0
- package/src/ts/customers/stepstatic.ts +425 -0
- package/src/ts/customers/updatedigilockertxn.ts +182 -0
- package/src/ts/customers/updatehypervergetxn.ts +166 -0
- package/src/ts/customers/verifyemail.ts +148 -0
- package/src/ts/customers/verifympin.ts +184 -0
- package/src/ts/customers/verifyotp.ts +232 -0
- package/src/ts/customers.ts +1038 -0
- package/src/ts/example.ts +294 -0
- package/{ts/google/protobuf/timestamp.d.ts → src/ts/google/protobuf/timestamp.ts} +126 -30
- package/src/ts/loans/approveloan.ts +214 -0
- package/src/ts/loans/banklist.ts +183 -0
- package/src/ts/loans/calculateemi.ts +295 -0
- package/src/ts/loans/creditlimit.ts +294 -0
- package/src/ts/loans/restructureloan.ts +166 -0
- package/src/ts/loans/transactionlist.ts +281 -0
- package/src/ts/loans/updateinstallments.ts +271 -0
- package/src/ts/loans/updateloan.ts +214 -0
- package/src/ts/loans.ts +221 -0
- package/src/ts/stashcash/creditsc.ts +361 -0
- package/src/ts/stashcash/debitsc.ts +450 -0
- package/src/ts/stashcash/getscbalance.ts +351 -0
- package/src/ts/stashcash/getschistory.ts +566 -0
- package/src/ts/stashcash/reversesc.ts +329 -0
- package/src/ts/stashcash.ts +152 -0
- package/tsconfig.json +18 -0
- package/ts/customer/getprofile.d.ts +0 -38
- package/ts/customer/getprofile.js +0 -162
- package/ts/customer/getstep.d.ts +0 -78
- package/ts/customer/getstep.js +0 -420
- package/ts/customer/profileupdatetnc.d.ts +0 -35
- package/ts/customer/profileupdatetnc.js +0 -117
- package/ts/customer/sendotp.d.ts +0 -36
- package/ts/customer/sendotp.js +0 -133
- package/ts/customer/setmpin.d.ts +0 -36
- package/ts/customer/setmpin.js +0 -133
- package/ts/customer/step1.d.ts +0 -69
- package/ts/customer/step1.js +0 -395
- package/ts/customer/step10.d.ts +0 -73
- package/ts/customer/step10.js +0 -459
- package/ts/customer/step2.d.ts +0 -68
- package/ts/customer/step2.js +0 -381
- package/ts/customer/step7.d.ts +0 -68
- package/ts/customer/step7.js +0 -381
- package/ts/customer/step8.d.ts +0 -69
- package/ts/customer/step8.js +0 -395
- package/ts/customer/step9.d.ts +0 -75
- package/ts/customer/step9.js +0 -489
- package/ts/customer/stepstatic.d.ts +0 -66
- package/ts/customer/stepstatic.js +0 -352
- package/ts/customer/verifympin.d.ts +0 -37
- package/ts/customer/verifympin.js +0 -149
- package/ts/customer/verifyotp.d.ts +0 -39
- package/ts/customer/verifyotp.js +0 -177
- package/ts/customer.d.ts +0 -262
- package/ts/customer.js +0 -190
- package/ts/customers/getbankaccountdetails.d.ts +0 -36
- package/ts/customers/getbankaccountdetails.js +0 -134
- package/ts/customers/getbasicinfo.d.ts +0 -39
- package/ts/customers/getbasicinfo.js +0 -176
- package/ts/customers/getcustomerbyid.d.ts +0 -50
- package/ts/customers/getcustomerbyid.js +0 -346
- package/ts/customers/getdashboard.d.ts +0 -90
- package/ts/customers/getdashboard.js +0 -603
- package/ts/customers/getdashboardmaincard.d.ts +0 -69
- package/ts/customers/getdashboardmaincard.js +0 -520
- package/ts/customers/getprofessionalinfo.d.ts +0 -37
- package/ts/customers/getprofessionalinfo.js +0 -148
- package/ts/customers/getprofile.d.ts +0 -38
- package/ts/customers/getprofile.js +0 -162
- package/ts/customers/getstep.d.ts +0 -78
- package/ts/customers/getstep.js +0 -420
- package/ts/customers/profilebasic.d.ts +0 -38
- package/ts/customers/profilebasic.js +0 -161
- package/ts/customers/profileupdatetnc.d.ts +0 -35
- package/ts/customers/profileupdatetnc.js +0 -117
- package/ts/customers/sendemailtoken.d.ts +0 -35
- package/ts/customers/sendemailtoken.js +0 -117
- package/ts/customers/sendotp.d.ts +0 -38
- package/ts/customers/sendotp.js +0 -165
- package/ts/customers/setmpin.d.ts +0 -36
- package/ts/customers/setmpin.js +0 -133
- package/ts/customers/step1.d.ts +0 -69
- package/ts/customers/step1.js +0 -395
- package/ts/customers/step10.d.ts +0 -73
- package/ts/customers/step10.js +0 -459
- package/ts/customers/step2.d.ts +0 -68
- package/ts/customers/step2.js +0 -381
- package/ts/customers/step7.d.ts +0 -68
- package/ts/customers/step7.js +0 -381
- package/ts/customers/step8.d.ts +0 -69
- package/ts/customers/step8.js +0 -395
- package/ts/customers/step9.d.ts +0 -75
- package/ts/customers/step9.js +0 -489
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/verifyemail.d.ts +0 -35
- package/ts/customers/verifyemail.js +0 -117
- package/ts/customers/verifympin.d.ts +0 -37
- package/ts/customers/verifympin.js +0 -149
- package/ts/customers/verifyotp.d.ts +0 -40
- package/ts/customers/verifyotp.js +0 -191
- package/ts/customers.d.ts +0 -388
- package/ts/customers.js +0 -280
- package/ts/example.d.ts +0 -78
- package/ts/example.js +0 -199
- package/ts/google/protobuf/any.d.ts +0 -138
- package/ts/google/protobuf/any.js +0 -108
- package/ts/google/protobuf/timestamp.js +0 -97
- package/ts/loans/approveloan.d.ts +0 -39
- package/ts/loans/approveloan.js +0 -175
- package/ts/loans/banklist.d.ts +0 -48
- package/ts/loans/banklist.js +0 -202
- package/ts/loans/calculateemi.d.ts +0 -37
- package/ts/loans/calculateemi.js +0 -147
- package/ts/loans/creditlimit.d.ts +0 -35
- package/ts/loans/creditlimit.js +0 -120
- package/ts/loans/updateinstallments.d.ts +0 -42
- package/ts/loans/updateinstallments.js +0 -226
- package/ts/loans/updateloan.d.ts +0 -39
- package/ts/loans/updateloan.js +0 -175
- package/ts/loans.d.ts +0 -98
- package/ts/loans.js +0 -74
- package/ts/payments/checkpaymentstatus.d.ts +0 -51
- package/ts/payments/checkpaymentstatus.js +0 -259
- package/ts/payments/createorder.d.ts +0 -39
- package/ts/payments/createorder.js +0 -191
- package/ts/payments/getpaymentdetails.d.ts +0 -58
- package/ts/payments/getpaymentdetails.js +0 -367
- package/ts/payments/getpaymentoptions.d.ts +0 -50
- package/ts/payments/getpaymentoptions.js +0 -231
- package/ts/payments/initiatepayment.d.ts +0 -54
- package/ts/payments/initiatepayment.js +0 -299
- package/ts/payments.d.ts +0 -70
- package/ts/payments.js +0 -54
- package/ts/stashcash/creditsc.d.ts +0 -54
- package/ts/stashcash/creditsc.js +0 -301
- package/ts/stashcash/debitsc.d.ts +0 -59
- package/ts/stashcash/debitsc.js +0 -380
- package/ts/stashcash/getscbalance.d.ts +0 -53
- package/ts/stashcash/getscbalance.js +0 -293
- package/ts/stashcash/getschistory.d.ts +0 -73
- package/ts/stashcash/getschistory.js +0 -479
- package/ts/stashcash/reversesc.d.ts +0 -52
- package/ts/stashcash/reversesc.js +0 -273
- package/ts/stashcash.d.ts +0 -84
- package/ts/stashcash.js +0 -64
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.180.0
|
|
5
|
-
// protoc v3.20.3
|
|
6
|
-
// source: customers/getbankaccountdetails.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.getBankAccountDetailsResponse = exports.getBankAccountDetailsRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getbankaccountdetails";
|
|
15
|
-
function createBasegetBankAccountDetailsRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.getBankAccountDetailsRequest = {
|
|
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 = createBasegetBankAccountDetailsRequest();
|
|
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.getBankAccountDetailsRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasegetBankAccountDetailsRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBasegetBankAccountDetailsResponse() {
|
|
53
|
-
return { account_number: "", bank_name: "", ifsc_code: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.getBankAccountDetailsResponse = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.account_number !== "") {
|
|
58
|
-
writer.uint32(10).string(message.account_number);
|
|
59
|
-
}
|
|
60
|
-
if (message.bank_name !== "") {
|
|
61
|
-
writer.uint32(18).string(message.bank_name);
|
|
62
|
-
}
|
|
63
|
-
if (message.ifsc_code !== "") {
|
|
64
|
-
writer.uint32(26).string(message.ifsc_code);
|
|
65
|
-
}
|
|
66
|
-
return writer;
|
|
67
|
-
},
|
|
68
|
-
decode(input, length) {
|
|
69
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
70
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
71
|
-
const message = createBasegetBankAccountDetailsResponse();
|
|
72
|
-
while (reader.pos < end) {
|
|
73
|
-
const tag = reader.uint32();
|
|
74
|
-
switch (tag >>> 3) {
|
|
75
|
-
case 1:
|
|
76
|
-
if (tag !== 10) {
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
message.account_number = reader.string();
|
|
80
|
-
continue;
|
|
81
|
-
case 2:
|
|
82
|
-
if (tag !== 18) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
message.bank_name = reader.string();
|
|
86
|
-
continue;
|
|
87
|
-
case 3:
|
|
88
|
-
if (tag !== 26) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
message.ifsc_code = reader.string();
|
|
92
|
-
continue;
|
|
93
|
-
}
|
|
94
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
reader.skipType(tag & 7);
|
|
98
|
-
}
|
|
99
|
-
return message;
|
|
100
|
-
},
|
|
101
|
-
fromJSON(object) {
|
|
102
|
-
return {
|
|
103
|
-
account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : "",
|
|
104
|
-
bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : "",
|
|
105
|
-
ifsc_code: isSet(object.ifsc_code) ? globalThis.String(object.ifsc_code) : "",
|
|
106
|
-
};
|
|
107
|
-
},
|
|
108
|
-
toJSON(message) {
|
|
109
|
-
const obj = {};
|
|
110
|
-
if (message.account_number !== "") {
|
|
111
|
-
obj.account_number = message.account_number;
|
|
112
|
-
}
|
|
113
|
-
if (message.bank_name !== "") {
|
|
114
|
-
obj.bank_name = message.bank_name;
|
|
115
|
-
}
|
|
116
|
-
if (message.ifsc_code !== "") {
|
|
117
|
-
obj.ifsc_code = message.ifsc_code;
|
|
118
|
-
}
|
|
119
|
-
return obj;
|
|
120
|
-
},
|
|
121
|
-
create(base) {
|
|
122
|
-
return exports.getBankAccountDetailsResponse.fromPartial(base ?? {});
|
|
123
|
-
},
|
|
124
|
-
fromPartial(object) {
|
|
125
|
-
const message = createBasegetBankAccountDetailsResponse();
|
|
126
|
-
message.account_number = object.account_number ?? "";
|
|
127
|
-
message.bank_name = object.bank_name ?? "";
|
|
128
|
-
message.ifsc_code = object.ifsc_code ?? "";
|
|
129
|
-
return message;
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
function isSet(value) {
|
|
133
|
-
return value !== null && value !== undefined;
|
|
134
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getbasicinfo";
|
|
3
|
-
export interface getBasicInfoRequest {
|
|
4
|
-
}
|
|
5
|
-
export interface getBasicInfoResponse {
|
|
6
|
-
mobile: string;
|
|
7
|
-
pan: string;
|
|
8
|
-
aadhar: string;
|
|
9
|
-
personal_email: string;
|
|
10
|
-
curr_address: string;
|
|
11
|
-
permanent_address: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const getBasicInfoRequest: {
|
|
14
|
-
encode(_: getBasicInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getBasicInfoRequest;
|
|
16
|
-
fromJSON(_: any): getBasicInfoRequest;
|
|
17
|
-
toJSON(_: getBasicInfoRequest): unknown;
|
|
18
|
-
create<I extends Exact<DeepPartial<getBasicInfoRequest>, I>>(base?: I): getBasicInfoRequest;
|
|
19
|
-
fromPartial<I extends Exact<DeepPartial<getBasicInfoRequest>, I>>(_: I): getBasicInfoRequest;
|
|
20
|
-
};
|
|
21
|
-
export declare const getBasicInfoResponse: {
|
|
22
|
-
encode(message: getBasicInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getBasicInfoResponse;
|
|
24
|
-
fromJSON(object: any): getBasicInfoResponse;
|
|
25
|
-
toJSON(message: getBasicInfoResponse): unknown;
|
|
26
|
-
create<I extends Exact<DeepPartial<getBasicInfoResponse>, I>>(base?: I): getBasicInfoResponse;
|
|
27
|
-
fromPartial<I extends Exact<DeepPartial<getBasicInfoResponse>, I>>(object: I): getBasicInfoResponse;
|
|
28
|
-
};
|
|
29
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
30
|
-
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 {} ? {
|
|
31
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
32
|
-
} : Partial<T>;
|
|
33
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
34
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
35
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
36
|
-
} & {
|
|
37
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
38
|
-
};
|
|
39
|
-
export {};
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.180.0
|
|
5
|
-
// protoc v3.20.3
|
|
6
|
-
// source: customers/getbasicinfo.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.getBasicInfoResponse = exports.getBasicInfoRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getbasicinfo";
|
|
15
|
-
function createBasegetBasicInfoRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.getBasicInfoRequest = {
|
|
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 = createBasegetBasicInfoRequest();
|
|
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.getBasicInfoRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasegetBasicInfoRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBasegetBasicInfoResponse() {
|
|
53
|
-
return { mobile: "", pan: "", aadhar: "", personal_email: "", curr_address: "", permanent_address: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.getBasicInfoResponse = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.mobile !== "") {
|
|
58
|
-
writer.uint32(10).string(message.mobile);
|
|
59
|
-
}
|
|
60
|
-
if (message.pan !== "") {
|
|
61
|
-
writer.uint32(18).string(message.pan);
|
|
62
|
-
}
|
|
63
|
-
if (message.aadhar !== "") {
|
|
64
|
-
writer.uint32(26).string(message.aadhar);
|
|
65
|
-
}
|
|
66
|
-
if (message.personal_email !== "") {
|
|
67
|
-
writer.uint32(34).string(message.personal_email);
|
|
68
|
-
}
|
|
69
|
-
if (message.curr_address !== "") {
|
|
70
|
-
writer.uint32(42).string(message.curr_address);
|
|
71
|
-
}
|
|
72
|
-
if (message.permanent_address !== "") {
|
|
73
|
-
writer.uint32(50).string(message.permanent_address);
|
|
74
|
-
}
|
|
75
|
-
return writer;
|
|
76
|
-
},
|
|
77
|
-
decode(input, length) {
|
|
78
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
79
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
80
|
-
const message = createBasegetBasicInfoResponse();
|
|
81
|
-
while (reader.pos < end) {
|
|
82
|
-
const tag = reader.uint32();
|
|
83
|
-
switch (tag >>> 3) {
|
|
84
|
-
case 1:
|
|
85
|
-
if (tag !== 10) {
|
|
86
|
-
break;
|
|
87
|
-
}
|
|
88
|
-
message.mobile = reader.string();
|
|
89
|
-
continue;
|
|
90
|
-
case 2:
|
|
91
|
-
if (tag !== 18) {
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
message.pan = reader.string();
|
|
95
|
-
continue;
|
|
96
|
-
case 3:
|
|
97
|
-
if (tag !== 26) {
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
100
|
-
message.aadhar = reader.string();
|
|
101
|
-
continue;
|
|
102
|
-
case 4:
|
|
103
|
-
if (tag !== 34) {
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
106
|
-
message.personal_email = reader.string();
|
|
107
|
-
continue;
|
|
108
|
-
case 5:
|
|
109
|
-
if (tag !== 42) {
|
|
110
|
-
break;
|
|
111
|
-
}
|
|
112
|
-
message.curr_address = reader.string();
|
|
113
|
-
continue;
|
|
114
|
-
case 6:
|
|
115
|
-
if (tag !== 50) {
|
|
116
|
-
break;
|
|
117
|
-
}
|
|
118
|
-
message.permanent_address = reader.string();
|
|
119
|
-
continue;
|
|
120
|
-
}
|
|
121
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
122
|
-
break;
|
|
123
|
-
}
|
|
124
|
-
reader.skipType(tag & 7);
|
|
125
|
-
}
|
|
126
|
-
return message;
|
|
127
|
-
},
|
|
128
|
-
fromJSON(object) {
|
|
129
|
-
return {
|
|
130
|
-
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
131
|
-
pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
|
|
132
|
-
aadhar: isSet(object.aadhar) ? globalThis.String(object.aadhar) : "",
|
|
133
|
-
personal_email: isSet(object.personal_email) ? globalThis.String(object.personal_email) : "",
|
|
134
|
-
curr_address: isSet(object.curr_address) ? globalThis.String(object.curr_address) : "",
|
|
135
|
-
permanent_address: isSet(object.permanent_address) ? globalThis.String(object.permanent_address) : "",
|
|
136
|
-
};
|
|
137
|
-
},
|
|
138
|
-
toJSON(message) {
|
|
139
|
-
const obj = {};
|
|
140
|
-
if (message.mobile !== "") {
|
|
141
|
-
obj.mobile = message.mobile;
|
|
142
|
-
}
|
|
143
|
-
if (message.pan !== "") {
|
|
144
|
-
obj.pan = message.pan;
|
|
145
|
-
}
|
|
146
|
-
if (message.aadhar !== "") {
|
|
147
|
-
obj.aadhar = message.aadhar;
|
|
148
|
-
}
|
|
149
|
-
if (message.personal_email !== "") {
|
|
150
|
-
obj.personal_email = message.personal_email;
|
|
151
|
-
}
|
|
152
|
-
if (message.curr_address !== "") {
|
|
153
|
-
obj.curr_address = message.curr_address;
|
|
154
|
-
}
|
|
155
|
-
if (message.permanent_address !== "") {
|
|
156
|
-
obj.permanent_address = message.permanent_address;
|
|
157
|
-
}
|
|
158
|
-
return obj;
|
|
159
|
-
},
|
|
160
|
-
create(base) {
|
|
161
|
-
return exports.getBasicInfoResponse.fromPartial(base ?? {});
|
|
162
|
-
},
|
|
163
|
-
fromPartial(object) {
|
|
164
|
-
const message = createBasegetBasicInfoResponse();
|
|
165
|
-
message.mobile = object.mobile ?? "";
|
|
166
|
-
message.pan = object.pan ?? "";
|
|
167
|
-
message.aadhar = object.aadhar ?? "";
|
|
168
|
-
message.personal_email = object.personal_email ?? "";
|
|
169
|
-
message.curr_address = object.curr_address ?? "";
|
|
170
|
-
message.permanent_address = object.permanent_address ?? "";
|
|
171
|
-
return message;
|
|
172
|
-
},
|
|
173
|
-
};
|
|
174
|
-
function isSet(value) {
|
|
175
|
-
return value !== null && value !== undefined;
|
|
176
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getcustomerbyid";
|
|
3
|
-
export interface getCustomerByIdRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface getCustomerByIdResponse {
|
|
7
|
-
mobile: string;
|
|
8
|
-
email: string;
|
|
9
|
-
first_name: string;
|
|
10
|
-
middle_name: string;
|
|
11
|
-
last_name: string;
|
|
12
|
-
father_name: string;
|
|
13
|
-
mother_maiden_name: string;
|
|
14
|
-
dob: string;
|
|
15
|
-
company_name: string;
|
|
16
|
-
pincode: string;
|
|
17
|
-
app_version: string;
|
|
18
|
-
biometric_enabled: boolean;
|
|
19
|
-
journey_sequence: number;
|
|
20
|
-
category: string;
|
|
21
|
-
loc_limit: number;
|
|
22
|
-
status: string;
|
|
23
|
-
}
|
|
24
|
-
export declare const getCustomerByIdRequest: {
|
|
25
|
-
encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerByIdRequest;
|
|
27
|
-
fromJSON(object: any): getCustomerByIdRequest;
|
|
28
|
-
toJSON(message: getCustomerByIdRequest): unknown;
|
|
29
|
-
create<I extends Exact<DeepPartial<getCustomerByIdRequest>, I>>(base?: I): getCustomerByIdRequest;
|
|
30
|
-
fromPartial<I extends Exact<DeepPartial<getCustomerByIdRequest>, I>>(object: I): getCustomerByIdRequest;
|
|
31
|
-
};
|
|
32
|
-
export declare const getCustomerByIdResponse: {
|
|
33
|
-
encode(message: getCustomerByIdResponse, writer?: _m0.Writer): _m0.Writer;
|
|
34
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerByIdResponse;
|
|
35
|
-
fromJSON(object: any): getCustomerByIdResponse;
|
|
36
|
-
toJSON(message: getCustomerByIdResponse): unknown;
|
|
37
|
-
create<I extends Exact<DeepPartial<getCustomerByIdResponse>, I>>(base?: I): getCustomerByIdResponse;
|
|
38
|
-
fromPartial<I extends Exact<DeepPartial<getCustomerByIdResponse>, I>>(object: I): getCustomerByIdResponse;
|
|
39
|
-
};
|
|
40
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
41
|
-
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 {} ? {
|
|
42
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
-
} : Partial<T>;
|
|
44
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
-
} & {
|
|
48
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
-
};
|
|
50
|
-
export {};
|