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.
- package/package.json +13 -22
- package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
- package/prisma/schema.prisma +17 -7
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2911 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
- package/src/prisma/index.d.ts +286785 -0
- package/src/prisma/index.js +2940 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3831 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2873 -0
- package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -1,1870 +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 `Subregion` 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 Subregion
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type SubregionModel = runtime.Types.Result.DefaultSelection<Prisma.$SubregionPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateSubregion = {
|
|
22
|
-
_count: SubregionCountAggregateOutputType | null
|
|
23
|
-
_avg: SubregionAvgAggregateOutputType | null
|
|
24
|
-
_sum: SubregionSumAggregateOutputType | null
|
|
25
|
-
_min: SubregionMinAggregateOutputType | null
|
|
26
|
-
_max: SubregionMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type SubregionAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
created_by: number | null
|
|
32
|
-
updated_by: number | null
|
|
33
|
-
deleted_by: number | null
|
|
34
|
-
region_id: number | null
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type SubregionSumAggregateOutputType = {
|
|
38
|
-
id: number | null
|
|
39
|
-
created_by: number | null
|
|
40
|
-
updated_by: number | null
|
|
41
|
-
deleted_by: number | null
|
|
42
|
-
region_id: number | null
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type SubregionMinAggregateOutputType = {
|
|
46
|
-
id: number | null
|
|
47
|
-
name: string | null
|
|
48
|
-
wikiDataId: string | null
|
|
49
|
-
status: boolean | null
|
|
50
|
-
created_at: Date | null
|
|
51
|
-
created_by: number | null
|
|
52
|
-
updated_at: Date | null
|
|
53
|
-
updated_by: number | null
|
|
54
|
-
is_deleted: boolean | null
|
|
55
|
-
deleted_by: number | null
|
|
56
|
-
deleted_at: Date | null
|
|
57
|
-
region_id: number | null
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export type SubregionMaxAggregateOutputType = {
|
|
61
|
-
id: number | null
|
|
62
|
-
name: string | null
|
|
63
|
-
wikiDataId: string | null
|
|
64
|
-
status: boolean | null
|
|
65
|
-
created_at: Date | null
|
|
66
|
-
created_by: number | null
|
|
67
|
-
updated_at: Date | null
|
|
68
|
-
updated_by: number | null
|
|
69
|
-
is_deleted: boolean | null
|
|
70
|
-
deleted_by: number | null
|
|
71
|
-
deleted_at: Date | null
|
|
72
|
-
region_id: number | null
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export type SubregionCountAggregateOutputType = {
|
|
76
|
-
id: number
|
|
77
|
-
name: number
|
|
78
|
-
translations: number
|
|
79
|
-
wikiDataId: number
|
|
80
|
-
status: number
|
|
81
|
-
created_at: number
|
|
82
|
-
created_by: number
|
|
83
|
-
updated_at: number
|
|
84
|
-
updated_by: number
|
|
85
|
-
is_deleted: number
|
|
86
|
-
deleted_by: number
|
|
87
|
-
deleted_at: number
|
|
88
|
-
region_id: number
|
|
89
|
-
_all: number
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
export type SubregionAvgAggregateInputType = {
|
|
94
|
-
id?: true
|
|
95
|
-
created_by?: true
|
|
96
|
-
updated_by?: true
|
|
97
|
-
deleted_by?: true
|
|
98
|
-
region_id?: true
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export type SubregionSumAggregateInputType = {
|
|
102
|
-
id?: true
|
|
103
|
-
created_by?: true
|
|
104
|
-
updated_by?: true
|
|
105
|
-
deleted_by?: true
|
|
106
|
-
region_id?: true
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type SubregionMinAggregateInputType = {
|
|
110
|
-
id?: true
|
|
111
|
-
name?: true
|
|
112
|
-
wikiDataId?: true
|
|
113
|
-
status?: true
|
|
114
|
-
created_at?: true
|
|
115
|
-
created_by?: true
|
|
116
|
-
updated_at?: true
|
|
117
|
-
updated_by?: true
|
|
118
|
-
is_deleted?: true
|
|
119
|
-
deleted_by?: true
|
|
120
|
-
deleted_at?: true
|
|
121
|
-
region_id?: true
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export type SubregionMaxAggregateInputType = {
|
|
125
|
-
id?: true
|
|
126
|
-
name?: true
|
|
127
|
-
wikiDataId?: true
|
|
128
|
-
status?: true
|
|
129
|
-
created_at?: true
|
|
130
|
-
created_by?: true
|
|
131
|
-
updated_at?: true
|
|
132
|
-
updated_by?: true
|
|
133
|
-
is_deleted?: true
|
|
134
|
-
deleted_by?: true
|
|
135
|
-
deleted_at?: true
|
|
136
|
-
region_id?: true
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export type SubregionCountAggregateInputType = {
|
|
140
|
-
id?: true
|
|
141
|
-
name?: true
|
|
142
|
-
translations?: true
|
|
143
|
-
wikiDataId?: true
|
|
144
|
-
status?: true
|
|
145
|
-
created_at?: true
|
|
146
|
-
created_by?: true
|
|
147
|
-
updated_at?: true
|
|
148
|
-
updated_by?: true
|
|
149
|
-
is_deleted?: true
|
|
150
|
-
deleted_by?: true
|
|
151
|
-
deleted_at?: true
|
|
152
|
-
region_id?: true
|
|
153
|
-
_all?: true
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export type SubregionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
157
|
-
/**
|
|
158
|
-
* Filter which Subregion to aggregate.
|
|
159
|
-
*/
|
|
160
|
-
where?: Prisma.SubregionWhereInput
|
|
161
|
-
/**
|
|
162
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
163
|
-
*
|
|
164
|
-
* Determine the order of Subregions to fetch.
|
|
165
|
-
*/
|
|
166
|
-
orderBy?: Prisma.SubregionOrderByWithRelationInput | Prisma.SubregionOrderByWithRelationInput[]
|
|
167
|
-
/**
|
|
168
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
169
|
-
*
|
|
170
|
-
* Sets the start position
|
|
171
|
-
*/
|
|
172
|
-
cursor?: Prisma.SubregionWhereUniqueInput
|
|
173
|
-
/**
|
|
174
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
175
|
-
*
|
|
176
|
-
* Take `±n` Subregions from the position of the cursor.
|
|
177
|
-
*/
|
|
178
|
-
take?: number
|
|
179
|
-
/**
|
|
180
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
181
|
-
*
|
|
182
|
-
* Skip the first `n` Subregions.
|
|
183
|
-
*/
|
|
184
|
-
skip?: number
|
|
185
|
-
/**
|
|
186
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
-
*
|
|
188
|
-
* Count returned Subregions
|
|
189
|
-
**/
|
|
190
|
-
_count?: true | SubregionCountAggregateInputType
|
|
191
|
-
/**
|
|
192
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
193
|
-
*
|
|
194
|
-
* Select which fields to average
|
|
195
|
-
**/
|
|
196
|
-
_avg?: SubregionAvgAggregateInputType
|
|
197
|
-
/**
|
|
198
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
199
|
-
*
|
|
200
|
-
* Select which fields to sum
|
|
201
|
-
**/
|
|
202
|
-
_sum?: SubregionSumAggregateInputType
|
|
203
|
-
/**
|
|
204
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
205
|
-
*
|
|
206
|
-
* Select which fields to find the minimum value
|
|
207
|
-
**/
|
|
208
|
-
_min?: SubregionMinAggregateInputType
|
|
209
|
-
/**
|
|
210
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
211
|
-
*
|
|
212
|
-
* Select which fields to find the maximum value
|
|
213
|
-
**/
|
|
214
|
-
_max?: SubregionMaxAggregateInputType
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
export type GetSubregionAggregateType<T extends SubregionAggregateArgs> = {
|
|
218
|
-
[P in keyof T & keyof AggregateSubregion]: P extends '_count' | 'count'
|
|
219
|
-
? T[P] extends true
|
|
220
|
-
? number
|
|
221
|
-
: Prisma.GetScalarType<T[P], AggregateSubregion[P]>
|
|
222
|
-
: Prisma.GetScalarType<T[P], AggregateSubregion[P]>
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
export type SubregionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
229
|
-
where?: Prisma.SubregionWhereInput
|
|
230
|
-
orderBy?: Prisma.SubregionOrderByWithAggregationInput | Prisma.SubregionOrderByWithAggregationInput[]
|
|
231
|
-
by: Prisma.SubregionScalarFieldEnum[] | Prisma.SubregionScalarFieldEnum
|
|
232
|
-
having?: Prisma.SubregionScalarWhereWithAggregatesInput
|
|
233
|
-
take?: number
|
|
234
|
-
skip?: number
|
|
235
|
-
_count?: SubregionCountAggregateInputType | true
|
|
236
|
-
_avg?: SubregionAvgAggregateInputType
|
|
237
|
-
_sum?: SubregionSumAggregateInputType
|
|
238
|
-
_min?: SubregionMinAggregateInputType
|
|
239
|
-
_max?: SubregionMaxAggregateInputType
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
export type SubregionGroupByOutputType = {
|
|
243
|
-
id: number
|
|
244
|
-
name: string | null
|
|
245
|
-
translations: runtime.JsonValue | null
|
|
246
|
-
wikiDataId: string | null
|
|
247
|
-
status: boolean | null
|
|
248
|
-
created_at: Date
|
|
249
|
-
created_by: number | null
|
|
250
|
-
updated_at: Date
|
|
251
|
-
updated_by: number | null
|
|
252
|
-
is_deleted: boolean | null
|
|
253
|
-
deleted_by: number | null
|
|
254
|
-
deleted_at: Date | null
|
|
255
|
-
region_id: number | null
|
|
256
|
-
_count: SubregionCountAggregateOutputType | null
|
|
257
|
-
_avg: SubregionAvgAggregateOutputType | null
|
|
258
|
-
_sum: SubregionSumAggregateOutputType | null
|
|
259
|
-
_min: SubregionMinAggregateOutputType | null
|
|
260
|
-
_max: SubregionMaxAggregateOutputType | null
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export type GetSubregionGroupByPayload<T extends SubregionGroupByArgs> = Prisma.PrismaPromise<
|
|
264
|
-
Array<
|
|
265
|
-
Prisma.PickEnumerable<SubregionGroupByOutputType, T['by']> &
|
|
266
|
-
{
|
|
267
|
-
[P in ((keyof T) & (keyof SubregionGroupByOutputType))]: P extends '_count'
|
|
268
|
-
? T[P] extends boolean
|
|
269
|
-
? number
|
|
270
|
-
: Prisma.GetScalarType<T[P], SubregionGroupByOutputType[P]>
|
|
271
|
-
: Prisma.GetScalarType<T[P], SubregionGroupByOutputType[P]>
|
|
272
|
-
}
|
|
273
|
-
>
|
|
274
|
-
>
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
export type SubregionWhereInput = {
|
|
279
|
-
AND?: Prisma.SubregionWhereInput | Prisma.SubregionWhereInput[]
|
|
280
|
-
OR?: Prisma.SubregionWhereInput[]
|
|
281
|
-
NOT?: Prisma.SubregionWhereInput | Prisma.SubregionWhereInput[]
|
|
282
|
-
id?: Prisma.IntFilter<"Subregion"> | number
|
|
283
|
-
name?: Prisma.StringNullableFilter<"Subregion"> | string | null
|
|
284
|
-
translations?: Prisma.JsonNullableFilter<"Subregion">
|
|
285
|
-
wikiDataId?: Prisma.StringNullableFilter<"Subregion"> | string | null
|
|
286
|
-
status?: Prisma.BoolNullableFilter<"Subregion"> | boolean | null
|
|
287
|
-
created_at?: Prisma.DateTimeFilter<"Subregion"> | Date | string
|
|
288
|
-
created_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
289
|
-
updated_at?: Prisma.DateTimeFilter<"Subregion"> | Date | string
|
|
290
|
-
updated_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
291
|
-
is_deleted?: Prisma.BoolNullableFilter<"Subregion"> | boolean | null
|
|
292
|
-
deleted_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
293
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Subregion"> | Date | string | null
|
|
294
|
-
region_id?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
295
|
-
region?: Prisma.XOR<Prisma.RegionNullableScalarRelationFilter, Prisma.RegionWhereInput> | null
|
|
296
|
-
countries?: Prisma.CountryListRelationFilter
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
export type SubregionOrderByWithRelationInput = {
|
|
300
|
-
id?: Prisma.SortOrder
|
|
301
|
-
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
302
|
-
translations?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
303
|
-
wikiDataId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
304
|
-
status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
305
|
-
created_at?: Prisma.SortOrder
|
|
306
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
307
|
-
updated_at?: Prisma.SortOrder
|
|
308
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
309
|
-
is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
310
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
311
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
312
|
-
region_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
313
|
-
region?: Prisma.RegionOrderByWithRelationInput
|
|
314
|
-
countries?: Prisma.CountryOrderByRelationAggregateInput
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
export type SubregionWhereUniqueInput = Prisma.AtLeast<{
|
|
318
|
-
id?: number
|
|
319
|
-
name?: string
|
|
320
|
-
AND?: Prisma.SubregionWhereInput | Prisma.SubregionWhereInput[]
|
|
321
|
-
OR?: Prisma.SubregionWhereInput[]
|
|
322
|
-
NOT?: Prisma.SubregionWhereInput | Prisma.SubregionWhereInput[]
|
|
323
|
-
translations?: Prisma.JsonNullableFilter<"Subregion">
|
|
324
|
-
wikiDataId?: Prisma.StringNullableFilter<"Subregion"> | string | null
|
|
325
|
-
status?: Prisma.BoolNullableFilter<"Subregion"> | boolean | null
|
|
326
|
-
created_at?: Prisma.DateTimeFilter<"Subregion"> | Date | string
|
|
327
|
-
created_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
328
|
-
updated_at?: Prisma.DateTimeFilter<"Subregion"> | Date | string
|
|
329
|
-
updated_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
330
|
-
is_deleted?: Prisma.BoolNullableFilter<"Subregion"> | boolean | null
|
|
331
|
-
deleted_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
332
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Subregion"> | Date | string | null
|
|
333
|
-
region_id?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
334
|
-
region?: Prisma.XOR<Prisma.RegionNullableScalarRelationFilter, Prisma.RegionWhereInput> | null
|
|
335
|
-
countries?: Prisma.CountryListRelationFilter
|
|
336
|
-
}, "id" | "name">
|
|
337
|
-
|
|
338
|
-
export type SubregionOrderByWithAggregationInput = {
|
|
339
|
-
id?: Prisma.SortOrder
|
|
340
|
-
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
341
|
-
translations?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
342
|
-
wikiDataId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
343
|
-
status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
344
|
-
created_at?: Prisma.SortOrder
|
|
345
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
346
|
-
updated_at?: Prisma.SortOrder
|
|
347
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
348
|
-
is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
349
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
351
|
-
region_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
352
|
-
_count?: Prisma.SubregionCountOrderByAggregateInput
|
|
353
|
-
_avg?: Prisma.SubregionAvgOrderByAggregateInput
|
|
354
|
-
_max?: Prisma.SubregionMaxOrderByAggregateInput
|
|
355
|
-
_min?: Prisma.SubregionMinOrderByAggregateInput
|
|
356
|
-
_sum?: Prisma.SubregionSumOrderByAggregateInput
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
export type SubregionScalarWhereWithAggregatesInput = {
|
|
360
|
-
AND?: Prisma.SubregionScalarWhereWithAggregatesInput | Prisma.SubregionScalarWhereWithAggregatesInput[]
|
|
361
|
-
OR?: Prisma.SubregionScalarWhereWithAggregatesInput[]
|
|
362
|
-
NOT?: Prisma.SubregionScalarWhereWithAggregatesInput | Prisma.SubregionScalarWhereWithAggregatesInput[]
|
|
363
|
-
id?: Prisma.IntWithAggregatesFilter<"Subregion"> | number
|
|
364
|
-
name?: Prisma.StringNullableWithAggregatesFilter<"Subregion"> | string | null
|
|
365
|
-
translations?: Prisma.JsonNullableWithAggregatesFilter<"Subregion">
|
|
366
|
-
wikiDataId?: Prisma.StringNullableWithAggregatesFilter<"Subregion"> | string | null
|
|
367
|
-
status?: Prisma.BoolNullableWithAggregatesFilter<"Subregion"> | boolean | null
|
|
368
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"Subregion"> | Date | string
|
|
369
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"Subregion"> | number | null
|
|
370
|
-
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Subregion"> | Date | string
|
|
371
|
-
updated_by?: Prisma.IntNullableWithAggregatesFilter<"Subregion"> | number | null
|
|
372
|
-
is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"Subregion"> | boolean | null
|
|
373
|
-
deleted_by?: Prisma.IntNullableWithAggregatesFilter<"Subregion"> | number | null
|
|
374
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Subregion"> | Date | string | null
|
|
375
|
-
region_id?: Prisma.IntNullableWithAggregatesFilter<"Subregion"> | number | null
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
export type SubregionCreateInput = {
|
|
379
|
-
name?: string | null
|
|
380
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
381
|
-
wikiDataId?: string | null
|
|
382
|
-
status?: boolean | null
|
|
383
|
-
created_at?: Date | string
|
|
384
|
-
created_by?: number | null
|
|
385
|
-
updated_at?: Date | string
|
|
386
|
-
updated_by?: number | null
|
|
387
|
-
is_deleted?: boolean | null
|
|
388
|
-
deleted_by?: number | null
|
|
389
|
-
deleted_at?: Date | string | null
|
|
390
|
-
region?: Prisma.RegionCreateNestedOneWithoutSubregionsInput
|
|
391
|
-
countries?: Prisma.CountryCreateNestedManyWithoutSubregion_relationInput
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
export type SubregionUncheckedCreateInput = {
|
|
395
|
-
id?: number
|
|
396
|
-
name?: string | null
|
|
397
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
398
|
-
wikiDataId?: string | null
|
|
399
|
-
status?: boolean | null
|
|
400
|
-
created_at?: Date | string
|
|
401
|
-
created_by?: number | null
|
|
402
|
-
updated_at?: Date | string
|
|
403
|
-
updated_by?: number | null
|
|
404
|
-
is_deleted?: boolean | null
|
|
405
|
-
deleted_by?: number | null
|
|
406
|
-
deleted_at?: Date | string | null
|
|
407
|
-
region_id?: number | null
|
|
408
|
-
countries?: Prisma.CountryUncheckedCreateNestedManyWithoutSubregion_relationInput
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
export type SubregionUpdateInput = {
|
|
412
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
413
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
414
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
415
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
416
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
417
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
418
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
419
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
420
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
421
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
422
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
423
|
-
region?: Prisma.RegionUpdateOneWithoutSubregionsNestedInput
|
|
424
|
-
countries?: Prisma.CountryUpdateManyWithoutSubregion_relationNestedInput
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
export type SubregionUncheckedUpdateInput = {
|
|
428
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
429
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
430
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
431
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
432
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
433
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
434
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
435
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
436
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
437
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
438
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
439
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
440
|
-
region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
441
|
-
countries?: Prisma.CountryUncheckedUpdateManyWithoutSubregion_relationNestedInput
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
export type SubregionCreateManyInput = {
|
|
445
|
-
id?: number
|
|
446
|
-
name?: string | null
|
|
447
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
448
|
-
wikiDataId?: string | null
|
|
449
|
-
status?: boolean | null
|
|
450
|
-
created_at?: Date | string
|
|
451
|
-
created_by?: number | null
|
|
452
|
-
updated_at?: Date | string
|
|
453
|
-
updated_by?: number | null
|
|
454
|
-
is_deleted?: boolean | null
|
|
455
|
-
deleted_by?: number | null
|
|
456
|
-
deleted_at?: Date | string | null
|
|
457
|
-
region_id?: number | null
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
export type SubregionUpdateManyMutationInput = {
|
|
461
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
462
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
463
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
464
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
465
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
466
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
467
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
468
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
469
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
470
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
471
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
export type SubregionUncheckedUpdateManyInput = {
|
|
475
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
476
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
477
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
478
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
479
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
480
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
481
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
482
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
483
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
484
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
485
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
486
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
487
|
-
region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
export type SubregionListRelationFilter = {
|
|
491
|
-
every?: Prisma.SubregionWhereInput
|
|
492
|
-
some?: Prisma.SubregionWhereInput
|
|
493
|
-
none?: Prisma.SubregionWhereInput
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
export type SubregionOrderByRelationAggregateInput = {
|
|
497
|
-
_count?: Prisma.SortOrder
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
export type SubregionCountOrderByAggregateInput = {
|
|
501
|
-
id?: Prisma.SortOrder
|
|
502
|
-
name?: Prisma.SortOrder
|
|
503
|
-
translations?: Prisma.SortOrder
|
|
504
|
-
wikiDataId?: Prisma.SortOrder
|
|
505
|
-
status?: Prisma.SortOrder
|
|
506
|
-
created_at?: Prisma.SortOrder
|
|
507
|
-
created_by?: Prisma.SortOrder
|
|
508
|
-
updated_at?: Prisma.SortOrder
|
|
509
|
-
updated_by?: Prisma.SortOrder
|
|
510
|
-
is_deleted?: Prisma.SortOrder
|
|
511
|
-
deleted_by?: Prisma.SortOrder
|
|
512
|
-
deleted_at?: Prisma.SortOrder
|
|
513
|
-
region_id?: Prisma.SortOrder
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
export type SubregionAvgOrderByAggregateInput = {
|
|
517
|
-
id?: Prisma.SortOrder
|
|
518
|
-
created_by?: Prisma.SortOrder
|
|
519
|
-
updated_by?: Prisma.SortOrder
|
|
520
|
-
deleted_by?: Prisma.SortOrder
|
|
521
|
-
region_id?: Prisma.SortOrder
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
export type SubregionMaxOrderByAggregateInput = {
|
|
525
|
-
id?: Prisma.SortOrder
|
|
526
|
-
name?: Prisma.SortOrder
|
|
527
|
-
wikiDataId?: Prisma.SortOrder
|
|
528
|
-
status?: Prisma.SortOrder
|
|
529
|
-
created_at?: Prisma.SortOrder
|
|
530
|
-
created_by?: Prisma.SortOrder
|
|
531
|
-
updated_at?: Prisma.SortOrder
|
|
532
|
-
updated_by?: Prisma.SortOrder
|
|
533
|
-
is_deleted?: Prisma.SortOrder
|
|
534
|
-
deleted_by?: Prisma.SortOrder
|
|
535
|
-
deleted_at?: Prisma.SortOrder
|
|
536
|
-
region_id?: Prisma.SortOrder
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
export type SubregionMinOrderByAggregateInput = {
|
|
540
|
-
id?: Prisma.SortOrder
|
|
541
|
-
name?: Prisma.SortOrder
|
|
542
|
-
wikiDataId?: Prisma.SortOrder
|
|
543
|
-
status?: Prisma.SortOrder
|
|
544
|
-
created_at?: Prisma.SortOrder
|
|
545
|
-
created_by?: Prisma.SortOrder
|
|
546
|
-
updated_at?: Prisma.SortOrder
|
|
547
|
-
updated_by?: Prisma.SortOrder
|
|
548
|
-
is_deleted?: Prisma.SortOrder
|
|
549
|
-
deleted_by?: Prisma.SortOrder
|
|
550
|
-
deleted_at?: Prisma.SortOrder
|
|
551
|
-
region_id?: Prisma.SortOrder
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
export type SubregionSumOrderByAggregateInput = {
|
|
555
|
-
id?: Prisma.SortOrder
|
|
556
|
-
created_by?: Prisma.SortOrder
|
|
557
|
-
updated_by?: Prisma.SortOrder
|
|
558
|
-
deleted_by?: Prisma.SortOrder
|
|
559
|
-
region_id?: Prisma.SortOrder
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
export type SubregionNullableScalarRelationFilter = {
|
|
563
|
-
is?: Prisma.SubregionWhereInput | null
|
|
564
|
-
isNot?: Prisma.SubregionWhereInput | null
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
export type SubregionCreateNestedManyWithoutRegionInput = {
|
|
568
|
-
create?: Prisma.XOR<Prisma.SubregionCreateWithoutRegionInput, Prisma.SubregionUncheckedCreateWithoutRegionInput> | Prisma.SubregionCreateWithoutRegionInput[] | Prisma.SubregionUncheckedCreateWithoutRegionInput[]
|
|
569
|
-
connectOrCreate?: Prisma.SubregionCreateOrConnectWithoutRegionInput | Prisma.SubregionCreateOrConnectWithoutRegionInput[]
|
|
570
|
-
createMany?: Prisma.SubregionCreateManyRegionInputEnvelope
|
|
571
|
-
connect?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
export type SubregionUncheckedCreateNestedManyWithoutRegionInput = {
|
|
575
|
-
create?: Prisma.XOR<Prisma.SubregionCreateWithoutRegionInput, Prisma.SubregionUncheckedCreateWithoutRegionInput> | Prisma.SubregionCreateWithoutRegionInput[] | Prisma.SubregionUncheckedCreateWithoutRegionInput[]
|
|
576
|
-
connectOrCreate?: Prisma.SubregionCreateOrConnectWithoutRegionInput | Prisma.SubregionCreateOrConnectWithoutRegionInput[]
|
|
577
|
-
createMany?: Prisma.SubregionCreateManyRegionInputEnvelope
|
|
578
|
-
connect?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
export type SubregionUpdateManyWithoutRegionNestedInput = {
|
|
582
|
-
create?: Prisma.XOR<Prisma.SubregionCreateWithoutRegionInput, Prisma.SubregionUncheckedCreateWithoutRegionInput> | Prisma.SubregionCreateWithoutRegionInput[] | Prisma.SubregionUncheckedCreateWithoutRegionInput[]
|
|
583
|
-
connectOrCreate?: Prisma.SubregionCreateOrConnectWithoutRegionInput | Prisma.SubregionCreateOrConnectWithoutRegionInput[]
|
|
584
|
-
upsert?: Prisma.SubregionUpsertWithWhereUniqueWithoutRegionInput | Prisma.SubregionUpsertWithWhereUniqueWithoutRegionInput[]
|
|
585
|
-
createMany?: Prisma.SubregionCreateManyRegionInputEnvelope
|
|
586
|
-
set?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
587
|
-
disconnect?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
588
|
-
delete?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
589
|
-
connect?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
590
|
-
update?: Prisma.SubregionUpdateWithWhereUniqueWithoutRegionInput | Prisma.SubregionUpdateWithWhereUniqueWithoutRegionInput[]
|
|
591
|
-
updateMany?: Prisma.SubregionUpdateManyWithWhereWithoutRegionInput | Prisma.SubregionUpdateManyWithWhereWithoutRegionInput[]
|
|
592
|
-
deleteMany?: Prisma.SubregionScalarWhereInput | Prisma.SubregionScalarWhereInput[]
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
export type SubregionUncheckedUpdateManyWithoutRegionNestedInput = {
|
|
596
|
-
create?: Prisma.XOR<Prisma.SubregionCreateWithoutRegionInput, Prisma.SubregionUncheckedCreateWithoutRegionInput> | Prisma.SubregionCreateWithoutRegionInput[] | Prisma.SubregionUncheckedCreateWithoutRegionInput[]
|
|
597
|
-
connectOrCreate?: Prisma.SubregionCreateOrConnectWithoutRegionInput | Prisma.SubregionCreateOrConnectWithoutRegionInput[]
|
|
598
|
-
upsert?: Prisma.SubregionUpsertWithWhereUniqueWithoutRegionInput | Prisma.SubregionUpsertWithWhereUniqueWithoutRegionInput[]
|
|
599
|
-
createMany?: Prisma.SubregionCreateManyRegionInputEnvelope
|
|
600
|
-
set?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
601
|
-
disconnect?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
602
|
-
delete?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
603
|
-
connect?: Prisma.SubregionWhereUniqueInput | Prisma.SubregionWhereUniqueInput[]
|
|
604
|
-
update?: Prisma.SubregionUpdateWithWhereUniqueWithoutRegionInput | Prisma.SubregionUpdateWithWhereUniqueWithoutRegionInput[]
|
|
605
|
-
updateMany?: Prisma.SubregionUpdateManyWithWhereWithoutRegionInput | Prisma.SubregionUpdateManyWithWhereWithoutRegionInput[]
|
|
606
|
-
deleteMany?: Prisma.SubregionScalarWhereInput | Prisma.SubregionScalarWhereInput[]
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
export type SubregionCreateNestedOneWithoutCountriesInput = {
|
|
610
|
-
create?: Prisma.XOR<Prisma.SubregionCreateWithoutCountriesInput, Prisma.SubregionUncheckedCreateWithoutCountriesInput>
|
|
611
|
-
connectOrCreate?: Prisma.SubregionCreateOrConnectWithoutCountriesInput
|
|
612
|
-
connect?: Prisma.SubregionWhereUniqueInput
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
export type SubregionUpdateOneWithoutCountriesNestedInput = {
|
|
616
|
-
create?: Prisma.XOR<Prisma.SubregionCreateWithoutCountriesInput, Prisma.SubregionUncheckedCreateWithoutCountriesInput>
|
|
617
|
-
connectOrCreate?: Prisma.SubregionCreateOrConnectWithoutCountriesInput
|
|
618
|
-
upsert?: Prisma.SubregionUpsertWithoutCountriesInput
|
|
619
|
-
disconnect?: Prisma.SubregionWhereInput | boolean
|
|
620
|
-
delete?: Prisma.SubregionWhereInput | boolean
|
|
621
|
-
connect?: Prisma.SubregionWhereUniqueInput
|
|
622
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.SubregionUpdateToOneWithWhereWithoutCountriesInput, Prisma.SubregionUpdateWithoutCountriesInput>, Prisma.SubregionUncheckedUpdateWithoutCountriesInput>
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
export type SubregionCreateWithoutRegionInput = {
|
|
626
|
-
name?: string | null
|
|
627
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
628
|
-
wikiDataId?: string | null
|
|
629
|
-
status?: boolean | null
|
|
630
|
-
created_at?: Date | string
|
|
631
|
-
created_by?: number | null
|
|
632
|
-
updated_at?: Date | string
|
|
633
|
-
updated_by?: number | null
|
|
634
|
-
is_deleted?: boolean | null
|
|
635
|
-
deleted_by?: number | null
|
|
636
|
-
deleted_at?: Date | string | null
|
|
637
|
-
countries?: Prisma.CountryCreateNestedManyWithoutSubregion_relationInput
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
export type SubregionUncheckedCreateWithoutRegionInput = {
|
|
641
|
-
id?: number
|
|
642
|
-
name?: string | null
|
|
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
|
-
countries?: Prisma.CountryUncheckedCreateNestedManyWithoutSubregion_relationInput
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
export type SubregionCreateOrConnectWithoutRegionInput = {
|
|
657
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
658
|
-
create: Prisma.XOR<Prisma.SubregionCreateWithoutRegionInput, Prisma.SubregionUncheckedCreateWithoutRegionInput>
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
export type SubregionCreateManyRegionInputEnvelope = {
|
|
662
|
-
data: Prisma.SubregionCreateManyRegionInput | Prisma.SubregionCreateManyRegionInput[]
|
|
663
|
-
skipDuplicates?: boolean
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
export type SubregionUpsertWithWhereUniqueWithoutRegionInput = {
|
|
667
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
668
|
-
update: Prisma.XOR<Prisma.SubregionUpdateWithoutRegionInput, Prisma.SubregionUncheckedUpdateWithoutRegionInput>
|
|
669
|
-
create: Prisma.XOR<Prisma.SubregionCreateWithoutRegionInput, Prisma.SubregionUncheckedCreateWithoutRegionInput>
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
export type SubregionUpdateWithWhereUniqueWithoutRegionInput = {
|
|
673
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
674
|
-
data: Prisma.XOR<Prisma.SubregionUpdateWithoutRegionInput, Prisma.SubregionUncheckedUpdateWithoutRegionInput>
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
export type SubregionUpdateManyWithWhereWithoutRegionInput = {
|
|
678
|
-
where: Prisma.SubregionScalarWhereInput
|
|
679
|
-
data: Prisma.XOR<Prisma.SubregionUpdateManyMutationInput, Prisma.SubregionUncheckedUpdateManyWithoutRegionInput>
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
export type SubregionScalarWhereInput = {
|
|
683
|
-
AND?: Prisma.SubregionScalarWhereInput | Prisma.SubregionScalarWhereInput[]
|
|
684
|
-
OR?: Prisma.SubregionScalarWhereInput[]
|
|
685
|
-
NOT?: Prisma.SubregionScalarWhereInput | Prisma.SubregionScalarWhereInput[]
|
|
686
|
-
id?: Prisma.IntFilter<"Subregion"> | number
|
|
687
|
-
name?: Prisma.StringNullableFilter<"Subregion"> | string | null
|
|
688
|
-
translations?: Prisma.JsonNullableFilter<"Subregion">
|
|
689
|
-
wikiDataId?: Prisma.StringNullableFilter<"Subregion"> | string | null
|
|
690
|
-
status?: Prisma.BoolNullableFilter<"Subregion"> | boolean | null
|
|
691
|
-
created_at?: Prisma.DateTimeFilter<"Subregion"> | Date | string
|
|
692
|
-
created_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
693
|
-
updated_at?: Prisma.DateTimeFilter<"Subregion"> | Date | string
|
|
694
|
-
updated_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
695
|
-
is_deleted?: Prisma.BoolNullableFilter<"Subregion"> | boolean | null
|
|
696
|
-
deleted_by?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
697
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Subregion"> | Date | string | null
|
|
698
|
-
region_id?: Prisma.IntNullableFilter<"Subregion"> | number | null
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
export type SubregionCreateWithoutCountriesInput = {
|
|
702
|
-
name?: string | null
|
|
703
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
704
|
-
wikiDataId?: string | null
|
|
705
|
-
status?: boolean | null
|
|
706
|
-
created_at?: Date | string
|
|
707
|
-
created_by?: number | null
|
|
708
|
-
updated_at?: Date | string
|
|
709
|
-
updated_by?: number | null
|
|
710
|
-
is_deleted?: boolean | null
|
|
711
|
-
deleted_by?: number | null
|
|
712
|
-
deleted_at?: Date | string | null
|
|
713
|
-
region?: Prisma.RegionCreateNestedOneWithoutSubregionsInput
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
export type SubregionUncheckedCreateWithoutCountriesInput = {
|
|
717
|
-
id?: number
|
|
718
|
-
name?: string | null
|
|
719
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
720
|
-
wikiDataId?: string | null
|
|
721
|
-
status?: boolean | null
|
|
722
|
-
created_at?: Date | string
|
|
723
|
-
created_by?: number | null
|
|
724
|
-
updated_at?: Date | string
|
|
725
|
-
updated_by?: number | null
|
|
726
|
-
is_deleted?: boolean | null
|
|
727
|
-
deleted_by?: number | null
|
|
728
|
-
deleted_at?: Date | string | null
|
|
729
|
-
region_id?: number | null
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
export type SubregionCreateOrConnectWithoutCountriesInput = {
|
|
733
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
734
|
-
create: Prisma.XOR<Prisma.SubregionCreateWithoutCountriesInput, Prisma.SubregionUncheckedCreateWithoutCountriesInput>
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
export type SubregionUpsertWithoutCountriesInput = {
|
|
738
|
-
update: Prisma.XOR<Prisma.SubregionUpdateWithoutCountriesInput, Prisma.SubregionUncheckedUpdateWithoutCountriesInput>
|
|
739
|
-
create: Prisma.XOR<Prisma.SubregionCreateWithoutCountriesInput, Prisma.SubregionUncheckedCreateWithoutCountriesInput>
|
|
740
|
-
where?: Prisma.SubregionWhereInput
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
export type SubregionUpdateToOneWithWhereWithoutCountriesInput = {
|
|
744
|
-
where?: Prisma.SubregionWhereInput
|
|
745
|
-
data: Prisma.XOR<Prisma.SubregionUpdateWithoutCountriesInput, Prisma.SubregionUncheckedUpdateWithoutCountriesInput>
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
export type SubregionUpdateWithoutCountriesInput = {
|
|
749
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
750
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
751
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
752
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
753
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
754
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
755
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
756
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
757
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
758
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
759
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
760
|
-
region?: Prisma.RegionUpdateOneWithoutSubregionsNestedInput
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
export type SubregionUncheckedUpdateWithoutCountriesInput = {
|
|
764
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
765
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
766
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
767
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
768
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
769
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
770
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
771
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
772
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
773
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
774
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
775
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
776
|
-
region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
export type SubregionCreateManyRegionInput = {
|
|
780
|
-
id?: number
|
|
781
|
-
name?: string | null
|
|
782
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
783
|
-
wikiDataId?: string | null
|
|
784
|
-
status?: boolean | null
|
|
785
|
-
created_at?: Date | string
|
|
786
|
-
created_by?: number | null
|
|
787
|
-
updated_at?: Date | string
|
|
788
|
-
updated_by?: number | null
|
|
789
|
-
is_deleted?: boolean | null
|
|
790
|
-
deleted_by?: number | null
|
|
791
|
-
deleted_at?: Date | string | null
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
export type SubregionUpdateWithoutRegionInput = {
|
|
795
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
796
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
797
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
798
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
799
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
800
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
801
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
802
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
803
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
804
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
805
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
806
|
-
countries?: Prisma.CountryUpdateManyWithoutSubregion_relationNestedInput
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
export type SubregionUncheckedUpdateWithoutRegionInput = {
|
|
810
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
811
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
812
|
-
translations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
813
|
-
wikiDataId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
814
|
-
status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
815
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
816
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
817
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
818
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
819
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
820
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
821
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
822
|
-
countries?: Prisma.CountryUncheckedUpdateManyWithoutSubregion_relationNestedInput
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
export type SubregionUncheckedUpdateManyWithoutRegionInput = {
|
|
826
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
827
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
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
|
-
|
|
841
|
-
/**
|
|
842
|
-
* Count Type SubregionCountOutputType
|
|
843
|
-
*/
|
|
844
|
-
|
|
845
|
-
export type SubregionCountOutputType = {
|
|
846
|
-
countries: number
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
export type SubregionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
850
|
-
countries?: boolean | SubregionCountOutputTypeCountCountriesArgs
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* SubregionCountOutputType without action
|
|
855
|
-
*/
|
|
856
|
-
export type SubregionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
857
|
-
/**
|
|
858
|
-
* Select specific fields to fetch from the SubregionCountOutputType
|
|
859
|
-
*/
|
|
860
|
-
select?: Prisma.SubregionCountOutputTypeSelect<ExtArgs> | null
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* SubregionCountOutputType without action
|
|
865
|
-
*/
|
|
866
|
-
export type SubregionCountOutputTypeCountCountriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
867
|
-
where?: Prisma.CountryWhereInput
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
export type SubregionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
872
|
-
id?: boolean
|
|
873
|
-
name?: boolean
|
|
874
|
-
translations?: boolean
|
|
875
|
-
wikiDataId?: boolean
|
|
876
|
-
status?: boolean
|
|
877
|
-
created_at?: boolean
|
|
878
|
-
created_by?: boolean
|
|
879
|
-
updated_at?: boolean
|
|
880
|
-
updated_by?: boolean
|
|
881
|
-
is_deleted?: boolean
|
|
882
|
-
deleted_by?: boolean
|
|
883
|
-
deleted_at?: boolean
|
|
884
|
-
region_id?: boolean
|
|
885
|
-
region?: boolean | Prisma.Subregion$regionArgs<ExtArgs>
|
|
886
|
-
countries?: boolean | Prisma.Subregion$countriesArgs<ExtArgs>
|
|
887
|
-
_count?: boolean | Prisma.SubregionCountOutputTypeDefaultArgs<ExtArgs>
|
|
888
|
-
}, ExtArgs["result"]["subregion"]>
|
|
889
|
-
|
|
890
|
-
export type SubregionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
891
|
-
id?: boolean
|
|
892
|
-
name?: boolean
|
|
893
|
-
translations?: boolean
|
|
894
|
-
wikiDataId?: boolean
|
|
895
|
-
status?: boolean
|
|
896
|
-
created_at?: boolean
|
|
897
|
-
created_by?: boolean
|
|
898
|
-
updated_at?: boolean
|
|
899
|
-
updated_by?: boolean
|
|
900
|
-
is_deleted?: boolean
|
|
901
|
-
deleted_by?: boolean
|
|
902
|
-
deleted_at?: boolean
|
|
903
|
-
region_id?: boolean
|
|
904
|
-
region?: boolean | Prisma.Subregion$regionArgs<ExtArgs>
|
|
905
|
-
}, ExtArgs["result"]["subregion"]>
|
|
906
|
-
|
|
907
|
-
export type SubregionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
908
|
-
id?: boolean
|
|
909
|
-
name?: boolean
|
|
910
|
-
translations?: boolean
|
|
911
|
-
wikiDataId?: boolean
|
|
912
|
-
status?: boolean
|
|
913
|
-
created_at?: boolean
|
|
914
|
-
created_by?: boolean
|
|
915
|
-
updated_at?: boolean
|
|
916
|
-
updated_by?: boolean
|
|
917
|
-
is_deleted?: boolean
|
|
918
|
-
deleted_by?: boolean
|
|
919
|
-
deleted_at?: boolean
|
|
920
|
-
region_id?: boolean
|
|
921
|
-
region?: boolean | Prisma.Subregion$regionArgs<ExtArgs>
|
|
922
|
-
}, ExtArgs["result"]["subregion"]>
|
|
923
|
-
|
|
924
|
-
export type SubregionSelectScalar = {
|
|
925
|
-
id?: boolean
|
|
926
|
-
name?: boolean
|
|
927
|
-
translations?: boolean
|
|
928
|
-
wikiDataId?: boolean
|
|
929
|
-
status?: boolean
|
|
930
|
-
created_at?: boolean
|
|
931
|
-
created_by?: boolean
|
|
932
|
-
updated_at?: boolean
|
|
933
|
-
updated_by?: boolean
|
|
934
|
-
is_deleted?: boolean
|
|
935
|
-
deleted_by?: boolean
|
|
936
|
-
deleted_at?: boolean
|
|
937
|
-
region_id?: boolean
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
export type SubregionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "translations" | "wikiDataId" | "status" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_by" | "deleted_at" | "region_id", ExtArgs["result"]["subregion"]>
|
|
941
|
-
export type SubregionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
942
|
-
region?: boolean | Prisma.Subregion$regionArgs<ExtArgs>
|
|
943
|
-
countries?: boolean | Prisma.Subregion$countriesArgs<ExtArgs>
|
|
944
|
-
_count?: boolean | Prisma.SubregionCountOutputTypeDefaultArgs<ExtArgs>
|
|
945
|
-
}
|
|
946
|
-
export type SubregionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
947
|
-
region?: boolean | Prisma.Subregion$regionArgs<ExtArgs>
|
|
948
|
-
}
|
|
949
|
-
export type SubregionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
950
|
-
region?: boolean | Prisma.Subregion$regionArgs<ExtArgs>
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
export type $SubregionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
954
|
-
name: "Subregion"
|
|
955
|
-
objects: {
|
|
956
|
-
region: Prisma.$RegionPayload<ExtArgs> | null
|
|
957
|
-
countries: Prisma.$CountryPayload<ExtArgs>[]
|
|
958
|
-
}
|
|
959
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
960
|
-
id: number
|
|
961
|
-
name: string | null
|
|
962
|
-
translations: runtime.JsonValue | null
|
|
963
|
-
wikiDataId: string | null
|
|
964
|
-
status: boolean | null
|
|
965
|
-
created_at: Date
|
|
966
|
-
created_by: number | null
|
|
967
|
-
updated_at: Date
|
|
968
|
-
updated_by: number | null
|
|
969
|
-
is_deleted: boolean | null
|
|
970
|
-
deleted_by: number | null
|
|
971
|
-
deleted_at: Date | null
|
|
972
|
-
region_id: number | null
|
|
973
|
-
}, ExtArgs["result"]["subregion"]>
|
|
974
|
-
composites: {}
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
export type SubregionGetPayload<S extends boolean | null | undefined | SubregionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SubregionPayload, S>
|
|
978
|
-
|
|
979
|
-
export type SubregionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
980
|
-
Omit<SubregionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
981
|
-
select?: SubregionCountAggregateInputType | true
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
export interface SubregionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
985
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Subregion'], meta: { name: 'Subregion' } }
|
|
986
|
-
/**
|
|
987
|
-
* Find zero or one Subregion that matches the filter.
|
|
988
|
-
* @param {SubregionFindUniqueArgs} args - Arguments to find a Subregion
|
|
989
|
-
* @example
|
|
990
|
-
* // Get one Subregion
|
|
991
|
-
* const subregion = await prisma.subregion.findUnique({
|
|
992
|
-
* where: {
|
|
993
|
-
* // ... provide filter here
|
|
994
|
-
* }
|
|
995
|
-
* })
|
|
996
|
-
*/
|
|
997
|
-
findUnique<T extends SubregionFindUniqueArgs>(args: Prisma.SelectSubset<T, SubregionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* Find one Subregion that matches the filter or throw an error with `error.code='P2025'`
|
|
1001
|
-
* if no matches were found.
|
|
1002
|
-
* @param {SubregionFindUniqueOrThrowArgs} args - Arguments to find a Subregion
|
|
1003
|
-
* @example
|
|
1004
|
-
* // Get one Subregion
|
|
1005
|
-
* const subregion = await prisma.subregion.findUniqueOrThrow({
|
|
1006
|
-
* where: {
|
|
1007
|
-
* // ... provide filter here
|
|
1008
|
-
* }
|
|
1009
|
-
* })
|
|
1010
|
-
*/
|
|
1011
|
-
findUniqueOrThrow<T extends SubregionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SubregionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* Find the first Subregion that matches the filter.
|
|
1015
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1016
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1017
|
-
* @param {SubregionFindFirstArgs} args - Arguments to find a Subregion
|
|
1018
|
-
* @example
|
|
1019
|
-
* // Get one Subregion
|
|
1020
|
-
* const subregion = await prisma.subregion.findFirst({
|
|
1021
|
-
* where: {
|
|
1022
|
-
* // ... provide filter here
|
|
1023
|
-
* }
|
|
1024
|
-
* })
|
|
1025
|
-
*/
|
|
1026
|
-
findFirst<T extends SubregionFindFirstArgs>(args?: Prisma.SelectSubset<T, SubregionFindFirstArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* Find the first Subregion that matches the filter or
|
|
1030
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1031
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1032
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1033
|
-
* @param {SubregionFindFirstOrThrowArgs} args - Arguments to find a Subregion
|
|
1034
|
-
* @example
|
|
1035
|
-
* // Get one Subregion
|
|
1036
|
-
* const subregion = await prisma.subregion.findFirstOrThrow({
|
|
1037
|
-
* where: {
|
|
1038
|
-
* // ... provide filter here
|
|
1039
|
-
* }
|
|
1040
|
-
* })
|
|
1041
|
-
*/
|
|
1042
|
-
findFirstOrThrow<T extends SubregionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SubregionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* Find zero or more Subregions that matches the filter.
|
|
1046
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1047
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1048
|
-
* @param {SubregionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1049
|
-
* @example
|
|
1050
|
-
* // Get all Subregions
|
|
1051
|
-
* const subregions = await prisma.subregion.findMany()
|
|
1052
|
-
*
|
|
1053
|
-
* // Get first 10 Subregions
|
|
1054
|
-
* const subregions = await prisma.subregion.findMany({ take: 10 })
|
|
1055
|
-
*
|
|
1056
|
-
* // Only select the `id`
|
|
1057
|
-
* const subregionWithIdOnly = await prisma.subregion.findMany({ select: { id: true } })
|
|
1058
|
-
*
|
|
1059
|
-
*/
|
|
1060
|
-
findMany<T extends SubregionFindManyArgs>(args?: Prisma.SelectSubset<T, SubregionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1061
|
-
|
|
1062
|
-
/**
|
|
1063
|
-
* Create a Subregion.
|
|
1064
|
-
* @param {SubregionCreateArgs} args - Arguments to create a Subregion.
|
|
1065
|
-
* @example
|
|
1066
|
-
* // Create one Subregion
|
|
1067
|
-
* const Subregion = await prisma.subregion.create({
|
|
1068
|
-
* data: {
|
|
1069
|
-
* // ... data to create a Subregion
|
|
1070
|
-
* }
|
|
1071
|
-
* })
|
|
1072
|
-
*
|
|
1073
|
-
*/
|
|
1074
|
-
create<T extends SubregionCreateArgs>(args: Prisma.SelectSubset<T, SubregionCreateArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
* Create many Subregions.
|
|
1078
|
-
* @param {SubregionCreateManyArgs} args - Arguments to create many Subregions.
|
|
1079
|
-
* @example
|
|
1080
|
-
* // Create many Subregions
|
|
1081
|
-
* const subregion = await prisma.subregion.createMany({
|
|
1082
|
-
* data: [
|
|
1083
|
-
* // ... provide data here
|
|
1084
|
-
* ]
|
|
1085
|
-
* })
|
|
1086
|
-
*
|
|
1087
|
-
*/
|
|
1088
|
-
createMany<T extends SubregionCreateManyArgs>(args?: Prisma.SelectSubset<T, SubregionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* Create many Subregions and returns the data saved in the database.
|
|
1092
|
-
* @param {SubregionCreateManyAndReturnArgs} args - Arguments to create many Subregions.
|
|
1093
|
-
* @example
|
|
1094
|
-
* // Create many Subregions
|
|
1095
|
-
* const subregion = await prisma.subregion.createManyAndReturn({
|
|
1096
|
-
* data: [
|
|
1097
|
-
* // ... provide data here
|
|
1098
|
-
* ]
|
|
1099
|
-
* })
|
|
1100
|
-
*
|
|
1101
|
-
* // Create many Subregions and only return the `id`
|
|
1102
|
-
* const subregionWithIdOnly = await prisma.subregion.createManyAndReturn({
|
|
1103
|
-
* select: { id: true },
|
|
1104
|
-
* data: [
|
|
1105
|
-
* // ... provide data here
|
|
1106
|
-
* ]
|
|
1107
|
-
* })
|
|
1108
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1109
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1110
|
-
*
|
|
1111
|
-
*/
|
|
1112
|
-
createManyAndReturn<T extends SubregionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SubregionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* Delete a Subregion.
|
|
1116
|
-
* @param {SubregionDeleteArgs} args - Arguments to delete one Subregion.
|
|
1117
|
-
* @example
|
|
1118
|
-
* // Delete one Subregion
|
|
1119
|
-
* const Subregion = await prisma.subregion.delete({
|
|
1120
|
-
* where: {
|
|
1121
|
-
* // ... filter to delete one Subregion
|
|
1122
|
-
* }
|
|
1123
|
-
* })
|
|
1124
|
-
*
|
|
1125
|
-
*/
|
|
1126
|
-
delete<T extends SubregionDeleteArgs>(args: Prisma.SelectSubset<T, SubregionDeleteArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* Update one Subregion.
|
|
1130
|
-
* @param {SubregionUpdateArgs} args - Arguments to update one Subregion.
|
|
1131
|
-
* @example
|
|
1132
|
-
* // Update one Subregion
|
|
1133
|
-
* const subregion = await prisma.subregion.update({
|
|
1134
|
-
* where: {
|
|
1135
|
-
* // ... provide filter here
|
|
1136
|
-
* },
|
|
1137
|
-
* data: {
|
|
1138
|
-
* // ... provide data here
|
|
1139
|
-
* }
|
|
1140
|
-
* })
|
|
1141
|
-
*
|
|
1142
|
-
*/
|
|
1143
|
-
update<T extends SubregionUpdateArgs>(args: Prisma.SelectSubset<T, SubregionUpdateArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* Delete zero or more Subregions.
|
|
1147
|
-
* @param {SubregionDeleteManyArgs} args - Arguments to filter Subregions to delete.
|
|
1148
|
-
* @example
|
|
1149
|
-
* // Delete a few Subregions
|
|
1150
|
-
* const { count } = await prisma.subregion.deleteMany({
|
|
1151
|
-
* where: {
|
|
1152
|
-
* // ... provide filter here
|
|
1153
|
-
* }
|
|
1154
|
-
* })
|
|
1155
|
-
*
|
|
1156
|
-
*/
|
|
1157
|
-
deleteMany<T extends SubregionDeleteManyArgs>(args?: Prisma.SelectSubset<T, SubregionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* Update zero or more Subregions.
|
|
1161
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1162
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1163
|
-
* @param {SubregionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1164
|
-
* @example
|
|
1165
|
-
* // Update many Subregions
|
|
1166
|
-
* const subregion = await prisma.subregion.updateMany({
|
|
1167
|
-
* where: {
|
|
1168
|
-
* // ... provide filter here
|
|
1169
|
-
* },
|
|
1170
|
-
* data: {
|
|
1171
|
-
* // ... provide data here
|
|
1172
|
-
* }
|
|
1173
|
-
* })
|
|
1174
|
-
*
|
|
1175
|
-
*/
|
|
1176
|
-
updateMany<T extends SubregionUpdateManyArgs>(args: Prisma.SelectSubset<T, SubregionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* Update zero or more Subregions and returns the data updated in the database.
|
|
1180
|
-
* @param {SubregionUpdateManyAndReturnArgs} args - Arguments to update many Subregions.
|
|
1181
|
-
* @example
|
|
1182
|
-
* // Update many Subregions
|
|
1183
|
-
* const subregion = await prisma.subregion.updateManyAndReturn({
|
|
1184
|
-
* where: {
|
|
1185
|
-
* // ... provide filter here
|
|
1186
|
-
* },
|
|
1187
|
-
* data: [
|
|
1188
|
-
* // ... provide data here
|
|
1189
|
-
* ]
|
|
1190
|
-
* })
|
|
1191
|
-
*
|
|
1192
|
-
* // Update zero or more Subregions and only return the `id`
|
|
1193
|
-
* const subregionWithIdOnly = await prisma.subregion.updateManyAndReturn({
|
|
1194
|
-
* select: { id: true },
|
|
1195
|
-
* where: {
|
|
1196
|
-
* // ... provide filter here
|
|
1197
|
-
* },
|
|
1198
|
-
* data: [
|
|
1199
|
-
* // ... provide data here
|
|
1200
|
-
* ]
|
|
1201
|
-
* })
|
|
1202
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1203
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1204
|
-
*
|
|
1205
|
-
*/
|
|
1206
|
-
updateManyAndReturn<T extends SubregionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SubregionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1207
|
-
|
|
1208
|
-
/**
|
|
1209
|
-
* Create or update one Subregion.
|
|
1210
|
-
* @param {SubregionUpsertArgs} args - Arguments to update or create a Subregion.
|
|
1211
|
-
* @example
|
|
1212
|
-
* // Update or create a Subregion
|
|
1213
|
-
* const subregion = await prisma.subregion.upsert({
|
|
1214
|
-
* create: {
|
|
1215
|
-
* // ... data to create a Subregion
|
|
1216
|
-
* },
|
|
1217
|
-
* update: {
|
|
1218
|
-
* // ... in case it already exists, update
|
|
1219
|
-
* },
|
|
1220
|
-
* where: {
|
|
1221
|
-
* // ... the filter for the Subregion we want to update
|
|
1222
|
-
* }
|
|
1223
|
-
* })
|
|
1224
|
-
*/
|
|
1225
|
-
upsert<T extends SubregionUpsertArgs>(args: Prisma.SelectSubset<T, SubregionUpsertArgs<ExtArgs>>): Prisma.Prisma__SubregionClient<runtime.Types.Result.GetResult<Prisma.$SubregionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* Count the number of Subregions.
|
|
1230
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1231
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1232
|
-
* @param {SubregionCountArgs} args - Arguments to filter Subregions to count.
|
|
1233
|
-
* @example
|
|
1234
|
-
* // Count the number of Subregions
|
|
1235
|
-
* const count = await prisma.subregion.count({
|
|
1236
|
-
* where: {
|
|
1237
|
-
* // ... the filter for the Subregions we want to count
|
|
1238
|
-
* }
|
|
1239
|
-
* })
|
|
1240
|
-
**/
|
|
1241
|
-
count<T extends SubregionCountArgs>(
|
|
1242
|
-
args?: Prisma.Subset<T, SubregionCountArgs>,
|
|
1243
|
-
): Prisma.PrismaPromise<
|
|
1244
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1245
|
-
? T['select'] extends true
|
|
1246
|
-
? number
|
|
1247
|
-
: Prisma.GetScalarType<T['select'], SubregionCountAggregateOutputType>
|
|
1248
|
-
: number
|
|
1249
|
-
>
|
|
1250
|
-
|
|
1251
|
-
/**
|
|
1252
|
-
* Allows you to perform aggregations operations on a Subregion.
|
|
1253
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1254
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1255
|
-
* @param {SubregionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1256
|
-
* @example
|
|
1257
|
-
* // Ordered by age ascending
|
|
1258
|
-
* // Where email contains prisma.io
|
|
1259
|
-
* // Limited to the 10 users
|
|
1260
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1261
|
-
* _avg: {
|
|
1262
|
-
* age: true,
|
|
1263
|
-
* },
|
|
1264
|
-
* where: {
|
|
1265
|
-
* email: {
|
|
1266
|
-
* contains: "prisma.io",
|
|
1267
|
-
* },
|
|
1268
|
-
* },
|
|
1269
|
-
* orderBy: {
|
|
1270
|
-
* age: "asc",
|
|
1271
|
-
* },
|
|
1272
|
-
* take: 10,
|
|
1273
|
-
* })
|
|
1274
|
-
**/
|
|
1275
|
-
aggregate<T extends SubregionAggregateArgs>(args: Prisma.Subset<T, SubregionAggregateArgs>): Prisma.PrismaPromise<GetSubregionAggregateType<T>>
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* Group by Subregion.
|
|
1279
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1280
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1281
|
-
* @param {SubregionGroupByArgs} args - Group by arguments.
|
|
1282
|
-
* @example
|
|
1283
|
-
* // Group by city, order by createdAt, get count
|
|
1284
|
-
* const result = await prisma.user.groupBy({
|
|
1285
|
-
* by: ['city', 'createdAt'],
|
|
1286
|
-
* orderBy: {
|
|
1287
|
-
* createdAt: true
|
|
1288
|
-
* },
|
|
1289
|
-
* _count: {
|
|
1290
|
-
* _all: true
|
|
1291
|
-
* },
|
|
1292
|
-
* })
|
|
1293
|
-
*
|
|
1294
|
-
**/
|
|
1295
|
-
groupBy<
|
|
1296
|
-
T extends SubregionGroupByArgs,
|
|
1297
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1298
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1299
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1300
|
-
>,
|
|
1301
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1302
|
-
? { orderBy: SubregionGroupByArgs['orderBy'] }
|
|
1303
|
-
: { orderBy?: SubregionGroupByArgs['orderBy'] },
|
|
1304
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1305
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1306
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1307
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1308
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1309
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1310
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1311
|
-
? `Error: "by" must not be empty.`
|
|
1312
|
-
: HavingValid extends Prisma.False
|
|
1313
|
-
? {
|
|
1314
|
-
[P in HavingFields]: P extends ByFields
|
|
1315
|
-
? never
|
|
1316
|
-
: P extends string
|
|
1317
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1318
|
-
: [
|
|
1319
|
-
Error,
|
|
1320
|
-
'Field ',
|
|
1321
|
-
P,
|
|
1322
|
-
` in "having" needs to be provided in "by"`,
|
|
1323
|
-
]
|
|
1324
|
-
}[HavingFields]
|
|
1325
|
-
: 'take' extends Prisma.Keys<T>
|
|
1326
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1327
|
-
? ByValid extends Prisma.True
|
|
1328
|
-
? {}
|
|
1329
|
-
: {
|
|
1330
|
-
[P in OrderFields]: P extends ByFields
|
|
1331
|
-
? never
|
|
1332
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1333
|
-
}[OrderFields]
|
|
1334
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1335
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1336
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1337
|
-
? ByValid extends Prisma.True
|
|
1338
|
-
? {}
|
|
1339
|
-
: {
|
|
1340
|
-
[P in OrderFields]: P extends ByFields
|
|
1341
|
-
? never
|
|
1342
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1343
|
-
}[OrderFields]
|
|
1344
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1345
|
-
: ByValid extends Prisma.True
|
|
1346
|
-
? {}
|
|
1347
|
-
: {
|
|
1348
|
-
[P in OrderFields]: P extends ByFields
|
|
1349
|
-
? never
|
|
1350
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1351
|
-
}[OrderFields]
|
|
1352
|
-
>(args: Prisma.SubsetIntersection<T, SubregionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSubregionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1353
|
-
/**
|
|
1354
|
-
* Fields of the Subregion model
|
|
1355
|
-
*/
|
|
1356
|
-
readonly fields: SubregionFieldRefs;
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* The delegate class that acts as a "Promise-like" for Subregion.
|
|
1361
|
-
* Why is this prefixed with `Prisma__`?
|
|
1362
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1363
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1364
|
-
*/
|
|
1365
|
-
export interface Prisma__SubregionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1366
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1367
|
-
region<T extends Prisma.Subregion$regionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Subregion$regionArgs<ExtArgs>>): Prisma.Prisma__RegionClient<runtime.Types.Result.GetResult<Prisma.$RegionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1368
|
-
countries<T extends Prisma.Subregion$countriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Subregion$countriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1369
|
-
/**
|
|
1370
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1371
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1372
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1373
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1374
|
-
*/
|
|
1375
|
-
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>
|
|
1376
|
-
/**
|
|
1377
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1378
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1379
|
-
* @returns A Promise for the completion of the callback.
|
|
1380
|
-
*/
|
|
1381
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1382
|
-
/**
|
|
1383
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1384
|
-
* resolved value cannot be modified from the callback.
|
|
1385
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1386
|
-
* @returns A Promise for the completion of the callback.
|
|
1387
|
-
*/
|
|
1388
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
/**
|
|
1395
|
-
* Fields of the Subregion model
|
|
1396
|
-
*/
|
|
1397
|
-
export interface SubregionFieldRefs {
|
|
1398
|
-
readonly id: Prisma.FieldRef<"Subregion", 'Int'>
|
|
1399
|
-
readonly name: Prisma.FieldRef<"Subregion", 'String'>
|
|
1400
|
-
readonly translations: Prisma.FieldRef<"Subregion", 'Json'>
|
|
1401
|
-
readonly wikiDataId: Prisma.FieldRef<"Subregion", 'String'>
|
|
1402
|
-
readonly status: Prisma.FieldRef<"Subregion", 'Boolean'>
|
|
1403
|
-
readonly created_at: Prisma.FieldRef<"Subregion", 'DateTime'>
|
|
1404
|
-
readonly created_by: Prisma.FieldRef<"Subregion", 'Int'>
|
|
1405
|
-
readonly updated_at: Prisma.FieldRef<"Subregion", 'DateTime'>
|
|
1406
|
-
readonly updated_by: Prisma.FieldRef<"Subregion", 'Int'>
|
|
1407
|
-
readonly is_deleted: Prisma.FieldRef<"Subregion", 'Boolean'>
|
|
1408
|
-
readonly deleted_by: Prisma.FieldRef<"Subregion", 'Int'>
|
|
1409
|
-
readonly deleted_at: Prisma.FieldRef<"Subregion", 'DateTime'>
|
|
1410
|
-
readonly region_id: Prisma.FieldRef<"Subregion", 'Int'>
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
// Custom InputTypes
|
|
1415
|
-
/**
|
|
1416
|
-
* Subregion findUnique
|
|
1417
|
-
*/
|
|
1418
|
-
export type SubregionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1419
|
-
/**
|
|
1420
|
-
* Select specific fields to fetch from the Subregion
|
|
1421
|
-
*/
|
|
1422
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1423
|
-
/**
|
|
1424
|
-
* Omit specific fields from the Subregion
|
|
1425
|
-
*/
|
|
1426
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1427
|
-
/**
|
|
1428
|
-
* Choose, which related nodes to fetch as well
|
|
1429
|
-
*/
|
|
1430
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1431
|
-
/**
|
|
1432
|
-
* Filter, which Subregion to fetch.
|
|
1433
|
-
*/
|
|
1434
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* Subregion findUniqueOrThrow
|
|
1439
|
-
*/
|
|
1440
|
-
export type SubregionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1441
|
-
/**
|
|
1442
|
-
* Select specific fields to fetch from the Subregion
|
|
1443
|
-
*/
|
|
1444
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1445
|
-
/**
|
|
1446
|
-
* Omit specific fields from the Subregion
|
|
1447
|
-
*/
|
|
1448
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1449
|
-
/**
|
|
1450
|
-
* Choose, which related nodes to fetch as well
|
|
1451
|
-
*/
|
|
1452
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1453
|
-
/**
|
|
1454
|
-
* Filter, which Subregion to fetch.
|
|
1455
|
-
*/
|
|
1456
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
* Subregion findFirst
|
|
1461
|
-
*/
|
|
1462
|
-
export type SubregionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1463
|
-
/**
|
|
1464
|
-
* Select specific fields to fetch from the Subregion
|
|
1465
|
-
*/
|
|
1466
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1467
|
-
/**
|
|
1468
|
-
* Omit specific fields from the Subregion
|
|
1469
|
-
*/
|
|
1470
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1471
|
-
/**
|
|
1472
|
-
* Choose, which related nodes to fetch as well
|
|
1473
|
-
*/
|
|
1474
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1475
|
-
/**
|
|
1476
|
-
* Filter, which Subregion to fetch.
|
|
1477
|
-
*/
|
|
1478
|
-
where?: Prisma.SubregionWhereInput
|
|
1479
|
-
/**
|
|
1480
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1481
|
-
*
|
|
1482
|
-
* Determine the order of Subregions to fetch.
|
|
1483
|
-
*/
|
|
1484
|
-
orderBy?: Prisma.SubregionOrderByWithRelationInput | Prisma.SubregionOrderByWithRelationInput[]
|
|
1485
|
-
/**
|
|
1486
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1487
|
-
*
|
|
1488
|
-
* Sets the position for searching for Subregions.
|
|
1489
|
-
*/
|
|
1490
|
-
cursor?: Prisma.SubregionWhereUniqueInput
|
|
1491
|
-
/**
|
|
1492
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1493
|
-
*
|
|
1494
|
-
* Take `±n` Subregions from the position of the cursor.
|
|
1495
|
-
*/
|
|
1496
|
-
take?: number
|
|
1497
|
-
/**
|
|
1498
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1499
|
-
*
|
|
1500
|
-
* Skip the first `n` Subregions.
|
|
1501
|
-
*/
|
|
1502
|
-
skip?: number
|
|
1503
|
-
/**
|
|
1504
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1505
|
-
*
|
|
1506
|
-
* Filter by unique combinations of Subregions.
|
|
1507
|
-
*/
|
|
1508
|
-
distinct?: Prisma.SubregionScalarFieldEnum | Prisma.SubregionScalarFieldEnum[]
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
/**
|
|
1512
|
-
* Subregion findFirstOrThrow
|
|
1513
|
-
*/
|
|
1514
|
-
export type SubregionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1515
|
-
/**
|
|
1516
|
-
* Select specific fields to fetch from the Subregion
|
|
1517
|
-
*/
|
|
1518
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1519
|
-
/**
|
|
1520
|
-
* Omit specific fields from the Subregion
|
|
1521
|
-
*/
|
|
1522
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1523
|
-
/**
|
|
1524
|
-
* Choose, which related nodes to fetch as well
|
|
1525
|
-
*/
|
|
1526
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1527
|
-
/**
|
|
1528
|
-
* Filter, which Subregion to fetch.
|
|
1529
|
-
*/
|
|
1530
|
-
where?: Prisma.SubregionWhereInput
|
|
1531
|
-
/**
|
|
1532
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1533
|
-
*
|
|
1534
|
-
* Determine the order of Subregions to fetch.
|
|
1535
|
-
*/
|
|
1536
|
-
orderBy?: Prisma.SubregionOrderByWithRelationInput | Prisma.SubregionOrderByWithRelationInput[]
|
|
1537
|
-
/**
|
|
1538
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1539
|
-
*
|
|
1540
|
-
* Sets the position for searching for Subregions.
|
|
1541
|
-
*/
|
|
1542
|
-
cursor?: Prisma.SubregionWhereUniqueInput
|
|
1543
|
-
/**
|
|
1544
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1545
|
-
*
|
|
1546
|
-
* Take `±n` Subregions from the position of the cursor.
|
|
1547
|
-
*/
|
|
1548
|
-
take?: number
|
|
1549
|
-
/**
|
|
1550
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1551
|
-
*
|
|
1552
|
-
* Skip the first `n` Subregions.
|
|
1553
|
-
*/
|
|
1554
|
-
skip?: number
|
|
1555
|
-
/**
|
|
1556
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1557
|
-
*
|
|
1558
|
-
* Filter by unique combinations of Subregions.
|
|
1559
|
-
*/
|
|
1560
|
-
distinct?: Prisma.SubregionScalarFieldEnum | Prisma.SubregionScalarFieldEnum[]
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
/**
|
|
1564
|
-
* Subregion findMany
|
|
1565
|
-
*/
|
|
1566
|
-
export type SubregionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1567
|
-
/**
|
|
1568
|
-
* Select specific fields to fetch from the Subregion
|
|
1569
|
-
*/
|
|
1570
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1571
|
-
/**
|
|
1572
|
-
* Omit specific fields from the Subregion
|
|
1573
|
-
*/
|
|
1574
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1575
|
-
/**
|
|
1576
|
-
* Choose, which related nodes to fetch as well
|
|
1577
|
-
*/
|
|
1578
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1579
|
-
/**
|
|
1580
|
-
* Filter, which Subregions to fetch.
|
|
1581
|
-
*/
|
|
1582
|
-
where?: Prisma.SubregionWhereInput
|
|
1583
|
-
/**
|
|
1584
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1585
|
-
*
|
|
1586
|
-
* Determine the order of Subregions to fetch.
|
|
1587
|
-
*/
|
|
1588
|
-
orderBy?: Prisma.SubregionOrderByWithRelationInput | Prisma.SubregionOrderByWithRelationInput[]
|
|
1589
|
-
/**
|
|
1590
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1591
|
-
*
|
|
1592
|
-
* Sets the position for listing Subregions.
|
|
1593
|
-
*/
|
|
1594
|
-
cursor?: Prisma.SubregionWhereUniqueInput
|
|
1595
|
-
/**
|
|
1596
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1597
|
-
*
|
|
1598
|
-
* Take `±n` Subregions from the position of the cursor.
|
|
1599
|
-
*/
|
|
1600
|
-
take?: number
|
|
1601
|
-
/**
|
|
1602
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1603
|
-
*
|
|
1604
|
-
* Skip the first `n` Subregions.
|
|
1605
|
-
*/
|
|
1606
|
-
skip?: number
|
|
1607
|
-
/**
|
|
1608
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1609
|
-
*
|
|
1610
|
-
* Filter by unique combinations of Subregions.
|
|
1611
|
-
*/
|
|
1612
|
-
distinct?: Prisma.SubregionScalarFieldEnum | Prisma.SubregionScalarFieldEnum[]
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
/**
|
|
1616
|
-
* Subregion create
|
|
1617
|
-
*/
|
|
1618
|
-
export type SubregionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1619
|
-
/**
|
|
1620
|
-
* Select specific fields to fetch from the Subregion
|
|
1621
|
-
*/
|
|
1622
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1623
|
-
/**
|
|
1624
|
-
* Omit specific fields from the Subregion
|
|
1625
|
-
*/
|
|
1626
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1627
|
-
/**
|
|
1628
|
-
* Choose, which related nodes to fetch as well
|
|
1629
|
-
*/
|
|
1630
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1631
|
-
/**
|
|
1632
|
-
* The data needed to create a Subregion.
|
|
1633
|
-
*/
|
|
1634
|
-
data: Prisma.XOR<Prisma.SubregionCreateInput, Prisma.SubregionUncheckedCreateInput>
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* Subregion createMany
|
|
1639
|
-
*/
|
|
1640
|
-
export type SubregionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1641
|
-
/**
|
|
1642
|
-
* The data used to create many Subregions.
|
|
1643
|
-
*/
|
|
1644
|
-
data: Prisma.SubregionCreateManyInput | Prisma.SubregionCreateManyInput[]
|
|
1645
|
-
skipDuplicates?: boolean
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
/**
|
|
1649
|
-
* Subregion createManyAndReturn
|
|
1650
|
-
*/
|
|
1651
|
-
export type SubregionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1652
|
-
/**
|
|
1653
|
-
* Select specific fields to fetch from the Subregion
|
|
1654
|
-
*/
|
|
1655
|
-
select?: Prisma.SubregionSelectCreateManyAndReturn<ExtArgs> | null
|
|
1656
|
-
/**
|
|
1657
|
-
* Omit specific fields from the Subregion
|
|
1658
|
-
*/
|
|
1659
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1660
|
-
/**
|
|
1661
|
-
* The data used to create many Subregions.
|
|
1662
|
-
*/
|
|
1663
|
-
data: Prisma.SubregionCreateManyInput | Prisma.SubregionCreateManyInput[]
|
|
1664
|
-
skipDuplicates?: boolean
|
|
1665
|
-
/**
|
|
1666
|
-
* Choose, which related nodes to fetch as well
|
|
1667
|
-
*/
|
|
1668
|
-
include?: Prisma.SubregionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
* Subregion update
|
|
1673
|
-
*/
|
|
1674
|
-
export type SubregionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1675
|
-
/**
|
|
1676
|
-
* Select specific fields to fetch from the Subregion
|
|
1677
|
-
*/
|
|
1678
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1679
|
-
/**
|
|
1680
|
-
* Omit specific fields from the Subregion
|
|
1681
|
-
*/
|
|
1682
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1683
|
-
/**
|
|
1684
|
-
* Choose, which related nodes to fetch as well
|
|
1685
|
-
*/
|
|
1686
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1687
|
-
/**
|
|
1688
|
-
* The data needed to update a Subregion.
|
|
1689
|
-
*/
|
|
1690
|
-
data: Prisma.XOR<Prisma.SubregionUpdateInput, Prisma.SubregionUncheckedUpdateInput>
|
|
1691
|
-
/**
|
|
1692
|
-
* Choose, which Subregion to update.
|
|
1693
|
-
*/
|
|
1694
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
/**
|
|
1698
|
-
* Subregion updateMany
|
|
1699
|
-
*/
|
|
1700
|
-
export type SubregionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1701
|
-
/**
|
|
1702
|
-
* The data used to update Subregions.
|
|
1703
|
-
*/
|
|
1704
|
-
data: Prisma.XOR<Prisma.SubregionUpdateManyMutationInput, Prisma.SubregionUncheckedUpdateManyInput>
|
|
1705
|
-
/**
|
|
1706
|
-
* Filter which Subregions to update
|
|
1707
|
-
*/
|
|
1708
|
-
where?: Prisma.SubregionWhereInput
|
|
1709
|
-
/**
|
|
1710
|
-
* Limit how many Subregions to update.
|
|
1711
|
-
*/
|
|
1712
|
-
limit?: number
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* Subregion updateManyAndReturn
|
|
1717
|
-
*/
|
|
1718
|
-
export type SubregionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1719
|
-
/**
|
|
1720
|
-
* Select specific fields to fetch from the Subregion
|
|
1721
|
-
*/
|
|
1722
|
-
select?: Prisma.SubregionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1723
|
-
/**
|
|
1724
|
-
* Omit specific fields from the Subregion
|
|
1725
|
-
*/
|
|
1726
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1727
|
-
/**
|
|
1728
|
-
* The data used to update Subregions.
|
|
1729
|
-
*/
|
|
1730
|
-
data: Prisma.XOR<Prisma.SubregionUpdateManyMutationInput, Prisma.SubregionUncheckedUpdateManyInput>
|
|
1731
|
-
/**
|
|
1732
|
-
* Filter which Subregions to update
|
|
1733
|
-
*/
|
|
1734
|
-
where?: Prisma.SubregionWhereInput
|
|
1735
|
-
/**
|
|
1736
|
-
* Limit how many Subregions to update.
|
|
1737
|
-
*/
|
|
1738
|
-
limit?: number
|
|
1739
|
-
/**
|
|
1740
|
-
* Choose, which related nodes to fetch as well
|
|
1741
|
-
*/
|
|
1742
|
-
include?: Prisma.SubregionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
/**
|
|
1746
|
-
* Subregion upsert
|
|
1747
|
-
*/
|
|
1748
|
-
export type SubregionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1749
|
-
/**
|
|
1750
|
-
* Select specific fields to fetch from the Subregion
|
|
1751
|
-
*/
|
|
1752
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1753
|
-
/**
|
|
1754
|
-
* Omit specific fields from the Subregion
|
|
1755
|
-
*/
|
|
1756
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1757
|
-
/**
|
|
1758
|
-
* Choose, which related nodes to fetch as well
|
|
1759
|
-
*/
|
|
1760
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1761
|
-
/**
|
|
1762
|
-
* The filter to search for the Subregion to update in case it exists.
|
|
1763
|
-
*/
|
|
1764
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
1765
|
-
/**
|
|
1766
|
-
* In case the Subregion found by the `where` argument doesn't exist, create a new Subregion with this data.
|
|
1767
|
-
*/
|
|
1768
|
-
create: Prisma.XOR<Prisma.SubregionCreateInput, Prisma.SubregionUncheckedCreateInput>
|
|
1769
|
-
/**
|
|
1770
|
-
* In case the Subregion was found with the provided `where` argument, update it with this data.
|
|
1771
|
-
*/
|
|
1772
|
-
update: Prisma.XOR<Prisma.SubregionUpdateInput, Prisma.SubregionUncheckedUpdateInput>
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
/**
|
|
1776
|
-
* Subregion delete
|
|
1777
|
-
*/
|
|
1778
|
-
export type SubregionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1779
|
-
/**
|
|
1780
|
-
* Select specific fields to fetch from the Subregion
|
|
1781
|
-
*/
|
|
1782
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1783
|
-
/**
|
|
1784
|
-
* Omit specific fields from the Subregion
|
|
1785
|
-
*/
|
|
1786
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1787
|
-
/**
|
|
1788
|
-
* Choose, which related nodes to fetch as well
|
|
1789
|
-
*/
|
|
1790
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1791
|
-
/**
|
|
1792
|
-
* Filter which Subregion to delete.
|
|
1793
|
-
*/
|
|
1794
|
-
where: Prisma.SubregionWhereUniqueInput
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
/**
|
|
1798
|
-
* Subregion deleteMany
|
|
1799
|
-
*/
|
|
1800
|
-
export type SubregionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1801
|
-
/**
|
|
1802
|
-
* Filter which Subregions to delete
|
|
1803
|
-
*/
|
|
1804
|
-
where?: Prisma.SubregionWhereInput
|
|
1805
|
-
/**
|
|
1806
|
-
* Limit how many Subregions to delete.
|
|
1807
|
-
*/
|
|
1808
|
-
limit?: number
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
* Subregion.region
|
|
1813
|
-
*/
|
|
1814
|
-
export type Subregion$regionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1815
|
-
/**
|
|
1816
|
-
* Select specific fields to fetch from the Region
|
|
1817
|
-
*/
|
|
1818
|
-
select?: Prisma.RegionSelect<ExtArgs> | null
|
|
1819
|
-
/**
|
|
1820
|
-
* Omit specific fields from the Region
|
|
1821
|
-
*/
|
|
1822
|
-
omit?: Prisma.RegionOmit<ExtArgs> | null
|
|
1823
|
-
/**
|
|
1824
|
-
* Choose, which related nodes to fetch as well
|
|
1825
|
-
*/
|
|
1826
|
-
include?: Prisma.RegionInclude<ExtArgs> | null
|
|
1827
|
-
where?: Prisma.RegionWhereInput
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
/**
|
|
1831
|
-
* Subregion.countries
|
|
1832
|
-
*/
|
|
1833
|
-
export type Subregion$countriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1834
|
-
/**
|
|
1835
|
-
* Select specific fields to fetch from the Country
|
|
1836
|
-
*/
|
|
1837
|
-
select?: Prisma.CountrySelect<ExtArgs> | null
|
|
1838
|
-
/**
|
|
1839
|
-
* Omit specific fields from the Country
|
|
1840
|
-
*/
|
|
1841
|
-
omit?: Prisma.CountryOmit<ExtArgs> | null
|
|
1842
|
-
/**
|
|
1843
|
-
* Choose, which related nodes to fetch as well
|
|
1844
|
-
*/
|
|
1845
|
-
include?: Prisma.CountryInclude<ExtArgs> | null
|
|
1846
|
-
where?: Prisma.CountryWhereInput
|
|
1847
|
-
orderBy?: Prisma.CountryOrderByWithRelationInput | Prisma.CountryOrderByWithRelationInput[]
|
|
1848
|
-
cursor?: Prisma.CountryWhereUniqueInput
|
|
1849
|
-
take?: number
|
|
1850
|
-
skip?: number
|
|
1851
|
-
distinct?: Prisma.CountryScalarFieldEnum | Prisma.CountryScalarFieldEnum[]
|
|
1852
|
-
}
|
|
1853
|
-
|
|
1854
|
-
/**
|
|
1855
|
-
* Subregion without action
|
|
1856
|
-
*/
|
|
1857
|
-
export type SubregionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1858
|
-
/**
|
|
1859
|
-
* Select specific fields to fetch from the Subregion
|
|
1860
|
-
*/
|
|
1861
|
-
select?: Prisma.SubregionSelect<ExtArgs> | null
|
|
1862
|
-
/**
|
|
1863
|
-
* Omit specific fields from the Subregion
|
|
1864
|
-
*/
|
|
1865
|
-
omit?: Prisma.SubregionOmit<ExtArgs> | null
|
|
1866
|
-
/**
|
|
1867
|
-
* Choose, which related nodes to fetch as well
|
|
1868
|
-
*/
|
|
1869
|
-
include?: Prisma.SubregionInclude<ExtArgs> | null
|
|
1870
|
-
}
|