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