procbay-schema 1.0.171 → 1.0.175

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