@stashfin/grpc 1.2.197 → 1.2.199

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.
@@ -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
+ }
@@ -0,0 +1,37 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.fcppayment";
3
+ export interface fcpPaymentRequest {
4
+ bill_amount: number;
5
+ customerid: number;
6
+ loan_id: number;
7
+ }
8
+ export interface fcpPaymentResponse {
9
+ message: string;
10
+ }
11
+ export declare const fcpPaymentRequest: {
12
+ encode(message: fcpPaymentRequest, writer?: _m0.Writer): _m0.Writer;
13
+ decode(input: _m0.Reader | Uint8Array, length?: number): fcpPaymentRequest;
14
+ fromJSON(object: any): fcpPaymentRequest;
15
+ toJSON(message: fcpPaymentRequest): unknown;
16
+ create<I extends Exact<DeepPartial<fcpPaymentRequest>, I>>(base?: I): fcpPaymentRequest;
17
+ fromPartial<I extends Exact<DeepPartial<fcpPaymentRequest>, I>>(object: I): fcpPaymentRequest;
18
+ };
19
+ export declare const fcpPaymentResponse: {
20
+ encode(message: fcpPaymentResponse, writer?: _m0.Writer): _m0.Writer;
21
+ decode(input: _m0.Reader | Uint8Array, length?: number): fcpPaymentResponse;
22
+ fromJSON(object: any): fcpPaymentResponse;
23
+ toJSON(message: fcpPaymentResponse): unknown;
24
+ create<I extends Exact<DeepPartial<fcpPaymentResponse>, I>>(base?: I): fcpPaymentResponse;
25
+ fromPartial<I extends Exact<DeepPartial<fcpPaymentResponse>, I>>(object: I): fcpPaymentResponse;
26
+ };
27
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
28
+ 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 {} ? {
29
+ [K in keyof T]?: DeepPartial<T[K]>;
30
+ } : Partial<T>;
31
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
32
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
33
+ [K in keyof P]: Exact<P[K], I[K]>;
34
+ } & {
35
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
36
+ };
37
+ export {};
@@ -0,0 +1,147 @@
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/fcppayment.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.fcpPaymentResponse = exports.fcpPaymentRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.fcppayment";
15
+ function createBasefcpPaymentRequest() {
16
+ return { bill_amount: 0, customerid: 0, loan_id: 0 };
17
+ }
18
+ exports.fcpPaymentRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.bill_amount !== 0) {
21
+ writer.uint32(8).int32(message.bill_amount);
22
+ }
23
+ if (message.customerid !== 0) {
24
+ writer.uint32(16).int32(message.customerid);
25
+ }
26
+ if (message.loan_id !== 0) {
27
+ writer.uint32(24).int32(message.loan_id);
28
+ }
29
+ return writer;
30
+ },
31
+ decode(input, length) {
32
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
33
+ let end = length === undefined ? reader.len : reader.pos + length;
34
+ const message = createBasefcpPaymentRequest();
35
+ while (reader.pos < end) {
36
+ const tag = reader.uint32();
37
+ switch (tag >>> 3) {
38
+ case 1:
39
+ if (tag !== 8) {
40
+ break;
41
+ }
42
+ message.bill_amount = reader.int32();
43
+ continue;
44
+ case 2:
45
+ if (tag !== 16) {
46
+ break;
47
+ }
48
+ message.customerid = reader.int32();
49
+ continue;
50
+ case 3:
51
+ if (tag !== 24) {
52
+ break;
53
+ }
54
+ message.loan_id = reader.int32();
55
+ continue;
56
+ }
57
+ if ((tag & 7) === 4 || tag === 0) {
58
+ break;
59
+ }
60
+ reader.skipType(tag & 7);
61
+ }
62
+ return message;
63
+ },
64
+ fromJSON(object) {
65
+ return {
66
+ bill_amount: isSet(object.bill_amount) ? globalThis.Number(object.bill_amount) : 0,
67
+ customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
68
+ loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
69
+ };
70
+ },
71
+ toJSON(message) {
72
+ const obj = {};
73
+ if (message.bill_amount !== 0) {
74
+ obj.bill_amount = Math.round(message.bill_amount);
75
+ }
76
+ if (message.customerid !== 0) {
77
+ obj.customerid = Math.round(message.customerid);
78
+ }
79
+ if (message.loan_id !== 0) {
80
+ obj.loan_id = Math.round(message.loan_id);
81
+ }
82
+ return obj;
83
+ },
84
+ create(base) {
85
+ return exports.fcpPaymentRequest.fromPartial(base ?? {});
86
+ },
87
+ fromPartial(object) {
88
+ const message = createBasefcpPaymentRequest();
89
+ message.bill_amount = object.bill_amount ?? 0;
90
+ message.customerid = object.customerid ?? 0;
91
+ message.loan_id = object.loan_id ?? 0;
92
+ return message;
93
+ },
94
+ };
95
+ function createBasefcpPaymentResponse() {
96
+ return { message: "" };
97
+ }
98
+ exports.fcpPaymentResponse = {
99
+ encode(message, writer = minimal_1.default.Writer.create()) {
100
+ if (message.message !== "") {
101
+ writer.uint32(10).string(message.message);
102
+ }
103
+ return writer;
104
+ },
105
+ decode(input, length) {
106
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
107
+ let end = length === undefined ? reader.len : reader.pos + length;
108
+ const message = createBasefcpPaymentResponse();
109
+ while (reader.pos < end) {
110
+ const tag = reader.uint32();
111
+ switch (tag >>> 3) {
112
+ case 1:
113
+ if (tag !== 10) {
114
+ break;
115
+ }
116
+ message.message = reader.string();
117
+ continue;
118
+ }
119
+ if ((tag & 7) === 4 || tag === 0) {
120
+ break;
121
+ }
122
+ reader.skipType(tag & 7);
123
+ }
124
+ return message;
125
+ },
126
+ fromJSON(object) {
127
+ return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
128
+ },
129
+ toJSON(message) {
130
+ const obj = {};
131
+ if (message.message !== "") {
132
+ obj.message = message.message;
133
+ }
134
+ return obj;
135
+ },
136
+ create(base) {
137
+ return exports.fcpPaymentResponse.fromPartial(base ?? {});
138
+ },
139
+ fromPartial(object) {
140
+ const message = createBasefcpPaymentResponse();
141
+ message.message = object.message ?? "";
142
+ return message;
143
+ },
144
+ };
145
+ function isSet(value) {
146
+ return value !== null && value !== undefined;
147
+ }
@@ -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 {};