procbay-schema 1.0.171 → 1.0.175

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 (150) hide show
  1. package/package.json +13 -22
  2. package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
  3. package/prisma/schema.prisma +17 -7
  4. package/scripts/sync-schemas.js +1 -5
  5. package/src/create-prisma-client.js +9 -49
  6. package/src/prisma/client.d.ts +1 -0
  7. package/src/prisma/client.js +4 -0
  8. package/src/prisma/default.d.ts +1 -0
  9. package/src/prisma/default.js +4 -0
  10. package/src/prisma/edge.d.ts +1 -0
  11. package/src/prisma/edge.js +2911 -0
  12. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
  13. package/src/prisma/index.d.ts +286785 -0
  14. package/src/prisma/index.js +2940 -2
  15. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  16. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  17. package/src/prisma/package.json +140 -0
  18. package/src/prisma/query_engine-windows.dll.node +0 -0
  19. package/src/prisma/runtime/edge-esm.js +34 -0
  20. package/src/prisma/runtime/edge.js +34 -0
  21. package/src/prisma/runtime/index-browser.d.ts +370 -0
  22. package/src/prisma/runtime/index-browser.js +16 -0
  23. package/src/prisma/runtime/library.d.ts +3647 -0
  24. package/src/prisma/runtime/library.js +146 -0
  25. package/src/prisma/runtime/react-native.js +83 -0
  26. package/src/prisma/runtime/wasm.js +35 -0
  27. package/src/prisma/schema.prisma +3831 -0
  28. package/src/prisma/wasm.d.ts +1 -0
  29. package/src/prisma/wasm.js +2873 -0
  30. package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
  31. package/prisma.config.js +0 -19
  32. package/src/generated/prisma/browser.ts +0 -574
  33. package/src/generated/prisma/client.bundle.mjs +0 -6733
  34. package/src/generated/prisma/client.ts +0 -598
  35. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  36. package/src/generated/prisma/enums.ts +0 -730
  37. package/src/generated/prisma/internal/class.ts +0 -1304
  38. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  39. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  40. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  41. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  42. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  43. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  44. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  45. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  46. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  47. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  48. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  49. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  50. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  51. package/src/generated/prisma/models/Attribute.ts +0 -2075
  52. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  53. package/src/generated/prisma/models/Bid.ts +0 -2719
  54. package/src/generated/prisma/models/BidLog.ts +0 -3560
  55. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  56. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  57. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  58. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  59. package/src/generated/prisma/models/Budget.ts +0 -1954
  60. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  61. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  62. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  63. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  64. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  65. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  66. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  67. package/src/generated/prisma/models/Category.ts +0 -3091
  68. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  69. package/src/generated/prisma/models/City.ts +0 -2180
  70. package/src/generated/prisma/models/Cms.ts +0 -1492
  71. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  72. package/src/generated/prisma/models/Conversation.ts +0 -2389
  73. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  74. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  75. package/src/generated/prisma/models/Country.ts +0 -3394
  76. package/src/generated/prisma/models/Currency.ts +0 -1642
  77. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  78. package/src/generated/prisma/models/Department.ts +0 -2372
  79. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  80. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  81. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  82. package/src/generated/prisma/models/Event.ts +0 -6819
  83. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  84. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  85. package/src/generated/prisma/models/EventItems.ts +0 -2821
  86. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  87. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  88. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  89. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  90. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  91. package/src/generated/prisma/models/Expense.ts +0 -1625
  92. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  93. package/src/generated/prisma/models/Faq.ts +0 -1753
  94. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  95. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  96. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  97. package/src/generated/prisma/models/GRN.ts +0 -3354
  98. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  99. package/src/generated/prisma/models/Industry.ts +0 -1642
  100. package/src/generated/prisma/models/Invoice.ts +0 -2949
  101. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  102. package/src/generated/prisma/models/Item.ts +0 -10644
  103. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  104. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  105. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  106. package/src/generated/prisma/models/Location.ts +0 -2711
  107. package/src/generated/prisma/models/Message.ts +0 -2744
  108. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  109. package/src/generated/prisma/models/Module.ts +0 -1630
  110. package/src/generated/prisma/models/Permission.ts +0 -1640
  111. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  112. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  113. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  114. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  115. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  116. package/src/generated/prisma/models/Quotation.ts +0 -3207
  117. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  118. package/src/generated/prisma/models/Region.ts +0 -1746
  119. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  120. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  121. package/src/generated/prisma/models/Role.ts +0 -1907
  122. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  123. package/src/generated/prisma/models/SendBack.ts +0 -1830
  124. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  125. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  126. package/src/generated/prisma/models/State.ts +0 -2174
  127. package/src/generated/prisma/models/Strategies.ts +0 -1791
  128. package/src/generated/prisma/models/SubModule.ts +0 -1450
  129. package/src/generated/prisma/models/Subregion.ts +0 -1870
  130. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  131. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  132. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  133. package/src/generated/prisma/models/Template.ts +0 -2429
  134. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  135. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  136. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  137. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  138. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  139. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  140. package/src/generated/prisma/models/Uom.ts +0 -1752
  141. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  142. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  143. package/src/generated/prisma/models/User.ts +0 -19397
  144. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  145. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  146. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  147. package/src/generated/prisma/models/UserRole.ts +0 -1696
  148. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  149. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  150. package/src/generated/prisma/models.ts +0 -122
@@ -1,3394 +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 `Country` model and its related types.
8
- *
9
- * 🟢 You can import this file directly.
10
- */
11
- import type * as runtime from "@prisma/client/runtime/client"
12
- import type * as $Enums from "../enums.ts"
13
- import type * as Prisma from "../internal/prismaNamespace.ts"
14
-
15
- /**
16
- * Model Country
17
- *
18
- */
19
- export type CountryModel = runtime.Types.Result.DefaultSelection<Prisma.$CountryPayload>
20
-
21
- export type AggregateCountry = {
22
- _count: CountryCountAggregateOutputType | null
23
- _avg: CountryAvgAggregateOutputType | null
24
- _sum: CountrySumAggregateOutputType | null
25
- _min: CountryMinAggregateOutputType | null
26
- _max: CountryMaxAggregateOutputType | null
27
- }
28
-
29
- export type CountryAvgAggregateOutputType = {
30
- 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
- region_id: number | null
37
- subregion_id: number | null
38
- }
39
-
40
- export type CountrySumAggregateOutputType = {
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
- region_id: number | null
48
- subregion_id: number | null
49
- }
50
-
51
- export type CountryMinAggregateOutputType = {
52
- id: number | null
53
- name: string | null
54
- iso3: string | null
55
- iso2: string | null
56
- numeric_code: string | null
57
- phonecode: string | null
58
- capital: string | null
59
- currency: string | null
60
- currency_name: string | null
61
- currency_symbol: string | null
62
- tld: string | null
63
- native: string | null
64
- region: string | null
65
- subregion: string | null
66
- nationality: string | null
67
- latitude: runtime.Decimal | null
68
- longitude: runtime.Decimal | null
69
- emoji: string | null
70
- emojiU: string | null
71
- wikiDataId: string | null
72
- status: boolean | null
73
- created_at: Date | null
74
- created_by: number | null
75
- updated_at: Date | null
76
- updated_by: number | null
77
- is_deleted: boolean | null
78
- deleted_by: number | null
79
- deleted_at: Date | null
80
- region_id: number | null
81
- subregion_id: number | null
82
- }
83
-
84
- export type CountryMaxAggregateOutputType = {
85
- id: number | null
86
- name: string | null
87
- iso3: string | null
88
- iso2: string | null
89
- numeric_code: string | null
90
- phonecode: string | null
91
- capital: string | null
92
- currency: string | null
93
- currency_name: string | null
94
- currency_symbol: string | null
95
- tld: string | null
96
- native: string | null
97
- region: string | null
98
- subregion: string | null
99
- nationality: string | null
100
- latitude: runtime.Decimal | null
101
- longitude: runtime.Decimal | null
102
- emoji: string | null
103
- emojiU: string | null
104
- wikiDataId: string | null
105
- status: boolean | null
106
- created_at: Date | null
107
- created_by: number | null
108
- updated_at: Date | null
109
- updated_by: number | null
110
- is_deleted: boolean | null
111
- deleted_by: number | null
112
- deleted_at: Date | null
113
- region_id: number | null
114
- subregion_id: number | null
115
- }
116
-
117
- export type CountryCountAggregateOutputType = {
118
- id: number
119
- name: number
120
- iso3: number
121
- iso2: number
122
- numeric_code: number
123
- phonecode: number
124
- capital: number
125
- currency: number
126
- currency_name: number
127
- currency_symbol: number
128
- tld: number
129
- native: number
130
- region: number
131
- subregion: number
132
- nationality: number
133
- latitude: number
134
- longitude: number
135
- emoji: number
136
- emojiU: number
137
- timezones: number
138
- translations: number
139
- wikiDataId: number
140
- status: number
141
- created_at: number
142
- created_by: number
143
- updated_at: number
144
- updated_by: number
145
- is_deleted: number
146
- deleted_by: number
147
- deleted_at: number
148
- region_id: number
149
- subregion_id: number
150
- _all: number
151
- }
152
-
153
-
154
- export type CountryAvgAggregateInputType = {
155
- id?: true
156
- latitude?: true
157
- longitude?: true
158
- created_by?: true
159
- updated_by?: true
160
- deleted_by?: true
161
- region_id?: true
162
- subregion_id?: true
163
- }
164
-
165
- export type CountrySumAggregateInputType = {
166
- id?: true
167
- latitude?: true
168
- longitude?: true
169
- created_by?: true
170
- updated_by?: true
171
- deleted_by?: true
172
- region_id?: true
173
- subregion_id?: true
174
- }
175
-
176
- export type CountryMinAggregateInputType = {
177
- id?: true
178
- name?: true
179
- iso3?: true
180
- iso2?: true
181
- numeric_code?: true
182
- phonecode?: true
183
- capital?: true
184
- currency?: true
185
- currency_name?: true
186
- currency_symbol?: true
187
- tld?: true
188
- native?: true
189
- region?: true
190
- subregion?: true
191
- nationality?: true
192
- latitude?: true
193
- longitude?: true
194
- emoji?: true
195
- emojiU?: true
196
- wikiDataId?: true
197
- status?: true
198
- created_at?: true
199
- created_by?: true
200
- updated_at?: true
201
- updated_by?: true
202
- is_deleted?: true
203
- deleted_by?: true
204
- deleted_at?: true
205
- region_id?: true
206
- subregion_id?: true
207
- }
208
-
209
- export type CountryMaxAggregateInputType = {
210
- id?: true
211
- name?: true
212
- iso3?: true
213
- iso2?: true
214
- numeric_code?: true
215
- phonecode?: true
216
- capital?: true
217
- currency?: true
218
- currency_name?: true
219
- currency_symbol?: true
220
- tld?: true
221
- native?: true
222
- region?: true
223
- subregion?: true
224
- nationality?: true
225
- latitude?: true
226
- longitude?: true
227
- emoji?: true
228
- emojiU?: true
229
- wikiDataId?: true
230
- status?: true
231
- created_at?: true
232
- created_by?: true
233
- updated_at?: true
234
- updated_by?: true
235
- is_deleted?: true
236
- deleted_by?: true
237
- deleted_at?: true
238
- region_id?: true
239
- subregion_id?: true
240
- }
241
-
242
- export type CountryCountAggregateInputType = {
243
- id?: true
244
- name?: true
245
- iso3?: true
246
- iso2?: true
247
- numeric_code?: true
248
- phonecode?: true
249
- capital?: true
250
- currency?: true
251
- currency_name?: true
252
- currency_symbol?: true
253
- tld?: true
254
- native?: true
255
- region?: true
256
- subregion?: true
257
- nationality?: true
258
- latitude?: true
259
- longitude?: true
260
- emoji?: true
261
- emojiU?: true
262
- timezones?: true
263
- translations?: true
264
- wikiDataId?: true
265
- status?: true
266
- created_at?: true
267
- created_by?: true
268
- updated_at?: true
269
- updated_by?: true
270
- is_deleted?: true
271
- deleted_by?: true
272
- deleted_at?: true
273
- region_id?: true
274
- subregion_id?: true
275
- _all?: true
276
- }
277
-
278
- export type CountryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
279
- /**
280
- * Filter which Country to aggregate.
281
- */
282
- where?: Prisma.CountryWhereInput
283
- /**
284
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
285
- *
286
- * Determine the order of Countries to fetch.
287
- */
288
- orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
289
- /**
290
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
291
- *
292
- * Sets the start position
293
- */
294
- cursor?: Prisma.CountryWhereUniqueInput
295
- /**
296
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
297
- *
298
- * Take `±n` Countries from the position of the cursor.
299
- */
300
- take?: number
301
- /**
302
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
303
- *
304
- * Skip the first `n` Countries.
305
- */
306
- skip?: number
307
- /**
308
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
309
- *
310
- * Count returned Countries
311
- **/
312
- _count?: true | CountryCountAggregateInputType
313
- /**
314
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
315
- *
316
- * Select which fields to average
317
- **/
318
- _avg?: CountryAvgAggregateInputType
319
- /**
320
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
321
- *
322
- * Select which fields to sum
323
- **/
324
- _sum?: CountrySumAggregateInputType
325
- /**
326
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
327
- *
328
- * Select which fields to find the minimum value
329
- **/
330
- _min?: CountryMinAggregateInputType
331
- /**
332
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
333
- *
334
- * Select which fields to find the maximum value
335
- **/
336
- _max?: CountryMaxAggregateInputType
337
- }
338
-
339
- export type GetCountryAggregateType<T extends CountryAggregateArgs> = {
340
- [P in keyof T & keyof AggregateCountry]: P extends '_count' | 'count'
341
- ? T[P] extends true
342
- ? number
343
- : Prisma.GetScalarType<T[P], AggregateCountry[P]>
344
- : Prisma.GetScalarType<T[P], AggregateCountry[P]>
345
- }
346
-
347
-
348
-
349
-
350
- export type CountryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
351
- where?: Prisma.CountryWhereInput
352
- orderBy?: Prisma.CountryOrderByWithAggregationInput | Prisma.CountryOrderByWithAggregationInput[]
353
- by: Prisma.CountryScalarFieldEnum[] | Prisma.CountryScalarFieldEnum
354
- having?: Prisma.CountryScalarWhereWithAggregatesInput
355
- take?: number
356
- skip?: number
357
- _count?: CountryCountAggregateInputType | true
358
- _avg?: CountryAvgAggregateInputType
359
- _sum?: CountrySumAggregateInputType
360
- _min?: CountryMinAggregateInputType
361
- _max?: CountryMaxAggregateInputType
362
- }
363
-
364
- export type CountryGroupByOutputType = {
365
- id: number
366
- name: string | null
367
- iso3: string | null
368
- iso2: string | null
369
- numeric_code: string | null
370
- phonecode: string | null
371
- capital: string | null
372
- currency: string | null
373
- currency_name: string | null
374
- currency_symbol: string | null
375
- tld: string | null
376
- native: string | null
377
- region: string | null
378
- subregion: string | null
379
- nationality: string | null
380
- latitude: runtime.Decimal | null
381
- longitude: runtime.Decimal | null
382
- emoji: string | null
383
- emojiU: string | null
384
- timezones: runtime.JsonValue | null
385
- translations: runtime.JsonValue | null
386
- wikiDataId: string | null
387
- status: boolean | null
388
- created_at: Date
389
- created_by: number | null
390
- updated_at: Date
391
- updated_by: number | null
392
- is_deleted: boolean | null
393
- deleted_by: number | null
394
- deleted_at: Date | null
395
- region_id: number | null
396
- subregion_id: number | null
397
- _count: CountryCountAggregateOutputType | null
398
- _avg: CountryAvgAggregateOutputType | null
399
- _sum: CountrySumAggregateOutputType | null
400
- _min: CountryMinAggregateOutputType | null
401
- _max: CountryMaxAggregateOutputType | null
402
- }
403
-
404
- export type GetCountryGroupByPayload<T extends CountryGroupByArgs> = Prisma.PrismaPromise<
405
- Array<
406
- Prisma.PickEnumerable<CountryGroupByOutputType, T['by']> &
407
- {
408
- [P in ((keyof T) & (keyof CountryGroupByOutputType))]: P extends '_count'
409
- ? T[P] extends boolean
410
- ? number
411
- : Prisma.GetScalarType<T[P], CountryGroupByOutputType[P]>
412
- : Prisma.GetScalarType<T[P], CountryGroupByOutputType[P]>
413
- }
414
- >
415
- >
416
-
417
-
418
-
419
- export type CountryWhereInput = {
420
- AND?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
421
- OR?: Prisma.CountryWhereInput[]
422
- NOT?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
423
- id?: Prisma.IntFilter<"Country"> | number
424
- name?: Prisma.StringNullableFilter<"Country"> | string | null
425
- iso3?: Prisma.StringNullableFilter<"Country"> | string | null
426
- iso2?: Prisma.StringNullableFilter<"Country"> | string | null
427
- numeric_code?: Prisma.StringNullableFilter<"Country"> | string | null
428
- phonecode?: Prisma.StringNullableFilter<"Country"> | string | null
429
- capital?: Prisma.StringNullableFilter<"Country"> | string | null
430
- currency?: Prisma.StringNullableFilter<"Country"> | string | null
431
- currency_name?: Prisma.StringNullableFilter<"Country"> | string | null
432
- currency_symbol?: Prisma.StringNullableFilter<"Country"> | string | null
433
- tld?: Prisma.StringNullableFilter<"Country"> | string | null
434
- native?: Prisma.StringNullableFilter<"Country"> | string | null
435
- region?: Prisma.StringNullableFilter<"Country"> | string | null
436
- subregion?: Prisma.StringNullableFilter<"Country"> | string | null
437
- nationality?: Prisma.StringNullableFilter<"Country"> | string | null
438
- latitude?: Prisma.DecimalNullableFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
439
- longitude?: Prisma.DecimalNullableFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
440
- emoji?: Prisma.StringNullableFilter<"Country"> | string | null
441
- emojiU?: Prisma.StringNullableFilter<"Country"> | string | null
442
- timezones?: Prisma.JsonNullableFilter<"Country">
443
- translations?: Prisma.JsonNullableFilter<"Country">
444
- wikiDataId?: Prisma.StringNullableFilter<"Country"> | string | null
445
- status?: Prisma.BoolNullableFilter<"Country"> | boolean | null
446
- created_at?: Prisma.DateTimeFilter<"Country"> | Date | string
447
- created_by?: Prisma.IntNullableFilter<"Country"> | number | null
448
- updated_at?: Prisma.DateTimeFilter<"Country"> | Date | string
449
- updated_by?: Prisma.IntNullableFilter<"Country"> | number | null
450
- is_deleted?: Prisma.BoolNullableFilter<"Country"> | boolean | null
451
- deleted_by?: Prisma.IntNullableFilter<"Country"> | number | null
452
- deleted_at?: Prisma.DateTimeNullableFilter<"Country"> | Date | string | null
453
- region_id?: Prisma.IntNullableFilter<"Country"> | number | null
454
- subregion_id?: Prisma.IntNullableFilter<"Country"> | number | null
455
- region_relation?: Prisma.XOR<Prisma.RegionNullableScalarRelationFilter, Prisma.RegionWhereInput> | null
456
- subregion_relation?: Prisma.XOR<Prisma.SubregionNullableScalarRelationFilter, Prisma.SubregionWhereInput> | null
457
- states?: Prisma.StateListRelationFilter
458
- cities?: Prisma.CityListRelationFilter
459
- locations?: Prisma.LocationListRelationFilter
460
- }
461
-
462
- export type CountryOrderByWithRelationInput = {
463
- id?: Prisma.SortOrder
464
- name?: Prisma.SortOrderInput | Prisma.SortOrder
465
- iso3?: Prisma.SortOrderInput | Prisma.SortOrder
466
- iso2?: Prisma.SortOrderInput | Prisma.SortOrder
467
- numeric_code?: Prisma.SortOrderInput | Prisma.SortOrder
468
- phonecode?: Prisma.SortOrderInput | Prisma.SortOrder
469
- capital?: Prisma.SortOrderInput | Prisma.SortOrder
470
- currency?: Prisma.SortOrderInput | Prisma.SortOrder
471
- currency_name?: Prisma.SortOrderInput | Prisma.SortOrder
472
- currency_symbol?: Prisma.SortOrderInput | Prisma.SortOrder
473
- tld?: Prisma.SortOrderInput | Prisma.SortOrder
474
- native?: Prisma.SortOrderInput | Prisma.SortOrder
475
- region?: Prisma.SortOrderInput | Prisma.SortOrder
476
- subregion?: Prisma.SortOrderInput | Prisma.SortOrder
477
- nationality?: Prisma.SortOrderInput | Prisma.SortOrder
478
- latitude?: Prisma.SortOrderInput | Prisma.SortOrder
479
- longitude?: Prisma.SortOrderInput | Prisma.SortOrder
480
- emoji?: Prisma.SortOrderInput | Prisma.SortOrder
481
- emojiU?: Prisma.SortOrderInput | Prisma.SortOrder
482
- timezones?: Prisma.SortOrderInput | Prisma.SortOrder
483
- translations?: Prisma.SortOrderInput | Prisma.SortOrder
484
- wikiDataId?: Prisma.SortOrderInput | Prisma.SortOrder
485
- status?: Prisma.SortOrderInput | Prisma.SortOrder
486
- created_at?: Prisma.SortOrder
487
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
488
- updated_at?: Prisma.SortOrder
489
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
490
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
491
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
492
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
493
- region_id?: Prisma.SortOrderInput | Prisma.SortOrder
494
- subregion_id?: Prisma.SortOrderInput | Prisma.SortOrder
495
- region_relation?: Prisma.RegionOrderByWithRelationInput
496
- subregion_relation?: Prisma.SubregionOrderByWithRelationInput
497
- states?: Prisma.StateOrderByRelationAggregateInput
498
- cities?: Prisma.CityOrderByRelationAggregateInput
499
- locations?: Prisma.LocationOrderByRelationAggregateInput
500
- }
501
-
502
- export type CountryWhereUniqueInput = Prisma.AtLeast<{
503
- id?: number
504
- iso3?: string
505
- iso2?: string
506
- AND?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
507
- OR?: Prisma.CountryWhereInput[]
508
- NOT?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[]
509
- name?: Prisma.StringNullableFilter<"Country"> | string | null
510
- numeric_code?: Prisma.StringNullableFilter<"Country"> | string | null
511
- phonecode?: Prisma.StringNullableFilter<"Country"> | string | null
512
- capital?: Prisma.StringNullableFilter<"Country"> | string | null
513
- currency?: Prisma.StringNullableFilter<"Country"> | string | null
514
- currency_name?: Prisma.StringNullableFilter<"Country"> | string | null
515
- currency_symbol?: Prisma.StringNullableFilter<"Country"> | string | null
516
- tld?: Prisma.StringNullableFilter<"Country"> | string | null
517
- native?: Prisma.StringNullableFilter<"Country"> | string | null
518
- region?: Prisma.StringNullableFilter<"Country"> | string | null
519
- subregion?: Prisma.StringNullableFilter<"Country"> | string | null
520
- nationality?: Prisma.StringNullableFilter<"Country"> | string | null
521
- latitude?: Prisma.DecimalNullableFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
522
- longitude?: Prisma.DecimalNullableFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
523
- emoji?: Prisma.StringNullableFilter<"Country"> | string | null
524
- emojiU?: Prisma.StringNullableFilter<"Country"> | string | null
525
- timezones?: Prisma.JsonNullableFilter<"Country">
526
- translations?: Prisma.JsonNullableFilter<"Country">
527
- wikiDataId?: Prisma.StringNullableFilter<"Country"> | string | null
528
- status?: Prisma.BoolNullableFilter<"Country"> | boolean | null
529
- created_at?: Prisma.DateTimeFilter<"Country"> | Date | string
530
- created_by?: Prisma.IntNullableFilter<"Country"> | number | null
531
- updated_at?: Prisma.DateTimeFilter<"Country"> | Date | string
532
- updated_by?: Prisma.IntNullableFilter<"Country"> | number | null
533
- is_deleted?: Prisma.BoolNullableFilter<"Country"> | boolean | null
534
- deleted_by?: Prisma.IntNullableFilter<"Country"> | number | null
535
- deleted_at?: Prisma.DateTimeNullableFilter<"Country"> | Date | string | null
536
- region_id?: Prisma.IntNullableFilter<"Country"> | number | null
537
- subregion_id?: Prisma.IntNullableFilter<"Country"> | number | null
538
- region_relation?: Prisma.XOR<Prisma.RegionNullableScalarRelationFilter, Prisma.RegionWhereInput> | null
539
- subregion_relation?: Prisma.XOR<Prisma.SubregionNullableScalarRelationFilter, Prisma.SubregionWhereInput> | null
540
- states?: Prisma.StateListRelationFilter
541
- cities?: Prisma.CityListRelationFilter
542
- locations?: Prisma.LocationListRelationFilter
543
- }, "id" | "iso3" | "iso2">
544
-
545
- export type CountryOrderByWithAggregationInput = {
546
- id?: Prisma.SortOrder
547
- name?: Prisma.SortOrderInput | Prisma.SortOrder
548
- iso3?: Prisma.SortOrderInput | Prisma.SortOrder
549
- iso2?: Prisma.SortOrderInput | Prisma.SortOrder
550
- numeric_code?: Prisma.SortOrderInput | Prisma.SortOrder
551
- phonecode?: Prisma.SortOrderInput | Prisma.SortOrder
552
- capital?: Prisma.SortOrderInput | Prisma.SortOrder
553
- currency?: Prisma.SortOrderInput | Prisma.SortOrder
554
- currency_name?: Prisma.SortOrderInput | Prisma.SortOrder
555
- currency_symbol?: Prisma.SortOrderInput | Prisma.SortOrder
556
- tld?: Prisma.SortOrderInput | Prisma.SortOrder
557
- native?: Prisma.SortOrderInput | Prisma.SortOrder
558
- region?: Prisma.SortOrderInput | Prisma.SortOrder
559
- subregion?: Prisma.SortOrderInput | Prisma.SortOrder
560
- nationality?: Prisma.SortOrderInput | Prisma.SortOrder
561
- latitude?: Prisma.SortOrderInput | Prisma.SortOrder
562
- longitude?: Prisma.SortOrderInput | Prisma.SortOrder
563
- emoji?: Prisma.SortOrderInput | Prisma.SortOrder
564
- emojiU?: Prisma.SortOrderInput | Prisma.SortOrder
565
- timezones?: Prisma.SortOrderInput | Prisma.SortOrder
566
- translations?: Prisma.SortOrderInput | Prisma.SortOrder
567
- wikiDataId?: Prisma.SortOrderInput | Prisma.SortOrder
568
- status?: Prisma.SortOrderInput | Prisma.SortOrder
569
- created_at?: Prisma.SortOrder
570
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
571
- updated_at?: Prisma.SortOrder
572
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
573
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
574
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
575
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
576
- region_id?: Prisma.SortOrderInput | Prisma.SortOrder
577
- subregion_id?: Prisma.SortOrderInput | Prisma.SortOrder
578
- _count?: Prisma.CountryCountOrderByAggregateInput
579
- _avg?: Prisma.CountryAvgOrderByAggregateInput
580
- _max?: Prisma.CountryMaxOrderByAggregateInput
581
- _min?: Prisma.CountryMinOrderByAggregateInput
582
- _sum?: Prisma.CountrySumOrderByAggregateInput
583
- }
584
-
585
- export type CountryScalarWhereWithAggregatesInput = {
586
- AND?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[]
587
- OR?: Prisma.CountryScalarWhereWithAggregatesInput[]
588
- NOT?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[]
589
- id?: Prisma.IntWithAggregatesFilter<"Country"> | number
590
- name?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
591
- iso3?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
592
- iso2?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
593
- numeric_code?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
594
- phonecode?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
595
- capital?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
596
- currency?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
597
- currency_name?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
598
- currency_symbol?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
599
- tld?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
600
- native?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
601
- region?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
602
- subregion?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
603
- nationality?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
604
- latitude?: Prisma.DecimalNullableWithAggregatesFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
605
- longitude?: Prisma.DecimalNullableWithAggregatesFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
606
- emoji?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
607
- emojiU?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
608
- timezones?: Prisma.JsonNullableWithAggregatesFilter<"Country">
609
- translations?: Prisma.JsonNullableWithAggregatesFilter<"Country">
610
- wikiDataId?: Prisma.StringNullableWithAggregatesFilter<"Country"> | string | null
611
- status?: Prisma.BoolNullableWithAggregatesFilter<"Country"> | boolean | null
612
- created_at?: Prisma.DateTimeWithAggregatesFilter<"Country"> | Date | string
613
- created_by?: Prisma.IntNullableWithAggregatesFilter<"Country"> | number | null
614
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"Country"> | Date | string
615
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"Country"> | number | null
616
- is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"Country"> | boolean | null
617
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"Country"> | number | null
618
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Country"> | Date | string | null
619
- region_id?: Prisma.IntNullableWithAggregatesFilter<"Country"> | number | null
620
- subregion_id?: Prisma.IntNullableWithAggregatesFilter<"Country"> | number | null
621
- }
622
-
623
- export type CountryCreateInput = {
624
- name?: string | null
625
- iso3?: string | null
626
- iso2?: string | null
627
- numeric_code?: string | null
628
- phonecode?: string | null
629
- capital?: string | null
630
- currency?: string | null
631
- currency_name?: string | null
632
- currency_symbol?: string | null
633
- tld?: string | null
634
- native?: string | null
635
- region?: string | null
636
- subregion?: string | null
637
- nationality?: string | null
638
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
639
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
640
- emoji?: string | null
641
- emojiU?: string | null
642
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
643
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
644
- wikiDataId?: string | null
645
- status?: boolean | null
646
- created_at?: Date | string
647
- created_by?: number | null
648
- updated_at?: Date | string
649
- updated_by?: number | null
650
- is_deleted?: boolean | null
651
- deleted_by?: number | null
652
- deleted_at?: Date | string | null
653
- region_relation?: Prisma.RegionCreateNestedOneWithoutCountriesInput
654
- subregion_relation?: Prisma.SubregionCreateNestedOneWithoutCountriesInput
655
- states?: Prisma.StateCreateNestedManyWithoutCountryInput
656
- cities?: Prisma.CityCreateNestedManyWithoutCountryInput
657
- locations?: Prisma.LocationCreateNestedManyWithoutCountryInput
658
- }
659
-
660
- export type CountryUncheckedCreateInput = {
661
- id?: number
662
- name?: string | null
663
- iso3?: string | null
664
- iso2?: string | null
665
- numeric_code?: string | null
666
- phonecode?: string | null
667
- capital?: string | null
668
- currency?: string | null
669
- currency_name?: string | null
670
- currency_symbol?: string | null
671
- tld?: string | null
672
- native?: string | null
673
- region?: string | null
674
- subregion?: string | null
675
- nationality?: string | null
676
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
677
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
678
- emoji?: string | null
679
- emojiU?: string | null
680
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
681
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
682
- wikiDataId?: string | null
683
- status?: boolean | null
684
- created_at?: Date | string
685
- created_by?: number | null
686
- updated_at?: Date | string
687
- updated_by?: number | null
688
- is_deleted?: boolean | null
689
- deleted_by?: number | null
690
- deleted_at?: Date | string | null
691
- region_id?: number | null
692
- subregion_id?: number | null
693
- states?: Prisma.StateUncheckedCreateNestedManyWithoutCountryInput
694
- cities?: Prisma.CityUncheckedCreateNestedManyWithoutCountryInput
695
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCountryInput
696
- }
697
-
698
- export type CountryUpdateInput = {
699
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
700
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
701
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
702
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
703
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
704
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
705
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
706
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
707
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
708
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
709
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
710
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
711
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
712
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
713
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
714
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
715
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
716
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
717
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
718
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
719
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
720
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
721
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
722
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
723
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
724
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
725
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
726
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
727
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
728
- region_relation?: Prisma.RegionUpdateOneWithoutCountriesNestedInput
729
- subregion_relation?: Prisma.SubregionUpdateOneWithoutCountriesNestedInput
730
- states?: Prisma.StateUpdateManyWithoutCountryNestedInput
731
- cities?: Prisma.CityUpdateManyWithoutCountryNestedInput
732
- locations?: Prisma.LocationUpdateManyWithoutCountryNestedInput
733
- }
734
-
735
- export type CountryUncheckedUpdateInput = {
736
- id?: Prisma.IntFieldUpdateOperationsInput | number
737
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
738
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
739
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
740
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
741
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
742
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
743
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
744
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
745
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
746
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
747
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
748
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
749
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
750
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
751
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
752
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
753
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
754
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
755
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
756
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
757
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
758
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
759
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
760
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
761
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
762
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
763
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
764
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
765
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
766
- region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
767
- subregion_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
768
- states?: Prisma.StateUncheckedUpdateManyWithoutCountryNestedInput
769
- cities?: Prisma.CityUncheckedUpdateManyWithoutCountryNestedInput
770
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCountryNestedInput
771
- }
772
-
773
- export type CountryCreateManyInput = {
774
- id?: number
775
- name?: string | null
776
- iso3?: string | null
777
- iso2?: string | null
778
- numeric_code?: string | null
779
- phonecode?: string | null
780
- capital?: string | null
781
- currency?: string | null
782
- currency_name?: string | null
783
- currency_symbol?: string | null
784
- tld?: string | null
785
- native?: string | null
786
- region?: string | null
787
- subregion?: string | null
788
- nationality?: string | null
789
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
790
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
791
- emoji?: string | null
792
- emojiU?: string | null
793
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
794
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
795
- wikiDataId?: string | null
796
- status?: boolean | null
797
- created_at?: Date | string
798
- created_by?: number | null
799
- updated_at?: Date | string
800
- updated_by?: number | null
801
- is_deleted?: boolean | null
802
- deleted_by?: number | null
803
- deleted_at?: Date | string | null
804
- region_id?: number | null
805
- subregion_id?: number | null
806
- }
807
-
808
- export type CountryUpdateManyMutationInput = {
809
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
810
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
811
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
812
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
813
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
814
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
815
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
816
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
817
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
818
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
819
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
820
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
821
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
822
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
823
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
824
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
825
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
826
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
827
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
828
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
829
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
830
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
831
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
832
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
833
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
834
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
835
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
836
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
837
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
838
- }
839
-
840
- export type CountryUncheckedUpdateManyInput = {
841
- id?: Prisma.IntFieldUpdateOperationsInput | number
842
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
843
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
844
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
845
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
846
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
847
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
848
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
849
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
850
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
851
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
852
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
853
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
854
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
855
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
856
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
857
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
858
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
859
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
860
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
861
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
862
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
863
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
864
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
865
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
866
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
867
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
868
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
869
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
870
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
871
- region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
872
- subregion_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
873
- }
874
-
875
- export type CountryListRelationFilter = {
876
- every?: Prisma.CountryWhereInput
877
- some?: Prisma.CountryWhereInput
878
- none?: Prisma.CountryWhereInput
879
- }
880
-
881
- export type CountryOrderByRelationAggregateInput = {
882
- _count?: Prisma.SortOrder
883
- }
884
-
885
- export type CountryCountOrderByAggregateInput = {
886
- id?: Prisma.SortOrder
887
- name?: Prisma.SortOrder
888
- iso3?: Prisma.SortOrder
889
- iso2?: Prisma.SortOrder
890
- numeric_code?: Prisma.SortOrder
891
- phonecode?: Prisma.SortOrder
892
- capital?: Prisma.SortOrder
893
- currency?: Prisma.SortOrder
894
- currency_name?: Prisma.SortOrder
895
- currency_symbol?: Prisma.SortOrder
896
- tld?: Prisma.SortOrder
897
- native?: Prisma.SortOrder
898
- region?: Prisma.SortOrder
899
- subregion?: Prisma.SortOrder
900
- nationality?: Prisma.SortOrder
901
- latitude?: Prisma.SortOrder
902
- longitude?: Prisma.SortOrder
903
- emoji?: Prisma.SortOrder
904
- emojiU?: Prisma.SortOrder
905
- timezones?: Prisma.SortOrder
906
- translations?: Prisma.SortOrder
907
- wikiDataId?: Prisma.SortOrder
908
- status?: Prisma.SortOrder
909
- created_at?: Prisma.SortOrder
910
- created_by?: Prisma.SortOrder
911
- updated_at?: Prisma.SortOrder
912
- updated_by?: Prisma.SortOrder
913
- is_deleted?: Prisma.SortOrder
914
- deleted_by?: Prisma.SortOrder
915
- deleted_at?: Prisma.SortOrder
916
- region_id?: Prisma.SortOrder
917
- subregion_id?: Prisma.SortOrder
918
- }
919
-
920
- export type CountryAvgOrderByAggregateInput = {
921
- id?: Prisma.SortOrder
922
- latitude?: Prisma.SortOrder
923
- longitude?: Prisma.SortOrder
924
- created_by?: Prisma.SortOrder
925
- updated_by?: Prisma.SortOrder
926
- deleted_by?: Prisma.SortOrder
927
- region_id?: Prisma.SortOrder
928
- subregion_id?: Prisma.SortOrder
929
- }
930
-
931
- export type CountryMaxOrderByAggregateInput = {
932
- id?: Prisma.SortOrder
933
- name?: Prisma.SortOrder
934
- iso3?: Prisma.SortOrder
935
- iso2?: Prisma.SortOrder
936
- numeric_code?: Prisma.SortOrder
937
- phonecode?: Prisma.SortOrder
938
- capital?: Prisma.SortOrder
939
- currency?: Prisma.SortOrder
940
- currency_name?: Prisma.SortOrder
941
- currency_symbol?: Prisma.SortOrder
942
- tld?: Prisma.SortOrder
943
- native?: Prisma.SortOrder
944
- region?: Prisma.SortOrder
945
- subregion?: Prisma.SortOrder
946
- nationality?: Prisma.SortOrder
947
- latitude?: Prisma.SortOrder
948
- longitude?: Prisma.SortOrder
949
- emoji?: Prisma.SortOrder
950
- emojiU?: Prisma.SortOrder
951
- wikiDataId?: Prisma.SortOrder
952
- status?: Prisma.SortOrder
953
- created_at?: Prisma.SortOrder
954
- created_by?: Prisma.SortOrder
955
- updated_at?: Prisma.SortOrder
956
- updated_by?: Prisma.SortOrder
957
- is_deleted?: Prisma.SortOrder
958
- deleted_by?: Prisma.SortOrder
959
- deleted_at?: Prisma.SortOrder
960
- region_id?: Prisma.SortOrder
961
- subregion_id?: Prisma.SortOrder
962
- }
963
-
964
- export type CountryMinOrderByAggregateInput = {
965
- id?: Prisma.SortOrder
966
- name?: Prisma.SortOrder
967
- iso3?: Prisma.SortOrder
968
- iso2?: Prisma.SortOrder
969
- numeric_code?: Prisma.SortOrder
970
- phonecode?: Prisma.SortOrder
971
- capital?: Prisma.SortOrder
972
- currency?: Prisma.SortOrder
973
- currency_name?: Prisma.SortOrder
974
- currency_symbol?: Prisma.SortOrder
975
- tld?: Prisma.SortOrder
976
- native?: Prisma.SortOrder
977
- region?: Prisma.SortOrder
978
- subregion?: Prisma.SortOrder
979
- nationality?: Prisma.SortOrder
980
- latitude?: Prisma.SortOrder
981
- longitude?: Prisma.SortOrder
982
- emoji?: Prisma.SortOrder
983
- emojiU?: Prisma.SortOrder
984
- wikiDataId?: Prisma.SortOrder
985
- status?: Prisma.SortOrder
986
- created_at?: Prisma.SortOrder
987
- created_by?: Prisma.SortOrder
988
- updated_at?: Prisma.SortOrder
989
- updated_by?: Prisma.SortOrder
990
- is_deleted?: Prisma.SortOrder
991
- deleted_by?: Prisma.SortOrder
992
- deleted_at?: Prisma.SortOrder
993
- region_id?: Prisma.SortOrder
994
- subregion_id?: Prisma.SortOrder
995
- }
996
-
997
- export type CountrySumOrderByAggregateInput = {
998
- id?: Prisma.SortOrder
999
- latitude?: Prisma.SortOrder
1000
- longitude?: Prisma.SortOrder
1001
- created_by?: Prisma.SortOrder
1002
- updated_by?: Prisma.SortOrder
1003
- deleted_by?: Prisma.SortOrder
1004
- region_id?: Prisma.SortOrder
1005
- subregion_id?: Prisma.SortOrder
1006
- }
1007
-
1008
- export type CountryNullableScalarRelationFilter = {
1009
- is?: Prisma.CountryWhereInput | null
1010
- isNot?: Prisma.CountryWhereInput | null
1011
- }
1012
-
1013
- export type CountryCreateNestedManyWithoutRegion_relationInput = {
1014
- create?: Prisma.XOR<Prisma.CountryCreateWithoutRegion_relationInput, Prisma.CountryUncheckedCreateWithoutRegion_relationInput> | Prisma.CountryCreateWithoutRegion_relationInput[] | Prisma.CountryUncheckedCreateWithoutRegion_relationInput[]
1015
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutRegion_relationInput | Prisma.CountryCreateOrConnectWithoutRegion_relationInput[]
1016
- createMany?: Prisma.CountryCreateManyRegion_relationInputEnvelope
1017
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1018
- }
1019
-
1020
- export type CountryUncheckedCreateNestedManyWithoutRegion_relationInput = {
1021
- create?: Prisma.XOR<Prisma.CountryCreateWithoutRegion_relationInput, Prisma.CountryUncheckedCreateWithoutRegion_relationInput> | Prisma.CountryCreateWithoutRegion_relationInput[] | Prisma.CountryUncheckedCreateWithoutRegion_relationInput[]
1022
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutRegion_relationInput | Prisma.CountryCreateOrConnectWithoutRegion_relationInput[]
1023
- createMany?: Prisma.CountryCreateManyRegion_relationInputEnvelope
1024
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1025
- }
1026
-
1027
- export type CountryUpdateManyWithoutRegion_relationNestedInput = {
1028
- create?: Prisma.XOR<Prisma.CountryCreateWithoutRegion_relationInput, Prisma.CountryUncheckedCreateWithoutRegion_relationInput> | Prisma.CountryCreateWithoutRegion_relationInput[] | Prisma.CountryUncheckedCreateWithoutRegion_relationInput[]
1029
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutRegion_relationInput | Prisma.CountryCreateOrConnectWithoutRegion_relationInput[]
1030
- upsert?: Prisma.CountryUpsertWithWhereUniqueWithoutRegion_relationInput | Prisma.CountryUpsertWithWhereUniqueWithoutRegion_relationInput[]
1031
- createMany?: Prisma.CountryCreateManyRegion_relationInputEnvelope
1032
- set?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1033
- disconnect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1034
- delete?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1035
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1036
- update?: Prisma.CountryUpdateWithWhereUniqueWithoutRegion_relationInput | Prisma.CountryUpdateWithWhereUniqueWithoutRegion_relationInput[]
1037
- updateMany?: Prisma.CountryUpdateManyWithWhereWithoutRegion_relationInput | Prisma.CountryUpdateManyWithWhereWithoutRegion_relationInput[]
1038
- deleteMany?: Prisma.CountryScalarWhereInput | Prisma.CountryScalarWhereInput[]
1039
- }
1040
-
1041
- export type CountryUncheckedUpdateManyWithoutRegion_relationNestedInput = {
1042
- create?: Prisma.XOR<Prisma.CountryCreateWithoutRegion_relationInput, Prisma.CountryUncheckedCreateWithoutRegion_relationInput> | Prisma.CountryCreateWithoutRegion_relationInput[] | Prisma.CountryUncheckedCreateWithoutRegion_relationInput[]
1043
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutRegion_relationInput | Prisma.CountryCreateOrConnectWithoutRegion_relationInput[]
1044
- upsert?: Prisma.CountryUpsertWithWhereUniqueWithoutRegion_relationInput | Prisma.CountryUpsertWithWhereUniqueWithoutRegion_relationInput[]
1045
- createMany?: Prisma.CountryCreateManyRegion_relationInputEnvelope
1046
- set?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1047
- disconnect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1048
- delete?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1049
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1050
- update?: Prisma.CountryUpdateWithWhereUniqueWithoutRegion_relationInput | Prisma.CountryUpdateWithWhereUniqueWithoutRegion_relationInput[]
1051
- updateMany?: Prisma.CountryUpdateManyWithWhereWithoutRegion_relationInput | Prisma.CountryUpdateManyWithWhereWithoutRegion_relationInput[]
1052
- deleteMany?: Prisma.CountryScalarWhereInput | Prisma.CountryScalarWhereInput[]
1053
- }
1054
-
1055
- export type CountryCreateNestedManyWithoutSubregion_relationInput = {
1056
- create?: Prisma.XOR<Prisma.CountryCreateWithoutSubregion_relationInput, Prisma.CountryUncheckedCreateWithoutSubregion_relationInput> | Prisma.CountryCreateWithoutSubregion_relationInput[] | Prisma.CountryUncheckedCreateWithoutSubregion_relationInput[]
1057
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutSubregion_relationInput | Prisma.CountryCreateOrConnectWithoutSubregion_relationInput[]
1058
- createMany?: Prisma.CountryCreateManySubregion_relationInputEnvelope
1059
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1060
- }
1061
-
1062
- export type CountryUncheckedCreateNestedManyWithoutSubregion_relationInput = {
1063
- create?: Prisma.XOR<Prisma.CountryCreateWithoutSubregion_relationInput, Prisma.CountryUncheckedCreateWithoutSubregion_relationInput> | Prisma.CountryCreateWithoutSubregion_relationInput[] | Prisma.CountryUncheckedCreateWithoutSubregion_relationInput[]
1064
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutSubregion_relationInput | Prisma.CountryCreateOrConnectWithoutSubregion_relationInput[]
1065
- createMany?: Prisma.CountryCreateManySubregion_relationInputEnvelope
1066
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1067
- }
1068
-
1069
- export type CountryUpdateManyWithoutSubregion_relationNestedInput = {
1070
- create?: Prisma.XOR<Prisma.CountryCreateWithoutSubregion_relationInput, Prisma.CountryUncheckedCreateWithoutSubregion_relationInput> | Prisma.CountryCreateWithoutSubregion_relationInput[] | Prisma.CountryUncheckedCreateWithoutSubregion_relationInput[]
1071
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutSubregion_relationInput | Prisma.CountryCreateOrConnectWithoutSubregion_relationInput[]
1072
- upsert?: Prisma.CountryUpsertWithWhereUniqueWithoutSubregion_relationInput | Prisma.CountryUpsertWithWhereUniqueWithoutSubregion_relationInput[]
1073
- createMany?: Prisma.CountryCreateManySubregion_relationInputEnvelope
1074
- set?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1075
- disconnect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1076
- delete?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1077
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1078
- update?: Prisma.CountryUpdateWithWhereUniqueWithoutSubregion_relationInput | Prisma.CountryUpdateWithWhereUniqueWithoutSubregion_relationInput[]
1079
- updateMany?: Prisma.CountryUpdateManyWithWhereWithoutSubregion_relationInput | Prisma.CountryUpdateManyWithWhereWithoutSubregion_relationInput[]
1080
- deleteMany?: Prisma.CountryScalarWhereInput | Prisma.CountryScalarWhereInput[]
1081
- }
1082
-
1083
- export type CountryUncheckedUpdateManyWithoutSubregion_relationNestedInput = {
1084
- create?: Prisma.XOR<Prisma.CountryCreateWithoutSubregion_relationInput, Prisma.CountryUncheckedCreateWithoutSubregion_relationInput> | Prisma.CountryCreateWithoutSubregion_relationInput[] | Prisma.CountryUncheckedCreateWithoutSubregion_relationInput[]
1085
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutSubregion_relationInput | Prisma.CountryCreateOrConnectWithoutSubregion_relationInput[]
1086
- upsert?: Prisma.CountryUpsertWithWhereUniqueWithoutSubregion_relationInput | Prisma.CountryUpsertWithWhereUniqueWithoutSubregion_relationInput[]
1087
- createMany?: Prisma.CountryCreateManySubregion_relationInputEnvelope
1088
- set?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1089
- disconnect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1090
- delete?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1091
- connect?: Prisma.CountryWhereUniqueInput | Prisma.CountryWhereUniqueInput[]
1092
- update?: Prisma.CountryUpdateWithWhereUniqueWithoutSubregion_relationInput | Prisma.CountryUpdateWithWhereUniqueWithoutSubregion_relationInput[]
1093
- updateMany?: Prisma.CountryUpdateManyWithWhereWithoutSubregion_relationInput | Prisma.CountryUpdateManyWithWhereWithoutSubregion_relationInput[]
1094
- deleteMany?: Prisma.CountryScalarWhereInput | Prisma.CountryScalarWhereInput[]
1095
- }
1096
-
1097
- export type CountryCreateNestedOneWithoutStatesInput = {
1098
- create?: Prisma.XOR<Prisma.CountryCreateWithoutStatesInput, Prisma.CountryUncheckedCreateWithoutStatesInput>
1099
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutStatesInput
1100
- connect?: Prisma.CountryWhereUniqueInput
1101
- }
1102
-
1103
- export type CountryUpdateOneWithoutStatesNestedInput = {
1104
- create?: Prisma.XOR<Prisma.CountryCreateWithoutStatesInput, Prisma.CountryUncheckedCreateWithoutStatesInput>
1105
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutStatesInput
1106
- upsert?: Prisma.CountryUpsertWithoutStatesInput
1107
- disconnect?: Prisma.CountryWhereInput | boolean
1108
- delete?: Prisma.CountryWhereInput | boolean
1109
- connect?: Prisma.CountryWhereUniqueInput
1110
- update?: Prisma.XOR<Prisma.XOR<Prisma.CountryUpdateToOneWithWhereWithoutStatesInput, Prisma.CountryUpdateWithoutStatesInput>, Prisma.CountryUncheckedUpdateWithoutStatesInput>
1111
- }
1112
-
1113
- export type CountryCreateNestedOneWithoutCitiesInput = {
1114
- create?: Prisma.XOR<Prisma.CountryCreateWithoutCitiesInput, Prisma.CountryUncheckedCreateWithoutCitiesInput>
1115
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutCitiesInput
1116
- connect?: Prisma.CountryWhereUniqueInput
1117
- }
1118
-
1119
- export type CountryUpdateOneWithoutCitiesNestedInput = {
1120
- create?: Prisma.XOR<Prisma.CountryCreateWithoutCitiesInput, Prisma.CountryUncheckedCreateWithoutCitiesInput>
1121
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutCitiesInput
1122
- upsert?: Prisma.CountryUpsertWithoutCitiesInput
1123
- disconnect?: Prisma.CountryWhereInput | boolean
1124
- delete?: Prisma.CountryWhereInput | boolean
1125
- connect?: Prisma.CountryWhereUniqueInput
1126
- update?: Prisma.XOR<Prisma.XOR<Prisma.CountryUpdateToOneWithWhereWithoutCitiesInput, Prisma.CountryUpdateWithoutCitiesInput>, Prisma.CountryUncheckedUpdateWithoutCitiesInput>
1127
- }
1128
-
1129
- export type CountryCreateNestedOneWithoutLocationsInput = {
1130
- create?: Prisma.XOR<Prisma.CountryCreateWithoutLocationsInput, Prisma.CountryUncheckedCreateWithoutLocationsInput>
1131
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutLocationsInput
1132
- connect?: Prisma.CountryWhereUniqueInput
1133
- }
1134
-
1135
- export type CountryUpdateOneWithoutLocationsNestedInput = {
1136
- create?: Prisma.XOR<Prisma.CountryCreateWithoutLocationsInput, Prisma.CountryUncheckedCreateWithoutLocationsInput>
1137
- connectOrCreate?: Prisma.CountryCreateOrConnectWithoutLocationsInput
1138
- upsert?: Prisma.CountryUpsertWithoutLocationsInput
1139
- disconnect?: Prisma.CountryWhereInput | boolean
1140
- delete?: Prisma.CountryWhereInput | boolean
1141
- connect?: Prisma.CountryWhereUniqueInput
1142
- update?: Prisma.XOR<Prisma.XOR<Prisma.CountryUpdateToOneWithWhereWithoutLocationsInput, Prisma.CountryUpdateWithoutLocationsInput>, Prisma.CountryUncheckedUpdateWithoutLocationsInput>
1143
- }
1144
-
1145
- export type CountryCreateWithoutRegion_relationInput = {
1146
- name?: string | null
1147
- iso3?: string | null
1148
- iso2?: string | null
1149
- numeric_code?: string | null
1150
- phonecode?: string | null
1151
- capital?: string | null
1152
- currency?: string | null
1153
- currency_name?: string | null
1154
- currency_symbol?: string | null
1155
- tld?: string | null
1156
- native?: string | null
1157
- region?: string | null
1158
- subregion?: string | null
1159
- nationality?: string | null
1160
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1161
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1162
- emoji?: string | null
1163
- emojiU?: string | null
1164
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1165
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1166
- wikiDataId?: string | null
1167
- status?: boolean | null
1168
- created_at?: Date | string
1169
- created_by?: number | null
1170
- updated_at?: Date | string
1171
- updated_by?: number | null
1172
- is_deleted?: boolean | null
1173
- deleted_by?: number | null
1174
- deleted_at?: Date | string | null
1175
- subregion_relation?: Prisma.SubregionCreateNestedOneWithoutCountriesInput
1176
- states?: Prisma.StateCreateNestedManyWithoutCountryInput
1177
- cities?: Prisma.CityCreateNestedManyWithoutCountryInput
1178
- locations?: Prisma.LocationCreateNestedManyWithoutCountryInput
1179
- }
1180
-
1181
- export type CountryUncheckedCreateWithoutRegion_relationInput = {
1182
- id?: number
1183
- name?: string | null
1184
- iso3?: string | null
1185
- iso2?: string | null
1186
- numeric_code?: string | null
1187
- phonecode?: string | null
1188
- capital?: string | null
1189
- currency?: string | null
1190
- currency_name?: string | null
1191
- currency_symbol?: string | null
1192
- tld?: string | null
1193
- native?: string | null
1194
- region?: string | null
1195
- subregion?: string | null
1196
- nationality?: string | null
1197
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1198
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1199
- emoji?: string | null
1200
- emojiU?: string | null
1201
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1202
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1203
- wikiDataId?: string | null
1204
- status?: boolean | null
1205
- created_at?: Date | string
1206
- created_by?: number | null
1207
- updated_at?: Date | string
1208
- updated_by?: number | null
1209
- is_deleted?: boolean | null
1210
- deleted_by?: number | null
1211
- deleted_at?: Date | string | null
1212
- subregion_id?: number | null
1213
- states?: Prisma.StateUncheckedCreateNestedManyWithoutCountryInput
1214
- cities?: Prisma.CityUncheckedCreateNestedManyWithoutCountryInput
1215
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCountryInput
1216
- }
1217
-
1218
- export type CountryCreateOrConnectWithoutRegion_relationInput = {
1219
- where: Prisma.CountryWhereUniqueInput
1220
- create: Prisma.XOR<Prisma.CountryCreateWithoutRegion_relationInput, Prisma.CountryUncheckedCreateWithoutRegion_relationInput>
1221
- }
1222
-
1223
- export type CountryCreateManyRegion_relationInputEnvelope = {
1224
- data: Prisma.CountryCreateManyRegion_relationInput | Prisma.CountryCreateManyRegion_relationInput[]
1225
- skipDuplicates?: boolean
1226
- }
1227
-
1228
- export type CountryUpsertWithWhereUniqueWithoutRegion_relationInput = {
1229
- where: Prisma.CountryWhereUniqueInput
1230
- update: Prisma.XOR<Prisma.CountryUpdateWithoutRegion_relationInput, Prisma.CountryUncheckedUpdateWithoutRegion_relationInput>
1231
- create: Prisma.XOR<Prisma.CountryCreateWithoutRegion_relationInput, Prisma.CountryUncheckedCreateWithoutRegion_relationInput>
1232
- }
1233
-
1234
- export type CountryUpdateWithWhereUniqueWithoutRegion_relationInput = {
1235
- where: Prisma.CountryWhereUniqueInput
1236
- data: Prisma.XOR<Prisma.CountryUpdateWithoutRegion_relationInput, Prisma.CountryUncheckedUpdateWithoutRegion_relationInput>
1237
- }
1238
-
1239
- export type CountryUpdateManyWithWhereWithoutRegion_relationInput = {
1240
- where: Prisma.CountryScalarWhereInput
1241
- data: Prisma.XOR<Prisma.CountryUpdateManyMutationInput, Prisma.CountryUncheckedUpdateManyWithoutRegion_relationInput>
1242
- }
1243
-
1244
- export type CountryScalarWhereInput = {
1245
- AND?: Prisma.CountryScalarWhereInput | Prisma.CountryScalarWhereInput[]
1246
- OR?: Prisma.CountryScalarWhereInput[]
1247
- NOT?: Prisma.CountryScalarWhereInput | Prisma.CountryScalarWhereInput[]
1248
- id?: Prisma.IntFilter<"Country"> | number
1249
- name?: Prisma.StringNullableFilter<"Country"> | string | null
1250
- iso3?: Prisma.StringNullableFilter<"Country"> | string | null
1251
- iso2?: Prisma.StringNullableFilter<"Country"> | string | null
1252
- numeric_code?: Prisma.StringNullableFilter<"Country"> | string | null
1253
- phonecode?: Prisma.StringNullableFilter<"Country"> | string | null
1254
- capital?: Prisma.StringNullableFilter<"Country"> | string | null
1255
- currency?: Prisma.StringNullableFilter<"Country"> | string | null
1256
- currency_name?: Prisma.StringNullableFilter<"Country"> | string | null
1257
- currency_symbol?: Prisma.StringNullableFilter<"Country"> | string | null
1258
- tld?: Prisma.StringNullableFilter<"Country"> | string | null
1259
- native?: Prisma.StringNullableFilter<"Country"> | string | null
1260
- region?: Prisma.StringNullableFilter<"Country"> | string | null
1261
- subregion?: Prisma.StringNullableFilter<"Country"> | string | null
1262
- nationality?: Prisma.StringNullableFilter<"Country"> | string | null
1263
- latitude?: Prisma.DecimalNullableFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1264
- longitude?: Prisma.DecimalNullableFilter<"Country"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1265
- emoji?: Prisma.StringNullableFilter<"Country"> | string | null
1266
- emojiU?: Prisma.StringNullableFilter<"Country"> | string | null
1267
- timezones?: Prisma.JsonNullableFilter<"Country">
1268
- translations?: Prisma.JsonNullableFilter<"Country">
1269
- wikiDataId?: Prisma.StringNullableFilter<"Country"> | string | null
1270
- status?: Prisma.BoolNullableFilter<"Country"> | boolean | null
1271
- created_at?: Prisma.DateTimeFilter<"Country"> | Date | string
1272
- created_by?: Prisma.IntNullableFilter<"Country"> | number | null
1273
- updated_at?: Prisma.DateTimeFilter<"Country"> | Date | string
1274
- updated_by?: Prisma.IntNullableFilter<"Country"> | number | null
1275
- is_deleted?: Prisma.BoolNullableFilter<"Country"> | boolean | null
1276
- deleted_by?: Prisma.IntNullableFilter<"Country"> | number | null
1277
- deleted_at?: Prisma.DateTimeNullableFilter<"Country"> | Date | string | null
1278
- region_id?: Prisma.IntNullableFilter<"Country"> | number | null
1279
- subregion_id?: Prisma.IntNullableFilter<"Country"> | number | null
1280
- }
1281
-
1282
- export type CountryCreateWithoutSubregion_relationInput = {
1283
- name?: string | null
1284
- iso3?: string | null
1285
- iso2?: string | null
1286
- numeric_code?: string | null
1287
- phonecode?: string | null
1288
- capital?: string | null
1289
- currency?: string | null
1290
- currency_name?: string | null
1291
- currency_symbol?: string | null
1292
- tld?: string | null
1293
- native?: string | null
1294
- region?: string | null
1295
- subregion?: string | null
1296
- nationality?: string | null
1297
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1298
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1299
- emoji?: string | null
1300
- emojiU?: string | null
1301
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1302
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1303
- wikiDataId?: string | null
1304
- status?: boolean | null
1305
- created_at?: Date | string
1306
- created_by?: number | null
1307
- updated_at?: Date | string
1308
- updated_by?: number | null
1309
- is_deleted?: boolean | null
1310
- deleted_by?: number | null
1311
- deleted_at?: Date | string | null
1312
- region_relation?: Prisma.RegionCreateNestedOneWithoutCountriesInput
1313
- states?: Prisma.StateCreateNestedManyWithoutCountryInput
1314
- cities?: Prisma.CityCreateNestedManyWithoutCountryInput
1315
- locations?: Prisma.LocationCreateNestedManyWithoutCountryInput
1316
- }
1317
-
1318
- export type CountryUncheckedCreateWithoutSubregion_relationInput = {
1319
- id?: number
1320
- name?: string | null
1321
- iso3?: string | null
1322
- iso2?: string | null
1323
- numeric_code?: string | null
1324
- phonecode?: string | null
1325
- capital?: string | null
1326
- currency?: string | null
1327
- currency_name?: string | null
1328
- currency_symbol?: string | null
1329
- tld?: string | null
1330
- native?: string | null
1331
- region?: string | null
1332
- subregion?: string | null
1333
- nationality?: string | null
1334
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1335
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1336
- emoji?: string | null
1337
- emojiU?: string | null
1338
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1339
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1340
- wikiDataId?: string | null
1341
- status?: boolean | null
1342
- created_at?: Date | string
1343
- created_by?: number | null
1344
- updated_at?: Date | string
1345
- updated_by?: number | null
1346
- is_deleted?: boolean | null
1347
- deleted_by?: number | null
1348
- deleted_at?: Date | string | null
1349
- region_id?: number | null
1350
- states?: Prisma.StateUncheckedCreateNestedManyWithoutCountryInput
1351
- cities?: Prisma.CityUncheckedCreateNestedManyWithoutCountryInput
1352
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCountryInput
1353
- }
1354
-
1355
- export type CountryCreateOrConnectWithoutSubregion_relationInput = {
1356
- where: Prisma.CountryWhereUniqueInput
1357
- create: Prisma.XOR<Prisma.CountryCreateWithoutSubregion_relationInput, Prisma.CountryUncheckedCreateWithoutSubregion_relationInput>
1358
- }
1359
-
1360
- export type CountryCreateManySubregion_relationInputEnvelope = {
1361
- data: Prisma.CountryCreateManySubregion_relationInput | Prisma.CountryCreateManySubregion_relationInput[]
1362
- skipDuplicates?: boolean
1363
- }
1364
-
1365
- export type CountryUpsertWithWhereUniqueWithoutSubregion_relationInput = {
1366
- where: Prisma.CountryWhereUniqueInput
1367
- update: Prisma.XOR<Prisma.CountryUpdateWithoutSubregion_relationInput, Prisma.CountryUncheckedUpdateWithoutSubregion_relationInput>
1368
- create: Prisma.XOR<Prisma.CountryCreateWithoutSubregion_relationInput, Prisma.CountryUncheckedCreateWithoutSubregion_relationInput>
1369
- }
1370
-
1371
- export type CountryUpdateWithWhereUniqueWithoutSubregion_relationInput = {
1372
- where: Prisma.CountryWhereUniqueInput
1373
- data: Prisma.XOR<Prisma.CountryUpdateWithoutSubregion_relationInput, Prisma.CountryUncheckedUpdateWithoutSubregion_relationInput>
1374
- }
1375
-
1376
- export type CountryUpdateManyWithWhereWithoutSubregion_relationInput = {
1377
- where: Prisma.CountryScalarWhereInput
1378
- data: Prisma.XOR<Prisma.CountryUpdateManyMutationInput, Prisma.CountryUncheckedUpdateManyWithoutSubregion_relationInput>
1379
- }
1380
-
1381
- export type CountryCreateWithoutStatesInput = {
1382
- name?: string | null
1383
- iso3?: string | null
1384
- iso2?: string | null
1385
- numeric_code?: string | null
1386
- phonecode?: string | null
1387
- capital?: string | null
1388
- currency?: string | null
1389
- currency_name?: string | null
1390
- currency_symbol?: string | null
1391
- tld?: string | null
1392
- native?: string | null
1393
- region?: string | null
1394
- subregion?: string | null
1395
- nationality?: string | null
1396
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1397
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1398
- emoji?: string | null
1399
- emojiU?: string | null
1400
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1401
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1402
- wikiDataId?: string | null
1403
- status?: boolean | null
1404
- created_at?: Date | string
1405
- created_by?: number | null
1406
- updated_at?: Date | string
1407
- updated_by?: number | null
1408
- is_deleted?: boolean | null
1409
- deleted_by?: number | null
1410
- deleted_at?: Date | string | null
1411
- region_relation?: Prisma.RegionCreateNestedOneWithoutCountriesInput
1412
- subregion_relation?: Prisma.SubregionCreateNestedOneWithoutCountriesInput
1413
- cities?: Prisma.CityCreateNestedManyWithoutCountryInput
1414
- locations?: Prisma.LocationCreateNestedManyWithoutCountryInput
1415
- }
1416
-
1417
- export type CountryUncheckedCreateWithoutStatesInput = {
1418
- id?: number
1419
- name?: string | null
1420
- iso3?: string | null
1421
- iso2?: string | null
1422
- numeric_code?: string | null
1423
- phonecode?: string | null
1424
- capital?: string | null
1425
- currency?: string | null
1426
- currency_name?: string | null
1427
- currency_symbol?: string | null
1428
- tld?: string | null
1429
- native?: string | null
1430
- region?: string | null
1431
- subregion?: string | null
1432
- nationality?: string | null
1433
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1434
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1435
- emoji?: string | null
1436
- emojiU?: string | null
1437
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1438
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1439
- wikiDataId?: string | null
1440
- status?: boolean | null
1441
- created_at?: Date | string
1442
- created_by?: number | null
1443
- updated_at?: Date | string
1444
- updated_by?: number | null
1445
- is_deleted?: boolean | null
1446
- deleted_by?: number | null
1447
- deleted_at?: Date | string | null
1448
- region_id?: number | null
1449
- subregion_id?: number | null
1450
- cities?: Prisma.CityUncheckedCreateNestedManyWithoutCountryInput
1451
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCountryInput
1452
- }
1453
-
1454
- export type CountryCreateOrConnectWithoutStatesInput = {
1455
- where: Prisma.CountryWhereUniqueInput
1456
- create: Prisma.XOR<Prisma.CountryCreateWithoutStatesInput, Prisma.CountryUncheckedCreateWithoutStatesInput>
1457
- }
1458
-
1459
- export type CountryUpsertWithoutStatesInput = {
1460
- update: Prisma.XOR<Prisma.CountryUpdateWithoutStatesInput, Prisma.CountryUncheckedUpdateWithoutStatesInput>
1461
- create: Prisma.XOR<Prisma.CountryCreateWithoutStatesInput, Prisma.CountryUncheckedCreateWithoutStatesInput>
1462
- where?: Prisma.CountryWhereInput
1463
- }
1464
-
1465
- export type CountryUpdateToOneWithWhereWithoutStatesInput = {
1466
- where?: Prisma.CountryWhereInput
1467
- data: Prisma.XOR<Prisma.CountryUpdateWithoutStatesInput, Prisma.CountryUncheckedUpdateWithoutStatesInput>
1468
- }
1469
-
1470
- export type CountryUpdateWithoutStatesInput = {
1471
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1472
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1473
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1474
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1475
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1476
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1477
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1478
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1479
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1480
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1481
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1482
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1483
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1484
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1485
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1486
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1487
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1488
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1489
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1490
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1491
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1492
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1493
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1494
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1495
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1496
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1497
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1498
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1499
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1500
- region_relation?: Prisma.RegionUpdateOneWithoutCountriesNestedInput
1501
- subregion_relation?: Prisma.SubregionUpdateOneWithoutCountriesNestedInput
1502
- cities?: Prisma.CityUpdateManyWithoutCountryNestedInput
1503
- locations?: Prisma.LocationUpdateManyWithoutCountryNestedInput
1504
- }
1505
-
1506
- export type CountryUncheckedUpdateWithoutStatesInput = {
1507
- id?: Prisma.IntFieldUpdateOperationsInput | number
1508
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1509
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1510
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1511
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1512
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1513
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1514
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1515
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1516
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1517
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1518
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1519
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1520
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1521
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1522
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1523
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1524
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1525
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1526
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1527
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1528
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1529
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1530
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1531
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1532
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1533
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1534
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1535
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1536
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1537
- region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1538
- subregion_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1539
- cities?: Prisma.CityUncheckedUpdateManyWithoutCountryNestedInput
1540
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCountryNestedInput
1541
- }
1542
-
1543
- export type CountryCreateWithoutCitiesInput = {
1544
- name?: string | null
1545
- iso3?: string | null
1546
- iso2?: string | null
1547
- numeric_code?: string | null
1548
- phonecode?: string | null
1549
- capital?: string | null
1550
- currency?: string | null
1551
- currency_name?: string | null
1552
- currency_symbol?: string | null
1553
- tld?: string | null
1554
- native?: string | null
1555
- region?: string | null
1556
- subregion?: string | null
1557
- nationality?: string | null
1558
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1559
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1560
- emoji?: string | null
1561
- emojiU?: string | null
1562
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1563
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1564
- wikiDataId?: string | null
1565
- status?: boolean | null
1566
- created_at?: Date | string
1567
- created_by?: number | null
1568
- updated_at?: Date | string
1569
- updated_by?: number | null
1570
- is_deleted?: boolean | null
1571
- deleted_by?: number | null
1572
- deleted_at?: Date | string | null
1573
- region_relation?: Prisma.RegionCreateNestedOneWithoutCountriesInput
1574
- subregion_relation?: Prisma.SubregionCreateNestedOneWithoutCountriesInput
1575
- states?: Prisma.StateCreateNestedManyWithoutCountryInput
1576
- locations?: Prisma.LocationCreateNestedManyWithoutCountryInput
1577
- }
1578
-
1579
- export type CountryUncheckedCreateWithoutCitiesInput = {
1580
- id?: number
1581
- name?: string | null
1582
- iso3?: string | null
1583
- iso2?: string | null
1584
- numeric_code?: string | null
1585
- phonecode?: string | null
1586
- capital?: string | null
1587
- currency?: string | null
1588
- currency_name?: string | null
1589
- currency_symbol?: string | null
1590
- tld?: string | null
1591
- native?: string | null
1592
- region?: string | null
1593
- subregion?: string | null
1594
- nationality?: string | null
1595
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1596
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1597
- emoji?: string | null
1598
- emojiU?: string | null
1599
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1600
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1601
- wikiDataId?: string | null
1602
- status?: boolean | null
1603
- created_at?: Date | string
1604
- created_by?: number | null
1605
- updated_at?: Date | string
1606
- updated_by?: number | null
1607
- is_deleted?: boolean | null
1608
- deleted_by?: number | null
1609
- deleted_at?: Date | string | null
1610
- region_id?: number | null
1611
- subregion_id?: number | null
1612
- states?: Prisma.StateUncheckedCreateNestedManyWithoutCountryInput
1613
- locations?: Prisma.LocationUncheckedCreateNestedManyWithoutCountryInput
1614
- }
1615
-
1616
- export type CountryCreateOrConnectWithoutCitiesInput = {
1617
- where: Prisma.CountryWhereUniqueInput
1618
- create: Prisma.XOR<Prisma.CountryCreateWithoutCitiesInput, Prisma.CountryUncheckedCreateWithoutCitiesInput>
1619
- }
1620
-
1621
- export type CountryUpsertWithoutCitiesInput = {
1622
- update: Prisma.XOR<Prisma.CountryUpdateWithoutCitiesInput, Prisma.CountryUncheckedUpdateWithoutCitiesInput>
1623
- create: Prisma.XOR<Prisma.CountryCreateWithoutCitiesInput, Prisma.CountryUncheckedCreateWithoutCitiesInput>
1624
- where?: Prisma.CountryWhereInput
1625
- }
1626
-
1627
- export type CountryUpdateToOneWithWhereWithoutCitiesInput = {
1628
- where?: Prisma.CountryWhereInput
1629
- data: Prisma.XOR<Prisma.CountryUpdateWithoutCitiesInput, Prisma.CountryUncheckedUpdateWithoutCitiesInput>
1630
- }
1631
-
1632
- export type CountryUpdateWithoutCitiesInput = {
1633
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1634
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1635
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1636
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1637
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1638
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1639
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1640
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1641
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1642
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1643
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1644
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1645
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1646
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1647
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1648
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1649
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1650
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1651
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1652
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1653
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1654
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1655
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1656
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1657
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1658
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1659
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1660
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1661
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1662
- region_relation?: Prisma.RegionUpdateOneWithoutCountriesNestedInput
1663
- subregion_relation?: Prisma.SubregionUpdateOneWithoutCountriesNestedInput
1664
- states?: Prisma.StateUpdateManyWithoutCountryNestedInput
1665
- locations?: Prisma.LocationUpdateManyWithoutCountryNestedInput
1666
- }
1667
-
1668
- export type CountryUncheckedUpdateWithoutCitiesInput = {
1669
- id?: Prisma.IntFieldUpdateOperationsInput | number
1670
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1671
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1672
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1673
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1674
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1675
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1676
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1677
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1678
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1679
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1680
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1681
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1682
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1683
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1684
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1685
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1686
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1687
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1688
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1689
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1690
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1691
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1692
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1693
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1694
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1695
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1696
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1697
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1698
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1699
- region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1700
- subregion_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1701
- states?: Prisma.StateUncheckedUpdateManyWithoutCountryNestedInput
1702
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCountryNestedInput
1703
- }
1704
-
1705
- export type CountryCreateWithoutLocationsInput = {
1706
- name?: string | null
1707
- iso3?: string | null
1708
- iso2?: string | null
1709
- numeric_code?: string | null
1710
- phonecode?: string | null
1711
- capital?: string | null
1712
- currency?: string | null
1713
- currency_name?: string | null
1714
- currency_symbol?: string | null
1715
- tld?: string | null
1716
- native?: string | null
1717
- region?: string | null
1718
- subregion?: string | null
1719
- nationality?: string | null
1720
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1721
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1722
- emoji?: string | null
1723
- emojiU?: string | null
1724
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1725
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1726
- wikiDataId?: string | null
1727
- status?: boolean | null
1728
- created_at?: Date | string
1729
- created_by?: number | null
1730
- updated_at?: Date | string
1731
- updated_by?: number | null
1732
- is_deleted?: boolean | null
1733
- deleted_by?: number | null
1734
- deleted_at?: Date | string | null
1735
- region_relation?: Prisma.RegionCreateNestedOneWithoutCountriesInput
1736
- subregion_relation?: Prisma.SubregionCreateNestedOneWithoutCountriesInput
1737
- states?: Prisma.StateCreateNestedManyWithoutCountryInput
1738
- cities?: Prisma.CityCreateNestedManyWithoutCountryInput
1739
- }
1740
-
1741
- export type CountryUncheckedCreateWithoutLocationsInput = {
1742
- id?: number
1743
- name?: string | null
1744
- iso3?: string | null
1745
- iso2?: string | null
1746
- numeric_code?: string | null
1747
- phonecode?: string | null
1748
- capital?: string | null
1749
- currency?: string | null
1750
- currency_name?: string | null
1751
- currency_symbol?: string | null
1752
- tld?: string | null
1753
- native?: string | null
1754
- region?: string | null
1755
- subregion?: string | null
1756
- nationality?: string | null
1757
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1758
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1759
- emoji?: string | null
1760
- emojiU?: string | null
1761
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1762
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1763
- wikiDataId?: string | null
1764
- status?: boolean | null
1765
- created_at?: Date | string
1766
- created_by?: number | null
1767
- updated_at?: Date | string
1768
- updated_by?: number | null
1769
- is_deleted?: boolean | null
1770
- deleted_by?: number | null
1771
- deleted_at?: Date | string | null
1772
- region_id?: number | null
1773
- subregion_id?: number | null
1774
- states?: Prisma.StateUncheckedCreateNestedManyWithoutCountryInput
1775
- cities?: Prisma.CityUncheckedCreateNestedManyWithoutCountryInput
1776
- }
1777
-
1778
- export type CountryCreateOrConnectWithoutLocationsInput = {
1779
- where: Prisma.CountryWhereUniqueInput
1780
- create: Prisma.XOR<Prisma.CountryCreateWithoutLocationsInput, Prisma.CountryUncheckedCreateWithoutLocationsInput>
1781
- }
1782
-
1783
- export type CountryUpsertWithoutLocationsInput = {
1784
- update: Prisma.XOR<Prisma.CountryUpdateWithoutLocationsInput, Prisma.CountryUncheckedUpdateWithoutLocationsInput>
1785
- create: Prisma.XOR<Prisma.CountryCreateWithoutLocationsInput, Prisma.CountryUncheckedCreateWithoutLocationsInput>
1786
- where?: Prisma.CountryWhereInput
1787
- }
1788
-
1789
- export type CountryUpdateToOneWithWhereWithoutLocationsInput = {
1790
- where?: Prisma.CountryWhereInput
1791
- data: Prisma.XOR<Prisma.CountryUpdateWithoutLocationsInput, Prisma.CountryUncheckedUpdateWithoutLocationsInput>
1792
- }
1793
-
1794
- export type CountryUpdateWithoutLocationsInput = {
1795
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1796
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1797
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1798
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1799
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1800
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1801
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1802
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1803
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1804
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1805
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1806
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1807
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1808
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1809
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1810
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1811
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1812
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1813
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1814
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1815
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1816
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1817
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1818
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1819
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1820
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1821
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1822
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1823
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1824
- region_relation?: Prisma.RegionUpdateOneWithoutCountriesNestedInput
1825
- subregion_relation?: Prisma.SubregionUpdateOneWithoutCountriesNestedInput
1826
- states?: Prisma.StateUpdateManyWithoutCountryNestedInput
1827
- cities?: Prisma.CityUpdateManyWithoutCountryNestedInput
1828
- }
1829
-
1830
- export type CountryUncheckedUpdateWithoutLocationsInput = {
1831
- id?: Prisma.IntFieldUpdateOperationsInput | number
1832
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1833
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1834
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1835
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1836
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1837
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1838
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1839
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1840
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1841
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1842
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1843
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1844
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1845
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1846
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1847
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1848
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1849
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1850
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1851
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1852
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1853
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1854
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1855
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1856
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1857
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1858
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1859
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1860
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1861
- region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1862
- subregion_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1863
- states?: Prisma.StateUncheckedUpdateManyWithoutCountryNestedInput
1864
- cities?: Prisma.CityUncheckedUpdateManyWithoutCountryNestedInput
1865
- }
1866
-
1867
- export type CountryCreateManyRegion_relationInput = {
1868
- id?: number
1869
- name?: string | null
1870
- iso3?: string | null
1871
- iso2?: string | null
1872
- numeric_code?: string | null
1873
- phonecode?: string | null
1874
- capital?: string | null
1875
- currency?: string | null
1876
- currency_name?: string | null
1877
- currency_symbol?: string | null
1878
- tld?: string | null
1879
- native?: string | null
1880
- region?: string | null
1881
- subregion?: string | null
1882
- nationality?: string | null
1883
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1884
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1885
- emoji?: string | null
1886
- emojiU?: string | null
1887
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1888
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1889
- wikiDataId?: string | null
1890
- status?: boolean | null
1891
- created_at?: Date | string
1892
- created_by?: number | null
1893
- updated_at?: Date | string
1894
- updated_by?: number | null
1895
- is_deleted?: boolean | null
1896
- deleted_by?: number | null
1897
- deleted_at?: Date | string | null
1898
- subregion_id?: number | null
1899
- }
1900
-
1901
- export type CountryUpdateWithoutRegion_relationInput = {
1902
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1903
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1904
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1905
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1906
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1907
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1908
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1909
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1910
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1911
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1912
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1913
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1914
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1915
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1916
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1917
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1918
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1919
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1920
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1921
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1922
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1923
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1924
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1925
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1926
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1927
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1928
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1929
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1930
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1931
- subregion_relation?: Prisma.SubregionUpdateOneWithoutCountriesNestedInput
1932
- states?: Prisma.StateUpdateManyWithoutCountryNestedInput
1933
- cities?: Prisma.CityUpdateManyWithoutCountryNestedInput
1934
- locations?: Prisma.LocationUpdateManyWithoutCountryNestedInput
1935
- }
1936
-
1937
- export type CountryUncheckedUpdateWithoutRegion_relationInput = {
1938
- id?: Prisma.IntFieldUpdateOperationsInput | number
1939
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1940
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1941
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1942
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1943
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1944
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1945
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1946
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1947
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1948
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1949
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1950
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1951
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1952
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1953
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1954
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1955
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1956
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1957
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1958
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1959
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1960
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1961
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1962
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1963
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1964
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1965
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1966
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1967
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1968
- subregion_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1969
- states?: Prisma.StateUncheckedUpdateManyWithoutCountryNestedInput
1970
- cities?: Prisma.CityUncheckedUpdateManyWithoutCountryNestedInput
1971
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCountryNestedInput
1972
- }
1973
-
1974
- export type CountryUncheckedUpdateManyWithoutRegion_relationInput = {
1975
- id?: Prisma.IntFieldUpdateOperationsInput | number
1976
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1977
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1978
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1979
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1980
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1981
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1982
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1983
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1984
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1985
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1986
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1987
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1988
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1989
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1990
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1991
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1992
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1993
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1994
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1995
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1996
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1997
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1998
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1999
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2000
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2001
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2002
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
2003
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2004
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2005
- subregion_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2006
- }
2007
-
2008
- export type CountryCreateManySubregion_relationInput = {
2009
- id?: number
2010
- name?: string | null
2011
- iso3?: string | null
2012
- iso2?: string | null
2013
- numeric_code?: string | null
2014
- phonecode?: string | null
2015
- capital?: string | null
2016
- currency?: string | null
2017
- currency_name?: string | null
2018
- currency_symbol?: string | null
2019
- tld?: string | null
2020
- native?: string | null
2021
- region?: string | null
2022
- subregion?: string | null
2023
- nationality?: string | null
2024
- latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
2025
- longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
2026
- emoji?: string | null
2027
- emojiU?: string | null
2028
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2029
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2030
- wikiDataId?: string | null
2031
- status?: boolean | null
2032
- created_at?: Date | string
2033
- created_by?: number | null
2034
- updated_at?: Date | string
2035
- updated_by?: number | null
2036
- is_deleted?: boolean | null
2037
- deleted_by?: number | null
2038
- deleted_at?: Date | string | null
2039
- region_id?: number | null
2040
- }
2041
-
2042
- export type CountryUpdateWithoutSubregion_relationInput = {
2043
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2044
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2045
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2046
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2047
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2048
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2049
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2050
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2051
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2052
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2053
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2054
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2055
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2056
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2057
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
2058
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
2059
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2060
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2061
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2062
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2063
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2064
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
2065
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2066
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2067
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2068
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2069
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
2070
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2071
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2072
- region_relation?: Prisma.RegionUpdateOneWithoutCountriesNestedInput
2073
- states?: Prisma.StateUpdateManyWithoutCountryNestedInput
2074
- cities?: Prisma.CityUpdateManyWithoutCountryNestedInput
2075
- locations?: Prisma.LocationUpdateManyWithoutCountryNestedInput
2076
- }
2077
-
2078
- export type CountryUncheckedUpdateWithoutSubregion_relationInput = {
2079
- id?: Prisma.IntFieldUpdateOperationsInput | number
2080
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2081
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2082
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2083
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2084
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2085
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2086
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2087
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2088
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2089
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2090
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2091
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2092
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2093
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2094
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
2095
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
2096
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2097
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2098
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2099
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2100
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2101
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
2102
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2103
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2104
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2105
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2106
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
2107
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2108
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2109
- region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2110
- states?: Prisma.StateUncheckedUpdateManyWithoutCountryNestedInput
2111
- cities?: Prisma.CityUncheckedUpdateManyWithoutCountryNestedInput
2112
- locations?: Prisma.LocationUncheckedUpdateManyWithoutCountryNestedInput
2113
- }
2114
-
2115
- export type CountryUncheckedUpdateManyWithoutSubregion_relationInput = {
2116
- id?: Prisma.IntFieldUpdateOperationsInput | number
2117
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2118
- iso3?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2119
- iso2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2120
- numeric_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2121
- phonecode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2122
- capital?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2123
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2124
- currency_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2125
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2126
- tld?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2127
- native?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2128
- region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2129
- subregion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2130
- nationality?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2131
- latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
2132
- longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
2133
- emoji?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2134
- emojiU?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2135
- timezones?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2136
- translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2137
- wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2138
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
2139
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2140
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2141
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2142
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2143
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
2144
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2145
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2146
- region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2147
- }
2148
-
2149
-
2150
- /**
2151
- * Count Type CountryCountOutputType
2152
- */
2153
-
2154
- export type CountryCountOutputType = {
2155
- states: number
2156
- cities: number
2157
- locations: number
2158
- }
2159
-
2160
- export type CountryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2161
- states?: boolean | CountryCountOutputTypeCountStatesArgs
2162
- cities?: boolean | CountryCountOutputTypeCountCitiesArgs
2163
- locations?: boolean | CountryCountOutputTypeCountLocationsArgs
2164
- }
2165
-
2166
- /**
2167
- * CountryCountOutputType without action
2168
- */
2169
- export type CountryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2170
- /**
2171
- * Select specific fields to fetch from the CountryCountOutputType
2172
- */
2173
- select?: Prisma.CountryCountOutputTypeSelect<ExtArgs> | null
2174
- }
2175
-
2176
- /**
2177
- * CountryCountOutputType without action
2178
- */
2179
- export type CountryCountOutputTypeCountStatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2180
- where?: Prisma.StateWhereInput
2181
- }
2182
-
2183
- /**
2184
- * CountryCountOutputType without action
2185
- */
2186
- export type CountryCountOutputTypeCountCitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2187
- where?: Prisma.CityWhereInput
2188
- }
2189
-
2190
- /**
2191
- * CountryCountOutputType without action
2192
- */
2193
- export type CountryCountOutputTypeCountLocationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2194
- where?: Prisma.LocationWhereInput
2195
- }
2196
-
2197
-
2198
- export type CountrySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2199
- id?: boolean
2200
- name?: boolean
2201
- iso3?: boolean
2202
- iso2?: boolean
2203
- numeric_code?: boolean
2204
- phonecode?: boolean
2205
- capital?: boolean
2206
- currency?: boolean
2207
- currency_name?: boolean
2208
- currency_symbol?: boolean
2209
- tld?: boolean
2210
- native?: boolean
2211
- region?: boolean
2212
- subregion?: boolean
2213
- nationality?: boolean
2214
- latitude?: boolean
2215
- longitude?: boolean
2216
- emoji?: boolean
2217
- emojiU?: boolean
2218
- timezones?: boolean
2219
- translations?: boolean
2220
- wikiDataId?: boolean
2221
- status?: boolean
2222
- created_at?: boolean
2223
- created_by?: boolean
2224
- updated_at?: boolean
2225
- updated_by?: boolean
2226
- is_deleted?: boolean
2227
- deleted_by?: boolean
2228
- deleted_at?: boolean
2229
- region_id?: boolean
2230
- subregion_id?: boolean
2231
- region_relation?: boolean | Prisma.Country$region_relationArgs<ExtArgs>
2232
- subregion_relation?: boolean | Prisma.Country$subregion_relationArgs<ExtArgs>
2233
- states?: boolean | Prisma.Country$statesArgs<ExtArgs>
2234
- cities?: boolean | Prisma.Country$citiesArgs<ExtArgs>
2235
- locations?: boolean | Prisma.Country$locationsArgs<ExtArgs>
2236
- _count?: boolean | Prisma.CountryCountOutputTypeDefaultArgs<ExtArgs>
2237
- }, ExtArgs["result"]["country"]>
2238
-
2239
- export type CountrySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2240
- id?: boolean
2241
- name?: boolean
2242
- iso3?: boolean
2243
- iso2?: boolean
2244
- numeric_code?: boolean
2245
- phonecode?: boolean
2246
- capital?: boolean
2247
- currency?: boolean
2248
- currency_name?: boolean
2249
- currency_symbol?: boolean
2250
- tld?: boolean
2251
- native?: boolean
2252
- region?: boolean
2253
- subregion?: boolean
2254
- nationality?: boolean
2255
- latitude?: boolean
2256
- longitude?: boolean
2257
- emoji?: boolean
2258
- emojiU?: boolean
2259
- timezones?: boolean
2260
- translations?: boolean
2261
- wikiDataId?: boolean
2262
- status?: boolean
2263
- created_at?: boolean
2264
- created_by?: boolean
2265
- updated_at?: boolean
2266
- updated_by?: boolean
2267
- is_deleted?: boolean
2268
- deleted_by?: boolean
2269
- deleted_at?: boolean
2270
- region_id?: boolean
2271
- subregion_id?: boolean
2272
- region_relation?: boolean | Prisma.Country$region_relationArgs<ExtArgs>
2273
- subregion_relation?: boolean | Prisma.Country$subregion_relationArgs<ExtArgs>
2274
- }, ExtArgs["result"]["country"]>
2275
-
2276
- export type CountrySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2277
- id?: boolean
2278
- name?: boolean
2279
- iso3?: boolean
2280
- iso2?: boolean
2281
- numeric_code?: boolean
2282
- phonecode?: boolean
2283
- capital?: boolean
2284
- currency?: boolean
2285
- currency_name?: boolean
2286
- currency_symbol?: boolean
2287
- tld?: boolean
2288
- native?: boolean
2289
- region?: boolean
2290
- subregion?: boolean
2291
- nationality?: boolean
2292
- latitude?: boolean
2293
- longitude?: boolean
2294
- emoji?: boolean
2295
- emojiU?: boolean
2296
- timezones?: boolean
2297
- translations?: boolean
2298
- wikiDataId?: boolean
2299
- status?: boolean
2300
- created_at?: boolean
2301
- created_by?: boolean
2302
- updated_at?: boolean
2303
- updated_by?: boolean
2304
- is_deleted?: boolean
2305
- deleted_by?: boolean
2306
- deleted_at?: boolean
2307
- region_id?: boolean
2308
- subregion_id?: boolean
2309
- region_relation?: boolean | Prisma.Country$region_relationArgs<ExtArgs>
2310
- subregion_relation?: boolean | Prisma.Country$subregion_relationArgs<ExtArgs>
2311
- }, ExtArgs["result"]["country"]>
2312
-
2313
- export type CountrySelectScalar = {
2314
- id?: boolean
2315
- name?: boolean
2316
- iso3?: boolean
2317
- iso2?: boolean
2318
- numeric_code?: boolean
2319
- phonecode?: boolean
2320
- capital?: boolean
2321
- currency?: boolean
2322
- currency_name?: boolean
2323
- currency_symbol?: boolean
2324
- tld?: boolean
2325
- native?: boolean
2326
- region?: boolean
2327
- subregion?: boolean
2328
- nationality?: boolean
2329
- latitude?: boolean
2330
- longitude?: boolean
2331
- emoji?: boolean
2332
- emojiU?: boolean
2333
- timezones?: boolean
2334
- translations?: boolean
2335
- wikiDataId?: boolean
2336
- status?: boolean
2337
- created_at?: boolean
2338
- created_by?: boolean
2339
- updated_at?: boolean
2340
- updated_by?: boolean
2341
- is_deleted?: boolean
2342
- deleted_by?: boolean
2343
- deleted_at?: boolean
2344
- region_id?: boolean
2345
- subregion_id?: boolean
2346
- }
2347
-
2348
- export type CountryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "iso3" | "iso2" | "numeric_code" | "phonecode" | "capital" | "currency" | "currency_name" | "currency_symbol" | "tld" | "native" | "region" | "subregion" | "nationality" | "latitude" | "longitude" | "emoji" | "emojiU" | "timezones" | "translations" | "wikiDataId" | "status" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_by" | "deleted_at" | "region_id" | "subregion_id", ExtArgs["result"]["country"]>
2349
- export type CountryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2350
- region_relation?: boolean | Prisma.Country$region_relationArgs<ExtArgs>
2351
- subregion_relation?: boolean | Prisma.Country$subregion_relationArgs<ExtArgs>
2352
- states?: boolean | Prisma.Country$statesArgs<ExtArgs>
2353
- cities?: boolean | Prisma.Country$citiesArgs<ExtArgs>
2354
- locations?: boolean | Prisma.Country$locationsArgs<ExtArgs>
2355
- _count?: boolean | Prisma.CountryCountOutputTypeDefaultArgs<ExtArgs>
2356
- }
2357
- export type CountryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2358
- region_relation?: boolean | Prisma.Country$region_relationArgs<ExtArgs>
2359
- subregion_relation?: boolean | Prisma.Country$subregion_relationArgs<ExtArgs>
2360
- }
2361
- export type CountryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2362
- region_relation?: boolean | Prisma.Country$region_relationArgs<ExtArgs>
2363
- subregion_relation?: boolean | Prisma.Country$subregion_relationArgs<ExtArgs>
2364
- }
2365
-
2366
- export type $CountryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2367
- name: "Country"
2368
- objects: {
2369
- region_relation: Prisma.$RegionPayload<ExtArgs> | null
2370
- subregion_relation: Prisma.$SubregionPayload<ExtArgs> | null
2371
- states: Prisma.$StatePayload<ExtArgs>[]
2372
- cities: Prisma.$CityPayload<ExtArgs>[]
2373
- locations: Prisma.$LocationPayload<ExtArgs>[]
2374
- }
2375
- scalars: runtime.Types.Extensions.GetPayloadResult<{
2376
- id: number
2377
- name: string | null
2378
- iso3: string | null
2379
- iso2: string | null
2380
- numeric_code: string | null
2381
- phonecode: string | null
2382
- capital: string | null
2383
- currency: string | null
2384
- currency_name: string | null
2385
- currency_symbol: string | null
2386
- tld: string | null
2387
- native: string | null
2388
- region: string | null
2389
- subregion: string | null
2390
- nationality: string | null
2391
- latitude: runtime.Decimal | null
2392
- longitude: runtime.Decimal | null
2393
- emoji: string | null
2394
- emojiU: string | null
2395
- timezones: runtime.JsonValue | null
2396
- translations: runtime.JsonValue | null
2397
- wikiDataId: string | null
2398
- status: boolean | null
2399
- created_at: Date
2400
- created_by: number | null
2401
- updated_at: Date
2402
- updated_by: number | null
2403
- is_deleted: boolean | null
2404
- deleted_by: number | null
2405
- deleted_at: Date | null
2406
- region_id: number | null
2407
- subregion_id: number | null
2408
- }, ExtArgs["result"]["country"]>
2409
- composites: {}
2410
- }
2411
-
2412
- export type CountryGetPayload<S extends boolean | null | undefined | CountryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CountryPayload, S>
2413
-
2414
- export type CountryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
2415
- Omit<CountryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2416
- select?: CountryCountAggregateInputType | true
2417
- }
2418
-
2419
- export interface CountryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2420
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Country'], meta: { name: 'Country' } }
2421
- /**
2422
- * Find zero or one Country that matches the filter.
2423
- * @param {CountryFindUniqueArgs} args - Arguments to find a Country
2424
- * @example
2425
- * // Get one Country
2426
- * const country = await prisma.country.findUnique({
2427
- * where: {
2428
- * // ... provide filter here
2429
- * }
2430
- * })
2431
- */
2432
- findUnique<T extends CountryFindUniqueArgs>(args: Prisma.SelectSubset<T, CountryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2433
-
2434
- /**
2435
- * Find one Country that matches the filter or throw an error with `error.code='P2025'`
2436
- * if no matches were found.
2437
- * @param {CountryFindUniqueOrThrowArgs} args - Arguments to find a Country
2438
- * @example
2439
- * // Get one Country
2440
- * const country = await prisma.country.findUniqueOrThrow({
2441
- * where: {
2442
- * // ... provide filter here
2443
- * }
2444
- * })
2445
- */
2446
- findUniqueOrThrow<T extends CountryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CountryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2447
-
2448
- /**
2449
- * Find the first Country that matches the filter.
2450
- * Note, that providing `undefined` is treated as the value not being there.
2451
- * Read more here: https://pris.ly/d/null-undefined
2452
- * @param {CountryFindFirstArgs} args - Arguments to find a Country
2453
- * @example
2454
- * // Get one Country
2455
- * const country = await prisma.country.findFirst({
2456
- * where: {
2457
- * // ... provide filter here
2458
- * }
2459
- * })
2460
- */
2461
- findFirst<T extends CountryFindFirstArgs>(args?: Prisma.SelectSubset<T, CountryFindFirstArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2462
-
2463
- /**
2464
- * Find the first Country that matches the filter or
2465
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2466
- * Note, that providing `undefined` is treated as the value not being there.
2467
- * Read more here: https://pris.ly/d/null-undefined
2468
- * @param {CountryFindFirstOrThrowArgs} args - Arguments to find a Country
2469
- * @example
2470
- * // Get one Country
2471
- * const country = await prisma.country.findFirstOrThrow({
2472
- * where: {
2473
- * // ... provide filter here
2474
- * }
2475
- * })
2476
- */
2477
- findFirstOrThrow<T extends CountryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CountryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2478
-
2479
- /**
2480
- * Find zero or more Countries that matches the filter.
2481
- * Note, that providing `undefined` is treated as the value not being there.
2482
- * Read more here: https://pris.ly/d/null-undefined
2483
- * @param {CountryFindManyArgs} args - Arguments to filter and select certain fields only.
2484
- * @example
2485
- * // Get all Countries
2486
- * const countries = await prisma.country.findMany()
2487
- *
2488
- * // Get first 10 Countries
2489
- * const countries = await prisma.country.findMany({ take: 10 })
2490
- *
2491
- * // Only select the `id`
2492
- * const countryWithIdOnly = await prisma.country.findMany({ select: { id: true } })
2493
- *
2494
- */
2495
- findMany<T extends CountryFindManyArgs>(args?: Prisma.SelectSubset<T, CountryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
2496
-
2497
- /**
2498
- * Create a Country.
2499
- * @param {CountryCreateArgs} args - Arguments to create a Country.
2500
- * @example
2501
- * // Create one Country
2502
- * const Country = await prisma.country.create({
2503
- * data: {
2504
- * // ... data to create a Country
2505
- * }
2506
- * })
2507
- *
2508
- */
2509
- create<T extends CountryCreateArgs>(args: Prisma.SelectSubset<T, CountryCreateArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2510
-
2511
- /**
2512
- * Create many Countries.
2513
- * @param {CountryCreateManyArgs} args - Arguments to create many Countries.
2514
- * @example
2515
- * // Create many Countries
2516
- * const country = await prisma.country.createMany({
2517
- * data: [
2518
- * // ... provide data here
2519
- * ]
2520
- * })
2521
- *
2522
- */
2523
- createMany<T extends CountryCreateManyArgs>(args?: Prisma.SelectSubset<T, CountryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2524
-
2525
- /**
2526
- * Create many Countries and returns the data saved in the database.
2527
- * @param {CountryCreateManyAndReturnArgs} args - Arguments to create many Countries.
2528
- * @example
2529
- * // Create many Countries
2530
- * const country = await prisma.country.createManyAndReturn({
2531
- * data: [
2532
- * // ... provide data here
2533
- * ]
2534
- * })
2535
- *
2536
- * // Create many Countries and only return the `id`
2537
- * const countryWithIdOnly = await prisma.country.createManyAndReturn({
2538
- * select: { id: true },
2539
- * data: [
2540
- * // ... provide data here
2541
- * ]
2542
- * })
2543
- * Note, that providing `undefined` is treated as the value not being there.
2544
- * Read more here: https://pris.ly/d/null-undefined
2545
- *
2546
- */
2547
- createManyAndReturn<T extends CountryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CountryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
2548
-
2549
- /**
2550
- * Delete a Country.
2551
- * @param {CountryDeleteArgs} args - Arguments to delete one Country.
2552
- * @example
2553
- * // Delete one Country
2554
- * const Country = await prisma.country.delete({
2555
- * where: {
2556
- * // ... filter to delete one Country
2557
- * }
2558
- * })
2559
- *
2560
- */
2561
- delete<T extends CountryDeleteArgs>(args: Prisma.SelectSubset<T, CountryDeleteArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2562
-
2563
- /**
2564
- * Update one Country.
2565
- * @param {CountryUpdateArgs} args - Arguments to update one Country.
2566
- * @example
2567
- * // Update one Country
2568
- * const country = await prisma.country.update({
2569
- * where: {
2570
- * // ... provide filter here
2571
- * },
2572
- * data: {
2573
- * // ... provide data here
2574
- * }
2575
- * })
2576
- *
2577
- */
2578
- update<T extends CountryUpdateArgs>(args: Prisma.SelectSubset<T, CountryUpdateArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2579
-
2580
- /**
2581
- * Delete zero or more Countries.
2582
- * @param {CountryDeleteManyArgs} args - Arguments to filter Countries to delete.
2583
- * @example
2584
- * // Delete a few Countries
2585
- * const { count } = await prisma.country.deleteMany({
2586
- * where: {
2587
- * // ... provide filter here
2588
- * }
2589
- * })
2590
- *
2591
- */
2592
- deleteMany<T extends CountryDeleteManyArgs>(args?: Prisma.SelectSubset<T, CountryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2593
-
2594
- /**
2595
- * Update zero or more Countries.
2596
- * Note, that providing `undefined` is treated as the value not being there.
2597
- * Read more here: https://pris.ly/d/null-undefined
2598
- * @param {CountryUpdateManyArgs} args - Arguments to update one or more rows.
2599
- * @example
2600
- * // Update many Countries
2601
- * const country = await prisma.country.updateMany({
2602
- * where: {
2603
- * // ... provide filter here
2604
- * },
2605
- * data: {
2606
- * // ... provide data here
2607
- * }
2608
- * })
2609
- *
2610
- */
2611
- updateMany<T extends CountryUpdateManyArgs>(args: Prisma.SelectSubset<T, CountryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2612
-
2613
- /**
2614
- * Update zero or more Countries and returns the data updated in the database.
2615
- * @param {CountryUpdateManyAndReturnArgs} args - Arguments to update many Countries.
2616
- * @example
2617
- * // Update many Countries
2618
- * const country = await prisma.country.updateManyAndReturn({
2619
- * where: {
2620
- * // ... provide filter here
2621
- * },
2622
- * data: [
2623
- * // ... provide data here
2624
- * ]
2625
- * })
2626
- *
2627
- * // Update zero or more Countries and only return the `id`
2628
- * const countryWithIdOnly = await prisma.country.updateManyAndReturn({
2629
- * select: { id: true },
2630
- * where: {
2631
- * // ... provide filter here
2632
- * },
2633
- * data: [
2634
- * // ... provide data here
2635
- * ]
2636
- * })
2637
- * Note, that providing `undefined` is treated as the value not being there.
2638
- * Read more here: https://pris.ly/d/null-undefined
2639
- *
2640
- */
2641
- updateManyAndReturn<T extends CountryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CountryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2642
-
2643
- /**
2644
- * Create or update one Country.
2645
- * @param {CountryUpsertArgs} args - Arguments to update or create a Country.
2646
- * @example
2647
- * // Update or create a Country
2648
- * const country = await prisma.country.upsert({
2649
- * create: {
2650
- * // ... data to create a Country
2651
- * },
2652
- * update: {
2653
- * // ... in case it already exists, update
2654
- * },
2655
- * where: {
2656
- * // ... the filter for the Country we want to update
2657
- * }
2658
- * })
2659
- */
2660
- upsert<T extends CountryUpsertArgs>(args: Prisma.SelectSubset<T, CountryUpsertArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2661
-
2662
-
2663
- /**
2664
- * Count the number of Countries.
2665
- * Note, that providing `undefined` is treated as the value not being there.
2666
- * Read more here: https://pris.ly/d/null-undefined
2667
- * @param {CountryCountArgs} args - Arguments to filter Countries to count.
2668
- * @example
2669
- * // Count the number of Countries
2670
- * const count = await prisma.country.count({
2671
- * where: {
2672
- * // ... the filter for the Countries we want to count
2673
- * }
2674
- * })
2675
- **/
2676
- count<T extends CountryCountArgs>(
2677
- args?: Prisma.Subset<T, CountryCountArgs>,
2678
- ): Prisma.PrismaPromise<
2679
- T extends runtime.Types.Utils.Record<'select', any>
2680
- ? T['select'] extends true
2681
- ? number
2682
- : Prisma.GetScalarType<T['select'], CountryCountAggregateOutputType>
2683
- : number
2684
- >
2685
-
2686
- /**
2687
- * Allows you to perform aggregations operations on a Country.
2688
- * Note, that providing `undefined` is treated as the value not being there.
2689
- * Read more here: https://pris.ly/d/null-undefined
2690
- * @param {CountryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2691
- * @example
2692
- * // Ordered by age ascending
2693
- * // Where email contains prisma.io
2694
- * // Limited to the 10 users
2695
- * const aggregations = await prisma.user.aggregate({
2696
- * _avg: {
2697
- * age: true,
2698
- * },
2699
- * where: {
2700
- * email: {
2701
- * contains: "prisma.io",
2702
- * },
2703
- * },
2704
- * orderBy: {
2705
- * age: "asc",
2706
- * },
2707
- * take: 10,
2708
- * })
2709
- **/
2710
- aggregate<T extends CountryAggregateArgs>(args: Prisma.Subset<T, CountryAggregateArgs>): Prisma.PrismaPromise<GetCountryAggregateType<T>>
2711
-
2712
- /**
2713
- * Group by Country.
2714
- * Note, that providing `undefined` is treated as the value not being there.
2715
- * Read more here: https://pris.ly/d/null-undefined
2716
- * @param {CountryGroupByArgs} args - Group by arguments.
2717
- * @example
2718
- * // Group by city, order by createdAt, get count
2719
- * const result = await prisma.user.groupBy({
2720
- * by: ['city', 'createdAt'],
2721
- * orderBy: {
2722
- * createdAt: true
2723
- * },
2724
- * _count: {
2725
- * _all: true
2726
- * },
2727
- * })
2728
- *
2729
- **/
2730
- groupBy<
2731
- T extends CountryGroupByArgs,
2732
- HasSelectOrTake extends Prisma.Or<
2733
- Prisma.Extends<'skip', Prisma.Keys<T>>,
2734
- Prisma.Extends<'take', Prisma.Keys<T>>
2735
- >,
2736
- OrderByArg extends Prisma.True extends HasSelectOrTake
2737
- ? { orderBy: CountryGroupByArgs['orderBy'] }
2738
- : { orderBy?: CountryGroupByArgs['orderBy'] },
2739
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2740
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2741
- ByValid extends Prisma.Has<ByFields, OrderFields>,
2742
- HavingFields extends Prisma.GetHavingFields<T['having']>,
2743
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
2744
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2745
- InputErrors extends ByEmpty extends Prisma.True
2746
- ? `Error: "by" must not be empty.`
2747
- : HavingValid extends Prisma.False
2748
- ? {
2749
- [P in HavingFields]: P extends ByFields
2750
- ? never
2751
- : P extends string
2752
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2753
- : [
2754
- Error,
2755
- 'Field ',
2756
- P,
2757
- ` in "having" needs to be provided in "by"`,
2758
- ]
2759
- }[HavingFields]
2760
- : 'take' extends Prisma.Keys<T>
2761
- ? 'orderBy' extends Prisma.Keys<T>
2762
- ? ByValid extends Prisma.True
2763
- ? {}
2764
- : {
2765
- [P in OrderFields]: P extends ByFields
2766
- ? never
2767
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2768
- }[OrderFields]
2769
- : 'Error: If you provide "take", you also need to provide "orderBy"'
2770
- : 'skip' extends Prisma.Keys<T>
2771
- ? 'orderBy' extends Prisma.Keys<T>
2772
- ? ByValid extends Prisma.True
2773
- ? {}
2774
- : {
2775
- [P in OrderFields]: P extends ByFields
2776
- ? never
2777
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2778
- }[OrderFields]
2779
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
2780
- : ByValid extends Prisma.True
2781
- ? {}
2782
- : {
2783
- [P in OrderFields]: P extends ByFields
2784
- ? never
2785
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2786
- }[OrderFields]
2787
- >(args: Prisma.SubsetIntersection<T, CountryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCountryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2788
- /**
2789
- * Fields of the Country model
2790
- */
2791
- readonly fields: CountryFieldRefs;
2792
- }
2793
-
2794
- /**
2795
- * The delegate class that acts as a "Promise-like" for Country.
2796
- * Why is this prefixed with `Prisma__`?
2797
- * Because we want to prevent naming conflicts as mentioned in
2798
- * https://github.com/prisma/prisma-client-js/issues/707
2799
- */
2800
- export interface Prisma__CountryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2801
- readonly [Symbol.toStringTag]: "PrismaPromise"
2802
- region_relation<T extends Prisma.Country$region_relationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Country$region_relationArgs<ExtArgs>>): Prisma.Prisma__RegionClient<runtime.Types.Result.GetResult<Prisma.$RegionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2803
- subregion_relation<T extends Prisma.Country$subregion_relationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Country$subregion_relationArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2804
- states<T extends Prisma.Country$statesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Country$statesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2805
- cities<T extends Prisma.Country$citiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Country$citiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2806
- locations<T extends Prisma.Country$locationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Country$locationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2807
- /**
2808
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2809
- * @param onfulfilled The callback to execute when the Promise is resolved.
2810
- * @param onrejected The callback to execute when the Promise is rejected.
2811
- * @returns A Promise for the completion of which ever callback is executed.
2812
- */
2813
- 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>
2814
- /**
2815
- * Attaches a callback for only the rejection of the Promise.
2816
- * @param onrejected The callback to execute when the Promise is rejected.
2817
- * @returns A Promise for the completion of the callback.
2818
- */
2819
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2820
- /**
2821
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2822
- * resolved value cannot be modified from the callback.
2823
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2824
- * @returns A Promise for the completion of the callback.
2825
- */
2826
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2827
- }
2828
-
2829
-
2830
-
2831
-
2832
- /**
2833
- * Fields of the Country model
2834
- */
2835
- export interface CountryFieldRefs {
2836
- readonly id: Prisma.FieldRef<"Country", 'Int'>
2837
- readonly name: Prisma.FieldRef<"Country", 'String'>
2838
- readonly iso3: Prisma.FieldRef<"Country", 'String'>
2839
- readonly iso2: Prisma.FieldRef<"Country", 'String'>
2840
- readonly numeric_code: Prisma.FieldRef<"Country", 'String'>
2841
- readonly phonecode: Prisma.FieldRef<"Country", 'String'>
2842
- readonly capital: Prisma.FieldRef<"Country", 'String'>
2843
- readonly currency: Prisma.FieldRef<"Country", 'String'>
2844
- readonly currency_name: Prisma.FieldRef<"Country", 'String'>
2845
- readonly currency_symbol: Prisma.FieldRef<"Country", 'String'>
2846
- readonly tld: Prisma.FieldRef<"Country", 'String'>
2847
- readonly native: Prisma.FieldRef<"Country", 'String'>
2848
- readonly region: Prisma.FieldRef<"Country", 'String'>
2849
- readonly subregion: Prisma.FieldRef<"Country", 'String'>
2850
- readonly nationality: Prisma.FieldRef<"Country", 'String'>
2851
- readonly latitude: Prisma.FieldRef<"Country", 'Decimal'>
2852
- readonly longitude: Prisma.FieldRef<"Country", 'Decimal'>
2853
- readonly emoji: Prisma.FieldRef<"Country", 'String'>
2854
- readonly emojiU: Prisma.FieldRef<"Country", 'String'>
2855
- readonly timezones: Prisma.FieldRef<"Country", 'Json'>
2856
- readonly translations: Prisma.FieldRef<"Country", 'Json'>
2857
- readonly wikiDataId: Prisma.FieldRef<"Country", 'String'>
2858
- readonly status: Prisma.FieldRef<"Country", 'Boolean'>
2859
- readonly created_at: Prisma.FieldRef<"Country", 'DateTime'>
2860
- readonly created_by: Prisma.FieldRef<"Country", 'Int'>
2861
- readonly updated_at: Prisma.FieldRef<"Country", 'DateTime'>
2862
- readonly updated_by: Prisma.FieldRef<"Country", 'Int'>
2863
- readonly is_deleted: Prisma.FieldRef<"Country", 'Boolean'>
2864
- readonly deleted_by: Prisma.FieldRef<"Country", 'Int'>
2865
- readonly deleted_at: Prisma.FieldRef<"Country", 'DateTime'>
2866
- readonly region_id: Prisma.FieldRef<"Country", 'Int'>
2867
- readonly subregion_id: Prisma.FieldRef<"Country", 'Int'>
2868
- }
2869
-
2870
-
2871
- // Custom InputTypes
2872
- /**
2873
- * Country findUnique
2874
- */
2875
- export type CountryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2876
- /**
2877
- * Select specific fields to fetch from the Country
2878
- */
2879
- select?: Prisma.CountrySelect<ExtArgs> | null
2880
- /**
2881
- * Omit specific fields from the Country
2882
- */
2883
- omit?: Prisma.CountryOmit<ExtArgs> | null
2884
- /**
2885
- * Choose, which related nodes to fetch as well
2886
- */
2887
- include?: Prisma.CountryInclude<ExtArgs> | null
2888
- /**
2889
- * Filter, which Country to fetch.
2890
- */
2891
- where: Prisma.CountryWhereUniqueInput
2892
- }
2893
-
2894
- /**
2895
- * Country findUniqueOrThrow
2896
- */
2897
- export type CountryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2898
- /**
2899
- * Select specific fields to fetch from the Country
2900
- */
2901
- select?: Prisma.CountrySelect<ExtArgs> | null
2902
- /**
2903
- * Omit specific fields from the Country
2904
- */
2905
- omit?: Prisma.CountryOmit<ExtArgs> | null
2906
- /**
2907
- * Choose, which related nodes to fetch as well
2908
- */
2909
- include?: Prisma.CountryInclude<ExtArgs> | null
2910
- /**
2911
- * Filter, which Country to fetch.
2912
- */
2913
- where: Prisma.CountryWhereUniqueInput
2914
- }
2915
-
2916
- /**
2917
- * Country findFirst
2918
- */
2919
- export type CountryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2920
- /**
2921
- * Select specific fields to fetch from the Country
2922
- */
2923
- select?: Prisma.CountrySelect<ExtArgs> | null
2924
- /**
2925
- * Omit specific fields from the Country
2926
- */
2927
- omit?: Prisma.CountryOmit<ExtArgs> | null
2928
- /**
2929
- * Choose, which related nodes to fetch as well
2930
- */
2931
- include?: Prisma.CountryInclude<ExtArgs> | null
2932
- /**
2933
- * Filter, which Country to fetch.
2934
- */
2935
- where?: Prisma.CountryWhereInput
2936
- /**
2937
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2938
- *
2939
- * Determine the order of Countries to fetch.
2940
- */
2941
- orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
2942
- /**
2943
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2944
- *
2945
- * Sets the position for searching for Countries.
2946
- */
2947
- cursor?: Prisma.CountryWhereUniqueInput
2948
- /**
2949
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2950
- *
2951
- * Take `±n` Countries from the position of the cursor.
2952
- */
2953
- take?: number
2954
- /**
2955
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2956
- *
2957
- * Skip the first `n` Countries.
2958
- */
2959
- skip?: number
2960
- /**
2961
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2962
- *
2963
- * Filter by unique combinations of Countries.
2964
- */
2965
- distinct?: Prisma.CountryScalarFieldEnum | Prisma.CountryScalarFieldEnum[]
2966
- }
2967
-
2968
- /**
2969
- * Country findFirstOrThrow
2970
- */
2971
- export type CountryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2972
- /**
2973
- * Select specific fields to fetch from the Country
2974
- */
2975
- select?: Prisma.CountrySelect<ExtArgs> | null
2976
- /**
2977
- * Omit specific fields from the Country
2978
- */
2979
- omit?: Prisma.CountryOmit<ExtArgs> | null
2980
- /**
2981
- * Choose, which related nodes to fetch as well
2982
- */
2983
- include?: Prisma.CountryInclude<ExtArgs> | null
2984
- /**
2985
- * Filter, which Country to fetch.
2986
- */
2987
- where?: Prisma.CountryWhereInput
2988
- /**
2989
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2990
- *
2991
- * Determine the order of Countries to fetch.
2992
- */
2993
- orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
2994
- /**
2995
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2996
- *
2997
- * Sets the position for searching for Countries.
2998
- */
2999
- cursor?: Prisma.CountryWhereUniqueInput
3000
- /**
3001
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3002
- *
3003
- * Take `±n` Countries from the position of the cursor.
3004
- */
3005
- take?: number
3006
- /**
3007
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3008
- *
3009
- * Skip the first `n` Countries.
3010
- */
3011
- skip?: number
3012
- /**
3013
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3014
- *
3015
- * Filter by unique combinations of Countries.
3016
- */
3017
- distinct?: Prisma.CountryScalarFieldEnum | Prisma.CountryScalarFieldEnum[]
3018
- }
3019
-
3020
- /**
3021
- * Country findMany
3022
- */
3023
- export type CountryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3024
- /**
3025
- * Select specific fields to fetch from the Country
3026
- */
3027
- select?: Prisma.CountrySelect<ExtArgs> | null
3028
- /**
3029
- * Omit specific fields from the Country
3030
- */
3031
- omit?: Prisma.CountryOmit<ExtArgs> | null
3032
- /**
3033
- * Choose, which related nodes to fetch as well
3034
- */
3035
- include?: Prisma.CountryInclude<ExtArgs> | null
3036
- /**
3037
- * Filter, which Countries to fetch.
3038
- */
3039
- where?: Prisma.CountryWhereInput
3040
- /**
3041
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3042
- *
3043
- * Determine the order of Countries to fetch.
3044
- */
3045
- orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
3046
- /**
3047
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3048
- *
3049
- * Sets the position for listing Countries.
3050
- */
3051
- cursor?: Prisma.CountryWhereUniqueInput
3052
- /**
3053
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3054
- *
3055
- * Take `±n` Countries from the position of the cursor.
3056
- */
3057
- take?: number
3058
- /**
3059
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3060
- *
3061
- * Skip the first `n` Countries.
3062
- */
3063
- skip?: number
3064
- /**
3065
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3066
- *
3067
- * Filter by unique combinations of Countries.
3068
- */
3069
- distinct?: Prisma.CountryScalarFieldEnum | Prisma.CountryScalarFieldEnum[]
3070
- }
3071
-
3072
- /**
3073
- * Country create
3074
- */
3075
- export type CountryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3076
- /**
3077
- * Select specific fields to fetch from the Country
3078
- */
3079
- select?: Prisma.CountrySelect<ExtArgs> | null
3080
- /**
3081
- * Omit specific fields from the Country
3082
- */
3083
- omit?: Prisma.CountryOmit<ExtArgs> | null
3084
- /**
3085
- * Choose, which related nodes to fetch as well
3086
- */
3087
- include?: Prisma.CountryInclude<ExtArgs> | null
3088
- /**
3089
- * The data needed to create a Country.
3090
- */
3091
- data: Prisma.XOR<Prisma.CountryCreateInput, Prisma.CountryUncheckedCreateInput>
3092
- }
3093
-
3094
- /**
3095
- * Country createMany
3096
- */
3097
- export type CountryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3098
- /**
3099
- * The data used to create many Countries.
3100
- */
3101
- data: Prisma.CountryCreateManyInput | Prisma.CountryCreateManyInput[]
3102
- skipDuplicates?: boolean
3103
- }
3104
-
3105
- /**
3106
- * Country createManyAndReturn
3107
- */
3108
- export type CountryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3109
- /**
3110
- * Select specific fields to fetch from the Country
3111
- */
3112
- select?: Prisma.CountrySelectCreateManyAndReturn<ExtArgs> | null
3113
- /**
3114
- * Omit specific fields from the Country
3115
- */
3116
- omit?: Prisma.CountryOmit<ExtArgs> | null
3117
- /**
3118
- * The data used to create many Countries.
3119
- */
3120
- data: Prisma.CountryCreateManyInput | Prisma.CountryCreateManyInput[]
3121
- skipDuplicates?: boolean
3122
- /**
3123
- * Choose, which related nodes to fetch as well
3124
- */
3125
- include?: Prisma.CountryIncludeCreateManyAndReturn<ExtArgs> | null
3126
- }
3127
-
3128
- /**
3129
- * Country update
3130
- */
3131
- export type CountryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3132
- /**
3133
- * Select specific fields to fetch from the Country
3134
- */
3135
- select?: Prisma.CountrySelect<ExtArgs> | null
3136
- /**
3137
- * Omit specific fields from the Country
3138
- */
3139
- omit?: Prisma.CountryOmit<ExtArgs> | null
3140
- /**
3141
- * Choose, which related nodes to fetch as well
3142
- */
3143
- include?: Prisma.CountryInclude<ExtArgs> | null
3144
- /**
3145
- * The data needed to update a Country.
3146
- */
3147
- data: Prisma.XOR<Prisma.CountryUpdateInput, Prisma.CountryUncheckedUpdateInput>
3148
- /**
3149
- * Choose, which Country to update.
3150
- */
3151
- where: Prisma.CountryWhereUniqueInput
3152
- }
3153
-
3154
- /**
3155
- * Country updateMany
3156
- */
3157
- export type CountryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3158
- /**
3159
- * The data used to update Countries.
3160
- */
3161
- data: Prisma.XOR<Prisma.CountryUpdateManyMutationInput, Prisma.CountryUncheckedUpdateManyInput>
3162
- /**
3163
- * Filter which Countries to update
3164
- */
3165
- where?: Prisma.CountryWhereInput
3166
- /**
3167
- * Limit how many Countries to update.
3168
- */
3169
- limit?: number
3170
- }
3171
-
3172
- /**
3173
- * Country updateManyAndReturn
3174
- */
3175
- export type CountryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3176
- /**
3177
- * Select specific fields to fetch from the Country
3178
- */
3179
- select?: Prisma.CountrySelectUpdateManyAndReturn<ExtArgs> | null
3180
- /**
3181
- * Omit specific fields from the Country
3182
- */
3183
- omit?: Prisma.CountryOmit<ExtArgs> | null
3184
- /**
3185
- * The data used to update Countries.
3186
- */
3187
- data: Prisma.XOR<Prisma.CountryUpdateManyMutationInput, Prisma.CountryUncheckedUpdateManyInput>
3188
- /**
3189
- * Filter which Countries to update
3190
- */
3191
- where?: Prisma.CountryWhereInput
3192
- /**
3193
- * Limit how many Countries to update.
3194
- */
3195
- limit?: number
3196
- /**
3197
- * Choose, which related nodes to fetch as well
3198
- */
3199
- include?: Prisma.CountryIncludeUpdateManyAndReturn<ExtArgs> | null
3200
- }
3201
-
3202
- /**
3203
- * Country upsert
3204
- */
3205
- export type CountryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3206
- /**
3207
- * Select specific fields to fetch from the Country
3208
- */
3209
- select?: Prisma.CountrySelect<ExtArgs> | null
3210
- /**
3211
- * Omit specific fields from the Country
3212
- */
3213
- omit?: Prisma.CountryOmit<ExtArgs> | null
3214
- /**
3215
- * Choose, which related nodes to fetch as well
3216
- */
3217
- include?: Prisma.CountryInclude<ExtArgs> | null
3218
- /**
3219
- * The filter to search for the Country to update in case it exists.
3220
- */
3221
- where: Prisma.CountryWhereUniqueInput
3222
- /**
3223
- * In case the Country found by the `where` argument doesn't exist, create a new Country with this data.
3224
- */
3225
- create: Prisma.XOR<Prisma.CountryCreateInput, Prisma.CountryUncheckedCreateInput>
3226
- /**
3227
- * In case the Country was found with the provided `where` argument, update it with this data.
3228
- */
3229
- update: Prisma.XOR<Prisma.CountryUpdateInput, Prisma.CountryUncheckedUpdateInput>
3230
- }
3231
-
3232
- /**
3233
- * Country delete
3234
- */
3235
- export type CountryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3236
- /**
3237
- * Select specific fields to fetch from the Country
3238
- */
3239
- select?: Prisma.CountrySelect<ExtArgs> | null
3240
- /**
3241
- * Omit specific fields from the Country
3242
- */
3243
- omit?: Prisma.CountryOmit<ExtArgs> | null
3244
- /**
3245
- * Choose, which related nodes to fetch as well
3246
- */
3247
- include?: Prisma.CountryInclude<ExtArgs> | null
3248
- /**
3249
- * Filter which Country to delete.
3250
- */
3251
- where: Prisma.CountryWhereUniqueInput
3252
- }
3253
-
3254
- /**
3255
- * Country deleteMany
3256
- */
3257
- export type CountryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3258
- /**
3259
- * Filter which Countries to delete
3260
- */
3261
- where?: Prisma.CountryWhereInput
3262
- /**
3263
- * Limit how many Countries to delete.
3264
- */
3265
- limit?: number
3266
- }
3267
-
3268
- /**
3269
- * Country.region_relation
3270
- */
3271
- export type Country$region_relationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3272
- /**
3273
- * Select specific fields to fetch from the Region
3274
- */
3275
- select?: Prisma.RegionSelect<ExtArgs> | null
3276
- /**
3277
- * Omit specific fields from the Region
3278
- */
3279
- omit?: Prisma.RegionOmit<ExtArgs> | null
3280
- /**
3281
- * Choose, which related nodes to fetch as well
3282
- */
3283
- include?: Prisma.RegionInclude<ExtArgs> | null
3284
- where?: Prisma.RegionWhereInput
3285
- }
3286
-
3287
- /**
3288
- * Country.subregion_relation
3289
- */
3290
- export type Country$subregion_relationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3291
- /**
3292
- * Select specific fields to fetch from the Subregion
3293
- */
3294
- select?: Prisma.SubregionSelect<ExtArgs> | null
3295
- /**
3296
- * Omit specific fields from the Subregion
3297
- */
3298
- omit?: Prisma.SubregionOmit<ExtArgs> | null
3299
- /**
3300
- * Choose, which related nodes to fetch as well
3301
- */
3302
- include?: Prisma.SubregionInclude<ExtArgs> | null
3303
- where?: Prisma.SubregionWhereInput
3304
- }
3305
-
3306
- /**
3307
- * Country.states
3308
- */
3309
- export type Country$statesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3310
- /**
3311
- * Select specific fields to fetch from the State
3312
- */
3313
- select?: Prisma.StateSelect<ExtArgs> | null
3314
- /**
3315
- * Omit specific fields from the State
3316
- */
3317
- omit?: Prisma.StateOmit<ExtArgs> | null
3318
- /**
3319
- * Choose, which related nodes to fetch as well
3320
- */
3321
- include?: Prisma.StateInclude<ExtArgs> | null
3322
- where?: Prisma.StateWhereInput
3323
- orderBy?: Prisma.StateOrderByWithRelationInput | Prisma.StateOrderByWithRelationInput[]
3324
- cursor?: Prisma.StateWhereUniqueInput
3325
- take?: number
3326
- skip?: number
3327
- distinct?: Prisma.StateScalarFieldEnum | Prisma.StateScalarFieldEnum[]
3328
- }
3329
-
3330
- /**
3331
- * Country.cities
3332
- */
3333
- export type Country$citiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3334
- /**
3335
- * Select specific fields to fetch from the City
3336
- */
3337
- select?: Prisma.CitySelect<ExtArgs> | null
3338
- /**
3339
- * Omit specific fields from the City
3340
- */
3341
- omit?: Prisma.CityOmit<ExtArgs> | null
3342
- /**
3343
- * Choose, which related nodes to fetch as well
3344
- */
3345
- include?: Prisma.CityInclude<ExtArgs> | null
3346
- where?: Prisma.CityWhereInput
3347
- orderBy?: Prisma.CityOrderByWithRelationInput | Prisma.CityOrderByWithRelationInput[]
3348
- cursor?: Prisma.CityWhereUniqueInput
3349
- take?: number
3350
- skip?: number
3351
- distinct?: Prisma.CityScalarFieldEnum | Prisma.CityScalarFieldEnum[]
3352
- }
3353
-
3354
- /**
3355
- * Country.locations
3356
- */
3357
- export type Country$locationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3358
- /**
3359
- * Select specific fields to fetch from the Location
3360
- */
3361
- select?: Prisma.LocationSelect<ExtArgs> | null
3362
- /**
3363
- * Omit specific fields from the Location
3364
- */
3365
- omit?: Prisma.LocationOmit<ExtArgs> | null
3366
- /**
3367
- * Choose, which related nodes to fetch as well
3368
- */
3369
- include?: Prisma.LocationInclude<ExtArgs> | null
3370
- where?: Prisma.LocationWhereInput
3371
- orderBy?: Prisma.LocationOrderByWithRelationInput | Prisma.LocationOrderByWithRelationInput[]
3372
- cursor?: Prisma.LocationWhereUniqueInput
3373
- take?: number
3374
- skip?: number
3375
- distinct?: Prisma.LocationScalarFieldEnum | Prisma.LocationScalarFieldEnum[]
3376
- }
3377
-
3378
- /**
3379
- * Country without action
3380
- */
3381
- export type CountryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3382
- /**
3383
- * Select specific fields to fetch from the Country
3384
- */
3385
- select?: Prisma.CountrySelect<ExtArgs> | null
3386
- /**
3387
- * Omit specific fields from the Country
3388
- */
3389
- omit?: Prisma.CountryOmit<ExtArgs> | null
3390
- /**
3391
- * Choose, which related nodes to fetch as well
3392
- */
3393
- include?: Prisma.CountryInclude<ExtArgs> | null
3394
- }