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