procbay-schema 1.0.171 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,1630 +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 `Module` 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 Module
17
- *
18
- */
19
- export type ModuleModel = runtime.Types.Result.DefaultSelection<Prisma.$ModulePayload>
20
-
21
- export type AggregateModule = {
22
- _count: ModuleCountAggregateOutputType | null
23
- _avg: ModuleAvgAggregateOutputType | null
24
- _sum: ModuleSumAggregateOutputType | null
25
- _min: ModuleMinAggregateOutputType | null
26
- _max: ModuleMaxAggregateOutputType | null
27
- }
28
-
29
- export type ModuleAvgAggregateOutputType = {
30
- id: number | null
31
- tenant_config_id: number | null
32
- created_by: number | null
33
- }
34
-
35
- export type ModuleSumAggregateOutputType = {
36
- id: number | null
37
- tenant_config_id: number | null
38
- created_by: number | null
39
- }
40
-
41
- export type ModuleMinAggregateOutputType = {
42
- id: number | null
43
- uuid: string | null
44
- tenant_config_id: number | null
45
- name: string | null
46
- slug: string | null
47
- created_at: Date | null
48
- created_by: number | null
49
- }
50
-
51
- export type ModuleMaxAggregateOutputType = {
52
- id: number | null
53
- uuid: string | null
54
- tenant_config_id: number | null
55
- name: string | null
56
- slug: string | null
57
- created_at: Date | null
58
- created_by: number | null
59
- }
60
-
61
- export type ModuleCountAggregateOutputType = {
62
- id: number
63
- uuid: number
64
- tenant_config_id: number
65
- name: number
66
- slug: number
67
- created_at: number
68
- created_by: number
69
- _all: number
70
- }
71
-
72
-
73
- export type ModuleAvgAggregateInputType = {
74
- id?: true
75
- tenant_config_id?: true
76
- created_by?: true
77
- }
78
-
79
- export type ModuleSumAggregateInputType = {
80
- id?: true
81
- tenant_config_id?: true
82
- created_by?: true
83
- }
84
-
85
- export type ModuleMinAggregateInputType = {
86
- id?: true
87
- uuid?: true
88
- tenant_config_id?: true
89
- name?: true
90
- slug?: true
91
- created_at?: true
92
- created_by?: true
93
- }
94
-
95
- export type ModuleMaxAggregateInputType = {
96
- id?: true
97
- uuid?: true
98
- tenant_config_id?: true
99
- name?: true
100
- slug?: true
101
- created_at?: true
102
- created_by?: true
103
- }
104
-
105
- export type ModuleCountAggregateInputType = {
106
- id?: true
107
- uuid?: true
108
- tenant_config_id?: true
109
- name?: true
110
- slug?: true
111
- created_at?: true
112
- created_by?: true
113
- _all?: true
114
- }
115
-
116
- export type ModuleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
117
- /**
118
- * Filter which Module to aggregate.
119
- */
120
- where?: Prisma.ModuleWhereInput
121
- /**
122
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
123
- *
124
- * Determine the order of Modules to fetch.
125
- */
126
- orderBy?: Prisma.ModuleOrderByWithRelationInput | Prisma.ModuleOrderByWithRelationInput[]
127
- /**
128
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
129
- *
130
- * Sets the start position
131
- */
132
- cursor?: Prisma.ModuleWhereUniqueInput
133
- /**
134
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
135
- *
136
- * Take `±n` Modules from the position of the cursor.
137
- */
138
- take?: number
139
- /**
140
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
141
- *
142
- * Skip the first `n` Modules.
143
- */
144
- skip?: number
145
- /**
146
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
- *
148
- * Count returned Modules
149
- **/
150
- _count?: true | ModuleCountAggregateInputType
151
- /**
152
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
153
- *
154
- * Select which fields to average
155
- **/
156
- _avg?: ModuleAvgAggregateInputType
157
- /**
158
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
159
- *
160
- * Select which fields to sum
161
- **/
162
- _sum?: ModuleSumAggregateInputType
163
- /**
164
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
- *
166
- * Select which fields to find the minimum value
167
- **/
168
- _min?: ModuleMinAggregateInputType
169
- /**
170
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
- *
172
- * Select which fields to find the maximum value
173
- **/
174
- _max?: ModuleMaxAggregateInputType
175
- }
176
-
177
- export type GetModuleAggregateType<T extends ModuleAggregateArgs> = {
178
- [P in keyof T & keyof AggregateModule]: P extends '_count' | 'count'
179
- ? T[P] extends true
180
- ? number
181
- : Prisma.GetScalarType<T[P], AggregateModule[P]>
182
- : Prisma.GetScalarType<T[P], AggregateModule[P]>
183
- }
184
-
185
-
186
-
187
-
188
- export type ModuleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
189
- where?: Prisma.ModuleWhereInput
190
- orderBy?: Prisma.ModuleOrderByWithAggregationInput | Prisma.ModuleOrderByWithAggregationInput[]
191
- by: Prisma.ModuleScalarFieldEnum[] | Prisma.ModuleScalarFieldEnum
192
- having?: Prisma.ModuleScalarWhereWithAggregatesInput
193
- take?: number
194
- skip?: number
195
- _count?: ModuleCountAggregateInputType | true
196
- _avg?: ModuleAvgAggregateInputType
197
- _sum?: ModuleSumAggregateInputType
198
- _min?: ModuleMinAggregateInputType
199
- _max?: ModuleMaxAggregateInputType
200
- }
201
-
202
- export type ModuleGroupByOutputType = {
203
- id: number
204
- uuid: string | null
205
- tenant_config_id: number | null
206
- name: string | null
207
- slug: string | null
208
- created_at: Date | null
209
- created_by: number | null
210
- _count: ModuleCountAggregateOutputType | null
211
- _avg: ModuleAvgAggregateOutputType | null
212
- _sum: ModuleSumAggregateOutputType | null
213
- _min: ModuleMinAggregateOutputType | null
214
- _max: ModuleMaxAggregateOutputType | null
215
- }
216
-
217
- export type GetModuleGroupByPayload<T extends ModuleGroupByArgs> = Prisma.PrismaPromise<
218
- Array<
219
- Prisma.PickEnumerable<ModuleGroupByOutputType, T['by']> &
220
- {
221
- [P in ((keyof T) & (keyof ModuleGroupByOutputType))]: P extends '_count'
222
- ? T[P] extends boolean
223
- ? number
224
- : Prisma.GetScalarType<T[P], ModuleGroupByOutputType[P]>
225
- : Prisma.GetScalarType<T[P], ModuleGroupByOutputType[P]>
226
- }
227
- >
228
- >
229
-
230
-
231
-
232
- export type ModuleWhereInput = {
233
- AND?: Prisma.ModuleWhereInput | Prisma.ModuleWhereInput[]
234
- OR?: Prisma.ModuleWhereInput[]
235
- NOT?: Prisma.ModuleWhereInput | Prisma.ModuleWhereInput[]
236
- id?: Prisma.IntFilter<"Module"> | number
237
- uuid?: Prisma.StringNullableFilter<"Module"> | string | null
238
- tenant_config_id?: Prisma.IntNullableFilter<"Module"> | number | null
239
- name?: Prisma.StringNullableFilter<"Module"> | string | null
240
- slug?: Prisma.StringNullableFilter<"Module"> | string | null
241
- created_at?: Prisma.DateTimeNullableFilter<"Module"> | Date | string | null
242
- created_by?: Prisma.IntNullableFilter<"Module"> | number | null
243
- tenant_config?: Prisma.XOR<Prisma.TenantConfigurationNullableScalarRelationFilter, Prisma.TenantConfigurationWhereInput> | null
244
- sub_modules?: Prisma.SubModuleListRelationFilter
245
- }
246
-
247
- export type ModuleOrderByWithRelationInput = {
248
- id?: Prisma.SortOrder
249
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
250
- tenant_config_id?: Prisma.SortOrderInput | Prisma.SortOrder
251
- name?: Prisma.SortOrderInput | Prisma.SortOrder
252
- slug?: Prisma.SortOrderInput | Prisma.SortOrder
253
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
254
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
255
- tenant_config?: Prisma.TenantConfigurationOrderByWithRelationInput
256
- sub_modules?: Prisma.SubModuleOrderByRelationAggregateInput
257
- }
258
-
259
- export type ModuleWhereUniqueInput = Prisma.AtLeast<{
260
- id?: number
261
- uuid?: string
262
- slug?: string
263
- AND?: Prisma.ModuleWhereInput | Prisma.ModuleWhereInput[]
264
- OR?: Prisma.ModuleWhereInput[]
265
- NOT?: Prisma.ModuleWhereInput | Prisma.ModuleWhereInput[]
266
- tenant_config_id?: Prisma.IntNullableFilter<"Module"> | number | null
267
- name?: Prisma.StringNullableFilter<"Module"> | string | null
268
- created_at?: Prisma.DateTimeNullableFilter<"Module"> | Date | string | null
269
- created_by?: Prisma.IntNullableFilter<"Module"> | number | null
270
- tenant_config?: Prisma.XOR<Prisma.TenantConfigurationNullableScalarRelationFilter, Prisma.TenantConfigurationWhereInput> | null
271
- sub_modules?: Prisma.SubModuleListRelationFilter
272
- }, "id" | "uuid" | "slug">
273
-
274
- export type ModuleOrderByWithAggregationInput = {
275
- id?: Prisma.SortOrder
276
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
277
- tenant_config_id?: Prisma.SortOrderInput | Prisma.SortOrder
278
- name?: Prisma.SortOrderInput | Prisma.SortOrder
279
- slug?: Prisma.SortOrderInput | Prisma.SortOrder
280
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
281
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
282
- _count?: Prisma.ModuleCountOrderByAggregateInput
283
- _avg?: Prisma.ModuleAvgOrderByAggregateInput
284
- _max?: Prisma.ModuleMaxOrderByAggregateInput
285
- _min?: Prisma.ModuleMinOrderByAggregateInput
286
- _sum?: Prisma.ModuleSumOrderByAggregateInput
287
- }
288
-
289
- export type ModuleScalarWhereWithAggregatesInput = {
290
- AND?: Prisma.ModuleScalarWhereWithAggregatesInput | Prisma.ModuleScalarWhereWithAggregatesInput[]
291
- OR?: Prisma.ModuleScalarWhereWithAggregatesInput[]
292
- NOT?: Prisma.ModuleScalarWhereWithAggregatesInput | Prisma.ModuleScalarWhereWithAggregatesInput[]
293
- id?: Prisma.IntWithAggregatesFilter<"Module"> | number
294
- uuid?: Prisma.StringNullableWithAggregatesFilter<"Module"> | string | null
295
- tenant_config_id?: Prisma.IntNullableWithAggregatesFilter<"Module"> | number | null
296
- name?: Prisma.StringNullableWithAggregatesFilter<"Module"> | string | null
297
- slug?: Prisma.StringNullableWithAggregatesFilter<"Module"> | string | null
298
- created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Module"> | Date | string | null
299
- created_by?: Prisma.IntNullableWithAggregatesFilter<"Module"> | number | null
300
- }
301
-
302
- export type ModuleCreateInput = {
303
- uuid?: string | null
304
- name?: string | null
305
- slug?: string | null
306
- created_at?: Date | string | null
307
- created_by?: number | null
308
- tenant_config?: Prisma.TenantConfigurationCreateNestedOneWithoutAllowed_modulesInput
309
- sub_modules?: Prisma.SubModuleCreateNestedManyWithoutModuleInput
310
- }
311
-
312
- export type ModuleUncheckedCreateInput = {
313
- id?: number
314
- uuid?: string | null
315
- tenant_config_id?: number | null
316
- name?: string | null
317
- slug?: string | null
318
- created_at?: Date | string | null
319
- created_by?: number | null
320
- sub_modules?: Prisma.SubModuleUncheckedCreateNestedManyWithoutModuleInput
321
- }
322
-
323
- export type ModuleUpdateInput = {
324
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
325
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
326
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
327
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
328
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
329
- tenant_config?: Prisma.TenantConfigurationUpdateOneWithoutAllowed_modulesNestedInput
330
- sub_modules?: Prisma.SubModuleUpdateManyWithoutModuleNestedInput
331
- }
332
-
333
- export type ModuleUncheckedUpdateInput = {
334
- id?: Prisma.IntFieldUpdateOperationsInput | number
335
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
336
- tenant_config_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
337
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
338
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
339
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
340
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
341
- sub_modules?: Prisma.SubModuleUncheckedUpdateManyWithoutModuleNestedInput
342
- }
343
-
344
- export type ModuleCreateManyInput = {
345
- id?: number
346
- uuid?: string | null
347
- tenant_config_id?: number | null
348
- name?: string | null
349
- slug?: string | null
350
- created_at?: Date | string | null
351
- created_by?: number | null
352
- }
353
-
354
- export type ModuleUpdateManyMutationInput = {
355
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
356
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
357
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
358
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
359
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
360
- }
361
-
362
- export type ModuleUncheckedUpdateManyInput = {
363
- id?: Prisma.IntFieldUpdateOperationsInput | number
364
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
365
- tenant_config_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
366
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
367
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
368
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
369
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
370
- }
371
-
372
- export type ModuleCountOrderByAggregateInput = {
373
- id?: Prisma.SortOrder
374
- uuid?: Prisma.SortOrder
375
- tenant_config_id?: Prisma.SortOrder
376
- name?: Prisma.SortOrder
377
- slug?: Prisma.SortOrder
378
- created_at?: Prisma.SortOrder
379
- created_by?: Prisma.SortOrder
380
- }
381
-
382
- export type ModuleAvgOrderByAggregateInput = {
383
- id?: Prisma.SortOrder
384
- tenant_config_id?: Prisma.SortOrder
385
- created_by?: Prisma.SortOrder
386
- }
387
-
388
- export type ModuleMaxOrderByAggregateInput = {
389
- id?: Prisma.SortOrder
390
- uuid?: Prisma.SortOrder
391
- tenant_config_id?: Prisma.SortOrder
392
- name?: Prisma.SortOrder
393
- slug?: Prisma.SortOrder
394
- created_at?: Prisma.SortOrder
395
- created_by?: Prisma.SortOrder
396
- }
397
-
398
- export type ModuleMinOrderByAggregateInput = {
399
- id?: Prisma.SortOrder
400
- uuid?: Prisma.SortOrder
401
- tenant_config_id?: Prisma.SortOrder
402
- name?: Prisma.SortOrder
403
- slug?: Prisma.SortOrder
404
- created_at?: Prisma.SortOrder
405
- created_by?: Prisma.SortOrder
406
- }
407
-
408
- export type ModuleSumOrderByAggregateInput = {
409
- id?: Prisma.SortOrder
410
- tenant_config_id?: Prisma.SortOrder
411
- created_by?: Prisma.SortOrder
412
- }
413
-
414
- export type ModuleListRelationFilter = {
415
- every?: Prisma.ModuleWhereInput
416
- some?: Prisma.ModuleWhereInput
417
- none?: Prisma.ModuleWhereInput
418
- }
419
-
420
- export type ModuleOrderByRelationAggregateInput = {
421
- _count?: Prisma.SortOrder
422
- }
423
-
424
- export type ModuleNullableScalarRelationFilter = {
425
- is?: Prisma.ModuleWhereInput | null
426
- isNot?: Prisma.ModuleWhereInput | null
427
- }
428
-
429
- export type ModuleCreateNestedManyWithoutTenant_configInput = {
430
- create?: Prisma.XOR<Prisma.ModuleCreateWithoutTenant_configInput, Prisma.ModuleUncheckedCreateWithoutTenant_configInput> | Prisma.ModuleCreateWithoutTenant_configInput[] | Prisma.ModuleUncheckedCreateWithoutTenant_configInput[]
431
- connectOrCreate?: Prisma.ModuleCreateOrConnectWithoutTenant_configInput | Prisma.ModuleCreateOrConnectWithoutTenant_configInput[]
432
- createMany?: Prisma.ModuleCreateManyTenant_configInputEnvelope
433
- connect?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
434
- }
435
-
436
- export type ModuleUncheckedCreateNestedManyWithoutTenant_configInput = {
437
- create?: Prisma.XOR<Prisma.ModuleCreateWithoutTenant_configInput, Prisma.ModuleUncheckedCreateWithoutTenant_configInput> | Prisma.ModuleCreateWithoutTenant_configInput[] | Prisma.ModuleUncheckedCreateWithoutTenant_configInput[]
438
- connectOrCreate?: Prisma.ModuleCreateOrConnectWithoutTenant_configInput | Prisma.ModuleCreateOrConnectWithoutTenant_configInput[]
439
- createMany?: Prisma.ModuleCreateManyTenant_configInputEnvelope
440
- connect?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
441
- }
442
-
443
- export type ModuleUpdateManyWithoutTenant_configNestedInput = {
444
- create?: Prisma.XOR<Prisma.ModuleCreateWithoutTenant_configInput, Prisma.ModuleUncheckedCreateWithoutTenant_configInput> | Prisma.ModuleCreateWithoutTenant_configInput[] | Prisma.ModuleUncheckedCreateWithoutTenant_configInput[]
445
- connectOrCreate?: Prisma.ModuleCreateOrConnectWithoutTenant_configInput | Prisma.ModuleCreateOrConnectWithoutTenant_configInput[]
446
- upsert?: Prisma.ModuleUpsertWithWhereUniqueWithoutTenant_configInput | Prisma.ModuleUpsertWithWhereUniqueWithoutTenant_configInput[]
447
- createMany?: Prisma.ModuleCreateManyTenant_configInputEnvelope
448
- set?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
449
- disconnect?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
450
- delete?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
451
- connect?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
452
- update?: Prisma.ModuleUpdateWithWhereUniqueWithoutTenant_configInput | Prisma.ModuleUpdateWithWhereUniqueWithoutTenant_configInput[]
453
- updateMany?: Prisma.ModuleUpdateManyWithWhereWithoutTenant_configInput | Prisma.ModuleUpdateManyWithWhereWithoutTenant_configInput[]
454
- deleteMany?: Prisma.ModuleScalarWhereInput | Prisma.ModuleScalarWhereInput[]
455
- }
456
-
457
- export type ModuleUncheckedUpdateManyWithoutTenant_configNestedInput = {
458
- create?: Prisma.XOR<Prisma.ModuleCreateWithoutTenant_configInput, Prisma.ModuleUncheckedCreateWithoutTenant_configInput> | Prisma.ModuleCreateWithoutTenant_configInput[] | Prisma.ModuleUncheckedCreateWithoutTenant_configInput[]
459
- connectOrCreate?: Prisma.ModuleCreateOrConnectWithoutTenant_configInput | Prisma.ModuleCreateOrConnectWithoutTenant_configInput[]
460
- upsert?: Prisma.ModuleUpsertWithWhereUniqueWithoutTenant_configInput | Prisma.ModuleUpsertWithWhereUniqueWithoutTenant_configInput[]
461
- createMany?: Prisma.ModuleCreateManyTenant_configInputEnvelope
462
- set?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
463
- disconnect?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
464
- delete?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
465
- connect?: Prisma.ModuleWhereUniqueInput | Prisma.ModuleWhereUniqueInput[]
466
- update?: Prisma.ModuleUpdateWithWhereUniqueWithoutTenant_configInput | Prisma.ModuleUpdateWithWhereUniqueWithoutTenant_configInput[]
467
- updateMany?: Prisma.ModuleUpdateManyWithWhereWithoutTenant_configInput | Prisma.ModuleUpdateManyWithWhereWithoutTenant_configInput[]
468
- deleteMany?: Prisma.ModuleScalarWhereInput | Prisma.ModuleScalarWhereInput[]
469
- }
470
-
471
- export type ModuleCreateNestedOneWithoutSub_modulesInput = {
472
- create?: Prisma.XOR<Prisma.ModuleCreateWithoutSub_modulesInput, Prisma.ModuleUncheckedCreateWithoutSub_modulesInput>
473
- connectOrCreate?: Prisma.ModuleCreateOrConnectWithoutSub_modulesInput
474
- connect?: Prisma.ModuleWhereUniqueInput
475
- }
476
-
477
- export type ModuleUpdateOneWithoutSub_modulesNestedInput = {
478
- create?: Prisma.XOR<Prisma.ModuleCreateWithoutSub_modulesInput, Prisma.ModuleUncheckedCreateWithoutSub_modulesInput>
479
- connectOrCreate?: Prisma.ModuleCreateOrConnectWithoutSub_modulesInput
480
- upsert?: Prisma.ModuleUpsertWithoutSub_modulesInput
481
- disconnect?: Prisma.ModuleWhereInput | boolean
482
- delete?: Prisma.ModuleWhereInput | boolean
483
- connect?: Prisma.ModuleWhereUniqueInput
484
- update?: Prisma.XOR<Prisma.XOR<Prisma.ModuleUpdateToOneWithWhereWithoutSub_modulesInput, Prisma.ModuleUpdateWithoutSub_modulesInput>, Prisma.ModuleUncheckedUpdateWithoutSub_modulesInput>
485
- }
486
-
487
- export type ModuleCreateWithoutTenant_configInput = {
488
- uuid?: string | null
489
- name?: string | null
490
- slug?: string | null
491
- created_at?: Date | string | null
492
- created_by?: number | null
493
- sub_modules?: Prisma.SubModuleCreateNestedManyWithoutModuleInput
494
- }
495
-
496
- export type ModuleUncheckedCreateWithoutTenant_configInput = {
497
- id?: number
498
- uuid?: string | null
499
- name?: string | null
500
- slug?: string | null
501
- created_at?: Date | string | null
502
- created_by?: number | null
503
- sub_modules?: Prisma.SubModuleUncheckedCreateNestedManyWithoutModuleInput
504
- }
505
-
506
- export type ModuleCreateOrConnectWithoutTenant_configInput = {
507
- where: Prisma.ModuleWhereUniqueInput
508
- create: Prisma.XOR<Prisma.ModuleCreateWithoutTenant_configInput, Prisma.ModuleUncheckedCreateWithoutTenant_configInput>
509
- }
510
-
511
- export type ModuleCreateManyTenant_configInputEnvelope = {
512
- data: Prisma.ModuleCreateManyTenant_configInput | Prisma.ModuleCreateManyTenant_configInput[]
513
- skipDuplicates?: boolean
514
- }
515
-
516
- export type ModuleUpsertWithWhereUniqueWithoutTenant_configInput = {
517
- where: Prisma.ModuleWhereUniqueInput
518
- update: Prisma.XOR<Prisma.ModuleUpdateWithoutTenant_configInput, Prisma.ModuleUncheckedUpdateWithoutTenant_configInput>
519
- create: Prisma.XOR<Prisma.ModuleCreateWithoutTenant_configInput, Prisma.ModuleUncheckedCreateWithoutTenant_configInput>
520
- }
521
-
522
- export type ModuleUpdateWithWhereUniqueWithoutTenant_configInput = {
523
- where: Prisma.ModuleWhereUniqueInput
524
- data: Prisma.XOR<Prisma.ModuleUpdateWithoutTenant_configInput, Prisma.ModuleUncheckedUpdateWithoutTenant_configInput>
525
- }
526
-
527
- export type ModuleUpdateManyWithWhereWithoutTenant_configInput = {
528
- where: Prisma.ModuleScalarWhereInput
529
- data: Prisma.XOR<Prisma.ModuleUpdateManyMutationInput, Prisma.ModuleUncheckedUpdateManyWithoutTenant_configInput>
530
- }
531
-
532
- export type ModuleScalarWhereInput = {
533
- AND?: Prisma.ModuleScalarWhereInput | Prisma.ModuleScalarWhereInput[]
534
- OR?: Prisma.ModuleScalarWhereInput[]
535
- NOT?: Prisma.ModuleScalarWhereInput | Prisma.ModuleScalarWhereInput[]
536
- id?: Prisma.IntFilter<"Module"> | number
537
- uuid?: Prisma.StringNullableFilter<"Module"> | string | null
538
- tenant_config_id?: Prisma.IntNullableFilter<"Module"> | number | null
539
- name?: Prisma.StringNullableFilter<"Module"> | string | null
540
- slug?: Prisma.StringNullableFilter<"Module"> | string | null
541
- created_at?: Prisma.DateTimeNullableFilter<"Module"> | Date | string | null
542
- created_by?: Prisma.IntNullableFilter<"Module"> | number | null
543
- }
544
-
545
- export type ModuleCreateWithoutSub_modulesInput = {
546
- uuid?: string | null
547
- name?: string | null
548
- slug?: string | null
549
- created_at?: Date | string | null
550
- created_by?: number | null
551
- tenant_config?: Prisma.TenantConfigurationCreateNestedOneWithoutAllowed_modulesInput
552
- }
553
-
554
- export type ModuleUncheckedCreateWithoutSub_modulesInput = {
555
- id?: number
556
- uuid?: string | null
557
- tenant_config_id?: number | null
558
- name?: string | null
559
- slug?: string | null
560
- created_at?: Date | string | null
561
- created_by?: number | null
562
- }
563
-
564
- export type ModuleCreateOrConnectWithoutSub_modulesInput = {
565
- where: Prisma.ModuleWhereUniqueInput
566
- create: Prisma.XOR<Prisma.ModuleCreateWithoutSub_modulesInput, Prisma.ModuleUncheckedCreateWithoutSub_modulesInput>
567
- }
568
-
569
- export type ModuleUpsertWithoutSub_modulesInput = {
570
- update: Prisma.XOR<Prisma.ModuleUpdateWithoutSub_modulesInput, Prisma.ModuleUncheckedUpdateWithoutSub_modulesInput>
571
- create: Prisma.XOR<Prisma.ModuleCreateWithoutSub_modulesInput, Prisma.ModuleUncheckedCreateWithoutSub_modulesInput>
572
- where?: Prisma.ModuleWhereInput
573
- }
574
-
575
- export type ModuleUpdateToOneWithWhereWithoutSub_modulesInput = {
576
- where?: Prisma.ModuleWhereInput
577
- data: Prisma.XOR<Prisma.ModuleUpdateWithoutSub_modulesInput, Prisma.ModuleUncheckedUpdateWithoutSub_modulesInput>
578
- }
579
-
580
- export type ModuleUpdateWithoutSub_modulesInput = {
581
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
582
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
583
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
584
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
585
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
586
- tenant_config?: Prisma.TenantConfigurationUpdateOneWithoutAllowed_modulesNestedInput
587
- }
588
-
589
- export type ModuleUncheckedUpdateWithoutSub_modulesInput = {
590
- id?: Prisma.IntFieldUpdateOperationsInput | number
591
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
592
- tenant_config_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
593
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
594
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
595
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
596
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
597
- }
598
-
599
- export type ModuleCreateManyTenant_configInput = {
600
- id?: number
601
- uuid?: string | null
602
- name?: string | null
603
- slug?: string | null
604
- created_at?: Date | string | null
605
- created_by?: number | null
606
- }
607
-
608
- export type ModuleUpdateWithoutTenant_configInput = {
609
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
610
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
611
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
612
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
613
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
614
- sub_modules?: Prisma.SubModuleUpdateManyWithoutModuleNestedInput
615
- }
616
-
617
- export type ModuleUncheckedUpdateWithoutTenant_configInput = {
618
- id?: Prisma.IntFieldUpdateOperationsInput | number
619
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
620
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
621
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
622
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
623
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
624
- sub_modules?: Prisma.SubModuleUncheckedUpdateManyWithoutModuleNestedInput
625
- }
626
-
627
- export type ModuleUncheckedUpdateManyWithoutTenant_configInput = {
628
- id?: Prisma.IntFieldUpdateOperationsInput | number
629
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
630
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
631
- slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
632
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
633
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
634
- }
635
-
636
-
637
- /**
638
- * Count Type ModuleCountOutputType
639
- */
640
-
641
- export type ModuleCountOutputType = {
642
- sub_modules: number
643
- }
644
-
645
- export type ModuleCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
646
- sub_modules?: boolean | ModuleCountOutputTypeCountSub_modulesArgs
647
- }
648
-
649
- /**
650
- * ModuleCountOutputType without action
651
- */
652
- export type ModuleCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
653
- /**
654
- * Select specific fields to fetch from the ModuleCountOutputType
655
- */
656
- select?: Prisma.ModuleCountOutputTypeSelect<ExtArgs> | null
657
- }
658
-
659
- /**
660
- * ModuleCountOutputType without action
661
- */
662
- export type ModuleCountOutputTypeCountSub_modulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
663
- where?: Prisma.SubModuleWhereInput
664
- }
665
-
666
-
667
- export type ModuleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
668
- id?: boolean
669
- uuid?: boolean
670
- tenant_config_id?: boolean
671
- name?: boolean
672
- slug?: boolean
673
- created_at?: boolean
674
- created_by?: boolean
675
- tenant_config?: boolean | Prisma.Module$tenant_configArgs<ExtArgs>
676
- sub_modules?: boolean | Prisma.Module$sub_modulesArgs<ExtArgs>
677
- _count?: boolean | Prisma.ModuleCountOutputTypeDefaultArgs<ExtArgs>
678
- }, ExtArgs["result"]["module"]>
679
-
680
- export type ModuleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
681
- id?: boolean
682
- uuid?: boolean
683
- tenant_config_id?: boolean
684
- name?: boolean
685
- slug?: boolean
686
- created_at?: boolean
687
- created_by?: boolean
688
- tenant_config?: boolean | Prisma.Module$tenant_configArgs<ExtArgs>
689
- }, ExtArgs["result"]["module"]>
690
-
691
- export type ModuleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
692
- id?: boolean
693
- uuid?: boolean
694
- tenant_config_id?: boolean
695
- name?: boolean
696
- slug?: boolean
697
- created_at?: boolean
698
- created_by?: boolean
699
- tenant_config?: boolean | Prisma.Module$tenant_configArgs<ExtArgs>
700
- }, ExtArgs["result"]["module"]>
701
-
702
- export type ModuleSelectScalar = {
703
- id?: boolean
704
- uuid?: boolean
705
- tenant_config_id?: boolean
706
- name?: boolean
707
- slug?: boolean
708
- created_at?: boolean
709
- created_by?: boolean
710
- }
711
-
712
- export type ModuleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "tenant_config_id" | "name" | "slug" | "created_at" | "created_by", ExtArgs["result"]["module"]>
713
- export type ModuleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
714
- tenant_config?: boolean | Prisma.Module$tenant_configArgs<ExtArgs>
715
- sub_modules?: boolean | Prisma.Module$sub_modulesArgs<ExtArgs>
716
- _count?: boolean | Prisma.ModuleCountOutputTypeDefaultArgs<ExtArgs>
717
- }
718
- export type ModuleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
719
- tenant_config?: boolean | Prisma.Module$tenant_configArgs<ExtArgs>
720
- }
721
- export type ModuleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
722
- tenant_config?: boolean | Prisma.Module$tenant_configArgs<ExtArgs>
723
- }
724
-
725
- export type $ModulePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
726
- name: "Module"
727
- objects: {
728
- tenant_config: Prisma.$TenantConfigurationPayload<ExtArgs> | null
729
- sub_modules: Prisma.$SubModulePayload<ExtArgs>[]
730
- }
731
- scalars: runtime.Types.Extensions.GetPayloadResult<{
732
- id: number
733
- uuid: string | null
734
- tenant_config_id: number | null
735
- name: string | null
736
- slug: string | null
737
- created_at: Date | null
738
- created_by: number | null
739
- }, ExtArgs["result"]["module"]>
740
- composites: {}
741
- }
742
-
743
- export type ModuleGetPayload<S extends boolean | null | undefined | ModuleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ModulePayload, S>
744
-
745
- export type ModuleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
746
- Omit<ModuleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
747
- select?: ModuleCountAggregateInputType | true
748
- }
749
-
750
- export interface ModuleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
751
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Module'], meta: { name: 'Module' } }
752
- /**
753
- * Find zero or one Module that matches the filter.
754
- * @param {ModuleFindUniqueArgs} args - Arguments to find a Module
755
- * @example
756
- * // Get one Module
757
- * const module = await prisma.module.findUnique({
758
- * where: {
759
- * // ... provide filter here
760
- * }
761
- * })
762
- */
763
- findUnique<T extends ModuleFindUniqueArgs>(args: Prisma.SelectSubset<T, ModuleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
764
-
765
- /**
766
- * Find one Module that matches the filter or throw an error with `error.code='P2025'`
767
- * if no matches were found.
768
- * @param {ModuleFindUniqueOrThrowArgs} args - Arguments to find a Module
769
- * @example
770
- * // Get one Module
771
- * const module = await prisma.module.findUniqueOrThrow({
772
- * where: {
773
- * // ... provide filter here
774
- * }
775
- * })
776
- */
777
- findUniqueOrThrow<T extends ModuleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ModuleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
778
-
779
- /**
780
- * Find the first Module that matches the filter.
781
- * Note, that providing `undefined` is treated as the value not being there.
782
- * Read more here: https://pris.ly/d/null-undefined
783
- * @param {ModuleFindFirstArgs} args - Arguments to find a Module
784
- * @example
785
- * // Get one Module
786
- * const module = await prisma.module.findFirst({
787
- * where: {
788
- * // ... provide filter here
789
- * }
790
- * })
791
- */
792
- findFirst<T extends ModuleFindFirstArgs>(args?: Prisma.SelectSubset<T, ModuleFindFirstArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
793
-
794
- /**
795
- * Find the first Module that matches the filter or
796
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
797
- * Note, that providing `undefined` is treated as the value not being there.
798
- * Read more here: https://pris.ly/d/null-undefined
799
- * @param {ModuleFindFirstOrThrowArgs} args - Arguments to find a Module
800
- * @example
801
- * // Get one Module
802
- * const module = await prisma.module.findFirstOrThrow({
803
- * where: {
804
- * // ... provide filter here
805
- * }
806
- * })
807
- */
808
- findFirstOrThrow<T extends ModuleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ModuleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
809
-
810
- /**
811
- * Find zero or more Modules that matches the filter.
812
- * Note, that providing `undefined` is treated as the value not being there.
813
- * Read more here: https://pris.ly/d/null-undefined
814
- * @param {ModuleFindManyArgs} args - Arguments to filter and select certain fields only.
815
- * @example
816
- * // Get all Modules
817
- * const modules = await prisma.module.findMany()
818
- *
819
- * // Get first 10 Modules
820
- * const modules = await prisma.module.findMany({ take: 10 })
821
- *
822
- * // Only select the `id`
823
- * const moduleWithIdOnly = await prisma.module.findMany({ select: { id: true } })
824
- *
825
- */
826
- findMany<T extends ModuleFindManyArgs>(args?: Prisma.SelectSubset<T, ModuleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
827
-
828
- /**
829
- * Create a Module.
830
- * @param {ModuleCreateArgs} args - Arguments to create a Module.
831
- * @example
832
- * // Create one Module
833
- * const Module = await prisma.module.create({
834
- * data: {
835
- * // ... data to create a Module
836
- * }
837
- * })
838
- *
839
- */
840
- create<T extends ModuleCreateArgs>(args: Prisma.SelectSubset<T, ModuleCreateArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
841
-
842
- /**
843
- * Create many Modules.
844
- * @param {ModuleCreateManyArgs} args - Arguments to create many Modules.
845
- * @example
846
- * // Create many Modules
847
- * const module = await prisma.module.createMany({
848
- * data: [
849
- * // ... provide data here
850
- * ]
851
- * })
852
- *
853
- */
854
- createMany<T extends ModuleCreateManyArgs>(args?: Prisma.SelectSubset<T, ModuleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
855
-
856
- /**
857
- * Create many Modules and returns the data saved in the database.
858
- * @param {ModuleCreateManyAndReturnArgs} args - Arguments to create many Modules.
859
- * @example
860
- * // Create many Modules
861
- * const module = await prisma.module.createManyAndReturn({
862
- * data: [
863
- * // ... provide data here
864
- * ]
865
- * })
866
- *
867
- * // Create many Modules and only return the `id`
868
- * const moduleWithIdOnly = await prisma.module.createManyAndReturn({
869
- * select: { id: true },
870
- * data: [
871
- * // ... provide data here
872
- * ]
873
- * })
874
- * Note, that providing `undefined` is treated as the value not being there.
875
- * Read more here: https://pris.ly/d/null-undefined
876
- *
877
- */
878
- createManyAndReturn<T extends ModuleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ModuleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
879
-
880
- /**
881
- * Delete a Module.
882
- * @param {ModuleDeleteArgs} args - Arguments to delete one Module.
883
- * @example
884
- * // Delete one Module
885
- * const Module = await prisma.module.delete({
886
- * where: {
887
- * // ... filter to delete one Module
888
- * }
889
- * })
890
- *
891
- */
892
- delete<T extends ModuleDeleteArgs>(args: Prisma.SelectSubset<T, ModuleDeleteArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
893
-
894
- /**
895
- * Update one Module.
896
- * @param {ModuleUpdateArgs} args - Arguments to update one Module.
897
- * @example
898
- * // Update one Module
899
- * const module = await prisma.module.update({
900
- * where: {
901
- * // ... provide filter here
902
- * },
903
- * data: {
904
- * // ... provide data here
905
- * }
906
- * })
907
- *
908
- */
909
- update<T extends ModuleUpdateArgs>(args: Prisma.SelectSubset<T, ModuleUpdateArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
910
-
911
- /**
912
- * Delete zero or more Modules.
913
- * @param {ModuleDeleteManyArgs} args - Arguments to filter Modules to delete.
914
- * @example
915
- * // Delete a few Modules
916
- * const { count } = await prisma.module.deleteMany({
917
- * where: {
918
- * // ... provide filter here
919
- * }
920
- * })
921
- *
922
- */
923
- deleteMany<T extends ModuleDeleteManyArgs>(args?: Prisma.SelectSubset<T, ModuleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
924
-
925
- /**
926
- * Update zero or more Modules.
927
- * Note, that providing `undefined` is treated as the value not being there.
928
- * Read more here: https://pris.ly/d/null-undefined
929
- * @param {ModuleUpdateManyArgs} args - Arguments to update one or more rows.
930
- * @example
931
- * // Update many Modules
932
- * const module = await prisma.module.updateMany({
933
- * where: {
934
- * // ... provide filter here
935
- * },
936
- * data: {
937
- * // ... provide data here
938
- * }
939
- * })
940
- *
941
- */
942
- updateMany<T extends ModuleUpdateManyArgs>(args: Prisma.SelectSubset<T, ModuleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
943
-
944
- /**
945
- * Update zero or more Modules and returns the data updated in the database.
946
- * @param {ModuleUpdateManyAndReturnArgs} args - Arguments to update many Modules.
947
- * @example
948
- * // Update many Modules
949
- * const module = await prisma.module.updateManyAndReturn({
950
- * where: {
951
- * // ... provide filter here
952
- * },
953
- * data: [
954
- * // ... provide data here
955
- * ]
956
- * })
957
- *
958
- * // Update zero or more Modules and only return the `id`
959
- * const moduleWithIdOnly = await prisma.module.updateManyAndReturn({
960
- * select: { id: true },
961
- * where: {
962
- * // ... provide filter here
963
- * },
964
- * data: [
965
- * // ... provide data here
966
- * ]
967
- * })
968
- * Note, that providing `undefined` is treated as the value not being there.
969
- * Read more here: https://pris.ly/d/null-undefined
970
- *
971
- */
972
- updateManyAndReturn<T extends ModuleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ModuleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
973
-
974
- /**
975
- * Create or update one Module.
976
- * @param {ModuleUpsertArgs} args - Arguments to update or create a Module.
977
- * @example
978
- * // Update or create a Module
979
- * const module = await prisma.module.upsert({
980
- * create: {
981
- * // ... data to create a Module
982
- * },
983
- * update: {
984
- * // ... in case it already exists, update
985
- * },
986
- * where: {
987
- * // ... the filter for the Module we want to update
988
- * }
989
- * })
990
- */
991
- upsert<T extends ModuleUpsertArgs>(args: Prisma.SelectSubset<T, ModuleUpsertArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
992
-
993
-
994
- /**
995
- * Count the number of Modules.
996
- * Note, that providing `undefined` is treated as the value not being there.
997
- * Read more here: https://pris.ly/d/null-undefined
998
- * @param {ModuleCountArgs} args - Arguments to filter Modules to count.
999
- * @example
1000
- * // Count the number of Modules
1001
- * const count = await prisma.module.count({
1002
- * where: {
1003
- * // ... the filter for the Modules we want to count
1004
- * }
1005
- * })
1006
- **/
1007
- count<T extends ModuleCountArgs>(
1008
- args?: Prisma.Subset<T, ModuleCountArgs>,
1009
- ): Prisma.PrismaPromise<
1010
- T extends runtime.Types.Utils.Record<'select', any>
1011
- ? T['select'] extends true
1012
- ? number
1013
- : Prisma.GetScalarType<T['select'], ModuleCountAggregateOutputType>
1014
- : number
1015
- >
1016
-
1017
- /**
1018
- * Allows you to perform aggregations operations on a Module.
1019
- * Note, that providing `undefined` is treated as the value not being there.
1020
- * Read more here: https://pris.ly/d/null-undefined
1021
- * @param {ModuleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1022
- * @example
1023
- * // Ordered by age ascending
1024
- * // Where email contains prisma.io
1025
- * // Limited to the 10 users
1026
- * const aggregations = await prisma.user.aggregate({
1027
- * _avg: {
1028
- * age: true,
1029
- * },
1030
- * where: {
1031
- * email: {
1032
- * contains: "prisma.io",
1033
- * },
1034
- * },
1035
- * orderBy: {
1036
- * age: "asc",
1037
- * },
1038
- * take: 10,
1039
- * })
1040
- **/
1041
- aggregate<T extends ModuleAggregateArgs>(args: Prisma.Subset<T, ModuleAggregateArgs>): Prisma.PrismaPromise<GetModuleAggregateType<T>>
1042
-
1043
- /**
1044
- * Group by Module.
1045
- * Note, that providing `undefined` is treated as the value not being there.
1046
- * Read more here: https://pris.ly/d/null-undefined
1047
- * @param {ModuleGroupByArgs} args - Group by arguments.
1048
- * @example
1049
- * // Group by city, order by createdAt, get count
1050
- * const result = await prisma.user.groupBy({
1051
- * by: ['city', 'createdAt'],
1052
- * orderBy: {
1053
- * createdAt: true
1054
- * },
1055
- * _count: {
1056
- * _all: true
1057
- * },
1058
- * })
1059
- *
1060
- **/
1061
- groupBy<
1062
- T extends ModuleGroupByArgs,
1063
- HasSelectOrTake extends Prisma.Or<
1064
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1065
- Prisma.Extends<'take', Prisma.Keys<T>>
1066
- >,
1067
- OrderByArg extends Prisma.True extends HasSelectOrTake
1068
- ? { orderBy: ModuleGroupByArgs['orderBy'] }
1069
- : { orderBy?: ModuleGroupByArgs['orderBy'] },
1070
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1071
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1072
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1073
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1074
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1075
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1076
- InputErrors extends ByEmpty extends Prisma.True
1077
- ? `Error: "by" must not be empty.`
1078
- : HavingValid extends Prisma.False
1079
- ? {
1080
- [P in HavingFields]: P extends ByFields
1081
- ? never
1082
- : P extends string
1083
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1084
- : [
1085
- Error,
1086
- 'Field ',
1087
- P,
1088
- ` in "having" needs to be provided in "by"`,
1089
- ]
1090
- }[HavingFields]
1091
- : 'take' extends Prisma.Keys<T>
1092
- ? 'orderBy' extends Prisma.Keys<T>
1093
- ? ByValid extends Prisma.True
1094
- ? {}
1095
- : {
1096
- [P in OrderFields]: P extends ByFields
1097
- ? never
1098
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1099
- }[OrderFields]
1100
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1101
- : 'skip' extends Prisma.Keys<T>
1102
- ? 'orderBy' extends Prisma.Keys<T>
1103
- ? ByValid extends Prisma.True
1104
- ? {}
1105
- : {
1106
- [P in OrderFields]: P extends ByFields
1107
- ? never
1108
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1109
- }[OrderFields]
1110
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1111
- : ByValid extends Prisma.True
1112
- ? {}
1113
- : {
1114
- [P in OrderFields]: P extends ByFields
1115
- ? never
1116
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1117
- }[OrderFields]
1118
- >(args: Prisma.SubsetIntersection<T, ModuleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModuleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1119
- /**
1120
- * Fields of the Module model
1121
- */
1122
- readonly fields: ModuleFieldRefs;
1123
- }
1124
-
1125
- /**
1126
- * The delegate class that acts as a "Promise-like" for Module.
1127
- * Why is this prefixed with `Prisma__`?
1128
- * Because we want to prevent naming conflicts as mentioned in
1129
- * https://github.com/prisma/prisma-client-js/issues/707
1130
- */
1131
- export interface Prisma__ModuleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1132
- readonly [Symbol.toStringTag]: "PrismaPromise"
1133
- tenant_config<T extends Prisma.Module$tenant_configArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Module$tenant_configArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1134
- sub_modules<T extends Prisma.Module$sub_modulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Module$sub_modulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1135
- /**
1136
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1137
- * @param onfulfilled The callback to execute when the Promise is resolved.
1138
- * @param onrejected The callback to execute when the Promise is rejected.
1139
- * @returns A Promise for the completion of which ever callback is executed.
1140
- */
1141
- 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>
1142
- /**
1143
- * Attaches a callback for only the rejection of the Promise.
1144
- * @param onrejected The callback to execute when the Promise is rejected.
1145
- * @returns A Promise for the completion of the callback.
1146
- */
1147
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1148
- /**
1149
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1150
- * resolved value cannot be modified from the callback.
1151
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1152
- * @returns A Promise for the completion of the callback.
1153
- */
1154
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1155
- }
1156
-
1157
-
1158
-
1159
-
1160
- /**
1161
- * Fields of the Module model
1162
- */
1163
- export interface ModuleFieldRefs {
1164
- readonly id: Prisma.FieldRef<"Module", 'Int'>
1165
- readonly uuid: Prisma.FieldRef<"Module", 'String'>
1166
- readonly tenant_config_id: Prisma.FieldRef<"Module", 'Int'>
1167
- readonly name: Prisma.FieldRef<"Module", 'String'>
1168
- readonly slug: Prisma.FieldRef<"Module", 'String'>
1169
- readonly created_at: Prisma.FieldRef<"Module", 'DateTime'>
1170
- readonly created_by: Prisma.FieldRef<"Module", 'Int'>
1171
- }
1172
-
1173
-
1174
- // Custom InputTypes
1175
- /**
1176
- * Module findUnique
1177
- */
1178
- export type ModuleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1179
- /**
1180
- * Select specific fields to fetch from the Module
1181
- */
1182
- select?: Prisma.ModuleSelect<ExtArgs> | null
1183
- /**
1184
- * Omit specific fields from the Module
1185
- */
1186
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1187
- /**
1188
- * Choose, which related nodes to fetch as well
1189
- */
1190
- include?: Prisma.ModuleInclude<ExtArgs> | null
1191
- /**
1192
- * Filter, which Module to fetch.
1193
- */
1194
- where: Prisma.ModuleWhereUniqueInput
1195
- }
1196
-
1197
- /**
1198
- * Module findUniqueOrThrow
1199
- */
1200
- export type ModuleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1201
- /**
1202
- * Select specific fields to fetch from the Module
1203
- */
1204
- select?: Prisma.ModuleSelect<ExtArgs> | null
1205
- /**
1206
- * Omit specific fields from the Module
1207
- */
1208
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1209
- /**
1210
- * Choose, which related nodes to fetch as well
1211
- */
1212
- include?: Prisma.ModuleInclude<ExtArgs> | null
1213
- /**
1214
- * Filter, which Module to fetch.
1215
- */
1216
- where: Prisma.ModuleWhereUniqueInput
1217
- }
1218
-
1219
- /**
1220
- * Module findFirst
1221
- */
1222
- export type ModuleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1223
- /**
1224
- * Select specific fields to fetch from the Module
1225
- */
1226
- select?: Prisma.ModuleSelect<ExtArgs> | null
1227
- /**
1228
- * Omit specific fields from the Module
1229
- */
1230
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1231
- /**
1232
- * Choose, which related nodes to fetch as well
1233
- */
1234
- include?: Prisma.ModuleInclude<ExtArgs> | null
1235
- /**
1236
- * Filter, which Module to fetch.
1237
- */
1238
- where?: Prisma.ModuleWhereInput
1239
- /**
1240
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1241
- *
1242
- * Determine the order of Modules to fetch.
1243
- */
1244
- orderBy?: Prisma.ModuleOrderByWithRelationInput | Prisma.ModuleOrderByWithRelationInput[]
1245
- /**
1246
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1247
- *
1248
- * Sets the position for searching for Modules.
1249
- */
1250
- cursor?: Prisma.ModuleWhereUniqueInput
1251
- /**
1252
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1253
- *
1254
- * Take `±n` Modules from the position of the cursor.
1255
- */
1256
- take?: number
1257
- /**
1258
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1259
- *
1260
- * Skip the first `n` Modules.
1261
- */
1262
- skip?: number
1263
- /**
1264
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1265
- *
1266
- * Filter by unique combinations of Modules.
1267
- */
1268
- distinct?: Prisma.ModuleScalarFieldEnum | Prisma.ModuleScalarFieldEnum[]
1269
- }
1270
-
1271
- /**
1272
- * Module findFirstOrThrow
1273
- */
1274
- export type ModuleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1275
- /**
1276
- * Select specific fields to fetch from the Module
1277
- */
1278
- select?: Prisma.ModuleSelect<ExtArgs> | null
1279
- /**
1280
- * Omit specific fields from the Module
1281
- */
1282
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1283
- /**
1284
- * Choose, which related nodes to fetch as well
1285
- */
1286
- include?: Prisma.ModuleInclude<ExtArgs> | null
1287
- /**
1288
- * Filter, which Module to fetch.
1289
- */
1290
- where?: Prisma.ModuleWhereInput
1291
- /**
1292
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1293
- *
1294
- * Determine the order of Modules to fetch.
1295
- */
1296
- orderBy?: Prisma.ModuleOrderByWithRelationInput | Prisma.ModuleOrderByWithRelationInput[]
1297
- /**
1298
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1299
- *
1300
- * Sets the position for searching for Modules.
1301
- */
1302
- cursor?: Prisma.ModuleWhereUniqueInput
1303
- /**
1304
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1305
- *
1306
- * Take `±n` Modules from the position of the cursor.
1307
- */
1308
- take?: number
1309
- /**
1310
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1311
- *
1312
- * Skip the first `n` Modules.
1313
- */
1314
- skip?: number
1315
- /**
1316
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1317
- *
1318
- * Filter by unique combinations of Modules.
1319
- */
1320
- distinct?: Prisma.ModuleScalarFieldEnum | Prisma.ModuleScalarFieldEnum[]
1321
- }
1322
-
1323
- /**
1324
- * Module findMany
1325
- */
1326
- export type ModuleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1327
- /**
1328
- * Select specific fields to fetch from the Module
1329
- */
1330
- select?: Prisma.ModuleSelect<ExtArgs> | null
1331
- /**
1332
- * Omit specific fields from the Module
1333
- */
1334
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1335
- /**
1336
- * Choose, which related nodes to fetch as well
1337
- */
1338
- include?: Prisma.ModuleInclude<ExtArgs> | null
1339
- /**
1340
- * Filter, which Modules to fetch.
1341
- */
1342
- where?: Prisma.ModuleWhereInput
1343
- /**
1344
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1345
- *
1346
- * Determine the order of Modules to fetch.
1347
- */
1348
- orderBy?: Prisma.ModuleOrderByWithRelationInput | Prisma.ModuleOrderByWithRelationInput[]
1349
- /**
1350
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1351
- *
1352
- * Sets the position for listing Modules.
1353
- */
1354
- cursor?: Prisma.ModuleWhereUniqueInput
1355
- /**
1356
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1357
- *
1358
- * Take `±n` Modules from the position of the cursor.
1359
- */
1360
- take?: number
1361
- /**
1362
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1363
- *
1364
- * Skip the first `n` Modules.
1365
- */
1366
- skip?: number
1367
- /**
1368
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1369
- *
1370
- * Filter by unique combinations of Modules.
1371
- */
1372
- distinct?: Prisma.ModuleScalarFieldEnum | Prisma.ModuleScalarFieldEnum[]
1373
- }
1374
-
1375
- /**
1376
- * Module create
1377
- */
1378
- export type ModuleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1379
- /**
1380
- * Select specific fields to fetch from the Module
1381
- */
1382
- select?: Prisma.ModuleSelect<ExtArgs> | null
1383
- /**
1384
- * Omit specific fields from the Module
1385
- */
1386
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1387
- /**
1388
- * Choose, which related nodes to fetch as well
1389
- */
1390
- include?: Prisma.ModuleInclude<ExtArgs> | null
1391
- /**
1392
- * The data needed to create a Module.
1393
- */
1394
- data?: Prisma.XOR<Prisma.ModuleCreateInput, Prisma.ModuleUncheckedCreateInput>
1395
- }
1396
-
1397
- /**
1398
- * Module createMany
1399
- */
1400
- export type ModuleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1401
- /**
1402
- * The data used to create many Modules.
1403
- */
1404
- data: Prisma.ModuleCreateManyInput | Prisma.ModuleCreateManyInput[]
1405
- skipDuplicates?: boolean
1406
- }
1407
-
1408
- /**
1409
- * Module createManyAndReturn
1410
- */
1411
- export type ModuleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1412
- /**
1413
- * Select specific fields to fetch from the Module
1414
- */
1415
- select?: Prisma.ModuleSelectCreateManyAndReturn<ExtArgs> | null
1416
- /**
1417
- * Omit specific fields from the Module
1418
- */
1419
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1420
- /**
1421
- * The data used to create many Modules.
1422
- */
1423
- data: Prisma.ModuleCreateManyInput | Prisma.ModuleCreateManyInput[]
1424
- skipDuplicates?: boolean
1425
- /**
1426
- * Choose, which related nodes to fetch as well
1427
- */
1428
- include?: Prisma.ModuleIncludeCreateManyAndReturn<ExtArgs> | null
1429
- }
1430
-
1431
- /**
1432
- * Module update
1433
- */
1434
- export type ModuleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1435
- /**
1436
- * Select specific fields to fetch from the Module
1437
- */
1438
- select?: Prisma.ModuleSelect<ExtArgs> | null
1439
- /**
1440
- * Omit specific fields from the Module
1441
- */
1442
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1443
- /**
1444
- * Choose, which related nodes to fetch as well
1445
- */
1446
- include?: Prisma.ModuleInclude<ExtArgs> | null
1447
- /**
1448
- * The data needed to update a Module.
1449
- */
1450
- data: Prisma.XOR<Prisma.ModuleUpdateInput, Prisma.ModuleUncheckedUpdateInput>
1451
- /**
1452
- * Choose, which Module to update.
1453
- */
1454
- where: Prisma.ModuleWhereUniqueInput
1455
- }
1456
-
1457
- /**
1458
- * Module updateMany
1459
- */
1460
- export type ModuleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1461
- /**
1462
- * The data used to update Modules.
1463
- */
1464
- data: Prisma.XOR<Prisma.ModuleUpdateManyMutationInput, Prisma.ModuleUncheckedUpdateManyInput>
1465
- /**
1466
- * Filter which Modules to update
1467
- */
1468
- where?: Prisma.ModuleWhereInput
1469
- /**
1470
- * Limit how many Modules to update.
1471
- */
1472
- limit?: number
1473
- }
1474
-
1475
- /**
1476
- * Module updateManyAndReturn
1477
- */
1478
- export type ModuleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1479
- /**
1480
- * Select specific fields to fetch from the Module
1481
- */
1482
- select?: Prisma.ModuleSelectUpdateManyAndReturn<ExtArgs> | null
1483
- /**
1484
- * Omit specific fields from the Module
1485
- */
1486
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1487
- /**
1488
- * The data used to update Modules.
1489
- */
1490
- data: Prisma.XOR<Prisma.ModuleUpdateManyMutationInput, Prisma.ModuleUncheckedUpdateManyInput>
1491
- /**
1492
- * Filter which Modules to update
1493
- */
1494
- where?: Prisma.ModuleWhereInput
1495
- /**
1496
- * Limit how many Modules to update.
1497
- */
1498
- limit?: number
1499
- /**
1500
- * Choose, which related nodes to fetch as well
1501
- */
1502
- include?: Prisma.ModuleIncludeUpdateManyAndReturn<ExtArgs> | null
1503
- }
1504
-
1505
- /**
1506
- * Module upsert
1507
- */
1508
- export type ModuleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1509
- /**
1510
- * Select specific fields to fetch from the Module
1511
- */
1512
- select?: Prisma.ModuleSelect<ExtArgs> | null
1513
- /**
1514
- * Omit specific fields from the Module
1515
- */
1516
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1517
- /**
1518
- * Choose, which related nodes to fetch as well
1519
- */
1520
- include?: Prisma.ModuleInclude<ExtArgs> | null
1521
- /**
1522
- * The filter to search for the Module to update in case it exists.
1523
- */
1524
- where: Prisma.ModuleWhereUniqueInput
1525
- /**
1526
- * In case the Module found by the `where` argument doesn't exist, create a new Module with this data.
1527
- */
1528
- create: Prisma.XOR<Prisma.ModuleCreateInput, Prisma.ModuleUncheckedCreateInput>
1529
- /**
1530
- * In case the Module was found with the provided `where` argument, update it with this data.
1531
- */
1532
- update: Prisma.XOR<Prisma.ModuleUpdateInput, Prisma.ModuleUncheckedUpdateInput>
1533
- }
1534
-
1535
- /**
1536
- * Module delete
1537
- */
1538
- export type ModuleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1539
- /**
1540
- * Select specific fields to fetch from the Module
1541
- */
1542
- select?: Prisma.ModuleSelect<ExtArgs> | null
1543
- /**
1544
- * Omit specific fields from the Module
1545
- */
1546
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1547
- /**
1548
- * Choose, which related nodes to fetch as well
1549
- */
1550
- include?: Prisma.ModuleInclude<ExtArgs> | null
1551
- /**
1552
- * Filter which Module to delete.
1553
- */
1554
- where: Prisma.ModuleWhereUniqueInput
1555
- }
1556
-
1557
- /**
1558
- * Module deleteMany
1559
- */
1560
- export type ModuleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1561
- /**
1562
- * Filter which Modules to delete
1563
- */
1564
- where?: Prisma.ModuleWhereInput
1565
- /**
1566
- * Limit how many Modules to delete.
1567
- */
1568
- limit?: number
1569
- }
1570
-
1571
- /**
1572
- * Module.tenant_config
1573
- */
1574
- export type Module$tenant_configArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1575
- /**
1576
- * Select specific fields to fetch from the TenantConfiguration
1577
- */
1578
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1579
- /**
1580
- * Omit specific fields from the TenantConfiguration
1581
- */
1582
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1583
- /**
1584
- * Choose, which related nodes to fetch as well
1585
- */
1586
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1587
- where?: Prisma.TenantConfigurationWhereInput
1588
- }
1589
-
1590
- /**
1591
- * Module.sub_modules
1592
- */
1593
- export type Module$sub_modulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1594
- /**
1595
- * Select specific fields to fetch from the SubModule
1596
- */
1597
- select?: Prisma.SubModuleSelect<ExtArgs> | null
1598
- /**
1599
- * Omit specific fields from the SubModule
1600
- */
1601
- omit?: Prisma.SubModuleOmit<ExtArgs> | null
1602
- /**
1603
- * Choose, which related nodes to fetch as well
1604
- */
1605
- include?: Prisma.SubModuleInclude<ExtArgs> | null
1606
- where?: Prisma.SubModuleWhereInput
1607
- orderBy?: Prisma.SubModuleOrderByWithRelationInput | Prisma.SubModuleOrderByWithRelationInput[]
1608
- cursor?: Prisma.SubModuleWhereUniqueInput
1609
- take?: number
1610
- skip?: number
1611
- distinct?: Prisma.SubModuleScalarFieldEnum | Prisma.SubModuleScalarFieldEnum[]
1612
- }
1613
-
1614
- /**
1615
- * Module without action
1616
- */
1617
- export type ModuleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1618
- /**
1619
- * Select specific fields to fetch from the Module
1620
- */
1621
- select?: Prisma.ModuleSelect<ExtArgs> | null
1622
- /**
1623
- * Omit specific fields from the Module
1624
- */
1625
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1626
- /**
1627
- * Choose, which related nodes to fetch as well
1628
- */
1629
- include?: Prisma.ModuleInclude<ExtArgs> | null
1630
- }