procbay-schema 1.0.171 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,2429 +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 `Template` 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 Template
17
- *
18
- */
19
- export type TemplateModel = runtime.Types.Result.DefaultSelection<Prisma.$TemplatePayload>
20
-
21
- export type AggregateTemplate = {
22
- _count: TemplateCountAggregateOutputType | null
23
- _avg: TemplateAvgAggregateOutputType | null
24
- _sum: TemplateSumAggregateOutputType | null
25
- _min: TemplateMinAggregateOutputType | null
26
- _max: TemplateMaxAggregateOutputType | null
27
- }
28
-
29
- export type TemplateAvgAggregateOutputType = {
30
- id: number | null
31
- currency_id: number | null
32
- created_by: number | null
33
- updated_by: number | null
34
- deleted_by: number | null
35
- }
36
-
37
- export type TemplateSumAggregateOutputType = {
38
- id: number | null
39
- currency_id: number | null
40
- created_by: number | null
41
- updated_by: number | null
42
- deleted_by: number | null
43
- }
44
-
45
- export type TemplateMinAggregateOutputType = {
46
- id: number | null
47
- uuid: string | null
48
- template_code: string | null
49
- template_name: string | null
50
- currency_id: number | null
51
- is_active: boolean | null
52
- is_deleted: boolean | null
53
- created_at: Date | null
54
- created_by: number | null
55
- updated_at: Date | null
56
- updated_by: number | null
57
- deleted_at: Date | null
58
- deleted_by: number | null
59
- }
60
-
61
- export type TemplateMaxAggregateOutputType = {
62
- id: number | null
63
- uuid: string | null
64
- template_code: string | null
65
- template_name: string | null
66
- currency_id: number | null
67
- is_active: boolean | null
68
- is_deleted: boolean | null
69
- created_at: Date | null
70
- created_by: number | null
71
- updated_at: Date | null
72
- updated_by: number | null
73
- deleted_at: Date | null
74
- deleted_by: number | null
75
- }
76
-
77
- export type TemplateCountAggregateOutputType = {
78
- id: number
79
- uuid: number
80
- template_code: number
81
- template_name: number
82
- template_type: number
83
- currency_id: number
84
- is_active: number
85
- is_deleted: number
86
- created_at: number
87
- created_by: number
88
- updated_at: number
89
- updated_by: number
90
- deleted_at: number
91
- deleted_by: number
92
- _all: number
93
- }
94
-
95
-
96
- export type TemplateAvgAggregateInputType = {
97
- id?: true
98
- currency_id?: true
99
- created_by?: true
100
- updated_by?: true
101
- deleted_by?: true
102
- }
103
-
104
- export type TemplateSumAggregateInputType = {
105
- id?: true
106
- currency_id?: true
107
- created_by?: true
108
- updated_by?: true
109
- deleted_by?: true
110
- }
111
-
112
- export type TemplateMinAggregateInputType = {
113
- id?: true
114
- uuid?: true
115
- template_code?: true
116
- template_name?: true
117
- currency_id?: true
118
- is_active?: true
119
- is_deleted?: true
120
- created_at?: true
121
- created_by?: true
122
- updated_at?: true
123
- updated_by?: true
124
- deleted_at?: true
125
- deleted_by?: true
126
- }
127
-
128
- export type TemplateMaxAggregateInputType = {
129
- id?: true
130
- uuid?: true
131
- template_code?: true
132
- template_name?: true
133
- currency_id?: true
134
- is_active?: true
135
- is_deleted?: true
136
- created_at?: true
137
- created_by?: true
138
- updated_at?: true
139
- updated_by?: true
140
- deleted_at?: true
141
- deleted_by?: true
142
- }
143
-
144
- export type TemplateCountAggregateInputType = {
145
- id?: true
146
- uuid?: true
147
- template_code?: true
148
- template_name?: true
149
- template_type?: true
150
- currency_id?: true
151
- is_active?: true
152
- is_deleted?: true
153
- created_at?: true
154
- created_by?: true
155
- updated_at?: true
156
- updated_by?: true
157
- deleted_at?: true
158
- deleted_by?: true
159
- _all?: true
160
- }
161
-
162
- export type TemplateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
163
- /**
164
- * Filter which Template to aggregate.
165
- */
166
- where?: Prisma.TemplateWhereInput
167
- /**
168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
169
- *
170
- * Determine the order of Templates to fetch.
171
- */
172
- orderBy?: Prisma.TemplateOrderByWithRelationInput | Prisma.TemplateOrderByWithRelationInput[]
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.TemplateWhereUniqueInput
179
- /**
180
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
181
- *
182
- * Take `±n` Templates 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` Templates.
189
- */
190
- skip?: number
191
- /**
192
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
193
- *
194
- * Count returned Templates
195
- **/
196
- _count?: true | TemplateCountAggregateInputType
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?: TemplateAvgAggregateInputType
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?: TemplateSumAggregateInputType
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?: TemplateMinAggregateInputType
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?: TemplateMaxAggregateInputType
221
- }
222
-
223
- export type GetTemplateAggregateType<T extends TemplateAggregateArgs> = {
224
- [P in keyof T & keyof AggregateTemplate]: P extends '_count' | 'count'
225
- ? T[P] extends true
226
- ? number
227
- : Prisma.GetScalarType<T[P], AggregateTemplate[P]>
228
- : Prisma.GetScalarType<T[P], AggregateTemplate[P]>
229
- }
230
-
231
-
232
-
233
-
234
- export type TemplateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
235
- where?: Prisma.TemplateWhereInput
236
- orderBy?: Prisma.TemplateOrderByWithAggregationInput | Prisma.TemplateOrderByWithAggregationInput[]
237
- by: Prisma.TemplateScalarFieldEnum[] | Prisma.TemplateScalarFieldEnum
238
- having?: Prisma.TemplateScalarWhereWithAggregatesInput
239
- take?: number
240
- skip?: number
241
- _count?: TemplateCountAggregateInputType | true
242
- _avg?: TemplateAvgAggregateInputType
243
- _sum?: TemplateSumAggregateInputType
244
- _min?: TemplateMinAggregateInputType
245
- _max?: TemplateMaxAggregateInputType
246
- }
247
-
248
- export type TemplateGroupByOutputType = {
249
- id: number
250
- uuid: string | null
251
- template_code: string | null
252
- template_name: string | null
253
- template_type: runtime.JsonValue | null
254
- currency_id: number | null
255
- is_active: boolean | null
256
- is_deleted: boolean | null
257
- created_at: Date | null
258
- created_by: number | null
259
- updated_at: Date | null
260
- updated_by: number | null
261
- deleted_at: Date | null
262
- deleted_by: number | null
263
- _count: TemplateCountAggregateOutputType | null
264
- _avg: TemplateAvgAggregateOutputType | null
265
- _sum: TemplateSumAggregateOutputType | null
266
- _min: TemplateMinAggregateOutputType | null
267
- _max: TemplateMaxAggregateOutputType | null
268
- }
269
-
270
- export type GetTemplateGroupByPayload<T extends TemplateGroupByArgs> = Prisma.PrismaPromise<
271
- Array<
272
- Prisma.PickEnumerable<TemplateGroupByOutputType, T['by']> &
273
- {
274
- [P in ((keyof T) & (keyof TemplateGroupByOutputType))]: P extends '_count'
275
- ? T[P] extends boolean
276
- ? number
277
- : Prisma.GetScalarType<T[P], TemplateGroupByOutputType[P]>
278
- : Prisma.GetScalarType<T[P], TemplateGroupByOutputType[P]>
279
- }
280
- >
281
- >
282
-
283
-
284
-
285
- export type TemplateWhereInput = {
286
- AND?: Prisma.TemplateWhereInput | Prisma.TemplateWhereInput[]
287
- OR?: Prisma.TemplateWhereInput[]
288
- NOT?: Prisma.TemplateWhereInput | Prisma.TemplateWhereInput[]
289
- id?: Prisma.IntFilter<"Template"> | number
290
- uuid?: Prisma.StringNullableFilter<"Template"> | string | null
291
- template_code?: Prisma.StringNullableFilter<"Template"> | string | null
292
- template_name?: Prisma.StringNullableFilter<"Template"> | string | null
293
- template_type?: Prisma.JsonNullableFilter<"Template">
294
- currency_id?: Prisma.IntNullableFilter<"Template"> | number | null
295
- is_active?: Prisma.BoolNullableFilter<"Template"> | boolean | null
296
- is_deleted?: Prisma.BoolNullableFilter<"Template"> | boolean | null
297
- created_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
298
- created_by?: Prisma.IntNullableFilter<"Template"> | number | null
299
- updated_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
300
- updated_by?: Prisma.IntNullableFilter<"Template"> | number | null
301
- deleted_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
302
- deleted_by?: Prisma.IntNullableFilter<"Template"> | number | null
303
- currency?: Prisma.XOR<Prisma.CurrencyNullableScalarRelationFilter, Prisma.CurrencyWhereInput> | null
304
- fields?: Prisma.TemplateFieldListRelationFilter
305
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
306
- event?: Prisma.EventListRelationFilter
307
- template_strategies?: Prisma.TemplateStrategiesListRelationFilter
308
- }
309
-
310
- export type TemplateOrderByWithRelationInput = {
311
- id?: Prisma.SortOrder
312
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
313
- template_code?: Prisma.SortOrderInput | Prisma.SortOrder
314
- template_name?: Prisma.SortOrderInput | Prisma.SortOrder
315
- template_type?: Prisma.SortOrderInput | Prisma.SortOrder
316
- currency_id?: Prisma.SortOrderInput | Prisma.SortOrder
317
- is_active?: Prisma.SortOrderInput | Prisma.SortOrder
318
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
319
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
320
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
321
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
322
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
323
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
324
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
325
- currency?: Prisma.CurrencyOrderByWithRelationInput
326
- fields?: Prisma.TemplateFieldOrderByRelationAggregateInput
327
- user?: Prisma.UserOrderByWithRelationInput
328
- event?: Prisma.EventOrderByRelationAggregateInput
329
- template_strategies?: Prisma.TemplateStrategiesOrderByRelationAggregateInput
330
- }
331
-
332
- export type TemplateWhereUniqueInput = Prisma.AtLeast<{
333
- id?: number
334
- uuid?: string
335
- template_code?: string
336
- template_name?: string
337
- AND?: Prisma.TemplateWhereInput | Prisma.TemplateWhereInput[]
338
- OR?: Prisma.TemplateWhereInput[]
339
- NOT?: Prisma.TemplateWhereInput | Prisma.TemplateWhereInput[]
340
- template_type?: Prisma.JsonNullableFilter<"Template">
341
- currency_id?: Prisma.IntNullableFilter<"Template"> | number | null
342
- is_active?: Prisma.BoolNullableFilter<"Template"> | boolean | null
343
- is_deleted?: Prisma.BoolNullableFilter<"Template"> | boolean | null
344
- created_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
345
- created_by?: Prisma.IntNullableFilter<"Template"> | number | null
346
- updated_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
347
- updated_by?: Prisma.IntNullableFilter<"Template"> | number | null
348
- deleted_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
349
- deleted_by?: Prisma.IntNullableFilter<"Template"> | number | null
350
- currency?: Prisma.XOR<Prisma.CurrencyNullableScalarRelationFilter, Prisma.CurrencyWhereInput> | null
351
- fields?: Prisma.TemplateFieldListRelationFilter
352
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
353
- event?: Prisma.EventListRelationFilter
354
- template_strategies?: Prisma.TemplateStrategiesListRelationFilter
355
- }, "id" | "uuid" | "template_code" | "template_name">
356
-
357
- export type TemplateOrderByWithAggregationInput = {
358
- id?: Prisma.SortOrder
359
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
360
- template_code?: Prisma.SortOrderInput | Prisma.SortOrder
361
- template_name?: Prisma.SortOrderInput | Prisma.SortOrder
362
- template_type?: Prisma.SortOrderInput | Prisma.SortOrder
363
- currency_id?: Prisma.SortOrderInput | Prisma.SortOrder
364
- is_active?: Prisma.SortOrderInput | Prisma.SortOrder
365
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
366
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
367
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
368
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
369
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
370
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
371
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
372
- _count?: Prisma.TemplateCountOrderByAggregateInput
373
- _avg?: Prisma.TemplateAvgOrderByAggregateInput
374
- _max?: Prisma.TemplateMaxOrderByAggregateInput
375
- _min?: Prisma.TemplateMinOrderByAggregateInput
376
- _sum?: Prisma.TemplateSumOrderByAggregateInput
377
- }
378
-
379
- export type TemplateScalarWhereWithAggregatesInput = {
380
- AND?: Prisma.TemplateScalarWhereWithAggregatesInput | Prisma.TemplateScalarWhereWithAggregatesInput[]
381
- OR?: Prisma.TemplateScalarWhereWithAggregatesInput[]
382
- NOT?: Prisma.TemplateScalarWhereWithAggregatesInput | Prisma.TemplateScalarWhereWithAggregatesInput[]
383
- id?: Prisma.IntWithAggregatesFilter<"Template"> | number
384
- uuid?: Prisma.StringNullableWithAggregatesFilter<"Template"> | string | null
385
- template_code?: Prisma.StringNullableWithAggregatesFilter<"Template"> | string | null
386
- template_name?: Prisma.StringNullableWithAggregatesFilter<"Template"> | string | null
387
- template_type?: Prisma.JsonNullableWithAggregatesFilter<"Template">
388
- currency_id?: Prisma.IntNullableWithAggregatesFilter<"Template"> | number | null
389
- is_active?: Prisma.BoolNullableWithAggregatesFilter<"Template"> | boolean | null
390
- is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"Template"> | boolean | null
391
- created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Template"> | Date | string | null
392
- created_by?: Prisma.IntNullableWithAggregatesFilter<"Template"> | number | null
393
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Template"> | Date | string | null
394
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"Template"> | number | null
395
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Template"> | Date | string | null
396
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"Template"> | number | null
397
- }
398
-
399
- export type TemplateCreateInput = {
400
- uuid?: string | null
401
- template_code?: string | null
402
- template_name?: string | null
403
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
404
- is_active?: boolean | null
405
- is_deleted?: boolean | null
406
- created_at?: Date | string | null
407
- updated_at?: Date | string | null
408
- updated_by?: number | null
409
- deleted_at?: Date | string | null
410
- deleted_by?: number | null
411
- currency?: Prisma.CurrencyCreateNestedOneWithoutTemplateInput
412
- fields?: Prisma.TemplateFieldCreateNestedManyWithoutTemplateInput
413
- user?: Prisma.UserCreateNestedOneWithoutTemplateInput
414
- event?: Prisma.EventCreateNestedManyWithoutTemplateInput
415
- template_strategies?: Prisma.TemplateStrategiesCreateNestedManyWithoutTemplateInput
416
- }
417
-
418
- export type TemplateUncheckedCreateInput = {
419
- id?: number
420
- uuid?: string | null
421
- template_code?: string | null
422
- template_name?: string | null
423
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
424
- currency_id?: number | null
425
- is_active?: boolean | null
426
- is_deleted?: boolean | null
427
- created_at?: Date | string | null
428
- created_by?: number | null
429
- updated_at?: Date | string | null
430
- updated_by?: number | null
431
- deleted_at?: Date | string | null
432
- deleted_by?: number | null
433
- fields?: Prisma.TemplateFieldUncheckedCreateNestedManyWithoutTemplateInput
434
- event?: Prisma.EventUncheckedCreateNestedManyWithoutTemplateInput
435
- template_strategies?: Prisma.TemplateStrategiesUncheckedCreateNestedManyWithoutTemplateInput
436
- }
437
-
438
- export type TemplateUpdateInput = {
439
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
440
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
441
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
442
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
443
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
444
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
445
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
446
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
447
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
448
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
449
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
450
- currency?: Prisma.CurrencyUpdateOneWithoutTemplateNestedInput
451
- fields?: Prisma.TemplateFieldUpdateManyWithoutTemplateNestedInput
452
- user?: Prisma.UserUpdateOneWithoutTemplateNestedInput
453
- event?: Prisma.EventUpdateManyWithoutTemplateNestedInput
454
- template_strategies?: Prisma.TemplateStrategiesUpdateManyWithoutTemplateNestedInput
455
- }
456
-
457
- export type TemplateUncheckedUpdateInput = {
458
- id?: Prisma.IntFieldUpdateOperationsInput | number
459
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
460
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
461
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
462
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
463
- currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
464
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
465
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
466
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
467
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
468
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
469
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
470
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
471
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
472
- fields?: Prisma.TemplateFieldUncheckedUpdateManyWithoutTemplateNestedInput
473
- event?: Prisma.EventUncheckedUpdateManyWithoutTemplateNestedInput
474
- template_strategies?: Prisma.TemplateStrategiesUncheckedUpdateManyWithoutTemplateNestedInput
475
- }
476
-
477
- export type TemplateCreateManyInput = {
478
- id?: number
479
- uuid?: string | null
480
- template_code?: string | null
481
- template_name?: string | null
482
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
483
- currency_id?: number | null
484
- is_active?: boolean | null
485
- is_deleted?: boolean | null
486
- created_at?: Date | string | null
487
- created_by?: number | null
488
- updated_at?: Date | string | null
489
- updated_by?: number | null
490
- deleted_at?: Date | string | null
491
- deleted_by?: number | null
492
- }
493
-
494
- export type TemplateUpdateManyMutationInput = {
495
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
496
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
497
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
498
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
499
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
500
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
501
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
502
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
503
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
504
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
505
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
506
- }
507
-
508
- export type TemplateUncheckedUpdateManyInput = {
509
- id?: Prisma.IntFieldUpdateOperationsInput | number
510
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
511
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
512
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
513
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
514
- currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
515
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
516
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
517
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
518
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
519
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
520
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
521
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
522
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
523
- }
524
-
525
- export type TemplateListRelationFilter = {
526
- every?: Prisma.TemplateWhereInput
527
- some?: Prisma.TemplateWhereInput
528
- none?: Prisma.TemplateWhereInput
529
- }
530
-
531
- export type TemplateOrderByRelationAggregateInput = {
532
- _count?: Prisma.SortOrder
533
- }
534
-
535
- export type TemplateCountOrderByAggregateInput = {
536
- id?: Prisma.SortOrder
537
- uuid?: Prisma.SortOrder
538
- template_code?: Prisma.SortOrder
539
- template_name?: Prisma.SortOrder
540
- template_type?: Prisma.SortOrder
541
- currency_id?: Prisma.SortOrder
542
- is_active?: Prisma.SortOrder
543
- is_deleted?: Prisma.SortOrder
544
- created_at?: Prisma.SortOrder
545
- created_by?: Prisma.SortOrder
546
- updated_at?: Prisma.SortOrder
547
- updated_by?: Prisma.SortOrder
548
- deleted_at?: Prisma.SortOrder
549
- deleted_by?: Prisma.SortOrder
550
- }
551
-
552
- export type TemplateAvgOrderByAggregateInput = {
553
- id?: Prisma.SortOrder
554
- currency_id?: Prisma.SortOrder
555
- created_by?: Prisma.SortOrder
556
- updated_by?: Prisma.SortOrder
557
- deleted_by?: Prisma.SortOrder
558
- }
559
-
560
- export type TemplateMaxOrderByAggregateInput = {
561
- id?: Prisma.SortOrder
562
- uuid?: Prisma.SortOrder
563
- template_code?: Prisma.SortOrder
564
- template_name?: Prisma.SortOrder
565
- currency_id?: Prisma.SortOrder
566
- is_active?: Prisma.SortOrder
567
- is_deleted?: Prisma.SortOrder
568
- created_at?: Prisma.SortOrder
569
- created_by?: Prisma.SortOrder
570
- updated_at?: Prisma.SortOrder
571
- updated_by?: Prisma.SortOrder
572
- deleted_at?: Prisma.SortOrder
573
- deleted_by?: Prisma.SortOrder
574
- }
575
-
576
- export type TemplateMinOrderByAggregateInput = {
577
- id?: Prisma.SortOrder
578
- uuid?: Prisma.SortOrder
579
- template_code?: Prisma.SortOrder
580
- template_name?: Prisma.SortOrder
581
- currency_id?: Prisma.SortOrder
582
- is_active?: Prisma.SortOrder
583
- is_deleted?: Prisma.SortOrder
584
- created_at?: Prisma.SortOrder
585
- created_by?: Prisma.SortOrder
586
- updated_at?: Prisma.SortOrder
587
- updated_by?: Prisma.SortOrder
588
- deleted_at?: Prisma.SortOrder
589
- deleted_by?: Prisma.SortOrder
590
- }
591
-
592
- export type TemplateSumOrderByAggregateInput = {
593
- id?: Prisma.SortOrder
594
- currency_id?: Prisma.SortOrder
595
- created_by?: Prisma.SortOrder
596
- updated_by?: Prisma.SortOrder
597
- deleted_by?: Prisma.SortOrder
598
- }
599
-
600
- export type TemplateScalarRelationFilter = {
601
- is?: Prisma.TemplateWhereInput
602
- isNot?: Prisma.TemplateWhereInput
603
- }
604
-
605
- export type TemplateNullableScalarRelationFilter = {
606
- is?: Prisma.TemplateWhereInput | null
607
- isNot?: Prisma.TemplateWhereInput | null
608
- }
609
-
610
- export type TemplateCreateNestedManyWithoutUserInput = {
611
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutUserInput, Prisma.TemplateUncheckedCreateWithoutUserInput> | Prisma.TemplateCreateWithoutUserInput[] | Prisma.TemplateUncheckedCreateWithoutUserInput[]
612
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutUserInput | Prisma.TemplateCreateOrConnectWithoutUserInput[]
613
- createMany?: Prisma.TemplateCreateManyUserInputEnvelope
614
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
615
- }
616
-
617
- export type TemplateUncheckedCreateNestedManyWithoutUserInput = {
618
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutUserInput, Prisma.TemplateUncheckedCreateWithoutUserInput> | Prisma.TemplateCreateWithoutUserInput[] | Prisma.TemplateUncheckedCreateWithoutUserInput[]
619
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutUserInput | Prisma.TemplateCreateOrConnectWithoutUserInput[]
620
- createMany?: Prisma.TemplateCreateManyUserInputEnvelope
621
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
622
- }
623
-
624
- export type TemplateUpdateManyWithoutUserNestedInput = {
625
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutUserInput, Prisma.TemplateUncheckedCreateWithoutUserInput> | Prisma.TemplateCreateWithoutUserInput[] | Prisma.TemplateUncheckedCreateWithoutUserInput[]
626
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutUserInput | Prisma.TemplateCreateOrConnectWithoutUserInput[]
627
- upsert?: Prisma.TemplateUpsertWithWhereUniqueWithoutUserInput | Prisma.TemplateUpsertWithWhereUniqueWithoutUserInput[]
628
- createMany?: Prisma.TemplateCreateManyUserInputEnvelope
629
- set?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
630
- disconnect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
631
- delete?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
632
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
633
- update?: Prisma.TemplateUpdateWithWhereUniqueWithoutUserInput | Prisma.TemplateUpdateWithWhereUniqueWithoutUserInput[]
634
- updateMany?: Prisma.TemplateUpdateManyWithWhereWithoutUserInput | Prisma.TemplateUpdateManyWithWhereWithoutUserInput[]
635
- deleteMany?: Prisma.TemplateScalarWhereInput | Prisma.TemplateScalarWhereInput[]
636
- }
637
-
638
- export type TemplateUncheckedUpdateManyWithoutUserNestedInput = {
639
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutUserInput, Prisma.TemplateUncheckedCreateWithoutUserInput> | Prisma.TemplateCreateWithoutUserInput[] | Prisma.TemplateUncheckedCreateWithoutUserInput[]
640
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutUserInput | Prisma.TemplateCreateOrConnectWithoutUserInput[]
641
- upsert?: Prisma.TemplateUpsertWithWhereUniqueWithoutUserInput | Prisma.TemplateUpsertWithWhereUniqueWithoutUserInput[]
642
- createMany?: Prisma.TemplateCreateManyUserInputEnvelope
643
- set?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
644
- disconnect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
645
- delete?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
646
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
647
- update?: Prisma.TemplateUpdateWithWhereUniqueWithoutUserInput | Prisma.TemplateUpdateWithWhereUniqueWithoutUserInput[]
648
- updateMany?: Prisma.TemplateUpdateManyWithWhereWithoutUserInput | Prisma.TemplateUpdateManyWithWhereWithoutUserInput[]
649
- deleteMany?: Prisma.TemplateScalarWhereInput | Prisma.TemplateScalarWhereInput[]
650
- }
651
-
652
- export type TemplateCreateNestedOneWithoutTemplate_strategiesInput = {
653
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutTemplate_strategiesInput, Prisma.TemplateUncheckedCreateWithoutTemplate_strategiesInput>
654
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutTemplate_strategiesInput
655
- connect?: Prisma.TemplateWhereUniqueInput
656
- }
657
-
658
- export type TemplateUpdateOneRequiredWithoutTemplate_strategiesNestedInput = {
659
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutTemplate_strategiesInput, Prisma.TemplateUncheckedCreateWithoutTemplate_strategiesInput>
660
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutTemplate_strategiesInput
661
- upsert?: Prisma.TemplateUpsertWithoutTemplate_strategiesInput
662
- connect?: Prisma.TemplateWhereUniqueInput
663
- update?: Prisma.XOR<Prisma.XOR<Prisma.TemplateUpdateToOneWithWhereWithoutTemplate_strategiesInput, Prisma.TemplateUpdateWithoutTemplate_strategiesInput>, Prisma.TemplateUncheckedUpdateWithoutTemplate_strategiesInput>
664
- }
665
-
666
- export type TemplateCreateNestedOneWithoutFieldsInput = {
667
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutFieldsInput, Prisma.TemplateUncheckedCreateWithoutFieldsInput>
668
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutFieldsInput
669
- connect?: Prisma.TemplateWhereUniqueInput
670
- }
671
-
672
- export type TemplateUpdateOneRequiredWithoutFieldsNestedInput = {
673
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutFieldsInput, Prisma.TemplateUncheckedCreateWithoutFieldsInput>
674
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutFieldsInput
675
- upsert?: Prisma.TemplateUpsertWithoutFieldsInput
676
- connect?: Prisma.TemplateWhereUniqueInput
677
- update?: Prisma.XOR<Prisma.XOR<Prisma.TemplateUpdateToOneWithWhereWithoutFieldsInput, Prisma.TemplateUpdateWithoutFieldsInput>, Prisma.TemplateUncheckedUpdateWithoutFieldsInput>
678
- }
679
-
680
- export type TemplateCreateNestedOneWithoutEventInput = {
681
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutEventInput, Prisma.TemplateUncheckedCreateWithoutEventInput>
682
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutEventInput
683
- connect?: Prisma.TemplateWhereUniqueInput
684
- }
685
-
686
- export type TemplateUpdateOneWithoutEventNestedInput = {
687
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutEventInput, Prisma.TemplateUncheckedCreateWithoutEventInput>
688
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutEventInput
689
- upsert?: Prisma.TemplateUpsertWithoutEventInput
690
- disconnect?: Prisma.TemplateWhereInput | boolean
691
- delete?: Prisma.TemplateWhereInput | boolean
692
- connect?: Prisma.TemplateWhereUniqueInput
693
- update?: Prisma.XOR<Prisma.XOR<Prisma.TemplateUpdateToOneWithWhereWithoutEventInput, Prisma.TemplateUpdateWithoutEventInput>, Prisma.TemplateUncheckedUpdateWithoutEventInput>
694
- }
695
-
696
- export type TemplateCreateNestedManyWithoutCurrencyInput = {
697
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutCurrencyInput, Prisma.TemplateUncheckedCreateWithoutCurrencyInput> | Prisma.TemplateCreateWithoutCurrencyInput[] | Prisma.TemplateUncheckedCreateWithoutCurrencyInput[]
698
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutCurrencyInput | Prisma.TemplateCreateOrConnectWithoutCurrencyInput[]
699
- createMany?: Prisma.TemplateCreateManyCurrencyInputEnvelope
700
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
701
- }
702
-
703
- export type TemplateUncheckedCreateNestedManyWithoutCurrencyInput = {
704
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutCurrencyInput, Prisma.TemplateUncheckedCreateWithoutCurrencyInput> | Prisma.TemplateCreateWithoutCurrencyInput[] | Prisma.TemplateUncheckedCreateWithoutCurrencyInput[]
705
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutCurrencyInput | Prisma.TemplateCreateOrConnectWithoutCurrencyInput[]
706
- createMany?: Prisma.TemplateCreateManyCurrencyInputEnvelope
707
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
708
- }
709
-
710
- export type TemplateUpdateManyWithoutCurrencyNestedInput = {
711
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutCurrencyInput, Prisma.TemplateUncheckedCreateWithoutCurrencyInput> | Prisma.TemplateCreateWithoutCurrencyInput[] | Prisma.TemplateUncheckedCreateWithoutCurrencyInput[]
712
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutCurrencyInput | Prisma.TemplateCreateOrConnectWithoutCurrencyInput[]
713
- upsert?: Prisma.TemplateUpsertWithWhereUniqueWithoutCurrencyInput | Prisma.TemplateUpsertWithWhereUniqueWithoutCurrencyInput[]
714
- createMany?: Prisma.TemplateCreateManyCurrencyInputEnvelope
715
- set?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
716
- disconnect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
717
- delete?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
718
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
719
- update?: Prisma.TemplateUpdateWithWhereUniqueWithoutCurrencyInput | Prisma.TemplateUpdateWithWhereUniqueWithoutCurrencyInput[]
720
- updateMany?: Prisma.TemplateUpdateManyWithWhereWithoutCurrencyInput | Prisma.TemplateUpdateManyWithWhereWithoutCurrencyInput[]
721
- deleteMany?: Prisma.TemplateScalarWhereInput | Prisma.TemplateScalarWhereInput[]
722
- }
723
-
724
- export type TemplateUncheckedUpdateManyWithoutCurrencyNestedInput = {
725
- create?: Prisma.XOR<Prisma.TemplateCreateWithoutCurrencyInput, Prisma.TemplateUncheckedCreateWithoutCurrencyInput> | Prisma.TemplateCreateWithoutCurrencyInput[] | Prisma.TemplateUncheckedCreateWithoutCurrencyInput[]
726
- connectOrCreate?: Prisma.TemplateCreateOrConnectWithoutCurrencyInput | Prisma.TemplateCreateOrConnectWithoutCurrencyInput[]
727
- upsert?: Prisma.TemplateUpsertWithWhereUniqueWithoutCurrencyInput | Prisma.TemplateUpsertWithWhereUniqueWithoutCurrencyInput[]
728
- createMany?: Prisma.TemplateCreateManyCurrencyInputEnvelope
729
- set?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
730
- disconnect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
731
- delete?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
732
- connect?: Prisma.TemplateWhereUniqueInput | Prisma.TemplateWhereUniqueInput[]
733
- update?: Prisma.TemplateUpdateWithWhereUniqueWithoutCurrencyInput | Prisma.TemplateUpdateWithWhereUniqueWithoutCurrencyInput[]
734
- updateMany?: Prisma.TemplateUpdateManyWithWhereWithoutCurrencyInput | Prisma.TemplateUpdateManyWithWhereWithoutCurrencyInput[]
735
- deleteMany?: Prisma.TemplateScalarWhereInput | Prisma.TemplateScalarWhereInput[]
736
- }
737
-
738
- export type TemplateCreateWithoutUserInput = {
739
- uuid?: string | null
740
- template_code?: string | null
741
- template_name?: string | null
742
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
743
- is_active?: boolean | null
744
- is_deleted?: boolean | null
745
- created_at?: Date | string | null
746
- updated_at?: Date | string | null
747
- updated_by?: number | null
748
- deleted_at?: Date | string | null
749
- deleted_by?: number | null
750
- currency?: Prisma.CurrencyCreateNestedOneWithoutTemplateInput
751
- fields?: Prisma.TemplateFieldCreateNestedManyWithoutTemplateInput
752
- event?: Prisma.EventCreateNestedManyWithoutTemplateInput
753
- template_strategies?: Prisma.TemplateStrategiesCreateNestedManyWithoutTemplateInput
754
- }
755
-
756
- export type TemplateUncheckedCreateWithoutUserInput = {
757
- id?: number
758
- uuid?: string | null
759
- template_code?: string | null
760
- template_name?: string | null
761
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
762
- currency_id?: number | null
763
- is_active?: boolean | null
764
- is_deleted?: boolean | null
765
- created_at?: Date | string | null
766
- updated_at?: Date | string | null
767
- updated_by?: number | null
768
- deleted_at?: Date | string | null
769
- deleted_by?: number | null
770
- fields?: Prisma.TemplateFieldUncheckedCreateNestedManyWithoutTemplateInput
771
- event?: Prisma.EventUncheckedCreateNestedManyWithoutTemplateInput
772
- template_strategies?: Prisma.TemplateStrategiesUncheckedCreateNestedManyWithoutTemplateInput
773
- }
774
-
775
- export type TemplateCreateOrConnectWithoutUserInput = {
776
- where: Prisma.TemplateWhereUniqueInput
777
- create: Prisma.XOR<Prisma.TemplateCreateWithoutUserInput, Prisma.TemplateUncheckedCreateWithoutUserInput>
778
- }
779
-
780
- export type TemplateCreateManyUserInputEnvelope = {
781
- data: Prisma.TemplateCreateManyUserInput | Prisma.TemplateCreateManyUserInput[]
782
- skipDuplicates?: boolean
783
- }
784
-
785
- export type TemplateUpsertWithWhereUniqueWithoutUserInput = {
786
- where: Prisma.TemplateWhereUniqueInput
787
- update: Prisma.XOR<Prisma.TemplateUpdateWithoutUserInput, Prisma.TemplateUncheckedUpdateWithoutUserInput>
788
- create: Prisma.XOR<Prisma.TemplateCreateWithoutUserInput, Prisma.TemplateUncheckedCreateWithoutUserInput>
789
- }
790
-
791
- export type TemplateUpdateWithWhereUniqueWithoutUserInput = {
792
- where: Prisma.TemplateWhereUniqueInput
793
- data: Prisma.XOR<Prisma.TemplateUpdateWithoutUserInput, Prisma.TemplateUncheckedUpdateWithoutUserInput>
794
- }
795
-
796
- export type TemplateUpdateManyWithWhereWithoutUserInput = {
797
- where: Prisma.TemplateScalarWhereInput
798
- data: Prisma.XOR<Prisma.TemplateUpdateManyMutationInput, Prisma.TemplateUncheckedUpdateManyWithoutUserInput>
799
- }
800
-
801
- export type TemplateScalarWhereInput = {
802
- AND?: Prisma.TemplateScalarWhereInput | Prisma.TemplateScalarWhereInput[]
803
- OR?: Prisma.TemplateScalarWhereInput[]
804
- NOT?: Prisma.TemplateScalarWhereInput | Prisma.TemplateScalarWhereInput[]
805
- id?: Prisma.IntFilter<"Template"> | number
806
- uuid?: Prisma.StringNullableFilter<"Template"> | string | null
807
- template_code?: Prisma.StringNullableFilter<"Template"> | string | null
808
- template_name?: Prisma.StringNullableFilter<"Template"> | string | null
809
- template_type?: Prisma.JsonNullableFilter<"Template">
810
- currency_id?: Prisma.IntNullableFilter<"Template"> | number | null
811
- is_active?: Prisma.BoolNullableFilter<"Template"> | boolean | null
812
- is_deleted?: Prisma.BoolNullableFilter<"Template"> | boolean | null
813
- created_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
814
- created_by?: Prisma.IntNullableFilter<"Template"> | number | null
815
- updated_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
816
- updated_by?: Prisma.IntNullableFilter<"Template"> | number | null
817
- deleted_at?: Prisma.DateTimeNullableFilter<"Template"> | Date | string | null
818
- deleted_by?: Prisma.IntNullableFilter<"Template"> | number | null
819
- }
820
-
821
- export type TemplateCreateWithoutTemplate_strategiesInput = {
822
- uuid?: string | null
823
- template_code?: string | null
824
- template_name?: string | null
825
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
826
- is_active?: boolean | null
827
- is_deleted?: boolean | null
828
- created_at?: Date | string | null
829
- updated_at?: Date | string | null
830
- updated_by?: number | null
831
- deleted_at?: Date | string | null
832
- deleted_by?: number | null
833
- currency?: Prisma.CurrencyCreateNestedOneWithoutTemplateInput
834
- fields?: Prisma.TemplateFieldCreateNestedManyWithoutTemplateInput
835
- user?: Prisma.UserCreateNestedOneWithoutTemplateInput
836
- event?: Prisma.EventCreateNestedManyWithoutTemplateInput
837
- }
838
-
839
- export type TemplateUncheckedCreateWithoutTemplate_strategiesInput = {
840
- id?: number
841
- uuid?: string | null
842
- template_code?: string | null
843
- template_name?: string | null
844
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
845
- currency_id?: number | null
846
- is_active?: boolean | null
847
- is_deleted?: boolean | null
848
- created_at?: Date | string | null
849
- created_by?: number | null
850
- updated_at?: Date | string | null
851
- updated_by?: number | null
852
- deleted_at?: Date | string | null
853
- deleted_by?: number | null
854
- fields?: Prisma.TemplateFieldUncheckedCreateNestedManyWithoutTemplateInput
855
- event?: Prisma.EventUncheckedCreateNestedManyWithoutTemplateInput
856
- }
857
-
858
- export type TemplateCreateOrConnectWithoutTemplate_strategiesInput = {
859
- where: Prisma.TemplateWhereUniqueInput
860
- create: Prisma.XOR<Prisma.TemplateCreateWithoutTemplate_strategiesInput, Prisma.TemplateUncheckedCreateWithoutTemplate_strategiesInput>
861
- }
862
-
863
- export type TemplateUpsertWithoutTemplate_strategiesInput = {
864
- update: Prisma.XOR<Prisma.TemplateUpdateWithoutTemplate_strategiesInput, Prisma.TemplateUncheckedUpdateWithoutTemplate_strategiesInput>
865
- create: Prisma.XOR<Prisma.TemplateCreateWithoutTemplate_strategiesInput, Prisma.TemplateUncheckedCreateWithoutTemplate_strategiesInput>
866
- where?: Prisma.TemplateWhereInput
867
- }
868
-
869
- export type TemplateUpdateToOneWithWhereWithoutTemplate_strategiesInput = {
870
- where?: Prisma.TemplateWhereInput
871
- data: Prisma.XOR<Prisma.TemplateUpdateWithoutTemplate_strategiesInput, Prisma.TemplateUncheckedUpdateWithoutTemplate_strategiesInput>
872
- }
873
-
874
- export type TemplateUpdateWithoutTemplate_strategiesInput = {
875
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
876
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
877
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
878
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
879
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
880
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
881
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
882
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
883
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
884
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
885
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
886
- currency?: Prisma.CurrencyUpdateOneWithoutTemplateNestedInput
887
- fields?: Prisma.TemplateFieldUpdateManyWithoutTemplateNestedInput
888
- user?: Prisma.UserUpdateOneWithoutTemplateNestedInput
889
- event?: Prisma.EventUpdateManyWithoutTemplateNestedInput
890
- }
891
-
892
- export type TemplateUncheckedUpdateWithoutTemplate_strategiesInput = {
893
- id?: Prisma.IntFieldUpdateOperationsInput | number
894
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
895
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
896
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
897
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
898
- currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
899
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
900
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
901
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
902
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
903
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
904
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
905
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
906
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
907
- fields?: Prisma.TemplateFieldUncheckedUpdateManyWithoutTemplateNestedInput
908
- event?: Prisma.EventUncheckedUpdateManyWithoutTemplateNestedInput
909
- }
910
-
911
- export type TemplateCreateWithoutFieldsInput = {
912
- uuid?: string | null
913
- template_code?: string | null
914
- template_name?: string | null
915
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
916
- is_active?: boolean | null
917
- is_deleted?: boolean | null
918
- created_at?: Date | string | null
919
- updated_at?: Date | string | null
920
- updated_by?: number | null
921
- deleted_at?: Date | string | null
922
- deleted_by?: number | null
923
- currency?: Prisma.CurrencyCreateNestedOneWithoutTemplateInput
924
- user?: Prisma.UserCreateNestedOneWithoutTemplateInput
925
- event?: Prisma.EventCreateNestedManyWithoutTemplateInput
926
- template_strategies?: Prisma.TemplateStrategiesCreateNestedManyWithoutTemplateInput
927
- }
928
-
929
- export type TemplateUncheckedCreateWithoutFieldsInput = {
930
- id?: number
931
- uuid?: string | null
932
- template_code?: string | null
933
- template_name?: string | null
934
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
935
- currency_id?: number | null
936
- is_active?: boolean | null
937
- is_deleted?: boolean | null
938
- created_at?: Date | string | null
939
- created_by?: number | null
940
- updated_at?: Date | string | null
941
- updated_by?: number | null
942
- deleted_at?: Date | string | null
943
- deleted_by?: number | null
944
- event?: Prisma.EventUncheckedCreateNestedManyWithoutTemplateInput
945
- template_strategies?: Prisma.TemplateStrategiesUncheckedCreateNestedManyWithoutTemplateInput
946
- }
947
-
948
- export type TemplateCreateOrConnectWithoutFieldsInput = {
949
- where: Prisma.TemplateWhereUniqueInput
950
- create: Prisma.XOR<Prisma.TemplateCreateWithoutFieldsInput, Prisma.TemplateUncheckedCreateWithoutFieldsInput>
951
- }
952
-
953
- export type TemplateUpsertWithoutFieldsInput = {
954
- update: Prisma.XOR<Prisma.TemplateUpdateWithoutFieldsInput, Prisma.TemplateUncheckedUpdateWithoutFieldsInput>
955
- create: Prisma.XOR<Prisma.TemplateCreateWithoutFieldsInput, Prisma.TemplateUncheckedCreateWithoutFieldsInput>
956
- where?: Prisma.TemplateWhereInput
957
- }
958
-
959
- export type TemplateUpdateToOneWithWhereWithoutFieldsInput = {
960
- where?: Prisma.TemplateWhereInput
961
- data: Prisma.XOR<Prisma.TemplateUpdateWithoutFieldsInput, Prisma.TemplateUncheckedUpdateWithoutFieldsInput>
962
- }
963
-
964
- export type TemplateUpdateWithoutFieldsInput = {
965
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
966
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
967
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
968
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
969
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
970
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
971
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
972
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
973
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
974
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
975
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
976
- currency?: Prisma.CurrencyUpdateOneWithoutTemplateNestedInput
977
- user?: Prisma.UserUpdateOneWithoutTemplateNestedInput
978
- event?: Prisma.EventUpdateManyWithoutTemplateNestedInput
979
- template_strategies?: Prisma.TemplateStrategiesUpdateManyWithoutTemplateNestedInput
980
- }
981
-
982
- export type TemplateUncheckedUpdateWithoutFieldsInput = {
983
- id?: Prisma.IntFieldUpdateOperationsInput | number
984
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
985
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
986
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
987
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
988
- currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
989
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
990
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
991
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
992
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
993
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
994
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
995
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
996
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
997
- event?: Prisma.EventUncheckedUpdateManyWithoutTemplateNestedInput
998
- template_strategies?: Prisma.TemplateStrategiesUncheckedUpdateManyWithoutTemplateNestedInput
999
- }
1000
-
1001
- export type TemplateCreateWithoutEventInput = {
1002
- uuid?: string | null
1003
- template_code?: string | null
1004
- template_name?: string | null
1005
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1006
- is_active?: boolean | null
1007
- is_deleted?: boolean | null
1008
- created_at?: Date | string | null
1009
- updated_at?: Date | string | null
1010
- updated_by?: number | null
1011
- deleted_at?: Date | string | null
1012
- deleted_by?: number | null
1013
- currency?: Prisma.CurrencyCreateNestedOneWithoutTemplateInput
1014
- fields?: Prisma.TemplateFieldCreateNestedManyWithoutTemplateInput
1015
- user?: Prisma.UserCreateNestedOneWithoutTemplateInput
1016
- template_strategies?: Prisma.TemplateStrategiesCreateNestedManyWithoutTemplateInput
1017
- }
1018
-
1019
- export type TemplateUncheckedCreateWithoutEventInput = {
1020
- id?: number
1021
- uuid?: string | null
1022
- template_code?: string | null
1023
- template_name?: string | null
1024
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1025
- currency_id?: number | null
1026
- is_active?: boolean | null
1027
- is_deleted?: boolean | null
1028
- created_at?: Date | string | null
1029
- created_by?: number | null
1030
- updated_at?: Date | string | null
1031
- updated_by?: number | null
1032
- deleted_at?: Date | string | null
1033
- deleted_by?: number | null
1034
- fields?: Prisma.TemplateFieldUncheckedCreateNestedManyWithoutTemplateInput
1035
- template_strategies?: Prisma.TemplateStrategiesUncheckedCreateNestedManyWithoutTemplateInput
1036
- }
1037
-
1038
- export type TemplateCreateOrConnectWithoutEventInput = {
1039
- where: Prisma.TemplateWhereUniqueInput
1040
- create: Prisma.XOR<Prisma.TemplateCreateWithoutEventInput, Prisma.TemplateUncheckedCreateWithoutEventInput>
1041
- }
1042
-
1043
- export type TemplateUpsertWithoutEventInput = {
1044
- update: Prisma.XOR<Prisma.TemplateUpdateWithoutEventInput, Prisma.TemplateUncheckedUpdateWithoutEventInput>
1045
- create: Prisma.XOR<Prisma.TemplateCreateWithoutEventInput, Prisma.TemplateUncheckedCreateWithoutEventInput>
1046
- where?: Prisma.TemplateWhereInput
1047
- }
1048
-
1049
- export type TemplateUpdateToOneWithWhereWithoutEventInput = {
1050
- where?: Prisma.TemplateWhereInput
1051
- data: Prisma.XOR<Prisma.TemplateUpdateWithoutEventInput, Prisma.TemplateUncheckedUpdateWithoutEventInput>
1052
- }
1053
-
1054
- export type TemplateUpdateWithoutEventInput = {
1055
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1056
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1057
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1058
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1059
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1060
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1061
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1062
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1063
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1064
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1065
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1066
- currency?: Prisma.CurrencyUpdateOneWithoutTemplateNestedInput
1067
- fields?: Prisma.TemplateFieldUpdateManyWithoutTemplateNestedInput
1068
- user?: Prisma.UserUpdateOneWithoutTemplateNestedInput
1069
- template_strategies?: Prisma.TemplateStrategiesUpdateManyWithoutTemplateNestedInput
1070
- }
1071
-
1072
- export type TemplateUncheckedUpdateWithoutEventInput = {
1073
- id?: Prisma.IntFieldUpdateOperationsInput | number
1074
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1075
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1076
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1077
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1078
- currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1079
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1080
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1081
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1082
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1083
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1084
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1085
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1086
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1087
- fields?: Prisma.TemplateFieldUncheckedUpdateManyWithoutTemplateNestedInput
1088
- template_strategies?: Prisma.TemplateStrategiesUncheckedUpdateManyWithoutTemplateNestedInput
1089
- }
1090
-
1091
- export type TemplateCreateWithoutCurrencyInput = {
1092
- uuid?: string | null
1093
- template_code?: string | null
1094
- template_name?: string | null
1095
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1096
- is_active?: boolean | null
1097
- is_deleted?: boolean | null
1098
- created_at?: Date | string | null
1099
- updated_at?: Date | string | null
1100
- updated_by?: number | null
1101
- deleted_at?: Date | string | null
1102
- deleted_by?: number | null
1103
- fields?: Prisma.TemplateFieldCreateNestedManyWithoutTemplateInput
1104
- user?: Prisma.UserCreateNestedOneWithoutTemplateInput
1105
- event?: Prisma.EventCreateNestedManyWithoutTemplateInput
1106
- template_strategies?: Prisma.TemplateStrategiesCreateNestedManyWithoutTemplateInput
1107
- }
1108
-
1109
- export type TemplateUncheckedCreateWithoutCurrencyInput = {
1110
- id?: number
1111
- uuid?: string | null
1112
- template_code?: string | null
1113
- template_name?: string | null
1114
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1115
- is_active?: boolean | null
1116
- is_deleted?: boolean | null
1117
- created_at?: Date | string | null
1118
- created_by?: number | null
1119
- updated_at?: Date | string | null
1120
- updated_by?: number | null
1121
- deleted_at?: Date | string | null
1122
- deleted_by?: number | null
1123
- fields?: Prisma.TemplateFieldUncheckedCreateNestedManyWithoutTemplateInput
1124
- event?: Prisma.EventUncheckedCreateNestedManyWithoutTemplateInput
1125
- template_strategies?: Prisma.TemplateStrategiesUncheckedCreateNestedManyWithoutTemplateInput
1126
- }
1127
-
1128
- export type TemplateCreateOrConnectWithoutCurrencyInput = {
1129
- where: Prisma.TemplateWhereUniqueInput
1130
- create: Prisma.XOR<Prisma.TemplateCreateWithoutCurrencyInput, Prisma.TemplateUncheckedCreateWithoutCurrencyInput>
1131
- }
1132
-
1133
- export type TemplateCreateManyCurrencyInputEnvelope = {
1134
- data: Prisma.TemplateCreateManyCurrencyInput | Prisma.TemplateCreateManyCurrencyInput[]
1135
- skipDuplicates?: boolean
1136
- }
1137
-
1138
- export type TemplateUpsertWithWhereUniqueWithoutCurrencyInput = {
1139
- where: Prisma.TemplateWhereUniqueInput
1140
- update: Prisma.XOR<Prisma.TemplateUpdateWithoutCurrencyInput, Prisma.TemplateUncheckedUpdateWithoutCurrencyInput>
1141
- create: Prisma.XOR<Prisma.TemplateCreateWithoutCurrencyInput, Prisma.TemplateUncheckedCreateWithoutCurrencyInput>
1142
- }
1143
-
1144
- export type TemplateUpdateWithWhereUniqueWithoutCurrencyInput = {
1145
- where: Prisma.TemplateWhereUniqueInput
1146
- data: Prisma.XOR<Prisma.TemplateUpdateWithoutCurrencyInput, Prisma.TemplateUncheckedUpdateWithoutCurrencyInput>
1147
- }
1148
-
1149
- export type TemplateUpdateManyWithWhereWithoutCurrencyInput = {
1150
- where: Prisma.TemplateScalarWhereInput
1151
- data: Prisma.XOR<Prisma.TemplateUpdateManyMutationInput, Prisma.TemplateUncheckedUpdateManyWithoutCurrencyInput>
1152
- }
1153
-
1154
- export type TemplateCreateManyUserInput = {
1155
- id?: number
1156
- uuid?: string | null
1157
- template_code?: string | null
1158
- template_name?: string | null
1159
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1160
- currency_id?: number | null
1161
- is_active?: boolean | null
1162
- is_deleted?: boolean | null
1163
- created_at?: Date | string | null
1164
- updated_at?: Date | string | null
1165
- updated_by?: number | null
1166
- deleted_at?: Date | string | null
1167
- deleted_by?: number | null
1168
- }
1169
-
1170
- export type TemplateUpdateWithoutUserInput = {
1171
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1172
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1173
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1174
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1175
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1176
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1177
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1178
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1179
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1180
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1181
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1182
- currency?: Prisma.CurrencyUpdateOneWithoutTemplateNestedInput
1183
- fields?: Prisma.TemplateFieldUpdateManyWithoutTemplateNestedInput
1184
- event?: Prisma.EventUpdateManyWithoutTemplateNestedInput
1185
- template_strategies?: Prisma.TemplateStrategiesUpdateManyWithoutTemplateNestedInput
1186
- }
1187
-
1188
- export type TemplateUncheckedUpdateWithoutUserInput = {
1189
- id?: Prisma.IntFieldUpdateOperationsInput | number
1190
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1191
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1192
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1193
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1194
- currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1195
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1196
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1197
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1198
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1199
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1200
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1201
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1202
- fields?: Prisma.TemplateFieldUncheckedUpdateManyWithoutTemplateNestedInput
1203
- event?: Prisma.EventUncheckedUpdateManyWithoutTemplateNestedInput
1204
- template_strategies?: Prisma.TemplateStrategiesUncheckedUpdateManyWithoutTemplateNestedInput
1205
- }
1206
-
1207
- export type TemplateUncheckedUpdateManyWithoutUserInput = {
1208
- id?: Prisma.IntFieldUpdateOperationsInput | number
1209
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1210
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1211
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1212
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1213
- currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1214
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1215
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1216
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1217
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1218
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1219
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1220
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1221
- }
1222
-
1223
- export type TemplateCreateManyCurrencyInput = {
1224
- id?: number
1225
- uuid?: string | null
1226
- template_code?: string | null
1227
- template_name?: string | null
1228
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1229
- is_active?: boolean | null
1230
- is_deleted?: boolean | null
1231
- created_at?: Date | string | null
1232
- created_by?: number | null
1233
- updated_at?: Date | string | null
1234
- updated_by?: number | null
1235
- deleted_at?: Date | string | null
1236
- deleted_by?: number | null
1237
- }
1238
-
1239
- export type TemplateUpdateWithoutCurrencyInput = {
1240
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1241
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1242
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1243
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1244
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1245
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1246
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1247
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1248
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1249
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1250
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1251
- fields?: Prisma.TemplateFieldUpdateManyWithoutTemplateNestedInput
1252
- user?: Prisma.UserUpdateOneWithoutTemplateNestedInput
1253
- event?: Prisma.EventUpdateManyWithoutTemplateNestedInput
1254
- template_strategies?: Prisma.TemplateStrategiesUpdateManyWithoutTemplateNestedInput
1255
- }
1256
-
1257
- export type TemplateUncheckedUpdateWithoutCurrencyInput = {
1258
- id?: Prisma.IntFieldUpdateOperationsInput | number
1259
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1260
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1261
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1262
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1263
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1264
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1265
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1266
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1267
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1268
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1269
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1270
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1271
- fields?: Prisma.TemplateFieldUncheckedUpdateManyWithoutTemplateNestedInput
1272
- event?: Prisma.EventUncheckedUpdateManyWithoutTemplateNestedInput
1273
- template_strategies?: Prisma.TemplateStrategiesUncheckedUpdateManyWithoutTemplateNestedInput
1274
- }
1275
-
1276
- export type TemplateUncheckedUpdateManyWithoutCurrencyInput = {
1277
- id?: Prisma.IntFieldUpdateOperationsInput | number
1278
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1279
- template_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1280
- template_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1281
- template_type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1282
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1283
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1284
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1285
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1286
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1287
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1288
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1289
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1290
- }
1291
-
1292
-
1293
- /**
1294
- * Count Type TemplateCountOutputType
1295
- */
1296
-
1297
- export type TemplateCountOutputType = {
1298
- fields: number
1299
- event: number
1300
- template_strategies: number
1301
- }
1302
-
1303
- export type TemplateCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1304
- fields?: boolean | TemplateCountOutputTypeCountFieldsArgs
1305
- event?: boolean | TemplateCountOutputTypeCountEventArgs
1306
- template_strategies?: boolean | TemplateCountOutputTypeCountTemplate_strategiesArgs
1307
- }
1308
-
1309
- /**
1310
- * TemplateCountOutputType without action
1311
- */
1312
- export type TemplateCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1313
- /**
1314
- * Select specific fields to fetch from the TemplateCountOutputType
1315
- */
1316
- select?: Prisma.TemplateCountOutputTypeSelect<ExtArgs> | null
1317
- }
1318
-
1319
- /**
1320
- * TemplateCountOutputType without action
1321
- */
1322
- export type TemplateCountOutputTypeCountFieldsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1323
- where?: Prisma.TemplateFieldWhereInput
1324
- }
1325
-
1326
- /**
1327
- * TemplateCountOutputType without action
1328
- */
1329
- export type TemplateCountOutputTypeCountEventArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1330
- where?: Prisma.EventWhereInput
1331
- }
1332
-
1333
- /**
1334
- * TemplateCountOutputType without action
1335
- */
1336
- export type TemplateCountOutputTypeCountTemplate_strategiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1337
- where?: Prisma.TemplateStrategiesWhereInput
1338
- }
1339
-
1340
-
1341
- export type TemplateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1342
- id?: boolean
1343
- uuid?: boolean
1344
- template_code?: boolean
1345
- template_name?: boolean
1346
- template_type?: boolean
1347
- currency_id?: boolean
1348
- is_active?: boolean
1349
- is_deleted?: boolean
1350
- created_at?: boolean
1351
- created_by?: boolean
1352
- updated_at?: boolean
1353
- updated_by?: boolean
1354
- deleted_at?: boolean
1355
- deleted_by?: boolean
1356
- currency?: boolean | Prisma.Template$currencyArgs<ExtArgs>
1357
- fields?: boolean | Prisma.Template$fieldsArgs<ExtArgs>
1358
- user?: boolean | Prisma.Template$userArgs<ExtArgs>
1359
- event?: boolean | Prisma.Template$eventArgs<ExtArgs>
1360
- template_strategies?: boolean | Prisma.Template$template_strategiesArgs<ExtArgs>
1361
- _count?: boolean | Prisma.TemplateCountOutputTypeDefaultArgs<ExtArgs>
1362
- }, ExtArgs["result"]["template"]>
1363
-
1364
- export type TemplateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1365
- id?: boolean
1366
- uuid?: boolean
1367
- template_code?: boolean
1368
- template_name?: boolean
1369
- template_type?: boolean
1370
- currency_id?: boolean
1371
- is_active?: boolean
1372
- is_deleted?: boolean
1373
- created_at?: boolean
1374
- created_by?: boolean
1375
- updated_at?: boolean
1376
- updated_by?: boolean
1377
- deleted_at?: boolean
1378
- deleted_by?: boolean
1379
- currency?: boolean | Prisma.Template$currencyArgs<ExtArgs>
1380
- user?: boolean | Prisma.Template$userArgs<ExtArgs>
1381
- }, ExtArgs["result"]["template"]>
1382
-
1383
- export type TemplateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1384
- id?: boolean
1385
- uuid?: boolean
1386
- template_code?: boolean
1387
- template_name?: boolean
1388
- template_type?: boolean
1389
- currency_id?: boolean
1390
- is_active?: boolean
1391
- is_deleted?: boolean
1392
- created_at?: boolean
1393
- created_by?: boolean
1394
- updated_at?: boolean
1395
- updated_by?: boolean
1396
- deleted_at?: boolean
1397
- deleted_by?: boolean
1398
- currency?: boolean | Prisma.Template$currencyArgs<ExtArgs>
1399
- user?: boolean | Prisma.Template$userArgs<ExtArgs>
1400
- }, ExtArgs["result"]["template"]>
1401
-
1402
- export type TemplateSelectScalar = {
1403
- id?: boolean
1404
- uuid?: boolean
1405
- template_code?: boolean
1406
- template_name?: boolean
1407
- template_type?: boolean
1408
- currency_id?: boolean
1409
- is_active?: boolean
1410
- is_deleted?: boolean
1411
- created_at?: boolean
1412
- created_by?: boolean
1413
- updated_at?: boolean
1414
- updated_by?: boolean
1415
- deleted_at?: boolean
1416
- deleted_by?: boolean
1417
- }
1418
-
1419
- export type TemplateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "template_code" | "template_name" | "template_type" | "currency_id" | "is_active" | "is_deleted" | "created_at" | "created_by" | "updated_at" | "updated_by" | "deleted_at" | "deleted_by", ExtArgs["result"]["template"]>
1420
- export type TemplateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1421
- currency?: boolean | Prisma.Template$currencyArgs<ExtArgs>
1422
- fields?: boolean | Prisma.Template$fieldsArgs<ExtArgs>
1423
- user?: boolean | Prisma.Template$userArgs<ExtArgs>
1424
- event?: boolean | Prisma.Template$eventArgs<ExtArgs>
1425
- template_strategies?: boolean | Prisma.Template$template_strategiesArgs<ExtArgs>
1426
- _count?: boolean | Prisma.TemplateCountOutputTypeDefaultArgs<ExtArgs>
1427
- }
1428
- export type TemplateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1429
- currency?: boolean | Prisma.Template$currencyArgs<ExtArgs>
1430
- user?: boolean | Prisma.Template$userArgs<ExtArgs>
1431
- }
1432
- export type TemplateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1433
- currency?: boolean | Prisma.Template$currencyArgs<ExtArgs>
1434
- user?: boolean | Prisma.Template$userArgs<ExtArgs>
1435
- }
1436
-
1437
- export type $TemplatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1438
- name: "Template"
1439
- objects: {
1440
- currency: Prisma.$CurrencyPayload<ExtArgs> | null
1441
- fields: Prisma.$TemplateFieldPayload<ExtArgs>[]
1442
- user: Prisma.$UserPayload<ExtArgs> | null
1443
- event: Prisma.$EventPayload<ExtArgs>[]
1444
- template_strategies: Prisma.$TemplateStrategiesPayload<ExtArgs>[]
1445
- }
1446
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1447
- id: number
1448
- uuid: string | null
1449
- template_code: string | null
1450
- template_name: string | null
1451
- template_type: runtime.JsonValue | null
1452
- currency_id: number | null
1453
- is_active: boolean | null
1454
- is_deleted: boolean | null
1455
- created_at: Date | null
1456
- created_by: number | null
1457
- updated_at: Date | null
1458
- updated_by: number | null
1459
- deleted_at: Date | null
1460
- deleted_by: number | null
1461
- }, ExtArgs["result"]["template"]>
1462
- composites: {}
1463
- }
1464
-
1465
- export type TemplateGetPayload<S extends boolean | null | undefined | TemplateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TemplatePayload, S>
1466
-
1467
- export type TemplateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1468
- Omit<TemplateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1469
- select?: TemplateCountAggregateInputType | true
1470
- }
1471
-
1472
- export interface TemplateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1473
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Template'], meta: { name: 'Template' } }
1474
- /**
1475
- * Find zero or one Template that matches the filter.
1476
- * @param {TemplateFindUniqueArgs} args - Arguments to find a Template
1477
- * @example
1478
- * // Get one Template
1479
- * const template = await prisma.template.findUnique({
1480
- * where: {
1481
- * // ... provide filter here
1482
- * }
1483
- * })
1484
- */
1485
- findUnique<T extends TemplateFindUniqueArgs>(args: Prisma.SelectSubset<T, TemplateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1486
-
1487
- /**
1488
- * Find one Template that matches the filter or throw an error with `error.code='P2025'`
1489
- * if no matches were found.
1490
- * @param {TemplateFindUniqueOrThrowArgs} args - Arguments to find a Template
1491
- * @example
1492
- * // Get one Template
1493
- * const template = await prisma.template.findUniqueOrThrow({
1494
- * where: {
1495
- * // ... provide filter here
1496
- * }
1497
- * })
1498
- */
1499
- findUniqueOrThrow<T extends TemplateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1500
-
1501
- /**
1502
- * Find the first Template that matches the filter.
1503
- * Note, that providing `undefined` is treated as the value not being there.
1504
- * Read more here: https://pris.ly/d/null-undefined
1505
- * @param {TemplateFindFirstArgs} args - Arguments to find a Template
1506
- * @example
1507
- * // Get one Template
1508
- * const template = await prisma.template.findFirst({
1509
- * where: {
1510
- * // ... provide filter here
1511
- * }
1512
- * })
1513
- */
1514
- findFirst<T extends TemplateFindFirstArgs>(args?: Prisma.SelectSubset<T, TemplateFindFirstArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1515
-
1516
- /**
1517
- * Find the first Template that matches the filter or
1518
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1519
- * Note, that providing `undefined` is treated as the value not being there.
1520
- * Read more here: https://pris.ly/d/null-undefined
1521
- * @param {TemplateFindFirstOrThrowArgs} args - Arguments to find a Template
1522
- * @example
1523
- * // Get one Template
1524
- * const template = await prisma.template.findFirstOrThrow({
1525
- * where: {
1526
- * // ... provide filter here
1527
- * }
1528
- * })
1529
- */
1530
- findFirstOrThrow<T extends TemplateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1531
-
1532
- /**
1533
- * Find zero or more Templates that matches the filter.
1534
- * Note, that providing `undefined` is treated as the value not being there.
1535
- * Read more here: https://pris.ly/d/null-undefined
1536
- * @param {TemplateFindManyArgs} args - Arguments to filter and select certain fields only.
1537
- * @example
1538
- * // Get all Templates
1539
- * const templates = await prisma.template.findMany()
1540
- *
1541
- * // Get first 10 Templates
1542
- * const templates = await prisma.template.findMany({ take: 10 })
1543
- *
1544
- * // Only select the `id`
1545
- * const templateWithIdOnly = await prisma.template.findMany({ select: { id: true } })
1546
- *
1547
- */
1548
- findMany<T extends TemplateFindManyArgs>(args?: Prisma.SelectSubset<T, TemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1549
-
1550
- /**
1551
- * Create a Template.
1552
- * @param {TemplateCreateArgs} args - Arguments to create a Template.
1553
- * @example
1554
- * // Create one Template
1555
- * const Template = await prisma.template.create({
1556
- * data: {
1557
- * // ... data to create a Template
1558
- * }
1559
- * })
1560
- *
1561
- */
1562
- create<T extends TemplateCreateArgs>(args: Prisma.SelectSubset<T, TemplateCreateArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1563
-
1564
- /**
1565
- * Create many Templates.
1566
- * @param {TemplateCreateManyArgs} args - Arguments to create many Templates.
1567
- * @example
1568
- * // Create many Templates
1569
- * const template = await prisma.template.createMany({
1570
- * data: [
1571
- * // ... provide data here
1572
- * ]
1573
- * })
1574
- *
1575
- */
1576
- createMany<T extends TemplateCreateManyArgs>(args?: Prisma.SelectSubset<T, TemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1577
-
1578
- /**
1579
- * Create many Templates and returns the data saved in the database.
1580
- * @param {TemplateCreateManyAndReturnArgs} args - Arguments to create many Templates.
1581
- * @example
1582
- * // Create many Templates
1583
- * const template = await prisma.template.createManyAndReturn({
1584
- * data: [
1585
- * // ... provide data here
1586
- * ]
1587
- * })
1588
- *
1589
- * // Create many Templates and only return the `id`
1590
- * const templateWithIdOnly = await prisma.template.createManyAndReturn({
1591
- * select: { id: true },
1592
- * data: [
1593
- * // ... provide data here
1594
- * ]
1595
- * })
1596
- * Note, that providing `undefined` is treated as the value not being there.
1597
- * Read more here: https://pris.ly/d/null-undefined
1598
- *
1599
- */
1600
- createManyAndReturn<T extends TemplateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1601
-
1602
- /**
1603
- * Delete a Template.
1604
- * @param {TemplateDeleteArgs} args - Arguments to delete one Template.
1605
- * @example
1606
- * // Delete one Template
1607
- * const Template = await prisma.template.delete({
1608
- * where: {
1609
- * // ... filter to delete one Template
1610
- * }
1611
- * })
1612
- *
1613
- */
1614
- delete<T extends TemplateDeleteArgs>(args: Prisma.SelectSubset<T, TemplateDeleteArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1615
-
1616
- /**
1617
- * Update one Template.
1618
- * @param {TemplateUpdateArgs} args - Arguments to update one Template.
1619
- * @example
1620
- * // Update one Template
1621
- * const template = await prisma.template.update({
1622
- * where: {
1623
- * // ... provide filter here
1624
- * },
1625
- * data: {
1626
- * // ... provide data here
1627
- * }
1628
- * })
1629
- *
1630
- */
1631
- update<T extends TemplateUpdateArgs>(args: Prisma.SelectSubset<T, TemplateUpdateArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1632
-
1633
- /**
1634
- * Delete zero or more Templates.
1635
- * @param {TemplateDeleteManyArgs} args - Arguments to filter Templates to delete.
1636
- * @example
1637
- * // Delete a few Templates
1638
- * const { count } = await prisma.template.deleteMany({
1639
- * where: {
1640
- * // ... provide filter here
1641
- * }
1642
- * })
1643
- *
1644
- */
1645
- deleteMany<T extends TemplateDeleteManyArgs>(args?: Prisma.SelectSubset<T, TemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1646
-
1647
- /**
1648
- * Update zero or more Templates.
1649
- * Note, that providing `undefined` is treated as the value not being there.
1650
- * Read more here: https://pris.ly/d/null-undefined
1651
- * @param {TemplateUpdateManyArgs} args - Arguments to update one or more rows.
1652
- * @example
1653
- * // Update many Templates
1654
- * const template = await prisma.template.updateMany({
1655
- * where: {
1656
- * // ... provide filter here
1657
- * },
1658
- * data: {
1659
- * // ... provide data here
1660
- * }
1661
- * })
1662
- *
1663
- */
1664
- updateMany<T extends TemplateUpdateManyArgs>(args: Prisma.SelectSubset<T, TemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1665
-
1666
- /**
1667
- * Update zero or more Templates and returns the data updated in the database.
1668
- * @param {TemplateUpdateManyAndReturnArgs} args - Arguments to update many Templates.
1669
- * @example
1670
- * // Update many Templates
1671
- * const template = await prisma.template.updateManyAndReturn({
1672
- * where: {
1673
- * // ... provide filter here
1674
- * },
1675
- * data: [
1676
- * // ... provide data here
1677
- * ]
1678
- * })
1679
- *
1680
- * // Update zero or more Templates and only return the `id`
1681
- * const templateWithIdOnly = await prisma.template.updateManyAndReturn({
1682
- * select: { id: true },
1683
- * where: {
1684
- * // ... provide filter here
1685
- * },
1686
- * data: [
1687
- * // ... provide data here
1688
- * ]
1689
- * })
1690
- * Note, that providing `undefined` is treated as the value not being there.
1691
- * Read more here: https://pris.ly/d/null-undefined
1692
- *
1693
- */
1694
- updateManyAndReturn<T extends TemplateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TemplateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1695
-
1696
- /**
1697
- * Create or update one Template.
1698
- * @param {TemplateUpsertArgs} args - Arguments to update or create a Template.
1699
- * @example
1700
- * // Update or create a Template
1701
- * const template = await prisma.template.upsert({
1702
- * create: {
1703
- * // ... data to create a Template
1704
- * },
1705
- * update: {
1706
- * // ... in case it already exists, update
1707
- * },
1708
- * where: {
1709
- * // ... the filter for the Template we want to update
1710
- * }
1711
- * })
1712
- */
1713
- upsert<T extends TemplateUpsertArgs>(args: Prisma.SelectSubset<T, TemplateUpsertArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1714
-
1715
-
1716
- /**
1717
- * Count the number of Templates.
1718
- * Note, that providing `undefined` is treated as the value not being there.
1719
- * Read more here: https://pris.ly/d/null-undefined
1720
- * @param {TemplateCountArgs} args - Arguments to filter Templates to count.
1721
- * @example
1722
- * // Count the number of Templates
1723
- * const count = await prisma.template.count({
1724
- * where: {
1725
- * // ... the filter for the Templates we want to count
1726
- * }
1727
- * })
1728
- **/
1729
- count<T extends TemplateCountArgs>(
1730
- args?: Prisma.Subset<T, TemplateCountArgs>,
1731
- ): Prisma.PrismaPromise<
1732
- T extends runtime.Types.Utils.Record<'select', any>
1733
- ? T['select'] extends true
1734
- ? number
1735
- : Prisma.GetScalarType<T['select'], TemplateCountAggregateOutputType>
1736
- : number
1737
- >
1738
-
1739
- /**
1740
- * Allows you to perform aggregations operations on a Template.
1741
- * Note, that providing `undefined` is treated as the value not being there.
1742
- * Read more here: https://pris.ly/d/null-undefined
1743
- * @param {TemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1744
- * @example
1745
- * // Ordered by age ascending
1746
- * // Where email contains prisma.io
1747
- * // Limited to the 10 users
1748
- * const aggregations = await prisma.user.aggregate({
1749
- * _avg: {
1750
- * age: true,
1751
- * },
1752
- * where: {
1753
- * email: {
1754
- * contains: "prisma.io",
1755
- * },
1756
- * },
1757
- * orderBy: {
1758
- * age: "asc",
1759
- * },
1760
- * take: 10,
1761
- * })
1762
- **/
1763
- aggregate<T extends TemplateAggregateArgs>(args: Prisma.Subset<T, TemplateAggregateArgs>): Prisma.PrismaPromise<GetTemplateAggregateType<T>>
1764
-
1765
- /**
1766
- * Group by Template.
1767
- * Note, that providing `undefined` is treated as the value not being there.
1768
- * Read more here: https://pris.ly/d/null-undefined
1769
- * @param {TemplateGroupByArgs} args - Group by arguments.
1770
- * @example
1771
- * // Group by city, order by createdAt, get count
1772
- * const result = await prisma.user.groupBy({
1773
- * by: ['city', 'createdAt'],
1774
- * orderBy: {
1775
- * createdAt: true
1776
- * },
1777
- * _count: {
1778
- * _all: true
1779
- * },
1780
- * })
1781
- *
1782
- **/
1783
- groupBy<
1784
- T extends TemplateGroupByArgs,
1785
- HasSelectOrTake extends Prisma.Or<
1786
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1787
- Prisma.Extends<'take', Prisma.Keys<T>>
1788
- >,
1789
- OrderByArg extends Prisma.True extends HasSelectOrTake
1790
- ? { orderBy: TemplateGroupByArgs['orderBy'] }
1791
- : { orderBy?: TemplateGroupByArgs['orderBy'] },
1792
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1793
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1794
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1795
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1796
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1797
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1798
- InputErrors extends ByEmpty extends Prisma.True
1799
- ? `Error: "by" must not be empty.`
1800
- : HavingValid extends Prisma.False
1801
- ? {
1802
- [P in HavingFields]: P extends ByFields
1803
- ? never
1804
- : P extends string
1805
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1806
- : [
1807
- Error,
1808
- 'Field ',
1809
- P,
1810
- ` in "having" needs to be provided in "by"`,
1811
- ]
1812
- }[HavingFields]
1813
- : 'take' extends Prisma.Keys<T>
1814
- ? 'orderBy' extends Prisma.Keys<T>
1815
- ? ByValid extends Prisma.True
1816
- ? {}
1817
- : {
1818
- [P in OrderFields]: P extends ByFields
1819
- ? never
1820
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1821
- }[OrderFields]
1822
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1823
- : 'skip' extends Prisma.Keys<T>
1824
- ? 'orderBy' extends Prisma.Keys<T>
1825
- ? ByValid extends Prisma.True
1826
- ? {}
1827
- : {
1828
- [P in OrderFields]: P extends ByFields
1829
- ? never
1830
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1831
- }[OrderFields]
1832
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1833
- : ByValid extends Prisma.True
1834
- ? {}
1835
- : {
1836
- [P in OrderFields]: P extends ByFields
1837
- ? never
1838
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1839
- }[OrderFields]
1840
- >(args: Prisma.SubsetIntersection<T, TemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1841
- /**
1842
- * Fields of the Template model
1843
- */
1844
- readonly fields: TemplateFieldRefs;
1845
- }
1846
-
1847
- /**
1848
- * The delegate class that acts as a "Promise-like" for Template.
1849
- * Why is this prefixed with `Prisma__`?
1850
- * Because we want to prevent naming conflicts as mentioned in
1851
- * https://github.com/prisma/prisma-client-js/issues/707
1852
- */
1853
- export interface Prisma__TemplateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1854
- readonly [Symbol.toStringTag]: "PrismaPromise"
1855
- currency<T extends Prisma.Template$currencyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Template$currencyArgs<ExtArgs>>): Prisma.Prisma__CurrencyClient<runtime.Types.Result.GetResult<Prisma.$CurrencyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1856
- fields<T extends Prisma.Template$fieldsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Template$fieldsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TemplateFieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1857
- user<T extends Prisma.Template$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Template$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1858
- event<T extends Prisma.Template$eventArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Template$eventArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1859
- template_strategies<T extends Prisma.Template$template_strategiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Template$template_strategiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TemplateStrategiesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1860
- /**
1861
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1862
- * @param onfulfilled The callback to execute when the Promise is resolved.
1863
- * @param onrejected The callback to execute when the Promise is rejected.
1864
- * @returns A Promise for the completion of which ever callback is executed.
1865
- */
1866
- 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>
1867
- /**
1868
- * Attaches a callback for only the rejection of the Promise.
1869
- * @param onrejected The callback to execute when the Promise is rejected.
1870
- * @returns A Promise for the completion of the callback.
1871
- */
1872
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1873
- /**
1874
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1875
- * resolved value cannot be modified from the callback.
1876
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1877
- * @returns A Promise for the completion of the callback.
1878
- */
1879
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1880
- }
1881
-
1882
-
1883
-
1884
-
1885
- /**
1886
- * Fields of the Template model
1887
- */
1888
- export interface TemplateFieldRefs {
1889
- readonly id: Prisma.FieldRef<"Template", 'Int'>
1890
- readonly uuid: Prisma.FieldRef<"Template", 'String'>
1891
- readonly template_code: Prisma.FieldRef<"Template", 'String'>
1892
- readonly template_name: Prisma.FieldRef<"Template", 'String'>
1893
- readonly template_type: Prisma.FieldRef<"Template", 'Json'>
1894
- readonly currency_id: Prisma.FieldRef<"Template", 'Int'>
1895
- readonly is_active: Prisma.FieldRef<"Template", 'Boolean'>
1896
- readonly is_deleted: Prisma.FieldRef<"Template", 'Boolean'>
1897
- readonly created_at: Prisma.FieldRef<"Template", 'DateTime'>
1898
- readonly created_by: Prisma.FieldRef<"Template", 'Int'>
1899
- readonly updated_at: Prisma.FieldRef<"Template", 'DateTime'>
1900
- readonly updated_by: Prisma.FieldRef<"Template", 'Int'>
1901
- readonly deleted_at: Prisma.FieldRef<"Template", 'DateTime'>
1902
- readonly deleted_by: Prisma.FieldRef<"Template", 'Int'>
1903
- }
1904
-
1905
-
1906
- // Custom InputTypes
1907
- /**
1908
- * Template findUnique
1909
- */
1910
- export type TemplateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1911
- /**
1912
- * Select specific fields to fetch from the Template
1913
- */
1914
- select?: Prisma.TemplateSelect<ExtArgs> | null
1915
- /**
1916
- * Omit specific fields from the Template
1917
- */
1918
- omit?: Prisma.TemplateOmit<ExtArgs> | null
1919
- /**
1920
- * Choose, which related nodes to fetch as well
1921
- */
1922
- include?: Prisma.TemplateInclude<ExtArgs> | null
1923
- /**
1924
- * Filter, which Template to fetch.
1925
- */
1926
- where: Prisma.TemplateWhereUniqueInput
1927
- }
1928
-
1929
- /**
1930
- * Template findUniqueOrThrow
1931
- */
1932
- export type TemplateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1933
- /**
1934
- * Select specific fields to fetch from the Template
1935
- */
1936
- select?: Prisma.TemplateSelect<ExtArgs> | null
1937
- /**
1938
- * Omit specific fields from the Template
1939
- */
1940
- omit?: Prisma.TemplateOmit<ExtArgs> | null
1941
- /**
1942
- * Choose, which related nodes to fetch as well
1943
- */
1944
- include?: Prisma.TemplateInclude<ExtArgs> | null
1945
- /**
1946
- * Filter, which Template to fetch.
1947
- */
1948
- where: Prisma.TemplateWhereUniqueInput
1949
- }
1950
-
1951
- /**
1952
- * Template findFirst
1953
- */
1954
- export type TemplateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1955
- /**
1956
- * Select specific fields to fetch from the Template
1957
- */
1958
- select?: Prisma.TemplateSelect<ExtArgs> | null
1959
- /**
1960
- * Omit specific fields from the Template
1961
- */
1962
- omit?: Prisma.TemplateOmit<ExtArgs> | null
1963
- /**
1964
- * Choose, which related nodes to fetch as well
1965
- */
1966
- include?: Prisma.TemplateInclude<ExtArgs> | null
1967
- /**
1968
- * Filter, which Template to fetch.
1969
- */
1970
- where?: Prisma.TemplateWhereInput
1971
- /**
1972
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1973
- *
1974
- * Determine the order of Templates to fetch.
1975
- */
1976
- orderBy?: Prisma.TemplateOrderByWithRelationInput | Prisma.TemplateOrderByWithRelationInput[]
1977
- /**
1978
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1979
- *
1980
- * Sets the position for searching for Templates.
1981
- */
1982
- cursor?: Prisma.TemplateWhereUniqueInput
1983
- /**
1984
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1985
- *
1986
- * Take `±n` Templates from the position of the cursor.
1987
- */
1988
- take?: number
1989
- /**
1990
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1991
- *
1992
- * Skip the first `n` Templates.
1993
- */
1994
- skip?: number
1995
- /**
1996
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1997
- *
1998
- * Filter by unique combinations of Templates.
1999
- */
2000
- distinct?: Prisma.TemplateScalarFieldEnum | Prisma.TemplateScalarFieldEnum[]
2001
- }
2002
-
2003
- /**
2004
- * Template findFirstOrThrow
2005
- */
2006
- export type TemplateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2007
- /**
2008
- * Select specific fields to fetch from the Template
2009
- */
2010
- select?: Prisma.TemplateSelect<ExtArgs> | null
2011
- /**
2012
- * Omit specific fields from the Template
2013
- */
2014
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2015
- /**
2016
- * Choose, which related nodes to fetch as well
2017
- */
2018
- include?: Prisma.TemplateInclude<ExtArgs> | null
2019
- /**
2020
- * Filter, which Template to fetch.
2021
- */
2022
- where?: Prisma.TemplateWhereInput
2023
- /**
2024
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2025
- *
2026
- * Determine the order of Templates to fetch.
2027
- */
2028
- orderBy?: Prisma.TemplateOrderByWithRelationInput | Prisma.TemplateOrderByWithRelationInput[]
2029
- /**
2030
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2031
- *
2032
- * Sets the position for searching for Templates.
2033
- */
2034
- cursor?: Prisma.TemplateWhereUniqueInput
2035
- /**
2036
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2037
- *
2038
- * Take `±n` Templates from the position of the cursor.
2039
- */
2040
- take?: number
2041
- /**
2042
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2043
- *
2044
- * Skip the first `n` Templates.
2045
- */
2046
- skip?: number
2047
- /**
2048
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2049
- *
2050
- * Filter by unique combinations of Templates.
2051
- */
2052
- distinct?: Prisma.TemplateScalarFieldEnum | Prisma.TemplateScalarFieldEnum[]
2053
- }
2054
-
2055
- /**
2056
- * Template findMany
2057
- */
2058
- export type TemplateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2059
- /**
2060
- * Select specific fields to fetch from the Template
2061
- */
2062
- select?: Prisma.TemplateSelect<ExtArgs> | null
2063
- /**
2064
- * Omit specific fields from the Template
2065
- */
2066
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2067
- /**
2068
- * Choose, which related nodes to fetch as well
2069
- */
2070
- include?: Prisma.TemplateInclude<ExtArgs> | null
2071
- /**
2072
- * Filter, which Templates to fetch.
2073
- */
2074
- where?: Prisma.TemplateWhereInput
2075
- /**
2076
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2077
- *
2078
- * Determine the order of Templates to fetch.
2079
- */
2080
- orderBy?: Prisma.TemplateOrderByWithRelationInput | Prisma.TemplateOrderByWithRelationInput[]
2081
- /**
2082
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2083
- *
2084
- * Sets the position for listing Templates.
2085
- */
2086
- cursor?: Prisma.TemplateWhereUniqueInput
2087
- /**
2088
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2089
- *
2090
- * Take `±n` Templates from the position of the cursor.
2091
- */
2092
- take?: number
2093
- /**
2094
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2095
- *
2096
- * Skip the first `n` Templates.
2097
- */
2098
- skip?: number
2099
- /**
2100
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2101
- *
2102
- * Filter by unique combinations of Templates.
2103
- */
2104
- distinct?: Prisma.TemplateScalarFieldEnum | Prisma.TemplateScalarFieldEnum[]
2105
- }
2106
-
2107
- /**
2108
- * Template create
2109
- */
2110
- export type TemplateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2111
- /**
2112
- * Select specific fields to fetch from the Template
2113
- */
2114
- select?: Prisma.TemplateSelect<ExtArgs> | null
2115
- /**
2116
- * Omit specific fields from the Template
2117
- */
2118
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2119
- /**
2120
- * Choose, which related nodes to fetch as well
2121
- */
2122
- include?: Prisma.TemplateInclude<ExtArgs> | null
2123
- /**
2124
- * The data needed to create a Template.
2125
- */
2126
- data?: Prisma.XOR<Prisma.TemplateCreateInput, Prisma.TemplateUncheckedCreateInput>
2127
- }
2128
-
2129
- /**
2130
- * Template createMany
2131
- */
2132
- export type TemplateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2133
- /**
2134
- * The data used to create many Templates.
2135
- */
2136
- data: Prisma.TemplateCreateManyInput | Prisma.TemplateCreateManyInput[]
2137
- skipDuplicates?: boolean
2138
- }
2139
-
2140
- /**
2141
- * Template createManyAndReturn
2142
- */
2143
- export type TemplateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2144
- /**
2145
- * Select specific fields to fetch from the Template
2146
- */
2147
- select?: Prisma.TemplateSelectCreateManyAndReturn<ExtArgs> | null
2148
- /**
2149
- * Omit specific fields from the Template
2150
- */
2151
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2152
- /**
2153
- * The data used to create many Templates.
2154
- */
2155
- data: Prisma.TemplateCreateManyInput | Prisma.TemplateCreateManyInput[]
2156
- skipDuplicates?: boolean
2157
- /**
2158
- * Choose, which related nodes to fetch as well
2159
- */
2160
- include?: Prisma.TemplateIncludeCreateManyAndReturn<ExtArgs> | null
2161
- }
2162
-
2163
- /**
2164
- * Template update
2165
- */
2166
- export type TemplateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2167
- /**
2168
- * Select specific fields to fetch from the Template
2169
- */
2170
- select?: Prisma.TemplateSelect<ExtArgs> | null
2171
- /**
2172
- * Omit specific fields from the Template
2173
- */
2174
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2175
- /**
2176
- * Choose, which related nodes to fetch as well
2177
- */
2178
- include?: Prisma.TemplateInclude<ExtArgs> | null
2179
- /**
2180
- * The data needed to update a Template.
2181
- */
2182
- data: Prisma.XOR<Prisma.TemplateUpdateInput, Prisma.TemplateUncheckedUpdateInput>
2183
- /**
2184
- * Choose, which Template to update.
2185
- */
2186
- where: Prisma.TemplateWhereUniqueInput
2187
- }
2188
-
2189
- /**
2190
- * Template updateMany
2191
- */
2192
- export type TemplateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2193
- /**
2194
- * The data used to update Templates.
2195
- */
2196
- data: Prisma.XOR<Prisma.TemplateUpdateManyMutationInput, Prisma.TemplateUncheckedUpdateManyInput>
2197
- /**
2198
- * Filter which Templates to update
2199
- */
2200
- where?: Prisma.TemplateWhereInput
2201
- /**
2202
- * Limit how many Templates to update.
2203
- */
2204
- limit?: number
2205
- }
2206
-
2207
- /**
2208
- * Template updateManyAndReturn
2209
- */
2210
- export type TemplateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2211
- /**
2212
- * Select specific fields to fetch from the Template
2213
- */
2214
- select?: Prisma.TemplateSelectUpdateManyAndReturn<ExtArgs> | null
2215
- /**
2216
- * Omit specific fields from the Template
2217
- */
2218
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2219
- /**
2220
- * The data used to update Templates.
2221
- */
2222
- data: Prisma.XOR<Prisma.TemplateUpdateManyMutationInput, Prisma.TemplateUncheckedUpdateManyInput>
2223
- /**
2224
- * Filter which Templates to update
2225
- */
2226
- where?: Prisma.TemplateWhereInput
2227
- /**
2228
- * Limit how many Templates to update.
2229
- */
2230
- limit?: number
2231
- /**
2232
- * Choose, which related nodes to fetch as well
2233
- */
2234
- include?: Prisma.TemplateIncludeUpdateManyAndReturn<ExtArgs> | null
2235
- }
2236
-
2237
- /**
2238
- * Template upsert
2239
- */
2240
- export type TemplateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2241
- /**
2242
- * Select specific fields to fetch from the Template
2243
- */
2244
- select?: Prisma.TemplateSelect<ExtArgs> | null
2245
- /**
2246
- * Omit specific fields from the Template
2247
- */
2248
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2249
- /**
2250
- * Choose, which related nodes to fetch as well
2251
- */
2252
- include?: Prisma.TemplateInclude<ExtArgs> | null
2253
- /**
2254
- * The filter to search for the Template to update in case it exists.
2255
- */
2256
- where: Prisma.TemplateWhereUniqueInput
2257
- /**
2258
- * In case the Template found by the `where` argument doesn't exist, create a new Template with this data.
2259
- */
2260
- create: Prisma.XOR<Prisma.TemplateCreateInput, Prisma.TemplateUncheckedCreateInput>
2261
- /**
2262
- * In case the Template was found with the provided `where` argument, update it with this data.
2263
- */
2264
- update: Prisma.XOR<Prisma.TemplateUpdateInput, Prisma.TemplateUncheckedUpdateInput>
2265
- }
2266
-
2267
- /**
2268
- * Template delete
2269
- */
2270
- export type TemplateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2271
- /**
2272
- * Select specific fields to fetch from the Template
2273
- */
2274
- select?: Prisma.TemplateSelect<ExtArgs> | null
2275
- /**
2276
- * Omit specific fields from the Template
2277
- */
2278
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2279
- /**
2280
- * Choose, which related nodes to fetch as well
2281
- */
2282
- include?: Prisma.TemplateInclude<ExtArgs> | null
2283
- /**
2284
- * Filter which Template to delete.
2285
- */
2286
- where: Prisma.TemplateWhereUniqueInput
2287
- }
2288
-
2289
- /**
2290
- * Template deleteMany
2291
- */
2292
- export type TemplateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2293
- /**
2294
- * Filter which Templates to delete
2295
- */
2296
- where?: Prisma.TemplateWhereInput
2297
- /**
2298
- * Limit how many Templates to delete.
2299
- */
2300
- limit?: number
2301
- }
2302
-
2303
- /**
2304
- * Template.currency
2305
- */
2306
- export type Template$currencyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2307
- /**
2308
- * Select specific fields to fetch from the Currency
2309
- */
2310
- select?: Prisma.CurrencySelect<ExtArgs> | null
2311
- /**
2312
- * Omit specific fields from the Currency
2313
- */
2314
- omit?: Prisma.CurrencyOmit<ExtArgs> | null
2315
- /**
2316
- * Choose, which related nodes to fetch as well
2317
- */
2318
- include?: Prisma.CurrencyInclude<ExtArgs> | null
2319
- where?: Prisma.CurrencyWhereInput
2320
- }
2321
-
2322
- /**
2323
- * Template.fields
2324
- */
2325
- export type Template$fieldsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2326
- /**
2327
- * Select specific fields to fetch from the TemplateField
2328
- */
2329
- select?: Prisma.TemplateFieldSelect<ExtArgs> | null
2330
- /**
2331
- * Omit specific fields from the TemplateField
2332
- */
2333
- omit?: Prisma.TemplateFieldOmit<ExtArgs> | null
2334
- /**
2335
- * Choose, which related nodes to fetch as well
2336
- */
2337
- include?: Prisma.TemplateFieldInclude<ExtArgs> | null
2338
- where?: Prisma.TemplateFieldWhereInput
2339
- orderBy?: Prisma.TemplateFieldOrderByWithRelationInput | Prisma.TemplateFieldOrderByWithRelationInput[]
2340
- cursor?: Prisma.TemplateFieldWhereUniqueInput
2341
- take?: number
2342
- skip?: number
2343
- distinct?: Prisma.TemplateFieldScalarFieldEnum | Prisma.TemplateFieldScalarFieldEnum[]
2344
- }
2345
-
2346
- /**
2347
- * Template.user
2348
- */
2349
- export type Template$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2350
- /**
2351
- * Select specific fields to fetch from the User
2352
- */
2353
- select?: Prisma.UserSelect<ExtArgs> | null
2354
- /**
2355
- * Omit specific fields from the User
2356
- */
2357
- omit?: Prisma.UserOmit<ExtArgs> | null
2358
- /**
2359
- * Choose, which related nodes to fetch as well
2360
- */
2361
- include?: Prisma.UserInclude<ExtArgs> | null
2362
- where?: Prisma.UserWhereInput
2363
- }
2364
-
2365
- /**
2366
- * Template.event
2367
- */
2368
- export type Template$eventArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2369
- /**
2370
- * Select specific fields to fetch from the Event
2371
- */
2372
- select?: Prisma.EventSelect<ExtArgs> | null
2373
- /**
2374
- * Omit specific fields from the Event
2375
- */
2376
- omit?: Prisma.EventOmit<ExtArgs> | null
2377
- /**
2378
- * Choose, which related nodes to fetch as well
2379
- */
2380
- include?: Prisma.EventInclude<ExtArgs> | null
2381
- where?: Prisma.EventWhereInput
2382
- orderBy?: Prisma.EventOrderByWithRelationInput | Prisma.EventOrderByWithRelationInput[]
2383
- cursor?: Prisma.EventWhereUniqueInput
2384
- take?: number
2385
- skip?: number
2386
- distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[]
2387
- }
2388
-
2389
- /**
2390
- * Template.template_strategies
2391
- */
2392
- export type Template$template_strategiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2393
- /**
2394
- * Select specific fields to fetch from the TemplateStrategies
2395
- */
2396
- select?: Prisma.TemplateStrategiesSelect<ExtArgs> | null
2397
- /**
2398
- * Omit specific fields from the TemplateStrategies
2399
- */
2400
- omit?: Prisma.TemplateStrategiesOmit<ExtArgs> | null
2401
- /**
2402
- * Choose, which related nodes to fetch as well
2403
- */
2404
- include?: Prisma.TemplateStrategiesInclude<ExtArgs> | null
2405
- where?: Prisma.TemplateStrategiesWhereInput
2406
- orderBy?: Prisma.TemplateStrategiesOrderByWithRelationInput | Prisma.TemplateStrategiesOrderByWithRelationInput[]
2407
- cursor?: Prisma.TemplateStrategiesWhereUniqueInput
2408
- take?: number
2409
- skip?: number
2410
- distinct?: Prisma.TemplateStrategiesScalarFieldEnum | Prisma.TemplateStrategiesScalarFieldEnum[]
2411
- }
2412
-
2413
- /**
2414
- * Template without action
2415
- */
2416
- export type TemplateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2417
- /**
2418
- * Select specific fields to fetch from the Template
2419
- */
2420
- select?: Prisma.TemplateSelect<ExtArgs> | null
2421
- /**
2422
- * Omit specific fields from the Template
2423
- */
2424
- omit?: Prisma.TemplateOmit<ExtArgs> | null
2425
- /**
2426
- * Choose, which related nodes to fetch as well
2427
- */
2428
- include?: Prisma.TemplateInclude<ExtArgs> | null
2429
- }