@mbanq/core-sdk-js 0.46.1 → 0.46.2

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,980 @@
1
+ import './recipient-DHUxyIxv.js';
2
+ import z from 'zod';
3
+
4
+ declare const CreateCreditProductRequestSchema: z.ZodObject<{
5
+ currencyCode: z.ZodString;
6
+ digitsAfterDecimal: z.ZodNumber;
7
+ interestCompoundingPeriodType: z.ZodNumber;
8
+ interestPostingPeriodType: z.ZodNumber;
9
+ interestCalculationType: z.ZodNumber;
10
+ interestCalculationDaysInYearType: z.ZodNumber;
11
+ accountingRule: z.ZodNumber;
12
+ isSecuredCreditProduct: z.ZodBoolean;
13
+ name: z.ZodString;
14
+ shortName: z.ZodString;
15
+ description: z.ZodString;
16
+ inMultiplesOf: z.ZodNumber;
17
+ isLinkedToFloatingInterestRates: z.ZodBoolean;
18
+ nominalAnnualInterestRate: z.ZodNumber;
19
+ nominalAnnualPenaltyInterestRate: z.ZodNumber;
20
+ gracePeriod: z.ZodNumber;
21
+ nominalCashAdvanceInterestRate: z.ZodNumber;
22
+ minimumPayCalculationRate: z.ZodNumber;
23
+ minimumPayFixedAmount: z.ZodNumber;
24
+ statementDay: z.ZodNumber;
25
+ charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
26
+ id: z.ZodNumber;
27
+ isMandatory: z.ZodBoolean;
28
+ }, "strip", z.ZodTypeAny, {
29
+ id: number;
30
+ isMandatory: boolean;
31
+ }, {
32
+ id: number;
33
+ isMandatory: boolean;
34
+ }>, "many">>;
35
+ disputesInSuspenseAccountId: z.ZodOptional<z.ZodNumber>;
36
+ graceForArrearsAging: z.ZodOptional<z.ZodNumber>;
37
+ fundSourceAccountId: z.ZodOptional<z.ZodNumber>;
38
+ receivableInterestAccountId: z.ZodOptional<z.ZodNumber>;
39
+ receivablePenaltyAccountId: z.ZodOptional<z.ZodNumber>;
40
+ transfersInSuspenseAccountId: z.ZodOptional<z.ZodNumber>;
41
+ creditPortfolioAccountId: z.ZodOptional<z.ZodNumber>;
42
+ receivableFeeAccountId: z.ZodOptional<z.ZodNumber>;
43
+ interestOnIncomeAccountId: z.ZodOptional<z.ZodNumber>;
44
+ incomeFromPenaltyAccountId: z.ZodOptional<z.ZodNumber>;
45
+ incomeFromFeeAccountId: z.ZodOptional<z.ZodNumber>;
46
+ incomeFromRecoveryAccountId: z.ZodOptional<z.ZodNumber>;
47
+ writeOffAccountId: z.ZodOptional<z.ZodNumber>;
48
+ overpaymentLiabilityAccountId: z.ZodOptional<z.ZodNumber>;
49
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodString>;
50
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
51
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
52
+ locale: z.ZodOptional<z.ZodString>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ name: string;
55
+ inMultiplesOf: number;
56
+ isLinkedToFloatingInterestRates: boolean;
57
+ nominalAnnualInterestRate: number;
58
+ interestCompoundingPeriodType: number;
59
+ interestPostingPeriodType: number;
60
+ interestCalculationType: number;
61
+ interestCalculationDaysInYearType: number;
62
+ description: string;
63
+ currencyCode: string;
64
+ shortName: string;
65
+ digitsAfterDecimal: number;
66
+ accountingRule: number;
67
+ nominalCashAdvanceInterestRate: number;
68
+ nominalAnnualPenaltyInterestRate: number;
69
+ isSecuredCreditProduct: boolean;
70
+ gracePeriod: number;
71
+ minimumPayCalculationRate: number;
72
+ minimumPayFixedAmount: number;
73
+ statementDay: number;
74
+ locale?: string | undefined;
75
+ charges?: {
76
+ id: number;
77
+ isMandatory: boolean;
78
+ }[] | undefined;
79
+ paymentChannelToFundSourceMappings?: string | undefined;
80
+ feeToIncomeAccountMappings?: string | undefined;
81
+ disputesInSuspenseAccountId?: number | undefined;
82
+ graceForArrearsAging?: number | undefined;
83
+ fundSourceAccountId?: number | undefined;
84
+ receivableInterestAccountId?: number | undefined;
85
+ receivablePenaltyAccountId?: number | undefined;
86
+ transfersInSuspenseAccountId?: number | undefined;
87
+ creditPortfolioAccountId?: number | undefined;
88
+ receivableFeeAccountId?: number | undefined;
89
+ interestOnIncomeAccountId?: number | undefined;
90
+ incomeFromPenaltyAccountId?: number | undefined;
91
+ incomeFromFeeAccountId?: number | undefined;
92
+ incomeFromRecoveryAccountId?: number | undefined;
93
+ writeOffAccountId?: number | undefined;
94
+ overpaymentLiabilityAccountId?: number | undefined;
95
+ penaltyToIncomeAccountMappings?: string | undefined;
96
+ }, {
97
+ name: string;
98
+ inMultiplesOf: number;
99
+ isLinkedToFloatingInterestRates: boolean;
100
+ nominalAnnualInterestRate: number;
101
+ interestCompoundingPeriodType: number;
102
+ interestPostingPeriodType: number;
103
+ interestCalculationType: number;
104
+ interestCalculationDaysInYearType: number;
105
+ description: string;
106
+ currencyCode: string;
107
+ shortName: string;
108
+ digitsAfterDecimal: number;
109
+ accountingRule: number;
110
+ nominalCashAdvanceInterestRate: number;
111
+ nominalAnnualPenaltyInterestRate: number;
112
+ isSecuredCreditProduct: boolean;
113
+ gracePeriod: number;
114
+ minimumPayCalculationRate: number;
115
+ minimumPayFixedAmount: number;
116
+ statementDay: number;
117
+ locale?: string | undefined;
118
+ charges?: {
119
+ id: number;
120
+ isMandatory: boolean;
121
+ }[] | undefined;
122
+ paymentChannelToFundSourceMappings?: string | undefined;
123
+ feeToIncomeAccountMappings?: string | undefined;
124
+ disputesInSuspenseAccountId?: number | undefined;
125
+ graceForArrearsAging?: number | undefined;
126
+ fundSourceAccountId?: number | undefined;
127
+ receivableInterestAccountId?: number | undefined;
128
+ receivablePenaltyAccountId?: number | undefined;
129
+ transfersInSuspenseAccountId?: number | undefined;
130
+ creditPortfolioAccountId?: number | undefined;
131
+ receivableFeeAccountId?: number | undefined;
132
+ interestOnIncomeAccountId?: number | undefined;
133
+ incomeFromPenaltyAccountId?: number | undefined;
134
+ incomeFromFeeAccountId?: number | undefined;
135
+ incomeFromRecoveryAccountId?: number | undefined;
136
+ writeOffAccountId?: number | undefined;
137
+ overpaymentLiabilityAccountId?: number | undefined;
138
+ penaltyToIncomeAccountMappings?: string | undefined;
139
+ }>;
140
+ type CreateCreditProductRequest = z.infer<typeof CreateCreditProductRequestSchema>;
141
+ declare const CreateCreditProductResponseSchema: z.ZodObject<{
142
+ resourceId: z.ZodNumber;
143
+ }, "strip", z.ZodTypeAny, {
144
+ resourceId: number;
145
+ }, {
146
+ resourceId: number;
147
+ }>;
148
+ declare const UpdateCreditProductResponseSchema: z.ZodObject<{
149
+ id: z.ZodString;
150
+ resourceId: z.ZodNumber;
151
+ changes: z.ZodOptional<z.ZodObject<{
152
+ name: z.ZodOptional<z.ZodString>;
153
+ shortName: z.ZodOptional<z.ZodString>;
154
+ inMultiplesOf: z.ZodOptional<z.ZodNumber>;
155
+ locale: z.ZodOptional<z.ZodString>;
156
+ nominalAnnualInterestRate: z.ZodOptional<z.ZodNumber>;
157
+ statementDay: z.ZodOptional<z.ZodNumber>;
158
+ minimumPayCalculationRate: z.ZodOptional<z.ZodNumber>;
159
+ minimumPayFixedAmount: z.ZodOptional<z.ZodNumber>;
160
+ charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
161
+ id: z.ZodNumber;
162
+ isMandatory: z.ZodBoolean;
163
+ }, "strip", z.ZodTypeAny, {
164
+ id: number;
165
+ isMandatory: boolean;
166
+ }, {
167
+ id: number;
168
+ isMandatory: boolean;
169
+ }>, "many">>;
170
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
171
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
172
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
173
+ }, "strip", z.ZodAny, z.objectOutputType<{
174
+ name: z.ZodOptional<z.ZodString>;
175
+ shortName: z.ZodOptional<z.ZodString>;
176
+ inMultiplesOf: z.ZodOptional<z.ZodNumber>;
177
+ locale: z.ZodOptional<z.ZodString>;
178
+ nominalAnnualInterestRate: z.ZodOptional<z.ZodNumber>;
179
+ statementDay: z.ZodOptional<z.ZodNumber>;
180
+ minimumPayCalculationRate: z.ZodOptional<z.ZodNumber>;
181
+ minimumPayFixedAmount: z.ZodOptional<z.ZodNumber>;
182
+ charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
183
+ id: z.ZodNumber;
184
+ isMandatory: z.ZodBoolean;
185
+ }, "strip", z.ZodTypeAny, {
186
+ id: number;
187
+ isMandatory: boolean;
188
+ }, {
189
+ id: number;
190
+ isMandatory: boolean;
191
+ }>, "many">>;
192
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
193
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
194
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
195
+ }, z.ZodAny, "strip">, z.objectInputType<{
196
+ name: z.ZodOptional<z.ZodString>;
197
+ shortName: z.ZodOptional<z.ZodString>;
198
+ inMultiplesOf: z.ZodOptional<z.ZodNumber>;
199
+ locale: z.ZodOptional<z.ZodString>;
200
+ nominalAnnualInterestRate: z.ZodOptional<z.ZodNumber>;
201
+ statementDay: z.ZodOptional<z.ZodNumber>;
202
+ minimumPayCalculationRate: z.ZodOptional<z.ZodNumber>;
203
+ minimumPayFixedAmount: z.ZodOptional<z.ZodNumber>;
204
+ charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ id: z.ZodNumber;
206
+ isMandatory: z.ZodBoolean;
207
+ }, "strip", z.ZodTypeAny, {
208
+ id: number;
209
+ isMandatory: boolean;
210
+ }, {
211
+ id: number;
212
+ isMandatory: boolean;
213
+ }>, "many">>;
214
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
215
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
216
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
217
+ }, z.ZodAny, "strip">>>;
218
+ }, "strip", z.ZodTypeAny, {
219
+ id: string;
220
+ resourceId: number;
221
+ changes?: z.objectOutputType<{
222
+ name: z.ZodOptional<z.ZodString>;
223
+ shortName: z.ZodOptional<z.ZodString>;
224
+ inMultiplesOf: z.ZodOptional<z.ZodNumber>;
225
+ locale: z.ZodOptional<z.ZodString>;
226
+ nominalAnnualInterestRate: z.ZodOptional<z.ZodNumber>;
227
+ statementDay: z.ZodOptional<z.ZodNumber>;
228
+ minimumPayCalculationRate: z.ZodOptional<z.ZodNumber>;
229
+ minimumPayFixedAmount: z.ZodOptional<z.ZodNumber>;
230
+ charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
231
+ id: z.ZodNumber;
232
+ isMandatory: z.ZodBoolean;
233
+ }, "strip", z.ZodTypeAny, {
234
+ id: number;
235
+ isMandatory: boolean;
236
+ }, {
237
+ id: number;
238
+ isMandatory: boolean;
239
+ }>, "many">>;
240
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
241
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
242
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
243
+ }, z.ZodAny, "strip"> | undefined;
244
+ }, {
245
+ id: string;
246
+ resourceId: number;
247
+ changes?: z.objectInputType<{
248
+ name: z.ZodOptional<z.ZodString>;
249
+ shortName: z.ZodOptional<z.ZodString>;
250
+ inMultiplesOf: z.ZodOptional<z.ZodNumber>;
251
+ locale: z.ZodOptional<z.ZodString>;
252
+ nominalAnnualInterestRate: z.ZodOptional<z.ZodNumber>;
253
+ statementDay: z.ZodOptional<z.ZodNumber>;
254
+ minimumPayCalculationRate: z.ZodOptional<z.ZodNumber>;
255
+ minimumPayFixedAmount: z.ZodOptional<z.ZodNumber>;
256
+ charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
257
+ id: z.ZodNumber;
258
+ isMandatory: z.ZodBoolean;
259
+ }, "strip", z.ZodTypeAny, {
260
+ id: number;
261
+ isMandatory: boolean;
262
+ }, {
263
+ id: number;
264
+ isMandatory: boolean;
265
+ }>, "many">>;
266
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
267
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
268
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
269
+ }, z.ZodAny, "strip"> | undefined;
270
+ }>;
271
+ declare const GetCreditProductResponseSchema: z.ZodObject<{
272
+ id: z.ZodNumber;
273
+ name: z.ZodString;
274
+ shortName: z.ZodString;
275
+ description: z.ZodString;
276
+ currency: z.ZodObject<{
277
+ code: z.ZodString;
278
+ name: z.ZodString;
279
+ decimalPlaces: z.ZodNumber;
280
+ inMultiplesOf: z.ZodNumber;
281
+ displaySymbol: z.ZodString;
282
+ nameCode: z.ZodString;
283
+ displayLabel: z.ZodString;
284
+ }, "strip", z.ZodTypeAny, {
285
+ code: string;
286
+ name: string;
287
+ decimalPlaces: number;
288
+ displaySymbol: string;
289
+ nameCode: string;
290
+ inMultiplesOf: number;
291
+ displayLabel: string;
292
+ }, {
293
+ code: string;
294
+ name: string;
295
+ decimalPlaces: number;
296
+ displaySymbol: string;
297
+ nameCode: string;
298
+ inMultiplesOf: number;
299
+ displayLabel: string;
300
+ }>;
301
+ nominalAnnualInterestRate: z.ZodNumber;
302
+ interestCompoundingPeriodType: z.ZodObject<{
303
+ id: z.ZodNumber;
304
+ code: z.ZodString;
305
+ value: z.ZodString;
306
+ }, "strip", z.ZodTypeAny, {
307
+ value: string;
308
+ code: string;
309
+ id: number;
310
+ }, {
311
+ value: string;
312
+ code: string;
313
+ id: number;
314
+ }>;
315
+ interestPostingPeriodType: z.ZodObject<{
316
+ id: z.ZodNumber;
317
+ code: z.ZodString;
318
+ value: z.ZodString;
319
+ }, "strip", z.ZodTypeAny, {
320
+ value: string;
321
+ code: string;
322
+ id: number;
323
+ }, {
324
+ value: string;
325
+ code: string;
326
+ id: number;
327
+ }>;
328
+ interestCalculationType: z.ZodObject<{
329
+ id: z.ZodNumber;
330
+ code: z.ZodString;
331
+ value: z.ZodString;
332
+ }, "strip", z.ZodTypeAny, {
333
+ value: string;
334
+ code: string;
335
+ id: number;
336
+ }, {
337
+ value: string;
338
+ code: string;
339
+ id: number;
340
+ }>;
341
+ interestCalculationDaysInYearType: z.ZodObject<{
342
+ id: z.ZodNumber;
343
+ code: z.ZodString;
344
+ value: z.ZodString;
345
+ }, "strip", z.ZodTypeAny, {
346
+ value: string;
347
+ code: string;
348
+ id: number;
349
+ }, {
350
+ value: string;
351
+ code: string;
352
+ id: number;
353
+ }>;
354
+ nominalCashAdvanceInterestRate: z.ZodNumber;
355
+ nominalAnnualPenaltyInterestRate: z.ZodNumber;
356
+ accountingRule: z.ZodObject<{
357
+ id: z.ZodNumber;
358
+ code: z.ZodString;
359
+ value: z.ZodString;
360
+ }, "strip", z.ZodTypeAny, {
361
+ value: string;
362
+ code: string;
363
+ id: number;
364
+ }, {
365
+ value: string;
366
+ code: string;
367
+ id: number;
368
+ }>;
369
+ charges: z.ZodArray<z.ZodObject<{
370
+ id: z.ZodNumber;
371
+ isMandatory: z.ZodBoolean;
372
+ }, "strip", z.ZodTypeAny, {
373
+ id: number;
374
+ isMandatory: boolean;
375
+ }, {
376
+ id: number;
377
+ isMandatory: boolean;
378
+ }>, "many">;
379
+ isLinkedToFloatingInterestRates: z.ZodBoolean;
380
+ isFloatingInterestRateCalculationAllowed: z.ZodBoolean;
381
+ isUsedForSuspenseAccounting: z.ZodBoolean;
382
+ isLinkedWithFundSourceAccount: z.ZodBoolean;
383
+ isSecuredCreditProduct: z.ZodBoolean;
384
+ reserveProduct: z.ZodOptional<z.ZodObject<{
385
+ id: z.ZodNumber;
386
+ withdrawalFeeForTransfers: z.ZodBoolean;
387
+ allowOverdraft: z.ZodBoolean;
388
+ enforceMinRequiredBalance: z.ZodBoolean;
389
+ withHoldTax: z.ZodBoolean;
390
+ isLinkedToFloatingInterestRates: z.ZodBoolean;
391
+ isFloatingInterestRateCalculationAllowed: z.ZodBoolean;
392
+ isUsedForSuspenseAccounting: z.ZodBoolean;
393
+ isLinkedWithFundSourceAccount: z.ZodBoolean;
394
+ isSkipCollectTransferCharge: z.ZodBoolean;
395
+ isReservedProduct: z.ZodBoolean;
396
+ }, "strip", z.ZodTypeAny, {
397
+ id: number;
398
+ withdrawalFeeForTransfers: boolean;
399
+ allowOverdraft: boolean;
400
+ enforceMinRequiredBalance: boolean;
401
+ withHoldTax: boolean;
402
+ isLinkedToFloatingInterestRates: boolean;
403
+ isFloatingInterestRateCalculationAllowed: boolean;
404
+ isLinkedWithFundSourceAccount: boolean;
405
+ isUsedForSuspenseAccounting: boolean;
406
+ isSkipCollectTransferCharge: boolean;
407
+ isReservedProduct: boolean;
408
+ }, {
409
+ id: number;
410
+ withdrawalFeeForTransfers: boolean;
411
+ allowOverdraft: boolean;
412
+ enforceMinRequiredBalance: boolean;
413
+ withHoldTax: boolean;
414
+ isLinkedToFloatingInterestRates: boolean;
415
+ isFloatingInterestRateCalculationAllowed: boolean;
416
+ isLinkedWithFundSourceAccount: boolean;
417
+ isUsedForSuspenseAccounting: boolean;
418
+ isSkipCollectTransferCharge: boolean;
419
+ isReservedProduct: boolean;
420
+ }>>;
421
+ gracePeriod: z.ZodNumber;
422
+ minimumPayCalculationRate: z.ZodNumber;
423
+ }, "strip", z.ZodTypeAny, {
424
+ name: string;
425
+ id: number;
426
+ currency: {
427
+ code: string;
428
+ name: string;
429
+ decimalPlaces: number;
430
+ displaySymbol: string;
431
+ nameCode: string;
432
+ inMultiplesOf: number;
433
+ displayLabel: string;
434
+ };
435
+ isLinkedToFloatingInterestRates: boolean;
436
+ nominalAnnualInterestRate: number;
437
+ interestCompoundingPeriodType: {
438
+ value: string;
439
+ code: string;
440
+ id: number;
441
+ };
442
+ interestPostingPeriodType: {
443
+ value: string;
444
+ code: string;
445
+ id: number;
446
+ };
447
+ interestCalculationType: {
448
+ value: string;
449
+ code: string;
450
+ id: number;
451
+ };
452
+ interestCalculationDaysInYearType: {
453
+ value: string;
454
+ code: string;
455
+ id: number;
456
+ };
457
+ isFloatingInterestRateCalculationAllowed: boolean;
458
+ charges: {
459
+ id: number;
460
+ isMandatory: boolean;
461
+ }[];
462
+ description: string;
463
+ isLinkedWithFundSourceAccount: boolean;
464
+ shortName: string;
465
+ accountingRule: {
466
+ value: string;
467
+ code: string;
468
+ id: number;
469
+ };
470
+ nominalCashAdvanceInterestRate: number;
471
+ nominalAnnualPenaltyInterestRate: number;
472
+ isSecuredCreditProduct: boolean;
473
+ gracePeriod: number;
474
+ minimumPayCalculationRate: number;
475
+ isUsedForSuspenseAccounting: boolean;
476
+ reserveProduct?: {
477
+ id: number;
478
+ withdrawalFeeForTransfers: boolean;
479
+ allowOverdraft: boolean;
480
+ enforceMinRequiredBalance: boolean;
481
+ withHoldTax: boolean;
482
+ isLinkedToFloatingInterestRates: boolean;
483
+ isFloatingInterestRateCalculationAllowed: boolean;
484
+ isLinkedWithFundSourceAccount: boolean;
485
+ isUsedForSuspenseAccounting: boolean;
486
+ isSkipCollectTransferCharge: boolean;
487
+ isReservedProduct: boolean;
488
+ } | undefined;
489
+ }, {
490
+ name: string;
491
+ id: number;
492
+ currency: {
493
+ code: string;
494
+ name: string;
495
+ decimalPlaces: number;
496
+ displaySymbol: string;
497
+ nameCode: string;
498
+ inMultiplesOf: number;
499
+ displayLabel: string;
500
+ };
501
+ isLinkedToFloatingInterestRates: boolean;
502
+ nominalAnnualInterestRate: number;
503
+ interestCompoundingPeriodType: {
504
+ value: string;
505
+ code: string;
506
+ id: number;
507
+ };
508
+ interestPostingPeriodType: {
509
+ value: string;
510
+ code: string;
511
+ id: number;
512
+ };
513
+ interestCalculationType: {
514
+ value: string;
515
+ code: string;
516
+ id: number;
517
+ };
518
+ interestCalculationDaysInYearType: {
519
+ value: string;
520
+ code: string;
521
+ id: number;
522
+ };
523
+ isFloatingInterestRateCalculationAllowed: boolean;
524
+ charges: {
525
+ id: number;
526
+ isMandatory: boolean;
527
+ }[];
528
+ description: string;
529
+ isLinkedWithFundSourceAccount: boolean;
530
+ shortName: string;
531
+ accountingRule: {
532
+ value: string;
533
+ code: string;
534
+ id: number;
535
+ };
536
+ nominalCashAdvanceInterestRate: number;
537
+ nominalAnnualPenaltyInterestRate: number;
538
+ isSecuredCreditProduct: boolean;
539
+ gracePeriod: number;
540
+ minimumPayCalculationRate: number;
541
+ isUsedForSuspenseAccounting: boolean;
542
+ reserveProduct?: {
543
+ id: number;
544
+ withdrawalFeeForTransfers: boolean;
545
+ allowOverdraft: boolean;
546
+ enforceMinRequiredBalance: boolean;
547
+ withHoldTax: boolean;
548
+ isLinkedToFloatingInterestRates: boolean;
549
+ isFloatingInterestRateCalculationAllowed: boolean;
550
+ isLinkedWithFundSourceAccount: boolean;
551
+ isUsedForSuspenseAccounting: boolean;
552
+ isSkipCollectTransferCharge: boolean;
553
+ isReservedProduct: boolean;
554
+ } | undefined;
555
+ }>;
556
+ declare const GetCreditProductsResponseSchema: z.ZodArray<z.ZodObject<{
557
+ id: z.ZodNumber;
558
+ name: z.ZodString;
559
+ shortName: z.ZodString;
560
+ description: z.ZodString;
561
+ currency: z.ZodObject<{
562
+ code: z.ZodString;
563
+ name: z.ZodString;
564
+ decimalPlaces: z.ZodNumber;
565
+ inMultiplesOf: z.ZodNumber;
566
+ displaySymbol: z.ZodString;
567
+ nameCode: z.ZodString;
568
+ displayLabel: z.ZodString;
569
+ }, "strip", z.ZodTypeAny, {
570
+ code: string;
571
+ name: string;
572
+ decimalPlaces: number;
573
+ displaySymbol: string;
574
+ nameCode: string;
575
+ inMultiplesOf: number;
576
+ displayLabel: string;
577
+ }, {
578
+ code: string;
579
+ name: string;
580
+ decimalPlaces: number;
581
+ displaySymbol: string;
582
+ nameCode: string;
583
+ inMultiplesOf: number;
584
+ displayLabel: string;
585
+ }>;
586
+ nominalAnnualInterestRate: z.ZodNumber;
587
+ interestCompoundingPeriodType: z.ZodObject<{
588
+ id: z.ZodNumber;
589
+ code: z.ZodString;
590
+ value: z.ZodString;
591
+ }, "strip", z.ZodTypeAny, {
592
+ value: string;
593
+ code: string;
594
+ id: number;
595
+ }, {
596
+ value: string;
597
+ code: string;
598
+ id: number;
599
+ }>;
600
+ interestPostingPeriodType: z.ZodObject<{
601
+ id: z.ZodNumber;
602
+ code: z.ZodString;
603
+ value: z.ZodString;
604
+ }, "strip", z.ZodTypeAny, {
605
+ value: string;
606
+ code: string;
607
+ id: number;
608
+ }, {
609
+ value: string;
610
+ code: string;
611
+ id: number;
612
+ }>;
613
+ interestCalculationType: z.ZodObject<{
614
+ id: z.ZodNumber;
615
+ code: z.ZodString;
616
+ value: z.ZodString;
617
+ }, "strip", z.ZodTypeAny, {
618
+ value: string;
619
+ code: string;
620
+ id: number;
621
+ }, {
622
+ value: string;
623
+ code: string;
624
+ id: number;
625
+ }>;
626
+ interestCalculationDaysInYearType: z.ZodObject<{
627
+ id: z.ZodNumber;
628
+ code: z.ZodString;
629
+ value: z.ZodString;
630
+ }, "strip", z.ZodTypeAny, {
631
+ value: string;
632
+ code: string;
633
+ id: number;
634
+ }, {
635
+ value: string;
636
+ code: string;
637
+ id: number;
638
+ }>;
639
+ nominalCashAdvanceInterestRate: z.ZodNumber;
640
+ nominalAnnualPenaltyInterestRate: z.ZodNumber;
641
+ accountingRule: z.ZodObject<{
642
+ id: z.ZodNumber;
643
+ code: z.ZodString;
644
+ value: z.ZodString;
645
+ }, "strip", z.ZodTypeAny, {
646
+ value: string;
647
+ code: string;
648
+ id: number;
649
+ }, {
650
+ value: string;
651
+ code: string;
652
+ id: number;
653
+ }>;
654
+ charges: z.ZodArray<z.ZodObject<{
655
+ id: z.ZodNumber;
656
+ isMandatory: z.ZodBoolean;
657
+ }, "strip", z.ZodTypeAny, {
658
+ id: number;
659
+ isMandatory: boolean;
660
+ }, {
661
+ id: number;
662
+ isMandatory: boolean;
663
+ }>, "many">;
664
+ isLinkedToFloatingInterestRates: z.ZodBoolean;
665
+ isFloatingInterestRateCalculationAllowed: z.ZodBoolean;
666
+ isUsedForSuspenseAccounting: z.ZodBoolean;
667
+ isLinkedWithFundSourceAccount: z.ZodBoolean;
668
+ isSecuredCreditProduct: z.ZodBoolean;
669
+ reserveProduct: z.ZodOptional<z.ZodObject<{
670
+ id: z.ZodNumber;
671
+ withdrawalFeeForTransfers: z.ZodBoolean;
672
+ allowOverdraft: z.ZodBoolean;
673
+ enforceMinRequiredBalance: z.ZodBoolean;
674
+ withHoldTax: z.ZodBoolean;
675
+ isLinkedToFloatingInterestRates: z.ZodBoolean;
676
+ isFloatingInterestRateCalculationAllowed: z.ZodBoolean;
677
+ isUsedForSuspenseAccounting: z.ZodBoolean;
678
+ isLinkedWithFundSourceAccount: z.ZodBoolean;
679
+ isSkipCollectTransferCharge: z.ZodBoolean;
680
+ isReservedProduct: z.ZodBoolean;
681
+ }, "strip", z.ZodTypeAny, {
682
+ id: number;
683
+ withdrawalFeeForTransfers: boolean;
684
+ allowOverdraft: boolean;
685
+ enforceMinRequiredBalance: boolean;
686
+ withHoldTax: boolean;
687
+ isLinkedToFloatingInterestRates: boolean;
688
+ isFloatingInterestRateCalculationAllowed: boolean;
689
+ isLinkedWithFundSourceAccount: boolean;
690
+ isUsedForSuspenseAccounting: boolean;
691
+ isSkipCollectTransferCharge: boolean;
692
+ isReservedProduct: boolean;
693
+ }, {
694
+ id: number;
695
+ withdrawalFeeForTransfers: boolean;
696
+ allowOverdraft: boolean;
697
+ enforceMinRequiredBalance: boolean;
698
+ withHoldTax: boolean;
699
+ isLinkedToFloatingInterestRates: boolean;
700
+ isFloatingInterestRateCalculationAllowed: boolean;
701
+ isLinkedWithFundSourceAccount: boolean;
702
+ isUsedForSuspenseAccounting: boolean;
703
+ isSkipCollectTransferCharge: boolean;
704
+ isReservedProduct: boolean;
705
+ }>>;
706
+ gracePeriod: z.ZodNumber;
707
+ minimumPayCalculationRate: z.ZodNumber;
708
+ }, "strip", z.ZodTypeAny, {
709
+ name: string;
710
+ id: number;
711
+ currency: {
712
+ code: string;
713
+ name: string;
714
+ decimalPlaces: number;
715
+ displaySymbol: string;
716
+ nameCode: string;
717
+ inMultiplesOf: number;
718
+ displayLabel: string;
719
+ };
720
+ isLinkedToFloatingInterestRates: boolean;
721
+ nominalAnnualInterestRate: number;
722
+ interestCompoundingPeriodType: {
723
+ value: string;
724
+ code: string;
725
+ id: number;
726
+ };
727
+ interestPostingPeriodType: {
728
+ value: string;
729
+ code: string;
730
+ id: number;
731
+ };
732
+ interestCalculationType: {
733
+ value: string;
734
+ code: string;
735
+ id: number;
736
+ };
737
+ interestCalculationDaysInYearType: {
738
+ value: string;
739
+ code: string;
740
+ id: number;
741
+ };
742
+ isFloatingInterestRateCalculationAllowed: boolean;
743
+ charges: {
744
+ id: number;
745
+ isMandatory: boolean;
746
+ }[];
747
+ description: string;
748
+ isLinkedWithFundSourceAccount: boolean;
749
+ shortName: string;
750
+ accountingRule: {
751
+ value: string;
752
+ code: string;
753
+ id: number;
754
+ };
755
+ nominalCashAdvanceInterestRate: number;
756
+ nominalAnnualPenaltyInterestRate: number;
757
+ isSecuredCreditProduct: boolean;
758
+ gracePeriod: number;
759
+ minimumPayCalculationRate: number;
760
+ isUsedForSuspenseAccounting: boolean;
761
+ reserveProduct?: {
762
+ id: number;
763
+ withdrawalFeeForTransfers: boolean;
764
+ allowOverdraft: boolean;
765
+ enforceMinRequiredBalance: boolean;
766
+ withHoldTax: boolean;
767
+ isLinkedToFloatingInterestRates: boolean;
768
+ isFloatingInterestRateCalculationAllowed: boolean;
769
+ isLinkedWithFundSourceAccount: boolean;
770
+ isUsedForSuspenseAccounting: boolean;
771
+ isSkipCollectTransferCharge: boolean;
772
+ isReservedProduct: boolean;
773
+ } | undefined;
774
+ }, {
775
+ name: string;
776
+ id: number;
777
+ currency: {
778
+ code: string;
779
+ name: string;
780
+ decimalPlaces: number;
781
+ displaySymbol: string;
782
+ nameCode: string;
783
+ inMultiplesOf: number;
784
+ displayLabel: string;
785
+ };
786
+ isLinkedToFloatingInterestRates: boolean;
787
+ nominalAnnualInterestRate: number;
788
+ interestCompoundingPeriodType: {
789
+ value: string;
790
+ code: string;
791
+ id: number;
792
+ };
793
+ interestPostingPeriodType: {
794
+ value: string;
795
+ code: string;
796
+ id: number;
797
+ };
798
+ interestCalculationType: {
799
+ value: string;
800
+ code: string;
801
+ id: number;
802
+ };
803
+ interestCalculationDaysInYearType: {
804
+ value: string;
805
+ code: string;
806
+ id: number;
807
+ };
808
+ isFloatingInterestRateCalculationAllowed: boolean;
809
+ charges: {
810
+ id: number;
811
+ isMandatory: boolean;
812
+ }[];
813
+ description: string;
814
+ isLinkedWithFundSourceAccount: boolean;
815
+ shortName: string;
816
+ accountingRule: {
817
+ value: string;
818
+ code: string;
819
+ id: number;
820
+ };
821
+ nominalCashAdvanceInterestRate: number;
822
+ nominalAnnualPenaltyInterestRate: number;
823
+ isSecuredCreditProduct: boolean;
824
+ gracePeriod: number;
825
+ minimumPayCalculationRate: number;
826
+ isUsedForSuspenseAccounting: boolean;
827
+ reserveProduct?: {
828
+ id: number;
829
+ withdrawalFeeForTransfers: boolean;
830
+ allowOverdraft: boolean;
831
+ enforceMinRequiredBalance: boolean;
832
+ withHoldTax: boolean;
833
+ isLinkedToFloatingInterestRates: boolean;
834
+ isFloatingInterestRateCalculationAllowed: boolean;
835
+ isLinkedWithFundSourceAccount: boolean;
836
+ isUsedForSuspenseAccounting: boolean;
837
+ isSkipCollectTransferCharge: boolean;
838
+ isReservedProduct: boolean;
839
+ } | undefined;
840
+ }>, "many">;
841
+ declare const UpdateCreditProductRequestSchema: z.ZodObject<{
842
+ currencyCode: z.ZodOptional<z.ZodString>;
843
+ digitsAfterDecimal: z.ZodOptional<z.ZodNumber>;
844
+ interestCompoundingPeriodType: z.ZodOptional<z.ZodNumber>;
845
+ interestPostingPeriodType: z.ZodOptional<z.ZodNumber>;
846
+ interestCalculationType: z.ZodOptional<z.ZodNumber>;
847
+ interestCalculationDaysInYearType: z.ZodOptional<z.ZodNumber>;
848
+ accountingRule: z.ZodOptional<z.ZodNumber>;
849
+ isSecuredCreditProduct: z.ZodOptional<z.ZodBoolean>;
850
+ name: z.ZodOptional<z.ZodString>;
851
+ shortName: z.ZodOptional<z.ZodString>;
852
+ description: z.ZodOptional<z.ZodString>;
853
+ inMultiplesOf: z.ZodOptional<z.ZodNumber>;
854
+ isLinkedToFloatingInterestRates: z.ZodOptional<z.ZodBoolean>;
855
+ nominalAnnualInterestRate: z.ZodOptional<z.ZodNumber>;
856
+ nominalAnnualPenaltyInterestRate: z.ZodOptional<z.ZodNumber>;
857
+ gracePeriod: z.ZodOptional<z.ZodNumber>;
858
+ nominalCashAdvanceInterestRate: z.ZodOptional<z.ZodNumber>;
859
+ minimumPayCalculationRate: z.ZodOptional<z.ZodNumber>;
860
+ minimumPayFixedAmount: z.ZodOptional<z.ZodNumber>;
861
+ statementDay: z.ZodOptional<z.ZodNumber>;
862
+ charges: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
863
+ id: z.ZodNumber;
864
+ isMandatory: z.ZodBoolean;
865
+ }, "strip", z.ZodTypeAny, {
866
+ id: number;
867
+ isMandatory: boolean;
868
+ }, {
869
+ id: number;
870
+ isMandatory: boolean;
871
+ }>, "many">>>;
872
+ disputesInSuspenseAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
873
+ graceForArrearsAging: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
874
+ fundSourceAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
875
+ receivableInterestAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
876
+ receivablePenaltyAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
877
+ transfersInSuspenseAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
878
+ creditPortfolioAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
879
+ receivableFeeAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
880
+ interestOnIncomeAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
881
+ incomeFromPenaltyAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
882
+ incomeFromFeeAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
883
+ incomeFromRecoveryAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
884
+ writeOffAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
885
+ overpaymentLiabilityAccountId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
886
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodOptional<z.ZodString>>;
887
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodOptional<z.ZodString>>;
888
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodOptional<z.ZodString>>;
889
+ locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
890
+ }, "strip", z.ZodTypeAny, {
891
+ name?: string | undefined;
892
+ locale?: string | undefined;
893
+ inMultiplesOf?: number | undefined;
894
+ isLinkedToFloatingInterestRates?: boolean | undefined;
895
+ nominalAnnualInterestRate?: number | undefined;
896
+ interestCompoundingPeriodType?: number | undefined;
897
+ interestPostingPeriodType?: number | undefined;
898
+ interestCalculationType?: number | undefined;
899
+ interestCalculationDaysInYearType?: number | undefined;
900
+ charges?: {
901
+ id: number;
902
+ isMandatory: boolean;
903
+ }[] | undefined;
904
+ description?: string | undefined;
905
+ currencyCode?: string | undefined;
906
+ shortName?: string | undefined;
907
+ digitsAfterDecimal?: number | undefined;
908
+ accountingRule?: number | undefined;
909
+ paymentChannelToFundSourceMappings?: string | undefined;
910
+ feeToIncomeAccountMappings?: string | undefined;
911
+ nominalCashAdvanceInterestRate?: number | undefined;
912
+ nominalAnnualPenaltyInterestRate?: number | undefined;
913
+ isSecuredCreditProduct?: boolean | undefined;
914
+ gracePeriod?: number | undefined;
915
+ minimumPayCalculationRate?: number | undefined;
916
+ minimumPayFixedAmount?: number | undefined;
917
+ statementDay?: number | undefined;
918
+ disputesInSuspenseAccountId?: number | undefined;
919
+ graceForArrearsAging?: number | undefined;
920
+ fundSourceAccountId?: number | undefined;
921
+ receivableInterestAccountId?: number | undefined;
922
+ receivablePenaltyAccountId?: number | undefined;
923
+ transfersInSuspenseAccountId?: number | undefined;
924
+ creditPortfolioAccountId?: number | undefined;
925
+ receivableFeeAccountId?: number | undefined;
926
+ interestOnIncomeAccountId?: number | undefined;
927
+ incomeFromPenaltyAccountId?: number | undefined;
928
+ incomeFromFeeAccountId?: number | undefined;
929
+ incomeFromRecoveryAccountId?: number | undefined;
930
+ writeOffAccountId?: number | undefined;
931
+ overpaymentLiabilityAccountId?: number | undefined;
932
+ penaltyToIncomeAccountMappings?: string | undefined;
933
+ }, {
934
+ name?: string | undefined;
935
+ locale?: string | undefined;
936
+ inMultiplesOf?: number | undefined;
937
+ isLinkedToFloatingInterestRates?: boolean | undefined;
938
+ nominalAnnualInterestRate?: number | undefined;
939
+ interestCompoundingPeriodType?: number | undefined;
940
+ interestPostingPeriodType?: number | undefined;
941
+ interestCalculationType?: number | undefined;
942
+ interestCalculationDaysInYearType?: number | undefined;
943
+ charges?: {
944
+ id: number;
945
+ isMandatory: boolean;
946
+ }[] | undefined;
947
+ description?: string | undefined;
948
+ currencyCode?: string | undefined;
949
+ shortName?: string | undefined;
950
+ digitsAfterDecimal?: number | undefined;
951
+ accountingRule?: number | undefined;
952
+ paymentChannelToFundSourceMappings?: string | undefined;
953
+ feeToIncomeAccountMappings?: string | undefined;
954
+ nominalCashAdvanceInterestRate?: number | undefined;
955
+ nominalAnnualPenaltyInterestRate?: number | undefined;
956
+ isSecuredCreditProduct?: boolean | undefined;
957
+ gracePeriod?: number | undefined;
958
+ minimumPayCalculationRate?: number | undefined;
959
+ minimumPayFixedAmount?: number | undefined;
960
+ statementDay?: number | undefined;
961
+ disputesInSuspenseAccountId?: number | undefined;
962
+ graceForArrearsAging?: number | undefined;
963
+ fundSourceAccountId?: number | undefined;
964
+ receivableInterestAccountId?: number | undefined;
965
+ receivablePenaltyAccountId?: number | undefined;
966
+ transfersInSuspenseAccountId?: number | undefined;
967
+ creditPortfolioAccountId?: number | undefined;
968
+ receivableFeeAccountId?: number | undefined;
969
+ interestOnIncomeAccountId?: number | undefined;
970
+ incomeFromPenaltyAccountId?: number | undefined;
971
+ incomeFromFeeAccountId?: number | undefined;
972
+ incomeFromRecoveryAccountId?: number | undefined;
973
+ writeOffAccountId?: number | undefined;
974
+ overpaymentLiabilityAccountId?: number | undefined;
975
+ penaltyToIncomeAccountMappings?: string | undefined;
976
+ }>;
977
+ type GetCreditProductsResponse = z.infer<typeof GetCreditProductsResponseSchema>;
978
+ type UpdateCreditProductRequest = z.infer<typeof UpdateCreditProductRequestSchema>;
979
+
980
+ export { type CreateCreditProductRequest as C, type GetCreditProductsResponse as G, type UpdateCreditProductRequest as U, CreateCreditProductRequestSchema as a, CreateCreditProductResponseSchema as b, GetCreditProductResponseSchema as c, GetCreditProductsResponseSchema as d, UpdateCreditProductRequestSchema as e, UpdateCreditProductResponseSchema as f };