@stashfin/grpc 1.2.169 → 1.2.171
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 +57 -0
- package/ts/bureau/getbasicdetails.js +341 -0
- package/ts/bureau/getdemogs.d.ts +113 -0
- package/ts/bureau/getdemogs.js +611 -0
- package/ts/bureau/getreport.d.ts +188 -0
- package/ts/bureau/getreport.js +1640 -0
- package/ts/bureau.d.ts +56 -0
- package/ts/bureau.js +44 -0
- package/ts/colender/disburseLoan.d.ts +44 -0
- package/ts/colender/disburseLoan.js +256 -0
- package/ts/colender/forecloseLoan.d.ts +41 -0
- package/ts/colender/forecloseLoan.js +205 -0
- package/ts/colender/repayLoan.d.ts +48 -0
- package/ts/colender/repayLoan.js +313 -0
- package/ts/colender.d.ts +56 -0
- package/ts/colender.js +44 -0
- package/ts/customers/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/aa/initiate.d.ts +40 -0
- package/ts/customers/aa/initiate.js +209 -0
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/addfathersname.d.ts +35 -0
- package/ts/customers/addfathersname.js +117 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +47 -0
- package/ts/customers/addmoredetails.js +185 -0
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/adduserapps.d.ts +74 -0
- package/ts/customers/adduserapps.js +210 -0
- package/ts/customers/bulksms.d.ts +48 -0
- package/ts/customers/bulksms.js +201 -0
- package/ts/customers/changempin.d.ts +36 -0
- package/ts/customers/changempin.js +133 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/deleteprofile.d.ts +35 -0
- package/ts/customers/deleteprofile.js +120 -0
- package/ts/customers/disablempin.d.ts +34 -0
- package/ts/customers/disablempin.js +104 -0
- package/ts/customers/fetchrcprofile.d.ts +45 -0
- package/ts/customers/fetchrcprofile.js +271 -0
- package/ts/customers/forgotmpin.d.ts +35 -0
- package/ts/customers/forgotmpin.js +117 -0
- package/ts/customers/forgotmpinverify.d.ts +36 -0
- package/ts/customers/forgotmpinverify.js +133 -0
- package/ts/customers/getbankaccountdetails.d.ts +37 -0
- package/ts/customers/getbankaccountdetails.js +148 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcompanyaccdetails.d.ts +37 -0
- package/ts/customers/getcompanyaccdetails.js +148 -0
- package/ts/customers/getcustomerbyid.d.ts +142 -0
- package/ts/customers/getcustomerbyid.js +1521 -0
- package/ts/customers/getdashboard.d.ts +88 -0
- package/ts/customers/getdashboard.js +574 -0
- package/ts/customers/getdashboardmaincard.d.ts +70 -0
- package/ts/customers/getdashboardmaincard.js +534 -0
- package/ts/customers/getdocuments.d.ts +46 -0
- package/ts/customers/getdocuments.js +174 -0
- package/ts/customers/getlimit.d.ts +37 -0
- package/ts/customers/getlimit.js +148 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +54 -0
- package/ts/customers/getprofile.js +296 -0
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +69 -0
- package/ts/customers/getstep.js +406 -0
- package/ts/customers/logout.d.ts +34 -0
- package/ts/customers/logout.js +104 -0
- package/ts/customers/profilebasic.d.ts +40 -0
- package/ts/customers/profilebasic.js +189 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/sendotptoemail.js +117 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/skipscreen.d.ts +44 -0
- package/ts/customers/skipscreen.js +162 -0
- package/ts/customers/updatecustomerbyid.d.ts +48 -0
- package/ts/customers/updatecustomerbyid.js +201 -0
- package/ts/customers/updatedlnumber.d.ts +35 -0
- package/ts/customers/updatedlnumber.js +119 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatelocstatus.d.ts +36 -0
- package/ts/customers/updatelocstatus.js +133 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +36 -0
- package/ts/customers/updatemobileverifyotp.js +133 -0
- package/ts/customers/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers/updatevehiclenumber.d.ts +35 -0
- package/ts/customers/updatevehiclenumber.js +117 -0
- package/ts/customers/uploaddocuments.d.ts +37 -0
- package/ts/customers/uploaddocuments.js +172 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifympin.d.ts +37 -0
- package/ts/customers/verifympin.js +149 -0
- package/ts/customers/verifyotp.d.ts +41 -0
- package/ts/customers/verifyotp.js +205 -0
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +796 -0
- package/ts/customers.js +572 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/growth/processchrpayment.d.ts +40 -0
- package/ts/growth/processchrpayment.js +205 -0
- package/ts/growth.d.ts +28 -0
- package/ts/growth.js +24 -0
- package/ts/loans/approveloan.d.ts +81 -0
- package/ts/loans/approveloan.js +703 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +57 -0
- package/ts/loans/calculateemi.js +340 -0
- package/ts/loans/creditlimit.d.ts +51 -0
- package/ts/loans/creditlimit.js +381 -0
- package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
- package/ts/loans/futurepaymentmoredetails.js +230 -0
- package/ts/loans/getbilldetails.d.ts +38 -0
- package/ts/loans/getbilldetails.js +161 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getloanbyid.d.ts +48 -0
- package/ts/loans/getloanbyid.js +318 -0
- package/ts/loans/getnextdueamount.d.ts +34 -0
- package/ts/loans/getnextdueamount.js +104 -0
- package/ts/loans/getpendingemiamount.d.ts +34 -0
- package/ts/loans/getpendingemiamount.js +104 -0
- package/ts/loans/getsummarystaticfields.d.ts +80 -0
- package/ts/loans/getsummarystaticfields.js +700 -0
- package/ts/loans/loansummary.d.ts +66 -0
- package/ts/loans/loansummary.js +593 -0
- package/ts/loans/paymentallocation.d.ts +38 -0
- package/ts/loans/paymentallocation.js +161 -0
- package/ts/loans/paymenthistory.d.ts +47 -0
- package/ts/loans/paymenthistory.js +188 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +52 -0
- package/ts/loans/transactionlist.js +257 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +37 -0
- package/ts/loans/updateloan.js +147 -0
- package/ts/loans.d.ts +294 -0
- package/ts/loans.js +214 -0
- package/ts/payments.d.ts +239 -0
- package/ts/payments.js +1117 -0
- package/ts/stashcash/creditsc.d.ts +54 -0
- package/ts/stashcash/creditsc.js +301 -0
- package/ts/stashcash/debitsc.d.ts +59 -0
- package/ts/stashcash/debitsc.js +380 -0
- package/ts/stashcash/getscbalance.d.ts +53 -0
- package/ts/stashcash/getscbalance.js +293 -0
- package/ts/stashcash/getschistory.d.ts +73 -0
- package/ts/stashcash/getschistory.js +479 -0
- package/ts/stashcash/reversesc.d.ts +52 -0
- package/ts/stashcash/reversesc.js +273 -0
- package/ts/stashcash.d.ts +84 -0
- package/ts/stashcash.js +64 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getdashboardmaincard";
|
|
3
|
+
export interface getDashboardMainCardRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getDashboardMainCardResponse {
|
|
6
|
+
block_name: string;
|
|
7
|
+
block_code: string;
|
|
8
|
+
block_data: MainCardData | undefined;
|
|
9
|
+
user_state: string;
|
|
10
|
+
}
|
|
11
|
+
export interface MainCardData {
|
|
12
|
+
text: string;
|
|
13
|
+
amount_text: string;
|
|
14
|
+
sub_text: string;
|
|
15
|
+
action_button_text: string;
|
|
16
|
+
action: string;
|
|
17
|
+
action_type: string;
|
|
18
|
+
total_loc: number;
|
|
19
|
+
used_loc: number;
|
|
20
|
+
available_sp_loc: number;
|
|
21
|
+
can_reload_card: boolean;
|
|
22
|
+
disbursed_amount: string;
|
|
23
|
+
remaining_emi: string;
|
|
24
|
+
balance_emi_amount: number;
|
|
25
|
+
comment: string;
|
|
26
|
+
landing_page: string;
|
|
27
|
+
timer: string;
|
|
28
|
+
image: string;
|
|
29
|
+
loc_error: string;
|
|
30
|
+
show_button: boolean;
|
|
31
|
+
total_stash_cash: string;
|
|
32
|
+
supp_title: string;
|
|
33
|
+
supp_loc_status: number;
|
|
34
|
+
supp_sub_title: string;
|
|
35
|
+
}
|
|
36
|
+
export declare const getDashboardMainCardRequest: {
|
|
37
|
+
encode(_: getDashboardMainCardRequest, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getDashboardMainCardRequest;
|
|
39
|
+
fromJSON(_: any): getDashboardMainCardRequest;
|
|
40
|
+
toJSON(_: getDashboardMainCardRequest): unknown;
|
|
41
|
+
create<I extends Exact<DeepPartial<getDashboardMainCardRequest>, I>>(base?: I): getDashboardMainCardRequest;
|
|
42
|
+
fromPartial<I extends Exact<DeepPartial<getDashboardMainCardRequest>, I>>(_: I): getDashboardMainCardRequest;
|
|
43
|
+
};
|
|
44
|
+
export declare const getDashboardMainCardResponse: {
|
|
45
|
+
encode(message: getDashboardMainCardResponse, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getDashboardMainCardResponse;
|
|
47
|
+
fromJSON(object: any): getDashboardMainCardResponse;
|
|
48
|
+
toJSON(message: getDashboardMainCardResponse): unknown;
|
|
49
|
+
create<I extends Exact<DeepPartial<getDashboardMainCardResponse>, I>>(base?: I): getDashboardMainCardResponse;
|
|
50
|
+
fromPartial<I extends Exact<DeepPartial<getDashboardMainCardResponse>, I>>(object: I): getDashboardMainCardResponse;
|
|
51
|
+
};
|
|
52
|
+
export declare const MainCardData: {
|
|
53
|
+
encode(message: MainCardData, writer?: _m0.Writer): _m0.Writer;
|
|
54
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MainCardData;
|
|
55
|
+
fromJSON(object: any): MainCardData;
|
|
56
|
+
toJSON(message: MainCardData): unknown;
|
|
57
|
+
create<I extends Exact<DeepPartial<MainCardData>, I>>(base?: I): MainCardData;
|
|
58
|
+
fromPartial<I extends Exact<DeepPartial<MainCardData>, I>>(object: I): MainCardData;
|
|
59
|
+
};
|
|
60
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
61
|
+
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 {} ? {
|
|
62
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
63
|
+
} : Partial<T>;
|
|
64
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
65
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
66
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
67
|
+
} & {
|
|
68
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
69
|
+
};
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,534 @@
|
|
|
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: customers/getdashboardmaincard.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.MainCardData = exports.getDashboardMainCardResponse = exports.getDashboardMainCardRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.getdashboardmaincard";
|
|
15
|
+
function createBasegetDashboardMainCardRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getDashboardMainCardRequest = {
|
|
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 = createBasegetDashboardMainCardRequest();
|
|
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.getDashboardMainCardRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetDashboardMainCardRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetDashboardMainCardResponse() {
|
|
53
|
+
return { block_name: "", block_code: "", block_data: undefined, user_state: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.getDashboardMainCardResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.block_name !== "") {
|
|
58
|
+
writer.uint32(10).string(message.block_name);
|
|
59
|
+
}
|
|
60
|
+
if (message.block_code !== "") {
|
|
61
|
+
writer.uint32(18).string(message.block_code);
|
|
62
|
+
}
|
|
63
|
+
if (message.block_data !== undefined) {
|
|
64
|
+
exports.MainCardData.encode(message.block_data, writer.uint32(26).fork()).ldelim();
|
|
65
|
+
}
|
|
66
|
+
if (message.user_state !== "") {
|
|
67
|
+
writer.uint32(34).string(message.user_state);
|
|
68
|
+
}
|
|
69
|
+
return writer;
|
|
70
|
+
},
|
|
71
|
+
decode(input, length) {
|
|
72
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
73
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
74
|
+
const message = createBasegetDashboardMainCardResponse();
|
|
75
|
+
while (reader.pos < end) {
|
|
76
|
+
const tag = reader.uint32();
|
|
77
|
+
switch (tag >>> 3) {
|
|
78
|
+
case 1:
|
|
79
|
+
if (tag !== 10) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
message.block_name = reader.string();
|
|
83
|
+
continue;
|
|
84
|
+
case 2:
|
|
85
|
+
if (tag !== 18) {
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
message.block_code = reader.string();
|
|
89
|
+
continue;
|
|
90
|
+
case 3:
|
|
91
|
+
if (tag !== 26) {
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
message.block_data = exports.MainCardData.decode(reader, reader.uint32());
|
|
95
|
+
continue;
|
|
96
|
+
case 4:
|
|
97
|
+
if (tag !== 34) {
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
message.user_state = reader.string();
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
reader.skipType(tag & 7);
|
|
107
|
+
}
|
|
108
|
+
return message;
|
|
109
|
+
},
|
|
110
|
+
fromJSON(object) {
|
|
111
|
+
return {
|
|
112
|
+
block_name: isSet(object.block_name) ? globalThis.String(object.block_name) : "",
|
|
113
|
+
block_code: isSet(object.block_code) ? globalThis.String(object.block_code) : "",
|
|
114
|
+
block_data: isSet(object.block_data) ? exports.MainCardData.fromJSON(object.block_data) : undefined,
|
|
115
|
+
user_state: isSet(object.user_state) ? globalThis.String(object.user_state) : "",
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
toJSON(message) {
|
|
119
|
+
const obj = {};
|
|
120
|
+
if (message.block_name !== "") {
|
|
121
|
+
obj.block_name = message.block_name;
|
|
122
|
+
}
|
|
123
|
+
if (message.block_code !== "") {
|
|
124
|
+
obj.block_code = message.block_code;
|
|
125
|
+
}
|
|
126
|
+
if (message.block_data !== undefined) {
|
|
127
|
+
obj.block_data = exports.MainCardData.toJSON(message.block_data);
|
|
128
|
+
}
|
|
129
|
+
if (message.user_state !== "") {
|
|
130
|
+
obj.user_state = message.user_state;
|
|
131
|
+
}
|
|
132
|
+
return obj;
|
|
133
|
+
},
|
|
134
|
+
create(base) {
|
|
135
|
+
return exports.getDashboardMainCardResponse.fromPartial(base ?? {});
|
|
136
|
+
},
|
|
137
|
+
fromPartial(object) {
|
|
138
|
+
const message = createBasegetDashboardMainCardResponse();
|
|
139
|
+
message.block_name = object.block_name ?? "";
|
|
140
|
+
message.block_code = object.block_code ?? "";
|
|
141
|
+
message.block_data = (object.block_data !== undefined && object.block_data !== null)
|
|
142
|
+
? exports.MainCardData.fromPartial(object.block_data)
|
|
143
|
+
: undefined;
|
|
144
|
+
message.user_state = object.user_state ?? "";
|
|
145
|
+
return message;
|
|
146
|
+
},
|
|
147
|
+
};
|
|
148
|
+
function createBaseMainCardData() {
|
|
149
|
+
return {
|
|
150
|
+
text: "",
|
|
151
|
+
amount_text: "",
|
|
152
|
+
sub_text: "",
|
|
153
|
+
action_button_text: "",
|
|
154
|
+
action: "",
|
|
155
|
+
action_type: "",
|
|
156
|
+
total_loc: 0,
|
|
157
|
+
used_loc: 0,
|
|
158
|
+
available_sp_loc: 0,
|
|
159
|
+
can_reload_card: false,
|
|
160
|
+
disbursed_amount: "",
|
|
161
|
+
remaining_emi: "",
|
|
162
|
+
balance_emi_amount: 0,
|
|
163
|
+
comment: "",
|
|
164
|
+
landing_page: "",
|
|
165
|
+
timer: "",
|
|
166
|
+
image: "",
|
|
167
|
+
loc_error: "",
|
|
168
|
+
show_button: false,
|
|
169
|
+
total_stash_cash: "",
|
|
170
|
+
supp_title: "",
|
|
171
|
+
supp_loc_status: 0,
|
|
172
|
+
supp_sub_title: "",
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
exports.MainCardData = {
|
|
176
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
177
|
+
if (message.text !== "") {
|
|
178
|
+
writer.uint32(10).string(message.text);
|
|
179
|
+
}
|
|
180
|
+
if (message.amount_text !== "") {
|
|
181
|
+
writer.uint32(18).string(message.amount_text);
|
|
182
|
+
}
|
|
183
|
+
if (message.sub_text !== "") {
|
|
184
|
+
writer.uint32(26).string(message.sub_text);
|
|
185
|
+
}
|
|
186
|
+
if (message.action_button_text !== "") {
|
|
187
|
+
writer.uint32(34).string(message.action_button_text);
|
|
188
|
+
}
|
|
189
|
+
if (message.action !== "") {
|
|
190
|
+
writer.uint32(42).string(message.action);
|
|
191
|
+
}
|
|
192
|
+
if (message.action_type !== "") {
|
|
193
|
+
writer.uint32(50).string(message.action_type);
|
|
194
|
+
}
|
|
195
|
+
if (message.total_loc !== 0) {
|
|
196
|
+
writer.uint32(56).int32(message.total_loc);
|
|
197
|
+
}
|
|
198
|
+
if (message.used_loc !== 0) {
|
|
199
|
+
writer.uint32(64).int32(message.used_loc);
|
|
200
|
+
}
|
|
201
|
+
if (message.available_sp_loc !== 0) {
|
|
202
|
+
writer.uint32(72).int32(message.available_sp_loc);
|
|
203
|
+
}
|
|
204
|
+
if (message.can_reload_card !== false) {
|
|
205
|
+
writer.uint32(80).bool(message.can_reload_card);
|
|
206
|
+
}
|
|
207
|
+
if (message.disbursed_amount !== "") {
|
|
208
|
+
writer.uint32(90).string(message.disbursed_amount);
|
|
209
|
+
}
|
|
210
|
+
if (message.remaining_emi !== "") {
|
|
211
|
+
writer.uint32(98).string(message.remaining_emi);
|
|
212
|
+
}
|
|
213
|
+
if (message.balance_emi_amount !== 0) {
|
|
214
|
+
writer.uint32(104).int32(message.balance_emi_amount);
|
|
215
|
+
}
|
|
216
|
+
if (message.comment !== "") {
|
|
217
|
+
writer.uint32(114).string(message.comment);
|
|
218
|
+
}
|
|
219
|
+
if (message.landing_page !== "") {
|
|
220
|
+
writer.uint32(122).string(message.landing_page);
|
|
221
|
+
}
|
|
222
|
+
if (message.timer !== "") {
|
|
223
|
+
writer.uint32(130).string(message.timer);
|
|
224
|
+
}
|
|
225
|
+
if (message.image !== "") {
|
|
226
|
+
writer.uint32(138).string(message.image);
|
|
227
|
+
}
|
|
228
|
+
if (message.loc_error !== "") {
|
|
229
|
+
writer.uint32(146).string(message.loc_error);
|
|
230
|
+
}
|
|
231
|
+
if (message.show_button !== false) {
|
|
232
|
+
writer.uint32(152).bool(message.show_button);
|
|
233
|
+
}
|
|
234
|
+
if (message.total_stash_cash !== "") {
|
|
235
|
+
writer.uint32(162).string(message.total_stash_cash);
|
|
236
|
+
}
|
|
237
|
+
if (message.supp_title !== "") {
|
|
238
|
+
writer.uint32(170).string(message.supp_title);
|
|
239
|
+
}
|
|
240
|
+
if (message.supp_loc_status !== 0) {
|
|
241
|
+
writer.uint32(176).int32(message.supp_loc_status);
|
|
242
|
+
}
|
|
243
|
+
if (message.supp_sub_title !== "") {
|
|
244
|
+
writer.uint32(186).string(message.supp_sub_title);
|
|
245
|
+
}
|
|
246
|
+
return writer;
|
|
247
|
+
},
|
|
248
|
+
decode(input, length) {
|
|
249
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
250
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
251
|
+
const message = createBaseMainCardData();
|
|
252
|
+
while (reader.pos < end) {
|
|
253
|
+
const tag = reader.uint32();
|
|
254
|
+
switch (tag >>> 3) {
|
|
255
|
+
case 1:
|
|
256
|
+
if (tag !== 10) {
|
|
257
|
+
break;
|
|
258
|
+
}
|
|
259
|
+
message.text = reader.string();
|
|
260
|
+
continue;
|
|
261
|
+
case 2:
|
|
262
|
+
if (tag !== 18) {
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
message.amount_text = reader.string();
|
|
266
|
+
continue;
|
|
267
|
+
case 3:
|
|
268
|
+
if (tag !== 26) {
|
|
269
|
+
break;
|
|
270
|
+
}
|
|
271
|
+
message.sub_text = reader.string();
|
|
272
|
+
continue;
|
|
273
|
+
case 4:
|
|
274
|
+
if (tag !== 34) {
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
message.action_button_text = reader.string();
|
|
278
|
+
continue;
|
|
279
|
+
case 5:
|
|
280
|
+
if (tag !== 42) {
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
message.action = reader.string();
|
|
284
|
+
continue;
|
|
285
|
+
case 6:
|
|
286
|
+
if (tag !== 50) {
|
|
287
|
+
break;
|
|
288
|
+
}
|
|
289
|
+
message.action_type = reader.string();
|
|
290
|
+
continue;
|
|
291
|
+
case 7:
|
|
292
|
+
if (tag !== 56) {
|
|
293
|
+
break;
|
|
294
|
+
}
|
|
295
|
+
message.total_loc = reader.int32();
|
|
296
|
+
continue;
|
|
297
|
+
case 8:
|
|
298
|
+
if (tag !== 64) {
|
|
299
|
+
break;
|
|
300
|
+
}
|
|
301
|
+
message.used_loc = reader.int32();
|
|
302
|
+
continue;
|
|
303
|
+
case 9:
|
|
304
|
+
if (tag !== 72) {
|
|
305
|
+
break;
|
|
306
|
+
}
|
|
307
|
+
message.available_sp_loc = reader.int32();
|
|
308
|
+
continue;
|
|
309
|
+
case 10:
|
|
310
|
+
if (tag !== 80) {
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
message.can_reload_card = reader.bool();
|
|
314
|
+
continue;
|
|
315
|
+
case 11:
|
|
316
|
+
if (tag !== 90) {
|
|
317
|
+
break;
|
|
318
|
+
}
|
|
319
|
+
message.disbursed_amount = reader.string();
|
|
320
|
+
continue;
|
|
321
|
+
case 12:
|
|
322
|
+
if (tag !== 98) {
|
|
323
|
+
break;
|
|
324
|
+
}
|
|
325
|
+
message.remaining_emi = reader.string();
|
|
326
|
+
continue;
|
|
327
|
+
case 13:
|
|
328
|
+
if (tag !== 104) {
|
|
329
|
+
break;
|
|
330
|
+
}
|
|
331
|
+
message.balance_emi_amount = reader.int32();
|
|
332
|
+
continue;
|
|
333
|
+
case 14:
|
|
334
|
+
if (tag !== 114) {
|
|
335
|
+
break;
|
|
336
|
+
}
|
|
337
|
+
message.comment = reader.string();
|
|
338
|
+
continue;
|
|
339
|
+
case 15:
|
|
340
|
+
if (tag !== 122) {
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
message.landing_page = reader.string();
|
|
344
|
+
continue;
|
|
345
|
+
case 16:
|
|
346
|
+
if (tag !== 130) {
|
|
347
|
+
break;
|
|
348
|
+
}
|
|
349
|
+
message.timer = reader.string();
|
|
350
|
+
continue;
|
|
351
|
+
case 17:
|
|
352
|
+
if (tag !== 138) {
|
|
353
|
+
break;
|
|
354
|
+
}
|
|
355
|
+
message.image = reader.string();
|
|
356
|
+
continue;
|
|
357
|
+
case 18:
|
|
358
|
+
if (tag !== 146) {
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
message.loc_error = reader.string();
|
|
362
|
+
continue;
|
|
363
|
+
case 19:
|
|
364
|
+
if (tag !== 152) {
|
|
365
|
+
break;
|
|
366
|
+
}
|
|
367
|
+
message.show_button = reader.bool();
|
|
368
|
+
continue;
|
|
369
|
+
case 20:
|
|
370
|
+
if (tag !== 162) {
|
|
371
|
+
break;
|
|
372
|
+
}
|
|
373
|
+
message.total_stash_cash = reader.string();
|
|
374
|
+
continue;
|
|
375
|
+
case 21:
|
|
376
|
+
if (tag !== 170) {
|
|
377
|
+
break;
|
|
378
|
+
}
|
|
379
|
+
message.supp_title = reader.string();
|
|
380
|
+
continue;
|
|
381
|
+
case 22:
|
|
382
|
+
if (tag !== 176) {
|
|
383
|
+
break;
|
|
384
|
+
}
|
|
385
|
+
message.supp_loc_status = reader.int32();
|
|
386
|
+
continue;
|
|
387
|
+
case 23:
|
|
388
|
+
if (tag !== 186) {
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
message.supp_sub_title = reader.string();
|
|
392
|
+
continue;
|
|
393
|
+
}
|
|
394
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
395
|
+
break;
|
|
396
|
+
}
|
|
397
|
+
reader.skipType(tag & 7);
|
|
398
|
+
}
|
|
399
|
+
return message;
|
|
400
|
+
},
|
|
401
|
+
fromJSON(object) {
|
|
402
|
+
return {
|
|
403
|
+
text: isSet(object.text) ? globalThis.String(object.text) : "",
|
|
404
|
+
amount_text: isSet(object.amount_text) ? globalThis.String(object.amount_text) : "",
|
|
405
|
+
sub_text: isSet(object.sub_text) ? globalThis.String(object.sub_text) : "",
|
|
406
|
+
action_button_text: isSet(object.action_button_text) ? globalThis.String(object.action_button_text) : "",
|
|
407
|
+
action: isSet(object.action) ? globalThis.String(object.action) : "",
|
|
408
|
+
action_type: isSet(object.action_type) ? globalThis.String(object.action_type) : "",
|
|
409
|
+
total_loc: isSet(object.total_loc) ? globalThis.Number(object.total_loc) : 0,
|
|
410
|
+
used_loc: isSet(object.used_loc) ? globalThis.Number(object.used_loc) : 0,
|
|
411
|
+
available_sp_loc: isSet(object.available_sp_loc) ? globalThis.Number(object.available_sp_loc) : 0,
|
|
412
|
+
can_reload_card: isSet(object.can_reload_card) ? globalThis.Boolean(object.can_reload_card) : false,
|
|
413
|
+
disbursed_amount: isSet(object.disbursed_amount) ? globalThis.String(object.disbursed_amount) : "",
|
|
414
|
+
remaining_emi: isSet(object.remaining_emi) ? globalThis.String(object.remaining_emi) : "",
|
|
415
|
+
balance_emi_amount: isSet(object.balance_emi_amount) ? globalThis.Number(object.balance_emi_amount) : 0,
|
|
416
|
+
comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
|
|
417
|
+
landing_page: isSet(object.landing_page) ? globalThis.String(object.landing_page) : "",
|
|
418
|
+
timer: isSet(object.timer) ? globalThis.String(object.timer) : "",
|
|
419
|
+
image: isSet(object.image) ? globalThis.String(object.image) : "",
|
|
420
|
+
loc_error: isSet(object.loc_error) ? globalThis.String(object.loc_error) : "",
|
|
421
|
+
show_button: isSet(object.show_button) ? globalThis.Boolean(object.show_button) : false,
|
|
422
|
+
total_stash_cash: isSet(object.total_stash_cash) ? globalThis.String(object.total_stash_cash) : "",
|
|
423
|
+
supp_title: isSet(object.supp_title) ? globalThis.String(object.supp_title) : "",
|
|
424
|
+
supp_loc_status: isSet(object.supp_loc_status) ? globalThis.Number(object.supp_loc_status) : 0,
|
|
425
|
+
supp_sub_title: isSet(object.supp_sub_title) ? globalThis.String(object.supp_sub_title) : "",
|
|
426
|
+
};
|
|
427
|
+
},
|
|
428
|
+
toJSON(message) {
|
|
429
|
+
const obj = {};
|
|
430
|
+
if (message.text !== "") {
|
|
431
|
+
obj.text = message.text;
|
|
432
|
+
}
|
|
433
|
+
if (message.amount_text !== "") {
|
|
434
|
+
obj.amount_text = message.amount_text;
|
|
435
|
+
}
|
|
436
|
+
if (message.sub_text !== "") {
|
|
437
|
+
obj.sub_text = message.sub_text;
|
|
438
|
+
}
|
|
439
|
+
if (message.action_button_text !== "") {
|
|
440
|
+
obj.action_button_text = message.action_button_text;
|
|
441
|
+
}
|
|
442
|
+
if (message.action !== "") {
|
|
443
|
+
obj.action = message.action;
|
|
444
|
+
}
|
|
445
|
+
if (message.action_type !== "") {
|
|
446
|
+
obj.action_type = message.action_type;
|
|
447
|
+
}
|
|
448
|
+
if (message.total_loc !== 0) {
|
|
449
|
+
obj.total_loc = Math.round(message.total_loc);
|
|
450
|
+
}
|
|
451
|
+
if (message.used_loc !== 0) {
|
|
452
|
+
obj.used_loc = Math.round(message.used_loc);
|
|
453
|
+
}
|
|
454
|
+
if (message.available_sp_loc !== 0) {
|
|
455
|
+
obj.available_sp_loc = Math.round(message.available_sp_loc);
|
|
456
|
+
}
|
|
457
|
+
if (message.can_reload_card !== false) {
|
|
458
|
+
obj.can_reload_card = message.can_reload_card;
|
|
459
|
+
}
|
|
460
|
+
if (message.disbursed_amount !== "") {
|
|
461
|
+
obj.disbursed_amount = message.disbursed_amount;
|
|
462
|
+
}
|
|
463
|
+
if (message.remaining_emi !== "") {
|
|
464
|
+
obj.remaining_emi = message.remaining_emi;
|
|
465
|
+
}
|
|
466
|
+
if (message.balance_emi_amount !== 0) {
|
|
467
|
+
obj.balance_emi_amount = Math.round(message.balance_emi_amount);
|
|
468
|
+
}
|
|
469
|
+
if (message.comment !== "") {
|
|
470
|
+
obj.comment = message.comment;
|
|
471
|
+
}
|
|
472
|
+
if (message.landing_page !== "") {
|
|
473
|
+
obj.landing_page = message.landing_page;
|
|
474
|
+
}
|
|
475
|
+
if (message.timer !== "") {
|
|
476
|
+
obj.timer = message.timer;
|
|
477
|
+
}
|
|
478
|
+
if (message.image !== "") {
|
|
479
|
+
obj.image = message.image;
|
|
480
|
+
}
|
|
481
|
+
if (message.loc_error !== "") {
|
|
482
|
+
obj.loc_error = message.loc_error;
|
|
483
|
+
}
|
|
484
|
+
if (message.show_button !== false) {
|
|
485
|
+
obj.show_button = message.show_button;
|
|
486
|
+
}
|
|
487
|
+
if (message.total_stash_cash !== "") {
|
|
488
|
+
obj.total_stash_cash = message.total_stash_cash;
|
|
489
|
+
}
|
|
490
|
+
if (message.supp_title !== "") {
|
|
491
|
+
obj.supp_title = message.supp_title;
|
|
492
|
+
}
|
|
493
|
+
if (message.supp_loc_status !== 0) {
|
|
494
|
+
obj.supp_loc_status = Math.round(message.supp_loc_status);
|
|
495
|
+
}
|
|
496
|
+
if (message.supp_sub_title !== "") {
|
|
497
|
+
obj.supp_sub_title = message.supp_sub_title;
|
|
498
|
+
}
|
|
499
|
+
return obj;
|
|
500
|
+
},
|
|
501
|
+
create(base) {
|
|
502
|
+
return exports.MainCardData.fromPartial(base ?? {});
|
|
503
|
+
},
|
|
504
|
+
fromPartial(object) {
|
|
505
|
+
const message = createBaseMainCardData();
|
|
506
|
+
message.text = object.text ?? "";
|
|
507
|
+
message.amount_text = object.amount_text ?? "";
|
|
508
|
+
message.sub_text = object.sub_text ?? "";
|
|
509
|
+
message.action_button_text = object.action_button_text ?? "";
|
|
510
|
+
message.action = object.action ?? "";
|
|
511
|
+
message.action_type = object.action_type ?? "";
|
|
512
|
+
message.total_loc = object.total_loc ?? 0;
|
|
513
|
+
message.used_loc = object.used_loc ?? 0;
|
|
514
|
+
message.available_sp_loc = object.available_sp_loc ?? 0;
|
|
515
|
+
message.can_reload_card = object.can_reload_card ?? false;
|
|
516
|
+
message.disbursed_amount = object.disbursed_amount ?? "";
|
|
517
|
+
message.remaining_emi = object.remaining_emi ?? "";
|
|
518
|
+
message.balance_emi_amount = object.balance_emi_amount ?? 0;
|
|
519
|
+
message.comment = object.comment ?? "";
|
|
520
|
+
message.landing_page = object.landing_page ?? "";
|
|
521
|
+
message.timer = object.timer ?? "";
|
|
522
|
+
message.image = object.image ?? "";
|
|
523
|
+
message.loc_error = object.loc_error ?? "";
|
|
524
|
+
message.show_button = object.show_button ?? false;
|
|
525
|
+
message.total_stash_cash = object.total_stash_cash ?? "";
|
|
526
|
+
message.supp_title = object.supp_title ?? "";
|
|
527
|
+
message.supp_loc_status = object.supp_loc_status ?? 0;
|
|
528
|
+
message.supp_sub_title = object.supp_sub_title ?? "";
|
|
529
|
+
return message;
|
|
530
|
+
},
|
|
531
|
+
};
|
|
532
|
+
function isSet(value) {
|
|
533
|
+
return value !== null && value !== undefined;
|
|
534
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getdocuments";
|
|
3
|
+
export interface getDocumentsRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getDocumentsResponse {
|
|
6
|
+
documents: Document[];
|
|
7
|
+
}
|
|
8
|
+
export interface Document {
|
|
9
|
+
name: string;
|
|
10
|
+
doc_url: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const getDocumentsRequest: {
|
|
13
|
+
encode(_: getDocumentsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
14
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getDocumentsRequest;
|
|
15
|
+
fromJSON(_: any): getDocumentsRequest;
|
|
16
|
+
toJSON(_: getDocumentsRequest): unknown;
|
|
17
|
+
create<I extends Exact<DeepPartial<getDocumentsRequest>, I>>(base?: I): getDocumentsRequest;
|
|
18
|
+
fromPartial<I extends Exact<DeepPartial<getDocumentsRequest>, I>>(_: I): getDocumentsRequest;
|
|
19
|
+
};
|
|
20
|
+
export declare const getDocumentsResponse: {
|
|
21
|
+
encode(message: getDocumentsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getDocumentsResponse;
|
|
23
|
+
fromJSON(object: any): getDocumentsResponse;
|
|
24
|
+
toJSON(message: getDocumentsResponse): unknown;
|
|
25
|
+
create<I extends Exact<DeepPartial<getDocumentsResponse>, I>>(base?: I): getDocumentsResponse;
|
|
26
|
+
fromPartial<I extends Exact<DeepPartial<getDocumentsResponse>, I>>(object: I): getDocumentsResponse;
|
|
27
|
+
};
|
|
28
|
+
export declare const Document: {
|
|
29
|
+
encode(message: Document, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Document;
|
|
31
|
+
fromJSON(object: any): Document;
|
|
32
|
+
toJSON(message: Document): unknown;
|
|
33
|
+
create<I extends Exact<DeepPartial<Document>, I>>(base?: I): Document;
|
|
34
|
+
fromPartial<I extends Exact<DeepPartial<Document>, I>>(object: I): Document;
|
|
35
|
+
};
|
|
36
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
37
|
+
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 {} ? {
|
|
38
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
39
|
+
} : Partial<T>;
|
|
40
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
41
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
42
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
43
|
+
} & {
|
|
44
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
45
|
+
};
|
|
46
|
+
export {};
|