@windrun-huaiin/backend-core 26.0.2 → 28.0.0
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/dist/app/api/ai/route.d.ts +2 -0
- package/dist/app/api/ai/route.d.ts.map +1 -0
- package/dist/app/api/ai/route.js +10 -0
- package/dist/app/api/ai/route.mjs +1 -0
- package/dist/app/api/stripe/checkout/route.js +1 -1
- package/dist/app/api/stripe/checkout/route.mjs +1 -1
- package/dist/app/api/stripe/customer-portal/route.js +1 -1
- package/dist/app/api/stripe/customer-portal/route.mjs +1 -1
- package/dist/app/api/webhook/clerk/user/route.js +1 -1
- package/dist/app/api/webhook/clerk/user/route.mjs +1 -1
- package/dist/auth/auth-utils.js +1 -1
- package/dist/auth/auth-utils.mjs +1 -1
- package/dist/config/fingerprint.d.ts +2 -0
- package/dist/config/fingerprint.d.ts.map +1 -0
- package/dist/config/fingerprint.js +7 -0
- package/dist/config/fingerprint.mjs +1 -0
- package/dist/config/money-price.d.ts +2 -0
- package/dist/config/money-price.d.ts.map +1 -0
- package/dist/config/money-price.js +10 -0
- package/dist/config/money-price.mjs +1 -0
- package/dist/core-prisma/browser.d.ts +40 -0
- package/dist/core-prisma/browser.d.ts.map +1 -0
- package/dist/core-prisma/client.d.ts +57 -0
- package/dist/core-prisma/client.d.ts.map +1 -0
- package/dist/core-prisma/client.js +55 -0
- package/dist/core-prisma/client.mjs +33 -0
- package/dist/core-prisma/commonInputTypes.d.ts +495 -0
- package/dist/core-prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/core-prisma/enums.d.ts +2 -0
- package/dist/core-prisma/enums.d.ts.map +1 -0
- package/dist/core-prisma/internal/class.d.ts +193 -0
- package/dist/core-prisma/internal/class.d.ts.map +1 -0
- package/dist/core-prisma/internal/class.js +108 -0
- package/dist/core-prisma/internal/class.mjs +87 -0
- package/dist/core-prisma/internal/prismaNamespace.d.ts +1180 -0
- package/dist/core-prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/core-prisma/internal/prismaNamespace.js +278 -0
- package/dist/core-prisma/internal/prismaNamespace.mjs +226 -0
- package/dist/core-prisma/internal/prismaNamespaceBrowser.d.ts +233 -0
- package/dist/core-prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/core-prisma/models/Apilog.d.ts +1088 -0
- package/dist/core-prisma/models/Apilog.d.ts.map +1 -0
- package/dist/core-prisma/models/Credit.d.ts +1554 -0
- package/dist/core-prisma/models/Credit.d.ts.map +1 -0
- package/dist/core-prisma/models/CreditAuditLog.d.ts +1362 -0
- package/dist/core-prisma/models/CreditAuditLog.d.ts.map +1 -0
- package/dist/core-prisma/models/Subscription.d.ts +1441 -0
- package/dist/core-prisma/models/Subscription.d.ts.map +1 -0
- package/dist/core-prisma/models/Transaction.d.ts +2222 -0
- package/dist/core-prisma/models/Transaction.d.ts.map +1 -0
- package/dist/core-prisma/models/User.d.ts +1775 -0
- package/dist/core-prisma/models/User.d.ts.map +1 -0
- package/dist/core-prisma/models/UserBackup.d.ts +1228 -0
- package/dist/core-prisma/models/UserBackup.d.ts.map +1 -0
- package/dist/core-prisma/models.d.ts +9 -0
- package/dist/core-prisma/models.d.ts.map +1 -0
- package/dist/credit/server.d.ts +2 -0
- package/dist/credit/server.d.ts.map +1 -0
- package/dist/credit/server.js +11 -0
- package/dist/credit/server.mjs +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -98
- package/dist/index.mjs +5 -14
- package/dist/lib/money-price-helper.d.ts.map +1 -1
- package/dist/lib/money-price-helper.js +1 -0
- package/dist/lib/money-price-helper.mjs +2 -1
- package/dist/lib/stripe-config.js +1 -1
- package/dist/lib/stripe-config.mjs +1 -1
- package/dist/pricing/server.d.ts +2 -0
- package/dist/pricing/server.d.ts.map +1 -0
- package/dist/pricing/server.js +7 -0
- package/dist/pricing/server.mjs +1 -0
- package/dist/prisma/index.d.ts +4 -1
- package/dist/prisma/index.d.ts.map +1 -1
- package/dist/prisma/index.js +6 -0
- package/dist/prisma/index.mjs +4 -1
- package/dist/prisma/prisma-transaction-util.d.ts +1 -1
- package/dist/prisma/prisma-transaction-util.d.ts.map +1 -1
- package/dist/prisma/prisma-transaction-util.js +1 -1
- package/dist/prisma/prisma-transaction-util.mjs +2 -2
- package/dist/prisma/prisma.d.ts +22 -3
- package/dist/prisma/prisma.d.ts.map +1 -1
- package/dist/prisma/prisma.js +83 -20
- package/dist/prisma/prisma.mjs +81 -21
- package/dist/services/aggregate/anonymous.aggregate.service.d.ts +2 -2
- package/dist/services/aggregate/anonymous.aggregate.service.d.ts.map +1 -1
- package/dist/services/aggregate/anonymous.aggregate.service.js +3 -2
- package/dist/services/aggregate/anonymous.aggregate.service.mjs +3 -2
- package/dist/services/aggregate/billing.aggregate.service.d.ts +2 -2
- package/dist/services/aggregate/billing.aggregate.service.d.ts.map +1 -1
- package/dist/services/aggregate/billing.aggregate.service.js +1 -1
- package/dist/services/aggregate/billing.aggregate.service.mjs +1 -1
- package/dist/services/aggregate/user.aggregate.service.d.ts +1 -1
- package/dist/services/aggregate/user.aggregate.service.d.ts.map +1 -1
- package/dist/services/aggregate/user.aggregate.service.js +3 -3
- package/dist/services/aggregate/user.aggregate.service.mjs +3 -3
- package/dist/services/context/index.js +1 -0
- package/dist/services/context/index.mjs +1 -1
- package/dist/services/context/user-context-finalizer.d.ts +1 -0
- package/dist/services/context/user-context-finalizer.d.ts.map +1 -1
- package/dist/services/context/user-context-finalizer.js +17 -0
- package/dist/services/context/user-context-finalizer.mjs +17 -1
- package/dist/services/context/user-context-service.js +1 -1
- package/dist/services/context/user-context-service.mjs +1 -1
- package/dist/services/database/apilog.service.d.ts +2 -2
- package/dist/services/database/apilog.service.d.ts.map +1 -1
- package/dist/services/database/apilog.service.js +1 -0
- package/dist/services/database/apilog.service.mjs +1 -0
- package/dist/services/database/credit.service.d.ts +2 -2
- package/dist/services/database/credit.service.d.ts.map +1 -1
- package/dist/services/database/credit.service.js +5 -4
- package/dist/services/database/credit.service.mjs +3 -2
- package/dist/services/database/creditAuditLog.service.d.ts +2 -2
- package/dist/services/database/creditAuditLog.service.d.ts.map +1 -1
- package/dist/services/database/creditAuditLog.service.js +5 -4
- package/dist/services/database/creditAuditLog.service.mjs +3 -2
- package/dist/services/database/prisma-model-type.d.ts +2 -2
- package/dist/services/database/prisma-model-type.d.ts.map +1 -1
- package/dist/services/database/subscription.service.d.ts +1 -1
- package/dist/services/database/subscription.service.d.ts.map +1 -1
- package/dist/services/database/subscription.service.js +1 -0
- package/dist/services/database/subscription.service.mjs +1 -0
- package/dist/services/database/transaction.service.d.ts +3 -3
- package/dist/services/database/transaction.service.d.ts.map +1 -1
- package/dist/services/database/transaction.service.js +5 -4
- package/dist/services/database/transaction.service.mjs +3 -2
- package/dist/services/database/user.service.d.ts +2 -2
- package/dist/services/database/user.service.d.ts.map +1 -1
- package/dist/services/database/user.service.js +1 -0
- package/dist/services/database/user.service.mjs +1 -0
- package/dist/services/database/userBackup.service.d.ts +2 -2
- package/dist/services/database/userBackup.service.d.ts.map +1 -1
- package/dist/services/database/userBackup.service.js +1 -0
- package/dist/services/database/userBackup.service.mjs +1 -0
- package/dist/services/stripe/webhook-handler.js +1 -1
- package/dist/services/stripe/webhook-handler.mjs +1 -1
- package/dist/upstash/server.d.ts +3 -0
- package/dist/upstash/server.d.ts.map +1 -0
- package/dist/{lib/index.js → upstash/server.js} +7 -32
- package/dist/upstash/server.mjs +7 -0
- package/package.json +44 -12
- package/prisma/schema.prisma +3 -1
- package/src/app/api/ai/route.ts +6 -0
- package/src/app/api/stripe/checkout/route.ts +4 -4
- package/src/app/api/stripe/customer-portal/route.ts +3 -3
- package/src/app/api/user/anonymous/init/route.ts +5 -5
- package/src/app/api/webhook/clerk/user/route.ts +3 -3
- package/src/app/api/webhook/stripe/route.ts +3 -3
- package/src/config/fingerprint.ts +1 -0
- package/src/config/money-price.ts +1 -0
- package/src/core-prisma/browser.ts +54 -0
- package/src/core-prisma/client.ts +78 -0
- package/src/core-prisma/commonInputTypes.ts +565 -0
- package/src/core-prisma/enums.ts +15 -0
- package/src/core-prisma/internal/class.ts +293 -0
- package/src/core-prisma/internal/prismaNamespace.ts +1419 -0
- package/src/core-prisma/internal/prismaNamespaceBrowser.ts +259 -0
- package/src/core-prisma/models/Apilog.ts +1244 -0
- package/src/core-prisma/models/Credit.ts +1722 -0
- package/src/core-prisma/models/CreditAuditLog.ts +1536 -0
- package/src/core-prisma/models/Subscription.ts +1610 -0
- package/src/core-prisma/models/Transaction.ts +2398 -0
- package/src/core-prisma/models/User.ts +1982 -0
- package/src/core-prisma/models/UserBackup.ts +1384 -0
- package/src/core-prisma/models.ts +18 -0
- package/src/credit/server.ts +1 -0
- package/src/index.ts +0 -1
- package/src/lib/money-price-helper.ts +3 -0
- package/src/pricing/server.ts +1 -0
- package/src/prisma/index.ts +18 -1
- package/src/prisma/prisma-transaction-util.ts +3 -3
- package/src/prisma/prisma.ts +130 -21
- package/src/services/aggregate/anonymous.aggregate.service.ts +7 -7
- package/src/services/aggregate/billing.aggregate.service.ts +3 -3
- package/src/services/aggregate/user.aggregate.service.ts +7 -6
- package/src/services/context/user-context-finalizer.ts +16 -0
- package/src/services/database/apilog.service.ts +3 -3
- package/src/services/database/credit.service.ts +7 -7
- package/src/services/database/creditAuditLog.service.ts +4 -4
- package/src/services/database/prisma-model-type.ts +2 -2
- package/src/services/database/subscription.service.ts +3 -3
- package/src/services/database/transaction.service.ts +4 -4
- package/src/services/database/user.service.ts +4 -4
- package/src/services/database/userBackup.service.ts +4 -4
- package/src/services/stripe/webhook-handler.ts +6 -6
- package/src/upstash/server.ts +2 -0
- package/dist/lib/index.d.ts +0 -8
- package/dist/lib/index.d.ts.map +0 -1
- package/dist/lib/index.mjs +0 -12
- package/src/lib/index.ts +0 -7
|
@@ -0,0 +1,1244 @@
|
|
|
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 `Apilog` 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"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model Apilog
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ApilogModel = runtime.Types.Result.DefaultSelection<Prisma.$ApilogPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateApilog = {
|
|
22
|
+
_count: ApilogCountAggregateOutputType | null
|
|
23
|
+
_avg: ApilogAvgAggregateOutputType | null
|
|
24
|
+
_sum: ApilogSumAggregateOutputType | null
|
|
25
|
+
_min: ApilogMinAggregateOutputType | null
|
|
26
|
+
_max: ApilogMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ApilogAvgAggregateOutputType = {
|
|
30
|
+
id: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ApilogSumAggregateOutputType = {
|
|
34
|
+
id: bigint | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type ApilogMinAggregateOutputType = {
|
|
38
|
+
id: bigint | null
|
|
39
|
+
apiType: string | null
|
|
40
|
+
methodName: string | null
|
|
41
|
+
summary: string | null
|
|
42
|
+
request: string | null
|
|
43
|
+
response: string | null
|
|
44
|
+
createdAt: Date | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type ApilogMaxAggregateOutputType = {
|
|
48
|
+
id: bigint | null
|
|
49
|
+
apiType: string | null
|
|
50
|
+
methodName: string | null
|
|
51
|
+
summary: string | null
|
|
52
|
+
request: string | null
|
|
53
|
+
response: string | null
|
|
54
|
+
createdAt: Date | null
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type ApilogCountAggregateOutputType = {
|
|
58
|
+
id: number
|
|
59
|
+
apiType: number
|
|
60
|
+
methodName: number
|
|
61
|
+
summary: number
|
|
62
|
+
request: number
|
|
63
|
+
response: number
|
|
64
|
+
createdAt: number
|
|
65
|
+
_all: number
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
export type ApilogAvgAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type ApilogSumAggregateInputType = {
|
|
74
|
+
id?: true
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type ApilogMinAggregateInputType = {
|
|
78
|
+
id?: true
|
|
79
|
+
apiType?: true
|
|
80
|
+
methodName?: true
|
|
81
|
+
summary?: true
|
|
82
|
+
request?: true
|
|
83
|
+
response?: true
|
|
84
|
+
createdAt?: true
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type ApilogMaxAggregateInputType = {
|
|
88
|
+
id?: true
|
|
89
|
+
apiType?: true
|
|
90
|
+
methodName?: true
|
|
91
|
+
summary?: true
|
|
92
|
+
request?: true
|
|
93
|
+
response?: true
|
|
94
|
+
createdAt?: true
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type ApilogCountAggregateInputType = {
|
|
98
|
+
id?: true
|
|
99
|
+
apiType?: true
|
|
100
|
+
methodName?: true
|
|
101
|
+
summary?: true
|
|
102
|
+
request?: true
|
|
103
|
+
response?: true
|
|
104
|
+
createdAt?: true
|
|
105
|
+
_all?: true
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type ApilogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
109
|
+
/**
|
|
110
|
+
* Filter which Apilog to aggregate.
|
|
111
|
+
*/
|
|
112
|
+
where?: Prisma.ApilogWhereInput
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
115
|
+
*
|
|
116
|
+
* Determine the order of Apilogs to fetch.
|
|
117
|
+
*/
|
|
118
|
+
orderBy?: Prisma.ApilogOrderByWithRelationInput | Prisma.ApilogOrderByWithRelationInput[]
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
121
|
+
*
|
|
122
|
+
* Sets the start position
|
|
123
|
+
*/
|
|
124
|
+
cursor?: Prisma.ApilogWhereUniqueInput
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
+
*
|
|
128
|
+
* Take `±n` Apilogs from the position of the cursor.
|
|
129
|
+
*/
|
|
130
|
+
take?: number
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
+
*
|
|
134
|
+
* Skip the first `n` Apilogs.
|
|
135
|
+
*/
|
|
136
|
+
skip?: number
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Count returned Apilogs
|
|
141
|
+
**/
|
|
142
|
+
_count?: true | ApilogCountAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to average
|
|
147
|
+
**/
|
|
148
|
+
_avg?: ApilogAvgAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to sum
|
|
153
|
+
**/
|
|
154
|
+
_sum?: ApilogSumAggregateInputType
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Select which fields to find the minimum value
|
|
159
|
+
**/
|
|
160
|
+
_min?: ApilogMinAggregateInputType
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Select which fields to find the maximum value
|
|
165
|
+
**/
|
|
166
|
+
_max?: ApilogMaxAggregateInputType
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export type GetApilogAggregateType<T extends ApilogAggregateArgs> = {
|
|
170
|
+
[P in keyof T & keyof AggregateApilog]: P extends '_count' | 'count'
|
|
171
|
+
? T[P] extends true
|
|
172
|
+
? number
|
|
173
|
+
: Prisma.GetScalarType<T[P], AggregateApilog[P]>
|
|
174
|
+
: Prisma.GetScalarType<T[P], AggregateApilog[P]>
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
export type ApilogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
181
|
+
where?: Prisma.ApilogWhereInput
|
|
182
|
+
orderBy?: Prisma.ApilogOrderByWithAggregationInput | Prisma.ApilogOrderByWithAggregationInput[]
|
|
183
|
+
by: Prisma.ApilogScalarFieldEnum[] | Prisma.ApilogScalarFieldEnum
|
|
184
|
+
having?: Prisma.ApilogScalarWhereWithAggregatesInput
|
|
185
|
+
take?: number
|
|
186
|
+
skip?: number
|
|
187
|
+
_count?: ApilogCountAggregateInputType | true
|
|
188
|
+
_avg?: ApilogAvgAggregateInputType
|
|
189
|
+
_sum?: ApilogSumAggregateInputType
|
|
190
|
+
_min?: ApilogMinAggregateInputType
|
|
191
|
+
_max?: ApilogMaxAggregateInputType
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export type ApilogGroupByOutputType = {
|
|
195
|
+
id: bigint
|
|
196
|
+
apiType: string
|
|
197
|
+
methodName: string
|
|
198
|
+
summary: string | null
|
|
199
|
+
request: string | null
|
|
200
|
+
response: string | null
|
|
201
|
+
createdAt: Date | null
|
|
202
|
+
_count: ApilogCountAggregateOutputType | null
|
|
203
|
+
_avg: ApilogAvgAggregateOutputType | null
|
|
204
|
+
_sum: ApilogSumAggregateOutputType | null
|
|
205
|
+
_min: ApilogMinAggregateOutputType | null
|
|
206
|
+
_max: ApilogMaxAggregateOutputType | null
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
type GetApilogGroupByPayload<T extends ApilogGroupByArgs> = Prisma.PrismaPromise<
|
|
210
|
+
Array<
|
|
211
|
+
Prisma.PickEnumerable<ApilogGroupByOutputType, T['by']> &
|
|
212
|
+
{
|
|
213
|
+
[P in ((keyof T) & (keyof ApilogGroupByOutputType))]: P extends '_count'
|
|
214
|
+
? T[P] extends boolean
|
|
215
|
+
? number
|
|
216
|
+
: Prisma.GetScalarType<T[P], ApilogGroupByOutputType[P]>
|
|
217
|
+
: Prisma.GetScalarType<T[P], ApilogGroupByOutputType[P]>
|
|
218
|
+
}
|
|
219
|
+
>
|
|
220
|
+
>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
export type ApilogWhereInput = {
|
|
225
|
+
AND?: Prisma.ApilogWhereInput | Prisma.ApilogWhereInput[]
|
|
226
|
+
OR?: Prisma.ApilogWhereInput[]
|
|
227
|
+
NOT?: Prisma.ApilogWhereInput | Prisma.ApilogWhereInput[]
|
|
228
|
+
id?: Prisma.BigIntFilter<"Apilog"> | bigint | number
|
|
229
|
+
apiType?: Prisma.StringFilter<"Apilog"> | string
|
|
230
|
+
methodName?: Prisma.StringFilter<"Apilog"> | string
|
|
231
|
+
summary?: Prisma.StringNullableFilter<"Apilog"> | string | null
|
|
232
|
+
request?: Prisma.StringNullableFilter<"Apilog"> | string | null
|
|
233
|
+
response?: Prisma.StringNullableFilter<"Apilog"> | string | null
|
|
234
|
+
createdAt?: Prisma.DateTimeNullableFilter<"Apilog"> | Date | string | null
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export type ApilogOrderByWithRelationInput = {
|
|
238
|
+
id?: Prisma.SortOrder
|
|
239
|
+
apiType?: Prisma.SortOrder
|
|
240
|
+
methodName?: Prisma.SortOrder
|
|
241
|
+
summary?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
242
|
+
request?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
243
|
+
response?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
244
|
+
createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export type ApilogWhereUniqueInput = Prisma.AtLeast<{
|
|
248
|
+
id?: bigint | number
|
|
249
|
+
AND?: Prisma.ApilogWhereInput | Prisma.ApilogWhereInput[]
|
|
250
|
+
OR?: Prisma.ApilogWhereInput[]
|
|
251
|
+
NOT?: Prisma.ApilogWhereInput | Prisma.ApilogWhereInput[]
|
|
252
|
+
apiType?: Prisma.StringFilter<"Apilog"> | string
|
|
253
|
+
methodName?: Prisma.StringFilter<"Apilog"> | string
|
|
254
|
+
summary?: Prisma.StringNullableFilter<"Apilog"> | string | null
|
|
255
|
+
request?: Prisma.StringNullableFilter<"Apilog"> | string | null
|
|
256
|
+
response?: Prisma.StringNullableFilter<"Apilog"> | string | null
|
|
257
|
+
createdAt?: Prisma.DateTimeNullableFilter<"Apilog"> | Date | string | null
|
|
258
|
+
}, "id">
|
|
259
|
+
|
|
260
|
+
export type ApilogOrderByWithAggregationInput = {
|
|
261
|
+
id?: Prisma.SortOrder
|
|
262
|
+
apiType?: Prisma.SortOrder
|
|
263
|
+
methodName?: Prisma.SortOrder
|
|
264
|
+
summary?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
265
|
+
request?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
266
|
+
response?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
267
|
+
createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
268
|
+
_count?: Prisma.ApilogCountOrderByAggregateInput
|
|
269
|
+
_avg?: Prisma.ApilogAvgOrderByAggregateInput
|
|
270
|
+
_max?: Prisma.ApilogMaxOrderByAggregateInput
|
|
271
|
+
_min?: Prisma.ApilogMinOrderByAggregateInput
|
|
272
|
+
_sum?: Prisma.ApilogSumOrderByAggregateInput
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type ApilogScalarWhereWithAggregatesInput = {
|
|
276
|
+
AND?: Prisma.ApilogScalarWhereWithAggregatesInput | Prisma.ApilogScalarWhereWithAggregatesInput[]
|
|
277
|
+
OR?: Prisma.ApilogScalarWhereWithAggregatesInput[]
|
|
278
|
+
NOT?: Prisma.ApilogScalarWhereWithAggregatesInput | Prisma.ApilogScalarWhereWithAggregatesInput[]
|
|
279
|
+
id?: Prisma.BigIntWithAggregatesFilter<"Apilog"> | bigint | number
|
|
280
|
+
apiType?: Prisma.StringWithAggregatesFilter<"Apilog"> | string
|
|
281
|
+
methodName?: Prisma.StringWithAggregatesFilter<"Apilog"> | string
|
|
282
|
+
summary?: Prisma.StringNullableWithAggregatesFilter<"Apilog"> | string | null
|
|
283
|
+
request?: Prisma.StringNullableWithAggregatesFilter<"Apilog"> | string | null
|
|
284
|
+
response?: Prisma.StringNullableWithAggregatesFilter<"Apilog"> | string | null
|
|
285
|
+
createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Apilog"> | Date | string | null
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export type ApilogCreateInput = {
|
|
289
|
+
id?: bigint | number
|
|
290
|
+
apiType: string
|
|
291
|
+
methodName: string
|
|
292
|
+
summary?: string | null
|
|
293
|
+
request?: string | null
|
|
294
|
+
response?: string | null
|
|
295
|
+
createdAt?: Date | string | null
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type ApilogUncheckedCreateInput = {
|
|
299
|
+
id?: bigint | number
|
|
300
|
+
apiType: string
|
|
301
|
+
methodName: string
|
|
302
|
+
summary?: string | null
|
|
303
|
+
request?: string | null
|
|
304
|
+
response?: string | null
|
|
305
|
+
createdAt?: Date | string | null
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export type ApilogUpdateInput = {
|
|
309
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
310
|
+
apiType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
311
|
+
methodName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
312
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
313
|
+
request?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
314
|
+
response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
315
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type ApilogUncheckedUpdateInput = {
|
|
319
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
320
|
+
apiType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
321
|
+
methodName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
322
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
323
|
+
request?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
324
|
+
response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
325
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type ApilogCreateManyInput = {
|
|
329
|
+
id?: bigint | number
|
|
330
|
+
apiType: string
|
|
331
|
+
methodName: string
|
|
332
|
+
summary?: string | null
|
|
333
|
+
request?: string | null
|
|
334
|
+
response?: string | null
|
|
335
|
+
createdAt?: Date | string | null
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type ApilogUpdateManyMutationInput = {
|
|
339
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
340
|
+
apiType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
|
+
methodName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
342
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
343
|
+
request?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
344
|
+
response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
345
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export type ApilogUncheckedUpdateManyInput = {
|
|
349
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
350
|
+
apiType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
351
|
+
methodName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
352
|
+
summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
353
|
+
request?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
354
|
+
response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
355
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export type ApilogCountOrderByAggregateInput = {
|
|
359
|
+
id?: Prisma.SortOrder
|
|
360
|
+
apiType?: Prisma.SortOrder
|
|
361
|
+
methodName?: Prisma.SortOrder
|
|
362
|
+
summary?: Prisma.SortOrder
|
|
363
|
+
request?: Prisma.SortOrder
|
|
364
|
+
response?: Prisma.SortOrder
|
|
365
|
+
createdAt?: Prisma.SortOrder
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type ApilogAvgOrderByAggregateInput = {
|
|
369
|
+
id?: Prisma.SortOrder
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export type ApilogMaxOrderByAggregateInput = {
|
|
373
|
+
id?: Prisma.SortOrder
|
|
374
|
+
apiType?: Prisma.SortOrder
|
|
375
|
+
methodName?: Prisma.SortOrder
|
|
376
|
+
summary?: Prisma.SortOrder
|
|
377
|
+
request?: Prisma.SortOrder
|
|
378
|
+
response?: Prisma.SortOrder
|
|
379
|
+
createdAt?: Prisma.SortOrder
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type ApilogMinOrderByAggregateInput = {
|
|
383
|
+
id?: Prisma.SortOrder
|
|
384
|
+
apiType?: Prisma.SortOrder
|
|
385
|
+
methodName?: Prisma.SortOrder
|
|
386
|
+
summary?: Prisma.SortOrder
|
|
387
|
+
request?: Prisma.SortOrder
|
|
388
|
+
response?: Prisma.SortOrder
|
|
389
|
+
createdAt?: Prisma.SortOrder
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type ApilogSumOrderByAggregateInput = {
|
|
393
|
+
id?: Prisma.SortOrder
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
export type ApilogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
399
|
+
id?: boolean
|
|
400
|
+
apiType?: boolean
|
|
401
|
+
methodName?: boolean
|
|
402
|
+
summary?: boolean
|
|
403
|
+
request?: boolean
|
|
404
|
+
response?: boolean
|
|
405
|
+
createdAt?: boolean
|
|
406
|
+
}, ExtArgs["result"]["apilog"]>
|
|
407
|
+
|
|
408
|
+
export type ApilogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
409
|
+
id?: boolean
|
|
410
|
+
apiType?: boolean
|
|
411
|
+
methodName?: boolean
|
|
412
|
+
summary?: boolean
|
|
413
|
+
request?: boolean
|
|
414
|
+
response?: boolean
|
|
415
|
+
createdAt?: boolean
|
|
416
|
+
}, ExtArgs["result"]["apilog"]>
|
|
417
|
+
|
|
418
|
+
export type ApilogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
419
|
+
id?: boolean
|
|
420
|
+
apiType?: boolean
|
|
421
|
+
methodName?: boolean
|
|
422
|
+
summary?: boolean
|
|
423
|
+
request?: boolean
|
|
424
|
+
response?: boolean
|
|
425
|
+
createdAt?: boolean
|
|
426
|
+
}, ExtArgs["result"]["apilog"]>
|
|
427
|
+
|
|
428
|
+
export type ApilogSelectScalar = {
|
|
429
|
+
id?: boolean
|
|
430
|
+
apiType?: boolean
|
|
431
|
+
methodName?: boolean
|
|
432
|
+
summary?: boolean
|
|
433
|
+
request?: boolean
|
|
434
|
+
response?: boolean
|
|
435
|
+
createdAt?: boolean
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type ApilogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "apiType" | "methodName" | "summary" | "request" | "response" | "createdAt", ExtArgs["result"]["apilog"]>
|
|
439
|
+
|
|
440
|
+
export type $ApilogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
441
|
+
name: "Apilog"
|
|
442
|
+
objects: {}
|
|
443
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
444
|
+
id: bigint
|
|
445
|
+
apiType: string
|
|
446
|
+
methodName: string
|
|
447
|
+
summary: string | null
|
|
448
|
+
request: string | null
|
|
449
|
+
response: string | null
|
|
450
|
+
createdAt: Date | null
|
|
451
|
+
}, ExtArgs["result"]["apilog"]>
|
|
452
|
+
composites: {}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export type ApilogGetPayload<S extends boolean | null | undefined | ApilogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApilogPayload, S>
|
|
456
|
+
|
|
457
|
+
export type ApilogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
458
|
+
Omit<ApilogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
459
|
+
select?: ApilogCountAggregateInputType | true
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export interface ApilogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
463
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Apilog'], meta: { name: 'Apilog' } }
|
|
464
|
+
/**
|
|
465
|
+
* Find zero or one Apilog that matches the filter.
|
|
466
|
+
* @param {ApilogFindUniqueArgs} args - Arguments to find a Apilog
|
|
467
|
+
* @example
|
|
468
|
+
* // Get one Apilog
|
|
469
|
+
* const apilog = await prisma.apilog.findUnique({
|
|
470
|
+
* where: {
|
|
471
|
+
* // ... provide filter here
|
|
472
|
+
* }
|
|
473
|
+
* })
|
|
474
|
+
*/
|
|
475
|
+
findUnique<T extends ApilogFindUniqueArgs>(args: Prisma.SelectSubset<T, ApilogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Find one Apilog that matches the filter or throw an error with `error.code='P2025'`
|
|
479
|
+
* if no matches were found.
|
|
480
|
+
* @param {ApilogFindUniqueOrThrowArgs} args - Arguments to find a Apilog
|
|
481
|
+
* @example
|
|
482
|
+
* // Get one Apilog
|
|
483
|
+
* const apilog = await prisma.apilog.findUniqueOrThrow({
|
|
484
|
+
* where: {
|
|
485
|
+
* // ... provide filter here
|
|
486
|
+
* }
|
|
487
|
+
* })
|
|
488
|
+
*/
|
|
489
|
+
findUniqueOrThrow<T extends ApilogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApilogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Find the first Apilog that matches the filter.
|
|
493
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
494
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
495
|
+
* @param {ApilogFindFirstArgs} args - Arguments to find a Apilog
|
|
496
|
+
* @example
|
|
497
|
+
* // Get one Apilog
|
|
498
|
+
* const apilog = await prisma.apilog.findFirst({
|
|
499
|
+
* where: {
|
|
500
|
+
* // ... provide filter here
|
|
501
|
+
* }
|
|
502
|
+
* })
|
|
503
|
+
*/
|
|
504
|
+
findFirst<T extends ApilogFindFirstArgs>(args?: Prisma.SelectSubset<T, ApilogFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Find the first Apilog that matches the filter or
|
|
508
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
509
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
510
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
511
|
+
* @param {ApilogFindFirstOrThrowArgs} args - Arguments to find a Apilog
|
|
512
|
+
* @example
|
|
513
|
+
* // Get one Apilog
|
|
514
|
+
* const apilog = await prisma.apilog.findFirstOrThrow({
|
|
515
|
+
* where: {
|
|
516
|
+
* // ... provide filter here
|
|
517
|
+
* }
|
|
518
|
+
* })
|
|
519
|
+
*/
|
|
520
|
+
findFirstOrThrow<T extends ApilogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApilogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Find zero or more Apilogs that matches the filter.
|
|
524
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
525
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
526
|
+
* @param {ApilogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
527
|
+
* @example
|
|
528
|
+
* // Get all Apilogs
|
|
529
|
+
* const apilogs = await prisma.apilog.findMany()
|
|
530
|
+
*
|
|
531
|
+
* // Get first 10 Apilogs
|
|
532
|
+
* const apilogs = await prisma.apilog.findMany({ take: 10 })
|
|
533
|
+
*
|
|
534
|
+
* // Only select the `id`
|
|
535
|
+
* const apilogWithIdOnly = await prisma.apilog.findMany({ select: { id: true } })
|
|
536
|
+
*
|
|
537
|
+
*/
|
|
538
|
+
findMany<T extends ApilogFindManyArgs>(args?: Prisma.SelectSubset<T, ApilogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Create a Apilog.
|
|
542
|
+
* @param {ApilogCreateArgs} args - Arguments to create a Apilog.
|
|
543
|
+
* @example
|
|
544
|
+
* // Create one Apilog
|
|
545
|
+
* const Apilog = await prisma.apilog.create({
|
|
546
|
+
* data: {
|
|
547
|
+
* // ... data to create a Apilog
|
|
548
|
+
* }
|
|
549
|
+
* })
|
|
550
|
+
*
|
|
551
|
+
*/
|
|
552
|
+
create<T extends ApilogCreateArgs>(args: Prisma.SelectSubset<T, ApilogCreateArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Create many Apilogs.
|
|
556
|
+
* @param {ApilogCreateManyArgs} args - Arguments to create many Apilogs.
|
|
557
|
+
* @example
|
|
558
|
+
* // Create many Apilogs
|
|
559
|
+
* const apilog = await prisma.apilog.createMany({
|
|
560
|
+
* data: [
|
|
561
|
+
* // ... provide data here
|
|
562
|
+
* ]
|
|
563
|
+
* })
|
|
564
|
+
*
|
|
565
|
+
*/
|
|
566
|
+
createMany<T extends ApilogCreateManyArgs>(args?: Prisma.SelectSubset<T, ApilogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Create many Apilogs and returns the data saved in the database.
|
|
570
|
+
* @param {ApilogCreateManyAndReturnArgs} args - Arguments to create many Apilogs.
|
|
571
|
+
* @example
|
|
572
|
+
* // Create many Apilogs
|
|
573
|
+
* const apilog = await prisma.apilog.createManyAndReturn({
|
|
574
|
+
* data: [
|
|
575
|
+
* // ... provide data here
|
|
576
|
+
* ]
|
|
577
|
+
* })
|
|
578
|
+
*
|
|
579
|
+
* // Create many Apilogs and only return the `id`
|
|
580
|
+
* const apilogWithIdOnly = await prisma.apilog.createManyAndReturn({
|
|
581
|
+
* select: { id: true },
|
|
582
|
+
* data: [
|
|
583
|
+
* // ... provide data here
|
|
584
|
+
* ]
|
|
585
|
+
* })
|
|
586
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
587
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
588
|
+
*
|
|
589
|
+
*/
|
|
590
|
+
createManyAndReturn<T extends ApilogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ApilogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Delete a Apilog.
|
|
594
|
+
* @param {ApilogDeleteArgs} args - Arguments to delete one Apilog.
|
|
595
|
+
* @example
|
|
596
|
+
* // Delete one Apilog
|
|
597
|
+
* const Apilog = await prisma.apilog.delete({
|
|
598
|
+
* where: {
|
|
599
|
+
* // ... filter to delete one Apilog
|
|
600
|
+
* }
|
|
601
|
+
* })
|
|
602
|
+
*
|
|
603
|
+
*/
|
|
604
|
+
delete<T extends ApilogDeleteArgs>(args: Prisma.SelectSubset<T, ApilogDeleteArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Update one Apilog.
|
|
608
|
+
* @param {ApilogUpdateArgs} args - Arguments to update one Apilog.
|
|
609
|
+
* @example
|
|
610
|
+
* // Update one Apilog
|
|
611
|
+
* const apilog = await prisma.apilog.update({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* },
|
|
615
|
+
* data: {
|
|
616
|
+
* // ... provide data here
|
|
617
|
+
* }
|
|
618
|
+
* })
|
|
619
|
+
*
|
|
620
|
+
*/
|
|
621
|
+
update<T extends ApilogUpdateArgs>(args: Prisma.SelectSubset<T, ApilogUpdateArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Delete zero or more Apilogs.
|
|
625
|
+
* @param {ApilogDeleteManyArgs} args - Arguments to filter Apilogs to delete.
|
|
626
|
+
* @example
|
|
627
|
+
* // Delete a few Apilogs
|
|
628
|
+
* const { count } = await prisma.apilog.deleteMany({
|
|
629
|
+
* where: {
|
|
630
|
+
* // ... provide filter here
|
|
631
|
+
* }
|
|
632
|
+
* })
|
|
633
|
+
*
|
|
634
|
+
*/
|
|
635
|
+
deleteMany<T extends ApilogDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApilogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Update zero or more Apilogs.
|
|
639
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
640
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
641
|
+
* @param {ApilogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
642
|
+
* @example
|
|
643
|
+
* // Update many Apilogs
|
|
644
|
+
* const apilog = await prisma.apilog.updateMany({
|
|
645
|
+
* where: {
|
|
646
|
+
* // ... provide filter here
|
|
647
|
+
* },
|
|
648
|
+
* data: {
|
|
649
|
+
* // ... provide data here
|
|
650
|
+
* }
|
|
651
|
+
* })
|
|
652
|
+
*
|
|
653
|
+
*/
|
|
654
|
+
updateMany<T extends ApilogUpdateManyArgs>(args: Prisma.SelectSubset<T, ApilogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Update zero or more Apilogs and returns the data updated in the database.
|
|
658
|
+
* @param {ApilogUpdateManyAndReturnArgs} args - Arguments to update many Apilogs.
|
|
659
|
+
* @example
|
|
660
|
+
* // Update many Apilogs
|
|
661
|
+
* const apilog = await prisma.apilog.updateManyAndReturn({
|
|
662
|
+
* where: {
|
|
663
|
+
* // ... provide filter here
|
|
664
|
+
* },
|
|
665
|
+
* data: [
|
|
666
|
+
* // ... provide data here
|
|
667
|
+
* ]
|
|
668
|
+
* })
|
|
669
|
+
*
|
|
670
|
+
* // Update zero or more Apilogs and only return the `id`
|
|
671
|
+
* const apilogWithIdOnly = await prisma.apilog.updateManyAndReturn({
|
|
672
|
+
* select: { id: true },
|
|
673
|
+
* where: {
|
|
674
|
+
* // ... provide filter here
|
|
675
|
+
* },
|
|
676
|
+
* data: [
|
|
677
|
+
* // ... provide data here
|
|
678
|
+
* ]
|
|
679
|
+
* })
|
|
680
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
681
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
682
|
+
*
|
|
683
|
+
*/
|
|
684
|
+
updateManyAndReturn<T extends ApilogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ApilogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Create or update one Apilog.
|
|
688
|
+
* @param {ApilogUpsertArgs} args - Arguments to update or create a Apilog.
|
|
689
|
+
* @example
|
|
690
|
+
* // Update or create a Apilog
|
|
691
|
+
* const apilog = await prisma.apilog.upsert({
|
|
692
|
+
* create: {
|
|
693
|
+
* // ... data to create a Apilog
|
|
694
|
+
* },
|
|
695
|
+
* update: {
|
|
696
|
+
* // ... in case it already exists, update
|
|
697
|
+
* },
|
|
698
|
+
* where: {
|
|
699
|
+
* // ... the filter for the Apilog we want to update
|
|
700
|
+
* }
|
|
701
|
+
* })
|
|
702
|
+
*/
|
|
703
|
+
upsert<T extends ApilogUpsertArgs>(args: Prisma.SelectSubset<T, ApilogUpsertArgs<ExtArgs>>): Prisma.Prisma__ApilogClient<runtime.Types.Result.GetResult<Prisma.$ApilogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Count the number of Apilogs.
|
|
708
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
709
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
710
|
+
* @param {ApilogCountArgs} args - Arguments to filter Apilogs to count.
|
|
711
|
+
* @example
|
|
712
|
+
* // Count the number of Apilogs
|
|
713
|
+
* const count = await prisma.apilog.count({
|
|
714
|
+
* where: {
|
|
715
|
+
* // ... the filter for the Apilogs we want to count
|
|
716
|
+
* }
|
|
717
|
+
* })
|
|
718
|
+
**/
|
|
719
|
+
count<T extends ApilogCountArgs>(
|
|
720
|
+
args?: Prisma.Subset<T, ApilogCountArgs>,
|
|
721
|
+
): Prisma.PrismaPromise<
|
|
722
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
723
|
+
? T['select'] extends true
|
|
724
|
+
? number
|
|
725
|
+
: Prisma.GetScalarType<T['select'], ApilogCountAggregateOutputType>
|
|
726
|
+
: number
|
|
727
|
+
>
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Allows you to perform aggregations operations on a Apilog.
|
|
731
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
732
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
733
|
+
* @param {ApilogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
734
|
+
* @example
|
|
735
|
+
* // Ordered by age ascending
|
|
736
|
+
* // Where email contains prisma.io
|
|
737
|
+
* // Limited to the 10 users
|
|
738
|
+
* const aggregations = await prisma.user.aggregate({
|
|
739
|
+
* _avg: {
|
|
740
|
+
* age: true,
|
|
741
|
+
* },
|
|
742
|
+
* where: {
|
|
743
|
+
* email: {
|
|
744
|
+
* contains: "prisma.io",
|
|
745
|
+
* },
|
|
746
|
+
* },
|
|
747
|
+
* orderBy: {
|
|
748
|
+
* age: "asc",
|
|
749
|
+
* },
|
|
750
|
+
* take: 10,
|
|
751
|
+
* })
|
|
752
|
+
**/
|
|
753
|
+
aggregate<T extends ApilogAggregateArgs>(args: Prisma.Subset<T, ApilogAggregateArgs>): Prisma.PrismaPromise<GetApilogAggregateType<T>>
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Group by Apilog.
|
|
757
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
758
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
759
|
+
* @param {ApilogGroupByArgs} args - Group by arguments.
|
|
760
|
+
* @example
|
|
761
|
+
* // Group by city, order by createdAt, get count
|
|
762
|
+
* const result = await prisma.user.groupBy({
|
|
763
|
+
* by: ['city', 'createdAt'],
|
|
764
|
+
* orderBy: {
|
|
765
|
+
* createdAt: true
|
|
766
|
+
* },
|
|
767
|
+
* _count: {
|
|
768
|
+
* _all: true
|
|
769
|
+
* },
|
|
770
|
+
* })
|
|
771
|
+
*
|
|
772
|
+
**/
|
|
773
|
+
groupBy<
|
|
774
|
+
T extends ApilogGroupByArgs,
|
|
775
|
+
HasSelectOrTake extends Prisma.Or<
|
|
776
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
777
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
778
|
+
>,
|
|
779
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
780
|
+
? { orderBy: ApilogGroupByArgs['orderBy'] }
|
|
781
|
+
: { orderBy?: ApilogGroupByArgs['orderBy'] },
|
|
782
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
783
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
784
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
785
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
786
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
787
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
788
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
789
|
+
? `Error: "by" must not be empty.`
|
|
790
|
+
: HavingValid extends Prisma.False
|
|
791
|
+
? {
|
|
792
|
+
[P in HavingFields]: P extends ByFields
|
|
793
|
+
? never
|
|
794
|
+
: P extends string
|
|
795
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
796
|
+
: [
|
|
797
|
+
Error,
|
|
798
|
+
'Field ',
|
|
799
|
+
P,
|
|
800
|
+
` in "having" needs to be provided in "by"`,
|
|
801
|
+
]
|
|
802
|
+
}[HavingFields]
|
|
803
|
+
: 'take' extends Prisma.Keys<T>
|
|
804
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
805
|
+
? ByValid extends Prisma.True
|
|
806
|
+
? {}
|
|
807
|
+
: {
|
|
808
|
+
[P in OrderFields]: P extends ByFields
|
|
809
|
+
? never
|
|
810
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
811
|
+
}[OrderFields]
|
|
812
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
813
|
+
: 'skip' extends Prisma.Keys<T>
|
|
814
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
815
|
+
? ByValid extends Prisma.True
|
|
816
|
+
? {}
|
|
817
|
+
: {
|
|
818
|
+
[P in OrderFields]: P extends ByFields
|
|
819
|
+
? never
|
|
820
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
821
|
+
}[OrderFields]
|
|
822
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
823
|
+
: ByValid extends Prisma.True
|
|
824
|
+
? {}
|
|
825
|
+
: {
|
|
826
|
+
[P in OrderFields]: P extends ByFields
|
|
827
|
+
? never
|
|
828
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
829
|
+
}[OrderFields]
|
|
830
|
+
>(args: Prisma.SubsetIntersection<T, ApilogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApilogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
831
|
+
/**
|
|
832
|
+
* Fields of the Apilog model
|
|
833
|
+
*/
|
|
834
|
+
readonly fields: ApilogFieldRefs;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* The delegate class that acts as a "Promise-like" for Apilog.
|
|
839
|
+
* Why is this prefixed with `Prisma__`?
|
|
840
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
841
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
842
|
+
*/
|
|
843
|
+
export interface Prisma__ApilogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
844
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
845
|
+
/**
|
|
846
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
847
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
848
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
849
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
850
|
+
*/
|
|
851
|
+
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>
|
|
852
|
+
/**
|
|
853
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
854
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
855
|
+
* @returns A Promise for the completion of the callback.
|
|
856
|
+
*/
|
|
857
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
858
|
+
/**
|
|
859
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
860
|
+
* resolved value cannot be modified from the callback.
|
|
861
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
862
|
+
* @returns A Promise for the completion of the callback.
|
|
863
|
+
*/
|
|
864
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Fields of the Apilog model
|
|
872
|
+
*/
|
|
873
|
+
export interface ApilogFieldRefs {
|
|
874
|
+
readonly id: Prisma.FieldRef<"Apilog", 'BigInt'>
|
|
875
|
+
readonly apiType: Prisma.FieldRef<"Apilog", 'String'>
|
|
876
|
+
readonly methodName: Prisma.FieldRef<"Apilog", 'String'>
|
|
877
|
+
readonly summary: Prisma.FieldRef<"Apilog", 'String'>
|
|
878
|
+
readonly request: Prisma.FieldRef<"Apilog", 'String'>
|
|
879
|
+
readonly response: Prisma.FieldRef<"Apilog", 'String'>
|
|
880
|
+
readonly createdAt: Prisma.FieldRef<"Apilog", 'DateTime'>
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
// Custom InputTypes
|
|
885
|
+
/**
|
|
886
|
+
* Apilog findUnique
|
|
887
|
+
*/
|
|
888
|
+
export type ApilogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
889
|
+
/**
|
|
890
|
+
* Select specific fields to fetch from the Apilog
|
|
891
|
+
*/
|
|
892
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
893
|
+
/**
|
|
894
|
+
* Omit specific fields from the Apilog
|
|
895
|
+
*/
|
|
896
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
897
|
+
/**
|
|
898
|
+
* Filter, which Apilog to fetch.
|
|
899
|
+
*/
|
|
900
|
+
where: Prisma.ApilogWhereUniqueInput
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Apilog findUniqueOrThrow
|
|
905
|
+
*/
|
|
906
|
+
export type ApilogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
907
|
+
/**
|
|
908
|
+
* Select specific fields to fetch from the Apilog
|
|
909
|
+
*/
|
|
910
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
911
|
+
/**
|
|
912
|
+
* Omit specific fields from the Apilog
|
|
913
|
+
*/
|
|
914
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
915
|
+
/**
|
|
916
|
+
* Filter, which Apilog to fetch.
|
|
917
|
+
*/
|
|
918
|
+
where: Prisma.ApilogWhereUniqueInput
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Apilog findFirst
|
|
923
|
+
*/
|
|
924
|
+
export type ApilogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
925
|
+
/**
|
|
926
|
+
* Select specific fields to fetch from the Apilog
|
|
927
|
+
*/
|
|
928
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
929
|
+
/**
|
|
930
|
+
* Omit specific fields from the Apilog
|
|
931
|
+
*/
|
|
932
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
933
|
+
/**
|
|
934
|
+
* Filter, which Apilog to fetch.
|
|
935
|
+
*/
|
|
936
|
+
where?: Prisma.ApilogWhereInput
|
|
937
|
+
/**
|
|
938
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
939
|
+
*
|
|
940
|
+
* Determine the order of Apilogs to fetch.
|
|
941
|
+
*/
|
|
942
|
+
orderBy?: Prisma.ApilogOrderByWithRelationInput | Prisma.ApilogOrderByWithRelationInput[]
|
|
943
|
+
/**
|
|
944
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
945
|
+
*
|
|
946
|
+
* Sets the position for searching for Apilogs.
|
|
947
|
+
*/
|
|
948
|
+
cursor?: Prisma.ApilogWhereUniqueInput
|
|
949
|
+
/**
|
|
950
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
951
|
+
*
|
|
952
|
+
* Take `±n` Apilogs from the position of the cursor.
|
|
953
|
+
*/
|
|
954
|
+
take?: number
|
|
955
|
+
/**
|
|
956
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
957
|
+
*
|
|
958
|
+
* Skip the first `n` Apilogs.
|
|
959
|
+
*/
|
|
960
|
+
skip?: number
|
|
961
|
+
/**
|
|
962
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
963
|
+
*
|
|
964
|
+
* Filter by unique combinations of Apilogs.
|
|
965
|
+
*/
|
|
966
|
+
distinct?: Prisma.ApilogScalarFieldEnum | Prisma.ApilogScalarFieldEnum[]
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Apilog findFirstOrThrow
|
|
971
|
+
*/
|
|
972
|
+
export type ApilogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
973
|
+
/**
|
|
974
|
+
* Select specific fields to fetch from the Apilog
|
|
975
|
+
*/
|
|
976
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
977
|
+
/**
|
|
978
|
+
* Omit specific fields from the Apilog
|
|
979
|
+
*/
|
|
980
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
981
|
+
/**
|
|
982
|
+
* Filter, which Apilog to fetch.
|
|
983
|
+
*/
|
|
984
|
+
where?: Prisma.ApilogWhereInput
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
987
|
+
*
|
|
988
|
+
* Determine the order of Apilogs to fetch.
|
|
989
|
+
*/
|
|
990
|
+
orderBy?: Prisma.ApilogOrderByWithRelationInput | Prisma.ApilogOrderByWithRelationInput[]
|
|
991
|
+
/**
|
|
992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
993
|
+
*
|
|
994
|
+
* Sets the position for searching for Apilogs.
|
|
995
|
+
*/
|
|
996
|
+
cursor?: Prisma.ApilogWhereUniqueInput
|
|
997
|
+
/**
|
|
998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
999
|
+
*
|
|
1000
|
+
* Take `±n` Apilogs from the position of the cursor.
|
|
1001
|
+
*/
|
|
1002
|
+
take?: number
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Skip the first `n` Apilogs.
|
|
1007
|
+
*/
|
|
1008
|
+
skip?: number
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Filter by unique combinations of Apilogs.
|
|
1013
|
+
*/
|
|
1014
|
+
distinct?: Prisma.ApilogScalarFieldEnum | Prisma.ApilogScalarFieldEnum[]
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Apilog findMany
|
|
1019
|
+
*/
|
|
1020
|
+
export type ApilogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1021
|
+
/**
|
|
1022
|
+
* Select specific fields to fetch from the Apilog
|
|
1023
|
+
*/
|
|
1024
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
1025
|
+
/**
|
|
1026
|
+
* Omit specific fields from the Apilog
|
|
1027
|
+
*/
|
|
1028
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1029
|
+
/**
|
|
1030
|
+
* Filter, which Apilogs to fetch.
|
|
1031
|
+
*/
|
|
1032
|
+
where?: Prisma.ApilogWhereInput
|
|
1033
|
+
/**
|
|
1034
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1035
|
+
*
|
|
1036
|
+
* Determine the order of Apilogs to fetch.
|
|
1037
|
+
*/
|
|
1038
|
+
orderBy?: Prisma.ApilogOrderByWithRelationInput | Prisma.ApilogOrderByWithRelationInput[]
|
|
1039
|
+
/**
|
|
1040
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1041
|
+
*
|
|
1042
|
+
* Sets the position for listing Apilogs.
|
|
1043
|
+
*/
|
|
1044
|
+
cursor?: Prisma.ApilogWhereUniqueInput
|
|
1045
|
+
/**
|
|
1046
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1047
|
+
*
|
|
1048
|
+
* Take `±n` Apilogs from the position of the cursor.
|
|
1049
|
+
*/
|
|
1050
|
+
take?: number
|
|
1051
|
+
/**
|
|
1052
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1053
|
+
*
|
|
1054
|
+
* Skip the first `n` Apilogs.
|
|
1055
|
+
*/
|
|
1056
|
+
skip?: number
|
|
1057
|
+
distinct?: Prisma.ApilogScalarFieldEnum | Prisma.ApilogScalarFieldEnum[]
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Apilog create
|
|
1062
|
+
*/
|
|
1063
|
+
export type ApilogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1064
|
+
/**
|
|
1065
|
+
* Select specific fields to fetch from the Apilog
|
|
1066
|
+
*/
|
|
1067
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
1068
|
+
/**
|
|
1069
|
+
* Omit specific fields from the Apilog
|
|
1070
|
+
*/
|
|
1071
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1072
|
+
/**
|
|
1073
|
+
* The data needed to create a Apilog.
|
|
1074
|
+
*/
|
|
1075
|
+
data: Prisma.XOR<Prisma.ApilogCreateInput, Prisma.ApilogUncheckedCreateInput>
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Apilog createMany
|
|
1080
|
+
*/
|
|
1081
|
+
export type ApilogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1082
|
+
/**
|
|
1083
|
+
* The data used to create many Apilogs.
|
|
1084
|
+
*/
|
|
1085
|
+
data: Prisma.ApilogCreateManyInput | Prisma.ApilogCreateManyInput[]
|
|
1086
|
+
skipDuplicates?: boolean
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Apilog createManyAndReturn
|
|
1091
|
+
*/
|
|
1092
|
+
export type ApilogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1093
|
+
/**
|
|
1094
|
+
* Select specific fields to fetch from the Apilog
|
|
1095
|
+
*/
|
|
1096
|
+
select?: Prisma.ApilogSelectCreateManyAndReturn<ExtArgs> | null
|
|
1097
|
+
/**
|
|
1098
|
+
* Omit specific fields from the Apilog
|
|
1099
|
+
*/
|
|
1100
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1101
|
+
/**
|
|
1102
|
+
* The data used to create many Apilogs.
|
|
1103
|
+
*/
|
|
1104
|
+
data: Prisma.ApilogCreateManyInput | Prisma.ApilogCreateManyInput[]
|
|
1105
|
+
skipDuplicates?: boolean
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Apilog update
|
|
1110
|
+
*/
|
|
1111
|
+
export type ApilogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the Apilog
|
|
1114
|
+
*/
|
|
1115
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
1116
|
+
/**
|
|
1117
|
+
* Omit specific fields from the Apilog
|
|
1118
|
+
*/
|
|
1119
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1120
|
+
/**
|
|
1121
|
+
* The data needed to update a Apilog.
|
|
1122
|
+
*/
|
|
1123
|
+
data: Prisma.XOR<Prisma.ApilogUpdateInput, Prisma.ApilogUncheckedUpdateInput>
|
|
1124
|
+
/**
|
|
1125
|
+
* Choose, which Apilog to update.
|
|
1126
|
+
*/
|
|
1127
|
+
where: Prisma.ApilogWhereUniqueInput
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* Apilog updateMany
|
|
1132
|
+
*/
|
|
1133
|
+
export type ApilogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1134
|
+
/**
|
|
1135
|
+
* The data used to update Apilogs.
|
|
1136
|
+
*/
|
|
1137
|
+
data: Prisma.XOR<Prisma.ApilogUpdateManyMutationInput, Prisma.ApilogUncheckedUpdateManyInput>
|
|
1138
|
+
/**
|
|
1139
|
+
* Filter which Apilogs to update
|
|
1140
|
+
*/
|
|
1141
|
+
where?: Prisma.ApilogWhereInput
|
|
1142
|
+
/**
|
|
1143
|
+
* Limit how many Apilogs to update.
|
|
1144
|
+
*/
|
|
1145
|
+
limit?: number
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* Apilog updateManyAndReturn
|
|
1150
|
+
*/
|
|
1151
|
+
export type ApilogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Select specific fields to fetch from the Apilog
|
|
1154
|
+
*/
|
|
1155
|
+
select?: Prisma.ApilogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1156
|
+
/**
|
|
1157
|
+
* Omit specific fields from the Apilog
|
|
1158
|
+
*/
|
|
1159
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1160
|
+
/**
|
|
1161
|
+
* The data used to update Apilogs.
|
|
1162
|
+
*/
|
|
1163
|
+
data: Prisma.XOR<Prisma.ApilogUpdateManyMutationInput, Prisma.ApilogUncheckedUpdateManyInput>
|
|
1164
|
+
/**
|
|
1165
|
+
* Filter which Apilogs to update
|
|
1166
|
+
*/
|
|
1167
|
+
where?: Prisma.ApilogWhereInput
|
|
1168
|
+
/**
|
|
1169
|
+
* Limit how many Apilogs to update.
|
|
1170
|
+
*/
|
|
1171
|
+
limit?: number
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Apilog upsert
|
|
1176
|
+
*/
|
|
1177
|
+
export type ApilogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1178
|
+
/**
|
|
1179
|
+
* Select specific fields to fetch from the Apilog
|
|
1180
|
+
*/
|
|
1181
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
1182
|
+
/**
|
|
1183
|
+
* Omit specific fields from the Apilog
|
|
1184
|
+
*/
|
|
1185
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1186
|
+
/**
|
|
1187
|
+
* The filter to search for the Apilog to update in case it exists.
|
|
1188
|
+
*/
|
|
1189
|
+
where: Prisma.ApilogWhereUniqueInput
|
|
1190
|
+
/**
|
|
1191
|
+
* In case the Apilog found by the `where` argument doesn't exist, create a new Apilog with this data.
|
|
1192
|
+
*/
|
|
1193
|
+
create: Prisma.XOR<Prisma.ApilogCreateInput, Prisma.ApilogUncheckedCreateInput>
|
|
1194
|
+
/**
|
|
1195
|
+
* In case the Apilog was found with the provided `where` argument, update it with this data.
|
|
1196
|
+
*/
|
|
1197
|
+
update: Prisma.XOR<Prisma.ApilogUpdateInput, Prisma.ApilogUncheckedUpdateInput>
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Apilog delete
|
|
1202
|
+
*/
|
|
1203
|
+
export type ApilogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1204
|
+
/**
|
|
1205
|
+
* Select specific fields to fetch from the Apilog
|
|
1206
|
+
*/
|
|
1207
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
1208
|
+
/**
|
|
1209
|
+
* Omit specific fields from the Apilog
|
|
1210
|
+
*/
|
|
1211
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1212
|
+
/**
|
|
1213
|
+
* Filter which Apilog to delete.
|
|
1214
|
+
*/
|
|
1215
|
+
where: Prisma.ApilogWhereUniqueInput
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Apilog deleteMany
|
|
1220
|
+
*/
|
|
1221
|
+
export type ApilogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1222
|
+
/**
|
|
1223
|
+
* Filter which Apilogs to delete
|
|
1224
|
+
*/
|
|
1225
|
+
where?: Prisma.ApilogWhereInput
|
|
1226
|
+
/**
|
|
1227
|
+
* Limit how many Apilogs to delete.
|
|
1228
|
+
*/
|
|
1229
|
+
limit?: number
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Apilog without action
|
|
1234
|
+
*/
|
|
1235
|
+
export type ApilogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1236
|
+
/**
|
|
1237
|
+
* Select specific fields to fetch from the Apilog
|
|
1238
|
+
*/
|
|
1239
|
+
select?: Prisma.ApilogSelect<ExtArgs> | null
|
|
1240
|
+
/**
|
|
1241
|
+
* Omit specific fields from the Apilog
|
|
1242
|
+
*/
|
|
1243
|
+
omit?: Prisma.ApilogOmit<ExtArgs> | null
|
|
1244
|
+
}
|