@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.
- package/CHANGELOG.md +36 -1
- 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
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
// Metadata messages item at top-level metadata
|
|
3
|
+
const TopMetadataMessageSchema = z
|
|
4
|
+
.object({
|
|
5
|
+
messageDescription: z.string(),
|
|
6
|
+
messageCode: z.number().int(),
|
|
7
|
+
severity: z.string(),
|
|
8
|
+
})
|
|
9
|
+
.passthrough(); // schema allows additionalProperties: true
|
|
10
|
+
// Deposit-level messages item
|
|
11
|
+
const DepositMessageItemSchema = z
|
|
12
|
+
.object({
|
|
13
|
+
messageCode: z.union([
|
|
14
|
+
z.literal(803),
|
|
15
|
+
z.literal(804),
|
|
16
|
+
z.literal(805),
|
|
17
|
+
z.literal(821),
|
|
18
|
+
z.literal(822),
|
|
19
|
+
z.literal(823),
|
|
20
|
+
z.literal(824),
|
|
21
|
+
z.literal(825),
|
|
22
|
+
z.literal(826),
|
|
23
|
+
]),
|
|
24
|
+
messageDescription: z.union([
|
|
25
|
+
z.literal('בכל מקרה לא תפחת הריבית על הפיקדון משיעור 0% בשנה.'),
|
|
26
|
+
z.literal('הוראת משיכה/אי חידוש לפיקדון צמוד מט"ח יש לתת שני ימי עסקים לפחות לפני תאריך התחנה/החידוש.'),
|
|
27
|
+
z.literal('שערוך הפיקדונות המובנים מחושב בשיטה דומה, אך לא זהה, לתנאי ההתקשרות ואין בנתונים כדי לחייב את הבנק או לשמש אסמכתא לפדיון או משיכה.'),
|
|
28
|
+
z.literal('פעולה המבוצעת בפיקדונות בשקלים עד השעה 18:30 (בימי ו׳ וערבי חג עד 14:00) ביום שהינו יום עסקים, נקלטת מיד עם אישורה ומשתקפת מיידית במסך פירוט פיקדונות.'),
|
|
29
|
+
z.literal('לאחר קליטת הפעולה לא ניתן יהיה לבטלה.'),
|
|
30
|
+
z.literal('הוראה הניתנת לאחר השעה 18:30 ( בימי ו׳ וערבי חג - לאחר השעה 14:00 ) תשתקף בחשבונך החל מהשעה 02:00 ועד למועד זה ניתן יהיה לבטלה.'),
|
|
31
|
+
z.literal('הוראה הניתנת ביום שאינו יום עסקים, תבוצע ביום העסקים הבא ותשתקף בחשבונך החל מהשעה 02:00 של אותו יום ועד למועד זה ניתן יהיה לבטלה.'),
|
|
32
|
+
z.literal('הוראה לביצוע עתידי ניתנת לביטול עד לשעה 02:00 של יום ערך הביצוע.'),
|
|
33
|
+
z.literal('במסך "סטטוס הוראות בפיקדונות" ניתן לצפות בסטטוס הפעולה. אם סטטוס הפעולה הינו "ממתין לביצוע" - ניתן לבטלה.'),
|
|
34
|
+
]),
|
|
35
|
+
messageTypeCode: z.literal('I'),
|
|
36
|
+
})
|
|
37
|
+
.strict();
|
|
38
|
+
// Inner metadata.attributes.* with { hidden: string } and additionalProperties: true
|
|
39
|
+
const HiddenFlagSchema = z
|
|
40
|
+
.object({
|
|
41
|
+
hidden: z.string(),
|
|
42
|
+
})
|
|
43
|
+
.passthrough();
|
|
44
|
+
const DepositAttributesSchema = z
|
|
45
|
+
.object({
|
|
46
|
+
actualCurrencyRate: HiddenFlagSchema,
|
|
47
|
+
lastIndexRate: HiddenFlagSchema,
|
|
48
|
+
basicIndexValue: HiddenFlagSchema,
|
|
49
|
+
basicCurrencyRate: HiddenFlagSchema,
|
|
50
|
+
standingOrderAmount: HiddenFlagSchema,
|
|
51
|
+
linkagePercent: HiddenFlagSchema,
|
|
52
|
+
ratePercentFactor: HiddenFlagSchema,
|
|
53
|
+
fixedInterestRate: HiddenFlagSchema,
|
|
54
|
+
})
|
|
55
|
+
.passthrough(); // allows additionalProperties: true
|
|
56
|
+
const DepositMetadataSchema = z
|
|
57
|
+
.object({
|
|
58
|
+
attributes: DepositAttributesSchema,
|
|
59
|
+
links: z.object({}).passthrough(),
|
|
60
|
+
})
|
|
61
|
+
.passthrough(); // additionalProperties: true
|
|
62
|
+
const DepositDataItemSchema = z
|
|
63
|
+
.object({
|
|
64
|
+
metadata: DepositMetadataSchema,
|
|
65
|
+
shortProductName: z.literal('פריים'),
|
|
66
|
+
principalAmount: z.number(),
|
|
67
|
+
revaluedTotalAmount: z.number(),
|
|
68
|
+
endExitDate: z.number().int(),
|
|
69
|
+
paymentDate: z.number().int(),
|
|
70
|
+
statedAnnualInterestRate: z.number(),
|
|
71
|
+
hebrewPurposeDescription: z.literal('לא רלוונטי'),
|
|
72
|
+
objectiveAmount: z.number(),
|
|
73
|
+
objectiveDate: z.number().int(),
|
|
74
|
+
agreementOpeningDate: z.number().int(),
|
|
75
|
+
eventWithdrawalAmount: z.number(),
|
|
76
|
+
startExitDate: z.number().int(),
|
|
77
|
+
periodUntilNextEvent: z.number().int(),
|
|
78
|
+
renewalDescription: z.union([z.literal('פיקדון מתחדש'), z.literal('יפרע לעו"ש')]),
|
|
79
|
+
requestedRenewalNumber: z.number().int(),
|
|
80
|
+
interestBaseDescription: z.literal('פריים'),
|
|
81
|
+
interestTypeDescription: z.literal('משתנה'),
|
|
82
|
+
spreadPercent: z.number(),
|
|
83
|
+
variableInterestDescription: z.string(),
|
|
84
|
+
adjustedInterest: z.number(),
|
|
85
|
+
interestCalculatingMethodDescription: z.literal('קו ישר'),
|
|
86
|
+
interestCreditingMethodDescription: z.literal('לקרן הפיקדון'),
|
|
87
|
+
interestPaymentDescription: z.literal('תחנה'),
|
|
88
|
+
nominalInterest: z.number(),
|
|
89
|
+
depositSerialId: z.number().int(),
|
|
90
|
+
linkageBaseDescription: z.null(),
|
|
91
|
+
renewalCounter: z.number().int(),
|
|
92
|
+
productFreeText: z.string(),
|
|
93
|
+
partyTextId: z.number().int(),
|
|
94
|
+
actualIndexRate: z.number(),
|
|
95
|
+
interestTypeCode: z.number().int(),
|
|
96
|
+
productNumber: z.number().int(),
|
|
97
|
+
productPurposeCode: z.number().int(),
|
|
98
|
+
detailedAccountTypeCode: z.number().int(),
|
|
99
|
+
formattedEndExitDate: z.string(),
|
|
100
|
+
formattedPaymentDate: z.string(),
|
|
101
|
+
formattedObjectiveDate: z.null(),
|
|
102
|
+
formattedAgreementOpeningDate: z.string(),
|
|
103
|
+
formattedStartExitDate: z.string(),
|
|
104
|
+
lienDescription: z.union([z.literal('משועבד'), z.literal('מבטיח אשראי')]),
|
|
105
|
+
withdrawalEnablingIndication: z.number().int(),
|
|
106
|
+
renewalEnablingIndication: z.number().int(),
|
|
107
|
+
standingOrderEnablingIndication: z.number().int(),
|
|
108
|
+
additionEnablingIndication: z.number().int(),
|
|
109
|
+
timeUnitDescription: z.literal('ימים'),
|
|
110
|
+
formattedRevaluedTotalAmount: z.null(),
|
|
111
|
+
warningExistanceIndication: z.number().int(),
|
|
112
|
+
renewalDateExplanation: z.union([z.literal('תחנה קרובה'), z.literal('ייפרע לעו"ש בתאריך')]),
|
|
113
|
+
expectedRepaymentSwitch: z.union([z.literal(0), z.literal(1)]),
|
|
114
|
+
})
|
|
115
|
+
.strict();
|
|
116
|
+
const DepositItemSchema = z
|
|
117
|
+
.object({
|
|
118
|
+
data: z.array(DepositDataItemSchema),
|
|
119
|
+
source: z.literal('israeliCurrencyDeposit'),
|
|
120
|
+
validityDate: z.number().int(),
|
|
121
|
+
validityTime: z.number().int(),
|
|
122
|
+
israeliCurrencyDepositPrincipalBalanceAmount: z.number(),
|
|
123
|
+
depositsRevaluedAmount: z.number(),
|
|
124
|
+
formattedValidityTime: z.string(),
|
|
125
|
+
formattedDate: z.string(),
|
|
126
|
+
amount: z.number(),
|
|
127
|
+
revaluatedAmount: z.number(),
|
|
128
|
+
messages: z.array(DepositMessageItemSchema),
|
|
129
|
+
})
|
|
130
|
+
.strict();
|
|
131
|
+
const DepositsArraySchema = z.array(DepositItemSchema);
|
|
132
|
+
const TopMetadataSchema = z
|
|
133
|
+
.object({
|
|
134
|
+
messages: z.array(TopMetadataMessageSchema),
|
|
135
|
+
links: z.object({}).passthrough(),
|
|
136
|
+
})
|
|
137
|
+
.passthrough(); // top-level metadata allows additionalProperties: true
|
|
138
|
+
export const HapoalimDepositsSchema = z
|
|
139
|
+
.object({
|
|
140
|
+
metadata: TopMetadataSchema,
|
|
141
|
+
list: DepositsArraySchema,
|
|
142
|
+
depositsWrapperData: DepositsArraySchema,
|
|
143
|
+
})
|
|
144
|
+
.strict();
|
|
145
|
+
//# sourceMappingURL=hapoalim-deposits-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hapoalim-deposits-schema.js","sourceRoot":"","sources":["../../src/zod-schemas/hapoalim-deposits-schema.ts"],"names":[],"mappings":"AAAA,OAA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B,IAAI,EAAE,mBAAmB;IACzB,mBAAmB,EAAE,mBAAmB;CACzC,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const HapoalimForeignDepositsSchema: z.ZodObject<{
|
|
3
|
+
dataQueryTypeCode: z.ZodNumber;
|
|
4
|
+
validityDate: z.ZodNumber;
|
|
5
|
+
formattedValidityDate: z.ZodString;
|
|
6
|
+
validityDateMin: z.ZodNumber;
|
|
7
|
+
formattedValidityDateMin: z.ZodString;
|
|
8
|
+
chosenDate: z.ZodNumber;
|
|
9
|
+
formattedChosenDate: z.ZodUnknown;
|
|
10
|
+
detailedAccountTypeCode: z.ZodNumber;
|
|
11
|
+
productSerialId: z.ZodNumber;
|
|
12
|
+
packageNumber: z.ZodNumber;
|
|
13
|
+
currencyCode: z.ZodNumber;
|
|
14
|
+
depositSerialId: z.ZodNumber;
|
|
15
|
+
dataRetrievalMethodCode: z.ZodNumber;
|
|
16
|
+
filterTypeCode: z.ZodNumber;
|
|
17
|
+
generalNumberValidation: z.ZodNumber;
|
|
18
|
+
detailedAccountTypeCodeList: z.ZodObject<{
|
|
19
|
+
[x: string]: z.ZodObject<{
|
|
20
|
+
attributes: z.ZodObject<{
|
|
21
|
+
[x: string]: z.ZodObject<{
|
|
22
|
+
disabled: z.ZodString;
|
|
23
|
+
}, z.core.$strict>;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
26
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
27
|
+
code: z.ZodNumber;
|
|
28
|
+
values: z.ZodArray<z.ZodObject<{
|
|
29
|
+
valueCode: z.ZodNumber;
|
|
30
|
+
valueLongDescription: z.ZodString;
|
|
31
|
+
}, z.core.$strict>>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
metadata: z.ZodObject<{
|
|
34
|
+
attributes: z.ZodObject<{
|
|
35
|
+
[x: string]: z.ZodObject<{
|
|
36
|
+
disabled: z.ZodString;
|
|
37
|
+
}, z.core.$strict>;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
productSerialIdList: z.ZodObject<{
|
|
43
|
+
[x: string]: z.ZodObject<{
|
|
44
|
+
attributes: z.ZodObject<{
|
|
45
|
+
[x: string]: z.ZodObject<{
|
|
46
|
+
disabled: z.ZodString;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
50
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
51
|
+
code: z.ZodNumber;
|
|
52
|
+
values: z.ZodArray<z.ZodObject<{
|
|
53
|
+
valueCode: z.ZodNumber;
|
|
54
|
+
valueLongDescription: z.ZodString;
|
|
55
|
+
}, z.core.$strict>>;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
metadata: z.ZodObject<{
|
|
58
|
+
attributes: z.ZodObject<{
|
|
59
|
+
[x: string]: z.ZodObject<{
|
|
60
|
+
disabled: z.ZodString;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
}, z.core.$strict>;
|
|
66
|
+
packageNumberList: z.ZodObject<{
|
|
67
|
+
[x: string]: z.ZodObject<{
|
|
68
|
+
attributes: z.ZodObject<{
|
|
69
|
+
[x: string]: z.ZodObject<{
|
|
70
|
+
disabled: z.ZodString;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
74
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
75
|
+
code: z.ZodNumber;
|
|
76
|
+
values: z.ZodArray<z.ZodObject<{
|
|
77
|
+
valueCode: z.ZodNumber;
|
|
78
|
+
valueLongDescription: z.ZodString;
|
|
79
|
+
}, z.core.$strict>>;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
metadata: z.ZodObject<{
|
|
82
|
+
attributes: z.ZodObject<{
|
|
83
|
+
[x: string]: z.ZodObject<{
|
|
84
|
+
disabled: z.ZodString;
|
|
85
|
+
}, z.core.$strict>;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
}, z.core.$strict>;
|
|
90
|
+
currencyCodeList: z.ZodObject<{
|
|
91
|
+
[x: string]: z.ZodObject<{
|
|
92
|
+
attributes: z.ZodObject<{
|
|
93
|
+
[x: string]: z.ZodObject<{
|
|
94
|
+
disabled: z.ZodString;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
}, z.core.$strict>;
|
|
97
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
98
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
99
|
+
code: z.ZodNumber;
|
|
100
|
+
values: z.ZodArray<z.ZodObject<{
|
|
101
|
+
valueCode: z.ZodNumber;
|
|
102
|
+
valueLongDescription: z.ZodString;
|
|
103
|
+
}, z.core.$strict>>;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
metadata: z.ZodObject<{
|
|
106
|
+
attributes: z.ZodObject<{
|
|
107
|
+
[x: string]: z.ZodObject<{
|
|
108
|
+
disabled: z.ZodString;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
}, z.core.$strict>;
|
|
111
|
+
links: z.ZodObject<{}, z.core.$strict>;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
listRevaluatedForeignCurrencyDepositAccountTypeCode: z.ZodArray<z.ZodObject<{
|
|
115
|
+
detailedAccountTypeCode: z.ZodNumber;
|
|
116
|
+
detailedAccountTypeShortedDescription: z.ZodString;
|
|
117
|
+
listRevaluatedForeignCurrencyDepositProductSerialId: z.ZodArray<z.ZodObject<{
|
|
118
|
+
productSerialId: z.ZodNumber;
|
|
119
|
+
fullProductName: z.ZodString;
|
|
120
|
+
packageNumber: z.ZodNumber;
|
|
121
|
+
packageName: z.ZodString;
|
|
122
|
+
listRevaluatedForeignCurrencyCodeDeposits: z.ZodArray<z.ZodObject<{
|
|
123
|
+
currencyCode: z.ZodNumber;
|
|
124
|
+
currencyLongDescription: z.ZodString;
|
|
125
|
+
listRevaluatedForeignCurrencyDepositsRows: z.ZodArray<z.ZodObject<{
|
|
126
|
+
depositSerialId: z.ZodNumber;
|
|
127
|
+
originalValueDate: z.ZodNumber;
|
|
128
|
+
formattedOriginalValueDate: z.ZodString;
|
|
129
|
+
periodCounter: z.ZodNumber;
|
|
130
|
+
timeUnitDescription: z.ZodString;
|
|
131
|
+
foreignCurrencyDepositOriginCode: z.ZodNumber;
|
|
132
|
+
foreignCurrencyDepositOriginDescription: z.ZodString;
|
|
133
|
+
valueDate: z.ZodNumber;
|
|
134
|
+
formattedValueDate: z.ZodString;
|
|
135
|
+
nextPaymentDate: z.ZodNumber;
|
|
136
|
+
formattedNextPaymentDate: z.ZodString;
|
|
137
|
+
paymentDate: z.ZodNumber;
|
|
138
|
+
formattedPaymentDate: z.ZodString;
|
|
139
|
+
renewalMethodCode: z.ZodNumber;
|
|
140
|
+
renewalMethodDescription: z.ZodString;
|
|
141
|
+
foreignCurrencyDepositCurrentBalanceAmount: z.ZodNumber;
|
|
142
|
+
interestRate: z.ZodNumber;
|
|
143
|
+
revaluatedWithdrawalForeignCurrencyDepositBalanceAmount: z.ZodNumber;
|
|
144
|
+
foreignCurrencyDepositPrincipalBalanceAmount: z.ZodNumber;
|
|
145
|
+
productSerialId: z.ZodNumber;
|
|
146
|
+
currencyCode: z.ZodNumber;
|
|
147
|
+
packageNumber: z.ZodNumber;
|
|
148
|
+
productTypeCode: z.ZodNumber;
|
|
149
|
+
variableInterestDescription: z.ZodString;
|
|
150
|
+
timeUnitCode: z.ZodNumber;
|
|
151
|
+
periodDescription: z.ZodString;
|
|
152
|
+
lienIndication: z.ZodString;
|
|
153
|
+
warningExistenceSwitch: z.ZodNumber;
|
|
154
|
+
revaluatedForeignCurrencyDepositsRowsMsg: z.ZodUnknown;
|
|
155
|
+
}, z.core.$strict>>;
|
|
156
|
+
listRevaluatedForeignCurrencyTotalDepositsRows: z.ZodArray<z.ZodObject<{
|
|
157
|
+
exchangeRate: z.ZodNumber;
|
|
158
|
+
currencyCode: z.ZodNumber;
|
|
159
|
+
shortCurrencyDescription: z.ZodString;
|
|
160
|
+
revaluatedWithdrawalForeignCurrencyDepositBalanceAmount: z.ZodNumber;
|
|
161
|
+
displayedRevaluationCurrencyCode: z.ZodNumber;
|
|
162
|
+
revaluationCurrencyShortedDescription: z.ZodString;
|
|
163
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.ZodNumber;
|
|
164
|
+
productTotalAmtText: z.ZodString;
|
|
165
|
+
}, z.core.$strict>>;
|
|
166
|
+
}, z.core.$strict>>;
|
|
167
|
+
listRevaluatedForeignCurrencyDepositTotalCurrencyCode: z.ZodArray<z.ZodObject<{
|
|
168
|
+
productSerialId: z.ZodNumber;
|
|
169
|
+
packageNumber: z.ZodNumber;
|
|
170
|
+
displayedRevaluationCurrencyCode: z.ZodNumber;
|
|
171
|
+
revaluationCurrencyShortedDescription: z.ZodString;
|
|
172
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.ZodNumber;
|
|
173
|
+
productTotalAmtText: z.ZodString;
|
|
174
|
+
}, z.core.$strict>>;
|
|
175
|
+
}, z.core.$strict>>;
|
|
176
|
+
listRevaluatedForeignCurrencyDepositTotalProductSerialId: z.ZodArray<z.ZodObject<{
|
|
177
|
+
detailedAccountTypeCode: z.ZodNumber;
|
|
178
|
+
detailedAccountTypeShortedDescription: z.ZodString;
|
|
179
|
+
displayedRevaluationCurrencyCode: z.ZodNumber;
|
|
180
|
+
revaluationCurrencyShortedDescription: z.ZodString;
|
|
181
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.ZodNumber;
|
|
182
|
+
productTotalAmtText: z.ZodString;
|
|
183
|
+
}, z.core.$strict>>;
|
|
184
|
+
}, z.core.$strict>>;
|
|
185
|
+
listRevaluatedForeignCurrencyDepositBalanceAmount: z.ZodArray<z.ZodObject<{
|
|
186
|
+
accountNumber: z.ZodNumber;
|
|
187
|
+
displayedRevaluationCurrencyCode: z.ZodNumber;
|
|
188
|
+
revaluationCurrencyShortedDescription: z.ZodString;
|
|
189
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.ZodNumber;
|
|
190
|
+
productTotalAmtText: z.ZodString;
|
|
191
|
+
currencyLongDescription: z.ZodString;
|
|
192
|
+
}, z.core.$strict>>;
|
|
193
|
+
listRevaluatedForeignCurrencyDepositTotalMortgagedRows: z.ZodArray<z.ZodUnknown>;
|
|
194
|
+
listRevaluatedForeignCurrencyDepositsMsg: z.ZodArray<z.ZodObject<{
|
|
195
|
+
messageCode: z.ZodNumber;
|
|
196
|
+
messageDescription: z.ZodString;
|
|
197
|
+
messageTypeCode: z.ZodString;
|
|
198
|
+
}, z.core.$strict>>;
|
|
199
|
+
}, z.core.$strict>;
|
|
200
|
+
export type HapoalimForeignDeposits = z.infer<typeof HapoalimForeignDepositsSchema>;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const DisabledAttrSchema = z.object({ disabled: z.string() }).strict();
|
|
3
|
+
const AttributesWithSingleDisabled = (key) => z
|
|
4
|
+
.object({
|
|
5
|
+
[key]: DisabledAttrSchema,
|
|
6
|
+
})
|
|
7
|
+
.strict();
|
|
8
|
+
const MetadataBaseSchema = (attrKey) => z
|
|
9
|
+
.object({
|
|
10
|
+
attributes: AttributesWithSingleDisabled(attrKey),
|
|
11
|
+
links: z.object({}).strict(),
|
|
12
|
+
})
|
|
13
|
+
.strict();
|
|
14
|
+
const CodeValueItemSchema = z
|
|
15
|
+
.object({
|
|
16
|
+
valueCode: z.number(),
|
|
17
|
+
valueLongDescription: z.string(),
|
|
18
|
+
})
|
|
19
|
+
.strict();
|
|
20
|
+
const CodeListSchema = (attrKey) => z
|
|
21
|
+
.object({
|
|
22
|
+
metadata: MetadataBaseSchema(attrKey),
|
|
23
|
+
[attrKey]: z
|
|
24
|
+
.object({
|
|
25
|
+
code: z.number(),
|
|
26
|
+
values: z.array(CodeValueItemSchema),
|
|
27
|
+
})
|
|
28
|
+
.strict(),
|
|
29
|
+
})
|
|
30
|
+
.strict();
|
|
31
|
+
const RevaluatedForeignCurrencyTotalDepositsRowsSchema = z
|
|
32
|
+
.object({
|
|
33
|
+
exchangeRate: z.number(),
|
|
34
|
+
currencyCode: z.number(),
|
|
35
|
+
shortCurrencyDescription: z.string(),
|
|
36
|
+
revaluatedWithdrawalForeignCurrencyDepositBalanceAmount: z.number(),
|
|
37
|
+
displayedRevaluationCurrencyCode: z.number(),
|
|
38
|
+
revaluationCurrencyShortedDescription: z.string(),
|
|
39
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.number(),
|
|
40
|
+
productTotalAmtText: z.string(),
|
|
41
|
+
})
|
|
42
|
+
.strict();
|
|
43
|
+
const RevaluatedForeignCurrencyDepositsRowsSchema = z
|
|
44
|
+
.object({
|
|
45
|
+
depositSerialId: z.number(),
|
|
46
|
+
originalValueDate: z.number(),
|
|
47
|
+
formattedOriginalValueDate: z.string(),
|
|
48
|
+
periodCounter: z.number(),
|
|
49
|
+
timeUnitDescription: z.string(),
|
|
50
|
+
foreignCurrencyDepositOriginCode: z.number(),
|
|
51
|
+
foreignCurrencyDepositOriginDescription: z.string(),
|
|
52
|
+
valueDate: z.number(),
|
|
53
|
+
formattedValueDate: z.string(),
|
|
54
|
+
nextPaymentDate: z.number(),
|
|
55
|
+
formattedNextPaymentDate: z.string(),
|
|
56
|
+
paymentDate: z.number(),
|
|
57
|
+
formattedPaymentDate: z.string(),
|
|
58
|
+
renewalMethodCode: z.number(),
|
|
59
|
+
renewalMethodDescription: z.string(),
|
|
60
|
+
foreignCurrencyDepositCurrentBalanceAmount: z.number(),
|
|
61
|
+
interestRate: z.number(),
|
|
62
|
+
revaluatedWithdrawalForeignCurrencyDepositBalanceAmount: z.number(),
|
|
63
|
+
foreignCurrencyDepositPrincipalBalanceAmount: z.number(),
|
|
64
|
+
productSerialId: z.number(),
|
|
65
|
+
currencyCode: z.number(),
|
|
66
|
+
packageNumber: z.number(),
|
|
67
|
+
productTypeCode: z.number(),
|
|
68
|
+
variableInterestDescription: z.string(),
|
|
69
|
+
timeUnitCode: z.number(),
|
|
70
|
+
periodDescription: z.string(),
|
|
71
|
+
lienIndication: z.string(),
|
|
72
|
+
warningExistenceSwitch: z.number(),
|
|
73
|
+
revaluatedForeignCurrencyDepositsRowsMsg: z.unknown(),
|
|
74
|
+
})
|
|
75
|
+
.strict();
|
|
76
|
+
const RevaluatedForeignCurrencyCodeDepositsSchema = z
|
|
77
|
+
.object({
|
|
78
|
+
currencyCode: z.number(),
|
|
79
|
+
currencyLongDescription: z.string(),
|
|
80
|
+
listRevaluatedForeignCurrencyDepositsRows: z.array(RevaluatedForeignCurrencyDepositsRowsSchema),
|
|
81
|
+
listRevaluatedForeignCurrencyTotalDepositsRows: z.array(RevaluatedForeignCurrencyTotalDepositsRowsSchema),
|
|
82
|
+
})
|
|
83
|
+
.strict();
|
|
84
|
+
const RevaluatedForeignCurrencyDepositTotalCurrencyCodeSchema = z
|
|
85
|
+
.object({
|
|
86
|
+
productSerialId: z.number(),
|
|
87
|
+
packageNumber: z.number(),
|
|
88
|
+
displayedRevaluationCurrencyCode: z.number(),
|
|
89
|
+
revaluationCurrencyShortedDescription: z.string(),
|
|
90
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.number(),
|
|
91
|
+
productTotalAmtText: z.string(),
|
|
92
|
+
})
|
|
93
|
+
.strict();
|
|
94
|
+
const RevaluatedForeignCurrencyDepositProductSerialIdSchema = z
|
|
95
|
+
.object({
|
|
96
|
+
productSerialId: z.number(),
|
|
97
|
+
fullProductName: z.string(),
|
|
98
|
+
packageNumber: z.number(),
|
|
99
|
+
packageName: z.string(),
|
|
100
|
+
listRevaluatedForeignCurrencyCodeDeposits: z.array(RevaluatedForeignCurrencyCodeDepositsSchema),
|
|
101
|
+
listRevaluatedForeignCurrencyDepositTotalCurrencyCode: z.array(RevaluatedForeignCurrencyDepositTotalCurrencyCodeSchema),
|
|
102
|
+
})
|
|
103
|
+
.strict();
|
|
104
|
+
const RevaluatedForeignCurrencyDepositTotalProductSerialIdSchema = z
|
|
105
|
+
.object({
|
|
106
|
+
detailedAccountTypeCode: z.number(),
|
|
107
|
+
detailedAccountTypeShortedDescription: z.string(),
|
|
108
|
+
displayedRevaluationCurrencyCode: z.number(),
|
|
109
|
+
revaluationCurrencyShortedDescription: z.string(),
|
|
110
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.number(),
|
|
111
|
+
productTotalAmtText: z.string(),
|
|
112
|
+
})
|
|
113
|
+
.strict();
|
|
114
|
+
const RevaluatedForeignCurrencyDepositAccountTypeCodeSchema = z
|
|
115
|
+
.object({
|
|
116
|
+
detailedAccountTypeCode: z.number(),
|
|
117
|
+
detailedAccountTypeShortedDescription: z.string(),
|
|
118
|
+
listRevaluatedForeignCurrencyDepositProductSerialId: z.array(RevaluatedForeignCurrencyDepositProductSerialIdSchema),
|
|
119
|
+
listRevaluatedForeignCurrencyDepositTotalProductSerialId: z.array(RevaluatedForeignCurrencyDepositTotalProductSerialIdSchema),
|
|
120
|
+
})
|
|
121
|
+
.strict();
|
|
122
|
+
const RevaluatedForeignCurrencyDepositBalanceAmountSchema = z
|
|
123
|
+
.object({
|
|
124
|
+
accountNumber: z.number(),
|
|
125
|
+
displayedRevaluationCurrencyCode: z.number(),
|
|
126
|
+
revaluationCurrencyShortedDescription: z.string(),
|
|
127
|
+
revaluatedForeignCurrencyDepositBalanceAmount: z.number(),
|
|
128
|
+
productTotalAmtText: z.string(),
|
|
129
|
+
currencyLongDescription: z.string(),
|
|
130
|
+
})
|
|
131
|
+
.strict();
|
|
132
|
+
const RevaluatedForeignCurrencyDepositsMsgItemSchema = z
|
|
133
|
+
.object({
|
|
134
|
+
messageCode: z.number(),
|
|
135
|
+
messageDescription: z.string(),
|
|
136
|
+
messageTypeCode: z.string(),
|
|
137
|
+
})
|
|
138
|
+
.strict();
|
|
139
|
+
export const HapoalimForeignDepositsSchema = z
|
|
140
|
+
.object({
|
|
141
|
+
dataQueryTypeCode: z.number(),
|
|
142
|
+
validityDate: z.number(),
|
|
143
|
+
formattedValidityDate: z.string(),
|
|
144
|
+
validityDateMin: z.number(),
|
|
145
|
+
formattedValidityDateMin: z.string(),
|
|
146
|
+
chosenDate: z.number(),
|
|
147
|
+
formattedChosenDate: z.unknown(),
|
|
148
|
+
detailedAccountTypeCode: z.number(),
|
|
149
|
+
productSerialId: z.number(),
|
|
150
|
+
packageNumber: z.number(),
|
|
151
|
+
currencyCode: z.number(),
|
|
152
|
+
depositSerialId: z.number(),
|
|
153
|
+
dataRetrievalMethodCode: z.number(),
|
|
154
|
+
filterTypeCode: z.number(),
|
|
155
|
+
generalNumberValidation: z.number(),
|
|
156
|
+
detailedAccountTypeCodeList: CodeListSchema('detailedAccountTypeCode'),
|
|
157
|
+
productSerialIdList: CodeListSchema('productSerialId'),
|
|
158
|
+
packageNumberList: CodeListSchema('packageNumber'),
|
|
159
|
+
currencyCodeList: CodeListSchema('currencyCode'),
|
|
160
|
+
listRevaluatedForeignCurrencyDepositAccountTypeCode: z.array(RevaluatedForeignCurrencyDepositAccountTypeCodeSchema),
|
|
161
|
+
listRevaluatedForeignCurrencyDepositBalanceAmount: z.array(RevaluatedForeignCurrencyDepositBalanceAmountSchema),
|
|
162
|
+
listRevaluatedForeignCurrencyDepositTotalMortgagedRows: z.array(z.unknown()),
|
|
163
|
+
listRevaluatedForeignCurrencyDepositsMsg: z.array(RevaluatedForeignCurrencyDepositsMsgItemSchema),
|
|
164
|
+
})
|
|
165
|
+
.strict();
|
|
166
|
+
//# sourceMappingURL=hapoalim-foreign-deposits-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hapoalim-foreign-deposits-schema.js","sourceRoot":"","sources":["../../src/zod-schemas/hapoalim-foreign-deposits-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AAEvE,MAAM,4BAA4B,GAAG,CAAC,GAAW,EAAE,EAAE,CACnD,CAAC;KACE,MAAM,CAAC;IACN,CAAC,GAAG,CAAC,EAAE,kBAAkB;CAC1B,CAAC;KACD,MAAM,EAAE,CAAC;AAEd,MAAM,kBAAkB,GAAG,CAAC,OAAe,EAAE,EAAE,CAC7C,CAAC;KACE,MAAM,CAAC;IACN,UAAU,EAAE,4BAA4B,CAAC,OAAO,CAAC;IACjD,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;CAC7B,CAAC;KACD,MAAM,EAAE,CAAC;AAEd,MAAM,mBAAmB,GAAG,CAAC;KAC1B,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE;CACjC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,cAAc,GAAG,CAAC,OAAe,EAAE,EAAE,CACzC,CAAC;KACE,MAAM,CAAC;IACN,QAAQ,EAAE,kBAAkB,CAAC,OAAO,CAAC;IACrC,CAAC,OAAO,CAAC,EAAE,CAAC;SACT,MAAM,CAAC;QACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,KAAK,CA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