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