@delpa/mt-prisma 0.16.0 → 0.18.0
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/dist/generated/generated/client/edge.js +19 -5
- package/dist/generated/generated/client/index-browser.js +17 -3
- package/dist/generated/generated/client/index.d.ts +1285 -35
- package/dist/generated/generated/client/index.js +19 -5
- package/dist/generated/generated/client/package.json +1 -1
- package/dist/generated/generated/client/schema.prisma +45 -22
- package/generated/client/edge.js +19 -5
- package/generated/client/index-browser.js +17 -3
- package/generated/client/index.d.ts +1285 -35
- package/generated/client/index.js +19 -5
- package/generated/client/package.json +1 -1
- package/generated/client/schema.prisma +45 -22
- package/package.json +2 -1
- package/prisma/migrations/20260204205146_add_company_id_to_orders/migration.sql +12 -0
- package/prisma/schema.prisma +60 -37
|
@@ -187,6 +187,8 @@ exports.Prisma.OrderScalarFieldEnum = {
|
|
|
187
187
|
id: 'id',
|
|
188
188
|
reference: 'reference',
|
|
189
189
|
shipper_id: 'shipper_id',
|
|
190
|
+
company_id: 'company_id',
|
|
191
|
+
created_by: 'created_by',
|
|
190
192
|
attachments: 'attachments',
|
|
191
193
|
status: 'status',
|
|
192
194
|
created_at: 'created_at',
|
|
@@ -287,6 +289,7 @@ exports.Prisma.VehicleScalarFieldEnum = {
|
|
|
287
289
|
color: 'color',
|
|
288
290
|
chassis_number: 'chassis_number',
|
|
289
291
|
size: 'size',
|
|
292
|
+
status: 'status',
|
|
290
293
|
gps_enabled: 'gps_enabled',
|
|
291
294
|
image_url: 'image_url',
|
|
292
295
|
company_id: 'company_id',
|
|
@@ -522,6 +525,7 @@ exports.Prisma.VehicleEquipmentScalarFieldEnum = {
|
|
|
522
525
|
|
|
523
526
|
exports.Prisma.TenderScalarFieldEnum = {
|
|
524
527
|
id: 'id',
|
|
528
|
+
code: 'code',
|
|
525
529
|
title: 'title',
|
|
526
530
|
description: 'description',
|
|
527
531
|
status: 'status',
|
|
@@ -574,6 +578,7 @@ exports.Prisma.TenderChatScalarFieldEnum = {
|
|
|
574
578
|
user_sends_id: 'user_sends_id',
|
|
575
579
|
user_receives_id: 'user_receives_id',
|
|
576
580
|
message: 'message',
|
|
581
|
+
read_at: 'read_at',
|
|
577
582
|
created_at: 'created_at'
|
|
578
583
|
};
|
|
579
584
|
|
|
@@ -613,6 +618,7 @@ exports.Prisma.TenderNotificationScalarFieldEnum = {
|
|
|
613
618
|
tender_id: 'tender_id',
|
|
614
619
|
user_id: 'user_id',
|
|
615
620
|
group_id: 'group_id',
|
|
621
|
+
supplier_company_id: 'supplier_company_id',
|
|
616
622
|
whatsapp: 'whatsapp',
|
|
617
623
|
email: 'email',
|
|
618
624
|
push: 'push',
|
|
@@ -651,6 +657,7 @@ exports.Prisma.RegularSupplierScalarFieldEnum = {
|
|
|
651
657
|
id: 'id',
|
|
652
658
|
company_id: 'company_id',
|
|
653
659
|
supplier_id: 'supplier_id',
|
|
660
|
+
created_by: 'created_by',
|
|
654
661
|
created_at: 'created_at',
|
|
655
662
|
updated_at: 'updated_at'
|
|
656
663
|
};
|
|
@@ -810,6 +817,12 @@ exports.VehicleSize = exports.$Enums.VehicleSize = {
|
|
|
810
817
|
EXTRA_LARGE: 'EXTRA_LARGE'
|
|
811
818
|
};
|
|
812
819
|
|
|
820
|
+
exports.VehicleStatus = exports.$Enums.VehicleStatus = {
|
|
821
|
+
ACTIVE: 'ACTIVE',
|
|
822
|
+
INACTIVE: 'INACTIVE',
|
|
823
|
+
MAINTENANCE: 'MAINTENANCE'
|
|
824
|
+
};
|
|
825
|
+
|
|
813
826
|
exports.EquipmentStatus = exports.$Enums.EquipmentStatus = {
|
|
814
827
|
ACTIVE: 'ACTIVE',
|
|
815
828
|
INACTIVE: 'INACTIVE',
|
|
@@ -874,11 +887,12 @@ exports.FormStatus = exports.$Enums.FormStatus = {
|
|
|
874
887
|
};
|
|
875
888
|
|
|
876
889
|
exports.TenderStatus = exports.$Enums.TenderStatus = {
|
|
890
|
+
DRAFT: 'DRAFT',
|
|
877
891
|
OPEN: 'OPEN',
|
|
878
892
|
CLOSED: 'CLOSED',
|
|
879
893
|
AWARDED: 'AWARDED',
|
|
894
|
+
NOT_AWARDED: 'NOT_AWARDED',
|
|
880
895
|
CANCELLED: 'CANCELLED',
|
|
881
|
-
DRAFT: 'DRAFT',
|
|
882
896
|
PAUSED: 'PAUSED'
|
|
883
897
|
};
|
|
884
898
|
|
|
@@ -899,8 +913,8 @@ exports.TripType = exports.$Enums.TripType = {
|
|
|
899
913
|
|
|
900
914
|
exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
|
|
901
915
|
PENDING: 'PENDING',
|
|
902
|
-
|
|
903
|
-
|
|
916
|
+
AWARDED: 'AWARDED',
|
|
917
|
+
NOT_AWARDED: 'NOT_AWARDED',
|
|
904
918
|
WITHDRAWN: 'WITHDRAWN'
|
|
905
919
|
};
|
|
906
920
|
|