@mbanq/core-sdk-js 0.46.1 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{z as n}from"zod";var i=n.enum(["ACH","SAMEDAYACH"]),h=n.enum(["CREDIT","DEBIT"]),I=n.enum(["CHECKING","SAVINGS"]),l=n.record(n.union([n.string(),n.number(),n.boolean()])),C=n.object({type:n.string(),value:n.string()}),A=n.object({name:n.string(),identifier:n.string()}),u=n.object({identifier:n.string(),name:n.string(),accountType:I}),d=n.object({incomingReturnFile:n.string().optional(),outgoingReturnFile:n.string().optional()}),T=n.object({traceMapping:n.string(),CoreFileKey:n.string().optional(),CoreBatch:n.number().optional(),CoreSeq:n.number().optional()}),P=n.object({id:n.number(),accountNo:n.string(),displayName:n.string(),legalForm:n.object({code:n.string(),value:n.string()}),identifiers:n.array(C),ofLoanCycle:n.number(),ofLoanActive:n.number(),activeDepositAccount:n.number()}),y={type:n.string(),paymentType:i,paymentSubType:n.string().optional(),currency:n.string(),fileUrl:n.string().optional(),amount:n.number(),externalId:n.string(),reference:n.array(n.string()),rawPaymentDetails:l.optional(),statementDescription:n.string().optional(),settlementDate:n.string().optional(),errorCode:n.string().optional(),errorMessage:n.string().optional(),createdAt:n.string().optional(),client:P.optional()},D={type:h,fileUrl:n.string(),paymentType:i,currency:n.literal("USD"),amount:n.number(),debtor:u,creditor:u.extend({agent:A}),reference:n.array(n.string())},N={transferStatus:n.string().optional(),executedAt:n.string(),queryLimit:n.number().optional(),paymentType:i,tenantId:n.string().optional(),accountType:n.string().optional()},E={paymentType:i,externalId:n.string(),returnFileUrl:n.string(),errorCode:n.string(),errorMessage:n.string(),returnDate:n.string().optional(),traceNumbers:d.optional(),rawReturnDetails:l.optional(),tenantId:n.string().optional()},F={externalId:n.string(),traceNumbers:T,tenantId:n.string().optional()},g={id:n.string(),clientId:n.number(),resourceId:n.number(),resourceIdentifier:n.string()},O={totalFilteredRecords:n.number(),pageItems:n.array(n.object(y))},j={...g,data:n.object({amount:n.number()})},ye=n.object({errorMessage:n.string(),paymentType:i}),ge=n.object({fileUrl:n.string(),paymentType:i,traceNumbers:d.optional()}),fe=n.object(y),be=n.object(D),Re=n.object(N),Se=n.object(E),xe=n.object(F),he=n.object(g),Ie=n.object(O),Ce=n.object(j);import{z as e,ZodError as Pe}from"zod";var k=e.enum(["originatorName","originatorAccount","originatorBankRoutingCode","recipientName","recipientAccount","recipientBankRoutingCode","reference","traceNumber","externalId","clientId","dateFormat","locale","originatedBy","paymentRail","paymentType","fromValueDate","toValueDate","fromExecuteDate","toExecuteDate","status","fromReturnDate","toReturnDate","isSettlement","orderBy","sortOrder"]),s=e.enum(["DRAFT","AML_SCREENING","AML_REJECTED","EXECUTION_SCHEDULED","EXECUTION_PROCESSING","EXECUTION_SUCCESS","EXECUTION_FAILURE","RETURNED","CANCELLED","COMPLIANCE_FAILURE","DELETED","UNKNOWN"]),a=e.enum(["ACH","SAMEDAYACH","WIRE","SWIFT","INTERNAL","FXPAY","CARD"]),p=e.enum(["CREDIT","DEBIT"]),x=e.enum(["ASC","DESC"]),Ne=k.options,Ee=s.options,Fe=a.options,Oe=p.options,je=x.options;var U=e.string().min(1),v=e.string().min(1),L=e.string().min(1),M=e.string().min(1),B=e.string().min(1),w=e.string().min(1),q=e.string().min(1),V=e.string().min(1),_=e.string().min(1),G=e.union([e.string(),e.number()]),K=e.string(),W=e.string(),Y=e.string(),f=e.string(),b=e.string(),R=e.string(),H=e.boolean(),$=e.string();var X={originatorName:U.optional(),originatorAccount:v.optional(),originatorBankRoutingCode:L.optional(),recipientName:M.optional(),recipientAccount:B.optional(),recipientBankRoutingCode:w.optional(),reference:q.optional(),traceNumber:V.optional(),externalId:_.optional(),clientId:G.optional(),dateFormat:K.optional(),locale:W.optional(),originatedBy:Y.optional(),paymentRail:a.optional(),paymentType:p.optional(),fromValueDate:f.optional(),toValueDate:f.optional(),fromExecuteDate:b.optional(),toExecuteDate:b.optional(),status:s.optional(),fromReturnDate:R.optional(),toReturnDate:R.optional(),isSettlement:H.optional(),orderBy:$.optional(),sortOrder:x.optional(),limit:e.number().min(0).optional().describe("Maximum number of records to return. Defaults to 20 if not specified. Set to 0 to return all records."),offset:e.number().min(0).optional()},ze=e.object(X).partial();var Z={id:e.number(),clientId:e.number(),amount:e.number().positive(),correlationId:e.string(),paymentType:p,paymentRail:a,recipient:e.object({cardId:e.string().optional(),recipientType:e.string(),address:e.object({line1:e.string().optional(),line2:e.string().optional(),stateCode:e.string().optional(),countryCode:e.string(),postalCode:e.string().optional()}),name:e.string()}),originator:e.object({accountId:e.string().optional(),recipientType:e.string(),address:e.object({line1:e.string().optional(),line2:e.string().optional(),stateCode:e.string().optional(),countryCode:e.string(),postalCode:e.string().optional()}),name:e.string()}),executedAt:e.string(),createdAt:e.string(),externalId:e.string(),status:s,paymentRailMetaData:e.record(e.string(),e.any()).optional(),currencyData:e.object({code:e.string(),name:e.string(),decimalPlaces:e.number(),displaySymbol:e.string(),nameCode:e.string(),currencyCodeInDigit:e.number(),isBaseCurrency:e.boolean()}),currency:e.string().min(3).max(3)},J=e.object(Z).catchall(e.any()),Q=e.object({line1:e.string().optional(),line2:e.string().optional(),city:e.string().optional(),stateCode:e.string().optional(),countryCode:e.string().optional(),postalCode:e.string().optional()}).optional(),ee=e.object({accountId:e.string()}),S=e.object({name:e.string(),accountId:e.string().optional(),recipientId:e.string().optional(),accountType:e.enum(["CHECKING","SAVINGS"]).optional(),recipientType:e.enum(["INDIVIDUAL","BUSINESS"]).optional(),accountEntity:e.enum(["PERSONAL","BUSINESS"]).optional(),accountNumber:e.string().optional(),bankInformation:e.object({routingNumber:e.string()}).optional(),cardId:e.string().optional(),contactNumber:e.string().optional(),address:Q}),te={amount:e.number().positive(),currency:e.string().min(3).max(3),paymentRail:a,paymentType:p,originator:ee,recipient:S,clientId:e.string().optional(),correspondent:S.optional(),exchangeRate:e.number().positive().optional(),externalId:e.string().optional(),reference:e.union([e.string(),e.array(e.string())]).optional(),paymentRailMetaData:e.record(e.string(),e.any()).optional(),chargeBearer:e.enum(["OUR","BEN","SHA"]).optional(),purposeCode:e.string().optional(),valueDate:e.string().optional(),executionDate:e.string().optional()},ne=e.object(te).catchall(e.any()).refine(o=>(o.paymentRail==="WIRE"||o.paymentRail==="SWIFT")&&o.recipient?o.recipient.name&&o.recipient.address&&o.recipient.address.stateCode&&o.recipient.address.countryCode&&o.recipient.accountNumber&&o.recipient.accountType&&o.recipient.bankInformation:!0,{message:"For WIRE transfers, recipient address with state and country is mandatory"}).refine(o=>o.paymentRail==="INTERNAL"?o.originator.accountId&&o.recipient.accountId:!0,{message:"For INTERNAL transfers, both originator and recipient accountId are mandatory"}).refine(o=>o.paymentRail==="ACH"||o.paymentRail==="SAMEDAYACH"?o.recipient.name&&o.originator.accountId&&o.recipient.accountType&&o.recipient.recipientType&&o.recipient.accountNumber&&o.recipient.bankInformation:!0,{message:"For ACH/SAMEDAYACH transfers, originator and recipient accountId, recipient accountType, originator recipientType, recipient accountNumber and recipient bankInformation are mandatory"}).refine(o=>o.paymentRail==="CARD"&&o.recipient?o.recipient.cardId:!0,{message:"For CARD payments, recipient cardId is mandatory"}).refine(o=>o.paymentRail==="FXPAY"?o.recipient.recipientId&&o.recipient.name&&o.recipient.accountNumber&&o.recipient.accountType&&o.recipient.recipientType&&o.recipient.accountEntity&&o.paymentRailMetaData:!0,{message:"For FXPAY payments, correspondent name and identifier are mandatory"}),re={amount:e.number().positive().optional(),correspondent:e.object({name:e.string().optional(),identifier:e.string().optional(),accountType:e.string().optional()}).optional(),creditor:e.object({name:e.string().optional(),identifier:e.string().optional(),accountType:e.string().optional(),agent:e.object({name:e.string().optional(),identifier:e.string().optional()}).optional()}).optional(),debtor:e.object({name:e.string().optional(),identifier:e.string().optional(),accountType:e.string().optional(),agent:e.object({name:e.string().optional(),identifier:e.string().optional()}).optional()}).optional(),exchangeRate:e.number().positive().optional(),externalId:e.string().optional(),errorCode:e.string().optional(),errorMessage:e.string().optional(),reference:e.union([e.string(),e.array(e.string())]).optional(),paymentRailMetaData:e.record(e.string(),e.any()).optional(),status:s.optional()},oe=e.object(re).catchall(e.any()),ke=e.object({totalFilteredRecords:e.number(),pageItems:e.array(J)});var Ue=o=>ne.parse(o),ve=o=>oe.parse(o);var Le=e.object({id:e.string(),clientId:e.number(),resourceId:e.number(),resourceIdentifier:e.string()});import{z as r,ZodError as we}from"zod";var ae=r.object({routingNumber:r.string(),swiftCode:r.string()}),c=r.object({accountNumber:r.string(),bankInformation:ae}),m=r.object({line1:r.string(),line2:r.string(),city:r.string(),stateCode:r.string(),countryCode:r.string(),postalCode:r.string()}),ie={id:r.number(),clientId:r.number(),nickName:r.string(),firstName:r.string(),lastName:r.string(),businessName:r.string(),emailAddress:r.string(),phoneNumber:r.string(),recipientType:r.string(),paymentRail:r.string(),isOwnAccount:r.boolean(),address:m,accountDetailsData:c},se=r.object(ie),_e=r.array(se),pe={limit:r.number().min(1).optional().describe("Maximum number of records to return. Defaults to 20 if not specified. Set to 0 to return all records."),offset:r.number().min(0).optional(),name:r.string().optional()},Ge=r.object(pe),ce={nickName:r.string(),firstName:r.string(),lastName:r.string(),businessName:r.string().optional(),emailAddress:r.string().email(),phoneNumber:r.string(),recipientType:r.string(),paymentRail:a,isOwnAccount:r.boolean().optional(),address:m.optional(),accountDetailsData:c},Ke=r.object(ce).refine(o=>o.paymentRail==="WIRE"||o.paymentRail==="SWIFT"?o.address!==void 0&&o.address.stateCode!==void 0&&o.address.countryCode!==void 0:!0,{message:"Address with state code and country code is required for WIRE and SWIFT payment rails",path:["address"]}),We=r.enum(["name"]);var me={nickName:r.string().optional(),firstName:r.string().optional(),lastName:r.string().optional(),businessName:r.string().optional(),emailAddress:r.string().email().optional(),phoneNumber:r.string().optional(),recipientType:r.string().optional(),paymentRail:a.optional(),isOwnAccount:r.boolean().optional(),address:m.optional(),accountDetailsData:c.optional()},Ye=r.object(me).refine(o=>o.paymentRail&&o.address&&(o.paymentRail==="WIRE"||o.paymentRail==="SWIFT")?o.address.stateCode!==void 0&&o.address.countryCode!==void 0:!0,{message:"When updating address for WIRE/SWIFT payment rails, state code and country code are required",path:["address"]}),He=r.object({clientId:r.number(),recipientId:r.number()}),$e=r.object({clientId:r.number(),id:r.number()});import t from"zod";var ue=t.object({currencyCode:t.string(),digitsAfterDecimal:t.number(),interestCompoundingPeriodType:t.number(),interestPostingPeriodType:t.number(),interestCalculationType:t.number(),interestCalculationDaysInYearType:t.number(),accountingRule:t.number(),isSecuredCreditProduct:t.boolean(),name:t.string(),shortName:t.string(),description:t.string(),inMultiplesOf:t.number(),isLinkedToFloatingInterestRates:t.boolean(),nominalAnnualInterestRate:t.number(),nominalAnnualPenaltyInterestRate:t.number(),gracePeriod:t.number(),nominalCashAdvanceInterestRate:t.number(),minimumPayCalculationRate:t.number(),minimumPayFixedAmount:t.number(),statementDay:t.number(),charges:t.array(t.object({id:t.number(),isMandatory:t.boolean()})).optional(),disputesInSuspenseAccountId:t.number().optional(),graceForArrearsAging:t.number().optional(),fundSourceAccountId:t.number().optional(),receivableInterestAccountId:t.number().optional(),receivablePenaltyAccountId:t.number().optional(),transfersInSuspenseAccountId:t.number().optional(),creditPortfolioAccountId:t.number().optional(),receivableFeeAccountId:t.number().optional(),interestOnIncomeAccountId:t.number().optional(),incomeFromPenaltyAccountId:t.number().optional(),incomeFromFeeAccountId:t.number().optional(),incomeFromRecoveryAccountId:t.number().optional(),writeOffAccountId:t.number().optional(),overpaymentLiabilityAccountId:t.number().optional(),paymentChannelToFundSourceMappings:t.string().optional(),penaltyToIncomeAccountMappings:t.string().optional(),feeToIncomeAccountMappings:t.string().optional(),locale:t.string().optional()}),Je=t.object({resourceId:t.number()}),Qe=t.object({id:t.string(),resourceId:t.number(),changes:t.object({name:t.string().optional(),shortName:t.string().optional(),inMultiplesOf:t.number().optional(),locale:t.string().optional(),nominalAnnualInterestRate:t.number().optional(),statementDay:t.number().optional(),minimumPayCalculationRate:t.number().optional(),minimumPayFixedAmount:t.number().optional(),charges:t.array(t.object({id:t.number(),isMandatory:t.boolean()})).optional(),paymentChannelToFundSourceMappings:t.array(t.unknown()).optional(),penaltyToIncomeAccountMappings:t.array(t.unknown()).optional(),feeToIncomeAccountMappings:t.array(t.unknown()).optional()}).catchall(t.any()).optional()}),le=t.object({id:t.number(),name:t.string(),shortName:t.string(),description:t.string(),currency:t.object({code:t.string(),name:t.string(),decimalPlaces:t.number(),inMultiplesOf:t.number(),displaySymbol:t.string(),nameCode:t.string(),displayLabel:t.string()}),nominalAnnualInterestRate:t.number(),interestCompoundingPeriodType:t.object({id:t.number(),code:t.string(),value:t.string()}),interestPostingPeriodType:t.object({id:t.number(),code:t.string(),value:t.string()}),interestCalculationType:t.object({id:t.number(),code:t.string(),value:t.string()}),interestCalculationDaysInYearType:t.object({id:t.number(),code:t.string(),value:t.string()}),nominalCashAdvanceInterestRate:t.number(),nominalAnnualPenaltyInterestRate:t.number(),accountingRule:t.object({id:t.number(),code:t.string(),value:t.string()}),charges:t.array(t.object({id:t.number(),isMandatory:t.boolean()})),isLinkedToFloatingInterestRates:t.boolean(),isFloatingInterestRateCalculationAllowed:t.boolean(),isUsedForSuspenseAccounting:t.boolean(),isLinkedWithFundSourceAccount:t.boolean(),isSecuredCreditProduct:t.boolean(),reserveProduct:t.object({id:t.number(),withdrawalFeeForTransfers:t.boolean(),allowOverdraft:t.boolean(),enforceMinRequiredBalance:t.boolean(),withHoldTax:t.boolean(),isLinkedToFloatingInterestRates:t.boolean(),isFloatingInterestRateCalculationAllowed:t.boolean(),isUsedForSuspenseAccounting:t.boolean(),isLinkedWithFundSourceAccount:t.boolean(),isSkipCollectTransferCharge:t.boolean(),isReservedProduct:t.boolean()}).optional(),gracePeriod:t.number(),minimumPayCalculationRate:t.number()}),et=t.array(le),tt=ue.partial();export{i as a,h as b,I as c,A as d,u as e,P as f,y as g,D as h,N as i,E as j,F as k,g as l,O as m,j as n,fe as o,be as p,Re as q,Se as r,xe as s,he as t,Ie as u,Ce as v,s as w,a as x,p as y,x as z,Z as A,te as B,ne as C,re as D,oe as E,ke as F,Ue as G,ve as H,ae as I,c as J,m as K,ie as L,se as M,_e as N,pe as O,Ge as P,ce as Q,Ke as R,We as S,$e as T,ue as U,Je as V,Qe as W,le as X,et as Y,tt as Z};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);var i=_zod.z.enum(["ACH","SAMEDAYACH"]),h= exports.b =_zod.z.enum(["CREDIT","DEBIT"]),I= exports.c =_zod.z.enum(["CHECKING","SAVINGS"]),l=_zod.z.record(_zod.z.union([_zod.z.string(),_zod.z.number(),_zod.z.boolean()])),C=_zod.z.object({type:_zod.z.string(),value:_zod.z.string()}),A= exports.d =_zod.z.object({name:_zod.z.string(),identifier:_zod.z.string()}),u= exports.e =_zod.z.object({identifier:_zod.z.string(),name:_zod.z.string(),accountType:I}),d=_zod.z.object({incomingReturnFile:_zod.z.string().optional(),outgoingReturnFile:_zod.z.string().optional()}),T=_zod.z.object({traceMapping:_zod.z.string(),CoreFileKey:_zod.z.string().optional(),CoreBatch:_zod.z.number().optional(),CoreSeq:_zod.z.number().optional()}),P= exports.f =_zod.z.object({id:_zod.z.number(),accountNo:_zod.z.string(),displayName:_zod.z.string(),legalForm:_zod.z.object({code:_zod.z.string(),value:_zod.z.string()}),identifiers:_zod.z.array(C),ofLoanCycle:_zod.z.number(),ofLoanActive:_zod.z.number(),activeDepositAccount:_zod.z.number()}),y= exports.g ={type:_zod.z.string(),paymentType:i,paymentSubType:_zod.z.string().optional(),currency:_zod.z.string(),fileUrl:_zod.z.string().optional(),amount:_zod.z.number(),externalId:_zod.z.string(),reference:_zod.z.array(_zod.z.string()),rawPaymentDetails:l.optional(),statementDescription:_zod.z.string().optional(),settlementDate:_zod.z.string().optional(),errorCode:_zod.z.string().optional(),errorMessage:_zod.z.string().optional(),createdAt:_zod.z.string().optional(),client:P.optional()},D= exports.h ={type:h,fileUrl:_zod.z.string(),paymentType:i,currency:_zod.z.literal("USD"),amount:_zod.z.number(),debtor:u,creditor:u.extend({agent:A}),reference:_zod.z.array(_zod.z.string())},N= exports.i ={transferStatus:_zod.z.string().optional(),executedAt:_zod.z.string(),queryLimit:_zod.z.number().optional(),paymentType:i,tenantId:_zod.z.string().optional(),accountType:_zod.z.string().optional()},E= exports.j ={paymentType:i,externalId:_zod.z.string(),returnFileUrl:_zod.z.string(),errorCode:_zod.z.string(),errorMessage:_zod.z.string(),returnDate:_zod.z.string().optional(),traceNumbers:d.optional(),rawReturnDetails:l.optional(),tenantId:_zod.z.string().optional()},F= exports.k ={externalId:_zod.z.string(),traceNumbers:T,tenantId:_zod.z.string().optional()},g= exports.l ={id:_zod.z.string(),clientId:_zod.z.number(),resourceId:_zod.z.number(),resourceIdentifier:_zod.z.string()},O= exports.m ={totalFilteredRecords:_zod.z.number(),pageItems:_zod.z.array(_zod.z.object(y))},j= exports.n ={...g,data:_zod.z.object({amount:_zod.z.number()})},ye=_zod.z.object({errorMessage:_zod.z.string(),paymentType:i}),ge=_zod.z.object({fileUrl:_zod.z.string(),paymentType:i,traceNumbers:d.optional()}),fe= exports.o =_zod.z.object(y),be= exports.p =_zod.z.object(D),Re= exports.q =_zod.z.object(N),Se= exports.r =_zod.z.object(E),xe= exports.s =_zod.z.object(F),he= exports.t =_zod.z.object(g),Ie= exports.u =_zod.z.object(O),Ce= exports.v =_zod.z.object(j);var k=_zod.z.enum(["originatorName","originatorAccount","originatorBankRoutingCode","recipientName","recipientAccount","recipientBankRoutingCode","reference","traceNumber","externalId","clientId","dateFormat","locale","originatedBy","paymentRail","paymentType","fromValueDate","toValueDate","fromExecuteDate","toExecuteDate","status","fromReturnDate","toReturnDate","isSettlement","orderBy","sortOrder"]),s= exports.w =_zod.z.enum(["DRAFT","AML_SCREENING","AML_REJECTED","EXECUTION_SCHEDULED","EXECUTION_PROCESSING","EXECUTION_SUCCESS","EXECUTION_FAILURE","RETURNED","CANCELLED","COMPLIANCE_FAILURE","DELETED","UNKNOWN"]),a= exports.x =_zod.z.enum(["ACH","SAMEDAYACH","WIRE","SWIFT","INTERNAL","FXPAY","CARD"]),p= exports.y =_zod.z.enum(["CREDIT","DEBIT"]),x= exports.z =_zod.z.enum(["ASC","DESC"]),Ne=k.options,Ee=s.options,Fe=a.options,Oe=p.options,je=x.options;var U=_zod.z.string().min(1),v=_zod.z.string().min(1),L=_zod.z.string().min(1),M=_zod.z.string().min(1),B=_zod.z.string().min(1),w=_zod.z.string().min(1),q=_zod.z.string().min(1),V=_zod.z.string().min(1),_=_zod.z.string().min(1),G=_zod.z.union([_zod.z.string(),_zod.z.number()]),K=_zod.z.string(),W=_zod.z.string(),Y=_zod.z.string(),f=_zod.z.string(),b=_zod.z.string(),R=_zod.z.string(),H=_zod.z.boolean(),$=_zod.z.string();var X={originatorName:U.optional(),originatorAccount:v.optional(),originatorBankRoutingCode:L.optional(),recipientName:M.optional(),recipientAccount:B.optional(),recipientBankRoutingCode:w.optional(),reference:q.optional(),traceNumber:V.optional(),externalId:_.optional(),clientId:G.optional(),dateFormat:K.optional(),locale:W.optional(),originatedBy:Y.optional(),paymentRail:a.optional(),paymentType:p.optional(),fromValueDate:f.optional(),toValueDate:f.optional(),fromExecuteDate:b.optional(),toExecuteDate:b.optional(),status:s.optional(),fromReturnDate:R.optional(),toReturnDate:R.optional(),isSettlement:H.optional(),orderBy:$.optional(),sortOrder:x.optional(),limit:_zod.z.number().min(0).optional().describe("Maximum number of records to return. Defaults to 20 if not specified. Set to 0 to return all records."),offset:_zod.z.number().min(0).optional()},ze=_zod.z.object(X).partial();var Z={id:_zod.z.number(),clientId:_zod.z.number(),amount:_zod.z.number().positive(),correlationId:_zod.z.string(),paymentType:p,paymentRail:a,recipient:_zod.z.object({cardId:_zod.z.string().optional(),recipientType:_zod.z.string(),address:_zod.z.object({line1:_zod.z.string().optional(),line2:_zod.z.string().optional(),stateCode:_zod.z.string().optional(),countryCode:_zod.z.string(),postalCode:_zod.z.string().optional()}),name:_zod.z.string()}),originator:_zod.z.object({accountId:_zod.z.string().optional(),recipientType:_zod.z.string(),address:_zod.z.object({line1:_zod.z.string().optional(),line2:_zod.z.string().optional(),stateCode:_zod.z.string().optional(),countryCode:_zod.z.string(),postalCode:_zod.z.string().optional()}),name:_zod.z.string()}),executedAt:_zod.z.string(),createdAt:_zod.z.string(),externalId:_zod.z.string(),status:s,paymentRailMetaData:_zod.z.record(_zod.z.string(),_zod.z.any()).optional(),currencyData:_zod.z.object({code:_zod.z.string(),name:_zod.z.string(),decimalPlaces:_zod.z.number(),displaySymbol:_zod.z.string(),nameCode:_zod.z.string(),currencyCodeInDigit:_zod.z.number(),isBaseCurrency:_zod.z.boolean()}),currency:_zod.z.string().min(3).max(3)},J=_zod.z.object(Z).catchall(_zod.z.any()),Q=_zod.z.object({line1:_zod.z.string().optional(),line2:_zod.z.string().optional(),city:_zod.z.string().optional(),stateCode:_zod.z.string().optional(),countryCode:_zod.z.string().optional(),postalCode:_zod.z.string().optional()}).optional(),ee=_zod.z.object({accountId:_zod.z.string()}),S=_zod.z.object({name:_zod.z.string(),accountId:_zod.z.string().optional(),recipientId:_zod.z.string().optional(),accountType:_zod.z.enum(["CHECKING","SAVINGS"]).optional(),recipientType:_zod.z.enum(["INDIVIDUAL","BUSINESS"]).optional(),accountEntity:_zod.z.enum(["PERSONAL","BUSINESS"]).optional(),accountNumber:_zod.z.string().optional(),bankInformation:_zod.z.object({routingNumber:_zod.z.string()}).optional(),cardId:_zod.z.string().optional(),contactNumber:_zod.z.string().optional(),address:Q}),te= exports.B ={amount:_zod.z.number().positive(),currency:_zod.z.string().min(3).max(3),paymentRail:a,paymentType:p,originator:ee,recipient:S,clientId:_zod.z.string().optional(),correspondent:S.optional(),exchangeRate:_zod.z.number().positive().optional(),externalId:_zod.z.string().optional(),reference:_zod.z.union([_zod.z.string(),_zod.z.array(_zod.z.string())]).optional(),paymentRailMetaData:_zod.z.record(_zod.z.string(),_zod.z.any()).optional(),chargeBearer:_zod.z.enum(["OUR","BEN","SHA"]).optional(),purposeCode:_zod.z.string().optional(),valueDate:_zod.z.string().optional(),executionDate:_zod.z.string().optional()},ne= exports.C =_zod.z.object(te).catchall(_zod.z.any()).refine(o=>(o.paymentRail==="WIRE"||o.paymentRail==="SWIFT")&&o.recipient?o.recipient.name&&o.recipient.address&&o.recipient.address.stateCode&&o.recipient.address.countryCode&&o.recipient.accountNumber&&o.recipient.accountType&&o.recipient.bankInformation:!0,{message:"For WIRE transfers, recipient address with state and country is mandatory"}).refine(o=>o.paymentRail==="INTERNAL"?o.originator.accountId&&o.recipient.accountId:!0,{message:"For INTERNAL transfers, both originator and recipient accountId are mandatory"}).refine(o=>o.paymentRail==="ACH"||o.paymentRail==="SAMEDAYACH"?o.recipient.name&&o.originator.accountId&&o.recipient.accountType&&o.recipient.recipientType&&o.recipient.accountNumber&&o.recipient.bankInformation:!0,{message:"For ACH/SAMEDAYACH transfers, originator and recipient accountId, recipient accountType, originator recipientType, recipient accountNumber and recipient bankInformation are mandatory"}).refine(o=>o.paymentRail==="CARD"&&o.recipient?o.recipient.cardId:!0,{message:"For CARD payments, recipient cardId is mandatory"}).refine(o=>o.paymentRail==="FXPAY"?o.recipient.recipientId&&o.recipient.name&&o.recipient.accountNumber&&o.recipient.accountType&&o.recipient.recipientType&&o.recipient.accountEntity&&o.paymentRailMetaData:!0,{message:"For FXPAY payments, correspondent name and identifier are mandatory"}),re= exports.D ={amount:_zod.z.number().positive().optional(),correspondent:_zod.z.object({name:_zod.z.string().optional(),identifier:_zod.z.string().optional(),accountType:_zod.z.string().optional()}).optional(),creditor:_zod.z.object({name:_zod.z.string().optional(),identifier:_zod.z.string().optional(),accountType:_zod.z.string().optional(),agent:_zod.z.object({name:_zod.z.string().optional(),identifier:_zod.z.string().optional()}).optional()}).optional(),debtor:_zod.z.object({name:_zod.z.string().optional(),identifier:_zod.z.string().optional(),accountType:_zod.z.string().optional(),agent:_zod.z.object({name:_zod.z.string().optional(),identifier:_zod.z.string().optional()}).optional()}).optional(),exchangeRate:_zod.z.number().positive().optional(),externalId:_zod.z.string().optional(),errorCode:_zod.z.string().optional(),errorMessage:_zod.z.string().optional(),reference:_zod.z.union([_zod.z.string(),_zod.z.array(_zod.z.string())]).optional(),paymentRailMetaData:_zod.z.record(_zod.z.string(),_zod.z.any()).optional(),status:s.optional()},oe= exports.E =_zod.z.object(re).catchall(_zod.z.any()),ke= exports.F =_zod.z.object({totalFilteredRecords:_zod.z.number(),pageItems:_zod.z.array(J)});var Ue=o=>ne.parse(o),ve= exports.H =o=>oe.parse(o);var Le=_zod.z.object({id:_zod.z.string(),clientId:_zod.z.number(),resourceId:_zod.z.number(),resourceIdentifier:_zod.z.string()});var ae=_zod.z.object({routingNumber:_zod.z.string(),swiftCode:_zod.z.string()}),c= exports.J =_zod.z.object({accountNumber:_zod.z.string(),bankInformation:ae}),m= exports.K =_zod.z.object({line1:_zod.z.string(),line2:_zod.z.string(),city:_zod.z.string(),stateCode:_zod.z.string(),countryCode:_zod.z.string(),postalCode:_zod.z.string()}),ie= exports.L ={id:_zod.z.number(),clientId:_zod.z.number(),nickName:_zod.z.string(),firstName:_zod.z.string(),lastName:_zod.z.string(),businessName:_zod.z.string(),emailAddress:_zod.z.string(),phoneNumber:_zod.z.string(),recipientType:_zod.z.string(),paymentRail:_zod.z.string(),isOwnAccount:_zod.z.boolean(),address:m,accountDetailsData:c},se= exports.M =_zod.z.object(ie),_e= exports.N =_zod.z.array(se),pe= exports.O ={limit:_zod.z.number().min(1).optional().describe("Maximum number of records to return. Defaults to 20 if not specified. Set to 0 to return all records."),offset:_zod.z.number().min(0).optional(),name:_zod.z.string().optional()},Ge= exports.P =_zod.z.object(pe),ce= exports.Q ={nickName:_zod.z.string(),firstName:_zod.z.string(),lastName:_zod.z.string(),businessName:_zod.z.string().optional(),emailAddress:_zod.z.string().email(),phoneNumber:_zod.z.string(),recipientType:_zod.z.string(),paymentRail:a,isOwnAccount:_zod.z.boolean().optional(),address:m.optional(),accountDetailsData:c},Ke= exports.R =_zod.z.object(ce).refine(o=>o.paymentRail==="WIRE"||o.paymentRail==="SWIFT"?o.address!==void 0&&o.address.stateCode!==void 0&&o.address.countryCode!==void 0:!0,{message:"Address with state code and country code is required for WIRE and SWIFT payment rails",path:["address"]}),We= exports.S =_zod.z.enum(["name"]);var me={nickName:_zod.z.string().optional(),firstName:_zod.z.string().optional(),lastName:_zod.z.string().optional(),businessName:_zod.z.string().optional(),emailAddress:_zod.z.string().email().optional(),phoneNumber:_zod.z.string().optional(),recipientType:_zod.z.string().optional(),paymentRail:a.optional(),isOwnAccount:_zod.z.boolean().optional(),address:m.optional(),accountDetailsData:c.optional()},Ye=_zod.z.object(me).refine(o=>o.paymentRail&&o.address&&(o.paymentRail==="WIRE"||o.paymentRail==="SWIFT")?o.address.stateCode!==void 0&&o.address.countryCode!==void 0:!0,{message:"When updating address for WIRE/SWIFT payment rails, state code and country code are required",path:["address"]}),He=_zod.z.object({clientId:_zod.z.number(),recipientId:_zod.z.number()}),$e= exports.T =_zod.z.object({clientId:_zod.z.number(),id:_zod.z.number()});var ue=_zod2.default.object({currencyCode:_zod2.default.string(),digitsAfterDecimal:_zod2.default.number(),interestCompoundingPeriodType:_zod2.default.number(),interestPostingPeriodType:_zod2.default.number(),interestCalculationType:_zod2.default.number(),interestCalculationDaysInYearType:_zod2.default.number(),accountingRule:_zod2.default.number(),isSecuredCreditProduct:_zod2.default.boolean(),name:_zod2.default.string(),shortName:_zod2.default.string(),description:_zod2.default.string(),inMultiplesOf:_zod2.default.number(),isLinkedToFloatingInterestRates:_zod2.default.boolean(),nominalAnnualInterestRate:_zod2.default.number(),nominalAnnualPenaltyInterestRate:_zod2.default.number(),gracePeriod:_zod2.default.number(),nominalCashAdvanceInterestRate:_zod2.default.number(),minimumPayCalculationRate:_zod2.default.number(),minimumPayFixedAmount:_zod2.default.number(),statementDay:_zod2.default.number(),charges:_zod2.default.array(_zod2.default.object({id:_zod2.default.number(),isMandatory:_zod2.default.boolean()})).optional(),disputesInSuspenseAccountId:_zod2.default.number().optional(),graceForArrearsAging:_zod2.default.number().optional(),fundSourceAccountId:_zod2.default.number().optional(),receivableInterestAccountId:_zod2.default.number().optional(),receivablePenaltyAccountId:_zod2.default.number().optional(),transfersInSuspenseAccountId:_zod2.default.number().optional(),creditPortfolioAccountId:_zod2.default.number().optional(),receivableFeeAccountId:_zod2.default.number().optional(),interestOnIncomeAccountId:_zod2.default.number().optional(),incomeFromPenaltyAccountId:_zod2.default.number().optional(),incomeFromFeeAccountId:_zod2.default.number().optional(),incomeFromRecoveryAccountId:_zod2.default.number().optional(),writeOffAccountId:_zod2.default.number().optional(),overpaymentLiabilityAccountId:_zod2.default.number().optional(),paymentChannelToFundSourceMappings:_zod2.default.string().optional(),penaltyToIncomeAccountMappings:_zod2.default.string().optional(),feeToIncomeAccountMappings:_zod2.default.string().optional(),locale:_zod2.default.string().optional()}),Je= exports.V =_zod2.default.object({resourceId:_zod2.default.number()}),Qe= exports.W =_zod2.default.object({id:_zod2.default.string(),resourceId:_zod2.default.number(),changes:_zod2.default.object({name:_zod2.default.string().optional(),shortName:_zod2.default.string().optional(),inMultiplesOf:_zod2.default.number().optional(),locale:_zod2.default.string().optional(),nominalAnnualInterestRate:_zod2.default.number().optional(),statementDay:_zod2.default.number().optional(),minimumPayCalculationRate:_zod2.default.number().optional(),minimumPayFixedAmount:_zod2.default.number().optional(),charges:_zod2.default.array(_zod2.default.object({id:_zod2.default.number(),isMandatory:_zod2.default.boolean()})).optional(),paymentChannelToFundSourceMappings:_zod2.default.array(_zod2.default.unknown()).optional(),penaltyToIncomeAccountMappings:_zod2.default.array(_zod2.default.unknown()).optional(),feeToIncomeAccountMappings:_zod2.default.array(_zod2.default.unknown()).optional()}).catchall(_zod2.default.any()).optional()}),le= exports.X =_zod2.default.object({id:_zod2.default.number(),name:_zod2.default.string(),shortName:_zod2.default.string(),description:_zod2.default.string(),currency:_zod2.default.object({code:_zod2.default.string(),name:_zod2.default.string(),decimalPlaces:_zod2.default.number(),inMultiplesOf:_zod2.default.number(),displaySymbol:_zod2.default.string(),nameCode:_zod2.default.string(),displayLabel:_zod2.default.string()}),nominalAnnualInterestRate:_zod2.default.number(),interestCompoundingPeriodType:_zod2.default.object({id:_zod2.default.number(),code:_zod2.default.string(),value:_zod2.default.string()}),interestPostingPeriodType:_zod2.default.object({id:_zod2.default.number(),code:_zod2.default.string(),value:_zod2.default.string()}),interestCalculationType:_zod2.default.object({id:_zod2.default.number(),code:_zod2.default.string(),value:_zod2.default.string()}),interestCalculationDaysInYearType:_zod2.default.object({id:_zod2.default.number(),code:_zod2.default.string(),value:_zod2.default.string()}),nominalCashAdvanceInterestRate:_zod2.default.number(),nominalAnnualPenaltyInterestRate:_zod2.default.number(),accountingRule:_zod2.default.object({id:_zod2.default.number(),code:_zod2.default.string(),value:_zod2.default.string()}),charges:_zod2.default.array(_zod2.default.object({id:_zod2.default.number(),isMandatory:_zod2.default.boolean()})),isLinkedToFloatingInterestRates:_zod2.default.boolean(),isFloatingInterestRateCalculationAllowed:_zod2.default.boolean(),isUsedForSuspenseAccounting:_zod2.default.boolean(),isLinkedWithFundSourceAccount:_zod2.default.boolean(),isSecuredCreditProduct:_zod2.default.boolean(),reserveProduct:_zod2.default.object({id:_zod2.default.number(),withdrawalFeeForTransfers:_zod2.default.boolean(),allowOverdraft:_zod2.default.boolean(),enforceMinRequiredBalance:_zod2.default.boolean(),withHoldTax:_zod2.default.boolean(),isLinkedToFloatingInterestRates:_zod2.default.boolean(),isFloatingInterestRateCalculationAllowed:_zod2.default.boolean(),isUsedForSuspenseAccounting:_zod2.default.boolean(),isLinkedWithFundSourceAccount:_zod2.default.boolean(),isSkipCollectTransferCharge:_zod2.default.boolean(),isReservedProduct:_zod2.default.boolean()}).optional(),gracePeriod:_zod2.default.number(),minimumPayCalculationRate:_zod2.default.number()}),et= exports.Y =_zod2.default.array(le),tt= exports.Z =ue.partial();exports.a = i; exports.b = h; exports.c = I; exports.d = A; exports.e = u; exports.f = P; exports.g = y; exports.h = D; exports.i = N; exports.j = E; exports.k = F; exports.l = g; exports.m = O; exports.n = j; exports.o = fe; exports.p = be; exports.q = Re; exports.r = Se; exports.s = xe; exports.t = he; exports.u = Ie; exports.v = Ce; exports.w = s; exports.x = a; exports.y = p; exports.z = x; exports.A = Z; exports.B = te; exports.C = ne; exports.D = re; exports.E = oe; exports.F = ke; exports.G = Ue; exports.H = ve; exports.I = ae; exports.J = c; exports.K = m; exports.L = ie; exports.M = se; exports.N = _e; exports.O = pe; exports.P = Ge; exports.Q = ce; exports.R = Ke; exports.S = We; exports.T = $e; exports.U = ue; exports.V = Je; exports.W = Qe; exports.X = le; exports.Y = et; exports.Z = tt;
@@ -1,7 +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, I as CreateTransferOutput, P as Payment, J as PaymentFilters, a as PaymentResponse, C as CreatePaymentInput, K as ProcessOutput$1, U as UpdatePaymentInput, S as SavingAccount, k as GetAccountsOfClientRequest, j as GetAccountsOfClientResponse, l as UpdateAccountRequest, m as CreateAndActivateAccountRequest, n as CreateAndActivateAccountResponse, o as CloseAccountRequest, p as CloseAccountResponse, B as BlockAccountRequest, q as BlockAccountResponse, H as HoldAmountRequest, r as HoldAmountResponse, L as UpdateRecipientRequest, R as Recipient, N as GetRecipientParams, g as CreateRecipientRequest, O as DeleteRecipientRequest, h as RecipientRequest, Q as Recipients, s as UserDetail, V as EnableSelfServiceAccessRequest, W as EnableSelfServiceAccessResponse, X as UpdateSelfServiceUserRequest, Y as UpdateSelfServiceUserResponse, Z as DeleteSelfServiceUserResponse, t as CreateChargeRequest, u as CreateChargeResponse, v as GetChargeResponse, w as GetChargesRequest, x as UpdateChargeRequest, y as UpdateChargeResponse, z as CreateLoanProductRequest, A as CreateLoanProductResponse, D as GetLoanProductResponse, E as GetLoanProductsResponse, F as UpdateLoanProductRequest, _ as UpdateLoanProductResponse } from '../recipient-CaYiPRgK.mjs';
4
+ import { e as ProcessOutput, G as GetTransferInput, T as Transfer, b as CreateTransferInput, I as CreateTransferOutput, P as Payment, J as PaymentFilters, a as PaymentResponse, C as CreatePaymentInput, K as ProcessOutput$1, U as UpdatePaymentInput, S as SavingAccount, k as GetAccountsOfClientRequest, j as GetAccountsOfClientResponse, l as UpdateAccountRequest, m as CreateAndActivateAccountRequest, n as CreateAndActivateAccountResponse, o as CloseAccountRequest, p as CloseAccountResponse, B as BlockAccountRequest, q as BlockAccountResponse, H as HoldAmountRequest, r as HoldAmountResponse, L as UpdateRecipientRequest, R as Recipient, N as GetRecipientParams, g as CreateRecipientRequest, O as DeleteRecipientRequest, h as RecipientRequest, Q as Recipients, s as UserDetail, V as EnableSelfServiceAccessRequest, W as EnableSelfServiceAccessResponse, X as UpdateSelfServiceUserRequest, Y as UpdateSelfServiceUserResponse, Z as DeleteSelfServiceUserResponse, t as CreateChargeRequest, u as CreateChargeResponse, v as GetChargeResponse, w as GetChargesRequest, x as UpdateChargeRequest, y as UpdateChargeResponse, z as CreateLoanProductRequest, A as CreateLoanProductResponse, D as GetLoanProductResponse, E as GetLoanProductsResponse, F as UpdateLoanProductRequest, _ as UpdateLoanProductResponse } from '../recipient-DHUxyIxv.mjs';
5
+ import { C as CreateCreditProductRequest, G as GetCreditProductsResponse, U as UpdateCreditProductRequest } from '../zod-5M92DxO5.mjs';
5
6
  import 'graphql';
6
7
  import 'axios';
7
8
 
@@ -20532,567 +20533,6 @@ declare const AdjustCreditAccountLimitsResponseSchema: z$1.ZodObject<{
20532
20533
  }>;
20533
20534
  type AdjustCreditAccountLimitsResponse = z$1.infer<typeof AdjustCreditAccountLimitsResponseSchema>;
20534
20535
 
20535
- declare const CreateCreditProductRequestSchema: z$1.ZodObject<{
20536
- currencyCode: z$1.ZodString;
20537
- digitsAfterDecimal: z$1.ZodNumber;
20538
- interestCompoundingPeriodType: z$1.ZodNumber;
20539
- interestPostingPeriodType: z$1.ZodNumber;
20540
- interestCalculationType: z$1.ZodNumber;
20541
- interestCalculationDaysInYearType: z$1.ZodNumber;
20542
- accountingRule: z$1.ZodNumber;
20543
- isSecuredCreditProduct: z$1.ZodBoolean;
20544
- name: z$1.ZodString;
20545
- shortName: z$1.ZodString;
20546
- description: z$1.ZodString;
20547
- inMultiplesOf: z$1.ZodNumber;
20548
- isLinkedToFloatingInterestRates: z$1.ZodBoolean;
20549
- nominalAnnualInterestRate: z$1.ZodNumber;
20550
- nominalAnnualPenaltyInterestRate: z$1.ZodNumber;
20551
- gracePeriod: z$1.ZodNumber;
20552
- nominalCashAdvanceInterestRate: z$1.ZodNumber;
20553
- minimumPayCalculationRate: z$1.ZodNumber;
20554
- minimumPayFixedAmount: z$1.ZodNumber;
20555
- statementDay: z$1.ZodNumber;
20556
- charges: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
20557
- id: z$1.ZodNumber;
20558
- isMandatory: z$1.ZodBoolean;
20559
- }, "strip", z$1.ZodTypeAny, {
20560
- id: number;
20561
- isMandatory: boolean;
20562
- }, {
20563
- id: number;
20564
- isMandatory: boolean;
20565
- }>, "many">>;
20566
- disputesInSuspenseAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20567
- graceForArrearsAging: z$1.ZodOptional<z$1.ZodNumber>;
20568
- fundSourceAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20569
- receivableInterestAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20570
- receivablePenaltyAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20571
- transfersInSuspenseAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20572
- creditPortfolioAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20573
- receivableFeeAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20574
- interestOnIncomeAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20575
- incomeFromPenaltyAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20576
- incomeFromFeeAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20577
- incomeFromRecoveryAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20578
- writeOffAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20579
- overpaymentLiabilityAccountId: z$1.ZodOptional<z$1.ZodNumber>;
20580
- paymentChannelToFundSourceMappings: z$1.ZodOptional<z$1.ZodString>;
20581
- penaltyToIncomeAccountMappings: z$1.ZodOptional<z$1.ZodString>;
20582
- feeToIncomeAccountMappings: z$1.ZodOptional<z$1.ZodString>;
20583
- locale: z$1.ZodOptional<z$1.ZodString>;
20584
- }, "strip", z$1.ZodTypeAny, {
20585
- name: string;
20586
- inMultiplesOf: number;
20587
- isLinkedToFloatingInterestRates: boolean;
20588
- nominalAnnualInterestRate: number;
20589
- interestCompoundingPeriodType: number;
20590
- interestPostingPeriodType: number;
20591
- interestCalculationType: number;
20592
- interestCalculationDaysInYearType: number;
20593
- description: string;
20594
- currencyCode: string;
20595
- shortName: string;
20596
- digitsAfterDecimal: number;
20597
- accountingRule: number;
20598
- nominalCashAdvanceInterestRate: number;
20599
- nominalAnnualPenaltyInterestRate: number;
20600
- isSecuredCreditProduct: boolean;
20601
- gracePeriod: number;
20602
- minimumPayCalculationRate: number;
20603
- minimumPayFixedAmount: number;
20604
- statementDay: number;
20605
- locale?: string | undefined;
20606
- charges?: {
20607
- id: number;
20608
- isMandatory: boolean;
20609
- }[] | undefined;
20610
- paymentChannelToFundSourceMappings?: string | undefined;
20611
- feeToIncomeAccountMappings?: string | undefined;
20612
- disputesInSuspenseAccountId?: number | undefined;
20613
- graceForArrearsAging?: number | undefined;
20614
- fundSourceAccountId?: number | undefined;
20615
- receivableInterestAccountId?: number | undefined;
20616
- receivablePenaltyAccountId?: number | undefined;
20617
- transfersInSuspenseAccountId?: number | undefined;
20618
- creditPortfolioAccountId?: number | undefined;
20619
- receivableFeeAccountId?: number | undefined;
20620
- interestOnIncomeAccountId?: number | undefined;
20621
- incomeFromPenaltyAccountId?: number | undefined;
20622
- incomeFromFeeAccountId?: number | undefined;
20623
- incomeFromRecoveryAccountId?: number | undefined;
20624
- writeOffAccountId?: number | undefined;
20625
- overpaymentLiabilityAccountId?: number | undefined;
20626
- penaltyToIncomeAccountMappings?: string | undefined;
20627
- }, {
20628
- name: string;
20629
- inMultiplesOf: number;
20630
- isLinkedToFloatingInterestRates: boolean;
20631
- nominalAnnualInterestRate: number;
20632
- interestCompoundingPeriodType: number;
20633
- interestPostingPeriodType: number;
20634
- interestCalculationType: number;
20635
- interestCalculationDaysInYearType: number;
20636
- description: string;
20637
- currencyCode: string;
20638
- shortName: string;
20639
- digitsAfterDecimal: number;
20640
- accountingRule: number;
20641
- nominalCashAdvanceInterestRate: number;
20642
- nominalAnnualPenaltyInterestRate: number;
20643
- isSecuredCreditProduct: boolean;
20644
- gracePeriod: number;
20645
- minimumPayCalculationRate: number;
20646
- minimumPayFixedAmount: number;
20647
- statementDay: number;
20648
- locale?: string | undefined;
20649
- charges?: {
20650
- id: number;
20651
- isMandatory: boolean;
20652
- }[] | undefined;
20653
- paymentChannelToFundSourceMappings?: string | undefined;
20654
- feeToIncomeAccountMappings?: string | undefined;
20655
- disputesInSuspenseAccountId?: number | undefined;
20656
- graceForArrearsAging?: number | undefined;
20657
- fundSourceAccountId?: number | undefined;
20658
- receivableInterestAccountId?: number | undefined;
20659
- receivablePenaltyAccountId?: number | undefined;
20660
- transfersInSuspenseAccountId?: number | undefined;
20661
- creditPortfolioAccountId?: number | undefined;
20662
- receivableFeeAccountId?: number | undefined;
20663
- interestOnIncomeAccountId?: number | undefined;
20664
- incomeFromPenaltyAccountId?: number | undefined;
20665
- incomeFromFeeAccountId?: number | undefined;
20666
- incomeFromRecoveryAccountId?: number | undefined;
20667
- writeOffAccountId?: number | undefined;
20668
- overpaymentLiabilityAccountId?: number | undefined;
20669
- penaltyToIncomeAccountMappings?: string | undefined;
20670
- }>;
20671
- type CreateCreditProductRequest = z$1.infer<typeof CreateCreditProductRequestSchema>;
20672
- declare const GetCreditProductsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
20673
- id: z$1.ZodNumber;
20674
- name: z$1.ZodString;
20675
- shortName: z$1.ZodString;
20676
- description: z$1.ZodString;
20677
- currency: z$1.ZodObject<{
20678
- code: z$1.ZodString;
20679
- name: z$1.ZodString;
20680
- decimalPlaces: z$1.ZodNumber;
20681
- inMultiplesOf: z$1.ZodNumber;
20682
- displaySymbol: z$1.ZodString;
20683
- nameCode: z$1.ZodString;
20684
- displayLabel: z$1.ZodString;
20685
- }, "strip", z$1.ZodTypeAny, {
20686
- code: string;
20687
- name: string;
20688
- decimalPlaces: number;
20689
- displaySymbol: string;
20690
- nameCode: string;
20691
- inMultiplesOf: number;
20692
- displayLabel: string;
20693
- }, {
20694
- code: string;
20695
- name: string;
20696
- decimalPlaces: number;
20697
- displaySymbol: string;
20698
- nameCode: string;
20699
- inMultiplesOf: number;
20700
- displayLabel: string;
20701
- }>;
20702
- nominalAnnualInterestRate: z$1.ZodNumber;
20703
- interestCompoundingPeriodType: z$1.ZodObject<{
20704
- id: z$1.ZodNumber;
20705
- code: z$1.ZodString;
20706
- value: z$1.ZodString;
20707
- }, "strip", z$1.ZodTypeAny, {
20708
- value: string;
20709
- code: string;
20710
- id: number;
20711
- }, {
20712
- value: string;
20713
- code: string;
20714
- id: number;
20715
- }>;
20716
- interestPostingPeriodType: z$1.ZodObject<{
20717
- id: z$1.ZodNumber;
20718
- code: z$1.ZodString;
20719
- value: z$1.ZodString;
20720
- }, "strip", z$1.ZodTypeAny, {
20721
- value: string;
20722
- code: string;
20723
- id: number;
20724
- }, {
20725
- value: string;
20726
- code: string;
20727
- id: number;
20728
- }>;
20729
- interestCalculationType: z$1.ZodObject<{
20730
- id: z$1.ZodNumber;
20731
- code: z$1.ZodString;
20732
- value: z$1.ZodString;
20733
- }, "strip", z$1.ZodTypeAny, {
20734
- value: string;
20735
- code: string;
20736
- id: number;
20737
- }, {
20738
- value: string;
20739
- code: string;
20740
- id: number;
20741
- }>;
20742
- interestCalculationDaysInYearType: z$1.ZodObject<{
20743
- id: z$1.ZodNumber;
20744
- code: z$1.ZodString;
20745
- value: z$1.ZodString;
20746
- }, "strip", z$1.ZodTypeAny, {
20747
- value: string;
20748
- code: string;
20749
- id: number;
20750
- }, {
20751
- value: string;
20752
- code: string;
20753
- id: number;
20754
- }>;
20755
- nominalCashAdvanceInterestRate: z$1.ZodNumber;
20756
- nominalAnnualPenaltyInterestRate: z$1.ZodNumber;
20757
- accountingRule: z$1.ZodObject<{
20758
- id: z$1.ZodNumber;
20759
- code: z$1.ZodString;
20760
- value: z$1.ZodString;
20761
- }, "strip", z$1.ZodTypeAny, {
20762
- value: string;
20763
- code: string;
20764
- id: number;
20765
- }, {
20766
- value: string;
20767
- code: string;
20768
- id: number;
20769
- }>;
20770
- charges: z$1.ZodArray<z$1.ZodObject<{
20771
- id: z$1.ZodNumber;
20772
- isMandatory: z$1.ZodBoolean;
20773
- }, "strip", z$1.ZodTypeAny, {
20774
- id: number;
20775
- isMandatory: boolean;
20776
- }, {
20777
- id: number;
20778
- isMandatory: boolean;
20779
- }>, "many">;
20780
- isLinkedToFloatingInterestRates: z$1.ZodBoolean;
20781
- isFloatingInterestRateCalculationAllowed: z$1.ZodBoolean;
20782
- isUsedForSuspenseAccounting: z$1.ZodBoolean;
20783
- isLinkedWithFundSourceAccount: z$1.ZodBoolean;
20784
- isSecuredCreditProduct: z$1.ZodBoolean;
20785
- reserveProduct: z$1.ZodOptional<z$1.ZodObject<{
20786
- id: z$1.ZodNumber;
20787
- withdrawalFeeForTransfers: z$1.ZodBoolean;
20788
- allowOverdraft: z$1.ZodBoolean;
20789
- enforceMinRequiredBalance: z$1.ZodBoolean;
20790
- withHoldTax: z$1.ZodBoolean;
20791
- isLinkedToFloatingInterestRates: z$1.ZodBoolean;
20792
- isFloatingInterestRateCalculationAllowed: z$1.ZodBoolean;
20793
- isUsedForSuspenseAccounting: z$1.ZodBoolean;
20794
- isLinkedWithFundSourceAccount: z$1.ZodBoolean;
20795
- isSkipCollectTransferCharge: z$1.ZodBoolean;
20796
- isReservedProduct: z$1.ZodBoolean;
20797
- }, "strip", z$1.ZodTypeAny, {
20798
- id: number;
20799
- withdrawalFeeForTransfers: boolean;
20800
- allowOverdraft: boolean;
20801
- enforceMinRequiredBalance: boolean;
20802
- withHoldTax: boolean;
20803
- isLinkedToFloatingInterestRates: boolean;
20804
- isFloatingInterestRateCalculationAllowed: boolean;
20805
- isLinkedWithFundSourceAccount: boolean;
20806
- isUsedForSuspenseAccounting: boolean;
20807
- isSkipCollectTransferCharge: boolean;
20808
- isReservedProduct: boolean;
20809
- }, {
20810
- id: number;
20811
- withdrawalFeeForTransfers: boolean;
20812
- allowOverdraft: boolean;
20813
- enforceMinRequiredBalance: boolean;
20814
- withHoldTax: boolean;
20815
- isLinkedToFloatingInterestRates: boolean;
20816
- isFloatingInterestRateCalculationAllowed: boolean;
20817
- isLinkedWithFundSourceAccount: boolean;
20818
- isUsedForSuspenseAccounting: boolean;
20819
- isSkipCollectTransferCharge: boolean;
20820
- isReservedProduct: boolean;
20821
- }>>;
20822
- gracePeriod: z$1.ZodNumber;
20823
- minimumPayCalculationRate: z$1.ZodNumber;
20824
- }, "strip", z$1.ZodTypeAny, {
20825
- name: string;
20826
- id: number;
20827
- currency: {
20828
- code: string;
20829
- name: string;
20830
- decimalPlaces: number;
20831
- displaySymbol: string;
20832
- nameCode: string;
20833
- inMultiplesOf: number;
20834
- displayLabel: string;
20835
- };
20836
- isLinkedToFloatingInterestRates: boolean;
20837
- nominalAnnualInterestRate: number;
20838
- interestCompoundingPeriodType: {
20839
- value: string;
20840
- code: string;
20841
- id: number;
20842
- };
20843
- interestPostingPeriodType: {
20844
- value: string;
20845
- code: string;
20846
- id: number;
20847
- };
20848
- interestCalculationType: {
20849
- value: string;
20850
- code: string;
20851
- id: number;
20852
- };
20853
- interestCalculationDaysInYearType: {
20854
- value: string;
20855
- code: string;
20856
- id: number;
20857
- };
20858
- isFloatingInterestRateCalculationAllowed: boolean;
20859
- charges: {
20860
- id: number;
20861
- isMandatory: boolean;
20862
- }[];
20863
- description: string;
20864
- isLinkedWithFundSourceAccount: boolean;
20865
- shortName: string;
20866
- accountingRule: {
20867
- value: string;
20868
- code: string;
20869
- id: number;
20870
- };
20871
- nominalCashAdvanceInterestRate: number;
20872
- nominalAnnualPenaltyInterestRate: number;
20873
- isSecuredCreditProduct: boolean;
20874
- gracePeriod: number;
20875
- minimumPayCalculationRate: number;
20876
- isUsedForSuspenseAccounting: boolean;
20877
- reserveProduct?: {
20878
- id: number;
20879
- withdrawalFeeForTransfers: boolean;
20880
- allowOverdraft: boolean;
20881
- enforceMinRequiredBalance: boolean;
20882
- withHoldTax: boolean;
20883
- isLinkedToFloatingInterestRates: boolean;
20884
- isFloatingInterestRateCalculationAllowed: boolean;
20885
- isLinkedWithFundSourceAccount: boolean;
20886
- isUsedForSuspenseAccounting: boolean;
20887
- isSkipCollectTransferCharge: boolean;
20888
- isReservedProduct: boolean;
20889
- } | undefined;
20890
- }, {
20891
- name: string;
20892
- id: number;
20893
- currency: {
20894
- code: string;
20895
- name: string;
20896
- decimalPlaces: number;
20897
- displaySymbol: string;
20898
- nameCode: string;
20899
- inMultiplesOf: number;
20900
- displayLabel: string;
20901
- };
20902
- isLinkedToFloatingInterestRates: boolean;
20903
- nominalAnnualInterestRate: number;
20904
- interestCompoundingPeriodType: {
20905
- value: string;
20906
- code: string;
20907
- id: number;
20908
- };
20909
- interestPostingPeriodType: {
20910
- value: string;
20911
- code: string;
20912
- id: number;
20913
- };
20914
- interestCalculationType: {
20915
- value: string;
20916
- code: string;
20917
- id: number;
20918
- };
20919
- interestCalculationDaysInYearType: {
20920
- value: string;
20921
- code: string;
20922
- id: number;
20923
- };
20924
- isFloatingInterestRateCalculationAllowed: boolean;
20925
- charges: {
20926
- id: number;
20927
- isMandatory: boolean;
20928
- }[];
20929
- description: string;
20930
- isLinkedWithFundSourceAccount: boolean;
20931
- shortName: string;
20932
- accountingRule: {
20933
- value: string;
20934
- code: string;
20935
- id: number;
20936
- };
20937
- nominalCashAdvanceInterestRate: number;
20938
- nominalAnnualPenaltyInterestRate: number;
20939
- isSecuredCreditProduct: boolean;
20940
- gracePeriod: number;
20941
- minimumPayCalculationRate: number;
20942
- isUsedForSuspenseAccounting: boolean;
20943
- reserveProduct?: {
20944
- id: number;
20945
- withdrawalFeeForTransfers: boolean;
20946
- allowOverdraft: boolean;
20947
- enforceMinRequiredBalance: boolean;
20948
- withHoldTax: boolean;
20949
- isLinkedToFloatingInterestRates: boolean;
20950
- isFloatingInterestRateCalculationAllowed: boolean;
20951
- isLinkedWithFundSourceAccount: boolean;
20952
- isUsedForSuspenseAccounting: boolean;
20953
- isSkipCollectTransferCharge: boolean;
20954
- isReservedProduct: boolean;
20955
- } | undefined;
20956
- }>, "many">;
20957
- declare const UpdateCreditProductRequestSchema: z$1.ZodObject<{
20958
- currencyCode: z$1.ZodOptional<z$1.ZodString>;
20959
- digitsAfterDecimal: z$1.ZodOptional<z$1.ZodNumber>;
20960
- interestCompoundingPeriodType: z$1.ZodOptional<z$1.ZodNumber>;
20961
- interestPostingPeriodType: z$1.ZodOptional<z$1.ZodNumber>;
20962
- interestCalculationType: z$1.ZodOptional<z$1.ZodNumber>;
20963
- interestCalculationDaysInYearType: z$1.ZodOptional<z$1.ZodNumber>;
20964
- accountingRule: z$1.ZodOptional<z$1.ZodNumber>;
20965
- isSecuredCreditProduct: z$1.ZodOptional<z$1.ZodBoolean>;
20966
- name: z$1.ZodOptional<z$1.ZodString>;
20967
- shortName: z$1.ZodOptional<z$1.ZodString>;
20968
- description: z$1.ZodOptional<z$1.ZodString>;
20969
- inMultiplesOf: z$1.ZodOptional<z$1.ZodNumber>;
20970
- isLinkedToFloatingInterestRates: z$1.ZodOptional<z$1.ZodBoolean>;
20971
- nominalAnnualInterestRate: z$1.ZodOptional<z$1.ZodNumber>;
20972
- nominalAnnualPenaltyInterestRate: z$1.ZodOptional<z$1.ZodNumber>;
20973
- gracePeriod: z$1.ZodOptional<z$1.ZodNumber>;
20974
- nominalCashAdvanceInterestRate: z$1.ZodOptional<z$1.ZodNumber>;
20975
- minimumPayCalculationRate: z$1.ZodOptional<z$1.ZodNumber>;
20976
- minimumPayFixedAmount: z$1.ZodOptional<z$1.ZodNumber>;
20977
- statementDay: z$1.ZodOptional<z$1.ZodNumber>;
20978
- charges: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
20979
- id: z$1.ZodNumber;
20980
- isMandatory: z$1.ZodBoolean;
20981
- }, "strip", z$1.ZodTypeAny, {
20982
- id: number;
20983
- isMandatory: boolean;
20984
- }, {
20985
- id: number;
20986
- isMandatory: boolean;
20987
- }>, "many">>>;
20988
- disputesInSuspenseAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20989
- graceForArrearsAging: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20990
- fundSourceAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20991
- receivableInterestAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20992
- receivablePenaltyAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20993
- transfersInSuspenseAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20994
- creditPortfolioAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20995
- receivableFeeAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20996
- interestOnIncomeAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20997
- incomeFromPenaltyAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20998
- incomeFromFeeAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
20999
- incomeFromRecoveryAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
21000
- writeOffAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
21001
- overpaymentLiabilityAccountId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNumber>>;
21002
- paymentChannelToFundSourceMappings: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
21003
- penaltyToIncomeAccountMappings: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
21004
- feeToIncomeAccountMappings: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
21005
- locale: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
21006
- }, "strip", z$1.ZodTypeAny, {
21007
- name?: string | undefined;
21008
- locale?: string | undefined;
21009
- inMultiplesOf?: number | undefined;
21010
- isLinkedToFloatingInterestRates?: boolean | undefined;
21011
- nominalAnnualInterestRate?: number | undefined;
21012
- interestCompoundingPeriodType?: number | undefined;
21013
- interestPostingPeriodType?: number | undefined;
21014
- interestCalculationType?: number | undefined;
21015
- interestCalculationDaysInYearType?: number | undefined;
21016
- charges?: {
21017
- id: number;
21018
- isMandatory: boolean;
21019
- }[] | undefined;
21020
- description?: string | undefined;
21021
- currencyCode?: string | undefined;
21022
- shortName?: string | undefined;
21023
- digitsAfterDecimal?: number | undefined;
21024
- accountingRule?: number | undefined;
21025
- paymentChannelToFundSourceMappings?: string | undefined;
21026
- feeToIncomeAccountMappings?: string | undefined;
21027
- nominalCashAdvanceInterestRate?: number | undefined;
21028
- nominalAnnualPenaltyInterestRate?: number | undefined;
21029
- isSecuredCreditProduct?: boolean | undefined;
21030
- gracePeriod?: number | undefined;
21031
- minimumPayCalculationRate?: number | undefined;
21032
- minimumPayFixedAmount?: number | undefined;
21033
- statementDay?: number | undefined;
21034
- disputesInSuspenseAccountId?: number | undefined;
21035
- graceForArrearsAging?: number | undefined;
21036
- fundSourceAccountId?: number | undefined;
21037
- receivableInterestAccountId?: number | undefined;
21038
- receivablePenaltyAccountId?: number | undefined;
21039
- transfersInSuspenseAccountId?: number | undefined;
21040
- creditPortfolioAccountId?: number | undefined;
21041
- receivableFeeAccountId?: number | undefined;
21042
- interestOnIncomeAccountId?: number | undefined;
21043
- incomeFromPenaltyAccountId?: number | undefined;
21044
- incomeFromFeeAccountId?: number | undefined;
21045
- incomeFromRecoveryAccountId?: number | undefined;
21046
- writeOffAccountId?: number | undefined;
21047
- overpaymentLiabilityAccountId?: number | undefined;
21048
- penaltyToIncomeAccountMappings?: string | undefined;
21049
- }, {
21050
- name?: string | undefined;
21051
- locale?: string | undefined;
21052
- inMultiplesOf?: number | undefined;
21053
- isLinkedToFloatingInterestRates?: boolean | undefined;
21054
- nominalAnnualInterestRate?: number | undefined;
21055
- interestCompoundingPeriodType?: number | undefined;
21056
- interestPostingPeriodType?: number | undefined;
21057
- interestCalculationType?: number | undefined;
21058
- interestCalculationDaysInYearType?: number | undefined;
21059
- charges?: {
21060
- id: number;
21061
- isMandatory: boolean;
21062
- }[] | undefined;
21063
- description?: string | undefined;
21064
- currencyCode?: string | undefined;
21065
- shortName?: string | undefined;
21066
- digitsAfterDecimal?: number | undefined;
21067
- accountingRule?: number | undefined;
21068
- paymentChannelToFundSourceMappings?: string | undefined;
21069
- feeToIncomeAccountMappings?: string | undefined;
21070
- nominalCashAdvanceInterestRate?: number | undefined;
21071
- nominalAnnualPenaltyInterestRate?: number | undefined;
21072
- isSecuredCreditProduct?: boolean | undefined;
21073
- gracePeriod?: number | undefined;
21074
- minimumPayCalculationRate?: number | undefined;
21075
- minimumPayFixedAmount?: number | undefined;
21076
- statementDay?: number | undefined;
21077
- disputesInSuspenseAccountId?: number | undefined;
21078
- graceForArrearsAging?: number | undefined;
21079
- fundSourceAccountId?: number | undefined;
21080
- receivableInterestAccountId?: number | undefined;
21081
- receivablePenaltyAccountId?: number | undefined;
21082
- transfersInSuspenseAccountId?: number | undefined;
21083
- creditPortfolioAccountId?: number | undefined;
21084
- receivableFeeAccountId?: number | undefined;
21085
- interestOnIncomeAccountId?: number | undefined;
21086
- incomeFromPenaltyAccountId?: number | undefined;
21087
- incomeFromFeeAccountId?: number | undefined;
21088
- incomeFromRecoveryAccountId?: number | undefined;
21089
- writeOffAccountId?: number | undefined;
21090
- overpaymentLiabilityAccountId?: number | undefined;
21091
- penaltyToIncomeAccountMappings?: string | undefined;
21092
- }>;
21093
- type GetCreditProductsResponse = z$1.infer<typeof GetCreditProductsResponseSchema>;
21094
- type UpdateCreditProductRequest = z$1.infer<typeof UpdateCreditProductRequestSchema>;
21095
-
21096
20536
  declare enum ActionType {
21097
20537
  NONE = "none",
21098
20538
  CREATE = "create",