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