procbay-schema 1.0.2 → 1.0.4
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 +1 -1
- package/prisma/.env +1 -1
- package/prisma/migrations/20250728072402_init_budget_management_tables/migration.sql +0 -0
- package/prisma/migrations/20250729100954_/migration.sql +91 -0
- package/prisma/migrations/20250729101424_init_vendor_reference_table/migration.sql +23 -0
- package/prisma/migrations/20250729122612_removed_vendor_related_fields/migration.sql +102 -0
- package/prisma/migrations/20250729122741_alter_vendor_refrence_table/migration.sql +5 -0
- package/prisma/schema.prisma +27 -250
- package/src/prisma/edge.js +23 -181
- package/src/prisma/index-browser.js +20 -178
- package/src/prisma/index.d.ts +18474 -38652
- package/src/prisma/index.js +23 -181
- package/src/prisma/package.json +1 -1
- package/src/prisma/schema.prisma +138 -361
- package/src/prisma/wasm.js +20 -178
package/src/prisma/wasm.js
CHANGED
|
@@ -407,88 +407,6 @@ 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
|
-
|
|
492
410
|
exports.Prisma.EmailTemplateScalarFieldEnum = {
|
|
493
411
|
id: 'id',
|
|
494
412
|
uuid: 'uuid',
|
|
@@ -833,21 +751,6 @@ exports.Prisma.EventStrategiesScalarFieldEnum = {
|
|
|
833
751
|
deleted_by: 'deleted_by'
|
|
834
752
|
};
|
|
835
753
|
|
|
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
|
-
|
|
851
754
|
exports.Prisma.StrategiesScalarFieldEnum = {
|
|
852
755
|
id: 'id',
|
|
853
756
|
uuid: 'uuid',
|
|
@@ -881,25 +784,6 @@ exports.Prisma.CmsScalarFieldEnum = {
|
|
|
881
784
|
deleted_by: 'deleted_by'
|
|
882
785
|
};
|
|
883
786
|
|
|
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
|
-
|
|
903
787
|
exports.Prisma.CurrencyScalarFieldEnum = {
|
|
904
788
|
id: 'id',
|
|
905
789
|
uuid: 'uuid',
|
|
@@ -985,28 +869,6 @@ exports.Prisma.SupportCategoryScalarFieldEnum = {
|
|
|
985
869
|
deleted_by: 'deleted_by'
|
|
986
870
|
};
|
|
987
871
|
|
|
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
|
-
|
|
1010
872
|
exports.Prisma.AdminAlertScalarFieldEnum = {
|
|
1011
873
|
id: 'id',
|
|
1012
874
|
user_id: 'user_id',
|
|
@@ -1019,18 +881,6 @@ exports.Prisma.AdminAlertScalarFieldEnum = {
|
|
|
1019
881
|
meta_data: 'meta_data'
|
|
1020
882
|
};
|
|
1021
883
|
|
|
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
|
-
|
|
1034
884
|
exports.Prisma.CustomerNotificationScalarFieldEnum = {
|
|
1035
885
|
id: 'id',
|
|
1036
886
|
uuid: 'uuid',
|
|
@@ -1642,6 +1492,22 @@ exports.Prisma.ExpenseScalarFieldEnum = {
|
|
|
1642
1492
|
updatedAt: 'updatedAt'
|
|
1643
1493
|
};
|
|
1644
1494
|
|
|
1495
|
+
exports.Prisma.VendorReferenceScalarFieldEnum = {
|
|
1496
|
+
id: 'id',
|
|
1497
|
+
global_vendor_id: 'global_vendor_id',
|
|
1498
|
+
tenant_vendor_code: 'tenant_vendor_code',
|
|
1499
|
+
invited_by: 'invited_by',
|
|
1500
|
+
invited_on: 'invited_on',
|
|
1501
|
+
meta_data: 'meta_data',
|
|
1502
|
+
is_deleted: 'is_deleted',
|
|
1503
|
+
created_at: 'created_at',
|
|
1504
|
+
created_by: 'created_by',
|
|
1505
|
+
updated_at: 'updated_at',
|
|
1506
|
+
updated_by: 'updated_by',
|
|
1507
|
+
deleted_at: 'deleted_at',
|
|
1508
|
+
deleted_by: 'deleted_by'
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1645
1511
|
exports.Prisma.SortOrder = {
|
|
1646
1512
|
asc: 'asc',
|
|
1647
1513
|
desc: 'desc'
|
|
@@ -1712,18 +1578,6 @@ exports.PurchaseIntakeItemEnum = exports.$Enums.PurchaseIntakeItemEnum = {
|
|
|
1712
1578
|
Rejected: 'Rejected'
|
|
1713
1579
|
};
|
|
1714
1580
|
|
|
1715
|
-
exports.VendorKycVerificationStatusEnum = exports.$Enums.VendorKycVerificationStatusEnum = {
|
|
1716
|
-
PENDING: 'PENDING',
|
|
1717
|
-
APPROVED: 'APPROVED',
|
|
1718
|
-
REJECTED: 'REJECTED',
|
|
1719
|
-
IN_PROGRESS: 'IN_PROGRESS'
|
|
1720
|
-
};
|
|
1721
|
-
|
|
1722
|
-
exports.ContactTypeEnum = exports.$Enums.ContactTypeEnum = {
|
|
1723
|
-
Primary: 'Primary',
|
|
1724
|
-
Secondary: 'Secondary'
|
|
1725
|
-
};
|
|
1726
|
-
|
|
1727
1581
|
exports.InitiatorTypeEnum = exports.$Enums.InitiatorTypeEnum = {
|
|
1728
1582
|
Role: 'Role',
|
|
1729
1583
|
User: 'User'
|
|
@@ -1830,12 +1684,6 @@ exports.userTypeEnum = exports.$Enums.userTypeEnum = {
|
|
|
1830
1684
|
VENDOR: 'VENDOR'
|
|
1831
1685
|
};
|
|
1832
1686
|
|
|
1833
|
-
exports.VendorKycStatusEnum = exports.$Enums.VendorKycStatusEnum = {
|
|
1834
|
-
PENDING: 'PENDING',
|
|
1835
|
-
APPROVED: 'APPROVED',
|
|
1836
|
-
REJECTED: 'REJECTED'
|
|
1837
|
-
};
|
|
1838
|
-
|
|
1839
1687
|
exports.TicketPriorityEnum = exports.$Enums.TicketPriorityEnum = {
|
|
1840
1688
|
LOW: 'LOW',
|
|
1841
1689
|
MEDIUM: 'MEDIUM',
|
|
@@ -1869,7 +1717,8 @@ exports.AlertTypeEnum = exports.$Enums.AlertTypeEnum = {
|
|
|
1869
1717
|
CONTRACT: 'CONTRACT',
|
|
1870
1718
|
CONTRACT_CLAUSE: 'CONTRACT_CLAUSE',
|
|
1871
1719
|
CONTRACT_TEMPLATE: 'CONTRACT_TEMPLATE',
|
|
1872
|
-
UPLOAD: 'UPLOAD'
|
|
1720
|
+
UPLOAD: 'UPLOAD',
|
|
1721
|
+
EXPORT: 'EXPORT'
|
|
1873
1722
|
};
|
|
1874
1723
|
|
|
1875
1724
|
exports.MediumEnum = exports.$Enums.MediumEnum = {
|
|
@@ -1969,9 +1818,6 @@ exports.Prisma.ModelName = {
|
|
|
1969
1818
|
Item: 'Item',
|
|
1970
1819
|
PurchaseIntake: 'PurchaseIntake',
|
|
1971
1820
|
PurchaseIntakeItem: 'PurchaseIntakeItem',
|
|
1972
|
-
Vendor: 'Vendor',
|
|
1973
|
-
VendorCategory: 'VendorCategory',
|
|
1974
|
-
VendorContactPerson: 'VendorContactPerson',
|
|
1975
1821
|
EmailTemplate: 'EmailTemplate',
|
|
1976
1822
|
SmtpConfig: 'SmtpConfig',
|
|
1977
1823
|
ApprovalHierarchy: 'ApprovalHierarchy',
|
|
@@ -1995,20 +1841,15 @@ exports.Prisma.ModelName = {
|
|
|
1995
1841
|
EventVendors: 'EventVendors',
|
|
1996
1842
|
EventConfigurations: 'EventConfigurations',
|
|
1997
1843
|
EventStrategies: 'EventStrategies',
|
|
1998
|
-
VendorEventWatchlist: 'VendorEventWatchlist',
|
|
1999
1844
|
Strategies: 'Strategies',
|
|
2000
1845
|
Cms: 'Cms',
|
|
2001
|
-
VendorKycInfo: 'VendorKycInfo',
|
|
2002
1846
|
Currency: 'Currency',
|
|
2003
1847
|
SupportTicket: 'SupportTicket',
|
|
2004
1848
|
TicketAssignment: 'TicketAssignment',
|
|
2005
1849
|
TicketHistory: 'TicketHistory',
|
|
2006
1850
|
TicketReply: 'TicketReply',
|
|
2007
1851
|
SupportCategory: 'SupportCategory',
|
|
2008
|
-
VendorStatus: 'VendorStatus',
|
|
2009
|
-
VendorKycInfoVerificationStatus: 'VendorKycInfoVerificationStatus',
|
|
2010
1852
|
AdminAlert: 'AdminAlert',
|
|
2011
|
-
VendorAlert: 'VendorAlert',
|
|
2012
1853
|
CustomerNotification: 'CustomerNotification',
|
|
2013
1854
|
Bid: 'Bid',
|
|
2014
1855
|
BidLog: 'BidLog',
|
|
@@ -2044,7 +1885,8 @@ exports.Prisma.ModelName = {
|
|
|
2044
1885
|
DepartmentBudget: 'DepartmentBudget',
|
|
2045
1886
|
CategoryBudget: 'CategoryBudget',
|
|
2046
1887
|
SupportingDocument: 'SupportingDocument',
|
|
2047
|
-
Expense: 'Expense'
|
|
1888
|
+
Expense: 'Expense',
|
|
1889
|
+
VendorReference: 'VendorReference'
|
|
2048
1890
|
};
|
|
2049
1891
|
|
|
2050
1892
|
/**
|