@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.
Files changed (54) hide show
  1. package/CHANGELOG.md +22 -5
  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,392 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "additionalProperties": false,
5
- "required": [
6
- "comments",
7
- "message",
8
- "numItemsPerPage",
9
- "pdfUrl",
10
- "retrievalTransactionData",
11
- "transactions"
12
- ],
13
- "properties": {
14
- "comments": {
15
- "type": "array",
16
- "items": {
17
- "type": "string"
18
- }
19
- },
20
- "message": {
21
- "type": "array",
22
- "items": {
23
- "type": "string"
24
- }
25
- },
26
- "metadata": {
27
- "type": "object",
28
- "additionalProperties": false,
29
- "required": ["links", "messages"],
30
- "properties": {
31
- "links": {
32
- "type": "object",
33
- "additionalProperties": false,
34
- "required": [],
35
- "properties": {}
36
- },
37
- "messages": {
38
- "type": "array",
39
- "items": {
40
- "oneOf": [
41
- {
42
- "type": "object",
43
- "additionalProperties": false,
44
- "required": [
45
- "messageCode",
46
- "messageDescription",
47
- "messagePurposeCategoryCode",
48
- "severity"
49
- ],
50
- "properties": {
51
- "messageCode": {
52
- "type": "number",
53
- "enum": [11040, 1260003, 1260011]
54
- },
55
- "messageDescription": {
56
- "type": "string"
57
- },
58
- "messagePurposeCategoryCode": {
59
- "type": "string",
60
- "enum": ["1"]
61
- },
62
- "severity": {
63
- "type": "string",
64
- "enum": ["I"]
65
- }
66
- }
67
- },
68
- {
69
- "type": "object",
70
- "additionalProperties": false,
71
- "required": ["messageCode", "messageDescription", "severity"],
72
- "properties": {
73
- "messageCode": {
74
- "type": "number",
75
- "enum": [51]
76
- },
77
- "messageDescription": {
78
- "type": "string",
79
- "enum": [""]
80
- },
81
- "severity": {
82
- "type": "string",
83
- "enum": ["I"]
84
- }
85
- }
86
- }
87
- ]
88
- }
89
- }
90
- }
91
- },
92
- "numItemsPerPage": {
93
- "type": "number"
94
- },
95
- "pdfUrl": {
96
- "type": "string"
97
- },
98
- "retrievalTransactionData": {
99
- "type": "object",
100
- "additionalProperties": false,
101
- "required": [
102
- "accountNumber",
103
- "balanceAmountDisplayIndication",
104
- "bankNumber",
105
- "branchNumber",
106
- "eventCounter",
107
- "formattedRetrievalEndDate",
108
- "formattedRetrievalMaxDate",
109
- "formattedRetrievalMinDate",
110
- "formattedRetrievalStartDate",
111
- "joinPfm",
112
- "retrievalEndDate",
113
- "retrievalMaxDate",
114
- "retrievalMinDate",
115
- "retrievalStartDate"
116
- ],
117
- "properties": {
118
- "accountNumber": {
119
- "type": "number"
120
- },
121
- "balanceAmountDisplayIndication": {
122
- "type": "string",
123
- "enum": ["Y"]
124
- },
125
- "bankNumber": {
126
- "type": "number",
127
- "enum": [12]
128
- },
129
- "branchNumber": {
130
- "type": "number"
131
- },
132
- "eventCounter": {
133
- "type": "number"
134
- },
135
- "formattedRetrievalEndDate": {
136
- "type": "string"
137
- },
138
- "formattedRetrievalMaxDate": {
139
- "type": "string"
140
- },
141
- "formattedRetrievalMinDate": {
142
- "type": "string"
143
- },
144
- "formattedRetrievalStartDate": {
145
- "type": "string"
146
- },
147
- "joinPfm": {
148
- "type": "boolean",
149
- "enum": [false, true]
150
- },
151
- "retrievalEndDate": {
152
- "type": "number"
153
- },
154
- "retrievalMaxDate": {
155
- "type": "number"
156
- },
157
- "retrievalMinDate": {
158
- "type": "number"
159
- },
160
- "retrievalStartDate": {
161
- "type": "number"
162
- }
163
- }
164
- },
165
- "transactions": {
166
- "type": "array",
167
- "items": {
168
- "type": "object",
169
- "additionalProperties": false,
170
- "required": [
171
- "activityDescription",
172
- "activityDescriptionIncludeValueDate",
173
- "activityTypeCode",
174
- "beneficiaryDetailsData",
175
- "comment",
176
- "commentExistenceSwitch",
177
- "contraAccountNumber",
178
- "contraAccountTypeCode",
179
- "contraBankNumber",
180
- "contraBranchNumber",
181
- "currentBalance",
182
- "dataGroupCode",
183
- "details",
184
- "differentDateIndication",
185
- "englishActionDesc",
186
- "eventActivityTypeCode",
187
- "eventAmount",
188
- "eventDate",
189
- "eventId",
190
- "executingBranchNumber",
191
- "expandedEventDate",
192
- "fieldDescDisplaySwitch",
193
- "formattedEventDate",
194
- "formattedOriginalEventCreateDate",
195
- "formattedValueDate",
196
- "internalLinkCode",
197
- "marketingOfferContext",
198
- "offerActivityContext",
199
- "originalEventCreateDate",
200
- "pfmDetails",
201
- "recordNumber",
202
- "referenceCatenatedNumber",
203
- "referenceNumber",
204
- "rejectedDataEventPertainingIndication",
205
- "serialNumber",
206
- "tableNumber",
207
- "textCode",
208
- "transactionType",
209
- "valueDate",
210
- "displayRTGSIncomingTrsDetails",
211
- "formattedEventAmount",
212
- "formattedCurrentBalance"
213
- ],
214
- "properties": {
215
- "activityDescription": {
216
- "type": "string"
217
- },
218
- "activityDescriptionIncludeValueDate": {
219
- "type": ["string", "null"]
220
- },
221
- "activityTypeCode": {
222
- "type": "number"
223
- },
224
- "beneficiaryDetailsData": {
225
- "type": ["object", "null"],
226
- "additionalProperties": false,
227
- "required": [],
228
- "properties": {
229
- "messageDetail": {
230
- "type": ["string", "null"]
231
- },
232
- "messageHeadline": {
233
- "type": ["string", "null"]
234
- },
235
- "partyHeadline": {
236
- "type": ["string", "null"]
237
- },
238
- "partyName": {
239
- "type": ["string", "null"]
240
- },
241
- "recordNumber": {
242
- "type": "number"
243
- },
244
- "tableNumber": {
245
- "type": "number"
246
- },
247
- "beneficiaryDetails": {
248
- "type": ["string", "null"]
249
- }
250
- }
251
- },
252
- "comment": {
253
- "type": ["string", "null"]
254
- },
255
- "commentExistenceSwitch": {
256
- "type": "number",
257
- "enum": [0]
258
- },
259
- "contraAccountNumber": {
260
- "type": "number"
261
- },
262
- "contraAccountTypeCode": {
263
- "type": "number"
264
- },
265
- "contraBankNumber": {
266
- "type": "number"
267
- },
268
- "contraBranchNumber": {
269
- "type": "number"
270
- },
271
- "currentBalance": {
272
- "type": "number"
273
- },
274
- "dataGroupCode": {
275
- "type": "number"
276
- },
277
- "details": {
278
- "type": ["string", "null"]
279
- },
280
- "differentDateIndication": {
281
- "type": "string"
282
- },
283
- "englishActionDesc": {
284
- "type": ["string", "null"]
285
- },
286
- "eventActivityTypeCode": {
287
- "type": "number",
288
- "description": "Income (1) or expense (2)",
289
- "enum": [1, 2]
290
- },
291
- "eventAmount": {
292
- "type": "number"
293
- },
294
- "eventDate": {
295
- "type": "number"
296
- },
297
- "eventId": {
298
- "type": "integer",
299
- "enum": [
300
- 0, 184, 97045835, 90859935, 5593427100450, 5593427501110, 5593436200350,
301
- 8552511030540, 8552553828500, 8552585427350, 65865206, 37775806, 24551830, 22018105,
302
- 9535527, 98288368, 61019865, 58504200, 50834209, 25774506, 19976463, 201855, 97691109,
303
- 89521546, 91291492, 47704622, 45202421, 72519192, 80747066, 78203064, 69708113,
304
- 71219711, 31759103, 84911742, 9920141, 59904003, 97914345, 4891131, 7488455, 92485119,
305
- 44362028, 41785064, 29593605, 21147681, 2972834, 28605863, 72251838, 31930365,
306
- 90937186, 88302658, 82552076, 75425462, 26468363, 23852346, 13885280, 9945866,
307
- 64635568, 62041645, 52339702, 81240236
308
- ]
309
- },
310
- "executingBranchNumber": {
311
- "type": "number"
312
- },
313
- "expandedEventDate": {
314
- "type": "string"
315
- },
316
- "fieldDescDisplaySwitch": {
317
- "type": "integer",
318
- "enum": [0, 1]
319
- },
320
- "formattedEventDate": {
321
- "type": "string"
322
- },
323
- "formattedOriginalEventCreateDate": {
324
- "type": "null"
325
- },
326
- "formattedValueDate": {
327
- "type": "string"
328
- },
329
- "internalLinkCode": {
330
- "type": "integer"
331
- },
332
- "marketingOfferContext": {
333
- "type": "number",
334
- "enum": [0]
335
- },
336
- "offerActivityContext": {
337
- "type": ["string", "null"]
338
- },
339
- "originalEventCreateDate": {
340
- "type": "number"
341
- },
342
- "pfmDetails": {
343
- "type": ["string", "null"]
344
- },
345
- "recordNumber": {
346
- "type": "number"
347
- },
348
- "referenceCatenatedNumber": {
349
- "type": "number"
350
- },
351
- "referenceNumber": {
352
- "type": "number"
353
- },
354
- "rejectedDataEventPertainingIndication": {
355
- "type": "string"
356
- },
357
- "serialNumber": {
358
- "type": "number"
359
- },
360
- "tableNumber": {
361
- "type": "number"
362
- },
363
- "textCode": {
364
- "type": "number"
365
- },
366
- "transactionType": {
367
- "type": "string",
368
- "description": "Fixed (REGULAR) or still in process/temporary (TODAY)",
369
- "enum": ["REGULAR", "TODAY", "FUTURE"]
370
- },
371
- "valueDate": {
372
- "type": "number"
373
- },
374
- "displayCreditAccountDetails": {
375
- "type": "number",
376
- "enum": [0, 1]
377
- },
378
- "displayRTGSIncomingTrsDetails": {
379
- "type": "number",
380
- "enum": [0, 1]
381
- },
382
- "formattedEventAmount": {
383
- "type": "string"
384
- },
385
- "formattedCurrentBalance": {
386
- "type": "string"
387
- }
388
- }
389
- }
390
- }
391
- }
392
- }
@@ -1,105 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "array",
4
- "minItems": 1,
5
- "items": {
6
- "type": "object",
7
- "additionalProperties": false,
8
- "properties": {
9
- "bankNumber": {
10
- "type": "integer",
11
- "enum": [12]
12
- },
13
- "extendedBankNumber": {
14
- "type": "integer",
15
- "enum": [912]
16
- },
17
- "branchNumber": {
18
- "type": "integer",
19
- "minimum": 100,
20
- "maximum": 999
21
- },
22
- "accountNumber": {
23
- "type": "integer",
24
- "minimum": 10000,
25
- "maximum": 999999
26
- },
27
- "partyPreferredIndication": {
28
- "type": "integer",
29
- "enum": [0]
30
- },
31
- "partyAccountInvolvementCode": {
32
- "type": "integer",
33
- "enum": [1, 201, 603],
34
- "description": "User role: 1 - Owner, 201 - Partner, 603 - Viewer"
35
- },
36
- "accountDealDate": {
37
- "type": "integer",
38
- "enum": [0]
39
- },
40
- "accountUpdateDate": {
41
- "anyOf": [
42
- {
43
- "type": "integer",
44
- "minimum": 10000000,
45
- "maximum": 99999999
46
- },
47
- {
48
- "type": "integer",
49
- "enum": [0]
50
- }
51
- ]
52
- },
53
- "metegDoarNet": {
54
- "type": "integer",
55
- "enum": [0, 1]
56
- },
57
- "kodHarshaatPeilut": {
58
- "type": "integer",
59
- "enum": [1, 3]
60
- },
61
- "accountClosingReasonCode": {
62
- "type": "integer",
63
- "enum": [0, 1]
64
- },
65
- "productLabel": {
66
- "description": "Branch number with account number and two spaces in between",
67
- "type": "string"
68
- },
69
- "accountAgreementOpeningDate": {
70
- "type": "integer",
71
- "enum": [0]
72
- },
73
- "serviceAuthorizationDesc": {
74
- "type": "string",
75
- "enum": ["לא חתום", "פעולות ומידע"]
76
- },
77
- "branchTypeCode": {
78
- "type": "integer",
79
- "enum": [0, 2]
80
- },
81
- "mymailEntitlementSwitch": {
82
- "type": "integer",
83
- "enum": [0, 1]
84
- }
85
- },
86
- "required": [
87
- "bankNumber",
88
- "extendedBankNumber",
89
- "branchNumber",
90
- "accountNumber",
91
- "partyPreferredIndication",
92
- "partyAccountInvolvementCode",
93
- "accountDealDate",
94
- "accountUpdateDate",
95
- "metegDoarNet",
96
- "kodHarshaatPeilut",
97
- "accountClosingReasonCode",
98
- "productLabel",
99
- "accountAgreementOpeningDate",
100
- "serviceAuthorizationDesc",
101
- "branchTypeCode",
102
- "mymailEntitlementSwitch"
103
- ]
104
- }
105
- }