370 lines
9.8 KiB
TypeScript
370 lines
9.8 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* WARNING: This is an internal file that is subject to change!
|
|
*
|
|
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
*
|
|
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
|
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
*
|
|
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
* model files in the `model` directory!
|
|
*/
|
|
|
|
import * as runtime from "@prisma/client/runtime/index-browser"
|
|
|
|
export type * from '../models.ts'
|
|
export type * from './prismaNamespace.ts'
|
|
|
|
export const Decimal = runtime.Decimal
|
|
|
|
|
|
export const NullTypes = {
|
|
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
|
|
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
|
|
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
|
|
}
|
|
/**
|
|
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const DbNull = runtime.DbNull
|
|
|
|
/**
|
|
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const JsonNull = runtime.JsonNull
|
|
|
|
/**
|
|
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const AnyNull = runtime.AnyNull
|
|
|
|
|
|
export const ModelName = {
|
|
User: 'User',
|
|
Profile: 'Profile',
|
|
Address: 'Address',
|
|
Session: 'Session',
|
|
Account: 'Account',
|
|
UserRole: 'UserRole',
|
|
Verification: 'Verification',
|
|
Proclamation: 'Proclamation',
|
|
ProclamationGroup: 'ProclamationGroup',
|
|
UserProclamations: 'UserProclamations',
|
|
SolfeggioFrequency: 'SolfeggioFrequency',
|
|
ProclamationCategory: 'ProclamationCategory',
|
|
LicenseKey: 'LicenseKey',
|
|
ApiKey: 'ApiKey',
|
|
ColorPalette: 'ColorPalette',
|
|
AuditLog: 'AuditLog',
|
|
Schedule: 'Schedule',
|
|
Block: 'Block',
|
|
BlockProclamations: 'BlockProclamations'
|
|
} as const
|
|
|
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
|
|
/*
|
|
* Enums
|
|
*/
|
|
|
|
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
ReadUncommitted: 'ReadUncommitted',
|
|
ReadCommitted: 'ReadCommitted',
|
|
RepeatableRead: 'RepeatableRead',
|
|
Serializable: 'Serializable'
|
|
} as const)
|
|
|
|
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
|
|
|
|
export const UserScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
email: 'email',
|
|
emailVerified: 'emailVerified',
|
|
image: 'image',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
roleId: 'roleId'
|
|
} as const
|
|
|
|
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
|
|
|
|
|
export const ProfileScalarFieldEnum = {
|
|
id: 'id',
|
|
userId: 'userId',
|
|
email: 'email',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
phoneNumber: 'phoneNumber',
|
|
ghlContactId: 'ghlContactId'
|
|
} as const
|
|
|
|
export type ProfileScalarFieldEnum = (typeof ProfileScalarFieldEnum)[keyof typeof ProfileScalarFieldEnum]
|
|
|
|
|
|
export const AddressScalarFieldEnum = {
|
|
id: 'id',
|
|
profileId: 'profileId',
|
|
street: 'street',
|
|
city: 'city',
|
|
state: 'state',
|
|
postalCode: 'postalCode',
|
|
country: 'country',
|
|
type: 'type',
|
|
isDefaultMailing: 'isDefaultMailing',
|
|
isDefaultBilling: 'isDefaultBilling',
|
|
isDefaultShipping: 'isDefaultShipping'
|
|
} as const
|
|
|
|
export type AddressScalarFieldEnum = (typeof AddressScalarFieldEnum)[keyof typeof AddressScalarFieldEnum]
|
|
|
|
|
|
export const SessionScalarFieldEnum = {
|
|
id: 'id',
|
|
expiresAt: 'expiresAt',
|
|
token: 'token',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
ipAddress: 'ipAddress',
|
|
userAgent: 'userAgent',
|
|
userId: 'userId'
|
|
} as const
|
|
|
|
export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
|
|
|
|
|
|
export const AccountScalarFieldEnum = {
|
|
id: 'id',
|
|
accountId: 'accountId',
|
|
providerId: 'providerId',
|
|
userId: 'userId',
|
|
accessToken: 'accessToken',
|
|
refreshToken: 'refreshToken',
|
|
idToken: 'idToken',
|
|
accessTokenExpiresAt: 'accessTokenExpiresAt',
|
|
refreshTokenExpiresAt: 'refreshTokenExpiresAt',
|
|
scope: 'scope',
|
|
password: 'password',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
|
|
|
|
|
|
export const UserRoleScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name'
|
|
} as const
|
|
|
|
export type UserRoleScalarFieldEnum = (typeof UserRoleScalarFieldEnum)[keyof typeof UserRoleScalarFieldEnum]
|
|
|
|
|
|
export const VerificationScalarFieldEnum = {
|
|
id: 'id',
|
|
identifier: 'identifier',
|
|
value: 'value',
|
|
expiresAt: 'expiresAt',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]
|
|
|
|
|
|
export const ProclamationScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
content: 'content',
|
|
solfeggioFrequencyId: 'solfeggioFrequencyId',
|
|
categoryId: 'categoryId',
|
|
groupId: 'groupId'
|
|
} as const
|
|
|
|
export type ProclamationScalarFieldEnum = (typeof ProclamationScalarFieldEnum)[keyof typeof ProclamationScalarFieldEnum]
|
|
|
|
|
|
export const ProclamationGroupScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
sortOrder: 'sortOrder'
|
|
} as const
|
|
|
|
export type ProclamationGroupScalarFieldEnum = (typeof ProclamationGroupScalarFieldEnum)[keyof typeof ProclamationGroupScalarFieldEnum]
|
|
|
|
|
|
export const UserProclamationsScalarFieldEnum = {
|
|
userId: 'userId',
|
|
proclamationId: 'proclamationId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type UserProclamationsScalarFieldEnum = (typeof UserProclamationsScalarFieldEnum)[keyof typeof UserProclamationsScalarFieldEnum]
|
|
|
|
|
|
export const SolfeggioFrequencyScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type SolfeggioFrequencyScalarFieldEnum = (typeof SolfeggioFrequencyScalarFieldEnum)[keyof typeof SolfeggioFrequencyScalarFieldEnum]
|
|
|
|
|
|
export const ProclamationCategoryScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
sortOrder: 'sortOrder'
|
|
} as const
|
|
|
|
export type ProclamationCategoryScalarFieldEnum = (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum]
|
|
|
|
|
|
export const LicenseKeyScalarFieldEnum = {
|
|
id: 'id',
|
|
key: 'key',
|
|
active: 'active',
|
|
createdAt: 'createdAt',
|
|
lastValidatedAt: 'lastValidatedAt',
|
|
userId: 'userId',
|
|
email: 'email'
|
|
} as const
|
|
|
|
export type LicenseKeyScalarFieldEnum = (typeof LicenseKeyScalarFieldEnum)[keyof typeof LicenseKeyScalarFieldEnum]
|
|
|
|
|
|
export const ApiKeyScalarFieldEnum = {
|
|
id: 'id',
|
|
keyPrefix: 'keyPrefix',
|
|
keyHash: 'keyHash',
|
|
createdAt: 'createdAt',
|
|
expiresAt: 'expiresAt',
|
|
revokedAt: 'revokedAt'
|
|
} as const
|
|
|
|
export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum]
|
|
|
|
|
|
export const ColorPaletteScalarFieldEnum = {
|
|
solfeggioFrequencyId: 'solfeggioFrequencyId',
|
|
colors: 'colors'
|
|
} as const
|
|
|
|
export type ColorPaletteScalarFieldEnum = (typeof ColorPaletteScalarFieldEnum)[keyof typeof ColorPaletteScalarFieldEnum]
|
|
|
|
|
|
export const AuditLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
userId: 'userId',
|
|
email: 'email',
|
|
roleId: 'roleId',
|
|
roleName: 'roleName',
|
|
page: 'page',
|
|
action: 'action',
|
|
entity: 'entity',
|
|
entityId: 'entityId',
|
|
before: 'before',
|
|
after: 'after',
|
|
ip: 'ip'
|
|
} as const
|
|
|
|
export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]
|
|
|
|
|
|
export const ScheduleScalarFieldEnum = {
|
|
id: 'id',
|
|
userId: 'userId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ScheduleScalarFieldEnum = (typeof ScheduleScalarFieldEnum)[keyof typeof ScheduleScalarFieldEnum]
|
|
|
|
|
|
export const BlockScalarFieldEnum = {
|
|
id: 'id',
|
|
scheduleId: 'scheduleId',
|
|
startMinutes: 'startMinutes',
|
|
endMinutes: 'endMinutes',
|
|
dynamicAudio: 'dynamicAudio',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type BlockScalarFieldEnum = (typeof BlockScalarFieldEnum)[keyof typeof BlockScalarFieldEnum]
|
|
|
|
|
|
export const BlockProclamationsScalarFieldEnum = {
|
|
blockId: 'blockId',
|
|
proclamationId: 'proclamationId',
|
|
sortOrder: 'sortOrder',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type BlockProclamationsScalarFieldEnum = (typeof BlockProclamationsScalarFieldEnum)[keyof typeof BlockProclamationsScalarFieldEnum]
|
|
|
|
|
|
export const SortOrder = {
|
|
asc: 'asc',
|
|
desc: 'desc'
|
|
} as const
|
|
|
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
|
|
|
|
|
export const JsonNullValueInput = {
|
|
JsonNull: JsonNull
|
|
} as const
|
|
|
|
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
|
|
|
|
|
export const NullableJsonNullValueInput = {
|
|
DbNull: DbNull,
|
|
JsonNull: JsonNull
|
|
} as const
|
|
|
|
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
|
|
|
|
export const QueryMode = {
|
|
default: 'default',
|
|
insensitive: 'insensitive'
|
|
} as const
|
|
|
|
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
|
|
|
|
|
export const NullsOrder = {
|
|
first: 'first',
|
|
last: 'last'
|
|
} as const
|
|
|
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
|
|
|
|
export const JsonNullValueFilter = {
|
|
DbNull: DbNull,
|
|
JsonNull: JsonNull,
|
|
AnyNull: AnyNull
|
|
} as const
|
|
|
|
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
|
|