@stashfin/grpc 1.2.232 → 1.2.233
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
CHANGED
|
@@ -12,6 +12,8 @@ export interface getBillDetailsResponse_Field {
|
|
|
12
12
|
interest: number;
|
|
13
13
|
inst_id: number;
|
|
14
14
|
penalty: number;
|
|
15
|
+
is_visible: boolean;
|
|
16
|
+
loan_id: number;
|
|
15
17
|
}
|
|
16
18
|
export declare const getBillDetailsRequest: {
|
|
17
19
|
encode(_: getBillDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -104,7 +104,16 @@ exports.getBillDetailsResponse = {
|
|
|
104
104
|
},
|
|
105
105
|
};
|
|
106
106
|
function createBasegetBillDetailsResponse_Field() {
|
|
107
|
-
return {
|
|
107
|
+
return {
|
|
108
|
+
bill_amount: 0,
|
|
109
|
+
bill_date: "",
|
|
110
|
+
principal: 0,
|
|
111
|
+
interest: 0,
|
|
112
|
+
inst_id: 0,
|
|
113
|
+
penalty: 0,
|
|
114
|
+
is_visible: false,
|
|
115
|
+
loan_id: 0,
|
|
116
|
+
};
|
|
108
117
|
}
|
|
109
118
|
exports.getBillDetailsResponse_Field = {
|
|
110
119
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -126,6 +135,12 @@ exports.getBillDetailsResponse_Field = {
|
|
|
126
135
|
if (message.penalty !== 0) {
|
|
127
136
|
writer.uint32(48).int32(message.penalty);
|
|
128
137
|
}
|
|
138
|
+
if (message.is_visible !== false) {
|
|
139
|
+
writer.uint32(56).bool(message.is_visible);
|
|
140
|
+
}
|
|
141
|
+
if (message.loan_id !== 0) {
|
|
142
|
+
writer.uint32(64).int32(message.loan_id);
|
|
143
|
+
}
|
|
129
144
|
return writer;
|
|
130
145
|
},
|
|
131
146
|
decode(input, length) {
|
|
@@ -171,6 +186,18 @@ exports.getBillDetailsResponse_Field = {
|
|
|
171
186
|
}
|
|
172
187
|
message.penalty = reader.int32();
|
|
173
188
|
continue;
|
|
189
|
+
case 7:
|
|
190
|
+
if (tag !== 56) {
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
message.is_visible = reader.bool();
|
|
194
|
+
continue;
|
|
195
|
+
case 8:
|
|
196
|
+
if (tag !== 64) {
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
message.loan_id = reader.int32();
|
|
200
|
+
continue;
|
|
174
201
|
}
|
|
175
202
|
if ((tag & 7) === 4 || tag === 0) {
|
|
176
203
|
break;
|
|
@@ -187,6 +214,8 @@ exports.getBillDetailsResponse_Field = {
|
|
|
187
214
|
interest: isSet(object.interest) ? globalThis.Number(object.interest) : 0,
|
|
188
215
|
inst_id: isSet(object.inst_id) ? globalThis.Number(object.inst_id) : 0,
|
|
189
216
|
penalty: isSet(object.penalty) ? globalThis.Number(object.penalty) : 0,
|
|
217
|
+
is_visible: isSet(object.is_visible) ? globalThis.Boolean(object.is_visible) : false,
|
|
218
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
190
219
|
};
|
|
191
220
|
},
|
|
192
221
|
toJSON(message) {
|
|
@@ -209,6 +238,12 @@ exports.getBillDetailsResponse_Field = {
|
|
|
209
238
|
if (message.penalty !== 0) {
|
|
210
239
|
obj.penalty = Math.round(message.penalty);
|
|
211
240
|
}
|
|
241
|
+
if (message.is_visible !== false) {
|
|
242
|
+
obj.is_visible = message.is_visible;
|
|
243
|
+
}
|
|
244
|
+
if (message.loan_id !== 0) {
|
|
245
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
246
|
+
}
|
|
212
247
|
return obj;
|
|
213
248
|
},
|
|
214
249
|
create(base) {
|
|
@@ -222,6 +257,8 @@ exports.getBillDetailsResponse_Field = {
|
|
|
222
257
|
message.interest = object.interest ?? 0;
|
|
223
258
|
message.inst_id = object.inst_id ?? 0;
|
|
224
259
|
message.penalty = object.penalty ?? 0;
|
|
260
|
+
message.is_visible = object.is_visible ?? false;
|
|
261
|
+
message.loan_id = object.loan_id ?? 0;
|
|
225
262
|
return message;
|
|
226
263
|
},
|
|
227
264
|
};
|