efiber-prisma-schema 1.16.2 → 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.
- package/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +13 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/schema.prisma +2 -2
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,1795 @@
|
|
|
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 `Country` 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 Country
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type CountryModel = runtime.Types.Result.DefaultSelection<Prisma.$CountryPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateCountry = {
|
|
22
|
+
_count: CountryCountAggregateOutputType | null
|
|
23
|
+
_avg: CountryAvgAggregateOutputType | null
|
|
24
|
+
_sum: CountrySumAggregateOutputType | null
|
|
25
|
+
_min: CountryMinAggregateOutputType | null
|
|
26
|
+
_max: CountryMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type CountryAvgAggregateOutputType = {
|
|
30
|
+
no: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type CountrySumAggregateOutputType = {
|
|
34
|
+
no: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type CountryMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
no: number | null
|
|
40
|
+
name: string | null
|
|
41
|
+
official_name: string | null
|
|
42
|
+
code: string | null
|
|
43
|
+
capital: string | null
|
|
44
|
+
region: string | null
|
|
45
|
+
subregion: string | null
|
|
46
|
+
population: string | null
|
|
47
|
+
timezones: string | null
|
|
48
|
+
flag: string | null
|
|
49
|
+
createdAt: Date | null
|
|
50
|
+
updatedAt: Date | null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type CountryMaxAggregateOutputType = {
|
|
54
|
+
id: string | null
|
|
55
|
+
no: number | null
|
|
56
|
+
name: string | null
|
|
57
|
+
official_name: string | null
|
|
58
|
+
code: string | null
|
|
59
|
+
capital: string | null
|
|
60
|
+
region: string | null
|
|
61
|
+
subregion: string | null
|
|
62
|
+
population: string | null
|
|
63
|
+
timezones: string | null
|
|
64
|
+
flag: string | null
|
|
65
|
+
createdAt: Date | null
|
|
66
|
+
updatedAt: Date | null
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type CountryCountAggregateOutputType = {
|
|
70
|
+
id: number
|
|
71
|
+
no: number
|
|
72
|
+
name: number
|
|
73
|
+
official_name: number
|
|
74
|
+
code: number
|
|
75
|
+
capital: number
|
|
76
|
+
region: number
|
|
77
|
+
subregion: number
|
|
78
|
+
population: number
|
|
79
|
+
timezones: number
|
|
80
|
+
flag: number
|
|
81
|
+
createdAt: number
|
|
82
|
+
updatedAt: number
|
|
83
|
+
_all: number
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
export type CountryAvgAggregateInputType = {
|
|
88
|
+
no?: true
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type CountrySumAggregateInputType = {
|
|
92
|
+
no?: true
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type CountryMinAggregateInputType = {
|
|
96
|
+
id?: true
|
|
97
|
+
no?: true
|
|
98
|
+
name?: true
|
|
99
|
+
official_name?: true
|
|
100
|
+
code?: true
|
|
101
|
+
capital?: true
|
|
102
|
+
region?: true
|
|
103
|
+
subregion?: true
|
|
104
|
+
population?: true
|
|
105
|
+
timezones?: true
|
|
106
|
+
flag?: true
|
|
107
|
+
createdAt?: true
|
|
108
|
+
updatedAt?: true
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type CountryMaxAggregateInputType = {
|
|
112
|
+
id?: true
|
|
113
|
+
no?: true
|
|
114
|
+
name?: true
|
|
115
|
+
official_name?: true
|
|
116
|
+
code?: true
|
|
117
|
+
capital?: true
|
|
118
|
+
region?: true
|
|
119
|
+
subregion?: true
|
|
120
|
+
population?: true
|
|
121
|
+
timezones?: true
|
|
122
|
+
flag?: true
|
|
123
|
+
createdAt?: true
|
|
124
|
+
updatedAt?: true
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export type CountryCountAggregateInputType = {
|
|
128
|
+
id?: true
|
|
129
|
+
no?: true
|
|
130
|
+
name?: true
|
|
131
|
+
official_name?: true
|
|
132
|
+
code?: true
|
|
133
|
+
capital?: true
|
|
134
|
+
region?: true
|
|
135
|
+
subregion?: true
|
|
136
|
+
population?: true
|
|
137
|
+
timezones?: true
|
|
138
|
+
flag?: true
|
|
139
|
+
createdAt?: true
|
|
140
|
+
updatedAt?: true
|
|
141
|
+
_all?: true
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export type CountryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
145
|
+
/**
|
|
146
|
+
* Filter which Country to aggregate.
|
|
147
|
+
*/
|
|
148
|
+
where?: Prisma.CountryWhereInput
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
151
|
+
*
|
|
152
|
+
* Determine the order of Countries to fetch.
|
|
153
|
+
*/
|
|
154
|
+
orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
157
|
+
*
|
|
158
|
+
* Sets the start position
|
|
159
|
+
*/
|
|
160
|
+
cursor?: Prisma.CountryWhereUniqueInput
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
163
|
+
*
|
|
164
|
+
* Take `±n` Countries from the position of the cursor.
|
|
165
|
+
*/
|
|
166
|
+
take?: number
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
169
|
+
*
|
|
170
|
+
* Skip the first `n` Countries.
|
|
171
|
+
*/
|
|
172
|
+
skip?: number
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Count returned Countries
|
|
177
|
+
**/
|
|
178
|
+
_count?: true | CountryCountAggregateInputType
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to average
|
|
183
|
+
**/
|
|
184
|
+
_avg?: CountryAvgAggregateInputType
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
+
*
|
|
188
|
+
* Select which fields to sum
|
|
189
|
+
**/
|
|
190
|
+
_sum?: CountrySumAggregateInputType
|
|
191
|
+
/**
|
|
192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
193
|
+
*
|
|
194
|
+
* Select which fields to find the minimum value
|
|
195
|
+
**/
|
|
196
|
+
_min?: CountryMinAggregateInputType
|
|
197
|
+
/**
|
|
198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
199
|
+
*
|
|
200
|
+
* Select which fields to find the maximum value
|
|
201
|
+
**/
|
|
202
|
+
_max?: CountryMaxAggregateInputType
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export type GetCountryAggregateType<T extends CountryAggregateArgs> = {
|
|
206
|
+
[P in keyof T & keyof AggregateCountry]: P extends '_count' | 'count'
|
|
207
|
+
? T[P] extends true
|
|
208
|
+
? number
|
|
209
|
+
: Prisma.GetScalarType<T[P], AggregateCountry[P]>
|
|
210
|
+
: Prisma.GetScalarType<T[P], AggregateCountry[P]>
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
export type CountryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
217
|
+
where?: Prisma.CountryWhereInput
|
|
218
|
+
orderBy?: Prisma.CountryOrderByWithAggregationInput | Prisma.CountryOrderByWithAggregationInput[]
|
|
219
|
+
by: Prisma.CountryScalarFieldEnum[] | Prisma.CountryScalarFieldEnum
|
|
220
|
+
having?: Prisma.CountryScalarWhereWithAggregatesInput
|
|
221
|
+
take?: number
|
|
222
|
+
skip?: number
|
|
223
|
+
_count?: CountryCountAggregateInputType | true
|
|
224
|
+
_avg?: CountryAvgAggregateInputType
|
|
225
|
+
_sum?: CountrySumAggregateInputType
|
|
226
|
+
_min?: CountryMinAggregateInputType
|
|
227
|
+
_max?: CountryMaxAggregateInputType
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export type CountryGroupByOutputType = {
|
|
231
|
+
id: string
|
|
232
|
+
no: number
|
|
233
|
+
name: string
|
|
234
|
+
official_name: string
|
|
235
|
+
code: string
|
|
236
|
+
capital: string
|
|
237
|
+
region: string
|
|
238
|
+
subregion: string
|
|
239
|
+
population: string
|
|
240
|
+
timezones: string
|
|
241
|
+
flag: string | null
|
|
242
|
+
createdAt: Date
|
|
243
|
+
updatedAt: Date
|
|
244
|
+
_count: CountryCountAggregateOutputType | null
|
|
245
|
+
_avg: CountryAvgAggregateOutputType | null
|
|
246
|
+
_sum: CountrySumAggregateOutputType | null
|
|
247
|
+
_min: CountryMinAggregateOutputType | null
|
|
248
|
+
_max: CountryMaxAggregateOutputType | null
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
type GetCountryGroupByPayload<T extends CountryGroupByArgs> = Prisma.PrismaPromise<
|
|
252
|
+
Array<
|
|
253
|
+
Prisma.PickEnumerable<CountryGroupByOutputType, T['by']> &
|
|
254
|
+
{
|
|
255
|
+
[P in ((keyof T) & (keyof CountryGroupByOutputType))]: P extends '_count'
|
|
256
|
+
? T[P] extends boolean
|
|
257
|
+
? number
|
|
258
|
+
: Prisma.GetScalarType<T[P], CountryGroupByOutputType[P]>
|
|
259
|
+
: Prisma.GetScalarType<T[P], CountryGroupByOutputType[P]>
|
|
260
|
+
}
|
|
261
|
+
>
|
|
262
|
+
>
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
export type CountryWhereInput = {
|
|
267
|
+
AND?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
|
|
268
|
+
OR?: Prisma.CountryWhereInput[]
|
|
269
|
+
NOT?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
|
|
270
|
+
id?: Prisma.StringFilter<"Country"> | string
|
|
271
|
+
no?: Prisma.IntFilter<"Country"> | number
|
|
272
|
+
name?: Prisma.StringFilter<"Country"> | string
|
|
273
|
+
official_name?: Prisma.StringFilter<"Country"> | string
|
|
274
|
+
code?: Prisma.StringFilter<"Country"> | string
|
|
275
|
+
capital?: Prisma.StringFilter<"Country"> | string
|
|
276
|
+
region?: Prisma.StringFilter<"Country"> | string
|
|
277
|
+
subregion?: Prisma.StringFilter<"Country"> | string
|
|
278
|
+
population?: Prisma.StringFilter<"Country"> | string
|
|
279
|
+
timezones?: Prisma.StringFilter<"Country"> | string
|
|
280
|
+
flag?: Prisma.StringNullableFilter<"Country"> | string | null
|
|
281
|
+
createdAt?: Prisma.DateTimeFilter<"Country"> | Date | string
|
|
282
|
+
updatedAt?: Prisma.DateTimeFilter<"Country"> | Date | string
|
|
283
|
+
CamusatCountry?: Prisma.CamusatCountryListRelationFilter
|
|
284
|
+
User?: Prisma.UserListRelationFilter
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export type CountryOrderByWithRelationInput = {
|
|
288
|
+
id?: Prisma.SortOrder
|
|
289
|
+
no?: Prisma.SortOrder
|
|
290
|
+
name?: Prisma.SortOrder
|
|
291
|
+
official_name?: Prisma.SortOrder
|
|
292
|
+
code?: Prisma.SortOrder
|
|
293
|
+
capital?: Prisma.SortOrder
|
|
294
|
+
region?: Prisma.SortOrder
|
|
295
|
+
subregion?: Prisma.SortOrder
|
|
296
|
+
population?: Prisma.SortOrder
|
|
297
|
+
timezones?: Prisma.SortOrder
|
|
298
|
+
flag?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
299
|
+
createdAt?: Prisma.SortOrder
|
|
300
|
+
updatedAt?: Prisma.SortOrder
|
|
301
|
+
CamusatCountry?: Prisma.CamusatCountryOrderByRelationAggregateInput
|
|
302
|
+
User?: Prisma.UserOrderByRelationAggregateInput
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type CountryWhereUniqueInput = Prisma.AtLeast<{
|
|
306
|
+
id?: string
|
|
307
|
+
AND?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
|
|
308
|
+
OR?: Prisma.CountryWhereInput[]
|
|
309
|
+
NOT?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
|
|
310
|
+
no?: Prisma.IntFilter<"Country"> | number
|
|
311
|
+
name?: Prisma.StringFilter<"Country"> | string
|
|
312
|
+
official_name?: Prisma.StringFilter<"Country"> | string
|
|
313
|
+
code?: Prisma.StringFilter<"Country"> | string
|
|
314
|
+
capital?: Prisma.StringFilter<"Country"> | string
|
|
315
|
+
region?: Prisma.StringFilter<"Country"> | string
|
|
316
|
+
subregion?: Prisma.StringFilter<"Country"> | string
|
|
317
|
+
population?: Prisma.StringFilter<"Country"> | string
|
|
318
|
+
timezones?: Prisma.StringFilter<"Country"> | string
|
|
319
|
+
flag?: Prisma.StringNullableFilter<"Country"> | string | null
|
|
320
|
+
createdAt?: Prisma.DateTimeFilter<"Country"> | Date | string
|
|
321
|
+
updatedAt?: Prisma.DateTimeFilter<"Country"> | Date | string
|
|
322
|
+
CamusatCountry?: Prisma.CamusatCountryListRelationFilter
|
|
323
|
+
User?: Prisma.UserListRelationFilter
|
|
324
|
+
}, "id" | "id">
|
|
325
|
+
|
|
326
|
+
export type CountryOrderByWithAggregationInput = {
|
|
327
|
+
id?: Prisma.SortOrder
|
|
328
|
+
no?: Prisma.SortOrder
|
|
329
|
+
name?: Prisma.SortOrder
|
|
330
|
+
official_name?: Prisma.SortOrder
|
|
331
|
+
code?: Prisma.SortOrder
|
|
332
|
+
capital?: Prisma.SortOrder
|
|
333
|
+
region?: Prisma.SortOrder
|
|
334
|
+
subregion?: Prisma.SortOrder
|
|
335
|
+
population?: Prisma.SortOrder
|
|
336
|
+
timezones?: Prisma.SortOrder
|
|
337
|
+
flag?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
338
|
+
createdAt?: Prisma.SortOrder
|
|
339
|
+
updatedAt?: Prisma.SortOrder
|
|
340
|
+
_count?: Prisma.CountryCountOrderByAggregateInput
|
|
341
|
+
_avg?: Prisma.CountryAvgOrderByAggregateInput
|
|
342
|
+
_max?: Prisma.CountryMaxOrderByAggregateInput
|
|
343
|
+
_min?: Prisma.CountryMinOrderByAggregateInput
|
|
344
|
+
_sum?: Prisma.CountrySumOrderByAggregateInput
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type CountryScalarWhereWithAggregatesInput = {
|
|
348
|
+
AND?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[]
|
|
349
|
+
OR?: Prisma.CountryScalarWhereWithAggregatesInput[]
|
|
350
|
+
NOT?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[]
|
|
351
|
+
id?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
352
|
+
no?: Prisma.IntWithAggregatesFilter<"Country"> | number
|
|
353
|
+
name?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
354
|
+
official_name?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
355
|
+
code?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
356
|
+
capital?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
357
|
+
region?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
358
|
+
subregion?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
359
|
+
population?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
360
|
+
timezones?: Prisma.StringWithAggregatesFilter<"Country"> | string
|
|
361
|
+
flag?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
|
|
362
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Country"> | Date | string
|
|
363
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Country"> | Date | string
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export type CountryCreateInput = {
|
|
367
|
+
id?: string
|
|
368
|
+
no?: number
|
|
369
|
+
name: string
|
|
370
|
+
official_name: string
|
|
371
|
+
code: string
|
|
372
|
+
capital: string
|
|
373
|
+
region: string
|
|
374
|
+
subregion: string
|
|
375
|
+
population: string
|
|
376
|
+
timezones: string
|
|
377
|
+
flag?: string | null
|
|
378
|
+
createdAt?: Date | string
|
|
379
|
+
updatedAt?: Date | string
|
|
380
|
+
CamusatCountry?: Prisma.CamusatCountryCreateNestedManyWithoutCountryInput
|
|
381
|
+
User?: Prisma.UserCreateNestedManyWithoutCountryInput
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type CountryUncheckedCreateInput = {
|
|
385
|
+
id?: string
|
|
386
|
+
no?: number
|
|
387
|
+
name: string
|
|
388
|
+
official_name: string
|
|
389
|
+
code: string
|
|
390
|
+
capital: string
|
|
391
|
+
region: string
|
|
392
|
+
subregion: string
|
|
393
|
+
population: string
|
|
394
|
+
timezones: string
|
|
395
|
+
flag?: string | null
|
|
396
|
+
createdAt?: Date | string
|
|
397
|
+
updatedAt?: Date | string
|
|
398
|
+
CamusatCountry?: Prisma.CamusatCountryUncheckedCreateNestedManyWithoutCountryInput
|
|
399
|
+
User?: Prisma.UserUncheckedCreateNestedManyWithoutCountryInput
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export type CountryUpdateInput = {
|
|
403
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
404
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
405
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
406
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
407
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
408
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
409
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
410
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
411
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
412
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
413
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
414
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
415
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
416
|
+
CamusatCountry?: Prisma.CamusatCountryUpdateManyWithoutCountryNestedInput
|
|
417
|
+
User?: Prisma.UserUpdateManyWithoutCountryNestedInput
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type CountryUncheckedUpdateInput = {
|
|
421
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
422
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
423
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
424
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
425
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
426
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
427
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
428
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
429
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
430
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
431
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
432
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
433
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
434
|
+
CamusatCountry?: Prisma.CamusatCountryUncheckedUpdateManyWithoutCountryNestedInput
|
|
435
|
+
User?: Prisma.UserUncheckedUpdateManyWithoutCountryNestedInput
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type CountryCreateManyInput = {
|
|
439
|
+
id?: string
|
|
440
|
+
no?: number
|
|
441
|
+
name: string
|
|
442
|
+
official_name: string
|
|
443
|
+
code: string
|
|
444
|
+
capital: string
|
|
445
|
+
region: string
|
|
446
|
+
subregion: string
|
|
447
|
+
population: string
|
|
448
|
+
timezones: string
|
|
449
|
+
flag?: string | null
|
|
450
|
+
createdAt?: Date | string
|
|
451
|
+
updatedAt?: Date | string
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export type CountryUpdateManyMutationInput = {
|
|
455
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
456
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
457
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
458
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
459
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
460
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
461
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
462
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
463
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
464
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
465
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
466
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
467
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type CountryUncheckedUpdateManyInput = {
|
|
471
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
472
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
473
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
474
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
475
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
476
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
477
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
478
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
479
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
480
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
481
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
482
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
483
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export type CountryCountOrderByAggregateInput = {
|
|
487
|
+
id?: Prisma.SortOrder
|
|
488
|
+
no?: Prisma.SortOrder
|
|
489
|
+
name?: Prisma.SortOrder
|
|
490
|
+
official_name?: Prisma.SortOrder
|
|
491
|
+
code?: Prisma.SortOrder
|
|
492
|
+
capital?: Prisma.SortOrder
|
|
493
|
+
region?: Prisma.SortOrder
|
|
494
|
+
subregion?: Prisma.SortOrder
|
|
495
|
+
population?: Prisma.SortOrder
|
|
496
|
+
timezones?: Prisma.SortOrder
|
|
497
|
+
flag?: Prisma.SortOrder
|
|
498
|
+
createdAt?: Prisma.SortOrder
|
|
499
|
+
updatedAt?: Prisma.SortOrder
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type CountryAvgOrderByAggregateInput = {
|
|
503
|
+
no?: Prisma.SortOrder
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export type CountryMaxOrderByAggregateInput = {
|
|
507
|
+
id?: Prisma.SortOrder
|
|
508
|
+
no?: Prisma.SortOrder
|
|
509
|
+
name?: Prisma.SortOrder
|
|
510
|
+
official_name?: Prisma.SortOrder
|
|
511
|
+
code?: Prisma.SortOrder
|
|
512
|
+
capital?: Prisma.SortOrder
|
|
513
|
+
region?: Prisma.SortOrder
|
|
514
|
+
subregion?: Prisma.SortOrder
|
|
515
|
+
population?: Prisma.SortOrder
|
|
516
|
+
timezones?: Prisma.SortOrder
|
|
517
|
+
flag?: Prisma.SortOrder
|
|
518
|
+
createdAt?: Prisma.SortOrder
|
|
519
|
+
updatedAt?: Prisma.SortOrder
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export type CountryMinOrderByAggregateInput = {
|
|
523
|
+
id?: Prisma.SortOrder
|
|
524
|
+
no?: Prisma.SortOrder
|
|
525
|
+
name?: Prisma.SortOrder
|
|
526
|
+
official_name?: Prisma.SortOrder
|
|
527
|
+
code?: Prisma.SortOrder
|
|
528
|
+
capital?: Prisma.SortOrder
|
|
529
|
+
region?: Prisma.SortOrder
|
|
530
|
+
subregion?: Prisma.SortOrder
|
|
531
|
+
population?: Prisma.SortOrder
|
|
532
|
+
timezones?: Prisma.SortOrder
|
|
533
|
+
flag?: Prisma.SortOrder
|
|
534
|
+
createdAt?: Prisma.SortOrder
|
|
535
|
+
updatedAt?: Prisma.SortOrder
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
export type CountrySumOrderByAggregateInput = {
|
|
539
|
+
no?: Prisma.SortOrder
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export type CountryScalarRelationFilter = {
|
|
543
|
+
is?: Prisma.CountryWhereInput
|
|
544
|
+
isNot?: Prisma.CountryWhereInput
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export type CountryNullableScalarRelationFilter = {
|
|
548
|
+
is?: Prisma.CountryWhereInput | null
|
|
549
|
+
isNot?: Prisma.CountryWhereInput | null
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export type StringFieldUpdateOperationsInput = {
|
|
553
|
+
set?: string
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type IntFieldUpdateOperationsInput = {
|
|
557
|
+
set?: number
|
|
558
|
+
increment?: number
|
|
559
|
+
decrement?: number
|
|
560
|
+
multiply?: number
|
|
561
|
+
divide?: number
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
565
|
+
set?: string | null
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
569
|
+
set?: Date | string
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export type CountryCreateNestedOneWithoutCamusatCountryInput = {
|
|
573
|
+
create?: Prisma.XOR<Prisma.CountryCreateWithoutCamusatCountryInput, Prisma.CountryUncheckedCreateWithoutCamusatCountryInput>
|
|
574
|
+
connectOrCreate?: Prisma.CountryCreateOrConnectWithoutCamusatCountryInput
|
|
575
|
+
connect?: Prisma.CountryWhereUniqueInput
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export type CountryUpdateOneRequiredWithoutCamusatCountryNestedInput = {
|
|
579
|
+
create?: Prisma.XOR<Prisma.CountryCreateWithoutCamusatCountryInput, Prisma.CountryUncheckedCreateWithoutCamusatCountryInput>
|
|
580
|
+
connectOrCreate?: Prisma.CountryCreateOrConnectWithoutCamusatCountryInput
|
|
581
|
+
upsert?: Prisma.CountryUpsertWithoutCamusatCountryInput
|
|
582
|
+
connect?: Prisma.CountryWhereUniqueInput
|
|
583
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CountryUpdateToOneWithWhereWithoutCamusatCountryInput, Prisma.CountryUpdateWithoutCamusatCountryInput>, Prisma.CountryUncheckedUpdateWithoutCamusatCountryInput>
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export type CountryCreateNestedOneWithoutUserInput = {
|
|
587
|
+
create?: Prisma.XOR<Prisma.CountryCreateWithoutUserInput, Prisma.CountryUncheckedCreateWithoutUserInput>
|
|
588
|
+
connectOrCreate?: Prisma.CountryCreateOrConnectWithoutUserInput
|
|
589
|
+
connect?: Prisma.CountryWhereUniqueInput
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export type CountryUpdateOneWithoutUserNestedInput = {
|
|
593
|
+
create?: Prisma.XOR<Prisma.CountryCreateWithoutUserInput, Prisma.CountryUncheckedCreateWithoutUserInput>
|
|
594
|
+
connectOrCreate?: Prisma.CountryCreateOrConnectWithoutUserInput
|
|
595
|
+
upsert?: Prisma.CountryUpsertWithoutUserInput
|
|
596
|
+
disconnect?: Prisma.CountryWhereInput | boolean
|
|
597
|
+
delete?: Prisma.CountryWhereInput | boolean
|
|
598
|
+
connect?: Prisma.CountryWhereUniqueInput
|
|
599
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CountryUpdateToOneWithWhereWithoutUserInput, Prisma.CountryUpdateWithoutUserInput>, Prisma.CountryUncheckedUpdateWithoutUserInput>
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export type CountryCreateWithoutCamusatCountryInput = {
|
|
603
|
+
id?: string
|
|
604
|
+
no?: number
|
|
605
|
+
name: string
|
|
606
|
+
official_name: string
|
|
607
|
+
code: string
|
|
608
|
+
capital: string
|
|
609
|
+
region: string
|
|
610
|
+
subregion: string
|
|
611
|
+
population: string
|
|
612
|
+
timezones: string
|
|
613
|
+
flag?: string | null
|
|
614
|
+
createdAt?: Date | string
|
|
615
|
+
updatedAt?: Date | string
|
|
616
|
+
User?: Prisma.UserCreateNestedManyWithoutCountryInput
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export type CountryUncheckedCreateWithoutCamusatCountryInput = {
|
|
620
|
+
id?: string
|
|
621
|
+
no?: number
|
|
622
|
+
name: string
|
|
623
|
+
official_name: string
|
|
624
|
+
code: string
|
|
625
|
+
capital: string
|
|
626
|
+
region: string
|
|
627
|
+
subregion: string
|
|
628
|
+
population: string
|
|
629
|
+
timezones: string
|
|
630
|
+
flag?: string | null
|
|
631
|
+
createdAt?: Date | string
|
|
632
|
+
updatedAt?: Date | string
|
|
633
|
+
User?: Prisma.UserUncheckedCreateNestedManyWithoutCountryInput
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export type CountryCreateOrConnectWithoutCamusatCountryInput = {
|
|
637
|
+
where: Prisma.CountryWhereUniqueInput
|
|
638
|
+
create: Prisma.XOR<Prisma.CountryCreateWithoutCamusatCountryInput, Prisma.CountryUncheckedCreateWithoutCamusatCountryInput>
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export type CountryUpsertWithoutCamusatCountryInput = {
|
|
642
|
+
update: Prisma.XOR<Prisma.CountryUpdateWithoutCamusatCountryInput, Prisma.CountryUncheckedUpdateWithoutCamusatCountryInput>
|
|
643
|
+
create: Prisma.XOR<Prisma.CountryCreateWithoutCamusatCountryInput, Prisma.CountryUncheckedCreateWithoutCamusatCountryInput>
|
|
644
|
+
where?: Prisma.CountryWhereInput
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
export type CountryUpdateToOneWithWhereWithoutCamusatCountryInput = {
|
|
648
|
+
where?: Prisma.CountryWhereInput
|
|
649
|
+
data: Prisma.XOR<Prisma.CountryUpdateWithoutCamusatCountryInput, Prisma.CountryUncheckedUpdateWithoutCamusatCountryInput>
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export type CountryUpdateWithoutCamusatCountryInput = {
|
|
653
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
654
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
655
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
656
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
657
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
658
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
659
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
660
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
661
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
662
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
663
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
664
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
665
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
666
|
+
User?: Prisma.UserUpdateManyWithoutCountryNestedInput
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export type CountryUncheckedUpdateWithoutCamusatCountryInput = {
|
|
670
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
671
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
672
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
673
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
674
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
675
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
676
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
677
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
678
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
679
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
680
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
681
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
682
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
683
|
+
User?: Prisma.UserUncheckedUpdateManyWithoutCountryNestedInput
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export type CountryCreateWithoutUserInput = {
|
|
687
|
+
id?: string
|
|
688
|
+
no?: number
|
|
689
|
+
name: string
|
|
690
|
+
official_name: string
|
|
691
|
+
code: string
|
|
692
|
+
capital: string
|
|
693
|
+
region: string
|
|
694
|
+
subregion: string
|
|
695
|
+
population: string
|
|
696
|
+
timezones: string
|
|
697
|
+
flag?: string | null
|
|
698
|
+
createdAt?: Date | string
|
|
699
|
+
updatedAt?: Date | string
|
|
700
|
+
CamusatCountry?: Prisma.CamusatCountryCreateNestedManyWithoutCountryInput
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export type CountryUncheckedCreateWithoutUserInput = {
|
|
704
|
+
id?: string
|
|
705
|
+
no?: number
|
|
706
|
+
name: string
|
|
707
|
+
official_name: string
|
|
708
|
+
code: string
|
|
709
|
+
capital: string
|
|
710
|
+
region: string
|
|
711
|
+
subregion: string
|
|
712
|
+
population: string
|
|
713
|
+
timezones: string
|
|
714
|
+
flag?: string | null
|
|
715
|
+
createdAt?: Date | string
|
|
716
|
+
updatedAt?: Date | string
|
|
717
|
+
CamusatCountry?: Prisma.CamusatCountryUncheckedCreateNestedManyWithoutCountryInput
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export type CountryCreateOrConnectWithoutUserInput = {
|
|
721
|
+
where: Prisma.CountryWhereUniqueInput
|
|
722
|
+
create: Prisma.XOR<Prisma.CountryCreateWithoutUserInput, Prisma.CountryUncheckedCreateWithoutUserInput>
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
export type CountryUpsertWithoutUserInput = {
|
|
726
|
+
update: Prisma.XOR<Prisma.CountryUpdateWithoutUserInput, Prisma.CountryUncheckedUpdateWithoutUserInput>
|
|
727
|
+
create: Prisma.XOR<Prisma.CountryCreateWithoutUserInput, Prisma.CountryUncheckedCreateWithoutUserInput>
|
|
728
|
+
where?: Prisma.CountryWhereInput
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type CountryUpdateToOneWithWhereWithoutUserInput = {
|
|
732
|
+
where?: Prisma.CountryWhereInput
|
|
733
|
+
data: Prisma.XOR<Prisma.CountryUpdateWithoutUserInput, Prisma.CountryUncheckedUpdateWithoutUserInput>
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type CountryUpdateWithoutUserInput = {
|
|
737
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
738
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
739
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
740
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
741
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
742
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
743
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
744
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
745
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
746
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
747
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
748
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
749
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
750
|
+
CamusatCountry?: Prisma.CamusatCountryUpdateManyWithoutCountryNestedInput
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export type CountryUncheckedUpdateWithoutUserInput = {
|
|
754
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
755
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
756
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
757
|
+
official_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
758
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
|
+
capital?: Prisma.StringFieldUpdateOperationsInput | string
|
|
760
|
+
region?: Prisma.StringFieldUpdateOperationsInput | string
|
|
761
|
+
subregion?: Prisma.StringFieldUpdateOperationsInput | string
|
|
762
|
+
population?: Prisma.StringFieldUpdateOperationsInput | string
|
|
763
|
+
timezones?: Prisma.StringFieldUpdateOperationsInput | string
|
|
764
|
+
flag?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
765
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
766
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
767
|
+
CamusatCountry?: Prisma.CamusatCountryUncheckedUpdateManyWithoutCountryNestedInput
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* Count Type CountryCountOutputType
|
|
773
|
+
*/
|
|
774
|
+
|
|
775
|
+
export type CountryCountOutputType = {
|
|
776
|
+
CamusatCountry: number
|
|
777
|
+
User: number
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export type CountryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
781
|
+
CamusatCountry?: boolean | CountryCountOutputTypeCountCamusatCountryArgs
|
|
782
|
+
User?: boolean | CountryCountOutputTypeCountUserArgs
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* CountryCountOutputType without action
|
|
787
|
+
*/
|
|
788
|
+
export type CountryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
789
|
+
/**
|
|
790
|
+
* Select specific fields to fetch from the CountryCountOutputType
|
|
791
|
+
*/
|
|
792
|
+
select?: Prisma.CountryCountOutputTypeSelect<ExtArgs> | null
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* CountryCountOutputType without action
|
|
797
|
+
*/
|
|
798
|
+
export type CountryCountOutputTypeCountCamusatCountryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
799
|
+
where?: Prisma.CamusatCountryWhereInput
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* CountryCountOutputType without action
|
|
804
|
+
*/
|
|
805
|
+
export type CountryCountOutputTypeCountUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
806
|
+
where?: Prisma.UserWhereInput
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
export type CountrySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
811
|
+
id?: boolean
|
|
812
|
+
no?: boolean
|
|
813
|
+
name?: boolean
|
|
814
|
+
official_name?: boolean
|
|
815
|
+
code?: boolean
|
|
816
|
+
capital?: boolean
|
|
817
|
+
region?: boolean
|
|
818
|
+
subregion?: boolean
|
|
819
|
+
population?: boolean
|
|
820
|
+
timezones?: boolean
|
|
821
|
+
flag?: boolean
|
|
822
|
+
createdAt?: boolean
|
|
823
|
+
updatedAt?: boolean
|
|
824
|
+
CamusatCountry?: boolean | Prisma.Country$CamusatCountryArgs<ExtArgs>
|
|
825
|
+
User?: boolean | Prisma.Country$UserArgs<ExtArgs>
|
|
826
|
+
_count?: boolean | Prisma.CountryCountOutputTypeDefaultArgs<ExtArgs>
|
|
827
|
+
}, ExtArgs["result"]["country"]>
|
|
828
|
+
|
|
829
|
+
export type CountrySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
830
|
+
id?: boolean
|
|
831
|
+
no?: boolean
|
|
832
|
+
name?: boolean
|
|
833
|
+
official_name?: boolean
|
|
834
|
+
code?: boolean
|
|
835
|
+
capital?: boolean
|
|
836
|
+
region?: boolean
|
|
837
|
+
subregion?: boolean
|
|
838
|
+
population?: boolean
|
|
839
|
+
timezones?: boolean
|
|
840
|
+
flag?: boolean
|
|
841
|
+
createdAt?: boolean
|
|
842
|
+
updatedAt?: boolean
|
|
843
|
+
}, ExtArgs["result"]["country"]>
|
|
844
|
+
|
|
845
|
+
export type CountrySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
846
|
+
id?: boolean
|
|
847
|
+
no?: boolean
|
|
848
|
+
name?: boolean
|
|
849
|
+
official_name?: boolean
|
|
850
|
+
code?: boolean
|
|
851
|
+
capital?: boolean
|
|
852
|
+
region?: boolean
|
|
853
|
+
subregion?: boolean
|
|
854
|
+
population?: boolean
|
|
855
|
+
timezones?: boolean
|
|
856
|
+
flag?: boolean
|
|
857
|
+
createdAt?: boolean
|
|
858
|
+
updatedAt?: boolean
|
|
859
|
+
}, ExtArgs["result"]["country"]>
|
|
860
|
+
|
|
861
|
+
export type CountrySelectScalar = {
|
|
862
|
+
id?: boolean
|
|
863
|
+
no?: boolean
|
|
864
|
+
name?: boolean
|
|
865
|
+
official_name?: boolean
|
|
866
|
+
code?: boolean
|
|
867
|
+
capital?: boolean
|
|
868
|
+
region?: boolean
|
|
869
|
+
subregion?: boolean
|
|
870
|
+
population?: boolean
|
|
871
|
+
timezones?: boolean
|
|
872
|
+
flag?: boolean
|
|
873
|
+
createdAt?: boolean
|
|
874
|
+
updatedAt?: boolean
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export type CountryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "official_name" | "code" | "capital" | "region" | "subregion" | "population" | "timezones" | "flag" | "createdAt" | "updatedAt", ExtArgs["result"]["country"]>
|
|
878
|
+
export type CountryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
879
|
+
CamusatCountry?: boolean | Prisma.Country$CamusatCountryArgs<ExtArgs>
|
|
880
|
+
User?: boolean | Prisma.Country$UserArgs<ExtArgs>
|
|
881
|
+
_count?: boolean | Prisma.CountryCountOutputTypeDefaultArgs<ExtArgs>
|
|
882
|
+
}
|
|
883
|
+
export type CountryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
884
|
+
export type CountryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
885
|
+
|
|
886
|
+
export type $CountryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
887
|
+
name: "Country"
|
|
888
|
+
objects: {
|
|
889
|
+
CamusatCountry: Prisma.$CamusatCountryPayload<ExtArgs>[]
|
|
890
|
+
User: Prisma.$UserPayload<ExtArgs>[]
|
|
891
|
+
}
|
|
892
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
893
|
+
id: string
|
|
894
|
+
no: number
|
|
895
|
+
name: string
|
|
896
|
+
official_name: string
|
|
897
|
+
code: string
|
|
898
|
+
capital: string
|
|
899
|
+
region: string
|
|
900
|
+
subregion: string
|
|
901
|
+
population: string
|
|
902
|
+
timezones: string
|
|
903
|
+
flag: string | null
|
|
904
|
+
createdAt: Date
|
|
905
|
+
updatedAt: Date
|
|
906
|
+
}, ExtArgs["result"]["country"]>
|
|
907
|
+
composites: {}
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export type CountryGetPayload<S extends boolean | null | undefined | CountryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CountryPayload, S>
|
|
911
|
+
|
|
912
|
+
export type CountryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
913
|
+
Omit<CountryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
914
|
+
select?: CountryCountAggregateInputType | true
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
export interface CountryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
918
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Country'], meta: { name: 'Country' } }
|
|
919
|
+
/**
|
|
920
|
+
* Find zero or one Country that matches the filter.
|
|
921
|
+
* @param {CountryFindUniqueArgs} args - Arguments to find a Country
|
|
922
|
+
* @example
|
|
923
|
+
* // Get one Country
|
|
924
|
+
* const country = await prisma.country.findUnique({
|
|
925
|
+
* where: {
|
|
926
|
+
* // ... provide filter here
|
|
927
|
+
* }
|
|
928
|
+
* })
|
|
929
|
+
*/
|
|
930
|
+
findUnique<T extends CountryFindUniqueArgs>(args: Prisma.SelectSubset<T, CountryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Find one Country that matches the filter or throw an error with `error.code='P2025'`
|
|
934
|
+
* if no matches were found.
|
|
935
|
+
* @param {CountryFindUniqueOrThrowArgs} args - Arguments to find a Country
|
|
936
|
+
* @example
|
|
937
|
+
* // Get one Country
|
|
938
|
+
* const country = await prisma.country.findUniqueOrThrow({
|
|
939
|
+
* where: {
|
|
940
|
+
* // ... provide filter here
|
|
941
|
+
* }
|
|
942
|
+
* })
|
|
943
|
+
*/
|
|
944
|
+
findUniqueOrThrow<T extends CountryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CountryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Find the first Country that matches the filter.
|
|
948
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
949
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
950
|
+
* @param {CountryFindFirstArgs} args - Arguments to find a Country
|
|
951
|
+
* @example
|
|
952
|
+
* // Get one Country
|
|
953
|
+
* const country = await prisma.country.findFirst({
|
|
954
|
+
* where: {
|
|
955
|
+
* // ... provide filter here
|
|
956
|
+
* }
|
|
957
|
+
* })
|
|
958
|
+
*/
|
|
959
|
+
findFirst<T extends CountryFindFirstArgs>(args?: Prisma.SelectSubset<T, CountryFindFirstArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Find the first Country that matches the filter or
|
|
963
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
964
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
965
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
966
|
+
* @param {CountryFindFirstOrThrowArgs} args - Arguments to find a Country
|
|
967
|
+
* @example
|
|
968
|
+
* // Get one Country
|
|
969
|
+
* const country = await prisma.country.findFirstOrThrow({
|
|
970
|
+
* where: {
|
|
971
|
+
* // ... provide filter here
|
|
972
|
+
* }
|
|
973
|
+
* })
|
|
974
|
+
*/
|
|
975
|
+
findFirstOrThrow<T extends CountryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CountryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Find zero or more Countries that matches the filter.
|
|
979
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
980
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
981
|
+
* @param {CountryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
982
|
+
* @example
|
|
983
|
+
* // Get all Countries
|
|
984
|
+
* const countries = await prisma.country.findMany()
|
|
985
|
+
*
|
|
986
|
+
* // Get first 10 Countries
|
|
987
|
+
* const countries = await prisma.country.findMany({ take: 10 })
|
|
988
|
+
*
|
|
989
|
+
* // Only select the `id`
|
|
990
|
+
* const countryWithIdOnly = await prisma.country.findMany({ select: { id: true } })
|
|
991
|
+
*
|
|
992
|
+
*/
|
|
993
|
+
findMany<T extends CountryFindManyArgs>(args?: Prisma.SelectSubset<T, CountryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Create a Country.
|
|
997
|
+
* @param {CountryCreateArgs} args - Arguments to create a Country.
|
|
998
|
+
* @example
|
|
999
|
+
* // Create one Country
|
|
1000
|
+
* const Country = await prisma.country.create({
|
|
1001
|
+
* data: {
|
|
1002
|
+
* // ... data to create a Country
|
|
1003
|
+
* }
|
|
1004
|
+
* })
|
|
1005
|
+
*
|
|
1006
|
+
*/
|
|
1007
|
+
create<T extends CountryCreateArgs>(args: Prisma.SelectSubset<T, CountryCreateArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* Create many Countries.
|
|
1011
|
+
* @param {CountryCreateManyArgs} args - Arguments to create many Countries.
|
|
1012
|
+
* @example
|
|
1013
|
+
* // Create many Countries
|
|
1014
|
+
* const country = await prisma.country.createMany({
|
|
1015
|
+
* data: [
|
|
1016
|
+
* // ... provide data here
|
|
1017
|
+
* ]
|
|
1018
|
+
* })
|
|
1019
|
+
*
|
|
1020
|
+
*/
|
|
1021
|
+
createMany<T extends CountryCreateManyArgs>(args?: Prisma.SelectSubset<T, CountryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Create many Countries and returns the data saved in the database.
|
|
1025
|
+
* @param {CountryCreateManyAndReturnArgs} args - Arguments to create many Countries.
|
|
1026
|
+
* @example
|
|
1027
|
+
* // Create many Countries
|
|
1028
|
+
* const country = await prisma.country.createManyAndReturn({
|
|
1029
|
+
* data: [
|
|
1030
|
+
* // ... provide data here
|
|
1031
|
+
* ]
|
|
1032
|
+
* })
|
|
1033
|
+
*
|
|
1034
|
+
* // Create many Countries and only return the `id`
|
|
1035
|
+
* const countryWithIdOnly = await prisma.country.createManyAndReturn({
|
|
1036
|
+
* select: { id: true },
|
|
1037
|
+
* data: [
|
|
1038
|
+
* // ... provide data here
|
|
1039
|
+
* ]
|
|
1040
|
+
* })
|
|
1041
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1042
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1043
|
+
*
|
|
1044
|
+
*/
|
|
1045
|
+
createManyAndReturn<T extends CountryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CountryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Delete a Country.
|
|
1049
|
+
* @param {CountryDeleteArgs} args - Arguments to delete one Country.
|
|
1050
|
+
* @example
|
|
1051
|
+
* // Delete one Country
|
|
1052
|
+
* const Country = await prisma.country.delete({
|
|
1053
|
+
* where: {
|
|
1054
|
+
* // ... filter to delete one Country
|
|
1055
|
+
* }
|
|
1056
|
+
* })
|
|
1057
|
+
*
|
|
1058
|
+
*/
|
|
1059
|
+
delete<T extends CountryDeleteArgs>(args: Prisma.SelectSubset<T, CountryDeleteArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Update one Country.
|
|
1063
|
+
* @param {CountryUpdateArgs} args - Arguments to update one Country.
|
|
1064
|
+
* @example
|
|
1065
|
+
* // Update one Country
|
|
1066
|
+
* const country = await prisma.country.update({
|
|
1067
|
+
* where: {
|
|
1068
|
+
* // ... provide filter here
|
|
1069
|
+
* },
|
|
1070
|
+
* data: {
|
|
1071
|
+
* // ... provide data here
|
|
1072
|
+
* }
|
|
1073
|
+
* })
|
|
1074
|
+
*
|
|
1075
|
+
*/
|
|
1076
|
+
update<T extends CountryUpdateArgs>(args: Prisma.SelectSubset<T, CountryUpdateArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Delete zero or more Countries.
|
|
1080
|
+
* @param {CountryDeleteManyArgs} args - Arguments to filter Countries to delete.
|
|
1081
|
+
* @example
|
|
1082
|
+
* // Delete a few Countries
|
|
1083
|
+
* const { count } = await prisma.country.deleteMany({
|
|
1084
|
+
* where: {
|
|
1085
|
+
* // ... provide filter here
|
|
1086
|
+
* }
|
|
1087
|
+
* })
|
|
1088
|
+
*
|
|
1089
|
+
*/
|
|
1090
|
+
deleteMany<T extends CountryDeleteManyArgs>(args?: Prisma.SelectSubset<T, CountryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Update zero or more Countries.
|
|
1094
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1095
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1096
|
+
* @param {CountryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1097
|
+
* @example
|
|
1098
|
+
* // Update many Countries
|
|
1099
|
+
* const country = await prisma.country.updateMany({
|
|
1100
|
+
* where: {
|
|
1101
|
+
* // ... provide filter here
|
|
1102
|
+
* },
|
|
1103
|
+
* data: {
|
|
1104
|
+
* // ... provide data here
|
|
1105
|
+
* }
|
|
1106
|
+
* })
|
|
1107
|
+
*
|
|
1108
|
+
*/
|
|
1109
|
+
updateMany<T extends CountryUpdateManyArgs>(args: Prisma.SelectSubset<T, CountryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Update zero or more Countries and returns the data updated in the database.
|
|
1113
|
+
* @param {CountryUpdateManyAndReturnArgs} args - Arguments to update many Countries.
|
|
1114
|
+
* @example
|
|
1115
|
+
* // Update many Countries
|
|
1116
|
+
* const country = await prisma.country.updateManyAndReturn({
|
|
1117
|
+
* where: {
|
|
1118
|
+
* // ... provide filter here
|
|
1119
|
+
* },
|
|
1120
|
+
* data: [
|
|
1121
|
+
* // ... provide data here
|
|
1122
|
+
* ]
|
|
1123
|
+
* })
|
|
1124
|
+
*
|
|
1125
|
+
* // Update zero or more Countries and only return the `id`
|
|
1126
|
+
* const countryWithIdOnly = await prisma.country.updateManyAndReturn({
|
|
1127
|
+
* select: { id: true },
|
|
1128
|
+
* where: {
|
|
1129
|
+
* // ... provide filter here
|
|
1130
|
+
* },
|
|
1131
|
+
* data: [
|
|
1132
|
+
* // ... provide data here
|
|
1133
|
+
* ]
|
|
1134
|
+
* })
|
|
1135
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1136
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1137
|
+
*
|
|
1138
|
+
*/
|
|
1139
|
+
updateManyAndReturn<T extends CountryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CountryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Create or update one Country.
|
|
1143
|
+
* @param {CountryUpsertArgs} args - Arguments to update or create a Country.
|
|
1144
|
+
* @example
|
|
1145
|
+
* // Update or create a Country
|
|
1146
|
+
* const country = await prisma.country.upsert({
|
|
1147
|
+
* create: {
|
|
1148
|
+
* // ... data to create a Country
|
|
1149
|
+
* },
|
|
1150
|
+
* update: {
|
|
1151
|
+
* // ... in case it already exists, update
|
|
1152
|
+
* },
|
|
1153
|
+
* where: {
|
|
1154
|
+
* // ... the filter for the Country we want to update
|
|
1155
|
+
* }
|
|
1156
|
+
* })
|
|
1157
|
+
*/
|
|
1158
|
+
upsert<T extends CountryUpsertArgs>(args: Prisma.SelectSubset<T, CountryUpsertArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Count the number of Countries.
|
|
1163
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1164
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1165
|
+
* @param {CountryCountArgs} args - Arguments to filter Countries to count.
|
|
1166
|
+
* @example
|
|
1167
|
+
* // Count the number of Countries
|
|
1168
|
+
* const count = await prisma.country.count({
|
|
1169
|
+
* where: {
|
|
1170
|
+
* // ... the filter for the Countries we want to count
|
|
1171
|
+
* }
|
|
1172
|
+
* })
|
|
1173
|
+
**/
|
|
1174
|
+
count<T extends CountryCountArgs>(
|
|
1175
|
+
args?: Prisma.Subset<T, CountryCountArgs>,
|
|
1176
|
+
): Prisma.PrismaPromise<
|
|
1177
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1178
|
+
? T['select'] extends true
|
|
1179
|
+
? number
|
|
1180
|
+
: Prisma.GetScalarType<T['select'], CountryCountAggregateOutputType>
|
|
1181
|
+
: number
|
|
1182
|
+
>
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Allows you to perform aggregations operations on a Country.
|
|
1186
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1187
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1188
|
+
* @param {CountryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1189
|
+
* @example
|
|
1190
|
+
* // Ordered by age ascending
|
|
1191
|
+
* // Where email contains prisma.io
|
|
1192
|
+
* // Limited to the 10 users
|
|
1193
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1194
|
+
* _avg: {
|
|
1195
|
+
* age: true,
|
|
1196
|
+
* },
|
|
1197
|
+
* where: {
|
|
1198
|
+
* email: {
|
|
1199
|
+
* contains: "prisma.io",
|
|
1200
|
+
* },
|
|
1201
|
+
* },
|
|
1202
|
+
* orderBy: {
|
|
1203
|
+
* age: "asc",
|
|
1204
|
+
* },
|
|
1205
|
+
* take: 10,
|
|
1206
|
+
* })
|
|
1207
|
+
**/
|
|
1208
|
+
aggregate<T extends CountryAggregateArgs>(args: Prisma.Subset<T, CountryAggregateArgs>): Prisma.PrismaPromise<GetCountryAggregateType<T>>
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Group by Country.
|
|
1212
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1213
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1214
|
+
* @param {CountryGroupByArgs} args - Group by arguments.
|
|
1215
|
+
* @example
|
|
1216
|
+
* // Group by city, order by createdAt, get count
|
|
1217
|
+
* const result = await prisma.user.groupBy({
|
|
1218
|
+
* by: ['city', 'createdAt'],
|
|
1219
|
+
* orderBy: {
|
|
1220
|
+
* createdAt: true
|
|
1221
|
+
* },
|
|
1222
|
+
* _count: {
|
|
1223
|
+
* _all: true
|
|
1224
|
+
* },
|
|
1225
|
+
* })
|
|
1226
|
+
*
|
|
1227
|
+
**/
|
|
1228
|
+
groupBy<
|
|
1229
|
+
T extends CountryGroupByArgs,
|
|
1230
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1231
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1232
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1233
|
+
>,
|
|
1234
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1235
|
+
? { orderBy: CountryGroupByArgs['orderBy'] }
|
|
1236
|
+
: { orderBy?: CountryGroupByArgs['orderBy'] },
|
|
1237
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1238
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1239
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1240
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1241
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1242
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1243
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1244
|
+
? `Error: "by" must not be empty.`
|
|
1245
|
+
: HavingValid extends Prisma.False
|
|
1246
|
+
? {
|
|
1247
|
+
[P in HavingFields]: P extends ByFields
|
|
1248
|
+
? never
|
|
1249
|
+
: P extends string
|
|
1250
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1251
|
+
: [
|
|
1252
|
+
Error,
|
|
1253
|
+
'Field ',
|
|
1254
|
+
P,
|
|
1255
|
+
` in "having" needs to be provided in "by"`,
|
|
1256
|
+
]
|
|
1257
|
+
}[HavingFields]
|
|
1258
|
+
: 'take' extends Prisma.Keys<T>
|
|
1259
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1260
|
+
? ByValid extends Prisma.True
|
|
1261
|
+
? {}
|
|
1262
|
+
: {
|
|
1263
|
+
[P in OrderFields]: P extends ByFields
|
|
1264
|
+
? never
|
|
1265
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1266
|
+
}[OrderFields]
|
|
1267
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1268
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1269
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1270
|
+
? ByValid extends Prisma.True
|
|
1271
|
+
? {}
|
|
1272
|
+
: {
|
|
1273
|
+
[P in OrderFields]: P extends ByFields
|
|
1274
|
+
? never
|
|
1275
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1276
|
+
}[OrderFields]
|
|
1277
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1278
|
+
: ByValid extends Prisma.True
|
|
1279
|
+
? {}
|
|
1280
|
+
: {
|
|
1281
|
+
[P in OrderFields]: P extends ByFields
|
|
1282
|
+
? never
|
|
1283
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1284
|
+
}[OrderFields]
|
|
1285
|
+
>(args: Prisma.SubsetIntersection<T, CountryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCountryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1286
|
+
/**
|
|
1287
|
+
* Fields of the Country model
|
|
1288
|
+
*/
|
|
1289
|
+
readonly fields: CountryFieldRefs;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* The delegate class that acts as a "Promise-like" for Country.
|
|
1294
|
+
* Why is this prefixed with `Prisma__`?
|
|
1295
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1296
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1297
|
+
*/
|
|
1298
|
+
export interface Prisma__CountryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1299
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1300
|
+
CamusatCountry<T extends Prisma.Country$CamusatCountryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Country$CamusatCountryArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1301
|
+
User<T extends Prisma.Country$UserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Country$UserArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1302
|
+
/**
|
|
1303
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1304
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1305
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1306
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1307
|
+
*/
|
|
1308
|
+
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>
|
|
1309
|
+
/**
|
|
1310
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1311
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1312
|
+
* @returns A Promise for the completion of the callback.
|
|
1313
|
+
*/
|
|
1314
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1315
|
+
/**
|
|
1316
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1317
|
+
* resolved value cannot be modified from the callback.
|
|
1318
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1319
|
+
* @returns A Promise for the completion of the callback.
|
|
1320
|
+
*/
|
|
1321
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Fields of the Country model
|
|
1329
|
+
*/
|
|
1330
|
+
export interface CountryFieldRefs {
|
|
1331
|
+
readonly id: Prisma.FieldRef<"Country", 'String'>
|
|
1332
|
+
readonly no: Prisma.FieldRef<"Country", 'Int'>
|
|
1333
|
+
readonly name: Prisma.FieldRef<"Country", 'String'>
|
|
1334
|
+
readonly official_name: Prisma.FieldRef<"Country", 'String'>
|
|
1335
|
+
readonly code: Prisma.FieldRef<"Country", 'String'>
|
|
1336
|
+
readonly capital: Prisma.FieldRef<"Country", 'String'>
|
|
1337
|
+
readonly region: Prisma.FieldRef<"Country", 'String'>
|
|
1338
|
+
readonly subregion: Prisma.FieldRef<"Country", 'String'>
|
|
1339
|
+
readonly population: Prisma.FieldRef<"Country", 'String'>
|
|
1340
|
+
readonly timezones: Prisma.FieldRef<"Country", 'String'>
|
|
1341
|
+
readonly flag: Prisma.FieldRef<"Country", 'String'>
|
|
1342
|
+
readonly createdAt: Prisma.FieldRef<"Country", 'DateTime'>
|
|
1343
|
+
readonly updatedAt: Prisma.FieldRef<"Country", 'DateTime'>
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
// Custom InputTypes
|
|
1348
|
+
/**
|
|
1349
|
+
* Country findUnique
|
|
1350
|
+
*/
|
|
1351
|
+
export type CountryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1352
|
+
/**
|
|
1353
|
+
* Select specific fields to fetch from the Country
|
|
1354
|
+
*/
|
|
1355
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1356
|
+
/**
|
|
1357
|
+
* Omit specific fields from the Country
|
|
1358
|
+
*/
|
|
1359
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1360
|
+
/**
|
|
1361
|
+
* Choose, which related nodes to fetch as well
|
|
1362
|
+
*/
|
|
1363
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1364
|
+
/**
|
|
1365
|
+
* Filter, which Country to fetch.
|
|
1366
|
+
*/
|
|
1367
|
+
where: Prisma.CountryWhereUniqueInput
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* Country findUniqueOrThrow
|
|
1372
|
+
*/
|
|
1373
|
+
export type CountryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Select specific fields to fetch from the Country
|
|
1376
|
+
*/
|
|
1377
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1378
|
+
/**
|
|
1379
|
+
* Omit specific fields from the Country
|
|
1380
|
+
*/
|
|
1381
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1382
|
+
/**
|
|
1383
|
+
* Choose, which related nodes to fetch as well
|
|
1384
|
+
*/
|
|
1385
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1386
|
+
/**
|
|
1387
|
+
* Filter, which Country to fetch.
|
|
1388
|
+
*/
|
|
1389
|
+
where: Prisma.CountryWhereUniqueInput
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* Country findFirst
|
|
1394
|
+
*/
|
|
1395
|
+
export type CountryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1396
|
+
/**
|
|
1397
|
+
* Select specific fields to fetch from the Country
|
|
1398
|
+
*/
|
|
1399
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1400
|
+
/**
|
|
1401
|
+
* Omit specific fields from the Country
|
|
1402
|
+
*/
|
|
1403
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1404
|
+
/**
|
|
1405
|
+
* Choose, which related nodes to fetch as well
|
|
1406
|
+
*/
|
|
1407
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1408
|
+
/**
|
|
1409
|
+
* Filter, which Country to fetch.
|
|
1410
|
+
*/
|
|
1411
|
+
where?: Prisma.CountryWhereInput
|
|
1412
|
+
/**
|
|
1413
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1414
|
+
*
|
|
1415
|
+
* Determine the order of Countries to fetch.
|
|
1416
|
+
*/
|
|
1417
|
+
orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
|
|
1418
|
+
/**
|
|
1419
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1420
|
+
*
|
|
1421
|
+
* Sets the position for searching for Countries.
|
|
1422
|
+
*/
|
|
1423
|
+
cursor?: Prisma.CountryWhereUniqueInput
|
|
1424
|
+
/**
|
|
1425
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1426
|
+
*
|
|
1427
|
+
* Take `±n` Countries from the position of the cursor.
|
|
1428
|
+
*/
|
|
1429
|
+
take?: number
|
|
1430
|
+
/**
|
|
1431
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1432
|
+
*
|
|
1433
|
+
* Skip the first `n` Countries.
|
|
1434
|
+
*/
|
|
1435
|
+
skip?: number
|
|
1436
|
+
/**
|
|
1437
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1438
|
+
*
|
|
1439
|
+
* Filter by unique combinations of Countries.
|
|
1440
|
+
*/
|
|
1441
|
+
distinct?: Prisma.CountryScalarFieldEnum | Prisma.CountryScalarFieldEnum[]
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Country findFirstOrThrow
|
|
1446
|
+
*/
|
|
1447
|
+
export type CountryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1448
|
+
/**
|
|
1449
|
+
* Select specific fields to fetch from the Country
|
|
1450
|
+
*/
|
|
1451
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1452
|
+
/**
|
|
1453
|
+
* Omit specific fields from the Country
|
|
1454
|
+
*/
|
|
1455
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1456
|
+
/**
|
|
1457
|
+
* Choose, which related nodes to fetch as well
|
|
1458
|
+
*/
|
|
1459
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1460
|
+
/**
|
|
1461
|
+
* Filter, which Country to fetch.
|
|
1462
|
+
*/
|
|
1463
|
+
where?: Prisma.CountryWhereInput
|
|
1464
|
+
/**
|
|
1465
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1466
|
+
*
|
|
1467
|
+
* Determine the order of Countries to fetch.
|
|
1468
|
+
*/
|
|
1469
|
+
orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
|
|
1470
|
+
/**
|
|
1471
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1472
|
+
*
|
|
1473
|
+
* Sets the position for searching for Countries.
|
|
1474
|
+
*/
|
|
1475
|
+
cursor?: Prisma.CountryWhereUniqueInput
|
|
1476
|
+
/**
|
|
1477
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1478
|
+
*
|
|
1479
|
+
* Take `±n` Countries from the position of the cursor.
|
|
1480
|
+
*/
|
|
1481
|
+
take?: number
|
|
1482
|
+
/**
|
|
1483
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1484
|
+
*
|
|
1485
|
+
* Skip the first `n` Countries.
|
|
1486
|
+
*/
|
|
1487
|
+
skip?: number
|
|
1488
|
+
/**
|
|
1489
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1490
|
+
*
|
|
1491
|
+
* Filter by unique combinations of Countries.
|
|
1492
|
+
*/
|
|
1493
|
+
distinct?: Prisma.CountryScalarFieldEnum | Prisma.CountryScalarFieldEnum[]
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Country findMany
|
|
1498
|
+
*/
|
|
1499
|
+
export type CountryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Select specific fields to fetch from the Country
|
|
1502
|
+
*/
|
|
1503
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1504
|
+
/**
|
|
1505
|
+
* Omit specific fields from the Country
|
|
1506
|
+
*/
|
|
1507
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1508
|
+
/**
|
|
1509
|
+
* Choose, which related nodes to fetch as well
|
|
1510
|
+
*/
|
|
1511
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1512
|
+
/**
|
|
1513
|
+
* Filter, which Countries to fetch.
|
|
1514
|
+
*/
|
|
1515
|
+
where?: Prisma.CountryWhereInput
|
|
1516
|
+
/**
|
|
1517
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1518
|
+
*
|
|
1519
|
+
* Determine the order of Countries to fetch.
|
|
1520
|
+
*/
|
|
1521
|
+
orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
|
|
1522
|
+
/**
|
|
1523
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1524
|
+
*
|
|
1525
|
+
* Sets the position for listing Countries.
|
|
1526
|
+
*/
|
|
1527
|
+
cursor?: Prisma.CountryWhereUniqueInput
|
|
1528
|
+
/**
|
|
1529
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1530
|
+
*
|
|
1531
|
+
* Take `±n` Countries from the position of the cursor.
|
|
1532
|
+
*/
|
|
1533
|
+
take?: number
|
|
1534
|
+
/**
|
|
1535
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1536
|
+
*
|
|
1537
|
+
* Skip the first `n` Countries.
|
|
1538
|
+
*/
|
|
1539
|
+
skip?: number
|
|
1540
|
+
distinct?: Prisma.CountryScalarFieldEnum | Prisma.CountryScalarFieldEnum[]
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* Country create
|
|
1545
|
+
*/
|
|
1546
|
+
export type CountryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1547
|
+
/**
|
|
1548
|
+
* Select specific fields to fetch from the Country
|
|
1549
|
+
*/
|
|
1550
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1551
|
+
/**
|
|
1552
|
+
* Omit specific fields from the Country
|
|
1553
|
+
*/
|
|
1554
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1555
|
+
/**
|
|
1556
|
+
* Choose, which related nodes to fetch as well
|
|
1557
|
+
*/
|
|
1558
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1559
|
+
/**
|
|
1560
|
+
* The data needed to create a Country.
|
|
1561
|
+
*/
|
|
1562
|
+
data: Prisma.XOR<Prisma.CountryCreateInput, Prisma.CountryUncheckedCreateInput>
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Country createMany
|
|
1567
|
+
*/
|
|
1568
|
+
export type CountryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1569
|
+
/**
|
|
1570
|
+
* The data used to create many Countries.
|
|
1571
|
+
*/
|
|
1572
|
+
data: Prisma.CountryCreateManyInput | Prisma.CountryCreateManyInput[]
|
|
1573
|
+
skipDuplicates?: boolean
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Country createManyAndReturn
|
|
1578
|
+
*/
|
|
1579
|
+
export type CountryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1580
|
+
/**
|
|
1581
|
+
* Select specific fields to fetch from the Country
|
|
1582
|
+
*/
|
|
1583
|
+
select?: Prisma.CountrySelectCreateManyAndReturn<ExtArgs> | null
|
|
1584
|
+
/**
|
|
1585
|
+
* Omit specific fields from the Country
|
|
1586
|
+
*/
|
|
1587
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1588
|
+
/**
|
|
1589
|
+
* The data used to create many Countries.
|
|
1590
|
+
*/
|
|
1591
|
+
data: Prisma.CountryCreateManyInput | Prisma.CountryCreateManyInput[]
|
|
1592
|
+
skipDuplicates?: boolean
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* Country update
|
|
1597
|
+
*/
|
|
1598
|
+
export type CountryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1599
|
+
/**
|
|
1600
|
+
* Select specific fields to fetch from the Country
|
|
1601
|
+
*/
|
|
1602
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1603
|
+
/**
|
|
1604
|
+
* Omit specific fields from the Country
|
|
1605
|
+
*/
|
|
1606
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1607
|
+
/**
|
|
1608
|
+
* Choose, which related nodes to fetch as well
|
|
1609
|
+
*/
|
|
1610
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1611
|
+
/**
|
|
1612
|
+
* The data needed to update a Country.
|
|
1613
|
+
*/
|
|
1614
|
+
data: Prisma.XOR<Prisma.CountryUpdateInput, Prisma.CountryUncheckedUpdateInput>
|
|
1615
|
+
/**
|
|
1616
|
+
* Choose, which Country to update.
|
|
1617
|
+
*/
|
|
1618
|
+
where: Prisma.CountryWhereUniqueInput
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Country updateMany
|
|
1623
|
+
*/
|
|
1624
|
+
export type CountryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1625
|
+
/**
|
|
1626
|
+
* The data used to update Countries.
|
|
1627
|
+
*/
|
|
1628
|
+
data: Prisma.XOR<Prisma.CountryUpdateManyMutationInput, Prisma.CountryUncheckedUpdateManyInput>
|
|
1629
|
+
/**
|
|
1630
|
+
* Filter which Countries to update
|
|
1631
|
+
*/
|
|
1632
|
+
where?: Prisma.CountryWhereInput
|
|
1633
|
+
/**
|
|
1634
|
+
* Limit how many Countries to update.
|
|
1635
|
+
*/
|
|
1636
|
+
limit?: number
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Country updateManyAndReturn
|
|
1641
|
+
*/
|
|
1642
|
+
export type CountryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1643
|
+
/**
|
|
1644
|
+
* Select specific fields to fetch from the Country
|
|
1645
|
+
*/
|
|
1646
|
+
select?: Prisma.CountrySelectUpdateManyAndReturn<ExtArgs> | null
|
|
1647
|
+
/**
|
|
1648
|
+
* Omit specific fields from the Country
|
|
1649
|
+
*/
|
|
1650
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1651
|
+
/**
|
|
1652
|
+
* The data used to update Countries.
|
|
1653
|
+
*/
|
|
1654
|
+
data: Prisma.XOR<Prisma.CountryUpdateManyMutationInput, Prisma.CountryUncheckedUpdateManyInput>
|
|
1655
|
+
/**
|
|
1656
|
+
* Filter which Countries to update
|
|
1657
|
+
*/
|
|
1658
|
+
where?: Prisma.CountryWhereInput
|
|
1659
|
+
/**
|
|
1660
|
+
* Limit how many Countries to update.
|
|
1661
|
+
*/
|
|
1662
|
+
limit?: number
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* Country upsert
|
|
1667
|
+
*/
|
|
1668
|
+
export type CountryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1669
|
+
/**
|
|
1670
|
+
* Select specific fields to fetch from the Country
|
|
1671
|
+
*/
|
|
1672
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1673
|
+
/**
|
|
1674
|
+
* Omit specific fields from the Country
|
|
1675
|
+
*/
|
|
1676
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1677
|
+
/**
|
|
1678
|
+
* Choose, which related nodes to fetch as well
|
|
1679
|
+
*/
|
|
1680
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1681
|
+
/**
|
|
1682
|
+
* The filter to search for the Country to update in case it exists.
|
|
1683
|
+
*/
|
|
1684
|
+
where: Prisma.CountryWhereUniqueInput
|
|
1685
|
+
/**
|
|
1686
|
+
* In case the Country found by the `where` argument doesn't exist, create a new Country with this data.
|
|
1687
|
+
*/
|
|
1688
|
+
create: Prisma.XOR<Prisma.CountryCreateInput, Prisma.CountryUncheckedCreateInput>
|
|
1689
|
+
/**
|
|
1690
|
+
* In case the Country was found with the provided `where` argument, update it with this data.
|
|
1691
|
+
*/
|
|
1692
|
+
update: Prisma.XOR<Prisma.CountryUpdateInput, Prisma.CountryUncheckedUpdateInput>
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* Country delete
|
|
1697
|
+
*/
|
|
1698
|
+
export type CountryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1699
|
+
/**
|
|
1700
|
+
* Select specific fields to fetch from the Country
|
|
1701
|
+
*/
|
|
1702
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1703
|
+
/**
|
|
1704
|
+
* Omit specific fields from the Country
|
|
1705
|
+
*/
|
|
1706
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1707
|
+
/**
|
|
1708
|
+
* Choose, which related nodes to fetch as well
|
|
1709
|
+
*/
|
|
1710
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1711
|
+
/**
|
|
1712
|
+
* Filter which Country to delete.
|
|
1713
|
+
*/
|
|
1714
|
+
where: Prisma.CountryWhereUniqueInput
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* Country deleteMany
|
|
1719
|
+
*/
|
|
1720
|
+
export type CountryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1721
|
+
/**
|
|
1722
|
+
* Filter which Countries to delete
|
|
1723
|
+
*/
|
|
1724
|
+
where?: Prisma.CountryWhereInput
|
|
1725
|
+
/**
|
|
1726
|
+
* Limit how many Countries to delete.
|
|
1727
|
+
*/
|
|
1728
|
+
limit?: number
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* Country.CamusatCountry
|
|
1733
|
+
*/
|
|
1734
|
+
export type Country$CamusatCountryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1735
|
+
/**
|
|
1736
|
+
* Select specific fields to fetch from the CamusatCountry
|
|
1737
|
+
*/
|
|
1738
|
+
select?: Prisma.CamusatCountrySelect<ExtArgs> | null
|
|
1739
|
+
/**
|
|
1740
|
+
* Omit specific fields from the CamusatCountry
|
|
1741
|
+
*/
|
|
1742
|
+
omit?: Prisma.CamusatCountryOmit<ExtArgs> | null
|
|
1743
|
+
/**
|
|
1744
|
+
* Choose, which related nodes to fetch as well
|
|
1745
|
+
*/
|
|
1746
|
+
include?: Prisma.CamusatCountryInclude<ExtArgs> | null
|
|
1747
|
+
where?: Prisma.CamusatCountryWhereInput
|
|
1748
|
+
orderBy?: Prisma.CamusatCountryOrderByWithRelationInput | Prisma.CamusatCountryOrderByWithRelationInput[]
|
|
1749
|
+
cursor?: Prisma.CamusatCountryWhereUniqueInput
|
|
1750
|
+
take?: number
|
|
1751
|
+
skip?: number
|
|
1752
|
+
distinct?: Prisma.CamusatCountryScalarFieldEnum | Prisma.CamusatCountryScalarFieldEnum[]
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Country.User
|
|
1757
|
+
*/
|
|
1758
|
+
export type Country$UserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1759
|
+
/**
|
|
1760
|
+
* Select specific fields to fetch from the User
|
|
1761
|
+
*/
|
|
1762
|
+
select?: Prisma.UserSelect<ExtArgs> | null
|
|
1763
|
+
/**
|
|
1764
|
+
* Omit specific fields from the User
|
|
1765
|
+
*/
|
|
1766
|
+
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
1767
|
+
/**
|
|
1768
|
+
* Choose, which related nodes to fetch as well
|
|
1769
|
+
*/
|
|
1770
|
+
include?: Prisma.UserInclude<ExtArgs> | null
|
|
1771
|
+
where?: Prisma.UserWhereInput
|
|
1772
|
+
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
1773
|
+
cursor?: Prisma.UserWhereUniqueInput
|
|
1774
|
+
take?: number
|
|
1775
|
+
skip?: number
|
|
1776
|
+
distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Country without action
|
|
1781
|
+
*/
|
|
1782
|
+
export type CountryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1783
|
+
/**
|
|
1784
|
+
* Select specific fields to fetch from the Country
|
|
1785
|
+
*/
|
|
1786
|
+
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1787
|
+
/**
|
|
1788
|
+
* Omit specific fields from the Country
|
|
1789
|
+
*/
|
|
1790
|
+
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1791
|
+
/**
|
|
1792
|
+
* Choose, which related nodes to fetch as well
|
|
1793
|
+
*/
|
|
1794
|
+
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1795
|
+
}
|