@accounter/modern-poalim-scraper 0.10.3-alpha-20251215090645-0224d7cad2901369f8bcdf894baaacb58a807931 → 0.10.3-alpha-20251215163206-c4f00fef8cb6de2a649d3e2e84519961f73037f2

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/dist/index.d.ts +394 -17
  3. package/dist/index.js +1 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/scrapers/amex.d.ts +194 -7
  6. package/dist/scrapers/amex.js +6 -6
  7. package/dist/scrapers/amex.js.map +1 -1
  8. package/dist/scrapers/hapoalim.d.ts +11 -11
  9. package/dist/scrapers/hapoalim.js +35 -23
  10. package/dist/scrapers/hapoalim.js.map +1 -1
  11. package/dist/scrapers/isracard.d.ts +194 -7
  12. package/dist/scrapers/isracard.js +6 -6
  13. package/dist/scrapers/isracard.js.map +1 -1
  14. package/dist/zod-schemas/hapoalim-account-data-schema.d.ts +38 -0
  15. package/dist/zod-schemas/hapoalim-account-data-schema.js +42 -0
  16. package/dist/zod-schemas/hapoalim-account-data-schema.js.map +1 -0
  17. package/dist/zod-schemas/hapoalim-deposits-schema.d.ts +204 -0
  18. package/dist/zod-schemas/hapoalim-deposits-schema.js +145 -0
  19. package/dist/zod-schemas/hapoalim-deposits-schema.js.map +1 -0
  20. package/dist/zod-schemas/hapoalim-foreign-deposits-schema.d.ts +200 -0
  21. package/dist/zod-schemas/hapoalim-foreign-deposits-schema.js +166 -0
  22. package/dist/zod-schemas/hapoalim-foreign-deposits-schema.js.map +1 -0
  23. package/dist/zod-schemas/hapoalim-foreign-transactions-business-schema.d.ts +143 -0
  24. package/dist/zod-schemas/hapoalim-foreign-transactions-business-schema.js +159 -0
  25. package/dist/zod-schemas/hapoalim-foreign-transactions-business-schema.js.map +1 -0
  26. package/dist/zod-schemas/hapoalim-foreign-transactions-personal-schema.d.ts +122 -0
  27. package/dist/zod-schemas/hapoalim-foreign-transactions-personal-schema.js +140 -0
  28. package/dist/zod-schemas/hapoalim-foreign-transactions-personal-schema.js.map +1 -0
  29. package/dist/zod-schemas/hapoalim-ils-checking-transactions-schema.d.ts +90 -0
  30. package/dist/zod-schemas/hapoalim-ils-checking-transactions-schema.js +110 -0
  31. package/dist/zod-schemas/hapoalim-ils-checking-transactions-schema.js.map +1 -0
  32. package/dist/zod-schemas/isracard-dashboard-month-schema.d.ts +49 -0
  33. package/dist/zod-schemas/isracard-dashboard-month-schema.js +63 -0
  34. package/dist/zod-schemas/isracard-dashboard-month-schema.js.map +1 -0
  35. package/dist/zod-schemas/types.d.ts +10 -0
  36. package/dist/zod-schemas/types.js +2 -0
  37. package/dist/zod-schemas/types.js.map +1 -0
  38. package/package.json +2 -4
  39. package/dist/__generated__/accountDataSchema.d.ts +0 -60
  40. package/dist/__generated__/foreignTransactionsBusinessSchema.d.ts +0 -161
  41. package/dist/__generated__/foreignTransactionsPersonalSchema.d.ts +0 -136
  42. package/dist/__generated__/hapoalimDepositsSchema.d.ts +0 -146
  43. package/dist/__generated__/hapoalimForeignDepositsSchema.d.ts +0 -219
  44. package/dist/__generated__/isracardDashboardMonth.d.ts +0 -54
  45. package/dist/schemas/ILSCheckingTransactionsDataSchema.json +0 -392
  46. package/dist/schemas/accountDataSchema.json +0 -105
  47. package/dist/schemas/foreignTransactionsBusinessSchema.json +0 -582
  48. package/dist/schemas/foreignTransactionsPersonalSchema.json +0 -498
  49. package/dist/schemas/hapoalimDepositsSchema.json +0 -458
  50. package/dist/schemas/hapoalimForeignDepositsSchema.json +0 -657
  51. package/dist/schemas/isracardDashboardMonth.json +0 -192
  52. package/dist/utils/validate-schema.d.ts +0 -4
  53. package/dist/utils/validate-schema.js +0 -16
  54. package/dist/utils/validate-schema.js.map +0 -1
@@ -1,458 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "additionalProperties": false,
5
- "required": ["metadata", "list", "depositsWrapperData"],
6
- "definitions": {
7
- "deposits": {
8
- "type": "array",
9
- "items": {
10
- "type": "object",
11
- "additionalProperties": false,
12
- "required": [
13
- "data",
14
- "source",
15
- "validityDate",
16
- "validityTime",
17
- "israeliCurrencyDepositPrincipalBalanceAmount",
18
- "depositsRevaluedAmount",
19
- "formattedValidityTime",
20
- "formattedDate",
21
- "amount",
22
- "revaluatedAmount",
23
- "messages"
24
- ],
25
- "properties": {
26
- "data": {
27
- "type": "array",
28
- "items": {
29
- "type": "object",
30
- "additionalProperties": false,
31
- "required": [
32
- "metadata",
33
- "shortProductName",
34
- "principalAmount",
35
- "revaluedTotalAmount",
36
- "endExitDate",
37
- "paymentDate",
38
- "statedAnnualInterestRate",
39
- "hebrewPurposeDescription",
40
- "objectiveAmount",
41
- "objectiveDate",
42
- "agreementOpeningDate",
43
- "eventWithdrawalAmount",
44
- "startExitDate",
45
- "periodUntilNextEvent",
46
- "renewalDescription",
47
- "requestedRenewalNumber",
48
- "interestBaseDescription",
49
- "interestTypeDescription",
50
- "spreadPercent",
51
- "variableInterestDescription",
52
- "adjustedInterest",
53
- "interestCalculatingMethodDescription",
54
- "interestCreditingMethodDescription",
55
- "interestPaymentDescription",
56
- "nominalInterest",
57
- "depositSerialId",
58
- "linkageBaseDescription",
59
- "renewalCounter",
60
- "productFreeText",
61
- "partyTextId",
62
- "actualIndexRate",
63
- "interestTypeCode",
64
- "productNumber",
65
- "productPurposeCode",
66
- "detailedAccountTypeCode",
67
- "formattedEndExitDate",
68
- "formattedPaymentDate",
69
- "formattedObjectiveDate",
70
- "formattedAgreementOpeningDate",
71
- "formattedStartExitDate",
72
- "lienDescription",
73
- "withdrawalEnablingIndication",
74
- "renewalEnablingIndication",
75
- "standingOrderEnablingIndication",
76
- "additionEnablingIndication",
77
- "timeUnitDescription",
78
- "formattedRevaluedTotalAmount",
79
- "warningExistanceIndication",
80
- "renewalDateExplanation",
81
- "expectedRepaymentSwitch"
82
- ],
83
- "properties": {
84
- "metadata": {
85
- "type": "object",
86
- "properties": {
87
- "attributes": {
88
- "type": "object",
89
- "properties": {
90
- "actualCurrencyRate": {
91
- "type": "object",
92
- "properties": {
93
- "hidden": {
94
- "type": "string"
95
- }
96
- },
97
- "additionalProperties": true,
98
- "required": ["hidden"]
99
- },
100
- "lastIndexRate": {
101
- "type": "object",
102
- "properties": {
103
- "hidden": {
104
- "type": "string"
105
- }
106
- },
107
- "additionalProperties": true,
108
- "required": ["hidden"]
109
- },
110
- "basicIndexValue": {
111
- "type": "object",
112
- "properties": {
113
- "hidden": {
114
- "type": "string"
115
- }
116
- },
117
- "additionalProperties": true,
118
- "required": ["hidden"]
119
- },
120
- "basicCurrencyRate": {
121
- "type": "object",
122
- "properties": {
123
- "hidden": {
124
- "type": "string"
125
- }
126
- },
127
- "additionalProperties": true,
128
- "required": ["hidden"]
129
- },
130
- "standingOrderAmount": {
131
- "type": "object",
132
- "properties": {
133
- "hidden": {
134
- "type": "string"
135
- }
136
- },
137
- "additionalProperties": true,
138
- "required": ["hidden"]
139
- },
140
- "linkagePercent": {
141
- "type": "object",
142
- "properties": {
143
- "hidden": {
144
- "type": "string"
145
- }
146
- },
147
- "additionalProperties": true,
148
- "required": ["hidden"]
149
- },
150
- "ratePercentFactor": {
151
- "type": "object",
152
- "properties": {
153
- "hidden": {
154
- "type": "string"
155
- }
156
- },
157
- "additionalProperties": true,
158
- "required": ["hidden"]
159
- },
160
- "fixedInterestRate": {
161
- "type": "object",
162
- "properties": {
163
- "hidden": {
164
- "type": "string"
165
- }
166
- },
167
- "additionalProperties": true,
168
- "required": ["hidden"]
169
- }
170
- },
171
- "additionalProperties": true,
172
- "required": [
173
- "actualCurrencyRate",
174
- "lastIndexRate",
175
- "basicIndexValue",
176
- "basicCurrencyRate",
177
- "standingOrderAmount",
178
- "linkagePercent",
179
- "ratePercentFactor",
180
- "fixedInterestRate"
181
- ]
182
- },
183
- "links": {
184
- "type": "object",
185
- "additionalProperties": true
186
- }
187
- },
188
- "additionalProperties": true,
189
- "required": ["attributes", "links"]
190
- },
191
- "shortProductName": {
192
- "type": "string",
193
- "enum": ["פריים"]
194
- },
195
- "principalAmount": {
196
- "type": "number"
197
- },
198
- "revaluedTotalAmount": {
199
- "type": "number"
200
- },
201
- "endExitDate": {
202
- "type": "integer"
203
- },
204
- "paymentDate": {
205
- "type": "integer"
206
- },
207
- "statedAnnualInterestRate": {
208
- "type": "number"
209
- },
210
- "hebrewPurposeDescription": {
211
- "type": "string",
212
- "enum": ["לא רלוונטי"]
213
- },
214
- "objectiveAmount": {
215
- "type": "number"
216
- },
217
- "objectiveDate": {
218
- "type": "integer"
219
- },
220
- "agreementOpeningDate": {
221
- "type": "integer"
222
- },
223
- "eventWithdrawalAmount": {
224
- "type": "number"
225
- },
226
- "startExitDate": {
227
- "type": "integer"
228
- },
229
- "periodUntilNextEvent": {
230
- "type": "integer"
231
- },
232
- "renewalDescription": {
233
- "type": "string",
234
- "enum": ["פיקדון מתחדש", "יפרע לעו\"ש"]
235
- },
236
- "requestedRenewalNumber": {
237
- "type": "integer"
238
- },
239
- "interestBaseDescription": {
240
- "type": "string",
241
- "enum": ["פריים"]
242
- },
243
- "interestTypeDescription": {
244
- "type": "string",
245
- "enum": ["משתנה"]
246
- },
247
- "spreadPercent": {
248
- "type": "number"
249
- },
250
- "variableInterestDescription": {
251
- "type": "string"
252
- },
253
- "adjustedInterest": {
254
- "type": "number"
255
- },
256
- "interestCalculatingMethodDescription": {
257
- "type": "string",
258
- "enum": ["קו ישר"]
259
- },
260
- "interestCreditingMethodDescription": {
261
- "type": "string",
262
- "enum": ["לקרן הפיקדון"]
263
- },
264
- "interestPaymentDescription": {
265
- "type": "string",
266
- "enum": ["תחנה"]
267
- },
268
- "nominalInterest": {
269
- "type": "number"
270
- },
271
- "depositSerialId": {
272
- "type": "integer"
273
- },
274
- "linkageBaseDescription": {
275
- "type": "null"
276
- },
277
- "renewalCounter": {
278
- "type": "integer"
279
- },
280
- "productFreeText": {
281
- "type": "string"
282
- },
283
- "partyTextId": {
284
- "type": "integer"
285
- },
286
- "actualIndexRate": {
287
- "type": "number"
288
- },
289
- "interestTypeCode": {
290
- "type": "integer"
291
- },
292
- "productNumber": {
293
- "type": "integer"
294
- },
295
- "productPurposeCode": {
296
- "type": "integer"
297
- },
298
- "detailedAccountTypeCode": {
299
- "type": "integer"
300
- },
301
- "formattedEndExitDate": {
302
- "type": "string"
303
- },
304
- "formattedPaymentDate": {
305
- "type": "string"
306
- },
307
- "formattedObjectiveDate": {
308
- "type": "null"
309
- },
310
- "formattedAgreementOpeningDate": {
311
- "type": "string"
312
- },
313
- "formattedStartExitDate": {
314
- "type": "string"
315
- },
316
- "lienDescription": {
317
- "type": "string",
318
- "enum": ["משועבד", "מבטיח אשראי"]
319
- },
320
- "withdrawalEnablingIndication": {
321
- "type": "integer"
322
- },
323
- "renewalEnablingIndication": {
324
- "type": "integer"
325
- },
326
- "standingOrderEnablingIndication": {
327
- "type": "integer"
328
- },
329
- "additionEnablingIndication": {
330
- "type": "integer"
331
- },
332
- "timeUnitDescription": {
333
- "type": "string",
334
- "enum": ["ימים"]
335
- },
336
- "formattedRevaluedTotalAmount": {
337
- "type": "null"
338
- },
339
- "warningExistanceIndication": {
340
- "type": "integer"
341
- },
342
- "renewalDateExplanation": {
343
- "type": "string",
344
- "enum": ["תחנה קרובה", "ייפרע לעו\"ש בתאריך"]
345
- },
346
- "expectedRepaymentSwitch": {
347
- "type": "integer",
348
- "enum": [0, 1]
349
- }
350
- }
351
- }
352
- },
353
- "source": {
354
- "type": "string",
355
- "enum": ["israeliCurrencyDeposit"]
356
- },
357
- "validityDate": {
358
- "type": "integer"
359
- },
360
- "validityTime": {
361
- "type": "integer"
362
- },
363
- "israeliCurrencyDepositPrincipalBalanceAmount": {
364
- "type": "number"
365
- },
366
- "depositsRevaluedAmount": {
367
- "type": "number"
368
- },
369
- "formattedValidityTime": {
370
- "type": "string"
371
- },
372
- "formattedDate": {
373
- "type": "string"
374
- },
375
- "amount": {
376
- "type": "number"
377
- },
378
- "revaluatedAmount": {
379
- "type": "number"
380
- },
381
- "messages": {
382
- "type": "array",
383
- "items": {
384
- "type": "object",
385
- "additionalProperties": false,
386
- "required": ["messageCode", "messageDescription", "messageTypeCode"],
387
- "properties": {
388
- "messageCode": {
389
- "type": "integer",
390
- "enum": [803, 804, 805, 821, 822, 823, 824, 825, 826]
391
- },
392
- "messageDescription": {
393
- "type": "string",
394
- "enum": [
395
- "בכל מקרה לא תפחת הריבית על הפיקדון משיעור 0% בשנה.",
396
- "הוראת משיכה/אי חידוש לפיקדון צמוד מט\"ח יש לתת שני ימי עסקים לפחות לפני תאריך התחנה/החידוש.",
397
- "שערוך הפיקדונות המובנים מחושב בשיטה דומה, אך לא זהה, לתנאי ההתקשרות ואין בנתונים כדי לחייב את הבנק או לשמש אסמכתא לפדיון או משיכה.",
398
- "פעולה המבוצעת בפיקדונות בשקלים עד השעה 18:30 (בימי ו' וערבי חג עד 14:00) ביום שהינו יום עסקים, נקלטת מיד עם אישורה ומשתקפת מיידית במסך פירוט פיקדונות.",
399
- "לאחר קליטת הפעולה לא ניתן יהיה לבטלה.",
400
- "הוראה הניתנת לאחר השעה 18:30 ( בימי ו' וערבי חג - לאחר השעה 14:00 ) תשתקף בחשבונך החל מהשעה 02:00 ועד למועד זה ניתן יהיה לבטלה.",
401
- "הוראה הניתנת ביום שאינו יום עסקים, תבוצע ביום העסקים הבא ותשתקף בחשבונך החל מהשעה 02:00 של אותו יום ועד למועד זה ניתן יהיה לבטלה.",
402
- "הוראה לביצוע עתידי ניתנת לביטול עד לשעה 02:00 של יום ערך הביצוע.",
403
- "במסך \"סטטוס הוראות בפיקדונות\" ניתן לצפות בסטטוס הפעולה. אם סטטוס הפעולה הינו \"ממתין לביצוע\" - ניתן לבטלה."
404
- ]
405
- },
406
- "messageTypeCode": {
407
- "type": "string",
408
- "enum": ["I"]
409
- }
410
- }
411
- }
412
- }
413
- }
414
- }
415
- }
416
- },
417
- "properties": {
418
- "metadata": {
419
- "type": "object",
420
- "properties": {
421
- "messages": {
422
- "type": "array",
423
- "additionalItems": true,
424
- "items": [
425
- {
426
- "type": "object",
427
- "properties": {
428
- "messageDescription": {
429
- "type": "string"
430
- },
431
- "messageCode": {
432
- "type": "integer"
433
- },
434
- "severity": {
435
- "type": "string"
436
- }
437
- },
438
- "additionalProperties": true,
439
- "required": ["messageDescription", "messageCode", "severity"]
440
- }
441
- ]
442
- },
443
- "links": {
444
- "type": "object",
445
- "additionalProperties": true
446
- }
447
- },
448
- "additionalProperties": true,
449
- "required": ["messages", "links"]
450
- },
451
- "list": {
452
- "$ref": "#/definitions/deposits"
453
- },
454
- "depositsWrapperData": {
455
- "$ref": "#/definitions/deposits"
456
- }
457
- }
458
- }