@mbanq/core-sdk-js 0.46.2 → 0.46.3
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/dist/commands/index.d.mts +4 -4
- package/dist/commands/index.d.ts +4 -4
- package/dist/{recipient-DHUxyIxv.d.mts → recipient-CpahZQEL.d.mts} +74 -74
- package/dist/{recipient-DHUxyIxv.d.ts → recipient-CpahZQEL.d.ts} +74 -74
- package/dist/types/types.d.mts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/zod/index.d.mts +2 -2
- package/dist/zod/index.d.ts +2 -2
- package/dist/zod/index.js +1 -1
- package/dist/zod/index.mjs +1 -1
- package/dist/{zod-5M92DxO5.d.mts → zod-BvxEP-9H.d.mts} +1 -1
- package/dist/{zod-HGeJs8pw.d.ts → zod-C4RaBdQx.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import z$1, { z } from 'zod';
|
|
2
2
|
import { a as Command, G as GraphQLRequest } from '../config.d-BvqzFkbH.mjs';
|
|
3
3
|
import * as buffer from 'buffer';
|
|
4
|
-
import { e as ProcessOutput, G as GetTransferInput, T as Transfer, b as CreateTransferInput,
|
|
5
|
-
import { C as CreateCreditProductRequest, G as GetCreditProductsResponse, U as UpdateCreditProductRequest } from '../zod-
|
|
4
|
+
import { e as ProcessOutput, G as GetTransferInput, T as Transfer, b as CreateTransferInput, J as CreateTransferOutput, P as Payment, K as PaymentFilters, a as PaymentResponse, C as CreatePaymentInput, L as ProcessOutput$1, U as UpdatePaymentInput, j as GetAccountResponse, l as GetAccountsOfClientRequest, k as GetAccountsOfClientResponse, m as UpdateAccountRequest, n as CreateAndActivateAccountRequest, o as CreateAndActivateAccountResponse, p as CloseAccountRequest, q as CloseAccountResponse, B as BlockAccountRequest, r as BlockAccountResponse, H as HoldAmountRequest, s as HoldAmountResponse, N as UpdateRecipientRequest, R as Recipient, O as GetRecipientParams, g as CreateRecipientRequest, Q as DeleteRecipientRequest, h as RecipientRequest, S as Recipients, t as UserDetail, V as EnableSelfServiceAccessRequest, W as EnableSelfServiceAccessResponse, X as UpdateSelfServiceUserRequest, Y as UpdateSelfServiceUserResponse, Z as DeleteSelfServiceUserResponse, u as CreateChargeRequest, v as CreateChargeResponse, w as GetChargeResponse, x as GetChargesRequest, y as UpdateChargeRequest, z as UpdateChargeResponse, A as CreateLoanProductRequest, D as CreateLoanProductResponse, E as GetLoanProductResponse, F as GetLoanProductsResponse, I as UpdateLoanProductRequest, _ as UpdateLoanProductResponse } from '../recipient-CpahZQEL.mjs';
|
|
5
|
+
import { C as CreateCreditProductRequest, G as GetCreditProductsResponse, U as UpdateCreditProductRequest } from '../zod-BvxEP-9H.mjs';
|
|
6
6
|
import 'graphql';
|
|
7
7
|
import 'axios';
|
|
8
8
|
|
|
@@ -24647,7 +24647,7 @@ declare const DeletePayment: (id: number) => Command<{
|
|
|
24647
24647
|
* Retrieves detailed information about a specific savings account.
|
|
24648
24648
|
*
|
|
24649
24649
|
* @param accountId - The ID of the savings account to retrieve
|
|
24650
|
-
* @returns A Command that when executed returns the full
|
|
24650
|
+
* @returns A Command that when executed returns the full GetAccountResponse details
|
|
24651
24651
|
*
|
|
24652
24652
|
* @example
|
|
24653
24653
|
* ```typescript
|
|
@@ -24658,7 +24658,7 @@ declare const DeletePayment: (id: number) => Command<{
|
|
|
24658
24658
|
*/
|
|
24659
24659
|
declare const GetAccount: (accountId: number) => Command<{
|
|
24660
24660
|
accountId: number;
|
|
24661
|
-
},
|
|
24661
|
+
}, GetAccountResponse>;
|
|
24662
24662
|
/**
|
|
24663
24663
|
* Updates an existing savings account with new details.
|
|
24664
24664
|
*
|
package/dist/commands/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import z$1, { z } from 'zod';
|
|
2
2
|
import { a as Command, G as GraphQLRequest } from '../config.d-BvqzFkbH.js';
|
|
3
3
|
import * as buffer from 'buffer';
|
|
4
|
-
import { e as ProcessOutput, G as GetTransferInput, T as Transfer, b as CreateTransferInput,
|
|
5
|
-
import { C as CreateCreditProductRequest, G as GetCreditProductsResponse, U as UpdateCreditProductRequest } from '../zod-
|
|
4
|
+
import { e as ProcessOutput, G as GetTransferInput, T as Transfer, b as CreateTransferInput, J as CreateTransferOutput, P as Payment, K as PaymentFilters, a as PaymentResponse, C as CreatePaymentInput, L as ProcessOutput$1, U as UpdatePaymentInput, j as GetAccountResponse, l as GetAccountsOfClientRequest, k as GetAccountsOfClientResponse, m as UpdateAccountRequest, n as CreateAndActivateAccountRequest, o as CreateAndActivateAccountResponse, p as CloseAccountRequest, q as CloseAccountResponse, B as BlockAccountRequest, r as BlockAccountResponse, H as HoldAmountRequest, s as HoldAmountResponse, N as UpdateRecipientRequest, R as Recipient, O as GetRecipientParams, g as CreateRecipientRequest, Q as DeleteRecipientRequest, h as RecipientRequest, S as Recipients, t as UserDetail, V as EnableSelfServiceAccessRequest, W as EnableSelfServiceAccessResponse, X as UpdateSelfServiceUserRequest, Y as UpdateSelfServiceUserResponse, Z as DeleteSelfServiceUserResponse, u as CreateChargeRequest, v as CreateChargeResponse, w as GetChargeResponse, x as GetChargesRequest, y as UpdateChargeRequest, z as UpdateChargeResponse, A as CreateLoanProductRequest, D as CreateLoanProductResponse, E as GetLoanProductResponse, F as GetLoanProductsResponse, I as UpdateLoanProductRequest, _ as UpdateLoanProductResponse } from '../recipient-CpahZQEL.js';
|
|
5
|
+
import { C as CreateCreditProductRequest, G as GetCreditProductsResponse, U as UpdateCreditProductRequest } from '../zod-C4RaBdQx.js';
|
|
6
6
|
import 'graphql';
|
|
7
7
|
import 'axios';
|
|
8
8
|
|
|
@@ -24647,7 +24647,7 @@ declare const DeletePayment: (id: number) => Command<{
|
|
|
24647
24647
|
* Retrieves detailed information about a specific savings account.
|
|
24648
24648
|
*
|
|
24649
24649
|
* @param accountId - The ID of the savings account to retrieve
|
|
24650
|
-
* @returns A Command that when executed returns the full
|
|
24650
|
+
* @returns A Command that when executed returns the full GetAccountResponse details
|
|
24651
24651
|
*
|
|
24652
24652
|
* @example
|
|
24653
24653
|
* ```typescript
|
|
@@ -24658,7 +24658,7 @@ declare const DeletePayment: (id: number) => Command<{
|
|
|
24658
24658
|
*/
|
|
24659
24659
|
declare const GetAccount: (accountId: number) => Command<{
|
|
24660
24660
|
accountId: number;
|
|
24661
|
-
},
|
|
24661
|
+
}, GetAccountResponse>;
|
|
24662
24662
|
/**
|
|
24663
24663
|
* Updates an existing savings account with new details.
|
|
24664
24664
|
*
|
|
@@ -5240,7 +5240,7 @@ declare const ProcessOutputSchema: z.ZodObject<{
|
|
|
5240
5240
|
}>;
|
|
5241
5241
|
type ProcessOutput = z.infer<typeof ProcessOutputSchema>;
|
|
5242
5242
|
|
|
5243
|
-
declare const
|
|
5243
|
+
declare const GetAccountResponseShape: {
|
|
5244
5244
|
id: z.ZodNumber;
|
|
5245
5245
|
accountNo: z.ZodString;
|
|
5246
5246
|
depositType: z.ZodObject<{
|
|
@@ -5462,8 +5462,8 @@ declare const SavingAccountShape: {
|
|
|
5462
5462
|
code: string;
|
|
5463
5463
|
id: number;
|
|
5464
5464
|
}>;
|
|
5465
|
-
lockinPeriodFrequency: z.ZodNumber
|
|
5466
|
-
lockinPeriodFrequencyType: z.ZodObject<{
|
|
5465
|
+
lockinPeriodFrequency: z.ZodOptional<z.ZodNumber>;
|
|
5466
|
+
lockinPeriodFrequencyType: z.ZodOptional<z.ZodObject<{
|
|
5467
5467
|
id: z.ZodNumber;
|
|
5468
5468
|
code: z.ZodString;
|
|
5469
5469
|
value: z.ZodString;
|
|
@@ -5475,7 +5475,7 @@ declare const SavingAccountShape: {
|
|
|
5475
5475
|
value: string;
|
|
5476
5476
|
code: string;
|
|
5477
5477
|
id: number;
|
|
5478
|
-
}
|
|
5478
|
+
}>>;
|
|
5479
5479
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
5480
5480
|
allowOverdraft: z.ZodBoolean;
|
|
5481
5481
|
enforceMinRequiredBalance: z.ZodBoolean;
|
|
@@ -5522,7 +5522,7 @@ declare const SavingAccountShape: {
|
|
|
5522
5522
|
accountBalance: z.ZodNumber;
|
|
5523
5523
|
totalOverdraftInterestDerived: z.ZodNumber;
|
|
5524
5524
|
interestNotPosted: z.ZodNumber;
|
|
5525
|
-
lastInterestCalculationDate: z.ZodArray<z.ZodNumber, "many"
|
|
5525
|
+
lastInterestCalculationDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5526
5526
|
availableBalance: z.ZodNumber;
|
|
5527
5527
|
}, "strip", z.ZodTypeAny, {
|
|
5528
5528
|
currency: {
|
|
@@ -5543,7 +5543,7 @@ declare const SavingAccountShape: {
|
|
|
5543
5543
|
totalInterestPosted: number;
|
|
5544
5544
|
totalOverdraftInterestDerived: number;
|
|
5545
5545
|
interestNotPosted: number;
|
|
5546
|
-
lastInterestCalculationDate
|
|
5546
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5547
5547
|
}, {
|
|
5548
5548
|
currency: {
|
|
5549
5549
|
code: string;
|
|
@@ -5563,7 +5563,7 @@ declare const SavingAccountShape: {
|
|
|
5563
5563
|
totalInterestPosted: number;
|
|
5564
5564
|
totalOverdraftInterestDerived: number;
|
|
5565
5565
|
interestNotPosted: number;
|
|
5566
|
-
lastInterestCalculationDate
|
|
5566
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5567
5567
|
}>;
|
|
5568
5568
|
isLinkedToFloatingInterestRates: z.ZodBoolean;
|
|
5569
5569
|
interestRateDifferential: z.ZodNumber;
|
|
@@ -5600,21 +5600,21 @@ declare const SavingAccountShape: {
|
|
|
5600
5600
|
minBalanceForInterestCalculation: z.ZodNumber;
|
|
5601
5601
|
minOverdraftForInterestCalculation: z.ZodNumber;
|
|
5602
5602
|
overdraftMinimumDue: z.ZodNumber;
|
|
5603
|
-
currentFloatingInterestPeriod: z.ZodObject<{
|
|
5604
|
-
fromDate: z.ZodArray<z.ZodNumber, "many"
|
|
5605
|
-
interestRate: z.ZodNumber
|
|
5606
|
-
isDifferentialToBLR: z.ZodBoolean
|
|
5607
|
-
}, "strip", z.ZodTypeAny, {
|
|
5608
|
-
fromDate
|
|
5609
|
-
interestRate
|
|
5610
|
-
isDifferentialToBLR
|
|
5611
|
-
}, {
|
|
5612
|
-
fromDate
|
|
5613
|
-
interestRate
|
|
5614
|
-
isDifferentialToBLR
|
|
5615
|
-
}
|
|
5616
|
-
floatingRateName: z.ZodString
|
|
5617
|
-
floatingRateDifferential: z.ZodNumber
|
|
5603
|
+
currentFloatingInterestPeriod: z.ZodOptional<z.ZodObject<{
|
|
5604
|
+
fromDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5605
|
+
interestRate: z.ZodOptional<z.ZodNumber>;
|
|
5606
|
+
isDifferentialToBLR: z.ZodOptional<z.ZodBoolean>;
|
|
5607
|
+
}, "strip", z.ZodTypeAny, {
|
|
5608
|
+
fromDate?: number[] | undefined;
|
|
5609
|
+
interestRate?: number | undefined;
|
|
5610
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
5611
|
+
}, {
|
|
5612
|
+
fromDate?: number[] | undefined;
|
|
5613
|
+
interestRate?: number | undefined;
|
|
5614
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
5615
|
+
}>>;
|
|
5616
|
+
floatingRateName: z.ZodOptional<z.ZodString>;
|
|
5617
|
+
floatingRateDifferential: z.ZodOptional<z.ZodNumber>;
|
|
5618
5618
|
parentAccount: z.ZodObject<{
|
|
5619
5619
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
5620
5620
|
allowOverdraft: z.ZodBoolean;
|
|
@@ -5656,7 +5656,7 @@ declare const SavingAccountShape: {
|
|
|
5656
5656
|
prepaidAccount: z.ZodBoolean;
|
|
5657
5657
|
prepaidLimitAmount: z.ZodNumber;
|
|
5658
5658
|
};
|
|
5659
|
-
declare const
|
|
5659
|
+
declare const GetAccountResponseSchema: z.ZodObject<{
|
|
5660
5660
|
id: z.ZodNumber;
|
|
5661
5661
|
accountNo: z.ZodString;
|
|
5662
5662
|
depositType: z.ZodObject<{
|
|
@@ -5878,8 +5878,8 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5878
5878
|
code: string;
|
|
5879
5879
|
id: number;
|
|
5880
5880
|
}>;
|
|
5881
|
-
lockinPeriodFrequency: z.ZodNumber
|
|
5882
|
-
lockinPeriodFrequencyType: z.ZodObject<{
|
|
5881
|
+
lockinPeriodFrequency: z.ZodOptional<z.ZodNumber>;
|
|
5882
|
+
lockinPeriodFrequencyType: z.ZodOptional<z.ZodObject<{
|
|
5883
5883
|
id: z.ZodNumber;
|
|
5884
5884
|
code: z.ZodString;
|
|
5885
5885
|
value: z.ZodString;
|
|
@@ -5891,7 +5891,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5891
5891
|
value: string;
|
|
5892
5892
|
code: string;
|
|
5893
5893
|
id: number;
|
|
5894
|
-
}
|
|
5894
|
+
}>>;
|
|
5895
5895
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
5896
5896
|
allowOverdraft: z.ZodBoolean;
|
|
5897
5897
|
enforceMinRequiredBalance: z.ZodBoolean;
|
|
@@ -5938,7 +5938,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5938
5938
|
accountBalance: z.ZodNumber;
|
|
5939
5939
|
totalOverdraftInterestDerived: z.ZodNumber;
|
|
5940
5940
|
interestNotPosted: z.ZodNumber;
|
|
5941
|
-
lastInterestCalculationDate: z.ZodArray<z.ZodNumber, "many"
|
|
5941
|
+
lastInterestCalculationDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5942
5942
|
availableBalance: z.ZodNumber;
|
|
5943
5943
|
}, "strip", z.ZodTypeAny, {
|
|
5944
5944
|
currency: {
|
|
@@ -5959,7 +5959,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5959
5959
|
totalInterestPosted: number;
|
|
5960
5960
|
totalOverdraftInterestDerived: number;
|
|
5961
5961
|
interestNotPosted: number;
|
|
5962
|
-
lastInterestCalculationDate
|
|
5962
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5963
5963
|
}, {
|
|
5964
5964
|
currency: {
|
|
5965
5965
|
code: string;
|
|
@@ -5979,7 +5979,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5979
5979
|
totalInterestPosted: number;
|
|
5980
5980
|
totalOverdraftInterestDerived: number;
|
|
5981
5981
|
interestNotPosted: number;
|
|
5982
|
-
lastInterestCalculationDate
|
|
5982
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5983
5983
|
}>;
|
|
5984
5984
|
isLinkedToFloatingInterestRates: z.ZodBoolean;
|
|
5985
5985
|
interestRateDifferential: z.ZodNumber;
|
|
@@ -6016,21 +6016,21 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6016
6016
|
minBalanceForInterestCalculation: z.ZodNumber;
|
|
6017
6017
|
minOverdraftForInterestCalculation: z.ZodNumber;
|
|
6018
6018
|
overdraftMinimumDue: z.ZodNumber;
|
|
6019
|
-
currentFloatingInterestPeriod: z.ZodObject<{
|
|
6020
|
-
fromDate: z.ZodArray<z.ZodNumber, "many"
|
|
6021
|
-
interestRate: z.ZodNumber
|
|
6022
|
-
isDifferentialToBLR: z.ZodBoolean
|
|
6023
|
-
}, "strip", z.ZodTypeAny, {
|
|
6024
|
-
fromDate
|
|
6025
|
-
interestRate
|
|
6026
|
-
isDifferentialToBLR
|
|
6027
|
-
}, {
|
|
6028
|
-
fromDate
|
|
6029
|
-
interestRate
|
|
6030
|
-
isDifferentialToBLR
|
|
6031
|
-
}
|
|
6032
|
-
floatingRateName: z.ZodString
|
|
6033
|
-
floatingRateDifferential: z.ZodNumber
|
|
6019
|
+
currentFloatingInterestPeriod: z.ZodOptional<z.ZodObject<{
|
|
6020
|
+
fromDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
6021
|
+
interestRate: z.ZodOptional<z.ZodNumber>;
|
|
6022
|
+
isDifferentialToBLR: z.ZodOptional<z.ZodBoolean>;
|
|
6023
|
+
}, "strip", z.ZodTypeAny, {
|
|
6024
|
+
fromDate?: number[] | undefined;
|
|
6025
|
+
interestRate?: number | undefined;
|
|
6026
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6027
|
+
}, {
|
|
6028
|
+
fromDate?: number[] | undefined;
|
|
6029
|
+
interestRate?: number | undefined;
|
|
6030
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6031
|
+
}>>;
|
|
6032
|
+
floatingRateName: z.ZodOptional<z.ZodString>;
|
|
6033
|
+
floatingRateDifferential: z.ZodOptional<z.ZodNumber>;
|
|
6034
6034
|
parentAccount: z.ZodObject<{
|
|
6035
6035
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
6036
6036
|
allowOverdraft: z.ZodBoolean;
|
|
@@ -6169,12 +6169,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6169
6169
|
code: string;
|
|
6170
6170
|
id: number;
|
|
6171
6171
|
};
|
|
6172
|
-
lockinPeriodFrequency: number;
|
|
6173
|
-
lockinPeriodFrequencyType: {
|
|
6174
|
-
value: string;
|
|
6175
|
-
code: string;
|
|
6176
|
-
id: number;
|
|
6177
|
-
};
|
|
6178
6172
|
onHoldFunds: number;
|
|
6179
6173
|
savingsAmountOnHold: number;
|
|
6180
6174
|
summary: {
|
|
@@ -6196,7 +6190,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6196
6190
|
totalInterestPosted: number;
|
|
6197
6191
|
totalOverdraftInterestDerived: number;
|
|
6198
6192
|
interestNotPosted: number;
|
|
6199
|
-
lastInterestCalculationDate
|
|
6193
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
6200
6194
|
};
|
|
6201
6195
|
interestRateDifferential: number;
|
|
6202
6196
|
overdraftInterestRateDifferential: number;
|
|
@@ -6215,13 +6209,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6215
6209
|
minBalanceForInterestCalculation: number;
|
|
6216
6210
|
minOverdraftForInterestCalculation: number;
|
|
6217
6211
|
overdraftMinimumDue: number;
|
|
6218
|
-
currentFloatingInterestPeriod: {
|
|
6219
|
-
fromDate: number[];
|
|
6220
|
-
interestRate: number;
|
|
6221
|
-
isDifferentialToBLR: boolean;
|
|
6222
|
-
};
|
|
6223
|
-
floatingRateName: string;
|
|
6224
|
-
floatingRateDifferential: number;
|
|
6225
6212
|
parentAccount: {
|
|
6226
6213
|
allowPrepaidCard: boolean;
|
|
6227
6214
|
withdrawalFeeForTransfers: boolean;
|
|
@@ -6236,6 +6223,19 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6236
6223
|
prepaidAccount: boolean;
|
|
6237
6224
|
};
|
|
6238
6225
|
prepaidLimitAmount: number;
|
|
6226
|
+
lockinPeriodFrequency?: number | undefined;
|
|
6227
|
+
lockinPeriodFrequencyType?: {
|
|
6228
|
+
value: string;
|
|
6229
|
+
code: string;
|
|
6230
|
+
id: number;
|
|
6231
|
+
} | undefined;
|
|
6232
|
+
currentFloatingInterestPeriod?: {
|
|
6233
|
+
fromDate?: number[] | undefined;
|
|
6234
|
+
interestRate?: number | undefined;
|
|
6235
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6236
|
+
} | undefined;
|
|
6237
|
+
floatingRateName?: string | undefined;
|
|
6238
|
+
floatingRateDifferential?: number | undefined;
|
|
6239
6239
|
}, {
|
|
6240
6240
|
status: {
|
|
6241
6241
|
value: string;
|
|
@@ -6334,12 +6334,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6334
6334
|
code: string;
|
|
6335
6335
|
id: number;
|
|
6336
6336
|
};
|
|
6337
|
-
lockinPeriodFrequency: number;
|
|
6338
|
-
lockinPeriodFrequencyType: {
|
|
6339
|
-
value: string;
|
|
6340
|
-
code: string;
|
|
6341
|
-
id: number;
|
|
6342
|
-
};
|
|
6343
6337
|
onHoldFunds: number;
|
|
6344
6338
|
savingsAmountOnHold: number;
|
|
6345
6339
|
summary: {
|
|
@@ -6361,7 +6355,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6361
6355
|
totalInterestPosted: number;
|
|
6362
6356
|
totalOverdraftInterestDerived: number;
|
|
6363
6357
|
interestNotPosted: number;
|
|
6364
|
-
lastInterestCalculationDate
|
|
6358
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
6365
6359
|
};
|
|
6366
6360
|
interestRateDifferential: number;
|
|
6367
6361
|
overdraftInterestRateDifferential: number;
|
|
@@ -6380,13 +6374,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6380
6374
|
minBalanceForInterestCalculation: number;
|
|
6381
6375
|
minOverdraftForInterestCalculation: number;
|
|
6382
6376
|
overdraftMinimumDue: number;
|
|
6383
|
-
currentFloatingInterestPeriod: {
|
|
6384
|
-
fromDate: number[];
|
|
6385
|
-
interestRate: number;
|
|
6386
|
-
isDifferentialToBLR: boolean;
|
|
6387
|
-
};
|
|
6388
|
-
floatingRateName: string;
|
|
6389
|
-
floatingRateDifferential: number;
|
|
6390
6377
|
parentAccount: {
|
|
6391
6378
|
allowPrepaidCard: boolean;
|
|
6392
6379
|
withdrawalFeeForTransfers: boolean;
|
|
@@ -6401,6 +6388,19 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6401
6388
|
prepaidAccount: boolean;
|
|
6402
6389
|
};
|
|
6403
6390
|
prepaidLimitAmount: number;
|
|
6391
|
+
lockinPeriodFrequency?: number | undefined;
|
|
6392
|
+
lockinPeriodFrequencyType?: {
|
|
6393
|
+
value: string;
|
|
6394
|
+
code: string;
|
|
6395
|
+
id: number;
|
|
6396
|
+
} | undefined;
|
|
6397
|
+
currentFloatingInterestPeriod?: {
|
|
6398
|
+
fromDate?: number[] | undefined;
|
|
6399
|
+
interestRate?: number | undefined;
|
|
6400
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6401
|
+
} | undefined;
|
|
6402
|
+
floatingRateName?: string | undefined;
|
|
6403
|
+
floatingRateDifferential?: number | undefined;
|
|
6404
6404
|
}>;
|
|
6405
6405
|
declare const GetAccountsOfClientResponseShape: {
|
|
6406
6406
|
savingsAccounts: z.ZodArray<z.ZodObject<{
|
|
@@ -7330,7 +7330,7 @@ declare const UpdateAccountRequestSchema: z.ZodObject<{
|
|
|
7330
7330
|
}>;
|
|
7331
7331
|
type GetAccountsOfClientResponse = z.infer<typeof GetAccountsOfClientResponseSchema>;
|
|
7332
7332
|
type GetAccountsOfClientRequest = z.infer<typeof GetAccountsRequestSchema>;
|
|
7333
|
-
type
|
|
7333
|
+
type GetAccountResponse = z.infer<typeof GetAccountResponseSchema>;
|
|
7334
7334
|
type UpdateAccountRequest = z.infer<typeof UpdateAccountRequestSchema>;
|
|
7335
7335
|
declare const CreateAndActivateAccountRequestShape: {
|
|
7336
7336
|
clientId: z.ZodNumber;
|
|
@@ -14079,4 +14079,4 @@ type RecipientRequest = z.infer<typeof RecipientRequestSchema>;
|
|
|
14079
14079
|
type CreateRecipientRequest = z.infer<typeof CreateRecipientRequestSchema>;
|
|
14080
14080
|
type UpdateRecipientRequest = z.infer<typeof UpdateRecipientRequestSchema>;
|
|
14081
14081
|
|
|
14082
|
-
export { PaymentStatusSchema as $, type
|
|
14082
|
+
export { PaymentStatusSchema as $, type CreateLoanProductRequest as A, type BlockAccountRequest as B, type CreatePaymentInput as C, type CreateLoanProductResponse as D, type GetLoanProductResponse as E, type GetLoanProductsResponse as F, type GetTransferInput as G, type HoldAmountRequest as H, type UpdateLoanProductRequest as I, type CreateTransferOutput as J, type PaymentFilters as K, type ProcessOutput as L, type MarkAsReturnInput as M, type UpdateRecipientRequest as N, type GetRecipientParams as O, type Payment as P, type DeleteRecipientRequest as Q, type Recipient as R, type Recipients as S, type Transfer as T, type UpdatePaymentInput as U, type EnableSelfServiceAccessRequest as V, type EnableSelfServiceAccessResponse as W, type UpdateSelfServiceUserRequest as X, type UpdateSelfServiceUserResponse as Y, type DeleteSelfServiceUserResponse as Z, type UpdateLoanProductResponse as _, type PaymentResponse as a, TransferResponseShape as a$, PaymentRailSchema as a0, PaymentTypeSchema as a1, SortOrderSchema as a2, CreatePaymentInputSchema as a3, UpdatePaymentInputSchema as a4, PaymentResponseSchema as a5, PaymentShape as a6, CreatePaymentInputShape as a7, UpdatePaymentInputShape as a8, GetAccountResponseSchema as a9, CreateRecipientRequestSchema as aA, RecipientRequestSchema as aB, RecipientFilterKeySchema as aC, RecipientShape as aD, CreateRecipientRequestShape as aE, RecipientRequestShape as aF, BankInformationSchema as aG, AccountDetailsDataSchema as aH, AddressSchema as aI, RecipientsSchema as aJ, TransferSchema as aK, CreateTransferInputSchema as aL, GetTransferInputSchema as aM, MarkAsReturnInputSchema as aN, UpdateTraceNumbersInputSchema as aO, ProcessOutputSchema$1 as aP, TransferResponseSchema as aQ, CreateTransferOutputSchema as aR, PaymentRailSchema$1 as aS, PaymentTypeSchema$1 as aT, AccountTypeSchema as aU, TransferShape as aV, CreateTransferInputShape as aW, GetTransferInputShape as aX, MarkAsReturnInputShape as aY, UpdateTraceNumbersInputShape as aZ, ProcessOutputShape as a_, GetAccountResponseShape as aa, GetAccountsOfClientResponseSchema as ab, GetAccountsOfClientResponseShape as ac, GetAccountsRequestSchema as ad, GetAccountsRequestShape as ae, UpdateAccountRequestSchema as af, UpdateAccountRequestShape as ag, CreateAndActivateAccountRequestSchema as ah, CreateAndActivateAccountRequestShape as ai, CreateAndActivateAccountResponseSchema as aj, CreateAndActivateAccountResponseShape as ak, CloseAccountRequestSchema as al, CloseAccountRequestShape as am, CloseAccountResponseSchema as an, CloseAccountResponseShape as ao, BlockAccountRequestSchema as ap, BlockAccountRequestShape as aq, BlockAccountResponseSchema as ar, BlockAccountResponseShape as as, HoldAmountRequestSchema as at, HoldAmountRequestShape as au, HoldAmountResponseSchema as av, HoldAmountResponseShape as aw, UserDetailSchema as ax, UserDetailShape as ay, RecipientSchema as az, type CreateTransferInput as b, CreateTransferOutputShape as b0, ClientSchema as b1, AgentSchema as b2, PartySchema as b3, CreateLoanProductRequestSchema as b4, CreateLoanProductResponseSchema as b5, CreateLoanProductRequestShape as b6, CreateLoanProductResponseShape as b7, GetLoanProductResponseShape as b8, GetLoanProductResponseSchema as b9, GetLoanProductsResponseSchema as ba, UpdateLoanProductRequestSchema as bb, CreateChargeRequestSchema as bc, CreateChargeResponseSchema as bd, CreateChargeResponseShape as be, GetChargeResponseSchema as bf, GetChargesRequestSchema as bg, UpdateChargeRequestSchema as bh, UpdateChargeResponseSchema as bi, type TransferResponse as c, type UpdateTraceNumbersInput as d, type ProcessOutput$1 as e, type PaymentRail as f, type CreateRecipientRequest as g, type RecipientRequest as h, type RecipientFilterKey as i, type GetAccountResponse as j, type GetAccountsOfClientResponse as k, type GetAccountsOfClientRequest as l, type UpdateAccountRequest as m, type CreateAndActivateAccountRequest as n, type CreateAndActivateAccountResponse as o, type CloseAccountRequest as p, type CloseAccountResponse as q, type BlockAccountResponse as r, type HoldAmountResponse as s, type UserDetail as t, type CreateChargeRequest as u, type CreateChargeResponse as v, type GetChargeResponse as w, type GetChargesRequest as x, type UpdateChargeRequest as y, type UpdateChargeResponse as z };
|
|
@@ -5240,7 +5240,7 @@ declare const ProcessOutputSchema: z.ZodObject<{
|
|
|
5240
5240
|
}>;
|
|
5241
5241
|
type ProcessOutput = z.infer<typeof ProcessOutputSchema>;
|
|
5242
5242
|
|
|
5243
|
-
declare const
|
|
5243
|
+
declare const GetAccountResponseShape: {
|
|
5244
5244
|
id: z.ZodNumber;
|
|
5245
5245
|
accountNo: z.ZodString;
|
|
5246
5246
|
depositType: z.ZodObject<{
|
|
@@ -5462,8 +5462,8 @@ declare const SavingAccountShape: {
|
|
|
5462
5462
|
code: string;
|
|
5463
5463
|
id: number;
|
|
5464
5464
|
}>;
|
|
5465
|
-
lockinPeriodFrequency: z.ZodNumber
|
|
5466
|
-
lockinPeriodFrequencyType: z.ZodObject<{
|
|
5465
|
+
lockinPeriodFrequency: z.ZodOptional<z.ZodNumber>;
|
|
5466
|
+
lockinPeriodFrequencyType: z.ZodOptional<z.ZodObject<{
|
|
5467
5467
|
id: z.ZodNumber;
|
|
5468
5468
|
code: z.ZodString;
|
|
5469
5469
|
value: z.ZodString;
|
|
@@ -5475,7 +5475,7 @@ declare const SavingAccountShape: {
|
|
|
5475
5475
|
value: string;
|
|
5476
5476
|
code: string;
|
|
5477
5477
|
id: number;
|
|
5478
|
-
}
|
|
5478
|
+
}>>;
|
|
5479
5479
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
5480
5480
|
allowOverdraft: z.ZodBoolean;
|
|
5481
5481
|
enforceMinRequiredBalance: z.ZodBoolean;
|
|
@@ -5522,7 +5522,7 @@ declare const SavingAccountShape: {
|
|
|
5522
5522
|
accountBalance: z.ZodNumber;
|
|
5523
5523
|
totalOverdraftInterestDerived: z.ZodNumber;
|
|
5524
5524
|
interestNotPosted: z.ZodNumber;
|
|
5525
|
-
lastInterestCalculationDate: z.ZodArray<z.ZodNumber, "many"
|
|
5525
|
+
lastInterestCalculationDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5526
5526
|
availableBalance: z.ZodNumber;
|
|
5527
5527
|
}, "strip", z.ZodTypeAny, {
|
|
5528
5528
|
currency: {
|
|
@@ -5543,7 +5543,7 @@ declare const SavingAccountShape: {
|
|
|
5543
5543
|
totalInterestPosted: number;
|
|
5544
5544
|
totalOverdraftInterestDerived: number;
|
|
5545
5545
|
interestNotPosted: number;
|
|
5546
|
-
lastInterestCalculationDate
|
|
5546
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5547
5547
|
}, {
|
|
5548
5548
|
currency: {
|
|
5549
5549
|
code: string;
|
|
@@ -5563,7 +5563,7 @@ declare const SavingAccountShape: {
|
|
|
5563
5563
|
totalInterestPosted: number;
|
|
5564
5564
|
totalOverdraftInterestDerived: number;
|
|
5565
5565
|
interestNotPosted: number;
|
|
5566
|
-
lastInterestCalculationDate
|
|
5566
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5567
5567
|
}>;
|
|
5568
5568
|
isLinkedToFloatingInterestRates: z.ZodBoolean;
|
|
5569
5569
|
interestRateDifferential: z.ZodNumber;
|
|
@@ -5600,21 +5600,21 @@ declare const SavingAccountShape: {
|
|
|
5600
5600
|
minBalanceForInterestCalculation: z.ZodNumber;
|
|
5601
5601
|
minOverdraftForInterestCalculation: z.ZodNumber;
|
|
5602
5602
|
overdraftMinimumDue: z.ZodNumber;
|
|
5603
|
-
currentFloatingInterestPeriod: z.ZodObject<{
|
|
5604
|
-
fromDate: z.ZodArray<z.ZodNumber, "many"
|
|
5605
|
-
interestRate: z.ZodNumber
|
|
5606
|
-
isDifferentialToBLR: z.ZodBoolean
|
|
5607
|
-
}, "strip", z.ZodTypeAny, {
|
|
5608
|
-
fromDate
|
|
5609
|
-
interestRate
|
|
5610
|
-
isDifferentialToBLR
|
|
5611
|
-
}, {
|
|
5612
|
-
fromDate
|
|
5613
|
-
interestRate
|
|
5614
|
-
isDifferentialToBLR
|
|
5615
|
-
}
|
|
5616
|
-
floatingRateName: z.ZodString
|
|
5617
|
-
floatingRateDifferential: z.ZodNumber
|
|
5603
|
+
currentFloatingInterestPeriod: z.ZodOptional<z.ZodObject<{
|
|
5604
|
+
fromDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5605
|
+
interestRate: z.ZodOptional<z.ZodNumber>;
|
|
5606
|
+
isDifferentialToBLR: z.ZodOptional<z.ZodBoolean>;
|
|
5607
|
+
}, "strip", z.ZodTypeAny, {
|
|
5608
|
+
fromDate?: number[] | undefined;
|
|
5609
|
+
interestRate?: number | undefined;
|
|
5610
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
5611
|
+
}, {
|
|
5612
|
+
fromDate?: number[] | undefined;
|
|
5613
|
+
interestRate?: number | undefined;
|
|
5614
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
5615
|
+
}>>;
|
|
5616
|
+
floatingRateName: z.ZodOptional<z.ZodString>;
|
|
5617
|
+
floatingRateDifferential: z.ZodOptional<z.ZodNumber>;
|
|
5618
5618
|
parentAccount: z.ZodObject<{
|
|
5619
5619
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
5620
5620
|
allowOverdraft: z.ZodBoolean;
|
|
@@ -5656,7 +5656,7 @@ declare const SavingAccountShape: {
|
|
|
5656
5656
|
prepaidAccount: z.ZodBoolean;
|
|
5657
5657
|
prepaidLimitAmount: z.ZodNumber;
|
|
5658
5658
|
};
|
|
5659
|
-
declare const
|
|
5659
|
+
declare const GetAccountResponseSchema: z.ZodObject<{
|
|
5660
5660
|
id: z.ZodNumber;
|
|
5661
5661
|
accountNo: z.ZodString;
|
|
5662
5662
|
depositType: z.ZodObject<{
|
|
@@ -5878,8 +5878,8 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5878
5878
|
code: string;
|
|
5879
5879
|
id: number;
|
|
5880
5880
|
}>;
|
|
5881
|
-
lockinPeriodFrequency: z.ZodNumber
|
|
5882
|
-
lockinPeriodFrequencyType: z.ZodObject<{
|
|
5881
|
+
lockinPeriodFrequency: z.ZodOptional<z.ZodNumber>;
|
|
5882
|
+
lockinPeriodFrequencyType: z.ZodOptional<z.ZodObject<{
|
|
5883
5883
|
id: z.ZodNumber;
|
|
5884
5884
|
code: z.ZodString;
|
|
5885
5885
|
value: z.ZodString;
|
|
@@ -5891,7 +5891,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5891
5891
|
value: string;
|
|
5892
5892
|
code: string;
|
|
5893
5893
|
id: number;
|
|
5894
|
-
}
|
|
5894
|
+
}>>;
|
|
5895
5895
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
5896
5896
|
allowOverdraft: z.ZodBoolean;
|
|
5897
5897
|
enforceMinRequiredBalance: z.ZodBoolean;
|
|
@@ -5938,7 +5938,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5938
5938
|
accountBalance: z.ZodNumber;
|
|
5939
5939
|
totalOverdraftInterestDerived: z.ZodNumber;
|
|
5940
5940
|
interestNotPosted: z.ZodNumber;
|
|
5941
|
-
lastInterestCalculationDate: z.ZodArray<z.ZodNumber, "many"
|
|
5941
|
+
lastInterestCalculationDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5942
5942
|
availableBalance: z.ZodNumber;
|
|
5943
5943
|
}, "strip", z.ZodTypeAny, {
|
|
5944
5944
|
currency: {
|
|
@@ -5959,7 +5959,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5959
5959
|
totalInterestPosted: number;
|
|
5960
5960
|
totalOverdraftInterestDerived: number;
|
|
5961
5961
|
interestNotPosted: number;
|
|
5962
|
-
lastInterestCalculationDate
|
|
5962
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5963
5963
|
}, {
|
|
5964
5964
|
currency: {
|
|
5965
5965
|
code: string;
|
|
@@ -5979,7 +5979,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
5979
5979
|
totalInterestPosted: number;
|
|
5980
5980
|
totalOverdraftInterestDerived: number;
|
|
5981
5981
|
interestNotPosted: number;
|
|
5982
|
-
lastInterestCalculationDate
|
|
5982
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
5983
5983
|
}>;
|
|
5984
5984
|
isLinkedToFloatingInterestRates: z.ZodBoolean;
|
|
5985
5985
|
interestRateDifferential: z.ZodNumber;
|
|
@@ -6016,21 +6016,21 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6016
6016
|
minBalanceForInterestCalculation: z.ZodNumber;
|
|
6017
6017
|
minOverdraftForInterestCalculation: z.ZodNumber;
|
|
6018
6018
|
overdraftMinimumDue: z.ZodNumber;
|
|
6019
|
-
currentFloatingInterestPeriod: z.ZodObject<{
|
|
6020
|
-
fromDate: z.ZodArray<z.ZodNumber, "many"
|
|
6021
|
-
interestRate: z.ZodNumber
|
|
6022
|
-
isDifferentialToBLR: z.ZodBoolean
|
|
6023
|
-
}, "strip", z.ZodTypeAny, {
|
|
6024
|
-
fromDate
|
|
6025
|
-
interestRate
|
|
6026
|
-
isDifferentialToBLR
|
|
6027
|
-
}, {
|
|
6028
|
-
fromDate
|
|
6029
|
-
interestRate
|
|
6030
|
-
isDifferentialToBLR
|
|
6031
|
-
}
|
|
6032
|
-
floatingRateName: z.ZodString
|
|
6033
|
-
floatingRateDifferential: z.ZodNumber
|
|
6019
|
+
currentFloatingInterestPeriod: z.ZodOptional<z.ZodObject<{
|
|
6020
|
+
fromDate: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
6021
|
+
interestRate: z.ZodOptional<z.ZodNumber>;
|
|
6022
|
+
isDifferentialToBLR: z.ZodOptional<z.ZodBoolean>;
|
|
6023
|
+
}, "strip", z.ZodTypeAny, {
|
|
6024
|
+
fromDate?: number[] | undefined;
|
|
6025
|
+
interestRate?: number | undefined;
|
|
6026
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6027
|
+
}, {
|
|
6028
|
+
fromDate?: number[] | undefined;
|
|
6029
|
+
interestRate?: number | undefined;
|
|
6030
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6031
|
+
}>>;
|
|
6032
|
+
floatingRateName: z.ZodOptional<z.ZodString>;
|
|
6033
|
+
floatingRateDifferential: z.ZodOptional<z.ZodNumber>;
|
|
6034
6034
|
parentAccount: z.ZodObject<{
|
|
6035
6035
|
withdrawalFeeForTransfers: z.ZodBoolean;
|
|
6036
6036
|
allowOverdraft: z.ZodBoolean;
|
|
@@ -6169,12 +6169,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6169
6169
|
code: string;
|
|
6170
6170
|
id: number;
|
|
6171
6171
|
};
|
|
6172
|
-
lockinPeriodFrequency: number;
|
|
6173
|
-
lockinPeriodFrequencyType: {
|
|
6174
|
-
value: string;
|
|
6175
|
-
code: string;
|
|
6176
|
-
id: number;
|
|
6177
|
-
};
|
|
6178
6172
|
onHoldFunds: number;
|
|
6179
6173
|
savingsAmountOnHold: number;
|
|
6180
6174
|
summary: {
|
|
@@ -6196,7 +6190,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6196
6190
|
totalInterestPosted: number;
|
|
6197
6191
|
totalOverdraftInterestDerived: number;
|
|
6198
6192
|
interestNotPosted: number;
|
|
6199
|
-
lastInterestCalculationDate
|
|
6193
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
6200
6194
|
};
|
|
6201
6195
|
interestRateDifferential: number;
|
|
6202
6196
|
overdraftInterestRateDifferential: number;
|
|
@@ -6215,13 +6209,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6215
6209
|
minBalanceForInterestCalculation: number;
|
|
6216
6210
|
minOverdraftForInterestCalculation: number;
|
|
6217
6211
|
overdraftMinimumDue: number;
|
|
6218
|
-
currentFloatingInterestPeriod: {
|
|
6219
|
-
fromDate: number[];
|
|
6220
|
-
interestRate: number;
|
|
6221
|
-
isDifferentialToBLR: boolean;
|
|
6222
|
-
};
|
|
6223
|
-
floatingRateName: string;
|
|
6224
|
-
floatingRateDifferential: number;
|
|
6225
6212
|
parentAccount: {
|
|
6226
6213
|
allowPrepaidCard: boolean;
|
|
6227
6214
|
withdrawalFeeForTransfers: boolean;
|
|
@@ -6236,6 +6223,19 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6236
6223
|
prepaidAccount: boolean;
|
|
6237
6224
|
};
|
|
6238
6225
|
prepaidLimitAmount: number;
|
|
6226
|
+
lockinPeriodFrequency?: number | undefined;
|
|
6227
|
+
lockinPeriodFrequencyType?: {
|
|
6228
|
+
value: string;
|
|
6229
|
+
code: string;
|
|
6230
|
+
id: number;
|
|
6231
|
+
} | undefined;
|
|
6232
|
+
currentFloatingInterestPeriod?: {
|
|
6233
|
+
fromDate?: number[] | undefined;
|
|
6234
|
+
interestRate?: number | undefined;
|
|
6235
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6236
|
+
} | undefined;
|
|
6237
|
+
floatingRateName?: string | undefined;
|
|
6238
|
+
floatingRateDifferential?: number | undefined;
|
|
6239
6239
|
}, {
|
|
6240
6240
|
status: {
|
|
6241
6241
|
value: string;
|
|
@@ -6334,12 +6334,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6334
6334
|
code: string;
|
|
6335
6335
|
id: number;
|
|
6336
6336
|
};
|
|
6337
|
-
lockinPeriodFrequency: number;
|
|
6338
|
-
lockinPeriodFrequencyType: {
|
|
6339
|
-
value: string;
|
|
6340
|
-
code: string;
|
|
6341
|
-
id: number;
|
|
6342
|
-
};
|
|
6343
6337
|
onHoldFunds: number;
|
|
6344
6338
|
savingsAmountOnHold: number;
|
|
6345
6339
|
summary: {
|
|
@@ -6361,7 +6355,7 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6361
6355
|
totalInterestPosted: number;
|
|
6362
6356
|
totalOverdraftInterestDerived: number;
|
|
6363
6357
|
interestNotPosted: number;
|
|
6364
|
-
lastInterestCalculationDate
|
|
6358
|
+
lastInterestCalculationDate?: number[] | undefined;
|
|
6365
6359
|
};
|
|
6366
6360
|
interestRateDifferential: number;
|
|
6367
6361
|
overdraftInterestRateDifferential: number;
|
|
@@ -6380,13 +6374,6 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6380
6374
|
minBalanceForInterestCalculation: number;
|
|
6381
6375
|
minOverdraftForInterestCalculation: number;
|
|
6382
6376
|
overdraftMinimumDue: number;
|
|
6383
|
-
currentFloatingInterestPeriod: {
|
|
6384
|
-
fromDate: number[];
|
|
6385
|
-
interestRate: number;
|
|
6386
|
-
isDifferentialToBLR: boolean;
|
|
6387
|
-
};
|
|
6388
|
-
floatingRateName: string;
|
|
6389
|
-
floatingRateDifferential: number;
|
|
6390
6377
|
parentAccount: {
|
|
6391
6378
|
allowPrepaidCard: boolean;
|
|
6392
6379
|
withdrawalFeeForTransfers: boolean;
|
|
@@ -6401,6 +6388,19 @@ declare const SavingAccountSchema: z.ZodObject<{
|
|
|
6401
6388
|
prepaidAccount: boolean;
|
|
6402
6389
|
};
|
|
6403
6390
|
prepaidLimitAmount: number;
|
|
6391
|
+
lockinPeriodFrequency?: number | undefined;
|
|
6392
|
+
lockinPeriodFrequencyType?: {
|
|
6393
|
+
value: string;
|
|
6394
|
+
code: string;
|
|
6395
|
+
id: number;
|
|
6396
|
+
} | undefined;
|
|
6397
|
+
currentFloatingInterestPeriod?: {
|
|
6398
|
+
fromDate?: number[] | undefined;
|
|
6399
|
+
interestRate?: number | undefined;
|
|
6400
|
+
isDifferentialToBLR?: boolean | undefined;
|
|
6401
|
+
} | undefined;
|
|
6402
|
+
floatingRateName?: string | undefined;
|
|
6403
|
+
floatingRateDifferential?: number | undefined;
|
|
6404
6404
|
}>;
|
|
6405
6405
|
declare const GetAccountsOfClientResponseShape: {
|
|
6406
6406
|
savingsAccounts: z.ZodArray<z.ZodObject<{
|
|
@@ -7330,7 +7330,7 @@ declare const UpdateAccountRequestSchema: z.ZodObject<{
|
|
|
7330
7330
|
}>;
|
|
7331
7331
|
type GetAccountsOfClientResponse = z.infer<typeof GetAccountsOfClientResponseSchema>;
|
|
7332
7332
|
type GetAccountsOfClientRequest = z.infer<typeof GetAccountsRequestSchema>;
|
|
7333
|
-
type
|
|
7333
|
+
type GetAccountResponse = z.infer<typeof GetAccountResponseSchema>;
|
|
7334
7334
|
type UpdateAccountRequest = z.infer<typeof UpdateAccountRequestSchema>;
|
|
7335
7335
|
declare const CreateAndActivateAccountRequestShape: {
|
|
7336
7336
|
clientId: z.ZodNumber;
|
|
@@ -14079,4 +14079,4 @@ type RecipientRequest = z.infer<typeof RecipientRequestSchema>;
|
|
|
14079
14079
|
type CreateRecipientRequest = z.infer<typeof CreateRecipientRequestSchema>;
|
|
14080
14080
|
type UpdateRecipientRequest = z.infer<typeof UpdateRecipientRequestSchema>;
|
|
14081
14081
|
|
|
14082
|
-
export { PaymentStatusSchema as $, type
|
|
14082
|
+
export { PaymentStatusSchema as $, type CreateLoanProductRequest as A, type BlockAccountRequest as B, type CreatePaymentInput as C, type CreateLoanProductResponse as D, type GetLoanProductResponse as E, type GetLoanProductsResponse as F, type GetTransferInput as G, type HoldAmountRequest as H, type UpdateLoanProductRequest as I, type CreateTransferOutput as J, type PaymentFilters as K, type ProcessOutput as L, type MarkAsReturnInput as M, type UpdateRecipientRequest as N, type GetRecipientParams as O, type Payment as P, type DeleteRecipientRequest as Q, type Recipient as R, type Recipients as S, type Transfer as T, type UpdatePaymentInput as U, type EnableSelfServiceAccessRequest as V, type EnableSelfServiceAccessResponse as W, type UpdateSelfServiceUserRequest as X, type UpdateSelfServiceUserResponse as Y, type DeleteSelfServiceUserResponse as Z, type UpdateLoanProductResponse as _, type PaymentResponse as a, TransferResponseShape as a$, PaymentRailSchema as a0, PaymentTypeSchema as a1, SortOrderSchema as a2, CreatePaymentInputSchema as a3, UpdatePaymentInputSchema as a4, PaymentResponseSchema as a5, PaymentShape as a6, CreatePaymentInputShape as a7, UpdatePaymentInputShape as a8, GetAccountResponseSchema as a9, CreateRecipientRequestSchema as aA, RecipientRequestSchema as aB, RecipientFilterKeySchema as aC, RecipientShape as aD, CreateRecipientRequestShape as aE, RecipientRequestShape as aF, BankInformationSchema as aG, AccountDetailsDataSchema as aH, AddressSchema as aI, RecipientsSchema as aJ, TransferSchema as aK, CreateTransferInputSchema as aL, GetTransferInputSchema as aM, MarkAsReturnInputSchema as aN, UpdateTraceNumbersInputSchema as aO, ProcessOutputSchema$1 as aP, TransferResponseSchema as aQ, CreateTransferOutputSchema as aR, PaymentRailSchema$1 as aS, PaymentTypeSchema$1 as aT, AccountTypeSchema as aU, TransferShape as aV, CreateTransferInputShape as aW, GetTransferInputShape as aX, MarkAsReturnInputShape as aY, UpdateTraceNumbersInputShape as aZ, ProcessOutputShape as a_, GetAccountResponseShape as aa, GetAccountsOfClientResponseSchema as ab, GetAccountsOfClientResponseShape as ac, GetAccountsRequestSchema as ad, GetAccountsRequestShape as ae, UpdateAccountRequestSchema as af, UpdateAccountRequestShape as ag, CreateAndActivateAccountRequestSchema as ah, CreateAndActivateAccountRequestShape as ai, CreateAndActivateAccountResponseSchema as aj, CreateAndActivateAccountResponseShape as ak, CloseAccountRequestSchema as al, CloseAccountRequestShape as am, CloseAccountResponseSchema as an, CloseAccountResponseShape as ao, BlockAccountRequestSchema as ap, BlockAccountRequestShape as aq, BlockAccountResponseSchema as ar, BlockAccountResponseShape as as, HoldAmountRequestSchema as at, HoldAmountRequestShape as au, HoldAmountResponseSchema as av, HoldAmountResponseShape as aw, UserDetailSchema as ax, UserDetailShape as ay, RecipientSchema as az, type CreateTransferInput as b, CreateTransferOutputShape as b0, ClientSchema as b1, AgentSchema as b2, PartySchema as b3, CreateLoanProductRequestSchema as b4, CreateLoanProductResponseSchema as b5, CreateLoanProductRequestShape as b6, CreateLoanProductResponseShape as b7, GetLoanProductResponseShape as b8, GetLoanProductResponseSchema as b9, GetLoanProductsResponseSchema as ba, UpdateLoanProductRequestSchema as bb, CreateChargeRequestSchema as bc, CreateChargeResponseSchema as bd, CreateChargeResponseShape as be, GetChargeResponseSchema as bf, GetChargesRequestSchema as bg, UpdateChargeRequestSchema as bh, UpdateChargeResponseSchema as bi, type TransferResponse as c, type UpdateTraceNumbersInput as d, type ProcessOutput$1 as e, type PaymentRail as f, type CreateRecipientRequest as g, type RecipientRequest as h, type RecipientFilterKey as i, type GetAccountResponse as j, type GetAccountsOfClientResponse as k, type GetAccountsOfClientRequest as l, type UpdateAccountRequest as m, type CreateAndActivateAccountRequest as n, type CreateAndActivateAccountResponse as o, type CloseAccountRequest as p, type CloseAccountResponse as q, type BlockAccountResponse as r, type HoldAmountResponse as s, type UserDetail as t, type CreateChargeRequest as u, type CreateChargeResponse as v, type GetChargeResponse as w, type GetChargesRequest as x, type UpdateChargeRequest as y, type UpdateChargeResponse as z };
|
package/dist/types/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { a as Command, C as Config, M as Middleware } from '../config.d-BvqzFkbH.mjs';
|
|
2
|
-
export { B as BlockAccountRequest,
|
|
2
|
+
export { B as BlockAccountRequest, r as BlockAccountResponse, p as CloseAccountRequest, q as CloseAccountResponse, n as CreateAndActivateAccountRequest, o as CreateAndActivateAccountResponse, u as CreateChargeRequest, v as CreateChargeResponse, A as CreateLoanProductRequest, D as CreateLoanProductResponse, C as CreatePaymentInput, g as CreateRecipientRequest, b as CreateTransferInput, j as GetAccountResponse, l as GetAccountsOfClientRequest, k as GetAccountsOfClientResponse, w as GetChargeResponse, x as GetChargesRequest, E as GetLoanProductResponse, F as GetLoanProductsResponse, G as GetTransferInput, H as HoldAmountRequest, s as HoldAmountResponse, M as MarkAsReturnInput, P as Payment, f as PaymentRail, a as PaymentResponse, e as ProcessOutput, R as Recipient, i as RecipientFilterKey, h as RecipientRequest, T as Transfer, c as TransferResponse, m as UpdateAccountRequest, y as UpdateChargeRequest, z as UpdateChargeResponse, I as UpdateLoanProductRequest, U as UpdatePaymentInput, d as UpdateTraceNumbersInput, t as UserDetail } from '../recipient-CpahZQEL.mjs';
|
|
3
3
|
export { A as ApiError, L as Logger, M as MetricsClient } from '../error.d-8Btuol2n.mjs';
|
|
4
4
|
import 'graphql';
|
|
5
5
|
import 'axios';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { a as Command, C as Config, M as Middleware } from '../config.d-BvqzFkbH.js';
|
|
2
|
-
export { B as BlockAccountRequest,
|
|
2
|
+
export { B as BlockAccountRequest, r as BlockAccountResponse, p as CloseAccountRequest, q as CloseAccountResponse, n as CreateAndActivateAccountRequest, o as CreateAndActivateAccountResponse, u as CreateChargeRequest, v as CreateChargeResponse, A as CreateLoanProductRequest, D as CreateLoanProductResponse, C as CreatePaymentInput, g as CreateRecipientRequest, b as CreateTransferInput, j as GetAccountResponse, l as GetAccountsOfClientRequest, k as GetAccountsOfClientResponse, w as GetChargeResponse, x as GetChargesRequest, E as GetLoanProductResponse, F as GetLoanProductsResponse, G as GetTransferInput, H as HoldAmountRequest, s as HoldAmountResponse, M as MarkAsReturnInput, P as Payment, f as PaymentRail, a as PaymentResponse, e as ProcessOutput, R as Recipient, i as RecipientFilterKey, h as RecipientRequest, T as Transfer, c as TransferResponse, m as UpdateAccountRequest, y as UpdateChargeRequest, z as UpdateChargeResponse, I as UpdateLoanProductRequest, U as UpdatePaymentInput, d as UpdateTraceNumbersInput, t as UserDetail } from '../recipient-CpahZQEL.js';
|
|
3
3
|
export { A as ApiError, L as Logger, M as MetricsClient } from '../error.d-ktr-yO7C.js';
|
|
4
4
|
import 'graphql';
|
|
5
5
|
import 'axios';
|
package/dist/zod/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { aH as AccountDetailsDataZod, aU as AccountTypeSchema, aI as AddressZod, b2 as AgentSchema, aG as BankInformationZod, aq as BlockAccountRequestShape, ap as BlockAccountRequestZod, as as BlockAccountResponseShape, ar as BlockAccountResponseZod, b1 as ClientSchema, am as CloseAccountRequestShape, al as CloseAccountRequestZod, ao as CloseAccountResponseShape, an as CloseAccountResponseZod, ai as CreateAndActivateAccountRequestShape, ah as CreateAndActivateAccountRequestZod, ak as CreateAndActivateAccountResponseShape, aj as CreateAndActivateAccountResponseZod, bc as CreateChargeRequestZod, be as CreateChargeResponseShape, bd as CreateChargeResponseZod, b6 as CreateLoanProductRequestShape, b4 as CreateLoanProductRequestZod, b7 as CreateLoanProductResponseShape, b5 as CreateLoanProductResponseZod, a7 as CreatePaymentInputShape, a3 as CreatePaymentInputZod, aE as CreateRecipientRequestShape, aA as CreateRecipientRequestZod, aW as CreateTransferInputShape, aL as CreateTransferInputZod, b0 as CreateTransferOutputShape, aR as CreateTransferOutputZod, ac as GetAccountsOfClientResponseShape, ab as GetAccountsOfClientResponseZod, ae as GetAccountsRequestShape, ad as GetAccountsRequestZod, bf as GetChargeResponseZod, bg as GetChargesRequestZod, b8 as GetLoanProductResponseShape, b9 as GetLoanProductResponseZod, ba as GetLoanProductsResponseZod, aX as GetTransferInputShape, aM as GetTransferInputZod, au as HoldAmountRequestShape, at as HoldAmountRequestZod, aw as HoldAmountResponseShape, av as HoldAmountResponseZod, aY as MarkAsReturnInputShape, aN as MarkAsReturnInputZod, b3 as PartySchema, a0 as PaymentRailZod, a5 as PaymentResponseZod, a6 as PaymentShape, $ as PaymentStatusZod, a1 as PaymentTypeZod, a_ as ProcessOutputShape, aP as ProcessOutputZod, aC as RecipientFilterKeyZod, aF as RecipientRequestShape, aB as RecipientRequestZod, aD as RecipientShape, az as RecipientZod, aJ as RecipientsZod,
|
|
2
|
-
export { a as CreateCreditProductRequestZod, b as CreateCreditProductResponseZod, c as GetCreditProductResponseZod, d as GetCreditProductsResponseZod, e as UpdateCreditProductRequestZod, f as UpdateCreditProductResponseZod } from '../zod-
|
|
1
|
+
export { aH as AccountDetailsDataZod, aU as AccountTypeSchema, aI as AddressZod, b2 as AgentSchema, aG as BankInformationZod, aq as BlockAccountRequestShape, ap as BlockAccountRequestZod, as as BlockAccountResponseShape, ar as BlockAccountResponseZod, b1 as ClientSchema, am as CloseAccountRequestShape, al as CloseAccountRequestZod, ao as CloseAccountResponseShape, an as CloseAccountResponseZod, ai as CreateAndActivateAccountRequestShape, ah as CreateAndActivateAccountRequestZod, ak as CreateAndActivateAccountResponseShape, aj as CreateAndActivateAccountResponseZod, bc as CreateChargeRequestZod, be as CreateChargeResponseShape, bd as CreateChargeResponseZod, b6 as CreateLoanProductRequestShape, b4 as CreateLoanProductRequestZod, b7 as CreateLoanProductResponseShape, b5 as CreateLoanProductResponseZod, a7 as CreatePaymentInputShape, a3 as CreatePaymentInputZod, aE as CreateRecipientRequestShape, aA as CreateRecipientRequestZod, aW as CreateTransferInputShape, aL as CreateTransferInputZod, b0 as CreateTransferOutputShape, aR as CreateTransferOutputZod, aa as GetAccountResponseShape, a9 as GetAccountResponseZod, ac as GetAccountsOfClientResponseShape, ab as GetAccountsOfClientResponseZod, ae as GetAccountsRequestShape, ad as GetAccountsRequestZod, bf as GetChargeResponseZod, bg as GetChargesRequestZod, b8 as GetLoanProductResponseShape, b9 as GetLoanProductResponseZod, ba as GetLoanProductsResponseZod, aX as GetTransferInputShape, aM as GetTransferInputZod, au as HoldAmountRequestShape, at as HoldAmountRequestZod, aw as HoldAmountResponseShape, av as HoldAmountResponseZod, aY as MarkAsReturnInputShape, aN as MarkAsReturnInputZod, b3 as PartySchema, a0 as PaymentRailZod, a5 as PaymentResponseZod, a6 as PaymentShape, $ as PaymentStatusZod, a1 as PaymentTypeZod, a_ as ProcessOutputShape, aP as ProcessOutputZod, aC as RecipientFilterKeyZod, aF as RecipientRequestShape, aB as RecipientRequestZod, aD as RecipientShape, az as RecipientZod, aJ as RecipientsZod, a2 as SortOrderZod, aS as TransferPaymentRailZod, aT as TransferPaymentTypeZod, a$ as TransferResponseShape, aQ as TransferResponseZod, aV as TransferShape, aK as TransferZod, ag as UpdateAccountRequestShape, af as UpdateAccountRequestZod, bh as UpdateChargeRequestZod, bi as UpdateChargeResponseZod, bb as UpdateLoanProductRequestZod, a8 as UpdatePaymentInputShape, a4 as UpdatePaymentInputZod, aZ as UpdateTraceNumbersInputShape, aO as UpdateTraceNumbersInputZod, ay as UserDetailShape, ax as UserDetailZod } from '../recipient-CpahZQEL.mjs';
|
|
2
|
+
export { a as CreateCreditProductRequestZod, b as CreateCreditProductResponseZod, c as GetCreditProductResponseZod, d as GetCreditProductsResponseZod, e as UpdateCreditProductRequestZod, f as UpdateCreditProductResponseZod } from '../zod-BvxEP-9H.mjs';
|
|
3
3
|
import 'zod';
|
package/dist/zod/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { aH as AccountDetailsDataZod, aU as AccountTypeSchema, aI as AddressZod, b2 as AgentSchema, aG as BankInformationZod, aq as BlockAccountRequestShape, ap as BlockAccountRequestZod, as as BlockAccountResponseShape, ar as BlockAccountResponseZod, b1 as ClientSchema, am as CloseAccountRequestShape, al as CloseAccountRequestZod, ao as CloseAccountResponseShape, an as CloseAccountResponseZod, ai as CreateAndActivateAccountRequestShape, ah as CreateAndActivateAccountRequestZod, ak as CreateAndActivateAccountResponseShape, aj as CreateAndActivateAccountResponseZod, bc as CreateChargeRequestZod, be as CreateChargeResponseShape, bd as CreateChargeResponseZod, b6 as CreateLoanProductRequestShape, b4 as CreateLoanProductRequestZod, b7 as CreateLoanProductResponseShape, b5 as CreateLoanProductResponseZod, a7 as CreatePaymentInputShape, a3 as CreatePaymentInputZod, aE as CreateRecipientRequestShape, aA as CreateRecipientRequestZod, aW as CreateTransferInputShape, aL as CreateTransferInputZod, b0 as CreateTransferOutputShape, aR as CreateTransferOutputZod, ac as GetAccountsOfClientResponseShape, ab as GetAccountsOfClientResponseZod, ae as GetAccountsRequestShape, ad as GetAccountsRequestZod, bf as GetChargeResponseZod, bg as GetChargesRequestZod, b8 as GetLoanProductResponseShape, b9 as GetLoanProductResponseZod, ba as GetLoanProductsResponseZod, aX as GetTransferInputShape, aM as GetTransferInputZod, au as HoldAmountRequestShape, at as HoldAmountRequestZod, aw as HoldAmountResponseShape, av as HoldAmountResponseZod, aY as MarkAsReturnInputShape, aN as MarkAsReturnInputZod, b3 as PartySchema, a0 as PaymentRailZod, a5 as PaymentResponseZod, a6 as PaymentShape, $ as PaymentStatusZod, a1 as PaymentTypeZod, a_ as ProcessOutputShape, aP as ProcessOutputZod, aC as RecipientFilterKeyZod, aF as RecipientRequestShape, aB as RecipientRequestZod, aD as RecipientShape, az as RecipientZod, aJ as RecipientsZod,
|
|
2
|
-
export { a as CreateCreditProductRequestZod, b as CreateCreditProductResponseZod, c as GetCreditProductResponseZod, d as GetCreditProductsResponseZod, e as UpdateCreditProductRequestZod, f as UpdateCreditProductResponseZod } from '../zod-
|
|
1
|
+
export { aH as AccountDetailsDataZod, aU as AccountTypeSchema, aI as AddressZod, b2 as AgentSchema, aG as BankInformationZod, aq as BlockAccountRequestShape, ap as BlockAccountRequestZod, as as BlockAccountResponseShape, ar as BlockAccountResponseZod, b1 as ClientSchema, am as CloseAccountRequestShape, al as CloseAccountRequestZod, ao as CloseAccountResponseShape, an as CloseAccountResponseZod, ai as CreateAndActivateAccountRequestShape, ah as CreateAndActivateAccountRequestZod, ak as CreateAndActivateAccountResponseShape, aj as CreateAndActivateAccountResponseZod, bc as CreateChargeRequestZod, be as CreateChargeResponseShape, bd as CreateChargeResponseZod, b6 as CreateLoanProductRequestShape, b4 as CreateLoanProductRequestZod, b7 as CreateLoanProductResponseShape, b5 as CreateLoanProductResponseZod, a7 as CreatePaymentInputShape, a3 as CreatePaymentInputZod, aE as CreateRecipientRequestShape, aA as CreateRecipientRequestZod, aW as CreateTransferInputShape, aL as CreateTransferInputZod, b0 as CreateTransferOutputShape, aR as CreateTransferOutputZod, aa as GetAccountResponseShape, a9 as GetAccountResponseZod, ac as GetAccountsOfClientResponseShape, ab as GetAccountsOfClientResponseZod, ae as GetAccountsRequestShape, ad as GetAccountsRequestZod, bf as GetChargeResponseZod, bg as GetChargesRequestZod, b8 as GetLoanProductResponseShape, b9 as GetLoanProductResponseZod, ba as GetLoanProductsResponseZod, aX as GetTransferInputShape, aM as GetTransferInputZod, au as HoldAmountRequestShape, at as HoldAmountRequestZod, aw as HoldAmountResponseShape, av as HoldAmountResponseZod, aY as MarkAsReturnInputShape, aN as MarkAsReturnInputZod, b3 as PartySchema, a0 as PaymentRailZod, a5 as PaymentResponseZod, a6 as PaymentShape, $ as PaymentStatusZod, a1 as PaymentTypeZod, a_ as ProcessOutputShape, aP as ProcessOutputZod, aC as RecipientFilterKeyZod, aF as RecipientRequestShape, aB as RecipientRequestZod, aD as RecipientShape, az as RecipientZod, aJ as RecipientsZod, a2 as SortOrderZod, aS as TransferPaymentRailZod, aT as TransferPaymentTypeZod, a$ as TransferResponseShape, aQ as TransferResponseZod, aV as TransferShape, aK as TransferZod, ag as UpdateAccountRequestShape, af as UpdateAccountRequestZod, bh as UpdateChargeRequestZod, bi as UpdateChargeResponseZod, bb as UpdateLoanProductRequestZod, a8 as UpdatePaymentInputShape, a4 as UpdatePaymentInputZod, aZ as UpdateTraceNumbersInputShape, aO as UpdateTraceNumbersInputZod, ay as UserDetailShape, ax as UserDetailZod } from '../recipient-CpahZQEL.js';
|
|
2
|
+
export { a as CreateCreditProductRequestZod, b as CreateCreditProductResponseZod, c as GetCreditProductResponseZod, d as GetCreditProductsResponseZod, e as UpdateCreditProductRequestZod, f as UpdateCreditProductResponseZod } from '../zod-C4RaBdQx.js';
|
|
3
3
|
import 'zod';
|
package/dist/zod/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSU45ZOOLjs = require('../chunk-SU45ZOOL.js');require('../chunk-6M772WIB.js');var _zod = require('zod');var m=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string(),submittedAndPendingApproval:_zod.z.boolean(),approved:_zod.z.boolean(),rejected:_zod.z.boolean(),withdrawnByApplicant:_zod.z.boolean(),active:_zod.z.boolean(),closed:_zod.z.boolean(),prematureClosed:_zod.z.boolean(),transferInProgress:_zod.z.boolean(),transferOnHold:_zod.z.boolean(),matured:_zod.z.boolean()}),d=_zod.z.object({code:_zod.z.string(),name:_zod.z.string(),decimalPlaces:_zod.z.number(),inMultiplesOf:_zod.z.number(),displaySymbol:_zod.z.string(),nameCode:_zod.z.string(),displayLabel:_zod.z.string(),currencyCodeInDigit:_zod.z.number().optional(),isBaseCurrency:_zod.z.boolean().optional()}),$e=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),R=_zod.z.object({submittedOnDate:_zod.z.array(_zod.z.number()),submittedByUsername:_zod.z.string(),submittedByFirstname:_zod.z.string(),submittedByLastname:_zod.z.string(),approvedOnDate:_zod.z.array(_zod.z.number()).optional(),approvedByUsername:_zod.z.string().optional(),approvedByFirstname:_zod.z.string().optional(),approvedByLastname:_zod.z.string().optional(),activatedOnDate:_zod.z.array(_zod.z.number()).optional(),activatedByUsername:_zod.z.string().optional(),activatedByFirstname:_zod.z.string().optional(),activatedByLastname:_zod.z.string().optional()}),S=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string(),none:_zod.z.boolean(),inactive:_zod.z.boolean(),dormant:_zod.z.boolean(),escheat:_zod.z.boolean(),block:_zod.z.boolean(),blockCredit:_zod.z.boolean(),blockDebit:_zod.z.boolean()}),A=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),Te=_zod.z.object({id:_zod.z.number(),accountNo:_zod.z.string(),productId:_zod.z.number(),productName:_zod.z.string(),shortProductName:_zod.z.string(),status:m,currency:d,accountBalance:_zod.z.number(),accountType:$e,timeline:R,subStatus:S,lastActiveTransactionDate:_zod.z.array(_zod.z.number()).optional(),depositType:A,availableBalance:_zod.z.number(),allowPrepaidCard:_zod.z.boolean(),primaryAccount:_zod.z.record(_zod.z.any())}),f= exports.SavingAccountShape ={id:_zod.z.number(),accountNo:_zod.z.string(),depositType:A,clientId:_zod.z.number(),clientName:_zod.z.string(),savingsProductId:_zod.z.number(),savingsProductName:_zod.z.string(),fieldOfficerId:_zod.z.number(),status:m,subStatus:S,timeline:R,currency:d,nominalAnnualInterestRate:_zod.z.number(),interestCompoundingPeriodType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),interestPostingPeriodType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),interestCalculationType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),interestCalculationDaysInYearType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),lockinPeriodFrequency:_zod.z.number(),lockinPeriodFrequencyType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),withdrawalFeeForTransfers:_zod.z.boolean(),allowOverdraft:_zod.z.boolean(),enforceMinRequiredBalance:_zod.z.boolean(),onHoldFunds:_zod.z.number(),withHoldTax:_zod.z.boolean(),lastActiveTransactionDate:_zod.z.array(_zod.z.number()),isDormancyTrackingActive:_zod.z.boolean(),savingsAmountOnHold:_zod.z.number(),summary:_zod.z.object({currency:d,totalDeposits:_zod.z.number(),totalInterestEarned:_zod.z.number(),totalInterestPosted:_zod.z.number(),accountBalance:_zod.z.number(),totalOverdraftInterestDerived:_zod.z.number(),interestNotPosted:_zod.z.number(),lastInterestCalculationDate:_zod.z.array(_zod.z.number()),availableBalance:_zod.z.number()}),isLinkedToFloatingInterestRates:_zod.z.boolean(),interestRateDifferential:_zod.z.number(),overdraftInterestRateDifferential:_zod.z.number(),floatingRateId:_zod.z.number(),isBaseLendingRate:_zod.z.boolean(),isFloatingInterestRateCalculationAllowed:_zod.z.boolean(),bankDetails:_zod.z.object({routingNumber:_zod.z.string(),name:_zod.z.string(),swiftCode:_zod.z.string(),address:_zod.z.string(),city:_zod.z.string(),postcode:_zod.z.string()}),skipCollectTransferCharge:_zod.z.boolean(),cardRestricted:_zod.z.boolean(),overdraftLimit:_zod.z.number(),minRequiredBalance:_zod.z.number(),minBalanceForInterestCalculation:_zod.z.number(),minOverdraftForInterestCalculation:_zod.z.number(),overdraftMinimumDue:_zod.z.number(),currentFloatingInterestPeriod:_zod.z.object({fromDate:_zod.z.array(_zod.z.number()),interestRate:_zod.z.number(),isDifferentialToBLR:_zod.z.boolean()}),floatingRateName:_zod.z.string(),floatingRateDifferential:_zod.z.number(),parentAccount:_zod.z.object({withdrawalFeeForTransfers:_zod.z.boolean(),allowOverdraft:_zod.z.boolean(),enforceMinRequiredBalance:_zod.z.boolean(),withHoldTax:_zod.z.boolean(),isDormancyTrackingActive:_zod.z.boolean(),isLinkedToFloatingInterestRates:_zod.z.boolean(),isBaseLendingRate:_zod.z.boolean(),skipCollectTransferCharge:_zod.z.boolean(),cardRestricted:_zod.z.boolean(),allowPrepaidCard:_zod.z.boolean(),prepaidAccount:_zod.z.boolean()}),allowPrepaidCard:_zod.z.boolean(),prepaidAccount:_zod.z.boolean(),prepaidLimitAmount:_zod.z.number()},et= exports.SavingAccountZod =_zod.z.object(f),I= exports.GetAccountsOfClientResponseShape ={savingsAccounts:_zod.z.array(Te)},tt= exports.GetAccountsOfClientResponseZod =_zod.z.object(I),h= exports.GetAccountsRequestShape ={showReservedAccount:_zod.z.boolean().optional().default(!1)},ot= exports.GetAccountsRequestZod =_zod.z.object(h),g= exports.UpdateAccountRequestShape ={clientId:_zod.z.number(),productId:_zod.z.number(),submittedOnDate:_zod.z.string(),nominalAnnualInterestRate:_zod.z.string(),minRequiredOpeningBalance:_zod.z.string(),lockinPeriodFrequency:_zod.z.string(),withdrawalFeeForTransfers:_zod.z.boolean(),allowOverdraft:_zod.z.boolean(),overdraftLimit:_zod.z.number(),minOverdraftForInterestCalculation:_zod.z.number(),enforceMinRequiredBalance:_zod.z.boolean(),minRequiredBalance:_zod.z.number(),withHoldTax:_zod.z.boolean(),interestCompoundingPeriodType:_zod.z.number(),interestPostingPeriodType:_zod.z.number(),interestCalculationType:_zod.z.number(),interestCalculationDaysInYearType:_zod.z.number(),fieldOfficerId:_zod.z.number(),lockinPeriodFrequencyType:_zod.z.number(),locale:_zod.z.string(),dateFormat:_zod.z.string(),monthDayFormat:_zod.z.string(),charges:_zod.z.array(_zod.z.any())},nt= exports.UpdateAccountRequestZod =_zod.z.object(g),N= exports.CreateAndActivateAccountRequestShape ={clientId:_zod.z.number(),productId:_zod.z.number(),locale:_zod.z.string(),dateFormat:_zod.z.string(),submittedOnDate:_zod.z.string(),monthDayFormat:_zod.z.string(),nominalAnnualInterestRate:_zod.z.number().optional(),minRequiredOpeningBalance:_zod.z.string().optional(),lockinPeriodFrequency:_zod.z.number().optional(),withdrawalFeeForTransfers:_zod.z.boolean().optional(),allowOverdraft:_zod.z.boolean().optional(),overdraftLimit:_zod.z.number().optional(),nominalAnnualInterestRateOverdraft:_zod.z.number().optional(),minOverdraftForInterestCalculation:_zod.z.number().optional(),enforceMinRequiredBalance:_zod.z.boolean().optional(),minRequiredBalance:_zod.z.number().optional(),withHoldTax:_zod.z.boolean().optional(),interestCompoundingPeriodType:_zod.z.number().optional(),interestPostingPeriodType:_zod.z.number().optional(),interestCalculationType:_zod.z.number().optional(),interestCalculationDaysInYearType:_zod.z.number().optional(),externalId:_zod.z.string().optional(),lockinPeriodFrequencyType:_zod.z.number().optional(),nickname:_zod.z.string().optional(),charges:_zod.z.array(_zod.z.object({chargeId:_zod.z.number(),amount:_zod.z.number().optional(),dueDate:_zod.z.string().optional(),feeInterval:_zod.z.number().optional()})).optional()},at= exports.CreateAndActivateAccountRequestZod =_zod.z.object(N),P= exports.CreateAndActivateAccountResponseShape ={officeId:_zod.z.number(),clientId:_zod.z.number(),savingsId:_zod.z.number(),resourceId:_zod.z.number(),changes:_zod.z.object({status:_zod.z.string(),locale:_zod.z.string(),dateFormat:_zod.z.string(),activatedOnDate:_zod.z.string()})},rt= exports.CreateAndActivateAccountResponseZod =_zod.z.object(P),v= exports.CloseAccountRequestShape ={closedOnDate:_zod.z.string().optional(),dateFormat:_zod.z.string().optional(),locale:_zod.z.string().optional(),withdrawBalance:_zod.z.boolean().optional(),postInterestValidationOnClosure:_zod.z.boolean().optional(),ignoreNegativeBalance:_zod.z.boolean().optional(),paymentTypeId:_zod.z.number().optional(),closeReasonCodeId:_zod.z.number()},st= exports.CloseAccountRequestZod =_zod.z.object(v),C= exports.CloseAccountResponseShape ={officeId:_zod.z.number(),clientId:_zod.z.number(),savingsId:_zod.z.number(),resourceId:_zod.z.number(),changes:_zod.z.object({status:_zod.z.string(),locale:_zod.z.string(),dateFormat:_zod.z.string(),closedOnDate:_zod.z.string(),closeReason:_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),codeName:_zod.z.string()})})},ct= exports.CloseAccountResponseZod =_zod.z.object(C),O= exports.BlockAccountRequestShape ={blockReasonCodeId:_zod.z.number()},it= exports.BlockAccountRequestZod =_zod.z.object(O),x= exports.BlockAccountResponseShape ={id:_zod.z.number(),clientId:_zod.z.number(),officeId:_zod.z.number(),savingsId:_zod.z.number(),resourceId:_zod.z.number(),changes:_zod.z.object({subStatus:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string(),none:_zod.z.boolean(),inactive:_zod.z.boolean(),dormant:_zod.z.boolean(),escheat:_zod.z.boolean(),block:_zod.z.boolean(),blockCredit:_zod.z.boolean(),blockDebit:_zod.z.boolean()}),blockReason:_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),codeName:_zod.z.string()})})},lt= exports.BlockAccountResponseZod =_zod.z.object(x),_= exports.HoldAmountRequestShape ={transactionAmount:_zod.z.number(),holdAmountReasonCodeId:_zod.z.number()},pt= exports.HoldAmountRequestZod =_zod.z.object(_),y= exports.HoldAmountResponseShape ={id:_zod.z.string(),resourceId:_zod.z.number(),changes:_zod.z.object({savingsAmountOnHold:_zod.z.number(),blockAmountReason:_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),codeName:_zod.z.string()})})},ut= exports.HoldAmountResponseZod =_zod.z.object(y);var dt=_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),description:_zod.z.string(),disabled:_zod.z.boolean(),isSelfService:_zod.z.boolean(),position:_zod.z.number()}),L= exports.UserDetailShape ={username:_zod.z.string(),userId:_zod.z.number(),accessToken:_zod.z.string(),authenticated:_zod.z.boolean(),officeId:_zod.z.number(),officeName:_zod.z.string(),roles:_zod.z.array(dt),permissions:_zod.z.array(_zod.z.string()),shouldRenewPassword:_zod.z.boolean(),isTwoFactorAuthenticationRequired:_zod.z.boolean(),isSelfServiceUser:_zod.z.boolean()},bt= exports.UserDetailZod =_zod.z.object(L),D={username:_zod.z.string(),firstname:_zod.z.string(),lastname:_zod.z.string(),officeId:_zod.z.number(),roles:_zod.z.array(_zod.z.number()),sendPasswordToEmail:_zod.z.boolean().optional(),email:_zod.z.string().email().optional(),password:_zod.z.string().optional(),repeatPassword:_zod.z.string().optional(),enabled:_zod.z.boolean().optional(),clients:_zod.z.array(_zod.z.number()).optional()},xt=_zod.z.object(D),_t=_zod.z.object({id:_zod.z.string(),officeId:_zod.z.number(),clientId:_zod.z.number(),resourceId:_zod.z.number(),data:_zod.z.object({client:_zod.z.object({officeName:_zod.z.string(),displayName:_zod.z.string(),accountNo:_zod.z.number(),id:_zod.z.number(),status:_zod.z.string()}),maker:_zod.z.object({firstName:_zod.z.string(),lastName:_zod.z.string(),id:_zod.z.number(),email:_zod.z.string(),username:_zod.z.string()}),createdUser:_zod.z.object({firstName:_zod.z.string(),lastName:_zod.z.string(),id:_zod.z.number(),email:_zod.z.string(),username:_zod.z.string()})})}),yt=_zod.z.object({userId:_zod.z.number(),...D}),U={officeId:_zod.z.number(),clientId:_zod.z.number(),resourceId:_zod.z.number()},Lt=_zod.z.object({...U,changes:_zod.z.record(_zod.z.unknown()).optional()}),Dt=_zod.z.object({...U});var b=_zod.z.object({valueConditionType:_zod.z.union([_zod.z.literal(2),_zod.z.literal(3)]),borrowerCycleNumber:_zod.z.number(),defaultValue:_zod.z.number(),minValue:_zod.z.number(),maxValue:_zod.z.number()}),F=(c=>(c[c.DAYS=0]="DAYS",c[c.WEEKS=1]="WEEKS",c[c.MONTHS=2]="MONTHS",c[c.YEARS=3]="YEARS",c))(F||{}),q=(r=>(r[r.MONTHS=2]="MONTHS",r[r.YEARS=3]="YEARS",r))(q||{}),j=(r=>(r[r.EQUAL_PRINCIPAL=0]="EQUAL_PRINCIPAL",r[r.EQUAL_INSTALLMENTS=1]="EQUAL_INSTALLMENTS",r))(j||{}),B=(r=>(r[r.FLAT=0]="FLAT",r[r.DECLINING=1]="DECLINING",r))(B||{}),G=(r=>(r[r.DAILY=0]="DAILY",r[r.SAME_AS_REPAYMENT=1]="SAME_AS_REPAYMENT",r))(G||{}),Z=(s=>(s[s.PENALTIES_FEES_INT_PRINCIPAL=1]="PENALTIES_FEES_INT_PRINCIPAL",s[s.HEAVENSFAMILY_UNIQUE=2]="HEAVENSFAMILY_UNIQUE",s[s.CREOCORE_UNIQUE=3]="CREOCORE_UNIQUE",s[s.OVERDUE_DUE_FEE_INT_PRINCIPAL=4]="OVERDUE_DUE_FEE_INT_PRINCIPAL",s[s.PRINCIPAL_INT_PENALTIES_FEES=5]="PRINCIPAL_INT_PENALTIES_FEES",s[s.INT_PRINCIPAL_PENALTIES_FEES=6]="INT_PRINCIPAL_PENALTIES_FEES",s[s.EARLY_REPAYMENT_STRATEGY=7]="EARLY_REPAYMENT_STRATEGY",s))(Z||{}),w=(c=>(c[c.NONE=1]="NONE",c[c.CASH_BASED=2]="CASH_BASED",c[c.ACCRUAL_PERIODIC=3]="ACCRUAL_PERIODIC",c[c.ACCRUAL_UPFRONT=4]="ACCRUAL_UPFRONT",c))(w||{}),k=(r=>(r[r.ACTUAL=1]="ACTUAL",r[r.DAYS_30=2]="DAYS_30",r))(k||{}),E=(c=>(c[c.ACTUAL=1]="ACTUAL",c[c.DAYS_360=360]="DAYS_360",c[c.DAYS_364=364]="DAYS_364",c[c.DAYS_365=365]="DAYS_365",c))(E||{}),mt=_zod.z.object({amortizationType:_zod.z.boolean().optional(),interestType:_zod.z.boolean().optional(),transactionProcessingStrategyId:_zod.z.boolean().optional(),interestCalculationPeriodType:_zod.z.boolean().optional(),inArrearsTolerance:_zod.z.boolean().optional(),repaymentEvery:_zod.z.boolean().optional(),graceOnPrincipalAndInterestPayment:_zod.z.boolean().optional(),graceOnArrearsAgeing:_zod.z.boolean().optional()}),M= exports.CreateLoanProductRequestShape ={name:_zod.z.string(),shortName:_zod.z.string(),currencyCode:_zod.z.string(),digitsAfterDecimal:_zod.z.number(),inMultiplesOf:_zod.z.number(),principal:_zod.z.number(),numberOfRepayments:_zod.z.number(),repaymentEvery:_zod.z.number(),repaymentFrequencyType:_zod.z.nativeEnum(F).default(1),repaymentRescheduleOnHoliday:_zod.z.boolean(),paymentDueOnNonWorkingDays:_zod.z.number().optional(),interestRatePerPeriod:_zod.z.string(),interestRateFrequencyType:_zod.z.nativeEnum(q),amortizationType:_zod.z.nativeEnum(j),interestType:_zod.z.nativeEnum(B),interestCalculationPeriodType:_zod.z.nativeEnum(G),transactionProcessingStrategyId:_zod.z.nativeEnum(Z),accountingRule:_zod.z.nativeEnum(w),isInterestRecalculationEnabled:_zod.z.boolean(),daysInMonthType:_zod.z.nativeEnum(k),daysInYearType:_zod.z.nativeEnum(E),locale:_zod.z.string(),description:_zod.z.string().optional(),fundId:_zod.z.number().optional(),installmentAmountInMultiplesOf:_zod.z.number().optional(),minimumDaysBetweenDisbursalAndFirstRepayment:_zod.z.number().optional(),inArrearsTolerance:_zod.z.number().optional(),principalThresholdForLastInstalment:_zod.z.number().optional(),canDefineInstallmentAmount:_zod.z.boolean().optional(),graceOnPrincipalPayment:_zod.z.number().optional(),graceOnInterestPayment:_zod.z.number().optional(),graceOnInterestCharged:_zod.z.number().optional(),graceOnArrearsAgeing:_zod.z.number().optional(),overdueDaysForNPA:_zod.z.number().optional(),accountMovesOutOfNPAOnlyOnArrearsCompletion:_zod.z.boolean().optional(),allowPartialPeriodInterestCalculation:_zod.z.boolean().optional(),includeInBorrowerCycle:_zod.z.union([_zod.z.boolean(),_zod.z.string()]).optional(),useBorrowerCycle:_zod.z.boolean().optional(),principalVariationsForBorrowerCycle:_zod.z.array(b).optional(),interestRateVariationsForBorrowerCycle:_zod.z.array(b).optional(),numberOfRepaymentVariationsForBorrowerCycle:_zod.z.array(b).optional(),allowAttributeOverrides:mt.optional(),charges:_zod.z.array(_zod.z.record(_zod.z.any())).optional(),dateFormat:_zod.z.string()},H= exports.CreateLoanProductRequestZod =_zod.z.object(M).catchall(_zod.z.any()),V= exports.CreateLoanProductResponseShape ={id:_zod.z.number(),resourceId:_zod.z.number()},Rt= exports.CreateLoanProductResponseZod =_zod.z.object(V),p=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),St=_zod.z.object({code:_zod.z.string(),name:_zod.z.string(),decimalPlaces:_zod.z.number(),inMultiplesOf:_zod.z.number(),displaySymbol:_zod.z.string(),nameCode:_zod.z.string(),displayLabel:_zod.z.string()}),l=_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),glCode:_zod.z.number()}),At=_zod.z.object({fundSourceAccount:l,loanPortfolioAccount:l,transfersInSuspenseAccount:l,interestOnLoanAccount:l,incomeFromFeeAccount:l,incomeFromPenaltyAccount:l,writeOffAccount:l,overpaymentLiabilityAccount:l}).catchall(_zod.z.any()),z= exports.GetLoanProductResponseShape ={id:_zod.z.number(),name:_zod.z.string(),shortName:_zod.z.string(),includeInBorrowerCycle:_zod.z.boolean(),useBorrowerCycle:_zod.z.boolean(),status:_zod.z.string(),currency:St,principal:_zod.z.number(),minPrincipal:_zod.z.number(),maxPrincipal:_zod.z.number(),numberOfRepayments:_zod.z.number(),repaymentEvery:_zod.z.number(),repaymentFrequencyType:p,interestRatePerPeriod:_zod.z.number(),interestRateFrequencyType:p,annualInterestRate:_zod.z.number(),amortizationType:p,interestType:p,interestCalculationPeriodType:p,transactionProcessingStrategyId:_zod.z.number(),transactionProcessingStrategyName:_zod.z.string(),charges:_zod.z.array(_zod.z.any()),principalVariationsForBorrowerCycle:_zod.z.array(_zod.z.any()),interestRateVariationsForBorrowerCycle:_zod.z.array(_zod.z.any()),numberOfRepaymentVariationsForBorrowerCycle:_zod.z.array(_zod.z.any()),accountingRule:p,accountingMappings:At,paymentChannelToFundSourceMappings:_zod.z.array(_zod.z.any()),feeToIncomeAccountMappings:_zod.z.array(_zod.z.any()),multiDisburseLoan:_zod.z.boolean(),maxTrancheCount:_zod.z.number(),outstandingLoanBalance:_zod.z.number(),overdueDaysForNPA:_zod.z.number(),principalThresholdForLastInstalment:_zod.z.number(),paymentDueOnNonWorkingDaysType:p,repaymentRescheduleOnHoliday:_zod.z.boolean()},Y= exports.GetLoanProductResponseZod =_zod.z.object(z).catchall(_zod.z.any()),ft= exports.GetLoanProductsResponseZod =_zod.z.array(Y),It= exports.UpdateLoanProductRequestZod =H.partial();var W=(s=>(s[s.INVALID=0]="INVALID",s[s.LOAN=1]="LOAN",s[s.SAVINGS=2]="SAVINGS",s[s.CLIENT=3]="CLIENT",s[s.SHARES=4]="SHARES",s[s.TRANSFER=5]="TRANSFER",s[s.CREDIT_CARD=6]="CREDIT_CARD",s))(W||{}),K=(n=>(n[n.INVALID=0]="INVALID",n[n.DISBURSEMENT=1]="DISBURSEMENT",n[n.SPECIFIED_DUE_DATE=2]="SPECIFIED_DUE_DATE",n[n.SAVINGS_ACTIVATION=3]="SAVINGS_ACTIVATION",n[n.SAVINGS_CLOSURE=4]="SAVINGS_CLOSURE",n[n.WITHDRAWAL_FEE=5]="WITHDRAWAL_FEE",n[n.ANNUAL_FEE=6]="ANNUAL_FEE",n[n.MONTHLY_FEE=7]="MONTHLY_FEE",n[n.INSTALMENT_FEE=8]="INSTALMENT_FEE",n[n.OVERDUE_INSTALLMENT=9]="OVERDUE_INSTALLMENT",n[n.OVERDRAFT_FEE=10]="OVERDRAFT_FEE",n[n.WEEKLY_FEE=11]="WEEKLY_FEE",n[n.TRANCHE_DISBURSEMENT=12]="TRANCHE_DISBURSEMENT",n[n.SHAREACCOUNT_ACTIVATION=13]="SHAREACCOUNT_ACTIVATION",n[n.SHARE_PURCHASE=14]="SHARE_PURCHASE",n[n.SHARE_REDEEM=15]="SHARE_REDEEM",n[n.SAVINGS_NOACTIVITY_FEE=16]="SAVINGS_NOACTIVITY_FEE",n[n.DOMESTIC_ATM_WITHDRAWAL_FEE=21]="DOMESTIC_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_ATM_WITHDRAWAL_FEE=22]="INTERNATIONAL_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_TRANSACTIONS_FEE=23]="INTERNATIONAL_TRANSACTIONS_FEE",n[n.EXTERNAL_CARD_PUSH_TRANSACTION_FEE=24]="EXTERNAL_CARD_PUSH_TRANSACTION_FEE",n[n.EXTERNAL_CARD_PULL_TRANSACTION_FEE=25]="EXTERNAL_CARD_PULL_TRANSACTION_FEE",n[n.TRANSFER_EXECUTE=26]="TRANSFER_EXECUTE",n[n.SAVINGS_DORMANT_FEE=27]="SAVINGS_DORMANT_FEE",n[n.SAVINGS_ESCHEAT_FEE=28]="SAVINGS_ESCHEAT_FEE",n[n.SPECIFIED_MCC_FEE=29]="SPECIFIED_MCC_FEE",n[n.CARD_ORDERING_FEE=30]="CARD_ORDERING_FEE",n[n.CARD_RE_ORDERING_FEE=31]="CARD_RE_ORDERING_FEE",n[n.TRANSFER_RETURN=32]="TRANSFER_RETURN",n[n.LATE_PAYMENT_FEE=33]="LATE_PAYMENT_FEE",n[n.RETURN_PAYMENT_FEE=34]="RETURN_PAYMENT_FEE",n[n.OVER_CREDIT_LIMIT_FEE=35]="OVER_CREDIT_LIMIT_FEE",n[n.STOP_PAYMENT_FEE=36]="STOP_PAYMENT_FEE",n[n.JOINING_FEE=37]="JOINING_FEE",n[n.DIRECT_DEPOSIT_CASH_ADVANCE_FEE=38]="DIRECT_DEPOSIT_CASH_ADVANCE_FEE",n[n.PHYSICAL_CARD_ORDERING_FEE=39]="PHYSICAL_CARD_ORDERING_FEE",n[n.OVERDRAFT_WITHDRAWAL_FEE=40]="OVERDRAFT_WITHDRAWAL_FEE",n[n.NSF_FEE=41]="NSF_FEE",n[n.FX_TRADE_BUY_CURRENCY_FEE=42]="FX_TRADE_BUY_CURRENCY_FEE",n))(K||{}),Q=(i=>(i[i.INVALID=0]="INVALID",i[i.FLAT=1]="FLAT",i[i.PERCENT_OF_AMOUNT=2]="PERCENT_OF_AMOUNT",i[i.PERCENT_OF_AMOUNT_AND_INTEREST=3]="PERCENT_OF_AMOUNT_AND_INTEREST",i[i.PERCENT_OF_INTEREST=4]="PERCENT_OF_INTEREST",i[i.PERCENT_OF_DISBURSEMENT_AMOUNT=5]="PERCENT_OF_DISBURSEMENT_AMOUNT",i[i.PERCENT_OF_MIN_DUE_AMOUNT=6]="PERCENT_OF_MIN_DUE_AMOUNT",i[i.PERCENT_OF_OUTSTANDING_AMOUNT=7]="PERCENT_OF_OUTSTANDING_AMOUNT",i))(Q||{}),X=(r=>(r[r.REGULAR=0]="REGULAR",r[r.ACCOUNT_TRANSFER=1]="ACCOUNT_TRANSFER",r))(X||{}),J=(r=>(r.IN="IN",r.OUT="OUT",r))(J||{}),$=(r=>(r.CREDIT="CREDIT",r.DEBIT="DEBIT",r))($||{}),T=(u=>(u.ALL="ALL",u.ACTIVE="ACTIVE",u.INACTIVE="INACTIVE",u))(T||{}),ht= exports.GetChargesRequestZod =_zod.z.object({chargeStatus:_zod.z.nativeEnum(T).optional()}),ee= exports.CreateChargeRequestZod =_zod.z.object({name:_zod.z.string(),chargeAppliesTo:_zod.z.nativeEnum(W),currencyCode:_zod.z.string(),locale:_zod.z.string().optional(),amount:_zod.z.number().nonnegative(),chargeTimeType:_zod.z.nativeEnum(K),chargeCalculationType:_zod.z.nativeEnum(Q),chargePaymentMode:_zod.z.nativeEnum(X).optional(),penalty:_zod.z.boolean().optional(),active:_zod.z.boolean().optional(),minCap:_zod.z.number().optional(),maxCap:_zod.z.number().optional(),feeOnMonthDay:_zod.z.string().optional(),feeInterval:_zod.z.number().optional(),monthDayFormat:_zod.z.string().optional(),feeFrequency:_zod.z.number().optional(),incomeAccountId:_zod.z.number().optional(),taxGroupId:_zod.z.number().optional(),ignoreChargesOnNegativeBalance:_zod.z.boolean().optional(),applyToExistingAccount:_zod.z.boolean().optional(),productIDs:_zod.z.array(_zod.z.number()).optional(),paymentRail:_zod.z.number().optional(),paymentDirection:_zod.z.nativeEnum(J).optional(),transferType:_zod.z.nativeEnum($).optional(),clientClassificationId:_zod.z.number().optional(),applyUpfrontCharge:_zod.z.boolean().optional(),collectOnlyTotalDeferCharge:_zod.z.boolean().optional(),numberOfExemptedFee:_zod.z.union([_zod.z.string(),_zod.z.number()]).optional(),exemptedFeeAmount:_zod.z.union([_zod.z.string(),_zod.z.number()]).optional(),reverseOnTransferFail:_zod.z.boolean().optional(),chargeDueDateOnAccountActivation:_zod.z.boolean().optional()}),te= exports.UpdateChargeRequestZod =ee.partial(),gt= exports.UpdateChargeResponseZod =_zod.z.object({id:_zod.z.string(),resourceId:_zod.z.number(),changes:te.optional()}),oe= exports.CreateChargeResponseShape ={resourceId:_zod.z.number(),id:_zod.z.string()},Nt= exports.CreateChargeResponseZod =_zod.z.object(oe),Pt= exports.GetChargeResponseZod =_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),active:_zod.z.boolean(),penalty:_zod.z.boolean(),currency:_zod.z.object({code:_zod.z.string(),name:_zod.z.string(),decimalPlaces:_zod.z.number(),displaySymbol:_zod.z.string(),nameCode:_zod.z.string(),displayLabel:_zod.z.string()}),amount:_zod.z.number(),chargeTimeType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),chargeAppliesTo:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),chargeCalculationType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),chargePaymentMode:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),minCap:_zod.z.number(),maxCap:_zod.z.number(),savingsProducts:_zod.z.array(_zod.z.object({})),applyToExistingAccount:_zod.z.boolean(),ignoreChargesOnNegativeBalance:_zod.z.boolean(),isMandatory:_zod.z.boolean(),chargeDueDateOnAccountActivation:_zod.z.boolean(),clientClassification:_zod.z.object({id:_zod.z.number(),name:_zod.z.string()}),applyUpfrontCharge:_zod.z.boolean(),numberOfExemptedFee:_zod.z.number(),collectOnlyTotalDeferCharge:_zod.z.boolean(),reverseOnTransferFail:_zod.z.boolean(),createdByUsername:_zod.z.string(),createdDate:_zod.z.array(_zod.z.number()),exemptedFeeAmount:_zod.z.number()});exports.AccountDetailsDataZod = _chunkSU45ZOOLjs.J; exports.AccountTypeSchema = _chunkSU45ZOOLjs.c; exports.AddressZod = _chunkSU45ZOOLjs.K; exports.AgentSchema = _chunkSU45ZOOLjs.d; exports.BankInformationZod = _chunkSU45ZOOLjs.I; exports.BlockAccountRequestShape = O; exports.BlockAccountRequestZod = it; exports.BlockAccountResponseShape = x; exports.BlockAccountResponseZod = lt; exports.ClientSchema = _chunkSU45ZOOLjs.f; exports.CloseAccountRequestShape = v; exports.CloseAccountRequestZod = st; exports.CloseAccountResponseShape = C; exports.CloseAccountResponseZod = ct; exports.CreateAndActivateAccountRequestShape = N; exports.CreateAndActivateAccountRequestZod = at; exports.CreateAndActivateAccountResponseShape = P; exports.CreateAndActivateAccountResponseZod = rt; exports.CreateChargeRequestZod = ee; exports.CreateChargeResponseShape = oe; exports.CreateChargeResponseZod = Nt; exports.CreateCreditProductRequestZod = _chunkSU45ZOOLjs.U; exports.CreateCreditProductResponseZod = _chunkSU45ZOOLjs.V; exports.CreateLoanProductRequestShape = M; exports.CreateLoanProductRequestZod = H; exports.CreateLoanProductResponseShape = V; exports.CreateLoanProductResponseZod = Rt; exports.CreatePaymentInputShape = _chunkSU45ZOOLjs.B; exports.CreatePaymentInputZod = _chunkSU45ZOOLjs.C; exports.CreateRecipientRequestShape = _chunkSU45ZOOLjs.Q; exports.CreateRecipientRequestZod = _chunkSU45ZOOLjs.R; exports.CreateTransferInputShape = _chunkSU45ZOOLjs.h; exports.CreateTransferInputZod = _chunkSU45ZOOLjs.p; exports.CreateTransferOutputShape = _chunkSU45ZOOLjs.n; exports.CreateTransferOutputZod = _chunkSU45ZOOLjs.v; exports.GetAccountsOfClientResponseShape = I; exports.GetAccountsOfClientResponseZod = tt; exports.GetAccountsRequestShape = h; exports.GetAccountsRequestZod = ot; exports.GetChargeResponseZod = Pt; exports.GetChargesRequestZod = ht; exports.GetCreditProductResponseZod = _chunkSU45ZOOLjs.X; exports.GetCreditProductsResponseZod = _chunkSU45ZOOLjs.Y; exports.GetLoanProductResponseShape = z; exports.GetLoanProductResponseZod = Y; exports.GetLoanProductsResponseZod = ft; exports.GetTransferInputShape = _chunkSU45ZOOLjs.i; exports.GetTransferInputZod = _chunkSU45ZOOLjs.q; exports.HoldAmountRequestShape = _; exports.HoldAmountRequestZod = pt; exports.HoldAmountResponseShape = y; exports.HoldAmountResponseZod = ut; exports.MarkAsReturnInputShape = _chunkSU45ZOOLjs.j; exports.MarkAsReturnInputZod = _chunkSU45ZOOLjs.r; exports.PartySchema = _chunkSU45ZOOLjs.e; exports.PaymentRailZod = _chunkSU45ZOOLjs.x; exports.PaymentResponseZod = _chunkSU45ZOOLjs.F; exports.PaymentShape = _chunkSU45ZOOLjs.A; exports.PaymentStatusZod = _chunkSU45ZOOLjs.w; exports.PaymentTypeZod = _chunkSU45ZOOLjs.y; exports.ProcessOutputShape = _chunkSU45ZOOLjs.l; exports.ProcessOutputZod = _chunkSU45ZOOLjs.t; exports.RecipientFilterKeyZod = _chunkSU45ZOOLjs.S; exports.RecipientRequestShape = _chunkSU45ZOOLjs.O; exports.RecipientRequestZod = _chunkSU45ZOOLjs.P; exports.RecipientShape = _chunkSU45ZOOLjs.L; exports.RecipientZod = _chunkSU45ZOOLjs.M; exports.RecipientsZod = _chunkSU45ZOOLjs.N; exports.SavingAccountShape = f; exports.SavingAccountZod = et; exports.SortOrderZod = _chunkSU45ZOOLjs.z; exports.TransferPaymentRailZod = _chunkSU45ZOOLjs.a; exports.TransferPaymentTypeZod = _chunkSU45ZOOLjs.b; exports.TransferResponseShape = _chunkSU45ZOOLjs.m; exports.TransferResponseZod = _chunkSU45ZOOLjs.u; exports.TransferShape = _chunkSU45ZOOLjs.g; exports.TransferZod = _chunkSU45ZOOLjs.o; exports.UpdateAccountRequestShape = g; exports.UpdateAccountRequestZod = nt; exports.UpdateChargeRequestZod = te; exports.UpdateChargeResponseZod = gt; exports.UpdateCreditProductRequestZod = _chunkSU45ZOOLjs.Z; exports.UpdateCreditProductResponseZod = _chunkSU45ZOOLjs.W; exports.UpdateLoanProductRequestZod = It; exports.UpdatePaymentInputShape = _chunkSU45ZOOLjs.D; exports.UpdatePaymentInputZod = _chunkSU45ZOOLjs.E; exports.UpdateTraceNumbersInputShape = _chunkSU45ZOOLjs.k; exports.UpdateTraceNumbersInputZod = _chunkSU45ZOOLjs.s; exports.UserDetailShape = L; exports.UserDetailZod = bt;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSU45ZOOLjs = require('../chunk-SU45ZOOL.js');require('../chunk-6M772WIB.js');var _zod = require('zod');var R=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string(),submittedAndPendingApproval:_zod.z.boolean(),approved:_zod.z.boolean(),rejected:_zod.z.boolean(),withdrawnByApplicant:_zod.z.boolean(),active:_zod.z.boolean(),closed:_zod.z.boolean(),prematureClosed:_zod.z.boolean(),transferInProgress:_zod.z.boolean(),transferOnHold:_zod.z.boolean(),matured:_zod.z.boolean()}),d=_zod.z.object({code:_zod.z.string(),name:_zod.z.string(),decimalPlaces:_zod.z.number(),inMultiplesOf:_zod.z.number(),displaySymbol:_zod.z.string(),nameCode:_zod.z.string(),displayLabel:_zod.z.string(),currencyCodeInDigit:_zod.z.number().optional(),isBaseCurrency:_zod.z.boolean().optional()}),$e=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),m=_zod.z.object({submittedOnDate:_zod.z.array(_zod.z.number()),submittedByUsername:_zod.z.string(),submittedByFirstname:_zod.z.string(),submittedByLastname:_zod.z.string(),approvedOnDate:_zod.z.array(_zod.z.number()).optional(),approvedByUsername:_zod.z.string().optional(),approvedByFirstname:_zod.z.string().optional(),approvedByLastname:_zod.z.string().optional(),activatedOnDate:_zod.z.array(_zod.z.number()).optional(),activatedByUsername:_zod.z.string().optional(),activatedByFirstname:_zod.z.string().optional(),activatedByLastname:_zod.z.string().optional()}),S=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string(),none:_zod.z.boolean(),inactive:_zod.z.boolean(),dormant:_zod.z.boolean(),escheat:_zod.z.boolean(),block:_zod.z.boolean(),blockCredit:_zod.z.boolean(),blockDebit:_zod.z.boolean()}),A=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),Te=_zod.z.object({id:_zod.z.number(),accountNo:_zod.z.string(),productId:_zod.z.number(),productName:_zod.z.string(),shortProductName:_zod.z.string(),status:R,currency:d,accountBalance:_zod.z.number(),accountType:$e,timeline:m,subStatus:S,lastActiveTransactionDate:_zod.z.array(_zod.z.number()).optional(),depositType:A,availableBalance:_zod.z.number(),allowPrepaidCard:_zod.z.boolean(),primaryAccount:_zod.z.record(_zod.z.any())}),f= exports.GetAccountResponseShape ={id:_zod.z.number(),accountNo:_zod.z.string(),depositType:A,clientId:_zod.z.number(),clientName:_zod.z.string(),savingsProductId:_zod.z.number(),savingsProductName:_zod.z.string(),fieldOfficerId:_zod.z.number(),status:R,subStatus:S,timeline:m,currency:d,nominalAnnualInterestRate:_zod.z.number(),interestCompoundingPeriodType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),interestPostingPeriodType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),interestCalculationType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),interestCalculationDaysInYearType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),lockinPeriodFrequency:_zod.z.number().optional(),lockinPeriodFrequencyType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}).optional(),withdrawalFeeForTransfers:_zod.z.boolean(),allowOverdraft:_zod.z.boolean(),enforceMinRequiredBalance:_zod.z.boolean(),onHoldFunds:_zod.z.number(),withHoldTax:_zod.z.boolean(),lastActiveTransactionDate:_zod.z.array(_zod.z.number()),isDormancyTrackingActive:_zod.z.boolean(),savingsAmountOnHold:_zod.z.number(),summary:_zod.z.object({currency:d,totalDeposits:_zod.z.number(),totalInterestEarned:_zod.z.number(),totalInterestPosted:_zod.z.number(),accountBalance:_zod.z.number(),totalOverdraftInterestDerived:_zod.z.number(),interestNotPosted:_zod.z.number(),lastInterestCalculationDate:_zod.z.array(_zod.z.number()).optional(),availableBalance:_zod.z.number()}),isLinkedToFloatingInterestRates:_zod.z.boolean(),interestRateDifferential:_zod.z.number(),overdraftInterestRateDifferential:_zod.z.number(),floatingRateId:_zod.z.number(),isBaseLendingRate:_zod.z.boolean(),isFloatingInterestRateCalculationAllowed:_zod.z.boolean(),bankDetails:_zod.z.object({routingNumber:_zod.z.string(),name:_zod.z.string(),swiftCode:_zod.z.string(),address:_zod.z.string(),city:_zod.z.string(),postcode:_zod.z.string()}),skipCollectTransferCharge:_zod.z.boolean(),cardRestricted:_zod.z.boolean(),overdraftLimit:_zod.z.number(),minRequiredBalance:_zod.z.number(),minBalanceForInterestCalculation:_zod.z.number(),minOverdraftForInterestCalculation:_zod.z.number(),overdraftMinimumDue:_zod.z.number(),currentFloatingInterestPeriod:_zod.z.object({fromDate:_zod.z.array(_zod.z.number()).optional(),interestRate:_zod.z.number().optional(),isDifferentialToBLR:_zod.z.boolean().optional()}).optional(),floatingRateName:_zod.z.string().optional(),floatingRateDifferential:_zod.z.number().optional(),parentAccount:_zod.z.object({withdrawalFeeForTransfers:_zod.z.boolean(),allowOverdraft:_zod.z.boolean(),enforceMinRequiredBalance:_zod.z.boolean(),withHoldTax:_zod.z.boolean(),isDormancyTrackingActive:_zod.z.boolean(),isLinkedToFloatingInterestRates:_zod.z.boolean(),isBaseLendingRate:_zod.z.boolean(),skipCollectTransferCharge:_zod.z.boolean(),cardRestricted:_zod.z.boolean(),allowPrepaidCard:_zod.z.boolean(),prepaidAccount:_zod.z.boolean()}),allowPrepaidCard:_zod.z.boolean(),prepaidAccount:_zod.z.boolean(),prepaidLimitAmount:_zod.z.number()},et= exports.GetAccountResponseZod =_zod.z.object(f),I= exports.GetAccountsOfClientResponseShape ={savingsAccounts:_zod.z.array(Te)},tt= exports.GetAccountsOfClientResponseZod =_zod.z.object(I),h= exports.GetAccountsRequestShape ={showReservedAccount:_zod.z.boolean().optional().default(!1)},ot= exports.GetAccountsRequestZod =_zod.z.object(h),N= exports.UpdateAccountRequestShape ={clientId:_zod.z.number(),productId:_zod.z.number(),submittedOnDate:_zod.z.string(),nominalAnnualInterestRate:_zod.z.string(),minRequiredOpeningBalance:_zod.z.string(),lockinPeriodFrequency:_zod.z.string(),withdrawalFeeForTransfers:_zod.z.boolean(),allowOverdraft:_zod.z.boolean(),overdraftLimit:_zod.z.number(),minOverdraftForInterestCalculation:_zod.z.number(),enforceMinRequiredBalance:_zod.z.boolean(),minRequiredBalance:_zod.z.number(),withHoldTax:_zod.z.boolean(),interestCompoundingPeriodType:_zod.z.number(),interestPostingPeriodType:_zod.z.number(),interestCalculationType:_zod.z.number(),interestCalculationDaysInYearType:_zod.z.number(),fieldOfficerId:_zod.z.number(),lockinPeriodFrequencyType:_zod.z.number(),locale:_zod.z.string(),dateFormat:_zod.z.string(),monthDayFormat:_zod.z.string(),charges:_zod.z.array(_zod.z.any())},nt= exports.UpdateAccountRequestZod =_zod.z.object(N),P= exports.CreateAndActivateAccountRequestShape ={clientId:_zod.z.number(),productId:_zod.z.number(),locale:_zod.z.string(),dateFormat:_zod.z.string(),submittedOnDate:_zod.z.string(),monthDayFormat:_zod.z.string(),nominalAnnualInterestRate:_zod.z.number().optional(),minRequiredOpeningBalance:_zod.z.string().optional(),lockinPeriodFrequency:_zod.z.number().optional(),withdrawalFeeForTransfers:_zod.z.boolean().optional(),allowOverdraft:_zod.z.boolean().optional(),overdraftLimit:_zod.z.number().optional(),nominalAnnualInterestRateOverdraft:_zod.z.number().optional(),minOverdraftForInterestCalculation:_zod.z.number().optional(),enforceMinRequiredBalance:_zod.z.boolean().optional(),minRequiredBalance:_zod.z.number().optional(),withHoldTax:_zod.z.boolean().optional(),interestCompoundingPeriodType:_zod.z.number().optional(),interestPostingPeriodType:_zod.z.number().optional(),interestCalculationType:_zod.z.number().optional(),interestCalculationDaysInYearType:_zod.z.number().optional(),externalId:_zod.z.string().optional(),lockinPeriodFrequencyType:_zod.z.number().optional(),nickname:_zod.z.string().optional(),charges:_zod.z.array(_zod.z.object({chargeId:_zod.z.number(),amount:_zod.z.number().optional(),dueDate:_zod.z.string().optional(),feeInterval:_zod.z.number().optional()})).optional()},at= exports.CreateAndActivateAccountRequestZod =_zod.z.object(P),g= exports.CreateAndActivateAccountResponseShape ={officeId:_zod.z.number(),clientId:_zod.z.number(),savingsId:_zod.z.number(),resourceId:_zod.z.number(),changes:_zod.z.object({status:_zod.z.string(),locale:_zod.z.string(),dateFormat:_zod.z.string(),activatedOnDate:_zod.z.string()})},rt= exports.CreateAndActivateAccountResponseZod =_zod.z.object(g),v= exports.CloseAccountRequestShape ={closedOnDate:_zod.z.string().optional(),dateFormat:_zod.z.string().optional(),locale:_zod.z.string().optional(),withdrawBalance:_zod.z.boolean().optional(),postInterestValidationOnClosure:_zod.z.boolean().optional(),ignoreNegativeBalance:_zod.z.boolean().optional(),paymentTypeId:_zod.z.number().optional(),closeReasonCodeId:_zod.z.number()},st= exports.CloseAccountRequestZod =_zod.z.object(v),C= exports.CloseAccountResponseShape ={officeId:_zod.z.number(),clientId:_zod.z.number(),savingsId:_zod.z.number(),resourceId:_zod.z.number(),changes:_zod.z.object({status:_zod.z.string(),locale:_zod.z.string(),dateFormat:_zod.z.string(),closedOnDate:_zod.z.string(),closeReason:_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),codeName:_zod.z.string()})})},ct= exports.CloseAccountResponseZod =_zod.z.object(C),O= exports.BlockAccountRequestShape ={blockReasonCodeId:_zod.z.number()},it= exports.BlockAccountRequestZod =_zod.z.object(O),x= exports.BlockAccountResponseShape ={id:_zod.z.number(),clientId:_zod.z.number(),officeId:_zod.z.number(),savingsId:_zod.z.number(),resourceId:_zod.z.number(),changes:_zod.z.object({subStatus:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string(),none:_zod.z.boolean(),inactive:_zod.z.boolean(),dormant:_zod.z.boolean(),escheat:_zod.z.boolean(),block:_zod.z.boolean(),blockCredit:_zod.z.boolean(),blockDebit:_zod.z.boolean()}),blockReason:_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),codeName:_zod.z.string()})})},lt= exports.BlockAccountResponseZod =_zod.z.object(x),_= exports.HoldAmountRequestShape ={transactionAmount:_zod.z.number(),holdAmountReasonCodeId:_zod.z.number()},pt= exports.HoldAmountRequestZod =_zod.z.object(_),y= exports.HoldAmountResponseShape ={id:_zod.z.string(),resourceId:_zod.z.number(),changes:_zod.z.object({savingsAmountOnHold:_zod.z.number(),blockAmountReason:_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),codeName:_zod.z.string()})})},ut= exports.HoldAmountResponseZod =_zod.z.object(y);var dt=_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),description:_zod.z.string(),disabled:_zod.z.boolean(),isSelfService:_zod.z.boolean(),position:_zod.z.number()}),L= exports.UserDetailShape ={username:_zod.z.string(),userId:_zod.z.number(),accessToken:_zod.z.string(),authenticated:_zod.z.boolean(),officeId:_zod.z.number(),officeName:_zod.z.string(),roles:_zod.z.array(dt),permissions:_zod.z.array(_zod.z.string()),shouldRenewPassword:_zod.z.boolean(),isTwoFactorAuthenticationRequired:_zod.z.boolean(),isSelfServiceUser:_zod.z.boolean()},bt= exports.UserDetailZod =_zod.z.object(L),D={username:_zod.z.string(),firstname:_zod.z.string(),lastname:_zod.z.string(),officeId:_zod.z.number(),roles:_zod.z.array(_zod.z.number()),sendPasswordToEmail:_zod.z.boolean().optional(),email:_zod.z.string().email().optional(),password:_zod.z.string().optional(),repeatPassword:_zod.z.string().optional(),enabled:_zod.z.boolean().optional(),clients:_zod.z.array(_zod.z.number()).optional()},xt=_zod.z.object(D),_t=_zod.z.object({id:_zod.z.string(),officeId:_zod.z.number(),clientId:_zod.z.number(),resourceId:_zod.z.number(),data:_zod.z.object({client:_zod.z.object({officeName:_zod.z.string(),displayName:_zod.z.string(),accountNo:_zod.z.number(),id:_zod.z.number(),status:_zod.z.string()}),maker:_zod.z.object({firstName:_zod.z.string(),lastName:_zod.z.string(),id:_zod.z.number(),email:_zod.z.string(),username:_zod.z.string()}),createdUser:_zod.z.object({firstName:_zod.z.string(),lastName:_zod.z.string(),id:_zod.z.number(),email:_zod.z.string(),username:_zod.z.string()})})}),yt=_zod.z.object({userId:_zod.z.number(),...D}),U={officeId:_zod.z.number(),clientId:_zod.z.number(),resourceId:_zod.z.number()},Lt=_zod.z.object({...U,changes:_zod.z.record(_zod.z.unknown()).optional()}),Dt=_zod.z.object({...U});var b=_zod.z.object({valueConditionType:_zod.z.union([_zod.z.literal(2),_zod.z.literal(3)]),borrowerCycleNumber:_zod.z.number(),defaultValue:_zod.z.number(),minValue:_zod.z.number(),maxValue:_zod.z.number()}),F=(c=>(c[c.DAYS=0]="DAYS",c[c.WEEKS=1]="WEEKS",c[c.MONTHS=2]="MONTHS",c[c.YEARS=3]="YEARS",c))(F||{}),q=(r=>(r[r.MONTHS=2]="MONTHS",r[r.YEARS=3]="YEARS",r))(q||{}),j=(r=>(r[r.EQUAL_PRINCIPAL=0]="EQUAL_PRINCIPAL",r[r.EQUAL_INSTALLMENTS=1]="EQUAL_INSTALLMENTS",r))(j||{}),B=(r=>(r[r.FLAT=0]="FLAT",r[r.DECLINING=1]="DECLINING",r))(B||{}),G=(r=>(r[r.DAILY=0]="DAILY",r[r.SAME_AS_REPAYMENT=1]="SAME_AS_REPAYMENT",r))(G||{}),Z=(s=>(s[s.PENALTIES_FEES_INT_PRINCIPAL=1]="PENALTIES_FEES_INT_PRINCIPAL",s[s.HEAVENSFAMILY_UNIQUE=2]="HEAVENSFAMILY_UNIQUE",s[s.CREOCORE_UNIQUE=3]="CREOCORE_UNIQUE",s[s.OVERDUE_DUE_FEE_INT_PRINCIPAL=4]="OVERDUE_DUE_FEE_INT_PRINCIPAL",s[s.PRINCIPAL_INT_PENALTIES_FEES=5]="PRINCIPAL_INT_PENALTIES_FEES",s[s.INT_PRINCIPAL_PENALTIES_FEES=6]="INT_PRINCIPAL_PENALTIES_FEES",s[s.EARLY_REPAYMENT_STRATEGY=7]="EARLY_REPAYMENT_STRATEGY",s))(Z||{}),w=(c=>(c[c.NONE=1]="NONE",c[c.CASH_BASED=2]="CASH_BASED",c[c.ACCRUAL_PERIODIC=3]="ACCRUAL_PERIODIC",c[c.ACCRUAL_UPFRONT=4]="ACCRUAL_UPFRONT",c))(w||{}),k=(r=>(r[r.ACTUAL=1]="ACTUAL",r[r.DAYS_30=2]="DAYS_30",r))(k||{}),E=(c=>(c[c.ACTUAL=1]="ACTUAL",c[c.DAYS_360=360]="DAYS_360",c[c.DAYS_364=364]="DAYS_364",c[c.DAYS_365=365]="DAYS_365",c))(E||{}),Rt=_zod.z.object({amortizationType:_zod.z.boolean().optional(),interestType:_zod.z.boolean().optional(),transactionProcessingStrategyId:_zod.z.boolean().optional(),interestCalculationPeriodType:_zod.z.boolean().optional(),inArrearsTolerance:_zod.z.boolean().optional(),repaymentEvery:_zod.z.boolean().optional(),graceOnPrincipalAndInterestPayment:_zod.z.boolean().optional(),graceOnArrearsAgeing:_zod.z.boolean().optional()}),M= exports.CreateLoanProductRequestShape ={name:_zod.z.string(),shortName:_zod.z.string(),currencyCode:_zod.z.string(),digitsAfterDecimal:_zod.z.number(),inMultiplesOf:_zod.z.number(),principal:_zod.z.number(),numberOfRepayments:_zod.z.number(),repaymentEvery:_zod.z.number(),repaymentFrequencyType:_zod.z.nativeEnum(F).default(1),repaymentRescheduleOnHoliday:_zod.z.boolean(),paymentDueOnNonWorkingDays:_zod.z.number().optional(),interestRatePerPeriod:_zod.z.string(),interestRateFrequencyType:_zod.z.nativeEnum(q),amortizationType:_zod.z.nativeEnum(j),interestType:_zod.z.nativeEnum(B),interestCalculationPeriodType:_zod.z.nativeEnum(G),transactionProcessingStrategyId:_zod.z.nativeEnum(Z),accountingRule:_zod.z.nativeEnum(w),isInterestRecalculationEnabled:_zod.z.boolean(),daysInMonthType:_zod.z.nativeEnum(k),daysInYearType:_zod.z.nativeEnum(E),locale:_zod.z.string(),description:_zod.z.string().optional(),fundId:_zod.z.number().optional(),installmentAmountInMultiplesOf:_zod.z.number().optional(),minimumDaysBetweenDisbursalAndFirstRepayment:_zod.z.number().optional(),inArrearsTolerance:_zod.z.number().optional(),principalThresholdForLastInstalment:_zod.z.number().optional(),canDefineInstallmentAmount:_zod.z.boolean().optional(),graceOnPrincipalPayment:_zod.z.number().optional(),graceOnInterestPayment:_zod.z.number().optional(),graceOnInterestCharged:_zod.z.number().optional(),graceOnArrearsAgeing:_zod.z.number().optional(),overdueDaysForNPA:_zod.z.number().optional(),accountMovesOutOfNPAOnlyOnArrearsCompletion:_zod.z.boolean().optional(),allowPartialPeriodInterestCalculation:_zod.z.boolean().optional(),includeInBorrowerCycle:_zod.z.union([_zod.z.boolean(),_zod.z.string()]).optional(),useBorrowerCycle:_zod.z.boolean().optional(),principalVariationsForBorrowerCycle:_zod.z.array(b).optional(),interestRateVariationsForBorrowerCycle:_zod.z.array(b).optional(),numberOfRepaymentVariationsForBorrowerCycle:_zod.z.array(b).optional(),allowAttributeOverrides:Rt.optional(),charges:_zod.z.array(_zod.z.record(_zod.z.any())).optional(),dateFormat:_zod.z.string()},H= exports.CreateLoanProductRequestZod =_zod.z.object(M).catchall(_zod.z.any()),V= exports.CreateLoanProductResponseShape ={id:_zod.z.number(),resourceId:_zod.z.number()},mt= exports.CreateLoanProductResponseZod =_zod.z.object(V),p=_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),St=_zod.z.object({code:_zod.z.string(),name:_zod.z.string(),decimalPlaces:_zod.z.number(),inMultiplesOf:_zod.z.number(),displaySymbol:_zod.z.string(),nameCode:_zod.z.string(),displayLabel:_zod.z.string()}),l=_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),glCode:_zod.z.number()}),At=_zod.z.object({fundSourceAccount:l,loanPortfolioAccount:l,transfersInSuspenseAccount:l,interestOnLoanAccount:l,incomeFromFeeAccount:l,incomeFromPenaltyAccount:l,writeOffAccount:l,overpaymentLiabilityAccount:l}).catchall(_zod.z.any()),z= exports.GetLoanProductResponseShape ={id:_zod.z.number(),name:_zod.z.string(),shortName:_zod.z.string(),includeInBorrowerCycle:_zod.z.boolean(),useBorrowerCycle:_zod.z.boolean(),status:_zod.z.string(),currency:St,principal:_zod.z.number(),minPrincipal:_zod.z.number(),maxPrincipal:_zod.z.number(),numberOfRepayments:_zod.z.number(),repaymentEvery:_zod.z.number(),repaymentFrequencyType:p,interestRatePerPeriod:_zod.z.number(),interestRateFrequencyType:p,annualInterestRate:_zod.z.number(),amortizationType:p,interestType:p,interestCalculationPeriodType:p,transactionProcessingStrategyId:_zod.z.number(),transactionProcessingStrategyName:_zod.z.string(),charges:_zod.z.array(_zod.z.any()),principalVariationsForBorrowerCycle:_zod.z.array(_zod.z.any()),interestRateVariationsForBorrowerCycle:_zod.z.array(_zod.z.any()),numberOfRepaymentVariationsForBorrowerCycle:_zod.z.array(_zod.z.any()),accountingRule:p,accountingMappings:At,paymentChannelToFundSourceMappings:_zod.z.array(_zod.z.any()),feeToIncomeAccountMappings:_zod.z.array(_zod.z.any()),multiDisburseLoan:_zod.z.boolean(),maxTrancheCount:_zod.z.number(),outstandingLoanBalance:_zod.z.number(),overdueDaysForNPA:_zod.z.number(),principalThresholdForLastInstalment:_zod.z.number(),paymentDueOnNonWorkingDaysType:p,repaymentRescheduleOnHoliday:_zod.z.boolean()},Y= exports.GetLoanProductResponseZod =_zod.z.object(z).catchall(_zod.z.any()),ft= exports.GetLoanProductsResponseZod =_zod.z.array(Y),It= exports.UpdateLoanProductRequestZod =H.partial();var W=(s=>(s[s.INVALID=0]="INVALID",s[s.LOAN=1]="LOAN",s[s.SAVINGS=2]="SAVINGS",s[s.CLIENT=3]="CLIENT",s[s.SHARES=4]="SHARES",s[s.TRANSFER=5]="TRANSFER",s[s.CREDIT_CARD=6]="CREDIT_CARD",s))(W||{}),K=(n=>(n[n.INVALID=0]="INVALID",n[n.DISBURSEMENT=1]="DISBURSEMENT",n[n.SPECIFIED_DUE_DATE=2]="SPECIFIED_DUE_DATE",n[n.SAVINGS_ACTIVATION=3]="SAVINGS_ACTIVATION",n[n.SAVINGS_CLOSURE=4]="SAVINGS_CLOSURE",n[n.WITHDRAWAL_FEE=5]="WITHDRAWAL_FEE",n[n.ANNUAL_FEE=6]="ANNUAL_FEE",n[n.MONTHLY_FEE=7]="MONTHLY_FEE",n[n.INSTALMENT_FEE=8]="INSTALMENT_FEE",n[n.OVERDUE_INSTALLMENT=9]="OVERDUE_INSTALLMENT",n[n.OVERDRAFT_FEE=10]="OVERDRAFT_FEE",n[n.WEEKLY_FEE=11]="WEEKLY_FEE",n[n.TRANCHE_DISBURSEMENT=12]="TRANCHE_DISBURSEMENT",n[n.SHAREACCOUNT_ACTIVATION=13]="SHAREACCOUNT_ACTIVATION",n[n.SHARE_PURCHASE=14]="SHARE_PURCHASE",n[n.SHARE_REDEEM=15]="SHARE_REDEEM",n[n.SAVINGS_NOACTIVITY_FEE=16]="SAVINGS_NOACTIVITY_FEE",n[n.DOMESTIC_ATM_WITHDRAWAL_FEE=21]="DOMESTIC_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_ATM_WITHDRAWAL_FEE=22]="INTERNATIONAL_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_TRANSACTIONS_FEE=23]="INTERNATIONAL_TRANSACTIONS_FEE",n[n.EXTERNAL_CARD_PUSH_TRANSACTION_FEE=24]="EXTERNAL_CARD_PUSH_TRANSACTION_FEE",n[n.EXTERNAL_CARD_PULL_TRANSACTION_FEE=25]="EXTERNAL_CARD_PULL_TRANSACTION_FEE",n[n.TRANSFER_EXECUTE=26]="TRANSFER_EXECUTE",n[n.SAVINGS_DORMANT_FEE=27]="SAVINGS_DORMANT_FEE",n[n.SAVINGS_ESCHEAT_FEE=28]="SAVINGS_ESCHEAT_FEE",n[n.SPECIFIED_MCC_FEE=29]="SPECIFIED_MCC_FEE",n[n.CARD_ORDERING_FEE=30]="CARD_ORDERING_FEE",n[n.CARD_RE_ORDERING_FEE=31]="CARD_RE_ORDERING_FEE",n[n.TRANSFER_RETURN=32]="TRANSFER_RETURN",n[n.LATE_PAYMENT_FEE=33]="LATE_PAYMENT_FEE",n[n.RETURN_PAYMENT_FEE=34]="RETURN_PAYMENT_FEE",n[n.OVER_CREDIT_LIMIT_FEE=35]="OVER_CREDIT_LIMIT_FEE",n[n.STOP_PAYMENT_FEE=36]="STOP_PAYMENT_FEE",n[n.JOINING_FEE=37]="JOINING_FEE",n[n.DIRECT_DEPOSIT_CASH_ADVANCE_FEE=38]="DIRECT_DEPOSIT_CASH_ADVANCE_FEE",n[n.PHYSICAL_CARD_ORDERING_FEE=39]="PHYSICAL_CARD_ORDERING_FEE",n[n.OVERDRAFT_WITHDRAWAL_FEE=40]="OVERDRAFT_WITHDRAWAL_FEE",n[n.NSF_FEE=41]="NSF_FEE",n[n.FX_TRADE_BUY_CURRENCY_FEE=42]="FX_TRADE_BUY_CURRENCY_FEE",n))(K||{}),Q=(i=>(i[i.INVALID=0]="INVALID",i[i.FLAT=1]="FLAT",i[i.PERCENT_OF_AMOUNT=2]="PERCENT_OF_AMOUNT",i[i.PERCENT_OF_AMOUNT_AND_INTEREST=3]="PERCENT_OF_AMOUNT_AND_INTEREST",i[i.PERCENT_OF_INTEREST=4]="PERCENT_OF_INTEREST",i[i.PERCENT_OF_DISBURSEMENT_AMOUNT=5]="PERCENT_OF_DISBURSEMENT_AMOUNT",i[i.PERCENT_OF_MIN_DUE_AMOUNT=6]="PERCENT_OF_MIN_DUE_AMOUNT",i[i.PERCENT_OF_OUTSTANDING_AMOUNT=7]="PERCENT_OF_OUTSTANDING_AMOUNT",i))(Q||{}),X=(r=>(r[r.REGULAR=0]="REGULAR",r[r.ACCOUNT_TRANSFER=1]="ACCOUNT_TRANSFER",r))(X||{}),J=(r=>(r.IN="IN",r.OUT="OUT",r))(J||{}),$=(r=>(r.CREDIT="CREDIT",r.DEBIT="DEBIT",r))($||{}),T=(u=>(u.ALL="ALL",u.ACTIVE="ACTIVE",u.INACTIVE="INACTIVE",u))(T||{}),ht= exports.GetChargesRequestZod =_zod.z.object({chargeStatus:_zod.z.nativeEnum(T).optional()}),ee= exports.CreateChargeRequestZod =_zod.z.object({name:_zod.z.string(),chargeAppliesTo:_zod.z.nativeEnum(W),currencyCode:_zod.z.string(),locale:_zod.z.string().optional(),amount:_zod.z.number().nonnegative(),chargeTimeType:_zod.z.nativeEnum(K),chargeCalculationType:_zod.z.nativeEnum(Q),chargePaymentMode:_zod.z.nativeEnum(X).optional(),penalty:_zod.z.boolean().optional(),active:_zod.z.boolean().optional(),minCap:_zod.z.number().optional(),maxCap:_zod.z.number().optional(),feeOnMonthDay:_zod.z.string().optional(),feeInterval:_zod.z.number().optional(),monthDayFormat:_zod.z.string().optional(),feeFrequency:_zod.z.number().optional(),incomeAccountId:_zod.z.number().optional(),taxGroupId:_zod.z.number().optional(),ignoreChargesOnNegativeBalance:_zod.z.boolean().optional(),applyToExistingAccount:_zod.z.boolean().optional(),productIDs:_zod.z.array(_zod.z.number()).optional(),paymentRail:_zod.z.number().optional(),paymentDirection:_zod.z.nativeEnum(J).optional(),transferType:_zod.z.nativeEnum($).optional(),clientClassificationId:_zod.z.number().optional(),applyUpfrontCharge:_zod.z.boolean().optional(),collectOnlyTotalDeferCharge:_zod.z.boolean().optional(),numberOfExemptedFee:_zod.z.union([_zod.z.string(),_zod.z.number()]).optional(),exemptedFeeAmount:_zod.z.union([_zod.z.string(),_zod.z.number()]).optional(),reverseOnTransferFail:_zod.z.boolean().optional(),chargeDueDateOnAccountActivation:_zod.z.boolean().optional()}),te= exports.UpdateChargeRequestZod =ee.partial(),Nt= exports.UpdateChargeResponseZod =_zod.z.object({id:_zod.z.string(),resourceId:_zod.z.number(),changes:te.optional()}),oe= exports.CreateChargeResponseShape ={resourceId:_zod.z.number(),id:_zod.z.string()},Pt= exports.CreateChargeResponseZod =_zod.z.object(oe),gt= exports.GetChargeResponseZod =_zod.z.object({id:_zod.z.number(),name:_zod.z.string(),active:_zod.z.boolean(),penalty:_zod.z.boolean(),currency:_zod.z.object({code:_zod.z.string(),name:_zod.z.string(),decimalPlaces:_zod.z.number(),displaySymbol:_zod.z.string(),nameCode:_zod.z.string(),displayLabel:_zod.z.string()}),amount:_zod.z.number(),chargeTimeType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),chargeAppliesTo:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),chargeCalculationType:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),chargePaymentMode:_zod.z.object({id:_zod.z.number(),code:_zod.z.string(),value:_zod.z.string()}),minCap:_zod.z.number(),maxCap:_zod.z.number(),savingsProducts:_zod.z.array(_zod.z.object({})),applyToExistingAccount:_zod.z.boolean(),ignoreChargesOnNegativeBalance:_zod.z.boolean(),isMandatory:_zod.z.boolean(),chargeDueDateOnAccountActivation:_zod.z.boolean(),clientClassification:_zod.z.object({id:_zod.z.number(),name:_zod.z.string()}),applyUpfrontCharge:_zod.z.boolean(),numberOfExemptedFee:_zod.z.number(),collectOnlyTotalDeferCharge:_zod.z.boolean(),reverseOnTransferFail:_zod.z.boolean(),createdByUsername:_zod.z.string(),createdDate:_zod.z.array(_zod.z.number()),exemptedFeeAmount:_zod.z.number()});exports.AccountDetailsDataZod = _chunkSU45ZOOLjs.J; exports.AccountTypeSchema = _chunkSU45ZOOLjs.c; exports.AddressZod = _chunkSU45ZOOLjs.K; exports.AgentSchema = _chunkSU45ZOOLjs.d; exports.BankInformationZod = _chunkSU45ZOOLjs.I; exports.BlockAccountRequestShape = O; exports.BlockAccountRequestZod = it; exports.BlockAccountResponseShape = x; exports.BlockAccountResponseZod = lt; exports.ClientSchema = _chunkSU45ZOOLjs.f; exports.CloseAccountRequestShape = v; exports.CloseAccountRequestZod = st; exports.CloseAccountResponseShape = C; exports.CloseAccountResponseZod = ct; exports.CreateAndActivateAccountRequestShape = P; exports.CreateAndActivateAccountRequestZod = at; exports.CreateAndActivateAccountResponseShape = g; exports.CreateAndActivateAccountResponseZod = rt; exports.CreateChargeRequestZod = ee; exports.CreateChargeResponseShape = oe; exports.CreateChargeResponseZod = Pt; exports.CreateCreditProductRequestZod = _chunkSU45ZOOLjs.U; exports.CreateCreditProductResponseZod = _chunkSU45ZOOLjs.V; exports.CreateLoanProductRequestShape = M; exports.CreateLoanProductRequestZod = H; exports.CreateLoanProductResponseShape = V; exports.CreateLoanProductResponseZod = mt; exports.CreatePaymentInputShape = _chunkSU45ZOOLjs.B; exports.CreatePaymentInputZod = _chunkSU45ZOOLjs.C; exports.CreateRecipientRequestShape = _chunkSU45ZOOLjs.Q; exports.CreateRecipientRequestZod = _chunkSU45ZOOLjs.R; exports.CreateTransferInputShape = _chunkSU45ZOOLjs.h; exports.CreateTransferInputZod = _chunkSU45ZOOLjs.p; exports.CreateTransferOutputShape = _chunkSU45ZOOLjs.n; exports.CreateTransferOutputZod = _chunkSU45ZOOLjs.v; exports.GetAccountResponseShape = f; exports.GetAccountResponseZod = et; exports.GetAccountsOfClientResponseShape = I; exports.GetAccountsOfClientResponseZod = tt; exports.GetAccountsRequestShape = h; exports.GetAccountsRequestZod = ot; exports.GetChargeResponseZod = gt; exports.GetChargesRequestZod = ht; exports.GetCreditProductResponseZod = _chunkSU45ZOOLjs.X; exports.GetCreditProductsResponseZod = _chunkSU45ZOOLjs.Y; exports.GetLoanProductResponseShape = z; exports.GetLoanProductResponseZod = Y; exports.GetLoanProductsResponseZod = ft; exports.GetTransferInputShape = _chunkSU45ZOOLjs.i; exports.GetTransferInputZod = _chunkSU45ZOOLjs.q; exports.HoldAmountRequestShape = _; exports.HoldAmountRequestZod = pt; exports.HoldAmountResponseShape = y; exports.HoldAmountResponseZod = ut; exports.MarkAsReturnInputShape = _chunkSU45ZOOLjs.j; exports.MarkAsReturnInputZod = _chunkSU45ZOOLjs.r; exports.PartySchema = _chunkSU45ZOOLjs.e; exports.PaymentRailZod = _chunkSU45ZOOLjs.x; exports.PaymentResponseZod = _chunkSU45ZOOLjs.F; exports.PaymentShape = _chunkSU45ZOOLjs.A; exports.PaymentStatusZod = _chunkSU45ZOOLjs.w; exports.PaymentTypeZod = _chunkSU45ZOOLjs.y; exports.ProcessOutputShape = _chunkSU45ZOOLjs.l; exports.ProcessOutputZod = _chunkSU45ZOOLjs.t; exports.RecipientFilterKeyZod = _chunkSU45ZOOLjs.S; exports.RecipientRequestShape = _chunkSU45ZOOLjs.O; exports.RecipientRequestZod = _chunkSU45ZOOLjs.P; exports.RecipientShape = _chunkSU45ZOOLjs.L; exports.RecipientZod = _chunkSU45ZOOLjs.M; exports.RecipientsZod = _chunkSU45ZOOLjs.N; exports.SortOrderZod = _chunkSU45ZOOLjs.z; exports.TransferPaymentRailZod = _chunkSU45ZOOLjs.a; exports.TransferPaymentTypeZod = _chunkSU45ZOOLjs.b; exports.TransferResponseShape = _chunkSU45ZOOLjs.m; exports.TransferResponseZod = _chunkSU45ZOOLjs.u; exports.TransferShape = _chunkSU45ZOOLjs.g; exports.TransferZod = _chunkSU45ZOOLjs.o; exports.UpdateAccountRequestShape = N; exports.UpdateAccountRequestZod = nt; exports.UpdateChargeRequestZod = te; exports.UpdateChargeResponseZod = Nt; exports.UpdateCreditProductRequestZod = _chunkSU45ZOOLjs.Z; exports.UpdateCreditProductResponseZod = _chunkSU45ZOOLjs.W; exports.UpdateLoanProductRequestZod = It; exports.UpdatePaymentInputShape = _chunkSU45ZOOLjs.D; exports.UpdatePaymentInputZod = _chunkSU45ZOOLjs.E; exports.UpdateTraceNumbersInputShape = _chunkSU45ZOOLjs.k; exports.UpdateTraceNumbersInputZod = _chunkSU45ZOOLjs.s; exports.UserDetailShape = L; exports.UserDetailZod = bt;
|
package/dist/zod/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as ye,B as Le,C as De,D as Ue,E as Fe,F as qe,I as je,J as Be,K as Ge,L as Ze,M as we,N as ke,O as Ee,P as Me,Q as He,R as Ve,S as ze,U as Ye,V as We,W as Ke,X as Qe,Y as Xe,Z as Je,a as ne,b as ae,c as re,d as se,e as ce,f as ie,g as le,h as pe,i as ue,j as de,k as be,l as me,m as Re,n as Se,o as Ae,p as fe,q as Ie,r as he,s as ge,t as Ne,u as Pe,v as ve,w as Ce,x as Oe,y as xe,z as _e}from"../chunk-M5BCLAOC.mjs";import"../chunk-2PLZ534I.mjs";import{z as e}from"zod";var m=e.object({id:e.number(),code:e.string(),value:e.string(),submittedAndPendingApproval:e.boolean(),approved:e.boolean(),rejected:e.boolean(),withdrawnByApplicant:e.boolean(),active:e.boolean(),closed:e.boolean(),prematureClosed:e.boolean(),transferInProgress:e.boolean(),transferOnHold:e.boolean(),matured:e.boolean()}),d=e.object({code:e.string(),name:e.string(),decimalPlaces:e.number(),inMultiplesOf:e.number(),displaySymbol:e.string(),nameCode:e.string(),displayLabel:e.string(),currencyCodeInDigit:e.number().optional(),isBaseCurrency:e.boolean().optional()}),$e=e.object({id:e.number(),code:e.string(),value:e.string()}),R=e.object({submittedOnDate:e.array(e.number()),submittedByUsername:e.string(),submittedByFirstname:e.string(),submittedByLastname:e.string(),approvedOnDate:e.array(e.number()).optional(),approvedByUsername:e.string().optional(),approvedByFirstname:e.string().optional(),approvedByLastname:e.string().optional(),activatedOnDate:e.array(e.number()).optional(),activatedByUsername:e.string().optional(),activatedByFirstname:e.string().optional(),activatedByLastname:e.string().optional()}),S=e.object({id:e.number(),code:e.string(),value:e.string(),none:e.boolean(),inactive:e.boolean(),dormant:e.boolean(),escheat:e.boolean(),block:e.boolean(),blockCredit:e.boolean(),blockDebit:e.boolean()}),A=e.object({id:e.number(),code:e.string(),value:e.string()}),Te=e.object({id:e.number(),accountNo:e.string(),productId:e.number(),productName:e.string(),shortProductName:e.string(),status:m,currency:d,accountBalance:e.number(),accountType:$e,timeline:R,subStatus:S,lastActiveTransactionDate:e.array(e.number()).optional(),depositType:A,availableBalance:e.number(),allowPrepaidCard:e.boolean(),primaryAccount:e.record(e.any())}),f={id:e.number(),accountNo:e.string(),depositType:A,clientId:e.number(),clientName:e.string(),savingsProductId:e.number(),savingsProductName:e.string(),fieldOfficerId:e.number(),status:m,subStatus:S,timeline:R,currency:d,nominalAnnualInterestRate:e.number(),interestCompoundingPeriodType:e.object({id:e.number(),code:e.string(),value:e.string()}),interestPostingPeriodType:e.object({id:e.number(),code:e.string(),value:e.string()}),interestCalculationType:e.object({id:e.number(),code:e.string(),value:e.string()}),interestCalculationDaysInYearType:e.object({id:e.number(),code:e.string(),value:e.string()}),lockinPeriodFrequency:e.number(),lockinPeriodFrequencyType:e.object({id:e.number(),code:e.string(),value:e.string()}),withdrawalFeeForTransfers:e.boolean(),allowOverdraft:e.boolean(),enforceMinRequiredBalance:e.boolean(),onHoldFunds:e.number(),withHoldTax:e.boolean(),lastActiveTransactionDate:e.array(e.number()),isDormancyTrackingActive:e.boolean(),savingsAmountOnHold:e.number(),summary:e.object({currency:d,totalDeposits:e.number(),totalInterestEarned:e.number(),totalInterestPosted:e.number(),accountBalance:e.number(),totalOverdraftInterestDerived:e.number(),interestNotPosted:e.number(),lastInterestCalculationDate:e.array(e.number()),availableBalance:e.number()}),isLinkedToFloatingInterestRates:e.boolean(),interestRateDifferential:e.number(),overdraftInterestRateDifferential:e.number(),floatingRateId:e.number(),isBaseLendingRate:e.boolean(),isFloatingInterestRateCalculationAllowed:e.boolean(),bankDetails:e.object({routingNumber:e.string(),name:e.string(),swiftCode:e.string(),address:e.string(),city:e.string(),postcode:e.string()}),skipCollectTransferCharge:e.boolean(),cardRestricted:e.boolean(),overdraftLimit:e.number(),minRequiredBalance:e.number(),minBalanceForInterestCalculation:e.number(),minOverdraftForInterestCalculation:e.number(),overdraftMinimumDue:e.number(),currentFloatingInterestPeriod:e.object({fromDate:e.array(e.number()),interestRate:e.number(),isDifferentialToBLR:e.boolean()}),floatingRateName:e.string(),floatingRateDifferential:e.number(),parentAccount:e.object({withdrawalFeeForTransfers:e.boolean(),allowOverdraft:e.boolean(),enforceMinRequiredBalance:e.boolean(),withHoldTax:e.boolean(),isDormancyTrackingActive:e.boolean(),isLinkedToFloatingInterestRates:e.boolean(),isBaseLendingRate:e.boolean(),skipCollectTransferCharge:e.boolean(),cardRestricted:e.boolean(),allowPrepaidCard:e.boolean(),prepaidAccount:e.boolean()}),allowPrepaidCard:e.boolean(),prepaidAccount:e.boolean(),prepaidLimitAmount:e.number()},et=e.object(f),I={savingsAccounts:e.array(Te)},tt=e.object(I),h={showReservedAccount:e.boolean().optional().default(!1)},ot=e.object(h),g={clientId:e.number(),productId:e.number(),submittedOnDate:e.string(),nominalAnnualInterestRate:e.string(),minRequiredOpeningBalance:e.string(),lockinPeriodFrequency:e.string(),withdrawalFeeForTransfers:e.boolean(),allowOverdraft:e.boolean(),overdraftLimit:e.number(),minOverdraftForInterestCalculation:e.number(),enforceMinRequiredBalance:e.boolean(),minRequiredBalance:e.number(),withHoldTax:e.boolean(),interestCompoundingPeriodType:e.number(),interestPostingPeriodType:e.number(),interestCalculationType:e.number(),interestCalculationDaysInYearType:e.number(),fieldOfficerId:e.number(),lockinPeriodFrequencyType:e.number(),locale:e.string(),dateFormat:e.string(),monthDayFormat:e.string(),charges:e.array(e.any())},nt=e.object(g),N={clientId:e.number(),productId:e.number(),locale:e.string(),dateFormat:e.string(),submittedOnDate:e.string(),monthDayFormat:e.string(),nominalAnnualInterestRate:e.number().optional(),minRequiredOpeningBalance:e.string().optional(),lockinPeriodFrequency:e.number().optional(),withdrawalFeeForTransfers:e.boolean().optional(),allowOverdraft:e.boolean().optional(),overdraftLimit:e.number().optional(),nominalAnnualInterestRateOverdraft:e.number().optional(),minOverdraftForInterestCalculation:e.number().optional(),enforceMinRequiredBalance:e.boolean().optional(),minRequiredBalance:e.number().optional(),withHoldTax:e.boolean().optional(),interestCompoundingPeriodType:e.number().optional(),interestPostingPeriodType:e.number().optional(),interestCalculationType:e.number().optional(),interestCalculationDaysInYearType:e.number().optional(),externalId:e.string().optional(),lockinPeriodFrequencyType:e.number().optional(),nickname:e.string().optional(),charges:e.array(e.object({chargeId:e.number(),amount:e.number().optional(),dueDate:e.string().optional(),feeInterval:e.number().optional()})).optional()},at=e.object(N),P={officeId:e.number(),clientId:e.number(),savingsId:e.number(),resourceId:e.number(),changes:e.object({status:e.string(),locale:e.string(),dateFormat:e.string(),activatedOnDate:e.string()})},rt=e.object(P),v={closedOnDate:e.string().optional(),dateFormat:e.string().optional(),locale:e.string().optional(),withdrawBalance:e.boolean().optional(),postInterestValidationOnClosure:e.boolean().optional(),ignoreNegativeBalance:e.boolean().optional(),paymentTypeId:e.number().optional(),closeReasonCodeId:e.number()},st=e.object(v),C={officeId:e.number(),clientId:e.number(),savingsId:e.number(),resourceId:e.number(),changes:e.object({status:e.string(),locale:e.string(),dateFormat:e.string(),closedOnDate:e.string(),closeReason:e.object({id:e.number(),name:e.string(),codeName:e.string()})})},ct=e.object(C),O={blockReasonCodeId:e.number()},it=e.object(O),x={id:e.number(),clientId:e.number(),officeId:e.number(),savingsId:e.number(),resourceId:e.number(),changes:e.object({subStatus:e.object({id:e.number(),code:e.string(),value:e.string(),none:e.boolean(),inactive:e.boolean(),dormant:e.boolean(),escheat:e.boolean(),block:e.boolean(),blockCredit:e.boolean(),blockDebit:e.boolean()}),blockReason:e.object({id:e.number(),name:e.string(),codeName:e.string()})})},lt=e.object(x),_={transactionAmount:e.number(),holdAmountReasonCodeId:e.number()},pt=e.object(_),y={id:e.string(),resourceId:e.number(),changes:e.object({savingsAmountOnHold:e.number(),blockAmountReason:e.object({id:e.number(),name:e.string(),codeName:e.string()})})},ut=e.object(y);import{z as a}from"zod";var dt=a.object({id:a.number(),name:a.string(),description:a.string(),disabled:a.boolean(),isSelfService:a.boolean(),position:a.number()}),L={username:a.string(),userId:a.number(),accessToken:a.string(),authenticated:a.boolean(),officeId:a.number(),officeName:a.string(),roles:a.array(dt),permissions:a.array(a.string()),shouldRenewPassword:a.boolean(),isTwoFactorAuthenticationRequired:a.boolean(),isSelfServiceUser:a.boolean()},bt=a.object(L),D={username:a.string(),firstname:a.string(),lastname:a.string(),officeId:a.number(),roles:a.array(a.number()),sendPasswordToEmail:a.boolean().optional(),email:a.string().email().optional(),password:a.string().optional(),repeatPassword:a.string().optional(),enabled:a.boolean().optional(),clients:a.array(a.number()).optional()},xt=a.object(D),_t=a.object({id:a.string(),officeId:a.number(),clientId:a.number(),resourceId:a.number(),data:a.object({client:a.object({officeName:a.string(),displayName:a.string(),accountNo:a.number(),id:a.number(),status:a.string()}),maker:a.object({firstName:a.string(),lastName:a.string(),id:a.number(),email:a.string(),username:a.string()}),createdUser:a.object({firstName:a.string(),lastName:a.string(),id:a.number(),email:a.string(),username:a.string()})})}),yt=a.object({userId:a.number(),...D}),U={officeId:a.number(),clientId:a.number(),resourceId:a.number()},Lt=a.object({...U,changes:a.record(a.unknown()).optional()}),Dt=a.object({...U});import{z as t}from"zod";var b=t.object({valueConditionType:t.union([t.literal(2),t.literal(3)]),borrowerCycleNumber:t.number(),defaultValue:t.number(),minValue:t.number(),maxValue:t.number()}),F=(c=>(c[c.DAYS=0]="DAYS",c[c.WEEKS=1]="WEEKS",c[c.MONTHS=2]="MONTHS",c[c.YEARS=3]="YEARS",c))(F||{}),q=(r=>(r[r.MONTHS=2]="MONTHS",r[r.YEARS=3]="YEARS",r))(q||{}),j=(r=>(r[r.EQUAL_PRINCIPAL=0]="EQUAL_PRINCIPAL",r[r.EQUAL_INSTALLMENTS=1]="EQUAL_INSTALLMENTS",r))(j||{}),B=(r=>(r[r.FLAT=0]="FLAT",r[r.DECLINING=1]="DECLINING",r))(B||{}),G=(r=>(r[r.DAILY=0]="DAILY",r[r.SAME_AS_REPAYMENT=1]="SAME_AS_REPAYMENT",r))(G||{}),Z=(s=>(s[s.PENALTIES_FEES_INT_PRINCIPAL=1]="PENALTIES_FEES_INT_PRINCIPAL",s[s.HEAVENSFAMILY_UNIQUE=2]="HEAVENSFAMILY_UNIQUE",s[s.CREOCORE_UNIQUE=3]="CREOCORE_UNIQUE",s[s.OVERDUE_DUE_FEE_INT_PRINCIPAL=4]="OVERDUE_DUE_FEE_INT_PRINCIPAL",s[s.PRINCIPAL_INT_PENALTIES_FEES=5]="PRINCIPAL_INT_PENALTIES_FEES",s[s.INT_PRINCIPAL_PENALTIES_FEES=6]="INT_PRINCIPAL_PENALTIES_FEES",s[s.EARLY_REPAYMENT_STRATEGY=7]="EARLY_REPAYMENT_STRATEGY",s))(Z||{}),w=(c=>(c[c.NONE=1]="NONE",c[c.CASH_BASED=2]="CASH_BASED",c[c.ACCRUAL_PERIODIC=3]="ACCRUAL_PERIODIC",c[c.ACCRUAL_UPFRONT=4]="ACCRUAL_UPFRONT",c))(w||{}),k=(r=>(r[r.ACTUAL=1]="ACTUAL",r[r.DAYS_30=2]="DAYS_30",r))(k||{}),E=(c=>(c[c.ACTUAL=1]="ACTUAL",c[c.DAYS_360=360]="DAYS_360",c[c.DAYS_364=364]="DAYS_364",c[c.DAYS_365=365]="DAYS_365",c))(E||{}),mt=t.object({amortizationType:t.boolean().optional(),interestType:t.boolean().optional(),transactionProcessingStrategyId:t.boolean().optional(),interestCalculationPeriodType:t.boolean().optional(),inArrearsTolerance:t.boolean().optional(),repaymentEvery:t.boolean().optional(),graceOnPrincipalAndInterestPayment:t.boolean().optional(),graceOnArrearsAgeing:t.boolean().optional()}),M={name:t.string(),shortName:t.string(),currencyCode:t.string(),digitsAfterDecimal:t.number(),inMultiplesOf:t.number(),principal:t.number(),numberOfRepayments:t.number(),repaymentEvery:t.number(),repaymentFrequencyType:t.nativeEnum(F).default(1),repaymentRescheduleOnHoliday:t.boolean(),paymentDueOnNonWorkingDays:t.number().optional(),interestRatePerPeriod:t.string(),interestRateFrequencyType:t.nativeEnum(q),amortizationType:t.nativeEnum(j),interestType:t.nativeEnum(B),interestCalculationPeriodType:t.nativeEnum(G),transactionProcessingStrategyId:t.nativeEnum(Z),accountingRule:t.nativeEnum(w),isInterestRecalculationEnabled:t.boolean(),daysInMonthType:t.nativeEnum(k),daysInYearType:t.nativeEnum(E),locale:t.string(),description:t.string().optional(),fundId:t.number().optional(),installmentAmountInMultiplesOf:t.number().optional(),minimumDaysBetweenDisbursalAndFirstRepayment:t.number().optional(),inArrearsTolerance:t.number().optional(),principalThresholdForLastInstalment:t.number().optional(),canDefineInstallmentAmount:t.boolean().optional(),graceOnPrincipalPayment:t.number().optional(),graceOnInterestPayment:t.number().optional(),graceOnInterestCharged:t.number().optional(),graceOnArrearsAgeing:t.number().optional(),overdueDaysForNPA:t.number().optional(),accountMovesOutOfNPAOnlyOnArrearsCompletion:t.boolean().optional(),allowPartialPeriodInterestCalculation:t.boolean().optional(),includeInBorrowerCycle:t.union([t.boolean(),t.string()]).optional(),useBorrowerCycle:t.boolean().optional(),principalVariationsForBorrowerCycle:t.array(b).optional(),interestRateVariationsForBorrowerCycle:t.array(b).optional(),numberOfRepaymentVariationsForBorrowerCycle:t.array(b).optional(),allowAttributeOverrides:mt.optional(),charges:t.array(t.record(t.any())).optional(),dateFormat:t.string()},H=t.object(M).catchall(t.any()),V={id:t.number(),resourceId:t.number()},Rt=t.object(V),p=t.object({id:t.number(),code:t.string(),value:t.string()}),St=t.object({code:t.string(),name:t.string(),decimalPlaces:t.number(),inMultiplesOf:t.number(),displaySymbol:t.string(),nameCode:t.string(),displayLabel:t.string()}),l=t.object({id:t.number(),name:t.string(),glCode:t.number()}),At=t.object({fundSourceAccount:l,loanPortfolioAccount:l,transfersInSuspenseAccount:l,interestOnLoanAccount:l,incomeFromFeeAccount:l,incomeFromPenaltyAccount:l,writeOffAccount:l,overpaymentLiabilityAccount:l}).catchall(t.any()),z={id:t.number(),name:t.string(),shortName:t.string(),includeInBorrowerCycle:t.boolean(),useBorrowerCycle:t.boolean(),status:t.string(),currency:St,principal:t.number(),minPrincipal:t.number(),maxPrincipal:t.number(),numberOfRepayments:t.number(),repaymentEvery:t.number(),repaymentFrequencyType:p,interestRatePerPeriod:t.number(),interestRateFrequencyType:p,annualInterestRate:t.number(),amortizationType:p,interestType:p,interestCalculationPeriodType:p,transactionProcessingStrategyId:t.number(),transactionProcessingStrategyName:t.string(),charges:t.array(t.any()),principalVariationsForBorrowerCycle:t.array(t.any()),interestRateVariationsForBorrowerCycle:t.array(t.any()),numberOfRepaymentVariationsForBorrowerCycle:t.array(t.any()),accountingRule:p,accountingMappings:At,paymentChannelToFundSourceMappings:t.array(t.any()),feeToIncomeAccountMappings:t.array(t.any()),multiDisburseLoan:t.boolean(),maxTrancheCount:t.number(),outstandingLoanBalance:t.number(),overdueDaysForNPA:t.number(),principalThresholdForLastInstalment:t.number(),paymentDueOnNonWorkingDaysType:p,repaymentRescheduleOnHoliday:t.boolean()},Y=t.object(z).catchall(t.any()),ft=t.array(Y),It=H.partial();import{z as o}from"zod";var W=(s=>(s[s.INVALID=0]="INVALID",s[s.LOAN=1]="LOAN",s[s.SAVINGS=2]="SAVINGS",s[s.CLIENT=3]="CLIENT",s[s.SHARES=4]="SHARES",s[s.TRANSFER=5]="TRANSFER",s[s.CREDIT_CARD=6]="CREDIT_CARD",s))(W||{}),K=(n=>(n[n.INVALID=0]="INVALID",n[n.DISBURSEMENT=1]="DISBURSEMENT",n[n.SPECIFIED_DUE_DATE=2]="SPECIFIED_DUE_DATE",n[n.SAVINGS_ACTIVATION=3]="SAVINGS_ACTIVATION",n[n.SAVINGS_CLOSURE=4]="SAVINGS_CLOSURE",n[n.WITHDRAWAL_FEE=5]="WITHDRAWAL_FEE",n[n.ANNUAL_FEE=6]="ANNUAL_FEE",n[n.MONTHLY_FEE=7]="MONTHLY_FEE",n[n.INSTALMENT_FEE=8]="INSTALMENT_FEE",n[n.OVERDUE_INSTALLMENT=9]="OVERDUE_INSTALLMENT",n[n.OVERDRAFT_FEE=10]="OVERDRAFT_FEE",n[n.WEEKLY_FEE=11]="WEEKLY_FEE",n[n.TRANCHE_DISBURSEMENT=12]="TRANCHE_DISBURSEMENT",n[n.SHAREACCOUNT_ACTIVATION=13]="SHAREACCOUNT_ACTIVATION",n[n.SHARE_PURCHASE=14]="SHARE_PURCHASE",n[n.SHARE_REDEEM=15]="SHARE_REDEEM",n[n.SAVINGS_NOACTIVITY_FEE=16]="SAVINGS_NOACTIVITY_FEE",n[n.DOMESTIC_ATM_WITHDRAWAL_FEE=21]="DOMESTIC_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_ATM_WITHDRAWAL_FEE=22]="INTERNATIONAL_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_TRANSACTIONS_FEE=23]="INTERNATIONAL_TRANSACTIONS_FEE",n[n.EXTERNAL_CARD_PUSH_TRANSACTION_FEE=24]="EXTERNAL_CARD_PUSH_TRANSACTION_FEE",n[n.EXTERNAL_CARD_PULL_TRANSACTION_FEE=25]="EXTERNAL_CARD_PULL_TRANSACTION_FEE",n[n.TRANSFER_EXECUTE=26]="TRANSFER_EXECUTE",n[n.SAVINGS_DORMANT_FEE=27]="SAVINGS_DORMANT_FEE",n[n.SAVINGS_ESCHEAT_FEE=28]="SAVINGS_ESCHEAT_FEE",n[n.SPECIFIED_MCC_FEE=29]="SPECIFIED_MCC_FEE",n[n.CARD_ORDERING_FEE=30]="CARD_ORDERING_FEE",n[n.CARD_RE_ORDERING_FEE=31]="CARD_RE_ORDERING_FEE",n[n.TRANSFER_RETURN=32]="TRANSFER_RETURN",n[n.LATE_PAYMENT_FEE=33]="LATE_PAYMENT_FEE",n[n.RETURN_PAYMENT_FEE=34]="RETURN_PAYMENT_FEE",n[n.OVER_CREDIT_LIMIT_FEE=35]="OVER_CREDIT_LIMIT_FEE",n[n.STOP_PAYMENT_FEE=36]="STOP_PAYMENT_FEE",n[n.JOINING_FEE=37]="JOINING_FEE",n[n.DIRECT_DEPOSIT_CASH_ADVANCE_FEE=38]="DIRECT_DEPOSIT_CASH_ADVANCE_FEE",n[n.PHYSICAL_CARD_ORDERING_FEE=39]="PHYSICAL_CARD_ORDERING_FEE",n[n.OVERDRAFT_WITHDRAWAL_FEE=40]="OVERDRAFT_WITHDRAWAL_FEE",n[n.NSF_FEE=41]="NSF_FEE",n[n.FX_TRADE_BUY_CURRENCY_FEE=42]="FX_TRADE_BUY_CURRENCY_FEE",n))(K||{}),Q=(i=>(i[i.INVALID=0]="INVALID",i[i.FLAT=1]="FLAT",i[i.PERCENT_OF_AMOUNT=2]="PERCENT_OF_AMOUNT",i[i.PERCENT_OF_AMOUNT_AND_INTEREST=3]="PERCENT_OF_AMOUNT_AND_INTEREST",i[i.PERCENT_OF_INTEREST=4]="PERCENT_OF_INTEREST",i[i.PERCENT_OF_DISBURSEMENT_AMOUNT=5]="PERCENT_OF_DISBURSEMENT_AMOUNT",i[i.PERCENT_OF_MIN_DUE_AMOUNT=6]="PERCENT_OF_MIN_DUE_AMOUNT",i[i.PERCENT_OF_OUTSTANDING_AMOUNT=7]="PERCENT_OF_OUTSTANDING_AMOUNT",i))(Q||{}),X=(r=>(r[r.REGULAR=0]="REGULAR",r[r.ACCOUNT_TRANSFER=1]="ACCOUNT_TRANSFER",r))(X||{}),J=(r=>(r.IN="IN",r.OUT="OUT",r))(J||{}),$=(r=>(r.CREDIT="CREDIT",r.DEBIT="DEBIT",r))($||{}),T=(u=>(u.ALL="ALL",u.ACTIVE="ACTIVE",u.INACTIVE="INACTIVE",u))(T||{}),ht=o.object({chargeStatus:o.nativeEnum(T).optional()}),ee=o.object({name:o.string(),chargeAppliesTo:o.nativeEnum(W),currencyCode:o.string(),locale:o.string().optional(),amount:o.number().nonnegative(),chargeTimeType:o.nativeEnum(K),chargeCalculationType:o.nativeEnum(Q),chargePaymentMode:o.nativeEnum(X).optional(),penalty:o.boolean().optional(),active:o.boolean().optional(),minCap:o.number().optional(),maxCap:o.number().optional(),feeOnMonthDay:o.string().optional(),feeInterval:o.number().optional(),monthDayFormat:o.string().optional(),feeFrequency:o.number().optional(),incomeAccountId:o.number().optional(),taxGroupId:o.number().optional(),ignoreChargesOnNegativeBalance:o.boolean().optional(),applyToExistingAccount:o.boolean().optional(),productIDs:o.array(o.number()).optional(),paymentRail:o.number().optional(),paymentDirection:o.nativeEnum(J).optional(),transferType:o.nativeEnum($).optional(),clientClassificationId:o.number().optional(),applyUpfrontCharge:o.boolean().optional(),collectOnlyTotalDeferCharge:o.boolean().optional(),numberOfExemptedFee:o.union([o.string(),o.number()]).optional(),exemptedFeeAmount:o.union([o.string(),o.number()]).optional(),reverseOnTransferFail:o.boolean().optional(),chargeDueDateOnAccountActivation:o.boolean().optional()}),te=ee.partial(),gt=o.object({id:o.string(),resourceId:o.number(),changes:te.optional()}),oe={resourceId:o.number(),id:o.string()},Nt=o.object(oe),Pt=o.object({id:o.number(),name:o.string(),active:o.boolean(),penalty:o.boolean(),currency:o.object({code:o.string(),name:o.string(),decimalPlaces:o.number(),displaySymbol:o.string(),nameCode:o.string(),displayLabel:o.string()}),amount:o.number(),chargeTimeType:o.object({id:o.number(),code:o.string(),value:o.string()}),chargeAppliesTo:o.object({id:o.number(),code:o.string(),value:o.string()}),chargeCalculationType:o.object({id:o.number(),code:o.string(),value:o.string()}),chargePaymentMode:o.object({id:o.number(),code:o.string(),value:o.string()}),minCap:o.number(),maxCap:o.number(),savingsProducts:o.array(o.object({})),applyToExistingAccount:o.boolean(),ignoreChargesOnNegativeBalance:o.boolean(),isMandatory:o.boolean(),chargeDueDateOnAccountActivation:o.boolean(),clientClassification:o.object({id:o.number(),name:o.string()}),applyUpfrontCharge:o.boolean(),numberOfExemptedFee:o.number(),collectOnlyTotalDeferCharge:o.boolean(),reverseOnTransferFail:o.boolean(),createdByUsername:o.string(),createdDate:o.array(o.number()),exemptedFeeAmount:o.number()});export{Be as AccountDetailsDataZod,re as AccountTypeSchema,Ge as AddressZod,se as AgentSchema,je as BankInformationZod,O as BlockAccountRequestShape,it as BlockAccountRequestZod,x as BlockAccountResponseShape,lt as BlockAccountResponseZod,ie as ClientSchema,v as CloseAccountRequestShape,st as CloseAccountRequestZod,C as CloseAccountResponseShape,ct as CloseAccountResponseZod,N as CreateAndActivateAccountRequestShape,at as CreateAndActivateAccountRequestZod,P as CreateAndActivateAccountResponseShape,rt as CreateAndActivateAccountResponseZod,ee as CreateChargeRequestZod,oe as CreateChargeResponseShape,Nt as CreateChargeResponseZod,Ye as CreateCreditProductRequestZod,We as CreateCreditProductResponseZod,M as CreateLoanProductRequestShape,H as CreateLoanProductRequestZod,V as CreateLoanProductResponseShape,Rt as CreateLoanProductResponseZod,Le as CreatePaymentInputShape,De as CreatePaymentInputZod,He as CreateRecipientRequestShape,Ve as CreateRecipientRequestZod,pe as CreateTransferInputShape,fe as CreateTransferInputZod,Se as CreateTransferOutputShape,ve as CreateTransferOutputZod,I as GetAccountsOfClientResponseShape,tt as GetAccountsOfClientResponseZod,h as GetAccountsRequestShape,ot as GetAccountsRequestZod,Pt as GetChargeResponseZod,ht as GetChargesRequestZod,Qe as GetCreditProductResponseZod,Xe as GetCreditProductsResponseZod,z as GetLoanProductResponseShape,Y as GetLoanProductResponseZod,ft as GetLoanProductsResponseZod,ue as GetTransferInputShape,Ie as GetTransferInputZod,_ as HoldAmountRequestShape,pt as HoldAmountRequestZod,y as HoldAmountResponseShape,ut as HoldAmountResponseZod,de as MarkAsReturnInputShape,he as MarkAsReturnInputZod,ce as PartySchema,Oe as PaymentRailZod,qe as PaymentResponseZod,ye as PaymentShape,Ce as PaymentStatusZod,xe as PaymentTypeZod,me as ProcessOutputShape,Ne as ProcessOutputZod,ze as RecipientFilterKeyZod,Ee as RecipientRequestShape,Me as RecipientRequestZod,Ze as RecipientShape,we as RecipientZod,ke as RecipientsZod,f as SavingAccountShape,et as SavingAccountZod,_e as SortOrderZod,ne as TransferPaymentRailZod,ae as TransferPaymentTypeZod,Re as TransferResponseShape,Pe as TransferResponseZod,le as TransferShape,Ae as TransferZod,g as UpdateAccountRequestShape,nt as UpdateAccountRequestZod,te as UpdateChargeRequestZod,gt as UpdateChargeResponseZod,Je as UpdateCreditProductRequestZod,Ke as UpdateCreditProductResponseZod,It as UpdateLoanProductRequestZod,Ue as UpdatePaymentInputShape,Fe as UpdatePaymentInputZod,be as UpdateTraceNumbersInputShape,ge as UpdateTraceNumbersInputZod,L as UserDetailShape,bt as UserDetailZod};
|
|
1
|
+
import{A as ye,B as Le,C as De,D as Ue,E as Fe,F as qe,I as je,J as Be,K as Ge,L as Ze,M as we,N as ke,O as Ee,P as Me,Q as He,R as Ve,S as ze,U as Ye,V as We,W as Ke,X as Qe,Y as Xe,Z as Je,a as ne,b as ae,c as re,d as se,e as ce,f as ie,g as le,h as pe,i as ue,j as de,k as be,l as Re,m as me,n as Se,o as Ae,p as fe,q as Ie,r as he,s as Ne,t as Pe,u as ge,v as ve,w as Ce,x as Oe,y as xe,z as _e}from"../chunk-M5BCLAOC.mjs";import"../chunk-2PLZ534I.mjs";import{z as e}from"zod";var R=e.object({id:e.number(),code:e.string(),value:e.string(),submittedAndPendingApproval:e.boolean(),approved:e.boolean(),rejected:e.boolean(),withdrawnByApplicant:e.boolean(),active:e.boolean(),closed:e.boolean(),prematureClosed:e.boolean(),transferInProgress:e.boolean(),transferOnHold:e.boolean(),matured:e.boolean()}),d=e.object({code:e.string(),name:e.string(),decimalPlaces:e.number(),inMultiplesOf:e.number(),displaySymbol:e.string(),nameCode:e.string(),displayLabel:e.string(),currencyCodeInDigit:e.number().optional(),isBaseCurrency:e.boolean().optional()}),$e=e.object({id:e.number(),code:e.string(),value:e.string()}),m=e.object({submittedOnDate:e.array(e.number()),submittedByUsername:e.string(),submittedByFirstname:e.string(),submittedByLastname:e.string(),approvedOnDate:e.array(e.number()).optional(),approvedByUsername:e.string().optional(),approvedByFirstname:e.string().optional(),approvedByLastname:e.string().optional(),activatedOnDate:e.array(e.number()).optional(),activatedByUsername:e.string().optional(),activatedByFirstname:e.string().optional(),activatedByLastname:e.string().optional()}),S=e.object({id:e.number(),code:e.string(),value:e.string(),none:e.boolean(),inactive:e.boolean(),dormant:e.boolean(),escheat:e.boolean(),block:e.boolean(),blockCredit:e.boolean(),blockDebit:e.boolean()}),A=e.object({id:e.number(),code:e.string(),value:e.string()}),Te=e.object({id:e.number(),accountNo:e.string(),productId:e.number(),productName:e.string(),shortProductName:e.string(),status:R,currency:d,accountBalance:e.number(),accountType:$e,timeline:m,subStatus:S,lastActiveTransactionDate:e.array(e.number()).optional(),depositType:A,availableBalance:e.number(),allowPrepaidCard:e.boolean(),primaryAccount:e.record(e.any())}),f={id:e.number(),accountNo:e.string(),depositType:A,clientId:e.number(),clientName:e.string(),savingsProductId:e.number(),savingsProductName:e.string(),fieldOfficerId:e.number(),status:R,subStatus:S,timeline:m,currency:d,nominalAnnualInterestRate:e.number(),interestCompoundingPeriodType:e.object({id:e.number(),code:e.string(),value:e.string()}),interestPostingPeriodType:e.object({id:e.number(),code:e.string(),value:e.string()}),interestCalculationType:e.object({id:e.number(),code:e.string(),value:e.string()}),interestCalculationDaysInYearType:e.object({id:e.number(),code:e.string(),value:e.string()}),lockinPeriodFrequency:e.number().optional(),lockinPeriodFrequencyType:e.object({id:e.number(),code:e.string(),value:e.string()}).optional(),withdrawalFeeForTransfers:e.boolean(),allowOverdraft:e.boolean(),enforceMinRequiredBalance:e.boolean(),onHoldFunds:e.number(),withHoldTax:e.boolean(),lastActiveTransactionDate:e.array(e.number()),isDormancyTrackingActive:e.boolean(),savingsAmountOnHold:e.number(),summary:e.object({currency:d,totalDeposits:e.number(),totalInterestEarned:e.number(),totalInterestPosted:e.number(),accountBalance:e.number(),totalOverdraftInterestDerived:e.number(),interestNotPosted:e.number(),lastInterestCalculationDate:e.array(e.number()).optional(),availableBalance:e.number()}),isLinkedToFloatingInterestRates:e.boolean(),interestRateDifferential:e.number(),overdraftInterestRateDifferential:e.number(),floatingRateId:e.number(),isBaseLendingRate:e.boolean(),isFloatingInterestRateCalculationAllowed:e.boolean(),bankDetails:e.object({routingNumber:e.string(),name:e.string(),swiftCode:e.string(),address:e.string(),city:e.string(),postcode:e.string()}),skipCollectTransferCharge:e.boolean(),cardRestricted:e.boolean(),overdraftLimit:e.number(),minRequiredBalance:e.number(),minBalanceForInterestCalculation:e.number(),minOverdraftForInterestCalculation:e.number(),overdraftMinimumDue:e.number(),currentFloatingInterestPeriod:e.object({fromDate:e.array(e.number()).optional(),interestRate:e.number().optional(),isDifferentialToBLR:e.boolean().optional()}).optional(),floatingRateName:e.string().optional(),floatingRateDifferential:e.number().optional(),parentAccount:e.object({withdrawalFeeForTransfers:e.boolean(),allowOverdraft:e.boolean(),enforceMinRequiredBalance:e.boolean(),withHoldTax:e.boolean(),isDormancyTrackingActive:e.boolean(),isLinkedToFloatingInterestRates:e.boolean(),isBaseLendingRate:e.boolean(),skipCollectTransferCharge:e.boolean(),cardRestricted:e.boolean(),allowPrepaidCard:e.boolean(),prepaidAccount:e.boolean()}),allowPrepaidCard:e.boolean(),prepaidAccount:e.boolean(),prepaidLimitAmount:e.number()},et=e.object(f),I={savingsAccounts:e.array(Te)},tt=e.object(I),h={showReservedAccount:e.boolean().optional().default(!1)},ot=e.object(h),N={clientId:e.number(),productId:e.number(),submittedOnDate:e.string(),nominalAnnualInterestRate:e.string(),minRequiredOpeningBalance:e.string(),lockinPeriodFrequency:e.string(),withdrawalFeeForTransfers:e.boolean(),allowOverdraft:e.boolean(),overdraftLimit:e.number(),minOverdraftForInterestCalculation:e.number(),enforceMinRequiredBalance:e.boolean(),minRequiredBalance:e.number(),withHoldTax:e.boolean(),interestCompoundingPeriodType:e.number(),interestPostingPeriodType:e.number(),interestCalculationType:e.number(),interestCalculationDaysInYearType:e.number(),fieldOfficerId:e.number(),lockinPeriodFrequencyType:e.number(),locale:e.string(),dateFormat:e.string(),monthDayFormat:e.string(),charges:e.array(e.any())},nt=e.object(N),P={clientId:e.number(),productId:e.number(),locale:e.string(),dateFormat:e.string(),submittedOnDate:e.string(),monthDayFormat:e.string(),nominalAnnualInterestRate:e.number().optional(),minRequiredOpeningBalance:e.string().optional(),lockinPeriodFrequency:e.number().optional(),withdrawalFeeForTransfers:e.boolean().optional(),allowOverdraft:e.boolean().optional(),overdraftLimit:e.number().optional(),nominalAnnualInterestRateOverdraft:e.number().optional(),minOverdraftForInterestCalculation:e.number().optional(),enforceMinRequiredBalance:e.boolean().optional(),minRequiredBalance:e.number().optional(),withHoldTax:e.boolean().optional(),interestCompoundingPeriodType:e.number().optional(),interestPostingPeriodType:e.number().optional(),interestCalculationType:e.number().optional(),interestCalculationDaysInYearType:e.number().optional(),externalId:e.string().optional(),lockinPeriodFrequencyType:e.number().optional(),nickname:e.string().optional(),charges:e.array(e.object({chargeId:e.number(),amount:e.number().optional(),dueDate:e.string().optional(),feeInterval:e.number().optional()})).optional()},at=e.object(P),g={officeId:e.number(),clientId:e.number(),savingsId:e.number(),resourceId:e.number(),changes:e.object({status:e.string(),locale:e.string(),dateFormat:e.string(),activatedOnDate:e.string()})},rt=e.object(g),v={closedOnDate:e.string().optional(),dateFormat:e.string().optional(),locale:e.string().optional(),withdrawBalance:e.boolean().optional(),postInterestValidationOnClosure:e.boolean().optional(),ignoreNegativeBalance:e.boolean().optional(),paymentTypeId:e.number().optional(),closeReasonCodeId:e.number()},st=e.object(v),C={officeId:e.number(),clientId:e.number(),savingsId:e.number(),resourceId:e.number(),changes:e.object({status:e.string(),locale:e.string(),dateFormat:e.string(),closedOnDate:e.string(),closeReason:e.object({id:e.number(),name:e.string(),codeName:e.string()})})},ct=e.object(C),O={blockReasonCodeId:e.number()},it=e.object(O),x={id:e.number(),clientId:e.number(),officeId:e.number(),savingsId:e.number(),resourceId:e.number(),changes:e.object({subStatus:e.object({id:e.number(),code:e.string(),value:e.string(),none:e.boolean(),inactive:e.boolean(),dormant:e.boolean(),escheat:e.boolean(),block:e.boolean(),blockCredit:e.boolean(),blockDebit:e.boolean()}),blockReason:e.object({id:e.number(),name:e.string(),codeName:e.string()})})},lt=e.object(x),_={transactionAmount:e.number(),holdAmountReasonCodeId:e.number()},pt=e.object(_),y={id:e.string(),resourceId:e.number(),changes:e.object({savingsAmountOnHold:e.number(),blockAmountReason:e.object({id:e.number(),name:e.string(),codeName:e.string()})})},ut=e.object(y);import{z as a}from"zod";var dt=a.object({id:a.number(),name:a.string(),description:a.string(),disabled:a.boolean(),isSelfService:a.boolean(),position:a.number()}),L={username:a.string(),userId:a.number(),accessToken:a.string(),authenticated:a.boolean(),officeId:a.number(),officeName:a.string(),roles:a.array(dt),permissions:a.array(a.string()),shouldRenewPassword:a.boolean(),isTwoFactorAuthenticationRequired:a.boolean(),isSelfServiceUser:a.boolean()},bt=a.object(L),D={username:a.string(),firstname:a.string(),lastname:a.string(),officeId:a.number(),roles:a.array(a.number()),sendPasswordToEmail:a.boolean().optional(),email:a.string().email().optional(),password:a.string().optional(),repeatPassword:a.string().optional(),enabled:a.boolean().optional(),clients:a.array(a.number()).optional()},xt=a.object(D),_t=a.object({id:a.string(),officeId:a.number(),clientId:a.number(),resourceId:a.number(),data:a.object({client:a.object({officeName:a.string(),displayName:a.string(),accountNo:a.number(),id:a.number(),status:a.string()}),maker:a.object({firstName:a.string(),lastName:a.string(),id:a.number(),email:a.string(),username:a.string()}),createdUser:a.object({firstName:a.string(),lastName:a.string(),id:a.number(),email:a.string(),username:a.string()})})}),yt=a.object({userId:a.number(),...D}),U={officeId:a.number(),clientId:a.number(),resourceId:a.number()},Lt=a.object({...U,changes:a.record(a.unknown()).optional()}),Dt=a.object({...U});import{z as t}from"zod";var b=t.object({valueConditionType:t.union([t.literal(2),t.literal(3)]),borrowerCycleNumber:t.number(),defaultValue:t.number(),minValue:t.number(),maxValue:t.number()}),F=(c=>(c[c.DAYS=0]="DAYS",c[c.WEEKS=1]="WEEKS",c[c.MONTHS=2]="MONTHS",c[c.YEARS=3]="YEARS",c))(F||{}),q=(r=>(r[r.MONTHS=2]="MONTHS",r[r.YEARS=3]="YEARS",r))(q||{}),j=(r=>(r[r.EQUAL_PRINCIPAL=0]="EQUAL_PRINCIPAL",r[r.EQUAL_INSTALLMENTS=1]="EQUAL_INSTALLMENTS",r))(j||{}),B=(r=>(r[r.FLAT=0]="FLAT",r[r.DECLINING=1]="DECLINING",r))(B||{}),G=(r=>(r[r.DAILY=0]="DAILY",r[r.SAME_AS_REPAYMENT=1]="SAME_AS_REPAYMENT",r))(G||{}),Z=(s=>(s[s.PENALTIES_FEES_INT_PRINCIPAL=1]="PENALTIES_FEES_INT_PRINCIPAL",s[s.HEAVENSFAMILY_UNIQUE=2]="HEAVENSFAMILY_UNIQUE",s[s.CREOCORE_UNIQUE=3]="CREOCORE_UNIQUE",s[s.OVERDUE_DUE_FEE_INT_PRINCIPAL=4]="OVERDUE_DUE_FEE_INT_PRINCIPAL",s[s.PRINCIPAL_INT_PENALTIES_FEES=5]="PRINCIPAL_INT_PENALTIES_FEES",s[s.INT_PRINCIPAL_PENALTIES_FEES=6]="INT_PRINCIPAL_PENALTIES_FEES",s[s.EARLY_REPAYMENT_STRATEGY=7]="EARLY_REPAYMENT_STRATEGY",s))(Z||{}),w=(c=>(c[c.NONE=1]="NONE",c[c.CASH_BASED=2]="CASH_BASED",c[c.ACCRUAL_PERIODIC=3]="ACCRUAL_PERIODIC",c[c.ACCRUAL_UPFRONT=4]="ACCRUAL_UPFRONT",c))(w||{}),k=(r=>(r[r.ACTUAL=1]="ACTUAL",r[r.DAYS_30=2]="DAYS_30",r))(k||{}),E=(c=>(c[c.ACTUAL=1]="ACTUAL",c[c.DAYS_360=360]="DAYS_360",c[c.DAYS_364=364]="DAYS_364",c[c.DAYS_365=365]="DAYS_365",c))(E||{}),Rt=t.object({amortizationType:t.boolean().optional(),interestType:t.boolean().optional(),transactionProcessingStrategyId:t.boolean().optional(),interestCalculationPeriodType:t.boolean().optional(),inArrearsTolerance:t.boolean().optional(),repaymentEvery:t.boolean().optional(),graceOnPrincipalAndInterestPayment:t.boolean().optional(),graceOnArrearsAgeing:t.boolean().optional()}),M={name:t.string(),shortName:t.string(),currencyCode:t.string(),digitsAfterDecimal:t.number(),inMultiplesOf:t.number(),principal:t.number(),numberOfRepayments:t.number(),repaymentEvery:t.number(),repaymentFrequencyType:t.nativeEnum(F).default(1),repaymentRescheduleOnHoliday:t.boolean(),paymentDueOnNonWorkingDays:t.number().optional(),interestRatePerPeriod:t.string(),interestRateFrequencyType:t.nativeEnum(q),amortizationType:t.nativeEnum(j),interestType:t.nativeEnum(B),interestCalculationPeriodType:t.nativeEnum(G),transactionProcessingStrategyId:t.nativeEnum(Z),accountingRule:t.nativeEnum(w),isInterestRecalculationEnabled:t.boolean(),daysInMonthType:t.nativeEnum(k),daysInYearType:t.nativeEnum(E),locale:t.string(),description:t.string().optional(),fundId:t.number().optional(),installmentAmountInMultiplesOf:t.number().optional(),minimumDaysBetweenDisbursalAndFirstRepayment:t.number().optional(),inArrearsTolerance:t.number().optional(),principalThresholdForLastInstalment:t.number().optional(),canDefineInstallmentAmount:t.boolean().optional(),graceOnPrincipalPayment:t.number().optional(),graceOnInterestPayment:t.number().optional(),graceOnInterestCharged:t.number().optional(),graceOnArrearsAgeing:t.number().optional(),overdueDaysForNPA:t.number().optional(),accountMovesOutOfNPAOnlyOnArrearsCompletion:t.boolean().optional(),allowPartialPeriodInterestCalculation:t.boolean().optional(),includeInBorrowerCycle:t.union([t.boolean(),t.string()]).optional(),useBorrowerCycle:t.boolean().optional(),principalVariationsForBorrowerCycle:t.array(b).optional(),interestRateVariationsForBorrowerCycle:t.array(b).optional(),numberOfRepaymentVariationsForBorrowerCycle:t.array(b).optional(),allowAttributeOverrides:Rt.optional(),charges:t.array(t.record(t.any())).optional(),dateFormat:t.string()},H=t.object(M).catchall(t.any()),V={id:t.number(),resourceId:t.number()},mt=t.object(V),p=t.object({id:t.number(),code:t.string(),value:t.string()}),St=t.object({code:t.string(),name:t.string(),decimalPlaces:t.number(),inMultiplesOf:t.number(),displaySymbol:t.string(),nameCode:t.string(),displayLabel:t.string()}),l=t.object({id:t.number(),name:t.string(),glCode:t.number()}),At=t.object({fundSourceAccount:l,loanPortfolioAccount:l,transfersInSuspenseAccount:l,interestOnLoanAccount:l,incomeFromFeeAccount:l,incomeFromPenaltyAccount:l,writeOffAccount:l,overpaymentLiabilityAccount:l}).catchall(t.any()),z={id:t.number(),name:t.string(),shortName:t.string(),includeInBorrowerCycle:t.boolean(),useBorrowerCycle:t.boolean(),status:t.string(),currency:St,principal:t.number(),minPrincipal:t.number(),maxPrincipal:t.number(),numberOfRepayments:t.number(),repaymentEvery:t.number(),repaymentFrequencyType:p,interestRatePerPeriod:t.number(),interestRateFrequencyType:p,annualInterestRate:t.number(),amortizationType:p,interestType:p,interestCalculationPeriodType:p,transactionProcessingStrategyId:t.number(),transactionProcessingStrategyName:t.string(),charges:t.array(t.any()),principalVariationsForBorrowerCycle:t.array(t.any()),interestRateVariationsForBorrowerCycle:t.array(t.any()),numberOfRepaymentVariationsForBorrowerCycle:t.array(t.any()),accountingRule:p,accountingMappings:At,paymentChannelToFundSourceMappings:t.array(t.any()),feeToIncomeAccountMappings:t.array(t.any()),multiDisburseLoan:t.boolean(),maxTrancheCount:t.number(),outstandingLoanBalance:t.number(),overdueDaysForNPA:t.number(),principalThresholdForLastInstalment:t.number(),paymentDueOnNonWorkingDaysType:p,repaymentRescheduleOnHoliday:t.boolean()},Y=t.object(z).catchall(t.any()),ft=t.array(Y),It=H.partial();import{z as o}from"zod";var W=(s=>(s[s.INVALID=0]="INVALID",s[s.LOAN=1]="LOAN",s[s.SAVINGS=2]="SAVINGS",s[s.CLIENT=3]="CLIENT",s[s.SHARES=4]="SHARES",s[s.TRANSFER=5]="TRANSFER",s[s.CREDIT_CARD=6]="CREDIT_CARD",s))(W||{}),K=(n=>(n[n.INVALID=0]="INVALID",n[n.DISBURSEMENT=1]="DISBURSEMENT",n[n.SPECIFIED_DUE_DATE=2]="SPECIFIED_DUE_DATE",n[n.SAVINGS_ACTIVATION=3]="SAVINGS_ACTIVATION",n[n.SAVINGS_CLOSURE=4]="SAVINGS_CLOSURE",n[n.WITHDRAWAL_FEE=5]="WITHDRAWAL_FEE",n[n.ANNUAL_FEE=6]="ANNUAL_FEE",n[n.MONTHLY_FEE=7]="MONTHLY_FEE",n[n.INSTALMENT_FEE=8]="INSTALMENT_FEE",n[n.OVERDUE_INSTALLMENT=9]="OVERDUE_INSTALLMENT",n[n.OVERDRAFT_FEE=10]="OVERDRAFT_FEE",n[n.WEEKLY_FEE=11]="WEEKLY_FEE",n[n.TRANCHE_DISBURSEMENT=12]="TRANCHE_DISBURSEMENT",n[n.SHAREACCOUNT_ACTIVATION=13]="SHAREACCOUNT_ACTIVATION",n[n.SHARE_PURCHASE=14]="SHARE_PURCHASE",n[n.SHARE_REDEEM=15]="SHARE_REDEEM",n[n.SAVINGS_NOACTIVITY_FEE=16]="SAVINGS_NOACTIVITY_FEE",n[n.DOMESTIC_ATM_WITHDRAWAL_FEE=21]="DOMESTIC_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_ATM_WITHDRAWAL_FEE=22]="INTERNATIONAL_ATM_WITHDRAWAL_FEE",n[n.INTERNATIONAL_TRANSACTIONS_FEE=23]="INTERNATIONAL_TRANSACTIONS_FEE",n[n.EXTERNAL_CARD_PUSH_TRANSACTION_FEE=24]="EXTERNAL_CARD_PUSH_TRANSACTION_FEE",n[n.EXTERNAL_CARD_PULL_TRANSACTION_FEE=25]="EXTERNAL_CARD_PULL_TRANSACTION_FEE",n[n.TRANSFER_EXECUTE=26]="TRANSFER_EXECUTE",n[n.SAVINGS_DORMANT_FEE=27]="SAVINGS_DORMANT_FEE",n[n.SAVINGS_ESCHEAT_FEE=28]="SAVINGS_ESCHEAT_FEE",n[n.SPECIFIED_MCC_FEE=29]="SPECIFIED_MCC_FEE",n[n.CARD_ORDERING_FEE=30]="CARD_ORDERING_FEE",n[n.CARD_RE_ORDERING_FEE=31]="CARD_RE_ORDERING_FEE",n[n.TRANSFER_RETURN=32]="TRANSFER_RETURN",n[n.LATE_PAYMENT_FEE=33]="LATE_PAYMENT_FEE",n[n.RETURN_PAYMENT_FEE=34]="RETURN_PAYMENT_FEE",n[n.OVER_CREDIT_LIMIT_FEE=35]="OVER_CREDIT_LIMIT_FEE",n[n.STOP_PAYMENT_FEE=36]="STOP_PAYMENT_FEE",n[n.JOINING_FEE=37]="JOINING_FEE",n[n.DIRECT_DEPOSIT_CASH_ADVANCE_FEE=38]="DIRECT_DEPOSIT_CASH_ADVANCE_FEE",n[n.PHYSICAL_CARD_ORDERING_FEE=39]="PHYSICAL_CARD_ORDERING_FEE",n[n.OVERDRAFT_WITHDRAWAL_FEE=40]="OVERDRAFT_WITHDRAWAL_FEE",n[n.NSF_FEE=41]="NSF_FEE",n[n.FX_TRADE_BUY_CURRENCY_FEE=42]="FX_TRADE_BUY_CURRENCY_FEE",n))(K||{}),Q=(i=>(i[i.INVALID=0]="INVALID",i[i.FLAT=1]="FLAT",i[i.PERCENT_OF_AMOUNT=2]="PERCENT_OF_AMOUNT",i[i.PERCENT_OF_AMOUNT_AND_INTEREST=3]="PERCENT_OF_AMOUNT_AND_INTEREST",i[i.PERCENT_OF_INTEREST=4]="PERCENT_OF_INTEREST",i[i.PERCENT_OF_DISBURSEMENT_AMOUNT=5]="PERCENT_OF_DISBURSEMENT_AMOUNT",i[i.PERCENT_OF_MIN_DUE_AMOUNT=6]="PERCENT_OF_MIN_DUE_AMOUNT",i[i.PERCENT_OF_OUTSTANDING_AMOUNT=7]="PERCENT_OF_OUTSTANDING_AMOUNT",i))(Q||{}),X=(r=>(r[r.REGULAR=0]="REGULAR",r[r.ACCOUNT_TRANSFER=1]="ACCOUNT_TRANSFER",r))(X||{}),J=(r=>(r.IN="IN",r.OUT="OUT",r))(J||{}),$=(r=>(r.CREDIT="CREDIT",r.DEBIT="DEBIT",r))($||{}),T=(u=>(u.ALL="ALL",u.ACTIVE="ACTIVE",u.INACTIVE="INACTIVE",u))(T||{}),ht=o.object({chargeStatus:o.nativeEnum(T).optional()}),ee=o.object({name:o.string(),chargeAppliesTo:o.nativeEnum(W),currencyCode:o.string(),locale:o.string().optional(),amount:o.number().nonnegative(),chargeTimeType:o.nativeEnum(K),chargeCalculationType:o.nativeEnum(Q),chargePaymentMode:o.nativeEnum(X).optional(),penalty:o.boolean().optional(),active:o.boolean().optional(),minCap:o.number().optional(),maxCap:o.number().optional(),feeOnMonthDay:o.string().optional(),feeInterval:o.number().optional(),monthDayFormat:o.string().optional(),feeFrequency:o.number().optional(),incomeAccountId:o.number().optional(),taxGroupId:o.number().optional(),ignoreChargesOnNegativeBalance:o.boolean().optional(),applyToExistingAccount:o.boolean().optional(),productIDs:o.array(o.number()).optional(),paymentRail:o.number().optional(),paymentDirection:o.nativeEnum(J).optional(),transferType:o.nativeEnum($).optional(),clientClassificationId:o.number().optional(),applyUpfrontCharge:o.boolean().optional(),collectOnlyTotalDeferCharge:o.boolean().optional(),numberOfExemptedFee:o.union([o.string(),o.number()]).optional(),exemptedFeeAmount:o.union([o.string(),o.number()]).optional(),reverseOnTransferFail:o.boolean().optional(),chargeDueDateOnAccountActivation:o.boolean().optional()}),te=ee.partial(),Nt=o.object({id:o.string(),resourceId:o.number(),changes:te.optional()}),oe={resourceId:o.number(),id:o.string()},Pt=o.object(oe),gt=o.object({id:o.number(),name:o.string(),active:o.boolean(),penalty:o.boolean(),currency:o.object({code:o.string(),name:o.string(),decimalPlaces:o.number(),displaySymbol:o.string(),nameCode:o.string(),displayLabel:o.string()}),amount:o.number(),chargeTimeType:o.object({id:o.number(),code:o.string(),value:o.string()}),chargeAppliesTo:o.object({id:o.number(),code:o.string(),value:o.string()}),chargeCalculationType:o.object({id:o.number(),code:o.string(),value:o.string()}),chargePaymentMode:o.object({id:o.number(),code:o.string(),value:o.string()}),minCap:o.number(),maxCap:o.number(),savingsProducts:o.array(o.object({})),applyToExistingAccount:o.boolean(),ignoreChargesOnNegativeBalance:o.boolean(),isMandatory:o.boolean(),chargeDueDateOnAccountActivation:o.boolean(),clientClassification:o.object({id:o.number(),name:o.string()}),applyUpfrontCharge:o.boolean(),numberOfExemptedFee:o.number(),collectOnlyTotalDeferCharge:o.boolean(),reverseOnTransferFail:o.boolean(),createdByUsername:o.string(),createdDate:o.array(o.number()),exemptedFeeAmount:o.number()});export{Be as AccountDetailsDataZod,re as AccountTypeSchema,Ge as AddressZod,se as AgentSchema,je as BankInformationZod,O as BlockAccountRequestShape,it as BlockAccountRequestZod,x as BlockAccountResponseShape,lt as BlockAccountResponseZod,ie as ClientSchema,v as CloseAccountRequestShape,st as CloseAccountRequestZod,C as CloseAccountResponseShape,ct as CloseAccountResponseZod,P as CreateAndActivateAccountRequestShape,at as CreateAndActivateAccountRequestZod,g as CreateAndActivateAccountResponseShape,rt as CreateAndActivateAccountResponseZod,ee as CreateChargeRequestZod,oe as CreateChargeResponseShape,Pt as CreateChargeResponseZod,Ye as CreateCreditProductRequestZod,We as CreateCreditProductResponseZod,M as CreateLoanProductRequestShape,H as CreateLoanProductRequestZod,V as CreateLoanProductResponseShape,mt as CreateLoanProductResponseZod,Le as CreatePaymentInputShape,De as CreatePaymentInputZod,He as CreateRecipientRequestShape,Ve as CreateRecipientRequestZod,pe as CreateTransferInputShape,fe as CreateTransferInputZod,Se as CreateTransferOutputShape,ve as CreateTransferOutputZod,f as GetAccountResponseShape,et as GetAccountResponseZod,I as GetAccountsOfClientResponseShape,tt as GetAccountsOfClientResponseZod,h as GetAccountsRequestShape,ot as GetAccountsRequestZod,gt as GetChargeResponseZod,ht as GetChargesRequestZod,Qe as GetCreditProductResponseZod,Xe as GetCreditProductsResponseZod,z as GetLoanProductResponseShape,Y as GetLoanProductResponseZod,ft as GetLoanProductsResponseZod,ue as GetTransferInputShape,Ie as GetTransferInputZod,_ as HoldAmountRequestShape,pt as HoldAmountRequestZod,y as HoldAmountResponseShape,ut as HoldAmountResponseZod,de as MarkAsReturnInputShape,he as MarkAsReturnInputZod,ce as PartySchema,Oe as PaymentRailZod,qe as PaymentResponseZod,ye as PaymentShape,Ce as PaymentStatusZod,xe as PaymentTypeZod,Re as ProcessOutputShape,Pe as ProcessOutputZod,ze as RecipientFilterKeyZod,Ee as RecipientRequestShape,Me as RecipientRequestZod,Ze as RecipientShape,we as RecipientZod,ke as RecipientsZod,_e as SortOrderZod,ne as TransferPaymentRailZod,ae as TransferPaymentTypeZod,me as TransferResponseShape,ge as TransferResponseZod,le as TransferShape,Ae as TransferZod,N as UpdateAccountRequestShape,nt as UpdateAccountRequestZod,te as UpdateChargeRequestZod,Nt as UpdateChargeResponseZod,Je as UpdateCreditProductRequestZod,Ke as UpdateCreditProductResponseZod,It as UpdateLoanProductRequestZod,Ue as UpdatePaymentInputShape,Fe as UpdatePaymentInputZod,be as UpdateTraceNumbersInputShape,Ne as UpdateTraceNumbersInputZod,L as UserDetailShape,bt as UserDetailZod};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mbanq/core-sdk-js",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.3",
|
|
4
4
|
"description": "A comprehensive JavaScript SDK for interacting with the Mbanq payment API. Features type-safe payment operations, multi-tenant support, and Zod validation.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|