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