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,2389 +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 `Conversation` 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 Conversation
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type ConversationModel = runtime.Types.Result.DefaultSelection<Prisma.$ConversationPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateConversation = {
|
|
22
|
-
_count: ConversationCountAggregateOutputType | null
|
|
23
|
-
_avg: ConversationAvgAggregateOutputType | null
|
|
24
|
-
_sum: ConversationSumAggregateOutputType | null
|
|
25
|
-
_min: ConversationMinAggregateOutputType | null
|
|
26
|
-
_max: ConversationMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type ConversationAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
event_id: number | null
|
|
32
|
-
admin_user_id: number | null
|
|
33
|
-
vendor_id: number | null
|
|
34
|
-
created_by: number | null
|
|
35
|
-
updated_by: number | null
|
|
36
|
-
deleted_by: number | null
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export type ConversationSumAggregateOutputType = {
|
|
40
|
-
id: number | null
|
|
41
|
-
event_id: number | null
|
|
42
|
-
admin_user_id: number | null
|
|
43
|
-
vendor_id: number | null
|
|
44
|
-
created_by: number | null
|
|
45
|
-
updated_by: number | null
|
|
46
|
-
deleted_by: number | null
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export type ConversationMinAggregateOutputType = {
|
|
50
|
-
id: number | null
|
|
51
|
-
uuid: string | null
|
|
52
|
-
type: $Enums.ConversationType | null
|
|
53
|
-
event_id: number | null
|
|
54
|
-
admin_user_id: number | null
|
|
55
|
-
vendor_id: number | null
|
|
56
|
-
title: string | null
|
|
57
|
-
status: $Enums.ConversationStatus | null
|
|
58
|
-
last_message_at: Date | null
|
|
59
|
-
created_at: Date | null
|
|
60
|
-
created_by: number | null
|
|
61
|
-
updated_at: Date | null
|
|
62
|
-
updated_by: number | null
|
|
63
|
-
is_deleted: boolean | null
|
|
64
|
-
deleted_at: Date | null
|
|
65
|
-
deleted_by: number | null
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export type ConversationMaxAggregateOutputType = {
|
|
69
|
-
id: number | null
|
|
70
|
-
uuid: string | null
|
|
71
|
-
type: $Enums.ConversationType | null
|
|
72
|
-
event_id: number | null
|
|
73
|
-
admin_user_id: number | null
|
|
74
|
-
vendor_id: number | null
|
|
75
|
-
title: string | null
|
|
76
|
-
status: $Enums.ConversationStatus | null
|
|
77
|
-
last_message_at: Date | null
|
|
78
|
-
created_at: Date | null
|
|
79
|
-
created_by: number | null
|
|
80
|
-
updated_at: Date | null
|
|
81
|
-
updated_by: number | null
|
|
82
|
-
is_deleted: boolean | null
|
|
83
|
-
deleted_at: Date | null
|
|
84
|
-
deleted_by: number | null
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export type ConversationCountAggregateOutputType = {
|
|
88
|
-
id: number
|
|
89
|
-
uuid: number
|
|
90
|
-
type: number
|
|
91
|
-
event_id: number
|
|
92
|
-
admin_user_id: number
|
|
93
|
-
vendor_id: number
|
|
94
|
-
title: number
|
|
95
|
-
status: number
|
|
96
|
-
last_message_at: number
|
|
97
|
-
created_at: number
|
|
98
|
-
created_by: number
|
|
99
|
-
updated_at: number
|
|
100
|
-
updated_by: number
|
|
101
|
-
is_deleted: number
|
|
102
|
-
deleted_at: number
|
|
103
|
-
deleted_by: number
|
|
104
|
-
_all: number
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
export type ConversationAvgAggregateInputType = {
|
|
109
|
-
id?: true
|
|
110
|
-
event_id?: true
|
|
111
|
-
admin_user_id?: true
|
|
112
|
-
vendor_id?: true
|
|
113
|
-
created_by?: true
|
|
114
|
-
updated_by?: true
|
|
115
|
-
deleted_by?: true
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export type ConversationSumAggregateInputType = {
|
|
119
|
-
id?: true
|
|
120
|
-
event_id?: true
|
|
121
|
-
admin_user_id?: true
|
|
122
|
-
vendor_id?: true
|
|
123
|
-
created_by?: true
|
|
124
|
-
updated_by?: true
|
|
125
|
-
deleted_by?: true
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export type ConversationMinAggregateInputType = {
|
|
129
|
-
id?: true
|
|
130
|
-
uuid?: true
|
|
131
|
-
type?: true
|
|
132
|
-
event_id?: true
|
|
133
|
-
admin_user_id?: true
|
|
134
|
-
vendor_id?: true
|
|
135
|
-
title?: true
|
|
136
|
-
status?: true
|
|
137
|
-
last_message_at?: true
|
|
138
|
-
created_at?: true
|
|
139
|
-
created_by?: true
|
|
140
|
-
updated_at?: true
|
|
141
|
-
updated_by?: true
|
|
142
|
-
is_deleted?: true
|
|
143
|
-
deleted_at?: true
|
|
144
|
-
deleted_by?: true
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export type ConversationMaxAggregateInputType = {
|
|
148
|
-
id?: true
|
|
149
|
-
uuid?: true
|
|
150
|
-
type?: true
|
|
151
|
-
event_id?: true
|
|
152
|
-
admin_user_id?: true
|
|
153
|
-
vendor_id?: true
|
|
154
|
-
title?: true
|
|
155
|
-
status?: true
|
|
156
|
-
last_message_at?: 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 ConversationCountAggregateInputType = {
|
|
167
|
-
id?: true
|
|
168
|
-
uuid?: true
|
|
169
|
-
type?: true
|
|
170
|
-
event_id?: true
|
|
171
|
-
admin_user_id?: true
|
|
172
|
-
vendor_id?: true
|
|
173
|
-
title?: true
|
|
174
|
-
status?: true
|
|
175
|
-
last_message_at?: true
|
|
176
|
-
created_at?: true
|
|
177
|
-
created_by?: true
|
|
178
|
-
updated_at?: true
|
|
179
|
-
updated_by?: true
|
|
180
|
-
is_deleted?: true
|
|
181
|
-
deleted_at?: true
|
|
182
|
-
deleted_by?: true
|
|
183
|
-
_all?: true
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export type ConversationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
187
|
-
/**
|
|
188
|
-
* Filter which Conversation to aggregate.
|
|
189
|
-
*/
|
|
190
|
-
where?: Prisma.ConversationWhereInput
|
|
191
|
-
/**
|
|
192
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
193
|
-
*
|
|
194
|
-
* Determine the order of Conversations to fetch.
|
|
195
|
-
*/
|
|
196
|
-
orderBy?: Prisma.ConversationOrderByWithRelationInput | Prisma.ConversationOrderByWithRelationInput[]
|
|
197
|
-
/**
|
|
198
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
199
|
-
*
|
|
200
|
-
* Sets the start position
|
|
201
|
-
*/
|
|
202
|
-
cursor?: Prisma.ConversationWhereUniqueInput
|
|
203
|
-
/**
|
|
204
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
205
|
-
*
|
|
206
|
-
* Take `±n` Conversations from the position of the cursor.
|
|
207
|
-
*/
|
|
208
|
-
take?: number
|
|
209
|
-
/**
|
|
210
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
211
|
-
*
|
|
212
|
-
* Skip the first `n` Conversations.
|
|
213
|
-
*/
|
|
214
|
-
skip?: number
|
|
215
|
-
/**
|
|
216
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
217
|
-
*
|
|
218
|
-
* Count returned Conversations
|
|
219
|
-
**/
|
|
220
|
-
_count?: true | ConversationCountAggregateInputType
|
|
221
|
-
/**
|
|
222
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
223
|
-
*
|
|
224
|
-
* Select which fields to average
|
|
225
|
-
**/
|
|
226
|
-
_avg?: ConversationAvgAggregateInputType
|
|
227
|
-
/**
|
|
228
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
229
|
-
*
|
|
230
|
-
* Select which fields to sum
|
|
231
|
-
**/
|
|
232
|
-
_sum?: ConversationSumAggregateInputType
|
|
233
|
-
/**
|
|
234
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
235
|
-
*
|
|
236
|
-
* Select which fields to find the minimum value
|
|
237
|
-
**/
|
|
238
|
-
_min?: ConversationMinAggregateInputType
|
|
239
|
-
/**
|
|
240
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
241
|
-
*
|
|
242
|
-
* Select which fields to find the maximum value
|
|
243
|
-
**/
|
|
244
|
-
_max?: ConversationMaxAggregateInputType
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
export type GetConversationAggregateType<T extends ConversationAggregateArgs> = {
|
|
248
|
-
[P in keyof T & keyof AggregateConversation]: P extends '_count' | 'count'
|
|
249
|
-
? T[P] extends true
|
|
250
|
-
? number
|
|
251
|
-
: Prisma.GetScalarType<T[P], AggregateConversation[P]>
|
|
252
|
-
: Prisma.GetScalarType<T[P], AggregateConversation[P]>
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
export type ConversationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
259
|
-
where?: Prisma.ConversationWhereInput
|
|
260
|
-
orderBy?: Prisma.ConversationOrderByWithAggregationInput | Prisma.ConversationOrderByWithAggregationInput[]
|
|
261
|
-
by: Prisma.ConversationScalarFieldEnum[] | Prisma.ConversationScalarFieldEnum
|
|
262
|
-
having?: Prisma.ConversationScalarWhereWithAggregatesInput
|
|
263
|
-
take?: number
|
|
264
|
-
skip?: number
|
|
265
|
-
_count?: ConversationCountAggregateInputType | true
|
|
266
|
-
_avg?: ConversationAvgAggregateInputType
|
|
267
|
-
_sum?: ConversationSumAggregateInputType
|
|
268
|
-
_min?: ConversationMinAggregateInputType
|
|
269
|
-
_max?: ConversationMaxAggregateInputType
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export type ConversationGroupByOutputType = {
|
|
273
|
-
id: number
|
|
274
|
-
uuid: string | null
|
|
275
|
-
type: $Enums.ConversationType
|
|
276
|
-
event_id: number | null
|
|
277
|
-
admin_user_id: number | null
|
|
278
|
-
vendor_id: number | null
|
|
279
|
-
title: string | null
|
|
280
|
-
status: $Enums.ConversationStatus
|
|
281
|
-
last_message_at: Date | null
|
|
282
|
-
created_at: Date
|
|
283
|
-
created_by: number | null
|
|
284
|
-
updated_at: Date | null
|
|
285
|
-
updated_by: number | null
|
|
286
|
-
is_deleted: boolean
|
|
287
|
-
deleted_at: Date | null
|
|
288
|
-
deleted_by: number | null
|
|
289
|
-
_count: ConversationCountAggregateOutputType | null
|
|
290
|
-
_avg: ConversationAvgAggregateOutputType | null
|
|
291
|
-
_sum: ConversationSumAggregateOutputType | null
|
|
292
|
-
_min: ConversationMinAggregateOutputType | null
|
|
293
|
-
_max: ConversationMaxAggregateOutputType | null
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
export type GetConversationGroupByPayload<T extends ConversationGroupByArgs> = Prisma.PrismaPromise<
|
|
297
|
-
Array<
|
|
298
|
-
Prisma.PickEnumerable<ConversationGroupByOutputType, T['by']> &
|
|
299
|
-
{
|
|
300
|
-
[P in ((keyof T) & (keyof ConversationGroupByOutputType))]: P extends '_count'
|
|
301
|
-
? T[P] extends boolean
|
|
302
|
-
? number
|
|
303
|
-
: Prisma.GetScalarType<T[P], ConversationGroupByOutputType[P]>
|
|
304
|
-
: Prisma.GetScalarType<T[P], ConversationGroupByOutputType[P]>
|
|
305
|
-
}
|
|
306
|
-
>
|
|
307
|
-
>
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
export type ConversationWhereInput = {
|
|
312
|
-
AND?: Prisma.ConversationWhereInput | Prisma.ConversationWhereInput[]
|
|
313
|
-
OR?: Prisma.ConversationWhereInput[]
|
|
314
|
-
NOT?: Prisma.ConversationWhereInput | Prisma.ConversationWhereInput[]
|
|
315
|
-
id?: Prisma.IntFilter<"Conversation"> | number
|
|
316
|
-
uuid?: Prisma.StringNullableFilter<"Conversation"> | string | null
|
|
317
|
-
type?: Prisma.EnumConversationTypeFilter<"Conversation"> | $Enums.ConversationType
|
|
318
|
-
event_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
319
|
-
admin_user_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
320
|
-
vendor_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
321
|
-
title?: Prisma.StringNullableFilter<"Conversation"> | string | null
|
|
322
|
-
status?: Prisma.EnumConversationStatusFilter<"Conversation"> | $Enums.ConversationStatus
|
|
323
|
-
last_message_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
324
|
-
created_at?: Prisma.DateTimeFilter<"Conversation"> | Date | string
|
|
325
|
-
created_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
326
|
-
updated_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
327
|
-
updated_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
328
|
-
is_deleted?: Prisma.BoolFilter<"Conversation"> | boolean
|
|
329
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
330
|
-
deleted_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
331
|
-
event?: Prisma.XOR<Prisma.EventNullableScalarRelationFilter, Prisma.EventWhereInput> | null
|
|
332
|
-
admin_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
333
|
-
messages?: Prisma.MessageListRelationFilter
|
|
334
|
-
conversation_participants?: Prisma.ConversationParticipantListRelationFilter
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export type ConversationOrderByWithRelationInput = {
|
|
338
|
-
id?: Prisma.SortOrder
|
|
339
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
340
|
-
type?: Prisma.SortOrder
|
|
341
|
-
event_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
342
|
-
admin_user_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
343
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
344
|
-
title?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
345
|
-
status?: Prisma.SortOrder
|
|
346
|
-
last_message_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
347
|
-
created_at?: Prisma.SortOrder
|
|
348
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
349
|
-
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
351
|
-
is_deleted?: Prisma.SortOrder
|
|
352
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
353
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
354
|
-
event?: Prisma.EventOrderByWithRelationInput
|
|
355
|
-
admin_user?: Prisma.UserOrderByWithRelationInput
|
|
356
|
-
messages?: Prisma.MessageOrderByRelationAggregateInput
|
|
357
|
-
conversation_participants?: Prisma.ConversationParticipantOrderByRelationAggregateInput
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export type ConversationWhereUniqueInput = Prisma.AtLeast<{
|
|
361
|
-
id?: number
|
|
362
|
-
uuid?: string
|
|
363
|
-
unique_one_on_one_conversation?: Prisma.ConversationUnique_one_on_one_conversationCompoundUniqueInput
|
|
364
|
-
AND?: Prisma.ConversationWhereInput | Prisma.ConversationWhereInput[]
|
|
365
|
-
OR?: Prisma.ConversationWhereInput[]
|
|
366
|
-
NOT?: Prisma.ConversationWhereInput | Prisma.ConversationWhereInput[]
|
|
367
|
-
type?: Prisma.EnumConversationTypeFilter<"Conversation"> | $Enums.ConversationType
|
|
368
|
-
event_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
369
|
-
admin_user_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
370
|
-
vendor_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
371
|
-
title?: Prisma.StringNullableFilter<"Conversation"> | string | null
|
|
372
|
-
status?: Prisma.EnumConversationStatusFilter<"Conversation"> | $Enums.ConversationStatus
|
|
373
|
-
last_message_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
374
|
-
created_at?: Prisma.DateTimeFilter<"Conversation"> | Date | string
|
|
375
|
-
created_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
376
|
-
updated_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
377
|
-
updated_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
378
|
-
is_deleted?: Prisma.BoolFilter<"Conversation"> | boolean
|
|
379
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
380
|
-
deleted_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
381
|
-
event?: Prisma.XOR<Prisma.EventNullableScalarRelationFilter, Prisma.EventWhereInput> | null
|
|
382
|
-
admin_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
383
|
-
messages?: Prisma.MessageListRelationFilter
|
|
384
|
-
conversation_participants?: Prisma.ConversationParticipantListRelationFilter
|
|
385
|
-
}, "id" | "uuid" | "unique_one_on_one_conversation">
|
|
386
|
-
|
|
387
|
-
export type ConversationOrderByWithAggregationInput = {
|
|
388
|
-
id?: Prisma.SortOrder
|
|
389
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
390
|
-
type?: Prisma.SortOrder
|
|
391
|
-
event_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
392
|
-
admin_user_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
393
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
394
|
-
title?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
395
|
-
status?: Prisma.SortOrder
|
|
396
|
-
last_message_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
397
|
-
created_at?: Prisma.SortOrder
|
|
398
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
399
|
-
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
400
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
401
|
-
is_deleted?: Prisma.SortOrder
|
|
402
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
403
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
404
|
-
_count?: Prisma.ConversationCountOrderByAggregateInput
|
|
405
|
-
_avg?: Prisma.ConversationAvgOrderByAggregateInput
|
|
406
|
-
_max?: Prisma.ConversationMaxOrderByAggregateInput
|
|
407
|
-
_min?: Prisma.ConversationMinOrderByAggregateInput
|
|
408
|
-
_sum?: Prisma.ConversationSumOrderByAggregateInput
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
export type ConversationScalarWhereWithAggregatesInput = {
|
|
412
|
-
AND?: Prisma.ConversationScalarWhereWithAggregatesInput | Prisma.ConversationScalarWhereWithAggregatesInput[]
|
|
413
|
-
OR?: Prisma.ConversationScalarWhereWithAggregatesInput[]
|
|
414
|
-
NOT?: Prisma.ConversationScalarWhereWithAggregatesInput | Prisma.ConversationScalarWhereWithAggregatesInput[]
|
|
415
|
-
id?: Prisma.IntWithAggregatesFilter<"Conversation"> | number
|
|
416
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"Conversation"> | string | null
|
|
417
|
-
type?: Prisma.EnumConversationTypeWithAggregatesFilter<"Conversation"> | $Enums.ConversationType
|
|
418
|
-
event_id?: Prisma.IntNullableWithAggregatesFilter<"Conversation"> | number | null
|
|
419
|
-
admin_user_id?: Prisma.IntNullableWithAggregatesFilter<"Conversation"> | number | null
|
|
420
|
-
vendor_id?: Prisma.IntNullableWithAggregatesFilter<"Conversation"> | number | null
|
|
421
|
-
title?: Prisma.StringNullableWithAggregatesFilter<"Conversation"> | string | null
|
|
422
|
-
status?: Prisma.EnumConversationStatusWithAggregatesFilter<"Conversation"> | $Enums.ConversationStatus
|
|
423
|
-
last_message_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Conversation"> | Date | string | null
|
|
424
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"Conversation"> | Date | string
|
|
425
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"Conversation"> | number | null
|
|
426
|
-
updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Conversation"> | Date | string | null
|
|
427
|
-
updated_by?: Prisma.IntNullableWithAggregatesFilter<"Conversation"> | number | null
|
|
428
|
-
is_deleted?: Prisma.BoolWithAggregatesFilter<"Conversation"> | boolean
|
|
429
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Conversation"> | Date | string | null
|
|
430
|
-
deleted_by?: Prisma.IntNullableWithAggregatesFilter<"Conversation"> | number | null
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
export type ConversationCreateInput = {
|
|
434
|
-
uuid?: string | null
|
|
435
|
-
type?: $Enums.ConversationType
|
|
436
|
-
vendor_id?: number | null
|
|
437
|
-
title?: string | null
|
|
438
|
-
status?: $Enums.ConversationStatus
|
|
439
|
-
last_message_at?: Date | string | null
|
|
440
|
-
created_at?: Date | string
|
|
441
|
-
created_by?: number | null
|
|
442
|
-
updated_at?: Date | string | null
|
|
443
|
-
updated_by?: number | null
|
|
444
|
-
is_deleted?: boolean
|
|
445
|
-
deleted_at?: Date | string | null
|
|
446
|
-
deleted_by?: number | null
|
|
447
|
-
event?: Prisma.EventCreateNestedOneWithoutConversationsInput
|
|
448
|
-
admin_user?: Prisma.UserCreateNestedOneWithoutConversations_as_adminInput
|
|
449
|
-
messages?: Prisma.MessageCreateNestedManyWithoutConversationInput
|
|
450
|
-
conversation_participants?: Prisma.ConversationParticipantCreateNestedManyWithoutConversationInput
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
export type ConversationUncheckedCreateInput = {
|
|
454
|
-
id?: number
|
|
455
|
-
uuid?: string | null
|
|
456
|
-
type?: $Enums.ConversationType
|
|
457
|
-
event_id?: number | null
|
|
458
|
-
admin_user_id?: number | null
|
|
459
|
-
vendor_id?: number | null
|
|
460
|
-
title?: string | null
|
|
461
|
-
status?: $Enums.ConversationStatus
|
|
462
|
-
last_message_at?: Date | string | null
|
|
463
|
-
created_at?: Date | string
|
|
464
|
-
created_by?: number | null
|
|
465
|
-
updated_at?: Date | string | null
|
|
466
|
-
updated_by?: number | null
|
|
467
|
-
is_deleted?: boolean
|
|
468
|
-
deleted_at?: Date | string | null
|
|
469
|
-
deleted_by?: number | null
|
|
470
|
-
messages?: Prisma.MessageUncheckedCreateNestedManyWithoutConversationInput
|
|
471
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedCreateNestedManyWithoutConversationInput
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
export type ConversationUpdateInput = {
|
|
475
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
476
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
477
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
478
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
479
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
480
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
481
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
482
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
483
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
484
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
485
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
486
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
487
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
488
|
-
event?: Prisma.EventUpdateOneWithoutConversationsNestedInput
|
|
489
|
-
admin_user?: Prisma.UserUpdateOneWithoutConversations_as_adminNestedInput
|
|
490
|
-
messages?: Prisma.MessageUpdateManyWithoutConversationNestedInput
|
|
491
|
-
conversation_participants?: Prisma.ConversationParticipantUpdateManyWithoutConversationNestedInput
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
export type ConversationUncheckedUpdateInput = {
|
|
495
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
496
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
497
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
498
|
-
event_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
499
|
-
admin_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
500
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
501
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
502
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
503
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
504
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
505
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
506
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
507
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
508
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
509
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
510
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
511
|
-
messages?: Prisma.MessageUncheckedUpdateManyWithoutConversationNestedInput
|
|
512
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedUpdateManyWithoutConversationNestedInput
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
export type ConversationCreateManyInput = {
|
|
516
|
-
id?: number
|
|
517
|
-
uuid?: string | null
|
|
518
|
-
type?: $Enums.ConversationType
|
|
519
|
-
event_id?: number | null
|
|
520
|
-
admin_user_id?: number | null
|
|
521
|
-
vendor_id?: number | null
|
|
522
|
-
title?: string | null
|
|
523
|
-
status?: $Enums.ConversationStatus
|
|
524
|
-
last_message_at?: Date | string | null
|
|
525
|
-
created_at?: Date | string
|
|
526
|
-
created_by?: number | null
|
|
527
|
-
updated_at?: Date | string | null
|
|
528
|
-
updated_by?: number | null
|
|
529
|
-
is_deleted?: boolean
|
|
530
|
-
deleted_at?: Date | string | null
|
|
531
|
-
deleted_by?: number | null
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
export type ConversationUpdateManyMutationInput = {
|
|
535
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
536
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
537
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
538
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
539
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
540
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
541
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
542
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
543
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
544
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
545
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
546
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
547
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
export type ConversationUncheckedUpdateManyInput = {
|
|
551
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
552
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
553
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
554
|
-
event_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
555
|
-
admin_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
556
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
557
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
558
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
559
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
560
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
561
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
562
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
563
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
564
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
565
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
566
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
export type ConversationListRelationFilter = {
|
|
570
|
-
every?: Prisma.ConversationWhereInput
|
|
571
|
-
some?: Prisma.ConversationWhereInput
|
|
572
|
-
none?: Prisma.ConversationWhereInput
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
export type ConversationOrderByRelationAggregateInput = {
|
|
576
|
-
_count?: Prisma.SortOrder
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
export type ConversationUnique_one_on_one_conversationCompoundUniqueInput = {
|
|
580
|
-
admin_user_id: number
|
|
581
|
-
vendor_id: number
|
|
582
|
-
event_id: number
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
export type ConversationCountOrderByAggregateInput = {
|
|
586
|
-
id?: Prisma.SortOrder
|
|
587
|
-
uuid?: Prisma.SortOrder
|
|
588
|
-
type?: Prisma.SortOrder
|
|
589
|
-
event_id?: Prisma.SortOrder
|
|
590
|
-
admin_user_id?: Prisma.SortOrder
|
|
591
|
-
vendor_id?: Prisma.SortOrder
|
|
592
|
-
title?: Prisma.SortOrder
|
|
593
|
-
status?: Prisma.SortOrder
|
|
594
|
-
last_message_at?: Prisma.SortOrder
|
|
595
|
-
created_at?: Prisma.SortOrder
|
|
596
|
-
created_by?: Prisma.SortOrder
|
|
597
|
-
updated_at?: Prisma.SortOrder
|
|
598
|
-
updated_by?: Prisma.SortOrder
|
|
599
|
-
is_deleted?: Prisma.SortOrder
|
|
600
|
-
deleted_at?: Prisma.SortOrder
|
|
601
|
-
deleted_by?: Prisma.SortOrder
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
export type ConversationAvgOrderByAggregateInput = {
|
|
605
|
-
id?: Prisma.SortOrder
|
|
606
|
-
event_id?: Prisma.SortOrder
|
|
607
|
-
admin_user_id?: Prisma.SortOrder
|
|
608
|
-
vendor_id?: Prisma.SortOrder
|
|
609
|
-
created_by?: Prisma.SortOrder
|
|
610
|
-
updated_by?: Prisma.SortOrder
|
|
611
|
-
deleted_by?: Prisma.SortOrder
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
export type ConversationMaxOrderByAggregateInput = {
|
|
615
|
-
id?: Prisma.SortOrder
|
|
616
|
-
uuid?: Prisma.SortOrder
|
|
617
|
-
type?: Prisma.SortOrder
|
|
618
|
-
event_id?: Prisma.SortOrder
|
|
619
|
-
admin_user_id?: Prisma.SortOrder
|
|
620
|
-
vendor_id?: Prisma.SortOrder
|
|
621
|
-
title?: Prisma.SortOrder
|
|
622
|
-
status?: Prisma.SortOrder
|
|
623
|
-
last_message_at?: Prisma.SortOrder
|
|
624
|
-
created_at?: Prisma.SortOrder
|
|
625
|
-
created_by?: Prisma.SortOrder
|
|
626
|
-
updated_at?: Prisma.SortOrder
|
|
627
|
-
updated_by?: Prisma.SortOrder
|
|
628
|
-
is_deleted?: Prisma.SortOrder
|
|
629
|
-
deleted_at?: Prisma.SortOrder
|
|
630
|
-
deleted_by?: Prisma.SortOrder
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
export type ConversationMinOrderByAggregateInput = {
|
|
634
|
-
id?: Prisma.SortOrder
|
|
635
|
-
uuid?: Prisma.SortOrder
|
|
636
|
-
type?: Prisma.SortOrder
|
|
637
|
-
event_id?: Prisma.SortOrder
|
|
638
|
-
admin_user_id?: Prisma.SortOrder
|
|
639
|
-
vendor_id?: Prisma.SortOrder
|
|
640
|
-
title?: Prisma.SortOrder
|
|
641
|
-
status?: Prisma.SortOrder
|
|
642
|
-
last_message_at?: Prisma.SortOrder
|
|
643
|
-
created_at?: Prisma.SortOrder
|
|
644
|
-
created_by?: Prisma.SortOrder
|
|
645
|
-
updated_at?: Prisma.SortOrder
|
|
646
|
-
updated_by?: Prisma.SortOrder
|
|
647
|
-
is_deleted?: Prisma.SortOrder
|
|
648
|
-
deleted_at?: Prisma.SortOrder
|
|
649
|
-
deleted_by?: Prisma.SortOrder
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export type ConversationSumOrderByAggregateInput = {
|
|
653
|
-
id?: Prisma.SortOrder
|
|
654
|
-
event_id?: Prisma.SortOrder
|
|
655
|
-
admin_user_id?: Prisma.SortOrder
|
|
656
|
-
vendor_id?: Prisma.SortOrder
|
|
657
|
-
created_by?: Prisma.SortOrder
|
|
658
|
-
updated_by?: Prisma.SortOrder
|
|
659
|
-
deleted_by?: Prisma.SortOrder
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
export type ConversationScalarRelationFilter = {
|
|
663
|
-
is?: Prisma.ConversationWhereInput
|
|
664
|
-
isNot?: Prisma.ConversationWhereInput
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
export type ConversationCreateNestedManyWithoutAdmin_userInput = {
|
|
668
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutAdmin_userInput, Prisma.ConversationUncheckedCreateWithoutAdmin_userInput> | Prisma.ConversationCreateWithoutAdmin_userInput[] | Prisma.ConversationUncheckedCreateWithoutAdmin_userInput[]
|
|
669
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutAdmin_userInput | Prisma.ConversationCreateOrConnectWithoutAdmin_userInput[]
|
|
670
|
-
createMany?: Prisma.ConversationCreateManyAdmin_userInputEnvelope
|
|
671
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
export type ConversationUncheckedCreateNestedManyWithoutAdmin_userInput = {
|
|
675
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutAdmin_userInput, Prisma.ConversationUncheckedCreateWithoutAdmin_userInput> | Prisma.ConversationCreateWithoutAdmin_userInput[] | Prisma.ConversationUncheckedCreateWithoutAdmin_userInput[]
|
|
676
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutAdmin_userInput | Prisma.ConversationCreateOrConnectWithoutAdmin_userInput[]
|
|
677
|
-
createMany?: Prisma.ConversationCreateManyAdmin_userInputEnvelope
|
|
678
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
export type ConversationUpdateManyWithoutAdmin_userNestedInput = {
|
|
682
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutAdmin_userInput, Prisma.ConversationUncheckedCreateWithoutAdmin_userInput> | Prisma.ConversationCreateWithoutAdmin_userInput[] | Prisma.ConversationUncheckedCreateWithoutAdmin_userInput[]
|
|
683
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutAdmin_userInput | Prisma.ConversationCreateOrConnectWithoutAdmin_userInput[]
|
|
684
|
-
upsert?: Prisma.ConversationUpsertWithWhereUniqueWithoutAdmin_userInput | Prisma.ConversationUpsertWithWhereUniqueWithoutAdmin_userInput[]
|
|
685
|
-
createMany?: Prisma.ConversationCreateManyAdmin_userInputEnvelope
|
|
686
|
-
set?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
687
|
-
disconnect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
688
|
-
delete?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
689
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
690
|
-
update?: Prisma.ConversationUpdateWithWhereUniqueWithoutAdmin_userInput | Prisma.ConversationUpdateWithWhereUniqueWithoutAdmin_userInput[]
|
|
691
|
-
updateMany?: Prisma.ConversationUpdateManyWithWhereWithoutAdmin_userInput | Prisma.ConversationUpdateManyWithWhereWithoutAdmin_userInput[]
|
|
692
|
-
deleteMany?: Prisma.ConversationScalarWhereInput | Prisma.ConversationScalarWhereInput[]
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
export type ConversationUncheckedUpdateManyWithoutAdmin_userNestedInput = {
|
|
696
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutAdmin_userInput, Prisma.ConversationUncheckedCreateWithoutAdmin_userInput> | Prisma.ConversationCreateWithoutAdmin_userInput[] | Prisma.ConversationUncheckedCreateWithoutAdmin_userInput[]
|
|
697
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutAdmin_userInput | Prisma.ConversationCreateOrConnectWithoutAdmin_userInput[]
|
|
698
|
-
upsert?: Prisma.ConversationUpsertWithWhereUniqueWithoutAdmin_userInput | Prisma.ConversationUpsertWithWhereUniqueWithoutAdmin_userInput[]
|
|
699
|
-
createMany?: Prisma.ConversationCreateManyAdmin_userInputEnvelope
|
|
700
|
-
set?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
701
|
-
disconnect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
702
|
-
delete?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
703
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
704
|
-
update?: Prisma.ConversationUpdateWithWhereUniqueWithoutAdmin_userInput | Prisma.ConversationUpdateWithWhereUniqueWithoutAdmin_userInput[]
|
|
705
|
-
updateMany?: Prisma.ConversationUpdateManyWithWhereWithoutAdmin_userInput | Prisma.ConversationUpdateManyWithWhereWithoutAdmin_userInput[]
|
|
706
|
-
deleteMany?: Prisma.ConversationScalarWhereInput | Prisma.ConversationScalarWhereInput[]
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
export type ConversationCreateNestedManyWithoutEventInput = {
|
|
710
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutEventInput, Prisma.ConversationUncheckedCreateWithoutEventInput> | Prisma.ConversationCreateWithoutEventInput[] | Prisma.ConversationUncheckedCreateWithoutEventInput[]
|
|
711
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutEventInput | Prisma.ConversationCreateOrConnectWithoutEventInput[]
|
|
712
|
-
createMany?: Prisma.ConversationCreateManyEventInputEnvelope
|
|
713
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
export type ConversationUncheckedCreateNestedManyWithoutEventInput = {
|
|
717
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutEventInput, Prisma.ConversationUncheckedCreateWithoutEventInput> | Prisma.ConversationCreateWithoutEventInput[] | Prisma.ConversationUncheckedCreateWithoutEventInput[]
|
|
718
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutEventInput | Prisma.ConversationCreateOrConnectWithoutEventInput[]
|
|
719
|
-
createMany?: Prisma.ConversationCreateManyEventInputEnvelope
|
|
720
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
export type ConversationUpdateManyWithoutEventNestedInput = {
|
|
724
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutEventInput, Prisma.ConversationUncheckedCreateWithoutEventInput> | Prisma.ConversationCreateWithoutEventInput[] | Prisma.ConversationUncheckedCreateWithoutEventInput[]
|
|
725
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutEventInput | Prisma.ConversationCreateOrConnectWithoutEventInput[]
|
|
726
|
-
upsert?: Prisma.ConversationUpsertWithWhereUniqueWithoutEventInput | Prisma.ConversationUpsertWithWhereUniqueWithoutEventInput[]
|
|
727
|
-
createMany?: Prisma.ConversationCreateManyEventInputEnvelope
|
|
728
|
-
set?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
729
|
-
disconnect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
730
|
-
delete?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
731
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
732
|
-
update?: Prisma.ConversationUpdateWithWhereUniqueWithoutEventInput | Prisma.ConversationUpdateWithWhereUniqueWithoutEventInput[]
|
|
733
|
-
updateMany?: Prisma.ConversationUpdateManyWithWhereWithoutEventInput | Prisma.ConversationUpdateManyWithWhereWithoutEventInput[]
|
|
734
|
-
deleteMany?: Prisma.ConversationScalarWhereInput | Prisma.ConversationScalarWhereInput[]
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
export type ConversationUncheckedUpdateManyWithoutEventNestedInput = {
|
|
738
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutEventInput, Prisma.ConversationUncheckedCreateWithoutEventInput> | Prisma.ConversationCreateWithoutEventInput[] | Prisma.ConversationUncheckedCreateWithoutEventInput[]
|
|
739
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutEventInput | Prisma.ConversationCreateOrConnectWithoutEventInput[]
|
|
740
|
-
upsert?: Prisma.ConversationUpsertWithWhereUniqueWithoutEventInput | Prisma.ConversationUpsertWithWhereUniqueWithoutEventInput[]
|
|
741
|
-
createMany?: Prisma.ConversationCreateManyEventInputEnvelope
|
|
742
|
-
set?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
743
|
-
disconnect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
744
|
-
delete?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
745
|
-
connect?: Prisma.ConversationWhereUniqueInput | Prisma.ConversationWhereUniqueInput[]
|
|
746
|
-
update?: Prisma.ConversationUpdateWithWhereUniqueWithoutEventInput | Prisma.ConversationUpdateWithWhereUniqueWithoutEventInput[]
|
|
747
|
-
updateMany?: Prisma.ConversationUpdateManyWithWhereWithoutEventInput | Prisma.ConversationUpdateManyWithWhereWithoutEventInput[]
|
|
748
|
-
deleteMany?: Prisma.ConversationScalarWhereInput | Prisma.ConversationScalarWhereInput[]
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
export type EnumConversationTypeFieldUpdateOperationsInput = {
|
|
752
|
-
set?: $Enums.ConversationType
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
export type EnumConversationStatusFieldUpdateOperationsInput = {
|
|
756
|
-
set?: $Enums.ConversationStatus
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
export type ConversationCreateNestedOneWithoutConversation_participantsInput = {
|
|
760
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutConversation_participantsInput, Prisma.ConversationUncheckedCreateWithoutConversation_participantsInput>
|
|
761
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutConversation_participantsInput
|
|
762
|
-
connect?: Prisma.ConversationWhereUniqueInput
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
export type ConversationUpdateOneRequiredWithoutConversation_participantsNestedInput = {
|
|
766
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutConversation_participantsInput, Prisma.ConversationUncheckedCreateWithoutConversation_participantsInput>
|
|
767
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutConversation_participantsInput
|
|
768
|
-
upsert?: Prisma.ConversationUpsertWithoutConversation_participantsInput
|
|
769
|
-
connect?: Prisma.ConversationWhereUniqueInput
|
|
770
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.ConversationUpdateToOneWithWhereWithoutConversation_participantsInput, Prisma.ConversationUpdateWithoutConversation_participantsInput>, Prisma.ConversationUncheckedUpdateWithoutConversation_participantsInput>
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
export type ConversationCreateNestedOneWithoutMessagesInput = {
|
|
774
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutMessagesInput, Prisma.ConversationUncheckedCreateWithoutMessagesInput>
|
|
775
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutMessagesInput
|
|
776
|
-
connect?: Prisma.ConversationWhereUniqueInput
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
export type ConversationUpdateOneRequiredWithoutMessagesNestedInput = {
|
|
780
|
-
create?: Prisma.XOR<Prisma.ConversationCreateWithoutMessagesInput, Prisma.ConversationUncheckedCreateWithoutMessagesInput>
|
|
781
|
-
connectOrCreate?: Prisma.ConversationCreateOrConnectWithoutMessagesInput
|
|
782
|
-
upsert?: Prisma.ConversationUpsertWithoutMessagesInput
|
|
783
|
-
connect?: Prisma.ConversationWhereUniqueInput
|
|
784
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.ConversationUpdateToOneWithWhereWithoutMessagesInput, Prisma.ConversationUpdateWithoutMessagesInput>, Prisma.ConversationUncheckedUpdateWithoutMessagesInput>
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
export type ConversationCreateWithoutAdmin_userInput = {
|
|
788
|
-
uuid?: string | null
|
|
789
|
-
type?: $Enums.ConversationType
|
|
790
|
-
vendor_id?: number | null
|
|
791
|
-
title?: string | null
|
|
792
|
-
status?: $Enums.ConversationStatus
|
|
793
|
-
last_message_at?: Date | string | null
|
|
794
|
-
created_at?: Date | string
|
|
795
|
-
created_by?: number | null
|
|
796
|
-
updated_at?: Date | string | null
|
|
797
|
-
updated_by?: number | null
|
|
798
|
-
is_deleted?: boolean
|
|
799
|
-
deleted_at?: Date | string | null
|
|
800
|
-
deleted_by?: number | null
|
|
801
|
-
event?: Prisma.EventCreateNestedOneWithoutConversationsInput
|
|
802
|
-
messages?: Prisma.MessageCreateNestedManyWithoutConversationInput
|
|
803
|
-
conversation_participants?: Prisma.ConversationParticipantCreateNestedManyWithoutConversationInput
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
export type ConversationUncheckedCreateWithoutAdmin_userInput = {
|
|
807
|
-
id?: number
|
|
808
|
-
uuid?: string | null
|
|
809
|
-
type?: $Enums.ConversationType
|
|
810
|
-
event_id?: number | null
|
|
811
|
-
vendor_id?: number | null
|
|
812
|
-
title?: string | null
|
|
813
|
-
status?: $Enums.ConversationStatus
|
|
814
|
-
last_message_at?: Date | string | null
|
|
815
|
-
created_at?: Date | string
|
|
816
|
-
created_by?: number | null
|
|
817
|
-
updated_at?: Date | string | null
|
|
818
|
-
updated_by?: number | null
|
|
819
|
-
is_deleted?: boolean
|
|
820
|
-
deleted_at?: Date | string | null
|
|
821
|
-
deleted_by?: number | null
|
|
822
|
-
messages?: Prisma.MessageUncheckedCreateNestedManyWithoutConversationInput
|
|
823
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedCreateNestedManyWithoutConversationInput
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
export type ConversationCreateOrConnectWithoutAdmin_userInput = {
|
|
827
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
828
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutAdmin_userInput, Prisma.ConversationUncheckedCreateWithoutAdmin_userInput>
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
export type ConversationCreateManyAdmin_userInputEnvelope = {
|
|
832
|
-
data: Prisma.ConversationCreateManyAdmin_userInput | Prisma.ConversationCreateManyAdmin_userInput[]
|
|
833
|
-
skipDuplicates?: boolean
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
export type ConversationUpsertWithWhereUniqueWithoutAdmin_userInput = {
|
|
837
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
838
|
-
update: Prisma.XOR<Prisma.ConversationUpdateWithoutAdmin_userInput, Prisma.ConversationUncheckedUpdateWithoutAdmin_userInput>
|
|
839
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutAdmin_userInput, Prisma.ConversationUncheckedCreateWithoutAdmin_userInput>
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
export type ConversationUpdateWithWhereUniqueWithoutAdmin_userInput = {
|
|
843
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
844
|
-
data: Prisma.XOR<Prisma.ConversationUpdateWithoutAdmin_userInput, Prisma.ConversationUncheckedUpdateWithoutAdmin_userInput>
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
export type ConversationUpdateManyWithWhereWithoutAdmin_userInput = {
|
|
848
|
-
where: Prisma.ConversationScalarWhereInput
|
|
849
|
-
data: Prisma.XOR<Prisma.ConversationUpdateManyMutationInput, Prisma.ConversationUncheckedUpdateManyWithoutAdmin_userInput>
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
export type ConversationScalarWhereInput = {
|
|
853
|
-
AND?: Prisma.ConversationScalarWhereInput | Prisma.ConversationScalarWhereInput[]
|
|
854
|
-
OR?: Prisma.ConversationScalarWhereInput[]
|
|
855
|
-
NOT?: Prisma.ConversationScalarWhereInput | Prisma.ConversationScalarWhereInput[]
|
|
856
|
-
id?: Prisma.IntFilter<"Conversation"> | number
|
|
857
|
-
uuid?: Prisma.StringNullableFilter<"Conversation"> | string | null
|
|
858
|
-
type?: Prisma.EnumConversationTypeFilter<"Conversation"> | $Enums.ConversationType
|
|
859
|
-
event_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
860
|
-
admin_user_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
861
|
-
vendor_id?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
862
|
-
title?: Prisma.StringNullableFilter<"Conversation"> | string | null
|
|
863
|
-
status?: Prisma.EnumConversationStatusFilter<"Conversation"> | $Enums.ConversationStatus
|
|
864
|
-
last_message_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
865
|
-
created_at?: Prisma.DateTimeFilter<"Conversation"> | Date | string
|
|
866
|
-
created_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
867
|
-
updated_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
868
|
-
updated_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
869
|
-
is_deleted?: Prisma.BoolFilter<"Conversation"> | boolean
|
|
870
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
871
|
-
deleted_by?: Prisma.IntNullableFilter<"Conversation"> | number | null
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
export type ConversationCreateWithoutEventInput = {
|
|
875
|
-
uuid?: string | null
|
|
876
|
-
type?: $Enums.ConversationType
|
|
877
|
-
vendor_id?: number | null
|
|
878
|
-
title?: string | null
|
|
879
|
-
status?: $Enums.ConversationStatus
|
|
880
|
-
last_message_at?: Date | string | null
|
|
881
|
-
created_at?: Date | string
|
|
882
|
-
created_by?: number | null
|
|
883
|
-
updated_at?: Date | string | null
|
|
884
|
-
updated_by?: number | null
|
|
885
|
-
is_deleted?: boolean
|
|
886
|
-
deleted_at?: Date | string | null
|
|
887
|
-
deleted_by?: number | null
|
|
888
|
-
admin_user?: Prisma.UserCreateNestedOneWithoutConversations_as_adminInput
|
|
889
|
-
messages?: Prisma.MessageCreateNestedManyWithoutConversationInput
|
|
890
|
-
conversation_participants?: Prisma.ConversationParticipantCreateNestedManyWithoutConversationInput
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
export type ConversationUncheckedCreateWithoutEventInput = {
|
|
894
|
-
id?: number
|
|
895
|
-
uuid?: string | null
|
|
896
|
-
type?: $Enums.ConversationType
|
|
897
|
-
admin_user_id?: number | null
|
|
898
|
-
vendor_id?: number | null
|
|
899
|
-
title?: string | null
|
|
900
|
-
status?: $Enums.ConversationStatus
|
|
901
|
-
last_message_at?: Date | string | null
|
|
902
|
-
created_at?: Date | string
|
|
903
|
-
created_by?: number | null
|
|
904
|
-
updated_at?: Date | string | null
|
|
905
|
-
updated_by?: number | null
|
|
906
|
-
is_deleted?: boolean
|
|
907
|
-
deleted_at?: Date | string | null
|
|
908
|
-
deleted_by?: number | null
|
|
909
|
-
messages?: Prisma.MessageUncheckedCreateNestedManyWithoutConversationInput
|
|
910
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedCreateNestedManyWithoutConversationInput
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
export type ConversationCreateOrConnectWithoutEventInput = {
|
|
914
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
915
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutEventInput, Prisma.ConversationUncheckedCreateWithoutEventInput>
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
export type ConversationCreateManyEventInputEnvelope = {
|
|
919
|
-
data: Prisma.ConversationCreateManyEventInput | Prisma.ConversationCreateManyEventInput[]
|
|
920
|
-
skipDuplicates?: boolean
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
export type ConversationUpsertWithWhereUniqueWithoutEventInput = {
|
|
924
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
925
|
-
update: Prisma.XOR<Prisma.ConversationUpdateWithoutEventInput, Prisma.ConversationUncheckedUpdateWithoutEventInput>
|
|
926
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutEventInput, Prisma.ConversationUncheckedCreateWithoutEventInput>
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
export type ConversationUpdateWithWhereUniqueWithoutEventInput = {
|
|
930
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
931
|
-
data: Prisma.XOR<Prisma.ConversationUpdateWithoutEventInput, Prisma.ConversationUncheckedUpdateWithoutEventInput>
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
export type ConversationUpdateManyWithWhereWithoutEventInput = {
|
|
935
|
-
where: Prisma.ConversationScalarWhereInput
|
|
936
|
-
data: Prisma.XOR<Prisma.ConversationUpdateManyMutationInput, Prisma.ConversationUncheckedUpdateManyWithoutEventInput>
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
export type ConversationCreateWithoutConversation_participantsInput = {
|
|
940
|
-
uuid?: string | null
|
|
941
|
-
type?: $Enums.ConversationType
|
|
942
|
-
vendor_id?: number | null
|
|
943
|
-
title?: string | null
|
|
944
|
-
status?: $Enums.ConversationStatus
|
|
945
|
-
last_message_at?: Date | string | null
|
|
946
|
-
created_at?: Date | string
|
|
947
|
-
created_by?: number | null
|
|
948
|
-
updated_at?: Date | string | null
|
|
949
|
-
updated_by?: number | null
|
|
950
|
-
is_deleted?: boolean
|
|
951
|
-
deleted_at?: Date | string | null
|
|
952
|
-
deleted_by?: number | null
|
|
953
|
-
event?: Prisma.EventCreateNestedOneWithoutConversationsInput
|
|
954
|
-
admin_user?: Prisma.UserCreateNestedOneWithoutConversations_as_adminInput
|
|
955
|
-
messages?: Prisma.MessageCreateNestedManyWithoutConversationInput
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
export type ConversationUncheckedCreateWithoutConversation_participantsInput = {
|
|
959
|
-
id?: number
|
|
960
|
-
uuid?: string | null
|
|
961
|
-
type?: $Enums.ConversationType
|
|
962
|
-
event_id?: number | null
|
|
963
|
-
admin_user_id?: number | null
|
|
964
|
-
vendor_id?: number | null
|
|
965
|
-
title?: string | null
|
|
966
|
-
status?: $Enums.ConversationStatus
|
|
967
|
-
last_message_at?: Date | string | null
|
|
968
|
-
created_at?: Date | string
|
|
969
|
-
created_by?: number | null
|
|
970
|
-
updated_at?: Date | string | null
|
|
971
|
-
updated_by?: number | null
|
|
972
|
-
is_deleted?: boolean
|
|
973
|
-
deleted_at?: Date | string | null
|
|
974
|
-
deleted_by?: number | null
|
|
975
|
-
messages?: Prisma.MessageUncheckedCreateNestedManyWithoutConversationInput
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
export type ConversationCreateOrConnectWithoutConversation_participantsInput = {
|
|
979
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
980
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutConversation_participantsInput, Prisma.ConversationUncheckedCreateWithoutConversation_participantsInput>
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
export type ConversationUpsertWithoutConversation_participantsInput = {
|
|
984
|
-
update: Prisma.XOR<Prisma.ConversationUpdateWithoutConversation_participantsInput, Prisma.ConversationUncheckedUpdateWithoutConversation_participantsInput>
|
|
985
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutConversation_participantsInput, Prisma.ConversationUncheckedCreateWithoutConversation_participantsInput>
|
|
986
|
-
where?: Prisma.ConversationWhereInput
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
export type ConversationUpdateToOneWithWhereWithoutConversation_participantsInput = {
|
|
990
|
-
where?: Prisma.ConversationWhereInput
|
|
991
|
-
data: Prisma.XOR<Prisma.ConversationUpdateWithoutConversation_participantsInput, Prisma.ConversationUncheckedUpdateWithoutConversation_participantsInput>
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
export type ConversationUpdateWithoutConversation_participantsInput = {
|
|
995
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
996
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
997
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
998
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
999
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1000
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1001
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1002
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1003
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1004
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1005
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1006
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1007
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1008
|
-
event?: Prisma.EventUpdateOneWithoutConversationsNestedInput
|
|
1009
|
-
admin_user?: Prisma.UserUpdateOneWithoutConversations_as_adminNestedInput
|
|
1010
|
-
messages?: Prisma.MessageUpdateManyWithoutConversationNestedInput
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
export type ConversationUncheckedUpdateWithoutConversation_participantsInput = {
|
|
1014
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1015
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1016
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1017
|
-
event_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1018
|
-
admin_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1019
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1020
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1021
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1022
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1023
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1024
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1025
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1026
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1027
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1028
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1029
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1030
|
-
messages?: Prisma.MessageUncheckedUpdateManyWithoutConversationNestedInput
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
export type ConversationCreateWithoutMessagesInput = {
|
|
1034
|
-
uuid?: string | null
|
|
1035
|
-
type?: $Enums.ConversationType
|
|
1036
|
-
vendor_id?: number | null
|
|
1037
|
-
title?: string | null
|
|
1038
|
-
status?: $Enums.ConversationStatus
|
|
1039
|
-
last_message_at?: Date | string | null
|
|
1040
|
-
created_at?: Date | string
|
|
1041
|
-
created_by?: number | null
|
|
1042
|
-
updated_at?: Date | string | null
|
|
1043
|
-
updated_by?: number | null
|
|
1044
|
-
is_deleted?: boolean
|
|
1045
|
-
deleted_at?: Date | string | null
|
|
1046
|
-
deleted_by?: number | null
|
|
1047
|
-
event?: Prisma.EventCreateNestedOneWithoutConversationsInput
|
|
1048
|
-
admin_user?: Prisma.UserCreateNestedOneWithoutConversations_as_adminInput
|
|
1049
|
-
conversation_participants?: Prisma.ConversationParticipantCreateNestedManyWithoutConversationInput
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
export type ConversationUncheckedCreateWithoutMessagesInput = {
|
|
1053
|
-
id?: number
|
|
1054
|
-
uuid?: string | null
|
|
1055
|
-
type?: $Enums.ConversationType
|
|
1056
|
-
event_id?: number | null
|
|
1057
|
-
admin_user_id?: number | null
|
|
1058
|
-
vendor_id?: number | null
|
|
1059
|
-
title?: string | null
|
|
1060
|
-
status?: $Enums.ConversationStatus
|
|
1061
|
-
last_message_at?: Date | string | null
|
|
1062
|
-
created_at?: Date | string
|
|
1063
|
-
created_by?: number | null
|
|
1064
|
-
updated_at?: Date | string | null
|
|
1065
|
-
updated_by?: number | null
|
|
1066
|
-
is_deleted?: boolean
|
|
1067
|
-
deleted_at?: Date | string | null
|
|
1068
|
-
deleted_by?: number | null
|
|
1069
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedCreateNestedManyWithoutConversationInput
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
export type ConversationCreateOrConnectWithoutMessagesInput = {
|
|
1073
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
1074
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutMessagesInput, Prisma.ConversationUncheckedCreateWithoutMessagesInput>
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
export type ConversationUpsertWithoutMessagesInput = {
|
|
1078
|
-
update: Prisma.XOR<Prisma.ConversationUpdateWithoutMessagesInput, Prisma.ConversationUncheckedUpdateWithoutMessagesInput>
|
|
1079
|
-
create: Prisma.XOR<Prisma.ConversationCreateWithoutMessagesInput, Prisma.ConversationUncheckedCreateWithoutMessagesInput>
|
|
1080
|
-
where?: Prisma.ConversationWhereInput
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
export type ConversationUpdateToOneWithWhereWithoutMessagesInput = {
|
|
1084
|
-
where?: Prisma.ConversationWhereInput
|
|
1085
|
-
data: Prisma.XOR<Prisma.ConversationUpdateWithoutMessagesInput, Prisma.ConversationUncheckedUpdateWithoutMessagesInput>
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
export type ConversationUpdateWithoutMessagesInput = {
|
|
1089
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1090
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1091
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1092
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1093
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1094
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1095
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1096
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1097
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1098
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1099
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1100
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1101
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1102
|
-
event?: Prisma.EventUpdateOneWithoutConversationsNestedInput
|
|
1103
|
-
admin_user?: Prisma.UserUpdateOneWithoutConversations_as_adminNestedInput
|
|
1104
|
-
conversation_participants?: Prisma.ConversationParticipantUpdateManyWithoutConversationNestedInput
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
export type ConversationUncheckedUpdateWithoutMessagesInput = {
|
|
1108
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1109
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1110
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1111
|
-
event_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1112
|
-
admin_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1113
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1114
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1115
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1116
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1117
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1118
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1119
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1120
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1121
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1122
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1123
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1124
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedUpdateManyWithoutConversationNestedInput
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
export type ConversationCreateManyAdmin_userInput = {
|
|
1128
|
-
id?: number
|
|
1129
|
-
uuid?: string | null
|
|
1130
|
-
type?: $Enums.ConversationType
|
|
1131
|
-
event_id?: number | null
|
|
1132
|
-
vendor_id?: number | null
|
|
1133
|
-
title?: string | null
|
|
1134
|
-
status?: $Enums.ConversationStatus
|
|
1135
|
-
last_message_at?: Date | string | null
|
|
1136
|
-
created_at?: Date | string
|
|
1137
|
-
created_by?: number | null
|
|
1138
|
-
updated_at?: Date | string | null
|
|
1139
|
-
updated_by?: number | null
|
|
1140
|
-
is_deleted?: boolean
|
|
1141
|
-
deleted_at?: Date | string | null
|
|
1142
|
-
deleted_by?: number | null
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
export type ConversationUpdateWithoutAdmin_userInput = {
|
|
1146
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1147
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1148
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1149
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1150
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1151
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1152
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1153
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1154
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1155
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1156
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1157
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1158
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1159
|
-
event?: Prisma.EventUpdateOneWithoutConversationsNestedInput
|
|
1160
|
-
messages?: Prisma.MessageUpdateManyWithoutConversationNestedInput
|
|
1161
|
-
conversation_participants?: Prisma.ConversationParticipantUpdateManyWithoutConversationNestedInput
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
export type ConversationUncheckedUpdateWithoutAdmin_userInput = {
|
|
1165
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1166
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1167
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1168
|
-
event_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1169
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1170
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1171
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1172
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1173
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1174
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1175
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1176
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1177
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1178
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1179
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1180
|
-
messages?: Prisma.MessageUncheckedUpdateManyWithoutConversationNestedInput
|
|
1181
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedUpdateManyWithoutConversationNestedInput
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
export type ConversationUncheckedUpdateManyWithoutAdmin_userInput = {
|
|
1185
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1186
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1187
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1188
|
-
event_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1189
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1190
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1191
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1192
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1193
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1194
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1195
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1196
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1197
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1198
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1199
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
export type ConversationCreateManyEventInput = {
|
|
1203
|
-
id?: number
|
|
1204
|
-
uuid?: string | null
|
|
1205
|
-
type?: $Enums.ConversationType
|
|
1206
|
-
admin_user_id?: number | null
|
|
1207
|
-
vendor_id?: number | null
|
|
1208
|
-
title?: string | null
|
|
1209
|
-
status?: $Enums.ConversationStatus
|
|
1210
|
-
last_message_at?: Date | string | null
|
|
1211
|
-
created_at?: Date | string
|
|
1212
|
-
created_by?: number | null
|
|
1213
|
-
updated_at?: Date | string | null
|
|
1214
|
-
updated_by?: number | null
|
|
1215
|
-
is_deleted?: boolean
|
|
1216
|
-
deleted_at?: Date | string | null
|
|
1217
|
-
deleted_by?: number | null
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
export type ConversationUpdateWithoutEventInput = {
|
|
1221
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1222
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1223
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1224
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1225
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1226
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1227
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1228
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1229
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1230
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1231
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1232
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1233
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1234
|
-
admin_user?: Prisma.UserUpdateOneWithoutConversations_as_adminNestedInput
|
|
1235
|
-
messages?: Prisma.MessageUpdateManyWithoutConversationNestedInput
|
|
1236
|
-
conversation_participants?: Prisma.ConversationParticipantUpdateManyWithoutConversationNestedInput
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
export type ConversationUncheckedUpdateWithoutEventInput = {
|
|
1240
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1241
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1242
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1243
|
-
admin_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1244
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1245
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1246
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1247
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1248
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1249
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1250
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1251
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1252
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1253
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1254
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1255
|
-
messages?: Prisma.MessageUncheckedUpdateManyWithoutConversationNestedInput
|
|
1256
|
-
conversation_participants?: Prisma.ConversationParticipantUncheckedUpdateManyWithoutConversationNestedInput
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
export type ConversationUncheckedUpdateManyWithoutEventInput = {
|
|
1260
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1261
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1262
|
-
type?: Prisma.EnumConversationTypeFieldUpdateOperationsInput | $Enums.ConversationType
|
|
1263
|
-
admin_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1264
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1265
|
-
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1266
|
-
status?: Prisma.EnumConversationStatusFieldUpdateOperationsInput | $Enums.ConversationStatus
|
|
1267
|
-
last_message_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1268
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1269
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1270
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1271
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1272
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1273
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1274
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
/**
|
|
1279
|
-
* Count Type ConversationCountOutputType
|
|
1280
|
-
*/
|
|
1281
|
-
|
|
1282
|
-
export type ConversationCountOutputType = {
|
|
1283
|
-
messages: number
|
|
1284
|
-
conversation_participants: number
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
export type ConversationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1288
|
-
messages?: boolean | ConversationCountOutputTypeCountMessagesArgs
|
|
1289
|
-
conversation_participants?: boolean | ConversationCountOutputTypeCountConversation_participantsArgs
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
/**
|
|
1293
|
-
* ConversationCountOutputType without action
|
|
1294
|
-
*/
|
|
1295
|
-
export type ConversationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1296
|
-
/**
|
|
1297
|
-
* Select specific fields to fetch from the ConversationCountOutputType
|
|
1298
|
-
*/
|
|
1299
|
-
select?: Prisma.ConversationCountOutputTypeSelect<ExtArgs> | null
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* ConversationCountOutputType without action
|
|
1304
|
-
*/
|
|
1305
|
-
export type ConversationCountOutputTypeCountMessagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1306
|
-
where?: Prisma.MessageWhereInput
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
/**
|
|
1310
|
-
* ConversationCountOutputType without action
|
|
1311
|
-
*/
|
|
1312
|
-
export type ConversationCountOutputTypeCountConversation_participantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1313
|
-
where?: Prisma.ConversationParticipantWhereInput
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
export type ConversationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1318
|
-
id?: boolean
|
|
1319
|
-
uuid?: boolean
|
|
1320
|
-
type?: boolean
|
|
1321
|
-
event_id?: boolean
|
|
1322
|
-
admin_user_id?: boolean
|
|
1323
|
-
vendor_id?: boolean
|
|
1324
|
-
title?: boolean
|
|
1325
|
-
status?: boolean
|
|
1326
|
-
last_message_at?: boolean
|
|
1327
|
-
created_at?: boolean
|
|
1328
|
-
created_by?: boolean
|
|
1329
|
-
updated_at?: boolean
|
|
1330
|
-
updated_by?: boolean
|
|
1331
|
-
is_deleted?: boolean
|
|
1332
|
-
deleted_at?: boolean
|
|
1333
|
-
deleted_by?: boolean
|
|
1334
|
-
event?: boolean | Prisma.Conversation$eventArgs<ExtArgs>
|
|
1335
|
-
admin_user?: boolean | Prisma.Conversation$admin_userArgs<ExtArgs>
|
|
1336
|
-
messages?: boolean | Prisma.Conversation$messagesArgs<ExtArgs>
|
|
1337
|
-
conversation_participants?: boolean | Prisma.Conversation$conversation_participantsArgs<ExtArgs>
|
|
1338
|
-
_count?: boolean | Prisma.ConversationCountOutputTypeDefaultArgs<ExtArgs>
|
|
1339
|
-
}, ExtArgs["result"]["conversation"]>
|
|
1340
|
-
|
|
1341
|
-
export type ConversationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1342
|
-
id?: boolean
|
|
1343
|
-
uuid?: boolean
|
|
1344
|
-
type?: boolean
|
|
1345
|
-
event_id?: boolean
|
|
1346
|
-
admin_user_id?: boolean
|
|
1347
|
-
vendor_id?: boolean
|
|
1348
|
-
title?: boolean
|
|
1349
|
-
status?: boolean
|
|
1350
|
-
last_message_at?: boolean
|
|
1351
|
-
created_at?: boolean
|
|
1352
|
-
created_by?: boolean
|
|
1353
|
-
updated_at?: boolean
|
|
1354
|
-
updated_by?: boolean
|
|
1355
|
-
is_deleted?: boolean
|
|
1356
|
-
deleted_at?: boolean
|
|
1357
|
-
deleted_by?: boolean
|
|
1358
|
-
event?: boolean | Prisma.Conversation$eventArgs<ExtArgs>
|
|
1359
|
-
admin_user?: boolean | Prisma.Conversation$admin_userArgs<ExtArgs>
|
|
1360
|
-
}, ExtArgs["result"]["conversation"]>
|
|
1361
|
-
|
|
1362
|
-
export type ConversationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1363
|
-
id?: boolean
|
|
1364
|
-
uuid?: boolean
|
|
1365
|
-
type?: boolean
|
|
1366
|
-
event_id?: boolean
|
|
1367
|
-
admin_user_id?: boolean
|
|
1368
|
-
vendor_id?: boolean
|
|
1369
|
-
title?: boolean
|
|
1370
|
-
status?: boolean
|
|
1371
|
-
last_message_at?: boolean
|
|
1372
|
-
created_at?: boolean
|
|
1373
|
-
created_by?: boolean
|
|
1374
|
-
updated_at?: boolean
|
|
1375
|
-
updated_by?: boolean
|
|
1376
|
-
is_deleted?: boolean
|
|
1377
|
-
deleted_at?: boolean
|
|
1378
|
-
deleted_by?: boolean
|
|
1379
|
-
event?: boolean | Prisma.Conversation$eventArgs<ExtArgs>
|
|
1380
|
-
admin_user?: boolean | Prisma.Conversation$admin_userArgs<ExtArgs>
|
|
1381
|
-
}, ExtArgs["result"]["conversation"]>
|
|
1382
|
-
|
|
1383
|
-
export type ConversationSelectScalar = {
|
|
1384
|
-
id?: boolean
|
|
1385
|
-
uuid?: boolean
|
|
1386
|
-
type?: boolean
|
|
1387
|
-
event_id?: boolean
|
|
1388
|
-
admin_user_id?: boolean
|
|
1389
|
-
vendor_id?: boolean
|
|
1390
|
-
title?: boolean
|
|
1391
|
-
status?: boolean
|
|
1392
|
-
last_message_at?: boolean
|
|
1393
|
-
created_at?: boolean
|
|
1394
|
-
created_by?: boolean
|
|
1395
|
-
updated_at?: boolean
|
|
1396
|
-
updated_by?: boolean
|
|
1397
|
-
is_deleted?: boolean
|
|
1398
|
-
deleted_at?: boolean
|
|
1399
|
-
deleted_by?: boolean
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
export type ConversationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "type" | "event_id" | "admin_user_id" | "vendor_id" | "title" | "status" | "last_message_at" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_at" | "deleted_by", ExtArgs["result"]["conversation"]>
|
|
1403
|
-
export type ConversationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1404
|
-
event?: boolean | Prisma.Conversation$eventArgs<ExtArgs>
|
|
1405
|
-
admin_user?: boolean | Prisma.Conversation$admin_userArgs<ExtArgs>
|
|
1406
|
-
messages?: boolean | Prisma.Conversation$messagesArgs<ExtArgs>
|
|
1407
|
-
conversation_participants?: boolean | Prisma.Conversation$conversation_participantsArgs<ExtArgs>
|
|
1408
|
-
_count?: boolean | Prisma.ConversationCountOutputTypeDefaultArgs<ExtArgs>
|
|
1409
|
-
}
|
|
1410
|
-
export type ConversationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1411
|
-
event?: boolean | Prisma.Conversation$eventArgs<ExtArgs>
|
|
1412
|
-
admin_user?: boolean | Prisma.Conversation$admin_userArgs<ExtArgs>
|
|
1413
|
-
}
|
|
1414
|
-
export type ConversationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1415
|
-
event?: boolean | Prisma.Conversation$eventArgs<ExtArgs>
|
|
1416
|
-
admin_user?: boolean | Prisma.Conversation$admin_userArgs<ExtArgs>
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
export type $ConversationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1420
|
-
name: "Conversation"
|
|
1421
|
-
objects: {
|
|
1422
|
-
event: Prisma.$EventPayload<ExtArgs> | null
|
|
1423
|
-
admin_user: Prisma.$UserPayload<ExtArgs> | null
|
|
1424
|
-
messages: Prisma.$MessagePayload<ExtArgs>[]
|
|
1425
|
-
conversation_participants: Prisma.$ConversationParticipantPayload<ExtArgs>[]
|
|
1426
|
-
}
|
|
1427
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1428
|
-
id: number
|
|
1429
|
-
uuid: string | null
|
|
1430
|
-
type: $Enums.ConversationType
|
|
1431
|
-
event_id: number | null
|
|
1432
|
-
admin_user_id: number | null
|
|
1433
|
-
vendor_id: number | null
|
|
1434
|
-
title: string | null
|
|
1435
|
-
status: $Enums.ConversationStatus
|
|
1436
|
-
last_message_at: Date | null
|
|
1437
|
-
created_at: Date
|
|
1438
|
-
created_by: number | null
|
|
1439
|
-
updated_at: Date | null
|
|
1440
|
-
updated_by: number | null
|
|
1441
|
-
is_deleted: boolean
|
|
1442
|
-
deleted_at: Date | null
|
|
1443
|
-
deleted_by: number | null
|
|
1444
|
-
}, ExtArgs["result"]["conversation"]>
|
|
1445
|
-
composites: {}
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
|
-
export type ConversationGetPayload<S extends boolean | null | undefined | ConversationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ConversationPayload, S>
|
|
1449
|
-
|
|
1450
|
-
export type ConversationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1451
|
-
Omit<ConversationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1452
|
-
select?: ConversationCountAggregateInputType | true
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
export interface ConversationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1456
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Conversation'], meta: { name: 'Conversation' } }
|
|
1457
|
-
/**
|
|
1458
|
-
* Find zero or one Conversation that matches the filter.
|
|
1459
|
-
* @param {ConversationFindUniqueArgs} args - Arguments to find a Conversation
|
|
1460
|
-
* @example
|
|
1461
|
-
* // Get one Conversation
|
|
1462
|
-
* const conversation = await prisma.conversation.findUnique({
|
|
1463
|
-
* where: {
|
|
1464
|
-
* // ... provide filter here
|
|
1465
|
-
* }
|
|
1466
|
-
* })
|
|
1467
|
-
*/
|
|
1468
|
-
findUnique<T extends ConversationFindUniqueArgs>(args: Prisma.SelectSubset<T, ConversationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1469
|
-
|
|
1470
|
-
/**
|
|
1471
|
-
* Find one Conversation that matches the filter or throw an error with `error.code='P2025'`
|
|
1472
|
-
* if no matches were found.
|
|
1473
|
-
* @param {ConversationFindUniqueOrThrowArgs} args - Arguments to find a Conversation
|
|
1474
|
-
* @example
|
|
1475
|
-
* // Get one Conversation
|
|
1476
|
-
* const conversation = await prisma.conversation.findUniqueOrThrow({
|
|
1477
|
-
* where: {
|
|
1478
|
-
* // ... provide filter here
|
|
1479
|
-
* }
|
|
1480
|
-
* })
|
|
1481
|
-
*/
|
|
1482
|
-
findUniqueOrThrow<T extends ConversationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ConversationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* Find the first Conversation that matches the filter.
|
|
1486
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1487
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1488
|
-
* @param {ConversationFindFirstArgs} args - Arguments to find a Conversation
|
|
1489
|
-
* @example
|
|
1490
|
-
* // Get one Conversation
|
|
1491
|
-
* const conversation = await prisma.conversation.findFirst({
|
|
1492
|
-
* where: {
|
|
1493
|
-
* // ... provide filter here
|
|
1494
|
-
* }
|
|
1495
|
-
* })
|
|
1496
|
-
*/
|
|
1497
|
-
findFirst<T extends ConversationFindFirstArgs>(args?: Prisma.SelectSubset<T, ConversationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1498
|
-
|
|
1499
|
-
/**
|
|
1500
|
-
* Find the first Conversation that matches the filter or
|
|
1501
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1502
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1503
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1504
|
-
* @param {ConversationFindFirstOrThrowArgs} args - Arguments to find a Conversation
|
|
1505
|
-
* @example
|
|
1506
|
-
* // Get one Conversation
|
|
1507
|
-
* const conversation = await prisma.conversation.findFirstOrThrow({
|
|
1508
|
-
* where: {
|
|
1509
|
-
* // ... provide filter here
|
|
1510
|
-
* }
|
|
1511
|
-
* })
|
|
1512
|
-
*/
|
|
1513
|
-
findFirstOrThrow<T extends ConversationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ConversationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
* Find zero or more Conversations that matches the filter.
|
|
1517
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1518
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1519
|
-
* @param {ConversationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1520
|
-
* @example
|
|
1521
|
-
* // Get all Conversations
|
|
1522
|
-
* const conversations = await prisma.conversation.findMany()
|
|
1523
|
-
*
|
|
1524
|
-
* // Get first 10 Conversations
|
|
1525
|
-
* const conversations = await prisma.conversation.findMany({ take: 10 })
|
|
1526
|
-
*
|
|
1527
|
-
* // Only select the `id`
|
|
1528
|
-
* const conversationWithIdOnly = await prisma.conversation.findMany({ select: { id: true } })
|
|
1529
|
-
*
|
|
1530
|
-
*/
|
|
1531
|
-
findMany<T extends ConversationFindManyArgs>(args?: Prisma.SelectSubset<T, ConversationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* Create a Conversation.
|
|
1535
|
-
* @param {ConversationCreateArgs} args - Arguments to create a Conversation.
|
|
1536
|
-
* @example
|
|
1537
|
-
* // Create one Conversation
|
|
1538
|
-
* const Conversation = await prisma.conversation.create({
|
|
1539
|
-
* data: {
|
|
1540
|
-
* // ... data to create a Conversation
|
|
1541
|
-
* }
|
|
1542
|
-
* })
|
|
1543
|
-
*
|
|
1544
|
-
*/
|
|
1545
|
-
create<T extends ConversationCreateArgs>(args: Prisma.SelectSubset<T, ConversationCreateArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1546
|
-
|
|
1547
|
-
/**
|
|
1548
|
-
* Create many Conversations.
|
|
1549
|
-
* @param {ConversationCreateManyArgs} args - Arguments to create many Conversations.
|
|
1550
|
-
* @example
|
|
1551
|
-
* // Create many Conversations
|
|
1552
|
-
* const conversation = await prisma.conversation.createMany({
|
|
1553
|
-
* data: [
|
|
1554
|
-
* // ... provide data here
|
|
1555
|
-
* ]
|
|
1556
|
-
* })
|
|
1557
|
-
*
|
|
1558
|
-
*/
|
|
1559
|
-
createMany<T extends ConversationCreateManyArgs>(args?: Prisma.SelectSubset<T, ConversationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1560
|
-
|
|
1561
|
-
/**
|
|
1562
|
-
* Create many Conversations and returns the data saved in the database.
|
|
1563
|
-
* @param {ConversationCreateManyAndReturnArgs} args - Arguments to create many Conversations.
|
|
1564
|
-
* @example
|
|
1565
|
-
* // Create many Conversations
|
|
1566
|
-
* const conversation = await prisma.conversation.createManyAndReturn({
|
|
1567
|
-
* data: [
|
|
1568
|
-
* // ... provide data here
|
|
1569
|
-
* ]
|
|
1570
|
-
* })
|
|
1571
|
-
*
|
|
1572
|
-
* // Create many Conversations and only return the `id`
|
|
1573
|
-
* const conversationWithIdOnly = await prisma.conversation.createManyAndReturn({
|
|
1574
|
-
* select: { id: true },
|
|
1575
|
-
* data: [
|
|
1576
|
-
* // ... provide data here
|
|
1577
|
-
* ]
|
|
1578
|
-
* })
|
|
1579
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1580
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1581
|
-
*
|
|
1582
|
-
*/
|
|
1583
|
-
createManyAndReturn<T extends ConversationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ConversationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1584
|
-
|
|
1585
|
-
/**
|
|
1586
|
-
* Delete a Conversation.
|
|
1587
|
-
* @param {ConversationDeleteArgs} args - Arguments to delete one Conversation.
|
|
1588
|
-
* @example
|
|
1589
|
-
* // Delete one Conversation
|
|
1590
|
-
* const Conversation = await prisma.conversation.delete({
|
|
1591
|
-
* where: {
|
|
1592
|
-
* // ... filter to delete one Conversation
|
|
1593
|
-
* }
|
|
1594
|
-
* })
|
|
1595
|
-
*
|
|
1596
|
-
*/
|
|
1597
|
-
delete<T extends ConversationDeleteArgs>(args: Prisma.SelectSubset<T, ConversationDeleteArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1598
|
-
|
|
1599
|
-
/**
|
|
1600
|
-
* Update one Conversation.
|
|
1601
|
-
* @param {ConversationUpdateArgs} args - Arguments to update one Conversation.
|
|
1602
|
-
* @example
|
|
1603
|
-
* // Update one Conversation
|
|
1604
|
-
* const conversation = await prisma.conversation.update({
|
|
1605
|
-
* where: {
|
|
1606
|
-
* // ... provide filter here
|
|
1607
|
-
* },
|
|
1608
|
-
* data: {
|
|
1609
|
-
* // ... provide data here
|
|
1610
|
-
* }
|
|
1611
|
-
* })
|
|
1612
|
-
*
|
|
1613
|
-
*/
|
|
1614
|
-
update<T extends ConversationUpdateArgs>(args: Prisma.SelectSubset<T, ConversationUpdateArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1615
|
-
|
|
1616
|
-
/**
|
|
1617
|
-
* Delete zero or more Conversations.
|
|
1618
|
-
* @param {ConversationDeleteManyArgs} args - Arguments to filter Conversations to delete.
|
|
1619
|
-
* @example
|
|
1620
|
-
* // Delete a few Conversations
|
|
1621
|
-
* const { count } = await prisma.conversation.deleteMany({
|
|
1622
|
-
* where: {
|
|
1623
|
-
* // ... provide filter here
|
|
1624
|
-
* }
|
|
1625
|
-
* })
|
|
1626
|
-
*
|
|
1627
|
-
*/
|
|
1628
|
-
deleteMany<T extends ConversationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ConversationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1629
|
-
|
|
1630
|
-
/**
|
|
1631
|
-
* Update zero or more Conversations.
|
|
1632
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1633
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1634
|
-
* @param {ConversationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1635
|
-
* @example
|
|
1636
|
-
* // Update many Conversations
|
|
1637
|
-
* const conversation = await prisma.conversation.updateMany({
|
|
1638
|
-
* where: {
|
|
1639
|
-
* // ... provide filter here
|
|
1640
|
-
* },
|
|
1641
|
-
* data: {
|
|
1642
|
-
* // ... provide data here
|
|
1643
|
-
* }
|
|
1644
|
-
* })
|
|
1645
|
-
*
|
|
1646
|
-
*/
|
|
1647
|
-
updateMany<T extends ConversationUpdateManyArgs>(args: Prisma.SelectSubset<T, ConversationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1648
|
-
|
|
1649
|
-
/**
|
|
1650
|
-
* Update zero or more Conversations and returns the data updated in the database.
|
|
1651
|
-
* @param {ConversationUpdateManyAndReturnArgs} args - Arguments to update many Conversations.
|
|
1652
|
-
* @example
|
|
1653
|
-
* // Update many Conversations
|
|
1654
|
-
* const conversation = await prisma.conversation.updateManyAndReturn({
|
|
1655
|
-
* where: {
|
|
1656
|
-
* // ... provide filter here
|
|
1657
|
-
* },
|
|
1658
|
-
* data: [
|
|
1659
|
-
* // ... provide data here
|
|
1660
|
-
* ]
|
|
1661
|
-
* })
|
|
1662
|
-
*
|
|
1663
|
-
* // Update zero or more Conversations and only return the `id`
|
|
1664
|
-
* const conversationWithIdOnly = await prisma.conversation.updateManyAndReturn({
|
|
1665
|
-
* select: { id: true },
|
|
1666
|
-
* where: {
|
|
1667
|
-
* // ... provide filter here
|
|
1668
|
-
* },
|
|
1669
|
-
* data: [
|
|
1670
|
-
* // ... provide data here
|
|
1671
|
-
* ]
|
|
1672
|
-
* })
|
|
1673
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1674
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1675
|
-
*
|
|
1676
|
-
*/
|
|
1677
|
-
updateManyAndReturn<T extends ConversationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ConversationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
* Create or update one Conversation.
|
|
1681
|
-
* @param {ConversationUpsertArgs} args - Arguments to update or create a Conversation.
|
|
1682
|
-
* @example
|
|
1683
|
-
* // Update or create a Conversation
|
|
1684
|
-
* const conversation = await prisma.conversation.upsert({
|
|
1685
|
-
* create: {
|
|
1686
|
-
* // ... data to create a Conversation
|
|
1687
|
-
* },
|
|
1688
|
-
* update: {
|
|
1689
|
-
* // ... in case it already exists, update
|
|
1690
|
-
* },
|
|
1691
|
-
* where: {
|
|
1692
|
-
* // ... the filter for the Conversation we want to update
|
|
1693
|
-
* }
|
|
1694
|
-
* })
|
|
1695
|
-
*/
|
|
1696
|
-
upsert<T extends ConversationUpsertArgs>(args: Prisma.SelectSubset<T, ConversationUpsertArgs<ExtArgs>>): Prisma.Prisma__ConversationClient<runtime.Types.Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
/**
|
|
1700
|
-
* Count the number of Conversations.
|
|
1701
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1702
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1703
|
-
* @param {ConversationCountArgs} args - Arguments to filter Conversations to count.
|
|
1704
|
-
* @example
|
|
1705
|
-
* // Count the number of Conversations
|
|
1706
|
-
* const count = await prisma.conversation.count({
|
|
1707
|
-
* where: {
|
|
1708
|
-
* // ... the filter for the Conversations we want to count
|
|
1709
|
-
* }
|
|
1710
|
-
* })
|
|
1711
|
-
**/
|
|
1712
|
-
count<T extends ConversationCountArgs>(
|
|
1713
|
-
args?: Prisma.Subset<T, ConversationCountArgs>,
|
|
1714
|
-
): Prisma.PrismaPromise<
|
|
1715
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1716
|
-
? T['select'] extends true
|
|
1717
|
-
? number
|
|
1718
|
-
: Prisma.GetScalarType<T['select'], ConversationCountAggregateOutputType>
|
|
1719
|
-
: number
|
|
1720
|
-
>
|
|
1721
|
-
|
|
1722
|
-
/**
|
|
1723
|
-
* Allows you to perform aggregations operations on a Conversation.
|
|
1724
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1725
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1726
|
-
* @param {ConversationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1727
|
-
* @example
|
|
1728
|
-
* // Ordered by age ascending
|
|
1729
|
-
* // Where email contains prisma.io
|
|
1730
|
-
* // Limited to the 10 users
|
|
1731
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1732
|
-
* _avg: {
|
|
1733
|
-
* age: true,
|
|
1734
|
-
* },
|
|
1735
|
-
* where: {
|
|
1736
|
-
* email: {
|
|
1737
|
-
* contains: "prisma.io",
|
|
1738
|
-
* },
|
|
1739
|
-
* },
|
|
1740
|
-
* orderBy: {
|
|
1741
|
-
* age: "asc",
|
|
1742
|
-
* },
|
|
1743
|
-
* take: 10,
|
|
1744
|
-
* })
|
|
1745
|
-
**/
|
|
1746
|
-
aggregate<T extends ConversationAggregateArgs>(args: Prisma.Subset<T, ConversationAggregateArgs>): Prisma.PrismaPromise<GetConversationAggregateType<T>>
|
|
1747
|
-
|
|
1748
|
-
/**
|
|
1749
|
-
* Group by Conversation.
|
|
1750
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1751
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1752
|
-
* @param {ConversationGroupByArgs} args - Group by arguments.
|
|
1753
|
-
* @example
|
|
1754
|
-
* // Group by city, order by createdAt, get count
|
|
1755
|
-
* const result = await prisma.user.groupBy({
|
|
1756
|
-
* by: ['city', 'createdAt'],
|
|
1757
|
-
* orderBy: {
|
|
1758
|
-
* createdAt: true
|
|
1759
|
-
* },
|
|
1760
|
-
* _count: {
|
|
1761
|
-
* _all: true
|
|
1762
|
-
* },
|
|
1763
|
-
* })
|
|
1764
|
-
*
|
|
1765
|
-
**/
|
|
1766
|
-
groupBy<
|
|
1767
|
-
T extends ConversationGroupByArgs,
|
|
1768
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1769
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1770
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1771
|
-
>,
|
|
1772
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1773
|
-
? { orderBy: ConversationGroupByArgs['orderBy'] }
|
|
1774
|
-
: { orderBy?: ConversationGroupByArgs['orderBy'] },
|
|
1775
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1776
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1777
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1778
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1779
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1780
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1781
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1782
|
-
? `Error: "by" must not be empty.`
|
|
1783
|
-
: HavingValid extends Prisma.False
|
|
1784
|
-
? {
|
|
1785
|
-
[P in HavingFields]: P extends ByFields
|
|
1786
|
-
? never
|
|
1787
|
-
: P extends string
|
|
1788
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1789
|
-
: [
|
|
1790
|
-
Error,
|
|
1791
|
-
'Field ',
|
|
1792
|
-
P,
|
|
1793
|
-
` in "having" needs to be provided in "by"`,
|
|
1794
|
-
]
|
|
1795
|
-
}[HavingFields]
|
|
1796
|
-
: 'take' extends Prisma.Keys<T>
|
|
1797
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1798
|
-
? ByValid extends Prisma.True
|
|
1799
|
-
? {}
|
|
1800
|
-
: {
|
|
1801
|
-
[P in OrderFields]: P extends ByFields
|
|
1802
|
-
? never
|
|
1803
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1804
|
-
}[OrderFields]
|
|
1805
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1806
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1807
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1808
|
-
? ByValid extends Prisma.True
|
|
1809
|
-
? {}
|
|
1810
|
-
: {
|
|
1811
|
-
[P in OrderFields]: P extends ByFields
|
|
1812
|
-
? never
|
|
1813
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1814
|
-
}[OrderFields]
|
|
1815
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1816
|
-
: ByValid extends Prisma.True
|
|
1817
|
-
? {}
|
|
1818
|
-
: {
|
|
1819
|
-
[P in OrderFields]: P extends ByFields
|
|
1820
|
-
? never
|
|
1821
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1822
|
-
}[OrderFields]
|
|
1823
|
-
>(args: Prisma.SubsetIntersection<T, ConversationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConversationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1824
|
-
/**
|
|
1825
|
-
* Fields of the Conversation model
|
|
1826
|
-
*/
|
|
1827
|
-
readonly fields: ConversationFieldRefs;
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
/**
|
|
1831
|
-
* The delegate class that acts as a "Promise-like" for Conversation.
|
|
1832
|
-
* Why is this prefixed with `Prisma__`?
|
|
1833
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1834
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1835
|
-
*/
|
|
1836
|
-
export interface Prisma__ConversationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1837
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1838
|
-
event<T extends Prisma.Conversation$eventArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Conversation$eventArgs<ExtArgs>>): Prisma.Prisma__EventClient<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1839
|
-
admin_user<T extends Prisma.Conversation$admin_userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Conversation$admin_userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1840
|
-
messages<T extends Prisma.Conversation$messagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Conversation$messagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1841
|
-
conversation_participants<T extends Prisma.Conversation$conversation_participantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Conversation$conversation_participantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConversationParticipantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1842
|
-
/**
|
|
1843
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1844
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1845
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1846
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1847
|
-
*/
|
|
1848
|
-
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>
|
|
1849
|
-
/**
|
|
1850
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1851
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1852
|
-
* @returns A Promise for the completion of the callback.
|
|
1853
|
-
*/
|
|
1854
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1855
|
-
/**
|
|
1856
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1857
|
-
* resolved value cannot be modified from the callback.
|
|
1858
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1859
|
-
* @returns A Promise for the completion of the callback.
|
|
1860
|
-
*/
|
|
1861
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
/**
|
|
1868
|
-
* Fields of the Conversation model
|
|
1869
|
-
*/
|
|
1870
|
-
export interface ConversationFieldRefs {
|
|
1871
|
-
readonly id: Prisma.FieldRef<"Conversation", 'Int'>
|
|
1872
|
-
readonly uuid: Prisma.FieldRef<"Conversation", 'String'>
|
|
1873
|
-
readonly type: Prisma.FieldRef<"Conversation", 'ConversationType'>
|
|
1874
|
-
readonly event_id: Prisma.FieldRef<"Conversation", 'Int'>
|
|
1875
|
-
readonly admin_user_id: Prisma.FieldRef<"Conversation", 'Int'>
|
|
1876
|
-
readonly vendor_id: Prisma.FieldRef<"Conversation", 'Int'>
|
|
1877
|
-
readonly title: Prisma.FieldRef<"Conversation", 'String'>
|
|
1878
|
-
readonly status: Prisma.FieldRef<"Conversation", 'ConversationStatus'>
|
|
1879
|
-
readonly last_message_at: Prisma.FieldRef<"Conversation", 'DateTime'>
|
|
1880
|
-
readonly created_at: Prisma.FieldRef<"Conversation", 'DateTime'>
|
|
1881
|
-
readonly created_by: Prisma.FieldRef<"Conversation", 'Int'>
|
|
1882
|
-
readonly updated_at: Prisma.FieldRef<"Conversation", 'DateTime'>
|
|
1883
|
-
readonly updated_by: Prisma.FieldRef<"Conversation", 'Int'>
|
|
1884
|
-
readonly is_deleted: Prisma.FieldRef<"Conversation", 'Boolean'>
|
|
1885
|
-
readonly deleted_at: Prisma.FieldRef<"Conversation", 'DateTime'>
|
|
1886
|
-
readonly deleted_by: Prisma.FieldRef<"Conversation", 'Int'>
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
// Custom InputTypes
|
|
1891
|
-
/**
|
|
1892
|
-
* Conversation findUnique
|
|
1893
|
-
*/
|
|
1894
|
-
export type ConversationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1895
|
-
/**
|
|
1896
|
-
* Select specific fields to fetch from the Conversation
|
|
1897
|
-
*/
|
|
1898
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
1899
|
-
/**
|
|
1900
|
-
* Omit specific fields from the Conversation
|
|
1901
|
-
*/
|
|
1902
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
1903
|
-
/**
|
|
1904
|
-
* Choose, which related nodes to fetch as well
|
|
1905
|
-
*/
|
|
1906
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
1907
|
-
/**
|
|
1908
|
-
* Filter, which Conversation to fetch.
|
|
1909
|
-
*/
|
|
1910
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
1911
|
-
}
|
|
1912
|
-
|
|
1913
|
-
/**
|
|
1914
|
-
* Conversation findUniqueOrThrow
|
|
1915
|
-
*/
|
|
1916
|
-
export type ConversationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1917
|
-
/**
|
|
1918
|
-
* Select specific fields to fetch from the Conversation
|
|
1919
|
-
*/
|
|
1920
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
1921
|
-
/**
|
|
1922
|
-
* Omit specific fields from the Conversation
|
|
1923
|
-
*/
|
|
1924
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
1925
|
-
/**
|
|
1926
|
-
* Choose, which related nodes to fetch as well
|
|
1927
|
-
*/
|
|
1928
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
1929
|
-
/**
|
|
1930
|
-
* Filter, which Conversation to fetch.
|
|
1931
|
-
*/
|
|
1932
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
1933
|
-
}
|
|
1934
|
-
|
|
1935
|
-
/**
|
|
1936
|
-
* Conversation findFirst
|
|
1937
|
-
*/
|
|
1938
|
-
export type ConversationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1939
|
-
/**
|
|
1940
|
-
* Select specific fields to fetch from the Conversation
|
|
1941
|
-
*/
|
|
1942
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
1943
|
-
/**
|
|
1944
|
-
* Omit specific fields from the Conversation
|
|
1945
|
-
*/
|
|
1946
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
1947
|
-
/**
|
|
1948
|
-
* Choose, which related nodes to fetch as well
|
|
1949
|
-
*/
|
|
1950
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
1951
|
-
/**
|
|
1952
|
-
* Filter, which Conversation to fetch.
|
|
1953
|
-
*/
|
|
1954
|
-
where?: Prisma.ConversationWhereInput
|
|
1955
|
-
/**
|
|
1956
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1957
|
-
*
|
|
1958
|
-
* Determine the order of Conversations to fetch.
|
|
1959
|
-
*/
|
|
1960
|
-
orderBy?: Prisma.ConversationOrderByWithRelationInput | Prisma.ConversationOrderByWithRelationInput[]
|
|
1961
|
-
/**
|
|
1962
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1963
|
-
*
|
|
1964
|
-
* Sets the position for searching for Conversations.
|
|
1965
|
-
*/
|
|
1966
|
-
cursor?: Prisma.ConversationWhereUniqueInput
|
|
1967
|
-
/**
|
|
1968
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1969
|
-
*
|
|
1970
|
-
* Take `±n` Conversations from the position of the cursor.
|
|
1971
|
-
*/
|
|
1972
|
-
take?: number
|
|
1973
|
-
/**
|
|
1974
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1975
|
-
*
|
|
1976
|
-
* Skip the first `n` Conversations.
|
|
1977
|
-
*/
|
|
1978
|
-
skip?: number
|
|
1979
|
-
/**
|
|
1980
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1981
|
-
*
|
|
1982
|
-
* Filter by unique combinations of Conversations.
|
|
1983
|
-
*/
|
|
1984
|
-
distinct?: Prisma.ConversationScalarFieldEnum | Prisma.ConversationScalarFieldEnum[]
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
/**
|
|
1988
|
-
* Conversation findFirstOrThrow
|
|
1989
|
-
*/
|
|
1990
|
-
export type ConversationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1991
|
-
/**
|
|
1992
|
-
* Select specific fields to fetch from the Conversation
|
|
1993
|
-
*/
|
|
1994
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
1995
|
-
/**
|
|
1996
|
-
* Omit specific fields from the Conversation
|
|
1997
|
-
*/
|
|
1998
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
1999
|
-
/**
|
|
2000
|
-
* Choose, which related nodes to fetch as well
|
|
2001
|
-
*/
|
|
2002
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
2003
|
-
/**
|
|
2004
|
-
* Filter, which Conversation to fetch.
|
|
2005
|
-
*/
|
|
2006
|
-
where?: Prisma.ConversationWhereInput
|
|
2007
|
-
/**
|
|
2008
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2009
|
-
*
|
|
2010
|
-
* Determine the order of Conversations to fetch.
|
|
2011
|
-
*/
|
|
2012
|
-
orderBy?: Prisma.ConversationOrderByWithRelationInput | Prisma.ConversationOrderByWithRelationInput[]
|
|
2013
|
-
/**
|
|
2014
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2015
|
-
*
|
|
2016
|
-
* Sets the position for searching for Conversations.
|
|
2017
|
-
*/
|
|
2018
|
-
cursor?: Prisma.ConversationWhereUniqueInput
|
|
2019
|
-
/**
|
|
2020
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2021
|
-
*
|
|
2022
|
-
* Take `±n` Conversations from the position of the cursor.
|
|
2023
|
-
*/
|
|
2024
|
-
take?: number
|
|
2025
|
-
/**
|
|
2026
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2027
|
-
*
|
|
2028
|
-
* Skip the first `n` Conversations.
|
|
2029
|
-
*/
|
|
2030
|
-
skip?: number
|
|
2031
|
-
/**
|
|
2032
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2033
|
-
*
|
|
2034
|
-
* Filter by unique combinations of Conversations.
|
|
2035
|
-
*/
|
|
2036
|
-
distinct?: Prisma.ConversationScalarFieldEnum | Prisma.ConversationScalarFieldEnum[]
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
/**
|
|
2040
|
-
* Conversation findMany
|
|
2041
|
-
*/
|
|
2042
|
-
export type ConversationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2043
|
-
/**
|
|
2044
|
-
* Select specific fields to fetch from the Conversation
|
|
2045
|
-
*/
|
|
2046
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
2047
|
-
/**
|
|
2048
|
-
* Omit specific fields from the Conversation
|
|
2049
|
-
*/
|
|
2050
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2051
|
-
/**
|
|
2052
|
-
* Choose, which related nodes to fetch as well
|
|
2053
|
-
*/
|
|
2054
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
2055
|
-
/**
|
|
2056
|
-
* Filter, which Conversations to fetch.
|
|
2057
|
-
*/
|
|
2058
|
-
where?: Prisma.ConversationWhereInput
|
|
2059
|
-
/**
|
|
2060
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2061
|
-
*
|
|
2062
|
-
* Determine the order of Conversations to fetch.
|
|
2063
|
-
*/
|
|
2064
|
-
orderBy?: Prisma.ConversationOrderByWithRelationInput | Prisma.ConversationOrderByWithRelationInput[]
|
|
2065
|
-
/**
|
|
2066
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2067
|
-
*
|
|
2068
|
-
* Sets the position for listing Conversations.
|
|
2069
|
-
*/
|
|
2070
|
-
cursor?: Prisma.ConversationWhereUniqueInput
|
|
2071
|
-
/**
|
|
2072
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2073
|
-
*
|
|
2074
|
-
* Take `±n` Conversations from the position of the cursor.
|
|
2075
|
-
*/
|
|
2076
|
-
take?: number
|
|
2077
|
-
/**
|
|
2078
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2079
|
-
*
|
|
2080
|
-
* Skip the first `n` Conversations.
|
|
2081
|
-
*/
|
|
2082
|
-
skip?: number
|
|
2083
|
-
/**
|
|
2084
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2085
|
-
*
|
|
2086
|
-
* Filter by unique combinations of Conversations.
|
|
2087
|
-
*/
|
|
2088
|
-
distinct?: Prisma.ConversationScalarFieldEnum | Prisma.ConversationScalarFieldEnum[]
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
/**
|
|
2092
|
-
* Conversation create
|
|
2093
|
-
*/
|
|
2094
|
-
export type ConversationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2095
|
-
/**
|
|
2096
|
-
* Select specific fields to fetch from the Conversation
|
|
2097
|
-
*/
|
|
2098
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
2099
|
-
/**
|
|
2100
|
-
* Omit specific fields from the Conversation
|
|
2101
|
-
*/
|
|
2102
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2103
|
-
/**
|
|
2104
|
-
* Choose, which related nodes to fetch as well
|
|
2105
|
-
*/
|
|
2106
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
2107
|
-
/**
|
|
2108
|
-
* The data needed to create a Conversation.
|
|
2109
|
-
*/
|
|
2110
|
-
data?: Prisma.XOR<Prisma.ConversationCreateInput, Prisma.ConversationUncheckedCreateInput>
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
/**
|
|
2114
|
-
* Conversation createMany
|
|
2115
|
-
*/
|
|
2116
|
-
export type ConversationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2117
|
-
/**
|
|
2118
|
-
* The data used to create many Conversations.
|
|
2119
|
-
*/
|
|
2120
|
-
data: Prisma.ConversationCreateManyInput | Prisma.ConversationCreateManyInput[]
|
|
2121
|
-
skipDuplicates?: boolean
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
|
-
/**
|
|
2125
|
-
* Conversation createManyAndReturn
|
|
2126
|
-
*/
|
|
2127
|
-
export type ConversationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2128
|
-
/**
|
|
2129
|
-
* Select specific fields to fetch from the Conversation
|
|
2130
|
-
*/
|
|
2131
|
-
select?: Prisma.ConversationSelectCreateManyAndReturn<ExtArgs> | null
|
|
2132
|
-
/**
|
|
2133
|
-
* Omit specific fields from the Conversation
|
|
2134
|
-
*/
|
|
2135
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2136
|
-
/**
|
|
2137
|
-
* The data used to create many Conversations.
|
|
2138
|
-
*/
|
|
2139
|
-
data: Prisma.ConversationCreateManyInput | Prisma.ConversationCreateManyInput[]
|
|
2140
|
-
skipDuplicates?: boolean
|
|
2141
|
-
/**
|
|
2142
|
-
* Choose, which related nodes to fetch as well
|
|
2143
|
-
*/
|
|
2144
|
-
include?: Prisma.ConversationIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
/**
|
|
2148
|
-
* Conversation update
|
|
2149
|
-
*/
|
|
2150
|
-
export type ConversationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2151
|
-
/**
|
|
2152
|
-
* Select specific fields to fetch from the Conversation
|
|
2153
|
-
*/
|
|
2154
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
2155
|
-
/**
|
|
2156
|
-
* Omit specific fields from the Conversation
|
|
2157
|
-
*/
|
|
2158
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2159
|
-
/**
|
|
2160
|
-
* Choose, which related nodes to fetch as well
|
|
2161
|
-
*/
|
|
2162
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
2163
|
-
/**
|
|
2164
|
-
* The data needed to update a Conversation.
|
|
2165
|
-
*/
|
|
2166
|
-
data: Prisma.XOR<Prisma.ConversationUpdateInput, Prisma.ConversationUncheckedUpdateInput>
|
|
2167
|
-
/**
|
|
2168
|
-
* Choose, which Conversation to update.
|
|
2169
|
-
*/
|
|
2170
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
/**
|
|
2174
|
-
* Conversation updateMany
|
|
2175
|
-
*/
|
|
2176
|
-
export type ConversationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2177
|
-
/**
|
|
2178
|
-
* The data used to update Conversations.
|
|
2179
|
-
*/
|
|
2180
|
-
data: Prisma.XOR<Prisma.ConversationUpdateManyMutationInput, Prisma.ConversationUncheckedUpdateManyInput>
|
|
2181
|
-
/**
|
|
2182
|
-
* Filter which Conversations to update
|
|
2183
|
-
*/
|
|
2184
|
-
where?: Prisma.ConversationWhereInput
|
|
2185
|
-
/**
|
|
2186
|
-
* Limit how many Conversations to update.
|
|
2187
|
-
*/
|
|
2188
|
-
limit?: number
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
|
-
/**
|
|
2192
|
-
* Conversation updateManyAndReturn
|
|
2193
|
-
*/
|
|
2194
|
-
export type ConversationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2195
|
-
/**
|
|
2196
|
-
* Select specific fields to fetch from the Conversation
|
|
2197
|
-
*/
|
|
2198
|
-
select?: Prisma.ConversationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2199
|
-
/**
|
|
2200
|
-
* Omit specific fields from the Conversation
|
|
2201
|
-
*/
|
|
2202
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2203
|
-
/**
|
|
2204
|
-
* The data used to update Conversations.
|
|
2205
|
-
*/
|
|
2206
|
-
data: Prisma.XOR<Prisma.ConversationUpdateManyMutationInput, Prisma.ConversationUncheckedUpdateManyInput>
|
|
2207
|
-
/**
|
|
2208
|
-
* Filter which Conversations to update
|
|
2209
|
-
*/
|
|
2210
|
-
where?: Prisma.ConversationWhereInput
|
|
2211
|
-
/**
|
|
2212
|
-
* Limit how many Conversations to update.
|
|
2213
|
-
*/
|
|
2214
|
-
limit?: number
|
|
2215
|
-
/**
|
|
2216
|
-
* Choose, which related nodes to fetch as well
|
|
2217
|
-
*/
|
|
2218
|
-
include?: Prisma.ConversationIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2219
|
-
}
|
|
2220
|
-
|
|
2221
|
-
/**
|
|
2222
|
-
* Conversation upsert
|
|
2223
|
-
*/
|
|
2224
|
-
export type ConversationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2225
|
-
/**
|
|
2226
|
-
* Select specific fields to fetch from the Conversation
|
|
2227
|
-
*/
|
|
2228
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
2229
|
-
/**
|
|
2230
|
-
* Omit specific fields from the Conversation
|
|
2231
|
-
*/
|
|
2232
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2233
|
-
/**
|
|
2234
|
-
* Choose, which related nodes to fetch as well
|
|
2235
|
-
*/
|
|
2236
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
2237
|
-
/**
|
|
2238
|
-
* The filter to search for the Conversation to update in case it exists.
|
|
2239
|
-
*/
|
|
2240
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
2241
|
-
/**
|
|
2242
|
-
* In case the Conversation found by the `where` argument doesn't exist, create a new Conversation with this data.
|
|
2243
|
-
*/
|
|
2244
|
-
create: Prisma.XOR<Prisma.ConversationCreateInput, Prisma.ConversationUncheckedCreateInput>
|
|
2245
|
-
/**
|
|
2246
|
-
* In case the Conversation was found with the provided `where` argument, update it with this data.
|
|
2247
|
-
*/
|
|
2248
|
-
update: Prisma.XOR<Prisma.ConversationUpdateInput, Prisma.ConversationUncheckedUpdateInput>
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
/**
|
|
2252
|
-
* Conversation delete
|
|
2253
|
-
*/
|
|
2254
|
-
export type ConversationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2255
|
-
/**
|
|
2256
|
-
* Select specific fields to fetch from the Conversation
|
|
2257
|
-
*/
|
|
2258
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
2259
|
-
/**
|
|
2260
|
-
* Omit specific fields from the Conversation
|
|
2261
|
-
*/
|
|
2262
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2263
|
-
/**
|
|
2264
|
-
* Choose, which related nodes to fetch as well
|
|
2265
|
-
*/
|
|
2266
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
2267
|
-
/**
|
|
2268
|
-
* Filter which Conversation to delete.
|
|
2269
|
-
*/
|
|
2270
|
-
where: Prisma.ConversationWhereUniqueInput
|
|
2271
|
-
}
|
|
2272
|
-
|
|
2273
|
-
/**
|
|
2274
|
-
* Conversation deleteMany
|
|
2275
|
-
*/
|
|
2276
|
-
export type ConversationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2277
|
-
/**
|
|
2278
|
-
* Filter which Conversations to delete
|
|
2279
|
-
*/
|
|
2280
|
-
where?: Prisma.ConversationWhereInput
|
|
2281
|
-
/**
|
|
2282
|
-
* Limit how many Conversations to delete.
|
|
2283
|
-
*/
|
|
2284
|
-
limit?: number
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2287
|
-
/**
|
|
2288
|
-
* Conversation.event
|
|
2289
|
-
*/
|
|
2290
|
-
export type Conversation$eventArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2291
|
-
/**
|
|
2292
|
-
* Select specific fields to fetch from the Event
|
|
2293
|
-
*/
|
|
2294
|
-
select?: Prisma.EventSelect<ExtArgs> | null
|
|
2295
|
-
/**
|
|
2296
|
-
* Omit specific fields from the Event
|
|
2297
|
-
*/
|
|
2298
|
-
omit?: Prisma.EventOmit<ExtArgs> | null
|
|
2299
|
-
/**
|
|
2300
|
-
* Choose, which related nodes to fetch as well
|
|
2301
|
-
*/
|
|
2302
|
-
include?: Prisma.EventInclude<ExtArgs> | null
|
|
2303
|
-
where?: Prisma.EventWhereInput
|
|
2304
|
-
}
|
|
2305
|
-
|
|
2306
|
-
/**
|
|
2307
|
-
* Conversation.admin_user
|
|
2308
|
-
*/
|
|
2309
|
-
export type Conversation$admin_userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2310
|
-
/**
|
|
2311
|
-
* Select specific fields to fetch from the User
|
|
2312
|
-
*/
|
|
2313
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2314
|
-
/**
|
|
2315
|
-
* Omit specific fields from the User
|
|
2316
|
-
*/
|
|
2317
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2318
|
-
/**
|
|
2319
|
-
* Choose, which related nodes to fetch as well
|
|
2320
|
-
*/
|
|
2321
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2322
|
-
where?: Prisma.UserWhereInput
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
/**
|
|
2326
|
-
* Conversation.messages
|
|
2327
|
-
*/
|
|
2328
|
-
export type Conversation$messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2329
|
-
/**
|
|
2330
|
-
* Select specific fields to fetch from the Message
|
|
2331
|
-
*/
|
|
2332
|
-
select?: Prisma.MessageSelect<ExtArgs> | null
|
|
2333
|
-
/**
|
|
2334
|
-
* Omit specific fields from the Message
|
|
2335
|
-
*/
|
|
2336
|
-
omit?: Prisma.MessageOmit<ExtArgs> | null
|
|
2337
|
-
/**
|
|
2338
|
-
* Choose, which related nodes to fetch as well
|
|
2339
|
-
*/
|
|
2340
|
-
include?: Prisma.MessageInclude<ExtArgs> | null
|
|
2341
|
-
where?: Prisma.MessageWhereInput
|
|
2342
|
-
orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[]
|
|
2343
|
-
cursor?: Prisma.MessageWhereUniqueInput
|
|
2344
|
-
take?: number
|
|
2345
|
-
skip?: number
|
|
2346
|
-
distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[]
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
/**
|
|
2350
|
-
* Conversation.conversation_participants
|
|
2351
|
-
*/
|
|
2352
|
-
export type Conversation$conversation_participantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2353
|
-
/**
|
|
2354
|
-
* Select specific fields to fetch from the ConversationParticipant
|
|
2355
|
-
*/
|
|
2356
|
-
select?: Prisma.ConversationParticipantSelect<ExtArgs> | null
|
|
2357
|
-
/**
|
|
2358
|
-
* Omit specific fields from the ConversationParticipant
|
|
2359
|
-
*/
|
|
2360
|
-
omit?: Prisma.ConversationParticipantOmit<ExtArgs> | null
|
|
2361
|
-
/**
|
|
2362
|
-
* Choose, which related nodes to fetch as well
|
|
2363
|
-
*/
|
|
2364
|
-
include?: Prisma.ConversationParticipantInclude<ExtArgs> | null
|
|
2365
|
-
where?: Prisma.ConversationParticipantWhereInput
|
|
2366
|
-
orderBy?: Prisma.ConversationParticipantOrderByWithRelationInput | Prisma.ConversationParticipantOrderByWithRelationInput[]
|
|
2367
|
-
cursor?: Prisma.ConversationParticipantWhereUniqueInput
|
|
2368
|
-
take?: number
|
|
2369
|
-
skip?: number
|
|
2370
|
-
distinct?: Prisma.ConversationParticipantScalarFieldEnum | Prisma.ConversationParticipantScalarFieldEnum[]
|
|
2371
|
-
}
|
|
2372
|
-
|
|
2373
|
-
/**
|
|
2374
|
-
* Conversation without action
|
|
2375
|
-
*/
|
|
2376
|
-
export type ConversationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2377
|
-
/**
|
|
2378
|
-
* Select specific fields to fetch from the Conversation
|
|
2379
|
-
*/
|
|
2380
|
-
select?: Prisma.ConversationSelect<ExtArgs> | null
|
|
2381
|
-
/**
|
|
2382
|
-
* Omit specific fields from the Conversation
|
|
2383
|
-
*/
|
|
2384
|
-
omit?: Prisma.ConversationOmit<ExtArgs> | null
|
|
2385
|
-
/**
|
|
2386
|
-
* Choose, which related nodes to fetch as well
|
|
2387
|
-
*/
|
|
2388
|
-
include?: Prisma.ConversationInclude<ExtArgs> | null
|
|
2389
|
-
}
|