efiber-prisma-schema 1.16.1 → 2.0.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.
Files changed (124) hide show
  1. package/index.d.ts +6 -1
  2. package/index.js +10 -1
  3. package/package.json +13 -5
  4. package/prisma/generated/browser.ts +559 -0
  5. package/prisma/generated/client.ts +581 -0
  6. package/prisma/generated/commonInputTypes.ts +1246 -0
  7. package/prisma/generated/enums.ts +188 -0
  8. package/prisma/generated/internal/class.ts +1260 -0
  9. package/prisma/generated/internal/prismaNamespace.ts +11532 -0
  10. package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
  11. package/prisma/generated/models/AttributeDefinition.ts +1498 -0
  12. package/prisma/generated/models/AttributeValue.ts +1419 -0
  13. package/prisma/generated/models/Audit.ts +1725 -0
  14. package/prisma/generated/models/BillOfMaterial.ts +1934 -0
  15. package/prisma/generated/models/Building.ts +6130 -0
  16. package/prisma/generated/models/BuildingTemplate.ts +2912 -0
  17. package/prisma/generated/models/Cable.ts +10501 -0
  18. package/prisma/generated/models/CableAttachment.ts +1530 -0
  19. package/prisma/generated/models/CableAttributes.ts +2244 -0
  20. package/prisma/generated/models/CableTemplate.ts +3170 -0
  21. package/prisma/generated/models/CamusatClient.ts +2001 -0
  22. package/prisma/generated/models/CamusatCountry.ts +2425 -0
  23. package/prisma/generated/models/CentralOffice.ts +1921 -0
  24. package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
  25. package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
  26. package/prisma/generated/models/Cluster.ts +10984 -0
  27. package/prisma/generated/models/ClusterComments.ts +1668 -0
  28. package/prisma/generated/models/ClusterNotes.ts +1703 -0
  29. package/prisma/generated/models/Conduit.ts +5119 -0
  30. package/prisma/generated/models/ConduitTemplate.ts +2940 -0
  31. package/prisma/generated/models/Country.ts +1795 -0
  32. package/prisma/generated/models/DispatchMaterial.ts +3070 -0
  33. package/prisma/generated/models/DispatchProject.ts +4179 -0
  34. package/prisma/generated/models/DispatchTeam.ts +3053 -0
  35. package/prisma/generated/models/Duct.ts +1813 -0
  36. package/prisma/generated/models/ElementNode.ts +4413 -0
  37. package/prisma/generated/models/ElementRelation.ts +1644 -0
  38. package/prisma/generated/models/EmailConfigurations.ts +3736 -0
  39. package/prisma/generated/models/EmailTemplates.ts +1739 -0
  40. package/prisma/generated/models/EmailsIncoming.ts +2010 -0
  41. package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
  42. package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
  43. package/prisma/generated/models/FDTSRO.ts +6180 -0
  44. package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
  45. package/prisma/generated/models/Feature.ts +1867 -0
  46. package/prisma/generated/models/FeatureType.ts +1430 -0
  47. package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
  48. package/prisma/generated/models/Loop.ts +5271 -0
  49. package/prisma/generated/models/LoopTemplate.ts +2912 -0
  50. package/prisma/generated/models/MainProject.ts +1664 -0
  51. package/prisma/generated/models/Manhole.ts +5090 -0
  52. package/prisma/generated/models/ManholeTemplate.ts +2912 -0
  53. package/prisma/generated/models/MapElement.ts +3450 -0
  54. package/prisma/generated/models/MapElementTemplate.ts +2742 -0
  55. package/prisma/generated/models/Material.ts +1963 -0
  56. package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
  57. package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
  58. package/prisma/generated/models/NetworkElement.ts +6891 -0
  59. package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
  60. package/prisma/generated/models/Notifications.ts +1563 -0
  61. package/prisma/generated/models/OptionSource.ts +1132 -0
  62. package/prisma/generated/models/PboFat.ts +8248 -0
  63. package/prisma/generated/models/PboFatAttributes.ts +2672 -0
  64. package/prisma/generated/models/PboFatTemplate.ts +3112 -0
  65. package/prisma/generated/models/Platform.ts +1759 -0
  66. package/prisma/generated/models/Pole.ts +5266 -0
  67. package/prisma/generated/models/PoleTemplate.ts +2912 -0
  68. package/prisma/generated/models/Position.ts +1490 -0
  69. package/prisma/generated/models/PreviousEquipment.ts +1881 -0
  70. package/prisma/generated/models/Project.ts +14893 -0
  71. package/prisma/generated/models/ProjectType.ts +1351 -0
  72. package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
  73. package/prisma/generated/models/ReportFormats.ts +1768 -0
  74. package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
  75. package/prisma/generated/models/ReportMetric.ts +1737 -0
  76. package/prisma/generated/models/ReportTable.ts +1498 -0
  77. package/prisma/generated/models/ReportVisualization.ts +1446 -0
  78. package/prisma/generated/models/Revision.ts +4653 -0
  79. package/prisma/generated/models/Role.ts +2960 -0
  80. package/prisma/generated/models/SFU.ts +5977 -0
  81. package/prisma/generated/models/SFUTemplate.ts +2912 -0
  82. package/prisma/generated/models/SpliceClosure.ts +6405 -0
  83. package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
  84. package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
  85. package/prisma/generated/models/Splitter.ts +1459 -0
  86. package/prisma/generated/models/StockMovement.ts +1589 -0
  87. package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
  88. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
  89. package/prisma/generated/models/Team.ts +2044 -0
  90. package/prisma/generated/models/TeamMaterial.ts +2193 -0
  91. package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
  92. package/prisma/generated/models/TeamPlatform.ts +1874 -0
  93. package/prisma/generated/models/TeamType.ts +1655 -0
  94. package/prisma/generated/models/Template.ts +1691 -0
  95. package/prisma/generated/models/TemplateComponent.ts +1995 -0
  96. package/prisma/generated/models/User.ts +25676 -0
  97. package/prisma/generated/models/WorkOrder.ts +5901 -0
  98. package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
  99. package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
  100. package/prisma/generated/models/WorkOrderComments.ts +1687 -0
  101. package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
  102. package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
  103. package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
  104. package/prisma/generated/models/WorkOrderTask.ts +2220 -0
  105. package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
  106. package/prisma/generated/models/ZoneNro.ts +3926 -0
  107. package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
  108. package/prisma/generated/models/clientMaterial.ts +2193 -0
  109. package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
  110. package/prisma/generated/models/ductTemplate.ts +1606 -0
  111. package/prisma/generated/models/installationSequence.ts +1708 -0
  112. package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
  113. package/prisma/generated/models/integrationUserLocation.ts +1681 -0
  114. package/prisma/generated/models/problemCategorization.ts +1543 -0
  115. package/prisma/generated/models/projectPhaseLog.ts +1728 -0
  116. package/prisma/generated/models/qrCodeTag.ts +4978 -0
  117. package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
  118. package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
  119. package/prisma/generated/models.ts +119 -0
  120. package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +2 -0
  121. package/prisma/schema.prisma +3 -3
  122. package/prisma/seed.ts +33 -0
  123. package/prisma.config.ts +13 -0
  124. package/tsconfig.json +13 -0
@@ -0,0 +1,2425 @@
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 the `CamusatCountry` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.js"
13
+ import type * as Prisma from "../internal/prismaNamespace.js"
14
+
15
+ /**
16
+ * Model CamusatCountry
17
+ *
18
+ */
19
+ export type CamusatCountryModel = runtime.Types.Result.DefaultSelection<Prisma.$CamusatCountryPayload>
20
+
21
+ export type AggregateCamusatCountry = {
22
+ _count: CamusatCountryCountAggregateOutputType | null
23
+ _avg: CamusatCountryAvgAggregateOutputType | null
24
+ _sum: CamusatCountrySumAggregateOutputType | null
25
+ _min: CamusatCountryMinAggregateOutputType | null
26
+ _max: CamusatCountryMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type CamusatCountryAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type CamusatCountrySumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type CamusatCountryMinAggregateOutputType = {
38
+ id: string | null
39
+ no: number | null
40
+ name: string | null
41
+ original: string | null
42
+ description: string | null
43
+ status: string | null
44
+ type: string | null
45
+ createdAt: Date | null
46
+ updatedAt: Date | null
47
+ deletedAt: Date | null
48
+ countryId: string | null
49
+ }
50
+
51
+ export type CamusatCountryMaxAggregateOutputType = {
52
+ id: string | null
53
+ no: number | null
54
+ name: string | null
55
+ original: string | null
56
+ description: string | null
57
+ status: string | null
58
+ type: string | null
59
+ createdAt: Date | null
60
+ updatedAt: Date | null
61
+ deletedAt: Date | null
62
+ countryId: string | null
63
+ }
64
+
65
+ export type CamusatCountryCountAggregateOutputType = {
66
+ id: number
67
+ no: number
68
+ name: number
69
+ original: number
70
+ description: number
71
+ status: number
72
+ type: number
73
+ createdAt: number
74
+ updatedAt: number
75
+ deletedAt: number
76
+ countryId: number
77
+ _all: number
78
+ }
79
+
80
+
81
+ export type CamusatCountryAvgAggregateInputType = {
82
+ no?: true
83
+ }
84
+
85
+ export type CamusatCountrySumAggregateInputType = {
86
+ no?: true
87
+ }
88
+
89
+ export type CamusatCountryMinAggregateInputType = {
90
+ id?: true
91
+ no?: true
92
+ name?: true
93
+ original?: true
94
+ description?: true
95
+ status?: true
96
+ type?: true
97
+ createdAt?: true
98
+ updatedAt?: true
99
+ deletedAt?: true
100
+ countryId?: true
101
+ }
102
+
103
+ export type CamusatCountryMaxAggregateInputType = {
104
+ id?: true
105
+ no?: true
106
+ name?: true
107
+ original?: true
108
+ description?: true
109
+ status?: true
110
+ type?: true
111
+ createdAt?: true
112
+ updatedAt?: true
113
+ deletedAt?: true
114
+ countryId?: true
115
+ }
116
+
117
+ export type CamusatCountryCountAggregateInputType = {
118
+ id?: true
119
+ no?: true
120
+ name?: true
121
+ original?: true
122
+ description?: true
123
+ status?: true
124
+ type?: true
125
+ createdAt?: true
126
+ updatedAt?: true
127
+ deletedAt?: true
128
+ countryId?: true
129
+ _all?: true
130
+ }
131
+
132
+ export type CamusatCountryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
133
+ /**
134
+ * Filter which CamusatCountry to aggregate.
135
+ */
136
+ where?: Prisma.CamusatCountryWhereInput
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
139
+ *
140
+ * Determine the order of CamusatCountries to fetch.
141
+ */
142
+ orderBy?: Prisma.CamusatCountryOrderByWithRelationInput | Prisma.CamusatCountryOrderByWithRelationInput[]
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
145
+ *
146
+ * Sets the start position
147
+ */
148
+ cursor?: Prisma.CamusatCountryWhereUniqueInput
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
151
+ *
152
+ * Take `±n` CamusatCountries from the position of the cursor.
153
+ */
154
+ take?: number
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
157
+ *
158
+ * Skip the first `n` CamusatCountries.
159
+ */
160
+ skip?: number
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Count returned CamusatCountries
165
+ **/
166
+ _count?: true | CamusatCountryCountAggregateInputType
167
+ /**
168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
+ *
170
+ * Select which fields to average
171
+ **/
172
+ _avg?: CamusatCountryAvgAggregateInputType
173
+ /**
174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
175
+ *
176
+ * Select which fields to sum
177
+ **/
178
+ _sum?: CamusatCountrySumAggregateInputType
179
+ /**
180
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
181
+ *
182
+ * Select which fields to find the minimum value
183
+ **/
184
+ _min?: CamusatCountryMinAggregateInputType
185
+ /**
186
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
187
+ *
188
+ * Select which fields to find the maximum value
189
+ **/
190
+ _max?: CamusatCountryMaxAggregateInputType
191
+ }
192
+
193
+ export type GetCamusatCountryAggregateType<T extends CamusatCountryAggregateArgs> = {
194
+ [P in keyof T & keyof AggregateCamusatCountry]: P extends '_count' | 'count'
195
+ ? T[P] extends true
196
+ ? number
197
+ : Prisma.GetScalarType<T[P], AggregateCamusatCountry[P]>
198
+ : Prisma.GetScalarType<T[P], AggregateCamusatCountry[P]>
199
+ }
200
+
201
+
202
+
203
+
204
+ export type CamusatCountryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
205
+ where?: Prisma.CamusatCountryWhereInput
206
+ orderBy?: Prisma.CamusatCountryOrderByWithAggregationInput | Prisma.CamusatCountryOrderByWithAggregationInput[]
207
+ by: Prisma.CamusatCountryScalarFieldEnum[] | Prisma.CamusatCountryScalarFieldEnum
208
+ having?: Prisma.CamusatCountryScalarWhereWithAggregatesInput
209
+ take?: number
210
+ skip?: number
211
+ _count?: CamusatCountryCountAggregateInputType | true
212
+ _avg?: CamusatCountryAvgAggregateInputType
213
+ _sum?: CamusatCountrySumAggregateInputType
214
+ _min?: CamusatCountryMinAggregateInputType
215
+ _max?: CamusatCountryMaxAggregateInputType
216
+ }
217
+
218
+ export type CamusatCountryGroupByOutputType = {
219
+ id: string
220
+ no: number
221
+ name: string
222
+ original: string | null
223
+ description: string | null
224
+ status: string
225
+ type: string
226
+ createdAt: Date
227
+ updatedAt: Date
228
+ deletedAt: Date | null
229
+ countryId: string
230
+ _count: CamusatCountryCountAggregateOutputType | null
231
+ _avg: CamusatCountryAvgAggregateOutputType | null
232
+ _sum: CamusatCountrySumAggregateOutputType | null
233
+ _min: CamusatCountryMinAggregateOutputType | null
234
+ _max: CamusatCountryMaxAggregateOutputType | null
235
+ }
236
+
237
+ type GetCamusatCountryGroupByPayload<T extends CamusatCountryGroupByArgs> = Prisma.PrismaPromise<
238
+ Array<
239
+ Prisma.PickEnumerable<CamusatCountryGroupByOutputType, T['by']> &
240
+ {
241
+ [P in ((keyof T) & (keyof CamusatCountryGroupByOutputType))]: P extends '_count'
242
+ ? T[P] extends boolean
243
+ ? number
244
+ : Prisma.GetScalarType<T[P], CamusatCountryGroupByOutputType[P]>
245
+ : Prisma.GetScalarType<T[P], CamusatCountryGroupByOutputType[P]>
246
+ }
247
+ >
248
+ >
249
+
250
+
251
+
252
+ export type CamusatCountryWhereInput = {
253
+ AND?: Prisma.CamusatCountryWhereInput | Prisma.CamusatCountryWhereInput[]
254
+ OR?: Prisma.CamusatCountryWhereInput[]
255
+ NOT?: Prisma.CamusatCountryWhereInput | Prisma.CamusatCountryWhereInput[]
256
+ id?: Prisma.StringFilter<"CamusatCountry"> | string
257
+ no?: Prisma.IntFilter<"CamusatCountry"> | number
258
+ name?: Prisma.StringFilter<"CamusatCountry"> | string
259
+ original?: Prisma.StringNullableFilter<"CamusatCountry"> | string | null
260
+ description?: Prisma.StringNullableFilter<"CamusatCountry"> | string | null
261
+ status?: Prisma.StringFilter<"CamusatCountry"> | string
262
+ type?: Prisma.StringFilter<"CamusatCountry"> | string
263
+ createdAt?: Prisma.DateTimeFilter<"CamusatCountry"> | Date | string
264
+ updatedAt?: Prisma.DateTimeFilter<"CamusatCountry"> | Date | string
265
+ deletedAt?: Prisma.DateTimeNullableFilter<"CamusatCountry"> | Date | string | null
266
+ countryId?: Prisma.StringFilter<"CamusatCountry"> | string
267
+ CamusatClient?: Prisma.CamusatClientListRelationFilter
268
+ mainProjects?: Prisma.MainProjectListRelationFilter
269
+ Country?: Prisma.XOR<Prisma.CountryScalarRelationFilter, Prisma.CountryWhereInput>
270
+ user?: Prisma.UserListRelationFilter
271
+ dispatchProject?: Prisma.DispatchProjectListRelationFilter
272
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialListRelationFilter
273
+ }
274
+
275
+ export type CamusatCountryOrderByWithRelationInput = {
276
+ id?: Prisma.SortOrder
277
+ no?: Prisma.SortOrder
278
+ name?: Prisma.SortOrder
279
+ original?: Prisma.SortOrderInput | Prisma.SortOrder
280
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
281
+ status?: Prisma.SortOrder
282
+ type?: Prisma.SortOrder
283
+ createdAt?: Prisma.SortOrder
284
+ updatedAt?: Prisma.SortOrder
285
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
286
+ countryId?: Prisma.SortOrder
287
+ CamusatClient?: Prisma.CamusatClientOrderByRelationAggregateInput
288
+ mainProjects?: Prisma.MainProjectOrderByRelationAggregateInput
289
+ Country?: Prisma.CountryOrderByWithRelationInput
290
+ user?: Prisma.UserOrderByRelationAggregateInput
291
+ dispatchProject?: Prisma.DispatchProjectOrderByRelationAggregateInput
292
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialOrderByRelationAggregateInput
293
+ }
294
+
295
+ export type CamusatCountryWhereUniqueInput = Prisma.AtLeast<{
296
+ id?: string
297
+ name?: string
298
+ AND?: Prisma.CamusatCountryWhereInput | Prisma.CamusatCountryWhereInput[]
299
+ OR?: Prisma.CamusatCountryWhereInput[]
300
+ NOT?: Prisma.CamusatCountryWhereInput | Prisma.CamusatCountryWhereInput[]
301
+ no?: Prisma.IntFilter<"CamusatCountry"> | number
302
+ original?: Prisma.StringNullableFilter<"CamusatCountry"> | string | null
303
+ description?: Prisma.StringNullableFilter<"CamusatCountry"> | string | null
304
+ status?: Prisma.StringFilter<"CamusatCountry"> | string
305
+ type?: Prisma.StringFilter<"CamusatCountry"> | string
306
+ createdAt?: Prisma.DateTimeFilter<"CamusatCountry"> | Date | string
307
+ updatedAt?: Prisma.DateTimeFilter<"CamusatCountry"> | Date | string
308
+ deletedAt?: Prisma.DateTimeNullableFilter<"CamusatCountry"> | Date | string | null
309
+ countryId?: Prisma.StringFilter<"CamusatCountry"> | string
310
+ CamusatClient?: Prisma.CamusatClientListRelationFilter
311
+ mainProjects?: Prisma.MainProjectListRelationFilter
312
+ Country?: Prisma.XOR<Prisma.CountryScalarRelationFilter, Prisma.CountryWhereInput>
313
+ user?: Prisma.UserListRelationFilter
314
+ dispatchProject?: Prisma.DispatchProjectListRelationFilter
315
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialListRelationFilter
316
+ }, "id" | "id" | "name">
317
+
318
+ export type CamusatCountryOrderByWithAggregationInput = {
319
+ id?: Prisma.SortOrder
320
+ no?: Prisma.SortOrder
321
+ name?: Prisma.SortOrder
322
+ original?: Prisma.SortOrderInput | Prisma.SortOrder
323
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
324
+ status?: Prisma.SortOrder
325
+ type?: Prisma.SortOrder
326
+ createdAt?: Prisma.SortOrder
327
+ updatedAt?: Prisma.SortOrder
328
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
329
+ countryId?: Prisma.SortOrder
330
+ _count?: Prisma.CamusatCountryCountOrderByAggregateInput
331
+ _avg?: Prisma.CamusatCountryAvgOrderByAggregateInput
332
+ _max?: Prisma.CamusatCountryMaxOrderByAggregateInput
333
+ _min?: Prisma.CamusatCountryMinOrderByAggregateInput
334
+ _sum?: Prisma.CamusatCountrySumOrderByAggregateInput
335
+ }
336
+
337
+ export type CamusatCountryScalarWhereWithAggregatesInput = {
338
+ AND?: Prisma.CamusatCountryScalarWhereWithAggregatesInput | Prisma.CamusatCountryScalarWhereWithAggregatesInput[]
339
+ OR?: Prisma.CamusatCountryScalarWhereWithAggregatesInput[]
340
+ NOT?: Prisma.CamusatCountryScalarWhereWithAggregatesInput | Prisma.CamusatCountryScalarWhereWithAggregatesInput[]
341
+ id?: Prisma.StringWithAggregatesFilter<"CamusatCountry"> | string
342
+ no?: Prisma.IntWithAggregatesFilter<"CamusatCountry"> | number
343
+ name?: Prisma.StringWithAggregatesFilter<"CamusatCountry"> | string
344
+ original?: Prisma.StringNullableWithAggregatesFilter<"CamusatCountry"> | string | null
345
+ description?: Prisma.StringNullableWithAggregatesFilter<"CamusatCountry"> | string | null
346
+ status?: Prisma.StringWithAggregatesFilter<"CamusatCountry"> | string
347
+ type?: Prisma.StringWithAggregatesFilter<"CamusatCountry"> | string
348
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"CamusatCountry"> | Date | string
349
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CamusatCountry"> | Date | string
350
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"CamusatCountry"> | Date | string | null
351
+ countryId?: Prisma.StringWithAggregatesFilter<"CamusatCountry"> | string
352
+ }
353
+
354
+ export type CamusatCountryCreateInput = {
355
+ id?: string
356
+ no?: number
357
+ name: string
358
+ original?: string | null
359
+ description?: string | null
360
+ status?: string
361
+ type?: string
362
+ createdAt?: Date | string
363
+ updatedAt?: Date | string
364
+ deletedAt?: Date | string | null
365
+ CamusatClient?: Prisma.CamusatClientCreateNestedManyWithoutCountryInput
366
+ mainProjects?: Prisma.MainProjectCreateNestedManyWithoutCamusatCountryInput
367
+ Country: Prisma.CountryCreateNestedOneWithoutCamusatCountryInput
368
+ user?: Prisma.UserCreateNestedManyWithoutManaging_countriesInput
369
+ dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutSubsidiaryInput
370
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutSubsidiaryInput
371
+ }
372
+
373
+ export type CamusatCountryUncheckedCreateInput = {
374
+ id?: string
375
+ no?: number
376
+ name: string
377
+ original?: string | null
378
+ description?: string | null
379
+ status?: string
380
+ type?: string
381
+ createdAt?: Date | string
382
+ updatedAt?: Date | string
383
+ deletedAt?: Date | string | null
384
+ countryId: string
385
+ CamusatClient?: Prisma.CamusatClientUncheckedCreateNestedManyWithoutCountryInput
386
+ mainProjects?: Prisma.MainProjectUncheckedCreateNestedManyWithoutCamusatCountryInput
387
+ user?: Prisma.UserUncheckedCreateNestedManyWithoutManaging_countriesInput
388
+ dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutSubsidiaryInput
389
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutSubsidiaryInput
390
+ }
391
+
392
+ export type CamusatCountryUpdateInput = {
393
+ id?: Prisma.StringFieldUpdateOperationsInput | string
394
+ no?: Prisma.IntFieldUpdateOperationsInput | number
395
+ name?: Prisma.StringFieldUpdateOperationsInput | string
396
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
397
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
398
+ status?: Prisma.StringFieldUpdateOperationsInput | string
399
+ type?: Prisma.StringFieldUpdateOperationsInput | string
400
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
401
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
402
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
403
+ CamusatClient?: Prisma.CamusatClientUpdateManyWithoutCountryNestedInput
404
+ mainProjects?: Prisma.MainProjectUpdateManyWithoutCamusatCountryNestedInput
405
+ Country?: Prisma.CountryUpdateOneRequiredWithoutCamusatCountryNestedInput
406
+ user?: Prisma.UserUpdateManyWithoutManaging_countriesNestedInput
407
+ dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutSubsidiaryNestedInput
408
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutSubsidiaryNestedInput
409
+ }
410
+
411
+ export type CamusatCountryUncheckedUpdateInput = {
412
+ id?: Prisma.StringFieldUpdateOperationsInput | string
413
+ no?: Prisma.IntFieldUpdateOperationsInput | number
414
+ name?: Prisma.StringFieldUpdateOperationsInput | string
415
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
416
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
417
+ status?: Prisma.StringFieldUpdateOperationsInput | string
418
+ type?: Prisma.StringFieldUpdateOperationsInput | string
419
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
420
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
421
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
422
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
423
+ CamusatClient?: Prisma.CamusatClientUncheckedUpdateManyWithoutCountryNestedInput
424
+ mainProjects?: Prisma.MainProjectUncheckedUpdateManyWithoutCamusatCountryNestedInput
425
+ user?: Prisma.UserUncheckedUpdateManyWithoutManaging_countriesNestedInput
426
+ dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutSubsidiaryNestedInput
427
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutSubsidiaryNestedInput
428
+ }
429
+
430
+ export type CamusatCountryCreateManyInput = {
431
+ id?: string
432
+ no?: number
433
+ name: string
434
+ original?: string | null
435
+ description?: string | null
436
+ status?: string
437
+ type?: string
438
+ createdAt?: Date | string
439
+ updatedAt?: Date | string
440
+ deletedAt?: Date | string | null
441
+ countryId: string
442
+ }
443
+
444
+ export type CamusatCountryUpdateManyMutationInput = {
445
+ id?: Prisma.StringFieldUpdateOperationsInput | string
446
+ no?: Prisma.IntFieldUpdateOperationsInput | number
447
+ name?: Prisma.StringFieldUpdateOperationsInput | string
448
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
449
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
450
+ status?: Prisma.StringFieldUpdateOperationsInput | string
451
+ type?: Prisma.StringFieldUpdateOperationsInput | string
452
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
453
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
454
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
455
+ }
456
+
457
+ export type CamusatCountryUncheckedUpdateManyInput = {
458
+ id?: Prisma.StringFieldUpdateOperationsInput | string
459
+ no?: Prisma.IntFieldUpdateOperationsInput | number
460
+ name?: Prisma.StringFieldUpdateOperationsInput | string
461
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
462
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
463
+ status?: Prisma.StringFieldUpdateOperationsInput | string
464
+ type?: Prisma.StringFieldUpdateOperationsInput | string
465
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
466
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
467
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
468
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
469
+ }
470
+
471
+ export type CamusatCountryListRelationFilter = {
472
+ every?: Prisma.CamusatCountryWhereInput
473
+ some?: Prisma.CamusatCountryWhereInput
474
+ none?: Prisma.CamusatCountryWhereInput
475
+ }
476
+
477
+ export type CamusatCountryOrderByRelationAggregateInput = {
478
+ _count?: Prisma.SortOrder
479
+ }
480
+
481
+ export type CamusatCountryCountOrderByAggregateInput = {
482
+ id?: Prisma.SortOrder
483
+ no?: Prisma.SortOrder
484
+ name?: Prisma.SortOrder
485
+ original?: Prisma.SortOrder
486
+ description?: Prisma.SortOrder
487
+ status?: Prisma.SortOrder
488
+ type?: Prisma.SortOrder
489
+ createdAt?: Prisma.SortOrder
490
+ updatedAt?: Prisma.SortOrder
491
+ deletedAt?: Prisma.SortOrder
492
+ countryId?: Prisma.SortOrder
493
+ }
494
+
495
+ export type CamusatCountryAvgOrderByAggregateInput = {
496
+ no?: Prisma.SortOrder
497
+ }
498
+
499
+ export type CamusatCountryMaxOrderByAggregateInput = {
500
+ id?: Prisma.SortOrder
501
+ no?: Prisma.SortOrder
502
+ name?: Prisma.SortOrder
503
+ original?: Prisma.SortOrder
504
+ description?: Prisma.SortOrder
505
+ status?: Prisma.SortOrder
506
+ type?: Prisma.SortOrder
507
+ createdAt?: Prisma.SortOrder
508
+ updatedAt?: Prisma.SortOrder
509
+ deletedAt?: Prisma.SortOrder
510
+ countryId?: Prisma.SortOrder
511
+ }
512
+
513
+ export type CamusatCountryMinOrderByAggregateInput = {
514
+ id?: Prisma.SortOrder
515
+ no?: Prisma.SortOrder
516
+ name?: Prisma.SortOrder
517
+ original?: Prisma.SortOrder
518
+ description?: Prisma.SortOrder
519
+ status?: Prisma.SortOrder
520
+ type?: Prisma.SortOrder
521
+ createdAt?: Prisma.SortOrder
522
+ updatedAt?: Prisma.SortOrder
523
+ deletedAt?: Prisma.SortOrder
524
+ countryId?: Prisma.SortOrder
525
+ }
526
+
527
+ export type CamusatCountrySumOrderByAggregateInput = {
528
+ no?: Prisma.SortOrder
529
+ }
530
+
531
+ export type CamusatCountryScalarRelationFilter = {
532
+ is?: Prisma.CamusatCountryWhereInput
533
+ isNot?: Prisma.CamusatCountryWhereInput
534
+ }
535
+
536
+ export type CamusatCountryNullableScalarRelationFilter = {
537
+ is?: Prisma.CamusatCountryWhereInput | null
538
+ isNot?: Prisma.CamusatCountryWhereInput | null
539
+ }
540
+
541
+ export type CamusatCountryCreateNestedManyWithoutCountryInput = {
542
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCountryInput, Prisma.CamusatCountryUncheckedCreateWithoutCountryInput> | Prisma.CamusatCountryCreateWithoutCountryInput[] | Prisma.CamusatCountryUncheckedCreateWithoutCountryInput[]
543
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutCountryInput | Prisma.CamusatCountryCreateOrConnectWithoutCountryInput[]
544
+ createMany?: Prisma.CamusatCountryCreateManyCountryInputEnvelope
545
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
546
+ }
547
+
548
+ export type CamusatCountryUncheckedCreateNestedManyWithoutCountryInput = {
549
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCountryInput, Prisma.CamusatCountryUncheckedCreateWithoutCountryInput> | Prisma.CamusatCountryCreateWithoutCountryInput[] | Prisma.CamusatCountryUncheckedCreateWithoutCountryInput[]
550
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutCountryInput | Prisma.CamusatCountryCreateOrConnectWithoutCountryInput[]
551
+ createMany?: Prisma.CamusatCountryCreateManyCountryInputEnvelope
552
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
553
+ }
554
+
555
+ export type CamusatCountryUpdateManyWithoutCountryNestedInput = {
556
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCountryInput, Prisma.CamusatCountryUncheckedCreateWithoutCountryInput> | Prisma.CamusatCountryCreateWithoutCountryInput[] | Prisma.CamusatCountryUncheckedCreateWithoutCountryInput[]
557
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutCountryInput | Prisma.CamusatCountryCreateOrConnectWithoutCountryInput[]
558
+ upsert?: Prisma.CamusatCountryUpsertWithWhereUniqueWithoutCountryInput | Prisma.CamusatCountryUpsertWithWhereUniqueWithoutCountryInput[]
559
+ createMany?: Prisma.CamusatCountryCreateManyCountryInputEnvelope
560
+ set?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
561
+ disconnect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
562
+ delete?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
563
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
564
+ update?: Prisma.CamusatCountryUpdateWithWhereUniqueWithoutCountryInput | Prisma.CamusatCountryUpdateWithWhereUniqueWithoutCountryInput[]
565
+ updateMany?: Prisma.CamusatCountryUpdateManyWithWhereWithoutCountryInput | Prisma.CamusatCountryUpdateManyWithWhereWithoutCountryInput[]
566
+ deleteMany?: Prisma.CamusatCountryScalarWhereInput | Prisma.CamusatCountryScalarWhereInput[]
567
+ }
568
+
569
+ export type CamusatCountryUncheckedUpdateManyWithoutCountryNestedInput = {
570
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCountryInput, Prisma.CamusatCountryUncheckedCreateWithoutCountryInput> | Prisma.CamusatCountryCreateWithoutCountryInput[] | Prisma.CamusatCountryUncheckedCreateWithoutCountryInput[]
571
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutCountryInput | Prisma.CamusatCountryCreateOrConnectWithoutCountryInput[]
572
+ upsert?: Prisma.CamusatCountryUpsertWithWhereUniqueWithoutCountryInput | Prisma.CamusatCountryUpsertWithWhereUniqueWithoutCountryInput[]
573
+ createMany?: Prisma.CamusatCountryCreateManyCountryInputEnvelope
574
+ set?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
575
+ disconnect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
576
+ delete?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
577
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
578
+ update?: Prisma.CamusatCountryUpdateWithWhereUniqueWithoutCountryInput | Prisma.CamusatCountryUpdateWithWhereUniqueWithoutCountryInput[]
579
+ updateMany?: Prisma.CamusatCountryUpdateManyWithWhereWithoutCountryInput | Prisma.CamusatCountryUpdateManyWithWhereWithoutCountryInput[]
580
+ deleteMany?: Prisma.CamusatCountryScalarWhereInput | Prisma.CamusatCountryScalarWhereInput[]
581
+ }
582
+
583
+ export type NullableDateTimeFieldUpdateOperationsInput = {
584
+ set?: Date | string | null
585
+ }
586
+
587
+ export type CamusatCountryCreateNestedOneWithoutCamusatClientInput = {
588
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCamusatClientInput, Prisma.CamusatCountryUncheckedCreateWithoutCamusatClientInput>
589
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutCamusatClientInput
590
+ connect?: Prisma.CamusatCountryWhereUniqueInput
591
+ }
592
+
593
+ export type CamusatCountryUpdateOneRequiredWithoutCamusatClientNestedInput = {
594
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCamusatClientInput, Prisma.CamusatCountryUncheckedCreateWithoutCamusatClientInput>
595
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutCamusatClientInput
596
+ upsert?: Prisma.CamusatCountryUpsertWithoutCamusatClientInput
597
+ connect?: Prisma.CamusatCountryWhereUniqueInput
598
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CamusatCountryUpdateToOneWithWhereWithoutCamusatClientInput, Prisma.CamusatCountryUpdateWithoutCamusatClientInput>, Prisma.CamusatCountryUncheckedUpdateWithoutCamusatClientInput>
599
+ }
600
+
601
+ export type CamusatCountryCreateNestedManyWithoutUserInput = {
602
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutUserInput, Prisma.CamusatCountryUncheckedCreateWithoutUserInput> | Prisma.CamusatCountryCreateWithoutUserInput[] | Prisma.CamusatCountryUncheckedCreateWithoutUserInput[]
603
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutUserInput | Prisma.CamusatCountryCreateOrConnectWithoutUserInput[]
604
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
605
+ }
606
+
607
+ export type CamusatCountryUncheckedCreateNestedManyWithoutUserInput = {
608
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutUserInput, Prisma.CamusatCountryUncheckedCreateWithoutUserInput> | Prisma.CamusatCountryCreateWithoutUserInput[] | Prisma.CamusatCountryUncheckedCreateWithoutUserInput[]
609
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutUserInput | Prisma.CamusatCountryCreateOrConnectWithoutUserInput[]
610
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
611
+ }
612
+
613
+ export type CamusatCountryUpdateManyWithoutUserNestedInput = {
614
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutUserInput, Prisma.CamusatCountryUncheckedCreateWithoutUserInput> | Prisma.CamusatCountryCreateWithoutUserInput[] | Prisma.CamusatCountryUncheckedCreateWithoutUserInput[]
615
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutUserInput | Prisma.CamusatCountryCreateOrConnectWithoutUserInput[]
616
+ upsert?: Prisma.CamusatCountryUpsertWithWhereUniqueWithoutUserInput | Prisma.CamusatCountryUpsertWithWhereUniqueWithoutUserInput[]
617
+ set?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
618
+ disconnect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
619
+ delete?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
620
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
621
+ update?: Prisma.CamusatCountryUpdateWithWhereUniqueWithoutUserInput | Prisma.CamusatCountryUpdateWithWhereUniqueWithoutUserInput[]
622
+ updateMany?: Prisma.CamusatCountryUpdateManyWithWhereWithoutUserInput | Prisma.CamusatCountryUpdateManyWithWhereWithoutUserInput[]
623
+ deleteMany?: Prisma.CamusatCountryScalarWhereInput | Prisma.CamusatCountryScalarWhereInput[]
624
+ }
625
+
626
+ export type CamusatCountryUncheckedUpdateManyWithoutUserNestedInput = {
627
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutUserInput, Prisma.CamusatCountryUncheckedCreateWithoutUserInput> | Prisma.CamusatCountryCreateWithoutUserInput[] | Prisma.CamusatCountryUncheckedCreateWithoutUserInput[]
628
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutUserInput | Prisma.CamusatCountryCreateOrConnectWithoutUserInput[]
629
+ upsert?: Prisma.CamusatCountryUpsertWithWhereUniqueWithoutUserInput | Prisma.CamusatCountryUpsertWithWhereUniqueWithoutUserInput[]
630
+ set?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
631
+ disconnect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
632
+ delete?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
633
+ connect?: Prisma.CamusatCountryWhereUniqueInput | Prisma.CamusatCountryWhereUniqueInput[]
634
+ update?: Prisma.CamusatCountryUpdateWithWhereUniqueWithoutUserInput | Prisma.CamusatCountryUpdateWithWhereUniqueWithoutUserInput[]
635
+ updateMany?: Prisma.CamusatCountryUpdateManyWithWhereWithoutUserInput | Prisma.CamusatCountryUpdateManyWithWhereWithoutUserInput[]
636
+ deleteMany?: Prisma.CamusatCountryScalarWhereInput | Prisma.CamusatCountryScalarWhereInput[]
637
+ }
638
+
639
+ export type CamusatCountryCreateNestedOneWithoutMainProjectsInput = {
640
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutMainProjectsInput, Prisma.CamusatCountryUncheckedCreateWithoutMainProjectsInput>
641
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutMainProjectsInput
642
+ connect?: Prisma.CamusatCountryWhereUniqueInput
643
+ }
644
+
645
+ export type CamusatCountryUpdateOneRequiredWithoutMainProjectsNestedInput = {
646
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutMainProjectsInput, Prisma.CamusatCountryUncheckedCreateWithoutMainProjectsInput>
647
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutMainProjectsInput
648
+ upsert?: Prisma.CamusatCountryUpsertWithoutMainProjectsInput
649
+ connect?: Prisma.CamusatCountryWhereUniqueInput
650
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CamusatCountryUpdateToOneWithWhereWithoutMainProjectsInput, Prisma.CamusatCountryUpdateWithoutMainProjectsInput>, Prisma.CamusatCountryUncheckedUpdateWithoutMainProjectsInput>
651
+ }
652
+
653
+ export type CamusatCountryCreateNestedOneWithoutDispatchProjectInput = {
654
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutDispatchProjectInput, Prisma.CamusatCountryUncheckedCreateWithoutDispatchProjectInput>
655
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutDispatchProjectInput
656
+ connect?: Prisma.CamusatCountryWhereUniqueInput
657
+ }
658
+
659
+ export type CamusatCountryUpdateOneWithoutDispatchProjectNestedInput = {
660
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutDispatchProjectInput, Prisma.CamusatCountryUncheckedCreateWithoutDispatchProjectInput>
661
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutDispatchProjectInput
662
+ upsert?: Prisma.CamusatCountryUpsertWithoutDispatchProjectInput
663
+ disconnect?: Prisma.CamusatCountryWhereInput | boolean
664
+ delete?: Prisma.CamusatCountryWhereInput | boolean
665
+ connect?: Prisma.CamusatCountryWhereUniqueInput
666
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CamusatCountryUpdateToOneWithWhereWithoutDispatchProjectInput, Prisma.CamusatCountryUpdateWithoutDispatchProjectInput>, Prisma.CamusatCountryUncheckedUpdateWithoutDispatchProjectInput>
667
+ }
668
+
669
+ export type CamusatCountryCreateNestedOneWithoutSubsidiaryMaterialInput = {
670
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutSubsidiaryMaterialInput, Prisma.CamusatCountryUncheckedCreateWithoutSubsidiaryMaterialInput>
671
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutSubsidiaryMaterialInput
672
+ connect?: Prisma.CamusatCountryWhereUniqueInput
673
+ }
674
+
675
+ export type CamusatCountryUpdateOneRequiredWithoutSubsidiaryMaterialNestedInput = {
676
+ create?: Prisma.XOR<Prisma.CamusatCountryCreateWithoutSubsidiaryMaterialInput, Prisma.CamusatCountryUncheckedCreateWithoutSubsidiaryMaterialInput>
677
+ connectOrCreate?: Prisma.CamusatCountryCreateOrConnectWithoutSubsidiaryMaterialInput
678
+ upsert?: Prisma.CamusatCountryUpsertWithoutSubsidiaryMaterialInput
679
+ connect?: Prisma.CamusatCountryWhereUniqueInput
680
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CamusatCountryUpdateToOneWithWhereWithoutSubsidiaryMaterialInput, Prisma.CamusatCountryUpdateWithoutSubsidiaryMaterialInput>, Prisma.CamusatCountryUncheckedUpdateWithoutSubsidiaryMaterialInput>
681
+ }
682
+
683
+ export type CamusatCountryCreateWithoutCountryInput = {
684
+ id?: string
685
+ no?: number
686
+ name: string
687
+ original?: string | null
688
+ description?: string | null
689
+ status?: string
690
+ type?: string
691
+ createdAt?: Date | string
692
+ updatedAt?: Date | string
693
+ deletedAt?: Date | string | null
694
+ CamusatClient?: Prisma.CamusatClientCreateNestedManyWithoutCountryInput
695
+ mainProjects?: Prisma.MainProjectCreateNestedManyWithoutCamusatCountryInput
696
+ user?: Prisma.UserCreateNestedManyWithoutManaging_countriesInput
697
+ dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutSubsidiaryInput
698
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutSubsidiaryInput
699
+ }
700
+
701
+ export type CamusatCountryUncheckedCreateWithoutCountryInput = {
702
+ id?: string
703
+ no?: number
704
+ name: string
705
+ original?: string | null
706
+ description?: string | null
707
+ status?: string
708
+ type?: string
709
+ createdAt?: Date | string
710
+ updatedAt?: Date | string
711
+ deletedAt?: Date | string | null
712
+ CamusatClient?: Prisma.CamusatClientUncheckedCreateNestedManyWithoutCountryInput
713
+ mainProjects?: Prisma.MainProjectUncheckedCreateNestedManyWithoutCamusatCountryInput
714
+ user?: Prisma.UserUncheckedCreateNestedManyWithoutManaging_countriesInput
715
+ dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutSubsidiaryInput
716
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutSubsidiaryInput
717
+ }
718
+
719
+ export type CamusatCountryCreateOrConnectWithoutCountryInput = {
720
+ where: Prisma.CamusatCountryWhereUniqueInput
721
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCountryInput, Prisma.CamusatCountryUncheckedCreateWithoutCountryInput>
722
+ }
723
+
724
+ export type CamusatCountryCreateManyCountryInputEnvelope = {
725
+ data: Prisma.CamusatCountryCreateManyCountryInput | Prisma.CamusatCountryCreateManyCountryInput[]
726
+ skipDuplicates?: boolean
727
+ }
728
+
729
+ export type CamusatCountryUpsertWithWhereUniqueWithoutCountryInput = {
730
+ where: Prisma.CamusatCountryWhereUniqueInput
731
+ update: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutCountryInput, Prisma.CamusatCountryUncheckedUpdateWithoutCountryInput>
732
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCountryInput, Prisma.CamusatCountryUncheckedCreateWithoutCountryInput>
733
+ }
734
+
735
+ export type CamusatCountryUpdateWithWhereUniqueWithoutCountryInput = {
736
+ where: Prisma.CamusatCountryWhereUniqueInput
737
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutCountryInput, Prisma.CamusatCountryUncheckedUpdateWithoutCountryInput>
738
+ }
739
+
740
+ export type CamusatCountryUpdateManyWithWhereWithoutCountryInput = {
741
+ where: Prisma.CamusatCountryScalarWhereInput
742
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateManyMutationInput, Prisma.CamusatCountryUncheckedUpdateManyWithoutCountryInput>
743
+ }
744
+
745
+ export type CamusatCountryScalarWhereInput = {
746
+ AND?: Prisma.CamusatCountryScalarWhereInput | Prisma.CamusatCountryScalarWhereInput[]
747
+ OR?: Prisma.CamusatCountryScalarWhereInput[]
748
+ NOT?: Prisma.CamusatCountryScalarWhereInput | Prisma.CamusatCountryScalarWhereInput[]
749
+ id?: Prisma.StringFilter<"CamusatCountry"> | string
750
+ no?: Prisma.IntFilter<"CamusatCountry"> | number
751
+ name?: Prisma.StringFilter<"CamusatCountry"> | string
752
+ original?: Prisma.StringNullableFilter<"CamusatCountry"> | string | null
753
+ description?: Prisma.StringNullableFilter<"CamusatCountry"> | string | null
754
+ status?: Prisma.StringFilter<"CamusatCountry"> | string
755
+ type?: Prisma.StringFilter<"CamusatCountry"> | string
756
+ createdAt?: Prisma.DateTimeFilter<"CamusatCountry"> | Date | string
757
+ updatedAt?: Prisma.DateTimeFilter<"CamusatCountry"> | Date | string
758
+ deletedAt?: Prisma.DateTimeNullableFilter<"CamusatCountry"> | Date | string | null
759
+ countryId?: Prisma.StringFilter<"CamusatCountry"> | string
760
+ }
761
+
762
+ export type CamusatCountryCreateWithoutCamusatClientInput = {
763
+ id?: string
764
+ no?: number
765
+ name: string
766
+ original?: string | null
767
+ description?: string | null
768
+ status?: string
769
+ type?: string
770
+ createdAt?: Date | string
771
+ updatedAt?: Date | string
772
+ deletedAt?: Date | string | null
773
+ mainProjects?: Prisma.MainProjectCreateNestedManyWithoutCamusatCountryInput
774
+ Country: Prisma.CountryCreateNestedOneWithoutCamusatCountryInput
775
+ user?: Prisma.UserCreateNestedManyWithoutManaging_countriesInput
776
+ dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutSubsidiaryInput
777
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutSubsidiaryInput
778
+ }
779
+
780
+ export type CamusatCountryUncheckedCreateWithoutCamusatClientInput = {
781
+ id?: string
782
+ no?: number
783
+ name: string
784
+ original?: string | null
785
+ description?: string | null
786
+ status?: string
787
+ type?: string
788
+ createdAt?: Date | string
789
+ updatedAt?: Date | string
790
+ deletedAt?: Date | string | null
791
+ countryId: string
792
+ mainProjects?: Prisma.MainProjectUncheckedCreateNestedManyWithoutCamusatCountryInput
793
+ user?: Prisma.UserUncheckedCreateNestedManyWithoutManaging_countriesInput
794
+ dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutSubsidiaryInput
795
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutSubsidiaryInput
796
+ }
797
+
798
+ export type CamusatCountryCreateOrConnectWithoutCamusatClientInput = {
799
+ where: Prisma.CamusatCountryWhereUniqueInput
800
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCamusatClientInput, Prisma.CamusatCountryUncheckedCreateWithoutCamusatClientInput>
801
+ }
802
+
803
+ export type CamusatCountryUpsertWithoutCamusatClientInput = {
804
+ update: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutCamusatClientInput, Prisma.CamusatCountryUncheckedUpdateWithoutCamusatClientInput>
805
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutCamusatClientInput, Prisma.CamusatCountryUncheckedCreateWithoutCamusatClientInput>
806
+ where?: Prisma.CamusatCountryWhereInput
807
+ }
808
+
809
+ export type CamusatCountryUpdateToOneWithWhereWithoutCamusatClientInput = {
810
+ where?: Prisma.CamusatCountryWhereInput
811
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutCamusatClientInput, Prisma.CamusatCountryUncheckedUpdateWithoutCamusatClientInput>
812
+ }
813
+
814
+ export type CamusatCountryUpdateWithoutCamusatClientInput = {
815
+ id?: Prisma.StringFieldUpdateOperationsInput | string
816
+ no?: Prisma.IntFieldUpdateOperationsInput | number
817
+ name?: Prisma.StringFieldUpdateOperationsInput | string
818
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
819
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
820
+ status?: Prisma.StringFieldUpdateOperationsInput | string
821
+ type?: Prisma.StringFieldUpdateOperationsInput | string
822
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
823
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
824
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
825
+ mainProjects?: Prisma.MainProjectUpdateManyWithoutCamusatCountryNestedInput
826
+ Country?: Prisma.CountryUpdateOneRequiredWithoutCamusatCountryNestedInput
827
+ user?: Prisma.UserUpdateManyWithoutManaging_countriesNestedInput
828
+ dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutSubsidiaryNestedInput
829
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutSubsidiaryNestedInput
830
+ }
831
+
832
+ export type CamusatCountryUncheckedUpdateWithoutCamusatClientInput = {
833
+ id?: Prisma.StringFieldUpdateOperationsInput | string
834
+ no?: Prisma.IntFieldUpdateOperationsInput | number
835
+ name?: Prisma.StringFieldUpdateOperationsInput | string
836
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
837
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
838
+ status?: Prisma.StringFieldUpdateOperationsInput | string
839
+ type?: Prisma.StringFieldUpdateOperationsInput | string
840
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
841
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
842
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
843
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
844
+ mainProjects?: Prisma.MainProjectUncheckedUpdateManyWithoutCamusatCountryNestedInput
845
+ user?: Prisma.UserUncheckedUpdateManyWithoutManaging_countriesNestedInput
846
+ dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutSubsidiaryNestedInput
847
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutSubsidiaryNestedInput
848
+ }
849
+
850
+ export type CamusatCountryCreateWithoutUserInput = {
851
+ id?: string
852
+ no?: number
853
+ name: string
854
+ original?: string | null
855
+ description?: string | null
856
+ status?: string
857
+ type?: string
858
+ createdAt?: Date | string
859
+ updatedAt?: Date | string
860
+ deletedAt?: Date | string | null
861
+ CamusatClient?: Prisma.CamusatClientCreateNestedManyWithoutCountryInput
862
+ mainProjects?: Prisma.MainProjectCreateNestedManyWithoutCamusatCountryInput
863
+ Country: Prisma.CountryCreateNestedOneWithoutCamusatCountryInput
864
+ dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutSubsidiaryInput
865
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutSubsidiaryInput
866
+ }
867
+
868
+ export type CamusatCountryUncheckedCreateWithoutUserInput = {
869
+ id?: string
870
+ no?: number
871
+ name: string
872
+ original?: string | null
873
+ description?: string | null
874
+ status?: string
875
+ type?: string
876
+ createdAt?: Date | string
877
+ updatedAt?: Date | string
878
+ deletedAt?: Date | string | null
879
+ countryId: string
880
+ CamusatClient?: Prisma.CamusatClientUncheckedCreateNestedManyWithoutCountryInput
881
+ mainProjects?: Prisma.MainProjectUncheckedCreateNestedManyWithoutCamusatCountryInput
882
+ dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutSubsidiaryInput
883
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutSubsidiaryInput
884
+ }
885
+
886
+ export type CamusatCountryCreateOrConnectWithoutUserInput = {
887
+ where: Prisma.CamusatCountryWhereUniqueInput
888
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutUserInput, Prisma.CamusatCountryUncheckedCreateWithoutUserInput>
889
+ }
890
+
891
+ export type CamusatCountryUpsertWithWhereUniqueWithoutUserInput = {
892
+ where: Prisma.CamusatCountryWhereUniqueInput
893
+ update: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutUserInput, Prisma.CamusatCountryUncheckedUpdateWithoutUserInput>
894
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutUserInput, Prisma.CamusatCountryUncheckedCreateWithoutUserInput>
895
+ }
896
+
897
+ export type CamusatCountryUpdateWithWhereUniqueWithoutUserInput = {
898
+ where: Prisma.CamusatCountryWhereUniqueInput
899
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutUserInput, Prisma.CamusatCountryUncheckedUpdateWithoutUserInput>
900
+ }
901
+
902
+ export type CamusatCountryUpdateManyWithWhereWithoutUserInput = {
903
+ where: Prisma.CamusatCountryScalarWhereInput
904
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateManyMutationInput, Prisma.CamusatCountryUncheckedUpdateManyWithoutUserInput>
905
+ }
906
+
907
+ export type CamusatCountryCreateWithoutMainProjectsInput = {
908
+ id?: string
909
+ no?: number
910
+ name: string
911
+ original?: string | null
912
+ description?: string | null
913
+ status?: string
914
+ type?: string
915
+ createdAt?: Date | string
916
+ updatedAt?: Date | string
917
+ deletedAt?: Date | string | null
918
+ CamusatClient?: Prisma.CamusatClientCreateNestedManyWithoutCountryInput
919
+ Country: Prisma.CountryCreateNestedOneWithoutCamusatCountryInput
920
+ user?: Prisma.UserCreateNestedManyWithoutManaging_countriesInput
921
+ dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutSubsidiaryInput
922
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutSubsidiaryInput
923
+ }
924
+
925
+ export type CamusatCountryUncheckedCreateWithoutMainProjectsInput = {
926
+ id?: string
927
+ no?: number
928
+ name: string
929
+ original?: string | null
930
+ description?: string | null
931
+ status?: string
932
+ type?: string
933
+ createdAt?: Date | string
934
+ updatedAt?: Date | string
935
+ deletedAt?: Date | string | null
936
+ countryId: string
937
+ CamusatClient?: Prisma.CamusatClientUncheckedCreateNestedManyWithoutCountryInput
938
+ user?: Prisma.UserUncheckedCreateNestedManyWithoutManaging_countriesInput
939
+ dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutSubsidiaryInput
940
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutSubsidiaryInput
941
+ }
942
+
943
+ export type CamusatCountryCreateOrConnectWithoutMainProjectsInput = {
944
+ where: Prisma.CamusatCountryWhereUniqueInput
945
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutMainProjectsInput, Prisma.CamusatCountryUncheckedCreateWithoutMainProjectsInput>
946
+ }
947
+
948
+ export type CamusatCountryUpsertWithoutMainProjectsInput = {
949
+ update: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutMainProjectsInput, Prisma.CamusatCountryUncheckedUpdateWithoutMainProjectsInput>
950
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutMainProjectsInput, Prisma.CamusatCountryUncheckedCreateWithoutMainProjectsInput>
951
+ where?: Prisma.CamusatCountryWhereInput
952
+ }
953
+
954
+ export type CamusatCountryUpdateToOneWithWhereWithoutMainProjectsInput = {
955
+ where?: Prisma.CamusatCountryWhereInput
956
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutMainProjectsInput, Prisma.CamusatCountryUncheckedUpdateWithoutMainProjectsInput>
957
+ }
958
+
959
+ export type CamusatCountryUpdateWithoutMainProjectsInput = {
960
+ id?: Prisma.StringFieldUpdateOperationsInput | string
961
+ no?: Prisma.IntFieldUpdateOperationsInput | number
962
+ name?: Prisma.StringFieldUpdateOperationsInput | string
963
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
964
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
965
+ status?: Prisma.StringFieldUpdateOperationsInput | string
966
+ type?: Prisma.StringFieldUpdateOperationsInput | string
967
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
968
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
969
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
970
+ CamusatClient?: Prisma.CamusatClientUpdateManyWithoutCountryNestedInput
971
+ Country?: Prisma.CountryUpdateOneRequiredWithoutCamusatCountryNestedInput
972
+ user?: Prisma.UserUpdateManyWithoutManaging_countriesNestedInput
973
+ dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutSubsidiaryNestedInput
974
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutSubsidiaryNestedInput
975
+ }
976
+
977
+ export type CamusatCountryUncheckedUpdateWithoutMainProjectsInput = {
978
+ id?: Prisma.StringFieldUpdateOperationsInput | string
979
+ no?: Prisma.IntFieldUpdateOperationsInput | number
980
+ name?: Prisma.StringFieldUpdateOperationsInput | string
981
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
982
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
983
+ status?: Prisma.StringFieldUpdateOperationsInput | string
984
+ type?: Prisma.StringFieldUpdateOperationsInput | string
985
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
986
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
987
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
988
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
989
+ CamusatClient?: Prisma.CamusatClientUncheckedUpdateManyWithoutCountryNestedInput
990
+ user?: Prisma.UserUncheckedUpdateManyWithoutManaging_countriesNestedInput
991
+ dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutSubsidiaryNestedInput
992
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutSubsidiaryNestedInput
993
+ }
994
+
995
+ export type CamusatCountryCreateWithoutDispatchProjectInput = {
996
+ id?: string
997
+ no?: number
998
+ name: string
999
+ original?: string | null
1000
+ description?: string | null
1001
+ status?: string
1002
+ type?: string
1003
+ createdAt?: Date | string
1004
+ updatedAt?: Date | string
1005
+ deletedAt?: Date | string | null
1006
+ CamusatClient?: Prisma.CamusatClientCreateNestedManyWithoutCountryInput
1007
+ mainProjects?: Prisma.MainProjectCreateNestedManyWithoutCamusatCountryInput
1008
+ Country: Prisma.CountryCreateNestedOneWithoutCamusatCountryInput
1009
+ user?: Prisma.UserCreateNestedManyWithoutManaging_countriesInput
1010
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutSubsidiaryInput
1011
+ }
1012
+
1013
+ export type CamusatCountryUncheckedCreateWithoutDispatchProjectInput = {
1014
+ id?: string
1015
+ no?: number
1016
+ name: string
1017
+ original?: string | null
1018
+ description?: string | null
1019
+ status?: string
1020
+ type?: string
1021
+ createdAt?: Date | string
1022
+ updatedAt?: Date | string
1023
+ deletedAt?: Date | string | null
1024
+ countryId: string
1025
+ CamusatClient?: Prisma.CamusatClientUncheckedCreateNestedManyWithoutCountryInput
1026
+ mainProjects?: Prisma.MainProjectUncheckedCreateNestedManyWithoutCamusatCountryInput
1027
+ user?: Prisma.UserUncheckedCreateNestedManyWithoutManaging_countriesInput
1028
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutSubsidiaryInput
1029
+ }
1030
+
1031
+ export type CamusatCountryCreateOrConnectWithoutDispatchProjectInput = {
1032
+ where: Prisma.CamusatCountryWhereUniqueInput
1033
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutDispatchProjectInput, Prisma.CamusatCountryUncheckedCreateWithoutDispatchProjectInput>
1034
+ }
1035
+
1036
+ export type CamusatCountryUpsertWithoutDispatchProjectInput = {
1037
+ update: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutDispatchProjectInput, Prisma.CamusatCountryUncheckedUpdateWithoutDispatchProjectInput>
1038
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutDispatchProjectInput, Prisma.CamusatCountryUncheckedCreateWithoutDispatchProjectInput>
1039
+ where?: Prisma.CamusatCountryWhereInput
1040
+ }
1041
+
1042
+ export type CamusatCountryUpdateToOneWithWhereWithoutDispatchProjectInput = {
1043
+ where?: Prisma.CamusatCountryWhereInput
1044
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutDispatchProjectInput, Prisma.CamusatCountryUncheckedUpdateWithoutDispatchProjectInput>
1045
+ }
1046
+
1047
+ export type CamusatCountryUpdateWithoutDispatchProjectInput = {
1048
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1049
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1050
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1051
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1052
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1053
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1054
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1055
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1056
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1057
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1058
+ CamusatClient?: Prisma.CamusatClientUpdateManyWithoutCountryNestedInput
1059
+ mainProjects?: Prisma.MainProjectUpdateManyWithoutCamusatCountryNestedInput
1060
+ Country?: Prisma.CountryUpdateOneRequiredWithoutCamusatCountryNestedInput
1061
+ user?: Prisma.UserUpdateManyWithoutManaging_countriesNestedInput
1062
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutSubsidiaryNestedInput
1063
+ }
1064
+
1065
+ export type CamusatCountryUncheckedUpdateWithoutDispatchProjectInput = {
1066
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1067
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1068
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1069
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1070
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1071
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1072
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1073
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1074
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1075
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1076
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
1077
+ CamusatClient?: Prisma.CamusatClientUncheckedUpdateManyWithoutCountryNestedInput
1078
+ mainProjects?: Prisma.MainProjectUncheckedUpdateManyWithoutCamusatCountryNestedInput
1079
+ user?: Prisma.UserUncheckedUpdateManyWithoutManaging_countriesNestedInput
1080
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutSubsidiaryNestedInput
1081
+ }
1082
+
1083
+ export type CamusatCountryCreateWithoutSubsidiaryMaterialInput = {
1084
+ id?: string
1085
+ no?: number
1086
+ name: string
1087
+ original?: string | null
1088
+ description?: string | null
1089
+ status?: string
1090
+ type?: string
1091
+ createdAt?: Date | string
1092
+ updatedAt?: Date | string
1093
+ deletedAt?: Date | string | null
1094
+ CamusatClient?: Prisma.CamusatClientCreateNestedManyWithoutCountryInput
1095
+ mainProjects?: Prisma.MainProjectCreateNestedManyWithoutCamusatCountryInput
1096
+ Country: Prisma.CountryCreateNestedOneWithoutCamusatCountryInput
1097
+ user?: Prisma.UserCreateNestedManyWithoutManaging_countriesInput
1098
+ dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutSubsidiaryInput
1099
+ }
1100
+
1101
+ export type CamusatCountryUncheckedCreateWithoutSubsidiaryMaterialInput = {
1102
+ id?: string
1103
+ no?: number
1104
+ name: string
1105
+ original?: string | null
1106
+ description?: string | null
1107
+ status?: string
1108
+ type?: string
1109
+ createdAt?: Date | string
1110
+ updatedAt?: Date | string
1111
+ deletedAt?: Date | string | null
1112
+ countryId: string
1113
+ CamusatClient?: Prisma.CamusatClientUncheckedCreateNestedManyWithoutCountryInput
1114
+ mainProjects?: Prisma.MainProjectUncheckedCreateNestedManyWithoutCamusatCountryInput
1115
+ user?: Prisma.UserUncheckedCreateNestedManyWithoutManaging_countriesInput
1116
+ dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutSubsidiaryInput
1117
+ }
1118
+
1119
+ export type CamusatCountryCreateOrConnectWithoutSubsidiaryMaterialInput = {
1120
+ where: Prisma.CamusatCountryWhereUniqueInput
1121
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutSubsidiaryMaterialInput, Prisma.CamusatCountryUncheckedCreateWithoutSubsidiaryMaterialInput>
1122
+ }
1123
+
1124
+ export type CamusatCountryUpsertWithoutSubsidiaryMaterialInput = {
1125
+ update: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutSubsidiaryMaterialInput, Prisma.CamusatCountryUncheckedUpdateWithoutSubsidiaryMaterialInput>
1126
+ create: Prisma.XOR<Prisma.CamusatCountryCreateWithoutSubsidiaryMaterialInput, Prisma.CamusatCountryUncheckedCreateWithoutSubsidiaryMaterialInput>
1127
+ where?: Prisma.CamusatCountryWhereInput
1128
+ }
1129
+
1130
+ export type CamusatCountryUpdateToOneWithWhereWithoutSubsidiaryMaterialInput = {
1131
+ where?: Prisma.CamusatCountryWhereInput
1132
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateWithoutSubsidiaryMaterialInput, Prisma.CamusatCountryUncheckedUpdateWithoutSubsidiaryMaterialInput>
1133
+ }
1134
+
1135
+ export type CamusatCountryUpdateWithoutSubsidiaryMaterialInput = {
1136
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1137
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1138
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1139
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1140
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1141
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1142
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1143
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1144
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1145
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1146
+ CamusatClient?: Prisma.CamusatClientUpdateManyWithoutCountryNestedInput
1147
+ mainProjects?: Prisma.MainProjectUpdateManyWithoutCamusatCountryNestedInput
1148
+ Country?: Prisma.CountryUpdateOneRequiredWithoutCamusatCountryNestedInput
1149
+ user?: Prisma.UserUpdateManyWithoutManaging_countriesNestedInput
1150
+ dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutSubsidiaryNestedInput
1151
+ }
1152
+
1153
+ export type CamusatCountryUncheckedUpdateWithoutSubsidiaryMaterialInput = {
1154
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1155
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1156
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1157
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1158
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1159
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1160
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1161
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1162
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1163
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1164
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
1165
+ CamusatClient?: Prisma.CamusatClientUncheckedUpdateManyWithoutCountryNestedInput
1166
+ mainProjects?: Prisma.MainProjectUncheckedUpdateManyWithoutCamusatCountryNestedInput
1167
+ user?: Prisma.UserUncheckedUpdateManyWithoutManaging_countriesNestedInput
1168
+ dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutSubsidiaryNestedInput
1169
+ }
1170
+
1171
+ export type CamusatCountryCreateManyCountryInput = {
1172
+ id?: string
1173
+ no?: number
1174
+ name: string
1175
+ original?: string | null
1176
+ description?: string | null
1177
+ status?: string
1178
+ type?: string
1179
+ createdAt?: Date | string
1180
+ updatedAt?: Date | string
1181
+ deletedAt?: Date | string | null
1182
+ }
1183
+
1184
+ export type CamusatCountryUpdateWithoutCountryInput = {
1185
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1186
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1187
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1188
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1189
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1190
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1191
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1192
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1193
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1194
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1195
+ CamusatClient?: Prisma.CamusatClientUpdateManyWithoutCountryNestedInput
1196
+ mainProjects?: Prisma.MainProjectUpdateManyWithoutCamusatCountryNestedInput
1197
+ user?: Prisma.UserUpdateManyWithoutManaging_countriesNestedInput
1198
+ dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutSubsidiaryNestedInput
1199
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutSubsidiaryNestedInput
1200
+ }
1201
+
1202
+ export type CamusatCountryUncheckedUpdateWithoutCountryInput = {
1203
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1204
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1205
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1206
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1207
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1208
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1209
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1210
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1211
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1212
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1213
+ CamusatClient?: Prisma.CamusatClientUncheckedUpdateManyWithoutCountryNestedInput
1214
+ mainProjects?: Prisma.MainProjectUncheckedUpdateManyWithoutCamusatCountryNestedInput
1215
+ user?: Prisma.UserUncheckedUpdateManyWithoutManaging_countriesNestedInput
1216
+ dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutSubsidiaryNestedInput
1217
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutSubsidiaryNestedInput
1218
+ }
1219
+
1220
+ export type CamusatCountryUncheckedUpdateManyWithoutCountryInput = {
1221
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1222
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1223
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1224
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1225
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1226
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1227
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1228
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1229
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1230
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1231
+ }
1232
+
1233
+ export type CamusatCountryUpdateWithoutUserInput = {
1234
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1235
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1236
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1237
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1238
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1239
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1240
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1241
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1242
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1243
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1244
+ CamusatClient?: Prisma.CamusatClientUpdateManyWithoutCountryNestedInput
1245
+ mainProjects?: Prisma.MainProjectUpdateManyWithoutCamusatCountryNestedInput
1246
+ Country?: Prisma.CountryUpdateOneRequiredWithoutCamusatCountryNestedInput
1247
+ dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutSubsidiaryNestedInput
1248
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutSubsidiaryNestedInput
1249
+ }
1250
+
1251
+ export type CamusatCountryUncheckedUpdateWithoutUserInput = {
1252
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1253
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1254
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1255
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1256
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1257
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1258
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1259
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1260
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1261
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1262
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
1263
+ CamusatClient?: Prisma.CamusatClientUncheckedUpdateManyWithoutCountryNestedInput
1264
+ mainProjects?: Prisma.MainProjectUncheckedUpdateManyWithoutCamusatCountryNestedInput
1265
+ dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutSubsidiaryNestedInput
1266
+ SubsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutSubsidiaryNestedInput
1267
+ }
1268
+
1269
+ export type CamusatCountryUncheckedUpdateManyWithoutUserInput = {
1270
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1271
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1272
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1273
+ original?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1274
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1275
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1276
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1277
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1278
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1279
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1280
+ countryId?: Prisma.StringFieldUpdateOperationsInput | string
1281
+ }
1282
+
1283
+
1284
+ /**
1285
+ * Count Type CamusatCountryCountOutputType
1286
+ */
1287
+
1288
+ export type CamusatCountryCountOutputType = {
1289
+ CamusatClient: number
1290
+ mainProjects: number
1291
+ user: number
1292
+ dispatchProject: number
1293
+ SubsidiaryMaterial: number
1294
+ }
1295
+
1296
+ export type CamusatCountryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1297
+ CamusatClient?: boolean | CamusatCountryCountOutputTypeCountCamusatClientArgs
1298
+ mainProjects?: boolean | CamusatCountryCountOutputTypeCountMainProjectsArgs
1299
+ user?: boolean | CamusatCountryCountOutputTypeCountUserArgs
1300
+ dispatchProject?: boolean | CamusatCountryCountOutputTypeCountDispatchProjectArgs
1301
+ SubsidiaryMaterial?: boolean | CamusatCountryCountOutputTypeCountSubsidiaryMaterialArgs
1302
+ }
1303
+
1304
+ /**
1305
+ * CamusatCountryCountOutputType without action
1306
+ */
1307
+ export type CamusatCountryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1308
+ /**
1309
+ * Select specific fields to fetch from the CamusatCountryCountOutputType
1310
+ */
1311
+ select?: Prisma.CamusatCountryCountOutputTypeSelect<ExtArgs> | null
1312
+ }
1313
+
1314
+ /**
1315
+ * CamusatCountryCountOutputType without action
1316
+ */
1317
+ export type CamusatCountryCountOutputTypeCountCamusatClientArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1318
+ where?: Prisma.CamusatClientWhereInput
1319
+ }
1320
+
1321
+ /**
1322
+ * CamusatCountryCountOutputType without action
1323
+ */
1324
+ export type CamusatCountryCountOutputTypeCountMainProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1325
+ where?: Prisma.MainProjectWhereInput
1326
+ }
1327
+
1328
+ /**
1329
+ * CamusatCountryCountOutputType without action
1330
+ */
1331
+ export type CamusatCountryCountOutputTypeCountUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1332
+ where?: Prisma.UserWhereInput
1333
+ }
1334
+
1335
+ /**
1336
+ * CamusatCountryCountOutputType without action
1337
+ */
1338
+ export type CamusatCountryCountOutputTypeCountDispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1339
+ where?: Prisma.DispatchProjectWhereInput
1340
+ }
1341
+
1342
+ /**
1343
+ * CamusatCountryCountOutputType without action
1344
+ */
1345
+ export type CamusatCountryCountOutputTypeCountSubsidiaryMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1346
+ where?: Prisma.SubsidiaryMaterialWhereInput
1347
+ }
1348
+
1349
+
1350
+ export type CamusatCountrySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1351
+ id?: boolean
1352
+ no?: boolean
1353
+ name?: boolean
1354
+ original?: boolean
1355
+ description?: boolean
1356
+ status?: boolean
1357
+ type?: boolean
1358
+ createdAt?: boolean
1359
+ updatedAt?: boolean
1360
+ deletedAt?: boolean
1361
+ countryId?: boolean
1362
+ CamusatClient?: boolean | Prisma.CamusatCountry$CamusatClientArgs<ExtArgs>
1363
+ mainProjects?: boolean | Prisma.CamusatCountry$mainProjectsArgs<ExtArgs>
1364
+ Country?: boolean | Prisma.CountryDefaultArgs<ExtArgs>
1365
+ user?: boolean | Prisma.CamusatCountry$userArgs<ExtArgs>
1366
+ dispatchProject?: boolean | Prisma.CamusatCountry$dispatchProjectArgs<ExtArgs>
1367
+ SubsidiaryMaterial?: boolean | Prisma.CamusatCountry$SubsidiaryMaterialArgs<ExtArgs>
1368
+ _count?: boolean | Prisma.CamusatCountryCountOutputTypeDefaultArgs<ExtArgs>
1369
+ }, ExtArgs["result"]["camusatCountry"]>
1370
+
1371
+ export type CamusatCountrySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1372
+ id?: boolean
1373
+ no?: boolean
1374
+ name?: boolean
1375
+ original?: boolean
1376
+ description?: boolean
1377
+ status?: boolean
1378
+ type?: boolean
1379
+ createdAt?: boolean
1380
+ updatedAt?: boolean
1381
+ deletedAt?: boolean
1382
+ countryId?: boolean
1383
+ Country?: boolean | Prisma.CountryDefaultArgs<ExtArgs>
1384
+ }, ExtArgs["result"]["camusatCountry"]>
1385
+
1386
+ export type CamusatCountrySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1387
+ id?: boolean
1388
+ no?: boolean
1389
+ name?: boolean
1390
+ original?: boolean
1391
+ description?: boolean
1392
+ status?: boolean
1393
+ type?: boolean
1394
+ createdAt?: boolean
1395
+ updatedAt?: boolean
1396
+ deletedAt?: boolean
1397
+ countryId?: boolean
1398
+ Country?: boolean | Prisma.CountryDefaultArgs<ExtArgs>
1399
+ }, ExtArgs["result"]["camusatCountry"]>
1400
+
1401
+ export type CamusatCountrySelectScalar = {
1402
+ id?: boolean
1403
+ no?: boolean
1404
+ name?: boolean
1405
+ original?: boolean
1406
+ description?: boolean
1407
+ status?: boolean
1408
+ type?: boolean
1409
+ createdAt?: boolean
1410
+ updatedAt?: boolean
1411
+ deletedAt?: boolean
1412
+ countryId?: boolean
1413
+ }
1414
+
1415
+ export type CamusatCountryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "original" | "description" | "status" | "type" | "createdAt" | "updatedAt" | "deletedAt" | "countryId", ExtArgs["result"]["camusatCountry"]>
1416
+ export type CamusatCountryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1417
+ CamusatClient?: boolean | Prisma.CamusatCountry$CamusatClientArgs<ExtArgs>
1418
+ mainProjects?: boolean | Prisma.CamusatCountry$mainProjectsArgs<ExtArgs>
1419
+ Country?: boolean | Prisma.CountryDefaultArgs<ExtArgs>
1420
+ user?: boolean | Prisma.CamusatCountry$userArgs<ExtArgs>
1421
+ dispatchProject?: boolean | Prisma.CamusatCountry$dispatchProjectArgs<ExtArgs>
1422
+ SubsidiaryMaterial?: boolean | Prisma.CamusatCountry$SubsidiaryMaterialArgs<ExtArgs>
1423
+ _count?: boolean | Prisma.CamusatCountryCountOutputTypeDefaultArgs<ExtArgs>
1424
+ }
1425
+ export type CamusatCountryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1426
+ Country?: boolean | Prisma.CountryDefaultArgs<ExtArgs>
1427
+ }
1428
+ export type CamusatCountryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1429
+ Country?: boolean | Prisma.CountryDefaultArgs<ExtArgs>
1430
+ }
1431
+
1432
+ export type $CamusatCountryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1433
+ name: "CamusatCountry"
1434
+ objects: {
1435
+ CamusatClient: Prisma.$CamusatClientPayload<ExtArgs>[]
1436
+ mainProjects: Prisma.$MainProjectPayload<ExtArgs>[]
1437
+ Country: Prisma.$CountryPayload<ExtArgs>
1438
+ user: Prisma.$UserPayload<ExtArgs>[]
1439
+ dispatchProject: Prisma.$DispatchProjectPayload<ExtArgs>[]
1440
+ SubsidiaryMaterial: Prisma.$SubsidiaryMaterialPayload<ExtArgs>[]
1441
+ }
1442
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1443
+ id: string
1444
+ no: number
1445
+ name: string
1446
+ original: string | null
1447
+ description: string | null
1448
+ status: string
1449
+ type: string
1450
+ createdAt: Date
1451
+ updatedAt: Date
1452
+ deletedAt: Date | null
1453
+ countryId: string
1454
+ }, ExtArgs["result"]["camusatCountry"]>
1455
+ composites: {}
1456
+ }
1457
+
1458
+ export type CamusatCountryGetPayload<S extends boolean | null | undefined | CamusatCountryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload, S>
1459
+
1460
+ export type CamusatCountryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1461
+ Omit<CamusatCountryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1462
+ select?: CamusatCountryCountAggregateInputType | true
1463
+ }
1464
+
1465
+ export interface CamusatCountryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1466
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CamusatCountry'], meta: { name: 'CamusatCountry' } }
1467
+ /**
1468
+ * Find zero or one CamusatCountry that matches the filter.
1469
+ * @param {CamusatCountryFindUniqueArgs} args - Arguments to find a CamusatCountry
1470
+ * @example
1471
+ * // Get one CamusatCountry
1472
+ * const camusatCountry = await prisma.camusatCountry.findUnique({
1473
+ * where: {
1474
+ * // ... provide filter here
1475
+ * }
1476
+ * })
1477
+ */
1478
+ findUnique<T extends CamusatCountryFindUniqueArgs>(args: Prisma.SelectSubset<T, CamusatCountryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1479
+
1480
+ /**
1481
+ * Find one CamusatCountry that matches the filter or throw an error with `error.code='P2025'`
1482
+ * if no matches were found.
1483
+ * @param {CamusatCountryFindUniqueOrThrowArgs} args - Arguments to find a CamusatCountry
1484
+ * @example
1485
+ * // Get one CamusatCountry
1486
+ * const camusatCountry = await prisma.camusatCountry.findUniqueOrThrow({
1487
+ * where: {
1488
+ * // ... provide filter here
1489
+ * }
1490
+ * })
1491
+ */
1492
+ findUniqueOrThrow<T extends CamusatCountryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CamusatCountryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1493
+
1494
+ /**
1495
+ * Find the first CamusatCountry that matches the filter.
1496
+ * Note, that providing `undefined` is treated as the value not being there.
1497
+ * Read more here: https://pris.ly/d/null-undefined
1498
+ * @param {CamusatCountryFindFirstArgs} args - Arguments to find a CamusatCountry
1499
+ * @example
1500
+ * // Get one CamusatCountry
1501
+ * const camusatCountry = await prisma.camusatCountry.findFirst({
1502
+ * where: {
1503
+ * // ... provide filter here
1504
+ * }
1505
+ * })
1506
+ */
1507
+ findFirst<T extends CamusatCountryFindFirstArgs>(args?: Prisma.SelectSubset<T, CamusatCountryFindFirstArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1508
+
1509
+ /**
1510
+ * Find the first CamusatCountry that matches the filter or
1511
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1512
+ * Note, that providing `undefined` is treated as the value not being there.
1513
+ * Read more here: https://pris.ly/d/null-undefined
1514
+ * @param {CamusatCountryFindFirstOrThrowArgs} args - Arguments to find a CamusatCountry
1515
+ * @example
1516
+ * // Get one CamusatCountry
1517
+ * const camusatCountry = await prisma.camusatCountry.findFirstOrThrow({
1518
+ * where: {
1519
+ * // ... provide filter here
1520
+ * }
1521
+ * })
1522
+ */
1523
+ findFirstOrThrow<T extends CamusatCountryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CamusatCountryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1524
+
1525
+ /**
1526
+ * Find zero or more CamusatCountries that matches the filter.
1527
+ * Note, that providing `undefined` is treated as the value not being there.
1528
+ * Read more here: https://pris.ly/d/null-undefined
1529
+ * @param {CamusatCountryFindManyArgs} args - Arguments to filter and select certain fields only.
1530
+ * @example
1531
+ * // Get all CamusatCountries
1532
+ * const camusatCountries = await prisma.camusatCountry.findMany()
1533
+ *
1534
+ * // Get first 10 CamusatCountries
1535
+ * const camusatCountries = await prisma.camusatCountry.findMany({ take: 10 })
1536
+ *
1537
+ * // Only select the `id`
1538
+ * const camusatCountryWithIdOnly = await prisma.camusatCountry.findMany({ select: { id: true } })
1539
+ *
1540
+ */
1541
+ findMany<T extends CamusatCountryFindManyArgs>(args?: Prisma.SelectSubset<T, CamusatCountryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1542
+
1543
+ /**
1544
+ * Create a CamusatCountry.
1545
+ * @param {CamusatCountryCreateArgs} args - Arguments to create a CamusatCountry.
1546
+ * @example
1547
+ * // Create one CamusatCountry
1548
+ * const CamusatCountry = await prisma.camusatCountry.create({
1549
+ * data: {
1550
+ * // ... data to create a CamusatCountry
1551
+ * }
1552
+ * })
1553
+ *
1554
+ */
1555
+ create<T extends CamusatCountryCreateArgs>(args: Prisma.SelectSubset<T, CamusatCountryCreateArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1556
+
1557
+ /**
1558
+ * Create many CamusatCountries.
1559
+ * @param {CamusatCountryCreateManyArgs} args - Arguments to create many CamusatCountries.
1560
+ * @example
1561
+ * // Create many CamusatCountries
1562
+ * const camusatCountry = await prisma.camusatCountry.createMany({
1563
+ * data: [
1564
+ * // ... provide data here
1565
+ * ]
1566
+ * })
1567
+ *
1568
+ */
1569
+ createMany<T extends CamusatCountryCreateManyArgs>(args?: Prisma.SelectSubset<T, CamusatCountryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1570
+
1571
+ /**
1572
+ * Create many CamusatCountries and returns the data saved in the database.
1573
+ * @param {CamusatCountryCreateManyAndReturnArgs} args - Arguments to create many CamusatCountries.
1574
+ * @example
1575
+ * // Create many CamusatCountries
1576
+ * const camusatCountry = await prisma.camusatCountry.createManyAndReturn({
1577
+ * data: [
1578
+ * // ... provide data here
1579
+ * ]
1580
+ * })
1581
+ *
1582
+ * // Create many CamusatCountries and only return the `id`
1583
+ * const camusatCountryWithIdOnly = await prisma.camusatCountry.createManyAndReturn({
1584
+ * select: { id: true },
1585
+ * data: [
1586
+ * // ... provide data here
1587
+ * ]
1588
+ * })
1589
+ * Note, that providing `undefined` is treated as the value not being there.
1590
+ * Read more here: https://pris.ly/d/null-undefined
1591
+ *
1592
+ */
1593
+ createManyAndReturn<T extends CamusatCountryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CamusatCountryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1594
+
1595
+ /**
1596
+ * Delete a CamusatCountry.
1597
+ * @param {CamusatCountryDeleteArgs} args - Arguments to delete one CamusatCountry.
1598
+ * @example
1599
+ * // Delete one CamusatCountry
1600
+ * const CamusatCountry = await prisma.camusatCountry.delete({
1601
+ * where: {
1602
+ * // ... filter to delete one CamusatCountry
1603
+ * }
1604
+ * })
1605
+ *
1606
+ */
1607
+ delete<T extends CamusatCountryDeleteArgs>(args: Prisma.SelectSubset<T, CamusatCountryDeleteArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1608
+
1609
+ /**
1610
+ * Update one CamusatCountry.
1611
+ * @param {CamusatCountryUpdateArgs} args - Arguments to update one CamusatCountry.
1612
+ * @example
1613
+ * // Update one CamusatCountry
1614
+ * const camusatCountry = await prisma.camusatCountry.update({
1615
+ * where: {
1616
+ * // ... provide filter here
1617
+ * },
1618
+ * data: {
1619
+ * // ... provide data here
1620
+ * }
1621
+ * })
1622
+ *
1623
+ */
1624
+ update<T extends CamusatCountryUpdateArgs>(args: Prisma.SelectSubset<T, CamusatCountryUpdateArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1625
+
1626
+ /**
1627
+ * Delete zero or more CamusatCountries.
1628
+ * @param {CamusatCountryDeleteManyArgs} args - Arguments to filter CamusatCountries to delete.
1629
+ * @example
1630
+ * // Delete a few CamusatCountries
1631
+ * const { count } = await prisma.camusatCountry.deleteMany({
1632
+ * where: {
1633
+ * // ... provide filter here
1634
+ * }
1635
+ * })
1636
+ *
1637
+ */
1638
+ deleteMany<T extends CamusatCountryDeleteManyArgs>(args?: Prisma.SelectSubset<T, CamusatCountryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1639
+
1640
+ /**
1641
+ * Update zero or more CamusatCountries.
1642
+ * Note, that providing `undefined` is treated as the value not being there.
1643
+ * Read more here: https://pris.ly/d/null-undefined
1644
+ * @param {CamusatCountryUpdateManyArgs} args - Arguments to update one or more rows.
1645
+ * @example
1646
+ * // Update many CamusatCountries
1647
+ * const camusatCountry = await prisma.camusatCountry.updateMany({
1648
+ * where: {
1649
+ * // ... provide filter here
1650
+ * },
1651
+ * data: {
1652
+ * // ... provide data here
1653
+ * }
1654
+ * })
1655
+ *
1656
+ */
1657
+ updateMany<T extends CamusatCountryUpdateManyArgs>(args: Prisma.SelectSubset<T, CamusatCountryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1658
+
1659
+ /**
1660
+ * Update zero or more CamusatCountries and returns the data updated in the database.
1661
+ * @param {CamusatCountryUpdateManyAndReturnArgs} args - Arguments to update many CamusatCountries.
1662
+ * @example
1663
+ * // Update many CamusatCountries
1664
+ * const camusatCountry = await prisma.camusatCountry.updateManyAndReturn({
1665
+ * where: {
1666
+ * // ... provide filter here
1667
+ * },
1668
+ * data: [
1669
+ * // ... provide data here
1670
+ * ]
1671
+ * })
1672
+ *
1673
+ * // Update zero or more CamusatCountries and only return the `id`
1674
+ * const camusatCountryWithIdOnly = await prisma.camusatCountry.updateManyAndReturn({
1675
+ * select: { id: true },
1676
+ * where: {
1677
+ * // ... provide filter here
1678
+ * },
1679
+ * data: [
1680
+ * // ... provide data here
1681
+ * ]
1682
+ * })
1683
+ * Note, that providing `undefined` is treated as the value not being there.
1684
+ * Read more here: https://pris.ly/d/null-undefined
1685
+ *
1686
+ */
1687
+ updateManyAndReturn<T extends CamusatCountryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CamusatCountryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1688
+
1689
+ /**
1690
+ * Create or update one CamusatCountry.
1691
+ * @param {CamusatCountryUpsertArgs} args - Arguments to update or create a CamusatCountry.
1692
+ * @example
1693
+ * // Update or create a CamusatCountry
1694
+ * const camusatCountry = await prisma.camusatCountry.upsert({
1695
+ * create: {
1696
+ * // ... data to create a CamusatCountry
1697
+ * },
1698
+ * update: {
1699
+ * // ... in case it already exists, update
1700
+ * },
1701
+ * where: {
1702
+ * // ... the filter for the CamusatCountry we want to update
1703
+ * }
1704
+ * })
1705
+ */
1706
+ upsert<T extends CamusatCountryUpsertArgs>(args: Prisma.SelectSubset<T, CamusatCountryUpsertArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1707
+
1708
+
1709
+ /**
1710
+ * Count the number of CamusatCountries.
1711
+ * Note, that providing `undefined` is treated as the value not being there.
1712
+ * Read more here: https://pris.ly/d/null-undefined
1713
+ * @param {CamusatCountryCountArgs} args - Arguments to filter CamusatCountries to count.
1714
+ * @example
1715
+ * // Count the number of CamusatCountries
1716
+ * const count = await prisma.camusatCountry.count({
1717
+ * where: {
1718
+ * // ... the filter for the CamusatCountries we want to count
1719
+ * }
1720
+ * })
1721
+ **/
1722
+ count<T extends CamusatCountryCountArgs>(
1723
+ args?: Prisma.Subset<T, CamusatCountryCountArgs>,
1724
+ ): Prisma.PrismaPromise<
1725
+ T extends runtime.Types.Utils.Record<'select', any>
1726
+ ? T['select'] extends true
1727
+ ? number
1728
+ : Prisma.GetScalarType<T['select'], CamusatCountryCountAggregateOutputType>
1729
+ : number
1730
+ >
1731
+
1732
+ /**
1733
+ * Allows you to perform aggregations operations on a CamusatCountry.
1734
+ * Note, that providing `undefined` is treated as the value not being there.
1735
+ * Read more here: https://pris.ly/d/null-undefined
1736
+ * @param {CamusatCountryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1737
+ * @example
1738
+ * // Ordered by age ascending
1739
+ * // Where email contains prisma.io
1740
+ * // Limited to the 10 users
1741
+ * const aggregations = await prisma.user.aggregate({
1742
+ * _avg: {
1743
+ * age: true,
1744
+ * },
1745
+ * where: {
1746
+ * email: {
1747
+ * contains: "prisma.io",
1748
+ * },
1749
+ * },
1750
+ * orderBy: {
1751
+ * age: "asc",
1752
+ * },
1753
+ * take: 10,
1754
+ * })
1755
+ **/
1756
+ aggregate<T extends CamusatCountryAggregateArgs>(args: Prisma.Subset<T, CamusatCountryAggregateArgs>): Prisma.PrismaPromise<GetCamusatCountryAggregateType<T>>
1757
+
1758
+ /**
1759
+ * Group by CamusatCountry.
1760
+ * Note, that providing `undefined` is treated as the value not being there.
1761
+ * Read more here: https://pris.ly/d/null-undefined
1762
+ * @param {CamusatCountryGroupByArgs} args - Group by arguments.
1763
+ * @example
1764
+ * // Group by city, order by createdAt, get count
1765
+ * const result = await prisma.user.groupBy({
1766
+ * by: ['city', 'createdAt'],
1767
+ * orderBy: {
1768
+ * createdAt: true
1769
+ * },
1770
+ * _count: {
1771
+ * _all: true
1772
+ * },
1773
+ * })
1774
+ *
1775
+ **/
1776
+ groupBy<
1777
+ T extends CamusatCountryGroupByArgs,
1778
+ HasSelectOrTake extends Prisma.Or<
1779
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1780
+ Prisma.Extends<'take', Prisma.Keys<T>>
1781
+ >,
1782
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1783
+ ? { orderBy: CamusatCountryGroupByArgs['orderBy'] }
1784
+ : { orderBy?: CamusatCountryGroupByArgs['orderBy'] },
1785
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1786
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1787
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1788
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1789
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1790
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1791
+ InputErrors extends ByEmpty extends Prisma.True
1792
+ ? `Error: "by" must not be empty.`
1793
+ : HavingValid extends Prisma.False
1794
+ ? {
1795
+ [P in HavingFields]: P extends ByFields
1796
+ ? never
1797
+ : P extends string
1798
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1799
+ : [
1800
+ Error,
1801
+ 'Field ',
1802
+ P,
1803
+ ` in "having" needs to be provided in "by"`,
1804
+ ]
1805
+ }[HavingFields]
1806
+ : 'take' extends Prisma.Keys<T>
1807
+ ? 'orderBy' extends Prisma.Keys<T>
1808
+ ? ByValid extends Prisma.True
1809
+ ? {}
1810
+ : {
1811
+ [P in OrderFields]: P extends ByFields
1812
+ ? never
1813
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1814
+ }[OrderFields]
1815
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1816
+ : 'skip' extends Prisma.Keys<T>
1817
+ ? 'orderBy' extends Prisma.Keys<T>
1818
+ ? ByValid extends Prisma.True
1819
+ ? {}
1820
+ : {
1821
+ [P in OrderFields]: P extends ByFields
1822
+ ? never
1823
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1824
+ }[OrderFields]
1825
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1826
+ : ByValid extends Prisma.True
1827
+ ? {}
1828
+ : {
1829
+ [P in OrderFields]: P extends ByFields
1830
+ ? never
1831
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1832
+ }[OrderFields]
1833
+ >(args: Prisma.SubsetIntersection<T, CamusatCountryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCamusatCountryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1834
+ /**
1835
+ * Fields of the CamusatCountry model
1836
+ */
1837
+ readonly fields: CamusatCountryFieldRefs;
1838
+ }
1839
+
1840
+ /**
1841
+ * The delegate class that acts as a "Promise-like" for CamusatCountry.
1842
+ * Why is this prefixed with `Prisma__`?
1843
+ * Because we want to prevent naming conflicts as mentioned in
1844
+ * https://github.com/prisma/prisma-client-js/issues/707
1845
+ */
1846
+ export interface Prisma__CamusatCountryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1847
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1848
+ CamusatClient<T extends Prisma.CamusatCountry$CamusatClientArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CamusatCountry$CamusatClientArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CamusatClientPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1849
+ mainProjects<T extends Prisma.CamusatCountry$mainProjectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CamusatCountry$mainProjectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1850
+ Country<T extends Prisma.CountryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CountryDefaultArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1851
+ user<T extends Prisma.CamusatCountry$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CamusatCountry$userArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1852
+ dispatchProject<T extends Prisma.CamusatCountry$dispatchProjectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CamusatCountry$dispatchProjectArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1853
+ SubsidiaryMaterial<T extends Prisma.CamusatCountry$SubsidiaryMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CamusatCountry$SubsidiaryMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubsidiaryMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1854
+ /**
1855
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1856
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1857
+ * @param onrejected The callback to execute when the Promise is rejected.
1858
+ * @returns A Promise for the completion of which ever callback is executed.
1859
+ */
1860
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
1861
+ /**
1862
+ * Attaches a callback for only the rejection of the Promise.
1863
+ * @param onrejected The callback to execute when the Promise is rejected.
1864
+ * @returns A Promise for the completion of the callback.
1865
+ */
1866
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1867
+ /**
1868
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1869
+ * resolved value cannot be modified from the callback.
1870
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1871
+ * @returns A Promise for the completion of the callback.
1872
+ */
1873
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1874
+ }
1875
+
1876
+
1877
+
1878
+
1879
+ /**
1880
+ * Fields of the CamusatCountry model
1881
+ */
1882
+ export interface CamusatCountryFieldRefs {
1883
+ readonly id: Prisma.FieldRef<"CamusatCountry", 'String'>
1884
+ readonly no: Prisma.FieldRef<"CamusatCountry", 'Int'>
1885
+ readonly name: Prisma.FieldRef<"CamusatCountry", 'String'>
1886
+ readonly original: Prisma.FieldRef<"CamusatCountry", 'String'>
1887
+ readonly description: Prisma.FieldRef<"CamusatCountry", 'String'>
1888
+ readonly status: Prisma.FieldRef<"CamusatCountry", 'String'>
1889
+ readonly type: Prisma.FieldRef<"CamusatCountry", 'String'>
1890
+ readonly createdAt: Prisma.FieldRef<"CamusatCountry", 'DateTime'>
1891
+ readonly updatedAt: Prisma.FieldRef<"CamusatCountry", 'DateTime'>
1892
+ readonly deletedAt: Prisma.FieldRef<"CamusatCountry", 'DateTime'>
1893
+ readonly countryId: Prisma.FieldRef<"CamusatCountry", 'String'>
1894
+ }
1895
+
1896
+
1897
+ // Custom InputTypes
1898
+ /**
1899
+ * CamusatCountry findUnique
1900
+ */
1901
+ export type CamusatCountryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1902
+ /**
1903
+ * Select specific fields to fetch from the CamusatCountry
1904
+ */
1905
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
1906
+ /**
1907
+ * Omit specific fields from the CamusatCountry
1908
+ */
1909
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
1910
+ /**
1911
+ * Choose, which related nodes to fetch as well
1912
+ */
1913
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
1914
+ /**
1915
+ * Filter, which CamusatCountry to fetch.
1916
+ */
1917
+ where: Prisma.CamusatCountryWhereUniqueInput
1918
+ }
1919
+
1920
+ /**
1921
+ * CamusatCountry findUniqueOrThrow
1922
+ */
1923
+ export type CamusatCountryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1924
+ /**
1925
+ * Select specific fields to fetch from the CamusatCountry
1926
+ */
1927
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
1928
+ /**
1929
+ * Omit specific fields from the CamusatCountry
1930
+ */
1931
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
1932
+ /**
1933
+ * Choose, which related nodes to fetch as well
1934
+ */
1935
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
1936
+ /**
1937
+ * Filter, which CamusatCountry to fetch.
1938
+ */
1939
+ where: Prisma.CamusatCountryWhereUniqueInput
1940
+ }
1941
+
1942
+ /**
1943
+ * CamusatCountry findFirst
1944
+ */
1945
+ export type CamusatCountryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1946
+ /**
1947
+ * Select specific fields to fetch from the CamusatCountry
1948
+ */
1949
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
1950
+ /**
1951
+ * Omit specific fields from the CamusatCountry
1952
+ */
1953
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
1954
+ /**
1955
+ * Choose, which related nodes to fetch as well
1956
+ */
1957
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
1958
+ /**
1959
+ * Filter, which CamusatCountry to fetch.
1960
+ */
1961
+ where?: Prisma.CamusatCountryWhereInput
1962
+ /**
1963
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1964
+ *
1965
+ * Determine the order of CamusatCountries to fetch.
1966
+ */
1967
+ orderBy?: Prisma.CamusatCountryOrderByWithRelationInput | Prisma.CamusatCountryOrderByWithRelationInput[]
1968
+ /**
1969
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1970
+ *
1971
+ * Sets the position for searching for CamusatCountries.
1972
+ */
1973
+ cursor?: Prisma.CamusatCountryWhereUniqueInput
1974
+ /**
1975
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1976
+ *
1977
+ * Take `±n` CamusatCountries from the position of the cursor.
1978
+ */
1979
+ take?: number
1980
+ /**
1981
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1982
+ *
1983
+ * Skip the first `n` CamusatCountries.
1984
+ */
1985
+ skip?: number
1986
+ /**
1987
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1988
+ *
1989
+ * Filter by unique combinations of CamusatCountries.
1990
+ */
1991
+ distinct?: Prisma.CamusatCountryScalarFieldEnum | Prisma.CamusatCountryScalarFieldEnum[]
1992
+ }
1993
+
1994
+ /**
1995
+ * CamusatCountry findFirstOrThrow
1996
+ */
1997
+ export type CamusatCountryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1998
+ /**
1999
+ * Select specific fields to fetch from the CamusatCountry
2000
+ */
2001
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
2002
+ /**
2003
+ * Omit specific fields from the CamusatCountry
2004
+ */
2005
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2006
+ /**
2007
+ * Choose, which related nodes to fetch as well
2008
+ */
2009
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
2010
+ /**
2011
+ * Filter, which CamusatCountry to fetch.
2012
+ */
2013
+ where?: Prisma.CamusatCountryWhereInput
2014
+ /**
2015
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2016
+ *
2017
+ * Determine the order of CamusatCountries to fetch.
2018
+ */
2019
+ orderBy?: Prisma.CamusatCountryOrderByWithRelationInput | Prisma.CamusatCountryOrderByWithRelationInput[]
2020
+ /**
2021
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2022
+ *
2023
+ * Sets the position for searching for CamusatCountries.
2024
+ */
2025
+ cursor?: Prisma.CamusatCountryWhereUniqueInput
2026
+ /**
2027
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2028
+ *
2029
+ * Take `±n` CamusatCountries from the position of the cursor.
2030
+ */
2031
+ take?: number
2032
+ /**
2033
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2034
+ *
2035
+ * Skip the first `n` CamusatCountries.
2036
+ */
2037
+ skip?: number
2038
+ /**
2039
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2040
+ *
2041
+ * Filter by unique combinations of CamusatCountries.
2042
+ */
2043
+ distinct?: Prisma.CamusatCountryScalarFieldEnum | Prisma.CamusatCountryScalarFieldEnum[]
2044
+ }
2045
+
2046
+ /**
2047
+ * CamusatCountry findMany
2048
+ */
2049
+ export type CamusatCountryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2050
+ /**
2051
+ * Select specific fields to fetch from the CamusatCountry
2052
+ */
2053
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
2054
+ /**
2055
+ * Omit specific fields from the CamusatCountry
2056
+ */
2057
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2058
+ /**
2059
+ * Choose, which related nodes to fetch as well
2060
+ */
2061
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
2062
+ /**
2063
+ * Filter, which CamusatCountries to fetch.
2064
+ */
2065
+ where?: Prisma.CamusatCountryWhereInput
2066
+ /**
2067
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2068
+ *
2069
+ * Determine the order of CamusatCountries to fetch.
2070
+ */
2071
+ orderBy?: Prisma.CamusatCountryOrderByWithRelationInput | Prisma.CamusatCountryOrderByWithRelationInput[]
2072
+ /**
2073
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2074
+ *
2075
+ * Sets the position for listing CamusatCountries.
2076
+ */
2077
+ cursor?: Prisma.CamusatCountryWhereUniqueInput
2078
+ /**
2079
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2080
+ *
2081
+ * Take `±n` CamusatCountries from the position of the cursor.
2082
+ */
2083
+ take?: number
2084
+ /**
2085
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2086
+ *
2087
+ * Skip the first `n` CamusatCountries.
2088
+ */
2089
+ skip?: number
2090
+ distinct?: Prisma.CamusatCountryScalarFieldEnum | Prisma.CamusatCountryScalarFieldEnum[]
2091
+ }
2092
+
2093
+ /**
2094
+ * CamusatCountry create
2095
+ */
2096
+ export type CamusatCountryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2097
+ /**
2098
+ * Select specific fields to fetch from the CamusatCountry
2099
+ */
2100
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
2101
+ /**
2102
+ * Omit specific fields from the CamusatCountry
2103
+ */
2104
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2105
+ /**
2106
+ * Choose, which related nodes to fetch as well
2107
+ */
2108
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
2109
+ /**
2110
+ * The data needed to create a CamusatCountry.
2111
+ */
2112
+ data: Prisma.XOR<Prisma.CamusatCountryCreateInput, Prisma.CamusatCountryUncheckedCreateInput>
2113
+ }
2114
+
2115
+ /**
2116
+ * CamusatCountry createMany
2117
+ */
2118
+ export type CamusatCountryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2119
+ /**
2120
+ * The data used to create many CamusatCountries.
2121
+ */
2122
+ data: Prisma.CamusatCountryCreateManyInput | Prisma.CamusatCountryCreateManyInput[]
2123
+ skipDuplicates?: boolean
2124
+ }
2125
+
2126
+ /**
2127
+ * CamusatCountry createManyAndReturn
2128
+ */
2129
+ export type CamusatCountryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2130
+ /**
2131
+ * Select specific fields to fetch from the CamusatCountry
2132
+ */
2133
+ select?: Prisma.CamusatCountrySelectCreateManyAndReturn<ExtArgs> | null
2134
+ /**
2135
+ * Omit specific fields from the CamusatCountry
2136
+ */
2137
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2138
+ /**
2139
+ * The data used to create many CamusatCountries.
2140
+ */
2141
+ data: Prisma.CamusatCountryCreateManyInput | Prisma.CamusatCountryCreateManyInput[]
2142
+ skipDuplicates?: boolean
2143
+ /**
2144
+ * Choose, which related nodes to fetch as well
2145
+ */
2146
+ include?: Prisma.CamusatCountryIncludeCreateManyAndReturn<ExtArgs> | null
2147
+ }
2148
+
2149
+ /**
2150
+ * CamusatCountry update
2151
+ */
2152
+ export type CamusatCountryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2153
+ /**
2154
+ * Select specific fields to fetch from the CamusatCountry
2155
+ */
2156
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
2157
+ /**
2158
+ * Omit specific fields from the CamusatCountry
2159
+ */
2160
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2161
+ /**
2162
+ * Choose, which related nodes to fetch as well
2163
+ */
2164
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
2165
+ /**
2166
+ * The data needed to update a CamusatCountry.
2167
+ */
2168
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateInput, Prisma.CamusatCountryUncheckedUpdateInput>
2169
+ /**
2170
+ * Choose, which CamusatCountry to update.
2171
+ */
2172
+ where: Prisma.CamusatCountryWhereUniqueInput
2173
+ }
2174
+
2175
+ /**
2176
+ * CamusatCountry updateMany
2177
+ */
2178
+ export type CamusatCountryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2179
+ /**
2180
+ * The data used to update CamusatCountries.
2181
+ */
2182
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateManyMutationInput, Prisma.CamusatCountryUncheckedUpdateManyInput>
2183
+ /**
2184
+ * Filter which CamusatCountries to update
2185
+ */
2186
+ where?: Prisma.CamusatCountryWhereInput
2187
+ /**
2188
+ * Limit how many CamusatCountries to update.
2189
+ */
2190
+ limit?: number
2191
+ }
2192
+
2193
+ /**
2194
+ * CamusatCountry updateManyAndReturn
2195
+ */
2196
+ export type CamusatCountryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2197
+ /**
2198
+ * Select specific fields to fetch from the CamusatCountry
2199
+ */
2200
+ select?: Prisma.CamusatCountrySelectUpdateManyAndReturn<ExtArgs> | null
2201
+ /**
2202
+ * Omit specific fields from the CamusatCountry
2203
+ */
2204
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2205
+ /**
2206
+ * The data used to update CamusatCountries.
2207
+ */
2208
+ data: Prisma.XOR<Prisma.CamusatCountryUpdateManyMutationInput, Prisma.CamusatCountryUncheckedUpdateManyInput>
2209
+ /**
2210
+ * Filter which CamusatCountries to update
2211
+ */
2212
+ where?: Prisma.CamusatCountryWhereInput
2213
+ /**
2214
+ * Limit how many CamusatCountries to update.
2215
+ */
2216
+ limit?: number
2217
+ /**
2218
+ * Choose, which related nodes to fetch as well
2219
+ */
2220
+ include?: Prisma.CamusatCountryIncludeUpdateManyAndReturn<ExtArgs> | null
2221
+ }
2222
+
2223
+ /**
2224
+ * CamusatCountry upsert
2225
+ */
2226
+ export type CamusatCountryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2227
+ /**
2228
+ * Select specific fields to fetch from the CamusatCountry
2229
+ */
2230
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
2231
+ /**
2232
+ * Omit specific fields from the CamusatCountry
2233
+ */
2234
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2235
+ /**
2236
+ * Choose, which related nodes to fetch as well
2237
+ */
2238
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
2239
+ /**
2240
+ * The filter to search for the CamusatCountry to update in case it exists.
2241
+ */
2242
+ where: Prisma.CamusatCountryWhereUniqueInput
2243
+ /**
2244
+ * In case the CamusatCountry found by the `where` argument doesn't exist, create a new CamusatCountry with this data.
2245
+ */
2246
+ create: Prisma.XOR<Prisma.CamusatCountryCreateInput, Prisma.CamusatCountryUncheckedCreateInput>
2247
+ /**
2248
+ * In case the CamusatCountry was found with the provided `where` argument, update it with this data.
2249
+ */
2250
+ update: Prisma.XOR<Prisma.CamusatCountryUpdateInput, Prisma.CamusatCountryUncheckedUpdateInput>
2251
+ }
2252
+
2253
+ /**
2254
+ * CamusatCountry delete
2255
+ */
2256
+ export type CamusatCountryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2257
+ /**
2258
+ * Select specific fields to fetch from the CamusatCountry
2259
+ */
2260
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
2261
+ /**
2262
+ * Omit specific fields from the CamusatCountry
2263
+ */
2264
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2265
+ /**
2266
+ * Choose, which related nodes to fetch as well
2267
+ */
2268
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
2269
+ /**
2270
+ * Filter which CamusatCountry to delete.
2271
+ */
2272
+ where: Prisma.CamusatCountryWhereUniqueInput
2273
+ }
2274
+
2275
+ /**
2276
+ * CamusatCountry deleteMany
2277
+ */
2278
+ export type CamusatCountryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2279
+ /**
2280
+ * Filter which CamusatCountries to delete
2281
+ */
2282
+ where?: Prisma.CamusatCountryWhereInput
2283
+ /**
2284
+ * Limit how many CamusatCountries to delete.
2285
+ */
2286
+ limit?: number
2287
+ }
2288
+
2289
+ /**
2290
+ * CamusatCountry.CamusatClient
2291
+ */
2292
+ export type CamusatCountry$CamusatClientArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2293
+ /**
2294
+ * Select specific fields to fetch from the CamusatClient
2295
+ */
2296
+ select?: Prisma.CamusatClientSelect<ExtArgs> | null
2297
+ /**
2298
+ * Omit specific fields from the CamusatClient
2299
+ */
2300
+ omit?: Prisma.CamusatClientOmit<ExtArgs> | null
2301
+ /**
2302
+ * Choose, which related nodes to fetch as well
2303
+ */
2304
+ include?: Prisma.CamusatClientInclude<ExtArgs> | null
2305
+ where?: Prisma.CamusatClientWhereInput
2306
+ orderBy?: Prisma.CamusatClientOrderByWithRelationInput | Prisma.CamusatClientOrderByWithRelationInput[]
2307
+ cursor?: Prisma.CamusatClientWhereUniqueInput
2308
+ take?: number
2309
+ skip?: number
2310
+ distinct?: Prisma.CamusatClientScalarFieldEnum | Prisma.CamusatClientScalarFieldEnum[]
2311
+ }
2312
+
2313
+ /**
2314
+ * CamusatCountry.mainProjects
2315
+ */
2316
+ export type CamusatCountry$mainProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2317
+ /**
2318
+ * Select specific fields to fetch from the MainProject
2319
+ */
2320
+ select?: Prisma.MainProjectSelect<ExtArgs> | null
2321
+ /**
2322
+ * Omit specific fields from the MainProject
2323
+ */
2324
+ omit?: Prisma.MainProjectOmit<ExtArgs> | null
2325
+ /**
2326
+ * Choose, which related nodes to fetch as well
2327
+ */
2328
+ include?: Prisma.MainProjectInclude<ExtArgs> | null
2329
+ where?: Prisma.MainProjectWhereInput
2330
+ orderBy?: Prisma.MainProjectOrderByWithRelationInput | Prisma.MainProjectOrderByWithRelationInput[]
2331
+ cursor?: Prisma.MainProjectWhereUniqueInput
2332
+ take?: number
2333
+ skip?: number
2334
+ distinct?: Prisma.MainProjectScalarFieldEnum | Prisma.MainProjectScalarFieldEnum[]
2335
+ }
2336
+
2337
+ /**
2338
+ * CamusatCountry.user
2339
+ */
2340
+ export type CamusatCountry$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2341
+ /**
2342
+ * Select specific fields to fetch from the User
2343
+ */
2344
+ select?: Prisma.UserSelect<ExtArgs> | null
2345
+ /**
2346
+ * Omit specific fields from the User
2347
+ */
2348
+ omit?: Prisma.UserOmit<ExtArgs> | null
2349
+ /**
2350
+ * Choose, which related nodes to fetch as well
2351
+ */
2352
+ include?: Prisma.UserInclude<ExtArgs> | null
2353
+ where?: Prisma.UserWhereInput
2354
+ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
2355
+ cursor?: Prisma.UserWhereUniqueInput
2356
+ take?: number
2357
+ skip?: number
2358
+ distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
2359
+ }
2360
+
2361
+ /**
2362
+ * CamusatCountry.dispatchProject
2363
+ */
2364
+ export type CamusatCountry$dispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2365
+ /**
2366
+ * Select specific fields to fetch from the DispatchProject
2367
+ */
2368
+ select?: Prisma.DispatchProjectSelect<ExtArgs> | null
2369
+ /**
2370
+ * Omit specific fields from the DispatchProject
2371
+ */
2372
+ omit?: Prisma.DispatchProjectOmit<ExtArgs> | null
2373
+ /**
2374
+ * Choose, which related nodes to fetch as well
2375
+ */
2376
+ include?: Prisma.DispatchProjectInclude<ExtArgs> | null
2377
+ where?: Prisma.DispatchProjectWhereInput
2378
+ orderBy?: Prisma.DispatchProjectOrderByWithRelationInput | Prisma.DispatchProjectOrderByWithRelationInput[]
2379
+ cursor?: Prisma.DispatchProjectWhereUniqueInput
2380
+ take?: number
2381
+ skip?: number
2382
+ distinct?: Prisma.DispatchProjectScalarFieldEnum | Prisma.DispatchProjectScalarFieldEnum[]
2383
+ }
2384
+
2385
+ /**
2386
+ * CamusatCountry.SubsidiaryMaterial
2387
+ */
2388
+ export type CamusatCountry$SubsidiaryMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2389
+ /**
2390
+ * Select specific fields to fetch from the SubsidiaryMaterial
2391
+ */
2392
+ select?: Prisma.SubsidiaryMaterialSelect<ExtArgs> | null
2393
+ /**
2394
+ * Omit specific fields from the SubsidiaryMaterial
2395
+ */
2396
+ omit?: Prisma.SubsidiaryMaterialOmit<ExtArgs> | null
2397
+ /**
2398
+ * Choose, which related nodes to fetch as well
2399
+ */
2400
+ include?: Prisma.SubsidiaryMaterialInclude<ExtArgs> | null
2401
+ where?: Prisma.SubsidiaryMaterialWhereInput
2402
+ orderBy?: Prisma.SubsidiaryMaterialOrderByWithRelationInput | Prisma.SubsidiaryMaterialOrderByWithRelationInput[]
2403
+ cursor?: Prisma.SubsidiaryMaterialWhereUniqueInput
2404
+ take?: number
2405
+ skip?: number
2406
+ distinct?: Prisma.SubsidiaryMaterialScalarFieldEnum | Prisma.SubsidiaryMaterialScalarFieldEnum[]
2407
+ }
2408
+
2409
+ /**
2410
+ * CamusatCountry without action
2411
+ */
2412
+ export type CamusatCountryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2413
+ /**
2414
+ * Select specific fields to fetch from the CamusatCountry
2415
+ */
2416
+ select?: Prisma.CamusatCountrySelect<ExtArgs> | null
2417
+ /**
2418
+ * Omit specific fields from the CamusatCountry
2419
+ */
2420
+ omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
2421
+ /**
2422
+ * Choose, which related nodes to fetch as well
2423
+ */
2424
+ include?: Prisma.CamusatCountryInclude<ExtArgs> | null
2425
+ }