@delpa/mt-prisma 0.14.0 → 0.16.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/client/edge.js +425 -23
- package/dist/generated/client/index-browser.js +430 -29
- package/dist/generated/client/index.d.ts +71466 -28468
- package/dist/generated/client/index.js +426 -24
- package/dist/generated/client/package.json +3 -3
- package/dist/generated/client/query_compiler_fast_bg.js +2 -0
- package/dist/generated/client/query_compiler_fast_bg.wasm +0 -0
- package/dist/generated/client/query_compiler_fast_bg.wasm-base64.js +2 -0
- package/dist/generated/client/runtime/client.d.ts +4 -17
- package/dist/generated/client/runtime/client.js +20 -20
- package/dist/generated/client/runtime/wasm-compiler-edge.js +18 -18
- package/dist/generated/client/schema.prisma +648 -66
- package/dist/generated/client/wasm-edge-light-loader.mjs +1 -1
- package/dist/generated/client/wasm-worker-loader.mjs +1 -1
- package/dist/generated/generated/client/edge.js +225 -24
- package/dist/generated/generated/client/index-browser.js +218 -18
- package/dist/generated/generated/client/index.d.ts +63096 -34291
- package/dist/generated/generated/client/index.js +226 -25
- package/dist/generated/generated/client/package.json +3 -3
- package/dist/generated/generated/client/query_compiler_fast_bg.js +2 -0
- package/dist/generated/generated/client/query_compiler_fast_bg.wasm +0 -0
- package/dist/generated/generated/client/query_compiler_fast_bg.wasm-base64.js +2 -0
- package/dist/generated/generated/client/runtime/client.d.ts +4 -17
- package/dist/generated/generated/client/runtime/client.js +20 -20
- package/dist/generated/generated/client/runtime/wasm-compiler-edge.js +18 -18
- package/dist/generated/generated/client/schema.prisma +398 -73
- package/dist/generated/generated/client/wasm-edge-light-loader.mjs +1 -1
- package/dist/generated/generated/client/wasm-worker-loader.mjs +1 -1
- package/generated/client/edge.js +225 -24
- package/generated/client/index-browser.js +218 -18
- package/generated/client/index.d.ts +63096 -34291
- package/generated/client/index.js +226 -25
- package/generated/client/package.json +3 -3
- package/generated/client/query_compiler_fast_bg.js +2 -0
- package/generated/client/query_compiler_fast_bg.wasm +0 -0
- package/generated/client/query_compiler_fast_bg.wasm-base64.js +2 -0
- package/generated/client/runtime/client.d.ts +4 -17
- package/generated/client/runtime/client.js +20 -20
- package/generated/client/runtime/wasm-compiler-edge.js +18 -18
- package/generated/client/schema.prisma +398 -73
- package/generated/client/wasm-edge-light-loader.mjs +1 -1
- package/generated/client/wasm-worker-loader.mjs +1 -1
- package/package.json +1 -1
- package/prisma/migrations/20260127193502_enable_postgis/migration.sql +2 -0
- package/prisma/migrations/20260127193503_add_schema_tenders/migration.sql +410 -0
- package/prisma/migrations/20260202133514_agrega_product_in_handling_units/migration.sql +8 -0
- package/prisma/migrations/20260202150634_simplify_handling_unit_remove_redundant_fields/migration.sql +29 -0
- package/prisma/migrations/20260202162217_fix_reference_for_products/migration.sql +22 -0
- package/prisma/migrations/20260202163057_fix_vechicle_equipment_name/migration.sql +25 -0
- package/prisma/schema.prisma +495 -168
|
@@ -24,12 +24,12 @@ exports.Prisma = Prisma
|
|
|
24
24
|
exports.$Enums = {}
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Prisma Client JS version: 7.
|
|
28
|
-
* Query Engine version:
|
|
27
|
+
* Prisma Client JS version: 7.3.0
|
|
28
|
+
* Query Engine version: 9d6ad21cbbceab97458517b147a6a09ff43aa735
|
|
29
29
|
*/
|
|
30
30
|
Prisma.prismaVersion = {
|
|
31
|
-
client: "7.
|
|
32
|
-
engine: "
|
|
31
|
+
client: "7.3.0",
|
|
32
|
+
engine: "9d6ad21cbbceab97458517b147a6a09ff43aa735"
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
@@ -120,6 +120,26 @@ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
|
120
120
|
Serializable: 'Serializable'
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
+
exports.Prisma.ProductScalarFieldEnum = {
|
|
124
|
+
id: 'id',
|
|
125
|
+
client_id: 'client_id',
|
|
126
|
+
description: 'description',
|
|
127
|
+
sku: 'sku',
|
|
128
|
+
quantity: 'quantity',
|
|
129
|
+
packaging_type: 'packaging_type',
|
|
130
|
+
category: 'category',
|
|
131
|
+
subcategory: 'subcategory',
|
|
132
|
+
dimension_unit: 'dimension_unit',
|
|
133
|
+
length: 'length',
|
|
134
|
+
width: 'width',
|
|
135
|
+
height: 'height',
|
|
136
|
+
weight_unit: 'weight_unit',
|
|
137
|
+
weight: 'weight',
|
|
138
|
+
is_active: 'is_active',
|
|
139
|
+
created_at: 'created_at',
|
|
140
|
+
updated_at: 'updated_at'
|
|
141
|
+
};
|
|
142
|
+
|
|
123
143
|
exports.Prisma.ClientScalarFieldEnum = {
|
|
124
144
|
id: 'id',
|
|
125
145
|
tax_id: 'tax_id',
|
|
@@ -180,6 +200,8 @@ exports.Prisma.CompaniesScalarFieldEnum = {
|
|
|
180
200
|
address: 'address',
|
|
181
201
|
contact_info: 'contact_info',
|
|
182
202
|
country_code: 'country_code',
|
|
203
|
+
is_validated: 'is_validated',
|
|
204
|
+
documents: 'documents',
|
|
183
205
|
created_at: 'created_at',
|
|
184
206
|
updated_at: 'updated_at'
|
|
185
207
|
};
|
|
@@ -187,18 +209,7 @@ exports.Prisma.CompaniesScalarFieldEnum = {
|
|
|
187
209
|
exports.Prisma.HandlingUnitScalarFieldEnum = {
|
|
188
210
|
id: 'id',
|
|
189
211
|
order_id: 'order_id',
|
|
190
|
-
description: 'description',
|
|
191
212
|
quantity: 'quantity',
|
|
192
|
-
weight: 'weight',
|
|
193
|
-
weight_unit: 'weight_unit',
|
|
194
|
-
length: 'length',
|
|
195
|
-
width: 'width',
|
|
196
|
-
height: 'height',
|
|
197
|
-
volume: 'volume',
|
|
198
|
-
dimension_unit: 'dimension_unit',
|
|
199
|
-
total_volume: 'total_volume',
|
|
200
|
-
total_weight: 'total_weight',
|
|
201
|
-
commodity: 'commodity',
|
|
202
213
|
delivery_contact: 'delivery_contact',
|
|
203
214
|
pickup_contact: 'pickup_contact',
|
|
204
215
|
delivery_address: 'delivery_address',
|
|
@@ -208,6 +219,8 @@ exports.Prisma.HandlingUnitScalarFieldEnum = {
|
|
|
208
219
|
client_id: 'client_id',
|
|
209
220
|
contact_notify: 'contact_notify',
|
|
210
221
|
eta: 'eta',
|
|
222
|
+
product_id: 'product_id',
|
|
223
|
+
notes: 'notes',
|
|
211
224
|
created_at: 'created_at',
|
|
212
225
|
updated_at: 'updated_at'
|
|
213
226
|
};
|
|
@@ -218,6 +231,8 @@ exports.Prisma.UserScalarFieldEnum = {
|
|
|
218
231
|
name: 'name',
|
|
219
232
|
password: 'password',
|
|
220
233
|
role: 'role',
|
|
234
|
+
driver_validated: 'driver_validated',
|
|
235
|
+
documents: 'documents',
|
|
221
236
|
created_at: 'created_at',
|
|
222
237
|
updated_at: 'updated_at'
|
|
223
238
|
};
|
|
@@ -265,6 +280,7 @@ exports.Prisma.VehicleScalarFieldEnum = {
|
|
|
265
280
|
license_plate: 'license_plate',
|
|
266
281
|
brand_id: 'brand_id',
|
|
267
282
|
model_id: 'model_id',
|
|
283
|
+
vehicle_type_id: 'vehicle_type_id',
|
|
268
284
|
capacity: 'capacity',
|
|
269
285
|
year: 'year',
|
|
270
286
|
fuel_type: 'fuel_type',
|
|
@@ -274,6 +290,8 @@ exports.Prisma.VehicleScalarFieldEnum = {
|
|
|
274
290
|
gps_enabled: 'gps_enabled',
|
|
275
291
|
image_url: 'image_url',
|
|
276
292
|
company_id: 'company_id',
|
|
293
|
+
is_validated: 'is_validated',
|
|
294
|
+
documents: 'documents',
|
|
277
295
|
created_at: 'created_at',
|
|
278
296
|
updated_at: 'updated_at'
|
|
279
297
|
};
|
|
@@ -373,6 +391,8 @@ exports.Prisma.EquipmentScalarFieldEnum = {
|
|
|
373
391
|
status: 'status',
|
|
374
392
|
company_id: 'company_id',
|
|
375
393
|
vehicle_id: 'vehicle_id',
|
|
394
|
+
is_validated: 'is_validated',
|
|
395
|
+
documents: 'documents',
|
|
376
396
|
created_at: 'created_at',
|
|
377
397
|
updated_at: 'updated_at'
|
|
378
398
|
};
|
|
@@ -406,6 +426,235 @@ exports.Prisma.DriverLocationScalarFieldEnum = {
|
|
|
406
426
|
updated_at: 'updated_at'
|
|
407
427
|
};
|
|
408
428
|
|
|
429
|
+
exports.Prisma.FormTemplateScalarFieldEnum = {
|
|
430
|
+
id: 'id',
|
|
431
|
+
name: 'name',
|
|
432
|
+
description: 'description',
|
|
433
|
+
company_id: 'company_id',
|
|
434
|
+
is_active: 'is_active',
|
|
435
|
+
is_global: 'is_global',
|
|
436
|
+
category: 'category',
|
|
437
|
+
version: 'version',
|
|
438
|
+
created_by: 'created_by',
|
|
439
|
+
created_at: 'created_at',
|
|
440
|
+
updated_at: 'updated_at'
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
exports.Prisma.TemplateFieldScalarFieldEnum = {
|
|
444
|
+
id: 'id',
|
|
445
|
+
template_id: 'template_id',
|
|
446
|
+
label: 'label',
|
|
447
|
+
field_type: 'field_type',
|
|
448
|
+
placeholder: 'placeholder',
|
|
449
|
+
help_text: 'help_text',
|
|
450
|
+
is_required: 'is_required',
|
|
451
|
+
order: 'order',
|
|
452
|
+
options: 'options',
|
|
453
|
+
validations: 'validations',
|
|
454
|
+
default_value: 'default_value',
|
|
455
|
+
conditional_logic: 'conditional_logic',
|
|
456
|
+
created_at: 'created_at',
|
|
457
|
+
updated_at: 'updated_at'
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
exports.Prisma.FormResponseScalarFieldEnum = {
|
|
461
|
+
id: 'id',
|
|
462
|
+
template_id: 'template_id',
|
|
463
|
+
form_id: 'form_id',
|
|
464
|
+
entity_type: 'entity_type',
|
|
465
|
+
entity_id: 'entity_id',
|
|
466
|
+
company_id: 'company_id',
|
|
467
|
+
respondent_id: 'respondent_id',
|
|
468
|
+
responses: 'responses',
|
|
469
|
+
status: 'status',
|
|
470
|
+
submitted_at: 'submitted_at',
|
|
471
|
+
created_at: 'created_at',
|
|
472
|
+
updated_at: 'updated_at'
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
exports.Prisma.FormScalarFieldEnum = {
|
|
476
|
+
id: 'id',
|
|
477
|
+
name: 'name',
|
|
478
|
+
description: 'description',
|
|
479
|
+
template_id: 'template_id',
|
|
480
|
+
company_id: 'company_id',
|
|
481
|
+
target_type: 'target_type',
|
|
482
|
+
target_ids: 'target_ids',
|
|
483
|
+
is_required: 'is_required',
|
|
484
|
+
due_date: 'due_date',
|
|
485
|
+
status: 'status',
|
|
486
|
+
created_by: 'created_by',
|
|
487
|
+
created_at: 'created_at',
|
|
488
|
+
updated_at: 'updated_at'
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
exports.Prisma.FormFieldScalarFieldEnum = {
|
|
492
|
+
id: 'id',
|
|
493
|
+
form_id: 'form_id',
|
|
494
|
+
source_field_id: 'source_field_id',
|
|
495
|
+
label: 'label',
|
|
496
|
+
field_type: 'field_type',
|
|
497
|
+
placeholder: 'placeholder',
|
|
498
|
+
help_text: 'help_text',
|
|
499
|
+
is_required: 'is_required',
|
|
500
|
+
order: 'order',
|
|
501
|
+
options: 'options',
|
|
502
|
+
validations: 'validations',
|
|
503
|
+
default_value: 'default_value',
|
|
504
|
+
conditional_logic: 'conditional_logic',
|
|
505
|
+
created_at: 'created_at',
|
|
506
|
+
updated_at: 'updated_at'
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
exports.Prisma.VehicleTypeScalarFieldEnum = {
|
|
510
|
+
id: 'id',
|
|
511
|
+
name: 'name',
|
|
512
|
+
description: 'description',
|
|
513
|
+
is_active: 'is_active',
|
|
514
|
+
created_at: 'created_at',
|
|
515
|
+
updated_at: 'updated_at'
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
exports.Prisma.VehicleEquipmentScalarFieldEnum = {
|
|
519
|
+
id: 'id',
|
|
520
|
+
name: 'name'
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
exports.Prisma.TenderScalarFieldEnum = {
|
|
524
|
+
id: 'id',
|
|
525
|
+
title: 'title',
|
|
526
|
+
description: 'description',
|
|
527
|
+
status: 'status',
|
|
528
|
+
tender_type: 'tender_type',
|
|
529
|
+
tender_mode: 'tender_mode',
|
|
530
|
+
budget: 'budget',
|
|
531
|
+
currency: 'currency',
|
|
532
|
+
user_id: 'user_id',
|
|
533
|
+
company_id: 'company_id',
|
|
534
|
+
order_id: 'order_id',
|
|
535
|
+
trip_type: 'trip_type',
|
|
536
|
+
expiration_date: 'expiration_date',
|
|
537
|
+
terms_and_conditions: 'terms_and_conditions',
|
|
538
|
+
created_at: 'created_at',
|
|
539
|
+
updated_at: 'updated_at'
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
exports.Prisma.TenderVehicleScalarFieldEnum = {
|
|
543
|
+
id: 'id',
|
|
544
|
+
tender_id: 'tender_id',
|
|
545
|
+
vehicle_type_id: 'vehicle_type_id',
|
|
546
|
+
quantity: 'quantity',
|
|
547
|
+
min_weight_capacity: 'min_weight_capacity',
|
|
548
|
+
weight_unit: 'weight_unit',
|
|
549
|
+
min_volume_capacity: 'min_volume_capacity',
|
|
550
|
+
dimension_unit: 'dimension_unit',
|
|
551
|
+
min_year: 'min_year',
|
|
552
|
+
pickup_datetime: 'pickup_datetime',
|
|
553
|
+
delivery_datetime: 'delivery_datetime',
|
|
554
|
+
pickup_instructions: 'pickup_instructions',
|
|
555
|
+
delivery_instructions: 'delivery_instructions',
|
|
556
|
+
budget_per_vehicle: 'budget_per_vehicle',
|
|
557
|
+
currency: 'currency',
|
|
558
|
+
is_negotiable: 'is_negotiable',
|
|
559
|
+
created_at: 'created_at',
|
|
560
|
+
updated_at: 'updated_at'
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
exports.Prisma.TenderVehicleEquipmentScalarFieldEnum = {
|
|
564
|
+
id: 'id',
|
|
565
|
+
tender_vehicle_id: 'tender_vehicle_id',
|
|
566
|
+
vehicle_equipment_id: 'vehicle_equipment_id',
|
|
567
|
+
created_at: 'created_at',
|
|
568
|
+
updated_at: 'updated_at'
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
exports.Prisma.TenderChatScalarFieldEnum = {
|
|
572
|
+
id: 'id',
|
|
573
|
+
tender_id: 'tender_id',
|
|
574
|
+
user_sends_id: 'user_sends_id',
|
|
575
|
+
user_receives_id: 'user_receives_id',
|
|
576
|
+
message: 'message',
|
|
577
|
+
created_at: 'created_at'
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
exports.Prisma.TenderApplicationScalarFieldEnum = {
|
|
581
|
+
id: 'id',
|
|
582
|
+
status: 'status',
|
|
583
|
+
tender_vehicle_id: 'tender_vehicle_id',
|
|
584
|
+
vehicle_id: 'vehicle_id',
|
|
585
|
+
user_id: 'user_id',
|
|
586
|
+
updated_user_id: 'updated_user_id',
|
|
587
|
+
accepts_terms_conditions: 'accepts_terms_conditions',
|
|
588
|
+
postulated_price: 'postulated_price',
|
|
589
|
+
currency: 'currency',
|
|
590
|
+
created_at: 'created_at',
|
|
591
|
+
updated_at: 'updated_at',
|
|
592
|
+
edit_limit: 'edit_limit'
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
exports.Prisma.GroupScalarFieldEnum = {
|
|
596
|
+
id: 'id',
|
|
597
|
+
name: 'name',
|
|
598
|
+
company_id: 'company_id',
|
|
599
|
+
created_at: 'created_at',
|
|
600
|
+
updated_at: 'updated_at'
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
exports.Prisma.UserGroupScalarFieldEnum = {
|
|
604
|
+
id: 'id',
|
|
605
|
+
user_id: 'user_id',
|
|
606
|
+
group_id: 'group_id',
|
|
607
|
+
created_at: 'created_at',
|
|
608
|
+
updated_at: 'updated_at'
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
exports.Prisma.TenderNotificationScalarFieldEnum = {
|
|
612
|
+
id: 'id',
|
|
613
|
+
tender_id: 'tender_id',
|
|
614
|
+
user_id: 'user_id',
|
|
615
|
+
group_id: 'group_id',
|
|
616
|
+
whatsapp: 'whatsapp',
|
|
617
|
+
email: 'email',
|
|
618
|
+
push: 'push',
|
|
619
|
+
message: 'message',
|
|
620
|
+
created_at: 'created_at'
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
exports.Prisma.LocationScalarFieldEnum = {
|
|
624
|
+
id: 'id',
|
|
625
|
+
title: 'title',
|
|
626
|
+
location_type: 'location_type',
|
|
627
|
+
country_code: 'country_code',
|
|
628
|
+
zip_code: 'zip_code',
|
|
629
|
+
created_at: 'created_at',
|
|
630
|
+
updated_at: 'updated_at'
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
exports.Prisma.CompanyLocationScalarFieldEnum = {
|
|
634
|
+
id: 'id',
|
|
635
|
+
company_id: 'company_id',
|
|
636
|
+
location_id: 'location_id',
|
|
637
|
+
is_active: 'is_active',
|
|
638
|
+
created_at: 'created_at',
|
|
639
|
+
updated_at: 'updated_at'
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
exports.Prisma.TenderLocationNotificationScalarFieldEnum = {
|
|
643
|
+
id: 'id',
|
|
644
|
+
tender_id: 'tender_id',
|
|
645
|
+
location_id: 'location_id',
|
|
646
|
+
created_at: 'created_at',
|
|
647
|
+
updated_at: 'updated_at'
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
exports.Prisma.RegularSupplierScalarFieldEnum = {
|
|
651
|
+
id: 'id',
|
|
652
|
+
company_id: 'company_id',
|
|
653
|
+
supplier_id: 'supplier_id',
|
|
654
|
+
created_at: 'created_at',
|
|
655
|
+
updated_at: 'updated_at'
|
|
656
|
+
};
|
|
657
|
+
|
|
409
658
|
exports.Prisma.SortOrder = {
|
|
410
659
|
asc: 'asc',
|
|
411
660
|
desc: 'desc'
|
|
@@ -416,6 +665,10 @@ exports.Prisma.NullableJsonNullValueInput = {
|
|
|
416
665
|
JsonNull: Prisma.JsonNull
|
|
417
666
|
};
|
|
418
667
|
|
|
668
|
+
exports.Prisma.JsonNullValueInput = {
|
|
669
|
+
JsonNull: Prisma.JsonNull
|
|
670
|
+
};
|
|
671
|
+
|
|
419
672
|
exports.Prisma.QueryMode = {
|
|
420
673
|
default: 'default',
|
|
421
674
|
insensitive: 'insensitive'
|
|
@@ -431,6 +684,67 @@ exports.Prisma.JsonNullValueFilter = {
|
|
|
431
684
|
JsonNull: Prisma.JsonNull,
|
|
432
685
|
AnyNull: Prisma.AnyNull
|
|
433
686
|
};
|
|
687
|
+
exports.PackagingType = exports.$Enums.PackagingType = {
|
|
688
|
+
BOX: 'BOX',
|
|
689
|
+
PALLET: 'PALLET',
|
|
690
|
+
CRATE: 'CRATE',
|
|
691
|
+
BARREL: 'BARREL',
|
|
692
|
+
BAG: 'BAG',
|
|
693
|
+
ROLL: 'ROLL',
|
|
694
|
+
BUNDLE: 'BUNDLE',
|
|
695
|
+
CONTAINER: 'CONTAINER',
|
|
696
|
+
LOOSE: 'LOOSE',
|
|
697
|
+
OTHER: 'OTHER'
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
exports.ProductCategory = exports.$Enums.ProductCategory = {
|
|
701
|
+
ELECTRONICS: 'ELECTRONICS',
|
|
702
|
+
FOOD_BEVERAGE: 'FOOD_BEVERAGE',
|
|
703
|
+
PHARMACEUTICALS: 'PHARMACEUTICALS',
|
|
704
|
+
TEXTILES: 'TEXTILES',
|
|
705
|
+
MACHINERY: 'MACHINERY',
|
|
706
|
+
CHEMICALS: 'CHEMICALS',
|
|
707
|
+
CONSTRUCTION: 'CONSTRUCTION',
|
|
708
|
+
AUTOMOTIVE: 'AUTOMOTIVE',
|
|
709
|
+
AGRICULTURE: 'AGRICULTURE',
|
|
710
|
+
FURNITURE: 'FURNITURE',
|
|
711
|
+
PAPER: 'PAPER',
|
|
712
|
+
PLASTICS: 'PLASTICS',
|
|
713
|
+
METALS: 'METALS',
|
|
714
|
+
GLASS: 'GLASS',
|
|
715
|
+
OTHER: 'OTHER'
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
exports.ProductSubcategory = exports.$Enums.ProductSubcategory = {
|
|
719
|
+
RAW_MATERIALS: 'RAW_MATERIALS',
|
|
720
|
+
FINISHED_GOODS: 'FINISHED_GOODS',
|
|
721
|
+
SEMI_FINISHED: 'SEMI_FINISHED',
|
|
722
|
+
SPARE_PARTS: 'SPARE_PARTS',
|
|
723
|
+
CONSUMABLES: 'CONSUMABLES',
|
|
724
|
+
HAZARDOUS: 'HAZARDOUS',
|
|
725
|
+
FRAGILE: 'FRAGILE',
|
|
726
|
+
PERISHABLE: 'PERISHABLE',
|
|
727
|
+
REFRIGERATED: 'REFRIGERATED',
|
|
728
|
+
FROZEN: 'FROZEN',
|
|
729
|
+
BULK: 'BULK',
|
|
730
|
+
LIQUID: 'LIQUID',
|
|
731
|
+
OVERSIZED: 'OVERSIZED',
|
|
732
|
+
HIGH_VALUE: 'HIGH_VALUE',
|
|
733
|
+
OTHER: 'OTHER'
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
exports.DimensionUnits = exports.$Enums.DimensionUnits = {
|
|
737
|
+
CM: 'CM',
|
|
738
|
+
IN: 'IN',
|
|
739
|
+
MT: 'MT',
|
|
740
|
+
FT: 'FT'
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
exports.WeightUnits = exports.$Enums.WeightUnits = {
|
|
744
|
+
KG: 'KG',
|
|
745
|
+
LB: 'LB'
|
|
746
|
+
};
|
|
747
|
+
|
|
434
748
|
exports.AddressType = exports.$Enums.AddressType = {
|
|
435
749
|
PICKUP: 'PICKUP',
|
|
436
750
|
DELIVERY: 'DELIVERY',
|
|
@@ -460,18 +774,6 @@ exports.RouteStatus = exports.$Enums.RouteStatus = {
|
|
|
460
774
|
INCIDENT: 'INCIDENT'
|
|
461
775
|
};
|
|
462
776
|
|
|
463
|
-
exports.WeightUnits = exports.$Enums.WeightUnits = {
|
|
464
|
-
KG: 'KG',
|
|
465
|
-
LB: 'LB'
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
exports.DimensionUnits = exports.$Enums.DimensionUnits = {
|
|
469
|
-
CM: 'CM',
|
|
470
|
-
IN: 'IN',
|
|
471
|
-
MT: 'MT',
|
|
472
|
-
FT: 'FT'
|
|
473
|
-
};
|
|
474
|
-
|
|
475
777
|
exports.Roles = exports.$Enums.Roles = {
|
|
476
778
|
ADMIN: 'ADMIN',
|
|
477
779
|
OPERATOR: 'OPERATOR',
|
|
@@ -529,12 +831,92 @@ exports.GpsProviders = exports.$Enums.GpsProviders = {
|
|
|
529
831
|
SASCAR: 'SASCAR'
|
|
530
832
|
};
|
|
531
833
|
|
|
834
|
+
exports.FieldType = exports.$Enums.FieldType = {
|
|
835
|
+
TEXT: 'TEXT',
|
|
836
|
+
TEXTAREA: 'TEXTAREA',
|
|
837
|
+
NUMBER: 'NUMBER',
|
|
838
|
+
EMAIL: 'EMAIL',
|
|
839
|
+
PHONE: 'PHONE',
|
|
840
|
+
DATE: 'DATE',
|
|
841
|
+
DATETIME: 'DATETIME',
|
|
842
|
+
TIME: 'TIME',
|
|
843
|
+
SELECT: 'SELECT',
|
|
844
|
+
MULTISELECT: 'MULTISELECT',
|
|
845
|
+
CHECKBOX: 'CHECKBOX',
|
|
846
|
+
RADIO: 'RADIO',
|
|
847
|
+
FILE: 'FILE',
|
|
848
|
+
IMAGE: 'IMAGE',
|
|
849
|
+
SIGNATURE: 'SIGNATURE',
|
|
850
|
+
LOCATION: 'LOCATION'
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
exports.FormResponseStatus = exports.$Enums.FormResponseStatus = {
|
|
854
|
+
DRAFT: 'DRAFT',
|
|
855
|
+
SUBMITTED: 'SUBMITTED',
|
|
856
|
+
APPROVED: 'APPROVED',
|
|
857
|
+
REJECTED: 'REJECTED'
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
exports.FormTargetType = exports.$Enums.FormTargetType = {
|
|
861
|
+
DRIVER: 'DRIVER',
|
|
862
|
+
VEHICLE: 'VEHICLE',
|
|
863
|
+
COMPANY_PARTNER: 'COMPANY_PARTNER',
|
|
864
|
+
CLIENT: 'CLIENT',
|
|
865
|
+
ORDER: 'ORDER',
|
|
866
|
+
ROUTE: 'ROUTE'
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
exports.FormStatus = exports.$Enums.FormStatus = {
|
|
870
|
+
ACTIVE: 'ACTIVE',
|
|
871
|
+
COMPLETED: 'COMPLETED',
|
|
872
|
+
CANCELLED: 'CANCELLED',
|
|
873
|
+
EXPIRED: 'EXPIRED'
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
exports.TenderStatus = exports.$Enums.TenderStatus = {
|
|
877
|
+
OPEN: 'OPEN',
|
|
878
|
+
CLOSED: 'CLOSED',
|
|
879
|
+
AWARDED: 'AWARDED',
|
|
880
|
+
CANCELLED: 'CANCELLED',
|
|
881
|
+
DRAFT: 'DRAFT',
|
|
882
|
+
PAUSED: 'PAUSED'
|
|
883
|
+
};
|
|
884
|
+
|
|
885
|
+
exports.TenderType = exports.$Enums.TenderType = {
|
|
886
|
+
FIXED_PRICE_TENDER: 'FIXED_PRICE_TENDER',
|
|
887
|
+
TENDER_WITHOUT_FIXED_PRICES: 'TENDER_WITHOUT_FIXED_PRICES'
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
exports.TenderMode = exports.$Enums.TenderMode = {
|
|
891
|
+
PUBLIC: 'PUBLIC',
|
|
892
|
+
PRIVATE: 'PRIVATE'
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
exports.TripType = exports.$Enums.TripType = {
|
|
896
|
+
NATIONAL: 'NATIONAL',
|
|
897
|
+
INTERNATIONAL: 'INTERNATIONAL'
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
|
|
901
|
+
PENDING: 'PENDING',
|
|
902
|
+
APPROVED: 'APPROVED',
|
|
903
|
+
REJECTED: 'REJECTED',
|
|
904
|
+
WITHDRAWN: 'WITHDRAWN'
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
exports.LocationType = exports.$Enums.LocationType = {
|
|
908
|
+
CITY: 'CITY',
|
|
909
|
+
STATE: 'STATE',
|
|
910
|
+
COUNTRY: 'COUNTRY'
|
|
911
|
+
};
|
|
912
|
+
|
|
532
913
|
exports.Prisma.ModelName = {
|
|
914
|
+
Product: 'Product',
|
|
533
915
|
Client: 'Client',
|
|
534
916
|
ClientAddress: 'ClientAddress',
|
|
535
917
|
ClientContact: 'ClientContact',
|
|
536
918
|
Order: 'Order',
|
|
537
|
-
|
|
919
|
+
Companies: 'Companies',
|
|
538
920
|
HandlingUnit: 'HandlingUnit',
|
|
539
921
|
User: 'User',
|
|
540
922
|
UserCompany: 'UserCompany',
|
|
@@ -550,7 +932,26 @@ exports.Prisma.ModelName = {
|
|
|
550
932
|
EquipmentModel: 'EquipmentModel',
|
|
551
933
|
Equipment: 'Equipment',
|
|
552
934
|
VehicleLocation: 'VehicleLocation',
|
|
553
|
-
DriverLocation: 'DriverLocation'
|
|
935
|
+
DriverLocation: 'DriverLocation',
|
|
936
|
+
FormTemplate: 'FormTemplate',
|
|
937
|
+
TemplateField: 'TemplateField',
|
|
938
|
+
FormResponse: 'FormResponse',
|
|
939
|
+
Form: 'Form',
|
|
940
|
+
FormField: 'FormField',
|
|
941
|
+
VehicleType: 'VehicleType',
|
|
942
|
+
VehicleEquipment: 'VehicleEquipment',
|
|
943
|
+
Tender: 'Tender',
|
|
944
|
+
TenderVehicle: 'TenderVehicle',
|
|
945
|
+
TenderVehicleEquipment: 'TenderVehicleEquipment',
|
|
946
|
+
TenderChat: 'TenderChat',
|
|
947
|
+
TenderApplication: 'TenderApplication',
|
|
948
|
+
Group: 'Group',
|
|
949
|
+
UserGroup: 'UserGroup',
|
|
950
|
+
TenderNotification: 'TenderNotification',
|
|
951
|
+
Location: 'Location',
|
|
952
|
+
CompanyLocation: 'CompanyLocation',
|
|
953
|
+
TenderLocationNotification: 'TenderLocationNotification',
|
|
954
|
+
RegularSupplier: 'RegularSupplier'
|
|
554
955
|
};
|
|
555
956
|
|
|
556
957
|
/**
|