@aibrains/shared-types 0.17.0 → 0.19.0
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/dist/schemas/finance/common.d.ts +3 -0
- package/dist/schemas/finance/common.d.ts.map +1 -1
- package/dist/schemas/finance/common.js +6 -1
- package/dist/schemas/finance/common.js.map +1 -1
- package/dist/schemas/finance/credit-note.schema.d.ts +4 -4
- package/dist/schemas/finance/dashboard.schema.d.ts +335 -0
- package/dist/schemas/finance/dashboard.schema.d.ts.map +1 -0
- package/dist/schemas/finance/dashboard.schema.js +74 -0
- package/dist/schemas/finance/dashboard.schema.js.map +1 -0
- package/dist/schemas/finance/fee-structure.schema.d.ts +96 -4
- package/dist/schemas/finance/fee-structure.schema.d.ts.map +1 -1
- package/dist/schemas/finance/fee-structure.schema.js +15 -1
- package/dist/schemas/finance/fee-structure.schema.js.map +1 -1
- package/dist/schemas/finance/index.d.ts +1 -0
- package/dist/schemas/finance/index.d.ts.map +1 -1
- package/dist/schemas/finance/index.js +1 -0
- package/dist/schemas/finance/index.js.map +1 -1
- package/dist/schemas/finance/invoice.schema.d.ts +73 -2
- package/dist/schemas/finance/invoice.schema.d.ts.map +1 -1
- package/dist/schemas/finance/invoice.schema.js +18 -1
- package/dist/schemas/finance/invoice.schema.js.map +1 -1
- package/dist/schemas/finance/payment.schema.d.ts +20 -16
- package/dist/schemas/finance/payment.schema.d.ts.map +1 -1
- package/dist/schemas/finance/payment.schema.js +2 -0
- package/dist/schemas/finance/payment.schema.js.map +1 -1
- package/dist/schemas/finance/refund.schema.d.ts +2 -2
- package/dist/schemas/identity/tenant.schema.d.ts +52 -0
- package/dist/schemas/identity/tenant.schema.d.ts.map +1 -1
- package/dist/schemas/identity/tenant.schema.js +4 -0
- package/dist/schemas/identity/tenant.schema.js.map +1 -1
- package/dist/utils/currency.d.ts +4 -0
- package/dist/utils/currency.d.ts.map +1 -1
- package/dist/utils/currency.js +63 -3
- package/dist/utils/currency.js.map +1 -1
- package/package.json +6 -1
|
@@ -11,6 +11,9 @@ export type FeeType = z.infer<typeof feeTypeEnum>;
|
|
|
11
11
|
/** How often the fee is charged */
|
|
12
12
|
export declare const feeFrequencyEnum: z.ZodEnum<["one_time", "monthly", "quarterly", "annual"]>;
|
|
13
13
|
export type FeeFrequency = z.infer<typeof feeFrequencyEnum>;
|
|
14
|
+
/** Enrollment types for fee applicability filtering */
|
|
15
|
+
export declare const enrollmentTypeEnum: z.ZodEnum<["new_admission", "transfer", "returning", "re_enrollment"]>;
|
|
16
|
+
export type FeeEnrollmentType = z.infer<typeof enrollmentTypeEnum>;
|
|
14
17
|
/** Nepal tax registration types */
|
|
15
18
|
export declare const taxTypeEnum: z.ZodEnum<["PAN", "VAT", "none"]>;
|
|
16
19
|
export type TaxType = z.infer<typeof taxTypeEnum>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/schemas/finance/common.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,4DAA4D;AAC5D,eAAO,MAAM,WAAW,4HAWtB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAElD,mCAAmC;AACnC,eAAO,MAAM,gBAAgB,2DAK3B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAM5D,mCAAmC;AACnC,eAAO,MAAM,WAAW,mCAAiC,CAAC;AAC1D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAMlD,oGAAoG;AACpG,eAAO,MAAM,iBAAiB,iGAQ5B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAM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oB,2BAA+C,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* and payment-gateway schemas.
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.discountAmountSchema = exports.taxRateSchema = exports.amountOrZeroSchema = exports.amountSchema = exports.currencyEnum = exports.ledgerEntryTypeEnum = exports.OFFLINE_GATEWAYS = exports.paymentGatewayEnum = exports.paymentStatusEnum = exports.invoiceStatusEnum = exports.taxTypeEnum = exports.feeFrequencyEnum = exports.feeTypeEnum = void 0;
|
|
9
|
+
exports.discountAmountSchema = exports.taxRateSchema = exports.amountOrZeroSchema = exports.amountSchema = exports.currencyEnum = exports.ledgerEntryTypeEnum = exports.OFFLINE_GATEWAYS = exports.paymentGatewayEnum = exports.paymentStatusEnum = exports.invoiceStatusEnum = exports.taxTypeEnum = exports.enrollmentTypeEnum = exports.feeFrequencyEnum = exports.feeTypeEnum = void 0;
|
|
10
10
|
const zod_1 = require("zod");
|
|
11
11
|
// ============================================================================
|
|
12
12
|
// FEE ENUMS
|
|
@@ -32,6 +32,11 @@ exports.feeFrequencyEnum = zod_1.z.enum([
|
|
|
32
32
|
'annual',
|
|
33
33
|
]);
|
|
34
34
|
// ============================================================================
|
|
35
|
+
// ENROLLMENT ENUMS
|
|
36
|
+
// ============================================================================
|
|
37
|
+
/** Enrollment types for fee applicability filtering */
|
|
38
|
+
exports.enrollmentTypeEnum = zod_1.z.enum(['new_admission', 'transfer', 'returning', 're_enrollment']);
|
|
39
|
+
// ============================================================================
|
|
35
40
|
// TAX ENUMS
|
|
36
41
|
// ============================================================================
|
|
37
42
|
/** Nepal tax registration types */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/schemas/finance/common.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,6BAAwB;AAExB,+EAA+E;AAC/E,YAAY;AACZ,+EAA+E;AAE/E,4DAA4D;AAC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AAA,mBAAmB,GAAG,OAAC,CAAC,IAAI,CAAC;IACxC,SAAS;IACT,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,WAAW;CACZ,CAAC,CAAC;AAGH,+EAA+E;AAC/E,WAAW;AACX,+EAA+E;AAE/E,gEAAgE;AACnD,QAAA,YAAY,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAG/E,qDAAqD;AACxC,QAAA,YAAY,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,QAAU,CAAC,CAAC;AAE9D,wDAAwD;AAC3C,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,QAAU,CAAC,CAAC;AAEpE,qCAAqC;AACxB,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAEnE,qDAAqD;AACxC,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,QAAU,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -50,7 +50,7 @@ export declare const creditNoteResponseSchema: z.ZodObject<{
|
|
|
50
50
|
id: string;
|
|
51
51
|
approvedBy: string;
|
|
52
52
|
amount: number;
|
|
53
|
-
currency: "
|
|
53
|
+
currency: "USD" | "NPR" | "INR" | "GBP" | "CAD" | "AUD";
|
|
54
54
|
studentAccountId: string;
|
|
55
55
|
remainingAmount: number;
|
|
56
56
|
appliedToInvoices: {
|
|
@@ -72,7 +72,7 @@ export declare const creditNoteResponseSchema: z.ZodObject<{
|
|
|
72
72
|
id: string;
|
|
73
73
|
approvedBy: string;
|
|
74
74
|
amount: number;
|
|
75
|
-
currency: "
|
|
75
|
+
currency: "USD" | "NPR" | "INR" | "GBP" | "CAD" | "AUD";
|
|
76
76
|
studentAccountId: string;
|
|
77
77
|
remainingAmount: number;
|
|
78
78
|
fundingSource?: string | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const createCreditNoteSchema: z.ZodObject<{
|
|
|
99
99
|
effectiveDate: string;
|
|
100
100
|
studentId: string;
|
|
101
101
|
amount: number;
|
|
102
|
-
currency: "
|
|
102
|
+
currency: "USD" | "NPR" | "INR" | "GBP" | "CAD" | "AUD";
|
|
103
103
|
fundingSource?: string | undefined;
|
|
104
104
|
expiryDate?: string | undefined;
|
|
105
105
|
}, {
|
|
@@ -108,7 +108,7 @@ export declare const createCreditNoteSchema: z.ZodObject<{
|
|
|
108
108
|
effectiveDate: string;
|
|
109
109
|
studentId: string;
|
|
110
110
|
amount: number;
|
|
111
|
-
currency?: "
|
|
111
|
+
currency?: "USD" | "NPR" | "INR" | "GBP" | "CAD" | "AUD" | undefined;
|
|
112
112
|
fundingSource?: string | undefined;
|
|
113
113
|
expiryDate?: string | undefined;
|
|
114
114
|
}>;
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard Summary Schema
|
|
3
|
+
*
|
|
4
|
+
* Zod schemas for finance dashboard API responses.
|
|
5
|
+
* Mirrors the DashboardSummary interface in dashboard.service.ts.
|
|
6
|
+
*/
|
|
7
|
+
import { z } from 'zod';
|
|
8
|
+
export declare const gradeLevelBreakdownSchema: z.ZodObject<{
|
|
9
|
+
gradeLevel: z.ZodString;
|
|
10
|
+
invoiceCount: z.ZodNumber;
|
|
11
|
+
totalInvoiced: z.ZodNumber;
|
|
12
|
+
totalCollected: z.ZodNumber;
|
|
13
|
+
outstanding: z.ZodNumber;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
gradeLevel: string;
|
|
16
|
+
invoiceCount: number;
|
|
17
|
+
totalInvoiced: number;
|
|
18
|
+
totalCollected: number;
|
|
19
|
+
outstanding: number;
|
|
20
|
+
}, {
|
|
21
|
+
gradeLevel: string;
|
|
22
|
+
invoiceCount: number;
|
|
23
|
+
totalInvoiced: number;
|
|
24
|
+
totalCollected: number;
|
|
25
|
+
outstanding: number;
|
|
26
|
+
}>;
|
|
27
|
+
export type GradeLevelBreakdown = z.infer<typeof gradeLevelBreakdownSchema>;
|
|
28
|
+
export declare const feeTypeBreakdownSchema: z.ZodObject<{
|
|
29
|
+
feeType: z.ZodString;
|
|
30
|
+
invoiceCount: z.ZodNumber;
|
|
31
|
+
totalAmount: z.ZodNumber;
|
|
32
|
+
collectedAmount: z.ZodNumber;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
feeType: string;
|
|
35
|
+
invoiceCount: number;
|
|
36
|
+
totalAmount: number;
|
|
37
|
+
collectedAmount: number;
|
|
38
|
+
}, {
|
|
39
|
+
feeType: string;
|
|
40
|
+
invoiceCount: number;
|
|
41
|
+
totalAmount: number;
|
|
42
|
+
collectedAmount: number;
|
|
43
|
+
}>;
|
|
44
|
+
export type FeeTypeBreakdown = z.infer<typeof feeTypeBreakdownSchema>;
|
|
45
|
+
export declare const agingBucketSchema: z.ZodObject<{
|
|
46
|
+
label: z.ZodString;
|
|
47
|
+
minDays: z.ZodNumber;
|
|
48
|
+
maxDays: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
count: z.ZodNumber;
|
|
50
|
+
amount: z.ZodNumber;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
label: string;
|
|
53
|
+
count: number;
|
|
54
|
+
amount: number;
|
|
55
|
+
minDays: number;
|
|
56
|
+
maxDays: number | null;
|
|
57
|
+
}, {
|
|
58
|
+
label: string;
|
|
59
|
+
count: number;
|
|
60
|
+
amount: number;
|
|
61
|
+
minDays: number;
|
|
62
|
+
maxDays: number | null;
|
|
63
|
+
}>;
|
|
64
|
+
export type AgingBucket = z.infer<typeof agingBucketSchema>;
|
|
65
|
+
export declare const monthlyCollectionSchema: z.ZodObject<{
|
|
66
|
+
month: z.ZodString;
|
|
67
|
+
collected: z.ZodNumber;
|
|
68
|
+
invoiced: z.ZodNumber;
|
|
69
|
+
paymentCount: z.ZodNumber;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
month: string;
|
|
72
|
+
collected: number;
|
|
73
|
+
invoiced: number;
|
|
74
|
+
paymentCount: number;
|
|
75
|
+
}, {
|
|
76
|
+
month: string;
|
|
77
|
+
collected: number;
|
|
78
|
+
invoiced: number;
|
|
79
|
+
paymentCount: number;
|
|
80
|
+
}>;
|
|
81
|
+
export type MonthlyCollection = z.infer<typeof monthlyCollectionSchema>;
|
|
82
|
+
export declare const dashboardSummarySchema: z.ZodObject<{
|
|
83
|
+
totalInvoiced: z.ZodNumber;
|
|
84
|
+
totalCollected: z.ZodNumber;
|
|
85
|
+
outstanding: z.ZodNumber;
|
|
86
|
+
overdue: z.ZodNumber;
|
|
87
|
+
collectionRate: z.ZodNumber;
|
|
88
|
+
invoicesByStatus: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
89
|
+
paymentsByGateway: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
90
|
+
byGradeLevel: z.ZodArray<z.ZodObject<{
|
|
91
|
+
gradeLevel: z.ZodString;
|
|
92
|
+
invoiceCount: z.ZodNumber;
|
|
93
|
+
totalInvoiced: z.ZodNumber;
|
|
94
|
+
totalCollected: z.ZodNumber;
|
|
95
|
+
outstanding: z.ZodNumber;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
gradeLevel: string;
|
|
98
|
+
invoiceCount: number;
|
|
99
|
+
totalInvoiced: number;
|
|
100
|
+
totalCollected: number;
|
|
101
|
+
outstanding: number;
|
|
102
|
+
}, {
|
|
103
|
+
gradeLevel: string;
|
|
104
|
+
invoiceCount: number;
|
|
105
|
+
totalInvoiced: number;
|
|
106
|
+
totalCollected: number;
|
|
107
|
+
outstanding: number;
|
|
108
|
+
}>, "many">;
|
|
109
|
+
byFeeType: z.ZodArray<z.ZodObject<{
|
|
110
|
+
feeType: z.ZodString;
|
|
111
|
+
invoiceCount: z.ZodNumber;
|
|
112
|
+
totalAmount: z.ZodNumber;
|
|
113
|
+
collectedAmount: z.ZodNumber;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
feeType: string;
|
|
116
|
+
invoiceCount: number;
|
|
117
|
+
totalAmount: number;
|
|
118
|
+
collectedAmount: number;
|
|
119
|
+
}, {
|
|
120
|
+
feeType: string;
|
|
121
|
+
invoiceCount: number;
|
|
122
|
+
totalAmount: number;
|
|
123
|
+
collectedAmount: number;
|
|
124
|
+
}>, "many">;
|
|
125
|
+
agingReport: z.ZodArray<z.ZodObject<{
|
|
126
|
+
label: z.ZodString;
|
|
127
|
+
minDays: z.ZodNumber;
|
|
128
|
+
maxDays: z.ZodNullable<z.ZodNumber>;
|
|
129
|
+
count: z.ZodNumber;
|
|
130
|
+
amount: z.ZodNumber;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
label: string;
|
|
133
|
+
count: number;
|
|
134
|
+
amount: number;
|
|
135
|
+
minDays: number;
|
|
136
|
+
maxDays: number | null;
|
|
137
|
+
}, {
|
|
138
|
+
label: string;
|
|
139
|
+
count: number;
|
|
140
|
+
amount: number;
|
|
141
|
+
minDays: number;
|
|
142
|
+
maxDays: number | null;
|
|
143
|
+
}>, "many">;
|
|
144
|
+
monthlyCollections: z.ZodArray<z.ZodObject<{
|
|
145
|
+
month: z.ZodString;
|
|
146
|
+
collected: z.ZodNumber;
|
|
147
|
+
invoiced: z.ZodNumber;
|
|
148
|
+
paymentCount: z.ZodNumber;
|
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
month: string;
|
|
151
|
+
collected: number;
|
|
152
|
+
invoiced: number;
|
|
153
|
+
paymentCount: number;
|
|
154
|
+
}, {
|
|
155
|
+
month: string;
|
|
156
|
+
collected: number;
|
|
157
|
+
invoiced: number;
|
|
158
|
+
paymentCount: number;
|
|
159
|
+
}>, "many">;
|
|
160
|
+
recentPayments: z.ZodArray<z.ZodObject<{
|
|
161
|
+
id: z.ZodString;
|
|
162
|
+
amount: z.ZodNumber;
|
|
163
|
+
gateway: z.ZodString;
|
|
164
|
+
status: z.ZodString;
|
|
165
|
+
receiptNumber: z.ZodOptional<z.ZodString>;
|
|
166
|
+
paidAt: z.ZodOptional<z.ZodString>;
|
|
167
|
+
createdAt: z.ZodString;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
status: string;
|
|
170
|
+
createdAt: string;
|
|
171
|
+
id: string;
|
|
172
|
+
amount: number;
|
|
173
|
+
gateway: string;
|
|
174
|
+
paidAt?: string | undefined;
|
|
175
|
+
receiptNumber?: string | undefined;
|
|
176
|
+
}, {
|
|
177
|
+
status: string;
|
|
178
|
+
createdAt: string;
|
|
179
|
+
id: string;
|
|
180
|
+
amount: number;
|
|
181
|
+
gateway: string;
|
|
182
|
+
paidAt?: string | undefined;
|
|
183
|
+
receiptNumber?: string | undefined;
|
|
184
|
+
}>, "many">;
|
|
185
|
+
recentInvoices: z.ZodArray<z.ZodObject<{
|
|
186
|
+
id: z.ZodString;
|
|
187
|
+
invoiceNumber: z.ZodString;
|
|
188
|
+
studentName: z.ZodString;
|
|
189
|
+
grandTotal: z.ZodNumber;
|
|
190
|
+
amountDue: z.ZodNumber;
|
|
191
|
+
status: z.ZodString;
|
|
192
|
+
issuedDate: z.ZodString;
|
|
193
|
+
createdAt: z.ZodString;
|
|
194
|
+
}, "strip", z.ZodTypeAny, {
|
|
195
|
+
status: string;
|
|
196
|
+
createdAt: string;
|
|
197
|
+
id: string;
|
|
198
|
+
studentName: string;
|
|
199
|
+
invoiceNumber: string;
|
|
200
|
+
grandTotal: number;
|
|
201
|
+
amountDue: number;
|
|
202
|
+
issuedDate: string;
|
|
203
|
+
}, {
|
|
204
|
+
status: string;
|
|
205
|
+
createdAt: string;
|
|
206
|
+
id: string;
|
|
207
|
+
studentName: string;
|
|
208
|
+
invoiceNumber: string;
|
|
209
|
+
grandTotal: number;
|
|
210
|
+
amountDue: number;
|
|
211
|
+
issuedDate: string;
|
|
212
|
+
}>, "many">;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
byGradeLevel: {
|
|
215
|
+
gradeLevel: string;
|
|
216
|
+
invoiceCount: number;
|
|
217
|
+
totalInvoiced: number;
|
|
218
|
+
totalCollected: number;
|
|
219
|
+
outstanding: number;
|
|
220
|
+
}[];
|
|
221
|
+
overdue: number;
|
|
222
|
+
totalInvoiced: number;
|
|
223
|
+
totalCollected: number;
|
|
224
|
+
outstanding: number;
|
|
225
|
+
collectionRate: number;
|
|
226
|
+
invoicesByStatus: Record<string, number>;
|
|
227
|
+
paymentsByGateway: Record<string, number>;
|
|
228
|
+
byFeeType: {
|
|
229
|
+
feeType: string;
|
|
230
|
+
invoiceCount: number;
|
|
231
|
+
totalAmount: number;
|
|
232
|
+
collectedAmount: number;
|
|
233
|
+
}[];
|
|
234
|
+
agingReport: {
|
|
235
|
+
label: string;
|
|
236
|
+
count: number;
|
|
237
|
+
amount: number;
|
|
238
|
+
minDays: number;
|
|
239
|
+
maxDays: number | null;
|
|
240
|
+
}[];
|
|
241
|
+
monthlyCollections: {
|
|
242
|
+
month: string;
|
|
243
|
+
collected: number;
|
|
244
|
+
invoiced: number;
|
|
245
|
+
paymentCount: number;
|
|
246
|
+
}[];
|
|
247
|
+
recentPayments: {
|
|
248
|
+
status: string;
|
|
249
|
+
createdAt: string;
|
|
250
|
+
id: string;
|
|
251
|
+
amount: number;
|
|
252
|
+
gateway: string;
|
|
253
|
+
paidAt?: string | undefined;
|
|
254
|
+
receiptNumber?: string | undefined;
|
|
255
|
+
}[];
|
|
256
|
+
recentInvoices: {
|
|
257
|
+
status: string;
|
|
258
|
+
createdAt: string;
|
|
259
|
+
id: string;
|
|
260
|
+
studentName: string;
|
|
261
|
+
invoiceNumber: string;
|
|
262
|
+
grandTotal: number;
|
|
263
|
+
amountDue: number;
|
|
264
|
+
issuedDate: string;
|
|
265
|
+
}[];
|
|
266
|
+
}, {
|
|
267
|
+
byGradeLevel: {
|
|
268
|
+
gradeLevel: string;
|
|
269
|
+
invoiceCount: number;
|
|
270
|
+
totalInvoiced: number;
|
|
271
|
+
totalCollected: number;
|
|
272
|
+
outstanding: number;
|
|
273
|
+
}[];
|
|
274
|
+
overdue: number;
|
|
275
|
+
totalInvoiced: number;
|
|
276
|
+
totalCollected: number;
|
|
277
|
+
outstanding: number;
|
|
278
|
+
collectionRate: number;
|
|
279
|
+
invoicesByStatus: Record<string, number>;
|
|
280
|
+
paymentsByGateway: Record<string, number>;
|
|
281
|
+
byFeeType: {
|
|
282
|
+
feeType: string;
|
|
283
|
+
invoiceCount: number;
|
|
284
|
+
totalAmount: number;
|
|
285
|
+
collectedAmount: number;
|
|
286
|
+
}[];
|
|
287
|
+
agingReport: {
|
|
288
|
+
label: string;
|
|
289
|
+
count: number;
|
|
290
|
+
amount: number;
|
|
291
|
+
minDays: number;
|
|
292
|
+
maxDays: number | null;
|
|
293
|
+
}[];
|
|
294
|
+
monthlyCollections: {
|
|
295
|
+
month: string;
|
|
296
|
+
collected: number;
|
|
297
|
+
invoiced: number;
|
|
298
|
+
paymentCount: number;
|
|
299
|
+
}[];
|
|
300
|
+
recentPayments: {
|
|
301
|
+
status: string;
|
|
302
|
+
createdAt: string;
|
|
303
|
+
id: string;
|
|
304
|
+
amount: number;
|
|
305
|
+
gateway: string;
|
|
306
|
+
paidAt?: string | undefined;
|
|
307
|
+
receiptNumber?: string | undefined;
|
|
308
|
+
}[];
|
|
309
|
+
recentInvoices: {
|
|
310
|
+
status: string;
|
|
311
|
+
createdAt: string;
|
|
312
|
+
id: string;
|
|
313
|
+
studentName: string;
|
|
314
|
+
invoiceNumber: string;
|
|
315
|
+
grandTotal: number;
|
|
316
|
+
amountDue: number;
|
|
317
|
+
issuedDate: string;
|
|
318
|
+
}[];
|
|
319
|
+
}>;
|
|
320
|
+
export type DashboardSummary = z.infer<typeof dashboardSummarySchema>;
|
|
321
|
+
export declare const dashboardFiltersSchema: z.ZodObject<{
|
|
322
|
+
from: z.ZodOptional<z.ZodString>;
|
|
323
|
+
to: z.ZodOptional<z.ZodString>;
|
|
324
|
+
academicYear: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, "strip", z.ZodTypeAny, {
|
|
326
|
+
from?: string | undefined;
|
|
327
|
+
to?: string | undefined;
|
|
328
|
+
academicYear?: string | undefined;
|
|
329
|
+
}, {
|
|
330
|
+
from?: string | undefined;
|
|
331
|
+
to?: string | undefined;
|
|
332
|
+
academicYear?: string | undefined;
|
|
333
|
+
}>;
|
|
334
|
+
export type DashboardFilters = z.infer<typeof dashboardFiltersSchema>;
|
|
335
|
+
//# sourceMappingURL=dashboard.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/finance/dashboard.schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAMpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Dashboard Summary Schema
|
|
4
|
+
*
|
|
5
|
+
* Zod schemas for finance dashboard API responses.
|
|
6
|
+
* Mirrors the DashboardSummary interface in dashboard.service.ts.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.dashboardFiltersSchema = exports.dashboardSummarySchema = exports.monthlyCollectionSchema = exports.agingBucketSchema = exports.feeTypeBreakdownSchema = exports.gradeLevelBreakdownSchema = void 0;
|
|
10
|
+
const zod_1 = require("zod");
|
|
11
|
+
exports.gradeLevelBreakdownSchema = zod_1.z.object({
|
|
12
|
+
gradeLevel: zod_1.z.string(),
|
|
13
|
+
invoiceCount: zod_1.z.number().int(),
|
|
14
|
+
totalInvoiced: zod_1.z.number(),
|
|
15
|
+
totalCollected: zod_1.z.number(),
|
|
16
|
+
outstanding: zod_1.z.number(),
|
|
17
|
+
});
|
|
18
|
+
exports.feeTypeBreakdownSchema = zod_1.z.object({
|
|
19
|
+
feeType: zod_1.z.string(),
|
|
20
|
+
invoiceCount: zod_1.z.number().int(),
|
|
21
|
+
totalAmount: zod_1.z.number(),
|
|
22
|
+
collectedAmount: zod_1.z.number(),
|
|
23
|
+
});
|
|
24
|
+
exports.agingBucketSchema = zod_1.z.object({
|
|
25
|
+
label: zod_1.z.string(),
|
|
26
|
+
minDays: zod_1.z.number().int(),
|
|
27
|
+
maxDays: zod_1.z.number().int().nullable(),
|
|
28
|
+
count: zod_1.z.number().int(),
|
|
29
|
+
amount: zod_1.z.number(),
|
|
30
|
+
});
|
|
31
|
+
exports.monthlyCollectionSchema = zod_1.z.object({
|
|
32
|
+
month: zod_1.z.string(), // YYYY-MM
|
|
33
|
+
collected: zod_1.z.number(),
|
|
34
|
+
invoiced: zod_1.z.number(),
|
|
35
|
+
paymentCount: zod_1.z.number().int(),
|
|
36
|
+
});
|
|
37
|
+
exports.dashboardSummarySchema = zod_1.z.object({
|
|
38
|
+
totalInvoiced: zod_1.z.number(),
|
|
39
|
+
totalCollected: zod_1.z.number(),
|
|
40
|
+
outstanding: zod_1.z.number(),
|
|
41
|
+
overdue: zod_1.z.number(),
|
|
42
|
+
collectionRate: zod_1.z.number(),
|
|
43
|
+
invoicesByStatus: zod_1.z.record(zod_1.z.number()),
|
|
44
|
+
paymentsByGateway: zod_1.z.record(zod_1.z.number()),
|
|
45
|
+
byGradeLevel: zod_1.z.array(exports.gradeLevelBreakdownSchema),
|
|
46
|
+
byFeeType: zod_1.z.array(exports.feeTypeBreakdownSchema),
|
|
47
|
+
agingReport: zod_1.z.array(exports.agingBucketSchema),
|
|
48
|
+
monthlyCollections: zod_1.z.array(exports.monthlyCollectionSchema),
|
|
49
|
+
recentPayments: zod_1.z.array(zod_1.z.object({
|
|
50
|
+
id: zod_1.z.string(),
|
|
51
|
+
amount: zod_1.z.number(),
|
|
52
|
+
gateway: zod_1.z.string(),
|
|
53
|
+
status: zod_1.z.string(),
|
|
54
|
+
receiptNumber: zod_1.z.string().optional(),
|
|
55
|
+
paidAt: zod_1.z.string().optional(),
|
|
56
|
+
createdAt: zod_1.z.string(),
|
|
57
|
+
})),
|
|
58
|
+
recentInvoices: zod_1.z.array(zod_1.z.object({
|
|
59
|
+
id: zod_1.z.string(),
|
|
60
|
+
invoiceNumber: zod_1.z.string(),
|
|
61
|
+
studentName: zod_1.z.string(),
|
|
62
|
+
grandTotal: zod_1.z.number(),
|
|
63
|
+
amountDue: zod_1.z.number(),
|
|
64
|
+
status: zod_1.z.string(),
|
|
65
|
+
issuedDate: zod_1.z.string(),
|
|
66
|
+
createdAt: zod_1.z.string(),
|
|
67
|
+
})),
|
|
68
|
+
});
|
|
69
|
+
exports.dashboardFiltersSchema = zod_1.z.object({
|
|
70
|
+
from: zod_1.z.string().optional(),
|
|
71
|
+
to: zod_1.z.string().optional(),
|
|
72
|
+
academicYear: zod_1.z.string().optional(),
|
|
73
|
+
});
|
|
74
|
+
//# sourceMappingURL=dashboard.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.schema.js","sourceRoot":"","sources":["../../../src/schemas/finance/dashboard.schema.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,6BAAwB;AAEX,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAIU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,OAAC,CAAC,M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