@delpa/mt-prisma 0.13.0 → 0.14.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.
@@ -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',
@@ -406,6 +426,86 @@ 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
+
409
509
  exports.Prisma.SortOrder = {
410
510
  asc: 'asc',
411
511
  desc: 'desc'
@@ -416,6 +516,10 @@ exports.Prisma.NullableJsonNullValueInput = {
416
516
  JsonNull: Prisma.JsonNull
417
517
  };
418
518
 
519
+ exports.Prisma.JsonNullValueInput = {
520
+ JsonNull: Prisma.JsonNull
521
+ };
522
+
419
523
  exports.Prisma.QueryMode = {
420
524
  default: 'default',
421
525
  insensitive: 'insensitive'
@@ -431,6 +535,67 @@ exports.Prisma.JsonNullValueFilter = {
431
535
  JsonNull: Prisma.JsonNull,
432
536
  AnyNull: Prisma.AnyNull
433
537
  };
538
+ exports.PackagingType = exports.$Enums.PackagingType = {
539
+ BOX: 'BOX',
540
+ PALLET: 'PALLET',
541
+ CRATE: 'CRATE',
542
+ BARREL: 'BARREL',
543
+ BAG: 'BAG',
544
+ ROLL: 'ROLL',
545
+ BUNDLE: 'BUNDLE',
546
+ CONTAINER: 'CONTAINER',
547
+ LOOSE: 'LOOSE',
548
+ OTHER: 'OTHER'
549
+ };
550
+
551
+ exports.ProductCategory = exports.$Enums.ProductCategory = {
552
+ ELECTRONICS: 'ELECTRONICS',
553
+ FOOD_BEVERAGE: 'FOOD_BEVERAGE',
554
+ PHARMACEUTICALS: 'PHARMACEUTICALS',
555
+ TEXTILES: 'TEXTILES',
556
+ MACHINERY: 'MACHINERY',
557
+ CHEMICALS: 'CHEMICALS',
558
+ CONSTRUCTION: 'CONSTRUCTION',
559
+ AUTOMOTIVE: 'AUTOMOTIVE',
560
+ AGRICULTURE: 'AGRICULTURE',
561
+ FURNITURE: 'FURNITURE',
562
+ PAPER: 'PAPER',
563
+ PLASTICS: 'PLASTICS',
564
+ METALS: 'METALS',
565
+ GLASS: 'GLASS',
566
+ OTHER: 'OTHER'
567
+ };
568
+
569
+ exports.ProductSubcategory = exports.$Enums.ProductSubcategory = {
570
+ RAW_MATERIALS: 'RAW_MATERIALS',
571
+ FINISHED_GOODS: 'FINISHED_GOODS',
572
+ SEMI_FINISHED: 'SEMI_FINISHED',
573
+ SPARE_PARTS: 'SPARE_PARTS',
574
+ CONSUMABLES: 'CONSUMABLES',
575
+ HAZARDOUS: 'HAZARDOUS',
576
+ FRAGILE: 'FRAGILE',
577
+ PERISHABLE: 'PERISHABLE',
578
+ REFRIGERATED: 'REFRIGERATED',
579
+ FROZEN: 'FROZEN',
580
+ BULK: 'BULK',
581
+ LIQUID: 'LIQUID',
582
+ OVERSIZED: 'OVERSIZED',
583
+ HIGH_VALUE: 'HIGH_VALUE',
584
+ OTHER: 'OTHER'
585
+ };
586
+
587
+ exports.DimensionUnits = exports.$Enums.DimensionUnits = {
588
+ CM: 'CM',
589
+ IN: 'IN',
590
+ MT: 'MT',
591
+ FT: 'FT'
592
+ };
593
+
594
+ exports.WeightUnits = exports.$Enums.WeightUnits = {
595
+ KG: 'KG',
596
+ LB: 'LB'
597
+ };
598
+
434
599
  exports.AddressType = exports.$Enums.AddressType = {
435
600
  PICKUP: 'PICKUP',
436
601
  DELIVERY: 'DELIVERY',
@@ -460,18 +625,6 @@ exports.RouteStatus = exports.$Enums.RouteStatus = {
460
625
  INCIDENT: 'INCIDENT'
461
626
  };
462
627
 
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
628
  exports.Roles = exports.$Enums.Roles = {
476
629
  ADMIN: 'ADMIN',
477
630
  OPERATOR: 'OPERATOR',
@@ -529,7 +682,50 @@ exports.GpsProviders = exports.$Enums.GpsProviders = {
529
682
  SASCAR: 'SASCAR'
530
683
  };
531
684
 
685
+ exports.FieldType = exports.$Enums.FieldType = {
686
+ TEXT: 'TEXT',
687
+ TEXTAREA: 'TEXTAREA',
688
+ NUMBER: 'NUMBER',
689
+ EMAIL: 'EMAIL',
690
+ PHONE: 'PHONE',
691
+ DATE: 'DATE',
692
+ DATETIME: 'DATETIME',
693
+ TIME: 'TIME',
694
+ SELECT: 'SELECT',
695
+ MULTISELECT: 'MULTISELECT',
696
+ CHECKBOX: 'CHECKBOX',
697
+ RADIO: 'RADIO',
698
+ FILE: 'FILE',
699
+ IMAGE: 'IMAGE',
700
+ SIGNATURE: 'SIGNATURE',
701
+ LOCATION: 'LOCATION'
702
+ };
703
+
704
+ exports.FormResponseStatus = exports.$Enums.FormResponseStatus = {
705
+ DRAFT: 'DRAFT',
706
+ SUBMITTED: 'SUBMITTED',
707
+ APPROVED: 'APPROVED',
708
+ REJECTED: 'REJECTED'
709
+ };
710
+
711
+ exports.FormTargetType = exports.$Enums.FormTargetType = {
712
+ DRIVER: 'DRIVER',
713
+ VEHICLE: 'VEHICLE',
714
+ COMPANY_PARTNER: 'COMPANY_PARTNER',
715
+ CLIENT: 'CLIENT',
716
+ ORDER: 'ORDER',
717
+ ROUTE: 'ROUTE'
718
+ };
719
+
720
+ exports.FormStatus = exports.$Enums.FormStatus = {
721
+ ACTIVE: 'ACTIVE',
722
+ COMPLETED: 'COMPLETED',
723
+ CANCELLED: 'CANCELLED',
724
+ EXPIRED: 'EXPIRED'
725
+ };
726
+
532
727
  exports.Prisma.ModelName = {
728
+ Product: 'Product',
533
729
  Client: 'Client',
534
730
  ClientAddress: 'ClientAddress',
535
731
  ClientContact: 'ClientContact',
@@ -550,7 +746,12 @@ exports.Prisma.ModelName = {
550
746
  EquipmentModel: 'EquipmentModel',
551
747
  Equipment: 'Equipment',
552
748
  VehicleLocation: 'VehicleLocation',
553
- DriverLocation: 'DriverLocation'
749
+ DriverLocation: 'DriverLocation',
750
+ FormTemplate: 'FormTemplate',
751
+ TemplateField: 'TemplateField',
752
+ FormResponse: 'FormResponse',
753
+ Form: 'Form',
754
+ FormField: 'FormField'
554
755
  };
555
756
 
556
757
  /**