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