@prenta/core 5.6.0 → 5.8.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.
Files changed (109) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/api/handler-factory.d.ts.map +1 -1
  3. package/dist/api/handler-factory.js +8 -4
  4. package/dist/api/handler-factory.js.map +1 -1
  5. package/dist/api/handlers.d.ts.map +1 -1
  6. package/dist/api/handlers.js +2 -0
  7. package/dist/api/handlers.js.map +1 -1
  8. package/dist/api/routes/redirects.d.ts.map +1 -1
  9. package/dist/api/routes/redirects.js +113 -53
  10. package/dist/api/routes/redirects.js.map +1 -1
  11. package/dist/api/routes/seo-autopilot.d.ts +12 -0
  12. package/dist/api/routes/seo-autopilot.d.ts.map +1 -0
  13. package/dist/api/routes/seo-autopilot.js +257 -0
  14. package/dist/api/routes/seo-autopilot.js.map +1 -0
  15. package/dist/db/model-types.d.ts +26 -0
  16. package/dist/db/model-types.d.ts.map +1 -1
  17. package/dist/generated/browser.d.ts +8 -0
  18. package/dist/generated/client.d.ts +8 -0
  19. package/dist/generated/internal/class.d.ts +11 -0
  20. package/dist/generated/internal/class.js +4 -4
  21. package/dist/generated/internal/prismaNamespace.d.ts +120 -1
  22. package/dist/generated/internal/prismaNamespace.js +42 -0
  23. package/dist/generated/internal/prismaNamespaceBrowser.d.ts +44 -0
  24. package/dist/generated/internal/prismaNamespaceBrowser.js +42 -0
  25. package/dist/generated/models/SeoAutoApply.d.ts +1495 -0
  26. package/dist/generated/models/SeoAutoApply.js +1 -0
  27. package/dist/generated/models.d.ts +1 -0
  28. package/dist/index.d.ts +2 -2
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/public-redirects.d.ts +12 -0
  33. package/dist/public-redirects.d.ts.map +1 -1
  34. package/dist/public-redirects.js +21 -7
  35. package/dist/public-redirects.js.map +1 -1
  36. package/dist/redirects/index.d.ts +2 -0
  37. package/dist/redirects/index.d.ts.map +1 -1
  38. package/dist/redirects/index.js +1 -0
  39. package/dist/redirects/index.js.map +1 -1
  40. package/dist/redirects/match.d.ts +52 -0
  41. package/dist/redirects/match.d.ts.map +1 -0
  42. package/dist/redirects/match.js +101 -0
  43. package/dist/redirects/match.js.map +1 -0
  44. package/dist/redirects/recovery.d.ts +15 -9
  45. package/dist/redirects/recovery.d.ts.map +1 -1
  46. package/dist/redirects/recovery.js +15 -61
  47. package/dist/redirects/recovery.js.map +1 -1
  48. package/dist/redirects/suggestion-accept.d.ts +3 -2
  49. package/dist/redirects/suggestion-accept.d.ts.map +1 -1
  50. package/dist/redirects/suggestion-accept.js +24 -14
  51. package/dist/redirects/suggestion-accept.js.map +1 -1
  52. package/dist/seo/audit-runner.d.ts.map +1 -1
  53. package/dist/seo/audit-runner.js +0 -2
  54. package/dist/seo/audit-runner.js.map +1 -1
  55. package/dist/seo/autopilot-gate.d.ts +101 -0
  56. package/dist/seo/autopilot-gate.d.ts.map +1 -0
  57. package/dist/seo/autopilot-gate.js +272 -0
  58. package/dist/seo/autopilot-gate.js.map +1 -0
  59. package/dist/seo/autopilot-ledger.d.ts +74 -0
  60. package/dist/seo/autopilot-ledger.d.ts.map +1 -0
  61. package/dist/seo/autopilot-ledger.js +118 -0
  62. package/dist/seo/autopilot-ledger.js.map +1 -0
  63. package/dist/seo/autopilot-outcome.d.ts +93 -0
  64. package/dist/seo/autopilot-outcome.d.ts.map +1 -0
  65. package/dist/seo/autopilot-outcome.js +206 -0
  66. package/dist/seo/autopilot-outcome.js.map +1 -0
  67. package/dist/seo/autopilot-policy.d.ts +169 -0
  68. package/dist/seo/autopilot-policy.d.ts.map +1 -0
  69. package/dist/seo/autopilot-policy.js +267 -0
  70. package/dist/seo/autopilot-policy.js.map +1 -0
  71. package/dist/seo/autopilot-revert.d.ts +40 -0
  72. package/dist/seo/autopilot-revert.d.ts.map +1 -0
  73. package/dist/seo/autopilot-revert.js +155 -0
  74. package/dist/seo/autopilot-revert.js.map +1 -0
  75. package/dist/seo/autopilot.d.ts +91 -0
  76. package/dist/seo/autopilot.d.ts.map +1 -0
  77. package/dist/seo/autopilot.js +1060 -0
  78. package/dist/seo/autopilot.js.map +1 -0
  79. package/dist/seo/config-store.d.ts +35 -2
  80. package/dist/seo/config-store.d.ts.map +1 -1
  81. package/dist/seo/config-store.js +58 -1
  82. package/dist/seo/config-store.js.map +1 -1
  83. package/dist/seo/deep-equal.d.ts +12 -0
  84. package/dist/seo/deep-equal.d.ts.map +1 -0
  85. package/dist/seo/deep-equal.js +42 -0
  86. package/dist/seo/deep-equal.js.map +1 -0
  87. package/dist/seo/digest.d.ts +27 -0
  88. package/dist/seo/digest.d.ts.map +1 -1
  89. package/dist/seo/digest.js +77 -1
  90. package/dist/seo/digest.js.map +1 -1
  91. package/dist/seo/index.d.ts +14 -0
  92. package/dist/seo/index.d.ts.map +1 -1
  93. package/dist/seo/index.js +7 -0
  94. package/dist/seo/index.js.map +1 -1
  95. package/dist/seo/issue-fix-apply.d.ts +20 -1
  96. package/dist/seo/issue-fix-apply.d.ts.map +1 -1
  97. package/dist/seo/issue-fix-apply.js +10 -4
  98. package/dist/seo/issue-fix-apply.js.map +1 -1
  99. package/dist/seo/proposals-generate.d.ts +2 -0
  100. package/dist/seo/proposals-generate.d.ts.map +1 -1
  101. package/dist/seo/proposals-generate.js +7 -1
  102. package/dist/seo/proposals-generate.js.map +1 -1
  103. package/dist/seo/proposals.d.ts +9 -0
  104. package/dist/seo/proposals.d.ts.map +1 -1
  105. package/dist/seo/proposals.js +35 -1
  106. package/dist/seo/proposals.js.map +1 -1
  107. package/package.json +1 -1
  108. package/prisma/migrations/0017_seo_auto_applies/migration.sql +35 -0
  109. package/prisma/schema.prisma +43 -0
@@ -0,0 +1,1495 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model SeoAutoApply
5
+ * One row per change SEO Autopilot wrote (spec 2026-09-07-auto-apply-policy-engine §4).
6
+ * `before`/`after` hold the field-level diff for issue fixes, or the created
7
+ * redirect (after) for redirects. `before` is null for redirects: autopilot
8
+ * never overwrites an existing redirect. Rows are never deleted; revert flips `status`.
9
+ */
10
+ export type SeoAutoApplyModel = runtime.Types.Result.DefaultSelection<Prisma.$SeoAutoApplyPayload>;
11
+ export type AggregateSeoAutoApply = {
12
+ _count: SeoAutoApplyCountAggregateOutputType | null;
13
+ _min: SeoAutoApplyMinAggregateOutputType | null;
14
+ _max: SeoAutoApplyMaxAggregateOutputType | null;
15
+ };
16
+ export type SeoAutoApplyMinAggregateOutputType = {
17
+ id: string | null;
18
+ kind: string | null;
19
+ issueId: string | null;
20
+ issueType: string | null;
21
+ entityId: string | null;
22
+ collection: string | null;
23
+ path: string | null;
24
+ redirectId: string | null;
25
+ status: string | null;
26
+ outcome: string | null;
27
+ outcomeCheckedAt: Date | null;
28
+ versionId: string | null;
29
+ appliedById: string | null;
30
+ appliedAt: Date | null;
31
+ revertedAt: Date | null;
32
+ revertedById: string | null;
33
+ revertReason: string | null;
34
+ createdAt: Date | null;
35
+ updatedAt: Date | null;
36
+ };
37
+ export type SeoAutoApplyMaxAggregateOutputType = {
38
+ id: string | null;
39
+ kind: string | null;
40
+ issueId: string | null;
41
+ issueType: string | null;
42
+ entityId: string | null;
43
+ collection: string | null;
44
+ path: string | null;
45
+ redirectId: string | null;
46
+ status: string | null;
47
+ outcome: string | null;
48
+ outcomeCheckedAt: Date | null;
49
+ versionId: string | null;
50
+ appliedById: string | null;
51
+ appliedAt: Date | null;
52
+ revertedAt: Date | null;
53
+ revertedById: string | null;
54
+ revertReason: string | null;
55
+ createdAt: Date | null;
56
+ updatedAt: Date | null;
57
+ };
58
+ export type SeoAutoApplyCountAggregateOutputType = {
59
+ id: number;
60
+ kind: number;
61
+ issueId: number;
62
+ issueType: number;
63
+ entityId: number;
64
+ collection: number;
65
+ path: number;
66
+ redirectId: number;
67
+ before: number;
68
+ after: number;
69
+ gate: number;
70
+ status: number;
71
+ outcome: number;
72
+ outcomeMetrics: number;
73
+ outcomeCheckedAt: number;
74
+ versionId: number;
75
+ appliedById: number;
76
+ appliedAt: number;
77
+ revertedAt: number;
78
+ revertedById: number;
79
+ revertReason: number;
80
+ createdAt: number;
81
+ updatedAt: number;
82
+ _all: number;
83
+ };
84
+ export type SeoAutoApplyMinAggregateInputType = {
85
+ id?: true;
86
+ kind?: true;
87
+ issueId?: true;
88
+ issueType?: true;
89
+ entityId?: true;
90
+ collection?: true;
91
+ path?: true;
92
+ redirectId?: true;
93
+ status?: true;
94
+ outcome?: true;
95
+ outcomeCheckedAt?: true;
96
+ versionId?: true;
97
+ appliedById?: true;
98
+ appliedAt?: true;
99
+ revertedAt?: true;
100
+ revertedById?: true;
101
+ revertReason?: true;
102
+ createdAt?: true;
103
+ updatedAt?: true;
104
+ };
105
+ export type SeoAutoApplyMaxAggregateInputType = {
106
+ id?: true;
107
+ kind?: true;
108
+ issueId?: true;
109
+ issueType?: true;
110
+ entityId?: true;
111
+ collection?: true;
112
+ path?: true;
113
+ redirectId?: true;
114
+ status?: true;
115
+ outcome?: true;
116
+ outcomeCheckedAt?: true;
117
+ versionId?: true;
118
+ appliedById?: true;
119
+ appliedAt?: true;
120
+ revertedAt?: true;
121
+ revertedById?: true;
122
+ revertReason?: true;
123
+ createdAt?: true;
124
+ updatedAt?: true;
125
+ };
126
+ export type SeoAutoApplyCountAggregateInputType = {
127
+ id?: true;
128
+ kind?: true;
129
+ issueId?: true;
130
+ issueType?: true;
131
+ entityId?: true;
132
+ collection?: true;
133
+ path?: true;
134
+ redirectId?: true;
135
+ before?: true;
136
+ after?: true;
137
+ gate?: true;
138
+ status?: true;
139
+ outcome?: true;
140
+ outcomeMetrics?: true;
141
+ outcomeCheckedAt?: true;
142
+ versionId?: true;
143
+ appliedById?: true;
144
+ appliedAt?: true;
145
+ revertedAt?: true;
146
+ revertedById?: true;
147
+ revertReason?: true;
148
+ createdAt?: true;
149
+ updatedAt?: true;
150
+ _all?: true;
151
+ };
152
+ export type SeoAutoApplyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
153
+ /**
154
+ * Filter which SeoAutoApply to aggregate.
155
+ */
156
+ where?: Prisma.SeoAutoApplyWhereInput;
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
159
+ *
160
+ * Determine the order of SeoAutoApplies to fetch.
161
+ */
162
+ orderBy?: Prisma.SeoAutoApplyOrderByWithRelationInput | Prisma.SeoAutoApplyOrderByWithRelationInput[];
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
165
+ *
166
+ * Sets the start position
167
+ */
168
+ cursor?: Prisma.SeoAutoApplyWhereUniqueInput;
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
171
+ *
172
+ * Take `±n` SeoAutoApplies from the position of the cursor.
173
+ */
174
+ take?: number;
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
177
+ *
178
+ * Skip the first `n` SeoAutoApplies.
179
+ */
180
+ skip?: number;
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Count returned SeoAutoApplies
185
+ **/
186
+ _count?: true | SeoAutoApplyCountAggregateInputType;
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Select which fields to find the minimum value
191
+ **/
192
+ _min?: SeoAutoApplyMinAggregateInputType;
193
+ /**
194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
+ *
196
+ * Select which fields to find the maximum value
197
+ **/
198
+ _max?: SeoAutoApplyMaxAggregateInputType;
199
+ };
200
+ export type GetSeoAutoApplyAggregateType<T extends SeoAutoApplyAggregateArgs> = {
201
+ [P in keyof T & keyof AggregateSeoAutoApply]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSeoAutoApply[P]> : Prisma.GetScalarType<T[P], AggregateSeoAutoApply[P]>;
202
+ };
203
+ export type SeoAutoApplyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
204
+ where?: Prisma.SeoAutoApplyWhereInput;
205
+ orderBy?: Prisma.SeoAutoApplyOrderByWithAggregationInput | Prisma.SeoAutoApplyOrderByWithAggregationInput[];
206
+ by: Prisma.SeoAutoApplyScalarFieldEnum[] | Prisma.SeoAutoApplyScalarFieldEnum;
207
+ having?: Prisma.SeoAutoApplyScalarWhereWithAggregatesInput;
208
+ take?: number;
209
+ skip?: number;
210
+ _count?: SeoAutoApplyCountAggregateInputType | true;
211
+ _min?: SeoAutoApplyMinAggregateInputType;
212
+ _max?: SeoAutoApplyMaxAggregateInputType;
213
+ };
214
+ export type SeoAutoApplyGroupByOutputType = {
215
+ id: string;
216
+ kind: string;
217
+ issueId: string | null;
218
+ issueType: string;
219
+ entityId: string | null;
220
+ collection: string | null;
221
+ path: string | null;
222
+ redirectId: string | null;
223
+ before: runtime.JsonValue | null;
224
+ after: runtime.JsonValue;
225
+ gate: runtime.JsonValue;
226
+ status: string;
227
+ outcome: string;
228
+ outcomeMetrics: runtime.JsonValue | null;
229
+ outcomeCheckedAt: Date | null;
230
+ versionId: string | null;
231
+ appliedById: string;
232
+ appliedAt: Date;
233
+ revertedAt: Date | null;
234
+ revertedById: string | null;
235
+ revertReason: string | null;
236
+ createdAt: Date;
237
+ updatedAt: Date;
238
+ _count: SeoAutoApplyCountAggregateOutputType | null;
239
+ _min: SeoAutoApplyMinAggregateOutputType | null;
240
+ _max: SeoAutoApplyMaxAggregateOutputType | null;
241
+ };
242
+ export type GetSeoAutoApplyGroupByPayload<T extends SeoAutoApplyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SeoAutoApplyGroupByOutputType, T['by']> & {
243
+ [P in ((keyof T) & (keyof SeoAutoApplyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SeoAutoApplyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SeoAutoApplyGroupByOutputType[P]>;
244
+ }>>;
245
+ export type SeoAutoApplyWhereInput = {
246
+ AND?: Prisma.SeoAutoApplyWhereInput | Prisma.SeoAutoApplyWhereInput[];
247
+ OR?: Prisma.SeoAutoApplyWhereInput[];
248
+ NOT?: Prisma.SeoAutoApplyWhereInput | Prisma.SeoAutoApplyWhereInput[];
249
+ id?: Prisma.StringFilter<"SeoAutoApply"> | string;
250
+ kind?: Prisma.StringFilter<"SeoAutoApply"> | string;
251
+ issueId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
252
+ issueType?: Prisma.StringFilter<"SeoAutoApply"> | string;
253
+ entityId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
254
+ collection?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
255
+ path?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
256
+ redirectId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
257
+ before?: Prisma.JsonNullableFilter<"SeoAutoApply">;
258
+ after?: Prisma.JsonFilter<"SeoAutoApply">;
259
+ gate?: Prisma.JsonFilter<"SeoAutoApply">;
260
+ status?: Prisma.StringFilter<"SeoAutoApply"> | string;
261
+ outcome?: Prisma.StringFilter<"SeoAutoApply"> | string;
262
+ outcomeMetrics?: Prisma.JsonNullableFilter<"SeoAutoApply">;
263
+ outcomeCheckedAt?: Prisma.DateTimeNullableFilter<"SeoAutoApply"> | Date | string | null;
264
+ versionId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
265
+ appliedById?: Prisma.StringFilter<"SeoAutoApply"> | string;
266
+ appliedAt?: Prisma.DateTimeFilter<"SeoAutoApply"> | Date | string;
267
+ revertedAt?: Prisma.DateTimeNullableFilter<"SeoAutoApply"> | Date | string | null;
268
+ revertedById?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
269
+ revertReason?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
270
+ createdAt?: Prisma.DateTimeFilter<"SeoAutoApply"> | Date | string;
271
+ updatedAt?: Prisma.DateTimeFilter<"SeoAutoApply"> | Date | string;
272
+ };
273
+ export type SeoAutoApplyOrderByWithRelationInput = {
274
+ id?: Prisma.SortOrder;
275
+ kind?: Prisma.SortOrder;
276
+ issueId?: Prisma.SortOrderInput | Prisma.SortOrder;
277
+ issueType?: Prisma.SortOrder;
278
+ entityId?: Prisma.SortOrderInput | Prisma.SortOrder;
279
+ collection?: Prisma.SortOrderInput | Prisma.SortOrder;
280
+ path?: Prisma.SortOrderInput | Prisma.SortOrder;
281
+ redirectId?: Prisma.SortOrderInput | Prisma.SortOrder;
282
+ before?: Prisma.SortOrderInput | Prisma.SortOrder;
283
+ after?: Prisma.SortOrder;
284
+ gate?: Prisma.SortOrder;
285
+ status?: Prisma.SortOrder;
286
+ outcome?: Prisma.SortOrder;
287
+ outcomeMetrics?: Prisma.SortOrderInput | Prisma.SortOrder;
288
+ outcomeCheckedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
289
+ versionId?: Prisma.SortOrderInput | Prisma.SortOrder;
290
+ appliedById?: Prisma.SortOrder;
291
+ appliedAt?: Prisma.SortOrder;
292
+ revertedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
293
+ revertedById?: Prisma.SortOrderInput | Prisma.SortOrder;
294
+ revertReason?: Prisma.SortOrderInput | Prisma.SortOrder;
295
+ createdAt?: Prisma.SortOrder;
296
+ updatedAt?: Prisma.SortOrder;
297
+ _relevance?: Prisma.SeoAutoApplyOrderByRelevanceInput;
298
+ };
299
+ export type SeoAutoApplyWhereUniqueInput = Prisma.AtLeast<{
300
+ id?: string;
301
+ AND?: Prisma.SeoAutoApplyWhereInput | Prisma.SeoAutoApplyWhereInput[];
302
+ OR?: Prisma.SeoAutoApplyWhereInput[];
303
+ NOT?: Prisma.SeoAutoApplyWhereInput | Prisma.SeoAutoApplyWhereInput[];
304
+ kind?: Prisma.StringFilter<"SeoAutoApply"> | string;
305
+ issueId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
306
+ issueType?: Prisma.StringFilter<"SeoAutoApply"> | string;
307
+ entityId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
308
+ collection?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
309
+ path?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
310
+ redirectId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
311
+ before?: Prisma.JsonNullableFilter<"SeoAutoApply">;
312
+ after?: Prisma.JsonFilter<"SeoAutoApply">;
313
+ gate?: Prisma.JsonFilter<"SeoAutoApply">;
314
+ status?: Prisma.StringFilter<"SeoAutoApply"> | string;
315
+ outcome?: Prisma.StringFilter<"SeoAutoApply"> | string;
316
+ outcomeMetrics?: Prisma.JsonNullableFilter<"SeoAutoApply">;
317
+ outcomeCheckedAt?: Prisma.DateTimeNullableFilter<"SeoAutoApply"> | Date | string | null;
318
+ versionId?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
319
+ appliedById?: Prisma.StringFilter<"SeoAutoApply"> | string;
320
+ appliedAt?: Prisma.DateTimeFilter<"SeoAutoApply"> | Date | string;
321
+ revertedAt?: Prisma.DateTimeNullableFilter<"SeoAutoApply"> | Date | string | null;
322
+ revertedById?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
323
+ revertReason?: Prisma.StringNullableFilter<"SeoAutoApply"> | string | null;
324
+ createdAt?: Prisma.DateTimeFilter<"SeoAutoApply"> | Date | string;
325
+ updatedAt?: Prisma.DateTimeFilter<"SeoAutoApply"> | Date | string;
326
+ }, "id">;
327
+ export type SeoAutoApplyOrderByWithAggregationInput = {
328
+ id?: Prisma.SortOrder;
329
+ kind?: Prisma.SortOrder;
330
+ issueId?: Prisma.SortOrderInput | Prisma.SortOrder;
331
+ issueType?: Prisma.SortOrder;
332
+ entityId?: Prisma.SortOrderInput | Prisma.SortOrder;
333
+ collection?: Prisma.SortOrderInput | Prisma.SortOrder;
334
+ path?: Prisma.SortOrderInput | Prisma.SortOrder;
335
+ redirectId?: Prisma.SortOrderInput | Prisma.SortOrder;
336
+ before?: Prisma.SortOrderInput | Prisma.SortOrder;
337
+ after?: Prisma.SortOrder;
338
+ gate?: Prisma.SortOrder;
339
+ status?: Prisma.SortOrder;
340
+ outcome?: Prisma.SortOrder;
341
+ outcomeMetrics?: Prisma.SortOrderInput | Prisma.SortOrder;
342
+ outcomeCheckedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
343
+ versionId?: Prisma.SortOrderInput | Prisma.SortOrder;
344
+ appliedById?: Prisma.SortOrder;
345
+ appliedAt?: Prisma.SortOrder;
346
+ revertedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
347
+ revertedById?: Prisma.SortOrderInput | Prisma.SortOrder;
348
+ revertReason?: Prisma.SortOrderInput | Prisma.SortOrder;
349
+ createdAt?: Prisma.SortOrder;
350
+ updatedAt?: Prisma.SortOrder;
351
+ _count?: Prisma.SeoAutoApplyCountOrderByAggregateInput;
352
+ _max?: Prisma.SeoAutoApplyMaxOrderByAggregateInput;
353
+ _min?: Prisma.SeoAutoApplyMinOrderByAggregateInput;
354
+ };
355
+ export type SeoAutoApplyScalarWhereWithAggregatesInput = {
356
+ AND?: Prisma.SeoAutoApplyScalarWhereWithAggregatesInput | Prisma.SeoAutoApplyScalarWhereWithAggregatesInput[];
357
+ OR?: Prisma.SeoAutoApplyScalarWhereWithAggregatesInput[];
358
+ NOT?: Prisma.SeoAutoApplyScalarWhereWithAggregatesInput | Prisma.SeoAutoApplyScalarWhereWithAggregatesInput[];
359
+ id?: Prisma.StringWithAggregatesFilter<"SeoAutoApply"> | string;
360
+ kind?: Prisma.StringWithAggregatesFilter<"SeoAutoApply"> | string;
361
+ issueId?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
362
+ issueType?: Prisma.StringWithAggregatesFilter<"SeoAutoApply"> | string;
363
+ entityId?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
364
+ collection?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
365
+ path?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
366
+ redirectId?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
367
+ before?: Prisma.JsonNullableWithAggregatesFilter<"SeoAutoApply">;
368
+ after?: Prisma.JsonWithAggregatesFilter<"SeoAutoApply">;
369
+ gate?: Prisma.JsonWithAggregatesFilter<"SeoAutoApply">;
370
+ status?: Prisma.StringWithAggregatesFilter<"SeoAutoApply"> | string;
371
+ outcome?: Prisma.StringWithAggregatesFilter<"SeoAutoApply"> | string;
372
+ outcomeMetrics?: Prisma.JsonNullableWithAggregatesFilter<"SeoAutoApply">;
373
+ outcomeCheckedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"SeoAutoApply"> | Date | string | null;
374
+ versionId?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
375
+ appliedById?: Prisma.StringWithAggregatesFilter<"SeoAutoApply"> | string;
376
+ appliedAt?: Prisma.DateTimeWithAggregatesFilter<"SeoAutoApply"> | Date | string;
377
+ revertedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"SeoAutoApply"> | Date | string | null;
378
+ revertedById?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
379
+ revertReason?: Prisma.StringNullableWithAggregatesFilter<"SeoAutoApply"> | string | null;
380
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"SeoAutoApply"> | Date | string;
381
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SeoAutoApply"> | Date | string;
382
+ };
383
+ export type SeoAutoApplyCreateInput = {
384
+ id?: string;
385
+ kind: string;
386
+ issueId?: string | null;
387
+ issueType: string;
388
+ entityId?: string | null;
389
+ collection?: string | null;
390
+ path?: string | null;
391
+ redirectId?: string | null;
392
+ before?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
393
+ after: Prisma.JsonNullValueInput | runtime.InputJsonValue;
394
+ gate: Prisma.JsonNullValueInput | runtime.InputJsonValue;
395
+ status: string;
396
+ outcome?: string;
397
+ outcomeMetrics?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
398
+ outcomeCheckedAt?: Date | string | null;
399
+ versionId?: string | null;
400
+ appliedById: string;
401
+ appliedAt?: Date | string;
402
+ revertedAt?: Date | string | null;
403
+ revertedById?: string | null;
404
+ revertReason?: string | null;
405
+ createdAt?: Date | string;
406
+ updatedAt?: Date | string;
407
+ };
408
+ export type SeoAutoApplyUncheckedCreateInput = {
409
+ id?: string;
410
+ kind: string;
411
+ issueId?: string | null;
412
+ issueType: string;
413
+ entityId?: string | null;
414
+ collection?: string | null;
415
+ path?: string | null;
416
+ redirectId?: string | null;
417
+ before?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
418
+ after: Prisma.JsonNullValueInput | runtime.InputJsonValue;
419
+ gate: Prisma.JsonNullValueInput | runtime.InputJsonValue;
420
+ status: string;
421
+ outcome?: string;
422
+ outcomeMetrics?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
423
+ outcomeCheckedAt?: Date | string | null;
424
+ versionId?: string | null;
425
+ appliedById: string;
426
+ appliedAt?: Date | string;
427
+ revertedAt?: Date | string | null;
428
+ revertedById?: string | null;
429
+ revertReason?: string | null;
430
+ createdAt?: Date | string;
431
+ updatedAt?: Date | string;
432
+ };
433
+ export type SeoAutoApplyUpdateInput = {
434
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
435
+ kind?: Prisma.StringFieldUpdateOperationsInput | string;
436
+ issueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
437
+ issueType?: Prisma.StringFieldUpdateOperationsInput | string;
438
+ entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
439
+ collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
440
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
441
+ redirectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
442
+ before?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
443
+ after?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
444
+ gate?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
445
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
446
+ outcome?: Prisma.StringFieldUpdateOperationsInput | string;
447
+ outcomeMetrics?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
448
+ outcomeCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
449
+ versionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
450
+ appliedById?: Prisma.StringFieldUpdateOperationsInput | string;
451
+ appliedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
452
+ revertedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
453
+ revertedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
454
+ revertReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
455
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
456
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
457
+ };
458
+ export type SeoAutoApplyUncheckedUpdateInput = {
459
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
460
+ kind?: Prisma.StringFieldUpdateOperationsInput | string;
461
+ issueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
462
+ issueType?: Prisma.StringFieldUpdateOperationsInput | string;
463
+ entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
464
+ collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
465
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
466
+ redirectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
467
+ before?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
468
+ after?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
469
+ gate?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
470
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
471
+ outcome?: Prisma.StringFieldUpdateOperationsInput | string;
472
+ outcomeMetrics?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
473
+ outcomeCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
474
+ versionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
475
+ appliedById?: Prisma.StringFieldUpdateOperationsInput | string;
476
+ appliedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
477
+ revertedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
478
+ revertedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
479
+ revertReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
480
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
481
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
482
+ };
483
+ export type SeoAutoApplyCreateManyInput = {
484
+ id?: string;
485
+ kind: string;
486
+ issueId?: string | null;
487
+ issueType: string;
488
+ entityId?: string | null;
489
+ collection?: string | null;
490
+ path?: string | null;
491
+ redirectId?: string | null;
492
+ before?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
493
+ after: Prisma.JsonNullValueInput | runtime.InputJsonValue;
494
+ gate: Prisma.JsonNullValueInput | runtime.InputJsonValue;
495
+ status: string;
496
+ outcome?: string;
497
+ outcomeMetrics?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
498
+ outcomeCheckedAt?: Date | string | null;
499
+ versionId?: string | null;
500
+ appliedById: string;
501
+ appliedAt?: Date | string;
502
+ revertedAt?: Date | string | null;
503
+ revertedById?: string | null;
504
+ revertReason?: string | null;
505
+ createdAt?: Date | string;
506
+ updatedAt?: Date | string;
507
+ };
508
+ export type SeoAutoApplyUpdateManyMutationInput = {
509
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
510
+ kind?: Prisma.StringFieldUpdateOperationsInput | string;
511
+ issueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
512
+ issueType?: Prisma.StringFieldUpdateOperationsInput | string;
513
+ entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
514
+ collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
515
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
516
+ redirectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
517
+ before?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
518
+ after?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
519
+ gate?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
520
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
521
+ outcome?: Prisma.StringFieldUpdateOperationsInput | string;
522
+ outcomeMetrics?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
523
+ outcomeCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
524
+ versionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
525
+ appliedById?: Prisma.StringFieldUpdateOperationsInput | string;
526
+ appliedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
527
+ revertedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
528
+ revertedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
529
+ revertReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
530
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
531
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
532
+ };
533
+ export type SeoAutoApplyUncheckedUpdateManyInput = {
534
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
535
+ kind?: Prisma.StringFieldUpdateOperationsInput | string;
536
+ issueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
537
+ issueType?: Prisma.StringFieldUpdateOperationsInput | string;
538
+ entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
539
+ collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
540
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
541
+ redirectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
542
+ before?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
543
+ after?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
544
+ gate?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
545
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
546
+ outcome?: Prisma.StringFieldUpdateOperationsInput | string;
547
+ outcomeMetrics?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
548
+ outcomeCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
549
+ versionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
550
+ appliedById?: Prisma.StringFieldUpdateOperationsInput | string;
551
+ appliedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
552
+ revertedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
553
+ revertedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
554
+ revertReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
555
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
556
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
557
+ };
558
+ export type SeoAutoApplyOrderByRelevanceInput = {
559
+ fields: Prisma.SeoAutoApplyOrderByRelevanceFieldEnum | Prisma.SeoAutoApplyOrderByRelevanceFieldEnum[];
560
+ sort: Prisma.SortOrder;
561
+ search: string;
562
+ };
563
+ export type SeoAutoApplyCountOrderByAggregateInput = {
564
+ id?: Prisma.SortOrder;
565
+ kind?: Prisma.SortOrder;
566
+ issueId?: Prisma.SortOrder;
567
+ issueType?: Prisma.SortOrder;
568
+ entityId?: Prisma.SortOrder;
569
+ collection?: Prisma.SortOrder;
570
+ path?: Prisma.SortOrder;
571
+ redirectId?: Prisma.SortOrder;
572
+ before?: Prisma.SortOrder;
573
+ after?: Prisma.SortOrder;
574
+ gate?: Prisma.SortOrder;
575
+ status?: Prisma.SortOrder;
576
+ outcome?: Prisma.SortOrder;
577
+ outcomeMetrics?: Prisma.SortOrder;
578
+ outcomeCheckedAt?: Prisma.SortOrder;
579
+ versionId?: Prisma.SortOrder;
580
+ appliedById?: Prisma.SortOrder;
581
+ appliedAt?: Prisma.SortOrder;
582
+ revertedAt?: Prisma.SortOrder;
583
+ revertedById?: Prisma.SortOrder;
584
+ revertReason?: Prisma.SortOrder;
585
+ createdAt?: Prisma.SortOrder;
586
+ updatedAt?: Prisma.SortOrder;
587
+ };
588
+ export type SeoAutoApplyMaxOrderByAggregateInput = {
589
+ id?: Prisma.SortOrder;
590
+ kind?: Prisma.SortOrder;
591
+ issueId?: Prisma.SortOrder;
592
+ issueType?: Prisma.SortOrder;
593
+ entityId?: Prisma.SortOrder;
594
+ collection?: Prisma.SortOrder;
595
+ path?: Prisma.SortOrder;
596
+ redirectId?: Prisma.SortOrder;
597
+ status?: Prisma.SortOrder;
598
+ outcome?: Prisma.SortOrder;
599
+ outcomeCheckedAt?: Prisma.SortOrder;
600
+ versionId?: Prisma.SortOrder;
601
+ appliedById?: Prisma.SortOrder;
602
+ appliedAt?: Prisma.SortOrder;
603
+ revertedAt?: Prisma.SortOrder;
604
+ revertedById?: Prisma.SortOrder;
605
+ revertReason?: Prisma.SortOrder;
606
+ createdAt?: Prisma.SortOrder;
607
+ updatedAt?: Prisma.SortOrder;
608
+ };
609
+ export type SeoAutoApplyMinOrderByAggregateInput = {
610
+ id?: Prisma.SortOrder;
611
+ kind?: Prisma.SortOrder;
612
+ issueId?: Prisma.SortOrder;
613
+ issueType?: Prisma.SortOrder;
614
+ entityId?: Prisma.SortOrder;
615
+ collection?: Prisma.SortOrder;
616
+ path?: Prisma.SortOrder;
617
+ redirectId?: Prisma.SortOrder;
618
+ status?: Prisma.SortOrder;
619
+ outcome?: Prisma.SortOrder;
620
+ outcomeCheckedAt?: Prisma.SortOrder;
621
+ versionId?: Prisma.SortOrder;
622
+ appliedById?: Prisma.SortOrder;
623
+ appliedAt?: Prisma.SortOrder;
624
+ revertedAt?: Prisma.SortOrder;
625
+ revertedById?: Prisma.SortOrder;
626
+ revertReason?: Prisma.SortOrder;
627
+ createdAt?: Prisma.SortOrder;
628
+ updatedAt?: Prisma.SortOrder;
629
+ };
630
+ export type SeoAutoApplySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
631
+ id?: boolean;
632
+ kind?: boolean;
633
+ issueId?: boolean;
634
+ issueType?: boolean;
635
+ entityId?: boolean;
636
+ collection?: boolean;
637
+ path?: boolean;
638
+ redirectId?: boolean;
639
+ before?: boolean;
640
+ after?: boolean;
641
+ gate?: boolean;
642
+ status?: boolean;
643
+ outcome?: boolean;
644
+ outcomeMetrics?: boolean;
645
+ outcomeCheckedAt?: boolean;
646
+ versionId?: boolean;
647
+ appliedById?: boolean;
648
+ appliedAt?: boolean;
649
+ revertedAt?: boolean;
650
+ revertedById?: boolean;
651
+ revertReason?: boolean;
652
+ createdAt?: boolean;
653
+ updatedAt?: boolean;
654
+ }, ExtArgs["result"]["seoAutoApply"]>;
655
+ export type SeoAutoApplySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
656
+ id?: boolean;
657
+ kind?: boolean;
658
+ issueId?: boolean;
659
+ issueType?: boolean;
660
+ entityId?: boolean;
661
+ collection?: boolean;
662
+ path?: boolean;
663
+ redirectId?: boolean;
664
+ before?: boolean;
665
+ after?: boolean;
666
+ gate?: boolean;
667
+ status?: boolean;
668
+ outcome?: boolean;
669
+ outcomeMetrics?: boolean;
670
+ outcomeCheckedAt?: boolean;
671
+ versionId?: boolean;
672
+ appliedById?: boolean;
673
+ appliedAt?: boolean;
674
+ revertedAt?: boolean;
675
+ revertedById?: boolean;
676
+ revertReason?: boolean;
677
+ createdAt?: boolean;
678
+ updatedAt?: boolean;
679
+ }, ExtArgs["result"]["seoAutoApply"]>;
680
+ export type SeoAutoApplySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
681
+ id?: boolean;
682
+ kind?: boolean;
683
+ issueId?: boolean;
684
+ issueType?: boolean;
685
+ entityId?: boolean;
686
+ collection?: boolean;
687
+ path?: boolean;
688
+ redirectId?: boolean;
689
+ before?: boolean;
690
+ after?: boolean;
691
+ gate?: boolean;
692
+ status?: boolean;
693
+ outcome?: boolean;
694
+ outcomeMetrics?: boolean;
695
+ outcomeCheckedAt?: boolean;
696
+ versionId?: boolean;
697
+ appliedById?: boolean;
698
+ appliedAt?: boolean;
699
+ revertedAt?: boolean;
700
+ revertedById?: boolean;
701
+ revertReason?: boolean;
702
+ createdAt?: boolean;
703
+ updatedAt?: boolean;
704
+ }, ExtArgs["result"]["seoAutoApply"]>;
705
+ export type SeoAutoApplySelectScalar = {
706
+ id?: boolean;
707
+ kind?: boolean;
708
+ issueId?: boolean;
709
+ issueType?: boolean;
710
+ entityId?: boolean;
711
+ collection?: boolean;
712
+ path?: boolean;
713
+ redirectId?: boolean;
714
+ before?: boolean;
715
+ after?: boolean;
716
+ gate?: boolean;
717
+ status?: boolean;
718
+ outcome?: boolean;
719
+ outcomeMetrics?: boolean;
720
+ outcomeCheckedAt?: boolean;
721
+ versionId?: boolean;
722
+ appliedById?: boolean;
723
+ appliedAt?: boolean;
724
+ revertedAt?: boolean;
725
+ revertedById?: boolean;
726
+ revertReason?: boolean;
727
+ createdAt?: boolean;
728
+ updatedAt?: boolean;
729
+ };
730
+ export type SeoAutoApplyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "kind" | "issueId" | "issueType" | "entityId" | "collection" | "path" | "redirectId" | "before" | "after" | "gate" | "status" | "outcome" | "outcomeMetrics" | "outcomeCheckedAt" | "versionId" | "appliedById" | "appliedAt" | "revertedAt" | "revertedById" | "revertReason" | "createdAt" | "updatedAt", ExtArgs["result"]["seoAutoApply"]>;
731
+ export type $SeoAutoApplyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
732
+ name: "SeoAutoApply";
733
+ objects: {};
734
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
735
+ id: string;
736
+ kind: string;
737
+ issueId: string | null;
738
+ issueType: string;
739
+ entityId: string | null;
740
+ collection: string | null;
741
+ path: string | null;
742
+ redirectId: string | null;
743
+ before: runtime.JsonValue | null;
744
+ after: runtime.JsonValue;
745
+ gate: runtime.JsonValue;
746
+ status: string;
747
+ outcome: string;
748
+ outcomeMetrics: runtime.JsonValue | null;
749
+ outcomeCheckedAt: Date | null;
750
+ versionId: string | null;
751
+ appliedById: string;
752
+ appliedAt: Date;
753
+ revertedAt: Date | null;
754
+ revertedById: string | null;
755
+ revertReason: string | null;
756
+ createdAt: Date;
757
+ updatedAt: Date;
758
+ }, ExtArgs["result"]["seoAutoApply"]>;
759
+ composites: {};
760
+ };
761
+ export type SeoAutoApplyGetPayload<S extends boolean | null | undefined | SeoAutoApplyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload, S>;
762
+ export type SeoAutoApplyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<SeoAutoApplyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
763
+ select?: SeoAutoApplyCountAggregateInputType | true;
764
+ };
765
+ export interface SeoAutoApplyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
766
+ [K: symbol]: {
767
+ types: Prisma.TypeMap<ExtArgs>['model']['SeoAutoApply'];
768
+ meta: {
769
+ name: 'SeoAutoApply';
770
+ };
771
+ };
772
+ /**
773
+ * Find zero or one SeoAutoApply that matches the filter.
774
+ * @param {SeoAutoApplyFindUniqueArgs} args - Arguments to find a SeoAutoApply
775
+ * @example
776
+ * // Get one SeoAutoApply
777
+ * const seoAutoApply = await prisma.seoAutoApply.findUnique({
778
+ * where: {
779
+ * // ... provide filter here
780
+ * }
781
+ * })
782
+ */
783
+ findUnique<T extends SeoAutoApplyFindUniqueArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
784
+ /**
785
+ * Find one SeoAutoApply that matches the filter or throw an error with `error.code='P2025'`
786
+ * if no matches were found.
787
+ * @param {SeoAutoApplyFindUniqueOrThrowArgs} args - Arguments to find a SeoAutoApply
788
+ * @example
789
+ * // Get one SeoAutoApply
790
+ * const seoAutoApply = await prisma.seoAutoApply.findUniqueOrThrow({
791
+ * where: {
792
+ * // ... provide filter here
793
+ * }
794
+ * })
795
+ */
796
+ findUniqueOrThrow<T extends SeoAutoApplyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
797
+ /**
798
+ * Find the first SeoAutoApply that matches the filter.
799
+ * Note, that providing `undefined` is treated as the value not being there.
800
+ * Read more here: https://pris.ly/d/null-undefined
801
+ * @param {SeoAutoApplyFindFirstArgs} args - Arguments to find a SeoAutoApply
802
+ * @example
803
+ * // Get one SeoAutoApply
804
+ * const seoAutoApply = await prisma.seoAutoApply.findFirst({
805
+ * where: {
806
+ * // ... provide filter here
807
+ * }
808
+ * })
809
+ */
810
+ findFirst<T extends SeoAutoApplyFindFirstArgs>(args?: Prisma.SelectSubset<T, SeoAutoApplyFindFirstArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
811
+ /**
812
+ * Find the first SeoAutoApply that matches the filter or
813
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
814
+ * Note, that providing `undefined` is treated as the value not being there.
815
+ * Read more here: https://pris.ly/d/null-undefined
816
+ * @param {SeoAutoApplyFindFirstOrThrowArgs} args - Arguments to find a SeoAutoApply
817
+ * @example
818
+ * // Get one SeoAutoApply
819
+ * const seoAutoApply = await prisma.seoAutoApply.findFirstOrThrow({
820
+ * where: {
821
+ * // ... provide filter here
822
+ * }
823
+ * })
824
+ */
825
+ findFirstOrThrow<T extends SeoAutoApplyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SeoAutoApplyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
826
+ /**
827
+ * Find zero or more SeoAutoApplies that matches the filter.
828
+ * Note, that providing `undefined` is treated as the value not being there.
829
+ * Read more here: https://pris.ly/d/null-undefined
830
+ * @param {SeoAutoApplyFindManyArgs} args - Arguments to filter and select certain fields only.
831
+ * @example
832
+ * // Get all SeoAutoApplies
833
+ * const seoAutoApplies = await prisma.seoAutoApply.findMany()
834
+ *
835
+ * // Get first 10 SeoAutoApplies
836
+ * const seoAutoApplies = await prisma.seoAutoApply.findMany({ take: 10 })
837
+ *
838
+ * // Only select the `id`
839
+ * const seoAutoApplyWithIdOnly = await prisma.seoAutoApply.findMany({ select: { id: true } })
840
+ *
841
+ */
842
+ findMany<T extends SeoAutoApplyFindManyArgs>(args?: Prisma.SelectSubset<T, SeoAutoApplyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
843
+ /**
844
+ * Create a SeoAutoApply.
845
+ * @param {SeoAutoApplyCreateArgs} args - Arguments to create a SeoAutoApply.
846
+ * @example
847
+ * // Create one SeoAutoApply
848
+ * const SeoAutoApply = await prisma.seoAutoApply.create({
849
+ * data: {
850
+ * // ... data to create a SeoAutoApply
851
+ * }
852
+ * })
853
+ *
854
+ */
855
+ create<T extends SeoAutoApplyCreateArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyCreateArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
856
+ /**
857
+ * Create many SeoAutoApplies.
858
+ * @param {SeoAutoApplyCreateManyArgs} args - Arguments to create many SeoAutoApplies.
859
+ * @example
860
+ * // Create many SeoAutoApplies
861
+ * const seoAutoApply = await prisma.seoAutoApply.createMany({
862
+ * data: [
863
+ * // ... provide data here
864
+ * ]
865
+ * })
866
+ *
867
+ */
868
+ createMany<T extends SeoAutoApplyCreateManyArgs>(args?: Prisma.SelectSubset<T, SeoAutoApplyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
869
+ /**
870
+ * Create many SeoAutoApplies and returns the data saved in the database.
871
+ * @param {SeoAutoApplyCreateManyAndReturnArgs} args - Arguments to create many SeoAutoApplies.
872
+ * @example
873
+ * // Create many SeoAutoApplies
874
+ * const seoAutoApply = await prisma.seoAutoApply.createManyAndReturn({
875
+ * data: [
876
+ * // ... provide data here
877
+ * ]
878
+ * })
879
+ *
880
+ * // Create many SeoAutoApplies and only return the `id`
881
+ * const seoAutoApplyWithIdOnly = await prisma.seoAutoApply.createManyAndReturn({
882
+ * select: { id: true },
883
+ * data: [
884
+ * // ... provide data here
885
+ * ]
886
+ * })
887
+ * Note, that providing `undefined` is treated as the value not being there.
888
+ * Read more here: https://pris.ly/d/null-undefined
889
+ *
890
+ */
891
+ createManyAndReturn<T extends SeoAutoApplyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SeoAutoApplyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
892
+ /**
893
+ * Delete a SeoAutoApply.
894
+ * @param {SeoAutoApplyDeleteArgs} args - Arguments to delete one SeoAutoApply.
895
+ * @example
896
+ * // Delete one SeoAutoApply
897
+ * const SeoAutoApply = await prisma.seoAutoApply.delete({
898
+ * where: {
899
+ * // ... filter to delete one SeoAutoApply
900
+ * }
901
+ * })
902
+ *
903
+ */
904
+ delete<T extends SeoAutoApplyDeleteArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyDeleteArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
905
+ /**
906
+ * Update one SeoAutoApply.
907
+ * @param {SeoAutoApplyUpdateArgs} args - Arguments to update one SeoAutoApply.
908
+ * @example
909
+ * // Update one SeoAutoApply
910
+ * const seoAutoApply = await prisma.seoAutoApply.update({
911
+ * where: {
912
+ * // ... provide filter here
913
+ * },
914
+ * data: {
915
+ * // ... provide data here
916
+ * }
917
+ * })
918
+ *
919
+ */
920
+ update<T extends SeoAutoApplyUpdateArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyUpdateArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
921
+ /**
922
+ * Delete zero or more SeoAutoApplies.
923
+ * @param {SeoAutoApplyDeleteManyArgs} args - Arguments to filter SeoAutoApplies to delete.
924
+ * @example
925
+ * // Delete a few SeoAutoApplies
926
+ * const { count } = await prisma.seoAutoApply.deleteMany({
927
+ * where: {
928
+ * // ... provide filter here
929
+ * }
930
+ * })
931
+ *
932
+ */
933
+ deleteMany<T extends SeoAutoApplyDeleteManyArgs>(args?: Prisma.SelectSubset<T, SeoAutoApplyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
934
+ /**
935
+ * Update zero or more SeoAutoApplies.
936
+ * Note, that providing `undefined` is treated as the value not being there.
937
+ * Read more here: https://pris.ly/d/null-undefined
938
+ * @param {SeoAutoApplyUpdateManyArgs} args - Arguments to update one or more rows.
939
+ * @example
940
+ * // Update many SeoAutoApplies
941
+ * const seoAutoApply = await prisma.seoAutoApply.updateMany({
942
+ * where: {
943
+ * // ... provide filter here
944
+ * },
945
+ * data: {
946
+ * // ... provide data here
947
+ * }
948
+ * })
949
+ *
950
+ */
951
+ updateMany<T extends SeoAutoApplyUpdateManyArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
952
+ /**
953
+ * Update zero or more SeoAutoApplies and returns the data updated in the database.
954
+ * @param {SeoAutoApplyUpdateManyAndReturnArgs} args - Arguments to update many SeoAutoApplies.
955
+ * @example
956
+ * // Update many SeoAutoApplies
957
+ * const seoAutoApply = await prisma.seoAutoApply.updateManyAndReturn({
958
+ * where: {
959
+ * // ... provide filter here
960
+ * },
961
+ * data: [
962
+ * // ... provide data here
963
+ * ]
964
+ * })
965
+ *
966
+ * // Update zero or more SeoAutoApplies and only return the `id`
967
+ * const seoAutoApplyWithIdOnly = await prisma.seoAutoApply.updateManyAndReturn({
968
+ * select: { id: true },
969
+ * where: {
970
+ * // ... provide filter here
971
+ * },
972
+ * data: [
973
+ * // ... provide data here
974
+ * ]
975
+ * })
976
+ * Note, that providing `undefined` is treated as the value not being there.
977
+ * Read more here: https://pris.ly/d/null-undefined
978
+ *
979
+ */
980
+ updateManyAndReturn<T extends SeoAutoApplyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
981
+ /**
982
+ * Create or update one SeoAutoApply.
983
+ * @param {SeoAutoApplyUpsertArgs} args - Arguments to update or create a SeoAutoApply.
984
+ * @example
985
+ * // Update or create a SeoAutoApply
986
+ * const seoAutoApply = await prisma.seoAutoApply.upsert({
987
+ * create: {
988
+ * // ... data to create a SeoAutoApply
989
+ * },
990
+ * update: {
991
+ * // ... in case it already exists, update
992
+ * },
993
+ * where: {
994
+ * // ... the filter for the SeoAutoApply we want to update
995
+ * }
996
+ * })
997
+ */
998
+ upsert<T extends SeoAutoApplyUpsertArgs>(args: Prisma.SelectSubset<T, SeoAutoApplyUpsertArgs<ExtArgs>>): Prisma.Prisma__SeoAutoApplyClient<runtime.Types.Result.GetResult<Prisma.$SeoAutoApplyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
999
+ /**
1000
+ * Count the number of SeoAutoApplies.
1001
+ * Note, that providing `undefined` is treated as the value not being there.
1002
+ * Read more here: https://pris.ly/d/null-undefined
1003
+ * @param {SeoAutoApplyCountArgs} args - Arguments to filter SeoAutoApplies to count.
1004
+ * @example
1005
+ * // Count the number of SeoAutoApplies
1006
+ * const count = await prisma.seoAutoApply.count({
1007
+ * where: {
1008
+ * // ... the filter for the SeoAutoApplies we want to count
1009
+ * }
1010
+ * })
1011
+ **/
1012
+ count<T extends SeoAutoApplyCountArgs>(args?: Prisma.Subset<T, SeoAutoApplyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SeoAutoApplyCountAggregateOutputType> : number>;
1013
+ /**
1014
+ * Allows you to perform aggregations operations on a SeoAutoApply.
1015
+ * Note, that providing `undefined` is treated as the value not being there.
1016
+ * Read more here: https://pris.ly/d/null-undefined
1017
+ * @param {SeoAutoApplyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1018
+ * @example
1019
+ * // Ordered by age ascending
1020
+ * // Where email contains prisma.io
1021
+ * // Limited to the 10 users
1022
+ * const aggregations = await prisma.user.aggregate({
1023
+ * _avg: {
1024
+ * age: true,
1025
+ * },
1026
+ * where: {
1027
+ * email: {
1028
+ * contains: "prisma.io",
1029
+ * },
1030
+ * },
1031
+ * orderBy: {
1032
+ * age: "asc",
1033
+ * },
1034
+ * take: 10,
1035
+ * })
1036
+ **/
1037
+ aggregate<T extends SeoAutoApplyAggregateArgs>(args: Prisma.Subset<T, SeoAutoApplyAggregateArgs>): Prisma.PrismaPromise<GetSeoAutoApplyAggregateType<T>>;
1038
+ /**
1039
+ * Group by SeoAutoApply.
1040
+ * Note, that providing `undefined` is treated as the value not being there.
1041
+ * Read more here: https://pris.ly/d/null-undefined
1042
+ * @param {SeoAutoApplyGroupByArgs} args - Group by arguments.
1043
+ * @example
1044
+ * // Group by city, order by createdAt, get count
1045
+ * const result = await prisma.user.groupBy({
1046
+ * by: ['city', 'createdAt'],
1047
+ * orderBy: {
1048
+ * createdAt: true
1049
+ * },
1050
+ * _count: {
1051
+ * _all: true
1052
+ * },
1053
+ * })
1054
+ *
1055
+ **/
1056
+ groupBy<T extends SeoAutoApplyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1057
+ orderBy: SeoAutoApplyGroupByArgs['orderBy'];
1058
+ } : {
1059
+ orderBy?: SeoAutoApplyGroupByArgs['orderBy'];
1060
+ }, 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 ? {
1061
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1062
+ Error,
1063
+ 'Field ',
1064
+ P,
1065
+ ` in "having" needs to be provided in "by"`
1066
+ ];
1067
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1068
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1069
+ }[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 ? {} : {
1070
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1071
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1072
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1073
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, SeoAutoApplyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSeoAutoApplyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1074
+ /**
1075
+ * Fields of the SeoAutoApply model
1076
+ */
1077
+ readonly fields: SeoAutoApplyFieldRefs;
1078
+ }
1079
+ /**
1080
+ * The delegate class that acts as a "Promise-like" for SeoAutoApply.
1081
+ * Why is this prefixed with `Prisma__`?
1082
+ * Because we want to prevent naming conflicts as mentioned in
1083
+ * https://github.com/prisma/prisma-client-js/issues/707
1084
+ */
1085
+ export interface Prisma__SeoAutoApplyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1086
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1087
+ /**
1088
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1089
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1090
+ * @param onrejected The callback to execute when the Promise is rejected.
1091
+ * @returns A Promise for the completion of which ever callback is executed.
1092
+ */
1093
+ 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>;
1094
+ /**
1095
+ * Attaches a callback for only the rejection of the Promise.
1096
+ * @param onrejected The callback to execute when the Promise is rejected.
1097
+ * @returns A Promise for the completion of the callback.
1098
+ */
1099
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1100
+ /**
1101
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1102
+ * resolved value cannot be modified from the callback.
1103
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1104
+ * @returns A Promise for the completion of the callback.
1105
+ */
1106
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1107
+ }
1108
+ /**
1109
+ * Fields of the SeoAutoApply model
1110
+ */
1111
+ export interface SeoAutoApplyFieldRefs {
1112
+ readonly id: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1113
+ readonly kind: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1114
+ readonly issueId: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1115
+ readonly issueType: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1116
+ readonly entityId: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1117
+ readonly collection: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1118
+ readonly path: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1119
+ readonly redirectId: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1120
+ readonly before: Prisma.FieldRef<"SeoAutoApply", 'Json'>;
1121
+ readonly after: Prisma.FieldRef<"SeoAutoApply", 'Json'>;
1122
+ readonly gate: Prisma.FieldRef<"SeoAutoApply", 'Json'>;
1123
+ readonly status: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1124
+ readonly outcome: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1125
+ readonly outcomeMetrics: Prisma.FieldRef<"SeoAutoApply", 'Json'>;
1126
+ readonly outcomeCheckedAt: Prisma.FieldRef<"SeoAutoApply", 'DateTime'>;
1127
+ readonly versionId: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1128
+ readonly appliedById: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1129
+ readonly appliedAt: Prisma.FieldRef<"SeoAutoApply", 'DateTime'>;
1130
+ readonly revertedAt: Prisma.FieldRef<"SeoAutoApply", 'DateTime'>;
1131
+ readonly revertedById: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1132
+ readonly revertReason: Prisma.FieldRef<"SeoAutoApply", 'String'>;
1133
+ readonly createdAt: Prisma.FieldRef<"SeoAutoApply", 'DateTime'>;
1134
+ readonly updatedAt: Prisma.FieldRef<"SeoAutoApply", 'DateTime'>;
1135
+ }
1136
+ /**
1137
+ * SeoAutoApply findUnique
1138
+ */
1139
+ export type SeoAutoApplyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1140
+ /**
1141
+ * Select specific fields to fetch from the SeoAutoApply
1142
+ */
1143
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1144
+ /**
1145
+ * Omit specific fields from the SeoAutoApply
1146
+ */
1147
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1148
+ /**
1149
+ * Filter, which SeoAutoApply to fetch.
1150
+ */
1151
+ where: Prisma.SeoAutoApplyWhereUniqueInput;
1152
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1153
+ };
1154
+ /**
1155
+ * SeoAutoApply findUniqueOrThrow
1156
+ */
1157
+ export type SeoAutoApplyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1158
+ /**
1159
+ * Select specific fields to fetch from the SeoAutoApply
1160
+ */
1161
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1162
+ /**
1163
+ * Omit specific fields from the SeoAutoApply
1164
+ */
1165
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1166
+ /**
1167
+ * Filter, which SeoAutoApply to fetch.
1168
+ */
1169
+ where: Prisma.SeoAutoApplyWhereUniqueInput;
1170
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1171
+ };
1172
+ /**
1173
+ * SeoAutoApply findFirst
1174
+ */
1175
+ export type SeoAutoApplyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1176
+ /**
1177
+ * Select specific fields to fetch from the SeoAutoApply
1178
+ */
1179
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1180
+ /**
1181
+ * Omit specific fields from the SeoAutoApply
1182
+ */
1183
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1184
+ /**
1185
+ * Filter, which SeoAutoApply to fetch.
1186
+ */
1187
+ where?: Prisma.SeoAutoApplyWhereInput;
1188
+ /**
1189
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1190
+ *
1191
+ * Determine the order of SeoAutoApplies to fetch.
1192
+ */
1193
+ orderBy?: Prisma.SeoAutoApplyOrderByWithRelationInput | Prisma.SeoAutoApplyOrderByWithRelationInput[];
1194
+ /**
1195
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1196
+ *
1197
+ * Sets the position for searching for SeoAutoApplies.
1198
+ */
1199
+ cursor?: Prisma.SeoAutoApplyWhereUniqueInput;
1200
+ /**
1201
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1202
+ *
1203
+ * Take `±n` SeoAutoApplies from the position of the cursor.
1204
+ */
1205
+ take?: number;
1206
+ /**
1207
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1208
+ *
1209
+ * Skip the first `n` SeoAutoApplies.
1210
+ */
1211
+ skip?: number;
1212
+ /**
1213
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1214
+ *
1215
+ * Filter by unique combinations of SeoAutoApplies.
1216
+ */
1217
+ distinct?: Prisma.SeoAutoApplyScalarFieldEnum | Prisma.SeoAutoApplyScalarFieldEnum[];
1218
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1219
+ };
1220
+ /**
1221
+ * SeoAutoApply findFirstOrThrow
1222
+ */
1223
+ export type SeoAutoApplyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1224
+ /**
1225
+ * Select specific fields to fetch from the SeoAutoApply
1226
+ */
1227
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1228
+ /**
1229
+ * Omit specific fields from the SeoAutoApply
1230
+ */
1231
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1232
+ /**
1233
+ * Filter, which SeoAutoApply to fetch.
1234
+ */
1235
+ where?: Prisma.SeoAutoApplyWhereInput;
1236
+ /**
1237
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1238
+ *
1239
+ * Determine the order of SeoAutoApplies to fetch.
1240
+ */
1241
+ orderBy?: Prisma.SeoAutoApplyOrderByWithRelationInput | Prisma.SeoAutoApplyOrderByWithRelationInput[];
1242
+ /**
1243
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1244
+ *
1245
+ * Sets the position for searching for SeoAutoApplies.
1246
+ */
1247
+ cursor?: Prisma.SeoAutoApplyWhereUniqueInput;
1248
+ /**
1249
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1250
+ *
1251
+ * Take `±n` SeoAutoApplies from the position of the cursor.
1252
+ */
1253
+ take?: number;
1254
+ /**
1255
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1256
+ *
1257
+ * Skip the first `n` SeoAutoApplies.
1258
+ */
1259
+ skip?: number;
1260
+ /**
1261
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1262
+ *
1263
+ * Filter by unique combinations of SeoAutoApplies.
1264
+ */
1265
+ distinct?: Prisma.SeoAutoApplyScalarFieldEnum | Prisma.SeoAutoApplyScalarFieldEnum[];
1266
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1267
+ };
1268
+ /**
1269
+ * SeoAutoApply findMany
1270
+ */
1271
+ export type SeoAutoApplyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1272
+ /**
1273
+ * Select specific fields to fetch from the SeoAutoApply
1274
+ */
1275
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1276
+ /**
1277
+ * Omit specific fields from the SeoAutoApply
1278
+ */
1279
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1280
+ /**
1281
+ * Filter, which SeoAutoApplies to fetch.
1282
+ */
1283
+ where?: Prisma.SeoAutoApplyWhereInput;
1284
+ /**
1285
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1286
+ *
1287
+ * Determine the order of SeoAutoApplies to fetch.
1288
+ */
1289
+ orderBy?: Prisma.SeoAutoApplyOrderByWithRelationInput | Prisma.SeoAutoApplyOrderByWithRelationInput[];
1290
+ /**
1291
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1292
+ *
1293
+ * Sets the position for listing SeoAutoApplies.
1294
+ */
1295
+ cursor?: Prisma.SeoAutoApplyWhereUniqueInput;
1296
+ /**
1297
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1298
+ *
1299
+ * Take `±n` SeoAutoApplies from the position of the cursor.
1300
+ */
1301
+ take?: number;
1302
+ /**
1303
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1304
+ *
1305
+ * Skip the first `n` SeoAutoApplies.
1306
+ */
1307
+ skip?: number;
1308
+ /**
1309
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1310
+ *
1311
+ * Filter by unique combinations of SeoAutoApplies.
1312
+ */
1313
+ distinct?: Prisma.SeoAutoApplyScalarFieldEnum | Prisma.SeoAutoApplyScalarFieldEnum[];
1314
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1315
+ };
1316
+ /**
1317
+ * SeoAutoApply create
1318
+ */
1319
+ export type SeoAutoApplyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1320
+ /**
1321
+ * Select specific fields to fetch from the SeoAutoApply
1322
+ */
1323
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1324
+ /**
1325
+ * Omit specific fields from the SeoAutoApply
1326
+ */
1327
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1328
+ /**
1329
+ * The data needed to create a SeoAutoApply.
1330
+ */
1331
+ data: Prisma.XOR<Prisma.SeoAutoApplyCreateInput, Prisma.SeoAutoApplyUncheckedCreateInput>;
1332
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1333
+ };
1334
+ /**
1335
+ * SeoAutoApply createMany
1336
+ */
1337
+ export type SeoAutoApplyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1338
+ /**
1339
+ * The data used to create many SeoAutoApplies.
1340
+ */
1341
+ data: Prisma.SeoAutoApplyCreateManyInput | Prisma.SeoAutoApplyCreateManyInput[];
1342
+ skipDuplicates?: boolean;
1343
+ };
1344
+ /**
1345
+ * SeoAutoApply createManyAndReturn
1346
+ */
1347
+ export type SeoAutoApplyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1348
+ /**
1349
+ * Select specific fields to fetch from the SeoAutoApply
1350
+ */
1351
+ select?: Prisma.SeoAutoApplySelectCreateManyAndReturn<ExtArgs> | null;
1352
+ /**
1353
+ * Omit specific fields from the SeoAutoApply
1354
+ */
1355
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1356
+ /**
1357
+ * The data used to create many SeoAutoApplies.
1358
+ */
1359
+ data: Prisma.SeoAutoApplyCreateManyInput | Prisma.SeoAutoApplyCreateManyInput[];
1360
+ skipDuplicates?: boolean;
1361
+ };
1362
+ /**
1363
+ * SeoAutoApply update
1364
+ */
1365
+ export type SeoAutoApplyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1366
+ /**
1367
+ * Select specific fields to fetch from the SeoAutoApply
1368
+ */
1369
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1370
+ /**
1371
+ * Omit specific fields from the SeoAutoApply
1372
+ */
1373
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1374
+ /**
1375
+ * The data needed to update a SeoAutoApply.
1376
+ */
1377
+ data: Prisma.XOR<Prisma.SeoAutoApplyUpdateInput, Prisma.SeoAutoApplyUncheckedUpdateInput>;
1378
+ /**
1379
+ * Choose, which SeoAutoApply to update.
1380
+ */
1381
+ where: Prisma.SeoAutoApplyWhereUniqueInput;
1382
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1383
+ };
1384
+ /**
1385
+ * SeoAutoApply updateMany
1386
+ */
1387
+ export type SeoAutoApplyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1388
+ /**
1389
+ * The data used to update SeoAutoApplies.
1390
+ */
1391
+ data: Prisma.XOR<Prisma.SeoAutoApplyUpdateManyMutationInput, Prisma.SeoAutoApplyUncheckedUpdateManyInput>;
1392
+ /**
1393
+ * Filter which SeoAutoApplies to update
1394
+ */
1395
+ where?: Prisma.SeoAutoApplyWhereInput;
1396
+ /**
1397
+ * Limit how many SeoAutoApplies to update.
1398
+ */
1399
+ limit?: number;
1400
+ };
1401
+ /**
1402
+ * SeoAutoApply updateManyAndReturn
1403
+ */
1404
+ export type SeoAutoApplyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1405
+ /**
1406
+ * Select specific fields to fetch from the SeoAutoApply
1407
+ */
1408
+ select?: Prisma.SeoAutoApplySelectUpdateManyAndReturn<ExtArgs> | null;
1409
+ /**
1410
+ * Omit specific fields from the SeoAutoApply
1411
+ */
1412
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1413
+ /**
1414
+ * The data used to update SeoAutoApplies.
1415
+ */
1416
+ data: Prisma.XOR<Prisma.SeoAutoApplyUpdateManyMutationInput, Prisma.SeoAutoApplyUncheckedUpdateManyInput>;
1417
+ /**
1418
+ * Filter which SeoAutoApplies to update
1419
+ */
1420
+ where?: Prisma.SeoAutoApplyWhereInput;
1421
+ /**
1422
+ * Limit how many SeoAutoApplies to update.
1423
+ */
1424
+ limit?: number;
1425
+ };
1426
+ /**
1427
+ * SeoAutoApply upsert
1428
+ */
1429
+ export type SeoAutoApplyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1430
+ /**
1431
+ * Select specific fields to fetch from the SeoAutoApply
1432
+ */
1433
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1434
+ /**
1435
+ * Omit specific fields from the SeoAutoApply
1436
+ */
1437
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1438
+ /**
1439
+ * The filter to search for the SeoAutoApply to update in case it exists.
1440
+ */
1441
+ where: Prisma.SeoAutoApplyWhereUniqueInput;
1442
+ /**
1443
+ * In case the SeoAutoApply found by the `where` argument doesn't exist, create a new SeoAutoApply with this data.
1444
+ */
1445
+ create: Prisma.XOR<Prisma.SeoAutoApplyCreateInput, Prisma.SeoAutoApplyUncheckedCreateInput>;
1446
+ /**
1447
+ * In case the SeoAutoApply was found with the provided `where` argument, update it with this data.
1448
+ */
1449
+ update: Prisma.XOR<Prisma.SeoAutoApplyUpdateInput, Prisma.SeoAutoApplyUncheckedUpdateInput>;
1450
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1451
+ };
1452
+ /**
1453
+ * SeoAutoApply delete
1454
+ */
1455
+ export type SeoAutoApplyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1456
+ /**
1457
+ * Select specific fields to fetch from the SeoAutoApply
1458
+ */
1459
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1460
+ /**
1461
+ * Omit specific fields from the SeoAutoApply
1462
+ */
1463
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1464
+ /**
1465
+ * Filter which SeoAutoApply to delete.
1466
+ */
1467
+ where: Prisma.SeoAutoApplyWhereUniqueInput;
1468
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1469
+ };
1470
+ /**
1471
+ * SeoAutoApply deleteMany
1472
+ */
1473
+ export type SeoAutoApplyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1474
+ /**
1475
+ * Filter which SeoAutoApplies to delete
1476
+ */
1477
+ where?: Prisma.SeoAutoApplyWhereInput;
1478
+ /**
1479
+ * Limit how many SeoAutoApplies to delete.
1480
+ */
1481
+ limit?: number;
1482
+ };
1483
+ /**
1484
+ * SeoAutoApply without action
1485
+ */
1486
+ export type SeoAutoApplyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1487
+ /**
1488
+ * Select specific fields to fetch from the SeoAutoApply
1489
+ */
1490
+ select?: Prisma.SeoAutoApplySelect<ExtArgs> | null;
1491
+ /**
1492
+ * Omit specific fields from the SeoAutoApply
1493
+ */
1494
+ omit?: Prisma.SeoAutoApplyOmit<ExtArgs> | null;
1495
+ };