@machynx/data-db 1.0.6 → 1.0.7

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.
@@ -24,12 +24,12 @@ exports.Prisma = Prisma
24
24
  exports.$Enums = {}
25
25
 
26
26
  /**
27
- * Prisma Client JS version: 7.2.0
28
- * Query Engine version: 0c8ef2ce45c83248ab3df073180d5eda9e8be7a3
27
+ * Prisma Client JS version: 7.4.0
28
+ * Query Engine version: ab56fe763f921d033a6c195e7ddeb3e255bdbb57
29
29
  */
30
30
  Prisma.prismaVersion = {
31
- client: "7.2.0",
32
- engine: "0c8ef2ce45c83248ab3df073180d5eda9e8be7a3"
31
+ client: "7.4.0",
32
+ engine: "ab56fe763f921d033a6c195e7ddeb3e255bdbb57"
33
33
  }
34
34
 
35
35
  Prisma.PrismaClientKnownRequestError = () => {
@@ -124,14 +124,35 @@ exports.Prisma.MachineHourlyAnalyticsScalarFieldEnum = {
124
124
  id: 'id',
125
125
  machineId: 'machineId',
126
126
  organizationId: 'organizationId',
127
- totalProductionCount: 'totalProductionCount',
127
+ totalProduction: 'totalProduction',
128
+ productionUnit: 'productionUnit',
129
+ passedProduction: 'passedProduction',
130
+ rejectedProduction: 'rejectedProduction',
131
+ reworkProduction: 'reworkProduction',
132
+ wasteProduction: 'wasteProduction',
128
133
  efficiency: 'efficiency',
129
134
  utilization: 'utilization',
135
+ availability: 'availability',
136
+ performance: 'performance',
137
+ quality: 'quality',
138
+ oee: 'oee',
130
139
  totalPowerConsumed: 'totalPowerConsumed',
140
+ runningTime: 'runningTime',
131
141
  idleTime: 'idleTime',
142
+ stoppedTime: 'stoppedTime',
143
+ alarmTime: 'alarmTime',
144
+ setupTime: 'setupTime',
145
+ maintenanceTime: 'maintenanceTime',
132
146
  nonWorkingTime: 'nonWorkingTime',
133
147
  upTime: 'upTime',
134
148
  productiveTime: 'productiveTime',
149
+ cycleCount: 'cycleCount',
150
+ avgCycleTime: 'avgCycleTime',
151
+ minCycleTime: 'minCycleTime',
152
+ maxCycleTime: 'maxCycleTime',
153
+ expectedYield: 'expectedYield',
154
+ actualYield: 'actualYield',
155
+ lossPercentage: 'lossPercentage',
135
156
  startDateTime: 'startDateTime',
136
157
  endDateTime: 'endDateTime',
137
158
  createdAt: 'createdAt',
@@ -142,7 +163,12 @@ exports.Prisma.MachineDailyAnalyticsScalarFieldEnum = {
142
163
  id: 'id',
143
164
  machineId: 'machineId',
144
165
  organizationId: 'organizationId',
145
- totalProductionCount: 'totalProductionCount',
166
+ totalProduction: 'totalProduction',
167
+ productionUnit: 'productionUnit',
168
+ passedProduction: 'passedProduction',
169
+ rejectedProduction: 'rejectedProduction',
170
+ reworkProduction: 'reworkProduction',
171
+ wasteProduction: 'wasteProduction',
146
172
  avgEfficiency: 'avgEfficiency',
147
173
  avgUtilization: 'avgUtilization',
148
174
  totalPowerConsumed: 'totalPowerConsumed',
@@ -156,7 +182,12 @@ exports.Prisma.MachineMonthlyAnalyticsScalarFieldEnum = {
156
182
  id: 'id',
157
183
  machineId: 'machineId',
158
184
  organizationId: 'organizationId',
159
- totalProductionCount: 'totalProductionCount',
185
+ totalProduction: 'totalProduction',
186
+ productionUnit: 'productionUnit',
187
+ passedProduction: 'passedProduction',
188
+ rejectedProduction: 'rejectedProduction',
189
+ reworkProduction: 'reworkProduction',
190
+ wasteProduction: 'wasteProduction',
160
191
  avgEfficiency: 'avgEfficiency',
161
192
  totalPowerConsumed: 'totalPowerConsumed',
162
193
  month: 'month',
@@ -171,7 +202,8 @@ exports.Prisma.LineHourlyAnalyticsScalarFieldEnum = {
171
202
  organizationId: 'organizationId',
172
203
  averageEfficiency: 'averageEfficiency',
173
204
  averageUtilization: 'averageUtilization',
174
- totalProductionCount: 'totalProductionCount',
205
+ totalProduction: 'totalProduction',
206
+ productionUnit: 'productionUnit',
175
207
  startDateTime: 'startDateTime',
176
208
  endDateTime: 'endDateTime',
177
209
  createdAt: 'createdAt',
@@ -183,7 +215,8 @@ exports.Prisma.FloorHourlyAnalyticsScalarFieldEnum = {
183
215
  floorId: 'floorId',
184
216
  organizationId: 'organizationId',
185
217
  averageEfficiency: 'averageEfficiency',
186
- totalProductionCount: 'totalProductionCount',
218
+ totalProduction: 'totalProduction',
219
+ productionUnit: 'productionUnit',
187
220
  startDateTime: 'startDateTime',
188
221
  endDateTime: 'endDateTime',
189
222
  createdAt: 'createdAt',
@@ -195,7 +228,8 @@ exports.Prisma.FactoryHourlyAnalyticsScalarFieldEnum = {
195
228
  factoryId: 'factoryId',
196
229
  organizationId: 'organizationId',
197
230
  averageEfficiency: 'averageEfficiency',
198
- totalProductionCount: 'totalProductionCount',
231
+ totalProduction: 'totalProduction',
232
+ productionUnit: 'productionUnit',
199
233
  startDateTime: 'startDateTime',
200
234
  endDateTime: 'endDateTime',
201
235
  createdAt: 'createdAt',
@@ -261,55 +295,1101 @@ exports.Prisma.DevicePowerSensorHourlyAnalyticsScalarFieldEnum = {
261
295
  updatedAt: 'updatedAt'
262
296
  };
263
297
 
298
+ exports.Prisma.ProtocolDataSourceHourlyAnalyticsScalarFieldEnum = {
299
+ id: 'id',
300
+ dataSourceId: 'dataSourceId',
301
+ totalSamples: 'totalSamples',
302
+ successfulReads: 'successfulReads',
303
+ failedReads: 'failedReads',
304
+ avgValue: 'avgValue',
305
+ minValue: 'minValue',
306
+ maxValue: 'maxValue',
307
+ stdDev: 'stdDev',
308
+ avgResponseTimeMs: 'avgResponseTimeMs',
309
+ timeouts: 'timeouts',
310
+ crcErrors: 'crcErrors',
311
+ startDateTime: 'startDateTime',
312
+ endDateTime: 'endDateTime',
313
+ createdAt: 'createdAt',
314
+ updatedAt: 'updatedAt'
315
+ };
316
+
317
+ exports.Prisma.CurrentSensorHourlyAnalyticsScalarFieldEnum = {
318
+ id: 'id',
319
+ sensorHourlyAnalyticsId: 'sensorHourlyAnalyticsId',
320
+ avgCurrent: 'avgCurrent',
321
+ maxCurrent: 'maxCurrent',
322
+ minCurrent: 'minCurrent',
323
+ runTime: 'runTime',
324
+ idleTime: 'idleTime',
325
+ startDateTime: 'startDateTime',
326
+ endDateTime: 'endDateTime',
327
+ createdAt: 'createdAt',
328
+ updatedAt: 'updatedAt'
329
+ };
330
+
331
+ exports.Prisma.VibrationSensorHourlyAnalyticsScalarFieldEnum = {
332
+ id: 'id',
333
+ sensorHourlyAnalyticsId: 'sensorHourlyAnalyticsId',
334
+ avgRMS: 'avgRMS',
335
+ maxRMS: 'maxRMS',
336
+ dominantFrequency: 'dominantFrequency',
337
+ healthScore: 'healthScore',
338
+ alertCount: 'alertCount',
339
+ startDateTime: 'startDateTime',
340
+ endDateTime: 'endDateTime',
341
+ createdAt: 'createdAt',
342
+ updatedAt: 'updatedAt'
343
+ };
344
+
345
+ exports.Prisma.TemperatureSensorHourlyAnalyticsScalarFieldEnum = {
346
+ id: 'id',
347
+ sensorHourlyAnalyticsId: 'sensorHourlyAnalyticsId',
348
+ avgTemp: 'avgTemp',
349
+ maxTemp: 'maxTemp',
350
+ minTemp: 'minTemp',
351
+ timeAboveThreshold: 'timeAboveThreshold',
352
+ startDateTime: 'startDateTime',
353
+ endDateTime: 'endDateTime',
354
+ createdAt: 'createdAt',
355
+ updatedAt: 'updatedAt'
356
+ };
357
+
358
+ exports.Prisma.FlowSensorHourlyAnalyticsScalarFieldEnum = {
359
+ id: 'id',
360
+ sensorHourlyAnalyticsId: 'sensorHourlyAnalyticsId',
361
+ avgFlowRate: 'avgFlowRate',
362
+ totalVolume: 'totalVolume',
363
+ maxFlowRate: 'maxFlowRate',
364
+ minFlowRate: 'minFlowRate',
365
+ startDateTime: 'startDateTime',
366
+ endDateTime: 'endDateTime',
367
+ createdAt: 'createdAt',
368
+ updatedAt: 'updatedAt'
369
+ };
370
+
371
+ exports.Prisma.WeightSensorHourlyAnalyticsScalarFieldEnum = {
372
+ id: 'id',
373
+ sensorHourlyAnalyticsId: 'sensorHourlyAnalyticsId',
374
+ avgWeight: 'avgWeight',
375
+ maxWeight: 'maxWeight',
376
+ minWeight: 'minWeight',
377
+ totalMeasurements: 'totalMeasurements',
378
+ startDateTime: 'startDateTime',
379
+ endDateTime: 'endDateTime',
380
+ createdAt: 'createdAt',
381
+ updatedAt: 'updatedAt'
382
+ };
383
+
384
+ exports.Prisma.PressureSensorHourlyAnalyticsScalarFieldEnum = {
385
+ id: 'id',
386
+ sensorHourlyAnalyticsId: 'sensorHourlyAnalyticsId',
387
+ avgPressure: 'avgPressure',
388
+ maxPressure: 'maxPressure',
389
+ minPressure: 'minPressure',
390
+ timeOutOfRange: 'timeOutOfRange',
391
+ startDateTime: 'startDateTime',
392
+ endDateTime: 'endDateTime',
393
+ createdAt: 'createdAt',
394
+ updatedAt: 'updatedAt'
395
+ };
396
+
264
397
  exports.Prisma.AuditLogScalarFieldEnum = {
265
398
  id: 'id',
266
- entityName: 'entityName',
267
- entityId: 'entityId',
268
- action: 'action',
269
- userId: 'userId',
270
399
  organizationId: 'organizationId',
271
- timestamp: 'timestamp',
272
- httpMethod: 'httpMethod',
273
- route: 'route',
274
- statusCode: 'statusCode',
275
- ipAddress: 'ipAddress',
276
- userAgent: 'userAgent',
277
- oldValues: 'oldValues',
278
- newValues: 'newValues'
400
+ entityName: 'entityName',
401
+ entityId: 'entityId',
402
+ action: 'action',
403
+ userId: 'userId',
404
+ userName: 'userName',
405
+ roleNames: 'roleNames',
406
+ timestamp: 'timestamp',
407
+ httpMethod: 'httpMethod',
408
+ route: 'route',
409
+ statusCode: 'statusCode',
410
+ ipAddress: 'ipAddress',
411
+ userAgent: 'userAgent',
412
+ sessionId: 'sessionId',
413
+ duration: 'duration',
414
+ errorMessage: 'errorMessage',
415
+ changedFields: 'changedFields',
416
+ reasonForChange: 'reasonForChange',
417
+ payloadId: 'payloadId',
418
+ beforeValueHash: 'beforeValueHash',
419
+ afterValueHash: 'afterValueHash',
420
+ criticality: 'criticality',
421
+ isGxPRecord: 'isGxPRecord',
422
+ isComplianceEvent: 'isComplianceEvent',
423
+ relatedSignatureId: 'relatedSignatureId'
424
+ };
425
+
426
+ exports.Prisma.AuditLogPayloadScalarFieldEnum = {
427
+ id: 'id',
428
+ oldValues: 'oldValues',
429
+ newValues: 'newValues',
430
+ fullSnapshot: 'fullSnapshot',
431
+ isCompressed: 'isCompressed',
432
+ createdAt: 'createdAt'
433
+ };
434
+
435
+ exports.Prisma.ChatbotHistoryScalarFieldEnum = {
436
+ id: 'id',
437
+ title: 'title',
438
+ userId: 'userId',
439
+ organizationId: 'organizationId',
440
+ factoryId: 'factoryId',
441
+ machineId: 'machineId',
442
+ deviceId: 'deviceId',
443
+ sensorId: 'sensorId',
444
+ contextType: 'contextType',
445
+ contextData: 'contextData',
446
+ isArchived: 'isArchived',
447
+ createdAt: 'createdAt',
448
+ updatedAt: 'updatedAt'
449
+ };
450
+
451
+ exports.Prisma.ChatbotMessageScalarFieldEnum = {
452
+ id: 'id',
453
+ chatHistoryId: 'chatHistoryId',
454
+ sender: 'sender',
455
+ message: 'message',
456
+ tokensUsed: 'tokensUsed',
457
+ model: 'model',
458
+ cost: 'cost',
459
+ jsonContent: 'jsonContent',
460
+ retrievedChunkIds: 'retrievedChunkIds',
461
+ createdAt: 'createdAt',
462
+ updatedAt: 'updatedAt'
463
+ };
464
+
465
+ exports.Prisma.ChatbotKnowledgeBaseScalarFieldEnum = {
466
+ id: 'id',
467
+ organizationId: 'organizationId',
468
+ factoryId: 'factoryId',
469
+ machineId: 'machineId',
470
+ deviceId: 'deviceId',
471
+ sensorId: 'sensorId',
472
+ documentType: 'documentType',
473
+ title: 'title',
474
+ content: 'content',
475
+ summary: 'summary',
476
+ metadata: 'metadata',
477
+ fileUrl: 'fileUrl',
478
+ embeddingModel: 'embeddingModel',
479
+ embeddingStatus: 'embeddingStatus',
480
+ embeddingError: 'embeddingError',
481
+ isActive: 'isActive',
482
+ lastAccessedAt: 'lastAccessedAt',
483
+ accessCount: 'accessCount',
484
+ createdAt: 'createdAt',
485
+ updatedAt: 'updatedAt'
486
+ };
487
+
488
+ exports.Prisma.ChatbotKnowledgeChunkScalarFieldEnum = {
489
+ id: 'id',
490
+ knowledgeBaseId: 'knowledgeBaseId',
491
+ chunkIndex: 'chunkIndex',
492
+ content: 'content',
493
+ metadata: 'metadata',
494
+ tokenCount: 'tokenCount',
495
+ createdAt: 'createdAt',
496
+ updatedAt: 'updatedAt'
497
+ };
498
+
499
+ exports.Prisma.ChatbotSearchHistoryScalarFieldEnum = {
500
+ id: 'id',
501
+ userId: 'userId',
502
+ organizationId: 'organizationId',
503
+ query: 'query',
504
+ results: 'results',
505
+ clickedResults: 'clickedResults',
506
+ resultCount: 'resultCount',
507
+ wasHelpful: 'wasHelpful',
508
+ createdAt: 'createdAt'
509
+ };
510
+
511
+ exports.Prisma.DeviceConversationContextScalarFieldEnum = {
512
+ id: 'id',
513
+ organizationId: 'organizationId',
514
+ machineId: 'machineId',
515
+ deviceId: 'deviceId',
516
+ sensorId: 'sensorId',
517
+ entityType: 'entityType',
518
+ entityId: 'entityId',
519
+ personality: 'personality',
520
+ capabilities: 'capabilities',
521
+ currentState: 'currentState',
522
+ lastSync: 'lastSync',
523
+ isActive: 'isActive',
524
+ createdAt: 'createdAt',
525
+ updatedAt: 'updatedAt'
526
+ };
527
+
528
+ exports.Prisma.ChatbotFeedbackScalarFieldEnum = {
529
+ id: 'id',
530
+ chatHistoryId: 'chatHistoryId',
531
+ messageId: 'messageId',
532
+ userId: 'userId',
533
+ organizationId: 'organizationId',
534
+ rating: 'rating',
535
+ wasHelpful: 'wasHelpful',
536
+ feedback: 'feedback',
537
+ createdAt: 'createdAt'
538
+ };
539
+
540
+ exports.Prisma.FMEAScalarFieldEnum = {
541
+ id: 'id',
542
+ organizationId: 'organizationId',
543
+ fmeaNumber: 'fmeaNumber',
544
+ title: 'title',
545
+ type: 'type',
546
+ productId: 'productId',
547
+ productName: 'productName',
548
+ processId: 'processId',
549
+ partNumber: 'partNumber',
550
+ teamLead: 'teamLead',
551
+ teamMembers: 'teamMembers',
552
+ revision: 'revision',
553
+ revisionDate: 'revisionDate',
554
+ status: 'status',
555
+ approvedBy: 'approvedBy',
556
+ approverName: 'approverName',
557
+ approvedAt: 'approvedAt',
558
+ nextReviewDate: 'nextReviewDate',
559
+ createdAt: 'createdAt',
560
+ updatedAt: 'updatedAt'
561
+ };
562
+
563
+ exports.Prisma.FMEAItemScalarFieldEnum = {
564
+ id: 'id',
565
+ fmeaId: 'fmeaId',
566
+ processStep: 'processStep',
567
+ processFunction: 'processFunction',
568
+ failureMode: 'failureMode',
569
+ failureEffect: 'failureEffect',
570
+ failureCause: 'failureCause',
571
+ severity: 'severity',
572
+ severityJustification: 'severityJustification',
573
+ occurrence: 'occurrence',
574
+ occurrenceJustification: 'occurrenceJustification',
575
+ preventionControl: 'preventionControl',
576
+ detectionControl: 'detectionControl',
577
+ detection: 'detection',
578
+ detectionJustification: 'detectionJustification',
579
+ rpn: 'rpn',
580
+ riskLevel: 'riskLevel',
581
+ recommendedAction: 'recommendedAction',
582
+ responsibility: 'responsibility',
583
+ targetDate: 'targetDate',
584
+ actionTaken: 'actionTaken',
585
+ actionTakenBy: 'actionTakenBy',
586
+ actionTakenDate: 'actionTakenDate',
587
+ severityAfter: 'severityAfter',
588
+ occurrenceAfter: 'occurrenceAfter',
589
+ detectionAfter: 'detectionAfter',
590
+ rpnAfter: 'rpnAfter',
591
+ linkedMachineId: 'linkedMachineId',
592
+ linkedCAPAId: 'linkedCAPAId',
593
+ isActionRequired: 'isActionRequired',
594
+ isActionComplete: 'isActionComplete',
595
+ createdAt: 'createdAt',
596
+ updatedAt: 'updatedAt'
597
+ };
598
+
599
+ exports.Prisma.ControlPlanScalarFieldEnum = {
600
+ id: 'id',
601
+ organizationId: 'organizationId',
602
+ controlPlanNumber: 'controlPlanNumber',
603
+ title: 'title',
604
+ type: 'type',
605
+ productId: 'productId',
606
+ productName: 'productName',
607
+ partNumber: 'partNumber',
608
+ processId: 'processId',
609
+ revision: 'revision',
610
+ revisionDate: 'revisionDate',
611
+ status: 'status',
612
+ preparedBy: 'preparedBy',
613
+ preparedName: 'preparedName',
614
+ approvedBy: 'approvedBy',
615
+ approverName: 'approverName',
616
+ approvedAt: 'approvedAt',
617
+ effectiveDate: 'effectiveDate',
618
+ obsoleteDate: 'obsoleteDate',
619
+ createdAt: 'createdAt',
620
+ updatedAt: 'updatedAt'
621
+ };
622
+
623
+ exports.Prisma.ControlPlanItemScalarFieldEnum = {
624
+ id: 'id',
625
+ controlPlanId: 'controlPlanId',
626
+ processStep: 'processStep',
627
+ processNumber: 'processNumber',
628
+ machineId: 'machineId',
629
+ machineName: 'machineName',
630
+ characteristic: 'characteristic',
631
+ characteristicType: 'characteristicType',
632
+ classificationChar: 'classificationChar',
633
+ specification: 'specification',
634
+ lowerSpec: 'lowerSpec',
635
+ upperSpec: 'upperSpec',
636
+ targetValue: 'targetValue',
637
+ unit: 'unit',
638
+ controlMethod: 'controlMethod',
639
+ measurementDevice: 'measurementDevice',
640
+ sampleSize: 'sampleSize',
641
+ sampleFrequency: 'sampleFrequency',
642
+ reactionPlan: 'reactionPlan',
643
+ linkedMachineId: 'linkedMachineId',
644
+ autoGenerateTask: 'autoGenerateTask',
645
+ responsiblePerson: 'responsiblePerson',
646
+ createdAt: 'createdAt',
647
+ updatedAt: 'updatedAt'
648
+ };
649
+
650
+ exports.Prisma.PPAPSubmissionScalarFieldEnum = {
651
+ id: 'id',
652
+ organizationId: 'organizationId',
653
+ ppapNumber: 'ppapNumber',
654
+ productId: 'productId',
655
+ productName: 'productName',
656
+ partNumber: 'partNumber',
657
+ customerName: 'customerName',
658
+ customerPartNumber: 'customerPartNumber',
659
+ submissionLevel: 'submissionLevel',
660
+ status: 'status',
661
+ designRecordProvided: 'designRecordProvided',
662
+ engineeringChangeDocuments: 'engineeringChangeDocuments',
663
+ customerApprovalProvided: 'customerApprovalProvided',
664
+ dfmeaProvided: 'dfmeaProvided',
665
+ pfmeaProvided: 'pfmeaProvided',
666
+ processFlowDiagram: 'processFlowDiagram',
667
+ controlPlanProvided: 'controlPlanProvided',
668
+ msaStudiesProvided: 'msaStudiesProvided',
669
+ dimensionalResults: 'dimensionalResults',
670
+ materialTestResults: 'materialTestResults',
671
+ initialProcessStudies: 'initialProcessStudies',
672
+ qualifiedLabDocumentation: 'qualifiedLabDocumentation',
673
+ appearanceApprovalReport: 'appearanceApprovalReport',
674
+ sampleProductProvided: 'sampleProductProvided',
675
+ masterSampleProvided: 'masterSampleProvided',
676
+ checkingAidsProvided: 'checkingAidsProvided',
677
+ customerSpecificRequirements: 'customerSpecificRequirements',
678
+ partSubmissionWarrant: 'partSubmissionWarrant',
679
+ documentUrls: 'documentUrls',
680
+ submittedBy: 'submittedBy',
681
+ submittedName: 'submittedName',
682
+ submittedDate: 'submittedDate',
683
+ approvedBy: 'approvedBy',
684
+ approvalDate: 'approvalDate',
685
+ rejectionReason: 'rejectionReason',
686
+ validUntil: 'validUntil',
687
+ notes: 'notes',
688
+ createdAt: 'createdAt',
689
+ updatedAt: 'updatedAt'
690
+ };
691
+
692
+ exports.Prisma.Problem8DScalarFieldEnum = {
693
+ id: 'id',
694
+ organizationId: 'organizationId',
695
+ problemNumber: 'problemNumber',
696
+ title: 'title',
697
+ description: 'description',
698
+ sourceType: 'sourceType',
699
+ sourceRef: 'sourceRef',
700
+ customerId: 'customerId',
701
+ customerName: 'customerName',
702
+ productId: 'productId',
703
+ partNumber: 'partNumber',
704
+ batchNumbers: 'batchNumbers',
705
+ quantityAffected: 'quantityAffected',
706
+ d0_plan: 'd0_plan',
707
+ d0_completedAt: 'd0_completedAt',
708
+ d1_teamMembers: 'd1_teamMembers',
709
+ d1_teamLead: 'd1_teamLead',
710
+ d1_completedAt: 'd1_completedAt',
711
+ d2_problemDescription: 'd2_problemDescription',
712
+ d2_is_isNot: 'd2_is_isNot',
713
+ d2_completedAt: 'd2_completedAt',
714
+ d3_containmentAction: 'd3_containmentAction',
715
+ d3_verificationOfContainment: 'd3_verificationOfContainment',
716
+ d3_completedAt: 'd3_completedAt',
717
+ d4_rootCause: 'd4_rootCause',
718
+ d4_rootCauseVerification: 'd4_rootCauseVerification',
719
+ d4_whyWhyAnalysis: 'd4_whyWhyAnalysis',
720
+ d4_completedAt: 'd4_completedAt',
721
+ d5_correctiveActions: 'd5_correctiveActions',
722
+ d5_verificationPlan: 'd5_verificationPlan',
723
+ d5_completedAt: 'd5_completedAt',
724
+ d6_implementationPlan: 'd6_implementationPlan',
725
+ d6_implementedBy: 'd6_implementedBy',
726
+ d6_implementedAt: 'd6_implementedAt',
727
+ d7_preventiveActions: 'd7_preventiveActions',
728
+ d7_systemChanges: 'd7_systemChanges',
729
+ d7_completedAt: 'd7_completedAt',
730
+ d8_lessons: 'd8_lessons',
731
+ d8_recognition: 'd8_recognition',
732
+ d8_completedAt: 'd8_completedAt',
733
+ status: 'status',
734
+ detectedDate: 'detectedDate',
735
+ targetCloseDate: 'targetCloseDate',
736
+ closedDate: 'closedDate',
737
+ estimatedCost: 'estimatedCost',
738
+ actualCost: 'actualCost',
739
+ createdAt: 'createdAt',
740
+ updatedAt: 'updatedAt'
741
+ };
742
+
743
+ exports.Prisma.MasterFormulaRecordScalarFieldEnum = {
744
+ id: 'id',
745
+ organizationId: 'organizationId',
746
+ productId: 'productId',
747
+ productName: 'productName',
748
+ productCode: 'productCode',
749
+ mfrNumber: 'mfrNumber',
750
+ version: 'version',
751
+ revision: 'revision',
752
+ standardBatchSize: 'standardBatchSize',
753
+ batchSizeUnit: 'batchSizeUnit',
754
+ minBatchSize: 'minBatchSize',
755
+ maxBatchSize: 'maxBatchSize',
756
+ requiredEquipment: 'requiredEquipment',
757
+ status: 'status',
758
+ effectiveDate: 'effectiveDate',
759
+ obsoleteDate: 'obsoleteDate',
760
+ supersededBy: 'supersededBy',
761
+ authoredBy: 'authoredBy',
762
+ authorName: 'authorName',
763
+ reviewedBy: 'reviewedBy',
764
+ reviewerName: 'reviewerName',
765
+ approvedBy: 'approvedBy',
766
+ approverName: 'approverName',
767
+ approvedAt: 'approvedAt',
768
+ createdAt: 'createdAt',
769
+ updatedAt: 'updatedAt'
770
+ };
771
+
772
+ exports.Prisma.MFRMaterialScalarFieldEnum = {
773
+ id: 'id',
774
+ mfrId: 'mfrId',
775
+ materialId: 'materialId',
776
+ materialCode: 'materialCode',
777
+ materialName: 'materialName',
778
+ materialType: 'materialType',
779
+ quantity: 'quantity',
780
+ unit: 'unit',
781
+ tolerancePlus: 'tolerancePlus',
782
+ toleranceMinus: 'toleranceMinus',
783
+ additionStage: 'additionStage',
784
+ instructions: 'instructions',
785
+ sequence: 'sequence',
786
+ createdAt: 'createdAt',
787
+ updatedAt: 'updatedAt'
788
+ };
789
+
790
+ exports.Prisma.MFRProcessStepScalarFieldEnum = {
791
+ id: 'id',
792
+ mfrId: 'mfrId',
793
+ stepNumber: 'stepNumber',
794
+ operation: 'operation',
795
+ description: 'description',
796
+ durationMinutes: 'durationMinutes',
797
+ temperatureMin: 'temperatureMin',
798
+ temperatureMax: 'temperatureMax',
799
+ temperatureUnit: 'temperatureUnit',
800
+ speed: 'speed',
801
+ pressure: 'pressure',
802
+ humidity: 'humidity',
803
+ requiredEquipment: 'requiredEquipment',
804
+ machineId: 'machineId',
805
+ createdAt: 'createdAt',
806
+ updatedAt: 'updatedAt'
807
+ };
808
+
809
+ exports.Prisma.MFRQualitySpecScalarFieldEnum = {
810
+ id: 'id',
811
+ mfrId: 'mfrId',
812
+ processStepId: 'processStepId',
813
+ parameter: 'parameter',
814
+ testStage: 'testStage',
815
+ testMethod: 'testMethod',
816
+ minValue: 'minValue',
817
+ maxValue: 'maxValue',
818
+ targetValue: 'targetValue',
819
+ unit: 'unit',
820
+ acceptanceCriteria: 'acceptanceCriteria',
821
+ createdAt: 'createdAt',
822
+ updatedAt: 'updatedAt'
823
+ };
824
+
825
+ exports.Prisma.BatchManufacturingRecordScalarFieldEnum = {
826
+ id: 'id',
827
+ organizationId: 'organizationId',
828
+ batchNumber: 'batchNumber',
829
+ mfrId: 'mfrId',
830
+ productId: 'productId',
831
+ productName: 'productName',
832
+ plannedBatchSize: 'plannedBatchSize',
833
+ actualBatchSize: 'actualBatchSize',
834
+ batchSizeUnit: 'batchSizeUnit',
835
+ yieldPercentage: 'yieldPercentage',
836
+ scheduledStartDate: 'scheduledStartDate',
837
+ actualStartDate: 'actualStartDate',
838
+ actualEndDate: 'actualEndDate',
839
+ manufacturingDate: 'manufacturingDate',
840
+ expiryDate: 'expiryDate',
841
+ retestDate: 'retestDate',
842
+ status: 'status',
843
+ currentStage: 'currentStage',
844
+ processExecutionData: 'processExecutionData',
845
+ equipmentUsed: 'equipmentUsed',
846
+ qaStatus: 'qaStatus',
847
+ qaReleaseBy: 'qaReleaseBy',
848
+ qaReleaseName: 'qaReleaseName',
849
+ qaReleaseDate: 'qaReleaseDate',
850
+ qaComments: 'qaComments',
851
+ rejectionReason: 'rejectionReason',
852
+ rejectionDate: 'rejectionDate',
853
+ rejectedBy: 'rejectedBy',
854
+ storageLocation: 'storageLocation',
855
+ storageCondition: 'storageCondition',
856
+ theoreticalYield: 'theoreticalYield',
857
+ practicalYield: 'practicalYield',
858
+ yieldReconciliation: 'yieldReconciliation',
859
+ orderProductId: 'orderProductId',
860
+ notes: 'notes',
861
+ createdAt: 'createdAt',
862
+ updatedAt: 'updatedAt'
863
+ };
864
+
865
+ exports.Prisma.WeighingLogScalarFieldEnum = {
866
+ id: 'id',
867
+ batchId: 'batchId',
868
+ materialId: 'materialId',
869
+ materialCode: 'materialCode',
870
+ materialName: 'materialName',
871
+ materialBatch: 'materialBatch',
872
+ materialExpiry: 'materialExpiry',
873
+ requiredQty: 'requiredQty',
874
+ actualQty: 'actualQty',
875
+ tolerance: 'tolerance',
876
+ unit: 'unit',
877
+ variance: 'variance',
878
+ variancePct: 'variancePct',
879
+ balanceId: 'balanceId',
880
+ balanceName: 'balanceName',
881
+ isAutomated: 'isAutomated',
882
+ weighedBy: 'weighedBy',
883
+ weigherName: 'weigherName',
884
+ verifiedBy: 'verifiedBy',
885
+ verifierName: 'verifierName',
886
+ verifiedAt: 'verifiedAt',
887
+ weighedAt: 'weighedAt',
888
+ containerTare: 'containerTare',
889
+ grossWeight: 'grossWeight',
890
+ notes: 'notes',
891
+ createdAt: 'createdAt'
892
+ };
893
+
894
+ exports.Prisma.InProcessControlScalarFieldEnum = {
895
+ id: 'id',
896
+ batchId: 'batchId',
897
+ testName: 'testName',
898
+ testStage: 'testStage',
899
+ testMethod: 'testMethod',
900
+ parameter: 'parameter',
901
+ specMin: 'specMin',
902
+ specMax: 'specMax',
903
+ targetValue: 'targetValue',
904
+ unit: 'unit',
905
+ measuredValue: 'measuredValue',
906
+ textResult: 'textResult',
907
+ isPass: 'isPass',
908
+ sampleSize: 'sampleSize',
909
+ sampleLocation: 'sampleLocation',
910
+ testedBy: 'testedBy',
911
+ testerName: 'testerName',
912
+ testedAt: 'testedAt',
913
+ reviewedBy: 'reviewedBy',
914
+ reviewerName: 'reviewerName',
915
+ reviewedAt: 'reviewedAt',
916
+ notes: 'notes'
917
+ };
918
+
919
+ exports.Prisma.DeviationScalarFieldEnum = {
920
+ id: 'id',
921
+ organizationId: 'organizationId',
922
+ deviationNumber: 'deviationNumber',
923
+ title: 'title',
924
+ description: 'description',
925
+ batchId: 'batchId',
926
+ productId: 'productId',
927
+ processStage: 'processStage',
928
+ equipmentId: 'equipmentId',
929
+ severity: 'severity',
930
+ deviationType: 'deviationType',
931
+ detectedBy: 'detectedBy',
932
+ detectorName: 'detectorName',
933
+ detectedAt: 'detectedAt',
934
+ status: 'status',
935
+ rootCause: 'rootCause',
936
+ investigation: 'investigation',
937
+ investigatedBy: 'investigatedBy',
938
+ investigatedAt: 'investigatedAt',
939
+ productImpact: 'productImpact',
940
+ customerImpact: 'customerImpact',
941
+ regulatoryImpact: 'regulatoryImpact',
942
+ impactDescription: 'impactDescription',
943
+ immediateAction: 'immediateAction',
944
+ actionTakenBy: 'actionTakenBy',
945
+ actionTakenAt: 'actionTakenAt',
946
+ reviewedBy: 'reviewedBy',
947
+ reviewerName: 'reviewerName',
948
+ reviewedAt: 'reviewedAt',
949
+ approvedBy: 'approvedBy',
950
+ approverName: 'approverName',
951
+ approvedAt: 'approvedAt',
952
+ closedAt: 'closedAt',
953
+ closureComments: 'closureComments',
954
+ isRecurrence: 'isRecurrence',
955
+ previousDeviationId: 'previousDeviationId',
956
+ createdAt: 'createdAt',
957
+ updatedAt: 'updatedAt'
958
+ };
959
+
960
+ exports.Prisma.CAPAScalarFieldEnum = {
961
+ id: 'id',
962
+ organizationId: 'organizationId',
963
+ capaNumber: 'capaNumber',
964
+ title: 'title',
965
+ description: 'description',
966
+ type: 'type',
967
+ deviationId: 'deviationId',
968
+ sourceType: 'sourceType',
969
+ sourceRef: 'sourceRef',
970
+ assignedTo: 'assignedTo',
971
+ assigneeName: 'assigneeName',
972
+ assignedBy: 'assignedBy',
973
+ assignedAt: 'assignedAt',
974
+ dueDate: 'dueDate',
975
+ status: 'status',
976
+ actionPlan: 'actionPlan',
977
+ implementedBy: 'implementedBy',
978
+ implementedAt: 'implementedAt',
979
+ implementationEvidence: 'implementationEvidence',
980
+ effectivenessCheck: 'effectivenessCheck',
981
+ effectivenessDueDate: 'effectivenessDueDate',
982
+ isEffective: 'isEffective',
983
+ effectivenessCheckedBy: 'effectivenessCheckedBy',
984
+ effectivenessCheckedAt: 'effectivenessCheckedAt',
985
+ approvedBy: 'approvedBy',
986
+ approverName: 'approverName',
987
+ approvedAt: 'approvedAt',
988
+ completedAt: 'completedAt',
989
+ relatedCAPAIds: 'relatedCAPAIds',
990
+ notes: 'notes',
991
+ createdAt: 'createdAt',
992
+ updatedAt: 'updatedAt'
993
+ };
994
+
995
+ exports.Prisma.ElectronicSignatureScalarFieldEnum = {
996
+ id: 'id',
997
+ organizationId: 'organizationId',
998
+ userId: 'userId',
999
+ userFullName: 'userFullName',
1000
+ userTitle: 'userTitle',
1001
+ userEmail: 'userEmail',
1002
+ roleId: 'roleId',
1003
+ roleName: 'roleName',
1004
+ batchRecordId: 'batchRecordId',
1005
+ deviationId: 'deviationId',
1006
+ capaId: 'capaId',
1007
+ mfrId: 'mfrId',
1008
+ documentId: 'documentId',
1009
+ equipmentQualId: 'equipmentQualId',
1010
+ changeControlId: 'changeControlId',
1011
+ labTestRequestId: 'labTestRequestId',
1012
+ dppId: 'dppId',
1013
+ fmeaId: 'fmeaId',
1014
+ controlPlanId: 'controlPlanId',
1015
+ ppapSubmissionId: 'ppapSubmissionId',
1016
+ meaning: 'meaning',
1017
+ reason: 'reason',
1018
+ comments: 'comments',
1019
+ timestamp: 'timestamp',
1020
+ checksum: 'checksum',
1021
+ checksumAlgo: 'checksumAlgo',
1022
+ dataSnapshot: 'dataSnapshot',
1023
+ ipAddress: 'ipAddress',
1024
+ deviceInfo: 'deviceInfo',
1025
+ authMethod: 'authMethod',
1026
+ sessionId: 'sessionId',
1027
+ isValid: 'isValid',
1028
+ invalidatedAt: 'invalidatedAt',
1029
+ invalidatedBy: 'invalidatedBy',
1030
+ invalidationReason: 'invalidationReason',
1031
+ deletedAt: 'deletedAt',
1032
+ createdAt: 'createdAt'
1033
+ };
1034
+
1035
+ exports.Prisma.EquipmentQualificationScalarFieldEnum = {
1036
+ id: 'id',
1037
+ organizationId: 'organizationId',
1038
+ machineId: 'machineId',
1039
+ qualificationType: 'qualificationType',
1040
+ protocolNumber: 'protocolNumber',
1041
+ performedBy: 'performedBy',
1042
+ performedDate: 'performedDate',
1043
+ expiryDate: 'expiryDate',
1044
+ status: 'status',
1045
+ findings: 'findings',
1046
+ certificateUrl: 'certificateUrl',
1047
+ reviewedBy: 'reviewedBy',
1048
+ approvedBy: 'approvedBy',
1049
+ approvedAt: 'approvedAt',
1050
+ notes: 'notes',
1051
+ deletedAt: 'deletedAt',
1052
+ createdAt: 'createdAt',
1053
+ updatedAt: 'updatedAt'
1054
+ };
1055
+
1056
+ exports.Prisma.ControlledDocumentScalarFieldEnum = {
1057
+ id: 'id',
1058
+ organizationId: 'organizationId',
1059
+ documentNumber: 'documentNumber',
1060
+ title: 'title',
1061
+ version: 'version',
1062
+ revision: 'revision',
1063
+ documentType: 'documentType',
1064
+ category: 'category',
1065
+ department: 'department',
1066
+ status: 'status',
1067
+ effectiveDate: 'effectiveDate',
1068
+ reviewDate: 'reviewDate',
1069
+ reviewFrequencyMonths: 'reviewFrequencyMonths',
1070
+ obsoleteDate: 'obsoleteDate',
1071
+ supersededBy: 'supersededBy',
1072
+ supersedes: 'supersedes',
1073
+ contentUrl: 'contentUrl',
1074
+ contentType: 'contentType',
1075
+ fileSize: 'fileSize',
1076
+ contentHash: 'contentHash',
1077
+ authorId: 'authorId',
1078
+ authorName: 'authorName',
1079
+ reviewedBy: 'reviewedBy',
1080
+ approvedBy: 'approvedBy',
1081
+ approvalDate: 'approvalDate',
1082
+ isPublic: 'isPublic',
1083
+ targetRoles: 'targetRoles',
1084
+ targetUsers: 'targetUsers',
1085
+ linkedMachineTypes: 'linkedMachineTypes',
1086
+ linkedProductIds: 'linkedProductIds',
1087
+ linkedTaskTypes: 'linkedTaskTypes',
1088
+ deletedAt: 'deletedAt',
1089
+ keywords: 'keywords',
1090
+ tags: 'tags',
1091
+ notes: 'notes',
1092
+ createdAt: 'createdAt',
1093
+ updatedAt: 'updatedAt'
1094
+ };
1095
+
1096
+ exports.Prisma.TrainingRecordScalarFieldEnum = {
1097
+ id: 'id',
1098
+ organizationId: 'organizationId',
1099
+ userId: 'userId',
1100
+ userName: 'userName',
1101
+ documentId: 'documentId',
1102
+ trainingType: 'trainingType',
1103
+ trainingTitle: 'trainingTitle',
1104
+ trainingVersion: 'trainingVersion',
1105
+ status: 'status',
1106
+ startedAt: 'startedAt',
1107
+ completedAt: 'completedAt',
1108
+ expiresAt: 'expiresAt',
1109
+ score: 'score',
1110
+ passingScore: 'passingScore',
1111
+ attempts: 'attempts',
1112
+ trainerId: 'trainerId',
1113
+ trainerName: 'trainerName',
1114
+ verifiedById: 'verifiedById',
1115
+ verifiedAt: 'verifiedAt',
1116
+ certificateUrl: 'certificateUrl',
1117
+ assessmentUrl: 'assessmentUrl',
1118
+ notes: 'notes',
1119
+ createdAt: 'createdAt',
1120
+ updatedAt: 'updatedAt'
1121
+ };
1122
+
1123
+ exports.Prisma.ChangeControlScalarFieldEnum = {
1124
+ id: 'id',
1125
+ organizationId: 'organizationId',
1126
+ changeNumber: 'changeNumber',
1127
+ title: 'title',
1128
+ description: 'description',
1129
+ changeType: 'changeType',
1130
+ priority: 'priority',
1131
+ initiatedBy: 'initiatedBy',
1132
+ initiatorName: 'initiatorName',
1133
+ initiatedAt: 'initiatedAt',
1134
+ impactedSystems: 'impactedSystems',
1135
+ impactedDocuments: 'impactedDocuments',
1136
+ impactedProducts: 'impactedProducts',
1137
+ riskLevel: 'riskLevel',
1138
+ riskDescription: 'riskDescription',
1139
+ status: 'status',
1140
+ reviewers: 'reviewers',
1141
+ approvers: 'approvers',
1142
+ approvedBy: 'approvedBy',
1143
+ approvedAt: 'approvedAt',
1144
+ implementationPlan: 'implementationPlan',
1145
+ implementedBy: 'implementedBy',
1146
+ implementedAt: 'implementedAt',
1147
+ verifiedBy: 'verifiedBy',
1148
+ verifiedAt: 'verifiedAt',
1149
+ effectivenessCheck: 'effectivenessCheck',
1150
+ closedAt: 'closedAt',
1151
+ relatedDeviationIds: 'relatedDeviationIds',
1152
+ relatedCAPAIds: 'relatedCAPAIds',
1153
+ deletedAt: 'deletedAt',
1154
+ createdAt: 'createdAt',
1155
+ updatedAt: 'updatedAt'
1156
+ };
1157
+
1158
+ exports.Prisma.LabTestRequestScalarFieldEnum = {
1159
+ id: 'id',
1160
+ organizationId: 'organizationId',
1161
+ sampleId: 'sampleId',
1162
+ sampleType: 'sampleType',
1163
+ batchId: 'batchId',
1164
+ lotId: 'lotId',
1165
+ productId: 'productId',
1166
+ testCategory: 'testCategory',
1167
+ standardRef: 'standardRef',
1168
+ testParameters: 'testParameters',
1169
+ labName: 'labName',
1170
+ labAddress: 'labAddress',
1171
+ isBISRecognized: 'isBISRecognized',
1172
+ labAccreditation: 'labAccreditation',
1173
+ status: 'status',
1174
+ requestedBy: 'requestedBy',
1175
+ requestedAt: 'requestedAt',
1176
+ sampleSentAt: 'sampleSentAt',
1177
+ resultsReceivedAt: 'resultsReceivedAt',
1178
+ sampleQuantity: 'sampleQuantity',
1179
+ sampleUnit: 'sampleUnit',
1180
+ storageCondition: 'storageCondition',
1181
+ retentionPeriod: 'retentionPeriod',
1182
+ retentionExpiry: 'retentionExpiry',
1183
+ certificateUrl: 'certificateUrl',
1184
+ certificateNumber: 'certificateNumber',
1185
+ reviewedBy: 'reviewedBy',
1186
+ reviewedAt: 'reviewedAt',
1187
+ approvedBy: 'approvedBy',
1188
+ approvedAt: 'approvedAt',
1189
+ notes: 'notes',
1190
+ deletedAt: 'deletedAt',
1191
+ createdAt: 'createdAt',
1192
+ updatedAt: 'updatedAt'
279
1193
  };
280
1194
 
281
- exports.Prisma.ChatbotHistoryScalarFieldEnum = {
1195
+ exports.Prisma.TestResultScalarFieldEnum = {
1196
+ id: 'id',
1197
+ organizationId: 'organizationId',
1198
+ requestId: 'requestId',
1199
+ parameter: 'parameter',
1200
+ method: 'method',
1201
+ unit: 'unit',
1202
+ specMin: 'specMin',
1203
+ specMax: 'specMax',
1204
+ targetValue: 'targetValue',
1205
+ measuredValue: 'measuredValue',
1206
+ textResult: 'textResult',
1207
+ isPass: 'isPass',
1208
+ deviationPct: 'deviationPct',
1209
+ uncertainty: 'uncertainty',
1210
+ confidenceLevel: 'confidenceLevel',
1211
+ createdAt: 'createdAt'
1212
+ };
1213
+
1214
+ exports.Prisma.CalibrationRecordScalarFieldEnum = {
282
1215
  id: 'id',
283
- title: 'title',
284
- userId: 'userId',
285
1216
  organizationId: 'organizationId',
1217
+ equipmentType: 'equipmentType',
1218
+ equipmentId: 'equipmentId',
1219
+ deviceId: 'deviceId',
1220
+ calibrationDate: 'calibrationDate',
1221
+ nextDueDate: 'nextDueDate',
1222
+ frequency: 'frequency',
1223
+ standardRef: 'standardRef',
1224
+ traceability: 'traceability',
1225
+ asFound: 'asFound',
1226
+ asLeft: 'asLeft',
1227
+ withinTolerance: 'withinTolerance',
1228
+ adjustmentMade: 'adjustmentMade',
1229
+ calibratedBy: 'calibratedBy',
1230
+ certificateUrl: 'certificateUrl',
1231
+ certificateNo: 'certificateNo',
1232
+ reviewedBy: 'reviewedBy',
1233
+ reviewedAt: 'reviewedAt',
1234
+ notes: 'notes',
286
1235
  createdAt: 'createdAt',
287
1236
  updatedAt: 'updatedAt'
288
1237
  };
289
1238
 
290
- exports.Prisma.ChatbotMessageScalarFieldEnum = {
1239
+ exports.Prisma.DigitalProductPassportScalarFieldEnum = {
291
1240
  id: 'id',
292
- chatHistoryId: 'chatHistoryId',
293
- sender: 'sender',
294
- message: 'message',
295
- tokensUsed: 'tokensUsed',
296
- jsonContent: 'jsonContent',
1241
+ organizationId: 'organizationId',
1242
+ productionUnitId: 'productionUnitId',
1243
+ productId: 'productId',
1244
+ styleNumber: 'styleNumber',
1245
+ productName: 'productName',
1246
+ productCategory: 'productCategory',
1247
+ publicUid: 'publicUid',
1248
+ gtin: 'gtin',
1249
+ taricCode: 'taricCode',
1250
+ hsnCode: 'hsnCode',
1251
+ qrCodeImageUrl: 'qrCodeImageUrl',
1252
+ qrCodeFormat: 'qrCodeFormat',
1253
+ qrCodeGeneratedAt: 'qrCodeGeneratedAt',
1254
+ fiberComposition: 'fiberComposition',
1255
+ primaryMaterial: 'primaryMaterial',
1256
+ recycledContent: 'recycledContent',
1257
+ organicContent: 'organicContent',
1258
+ careInstructions: 'careInstructions',
1259
+ washingSymbols: 'washingSymbols',
1260
+ manufacturerName: 'manufacturerName',
1261
+ manufacturerAddress: 'manufacturerAddress',
1262
+ brandName: 'brandName',
1263
+ countryOfOrigin: 'countryOfOrigin',
1264
+ carbonFootprint: 'carbonFootprint',
1265
+ carbonCalculationMethod: 'carbonCalculationMethod',
1266
+ waterUsage: 'waterUsage',
1267
+ energyUsage: 'energyUsage',
1268
+ chemicalsUsed: 'chemicalsUsed',
1269
+ recyclability: 'recyclability',
1270
+ durabilityRating: 'durabilityRating',
1271
+ repairability: 'repairability',
1272
+ repairInstructions: 'repairInstructions',
1273
+ recyclingInstructions: 'recyclingInstructions',
1274
+ endOfLifeOptions: 'endOfLifeOptions',
1275
+ microplasticRelease: 'microplasticRelease',
1276
+ laborCompliance: 'laborCompliance',
1277
+ factoryCertifications: 'factoryCertifications',
1278
+ scanCount: 'scanCount',
1279
+ status: 'status',
1280
+ publishedAt: 'publishedAt',
1281
+ validUntil: 'validUntil',
1282
+ version: 'version',
1283
+ supersededBy: 'supersededBy',
1284
+ invoiceNumber: 'invoiceNumber',
1285
+ shipmentDate: 'shipmentDate',
1286
+ destinationCountry: 'destinationCountry',
1287
+ customsDocUrl: 'customsDocUrl',
1288
+ keywords: 'keywords',
1289
+ tags: 'tags',
1290
+ internalNotes: 'internalNotes',
1291
+ createdAt: 'createdAt',
1292
+ updatedAt: 'updatedAt'
1293
+ };
1294
+
1295
+ exports.Prisma.SupplyChainNodeScalarFieldEnum = {
1296
+ id: 'id',
1297
+ dppId: 'dppId',
1298
+ nodeId: 'nodeId',
1299
+ nodeType: 'nodeType',
1300
+ companyName: 'companyName',
1301
+ companyAddress: 'companyAddress',
1302
+ contactPerson: 'contactPerson',
1303
+ contactEmail: 'contactEmail',
1304
+ location: 'location',
1305
+ coordinates: 'coordinates',
1306
+ processDate: 'processDate',
1307
+ processDuration: 'processDuration',
1308
+ processDescription: 'processDescription',
1309
+ outputMaterials: 'outputMaterials',
1310
+ certificates: 'certificates',
1311
+ certificateUrls: 'certificateUrls',
1312
+ energyUsed: 'energyUsed',
1313
+ waterUsed: 'waterUsed',
1314
+ wasteGenerated: 'wasteGenerated',
1315
+ emissionsGenerated: 'emissionsGenerated',
1316
+ qualityReports: 'qualityReports',
1317
+ isVerified: 'isVerified',
1318
+ verifiedBy: 'verifiedBy',
1319
+ verifiedAt: 'verifiedAt',
1320
+ notes: 'notes',
1321
+ createdAt: 'createdAt',
1322
+ updatedAt: 'updatedAt'
1323
+ };
1324
+
1325
+ exports.Prisma.SupplyChainEdgeScalarFieldEnum = {
1326
+ id: 'id',
1327
+ dppId: 'dppId',
1328
+ fromNodeId: 'fromNodeId',
1329
+ toNodeId: 'toNodeId',
1330
+ materialType: 'materialType',
1331
+ materialBatchId: 'materialBatchId',
1332
+ quantity: 'quantity',
1333
+ unit: 'unit',
1334
+ transferDate: 'transferDate',
1335
+ transportMethod: 'transportMethod',
1336
+ invoiceNumber: 'invoiceNumber',
1337
+ documentUrl: 'documentUrl',
1338
+ createdAt: 'createdAt'
1339
+ };
1340
+
1341
+ exports.Prisma.ProductCertificateScalarFieldEnum = {
1342
+ id: 'id',
1343
+ dppId: 'dppId',
1344
+ certificateType: 'certificateType',
1345
+ certificateNumber: 'certificateNumber',
1346
+ certificateName: 'certificateName',
1347
+ issuedBy: 'issuedBy',
1348
+ issuerLogo: 'issuerLogo',
1349
+ issuedDate: 'issuedDate',
1350
+ expiryDate: 'expiryDate',
1351
+ isValid: 'isValid',
1352
+ scope: 'scope',
1353
+ certificateUrl: 'certificateUrl',
1354
+ verificationUrl: 'verificationUrl',
297
1355
  createdAt: 'createdAt',
298
1356
  updatedAt: 'updatedAt'
299
1357
  };
300
1358
 
1359
+ exports.Prisma.TextileQRScanScalarFieldEnum = {
1360
+ id: 'id',
1361
+ dppId: 'dppId',
1362
+ scannedAt: 'scannedAt',
1363
+ ipAddress: 'ipAddress',
1364
+ country: 'country',
1365
+ city: 'city',
1366
+ userAgent: 'userAgent',
1367
+ timeOnPage: 'timeOnPage',
1368
+ sectionsViewed: 'sectionsViewed',
1369
+ referrer: 'referrer',
1370
+ utmSource: 'utmSource',
1371
+ utmCampaign: 'utmCampaign'
1372
+ };
1373
+
301
1374
  exports.Prisma.GatewayScalarFieldEnum = {
302
1375
  id: 'id',
303
1376
  gatewayUid: 'gatewayUid',
304
1377
  gatewayName: 'gatewayName',
1378
+ globalInventoryDeviceId: 'globalInventoryDeviceId',
305
1379
  isActive: 'isActive',
306
1380
  floorId: 'floorId',
307
1381
  secret: 'secret',
1382
+ cpuModel: 'cpuModel',
1383
+ ramMB: 'ramMB',
1384
+ storageMB: 'storageMB',
308
1385
  currentWifiSSID: 'currentWifiSSID',
309
1386
  currentWifiPassword: 'currentWifiPassword',
310
1387
  currentMQTTBrokerUrl: 'currentMQTTBrokerUrl',
311
1388
  fallBackWifiSSID: 'fallBackWifiSSID',
312
1389
  fallBackWifiPassword: 'fallBackWifiPassword',
1390
+ edgeAnalytics: 'edgeAnalytics',
1391
+ bufferSizeMB: 'bufferSizeMB',
1392
+ offlineMode: 'offlineMode',
313
1393
  createdAt: 'createdAt',
314
1394
  updatedAt: 'updatedAt'
315
1395
  };
@@ -327,10 +1407,19 @@ exports.Prisma.DeviceScalarFieldEnum = {
327
1407
  id: 'id',
328
1408
  globalDeviceUid: 'globalDeviceUid',
329
1409
  deviceUid: 'deviceUid',
1410
+ globalInventoryDeviceId: 'globalInventoryDeviceId',
330
1411
  deviceName: 'deviceName',
331
1412
  isActive: 'isActive',
332
1413
  organizationId: 'organizationId',
333
1414
  gatewayId: 'gatewayId',
1415
+ deviceType: 'deviceType',
1416
+ deviceModel: 'deviceModel',
1417
+ firmwareVersion: 'firmwareVersion',
1418
+ ipAddress: 'ipAddress',
1419
+ macAddress: 'macAddress',
1420
+ subnet: 'subnet',
1421
+ port: 'port',
1422
+ serialConfig: 'serialConfig',
334
1423
  machineId: 'machineId',
335
1424
  assemblyLineId: 'assemblyLineId',
336
1425
  floorId: 'floorId',
@@ -346,6 +1435,7 @@ exports.Prisma.SensorScalarFieldEnum = {
346
1435
  sensorType: 'sensorType',
347
1436
  deviceId: 'deviceId',
348
1437
  isActive: 'isActive',
1438
+ isVirtual: 'isVirtual',
349
1439
  machineId: 'machineId',
350
1440
  assemblyLineId: 'assemblyLineId',
351
1441
  floorId: 'floorId',
@@ -368,6 +1458,12 @@ exports.Prisma.CurrentSensorConfigScalarFieldEnum = {
368
1458
  id: 'id',
369
1459
  sensorId: 'sensorId',
370
1460
  currentThreshold: 'currentThreshold',
1461
+ ctRatio: 'ctRatio',
1462
+ burdenResistor: 'burdenResistor',
1463
+ calibrationGain: 'calibrationGain',
1464
+ idleThreshold: 'idleThreshold',
1465
+ runThreshold: 'runThreshold',
1466
+ samplingRateHz: 'samplingRateHz',
371
1467
  createdAt: 'createdAt',
372
1468
  updatedAt: 'updatedAt'
373
1469
  };
@@ -390,6 +1486,60 @@ exports.Prisma.MachineDeviceAssignmentScalarFieldEnum = {
390
1486
  unassignedAt: 'unassignedAt'
391
1487
  };
392
1488
 
1489
+ exports.Prisma.VibrationSensorConfigScalarFieldEnum = {
1490
+ id: 'id',
1491
+ sensorId: 'sensorId',
1492
+ samplingRateHz: 'samplingRateHz',
1493
+ rangeG: 'rangeG',
1494
+ fftEnabled: 'fftEnabled',
1495
+ createdAt: 'createdAt',
1496
+ updatedAt: 'updatedAt'
1497
+ };
1498
+
1499
+ exports.Prisma.TemperatureSensorConfigScalarFieldEnum = {
1500
+ id: 'id',
1501
+ sensorId: 'sensorId',
1502
+ sensorModel: 'sensorModel',
1503
+ minTemp: 'minTemp',
1504
+ maxTemp: 'maxTemp',
1505
+ alertThreshold: 'alertThreshold',
1506
+ createdAt: 'createdAt',
1507
+ updatedAt: 'updatedAt'
1508
+ };
1509
+
1510
+ exports.Prisma.FlowSensorConfigScalarFieldEnum = {
1511
+ id: 'id',
1512
+ sensorId: 'sensorId',
1513
+ unit: 'unit',
1514
+ calibrationFactor: 'calibrationFactor',
1515
+ minFlow: 'minFlow',
1516
+ maxFlow: 'maxFlow',
1517
+ createdAt: 'createdAt',
1518
+ updatedAt: 'updatedAt'
1519
+ };
1520
+
1521
+ exports.Prisma.WeightSensorConfigScalarFieldEnum = {
1522
+ id: 'id',
1523
+ sensorId: 'sensorId',
1524
+ unit: 'unit',
1525
+ maxCapacity: 'maxCapacity',
1526
+ resolution: 'resolution',
1527
+ tareWeight: 'tareWeight',
1528
+ createdAt: 'createdAt',
1529
+ updatedAt: 'updatedAt'
1530
+ };
1531
+
1532
+ exports.Prisma.PressureSensorConfigScalarFieldEnum = {
1533
+ id: 'id',
1534
+ sensorId: 'sensorId',
1535
+ unit: 'unit',
1536
+ minPressure: 'minPressure',
1537
+ maxPressure: 'maxPressure',
1538
+ alertThreshold: 'alertThreshold',
1539
+ createdAt: 'createdAt',
1540
+ updatedAt: 'updatedAt'
1541
+ };
1542
+
393
1543
  exports.Prisma.SensorLogScalarFieldEnum = {
394
1544
  id: 'id',
395
1545
  sensorId: 'sensorId',
@@ -439,6 +1589,95 @@ exports.Prisma.DevicePowerSensorLogScalarFieldEnum = {
439
1589
  updatedAt: 'updatedAt'
440
1590
  };
441
1591
 
1592
+ exports.Prisma.VibrationSensorLogScalarFieldEnum = {
1593
+ id: 'id',
1594
+ sensorLogId: 'sensorLogId',
1595
+ rmsValue: 'rmsValue',
1596
+ peakValue: 'peakValue',
1597
+ frequency: 'frequency',
1598
+ fftData: 'fftData',
1599
+ createdAt: 'createdAt',
1600
+ updatedAt: 'updatedAt'
1601
+ };
1602
+
1603
+ exports.Prisma.TemperatureSensorLogScalarFieldEnum = {
1604
+ id: 'id',
1605
+ sensorLogId: 'sensorLogId',
1606
+ temperature: 'temperature',
1607
+ createdAt: 'createdAt',
1608
+ updatedAt: 'updatedAt'
1609
+ };
1610
+
1611
+ exports.Prisma.FlowSensorLogScalarFieldEnum = {
1612
+ id: 'id',
1613
+ sensorLogId: 'sensorLogId',
1614
+ flowRate: 'flowRate',
1615
+ totalVolume: 'totalVolume',
1616
+ createdAt: 'createdAt',
1617
+ updatedAt: 'updatedAt'
1618
+ };
1619
+
1620
+ exports.Prisma.WeightSensorLogScalarFieldEnum = {
1621
+ id: 'id',
1622
+ sensorLogId: 'sensorLogId',
1623
+ weight: 'weight',
1624
+ createdAt: 'createdAt',
1625
+ updatedAt: 'updatedAt'
1626
+ };
1627
+
1628
+ exports.Prisma.PressureSensorLogScalarFieldEnum = {
1629
+ id: 'id',
1630
+ sensorLogId: 'sensorLogId',
1631
+ pressure: 'pressure',
1632
+ createdAt: 'createdAt',
1633
+ updatedAt: 'updatedAt'
1634
+ };
1635
+
1636
+ exports.Prisma.ProtocolDataSourceScalarFieldEnum = {
1637
+ id: 'id',
1638
+ deviceId: 'deviceId',
1639
+ sourceType: 'sourceType',
1640
+ sourceName: 'sourceName',
1641
+ description: 'description',
1642
+ isActive: 'isActive',
1643
+ address: 'address',
1644
+ protocolConfig: 'protocolConfig',
1645
+ dataType: 'dataType',
1646
+ unit: 'unit',
1647
+ scaleFactor: 'scaleFactor',
1648
+ offset: 'offset',
1649
+ pollingInterval: 'pollingInterval',
1650
+ onChangeOnly: 'onChangeOnly',
1651
+ sensorId: 'sensorId',
1652
+ machineId: 'machineId',
1653
+ createdAt: 'createdAt',
1654
+ updatedAt: 'updatedAt'
1655
+ };
1656
+
1657
+ exports.Prisma.ProtocolDataLogScalarFieldEnum = {
1658
+ id: 'id',
1659
+ dataSourceId: 'dataSourceId',
1660
+ timestamp: 'timestamp',
1661
+ rawValue: 'rawValue',
1662
+ parsedValue: 'parsedValue',
1663
+ stringValue: 'stringValue',
1664
+ boolValue: 'boolValue',
1665
+ isProcessed: 'isProcessed',
1666
+ createdAt: 'createdAt'
1667
+ };
1668
+
1669
+ exports.Prisma.DeviceConnectionScalarFieldEnum = {
1670
+ id: 'id',
1671
+ parentDeviceId: 'parentDeviceId',
1672
+ childDeviceId: 'childDeviceId',
1673
+ protocol: 'protocol',
1674
+ connectionConfig: 'connectionConfig',
1675
+ isActive: 'isActive',
1676
+ lastSeen: 'lastSeen',
1677
+ createdAt: 'createdAt',
1678
+ updatedAt: 'updatedAt'
1679
+ };
1680
+
442
1681
  exports.Prisma.FactoryScalarFieldEnum = {
443
1682
  id: 'id',
444
1683
  name: 'name',
@@ -520,9 +1759,11 @@ exports.Prisma.FactoryShiftMachineScalarFieldEnum = {
520
1759
  exports.Prisma.FactoryLotScalarFieldEnum = {
521
1760
  id: 'id',
522
1761
  lotNumber: 'lotNumber',
523
- receivedAt: 'receivedAt',
524
- expiryAt: 'expiryAt',
525
1762
  factoryId: 'factoryId',
1763
+ manufacturingDate: 'manufacturingDate',
1764
+ expiryDate: 'expiryDate',
1765
+ quantity: 'quantity',
1766
+ measurementUnit: 'measurementUnit',
526
1767
  createdAt: 'createdAt',
527
1768
  updatedAt: 'updatedAt'
528
1769
  };
@@ -563,6 +1804,34 @@ exports.Prisma.FinalProductRouteDependencyScalarFieldEnum = {
563
1804
  dependsOnRouteId: 'dependsOnRouteId'
564
1805
  };
565
1806
 
1807
+ exports.Prisma.MachineStateLogScalarFieldEnum = {
1808
+ id: 'id',
1809
+ machineId: 'machineId',
1810
+ state: 'state',
1811
+ startTime: 'startTime',
1812
+ endTime: 'endTime',
1813
+ durationSec: 'durationSec',
1814
+ metadata: 'metadata',
1815
+ programId: 'programId',
1816
+ createdAt: 'createdAt',
1817
+ updatedAt: 'updatedAt'
1818
+ };
1819
+
1820
+ exports.Prisma.MachineProgramScalarFieldEnum = {
1821
+ id: 'id',
1822
+ machineId: 'machineId',
1823
+ programNumber: 'programNumber',
1824
+ programName: 'programName',
1825
+ description: 'description',
1826
+ expectedCycleTime: 'expectedCycleTime',
1827
+ expectedPowerProfile: 'expectedPowerProfile',
1828
+ isActive: 'isActive',
1829
+ lastRunAt: 'lastRunAt',
1830
+ totalRuns: 'totalRuns',
1831
+ createdAt: 'createdAt',
1832
+ updatedAt: 'updatedAt'
1833
+ };
1834
+
566
1835
  exports.Prisma.MachineScalarFieldEnum = {
567
1836
  id: 'id',
568
1837
  name: 'name',
@@ -571,6 +1840,17 @@ exports.Prisma.MachineScalarFieldEnum = {
571
1840
  assemblyLineId: 'assemblyLineId',
572
1841
  machineOperationId: 'machineOperationId',
573
1842
  trackingType: 'trackingType',
1843
+ currentProgramId: 'currentProgramId',
1844
+ industryType: 'industryType',
1845
+ machineModel: 'machineModel',
1846
+ capabilities: 'capabilities',
1847
+ primaryProtocol: 'primaryProtocol',
1848
+ isConnected: 'isConnected',
1849
+ lastDataReceived: 'lastDataReceived',
1850
+ activeFMEAIds: 'activeFMEAIds',
1851
+ qualificationStatus: 'qualificationStatus',
1852
+ lastQualificationDate: 'lastQualificationDate',
1853
+ nextQualificationDate: 'nextQualificationDate',
574
1854
  createdAt: 'createdAt',
575
1855
  updatedAt: 'updatedAt'
576
1856
  };
@@ -700,12 +1980,16 @@ exports.Prisma.TechnicianSpecializationScalarFieldEnum = {
700
1980
  exports.Prisma.OperatorScalarFieldEnum = {
701
1981
  id: 'id',
702
1982
  rfid: 'rfid',
1983
+ coreUserId: 'coreUserId',
703
1984
  externalId: 'externalId',
704
1985
  firstName: 'firstName',
705
1986
  lastName: 'lastName',
706
1987
  description: 'description',
707
1988
  organizationId: 'organizationId',
708
1989
  factoryId: 'factoryId',
1990
+ operatorLevel: 'operatorLevel',
1991
+ teamId: 'teamId',
1992
+ teamName: 'teamName',
709
1993
  createdAt: 'createdAt',
710
1994
  updatedAt: 'updatedAt'
711
1995
  };
@@ -774,7 +2058,6 @@ exports.Prisma.OrderCommentScalarFieldEnum = {
774
2058
 
775
2059
  exports.Prisma.ProductionUnitScalarFieldEnum = {
776
2060
  id: 'id',
777
- tagId: 'tagId',
778
2061
  serialNumber: 'serialNumber',
779
2062
  organizationId: 'organizationId',
780
2063
  orderProductId: 'orderProductId',
@@ -784,6 +2067,16 @@ exports.Prisma.ProductionUnitScalarFieldEnum = {
784
2067
  updatedAt: 'updatedAt'
785
2068
  };
786
2069
 
2070
+ exports.Prisma.ProductionUnitIdentifierScalarFieldEnum = {
2071
+ id: 'id',
2072
+ productionUnitId: 'productionUnitId',
2073
+ identifierType: 'identifierType',
2074
+ identifierValue: 'identifierValue',
2075
+ isPrimary: 'isPrimary',
2076
+ createdAt: 'createdAt',
2077
+ updatedAt: 'updatedAt'
2078
+ };
2079
+
787
2080
  exports.Prisma.ProductionUnitLogScalarFieldEnum = {
788
2081
  id: 'id',
789
2082
  productionUnitId: 'productionUnitId',
@@ -791,6 +2084,7 @@ exports.Prisma.ProductionUnitLogScalarFieldEnum = {
791
2084
  details: 'details',
792
2085
  stepId: 'stepId',
793
2086
  operatorId: 'operatorId',
2087
+ scannedBy: 'scannedBy',
794
2088
  createdAt: 'createdAt'
795
2089
  };
796
2090
 
@@ -814,7 +2108,7 @@ exports.Prisma.ProductionUnitQCScalarFieldEnum = {
814
2108
  updatedAt: 'updatedAt'
815
2109
  };
816
2110
 
817
- exports.Prisma.OrganizationUserFactoryEntityAccessScalarFieldEnum = {
2111
+ exports.Prisma.OrganizationUserEntityAccessScalarFieldEnum = {
818
2112
  id: 'id',
819
2113
  userId: 'userId',
820
2114
  organizationId: 'organizationId',
@@ -822,6 +2116,10 @@ exports.Prisma.OrganizationUserFactoryEntityAccessScalarFieldEnum = {
822
2116
  floorId: 'floorId',
823
2117
  assemblyLineId: 'assemblyLineId',
824
2118
  machineId: 'machineId',
2119
+ scopeOverride: 'scopeOverride',
2120
+ expiresAt: 'expiresAt',
2121
+ reason: 'reason',
2122
+ grantedBy: 'grantedBy',
825
2123
  createdAt: 'createdAt',
826
2124
  updatedAt: 'updatedAt'
827
2125
  };
@@ -835,6 +2133,7 @@ exports.Prisma.MaintenanceSpecializationScalarFieldEnum = {
835
2133
  exports.Prisma.OrganizationCustomerScalarFieldEnum = {
836
2134
  id: 'id',
837
2135
  organizationId: 'organizationId',
2136
+ externalId: 'externalId',
838
2137
  name: 'name',
839
2138
  description: 'description',
840
2139
  createdAt: 'createdAt',
@@ -849,17 +2148,21 @@ exports.Prisma.AssemblyLineTypeScalarFieldEnum = {
849
2148
  updatedAt: 'updatedAt'
850
2149
  };
851
2150
 
852
- exports.Prisma.OperatorOperationCategoryScalarFieldEnum = {
2151
+ exports.Prisma.TeamScalarFieldEnum = {
853
2152
  id: 'id',
854
- factoryId: 'factoryId',
2153
+ organizationId: 'organizationId',
855
2154
  name: 'name',
856
2155
  description: 'description',
2156
+ factoryId: 'factoryId',
2157
+ memberUserIds: 'memberUserIds',
2158
+ leadUserId: 'leadUserId',
857
2159
  createdAt: 'createdAt',
858
2160
  updatedAt: 'updatedAt'
859
2161
  };
860
2162
 
861
2163
  exports.Prisma.TaskScalarFieldEnum = {
862
2164
  id: 'id',
2165
+ organizationId: 'organizationId',
863
2166
  operatorId: 'operatorId',
864
2167
  assignedById: 'assignedById',
865
2168
  assignedToId: 'assignedToId',
@@ -867,22 +2170,38 @@ exports.Prisma.TaskScalarFieldEnum = {
867
2170
  machineId: 'machineId',
868
2171
  taskGroupId: 'taskGroupId',
869
2172
  factoryId: 'factoryId',
870
- organizationId: 'organizationId',
871
2173
  operatorOpCategoryId: 'operatorOpCategoryId',
872
2174
  shiftId: 'shiftId',
2175
+ batchRecordId: 'batchRecordId',
2176
+ controlPlanItemId: 'controlPlanItemId',
2177
+ requiredDocumentId: 'requiredDocumentId',
2178
+ documentAcknowledged: 'documentAcknowledged',
2179
+ labTestRequestId: 'labTestRequestId',
2180
+ labTestCleared: 'labTestCleared',
2181
+ fmeaItemId: 'fmeaItemId',
2182
+ failureMode: 'failureMode',
873
2183
  title: 'title',
874
2184
  description: 'description',
875
2185
  status: 'status',
876
2186
  startTime: 'startTime',
877
2187
  endTime: 'endTime',
878
- targetCount: 'targetCount',
879
- taskCount: 'taskCount',
2188
+ targetQuantity: 'targetQuantity',
2189
+ actualQuantity: 'actualQuantity',
2190
+ passedQuantity: 'passedQuantity',
2191
+ rejectedQuantity: 'rejectedQuantity',
2192
+ reworkQuantity: 'reworkQuantity',
2193
+ wasteQuantity: 'wasteQuantity',
2194
+ measurementUnit: 'measurementUnit',
2195
+ efficiency: 'efficiency',
2196
+ yieldPercentage: 'yieldPercentage',
2197
+ qualityRate: 'qualityRate',
880
2198
  sequence: 'sequence',
881
2199
  reworkOfTaskId: 'reworkOfTaskId',
882
2200
  reworkCount: 'reworkCount',
883
2201
  machineOperationId: 'machineOperationId',
884
2202
  startedAt: 'startedAt',
885
2203
  completedAt: 'completedAt',
2204
+ deletedAt: 'deletedAt',
886
2205
  createdAt: 'createdAt',
887
2206
  updatedAt: 'updatedAt'
888
2207
  };
@@ -891,7 +2210,13 @@ exports.Prisma.TaskGroupScalarFieldEnum = {
891
2210
  id: 'id',
892
2211
  description: 'description',
893
2212
  status: 'status',
894
- targetCount: 'targetCount',
2213
+ targetQuantity: 'targetQuantity',
2214
+ actualQuantity: 'actualQuantity',
2215
+ measurementUnit: 'measurementUnit',
2216
+ totalPassedQuantity: 'totalPassedQuantity',
2217
+ totalRejectedQuantity: 'totalRejectedQuantity',
2218
+ totalReworkQuantity: 'totalReworkQuantity',
2219
+ overallEfficiency: 'overallEfficiency',
895
2220
  factoryId: 'factoryId',
896
2221
  organizationId: 'organizationId',
897
2222
  productRouteId: 'productRouteId',
@@ -901,6 +2226,7 @@ exports.Prisma.TaskGroupScalarFieldEnum = {
901
2226
  reworkCount: 'reworkCount',
902
2227
  startedAt: 'startedAt',
903
2228
  completedAt: 'completedAt',
2229
+ deletedAt: 'deletedAt',
904
2230
  createdAt: 'createdAt',
905
2231
  updatedAt: 'updatedAt'
906
2232
  };
@@ -922,8 +2248,11 @@ exports.Prisma.TaskInspectionScalarFieldEnum = {
922
2248
  taskId: 'taskId',
923
2249
  inspectorId: 'inspectorId',
924
2250
  passed: 'passed',
925
- defectCount: 'defectCount',
926
- wasteCount: 'wasteCount',
2251
+ passedQuantity: 'passedQuantity',
2252
+ defectQuantity: 'defectQuantity',
2253
+ wasteQuantity: 'wasteQuantity',
2254
+ reworkQuantity: 'reworkQuantity',
2255
+ measurementUnit: 'measurementUnit',
927
2256
  notes: 'notes',
928
2257
  createdAt: 'createdAt',
929
2258
  updatedAt: 'updatedAt'
@@ -939,6 +2268,15 @@ exports.Prisma.TaskCommentScalarFieldEnum = {
939
2268
  updatedAt: 'updatedAt'
940
2269
  };
941
2270
 
2271
+ exports.Prisma.OperatorOperationCategoryScalarFieldEnum = {
2272
+ id: 'id',
2273
+ factoryId: 'factoryId',
2274
+ name: 'name',
2275
+ description: 'description',
2276
+ createdAt: 'createdAt',
2277
+ updatedAt: 'updatedAt'
2278
+ };
2279
+
942
2280
  exports.Prisma.SortOrder = {
943
2281
  asc: 'asc',
944
2282
  desc: 'desc'
@@ -968,16 +2306,242 @@ exports.Prisma.QueryMode = {
968
2306
  default: 'default',
969
2307
  insensitive: 'insensitive'
970
2308
  };
2309
+ exports.ProductionMeasurementUnit = exports.$Enums.ProductionMeasurementUnit = {
2310
+ PIECE: 'PIECE',
2311
+ PART: 'PART',
2312
+ UNIT: 'UNIT',
2313
+ ASSEMBLY: 'ASSEMBLY',
2314
+ BATCH: 'BATCH',
2315
+ LOT: 'LOT',
2316
+ KG: 'KG',
2317
+ LITERS: 'LITERS',
2318
+ METERS: 'METERS',
2319
+ GRAMS: 'GRAMS',
2320
+ TONS: 'TONS',
2321
+ HOURS: 'HOURS',
2322
+ CYCLES: 'CYCLES'
2323
+ };
2324
+
2325
+ exports.LogCriticality = exports.$Enums.LogCriticality = {
2326
+ LOW: 'LOW',
2327
+ MEDIUM: 'MEDIUM',
2328
+ HIGH: 'HIGH',
2329
+ CRITICAL: 'CRITICAL'
2330
+ };
2331
+
971
2332
  exports.ChatbotMessageSender = exports.$Enums.ChatbotMessageSender = {
972
2333
  USER: 'USER',
973
- BOT: 'BOT'
2334
+ BOT: 'BOT',
2335
+ SYSTEM: 'SYSTEM',
2336
+ DEVICE: 'DEVICE'
2337
+ };
2338
+
2339
+ exports.DocumentType = exports.$Enums.DocumentType = {
2340
+ SOP: 'SOP',
2341
+ WORK_INSTRUCTION: 'WORK_INSTRUCTION',
2342
+ FORM: 'FORM',
2343
+ POLICY: 'POLICY',
2344
+ MANUAL: 'MANUAL',
2345
+ SPECIFICATION: 'SPECIFICATION',
2346
+ PROTOCOL: 'PROTOCOL',
2347
+ REPORT: 'REPORT',
2348
+ TROUBLESHOOTING_GUIDE: 'TROUBLESHOOTING_GUIDE',
2349
+ MACHINE_SPEC: 'MACHINE_SPEC',
2350
+ SAFETY_PROTOCOL: 'SAFETY_PROTOCOL',
2351
+ TRAINING_MATERIAL: 'TRAINING_MATERIAL',
2352
+ ERROR_CODE_REFERENCE: 'ERROR_CODE_REFERENCE',
2353
+ MAINTENANCE_LOG: 'MAINTENANCE_LOG',
2354
+ PAST_CHAT: 'PAST_CHAT',
2355
+ OTHER: 'OTHER'
2356
+ };
2357
+
2358
+ exports.EmbeddingStatus = exports.$Enums.EmbeddingStatus = {
2359
+ PENDING: 'PENDING',
2360
+ PROCESSING: 'PROCESSING',
2361
+ COMPLETED: 'COMPLETED',
2362
+ FAILED: 'FAILED'
2363
+ };
2364
+
2365
+ exports.FMEAType = exports.$Enums.FMEAType = {
2366
+ DFMEA: 'DFMEA',
2367
+ PFMEA: 'PFMEA'
2368
+ };
2369
+
2370
+ exports.DocStatus = exports.$Enums.DocStatus = {
2371
+ DRAFT: 'DRAFT',
2372
+ UNDER_REVIEW: 'UNDER_REVIEW',
2373
+ APPROVED: 'APPROVED',
2374
+ OBSOLETE: 'OBSOLETE',
2375
+ SUPERSEDED: 'SUPERSEDED',
2376
+ WITHDRAWN: 'WITHDRAWN'
2377
+ };
2378
+
2379
+ exports.ControlPlanType = exports.$Enums.ControlPlanType = {
2380
+ PROTOTYPE: 'PROTOTYPE',
2381
+ PRE_LAUNCH: 'PRE_LAUNCH',
2382
+ PRODUCTION: 'PRODUCTION'
2383
+ };
2384
+
2385
+ exports.PPAPStatus = exports.$Enums.PPAPStatus = {
2386
+ NOT_STARTED: 'NOT_STARTED',
2387
+ IN_PROGRESS: 'IN_PROGRESS',
2388
+ SUBMITTED: 'SUBMITTED',
2389
+ APPROVED: 'APPROVED',
2390
+ REJECTED: 'REJECTED'
2391
+ };
2392
+
2393
+ exports.ProblemStatus = exports.$Enums.ProblemStatus = {
2394
+ OPEN: 'OPEN',
2395
+ CONTAINMENT_ACTIVE: 'CONTAINMENT_ACTIVE',
2396
+ ROOT_CAUSE_IDENTIFIED: 'ROOT_CAUSE_IDENTIFIED',
2397
+ CORRECTIVE_ACTION_IMPLEMENTED: 'CORRECTIVE_ACTION_IMPLEMENTED',
2398
+ EFFECTIVENESS_VERIFIED: 'EFFECTIVENESS_VERIFIED',
2399
+ CLOSED: 'CLOSED'
2400
+ };
2401
+
2402
+ exports.BatchStatus = exports.$Enums.BatchStatus = {
2403
+ PENDING: 'PENDING',
2404
+ IN_PROGRESS: 'IN_PROGRESS',
2405
+ QUARANTINE: 'QUARANTINE',
2406
+ RELEASED: 'RELEASED',
2407
+ REJECTED: 'REJECTED',
2408
+ ON_HOLD: 'ON_HOLD',
2409
+ RECALLED: 'RECALLED'
2410
+ };
2411
+
2412
+ exports.DeviationSeverity = exports.$Enums.DeviationSeverity = {
2413
+ CRITICAL: 'CRITICAL',
2414
+ MAJOR: 'MAJOR',
2415
+ MINOR: 'MINOR'
2416
+ };
2417
+
2418
+ exports.DeviationStatus = exports.$Enums.DeviationStatus = {
2419
+ OPEN: 'OPEN',
2420
+ UNDER_INVESTIGATION: 'UNDER_INVESTIGATION',
2421
+ CAPA_ASSIGNED: 'CAPA_ASSIGNED',
2422
+ CAPA_IN_PROGRESS: 'CAPA_IN_PROGRESS',
2423
+ EFFECTIVENESS_CHECK: 'EFFECTIVENESS_CHECK',
2424
+ CLOSED: 'CLOSED',
2425
+ REOPENED: 'REOPENED'
2426
+ };
2427
+
2428
+ exports.CAPAType = exports.$Enums.CAPAType = {
2429
+ CORRECTIVE: 'CORRECTIVE',
2430
+ PREVENTIVE: 'PREVENTIVE'
2431
+ };
2432
+
2433
+ exports.CAPAStatus = exports.$Enums.CAPAStatus = {
2434
+ INITIATED: 'INITIATED',
2435
+ UNDER_REVIEW: 'UNDER_REVIEW',
2436
+ APPROVED: 'APPROVED',
2437
+ IN_PROGRESS: 'IN_PROGRESS',
2438
+ IMPLEMENTED: 'IMPLEMENTED',
2439
+ EFFECTIVENESS_CHECK: 'EFFECTIVENESS_CHECK',
2440
+ COMPLETED: 'COMPLETED',
2441
+ CANCELED: 'CANCELED'
2442
+ };
2443
+
2444
+ exports.SignatureMeaning = exports.$Enums.SignatureMeaning = {
2445
+ CREATED: 'CREATED',
2446
+ REVIEWED: 'REVIEWED',
2447
+ APPROVED: 'APPROVED',
2448
+ RELEASED: 'RELEASED',
2449
+ VERIFIED: 'VERIFIED',
2450
+ REJECTED: 'REJECTED',
2451
+ CANCELED: 'CANCELED',
2452
+ AMENDED: 'AMENDED'
2453
+ };
2454
+
2455
+ exports.TrainingStatus = exports.$Enums.TrainingStatus = {
2456
+ NOT_STARTED: 'NOT_STARTED',
2457
+ IN_PROGRESS: 'IN_PROGRESS',
2458
+ COMPLETED: 'COMPLETED',
2459
+ EXPIRED: 'EXPIRED',
2460
+ FAILED: 'FAILED'
2461
+ };
2462
+
2463
+ exports.ChangeControlStatus = exports.$Enums.ChangeControlStatus = {
2464
+ INITIATED: 'INITIATED',
2465
+ UNDER_REVIEW: 'UNDER_REVIEW',
2466
+ APPROVED: 'APPROVED',
2467
+ IMPLEMENTED: 'IMPLEMENTED',
2468
+ COMPLETED: 'COMPLETED',
2469
+ REJECTED: 'REJECTED',
2470
+ CANCELED: 'CANCELED'
2471
+ };
2472
+
2473
+ exports.TestStatus = exports.$Enums.TestStatus = {
2474
+ PENDING: 'PENDING',
2475
+ IN_PROGRESS: 'IN_PROGRESS',
2476
+ PASSED: 'PASSED',
2477
+ FAILED: 'FAILED',
2478
+ RETEST_REQUIRED: 'RETEST_REQUIRED',
2479
+ CANCELED: 'CANCELED'
2480
+ };
2481
+
2482
+ exports.PassportStatus = exports.$Enums.PassportStatus = {
2483
+ DRAFT: 'DRAFT',
2484
+ PUBLISHED: 'PUBLISHED',
2485
+ ACTIVE: 'ACTIVE',
2486
+ SUSPENDED: 'SUSPENDED',
2487
+ REVOKED: 'REVOKED'
2488
+ };
2489
+
2490
+ exports.SupplyChainNodeType = exports.$Enums.SupplyChainNodeType = {
2491
+ RAW_MATERIAL_SUPPLIER: 'RAW_MATERIAL_SUPPLIER',
2492
+ SPINNING: 'SPINNING',
2493
+ WEAVING: 'WEAVING',
2494
+ KNITTING: 'KNITTING',
2495
+ DYEING: 'DYEING',
2496
+ PRINTING: 'PRINTING',
2497
+ FINISHING: 'FINISHING',
2498
+ CUTTING: 'CUTTING',
2499
+ SEWING: 'SEWING',
2500
+ EMBROIDERY: 'EMBROIDERY',
2501
+ WASHING: 'WASHING',
2502
+ QUALITY_CHECK: 'QUALITY_CHECK',
2503
+ PACKAGING: 'PACKAGING',
2504
+ DISTRIBUTION: 'DISTRIBUTION'
2505
+ };
2506
+
2507
+ exports.CertificationType = exports.$Enums.CertificationType = {
2508
+ GOTS: 'GOTS',
2509
+ OEKO_TEX: 'OEKO_TEX',
2510
+ FAIR_TRADE: 'FAIR_TRADE',
2511
+ ORGANIC_COTTON: 'ORGANIC_COTTON',
2512
+ BCI: 'BCI',
2513
+ BLUESIGN: 'BLUESIGN',
2514
+ CRADLE_TO_CRADLE: 'CRADLE_TO_CRADLE',
2515
+ GRS: 'GRS',
2516
+ ISO_14001: 'ISO_14001',
2517
+ WRAP: 'WRAP',
2518
+ SA8000: 'SA8000'
2519
+ };
2520
+
2521
+ exports.DeviceType = exports.$Enums.DeviceType = {
2522
+ SENSOR_MODULE: 'SENSOR_MODULE',
2523
+ GATEWAY: 'GATEWAY',
2524
+ PLC: 'PLC',
2525
+ SCADA_RTU: 'SCADA_RTU',
2526
+ MODBUS_GATEWAY: 'MODBUS_GATEWAY',
2527
+ MQTT_BRIDGE: 'MQTT_BRIDGE',
2528
+ PROTOCOL_CONVERTER: 'PROTOCOL_CONVERTER',
2529
+ HYBRID: 'HYBRID'
974
2530
  };
975
2531
 
976
2532
  exports.SensorType = exports.$Enums.SensorType = {
977
2533
  PROXIMITY: 'PROXIMITY',
978
2534
  INFRARED: 'INFRARED',
979
2535
  RFID: 'RFID',
980
- CURRENT: 'CURRENT'
2536
+ CURRENT: 'CURRENT',
2537
+ VIBRATION: 'VIBRATION',
2538
+ TEMPERATURE: 'TEMPERATURE',
2539
+ PRESSURE: 'PRESSURE',
2540
+ FLOW: 'FLOW',
2541
+ WEIGHT: 'WEIGHT',
2542
+ LEVEL: 'LEVEL',
2543
+ PH: 'PH',
2544
+ HUMIDITY: 'HUMIDITY'
981
2545
  };
982
2546
 
983
2547
  exports.RFIDTapType = exports.$Enums.RFIDTapType = {
@@ -990,20 +2554,85 @@ exports.DevicePowerState = exports.$Enums.DevicePowerState = {
990
2554
  POWER_OFF: 'POWER_OFF'
991
2555
  };
992
2556
 
2557
+ exports.DataSourceType = exports.$Enums.DataSourceType = {
2558
+ PHYSICAL_SENSOR: 'PHYSICAL_SENSOR',
2559
+ MODBUS_REGISTER: 'MODBUS_REGISTER',
2560
+ MODBUS_COIL: 'MODBUS_COIL',
2561
+ MQTT_TOPIC: 'MQTT_TOPIC',
2562
+ OPC_UA_NODE: 'OPC_UA_NODE',
2563
+ PLC_TAG: 'PLC_TAG',
2564
+ SCADA_POINT: 'SCADA_POINT',
2565
+ REST_ENDPOINT: 'REST_ENDPOINT'
2566
+ };
2567
+
2568
+ exports.CommunicationProtocol = exports.$Enums.CommunicationProtocol = {
2569
+ MODBUS_TCP: 'MODBUS_TCP',
2570
+ ETHERNET_IP: 'ETHERNET_IP',
2571
+ PROFINET: 'PROFINET',
2572
+ OPC_UA: 'OPC_UA',
2573
+ OPC_DA: 'OPC_DA',
2574
+ MQTT: 'MQTT',
2575
+ MQTT_SPARKPLUG_B: 'MQTT_SPARKPLUG_B',
2576
+ HTTP_REST: 'HTTP_REST',
2577
+ WEBSOCKET: 'WEBSOCKET',
2578
+ MODBUS_RTU: 'MODBUS_RTU',
2579
+ MODBUS_ASCII: 'MODBUS_ASCII',
2580
+ RS232: 'RS232',
2581
+ RS485: 'RS485',
2582
+ PROFIBUS: 'PROFIBUS',
2583
+ CANBUS: 'CANBUS',
2584
+ SIEMENS_S7: 'SIEMENS_S7',
2585
+ ALLEN_BRADLEY_DF1: 'ALLEN_BRADLEY_DF1',
2586
+ MITSUBISHI_MELSEC: 'MITSUBISHI_MELSEC',
2587
+ OMRON_FINS: 'OMRON_FINS',
2588
+ FANUC_FOCAS: 'FANUC_FOCAS',
2589
+ HEIDENHAIN_DNC: 'HEIDENHAIN_DNC',
2590
+ BLUETOOTH_LE: 'BLUETOOTH_LE',
2591
+ ZIGBEE: 'ZIGBEE',
2592
+ LORA: 'LORA',
2593
+ WIFI: 'WIFI',
2594
+ SERIAL_ASCII: 'SERIAL_ASCII',
2595
+ SERIAL_BINARY: 'SERIAL_BINARY'
2596
+ };
2597
+
993
2598
  exports.AccessLevel = exports.$Enums.AccessLevel = {
994
2599
  PUBLIC: 'PUBLIC',
995
2600
  PRIVATE: 'PRIVATE'
996
2601
  };
997
2602
 
2603
+ exports.MachineState = exports.$Enums.MachineState = {
2604
+ UNKNOWN: 'UNKNOWN',
2605
+ RUNNING: 'RUNNING',
2606
+ IDLE: 'IDLE',
2607
+ STOPPED: 'STOPPED',
2608
+ ALARM: 'ALARM',
2609
+ SETUP: 'SETUP',
2610
+ MAINTENANCE: 'MAINTENANCE'
2611
+ };
2612
+
998
2613
  exports.MachineTrackingType = exports.$Enums.MachineTrackingType = {
999
2614
  MANUAL: 'MANUAL',
1000
2615
  AUTOMATED: 'AUTOMATED'
1001
2616
  };
1002
2617
 
2618
+ exports.MachineIndustryType = exports.$Enums.MachineIndustryType = {
2619
+ GARMENT: 'GARMENT',
2620
+ CNC_MACHINING: 'CNC_MACHINING',
2621
+ FOOD_BEVERAGE: 'FOOD_BEVERAGE',
2622
+ PHARMACEUTICAL: 'PHARMACEUTICAL',
2623
+ AUTOMOTIVE: 'AUTOMOTIVE',
2624
+ PAPER: 'PAPER',
2625
+ PLASTICS: 'PLASTICS',
2626
+ GENERAL: 'GENERAL'
2627
+ };
2628
+
1003
2629
  exports.ProductionSIUnit = exports.$Enums.ProductionSIUnit = {
1004
2630
  COUNT: 'COUNT',
1005
2631
  WEIGHT: 'WEIGHT',
1006
- LITERS: 'LITERS'
2632
+ LITERS: 'LITERS',
2633
+ METERS: 'METERS',
2634
+ BATCHES: 'BATCHES',
2635
+ HOURS: 'HOURS'
1007
2636
  };
1008
2637
 
1009
2638
  exports.EventCategory = exports.$Enums.EventCategory = {
@@ -1043,6 +2672,14 @@ exports.MaintenanceRequestPriority = exports.$Enums.MaintenanceRequestPriority =
1043
2672
  CRITICAL: 'CRITICAL'
1044
2673
  };
1045
2674
 
2675
+ exports.OperatorLevel = exports.$Enums.OperatorLevel = {
2676
+ FLOOR_WORKER: 'FLOOR_WORKER',
2677
+ TEAM_LEAD: 'TEAM_LEAD',
2678
+ SUPERVISOR: 'SUPERVISOR',
2679
+ QC_INSPECTOR: 'QC_INSPECTOR',
2680
+ MAINTENANCE_TECH: 'MAINTENANCE_TECH'
2681
+ };
2682
+
1046
2683
  exports.OrderStatus = exports.$Enums.OrderStatus = {
1047
2684
  NEW: 'NEW',
1048
2685
  CONFIRMED: 'CONFIRMED',
@@ -1080,6 +2717,14 @@ exports.ProductionUnitStatus = exports.$Enums.ProductionUnitStatus = {
1080
2717
  SHIPPED: 'SHIPPED'
1081
2718
  };
1082
2719
 
2720
+ exports.IdentifierType = exports.$Enums.IdentifierType = {
2721
+ RFID: 'RFID',
2722
+ BARCODE: 'BARCODE',
2723
+ QR_CODE: 'QR_CODE',
2724
+ MANUAL: 'MANUAL',
2725
+ NFC: 'NFC'
2726
+ };
2727
+
1083
2728
  exports.TaskStatus = exports.$Enums.TaskStatus = {
1084
2729
  NEW: 'NEW',
1085
2730
  IN_PROGRESS: 'IN_PROGRESS',
@@ -1110,9 +2755,50 @@ exports.Prisma.ModelName = {
1110
2755
  ProximitySensorHourlyAnalytics: 'ProximitySensorHourlyAnalytics',
1111
2756
  InfraredSensorHourlyAnalytics: 'InfraredSensorHourlyAnalytics',
1112
2757
  DevicePowerSensorHourlyAnalytics: 'DevicePowerSensorHourlyAnalytics',
2758
+ ProtocolDataSourceHourlyAnalytics: 'ProtocolDataSourceHourlyAnalytics',
2759
+ CurrentSensorHourlyAnalytics: 'CurrentSensorHourlyAnalytics',
2760
+ VibrationSensorHourlyAnalytics: 'VibrationSensorHourlyAnalytics',
2761
+ TemperatureSensorHourlyAnalytics: 'TemperatureSensorHourlyAnalytics',
2762
+ FlowSensorHourlyAnalytics: 'FlowSensorHourlyAnalytics',
2763
+ WeightSensorHourlyAnalytics: 'WeightSensorHourlyAnalytics',
2764
+ PressureSensorHourlyAnalytics: 'PressureSensorHourlyAnalytics',
1113
2765
  AuditLog: 'AuditLog',
2766
+ AuditLogPayload: 'AuditLogPayload',
1114
2767
  ChatbotHistory: 'ChatbotHistory',
1115
2768
  ChatbotMessage: 'ChatbotMessage',
2769
+ ChatbotKnowledgeBase: 'ChatbotKnowledgeBase',
2770
+ ChatbotKnowledgeChunk: 'ChatbotKnowledgeChunk',
2771
+ ChatbotSearchHistory: 'ChatbotSearchHistory',
2772
+ DeviceConversationContext: 'DeviceConversationContext',
2773
+ ChatbotFeedback: 'ChatbotFeedback',
2774
+ FMEA: 'FMEA',
2775
+ FMEAItem: 'FMEAItem',
2776
+ ControlPlan: 'ControlPlan',
2777
+ ControlPlanItem: 'ControlPlanItem',
2778
+ PPAPSubmission: 'PPAPSubmission',
2779
+ Problem8D: 'Problem8D',
2780
+ MasterFormulaRecord: 'MasterFormulaRecord',
2781
+ MFRMaterial: 'MFRMaterial',
2782
+ MFRProcessStep: 'MFRProcessStep',
2783
+ MFRQualitySpec: 'MFRQualitySpec',
2784
+ BatchManufacturingRecord: 'BatchManufacturingRecord',
2785
+ WeighingLog: 'WeighingLog',
2786
+ InProcessControl: 'InProcessControl',
2787
+ Deviation: 'Deviation',
2788
+ CAPA: 'CAPA',
2789
+ ElectronicSignature: 'ElectronicSignature',
2790
+ EquipmentQualification: 'EquipmentQualification',
2791
+ ControlledDocument: 'ControlledDocument',
2792
+ TrainingRecord: 'TrainingRecord',
2793
+ ChangeControl: 'ChangeControl',
2794
+ LabTestRequest: 'LabTestRequest',
2795
+ TestResult: 'TestResult',
2796
+ CalibrationRecord: 'CalibrationRecord',
2797
+ DigitalProductPassport: 'DigitalProductPassport',
2798
+ SupplyChainNode: 'SupplyChainNode',
2799
+ SupplyChainEdge: 'SupplyChainEdge',
2800
+ ProductCertificate: 'ProductCertificate',
2801
+ TextileQRScan: 'TextileQRScan',
1116
2802
  Gateway: 'Gateway',
1117
2803
  GatewayApiToken: 'GatewayApiToken',
1118
2804
  Device: 'Device',
@@ -1121,12 +2807,25 @@ exports.Prisma.ModelName = {
1121
2807
  CurrentSensorConfig: 'CurrentSensorConfig',
1122
2808
  InfraredSensorConfig: 'InfraredSensorConfig',
1123
2809
  MachineDeviceAssignment: 'MachineDeviceAssignment',
2810
+ VibrationSensorConfig: 'VibrationSensorConfig',
2811
+ TemperatureSensorConfig: 'TemperatureSensorConfig',
2812
+ FlowSensorConfig: 'FlowSensorConfig',
2813
+ WeightSensorConfig: 'WeightSensorConfig',
2814
+ PressureSensorConfig: 'PressureSensorConfig',
1124
2815
  SensorLog: 'SensorLog',
1125
2816
  RFIDSensorLog: 'RFIDSensorLog',
1126
2817
  ProximitySensorLog: 'ProximitySensorLog',
1127
2818
  InfraredSensorLog: 'InfraredSensorLog',
1128
2819
  CurrentSensorLog: 'CurrentSensorLog',
1129
2820
  DevicePowerSensorLog: 'DevicePowerSensorLog',
2821
+ VibrationSensorLog: 'VibrationSensorLog',
2822
+ TemperatureSensorLog: 'TemperatureSensorLog',
2823
+ FlowSensorLog: 'FlowSensorLog',
2824
+ WeightSensorLog: 'WeightSensorLog',
2825
+ PressureSensorLog: 'PressureSensorLog',
2826
+ ProtocolDataSource: 'ProtocolDataSource',
2827
+ ProtocolDataLog: 'ProtocolDataLog',
2828
+ DeviceConnection: 'DeviceConnection',
1130
2829
  Factory: 'Factory',
1131
2830
  Floor: 'Floor',
1132
2831
  FloorType: 'FloorType',
@@ -1139,6 +2838,8 @@ exports.Prisma.ModelName = {
1139
2838
  FinalProductRoute: 'FinalProductRoute',
1140
2839
  FinalProductMachineOperationRoute: 'FinalProductMachineOperationRoute',
1141
2840
  FinalProductRouteDependency: 'FinalProductRouteDependency',
2841
+ MachineStateLog: 'MachineStateLog',
2842
+ MachineProgram: 'MachineProgram',
1142
2843
  Machine: 'Machine',
1143
2844
  MachineOperation: 'MachineOperation',
1144
2845
  MachineEvent: 'MachineEvent',
@@ -1159,20 +2860,22 @@ exports.Prisma.ModelName = {
1159
2860
  OrderProduct: 'OrderProduct',
1160
2861
  OrderComment: 'OrderComment',
1161
2862
  ProductionUnit: 'ProductionUnit',
2863
+ ProductionUnitIdentifier: 'ProductionUnitIdentifier',
1162
2864
  ProductionUnitLog: 'ProductionUnitLog',
1163
2865
  ProductionRouteStep: 'ProductionRouteStep',
1164
2866
  ProductionUnitQC: 'ProductionUnitQC',
1165
- OrganizationUserFactoryEntityAccess: 'OrganizationUserFactoryEntityAccess',
2867
+ OrganizationUserEntityAccess: 'OrganizationUserEntityAccess',
1166
2868
  MaintenanceSpecialization: 'MaintenanceSpecialization',
1167
2869
  OrganizationCustomer: 'OrganizationCustomer',
1168
2870
  AssemblyLineType: 'AssemblyLineType',
1169
- OperatorOperationCategory: 'OperatorOperationCategory',
2871
+ Team: 'Team',
1170
2872
  Task: 'Task',
1171
2873
  TaskGroup: 'TaskGroup',
1172
2874
  TaskLot: 'TaskLot',
1173
2875
  TaskGroupLot: 'TaskGroupLot',
1174
2876
  TaskInspection: 'TaskInspection',
1175
- TaskComment: 'TaskComment'
2877
+ TaskComment: 'TaskComment',
2878
+ OperatorOperationCategory: 'OperatorOperationCategory'
1176
2879
  };
1177
2880
 
1178
2881
  /**