@stashfin/grpc 1.2.168 → 1.2.169
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/bureau/getbasicdetails.d.ts +0 -57
- package/ts/bureau/getbasicdetails.js +0 -341
- package/ts/bureau/getdemogs.d.ts +0 -113
- package/ts/bureau/getdemogs.js +0 -611
- package/ts/bureau/getreport.d.ts +0 -188
- package/ts/bureau/getreport.js +0 -1640
- package/ts/bureau.d.ts +0 -56
- package/ts/bureau.js +0 -44
- package/ts/colender/disburseLoan.d.ts +0 -44
- package/ts/colender/disburseLoan.js +0 -256
- package/ts/colender/forecloseLoan.d.ts +0 -41
- package/ts/colender/forecloseLoan.js +0 -205
- package/ts/colender/repayLoan.d.ts +0 -48
- package/ts/colender/repayLoan.js +0 -313
- package/ts/colender.d.ts +0 -56
- package/ts/colender.js +0 -44
- package/ts/customers/aa/getbanklist.d.ts +0 -48
- package/ts/customers/aa/getbanklist.js +0 -198
- package/ts/customers/aa/initiate.d.ts +0 -40
- package/ts/customers/aa/initiate.js +0 -209
- package/ts/customers/addaddress.d.ts +0 -50
- package/ts/customers/addaddress.js +0 -265
- package/ts/customers/addbankaccountdetails.d.ts +0 -37
- package/ts/customers/addbankaccountdetails.js +0 -147
- package/ts/customers/addfathersname.d.ts +0 -35
- package/ts/customers/addfathersname.js +0 -117
- package/ts/customers/addgstnumber.d.ts +0 -35
- package/ts/customers/addgstnumber.js +0 -117
- package/ts/customers/addmoredetails.d.ts +0 -60
- package/ts/customers/addmoredetails.js +0 -314
- package/ts/customers/addsuspendedcustomer.d.ts +0 -36
- package/ts/customers/addsuspendedcustomer.js +0 -133
- package/ts/customers/adduserapps.d.ts +0 -74
- package/ts/customers/adduserapps.js +0 -210
- package/ts/customers/bulksms.d.ts +0 -48
- package/ts/customers/bulksms.js +0 -201
- package/ts/customers/changempin.d.ts +0 -36
- package/ts/customers/changempin.js +0 -133
- package/ts/customers/createcustomerreference.d.ts +0 -43
- package/ts/customers/createcustomerreference.js +0 -226
- package/ts/customers/deleteprofile.d.ts +0 -35
- package/ts/customers/deleteprofile.js +0 -120
- package/ts/customers/disablempin.d.ts +0 -34
- package/ts/customers/disablempin.js +0 -104
- package/ts/customers/fetchrcprofile.d.ts +0 -45
- package/ts/customers/fetchrcprofile.js +0 -271
- package/ts/customers/forgotmpin.d.ts +0 -35
- package/ts/customers/forgotmpin.js +0 -117
- package/ts/customers/forgotmpinverify.d.ts +0 -36
- package/ts/customers/forgotmpinverify.js +0 -133
- package/ts/customers/getbankaccountdetails.d.ts +0 -37
- package/ts/customers/getbankaccountdetails.js +0 -148
- package/ts/customers/getbasicinfo.d.ts +0 -56
- package/ts/customers/getbasicinfo.js +0 -323
- package/ts/customers/getcities.d.ts +0 -47
- package/ts/customers/getcities.js +0 -183
- package/ts/customers/getcompanyaccdetails.d.ts +0 -37
- package/ts/customers/getcompanyaccdetails.js +0 -148
- package/ts/customers/getcustomerbyid.d.ts +0 -142
- package/ts/customers/getcustomerbyid.js +0 -1521
- package/ts/customers/getdashboard.d.ts +0 -88
- package/ts/customers/getdashboard.js +0 -574
- package/ts/customers/getdashboardmaincard.d.ts +0 -70
- package/ts/customers/getdashboardmaincard.js +0 -534
- package/ts/customers/getdocuments.d.ts +0 -46
- package/ts/customers/getdocuments.js +0 -174
- package/ts/customers/getlimit.d.ts +0 -37
- package/ts/customers/getlimit.js +0 -148
- package/ts/customers/getprofessionalinfo.d.ts +0 -54
- package/ts/customers/getprofessionalinfo.js +0 -286
- package/ts/customers/getprofile.d.ts +0 -54
- package/ts/customers/getprofile.js +0 -296
- package/ts/customers/getselfieetxnid.d.ts +0 -34
- package/ts/customers/getselfieetxnid.js +0 -104
- package/ts/customers/getstates.d.ts +0 -46
- package/ts/customers/getstates.js +0 -170
- package/ts/customers/getstep.d.ts +0 -69
- package/ts/customers/getstep.js +0 -406
- package/ts/customers/logout.d.ts +0 -34
- package/ts/customers/logout.js +0 -104
- package/ts/customers/profilebasic.d.ts +0 -40
- package/ts/customers/profilebasic.js +0 -189
- package/ts/customers/profileupdatetnc.d.ts +0 -35
- package/ts/customers/profileupdatetnc.js +0 -117
- package/ts/customers/savebasicdetails.d.ts +0 -47
- package/ts/customers/savebasicdetails.js +0 -185
- package/ts/customers/saveunlocklimit.d.ts +0 -34
- package/ts/customers/saveunlocklimit.js +0 -104
- package/ts/customers/sendotp.d.ts +0 -38
- package/ts/customers/sendotp.js +0 -165
- package/ts/customers/sendotptoemail.d.ts +0 -35
- package/ts/customers/sendotptoemail.js +0 -117
- package/ts/customers/setmpin.d.ts +0 -36
- package/ts/customers/setmpin.js +0 -133
- package/ts/customers/skipdlrcscreen.d.ts +0 -35
- package/ts/customers/skipdlrcscreen.js +0 -117
- package/ts/customers/skipscreen.d.ts +0 -44
- package/ts/customers/skipscreen.js +0 -162
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/updatecustomerbyid.d.ts +0 -48
- package/ts/customers/updatecustomerbyid.js +0 -201
- package/ts/customers/updatedlnumber.d.ts +0 -35
- package/ts/customers/updatedlnumber.js +0 -119
- package/ts/customers/updatedob.d.ts +0 -35
- package/ts/customers/updatedob.js +0 -117
- package/ts/customers/updatelocstatus.d.ts +0 -36
- package/ts/customers/updatelocstatus.js +0 -133
- package/ts/customers/updatemobilesendotp.d.ts +0 -35
- package/ts/customers/updatemobilesendotp.js +0 -117
- package/ts/customers/updatemobileverifyotp.d.ts +0 -36
- package/ts/customers/updatemobileverifyotp.js +0 -133
- package/ts/customers/updateokyctxn.d.ts +0 -37
- package/ts/customers/updateokyctxn.js +0 -147
- package/ts/customers/updateselfieetxn.d.ts +0 -36
- package/ts/customers/updateselfieetxn.js +0 -133
- package/ts/customers/updatevehiclenumber.d.ts +0 -35
- package/ts/customers/updatevehiclenumber.js +0 -117
- package/ts/customers/uploaddocuments.d.ts +0 -37
- package/ts/customers/uploaddocuments.js +0 -172
- package/ts/customers/validatepan.d.ts +0 -45
- package/ts/customers/validatepan.js +0 -274
- package/ts/customers/verifympin.d.ts +0 -37
- package/ts/customers/verifympin.js +0 -149
- package/ts/customers/verifyotp.d.ts +0 -41
- package/ts/customers/verifyotp.js +0 -205
- package/ts/customers/verifyotptoemail.d.ts +0 -35
- package/ts/customers/verifyotptoemail.js +0 -117
- package/ts/customers.d.ts +0 -796
- package/ts/customers.js +0 -572
- package/ts/example.d.ts +0 -78
- package/ts/example.js +0 -199
- package/ts/growth/processchrpayment.d.ts +0 -40
- package/ts/growth/processchrpayment.js +0 -205
- package/ts/growth.d.ts +0 -28
- package/ts/growth.js +0 -24
- package/ts/loans/approveloan.d.ts +0 -81
- package/ts/loans/approveloan.js +0 -703
- package/ts/loans/banklist.d.ts +0 -37
- package/ts/loans/banklist.js +0 -148
- package/ts/loans/calculateemi.d.ts +0 -57
- package/ts/loans/calculateemi.js +0 -340
- package/ts/loans/creditlimit.d.ts +0 -51
- package/ts/loans/creditlimit.js +0 -381
- package/ts/loans/futurepaymentmoredetails.d.ts +0 -50
- package/ts/loans/futurepaymentmoredetails.js +0 -230
- package/ts/loans/getbilldetails.d.ts +0 -38
- package/ts/loans/getbilldetails.js +0 -161
- package/ts/loans/getcustomerloanstatus.d.ts +0 -34
- package/ts/loans/getcustomerloanstatus.js +0 -104
- package/ts/loans/getloanbyid.d.ts +0 -48
- package/ts/loans/getloanbyid.js +0 -318
- package/ts/loans/getnextdueamount.d.ts +0 -34
- package/ts/loans/getnextdueamount.js +0 -104
- package/ts/loans/getpendingemiamount.d.ts +0 -34
- package/ts/loans/getpendingemiamount.js +0 -104
- package/ts/loans/getsummarystaticfields.d.ts +0 -80
- package/ts/loans/getsummarystaticfields.js +0 -700
- package/ts/loans/loansummary.d.ts +0 -66
- package/ts/loans/loansummary.js +0 -593
- package/ts/loans/paymentallocation.d.ts +0 -38
- package/ts/loans/paymentallocation.js +0 -161
- package/ts/loans/paymenthistory.d.ts +0 -47
- package/ts/loans/paymenthistory.js +0 -188
- package/ts/loans/restructureloan.d.ts +0 -36
- package/ts/loans/restructureloan.js +0 -133
- package/ts/loans/sendemail.d.ts +0 -35
- package/ts/loans/sendemail.js +0 -117
- package/ts/loans/sendnocemail.d.ts +0 -35
- package/ts/loans/sendnocemail.js +0 -117
- package/ts/loans/transactionlist.d.ts +0 -52
- package/ts/loans/transactionlist.js +0 -257
- package/ts/loans/updateinstallments.d.ts +0 -42
- package/ts/loans/updateinstallments.js +0 -226
- package/ts/loans/updateloan.d.ts +0 -37
- package/ts/loans/updateloan.js +0 -147
- package/ts/loans.d.ts +0 -294
- package/ts/loans.js +0 -214
- package/ts/payments.d.ts +0 -239
- package/ts/payments.js +0 -1117
- 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
package/package.json
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "bureau.getbasicdetails";
|
|
3
|
-
export interface detailsRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
range: number;
|
|
6
|
-
bureau_type: number;
|
|
7
|
-
source: string;
|
|
8
|
-
pull_type: number;
|
|
9
|
-
}
|
|
10
|
-
export interface detailsResponse {
|
|
11
|
-
status: string;
|
|
12
|
-
data?: Report | undefined;
|
|
13
|
-
}
|
|
14
|
-
export interface Report {
|
|
15
|
-
score: number;
|
|
16
|
-
name: string;
|
|
17
|
-
occupation: string;
|
|
18
|
-
dob: string;
|
|
19
|
-
income: string;
|
|
20
|
-
pull_date: string;
|
|
21
|
-
bureau_type: string;
|
|
22
|
-
}
|
|
23
|
-
export declare const detailsRequest: {
|
|
24
|
-
encode(message: detailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): detailsRequest;
|
|
26
|
-
fromJSON(object: any): detailsRequest;
|
|
27
|
-
toJSON(message: detailsRequest): unknown;
|
|
28
|
-
create<I extends Exact<DeepPartial<detailsRequest>, I>>(base?: I): detailsRequest;
|
|
29
|
-
fromPartial<I extends Exact<DeepPartial<detailsRequest>, I>>(object: I): detailsRequest;
|
|
30
|
-
};
|
|
31
|
-
export declare const detailsResponse: {
|
|
32
|
-
encode(message: detailsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
33
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): detailsResponse;
|
|
34
|
-
fromJSON(object: any): detailsResponse;
|
|
35
|
-
toJSON(message: detailsResponse): unknown;
|
|
36
|
-
create<I extends Exact<DeepPartial<detailsResponse>, I>>(base?: I): detailsResponse;
|
|
37
|
-
fromPartial<I extends Exact<DeepPartial<detailsResponse>, I>>(object: I): detailsResponse;
|
|
38
|
-
};
|
|
39
|
-
export declare const Report: {
|
|
40
|
-
encode(message: Report, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Report;
|
|
42
|
-
fromJSON(object: any): Report;
|
|
43
|
-
toJSON(message: Report): unknown;
|
|
44
|
-
create<I extends Exact<DeepPartial<Report>, I>>(base?: I): Report;
|
|
45
|
-
fromPartial<I extends Exact<DeepPartial<Report>, I>>(object: I): Report;
|
|
46
|
-
};
|
|
47
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
48
|
-
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 {} ? {
|
|
49
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
50
|
-
} : Partial<T>;
|
|
51
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
52
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
53
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
54
|
-
} & {
|
|
55
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
56
|
-
};
|
|
57
|
-
export {};
|
|
@@ -1,341 +0,0 @@
|
|
|
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.4
|
|
6
|
-
// source: bureau/getbasicdetails.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.Report = exports.detailsResponse = exports.detailsRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const long_1 = __importDefault(require("long"));
|
|
14
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
-
exports.protobufPackage = "bureau.getbasicdetails";
|
|
16
|
-
function createBasedetailsRequest() {
|
|
17
|
-
return { customer_id: 0, range: 0, bureau_type: 0, source: "", pull_type: 0 };
|
|
18
|
-
}
|
|
19
|
-
exports.detailsRequest = {
|
|
20
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
-
if (message.customer_id !== 0) {
|
|
22
|
-
writer.uint32(8).int64(message.customer_id);
|
|
23
|
-
}
|
|
24
|
-
if (message.range !== 0) {
|
|
25
|
-
writer.uint32(16).int32(message.range);
|
|
26
|
-
}
|
|
27
|
-
if (message.bureau_type !== 0) {
|
|
28
|
-
writer.uint32(24).int32(message.bureau_type);
|
|
29
|
-
}
|
|
30
|
-
if (message.source !== "") {
|
|
31
|
-
writer.uint32(34).string(message.source);
|
|
32
|
-
}
|
|
33
|
-
if (message.pull_type !== 0) {
|
|
34
|
-
writer.uint32(40).int32(message.pull_type);
|
|
35
|
-
}
|
|
36
|
-
return writer;
|
|
37
|
-
},
|
|
38
|
-
decode(input, length) {
|
|
39
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
40
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
41
|
-
const message = createBasedetailsRequest();
|
|
42
|
-
while (reader.pos < end) {
|
|
43
|
-
const tag = reader.uint32();
|
|
44
|
-
switch (tag >>> 3) {
|
|
45
|
-
case 1:
|
|
46
|
-
if (tag !== 8) {
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
message.customer_id = longToNumber(reader.int64());
|
|
50
|
-
continue;
|
|
51
|
-
case 2:
|
|
52
|
-
if (tag !== 16) {
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
message.range = reader.int32();
|
|
56
|
-
continue;
|
|
57
|
-
case 3:
|
|
58
|
-
if (tag !== 24) {
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
message.bureau_type = reader.int32();
|
|
62
|
-
continue;
|
|
63
|
-
case 4:
|
|
64
|
-
if (tag !== 34) {
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
message.source = reader.string();
|
|
68
|
-
continue;
|
|
69
|
-
case 5:
|
|
70
|
-
if (tag !== 40) {
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
message.pull_type = reader.int32();
|
|
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 {
|
|
85
|
-
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
86
|
-
range: isSet(object.range) ? globalThis.Number(object.range) : 0,
|
|
87
|
-
bureau_type: isSet(object.bureau_type) ? globalThis.Number(object.bureau_type) : 0,
|
|
88
|
-
source: isSet(object.source) ? globalThis.String(object.source) : "",
|
|
89
|
-
pull_type: isSet(object.pull_type) ? globalThis.Number(object.pull_type) : 0,
|
|
90
|
-
};
|
|
91
|
-
},
|
|
92
|
-
toJSON(message) {
|
|
93
|
-
const obj = {};
|
|
94
|
-
if (message.customer_id !== 0) {
|
|
95
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
96
|
-
}
|
|
97
|
-
if (message.range !== 0) {
|
|
98
|
-
obj.range = Math.round(message.range);
|
|
99
|
-
}
|
|
100
|
-
if (message.bureau_type !== 0) {
|
|
101
|
-
obj.bureau_type = Math.round(message.bureau_type);
|
|
102
|
-
}
|
|
103
|
-
if (message.source !== "") {
|
|
104
|
-
obj.source = message.source;
|
|
105
|
-
}
|
|
106
|
-
if (message.pull_type !== 0) {
|
|
107
|
-
obj.pull_type = Math.round(message.pull_type);
|
|
108
|
-
}
|
|
109
|
-
return obj;
|
|
110
|
-
},
|
|
111
|
-
create(base) {
|
|
112
|
-
return exports.detailsRequest.fromPartial(base ?? {});
|
|
113
|
-
},
|
|
114
|
-
fromPartial(object) {
|
|
115
|
-
const message = createBasedetailsRequest();
|
|
116
|
-
message.customer_id = object.customer_id ?? 0;
|
|
117
|
-
message.range = object.range ?? 0;
|
|
118
|
-
message.bureau_type = object.bureau_type ?? 0;
|
|
119
|
-
message.source = object.source ?? "";
|
|
120
|
-
message.pull_type = object.pull_type ?? 0;
|
|
121
|
-
return message;
|
|
122
|
-
},
|
|
123
|
-
};
|
|
124
|
-
function createBasedetailsResponse() {
|
|
125
|
-
return { status: "", data: undefined };
|
|
126
|
-
}
|
|
127
|
-
exports.detailsResponse = {
|
|
128
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
129
|
-
if (message.status !== "") {
|
|
130
|
-
writer.uint32(10).string(message.status);
|
|
131
|
-
}
|
|
132
|
-
if (message.data !== undefined) {
|
|
133
|
-
exports.Report.encode(message.data, writer.uint32(18).fork()).ldelim();
|
|
134
|
-
}
|
|
135
|
-
return writer;
|
|
136
|
-
},
|
|
137
|
-
decode(input, length) {
|
|
138
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
139
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
140
|
-
const message = createBasedetailsResponse();
|
|
141
|
-
while (reader.pos < end) {
|
|
142
|
-
const tag = reader.uint32();
|
|
143
|
-
switch (tag >>> 3) {
|
|
144
|
-
case 1:
|
|
145
|
-
if (tag !== 10) {
|
|
146
|
-
break;
|
|
147
|
-
}
|
|
148
|
-
message.status = reader.string();
|
|
149
|
-
continue;
|
|
150
|
-
case 2:
|
|
151
|
-
if (tag !== 18) {
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
message.data = exports.Report.decode(reader, reader.uint32());
|
|
155
|
-
continue;
|
|
156
|
-
}
|
|
157
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
reader.skipType(tag & 7);
|
|
161
|
-
}
|
|
162
|
-
return message;
|
|
163
|
-
},
|
|
164
|
-
fromJSON(object) {
|
|
165
|
-
return {
|
|
166
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
167
|
-
data: isSet(object.data) ? exports.Report.fromJSON(object.data) : undefined,
|
|
168
|
-
};
|
|
169
|
-
},
|
|
170
|
-
toJSON(message) {
|
|
171
|
-
const obj = {};
|
|
172
|
-
if (message.status !== "") {
|
|
173
|
-
obj.status = message.status;
|
|
174
|
-
}
|
|
175
|
-
if (message.data !== undefined) {
|
|
176
|
-
obj.data = exports.Report.toJSON(message.data);
|
|
177
|
-
}
|
|
178
|
-
return obj;
|
|
179
|
-
},
|
|
180
|
-
create(base) {
|
|
181
|
-
return exports.detailsResponse.fromPartial(base ?? {});
|
|
182
|
-
},
|
|
183
|
-
fromPartial(object) {
|
|
184
|
-
const message = createBasedetailsResponse();
|
|
185
|
-
message.status = object.status ?? "";
|
|
186
|
-
message.data = (object.data !== undefined && object.data !== null) ? exports.Report.fromPartial(object.data) : undefined;
|
|
187
|
-
return message;
|
|
188
|
-
},
|
|
189
|
-
};
|
|
190
|
-
function createBaseReport() {
|
|
191
|
-
return { score: 0, name: "", occupation: "", dob: "", income: "", pull_date: "", bureau_type: "" };
|
|
192
|
-
}
|
|
193
|
-
exports.Report = {
|
|
194
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
195
|
-
if (message.score !== 0) {
|
|
196
|
-
writer.uint32(8).int32(message.score);
|
|
197
|
-
}
|
|
198
|
-
if (message.name !== "") {
|
|
199
|
-
writer.uint32(18).string(message.name);
|
|
200
|
-
}
|
|
201
|
-
if (message.occupation !== "") {
|
|
202
|
-
writer.uint32(26).string(message.occupation);
|
|
203
|
-
}
|
|
204
|
-
if (message.dob !== "") {
|
|
205
|
-
writer.uint32(34).string(message.dob);
|
|
206
|
-
}
|
|
207
|
-
if (message.income !== "") {
|
|
208
|
-
writer.uint32(42).string(message.income);
|
|
209
|
-
}
|
|
210
|
-
if (message.pull_date !== "") {
|
|
211
|
-
writer.uint32(50).string(message.pull_date);
|
|
212
|
-
}
|
|
213
|
-
if (message.bureau_type !== "") {
|
|
214
|
-
writer.uint32(58).string(message.bureau_type);
|
|
215
|
-
}
|
|
216
|
-
return writer;
|
|
217
|
-
},
|
|
218
|
-
decode(input, length) {
|
|
219
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
220
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
221
|
-
const message = createBaseReport();
|
|
222
|
-
while (reader.pos < end) {
|
|
223
|
-
const tag = reader.uint32();
|
|
224
|
-
switch (tag >>> 3) {
|
|
225
|
-
case 1:
|
|
226
|
-
if (tag !== 8) {
|
|
227
|
-
break;
|
|
228
|
-
}
|
|
229
|
-
message.score = reader.int32();
|
|
230
|
-
continue;
|
|
231
|
-
case 2:
|
|
232
|
-
if (tag !== 18) {
|
|
233
|
-
break;
|
|
234
|
-
}
|
|
235
|
-
message.name = reader.string();
|
|
236
|
-
continue;
|
|
237
|
-
case 3:
|
|
238
|
-
if (tag !== 26) {
|
|
239
|
-
break;
|
|
240
|
-
}
|
|
241
|
-
message.occupation = reader.string();
|
|
242
|
-
continue;
|
|
243
|
-
case 4:
|
|
244
|
-
if (tag !== 34) {
|
|
245
|
-
break;
|
|
246
|
-
}
|
|
247
|
-
message.dob = reader.string();
|
|
248
|
-
continue;
|
|
249
|
-
case 5:
|
|
250
|
-
if (tag !== 42) {
|
|
251
|
-
break;
|
|
252
|
-
}
|
|
253
|
-
message.income = reader.string();
|
|
254
|
-
continue;
|
|
255
|
-
case 6:
|
|
256
|
-
if (tag !== 50) {
|
|
257
|
-
break;
|
|
258
|
-
}
|
|
259
|
-
message.pull_date = reader.string();
|
|
260
|
-
continue;
|
|
261
|
-
case 7:
|
|
262
|
-
if (tag !== 58) {
|
|
263
|
-
break;
|
|
264
|
-
}
|
|
265
|
-
message.bureau_type = reader.string();
|
|
266
|
-
continue;
|
|
267
|
-
}
|
|
268
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
269
|
-
break;
|
|
270
|
-
}
|
|
271
|
-
reader.skipType(tag & 7);
|
|
272
|
-
}
|
|
273
|
-
return message;
|
|
274
|
-
},
|
|
275
|
-
fromJSON(object) {
|
|
276
|
-
return {
|
|
277
|
-
score: isSet(object.score) ? globalThis.Number(object.score) : 0,
|
|
278
|
-
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
279
|
-
occupation: isSet(object.occupation) ? globalThis.String(object.occupation) : "",
|
|
280
|
-
dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
|
|
281
|
-
income: isSet(object.income) ? globalThis.String(object.income) : "",
|
|
282
|
-
pull_date: isSet(object.pull_date) ? globalThis.String(object.pull_date) : "",
|
|
283
|
-
bureau_type: isSet(object.bureau_type) ? globalThis.String(object.bureau_type) : "",
|
|
284
|
-
};
|
|
285
|
-
},
|
|
286
|
-
toJSON(message) {
|
|
287
|
-
const obj = {};
|
|
288
|
-
if (message.score !== 0) {
|
|
289
|
-
obj.score = Math.round(message.score);
|
|
290
|
-
}
|
|
291
|
-
if (message.name !== "") {
|
|
292
|
-
obj.name = message.name;
|
|
293
|
-
}
|
|
294
|
-
if (message.occupation !== "") {
|
|
295
|
-
obj.occupation = message.occupation;
|
|
296
|
-
}
|
|
297
|
-
if (message.dob !== "") {
|
|
298
|
-
obj.dob = message.dob;
|
|
299
|
-
}
|
|
300
|
-
if (message.income !== "") {
|
|
301
|
-
obj.income = message.income;
|
|
302
|
-
}
|
|
303
|
-
if (message.pull_date !== "") {
|
|
304
|
-
obj.pull_date = message.pull_date;
|
|
305
|
-
}
|
|
306
|
-
if (message.bureau_type !== "") {
|
|
307
|
-
obj.bureau_type = message.bureau_type;
|
|
308
|
-
}
|
|
309
|
-
return obj;
|
|
310
|
-
},
|
|
311
|
-
create(base) {
|
|
312
|
-
return exports.Report.fromPartial(base ?? {});
|
|
313
|
-
},
|
|
314
|
-
fromPartial(object) {
|
|
315
|
-
const message = createBaseReport();
|
|
316
|
-
message.score = object.score ?? 0;
|
|
317
|
-
message.name = object.name ?? "";
|
|
318
|
-
message.occupation = object.occupation ?? "";
|
|
319
|
-
message.dob = object.dob ?? "";
|
|
320
|
-
message.income = object.income ?? "";
|
|
321
|
-
message.pull_date = object.pull_date ?? "";
|
|
322
|
-
message.bureau_type = object.bureau_type ?? "";
|
|
323
|
-
return message;
|
|
324
|
-
},
|
|
325
|
-
};
|
|
326
|
-
function longToNumber(long) {
|
|
327
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
328
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
329
|
-
}
|
|
330
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
331
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
332
|
-
}
|
|
333
|
-
return long.toNumber();
|
|
334
|
-
}
|
|
335
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
336
|
-
minimal_1.default.util.Long = long_1.default;
|
|
337
|
-
minimal_1.default.configure();
|
|
338
|
-
}
|
|
339
|
-
function isSet(value) {
|
|
340
|
-
return value !== null && value !== undefined;
|
|
341
|
-
}
|
package/ts/bureau/getdemogs.d.ts
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "bureau.getdemogs";
|
|
3
|
-
export interface demogsRequest {
|
|
4
|
-
report_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface demogsResponse {
|
|
7
|
-
status: string;
|
|
8
|
-
data?: Demogs | undefined;
|
|
9
|
-
}
|
|
10
|
-
export interface Demogs {
|
|
11
|
-
personal: Personal | undefined;
|
|
12
|
-
ids: Ids[];
|
|
13
|
-
address: Address[];
|
|
14
|
-
phone: Phone[];
|
|
15
|
-
emails: Emails[];
|
|
16
|
-
}
|
|
17
|
-
export interface Personal {
|
|
18
|
-
name: string;
|
|
19
|
-
dob: string;
|
|
20
|
-
gender: string;
|
|
21
|
-
occupation: string;
|
|
22
|
-
income: number;
|
|
23
|
-
}
|
|
24
|
-
export interface Ids {
|
|
25
|
-
type: string;
|
|
26
|
-
value: string;
|
|
27
|
-
}
|
|
28
|
-
export interface Address {
|
|
29
|
-
address: string;
|
|
30
|
-
state: string;
|
|
31
|
-
pincode: number;
|
|
32
|
-
}
|
|
33
|
-
export interface Phone {
|
|
34
|
-
phone: string;
|
|
35
|
-
}
|
|
36
|
-
export interface Emails {
|
|
37
|
-
email: string;
|
|
38
|
-
}
|
|
39
|
-
export declare const demogsRequest: {
|
|
40
|
-
encode(message: demogsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): demogsRequest;
|
|
42
|
-
fromJSON(object: any): demogsRequest;
|
|
43
|
-
toJSON(message: demogsRequest): unknown;
|
|
44
|
-
create<I extends Exact<DeepPartial<demogsRequest>, I>>(base?: I): demogsRequest;
|
|
45
|
-
fromPartial<I extends Exact<DeepPartial<demogsRequest>, I>>(object: I): demogsRequest;
|
|
46
|
-
};
|
|
47
|
-
export declare const demogsResponse: {
|
|
48
|
-
encode(message: demogsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
49
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): demogsResponse;
|
|
50
|
-
fromJSON(object: any): demogsResponse;
|
|
51
|
-
toJSON(message: demogsResponse): unknown;
|
|
52
|
-
create<I extends Exact<DeepPartial<demogsResponse>, I>>(base?: I): demogsResponse;
|
|
53
|
-
fromPartial<I extends Exact<DeepPartial<demogsResponse>, I>>(object: I): demogsResponse;
|
|
54
|
-
};
|
|
55
|
-
export declare const Demogs: {
|
|
56
|
-
encode(message: Demogs, writer?: _m0.Writer): _m0.Writer;
|
|
57
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Demogs;
|
|
58
|
-
fromJSON(object: any): Demogs;
|
|
59
|
-
toJSON(message: Demogs): unknown;
|
|
60
|
-
create<I extends Exact<DeepPartial<Demogs>, I>>(base?: I): Demogs;
|
|
61
|
-
fromPartial<I extends Exact<DeepPartial<Demogs>, I>>(object: I): Demogs;
|
|
62
|
-
};
|
|
63
|
-
export declare const Personal: {
|
|
64
|
-
encode(message: Personal, writer?: _m0.Writer): _m0.Writer;
|
|
65
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Personal;
|
|
66
|
-
fromJSON(object: any): Personal;
|
|
67
|
-
toJSON(message: Personal): unknown;
|
|
68
|
-
create<I extends Exact<DeepPartial<Personal>, I>>(base?: I): Personal;
|
|
69
|
-
fromPartial<I extends Exact<DeepPartial<Personal>, I>>(object: I): Personal;
|
|
70
|
-
};
|
|
71
|
-
export declare const Ids: {
|
|
72
|
-
encode(message: Ids, writer?: _m0.Writer): _m0.Writer;
|
|
73
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Ids;
|
|
74
|
-
fromJSON(object: any): Ids;
|
|
75
|
-
toJSON(message: Ids): unknown;
|
|
76
|
-
create<I extends Exact<DeepPartial<Ids>, I>>(base?: I): Ids;
|
|
77
|
-
fromPartial<I extends Exact<DeepPartial<Ids>, I>>(object: I): Ids;
|
|
78
|
-
};
|
|
79
|
-
export declare const Address: {
|
|
80
|
-
encode(message: Address, writer?: _m0.Writer): _m0.Writer;
|
|
81
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Address;
|
|
82
|
-
fromJSON(object: any): Address;
|
|
83
|
-
toJSON(message: Address): unknown;
|
|
84
|
-
create<I extends Exact<DeepPartial<Address>, I>>(base?: I): Address;
|
|
85
|
-
fromPartial<I extends Exact<DeepPartial<Address>, I>>(object: I): Address;
|
|
86
|
-
};
|
|
87
|
-
export declare const Phone: {
|
|
88
|
-
encode(message: Phone, writer?: _m0.Writer): _m0.Writer;
|
|
89
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Phone;
|
|
90
|
-
fromJSON(object: any): Phone;
|
|
91
|
-
toJSON(message: Phone): unknown;
|
|
92
|
-
create<I extends Exact<DeepPartial<Phone>, I>>(base?: I): Phone;
|
|
93
|
-
fromPartial<I extends Exact<DeepPartial<Phone>, I>>(object: I): Phone;
|
|
94
|
-
};
|
|
95
|
-
export declare const Emails: {
|
|
96
|
-
encode(message: Emails, writer?: _m0.Writer): _m0.Writer;
|
|
97
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Emails;
|
|
98
|
-
fromJSON(object: any): Emails;
|
|
99
|
-
toJSON(message: Emails): unknown;
|
|
100
|
-
create<I extends Exact<DeepPartial<Emails>, I>>(base?: I): Emails;
|
|
101
|
-
fromPartial<I extends Exact<DeepPartial<Emails>, I>>(object: I): Emails;
|
|
102
|
-
};
|
|
103
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
104
|
-
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 {} ? {
|
|
105
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
106
|
-
} : Partial<T>;
|
|
107
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
108
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
109
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
110
|
-
} & {
|
|
111
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
112
|
-
};
|
|
113
|
-
export {};
|