@nyig/models 0.2.41 → 0.2.43
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/index.d.mts +259 -134
- package/index.d.ts +259 -134
- package/index.js +10 -4
- package/index.mjs +8 -4
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1081,13 +1081,9 @@ declare const zUser: z.ZodObject<{
|
|
|
1081
1081
|
createdAt?: string | undefined;
|
|
1082
1082
|
updatedAt?: string | undefined;
|
|
1083
1083
|
}>;
|
|
1084
|
-
declare const
|
|
1084
|
+
declare const zBStudent: z.ZodObject<{
|
|
1085
1085
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1086
1086
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1087
|
-
_id: z.ZodString;
|
|
1088
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1089
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1090
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1091
1087
|
name: z.ZodString;
|
|
1092
1088
|
username: z.ZodOptional<z.ZodString>;
|
|
1093
1089
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1097,15 +1093,11 @@ declare const zStudent: z.ZodObject<{
|
|
|
1097
1093
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1098
1094
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1099
1095
|
guardian: z.ZodOptional<z.ZodString>;
|
|
1100
|
-
},
|
|
1096
|
+
}, "strip", z.ZodTypeAny, {
|
|
1101
1097
|
rank: GoRank;
|
|
1102
|
-
_id: string;
|
|
1103
1098
|
name: string;
|
|
1104
1099
|
email?: string | undefined;
|
|
1105
1100
|
address?: string | undefined;
|
|
1106
|
-
editedBy?: string | undefined;
|
|
1107
|
-
createdAt?: string | undefined;
|
|
1108
|
-
updatedAt?: string | undefined;
|
|
1109
1101
|
username?: string | undefined;
|
|
1110
1102
|
password?: string | undefined;
|
|
1111
1103
|
roles?: number[] | undefined;
|
|
@@ -1115,13 +1107,9 @@ declare const zStudent: z.ZodObject<{
|
|
|
1115
1107
|
guardian?: string | undefined;
|
|
1116
1108
|
}, {
|
|
1117
1109
|
rank: GoRank;
|
|
1118
|
-
_id: string;
|
|
1119
1110
|
name: string;
|
|
1120
1111
|
email?: string | undefined;
|
|
1121
1112
|
address?: string | undefined;
|
|
1122
|
-
editedBy?: string | undefined;
|
|
1123
|
-
createdAt?: string | undefined;
|
|
1124
|
-
updatedAt?: string | undefined;
|
|
1125
1113
|
username?: string | undefined;
|
|
1126
1114
|
password?: string | undefined;
|
|
1127
1115
|
roles?: number[] | undefined;
|
|
@@ -1130,13 +1118,58 @@ declare const zStudent: z.ZodObject<{
|
|
|
1130
1118
|
birthDate?: string | undefined;
|
|
1131
1119
|
guardian?: string | undefined;
|
|
1132
1120
|
}>;
|
|
1133
|
-
declare const
|
|
1121
|
+
declare const zStudent: z.ZodObject<{
|
|
1122
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1134
1123
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1135
1124
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1125
|
+
name: z.ZodString;
|
|
1126
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1129
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1130
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1131
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1132
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
1136
1133
|
_id: z.ZodString;
|
|
1137
1134
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1138
1135
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1139
1136
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1138
|
+
rank: GoRank;
|
|
1139
|
+
_id: string;
|
|
1140
|
+
name: string;
|
|
1141
|
+
email?: string | undefined;
|
|
1142
|
+
address?: string | undefined;
|
|
1143
|
+
username?: string | undefined;
|
|
1144
|
+
password?: string | undefined;
|
|
1145
|
+
roles?: number[] | undefined;
|
|
1146
|
+
country?: string | undefined;
|
|
1147
|
+
phoneNumber?: string | undefined;
|
|
1148
|
+
birthDate?: string | undefined;
|
|
1149
|
+
guardian?: string | undefined;
|
|
1150
|
+
editedBy?: string | undefined;
|
|
1151
|
+
createdAt?: string | undefined;
|
|
1152
|
+
updatedAt?: string | undefined;
|
|
1153
|
+
}, {
|
|
1154
|
+
rank: GoRank;
|
|
1155
|
+
_id: string;
|
|
1156
|
+
name: string;
|
|
1157
|
+
email?: string | undefined;
|
|
1158
|
+
address?: string | undefined;
|
|
1159
|
+
username?: string | undefined;
|
|
1160
|
+
password?: string | undefined;
|
|
1161
|
+
roles?: number[] | undefined;
|
|
1162
|
+
country?: string | undefined;
|
|
1163
|
+
phoneNumber?: string | undefined;
|
|
1164
|
+
birthDate?: string | undefined;
|
|
1165
|
+
guardian?: string | undefined;
|
|
1166
|
+
editedBy?: string | undefined;
|
|
1167
|
+
createdAt?: string | undefined;
|
|
1168
|
+
updatedAt?: string | undefined;
|
|
1169
|
+
}>;
|
|
1170
|
+
declare const zBTeacher: z.ZodObject<{
|
|
1171
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1172
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1140
1173
|
name: z.ZodString;
|
|
1141
1174
|
username: z.ZodOptional<z.ZodString>;
|
|
1142
1175
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1149,15 +1182,11 @@ declare const zTeacher: z.ZodObject<{
|
|
|
1149
1182
|
title: z.ZodOptional<z.ZodString>;
|
|
1150
1183
|
bio: z.ZodOptional<z.ZodString>;
|
|
1151
1184
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1152
|
-
},
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
1186
|
rank: GoRank;
|
|
1154
|
-
_id: string;
|
|
1155
1187
|
name: string;
|
|
1156
1188
|
email?: string | undefined;
|
|
1157
1189
|
address?: string | undefined;
|
|
1158
|
-
editedBy?: string | undefined;
|
|
1159
|
-
createdAt?: string | undefined;
|
|
1160
|
-
updatedAt?: string | undefined;
|
|
1161
1190
|
username?: string | undefined;
|
|
1162
1191
|
password?: string | undefined;
|
|
1163
1192
|
roles?: number[] | undefined;
|
|
@@ -1169,14 +1198,65 @@ declare const zTeacher: z.ZodObject<{
|
|
|
1169
1198
|
bio?: string | undefined;
|
|
1170
1199
|
available?: number[][][] | undefined;
|
|
1171
1200
|
}, {
|
|
1201
|
+
rank: GoRank;
|
|
1202
|
+
name: string;
|
|
1203
|
+
email?: string | undefined;
|
|
1204
|
+
address?: string | undefined;
|
|
1205
|
+
username?: string | undefined;
|
|
1206
|
+
password?: string | undefined;
|
|
1207
|
+
roles?: number[] | undefined;
|
|
1208
|
+
country?: string | undefined;
|
|
1209
|
+
phoneNumber?: string | undefined;
|
|
1210
|
+
birthDate?: string | undefined;
|
|
1211
|
+
isInactive?: boolean | undefined;
|
|
1212
|
+
title?: string | undefined;
|
|
1213
|
+
bio?: string | undefined;
|
|
1214
|
+
available?: number[][][] | undefined;
|
|
1215
|
+
}>;
|
|
1216
|
+
declare const zTeacher: z.ZodObject<{
|
|
1217
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1218
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1219
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1220
|
+
name: z.ZodString;
|
|
1221
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1224
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1225
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1226
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1227
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1228
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1229
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1231
|
+
_id: z.ZodString;
|
|
1232
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1172
1236
|
rank: GoRank;
|
|
1173
1237
|
_id: string;
|
|
1174
1238
|
name: string;
|
|
1175
1239
|
email?: string | undefined;
|
|
1176
1240
|
address?: string | undefined;
|
|
1241
|
+
username?: string | undefined;
|
|
1242
|
+
password?: string | undefined;
|
|
1243
|
+
roles?: number[] | undefined;
|
|
1244
|
+
country?: string | undefined;
|
|
1245
|
+
phoneNumber?: string | undefined;
|
|
1246
|
+
birthDate?: string | undefined;
|
|
1247
|
+
isInactive?: boolean | undefined;
|
|
1248
|
+
title?: string | undefined;
|
|
1249
|
+
bio?: string | undefined;
|
|
1250
|
+
available?: number[][][] | undefined;
|
|
1177
1251
|
editedBy?: string | undefined;
|
|
1178
1252
|
createdAt?: string | undefined;
|
|
1179
1253
|
updatedAt?: string | undefined;
|
|
1254
|
+
}, {
|
|
1255
|
+
rank: GoRank;
|
|
1256
|
+
_id: string;
|
|
1257
|
+
name: string;
|
|
1258
|
+
email?: string | undefined;
|
|
1259
|
+
address?: string | undefined;
|
|
1180
1260
|
username?: string | undefined;
|
|
1181
1261
|
password?: string | undefined;
|
|
1182
1262
|
roles?: number[] | undefined;
|
|
@@ -1187,10 +1267,15 @@ declare const zTeacher: z.ZodObject<{
|
|
|
1187
1267
|
title?: string | undefined;
|
|
1188
1268
|
bio?: string | undefined;
|
|
1189
1269
|
available?: number[][][] | undefined;
|
|
1270
|
+
editedBy?: string | undefined;
|
|
1271
|
+
createdAt?: string | undefined;
|
|
1272
|
+
updatedAt?: string | undefined;
|
|
1190
1273
|
}>;
|
|
1191
1274
|
type BUser = z.infer<typeof zBUser>;
|
|
1192
1275
|
type User = z.infer<typeof zUser>;
|
|
1276
|
+
type BStudent = z.infer<typeof zBStudent>;
|
|
1193
1277
|
type Student = z.infer<typeof zStudent>;
|
|
1278
|
+
type BTeacher = z.infer<typeof zBTeacher>;
|
|
1194
1279
|
type Teacher = z.infer<typeof zTeacher>;
|
|
1195
1280
|
|
|
1196
1281
|
declare const zUserRoles: z.ZodObject<{
|
|
@@ -1283,12 +1368,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1283
1368
|
units: number;
|
|
1284
1369
|
}>, "many">;
|
|
1285
1370
|
student: z.ZodObject<{
|
|
1371
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1286
1372
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1287
1373
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1288
|
-
_id: z.ZodString;
|
|
1289
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1290
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1291
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1292
1374
|
name: z.ZodString;
|
|
1293
1375
|
username: z.ZodOptional<z.ZodString>;
|
|
1294
1376
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1296,17 +1378,17 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1296
1378
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1297
1379
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1298
1380
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1299
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1300
1381
|
guardian: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
_id: z.ZodString;
|
|
1383
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1301
1386
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1302
1387
|
rank: GoRank;
|
|
1303
1388
|
_id: string;
|
|
1304
1389
|
name: string;
|
|
1305
1390
|
email?: string | undefined;
|
|
1306
1391
|
address?: string | undefined;
|
|
1307
|
-
editedBy?: string | undefined;
|
|
1308
|
-
createdAt?: string | undefined;
|
|
1309
|
-
updatedAt?: string | undefined;
|
|
1310
1392
|
username?: string | undefined;
|
|
1311
1393
|
password?: string | undefined;
|
|
1312
1394
|
roles?: number[] | undefined;
|
|
@@ -1314,15 +1396,15 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1314
1396
|
phoneNumber?: string | undefined;
|
|
1315
1397
|
birthDate?: string | undefined;
|
|
1316
1398
|
guardian?: string | undefined;
|
|
1399
|
+
editedBy?: string | undefined;
|
|
1400
|
+
createdAt?: string | undefined;
|
|
1401
|
+
updatedAt?: string | undefined;
|
|
1317
1402
|
}, {
|
|
1318
1403
|
rank: GoRank;
|
|
1319
1404
|
_id: string;
|
|
1320
1405
|
name: string;
|
|
1321
1406
|
email?: string | undefined;
|
|
1322
1407
|
address?: string | undefined;
|
|
1323
|
-
editedBy?: string | undefined;
|
|
1324
|
-
createdAt?: string | undefined;
|
|
1325
|
-
updatedAt?: string | undefined;
|
|
1326
1408
|
username?: string | undefined;
|
|
1327
1409
|
password?: string | undefined;
|
|
1328
1410
|
roles?: number[] | undefined;
|
|
@@ -1330,6 +1412,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1330
1412
|
phoneNumber?: string | undefined;
|
|
1331
1413
|
birthDate?: string | undefined;
|
|
1332
1414
|
guardian?: string | undefined;
|
|
1415
|
+
editedBy?: string | undefined;
|
|
1416
|
+
createdAt?: string | undefined;
|
|
1417
|
+
updatedAt?: string | undefined;
|
|
1333
1418
|
}>;
|
|
1334
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1335
1420
|
student: {
|
|
@@ -1338,9 +1423,6 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1338
1423
|
name: string;
|
|
1339
1424
|
email?: string | undefined;
|
|
1340
1425
|
address?: string | undefined;
|
|
1341
|
-
editedBy?: string | undefined;
|
|
1342
|
-
createdAt?: string | undefined;
|
|
1343
|
-
updatedAt?: string | undefined;
|
|
1344
1426
|
username?: string | undefined;
|
|
1345
1427
|
password?: string | undefined;
|
|
1346
1428
|
roles?: number[] | undefined;
|
|
@@ -1348,6 +1430,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1348
1430
|
phoneNumber?: string | undefined;
|
|
1349
1431
|
birthDate?: string | undefined;
|
|
1350
1432
|
guardian?: string | undefined;
|
|
1433
|
+
editedBy?: string | undefined;
|
|
1434
|
+
createdAt?: string | undefined;
|
|
1435
|
+
updatedAt?: string | undefined;
|
|
1351
1436
|
};
|
|
1352
1437
|
items: {
|
|
1353
1438
|
course: string;
|
|
@@ -1361,9 +1446,6 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1361
1446
|
name: string;
|
|
1362
1447
|
email?: string | undefined;
|
|
1363
1448
|
address?: string | undefined;
|
|
1364
|
-
editedBy?: string | undefined;
|
|
1365
|
-
createdAt?: string | undefined;
|
|
1366
|
-
updatedAt?: string | undefined;
|
|
1367
1449
|
username?: string | undefined;
|
|
1368
1450
|
password?: string | undefined;
|
|
1369
1451
|
roles?: number[] | undefined;
|
|
@@ -1371,6 +1453,9 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1371
1453
|
phoneNumber?: string | undefined;
|
|
1372
1454
|
birthDate?: string | undefined;
|
|
1373
1455
|
guardian?: string | undefined;
|
|
1456
|
+
editedBy?: string | undefined;
|
|
1457
|
+
createdAt?: string | undefined;
|
|
1458
|
+
updatedAt?: string | undefined;
|
|
1374
1459
|
};
|
|
1375
1460
|
items: {
|
|
1376
1461
|
course: string;
|
|
@@ -1589,12 +1674,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1589
1674
|
amount: number;
|
|
1590
1675
|
}>, "many">;
|
|
1591
1676
|
createdBy: z.ZodObject<{
|
|
1677
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1592
1678
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1593
1679
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1594
|
-
_id: z.ZodString;
|
|
1595
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1596
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1597
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1598
1680
|
name: z.ZodString;
|
|
1599
1681
|
username: z.ZodOptional<z.ZodString>;
|
|
1600
1682
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1602,20 +1684,20 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1602
1684
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1603
1685
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1604
1686
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1605
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1606
1687
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1607
1688
|
title: z.ZodOptional<z.ZodString>;
|
|
1608
1689
|
bio: z.ZodOptional<z.ZodString>;
|
|
1609
1690
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1691
|
+
_id: z.ZodString;
|
|
1692
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1693
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1694
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1610
1695
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1611
1696
|
rank: GoRank;
|
|
1612
1697
|
_id: string;
|
|
1613
1698
|
name: string;
|
|
1614
1699
|
email?: string | undefined;
|
|
1615
1700
|
address?: string | undefined;
|
|
1616
|
-
editedBy?: string | undefined;
|
|
1617
|
-
createdAt?: string | undefined;
|
|
1618
|
-
updatedAt?: string | undefined;
|
|
1619
1701
|
username?: string | undefined;
|
|
1620
1702
|
password?: string | undefined;
|
|
1621
1703
|
roles?: number[] | undefined;
|
|
@@ -1626,15 +1708,15 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1626
1708
|
title?: string | undefined;
|
|
1627
1709
|
bio?: string | undefined;
|
|
1628
1710
|
available?: number[][][] | undefined;
|
|
1711
|
+
editedBy?: string | undefined;
|
|
1712
|
+
createdAt?: string | undefined;
|
|
1713
|
+
updatedAt?: string | undefined;
|
|
1629
1714
|
}, {
|
|
1630
1715
|
rank: GoRank;
|
|
1631
1716
|
_id: string;
|
|
1632
1717
|
name: string;
|
|
1633
1718
|
email?: string | undefined;
|
|
1634
1719
|
address?: string | undefined;
|
|
1635
|
-
editedBy?: string | undefined;
|
|
1636
|
-
createdAt?: string | undefined;
|
|
1637
|
-
updatedAt?: string | undefined;
|
|
1638
1720
|
username?: string | undefined;
|
|
1639
1721
|
password?: string | undefined;
|
|
1640
1722
|
roles?: number[] | undefined;
|
|
@@ -1645,14 +1727,14 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1645
1727
|
title?: string | undefined;
|
|
1646
1728
|
bio?: string | undefined;
|
|
1647
1729
|
available?: number[][][] | undefined;
|
|
1730
|
+
editedBy?: string | undefined;
|
|
1731
|
+
createdAt?: string | undefined;
|
|
1732
|
+
updatedAt?: string | undefined;
|
|
1648
1733
|
}>;
|
|
1649
1734
|
lastEditBy: z.ZodOptional<z.ZodObject<{
|
|
1735
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1650
1736
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1651
1737
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1652
|
-
_id: z.ZodString;
|
|
1653
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1654
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1655
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1656
1738
|
name: z.ZodString;
|
|
1657
1739
|
username: z.ZodOptional<z.ZodString>;
|
|
1658
1740
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1660,20 +1742,20 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1660
1742
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1661
1743
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1662
1744
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1663
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1664
1745
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1665
1746
|
title: z.ZodOptional<z.ZodString>;
|
|
1666
1747
|
bio: z.ZodOptional<z.ZodString>;
|
|
1667
1748
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1749
|
+
_id: z.ZodString;
|
|
1750
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1751
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1752
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1668
1753
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1669
1754
|
rank: GoRank;
|
|
1670
1755
|
_id: string;
|
|
1671
1756
|
name: string;
|
|
1672
1757
|
email?: string | undefined;
|
|
1673
1758
|
address?: string | undefined;
|
|
1674
|
-
editedBy?: string | undefined;
|
|
1675
|
-
createdAt?: string | undefined;
|
|
1676
|
-
updatedAt?: string | undefined;
|
|
1677
1759
|
username?: string | undefined;
|
|
1678
1760
|
password?: string | undefined;
|
|
1679
1761
|
roles?: number[] | undefined;
|
|
@@ -1684,15 +1766,15 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1684
1766
|
title?: string | undefined;
|
|
1685
1767
|
bio?: string | undefined;
|
|
1686
1768
|
available?: number[][][] | undefined;
|
|
1769
|
+
editedBy?: string | undefined;
|
|
1770
|
+
createdAt?: string | undefined;
|
|
1771
|
+
updatedAt?: string | undefined;
|
|
1687
1772
|
}, {
|
|
1688
1773
|
rank: GoRank;
|
|
1689
1774
|
_id: string;
|
|
1690
1775
|
name: string;
|
|
1691
1776
|
email?: string | undefined;
|
|
1692
1777
|
address?: string | undefined;
|
|
1693
|
-
editedBy?: string | undefined;
|
|
1694
|
-
createdAt?: string | undefined;
|
|
1695
|
-
updatedAt?: string | undefined;
|
|
1696
1778
|
username?: string | undefined;
|
|
1697
1779
|
password?: string | undefined;
|
|
1698
1780
|
roles?: number[] | undefined;
|
|
@@ -1703,6 +1785,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1703
1785
|
title?: string | undefined;
|
|
1704
1786
|
bio?: string | undefined;
|
|
1705
1787
|
available?: number[][][] | undefined;
|
|
1788
|
+
editedBy?: string | undefined;
|
|
1789
|
+
createdAt?: string | undefined;
|
|
1790
|
+
updatedAt?: string | undefined;
|
|
1706
1791
|
}>>;
|
|
1707
1792
|
packages: z.ZodArray<z.ZodObject<{
|
|
1708
1793
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1719,12 +1804,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1719
1804
|
units: number;
|
|
1720
1805
|
}>, "many">;
|
|
1721
1806
|
student: z.ZodObject<{
|
|
1807
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1722
1808
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1723
1809
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1724
|
-
_id: z.ZodString;
|
|
1725
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1726
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1727
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1728
1810
|
name: z.ZodString;
|
|
1729
1811
|
username: z.ZodOptional<z.ZodString>;
|
|
1730
1812
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1732,17 +1814,17 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1732
1814
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1733
1815
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1734
1816
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1735
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1736
1817
|
guardian: z.ZodOptional<z.ZodString>;
|
|
1818
|
+
_id: z.ZodString;
|
|
1819
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1820
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1737
1822
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1738
1823
|
rank: GoRank;
|
|
1739
1824
|
_id: string;
|
|
1740
1825
|
name: string;
|
|
1741
1826
|
email?: string | undefined;
|
|
1742
1827
|
address?: string | undefined;
|
|
1743
|
-
editedBy?: string | undefined;
|
|
1744
|
-
createdAt?: string | undefined;
|
|
1745
|
-
updatedAt?: string | undefined;
|
|
1746
1828
|
username?: string | undefined;
|
|
1747
1829
|
password?: string | undefined;
|
|
1748
1830
|
roles?: number[] | undefined;
|
|
@@ -1750,15 +1832,15 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1750
1832
|
phoneNumber?: string | undefined;
|
|
1751
1833
|
birthDate?: string | undefined;
|
|
1752
1834
|
guardian?: string | undefined;
|
|
1835
|
+
editedBy?: string | undefined;
|
|
1836
|
+
createdAt?: string | undefined;
|
|
1837
|
+
updatedAt?: string | undefined;
|
|
1753
1838
|
}, {
|
|
1754
1839
|
rank: GoRank;
|
|
1755
1840
|
_id: string;
|
|
1756
1841
|
name: string;
|
|
1757
1842
|
email?: string | undefined;
|
|
1758
1843
|
address?: string | undefined;
|
|
1759
|
-
editedBy?: string | undefined;
|
|
1760
|
-
createdAt?: string | undefined;
|
|
1761
|
-
updatedAt?: string | undefined;
|
|
1762
1844
|
username?: string | undefined;
|
|
1763
1845
|
password?: string | undefined;
|
|
1764
1846
|
roles?: number[] | undefined;
|
|
@@ -1766,6 +1848,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1766
1848
|
phoneNumber?: string | undefined;
|
|
1767
1849
|
birthDate?: string | undefined;
|
|
1768
1850
|
guardian?: string | undefined;
|
|
1851
|
+
editedBy?: string | undefined;
|
|
1852
|
+
createdAt?: string | undefined;
|
|
1853
|
+
updatedAt?: string | undefined;
|
|
1769
1854
|
}>;
|
|
1770
1855
|
}, "strip", z.ZodTypeAny, {
|
|
1771
1856
|
student: {
|
|
@@ -1774,9 +1859,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1774
1859
|
name: string;
|
|
1775
1860
|
email?: string | undefined;
|
|
1776
1861
|
address?: string | undefined;
|
|
1777
|
-
editedBy?: string | undefined;
|
|
1778
|
-
createdAt?: string | undefined;
|
|
1779
|
-
updatedAt?: string | undefined;
|
|
1780
1862
|
username?: string | undefined;
|
|
1781
1863
|
password?: string | undefined;
|
|
1782
1864
|
roles?: number[] | undefined;
|
|
@@ -1784,6 +1866,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1784
1866
|
phoneNumber?: string | undefined;
|
|
1785
1867
|
birthDate?: string | undefined;
|
|
1786
1868
|
guardian?: string | undefined;
|
|
1869
|
+
editedBy?: string | undefined;
|
|
1870
|
+
createdAt?: string | undefined;
|
|
1871
|
+
updatedAt?: string | undefined;
|
|
1787
1872
|
};
|
|
1788
1873
|
items: {
|
|
1789
1874
|
course: string;
|
|
@@ -1797,9 +1882,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1797
1882
|
name: string;
|
|
1798
1883
|
email?: string | undefined;
|
|
1799
1884
|
address?: string | undefined;
|
|
1800
|
-
editedBy?: string | undefined;
|
|
1801
|
-
createdAt?: string | undefined;
|
|
1802
|
-
updatedAt?: string | undefined;
|
|
1803
1885
|
username?: string | undefined;
|
|
1804
1886
|
password?: string | undefined;
|
|
1805
1887
|
roles?: number[] | undefined;
|
|
@@ -1807,6 +1889,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1807
1889
|
phoneNumber?: string | undefined;
|
|
1808
1890
|
birthDate?: string | undefined;
|
|
1809
1891
|
guardian?: string | undefined;
|
|
1892
|
+
editedBy?: string | undefined;
|
|
1893
|
+
createdAt?: string | undefined;
|
|
1894
|
+
updatedAt?: string | undefined;
|
|
1810
1895
|
};
|
|
1811
1896
|
items: {
|
|
1812
1897
|
course: string;
|
|
@@ -1824,9 +1909,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1824
1909
|
name: string;
|
|
1825
1910
|
email?: string | undefined;
|
|
1826
1911
|
address?: string | undefined;
|
|
1827
|
-
editedBy?: string | undefined;
|
|
1828
|
-
createdAt?: string | undefined;
|
|
1829
|
-
updatedAt?: string | undefined;
|
|
1830
1912
|
username?: string | undefined;
|
|
1831
1913
|
password?: string | undefined;
|
|
1832
1914
|
roles?: number[] | undefined;
|
|
@@ -1834,6 +1916,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1834
1916
|
phoneNumber?: string | undefined;
|
|
1835
1917
|
birthDate?: string | undefined;
|
|
1836
1918
|
guardian?: string | undefined;
|
|
1919
|
+
editedBy?: string | undefined;
|
|
1920
|
+
createdAt?: string | undefined;
|
|
1921
|
+
updatedAt?: string | undefined;
|
|
1837
1922
|
};
|
|
1838
1923
|
items: {
|
|
1839
1924
|
course: string;
|
|
@@ -1851,9 +1936,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1851
1936
|
name: string;
|
|
1852
1937
|
email?: string | undefined;
|
|
1853
1938
|
address?: string | undefined;
|
|
1854
|
-
editedBy?: string | undefined;
|
|
1855
|
-
createdAt?: string | undefined;
|
|
1856
|
-
updatedAt?: string | undefined;
|
|
1857
1939
|
username?: string | undefined;
|
|
1858
1940
|
password?: string | undefined;
|
|
1859
1941
|
roles?: number[] | undefined;
|
|
@@ -1864,6 +1946,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1864
1946
|
title?: string | undefined;
|
|
1865
1947
|
bio?: string | undefined;
|
|
1866
1948
|
available?: number[][][] | undefined;
|
|
1949
|
+
editedBy?: string | undefined;
|
|
1950
|
+
createdAt?: string | undefined;
|
|
1951
|
+
updatedAt?: string | undefined;
|
|
1867
1952
|
};
|
|
1868
1953
|
notes?: string | undefined;
|
|
1869
1954
|
textbook?: number | undefined;
|
|
@@ -1878,9 +1963,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1878
1963
|
name: string;
|
|
1879
1964
|
email?: string | undefined;
|
|
1880
1965
|
address?: string | undefined;
|
|
1881
|
-
editedBy?: string | undefined;
|
|
1882
|
-
createdAt?: string | undefined;
|
|
1883
|
-
updatedAt?: string | undefined;
|
|
1884
1966
|
username?: string | undefined;
|
|
1885
1967
|
password?: string | undefined;
|
|
1886
1968
|
roles?: number[] | undefined;
|
|
@@ -1891,6 +1973,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1891
1973
|
title?: string | undefined;
|
|
1892
1974
|
bio?: string | undefined;
|
|
1893
1975
|
available?: number[][][] | undefined;
|
|
1976
|
+
editedBy?: string | undefined;
|
|
1977
|
+
createdAt?: string | undefined;
|
|
1978
|
+
updatedAt?: string | undefined;
|
|
1894
1979
|
} | undefined;
|
|
1895
1980
|
}, {
|
|
1896
1981
|
_id: string;
|
|
@@ -1902,9 +1987,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1902
1987
|
name: string;
|
|
1903
1988
|
email?: string | undefined;
|
|
1904
1989
|
address?: string | undefined;
|
|
1905
|
-
editedBy?: string | undefined;
|
|
1906
|
-
createdAt?: string | undefined;
|
|
1907
|
-
updatedAt?: string | undefined;
|
|
1908
1990
|
username?: string | undefined;
|
|
1909
1991
|
password?: string | undefined;
|
|
1910
1992
|
roles?: number[] | undefined;
|
|
@@ -1912,6 +1994,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1912
1994
|
phoneNumber?: string | undefined;
|
|
1913
1995
|
birthDate?: string | undefined;
|
|
1914
1996
|
guardian?: string | undefined;
|
|
1997
|
+
editedBy?: string | undefined;
|
|
1998
|
+
createdAt?: string | undefined;
|
|
1999
|
+
updatedAt?: string | undefined;
|
|
1915
2000
|
};
|
|
1916
2001
|
items: {
|
|
1917
2002
|
course: string;
|
|
@@ -1929,9 +2014,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1929
2014
|
name: string;
|
|
1930
2015
|
email?: string | undefined;
|
|
1931
2016
|
address?: string | undefined;
|
|
1932
|
-
editedBy?: string | undefined;
|
|
1933
|
-
createdAt?: string | undefined;
|
|
1934
|
-
updatedAt?: string | undefined;
|
|
1935
2017
|
username?: string | undefined;
|
|
1936
2018
|
password?: string | undefined;
|
|
1937
2019
|
roles?: number[] | undefined;
|
|
@@ -1942,6 +2024,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1942
2024
|
title?: string | undefined;
|
|
1943
2025
|
bio?: string | undefined;
|
|
1944
2026
|
available?: number[][][] | undefined;
|
|
2027
|
+
editedBy?: string | undefined;
|
|
2028
|
+
createdAt?: string | undefined;
|
|
2029
|
+
updatedAt?: string | undefined;
|
|
1945
2030
|
};
|
|
1946
2031
|
notes?: string | undefined;
|
|
1947
2032
|
textbook?: number | undefined;
|
|
@@ -1956,9 +2041,6 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1956
2041
|
name: string;
|
|
1957
2042
|
email?: string | undefined;
|
|
1958
2043
|
address?: string | undefined;
|
|
1959
|
-
editedBy?: string | undefined;
|
|
1960
|
-
createdAt?: string | undefined;
|
|
1961
|
-
updatedAt?: string | undefined;
|
|
1962
2044
|
username?: string | undefined;
|
|
1963
2045
|
password?: string | undefined;
|
|
1964
2046
|
roles?: number[] | undefined;
|
|
@@ -1969,6 +2051,9 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1969
2051
|
title?: string | undefined;
|
|
1970
2052
|
bio?: string | undefined;
|
|
1971
2053
|
available?: number[][][] | undefined;
|
|
2054
|
+
editedBy?: string | undefined;
|
|
2055
|
+
createdAt?: string | undefined;
|
|
2056
|
+
updatedAt?: string | undefined;
|
|
1972
2057
|
} | undefined;
|
|
1973
2058
|
}>;
|
|
1974
2059
|
type Discount = z.infer<typeof zDiscount>;
|
|
@@ -2111,12 +2196,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2111
2196
|
wage: number;
|
|
2112
2197
|
}>, "many">;
|
|
2113
2198
|
teacher: z.ZodObject<{
|
|
2199
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2114
2200
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2115
2201
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2116
|
-
_id: z.ZodString;
|
|
2117
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
2118
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
2119
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2120
2202
|
name: z.ZodString;
|
|
2121
2203
|
username: z.ZodOptional<z.ZodString>;
|
|
2122
2204
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -2124,20 +2206,20 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2124
2206
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2125
2207
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2126
2208
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2127
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2128
2209
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2129
2210
|
title: z.ZodOptional<z.ZodString>;
|
|
2130
2211
|
bio: z.ZodOptional<z.ZodString>;
|
|
2131
2212
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2213
|
+
_id: z.ZodString;
|
|
2214
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2215
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2216
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2132
2217
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2133
2218
|
rank: GoRank;
|
|
2134
2219
|
_id: string;
|
|
2135
2220
|
name: string;
|
|
2136
2221
|
email?: string | undefined;
|
|
2137
2222
|
address?: string | undefined;
|
|
2138
|
-
editedBy?: string | undefined;
|
|
2139
|
-
createdAt?: string | undefined;
|
|
2140
|
-
updatedAt?: string | undefined;
|
|
2141
2223
|
username?: string | undefined;
|
|
2142
2224
|
password?: string | undefined;
|
|
2143
2225
|
roles?: number[] | undefined;
|
|
@@ -2148,15 +2230,15 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2148
2230
|
title?: string | undefined;
|
|
2149
2231
|
bio?: string | undefined;
|
|
2150
2232
|
available?: number[][][] | undefined;
|
|
2233
|
+
editedBy?: string | undefined;
|
|
2234
|
+
createdAt?: string | undefined;
|
|
2235
|
+
updatedAt?: string | undefined;
|
|
2151
2236
|
}, {
|
|
2152
2237
|
rank: GoRank;
|
|
2153
2238
|
_id: string;
|
|
2154
2239
|
name: string;
|
|
2155
2240
|
email?: string | undefined;
|
|
2156
2241
|
address?: string | undefined;
|
|
2157
|
-
editedBy?: string | undefined;
|
|
2158
|
-
createdAt?: string | undefined;
|
|
2159
|
-
updatedAt?: string | undefined;
|
|
2160
2242
|
username?: string | undefined;
|
|
2161
2243
|
password?: string | undefined;
|
|
2162
2244
|
roles?: number[] | undefined;
|
|
@@ -2167,6 +2249,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2167
2249
|
title?: string | undefined;
|
|
2168
2250
|
bio?: string | undefined;
|
|
2169
2251
|
available?: number[][][] | undefined;
|
|
2252
|
+
editedBy?: string | undefined;
|
|
2253
|
+
createdAt?: string | undefined;
|
|
2254
|
+
updatedAt?: string | undefined;
|
|
2170
2255
|
}>;
|
|
2171
2256
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2172
2257
|
_id: string;
|
|
@@ -2176,9 +2261,6 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2176
2261
|
name: string;
|
|
2177
2262
|
email?: string | undefined;
|
|
2178
2263
|
address?: string | undefined;
|
|
2179
|
-
editedBy?: string | undefined;
|
|
2180
|
-
createdAt?: string | undefined;
|
|
2181
|
-
updatedAt?: string | undefined;
|
|
2182
2264
|
username?: string | undefined;
|
|
2183
2265
|
password?: string | undefined;
|
|
2184
2266
|
roles?: number[] | undefined;
|
|
@@ -2189,6 +2271,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2189
2271
|
title?: string | undefined;
|
|
2190
2272
|
bio?: string | undefined;
|
|
2191
2273
|
available?: number[][][] | undefined;
|
|
2274
|
+
editedBy?: string | undefined;
|
|
2275
|
+
createdAt?: string | undefined;
|
|
2276
|
+
updatedAt?: string | undefined;
|
|
2192
2277
|
};
|
|
2193
2278
|
rows: {
|
|
2194
2279
|
length: number;
|
|
@@ -2208,9 +2293,6 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2208
2293
|
name: string;
|
|
2209
2294
|
email?: string | undefined;
|
|
2210
2295
|
address?: string | undefined;
|
|
2211
|
-
editedBy?: string | undefined;
|
|
2212
|
-
createdAt?: string | undefined;
|
|
2213
|
-
updatedAt?: string | undefined;
|
|
2214
2296
|
username?: string | undefined;
|
|
2215
2297
|
password?: string | undefined;
|
|
2216
2298
|
roles?: number[] | undefined;
|
|
@@ -2221,6 +2303,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2221
2303
|
title?: string | undefined;
|
|
2222
2304
|
bio?: string | undefined;
|
|
2223
2305
|
available?: number[][][] | undefined;
|
|
2306
|
+
editedBy?: string | undefined;
|
|
2307
|
+
createdAt?: string | undefined;
|
|
2308
|
+
updatedAt?: string | undefined;
|
|
2224
2309
|
};
|
|
2225
2310
|
rows: {
|
|
2226
2311
|
length: number;
|
|
@@ -2396,66 +2481,90 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
2396
2481
|
title: z.ZodString;
|
|
2397
2482
|
description: z.ZodString;
|
|
2398
2483
|
requester: z.ZodObject<{
|
|
2484
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2485
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2399
2486
|
name: z.ZodString;
|
|
2400
2487
|
username: z.ZodOptional<z.ZodString>;
|
|
2401
2488
|
password: z.ZodOptional<z.ZodString>;
|
|
2402
2489
|
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2403
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2404
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2405
2490
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2406
2491
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2407
2492
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2408
|
-
|
|
2493
|
+
_id: z.ZodString;
|
|
2494
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2496
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2497
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2498
|
+
_id: string;
|
|
2409
2499
|
name: string;
|
|
2500
|
+
email?: string | undefined;
|
|
2501
|
+
address?: string | undefined;
|
|
2410
2502
|
username?: string | undefined;
|
|
2411
2503
|
password?: string | undefined;
|
|
2412
2504
|
roles?: number[] | undefined;
|
|
2413
|
-
email?: string | undefined;
|
|
2414
|
-
address?: string | undefined;
|
|
2415
2505
|
country?: string | undefined;
|
|
2416
2506
|
phoneNumber?: string | undefined;
|
|
2417
2507
|
birthDate?: string | undefined;
|
|
2508
|
+
editedBy?: string | undefined;
|
|
2509
|
+
createdAt?: string | undefined;
|
|
2510
|
+
updatedAt?: string | undefined;
|
|
2418
2511
|
}, {
|
|
2512
|
+
_id: string;
|
|
2419
2513
|
name: string;
|
|
2514
|
+
email?: string | undefined;
|
|
2515
|
+
address?: string | undefined;
|
|
2420
2516
|
username?: string | undefined;
|
|
2421
2517
|
password?: string | undefined;
|
|
2422
2518
|
roles?: number[] | undefined;
|
|
2423
|
-
email?: string | undefined;
|
|
2424
|
-
address?: string | undefined;
|
|
2425
2519
|
country?: string | undefined;
|
|
2426
2520
|
phoneNumber?: string | undefined;
|
|
2427
2521
|
birthDate?: string | undefined;
|
|
2522
|
+
editedBy?: string | undefined;
|
|
2523
|
+
createdAt?: string | undefined;
|
|
2524
|
+
updatedAt?: string | undefined;
|
|
2428
2525
|
}>;
|
|
2429
2526
|
resolver: z.ZodOptional<z.ZodObject<{
|
|
2527
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2528
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2430
2529
|
name: z.ZodString;
|
|
2431
2530
|
username: z.ZodOptional<z.ZodString>;
|
|
2432
2531
|
password: z.ZodOptional<z.ZodString>;
|
|
2433
2532
|
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2434
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2435
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2436
2533
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2437
2534
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2438
2535
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2439
|
-
|
|
2536
|
+
_id: z.ZodString;
|
|
2537
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
2538
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2539
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2540
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2541
|
+
_id: string;
|
|
2440
2542
|
name: string;
|
|
2543
|
+
email?: string | undefined;
|
|
2544
|
+
address?: string | undefined;
|
|
2441
2545
|
username?: string | undefined;
|
|
2442
2546
|
password?: string | undefined;
|
|
2443
2547
|
roles?: number[] | undefined;
|
|
2444
|
-
email?: string | undefined;
|
|
2445
|
-
address?: string | undefined;
|
|
2446
2548
|
country?: string | undefined;
|
|
2447
2549
|
phoneNumber?: string | undefined;
|
|
2448
2550
|
birthDate?: string | undefined;
|
|
2551
|
+
editedBy?: string | undefined;
|
|
2552
|
+
createdAt?: string | undefined;
|
|
2553
|
+
updatedAt?: string | undefined;
|
|
2449
2554
|
}, {
|
|
2555
|
+
_id: string;
|
|
2450
2556
|
name: string;
|
|
2557
|
+
email?: string | undefined;
|
|
2558
|
+
address?: string | undefined;
|
|
2451
2559
|
username?: string | undefined;
|
|
2452
2560
|
password?: string | undefined;
|
|
2453
2561
|
roles?: number[] | undefined;
|
|
2454
|
-
email?: string | undefined;
|
|
2455
|
-
address?: string | undefined;
|
|
2456
2562
|
country?: string | undefined;
|
|
2457
2563
|
phoneNumber?: string | undefined;
|
|
2458
2564
|
birthDate?: string | undefined;
|
|
2565
|
+
editedBy?: string | undefined;
|
|
2566
|
+
createdAt?: string | undefined;
|
|
2567
|
+
updatedAt?: string | undefined;
|
|
2459
2568
|
}>>;
|
|
2460
2569
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2461
2570
|
status: TicketStatus;
|
|
@@ -2463,29 +2572,37 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
2463
2572
|
title: string;
|
|
2464
2573
|
description: string;
|
|
2465
2574
|
requester: {
|
|
2575
|
+
_id: string;
|
|
2466
2576
|
name: string;
|
|
2577
|
+
email?: string | undefined;
|
|
2578
|
+
address?: string | undefined;
|
|
2467
2579
|
username?: string | undefined;
|
|
2468
2580
|
password?: string | undefined;
|
|
2469
2581
|
roles?: number[] | undefined;
|
|
2470
|
-
email?: string | undefined;
|
|
2471
|
-
address?: string | undefined;
|
|
2472
2582
|
country?: string | undefined;
|
|
2473
2583
|
phoneNumber?: string | undefined;
|
|
2474
2584
|
birthDate?: string | undefined;
|
|
2585
|
+
editedBy?: string | undefined;
|
|
2586
|
+
createdAt?: string | undefined;
|
|
2587
|
+
updatedAt?: string | undefined;
|
|
2475
2588
|
};
|
|
2476
2589
|
editedBy?: string | undefined;
|
|
2477
2590
|
createdAt?: string | undefined;
|
|
2478
2591
|
updatedAt?: string | undefined;
|
|
2479
2592
|
resolver?: {
|
|
2593
|
+
_id: string;
|
|
2480
2594
|
name: string;
|
|
2595
|
+
email?: string | undefined;
|
|
2596
|
+
address?: string | undefined;
|
|
2481
2597
|
username?: string | undefined;
|
|
2482
2598
|
password?: string | undefined;
|
|
2483
2599
|
roles?: number[] | undefined;
|
|
2484
|
-
email?: string | undefined;
|
|
2485
|
-
address?: string | undefined;
|
|
2486
2600
|
country?: string | undefined;
|
|
2487
2601
|
phoneNumber?: string | undefined;
|
|
2488
2602
|
birthDate?: string | undefined;
|
|
2603
|
+
editedBy?: string | undefined;
|
|
2604
|
+
createdAt?: string | undefined;
|
|
2605
|
+
updatedAt?: string | undefined;
|
|
2489
2606
|
} | undefined;
|
|
2490
2607
|
}, {
|
|
2491
2608
|
status: TicketStatus;
|
|
@@ -2493,29 +2610,37 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
2493
2610
|
title: string;
|
|
2494
2611
|
description: string;
|
|
2495
2612
|
requester: {
|
|
2613
|
+
_id: string;
|
|
2496
2614
|
name: string;
|
|
2615
|
+
email?: string | undefined;
|
|
2616
|
+
address?: string | undefined;
|
|
2497
2617
|
username?: string | undefined;
|
|
2498
2618
|
password?: string | undefined;
|
|
2499
2619
|
roles?: number[] | undefined;
|
|
2500
|
-
email?: string | undefined;
|
|
2501
|
-
address?: string | undefined;
|
|
2502
2620
|
country?: string | undefined;
|
|
2503
2621
|
phoneNumber?: string | undefined;
|
|
2504
2622
|
birthDate?: string | undefined;
|
|
2623
|
+
editedBy?: string | undefined;
|
|
2624
|
+
createdAt?: string | undefined;
|
|
2625
|
+
updatedAt?: string | undefined;
|
|
2505
2626
|
};
|
|
2506
2627
|
editedBy?: string | undefined;
|
|
2507
2628
|
createdAt?: string | undefined;
|
|
2508
2629
|
updatedAt?: string | undefined;
|
|
2509
2630
|
resolver?: {
|
|
2631
|
+
_id: string;
|
|
2510
2632
|
name: string;
|
|
2633
|
+
email?: string | undefined;
|
|
2634
|
+
address?: string | undefined;
|
|
2511
2635
|
username?: string | undefined;
|
|
2512
2636
|
password?: string | undefined;
|
|
2513
2637
|
roles?: number[] | undefined;
|
|
2514
|
-
email?: string | undefined;
|
|
2515
|
-
address?: string | undefined;
|
|
2516
2638
|
country?: string | undefined;
|
|
2517
2639
|
phoneNumber?: string | undefined;
|
|
2518
2640
|
birthDate?: string | undefined;
|
|
2641
|
+
editedBy?: string | undefined;
|
|
2642
|
+
createdAt?: string | undefined;
|
|
2643
|
+
updatedAt?: string | undefined;
|
|
2519
2644
|
} | undefined;
|
|
2520
2645
|
}>;
|
|
2521
2646
|
type BReportTicket = z.infer<typeof zBReportTicket>;
|
|
@@ -3467,4 +3592,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
3467
3592
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
3468
3593
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
3469
3594
|
|
|
3470
|
-
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
|
3595
|
+
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|