@nyig/models 0.4.12 → 0.4.13

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 CHANGED
@@ -5234,6 +5234,10 @@ declare const zBTeacherPayment: z.ZodObject<{
5234
5234
  wage: number;
5235
5235
  }>, "many">;
5236
5236
  paid: z.ZodOptional<z.ZodBoolean>;
5237
+ /**
5238
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
5239
+ */
5240
+ paymentNotes: z.ZodOptional<z.ZodString>;
5237
5241
  }, "strip", z.ZodTypeAny, {
5238
5242
  teacher: string;
5239
5243
  rows: {
@@ -5243,6 +5247,7 @@ declare const zBTeacherPayment: z.ZodObject<{
5243
5247
  wage: number;
5244
5248
  }[];
5245
5249
  paid?: boolean | undefined;
5250
+ paymentNotes?: string | undefined;
5246
5251
  }, {
5247
5252
  teacher: string;
5248
5253
  rows: {
@@ -5252,6 +5257,7 @@ declare const zBTeacherPayment: z.ZodObject<{
5252
5257
  wage: number;
5253
5258
  }[];
5254
5259
  paid?: boolean | undefined;
5260
+ paymentNotes?: string | undefined;
5255
5261
  }>;
5256
5262
  declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5257
5263
  teacher: z.ZodString;
@@ -5272,6 +5278,10 @@ declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5272
5278
  wage: number;
5273
5279
  }>, "many">;
5274
5280
  paid: z.ZodOptional<z.ZodBoolean>;
5281
+ /**
5282
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
5283
+ */
5284
+ paymentNotes: z.ZodOptional<z.ZodString>;
5275
5285
  }, {
5276
5286
  _id: z.ZodString;
5277
5287
  editedBy: z.ZodOptional<z.ZodString>;
@@ -5290,6 +5300,7 @@ declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5290
5300
  createdAt?: string | undefined;
5291
5301
  updatedAt?: string | undefined;
5292
5302
  paid?: boolean | undefined;
5303
+ paymentNotes?: string | undefined;
5293
5304
  }, {
5294
5305
  _id: string;
5295
5306
  teacher: string;
@@ -5303,6 +5314,7 @@ declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5303
5314
  createdAt?: string | undefined;
5304
5315
  updatedAt?: string | undefined;
5305
5316
  paid?: boolean | undefined;
5317
+ paymentNotes?: string | undefined;
5306
5318
  }>;
5307
5319
  declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5308
5320
  teacher: z.ZodString;
@@ -5323,129 +5335,45 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
5323
5335
  wage: number;
5324
5336
  }>, "many">;
5325
5337
  paid: z.ZodOptional<z.ZodBoolean>;
5338
+ /**
5339
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
5340
+ */
5341
+ paymentNotes: z.ZodOptional<z.ZodString>;
5326
5342
  }, {
5327
5343
  _id: z.ZodString;
5328
5344
  editedBy: z.ZodOptional<z.ZodString>;
5329
5345
  createdAt: z.ZodOptional<z.ZodString>;
5330
5346
  updatedAt: z.ZodOptional<z.ZodString>;
5331
5347
  }>, {
5332
- teacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5348
+ teacher: z.ZodObject<{
5333
5349
  name: z.ZodString;
5334
- username: z.ZodOptional<z.ZodString>;
5335
- password: z.ZodOptional<z.ZodString>;
5336
- roles: z.ZodOptional<z.ZodObject<{
5337
- user: z.ZodNumber;
5338
- admin: z.ZodOptional<z.ZodNumber>;
5339
- superadmin: z.ZodOptional<z.ZodNumber>;
5340
- }, "strip", z.ZodTypeAny, {
5341
- user: number;
5342
- admin?: number | undefined;
5343
- superadmin?: number | undefined;
5344
- }, {
5345
- user: number;
5346
- admin?: number | undefined;
5347
- superadmin?: number | undefined;
5348
- }>>;
5349
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5350
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5351
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5352
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5353
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5354
- shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
5350
+ rank: z.ZodOptional<z.ZodString>;
5351
+ }, "strip", z.ZodTypeAny, {
5352
+ name: string;
5353
+ rank?: string | undefined;
5355
5354
  }, {
5356
- rank: z.ZodNativeEnum<typeof GoRank>;
5357
- isInactive: z.ZodOptional<z.ZodBoolean>;
5358
- doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
5359
- title: z.ZodOptional<z.ZodString>;
5360
- bio: z.ZodOptional<z.ZodString>;
5361
- imageUrl: z.ZodOptional<z.ZodString>;
5362
- available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
5363
- }>, {
5364
- _id: z.ZodString;
5365
- editedBy: z.ZodOptional<z.ZodString>;
5366
- createdAt: z.ZodOptional<z.ZodString>;
5367
- updatedAt: z.ZodOptional<z.ZodString>;
5368
- }>, z.UnknownKeysParam, z.ZodTypeAny, {
5369
- rank: GoRank;
5370
- _id: string;
5371
5355
  name: string;
5372
- email?: string | undefined;
5373
- address?: string | undefined;
5374
- editedBy?: string | undefined;
5375
- createdAt?: string | undefined;
5376
- updatedAt?: string | undefined;
5377
- username?: string | undefined;
5378
- password?: string | undefined;
5379
- roles?: {
5380
- user: number;
5381
- admin?: number | undefined;
5382
- superadmin?: number | undefined;
5383
- } | undefined;
5384
- country?: string | undefined;
5385
- phoneNumber?: string | undefined;
5386
- birthDate?: string | undefined;
5387
- shouldChangePassword?: boolean | undefined;
5388
- isInactive?: boolean | undefined;
5389
- doesNotTeachPrivateLessons?: boolean | undefined;
5390
- title?: string | undefined;
5391
- bio?: string | undefined;
5392
- imageUrl?: string | undefined;
5393
- available?: number[][][] | undefined;
5356
+ rank?: string | undefined;
5357
+ }>;
5358
+ editedBy: z.ZodObject<{
5359
+ name: z.ZodString;
5360
+ rank: z.ZodOptional<z.ZodString>;
5361
+ }, "strip", z.ZodTypeAny, {
5362
+ name: string;
5363
+ rank?: string | undefined;
5394
5364
  }, {
5395
- rank: GoRank;
5396
- _id: string;
5397
5365
  name: string;
5398
- email?: string | undefined;
5399
- address?: string | undefined;
5400
- editedBy?: string | undefined;
5401
- createdAt?: string | undefined;
5402
- updatedAt?: string | undefined;
5403
- username?: string | undefined;
5404
- password?: string | undefined;
5405
- roles?: {
5406
- user: number;
5407
- admin?: number | undefined;
5408
- superadmin?: number | undefined;
5409
- } | undefined;
5410
- country?: string | undefined;
5411
- phoneNumber?: string | undefined;
5412
- birthDate?: string | undefined;
5413
- shouldChangePassword?: boolean | undefined;
5414
- isInactive?: boolean | undefined;
5415
- doesNotTeachPrivateLessons?: boolean | undefined;
5416
- title?: string | undefined;
5417
- bio?: string | undefined;
5418
- imageUrl?: string | undefined;
5419
- available?: number[][][] | undefined;
5366
+ rank?: string | undefined;
5420
5367
  }>;
5421
5368
  }>, z.UnknownKeysParam, z.ZodTypeAny, {
5422
5369
  _id: string;
5370
+ editedBy: {
5371
+ name: string;
5372
+ rank?: string | undefined;
5373
+ };
5423
5374
  teacher: {
5424
- rank: GoRank;
5425
- _id: string;
5426
5375
  name: string;
5427
- email?: string | undefined;
5428
- address?: string | undefined;
5429
- editedBy?: string | undefined;
5430
- createdAt?: string | undefined;
5431
- updatedAt?: string | undefined;
5432
- username?: string | undefined;
5433
- password?: string | undefined;
5434
- roles?: {
5435
- user: number;
5436
- admin?: number | undefined;
5437
- superadmin?: number | undefined;
5438
- } | undefined;
5439
- country?: string | undefined;
5440
- phoneNumber?: string | undefined;
5441
- birthDate?: string | undefined;
5442
- shouldChangePassword?: boolean | undefined;
5443
- isInactive?: boolean | undefined;
5444
- doesNotTeachPrivateLessons?: boolean | undefined;
5445
- title?: string | undefined;
5446
- bio?: string | undefined;
5447
- imageUrl?: string | undefined;
5448
- available?: number[][][] | undefined;
5376
+ rank?: string | undefined;
5449
5377
  };
5450
5378
  rows: {
5451
5379
  length: number;
@@ -5453,38 +5381,19 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
5453
5381
  count: number;
5454
5382
  wage: number;
5455
5383
  }[];
5456
- editedBy?: string | undefined;
5457
5384
  createdAt?: string | undefined;
5458
5385
  updatedAt?: string | undefined;
5459
5386
  paid?: boolean | undefined;
5387
+ paymentNotes?: string | undefined;
5460
5388
  }, {
5461
5389
  _id: string;
5390
+ editedBy: {
5391
+ name: string;
5392
+ rank?: string | undefined;
5393
+ };
5462
5394
  teacher: {
5463
- rank: GoRank;
5464
- _id: string;
5465
5395
  name: string;
5466
- email?: string | undefined;
5467
- address?: string | undefined;
5468
- editedBy?: string | undefined;
5469
- createdAt?: string | undefined;
5470
- updatedAt?: string | undefined;
5471
- username?: string | undefined;
5472
- password?: string | undefined;
5473
- roles?: {
5474
- user: number;
5475
- admin?: number | undefined;
5476
- superadmin?: number | undefined;
5477
- } | undefined;
5478
- country?: string | undefined;
5479
- phoneNumber?: string | undefined;
5480
- birthDate?: string | undefined;
5481
- shouldChangePassword?: boolean | undefined;
5482
- isInactive?: boolean | undefined;
5483
- doesNotTeachPrivateLessons?: boolean | undefined;
5484
- title?: string | undefined;
5485
- bio?: string | undefined;
5486
- imageUrl?: string | undefined;
5487
- available?: number[][][] | undefined;
5396
+ rank?: string | undefined;
5488
5397
  };
5489
5398
  rows: {
5490
5399
  length: number;
@@ -5492,10 +5401,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
5492
5401
  count: number;
5493
5402
  wage: number;
5494
5403
  }[];
5495
- editedBy?: string | undefined;
5496
5404
  createdAt?: string | undefined;
5497
5405
  updatedAt?: string | undefined;
5498
5406
  paid?: boolean | undefined;
5407
+ paymentNotes?: string | undefined;
5499
5408
  }>;
5500
5409
  type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
5501
5410
  type BTeacherPayment = z.infer<typeof zBTeacherPayment>;
package/index.d.ts CHANGED
@@ -5234,6 +5234,10 @@ declare const zBTeacherPayment: z.ZodObject<{
5234
5234
  wage: number;
5235
5235
  }>, "many">;
5236
5236
  paid: z.ZodOptional<z.ZodBoolean>;
5237
+ /**
5238
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
5239
+ */
5240
+ paymentNotes: z.ZodOptional<z.ZodString>;
5237
5241
  }, "strip", z.ZodTypeAny, {
5238
5242
  teacher: string;
5239
5243
  rows: {
@@ -5243,6 +5247,7 @@ declare const zBTeacherPayment: z.ZodObject<{
5243
5247
  wage: number;
5244
5248
  }[];
5245
5249
  paid?: boolean | undefined;
5250
+ paymentNotes?: string | undefined;
5246
5251
  }, {
5247
5252
  teacher: string;
5248
5253
  rows: {
@@ -5252,6 +5257,7 @@ declare const zBTeacherPayment: z.ZodObject<{
5252
5257
  wage: number;
5253
5258
  }[];
5254
5259
  paid?: boolean | undefined;
5260
+ paymentNotes?: string | undefined;
5255
5261
  }>;
5256
5262
  declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5257
5263
  teacher: z.ZodString;
@@ -5272,6 +5278,10 @@ declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5272
5278
  wage: number;
5273
5279
  }>, "many">;
5274
5280
  paid: z.ZodOptional<z.ZodBoolean>;
5281
+ /**
5282
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
5283
+ */
5284
+ paymentNotes: z.ZodOptional<z.ZodString>;
5275
5285
  }, {
5276
5286
  _id: z.ZodString;
5277
5287
  editedBy: z.ZodOptional<z.ZodString>;
@@ -5290,6 +5300,7 @@ declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5290
5300
  createdAt?: string | undefined;
5291
5301
  updatedAt?: string | undefined;
5292
5302
  paid?: boolean | undefined;
5303
+ paymentNotes?: string | undefined;
5293
5304
  }, {
5294
5305
  _id: string;
5295
5306
  teacher: string;
@@ -5303,6 +5314,7 @@ declare const zTeacherPayment: z.ZodObject<z.objectUtil.extendShape<{
5303
5314
  createdAt?: string | undefined;
5304
5315
  updatedAt?: string | undefined;
5305
5316
  paid?: boolean | undefined;
5317
+ paymentNotes?: string | undefined;
5306
5318
  }>;
5307
5319
  declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5308
5320
  teacher: z.ZodString;
@@ -5323,129 +5335,45 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
5323
5335
  wage: number;
5324
5336
  }>, "many">;
5325
5337
  paid: z.ZodOptional<z.ZodBoolean>;
5338
+ /**
5339
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
5340
+ */
5341
+ paymentNotes: z.ZodOptional<z.ZodString>;
5326
5342
  }, {
5327
5343
  _id: z.ZodString;
5328
5344
  editedBy: z.ZodOptional<z.ZodString>;
5329
5345
  createdAt: z.ZodOptional<z.ZodString>;
5330
5346
  updatedAt: z.ZodOptional<z.ZodString>;
5331
5347
  }>, {
5332
- teacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5348
+ teacher: z.ZodObject<{
5333
5349
  name: z.ZodString;
5334
- username: z.ZodOptional<z.ZodString>;
5335
- password: z.ZodOptional<z.ZodString>;
5336
- roles: z.ZodOptional<z.ZodObject<{
5337
- user: z.ZodNumber;
5338
- admin: z.ZodOptional<z.ZodNumber>;
5339
- superadmin: z.ZodOptional<z.ZodNumber>;
5340
- }, "strip", z.ZodTypeAny, {
5341
- user: number;
5342
- admin?: number | undefined;
5343
- superadmin?: number | undefined;
5344
- }, {
5345
- user: number;
5346
- admin?: number | undefined;
5347
- superadmin?: number | undefined;
5348
- }>>;
5349
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5350
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5351
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5352
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5353
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5354
- shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
5350
+ rank: z.ZodOptional<z.ZodString>;
5351
+ }, "strip", z.ZodTypeAny, {
5352
+ name: string;
5353
+ rank?: string | undefined;
5355
5354
  }, {
5356
- rank: z.ZodNativeEnum<typeof GoRank>;
5357
- isInactive: z.ZodOptional<z.ZodBoolean>;
5358
- doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
5359
- title: z.ZodOptional<z.ZodString>;
5360
- bio: z.ZodOptional<z.ZodString>;
5361
- imageUrl: z.ZodOptional<z.ZodString>;
5362
- available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
5363
- }>, {
5364
- _id: z.ZodString;
5365
- editedBy: z.ZodOptional<z.ZodString>;
5366
- createdAt: z.ZodOptional<z.ZodString>;
5367
- updatedAt: z.ZodOptional<z.ZodString>;
5368
- }>, z.UnknownKeysParam, z.ZodTypeAny, {
5369
- rank: GoRank;
5370
- _id: string;
5371
5355
  name: string;
5372
- email?: string | undefined;
5373
- address?: string | undefined;
5374
- editedBy?: string | undefined;
5375
- createdAt?: string | undefined;
5376
- updatedAt?: string | undefined;
5377
- username?: string | undefined;
5378
- password?: string | undefined;
5379
- roles?: {
5380
- user: number;
5381
- admin?: number | undefined;
5382
- superadmin?: number | undefined;
5383
- } | undefined;
5384
- country?: string | undefined;
5385
- phoneNumber?: string | undefined;
5386
- birthDate?: string | undefined;
5387
- shouldChangePassword?: boolean | undefined;
5388
- isInactive?: boolean | undefined;
5389
- doesNotTeachPrivateLessons?: boolean | undefined;
5390
- title?: string | undefined;
5391
- bio?: string | undefined;
5392
- imageUrl?: string | undefined;
5393
- available?: number[][][] | undefined;
5356
+ rank?: string | undefined;
5357
+ }>;
5358
+ editedBy: z.ZodObject<{
5359
+ name: z.ZodString;
5360
+ rank: z.ZodOptional<z.ZodString>;
5361
+ }, "strip", z.ZodTypeAny, {
5362
+ name: string;
5363
+ rank?: string | undefined;
5394
5364
  }, {
5395
- rank: GoRank;
5396
- _id: string;
5397
5365
  name: string;
5398
- email?: string | undefined;
5399
- address?: string | undefined;
5400
- editedBy?: string | undefined;
5401
- createdAt?: string | undefined;
5402
- updatedAt?: string | undefined;
5403
- username?: string | undefined;
5404
- password?: string | undefined;
5405
- roles?: {
5406
- user: number;
5407
- admin?: number | undefined;
5408
- superadmin?: number | undefined;
5409
- } | undefined;
5410
- country?: string | undefined;
5411
- phoneNumber?: string | undefined;
5412
- birthDate?: string | undefined;
5413
- shouldChangePassword?: boolean | undefined;
5414
- isInactive?: boolean | undefined;
5415
- doesNotTeachPrivateLessons?: boolean | undefined;
5416
- title?: string | undefined;
5417
- bio?: string | undefined;
5418
- imageUrl?: string | undefined;
5419
- available?: number[][][] | undefined;
5366
+ rank?: string | undefined;
5420
5367
  }>;
5421
5368
  }>, z.UnknownKeysParam, z.ZodTypeAny, {
5422
5369
  _id: string;
5370
+ editedBy: {
5371
+ name: string;
5372
+ rank?: string | undefined;
5373
+ };
5423
5374
  teacher: {
5424
- rank: GoRank;
5425
- _id: string;
5426
5375
  name: string;
5427
- email?: string | undefined;
5428
- address?: string | undefined;
5429
- editedBy?: string | undefined;
5430
- createdAt?: string | undefined;
5431
- updatedAt?: string | undefined;
5432
- username?: string | undefined;
5433
- password?: string | undefined;
5434
- roles?: {
5435
- user: number;
5436
- admin?: number | undefined;
5437
- superadmin?: number | undefined;
5438
- } | undefined;
5439
- country?: string | undefined;
5440
- phoneNumber?: string | undefined;
5441
- birthDate?: string | undefined;
5442
- shouldChangePassword?: boolean | undefined;
5443
- isInactive?: boolean | undefined;
5444
- doesNotTeachPrivateLessons?: boolean | undefined;
5445
- title?: string | undefined;
5446
- bio?: string | undefined;
5447
- imageUrl?: string | undefined;
5448
- available?: number[][][] | undefined;
5376
+ rank?: string | undefined;
5449
5377
  };
5450
5378
  rows: {
5451
5379
  length: number;
@@ -5453,38 +5381,19 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
5453
5381
  count: number;
5454
5382
  wage: number;
5455
5383
  }[];
5456
- editedBy?: string | undefined;
5457
5384
  createdAt?: string | undefined;
5458
5385
  updatedAt?: string | undefined;
5459
5386
  paid?: boolean | undefined;
5387
+ paymentNotes?: string | undefined;
5460
5388
  }, {
5461
5389
  _id: string;
5390
+ editedBy: {
5391
+ name: string;
5392
+ rank?: string | undefined;
5393
+ };
5462
5394
  teacher: {
5463
- rank: GoRank;
5464
- _id: string;
5465
5395
  name: string;
5466
- email?: string | undefined;
5467
- address?: string | undefined;
5468
- editedBy?: string | undefined;
5469
- createdAt?: string | undefined;
5470
- updatedAt?: string | undefined;
5471
- username?: string | undefined;
5472
- password?: string | undefined;
5473
- roles?: {
5474
- user: number;
5475
- admin?: number | undefined;
5476
- superadmin?: number | undefined;
5477
- } | undefined;
5478
- country?: string | undefined;
5479
- phoneNumber?: string | undefined;
5480
- birthDate?: string | undefined;
5481
- shouldChangePassword?: boolean | undefined;
5482
- isInactive?: boolean | undefined;
5483
- doesNotTeachPrivateLessons?: boolean | undefined;
5484
- title?: string | undefined;
5485
- bio?: string | undefined;
5486
- imageUrl?: string | undefined;
5487
- available?: number[][][] | undefined;
5396
+ rank?: string | undefined;
5488
5397
  };
5489
5398
  rows: {
5490
5399
  length: number;
@@ -5492,10 +5401,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
5492
5401
  count: number;
5493
5402
  wage: number;
5494
5403
  }[];
5495
- editedBy?: string | undefined;
5496
5404
  createdAt?: string | undefined;
5497
5405
  updatedAt?: string | undefined;
5498
5406
  paid?: boolean | undefined;
5407
+ paymentNotes?: string | undefined;
5499
5408
  }>;
5500
5409
  type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
5501
5410
  type BTeacherPayment = z.infer<typeof zBTeacherPayment>;
package/index.js CHANGED
@@ -694,11 +694,16 @@ var zTeacherPaymentRow = import_zod23.z.object({
694
694
  var zBTeacherPayment = import_zod23.z.object({
695
695
  teacher: import_zod23.z.string().min(1, "select or enter a teacher"),
696
696
  rows: import_zod23.z.array(zTeacherPaymentRow),
697
- paid: import_zod23.z.boolean().optional()
697
+ paid: import_zod23.z.boolean().optional(),
698
+ /**
699
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
700
+ */
701
+ paymentNotes: import_zod23.z.string().optional()
698
702
  });
699
703
  var zTeacherPayment = addAutoProps(zBTeacherPayment);
700
704
  var zTeacherPaymentResponse = zTeacherPayment.extend({
701
- teacher: zTeacher
705
+ teacher: import_zod23.z.object({ name: import_zod23.z.string(), rank: import_zod23.z.string().optional() }),
706
+ editedBy: import_zod23.z.object({ name: import_zod23.z.string(), rank: import_zod23.z.string().optional() })
702
707
  });
703
708
 
704
709
  // src/interface/public/aurora.ts
package/index.mjs CHANGED
@@ -587,11 +587,16 @@ var zTeacherPaymentRow = z23.object({
587
587
  var zBTeacherPayment = z23.object({
588
588
  teacher: z23.string().min(1, "select or enter a teacher"),
589
589
  rows: z23.array(zTeacherPaymentRow),
590
- paid: z23.boolean().optional()
590
+ paid: z23.boolean().optional(),
591
+ /**
592
+ * paymentNotes differentiates from notes as it is displayed on the rendered PDF
593
+ */
594
+ paymentNotes: z23.string().optional()
591
595
  });
592
596
  var zTeacherPayment = addAutoProps(zBTeacherPayment);
593
597
  var zTeacherPaymentResponse = zTeacherPayment.extend({
594
- teacher: zTeacher
598
+ teacher: z23.object({ name: z23.string(), rank: z23.string().optional() }),
599
+ editedBy: z23.object({ name: z23.string(), rank: z23.string().optional() })
595
600
  });
596
601
 
597
602
  // src/interface/public/aurora.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",