@stashfin/grpc 1.2.327 → 1.2.329
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
|
@@ -32,6 +32,7 @@ export interface MainCardData {
|
|
|
32
32
|
supp_title: string;
|
|
33
33
|
supp_loc_status: number;
|
|
34
34
|
supp_sub_title: string;
|
|
35
|
+
card_type: string;
|
|
35
36
|
}
|
|
36
37
|
export declare const getDashboardMainCardRequest: {
|
|
37
38
|
encode(_: getDashboardMainCardRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -170,6 +170,7 @@ function createBaseMainCardData() {
|
|
|
170
170
|
supp_title: "",
|
|
171
171
|
supp_loc_status: 0,
|
|
172
172
|
supp_sub_title: "",
|
|
173
|
+
card_type: "",
|
|
173
174
|
};
|
|
174
175
|
}
|
|
175
176
|
exports.MainCardData = {
|
|
@@ -243,6 +244,9 @@ exports.MainCardData = {
|
|
|
243
244
|
if (message.supp_sub_title !== "") {
|
|
244
245
|
writer.uint32(186).string(message.supp_sub_title);
|
|
245
246
|
}
|
|
247
|
+
if (message.card_type !== "") {
|
|
248
|
+
writer.uint32(194).string(message.card_type);
|
|
249
|
+
}
|
|
246
250
|
return writer;
|
|
247
251
|
},
|
|
248
252
|
decode(input, length) {
|
|
@@ -390,6 +394,12 @@ exports.MainCardData = {
|
|
|
390
394
|
}
|
|
391
395
|
message.supp_sub_title = reader.string();
|
|
392
396
|
continue;
|
|
397
|
+
case 24:
|
|
398
|
+
if (tag !== 194) {
|
|
399
|
+
break;
|
|
400
|
+
}
|
|
401
|
+
message.card_type = reader.string();
|
|
402
|
+
continue;
|
|
393
403
|
}
|
|
394
404
|
if ((tag & 7) === 4 || tag === 0) {
|
|
395
405
|
break;
|
|
@@ -423,6 +433,7 @@ exports.MainCardData = {
|
|
|
423
433
|
supp_title: isSet(object.supp_title) ? globalThis.String(object.supp_title) : "",
|
|
424
434
|
supp_loc_status: isSet(object.supp_loc_status) ? globalThis.Number(object.supp_loc_status) : 0,
|
|
425
435
|
supp_sub_title: isSet(object.supp_sub_title) ? globalThis.String(object.supp_sub_title) : "",
|
|
436
|
+
card_type: isSet(object.card_type) ? globalThis.String(object.card_type) : "",
|
|
426
437
|
};
|
|
427
438
|
},
|
|
428
439
|
toJSON(message) {
|
|
@@ -496,6 +507,9 @@ exports.MainCardData = {
|
|
|
496
507
|
if (message.supp_sub_title !== "") {
|
|
497
508
|
obj.supp_sub_title = message.supp_sub_title;
|
|
498
509
|
}
|
|
510
|
+
if (message.card_type !== "") {
|
|
511
|
+
obj.card_type = message.card_type;
|
|
512
|
+
}
|
|
499
513
|
return obj;
|
|
500
514
|
},
|
|
501
515
|
create(base) {
|
|
@@ -526,6 +540,7 @@ exports.MainCardData = {
|
|
|
526
540
|
message.supp_title = object.supp_title ?? "";
|
|
527
541
|
message.supp_loc_status = object.supp_loc_status ?? 0;
|
|
528
542
|
message.supp_sub_title = object.supp_sub_title ?? "";
|
|
543
|
+
message.card_type = object.card_type ?? "";
|
|
529
544
|
return message;
|
|
530
545
|
},
|
|
531
546
|
};
|
|
@@ -11,6 +11,8 @@ export interface getSetuBillDetailsResponse {
|
|
|
11
11
|
data: getSetuBillDetailsResponse_Field[];
|
|
12
12
|
total_amount: number;
|
|
13
13
|
order_id: string;
|
|
14
|
+
customer_id: number;
|
|
15
|
+
customer_name: string;
|
|
14
16
|
}
|
|
15
17
|
export interface getSetuBillDetailsResponse_Field {
|
|
16
18
|
bill_amount: number;
|
|
@@ -134,7 +134,7 @@ exports.getSetuBillDetailsRequest_Field = {
|
|
|
134
134
|
},
|
|
135
135
|
};
|
|
136
136
|
function createBasegetSetuBillDetailsResponse() {
|
|
137
|
-
return { data: [], total_amount: 0, order_id: "" };
|
|
137
|
+
return { data: [], total_amount: 0, order_id: "", customer_id: 0, customer_name: "" };
|
|
138
138
|
}
|
|
139
139
|
exports.getSetuBillDetailsResponse = {
|
|
140
140
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -147,6 +147,12 @@ exports.getSetuBillDetailsResponse = {
|
|
|
147
147
|
if (message.order_id !== "") {
|
|
148
148
|
writer.uint32(26).string(message.order_id);
|
|
149
149
|
}
|
|
150
|
+
if (message.customer_id !== 0) {
|
|
151
|
+
writer.uint32(32).int32(message.customer_id);
|
|
152
|
+
}
|
|
153
|
+
if (message.customer_name !== "") {
|
|
154
|
+
writer.uint32(42).string(message.customer_name);
|
|
155
|
+
}
|
|
150
156
|
return writer;
|
|
151
157
|
},
|
|
152
158
|
decode(input, length) {
|
|
@@ -174,6 +180,18 @@ exports.getSetuBillDetailsResponse = {
|
|
|
174
180
|
}
|
|
175
181
|
message.order_id = reader.string();
|
|
176
182
|
continue;
|
|
183
|
+
case 4:
|
|
184
|
+
if (tag !== 32) {
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
message.customer_id = reader.int32();
|
|
188
|
+
continue;
|
|
189
|
+
case 5:
|
|
190
|
+
if (tag !== 42) {
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
message.customer_name = reader.string();
|
|
194
|
+
continue;
|
|
177
195
|
}
|
|
178
196
|
if ((tag & 7) === 4 || tag === 0) {
|
|
179
197
|
break;
|
|
@@ -189,6 +207,8 @@ exports.getSetuBillDetailsResponse = {
|
|
|
189
207
|
: [],
|
|
190
208
|
total_amount: isSet(object.total_amount) ? globalThis.Number(object.total_amount) : 0,
|
|
191
209
|
order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
|
|
210
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
211
|
+
customer_name: isSet(object.customer_name) ? globalThis.String(object.customer_name) : "",
|
|
192
212
|
};
|
|
193
213
|
},
|
|
194
214
|
toJSON(message) {
|
|
@@ -202,6 +222,12 @@ exports.getSetuBillDetailsResponse = {
|
|
|
202
222
|
if (message.order_id !== "") {
|
|
203
223
|
obj.order_id = message.order_id;
|
|
204
224
|
}
|
|
225
|
+
if (message.customer_id !== 0) {
|
|
226
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
227
|
+
}
|
|
228
|
+
if (message.customer_name !== "") {
|
|
229
|
+
obj.customer_name = message.customer_name;
|
|
230
|
+
}
|
|
205
231
|
return obj;
|
|
206
232
|
},
|
|
207
233
|
create(base) {
|
|
@@ -212,6 +238,8 @@ exports.getSetuBillDetailsResponse = {
|
|
|
212
238
|
message.data = object.data?.map((e) => exports.getSetuBillDetailsResponse_Field.fromPartial(e)) || [];
|
|
213
239
|
message.total_amount = object.total_amount ?? 0;
|
|
214
240
|
message.order_id = object.order_id ?? "";
|
|
241
|
+
message.customer_id = object.customer_id ?? 0;
|
|
242
|
+
message.customer_name = object.customer_name ?? "";
|
|
215
243
|
return message;
|
|
216
244
|
},
|
|
217
245
|
};
|