@stashfin/grpc 1.2.49 → 1.2.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ts/customers/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/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.d.ts +20 -3
- package/ts/customers/getbasicinfo.js +171 -24
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcustomerbyid.d.ts +5 -0
- package/ts/customers/getcustomerbyid.js +76 -1
- package/ts/customers/getdashboard.d.ts +1 -0
- package/ts/customers/getdashboard.js +49 -34
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getkycweburl.d.ts +34 -0
- package/ts/customers/getkycweburl.js +104 -0
- package/ts/customers/getprofessionalinfo.d.ts +18 -1
- package/ts/customers/getprofessionalinfo.js +148 -10
- package/ts/customers/getprofile.d.ts +17 -2
- package/ts/customers/getprofile.js +146 -26
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +19 -28
- package/ts/customers/getstep.js +159 -173
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.d.ts +36 -0
- package/ts/{customer/sendotp.js → customers/resetmpin.js} +47 -47
- 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/{customer/profileupdatetnc.js → customers/saveunlocklimit.js} +20 -33
- package/ts/customers/sendemailtoken.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step1.d.ts +2 -0
- package/ts/customers/step1.js +32 -4
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step2.d.ts +5 -6
- package/ts/customers/step2.js +22 -37
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/updatedigilockertxn.d.ts +37 -0
- package/ts/{customer/verifympin.js → customers/updatedigilockertxn.js} +46 -48
- package/ts/customers/updatehypervergetxn.d.ts +36 -0
- package/ts/{customer/setmpin.js → customers/updatehypervergetxn.js} +30 -30
- package/ts/customers/verifyemail.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers.d.ts +180 -28
- package/ts/customers.js +125 -17
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.d.ts +0 -11
- package/ts/loans/banklist.js +6 -60
- package/ts/loans/calculateemi.d.ts +16 -2
- package/ts/loans/calculateemi.js +115 -19
- package/ts/loans/creditlimit.d.ts +8 -0
- package/ts/loans/creditlimit.js +129 -2
- 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.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.d.ts +14 -0
- package/ts/loans.js +11 -1
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/customer/getprofile.d.ts +0 -38
- package/ts/customer/getprofile.js +0 -162
- package/ts/customer/getstep.d.ts +0 -78
- package/ts/customer/getstep.js +0 -420
- package/ts/customer/profileupdatetnc.d.ts +0 -35
- package/ts/customer/sendotp.d.ts +0 -36
- package/ts/customer/setmpin.d.ts +0 -36
- package/ts/customer/step1.d.ts +0 -69
- package/ts/customer/step1.js +0 -395
- package/ts/customer/step10.d.ts +0 -73
- package/ts/customer/step10.js +0 -459
- package/ts/customer/step2.d.ts +0 -68
- package/ts/customer/step2.js +0 -381
- package/ts/customer/step7.d.ts +0 -68
- package/ts/customer/step7.js +0 -381
- package/ts/customer/step8.d.ts +0 -69
- package/ts/customer/step8.js +0 -395
- package/ts/customer/step9.d.ts +0 -75
- package/ts/customer/step9.js +0 -489
- package/ts/customer/stepstatic.d.ts +0 -66
- package/ts/customer/stepstatic.js +0 -352
- package/ts/customer/verifympin.d.ts +0 -37
- package/ts/customer/verifyotp.d.ts +0 -39
- package/ts/customer/verifyotp.js +0 -177
- package/ts/customer.d.ts +0 -262
- package/ts/customer.js +0 -190
- package/ts/google/protobuf/any.d.ts +0 -138
- package/ts/google/protobuf/any.js +0 -108
- package/ts/payments/checkpaymentstatus.d.ts +0 -52
- package/ts/payments/checkpaymentstatus.js +0 -273
- package/ts/payments/createorder.d.ts +0 -39
- package/ts/payments/createorder.js +0 -191
- package/ts/payments/getpaymentdetails.d.ts +0 -57
- package/ts/payments/getpaymentdetails.js +0 -353
- package/ts/payments/getpaymentoptions.d.ts +0 -50
- package/ts/payments/getpaymentoptions.js +0 -231
- package/ts/payments/initiatepayment.d.ts +0 -54
- package/ts/payments/initiatepayment.js +0 -307
- package/ts/payments.d.ts +0 -70
- package/ts/payments.js +0 -54
|
@@ -0,0 +1,183 @@
|
|
|
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/getcities.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.getCitiesResponse = exports.City = exports.getCitiesRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.getcities";
|
|
15
|
+
function createBasegetCitiesRequest() {
|
|
16
|
+
return { state_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.getCitiesRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.state_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.state_id);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasegetCitiesRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.state_id = reader.int32();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { state_id: isSet(object.state_id) ? globalThis.Number(object.state_id) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.state_id !== 0) {
|
|
52
|
+
obj.state_id = Math.round(message.state_id);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.getCitiesRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasegetCitiesRequest();
|
|
61
|
+
message.state_id = object.state_id ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseCity() {
|
|
66
|
+
return { id: 0, name: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.City = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.id !== 0) {
|
|
71
|
+
writer.uint32(8).int32(message.id);
|
|
72
|
+
}
|
|
73
|
+
if (message.name !== "") {
|
|
74
|
+
writer.uint32(18).string(message.name);
|
|
75
|
+
}
|
|
76
|
+
return writer;
|
|
77
|
+
},
|
|
78
|
+
decode(input, length) {
|
|
79
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
80
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
+
const message = createBaseCity();
|
|
82
|
+
while (reader.pos < end) {
|
|
83
|
+
const tag = reader.uint32();
|
|
84
|
+
switch (tag >>> 3) {
|
|
85
|
+
case 1:
|
|
86
|
+
if (tag !== 8) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
message.id = reader.int32();
|
|
90
|
+
continue;
|
|
91
|
+
case 2:
|
|
92
|
+
if (tag !== 18) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
message.name = reader.string();
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
reader.skipType(tag & 7);
|
|
102
|
+
}
|
|
103
|
+
return message;
|
|
104
|
+
},
|
|
105
|
+
fromJSON(object) {
|
|
106
|
+
return {
|
|
107
|
+
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
108
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
toJSON(message) {
|
|
112
|
+
const obj = {};
|
|
113
|
+
if (message.id !== 0) {
|
|
114
|
+
obj.id = Math.round(message.id);
|
|
115
|
+
}
|
|
116
|
+
if (message.name !== "") {
|
|
117
|
+
obj.name = message.name;
|
|
118
|
+
}
|
|
119
|
+
return obj;
|
|
120
|
+
},
|
|
121
|
+
create(base) {
|
|
122
|
+
return exports.City.fromPartial(base ?? {});
|
|
123
|
+
},
|
|
124
|
+
fromPartial(object) {
|
|
125
|
+
const message = createBaseCity();
|
|
126
|
+
message.id = object.id ?? 0;
|
|
127
|
+
message.name = object.name ?? "";
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function createBasegetCitiesResponse() {
|
|
132
|
+
return { cities: [] };
|
|
133
|
+
}
|
|
134
|
+
exports.getCitiesResponse = {
|
|
135
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
136
|
+
for (const v of message.cities) {
|
|
137
|
+
exports.City.encode(v, writer.uint32(10).fork()).ldelim();
|
|
138
|
+
}
|
|
139
|
+
return writer;
|
|
140
|
+
},
|
|
141
|
+
decode(input, length) {
|
|
142
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
143
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
144
|
+
const message = createBasegetCitiesResponse();
|
|
145
|
+
while (reader.pos < end) {
|
|
146
|
+
const tag = reader.uint32();
|
|
147
|
+
switch (tag >>> 3) {
|
|
148
|
+
case 1:
|
|
149
|
+
if (tag !== 10) {
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
message.cities.push(exports.City.decode(reader, reader.uint32()));
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
reader.skipType(tag & 7);
|
|
159
|
+
}
|
|
160
|
+
return message;
|
|
161
|
+
},
|
|
162
|
+
fromJSON(object) {
|
|
163
|
+
return { cities: globalThis.Array.isArray(object?.cities) ? object.cities.map((e) => exports.City.fromJSON(e)) : [] };
|
|
164
|
+
},
|
|
165
|
+
toJSON(message) {
|
|
166
|
+
const obj = {};
|
|
167
|
+
if (message.cities?.length) {
|
|
168
|
+
obj.cities = message.cities.map((e) => exports.City.toJSON(e));
|
|
169
|
+
}
|
|
170
|
+
return obj;
|
|
171
|
+
},
|
|
172
|
+
create(base) {
|
|
173
|
+
return exports.getCitiesResponse.fromPartial(base ?? {});
|
|
174
|
+
},
|
|
175
|
+
fromPartial(object) {
|
|
176
|
+
const message = createBasegetCitiesResponse();
|
|
177
|
+
message.cities = object.cities?.map((e) => exports.City.fromPartial(e)) || [];
|
|
178
|
+
return message;
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
function isSet(value) {
|
|
182
|
+
return value !== null && value !== undefined;
|
|
183
|
+
}
|
|
@@ -20,6 +20,11 @@ export interface getCustomerByIdResponse {
|
|
|
20
20
|
category: string;
|
|
21
21
|
loc_limit: number;
|
|
22
22
|
status: string;
|
|
23
|
+
min_tenure: number;
|
|
24
|
+
max_tenure: number;
|
|
25
|
+
roi: number;
|
|
26
|
+
processing_rate: number;
|
|
27
|
+
emi_date: string;
|
|
23
28
|
}
|
|
24
29
|
export declare const getCustomerByIdRequest: {
|
|
25
30
|
encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers/getcustomerbyid.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -80,6 +80,11 @@ function createBasegetCustomerByIdResponse() {
|
|
|
80
80
|
category: "",
|
|
81
81
|
loc_limit: 0,
|
|
82
82
|
status: "",
|
|
83
|
+
min_tenure: 0,
|
|
84
|
+
max_tenure: 0,
|
|
85
|
+
roi: 0,
|
|
86
|
+
processing_rate: 0,
|
|
87
|
+
emi_date: "",
|
|
83
88
|
};
|
|
84
89
|
}
|
|
85
90
|
exports.getCustomerByIdResponse = {
|
|
@@ -132,6 +137,21 @@ exports.getCustomerByIdResponse = {
|
|
|
132
137
|
if (message.status !== "") {
|
|
133
138
|
writer.uint32(130).string(message.status);
|
|
134
139
|
}
|
|
140
|
+
if (message.min_tenure !== 0) {
|
|
141
|
+
writer.uint32(136).int32(message.min_tenure);
|
|
142
|
+
}
|
|
143
|
+
if (message.max_tenure !== 0) {
|
|
144
|
+
writer.uint32(144).int32(message.max_tenure);
|
|
145
|
+
}
|
|
146
|
+
if (message.roi !== 0) {
|
|
147
|
+
writer.uint32(157).float(message.roi);
|
|
148
|
+
}
|
|
149
|
+
if (message.processing_rate !== 0) {
|
|
150
|
+
writer.uint32(165).float(message.processing_rate);
|
|
151
|
+
}
|
|
152
|
+
if (message.emi_date !== "") {
|
|
153
|
+
writer.uint32(170).string(message.emi_date);
|
|
154
|
+
}
|
|
135
155
|
return writer;
|
|
136
156
|
},
|
|
137
157
|
decode(input, length) {
|
|
@@ -237,6 +257,36 @@ exports.getCustomerByIdResponse = {
|
|
|
237
257
|
}
|
|
238
258
|
message.status = reader.string();
|
|
239
259
|
continue;
|
|
260
|
+
case 17:
|
|
261
|
+
if (tag !== 136) {
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
message.min_tenure = reader.int32();
|
|
265
|
+
continue;
|
|
266
|
+
case 18:
|
|
267
|
+
if (tag !== 144) {
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
message.max_tenure = reader.int32();
|
|
271
|
+
continue;
|
|
272
|
+
case 19:
|
|
273
|
+
if (tag !== 157) {
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
message.roi = reader.float();
|
|
277
|
+
continue;
|
|
278
|
+
case 20:
|
|
279
|
+
if (tag !== 165) {
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
message.processing_rate = reader.float();
|
|
283
|
+
continue;
|
|
284
|
+
case 21:
|
|
285
|
+
if (tag !== 170) {
|
|
286
|
+
break;
|
|
287
|
+
}
|
|
288
|
+
message.emi_date = reader.string();
|
|
289
|
+
continue;
|
|
240
290
|
}
|
|
241
291
|
if ((tag & 7) === 4 || tag === 0) {
|
|
242
292
|
break;
|
|
@@ -263,6 +313,11 @@ exports.getCustomerByIdResponse = {
|
|
|
263
313
|
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
264
314
|
loc_limit: isSet(object.loc_limit) ? globalThis.Number(object.loc_limit) : 0,
|
|
265
315
|
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
316
|
+
min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
|
|
317
|
+
max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
|
|
318
|
+
roi: isSet(object.roi) ? globalThis.Number(object.roi) : 0,
|
|
319
|
+
processing_rate: isSet(object.processing_rate) ? globalThis.Number(object.processing_rate) : 0,
|
|
320
|
+
emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : "",
|
|
266
321
|
};
|
|
267
322
|
},
|
|
268
323
|
toJSON(message) {
|
|
@@ -315,6 +370,21 @@ exports.getCustomerByIdResponse = {
|
|
|
315
370
|
if (message.status !== "") {
|
|
316
371
|
obj.status = message.status;
|
|
317
372
|
}
|
|
373
|
+
if (message.min_tenure !== 0) {
|
|
374
|
+
obj.min_tenure = Math.round(message.min_tenure);
|
|
375
|
+
}
|
|
376
|
+
if (message.max_tenure !== 0) {
|
|
377
|
+
obj.max_tenure = Math.round(message.max_tenure);
|
|
378
|
+
}
|
|
379
|
+
if (message.roi !== 0) {
|
|
380
|
+
obj.roi = message.roi;
|
|
381
|
+
}
|
|
382
|
+
if (message.processing_rate !== 0) {
|
|
383
|
+
obj.processing_rate = message.processing_rate;
|
|
384
|
+
}
|
|
385
|
+
if (message.emi_date !== "") {
|
|
386
|
+
obj.emi_date = message.emi_date;
|
|
387
|
+
}
|
|
318
388
|
return obj;
|
|
319
389
|
},
|
|
320
390
|
create(base) {
|
|
@@ -338,6 +408,11 @@ exports.getCustomerByIdResponse = {
|
|
|
338
408
|
message.category = object.category ?? "";
|
|
339
409
|
message.loc_limit = object.loc_limit ?? 0;
|
|
340
410
|
message.status = object.status ?? "";
|
|
411
|
+
message.min_tenure = object.min_tenure ?? 0;
|
|
412
|
+
message.max_tenure = object.max_tenure ?? 0;
|
|
413
|
+
message.roi = object.roi ?? 0;
|
|
414
|
+
message.processing_rate = object.processing_rate ?? 0;
|
|
415
|
+
message.emi_date = object.emi_date ?? "";
|
|
341
416
|
return message;
|
|
342
417
|
},
|
|
343
418
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers/getdashboard.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -242,6 +242,7 @@ exports.Block = {
|
|
|
242
242
|
function createBaseBlockData() {
|
|
243
243
|
return {
|
|
244
244
|
text: "",
|
|
245
|
+
sub_text: "",
|
|
245
246
|
image_url: "",
|
|
246
247
|
video_url: "",
|
|
247
248
|
video_length: 0,
|
|
@@ -264,50 +265,53 @@ exports.BlockData = {
|
|
|
264
265
|
if (message.text !== "") {
|
|
265
266
|
writer.uint32(10).string(message.text);
|
|
266
267
|
}
|
|
268
|
+
if (message.sub_text !== "") {
|
|
269
|
+
writer.uint32(18).string(message.sub_text);
|
|
270
|
+
}
|
|
267
271
|
if (message.image_url !== "") {
|
|
268
|
-
writer.uint32(
|
|
272
|
+
writer.uint32(26).string(message.image_url);
|
|
269
273
|
}
|
|
270
274
|
if (message.video_url !== "") {
|
|
271
|
-
writer.uint32(
|
|
275
|
+
writer.uint32(34).string(message.video_url);
|
|
272
276
|
}
|
|
273
277
|
if (message.video_length !== 0) {
|
|
274
|
-
writer.uint32(
|
|
278
|
+
writer.uint32(40).int32(message.video_length);
|
|
275
279
|
}
|
|
276
280
|
if (message.action_url !== "") {
|
|
277
|
-
writer.uint32(
|
|
281
|
+
writer.uint32(50).string(message.action_url);
|
|
278
282
|
}
|
|
279
283
|
if (message.landing_page !== "") {
|
|
280
|
-
writer.uint32(
|
|
284
|
+
writer.uint32(58).string(message.landing_page);
|
|
281
285
|
}
|
|
282
286
|
if (message.api_mode !== "") {
|
|
283
|
-
writer.uint32(
|
|
287
|
+
writer.uint32(66).string(message.api_mode);
|
|
284
288
|
}
|
|
285
289
|
if (message.app_version !== "") {
|
|
286
|
-
writer.uint32(
|
|
290
|
+
writer.uint32(74).string(message.app_version);
|
|
287
291
|
}
|
|
288
292
|
if (message.old_customers !== false) {
|
|
289
|
-
writer.uint32(
|
|
293
|
+
writer.uint32(80).bool(message.old_customers);
|
|
290
294
|
}
|
|
291
295
|
if (message.is_new !== false) {
|
|
292
|
-
writer.uint32(
|
|
296
|
+
writer.uint32(88).bool(message.is_new);
|
|
293
297
|
}
|
|
294
298
|
if (message.action_type !== "") {
|
|
295
|
-
writer.uint32(
|
|
299
|
+
writer.uint32(98).string(message.action_type);
|
|
296
300
|
}
|
|
297
301
|
if (message.color1 !== "") {
|
|
298
|
-
writer.uint32(
|
|
302
|
+
writer.uint32(106).string(message.color1);
|
|
299
303
|
}
|
|
300
304
|
if (message.color2 !== "") {
|
|
301
|
-
writer.uint32(
|
|
305
|
+
writer.uint32(114).string(message.color2);
|
|
302
306
|
}
|
|
303
307
|
if (message.image_trailing !== "") {
|
|
304
|
-
writer.uint32(
|
|
308
|
+
writer.uint32(122).string(message.image_trailing);
|
|
305
309
|
}
|
|
306
310
|
if (message.tag !== undefined) {
|
|
307
|
-
exports.Tag.encode(message.tag, writer.uint32(
|
|
311
|
+
exports.Tag.encode(message.tag, writer.uint32(130).fork()).ldelim();
|
|
308
312
|
}
|
|
309
313
|
if (message.overlay_image !== "") {
|
|
310
|
-
writer.uint32(
|
|
314
|
+
writer.uint32(138).string(message.overlay_image);
|
|
311
315
|
}
|
|
312
316
|
return writer;
|
|
313
317
|
},
|
|
@@ -328,90 +332,96 @@ exports.BlockData = {
|
|
|
328
332
|
if (tag !== 18) {
|
|
329
333
|
break;
|
|
330
334
|
}
|
|
331
|
-
message.
|
|
335
|
+
message.sub_text = reader.string();
|
|
332
336
|
continue;
|
|
333
337
|
case 3:
|
|
334
338
|
if (tag !== 26) {
|
|
335
339
|
break;
|
|
336
340
|
}
|
|
337
|
-
message.
|
|
341
|
+
message.image_url = reader.string();
|
|
338
342
|
continue;
|
|
339
343
|
case 4:
|
|
340
|
-
if (tag !==
|
|
344
|
+
if (tag !== 34) {
|
|
341
345
|
break;
|
|
342
346
|
}
|
|
343
|
-
message.
|
|
347
|
+
message.video_url = reader.string();
|
|
344
348
|
continue;
|
|
345
349
|
case 5:
|
|
346
|
-
if (tag !==
|
|
350
|
+
if (tag !== 40) {
|
|
347
351
|
break;
|
|
348
352
|
}
|
|
349
|
-
message.
|
|
353
|
+
message.video_length = reader.int32();
|
|
350
354
|
continue;
|
|
351
355
|
case 6:
|
|
352
356
|
if (tag !== 50) {
|
|
353
357
|
break;
|
|
354
358
|
}
|
|
355
|
-
message.
|
|
359
|
+
message.action_url = reader.string();
|
|
356
360
|
continue;
|
|
357
361
|
case 7:
|
|
358
362
|
if (tag !== 58) {
|
|
359
363
|
break;
|
|
360
364
|
}
|
|
361
|
-
message.
|
|
365
|
+
message.landing_page = reader.string();
|
|
362
366
|
continue;
|
|
363
367
|
case 8:
|
|
364
368
|
if (tag !== 66) {
|
|
365
369
|
break;
|
|
366
370
|
}
|
|
367
|
-
message.
|
|
371
|
+
message.api_mode = reader.string();
|
|
368
372
|
continue;
|
|
369
373
|
case 9:
|
|
370
|
-
if (tag !==
|
|
374
|
+
if (tag !== 74) {
|
|
371
375
|
break;
|
|
372
376
|
}
|
|
373
|
-
message.
|
|
377
|
+
message.app_version = reader.string();
|
|
374
378
|
continue;
|
|
375
379
|
case 10:
|
|
376
380
|
if (tag !== 80) {
|
|
377
381
|
break;
|
|
378
382
|
}
|
|
379
|
-
message.
|
|
383
|
+
message.old_customers = reader.bool();
|
|
380
384
|
continue;
|
|
381
385
|
case 11:
|
|
382
|
-
if (tag !==
|
|
386
|
+
if (tag !== 88) {
|
|
383
387
|
break;
|
|
384
388
|
}
|
|
385
|
-
message.
|
|
389
|
+
message.is_new = reader.bool();
|
|
386
390
|
continue;
|
|
387
391
|
case 12:
|
|
388
392
|
if (tag !== 98) {
|
|
389
393
|
break;
|
|
390
394
|
}
|
|
391
|
-
message.
|
|
395
|
+
message.action_type = reader.string();
|
|
392
396
|
continue;
|
|
393
397
|
case 13:
|
|
394
398
|
if (tag !== 106) {
|
|
395
399
|
break;
|
|
396
400
|
}
|
|
397
|
-
message.
|
|
401
|
+
message.color1 = reader.string();
|
|
398
402
|
continue;
|
|
399
403
|
case 14:
|
|
400
404
|
if (tag !== 114) {
|
|
401
405
|
break;
|
|
402
406
|
}
|
|
403
|
-
message.
|
|
407
|
+
message.color2 = reader.string();
|
|
404
408
|
continue;
|
|
405
409
|
case 15:
|
|
406
410
|
if (tag !== 122) {
|
|
407
411
|
break;
|
|
408
412
|
}
|
|
409
|
-
message.
|
|
413
|
+
message.image_trailing = reader.string();
|
|
410
414
|
continue;
|
|
411
415
|
case 16:
|
|
412
416
|
if (tag !== 130) {
|
|
413
417
|
break;
|
|
414
418
|
}
|
|
419
|
+
message.tag = exports.Tag.decode(reader, reader.uint32());
|
|
420
|
+
continue;
|
|
421
|
+
case 17:
|
|
422
|
+
if (tag !== 138) {
|
|
423
|
+
break;
|
|
424
|
+
}
|
|
415
425
|
message.overlay_image = reader.string();
|
|
416
426
|
continue;
|
|
417
427
|
}
|
|
@@ -425,6 +435,7 @@ exports.BlockData = {
|
|
|
425
435
|
fromJSON(object) {
|
|
426
436
|
return {
|
|
427
437
|
text: isSet(object.text) ? globalThis.String(object.text) : "",
|
|
438
|
+
sub_text: isSet(object.sub_text) ? globalThis.String(object.sub_text) : "",
|
|
428
439
|
image_url: isSet(object.image_url) ? globalThis.String(object.image_url) : "",
|
|
429
440
|
video_url: isSet(object.video_url) ? globalThis.String(object.video_url) : "",
|
|
430
441
|
video_length: isSet(object.video_length) ? globalThis.Number(object.video_length) : 0,
|
|
@@ -447,6 +458,9 @@ exports.BlockData = {
|
|
|
447
458
|
if (message.text !== "") {
|
|
448
459
|
obj.text = message.text;
|
|
449
460
|
}
|
|
461
|
+
if (message.sub_text !== "") {
|
|
462
|
+
obj.sub_text = message.sub_text;
|
|
463
|
+
}
|
|
450
464
|
if (message.image_url !== "") {
|
|
451
465
|
obj.image_url = message.image_url;
|
|
452
466
|
}
|
|
@@ -500,6 +514,7 @@ exports.BlockData = {
|
|
|
500
514
|
fromPartial(object) {
|
|
501
515
|
const message = createBaseBlockData();
|
|
502
516
|
message.text = object.text ?? "";
|
|
517
|
+
message.sub_text = object.sub_text ?? "";
|
|
503
518
|
message.image_url = object.image_url ?? "";
|
|
504
519
|
message.video_url = object.video_url ?? "";
|
|
505
520
|
message.video_length = object.video_length ?? 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers/getdashboardmaincard.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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 {};
|