@actuate-media/cms-core 0.90.0 → 0.91.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 (88) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/dist/actions.d.ts +31 -1
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/actions.js +76 -21
  5. package/dist/actions.js.map +1 -1
  6. package/dist/api/route-helpers.d.ts +4 -1
  7. package/dist/api/route-helpers.d.ts.map +1 -1
  8. package/dist/api/route-helpers.js +2 -2
  9. package/dist/api/route-helpers.js.map +1 -1
  10. package/dist/api/routes/documents.d.ts.map +1 -1
  11. package/dist/api/routes/documents.js +4 -1
  12. package/dist/api/routes/documents.js.map +1 -1
  13. package/dist/api/routes/media.d.ts.map +1 -1
  14. package/dist/api/routes/media.js +10 -0
  15. package/dist/api/routes/media.js.map +1 -1
  16. package/dist/api/routes/url-resolution.d.ts.map +1 -1
  17. package/dist/api/routes/url-resolution.js +4 -1
  18. package/dist/api/routes/url-resolution.js.map +1 -1
  19. package/dist/config/index.d.ts +16 -0
  20. package/dist/config/index.d.ts.map +1 -1
  21. package/dist/config/index.js +59 -2
  22. package/dist/config/index.js.map +1 -1
  23. package/dist/config/runtime.d.ts +8 -0
  24. package/dist/config/runtime.d.ts.map +1 -1
  25. package/dist/config/runtime.js.map +1 -1
  26. package/dist/config/types.d.ts +35 -4
  27. package/dist/config/types.d.ts.map +1 -1
  28. package/dist/index.d.ts +3 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +1 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/media/usage-sync.d.ts +37 -0
  33. package/dist/media/usage-sync.d.ts.map +1 -0
  34. package/dist/media/usage-sync.js +234 -0
  35. package/dist/media/usage-sync.js.map +1 -0
  36. package/dist/realtime/comments.d.ts +1 -1
  37. package/dist/realtime/comments.js +1 -1
  38. package/dist/realtime/notifications.d.ts +1 -1
  39. package/dist/realtime/notifications.js +1 -1
  40. package/dist/realtime/persistence.d.ts +1 -1
  41. package/dist/search/index.d.ts.map +1 -1
  42. package/dist/search/index.js +58 -35
  43. package/dist/search/index.js.map +1 -1
  44. package/generated/browser.ts +229 -0
  45. package/generated/client.ts +253 -0
  46. package/generated/commonInputTypes.ts +1024 -0
  47. package/generated/enums.ts +211 -0
  48. package/generated/internal/class.ts +547 -0
  49. package/generated/internal/prismaNamespace.ts +4596 -0
  50. package/generated/internal/prismaNamespaceBrowser.ts +1188 -0
  51. package/generated/models/AiCrawlerHit.ts +1275 -0
  52. package/generated/models/ApiKey.ts +1559 -0
  53. package/generated/models/ApiRequestMetric.ts +1390 -0
  54. package/generated/models/AuditLog.ts +1215 -0
  55. package/generated/models/BackupRecord.ts +1259 -0
  56. package/generated/models/ContentIssue.ts +1496 -0
  57. package/generated/models/ContentLock.ts +1481 -0
  58. package/generated/models/ContentTemplate.ts +1425 -0
  59. package/generated/models/Document.ts +3486 -0
  60. package/generated/models/Folder.ts +1905 -0
  61. package/generated/models/FormSchemaVersion.ts +1265 -0
  62. package/generated/models/FormSubmission.ts +2105 -0
  63. package/generated/models/FormSubmissionFile.ts +1615 -0
  64. package/generated/models/FormWebhook.ts +1371 -0
  65. package/generated/models/InAppNotification.ts +1466 -0
  66. package/generated/models/Invite.ts +1393 -0
  67. package/generated/models/Media.ts +2887 -0
  68. package/generated/models/MediaUsage.ts +1488 -0
  69. package/generated/models/OAuthAccount.ts +1472 -0
  70. package/generated/models/PageTemplate.ts +1271 -0
  71. package/generated/models/PasswordResetToken.ts +1396 -0
  72. package/generated/models/Redirect.ts +1501 -0
  73. package/generated/models/Redirect404Hit.ts +1266 -0
  74. package/generated/models/RedirectSuggestion.ts +1344 -0
  75. package/generated/models/SavedSection.ts +1315 -0
  76. package/generated/models/ScriptTag.ts +1453 -0
  77. package/generated/models/SeoAuditRun.ts +1745 -0
  78. package/generated/models/SeoIssue.ts +2047 -0
  79. package/generated/models/Session.ts +1501 -0
  80. package/generated/models/Site.ts +1215 -0
  81. package/generated/models/User.ts +4558 -0
  82. package/generated/models/Version.ts +1520 -0
  83. package/generated/models/WebhookDeliveryLog.ts +1656 -0
  84. package/generated/models/WebhookEndpoint.ts +1433 -0
  85. package/generated/models/WorkflowState.ts +1523 -0
  86. package/generated/models.ts +46 -0
  87. package/package.json +10 -3
  88. package/{prisma → schema-fragments}/cms-schema.prisma +15 -2
@@ -0,0 +1,1188 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * WARNING: This is an internal file that is subject to change!
8
+ *
9
+ * 🛑 Under no circumstances should you import this file directly! 🛑
10
+ *
11
+ * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
12
+ * While this enables partial backward compatibility, it is not part of the stable public API.
13
+ *
14
+ * If you are looking for your Models, Enums, and Input Types, please import them from the respective
15
+ * model files in the `model` directory!
16
+ */
17
+
18
+ import * as runtime from "@prisma/client/runtime/index-browser"
19
+
20
+ export type * from '../models.js'
21
+ export type * from './prismaNamespace.js'
22
+
23
+ export const Decimal = runtime.Decimal
24
+
25
+
26
+ export const NullTypes = {
27
+ DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
28
+ JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
29
+ AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
30
+ }
31
+ /**
32
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
33
+ *
34
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
35
+ */
36
+ export const DbNull = runtime.DbNull
37
+
38
+ /**
39
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
40
+ *
41
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
42
+ */
43
+ export const JsonNull = runtime.JsonNull
44
+
45
+ /**
46
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
47
+ *
48
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
49
+ */
50
+ export const AnyNull = runtime.AnyNull
51
+
52
+
53
+ export const ModelName = {
54
+ User: 'User',
55
+ OAuthAccount: 'OAuthAccount',
56
+ Session: 'Session',
57
+ ApiKey: 'ApiKey',
58
+ AuditLog: 'AuditLog',
59
+ Folder: 'Folder',
60
+ Document: 'Document',
61
+ Version: 'Version',
62
+ Media: 'Media',
63
+ MediaUsage: 'MediaUsage',
64
+ ContentLock: 'ContentLock',
65
+ InAppNotification: 'InAppNotification',
66
+ ContentTemplate: 'ContentTemplate',
67
+ Site: 'Site',
68
+ WorkflowState: 'WorkflowState',
69
+ Redirect: 'Redirect',
70
+ SeoAuditRun: 'SeoAuditRun',
71
+ SeoIssue: 'SeoIssue',
72
+ Redirect404Hit: 'Redirect404Hit',
73
+ AiCrawlerHit: 'AiCrawlerHit',
74
+ RedirectSuggestion: 'RedirectSuggestion',
75
+ FormSchemaVersion: 'FormSchemaVersion',
76
+ FormSubmission: 'FormSubmission',
77
+ FormSubmissionFile: 'FormSubmissionFile',
78
+ FormWebhook: 'FormWebhook',
79
+ BackupRecord: 'BackupRecord',
80
+ WebhookEndpoint: 'WebhookEndpoint',
81
+ WebhookDeliveryLog: 'WebhookDeliveryLog',
82
+ PasswordResetToken: 'PasswordResetToken',
83
+ Invite: 'Invite',
84
+ ScriptTag: 'ScriptTag',
85
+ PageTemplate: 'PageTemplate',
86
+ SavedSection: 'SavedSection',
87
+ ApiRequestMetric: 'ApiRequestMetric',
88
+ ContentIssue: 'ContentIssue'
89
+ } as const
90
+
91
+ export type ModelName = (typeof ModelName)[keyof typeof ModelName]
92
+
93
+ /*
94
+ * Enums
95
+ */
96
+
97
+ export const TransactionIsolationLevel = runtime.makeStrictEnum({
98
+ ReadUncommitted: 'ReadUncommitted',
99
+ ReadCommitted: 'ReadCommitted',
100
+ RepeatableRead: 'RepeatableRead',
101
+ Serializable: 'Serializable'
102
+ } as const)
103
+
104
+ export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
105
+
106
+
107
+ export const UserScalarFieldEnum = {
108
+ id: 'id',
109
+ email: 'email',
110
+ name: 'name',
111
+ avatarUrl: 'avatarUrl',
112
+ role: 'role',
113
+ passwordHash: 'passwordHash',
114
+ totpSecret: 'totpSecret',
115
+ totpEnabled: 'totpEnabled',
116
+ backupCodes: 'backupCodes',
117
+ authProvider: 'authProvider',
118
+ isActive: 'isActive',
119
+ isApproved: 'isApproved',
120
+ emailVerified: 'emailVerified',
121
+ lastLoginAt: 'lastLoginAt',
122
+ createdAt: 'createdAt',
123
+ updatedAt: 'updatedAt',
124
+ suspendedAt: 'suspendedAt',
125
+ lockedAt: 'lockedAt',
126
+ forcePasswordReset: 'forcePasswordReset',
127
+ mfaRequired: 'mfaRequired',
128
+ failedLoginCount: 'failedLoginCount',
129
+ lastActiveAt: 'lastActiveAt',
130
+ invitedById: 'invitedById',
131
+ acceptedInviteAt: 'acceptedInviteAt'
132
+ } as const
133
+
134
+ export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
135
+
136
+
137
+ export const RelationLoadStrategy = {
138
+ query: 'query',
139
+ join: 'join'
140
+ } as const
141
+
142
+ export type RelationLoadStrategy = (typeof RelationLoadStrategy)[keyof typeof RelationLoadStrategy]
143
+
144
+
145
+ export const OAuthAccountScalarFieldEnum = {
146
+ id: 'id',
147
+ userId: 'userId',
148
+ provider: 'provider',
149
+ providerAccountId: 'providerAccountId',
150
+ accessToken: 'accessToken',
151
+ refreshToken: 'refreshToken',
152
+ expiresAt: 'expiresAt',
153
+ createdAt: 'createdAt'
154
+ } as const
155
+
156
+ export type OAuthAccountScalarFieldEnum = (typeof OAuthAccountScalarFieldEnum)[keyof typeof OAuthAccountScalarFieldEnum]
157
+
158
+
159
+ export const SessionScalarFieldEnum = {
160
+ id: 'id',
161
+ userId: 'userId',
162
+ token: 'token',
163
+ expiresAt: 'expiresAt',
164
+ revokedAt: 'revokedAt',
165
+ ipAddress: 'ipAddress',
166
+ userAgent: 'userAgent',
167
+ fingerprintHash: 'fingerprintHash',
168
+ createdAt: 'createdAt'
169
+ } as const
170
+
171
+ export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
172
+
173
+
174
+ export const ApiKeyScalarFieldEnum = {
175
+ id: 'id',
176
+ name: 'name',
177
+ keyHash: 'keyHash',
178
+ keyPrefix: 'keyPrefix',
179
+ userId: 'userId',
180
+ scopes: 'scopes',
181
+ ipRestrictions: 'ipRestrictions',
182
+ expiresAt: 'expiresAt',
183
+ lastUsedAt: 'lastUsedAt',
184
+ revokedAt: 'revokedAt',
185
+ createdAt: 'createdAt'
186
+ } as const
187
+
188
+ export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum]
189
+
190
+
191
+ export const AuditLogScalarFieldEnum = {
192
+ id: 'id',
193
+ event: 'event',
194
+ userId: 'userId',
195
+ ipAddress: 'ipAddress',
196
+ userAgent: 'userAgent',
197
+ details: 'details',
198
+ timestamp: 'timestamp'
199
+ } as const
200
+
201
+ export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]
202
+
203
+
204
+ export const FolderScalarFieldEnum = {
205
+ id: 'id',
206
+ name: 'name',
207
+ scope: 'scope',
208
+ parentId: 'parentId',
209
+ position: 'position',
210
+ createdAt: 'createdAt',
211
+ updatedAt: 'updatedAt'
212
+ } as const
213
+
214
+ export type FolderScalarFieldEnum = (typeof FolderScalarFieldEnum)[keyof typeof FolderScalarFieldEnum]
215
+
216
+
217
+ export const DocumentScalarFieldEnum = {
218
+ id: 'id',
219
+ collection: 'collection',
220
+ title: 'title',
221
+ slug: 'slug',
222
+ data: 'data',
223
+ status: 'status',
224
+ locale: 'locale',
225
+ localeGroupId: 'localeGroupId',
226
+ createdById: 'createdById',
227
+ updatedById: 'updatedById',
228
+ publishedAt: 'publishedAt',
229
+ scheduledAt: 'scheduledAt',
230
+ scheduledUnpublishAt: 'scheduledUnpublishAt',
231
+ deletedAt: 'deletedAt',
232
+ plainText: 'plainText',
233
+ contentHash: 'contentHash',
234
+ structuredData: 'structuredData',
235
+ contentGraph: 'contentGraph',
236
+ siteId: 'siteId',
237
+ templateId: 'templateId',
238
+ workflowStage: 'workflowStage',
239
+ reviewerId: 'reviewerId',
240
+ reviewNote: 'reviewNote',
241
+ folderId: 'folderId',
242
+ createdAt: 'createdAt',
243
+ updatedAt: 'updatedAt'
244
+ } as const
245
+
246
+ export type DocumentScalarFieldEnum = (typeof DocumentScalarFieldEnum)[keyof typeof DocumentScalarFieldEnum]
247
+
248
+
249
+ export const VersionScalarFieldEnum = {
250
+ id: 'id',
251
+ documentId: 'documentId',
252
+ data: 'data',
253
+ changedById: 'changedById',
254
+ changeType: 'changeType',
255
+ createdAt: 'createdAt'
256
+ } as const
257
+
258
+ export type VersionScalarFieldEnum = (typeof VersionScalarFieldEnum)[keyof typeof VersionScalarFieldEnum]
259
+
260
+
261
+ export const MediaScalarFieldEnum = {
262
+ id: 'id',
263
+ filename: 'filename',
264
+ storageKey: 'storageKey',
265
+ mimeType: 'mimeType',
266
+ fileSize: 'fileSize',
267
+ width: 'width',
268
+ height: 'height',
269
+ altText: 'altText',
270
+ title: 'title',
271
+ uploadedById: 'uploadedById',
272
+ focalPointX: 'focalPointX',
273
+ focalPointY: 'focalPointY',
274
+ blurHash: 'blurHash',
275
+ aiAltText: 'aiAltText',
276
+ aiTags: 'aiTags',
277
+ aiDescription: 'aiDescription',
278
+ folderId: 'folderId',
279
+ createdAt: 'createdAt',
280
+ updatedAt: 'updatedAt',
281
+ originalFileName: 'originalFileName',
282
+ caption: 'caption',
283
+ description: 'description',
284
+ focusKeyword: 'focusKeyword',
285
+ tags: 'tags',
286
+ publicUrl: 'publicUrl',
287
+ storageProvider: 'storageProvider',
288
+ durationSeconds: 'durationSeconds',
289
+ thumbnailUrl: 'thumbnailUrl',
290
+ responsiveVariants: 'responsiveVariants',
291
+ status: 'status',
292
+ deletedAt: 'deletedAt'
293
+ } as const
294
+
295
+ export type MediaScalarFieldEnum = (typeof MediaScalarFieldEnum)[keyof typeof MediaScalarFieldEnum]
296
+
297
+
298
+ export const MediaUsageScalarFieldEnum = {
299
+ id: 'id',
300
+ mediaId: 'mediaId',
301
+ documentId: 'documentId',
302
+ fieldPath: 'fieldPath',
303
+ createdAt: 'createdAt'
304
+ } as const
305
+
306
+ export type MediaUsageScalarFieldEnum = (typeof MediaUsageScalarFieldEnum)[keyof typeof MediaUsageScalarFieldEnum]
307
+
308
+
309
+ export const ContentLockScalarFieldEnum = {
310
+ id: 'id',
311
+ documentId: 'documentId',
312
+ userId: 'userId',
313
+ lockedAt: 'lockedAt',
314
+ expiresAt: 'expiresAt'
315
+ } as const
316
+
317
+ export type ContentLockScalarFieldEnum = (typeof ContentLockScalarFieldEnum)[keyof typeof ContentLockScalarFieldEnum]
318
+
319
+
320
+ export const InAppNotificationScalarFieldEnum = {
321
+ id: 'id',
322
+ userId: 'userId',
323
+ type: 'type',
324
+ title: 'title',
325
+ message: 'message',
326
+ link: 'link',
327
+ read: 'read',
328
+ createdAt: 'createdAt'
329
+ } as const
330
+
331
+ export type InAppNotificationScalarFieldEnum = (typeof InAppNotificationScalarFieldEnum)[keyof typeof InAppNotificationScalarFieldEnum]
332
+
333
+
334
+ export const ContentTemplateScalarFieldEnum = {
335
+ id: 'id',
336
+ name: 'name',
337
+ collection: 'collection',
338
+ templateData: 'templateData',
339
+ createdById: 'createdById',
340
+ createdAt: 'createdAt',
341
+ updatedAt: 'updatedAt'
342
+ } as const
343
+
344
+ export type ContentTemplateScalarFieldEnum = (typeof ContentTemplateScalarFieldEnum)[keyof typeof ContentTemplateScalarFieldEnum]
345
+
346
+
347
+ export const SiteScalarFieldEnum = {
348
+ id: 'id',
349
+ domain: 'domain',
350
+ name: 'name',
351
+ configOverrides: 'configOverrides',
352
+ isDefault: 'isDefault',
353
+ createdAt: 'createdAt',
354
+ updatedAt: 'updatedAt'
355
+ } as const
356
+
357
+ export type SiteScalarFieldEnum = (typeof SiteScalarFieldEnum)[keyof typeof SiteScalarFieldEnum]
358
+
359
+
360
+ export const WorkflowStateScalarFieldEnum = {
361
+ id: 'id',
362
+ documentId: 'documentId',
363
+ currentStep: 'currentStep',
364
+ assignedToId: 'assignedToId',
365
+ status: 'status',
366
+ definition: 'definition',
367
+ createdAt: 'createdAt',
368
+ updatedAt: 'updatedAt'
369
+ } as const
370
+
371
+ export type WorkflowStateScalarFieldEnum = (typeof WorkflowStateScalarFieldEnum)[keyof typeof WorkflowStateScalarFieldEnum]
372
+
373
+
374
+ export const RedirectScalarFieldEnum = {
375
+ id: 'id',
376
+ source: 'source',
377
+ destination: 'destination',
378
+ statusCode: 'statusCode',
379
+ isRegex: 'isRegex',
380
+ notes: 'notes',
381
+ enabled: 'enabled',
382
+ priority: 'priority',
383
+ preserveQuery: 'preserveQuery',
384
+ source_kind: 'source_kind',
385
+ hits: 'hits',
386
+ lastHitAt: 'lastHitAt',
387
+ createdById: 'createdById',
388
+ createdAt: 'createdAt',
389
+ updatedAt: 'updatedAt'
390
+ } as const
391
+
392
+ export type RedirectScalarFieldEnum = (typeof RedirectScalarFieldEnum)[keyof typeof RedirectScalarFieldEnum]
393
+
394
+
395
+ export const SeoAuditRunScalarFieldEnum = {
396
+ id: 'id',
397
+ status: 'status',
398
+ scope: 'scope',
399
+ startedById: 'startedById',
400
+ startedAt: 'startedAt',
401
+ finishedAt: 'finishedAt',
402
+ siteScoreBefore: 'siteScoreBefore',
403
+ siteScoreAfter: 'siteScoreAfter',
404
+ pagesScanned: 'pagesScanned',
405
+ issuesFound: 'issuesFound',
406
+ criticalCount: 'criticalCount',
407
+ warningCount: 'warningCount',
408
+ infoCount: 'infoCount',
409
+ errorMessage: 'errorMessage',
410
+ metadata: 'metadata'
411
+ } as const
412
+
413
+ export type SeoAuditRunScalarFieldEnum = (typeof SeoAuditRunScalarFieldEnum)[keyof typeof SeoAuditRunScalarFieldEnum]
414
+
415
+
416
+ export const SeoIssueScalarFieldEnum = {
417
+ id: 'id',
418
+ auditRunId: 'auditRunId',
419
+ issueKey: 'issueKey',
420
+ entityType: 'entityType',
421
+ entityId: 'entityId',
422
+ entityTitle: 'entityTitle',
423
+ url: 'url',
424
+ severity: 'severity',
425
+ category: 'category',
426
+ type: 'type',
427
+ title: 'title',
428
+ description: 'description',
429
+ impact: 'impact',
430
+ recommendation: 'recommendation',
431
+ status: 'status',
432
+ fixable: 'fixable',
433
+ fixActionType: 'fixActionType',
434
+ relatedEntityIds: 'relatedEntityIds',
435
+ source: 'source',
436
+ firstDetectedAt: 'firstDetectedAt',
437
+ lastDetectedAt: 'lastDetectedAt',
438
+ resolvedAt: 'resolvedAt',
439
+ resolvedById: 'resolvedById',
440
+ metadata: 'metadata'
441
+ } as const
442
+
443
+ export type SeoIssueScalarFieldEnum = (typeof SeoIssueScalarFieldEnum)[keyof typeof SeoIssueScalarFieldEnum]
444
+
445
+
446
+ export const Redirect404HitScalarFieldEnum = {
447
+ id: 'id',
448
+ path: 'path',
449
+ hits: 'hits',
450
+ referrer: 'referrer',
451
+ resolvedAt: 'resolvedAt',
452
+ firstSeenAt: 'firstSeenAt',
453
+ lastSeenAt: 'lastSeenAt'
454
+ } as const
455
+
456
+ export type Redirect404HitScalarFieldEnum = (typeof Redirect404HitScalarFieldEnum)[keyof typeof Redirect404HitScalarFieldEnum]
457
+
458
+
459
+ export const AiCrawlerHitScalarFieldEnum = {
460
+ id: 'id',
461
+ bot: 'bot',
462
+ surface: 'surface',
463
+ category: 'category',
464
+ hits: 'hits',
465
+ firstSeenAt: 'firstSeenAt',
466
+ lastSeenAt: 'lastSeenAt'
467
+ } as const
468
+
469
+ export type AiCrawlerHitScalarFieldEnum = (typeof AiCrawlerHitScalarFieldEnum)[keyof typeof AiCrawlerHitScalarFieldEnum]
470
+
471
+
472
+ export const RedirectSuggestionScalarFieldEnum = {
473
+ id: 'id',
474
+ fromPath: 'fromPath',
475
+ toPath: 'toPath',
476
+ confidence: 'confidence',
477
+ reason: 'reason',
478
+ status: 'status',
479
+ source: 'source',
480
+ metadata: 'metadata',
481
+ createdAt: 'createdAt',
482
+ updatedAt: 'updatedAt'
483
+ } as const
484
+
485
+ export type RedirectSuggestionScalarFieldEnum = (typeof RedirectSuggestionScalarFieldEnum)[keyof typeof RedirectSuggestionScalarFieldEnum]
486
+
487
+
488
+ export const FormSchemaVersionScalarFieldEnum = {
489
+ id: 'id',
490
+ formId: 'formId',
491
+ version: 'version',
492
+ fields: 'fields',
493
+ notes: 'notes',
494
+ createdById: 'createdById',
495
+ createdAt: 'createdAt'
496
+ } as const
497
+
498
+ export type FormSchemaVersionScalarFieldEnum = (typeof FormSchemaVersionScalarFieldEnum)[keyof typeof FormSchemaVersionScalarFieldEnum]
499
+
500
+
501
+ export const FormSubmissionScalarFieldEnum = {
502
+ id: 'id',
503
+ entryNumber: 'entryNumber',
504
+ formId: 'formId',
505
+ schemaVersionId: 'schemaVersionId',
506
+ data: 'data',
507
+ normalizedData: 'normalizedData',
508
+ attribution: 'attribution',
509
+ senderName: 'senderName',
510
+ senderEmail: 'senderEmail',
511
+ senderPhone: 'senderPhone',
512
+ preview: 'preview',
513
+ status: 'status',
514
+ unread: 'unread',
515
+ starred: 'starred',
516
+ archived: 'archived',
517
+ spamStatus: 'spamStatus',
518
+ ipAddressHash: 'ipAddressHash',
519
+ userAgent: 'userAgent',
520
+ referrer: 'referrer',
521
+ pageUrl: 'pageUrl',
522
+ utmSource: 'utmSource',
523
+ utmMedium: 'utmMedium',
524
+ utmCampaign: 'utmCampaign',
525
+ submittedAt: 'submittedAt',
526
+ readAt: 'readAt',
527
+ archivedAt: 'archivedAt',
528
+ createdAt: 'createdAt',
529
+ updatedAt: 'updatedAt'
530
+ } as const
531
+
532
+ export type FormSubmissionScalarFieldEnum = (typeof FormSubmissionScalarFieldEnum)[keyof typeof FormSubmissionScalarFieldEnum]
533
+
534
+
535
+ export const FormSubmissionFileScalarFieldEnum = {
536
+ id: 'id',
537
+ submissionId: 'submissionId',
538
+ fieldKey: 'fieldKey',
539
+ mediaAssetId: 'mediaAssetId',
540
+ fileName: 'fileName',
541
+ mimeType: 'mimeType',
542
+ sizeBytes: 'sizeBytes',
543
+ storageKey: 'storageKey',
544
+ publicUrl: 'publicUrl',
545
+ secureDownloadUrl: 'secureDownloadUrl',
546
+ createdAt: 'createdAt'
547
+ } as const
548
+
549
+ export type FormSubmissionFileScalarFieldEnum = (typeof FormSubmissionFileScalarFieldEnum)[keyof typeof FormSubmissionFileScalarFieldEnum]
550
+
551
+
552
+ export const FormWebhookScalarFieldEnum = {
553
+ id: 'id',
554
+ formId: 'formId',
555
+ url: 'url',
556
+ secret: 'secret',
557
+ enabled: 'enabled',
558
+ events: 'events',
559
+ retryCount: 'retryCount',
560
+ lastDeliveryAt: 'lastDeliveryAt',
561
+ lastDeliveryStatus: 'lastDeliveryStatus',
562
+ createdAt: 'createdAt',
563
+ updatedAt: 'updatedAt'
564
+ } as const
565
+
566
+ export type FormWebhookScalarFieldEnum = (typeof FormWebhookScalarFieldEnum)[keyof typeof FormWebhookScalarFieldEnum]
567
+
568
+
569
+ export const BackupRecordScalarFieldEnum = {
570
+ id: 'id',
571
+ filename: 'filename',
572
+ storageKey: 'storageKey',
573
+ sizeBytes: 'sizeBytes',
574
+ type: 'type',
575
+ metadata: 'metadata',
576
+ createdAt: 'createdAt'
577
+ } as const
578
+
579
+ export type BackupRecordScalarFieldEnum = (typeof BackupRecordScalarFieldEnum)[keyof typeof BackupRecordScalarFieldEnum]
580
+
581
+
582
+ export const WebhookEndpointScalarFieldEnum = {
583
+ id: 'id',
584
+ url: 'url',
585
+ events: 'events',
586
+ secret: 'secret',
587
+ active: 'active',
588
+ name: 'name',
589
+ createdAt: 'createdAt',
590
+ updatedAt: 'updatedAt'
591
+ } as const
592
+
593
+ export type WebhookEndpointScalarFieldEnum = (typeof WebhookEndpointScalarFieldEnum)[keyof typeof WebhookEndpointScalarFieldEnum]
594
+
595
+
596
+ export const WebhookDeliveryLogScalarFieldEnum = {
597
+ id: 'id',
598
+ endpointId: 'endpointId',
599
+ event: 'event',
600
+ payload: 'payload',
601
+ status: 'status',
602
+ attempts: 'attempts',
603
+ maxAttempts: 'maxAttempts',
604
+ lastAttemptAt: 'lastAttemptAt',
605
+ nextRetryAt: 'nextRetryAt',
606
+ responseStatus: 'responseStatus',
607
+ responseBody: 'responseBody',
608
+ createdAt: 'createdAt'
609
+ } as const
610
+
611
+ export type WebhookDeliveryLogScalarFieldEnum = (typeof WebhookDeliveryLogScalarFieldEnum)[keyof typeof WebhookDeliveryLogScalarFieldEnum]
612
+
613
+
614
+ export const PasswordResetTokenScalarFieldEnum = {
615
+ id: 'id',
616
+ userId: 'userId',
617
+ tokenHash: 'tokenHash',
618
+ expiresAt: 'expiresAt',
619
+ usedAt: 'usedAt',
620
+ createdAt: 'createdAt'
621
+ } as const
622
+
623
+ export type PasswordResetTokenScalarFieldEnum = (typeof PasswordResetTokenScalarFieldEnum)[keyof typeof PasswordResetTokenScalarFieldEnum]
624
+
625
+
626
+ export const InviteScalarFieldEnum = {
627
+ id: 'id',
628
+ email: 'email',
629
+ role: 'role',
630
+ status: 'status',
631
+ tokenHash: 'tokenHash',
632
+ message: 'message',
633
+ invitedByUserId: 'invitedByUserId',
634
+ acceptedUserId: 'acceptedUserId',
635
+ expiresAt: 'expiresAt',
636
+ acceptedAt: 'acceptedAt',
637
+ cancelledAt: 'cancelledAt',
638
+ createdAt: 'createdAt',
639
+ updatedAt: 'updatedAt'
640
+ } as const
641
+
642
+ export type InviteScalarFieldEnum = (typeof InviteScalarFieldEnum)[keyof typeof InviteScalarFieldEnum]
643
+
644
+
645
+ export const ScriptTagScalarFieldEnum = {
646
+ id: 'id',
647
+ name: 'name',
648
+ code: 'code',
649
+ placement: 'placement',
650
+ scope: 'scope',
651
+ targetPaths: 'targetPaths',
652
+ priority: 'priority',
653
+ enabled: 'enabled',
654
+ loadAsync: 'loadAsync',
655
+ disableInPreview: 'disableInPreview',
656
+ consentCategory: 'consentCategory',
657
+ createdAt: 'createdAt',
658
+ updatedAt: 'updatedAt'
659
+ } as const
660
+
661
+ export type ScriptTagScalarFieldEnum = (typeof ScriptTagScalarFieldEnum)[keyof typeof ScriptTagScalarFieldEnum]
662
+
663
+
664
+ export const PageTemplateScalarFieldEnum = {
665
+ id: 'id',
666
+ name: 'name',
667
+ description: 'description',
668
+ category: 'category',
669
+ tree: 'tree',
670
+ thumbnail: 'thumbnail',
671
+ builtIn: 'builtIn',
672
+ createdAt: 'createdAt',
673
+ updatedAt: 'updatedAt'
674
+ } as const
675
+
676
+ export type PageTemplateScalarFieldEnum = (typeof PageTemplateScalarFieldEnum)[keyof typeof PageTemplateScalarFieldEnum]
677
+
678
+
679
+ export const SavedSectionScalarFieldEnum = {
680
+ id: 'id',
681
+ name: 'name',
682
+ description: 'description',
683
+ category: 'category',
684
+ tree: 'tree',
685
+ thumbnail: 'thumbnail',
686
+ usageCount: 'usageCount',
687
+ createdAt: 'createdAt',
688
+ updatedAt: 'updatedAt'
689
+ } as const
690
+
691
+ export type SavedSectionScalarFieldEnum = (typeof SavedSectionScalarFieldEnum)[keyof typeof SavedSectionScalarFieldEnum]
692
+
693
+
694
+ export const ApiRequestMetricScalarFieldEnum = {
695
+ id: 'id',
696
+ bucketStart: 'bucketStart',
697
+ route: 'route',
698
+ statusBucket: 'statusBucket',
699
+ count: 'count',
700
+ sumLatencyMs: 'sumLatencyMs',
701
+ maxLatencyMs: 'maxLatencyMs',
702
+ latencyHistogram: 'latencyHistogram',
703
+ updatedAt: 'updatedAt'
704
+ } as const
705
+
706
+ export type ApiRequestMetricScalarFieldEnum = (typeof ApiRequestMetricScalarFieldEnum)[keyof typeof ApiRequestMetricScalarFieldEnum]
707
+
708
+
709
+ export const ContentIssueScalarFieldEnum = {
710
+ id: 'id',
711
+ documentId: 'documentId',
712
+ type: 'type',
713
+ count: 'count',
714
+ details: 'details',
715
+ firstSeenAt: 'firstSeenAt',
716
+ lastSeenAt: 'lastSeenAt'
717
+ } as const
718
+
719
+ export type ContentIssueScalarFieldEnum = (typeof ContentIssueScalarFieldEnum)[keyof typeof ContentIssueScalarFieldEnum]
720
+
721
+
722
+ export const SortOrder = {
723
+ asc: 'asc',
724
+ desc: 'desc'
725
+ } as const
726
+
727
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
728
+
729
+
730
+ export const NullableJsonNullValueInput = {
731
+ DbNull: DbNull,
732
+ JsonNull: JsonNull
733
+ } as const
734
+
735
+ export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
736
+
737
+
738
+ export const JsonNullValueInput = {
739
+ JsonNull: JsonNull
740
+ } as const
741
+
742
+ export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
743
+
744
+
745
+ export const QueryMode = {
746
+ default: 'default',
747
+ insensitive: 'insensitive'
748
+ } as const
749
+
750
+ export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
751
+
752
+
753
+ export const JsonNullValueFilter = {
754
+ DbNull: DbNull,
755
+ JsonNull: JsonNull,
756
+ AnyNull: AnyNull
757
+ } as const
758
+
759
+ export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
760
+
761
+
762
+ export const NullsOrder = {
763
+ first: 'first',
764
+ last: 'last'
765
+ } as const
766
+
767
+ export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
768
+
769
+
770
+ export const UserOrderByRelevanceFieldEnum = {
771
+ id: 'id',
772
+ email: 'email',
773
+ name: 'name',
774
+ avatarUrl: 'avatarUrl',
775
+ passwordHash: 'passwordHash',
776
+ totpSecret: 'totpSecret',
777
+ authProvider: 'authProvider',
778
+ invitedById: 'invitedById'
779
+ } as const
780
+
781
+ export type UserOrderByRelevanceFieldEnum = (typeof UserOrderByRelevanceFieldEnum)[keyof typeof UserOrderByRelevanceFieldEnum]
782
+
783
+
784
+ export const OAuthAccountOrderByRelevanceFieldEnum = {
785
+ id: 'id',
786
+ userId: 'userId',
787
+ provider: 'provider',
788
+ providerAccountId: 'providerAccountId',
789
+ accessToken: 'accessToken',
790
+ refreshToken: 'refreshToken'
791
+ } as const
792
+
793
+ export type OAuthAccountOrderByRelevanceFieldEnum = (typeof OAuthAccountOrderByRelevanceFieldEnum)[keyof typeof OAuthAccountOrderByRelevanceFieldEnum]
794
+
795
+
796
+ export const SessionOrderByRelevanceFieldEnum = {
797
+ id: 'id',
798
+ userId: 'userId',
799
+ token: 'token',
800
+ ipAddress: 'ipAddress',
801
+ userAgent: 'userAgent',
802
+ fingerprintHash: 'fingerprintHash'
803
+ } as const
804
+
805
+ export type SessionOrderByRelevanceFieldEnum = (typeof SessionOrderByRelevanceFieldEnum)[keyof typeof SessionOrderByRelevanceFieldEnum]
806
+
807
+
808
+ export const ApiKeyOrderByRelevanceFieldEnum = {
809
+ id: 'id',
810
+ name: 'name',
811
+ keyHash: 'keyHash',
812
+ keyPrefix: 'keyPrefix',
813
+ userId: 'userId'
814
+ } as const
815
+
816
+ export type ApiKeyOrderByRelevanceFieldEnum = (typeof ApiKeyOrderByRelevanceFieldEnum)[keyof typeof ApiKeyOrderByRelevanceFieldEnum]
817
+
818
+
819
+ export const AuditLogOrderByRelevanceFieldEnum = {
820
+ id: 'id',
821
+ event: 'event',
822
+ userId: 'userId',
823
+ ipAddress: 'ipAddress',
824
+ userAgent: 'userAgent'
825
+ } as const
826
+
827
+ export type AuditLogOrderByRelevanceFieldEnum = (typeof AuditLogOrderByRelevanceFieldEnum)[keyof typeof AuditLogOrderByRelevanceFieldEnum]
828
+
829
+
830
+ export const FolderOrderByRelevanceFieldEnum = {
831
+ id: 'id',
832
+ name: 'name',
833
+ scope: 'scope',
834
+ parentId: 'parentId'
835
+ } as const
836
+
837
+ export type FolderOrderByRelevanceFieldEnum = (typeof FolderOrderByRelevanceFieldEnum)[keyof typeof FolderOrderByRelevanceFieldEnum]
838
+
839
+
840
+ export const DocumentOrderByRelevanceFieldEnum = {
841
+ id: 'id',
842
+ collection: 'collection',
843
+ title: 'title',
844
+ slug: 'slug',
845
+ locale: 'locale',
846
+ localeGroupId: 'localeGroupId',
847
+ createdById: 'createdById',
848
+ updatedById: 'updatedById',
849
+ plainText: 'plainText',
850
+ contentHash: 'contentHash',
851
+ siteId: 'siteId',
852
+ templateId: 'templateId',
853
+ reviewerId: 'reviewerId',
854
+ reviewNote: 'reviewNote',
855
+ folderId: 'folderId'
856
+ } as const
857
+
858
+ export type DocumentOrderByRelevanceFieldEnum = (typeof DocumentOrderByRelevanceFieldEnum)[keyof typeof DocumentOrderByRelevanceFieldEnum]
859
+
860
+
861
+ export const VersionOrderByRelevanceFieldEnum = {
862
+ id: 'id',
863
+ documentId: 'documentId',
864
+ changedById: 'changedById'
865
+ } as const
866
+
867
+ export type VersionOrderByRelevanceFieldEnum = (typeof VersionOrderByRelevanceFieldEnum)[keyof typeof VersionOrderByRelevanceFieldEnum]
868
+
869
+
870
+ export const MediaOrderByRelevanceFieldEnum = {
871
+ id: 'id',
872
+ filename: 'filename',
873
+ storageKey: 'storageKey',
874
+ mimeType: 'mimeType',
875
+ altText: 'altText',
876
+ title: 'title',
877
+ uploadedById: 'uploadedById',
878
+ blurHash: 'blurHash',
879
+ aiAltText: 'aiAltText',
880
+ aiDescription: 'aiDescription',
881
+ folderId: 'folderId',
882
+ originalFileName: 'originalFileName',
883
+ caption: 'caption',
884
+ description: 'description',
885
+ focusKeyword: 'focusKeyword',
886
+ publicUrl: 'publicUrl',
887
+ storageProvider: 'storageProvider',
888
+ thumbnailUrl: 'thumbnailUrl'
889
+ } as const
890
+
891
+ export type MediaOrderByRelevanceFieldEnum = (typeof MediaOrderByRelevanceFieldEnum)[keyof typeof MediaOrderByRelevanceFieldEnum]
892
+
893
+
894
+ export const MediaUsageOrderByRelevanceFieldEnum = {
895
+ id: 'id',
896
+ mediaId: 'mediaId',
897
+ documentId: 'documentId',
898
+ fieldPath: 'fieldPath'
899
+ } as const
900
+
901
+ export type MediaUsageOrderByRelevanceFieldEnum = (typeof MediaUsageOrderByRelevanceFieldEnum)[keyof typeof MediaUsageOrderByRelevanceFieldEnum]
902
+
903
+
904
+ export const ContentLockOrderByRelevanceFieldEnum = {
905
+ id: 'id',
906
+ documentId: 'documentId',
907
+ userId: 'userId'
908
+ } as const
909
+
910
+ export type ContentLockOrderByRelevanceFieldEnum = (typeof ContentLockOrderByRelevanceFieldEnum)[keyof typeof ContentLockOrderByRelevanceFieldEnum]
911
+
912
+
913
+ export const InAppNotificationOrderByRelevanceFieldEnum = {
914
+ id: 'id',
915
+ userId: 'userId',
916
+ type: 'type',
917
+ title: 'title',
918
+ message: 'message',
919
+ link: 'link'
920
+ } as const
921
+
922
+ export type InAppNotificationOrderByRelevanceFieldEnum = (typeof InAppNotificationOrderByRelevanceFieldEnum)[keyof typeof InAppNotificationOrderByRelevanceFieldEnum]
923
+
924
+
925
+ export const ContentTemplateOrderByRelevanceFieldEnum = {
926
+ id: 'id',
927
+ name: 'name',
928
+ collection: 'collection',
929
+ createdById: 'createdById'
930
+ } as const
931
+
932
+ export type ContentTemplateOrderByRelevanceFieldEnum = (typeof ContentTemplateOrderByRelevanceFieldEnum)[keyof typeof ContentTemplateOrderByRelevanceFieldEnum]
933
+
934
+
935
+ export const SiteOrderByRelevanceFieldEnum = {
936
+ id: 'id',
937
+ domain: 'domain',
938
+ name: 'name'
939
+ } as const
940
+
941
+ export type SiteOrderByRelevanceFieldEnum = (typeof SiteOrderByRelevanceFieldEnum)[keyof typeof SiteOrderByRelevanceFieldEnum]
942
+
943
+
944
+ export const WorkflowStateOrderByRelevanceFieldEnum = {
945
+ id: 'id',
946
+ documentId: 'documentId',
947
+ assignedToId: 'assignedToId',
948
+ status: 'status'
949
+ } as const
950
+
951
+ export type WorkflowStateOrderByRelevanceFieldEnum = (typeof WorkflowStateOrderByRelevanceFieldEnum)[keyof typeof WorkflowStateOrderByRelevanceFieldEnum]
952
+
953
+
954
+ export const RedirectOrderByRelevanceFieldEnum = {
955
+ id: 'id',
956
+ source: 'source',
957
+ destination: 'destination',
958
+ notes: 'notes',
959
+ source_kind: 'source_kind',
960
+ createdById: 'createdById'
961
+ } as const
962
+
963
+ export type RedirectOrderByRelevanceFieldEnum = (typeof RedirectOrderByRelevanceFieldEnum)[keyof typeof RedirectOrderByRelevanceFieldEnum]
964
+
965
+
966
+ export const SeoAuditRunOrderByRelevanceFieldEnum = {
967
+ id: 'id',
968
+ scope: 'scope',
969
+ startedById: 'startedById',
970
+ errorMessage: 'errorMessage'
971
+ } as const
972
+
973
+ export type SeoAuditRunOrderByRelevanceFieldEnum = (typeof SeoAuditRunOrderByRelevanceFieldEnum)[keyof typeof SeoAuditRunOrderByRelevanceFieldEnum]
974
+
975
+
976
+ export const SeoIssueOrderByRelevanceFieldEnum = {
977
+ id: 'id',
978
+ auditRunId: 'auditRunId',
979
+ issueKey: 'issueKey',
980
+ entityType: 'entityType',
981
+ entityId: 'entityId',
982
+ entityTitle: 'entityTitle',
983
+ url: 'url',
984
+ type: 'type',
985
+ title: 'title',
986
+ description: 'description',
987
+ impact: 'impact',
988
+ recommendation: 'recommendation',
989
+ fixActionType: 'fixActionType',
990
+ source: 'source',
991
+ resolvedById: 'resolvedById'
992
+ } as const
993
+
994
+ export type SeoIssueOrderByRelevanceFieldEnum = (typeof SeoIssueOrderByRelevanceFieldEnum)[keyof typeof SeoIssueOrderByRelevanceFieldEnum]
995
+
996
+
997
+ export const Redirect404HitOrderByRelevanceFieldEnum = {
998
+ id: 'id',
999
+ path: 'path',
1000
+ referrer: 'referrer'
1001
+ } as const
1002
+
1003
+ export type Redirect404HitOrderByRelevanceFieldEnum = (typeof Redirect404HitOrderByRelevanceFieldEnum)[keyof typeof Redirect404HitOrderByRelevanceFieldEnum]
1004
+
1005
+
1006
+ export const AiCrawlerHitOrderByRelevanceFieldEnum = {
1007
+ id: 'id',
1008
+ bot: 'bot',
1009
+ surface: 'surface',
1010
+ category: 'category'
1011
+ } as const
1012
+
1013
+ export type AiCrawlerHitOrderByRelevanceFieldEnum = (typeof AiCrawlerHitOrderByRelevanceFieldEnum)[keyof typeof AiCrawlerHitOrderByRelevanceFieldEnum]
1014
+
1015
+
1016
+ export const RedirectSuggestionOrderByRelevanceFieldEnum = {
1017
+ id: 'id',
1018
+ fromPath: 'fromPath',
1019
+ toPath: 'toPath',
1020
+ reason: 'reason',
1021
+ status: 'status',
1022
+ source: 'source'
1023
+ } as const
1024
+
1025
+ export type RedirectSuggestionOrderByRelevanceFieldEnum = (typeof RedirectSuggestionOrderByRelevanceFieldEnum)[keyof typeof RedirectSuggestionOrderByRelevanceFieldEnum]
1026
+
1027
+
1028
+ export const FormSchemaVersionOrderByRelevanceFieldEnum = {
1029
+ id: 'id',
1030
+ formId: 'formId',
1031
+ notes: 'notes',
1032
+ createdById: 'createdById'
1033
+ } as const
1034
+
1035
+ export type FormSchemaVersionOrderByRelevanceFieldEnum = (typeof FormSchemaVersionOrderByRelevanceFieldEnum)[keyof typeof FormSchemaVersionOrderByRelevanceFieldEnum]
1036
+
1037
+
1038
+ export const FormSubmissionOrderByRelevanceFieldEnum = {
1039
+ id: 'id',
1040
+ formId: 'formId',
1041
+ schemaVersionId: 'schemaVersionId',
1042
+ senderName: 'senderName',
1043
+ senderEmail: 'senderEmail',
1044
+ senderPhone: 'senderPhone',
1045
+ preview: 'preview',
1046
+ status: 'status',
1047
+ spamStatus: 'spamStatus',
1048
+ ipAddressHash: 'ipAddressHash',
1049
+ userAgent: 'userAgent',
1050
+ referrer: 'referrer',
1051
+ pageUrl: 'pageUrl',
1052
+ utmSource: 'utmSource',
1053
+ utmMedium: 'utmMedium',
1054
+ utmCampaign: 'utmCampaign'
1055
+ } as const
1056
+
1057
+ export type FormSubmissionOrderByRelevanceFieldEnum = (typeof FormSubmissionOrderByRelevanceFieldEnum)[keyof typeof FormSubmissionOrderByRelevanceFieldEnum]
1058
+
1059
+
1060
+ export const FormSubmissionFileOrderByRelevanceFieldEnum = {
1061
+ id: 'id',
1062
+ submissionId: 'submissionId',
1063
+ fieldKey: 'fieldKey',
1064
+ mediaAssetId: 'mediaAssetId',
1065
+ fileName: 'fileName',
1066
+ mimeType: 'mimeType',
1067
+ storageKey: 'storageKey',
1068
+ publicUrl: 'publicUrl',
1069
+ secureDownloadUrl: 'secureDownloadUrl'
1070
+ } as const
1071
+
1072
+ export type FormSubmissionFileOrderByRelevanceFieldEnum = (typeof FormSubmissionFileOrderByRelevanceFieldEnum)[keyof typeof FormSubmissionFileOrderByRelevanceFieldEnum]
1073
+
1074
+
1075
+ export const FormWebhookOrderByRelevanceFieldEnum = {
1076
+ id: 'id',
1077
+ formId: 'formId',
1078
+ url: 'url',
1079
+ secret: 'secret',
1080
+ lastDeliveryStatus: 'lastDeliveryStatus'
1081
+ } as const
1082
+
1083
+ export type FormWebhookOrderByRelevanceFieldEnum = (typeof FormWebhookOrderByRelevanceFieldEnum)[keyof typeof FormWebhookOrderByRelevanceFieldEnum]
1084
+
1085
+
1086
+ export const BackupRecordOrderByRelevanceFieldEnum = {
1087
+ id: 'id',
1088
+ filename: 'filename',
1089
+ storageKey: 'storageKey',
1090
+ type: 'type'
1091
+ } as const
1092
+
1093
+ export type BackupRecordOrderByRelevanceFieldEnum = (typeof BackupRecordOrderByRelevanceFieldEnum)[keyof typeof BackupRecordOrderByRelevanceFieldEnum]
1094
+
1095
+
1096
+ export const WebhookEndpointOrderByRelevanceFieldEnum = {
1097
+ id: 'id',
1098
+ url: 'url',
1099
+ secret: 'secret',
1100
+ name: 'name'
1101
+ } as const
1102
+
1103
+ export type WebhookEndpointOrderByRelevanceFieldEnum = (typeof WebhookEndpointOrderByRelevanceFieldEnum)[keyof typeof WebhookEndpointOrderByRelevanceFieldEnum]
1104
+
1105
+
1106
+ export const WebhookDeliveryLogOrderByRelevanceFieldEnum = {
1107
+ id: 'id',
1108
+ endpointId: 'endpointId',
1109
+ event: 'event',
1110
+ status: 'status',
1111
+ responseBody: 'responseBody'
1112
+ } as const
1113
+
1114
+ export type WebhookDeliveryLogOrderByRelevanceFieldEnum = (typeof WebhookDeliveryLogOrderByRelevanceFieldEnum)[keyof typeof WebhookDeliveryLogOrderByRelevanceFieldEnum]
1115
+
1116
+
1117
+ export const PasswordResetTokenOrderByRelevanceFieldEnum = {
1118
+ id: 'id',
1119
+ userId: 'userId',
1120
+ tokenHash: 'tokenHash'
1121
+ } as const
1122
+
1123
+ export type PasswordResetTokenOrderByRelevanceFieldEnum = (typeof PasswordResetTokenOrderByRelevanceFieldEnum)[keyof typeof PasswordResetTokenOrderByRelevanceFieldEnum]
1124
+
1125
+
1126
+ export const InviteOrderByRelevanceFieldEnum = {
1127
+ id: 'id',
1128
+ email: 'email',
1129
+ tokenHash: 'tokenHash',
1130
+ message: 'message',
1131
+ invitedByUserId: 'invitedByUserId',
1132
+ acceptedUserId: 'acceptedUserId'
1133
+ } as const
1134
+
1135
+ export type InviteOrderByRelevanceFieldEnum = (typeof InviteOrderByRelevanceFieldEnum)[keyof typeof InviteOrderByRelevanceFieldEnum]
1136
+
1137
+
1138
+ export const ScriptTagOrderByRelevanceFieldEnum = {
1139
+ id: 'id',
1140
+ name: 'name',
1141
+ code: 'code',
1142
+ placement: 'placement',
1143
+ scope: 'scope',
1144
+ targetPaths: 'targetPaths',
1145
+ consentCategory: 'consentCategory'
1146
+ } as const
1147
+
1148
+ export type ScriptTagOrderByRelevanceFieldEnum = (typeof ScriptTagOrderByRelevanceFieldEnum)[keyof typeof ScriptTagOrderByRelevanceFieldEnum]
1149
+
1150
+
1151
+ export const PageTemplateOrderByRelevanceFieldEnum = {
1152
+ id: 'id',
1153
+ name: 'name',
1154
+ description: 'description',
1155
+ category: 'category',
1156
+ thumbnail: 'thumbnail'
1157
+ } as const
1158
+
1159
+ export type PageTemplateOrderByRelevanceFieldEnum = (typeof PageTemplateOrderByRelevanceFieldEnum)[keyof typeof PageTemplateOrderByRelevanceFieldEnum]
1160
+
1161
+
1162
+ export const SavedSectionOrderByRelevanceFieldEnum = {
1163
+ id: 'id',
1164
+ name: 'name',
1165
+ description: 'description',
1166
+ category: 'category',
1167
+ thumbnail: 'thumbnail'
1168
+ } as const
1169
+
1170
+ export type SavedSectionOrderByRelevanceFieldEnum = (typeof SavedSectionOrderByRelevanceFieldEnum)[keyof typeof SavedSectionOrderByRelevanceFieldEnum]
1171
+
1172
+
1173
+ export const ApiRequestMetricOrderByRelevanceFieldEnum = {
1174
+ id: 'id',
1175
+ route: 'route',
1176
+ statusBucket: 'statusBucket'
1177
+ } as const
1178
+
1179
+ export type ApiRequestMetricOrderByRelevanceFieldEnum = (typeof ApiRequestMetricOrderByRelevanceFieldEnum)[keyof typeof ApiRequestMetricOrderByRelevanceFieldEnum]
1180
+
1181
+
1182
+ export const ContentIssueOrderByRelevanceFieldEnum = {
1183
+ id: 'id',
1184
+ documentId: 'documentId'
1185
+ } as const
1186
+
1187
+ export type ContentIssueOrderByRelevanceFieldEnum = (typeof ContentIssueOrderByRelevanceFieldEnum)[keyof typeof ContentIssueOrderByRelevanceFieldEnum]
1188
+