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,1720 +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 `PurchaseOrderActivityLog` 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 PurchaseOrderActivityLog
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type PurchaseOrderActivityLogModel = runtime.Types.Result.DefaultSelection<Prisma.$PurchaseOrderActivityLogPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregatePurchaseOrderActivityLog = {
|
|
22
|
-
_count: PurchaseOrderActivityLogCountAggregateOutputType | null
|
|
23
|
-
_avg: PurchaseOrderActivityLogAvgAggregateOutputType | null
|
|
24
|
-
_sum: PurchaseOrderActivityLogSumAggregateOutputType | null
|
|
25
|
-
_min: PurchaseOrderActivityLogMinAggregateOutputType | null
|
|
26
|
-
_max: PurchaseOrderActivityLogMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type PurchaseOrderActivityLogAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
purchase_order_id: number | null
|
|
32
|
-
user_id: number | null
|
|
33
|
-
vendor_id: number | null
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type PurchaseOrderActivityLogSumAggregateOutputType = {
|
|
37
|
-
id: number | null
|
|
38
|
-
purchase_order_id: number | null
|
|
39
|
-
user_id: number | null
|
|
40
|
-
vendor_id: number | null
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type PurchaseOrderActivityLogMinAggregateOutputType = {
|
|
44
|
-
id: number | null
|
|
45
|
-
uuid: string | null
|
|
46
|
-
purchase_order_id: number | null
|
|
47
|
-
user_id: number | null
|
|
48
|
-
vendor_id: number | null
|
|
49
|
-
activity_type: $Enums.POActivityType | null
|
|
50
|
-
remarks: string | null
|
|
51
|
-
created_at: Date | null
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export type PurchaseOrderActivityLogMaxAggregateOutputType = {
|
|
55
|
-
id: number | null
|
|
56
|
-
uuid: string | null
|
|
57
|
-
purchase_order_id: number | null
|
|
58
|
-
user_id: number | null
|
|
59
|
-
vendor_id: number | null
|
|
60
|
-
activity_type: $Enums.POActivityType | null
|
|
61
|
-
remarks: string | null
|
|
62
|
-
created_at: Date | null
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export type PurchaseOrderActivityLogCountAggregateOutputType = {
|
|
66
|
-
id: number
|
|
67
|
-
uuid: number
|
|
68
|
-
purchase_order_id: number
|
|
69
|
-
user_id: number
|
|
70
|
-
vendor_id: number
|
|
71
|
-
activity_type: number
|
|
72
|
-
remarks: number
|
|
73
|
-
metadata: number
|
|
74
|
-
created_at: number
|
|
75
|
-
_all: number
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
export type PurchaseOrderActivityLogAvgAggregateInputType = {
|
|
80
|
-
id?: true
|
|
81
|
-
purchase_order_id?: true
|
|
82
|
-
user_id?: true
|
|
83
|
-
vendor_id?: true
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export type PurchaseOrderActivityLogSumAggregateInputType = {
|
|
87
|
-
id?: true
|
|
88
|
-
purchase_order_id?: true
|
|
89
|
-
user_id?: true
|
|
90
|
-
vendor_id?: true
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export type PurchaseOrderActivityLogMinAggregateInputType = {
|
|
94
|
-
id?: true
|
|
95
|
-
uuid?: true
|
|
96
|
-
purchase_order_id?: true
|
|
97
|
-
user_id?: true
|
|
98
|
-
vendor_id?: true
|
|
99
|
-
activity_type?: true
|
|
100
|
-
remarks?: true
|
|
101
|
-
created_at?: true
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export type PurchaseOrderActivityLogMaxAggregateInputType = {
|
|
105
|
-
id?: true
|
|
106
|
-
uuid?: true
|
|
107
|
-
purchase_order_id?: true
|
|
108
|
-
user_id?: true
|
|
109
|
-
vendor_id?: true
|
|
110
|
-
activity_type?: true
|
|
111
|
-
remarks?: true
|
|
112
|
-
created_at?: true
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export type PurchaseOrderActivityLogCountAggregateInputType = {
|
|
116
|
-
id?: true
|
|
117
|
-
uuid?: true
|
|
118
|
-
purchase_order_id?: true
|
|
119
|
-
user_id?: true
|
|
120
|
-
vendor_id?: true
|
|
121
|
-
activity_type?: true
|
|
122
|
-
remarks?: true
|
|
123
|
-
metadata?: true
|
|
124
|
-
created_at?: true
|
|
125
|
-
_all?: true
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export type PurchaseOrderActivityLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
129
|
-
/**
|
|
130
|
-
* Filter which PurchaseOrderActivityLog to aggregate.
|
|
131
|
-
*/
|
|
132
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
133
|
-
/**
|
|
134
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
135
|
-
*
|
|
136
|
-
* Determine the order of PurchaseOrderActivityLogs to fetch.
|
|
137
|
-
*/
|
|
138
|
-
orderBy?: Prisma.PurchaseOrderActivityLogOrderByWithRelationInput | Prisma.PurchaseOrderActivityLogOrderByWithRelationInput[]
|
|
139
|
-
/**
|
|
140
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
141
|
-
*
|
|
142
|
-
* Sets the start position
|
|
143
|
-
*/
|
|
144
|
-
cursor?: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
145
|
-
/**
|
|
146
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
147
|
-
*
|
|
148
|
-
* Take `±n` PurchaseOrderActivityLogs from the position of the cursor.
|
|
149
|
-
*/
|
|
150
|
-
take?: number
|
|
151
|
-
/**
|
|
152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
153
|
-
*
|
|
154
|
-
* Skip the first `n` PurchaseOrderActivityLogs.
|
|
155
|
-
*/
|
|
156
|
-
skip?: number
|
|
157
|
-
/**
|
|
158
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
-
*
|
|
160
|
-
* Count returned PurchaseOrderActivityLogs
|
|
161
|
-
**/
|
|
162
|
-
_count?: true | PurchaseOrderActivityLogCountAggregateInputType
|
|
163
|
-
/**
|
|
164
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
-
*
|
|
166
|
-
* Select which fields to average
|
|
167
|
-
**/
|
|
168
|
-
_avg?: PurchaseOrderActivityLogAvgAggregateInputType
|
|
169
|
-
/**
|
|
170
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
-
*
|
|
172
|
-
* Select which fields to sum
|
|
173
|
-
**/
|
|
174
|
-
_sum?: PurchaseOrderActivityLogSumAggregateInputType
|
|
175
|
-
/**
|
|
176
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
-
*
|
|
178
|
-
* Select which fields to find the minimum value
|
|
179
|
-
**/
|
|
180
|
-
_min?: PurchaseOrderActivityLogMinAggregateInputType
|
|
181
|
-
/**
|
|
182
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
183
|
-
*
|
|
184
|
-
* Select which fields to find the maximum value
|
|
185
|
-
**/
|
|
186
|
-
_max?: PurchaseOrderActivityLogMaxAggregateInputType
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export type GetPurchaseOrderActivityLogAggregateType<T extends PurchaseOrderActivityLogAggregateArgs> = {
|
|
190
|
-
[P in keyof T & keyof AggregatePurchaseOrderActivityLog]: P extends '_count' | 'count'
|
|
191
|
-
? T[P] extends true
|
|
192
|
-
? number
|
|
193
|
-
: Prisma.GetScalarType<T[P], AggregatePurchaseOrderActivityLog[P]>
|
|
194
|
-
: Prisma.GetScalarType<T[P], AggregatePurchaseOrderActivityLog[P]>
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
export type PurchaseOrderActivityLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
201
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
202
|
-
orderBy?: Prisma.PurchaseOrderActivityLogOrderByWithAggregationInput | Prisma.PurchaseOrderActivityLogOrderByWithAggregationInput[]
|
|
203
|
-
by: Prisma.PurchaseOrderActivityLogScalarFieldEnum[] | Prisma.PurchaseOrderActivityLogScalarFieldEnum
|
|
204
|
-
having?: Prisma.PurchaseOrderActivityLogScalarWhereWithAggregatesInput
|
|
205
|
-
take?: number
|
|
206
|
-
skip?: number
|
|
207
|
-
_count?: PurchaseOrderActivityLogCountAggregateInputType | true
|
|
208
|
-
_avg?: PurchaseOrderActivityLogAvgAggregateInputType
|
|
209
|
-
_sum?: PurchaseOrderActivityLogSumAggregateInputType
|
|
210
|
-
_min?: PurchaseOrderActivityLogMinAggregateInputType
|
|
211
|
-
_max?: PurchaseOrderActivityLogMaxAggregateInputType
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export type PurchaseOrderActivityLogGroupByOutputType = {
|
|
215
|
-
id: number
|
|
216
|
-
uuid: string
|
|
217
|
-
purchase_order_id: number | null
|
|
218
|
-
user_id: number | null
|
|
219
|
-
vendor_id: number | null
|
|
220
|
-
activity_type: $Enums.POActivityType | null
|
|
221
|
-
remarks: string | null
|
|
222
|
-
metadata: runtime.JsonValue | null
|
|
223
|
-
created_at: Date
|
|
224
|
-
_count: PurchaseOrderActivityLogCountAggregateOutputType | null
|
|
225
|
-
_avg: PurchaseOrderActivityLogAvgAggregateOutputType | null
|
|
226
|
-
_sum: PurchaseOrderActivityLogSumAggregateOutputType | null
|
|
227
|
-
_min: PurchaseOrderActivityLogMinAggregateOutputType | null
|
|
228
|
-
_max: PurchaseOrderActivityLogMaxAggregateOutputType | null
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export type GetPurchaseOrderActivityLogGroupByPayload<T extends PurchaseOrderActivityLogGroupByArgs> = Prisma.PrismaPromise<
|
|
232
|
-
Array<
|
|
233
|
-
Prisma.PickEnumerable<PurchaseOrderActivityLogGroupByOutputType, T['by']> &
|
|
234
|
-
{
|
|
235
|
-
[P in ((keyof T) & (keyof PurchaseOrderActivityLogGroupByOutputType))]: P extends '_count'
|
|
236
|
-
? T[P] extends boolean
|
|
237
|
-
? number
|
|
238
|
-
: Prisma.GetScalarType<T[P], PurchaseOrderActivityLogGroupByOutputType[P]>
|
|
239
|
-
: Prisma.GetScalarType<T[P], PurchaseOrderActivityLogGroupByOutputType[P]>
|
|
240
|
-
}
|
|
241
|
-
>
|
|
242
|
-
>
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
export type PurchaseOrderActivityLogWhereInput = {
|
|
247
|
-
AND?: Prisma.PurchaseOrderActivityLogWhereInput | Prisma.PurchaseOrderActivityLogWhereInput[]
|
|
248
|
-
OR?: Prisma.PurchaseOrderActivityLogWhereInput[]
|
|
249
|
-
NOT?: Prisma.PurchaseOrderActivityLogWhereInput | Prisma.PurchaseOrderActivityLogWhereInput[]
|
|
250
|
-
id?: Prisma.IntFilter<"PurchaseOrderActivityLog"> | number
|
|
251
|
-
uuid?: Prisma.StringFilter<"PurchaseOrderActivityLog"> | string
|
|
252
|
-
purchase_order_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
253
|
-
user_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
254
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
255
|
-
activity_type?: Prisma.EnumPOActivityTypeNullableFilter<"PurchaseOrderActivityLog"> | $Enums.POActivityType | null
|
|
256
|
-
remarks?: Prisma.StringNullableFilter<"PurchaseOrderActivityLog"> | string | null
|
|
257
|
-
metadata?: Prisma.JsonNullableFilter<"PurchaseOrderActivityLog">
|
|
258
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseOrderActivityLog"> | Date | string
|
|
259
|
-
purchase_order?: Prisma.XOR<Prisma.PurchaseOrderNullableScalarRelationFilter, Prisma.PurchaseOrderWhereInput> | null
|
|
260
|
-
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export type PurchaseOrderActivityLogOrderByWithRelationInput = {
|
|
264
|
-
id?: Prisma.SortOrder
|
|
265
|
-
uuid?: Prisma.SortOrder
|
|
266
|
-
purchase_order_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
267
|
-
user_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
268
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
269
|
-
activity_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
270
|
-
remarks?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
271
|
-
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
272
|
-
created_at?: Prisma.SortOrder
|
|
273
|
-
purchase_order?: Prisma.PurchaseOrderOrderByWithRelationInput
|
|
274
|
-
user?: Prisma.UserOrderByWithRelationInput
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
export type PurchaseOrderActivityLogWhereUniqueInput = Prisma.AtLeast<{
|
|
278
|
-
id?: number
|
|
279
|
-
uuid?: string
|
|
280
|
-
AND?: Prisma.PurchaseOrderActivityLogWhereInput | Prisma.PurchaseOrderActivityLogWhereInput[]
|
|
281
|
-
OR?: Prisma.PurchaseOrderActivityLogWhereInput[]
|
|
282
|
-
NOT?: Prisma.PurchaseOrderActivityLogWhereInput | Prisma.PurchaseOrderActivityLogWhereInput[]
|
|
283
|
-
purchase_order_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
284
|
-
user_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
285
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
286
|
-
activity_type?: Prisma.EnumPOActivityTypeNullableFilter<"PurchaseOrderActivityLog"> | $Enums.POActivityType | null
|
|
287
|
-
remarks?: Prisma.StringNullableFilter<"PurchaseOrderActivityLog"> | string | null
|
|
288
|
-
metadata?: Prisma.JsonNullableFilter<"PurchaseOrderActivityLog">
|
|
289
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseOrderActivityLog"> | Date | string
|
|
290
|
-
purchase_order?: Prisma.XOR<Prisma.PurchaseOrderNullableScalarRelationFilter, Prisma.PurchaseOrderWhereInput> | null
|
|
291
|
-
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
292
|
-
}, "id" | "uuid">
|
|
293
|
-
|
|
294
|
-
export type PurchaseOrderActivityLogOrderByWithAggregationInput = {
|
|
295
|
-
id?: Prisma.SortOrder
|
|
296
|
-
uuid?: Prisma.SortOrder
|
|
297
|
-
purchase_order_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
298
|
-
user_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
299
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
300
|
-
activity_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
301
|
-
remarks?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
302
|
-
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
303
|
-
created_at?: Prisma.SortOrder
|
|
304
|
-
_count?: Prisma.PurchaseOrderActivityLogCountOrderByAggregateInput
|
|
305
|
-
_avg?: Prisma.PurchaseOrderActivityLogAvgOrderByAggregateInput
|
|
306
|
-
_max?: Prisma.PurchaseOrderActivityLogMaxOrderByAggregateInput
|
|
307
|
-
_min?: Prisma.PurchaseOrderActivityLogMinOrderByAggregateInput
|
|
308
|
-
_sum?: Prisma.PurchaseOrderActivityLogSumOrderByAggregateInput
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
export type PurchaseOrderActivityLogScalarWhereWithAggregatesInput = {
|
|
312
|
-
AND?: Prisma.PurchaseOrderActivityLogScalarWhereWithAggregatesInput | Prisma.PurchaseOrderActivityLogScalarWhereWithAggregatesInput[]
|
|
313
|
-
OR?: Prisma.PurchaseOrderActivityLogScalarWhereWithAggregatesInput[]
|
|
314
|
-
NOT?: Prisma.PurchaseOrderActivityLogScalarWhereWithAggregatesInput | Prisma.PurchaseOrderActivityLogScalarWhereWithAggregatesInput[]
|
|
315
|
-
id?: Prisma.IntWithAggregatesFilter<"PurchaseOrderActivityLog"> | number
|
|
316
|
-
uuid?: Prisma.StringWithAggregatesFilter<"PurchaseOrderActivityLog"> | string
|
|
317
|
-
purchase_order_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderActivityLog"> | number | null
|
|
318
|
-
user_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderActivityLog"> | number | null
|
|
319
|
-
vendor_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderActivityLog"> | number | null
|
|
320
|
-
activity_type?: Prisma.EnumPOActivityTypeNullableWithAggregatesFilter<"PurchaseOrderActivityLog"> | $Enums.POActivityType | null
|
|
321
|
-
remarks?: Prisma.StringNullableWithAggregatesFilter<"PurchaseOrderActivityLog"> | string | null
|
|
322
|
-
metadata?: Prisma.JsonNullableWithAggregatesFilter<"PurchaseOrderActivityLog">
|
|
323
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"PurchaseOrderActivityLog"> | Date | string
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
export type PurchaseOrderActivityLogCreateInput = {
|
|
327
|
-
uuid?: string
|
|
328
|
-
vendor_id?: number | null
|
|
329
|
-
activity_type?: $Enums.POActivityType | null
|
|
330
|
-
remarks?: string | null
|
|
331
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
332
|
-
created_at?: Date | string
|
|
333
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_activity_logInput
|
|
334
|
-
user?: Prisma.UserCreateNestedOneWithoutPurchase_order_activity_logInput
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export type PurchaseOrderActivityLogUncheckedCreateInput = {
|
|
338
|
-
id?: number
|
|
339
|
-
uuid?: string
|
|
340
|
-
purchase_order_id?: number | null
|
|
341
|
-
user_id?: number | null
|
|
342
|
-
vendor_id?: number | null
|
|
343
|
-
activity_type?: $Enums.POActivityType | null
|
|
344
|
-
remarks?: string | null
|
|
345
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
346
|
-
created_at?: Date | string
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export type PurchaseOrderActivityLogUpdateInput = {
|
|
350
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
351
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
352
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
353
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
354
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
355
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
356
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_activity_logNestedInput
|
|
357
|
-
user?: Prisma.UserUpdateOneWithoutPurchase_order_activity_logNestedInput
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export type PurchaseOrderActivityLogUncheckedUpdateInput = {
|
|
361
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
362
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
363
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
364
|
-
user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
365
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
366
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
367
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
368
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
369
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
export type PurchaseOrderActivityLogCreateManyInput = {
|
|
373
|
-
id?: number
|
|
374
|
-
uuid?: string
|
|
375
|
-
purchase_order_id?: number | null
|
|
376
|
-
user_id?: number | null
|
|
377
|
-
vendor_id?: number | null
|
|
378
|
-
activity_type?: $Enums.POActivityType | null
|
|
379
|
-
remarks?: string | null
|
|
380
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
381
|
-
created_at?: Date | string
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export type PurchaseOrderActivityLogUpdateManyMutationInput = {
|
|
385
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
386
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
387
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
388
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
389
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
390
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export type PurchaseOrderActivityLogUncheckedUpdateManyInput = {
|
|
394
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
395
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
396
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
397
|
-
user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
398
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
399
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
400
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
401
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
402
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
export type PurchaseOrderActivityLogListRelationFilter = {
|
|
406
|
-
every?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
407
|
-
some?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
408
|
-
none?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
export type PurchaseOrderActivityLogOrderByRelationAggregateInput = {
|
|
412
|
-
_count?: Prisma.SortOrder
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
export type PurchaseOrderActivityLogCountOrderByAggregateInput = {
|
|
416
|
-
id?: Prisma.SortOrder
|
|
417
|
-
uuid?: Prisma.SortOrder
|
|
418
|
-
purchase_order_id?: Prisma.SortOrder
|
|
419
|
-
user_id?: Prisma.SortOrder
|
|
420
|
-
vendor_id?: Prisma.SortOrder
|
|
421
|
-
activity_type?: Prisma.SortOrder
|
|
422
|
-
remarks?: Prisma.SortOrder
|
|
423
|
-
metadata?: Prisma.SortOrder
|
|
424
|
-
created_at?: Prisma.SortOrder
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
export type PurchaseOrderActivityLogAvgOrderByAggregateInput = {
|
|
428
|
-
id?: Prisma.SortOrder
|
|
429
|
-
purchase_order_id?: Prisma.SortOrder
|
|
430
|
-
user_id?: Prisma.SortOrder
|
|
431
|
-
vendor_id?: Prisma.SortOrder
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
export type PurchaseOrderActivityLogMaxOrderByAggregateInput = {
|
|
435
|
-
id?: Prisma.SortOrder
|
|
436
|
-
uuid?: Prisma.SortOrder
|
|
437
|
-
purchase_order_id?: Prisma.SortOrder
|
|
438
|
-
user_id?: Prisma.SortOrder
|
|
439
|
-
vendor_id?: Prisma.SortOrder
|
|
440
|
-
activity_type?: Prisma.SortOrder
|
|
441
|
-
remarks?: Prisma.SortOrder
|
|
442
|
-
created_at?: Prisma.SortOrder
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
export type PurchaseOrderActivityLogMinOrderByAggregateInput = {
|
|
446
|
-
id?: Prisma.SortOrder
|
|
447
|
-
uuid?: Prisma.SortOrder
|
|
448
|
-
purchase_order_id?: Prisma.SortOrder
|
|
449
|
-
user_id?: Prisma.SortOrder
|
|
450
|
-
vendor_id?: Prisma.SortOrder
|
|
451
|
-
activity_type?: Prisma.SortOrder
|
|
452
|
-
remarks?: Prisma.SortOrder
|
|
453
|
-
created_at?: Prisma.SortOrder
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
export type PurchaseOrderActivityLogSumOrderByAggregateInput = {
|
|
457
|
-
id?: Prisma.SortOrder
|
|
458
|
-
purchase_order_id?: Prisma.SortOrder
|
|
459
|
-
user_id?: Prisma.SortOrder
|
|
460
|
-
vendor_id?: Prisma.SortOrder
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
export type PurchaseOrderActivityLogCreateNestedManyWithoutUserInput = {
|
|
464
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput> | Prisma.PurchaseOrderActivityLogCreateWithoutUserInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput[]
|
|
465
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput[]
|
|
466
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyUserInputEnvelope
|
|
467
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
export type PurchaseOrderActivityLogUncheckedCreateNestedManyWithoutUserInput = {
|
|
471
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput> | Prisma.PurchaseOrderActivityLogCreateWithoutUserInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput[]
|
|
472
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput[]
|
|
473
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyUserInputEnvelope
|
|
474
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
export type PurchaseOrderActivityLogUpdateManyWithoutUserNestedInput = {
|
|
478
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput> | Prisma.PurchaseOrderActivityLogCreateWithoutUserInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput[]
|
|
479
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput[]
|
|
480
|
-
upsert?: Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutUserInput | Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutUserInput[]
|
|
481
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyUserInputEnvelope
|
|
482
|
-
set?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
483
|
-
disconnect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
484
|
-
delete?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
485
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
486
|
-
update?: Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutUserInput | Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutUserInput[]
|
|
487
|
-
updateMany?: Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutUserInput | Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutUserInput[]
|
|
488
|
-
deleteMany?: Prisma.PurchaseOrderActivityLogScalarWhereInput | Prisma.PurchaseOrderActivityLogScalarWhereInput[]
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
export type PurchaseOrderActivityLogUncheckedUpdateManyWithoutUserNestedInput = {
|
|
492
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput> | Prisma.PurchaseOrderActivityLogCreateWithoutUserInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput[]
|
|
493
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutUserInput[]
|
|
494
|
-
upsert?: Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutUserInput | Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutUserInput[]
|
|
495
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyUserInputEnvelope
|
|
496
|
-
set?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
497
|
-
disconnect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
498
|
-
delete?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
499
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
500
|
-
update?: Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutUserInput | Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutUserInput[]
|
|
501
|
-
updateMany?: Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutUserInput | Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutUserInput[]
|
|
502
|
-
deleteMany?: Prisma.PurchaseOrderActivityLogScalarWhereInput | Prisma.PurchaseOrderActivityLogScalarWhereInput[]
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export type PurchaseOrderActivityLogCreateNestedManyWithoutPurchase_orderInput = {
|
|
506
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput[]
|
|
507
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput[]
|
|
508
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyPurchase_orderInputEnvelope
|
|
509
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
export type PurchaseOrderActivityLogUncheckedCreateNestedManyWithoutPurchase_orderInput = {
|
|
513
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput[]
|
|
514
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput[]
|
|
515
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyPurchase_orderInputEnvelope
|
|
516
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
export type PurchaseOrderActivityLogUpdateManyWithoutPurchase_orderNestedInput = {
|
|
520
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput[]
|
|
521
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput[]
|
|
522
|
-
upsert?: Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutPurchase_orderInput[]
|
|
523
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyPurchase_orderInputEnvelope
|
|
524
|
-
set?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
525
|
-
disconnect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
526
|
-
delete?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
527
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
528
|
-
update?: Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutPurchase_orderInput[]
|
|
529
|
-
updateMany?: Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutPurchase_orderInput[]
|
|
530
|
-
deleteMany?: Prisma.PurchaseOrderActivityLogScalarWhereInput | Prisma.PurchaseOrderActivityLogScalarWhereInput[]
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
export type PurchaseOrderActivityLogUncheckedUpdateManyWithoutPurchase_orderNestedInput = {
|
|
534
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput[]
|
|
535
|
-
connectOrCreate?: Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput[]
|
|
536
|
-
upsert?: Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutPurchase_orderInput[]
|
|
537
|
-
createMany?: Prisma.PurchaseOrderActivityLogCreateManyPurchase_orderInputEnvelope
|
|
538
|
-
set?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
539
|
-
disconnect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
540
|
-
delete?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
541
|
-
connect?: Prisma.PurchaseOrderActivityLogWhereUniqueInput | Prisma.PurchaseOrderActivityLogWhereUniqueInput[]
|
|
542
|
-
update?: Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutPurchase_orderInput[]
|
|
543
|
-
updateMany?: Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutPurchase_orderInput | Prisma.PurchaseOrderActivityLogUpdateManyWithWhereWithoutPurchase_orderInput[]
|
|
544
|
-
deleteMany?: Prisma.PurchaseOrderActivityLogScalarWhereInput | Prisma.PurchaseOrderActivityLogScalarWhereInput[]
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
export type NullableEnumPOActivityTypeFieldUpdateOperationsInput = {
|
|
548
|
-
set?: $Enums.POActivityType | null
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
export type PurchaseOrderActivityLogCreateWithoutUserInput = {
|
|
552
|
-
uuid?: string
|
|
553
|
-
vendor_id?: number | null
|
|
554
|
-
activity_type?: $Enums.POActivityType | null
|
|
555
|
-
remarks?: string | null
|
|
556
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
557
|
-
created_at?: Date | string
|
|
558
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_activity_logInput
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
export type PurchaseOrderActivityLogUncheckedCreateWithoutUserInput = {
|
|
562
|
-
id?: number
|
|
563
|
-
uuid?: string
|
|
564
|
-
purchase_order_id?: number | null
|
|
565
|
-
vendor_id?: number | null
|
|
566
|
-
activity_type?: $Enums.POActivityType | null
|
|
567
|
-
remarks?: string | null
|
|
568
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
569
|
-
created_at?: Date | string
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
export type PurchaseOrderActivityLogCreateOrConnectWithoutUserInput = {
|
|
573
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
574
|
-
create: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput>
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
export type PurchaseOrderActivityLogCreateManyUserInputEnvelope = {
|
|
578
|
-
data: Prisma.PurchaseOrderActivityLogCreateManyUserInput | Prisma.PurchaseOrderActivityLogCreateManyUserInput[]
|
|
579
|
-
skipDuplicates?: boolean
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
export type PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutUserInput = {
|
|
583
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
584
|
-
update: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateWithoutUserInput>
|
|
585
|
-
create: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutUserInput>
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
export type PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutUserInput = {
|
|
589
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
590
|
-
data: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateWithoutUserInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateWithoutUserInput>
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
export type PurchaseOrderActivityLogUpdateManyWithWhereWithoutUserInput = {
|
|
594
|
-
where: Prisma.PurchaseOrderActivityLogScalarWhereInput
|
|
595
|
-
data: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateManyMutationInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateManyWithoutUserInput>
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
export type PurchaseOrderActivityLogScalarWhereInput = {
|
|
599
|
-
AND?: Prisma.PurchaseOrderActivityLogScalarWhereInput | Prisma.PurchaseOrderActivityLogScalarWhereInput[]
|
|
600
|
-
OR?: Prisma.PurchaseOrderActivityLogScalarWhereInput[]
|
|
601
|
-
NOT?: Prisma.PurchaseOrderActivityLogScalarWhereInput | Prisma.PurchaseOrderActivityLogScalarWhereInput[]
|
|
602
|
-
id?: Prisma.IntFilter<"PurchaseOrderActivityLog"> | number
|
|
603
|
-
uuid?: Prisma.StringFilter<"PurchaseOrderActivityLog"> | string
|
|
604
|
-
purchase_order_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
605
|
-
user_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
606
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseOrderActivityLog"> | number | null
|
|
607
|
-
activity_type?: Prisma.EnumPOActivityTypeNullableFilter<"PurchaseOrderActivityLog"> | $Enums.POActivityType | null
|
|
608
|
-
remarks?: Prisma.StringNullableFilter<"PurchaseOrderActivityLog"> | string | null
|
|
609
|
-
metadata?: Prisma.JsonNullableFilter<"PurchaseOrderActivityLog">
|
|
610
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseOrderActivityLog"> | Date | string
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
export type PurchaseOrderActivityLogCreateWithoutPurchase_orderInput = {
|
|
614
|
-
uuid?: string
|
|
615
|
-
vendor_id?: number | null
|
|
616
|
-
activity_type?: $Enums.POActivityType | null
|
|
617
|
-
remarks?: string | null
|
|
618
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
619
|
-
created_at?: Date | string
|
|
620
|
-
user?: Prisma.UserCreateNestedOneWithoutPurchase_order_activity_logInput
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
export type PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput = {
|
|
624
|
-
id?: number
|
|
625
|
-
uuid?: string
|
|
626
|
-
user_id?: number | null
|
|
627
|
-
vendor_id?: number | null
|
|
628
|
-
activity_type?: $Enums.POActivityType | null
|
|
629
|
-
remarks?: string | null
|
|
630
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
631
|
-
created_at?: Date | string
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
export type PurchaseOrderActivityLogCreateOrConnectWithoutPurchase_orderInput = {
|
|
635
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
636
|
-
create: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput>
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
export type PurchaseOrderActivityLogCreateManyPurchase_orderInputEnvelope = {
|
|
640
|
-
data: Prisma.PurchaseOrderActivityLogCreateManyPurchase_orderInput | Prisma.PurchaseOrderActivityLogCreateManyPurchase_orderInput[]
|
|
641
|
-
skipDuplicates?: boolean
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
export type PurchaseOrderActivityLogUpsertWithWhereUniqueWithoutPurchase_orderInput = {
|
|
645
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
646
|
-
update: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateWithoutPurchase_orderInput>
|
|
647
|
-
create: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedCreateWithoutPurchase_orderInput>
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
export type PurchaseOrderActivityLogUpdateWithWhereUniqueWithoutPurchase_orderInput = {
|
|
651
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
652
|
-
data: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateWithoutPurchase_orderInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateWithoutPurchase_orderInput>
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
export type PurchaseOrderActivityLogUpdateManyWithWhereWithoutPurchase_orderInput = {
|
|
656
|
-
where: Prisma.PurchaseOrderActivityLogScalarWhereInput
|
|
657
|
-
data: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateManyMutationInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateManyWithoutPurchase_orderInput>
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
export type PurchaseOrderActivityLogCreateManyUserInput = {
|
|
661
|
-
id?: number
|
|
662
|
-
uuid?: string
|
|
663
|
-
purchase_order_id?: number | null
|
|
664
|
-
vendor_id?: number | null
|
|
665
|
-
activity_type?: $Enums.POActivityType | null
|
|
666
|
-
remarks?: string | null
|
|
667
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
668
|
-
created_at?: Date | string
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
export type PurchaseOrderActivityLogUpdateWithoutUserInput = {
|
|
672
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
673
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
674
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
675
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
676
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
677
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
678
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_activity_logNestedInput
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
export type PurchaseOrderActivityLogUncheckedUpdateWithoutUserInput = {
|
|
682
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
683
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
684
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
685
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
686
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
687
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
688
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
689
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
export type PurchaseOrderActivityLogUncheckedUpdateManyWithoutUserInput = {
|
|
693
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
694
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
695
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
696
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
697
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
698
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
699
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
700
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
export type PurchaseOrderActivityLogCreateManyPurchase_orderInput = {
|
|
704
|
-
id?: number
|
|
705
|
-
uuid?: string
|
|
706
|
-
user_id?: number | null
|
|
707
|
-
vendor_id?: number | null
|
|
708
|
-
activity_type?: $Enums.POActivityType | null
|
|
709
|
-
remarks?: string | null
|
|
710
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
711
|
-
created_at?: Date | string
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
export type PurchaseOrderActivityLogUpdateWithoutPurchase_orderInput = {
|
|
715
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
716
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
717
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
718
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
719
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
720
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
721
|
-
user?: Prisma.UserUpdateOneWithoutPurchase_order_activity_logNestedInput
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
export type PurchaseOrderActivityLogUncheckedUpdateWithoutPurchase_orderInput = {
|
|
725
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
726
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
727
|
-
user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
728
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
729
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
730
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
731
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
732
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
export type PurchaseOrderActivityLogUncheckedUpdateManyWithoutPurchase_orderInput = {
|
|
736
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
737
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
738
|
-
user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
739
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
740
|
-
activity_type?: Prisma.NullableEnumPOActivityTypeFieldUpdateOperationsInput | $Enums.POActivityType | null
|
|
741
|
-
remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
742
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
743
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
export type PurchaseOrderActivityLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
749
|
-
id?: boolean
|
|
750
|
-
uuid?: boolean
|
|
751
|
-
purchase_order_id?: boolean
|
|
752
|
-
user_id?: boolean
|
|
753
|
-
vendor_id?: boolean
|
|
754
|
-
activity_type?: boolean
|
|
755
|
-
remarks?: boolean
|
|
756
|
-
metadata?: boolean
|
|
757
|
-
created_at?: boolean
|
|
758
|
-
purchase_order?: boolean | Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs>
|
|
759
|
-
user?: boolean | Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs>
|
|
760
|
-
}, ExtArgs["result"]["purchaseOrderActivityLog"]>
|
|
761
|
-
|
|
762
|
-
export type PurchaseOrderActivityLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
763
|
-
id?: boolean
|
|
764
|
-
uuid?: boolean
|
|
765
|
-
purchase_order_id?: boolean
|
|
766
|
-
user_id?: boolean
|
|
767
|
-
vendor_id?: boolean
|
|
768
|
-
activity_type?: boolean
|
|
769
|
-
remarks?: boolean
|
|
770
|
-
metadata?: boolean
|
|
771
|
-
created_at?: boolean
|
|
772
|
-
purchase_order?: boolean | Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs>
|
|
773
|
-
user?: boolean | Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs>
|
|
774
|
-
}, ExtArgs["result"]["purchaseOrderActivityLog"]>
|
|
775
|
-
|
|
776
|
-
export type PurchaseOrderActivityLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
777
|
-
id?: boolean
|
|
778
|
-
uuid?: boolean
|
|
779
|
-
purchase_order_id?: boolean
|
|
780
|
-
user_id?: boolean
|
|
781
|
-
vendor_id?: boolean
|
|
782
|
-
activity_type?: boolean
|
|
783
|
-
remarks?: boolean
|
|
784
|
-
metadata?: boolean
|
|
785
|
-
created_at?: boolean
|
|
786
|
-
purchase_order?: boolean | Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs>
|
|
787
|
-
user?: boolean | Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs>
|
|
788
|
-
}, ExtArgs["result"]["purchaseOrderActivityLog"]>
|
|
789
|
-
|
|
790
|
-
export type PurchaseOrderActivityLogSelectScalar = {
|
|
791
|
-
id?: boolean
|
|
792
|
-
uuid?: boolean
|
|
793
|
-
purchase_order_id?: boolean
|
|
794
|
-
user_id?: boolean
|
|
795
|
-
vendor_id?: boolean
|
|
796
|
-
activity_type?: boolean
|
|
797
|
-
remarks?: boolean
|
|
798
|
-
metadata?: boolean
|
|
799
|
-
created_at?: boolean
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
export type PurchaseOrderActivityLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "purchase_order_id" | "user_id" | "vendor_id" | "activity_type" | "remarks" | "metadata" | "created_at", ExtArgs["result"]["purchaseOrderActivityLog"]>
|
|
803
|
-
export type PurchaseOrderActivityLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
804
|
-
purchase_order?: boolean | Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs>
|
|
805
|
-
user?: boolean | Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs>
|
|
806
|
-
}
|
|
807
|
-
export type PurchaseOrderActivityLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
808
|
-
purchase_order?: boolean | Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs>
|
|
809
|
-
user?: boolean | Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs>
|
|
810
|
-
}
|
|
811
|
-
export type PurchaseOrderActivityLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
812
|
-
purchase_order?: boolean | Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs>
|
|
813
|
-
user?: boolean | Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs>
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
export type $PurchaseOrderActivityLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
817
|
-
name: "PurchaseOrderActivityLog"
|
|
818
|
-
objects: {
|
|
819
|
-
purchase_order: Prisma.$PurchaseOrderPayload<ExtArgs> | null
|
|
820
|
-
user: Prisma.$UserPayload<ExtArgs> | null
|
|
821
|
-
}
|
|
822
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
823
|
-
id: number
|
|
824
|
-
uuid: string
|
|
825
|
-
purchase_order_id: number | null
|
|
826
|
-
user_id: number | null
|
|
827
|
-
vendor_id: number | null
|
|
828
|
-
activity_type: $Enums.POActivityType | null
|
|
829
|
-
remarks: string | null
|
|
830
|
-
metadata: runtime.JsonValue | null
|
|
831
|
-
created_at: Date
|
|
832
|
-
}, ExtArgs["result"]["purchaseOrderActivityLog"]>
|
|
833
|
-
composites: {}
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
export type PurchaseOrderActivityLogGetPayload<S extends boolean | null | undefined | PurchaseOrderActivityLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload, S>
|
|
837
|
-
|
|
838
|
-
export type PurchaseOrderActivityLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
839
|
-
Omit<PurchaseOrderActivityLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
840
|
-
select?: PurchaseOrderActivityLogCountAggregateInputType | true
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
export interface PurchaseOrderActivityLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
844
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PurchaseOrderActivityLog'], meta: { name: 'PurchaseOrderActivityLog' } }
|
|
845
|
-
/**
|
|
846
|
-
* Find zero or one PurchaseOrderActivityLog that matches the filter.
|
|
847
|
-
* @param {PurchaseOrderActivityLogFindUniqueArgs} args - Arguments to find a PurchaseOrderActivityLog
|
|
848
|
-
* @example
|
|
849
|
-
* // Get one PurchaseOrderActivityLog
|
|
850
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.findUnique({
|
|
851
|
-
* where: {
|
|
852
|
-
* // ... provide filter here
|
|
853
|
-
* }
|
|
854
|
-
* })
|
|
855
|
-
*/
|
|
856
|
-
findUnique<T extends PurchaseOrderActivityLogFindUniqueArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* Find one PurchaseOrderActivityLog that matches the filter or throw an error with `error.code='P2025'`
|
|
860
|
-
* if no matches were found.
|
|
861
|
-
* @param {PurchaseOrderActivityLogFindUniqueOrThrowArgs} args - Arguments to find a PurchaseOrderActivityLog
|
|
862
|
-
* @example
|
|
863
|
-
* // Get one PurchaseOrderActivityLog
|
|
864
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.findUniqueOrThrow({
|
|
865
|
-
* where: {
|
|
866
|
-
* // ... provide filter here
|
|
867
|
-
* }
|
|
868
|
-
* })
|
|
869
|
-
*/
|
|
870
|
-
findUniqueOrThrow<T extends PurchaseOrderActivityLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* Find the first PurchaseOrderActivityLog that matches the filter.
|
|
874
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
875
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
876
|
-
* @param {PurchaseOrderActivityLogFindFirstArgs} args - Arguments to find a PurchaseOrderActivityLog
|
|
877
|
-
* @example
|
|
878
|
-
* // Get one PurchaseOrderActivityLog
|
|
879
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.findFirst({
|
|
880
|
-
* where: {
|
|
881
|
-
* // ... provide filter here
|
|
882
|
-
* }
|
|
883
|
-
* })
|
|
884
|
-
*/
|
|
885
|
-
findFirst<T extends PurchaseOrderActivityLogFindFirstArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderActivityLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* Find the first PurchaseOrderActivityLog that matches the filter or
|
|
889
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
890
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
891
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
892
|
-
* @param {PurchaseOrderActivityLogFindFirstOrThrowArgs} args - Arguments to find a PurchaseOrderActivityLog
|
|
893
|
-
* @example
|
|
894
|
-
* // Get one PurchaseOrderActivityLog
|
|
895
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.findFirstOrThrow({
|
|
896
|
-
* where: {
|
|
897
|
-
* // ... provide filter here
|
|
898
|
-
* }
|
|
899
|
-
* })
|
|
900
|
-
*/
|
|
901
|
-
findFirstOrThrow<T extends PurchaseOrderActivityLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderActivityLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
* Find zero or more PurchaseOrderActivityLogs that matches the filter.
|
|
905
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
906
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
907
|
-
* @param {PurchaseOrderActivityLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
908
|
-
* @example
|
|
909
|
-
* // Get all PurchaseOrderActivityLogs
|
|
910
|
-
* const purchaseOrderActivityLogs = await prisma.purchaseOrderActivityLog.findMany()
|
|
911
|
-
*
|
|
912
|
-
* // Get first 10 PurchaseOrderActivityLogs
|
|
913
|
-
* const purchaseOrderActivityLogs = await prisma.purchaseOrderActivityLog.findMany({ take: 10 })
|
|
914
|
-
*
|
|
915
|
-
* // Only select the `id`
|
|
916
|
-
* const purchaseOrderActivityLogWithIdOnly = await prisma.purchaseOrderActivityLog.findMany({ select: { id: true } })
|
|
917
|
-
*
|
|
918
|
-
*/
|
|
919
|
-
findMany<T extends PurchaseOrderActivityLogFindManyArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderActivityLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
920
|
-
|
|
921
|
-
/**
|
|
922
|
-
* Create a PurchaseOrderActivityLog.
|
|
923
|
-
* @param {PurchaseOrderActivityLogCreateArgs} args - Arguments to create a PurchaseOrderActivityLog.
|
|
924
|
-
* @example
|
|
925
|
-
* // Create one PurchaseOrderActivityLog
|
|
926
|
-
* const PurchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.create({
|
|
927
|
-
* data: {
|
|
928
|
-
* // ... data to create a PurchaseOrderActivityLog
|
|
929
|
-
* }
|
|
930
|
-
* })
|
|
931
|
-
*
|
|
932
|
-
*/
|
|
933
|
-
create<T extends PurchaseOrderActivityLogCreateArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogCreateArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* Create many PurchaseOrderActivityLogs.
|
|
937
|
-
* @param {PurchaseOrderActivityLogCreateManyArgs} args - Arguments to create many PurchaseOrderActivityLogs.
|
|
938
|
-
* @example
|
|
939
|
-
* // Create many PurchaseOrderActivityLogs
|
|
940
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.createMany({
|
|
941
|
-
* data: [
|
|
942
|
-
* // ... provide data here
|
|
943
|
-
* ]
|
|
944
|
-
* })
|
|
945
|
-
*
|
|
946
|
-
*/
|
|
947
|
-
createMany<T extends PurchaseOrderActivityLogCreateManyArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderActivityLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* Create many PurchaseOrderActivityLogs and returns the data saved in the database.
|
|
951
|
-
* @param {PurchaseOrderActivityLogCreateManyAndReturnArgs} args - Arguments to create many PurchaseOrderActivityLogs.
|
|
952
|
-
* @example
|
|
953
|
-
* // Create many PurchaseOrderActivityLogs
|
|
954
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.createManyAndReturn({
|
|
955
|
-
* data: [
|
|
956
|
-
* // ... provide data here
|
|
957
|
-
* ]
|
|
958
|
-
* })
|
|
959
|
-
*
|
|
960
|
-
* // Create many PurchaseOrderActivityLogs and only return the `id`
|
|
961
|
-
* const purchaseOrderActivityLogWithIdOnly = await prisma.purchaseOrderActivityLog.createManyAndReturn({
|
|
962
|
-
* select: { id: true },
|
|
963
|
-
* data: [
|
|
964
|
-
* // ... provide data here
|
|
965
|
-
* ]
|
|
966
|
-
* })
|
|
967
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
968
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
969
|
-
*
|
|
970
|
-
*/
|
|
971
|
-
createManyAndReturn<T extends PurchaseOrderActivityLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderActivityLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* Delete a PurchaseOrderActivityLog.
|
|
975
|
-
* @param {PurchaseOrderActivityLogDeleteArgs} args - Arguments to delete one PurchaseOrderActivityLog.
|
|
976
|
-
* @example
|
|
977
|
-
* // Delete one PurchaseOrderActivityLog
|
|
978
|
-
* const PurchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.delete({
|
|
979
|
-
* where: {
|
|
980
|
-
* // ... filter to delete one PurchaseOrderActivityLog
|
|
981
|
-
* }
|
|
982
|
-
* })
|
|
983
|
-
*
|
|
984
|
-
*/
|
|
985
|
-
delete<T extends PurchaseOrderActivityLogDeleteArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogDeleteArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Update one PurchaseOrderActivityLog.
|
|
989
|
-
* @param {PurchaseOrderActivityLogUpdateArgs} args - Arguments to update one PurchaseOrderActivityLog.
|
|
990
|
-
* @example
|
|
991
|
-
* // Update one PurchaseOrderActivityLog
|
|
992
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.update({
|
|
993
|
-
* where: {
|
|
994
|
-
* // ... provide filter here
|
|
995
|
-
* },
|
|
996
|
-
* data: {
|
|
997
|
-
* // ... provide data here
|
|
998
|
-
* }
|
|
999
|
-
* })
|
|
1000
|
-
*
|
|
1001
|
-
*/
|
|
1002
|
-
update<T extends PurchaseOrderActivityLogUpdateArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogUpdateArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* Delete zero or more PurchaseOrderActivityLogs.
|
|
1006
|
-
* @param {PurchaseOrderActivityLogDeleteManyArgs} args - Arguments to filter PurchaseOrderActivityLogs to delete.
|
|
1007
|
-
* @example
|
|
1008
|
-
* // Delete a few PurchaseOrderActivityLogs
|
|
1009
|
-
* const { count } = await prisma.purchaseOrderActivityLog.deleteMany({
|
|
1010
|
-
* where: {
|
|
1011
|
-
* // ... provide filter here
|
|
1012
|
-
* }
|
|
1013
|
-
* })
|
|
1014
|
-
*
|
|
1015
|
-
*/
|
|
1016
|
-
deleteMany<T extends PurchaseOrderActivityLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderActivityLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* Update zero or more PurchaseOrderActivityLogs.
|
|
1020
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1021
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1022
|
-
* @param {PurchaseOrderActivityLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1023
|
-
* @example
|
|
1024
|
-
* // Update many PurchaseOrderActivityLogs
|
|
1025
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.updateMany({
|
|
1026
|
-
* where: {
|
|
1027
|
-
* // ... provide filter here
|
|
1028
|
-
* },
|
|
1029
|
-
* data: {
|
|
1030
|
-
* // ... provide data here
|
|
1031
|
-
* }
|
|
1032
|
-
* })
|
|
1033
|
-
*
|
|
1034
|
-
*/
|
|
1035
|
-
updateMany<T extends PurchaseOrderActivityLogUpdateManyArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* Update zero or more PurchaseOrderActivityLogs and returns the data updated in the database.
|
|
1039
|
-
* @param {PurchaseOrderActivityLogUpdateManyAndReturnArgs} args - Arguments to update many PurchaseOrderActivityLogs.
|
|
1040
|
-
* @example
|
|
1041
|
-
* // Update many PurchaseOrderActivityLogs
|
|
1042
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.updateManyAndReturn({
|
|
1043
|
-
* where: {
|
|
1044
|
-
* // ... provide filter here
|
|
1045
|
-
* },
|
|
1046
|
-
* data: [
|
|
1047
|
-
* // ... provide data here
|
|
1048
|
-
* ]
|
|
1049
|
-
* })
|
|
1050
|
-
*
|
|
1051
|
-
* // Update zero or more PurchaseOrderActivityLogs and only return the `id`
|
|
1052
|
-
* const purchaseOrderActivityLogWithIdOnly = await prisma.purchaseOrderActivityLog.updateManyAndReturn({
|
|
1053
|
-
* select: { id: true },
|
|
1054
|
-
* where: {
|
|
1055
|
-
* // ... provide filter here
|
|
1056
|
-
* },
|
|
1057
|
-
* data: [
|
|
1058
|
-
* // ... provide data here
|
|
1059
|
-
* ]
|
|
1060
|
-
* })
|
|
1061
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1062
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1063
|
-
*
|
|
1064
|
-
*/
|
|
1065
|
-
updateManyAndReturn<T extends PurchaseOrderActivityLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* Create or update one PurchaseOrderActivityLog.
|
|
1069
|
-
* @param {PurchaseOrderActivityLogUpsertArgs} args - Arguments to update or create a PurchaseOrderActivityLog.
|
|
1070
|
-
* @example
|
|
1071
|
-
* // Update or create a PurchaseOrderActivityLog
|
|
1072
|
-
* const purchaseOrderActivityLog = await prisma.purchaseOrderActivityLog.upsert({
|
|
1073
|
-
* create: {
|
|
1074
|
-
* // ... data to create a PurchaseOrderActivityLog
|
|
1075
|
-
* },
|
|
1076
|
-
* update: {
|
|
1077
|
-
* // ... in case it already exists, update
|
|
1078
|
-
* },
|
|
1079
|
-
* where: {
|
|
1080
|
-
* // ... the filter for the PurchaseOrderActivityLog we want to update
|
|
1081
|
-
* }
|
|
1082
|
-
* })
|
|
1083
|
-
*/
|
|
1084
|
-
upsert<T extends PurchaseOrderActivityLogUpsertArgs>(args: Prisma.SelectSubset<T, PurchaseOrderActivityLogUpsertArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderActivityLogClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderActivityLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
/**
|
|
1088
|
-
* Count the number of PurchaseOrderActivityLogs.
|
|
1089
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1090
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1091
|
-
* @param {PurchaseOrderActivityLogCountArgs} args - Arguments to filter PurchaseOrderActivityLogs to count.
|
|
1092
|
-
* @example
|
|
1093
|
-
* // Count the number of PurchaseOrderActivityLogs
|
|
1094
|
-
* const count = await prisma.purchaseOrderActivityLog.count({
|
|
1095
|
-
* where: {
|
|
1096
|
-
* // ... the filter for the PurchaseOrderActivityLogs we want to count
|
|
1097
|
-
* }
|
|
1098
|
-
* })
|
|
1099
|
-
**/
|
|
1100
|
-
count<T extends PurchaseOrderActivityLogCountArgs>(
|
|
1101
|
-
args?: Prisma.Subset<T, PurchaseOrderActivityLogCountArgs>,
|
|
1102
|
-
): Prisma.PrismaPromise<
|
|
1103
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1104
|
-
? T['select'] extends true
|
|
1105
|
-
? number
|
|
1106
|
-
: Prisma.GetScalarType<T['select'], PurchaseOrderActivityLogCountAggregateOutputType>
|
|
1107
|
-
: number
|
|
1108
|
-
>
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* Allows you to perform aggregations operations on a PurchaseOrderActivityLog.
|
|
1112
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1113
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1114
|
-
* @param {PurchaseOrderActivityLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1115
|
-
* @example
|
|
1116
|
-
* // Ordered by age ascending
|
|
1117
|
-
* // Where email contains prisma.io
|
|
1118
|
-
* // Limited to the 10 users
|
|
1119
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1120
|
-
* _avg: {
|
|
1121
|
-
* age: true,
|
|
1122
|
-
* },
|
|
1123
|
-
* where: {
|
|
1124
|
-
* email: {
|
|
1125
|
-
* contains: "prisma.io",
|
|
1126
|
-
* },
|
|
1127
|
-
* },
|
|
1128
|
-
* orderBy: {
|
|
1129
|
-
* age: "asc",
|
|
1130
|
-
* },
|
|
1131
|
-
* take: 10,
|
|
1132
|
-
* })
|
|
1133
|
-
**/
|
|
1134
|
-
aggregate<T extends PurchaseOrderActivityLogAggregateArgs>(args: Prisma.Subset<T, PurchaseOrderActivityLogAggregateArgs>): Prisma.PrismaPromise<GetPurchaseOrderActivityLogAggregateType<T>>
|
|
1135
|
-
|
|
1136
|
-
/**
|
|
1137
|
-
* Group by PurchaseOrderActivityLog.
|
|
1138
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1139
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1140
|
-
* @param {PurchaseOrderActivityLogGroupByArgs} args - Group by arguments.
|
|
1141
|
-
* @example
|
|
1142
|
-
* // Group by city, order by createdAt, get count
|
|
1143
|
-
* const result = await prisma.user.groupBy({
|
|
1144
|
-
* by: ['city', 'createdAt'],
|
|
1145
|
-
* orderBy: {
|
|
1146
|
-
* createdAt: true
|
|
1147
|
-
* },
|
|
1148
|
-
* _count: {
|
|
1149
|
-
* _all: true
|
|
1150
|
-
* },
|
|
1151
|
-
* })
|
|
1152
|
-
*
|
|
1153
|
-
**/
|
|
1154
|
-
groupBy<
|
|
1155
|
-
T extends PurchaseOrderActivityLogGroupByArgs,
|
|
1156
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1157
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1158
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1159
|
-
>,
|
|
1160
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1161
|
-
? { orderBy: PurchaseOrderActivityLogGroupByArgs['orderBy'] }
|
|
1162
|
-
: { orderBy?: PurchaseOrderActivityLogGroupByArgs['orderBy'] },
|
|
1163
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1164
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1165
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1166
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1167
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1168
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1169
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1170
|
-
? `Error: "by" must not be empty.`
|
|
1171
|
-
: HavingValid extends Prisma.False
|
|
1172
|
-
? {
|
|
1173
|
-
[P in HavingFields]: P extends ByFields
|
|
1174
|
-
? never
|
|
1175
|
-
: P extends string
|
|
1176
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1177
|
-
: [
|
|
1178
|
-
Error,
|
|
1179
|
-
'Field ',
|
|
1180
|
-
P,
|
|
1181
|
-
` in "having" needs to be provided in "by"`,
|
|
1182
|
-
]
|
|
1183
|
-
}[HavingFields]
|
|
1184
|
-
: 'take' extends Prisma.Keys<T>
|
|
1185
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1186
|
-
? ByValid extends Prisma.True
|
|
1187
|
-
? {}
|
|
1188
|
-
: {
|
|
1189
|
-
[P in OrderFields]: P extends ByFields
|
|
1190
|
-
? never
|
|
1191
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1192
|
-
}[OrderFields]
|
|
1193
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1194
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1195
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1196
|
-
? ByValid extends Prisma.True
|
|
1197
|
-
? {}
|
|
1198
|
-
: {
|
|
1199
|
-
[P in OrderFields]: P extends ByFields
|
|
1200
|
-
? never
|
|
1201
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1202
|
-
}[OrderFields]
|
|
1203
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1204
|
-
: ByValid extends Prisma.True
|
|
1205
|
-
? {}
|
|
1206
|
-
: {
|
|
1207
|
-
[P in OrderFields]: P extends ByFields
|
|
1208
|
-
? never
|
|
1209
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1210
|
-
}[OrderFields]
|
|
1211
|
-
>(args: Prisma.SubsetIntersection<T, PurchaseOrderActivityLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPurchaseOrderActivityLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1212
|
-
/**
|
|
1213
|
-
* Fields of the PurchaseOrderActivityLog model
|
|
1214
|
-
*/
|
|
1215
|
-
readonly fields: PurchaseOrderActivityLogFieldRefs;
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
/**
|
|
1219
|
-
* The delegate class that acts as a "Promise-like" for PurchaseOrderActivityLog.
|
|
1220
|
-
* Why is this prefixed with `Prisma__`?
|
|
1221
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1222
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1223
|
-
*/
|
|
1224
|
-
export interface Prisma__PurchaseOrderActivityLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1225
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1226
|
-
purchase_order<T extends Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1227
|
-
user<T extends Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderActivityLog$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1228
|
-
/**
|
|
1229
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1230
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1231
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1232
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1233
|
-
*/
|
|
1234
|
-
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>
|
|
1235
|
-
/**
|
|
1236
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1237
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1238
|
-
* @returns A Promise for the completion of the callback.
|
|
1239
|
-
*/
|
|
1240
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1241
|
-
/**
|
|
1242
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1243
|
-
* resolved value cannot be modified from the callback.
|
|
1244
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1245
|
-
* @returns A Promise for the completion of the callback.
|
|
1246
|
-
*/
|
|
1247
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* Fields of the PurchaseOrderActivityLog model
|
|
1255
|
-
*/
|
|
1256
|
-
export interface PurchaseOrderActivityLogFieldRefs {
|
|
1257
|
-
readonly id: Prisma.FieldRef<"PurchaseOrderActivityLog", 'Int'>
|
|
1258
|
-
readonly uuid: Prisma.FieldRef<"PurchaseOrderActivityLog", 'String'>
|
|
1259
|
-
readonly purchase_order_id: Prisma.FieldRef<"PurchaseOrderActivityLog", 'Int'>
|
|
1260
|
-
readonly user_id: Prisma.FieldRef<"PurchaseOrderActivityLog", 'Int'>
|
|
1261
|
-
readonly vendor_id: Prisma.FieldRef<"PurchaseOrderActivityLog", 'Int'>
|
|
1262
|
-
readonly activity_type: Prisma.FieldRef<"PurchaseOrderActivityLog", 'POActivityType'>
|
|
1263
|
-
readonly remarks: Prisma.FieldRef<"PurchaseOrderActivityLog", 'String'>
|
|
1264
|
-
readonly metadata: Prisma.FieldRef<"PurchaseOrderActivityLog", 'Json'>
|
|
1265
|
-
readonly created_at: Prisma.FieldRef<"PurchaseOrderActivityLog", 'DateTime'>
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
// Custom InputTypes
|
|
1270
|
-
/**
|
|
1271
|
-
* PurchaseOrderActivityLog findUnique
|
|
1272
|
-
*/
|
|
1273
|
-
export type PurchaseOrderActivityLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1274
|
-
/**
|
|
1275
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1276
|
-
*/
|
|
1277
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1278
|
-
/**
|
|
1279
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1280
|
-
*/
|
|
1281
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1282
|
-
/**
|
|
1283
|
-
* Choose, which related nodes to fetch as well
|
|
1284
|
-
*/
|
|
1285
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1286
|
-
/**
|
|
1287
|
-
* Filter, which PurchaseOrderActivityLog to fetch.
|
|
1288
|
-
*/
|
|
1289
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
/**
|
|
1293
|
-
* PurchaseOrderActivityLog findUniqueOrThrow
|
|
1294
|
-
*/
|
|
1295
|
-
export type PurchaseOrderActivityLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1296
|
-
/**
|
|
1297
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1298
|
-
*/
|
|
1299
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1300
|
-
/**
|
|
1301
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1302
|
-
*/
|
|
1303
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1304
|
-
/**
|
|
1305
|
-
* Choose, which related nodes to fetch as well
|
|
1306
|
-
*/
|
|
1307
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1308
|
-
/**
|
|
1309
|
-
* Filter, which PurchaseOrderActivityLog to fetch.
|
|
1310
|
-
*/
|
|
1311
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
/**
|
|
1315
|
-
* PurchaseOrderActivityLog findFirst
|
|
1316
|
-
*/
|
|
1317
|
-
export type PurchaseOrderActivityLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1318
|
-
/**
|
|
1319
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1320
|
-
*/
|
|
1321
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1322
|
-
/**
|
|
1323
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1324
|
-
*/
|
|
1325
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1326
|
-
/**
|
|
1327
|
-
* Choose, which related nodes to fetch as well
|
|
1328
|
-
*/
|
|
1329
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1330
|
-
/**
|
|
1331
|
-
* Filter, which PurchaseOrderActivityLog to fetch.
|
|
1332
|
-
*/
|
|
1333
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
1334
|
-
/**
|
|
1335
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1336
|
-
*
|
|
1337
|
-
* Determine the order of PurchaseOrderActivityLogs to fetch.
|
|
1338
|
-
*/
|
|
1339
|
-
orderBy?: Prisma.PurchaseOrderActivityLogOrderByWithRelationInput | Prisma.PurchaseOrderActivityLogOrderByWithRelationInput[]
|
|
1340
|
-
/**
|
|
1341
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1342
|
-
*
|
|
1343
|
-
* Sets the position for searching for PurchaseOrderActivityLogs.
|
|
1344
|
-
*/
|
|
1345
|
-
cursor?: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1346
|
-
/**
|
|
1347
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1348
|
-
*
|
|
1349
|
-
* Take `±n` PurchaseOrderActivityLogs from the position of the cursor.
|
|
1350
|
-
*/
|
|
1351
|
-
take?: number
|
|
1352
|
-
/**
|
|
1353
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1354
|
-
*
|
|
1355
|
-
* Skip the first `n` PurchaseOrderActivityLogs.
|
|
1356
|
-
*/
|
|
1357
|
-
skip?: number
|
|
1358
|
-
/**
|
|
1359
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1360
|
-
*
|
|
1361
|
-
* Filter by unique combinations of PurchaseOrderActivityLogs.
|
|
1362
|
-
*/
|
|
1363
|
-
distinct?: Prisma.PurchaseOrderActivityLogScalarFieldEnum | Prisma.PurchaseOrderActivityLogScalarFieldEnum[]
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* PurchaseOrderActivityLog findFirstOrThrow
|
|
1368
|
-
*/
|
|
1369
|
-
export type PurchaseOrderActivityLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1370
|
-
/**
|
|
1371
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1372
|
-
*/
|
|
1373
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1374
|
-
/**
|
|
1375
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1376
|
-
*/
|
|
1377
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1378
|
-
/**
|
|
1379
|
-
* Choose, which related nodes to fetch as well
|
|
1380
|
-
*/
|
|
1381
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1382
|
-
/**
|
|
1383
|
-
* Filter, which PurchaseOrderActivityLog to fetch.
|
|
1384
|
-
*/
|
|
1385
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
1386
|
-
/**
|
|
1387
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1388
|
-
*
|
|
1389
|
-
* Determine the order of PurchaseOrderActivityLogs to fetch.
|
|
1390
|
-
*/
|
|
1391
|
-
orderBy?: Prisma.PurchaseOrderActivityLogOrderByWithRelationInput | Prisma.PurchaseOrderActivityLogOrderByWithRelationInput[]
|
|
1392
|
-
/**
|
|
1393
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1394
|
-
*
|
|
1395
|
-
* Sets the position for searching for PurchaseOrderActivityLogs.
|
|
1396
|
-
*/
|
|
1397
|
-
cursor?: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1398
|
-
/**
|
|
1399
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1400
|
-
*
|
|
1401
|
-
* Take `±n` PurchaseOrderActivityLogs from the position of the cursor.
|
|
1402
|
-
*/
|
|
1403
|
-
take?: number
|
|
1404
|
-
/**
|
|
1405
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1406
|
-
*
|
|
1407
|
-
* Skip the first `n` PurchaseOrderActivityLogs.
|
|
1408
|
-
*/
|
|
1409
|
-
skip?: number
|
|
1410
|
-
/**
|
|
1411
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1412
|
-
*
|
|
1413
|
-
* Filter by unique combinations of PurchaseOrderActivityLogs.
|
|
1414
|
-
*/
|
|
1415
|
-
distinct?: Prisma.PurchaseOrderActivityLogScalarFieldEnum | Prisma.PurchaseOrderActivityLogScalarFieldEnum[]
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
/**
|
|
1419
|
-
* PurchaseOrderActivityLog findMany
|
|
1420
|
-
*/
|
|
1421
|
-
export type PurchaseOrderActivityLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1422
|
-
/**
|
|
1423
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1424
|
-
*/
|
|
1425
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1426
|
-
/**
|
|
1427
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1428
|
-
*/
|
|
1429
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1430
|
-
/**
|
|
1431
|
-
* Choose, which related nodes to fetch as well
|
|
1432
|
-
*/
|
|
1433
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1434
|
-
/**
|
|
1435
|
-
* Filter, which PurchaseOrderActivityLogs to fetch.
|
|
1436
|
-
*/
|
|
1437
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
1438
|
-
/**
|
|
1439
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1440
|
-
*
|
|
1441
|
-
* Determine the order of PurchaseOrderActivityLogs to fetch.
|
|
1442
|
-
*/
|
|
1443
|
-
orderBy?: Prisma.PurchaseOrderActivityLogOrderByWithRelationInput | Prisma.PurchaseOrderActivityLogOrderByWithRelationInput[]
|
|
1444
|
-
/**
|
|
1445
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1446
|
-
*
|
|
1447
|
-
* Sets the position for listing PurchaseOrderActivityLogs.
|
|
1448
|
-
*/
|
|
1449
|
-
cursor?: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1450
|
-
/**
|
|
1451
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1452
|
-
*
|
|
1453
|
-
* Take `±n` PurchaseOrderActivityLogs from the position of the cursor.
|
|
1454
|
-
*/
|
|
1455
|
-
take?: number
|
|
1456
|
-
/**
|
|
1457
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1458
|
-
*
|
|
1459
|
-
* Skip the first `n` PurchaseOrderActivityLogs.
|
|
1460
|
-
*/
|
|
1461
|
-
skip?: number
|
|
1462
|
-
/**
|
|
1463
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1464
|
-
*
|
|
1465
|
-
* Filter by unique combinations of PurchaseOrderActivityLogs.
|
|
1466
|
-
*/
|
|
1467
|
-
distinct?: Prisma.PurchaseOrderActivityLogScalarFieldEnum | Prisma.PurchaseOrderActivityLogScalarFieldEnum[]
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
/**
|
|
1471
|
-
* PurchaseOrderActivityLog create
|
|
1472
|
-
*/
|
|
1473
|
-
export type PurchaseOrderActivityLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1474
|
-
/**
|
|
1475
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1476
|
-
*/
|
|
1477
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1478
|
-
/**
|
|
1479
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1480
|
-
*/
|
|
1481
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1482
|
-
/**
|
|
1483
|
-
* Choose, which related nodes to fetch as well
|
|
1484
|
-
*/
|
|
1485
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1486
|
-
/**
|
|
1487
|
-
* The data needed to create a PurchaseOrderActivityLog.
|
|
1488
|
-
*/
|
|
1489
|
-
data?: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateInput, Prisma.PurchaseOrderActivityLogUncheckedCreateInput>
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
/**
|
|
1493
|
-
* PurchaseOrderActivityLog createMany
|
|
1494
|
-
*/
|
|
1495
|
-
export type PurchaseOrderActivityLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1496
|
-
/**
|
|
1497
|
-
* The data used to create many PurchaseOrderActivityLogs.
|
|
1498
|
-
*/
|
|
1499
|
-
data: Prisma.PurchaseOrderActivityLogCreateManyInput | Prisma.PurchaseOrderActivityLogCreateManyInput[]
|
|
1500
|
-
skipDuplicates?: boolean
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* PurchaseOrderActivityLog createManyAndReturn
|
|
1505
|
-
*/
|
|
1506
|
-
export type PurchaseOrderActivityLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1507
|
-
/**
|
|
1508
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1509
|
-
*/
|
|
1510
|
-
select?: Prisma.PurchaseOrderActivityLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
1511
|
-
/**
|
|
1512
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1513
|
-
*/
|
|
1514
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1515
|
-
/**
|
|
1516
|
-
* The data used to create many PurchaseOrderActivityLogs.
|
|
1517
|
-
*/
|
|
1518
|
-
data: Prisma.PurchaseOrderActivityLogCreateManyInput | Prisma.PurchaseOrderActivityLogCreateManyInput[]
|
|
1519
|
-
skipDuplicates?: boolean
|
|
1520
|
-
/**
|
|
1521
|
-
* Choose, which related nodes to fetch as well
|
|
1522
|
-
*/
|
|
1523
|
-
include?: Prisma.PurchaseOrderActivityLogIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
/**
|
|
1527
|
-
* PurchaseOrderActivityLog update
|
|
1528
|
-
*/
|
|
1529
|
-
export type PurchaseOrderActivityLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1530
|
-
/**
|
|
1531
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1532
|
-
*/
|
|
1533
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1534
|
-
/**
|
|
1535
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1536
|
-
*/
|
|
1537
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1538
|
-
/**
|
|
1539
|
-
* Choose, which related nodes to fetch as well
|
|
1540
|
-
*/
|
|
1541
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1542
|
-
/**
|
|
1543
|
-
* The data needed to update a PurchaseOrderActivityLog.
|
|
1544
|
-
*/
|
|
1545
|
-
data: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateInput>
|
|
1546
|
-
/**
|
|
1547
|
-
* Choose, which PurchaseOrderActivityLog to update.
|
|
1548
|
-
*/
|
|
1549
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* PurchaseOrderActivityLog updateMany
|
|
1554
|
-
*/
|
|
1555
|
-
export type PurchaseOrderActivityLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1556
|
-
/**
|
|
1557
|
-
* The data used to update PurchaseOrderActivityLogs.
|
|
1558
|
-
*/
|
|
1559
|
-
data: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateManyMutationInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateManyInput>
|
|
1560
|
-
/**
|
|
1561
|
-
* Filter which PurchaseOrderActivityLogs to update
|
|
1562
|
-
*/
|
|
1563
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
1564
|
-
/**
|
|
1565
|
-
* Limit how many PurchaseOrderActivityLogs to update.
|
|
1566
|
-
*/
|
|
1567
|
-
limit?: number
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* PurchaseOrderActivityLog updateManyAndReturn
|
|
1572
|
-
*/
|
|
1573
|
-
export type PurchaseOrderActivityLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1574
|
-
/**
|
|
1575
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1576
|
-
*/
|
|
1577
|
-
select?: Prisma.PurchaseOrderActivityLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1578
|
-
/**
|
|
1579
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1580
|
-
*/
|
|
1581
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1582
|
-
/**
|
|
1583
|
-
* The data used to update PurchaseOrderActivityLogs.
|
|
1584
|
-
*/
|
|
1585
|
-
data: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateManyMutationInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateManyInput>
|
|
1586
|
-
/**
|
|
1587
|
-
* Filter which PurchaseOrderActivityLogs to update
|
|
1588
|
-
*/
|
|
1589
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
1590
|
-
/**
|
|
1591
|
-
* Limit how many PurchaseOrderActivityLogs to update.
|
|
1592
|
-
*/
|
|
1593
|
-
limit?: number
|
|
1594
|
-
/**
|
|
1595
|
-
* Choose, which related nodes to fetch as well
|
|
1596
|
-
*/
|
|
1597
|
-
include?: Prisma.PurchaseOrderActivityLogIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
/**
|
|
1601
|
-
* PurchaseOrderActivityLog upsert
|
|
1602
|
-
*/
|
|
1603
|
-
export type PurchaseOrderActivityLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1604
|
-
/**
|
|
1605
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1606
|
-
*/
|
|
1607
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1608
|
-
/**
|
|
1609
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1610
|
-
*/
|
|
1611
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1612
|
-
/**
|
|
1613
|
-
* Choose, which related nodes to fetch as well
|
|
1614
|
-
*/
|
|
1615
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1616
|
-
/**
|
|
1617
|
-
* The filter to search for the PurchaseOrderActivityLog to update in case it exists.
|
|
1618
|
-
*/
|
|
1619
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1620
|
-
/**
|
|
1621
|
-
* In case the PurchaseOrderActivityLog found by the `where` argument doesn't exist, create a new PurchaseOrderActivityLog with this data.
|
|
1622
|
-
*/
|
|
1623
|
-
create: Prisma.XOR<Prisma.PurchaseOrderActivityLogCreateInput, Prisma.PurchaseOrderActivityLogUncheckedCreateInput>
|
|
1624
|
-
/**
|
|
1625
|
-
* In case the PurchaseOrderActivityLog was found with the provided `where` argument, update it with this data.
|
|
1626
|
-
*/
|
|
1627
|
-
update: Prisma.XOR<Prisma.PurchaseOrderActivityLogUpdateInput, Prisma.PurchaseOrderActivityLogUncheckedUpdateInput>
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
/**
|
|
1631
|
-
* PurchaseOrderActivityLog delete
|
|
1632
|
-
*/
|
|
1633
|
-
export type PurchaseOrderActivityLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1634
|
-
/**
|
|
1635
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1636
|
-
*/
|
|
1637
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1638
|
-
/**
|
|
1639
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1640
|
-
*/
|
|
1641
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1642
|
-
/**
|
|
1643
|
-
* Choose, which related nodes to fetch as well
|
|
1644
|
-
*/
|
|
1645
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1646
|
-
/**
|
|
1647
|
-
* Filter which PurchaseOrderActivityLog to delete.
|
|
1648
|
-
*/
|
|
1649
|
-
where: Prisma.PurchaseOrderActivityLogWhereUniqueInput
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
/**
|
|
1653
|
-
* PurchaseOrderActivityLog deleteMany
|
|
1654
|
-
*/
|
|
1655
|
-
export type PurchaseOrderActivityLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1656
|
-
/**
|
|
1657
|
-
* Filter which PurchaseOrderActivityLogs to delete
|
|
1658
|
-
*/
|
|
1659
|
-
where?: Prisma.PurchaseOrderActivityLogWhereInput
|
|
1660
|
-
/**
|
|
1661
|
-
* Limit how many PurchaseOrderActivityLogs to delete.
|
|
1662
|
-
*/
|
|
1663
|
-
limit?: number
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
/**
|
|
1667
|
-
* PurchaseOrderActivityLog.purchase_order
|
|
1668
|
-
*/
|
|
1669
|
-
export type PurchaseOrderActivityLog$purchase_orderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1670
|
-
/**
|
|
1671
|
-
* Select specific fields to fetch from the PurchaseOrder
|
|
1672
|
-
*/
|
|
1673
|
-
select?: Prisma.PurchaseOrderSelect<ExtArgs> | null
|
|
1674
|
-
/**
|
|
1675
|
-
* Omit specific fields from the PurchaseOrder
|
|
1676
|
-
*/
|
|
1677
|
-
omit?: Prisma.PurchaseOrderOmit<ExtArgs> | null
|
|
1678
|
-
/**
|
|
1679
|
-
* Choose, which related nodes to fetch as well
|
|
1680
|
-
*/
|
|
1681
|
-
include?: Prisma.PurchaseOrderInclude<ExtArgs> | null
|
|
1682
|
-
where?: Prisma.PurchaseOrderWhereInput
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
/**
|
|
1686
|
-
* PurchaseOrderActivityLog.user
|
|
1687
|
-
*/
|
|
1688
|
-
export type PurchaseOrderActivityLog$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1689
|
-
/**
|
|
1690
|
-
* Select specific fields to fetch from the User
|
|
1691
|
-
*/
|
|
1692
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
1693
|
-
/**
|
|
1694
|
-
* Omit specific fields from the User
|
|
1695
|
-
*/
|
|
1696
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
1697
|
-
/**
|
|
1698
|
-
* Choose, which related nodes to fetch as well
|
|
1699
|
-
*/
|
|
1700
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
1701
|
-
where?: Prisma.UserWhereInput
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
/**
|
|
1705
|
-
* PurchaseOrderActivityLog without action
|
|
1706
|
-
*/
|
|
1707
|
-
export type PurchaseOrderActivityLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1708
|
-
/**
|
|
1709
|
-
* Select specific fields to fetch from the PurchaseOrderActivityLog
|
|
1710
|
-
*/
|
|
1711
|
-
select?: Prisma.PurchaseOrderActivityLogSelect<ExtArgs> | null
|
|
1712
|
-
/**
|
|
1713
|
-
* Omit specific fields from the PurchaseOrderActivityLog
|
|
1714
|
-
*/
|
|
1715
|
-
omit?: Prisma.PurchaseOrderActivityLogOmit<ExtArgs> | null
|
|
1716
|
-
/**
|
|
1717
|
-
* Choose, which related nodes to fetch as well
|
|
1718
|
-
*/
|
|
1719
|
-
include?: Prisma.PurchaseOrderActivityLogInclude<ExtArgs> | null
|
|
1720
|
-
}
|