procbay-schema 1.0.3 → 1.0.5
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/migrations/20250729100954_/migration.sql +0 -0
- package/prisma/migrations/20250729101424_init_vendor_reference_table/migration.sql +0 -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/migrations/20250805054844_alter_tables/migration.sql +2 -0
- package/prisma/schema.prisma +2 -250
- package/prisma/seeders/template.seed.js +2 -0
- package/src/prisma/edge.js +4 -179
- package/src/prisma/index-browser.js +1 -176
- package/src/prisma/index.d.ts +23103 -45493
- package/src/prisma/index.js +4 -179
- package/src/prisma/package.json +1 -1
- package/src/prisma/schema.prisma +115 -363
- package/src/prisma/wasm.js +1 -176
|
@@ -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',
|
|
@@ -1648,6 +1498,7 @@ exports.Prisma.VendorReferenceScalarFieldEnum = {
|
|
|
1648
1498
|
tenant_vendor_code: 'tenant_vendor_code',
|
|
1649
1499
|
invited_by: 'invited_by',
|
|
1650
1500
|
invited_on: 'invited_on',
|
|
1501
|
+
meta_data: 'meta_data',
|
|
1651
1502
|
is_deleted: 'is_deleted',
|
|
1652
1503
|
created_at: 'created_at',
|
|
1653
1504
|
created_by: 'created_by',
|
|
@@ -1727,18 +1578,6 @@ exports.PurchaseIntakeItemEnum = exports.$Enums.PurchaseIntakeItemEnum = {
|
|
|
1727
1578
|
Rejected: 'Rejected'
|
|
1728
1579
|
};
|
|
1729
1580
|
|
|
1730
|
-
exports.VendorKycVerificationStatusEnum = exports.$Enums.VendorKycVerificationStatusEnum = {
|
|
1731
|
-
PENDING: 'PENDING',
|
|
1732
|
-
APPROVED: 'APPROVED',
|
|
1733
|
-
REJECTED: 'REJECTED',
|
|
1734
|
-
IN_PROGRESS: 'IN_PROGRESS'
|
|
1735
|
-
};
|
|
1736
|
-
|
|
1737
|
-
exports.ContactTypeEnum = exports.$Enums.ContactTypeEnum = {
|
|
1738
|
-
Primary: 'Primary',
|
|
1739
|
-
Secondary: 'Secondary'
|
|
1740
|
-
};
|
|
1741
|
-
|
|
1742
1581
|
exports.InitiatorTypeEnum = exports.$Enums.InitiatorTypeEnum = {
|
|
1743
1582
|
Role: 'Role',
|
|
1744
1583
|
User: 'User'
|
|
@@ -1845,12 +1684,6 @@ exports.userTypeEnum = exports.$Enums.userTypeEnum = {
|
|
|
1845
1684
|
VENDOR: 'VENDOR'
|
|
1846
1685
|
};
|
|
1847
1686
|
|
|
1848
|
-
exports.VendorKycStatusEnum = exports.$Enums.VendorKycStatusEnum = {
|
|
1849
|
-
PENDING: 'PENDING',
|
|
1850
|
-
APPROVED: 'APPROVED',
|
|
1851
|
-
REJECTED: 'REJECTED'
|
|
1852
|
-
};
|
|
1853
|
-
|
|
1854
1687
|
exports.TicketPriorityEnum = exports.$Enums.TicketPriorityEnum = {
|
|
1855
1688
|
LOW: 'LOW',
|
|
1856
1689
|
MEDIUM: 'MEDIUM',
|
|
@@ -1985,9 +1818,6 @@ exports.Prisma.ModelName = {
|
|
|
1985
1818
|
Item: 'Item',
|
|
1986
1819
|
PurchaseIntake: 'PurchaseIntake',
|
|
1987
1820
|
PurchaseIntakeItem: 'PurchaseIntakeItem',
|
|
1988
|
-
Vendor: 'Vendor',
|
|
1989
|
-
VendorCategory: 'VendorCategory',
|
|
1990
|
-
VendorContactPerson: 'VendorContactPerson',
|
|
1991
1821
|
EmailTemplate: 'EmailTemplate',
|
|
1992
1822
|
SmtpConfig: 'SmtpConfig',
|
|
1993
1823
|
ApprovalHierarchy: 'ApprovalHierarchy',
|
|
@@ -2011,20 +1841,15 @@ exports.Prisma.ModelName = {
|
|
|
2011
1841
|
EventVendors: 'EventVendors',
|
|
2012
1842
|
EventConfigurations: 'EventConfigurations',
|
|
2013
1843
|
EventStrategies: 'EventStrategies',
|
|
2014
|
-
VendorEventWatchlist: 'VendorEventWatchlist',
|
|
2015
1844
|
Strategies: 'Strategies',
|
|
2016
1845
|
Cms: 'Cms',
|
|
2017
|
-
VendorKycInfo: 'VendorKycInfo',
|
|
2018
1846
|
Currency: 'Currency',
|
|
2019
1847
|
SupportTicket: 'SupportTicket',
|
|
2020
1848
|
TicketAssignment: 'TicketAssignment',
|
|
2021
1849
|
TicketHistory: 'TicketHistory',
|
|
2022
1850
|
TicketReply: 'TicketReply',
|
|
2023
1851
|
SupportCategory: 'SupportCategory',
|
|
2024
|
-
VendorStatus: 'VendorStatus',
|
|
2025
|
-
VendorKycInfoVerificationStatus: 'VendorKycInfoVerificationStatus',
|
|
2026
1852
|
AdminAlert: 'AdminAlert',
|
|
2027
|
-
VendorAlert: 'VendorAlert',
|
|
2028
1853
|
CustomerNotification: 'CustomerNotification',
|
|
2029
1854
|
Bid: 'Bid',
|
|
2030
1855
|
BidLog: 'BidLog',
|