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,1694 +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 `TenantConfiguration` 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 TenantConfiguration
17
- *
18
- */
19
- export type TenantConfigurationModel = runtime.Types.Result.DefaultSelection<Prisma.$TenantConfigurationPayload>
20
-
21
- export type AggregateTenantConfiguration = {
22
- _count: TenantConfigurationCountAggregateOutputType | null
23
- _avg: TenantConfigurationAvgAggregateOutputType | null
24
- _sum: TenantConfigurationSumAggregateOutputType | null
25
- _min: TenantConfigurationMinAggregateOutputType | null
26
- _max: TenantConfigurationMaxAggregateOutputType | null
27
- }
28
-
29
- export type TenantConfigurationAvgAggregateOutputType = {
30
- id: number | null
31
- tenant_id: number | null
32
- }
33
-
34
- export type TenantConfigurationSumAggregateOutputType = {
35
- id: number | null
36
- tenant_id: number | null
37
- }
38
-
39
- export type TenantConfigurationMinAggregateOutputType = {
40
- id: number | null
41
- uuid: string | null
42
- tenant_id: number | null
43
- tenant_name: string | null
44
- database_name: string | null
45
- tenant_subdomain: string | null
46
- currency: string | null
47
- currency_symbol: string | null
48
- industry: string | null
49
- timezone: string | null
50
- status: string | null
51
- email: string | null
52
- logo: string | null
53
- created_at: Date | null
54
- updated_at: Date | null
55
- }
56
-
57
- export type TenantConfigurationMaxAggregateOutputType = {
58
- id: number | null
59
- uuid: string | null
60
- tenant_id: number | null
61
- tenant_name: string | null
62
- database_name: string | null
63
- tenant_subdomain: string | null
64
- currency: string | null
65
- currency_symbol: string | null
66
- industry: string | null
67
- timezone: string | null
68
- status: string | null
69
- email: string | null
70
- logo: string | null
71
- created_at: Date | null
72
- updated_at: Date | null
73
- }
74
-
75
- export type TenantConfigurationCountAggregateOutputType = {
76
- id: number
77
- uuid: number
78
- tenant_id: number
79
- tenant_name: number
80
- database_name: number
81
- tenant_subdomain: number
82
- currency: number
83
- currency_symbol: number
84
- industry: number
85
- timezone: number
86
- status: number
87
- email: number
88
- logo: number
89
- created_at: number
90
- updated_at: number
91
- _all: number
92
- }
93
-
94
-
95
- export type TenantConfigurationAvgAggregateInputType = {
96
- id?: true
97
- tenant_id?: true
98
- }
99
-
100
- export type TenantConfigurationSumAggregateInputType = {
101
- id?: true
102
- tenant_id?: true
103
- }
104
-
105
- export type TenantConfigurationMinAggregateInputType = {
106
- id?: true
107
- uuid?: true
108
- tenant_id?: true
109
- tenant_name?: true
110
- database_name?: true
111
- tenant_subdomain?: true
112
- currency?: true
113
- currency_symbol?: true
114
- industry?: true
115
- timezone?: true
116
- status?: true
117
- email?: true
118
- logo?: true
119
- created_at?: true
120
- updated_at?: true
121
- }
122
-
123
- export type TenantConfigurationMaxAggregateInputType = {
124
- id?: true
125
- uuid?: true
126
- tenant_id?: true
127
- tenant_name?: true
128
- database_name?: true
129
- tenant_subdomain?: true
130
- currency?: true
131
- currency_symbol?: true
132
- industry?: true
133
- timezone?: true
134
- status?: true
135
- email?: true
136
- logo?: true
137
- created_at?: true
138
- updated_at?: true
139
- }
140
-
141
- export type TenantConfigurationCountAggregateInputType = {
142
- id?: true
143
- uuid?: true
144
- tenant_id?: true
145
- tenant_name?: true
146
- database_name?: true
147
- tenant_subdomain?: true
148
- currency?: true
149
- currency_symbol?: true
150
- industry?: true
151
- timezone?: true
152
- status?: true
153
- email?: true
154
- logo?: true
155
- created_at?: true
156
- updated_at?: true
157
- _all?: true
158
- }
159
-
160
- export type TenantConfigurationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
161
- /**
162
- * Filter which TenantConfiguration to aggregate.
163
- */
164
- where?: Prisma.TenantConfigurationWhereInput
165
- /**
166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
167
- *
168
- * Determine the order of TenantConfigurations to fetch.
169
- */
170
- orderBy?: Prisma.TenantConfigurationOrderByWithRelationInput | Prisma.TenantConfigurationOrderByWithRelationInput[]
171
- /**
172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
173
- *
174
- * Sets the start position
175
- */
176
- cursor?: Prisma.TenantConfigurationWhereUniqueInput
177
- /**
178
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
179
- *
180
- * Take `±n` TenantConfigurations from the position of the cursor.
181
- */
182
- take?: number
183
- /**
184
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
185
- *
186
- * Skip the first `n` TenantConfigurations.
187
- */
188
- skip?: number
189
- /**
190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
191
- *
192
- * Count returned TenantConfigurations
193
- **/
194
- _count?: true | TenantConfigurationCountAggregateInputType
195
- /**
196
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
197
- *
198
- * Select which fields to average
199
- **/
200
- _avg?: TenantConfigurationAvgAggregateInputType
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
203
- *
204
- * Select which fields to sum
205
- **/
206
- _sum?: TenantConfigurationSumAggregateInputType
207
- /**
208
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
209
- *
210
- * Select which fields to find the minimum value
211
- **/
212
- _min?: TenantConfigurationMinAggregateInputType
213
- /**
214
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
215
- *
216
- * Select which fields to find the maximum value
217
- **/
218
- _max?: TenantConfigurationMaxAggregateInputType
219
- }
220
-
221
- export type GetTenantConfigurationAggregateType<T extends TenantConfigurationAggregateArgs> = {
222
- [P in keyof T & keyof AggregateTenantConfiguration]: P extends '_count' | 'count'
223
- ? T[P] extends true
224
- ? number
225
- : Prisma.GetScalarType<T[P], AggregateTenantConfiguration[P]>
226
- : Prisma.GetScalarType<T[P], AggregateTenantConfiguration[P]>
227
- }
228
-
229
-
230
-
231
-
232
- export type TenantConfigurationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
233
- where?: Prisma.TenantConfigurationWhereInput
234
- orderBy?: Prisma.TenantConfigurationOrderByWithAggregationInput | Prisma.TenantConfigurationOrderByWithAggregationInput[]
235
- by: Prisma.TenantConfigurationScalarFieldEnum[] | Prisma.TenantConfigurationScalarFieldEnum
236
- having?: Prisma.TenantConfigurationScalarWhereWithAggregatesInput
237
- take?: number
238
- skip?: number
239
- _count?: TenantConfigurationCountAggregateInputType | true
240
- _avg?: TenantConfigurationAvgAggregateInputType
241
- _sum?: TenantConfigurationSumAggregateInputType
242
- _min?: TenantConfigurationMinAggregateInputType
243
- _max?: TenantConfigurationMaxAggregateInputType
244
- }
245
-
246
- export type TenantConfigurationGroupByOutputType = {
247
- id: number
248
- uuid: string | null
249
- tenant_id: number | null
250
- tenant_name: string | null
251
- database_name: string | null
252
- tenant_subdomain: string | null
253
- currency: string | null
254
- currency_symbol: string | null
255
- industry: string | null
256
- timezone: string | null
257
- status: string | null
258
- email: string | null
259
- logo: string | null
260
- created_at: Date | null
261
- updated_at: Date | null
262
- _count: TenantConfigurationCountAggregateOutputType | null
263
- _avg: TenantConfigurationAvgAggregateOutputType | null
264
- _sum: TenantConfigurationSumAggregateOutputType | null
265
- _min: TenantConfigurationMinAggregateOutputType | null
266
- _max: TenantConfigurationMaxAggregateOutputType | null
267
- }
268
-
269
- export type GetTenantConfigurationGroupByPayload<T extends TenantConfigurationGroupByArgs> = Prisma.PrismaPromise<
270
- Array<
271
- Prisma.PickEnumerable<TenantConfigurationGroupByOutputType, T['by']> &
272
- {
273
- [P in ((keyof T) & (keyof TenantConfigurationGroupByOutputType))]: P extends '_count'
274
- ? T[P] extends boolean
275
- ? number
276
- : Prisma.GetScalarType<T[P], TenantConfigurationGroupByOutputType[P]>
277
- : Prisma.GetScalarType<T[P], TenantConfigurationGroupByOutputType[P]>
278
- }
279
- >
280
- >
281
-
282
-
283
-
284
- export type TenantConfigurationWhereInput = {
285
- AND?: Prisma.TenantConfigurationWhereInput | Prisma.TenantConfigurationWhereInput[]
286
- OR?: Prisma.TenantConfigurationWhereInput[]
287
- NOT?: Prisma.TenantConfigurationWhereInput | Prisma.TenantConfigurationWhereInput[]
288
- id?: Prisma.IntFilter<"TenantConfiguration"> | number
289
- uuid?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
290
- tenant_id?: Prisma.IntNullableFilter<"TenantConfiguration"> | number | null
291
- tenant_name?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
292
- database_name?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
293
- tenant_subdomain?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
294
- currency?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
295
- currency_symbol?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
296
- industry?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
297
- timezone?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
298
- status?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
299
- email?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
300
- logo?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
301
- created_at?: Prisma.DateTimeNullableFilter<"TenantConfiguration"> | Date | string | null
302
- updated_at?: Prisma.DateTimeNullableFilter<"TenantConfiguration"> | Date | string | null
303
- allowed_modules?: Prisma.ModuleListRelationFilter
304
- }
305
-
306
- export type TenantConfigurationOrderByWithRelationInput = {
307
- id?: Prisma.SortOrder
308
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
309
- tenant_id?: Prisma.SortOrderInput | Prisma.SortOrder
310
- tenant_name?: Prisma.SortOrderInput | Prisma.SortOrder
311
- database_name?: Prisma.SortOrderInput | Prisma.SortOrder
312
- tenant_subdomain?: Prisma.SortOrderInput | Prisma.SortOrder
313
- currency?: Prisma.SortOrderInput | Prisma.SortOrder
314
- currency_symbol?: Prisma.SortOrderInput | Prisma.SortOrder
315
- industry?: Prisma.SortOrderInput | Prisma.SortOrder
316
- timezone?: Prisma.SortOrderInput | Prisma.SortOrder
317
- status?: Prisma.SortOrderInput | Prisma.SortOrder
318
- email?: Prisma.SortOrderInput | Prisma.SortOrder
319
- logo?: Prisma.SortOrderInput | Prisma.SortOrder
320
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
321
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
322
- allowed_modules?: Prisma.ModuleOrderByRelationAggregateInput
323
- }
324
-
325
- export type TenantConfigurationWhereUniqueInput = Prisma.AtLeast<{
326
- id?: number
327
- uuid?: string
328
- AND?: Prisma.TenantConfigurationWhereInput | Prisma.TenantConfigurationWhereInput[]
329
- OR?: Prisma.TenantConfigurationWhereInput[]
330
- NOT?: Prisma.TenantConfigurationWhereInput | Prisma.TenantConfigurationWhereInput[]
331
- tenant_id?: Prisma.IntNullableFilter<"TenantConfiguration"> | number | null
332
- tenant_name?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
333
- database_name?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
334
- tenant_subdomain?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
335
- currency?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
336
- currency_symbol?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
337
- industry?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
338
- timezone?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
339
- status?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
340
- email?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
341
- logo?: Prisma.StringNullableFilter<"TenantConfiguration"> | string | null
342
- created_at?: Prisma.DateTimeNullableFilter<"TenantConfiguration"> | Date | string | null
343
- updated_at?: Prisma.DateTimeNullableFilter<"TenantConfiguration"> | Date | string | null
344
- allowed_modules?: Prisma.ModuleListRelationFilter
345
- }, "id" | "uuid">
346
-
347
- export type TenantConfigurationOrderByWithAggregationInput = {
348
- id?: Prisma.SortOrder
349
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
350
- tenant_id?: Prisma.SortOrderInput | Prisma.SortOrder
351
- tenant_name?: Prisma.SortOrderInput | Prisma.SortOrder
352
- database_name?: Prisma.SortOrderInput | Prisma.SortOrder
353
- tenant_subdomain?: Prisma.SortOrderInput | Prisma.SortOrder
354
- currency?: Prisma.SortOrderInput | Prisma.SortOrder
355
- currency_symbol?: Prisma.SortOrderInput | Prisma.SortOrder
356
- industry?: Prisma.SortOrderInput | Prisma.SortOrder
357
- timezone?: Prisma.SortOrderInput | Prisma.SortOrder
358
- status?: Prisma.SortOrderInput | Prisma.SortOrder
359
- email?: Prisma.SortOrderInput | Prisma.SortOrder
360
- logo?: Prisma.SortOrderInput | Prisma.SortOrder
361
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
362
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
363
- _count?: Prisma.TenantConfigurationCountOrderByAggregateInput
364
- _avg?: Prisma.TenantConfigurationAvgOrderByAggregateInput
365
- _max?: Prisma.TenantConfigurationMaxOrderByAggregateInput
366
- _min?: Prisma.TenantConfigurationMinOrderByAggregateInput
367
- _sum?: Prisma.TenantConfigurationSumOrderByAggregateInput
368
- }
369
-
370
- export type TenantConfigurationScalarWhereWithAggregatesInput = {
371
- AND?: Prisma.TenantConfigurationScalarWhereWithAggregatesInput | Prisma.TenantConfigurationScalarWhereWithAggregatesInput[]
372
- OR?: Prisma.TenantConfigurationScalarWhereWithAggregatesInput[]
373
- NOT?: Prisma.TenantConfigurationScalarWhereWithAggregatesInput | Prisma.TenantConfigurationScalarWhereWithAggregatesInput[]
374
- id?: Prisma.IntWithAggregatesFilter<"TenantConfiguration"> | number
375
- uuid?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
376
- tenant_id?: Prisma.IntNullableWithAggregatesFilter<"TenantConfiguration"> | number | null
377
- tenant_name?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
378
- database_name?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
379
- tenant_subdomain?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
380
- currency?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
381
- currency_symbol?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
382
- industry?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
383
- timezone?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
384
- status?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
385
- email?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
386
- logo?: Prisma.StringNullableWithAggregatesFilter<"TenantConfiguration"> | string | null
387
- created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"TenantConfiguration"> | Date | string | null
388
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"TenantConfiguration"> | Date | string | null
389
- }
390
-
391
- export type TenantConfigurationCreateInput = {
392
- uuid?: string | null
393
- tenant_id?: number | null
394
- tenant_name?: string | null
395
- database_name?: string | null
396
- tenant_subdomain?: string | null
397
- currency?: string | null
398
- currency_symbol?: string | null
399
- industry?: string | null
400
- timezone?: string | null
401
- status?: string | null
402
- email?: string | null
403
- logo?: string | null
404
- created_at?: Date | string | null
405
- updated_at?: Date | string | null
406
- allowed_modules?: Prisma.ModuleCreateNestedManyWithoutTenant_configInput
407
- }
408
-
409
- export type TenantConfigurationUncheckedCreateInput = {
410
- id?: number
411
- uuid?: string | null
412
- tenant_id?: number | null
413
- tenant_name?: string | null
414
- database_name?: string | null
415
- tenant_subdomain?: string | null
416
- currency?: string | null
417
- currency_symbol?: string | null
418
- industry?: string | null
419
- timezone?: string | null
420
- status?: string | null
421
- email?: string | null
422
- logo?: string | null
423
- created_at?: Date | string | null
424
- updated_at?: Date | string | null
425
- allowed_modules?: Prisma.ModuleUncheckedCreateNestedManyWithoutTenant_configInput
426
- }
427
-
428
- export type TenantConfigurationUpdateInput = {
429
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
430
- tenant_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
431
- tenant_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
432
- database_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
433
- tenant_subdomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
434
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
435
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
436
- industry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
437
- timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
438
- status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
439
- email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
440
- logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
441
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
442
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
443
- allowed_modules?: Prisma.ModuleUpdateManyWithoutTenant_configNestedInput
444
- }
445
-
446
- export type TenantConfigurationUncheckedUpdateInput = {
447
- id?: Prisma.IntFieldUpdateOperationsInput | number
448
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
449
- tenant_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
450
- tenant_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
451
- database_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
452
- tenant_subdomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
453
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
454
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
455
- industry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
456
- timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
457
- status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
458
- email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
459
- logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
460
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
461
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
462
- allowed_modules?: Prisma.ModuleUncheckedUpdateManyWithoutTenant_configNestedInput
463
- }
464
-
465
- export type TenantConfigurationCreateManyInput = {
466
- id?: number
467
- uuid?: string | null
468
- tenant_id?: number | null
469
- tenant_name?: string | null
470
- database_name?: string | null
471
- tenant_subdomain?: string | null
472
- currency?: string | null
473
- currency_symbol?: string | null
474
- industry?: string | null
475
- timezone?: string | null
476
- status?: string | null
477
- email?: string | null
478
- logo?: string | null
479
- created_at?: Date | string | null
480
- updated_at?: Date | string | null
481
- }
482
-
483
- export type TenantConfigurationUpdateManyMutationInput = {
484
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
485
- tenant_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
486
- tenant_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
487
- database_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
488
- tenant_subdomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
489
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
490
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
491
- industry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
492
- timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
493
- status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
494
- email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
495
- logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
496
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
497
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
498
- }
499
-
500
- export type TenantConfigurationUncheckedUpdateManyInput = {
501
- id?: Prisma.IntFieldUpdateOperationsInput | number
502
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
503
- tenant_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
504
- tenant_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
505
- database_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
506
- tenant_subdomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
507
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
508
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
509
- industry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
510
- timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
511
- status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
512
- email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
513
- logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
514
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
515
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
516
- }
517
-
518
- export type TenantConfigurationNullableScalarRelationFilter = {
519
- is?: Prisma.TenantConfigurationWhereInput | null
520
- isNot?: Prisma.TenantConfigurationWhereInput | null
521
- }
522
-
523
- export type TenantConfigurationCountOrderByAggregateInput = {
524
- id?: Prisma.SortOrder
525
- uuid?: Prisma.SortOrder
526
- tenant_id?: Prisma.SortOrder
527
- tenant_name?: Prisma.SortOrder
528
- database_name?: Prisma.SortOrder
529
- tenant_subdomain?: Prisma.SortOrder
530
- currency?: Prisma.SortOrder
531
- currency_symbol?: Prisma.SortOrder
532
- industry?: Prisma.SortOrder
533
- timezone?: Prisma.SortOrder
534
- status?: Prisma.SortOrder
535
- email?: Prisma.SortOrder
536
- logo?: Prisma.SortOrder
537
- created_at?: Prisma.SortOrder
538
- updated_at?: Prisma.SortOrder
539
- }
540
-
541
- export type TenantConfigurationAvgOrderByAggregateInput = {
542
- id?: Prisma.SortOrder
543
- tenant_id?: Prisma.SortOrder
544
- }
545
-
546
- export type TenantConfigurationMaxOrderByAggregateInput = {
547
- id?: Prisma.SortOrder
548
- uuid?: Prisma.SortOrder
549
- tenant_id?: Prisma.SortOrder
550
- tenant_name?: Prisma.SortOrder
551
- database_name?: Prisma.SortOrder
552
- tenant_subdomain?: Prisma.SortOrder
553
- currency?: Prisma.SortOrder
554
- currency_symbol?: Prisma.SortOrder
555
- industry?: Prisma.SortOrder
556
- timezone?: Prisma.SortOrder
557
- status?: Prisma.SortOrder
558
- email?: Prisma.SortOrder
559
- logo?: Prisma.SortOrder
560
- created_at?: Prisma.SortOrder
561
- updated_at?: Prisma.SortOrder
562
- }
563
-
564
- export type TenantConfigurationMinOrderByAggregateInput = {
565
- id?: Prisma.SortOrder
566
- uuid?: Prisma.SortOrder
567
- tenant_id?: Prisma.SortOrder
568
- tenant_name?: Prisma.SortOrder
569
- database_name?: Prisma.SortOrder
570
- tenant_subdomain?: Prisma.SortOrder
571
- currency?: Prisma.SortOrder
572
- currency_symbol?: Prisma.SortOrder
573
- industry?: Prisma.SortOrder
574
- timezone?: Prisma.SortOrder
575
- status?: Prisma.SortOrder
576
- email?: Prisma.SortOrder
577
- logo?: Prisma.SortOrder
578
- created_at?: Prisma.SortOrder
579
- updated_at?: Prisma.SortOrder
580
- }
581
-
582
- export type TenantConfigurationSumOrderByAggregateInput = {
583
- id?: Prisma.SortOrder
584
- tenant_id?: Prisma.SortOrder
585
- }
586
-
587
- export type TenantConfigurationCreateNestedOneWithoutAllowed_modulesInput = {
588
- create?: Prisma.XOR<Prisma.TenantConfigurationCreateWithoutAllowed_modulesInput, Prisma.TenantConfigurationUncheckedCreateWithoutAllowed_modulesInput>
589
- connectOrCreate?: Prisma.TenantConfigurationCreateOrConnectWithoutAllowed_modulesInput
590
- connect?: Prisma.TenantConfigurationWhereUniqueInput
591
- }
592
-
593
- export type TenantConfigurationUpdateOneWithoutAllowed_modulesNestedInput = {
594
- create?: Prisma.XOR<Prisma.TenantConfigurationCreateWithoutAllowed_modulesInput, Prisma.TenantConfigurationUncheckedCreateWithoutAllowed_modulesInput>
595
- connectOrCreate?: Prisma.TenantConfigurationCreateOrConnectWithoutAllowed_modulesInput
596
- upsert?: Prisma.TenantConfigurationUpsertWithoutAllowed_modulesInput
597
- disconnect?: Prisma.TenantConfigurationWhereInput | boolean
598
- delete?: Prisma.TenantConfigurationWhereInput | boolean
599
- connect?: Prisma.TenantConfigurationWhereUniqueInput
600
- update?: Prisma.XOR<Prisma.XOR<Prisma.TenantConfigurationUpdateToOneWithWhereWithoutAllowed_modulesInput, Prisma.TenantConfigurationUpdateWithoutAllowed_modulesInput>, Prisma.TenantConfigurationUncheckedUpdateWithoutAllowed_modulesInput>
601
- }
602
-
603
- export type TenantConfigurationCreateWithoutAllowed_modulesInput = {
604
- uuid?: string | null
605
- tenant_id?: number | null
606
- tenant_name?: string | null
607
- database_name?: string | null
608
- tenant_subdomain?: string | null
609
- currency?: string | null
610
- currency_symbol?: string | null
611
- industry?: string | null
612
- timezone?: string | null
613
- status?: string | null
614
- email?: string | null
615
- logo?: string | null
616
- created_at?: Date | string | null
617
- updated_at?: Date | string | null
618
- }
619
-
620
- export type TenantConfigurationUncheckedCreateWithoutAllowed_modulesInput = {
621
- id?: number
622
- uuid?: string | null
623
- tenant_id?: number | null
624
- tenant_name?: string | null
625
- database_name?: string | null
626
- tenant_subdomain?: string | null
627
- currency?: string | null
628
- currency_symbol?: string | null
629
- industry?: string | null
630
- timezone?: string | null
631
- status?: string | null
632
- email?: string | null
633
- logo?: string | null
634
- created_at?: Date | string | null
635
- updated_at?: Date | string | null
636
- }
637
-
638
- export type TenantConfigurationCreateOrConnectWithoutAllowed_modulesInput = {
639
- where: Prisma.TenantConfigurationWhereUniqueInput
640
- create: Prisma.XOR<Prisma.TenantConfigurationCreateWithoutAllowed_modulesInput, Prisma.TenantConfigurationUncheckedCreateWithoutAllowed_modulesInput>
641
- }
642
-
643
- export type TenantConfigurationUpsertWithoutAllowed_modulesInput = {
644
- update: Prisma.XOR<Prisma.TenantConfigurationUpdateWithoutAllowed_modulesInput, Prisma.TenantConfigurationUncheckedUpdateWithoutAllowed_modulesInput>
645
- create: Prisma.XOR<Prisma.TenantConfigurationCreateWithoutAllowed_modulesInput, Prisma.TenantConfigurationUncheckedCreateWithoutAllowed_modulesInput>
646
- where?: Prisma.TenantConfigurationWhereInput
647
- }
648
-
649
- export type TenantConfigurationUpdateToOneWithWhereWithoutAllowed_modulesInput = {
650
- where?: Prisma.TenantConfigurationWhereInput
651
- data: Prisma.XOR<Prisma.TenantConfigurationUpdateWithoutAllowed_modulesInput, Prisma.TenantConfigurationUncheckedUpdateWithoutAllowed_modulesInput>
652
- }
653
-
654
- export type TenantConfigurationUpdateWithoutAllowed_modulesInput = {
655
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
656
- tenant_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
657
- tenant_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
658
- database_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
659
- tenant_subdomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
660
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
661
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
662
- industry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
663
- timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
664
- status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
665
- email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
666
- logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
667
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
668
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
669
- }
670
-
671
- export type TenantConfigurationUncheckedUpdateWithoutAllowed_modulesInput = {
672
- id?: Prisma.IntFieldUpdateOperationsInput | number
673
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
674
- tenant_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
675
- tenant_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
676
- database_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
677
- tenant_subdomain?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
678
- currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
679
- currency_symbol?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
680
- industry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
681
- timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
682
- status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
683
- email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
684
- logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
685
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
686
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
687
- }
688
-
689
-
690
- /**
691
- * Count Type TenantConfigurationCountOutputType
692
- */
693
-
694
- export type TenantConfigurationCountOutputType = {
695
- allowed_modules: number
696
- }
697
-
698
- export type TenantConfigurationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
699
- allowed_modules?: boolean | TenantConfigurationCountOutputTypeCountAllowed_modulesArgs
700
- }
701
-
702
- /**
703
- * TenantConfigurationCountOutputType without action
704
- */
705
- export type TenantConfigurationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
706
- /**
707
- * Select specific fields to fetch from the TenantConfigurationCountOutputType
708
- */
709
- select?: Prisma.TenantConfigurationCountOutputTypeSelect<ExtArgs> | null
710
- }
711
-
712
- /**
713
- * TenantConfigurationCountOutputType without action
714
- */
715
- export type TenantConfigurationCountOutputTypeCountAllowed_modulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
716
- where?: Prisma.ModuleWhereInput
717
- }
718
-
719
-
720
- export type TenantConfigurationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
721
- id?: boolean
722
- uuid?: boolean
723
- tenant_id?: boolean
724
- tenant_name?: boolean
725
- database_name?: boolean
726
- tenant_subdomain?: boolean
727
- currency?: boolean
728
- currency_symbol?: boolean
729
- industry?: boolean
730
- timezone?: boolean
731
- status?: boolean
732
- email?: boolean
733
- logo?: boolean
734
- created_at?: boolean
735
- updated_at?: boolean
736
- allowed_modules?: boolean | Prisma.TenantConfiguration$allowed_modulesArgs<ExtArgs>
737
- _count?: boolean | Prisma.TenantConfigurationCountOutputTypeDefaultArgs<ExtArgs>
738
- }, ExtArgs["result"]["tenantConfiguration"]>
739
-
740
- export type TenantConfigurationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
741
- id?: boolean
742
- uuid?: boolean
743
- tenant_id?: boolean
744
- tenant_name?: boolean
745
- database_name?: boolean
746
- tenant_subdomain?: boolean
747
- currency?: boolean
748
- currency_symbol?: boolean
749
- industry?: boolean
750
- timezone?: boolean
751
- status?: boolean
752
- email?: boolean
753
- logo?: boolean
754
- created_at?: boolean
755
- updated_at?: boolean
756
- }, ExtArgs["result"]["tenantConfiguration"]>
757
-
758
- export type TenantConfigurationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
759
- id?: boolean
760
- uuid?: boolean
761
- tenant_id?: boolean
762
- tenant_name?: boolean
763
- database_name?: boolean
764
- tenant_subdomain?: boolean
765
- currency?: boolean
766
- currency_symbol?: boolean
767
- industry?: boolean
768
- timezone?: boolean
769
- status?: boolean
770
- email?: boolean
771
- logo?: boolean
772
- created_at?: boolean
773
- updated_at?: boolean
774
- }, ExtArgs["result"]["tenantConfiguration"]>
775
-
776
- export type TenantConfigurationSelectScalar = {
777
- id?: boolean
778
- uuid?: boolean
779
- tenant_id?: boolean
780
- tenant_name?: boolean
781
- database_name?: boolean
782
- tenant_subdomain?: boolean
783
- currency?: boolean
784
- currency_symbol?: boolean
785
- industry?: boolean
786
- timezone?: boolean
787
- status?: boolean
788
- email?: boolean
789
- logo?: boolean
790
- created_at?: boolean
791
- updated_at?: boolean
792
- }
793
-
794
- export type TenantConfigurationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "tenant_id" | "tenant_name" | "database_name" | "tenant_subdomain" | "currency" | "currency_symbol" | "industry" | "timezone" | "status" | "email" | "logo" | "created_at" | "updated_at", ExtArgs["result"]["tenantConfiguration"]>
795
- export type TenantConfigurationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
796
- allowed_modules?: boolean | Prisma.TenantConfiguration$allowed_modulesArgs<ExtArgs>
797
- _count?: boolean | Prisma.TenantConfigurationCountOutputTypeDefaultArgs<ExtArgs>
798
- }
799
- export type TenantConfigurationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
800
- export type TenantConfigurationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
801
-
802
- export type $TenantConfigurationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
803
- name: "TenantConfiguration"
804
- objects: {
805
- allowed_modules: Prisma.$ModulePayload<ExtArgs>[]
806
- }
807
- scalars: runtime.Types.Extensions.GetPayloadResult<{
808
- id: number
809
- uuid: string | null
810
- tenant_id: number | null
811
- tenant_name: string | null
812
- database_name: string | null
813
- tenant_subdomain: string | null
814
- currency: string | null
815
- currency_symbol: string | null
816
- industry: string | null
817
- timezone: string | null
818
- status: string | null
819
- email: string | null
820
- logo: string | null
821
- created_at: Date | null
822
- updated_at: Date | null
823
- }, ExtArgs["result"]["tenantConfiguration"]>
824
- composites: {}
825
- }
826
-
827
- export type TenantConfigurationGetPayload<S extends boolean | null | undefined | TenantConfigurationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload, S>
828
-
829
- export type TenantConfigurationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
830
- Omit<TenantConfigurationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
831
- select?: TenantConfigurationCountAggregateInputType | true
832
- }
833
-
834
- export interface TenantConfigurationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
835
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TenantConfiguration'], meta: { name: 'TenantConfiguration' } }
836
- /**
837
- * Find zero or one TenantConfiguration that matches the filter.
838
- * @param {TenantConfigurationFindUniqueArgs} args - Arguments to find a TenantConfiguration
839
- * @example
840
- * // Get one TenantConfiguration
841
- * const tenantConfiguration = await prisma.tenantConfiguration.findUnique({
842
- * where: {
843
- * // ... provide filter here
844
- * }
845
- * })
846
- */
847
- findUnique<T extends TenantConfigurationFindUniqueArgs>(args: Prisma.SelectSubset<T, TenantConfigurationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
848
-
849
- /**
850
- * Find one TenantConfiguration that matches the filter or throw an error with `error.code='P2025'`
851
- * if no matches were found.
852
- * @param {TenantConfigurationFindUniqueOrThrowArgs} args - Arguments to find a TenantConfiguration
853
- * @example
854
- * // Get one TenantConfiguration
855
- * const tenantConfiguration = await prisma.tenantConfiguration.findUniqueOrThrow({
856
- * where: {
857
- * // ... provide filter here
858
- * }
859
- * })
860
- */
861
- findUniqueOrThrow<T extends TenantConfigurationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TenantConfigurationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
862
-
863
- /**
864
- * Find the first TenantConfiguration that matches the filter.
865
- * Note, that providing `undefined` is treated as the value not being there.
866
- * Read more here: https://pris.ly/d/null-undefined
867
- * @param {TenantConfigurationFindFirstArgs} args - Arguments to find a TenantConfiguration
868
- * @example
869
- * // Get one TenantConfiguration
870
- * const tenantConfiguration = await prisma.tenantConfiguration.findFirst({
871
- * where: {
872
- * // ... provide filter here
873
- * }
874
- * })
875
- */
876
- findFirst<T extends TenantConfigurationFindFirstArgs>(args?: Prisma.SelectSubset<T, TenantConfigurationFindFirstArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
877
-
878
- /**
879
- * Find the first TenantConfiguration that matches the filter or
880
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
881
- * Note, that providing `undefined` is treated as the value not being there.
882
- * Read more here: https://pris.ly/d/null-undefined
883
- * @param {TenantConfigurationFindFirstOrThrowArgs} args - Arguments to find a TenantConfiguration
884
- * @example
885
- * // Get one TenantConfiguration
886
- * const tenantConfiguration = await prisma.tenantConfiguration.findFirstOrThrow({
887
- * where: {
888
- * // ... provide filter here
889
- * }
890
- * })
891
- */
892
- findFirstOrThrow<T extends TenantConfigurationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TenantConfigurationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
893
-
894
- /**
895
- * Find zero or more TenantConfigurations that matches the filter.
896
- * Note, that providing `undefined` is treated as the value not being there.
897
- * Read more here: https://pris.ly/d/null-undefined
898
- * @param {TenantConfigurationFindManyArgs} args - Arguments to filter and select certain fields only.
899
- * @example
900
- * // Get all TenantConfigurations
901
- * const tenantConfigurations = await prisma.tenantConfiguration.findMany()
902
- *
903
- * // Get first 10 TenantConfigurations
904
- * const tenantConfigurations = await prisma.tenantConfiguration.findMany({ take: 10 })
905
- *
906
- * // Only select the `id`
907
- * const tenantConfigurationWithIdOnly = await prisma.tenantConfiguration.findMany({ select: { id: true } })
908
- *
909
- */
910
- findMany<T extends TenantConfigurationFindManyArgs>(args?: Prisma.SelectSubset<T, TenantConfigurationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
911
-
912
- /**
913
- * Create a TenantConfiguration.
914
- * @param {TenantConfigurationCreateArgs} args - Arguments to create a TenantConfiguration.
915
- * @example
916
- * // Create one TenantConfiguration
917
- * const TenantConfiguration = await prisma.tenantConfiguration.create({
918
- * data: {
919
- * // ... data to create a TenantConfiguration
920
- * }
921
- * })
922
- *
923
- */
924
- create<T extends TenantConfigurationCreateArgs>(args: Prisma.SelectSubset<T, TenantConfigurationCreateArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
925
-
926
- /**
927
- * Create many TenantConfigurations.
928
- * @param {TenantConfigurationCreateManyArgs} args - Arguments to create many TenantConfigurations.
929
- * @example
930
- * // Create many TenantConfigurations
931
- * const tenantConfiguration = await prisma.tenantConfiguration.createMany({
932
- * data: [
933
- * // ... provide data here
934
- * ]
935
- * })
936
- *
937
- */
938
- createMany<T extends TenantConfigurationCreateManyArgs>(args?: Prisma.SelectSubset<T, TenantConfigurationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
939
-
940
- /**
941
- * Create many TenantConfigurations and returns the data saved in the database.
942
- * @param {TenantConfigurationCreateManyAndReturnArgs} args - Arguments to create many TenantConfigurations.
943
- * @example
944
- * // Create many TenantConfigurations
945
- * const tenantConfiguration = await prisma.tenantConfiguration.createManyAndReturn({
946
- * data: [
947
- * // ... provide data here
948
- * ]
949
- * })
950
- *
951
- * // Create many TenantConfigurations and only return the `id`
952
- * const tenantConfigurationWithIdOnly = await prisma.tenantConfiguration.createManyAndReturn({
953
- * select: { id: true },
954
- * data: [
955
- * // ... provide data here
956
- * ]
957
- * })
958
- * Note, that providing `undefined` is treated as the value not being there.
959
- * Read more here: https://pris.ly/d/null-undefined
960
- *
961
- */
962
- createManyAndReturn<T extends TenantConfigurationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TenantConfigurationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
963
-
964
- /**
965
- * Delete a TenantConfiguration.
966
- * @param {TenantConfigurationDeleteArgs} args - Arguments to delete one TenantConfiguration.
967
- * @example
968
- * // Delete one TenantConfiguration
969
- * const TenantConfiguration = await prisma.tenantConfiguration.delete({
970
- * where: {
971
- * // ... filter to delete one TenantConfiguration
972
- * }
973
- * })
974
- *
975
- */
976
- delete<T extends TenantConfigurationDeleteArgs>(args: Prisma.SelectSubset<T, TenantConfigurationDeleteArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
977
-
978
- /**
979
- * Update one TenantConfiguration.
980
- * @param {TenantConfigurationUpdateArgs} args - Arguments to update one TenantConfiguration.
981
- * @example
982
- * // Update one TenantConfiguration
983
- * const tenantConfiguration = await prisma.tenantConfiguration.update({
984
- * where: {
985
- * // ... provide filter here
986
- * },
987
- * data: {
988
- * // ... provide data here
989
- * }
990
- * })
991
- *
992
- */
993
- update<T extends TenantConfigurationUpdateArgs>(args: Prisma.SelectSubset<T, TenantConfigurationUpdateArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
994
-
995
- /**
996
- * Delete zero or more TenantConfigurations.
997
- * @param {TenantConfigurationDeleteManyArgs} args - Arguments to filter TenantConfigurations to delete.
998
- * @example
999
- * // Delete a few TenantConfigurations
1000
- * const { count } = await prisma.tenantConfiguration.deleteMany({
1001
- * where: {
1002
- * // ... provide filter here
1003
- * }
1004
- * })
1005
- *
1006
- */
1007
- deleteMany<T extends TenantConfigurationDeleteManyArgs>(args?: Prisma.SelectSubset<T, TenantConfigurationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1008
-
1009
- /**
1010
- * Update zero or more TenantConfigurations.
1011
- * Note, that providing `undefined` is treated as the value not being there.
1012
- * Read more here: https://pris.ly/d/null-undefined
1013
- * @param {TenantConfigurationUpdateManyArgs} args - Arguments to update one or more rows.
1014
- * @example
1015
- * // Update many TenantConfigurations
1016
- * const tenantConfiguration = await prisma.tenantConfiguration.updateMany({
1017
- * where: {
1018
- * // ... provide filter here
1019
- * },
1020
- * data: {
1021
- * // ... provide data here
1022
- * }
1023
- * })
1024
- *
1025
- */
1026
- updateMany<T extends TenantConfigurationUpdateManyArgs>(args: Prisma.SelectSubset<T, TenantConfigurationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1027
-
1028
- /**
1029
- * Update zero or more TenantConfigurations and returns the data updated in the database.
1030
- * @param {TenantConfigurationUpdateManyAndReturnArgs} args - Arguments to update many TenantConfigurations.
1031
- * @example
1032
- * // Update many TenantConfigurations
1033
- * const tenantConfiguration = await prisma.tenantConfiguration.updateManyAndReturn({
1034
- * where: {
1035
- * // ... provide filter here
1036
- * },
1037
- * data: [
1038
- * // ... provide data here
1039
- * ]
1040
- * })
1041
- *
1042
- * // Update zero or more TenantConfigurations and only return the `id`
1043
- * const tenantConfigurationWithIdOnly = await prisma.tenantConfiguration.updateManyAndReturn({
1044
- * select: { id: true },
1045
- * where: {
1046
- * // ... provide filter here
1047
- * },
1048
- * data: [
1049
- * // ... provide data here
1050
- * ]
1051
- * })
1052
- * Note, that providing `undefined` is treated as the value not being there.
1053
- * Read more here: https://pris.ly/d/null-undefined
1054
- *
1055
- */
1056
- updateManyAndReturn<T extends TenantConfigurationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TenantConfigurationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1057
-
1058
- /**
1059
- * Create or update one TenantConfiguration.
1060
- * @param {TenantConfigurationUpsertArgs} args - Arguments to update or create a TenantConfiguration.
1061
- * @example
1062
- * // Update or create a TenantConfiguration
1063
- * const tenantConfiguration = await prisma.tenantConfiguration.upsert({
1064
- * create: {
1065
- * // ... data to create a TenantConfiguration
1066
- * },
1067
- * update: {
1068
- * // ... in case it already exists, update
1069
- * },
1070
- * where: {
1071
- * // ... the filter for the TenantConfiguration we want to update
1072
- * }
1073
- * })
1074
- */
1075
- upsert<T extends TenantConfigurationUpsertArgs>(args: Prisma.SelectSubset<T, TenantConfigurationUpsertArgs<ExtArgs>>): Prisma.Prisma__TenantConfigurationClient<runtime.Types.Result.GetResult<Prisma.$TenantConfigurationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1076
-
1077
-
1078
- /**
1079
- * Count the number of TenantConfigurations.
1080
- * Note, that providing `undefined` is treated as the value not being there.
1081
- * Read more here: https://pris.ly/d/null-undefined
1082
- * @param {TenantConfigurationCountArgs} args - Arguments to filter TenantConfigurations to count.
1083
- * @example
1084
- * // Count the number of TenantConfigurations
1085
- * const count = await prisma.tenantConfiguration.count({
1086
- * where: {
1087
- * // ... the filter for the TenantConfigurations we want to count
1088
- * }
1089
- * })
1090
- **/
1091
- count<T extends TenantConfigurationCountArgs>(
1092
- args?: Prisma.Subset<T, TenantConfigurationCountArgs>,
1093
- ): Prisma.PrismaPromise<
1094
- T extends runtime.Types.Utils.Record<'select', any>
1095
- ? T['select'] extends true
1096
- ? number
1097
- : Prisma.GetScalarType<T['select'], TenantConfigurationCountAggregateOutputType>
1098
- : number
1099
- >
1100
-
1101
- /**
1102
- * Allows you to perform aggregations operations on a TenantConfiguration.
1103
- * Note, that providing `undefined` is treated as the value not being there.
1104
- * Read more here: https://pris.ly/d/null-undefined
1105
- * @param {TenantConfigurationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1106
- * @example
1107
- * // Ordered by age ascending
1108
- * // Where email contains prisma.io
1109
- * // Limited to the 10 users
1110
- * const aggregations = await prisma.user.aggregate({
1111
- * _avg: {
1112
- * age: true,
1113
- * },
1114
- * where: {
1115
- * email: {
1116
- * contains: "prisma.io",
1117
- * },
1118
- * },
1119
- * orderBy: {
1120
- * age: "asc",
1121
- * },
1122
- * take: 10,
1123
- * })
1124
- **/
1125
- aggregate<T extends TenantConfigurationAggregateArgs>(args: Prisma.Subset<T, TenantConfigurationAggregateArgs>): Prisma.PrismaPromise<GetTenantConfigurationAggregateType<T>>
1126
-
1127
- /**
1128
- * Group by TenantConfiguration.
1129
- * Note, that providing `undefined` is treated as the value not being there.
1130
- * Read more here: https://pris.ly/d/null-undefined
1131
- * @param {TenantConfigurationGroupByArgs} args - Group by arguments.
1132
- * @example
1133
- * // Group by city, order by createdAt, get count
1134
- * const result = await prisma.user.groupBy({
1135
- * by: ['city', 'createdAt'],
1136
- * orderBy: {
1137
- * createdAt: true
1138
- * },
1139
- * _count: {
1140
- * _all: true
1141
- * },
1142
- * })
1143
- *
1144
- **/
1145
- groupBy<
1146
- T extends TenantConfigurationGroupByArgs,
1147
- HasSelectOrTake extends Prisma.Or<
1148
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1149
- Prisma.Extends<'take', Prisma.Keys<T>>
1150
- >,
1151
- OrderByArg extends Prisma.True extends HasSelectOrTake
1152
- ? { orderBy: TenantConfigurationGroupByArgs['orderBy'] }
1153
- : { orderBy?: TenantConfigurationGroupByArgs['orderBy'] },
1154
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1155
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1156
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1157
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1158
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1159
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1160
- InputErrors extends ByEmpty extends Prisma.True
1161
- ? `Error: "by" must not be empty.`
1162
- : HavingValid extends Prisma.False
1163
- ? {
1164
- [P in HavingFields]: P extends ByFields
1165
- ? never
1166
- : P extends string
1167
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1168
- : [
1169
- Error,
1170
- 'Field ',
1171
- P,
1172
- ` in "having" needs to be provided in "by"`,
1173
- ]
1174
- }[HavingFields]
1175
- : 'take' extends Prisma.Keys<T>
1176
- ? 'orderBy' extends Prisma.Keys<T>
1177
- ? ByValid extends Prisma.True
1178
- ? {}
1179
- : {
1180
- [P in OrderFields]: P extends ByFields
1181
- ? never
1182
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1183
- }[OrderFields]
1184
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1185
- : 'skip' extends Prisma.Keys<T>
1186
- ? 'orderBy' extends Prisma.Keys<T>
1187
- ? ByValid extends Prisma.True
1188
- ? {}
1189
- : {
1190
- [P in OrderFields]: P extends ByFields
1191
- ? never
1192
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1193
- }[OrderFields]
1194
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1195
- : ByValid extends Prisma.True
1196
- ? {}
1197
- : {
1198
- [P in OrderFields]: P extends ByFields
1199
- ? never
1200
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1201
- }[OrderFields]
1202
- >(args: Prisma.SubsetIntersection<T, TenantConfigurationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTenantConfigurationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1203
- /**
1204
- * Fields of the TenantConfiguration model
1205
- */
1206
- readonly fields: TenantConfigurationFieldRefs;
1207
- }
1208
-
1209
- /**
1210
- * The delegate class that acts as a "Promise-like" for TenantConfiguration.
1211
- * Why is this prefixed with `Prisma__`?
1212
- * Because we want to prevent naming conflicts as mentioned in
1213
- * https://github.com/prisma/prisma-client-js/issues/707
1214
- */
1215
- export interface Prisma__TenantConfigurationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1216
- readonly [Symbol.toStringTag]: "PrismaPromise"
1217
- allowed_modules<T extends Prisma.TenantConfiguration$allowed_modulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantConfiguration$allowed_modulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1218
- /**
1219
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1220
- * @param onfulfilled The callback to execute when the Promise is resolved.
1221
- * @param onrejected The callback to execute when the Promise is rejected.
1222
- * @returns A Promise for the completion of which ever callback is executed.
1223
- */
1224
- 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>
1225
- /**
1226
- * Attaches a callback for only the rejection of the Promise.
1227
- * @param onrejected The callback to execute when the Promise is rejected.
1228
- * @returns A Promise for the completion of the callback.
1229
- */
1230
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1231
- /**
1232
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1233
- * resolved value cannot be modified from the callback.
1234
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1235
- * @returns A Promise for the completion of the callback.
1236
- */
1237
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1238
- }
1239
-
1240
-
1241
-
1242
-
1243
- /**
1244
- * Fields of the TenantConfiguration model
1245
- */
1246
- export interface TenantConfigurationFieldRefs {
1247
- readonly id: Prisma.FieldRef<"TenantConfiguration", 'Int'>
1248
- readonly uuid: Prisma.FieldRef<"TenantConfiguration", 'String'>
1249
- readonly tenant_id: Prisma.FieldRef<"TenantConfiguration", 'Int'>
1250
- readonly tenant_name: Prisma.FieldRef<"TenantConfiguration", 'String'>
1251
- readonly database_name: Prisma.FieldRef<"TenantConfiguration", 'String'>
1252
- readonly tenant_subdomain: Prisma.FieldRef<"TenantConfiguration", 'String'>
1253
- readonly currency: Prisma.FieldRef<"TenantConfiguration", 'String'>
1254
- readonly currency_symbol: Prisma.FieldRef<"TenantConfiguration", 'String'>
1255
- readonly industry: Prisma.FieldRef<"TenantConfiguration", 'String'>
1256
- readonly timezone: Prisma.FieldRef<"TenantConfiguration", 'String'>
1257
- readonly status: Prisma.FieldRef<"TenantConfiguration", 'String'>
1258
- readonly email: Prisma.FieldRef<"TenantConfiguration", 'String'>
1259
- readonly logo: Prisma.FieldRef<"TenantConfiguration", 'String'>
1260
- readonly created_at: Prisma.FieldRef<"TenantConfiguration", 'DateTime'>
1261
- readonly updated_at: Prisma.FieldRef<"TenantConfiguration", 'DateTime'>
1262
- }
1263
-
1264
-
1265
- // Custom InputTypes
1266
- /**
1267
- * TenantConfiguration findUnique
1268
- */
1269
- export type TenantConfigurationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1270
- /**
1271
- * Select specific fields to fetch from the TenantConfiguration
1272
- */
1273
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1274
- /**
1275
- * Omit specific fields from the TenantConfiguration
1276
- */
1277
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1278
- /**
1279
- * Choose, which related nodes to fetch as well
1280
- */
1281
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1282
- /**
1283
- * Filter, which TenantConfiguration to fetch.
1284
- */
1285
- where: Prisma.TenantConfigurationWhereUniqueInput
1286
- }
1287
-
1288
- /**
1289
- * TenantConfiguration findUniqueOrThrow
1290
- */
1291
- export type TenantConfigurationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1292
- /**
1293
- * Select specific fields to fetch from the TenantConfiguration
1294
- */
1295
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1296
- /**
1297
- * Omit specific fields from the TenantConfiguration
1298
- */
1299
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1300
- /**
1301
- * Choose, which related nodes to fetch as well
1302
- */
1303
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1304
- /**
1305
- * Filter, which TenantConfiguration to fetch.
1306
- */
1307
- where: Prisma.TenantConfigurationWhereUniqueInput
1308
- }
1309
-
1310
- /**
1311
- * TenantConfiguration findFirst
1312
- */
1313
- export type TenantConfigurationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1314
- /**
1315
- * Select specific fields to fetch from the TenantConfiguration
1316
- */
1317
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1318
- /**
1319
- * Omit specific fields from the TenantConfiguration
1320
- */
1321
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1322
- /**
1323
- * Choose, which related nodes to fetch as well
1324
- */
1325
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1326
- /**
1327
- * Filter, which TenantConfiguration to fetch.
1328
- */
1329
- where?: Prisma.TenantConfigurationWhereInput
1330
- /**
1331
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1332
- *
1333
- * Determine the order of TenantConfigurations to fetch.
1334
- */
1335
- orderBy?: Prisma.TenantConfigurationOrderByWithRelationInput | Prisma.TenantConfigurationOrderByWithRelationInput[]
1336
- /**
1337
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1338
- *
1339
- * Sets the position for searching for TenantConfigurations.
1340
- */
1341
- cursor?: Prisma.TenantConfigurationWhereUniqueInput
1342
- /**
1343
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1344
- *
1345
- * Take `±n` TenantConfigurations from the position of the cursor.
1346
- */
1347
- take?: number
1348
- /**
1349
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1350
- *
1351
- * Skip the first `n` TenantConfigurations.
1352
- */
1353
- skip?: number
1354
- /**
1355
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1356
- *
1357
- * Filter by unique combinations of TenantConfigurations.
1358
- */
1359
- distinct?: Prisma.TenantConfigurationScalarFieldEnum | Prisma.TenantConfigurationScalarFieldEnum[]
1360
- }
1361
-
1362
- /**
1363
- * TenantConfiguration findFirstOrThrow
1364
- */
1365
- export type TenantConfigurationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1366
- /**
1367
- * Select specific fields to fetch from the TenantConfiguration
1368
- */
1369
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1370
- /**
1371
- * Omit specific fields from the TenantConfiguration
1372
- */
1373
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1374
- /**
1375
- * Choose, which related nodes to fetch as well
1376
- */
1377
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1378
- /**
1379
- * Filter, which TenantConfiguration to fetch.
1380
- */
1381
- where?: Prisma.TenantConfigurationWhereInput
1382
- /**
1383
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1384
- *
1385
- * Determine the order of TenantConfigurations to fetch.
1386
- */
1387
- orderBy?: Prisma.TenantConfigurationOrderByWithRelationInput | Prisma.TenantConfigurationOrderByWithRelationInput[]
1388
- /**
1389
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1390
- *
1391
- * Sets the position for searching for TenantConfigurations.
1392
- */
1393
- cursor?: Prisma.TenantConfigurationWhereUniqueInput
1394
- /**
1395
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1396
- *
1397
- * Take `±n` TenantConfigurations from the position of the cursor.
1398
- */
1399
- take?: number
1400
- /**
1401
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1402
- *
1403
- * Skip the first `n` TenantConfigurations.
1404
- */
1405
- skip?: number
1406
- /**
1407
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1408
- *
1409
- * Filter by unique combinations of TenantConfigurations.
1410
- */
1411
- distinct?: Prisma.TenantConfigurationScalarFieldEnum | Prisma.TenantConfigurationScalarFieldEnum[]
1412
- }
1413
-
1414
- /**
1415
- * TenantConfiguration findMany
1416
- */
1417
- export type TenantConfigurationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1418
- /**
1419
- * Select specific fields to fetch from the TenantConfiguration
1420
- */
1421
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1422
- /**
1423
- * Omit specific fields from the TenantConfiguration
1424
- */
1425
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1426
- /**
1427
- * Choose, which related nodes to fetch as well
1428
- */
1429
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1430
- /**
1431
- * Filter, which TenantConfigurations to fetch.
1432
- */
1433
- where?: Prisma.TenantConfigurationWhereInput
1434
- /**
1435
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1436
- *
1437
- * Determine the order of TenantConfigurations to fetch.
1438
- */
1439
- orderBy?: Prisma.TenantConfigurationOrderByWithRelationInput | Prisma.TenantConfigurationOrderByWithRelationInput[]
1440
- /**
1441
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1442
- *
1443
- * Sets the position for listing TenantConfigurations.
1444
- */
1445
- cursor?: Prisma.TenantConfigurationWhereUniqueInput
1446
- /**
1447
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1448
- *
1449
- * Take `±n` TenantConfigurations from the position of the cursor.
1450
- */
1451
- take?: number
1452
- /**
1453
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1454
- *
1455
- * Skip the first `n` TenantConfigurations.
1456
- */
1457
- skip?: number
1458
- /**
1459
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1460
- *
1461
- * Filter by unique combinations of TenantConfigurations.
1462
- */
1463
- distinct?: Prisma.TenantConfigurationScalarFieldEnum | Prisma.TenantConfigurationScalarFieldEnum[]
1464
- }
1465
-
1466
- /**
1467
- * TenantConfiguration create
1468
- */
1469
- export type TenantConfigurationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1470
- /**
1471
- * Select specific fields to fetch from the TenantConfiguration
1472
- */
1473
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1474
- /**
1475
- * Omit specific fields from the TenantConfiguration
1476
- */
1477
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1478
- /**
1479
- * Choose, which related nodes to fetch as well
1480
- */
1481
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1482
- /**
1483
- * The data needed to create a TenantConfiguration.
1484
- */
1485
- data?: Prisma.XOR<Prisma.TenantConfigurationCreateInput, Prisma.TenantConfigurationUncheckedCreateInput>
1486
- }
1487
-
1488
- /**
1489
- * TenantConfiguration createMany
1490
- */
1491
- export type TenantConfigurationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1492
- /**
1493
- * The data used to create many TenantConfigurations.
1494
- */
1495
- data: Prisma.TenantConfigurationCreateManyInput | Prisma.TenantConfigurationCreateManyInput[]
1496
- skipDuplicates?: boolean
1497
- }
1498
-
1499
- /**
1500
- * TenantConfiguration createManyAndReturn
1501
- */
1502
- export type TenantConfigurationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1503
- /**
1504
- * Select specific fields to fetch from the TenantConfiguration
1505
- */
1506
- select?: Prisma.TenantConfigurationSelectCreateManyAndReturn<ExtArgs> | null
1507
- /**
1508
- * Omit specific fields from the TenantConfiguration
1509
- */
1510
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1511
- /**
1512
- * The data used to create many TenantConfigurations.
1513
- */
1514
- data: Prisma.TenantConfigurationCreateManyInput | Prisma.TenantConfigurationCreateManyInput[]
1515
- skipDuplicates?: boolean
1516
- }
1517
-
1518
- /**
1519
- * TenantConfiguration update
1520
- */
1521
- export type TenantConfigurationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1522
- /**
1523
- * Select specific fields to fetch from the TenantConfiguration
1524
- */
1525
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1526
- /**
1527
- * Omit specific fields from the TenantConfiguration
1528
- */
1529
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1530
- /**
1531
- * Choose, which related nodes to fetch as well
1532
- */
1533
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1534
- /**
1535
- * The data needed to update a TenantConfiguration.
1536
- */
1537
- data: Prisma.XOR<Prisma.TenantConfigurationUpdateInput, Prisma.TenantConfigurationUncheckedUpdateInput>
1538
- /**
1539
- * Choose, which TenantConfiguration to update.
1540
- */
1541
- where: Prisma.TenantConfigurationWhereUniqueInput
1542
- }
1543
-
1544
- /**
1545
- * TenantConfiguration updateMany
1546
- */
1547
- export type TenantConfigurationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1548
- /**
1549
- * The data used to update TenantConfigurations.
1550
- */
1551
- data: Prisma.XOR<Prisma.TenantConfigurationUpdateManyMutationInput, Prisma.TenantConfigurationUncheckedUpdateManyInput>
1552
- /**
1553
- * Filter which TenantConfigurations to update
1554
- */
1555
- where?: Prisma.TenantConfigurationWhereInput
1556
- /**
1557
- * Limit how many TenantConfigurations to update.
1558
- */
1559
- limit?: number
1560
- }
1561
-
1562
- /**
1563
- * TenantConfiguration updateManyAndReturn
1564
- */
1565
- export type TenantConfigurationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1566
- /**
1567
- * Select specific fields to fetch from the TenantConfiguration
1568
- */
1569
- select?: Prisma.TenantConfigurationSelectUpdateManyAndReturn<ExtArgs> | null
1570
- /**
1571
- * Omit specific fields from the TenantConfiguration
1572
- */
1573
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1574
- /**
1575
- * The data used to update TenantConfigurations.
1576
- */
1577
- data: Prisma.XOR<Prisma.TenantConfigurationUpdateManyMutationInput, Prisma.TenantConfigurationUncheckedUpdateManyInput>
1578
- /**
1579
- * Filter which TenantConfigurations to update
1580
- */
1581
- where?: Prisma.TenantConfigurationWhereInput
1582
- /**
1583
- * Limit how many TenantConfigurations to update.
1584
- */
1585
- limit?: number
1586
- }
1587
-
1588
- /**
1589
- * TenantConfiguration upsert
1590
- */
1591
- export type TenantConfigurationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1592
- /**
1593
- * Select specific fields to fetch from the TenantConfiguration
1594
- */
1595
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1596
- /**
1597
- * Omit specific fields from the TenantConfiguration
1598
- */
1599
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1600
- /**
1601
- * Choose, which related nodes to fetch as well
1602
- */
1603
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1604
- /**
1605
- * The filter to search for the TenantConfiguration to update in case it exists.
1606
- */
1607
- where: Prisma.TenantConfigurationWhereUniqueInput
1608
- /**
1609
- * In case the TenantConfiguration found by the `where` argument doesn't exist, create a new TenantConfiguration with this data.
1610
- */
1611
- create: Prisma.XOR<Prisma.TenantConfigurationCreateInput, Prisma.TenantConfigurationUncheckedCreateInput>
1612
- /**
1613
- * In case the TenantConfiguration was found with the provided `where` argument, update it with this data.
1614
- */
1615
- update: Prisma.XOR<Prisma.TenantConfigurationUpdateInput, Prisma.TenantConfigurationUncheckedUpdateInput>
1616
- }
1617
-
1618
- /**
1619
- * TenantConfiguration delete
1620
- */
1621
- export type TenantConfigurationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1622
- /**
1623
- * Select specific fields to fetch from the TenantConfiguration
1624
- */
1625
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1626
- /**
1627
- * Omit specific fields from the TenantConfiguration
1628
- */
1629
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1630
- /**
1631
- * Choose, which related nodes to fetch as well
1632
- */
1633
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1634
- /**
1635
- * Filter which TenantConfiguration to delete.
1636
- */
1637
- where: Prisma.TenantConfigurationWhereUniqueInput
1638
- }
1639
-
1640
- /**
1641
- * TenantConfiguration deleteMany
1642
- */
1643
- export type TenantConfigurationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1644
- /**
1645
- * Filter which TenantConfigurations to delete
1646
- */
1647
- where?: Prisma.TenantConfigurationWhereInput
1648
- /**
1649
- * Limit how many TenantConfigurations to delete.
1650
- */
1651
- limit?: number
1652
- }
1653
-
1654
- /**
1655
- * TenantConfiguration.allowed_modules
1656
- */
1657
- export type TenantConfiguration$allowed_modulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1658
- /**
1659
- * Select specific fields to fetch from the Module
1660
- */
1661
- select?: Prisma.ModuleSelect<ExtArgs> | null
1662
- /**
1663
- * Omit specific fields from the Module
1664
- */
1665
- omit?: Prisma.ModuleOmit<ExtArgs> | null
1666
- /**
1667
- * Choose, which related nodes to fetch as well
1668
- */
1669
- include?: Prisma.ModuleInclude<ExtArgs> | null
1670
- where?: Prisma.ModuleWhereInput
1671
- orderBy?: Prisma.ModuleOrderByWithRelationInput | Prisma.ModuleOrderByWithRelationInput[]
1672
- cursor?: Prisma.ModuleWhereUniqueInput
1673
- take?: number
1674
- skip?: number
1675
- distinct?: Prisma.ModuleScalarFieldEnum | Prisma.ModuleScalarFieldEnum[]
1676
- }
1677
-
1678
- /**
1679
- * TenantConfiguration without action
1680
- */
1681
- export type TenantConfigurationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1682
- /**
1683
- * Select specific fields to fetch from the TenantConfiguration
1684
- */
1685
- select?: Prisma.TenantConfigurationSelect<ExtArgs> | null
1686
- /**
1687
- * Omit specific fields from the TenantConfiguration
1688
- */
1689
- omit?: Prisma.TenantConfigurationOmit<ExtArgs> | null
1690
- /**
1691
- * Choose, which related nodes to fetch as well
1692
- */
1693
- include?: Prisma.TenantConfigurationInclude<ExtArgs> | null
1694
- }