@windrun-huaiin/backend-core 28.0.1 → 29.0.1

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