@stashfin/grpc 1.5.11 → 1.5.13
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
|
@@ -3,8 +3,8 @@ export declare const protobufPackage = "bbps.remindernotification";
|
|
|
3
3
|
/** Request Data */
|
|
4
4
|
export interface getBillRowDataRequest {
|
|
5
5
|
id: number;
|
|
6
|
-
due_date
|
|
7
|
-
due_amount
|
|
6
|
+
due_date?: string | undefined;
|
|
7
|
+
due_amount?: number | undefined;
|
|
8
8
|
customer_id: number;
|
|
9
9
|
account_no: string;
|
|
10
10
|
mobile: string;
|
|
@@ -12,6 +12,10 @@ export interface getBillRowDataRequest {
|
|
|
12
12
|
biller_name: string;
|
|
13
13
|
category: string;
|
|
14
14
|
is_bill_new?: boolean | undefined;
|
|
15
|
+
txn_date?: string | undefined;
|
|
16
|
+
status?: string | undefined;
|
|
17
|
+
event_type?: string | undefined;
|
|
18
|
+
txn_id?: string | undefined;
|
|
15
19
|
}
|
|
16
20
|
export interface getBillRowDataResponse {
|
|
17
21
|
/** "success" or "failure" */
|
|
@@ -15,8 +15,8 @@ exports.protobufPackage = "bbps.remindernotification";
|
|
|
15
15
|
function createBasegetBillRowDataRequest() {
|
|
16
16
|
return {
|
|
17
17
|
id: 0,
|
|
18
|
-
due_date:
|
|
19
|
-
due_amount:
|
|
18
|
+
due_date: undefined,
|
|
19
|
+
due_amount: undefined,
|
|
20
20
|
customer_id: 0,
|
|
21
21
|
account_no: "",
|
|
22
22
|
mobile: "",
|
|
@@ -24,6 +24,10 @@ function createBasegetBillRowDataRequest() {
|
|
|
24
24
|
biller_name: "",
|
|
25
25
|
category: "",
|
|
26
26
|
is_bill_new: undefined,
|
|
27
|
+
txn_date: undefined,
|
|
28
|
+
status: undefined,
|
|
29
|
+
event_type: undefined,
|
|
30
|
+
txn_id: undefined,
|
|
27
31
|
};
|
|
28
32
|
}
|
|
29
33
|
exports.getBillRowDataRequest = {
|
|
@@ -31,10 +35,10 @@ exports.getBillRowDataRequest = {
|
|
|
31
35
|
if (message.id !== 0) {
|
|
32
36
|
writer.uint32(8).int32(message.id);
|
|
33
37
|
}
|
|
34
|
-
if (message.due_date !==
|
|
38
|
+
if (message.due_date !== undefined) {
|
|
35
39
|
writer.uint32(18).string(message.due_date);
|
|
36
40
|
}
|
|
37
|
-
if (message.due_amount !==
|
|
41
|
+
if (message.due_amount !== undefined) {
|
|
38
42
|
writer.uint32(25).double(message.due_amount);
|
|
39
43
|
}
|
|
40
44
|
if (message.customer_id !== 0) {
|
|
@@ -58,6 +62,18 @@ exports.getBillRowDataRequest = {
|
|
|
58
62
|
if (message.is_bill_new !== undefined) {
|
|
59
63
|
writer.uint32(80).bool(message.is_bill_new);
|
|
60
64
|
}
|
|
65
|
+
if (message.txn_date !== undefined) {
|
|
66
|
+
writer.uint32(90).string(message.txn_date);
|
|
67
|
+
}
|
|
68
|
+
if (message.status !== undefined) {
|
|
69
|
+
writer.uint32(98).string(message.status);
|
|
70
|
+
}
|
|
71
|
+
if (message.event_type !== undefined) {
|
|
72
|
+
writer.uint32(106).string(message.event_type);
|
|
73
|
+
}
|
|
74
|
+
if (message.txn_id !== undefined) {
|
|
75
|
+
writer.uint32(114).string(message.txn_id);
|
|
76
|
+
}
|
|
61
77
|
return writer;
|
|
62
78
|
},
|
|
63
79
|
decode(input, length) {
|
|
@@ -127,6 +143,30 @@ exports.getBillRowDataRequest = {
|
|
|
127
143
|
}
|
|
128
144
|
message.is_bill_new = reader.bool();
|
|
129
145
|
continue;
|
|
146
|
+
case 11:
|
|
147
|
+
if (tag !== 90) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
message.txn_date = reader.string();
|
|
151
|
+
continue;
|
|
152
|
+
case 12:
|
|
153
|
+
if (tag !== 98) {
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
message.status = reader.string();
|
|
157
|
+
continue;
|
|
158
|
+
case 13:
|
|
159
|
+
if (tag !== 106) {
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
message.event_type = reader.string();
|
|
163
|
+
continue;
|
|
164
|
+
case 14:
|
|
165
|
+
if (tag !== 114) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.txn_id = reader.string();
|
|
169
|
+
continue;
|
|
130
170
|
}
|
|
131
171
|
if ((tag & 7) === 4 || tag === 0) {
|
|
132
172
|
break;
|
|
@@ -138,8 +178,8 @@ exports.getBillRowDataRequest = {
|
|
|
138
178
|
fromJSON(object) {
|
|
139
179
|
return {
|
|
140
180
|
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
141
|
-
due_date: isSet(object.due_date) ? globalThis.String(object.due_date) :
|
|
142
|
-
due_amount: isSet(object.due_amount) ? globalThis.Number(object.due_amount) :
|
|
181
|
+
due_date: isSet(object.due_date) ? globalThis.String(object.due_date) : undefined,
|
|
182
|
+
due_amount: isSet(object.due_amount) ? globalThis.Number(object.due_amount) : undefined,
|
|
143
183
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
144
184
|
account_no: isSet(object.account_no) ? globalThis.String(object.account_no) : "",
|
|
145
185
|
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
@@ -147,6 +187,10 @@ exports.getBillRowDataRequest = {
|
|
|
147
187
|
biller_name: isSet(object.biller_name) ? globalThis.String(object.biller_name) : "",
|
|
148
188
|
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
149
189
|
is_bill_new: isSet(object.is_bill_new) ? globalThis.Boolean(object.is_bill_new) : undefined,
|
|
190
|
+
txn_date: isSet(object.txn_date) ? globalThis.String(object.txn_date) : undefined,
|
|
191
|
+
status: isSet(object.status) ? globalThis.String(object.status) : undefined,
|
|
192
|
+
event_type: isSet(object.event_type) ? globalThis.String(object.event_type) : undefined,
|
|
193
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : undefined,
|
|
150
194
|
};
|
|
151
195
|
},
|
|
152
196
|
toJSON(message) {
|
|
@@ -154,10 +198,10 @@ exports.getBillRowDataRequest = {
|
|
|
154
198
|
if (message.id !== 0) {
|
|
155
199
|
obj.id = Math.round(message.id);
|
|
156
200
|
}
|
|
157
|
-
if (message.due_date !==
|
|
201
|
+
if (message.due_date !== undefined) {
|
|
158
202
|
obj.due_date = message.due_date;
|
|
159
203
|
}
|
|
160
|
-
if (message.due_amount !==
|
|
204
|
+
if (message.due_amount !== undefined) {
|
|
161
205
|
obj.due_amount = message.due_amount;
|
|
162
206
|
}
|
|
163
207
|
if (message.customer_id !== 0) {
|
|
@@ -181,6 +225,18 @@ exports.getBillRowDataRequest = {
|
|
|
181
225
|
if (message.is_bill_new !== undefined) {
|
|
182
226
|
obj.is_bill_new = message.is_bill_new;
|
|
183
227
|
}
|
|
228
|
+
if (message.txn_date !== undefined) {
|
|
229
|
+
obj.txn_date = message.txn_date;
|
|
230
|
+
}
|
|
231
|
+
if (message.status !== undefined) {
|
|
232
|
+
obj.status = message.status;
|
|
233
|
+
}
|
|
234
|
+
if (message.event_type !== undefined) {
|
|
235
|
+
obj.event_type = message.event_type;
|
|
236
|
+
}
|
|
237
|
+
if (message.txn_id !== undefined) {
|
|
238
|
+
obj.txn_id = message.txn_id;
|
|
239
|
+
}
|
|
184
240
|
return obj;
|
|
185
241
|
},
|
|
186
242
|
create(base) {
|
|
@@ -189,8 +245,8 @@ exports.getBillRowDataRequest = {
|
|
|
189
245
|
fromPartial(object) {
|
|
190
246
|
const message = createBasegetBillRowDataRequest();
|
|
191
247
|
message.id = object.id ?? 0;
|
|
192
|
-
message.due_date = object.due_date ??
|
|
193
|
-
message.due_amount = object.due_amount ??
|
|
248
|
+
message.due_date = object.due_date ?? undefined;
|
|
249
|
+
message.due_amount = object.due_amount ?? undefined;
|
|
194
250
|
message.customer_id = object.customer_id ?? 0;
|
|
195
251
|
message.account_no = object.account_no ?? "";
|
|
196
252
|
message.mobile = object.mobile ?? "";
|
|
@@ -198,6 +254,10 @@ exports.getBillRowDataRequest = {
|
|
|
198
254
|
message.biller_name = object.biller_name ?? "";
|
|
199
255
|
message.category = object.category ?? "";
|
|
200
256
|
message.is_bill_new = object.is_bill_new ?? undefined;
|
|
257
|
+
message.txn_date = object.txn_date ?? undefined;
|
|
258
|
+
message.status = object.status ?? undefined;
|
|
259
|
+
message.event_type = object.event_type ?? undefined;
|
|
260
|
+
message.txn_id = object.txn_id ?? undefined;
|
|
201
261
|
return message;
|
|
202
262
|
},
|
|
203
263
|
};
|