/** * Client **/ import * as runtime from './runtime/library.js'; import $Types = runtime.Types // general types import $Public = runtime.Types.Public import $Utils = runtime.Types.Utils import $Extensions = runtime.Types.Extensions import $Result = runtime.Types.Result export type PrismaPromise = $Public.PrismaPromise /** * Model msasuransi * */ export type msasuransi = $Result.DefaultSelection /** * Model mspasien * */ export type mspasien = $Result.DefaultSelection /** * Model mspegawai * */ export type mspegawai = $Result.DefaultSelection /** * Model msruangpelayanan * */ export type msruangpelayanan = $Result.DefaultSelection /** * Model mstindakan * */ export type mstindakan = $Result.DefaultSelection /** * Model trregistrasi * */ export type trregistrasi = $Result.DefaultSelection /** * Model trtransaksi * */ export type trtransaksi = $Result.DefaultSelection /** * Model msusers * */ export type msusers = $Result.DefaultSelection /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Msasuransis * const msasuransis = await prisma.msasuransi.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ export class PrismaClient< T extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, U = 'log' extends keyof T ? T['log'] extends Array ? Prisma.GetEvents : never : never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs > { [K: symbol]: { types: Prisma.TypeMap['other'] } /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Msasuransis * const msasuransis = await prisma.msasuransi.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ constructor(optionsArg ?: Prisma.Subset); $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void; /** * Connect with the database */ $connect(): $Utils.JsPromise; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise; /** * Add a middleware * @deprecated since 4.16.0. For new code, prefer client extensions instead. * @see https://pris.ly/d/extensions */ $use(cb: Prisma.Middleware): void /** * Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * const [george, bob, alice] = await prisma.$transaction([ * prisma.user.create({ data: { name: 'George' } }), * prisma.user.create({ data: { name: 'Bob' } }), * prisma.user.create({ data: { name: 'Alice' } }), * ]) * ``` * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise> $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise $extends: $Extensions.ExtendsHook<'extends', Prisma.TypeMapCb, ExtArgs> /** * `prisma.msasuransi`: Exposes CRUD operations for the **msasuransi** model. * Example usage: * ```ts * // Fetch zero or more Msasuransis * const msasuransis = await prisma.msasuransi.findMany() * ``` */ get msasuransi(): Prisma.msasuransiDelegate; /** * `prisma.mspasien`: Exposes CRUD operations for the **mspasien** model. * Example usage: * ```ts * // Fetch zero or more Mspasiens * const mspasiens = await prisma.mspasien.findMany() * ``` */ get mspasien(): Prisma.mspasienDelegate; /** * `prisma.mspegawai`: Exposes CRUD operations for the **mspegawai** model. * Example usage: * ```ts * // Fetch zero or more Mspegawais * const mspegawais = await prisma.mspegawai.findMany() * ``` */ get mspegawai(): Prisma.mspegawaiDelegate; /** * `prisma.msruangpelayanan`: Exposes CRUD operations for the **msruangpelayanan** model. * Example usage: * ```ts * // Fetch zero or more Msruangpelayanans * const msruangpelayanans = await prisma.msruangpelayanan.findMany() * ``` */ get msruangpelayanan(): Prisma.msruangpelayananDelegate; /** * `prisma.mstindakan`: Exposes CRUD operations for the **mstindakan** model. * Example usage: * ```ts * // Fetch zero or more Mstindakans * const mstindakans = await prisma.mstindakan.findMany() * ``` */ get mstindakan(): Prisma.mstindakanDelegate; /** * `prisma.trregistrasi`: Exposes CRUD operations for the **trregistrasi** model. * Example usage: * ```ts * // Fetch zero or more Trregistrasis * const trregistrasis = await prisma.trregistrasi.findMany() * ``` */ get trregistrasi(): Prisma.trregistrasiDelegate; /** * `prisma.trtransaksi`: Exposes CRUD operations for the **trtransaksi** model. * Example usage: * ```ts * // Fetch zero or more Trtransaksis * const trtransaksis = await prisma.trtransaksi.findMany() * ``` */ get trtransaksi(): Prisma.trtransaksiDelegate; /** * `prisma.msusers`: Exposes CRUD operations for the **msusers** model. * Example usage: * ```ts * // Fetch zero or more Msusers * const msusers = await prisma.msusers.findMany() * ``` */ get msusers(): Prisma.msusersDelegate; } export namespace Prisma { export import DMMF = runtime.DMMF export type PrismaPromise = $Public.PrismaPromise /** * Validator */ export import validator = runtime.Public.validator /** * Prisma Errors */ export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError export import PrismaClientInitializationError = runtime.PrismaClientInitializationError export import PrismaClientValidationError = runtime.PrismaClientValidationError export import NotFoundError = runtime.NotFoundError /** * Re-export of sql-template-tag */ export import sql = runtime.sqltag export import empty = runtime.empty export import join = runtime.join export import raw = runtime.raw export import Sql = runtime.Sql /** * Decimal.js */ export import Decimal = runtime.Decimal export type DecimalJsLike = runtime.DecimalJsLike /** * Metrics */ export type Metrics = runtime.Metrics export type Metric = runtime.Metric export type MetricHistogram = runtime.MetricHistogram export type MetricHistogramBucket = runtime.MetricHistogramBucket /** * Extensions */ export import Extension = $Extensions.UserArgs export import getExtensionContext = runtime.Extensions.getExtensionContext export import Args = $Public.Args export import Payload = $Public.Payload export import Result = $Public.Result export import Exact = $Public.Exact /** * Prisma Client JS version: 5.10.2 * Query Engine version: 5a9203d0590c951969e85a7d07215503f4672eb9 */ export type PrismaVersion = { client: string } export const prismaVersion: PrismaVersion /** * Utility Types */ /** * From https://github.com/sindresorhus/type-fest/ * Matches a JSON object. * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from. */ export type JsonObject = {[Key in string]?: JsonValue} /** * From https://github.com/sindresorhus/type-fest/ * Matches a JSON array. */ export interface JsonArray extends Array {} /** * From https://github.com/sindresorhus/type-fest/ * Matches any valid JSON value. */ export type JsonValue = string | number | boolean | JsonObject | JsonArray | null /** * Matches a JSON object. * Unlike `JsonObject`, this type allows undefined and read-only properties. */ export type InputJsonObject = {readonly [Key in string]?: InputJsonValue | null} /** * Matches a JSON array. * Unlike `JsonArray`, readonly arrays are assignable to this type. */ export interface InputJsonArray extends ReadonlyArray {} /** * Matches any valid value that can be used as an input for operations like * create and update as the value of a JSON field. Unlike `JsonValue`, this * type allows read-only arrays and read-only object properties and disallows * `null` at the top level. * * `null` cannot be used as the value of a JSON field because its meaning * would be ambiguous. Use `Prisma.JsonNull` to store the JSON null value or * `Prisma.DbNull` to clear the JSON value and set the field to the database * NULL value instead. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values */ export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | { toJSON(): unknown } /** * Types of the values used to represent different kinds of `null` values when working with JSON fields. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ namespace NullTypes { /** * Type of `Prisma.DbNull`. * * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class DbNull { private DbNull: never private constructor() } /** * Type of `Prisma.JsonNull`. * * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class JsonNull { private JsonNull: never private constructor() } /** * Type of `Prisma.AnyNull`. * * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class AnyNull { private AnyNull: never private constructor() } } /** * 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: NullTypes.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: NullTypes.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: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } /** * Get the type of the value, that the Promise holds. */ export type PromiseType> = T extends PromiseLike ? U : T; /** * Get the return type of a function which returns a Promise. */ export type PromiseReturnType $Utils.JsPromise> = PromiseType> /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick = { [P in K]: T[P]; }; export type Enumerable = T | Array; export type RequiredKeys = { [K in keyof T]-?: {} extends Prisma__Pick ? never : K }[keyof T] export type TruthyKeys = keyof { [K in keyof T as T[K] extends false | undefined | null ? never : K]: K } export type TrueKeys = TruthyKeys>> /** * Subset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset = { [key in keyof T]: key extends keyof U ? T[key] : never; }; /** * SelectSubset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset = { [key in keyof T]: key extends keyof U ? T[key] : never } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection = { [key in keyof T]: key extends keyof U ? T[key] : never } & K type Without = { [P in Exclude]?: never }; /** * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ type XOR = T extends object ? U extends object ? (Without & U) | (Without & T) : U : T /** * Is T a Record? */ type IsObject = T extends Array ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False /** * If it's T[], return T */ export type UnEnumerate = T extends Array ? U : T /** * From ts-toolbelt */ type __Either = Omit & { // Merge all but K [P in K]: Prisma__Pick // With K possibilities }[K] type EitherStrict = Strict<__Either> type EitherLoose = ComputeRaw<__Either> type _Either< O extends object, K extends Key, strict extends Boolean > = { 1: EitherStrict 0: EitherLoose }[strict] type Either< O extends object, K extends Key, strict extends Boolean = 1 > = O extends unknown ? _Either : never export type Union = any type PatchUndefined = { [K in keyof O]: O[K] extends undefined ? At : O[K] } & {} /** Helper Types for "Merge" **/ export type IntersectOf = ( U extends unknown ? (k: U) => void : never ) extends (k: infer I) => void ? I : never export type Overwrite = { [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; type _Merge = IntersectOf; }>>; type Key = string | number | symbol; type AtBasic = K extends keyof O ? O[K] : never; type AtStrict = O[K & keyof O]; type AtLoose = O extends unknown ? AtStrict : never; export type At = { 1: AtStrict; 0: AtLoose; }[strict]; export type ComputeRaw = A extends Function ? A : { [K in keyof A]: A[K]; } & {}; export type OptionalFlat = { [K in keyof O]?: O[K]; } & {}; type _Record = { [P in K]: T; }; // cause typescript not to expand types and preserve names type NoExpand = T extends unknown ? T : never; // this type assumes the passed object is entirely optional type AtLeast = NoExpand< O extends unknown ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) | {[P in keyof O as P extends K ? K : never]-?: O[P]} & O : never>; type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; export type Strict = ComputeRaw<_Strict>; /** End Helper Types for "Merge" **/ export type Merge = ComputeRaw<_Merge>>; /** A [[Boolean]] */ export type Boolean = True | False // /** // 1 // */ export type True = 1 /** 0 */ export type False = 0 export type Not = { 0: 1 1: 0 }[B] export type Extends = [A1] extends [never] ? 0 // anything `never` is false : A1 extends A2 ? 1 : 0 export type Has = Not< Extends, U1> > export type Or = { 0: { 0: 0 1: 1 } 1: { 0: 1 1: 1 } }[B1][B2] export type Keys = U extends unknown ? keyof U : never type Cast = A extends B ? A : B; export const type: unique symbol; /** * Used by group by */ export type GetScalarType = O extends object ? { [P in keyof T]: P extends keyof O ? O[P] : never } : never type FieldPaths< T, U = Omit > = IsObject extends True ? U : T type GetHavingFields = { [K in keyof T]: Or< Or, Extends<'AND', K>>, Extends<'NOT', K> > extends True ? // infer is only needed to not hit TS limit // based on the brilliant idea of Pierre-Antoine Mills // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 T[K] extends infer TK ? GetHavingFields extends object ? Merge> : never> : never : {} extends FieldPaths ? never : K }[keyof T] /** * Convert tuple to union */ type _TupleToUnion = T extends (infer E)[] ? E : never type TupleToUnion = _TupleToUnion type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T /** * Like `Pick`, but additionally can also accept an array of keys */ type PickEnumerable | keyof T> = Prisma__Pick> /** * Exclude all keys with underscores */ type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T export type FieldRef = runtime.FieldRef type FieldRefInputType = Model extends never ? never : FieldRef export const ModelName: { msasuransi: 'msasuransi', mspasien: 'mspasien', mspegawai: 'mspegawai', msruangpelayanan: 'msruangpelayanan', mstindakan: 'mstindakan', trregistrasi: 'trregistrasi', trtransaksi: 'trtransaksi', msusers: 'msusers' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] export type Datasources = { db?: Datasource } interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs}, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { meta: { modelProps: 'msasuransi' | 'mspasien' | 'mspegawai' | 'msruangpelayanan' | 'mstindakan' | 'trregistrasi' | 'trtransaksi' | 'msusers' txIsolationLevel: Prisma.TransactionIsolationLevel }, model: { msasuransi: { payload: Prisma.$msasuransiPayload fields: Prisma.msasuransiFieldRefs operations: { findUnique: { args: Prisma.msasuransiFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.msasuransiFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.msasuransiFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.msasuransiFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.msasuransiFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.msasuransiCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.msasuransiCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.msasuransiDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.msasuransiUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.msasuransiDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.msasuransiUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.msasuransiUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.MsasuransiAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.msasuransiGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.msasuransiCountArgs, result: $Utils.Optional | number } } } mspasien: { payload: Prisma.$mspasienPayload fields: Prisma.mspasienFieldRefs operations: { findUnique: { args: Prisma.mspasienFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.mspasienFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.mspasienFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.mspasienFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.mspasienFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.mspasienCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.mspasienCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.mspasienDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.mspasienUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.mspasienDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.mspasienUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.mspasienUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.MspasienAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.mspasienGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.mspasienCountArgs, result: $Utils.Optional | number } } } mspegawai: { payload: Prisma.$mspegawaiPayload fields: Prisma.mspegawaiFieldRefs operations: { findUnique: { args: Prisma.mspegawaiFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.mspegawaiFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.mspegawaiFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.mspegawaiFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.mspegawaiFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.mspegawaiCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.mspegawaiCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.mspegawaiDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.mspegawaiUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.mspegawaiDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.mspegawaiUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.mspegawaiUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.MspegawaiAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.mspegawaiGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.mspegawaiCountArgs, result: $Utils.Optional | number } } } msruangpelayanan: { payload: Prisma.$msruangpelayananPayload fields: Prisma.msruangpelayananFieldRefs operations: { findUnique: { args: Prisma.msruangpelayananFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.msruangpelayananFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.msruangpelayananFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.msruangpelayananFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.msruangpelayananFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.msruangpelayananCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.msruangpelayananCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.msruangpelayananDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.msruangpelayananUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.msruangpelayananDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.msruangpelayananUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.msruangpelayananUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.MsruangpelayananAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.msruangpelayananGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.msruangpelayananCountArgs, result: $Utils.Optional | number } } } mstindakan: { payload: Prisma.$mstindakanPayload fields: Prisma.mstindakanFieldRefs operations: { findUnique: { args: Prisma.mstindakanFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.mstindakanFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.mstindakanFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.mstindakanFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.mstindakanFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.mstindakanCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.mstindakanCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.mstindakanDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.mstindakanUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.mstindakanDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.mstindakanUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.mstindakanUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.MstindakanAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.mstindakanGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.mstindakanCountArgs, result: $Utils.Optional | number } } } trregistrasi: { payload: Prisma.$trregistrasiPayload fields: Prisma.trregistrasiFieldRefs operations: { findUnique: { args: Prisma.trregistrasiFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.trregistrasiFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.trregistrasiFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.trregistrasiFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.trregistrasiFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.trregistrasiCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.trregistrasiCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.trregistrasiDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.trregistrasiUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.trregistrasiDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.trregistrasiUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.trregistrasiUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.TrregistrasiAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.trregistrasiGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.trregistrasiCountArgs, result: $Utils.Optional | number } } } trtransaksi: { payload: Prisma.$trtransaksiPayload fields: Prisma.trtransaksiFieldRefs operations: { findUnique: { args: Prisma.trtransaksiFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.trtransaksiFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.trtransaksiFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.trtransaksiFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.trtransaksiFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.trtransaksiCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.trtransaksiCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.trtransaksiDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.trtransaksiUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.trtransaksiDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.trtransaksiUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.trtransaksiUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.TrtransaksiAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.trtransaksiGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.trtransaksiCountArgs, result: $Utils.Optional | number } } } msusers: { payload: Prisma.$msusersPayload fields: Prisma.msusersFieldRefs operations: { findUnique: { args: Prisma.msusersFindUniqueArgs, result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.msusersFindUniqueOrThrowArgs, result: $Utils.PayloadToResult } findFirst: { args: Prisma.msusersFindFirstArgs, result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.msusersFindFirstOrThrowArgs, result: $Utils.PayloadToResult } findMany: { args: Prisma.msusersFindManyArgs, result: $Utils.PayloadToResult[] } create: { args: Prisma.msusersCreateArgs, result: $Utils.PayloadToResult } createMany: { args: Prisma.msusersCreateManyArgs, result: Prisma.BatchPayload } delete: { args: Prisma.msusersDeleteArgs, result: $Utils.PayloadToResult } update: { args: Prisma.msusersUpdateArgs, result: $Utils.PayloadToResult } deleteMany: { args: Prisma.msusersDeleteManyArgs, result: Prisma.BatchPayload } updateMany: { args: Prisma.msusersUpdateManyArgs, result: Prisma.BatchPayload } upsert: { args: Prisma.msusersUpsertArgs, result: $Utils.PayloadToResult } aggregate: { args: Prisma.MsusersAggregateArgs, result: $Utils.Optional } groupBy: { args: Prisma.msusersGroupByArgs, result: $Utils.Optional[] } count: { args: Prisma.msusersCountArgs, result: $Utils.Optional | number } } } } } & { other: { payload: any operations: { $executeRawUnsafe: { args: [query: string, ...values: any[]], result: any } $executeRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } $queryRawUnsafe: { args: [query: string, ...values: any[]], result: any } $queryRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } } } } export const defineExtension: $Extensions.ExtendsHook<'define', Prisma.TypeMapCb, $Extensions.DefaultArgs> export type DefaultPrismaClient = PrismaClient export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' export interface PrismaClientOptions { /** * Overwrites the datasource url from your schema.prisma file */ datasources?: Datasources /** * Overwrites the datasource url from your schema.prisma file */ datasourceUrl?: string /** * @default "colorless" */ errorFormat?: ErrorFormat /** * @example * ``` * // Defaults to stdout * log: ['query', 'info', 'warn', 'error'] * * // Emit as events * log: [ * { emit: 'stdout', level: 'query' }, * { emit: 'stdout', level: 'info' }, * { emit: 'stdout', level: 'warn' } * { emit: 'stdout', level: 'error' } * ] * ``` * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option). */ log?: (LogLevel | LogDefinition)[] /** * The default values for transactionOptions * maxWait ?= 2000 * timeout ?= 5000 */ transactionOptions?: { maxWait?: number timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } } /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { level: LogLevel emit: 'stdout' | 'event' } export type GetLogType = T extends LogDefinition ? T['emit'] extends 'event' ? T['level'] : never : never export type GetEvents = T extends Array ? GetLogType | GetLogType | GetLogType | GetLogType : never export type QueryEvent = { timestamp: Date query: string params: string duration: number target: string } export type LogEvent = { timestamp: Date message: string target: string } /* End Types for Logging */ export type PrismaAction = | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy' /** * These options are being passed into the middleware as "params" */ export type MiddlewareParams = { model?: ModelName action: PrismaAction args: any dataPath: string[] runInTransaction: boolean } /** * The `T` type makes sure, that the `return proceed` is not forgotten in the middleware implementation */ export type Middleware = ( params: MiddlewareParams, next: (params: MiddlewareParams) => $Utils.JsPromise, ) => $Utils.JsPromise // tested in getLogLevel.test.ts export function getLogLevel(log: Array): LogLevel | undefined; /** * `PrismaClient` proxy available in interactive transactions. */ export type TransactionClient = Omit export type Datasource = { url?: string } /** * Count Types */ /** * Count Type MsasuransiCountOutputType */ export type MsasuransiCountOutputType = { trregistrasi: number } export type MsasuransiCountOutputTypeSelect = { trregistrasi?: boolean | MsasuransiCountOutputTypeCountTrregistrasiArgs } // Custom InputTypes /** * MsasuransiCountOutputType without action */ export type MsasuransiCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MsasuransiCountOutputType */ select?: MsasuransiCountOutputTypeSelect | null } /** * MsasuransiCountOutputType without action */ export type MsasuransiCountOutputTypeCountTrregistrasiArgs = { where?: trregistrasiWhereInput } /** * Count Type MspasienCountOutputType */ export type MspasienCountOutputType = { trregistrasi: number } export type MspasienCountOutputTypeSelect = { trregistrasi?: boolean | MspasienCountOutputTypeCountTrregistrasiArgs } // Custom InputTypes /** * MspasienCountOutputType without action */ export type MspasienCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MspasienCountOutputType */ select?: MspasienCountOutputTypeSelect | null } /** * MspasienCountOutputType without action */ export type MspasienCountOutputTypeCountTrregistrasiArgs = { where?: trregistrasiWhereInput } /** * Count Type MspegawaiCountOutputType */ export type MspegawaiCountOutputType = { trregistrasi: number trtransaksi: number } export type MspegawaiCountOutputTypeSelect = { trregistrasi?: boolean | MspegawaiCountOutputTypeCountTrregistrasiArgs trtransaksi?: boolean | MspegawaiCountOutputTypeCountTrtransaksiArgs } // Custom InputTypes /** * MspegawaiCountOutputType without action */ export type MspegawaiCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MspegawaiCountOutputType */ select?: MspegawaiCountOutputTypeSelect | null } /** * MspegawaiCountOutputType without action */ export type MspegawaiCountOutputTypeCountTrregistrasiArgs = { where?: trregistrasiWhereInput } /** * MspegawaiCountOutputType without action */ export type MspegawaiCountOutputTypeCountTrtransaksiArgs = { where?: trtransaksiWhereInput } /** * Count Type MsruangpelayananCountOutputType */ export type MsruangpelayananCountOutputType = { trregistrasi: number } export type MsruangpelayananCountOutputTypeSelect = { trregistrasi?: boolean | MsruangpelayananCountOutputTypeCountTrregistrasiArgs } // Custom InputTypes /** * MsruangpelayananCountOutputType without action */ export type MsruangpelayananCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MsruangpelayananCountOutputType */ select?: MsruangpelayananCountOutputTypeSelect | null } /** * MsruangpelayananCountOutputType without action */ export type MsruangpelayananCountOutputTypeCountTrregistrasiArgs = { where?: trregistrasiWhereInput } /** * Count Type MstindakanCountOutputType */ export type MstindakanCountOutputType = { trtransaksi: number } export type MstindakanCountOutputTypeSelect = { trtransaksi?: boolean | MstindakanCountOutputTypeCountTrtransaksiArgs } // Custom InputTypes /** * MstindakanCountOutputType without action */ export type MstindakanCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MstindakanCountOutputType */ select?: MstindakanCountOutputTypeSelect | null } /** * MstindakanCountOutputType without action */ export type MstindakanCountOutputTypeCountTrtransaksiArgs = { where?: trtransaksiWhereInput } /** * Count Type TrregistrasiCountOutputType */ export type TrregistrasiCountOutputType = { trtransaksi: number } export type TrregistrasiCountOutputTypeSelect = { trtransaksi?: boolean | TrregistrasiCountOutputTypeCountTrtransaksiArgs } // Custom InputTypes /** * TrregistrasiCountOutputType without action */ export type TrregistrasiCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the TrregistrasiCountOutputType */ select?: TrregistrasiCountOutputTypeSelect | null } /** * TrregistrasiCountOutputType without action */ export type TrregistrasiCountOutputTypeCountTrtransaksiArgs = { where?: trtransaksiWhereInput } /** * Models */ /** * Model msasuransi */ export type AggregateMsasuransi = { _count: MsasuransiCountAggregateOutputType | null _avg: MsasuransiAvgAggregateOutputType | null _sum: MsasuransiSumAggregateOutputType | null _min: MsasuransiMinAggregateOutputType | null _max: MsasuransiMaxAggregateOutputType | null } export type MsasuransiAvgAggregateOutputType = { idasuransi: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MsasuransiSumAggregateOutputType = { idasuransi: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MsasuransiMinAggregateOutputType = { idasuransi: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaasuransi: string | null } export type MsasuransiMaxAggregateOutputType = { idasuransi: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaasuransi: string | null } export type MsasuransiCountAggregateOutputType = { idasuransi: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number namaasuransi: number _all: number } export type MsasuransiAvgAggregateInputType = { idasuransi?: true created_by?: true modified_by?: true deleted_by?: true } export type MsasuransiSumAggregateInputType = { idasuransi?: true created_by?: true modified_by?: true deleted_by?: true } export type MsasuransiMinAggregateInputType = { idasuransi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namaasuransi?: true } export type MsasuransiMaxAggregateInputType = { idasuransi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namaasuransi?: true } export type MsasuransiCountAggregateInputType = { idasuransi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namaasuransi?: true _all?: true } export type MsasuransiAggregateArgs = { /** * Filter which msasuransi to aggregate. */ where?: msasuransiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msasuransis to fetch. */ orderBy?: msasuransiOrderByWithRelationInput | msasuransiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: msasuransiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msasuransis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msasuransis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned msasuransis **/ _count?: true | MsasuransiCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MsasuransiAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MsasuransiSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MsasuransiMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MsasuransiMaxAggregateInputType } export type GetMsasuransiAggregateType = { [P in keyof T & keyof AggregateMsasuransi]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type msasuransiGroupByArgs = { where?: msasuransiWhereInput orderBy?: msasuransiOrderByWithAggregationInput | msasuransiOrderByWithAggregationInput[] by: MsasuransiScalarFieldEnum[] | MsasuransiScalarFieldEnum having?: msasuransiScalarWhereWithAggregatesInput take?: number skip?: number _count?: MsasuransiCountAggregateInputType | true _avg?: MsasuransiAvgAggregateInputType _sum?: MsasuransiSumAggregateInputType _min?: MsasuransiMinAggregateInputType _max?: MsasuransiMaxAggregateInputType } export type MsasuransiGroupByOutputType = { idasuransi: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaasuransi: string | null _count: MsasuransiCountAggregateOutputType | null _avg: MsasuransiAvgAggregateOutputType | null _sum: MsasuransiSumAggregateOutputType | null _min: MsasuransiMinAggregateOutputType | null _max: MsasuransiMaxAggregateOutputType | null } type GetMsasuransiGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MsasuransiGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type msasuransiSelect = $Extensions.GetSelect<{ idasuransi?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namaasuransi?: boolean trregistrasi?: boolean | msasuransi$trregistrasiArgs _count?: boolean | MsasuransiCountOutputTypeDefaultArgs }, ExtArgs["result"]["msasuransi"]> export type msasuransiSelectScalar = { idasuransi?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namaasuransi?: boolean } export type msasuransiInclude = { trregistrasi?: boolean | msasuransi$trregistrasiArgs _count?: boolean | MsasuransiCountOutputTypeDefaultArgs } export type $msasuransiPayload = { name: "msasuransi" objects: { trregistrasi: Prisma.$trregistrasiPayload[] } scalars: $Extensions.GetPayloadResult<{ idasuransi: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaasuransi: string | null }, ExtArgs["result"]["msasuransi"]> composites: {} } type msasuransiGetPayload = $Result.GetResult type msasuransiCountArgs = Omit & { select?: MsasuransiCountAggregateInputType | true } export interface msasuransiDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['msasuransi'], meta: { name: 'msasuransi' } } /** * Find zero or one Msasuransi that matches the filter. * @param {msasuransiFindUniqueArgs} args - Arguments to find a Msasuransi * @example * // Get one Msasuransi * const msasuransi = await prisma.msasuransi.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Msasuransi that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {msasuransiFindUniqueOrThrowArgs} args - Arguments to find a Msasuransi * @example * // Get one Msasuransi * const msasuransi = await prisma.msasuransi.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Msasuransi that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msasuransiFindFirstArgs} args - Arguments to find a Msasuransi * @example * // Get one Msasuransi * const msasuransi = await prisma.msasuransi.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Msasuransi that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msasuransiFindFirstOrThrowArgs} args - Arguments to find a Msasuransi * @example * // Get one Msasuransi * const msasuransi = await prisma.msasuransi.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Msasuransis that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msasuransiFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Msasuransis * const msasuransis = await prisma.msasuransi.findMany() * * // Get first 10 Msasuransis * const msasuransis = await prisma.msasuransi.findMany({ take: 10 }) * * // Only select the `idasuransi` * const msasuransiWithIdasuransiOnly = await prisma.msasuransi.findMany({ select: { idasuransi: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Msasuransi. * @param {msasuransiCreateArgs} args - Arguments to create a Msasuransi. * @example * // Create one Msasuransi * const Msasuransi = await prisma.msasuransi.create({ * data: { * // ... data to create a Msasuransi * } * }) * **/ create>( args: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Msasuransis. * @param {msasuransiCreateManyArgs} args - Arguments to create many Msasuransis. * @example * // Create many Msasuransis * const msasuransi = await prisma.msasuransi.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Msasuransi. * @param {msasuransiDeleteArgs} args - Arguments to delete one Msasuransi. * @example * // Delete one Msasuransi * const Msasuransi = await prisma.msasuransi.delete({ * where: { * // ... filter to delete one Msasuransi * } * }) * **/ delete>( args: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Msasuransi. * @param {msasuransiUpdateArgs} args - Arguments to update one Msasuransi. * @example * // Update one Msasuransi * const msasuransi = await prisma.msasuransi.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Msasuransis. * @param {msasuransiDeleteManyArgs} args - Arguments to filter Msasuransis to delete. * @example * // Delete a few Msasuransis * const { count } = await prisma.msasuransi.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Msasuransis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msasuransiUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Msasuransis * const msasuransi = await prisma.msasuransi.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Msasuransi. * @param {msasuransiUpsertArgs} args - Arguments to update or create a Msasuransi. * @example * // Update or create a Msasuransi * const msasuransi = await prisma.msasuransi.upsert({ * create: { * // ... data to create a Msasuransi * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Msasuransi we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__msasuransiClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Msasuransis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msasuransiCountArgs} args - Arguments to filter Msasuransis to count. * @example * // Count the number of Msasuransis * const count = await prisma.msasuransi.count({ * where: { * // ... the filter for the Msasuransis we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Msasuransi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MsasuransiAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Msasuransi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msasuransiGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends msasuransiGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: msasuransiGroupByArgs['orderBy'] } : { orderBy?: msasuransiGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMsasuransiGroupByPayload : Prisma.PrismaPromise /** * Fields of the msasuransi model */ readonly fields: msasuransiFieldRefs; } /** * The delegate class that acts as a "Promise-like" for msasuransi. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__msasuransiClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; trregistrasi = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the msasuransi model */ interface msasuransiFieldRefs { readonly idasuransi: FieldRef<"msasuransi", 'Int'> readonly created_at: FieldRef<"msasuransi", 'DateTime'> readonly created_by: FieldRef<"msasuransi", 'Int'> readonly modified_at: FieldRef<"msasuransi", 'DateTime'> readonly modified_by: FieldRef<"msasuransi", 'Int'> readonly deleted_at: FieldRef<"msasuransi", 'DateTime'> readonly deleted_by: FieldRef<"msasuransi", 'Int'> readonly namaasuransi: FieldRef<"msasuransi", 'String'> } // Custom InputTypes /** * msasuransi findUnique */ export type msasuransiFindUniqueArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * Filter, which msasuransi to fetch. */ where: msasuransiWhereUniqueInput } /** * msasuransi findUniqueOrThrow */ export type msasuransiFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * Filter, which msasuransi to fetch. */ where: msasuransiWhereUniqueInput } /** * msasuransi findFirst */ export type msasuransiFindFirstArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * Filter, which msasuransi to fetch. */ where?: msasuransiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msasuransis to fetch. */ orderBy?: msasuransiOrderByWithRelationInput | msasuransiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for msasuransis. */ cursor?: msasuransiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msasuransis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msasuransis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of msasuransis. */ distinct?: MsasuransiScalarFieldEnum | MsasuransiScalarFieldEnum[] } /** * msasuransi findFirstOrThrow */ export type msasuransiFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * Filter, which msasuransi to fetch. */ where?: msasuransiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msasuransis to fetch. */ orderBy?: msasuransiOrderByWithRelationInput | msasuransiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for msasuransis. */ cursor?: msasuransiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msasuransis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msasuransis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of msasuransis. */ distinct?: MsasuransiScalarFieldEnum | MsasuransiScalarFieldEnum[] } /** * msasuransi findMany */ export type msasuransiFindManyArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * Filter, which msasuransis to fetch. */ where?: msasuransiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msasuransis to fetch. */ orderBy?: msasuransiOrderByWithRelationInput | msasuransiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing msasuransis. */ cursor?: msasuransiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msasuransis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msasuransis. */ skip?: number distinct?: MsasuransiScalarFieldEnum | MsasuransiScalarFieldEnum[] } /** * msasuransi create */ export type msasuransiCreateArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * The data needed to create a msasuransi. */ data: XOR } /** * msasuransi createMany */ export type msasuransiCreateManyArgs = { /** * The data used to create many msasuransis. */ data: msasuransiCreateManyInput | msasuransiCreateManyInput[] skipDuplicates?: boolean } /** * msasuransi update */ export type msasuransiUpdateArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * The data needed to update a msasuransi. */ data: XOR /** * Choose, which msasuransi to update. */ where: msasuransiWhereUniqueInput } /** * msasuransi updateMany */ export type msasuransiUpdateManyArgs = { /** * The data used to update msasuransis. */ data: XOR /** * Filter which msasuransis to update */ where?: msasuransiWhereInput } /** * msasuransi upsert */ export type msasuransiUpsertArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * The filter to search for the msasuransi to update in case it exists. */ where: msasuransiWhereUniqueInput /** * In case the msasuransi found by the `where` argument doesn't exist, create a new msasuransi with this data. */ create: XOR /** * In case the msasuransi was found with the provided `where` argument, update it with this data. */ update: XOR } /** * msasuransi delete */ export type msasuransiDeleteArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null /** * Filter which msasuransi to delete. */ where: msasuransiWhereUniqueInput } /** * msasuransi deleteMany */ export type msasuransiDeleteManyArgs = { /** * Filter which msasuransis to delete */ where?: msasuransiWhereInput } /** * msasuransi.trregistrasi */ export type msasuransi$trregistrasiArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null where?: trregistrasiWhereInput orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] cursor?: trregistrasiWhereUniqueInput take?: number skip?: number distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[] } /** * msasuransi without action */ export type msasuransiDefaultArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null } /** * Model mspasien */ export type AggregateMspasien = { _count: MspasienCountAggregateOutputType | null _avg: MspasienAvgAggregateOutputType | null _sum: MspasienSumAggregateOutputType | null _min: MspasienMinAggregateOutputType | null _max: MspasienMaxAggregateOutputType | null } export type MspasienAvgAggregateOutputType = { idpasien: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MspasienSumAggregateOutputType = { idpasien: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MspasienMinAggregateOutputType = { idpasien: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null mrpasien: string | null namapasien: string | null tanggallahir: Date | null jeniskelamin: string | null } export type MspasienMaxAggregateOutputType = { idpasien: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null mrpasien: string | null namapasien: string | null tanggallahir: Date | null jeniskelamin: string | null } export type MspasienCountAggregateOutputType = { idpasien: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number mrpasien: number namapasien: number tanggallahir: number jeniskelamin: number _all: number } export type MspasienAvgAggregateInputType = { idpasien?: true created_by?: true modified_by?: true deleted_by?: true } export type MspasienSumAggregateInputType = { idpasien?: true created_by?: true modified_by?: true deleted_by?: true } export type MspasienMinAggregateInputType = { idpasien?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true mrpasien?: true namapasien?: true tanggallahir?: true jeniskelamin?: true } export type MspasienMaxAggregateInputType = { idpasien?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true mrpasien?: true namapasien?: true tanggallahir?: true jeniskelamin?: true } export type MspasienCountAggregateInputType = { idpasien?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true mrpasien?: true namapasien?: true tanggallahir?: true jeniskelamin?: true _all?: true } export type MspasienAggregateArgs = { /** * Filter which mspasien to aggregate. */ where?: mspasienWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspasiens to fetch. */ orderBy?: mspasienOrderByWithRelationInput | mspasienOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: mspasienWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspasiens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspasiens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned mspasiens **/ _count?: true | MspasienCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MspasienAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MspasienSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MspasienMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MspasienMaxAggregateInputType } export type GetMspasienAggregateType = { [P in keyof T & keyof AggregateMspasien]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type mspasienGroupByArgs = { where?: mspasienWhereInput orderBy?: mspasienOrderByWithAggregationInput | mspasienOrderByWithAggregationInput[] by: MspasienScalarFieldEnum[] | MspasienScalarFieldEnum having?: mspasienScalarWhereWithAggregatesInput take?: number skip?: number _count?: MspasienCountAggregateInputType | true _avg?: MspasienAvgAggregateInputType _sum?: MspasienSumAggregateInputType _min?: MspasienMinAggregateInputType _max?: MspasienMaxAggregateInputType } export type MspasienGroupByOutputType = { idpasien: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null mrpasien: string | null namapasien: string | null tanggallahir: Date | null jeniskelamin: string | null _count: MspasienCountAggregateOutputType | null _avg: MspasienAvgAggregateOutputType | null _sum: MspasienSumAggregateOutputType | null _min: MspasienMinAggregateOutputType | null _max: MspasienMaxAggregateOutputType | null } type GetMspasienGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MspasienGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type mspasienSelect = $Extensions.GetSelect<{ idpasien?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean mrpasien?: boolean namapasien?: boolean tanggallahir?: boolean jeniskelamin?: boolean trregistrasi?: boolean | mspasien$trregistrasiArgs _count?: boolean | MspasienCountOutputTypeDefaultArgs }, ExtArgs["result"]["mspasien"]> export type mspasienSelectScalar = { idpasien?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean mrpasien?: boolean namapasien?: boolean tanggallahir?: boolean jeniskelamin?: boolean } export type mspasienInclude = { trregistrasi?: boolean | mspasien$trregistrasiArgs _count?: boolean | MspasienCountOutputTypeDefaultArgs } export type $mspasienPayload = { name: "mspasien" objects: { trregistrasi: Prisma.$trregistrasiPayload[] } scalars: $Extensions.GetPayloadResult<{ idpasien: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null mrpasien: string | null namapasien: string | null tanggallahir: Date | null jeniskelamin: string | null }, ExtArgs["result"]["mspasien"]> composites: {} } type mspasienGetPayload = $Result.GetResult type mspasienCountArgs = Omit & { select?: MspasienCountAggregateInputType | true } export interface mspasienDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['mspasien'], meta: { name: 'mspasien' } } /** * Find zero or one Mspasien that matches the filter. * @param {mspasienFindUniqueArgs} args - Arguments to find a Mspasien * @example * // Get one Mspasien * const mspasien = await prisma.mspasien.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Mspasien that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {mspasienFindUniqueOrThrowArgs} args - Arguments to find a Mspasien * @example * // Get one Mspasien * const mspasien = await prisma.mspasien.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Mspasien that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspasienFindFirstArgs} args - Arguments to find a Mspasien * @example * // Get one Mspasien * const mspasien = await prisma.mspasien.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Mspasien that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspasienFindFirstOrThrowArgs} args - Arguments to find a Mspasien * @example * // Get one Mspasien * const mspasien = await prisma.mspasien.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Mspasiens that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspasienFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Mspasiens * const mspasiens = await prisma.mspasien.findMany() * * // Get first 10 Mspasiens * const mspasiens = await prisma.mspasien.findMany({ take: 10 }) * * // Only select the `idpasien` * const mspasienWithIdpasienOnly = await prisma.mspasien.findMany({ select: { idpasien: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Mspasien. * @param {mspasienCreateArgs} args - Arguments to create a Mspasien. * @example * // Create one Mspasien * const Mspasien = await prisma.mspasien.create({ * data: { * // ... data to create a Mspasien * } * }) * **/ create>( args: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Mspasiens. * @param {mspasienCreateManyArgs} args - Arguments to create many Mspasiens. * @example * // Create many Mspasiens * const mspasien = await prisma.mspasien.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Mspasien. * @param {mspasienDeleteArgs} args - Arguments to delete one Mspasien. * @example * // Delete one Mspasien * const Mspasien = await prisma.mspasien.delete({ * where: { * // ... filter to delete one Mspasien * } * }) * **/ delete>( args: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Mspasien. * @param {mspasienUpdateArgs} args - Arguments to update one Mspasien. * @example * // Update one Mspasien * const mspasien = await prisma.mspasien.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Mspasiens. * @param {mspasienDeleteManyArgs} args - Arguments to filter Mspasiens to delete. * @example * // Delete a few Mspasiens * const { count } = await prisma.mspasien.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Mspasiens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspasienUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Mspasiens * const mspasien = await prisma.mspasien.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Mspasien. * @param {mspasienUpsertArgs} args - Arguments to update or create a Mspasien. * @example * // Update or create a Mspasien * const mspasien = await prisma.mspasien.upsert({ * create: { * // ... data to create a Mspasien * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Mspasien we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__mspasienClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Mspasiens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspasienCountArgs} args - Arguments to filter Mspasiens to count. * @example * // Count the number of Mspasiens * const count = await prisma.mspasien.count({ * where: { * // ... the filter for the Mspasiens we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Mspasien. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MspasienAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Mspasien. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspasienGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends mspasienGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: mspasienGroupByArgs['orderBy'] } : { orderBy?: mspasienGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMspasienGroupByPayload : Prisma.PrismaPromise /** * Fields of the mspasien model */ readonly fields: mspasienFieldRefs; } /** * The delegate class that acts as a "Promise-like" for mspasien. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__mspasienClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; trregistrasi = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the mspasien model */ interface mspasienFieldRefs { readonly idpasien: FieldRef<"mspasien", 'Int'> readonly created_at: FieldRef<"mspasien", 'DateTime'> readonly created_by: FieldRef<"mspasien", 'Int'> readonly modified_at: FieldRef<"mspasien", 'DateTime'> readonly modified_by: FieldRef<"mspasien", 'Int'> readonly deleted_at: FieldRef<"mspasien", 'DateTime'> readonly deleted_by: FieldRef<"mspasien", 'Int'> readonly mrpasien: FieldRef<"mspasien", 'String'> readonly namapasien: FieldRef<"mspasien", 'String'> readonly tanggallahir: FieldRef<"mspasien", 'DateTime'> readonly jeniskelamin: FieldRef<"mspasien", 'String'> } // Custom InputTypes /** * mspasien findUnique */ export type mspasienFindUniqueArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * Filter, which mspasien to fetch. */ where: mspasienWhereUniqueInput } /** * mspasien findUniqueOrThrow */ export type mspasienFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * Filter, which mspasien to fetch. */ where: mspasienWhereUniqueInput } /** * mspasien findFirst */ export type mspasienFindFirstArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * Filter, which mspasien to fetch. */ where?: mspasienWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspasiens to fetch. */ orderBy?: mspasienOrderByWithRelationInput | mspasienOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for mspasiens. */ cursor?: mspasienWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspasiens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspasiens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of mspasiens. */ distinct?: MspasienScalarFieldEnum | MspasienScalarFieldEnum[] } /** * mspasien findFirstOrThrow */ export type mspasienFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * Filter, which mspasien to fetch. */ where?: mspasienWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspasiens to fetch. */ orderBy?: mspasienOrderByWithRelationInput | mspasienOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for mspasiens. */ cursor?: mspasienWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspasiens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspasiens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of mspasiens. */ distinct?: MspasienScalarFieldEnum | MspasienScalarFieldEnum[] } /** * mspasien findMany */ export type mspasienFindManyArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * Filter, which mspasiens to fetch. */ where?: mspasienWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspasiens to fetch. */ orderBy?: mspasienOrderByWithRelationInput | mspasienOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing mspasiens. */ cursor?: mspasienWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspasiens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspasiens. */ skip?: number distinct?: MspasienScalarFieldEnum | MspasienScalarFieldEnum[] } /** * mspasien create */ export type mspasienCreateArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * The data needed to create a mspasien. */ data: XOR } /** * mspasien createMany */ export type mspasienCreateManyArgs = { /** * The data used to create many mspasiens. */ data: mspasienCreateManyInput | mspasienCreateManyInput[] skipDuplicates?: boolean } /** * mspasien update */ export type mspasienUpdateArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * The data needed to update a mspasien. */ data: XOR /** * Choose, which mspasien to update. */ where: mspasienWhereUniqueInput } /** * mspasien updateMany */ export type mspasienUpdateManyArgs = { /** * The data used to update mspasiens. */ data: XOR /** * Filter which mspasiens to update */ where?: mspasienWhereInput } /** * mspasien upsert */ export type mspasienUpsertArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * The filter to search for the mspasien to update in case it exists. */ where: mspasienWhereUniqueInput /** * In case the mspasien found by the `where` argument doesn't exist, create a new mspasien with this data. */ create: XOR /** * In case the mspasien was found with the provided `where` argument, update it with this data. */ update: XOR } /** * mspasien delete */ export type mspasienDeleteArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null /** * Filter which mspasien to delete. */ where: mspasienWhereUniqueInput } /** * mspasien deleteMany */ export type mspasienDeleteManyArgs = { /** * Filter which mspasiens to delete */ where?: mspasienWhereInput } /** * mspasien.trregistrasi */ export type mspasien$trregistrasiArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null where?: trregistrasiWhereInput orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] cursor?: trregistrasiWhereUniqueInput take?: number skip?: number distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[] } /** * mspasien without action */ export type mspasienDefaultArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null } /** * Model mspegawai */ export type AggregateMspegawai = { _count: MspegawaiCountAggregateOutputType | null _avg: MspegawaiAvgAggregateOutputType | null _sum: MspegawaiSumAggregateOutputType | null _min: MspegawaiMinAggregateOutputType | null _max: MspegawaiMaxAggregateOutputType | null } export type MspegawaiAvgAggregateOutputType = { idpegawai: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MspegawaiSumAggregateOutputType = { idpegawai: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MspegawaiMinAggregateOutputType = { idpegawai: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namapegawai: string | null } export type MspegawaiMaxAggregateOutputType = { idpegawai: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namapegawai: string | null } export type MspegawaiCountAggregateOutputType = { idpegawai: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number namapegawai: number _all: number } export type MspegawaiAvgAggregateInputType = { idpegawai?: true created_by?: true modified_by?: true deleted_by?: true } export type MspegawaiSumAggregateInputType = { idpegawai?: true created_by?: true modified_by?: true deleted_by?: true } export type MspegawaiMinAggregateInputType = { idpegawai?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namapegawai?: true } export type MspegawaiMaxAggregateInputType = { idpegawai?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namapegawai?: true } export type MspegawaiCountAggregateInputType = { idpegawai?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namapegawai?: true _all?: true } export type MspegawaiAggregateArgs = { /** * Filter which mspegawai to aggregate. */ where?: mspegawaiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspegawais to fetch. */ orderBy?: mspegawaiOrderByWithRelationInput | mspegawaiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: mspegawaiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspegawais from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspegawais. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned mspegawais **/ _count?: true | MspegawaiCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MspegawaiAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MspegawaiSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MspegawaiMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MspegawaiMaxAggregateInputType } export type GetMspegawaiAggregateType = { [P in keyof T & keyof AggregateMspegawai]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type mspegawaiGroupByArgs = { where?: mspegawaiWhereInput orderBy?: mspegawaiOrderByWithAggregationInput | mspegawaiOrderByWithAggregationInput[] by: MspegawaiScalarFieldEnum[] | MspegawaiScalarFieldEnum having?: mspegawaiScalarWhereWithAggregatesInput take?: number skip?: number _count?: MspegawaiCountAggregateInputType | true _avg?: MspegawaiAvgAggregateInputType _sum?: MspegawaiSumAggregateInputType _min?: MspegawaiMinAggregateInputType _max?: MspegawaiMaxAggregateInputType } export type MspegawaiGroupByOutputType = { idpegawai: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namapegawai: string | null _count: MspegawaiCountAggregateOutputType | null _avg: MspegawaiAvgAggregateOutputType | null _sum: MspegawaiSumAggregateOutputType | null _min: MspegawaiMinAggregateOutputType | null _max: MspegawaiMaxAggregateOutputType | null } type GetMspegawaiGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MspegawaiGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type mspegawaiSelect = $Extensions.GetSelect<{ idpegawai?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namapegawai?: boolean trregistrasi?: boolean | mspegawai$trregistrasiArgs trtransaksi?: boolean | mspegawai$trtransaksiArgs _count?: boolean | MspegawaiCountOutputTypeDefaultArgs }, ExtArgs["result"]["mspegawai"]> export type mspegawaiSelectScalar = { idpegawai?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namapegawai?: boolean } export type mspegawaiInclude = { trregistrasi?: boolean | mspegawai$trregistrasiArgs trtransaksi?: boolean | mspegawai$trtransaksiArgs _count?: boolean | MspegawaiCountOutputTypeDefaultArgs } export type $mspegawaiPayload = { name: "mspegawai" objects: { trregistrasi: Prisma.$trregistrasiPayload[] trtransaksi: Prisma.$trtransaksiPayload[] } scalars: $Extensions.GetPayloadResult<{ idpegawai: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namapegawai: string | null }, ExtArgs["result"]["mspegawai"]> composites: {} } type mspegawaiGetPayload = $Result.GetResult type mspegawaiCountArgs = Omit & { select?: MspegawaiCountAggregateInputType | true } export interface mspegawaiDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['mspegawai'], meta: { name: 'mspegawai' } } /** * Find zero or one Mspegawai that matches the filter. * @param {mspegawaiFindUniqueArgs} args - Arguments to find a Mspegawai * @example * // Get one Mspegawai * const mspegawai = await prisma.mspegawai.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Mspegawai that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {mspegawaiFindUniqueOrThrowArgs} args - Arguments to find a Mspegawai * @example * // Get one Mspegawai * const mspegawai = await prisma.mspegawai.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Mspegawai that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspegawaiFindFirstArgs} args - Arguments to find a Mspegawai * @example * // Get one Mspegawai * const mspegawai = await prisma.mspegawai.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Mspegawai that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspegawaiFindFirstOrThrowArgs} args - Arguments to find a Mspegawai * @example * // Get one Mspegawai * const mspegawai = await prisma.mspegawai.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Mspegawais that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspegawaiFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Mspegawais * const mspegawais = await prisma.mspegawai.findMany() * * // Get first 10 Mspegawais * const mspegawais = await prisma.mspegawai.findMany({ take: 10 }) * * // Only select the `idpegawai` * const mspegawaiWithIdpegawaiOnly = await prisma.mspegawai.findMany({ select: { idpegawai: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Mspegawai. * @param {mspegawaiCreateArgs} args - Arguments to create a Mspegawai. * @example * // Create one Mspegawai * const Mspegawai = await prisma.mspegawai.create({ * data: { * // ... data to create a Mspegawai * } * }) * **/ create>( args: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Mspegawais. * @param {mspegawaiCreateManyArgs} args - Arguments to create many Mspegawais. * @example * // Create many Mspegawais * const mspegawai = await prisma.mspegawai.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Mspegawai. * @param {mspegawaiDeleteArgs} args - Arguments to delete one Mspegawai. * @example * // Delete one Mspegawai * const Mspegawai = await prisma.mspegawai.delete({ * where: { * // ... filter to delete one Mspegawai * } * }) * **/ delete>( args: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Mspegawai. * @param {mspegawaiUpdateArgs} args - Arguments to update one Mspegawai. * @example * // Update one Mspegawai * const mspegawai = await prisma.mspegawai.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Mspegawais. * @param {mspegawaiDeleteManyArgs} args - Arguments to filter Mspegawais to delete. * @example * // Delete a few Mspegawais * const { count } = await prisma.mspegawai.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Mspegawais. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspegawaiUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Mspegawais * const mspegawai = await prisma.mspegawai.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Mspegawai. * @param {mspegawaiUpsertArgs} args - Arguments to update or create a Mspegawai. * @example * // Update or create a Mspegawai * const mspegawai = await prisma.mspegawai.upsert({ * create: { * // ... data to create a Mspegawai * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Mspegawai we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__mspegawaiClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Mspegawais. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspegawaiCountArgs} args - Arguments to filter Mspegawais to count. * @example * // Count the number of Mspegawais * const count = await prisma.mspegawai.count({ * where: { * // ... the filter for the Mspegawais we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Mspegawai. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MspegawaiAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Mspegawai. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mspegawaiGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends mspegawaiGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: mspegawaiGroupByArgs['orderBy'] } : { orderBy?: mspegawaiGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMspegawaiGroupByPayload : Prisma.PrismaPromise /** * Fields of the mspegawai model */ readonly fields: mspegawaiFieldRefs; } /** * The delegate class that acts as a "Promise-like" for mspegawai. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__mspegawaiClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; trregistrasi = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; trtransaksi = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the mspegawai model */ interface mspegawaiFieldRefs { readonly idpegawai: FieldRef<"mspegawai", 'Int'> readonly created_at: FieldRef<"mspegawai", 'DateTime'> readonly created_by: FieldRef<"mspegawai", 'Int'> readonly modified_at: FieldRef<"mspegawai", 'DateTime'> readonly modified_by: FieldRef<"mspegawai", 'Int'> readonly deleted_at: FieldRef<"mspegawai", 'DateTime'> readonly deleted_by: FieldRef<"mspegawai", 'Int'> readonly namapegawai: FieldRef<"mspegawai", 'String'> } // Custom InputTypes /** * mspegawai findUnique */ export type mspegawaiFindUniqueArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * Filter, which mspegawai to fetch. */ where: mspegawaiWhereUniqueInput } /** * mspegawai findUniqueOrThrow */ export type mspegawaiFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * Filter, which mspegawai to fetch. */ where: mspegawaiWhereUniqueInput } /** * mspegawai findFirst */ export type mspegawaiFindFirstArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * Filter, which mspegawai to fetch. */ where?: mspegawaiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspegawais to fetch. */ orderBy?: mspegawaiOrderByWithRelationInput | mspegawaiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for mspegawais. */ cursor?: mspegawaiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspegawais from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspegawais. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of mspegawais. */ distinct?: MspegawaiScalarFieldEnum | MspegawaiScalarFieldEnum[] } /** * mspegawai findFirstOrThrow */ export type mspegawaiFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * Filter, which mspegawai to fetch. */ where?: mspegawaiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspegawais to fetch. */ orderBy?: mspegawaiOrderByWithRelationInput | mspegawaiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for mspegawais. */ cursor?: mspegawaiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspegawais from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspegawais. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of mspegawais. */ distinct?: MspegawaiScalarFieldEnum | MspegawaiScalarFieldEnum[] } /** * mspegawai findMany */ export type mspegawaiFindManyArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * Filter, which mspegawais to fetch. */ where?: mspegawaiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mspegawais to fetch. */ orderBy?: mspegawaiOrderByWithRelationInput | mspegawaiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing mspegawais. */ cursor?: mspegawaiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mspegawais from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mspegawais. */ skip?: number distinct?: MspegawaiScalarFieldEnum | MspegawaiScalarFieldEnum[] } /** * mspegawai create */ export type mspegawaiCreateArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * The data needed to create a mspegawai. */ data: XOR } /** * mspegawai createMany */ export type mspegawaiCreateManyArgs = { /** * The data used to create many mspegawais. */ data: mspegawaiCreateManyInput | mspegawaiCreateManyInput[] skipDuplicates?: boolean } /** * mspegawai update */ export type mspegawaiUpdateArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * The data needed to update a mspegawai. */ data: XOR /** * Choose, which mspegawai to update. */ where: mspegawaiWhereUniqueInput } /** * mspegawai updateMany */ export type mspegawaiUpdateManyArgs = { /** * The data used to update mspegawais. */ data: XOR /** * Filter which mspegawais to update */ where?: mspegawaiWhereInput } /** * mspegawai upsert */ export type mspegawaiUpsertArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * The filter to search for the mspegawai to update in case it exists. */ where: mspegawaiWhereUniqueInput /** * In case the mspegawai found by the `where` argument doesn't exist, create a new mspegawai with this data. */ create: XOR /** * In case the mspegawai was found with the provided `where` argument, update it with this data. */ update: XOR } /** * mspegawai delete */ export type mspegawaiDeleteArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null /** * Filter which mspegawai to delete. */ where: mspegawaiWhereUniqueInput } /** * mspegawai deleteMany */ export type mspegawaiDeleteManyArgs = { /** * Filter which mspegawais to delete */ where?: mspegawaiWhereInput } /** * mspegawai.trregistrasi */ export type mspegawai$trregistrasiArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null where?: trregistrasiWhereInput orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] cursor?: trregistrasiWhereUniqueInput take?: number skip?: number distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[] } /** * mspegawai.trtransaksi */ export type mspegawai$trtransaksiArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null where?: trtransaksiWhereInput orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[] cursor?: trtransaksiWhereUniqueInput take?: number skip?: number distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[] } /** * mspegawai without action */ export type mspegawaiDefaultArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null } /** * Model msruangpelayanan */ export type AggregateMsruangpelayanan = { _count: MsruangpelayananCountAggregateOutputType | null _avg: MsruangpelayananAvgAggregateOutputType | null _sum: MsruangpelayananSumAggregateOutputType | null _min: MsruangpelayananMinAggregateOutputType | null _max: MsruangpelayananMaxAggregateOutputType | null } export type MsruangpelayananAvgAggregateOutputType = { idruangpelayanan: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MsruangpelayananSumAggregateOutputType = { idruangpelayanan: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MsruangpelayananMinAggregateOutputType = { idruangpelayanan: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaruangpelayanan: string | null } export type MsruangpelayananMaxAggregateOutputType = { idruangpelayanan: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaruangpelayanan: string | null } export type MsruangpelayananCountAggregateOutputType = { idruangpelayanan: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number namaruangpelayanan: number _all: number } export type MsruangpelayananAvgAggregateInputType = { idruangpelayanan?: true created_by?: true modified_by?: true deleted_by?: true } export type MsruangpelayananSumAggregateInputType = { idruangpelayanan?: true created_by?: true modified_by?: true deleted_by?: true } export type MsruangpelayananMinAggregateInputType = { idruangpelayanan?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namaruangpelayanan?: true } export type MsruangpelayananMaxAggregateInputType = { idruangpelayanan?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namaruangpelayanan?: true } export type MsruangpelayananCountAggregateInputType = { idruangpelayanan?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namaruangpelayanan?: true _all?: true } export type MsruangpelayananAggregateArgs = { /** * Filter which msruangpelayanan to aggregate. */ where?: msruangpelayananWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msruangpelayanans to fetch. */ orderBy?: msruangpelayananOrderByWithRelationInput | msruangpelayananOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: msruangpelayananWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msruangpelayanans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msruangpelayanans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned msruangpelayanans **/ _count?: true | MsruangpelayananCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MsruangpelayananAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MsruangpelayananSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MsruangpelayananMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MsruangpelayananMaxAggregateInputType } export type GetMsruangpelayananAggregateType = { [P in keyof T & keyof AggregateMsruangpelayanan]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type msruangpelayananGroupByArgs = { where?: msruangpelayananWhereInput orderBy?: msruangpelayananOrderByWithAggregationInput | msruangpelayananOrderByWithAggregationInput[] by: MsruangpelayananScalarFieldEnum[] | MsruangpelayananScalarFieldEnum having?: msruangpelayananScalarWhereWithAggregatesInput take?: number skip?: number _count?: MsruangpelayananCountAggregateInputType | true _avg?: MsruangpelayananAvgAggregateInputType _sum?: MsruangpelayananSumAggregateInputType _min?: MsruangpelayananMinAggregateInputType _max?: MsruangpelayananMaxAggregateInputType } export type MsruangpelayananGroupByOutputType = { idruangpelayanan: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaruangpelayanan: string | null _count: MsruangpelayananCountAggregateOutputType | null _avg: MsruangpelayananAvgAggregateOutputType | null _sum: MsruangpelayananSumAggregateOutputType | null _min: MsruangpelayananMinAggregateOutputType | null _max: MsruangpelayananMaxAggregateOutputType | null } type GetMsruangpelayananGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MsruangpelayananGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type msruangpelayananSelect = $Extensions.GetSelect<{ idruangpelayanan?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namaruangpelayanan?: boolean trregistrasi?: boolean | msruangpelayanan$trregistrasiArgs _count?: boolean | MsruangpelayananCountOutputTypeDefaultArgs }, ExtArgs["result"]["msruangpelayanan"]> export type msruangpelayananSelectScalar = { idruangpelayanan?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namaruangpelayanan?: boolean } export type msruangpelayananInclude = { trregistrasi?: boolean | msruangpelayanan$trregistrasiArgs _count?: boolean | MsruangpelayananCountOutputTypeDefaultArgs } export type $msruangpelayananPayload = { name: "msruangpelayanan" objects: { trregistrasi: Prisma.$trregistrasiPayload[] } scalars: $Extensions.GetPayloadResult<{ idruangpelayanan: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namaruangpelayanan: string | null }, ExtArgs["result"]["msruangpelayanan"]> composites: {} } type msruangpelayananGetPayload = $Result.GetResult type msruangpelayananCountArgs = Omit & { select?: MsruangpelayananCountAggregateInputType | true } export interface msruangpelayananDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['msruangpelayanan'], meta: { name: 'msruangpelayanan' } } /** * Find zero or one Msruangpelayanan that matches the filter. * @param {msruangpelayananFindUniqueArgs} args - Arguments to find a Msruangpelayanan * @example * // Get one Msruangpelayanan * const msruangpelayanan = await prisma.msruangpelayanan.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Msruangpelayanan that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {msruangpelayananFindUniqueOrThrowArgs} args - Arguments to find a Msruangpelayanan * @example * // Get one Msruangpelayanan * const msruangpelayanan = await prisma.msruangpelayanan.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Msruangpelayanan that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msruangpelayananFindFirstArgs} args - Arguments to find a Msruangpelayanan * @example * // Get one Msruangpelayanan * const msruangpelayanan = await prisma.msruangpelayanan.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Msruangpelayanan that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msruangpelayananFindFirstOrThrowArgs} args - Arguments to find a Msruangpelayanan * @example * // Get one Msruangpelayanan * const msruangpelayanan = await prisma.msruangpelayanan.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Msruangpelayanans that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msruangpelayananFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Msruangpelayanans * const msruangpelayanans = await prisma.msruangpelayanan.findMany() * * // Get first 10 Msruangpelayanans * const msruangpelayanans = await prisma.msruangpelayanan.findMany({ take: 10 }) * * // Only select the `idruangpelayanan` * const msruangpelayananWithIdruangpelayananOnly = await prisma.msruangpelayanan.findMany({ select: { idruangpelayanan: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Msruangpelayanan. * @param {msruangpelayananCreateArgs} args - Arguments to create a Msruangpelayanan. * @example * // Create one Msruangpelayanan * const Msruangpelayanan = await prisma.msruangpelayanan.create({ * data: { * // ... data to create a Msruangpelayanan * } * }) * **/ create>( args: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Msruangpelayanans. * @param {msruangpelayananCreateManyArgs} args - Arguments to create many Msruangpelayanans. * @example * // Create many Msruangpelayanans * const msruangpelayanan = await prisma.msruangpelayanan.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Msruangpelayanan. * @param {msruangpelayananDeleteArgs} args - Arguments to delete one Msruangpelayanan. * @example * // Delete one Msruangpelayanan * const Msruangpelayanan = await prisma.msruangpelayanan.delete({ * where: { * // ... filter to delete one Msruangpelayanan * } * }) * **/ delete>( args: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Msruangpelayanan. * @param {msruangpelayananUpdateArgs} args - Arguments to update one Msruangpelayanan. * @example * // Update one Msruangpelayanan * const msruangpelayanan = await prisma.msruangpelayanan.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Msruangpelayanans. * @param {msruangpelayananDeleteManyArgs} args - Arguments to filter Msruangpelayanans to delete. * @example * // Delete a few Msruangpelayanans * const { count } = await prisma.msruangpelayanan.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Msruangpelayanans. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msruangpelayananUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Msruangpelayanans * const msruangpelayanan = await prisma.msruangpelayanan.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Msruangpelayanan. * @param {msruangpelayananUpsertArgs} args - Arguments to update or create a Msruangpelayanan. * @example * // Update or create a Msruangpelayanan * const msruangpelayanan = await prisma.msruangpelayanan.upsert({ * create: { * // ... data to create a Msruangpelayanan * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Msruangpelayanan we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__msruangpelayananClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Msruangpelayanans. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msruangpelayananCountArgs} args - Arguments to filter Msruangpelayanans to count. * @example * // Count the number of Msruangpelayanans * const count = await prisma.msruangpelayanan.count({ * where: { * // ... the filter for the Msruangpelayanans we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Msruangpelayanan. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MsruangpelayananAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Msruangpelayanan. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msruangpelayananGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends msruangpelayananGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: msruangpelayananGroupByArgs['orderBy'] } : { orderBy?: msruangpelayananGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMsruangpelayananGroupByPayload : Prisma.PrismaPromise /** * Fields of the msruangpelayanan model */ readonly fields: msruangpelayananFieldRefs; } /** * The delegate class that acts as a "Promise-like" for msruangpelayanan. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__msruangpelayananClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; trregistrasi = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the msruangpelayanan model */ interface msruangpelayananFieldRefs { readonly idruangpelayanan: FieldRef<"msruangpelayanan", 'Int'> readonly created_at: FieldRef<"msruangpelayanan", 'DateTime'> readonly created_by: FieldRef<"msruangpelayanan", 'Int'> readonly modified_at: FieldRef<"msruangpelayanan", 'DateTime'> readonly modified_by: FieldRef<"msruangpelayanan", 'Int'> readonly deleted_at: FieldRef<"msruangpelayanan", 'DateTime'> readonly deleted_by: FieldRef<"msruangpelayanan", 'Int'> readonly namaruangpelayanan: FieldRef<"msruangpelayanan", 'String'> } // Custom InputTypes /** * msruangpelayanan findUnique */ export type msruangpelayananFindUniqueArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * Filter, which msruangpelayanan to fetch. */ where: msruangpelayananWhereUniqueInput } /** * msruangpelayanan findUniqueOrThrow */ export type msruangpelayananFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * Filter, which msruangpelayanan to fetch. */ where: msruangpelayananWhereUniqueInput } /** * msruangpelayanan findFirst */ export type msruangpelayananFindFirstArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * Filter, which msruangpelayanan to fetch. */ where?: msruangpelayananWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msruangpelayanans to fetch. */ orderBy?: msruangpelayananOrderByWithRelationInput | msruangpelayananOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for msruangpelayanans. */ cursor?: msruangpelayananWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msruangpelayanans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msruangpelayanans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of msruangpelayanans. */ distinct?: MsruangpelayananScalarFieldEnum | MsruangpelayananScalarFieldEnum[] } /** * msruangpelayanan findFirstOrThrow */ export type msruangpelayananFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * Filter, which msruangpelayanan to fetch. */ where?: msruangpelayananWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msruangpelayanans to fetch. */ orderBy?: msruangpelayananOrderByWithRelationInput | msruangpelayananOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for msruangpelayanans. */ cursor?: msruangpelayananWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msruangpelayanans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msruangpelayanans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of msruangpelayanans. */ distinct?: MsruangpelayananScalarFieldEnum | MsruangpelayananScalarFieldEnum[] } /** * msruangpelayanan findMany */ export type msruangpelayananFindManyArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * Filter, which msruangpelayanans to fetch. */ where?: msruangpelayananWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msruangpelayanans to fetch. */ orderBy?: msruangpelayananOrderByWithRelationInput | msruangpelayananOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing msruangpelayanans. */ cursor?: msruangpelayananWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msruangpelayanans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msruangpelayanans. */ skip?: number distinct?: MsruangpelayananScalarFieldEnum | MsruangpelayananScalarFieldEnum[] } /** * msruangpelayanan create */ export type msruangpelayananCreateArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * The data needed to create a msruangpelayanan. */ data: XOR } /** * msruangpelayanan createMany */ export type msruangpelayananCreateManyArgs = { /** * The data used to create many msruangpelayanans. */ data: msruangpelayananCreateManyInput | msruangpelayananCreateManyInput[] skipDuplicates?: boolean } /** * msruangpelayanan update */ export type msruangpelayananUpdateArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * The data needed to update a msruangpelayanan. */ data: XOR /** * Choose, which msruangpelayanan to update. */ where: msruangpelayananWhereUniqueInput } /** * msruangpelayanan updateMany */ export type msruangpelayananUpdateManyArgs = { /** * The data used to update msruangpelayanans. */ data: XOR /** * Filter which msruangpelayanans to update */ where?: msruangpelayananWhereInput } /** * msruangpelayanan upsert */ export type msruangpelayananUpsertArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * The filter to search for the msruangpelayanan to update in case it exists. */ where: msruangpelayananWhereUniqueInput /** * In case the msruangpelayanan found by the `where` argument doesn't exist, create a new msruangpelayanan with this data. */ create: XOR /** * In case the msruangpelayanan was found with the provided `where` argument, update it with this data. */ update: XOR } /** * msruangpelayanan delete */ export type msruangpelayananDeleteArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null /** * Filter which msruangpelayanan to delete. */ where: msruangpelayananWhereUniqueInput } /** * msruangpelayanan deleteMany */ export type msruangpelayananDeleteManyArgs = { /** * Filter which msruangpelayanans to delete */ where?: msruangpelayananWhereInput } /** * msruangpelayanan.trregistrasi */ export type msruangpelayanan$trregistrasiArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null where?: trregistrasiWhereInput orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] cursor?: trregistrasiWhereUniqueInput take?: number skip?: number distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[] } /** * msruangpelayanan without action */ export type msruangpelayananDefaultArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null } /** * Model mstindakan */ export type AggregateMstindakan = { _count: MstindakanCountAggregateOutputType | null _avg: MstindakanAvgAggregateOutputType | null _sum: MstindakanSumAggregateOutputType | null _min: MstindakanMinAggregateOutputType | null _max: MstindakanMaxAggregateOutputType | null } export type MstindakanAvgAggregateOutputType = { idtindakan: number | null created_by: number | null modified_by: number | null deleted_by: number | null tariftindakan: Decimal | null } export type MstindakanSumAggregateOutputType = { idtindakan: number | null created_by: number | null modified_by: number | null deleted_by: number | null tariftindakan: Decimal | null } export type MstindakanMinAggregateOutputType = { idtindakan: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namatindakan: string | null tariftindakan: Decimal | null } export type MstindakanMaxAggregateOutputType = { idtindakan: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namatindakan: string | null tariftindakan: Decimal | null } export type MstindakanCountAggregateOutputType = { idtindakan: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number namatindakan: number tariftindakan: number _all: number } export type MstindakanAvgAggregateInputType = { idtindakan?: true created_by?: true modified_by?: true deleted_by?: true tariftindakan?: true } export type MstindakanSumAggregateInputType = { idtindakan?: true created_by?: true modified_by?: true deleted_by?: true tariftindakan?: true } export type MstindakanMinAggregateInputType = { idtindakan?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namatindakan?: true tariftindakan?: true } export type MstindakanMaxAggregateInputType = { idtindakan?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namatindakan?: true tariftindakan?: true } export type MstindakanCountAggregateInputType = { idtindakan?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true namatindakan?: true tariftindakan?: true _all?: true } export type MstindakanAggregateArgs = { /** * Filter which mstindakan to aggregate. */ where?: mstindakanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mstindakans to fetch. */ orderBy?: mstindakanOrderByWithRelationInput | mstindakanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: mstindakanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mstindakans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mstindakans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned mstindakans **/ _count?: true | MstindakanCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MstindakanAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MstindakanSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MstindakanMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MstindakanMaxAggregateInputType } export type GetMstindakanAggregateType = { [P in keyof T & keyof AggregateMstindakan]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type mstindakanGroupByArgs = { where?: mstindakanWhereInput orderBy?: mstindakanOrderByWithAggregationInput | mstindakanOrderByWithAggregationInput[] by: MstindakanScalarFieldEnum[] | MstindakanScalarFieldEnum having?: mstindakanScalarWhereWithAggregatesInput take?: number skip?: number _count?: MstindakanCountAggregateInputType | true _avg?: MstindakanAvgAggregateInputType _sum?: MstindakanSumAggregateInputType _min?: MstindakanMinAggregateInputType _max?: MstindakanMaxAggregateInputType } export type MstindakanGroupByOutputType = { idtindakan: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namatindakan: string | null tariftindakan: Decimal | null _count: MstindakanCountAggregateOutputType | null _avg: MstindakanAvgAggregateOutputType | null _sum: MstindakanSumAggregateOutputType | null _min: MstindakanMinAggregateOutputType | null _max: MstindakanMaxAggregateOutputType | null } type GetMstindakanGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MstindakanGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type mstindakanSelect = $Extensions.GetSelect<{ idtindakan?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namatindakan?: boolean tariftindakan?: boolean trtransaksi?: boolean | mstindakan$trtransaksiArgs _count?: boolean | MstindakanCountOutputTypeDefaultArgs }, ExtArgs["result"]["mstindakan"]> export type mstindakanSelectScalar = { idtindakan?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean namatindakan?: boolean tariftindakan?: boolean } export type mstindakanInclude = { trtransaksi?: boolean | mstindakan$trtransaksiArgs _count?: boolean | MstindakanCountOutputTypeDefaultArgs } export type $mstindakanPayload = { name: "mstindakan" objects: { trtransaksi: Prisma.$trtransaksiPayload[] } scalars: $Extensions.GetPayloadResult<{ idtindakan: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null namatindakan: string | null tariftindakan: Prisma.Decimal | null }, ExtArgs["result"]["mstindakan"]> composites: {} } type mstindakanGetPayload = $Result.GetResult type mstindakanCountArgs = Omit & { select?: MstindakanCountAggregateInputType | true } export interface mstindakanDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['mstindakan'], meta: { name: 'mstindakan' } } /** * Find zero or one Mstindakan that matches the filter. * @param {mstindakanFindUniqueArgs} args - Arguments to find a Mstindakan * @example * // Get one Mstindakan * const mstindakan = await prisma.mstindakan.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Mstindakan that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {mstindakanFindUniqueOrThrowArgs} args - Arguments to find a Mstindakan * @example * // Get one Mstindakan * const mstindakan = await prisma.mstindakan.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Mstindakan that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mstindakanFindFirstArgs} args - Arguments to find a Mstindakan * @example * // Get one Mstindakan * const mstindakan = await prisma.mstindakan.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Mstindakan that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mstindakanFindFirstOrThrowArgs} args - Arguments to find a Mstindakan * @example * // Get one Mstindakan * const mstindakan = await prisma.mstindakan.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Mstindakans that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mstindakanFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Mstindakans * const mstindakans = await prisma.mstindakan.findMany() * * // Get first 10 Mstindakans * const mstindakans = await prisma.mstindakan.findMany({ take: 10 }) * * // Only select the `idtindakan` * const mstindakanWithIdtindakanOnly = await prisma.mstindakan.findMany({ select: { idtindakan: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Mstindakan. * @param {mstindakanCreateArgs} args - Arguments to create a Mstindakan. * @example * // Create one Mstindakan * const Mstindakan = await prisma.mstindakan.create({ * data: { * // ... data to create a Mstindakan * } * }) * **/ create>( args: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Mstindakans. * @param {mstindakanCreateManyArgs} args - Arguments to create many Mstindakans. * @example * // Create many Mstindakans * const mstindakan = await prisma.mstindakan.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Mstindakan. * @param {mstindakanDeleteArgs} args - Arguments to delete one Mstindakan. * @example * // Delete one Mstindakan * const Mstindakan = await prisma.mstindakan.delete({ * where: { * // ... filter to delete one Mstindakan * } * }) * **/ delete>( args: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Mstindakan. * @param {mstindakanUpdateArgs} args - Arguments to update one Mstindakan. * @example * // Update one Mstindakan * const mstindakan = await prisma.mstindakan.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Mstindakans. * @param {mstindakanDeleteManyArgs} args - Arguments to filter Mstindakans to delete. * @example * // Delete a few Mstindakans * const { count } = await prisma.mstindakan.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Mstindakans. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mstindakanUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Mstindakans * const mstindakan = await prisma.mstindakan.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Mstindakan. * @param {mstindakanUpsertArgs} args - Arguments to update or create a Mstindakan. * @example * // Update or create a Mstindakan * const mstindakan = await prisma.mstindakan.upsert({ * create: { * // ... data to create a Mstindakan * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Mstindakan we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__mstindakanClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Mstindakans. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mstindakanCountArgs} args - Arguments to filter Mstindakans to count. * @example * // Count the number of Mstindakans * const count = await prisma.mstindakan.count({ * where: { * // ... the filter for the Mstindakans we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Mstindakan. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MstindakanAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Mstindakan. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {mstindakanGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends mstindakanGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: mstindakanGroupByArgs['orderBy'] } : { orderBy?: mstindakanGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMstindakanGroupByPayload : Prisma.PrismaPromise /** * Fields of the mstindakan model */ readonly fields: mstindakanFieldRefs; } /** * The delegate class that acts as a "Promise-like" for mstindakan. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__mstindakanClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; trtransaksi = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the mstindakan model */ interface mstindakanFieldRefs { readonly idtindakan: FieldRef<"mstindakan", 'Int'> readonly created_at: FieldRef<"mstindakan", 'DateTime'> readonly created_by: FieldRef<"mstindakan", 'Int'> readonly modified_at: FieldRef<"mstindakan", 'DateTime'> readonly modified_by: FieldRef<"mstindakan", 'Int'> readonly deleted_at: FieldRef<"mstindakan", 'DateTime'> readonly deleted_by: FieldRef<"mstindakan", 'Int'> readonly namatindakan: FieldRef<"mstindakan", 'String'> readonly tariftindakan: FieldRef<"mstindakan", 'Decimal'> } // Custom InputTypes /** * mstindakan findUnique */ export type mstindakanFindUniqueArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * Filter, which mstindakan to fetch. */ where: mstindakanWhereUniqueInput } /** * mstindakan findUniqueOrThrow */ export type mstindakanFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * Filter, which mstindakan to fetch. */ where: mstindakanWhereUniqueInput } /** * mstindakan findFirst */ export type mstindakanFindFirstArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * Filter, which mstindakan to fetch. */ where?: mstindakanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mstindakans to fetch. */ orderBy?: mstindakanOrderByWithRelationInput | mstindakanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for mstindakans. */ cursor?: mstindakanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mstindakans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mstindakans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of mstindakans. */ distinct?: MstindakanScalarFieldEnum | MstindakanScalarFieldEnum[] } /** * mstindakan findFirstOrThrow */ export type mstindakanFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * Filter, which mstindakan to fetch. */ where?: mstindakanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mstindakans to fetch. */ orderBy?: mstindakanOrderByWithRelationInput | mstindakanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for mstindakans. */ cursor?: mstindakanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mstindakans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mstindakans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of mstindakans. */ distinct?: MstindakanScalarFieldEnum | MstindakanScalarFieldEnum[] } /** * mstindakan findMany */ export type mstindakanFindManyArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * Filter, which mstindakans to fetch. */ where?: mstindakanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of mstindakans to fetch. */ orderBy?: mstindakanOrderByWithRelationInput | mstindakanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing mstindakans. */ cursor?: mstindakanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` mstindakans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` mstindakans. */ skip?: number distinct?: MstindakanScalarFieldEnum | MstindakanScalarFieldEnum[] } /** * mstindakan create */ export type mstindakanCreateArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * The data needed to create a mstindakan. */ data: XOR } /** * mstindakan createMany */ export type mstindakanCreateManyArgs = { /** * The data used to create many mstindakans. */ data: mstindakanCreateManyInput | mstindakanCreateManyInput[] skipDuplicates?: boolean } /** * mstindakan update */ export type mstindakanUpdateArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * The data needed to update a mstindakan. */ data: XOR /** * Choose, which mstindakan to update. */ where: mstindakanWhereUniqueInput } /** * mstindakan updateMany */ export type mstindakanUpdateManyArgs = { /** * The data used to update mstindakans. */ data: XOR /** * Filter which mstindakans to update */ where?: mstindakanWhereInput } /** * mstindakan upsert */ export type mstindakanUpsertArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * The filter to search for the mstindakan to update in case it exists. */ where: mstindakanWhereUniqueInput /** * In case the mstindakan found by the `where` argument doesn't exist, create a new mstindakan with this data. */ create: XOR /** * In case the mstindakan was found with the provided `where` argument, update it with this data. */ update: XOR } /** * mstindakan delete */ export type mstindakanDeleteArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null /** * Filter which mstindakan to delete. */ where: mstindakanWhereUniqueInput } /** * mstindakan deleteMany */ export type mstindakanDeleteManyArgs = { /** * Filter which mstindakans to delete */ where?: mstindakanWhereInput } /** * mstindakan.trtransaksi */ export type mstindakan$trtransaksiArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null where?: trtransaksiWhereInput orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[] cursor?: trtransaksiWhereUniqueInput take?: number skip?: number distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[] } /** * mstindakan without action */ export type mstindakanDefaultArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null } /** * Model trregistrasi */ export type AggregateTrregistrasi = { _count: TrregistrasiCountAggregateOutputType | null _avg: TrregistrasiAvgAggregateOutputType | null _sum: TrregistrasiSumAggregateOutputType | null _min: TrregistrasiMinAggregateOutputType | null _max: TrregistrasiMaxAggregateOutputType | null } export type TrregistrasiAvgAggregateOutputType = { idregistrasi: number | null created_by: number | null modified_by: number | null deleted_by: number | null idpasien: number | null idasuransi: number | null idpegawai: number | null idruangpelayanan: number | null } export type TrregistrasiSumAggregateOutputType = { idregistrasi: number | null created_by: number | null modified_by: number | null deleted_by: number | null idpasien: number | null idasuransi: number | null idpegawai: number | null idruangpelayanan: number | null } export type TrregistrasiMinAggregateOutputType = { idregistrasi: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null tanggalregistrasi: Date | null idpasien: number | null nomorkartuasuransi: string | null idasuransi: number | null idpegawai: number | null idruangpelayanan: number | null } export type TrregistrasiMaxAggregateOutputType = { idregistrasi: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null tanggalregistrasi: Date | null idpasien: number | null nomorkartuasuransi: string | null idasuransi: number | null idpegawai: number | null idruangpelayanan: number | null } export type TrregistrasiCountAggregateOutputType = { idregistrasi: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number tanggalregistrasi: number idpasien: number nomorkartuasuransi: number idasuransi: number idpegawai: number idruangpelayanan: number _all: number } export type TrregistrasiAvgAggregateInputType = { idregistrasi?: true created_by?: true modified_by?: true deleted_by?: true idpasien?: true idasuransi?: true idpegawai?: true idruangpelayanan?: true } export type TrregistrasiSumAggregateInputType = { idregistrasi?: true created_by?: true modified_by?: true deleted_by?: true idpasien?: true idasuransi?: true idpegawai?: true idruangpelayanan?: true } export type TrregistrasiMinAggregateInputType = { idregistrasi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true tanggalregistrasi?: true idpasien?: true nomorkartuasuransi?: true idasuransi?: true idpegawai?: true idruangpelayanan?: true } export type TrregistrasiMaxAggregateInputType = { idregistrasi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true tanggalregistrasi?: true idpasien?: true nomorkartuasuransi?: true idasuransi?: true idpegawai?: true idruangpelayanan?: true } export type TrregistrasiCountAggregateInputType = { idregistrasi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true tanggalregistrasi?: true idpasien?: true nomorkartuasuransi?: true idasuransi?: true idpegawai?: true idruangpelayanan?: true _all?: true } export type TrregistrasiAggregateArgs = { /** * Filter which trregistrasi to aggregate. */ where?: trregistrasiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trregistrasis to fetch. */ orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: trregistrasiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trregistrasis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trregistrasis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned trregistrasis **/ _count?: true | TrregistrasiCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TrregistrasiAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TrregistrasiSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TrregistrasiMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TrregistrasiMaxAggregateInputType } export type GetTrregistrasiAggregateType = { [P in keyof T & keyof AggregateTrregistrasi]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type trregistrasiGroupByArgs = { where?: trregistrasiWhereInput orderBy?: trregistrasiOrderByWithAggregationInput | trregistrasiOrderByWithAggregationInput[] by: TrregistrasiScalarFieldEnum[] | TrregistrasiScalarFieldEnum having?: trregistrasiScalarWhereWithAggregatesInput take?: number skip?: number _count?: TrregistrasiCountAggregateInputType | true _avg?: TrregistrasiAvgAggregateInputType _sum?: TrregistrasiSumAggregateInputType _min?: TrregistrasiMinAggregateInputType _max?: TrregistrasiMaxAggregateInputType } export type TrregistrasiGroupByOutputType = { idregistrasi: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null tanggalregistrasi: Date | null idpasien: number | null nomorkartuasuransi: string | null idasuransi: number | null idpegawai: number | null idruangpelayanan: number | null _count: TrregistrasiCountAggregateOutputType | null _avg: TrregistrasiAvgAggregateOutputType | null _sum: TrregistrasiSumAggregateOutputType | null _min: TrregistrasiMinAggregateOutputType | null _max: TrregistrasiMaxAggregateOutputType | null } type GetTrregistrasiGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TrregistrasiGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type trregistrasiSelect = $Extensions.GetSelect<{ idregistrasi?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean tanggalregistrasi?: boolean idpasien?: boolean nomorkartuasuransi?: boolean idasuransi?: boolean idpegawai?: boolean idruangpelayanan?: boolean msasuransi?: boolean | trregistrasi$msasuransiArgs mspasien?: boolean | trregistrasi$mspasienArgs mspegawai?: boolean | trregistrasi$mspegawaiArgs msruangpelayanan?: boolean | trregistrasi$msruangpelayananArgs trtransaksi?: boolean | trregistrasi$trtransaksiArgs _count?: boolean | TrregistrasiCountOutputTypeDefaultArgs }, ExtArgs["result"]["trregistrasi"]> export type trregistrasiSelectScalar = { idregistrasi?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean tanggalregistrasi?: boolean idpasien?: boolean nomorkartuasuransi?: boolean idasuransi?: boolean idpegawai?: boolean idruangpelayanan?: boolean } export type trregistrasiInclude = { msasuransi?: boolean | trregistrasi$msasuransiArgs mspasien?: boolean | trregistrasi$mspasienArgs mspegawai?: boolean | trregistrasi$mspegawaiArgs msruangpelayanan?: boolean | trregistrasi$msruangpelayananArgs trtransaksi?: boolean | trregistrasi$trtransaksiArgs _count?: boolean | TrregistrasiCountOutputTypeDefaultArgs } export type $trregistrasiPayload = { name: "trregistrasi" objects: { msasuransi: Prisma.$msasuransiPayload | null mspasien: Prisma.$mspasienPayload | null mspegawai: Prisma.$mspegawaiPayload | null msruangpelayanan: Prisma.$msruangpelayananPayload | null trtransaksi: Prisma.$trtransaksiPayload[] } scalars: $Extensions.GetPayloadResult<{ idregistrasi: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null tanggalregistrasi: Date | null idpasien: number | null nomorkartuasuransi: string | null idasuransi: number | null idpegawai: number | null idruangpelayanan: number | null }, ExtArgs["result"]["trregistrasi"]> composites: {} } type trregistrasiGetPayload = $Result.GetResult type trregistrasiCountArgs = Omit & { select?: TrregistrasiCountAggregateInputType | true } export interface trregistrasiDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['trregistrasi'], meta: { name: 'trregistrasi' } } /** * Find zero or one Trregistrasi that matches the filter. * @param {trregistrasiFindUniqueArgs} args - Arguments to find a Trregistrasi * @example * // Get one Trregistrasi * const trregistrasi = await prisma.trregistrasi.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Trregistrasi that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {trregistrasiFindUniqueOrThrowArgs} args - Arguments to find a Trregistrasi * @example * // Get one Trregistrasi * const trregistrasi = await prisma.trregistrasi.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Trregistrasi that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trregistrasiFindFirstArgs} args - Arguments to find a Trregistrasi * @example * // Get one Trregistrasi * const trregistrasi = await prisma.trregistrasi.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Trregistrasi that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trregistrasiFindFirstOrThrowArgs} args - Arguments to find a Trregistrasi * @example * // Get one Trregistrasi * const trregistrasi = await prisma.trregistrasi.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Trregistrasis that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trregistrasiFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Trregistrasis * const trregistrasis = await prisma.trregistrasi.findMany() * * // Get first 10 Trregistrasis * const trregistrasis = await prisma.trregistrasi.findMany({ take: 10 }) * * // Only select the `idregistrasi` * const trregistrasiWithIdregistrasiOnly = await prisma.trregistrasi.findMany({ select: { idregistrasi: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Trregistrasi. * @param {trregistrasiCreateArgs} args - Arguments to create a Trregistrasi. * @example * // Create one Trregistrasi * const Trregistrasi = await prisma.trregistrasi.create({ * data: { * // ... data to create a Trregistrasi * } * }) * **/ create>( args: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Trregistrasis. * @param {trregistrasiCreateManyArgs} args - Arguments to create many Trregistrasis. * @example * // Create many Trregistrasis * const trregistrasi = await prisma.trregistrasi.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Trregistrasi. * @param {trregistrasiDeleteArgs} args - Arguments to delete one Trregistrasi. * @example * // Delete one Trregistrasi * const Trregistrasi = await prisma.trregistrasi.delete({ * where: { * // ... filter to delete one Trregistrasi * } * }) * **/ delete>( args: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Trregistrasi. * @param {trregistrasiUpdateArgs} args - Arguments to update one Trregistrasi. * @example * // Update one Trregistrasi * const trregistrasi = await prisma.trregistrasi.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Trregistrasis. * @param {trregistrasiDeleteManyArgs} args - Arguments to filter Trregistrasis to delete. * @example * // Delete a few Trregistrasis * const { count } = await prisma.trregistrasi.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Trregistrasis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trregistrasiUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Trregistrasis * const trregistrasi = await prisma.trregistrasi.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Trregistrasi. * @param {trregistrasiUpsertArgs} args - Arguments to update or create a Trregistrasi. * @example * // Update or create a Trregistrasi * const trregistrasi = await prisma.trregistrasi.upsert({ * create: { * // ... data to create a Trregistrasi * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Trregistrasi we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__trregistrasiClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Trregistrasis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trregistrasiCountArgs} args - Arguments to filter Trregistrasis to count. * @example * // Count the number of Trregistrasis * const count = await prisma.trregistrasi.count({ * where: { * // ... the filter for the Trregistrasis we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Trregistrasi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TrregistrasiAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Trregistrasi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trregistrasiGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends trregistrasiGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: trregistrasiGroupByArgs['orderBy'] } : { orderBy?: trregistrasiGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrregistrasiGroupByPayload : Prisma.PrismaPromise /** * Fields of the trregistrasi model */ readonly fields: trregistrasiFieldRefs; } /** * The delegate class that acts as a "Promise-like" for trregistrasi. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__trregistrasiClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; msasuransi = {}>(args?: Subset>): Prisma__msasuransiClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; mspasien = {}>(args?: Subset>): Prisma__mspasienClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; mspegawai = {}>(args?: Subset>): Prisma__mspegawaiClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; msruangpelayanan = {}>(args?: Subset>): Prisma__msruangpelayananClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; trtransaksi = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the trregistrasi model */ interface trregistrasiFieldRefs { readonly idregistrasi: FieldRef<"trregistrasi", 'Int'> readonly created_at: FieldRef<"trregistrasi", 'DateTime'> readonly created_by: FieldRef<"trregistrasi", 'Int'> readonly modified_at: FieldRef<"trregistrasi", 'DateTime'> readonly modified_by: FieldRef<"trregistrasi", 'Int'> readonly deleted_at: FieldRef<"trregistrasi", 'DateTime'> readonly deleted_by: FieldRef<"trregistrasi", 'Int'> readonly tanggalregistrasi: FieldRef<"trregistrasi", 'DateTime'> readonly idpasien: FieldRef<"trregistrasi", 'Int'> readonly nomorkartuasuransi: FieldRef<"trregistrasi", 'String'> readonly idasuransi: FieldRef<"trregistrasi", 'Int'> readonly idpegawai: FieldRef<"trregistrasi", 'Int'> readonly idruangpelayanan: FieldRef<"trregistrasi", 'Int'> } // Custom InputTypes /** * trregistrasi findUnique */ export type trregistrasiFindUniqueArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * Filter, which trregistrasi to fetch. */ where: trregistrasiWhereUniqueInput } /** * trregistrasi findUniqueOrThrow */ export type trregistrasiFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * Filter, which trregistrasi to fetch. */ where: trregistrasiWhereUniqueInput } /** * trregistrasi findFirst */ export type trregistrasiFindFirstArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * Filter, which trregistrasi to fetch. */ where?: trregistrasiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trregistrasis to fetch. */ orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for trregistrasis. */ cursor?: trregistrasiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trregistrasis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trregistrasis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of trregistrasis. */ distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[] } /** * trregistrasi findFirstOrThrow */ export type trregistrasiFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * Filter, which trregistrasi to fetch. */ where?: trregistrasiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trregistrasis to fetch. */ orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for trregistrasis. */ cursor?: trregistrasiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trregistrasis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trregistrasis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of trregistrasis. */ distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[] } /** * trregistrasi findMany */ export type trregistrasiFindManyArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * Filter, which trregistrasis to fetch. */ where?: trregistrasiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trregistrasis to fetch. */ orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing trregistrasis. */ cursor?: trregistrasiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trregistrasis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trregistrasis. */ skip?: number distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[] } /** * trregistrasi create */ export type trregistrasiCreateArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * The data needed to create a trregistrasi. */ data: XOR } /** * trregistrasi createMany */ export type trregistrasiCreateManyArgs = { /** * The data used to create many trregistrasis. */ data: trregistrasiCreateManyInput | trregistrasiCreateManyInput[] skipDuplicates?: boolean } /** * trregistrasi update */ export type trregistrasiUpdateArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * The data needed to update a trregistrasi. */ data: XOR /** * Choose, which trregistrasi to update. */ where: trregistrasiWhereUniqueInput } /** * trregistrasi updateMany */ export type trregistrasiUpdateManyArgs = { /** * The data used to update trregistrasis. */ data: XOR /** * Filter which trregistrasis to update */ where?: trregistrasiWhereInput } /** * trregistrasi upsert */ export type trregistrasiUpsertArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * The filter to search for the trregistrasi to update in case it exists. */ where: trregistrasiWhereUniqueInput /** * In case the trregistrasi found by the `where` argument doesn't exist, create a new trregistrasi with this data. */ create: XOR /** * In case the trregistrasi was found with the provided `where` argument, update it with this data. */ update: XOR } /** * trregistrasi delete */ export type trregistrasiDeleteArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null /** * Filter which trregistrasi to delete. */ where: trregistrasiWhereUniqueInput } /** * trregistrasi deleteMany */ export type trregistrasiDeleteManyArgs = { /** * Filter which trregistrasis to delete */ where?: trregistrasiWhereInput } /** * trregistrasi.msasuransi */ export type trregistrasi$msasuransiArgs = { /** * Select specific fields to fetch from the msasuransi */ select?: msasuransiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msasuransiInclude | null where?: msasuransiWhereInput } /** * trregistrasi.mspasien */ export type trregistrasi$mspasienArgs = { /** * Select specific fields to fetch from the mspasien */ select?: mspasienSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspasienInclude | null where?: mspasienWhereInput } /** * trregistrasi.mspegawai */ export type trregistrasi$mspegawaiArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null where?: mspegawaiWhereInput } /** * trregistrasi.msruangpelayanan */ export type trregistrasi$msruangpelayananArgs = { /** * Select specific fields to fetch from the msruangpelayanan */ select?: msruangpelayananSelect | null /** * Choose, which related nodes to fetch as well. */ include?: msruangpelayananInclude | null where?: msruangpelayananWhereInput } /** * trregistrasi.trtransaksi */ export type trregistrasi$trtransaksiArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null where?: trtransaksiWhereInput orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[] cursor?: trtransaksiWhereUniqueInput take?: number skip?: number distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[] } /** * trregistrasi without action */ export type trregistrasiDefaultArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null } /** * Model trtransaksi */ export type AggregateTrtransaksi = { _count: TrtransaksiCountAggregateOutputType | null _avg: TrtransaksiAvgAggregateOutputType | null _sum: TrtransaksiSumAggregateOutputType | null _min: TrtransaksiMinAggregateOutputType | null _max: TrtransaksiMaxAggregateOutputType | null } export type TrtransaksiAvgAggregateOutputType = { idtransaksi: number | null created_by: number | null modified_by: number | null deleted_by: number | null idregistrasi: number | null idtindakan: number | null jmltindakan: number | null idpegawai: number | null } export type TrtransaksiSumAggregateOutputType = { idtransaksi: number | null created_by: number | null modified_by: number | null deleted_by: number | null idregistrasi: number | null idtindakan: number | null jmltindakan: number | null idpegawai: number | null } export type TrtransaksiMinAggregateOutputType = { idtransaksi: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null idregistrasi: number | null idtindakan: number | null jmltindakan: number | null idpegawai: number | null } export type TrtransaksiMaxAggregateOutputType = { idtransaksi: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null idregistrasi: number | null idtindakan: number | null jmltindakan: number | null idpegawai: number | null } export type TrtransaksiCountAggregateOutputType = { idtransaksi: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number idregistrasi: number idtindakan: number jmltindakan: number idpegawai: number _all: number } export type TrtransaksiAvgAggregateInputType = { idtransaksi?: true created_by?: true modified_by?: true deleted_by?: true idregistrasi?: true idtindakan?: true jmltindakan?: true idpegawai?: true } export type TrtransaksiSumAggregateInputType = { idtransaksi?: true created_by?: true modified_by?: true deleted_by?: true idregistrasi?: true idtindakan?: true jmltindakan?: true idpegawai?: true } export type TrtransaksiMinAggregateInputType = { idtransaksi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true idregistrasi?: true idtindakan?: true jmltindakan?: true idpegawai?: true } export type TrtransaksiMaxAggregateInputType = { idtransaksi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true idregistrasi?: true idtindakan?: true jmltindakan?: true idpegawai?: true } export type TrtransaksiCountAggregateInputType = { idtransaksi?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true idregistrasi?: true idtindakan?: true jmltindakan?: true idpegawai?: true _all?: true } export type TrtransaksiAggregateArgs = { /** * Filter which trtransaksi to aggregate. */ where?: trtransaksiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trtransaksis to fetch. */ orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: trtransaksiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trtransaksis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trtransaksis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned trtransaksis **/ _count?: true | TrtransaksiCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TrtransaksiAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TrtransaksiSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TrtransaksiMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TrtransaksiMaxAggregateInputType } export type GetTrtransaksiAggregateType = { [P in keyof T & keyof AggregateTrtransaksi]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type trtransaksiGroupByArgs = { where?: trtransaksiWhereInput orderBy?: trtransaksiOrderByWithAggregationInput | trtransaksiOrderByWithAggregationInput[] by: TrtransaksiScalarFieldEnum[] | TrtransaksiScalarFieldEnum having?: trtransaksiScalarWhereWithAggregatesInput take?: number skip?: number _count?: TrtransaksiCountAggregateInputType | true _avg?: TrtransaksiAvgAggregateInputType _sum?: TrtransaksiSumAggregateInputType _min?: TrtransaksiMinAggregateInputType _max?: TrtransaksiMaxAggregateInputType } export type TrtransaksiGroupByOutputType = { idtransaksi: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null idregistrasi: number | null idtindakan: number | null jmltindakan: number | null idpegawai: number | null _count: TrtransaksiCountAggregateOutputType | null _avg: TrtransaksiAvgAggregateOutputType | null _sum: TrtransaksiSumAggregateOutputType | null _min: TrtransaksiMinAggregateOutputType | null _max: TrtransaksiMaxAggregateOutputType | null } type GetTrtransaksiGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TrtransaksiGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type trtransaksiSelect = $Extensions.GetSelect<{ idtransaksi?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean idregistrasi?: boolean idtindakan?: boolean jmltindakan?: boolean idpegawai?: boolean mspegawai?: boolean | trtransaksi$mspegawaiArgs trregistrasi?: boolean | trtransaksi$trregistrasiArgs mstindakan?: boolean | trtransaksi$mstindakanArgs }, ExtArgs["result"]["trtransaksi"]> export type trtransaksiSelectScalar = { idtransaksi?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean idregistrasi?: boolean idtindakan?: boolean jmltindakan?: boolean idpegawai?: boolean } export type trtransaksiInclude = { mspegawai?: boolean | trtransaksi$mspegawaiArgs trregistrasi?: boolean | trtransaksi$trregistrasiArgs mstindakan?: boolean | trtransaksi$mstindakanArgs } export type $trtransaksiPayload = { name: "trtransaksi" objects: { mspegawai: Prisma.$mspegawaiPayload | null trregistrasi: Prisma.$trregistrasiPayload | null mstindakan: Prisma.$mstindakanPayload | null } scalars: $Extensions.GetPayloadResult<{ idtransaksi: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null idregistrasi: number | null idtindakan: number | null jmltindakan: number | null idpegawai: number | null }, ExtArgs["result"]["trtransaksi"]> composites: {} } type trtransaksiGetPayload = $Result.GetResult type trtransaksiCountArgs = Omit & { select?: TrtransaksiCountAggregateInputType | true } export interface trtransaksiDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['trtransaksi'], meta: { name: 'trtransaksi' } } /** * Find zero or one Trtransaksi that matches the filter. * @param {trtransaksiFindUniqueArgs} args - Arguments to find a Trtransaksi * @example * // Get one Trtransaksi * const trtransaksi = await prisma.trtransaksi.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Trtransaksi that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {trtransaksiFindUniqueOrThrowArgs} args - Arguments to find a Trtransaksi * @example * // Get one Trtransaksi * const trtransaksi = await prisma.trtransaksi.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Trtransaksi that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trtransaksiFindFirstArgs} args - Arguments to find a Trtransaksi * @example * // Get one Trtransaksi * const trtransaksi = await prisma.trtransaksi.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Trtransaksi that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trtransaksiFindFirstOrThrowArgs} args - Arguments to find a Trtransaksi * @example * // Get one Trtransaksi * const trtransaksi = await prisma.trtransaksi.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Trtransaksis that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trtransaksiFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Trtransaksis * const trtransaksis = await prisma.trtransaksi.findMany() * * // Get first 10 Trtransaksis * const trtransaksis = await prisma.trtransaksi.findMany({ take: 10 }) * * // Only select the `idtransaksi` * const trtransaksiWithIdtransaksiOnly = await prisma.trtransaksi.findMany({ select: { idtransaksi: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Trtransaksi. * @param {trtransaksiCreateArgs} args - Arguments to create a Trtransaksi. * @example * // Create one Trtransaksi * const Trtransaksi = await prisma.trtransaksi.create({ * data: { * // ... data to create a Trtransaksi * } * }) * **/ create>( args: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Trtransaksis. * @param {trtransaksiCreateManyArgs} args - Arguments to create many Trtransaksis. * @example * // Create many Trtransaksis * const trtransaksi = await prisma.trtransaksi.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Trtransaksi. * @param {trtransaksiDeleteArgs} args - Arguments to delete one Trtransaksi. * @example * // Delete one Trtransaksi * const Trtransaksi = await prisma.trtransaksi.delete({ * where: { * // ... filter to delete one Trtransaksi * } * }) * **/ delete>( args: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Trtransaksi. * @param {trtransaksiUpdateArgs} args - Arguments to update one Trtransaksi. * @example * // Update one Trtransaksi * const trtransaksi = await prisma.trtransaksi.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Trtransaksis. * @param {trtransaksiDeleteManyArgs} args - Arguments to filter Trtransaksis to delete. * @example * // Delete a few Trtransaksis * const { count } = await prisma.trtransaksi.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Trtransaksis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trtransaksiUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Trtransaksis * const trtransaksi = await prisma.trtransaksi.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Trtransaksi. * @param {trtransaksiUpsertArgs} args - Arguments to update or create a Trtransaksi. * @example * // Update or create a Trtransaksi * const trtransaksi = await prisma.trtransaksi.upsert({ * create: { * // ... data to create a Trtransaksi * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Trtransaksi we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__trtransaksiClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Trtransaksis. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trtransaksiCountArgs} args - Arguments to filter Trtransaksis to count. * @example * // Count the number of Trtransaksis * const count = await prisma.trtransaksi.count({ * where: { * // ... the filter for the Trtransaksis we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Trtransaksi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TrtransaksiAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Trtransaksi. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {trtransaksiGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends trtransaksiGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: trtransaksiGroupByArgs['orderBy'] } : { orderBy?: trtransaksiGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrtransaksiGroupByPayload : Prisma.PrismaPromise /** * Fields of the trtransaksi model */ readonly fields: trtransaksiFieldRefs; } /** * The delegate class that acts as a "Promise-like" for trtransaksi. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__trtransaksiClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; mspegawai = {}>(args?: Subset>): Prisma__mspegawaiClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; trregistrasi = {}>(args?: Subset>): Prisma__trregistrasiClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; mstindakan = {}>(args?: Subset>): Prisma__mstindakanClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the trtransaksi model */ interface trtransaksiFieldRefs { readonly idtransaksi: FieldRef<"trtransaksi", 'Int'> readonly created_at: FieldRef<"trtransaksi", 'DateTime'> readonly created_by: FieldRef<"trtransaksi", 'Int'> readonly modified_at: FieldRef<"trtransaksi", 'DateTime'> readonly modified_by: FieldRef<"trtransaksi", 'Int'> readonly deleted_at: FieldRef<"trtransaksi", 'DateTime'> readonly deleted_by: FieldRef<"trtransaksi", 'Int'> readonly idregistrasi: FieldRef<"trtransaksi", 'Int'> readonly idtindakan: FieldRef<"trtransaksi", 'Int'> readonly jmltindakan: FieldRef<"trtransaksi", 'Int'> readonly idpegawai: FieldRef<"trtransaksi", 'Int'> } // Custom InputTypes /** * trtransaksi findUnique */ export type trtransaksiFindUniqueArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * Filter, which trtransaksi to fetch. */ where: trtransaksiWhereUniqueInput } /** * trtransaksi findUniqueOrThrow */ export type trtransaksiFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * Filter, which trtransaksi to fetch. */ where: trtransaksiWhereUniqueInput } /** * trtransaksi findFirst */ export type trtransaksiFindFirstArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * Filter, which trtransaksi to fetch. */ where?: trtransaksiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trtransaksis to fetch. */ orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for trtransaksis. */ cursor?: trtransaksiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trtransaksis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trtransaksis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of trtransaksis. */ distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[] } /** * trtransaksi findFirstOrThrow */ export type trtransaksiFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * Filter, which trtransaksi to fetch. */ where?: trtransaksiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trtransaksis to fetch. */ orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for trtransaksis. */ cursor?: trtransaksiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trtransaksis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trtransaksis. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of trtransaksis. */ distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[] } /** * trtransaksi findMany */ export type trtransaksiFindManyArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * Filter, which trtransaksis to fetch. */ where?: trtransaksiWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of trtransaksis to fetch. */ orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing trtransaksis. */ cursor?: trtransaksiWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` trtransaksis from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` trtransaksis. */ skip?: number distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[] } /** * trtransaksi create */ export type trtransaksiCreateArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * The data needed to create a trtransaksi. */ data: XOR } /** * trtransaksi createMany */ export type trtransaksiCreateManyArgs = { /** * The data used to create many trtransaksis. */ data: trtransaksiCreateManyInput | trtransaksiCreateManyInput[] skipDuplicates?: boolean } /** * trtransaksi update */ export type trtransaksiUpdateArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * The data needed to update a trtransaksi. */ data: XOR /** * Choose, which trtransaksi to update. */ where: trtransaksiWhereUniqueInput } /** * trtransaksi updateMany */ export type trtransaksiUpdateManyArgs = { /** * The data used to update trtransaksis. */ data: XOR /** * Filter which trtransaksis to update */ where?: trtransaksiWhereInput } /** * trtransaksi upsert */ export type trtransaksiUpsertArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * The filter to search for the trtransaksi to update in case it exists. */ where: trtransaksiWhereUniqueInput /** * In case the trtransaksi found by the `where` argument doesn't exist, create a new trtransaksi with this data. */ create: XOR /** * In case the trtransaksi was found with the provided `where` argument, update it with this data. */ update: XOR } /** * trtransaksi delete */ export type trtransaksiDeleteArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null /** * Filter which trtransaksi to delete. */ where: trtransaksiWhereUniqueInput } /** * trtransaksi deleteMany */ export type trtransaksiDeleteManyArgs = { /** * Filter which trtransaksis to delete */ where?: trtransaksiWhereInput } /** * trtransaksi.mspegawai */ export type trtransaksi$mspegawaiArgs = { /** * Select specific fields to fetch from the mspegawai */ select?: mspegawaiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mspegawaiInclude | null where?: mspegawaiWhereInput } /** * trtransaksi.trregistrasi */ export type trtransaksi$trregistrasiArgs = { /** * Select specific fields to fetch from the trregistrasi */ select?: trregistrasiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trregistrasiInclude | null where?: trregistrasiWhereInput } /** * trtransaksi.mstindakan */ export type trtransaksi$mstindakanArgs = { /** * Select specific fields to fetch from the mstindakan */ select?: mstindakanSelect | null /** * Choose, which related nodes to fetch as well. */ include?: mstindakanInclude | null where?: mstindakanWhereInput } /** * trtransaksi without action */ export type trtransaksiDefaultArgs = { /** * Select specific fields to fetch from the trtransaksi */ select?: trtransaksiSelect | null /** * Choose, which related nodes to fetch as well. */ include?: trtransaksiInclude | null } /** * Model msusers */ export type AggregateMsusers = { _count: MsusersCountAggregateOutputType | null _avg: MsusersAvgAggregateOutputType | null _sum: MsusersSumAggregateOutputType | null _min: MsusersMinAggregateOutputType | null _max: MsusersMaxAggregateOutputType | null } export type MsusersAvgAggregateOutputType = { user_id: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MsusersSumAggregateOutputType = { user_id: number | null created_by: number | null modified_by: number | null deleted_by: number | null } export type MsusersMinAggregateOutputType = { user_id: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null username: string | null password: string | null full_name: string | null email: string | null is_active: boolean | null } export type MsusersMaxAggregateOutputType = { user_id: number | null created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null username: string | null password: string | null full_name: string | null email: string | null is_active: boolean | null } export type MsusersCountAggregateOutputType = { user_id: number created_at: number created_by: number modified_at: number modified_by: number deleted_at: number deleted_by: number username: number password: number full_name: number email: number is_active: number _all: number } export type MsusersAvgAggregateInputType = { user_id?: true created_by?: true modified_by?: true deleted_by?: true } export type MsusersSumAggregateInputType = { user_id?: true created_by?: true modified_by?: true deleted_by?: true } export type MsusersMinAggregateInputType = { user_id?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true username?: true password?: true full_name?: true email?: true is_active?: true } export type MsusersMaxAggregateInputType = { user_id?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true username?: true password?: true full_name?: true email?: true is_active?: true } export type MsusersCountAggregateInputType = { user_id?: true created_at?: true created_by?: true modified_at?: true modified_by?: true deleted_at?: true deleted_by?: true username?: true password?: true full_name?: true email?: true is_active?: true _all?: true } export type MsusersAggregateArgs = { /** * Filter which msusers to aggregate. */ where?: msusersWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msusers to fetch. */ orderBy?: msusersOrderByWithRelationInput | msusersOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: msusersWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msusers from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msusers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned msusers **/ _count?: true | MsusersCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MsusersAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MsusersSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MsusersMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MsusersMaxAggregateInputType } export type GetMsusersAggregateType = { [P in keyof T & keyof AggregateMsusers]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type msusersGroupByArgs = { where?: msusersWhereInput orderBy?: msusersOrderByWithAggregationInput | msusersOrderByWithAggregationInput[] by: MsusersScalarFieldEnum[] | MsusersScalarFieldEnum having?: msusersScalarWhereWithAggregatesInput take?: number skip?: number _count?: MsusersCountAggregateInputType | true _avg?: MsusersAvgAggregateInputType _sum?: MsusersSumAggregateInputType _min?: MsusersMinAggregateInputType _max?: MsusersMaxAggregateInputType } export type MsusersGroupByOutputType = { user_id: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null username: string password: string full_name: string | null email: string | null is_active: boolean | null _count: MsusersCountAggregateOutputType | null _avg: MsusersAvgAggregateOutputType | null _sum: MsusersSumAggregateOutputType | null _min: MsusersMinAggregateOutputType | null _max: MsusersMaxAggregateOutputType | null } type GetMsusersGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MsusersGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type msusersSelect = $Extensions.GetSelect<{ user_id?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean username?: boolean password?: boolean full_name?: boolean email?: boolean is_active?: boolean }, ExtArgs["result"]["msusers"]> export type msusersSelectScalar = { user_id?: boolean created_at?: boolean created_by?: boolean modified_at?: boolean modified_by?: boolean deleted_at?: boolean deleted_by?: boolean username?: boolean password?: boolean full_name?: boolean email?: boolean is_active?: boolean } export type $msusersPayload = { name: "msusers" objects: {} scalars: $Extensions.GetPayloadResult<{ user_id: number created_at: Date | null created_by: number | null modified_at: Date | null modified_by: number | null deleted_at: Date | null deleted_by: number | null username: string password: string full_name: string | null email: string | null is_active: boolean | null }, ExtArgs["result"]["msusers"]> composites: {} } type msusersGetPayload = $Result.GetResult type msusersCountArgs = Omit & { select?: MsusersCountAggregateInputType | true } export interface msusersDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['msusers'], meta: { name: 'msusers' } } /** * Find zero or one Msusers that matches the filter. * @param {msusersFindUniqueArgs} args - Arguments to find a Msusers * @example * // Get one Msusers * const msusers = await prisma.msusers.findUnique({ * where: { * // ... provide filter here * } * }) **/ findUnique>( args: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> /** * Find one Msusers that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {msusersFindUniqueOrThrowArgs} args - Arguments to find a Msusers * @example * // Get one Msusers * const msusers = await prisma.msusers.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) **/ findUniqueOrThrow>( args?: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Msusers that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msusersFindFirstArgs} args - Arguments to find a Msusers * @example * // Get one Msusers * const msusers = await prisma.msusers.findFirst({ * where: { * // ... provide filter here * } * }) **/ findFirst>( args?: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> /** * Find the first Msusers that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msusersFindFirstOrThrowArgs} args - Arguments to find a Msusers * @example * // Get one Msusers * const msusers = await prisma.msusers.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) **/ findFirstOrThrow>( args?: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Msusers that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msusersFindManyArgs=} args - Arguments to filter and select certain fields only. * @example * // Get all Msusers * const msusers = await prisma.msusers.findMany() * * // Get first 10 Msusers * const msusers = await prisma.msusers.findMany({ take: 10 }) * * // Only select the `user_id` * const msusersWithUser_idOnly = await prisma.msusers.findMany({ select: { user_id: true } }) * **/ findMany>( args?: SelectSubset> ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Msusers. * @param {msusersCreateArgs} args - Arguments to create a Msusers. * @example * // Create one Msusers * const Msusers = await prisma.msusers.create({ * data: { * // ... data to create a Msusers * } * }) * **/ create>( args: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Msusers. * @param {msusersCreateManyArgs} args - Arguments to create many Msusers. * @example * // Create many Msusers * const msusers = await prisma.msusers.createMany({ * data: { * // ... provide data here * } * }) * **/ createMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Delete a Msusers. * @param {msusersDeleteArgs} args - Arguments to delete one Msusers. * @example * // Delete one Msusers * const Msusers = await prisma.msusers.delete({ * where: { * // ... filter to delete one Msusers * } * }) * **/ delete>( args: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Msusers. * @param {msusersUpdateArgs} args - Arguments to update one Msusers. * @example * // Update one Msusers * const msusers = await prisma.msusers.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ update>( args: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Msusers. * @param {msusersDeleteManyArgs} args - Arguments to filter Msusers to delete. * @example * // Delete a few Msusers * const { count } = await prisma.msusers.deleteMany({ * where: { * // ... provide filter here * } * }) * **/ deleteMany>( args?: SelectSubset> ): Prisma.PrismaPromise /** * Update zero or more Msusers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msusersUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Msusers * const msusers = await prisma.msusers.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * **/ updateMany>( args: SelectSubset> ): Prisma.PrismaPromise /** * Create or update one Msusers. * @param {msusersUpsertArgs} args - Arguments to update or create a Msusers. * @example * // Update or create a Msusers * const msusers = await prisma.msusers.upsert({ * create: { * // ... data to create a Msusers * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Msusers we want to update * } * }) **/ upsert>( args: SelectSubset> ): Prisma__msusersClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Msusers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msusersCountArgs} args - Arguments to filter Msusers to count. * @example * // Count the number of Msusers * const count = await prisma.msusers.count({ * where: { * // ... the filter for the Msusers we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Msusers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MsusersAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Msusers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {msusersGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends msusersGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: msusersGroupByArgs['orderBy'] } : { orderBy?: msusersGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMsusersGroupByPayload : Prisma.PrismaPromise /** * Fields of the msusers model */ readonly fields: msusersFieldRefs; } /** * The delegate class that acts as a "Promise-like" for msusers. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__msusersClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } /** * Fields of the msusers model */ interface msusersFieldRefs { readonly user_id: FieldRef<"msusers", 'Int'> readonly created_at: FieldRef<"msusers", 'DateTime'> readonly created_by: FieldRef<"msusers", 'Int'> readonly modified_at: FieldRef<"msusers", 'DateTime'> readonly modified_by: FieldRef<"msusers", 'Int'> readonly deleted_at: FieldRef<"msusers", 'DateTime'> readonly deleted_by: FieldRef<"msusers", 'Int'> readonly username: FieldRef<"msusers", 'String'> readonly password: FieldRef<"msusers", 'String'> readonly full_name: FieldRef<"msusers", 'String'> readonly email: FieldRef<"msusers", 'String'> readonly is_active: FieldRef<"msusers", 'Boolean'> } // Custom InputTypes /** * msusers findUnique */ export type msusersFindUniqueArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * Filter, which msusers to fetch. */ where: msusersWhereUniqueInput } /** * msusers findUniqueOrThrow */ export type msusersFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * Filter, which msusers to fetch. */ where: msusersWhereUniqueInput } /** * msusers findFirst */ export type msusersFindFirstArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * Filter, which msusers to fetch. */ where?: msusersWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msusers to fetch. */ orderBy?: msusersOrderByWithRelationInput | msusersOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for msusers. */ cursor?: msusersWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msusers from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msusers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of msusers. */ distinct?: MsusersScalarFieldEnum | MsusersScalarFieldEnum[] } /** * msusers findFirstOrThrow */ export type msusersFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * Filter, which msusers to fetch. */ where?: msusersWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msusers to fetch. */ orderBy?: msusersOrderByWithRelationInput | msusersOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for msusers. */ cursor?: msusersWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msusers from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msusers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of msusers. */ distinct?: MsusersScalarFieldEnum | MsusersScalarFieldEnum[] } /** * msusers findMany */ export type msusersFindManyArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * Filter, which msusers to fetch. */ where?: msusersWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of msusers to fetch. */ orderBy?: msusersOrderByWithRelationInput | msusersOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing msusers. */ cursor?: msusersWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` msusers from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` msusers. */ skip?: number distinct?: MsusersScalarFieldEnum | MsusersScalarFieldEnum[] } /** * msusers create */ export type msusersCreateArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * The data needed to create a msusers. */ data: XOR } /** * msusers createMany */ export type msusersCreateManyArgs = { /** * The data used to create many msusers. */ data: msusersCreateManyInput | msusersCreateManyInput[] skipDuplicates?: boolean } /** * msusers update */ export type msusersUpdateArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * The data needed to update a msusers. */ data: XOR /** * Choose, which msusers to update. */ where: msusersWhereUniqueInput } /** * msusers updateMany */ export type msusersUpdateManyArgs = { /** * The data used to update msusers. */ data: XOR /** * Filter which msusers to update */ where?: msusersWhereInput } /** * msusers upsert */ export type msusersUpsertArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * The filter to search for the msusers to update in case it exists. */ where: msusersWhereUniqueInput /** * In case the msusers found by the `where` argument doesn't exist, create a new msusers with this data. */ create: XOR /** * In case the msusers was found with the provided `where` argument, update it with this data. */ update: XOR } /** * msusers delete */ export type msusersDeleteArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null /** * Filter which msusers to delete. */ where: msusersWhereUniqueInput } /** * msusers deleteMany */ export type msusersDeleteManyArgs = { /** * Filter which msusers to delete */ where?: msusersWhereInput } /** * msusers without action */ export type msusersDefaultArgs = { /** * Select specific fields to fetch from the msusers */ select?: msusersSelect | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const MsasuransiScalarFieldEnum: { idasuransi: 'idasuransi', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', namaasuransi: 'namaasuransi' }; export type MsasuransiScalarFieldEnum = (typeof MsasuransiScalarFieldEnum)[keyof typeof MsasuransiScalarFieldEnum] export const MspasienScalarFieldEnum: { idpasien: 'idpasien', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', mrpasien: 'mrpasien', namapasien: 'namapasien', tanggallahir: 'tanggallahir', jeniskelamin: 'jeniskelamin' }; export type MspasienScalarFieldEnum = (typeof MspasienScalarFieldEnum)[keyof typeof MspasienScalarFieldEnum] export const MspegawaiScalarFieldEnum: { idpegawai: 'idpegawai', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', namapegawai: 'namapegawai' }; export type MspegawaiScalarFieldEnum = (typeof MspegawaiScalarFieldEnum)[keyof typeof MspegawaiScalarFieldEnum] export const MsruangpelayananScalarFieldEnum: { idruangpelayanan: 'idruangpelayanan', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', namaruangpelayanan: 'namaruangpelayanan' }; export type MsruangpelayananScalarFieldEnum = (typeof MsruangpelayananScalarFieldEnum)[keyof typeof MsruangpelayananScalarFieldEnum] export const MstindakanScalarFieldEnum: { idtindakan: 'idtindakan', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', namatindakan: 'namatindakan', tariftindakan: 'tariftindakan' }; export type MstindakanScalarFieldEnum = (typeof MstindakanScalarFieldEnum)[keyof typeof MstindakanScalarFieldEnum] export const TrregistrasiScalarFieldEnum: { idregistrasi: 'idregistrasi', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', tanggalregistrasi: 'tanggalregistrasi', idpasien: 'idpasien', nomorkartuasuransi: 'nomorkartuasuransi', idasuransi: 'idasuransi', idpegawai: 'idpegawai', idruangpelayanan: 'idruangpelayanan' }; export type TrregistrasiScalarFieldEnum = (typeof TrregistrasiScalarFieldEnum)[keyof typeof TrregistrasiScalarFieldEnum] export const TrtransaksiScalarFieldEnum: { idtransaksi: 'idtransaksi', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', idregistrasi: 'idregistrasi', idtindakan: 'idtindakan', jmltindakan: 'jmltindakan', idpegawai: 'idpegawai' }; export type TrtransaksiScalarFieldEnum = (typeof TrtransaksiScalarFieldEnum)[keyof typeof TrtransaksiScalarFieldEnum] export const MsusersScalarFieldEnum: { user_id: 'user_id', created_at: 'created_at', created_by: 'created_by', modified_at: 'modified_at', modified_by: 'modified_by', deleted_at: 'deleted_at', deleted_by: 'deleted_by', username: 'username', password: 'password', full_name: 'full_name', email: 'email', is_active: 'is_active' }; export type MsusersScalarFieldEnum = (typeof MsusersScalarFieldEnum)[keyof typeof MsusersScalarFieldEnum] export const SortOrder: { asc: 'asc', desc: 'desc' }; export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] export const QueryMode: { default: 'default', insensitive: 'insensitive' }; export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] export const NullsOrder: { first: 'first', last: 'last' }; export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] /** * Field references */ /** * Reference to a field of type 'Int' */ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> /** * Reference to a field of type 'Int[]' */ export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> /** * Reference to a field of type 'DateTime' */ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> /** * Reference to a field of type 'DateTime[]' */ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> /** * Reference to a field of type 'String' */ export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> /** * Reference to a field of type 'String[]' */ export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> /** * Reference to a field of type 'Decimal' */ export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'> /** * Reference to a field of type 'Decimal[]' */ export type ListDecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal[]'> /** * Reference to a field of type 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * Reference to a field of type 'Float' */ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> /** * Reference to a field of type 'Float[]' */ export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> /** * Deep Input Types */ export type msasuransiWhereInput = { AND?: msasuransiWhereInput | msasuransiWhereInput[] OR?: msasuransiWhereInput[] NOT?: msasuransiWhereInput | msasuransiWhereInput[] idasuransi?: IntFilter<"msasuransi"> | number created_at?: DateTimeNullableFilter<"msasuransi"> | Date | string | null created_by?: IntNullableFilter<"msasuransi"> | number | null modified_at?: DateTimeNullableFilter<"msasuransi"> | Date | string | null modified_by?: IntNullableFilter<"msasuransi"> | number | null deleted_at?: DateTimeNullableFilter<"msasuransi"> | Date | string | null deleted_by?: IntNullableFilter<"msasuransi"> | number | null namaasuransi?: StringNullableFilter<"msasuransi"> | string | null trregistrasi?: TrregistrasiListRelationFilter } export type msasuransiOrderByWithRelationInput = { idasuransi?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namaasuransi?: SortOrderInput | SortOrder trregistrasi?: trregistrasiOrderByRelationAggregateInput } export type msasuransiWhereUniqueInput = Prisma.AtLeast<{ idasuransi?: number AND?: msasuransiWhereInput | msasuransiWhereInput[] OR?: msasuransiWhereInput[] NOT?: msasuransiWhereInput | msasuransiWhereInput[] created_at?: DateTimeNullableFilter<"msasuransi"> | Date | string | null created_by?: IntNullableFilter<"msasuransi"> | number | null modified_at?: DateTimeNullableFilter<"msasuransi"> | Date | string | null modified_by?: IntNullableFilter<"msasuransi"> | number | null deleted_at?: DateTimeNullableFilter<"msasuransi"> | Date | string | null deleted_by?: IntNullableFilter<"msasuransi"> | number | null namaasuransi?: StringNullableFilter<"msasuransi"> | string | null trregistrasi?: TrregistrasiListRelationFilter }, "idasuransi"> export type msasuransiOrderByWithAggregationInput = { idasuransi?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namaasuransi?: SortOrderInput | SortOrder _count?: msasuransiCountOrderByAggregateInput _avg?: msasuransiAvgOrderByAggregateInput _max?: msasuransiMaxOrderByAggregateInput _min?: msasuransiMinOrderByAggregateInput _sum?: msasuransiSumOrderByAggregateInput } export type msasuransiScalarWhereWithAggregatesInput = { AND?: msasuransiScalarWhereWithAggregatesInput | msasuransiScalarWhereWithAggregatesInput[] OR?: msasuransiScalarWhereWithAggregatesInput[] NOT?: msasuransiScalarWhereWithAggregatesInput | msasuransiScalarWhereWithAggregatesInput[] idasuransi?: IntWithAggregatesFilter<"msasuransi"> | number created_at?: DateTimeNullableWithAggregatesFilter<"msasuransi"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"msasuransi"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"msasuransi"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"msasuransi"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"msasuransi"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"msasuransi"> | number | null namaasuransi?: StringNullableWithAggregatesFilter<"msasuransi"> | string | null } export type mspasienWhereInput = { AND?: mspasienWhereInput | mspasienWhereInput[] OR?: mspasienWhereInput[] NOT?: mspasienWhereInput | mspasienWhereInput[] idpasien?: IntFilter<"mspasien"> | number created_at?: DateTimeNullableFilter<"mspasien"> | Date | string | null created_by?: IntNullableFilter<"mspasien"> | number | null modified_at?: DateTimeNullableFilter<"mspasien"> | Date | string | null modified_by?: IntNullableFilter<"mspasien"> | number | null deleted_at?: DateTimeNullableFilter<"mspasien"> | Date | string | null deleted_by?: IntNullableFilter<"mspasien"> | number | null mrpasien?: StringNullableFilter<"mspasien"> | string | null namapasien?: StringNullableFilter<"mspasien"> | string | null tanggallahir?: DateTimeNullableFilter<"mspasien"> | Date | string | null jeniskelamin?: StringNullableFilter<"mspasien"> | string | null trregistrasi?: TrregistrasiListRelationFilter } export type mspasienOrderByWithRelationInput = { idpasien?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder mrpasien?: SortOrderInput | SortOrder namapasien?: SortOrderInput | SortOrder tanggallahir?: SortOrderInput | SortOrder jeniskelamin?: SortOrderInput | SortOrder trregistrasi?: trregistrasiOrderByRelationAggregateInput } export type mspasienWhereUniqueInput = Prisma.AtLeast<{ idpasien?: number AND?: mspasienWhereInput | mspasienWhereInput[] OR?: mspasienWhereInput[] NOT?: mspasienWhereInput | mspasienWhereInput[] created_at?: DateTimeNullableFilter<"mspasien"> | Date | string | null created_by?: IntNullableFilter<"mspasien"> | number | null modified_at?: DateTimeNullableFilter<"mspasien"> | Date | string | null modified_by?: IntNullableFilter<"mspasien"> | number | null deleted_at?: DateTimeNullableFilter<"mspasien"> | Date | string | null deleted_by?: IntNullableFilter<"mspasien"> | number | null mrpasien?: StringNullableFilter<"mspasien"> | string | null namapasien?: StringNullableFilter<"mspasien"> | string | null tanggallahir?: DateTimeNullableFilter<"mspasien"> | Date | string | null jeniskelamin?: StringNullableFilter<"mspasien"> | string | null trregistrasi?: TrregistrasiListRelationFilter }, "idpasien"> export type mspasienOrderByWithAggregationInput = { idpasien?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder mrpasien?: SortOrderInput | SortOrder namapasien?: SortOrderInput | SortOrder tanggallahir?: SortOrderInput | SortOrder jeniskelamin?: SortOrderInput | SortOrder _count?: mspasienCountOrderByAggregateInput _avg?: mspasienAvgOrderByAggregateInput _max?: mspasienMaxOrderByAggregateInput _min?: mspasienMinOrderByAggregateInput _sum?: mspasienSumOrderByAggregateInput } export type mspasienScalarWhereWithAggregatesInput = { AND?: mspasienScalarWhereWithAggregatesInput | mspasienScalarWhereWithAggregatesInput[] OR?: mspasienScalarWhereWithAggregatesInput[] NOT?: mspasienScalarWhereWithAggregatesInput | mspasienScalarWhereWithAggregatesInput[] idpasien?: IntWithAggregatesFilter<"mspasien"> | number created_at?: DateTimeNullableWithAggregatesFilter<"mspasien"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"mspasien"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"mspasien"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"mspasien"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"mspasien"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"mspasien"> | number | null mrpasien?: StringNullableWithAggregatesFilter<"mspasien"> | string | null namapasien?: StringNullableWithAggregatesFilter<"mspasien"> | string | null tanggallahir?: DateTimeNullableWithAggregatesFilter<"mspasien"> | Date | string | null jeniskelamin?: StringNullableWithAggregatesFilter<"mspasien"> | string | null } export type mspegawaiWhereInput = { AND?: mspegawaiWhereInput | mspegawaiWhereInput[] OR?: mspegawaiWhereInput[] NOT?: mspegawaiWhereInput | mspegawaiWhereInput[] idpegawai?: IntFilter<"mspegawai"> | number created_at?: DateTimeNullableFilter<"mspegawai"> | Date | string | null created_by?: IntNullableFilter<"mspegawai"> | number | null modified_at?: DateTimeNullableFilter<"mspegawai"> | Date | string | null modified_by?: IntNullableFilter<"mspegawai"> | number | null deleted_at?: DateTimeNullableFilter<"mspegawai"> | Date | string | null deleted_by?: IntNullableFilter<"mspegawai"> | number | null namapegawai?: StringNullableFilter<"mspegawai"> | string | null trregistrasi?: TrregistrasiListRelationFilter trtransaksi?: TrtransaksiListRelationFilter } export type mspegawaiOrderByWithRelationInput = { idpegawai?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namapegawai?: SortOrderInput | SortOrder trregistrasi?: trregistrasiOrderByRelationAggregateInput trtransaksi?: trtransaksiOrderByRelationAggregateInput } export type mspegawaiWhereUniqueInput = Prisma.AtLeast<{ idpegawai?: number AND?: mspegawaiWhereInput | mspegawaiWhereInput[] OR?: mspegawaiWhereInput[] NOT?: mspegawaiWhereInput | mspegawaiWhereInput[] created_at?: DateTimeNullableFilter<"mspegawai"> | Date | string | null created_by?: IntNullableFilter<"mspegawai"> | number | null modified_at?: DateTimeNullableFilter<"mspegawai"> | Date | string | null modified_by?: IntNullableFilter<"mspegawai"> | number | null deleted_at?: DateTimeNullableFilter<"mspegawai"> | Date | string | null deleted_by?: IntNullableFilter<"mspegawai"> | number | null namapegawai?: StringNullableFilter<"mspegawai"> | string | null trregistrasi?: TrregistrasiListRelationFilter trtransaksi?: TrtransaksiListRelationFilter }, "idpegawai"> export type mspegawaiOrderByWithAggregationInput = { idpegawai?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namapegawai?: SortOrderInput | SortOrder _count?: mspegawaiCountOrderByAggregateInput _avg?: mspegawaiAvgOrderByAggregateInput _max?: mspegawaiMaxOrderByAggregateInput _min?: mspegawaiMinOrderByAggregateInput _sum?: mspegawaiSumOrderByAggregateInput } export type mspegawaiScalarWhereWithAggregatesInput = { AND?: mspegawaiScalarWhereWithAggregatesInput | mspegawaiScalarWhereWithAggregatesInput[] OR?: mspegawaiScalarWhereWithAggregatesInput[] NOT?: mspegawaiScalarWhereWithAggregatesInput | mspegawaiScalarWhereWithAggregatesInput[] idpegawai?: IntWithAggregatesFilter<"mspegawai"> | number created_at?: DateTimeNullableWithAggregatesFilter<"mspegawai"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"mspegawai"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"mspegawai"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"mspegawai"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"mspegawai"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"mspegawai"> | number | null namapegawai?: StringNullableWithAggregatesFilter<"mspegawai"> | string | null } export type msruangpelayananWhereInput = { AND?: msruangpelayananWhereInput | msruangpelayananWhereInput[] OR?: msruangpelayananWhereInput[] NOT?: msruangpelayananWhereInput | msruangpelayananWhereInput[] idruangpelayanan?: IntFilter<"msruangpelayanan"> | number created_at?: DateTimeNullableFilter<"msruangpelayanan"> | Date | string | null created_by?: IntNullableFilter<"msruangpelayanan"> | number | null modified_at?: DateTimeNullableFilter<"msruangpelayanan"> | Date | string | null modified_by?: IntNullableFilter<"msruangpelayanan"> | number | null deleted_at?: DateTimeNullableFilter<"msruangpelayanan"> | Date | string | null deleted_by?: IntNullableFilter<"msruangpelayanan"> | number | null namaruangpelayanan?: StringNullableFilter<"msruangpelayanan"> | string | null trregistrasi?: TrregistrasiListRelationFilter } export type msruangpelayananOrderByWithRelationInput = { idruangpelayanan?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namaruangpelayanan?: SortOrderInput | SortOrder trregistrasi?: trregistrasiOrderByRelationAggregateInput } export type msruangpelayananWhereUniqueInput = Prisma.AtLeast<{ idruangpelayanan?: number AND?: msruangpelayananWhereInput | msruangpelayananWhereInput[] OR?: msruangpelayananWhereInput[] NOT?: msruangpelayananWhereInput | msruangpelayananWhereInput[] created_at?: DateTimeNullableFilter<"msruangpelayanan"> | Date | string | null created_by?: IntNullableFilter<"msruangpelayanan"> | number | null modified_at?: DateTimeNullableFilter<"msruangpelayanan"> | Date | string | null modified_by?: IntNullableFilter<"msruangpelayanan"> | number | null deleted_at?: DateTimeNullableFilter<"msruangpelayanan"> | Date | string | null deleted_by?: IntNullableFilter<"msruangpelayanan"> | number | null namaruangpelayanan?: StringNullableFilter<"msruangpelayanan"> | string | null trregistrasi?: TrregistrasiListRelationFilter }, "idruangpelayanan"> export type msruangpelayananOrderByWithAggregationInput = { idruangpelayanan?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namaruangpelayanan?: SortOrderInput | SortOrder _count?: msruangpelayananCountOrderByAggregateInput _avg?: msruangpelayananAvgOrderByAggregateInput _max?: msruangpelayananMaxOrderByAggregateInput _min?: msruangpelayananMinOrderByAggregateInput _sum?: msruangpelayananSumOrderByAggregateInput } export type msruangpelayananScalarWhereWithAggregatesInput = { AND?: msruangpelayananScalarWhereWithAggregatesInput | msruangpelayananScalarWhereWithAggregatesInput[] OR?: msruangpelayananScalarWhereWithAggregatesInput[] NOT?: msruangpelayananScalarWhereWithAggregatesInput | msruangpelayananScalarWhereWithAggregatesInput[] idruangpelayanan?: IntWithAggregatesFilter<"msruangpelayanan"> | number created_at?: DateTimeNullableWithAggregatesFilter<"msruangpelayanan"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"msruangpelayanan"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"msruangpelayanan"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"msruangpelayanan"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"msruangpelayanan"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"msruangpelayanan"> | number | null namaruangpelayanan?: StringNullableWithAggregatesFilter<"msruangpelayanan"> | string | null } export type mstindakanWhereInput = { AND?: mstindakanWhereInput | mstindakanWhereInput[] OR?: mstindakanWhereInput[] NOT?: mstindakanWhereInput | mstindakanWhereInput[] idtindakan?: IntFilter<"mstindakan"> | number created_at?: DateTimeNullableFilter<"mstindakan"> | Date | string | null created_by?: IntNullableFilter<"mstindakan"> | number | null modified_at?: DateTimeNullableFilter<"mstindakan"> | Date | string | null modified_by?: IntNullableFilter<"mstindakan"> | number | null deleted_at?: DateTimeNullableFilter<"mstindakan"> | Date | string | null deleted_by?: IntNullableFilter<"mstindakan"> | number | null namatindakan?: StringNullableFilter<"mstindakan"> | string | null tariftindakan?: DecimalNullableFilter<"mstindakan"> | Decimal | DecimalJsLike | number | string | null trtransaksi?: TrtransaksiListRelationFilter } export type mstindakanOrderByWithRelationInput = { idtindakan?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namatindakan?: SortOrderInput | SortOrder tariftindakan?: SortOrderInput | SortOrder trtransaksi?: trtransaksiOrderByRelationAggregateInput } export type mstindakanWhereUniqueInput = Prisma.AtLeast<{ idtindakan?: number AND?: mstindakanWhereInput | mstindakanWhereInput[] OR?: mstindakanWhereInput[] NOT?: mstindakanWhereInput | mstindakanWhereInput[] created_at?: DateTimeNullableFilter<"mstindakan"> | Date | string | null created_by?: IntNullableFilter<"mstindakan"> | number | null modified_at?: DateTimeNullableFilter<"mstindakan"> | Date | string | null modified_by?: IntNullableFilter<"mstindakan"> | number | null deleted_at?: DateTimeNullableFilter<"mstindakan"> | Date | string | null deleted_by?: IntNullableFilter<"mstindakan"> | number | null namatindakan?: StringNullableFilter<"mstindakan"> | string | null tariftindakan?: DecimalNullableFilter<"mstindakan"> | Decimal | DecimalJsLike | number | string | null trtransaksi?: TrtransaksiListRelationFilter }, "idtindakan"> export type mstindakanOrderByWithAggregationInput = { idtindakan?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder namatindakan?: SortOrderInput | SortOrder tariftindakan?: SortOrderInput | SortOrder _count?: mstindakanCountOrderByAggregateInput _avg?: mstindakanAvgOrderByAggregateInput _max?: mstindakanMaxOrderByAggregateInput _min?: mstindakanMinOrderByAggregateInput _sum?: mstindakanSumOrderByAggregateInput } export type mstindakanScalarWhereWithAggregatesInput = { AND?: mstindakanScalarWhereWithAggregatesInput | mstindakanScalarWhereWithAggregatesInput[] OR?: mstindakanScalarWhereWithAggregatesInput[] NOT?: mstindakanScalarWhereWithAggregatesInput | mstindakanScalarWhereWithAggregatesInput[] idtindakan?: IntWithAggregatesFilter<"mstindakan"> | number created_at?: DateTimeNullableWithAggregatesFilter<"mstindakan"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"mstindakan"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"mstindakan"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"mstindakan"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"mstindakan"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"mstindakan"> | number | null namatindakan?: StringNullableWithAggregatesFilter<"mstindakan"> | string | null tariftindakan?: DecimalNullableWithAggregatesFilter<"mstindakan"> | Decimal | DecimalJsLike | number | string | null } export type trregistrasiWhereInput = { AND?: trregistrasiWhereInput | trregistrasiWhereInput[] OR?: trregistrasiWhereInput[] NOT?: trregistrasiWhereInput | trregistrasiWhereInput[] idregistrasi?: IntFilter<"trregistrasi"> | number created_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null created_by?: IntNullableFilter<"trregistrasi"> | number | null modified_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null modified_by?: IntNullableFilter<"trregistrasi"> | number | null deleted_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null deleted_by?: IntNullableFilter<"trregistrasi"> | number | null tanggalregistrasi?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null idpasien?: IntNullableFilter<"trregistrasi"> | number | null nomorkartuasuransi?: StringNullableFilter<"trregistrasi"> | string | null idasuransi?: IntNullableFilter<"trregistrasi"> | number | null idpegawai?: IntNullableFilter<"trregistrasi"> | number | null idruangpelayanan?: IntNullableFilter<"trregistrasi"> | number | null msasuransi?: XOR | null mspasien?: XOR | null mspegawai?: XOR | null msruangpelayanan?: XOR | null trtransaksi?: TrtransaksiListRelationFilter } export type trregistrasiOrderByWithRelationInput = { idregistrasi?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder tanggalregistrasi?: SortOrderInput | SortOrder idpasien?: SortOrderInput | SortOrder nomorkartuasuransi?: SortOrderInput | SortOrder idasuransi?: SortOrderInput | SortOrder idpegawai?: SortOrderInput | SortOrder idruangpelayanan?: SortOrderInput | SortOrder msasuransi?: msasuransiOrderByWithRelationInput mspasien?: mspasienOrderByWithRelationInput mspegawai?: mspegawaiOrderByWithRelationInput msruangpelayanan?: msruangpelayananOrderByWithRelationInput trtransaksi?: trtransaksiOrderByRelationAggregateInput } export type trregistrasiWhereUniqueInput = Prisma.AtLeast<{ idregistrasi?: number AND?: trregistrasiWhereInput | trregistrasiWhereInput[] OR?: trregistrasiWhereInput[] NOT?: trregistrasiWhereInput | trregistrasiWhereInput[] created_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null created_by?: IntNullableFilter<"trregistrasi"> | number | null modified_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null modified_by?: IntNullableFilter<"trregistrasi"> | number | null deleted_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null deleted_by?: IntNullableFilter<"trregistrasi"> | number | null tanggalregistrasi?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null idpasien?: IntNullableFilter<"trregistrasi"> | number | null nomorkartuasuransi?: StringNullableFilter<"trregistrasi"> | string | null idasuransi?: IntNullableFilter<"trregistrasi"> | number | null idpegawai?: IntNullableFilter<"trregistrasi"> | number | null idruangpelayanan?: IntNullableFilter<"trregistrasi"> | number | null msasuransi?: XOR | null mspasien?: XOR | null mspegawai?: XOR | null msruangpelayanan?: XOR | null trtransaksi?: TrtransaksiListRelationFilter }, "idregistrasi"> export type trregistrasiOrderByWithAggregationInput = { idregistrasi?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder tanggalregistrasi?: SortOrderInput | SortOrder idpasien?: SortOrderInput | SortOrder nomorkartuasuransi?: SortOrderInput | SortOrder idasuransi?: SortOrderInput | SortOrder idpegawai?: SortOrderInput | SortOrder idruangpelayanan?: SortOrderInput | SortOrder _count?: trregistrasiCountOrderByAggregateInput _avg?: trregistrasiAvgOrderByAggregateInput _max?: trregistrasiMaxOrderByAggregateInput _min?: trregistrasiMinOrderByAggregateInput _sum?: trregistrasiSumOrderByAggregateInput } export type trregistrasiScalarWhereWithAggregatesInput = { AND?: trregistrasiScalarWhereWithAggregatesInput | trregistrasiScalarWhereWithAggregatesInput[] OR?: trregistrasiScalarWhereWithAggregatesInput[] NOT?: trregistrasiScalarWhereWithAggregatesInput | trregistrasiScalarWhereWithAggregatesInput[] idregistrasi?: IntWithAggregatesFilter<"trregistrasi"> | number created_at?: DateTimeNullableWithAggregatesFilter<"trregistrasi"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"trregistrasi"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"trregistrasi"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"trregistrasi"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"trregistrasi"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"trregistrasi"> | number | null tanggalregistrasi?: DateTimeNullableWithAggregatesFilter<"trregistrasi"> | Date | string | null idpasien?: IntNullableWithAggregatesFilter<"trregistrasi"> | number | null nomorkartuasuransi?: StringNullableWithAggregatesFilter<"trregistrasi"> | string | null idasuransi?: IntNullableWithAggregatesFilter<"trregistrasi"> | number | null idpegawai?: IntNullableWithAggregatesFilter<"trregistrasi"> | number | null idruangpelayanan?: IntNullableWithAggregatesFilter<"trregistrasi"> | number | null } export type trtransaksiWhereInput = { AND?: trtransaksiWhereInput | trtransaksiWhereInput[] OR?: trtransaksiWhereInput[] NOT?: trtransaksiWhereInput | trtransaksiWhereInput[] idtransaksi?: IntFilter<"trtransaksi"> | number created_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null created_by?: IntNullableFilter<"trtransaksi"> | number | null modified_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null modified_by?: IntNullableFilter<"trtransaksi"> | number | null deleted_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null deleted_by?: IntNullableFilter<"trtransaksi"> | number | null idregistrasi?: IntNullableFilter<"trtransaksi"> | number | null idtindakan?: IntNullableFilter<"trtransaksi"> | number | null jmltindakan?: IntNullableFilter<"trtransaksi"> | number | null idpegawai?: IntNullableFilter<"trtransaksi"> | number | null mspegawai?: XOR | null trregistrasi?: XOR | null mstindakan?: XOR | null } export type trtransaksiOrderByWithRelationInput = { idtransaksi?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder idregistrasi?: SortOrderInput | SortOrder idtindakan?: SortOrderInput | SortOrder jmltindakan?: SortOrderInput | SortOrder idpegawai?: SortOrderInput | SortOrder mspegawai?: mspegawaiOrderByWithRelationInput trregistrasi?: trregistrasiOrderByWithRelationInput mstindakan?: mstindakanOrderByWithRelationInput } export type trtransaksiWhereUniqueInput = Prisma.AtLeast<{ idtransaksi?: number AND?: trtransaksiWhereInput | trtransaksiWhereInput[] OR?: trtransaksiWhereInput[] NOT?: trtransaksiWhereInput | trtransaksiWhereInput[] created_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null created_by?: IntNullableFilter<"trtransaksi"> | number | null modified_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null modified_by?: IntNullableFilter<"trtransaksi"> | number | null deleted_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null deleted_by?: IntNullableFilter<"trtransaksi"> | number | null idregistrasi?: IntNullableFilter<"trtransaksi"> | number | null idtindakan?: IntNullableFilter<"trtransaksi"> | number | null jmltindakan?: IntNullableFilter<"trtransaksi"> | number | null idpegawai?: IntNullableFilter<"trtransaksi"> | number | null mspegawai?: XOR | null trregistrasi?: XOR | null mstindakan?: XOR | null }, "idtransaksi"> export type trtransaksiOrderByWithAggregationInput = { idtransaksi?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder idregistrasi?: SortOrderInput | SortOrder idtindakan?: SortOrderInput | SortOrder jmltindakan?: SortOrderInput | SortOrder idpegawai?: SortOrderInput | SortOrder _count?: trtransaksiCountOrderByAggregateInput _avg?: trtransaksiAvgOrderByAggregateInput _max?: trtransaksiMaxOrderByAggregateInput _min?: trtransaksiMinOrderByAggregateInput _sum?: trtransaksiSumOrderByAggregateInput } export type trtransaksiScalarWhereWithAggregatesInput = { AND?: trtransaksiScalarWhereWithAggregatesInput | trtransaksiScalarWhereWithAggregatesInput[] OR?: trtransaksiScalarWhereWithAggregatesInput[] NOT?: trtransaksiScalarWhereWithAggregatesInput | trtransaksiScalarWhereWithAggregatesInput[] idtransaksi?: IntWithAggregatesFilter<"trtransaksi"> | number created_at?: DateTimeNullableWithAggregatesFilter<"trtransaksi"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"trtransaksi"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"trtransaksi"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"trtransaksi"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"trtransaksi"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"trtransaksi"> | number | null idregistrasi?: IntNullableWithAggregatesFilter<"trtransaksi"> | number | null idtindakan?: IntNullableWithAggregatesFilter<"trtransaksi"> | number | null jmltindakan?: IntNullableWithAggregatesFilter<"trtransaksi"> | number | null idpegawai?: IntNullableWithAggregatesFilter<"trtransaksi"> | number | null } export type msusersWhereInput = { AND?: msusersWhereInput | msusersWhereInput[] OR?: msusersWhereInput[] NOT?: msusersWhereInput | msusersWhereInput[] user_id?: IntFilter<"msusers"> | number created_at?: DateTimeNullableFilter<"msusers"> | Date | string | null created_by?: IntNullableFilter<"msusers"> | number | null modified_at?: DateTimeNullableFilter<"msusers"> | Date | string | null modified_by?: IntNullableFilter<"msusers"> | number | null deleted_at?: DateTimeNullableFilter<"msusers"> | Date | string | null deleted_by?: IntNullableFilter<"msusers"> | number | null username?: StringFilter<"msusers"> | string password?: StringFilter<"msusers"> | string full_name?: StringNullableFilter<"msusers"> | string | null email?: StringNullableFilter<"msusers"> | string | null is_active?: BoolNullableFilter<"msusers"> | boolean | null } export type msusersOrderByWithRelationInput = { user_id?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder username?: SortOrder password?: SortOrder full_name?: SortOrderInput | SortOrder email?: SortOrderInput | SortOrder is_active?: SortOrderInput | SortOrder } export type msusersWhereUniqueInput = Prisma.AtLeast<{ user_id?: number username?: string AND?: msusersWhereInput | msusersWhereInput[] OR?: msusersWhereInput[] NOT?: msusersWhereInput | msusersWhereInput[] created_at?: DateTimeNullableFilter<"msusers"> | Date | string | null created_by?: IntNullableFilter<"msusers"> | number | null modified_at?: DateTimeNullableFilter<"msusers"> | Date | string | null modified_by?: IntNullableFilter<"msusers"> | number | null deleted_at?: DateTimeNullableFilter<"msusers"> | Date | string | null deleted_by?: IntNullableFilter<"msusers"> | number | null password?: StringFilter<"msusers"> | string full_name?: StringNullableFilter<"msusers"> | string | null email?: StringNullableFilter<"msusers"> | string | null is_active?: BoolNullableFilter<"msusers"> | boolean | null }, "user_id" | "username"> export type msusersOrderByWithAggregationInput = { user_id?: SortOrder created_at?: SortOrderInput | SortOrder created_by?: SortOrderInput | SortOrder modified_at?: SortOrderInput | SortOrder modified_by?: SortOrderInput | SortOrder deleted_at?: SortOrderInput | SortOrder deleted_by?: SortOrderInput | SortOrder username?: SortOrder password?: SortOrder full_name?: SortOrderInput | SortOrder email?: SortOrderInput | SortOrder is_active?: SortOrderInput | SortOrder _count?: msusersCountOrderByAggregateInput _avg?: msusersAvgOrderByAggregateInput _max?: msusersMaxOrderByAggregateInput _min?: msusersMinOrderByAggregateInput _sum?: msusersSumOrderByAggregateInput } export type msusersScalarWhereWithAggregatesInput = { AND?: msusersScalarWhereWithAggregatesInput | msusersScalarWhereWithAggregatesInput[] OR?: msusersScalarWhereWithAggregatesInput[] NOT?: msusersScalarWhereWithAggregatesInput | msusersScalarWhereWithAggregatesInput[] user_id?: IntWithAggregatesFilter<"msusers"> | number created_at?: DateTimeNullableWithAggregatesFilter<"msusers"> | Date | string | null created_by?: IntNullableWithAggregatesFilter<"msusers"> | number | null modified_at?: DateTimeNullableWithAggregatesFilter<"msusers"> | Date | string | null modified_by?: IntNullableWithAggregatesFilter<"msusers"> | number | null deleted_at?: DateTimeNullableWithAggregatesFilter<"msusers"> | Date | string | null deleted_by?: IntNullableWithAggregatesFilter<"msusers"> | number | null username?: StringWithAggregatesFilter<"msusers"> | string password?: StringWithAggregatesFilter<"msusers"> | string full_name?: StringNullableWithAggregatesFilter<"msusers"> | string | null email?: StringNullableWithAggregatesFilter<"msusers"> | string | null is_active?: BoolNullableWithAggregatesFilter<"msusers"> | boolean | null } export type msasuransiCreateInput = { idasuransi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaasuransi?: string | null trregistrasi?: trregistrasiCreateNestedManyWithoutMsasuransiInput } export type msasuransiUncheckedCreateInput = { idasuransi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaasuransi?: string | null trregistrasi?: trregistrasiUncheckedCreateNestedManyWithoutMsasuransiInput } export type msasuransiUpdateInput = { idasuransi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaasuransi?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUpdateManyWithoutMsasuransiNestedInput } export type msasuransiUncheckedUpdateInput = { idasuransi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaasuransi?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUncheckedUpdateManyWithoutMsasuransiNestedInput } export type msasuransiCreateManyInput = { idasuransi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaasuransi?: string | null } export type msasuransiUpdateManyMutationInput = { idasuransi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaasuransi?: NullableStringFieldUpdateOperationsInput | string | null } export type msasuransiUncheckedUpdateManyInput = { idasuransi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaasuransi?: NullableStringFieldUpdateOperationsInput | string | null } export type mspasienCreateInput = { idpasien: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null mrpasien?: string | null namapasien?: string | null tanggallahir?: Date | string | null jeniskelamin?: string | null trregistrasi?: trregistrasiCreateNestedManyWithoutMspasienInput } export type mspasienUncheckedCreateInput = { idpasien: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null mrpasien?: string | null namapasien?: string | null tanggallahir?: Date | string | null jeniskelamin?: string | null trregistrasi?: trregistrasiUncheckedCreateNestedManyWithoutMspasienInput } export type mspasienUpdateInput = { idpasien?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null mrpasien?: NullableStringFieldUpdateOperationsInput | string | null namapasien?: NullableStringFieldUpdateOperationsInput | string | null tanggallahir?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jeniskelamin?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUpdateManyWithoutMspasienNestedInput } export type mspasienUncheckedUpdateInput = { idpasien?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null mrpasien?: NullableStringFieldUpdateOperationsInput | string | null namapasien?: NullableStringFieldUpdateOperationsInput | string | null tanggallahir?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jeniskelamin?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUncheckedUpdateManyWithoutMspasienNestedInput } export type mspasienCreateManyInput = { idpasien: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null mrpasien?: string | null namapasien?: string | null tanggallahir?: Date | string | null jeniskelamin?: string | null } export type mspasienUpdateManyMutationInput = { idpasien?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null mrpasien?: NullableStringFieldUpdateOperationsInput | string | null namapasien?: NullableStringFieldUpdateOperationsInput | string | null tanggallahir?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jeniskelamin?: NullableStringFieldUpdateOperationsInput | string | null } export type mspasienUncheckedUpdateManyInput = { idpasien?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null mrpasien?: NullableStringFieldUpdateOperationsInput | string | null namapasien?: NullableStringFieldUpdateOperationsInput | string | null tanggallahir?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jeniskelamin?: NullableStringFieldUpdateOperationsInput | string | null } export type mspegawaiCreateInput = { idpegawai: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namapegawai?: string | null trregistrasi?: trregistrasiCreateNestedManyWithoutMspegawaiInput trtransaksi?: trtransaksiCreateNestedManyWithoutMspegawaiInput } export type mspegawaiUncheckedCreateInput = { idpegawai: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namapegawai?: string | null trregistrasi?: trregistrasiUncheckedCreateNestedManyWithoutMspegawaiInput trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutMspegawaiInput } export type mspegawaiUpdateInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUpdateManyWithoutMspegawaiNestedInput trtransaksi?: trtransaksiUpdateManyWithoutMspegawaiNestedInput } export type mspegawaiUncheckedUpdateInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUncheckedUpdateManyWithoutMspegawaiNestedInput trtransaksi?: trtransaksiUncheckedUpdateManyWithoutMspegawaiNestedInput } export type mspegawaiCreateManyInput = { idpegawai: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namapegawai?: string | null } export type mspegawaiUpdateManyMutationInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null } export type mspegawaiUncheckedUpdateManyInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null } export type msruangpelayananCreateInput = { idruangpelayanan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaruangpelayanan?: string | null trregistrasi?: trregistrasiCreateNestedManyWithoutMsruangpelayananInput } export type msruangpelayananUncheckedCreateInput = { idruangpelayanan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaruangpelayanan?: string | null trregistrasi?: trregistrasiUncheckedCreateNestedManyWithoutMsruangpelayananInput } export type msruangpelayananUpdateInput = { idruangpelayanan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaruangpelayanan?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUpdateManyWithoutMsruangpelayananNestedInput } export type msruangpelayananUncheckedUpdateInput = { idruangpelayanan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaruangpelayanan?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUncheckedUpdateManyWithoutMsruangpelayananNestedInput } export type msruangpelayananCreateManyInput = { idruangpelayanan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaruangpelayanan?: string | null } export type msruangpelayananUpdateManyMutationInput = { idruangpelayanan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaruangpelayanan?: NullableStringFieldUpdateOperationsInput | string | null } export type msruangpelayananUncheckedUpdateManyInput = { idruangpelayanan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaruangpelayanan?: NullableStringFieldUpdateOperationsInput | string | null } export type mstindakanCreateInput = { idtindakan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namatindakan?: string | null tariftindakan?: Decimal | DecimalJsLike | number | string | null trtransaksi?: trtransaksiCreateNestedManyWithoutMstindakanInput } export type mstindakanUncheckedCreateInput = { idtindakan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namatindakan?: string | null tariftindakan?: Decimal | DecimalJsLike | number | string | null trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutMstindakanInput } export type mstindakanUpdateInput = { idtindakan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namatindakan?: NullableStringFieldUpdateOperationsInput | string | null tariftindakan?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null trtransaksi?: trtransaksiUpdateManyWithoutMstindakanNestedInput } export type mstindakanUncheckedUpdateInput = { idtindakan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namatindakan?: NullableStringFieldUpdateOperationsInput | string | null tariftindakan?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null trtransaksi?: trtransaksiUncheckedUpdateManyWithoutMstindakanNestedInput } export type mstindakanCreateManyInput = { idtindakan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namatindakan?: string | null tariftindakan?: Decimal | DecimalJsLike | number | string | null } export type mstindakanUpdateManyMutationInput = { idtindakan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namatindakan?: NullableStringFieldUpdateOperationsInput | string | null tariftindakan?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null } export type mstindakanUncheckedUpdateManyInput = { idtindakan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namatindakan?: NullableStringFieldUpdateOperationsInput | string | null tariftindakan?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null } export type trregistrasiCreateInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null msasuransi?: msasuransiCreateNestedOneWithoutTrregistrasiInput mspasien?: mspasienCreateNestedOneWithoutTrregistrasiInput mspegawai?: mspegawaiCreateNestedOneWithoutTrregistrasiInput msruangpelayanan?: msruangpelayananCreateNestedOneWithoutTrregistrasiInput trtransaksi?: trtransaksiCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiUncheckedCreateInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idasuransi?: number | null idpegawai?: number | null idruangpelayanan?: number | null trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiUpdateInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null msasuransi?: msasuransiUpdateOneWithoutTrregistrasiNestedInput mspasien?: mspasienUpdateOneWithoutTrregistrasiNestedInput mspegawai?: mspegawaiUpdateOneWithoutTrregistrasiNestedInput msruangpelayanan?: msruangpelayananUpdateOneWithoutTrregistrasiNestedInput trtransaksi?: trtransaksiUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null trtransaksi?: trtransaksiUncheckedUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiCreateManyInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idasuransi?: number | null idpegawai?: number | null idruangpelayanan?: number | null } export type trregistrasiUpdateManyMutationInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null } export type trregistrasiUncheckedUpdateManyInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiCreateInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null jmltindakan?: number | null mspegawai?: mspegawaiCreateNestedOneWithoutTrtransaksiInput trregistrasi?: trregistrasiCreateNestedOneWithoutTrtransaksiInput mstindakan?: mstindakanCreateNestedOneWithoutTrtransaksiInput } export type trtransaksiUncheckedCreateInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idregistrasi?: number | null idtindakan?: number | null jmltindakan?: number | null idpegawai?: number | null } export type trtransaksiUpdateInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null mspegawai?: mspegawaiUpdateOneWithoutTrtransaksiNestedInput trregistrasi?: trregistrasiUpdateOneWithoutTrtransaksiNestedInput mstindakan?: mstindakanUpdateOneWithoutTrtransaksiNestedInput } export type trtransaksiUncheckedUpdateInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idregistrasi?: NullableIntFieldUpdateOperationsInput | number | null idtindakan?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiCreateManyInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idregistrasi?: number | null idtindakan?: number | null jmltindakan?: number | null idpegawai?: number | null } export type trtransaksiUpdateManyMutationInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiUncheckedUpdateManyInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idregistrasi?: NullableIntFieldUpdateOperationsInput | number | null idtindakan?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null } export type msusersCreateInput = { user_id: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null username: string password: string full_name?: string | null email?: string | null is_active?: boolean | null } export type msusersUncheckedCreateInput = { user_id: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null username: string password: string full_name?: string | null email?: string | null is_active?: boolean | null } export type msusersUpdateInput = { user_id?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null username?: StringFieldUpdateOperationsInput | string password?: StringFieldUpdateOperationsInput | string full_name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null } export type msusersUncheckedUpdateInput = { user_id?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null username?: StringFieldUpdateOperationsInput | string password?: StringFieldUpdateOperationsInput | string full_name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null } export type msusersCreateManyInput = { user_id: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null username: string password: string full_name?: string | null email?: string | null is_active?: boolean | null } export type msusersUpdateManyMutationInput = { user_id?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null username?: StringFieldUpdateOperationsInput | string password?: StringFieldUpdateOperationsInput | string full_name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null } export type msusersUncheckedUpdateManyInput = { user_id?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null username?: StringFieldUpdateOperationsInput | string password?: StringFieldUpdateOperationsInput | string full_name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null } export type IntFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntFilter<$PrismaModel> | number } export type DateTimeNullableFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } export type IntNullableFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | ListIntFieldRefInput<$PrismaModel> | null notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableFilter<$PrismaModel> | number | null } export type StringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringNullableFilter<$PrismaModel> | string | null } export type TrregistrasiListRelationFilter = { every?: trregistrasiWhereInput some?: trregistrasiWhereInput none?: trregistrasiWhereInput } export type SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type trregistrasiOrderByRelationAggregateInput = { _count?: SortOrder } export type msasuransiCountOrderByAggregateInput = { idasuransi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namaasuransi?: SortOrder } export type msasuransiAvgOrderByAggregateInput = { idasuransi?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type msasuransiMaxOrderByAggregateInput = { idasuransi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namaasuransi?: SortOrder } export type msasuransiMinOrderByAggregateInput = { idasuransi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namaasuransi?: SortOrder } export type msasuransiSumOrderByAggregateInput = { idasuransi?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type IntWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedIntFilter<$PrismaModel> _min?: NestedIntFilter<$PrismaModel> _max?: NestedIntFilter<$PrismaModel> } export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedDateTimeNullableFilter<$PrismaModel> _max?: NestedDateTimeNullableFilter<$PrismaModel> } export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | ListIntFieldRefInput<$PrismaModel> | null notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedStringNullableFilter<$PrismaModel> _max?: NestedStringNullableFilter<$PrismaModel> } export type mspasienCountOrderByAggregateInput = { idpasien?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder mrpasien?: SortOrder namapasien?: SortOrder tanggallahir?: SortOrder jeniskelamin?: SortOrder } export type mspasienAvgOrderByAggregateInput = { idpasien?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type mspasienMaxOrderByAggregateInput = { idpasien?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder mrpasien?: SortOrder namapasien?: SortOrder tanggallahir?: SortOrder jeniskelamin?: SortOrder } export type mspasienMinOrderByAggregateInput = { idpasien?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder mrpasien?: SortOrder namapasien?: SortOrder tanggallahir?: SortOrder jeniskelamin?: SortOrder } export type mspasienSumOrderByAggregateInput = { idpasien?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type TrtransaksiListRelationFilter = { every?: trtransaksiWhereInput some?: trtransaksiWhereInput none?: trtransaksiWhereInput } export type trtransaksiOrderByRelationAggregateInput = { _count?: SortOrder } export type mspegawaiCountOrderByAggregateInput = { idpegawai?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namapegawai?: SortOrder } export type mspegawaiAvgOrderByAggregateInput = { idpegawai?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type mspegawaiMaxOrderByAggregateInput = { idpegawai?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namapegawai?: SortOrder } export type mspegawaiMinOrderByAggregateInput = { idpegawai?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namapegawai?: SortOrder } export type mspegawaiSumOrderByAggregateInput = { idpegawai?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type msruangpelayananCountOrderByAggregateInput = { idruangpelayanan?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namaruangpelayanan?: SortOrder } export type msruangpelayananAvgOrderByAggregateInput = { idruangpelayanan?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type msruangpelayananMaxOrderByAggregateInput = { idruangpelayanan?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namaruangpelayanan?: SortOrder } export type msruangpelayananMinOrderByAggregateInput = { idruangpelayanan?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namaruangpelayanan?: SortOrder } export type msruangpelayananSumOrderByAggregateInput = { idruangpelayanan?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type DecimalNullableFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null } export type mstindakanCountOrderByAggregateInput = { idtindakan?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namatindakan?: SortOrder tariftindakan?: SortOrder } export type mstindakanAvgOrderByAggregateInput = { idtindakan?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder tariftindakan?: SortOrder } export type mstindakanMaxOrderByAggregateInput = { idtindakan?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namatindakan?: SortOrder tariftindakan?: SortOrder } export type mstindakanMinOrderByAggregateInput = { idtindakan?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder namatindakan?: SortOrder tariftindakan?: SortOrder } export type mstindakanSumOrderByAggregateInput = { idtindakan?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder tariftindakan?: SortOrder } export type DecimalNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedDecimalNullableFilter<$PrismaModel> _sum?: NestedDecimalNullableFilter<$PrismaModel> _min?: NestedDecimalNullableFilter<$PrismaModel> _max?: NestedDecimalNullableFilter<$PrismaModel> } export type MsasuransiNullableRelationFilter = { is?: msasuransiWhereInput | null isNot?: msasuransiWhereInput | null } export type MspasienNullableRelationFilter = { is?: mspasienWhereInput | null isNot?: mspasienWhereInput | null } export type MspegawaiNullableRelationFilter = { is?: mspegawaiWhereInput | null isNot?: mspegawaiWhereInput | null } export type MsruangpelayananNullableRelationFilter = { is?: msruangpelayananWhereInput | null isNot?: msruangpelayananWhereInput | null } export type trregistrasiCountOrderByAggregateInput = { idregistrasi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder tanggalregistrasi?: SortOrder idpasien?: SortOrder nomorkartuasuransi?: SortOrder idasuransi?: SortOrder idpegawai?: SortOrder idruangpelayanan?: SortOrder } export type trregistrasiAvgOrderByAggregateInput = { idregistrasi?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder idpasien?: SortOrder idasuransi?: SortOrder idpegawai?: SortOrder idruangpelayanan?: SortOrder } export type trregistrasiMaxOrderByAggregateInput = { idregistrasi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder tanggalregistrasi?: SortOrder idpasien?: SortOrder nomorkartuasuransi?: SortOrder idasuransi?: SortOrder idpegawai?: SortOrder idruangpelayanan?: SortOrder } export type trregistrasiMinOrderByAggregateInput = { idregistrasi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder tanggalregistrasi?: SortOrder idpasien?: SortOrder nomorkartuasuransi?: SortOrder idasuransi?: SortOrder idpegawai?: SortOrder idruangpelayanan?: SortOrder } export type trregistrasiSumOrderByAggregateInput = { idregistrasi?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder idpasien?: SortOrder idasuransi?: SortOrder idpegawai?: SortOrder idruangpelayanan?: SortOrder } export type TrregistrasiNullableRelationFilter = { is?: trregistrasiWhereInput | null isNot?: trregistrasiWhereInput | null } export type MstindakanNullableRelationFilter = { is?: mstindakanWhereInput | null isNot?: mstindakanWhereInput | null } export type trtransaksiCountOrderByAggregateInput = { idtransaksi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder idregistrasi?: SortOrder idtindakan?: SortOrder jmltindakan?: SortOrder idpegawai?: SortOrder } export type trtransaksiAvgOrderByAggregateInput = { idtransaksi?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder idregistrasi?: SortOrder idtindakan?: SortOrder jmltindakan?: SortOrder idpegawai?: SortOrder } export type trtransaksiMaxOrderByAggregateInput = { idtransaksi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder idregistrasi?: SortOrder idtindakan?: SortOrder jmltindakan?: SortOrder idpegawai?: SortOrder } export type trtransaksiMinOrderByAggregateInput = { idtransaksi?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder idregistrasi?: SortOrder idtindakan?: SortOrder jmltindakan?: SortOrder idpegawai?: SortOrder } export type trtransaksiSumOrderByAggregateInput = { idtransaksi?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder idregistrasi?: SortOrder idtindakan?: SortOrder jmltindakan?: SortOrder idpegawai?: SortOrder } export type StringFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringFilter<$PrismaModel> | string } export type BoolNullableFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null } export type msusersCountOrderByAggregateInput = { user_id?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder username?: SortOrder password?: SortOrder full_name?: SortOrder email?: SortOrder is_active?: SortOrder } export type msusersAvgOrderByAggregateInput = { user_id?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type msusersMaxOrderByAggregateInput = { user_id?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder username?: SortOrder password?: SortOrder full_name?: SortOrder email?: SortOrder is_active?: SortOrder } export type msusersMinOrderByAggregateInput = { user_id?: SortOrder created_at?: SortOrder created_by?: SortOrder modified_at?: SortOrder modified_by?: SortOrder deleted_at?: SortOrder deleted_by?: SortOrder username?: SortOrder password?: SortOrder full_name?: SortOrder email?: SortOrder is_active?: SortOrder } export type msusersSumOrderByAggregateInput = { user_id?: SortOrder created_by?: SortOrder modified_by?: SortOrder deleted_by?: SortOrder } export type StringWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringWithAggregatesFilter<$PrismaModel> | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedStringFilter<$PrismaModel> _max?: NestedStringFilter<$PrismaModel> } export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBoolNullableFilter<$PrismaModel> _max?: NestedBoolNullableFilter<$PrismaModel> } export type trregistrasiCreateNestedManyWithoutMsasuransiInput = { create?: XOR | trregistrasiCreateWithoutMsasuransiInput[] | trregistrasiUncheckedCreateWithoutMsasuransiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsasuransiInput | trregistrasiCreateOrConnectWithoutMsasuransiInput[] createMany?: trregistrasiCreateManyMsasuransiInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type trregistrasiUncheckedCreateNestedManyWithoutMsasuransiInput = { create?: XOR | trregistrasiCreateWithoutMsasuransiInput[] | trregistrasiUncheckedCreateWithoutMsasuransiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsasuransiInput | trregistrasiCreateOrConnectWithoutMsasuransiInput[] createMany?: trregistrasiCreateManyMsasuransiInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type trregistrasiUpdateManyWithoutMsasuransiNestedInput = { create?: XOR | trregistrasiCreateWithoutMsasuransiInput[] | trregistrasiUncheckedCreateWithoutMsasuransiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsasuransiInput | trregistrasiCreateOrConnectWithoutMsasuransiInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMsasuransiInput | trregistrasiUpsertWithWhereUniqueWithoutMsasuransiInput[] createMany?: trregistrasiCreateManyMsasuransiInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMsasuransiInput | trregistrasiUpdateWithWhereUniqueWithoutMsasuransiInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMsasuransiInput | trregistrasiUpdateManyWithWhereWithoutMsasuransiInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trregistrasiUncheckedUpdateManyWithoutMsasuransiNestedInput = { create?: XOR | trregistrasiCreateWithoutMsasuransiInput[] | trregistrasiUncheckedCreateWithoutMsasuransiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsasuransiInput | trregistrasiCreateOrConnectWithoutMsasuransiInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMsasuransiInput | trregistrasiUpsertWithWhereUniqueWithoutMsasuransiInput[] createMany?: trregistrasiCreateManyMsasuransiInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMsasuransiInput | trregistrasiUpdateWithWhereUniqueWithoutMsasuransiInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMsasuransiInput | trregistrasiUpdateManyWithWhereWithoutMsasuransiInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trregistrasiCreateNestedManyWithoutMspasienInput = { create?: XOR | trregistrasiCreateWithoutMspasienInput[] | trregistrasiUncheckedCreateWithoutMspasienInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspasienInput | trregistrasiCreateOrConnectWithoutMspasienInput[] createMany?: trregistrasiCreateManyMspasienInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type trregistrasiUncheckedCreateNestedManyWithoutMspasienInput = { create?: XOR | trregistrasiCreateWithoutMspasienInput[] | trregistrasiUncheckedCreateWithoutMspasienInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspasienInput | trregistrasiCreateOrConnectWithoutMspasienInput[] createMany?: trregistrasiCreateManyMspasienInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type trregistrasiUpdateManyWithoutMspasienNestedInput = { create?: XOR | trregistrasiCreateWithoutMspasienInput[] | trregistrasiUncheckedCreateWithoutMspasienInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspasienInput | trregistrasiCreateOrConnectWithoutMspasienInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMspasienInput | trregistrasiUpsertWithWhereUniqueWithoutMspasienInput[] createMany?: trregistrasiCreateManyMspasienInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMspasienInput | trregistrasiUpdateWithWhereUniqueWithoutMspasienInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMspasienInput | trregistrasiUpdateManyWithWhereWithoutMspasienInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trregistrasiUncheckedUpdateManyWithoutMspasienNestedInput = { create?: XOR | trregistrasiCreateWithoutMspasienInput[] | trregistrasiUncheckedCreateWithoutMspasienInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspasienInput | trregistrasiCreateOrConnectWithoutMspasienInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMspasienInput | trregistrasiUpsertWithWhereUniqueWithoutMspasienInput[] createMany?: trregistrasiCreateManyMspasienInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMspasienInput | trregistrasiUpdateWithWhereUniqueWithoutMspasienInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMspasienInput | trregistrasiUpdateManyWithWhereWithoutMspasienInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trregistrasiCreateNestedManyWithoutMspegawaiInput = { create?: XOR | trregistrasiCreateWithoutMspegawaiInput[] | trregistrasiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspegawaiInput | trregistrasiCreateOrConnectWithoutMspegawaiInput[] createMany?: trregistrasiCreateManyMspegawaiInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type trtransaksiCreateNestedManyWithoutMspegawaiInput = { create?: XOR | trtransaksiCreateWithoutMspegawaiInput[] | trtransaksiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMspegawaiInput | trtransaksiCreateOrConnectWithoutMspegawaiInput[] createMany?: trtransaksiCreateManyMspegawaiInputEnvelope connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] } export type trregistrasiUncheckedCreateNestedManyWithoutMspegawaiInput = { create?: XOR | trregistrasiCreateWithoutMspegawaiInput[] | trregistrasiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspegawaiInput | trregistrasiCreateOrConnectWithoutMspegawaiInput[] createMany?: trregistrasiCreateManyMspegawaiInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type trtransaksiUncheckedCreateNestedManyWithoutMspegawaiInput = { create?: XOR | trtransaksiCreateWithoutMspegawaiInput[] | trtransaksiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMspegawaiInput | trtransaksiCreateOrConnectWithoutMspegawaiInput[] createMany?: trtransaksiCreateManyMspegawaiInputEnvelope connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] } export type trregistrasiUpdateManyWithoutMspegawaiNestedInput = { create?: XOR | trregistrasiCreateWithoutMspegawaiInput[] | trregistrasiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspegawaiInput | trregistrasiCreateOrConnectWithoutMspegawaiInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMspegawaiInput | trregistrasiUpsertWithWhereUniqueWithoutMspegawaiInput[] createMany?: trregistrasiCreateManyMspegawaiInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMspegawaiInput | trregistrasiUpdateWithWhereUniqueWithoutMspegawaiInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMspegawaiInput | trregistrasiUpdateManyWithWhereWithoutMspegawaiInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trtransaksiUpdateManyWithoutMspegawaiNestedInput = { create?: XOR | trtransaksiCreateWithoutMspegawaiInput[] | trtransaksiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMspegawaiInput | trtransaksiCreateOrConnectWithoutMspegawaiInput[] upsert?: trtransaksiUpsertWithWhereUniqueWithoutMspegawaiInput | trtransaksiUpsertWithWhereUniqueWithoutMspegawaiInput[] createMany?: trtransaksiCreateManyMspegawaiInputEnvelope set?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] disconnect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] delete?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] update?: trtransaksiUpdateWithWhereUniqueWithoutMspegawaiInput | trtransaksiUpdateWithWhereUniqueWithoutMspegawaiInput[] updateMany?: trtransaksiUpdateManyWithWhereWithoutMspegawaiInput | trtransaksiUpdateManyWithWhereWithoutMspegawaiInput[] deleteMany?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] } export type trregistrasiUncheckedUpdateManyWithoutMspegawaiNestedInput = { create?: XOR | trregistrasiCreateWithoutMspegawaiInput[] | trregistrasiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMspegawaiInput | trregistrasiCreateOrConnectWithoutMspegawaiInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMspegawaiInput | trregistrasiUpsertWithWhereUniqueWithoutMspegawaiInput[] createMany?: trregistrasiCreateManyMspegawaiInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMspegawaiInput | trregistrasiUpdateWithWhereUniqueWithoutMspegawaiInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMspegawaiInput | trregistrasiUpdateManyWithWhereWithoutMspegawaiInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trtransaksiUncheckedUpdateManyWithoutMspegawaiNestedInput = { create?: XOR | trtransaksiCreateWithoutMspegawaiInput[] | trtransaksiUncheckedCreateWithoutMspegawaiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMspegawaiInput | trtransaksiCreateOrConnectWithoutMspegawaiInput[] upsert?: trtransaksiUpsertWithWhereUniqueWithoutMspegawaiInput | trtransaksiUpsertWithWhereUniqueWithoutMspegawaiInput[] createMany?: trtransaksiCreateManyMspegawaiInputEnvelope set?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] disconnect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] delete?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] update?: trtransaksiUpdateWithWhereUniqueWithoutMspegawaiInput | trtransaksiUpdateWithWhereUniqueWithoutMspegawaiInput[] updateMany?: trtransaksiUpdateManyWithWhereWithoutMspegawaiInput | trtransaksiUpdateManyWithWhereWithoutMspegawaiInput[] deleteMany?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] } export type trregistrasiCreateNestedManyWithoutMsruangpelayananInput = { create?: XOR | trregistrasiCreateWithoutMsruangpelayananInput[] | trregistrasiUncheckedCreateWithoutMsruangpelayananInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsruangpelayananInput | trregistrasiCreateOrConnectWithoutMsruangpelayananInput[] createMany?: trregistrasiCreateManyMsruangpelayananInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type trregistrasiUncheckedCreateNestedManyWithoutMsruangpelayananInput = { create?: XOR | trregistrasiCreateWithoutMsruangpelayananInput[] | trregistrasiUncheckedCreateWithoutMsruangpelayananInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsruangpelayananInput | trregistrasiCreateOrConnectWithoutMsruangpelayananInput[] createMany?: trregistrasiCreateManyMsruangpelayananInputEnvelope connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] } export type trregistrasiUpdateManyWithoutMsruangpelayananNestedInput = { create?: XOR | trregistrasiCreateWithoutMsruangpelayananInput[] | trregistrasiUncheckedCreateWithoutMsruangpelayananInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsruangpelayananInput | trregistrasiCreateOrConnectWithoutMsruangpelayananInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMsruangpelayananInput | trregistrasiUpsertWithWhereUniqueWithoutMsruangpelayananInput[] createMany?: trregistrasiCreateManyMsruangpelayananInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMsruangpelayananInput | trregistrasiUpdateWithWhereUniqueWithoutMsruangpelayananInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMsruangpelayananInput | trregistrasiUpdateManyWithWhereWithoutMsruangpelayananInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trregistrasiUncheckedUpdateManyWithoutMsruangpelayananNestedInput = { create?: XOR | trregistrasiCreateWithoutMsruangpelayananInput[] | trregistrasiUncheckedCreateWithoutMsruangpelayananInput[] connectOrCreate?: trregistrasiCreateOrConnectWithoutMsruangpelayananInput | trregistrasiCreateOrConnectWithoutMsruangpelayananInput[] upsert?: trregistrasiUpsertWithWhereUniqueWithoutMsruangpelayananInput | trregistrasiUpsertWithWhereUniqueWithoutMsruangpelayananInput[] createMany?: trregistrasiCreateManyMsruangpelayananInputEnvelope set?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] disconnect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] delete?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[] update?: trregistrasiUpdateWithWhereUniqueWithoutMsruangpelayananInput | trregistrasiUpdateWithWhereUniqueWithoutMsruangpelayananInput[] updateMany?: trregistrasiUpdateManyWithWhereWithoutMsruangpelayananInput | trregistrasiUpdateManyWithWhereWithoutMsruangpelayananInput[] deleteMany?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] } export type trtransaksiCreateNestedManyWithoutMstindakanInput = { create?: XOR | trtransaksiCreateWithoutMstindakanInput[] | trtransaksiUncheckedCreateWithoutMstindakanInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMstindakanInput | trtransaksiCreateOrConnectWithoutMstindakanInput[] createMany?: trtransaksiCreateManyMstindakanInputEnvelope connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] } export type trtransaksiUncheckedCreateNestedManyWithoutMstindakanInput = { create?: XOR | trtransaksiCreateWithoutMstindakanInput[] | trtransaksiUncheckedCreateWithoutMstindakanInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMstindakanInput | trtransaksiCreateOrConnectWithoutMstindakanInput[] createMany?: trtransaksiCreateManyMstindakanInputEnvelope connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] } export type NullableDecimalFieldUpdateOperationsInput = { set?: Decimal | DecimalJsLike | number | string | null increment?: Decimal | DecimalJsLike | number | string decrement?: Decimal | DecimalJsLike | number | string multiply?: Decimal | DecimalJsLike | number | string divide?: Decimal | DecimalJsLike | number | string } export type trtransaksiUpdateManyWithoutMstindakanNestedInput = { create?: XOR | trtransaksiCreateWithoutMstindakanInput[] | trtransaksiUncheckedCreateWithoutMstindakanInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMstindakanInput | trtransaksiCreateOrConnectWithoutMstindakanInput[] upsert?: trtransaksiUpsertWithWhereUniqueWithoutMstindakanInput | trtransaksiUpsertWithWhereUniqueWithoutMstindakanInput[] createMany?: trtransaksiCreateManyMstindakanInputEnvelope set?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] disconnect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] delete?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] update?: trtransaksiUpdateWithWhereUniqueWithoutMstindakanInput | trtransaksiUpdateWithWhereUniqueWithoutMstindakanInput[] updateMany?: trtransaksiUpdateManyWithWhereWithoutMstindakanInput | trtransaksiUpdateManyWithWhereWithoutMstindakanInput[] deleteMany?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] } export type trtransaksiUncheckedUpdateManyWithoutMstindakanNestedInput = { create?: XOR | trtransaksiCreateWithoutMstindakanInput[] | trtransaksiUncheckedCreateWithoutMstindakanInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutMstindakanInput | trtransaksiCreateOrConnectWithoutMstindakanInput[] upsert?: trtransaksiUpsertWithWhereUniqueWithoutMstindakanInput | trtransaksiUpsertWithWhereUniqueWithoutMstindakanInput[] createMany?: trtransaksiCreateManyMstindakanInputEnvelope set?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] disconnect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] delete?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] update?: trtransaksiUpdateWithWhereUniqueWithoutMstindakanInput | trtransaksiUpdateWithWhereUniqueWithoutMstindakanInput[] updateMany?: trtransaksiUpdateManyWithWhereWithoutMstindakanInput | trtransaksiUpdateManyWithWhereWithoutMstindakanInput[] deleteMany?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] } export type msasuransiCreateNestedOneWithoutTrregistrasiInput = { create?: XOR connectOrCreate?: msasuransiCreateOrConnectWithoutTrregistrasiInput connect?: msasuransiWhereUniqueInput } export type mspasienCreateNestedOneWithoutTrregistrasiInput = { create?: XOR connectOrCreate?: mspasienCreateOrConnectWithoutTrregistrasiInput connect?: mspasienWhereUniqueInput } export type mspegawaiCreateNestedOneWithoutTrregistrasiInput = { create?: XOR connectOrCreate?: mspegawaiCreateOrConnectWithoutTrregistrasiInput connect?: mspegawaiWhereUniqueInput } export type msruangpelayananCreateNestedOneWithoutTrregistrasiInput = { create?: XOR connectOrCreate?: msruangpelayananCreateOrConnectWithoutTrregistrasiInput connect?: msruangpelayananWhereUniqueInput } export type trtransaksiCreateNestedManyWithoutTrregistrasiInput = { create?: XOR | trtransaksiCreateWithoutTrregistrasiInput[] | trtransaksiUncheckedCreateWithoutTrregistrasiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutTrregistrasiInput | trtransaksiCreateOrConnectWithoutTrregistrasiInput[] createMany?: trtransaksiCreateManyTrregistrasiInputEnvelope connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] } export type trtransaksiUncheckedCreateNestedManyWithoutTrregistrasiInput = { create?: XOR | trtransaksiCreateWithoutTrregistrasiInput[] | trtransaksiUncheckedCreateWithoutTrregistrasiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutTrregistrasiInput | trtransaksiCreateOrConnectWithoutTrregistrasiInput[] createMany?: trtransaksiCreateManyTrregistrasiInputEnvelope connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] } export type msasuransiUpdateOneWithoutTrregistrasiNestedInput = { create?: XOR connectOrCreate?: msasuransiCreateOrConnectWithoutTrregistrasiInput upsert?: msasuransiUpsertWithoutTrregistrasiInput disconnect?: msasuransiWhereInput | boolean delete?: msasuransiWhereInput | boolean connect?: msasuransiWhereUniqueInput update?: XOR, msasuransiUncheckedUpdateWithoutTrregistrasiInput> } export type mspasienUpdateOneWithoutTrregistrasiNestedInput = { create?: XOR connectOrCreate?: mspasienCreateOrConnectWithoutTrregistrasiInput upsert?: mspasienUpsertWithoutTrregistrasiInput disconnect?: mspasienWhereInput | boolean delete?: mspasienWhereInput | boolean connect?: mspasienWhereUniqueInput update?: XOR, mspasienUncheckedUpdateWithoutTrregistrasiInput> } export type mspegawaiUpdateOneWithoutTrregistrasiNestedInput = { create?: XOR connectOrCreate?: mspegawaiCreateOrConnectWithoutTrregistrasiInput upsert?: mspegawaiUpsertWithoutTrregistrasiInput disconnect?: mspegawaiWhereInput | boolean delete?: mspegawaiWhereInput | boolean connect?: mspegawaiWhereUniqueInput update?: XOR, mspegawaiUncheckedUpdateWithoutTrregistrasiInput> } export type msruangpelayananUpdateOneWithoutTrregistrasiNestedInput = { create?: XOR connectOrCreate?: msruangpelayananCreateOrConnectWithoutTrregistrasiInput upsert?: msruangpelayananUpsertWithoutTrregistrasiInput disconnect?: msruangpelayananWhereInput | boolean delete?: msruangpelayananWhereInput | boolean connect?: msruangpelayananWhereUniqueInput update?: XOR, msruangpelayananUncheckedUpdateWithoutTrregistrasiInput> } export type trtransaksiUpdateManyWithoutTrregistrasiNestedInput = { create?: XOR | trtransaksiCreateWithoutTrregistrasiInput[] | trtransaksiUncheckedCreateWithoutTrregistrasiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutTrregistrasiInput | trtransaksiCreateOrConnectWithoutTrregistrasiInput[] upsert?: trtransaksiUpsertWithWhereUniqueWithoutTrregistrasiInput | trtransaksiUpsertWithWhereUniqueWithoutTrregistrasiInput[] createMany?: trtransaksiCreateManyTrregistrasiInputEnvelope set?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] disconnect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] delete?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] update?: trtransaksiUpdateWithWhereUniqueWithoutTrregistrasiInput | trtransaksiUpdateWithWhereUniqueWithoutTrregistrasiInput[] updateMany?: trtransaksiUpdateManyWithWhereWithoutTrregistrasiInput | trtransaksiUpdateManyWithWhereWithoutTrregistrasiInput[] deleteMany?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] } export type trtransaksiUncheckedUpdateManyWithoutTrregistrasiNestedInput = { create?: XOR | trtransaksiCreateWithoutTrregistrasiInput[] | trtransaksiUncheckedCreateWithoutTrregistrasiInput[] connectOrCreate?: trtransaksiCreateOrConnectWithoutTrregistrasiInput | trtransaksiCreateOrConnectWithoutTrregistrasiInput[] upsert?: trtransaksiUpsertWithWhereUniqueWithoutTrregistrasiInput | trtransaksiUpsertWithWhereUniqueWithoutTrregistrasiInput[] createMany?: trtransaksiCreateManyTrregistrasiInputEnvelope set?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] disconnect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] delete?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[] update?: trtransaksiUpdateWithWhereUniqueWithoutTrregistrasiInput | trtransaksiUpdateWithWhereUniqueWithoutTrregistrasiInput[] updateMany?: trtransaksiUpdateManyWithWhereWithoutTrregistrasiInput | trtransaksiUpdateManyWithWhereWithoutTrregistrasiInput[] deleteMany?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] } export type mspegawaiCreateNestedOneWithoutTrtransaksiInput = { create?: XOR connectOrCreate?: mspegawaiCreateOrConnectWithoutTrtransaksiInput connect?: mspegawaiWhereUniqueInput } export type trregistrasiCreateNestedOneWithoutTrtransaksiInput = { create?: XOR connectOrCreate?: trregistrasiCreateOrConnectWithoutTrtransaksiInput connect?: trregistrasiWhereUniqueInput } export type mstindakanCreateNestedOneWithoutTrtransaksiInput = { create?: XOR connectOrCreate?: mstindakanCreateOrConnectWithoutTrtransaksiInput connect?: mstindakanWhereUniqueInput } export type mspegawaiUpdateOneWithoutTrtransaksiNestedInput = { create?: XOR connectOrCreate?: mspegawaiCreateOrConnectWithoutTrtransaksiInput upsert?: mspegawaiUpsertWithoutTrtransaksiInput disconnect?: mspegawaiWhereInput | boolean delete?: mspegawaiWhereInput | boolean connect?: mspegawaiWhereUniqueInput update?: XOR, mspegawaiUncheckedUpdateWithoutTrtransaksiInput> } export type trregistrasiUpdateOneWithoutTrtransaksiNestedInput = { create?: XOR connectOrCreate?: trregistrasiCreateOrConnectWithoutTrtransaksiInput upsert?: trregistrasiUpsertWithoutTrtransaksiInput disconnect?: trregistrasiWhereInput | boolean delete?: trregistrasiWhereInput | boolean connect?: trregistrasiWhereUniqueInput update?: XOR, trregistrasiUncheckedUpdateWithoutTrtransaksiInput> } export type mstindakanUpdateOneWithoutTrtransaksiNestedInput = { create?: XOR connectOrCreate?: mstindakanCreateOrConnectWithoutTrtransaksiInput upsert?: mstindakanUpsertWithoutTrtransaksiInput disconnect?: mstindakanWhereInput | boolean delete?: mstindakanWhereInput | boolean connect?: mstindakanWhereUniqueInput update?: XOR, mstindakanUncheckedUpdateWithoutTrtransaksiInput> } export type StringFieldUpdateOperationsInput = { set?: string } export type NullableBoolFieldUpdateOperationsInput = { set?: boolean | null } export type NestedIntFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntFilter<$PrismaModel> | number } export type NestedDateTimeNullableFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } export type NestedIntNullableFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | ListIntFieldRefInput<$PrismaModel> | null notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableFilter<$PrismaModel> | number | null } export type NestedStringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringNullableFilter<$PrismaModel> | string | null } export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedIntFilter<$PrismaModel> _min?: NestedIntFilter<$PrismaModel> _max?: NestedIntFilter<$PrismaModel> } export type NestedFloatFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> in?: number[] | ListFloatFieldRefInput<$PrismaModel> notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatFilter<$PrismaModel> | number } export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedDateTimeNullableFilter<$PrismaModel> _max?: NestedDateTimeNullableFilter<$PrismaModel> } export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | ListIntFieldRefInput<$PrismaModel> | null notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } export type NestedFloatNullableFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableFilter<$PrismaModel> | number | null } export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedStringNullableFilter<$PrismaModel> _max?: NestedStringNullableFilter<$PrismaModel> } export type NestedDecimalNullableFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null } export type NestedDecimalNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedDecimalNullableFilter<$PrismaModel> _sum?: NestedDecimalNullableFilter<$PrismaModel> _min?: NestedDecimalNullableFilter<$PrismaModel> _max?: NestedDecimalNullableFilter<$PrismaModel> } export type NestedStringFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringFilter<$PrismaModel> | string } export type NestedBoolNullableFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null } export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringWithAggregatesFilter<$PrismaModel> | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedStringFilter<$PrismaModel> _max?: NestedStringFilter<$PrismaModel> } export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBoolNullableFilter<$PrismaModel> _max?: NestedBoolNullableFilter<$PrismaModel> } export type trregistrasiCreateWithoutMsasuransiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null mspasien?: mspasienCreateNestedOneWithoutTrregistrasiInput mspegawai?: mspegawaiCreateNestedOneWithoutTrregistrasiInput msruangpelayanan?: msruangpelayananCreateNestedOneWithoutTrregistrasiInput trtransaksi?: trtransaksiCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiUncheckedCreateWithoutMsasuransiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idpegawai?: number | null idruangpelayanan?: number | null trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiCreateOrConnectWithoutMsasuransiInput = { where: trregistrasiWhereUniqueInput create: XOR } export type trregistrasiCreateManyMsasuransiInputEnvelope = { data: trregistrasiCreateManyMsasuransiInput | trregistrasiCreateManyMsasuransiInput[] skipDuplicates?: boolean } export type trregistrasiUpsertWithWhereUniqueWithoutMsasuransiInput = { where: trregistrasiWhereUniqueInput update: XOR create: XOR } export type trregistrasiUpdateWithWhereUniqueWithoutMsasuransiInput = { where: trregistrasiWhereUniqueInput data: XOR } export type trregistrasiUpdateManyWithWhereWithoutMsasuransiInput = { where: trregistrasiScalarWhereInput data: XOR } export type trregistrasiScalarWhereInput = { AND?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] OR?: trregistrasiScalarWhereInput[] NOT?: trregistrasiScalarWhereInput | trregistrasiScalarWhereInput[] idregistrasi?: IntFilter<"trregistrasi"> | number created_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null created_by?: IntNullableFilter<"trregistrasi"> | number | null modified_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null modified_by?: IntNullableFilter<"trregistrasi"> | number | null deleted_at?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null deleted_by?: IntNullableFilter<"trregistrasi"> | number | null tanggalregistrasi?: DateTimeNullableFilter<"trregistrasi"> | Date | string | null idpasien?: IntNullableFilter<"trregistrasi"> | number | null nomorkartuasuransi?: StringNullableFilter<"trregistrasi"> | string | null idasuransi?: IntNullableFilter<"trregistrasi"> | number | null idpegawai?: IntNullableFilter<"trregistrasi"> | number | null idruangpelayanan?: IntNullableFilter<"trregistrasi"> | number | null } export type trregistrasiCreateWithoutMspasienInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null msasuransi?: msasuransiCreateNestedOneWithoutTrregistrasiInput mspegawai?: mspegawaiCreateNestedOneWithoutTrregistrasiInput msruangpelayanan?: msruangpelayananCreateNestedOneWithoutTrregistrasiInput trtransaksi?: trtransaksiCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiUncheckedCreateWithoutMspasienInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null idasuransi?: number | null idpegawai?: number | null idruangpelayanan?: number | null trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiCreateOrConnectWithoutMspasienInput = { where: trregistrasiWhereUniqueInput create: XOR } export type trregistrasiCreateManyMspasienInputEnvelope = { data: trregistrasiCreateManyMspasienInput | trregistrasiCreateManyMspasienInput[] skipDuplicates?: boolean } export type trregistrasiUpsertWithWhereUniqueWithoutMspasienInput = { where: trregistrasiWhereUniqueInput update: XOR create: XOR } export type trregistrasiUpdateWithWhereUniqueWithoutMspasienInput = { where: trregistrasiWhereUniqueInput data: XOR } export type trregistrasiUpdateManyWithWhereWithoutMspasienInput = { where: trregistrasiScalarWhereInput data: XOR } export type trregistrasiCreateWithoutMspegawaiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null msasuransi?: msasuransiCreateNestedOneWithoutTrregistrasiInput mspasien?: mspasienCreateNestedOneWithoutTrregistrasiInput msruangpelayanan?: msruangpelayananCreateNestedOneWithoutTrregistrasiInput trtransaksi?: trtransaksiCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiUncheckedCreateWithoutMspegawaiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idasuransi?: number | null idruangpelayanan?: number | null trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiCreateOrConnectWithoutMspegawaiInput = { where: trregistrasiWhereUniqueInput create: XOR } export type trregistrasiCreateManyMspegawaiInputEnvelope = { data: trregistrasiCreateManyMspegawaiInput | trregistrasiCreateManyMspegawaiInput[] skipDuplicates?: boolean } export type trtransaksiCreateWithoutMspegawaiInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null jmltindakan?: number | null trregistrasi?: trregistrasiCreateNestedOneWithoutTrtransaksiInput mstindakan?: mstindakanCreateNestedOneWithoutTrtransaksiInput } export type trtransaksiUncheckedCreateWithoutMspegawaiInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idregistrasi?: number | null idtindakan?: number | null jmltindakan?: number | null } export type trtransaksiCreateOrConnectWithoutMspegawaiInput = { where: trtransaksiWhereUniqueInput create: XOR } export type trtransaksiCreateManyMspegawaiInputEnvelope = { data: trtransaksiCreateManyMspegawaiInput | trtransaksiCreateManyMspegawaiInput[] skipDuplicates?: boolean } export type trregistrasiUpsertWithWhereUniqueWithoutMspegawaiInput = { where: trregistrasiWhereUniqueInput update: XOR create: XOR } export type trregistrasiUpdateWithWhereUniqueWithoutMspegawaiInput = { where: trregistrasiWhereUniqueInput data: XOR } export type trregistrasiUpdateManyWithWhereWithoutMspegawaiInput = { where: trregistrasiScalarWhereInput data: XOR } export type trtransaksiUpsertWithWhereUniqueWithoutMspegawaiInput = { where: trtransaksiWhereUniqueInput update: XOR create: XOR } export type trtransaksiUpdateWithWhereUniqueWithoutMspegawaiInput = { where: trtransaksiWhereUniqueInput data: XOR } export type trtransaksiUpdateManyWithWhereWithoutMspegawaiInput = { where: trtransaksiScalarWhereInput data: XOR } export type trtransaksiScalarWhereInput = { AND?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] OR?: trtransaksiScalarWhereInput[] NOT?: trtransaksiScalarWhereInput | trtransaksiScalarWhereInput[] idtransaksi?: IntFilter<"trtransaksi"> | number created_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null created_by?: IntNullableFilter<"trtransaksi"> | number | null modified_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null modified_by?: IntNullableFilter<"trtransaksi"> | number | null deleted_at?: DateTimeNullableFilter<"trtransaksi"> | Date | string | null deleted_by?: IntNullableFilter<"trtransaksi"> | number | null idregistrasi?: IntNullableFilter<"trtransaksi"> | number | null idtindakan?: IntNullableFilter<"trtransaksi"> | number | null jmltindakan?: IntNullableFilter<"trtransaksi"> | number | null idpegawai?: IntNullableFilter<"trtransaksi"> | number | null } export type trregistrasiCreateWithoutMsruangpelayananInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null msasuransi?: msasuransiCreateNestedOneWithoutTrregistrasiInput mspasien?: mspasienCreateNestedOneWithoutTrregistrasiInput mspegawai?: mspegawaiCreateNestedOneWithoutTrregistrasiInput trtransaksi?: trtransaksiCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiUncheckedCreateWithoutMsruangpelayananInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idasuransi?: number | null idpegawai?: number | null trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutTrregistrasiInput } export type trregistrasiCreateOrConnectWithoutMsruangpelayananInput = { where: trregistrasiWhereUniqueInput create: XOR } export type trregistrasiCreateManyMsruangpelayananInputEnvelope = { data: trregistrasiCreateManyMsruangpelayananInput | trregistrasiCreateManyMsruangpelayananInput[] skipDuplicates?: boolean } export type trregistrasiUpsertWithWhereUniqueWithoutMsruangpelayananInput = { where: trregistrasiWhereUniqueInput update: XOR create: XOR } export type trregistrasiUpdateWithWhereUniqueWithoutMsruangpelayananInput = { where: trregistrasiWhereUniqueInput data: XOR } export type trregistrasiUpdateManyWithWhereWithoutMsruangpelayananInput = { where: trregistrasiScalarWhereInput data: XOR } export type trtransaksiCreateWithoutMstindakanInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null jmltindakan?: number | null mspegawai?: mspegawaiCreateNestedOneWithoutTrtransaksiInput trregistrasi?: trregistrasiCreateNestedOneWithoutTrtransaksiInput } export type trtransaksiUncheckedCreateWithoutMstindakanInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idregistrasi?: number | null jmltindakan?: number | null idpegawai?: number | null } export type trtransaksiCreateOrConnectWithoutMstindakanInput = { where: trtransaksiWhereUniqueInput create: XOR } export type trtransaksiCreateManyMstindakanInputEnvelope = { data: trtransaksiCreateManyMstindakanInput | trtransaksiCreateManyMstindakanInput[] skipDuplicates?: boolean } export type trtransaksiUpsertWithWhereUniqueWithoutMstindakanInput = { where: trtransaksiWhereUniqueInput update: XOR create: XOR } export type trtransaksiUpdateWithWhereUniqueWithoutMstindakanInput = { where: trtransaksiWhereUniqueInput data: XOR } export type trtransaksiUpdateManyWithWhereWithoutMstindakanInput = { where: trtransaksiScalarWhereInput data: XOR } export type msasuransiCreateWithoutTrregistrasiInput = { idasuransi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaasuransi?: string | null } export type msasuransiUncheckedCreateWithoutTrregistrasiInput = { idasuransi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaasuransi?: string | null } export type msasuransiCreateOrConnectWithoutTrregistrasiInput = { where: msasuransiWhereUniqueInput create: XOR } export type mspasienCreateWithoutTrregistrasiInput = { idpasien: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null mrpasien?: string | null namapasien?: string | null tanggallahir?: Date | string | null jeniskelamin?: string | null } export type mspasienUncheckedCreateWithoutTrregistrasiInput = { idpasien: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null mrpasien?: string | null namapasien?: string | null tanggallahir?: Date | string | null jeniskelamin?: string | null } export type mspasienCreateOrConnectWithoutTrregistrasiInput = { where: mspasienWhereUniqueInput create: XOR } export type mspegawaiCreateWithoutTrregistrasiInput = { idpegawai: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namapegawai?: string | null trtransaksi?: trtransaksiCreateNestedManyWithoutMspegawaiInput } export type mspegawaiUncheckedCreateWithoutTrregistrasiInput = { idpegawai: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namapegawai?: string | null trtransaksi?: trtransaksiUncheckedCreateNestedManyWithoutMspegawaiInput } export type mspegawaiCreateOrConnectWithoutTrregistrasiInput = { where: mspegawaiWhereUniqueInput create: XOR } export type msruangpelayananCreateWithoutTrregistrasiInput = { idruangpelayanan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaruangpelayanan?: string | null } export type msruangpelayananUncheckedCreateWithoutTrregistrasiInput = { idruangpelayanan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namaruangpelayanan?: string | null } export type msruangpelayananCreateOrConnectWithoutTrregistrasiInput = { where: msruangpelayananWhereUniqueInput create: XOR } export type trtransaksiCreateWithoutTrregistrasiInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null jmltindakan?: number | null mspegawai?: mspegawaiCreateNestedOneWithoutTrtransaksiInput mstindakan?: mstindakanCreateNestedOneWithoutTrtransaksiInput } export type trtransaksiUncheckedCreateWithoutTrregistrasiInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idtindakan?: number | null jmltindakan?: number | null idpegawai?: number | null } export type trtransaksiCreateOrConnectWithoutTrregistrasiInput = { where: trtransaksiWhereUniqueInput create: XOR } export type trtransaksiCreateManyTrregistrasiInputEnvelope = { data: trtransaksiCreateManyTrregistrasiInput | trtransaksiCreateManyTrregistrasiInput[] skipDuplicates?: boolean } export type msasuransiUpsertWithoutTrregistrasiInput = { update: XOR create: XOR where?: msasuransiWhereInput } export type msasuransiUpdateToOneWithWhereWithoutTrregistrasiInput = { where?: msasuransiWhereInput data: XOR } export type msasuransiUpdateWithoutTrregistrasiInput = { idasuransi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaasuransi?: NullableStringFieldUpdateOperationsInput | string | null } export type msasuransiUncheckedUpdateWithoutTrregistrasiInput = { idasuransi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaasuransi?: NullableStringFieldUpdateOperationsInput | string | null } export type mspasienUpsertWithoutTrregistrasiInput = { update: XOR create: XOR where?: mspasienWhereInput } export type mspasienUpdateToOneWithWhereWithoutTrregistrasiInput = { where?: mspasienWhereInput data: XOR } export type mspasienUpdateWithoutTrregistrasiInput = { idpasien?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null mrpasien?: NullableStringFieldUpdateOperationsInput | string | null namapasien?: NullableStringFieldUpdateOperationsInput | string | null tanggallahir?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jeniskelamin?: NullableStringFieldUpdateOperationsInput | string | null } export type mspasienUncheckedUpdateWithoutTrregistrasiInput = { idpasien?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null mrpasien?: NullableStringFieldUpdateOperationsInput | string | null namapasien?: NullableStringFieldUpdateOperationsInput | string | null tanggallahir?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jeniskelamin?: NullableStringFieldUpdateOperationsInput | string | null } export type mspegawaiUpsertWithoutTrregistrasiInput = { update: XOR create: XOR where?: mspegawaiWhereInput } export type mspegawaiUpdateToOneWithWhereWithoutTrregistrasiInput = { where?: mspegawaiWhereInput data: XOR } export type mspegawaiUpdateWithoutTrregistrasiInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null trtransaksi?: trtransaksiUpdateManyWithoutMspegawaiNestedInput } export type mspegawaiUncheckedUpdateWithoutTrregistrasiInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null trtransaksi?: trtransaksiUncheckedUpdateManyWithoutMspegawaiNestedInput } export type msruangpelayananUpsertWithoutTrregistrasiInput = { update: XOR create: XOR where?: msruangpelayananWhereInput } export type msruangpelayananUpdateToOneWithWhereWithoutTrregistrasiInput = { where?: msruangpelayananWhereInput data: XOR } export type msruangpelayananUpdateWithoutTrregistrasiInput = { idruangpelayanan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaruangpelayanan?: NullableStringFieldUpdateOperationsInput | string | null } export type msruangpelayananUncheckedUpdateWithoutTrregistrasiInput = { idruangpelayanan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namaruangpelayanan?: NullableStringFieldUpdateOperationsInput | string | null } export type trtransaksiUpsertWithWhereUniqueWithoutTrregistrasiInput = { where: trtransaksiWhereUniqueInput update: XOR create: XOR } export type trtransaksiUpdateWithWhereUniqueWithoutTrregistrasiInput = { where: trtransaksiWhereUniqueInput data: XOR } export type trtransaksiUpdateManyWithWhereWithoutTrregistrasiInput = { where: trtransaksiScalarWhereInput data: XOR } export type mspegawaiCreateWithoutTrtransaksiInput = { idpegawai: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namapegawai?: string | null trregistrasi?: trregistrasiCreateNestedManyWithoutMspegawaiInput } export type mspegawaiUncheckedCreateWithoutTrtransaksiInput = { idpegawai: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namapegawai?: string | null trregistrasi?: trregistrasiUncheckedCreateNestedManyWithoutMspegawaiInput } export type mspegawaiCreateOrConnectWithoutTrtransaksiInput = { where: mspegawaiWhereUniqueInput create: XOR } export type trregistrasiCreateWithoutTrtransaksiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null msasuransi?: msasuransiCreateNestedOneWithoutTrregistrasiInput mspasien?: mspasienCreateNestedOneWithoutTrregistrasiInput mspegawai?: mspegawaiCreateNestedOneWithoutTrregistrasiInput msruangpelayanan?: msruangpelayananCreateNestedOneWithoutTrregistrasiInput } export type trregistrasiUncheckedCreateWithoutTrtransaksiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idasuransi?: number | null idpegawai?: number | null idruangpelayanan?: number | null } export type trregistrasiCreateOrConnectWithoutTrtransaksiInput = { where: trregistrasiWhereUniqueInput create: XOR } export type mstindakanCreateWithoutTrtransaksiInput = { idtindakan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namatindakan?: string | null tariftindakan?: Decimal | DecimalJsLike | number | string | null } export type mstindakanUncheckedCreateWithoutTrtransaksiInput = { idtindakan: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null namatindakan?: string | null tariftindakan?: Decimal | DecimalJsLike | number | string | null } export type mstindakanCreateOrConnectWithoutTrtransaksiInput = { where: mstindakanWhereUniqueInput create: XOR } export type mspegawaiUpsertWithoutTrtransaksiInput = { update: XOR create: XOR where?: mspegawaiWhereInput } export type mspegawaiUpdateToOneWithWhereWithoutTrtransaksiInput = { where?: mspegawaiWhereInput data: XOR } export type mspegawaiUpdateWithoutTrtransaksiInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUpdateManyWithoutMspegawaiNestedInput } export type mspegawaiUncheckedUpdateWithoutTrtransaksiInput = { idpegawai?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namapegawai?: NullableStringFieldUpdateOperationsInput | string | null trregistrasi?: trregistrasiUncheckedUpdateManyWithoutMspegawaiNestedInput } export type trregistrasiUpsertWithoutTrtransaksiInput = { update: XOR create: XOR where?: trregistrasiWhereInput } export type trregistrasiUpdateToOneWithWhereWithoutTrtransaksiInput = { where?: trregistrasiWhereInput data: XOR } export type trregistrasiUpdateWithoutTrtransaksiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null msasuransi?: msasuransiUpdateOneWithoutTrregistrasiNestedInput mspasien?: mspasienUpdateOneWithoutTrregistrasiNestedInput mspegawai?: mspegawaiUpdateOneWithoutTrregistrasiNestedInput msruangpelayanan?: msruangpelayananUpdateOneWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateWithoutTrtransaksiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null } export type mstindakanUpsertWithoutTrtransaksiInput = { update: XOR create: XOR where?: mstindakanWhereInput } export type mstindakanUpdateToOneWithWhereWithoutTrtransaksiInput = { where?: mstindakanWhereInput data: XOR } export type mstindakanUpdateWithoutTrtransaksiInput = { idtindakan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namatindakan?: NullableStringFieldUpdateOperationsInput | string | null tariftindakan?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null } export type mstindakanUncheckedUpdateWithoutTrtransaksiInput = { idtindakan?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null namatindakan?: NullableStringFieldUpdateOperationsInput | string | null tariftindakan?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null } export type trregistrasiCreateManyMsasuransiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idpegawai?: number | null idruangpelayanan?: number | null } export type trregistrasiUpdateWithoutMsasuransiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null mspasien?: mspasienUpdateOneWithoutTrregistrasiNestedInput mspegawai?: mspegawaiUpdateOneWithoutTrregistrasiNestedInput msruangpelayanan?: msruangpelayananUpdateOneWithoutTrregistrasiNestedInput trtransaksi?: trtransaksiUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateWithoutMsasuransiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null trtransaksi?: trtransaksiUncheckedUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateManyWithoutMsasuransiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null } export type trregistrasiCreateManyMspasienInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null nomorkartuasuransi?: string | null idasuransi?: number | null idpegawai?: number | null idruangpelayanan?: number | null } export type trregistrasiUpdateWithoutMspasienInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null msasuransi?: msasuransiUpdateOneWithoutTrregistrasiNestedInput mspegawai?: mspegawaiUpdateOneWithoutTrregistrasiNestedInput msruangpelayanan?: msruangpelayananUpdateOneWithoutTrregistrasiNestedInput trtransaksi?: trtransaksiUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateWithoutMspasienInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null trtransaksi?: trtransaksiUncheckedUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateManyWithoutMspasienInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null } export type trregistrasiCreateManyMspegawaiInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idasuransi?: number | null idruangpelayanan?: number | null } export type trtransaksiCreateManyMspegawaiInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idregistrasi?: number | null idtindakan?: number | null jmltindakan?: number | null } export type trregistrasiUpdateWithoutMspegawaiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null msasuransi?: msasuransiUpdateOneWithoutTrregistrasiNestedInput mspasien?: mspasienUpdateOneWithoutTrregistrasiNestedInput msruangpelayanan?: msruangpelayananUpdateOneWithoutTrregistrasiNestedInput trtransaksi?: trtransaksiUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateWithoutMspegawaiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null trtransaksi?: trtransaksiUncheckedUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateManyWithoutMspegawaiInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idruangpelayanan?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiUpdateWithoutMspegawaiInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null trregistrasi?: trregistrasiUpdateOneWithoutTrtransaksiNestedInput mstindakan?: mstindakanUpdateOneWithoutTrtransaksiNestedInput } export type trtransaksiUncheckedUpdateWithoutMspegawaiInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idregistrasi?: NullableIntFieldUpdateOperationsInput | number | null idtindakan?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiUncheckedUpdateManyWithoutMspegawaiInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idregistrasi?: NullableIntFieldUpdateOperationsInput | number | null idtindakan?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null } export type trregistrasiCreateManyMsruangpelayananInput = { idregistrasi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null tanggalregistrasi?: Date | string | null idpasien?: number | null nomorkartuasuransi?: string | null idasuransi?: number | null idpegawai?: number | null } export type trregistrasiUpdateWithoutMsruangpelayananInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null msasuransi?: msasuransiUpdateOneWithoutTrregistrasiNestedInput mspasien?: mspasienUpdateOneWithoutTrregistrasiNestedInput mspegawai?: mspegawaiUpdateOneWithoutTrregistrasiNestedInput trtransaksi?: trtransaksiUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateWithoutMsruangpelayananInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null trtransaksi?: trtransaksiUncheckedUpdateManyWithoutTrregistrasiNestedInput } export type trregistrasiUncheckedUpdateManyWithoutMsruangpelayananInput = { idregistrasi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null tanggalregistrasi?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null idpasien?: NullableIntFieldUpdateOperationsInput | number | null nomorkartuasuransi?: NullableStringFieldUpdateOperationsInput | string | null idasuransi?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiCreateManyMstindakanInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idregistrasi?: number | null jmltindakan?: number | null idpegawai?: number | null } export type trtransaksiUpdateWithoutMstindakanInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null mspegawai?: mspegawaiUpdateOneWithoutTrtransaksiNestedInput trregistrasi?: trregistrasiUpdateOneWithoutTrtransaksiNestedInput } export type trtransaksiUncheckedUpdateWithoutMstindakanInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idregistrasi?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiUncheckedUpdateManyWithoutMstindakanInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idregistrasi?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiCreateManyTrregistrasiInput = { idtransaksi: number created_at?: Date | string | null created_by?: number | null modified_at?: Date | string | null modified_by?: number | null deleted_at?: Date | string | null deleted_by?: number | null idtindakan?: number | null jmltindakan?: number | null idpegawai?: number | null } export type trtransaksiUpdateWithoutTrregistrasiInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null mspegawai?: mspegawaiUpdateOneWithoutTrtransaksiNestedInput mstindakan?: mstindakanUpdateOneWithoutTrtransaksiNestedInput } export type trtransaksiUncheckedUpdateWithoutTrregistrasiInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idtindakan?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null } export type trtransaksiUncheckedUpdateManyWithoutTrregistrasiInput = { idtransaksi?: IntFieldUpdateOperationsInput | number created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_by?: NullableIntFieldUpdateOperationsInput | number | null modified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null modified_by?: NullableIntFieldUpdateOperationsInput | number | null deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null deleted_by?: NullableIntFieldUpdateOperationsInput | number | null idtindakan?: NullableIntFieldUpdateOperationsInput | number | null jmltindakan?: NullableIntFieldUpdateOperationsInput | number | null idpegawai?: NullableIntFieldUpdateOperationsInput | number | null } /** * Aliases for legacy arg types */ /** * @deprecated Use MsasuransiCountOutputTypeDefaultArgs instead */ export type MsasuransiCountOutputTypeArgs = MsasuransiCountOutputTypeDefaultArgs /** * @deprecated Use MspasienCountOutputTypeDefaultArgs instead */ export type MspasienCountOutputTypeArgs = MspasienCountOutputTypeDefaultArgs /** * @deprecated Use MspegawaiCountOutputTypeDefaultArgs instead */ export type MspegawaiCountOutputTypeArgs = MspegawaiCountOutputTypeDefaultArgs /** * @deprecated Use MsruangpelayananCountOutputTypeDefaultArgs instead */ export type MsruangpelayananCountOutputTypeArgs = MsruangpelayananCountOutputTypeDefaultArgs /** * @deprecated Use MstindakanCountOutputTypeDefaultArgs instead */ export type MstindakanCountOutputTypeArgs = MstindakanCountOutputTypeDefaultArgs /** * @deprecated Use TrregistrasiCountOutputTypeDefaultArgs instead */ export type TrregistrasiCountOutputTypeArgs = TrregistrasiCountOutputTypeDefaultArgs /** * @deprecated Use msasuransiDefaultArgs instead */ export type msasuransiArgs = msasuransiDefaultArgs /** * @deprecated Use mspasienDefaultArgs instead */ export type mspasienArgs = mspasienDefaultArgs /** * @deprecated Use mspegawaiDefaultArgs instead */ export type mspegawaiArgs = mspegawaiDefaultArgs /** * @deprecated Use msruangpelayananDefaultArgs instead */ export type msruangpelayananArgs = msruangpelayananDefaultArgs /** * @deprecated Use mstindakanDefaultArgs instead */ export type mstindakanArgs = mstindakanDefaultArgs /** * @deprecated Use trregistrasiDefaultArgs instead */ export type trregistrasiArgs = trregistrasiDefaultArgs /** * @deprecated Use trtransaksiDefaultArgs instead */ export type trtransaksiArgs = trtransaksiDefaultArgs /** * @deprecated Use msusersDefaultArgs instead */ export type msusersArgs = msusersDefaultArgs /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }