procbay-schema 1.0.11 → 1.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "procbay-schema",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "A set of utilities for managing Prisma database schemas, seeding, and maintenance operations for the Procure-to-Pay system",
5
5
  "main": "src/prisma/index.js",
6
6
  "type": "module",
@@ -412,12 +412,13 @@ enum PurchaseIntakePriorityEnum {
412
412
 
413
413
  // Enum for status levels
414
414
  enum PurchaseIntakeStatusEnum {
415
- Approved
416
- InProgress
417
- Pending
418
- Rejected
419
- Completed
420
- Cancelled
415
+ APPROVED
416
+ IN_PROGRESS
417
+ PENDING
418
+ REJECTED
419
+ COMPLETED
420
+ CANCELLED
421
+ AUTO_APPROVED
421
422
  }
422
423
 
423
424
  enum PurchaseRequestStatusEnum {
@@ -443,7 +444,7 @@ model PurchaseIntake {
443
444
  items_or_services_description String?
444
445
  priority PurchaseIntakePriorityEnum
445
446
  estimated_budget Float?
446
- status PurchaseIntakeStatusEnum @default(Pending)
447
+ status PurchaseIntakeStatusEnum @default(PENDING)
447
448
  pr_status PurchaseRequestStatusEnum @default(Open)
448
449
  reject_reason String?
449
450
  pr_reject_reason String?