@stashfin/grpc 1.2.391 → 1.2.392
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
|
@@ -113,6 +113,7 @@ function createBasegetBillDetailsResponse_Field() {
|
|
|
113
113
|
penalty: 0,
|
|
114
114
|
is_visible: false,
|
|
115
115
|
loan_id: 0,
|
|
116
|
+
is_payable: false,
|
|
116
117
|
};
|
|
117
118
|
}
|
|
118
119
|
exports.getBillDetailsResponse_Field = {
|
|
@@ -141,6 +142,9 @@ exports.getBillDetailsResponse_Field = {
|
|
|
141
142
|
if (message.loan_id !== 0) {
|
|
142
143
|
writer.uint32(64).int32(message.loan_id);
|
|
143
144
|
}
|
|
145
|
+
if (message.is_payable !== false) {
|
|
146
|
+
writer.uint32(72).bool(message.is_payable);
|
|
147
|
+
}
|
|
144
148
|
return writer;
|
|
145
149
|
},
|
|
146
150
|
decode(input, length) {
|
|
@@ -198,6 +202,12 @@ exports.getBillDetailsResponse_Field = {
|
|
|
198
202
|
}
|
|
199
203
|
message.loan_id = reader.int32();
|
|
200
204
|
continue;
|
|
205
|
+
case 9:
|
|
206
|
+
if (tag !== 72) {
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
message.is_payable = reader.bool();
|
|
210
|
+
continue;
|
|
201
211
|
}
|
|
202
212
|
if ((tag & 7) === 4 || tag === 0) {
|
|
203
213
|
break;
|
|
@@ -216,6 +226,7 @@ exports.getBillDetailsResponse_Field = {
|
|
|
216
226
|
penalty: isSet(object.penalty) ? globalThis.Number(object.penalty) : 0,
|
|
217
227
|
is_visible: isSet(object.is_visible) ? globalThis.Boolean(object.is_visible) : false,
|
|
218
228
|
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
229
|
+
is_payable: isSet(object.is_payable) ? globalThis.Boolean(object.is_payable) : false,
|
|
219
230
|
};
|
|
220
231
|
},
|
|
221
232
|
toJSON(message) {
|
|
@@ -244,6 +255,9 @@ exports.getBillDetailsResponse_Field = {
|
|
|
244
255
|
if (message.loan_id !== 0) {
|
|
245
256
|
obj.loan_id = Math.round(message.loan_id);
|
|
246
257
|
}
|
|
258
|
+
if (message.is_payable !== false) {
|
|
259
|
+
obj.is_payable = message.is_payable;
|
|
260
|
+
}
|
|
247
261
|
return obj;
|
|
248
262
|
},
|
|
249
263
|
create(base) {
|
|
@@ -259,6 +273,7 @@ exports.getBillDetailsResponse_Field = {
|
|
|
259
273
|
message.penalty = object.penalty ?? 0;
|
|
260
274
|
message.is_visible = object.is_visible ?? false;
|
|
261
275
|
message.loan_id = object.loan_id ?? 0;
|
|
276
|
+
message.is_payable = object.is_payable ?? false;
|
|
262
277
|
return message;
|
|
263
278
|
},
|
|
264
279
|
};
|