efiber-prisma-schema 1.16.2 → 2.0.1
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/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +12 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/schema.prisma +2 -2
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports all enum related types from the schema.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export const NetworkElementClassification = {
|
|
13
|
+
NetworkElement: 'NetworkElement',
|
|
14
|
+
InfrastructureElement: 'InfrastructureElement',
|
|
15
|
+
MapElement: 'MapElement'
|
|
16
|
+
} as const
|
|
17
|
+
|
|
18
|
+
export type NetworkElementClassification = (typeof NetworkElementClassification)[keyof typeof NetworkElementClassification]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
export const ProjectLevel = {
|
|
22
|
+
Subsidiary: 'Subsidiary',
|
|
23
|
+
Client: 'Client',
|
|
24
|
+
MainProject: 'MainProject',
|
|
25
|
+
Project: 'Project',
|
|
26
|
+
CentralOffice: 'CentralOffice',
|
|
27
|
+
Cluster: 'Cluster'
|
|
28
|
+
} as const
|
|
29
|
+
|
|
30
|
+
export type ProjectLevel = (typeof ProjectLevel)[keyof typeof ProjectLevel]
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
export const NetworkElementChildType = {
|
|
34
|
+
PboFat: 'PboFat',
|
|
35
|
+
Cable: 'Cable',
|
|
36
|
+
SpliceClosure: 'SpliceClosure',
|
|
37
|
+
Zone: 'Zone',
|
|
38
|
+
SFU: 'SFU',
|
|
39
|
+
Loop: 'Loop',
|
|
40
|
+
FDTSRO: 'FDTSRO',
|
|
41
|
+
Manhole: 'Manhole',
|
|
42
|
+
Building: 'Building',
|
|
43
|
+
Pole: 'Pole'
|
|
44
|
+
} as const
|
|
45
|
+
|
|
46
|
+
export type NetworkElementChildType = (typeof NetworkElementChildType)[keyof typeof NetworkElementChildType]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
export const EquipmentType = {
|
|
50
|
+
PboFat: 'PboFat',
|
|
51
|
+
SpliceClosure: 'SpliceClosure',
|
|
52
|
+
FDTSRO: 'FDTSRO'
|
|
53
|
+
} as const
|
|
54
|
+
|
|
55
|
+
export type EquipmentType = (typeof EquipmentType)[keyof typeof EquipmentType]
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export const AggregationOperation = {
|
|
59
|
+
LIST: 'LIST',
|
|
60
|
+
SUM: 'SUM',
|
|
61
|
+
COUNT: 'COUNT',
|
|
62
|
+
AVERAGE: 'AVERAGE'
|
|
63
|
+
} as const
|
|
64
|
+
|
|
65
|
+
export type AggregationOperation = (typeof AggregationOperation)[keyof typeof AggregationOperation]
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
export const ArithmeticOperation = {
|
|
69
|
+
ADD: 'ADD',
|
|
70
|
+
SUBTRACT: 'SUBTRACT',
|
|
71
|
+
MULTIPLY: 'MULTIPLY',
|
|
72
|
+
DIVIDE: 'DIVIDE'
|
|
73
|
+
} as const
|
|
74
|
+
|
|
75
|
+
export type ArithmeticOperation = (typeof ArithmeticOperation)[keyof typeof ArithmeticOperation]
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
export const ReportUsage = {
|
|
79
|
+
TABLE: 'TABLE',
|
|
80
|
+
VISUALIZATION: 'VISUALIZATION'
|
|
81
|
+
} as const
|
|
82
|
+
|
|
83
|
+
export type ReportUsage = (typeof ReportUsage)[keyof typeof ReportUsage]
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
export const ValueFormat = {
|
|
87
|
+
PERCENTAGE: 'PERCENTAGE',
|
|
88
|
+
NUMBER: 'NUMBER'
|
|
89
|
+
} as const
|
|
90
|
+
|
|
91
|
+
export type ValueFormat = (typeof ValueFormat)[keyof typeof ValueFormat]
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
export const ChartType = {
|
|
95
|
+
BAR: 'BAR',
|
|
96
|
+
LINE: 'LINE',
|
|
97
|
+
PIE: 'PIE'
|
|
98
|
+
} as const
|
|
99
|
+
|
|
100
|
+
export type ChartType = (typeof ChartType)[keyof typeof ChartType]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
export const MetricType = {
|
|
104
|
+
ProjectInfo: 'ProjectInfo',
|
|
105
|
+
NetworkElement: 'NetworkElement',
|
|
106
|
+
NetworkElementAttributes: 'NetworkElementAttributes',
|
|
107
|
+
FormulaResult: 'FormulaResult'
|
|
108
|
+
} as const
|
|
109
|
+
|
|
110
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType]
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
export const MapElementType = {
|
|
114
|
+
Marker: 'Marker',
|
|
115
|
+
Polyline: 'Polyline',
|
|
116
|
+
Polygon: 'Polygon'
|
|
117
|
+
} as const
|
|
118
|
+
|
|
119
|
+
export type MapElementType = (typeof MapElementType)[keyof typeof MapElementType]
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
export const CentralOfficeTeamPosition = {
|
|
123
|
+
Supervisor: 'Supervisor',
|
|
124
|
+
Designer: 'Designer',
|
|
125
|
+
Technician: 'Technician'
|
|
126
|
+
} as const
|
|
127
|
+
|
|
128
|
+
export type CentralOfficeTeamPosition = (typeof CentralOfficeTeamPosition)[keyof typeof CentralOfficeTeamPosition]
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
export const NotificationPlatform = {
|
|
132
|
+
Web: 'Web',
|
|
133
|
+
Mobile: 'Mobile'
|
|
134
|
+
} as const
|
|
135
|
+
|
|
136
|
+
export type NotificationPlatform = (typeof NotificationPlatform)[keyof typeof NotificationPlatform]
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
export const ClusterProjectPhase = {
|
|
140
|
+
Survey: 'Survey',
|
|
141
|
+
Design: 'Design',
|
|
142
|
+
Construction: 'Construction',
|
|
143
|
+
GIS: 'GIS',
|
|
144
|
+
Dispatch: 'Dispatch'
|
|
145
|
+
} as const
|
|
146
|
+
|
|
147
|
+
export type ClusterProjectPhase = (typeof ClusterProjectPhase)[keyof typeof ClusterProjectPhase]
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export const RevisionStatus = {
|
|
151
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
152
|
+
SUBMITTED: 'SUBMITTED',
|
|
153
|
+
APPROVED: 'APPROVED',
|
|
154
|
+
REJECTED: 'REJECTED'
|
|
155
|
+
} as const
|
|
156
|
+
|
|
157
|
+
export type RevisionStatus = (typeof RevisionStatus)[keyof typeof RevisionStatus]
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
export const RelationType = {
|
|
161
|
+
INSTALLED_ON: 'INSTALLED_ON',
|
|
162
|
+
CONNECTED_TO: 'CONNECTED_TO',
|
|
163
|
+
ENCLOSURE_ORIGIN: 'ENCLOSURE_ORIGIN',
|
|
164
|
+
ENCLOSURE_DESTINATION: 'ENCLOSURE_DESTINATION'
|
|
165
|
+
} as const
|
|
166
|
+
|
|
167
|
+
export type RelationType = (typeof RelationType)[keyof typeof RelationType]
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
export const AttributeType = {
|
|
171
|
+
TEXT: 'TEXT',
|
|
172
|
+
NUMBER: 'NUMBER',
|
|
173
|
+
BOOLEAN: 'BOOLEAN',
|
|
174
|
+
DROPDOWN: 'DROPDOWN',
|
|
175
|
+
OPTIONS: 'OPTIONS',
|
|
176
|
+
DATE: 'DATE',
|
|
177
|
+
JSON: 'JSON'
|
|
178
|
+
} as const
|
|
179
|
+
|
|
180
|
+
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType]
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
export const CableAttachmentRole = {
|
|
184
|
+
DESTINATION: 'DESTINATION',
|
|
185
|
+
ORIGIN: 'ORIGIN'
|
|
186
|
+
} as const
|
|
187
|
+
|
|
188
|
+
export type CableAttachmentRole = (typeof CableAttachmentRole)[keyof typeof CableAttachmentRole]
|