@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
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @accounter/modern-poalim-scraper
|
|
2
2
|
|
|
3
|
-
## 0.10.3-alpha-
|
|
3
|
+
## 0.10.3-alpha-20251215093337-929a5da0305cf98fb4397748ee8321bbe93f1524
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -28,11 +28,28 @@
|
|
|
28
28
|
- Updated dependency [`puppeteer@24.32.1` ↗︎](https://www.npmjs.com/package/puppeteer/v/24.32.1)
|
|
29
29
|
(from `24.32.0`, in `dependencies`)
|
|
30
30
|
|
|
31
|
-
- [#
|
|
32
|
-
[`
|
|
33
|
-
Thanks [@
|
|
34
|
-
-
|
|
31
|
+
- [#2825](https://github.com/Urigo/accounter-fullstack/pull/2825)
|
|
32
|
+
[`a8ea88f`](https://github.com/Urigo/accounter-fullstack/commit/a8ea88f6fc4515d421db472549db1071477fec11)
|
|
33
|
+
Thanks [@gilgardosh](https://github.com/gilgardosh)! - dependencies updates:
|
|
34
|
+
- Removed dependency [`ajv@8.17.1` ↗︎](https://www.npmjs.com/package/ajv/v/8.17.1) (from
|
|
35
35
|
`dependencies`)
|
|
36
|
+
- Removed dependency [`ajv-formats@3.0.1` ↗︎](https://www.npmjs.com/package/ajv-formats/v/3.0.1)
|
|
37
|
+
(from `dependencies`)
|
|
38
|
+
|
|
39
|
+
- [#2825](https://github.com/Urigo/accounter-fullstack/pull/2825)
|
|
40
|
+
[`9e06aa8`](https://github.com/Urigo/accounter-fullstack/commit/9e06aa86cf85b522c5d905714416f44fbc6b367d)
|
|
41
|
+
Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Schema Migration**: The project has
|
|
42
|
+
been migrated from using AJV (JSON Schema) for data validation to Zod, a TypeScript-first schema
|
|
43
|
+
declaration and validation library.
|
|
44
|
+
- **Dependency Removal**: The `ajv` and `ajv-formats` packages have been removed from the project
|
|
45
|
+
dependencies, streamlining the validation stack.
|
|
46
|
+
- **Schema File Refactoring**: All `.json` schema definition files have been removed and replaced
|
|
47
|
+
with new `.ts` files defining Zod schemas, improving type safety and developer experience.
|
|
48
|
+
- **Validation Logic Update**: Scraper modules now utilize Zod's `safeParse` method for data
|
|
49
|
+
validation, replacing the previous `validateSchema` utility.
|
|
50
|
+
- **Centralized Type Exports**: A new `types.ts` file has been introduced within the `zod-schemas`
|
|
51
|
+
directory to centralize the export of all Zod-generated types, simplifying type imports across
|
|
52
|
+
the application.
|
|
36
53
|
|
|
37
54
|
## 0.10.2
|
|
38
55
|
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare function init({ headless, userAgent, }?: {
|
|
|
6
6
|
}): Promise<{
|
|
7
7
|
hapoalim: (credentials: HapoalimCredentials, options?: HapoalimOptions) => Promise<"Unknown Error" | {
|
|
8
8
|
getAccountsData: () => Promise<{
|
|
9
|
-
data: import("./
|
|
9
|
+
data: import("./zod-schemas/hapoalim-account-data-schema.js").HapoalimAccountData | null;
|
|
10
10
|
isValid: boolean | null;
|
|
11
11
|
errors?: unknown;
|
|
12
12
|
}>;
|
|
@@ -15,7 +15,7 @@ export declare function init({ headless, userAgent, }?: {
|
|
|
15
15
|
branchNumber: number;
|
|
16
16
|
accountNumber: number;
|
|
17
17
|
}) => Promise<{
|
|
18
|
-
data: import("./
|
|
18
|
+
data: import("./zod-schemas/hapoalim-ils-checking-transactions-schema.js").HapoalimILSTransactions | null;
|
|
19
19
|
isValid: boolean | null;
|
|
20
20
|
errors?: unknown;
|
|
21
21
|
}>;
|
|
@@ -24,7 +24,7 @@ export declare function init({ headless, userAgent, }?: {
|
|
|
24
24
|
branchNumber: number;
|
|
25
25
|
accountNumber: number;
|
|
26
26
|
}, isBusiness?: T) => Promise<{
|
|
27
|
-
data: import("./
|
|
27
|
+
data: import("./zod-schemas/hapoalim-foreign-transactions-business-schema.js").HapoalimForeignTransactionsBusiness | import("./zod-schemas/hapoalim-foreign-transactions-personal-schema.js").HapoalimForeignTransactionsPersonal | null;
|
|
28
28
|
isValid: boolean | null;
|
|
29
29
|
errors?: unknown;
|
|
30
30
|
}>;
|
|
@@ -51,7 +51,7 @@ export declare function init({ headless, userAgent, }?: {
|
|
|
51
51
|
branchNumber: number;
|
|
52
52
|
accountNumber: number;
|
|
53
53
|
}) => Promise<{
|
|
54
|
-
data: import("./
|
|
54
|
+
data: import("./zod-schemas/hapoalim-deposits-schema.js").HapoalimDeposits | null;
|
|
55
55
|
isValid: boolean | null;
|
|
56
56
|
errors?: unknown;
|
|
57
57
|
}>;
|
|
@@ -60,25 +60,213 @@ export declare function init({ headless, userAgent, }?: {
|
|
|
60
60
|
branchNumber: number;
|
|
61
61
|
accountNumber: number;
|
|
62
62
|
}) => Promise<{
|
|
63
|
-
data: import("./
|
|
63
|
+
data: import("./zod-schemas/hapoalim-foreign-deposits-schema.js").HapoalimForeignDeposits | null;
|
|
64
64
|
isValid: boolean | null;
|
|
65
65
|
errors?: unknown;
|
|
66
66
|
}>;
|
|
67
67
|
}>;
|
|
68
68
|
isracard: (credentials: IsracardCredentials, options?: IsracardOptions) => Promise<{
|
|
69
69
|
getMonthDashboard: (RequestedMonthDate: Date) => Promise<{
|
|
70
|
+
data: {
|
|
71
|
+
Header: {
|
|
72
|
+
Status: string;
|
|
73
|
+
Message: string;
|
|
74
|
+
};
|
|
75
|
+
DashboardMonthBean: {
|
|
76
|
+
totalDebitShekel: string;
|
|
77
|
+
totalDebitDollar: string;
|
|
78
|
+
totalDebitEuro: string;
|
|
79
|
+
cardType: string;
|
|
80
|
+
statementDate: {
|
|
81
|
+
billingDateCode: string;
|
|
82
|
+
billingDate: string;
|
|
83
|
+
totalShekel: string;
|
|
84
|
+
totalDollar: string;
|
|
85
|
+
totalEuro: string;
|
|
86
|
+
cardType: string;
|
|
87
|
+
billingDateMore: string;
|
|
88
|
+
statementDateCard: null;
|
|
89
|
+
}[];
|
|
90
|
+
cardsCharges: {
|
|
91
|
+
period: string;
|
|
92
|
+
billingDate: string;
|
|
93
|
+
workingDate: string;
|
|
94
|
+
cardNumber: string;
|
|
95
|
+
cardIndex: string;
|
|
96
|
+
moreNumberDays: string;
|
|
97
|
+
cardType: string;
|
|
98
|
+
billingDateMore: string;
|
|
99
|
+
billingSumSekel: string;
|
|
100
|
+
billingSumDollar: string;
|
|
101
|
+
billingSumEuro: string;
|
|
102
|
+
cardStatus: string;
|
|
103
|
+
idType: string;
|
|
104
|
+
}[];
|
|
105
|
+
extraCards: string;
|
|
106
|
+
returnCode: string;
|
|
107
|
+
message: string;
|
|
108
|
+
returnMessage: string;
|
|
109
|
+
displayProperties: string;
|
|
110
|
+
tablePageNum: string;
|
|
111
|
+
isError: string;
|
|
112
|
+
isCaptcha: string;
|
|
113
|
+
isButton: string;
|
|
114
|
+
clientIpAddress?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
} | null;
|
|
70
117
|
isValid: boolean;
|
|
71
|
-
errors:
|
|
72
|
-
data: import("./__generated__/isracardDashboardMonth.js").IsracardDashboardMonth | null;
|
|
118
|
+
errors: import("zod/v4/core").$ZodIssue[] | null;
|
|
73
119
|
} | {
|
|
74
|
-
data:
|
|
120
|
+
data: {
|
|
121
|
+
Header: {
|
|
122
|
+
Status: string;
|
|
123
|
+
Message: string;
|
|
124
|
+
};
|
|
125
|
+
DashboardMonthBean: {
|
|
126
|
+
totalDebitShekel: string;
|
|
127
|
+
totalDebitDollar: string;
|
|
128
|
+
totalDebitEuro: string;
|
|
129
|
+
cardType: string;
|
|
130
|
+
statementDate: {
|
|
131
|
+
billingDateCode: string;
|
|
132
|
+
billingDate: string;
|
|
133
|
+
totalShekel: string;
|
|
134
|
+
totalDollar: string;
|
|
135
|
+
totalEuro: string;
|
|
136
|
+
cardType: string;
|
|
137
|
+
billingDateMore: string;
|
|
138
|
+
statementDateCard: null;
|
|
139
|
+
}[];
|
|
140
|
+
cardsCharges: {
|
|
141
|
+
period: string;
|
|
142
|
+
billingDate: string;
|
|
143
|
+
workingDate: string;
|
|
144
|
+
cardNumber: string;
|
|
145
|
+
cardIndex: string;
|
|
146
|
+
moreNumberDays: string;
|
|
147
|
+
cardType: string;
|
|
148
|
+
billingDateMore: string;
|
|
149
|
+
billingSumSekel: string;
|
|
150
|
+
billingSumDollar: string;
|
|
151
|
+
billingSumEuro: string;
|
|
152
|
+
cardStatus: string;
|
|
153
|
+
idType: string;
|
|
154
|
+
}[];
|
|
155
|
+
extraCards: string;
|
|
156
|
+
returnCode: string;
|
|
157
|
+
message: string;
|
|
158
|
+
returnMessage: string;
|
|
159
|
+
displayProperties: string;
|
|
160
|
+
tablePageNum: string;
|
|
161
|
+
isError: string;
|
|
162
|
+
isCaptcha: string;
|
|
163
|
+
isButton: string;
|
|
164
|
+
clientIpAddress?: string | undefined;
|
|
165
|
+
};
|
|
166
|
+
} | null;
|
|
167
|
+
isValid?: never;
|
|
168
|
+
errors?: never;
|
|
75
169
|
}>;
|
|
76
170
|
getDashboards: () => Promise<({
|
|
171
|
+
data: {
|
|
172
|
+
Header: {
|
|
173
|
+
Status: string;
|
|
174
|
+
Message: string;
|
|
175
|
+
};
|
|
176
|
+
DashboardMonthBean: {
|
|
177
|
+
totalDebitShekel: string;
|
|
178
|
+
totalDebitDollar: string;
|
|
179
|
+
totalDebitEuro: string;
|
|
180
|
+
cardType: string;
|
|
181
|
+
statementDate: {
|
|
182
|
+
billingDateCode: string;
|
|
183
|
+
billingDate: string;
|
|
184
|
+
totalShekel: string;
|
|
185
|
+
totalDollar: string;
|
|
186
|
+
totalEuro: string;
|
|
187
|
+
cardType: string;
|
|
188
|
+
billingDateMore: string;
|
|
189
|
+
statementDateCard: null;
|
|
190
|
+
}[];
|
|
191
|
+
cardsCharges: {
|
|
192
|
+
period: string;
|
|
193
|
+
billingDate: string;
|
|
194
|
+
workingDate: string;
|
|
195
|
+
cardNumber: string;
|
|
196
|
+
cardIndex: string;
|
|
197
|
+
moreNumberDays: string;
|
|
198
|
+
cardType: string;
|
|
199
|
+
billingDateMore: string;
|
|
200
|
+
billingSumSekel: string;
|
|
201
|
+
billingSumDollar: string;
|
|
202
|
+
billingSumEuro: string;
|
|
203
|
+
cardStatus: string;
|
|
204
|
+
idType: string;
|
|
205
|
+
}[];
|
|
206
|
+
extraCards: string;
|
|
207
|
+
returnCode: string;
|
|
208
|
+
message: string;
|
|
209
|
+
returnMessage: string;
|
|
210
|
+
displayProperties: string;
|
|
211
|
+
tablePageNum: string;
|
|
212
|
+
isError: string;
|
|
213
|
+
isCaptcha: string;
|
|
214
|
+
isButton: string;
|
|
215
|
+
clientIpAddress?: string | undefined;
|
|
216
|
+
};
|
|
217
|
+
} | null;
|
|
77
218
|
isValid: boolean;
|
|
78
|
-
errors:
|
|
79
|
-
data: import("./__generated__/isracardDashboardMonth.js").IsracardDashboardMonth | null;
|
|
219
|
+
errors: import("zod/v4/core").$ZodIssue[] | null;
|
|
80
220
|
} | {
|
|
81
|
-
data:
|
|
221
|
+
data: {
|
|
222
|
+
Header: {
|
|
223
|
+
Status: string;
|
|
224
|
+
Message: string;
|
|
225
|
+
};
|
|
226
|
+
DashboardMonthBean: {
|
|
227
|
+
totalDebitShekel: string;
|
|
228
|
+
totalDebitDollar: string;
|
|
229
|
+
totalDebitEuro: string;
|
|
230
|
+
cardType: string;
|
|
231
|
+
statementDate: {
|
|
232
|
+
billingDateCode: string;
|
|
233
|
+
billingDate: string;
|
|
234
|
+
totalShekel: string;
|
|
235
|
+
totalDollar: string;
|
|
236
|
+
totalEuro: string;
|
|
237
|
+
cardType: string;
|
|
238
|
+
billingDateMore: string;
|
|
239
|
+
statementDateCard: null;
|
|
240
|
+
}[];
|
|
241
|
+
cardsCharges: {
|
|
242
|
+
period: string;
|
|
243
|
+
billingDate: string;
|
|
244
|
+
workingDate: string;
|
|
245
|
+
cardNumber: string;
|
|
246
|
+
cardIndex: string;
|
|
247
|
+
moreNumberDays: string;
|
|
248
|
+
cardType: string;
|
|
249
|
+
billingDateMore: string;
|
|
250
|
+
billingSumSekel: string;
|
|
251
|
+
billingSumDollar: string;
|
|
252
|
+
billingSumEuro: string;
|
|
253
|
+
cardStatus: string;
|
|
254
|
+
idType: string;
|
|
255
|
+
}[];
|
|
256
|
+
extraCards: string;
|
|
257
|
+
returnCode: string;
|
|
258
|
+
message: string;
|
|
259
|
+
returnMessage: string;
|
|
260
|
+
displayProperties: string;
|
|
261
|
+
tablePageNum: string;
|
|
262
|
+
isError: string;
|
|
263
|
+
isCaptcha: string;
|
|
264
|
+
isButton: string;
|
|
265
|
+
clientIpAddress?: string | undefined;
|
|
266
|
+
};
|
|
267
|
+
} | null;
|
|
268
|
+
isValid?: never;
|
|
269
|
+
errors?: never;
|
|
82
270
|
})[]>;
|
|
83
271
|
getMonthTransactions: (RequestedMonthDate: Date) => Promise<{
|
|
84
272
|
data: {
|
|
@@ -1445,18 +1633,206 @@ export declare function init({ headless, userAgent, }?: {
|
|
|
1445
1633
|
}>;
|
|
1446
1634
|
amex: (credentials: AmexCredentials, options?: AmexOptions) => Promise<{
|
|
1447
1635
|
getMonthDashboard: (RequestedMonthDate: Date) => Promise<{
|
|
1636
|
+
data: {
|
|
1637
|
+
Header: {
|
|
1638
|
+
Status: string;
|
|
1639
|
+
Message: string;
|
|
1640
|
+
};
|
|
1641
|
+
DashboardMonthBean: {
|
|
1642
|
+
totalDebitShekel: string;
|
|
1643
|
+
totalDebitDollar: string;
|
|
1644
|
+
totalDebitEuro: string;
|
|
1645
|
+
cardType: string;
|
|
1646
|
+
statementDate: {
|
|
1647
|
+
billingDateCode: string;
|
|
1648
|
+
billingDate: string;
|
|
1649
|
+
totalShekel: string;
|
|
1650
|
+
totalDollar: string;
|
|
1651
|
+
totalEuro: string;
|
|
1652
|
+
cardType: string;
|
|
1653
|
+
billingDateMore: string;
|
|
1654
|
+
statementDateCard: null;
|
|
1655
|
+
}[];
|
|
1656
|
+
cardsCharges: {
|
|
1657
|
+
period: string;
|
|
1658
|
+
billingDate: string;
|
|
1659
|
+
workingDate: string;
|
|
1660
|
+
cardNumber: string;
|
|
1661
|
+
cardIndex: string;
|
|
1662
|
+
moreNumberDays: string;
|
|
1663
|
+
cardType: string;
|
|
1664
|
+
billingDateMore: string;
|
|
1665
|
+
billingSumSekel: string;
|
|
1666
|
+
billingSumDollar: string;
|
|
1667
|
+
billingSumEuro: string;
|
|
1668
|
+
cardStatus: string;
|
|
1669
|
+
idType: string;
|
|
1670
|
+
}[];
|
|
1671
|
+
extraCards: string;
|
|
1672
|
+
returnCode: string;
|
|
1673
|
+
message: string;
|
|
1674
|
+
returnMessage: string;
|
|
1675
|
+
displayProperties: string;
|
|
1676
|
+
tablePageNum: string;
|
|
1677
|
+
isError: string;
|
|
1678
|
+
isCaptcha: string;
|
|
1679
|
+
isButton: string;
|
|
1680
|
+
clientIpAddress?: string | undefined;
|
|
1681
|
+
};
|
|
1682
|
+
} | null;
|
|
1448
1683
|
isValid: boolean;
|
|
1449
|
-
errors:
|
|
1450
|
-
data: import("./__generated__/isracardDashboardMonth.js").IsracardDashboardMonth | null;
|
|
1684
|
+
errors: import("zod/v4/core").$ZodIssue[] | null;
|
|
1451
1685
|
} | {
|
|
1452
|
-
data:
|
|
1686
|
+
data: {
|
|
1687
|
+
Header: {
|
|
1688
|
+
Status: string;
|
|
1689
|
+
Message: string;
|
|
1690
|
+
};
|
|
1691
|
+
DashboardMonthBean: {
|
|
1692
|
+
totalDebitShekel: string;
|
|
1693
|
+
totalDebitDollar: string;
|
|
1694
|
+
totalDebitEuro: string;
|
|
1695
|
+
cardType: string;
|
|
1696
|
+
statementDate: {
|
|
1697
|
+
billingDateCode: string;
|
|
1698
|
+
billingDate: string;
|
|
1699
|
+
totalShekel: string;
|
|
1700
|
+
totalDollar: string;
|
|
1701
|
+
totalEuro: string;
|
|
1702
|
+
cardType: string;
|
|
1703
|
+
billingDateMore: string;
|
|
1704
|
+
statementDateCard: null;
|
|
1705
|
+
}[];
|
|
1706
|
+
cardsCharges: {
|
|
1707
|
+
period: string;
|
|
1708
|
+
billingDate: string;
|
|
1709
|
+
workingDate: string;
|
|
1710
|
+
cardNumber: string;
|
|
1711
|
+
cardIndex: string;
|
|
1712
|
+
moreNumberDays: string;
|
|
1713
|
+
cardType: string;
|
|
1714
|
+
billingDateMore: string;
|
|
1715
|
+
billingSumSekel: string;
|
|
1716
|
+
billingSumDollar: string;
|
|
1717
|
+
billingSumEuro: string;
|
|
1718
|
+
cardStatus: string;
|
|
1719
|
+
idType: string;
|
|
1720
|
+
}[];
|
|
1721
|
+
extraCards: string;
|
|
1722
|
+
returnCode: string;
|
|
1723
|
+
message: string;
|
|
1724
|
+
returnMessage: string;
|
|
1725
|
+
displayProperties: string;
|
|
1726
|
+
tablePageNum: string;
|
|
1727
|
+
isError: string;
|
|
1728
|
+
isCaptcha: string;
|
|
1729
|
+
isButton: string;
|
|
1730
|
+
clientIpAddress?: string | undefined;
|
|
1731
|
+
};
|
|
1732
|
+
} | null;
|
|
1733
|
+
isValid?: never;
|
|
1734
|
+
errors?: never;
|
|
1453
1735
|
}>;
|
|
1454
1736
|
getDashboards: () => Promise<({
|
|
1737
|
+
data: {
|
|
1738
|
+
Header: {
|
|
1739
|
+
Status: string;
|
|
1740
|
+
Message: string;
|
|
1741
|
+
};
|
|
1742
|
+
DashboardMonthBean: {
|
|
1743
|
+
totalDebitShekel: string;
|
|
1744
|
+
totalDebitDollar: string;
|
|
1745
|
+
totalDebitEuro: string;
|
|
1746
|
+
cardType: string;
|
|
1747
|
+
statementDate: {
|
|
1748
|
+
billingDateCode: string;
|
|
1749
|
+
billingDate: string;
|
|
1750
|
+
totalShekel: string;
|
|
1751
|
+
totalDollar: string;
|
|
1752
|
+
totalEuro: string;
|
|
1753
|
+
cardType: string;
|
|
1754
|
+
billingDateMore: string;
|
|
1755
|
+
statementDateCard: null;
|
|
1756
|
+
}[];
|
|
1757
|
+
cardsCharges: {
|
|
1758
|
+
period: string;
|
|
1759
|
+
billingDate: string;
|
|
1760
|
+
workingDate: string;
|
|
1761
|
+
cardNumber: string;
|
|
1762
|
+
cardIndex: string;
|
|
1763
|
+
moreNumberDays: string;
|
|
1764
|
+
cardType: string;
|
|
1765
|
+
billingDateMore: string;
|
|
1766
|
+
billingSumSekel: string;
|
|
1767
|
+
billingSumDollar: string;
|
|
1768
|
+
billingSumEuro: string;
|
|
1769
|
+
cardStatus: string;
|
|
1770
|
+
idType: string;
|
|
1771
|
+
}[];
|
|
1772
|
+
extraCards: string;
|
|
1773
|
+
returnCode: string;
|
|
1774
|
+
message: string;
|
|
1775
|
+
returnMessage: string;
|
|
1776
|
+
displayProperties: string;
|
|
1777
|
+
tablePageNum: string;
|
|
1778
|
+
isError: string;
|
|
1779
|
+
isCaptcha: string;
|
|
1780
|
+
isButton: string;
|
|
1781
|
+
clientIpAddress?: string | undefined;
|
|
1782
|
+
};
|
|
1783
|
+
} | null;
|
|
1455
1784
|
isValid: boolean;
|
|
1456
|
-
errors:
|
|
1457
|
-
data: import("./__generated__/isracardDashboardMonth.js").IsracardDashboardMonth | null;
|
|
1785
|
+
errors: import("zod/v4/core").$ZodIssue[] | null;
|
|
1458
1786
|
} | {
|
|
1459
|
-
data:
|
|
1787
|
+
data: {
|
|
1788
|
+
Header: {
|
|
1789
|
+
Status: string;
|
|
1790
|
+
Message: string;
|
|
1791
|
+
};
|
|
1792
|
+
DashboardMonthBean: {
|
|
1793
|
+
totalDebitShekel: string;
|
|
1794
|
+
totalDebitDollar: string;
|
|
1795
|
+
totalDebitEuro: string;
|
|
1796
|
+
cardType: string;
|
|
1797
|
+
statementDate: {
|
|
1798
|
+
billingDateCode: string;
|
|
1799
|
+
billingDate: string;
|
|
1800
|
+
totalShekel: string;
|
|
1801
|
+
totalDollar: string;
|
|
1802
|
+
totalEuro: string;
|
|
1803
|
+
cardType: string;
|
|
1804
|
+
billingDateMore: string;
|
|
1805
|
+
statementDateCard: null;
|
|
1806
|
+
}[];
|
|
1807
|
+
cardsCharges: {
|
|
1808
|
+
period: string;
|
|
1809
|
+
billingDate: string;
|
|
1810
|
+
workingDate: string;
|
|
1811
|
+
cardNumber: string;
|
|
1812
|
+
cardIndex: string;
|
|
1813
|
+
moreNumberDays: string;
|
|
1814
|
+
cardType: string;
|
|
1815
|
+
billingDateMore: string;
|
|
1816
|
+
billingSumSekel: string;
|
|
1817
|
+
billingSumDollar: string;
|
|
1818
|
+
billingSumEuro: string;
|
|
1819
|
+
cardStatus: string;
|
|
1820
|
+
idType: string;
|
|
1821
|
+
}[];
|
|
1822
|
+
extraCards: string;
|
|
1823
|
+
returnCode: string;
|
|
1824
|
+
message: string;
|
|
1825
|
+
returnMessage: string;
|
|
1826
|
+
displayProperties: string;
|
|
1827
|
+
tablePageNum: string;
|
|
1828
|
+
isError: string;
|
|
1829
|
+
isCaptcha: string;
|
|
1830
|
+
isButton: string;
|
|
1831
|
+
clientIpAddress?: string | undefined;
|
|
1832
|
+
};
|
|
1833
|
+
} | null;
|
|
1834
|
+
isValid?: never;
|
|
1835
|
+
errors?: never;
|
|
1460
1836
|
})[]>;
|
|
1461
1837
|
getMonthTransactions: (RequestedMonthDate: Date) => Promise<{
|
|
1462
1838
|
data: {
|
|
@@ -3085,3 +3461,4 @@ export declare function init({ headless, userAgent, }?: {
|
|
|
3085
3461
|
}>;
|
|
3086
3462
|
close: () => Promise<void>;
|
|
3087
3463
|
}>;
|
|
3464
|
+
export * from './zod-schemas/types.js';
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,GAAG,EAAmC,MAAM,mBAAmB,CAAC;AACzE,OAAO,EACL,IAAI,EAGJ,GAAG,EAGH,QAAQ,EAGR,QAAQ,EAGR,QAAQ,GAGT,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,EACzB,QAAQ,GAAG,IAAI,EACf,SAAS,MAIP,EAAE;IACJ,kEAAkE;IAClE,kEAAkE;IAClE,MAAM,OAAO,GAAG,MAAM,SAAS,CAAC,MAAM,CAAC;QACrC,QAAQ;QACR,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,gBAAgB,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;KACrD,CAAC,CAAC;IAEH,OAAO;QACL,Q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