@stashfin/grpc 1.2.196 → 1.2.198
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/cb/getcreditbuilder.d.ts +40 -0
- package/ts/customers/cb/getcreditbuilder.js +189 -0
- package/ts/customers/cb/savecreditbuilder.d.ts +35 -0
- package/ts/customers/cb/savecreditbuilder.js +117 -0
- package/ts/customers/getappsubmittedscreen.d.ts +1 -1
- package/ts/customers/getappsubmittedscreen.js +9 -7
- package/ts/customers.d.ts +28 -0
- package/ts/customers.js +20 -0
- package/ts/loans/amortization.d.ts +57 -0
- package/ts/loans/amortization.js +340 -0
- package/ts/loans/getbilldetails.d.ts +2 -0
- package/ts/loans/getbilldetails.js +29 -1
- package/ts/loans/paynow.d.ts +50 -0
- package/ts/loans/paynow.js +243 -0
- package/ts/loans.d.ts +28 -0
- package/ts/loans.js +20 -0
|
@@ -0,0 +1,340 @@
|
|
|
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 v5.28.0
|
|
6
|
+
// source: loans/amortization.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.amortizationResponse_Field = exports.amortizationResponse = exports.amortizationRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.amortization";
|
|
15
|
+
function createBaseamortizationRequest() {
|
|
16
|
+
return { loan_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.amortizationRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.loan_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.loan_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 = createBaseamortizationRequest();
|
|
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.loan_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 { loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.loan_id !== 0) {
|
|
52
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.amortizationRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseamortizationRequest();
|
|
61
|
+
message.loan_id = object.loan_id ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseamortizationResponse() {
|
|
66
|
+
return { installments: [] };
|
|
67
|
+
}
|
|
68
|
+
exports.amortizationResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
for (const v of message.installments) {
|
|
71
|
+
exports.amortizationResponse_Field.encode(v, writer.uint32(10).fork()).ldelim();
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBaseamortizationResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.installments.push(exports.amortizationResponse_Field.decode(reader, reader.uint32()));
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return {
|
|
98
|
+
installments: globalThis.Array.isArray(object?.installments)
|
|
99
|
+
? object.installments.map((e) => exports.amortizationResponse_Field.fromJSON(e))
|
|
100
|
+
: [],
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
toJSON(message) {
|
|
104
|
+
const obj = {};
|
|
105
|
+
if (message.installments?.length) {
|
|
106
|
+
obj.installments = message.installments.map((e) => exports.amortizationResponse_Field.toJSON(e));
|
|
107
|
+
}
|
|
108
|
+
return obj;
|
|
109
|
+
},
|
|
110
|
+
create(base) {
|
|
111
|
+
return exports.amortizationResponse.fromPartial(base ?? {});
|
|
112
|
+
},
|
|
113
|
+
fromPartial(object) {
|
|
114
|
+
const message = createBaseamortizationResponse();
|
|
115
|
+
message.installments = object.installments?.map((e) => exports.amortizationResponse_Field.fromPartial(e)) || [];
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
function createBaseamortizationResponse_Field() {
|
|
120
|
+
return {
|
|
121
|
+
loan_id: 0,
|
|
122
|
+
customer_id: 0,
|
|
123
|
+
seq_no: 0,
|
|
124
|
+
amount: 0,
|
|
125
|
+
starting_balance: 0,
|
|
126
|
+
ending_balance: 0,
|
|
127
|
+
principal: 0,
|
|
128
|
+
interest: 0,
|
|
129
|
+
due_date: "",
|
|
130
|
+
status: "",
|
|
131
|
+
discount: 0,
|
|
132
|
+
penalty: 0,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
exports.amortizationResponse_Field = {
|
|
136
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
137
|
+
if (message.loan_id !== 0) {
|
|
138
|
+
writer.uint32(8).int32(message.loan_id);
|
|
139
|
+
}
|
|
140
|
+
if (message.customer_id !== 0) {
|
|
141
|
+
writer.uint32(16).int32(message.customer_id);
|
|
142
|
+
}
|
|
143
|
+
if (message.seq_no !== 0) {
|
|
144
|
+
writer.uint32(24).int32(message.seq_no);
|
|
145
|
+
}
|
|
146
|
+
if (message.amount !== 0) {
|
|
147
|
+
writer.uint32(32).int32(message.amount);
|
|
148
|
+
}
|
|
149
|
+
if (message.starting_balance !== 0) {
|
|
150
|
+
writer.uint32(40).int32(message.starting_balance);
|
|
151
|
+
}
|
|
152
|
+
if (message.ending_balance !== 0) {
|
|
153
|
+
writer.uint32(48).int32(message.ending_balance);
|
|
154
|
+
}
|
|
155
|
+
if (message.principal !== 0) {
|
|
156
|
+
writer.uint32(56).int32(message.principal);
|
|
157
|
+
}
|
|
158
|
+
if (message.interest !== 0) {
|
|
159
|
+
writer.uint32(64).int32(message.interest);
|
|
160
|
+
}
|
|
161
|
+
if (message.due_date !== "") {
|
|
162
|
+
writer.uint32(74).string(message.due_date);
|
|
163
|
+
}
|
|
164
|
+
if (message.status !== "") {
|
|
165
|
+
writer.uint32(82).string(message.status);
|
|
166
|
+
}
|
|
167
|
+
if (message.discount !== 0) {
|
|
168
|
+
writer.uint32(88).int32(message.discount);
|
|
169
|
+
}
|
|
170
|
+
if (message.penalty !== 0) {
|
|
171
|
+
writer.uint32(96).int32(message.penalty);
|
|
172
|
+
}
|
|
173
|
+
return writer;
|
|
174
|
+
},
|
|
175
|
+
decode(input, length) {
|
|
176
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
177
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
178
|
+
const message = createBaseamortizationResponse_Field();
|
|
179
|
+
while (reader.pos < end) {
|
|
180
|
+
const tag = reader.uint32();
|
|
181
|
+
switch (tag >>> 3) {
|
|
182
|
+
case 1:
|
|
183
|
+
if (tag !== 8) {
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
message.loan_id = reader.int32();
|
|
187
|
+
continue;
|
|
188
|
+
case 2:
|
|
189
|
+
if (tag !== 16) {
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
message.customer_id = reader.int32();
|
|
193
|
+
continue;
|
|
194
|
+
case 3:
|
|
195
|
+
if (tag !== 24) {
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
message.seq_no = reader.int32();
|
|
199
|
+
continue;
|
|
200
|
+
case 4:
|
|
201
|
+
if (tag !== 32) {
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
message.amount = reader.int32();
|
|
205
|
+
continue;
|
|
206
|
+
case 5:
|
|
207
|
+
if (tag !== 40) {
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
message.starting_balance = reader.int32();
|
|
211
|
+
continue;
|
|
212
|
+
case 6:
|
|
213
|
+
if (tag !== 48) {
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
message.ending_balance = reader.int32();
|
|
217
|
+
continue;
|
|
218
|
+
case 7:
|
|
219
|
+
if (tag !== 56) {
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
message.principal = reader.int32();
|
|
223
|
+
continue;
|
|
224
|
+
case 8:
|
|
225
|
+
if (tag !== 64) {
|
|
226
|
+
break;
|
|
227
|
+
}
|
|
228
|
+
message.interest = reader.int32();
|
|
229
|
+
continue;
|
|
230
|
+
case 9:
|
|
231
|
+
if (tag !== 74) {
|
|
232
|
+
break;
|
|
233
|
+
}
|
|
234
|
+
message.due_date = reader.string();
|
|
235
|
+
continue;
|
|
236
|
+
case 10:
|
|
237
|
+
if (tag !== 82) {
|
|
238
|
+
break;
|
|
239
|
+
}
|
|
240
|
+
message.status = reader.string();
|
|
241
|
+
continue;
|
|
242
|
+
case 11:
|
|
243
|
+
if (tag !== 88) {
|
|
244
|
+
break;
|
|
245
|
+
}
|
|
246
|
+
message.discount = reader.int32();
|
|
247
|
+
continue;
|
|
248
|
+
case 12:
|
|
249
|
+
if (tag !== 96) {
|
|
250
|
+
break;
|
|
251
|
+
}
|
|
252
|
+
message.penalty = reader.int32();
|
|
253
|
+
continue;
|
|
254
|
+
}
|
|
255
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
256
|
+
break;
|
|
257
|
+
}
|
|
258
|
+
reader.skipType(tag & 7);
|
|
259
|
+
}
|
|
260
|
+
return message;
|
|
261
|
+
},
|
|
262
|
+
fromJSON(object) {
|
|
263
|
+
return {
|
|
264
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
265
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
266
|
+
seq_no: isSet(object.seq_no) ? globalThis.Number(object.seq_no) : 0,
|
|
267
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
268
|
+
starting_balance: isSet(object.starting_balance) ? globalThis.Number(object.starting_balance) : 0,
|
|
269
|
+
ending_balance: isSet(object.ending_balance) ? globalThis.Number(object.ending_balance) : 0,
|
|
270
|
+
principal: isSet(object.principal) ? globalThis.Number(object.principal) : 0,
|
|
271
|
+
interest: isSet(object.interest) ? globalThis.Number(object.interest) : 0,
|
|
272
|
+
due_date: isSet(object.due_date) ? globalThis.String(object.due_date) : "",
|
|
273
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
274
|
+
discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
|
|
275
|
+
penalty: isSet(object.penalty) ? globalThis.Number(object.penalty) : 0,
|
|
276
|
+
};
|
|
277
|
+
},
|
|
278
|
+
toJSON(message) {
|
|
279
|
+
const obj = {};
|
|
280
|
+
if (message.loan_id !== 0) {
|
|
281
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
282
|
+
}
|
|
283
|
+
if (message.customer_id !== 0) {
|
|
284
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
285
|
+
}
|
|
286
|
+
if (message.seq_no !== 0) {
|
|
287
|
+
obj.seq_no = Math.round(message.seq_no);
|
|
288
|
+
}
|
|
289
|
+
if (message.amount !== 0) {
|
|
290
|
+
obj.amount = Math.round(message.amount);
|
|
291
|
+
}
|
|
292
|
+
if (message.starting_balance !== 0) {
|
|
293
|
+
obj.starting_balance = Math.round(message.starting_balance);
|
|
294
|
+
}
|
|
295
|
+
if (message.ending_balance !== 0) {
|
|
296
|
+
obj.ending_balance = Math.round(message.ending_balance);
|
|
297
|
+
}
|
|
298
|
+
if (message.principal !== 0) {
|
|
299
|
+
obj.principal = Math.round(message.principal);
|
|
300
|
+
}
|
|
301
|
+
if (message.interest !== 0) {
|
|
302
|
+
obj.interest = Math.round(message.interest);
|
|
303
|
+
}
|
|
304
|
+
if (message.due_date !== "") {
|
|
305
|
+
obj.due_date = message.due_date;
|
|
306
|
+
}
|
|
307
|
+
if (message.status !== "") {
|
|
308
|
+
obj.status = message.status;
|
|
309
|
+
}
|
|
310
|
+
if (message.discount !== 0) {
|
|
311
|
+
obj.discount = Math.round(message.discount);
|
|
312
|
+
}
|
|
313
|
+
if (message.penalty !== 0) {
|
|
314
|
+
obj.penalty = Math.round(message.penalty);
|
|
315
|
+
}
|
|
316
|
+
return obj;
|
|
317
|
+
},
|
|
318
|
+
create(base) {
|
|
319
|
+
return exports.amortizationResponse_Field.fromPartial(base ?? {});
|
|
320
|
+
},
|
|
321
|
+
fromPartial(object) {
|
|
322
|
+
const message = createBaseamortizationResponse_Field();
|
|
323
|
+
message.loan_id = object.loan_id ?? 0;
|
|
324
|
+
message.customer_id = object.customer_id ?? 0;
|
|
325
|
+
message.seq_no = object.seq_no ?? 0;
|
|
326
|
+
message.amount = object.amount ?? 0;
|
|
327
|
+
message.starting_balance = object.starting_balance ?? 0;
|
|
328
|
+
message.ending_balance = object.ending_balance ?? 0;
|
|
329
|
+
message.principal = object.principal ?? 0;
|
|
330
|
+
message.interest = object.interest ?? 0;
|
|
331
|
+
message.due_date = object.due_date ?? "";
|
|
332
|
+
message.status = object.status ?? "";
|
|
333
|
+
message.discount = object.discount ?? 0;
|
|
334
|
+
message.penalty = object.penalty ?? 0;
|
|
335
|
+
return message;
|
|
336
|
+
},
|
|
337
|
+
};
|
|
338
|
+
function isSet(value) {
|
|
339
|
+
return value !== null && value !== undefined;
|
|
340
|
+
}
|
|
@@ -8,6 +8,8 @@ export interface getBillDetailsResponse {
|
|
|
8
8
|
bill_date: string;
|
|
9
9
|
principal: number;
|
|
10
10
|
interest: number;
|
|
11
|
+
inst_id: number;
|
|
12
|
+
penalty: number;
|
|
11
13
|
}
|
|
12
14
|
export declare const getBillDetailsRequest: {
|
|
13
15
|
encode(message: getBillDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -63,7 +63,7 @@ exports.getBillDetailsRequest = {
|
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
65
|
function createBasegetBillDetailsResponse() {
|
|
66
|
-
return { bill_amount: 0, bill_date: "", principal: 0, interest: 0 };
|
|
66
|
+
return { bill_amount: 0, bill_date: "", principal: 0, interest: 0, inst_id: 0, penalty: 0 };
|
|
67
67
|
}
|
|
68
68
|
exports.getBillDetailsResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -79,6 +79,12 @@ exports.getBillDetailsResponse = {
|
|
|
79
79
|
if (message.interest !== 0) {
|
|
80
80
|
writer.uint32(32).int32(message.interest);
|
|
81
81
|
}
|
|
82
|
+
if (message.inst_id !== 0) {
|
|
83
|
+
writer.uint32(40).int32(message.inst_id);
|
|
84
|
+
}
|
|
85
|
+
if (message.penalty !== 0) {
|
|
86
|
+
writer.uint32(48).int32(message.penalty);
|
|
87
|
+
}
|
|
82
88
|
return writer;
|
|
83
89
|
},
|
|
84
90
|
decode(input, length) {
|
|
@@ -112,6 +118,18 @@ exports.getBillDetailsResponse = {
|
|
|
112
118
|
}
|
|
113
119
|
message.interest = reader.int32();
|
|
114
120
|
continue;
|
|
121
|
+
case 5:
|
|
122
|
+
if (tag !== 40) {
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
message.inst_id = reader.int32();
|
|
126
|
+
continue;
|
|
127
|
+
case 6:
|
|
128
|
+
if (tag !== 48) {
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
message.penalty = reader.int32();
|
|
132
|
+
continue;
|
|
115
133
|
}
|
|
116
134
|
if ((tag & 7) === 4 || tag === 0) {
|
|
117
135
|
break;
|
|
@@ -126,6 +144,8 @@ exports.getBillDetailsResponse = {
|
|
|
126
144
|
bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
|
|
127
145
|
principal: isSet(object.principal) ? globalThis.Number(object.principal) : 0,
|
|
128
146
|
interest: isSet(object.interest) ? globalThis.Number(object.interest) : 0,
|
|
147
|
+
inst_id: isSet(object.inst_id) ? globalThis.Number(object.inst_id) : 0,
|
|
148
|
+
penalty: isSet(object.penalty) ? globalThis.Number(object.penalty) : 0,
|
|
129
149
|
};
|
|
130
150
|
},
|
|
131
151
|
toJSON(message) {
|
|
@@ -142,6 +162,12 @@ exports.getBillDetailsResponse = {
|
|
|
142
162
|
if (message.interest !== 0) {
|
|
143
163
|
obj.interest = Math.round(message.interest);
|
|
144
164
|
}
|
|
165
|
+
if (message.inst_id !== 0) {
|
|
166
|
+
obj.inst_id = Math.round(message.inst_id);
|
|
167
|
+
}
|
|
168
|
+
if (message.penalty !== 0) {
|
|
169
|
+
obj.penalty = Math.round(message.penalty);
|
|
170
|
+
}
|
|
145
171
|
return obj;
|
|
146
172
|
},
|
|
147
173
|
create(base) {
|
|
@@ -153,6 +179,8 @@ exports.getBillDetailsResponse = {
|
|
|
153
179
|
message.bill_date = object.bill_date ?? "";
|
|
154
180
|
message.principal = object.principal ?? 0;
|
|
155
181
|
message.interest = object.interest ?? 0;
|
|
182
|
+
message.inst_id = object.inst_id ?? 0;
|
|
183
|
+
message.penalty = object.penalty ?? 0;
|
|
156
184
|
return message;
|
|
157
185
|
},
|
|
158
186
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.paynow";
|
|
3
|
+
export interface payNowRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
inst_id: string;
|
|
6
|
+
mode: string;
|
|
7
|
+
}
|
|
8
|
+
export interface payNowResponse {
|
|
9
|
+
status: string;
|
|
10
|
+
status_code: number;
|
|
11
|
+
data: payNowResponse_Data | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface payNowResponse_Data {
|
|
14
|
+
redirect_url: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const payNowRequest: {
|
|
17
|
+
encode(message: payNowRequest, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): payNowRequest;
|
|
19
|
+
fromJSON(object: any): payNowRequest;
|
|
20
|
+
toJSON(message: payNowRequest): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<payNowRequest>, I>>(base?: I): payNowRequest;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<payNowRequest>, I>>(object: I): payNowRequest;
|
|
23
|
+
};
|
|
24
|
+
export declare const payNowResponse: {
|
|
25
|
+
encode(message: payNowResponse, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): payNowResponse;
|
|
27
|
+
fromJSON(object: any): payNowResponse;
|
|
28
|
+
toJSON(message: payNowResponse): unknown;
|
|
29
|
+
create<I extends Exact<DeepPartial<payNowResponse>, I>>(base?: I): payNowResponse;
|
|
30
|
+
fromPartial<I extends Exact<DeepPartial<payNowResponse>, I>>(object: I): payNowResponse;
|
|
31
|
+
};
|
|
32
|
+
export declare const payNowResponse_Data: {
|
|
33
|
+
encode(message: payNowResponse_Data, writer?: _m0.Writer): _m0.Writer;
|
|
34
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): payNowResponse_Data;
|
|
35
|
+
fromJSON(object: any): payNowResponse_Data;
|
|
36
|
+
toJSON(message: payNowResponse_Data): unknown;
|
|
37
|
+
create<I extends Exact<DeepPartial<payNowResponse_Data>, I>>(base?: I): payNowResponse_Data;
|
|
38
|
+
fromPartial<I extends Exact<DeepPartial<payNowResponse_Data>, I>>(object: I): payNowResponse_Data;
|
|
39
|
+
};
|
|
40
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
41
|
+
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 {} ? {
|
|
42
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
+
} : Partial<T>;
|
|
44
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
+
} & {
|
|
48
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
+
};
|
|
50
|
+
export {};
|