procbay-schema 1.0.171 → 1.0.174

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 (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,2180 +0,0 @@
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 `City` 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.ts"
13
- import type * as Prisma from "../internal/prismaNamespace.ts"
14
-
15
- /**
16
- * Model City
17
- *
18
- */
19
- export type CityModel = runtime.Types.Result.DefaultSelection<Prisma.$CityPayload>
20
-
21
- export type AggregateCity = {
22
- _count: CityCountAggregateOutputType | null
23
- _avg: CityAvgAggregateOutputType | null
24
- _sum: CitySumAggregateOutputType | null
25
- _min: CityMinAggregateOutputType | null
26
- _max: CityMaxAggregateOutputType | null
27
- }
28
-
29
- export type CityAvgAggregateOutputType = {
30
- id: number | null
31
- latitude: runtime.Decimal | null
32
- longitude: runtime.Decimal | null
33
- created_by: number | null
34
- updated_by: number | null
35
- deleted_by: number | null
36
- state_id: number | null
37
- country_id: number | null
38
- }
39
-
40
- export type CitySumAggregateOutputType = {
41
- id: number | null
42
- latitude: runtime.Decimal | null
43
- longitude: runtime.Decimal | null
44
- created_by: number | null
45
- updated_by: number | null
46
- deleted_by: number | null
47
- state_id: number | null
48
- country_id: number | null
49
- }
50
-
51
- export type CityMinAggregateOutputType = {
52
- id: number | null
53
- name: string | null
54
- latitude: runtime.Decimal | null
55
- longitude: runtime.Decimal | null
56
- wikiDataId: string | null
57
- status: boolean | null
58
- created_at: Date | null
59
- created_by: number | null
60
- updated_at: Date | null
61
- updated_by: number | null
62
- is_deleted: boolean | null
63
- deleted_by: number | null
64
- deleted_at: Date | null
65
- state_id: number | null
66
- country_id: number | null
67
- }
68
-
69
- export type CityMaxAggregateOutputType = {
70
- id: number | null
71
- name: string | null
72
- latitude: runtime.Decimal | null
73
- longitude: runtime.Decimal | null
74
- wikiDataId: string | null
75
- status: boolean | null
76
- created_at: Date | null
77
- created_by: number | null
78
- updated_at: Date | null
79
- updated_by: number | null
80
- is_deleted: boolean | null
81
- deleted_by: number | null
82
- deleted_at: Date | null
83
- state_id: number | null
84
- country_id: number | null
85
- }
86
-
87
- export type CityCountAggregateOutputType = {
88
- id: number
89
- name: number
90
- latitude: number
91
- longitude: number
92
- wikiDataId: number
93
- status: number
94
- created_at: number
95
- created_by: number
96
- updated_at: number
97
- updated_by: number
98
- is_deleted: number
99
- deleted_by: number
100
- deleted_at: number
101
- state_id: number
102
- country_id: number
103
- _all: number
104
- }
105
-
106
-
107
- export type CityAvgAggregateInputType = {
108
- id?: true
109
- latitude?: true
110
- longitude?: true
111
- created_by?: true
112
- updated_by?: true
113
- deleted_by?: true
114
- state_id?: true
115
- country_id?: true
116
- }
117
-
118
- export type CitySumAggregateInputType = {
119
- id?: true
120
- latitude?: true
121
- longitude?: true
122
- created_by?: true
123
- updated_by?: true
124
- deleted_by?: true
125
- state_id?: true
126
- country_id?: true
127
- }
128
-
129
- export type CityMinAggregateInputType = {
130
- id?: true
131
- name?: true
132
- latitude?: true
133
- longitude?: true
134
- wikiDataId?: true
135
- status?: true
136
- created_at?: true
137
- created_by?: true
138
- updated_at?: true
139
- updated_by?: true
140
- is_deleted?: true
141
- deleted_by?: true
142
- deleted_at?: true
143
- state_id?: true
144
- country_id?: true
145
- }
146
-
147
- export type CityMaxAggregateInputType = {
148
- id?: true
149
- name?: true
150
- latitude?: true
151
- longitude?: true
152
- wikiDataId?: true
153
- status?: true
154
- created_at?: true
155
- created_by?: true
156
- updated_at?: true
157
- updated_by?: true
158
- is_deleted?: true
159
- deleted_by?: true
160
- deleted_at?: true
161
- state_id?: true
162
- country_id?: true
163
- }
164
-
165
- export type CityCountAggregateInputType = {
166
- id?: true
167
- name?: true
168
- latitude?: true
169
- longitude?: true
170
- wikiDataId?: true
171
- status?: true
172
- created_at?: true
173
- created_by?: true
174
- updated_at?: true
175
- updated_by?: true
176
- is_deleted?: true
177
- deleted_by?: true
178
- deleted_at?: true
179
- state_id?: true
180
- country_id?: true
181
- _all?: true
182
- }
183
-
184
- export type CityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
185
- /**
186
- * Filter which City to aggregate.
187
- */
188
- where?: Prisma.CityWhereInput
189
- /**
190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
191
- *
192
- * Determine the order of Cities to fetch.
193
- */
194
- orderBy?: Prisma.CityOrderByWithRelationInput | Prisma.CityOrderByWithRelationInput[]
195
- /**
196
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
197
- *
198
- * Sets the start position
199
- */
200
- cursor?: Prisma.CityWhereUniqueInput
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
203
- *
204
- * Take `±n` Cities from the position of the cursor.
205
- */
206
- take?: number
207
- /**
208
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
209
- *
210
- * Skip the first `n` Cities.
211
- */
212
- skip?: number
213
- /**
214
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
215
- *
216
- * Count returned Cities
217
- **/
218
- _count?: true | CityCountAggregateInputType
219
- /**
220
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
221
- *
222
- * Select which fields to average
223
- **/
224
- _avg?: CityAvgAggregateInputType
225
- /**
226
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
227
- *
228
- * Select which fields to sum
229
- **/
230
- _sum?: CitySumAggregateInputType
231
- /**
232
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
233
- *
234
- * Select which fields to find the minimum value
235
- **/
236
- _min?: CityMinAggregateInputType
237
- /**
238
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
239
- *
240
- * Select which fields to find the maximum value
241
- **/
242
- _max?: CityMaxAggregateInputType
243
- }
244
-
245
- export type GetCityAggregateType<T extends CityAggregateArgs> = {
246
- [P in keyof T & keyof AggregateCity]: P extends '_count' | 'count'
247
- ? T[P] extends true
248
- ? number
249
- : Prisma.GetScalarType<T[P], AggregateCity[P]>
250
- : Prisma.GetScalarType<T[P], AggregateCity[P]>
251
- }
252
-
253
-
254
-
255
-
256
- export type CityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
257
- where?: Prisma.CityWhereInput
258
- orderBy?: Prisma.CityOrderByWithAggregationInput | Prisma.CityOrderByWithAggregationInput[]
259
- by: Prisma.CityScalarFieldEnum[] | Prisma.CityScalarFieldEnum
260
- having?: Prisma.CityScalarWhereWithAggregatesInput
261
- take?: number
262
- skip?: number
263
- _count?: CityCountAggregateInputType | true
264
- _avg?: CityAvgAggregateInputType
265
- _sum?: CitySumAggregateInputType
266
- _min?: CityMinAggregateInputType
267
- _max?: CityMaxAggregateInputType
268
- }
269
-
270
- export type CityGroupByOutputType = {
271
- id: number
272
- name: string | null
273
- latitude: runtime.Decimal | null
274
- longitude: runtime.Decimal | null
275
- wikiDataId: string | null
276
- status: boolean | null
277
- created_at: Date
278
- created_by: number | null
279
- updated_at: Date
280
- updated_by: number | null
281
- is_deleted: boolean | null
282
- deleted_by: number | null
283
- deleted_at: Date | null
284
- state_id: number | null
285
- country_id: number | null
286
- _count: CityCountAggregateOutputType | null
287
- _avg: CityAvgAggregateOutputType | null
288
- _sum: CitySumAggregateOutputType | null
289
- _min: CityMinAggregateOutputType | null
290
- _max: CityMaxAggregateOutputType | null
291
- }
292
-
293
- export type GetCityGroupByPayload<T extends CityGroupByArgs> = Prisma.PrismaPromise<
294
- Array<
295
- Prisma.PickEnumerable<CityGroupByOutputType, T['by']> &
296
- {
297
- [P in ((keyof T) & (keyof CityGroupByOutputType))]: P extends '_count'
298
- ? T[P] extends boolean
299
- ? number
300
- : Prisma.GetScalarType<T[P], CityGroupByOutputType[P]>
301
- : Prisma.GetScalarType<T[P], CityGroupByOutputType[P]>
302
- }
303
- >
304
- >
305
-
306
-
307
-
308
- export type CityWhereInput = {
309
- AND?: Prisma.CityWhereInput | Prisma.CityWhereInput[]
310
- OR?: Prisma.CityWhereInput[]
311
- NOT?: Prisma.CityWhereInput | Prisma.CityWhereInput[]
312
- id?: Prisma.IntFilter<"City"> | number
313
- name?: Prisma.StringNullableFilter<"City"> | string | null
314
- latitude?: Prisma.DecimalNullableFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
315
- longitude?: Prisma.DecimalNullableFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
316
- wikiDataId?: Prisma.StringNullableFilter<"City"> | string | null
317
- status?: Prisma.BoolNullableFilter<"City"> | boolean | null
318
- created_at?: Prisma.DateTimeFilter<"City"> | Date | string
319
- created_by?: Prisma.IntNullableFilter<"City"> | number | null
320
- updated_at?: Prisma.DateTimeFilter<"City"> | Date | string
321
- updated_by?: Prisma.IntNullableFilter<"City"> | number | null
322
- is_deleted?: Prisma.BoolNullableFilter<"City"> | boolean | null
323
- deleted_by?: Prisma.IntNullableFilter<"City"> | number | null
324
- deleted_at?: Prisma.DateTimeNullableFilter<"City"> | Date | string | null
325
- state_id?: Prisma.IntNullableFilter<"City"> | number | null
326
- country_id?: Prisma.IntNullableFilter<"City"> | number | null
327
- state?: Prisma.XOR<Prisma.StateNullableScalarRelationFilter, Prisma.StateWhereInput> | null
328
- country?: Prisma.XOR<Prisma.CountryNullableScalarRelationFilter, Prisma.CountryWhereInput> | null
329
- locations?: Prisma.LocationListRelationFilter
330
- }
331
-
332
- export type CityOrderByWithRelationInput = {
333
- id?: Prisma.SortOrder
334
- name?: Prisma.SortOrderInput | Prisma.SortOrder
335
- latitude?: Prisma.SortOrderInput | Prisma.SortOrder
336
- longitude?: Prisma.SortOrderInput | Prisma.SortOrder
337
- wikiDataId?: Prisma.SortOrderInput | Prisma.SortOrder
338
- status?: Prisma.SortOrderInput | Prisma.SortOrder
339
- created_at?: Prisma.SortOrder
340
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
341
- updated_at?: Prisma.SortOrder
342
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
343
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
344
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
345
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
346
- state_id?: Prisma.SortOrderInput | Prisma.SortOrder
347
- country_id?: Prisma.SortOrderInput | Prisma.SortOrder
348
- state?: Prisma.StateOrderByWithRelationInput
349
- country?: Prisma.CountryOrderByWithRelationInput
350
- locations?: Prisma.LocationOrderByRelationAggregateInput
351
- }
352
-
353
- export type CityWhereUniqueInput = Prisma.AtLeast<{
354
- id?: number
355
- name_country_id_state_id?: Prisma.CityName_country_id_state_idCompoundUniqueInput
356
- AND?: Prisma.CityWhereInput | Prisma.CityWhereInput[]
357
- OR?: Prisma.CityWhereInput[]
358
- NOT?: Prisma.CityWhereInput | Prisma.CityWhereInput[]
359
- name?: Prisma.StringNullableFilter<"City"> | string | null
360
- latitude?: Prisma.DecimalNullableFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
361
- longitude?: Prisma.DecimalNullableFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
362
- wikiDataId?: Prisma.StringNullableFilter<"City"> | string | null
363
- status?: Prisma.BoolNullableFilter<"City"> | boolean | null
364
- created_at?: Prisma.DateTimeFilter<"City"> | Date | string
365
- created_by?: Prisma.IntNullableFilter<"City"> | number | null
366
- updated_at?: Prisma.DateTimeFilter<"City"> | Date | string
367
- updated_by?: Prisma.IntNullableFilter<"City"> | number | null
368
- is_deleted?: Prisma.BoolNullableFilter<"City"> | boolean | null
369
- deleted_by?: Prisma.IntNullableFilter<"City"> | number | null
370
- deleted_at?: Prisma.DateTimeNullableFilter<"City"> | Date | string | null
371
- state_id?: Prisma.IntNullableFilter<"City"> | number | null
372
- country_id?: Prisma.IntNullableFilter<"City"> | number | null
373
- state?: Prisma.XOR<Prisma.StateNullableScalarRelationFilter, Prisma.StateWhereInput> | null
374
- country?: Prisma.XOR<Prisma.CountryNullableScalarRelationFilter, Prisma.CountryWhereInput> | null
375
- locations?: Prisma.LocationListRelationFilter
376
- }, "id" | "name_country_id_state_id">
377
-
378
- export type CityOrderByWithAggregationInput = {
379
- id?: Prisma.SortOrder
380
- name?: Prisma.SortOrderInput | Prisma.SortOrder
381
- latitude?: Prisma.SortOrderInput | Prisma.SortOrder
382
- longitude?: Prisma.SortOrderInput | Prisma.SortOrder
383
- wikiDataId?: Prisma.SortOrderInput | Prisma.SortOrder
384
- status?: Prisma.SortOrderInput | Prisma.SortOrder
385
- created_at?: Prisma.SortOrder
386
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
387
- updated_at?: Prisma.SortOrder
388
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
389
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
390
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
391
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
392
- state_id?: Prisma.SortOrderInput | Prisma.SortOrder
393
- country_id?: Prisma.SortOrderInput | Prisma.SortOrder
394
- _count?: Prisma.CityCountOrderByAggregateInput
395
- _avg?: Prisma.CityAvgOrderByAggregateInput
396
- _max?: Prisma.CityMaxOrderByAggregateInput
397
- _min?: Prisma.CityMinOrderByAggregateInput
398
- _sum?: Prisma.CitySumOrderByAggregateInput
399
- }
400
-
401
- export type CityScalarWhereWithAggregatesInput = {
402
- AND?: Prisma.CityScalarWhereWithAggregatesInput | Prisma.CityScalarWhereWithAggregatesInput[]
403
- OR?: Prisma.CityScalarWhereWithAggregatesInput[]
404
- NOT?: Prisma.CityScalarWhereWithAggregatesInput | Prisma.CityScalarWhereWithAggregatesInput[]
405
- id?: Prisma.IntWithAggregatesFilter<"City"> | number
406
- name?: Prisma.StringNullableWithAggregatesFilter<"City"> | string | null
407
- latitude?: Prisma.DecimalNullableWithAggregatesFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
408
- longitude?: Prisma.DecimalNullableWithAggregatesFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
409
- wikiDataId?: Prisma.StringNullableWithAggregatesFilter<"City"> | string | null
410
- status?: Prisma.BoolNullableWithAggregatesFilter<"City"> | boolean | null
411
- created_at?: Prisma.DateTimeWithAggregatesFilter<"City"> | Date | string
412
- created_by?: Prisma.IntNullableWithAggregatesFilter<"City"> | number | null
413
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"City"> | Date | string
414
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"City"> | number | null
415
- is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"City"> | boolean | null
416
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"City"> | number | null
417
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"City"> | Date | string | null
418
- state_id?: Prisma.IntNullableWithAggregatesFilter<"City"> | number | null
419
- country_id?: Prisma.IntNullableWithAggregatesFilter<"City"> | number | null
420
- }
421
-
422
- export type CityCreateInput = {
423
- name?: string | null
424
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
425
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
426
- wikiDataId?: string | null
427
- status?: boolean | null
428
- created_at?: Date | string
429
- created_by?: number | null
430
- updated_at?: Date | string
431
- updated_by?: number | null
432
- is_deleted?: boolean | null
433
- deleted_by?: number | null
434
- deleted_at?: Date | string | null
435
- state?: Prisma.StateCreateNestedOneWithoutCitiesInput
436
- country?: Prisma.CountryCreateNestedOneWithoutCitiesInput
437
- locations?: Prisma.LocationCreateNestedManyWithoutCityInput
438
- }
439
-
440
- export type CityUncheckedCreateInput = {
441
- id?: number
442
- name?: string | null
443
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
444
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
445
- wikiDataId?: string | null
446
- status?: boolean | null
447
- created_at?: Date | string
448
- created_by?: number | null
449
- updated_at?: Date | string
450
- updated_by?: number | null
451
- is_deleted?: boolean | null
452
- deleted_by?: number | null
453
- deleted_at?: Date | string | null
454
- state_id?: number | null
455
- country_id?: number | null
456
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCityInput
457
- }
458
-
459
- export type CityUpdateInput = {
460
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
461
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
462
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
463
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
464
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
465
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
466
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
467
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
468
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
469
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
470
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
471
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
472
- state?: Prisma.StateUpdateOneWithoutCitiesNestedInput
473
- country?: Prisma.CountryUpdateOneWithoutCitiesNestedInput
474
- locations?: Prisma.LocationUpdateManyWithoutCityNestedInput
475
- }
476
-
477
- export type CityUncheckedUpdateInput = {
478
- id?: Prisma.IntFieldUpdateOperationsInput | number
479
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
480
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
481
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
482
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
483
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
484
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
485
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
486
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
487
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
488
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
489
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
490
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
491
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
492
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
493
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCityNestedInput
494
- }
495
-
496
- export type CityCreateManyInput = {
497
- id?: number
498
- name?: string | null
499
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
500
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
501
- wikiDataId?: string | null
502
- status?: boolean | null
503
- created_at?: Date | string
504
- created_by?: number | null
505
- updated_at?: Date | string
506
- updated_by?: number | null
507
- is_deleted?: boolean | null
508
- deleted_by?: number | null
509
- deleted_at?: Date | string | null
510
- state_id?: number | null
511
- country_id?: number | null
512
- }
513
-
514
- export type CityUpdateManyMutationInput = {
515
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
516
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
517
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
518
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
519
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
520
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
521
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
522
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
523
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
524
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
525
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
526
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
527
- }
528
-
529
- export type CityUncheckedUpdateManyInput = {
530
- id?: Prisma.IntFieldUpdateOperationsInput | number
531
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
532
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
533
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
534
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
535
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
536
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
537
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
538
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
539
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
540
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
541
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
542
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
543
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
544
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
545
- }
546
-
547
- export type CityListRelationFilter = {
548
- every?: Prisma.CityWhereInput
549
- some?: Prisma.CityWhereInput
550
- none?: Prisma.CityWhereInput
551
- }
552
-
553
- export type CityOrderByRelationAggregateInput = {
554
- _count?: Prisma.SortOrder
555
- }
556
-
557
- export type CityName_country_id_state_idCompoundUniqueInput = {
558
- name: string
559
- country_id: number
560
- state_id: number
561
- }
562
-
563
- export type CityCountOrderByAggregateInput = {
564
- id?: Prisma.SortOrder
565
- name?: Prisma.SortOrder
566
- latitude?: Prisma.SortOrder
567
- longitude?: Prisma.SortOrder
568
- wikiDataId?: Prisma.SortOrder
569
- status?: Prisma.SortOrder
570
- created_at?: Prisma.SortOrder
571
- created_by?: Prisma.SortOrder
572
- updated_at?: Prisma.SortOrder
573
- updated_by?: Prisma.SortOrder
574
- is_deleted?: Prisma.SortOrder
575
- deleted_by?: Prisma.SortOrder
576
- deleted_at?: Prisma.SortOrder
577
- state_id?: Prisma.SortOrder
578
- country_id?: Prisma.SortOrder
579
- }
580
-
581
- export type CityAvgOrderByAggregateInput = {
582
- id?: Prisma.SortOrder
583
- latitude?: Prisma.SortOrder
584
- longitude?: Prisma.SortOrder
585
- created_by?: Prisma.SortOrder
586
- updated_by?: Prisma.SortOrder
587
- deleted_by?: Prisma.SortOrder
588
- state_id?: Prisma.SortOrder
589
- country_id?: Prisma.SortOrder
590
- }
591
-
592
- export type CityMaxOrderByAggregateInput = {
593
- id?: Prisma.SortOrder
594
- name?: Prisma.SortOrder
595
- latitude?: Prisma.SortOrder
596
- longitude?: Prisma.SortOrder
597
- wikiDataId?: Prisma.SortOrder
598
- status?: Prisma.SortOrder
599
- created_at?: Prisma.SortOrder
600
- created_by?: Prisma.SortOrder
601
- updated_at?: Prisma.SortOrder
602
- updated_by?: Prisma.SortOrder
603
- is_deleted?: Prisma.SortOrder
604
- deleted_by?: Prisma.SortOrder
605
- deleted_at?: Prisma.SortOrder
606
- state_id?: Prisma.SortOrder
607
- country_id?: Prisma.SortOrder
608
- }
609
-
610
- export type CityMinOrderByAggregateInput = {
611
- id?: Prisma.SortOrder
612
- name?: Prisma.SortOrder
613
- latitude?: Prisma.SortOrder
614
- longitude?: Prisma.SortOrder
615
- wikiDataId?: Prisma.SortOrder
616
- status?: Prisma.SortOrder
617
- created_at?: Prisma.SortOrder
618
- created_by?: Prisma.SortOrder
619
- updated_at?: Prisma.SortOrder
620
- updated_by?: Prisma.SortOrder
621
- is_deleted?: Prisma.SortOrder
622
- deleted_by?: Prisma.SortOrder
623
- deleted_at?: Prisma.SortOrder
624
- state_id?: Prisma.SortOrder
625
- country_id?: Prisma.SortOrder
626
- }
627
-
628
- export type CitySumOrderByAggregateInput = {
629
- id?: Prisma.SortOrder
630
- latitude?: Prisma.SortOrder
631
- longitude?: Prisma.SortOrder
632
- created_by?: Prisma.SortOrder
633
- updated_by?: Prisma.SortOrder
634
- deleted_by?: Prisma.SortOrder
635
- state_id?: Prisma.SortOrder
636
- country_id?: Prisma.SortOrder
637
- }
638
-
639
- export type CityNullableScalarRelationFilter = {
640
- is?: Prisma.CityWhereInput | null
641
- isNot?: Prisma.CityWhereInput | null
642
- }
643
-
644
- export type CityCreateNestedManyWithoutCountryInput = {
645
- create?: Prisma.XOR<Prisma.CityCreateWithoutCountryInput, Prisma.CityUncheckedCreateWithoutCountryInput> | Prisma.CityCreateWithoutCountryInput[] | Prisma.CityUncheckedCreateWithoutCountryInput[]
646
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutCountryInput | Prisma.CityCreateOrConnectWithoutCountryInput[]
647
- createMany?: Prisma.CityCreateManyCountryInputEnvelope
648
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
649
- }
650
-
651
- export type CityUncheckedCreateNestedManyWithoutCountryInput = {
652
- create?: Prisma.XOR<Prisma.CityCreateWithoutCountryInput, Prisma.CityUncheckedCreateWithoutCountryInput> | Prisma.CityCreateWithoutCountryInput[] | Prisma.CityUncheckedCreateWithoutCountryInput[]
653
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutCountryInput | Prisma.CityCreateOrConnectWithoutCountryInput[]
654
- createMany?: Prisma.CityCreateManyCountryInputEnvelope
655
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
656
- }
657
-
658
- export type CityUpdateManyWithoutCountryNestedInput = {
659
- create?: Prisma.XOR<Prisma.CityCreateWithoutCountryInput, Prisma.CityUncheckedCreateWithoutCountryInput> | Prisma.CityCreateWithoutCountryInput[] | Prisma.CityUncheckedCreateWithoutCountryInput[]
660
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutCountryInput | Prisma.CityCreateOrConnectWithoutCountryInput[]
661
- upsert?: Prisma.CityUpsertWithWhereUniqueWithoutCountryInput | Prisma.CityUpsertWithWhereUniqueWithoutCountryInput[]
662
- createMany?: Prisma.CityCreateManyCountryInputEnvelope
663
- set?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
664
- disconnect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
665
- delete?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
666
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
667
- update?: Prisma.CityUpdateWithWhereUniqueWithoutCountryInput | Prisma.CityUpdateWithWhereUniqueWithoutCountryInput[]
668
- updateMany?: Prisma.CityUpdateManyWithWhereWithoutCountryInput | Prisma.CityUpdateManyWithWhereWithoutCountryInput[]
669
- deleteMany?: Prisma.CityScalarWhereInput | Prisma.CityScalarWhereInput[]
670
- }
671
-
672
- export type CityUncheckedUpdateManyWithoutCountryNestedInput = {
673
- create?: Prisma.XOR<Prisma.CityCreateWithoutCountryInput, Prisma.CityUncheckedCreateWithoutCountryInput> | Prisma.CityCreateWithoutCountryInput[] | Prisma.CityUncheckedCreateWithoutCountryInput[]
674
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutCountryInput | Prisma.CityCreateOrConnectWithoutCountryInput[]
675
- upsert?: Prisma.CityUpsertWithWhereUniqueWithoutCountryInput | Prisma.CityUpsertWithWhereUniqueWithoutCountryInput[]
676
- createMany?: Prisma.CityCreateManyCountryInputEnvelope
677
- set?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
678
- disconnect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
679
- delete?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
680
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
681
- update?: Prisma.CityUpdateWithWhereUniqueWithoutCountryInput | Prisma.CityUpdateWithWhereUniqueWithoutCountryInput[]
682
- updateMany?: Prisma.CityUpdateManyWithWhereWithoutCountryInput | Prisma.CityUpdateManyWithWhereWithoutCountryInput[]
683
- deleteMany?: Prisma.CityScalarWhereInput | Prisma.CityScalarWhereInput[]
684
- }
685
-
686
- export type CityCreateNestedManyWithoutStateInput = {
687
- create?: Prisma.XOR<Prisma.CityCreateWithoutStateInput, Prisma.CityUncheckedCreateWithoutStateInput> | Prisma.CityCreateWithoutStateInput[] | Prisma.CityUncheckedCreateWithoutStateInput[]
688
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutStateInput | Prisma.CityCreateOrConnectWithoutStateInput[]
689
- createMany?: Prisma.CityCreateManyStateInputEnvelope
690
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
691
- }
692
-
693
- export type CityUncheckedCreateNestedManyWithoutStateInput = {
694
- create?: Prisma.XOR<Prisma.CityCreateWithoutStateInput, Prisma.CityUncheckedCreateWithoutStateInput> | Prisma.CityCreateWithoutStateInput[] | Prisma.CityUncheckedCreateWithoutStateInput[]
695
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutStateInput | Prisma.CityCreateOrConnectWithoutStateInput[]
696
- createMany?: Prisma.CityCreateManyStateInputEnvelope
697
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
698
- }
699
-
700
- export type CityUpdateManyWithoutStateNestedInput = {
701
- create?: Prisma.XOR<Prisma.CityCreateWithoutStateInput, Prisma.CityUncheckedCreateWithoutStateInput> | Prisma.CityCreateWithoutStateInput[] | Prisma.CityUncheckedCreateWithoutStateInput[]
702
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutStateInput | Prisma.CityCreateOrConnectWithoutStateInput[]
703
- upsert?: Prisma.CityUpsertWithWhereUniqueWithoutStateInput | Prisma.CityUpsertWithWhereUniqueWithoutStateInput[]
704
- createMany?: Prisma.CityCreateManyStateInputEnvelope
705
- set?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
706
- disconnect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
707
- delete?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
708
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
709
- update?: Prisma.CityUpdateWithWhereUniqueWithoutStateInput | Prisma.CityUpdateWithWhereUniqueWithoutStateInput[]
710
- updateMany?: Prisma.CityUpdateManyWithWhereWithoutStateInput | Prisma.CityUpdateManyWithWhereWithoutStateInput[]
711
- deleteMany?: Prisma.CityScalarWhereInput | Prisma.CityScalarWhereInput[]
712
- }
713
-
714
- export type CityUncheckedUpdateManyWithoutStateNestedInput = {
715
- create?: Prisma.XOR<Prisma.CityCreateWithoutStateInput, Prisma.CityUncheckedCreateWithoutStateInput> | Prisma.CityCreateWithoutStateInput[] | Prisma.CityUncheckedCreateWithoutStateInput[]
716
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutStateInput | Prisma.CityCreateOrConnectWithoutStateInput[]
717
- upsert?: Prisma.CityUpsertWithWhereUniqueWithoutStateInput | Prisma.CityUpsertWithWhereUniqueWithoutStateInput[]
718
- createMany?: Prisma.CityCreateManyStateInputEnvelope
719
- set?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
720
- disconnect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
721
- delete?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
722
- connect?: Prisma.CityWhereUniqueInput | Prisma.CityWhereUniqueInput[]
723
- update?: Prisma.CityUpdateWithWhereUniqueWithoutStateInput | Prisma.CityUpdateWithWhereUniqueWithoutStateInput[]
724
- updateMany?: Prisma.CityUpdateManyWithWhereWithoutStateInput | Prisma.CityUpdateManyWithWhereWithoutStateInput[]
725
- deleteMany?: Prisma.CityScalarWhereInput | Prisma.CityScalarWhereInput[]
726
- }
727
-
728
- export type CityCreateNestedOneWithoutLocationsInput = {
729
- create?: Prisma.XOR<Prisma.CityCreateWithoutLocationsInput, Prisma.CityUncheckedCreateWithoutLocationsInput>
730
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutLocationsInput
731
- connect?: Prisma.CityWhereUniqueInput
732
- }
733
-
734
- export type CityUpdateOneWithoutLocationsNestedInput = {
735
- create?: Prisma.XOR<Prisma.CityCreateWithoutLocationsInput, Prisma.CityUncheckedCreateWithoutLocationsInput>
736
- connectOrCreate?: Prisma.CityCreateOrConnectWithoutLocationsInput
737
- upsert?: Prisma.CityUpsertWithoutLocationsInput
738
- disconnect?: Prisma.CityWhereInput | boolean
739
- delete?: Prisma.CityWhereInput | boolean
740
- connect?: Prisma.CityWhereUniqueInput
741
- update?: Prisma.XOR<Prisma.XOR<Prisma.CityUpdateToOneWithWhereWithoutLocationsInput, Prisma.CityUpdateWithoutLocationsInput>, Prisma.CityUncheckedUpdateWithoutLocationsInput>
742
- }
743
-
744
- export type CityCreateWithoutCountryInput = {
745
- name?: string | null
746
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
747
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
748
- wikiDataId?: string | null
749
- status?: boolean | null
750
- created_at?: Date | string
751
- created_by?: number | null
752
- updated_at?: Date | string
753
- updated_by?: number | null
754
- is_deleted?: boolean | null
755
- deleted_by?: number | null
756
- deleted_at?: Date | string | null
757
- state?: Prisma.StateCreateNestedOneWithoutCitiesInput
758
- locations?: Prisma.LocationCreateNestedManyWithoutCityInput
759
- }
760
-
761
- export type CityUncheckedCreateWithoutCountryInput = {
762
- id?: number
763
- name?: string | null
764
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
765
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
766
- wikiDataId?: string | null
767
- status?: boolean | null
768
- created_at?: Date | string
769
- created_by?: number | null
770
- updated_at?: Date | string
771
- updated_by?: number | null
772
- is_deleted?: boolean | null
773
- deleted_by?: number | null
774
- deleted_at?: Date | string | null
775
- state_id?: number | null
776
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCityInput
777
- }
778
-
779
- export type CityCreateOrConnectWithoutCountryInput = {
780
- where: Prisma.CityWhereUniqueInput
781
- create: Prisma.XOR<Prisma.CityCreateWithoutCountryInput, Prisma.CityUncheckedCreateWithoutCountryInput>
782
- }
783
-
784
- export type CityCreateManyCountryInputEnvelope = {
785
- data: Prisma.CityCreateManyCountryInput | Prisma.CityCreateManyCountryInput[]
786
- skipDuplicates?: boolean
787
- }
788
-
789
- export type CityUpsertWithWhereUniqueWithoutCountryInput = {
790
- where: Prisma.CityWhereUniqueInput
791
- update: Prisma.XOR<Prisma.CityUpdateWithoutCountryInput, Prisma.CityUncheckedUpdateWithoutCountryInput>
792
- create: Prisma.XOR<Prisma.CityCreateWithoutCountryInput, Prisma.CityUncheckedCreateWithoutCountryInput>
793
- }
794
-
795
- export type CityUpdateWithWhereUniqueWithoutCountryInput = {
796
- where: Prisma.CityWhereUniqueInput
797
- data: Prisma.XOR<Prisma.CityUpdateWithoutCountryInput, Prisma.CityUncheckedUpdateWithoutCountryInput>
798
- }
799
-
800
- export type CityUpdateManyWithWhereWithoutCountryInput = {
801
- where: Prisma.CityScalarWhereInput
802
- data: Prisma.XOR<Prisma.CityUpdateManyMutationInput, Prisma.CityUncheckedUpdateManyWithoutCountryInput>
803
- }
804
-
805
- export type CityScalarWhereInput = {
806
- AND?: Prisma.CityScalarWhereInput | Prisma.CityScalarWhereInput[]
807
- OR?: Prisma.CityScalarWhereInput[]
808
- NOT?: Prisma.CityScalarWhereInput | Prisma.CityScalarWhereInput[]
809
- id?: Prisma.IntFilter<"City"> | number
810
- name?: Prisma.StringNullableFilter<"City"> | string | null
811
- latitude?: Prisma.DecimalNullableFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
812
- longitude?: Prisma.DecimalNullableFilter<"City"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
813
- wikiDataId?: Prisma.StringNullableFilter<"City"> | string | null
814
- status?: Prisma.BoolNullableFilter<"City"> | boolean | null
815
- created_at?: Prisma.DateTimeFilter<"City"> | Date | string
816
- created_by?: Prisma.IntNullableFilter<"City"> | number | null
817
- updated_at?: Prisma.DateTimeFilter<"City"> | Date | string
818
- updated_by?: Prisma.IntNullableFilter<"City"> | number | null
819
- is_deleted?: Prisma.BoolNullableFilter<"City"> | boolean | null
820
- deleted_by?: Prisma.IntNullableFilter<"City"> | number | null
821
- deleted_at?: Prisma.DateTimeNullableFilter<"City"> | Date | string | null
822
- state_id?: Prisma.IntNullableFilter<"City"> | number | null
823
- country_id?: Prisma.IntNullableFilter<"City"> | number | null
824
- }
825
-
826
- export type CityCreateWithoutStateInput = {
827
- name?: string | null
828
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
829
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
830
- wikiDataId?: string | null
831
- status?: boolean | null
832
- created_at?: Date | string
833
- created_by?: number | null
834
- updated_at?: Date | string
835
- updated_by?: number | null
836
- is_deleted?: boolean | null
837
- deleted_by?: number | null
838
- deleted_at?: Date | string | null
839
- country?: Prisma.CountryCreateNestedOneWithoutCitiesInput
840
- locations?: Prisma.LocationCreateNestedManyWithoutCityInput
841
- }
842
-
843
- export type CityUncheckedCreateWithoutStateInput = {
844
- id?: number
845
- name?: string | null
846
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
847
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
848
- wikiDataId?: string | null
849
- status?: boolean | null
850
- created_at?: Date | string
851
- created_by?: number | null
852
- updated_at?: Date | string
853
- updated_by?: number | null
854
- is_deleted?: boolean | null
855
- deleted_by?: number | null
856
- deleted_at?: Date | string | null
857
- country_id?: number | null
858
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCityInput
859
- }
860
-
861
- export type CityCreateOrConnectWithoutStateInput = {
862
- where: Prisma.CityWhereUniqueInput
863
- create: Prisma.XOR<Prisma.CityCreateWithoutStateInput, Prisma.CityUncheckedCreateWithoutStateInput>
864
- }
865
-
866
- export type CityCreateManyStateInputEnvelope = {
867
- data: Prisma.CityCreateManyStateInput | Prisma.CityCreateManyStateInput[]
868
- skipDuplicates?: boolean
869
- }
870
-
871
- export type CityUpsertWithWhereUniqueWithoutStateInput = {
872
- where: Prisma.CityWhereUniqueInput
873
- update: Prisma.XOR<Prisma.CityUpdateWithoutStateInput, Prisma.CityUncheckedUpdateWithoutStateInput>
874
- create: Prisma.XOR<Prisma.CityCreateWithoutStateInput, Prisma.CityUncheckedCreateWithoutStateInput>
875
- }
876
-
877
- export type CityUpdateWithWhereUniqueWithoutStateInput = {
878
- where: Prisma.CityWhereUniqueInput
879
- data: Prisma.XOR<Prisma.CityUpdateWithoutStateInput, Prisma.CityUncheckedUpdateWithoutStateInput>
880
- }
881
-
882
- export type CityUpdateManyWithWhereWithoutStateInput = {
883
- where: Prisma.CityScalarWhereInput
884
- data: Prisma.XOR<Prisma.CityUpdateManyMutationInput, Prisma.CityUncheckedUpdateManyWithoutStateInput>
885
- }
886
-
887
- export type CityCreateWithoutLocationsInput = {
888
- name?: string | null
889
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
890
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
891
- wikiDataId?: string | null
892
- status?: boolean | null
893
- created_at?: Date | string
894
- created_by?: number | null
895
- updated_at?: Date | string
896
- updated_by?: number | null
897
- is_deleted?: boolean | null
898
- deleted_by?: number | null
899
- deleted_at?: Date | string | null
900
- state?: Prisma.StateCreateNestedOneWithoutCitiesInput
901
- country?: Prisma.CountryCreateNestedOneWithoutCitiesInput
902
- }
903
-
904
- export type CityUncheckedCreateWithoutLocationsInput = {
905
- id?: number
906
- name?: string | null
907
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
908
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
909
- wikiDataId?: string | null
910
- status?: boolean | null
911
- created_at?: Date | string
912
- created_by?: number | null
913
- updated_at?: Date | string
914
- updated_by?: number | null
915
- is_deleted?: boolean | null
916
- deleted_by?: number | null
917
- deleted_at?: Date | string | null
918
- state_id?: number | null
919
- country_id?: number | null
920
- }
921
-
922
- export type CityCreateOrConnectWithoutLocationsInput = {
923
- where: Prisma.CityWhereUniqueInput
924
- create: Prisma.XOR<Prisma.CityCreateWithoutLocationsInput, Prisma.CityUncheckedCreateWithoutLocationsInput>
925
- }
926
-
927
- export type CityUpsertWithoutLocationsInput = {
928
- update: Prisma.XOR<Prisma.CityUpdateWithoutLocationsInput, Prisma.CityUncheckedUpdateWithoutLocationsInput>
929
- create: Prisma.XOR<Prisma.CityCreateWithoutLocationsInput, Prisma.CityUncheckedCreateWithoutLocationsInput>
930
- where?: Prisma.CityWhereInput
931
- }
932
-
933
- export type CityUpdateToOneWithWhereWithoutLocationsInput = {
934
- where?: Prisma.CityWhereInput
935
- data: Prisma.XOR<Prisma.CityUpdateWithoutLocationsInput, Prisma.CityUncheckedUpdateWithoutLocationsInput>
936
- }
937
-
938
- export type CityUpdateWithoutLocationsInput = {
939
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
940
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
941
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
942
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
943
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
944
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
945
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
946
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
947
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
948
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
949
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
950
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
951
- state?: Prisma.StateUpdateOneWithoutCitiesNestedInput
952
- country?: Prisma.CountryUpdateOneWithoutCitiesNestedInput
953
- }
954
-
955
- export type CityUncheckedUpdateWithoutLocationsInput = {
956
- id?: Prisma.IntFieldUpdateOperationsInput | number
957
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
958
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
959
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
960
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
961
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
962
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
963
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
964
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
965
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
966
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
967
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
968
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
969
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
970
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
971
- }
972
-
973
- export type CityCreateManyCountryInput = {
974
- id?: number
975
- name?: string | null
976
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
977
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
978
- wikiDataId?: string | null
979
- status?: boolean | null
980
- created_at?: Date | string
981
- created_by?: number | null
982
- updated_at?: Date | string
983
- updated_by?: number | null
984
- is_deleted?: boolean | null
985
- deleted_by?: number | null
986
- deleted_at?: Date | string | null
987
- state_id?: number | null
988
- }
989
-
990
- export type CityUpdateWithoutCountryInput = {
991
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
992
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
993
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
994
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
995
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
996
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
997
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
998
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
999
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1000
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1001
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1002
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1003
- state?: Prisma.StateUpdateOneWithoutCitiesNestedInput
1004
- locations?: Prisma.LocationUpdateManyWithoutCityNestedInput
1005
- }
1006
-
1007
- export type CityUncheckedUpdateWithoutCountryInput = {
1008
- id?: Prisma.IntFieldUpdateOperationsInput | number
1009
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1010
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1011
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1012
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1013
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1014
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1015
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1016
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1017
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1018
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1019
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1020
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1021
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1022
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCityNestedInput
1023
- }
1024
-
1025
- export type CityUncheckedUpdateManyWithoutCountryInput = {
1026
- id?: Prisma.IntFieldUpdateOperationsInput | number
1027
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1028
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1029
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1030
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1031
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1032
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1033
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1034
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1035
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1036
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1037
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1038
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1039
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1040
- }
1041
-
1042
- export type CityCreateManyStateInput = {
1043
- id?: number
1044
- name?: string | null
1045
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1046
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1047
- wikiDataId?: string | null
1048
- status?: boolean | null
1049
- created_at?: Date | string
1050
- created_by?: number | null
1051
- updated_at?: Date | string
1052
- updated_by?: number | null
1053
- is_deleted?: boolean | null
1054
- deleted_by?: number | null
1055
- deleted_at?: Date | string | null
1056
- country_id?: number | null
1057
- }
1058
-
1059
- export type CityUpdateWithoutStateInput = {
1060
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1061
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1062
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1063
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1064
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1065
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1066
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1067
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1068
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1069
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1070
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1071
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1072
- country?: Prisma.CountryUpdateOneWithoutCitiesNestedInput
1073
- locations?: Prisma.LocationUpdateManyWithoutCityNestedInput
1074
- }
1075
-
1076
- export type CityUncheckedUpdateWithoutStateInput = {
1077
- id?: Prisma.IntFieldUpdateOperationsInput | number
1078
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1079
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1080
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1081
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1082
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1083
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1084
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1085
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1086
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1087
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1088
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1089
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1090
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1091
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCityNestedInput
1092
- }
1093
-
1094
- export type CityUncheckedUpdateManyWithoutStateInput = {
1095
- id?: Prisma.IntFieldUpdateOperationsInput | number
1096
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1097
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1098
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1099
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1100
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1101
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1102
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1103
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1104
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1105
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1106
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1107
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1108
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1109
- }
1110
-
1111
-
1112
- /**
1113
- * Count Type CityCountOutputType
1114
- */
1115
-
1116
- export type CityCountOutputType = {
1117
- locations: number
1118
- }
1119
-
1120
- export type CityCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1121
- locations?: boolean | CityCountOutputTypeCountLocationsArgs
1122
- }
1123
-
1124
- /**
1125
- * CityCountOutputType without action
1126
- */
1127
- export type CityCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1128
- /**
1129
- * Select specific fields to fetch from the CityCountOutputType
1130
- */
1131
- select?: Prisma.CityCountOutputTypeSelect<ExtArgs> | null
1132
- }
1133
-
1134
- /**
1135
- * CityCountOutputType without action
1136
- */
1137
- export type CityCountOutputTypeCountLocationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1138
- where?: Prisma.LocationWhereInput
1139
- }
1140
-
1141
-
1142
- export type CitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1143
- id?: boolean
1144
- name?: boolean
1145
- latitude?: boolean
1146
- longitude?: boolean
1147
- wikiDataId?: boolean
1148
- status?: boolean
1149
- created_at?: boolean
1150
- created_by?: boolean
1151
- updated_at?: boolean
1152
- updated_by?: boolean
1153
- is_deleted?: boolean
1154
- deleted_by?: boolean
1155
- deleted_at?: boolean
1156
- state_id?: boolean
1157
- country_id?: boolean
1158
- state?: boolean | Prisma.City$stateArgs<ExtArgs>
1159
- country?: boolean | Prisma.City$countryArgs<ExtArgs>
1160
- locations?: boolean | Prisma.City$locationsArgs<ExtArgs>
1161
- _count?: boolean | Prisma.CityCountOutputTypeDefaultArgs<ExtArgs>
1162
- }, ExtArgs["result"]["city"]>
1163
-
1164
- export type CitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1165
- id?: boolean
1166
- name?: boolean
1167
- latitude?: boolean
1168
- longitude?: boolean
1169
- wikiDataId?: boolean
1170
- status?: boolean
1171
- created_at?: boolean
1172
- created_by?: boolean
1173
- updated_at?: boolean
1174
- updated_by?: boolean
1175
- is_deleted?: boolean
1176
- deleted_by?: boolean
1177
- deleted_at?: boolean
1178
- state_id?: boolean
1179
- country_id?: boolean
1180
- state?: boolean | Prisma.City$stateArgs<ExtArgs>
1181
- country?: boolean | Prisma.City$countryArgs<ExtArgs>
1182
- }, ExtArgs["result"]["city"]>
1183
-
1184
- export type CitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1185
- id?: boolean
1186
- name?: boolean
1187
- latitude?: boolean
1188
- longitude?: boolean
1189
- wikiDataId?: boolean
1190
- status?: boolean
1191
- created_at?: boolean
1192
- created_by?: boolean
1193
- updated_at?: boolean
1194
- updated_by?: boolean
1195
- is_deleted?: boolean
1196
- deleted_by?: boolean
1197
- deleted_at?: boolean
1198
- state_id?: boolean
1199
- country_id?: boolean
1200
- state?: boolean | Prisma.City$stateArgs<ExtArgs>
1201
- country?: boolean | Prisma.City$countryArgs<ExtArgs>
1202
- }, ExtArgs["result"]["city"]>
1203
-
1204
- export type CitySelectScalar = {
1205
- id?: boolean
1206
- name?: boolean
1207
- latitude?: boolean
1208
- longitude?: boolean
1209
- wikiDataId?: boolean
1210
- status?: boolean
1211
- created_at?: boolean
1212
- created_by?: boolean
1213
- updated_at?: boolean
1214
- updated_by?: boolean
1215
- is_deleted?: boolean
1216
- deleted_by?: boolean
1217
- deleted_at?: boolean
1218
- state_id?: boolean
1219
- country_id?: boolean
1220
- }
1221
-
1222
- export type CityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "latitude" | "longitude" | "wikiDataId" | "status" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_by" | "deleted_at" | "state_id" | "country_id", ExtArgs["result"]["city"]>
1223
- export type CityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1224
- state?: boolean | Prisma.City$stateArgs<ExtArgs>
1225
- country?: boolean | Prisma.City$countryArgs<ExtArgs>
1226
- locations?: boolean | Prisma.City$locationsArgs<ExtArgs>
1227
- _count?: boolean | Prisma.CityCountOutputTypeDefaultArgs<ExtArgs>
1228
- }
1229
- export type CityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1230
- state?: boolean | Prisma.City$stateArgs<ExtArgs>
1231
- country?: boolean | Prisma.City$countryArgs<ExtArgs>
1232
- }
1233
- export type CityIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1234
- state?: boolean | Prisma.City$stateArgs<ExtArgs>
1235
- country?: boolean | Prisma.City$countryArgs<ExtArgs>
1236
- }
1237
-
1238
- export type $CityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1239
- name: "City"
1240
- objects: {
1241
- state: Prisma.$StatePayload<ExtArgs> | null
1242
- country: Prisma.$CountryPayload<ExtArgs> | null
1243
- locations: Prisma.$LocationPayload<ExtArgs>[]
1244
- }
1245
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1246
- id: number
1247
- name: string | null
1248
- latitude: runtime.Decimal | null
1249
- longitude: runtime.Decimal | null
1250
- wikiDataId: string | null
1251
- status: boolean | null
1252
- created_at: Date
1253
- created_by: number | null
1254
- updated_at: Date
1255
- updated_by: number | null
1256
- is_deleted: boolean | null
1257
- deleted_by: number | null
1258
- deleted_at: Date | null
1259
- state_id: number | null
1260
- country_id: number | null
1261
- }, ExtArgs["result"]["city"]>
1262
- composites: {}
1263
- }
1264
-
1265
- export type CityGetPayload<S extends boolean | null | undefined | CityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CityPayload, S>
1266
-
1267
- export type CityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1268
- Omit<CityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1269
- select?: CityCountAggregateInputType | true
1270
- }
1271
-
1272
- export interface CityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1273
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['City'], meta: { name: 'City' } }
1274
- /**
1275
- * Find zero or one City that matches the filter.
1276
- * @param {CityFindUniqueArgs} args - Arguments to find a City
1277
- * @example
1278
- * // Get one City
1279
- * const city = await prisma.city.findUnique({
1280
- * where: {
1281
- * // ... provide filter here
1282
- * }
1283
- * })
1284
- */
1285
- findUnique<T extends CityFindUniqueArgs>(args: Prisma.SelectSubset<T, CityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1286
-
1287
- /**
1288
- * Find one City that matches the filter or throw an error with `error.code='P2025'`
1289
- * if no matches were found.
1290
- * @param {CityFindUniqueOrThrowArgs} args - Arguments to find a City
1291
- * @example
1292
- * // Get one City
1293
- * const city = await prisma.city.findUniqueOrThrow({
1294
- * where: {
1295
- * // ... provide filter here
1296
- * }
1297
- * })
1298
- */
1299
- findUniqueOrThrow<T extends CityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1300
-
1301
- /**
1302
- * Find the first City that matches the filter.
1303
- * Note, that providing `undefined` is treated as the value not being there.
1304
- * Read more here: https://pris.ly/d/null-undefined
1305
- * @param {CityFindFirstArgs} args - Arguments to find a City
1306
- * @example
1307
- * // Get one City
1308
- * const city = await prisma.city.findFirst({
1309
- * where: {
1310
- * // ... provide filter here
1311
- * }
1312
- * })
1313
- */
1314
- findFirst<T extends CityFindFirstArgs>(args?: Prisma.SelectSubset<T, CityFindFirstArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1315
-
1316
- /**
1317
- * Find the first City that matches the filter or
1318
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1319
- * Note, that providing `undefined` is treated as the value not being there.
1320
- * Read more here: https://pris.ly/d/null-undefined
1321
- * @param {CityFindFirstOrThrowArgs} args - Arguments to find a City
1322
- * @example
1323
- * // Get one City
1324
- * const city = await prisma.city.findFirstOrThrow({
1325
- * where: {
1326
- * // ... provide filter here
1327
- * }
1328
- * })
1329
- */
1330
- findFirstOrThrow<T extends CityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1331
-
1332
- /**
1333
- * Find zero or more Cities that matches the filter.
1334
- * Note, that providing `undefined` is treated as the value not being there.
1335
- * Read more here: https://pris.ly/d/null-undefined
1336
- * @param {CityFindManyArgs} args - Arguments to filter and select certain fields only.
1337
- * @example
1338
- * // Get all Cities
1339
- * const cities = await prisma.city.findMany()
1340
- *
1341
- * // Get first 10 Cities
1342
- * const cities = await prisma.city.findMany({ take: 10 })
1343
- *
1344
- * // Only select the `id`
1345
- * const cityWithIdOnly = await prisma.city.findMany({ select: { id: true } })
1346
- *
1347
- */
1348
- findMany<T extends CityFindManyArgs>(args?: Prisma.SelectSubset<T, CityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1349
-
1350
- /**
1351
- * Create a City.
1352
- * @param {CityCreateArgs} args - Arguments to create a City.
1353
- * @example
1354
- * // Create one City
1355
- * const City = await prisma.city.create({
1356
- * data: {
1357
- * // ... data to create a City
1358
- * }
1359
- * })
1360
- *
1361
- */
1362
- create<T extends CityCreateArgs>(args: Prisma.SelectSubset<T, CityCreateArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1363
-
1364
- /**
1365
- * Create many Cities.
1366
- * @param {CityCreateManyArgs} args - Arguments to create many Cities.
1367
- * @example
1368
- * // Create many Cities
1369
- * const city = await prisma.city.createMany({
1370
- * data: [
1371
- * // ... provide data here
1372
- * ]
1373
- * })
1374
- *
1375
- */
1376
- createMany<T extends CityCreateManyArgs>(args?: Prisma.SelectSubset<T, CityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1377
-
1378
- /**
1379
- * Create many Cities and returns the data saved in the database.
1380
- * @param {CityCreateManyAndReturnArgs} args - Arguments to create many Cities.
1381
- * @example
1382
- * // Create many Cities
1383
- * const city = await prisma.city.createManyAndReturn({
1384
- * data: [
1385
- * // ... provide data here
1386
- * ]
1387
- * })
1388
- *
1389
- * // Create many Cities and only return the `id`
1390
- * const cityWithIdOnly = await prisma.city.createManyAndReturn({
1391
- * select: { id: true },
1392
- * data: [
1393
- * // ... provide data here
1394
- * ]
1395
- * })
1396
- * Note, that providing `undefined` is treated as the value not being there.
1397
- * Read more here: https://pris.ly/d/null-undefined
1398
- *
1399
- */
1400
- createManyAndReturn<T extends CityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1401
-
1402
- /**
1403
- * Delete a City.
1404
- * @param {CityDeleteArgs} args - Arguments to delete one City.
1405
- * @example
1406
- * // Delete one City
1407
- * const City = await prisma.city.delete({
1408
- * where: {
1409
- * // ... filter to delete one City
1410
- * }
1411
- * })
1412
- *
1413
- */
1414
- delete<T extends CityDeleteArgs>(args: Prisma.SelectSubset<T, CityDeleteArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1415
-
1416
- /**
1417
- * Update one City.
1418
- * @param {CityUpdateArgs} args - Arguments to update one City.
1419
- * @example
1420
- * // Update one City
1421
- * const city = await prisma.city.update({
1422
- * where: {
1423
- * // ... provide filter here
1424
- * },
1425
- * data: {
1426
- * // ... provide data here
1427
- * }
1428
- * })
1429
- *
1430
- */
1431
- update<T extends CityUpdateArgs>(args: Prisma.SelectSubset<T, CityUpdateArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1432
-
1433
- /**
1434
- * Delete zero or more Cities.
1435
- * @param {CityDeleteManyArgs} args - Arguments to filter Cities to delete.
1436
- * @example
1437
- * // Delete a few Cities
1438
- * const { count } = await prisma.city.deleteMany({
1439
- * where: {
1440
- * // ... provide filter here
1441
- * }
1442
- * })
1443
- *
1444
- */
1445
- deleteMany<T extends CityDeleteManyArgs>(args?: Prisma.SelectSubset<T, CityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1446
-
1447
- /**
1448
- * Update zero or more Cities.
1449
- * Note, that providing `undefined` is treated as the value not being there.
1450
- * Read more here: https://pris.ly/d/null-undefined
1451
- * @param {CityUpdateManyArgs} args - Arguments to update one or more rows.
1452
- * @example
1453
- * // Update many Cities
1454
- * const city = await prisma.city.updateMany({
1455
- * where: {
1456
- * // ... provide filter here
1457
- * },
1458
- * data: {
1459
- * // ... provide data here
1460
- * }
1461
- * })
1462
- *
1463
- */
1464
- updateMany<T extends CityUpdateManyArgs>(args: Prisma.SelectSubset<T, CityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1465
-
1466
- /**
1467
- * Update zero or more Cities and returns the data updated in the database.
1468
- * @param {CityUpdateManyAndReturnArgs} args - Arguments to update many Cities.
1469
- * @example
1470
- * // Update many Cities
1471
- * const city = await prisma.city.updateManyAndReturn({
1472
- * where: {
1473
- * // ... provide filter here
1474
- * },
1475
- * data: [
1476
- * // ... provide data here
1477
- * ]
1478
- * })
1479
- *
1480
- * // Update zero or more Cities and only return the `id`
1481
- * const cityWithIdOnly = await prisma.city.updateManyAndReturn({
1482
- * select: { id: true },
1483
- * where: {
1484
- * // ... provide filter here
1485
- * },
1486
- * data: [
1487
- * // ... provide data here
1488
- * ]
1489
- * })
1490
- * Note, that providing `undefined` is treated as the value not being there.
1491
- * Read more here: https://pris.ly/d/null-undefined
1492
- *
1493
- */
1494
- updateManyAndReturn<T extends CityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1495
-
1496
- /**
1497
- * Create or update one City.
1498
- * @param {CityUpsertArgs} args - Arguments to update or create a City.
1499
- * @example
1500
- * // Update or create a City
1501
- * const city = await prisma.city.upsert({
1502
- * create: {
1503
- * // ... data to create a City
1504
- * },
1505
- * update: {
1506
- * // ... in case it already exists, update
1507
- * },
1508
- * where: {
1509
- * // ... the filter for the City we want to update
1510
- * }
1511
- * })
1512
- */
1513
- upsert<T extends CityUpsertArgs>(args: Prisma.SelectSubset<T, CityUpsertArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1514
-
1515
-
1516
- /**
1517
- * Count the number of Cities.
1518
- * Note, that providing `undefined` is treated as the value not being there.
1519
- * Read more here: https://pris.ly/d/null-undefined
1520
- * @param {CityCountArgs} args - Arguments to filter Cities to count.
1521
- * @example
1522
- * // Count the number of Cities
1523
- * const count = await prisma.city.count({
1524
- * where: {
1525
- * // ... the filter for the Cities we want to count
1526
- * }
1527
- * })
1528
- **/
1529
- count<T extends CityCountArgs>(
1530
- args?: Prisma.Subset<T, CityCountArgs>,
1531
- ): Prisma.PrismaPromise<
1532
- T extends runtime.Types.Utils.Record<'select', any>
1533
- ? T['select'] extends true
1534
- ? number
1535
- : Prisma.GetScalarType<T['select'], CityCountAggregateOutputType>
1536
- : number
1537
- >
1538
-
1539
- /**
1540
- * Allows you to perform aggregations operations on a City.
1541
- * Note, that providing `undefined` is treated as the value not being there.
1542
- * Read more here: https://pris.ly/d/null-undefined
1543
- * @param {CityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1544
- * @example
1545
- * // Ordered by age ascending
1546
- * // Where email contains prisma.io
1547
- * // Limited to the 10 users
1548
- * const aggregations = await prisma.user.aggregate({
1549
- * _avg: {
1550
- * age: true,
1551
- * },
1552
- * where: {
1553
- * email: {
1554
- * contains: "prisma.io",
1555
- * },
1556
- * },
1557
- * orderBy: {
1558
- * age: "asc",
1559
- * },
1560
- * take: 10,
1561
- * })
1562
- **/
1563
- aggregate<T extends CityAggregateArgs>(args: Prisma.Subset<T, CityAggregateArgs>): Prisma.PrismaPromise<GetCityAggregateType<T>>
1564
-
1565
- /**
1566
- * Group by City.
1567
- * Note, that providing `undefined` is treated as the value not being there.
1568
- * Read more here: https://pris.ly/d/null-undefined
1569
- * @param {CityGroupByArgs} args - Group by arguments.
1570
- * @example
1571
- * // Group by city, order by createdAt, get count
1572
- * const result = await prisma.user.groupBy({
1573
- * by: ['city', 'createdAt'],
1574
- * orderBy: {
1575
- * createdAt: true
1576
- * },
1577
- * _count: {
1578
- * _all: true
1579
- * },
1580
- * })
1581
- *
1582
- **/
1583
- groupBy<
1584
- T extends CityGroupByArgs,
1585
- HasSelectOrTake extends Prisma.Or<
1586
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1587
- Prisma.Extends<'take', Prisma.Keys<T>>
1588
- >,
1589
- OrderByArg extends Prisma.True extends HasSelectOrTake
1590
- ? { orderBy: CityGroupByArgs['orderBy'] }
1591
- : { orderBy?: CityGroupByArgs['orderBy'] },
1592
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1593
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1594
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1595
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1596
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1597
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1598
- InputErrors extends ByEmpty extends Prisma.True
1599
- ? `Error: "by" must not be empty.`
1600
- : HavingValid extends Prisma.False
1601
- ? {
1602
- [P in HavingFields]: P extends ByFields
1603
- ? never
1604
- : P extends string
1605
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1606
- : [
1607
- Error,
1608
- 'Field ',
1609
- P,
1610
- ` in "having" needs to be provided in "by"`,
1611
- ]
1612
- }[HavingFields]
1613
- : 'take' extends Prisma.Keys<T>
1614
- ? 'orderBy' extends Prisma.Keys<T>
1615
- ? ByValid extends Prisma.True
1616
- ? {}
1617
- : {
1618
- [P in OrderFields]: P extends ByFields
1619
- ? never
1620
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1621
- }[OrderFields]
1622
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1623
- : 'skip' extends Prisma.Keys<T>
1624
- ? 'orderBy' extends Prisma.Keys<T>
1625
- ? ByValid extends Prisma.True
1626
- ? {}
1627
- : {
1628
- [P in OrderFields]: P extends ByFields
1629
- ? never
1630
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1631
- }[OrderFields]
1632
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1633
- : ByValid extends Prisma.True
1634
- ? {}
1635
- : {
1636
- [P in OrderFields]: P extends ByFields
1637
- ? never
1638
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1639
- }[OrderFields]
1640
- >(args: Prisma.SubsetIntersection<T, CityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1641
- /**
1642
- * Fields of the City model
1643
- */
1644
- readonly fields: CityFieldRefs;
1645
- }
1646
-
1647
- /**
1648
- * The delegate class that acts as a "Promise-like" for City.
1649
- * Why is this prefixed with `Prisma__`?
1650
- * Because we want to prevent naming conflicts as mentioned in
1651
- * https://github.com/prisma/prisma-client-js/issues/707
1652
- */
1653
- export interface Prisma__CityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1654
- readonly [Symbol.toStringTag]: "PrismaPromise"
1655
- state<T extends Prisma.City$stateArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.City$stateArgs<ExtArgs>>): Prisma.Prisma__StateClient<runtime.Types.Result.GetResult<Prisma.$StatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1656
- country<T extends Prisma.City$countryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.City$countryArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1657
- locations<T extends Prisma.City$locationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.City$locationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1658
- /**
1659
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1660
- * @param onfulfilled The callback to execute when the Promise is resolved.
1661
- * @param onrejected The callback to execute when the Promise is rejected.
1662
- * @returns A Promise for the completion of which ever callback is executed.
1663
- */
1664
- 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>
1665
- /**
1666
- * Attaches a callback for only the rejection of the Promise.
1667
- * @param onrejected The callback to execute when the Promise is rejected.
1668
- * @returns A Promise for the completion of the callback.
1669
- */
1670
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1671
- /**
1672
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1673
- * resolved value cannot be modified from the callback.
1674
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1675
- * @returns A Promise for the completion of the callback.
1676
- */
1677
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1678
- }
1679
-
1680
-
1681
-
1682
-
1683
- /**
1684
- * Fields of the City model
1685
- */
1686
- export interface CityFieldRefs {
1687
- readonly id: Prisma.FieldRef<"City", 'Int'>
1688
- readonly name: Prisma.FieldRef<"City", 'String'>
1689
- readonly latitude: Prisma.FieldRef<"City", 'Decimal'>
1690
- readonly longitude: Prisma.FieldRef<"City", 'Decimal'>
1691
- readonly wikiDataId: Prisma.FieldRef<"City", 'String'>
1692
- readonly status: Prisma.FieldRef<"City", 'Boolean'>
1693
- readonly created_at: Prisma.FieldRef<"City", 'DateTime'>
1694
- readonly created_by: Prisma.FieldRef<"City", 'Int'>
1695
- readonly updated_at: Prisma.FieldRef<"City", 'DateTime'>
1696
- readonly updated_by: Prisma.FieldRef<"City", 'Int'>
1697
- readonly is_deleted: Prisma.FieldRef<"City", 'Boolean'>
1698
- readonly deleted_by: Prisma.FieldRef<"City", 'Int'>
1699
- readonly deleted_at: Prisma.FieldRef<"City", 'DateTime'>
1700
- readonly state_id: Prisma.FieldRef<"City", 'Int'>
1701
- readonly country_id: Prisma.FieldRef<"City", 'Int'>
1702
- }
1703
-
1704
-
1705
- // Custom InputTypes
1706
- /**
1707
- * City findUnique
1708
- */
1709
- export type CityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1710
- /**
1711
- * Select specific fields to fetch from the City
1712
- */
1713
- select?: Prisma.CitySelect<ExtArgs> | null
1714
- /**
1715
- * Omit specific fields from the City
1716
- */
1717
- omit?: Prisma.CityOmit<ExtArgs> | null
1718
- /**
1719
- * Choose, which related nodes to fetch as well
1720
- */
1721
- include?: Prisma.CityInclude<ExtArgs> | null
1722
- /**
1723
- * Filter, which City to fetch.
1724
- */
1725
- where: Prisma.CityWhereUniqueInput
1726
- }
1727
-
1728
- /**
1729
- * City findUniqueOrThrow
1730
- */
1731
- export type CityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1732
- /**
1733
- * Select specific fields to fetch from the City
1734
- */
1735
- select?: Prisma.CitySelect<ExtArgs> | null
1736
- /**
1737
- * Omit specific fields from the City
1738
- */
1739
- omit?: Prisma.CityOmit<ExtArgs> | null
1740
- /**
1741
- * Choose, which related nodes to fetch as well
1742
- */
1743
- include?: Prisma.CityInclude<ExtArgs> | null
1744
- /**
1745
- * Filter, which City to fetch.
1746
- */
1747
- where: Prisma.CityWhereUniqueInput
1748
- }
1749
-
1750
- /**
1751
- * City findFirst
1752
- */
1753
- export type CityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1754
- /**
1755
- * Select specific fields to fetch from the City
1756
- */
1757
- select?: Prisma.CitySelect<ExtArgs> | null
1758
- /**
1759
- * Omit specific fields from the City
1760
- */
1761
- omit?: Prisma.CityOmit<ExtArgs> | null
1762
- /**
1763
- * Choose, which related nodes to fetch as well
1764
- */
1765
- include?: Prisma.CityInclude<ExtArgs> | null
1766
- /**
1767
- * Filter, which City to fetch.
1768
- */
1769
- where?: Prisma.CityWhereInput
1770
- /**
1771
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1772
- *
1773
- * Determine the order of Cities to fetch.
1774
- */
1775
- orderBy?: Prisma.CityOrderByWithRelationInput | Prisma.CityOrderByWithRelationInput[]
1776
- /**
1777
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1778
- *
1779
- * Sets the position for searching for Cities.
1780
- */
1781
- cursor?: Prisma.CityWhereUniqueInput
1782
- /**
1783
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1784
- *
1785
- * Take `±n` Cities from the position of the cursor.
1786
- */
1787
- take?: number
1788
- /**
1789
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1790
- *
1791
- * Skip the first `n` Cities.
1792
- */
1793
- skip?: number
1794
- /**
1795
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1796
- *
1797
- * Filter by unique combinations of Cities.
1798
- */
1799
- distinct?: Prisma.CityScalarFieldEnum | Prisma.CityScalarFieldEnum[]
1800
- }
1801
-
1802
- /**
1803
- * City findFirstOrThrow
1804
- */
1805
- export type CityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1806
- /**
1807
- * Select specific fields to fetch from the City
1808
- */
1809
- select?: Prisma.CitySelect<ExtArgs> | null
1810
- /**
1811
- * Omit specific fields from the City
1812
- */
1813
- omit?: Prisma.CityOmit<ExtArgs> | null
1814
- /**
1815
- * Choose, which related nodes to fetch as well
1816
- */
1817
- include?: Prisma.CityInclude<ExtArgs> | null
1818
- /**
1819
- * Filter, which City to fetch.
1820
- */
1821
- where?: Prisma.CityWhereInput
1822
- /**
1823
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1824
- *
1825
- * Determine the order of Cities to fetch.
1826
- */
1827
- orderBy?: Prisma.CityOrderByWithRelationInput | Prisma.CityOrderByWithRelationInput[]
1828
- /**
1829
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1830
- *
1831
- * Sets the position for searching for Cities.
1832
- */
1833
- cursor?: Prisma.CityWhereUniqueInput
1834
- /**
1835
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1836
- *
1837
- * Take `±n` Cities from the position of the cursor.
1838
- */
1839
- take?: number
1840
- /**
1841
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1842
- *
1843
- * Skip the first `n` Cities.
1844
- */
1845
- skip?: number
1846
- /**
1847
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1848
- *
1849
- * Filter by unique combinations of Cities.
1850
- */
1851
- distinct?: Prisma.CityScalarFieldEnum | Prisma.CityScalarFieldEnum[]
1852
- }
1853
-
1854
- /**
1855
- * City findMany
1856
- */
1857
- export type CityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1858
- /**
1859
- * Select specific fields to fetch from the City
1860
- */
1861
- select?: Prisma.CitySelect<ExtArgs> | null
1862
- /**
1863
- * Omit specific fields from the City
1864
- */
1865
- omit?: Prisma.CityOmit<ExtArgs> | null
1866
- /**
1867
- * Choose, which related nodes to fetch as well
1868
- */
1869
- include?: Prisma.CityInclude<ExtArgs> | null
1870
- /**
1871
- * Filter, which Cities to fetch.
1872
- */
1873
- where?: Prisma.CityWhereInput
1874
- /**
1875
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1876
- *
1877
- * Determine the order of Cities to fetch.
1878
- */
1879
- orderBy?: Prisma.CityOrderByWithRelationInput | Prisma.CityOrderByWithRelationInput[]
1880
- /**
1881
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1882
- *
1883
- * Sets the position for listing Cities.
1884
- */
1885
- cursor?: Prisma.CityWhereUniqueInput
1886
- /**
1887
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1888
- *
1889
- * Take `±n` Cities from the position of the cursor.
1890
- */
1891
- take?: number
1892
- /**
1893
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1894
- *
1895
- * Skip the first `n` Cities.
1896
- */
1897
- skip?: number
1898
- /**
1899
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1900
- *
1901
- * Filter by unique combinations of Cities.
1902
- */
1903
- distinct?: Prisma.CityScalarFieldEnum | Prisma.CityScalarFieldEnum[]
1904
- }
1905
-
1906
- /**
1907
- * City create
1908
- */
1909
- export type CityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1910
- /**
1911
- * Select specific fields to fetch from the City
1912
- */
1913
- select?: Prisma.CitySelect<ExtArgs> | null
1914
- /**
1915
- * Omit specific fields from the City
1916
- */
1917
- omit?: Prisma.CityOmit<ExtArgs> | null
1918
- /**
1919
- * Choose, which related nodes to fetch as well
1920
- */
1921
- include?: Prisma.CityInclude<ExtArgs> | null
1922
- /**
1923
- * The data needed to create a City.
1924
- */
1925
- data: Prisma.XOR<Prisma.CityCreateInput, Prisma.CityUncheckedCreateInput>
1926
- }
1927
-
1928
- /**
1929
- * City createMany
1930
- */
1931
- export type CityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1932
- /**
1933
- * The data used to create many Cities.
1934
- */
1935
- data: Prisma.CityCreateManyInput | Prisma.CityCreateManyInput[]
1936
- skipDuplicates?: boolean
1937
- }
1938
-
1939
- /**
1940
- * City createManyAndReturn
1941
- */
1942
- export type CityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1943
- /**
1944
- * Select specific fields to fetch from the City
1945
- */
1946
- select?: Prisma.CitySelectCreateManyAndReturn<ExtArgs> | null
1947
- /**
1948
- * Omit specific fields from the City
1949
- */
1950
- omit?: Prisma.CityOmit<ExtArgs> | null
1951
- /**
1952
- * The data used to create many Cities.
1953
- */
1954
- data: Prisma.CityCreateManyInput | Prisma.CityCreateManyInput[]
1955
- skipDuplicates?: boolean
1956
- /**
1957
- * Choose, which related nodes to fetch as well
1958
- */
1959
- include?: Prisma.CityIncludeCreateManyAndReturn<ExtArgs> | null
1960
- }
1961
-
1962
- /**
1963
- * City update
1964
- */
1965
- export type CityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1966
- /**
1967
- * Select specific fields to fetch from the City
1968
- */
1969
- select?: Prisma.CitySelect<ExtArgs> | null
1970
- /**
1971
- * Omit specific fields from the City
1972
- */
1973
- omit?: Prisma.CityOmit<ExtArgs> | null
1974
- /**
1975
- * Choose, which related nodes to fetch as well
1976
- */
1977
- include?: Prisma.CityInclude<ExtArgs> | null
1978
- /**
1979
- * The data needed to update a City.
1980
- */
1981
- data: Prisma.XOR<Prisma.CityUpdateInput, Prisma.CityUncheckedUpdateInput>
1982
- /**
1983
- * Choose, which City to update.
1984
- */
1985
- where: Prisma.CityWhereUniqueInput
1986
- }
1987
-
1988
- /**
1989
- * City updateMany
1990
- */
1991
- export type CityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1992
- /**
1993
- * The data used to update Cities.
1994
- */
1995
- data: Prisma.XOR<Prisma.CityUpdateManyMutationInput, Prisma.CityUncheckedUpdateManyInput>
1996
- /**
1997
- * Filter which Cities to update
1998
- */
1999
- where?: Prisma.CityWhereInput
2000
- /**
2001
- * Limit how many Cities to update.
2002
- */
2003
- limit?: number
2004
- }
2005
-
2006
- /**
2007
- * City updateManyAndReturn
2008
- */
2009
- export type CityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2010
- /**
2011
- * Select specific fields to fetch from the City
2012
- */
2013
- select?: Prisma.CitySelectUpdateManyAndReturn<ExtArgs> | null
2014
- /**
2015
- * Omit specific fields from the City
2016
- */
2017
- omit?: Prisma.CityOmit<ExtArgs> | null
2018
- /**
2019
- * The data used to update Cities.
2020
- */
2021
- data: Prisma.XOR<Prisma.CityUpdateManyMutationInput, Prisma.CityUncheckedUpdateManyInput>
2022
- /**
2023
- * Filter which Cities to update
2024
- */
2025
- where?: Prisma.CityWhereInput
2026
- /**
2027
- * Limit how many Cities to update.
2028
- */
2029
- limit?: number
2030
- /**
2031
- * Choose, which related nodes to fetch as well
2032
- */
2033
- include?: Prisma.CityIncludeUpdateManyAndReturn<ExtArgs> | null
2034
- }
2035
-
2036
- /**
2037
- * City upsert
2038
- */
2039
- export type CityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2040
- /**
2041
- * Select specific fields to fetch from the City
2042
- */
2043
- select?: Prisma.CitySelect<ExtArgs> | null
2044
- /**
2045
- * Omit specific fields from the City
2046
- */
2047
- omit?: Prisma.CityOmit<ExtArgs> | null
2048
- /**
2049
- * Choose, which related nodes to fetch as well
2050
- */
2051
- include?: Prisma.CityInclude<ExtArgs> | null
2052
- /**
2053
- * The filter to search for the City to update in case it exists.
2054
- */
2055
- where: Prisma.CityWhereUniqueInput
2056
- /**
2057
- * In case the City found by the `where` argument doesn't exist, create a new City with this data.
2058
- */
2059
- create: Prisma.XOR<Prisma.CityCreateInput, Prisma.CityUncheckedCreateInput>
2060
- /**
2061
- * In case the City was found with the provided `where` argument, update it with this data.
2062
- */
2063
- update: Prisma.XOR<Prisma.CityUpdateInput, Prisma.CityUncheckedUpdateInput>
2064
- }
2065
-
2066
- /**
2067
- * City delete
2068
- */
2069
- export type CityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2070
- /**
2071
- * Select specific fields to fetch from the City
2072
- */
2073
- select?: Prisma.CitySelect<ExtArgs> | null
2074
- /**
2075
- * Omit specific fields from the City
2076
- */
2077
- omit?: Prisma.CityOmit<ExtArgs> | null
2078
- /**
2079
- * Choose, which related nodes to fetch as well
2080
- */
2081
- include?: Prisma.CityInclude<ExtArgs> | null
2082
- /**
2083
- * Filter which City to delete.
2084
- */
2085
- where: Prisma.CityWhereUniqueInput
2086
- }
2087
-
2088
- /**
2089
- * City deleteMany
2090
- */
2091
- export type CityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2092
- /**
2093
- * Filter which Cities to delete
2094
- */
2095
- where?: Prisma.CityWhereInput
2096
- /**
2097
- * Limit how many Cities to delete.
2098
- */
2099
- limit?: number
2100
- }
2101
-
2102
- /**
2103
- * City.state
2104
- */
2105
- export type City$stateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2106
- /**
2107
- * Select specific fields to fetch from the State
2108
- */
2109
- select?: Prisma.StateSelect<ExtArgs> | null
2110
- /**
2111
- * Omit specific fields from the State
2112
- */
2113
- omit?: Prisma.StateOmit<ExtArgs> | null
2114
- /**
2115
- * Choose, which related nodes to fetch as well
2116
- */
2117
- include?: Prisma.StateInclude<ExtArgs> | null
2118
- where?: Prisma.StateWhereInput
2119
- }
2120
-
2121
- /**
2122
- * City.country
2123
- */
2124
- export type City$countryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2125
- /**
2126
- * Select specific fields to fetch from the Country
2127
- */
2128
- select?: Prisma.CountrySelect<ExtArgs> | null
2129
- /**
2130
- * Omit specific fields from the Country
2131
- */
2132
- omit?: Prisma.CountryOmit<ExtArgs> | null
2133
- /**
2134
- * Choose, which related nodes to fetch as well
2135
- */
2136
- include?: Prisma.CountryInclude<ExtArgs> | null
2137
- where?: Prisma.CountryWhereInput
2138
- }
2139
-
2140
- /**
2141
- * City.locations
2142
- */
2143
- export type City$locationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2144
- /**
2145
- * Select specific fields to fetch from the Location
2146
- */
2147
- select?: Prisma.LocationSelect<ExtArgs> | null
2148
- /**
2149
- * Omit specific fields from the Location
2150
- */
2151
- omit?: Prisma.LocationOmit<ExtArgs> | null
2152
- /**
2153
- * Choose, which related nodes to fetch as well
2154
- */
2155
- include?: Prisma.LocationInclude<ExtArgs> | null
2156
- where?: Prisma.LocationWhereInput
2157
- orderBy?: Prisma.LocationOrderByWithRelationInput | Prisma.LocationOrderByWithRelationInput[]
2158
- cursor?: Prisma.LocationWhereUniqueInput
2159
- take?: number
2160
- skip?: number
2161
- distinct?: Prisma.LocationScalarFieldEnum | Prisma.LocationScalarFieldEnum[]
2162
- }
2163
-
2164
- /**
2165
- * City without action
2166
- */
2167
- export type CityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2168
- /**
2169
- * Select specific fields to fetch from the City
2170
- */
2171
- select?: Prisma.CitySelect<ExtArgs> | null
2172
- /**
2173
- * Omit specific fields from the City
2174
- */
2175
- omit?: Prisma.CityOmit<ExtArgs> | null
2176
- /**
2177
- * Choose, which related nodes to fetch as well
2178
- */
2179
- include?: Prisma.CityInclude<ExtArgs> | null
2180
- }