procbay-schema 1.0.13 → 1.0.15

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.
Files changed (28) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
  3. package/prisma/.env +5 -1
  4. package/prisma/migrations/{20250729100954_ → 20250728105546_}/migration.sql +0 -3
  5. package/prisma/migrations/20250729100247_alter_admin_alert_enum/migration.sql +5 -0
  6. package/prisma/migrations/20250730101549_added_code_in_budget_table/migration.sql +18 -0
  7. package/prisma/migrations/20250731061624_alter_expense_table/migration.sql +16 -0
  8. package/prisma/migrations/{20250729122741_alter_vendor_refrence_table → 20250731072247_alter_catgeory_budget_table}/migration.sql +2 -2
  9. package/prisma/migrations/{20250806125844_init_fast_catalogue_tables → 20250806123912_init_fast_catalogue_tables}/migration.sql +3 -0
  10. package/prisma/migrations/20250811094537_added_purchase_intake_status_enum/migration.sql +18 -0
  11. package/prisma/migrations/20250811094955_alter_pise/migration.sql +5 -0
  12. package/prisma/migrations/{20250811095409_ → 20250811104547_}/migration.sql +0 -3
  13. package/prisma/schema.prisma +370 -140
  14. package/src/prisma/edge.js +184 -23
  15. package/src/prisma/index-browser.js +179 -18
  16. package/src/prisma/index.d.ts +57163 -36338
  17. package/src/prisma/index.js +184 -23
  18. package/src/prisma/package.json +1 -1
  19. package/src/prisma/schema.prisma +370 -140
  20. package/src/prisma/wasm.js +179 -18
  21. package/prisma/migrations/20250729101424_init_vendor_reference_table/migration.sql +0 -23
  22. package/prisma/migrations/20250729122612_removed_vendor_related_fields/migration.sql +0 -102
  23. /package/prisma/migrations/{20250805092858_added_uuid_to_budget_tables → 20250805092701_added_uuid_to_budget_tables}/migration.sql +0 -0
  24. /package/prisma/migrations/{20250806062243_alter_code_in_department_budget → 20250806061852_}/migration.sql +0 -0
  25. /package/prisma/migrations/{20250805054844_alter_tables → 20250806124826_alter_requested_catalogue}/migration.sql +0 -0
  26. /package/prisma/migrations/{20250808094033_alter_bid_status → 20250808093821_updated_bid_status}/migration.sql +0 -0
  27. /package/prisma/migrations/{20250808100622_alter_vendor_status → 20250808100526_alter_event_vendor_status}/migration.sql +0 -0
  28. /package/prisma/migrations/{20250808102818_alter_requested_catalogue → 20250808102847_alter_requested_catalogue_table}/migration.sql +0 -0
@@ -407,6 +407,88 @@ exports.Prisma.PurchaseIntakeItemScalarFieldEnum = {
407
407
  created_at: 'created_at'
408
408
  };
409
409
 
410
+ exports.Prisma.VendorScalarFieldEnum = {
411
+ id: 'id',
412
+ uuid: 'uuid',
413
+ vendor_id: 'vendor_id',
414
+ name: 'name',
415
+ legal_name: 'legal_name',
416
+ email_id: 'email_id',
417
+ mobile_number: 'mobile_number',
418
+ password: 'password',
419
+ country_code: 'country_code',
420
+ gst_in: 'gst_in',
421
+ person_in_charge: 'person_in_charge',
422
+ city: 'city',
423
+ industry: 'industry',
424
+ incorporation_date: 'incorporation_date',
425
+ ownership_type: 'ownership_type',
426
+ head_office_location: 'head_office_location',
427
+ operational_region: 'operational_region',
428
+ pan_number: 'pan_number',
429
+ pan_image: 'pan_image',
430
+ is_pan_verified: 'is_pan_verified',
431
+ pan_verification_request: 'pan_verification_request',
432
+ pan_verification_response: 'pan_verification_response',
433
+ gst_number: 'gst_number',
434
+ is_gst_verified: 'is_gst_verified',
435
+ gst_verification_request: 'gst_verification_request',
436
+ gst_verification_response: 'gst_verification_response',
437
+ is_basic_info_registered: 'is_basic_info_registered',
438
+ status: 'status',
439
+ is_email_verified: 'is_email_verified',
440
+ is_mobile_verified: 'is_mobile_verified',
441
+ profile_picture: 'profile_picture',
442
+ invitation_status: 'invitation_status',
443
+ reset_token: 'reset_token',
444
+ reset_token_expiry: 'reset_token_expiry',
445
+ access_token_expiry: 'access_token_expiry',
446
+ token_version: 'token_version',
447
+ is_logged_in: 'is_logged_in',
448
+ onboarded_on: 'onboarded_on',
449
+ created_at: 'created_at',
450
+ created_by: 'created_by',
451
+ updated_at: 'updated_at',
452
+ updated_by: 'updated_by',
453
+ is_deleted: 'is_deleted',
454
+ deleted_at: 'deleted_at',
455
+ deleted_by: 'deleted_by',
456
+ is_kyc_approved: 'is_kyc_approved'
457
+ };
458
+
459
+ exports.Prisma.VendorCategoryScalarFieldEnum = {
460
+ id: 'id',
461
+ uuid: 'uuid',
462
+ vendor_id: 'vendor_id',
463
+ category_id: 'category_id',
464
+ created_at: 'created_at',
465
+ created_by: 'created_by',
466
+ updated_at: 'updated_at',
467
+ updated_by: 'updated_by',
468
+ deleted_at: 'deleted_at',
469
+ deleted_by: 'deleted_by'
470
+ };
471
+
472
+ exports.Prisma.VendorContactPersonScalarFieldEnum = {
473
+ id: 'id',
474
+ uuid: 'uuid',
475
+ vendor_id: 'vendor_id',
476
+ name: 'name',
477
+ email_id: 'email_id',
478
+ country_code: 'country_code',
479
+ mobile_number: 'mobile_number',
480
+ designation: 'designation',
481
+ contact_type: 'contact_type',
482
+ is_active: 'is_active',
483
+ is_deleted: 'is_deleted',
484
+ created_at: 'created_at',
485
+ created_by: 'created_by',
486
+ updated_at: 'updated_at',
487
+ updated_by: 'updated_by',
488
+ deleted_at: 'deleted_at',
489
+ deleted_by: 'deleted_by'
490
+ };
491
+
410
492
  exports.Prisma.EmailTemplateScalarFieldEnum = {
411
493
  id: 'id',
412
494
  uuid: 'uuid',
@@ -751,6 +833,21 @@ exports.Prisma.EventStrategiesScalarFieldEnum = {
751
833
  deleted_by: 'deleted_by'
752
834
  };
753
835
 
836
+ exports.Prisma.VendorEventWatchlistScalarFieldEnum = {
837
+ id: 'id',
838
+ uuid: 'uuid',
839
+ vendor_id: 'vendor_id',
840
+ event_id: 'event_id',
841
+ is_active: 'is_active',
842
+ created_at: 'created_at',
843
+ created_by: 'created_by',
844
+ updated_at: 'updated_at',
845
+ updated_by: 'updated_by',
846
+ is_deleted: 'is_deleted',
847
+ deleted_at: 'deleted_at',
848
+ deleted_by: 'deleted_by'
849
+ };
850
+
754
851
  exports.Prisma.StrategiesScalarFieldEnum = {
755
852
  id: 'id',
756
853
  uuid: 'uuid',
@@ -784,6 +881,25 @@ exports.Prisma.CmsScalarFieldEnum = {
784
881
  deleted_by: 'deleted_by'
785
882
  };
786
883
 
884
+ exports.Prisma.VendorKycInfoScalarFieldEnum = {
885
+ id: 'id',
886
+ uuid: 'uuid',
887
+ vendor_id: 'vendor_id',
888
+ section_name: 'section_name',
889
+ section_type: 'section_type',
890
+ fields: 'fields',
891
+ status: 'status',
892
+ reject_reason: 'reject_reason',
893
+ is_active: 'is_active',
894
+ is_deleted: 'is_deleted',
895
+ created_at: 'created_at',
896
+ created_by: 'created_by',
897
+ updated_at: 'updated_at',
898
+ updated_by: 'updated_by',
899
+ deleted_at: 'deleted_at',
900
+ deleted_by: 'deleted_by'
901
+ };
902
+
787
903
  exports.Prisma.CurrencyScalarFieldEnum = {
788
904
  id: 'id',
789
905
  uuid: 'uuid',
@@ -869,6 +985,28 @@ exports.Prisma.SupportCategoryScalarFieldEnum = {
869
985
  deleted_by: 'deleted_by'
870
986
  };
871
987
 
988
+ exports.Prisma.VendorStatusScalarFieldEnum = {
989
+ id: 'id',
990
+ vendor_id: 'vendor_id',
991
+ previous_status: 'previous_status',
992
+ current_status: 'current_status',
993
+ comment: 'comment',
994
+ updated_at: 'updated_at',
995
+ updated_by: 'updated_by'
996
+ };
997
+
998
+ exports.Prisma.VendorKycInfoVerificationStatusScalarFieldEnum = {
999
+ id: 'id',
1000
+ uuid: 'uuid',
1001
+ kyc_id: 'kyc_id',
1002
+ status: 'status',
1003
+ reject_reason: 'reject_reason',
1004
+ created_at: 'created_at',
1005
+ updated_at: 'updated_at',
1006
+ raised_by: 'raised_by',
1007
+ approved_by: 'approved_by'
1008
+ };
1009
+
872
1010
  exports.Prisma.AdminAlertScalarFieldEnum = {
873
1011
  id: 'id',
874
1012
  user_id: 'user_id',
@@ -881,6 +1019,18 @@ exports.Prisma.AdminAlertScalarFieldEnum = {
881
1019
  meta_data: 'meta_data'
882
1020
  };
883
1021
 
1022
+ exports.Prisma.VendorAlertScalarFieldEnum = {
1023
+ id: 'id',
1024
+ vendor_id: 'vendor_id',
1025
+ alert_type: 'alert_type',
1026
+ title: 'title',
1027
+ message: 'message',
1028
+ redirect_url: 'redirect_url',
1029
+ is_read: 'is_read',
1030
+ created_at: 'created_at',
1031
+ meta_data: 'meta_data'
1032
+ };
1033
+
884
1034
  exports.Prisma.CustomerNotificationScalarFieldEnum = {
885
1035
  id: 'id',
886
1036
  uuid: 'uuid',
@@ -1413,6 +1563,7 @@ exports.Prisma.FiscalYearScalarFieldEnum = {
1413
1563
  exports.Prisma.BudgetScalarFieldEnum = {
1414
1564
  id: 'id',
1415
1565
  uuid: 'uuid',
1566
+ code: 'code',
1416
1567
  company_name: 'company_name',
1417
1568
  fiscal_year: 'fiscal_year',
1418
1569
  currency: 'currency',
@@ -1453,6 +1604,7 @@ exports.Prisma.CategoryBudgetScalarFieldEnum = {
1453
1604
  department_budget_id: 'department_budget_id',
1454
1605
  category_id: 'category_id',
1455
1606
  allocated_budget: 'allocated_budget',
1607
+ fiscal_year: 'fiscal_year',
1456
1608
  notes: 'notes',
1457
1609
  description: 'description',
1458
1610
  crated_by: 'crated_by',
@@ -1494,24 +1646,8 @@ exports.Prisma.ExpenseScalarFieldEnum = {
1494
1646
  receipt_number: 'receipt_number',
1495
1647
  vendor_name: 'vendor_name',
1496
1648
  notes: 'notes',
1497
- createdAt: 'createdAt',
1498
- updatedAt: 'updatedAt'
1499
- };
1500
-
1501
- exports.Prisma.VendorReferenceScalarFieldEnum = {
1502
- id: 'id',
1503
- global_vendor_id: 'global_vendor_id',
1504
- tenant_vendor_code: 'tenant_vendor_code',
1505
- invited_by: 'invited_by',
1506
- invited_on: 'invited_on',
1507
- meta_data: 'meta_data',
1508
- is_deleted: 'is_deleted',
1509
1649
  created_at: 'created_at',
1510
- created_by: 'created_by',
1511
- updated_at: 'updated_at',
1512
- updated_by: 'updated_by',
1513
- deleted_at: 'deleted_at',
1514
- deleted_by: 'deleted_by'
1650
+ updated_at: 'updated_at'
1515
1651
  };
1516
1652
 
1517
1653
  exports.Prisma.RequestedCatalogueScalarFieldEnum = {
@@ -1629,6 +1765,18 @@ exports.PurchaseIntakeItemEnum = exports.$Enums.PurchaseIntakeItemEnum = {
1629
1765
  Rejected: 'Rejected'
1630
1766
  };
1631
1767
 
1768
+ exports.VendorKycVerificationStatusEnum = exports.$Enums.VendorKycVerificationStatusEnum = {
1769
+ PENDING: 'PENDING',
1770
+ APPROVED: 'APPROVED',
1771
+ REJECTED: 'REJECTED',
1772
+ IN_PROGRESS: 'IN_PROGRESS'
1773
+ };
1774
+
1775
+ exports.ContactTypeEnum = exports.$Enums.ContactTypeEnum = {
1776
+ Primary: 'Primary',
1777
+ Secondary: 'Secondary'
1778
+ };
1779
+
1632
1780
  exports.InitiatorTypeEnum = exports.$Enums.InitiatorTypeEnum = {
1633
1781
  Role: 'Role',
1634
1782
  User: 'User'
@@ -1735,6 +1883,12 @@ exports.userTypeEnum = exports.$Enums.userTypeEnum = {
1735
1883
  VENDOR: 'VENDOR'
1736
1884
  };
1737
1885
 
1886
+ exports.VendorKycStatusEnum = exports.$Enums.VendorKycStatusEnum = {
1887
+ PENDING: 'PENDING',
1888
+ APPROVED: 'APPROVED',
1889
+ REJECTED: 'REJECTED'
1890
+ };
1891
+
1738
1892
  exports.TicketPriorityEnum = exports.$Enums.TicketPriorityEnum = {
1739
1893
  LOW: 'LOW',
1740
1894
  MEDIUM: 'MEDIUM',
@@ -1886,6 +2040,9 @@ exports.Prisma.ModelName = {
1886
2040
  Item: 'Item',
1887
2041
  PurchaseIntake: 'PurchaseIntake',
1888
2042
  PurchaseIntakeItem: 'PurchaseIntakeItem',
2043
+ Vendor: 'Vendor',
2044
+ VendorCategory: 'VendorCategory',
2045
+ VendorContactPerson: 'VendorContactPerson',
1889
2046
  EmailTemplate: 'EmailTemplate',
1890
2047
  SmtpConfig: 'SmtpConfig',
1891
2048
  ApprovalHierarchy: 'ApprovalHierarchy',
@@ -1909,15 +2066,20 @@ exports.Prisma.ModelName = {
1909
2066
  EventVendors: 'EventVendors',
1910
2067
  EventConfigurations: 'EventConfigurations',
1911
2068
  EventStrategies: 'EventStrategies',
2069
+ VendorEventWatchlist: 'VendorEventWatchlist',
1912
2070
  Strategies: 'Strategies',
1913
2071
  Cms: 'Cms',
2072
+ VendorKycInfo: 'VendorKycInfo',
1914
2073
  Currency: 'Currency',
1915
2074
  SupportTicket: 'SupportTicket',
1916
2075
  TicketAssignment: 'TicketAssignment',
1917
2076
  TicketHistory: 'TicketHistory',
1918
2077
  TicketReply: 'TicketReply',
1919
2078
  SupportCategory: 'SupportCategory',
2079
+ VendorStatus: 'VendorStatus',
2080
+ VendorKycInfoVerificationStatus: 'VendorKycInfoVerificationStatus',
1920
2081
  AdminAlert: 'AdminAlert',
2082
+ VendorAlert: 'VendorAlert',
1921
2083
  CustomerNotification: 'CustomerNotification',
1922
2084
  Bid: 'Bid',
1923
2085
  BidLog: 'BidLog',
@@ -1954,7 +2116,6 @@ exports.Prisma.ModelName = {
1954
2116
  CategoryBudget: 'CategoryBudget',
1955
2117
  SupportingDocument: 'SupportingDocument',
1956
2118
  Expense: 'Expense',
1957
- VendorReference: 'VendorReference',
1958
2119
  RequestedCatalogue: 'RequestedCatalogue',
1959
2120
  RequestedCatalogueItem: 'RequestedCatalogueItem',
1960
2121
  RequestedCatalogueVendor: 'RequestedCatalogueVendor'