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