@accounter/modern-poalim-scraper 0.10.3-alpha-20251215090447-91424d5ba7df785d34765e5a0cea3426137cfd9c → 0.10.3-alpha-20251215093337-929a5da0305cf98fb4397748ee8321bbe93f1524
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/CHANGELOG.md +22 -5
- package/dist/index.d.ts +394 -17
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/scrapers/amex.d.ts +194 -7
- package/dist/scrapers/amex.js +6 -6
- package/dist/scrapers/amex.js.map +1 -1
- package/dist/scrapers/hapoalim.d.ts +11 -11
- package/dist/scrapers/hapoalim.js +35 -23
- package/dist/scrapers/hapoalim.js.map +1 -1
- package/dist/scrapers/isracard.d.ts +194 -7
- package/dist/scrapers/isracard.js +6 -6
- package/dist/scrapers/isracard.js.map +1 -1
- package/dist/zod-schemas/hapoalim-account-data-schema.d.ts +38 -0
- package/dist/zod-schemas/hapoalim-account-data-schema.js +42 -0
- package/dist/zod-schemas/hapoalim-account-data-schema.js.map +1 -0
- package/dist/zod-schemas/hapoalim-deposits-schema.d.ts +204 -0
- package/dist/zod-schemas/hapoalim-deposits-schema.js +145 -0
- package/dist/zod-schemas/hapoalim-deposits-schema.js.map +1 -0
- package/dist/zod-schemas/hapoalim-foreign-deposits-schema.d.ts +200 -0
- package/dist/zod-schemas/hapoalim-foreign-deposits-schema.js +166 -0
- package/dist/zod-schemas/hapoalim-foreign-deposits-schema.js.map +1 -0
- package/dist/zod-schemas/hapoalim-foreign-transactions-business-schema.d.ts +143 -0
- package/dist/zod-schemas/hapoalim-foreign-transactions-business-schema.js +159 -0
- package/dist/zod-schemas/hapoalim-foreign-transactions-business-schema.js.map +1 -0
- package/dist/zod-schemas/hapoalim-foreign-transactions-personal-schema.d.ts +122 -0
- package/dist/zod-schemas/hapoalim-foreign-transactions-personal-schema.js +140 -0
- package/dist/zod-schemas/hapoalim-foreign-transactions-personal-schema.js.map +1 -0
- package/dist/zod-schemas/hapoalim-ils-checking-transactions-schema.d.ts +90 -0
- package/dist/zod-schemas/hapoalim-ils-checking-transactions-schema.js +110 -0
- package/dist/zod-schemas/hapoalim-ils-checking-transactions-schema.js.map +1 -0
- package/dist/zod-schemas/isracard-dashboard-month-schema.d.ts +49 -0
- package/dist/zod-schemas/isracard-dashboard-month-schema.js +63 -0
- package/dist/zod-schemas/isracard-dashboard-month-schema.js.map +1 -0
- package/dist/zod-schemas/types.d.ts +10 -0
- package/dist/zod-schemas/types.js +2 -0
- package/dist/zod-schemas/types.js.map +1 -0
- package/package.json +2 -4
- package/dist/__generated__/accountDataSchema.d.ts +0 -60
- package/dist/__generated__/foreignTransactionsBusinessSchema.d.ts +0 -161
- package/dist/__generated__/foreignTransactionsPersonalSchema.d.ts +0 -136
- package/dist/__generated__/hapoalimDepositsSchema.d.ts +0 -146
- package/dist/__generated__/hapoalimForeignDepositsSchema.d.ts +0 -219
- package/dist/__generated__/isracardDashboardMonth.d.ts +0 -54
- package/dist/schemas/ILSCheckingTransactionsDataSchema.json +0 -392
- package/dist/schemas/accountDataSchema.json +0 -105
- package/dist/schemas/foreignTransactionsBusinessSchema.json +0 -582
- package/dist/schemas/foreignTransactionsPersonalSchema.json +0 -498
- package/dist/schemas/hapoalimDepositsSchema.json +0 -458
- package/dist/schemas/hapoalimForeignDepositsSchema.json +0 -657
- package/dist/schemas/isracardDashboardMonth.json +0 -192
- package/dist/utils/validate-schema.d.ts +0 -4
- package/dist/utils/validate-schema.js +0 -16
- package/dist/utils/validate-schema.js.map +0 -1
|
@@ -1,19 +1,206 @@
|
|
|
1
1
|
import type { Page } from 'puppeteer';
|
|
2
|
-
import type { IsracardDashboardMonth } from '../__generated__/isracardDashboardMonth.js';
|
|
3
2
|
export declare function isracard(page: Page, credentials: IsracardCredentials, options?: IsracardOptions): Promise<{
|
|
4
3
|
getMonthDashboard: (RequestedMonthDate: Date) => Promise<{
|
|
4
|
+
data: {
|
|
5
|
+
Header: {
|
|
6
|
+
Status: string;
|
|
7
|
+
Message: string;
|
|
8
|
+
};
|
|
9
|
+
DashboardMonthBean: {
|
|
10
|
+
totalDebitShekel: string;
|
|
11
|
+
totalDebitDollar: string;
|
|
12
|
+
totalDebitEuro: string;
|
|
13
|
+
cardType: string;
|
|
14
|
+
statementDate: {
|
|
15
|
+
billingDateCode: string;
|
|
16
|
+
billingDate: string;
|
|
17
|
+
totalShekel: string;
|
|
18
|
+
totalDollar: string;
|
|
19
|
+
totalEuro: string;
|
|
20
|
+
cardType: string;
|
|
21
|
+
billingDateMore: string;
|
|
22
|
+
statementDateCard: null;
|
|
23
|
+
}[];
|
|
24
|
+
cardsCharges: {
|
|
25
|
+
period: string;
|
|
26
|
+
billingDate: string;
|
|
27
|
+
workingDate: string;
|
|
28
|
+
cardNumber: string;
|
|
29
|
+
cardIndex: string;
|
|
30
|
+
moreNumberDays: string;
|
|
31
|
+
cardType: string;
|
|
32
|
+
billingDateMore: string;
|
|
33
|
+
billingSumSekel: string;
|
|
34
|
+
billingSumDollar: string;
|
|
35
|
+
billingSumEuro: string;
|
|
36
|
+
cardStatus: string;
|
|
37
|
+
idType: string;
|
|
38
|
+
}[];
|
|
39
|
+
extraCards: string;
|
|
40
|
+
returnCode: string;
|
|
41
|
+
message: string;
|
|
42
|
+
returnMessage: string;
|
|
43
|
+
displayProperties: string;
|
|
44
|
+
tablePageNum: string;
|
|
45
|
+
isError: string;
|
|
46
|
+
isCaptcha: string;
|
|
47
|
+
isButton: string;
|
|
48
|
+
clientIpAddress?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
} | null;
|
|
5
51
|
isValid: boolean;
|
|
6
|
-
errors:
|
|
7
|
-
data: IsracardDashboardMonth | null;
|
|
52
|
+
errors: import("zod/v4/core").$ZodIssue[] | null;
|
|
8
53
|
} | {
|
|
9
|
-
data:
|
|
54
|
+
data: {
|
|
55
|
+
Header: {
|
|
56
|
+
Status: string;
|
|
57
|
+
Message: string;
|
|
58
|
+
};
|
|
59
|
+
DashboardMonthBean: {
|
|
60
|
+
totalDebitShekel: string;
|
|
61
|
+
totalDebitDollar: string;
|
|
62
|
+
totalDebitEuro: string;
|
|
63
|
+
cardType: string;
|
|
64
|
+
statementDate: {
|
|
65
|
+
billingDateCode: string;
|
|
66
|
+
billingDate: string;
|
|
67
|
+
totalShekel: string;
|
|
68
|
+
totalDollar: string;
|
|
69
|
+
totalEuro: string;
|
|
70
|
+
cardType: string;
|
|
71
|
+
billingDateMore: string;
|
|
72
|
+
statementDateCard: null;
|
|
73
|
+
}[];
|
|
74
|
+
cardsCharges: {
|
|
75
|
+
period: string;
|
|
76
|
+
billingDate: string;
|
|
77
|
+
workingDate: string;
|
|
78
|
+
cardNumber: string;
|
|
79
|
+
cardIndex: string;
|
|
80
|
+
moreNumberDays: string;
|
|
81
|
+
cardType: string;
|
|
82
|
+
billingDateMore: string;
|
|
83
|
+
billingSumSekel: string;
|
|
84
|
+
billingSumDollar: string;
|
|
85
|
+
billingSumEuro: string;
|
|
86
|
+
cardStatus: string;
|
|
87
|
+
idType: string;
|
|
88
|
+
}[];
|
|
89
|
+
extraCards: string;
|
|
90
|
+
returnCode: string;
|
|
91
|
+
message: string;
|
|
92
|
+
returnMessage: string;
|
|
93
|
+
displayProperties: string;
|
|
94
|
+
tablePageNum: string;
|
|
95
|
+
isError: string;
|
|
96
|
+
isCaptcha: string;
|
|
97
|
+
isButton: string;
|
|
98
|
+
clientIpAddress?: string | undefined;
|
|
99
|
+
};
|
|
100
|
+
} | null;
|
|
101
|
+
isValid?: never;
|
|
102
|
+
errors?: never;
|
|
10
103
|
}>;
|
|
11
104
|
getDashboards: () => Promise<({
|
|
105
|
+
data: {
|
|
106
|
+
Header: {
|
|
107
|
+
Status: string;
|
|
108
|
+
Message: string;
|
|
109
|
+
};
|
|
110
|
+
DashboardMonthBean: {
|
|
111
|
+
totalDebitShekel: string;
|
|
112
|
+
totalDebitDollar: string;
|
|
113
|
+
totalDebitEuro: string;
|
|
114
|
+
cardType: string;
|
|
115
|
+
statementDate: {
|
|
116
|
+
billingDateCode: string;
|
|
117
|
+
billingDate: string;
|
|
118
|
+
totalShekel: string;
|
|
119
|
+
totalDollar: string;
|
|
120
|
+
totalEuro: string;
|
|
121
|
+
cardType: string;
|
|
122
|
+
billingDateMore: string;
|
|
123
|
+
statementDateCard: null;
|
|
124
|
+
}[];
|
|
125
|
+
cardsCharges: {
|
|
126
|
+
period: string;
|
|
127
|
+
billingDate: string;
|
|
128
|
+
workingDate: string;
|
|
129
|
+
cardNumber: string;
|
|
130
|
+
cardIndex: string;
|
|
131
|
+
moreNumberDays: string;
|
|
132
|
+
cardType: string;
|
|
133
|
+
billingDateMore: string;
|
|
134
|
+
billingSumSekel: string;
|
|
135
|
+
billingSumDollar: string;
|
|
136
|
+
billingSumEuro: string;
|
|
137
|
+
cardStatus: string;
|
|
138
|
+
idType: string;
|
|
139
|
+
}[];
|
|
140
|
+
extraCards: string;
|
|
141
|
+
returnCode: string;
|
|
142
|
+
message: string;
|
|
143
|
+
returnMessage: string;
|
|
144
|
+
displayProperties: string;
|
|
145
|
+
tablePageNum: string;
|
|
146
|
+
isError: string;
|
|
147
|
+
isCaptcha: string;
|
|
148
|
+
isButton: string;
|
|
149
|
+
clientIpAddress?: string | undefined;
|
|
150
|
+
};
|
|
151
|
+
} | null;
|
|
12
152
|
isValid: boolean;
|
|
13
|
-
errors:
|
|
14
|
-
data: IsracardDashboardMonth | null;
|
|
153
|
+
errors: import("zod/v4/core").$ZodIssue[] | null;
|
|
15
154
|
} | {
|
|
16
|
-
data:
|
|
155
|
+
data: {
|
|
156
|
+
Header: {
|
|
157
|
+
Status: string;
|
|
158
|
+
Message: string;
|
|
159
|
+
};
|
|
160
|
+
DashboardMonthBean: {
|
|
161
|
+
totalDebitShekel: string;
|
|
162
|
+
totalDebitDollar: string;
|
|
163
|
+
totalDebitEuro: string;
|
|
164
|
+
cardType: string;
|
|
165
|
+
statementDate: {
|
|
166
|
+
billingDateCode: string;
|
|
167
|
+
billingDate: string;
|
|
168
|
+
totalShekel: string;
|
|
169
|
+
totalDollar: string;
|
|
170
|
+
totalEuro: string;
|
|
171
|
+
cardType: string;
|
|
172
|
+
billingDateMore: string;
|
|
173
|
+
statementDateCard: null;
|
|
174
|
+
}[];
|
|
175
|
+
cardsCharges: {
|
|
176
|
+
period: string;
|
|
177
|
+
billingDate: string;
|
|
178
|
+
workingDate: string;
|
|
179
|
+
cardNumber: string;
|
|
180
|
+
cardIndex: string;
|
|
181
|
+
moreNumberDays: string;
|
|
182
|
+
cardType: string;
|
|
183
|
+
billingDateMore: string;
|
|
184
|
+
billingSumSekel: string;
|
|
185
|
+
billingSumDollar: string;
|
|
186
|
+
billingSumEuro: string;
|
|
187
|
+
cardStatus: string;
|
|
188
|
+
idType: string;
|
|
189
|
+
}[];
|
|
190
|
+
extraCards: string;
|
|
191
|
+
returnCode: string;
|
|
192
|
+
message: string;
|
|
193
|
+
returnMessage: string;
|
|
194
|
+
displayProperties: string;
|
|
195
|
+
tablePageNum: string;
|
|
196
|
+
isError: string;
|
|
197
|
+
isCaptcha: string;
|
|
198
|
+
isButton: string;
|
|
199
|
+
clientIpAddress?: string | undefined;
|
|
200
|
+
};
|
|
201
|
+
} | null;
|
|
202
|
+
isValid?: never;
|
|
203
|
+
errors?: never;
|
|
17
204
|
})[]>;
|
|
18
205
|
getMonthTransactions: (RequestedMonthDate: Date) => Promise<{
|
|
19
206
|
data: {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import isracardDashboardMonth from '../schemas/isracardDashboardMonth.json' with { type: 'json' };
|
|
2
1
|
import { fetchGetWithinPage, fetchPostWithinPage } from '../utils/fetch.js';
|
|
3
2
|
import { userAgentOverride } from '../utils/user-agent-override.js';
|
|
4
|
-
import { validateSchema } from '../utils/validate-schema.js';
|
|
5
3
|
import { IsracardCardsTransactionsListSchema, } from '../zod-schemas/isracard-cards-transactions-list-schema.js';
|
|
4
|
+
import { IsracardDashboardMonthSchema, } from '../zod-schemas/isracard-dashboard-month-schema.js';
|
|
6
5
|
const SERVICE_URL = 'https://digital.isracard.co.il/services/ProxyRequestHandler.ashx';
|
|
7
6
|
async function login(credentials, page) {
|
|
8
7
|
const validateUrl = `${SERVICE_URL}?reqName=performLogonI`;
|
|
@@ -22,10 +21,11 @@ async function getMonthDashboard(page, monthDate, options) {
|
|
|
22
21
|
const getDashboardFunction = fetchGetWithinPage(page, accountsUrl);
|
|
23
22
|
if (options?.validateSchema) {
|
|
24
23
|
const data = await getDashboardFunction;
|
|
25
|
-
const validation =
|
|
24
|
+
const validation = IsracardDashboardMonthSchema.safeParse(data);
|
|
26
25
|
return {
|
|
27
|
-
data,
|
|
28
|
-
|
|
26
|
+
data: validation.data ?? null,
|
|
27
|
+
isValid: validation.success,
|
|
28
|
+
errors: validation.success ? null : validation.error.issues,
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
return { data: await getDashboardFunction };
|
|
@@ -39,7 +39,7 @@ async function getMonthTransactions(page, monthDate, options) {
|
|
|
39
39
|
const data = await getTransactionsFunction;
|
|
40
40
|
const validation = IsracardCardsTransactionsListSchema.safeParse(data);
|
|
41
41
|
return {
|
|
42
|
-
data,
|
|
42
|
+
data: validation.data ?? null,
|
|
43
43
|
isValid: validation.success,
|
|
44
44
|
errors: validation.success ? null : validation.error.issues,
|
|
45
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isracard.js","sourceRoot":"","sources":["../../src/scrapers/isracard.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"isracard.js","sourceRoot":"","sources":["../../src/scrapers/isracard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EACL,mCAAmC,GAEpC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,4BAA4B,GAE7B,MAAM,mDA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AAE,CACjD,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC;QACzD,eAAe,EAAE,GAAG,EAAE,CACpB,OAAO,CAAC,GAAG;QACT,yBAAyB;QACzB,aAAa,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CACxF;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,OAAO,eAAe;IAC1B,cAAc,GAAY,KAAK,CAAC;IAChC,QAAQ,CAAU;CACnB;AAED,MAAM,OAAO,mBAAmB;IAC9B,EAAE,GAAW,EAAE,CAAC;IAChB,QAAQ,GAAW,EAAE,CAAC;IACtB,WAAW,GAAW,EAAE,CAAC;CAC1B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AccountDataItemSchema: z.ZodObject<{
|
|
3
|
+
bankNumber: z.ZodLiteral<12>;
|
|
4
|
+
extendedBankNumber: z.ZodLiteral<912>;
|
|
5
|
+
branchNumber: z.ZodNumber;
|
|
6
|
+
accountNumber: z.ZodNumber;
|
|
7
|
+
partyPreferredIndication: z.ZodLiteral<0>;
|
|
8
|
+
partyAccountInvolvementCode: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<201>, z.ZodLiteral<603>]>;
|
|
9
|
+
accountDealDate: z.ZodLiteral<0>;
|
|
10
|
+
accountUpdateDate: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<0>]>;
|
|
11
|
+
metegDoarNet: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
12
|
+
kodHarshaatPeilut: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
13
|
+
accountClosingReasonCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
14
|
+
productLabel: z.ZodString;
|
|
15
|
+
accountAgreementOpeningDate: z.ZodLiteral<0>;
|
|
16
|
+
serviceAuthorizationDesc: z.ZodUnion<readonly [z.ZodLiteral<"לא חתום">, z.ZodLiteral<"פעולות ומידע">]>;
|
|
17
|
+
branchTypeCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<2>]>;
|
|
18
|
+
mymailEntitlementSwitch: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export declare const HapoalimAccountDataSchema: z.ZodArray<z.ZodObject<{
|
|
21
|
+
bankNumber: z.ZodLiteral<12>;
|
|
22
|
+
extendedBankNumber: z.ZodLiteral<912>;
|
|
23
|
+
branchNumber: z.ZodNumber;
|
|
24
|
+
accountNumber: z.ZodNumber;
|
|
25
|
+
partyPreferredIndication: z.ZodLiteral<0>;
|
|
26
|
+
partyAccountInvolvementCode: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<201>, z.ZodLiteral<603>]>;
|
|
27
|
+
accountDealDate: z.ZodLiteral<0>;
|
|
28
|
+
accountUpdateDate: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<0>]>;
|
|
29
|
+
metegDoarNet: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
30
|
+
kodHarshaatPeilut: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<3>]>;
|
|
31
|
+
accountClosingReasonCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
32
|
+
productLabel: z.ZodString;
|
|
33
|
+
accountAgreementOpeningDate: z.ZodLiteral<0>;
|
|
34
|
+
serviceAuthorizationDesc: z.ZodUnion<readonly [z.ZodLiteral<"לא חתום">, z.ZodLiteral<"פעולות ומידע">]>;
|
|
35
|
+
branchTypeCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<2>]>;
|
|
36
|
+
mymailEntitlementSwitch: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
37
|
+
}, z.core.$strict>>;
|
|
38
|
+
export type HapoalimAccountData = z.infer<typeof HapoalimAccountDataSchema>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const BankNumberSchema = z.literal(12);
|
|
3
|
+
const ExtendedBankNumberSchema = z.literal(912);
|
|
4
|
+
const BranchNumberSchema = z.number().int().min(100).max(999);
|
|
5
|
+
const AccountNumberSchema = z.number().int().min(10_000).max(999_999);
|
|
6
|
+
const PartyPreferredIndicationSchema = z.literal(0);
|
|
7
|
+
const PartyAccountInvolvementCodeSchema = z.union([z.literal(1), z.literal(201), z.literal(603)]);
|
|
8
|
+
const AccountDealDateSchema = z.literal(0);
|
|
9
|
+
const AccountUpdateDateSchema = z.union([
|
|
10
|
+
z.number().int().min(10_000_000).max(99_999_999),
|
|
11
|
+
z.literal(0),
|
|
12
|
+
]);
|
|
13
|
+
const MetegDoarNetSchema = z.union([z.literal(0), z.literal(1)]);
|
|
14
|
+
const KodHarshaatPeilutSchema = z.union([z.literal(1), z.literal(3)]);
|
|
15
|
+
const AccountClosingReasonCodeSchema = z.union([z.literal(0), z.literal(1)]);
|
|
16
|
+
const ProductLabelSchema = z.string();
|
|
17
|
+
const AccountAgreementOpeningDateSchema = z.literal(0);
|
|
18
|
+
const ServiceAuthorizationDescSchema = z.union([z.literal('לא חתום'), z.literal('פעולות ומידע')]);
|
|
19
|
+
const BranchTypeCodeSchema = z.union([z.literal(0), z.literal(2)]);
|
|
20
|
+
const MymailEntitlementSwitchSchema = z.union([z.literal(0), z.literal(1)]);
|
|
21
|
+
export const AccountDataItemSchema = z
|
|
22
|
+
.object({
|
|
23
|
+
bankNumber: BankNumberSchema,
|
|
24
|
+
extendedBankNumber: ExtendedBankNumberSchema,
|
|
25
|
+
branchNumber: BranchNumberSchema,
|
|
26
|
+
accountNumber: AccountNumberSchema,
|
|
27
|
+
partyPreferredIndication: PartyPreferredIndicationSchema,
|
|
28
|
+
partyAccountInvolvementCode: PartyAccountInvolvementCodeSchema,
|
|
29
|
+
accountDealDate: AccountDealDateSchema,
|
|
30
|
+
accountUpdateDate: AccountUpdateDateSchema,
|
|
31
|
+
metegDoarNet: MetegDoarNetSchema,
|
|
32
|
+
kodHarshaatPeilut: KodHarshaatPeilutSchema,
|
|
33
|
+
accountClosingReasonCode: AccountClosingReasonCodeSchema,
|
|
34
|
+
productLabel: ProductLabelSchema,
|
|
35
|
+
accountAgreementOpeningDate: AccountAgreementOpeningDateSchema,
|
|
36
|
+
serviceAuthorizationDesc: ServiceAuthorizationDescSchema,
|
|
37
|
+
branchTypeCode: BranchTypeCodeSchema,
|
|
38
|
+
mymailEntitlementSwitch: MymailEntitlementSwitchSchema,
|
|
39
|
+
})
|
|
40
|
+
.strict();
|
|
41
|
+
export const HapoalimAccountDataSchema = z.array(AccountDataItemSchema).min(1);
|
|
42
|
+
//# sourceMappingURL=hapoalim-account-data-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hapoalim-account-data-schema.js","sourceRoot":"","sources":["../../src/zod-schemas/hapoalim-account-data-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,gBAAgB,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AACvC,MAAM,wBAAwB,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAEhD,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE9D,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAEtE,MAAM,8B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CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AAElG,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnE,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,MAAM,CAAC;IACN,UAAU,EAAE,gBAAgB;IAC5B,kBAAkB,EAAE,wBAAwB;IAC5C,YAAY,EAAE,kBAAkB;IAChC,aAAa,EAAE,mBAAmB;IAClC,wBAAwB,EAAE,8BAA8B;IACxD,2BAA2B,EAAE,iCAAiC;IAC9D,eAAe,EAAE,qBAAqB;IACtC,iBAAiB,EAAE,uBAAuB;IAC1C,YAAY,EAAE,kBAAkB;IAChC,iBAAiB,EAAE,uBAAuB;IAC1C,wBAAwB,EAAE,8BAA8B;IACxD,YAAY,EAAE,kBAAkB;IAChC,2BAA2B,EAAE,iCAAiC;IAC9D,wBAAwB,EAAE,8BAA8B;IACxD,cAAc,EAAE,oBAAoB;IACpC,uBAAuB,EAAE,6BAA6B;CACvD,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const HapoalimDepositsSchema: z.ZodObject<{
|
|
3
|
+
metadata: z.ZodObject<{
|
|
4
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
5
|
+
messageDescription: z.ZodString;
|
|
6
|
+
messageCode: z.ZodNumber;
|
|
7
|
+
severity: z.ZodString;
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
|
+
links: z.ZodObject<{}, z.core.$loose>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
list: z.ZodArray<z.ZodObject<{
|
|
12
|
+
data: z.ZodArray<z.ZodObject<{
|
|
13
|
+
metadata: z.ZodObject<{
|
|
14
|
+
attributes: z.ZodObject<{
|
|
15
|
+
actualCurrencyRate: z.ZodObject<{
|
|
16
|
+
hidden: z.ZodString;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
lastIndexRate: z.ZodObject<{
|
|
19
|
+
hidden: z.ZodString;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
basicIndexValue: z.ZodObject<{
|
|
22
|
+
hidden: z.ZodString;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
basicCurrencyRate: z.ZodObject<{
|
|
25
|
+
hidden: z.ZodString;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
standingOrderAmount: z.ZodObject<{
|
|
28
|
+
hidden: z.ZodString;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
|
+
linkagePercent: z.ZodObject<{
|
|
31
|
+
hidden: z.ZodString;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
|
+
ratePercentFactor: z.ZodObject<{
|
|
34
|
+
hidden: z.ZodString;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
|
+
fixedInterestRate: z.ZodObject<{
|
|
37
|
+
hidden: z.ZodString;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
links: z.ZodObject<{}, z.core.$loose>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
|
+
shortProductName: z.ZodLiteral<"פריים">;
|
|
43
|
+
principalAmount: z.ZodNumber;
|
|
44
|
+
revaluedTotalAmount: z.ZodNumber;
|
|
45
|
+
endExitDate: z.ZodNumber;
|
|
46
|
+
paymentDate: z.ZodNumber;
|
|
47
|
+
statedAnnualInterestRate: z.ZodNumber;
|
|
48
|
+
hebrewPurposeDescription: z.ZodLiteral<"לא רלוונטי">;
|
|
49
|
+
objectiveAmount: z.ZodNumber;
|
|
50
|
+
objectiveDate: z.ZodNumber;
|
|
51
|
+
agreementOpeningDate: z.ZodNumber;
|
|
52
|
+
eventWithdrawalAmount: z.ZodNumber;
|
|
53
|
+
startExitDate: z.ZodNumber;
|
|
54
|
+
periodUntilNextEvent: z.ZodNumber;
|
|
55
|
+
renewalDescription: z.ZodUnion<readonly [z.ZodLiteral<"פיקדון מתחדש">, z.ZodLiteral<"יפרע לעו\"ש">]>;
|
|
56
|
+
requestedRenewalNumber: z.ZodNumber;
|
|
57
|
+
interestBaseDescription: z.ZodLiteral<"פריים">;
|
|
58
|
+
interestTypeDescription: z.ZodLiteral<"משתנה">;
|
|
59
|
+
spreadPercent: z.ZodNumber;
|
|
60
|
+
variableInterestDescription: z.ZodString;
|
|
61
|
+
adjustedInterest: z.ZodNumber;
|
|
62
|
+
interestCalculatingMethodDescription: z.ZodLiteral<"קו ישר">;
|
|
63
|
+
interestCreditingMethodDescription: z.ZodLiteral<"לקרן הפיקדון">;
|
|
64
|
+
interestPaymentDescription: z.ZodLiteral<"תחנה">;
|
|
65
|
+
nominalInterest: z.ZodNumber;
|
|
66
|
+
depositSerialId: z.ZodNumber;
|
|
67
|
+
linkageBaseDescription: z.ZodNull;
|
|
68
|
+
renewalCounter: z.ZodNumber;
|
|
69
|
+
productFreeText: z.ZodString;
|
|
70
|
+
partyTextId: z.ZodNumber;
|
|
71
|
+
actualIndexRate: z.ZodNumber;
|
|
72
|
+
interestTypeCode: z.ZodNumber;
|
|
73
|
+
productNumber: z.ZodNumber;
|
|
74
|
+
productPurposeCode: z.ZodNumber;
|
|
75
|
+
detailedAccountTypeCode: z.ZodNumber;
|
|
76
|
+
formattedEndExitDate: z.ZodString;
|
|
77
|
+
formattedPaymentDate: z.ZodString;
|
|
78
|
+
formattedObjectiveDate: z.ZodNull;
|
|
79
|
+
formattedAgreementOpeningDate: z.ZodString;
|
|
80
|
+
formattedStartExitDate: z.ZodString;
|
|
81
|
+
lienDescription: z.ZodUnion<readonly [z.ZodLiteral<"משועבד">, z.ZodLiteral<"מבטיח אשראי">]>;
|
|
82
|
+
withdrawalEnablingIndication: z.ZodNumber;
|
|
83
|
+
renewalEnablingIndication: z.ZodNumber;
|
|
84
|
+
standingOrderEnablingIndication: z.ZodNumber;
|
|
85
|
+
additionEnablingIndication: z.ZodNumber;
|
|
86
|
+
timeUnitDescription: z.ZodLiteral<"ימים">;
|
|
87
|
+
formattedRevaluedTotalAmount: z.ZodNull;
|
|
88
|
+
warningExistanceIndication: z.ZodNumber;
|
|
89
|
+
renewalDateExplanation: z.ZodUnion<readonly [z.ZodLiteral<"תחנה קרובה">, z.ZodLiteral<"ייפרע לעו\"ש בתאריך">]>;
|
|
90
|
+
expectedRepaymentSwitch: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
91
|
+
}, z.core.$strict>>;
|
|
92
|
+
source: z.ZodLiteral<"israeliCurrencyDeposit">;
|
|
93
|
+
validityDate: z.ZodNumber;
|
|
94
|
+
validityTime: z.ZodNumber;
|
|
95
|
+
israeliCurrencyDepositPrincipalBalanceAmount: z.ZodNumber;
|
|
96
|
+
depositsRevaluedAmount: z.ZodNumber;
|
|
97
|
+
formattedValidityTime: z.ZodString;
|
|
98
|
+
formattedDate: z.ZodString;
|
|
99
|
+
amount: z.ZodNumber;
|
|
100
|
+
revaluatedAmount: z.ZodNumber;
|
|
101
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
102
|
+
messageCode: z.ZodUnion<readonly [z.ZodLiteral<803>, z.ZodLiteral<804>, z.ZodLiteral<805>, z.ZodLiteral<821>, z.ZodLiteral<822>, z.ZodLiteral<823>, z.ZodLiteral<824>, z.ZodLiteral<825>, z.ZodLiteral<826>]>;
|
|
103
|
+
messageDescription: z.ZodUnion<readonly [z.ZodLiteral<"בכל מקרה לא תפחת הריבית על הפיקדון משיעור 0% בשנה.">, z.ZodLiteral<"הוראת משיכה/אי חידוש לפיקדון צמוד מט\"ח יש לתת שני ימי עסקים לפחות לפני תאריך התחנה/החידוש.">, z.ZodLiteral<"שערוך הפיקדונות המובנים מחושב בשיטה דומה, אך לא זהה, לתנאי ההתקשרות ואין בנתונים כדי לחייב את הבנק או לשמש אסמכתא לפדיון או משיכה.">, z.ZodLiteral<"פעולה המבוצעת בפיקדונות בשקלים עד השעה 18:30 (בימי ו׳ וערבי חג עד 14:00) ביום שהינו יום עסקים, נקלטת מיד עם אישורה ומשתקפת מיידית במסך פירוט פיקדונות.">, z.ZodLiteral<"לאחר קליטת הפעולה לא ניתן יהיה לבטלה.">, z.ZodLiteral<"הוראה הניתנת לאחר השעה 18:30 ( בימי ו׳ וערבי חג - לאחר השעה 14:00 ) תשתקף בחשבונך החל מהשעה 02:00 ועד למועד זה ניתן יהיה לבטלה.">, z.ZodLiteral<"הוראה הניתנת ביום שאינו יום עסקים, תבוצע ביום העסקים הבא ותשתקף בחשבונך החל מהשעה 02:00 של אותו יום ועד למועד זה ניתן יהיה לבטלה.">, z.ZodLiteral<"הוראה לביצוע עתידי ניתנת לביטול עד לשעה 02:00 של יום ערך הביצוע.">, z.ZodLiteral<"במסך \"סטטוס הוראות בפיקדונות\" ניתן לצפות בסטטוס הפעולה. אם סטטוס הפעולה הינו \"ממתין לביצוע\" - ניתן לבטלה.">]>;
|
|
104
|
+
messageTypeCode: z.ZodLiteral<"I">;
|
|
105
|
+
}, z.core.$strict>>;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
depositsWrapperData: z.ZodArray<z.ZodObject<{
|
|
108
|
+
data: z.ZodArray<z.ZodObject<{
|
|
109
|
+
metadata: z.ZodObject<{
|
|
110
|
+
attributes: z.ZodObject<{
|
|
111
|
+
actualCurrencyRate: z.ZodObject<{
|
|
112
|
+
hidden: z.ZodString;
|
|
113
|
+
}, z.core.$loose>;
|
|
114
|
+
lastIndexRate: z.ZodObject<{
|
|
115
|
+
hidden: z.ZodString;
|
|
116
|
+
}, z.core.$loose>;
|
|
117
|
+
basicIndexValue: z.ZodObject<{
|
|
118
|
+
hidden: z.ZodString;
|
|
119
|
+
}, z.core.$loose>;
|
|
120
|
+
basicCurrencyRate: z.ZodObject<{
|
|
121
|
+
hidden: z.ZodString;
|
|
122
|
+
}, z.core.$loose>;
|
|
123
|
+
standingOrderAmount: z.ZodObject<{
|
|
124
|
+
hidden: z.ZodString;
|
|
125
|
+
}, z.core.$loose>;
|
|
126
|
+
linkagePercent: z.ZodObject<{
|
|
127
|
+
hidden: z.ZodString;
|
|
128
|
+
}, z.core.$loose>;
|
|
129
|
+
ratePercentFactor: z.ZodObject<{
|
|
130
|
+
hidden: z.ZodString;
|
|
131
|
+
}, z.core.$loose>;
|
|
132
|
+
fixedInterestRate: z.ZodObject<{
|
|
133
|
+
hidden: z.ZodString;
|
|
134
|
+
}, z.core.$loose>;
|
|
135
|
+
}, z.core.$loose>;
|
|
136
|
+
links: z.ZodObject<{}, z.core.$loose>;
|
|
137
|
+
}, z.core.$loose>;
|
|
138
|
+
shortProductName: z.ZodLiteral<"פריים">;
|
|
139
|
+
principalAmount: z.ZodNumber;
|
|
140
|
+
revaluedTotalAmount: z.ZodNumber;
|
|
141
|
+
endExitDate: z.ZodNumber;
|
|
142
|
+
paymentDate: z.ZodNumber;
|
|
143
|
+
statedAnnualInterestRate: z.ZodNumber;
|
|
144
|
+
hebrewPurposeDescription: z.ZodLiteral<"לא רלוונטי">;
|
|
145
|
+
objectiveAmount: z.ZodNumber;
|
|
146
|
+
objectiveDate: z.ZodNumber;
|
|
147
|
+
agreementOpeningDate: z.ZodNumber;
|
|
148
|
+
eventWithdrawalAmount: z.ZodNumber;
|
|
149
|
+
startExitDate: z.ZodNumber;
|
|
150
|
+
periodUntilNextEvent: z.ZodNumber;
|
|
151
|
+
renewalDescription: z.ZodUnion<readonly [z.ZodLiteral<"פיקדון מתחדש">, z.ZodLiteral<"יפרע לעו\"ש">]>;
|
|
152
|
+
requestedRenewalNumber: z.ZodNumber;
|
|
153
|
+
interestBaseDescription: z.ZodLiteral<"פריים">;
|
|
154
|
+
interestTypeDescription: z.ZodLiteral<"משתנה">;
|
|
155
|
+
spreadPercent: z.ZodNumber;
|
|
156
|
+
variableInterestDescription: z.ZodString;
|
|
157
|
+
adjustedInterest: z.ZodNumber;
|
|
158
|
+
interestCalculatingMethodDescription: z.ZodLiteral<"קו ישר">;
|
|
159
|
+
interestCreditingMethodDescription: z.ZodLiteral<"לקרן הפיקדון">;
|
|
160
|
+
interestPaymentDescription: z.ZodLiteral<"תחנה">;
|
|
161
|
+
nominalInterest: z.ZodNumber;
|
|
162
|
+
depositSerialId: z.ZodNumber;
|
|
163
|
+
linkageBaseDescription: z.ZodNull;
|
|
164
|
+
renewalCounter: z.ZodNumber;
|
|
165
|
+
productFreeText: z.ZodString;
|
|
166
|
+
partyTextId: z.ZodNumber;
|
|
167
|
+
actualIndexRate: z.ZodNumber;
|
|
168
|
+
interestTypeCode: z.ZodNumber;
|
|
169
|
+
productNumber: z.ZodNumber;
|
|
170
|
+
productPurposeCode: z.ZodNumber;
|
|
171
|
+
detailedAccountTypeCode: z.ZodNumber;
|
|
172
|
+
formattedEndExitDate: z.ZodString;
|
|
173
|
+
formattedPaymentDate: z.ZodString;
|
|
174
|
+
formattedObjectiveDate: z.ZodNull;
|
|
175
|
+
formattedAgreementOpeningDate: z.ZodString;
|
|
176
|
+
formattedStartExitDate: z.ZodString;
|
|
177
|
+
lienDescription: z.ZodUnion<readonly [z.ZodLiteral<"משועבד">, z.ZodLiteral<"מבטיח אשראי">]>;
|
|
178
|
+
withdrawalEnablingIndication: z.ZodNumber;
|
|
179
|
+
renewalEnablingIndication: z.ZodNumber;
|
|
180
|
+
standingOrderEnablingIndication: z.ZodNumber;
|
|
181
|
+
additionEnablingIndication: z.ZodNumber;
|
|
182
|
+
timeUnitDescription: z.ZodLiteral<"ימים">;
|
|
183
|
+
formattedRevaluedTotalAmount: z.ZodNull;
|
|
184
|
+
warningExistanceIndication: z.ZodNumber;
|
|
185
|
+
renewalDateExplanation: z.ZodUnion<readonly [z.ZodLiteral<"תחנה קרובה">, z.ZodLiteral<"ייפרע לעו\"ש בתאריך">]>;
|
|
186
|
+
expectedRepaymentSwitch: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
187
|
+
}, z.core.$strict>>;
|
|
188
|
+
source: z.ZodLiteral<"israeliCurrencyDeposit">;
|
|
189
|
+
validityDate: z.ZodNumber;
|
|
190
|
+
validityTime: z.ZodNumber;
|
|
191
|
+
israeliCurrencyDepositPrincipalBalanceAmount: z.ZodNumber;
|
|
192
|
+
depositsRevaluedAmount: z.ZodNumber;
|
|
193
|
+
formattedValidityTime: z.ZodString;
|
|
194
|
+
formattedDate: z.ZodString;
|
|
195
|
+
amount: z.ZodNumber;
|
|
196
|
+
revaluatedAmount: z.ZodNumber;
|
|
197
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
198
|
+
messageCode: z.ZodUnion<readonly [z.ZodLiteral<803>, z.ZodLiteral<804>, z.ZodLiteral<805>, z.ZodLiteral<821>, z.ZodLiteral<822>, z.ZodLiteral<823>, z.ZodLiteral<824>, z.ZodLiteral<825>, z.ZodLiteral<826>]>;
|
|
199
|
+
messageDescription: z.ZodUnion<readonly [z.ZodLiteral<"בכל מקרה לא תפחת הריבית על הפיקדון משיעור 0% בשנה.">, z.ZodLiteral<"הוראת משיכה/אי חידוש לפיקדון צמוד מט\"ח יש לתת שני ימי עסקים לפחות לפני תאריך התחנה/החידוש.">, z.ZodLiteral<"שערוך הפיקדונות המובנים מחושב בשיטה דומה, אך לא זהה, לתנאי ההתקשרות ואין בנתונים כדי לחייב את הבנק או לשמש אסמכתא לפדיון או משיכה.">, z.ZodLiteral<"פעולה המבוצעת בפיקדונות בשקלים עד השעה 18:30 (בימי ו׳ וערבי חג עד 14:00) ביום שהינו יום עסקים, נקלטת מיד עם אישורה ומשתקפת מיידית במסך פירוט פיקדונות.">, z.ZodLiteral<"לאחר קליטת הפעולה לא ניתן יהיה לבטלה.">, z.ZodLiteral<"הוראה הניתנת לאחר השעה 18:30 ( בימי ו׳ וערבי חג - לאחר השעה 14:00 ) תשתקף בחשבונך החל מהשעה 02:00 ועד למועד זה ניתן יהיה לבטלה.">, z.ZodLiteral<"הוראה הניתנת ביום שאינו יום עסקים, תבוצע ביום העסקים הבא ותשתקף בחשבונך החל מהשעה 02:00 של אותו יום ועד למועד זה ניתן יהיה לבטלה.">, z.ZodLiteral<"הוראה לביצוע עתידי ניתנת לביטול עד לשעה 02:00 של יום ערך הביצוע.">, z.ZodLiteral<"במסך \"סטטוס הוראות בפיקדונות\" ניתן לצפות בסטטוס הפעולה. אם סטטוס הפעולה הינו \"ממתין לביצוע\" - ניתן לבטלה.">]>;
|
|
200
|
+
messageTypeCode: z.ZodLiteral<"I">;
|
|
201
|
+
}, z.core.$strict>>;
|
|
202
|
+
}, z.core.$strict>>;
|
|
203
|
+
}, z.core.$strict>;
|
|
204
|
+
export type HapoalimDeposits = z.infer<typeof HapoalimDepositsSchema>;
|