@accounter/modern-poalim-scraper
Version:
Modern scraper for Israeli banks (Hapoalim, Isracard, Max)
123 lines (122 loc) • 6.26 kB
TypeScript
import { z } from 'zod';
export declare const HapoalimForeignTransactionsPersonalSchema: z.ZodObject<{
balancesAndLimitsDataList: z.ZodArray<z.ZodObject<{
creditLimits: z.ZodArray<z.ZodString>;
currencyCode: z.ZodNumber;
currencyLongDescription: z.ZodString;
currencyShortedDescription: z.ZodString;
currencySwiftCode: z.ZodString;
currencySwiftDescription: z.ZodString;
currentAccountLimitsAmount: z.ZodLiteral<0>;
currentBalance: z.ZodLiteral<0>;
currentBalanceExchangeRateWayDescription: z.ZodNull;
currentBalanceExchangeRateWayCode: z.ZodLiteral<0>;
detailedAccountTypeCode: z.ZodLiteral<142>;
detailedAccountTypeShortedDescription: z.ZodString;
formattedLastEventDate: z.ZodNull;
formattedRetrievalMaxDate: z.ZodNullable<z.ZodString>;
formattedRetrievalMinDate: z.ZodNullable<z.ZodString>;
lastBalanceExchangeRateWayCode: z.ZodLiteral<0>;
lastEventDate: z.ZodLiteral<0>;
messages: z.ZodNullable<z.ZodArray<z.ZodObject<{
messageDescription: z.ZodString;
messageCode: z.ZodLiteral<3>;
}, z.core.$strict>>>;
outputArrayRecordSum3: z.ZodLiteral<0>;
outputArrayRecordSum4: z.ZodLiteral<0>;
pendingBalance: z.ZodLiteral<0>;
rateExerciseDescription: z.ZodNull;
rateRealizationCode: z.ZodLiteral<0>;
retrievalMaxDate: z.ZodNumber;
retrievalMinDate: z.ZodNumber;
revaluatedCurrentBalance: z.ZodLiteral<0>;
transactionResultCode: z.ZodNumber;
transactions: z.ZodArray<z.ZodObject<{
activityDescription: z.ZodString;
activityTypeCode: z.ZodNumber;
contraCurrencyCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<19>, z.ZodLiteral<27>, z.ZodLiteral<36>, z.ZodLiteral<51>, z.ZodLiteral<78>, z.ZodLiteral<100>, z.ZodLiteral<140>, z.ZodLiteral<248>]>;
currencyLongDescription: z.ZodString;
currencyRate: z.ZodNumber;
currencySwiftCode: z.ZodString;
currentBalance: z.ZodNumber;
displayCreditAccountDetails: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
eventActivityTypeCode: z.ZodNumber;
eventAmount: z.ZodNumber;
eventDetails: z.ZodNullable<z.ZodString>;
eventNumber: z.ZodNumber;
executingDate: z.ZodNumber;
formattedExecutingDate: z.ZodString;
formattedValueDate: z.ZodNullable<z.ZodString>;
metadata: z.ZodObject<{
attributes: z.ZodObject<{
contraAccountFieldNameLable: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
contraAccountNumber: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
contraBankNumber: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
contraBranchNumber: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
contraCurrencyCode: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
currencyRate: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
dataGroupCode: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
originalEventKey: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
rateFixingCode: z.ZodOptional<z.ZodObject<{
disabled: z.ZodLiteral<"true">;
hidden: z.ZodLiteral<"true">;
}, z.core.$strict>>;
}, z.core.$strict>;
links: z.ZodObject<{}, z.core.$strict>;
}, z.core.$strict>;
originalSystemId: z.ZodNumber;
rateFixingCode: z.ZodNumber;
rateFixingDescription: z.ZodString;
rateFixingShortDescription: z.ZodString;
referenceCatenatedNumber: z.ZodNumber;
referenceNumber: z.ZodNumber;
transactionType: z.ZodString;
urlAddress: z.ZodNullable<z.ZodString>;
validityDate: z.ZodNumber;
valueDate: z.ZodNumber;
}, z.core.$strict>>;
withdrawalBalance: z.ZodLiteral<0>;
}, z.core.$strict>>;
currencyCode: z.ZodNull;
currencyLongDescription: z.ZodLiteral<"שקל חדש">;
detailedAccountTypeCode: z.ZodNull;
displayedRevaluationCurrencyCode: z.ZodLiteral<0>;
formattedValidityDate: z.ZodNull;
messages: z.ZodNull;
metadata: z.ZodOptional<z.ZodObject<{
links: z.ZodObject<{}, z.core.$strict>;
messages: z.ZodArray<z.ZodObject<{
messageCode: z.ZodUnion<readonly [z.ZodLiteral<330>, z.ZodLiteral<11003>, z.ZodLiteral<11038>, z.ZodLiteral<11039>, z.ZodLiteral<11040>]>;
messageDescription: z.ZodString;
severity: z.ZodUnion<readonly [z.ZodLiteral<"I">, z.ZodLiteral<"E">]>;
}, z.core.$strict>>;
}, z.core.$strict>>;
outputArrayRecordSum2: z.ZodLiteral<0>;
totalRevaluatedCurrentBalance: z.ZodLiteral<0>;
validityDate: z.ZodLiteral<0>;
}, z.core.$strict>;
export type HapoalimForeignTransactionsPersonal = z.infer<typeof HapoalimForeignTransactionsPersonalSchema>;